{"code":"(window[\"webpackJsonp\"]=window[\"webpackJsonp\"]||[]).push([[\"chunk-1e0a22d0\"],{\"000e\":function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return r})),n.d(e,\"a\",(function(){return o}));\n/*! *****************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\nvar i=function(t,e){return i=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])},i(t,e)};function r(t,e){function n(){this.constructor=t}i(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,i=arguments.length;n1?e+\"_\"+n:\"\"+e}function u(t){var e=t.data,n=t.xField,i=t.measureField,r=t.rangeField,o=t.targetField,a=t.layout,s=[],l=[];e.forEach((function(t,e){var a=[t[r]].flat();a.sort((function(t,e){return t-e})),a.forEach((function(i,o){var l,c=0===o?i:a[o]-a[o-1];s.push((l={rKey:r+\"_\"+o},l[n]=n?t[n]:String(e),l[r]=c,l))}));var u=[t[i]].flat();u.forEach((function(r,o){var a;s.push((a={mKey:c(u,i,o)},a[n]=n?t[n]:String(e),a[i]=r,a))}));var h=[t[o]].flat();h.forEach((function(i,r){var a;s.push((a={tKey:c(h,o,r)},a[n]=n?t[n]:String(e),a[o]=i,a))})),l.push(t[r],t[i],t[o])}));var u=Math.min.apply(Math,l.flat(1/0)),h=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,\"vertical\"===a&&s.reverse(),{min:u,max:h,ds:s}}function h(t){var e=t.chart,n=t.options,r=n.bulletStyle,a=n.targetField,c=n.rangeField,h=n.measureField,d=n.xField,p=n.color,f=n.layout,g=n.size,y=n.label,v=u(n),m=v.min,b=v.max,x=v.ds;e.data(x);var O=Object(l[\"d\"])({},t,{options:{xField:d,yField:c,seriesField:\"rKey\",isStack:!0,label:Object(o[\"s\"])(y,\"range\"),interval:{color:Object(o[\"s\"])(p,\"range\"),style:Object(o[\"s\"])(r,\"range\"),size:Object(o[\"s\"])(g,\"range\")}}});Object(s[\"c\"])(O),e.geometries[0].tooltip(!1);var w=Object(l[\"d\"])({},t,{options:{xField:d,yField:h,seriesField:\"mKey\",isStack:!0,label:Object(o[\"s\"])(y,\"measure\"),interval:{color:Object(o[\"s\"])(p,\"measure\"),style:Object(o[\"s\"])(r,\"measure\"),size:Object(o[\"s\"])(g,\"measure\")}}});Object(s[\"c\"])(w);var j=Object(l[\"d\"])({},t,{options:{xField:d,yField:a,seriesField:\"tKey\",label:Object(o[\"s\"])(y,\"target\"),point:{color:Object(o[\"s\"])(p,\"target\"),style:Object(o[\"s\"])(r,\"target\"),size:Object(o[\"I\"])(Object(o[\"s\"])(g,\"target\"))?function(t){return Object(o[\"s\"])(g,\"target\")(t)/2}:Object(o[\"s\"])(g,\"target\")/2,shape:\"horizontal\"===f?\"line\":\"hyphen\"}}});return Object(s[\"e\"])(j),\"horizontal\"===f&&e.coordinate().transpose(),Object(i[\"a\"])(Object(i[\"a\"])({},t),{ext:{data:{min:m,max:b}}})}function d(t){var e,n,i=t.options,r=t.ext,o=i.xAxis,s=i.yAxis,c=i.targetField,u=i.rangeField,h=i.measureField,d=i.xField,p=r.data;return Object(l[\"g\"])(Object(a[\"g\"])((e={},e[d]=o,e[h]=s,e),(n={},n[h]={min:null===p||void 0===p?void 0:p.min,max:null===p||void 0===p?void 0:p.max,sync:!0},n[c]={sync:\"\"+h},n[u]={sync:\"\"+h},n)))(t)}function p(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.measureField,s=n.rangeField,l=n.targetField;return e.axis(\"\"+s,!1),e.axis(\"\"+l,!1),!1===i?e.axis(\"\"+o,!1):e.axis(\"\"+o,i),!1===r?e.axis(\"\"+a,!1):e.axis(\"\"+a,r),t}function f(t){var e=t.chart,n=t.options,i=n.legend;return e.removeInteraction(\"legend-filter\"),e.legend(i),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,a=n.measureField,s=n.targetField,c=n.rangeField,u=e.geometries,h=u[0],d=u[1],p=u[2];return Object(o[\"s\"])(r,\"range\")?h.label(\"\"+c,Object(i[\"a\"])({layout:[{type:\"limit-in-plot\"}]},Object(l[\"A\"])(r.range))):h.label(!1),Object(o[\"s\"])(r,\"measure\")?d.label(\"\"+a,Object(i[\"a\"])({layout:[{type:\"limit-in-plot\"}]},Object(l[\"A\"])(r.measure))):d.label(!1),Object(o[\"s\"])(r,\"target\")?p.label(\"\"+s,Object(i[\"a\"])({layout:[{type:\"limit-in-plot\"}]},Object(l[\"A\"])(r.target))):p.label(!1),t}function y(t){Object(l[\"g\"])(h,d,p,f,a[\"k\"],g,a[\"l\"],a[\"c\"],a[\"a\"])(t)}var v=Object(l[\"d\"])({},r[\"b\"].getDefaultOptions(),{layout:\"horizontal\",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:\"right\"}},tooltip:{showMarkers:!1}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"bullet\",e}Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return v},e.prototype.changeData=function(t){this.updateOption({data:t});var e=u(this.options),n=e.min,i=e.max,r=e.ds;d({options:this.options,ext:{data:{min:n,max:i}},chart:this.chart}),this.chart.changeData(r)},e.prototype.getSchemaAdaptor=function(){return y},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()}})(r[\"b\"])},\"060b\":function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return d})),n.d(e,\"a\",(function(){return f}));var i=n(\"8937\"),r=\"…\";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 i=t.length,o=\"\";if(\"tail\"===n){for(var s=0,l=0;s=19968&&l<=40869?2:1}a>n&&(n=a,r=o)}return t[r].getBBox().width}function d(t){if(t.length>u)return h(t);var e=0;return Object(i[\"j\"])(t,(function(t){var n=t.getBBox(),i=n.width;e=0?s(u,v,r):l,m&&(e.attr(\"text\",m),y=!0)}return y?e.set(\"tip\",u):e.set(\"tip\",null),y}},\"0704\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return l}));var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"7eff\"),a=n(\"3456\"),s=n(\"b3de\"),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"histogram\",e}return Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return s[\"a\"]},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.binField,i=e.binNumber,r=e.binWidth,a=e.stackField;this.chart.changeData(Object(o[\"a\"])(t,n,r,i,a))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a[\"a\"]},e}(r[\"b\"])},\"074b\":function(t,e){},\"0767\":function(t,e){},\"0770\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o}));var i=n(\"8937\"),r=n(\"17f7\");function o(t){var e=Object(i[\"c\"])(Object(r[\"b\"])(t)?t:0,0,1);return[{current:\"\"+e,type:\"current\",percent:e},{current:\"\"+e,type:\"target\",percent:1}]}},\"092b\":function(t,e,n){\"use strict\";function i(){return 0}n.d(e,\"a\",(function(){return i})),e[\"b\"]=function(t){return function(){return t}}},\"0a1f\":function(t,e,n){\"use strict\";n.r(e),n.d(e,\"Html\",(function(){return m}));var i,r=n(\"9ab48\"),o=n(\"e945\"),a=n(\"7c8a\"),s=n(\"8937\"),l=n(\"75ed\"),c=n(\"e546\"),u=n(\"bbad\"),h=n(\"2f5e\"),d=(i={},i[\"\"+u[\"CONTAINER_CLASS\"]]={position:\"absolute\",visibility:\"visible\",zIndex:8,transition:\"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)\",backgroundColor:\"rgba(255, 255, 255, 0.9)\",boxShadow:\"0px 0px 10px #aeaeae\",borderRadius:\"3px\",color:\"rgb(87, 87, 87)\",fontSize:\"12px\",fontFamily:h[\"a\"].fontFamily,lineHeight:\"20px\",padding:\"10px 10px 6px 10px\"},i[\"\"+u[\"TITLE_CLASS\"]]={marginBottom:\"4px\"},i[\"\"+u[\"LIST_CLASS\"]]={margin:\"0px\",listStyleType:\"none\",padding:\"0px\"},i[\"\"+u[\"LIST_ITEM_CLASS\"]]={listStyleType:\"none\",marginBottom:\"4px\"},i[\"\"+u[\"MARKER_CLASS\"]]={width:\"8px\",height:\"8px\",borderRadius:\"50%\",display:\"inline-block\",marginRight:\"8px\"},i[\"\"+u[\"VALUE_CLASS\"]]={display:\"inline-block\",float:\"right\",marginLeft:\"30px\"},i[\"\"+u[\"CROSSHAIR_X\"]]={position:\"absolute\",width:\"1px\",backgroundColor:\"rgba(0, 0, 0, 0.25)\"},i[\"\"+u[\"CROSSHAIR_Y\"]]={position:\"absolute\",height:\"1px\",backgroundColor:\"rgba(0, 0, 0, 0.25)\"},i);function p(t,e,n,i,r){var o={left:tr.x+r.width,top:er.y+r.height};return o}function f(t,e,n,i,r,o){var a=t,s=e;switch(o){case\"left\":a=t-i-n,s=e-r/2;break;case\"right\":a=t+n,s=e-r/2;break;case\"top\":a=t-i/2,s=e-r-n;break;case\"bottom\":a=t-i/2,s=e+n;break;default:a=t+n,s=e-r-n;break}return{x:a,y:s}}function g(t,e,n,i,r,o,a){var s=f(t,e,n,i,r,o);if(a){var l=p(s.x,s.y,i,r,a);\"auto\"===o?(l.right&&(s.x=Math.max(0,t-i-n)),l.top&&(s.y=Math.max(0,e-r-n))):\"top\"===o||\"bottom\"===o?(l.left&&(s.x=a.x),l.right&&(s.x=a.x+a.width-i),\"top\"===o&&l.top&&(s.y=e+n),\"bottom\"===o&&l.bottom&&(s.y=e-r-n)):(l.top&&(s.y=a.y),l.bottom&&(s.y=a.y+a.height-r),\"left\"===o&&l.left&&(s.x=t+n),\"right\"===o&&l.right&&(s.x=t-i-n))}return s}function y(t,e){var n=!1;return Object(s[\"j\"])(e,(function(e){if(Object(s[\"y\"])(t,e))return n=!0,!1})),n}var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r[\"a\"])(Object(r[\"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:d})},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\"),i=this.get(\"yCrosshairDom\");n&&Object(a[\"e\"])(n,{display:e}),i&&Object(a[\"e\"])(i,{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[\"y\"])(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\"),i=this.get(\"offset\"),r=this.getOffset(),o=r.offsetX,s=r.offsetY,l=this.get(\"position\"),u=this.get(\"region\"),h=this.getContainer(),d=this.getBBox(),p=d.width,f=d.height;u&&(t=Object(c[\"k\"])(u));var y=g(e,n,i,p,f,l,t);Object(a[\"e\"])(h,{left:Object(c[\"l\"])(y.x+o),top:Object(c[\"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[\"F\"])(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(c[\"k\"])(t),i=this.get(\"xCrosshairDom\"),r=this.get(\"yCrosshairDom\");\"x\"===e?(this.resetCrosshair(\"x\",n),r&&(r.remove(),this.set(\"yCrosshairDom\",null))):\"y\"===e?(this.resetCrosshair(\"y\",n),i&&(i.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),i=this.get(t);\"x\"===t?Object(a[\"e\"])(n,{left:Object(c[\"l\"])(i),top:Object(c[\"l\"])(e.y),height:Object(c[\"l\"])(e.height)}):Object(a[\"e\"])(n,{top:Object(c[\"l\"])(i),left:Object(c[\"l\"])(e.x),width:Object(c[\"l\"])(e.width)})},e.prototype.checkCrosshair=function(t){var e=t+\"CrosshairDom\",n=t+\"CrosshairTpl\",i=\"CROSSHAIR_\"+t.toUpperCase(),r=u[i],o=this.get(e),s=this.get(\"parent\");return o||(o=Object(a[\"b\"])(this.get(n)),this.applyStyle(r,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[\"j\"])(t,(function(t){var i=o[\"a\"].toCSSGradient(t.color),l=Object(r[\"a\"])(Object(r[\"a\"])({},t),{color:i}),c=Object(s[\"pb\"])(e,l),u=Object(a[\"b\"])(c);n.appendChild(u)})),this.applyChildrenStyles(n,this.get(\"domStyles\")))},e.prototype.clearItemDoms=function(){this.get(\"listDom\")&&Object(c[\"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}(l[\"a\"]),m=v},\"0a92\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return h})),n.d(e,\"b\",(function(){return d}));var i=n(\"917c\"),r=n(\"9ab48\"),o=n(\"8937\"),a=n(\"49a2\"),s=n(\"618a\"),l=n(\"42e4\"),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rendering=!1,e}return Object(r[\"c\"])(e,t),e.prototype.change=function(t){var e=this;if(!this.rendering){var n=t.seriesField,i=t.compareField,c=i?l[\"a\"]:a[\"b\"],u=this.context.view,h=n||i?u.views:[u];Object(o[\"W\"])(h,(function(n,i){var a=n.getController(\"annotation\"),l=Object(o[\"l\"])(Object(o[\"s\"])(a,[\"option\"],[]),(function(t){var e=t.name;return e!==s[\"a\"]}));a.clear(!0),Object(o[\"j\"])(l,(function(t){\"object\"===typeof t&&n.annotation()[t.type](t)}));var u=Object(o[\"s\"])(n,[\"filteredData\"],n.getOptions().data);c({chart:n,index:i,options:Object(r[\"a\"])(Object(r[\"a\"])({},t),{filteredData:Object(s[\"c\"])(u,u,t)})}),n.filterData(u),e.rendering=!0,n.render(!0)}))}this.rendering=!1},e}(i[\"a\"]),u=\"funnel-conversion-tag\",h=\"funnel-afterrender\",d={trigger:\"afterrender\",action:u+\":change\"};Object(i[\"l\"])(u,c),Object(i[\"o\"])(h,{start:[d]})},\"0abd\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return u}));var i=n(\"9ab48\"),r=n(\"917c\"),o=n(\"cc94\"),a=n(\"62e3\"),s=n(\"4d99\"),l=n(\"3cbb\"),c=(n(\"9e6a2\"),n(\"888a\")),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"pie\",e}return Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return l[\"a\"]},e.prototype.changeData=function(t){this.chart.emit(r[\"i\"].BEFORE_CHANGE_DATA,r[\"d\"].fromData(this.chart,r[\"i\"].BEFORE_CHANGE_DATA,null));var e=this.options,n=this.options.angleField,i=Object(a[\"u\"])(e.data,n),o=Object(a[\"u\"])(t,n);Object(c[\"c\"])(i,n)||Object(c[\"c\"])(o,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(o),Object(s[\"b\"])({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(r[\"i\"].AFTER_CHANGE_DATA,r[\"d\"].fromData(this.chart,r[\"i\"].AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s[\"a\"]},e}(o[\"b\"])},\"0c22\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return I}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"c34d\"),a=n(\"afaa\"),s=n(\"62e3\"),l=n(\"e4ea\"),c=n(\"7b42\"),u=n(\"49a2\"),h=n(\"42e4\"),d=n(\"58e4\"),p=n(\"e474\"),f=n(\"618a\");function g(t){var e=t.chart,n=t.options,i=n.data,o=void 0===i?[]:i,a=n.yField,s=Object(r[\"ib\"])(o,(function(t,e){return t+(e[a]||0)}),0),l=Object(r[\"Z\"])(o,a)[a],u=Object(r[\"W\"])(o,(function(t,e){var n=[],i=[];if(t[c[\"e\"]]=(t[a]||0)/s,e){var u=o[e-1][c[\"f\"]],h=o[e-1][c[\"g\"]];n[0]=u[3],i[0]=h[3],n[1]=u[2],i[1]=h[2]}else n[0]=-.5,i[0]=1,n[1]=.5,i[1]=1;return i[2]=i[1]-t[c[\"e\"]],n[2]=(i[2]+1)/4,i[3]=i[2],n[3]=-n[2],t[c[\"f\"]]=n,t[c[\"g\"]]=i,t[c[\"d\"]]=(t[a]||0)/l,t[c[\"b\"]]=[Object(r[\"s\"])(o,[e-1,a]),t[a]],t}));return e.data(u),t}function y(t){var e=t.chart,n=t.options,i=n.xField,o=n.yField,a=n.color,s=n.tooltip,l=n.label,u=n.funnelStyle,h=n.state,f=Object(p[\"a\"])(s,[i,o]),g=f.fields,y=f.formatter;return Object(d[\"a\"])({chart:e,options:{type:\"polygon\",xField:c[\"f\"],yField:c[\"g\"],colorField:i,tooltipFields:Object(r[\"C\"])(g)&&g.concat([c[\"d\"],c[\"b\"]]),label:l,state:h,mapping:{tooltip:y,color:a,style:u}}}),t}function v(t){var e=t.chart,n=t.options,i=n.isTransposed;return e.coordinate({type:\"rect\",actions:i?[[\"transpose\"],[\"reflect\",\"x\"]]:[]}),t}function m(t){var e=function(t,e,n,r){return Object(i[\"a\"])(Object(i[\"a\"])({},r),{start:[t[c[\"f\"]][1],t[c[\"g\"]][1]],end:[t[c[\"f\"]][1]+.05,t[c[\"g\"]][1]]})};return Object(f[\"b\"])(e)(t),t}function b(t){return Object(s[\"g\"])(g,y,v,m)(t)}function x(t){var e,n=t.chart,i=t.options,r=i.data,o=void 0===r?[]:r,a=i.yField;return n.data(o),n.scale((e={},e[a]={sync:!0},e)),t}function O(t){var e=t.chart,n=t.options,i=n.seriesField,r=n.isTransposed,o=n.showFacetTitle;return e.facet(\"rect\",{fields:[i],padding:[r?0:32,10,0,10],showTitle:o,eachView:function(e,n){Object(u[\"a\"])(Object(s[\"d\"])({},t,{chart:e,options:{data:n.data}}))}}),t}function w(t){return Object(s[\"g\"])(x,O)(t)}var j=n(\"0a92\");function S(t){var e,n=t.options,i=n.compareField,o=n.xField,u=n.yField,h=n.locale,d=n.funnelStyle,p=n.data,f=Object(a[\"a\"])(h),g={label:i?{fields:[o,u,i,c[\"d\"],c[\"b\"]],formatter:function(t){return\"\"+t[u]}}:{fields:[o,u,c[\"d\"],c[\"b\"]],offset:0,position:\"middle\",formatter:function(t){return t[o]+\" \"+t[u]}},tooltip:{title:o,formatter:function(t){return{name:t[o],value:t[u]}}},conversionTag:{formatter:function(t){return f.get([\"conversionTag\",\"label\"])+\": \"+l[\"a\"].apply(void 0,t[c[\"b\"]])}}};return(i||d)&&(e=function(t){return Object(s[\"d\"])({},i&&{lineWidth:1,stroke:\"#fff\"},Object(r[\"I\"])(d)?d(t):d)}),Object(s[\"d\"])({options:g},t,{options:{funnelStyle:e,data:Object(r[\"e\"])(p)}})}function _(t){var e=t.options,n=e.compareField,i=e.dynamicHeight,r=e.seriesField;return r?w(t):n?Object(h[\"b\"])(t):i?b(t):Object(u[\"a\"])(t)}function C(t){var e,n=t.options,i=n.xAxis,r=n.yAxis,a=n.xField,l=n.yField;return Object(s[\"g\"])(Object(o[\"g\"])((e={},e[a]=i,e[l]=r,e)))(t)}function M(t){var e=t.chart;return e.axis(!1),t}function A(t){var e=t.chart,n=t.options,i=n.legend;return!1===i?e.legend(!1):e.legend(i),t}function k(t){var e=t.chart,n=t.options,o=n.interactions,a=n.dynamicHeight;return Object(r[\"j\"])(o,(function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg||{})})),a?e.removeInteraction(j[\"a\"]):e.interaction(j[\"a\"],{start:[Object(i[\"a\"])(Object(i[\"a\"])({},j[\"b\"]),{arg:n})]}),t}function I(t){return Object(s[\"g\"])(S,_,C,M,o[\"l\"],k,A,o[\"a\"],o[\"k\"],Object(o[\"b\"])())(t)}},\"0cc4\":function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return S})),n.d(e,\"a\",(function(){return k}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"9cae\"),a=n(\"c34d\"),s=n(\"917c\"),l={hover:\"__interval-connected-area-hover__\",click:\"__interval-connected-area-click__\"},c=function(t,e){return\"hover\"===t?[{trigger:\"interval:mouseenter\",action:[\"element-highlight-by-color:highlight\",\"element-link-by-color:link\"],arg:[null,{style:e}]}]:[{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\"],arg:[null,null,null,null,{style:e}]}]};function u(t){return void 0===t&&(t=!1),function(e){var n=e.chart,i=e.options,r=i.connectedArea,o=function(){n.removeInteraction(l.hover),n.removeInteraction(l.click)};if(!t&&r){var a=r.trigger||\"hover\";o(),n.interaction(l[a],{start:c(a,r.style)})}else o();return e}}Object(s[\"o\"])(l.hover,{start:c(l.hover),end:[{trigger:\"interval:mouseleave\",action:[\"element-highlight-by-color:reset\",\"element-link-by-color:unlink\"]}]}),Object(s[\"o\"])(l.click,{start:c(l.click),end:[{trigger:\"document:mousedown\",action:[\"element-highlight-by-color:clear\",\"element-link-by-color:clear\"]}]});var h=n(\"62e3\"),d=n(\"e4ea\");function p(t,e){return Object(h[\"d\"])({size:e?32:80,spacing:e?8:12,offset:e?32:0,arrow:!1!==t.arrow&&{headSize:12,style:{fill:\"rgba(0, 0, 0, 0.05)\"}},text:!1!==t.text&&{style:{fontSize:12,fill:\"rgba(0, 0, 0, 0.85)\",textAlign:\"center\",textBaseline:\"middle\"},formatter:d[\"a\"]}},t)}function f(t,e){return Object(r[\"W\"])(e.getModel().points,(function(e){return t.convertPoint(e)}))}function g(t,e,n){var r=t.view,o=t.geometry,a=t.group,s=t.options,l=t.horizontal,c=s.offset,u=s.size,h=s.arrow,d=r.getCoordinate(),p=f(d,e)[3],g=f(d,n)[0],y=g.y-p.y,v=g.x-p.x;if(\"boolean\"!==typeof h){var m,b=h.headSize,x=s.spacing;l?(v-b)/2O){var j=w/v.length,S=Math.max(1,Math.ceil(O/j)-1),_=v.slice(0,S)+\"...\";x.attr(\"text\",_)}}}}function v(t,e,n){g(t,e,n),y(t,e,n)}function m(t,e,n){return void 0===e&&(e=!0),void 0===n&&(n=!1),function(i){var o=i.options,a=i.chart,l=o.conversionTag,c=o.theme;return l&&!n&&(a.theme(Object(h[\"d\"])({},Object(r[\"O\"])(c)?c:Object(s[\"k\"])(c),{columnWidthRatio:1/3})),a.annotation().shape({render:function(n,i){var o=n.addGroup({id:a.id+\"-conversion-tag-group\",name:\"conversion-tag-group\"}),s=Object(r[\"m\"])(a.geometries,(function(t){return\"interval\"===t.type})),c={view:i,geometry:s,group:o,field:t,horizontal:e,options:p(l,e)},u=s.elements;Object(r[\"j\"])(u,(function(t,e){e>0&&v(c,u[e-1],t)}))}})),i}}var b=n(\"b4aa\"),x=n(\"87d0\"),O=n(\"b2a0\");function w(t){var e=t.options,n=e.legend,r=e.seriesField,o=e.isStack;return r?!1!==n&&(n=Object(i[\"a\"])({position:o?\"right-top\":\"top-left\"},n)):n=!1,t.options.legend=n,t}function j(t){var e=t.chart,n=t.options,r=n.data,o=n.columnStyle,a=n.color,s=n.columnWidthRatio,l=n.isPercent,c=n.isGroup,u=n.isStack,d=n.xField,p=n.yField,f=n.seriesField,g=n.groupField,y=n.tooltip,v=n.shape,m=l&&c&&u?Object(O[\"b\"])(r,p,[d,g],p):Object(O[\"a\"])(r,p,d,p,l),x=[];u&&f&&!c?m.forEach((function(t){var e=x.find((function(e){return e[d]===t[d]&&e[f]===t[f]}));e?e[p]+=t[p]||0:x.push(Object(i[\"a\"])({},t))})):x=m,e.data(x);var w=l?Object(i[\"a\"])({formatter:function(t){return{name:c&&u?t[f]+\" - \"+t[g]:t[f]||t[d],value:(100*Number(t[p])).toFixed(2)+\"%\"}}},y):y,j=Object(h[\"d\"])({},t,{options:{data:x,widthRatio:s,tooltip:w,interval:{shape:v,style:o,color:a}}});return Object(b[\"c\"])(j),j}function S(t){var e,n,r=t.options,o=r.xAxis,s=r.yAxis,l=r.xField,c=r.yField,u=r.data,d=r.isPercent,p=d?{max:1,min:0,minLimit:0,maxLimit:1}:{};return Object(h[\"g\"])(Object(a[\"g\"])((e={},e[l]=o,e[c]=s,e),(n={},n[l]={type:\"cat\"},n[c]=Object(i[\"a\"])(Object(i[\"a\"])({},Object(h[\"c\"])(u,c)),p),n)))(t)}function _(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField;return!1===i?e.axis(o,!1):e.axis(o,i),!1===r?e.axis(a,!1):e.axis(a,r),t}function C(t){var e=t.chart,n=t.options,i=n.legend,r=n.seriesField;return i&&r?e.legend(r,i):!1===i&&e.legend(!1),t}function M(t){var e=t.chart,n=t.options,r=n.label,o=n.yField,a=n.isRange,s=Object(h[\"e\"])(e,\"interval\");if(r){var l=r.callback,c=Object(i[\"f\"])(r,[\"callback\"]);s.label({fields:[o],callback:l,cfg:Object(i[\"a\"])({layout:(null===c||void 0===c?void 0:c.position)?void 0:[{type:\"interval-adjust-position\"},{type:\"interval-hide-overlap\"},{type:\"adjust-color\"},{type:\"limit-in-plot\",cfg:{action:\"hide\"}}]},Object(h[\"A\"])(a?Object(i[\"a\"])({content:function(t){var e;return null===(e=t[o])||void 0===e?void 0:e.join(\"-\")}},c):c))})}else s.label(!1);return t}function A(t){var e=t.chart,n=t.options,o=n.tooltip,a=n.isGroup,s=n.isStack,l=n.groupField,c=n.data,u=n.xField,d=n.yField,p=n.seriesField;if(!1===o)e.tooltip(!1);else{var f=o;if(a&&s){var g=f.customItems,y=(null===f||void 0===f?void 0:f.formatter)||function(t){return{name:t[p]+\" - \"+t[l],value:t[d]}};f=Object(i[\"a\"])(Object(i[\"a\"])({},f),{customItems:function(t){var e=[];return Object(r[\"j\"])(t,(function(t){var n=Object(r[\"l\"])(c,(function(e){return Object(r[\"J\"])(e,Object(h[\"t\"])(t.data,[u,p]))}));n.forEach((function(n){e.push(Object(i[\"a\"])(Object(i[\"a\"])(Object(i[\"a\"])({},t),{value:n[d],data:n,mappingData:{_origin:n}}),y(n)))}))})),g?g(e):e}})}e.tooltip(f)}return t}function k(t,e){void 0===e&&(e=!1);var n=t.options,i=n.seriesField;return Object(h[\"g\"])(w,a[\"k\"],Object(x[\"a\"])(\"columnStyle\"),a[\"j\"],Object(a[\"m\"])(\"rect\"),j,S,_,C,A,a[\"i\"],a[\"h\"],M,o[\"a\"],a[\"c\"],a[\"a\"],Object(a[\"b\"])(),m(n.yField,!e,!!i),u(!n.isStack),a[\"e\"])(t)}},\"0dd4\":function(t,e,n){\"use strict\";e[\"a\"]=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}},\"0e37\":function(t,e,n){\"use strict\";n(\"3e28\"),n(\"dd3e\"),n(\"c3a5\"),n(\"a0ae\"),n(\"5e24\"),n(\"e4c3\"),n(\"8944\"),n(\"0767\"),n(\"37d8\"),n(\"074b\"),n(\"878f\")},\"0f20\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s})),n.d(e,\"c\",(function(){return l})),n.d(e,\"b\",(function(){return c}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"f2ce\"),a=n(\"3f35\");function s(t,e){if(!t)return{};var n=t.filter((function(t){var n=Object(r[\"s\"])(t,[e]);return Object(r[\"M\"])(n)&&!isNaN(n)})),i=n.every((function(t){return Object(r[\"s\"])(t,[e])>=0})),o=n.every((function(t){return Object(r[\"s\"])(t,[e])<=0}));return i?{min:0}:o?{max:0}:{}}function l(t,e,n,r,o){if(void 0===o&&(o=[]),!Array.isArray(t))return{nodes:[],links:[]};var s=[],l={},c=-1;return t.forEach((function(t){var u=t[e],h=t[n],d=t[r],p=Object(a[\"a\"])(t,o);l[u]||(l[u]=Object(i[\"a\"])({id:++c,name:u},p)),l[h]||(l[h]=Object(i[\"a\"])({id:++c,name:h},p)),s.push(Object(i[\"a\"])({source:l[u].id,target:l[h].id,value:d},p))})),{nodes:Object.values(l).sort((function(t,e){return t.id-e.id})),links:s}}function c(t,e){var n=Object(r[\"l\"])(t,(function(t){var n=t[e];return null===n||\"number\"===typeof n&&!isNaN(n)}));return Object(o[\"b\"])(o[\"a\"].WARN,n.length===t.length,\"illegal data existed in chart data.\"),n}},1183:function(t,e,n){\"use strict\";n.d(e,\"e\",(function(){return x})),n.d(e,\"b\",(function(){return C})),n.d(e,\"a\",(function(){return F})),n.d(e,\"c\",(function(){return h})),n.d(e,\"d\",(function(){return W})),n.d(e,\"f\",(function(){return i}));var i={};n.r(i),n.d(i,\"distance\",(function(){return o})),n.d(i,\"isNumberEqual\",(function(){return a})),n.d(i,\"getBBoxByArray\",(function(){return s})),n.d(i,\"getBBoxRange\",(function(){return l})),n.d(i,\"piMod\",(function(){return c}));var r=n(\"8937\");function o(t,e,n,i){var r=t-n,o=e-i;return Math.sqrt(r*r+o*o)}function a(t,e){return Math.abs(t-e)<.001}function s(t,e){var n=Object(r[\"bb\"])(t),i=Object(r[\"bb\"])(e),o=Object(r[\"Y\"])(t),a=Object(r[\"Y\"])(e);return{x:n,y:i,width:o-n,height:a-i}}function l(t,e,n,i){return{minX:Object(r[\"bb\"])([t,n]),maxX:Object(r[\"Y\"])([t,n]),minY:Object(r[\"bb\"])([e,i]),maxY:Object(r[\"Y\"])([e,i])}}function c(t){return(t+2*Math.PI)%(2*Math.PI)}var u=n(\"6711\"),h={box:function(t,e,n,i){return s([t,n],[e,i])},length:function(t,e,n,i){return o(t,e,n,i)},pointAt:function(t,e,n,i,r){return{x:(1-r)*t+r*n,y:(1-r)*e+r*i}},pointDistance:function(t,e,n,i,r,a){var s=(n-t)*(r-t)+(i-e)*(a-e);if(s<0)return o(t,e,r,a);var l=(n-t)*(n-t)+(i-e)*(i-e);return s>l?o(n,i,r,a):this.pointToLine(t,e,n,i,r,a)},pointToLine:function(t,e,n,i,r,o){var a=[n-t,i-e];if(u[\"exactEquals\"](a,[0,0]))return Math.sqrt((r-t)*(r-t)+(o-e)*(o-e));var s=[-a[1],a[0]];u[\"normalize\"](s,s);var l=[r-t,o-e];return Math.abs(u[\"dot\"](l,s))},tangentAngle:function(t,e,n,i){return Math.atan2(i-e,n-t)}},d=1e-4;function p(t,e,n,i,r,a){var s,l=1/0,c=[n,i],u=20;a&&a>200&&(u=a/10);for(var h=1/u,p=h/10,f=0;f<=u;f++){var g=f*h,y=[r.apply(null,t.concat([g])),r.apply(null,e.concat([g]))],v=o(c[0],c[1],y[0],y[1]);v=0&&v=0?[r]:[]}function v(t,e,n,i){return 2*(1-i)*(e-t)+2*i*(n-e)}function m(t,e,n,i,r,o,a){var s=g(t,n,r,a),l=g(e,i,o,a),c=h.pointAt(t,e,n,i,a),u=h.pointAt(n,i,r,o,a);return[[t,e,c.x,c.y,s,l],[s,l,u.x,u.y,r,o]]}function b(t,e,n,i,r,a,s){if(0===s)return(o(t,e,n,i)+o(n,i,r,a)+o(t,e,r,a))/2;var l=m(t,e,n,i,r,a,.5),c=l[0],u=l[1];return c.push(s-1),u.push(s-1),b.apply(null,c)+b.apply(null,u)}var x={box:function(t,e,n,i,r,o){var a=y(t,n,r)[0],l=y(e,i,o)[0],c=[t,r],u=[e,o];return void 0!==a&&c.push(g(t,n,r,a)),void 0!==l&&u.push(g(e,i,o,l)),s(c,u)},length:function(t,e,n,i,r,o){return b(t,e,n,i,r,o,3)},nearestPoint:function(t,e,n,i,r,o,a,s){return p([t,n,r],[e,i,o],a,s,g)},pointDistance:function(t,e,n,i,r,a,s,l){var c=this.nearestPoint(t,e,n,i,r,a,s,l);return o(c.x,c.y,s,l)},interpolationAt:g,pointAt:function(t,e,n,i,r,o,a){return{x:g(t,n,r,a),y:g(e,i,o,a)}},divide:function(t,e,n,i,r,o,a){return m(t,e,n,i,r,o,a)},tangentAngle:function(t,e,n,i,r,o,a){var s=v(t,n,r,a),l=v(e,i,o,a),u=Math.atan2(l,s);return c(u)}};function O(t,e,n,i,r){var o=1-r;return o*o*o*t+3*e*r*o*o+3*n*r*r*o+i*r*r*r}function w(t,e,n,i,r){var o=1-r;return 3*(o*o*(e-t)+2*o*r*(n-e)+r*r*(i-n))}function j(t,e,n,i){var r,o,s,l=-3*t+9*e-9*n+3*i,c=6*t-12*e+6*n,u=3*e-3*t,h=[];if(a(l,0))a(c,0)||(r=-u/c,r>=0&&r<=1&&h.push(r));else{var d=c*c-4*l*u;a(d,0)?h.push(-c/(2*l)):d>0&&(s=Math.sqrt(d),r=(-c+s)/(2*l),o=(-c-s)/(2*l),r>=0&&r<=1&&h.push(r),o>=0&&o<=1&&h.push(o))}return h}function S(t,e,n,i,r,o,a,s,l){var c=O(t,n,r,a,l),u=O(e,i,o,s,l),d=h.pointAt(t,e,n,i,l),p=h.pointAt(n,i,r,o,l),f=h.pointAt(r,o,a,s,l),g=h.pointAt(d.x,d.y,p.x,p.y,l),y=h.pointAt(p.x,p.y,f.x,f.y,l);return[[t,e,d.x,d.y,g.x,g.y,c,u],[c,u,y.x,y.y,f.x,f.y,a,s]]}function _(t,e,n,i,r,o,a,s,l){if(0===l)return f([t,n,r,a],[e,i,o,s]);var c=S(t,e,n,i,r,o,a,s,.5),u=c[0],h=c[1];return u.push(l-1),h.push(l-1),_.apply(null,u)+_.apply(null,h)}var C={extrema:j,box:function(t,e,n,i,r,o,a,l){for(var c=[t,a],u=[e,l],h=j(t,n,r,a),d=j(e,i,o,l),p=0;p0?n:-1*n}var A={box:function(t,e,n,i){return{x:t-n,y:e-i,width:2*n,height:2*i}},length:function(t,e,n,i){return Math.PI*(3*(n+i)-Math.sqrt((3*n+i)*(n+3*i)))},nearestPoint:function(t,e,n,i,r,o){var a=n,s=i;if(0===a||0===s)return{x:t,y:e};for(var l,c,u=r-t,h=o-e,d=Math.abs(u),p=Math.abs(h),f=a*a,g=s*s,y=Math.PI/4,v=0;v<4;v++){l=a*Math.cos(y),c=s*Math.sin(y);var m=(f-g)*Math.pow(Math.cos(y),3)/a,b=(g-f)*Math.pow(Math.sin(y),3)/s,x=l-m,O=c-b,w=d-m,j=p-b,S=Math.hypot(O,x),_=Math.hypot(j,w),C=S*Math.asin((x*j-O*w)/(S*_)),A=C/Math.sqrt(f+g-l*l-c*c);y+=A,y=Math.min(Math.PI/2,Math.max(0,y))}return{x:t+M(l,u),y:e+M(c,h)}},pointDistance:function(t,e,n,i,r,a){var s=this.nearestPoint(t,e,n,i,r,a);return o(s.x,s.y,r,a)},pointAt:function(t,e,n,i,r){var o=2*Math.PI*r;return{x:t+n*Math.cos(o),y:e+i*Math.sin(o)}},tangentAngle:function(t,e,n,i,r){var o=2*Math.PI*r,a=Math.atan2(i*Math.cos(o),-n*Math.sin(o));return c(a)}};function k(t,e,n,i,r,o,a,s){return-1*n*Math.cos(r)*Math.sin(s)-i*Math.sin(r)*Math.cos(s)}function I(t,e,n,i,r,o,a,s){return-1*n*Math.sin(r)*Math.sin(s)+i*Math.cos(r)*Math.cos(s)}function T(t,e,n){return Math.atan(-e/t*Math.tan(n))}function D(t,e,n){return Math.atan(e/(t*Math.tan(n)))}function P(t,e,n,i,r,o){return n*Math.cos(r)*Math.cos(o)-i*Math.sin(r)*Math.sin(o)+t}function L(t,e,n,i,r,o){return n*Math.sin(r)*Math.cos(o)+i*Math.cos(r)*Math.sin(o)+e}function R(t,e,n,i){var r=Math.atan2(i*t,n*e);return(r+2*Math.PI)%(2*Math.PI)}function E(t,e,n){return{x:t*Math.cos(n),y:e*Math.sin(n)}}function B(t,e,n){var i=Math.cos(n),r=Math.sin(n);return[t*i-e*r,t*r+e*i]}var F={box:function(t,e,n,i,r,o,a){for(var s=T(n,i,r),l=1/0,c=-1/0,u=[o,a],h=2*-Math.PI;h<=2*Math.PI;h+=Math.PI){var d=s+h;oc&&(c=p)}var f=D(n,i,r),g=1/0,y=-1/0,v=[o,a];for(h=2*-Math.PI;h<=2*Math.PI;h+=Math.PI){var m=f+h;oy&&(y=b)}return{x:l,y:g,width:c-l,height:y-g}},length:function(t,e,n,i,r,o,a){},nearestPoint:function(t,e,n,i,r,o,a,s,l){var c=B(s-t,l-e,-r),u=c[0],h=c[1],d=A.nearestPoint(0,0,n,i,u,h),p=R(n,i,d.x,d.y);pa&&(d=E(n,i,a));var f=B(d.x,d.y,r);return{x:f[0]+t,y:f[1]+e}},pointDistance:function(t,e,n,i,r,a,s,l,c){var u=this.nearestPoint(t,e,n,i,l,c);return o(u.x,u.y,l,c)},pointAt:function(t,e,n,i,r,o,a,s){var l=(a-o)*s+o;return{x:P(t,e,n,i,r,l),y:L(t,e,n,i,r,l)}},tangentAngle:function(t,e,n,i,r,o,a,s){var l=(a-o)*s+o,u=k(t,e,n,i,r,o,a,l),h=I(t,e,n,i,r,o,a,l);return c(Math.atan2(h,u))}};function N(t){for(var e=0,n=[],i=0;i1||e<0||t.length<2)return null;var n=N(t),i=n.segments,r=n.totalLength;if(0===r)return{x:t[0][0],y:t[0][1]};for(var o=0,a=null,s=0;s=o&&e<=o+d){var p=(e-o)/d;a=h.pointAt(c[0],c[1],u[0],u[1],p);break}o+=d}return a}function G(t,e){if(e>1||e<0||t.length<2)return 0;for(var n=N(t),i=n.segments,r=n.totalLength,o=0,a=0,s=0;s=o&&e<=o+h){a=Math.atan2(u[1]-c[1],u[0]-c[0]);break}o+=h}return a}function H(t,e,n){for(var i=1/0,r=0;r=0&&e._call.call(null,t),e=e._next;--u}function S(){g=(f=v.now())+y,u=h=0;try{j()}finally{u=0,C(),g=0}}function _(){var t=v.now(),e=t-f;e>p&&(y-=e,f=t)}function C(){var t,e,n=i,o=1/0;while(n)n._call?(o>n._time&&(o=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:i=e);r=t,M(o)}function M(t){if(!u){h&&(h=clearTimeout(h));var e=t-g;e>24?(t<1/0&&(h=setTimeout(S,t-v.now()-y)),d&&(d=clearInterval(d))):(d||(f=v.now(),d=setInterval(_,p)),u=1,m(S))}}O.prototype=w.prototype={constructor:O,restart:function(t,e,n){if(\"function\"!==typeof t)throw new TypeError(\"callback is not a function\");n=(null==n?b():+n)+(null==e?0:+e),this._next||r===this||(r?r._next=this:i=this,r=this),this._call=t,this._time=n,M()},stop:function(){this._call&&(this._call=null,this._time=1/0,M())}};var A=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function k(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function I(){}var T=.7,D=1/T,P=\"\\\\s*([+-]?\\\\d+)\\\\s*\",L=\"\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",R=\"\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",E=/^#([0-9a-f]{3,8})$/,B=new RegExp(`^rgb\\\\(${P},${P},${P}\\\\)$`),F=new RegExp(`^rgb\\\\(${R},${R},${R}\\\\)$`),N=new RegExp(`^rgba\\\\(${P},${P},${P},${L}\\\\)$`),z=new RegExp(`^rgba\\\\(${R},${R},${R},${L}\\\\)$`),V=new RegExp(`^hsl\\\\(${L},${R},${R}\\\\)$`),G=new RegExp(`^hsla\\\\(${L},${R},${R},${L}\\\\)$`),H={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function W(){return this.rgb().formatHex()}function X(){return this.rgb().formatHex8()}function Y(){return st(this).formatHsl()}function q(){return this.rgb().formatRgb()}function U(t){var e,n;return t=(t+\"\").trim().toLowerCase(),(e=E.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Z(e):3===n?new $(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?K(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?K(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=B.exec(t))?new $(e[1],e[2],e[3],1):(e=F.exec(t))?new $(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=N.exec(t))?K(e[1],e[2],e[3],e[4]):(e=z.exec(t))?K(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=V.exec(t))?at(e[1],e[2]/100,e[3]/100,1):(e=G.exec(t))?at(e[1],e[2]/100,e[3]/100,e[4]):H.hasOwnProperty(t)?Z(H[t]):\"transparent\"===t?new $(NaN,NaN,NaN,0):null}function Z(t){return new $(t>>16&255,t>>8&255,255&t,1)}function K(t,e,n,i){return i<=0&&(t=e=n=NaN),new $(t,e,n,i)}function Q(t){return t instanceof I||(t=U(t)),t?(t=t.rgb(),new $(t.r,t.g,t.b,t.opacity)):new $}function J(t,e,n,i){return 1===arguments.length?Q(t):new $(t,e,n,null==i?1:i)}function $(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function tt(){return`#${ot(this.r)}${ot(this.g)}${ot(this.b)}`}function et(){return`#${ot(this.r)}${ot(this.g)}${ot(this.b)}${ot(255*(isNaN(this.opacity)?1:this.opacity))}`}function nt(){const t=it(this.opacity);return`${1===t?\"rgb(\":\"rgba(\"}${rt(this.r)}, ${rt(this.g)}, ${rt(this.b)}${1===t?\")\":`, ${t})`}`}function it(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function rt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function ot(t){return t=rt(t),(t<16?\"0\":\"\")+t.toString(16)}function at(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ct(t,e,n,i)}function st(t){if(t instanceof ct)return new ct(t.h,t.s,t.l,t.opacity);if(t instanceof I||(t=U(t)),!t)return new ct;if(t instanceof ct)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),a=NaN,s=o-r,l=(o+r)/2;return s?(a=e===o?(n-i)/s+6*(n0&&l<1?0:a,new ct(a,s,l,t.opacity)}function lt(t,e,n,i){return 1===arguments.length?st(t):new ct(t,e,n,null==i?1:i)}function ct(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function ut(t){return t=(t||0)%360,t<0?t+360:t}function ht(t){return Math.max(0,Math.min(1,t||0))}function dt(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function pt(t,e,n,i,r){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*i+a*r)/6}A(I,U,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:W,formatHex:W,formatHex8:X,formatHsl:Y,formatRgb:q,toString:q}),A($,J,k(I,{brighter(t){return t=null==t?D:Math.pow(D,t),new $(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?T:Math.pow(T,t),new $(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new $(rt(this.r),rt(this.g),rt(this.b),it(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:tt,formatHex:tt,formatHex8:et,formatRgb:nt,toString:nt})),A(ct,lt,k(I,{brighter(t){return t=null==t?D:Math.pow(D,t),new ct(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?T:Math.pow(T,t),new ct(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new $(dt(t>=240?t-240:t+120,r,i),dt(t,r,i),dt(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new ct(ut(this.h),ht(this.s),ht(this.l),it(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=it(this.opacity);return`${1===t?\"hsl(\":\"hsla(\"}${ut(this.h)}, ${100*ht(this.s)}%, ${100*ht(this.l)}%${1===t?\")\":`, ${t})`}`}}));var ft=function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),r=t[i],o=t[i+1],a=i>0?t[i-1]:2*r-o,s=i()=>t;function vt(t,e){return function(n){return t+n*e}}function mt(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function bt(t){return 1===(t=+t)?xt:function(e,n){return n-e?mt(e,n,t):yt(isNaN(e)?n:e)}}function xt(t,e){var n=e-t;return n?vt(t,n):yt(isNaN(t)?e:t)}var Ot=function t(e){var n=bt(e);function i(t,e){var i=n((t=J(t)).r,(e=J(e)).r),r=n(t.g,e.g),o=n(t.b,e.b),a=xt(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=r(e),t.b=o(e),t.opacity=a(e),t+\"\"}}return i.gamma=t,i}(1);function wt(t){return function(e){var n,i,r=e.length,o=new Array(r),a=new Array(r),s=new Array(r);for(n=0;no&&(r=e.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(n=n[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:At(n,i)})),o=Tt.lastIndex;return ou.length?(l=Bt[\"parsePathString\"](o[s]),u=Bt[\"parsePathString\"](r[s]),u=Bt[\"fillPathByDiff\"](u,l),u=Bt[\"formatPath\"](u,l),e.fromAttrs.path=u,e.toAttrs.path=l):e.pathFormatted||(l=Bt[\"parsePathString\"](o[s]),u=Bt[\"parsePathString\"](r[s]),u=Bt[\"formatPath\"](u,l),e.fromAttrs.path=u,e.toAttrs.path=l,e.pathFormatted=!0),i[s]=[];for(var h=0;h0){for(var a=i.animators.length-1;a>=0;a--)if(t=i.animators[a],t.destroyed)i.removeAnimator(a);else{if(!t.isAnimatePaused()){e=t.get(\"animations\");for(var s=e.length-1;s>=0;s--)n=e[s],r=Gt(t,n,o),r&&(e.splice(s,1),r=!1,n.callback&&n.callback())}0===e.length&&i.removeAnimator(a)}var l=i.canvas.get(\"autoDraw\");l||i.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}(),Wt=Ht,Xt=n(\"e5e2\"),Yt=40,qt=0,Ut=[\"mousedown\",\"mouseup\",\"dblclick\",\"mouseout\",\"mouseover\",\"mousemove\",\"mouseleave\",\"mouseenter\",\"touchstart\",\"touchmove\",\"touchend\",\"dragenter\",\"dragover\",\"dragleave\",\"drop\",\"contextmenu\",\"mousewheel\"];function Zt(t,e,n){n.name=e,n.target=t,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}function Kt(t,e,n){if(n.bubbles){var i=void 0,r=!1;if(\"mouseenter\"===e?(i=n.fromShape,r=!0):\"mouseleave\"===e&&(r=!0,i=n.toShape),t.isCanvas()&&r)return;if(i&&Object(l[\"g\"])(t,i))return void(n.bubbles=!1);n.name=e,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}}var Qt=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,i=n.get(\"el\");if(i!==t.target&&(e.dragging||e.currentShape)){var r=e._getPointInfo(t);e.dragging&&e._emitEvent(\"drag\",t,r,e.draggingShape)}},this._onDocumentMouseUp=function(t){var n=e.canvas,i=n.get(\"el\");if(i!==t.target&&e.dragging){var r=e._getPointInfo(t);e.draggingShape&&e._emitEvent(\"drop\",t,r,null),e._emitEvent(\"dragend\",t,r,e.draggingShape),e._afterDrag(e.draggingShape,r,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(l[\"a\"])(Ut,(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(l[\"a\"])(Ut,(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,i,r,o){var a=new Xt[\"a\"](t,e);return a.fromShape=r,a.toShape=o,a.x=n.x,a.y=n.y,a.clientX=n.clientX,a.clientY=n.clientY,a.propagationPath.push(i),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),i=e.getPointByEvent(t);return{x:i.x,y:i.y,clientX:n.x,clientY:n.y}},t.prototype._triggerEvent=function(t,e){var n=this._getPointInfo(e),i=this._getShape(n,e),r=this[\"_on\"+t],o=!1;if(r)r.call(this,n,i,e);else{var a=this.currentShape;\"mouseenter\"===t||\"dragenter\"===t||\"mouseover\"===t?(this._emitEvent(t,e,n,null,null,i),i&&this._emitEvent(t,e,n,i,null,i),\"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,i,null,null)}if(o||(this.currentShape=i),i&&!i.get(\"destroyed\")){var s=this.canvas,l=s.get(\"el\");l.style.cursor=i.attr(\"cursor\")||s.get(\"cursor\")}},t.prototype._onmousedown=function(t,e,n){n.button===qt&&(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,i){var r=this.canvas.get(\"el\");n!==i&&(n&&(this._emitEvent(\"mouseout\",t,e,n,n,i),this._emitEvent(\"mouseleave\",t,e,n,n,i),i&&!i.get(\"destroyed\")||(r.style.cursor=this.canvas.get(\"cursor\"))),i&&(this._emitEvent(\"mouseover\",t,e,i,n,i),this._emitEvent(\"mouseenter\",t,e,i,n,i)))},t.prototype._emitDragoverEvents=function(t,e,n,i,r){i?(i!==n&&(n&&this._emitEvent(\"dragleave\",t,e,n,n,i),this._emitEvent(\"dragenter\",t,e,i,n,i)),r||this._emitEvent(\"dragover\",t,e,i)):n&&this._emitEvent(\"dragleave\",t,e,n,n,i),r&&this._emitEvent(\"dragover\",t,e,i)},t.prototype._afterDrag=function(t,e,n){t&&(t.set(\"capture\",!0),this.draggingShape=null),this.dragging=!1;var i=this._getShape(e,n);i!==t&&this._emitMouseoverEvents(n,e,t,i),this.currentShape=i},t.prototype._onmouseup=function(t,e,n){if(n.button===qt){var i=this.draggingShape;this.dragging?(i&&this._emitEvent(\"drop\",n,t,e),this._emitEvent(\"dragend\",n,t,i),this._afterDrag(i,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 i=this.currentShape;this._emitDragoverEvents(n,t,i,e,!0)},t.prototype._onmousemove=function(t,e,n){var i=this.canvas,r=this.currentShape,o=this.draggingShape;if(this.dragging)o&&this._emitDragoverEvents(n,t,r,e,!1),this._emitEvent(\"drag\",n,t,o);else{var a=this.mousedownPoint;if(a){var s=this.mousedownShape,l=n.timeStamp,c=l-this.mousedownTimeStamp,u=a.clientX-t.clientX,h=a.clientY-t.clientY,d=u*u+h*h;c>120||d>Yt?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&&i.get(\"draggable\")?(this.dragging=!0,this._emitEvent(\"dragstart\",n,t,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,t,r,e),this._emitEvent(\"mousemove\",n,t,e)):(this._emitMouseoverEvents(n,t,r,e),this._emitEvent(\"mousemove\",n,t,e))}else this._emitMouseoverEvents(n,t,r,e),this._emitEvent(\"mousemove\",n,t,e)}},t.prototype._emitEvent=function(t,e,n,i,r,o){var a=this._getEventObj(t,e,n,i,r,o);if(i){a.shape=i,Zt(i,t,a);var s=i.getParent();while(s)s.emitDelegation(t,a),a.propagationStopped||Kt(s,t,a),a.propagationPath.push(s),s=s.getParent()}else{var l=this.canvas;Zt(l,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}(),Jt=Qt,$t=\"px\",te=Object(a[\"a\"])(),ee=te&&\"firefox\"===te.name,ne=function(t){function e(e){var n=t.call(this,e)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return Object(o[\"c\"])(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(l[\"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 Jt({canvas:this});t.init(),this.set(\"eventController\",t)},e.prototype.initTimeline=function(){var t=new Wt(this);this.set(\"timeline\",t)},e.prototype.setDOMSize=function(t,e){var n=this.get(\"el\");l[\"c\"]&&(n.style.width=t+$t,n.style.height=e+$t)},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\");l[\"c\"]&&e&&(e.style.cursor=t)},e.prototype.getPointByEvent=function(t){var e=this.get(\"supportCSSTransform\");if(e){if(ee&&!Object(l[\"e\"])(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!Object(l[\"e\"])(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var n=this.getClientByEvent(t),i=n.x,r=n.y;return this.getPointByClient(i,r)},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\"),i=n.getBoundingClientRect();return{x:t-i.left,y:e-i.top}},e.prototype.getClientByPoint=function(t,e){var n=this.get(\"el\"),i=n.getBoundingClientRect();return{x:t+i.left,y:e+i.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}(s[\"a\"]);e[\"a\"]=ne},1405:function(t,e,n){\"use strict\";var i=n(\"9ab48\"),r=n(\"917c\"),o=n(\"cc94\"),a=n(\"8937\"),s=n(\"c34d\"),l=n(\"b4aa\"),c=n(\"62e3\"),u=\"liquid\";function h(t){return[{percent:t,type:u}]}function d(t){var e=t.chart,n=t.options,i=n.percent,r=n.liquidStyle,o=n.radius,a=n.outline,s=n.wave,u=n.shape,d=n.shapeStyle,p=n.animation;e.scale({percent:{min:0,max:1}}),e.data(h(i));var f=n.color||e.getTheme().defaultColor,g=Object(c[\"d\"])({},t,{options:{xField:\"type\",yField:\"percent\",widthRatio:o,interval:{color:f,style:r,shape:\"liquid-fill-gauge\"}}}),y=Object(l[\"c\"])(g).ext,v=y.geometry,m=e.getTheme().background,b={percent:i,radius:o,outline:a,wave:s,shape:u,shapeStyle:d,background:m,animation:p};return v.customInfo(b),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function p(t,e){var n=t.chart,r=t.options,o=r.statistic,s=r.percent,l=r.meta;n.getController(\"annotation\").clear(!0);var u=Object(a[\"s\"])(l,[\"percent\",\"formatter\"])||function(t){return(100*t).toFixed(2)+\"%\"},h=o.content;return h&&(h=Object(c[\"d\"])({},h,{content:Object(a[\"K\"])(h.content)?u(s):h.content})),Object(c[\"w\"])(n,{statistic:Object(i[\"a\"])(Object(i[\"a\"])({},o),{content:h}),plotType:\"liquid\"},{percent:s}),e&&n.render(!0),t}function f(t){return Object(c[\"g\"])(s[\"k\"],Object(s[\"f\"])(\"liquidStyle\"),d,p,Object(s[\"g\"])({}),s[\"a\"],s[\"c\"])(t)}var g={radius:.9,statistic:{title:!1,content:{style:{opacity:.75,fontSize:\"30px\",lineHeight:\"30px\",textAlign:\"center\"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:\"circle\"},y=n(\"a9a0\"),v=5e3;function m(t,e,n){return t+(e-t)*n}function b(t){var e=Object(i[\"a\"])({opacity:1},t.style);return t.color&&!e.fill&&(e.fill=t.color),e}function x(t){var e={fill:\"#fff\",fillOpacity:0,lineWidth:4},n=Object(a[\"db\"])({},e,t.style);return t.color&&!n.stroke&&(n.stroke=t.color),Object(a[\"M\"])(t.opacity)&&(n.opacity=n.strokeOpacity=t.opacity),n}function O(t,e,n,i){return 0===e?[[t+.5*n/Math.PI/2,i/2],[t+.5*n/Math.PI,i],[t+n/4,i]]:1===e?[[t+.5*n/Math.PI/2*(Math.PI-2),i],[t+.5*n/Math.PI/2*(Math.PI-1),i/2],[t+n/4,0]]:2===e?[[t+.5*n/Math.PI/2,-i/2],[t+.5*n/Math.PI,-i],[t+n/4,-i]]:[[t+.5*n/Math.PI/2*(Math.PI-2),-i],[t+.5*n/Math.PI/2*(Math.PI-1),-i/2],[t+n/4,0]]}function w(t,e,n,i,r,o,a){var s=4*Math.ceil(2*t/n*4),l=[],c=i;while(c<2*-Math.PI)c+=2*Math.PI;while(c>0)c-=2*Math.PI;c=c/Math.PI/2*n;var u=o-t+c-2*t;l.push([\"M\",u,e]);for(var h=0,d=0;d0){var L=e.addGroup({name:\"waves\"}),R=L.setClip({type:\"path\",attrs:{path:P}});j(S.x,S.y,1-t.points[1].y,m,A,L,R,2*M,O,p)}return e.addShape(\"path\",{name:\"distance\",attrs:{path:P,fill:\"transparent\",lineWidth:y+2*v,stroke:\"transparent\"===d?\"#fff\":d}}),e.addShape(\"path\",{name:\"wrap\",attrs:Object(a[\"db\"])(I,{path:P,fill:\"transparent\",lineWidth:y})}),e}});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"liquid\",e}Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return g},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.chart.emit(r[\"i\"].BEFORE_CHANGE_DATA,r[\"d\"].fromData(this.chart,r[\"i\"].BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(h(t)),p({chart:this.chart,options:this.options},!0),this.chart.emit(r[\"i\"].AFTER_CHANGE_DATA,r[\"d\"].fromData(this.chart,r[\"i\"].AFTER_CHANGE_DATA,null))},e.prototype.getSchemaAdaptor=function(){return f}})(o[\"b\"])},\"147d\":function(t,e,n){\"use strict\";n.d(e,\"getAdjust\",(function(){return r})),n.d(e,\"registerAdjust\",(function(){return o}));n(\"41c8\"),n(\"59b0\");var i={},r=function(t){return i[t.toLowerCase()]},o=function(t,e){if(r(t))throw new Error(\"Adjust type '\"+t+\"' existed.\");i[t.toLowerCase()]=e}},\"14b2\":function(t,e,n){\"use strict\";var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"8937\"),a=n(\"c34d\"),s=n(\"b4aa\"),l=n(\"afaa\"),c=n(\"62e3\"),u=\"$$yField$$\",h=\"$$diffField$$\",d=\"$$absoluteField$$\",p=\"$$isTotal$$\",f={label:{},leaderLine:{style:{lineWidth:1,stroke:\"#8c8c8c\",lineDash:[4,2]}},total:{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]}}}}},g=n(\"917c\");function y(t){for(var e=[],n=0;n0?y:v},O=Object(c[\"d\"])({},t,{options:{xField:r,yField:u,seriesField:r,rawFields:[a,h,p,u],widthRatio:f,interval:{style:g,shape:\"waterfall\",color:x}}}),w=Object(s[\"c\"])(O).ext,j=w.geometry;return j.customInfo({leaderLine:d}),t}function w(t){var e,n,i=t.options,r=i.xAxis,s=i.yAxis,l=i.xField,p=i.yField,f=i.meta,g=Object(c[\"d\"])({},{alias:p},Object(o[\"s\"])(f,p));return Object(c[\"g\"])(Object(a[\"g\"])((e={},e[l]=r,e[p]=s,e[u]=s,e),Object(c[\"d\"])({},f,(n={},n[u]=g,n[h]=g,n[d]=g,n))))(t)}function j(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField;return!1===i?e.axis(o,!1):e.axis(o,i),!1===r?(e.axis(a,!1),e.axis(u,!1)):(e.axis(a,r),e.axis(u,r)),t}function S(t){var e=t.chart,n=t.options,i=n.legend,r=n.total,a=n.risingFill,s=n.fallingFill,u=n.locale,h=Object(l[\"a\"])(u);if(!1===i)e.legend(!1);else{var d=[{name:h.get([\"general\",\"increase\"]),value:\"increase\",marker:{symbol:\"square\",style:{r:5,fill:a}}},{name:h.get([\"general\",\"decrease\"]),value:\"decrease\",marker:{symbol:\"square\",style:{r:5,fill:s}}}];r&&d.push({name:r.label||\"\",value:\"total\",marker:{symbol:\"square\",style:Object(c[\"d\"])({},{r:5},Object(o[\"s\"])(r,\"style\"))}}),e.legend(Object(c[\"d\"])({},{custom:!0,position:\"top\",items:d},i)),e.removeInteraction(\"legend-filter\")}return t}function _(t){var e=t.chart,n=t.options,r=n.label,o=n.labelMode,a=n.xField,s=Object(c[\"e\"])(e,\"interval\");if(r){var l=r.callback,u=Object(i[\"f\"])(r,[\"callback\"]);s.label({fields:\"absolute\"===o?[d,a]:[h,a],callback:l,cfg:Object(c[\"A\"])(u)})}else s.label(!1);return t}function C(t){var e=t.chart,n=t.options,r=n.tooltip,o=n.xField,a=n.yField;if(!1!==r){e.tooltip(Object(i[\"a\"])({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[a]},r));var s=e.geometries[0];(null===r||void 0===r?void 0:r.formatter)?s.tooltip(o+\"*\"+a,r.formatter):s.tooltip(a)}else e.tooltip(!1);return t}function M(t){return Object(c[\"g\"])(x,a[\"k\"],O,w,j,S,C,_,a[\"j\"],a[\"c\"],a[\"a\"],Object(a[\"b\"])())(t)}Object(g[\"p\"])(\"interval\",\"waterfall\",{draw:function(t,e){var n=t.customInfo,r=t.points,a=t.nextPoints,s=e.addGroup(),l=this.parsePath(y(r)),c=v(t);s.addShape(\"path\",{attrs:Object(i[\"a\"])(Object(i[\"a\"])({},c),{path:l})});var u=Object(o[\"s\"])(n,\"leaderLine\");if(u&&a){var h=[[\"M\",r[2].x,r[2].y],[\"L\",a[0].x,a[0].y]];r[2].y===a[1].y&&(h[1]=[\"L\",a[1].x,a[1].y]),h=this.parsePath(h),s.addShape(\"path\",{attrs:Object(i[\"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(i[\"c\"])(e,t),e.getDefaultOptions=function(){return f},e.prototype.changeData=function(t){var e=this.options,n=e.xField,i=e.yField,r=e.total;this.updateOption({data:t}),this.chart.changeData(b(t,n,i,r))},e.prototype.getSchemaAdaptor=function(){return M},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()}})(r[\"b\"])},\"14f3\":function(t,e,n){\"use strict\";e[\"a\"]=function(t,e,n,i,r){var o,a=t.children,s=-1,l=a.length,c=t.value&&(i-e)/t.value;while(++s=i&&t<=r}n.d(e,\"b\",(function(){return i})),n.d(e,\"a\",(function(){return r}))},\"1d73\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return p}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"c34d\"),a=n(\"b4aa\"),s=n(\"62e3\"),l=n(\"b2a0\"),c=n(\"849a\");function u(t){var e=t.chart,n=t.options,o=n.data,c=n.areaStyle,u=n.color,h=n.point,d=n.line,p=n.isPercent,f=n.xField,g=n.yField,y=n.tooltip,v=n.seriesField,m=n.startOnZero,b=null===h||void 0===h?void 0:h.state,x=Object(l[\"a\"])(o,g,f,g,p);e.data(x);var O=p?Object(i[\"a\"])({formatter:function(t){return{name:t[v]||t[f],value:(100*Number(t[g])).toFixed(2)+\"%\"}}},y):y,w=Object(s[\"d\"])({},t,{options:{area:{color:u,style:c},point:h&&Object(i[\"a\"])({color:u},h),tooltip:O,label:void 0,args:{startOnZero:m}}}),j={chart:e,options:Object(s[\"d\"])({line:{size:2}},Object(r[\"gb\"])(n,[\"state\"]),{line:d&&Object(i[\"a\"])({color:u},d),sizeField:v,state:null===d||void 0===d?void 0:d.state,tooltip:!1,label:void 0,args:{startOnZero:m}})},S=Object(s[\"d\"])({},w,{options:{tooltip:!1,state:b}});return Object(a[\"a\"])(w),Object(a[\"d\"])(j),Object(a[\"e\"])(S),t}function h(t){var e=t.chart,n=t.options,r=n.label,o=n.yField,a=Object(s[\"e\"])(e,\"area\");if(r){var l=r.callback,c=Object(i[\"f\"])(r,[\"callback\"]);a.label({fields:[o],callback:l,cfg:Object(i[\"a\"])({layout:[{type:\"limit-in-plot\"},{type:\"path-adjust-position\"},{type:\"point-adjust-position\"},{type:\"limit-in-plot\",cfg:{action:\"hide\"}}]},Object(s[\"A\"])(c))})}else a.label(!1);return t}function d(t){var e=t.chart,n=t.options,i=n.isStack,o=n.isPercent,a=n.seriesField;return(o||i)&&a&&Object(r[\"j\"])(e.geometries,(function(t){t.adjust(\"stack\")})),t}function p(t){return Object(s[\"g\"])(o[\"k\"],Object(o[\"f\"])(\"areaStyle\"),Object(o[\"m\"])(\"rect\"),u,c[\"d\"],d,c[\"b\"],c[\"c\"],o[\"l\"],h,o[\"i\"],Object(o[\"b\"])(),o[\"c\"],o[\"a\"],o[\"e\"])(t)}n.d(e,\"b\",(function(){return c[\"d\"]}))},\"20e7\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i})),n.d(e,\"b\",(function(){return B})),n.d(e,\"c\",(function(){return F}));var i={};n.r(i),n.d(i,\"create\",(function(){return o})),n.d(i,\"fromMat4\",(function(){return a})),n.d(i,\"clone\",(function(){return s})),n.d(i,\"copy\",(function(){return l})),n.d(i,\"fromValues\",(function(){return c})),n.d(i,\"set\",(function(){return u})),n.d(i,\"identity\",(function(){return h})),n.d(i,\"transpose\",(function(){return d})),n.d(i,\"invert\",(function(){return p})),n.d(i,\"adjoint\",(function(){return f})),n.d(i,\"determinant\",(function(){return g})),n.d(i,\"multiply\",(function(){return y})),n.d(i,\"translate\",(function(){return v})),n.d(i,\"rotate\",(function(){return m})),n.d(i,\"scale\",(function(){return b})),n.d(i,\"fromTranslation\",(function(){return x})),n.d(i,\"fromRotation\",(function(){return O})),n.d(i,\"fromScaling\",(function(){return w})),n.d(i,\"fromMat2d\",(function(){return j})),n.d(i,\"fromQuat\",(function(){return S})),n.d(i,\"normalFromMat4\",(function(){return _})),n.d(i,\"projection\",(function(){return C})),n.d(i,\"str\",(function(){return M})),n.d(i,\"frob\",(function(){return A})),n.d(i,\"add\",(function(){return k})),n.d(i,\"subtract\",(function(){return I})),n.d(i,\"multiplyScalar\",(function(){return T})),n.d(i,\"multiplyScalarAndAdd\",(function(){return D})),n.d(i,\"exactEquals\",(function(){return P})),n.d(i,\"equals\",(function(){return L})),n.d(i,\"mul\",(function(){return R})),n.d(i,\"sub\",(function(){return E}));var r=n(\"c94d\");function o(){var t=new r[\"a\"](9);return r[\"a\"]!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function s(t){var e=new r[\"a\"](9);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e}function l(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t}function c(t,e,n,i,o,a,s,l,c){var u=new r[\"a\"](9);return u[0]=t,u[1]=e,u[2]=n,u[3]=i,u[4]=o,u[5]=a,u[6]=s,u[7]=l,u[8]=c,u}function u(t,e,n,i,r,o,a,s,l,c){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t[4]=o,t[5]=a,t[6]=s,t[7]=l,t[8]=c,t}function h(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function d(t,e){if(t===e){var n=e[1],i=e[2],r=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=i,t[7]=r}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function p(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8],h=u*a-s*c,d=-u*o+s*l,p=c*o-a*l,f=n*h+i*d+r*p;return f?(f=1/f,t[0]=h*f,t[1]=(-u*i+r*c)*f,t[2]=(s*i-r*a)*f,t[3]=d*f,t[4]=(u*n-r*l)*f,t[5]=(-s*n+r*o)*f,t[6]=p*f,t[7]=(-c*n+i*l)*f,t[8]=(a*n-i*o)*f,t):null}function f(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8];return t[0]=a*u-s*c,t[1]=r*c-i*u,t[2]=i*s-r*a,t[3]=s*l-o*u,t[4]=n*u-r*l,t[5]=r*o-n*s,t[6]=o*c-a*l,t[7]=i*l-n*c,t[8]=n*a-i*o,t}function g(t){var e=t[0],n=t[1],i=t[2],r=t[3],o=t[4],a=t[5],s=t[6],l=t[7],c=t[8];return e*(c*o-a*l)+n*(-c*r+a*s)+i*(l*r-o*s)}function y(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],c=e[6],u=e[7],h=e[8],d=n[0],p=n[1],f=n[2],g=n[3],y=n[4],v=n[5],m=n[6],b=n[7],x=n[8];return t[0]=d*i+p*a+f*c,t[1]=d*r+p*s+f*u,t[2]=d*o+p*l+f*h,t[3]=g*i+y*a+v*c,t[4]=g*r+y*s+v*u,t[5]=g*o+y*l+v*h,t[6]=m*i+b*a+x*c,t[7]=m*r+b*s+x*u,t[8]=m*o+b*l+x*h,t}function v(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],c=e[6],u=e[7],h=e[8],d=n[0],p=n[1];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t[6]=d*i+p*a+c,t[7]=d*r+p*s+u,t[8]=d*o+p*l+h,t}function m(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],c=e[6],u=e[7],h=e[8],d=Math.sin(n),p=Math.cos(n);return t[0]=p*i+d*a,t[1]=p*r+d*s,t[2]=p*o+d*l,t[3]=p*a-d*i,t[4]=p*s-d*r,t[5]=p*l-d*o,t[6]=c,t[7]=u,t[8]=h,t}function b(t,e,n){var i=n[0],r=n[1];return t[0]=i*e[0],t[1]=i*e[1],t[2]=i*e[2],t[3]=r*e[3],t[4]=r*e[4],t[5]=r*e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t}function x(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t}function O(t,e){var n=Math.sin(e),i=Math.cos(e);return t[0]=i,t[1]=n,t[2]=0,t[3]=-n,t[4]=i,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function w(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function j(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t}function S(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=n+n,s=i+i,l=r+r,c=n*a,u=i*a,h=i*s,d=r*a,p=r*s,f=r*l,g=o*a,y=o*s,v=o*l;return t[0]=1-h-f,t[3]=u-v,t[6]=d+y,t[1]=u+v,t[4]=1-c-f,t[7]=p-g,t[2]=d-y,t[5]=p+g,t[8]=1-c-h,t}function _(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8],h=e[9],d=e[10],p=e[11],f=e[12],g=e[13],y=e[14],v=e[15],m=n*s-i*a,b=n*l-r*a,x=n*c-o*a,O=i*l-r*s,w=i*c-o*s,j=r*c-o*l,S=u*g-h*f,_=u*y-d*f,C=u*v-p*f,M=h*y-d*g,A=h*v-p*g,k=d*v-p*y,I=m*k-b*A+x*M+O*C-w*_+j*S;return I?(I=1/I,t[0]=(s*k-l*A+c*M)*I,t[1]=(l*C-a*k-c*_)*I,t[2]=(a*A-s*C+c*S)*I,t[3]=(r*A-i*k-o*M)*I,t[4]=(n*k-r*C+o*_)*I,t[5]=(i*C-n*A-o*S)*I,t[6]=(g*j-y*w+v*O)*I,t[7]=(y*x-f*j-v*b)*I,t[8]=(f*w-g*x+v*m)*I,t):null}function C(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t}function M(t){return\"mat3(\"+t[0]+\", \"+t[1]+\", \"+t[2]+\", \"+t[3]+\", \"+t[4]+\", \"+t[5]+\", \"+t[6]+\", \"+t[7]+\", \"+t[8]+\")\"}function A(t){return Math.hypot(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])}function k(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t}function I(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t}function T(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t}function D(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t[2]=e[2]+n[2]*i,t[3]=e[3]+n[3]*i,t[4]=e[4]+n[4]*i,t[5]=e[5]+n[5]*i,t[6]=e[6]+n[6]*i,t[7]=e[7]+n[7]*i,t[8]=e[8]+n[8]*i,t}function P(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]}function L(t,e){var n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],c=t[6],u=t[7],h=t[8],d=e[0],p=e[1],f=e[2],g=e[3],y=e[4],v=e[5],m=e[6],b=e[7],x=e[8];return Math.abs(n-d)<=r[\"b\"]*Math.max(1,Math.abs(n),Math.abs(d))&&Math.abs(i-p)<=r[\"b\"]*Math.max(1,Math.abs(i),Math.abs(p))&&Math.abs(o-f)<=r[\"b\"]*Math.max(1,Math.abs(o),Math.abs(f))&&Math.abs(a-g)<=r[\"b\"]*Math.max(1,Math.abs(a),Math.abs(g))&&Math.abs(s-y)<=r[\"b\"]*Math.max(1,Math.abs(s),Math.abs(y))&&Math.abs(l-v)<=r[\"b\"]*Math.max(1,Math.abs(l),Math.abs(v))&&Math.abs(c-m)<=r[\"b\"]*Math.max(1,Math.abs(c),Math.abs(m))&&Math.abs(u-b)<=r[\"b\"]*Math.max(1,Math.abs(u),Math.abs(b))&&Math.abs(h-x)<=r[\"b\"]*Math.max(1,Math.abs(h),Math.abs(x))}var R=y,E=I,B=n(\"6711\"),F=n(\"9fe7\")},\"21e5\":function(t,e,n){\"use strict\";function i(t){return null==t?null:r(t)}function r(t){if(\"function\"!==typeof t)throw new Error;return t}n.d(e,\"a\",(function(){return i})),n.d(e,\"b\",(function(){return r}))},\"22d1\":function(t,e,n){\"use strict\";var i=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),r=function(){function t(){this.browser=new i,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=\"undefined\"!==typeof window}return t}(),o=new r;function a(t,e){var n=e.browser,i=t.match(/Firefox\\/([\\d.]+)/),r=t.match(/MSIE\\s([\\d.]+)/)||t.match(/Trident\\/.+?rv:(([\\d.]+))/),o=t.match(/Edge?\\/([\\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(\".\")[0]>18),a&&(n.weChat=!0),e.svgSupported=\"undefined\"!==typeof SVGRect,e.touchEventsSupported=\"ontouchstart\"in window&&!n.ie&&!n.edge,e.pointerEventsSupported=\"onpointerdown\"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported=\"undefined\"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&\"transition\"in s||n.edge||\"WebKitCSSMatrix\"in window&&\"m11\"in new WebKitCSSMatrix||\"MozPerspective\"in s)&&!(\"OTransition\"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}\"object\"===typeof wx&&\"function\"===typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):\"undefined\"===typeof document&&\"undefined\"!==typeof self?o.worker=!0:\"undefined\"===typeof navigator?(o.node=!0,o.svgSupported=!0):a(navigator.userAgent,o),e[\"a\"]=o},\"22f9\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i})),n.d(e,\"b\",(function(){return r}));var i={rect:\"path\",circle:\"circle\",line:\"line\",path:\"path\",marker:\"path\",text:\"text\",polyline:\"polyline\",polygon:\"polygon\",image:\"image\",ellipse:\"ellipse\",dom:\"foreignObject\"},r={opacity:\"opacity\",fillStyle:\"fill\",fill:\"fill\",fillOpacity:\"fill-opacity\",strokeStyle:\"stroke\",strokeOpacity:\"stroke-opacity\",stroke:\"stroke\",x:\"x\",y:\"y\",r:\"r\",rx:\"rx\",ry:\"ry\",width:\"width\",height:\"height\",x1:\"x1\",x2:\"x2\",y1:\"y1\",y2:\"y2\",lineCap:\"stroke-linecap\",lineJoin:\"stroke-linejoin\",lineWidth:\"stroke-width\",lineDash:\"stroke-dasharray\",lineDashOffset:\"stroke-dashoffset\",miterLimit:\"stroke-miterlimit\",font:\"font\",fontSize:\"font-size\",fontStyle:\"font-style\",fontVariant:\"font-variant\",fontWeight:\"font-weight\",fontFamily:\"font-family\",startArrow:\"marker-start\",endArrow:\"marker-end\",path:\"d\",class:\"class\",id:\"id\",style:\"style\",preserveAspectRatio:\"preserveAspectRatio\"}},2373:function(t,e,n){\"use strict\";var i=n(\"5be2\"),r=n(\"21e5\"),o=n(\"092b\");function a(t){return Math.sqrt(t.value)}function s(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function l(t,e){return function(n){if(r=n.children){var r,o,a,s=r.length,l=t(n)*e||0;if(l)for(o=0;of&&(f=c),m=d*d*v,g=Math.max(f/m,m/p),g>y){d-=c;break}y=g}b.push(l={value:d,dice:u1?e:1)},n}(o)},\"23b9\":function(t,e,n){\"use strict\";n.d(e,\"c\",(function(){return r})),n.d(e,\"a\",(function(){return o})),n.d(e,\"b\",(function(){return a})),n.d(e,\"e\",(function(){return l})),n.d(e,\"d\",(function(){return c}));var i=n(\"8937\"),r=\"nodeIndex\",o=\"childNodeCount\",a=\"nodeAncestor\",s=\"Invalid field: it must be a string!\";function l(t,e){var n=t.field,r=t.fields;if(Object(i[\"Q\"])(n))return n;if(Object(i[\"C\"])(n))return n[0];if(Object(i[\"Q\"])(r))return r;if(Object(i[\"C\"])(r)&&r.length)return r[0];if(e)return e;throw new TypeError(s)}function c(t){var e,n,s=[];t&&t.each?t.each((function(t){var l,c;t.parent!==e?(e=t.parent,n=0):n+=1;var u=Object(i[\"l\"])(((null===(l=t.ancestors)||void 0===l?void 0:l.call(t))||[]).map((function(t){return s.find((function(e){return e.name===t.name}))||t})),(function(e){var n=e.depth;return n>0&&n0)throw\"Initial bisect points must have opposite signs\";if(0===a)return e;if(0===s)return n;for(var c=0;c=0&&(e=u),Math.abs(l)=g[f-1].fx){var A=!1;if(O.fx>M.fx?(s(w,1+d,x,-d,M),w.fx=t(w),w.fx=1)break;for(y=1;yc+a*o*u||h>=g)f=o;else{if(Math.abs(p)<=-l*u)return o;p*(f-d)>=0&&(f=d),d=o,g=h}return 0}o=o||1,a=a||1e-6,l=l||.1;for(var y=0;y<10;++y){if(s(i.x,1,n.x,o,e),h=i.fx=t(i.x,i.fxprime),p=r(i.fxprime,e),h>c+a*o*u||y&&h>=d)return g(f,o,d);if(Math.abs(p)<=-l*u)return o;if(p>=0)return g(o,f,h);d=h,f=o,o*=2}return o}function u(t,e,n){var i,l,u,h={x:e.slice(),fx:0,fxprime:e.slice()},d={x:e.slice(),fx:0,fxprime:e.slice()},p=e.slice(),f=1;n=n||{},u=n.maxIterations||20*e.length,h.fx=t(h.x,h.fxprime),i=h.fxprime.slice(),a(i,h.fxprime,-1);for(var g=0;g>1)%2;s.cssText=[\"position: absolute\",\"visibility: hidden\",\"padding: 0\",\"margin: 0\",\"border-width: 0\",\"user-select: none\",\"width:0\",\"height:0\",i[l]+\":0\",r[c]+\":0\",i[1-l]+\":auto\",r[1-c]+\":auto\",\"\"].join(\"!important;\"),t.appendChild(a),n.push(a)}return n}function z(t,e,n){for(var i=n?\"invTrans\":\"trans\",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,c=0;c<4;c++){var u=t[c].getBoundingClientRect(),h=2*c,d=u.left,p=u.top;a.push(d,p),l=l&&o&&d===o[h]&&p===o[h+1],s.push(t[c].offsetLeft,t[c].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?L(s,a):L(a,s))}function V(t){return\"CANVAS\"===t.nodeName.toUpperCase()}var G=/([&<>\"'])/g,H={\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\"};function W(t){return null==t?\"\":(t+\"\").replace(G,(function(t,e){return H[e]}))}var X=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Y=[],q=a[\"a\"].browser.firefox&&+a[\"a\"].browser.version.split(\".\")[0]<39;function U(t,e,n,i){return n=n||{},i?Z(t,e,n):q&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Z(t,e,n),n}function Z(t,e,n){if(a[\"a\"].domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(V(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(F(Y,t,i,r))return n.zrX=Y[0],void(n.zrY=Y[1])}n.zrX=n.zrY=0}function K(t){return t||window.event}function Q(t,e,n){if(e=K(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf(\"touch\")>=0;if(r){var o=\"touchend\"!==i?e.targetTouches[0]:e.changedTouches[0];o&&U(t,o,e,n)}else{U(t,e,e,n);var a=J(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&X.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function J(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;var r=0!==i?Math.abs(i):Math.abs(n),o=i>0?-1:i<0?1:n>0?-1:1;return 3*r*o}function $(t,e,n,i){t.addEventListener(e,n,i)}function tt(t,e,n,i){t.removeEventListener(e,n,i)}var et=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function nt(t){return 2===t.which||3===t.which}var it=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&i&&i.length>1){var o=rt(i)/rt(r);!isFinite(o)&&(o=1),e.pinchScale=o;var a=ot(i);return e.pinchX=a[0],e.pinchY=a[1],{type:\"pinch\",target:t[0].target,event:e}}}}};function st(){return[1,0,0,1,0,0]}function lt(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function ct(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ut(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function ht(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function dt(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],c=Math.sin(n),u=Math.cos(n);return t[0]=i*u+a*c,t[1]=-i*c+a*u,t[2]=r*u+s*c,t[3]=-r*c+u*s,t[4]=u*o+c*l,t[5]=u*l-c*o,t}function pt(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function ft(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function gt(t){var e=st();return ct(e,t),e}var yt=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),vt=yt,mt=Math.min,bt=Math.max,xt=new vt,Ot=new vt,wt=new vt,jt=new vt,St=new vt,_t=new vt,Ct=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=mt(t.x,this.x),n=mt(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=bt(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=bt(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=st();return ht(r,r,[-e.x,-e.y]),pt(r,r,[n,i]),ht(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,c=e.x+e.width,u=e.y,h=e.y+e.height,d=!(of&&(f=b,gf&&(f=x,v=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}xt.x=wt.x=n.x,xt.y=jt.y=n.y,Ot.x=jt.x=n.x+n.width,Ot.y=wt.y=n.y+n.height,xt.transform(i),jt.transform(i),Ot.transform(i),wt.transform(i),e.x=mt(xt.x,Ot.x,wt.x,jt.x),e.y=mt(xt.y,Ot.y,wt.y,jt.y);var l=bt(xt.x,Ot.x,wt.x,jt.x),c=bt(xt.y,Ot.y,wt.y,jt.y);e.width=l-e.x,e.height=c-e.y}else e!==n&&t.copy(e,n)},t}(),Mt=Ct,At=\"silent\";function kt(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:It}}function It(){et(this.event)}var Tt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return Object(o[\"c\"])(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(T),Dt=function(){function t(t,e){this.x=t,this.y=e}return t}(),Pt=[\"click\",\"dblclick\",\"mousewheel\",\"mouseout\",\"mouseup\",\"mousedown\",\"mousemove\",\"contextmenu\"],Lt=new Mt(0,0,0,0),Rt=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Dt(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Tt,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new k(a),a}return Object(o[\"c\"])(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(s[\"k\"](Pt,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=Ft(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(r=this.findHover(r.x,r.y),o=r.target);var a=this._hovered=i?new Dt(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:\"default\"),o&&s!==o&&this.dispatchToElement(r,\"mouseout\",t),this.dispatchToElement(a,\"mousemove\",t),s&&s!==o&&this.dispatchToElement(a,\"mouseover\",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;\"only_globalout\"!==e&&this.dispatchToElement(this._hovered,\"mouseout\",t),\"no_globalout\"!==e&&this.trigger(\"globalout\",{type:\"globalout\",event:t})},e.prototype.resize=function(){this._hovered=new Dt(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){var r=\"on\"+e,o=kt(e,t,n);while(i)if(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){\"function\"===typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Dt(t,e);if(Bt(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Mt(t-s,e-s,a,a),c=i.length-1;c>=0;c--){var u=i[c];u===n||u.ignore||u.ignoreCoarsePointer||u.parent&&u.parent.ignoreCoarsePointer||(Lt.copy(u.getBoundingRect()),u.transform&&Lt.applyTransform(u.transform),Lt.intersect(l)&&o.push(u))}if(o.length)for(var h=4,d=Math.PI/12,p=2*Math.PI,f=0;f=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Et(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==At)){e.target=a;break}}}function Ft(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}s[\"k\"]([\"click\",\"mousedown\",\"mouseup\",\"mousewheel\",\"dblclick\",\"contextmenu\"],(function(t){Rt.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Ft(this,r,o);if(\"mouseup\"===t&&a||(n=this.findHover(r,o),i=n.target),\"mousedown\"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if(\"mouseup\"===t)this._upEl=i;else if(\"click\"===t){if(this._downEl!==this._upEl||!this._downPoint||x(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var Nt=Rt,zt=32,Vt=7;function Gt(t){var e=0;while(t>=zt)e|=1&t,t>>=1;return t+e}function Ht(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r=0)r++;return r-e}function Wt(t,e,n){n--;while(e>>1,r(a,t[o])<0?l=o:s=o+1;var c=i-s;switch(c){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(c>0)t[s+c]=t[s+c-1],c--}t[s]=a}}function Yt(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){s=i-r;while(l0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{s=r+1;while(ls&&(l=s);var c=a;a=r-l,l=r-c}a++;while(a>>1);o(t,e[n+u])>0?a=u+1:l=u}return l}function qt(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){s=r+1;while(ls&&(l=s);var c=a;a=r-l,l=r-c}else{s=i-r;while(l=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}a++;while(a>>1);o(t,e[n+u])<0?l=u:a=u+1}return l}function Ut(t,e){var n,i,r=Vt,o=0,a=0;o=t.length;var s=[];function l(t,e){n[a]=t,i[a]=e,a+=1}function c(){while(a>1){var t=a-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;h(t)}}function u(){while(a>1){var t=a-2;t>0&&i[t-1]=Vt||p>=Vt);if(f)break;g<0&&(g=0),g+=2}if(r=g,r<1&&(r=1),1===i){for(l=0;l=0;l--)t[p+l]=t[d+l];if(0===i){v=!0;break}}if(t[h--]=s[u--],1===--a){v=!0;break}if(y=a-Yt(t[c],s,0,a,a-1,e),0!==y){for(h-=y,u-=y,a-=y,p=h+1,d=u+1,l=0;l=Vt||y>=Vt);if(v)break;f<0&&(f=0),f+=2}if(r=f,r<1&&(r=1),1===a){for(h-=i,c-=i,p=h+1,d=c+1,l=i-1;l>=0;l--)t[p+l]=t[d+l];t[h]=s[u]}else{if(0===a)throw new Error;for(d=h-(a-1),l=0;l=0;l--)t[p+l]=t[d+l];t[h]=s[u]}else for(d=h-(a-1),l=0;ls&&(l=s),Xt(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}var Kt=1,Qt=2,Jt=4,$t=!1;function te(){$t||($t=!0)}function ee(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var ne,ie=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=ee}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(c.__clipPaths=[]),isNaN(c.z)&&(te(),c.z=0),isNaN(c.z2)&&(te(),c.z2=0),isNaN(c.zlevel)&&(te(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),re=ie;ne=a[\"a\"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var oe=ne,ae={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-ae.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*ae.bounceIn(2*t):.5*ae.bounceOut(2*t-1)+.5}},se=ae,le=Math.pow,ce=Math.sqrt,ue=1e-8,he=1e-4,de=ce(3),pe=1/3,fe=l(),ge=l(),ye=l();function ve(t){return t>-ue&&tue||t<-ue}function be(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function xe(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function Oe(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),c=t-r,u=s*s-3*a*l,h=s*l-9*a*c,d=l*l-3*s*c,p=0;if(ve(u)&&ve(h))if(ve(s))o[0]=0;else{var f=-l/s;f>=0&&f<=1&&(o[p++]=f)}else{var g=h*h-4*u*d;if(ve(g)){var y=h/u,v=(f=-s/a+y,-y/2);f>=0&&f<=1&&(o[p++]=f),v>=0&&v<=1&&(o[p++]=v)}else if(g>0){var m=ce(g),b=u*s+1.5*a*(-h+m),x=u*s+1.5*a*(-h-m);b=b<0?-le(-b,pe):le(b,pe),x=x<0?-le(-x,pe):le(x,pe);f=(-s-(b+x))/(3*a);f>=0&&f<=1&&(o[p++]=f)}else{var O=(2*u*s-3*a*h)/(2*ce(u*u*u)),w=Math.acos(O)/3,j=ce(u),S=Math.cos(w),_=(f=(-s-2*j*S)/(3*a),v=(-s+j*(S+de*Math.sin(w)))/(3*a),(-s+j*(S-de*Math.sin(w)))/(3*a));f>=0&&f<=1&&(o[p++]=f),v>=0&&v<=1&&(o[p++]=v),_>=0&&_<=1&&(o[p++]=_)}}return p}function we(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(ve(a)){if(me(o)){var c=-s/o;c>=0&&c<=1&&(r[l++]=c)}}else{var u=o*o-4*a*s;if(ve(u))r[0]=-o/(2*a);else if(u>0){var h=ce(u),d=(c=(-o+h)/(2*a),(-o-h)/(2*a));c>=0&&c<=1&&(r[l++]=c),d>=0&&d<=1&&(r[l++]=d)}}return l}function je(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,c=(s-a)*r+a,u=(l-s)*r+s,h=(u-c)*r+c;o[0]=t,o[1]=a,o[2]=c,o[3]=h,o[4]=h,o[5]=u,o[6]=l,o[7]=i}function Se(t,e,n,i,r,o,a,s,l,c,u){var h,d,p,f,g,y=.005,v=1/0;fe[0]=l,fe[1]=c;for(var m=0;m<1;m+=.05)ge[0]=be(t,n,r,a,m),ge[1]=be(e,i,o,s,m),f=w(fe,ge),f=0&&f=0&&c<=1&&(r[l++]=c)}}else{var u=a*a-4*o*s;if(ve(u)){c=-a/(2*o);c>=0&&c<=1&&(r[l++]=c)}else if(u>0){var h=ce(u),d=(c=(-a+h)/(2*o),(-a-h)/(2*o));c>=0&&c<=1&&(r[l++]=c),d>=0&&d<=1&&(r[l++]=d)}}return l}function ke(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function Ie(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function Te(t,e,n,i,r,o,a,s,l){var c,u=.005,h=1/0;fe[0]=a,fe[1]=s;for(var d=0;d<1;d+=.05){ge[0]=Ce(t,n,r,d),ge[1]=Ce(e,i,o,d);var p=w(fe,ge);p=0&&p=1?1:Oe(0,i,o,1,t,l)&&be(0,r,a,1,l[0])}}}var Re=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||s[\"L\"],this.ondestroy=t.ondestroy||s[\"L\"],this.onrestart=t.onrestart||s[\"L\"],t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Object(s[\"w\"])(t)?t:se[t]||Le(t)},t}(),Ee=Re,Be=n(\"41ef\"),Fe=n(\"7a29\"),Ne=Array.prototype.slice;function ze(t,e,n){return(e-t)*n+t}function Ve(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa;if(s)i.length=a;else for(var l=o;l=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=nn,l=e;if(Object(s[\"u\"])(e)){var c=Ze(e);a=c,(1===c&&!Object(s[\"z\"])(e[0])||2===c&&!Object(s[\"z\"])(e[0][0]))&&(o=!0)}else if(Object(s[\"z\"])(e)&&!Object(s[\"l\"])(e))a=Ke;else if(Object(s[\"C\"])(e))if(isNaN(+e)){var u=Be[\"g\"](e);u&&(l=u,a=$e)}else a=Ke;else if(Object(s[\"x\"])(e)){var h=Object(s[\"m\"])({},l);h.colorStops=Object(s[\"H\"])(e.colorStops,(function(t){return{offset:t.offset,color:Be[\"g\"](t.color)}})),Object(Fe[\"m\"])(e)?a=tn:Object(Fe[\"o\"])(e)&&(a=en),l=h}0===r?this.valType=a:a===this.valType&&a!==nn||(o=!0),this.discrete=this.discrete||o;var d={time:t,value:l,rawValue:e,percent:0};return n&&(d.easing=n,d.easingFunc=Object(s[\"w\"])(n)?n:se[n]||Le(n)),i.push(d),d},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=on(i),l=rn(i),c=0;c=0;n--)if(c[n].percent<=e)break;n=f(n,u-2)}else{for(n=p;ne)break;n=f(n-1,u-2)}r=c[n+1],i=c[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var y=r.percent-i.percent,v=0===y?1:f((e-i.percent)/y,1);r.easingFunc&&(v=r.easingFunc(v));var m=o?this._additiveValue:d?an:t[h];if(!on(l)&&!d||m||(m=this._additiveValue=[]),this.discrete)t[h]=v<1?i.rawValue:r.rawValue;else if(on(l))l===Qe?Ve(m,i[a],r[a],v):Ge(m,i[a],r[a],v);else if(rn(l)){var b=i[a],x=r[a],O=l===tn;t[h]={type:O?\"linear\":\"radial\",x:ze(b.x,x.x,v),y:ze(b.y,x.y,v),colorStops:Object(s[\"H\"])(b.colorStops,(function(t,e){var n=x.colorStops[e];return{offset:ze(t.offset,n.offset,v),color:Ue(Ve([],t.color,n.color,v))}})),global:x.global},O?(t[h].x2=ze(b.x2,x.x2,v),t[h].y2=ze(b.y2,x.y2,v)):t[h].r=ze(b.r,x.r,v)}else if(d)Ve(m,i[a],r[a],v),o||(t[h]=Ue(m));else{var w=ze(i[a],r[a],v);o?this._additiveValue=w:t[h]=w}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;e===Ke?t[n]=t[n]+i:e===$e?(Be[\"g\"](t[n],an),He(an,an,i,1),t[n]=Ue(an)):e===Qe?He(t[n],t[n],i,1):e===Je&&We(t[n],t[n],i,1)},t}(),ln=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?Object(s[\"G\"])(\"Can' use additive animation on looped animation.\"):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,Object(s[\"F\"])(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o0&&s.addKeyframe(0,qe(l),i),this._trackKeys.push(a)}s.addKeyframe(t,qe(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}(),cn=ln;function un(){return(new Date).getTime()}var hn=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return Object(o[\"c\"])(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=un()-this._pausedTime,n=e-this._time,i=this._head;while(i){var r=i.next,o=i.step(e,n);o?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger(\"frame\",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(oe(e),!t._paused&&t.update())}this._running=!0,oe(e)},e.prototype.start=function(){this._running||(this._time=un(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=un(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=un()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new cn(t,e.loop);return this.addAnimator(n),n},e}(T),dn=hn,pn=300,fn=a[\"a\"].domSupported,gn=function(){var t=[\"click\",\"dblclick\",\"mousewheel\",\"wheel\",\"mouseout\",\"mouseup\",\"mousedown\",\"mousemove\",\"contextmenu\"],e=[\"touchstart\",\"touchend\",\"touchmove\"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=s[\"H\"](t,(function(t){var e=t.replace(\"mouse\",\"pointer\");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),yn={mouse:[\"mousemove\",\"mouseup\"],pointer:[\"pointermove\",\"pointerup\"]},vn=!1;function mn(t){var e=t.pointerType;return\"pen\"===e||\"touch\"===e}function bn(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function xn(t){t&&(t.zrByTouch=!0)}function On(t,e){return Q(t.dom,new jn(t,e),!0)}function wn(t,e){var n=e,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return i}var jn=function(){function t(t,e){this.stopPropagation=s[\"L\"],this.stopImmediatePropagation=s[\"L\"],this.preventDefault=s[\"L\"],this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),Sn={mousedown:function(t){t=Q(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger(\"mousedown\",t)},mousemove:function(t){t=Q(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger(\"mousemove\",t)},mouseup:function(t){t=Q(this.dom,t),this.__togglePointerCapture(!1),this.trigger(\"mouseup\",t)},mouseout:function(t){t=Q(this.dom,t);var e=t.toElement||t.relatedTarget;wn(this,e)||(this.__pointerCapturing&&(t.zrEventControl=\"no_globalout\"),this.trigger(\"mouseout\",t))},wheel:function(t){vn=!0,t=Q(this.dom,t),this.trigger(\"mousewheel\",t)},mousewheel:function(t){vn||(t=Q(this.dom,t),this.trigger(\"mousewheel\",t))},touchstart:function(t){t=Q(this.dom,t),xn(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,\"start\"),Sn.mousemove.call(this,t),Sn.mousedown.call(this,t)},touchmove:function(t){t=Q(this.dom,t),xn(t),this.handler.processGesture(t,\"change\"),Sn.mousemove.call(this,t)},touchend:function(t){t=Q(this.dom,t),xn(t),this.handler.processGesture(t,\"end\"),Sn.mouseup.call(this,t),+new Date-+this.__lastTouchMomentzn||t<-zn}var Gn=[],Hn=[],Wn=st(),Xn=Math.abs,Yn=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return Vn(this.rotation)||Vn(this.x)||Vn(this.y)||Vn(this.scaleX-1)||Vn(this.scaleY-1)||Vn(this.skewX)||Vn(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||st(),e?this.getLocalTransform(n):Nn(n),t&&(e?ut(n,t,n):ct(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&Nn(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(Gn);var n=Gn[0]<0?-1:1,i=Gn[1]<0?-1:1,r=((Gn[0]-n)*e+n)/Gn[0]||0,o=((Gn[1]-i)*e+i)/Gn[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||st(),ft(this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(ut(Hn,t.invTransform,e),e=Hn);var n=this.originX,i=this.originY;(n||i)&&(Wn[4]=n,Wn[5]=i,ut(Hn,e,Wn),Hn[4]-=n,Hn[5]-=i,e=Hn),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&S(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&S(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&Xn(t[0]-1)>1e-10&&Xn(t[3]-1)>1e-10?Math.sqrt(Xn(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Un(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,c=t.x,u=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var p=n+a,f=i+s;e[4]=-p*r-h*f*o,e[5]=-f*o-d*p*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=d*r,e[2]=h*o,l&&dt(e,e,l),e[4]+=n+c,e[5]+=i+u,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),qn=[\"x\",\"y\",\"originX\",\"originY\",\"anchorX\",\"anchorY\",\"rotation\",\"scaleX\",\"scaleY\",\"skewX\",\"skewY\"];function Un(t,e){for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function ai(t,e,n){var i=e.position||\"inside\",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,c=n.y,u=\"left\",h=\"top\";if(i instanceof Array)l+=oi(i[0],n.width),c+=oi(i[1],n.height),u=null,h=null;else switch(i){case\"left\":l-=r,c+=s,u=\"right\",h=\"middle\";break;case\"right\":l+=r+a,c+=s,h=\"middle\";break;case\"top\":l+=a/2,c-=r,u=\"center\",h=\"bottom\";break;case\"bottom\":l+=a/2,c+=o+r,u=\"center\";break;case\"inside\":l+=a/2,c+=s,u=\"center\",h=\"middle\";break;case\"insideLeft\":l+=r,c+=s,h=\"middle\";break;case\"insideRight\":l+=a-r,c+=s,u=\"right\",h=\"middle\";break;case\"insideTop\":l+=a/2,c+=r,u=\"center\";break;case\"insideBottom\":l+=a/2,c+=o-r,u=\"center\",h=\"bottom\";break;case\"insideTopLeft\":l+=r,c+=r;break;case\"insideTopRight\":l+=a-r,c+=r,u=\"right\";break;case\"insideBottomLeft\":l+=r,c+=o-r,h=\"bottom\";break;case\"insideBottomRight\":l+=a-r,c+=o-r,u=\"right\",h=\"bottom\";break}return t=t||{},t.x=l,t.y=c,t.align=u,t.verticalAlign=h,t}var si=\"__zr_normal__\",li=qn.concat([\"ignore\"]),ci=Object(s[\"N\"])(qn,(function(t,e){return t[e]=!0,t}),{ignore:!1}),ui={},hi=new Mt(0,0,0,0),di=function(){function t(t){this.id=Object(s[\"p\"])(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case\"horizontal\":e=0;break;case\"vertical\":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var c=hi;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(ui,n,c):ai(ui,n,c),r.x=ui.x,r.y=ui.y,o=ui.align,a=ui.verticalAlign;var u=n.origin;if(u&&null!=n.rotation){var h=void 0,d=void 0;\"center\"===u?(h=.5*c.width,d=.5*c.height):(h=oi(u[0],c.width),d=oi(u[1],c.height)),l=!0,r.originX=-r.x+h+(i?0:c.x),r.originY=-r.y+d+(i?0:c.y)}}null!=n.rotation&&(r.rotation=n.rotation);var p=n.offset;p&&(r.x+=p[0],r.y+=p[1],l||(r.originX=-p[0],r.originY=-p[1]));var f=null==n.inside?\"string\"===typeof n.position&&n.position.indexOf(\"inside\")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;f&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,null!=y&&\"auto\"!==y||(y=this.getInsideTextFill()),null!=v&&\"auto\"!==v||(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,null!=y&&\"auto\"!==y||(y=this.getOutsideFill()),null!=v&&\"auto\"!==v||(v=this.getOutsideStroke(y),m=!0)),y=y||\"#000\",y===g.fill&&v===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=Kt,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return\"#fff\"},t.prototype.getInsideTextStroke=function(t){return\"#000\"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Bn:En},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n=\"string\"===typeof e&&Object(Be[\"g\"])(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,Object(Be[\"h\"])(n,\"rgba\")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){\"textConfig\"===t?this.setTextConfig(e):\"textContent\"===t?this.setTextContent(e):\"clipPath\"===t?this.setClipPath(e):\"extra\"===t?(this.extra=this.extra||{},Object(s[\"m\"])(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if(\"string\"===typeof t)this.attrKV(t,e);else if(Object(s[\"A\"])(t))for(var n=t,i=Object(s[\"F\"])(n),r=0;r0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(si,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===si,o=this.hasState();if(o||!r){var a=this.currentStates,l=this.stateTransition;if(!(Object(s[\"r\"])(a,t)>=0)||!e&&1!==a.length){var c;if(this.stateProxy&&!r&&(c=this.stateProxy(t)),c||(c=this.states&&this.states[t]),c||r){r||this.saveCurrentToNormalState(c);var u=!!(c&&c.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,c,this._normalState,e,!n&&!this.__inHover&&l&&l.duration>0,l);var h=this._textContent,d=this._textGuide;return h&&h.useState(t,e,n,u),d&&d.useState(t,e,n,u),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Kt),c}Object(s[\"G\"])(\"State \"+t+\" not exists.\")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,p);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,h),g&&g.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Kt)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=Object(s[\"r\"])(i,t),o=Object(s[\"r\"])(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var d=0;d0||r.force&&!a.length){var _=void 0,C=void 0,M=void 0;if(l){C={},p&&(_={});for(O=0;O=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=s[\"r\"](this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=s[\"r\"](n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&\"canvas\"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*c+a}function Li(t,e){switch(t){case\"center\":case\"middle\":t=\"50%\";break;case\"left\":case\"top\":t=\"0%\";break;case\"right\":case\"bottom\":t=\"100%\";break}return s[\"C\"](t)?Di(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function Ri(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),Ti),t=(+t).toFixed(e),n?t:+t}function Ei(t){return t.sort((function(t,e){return t-e})),t}function Bi(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return Fi(t)}function Fi(t){var e=t.toString().toLowerCase(),n=e.indexOf(\"e\"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf(\".\"),a=o<0?0:r-1-o;return Math.max(0,a-i)}function Ni(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function zi(t,e){var n=s[\"N\"](t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];var i=Math.pow(10,e),r=s[\"H\"](t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=s[\"H\"](r,(function(t){return Math.floor(t)})),l=s[\"N\"](a,(function(t,e){return t+e}),0),c=s[\"H\"](r,(function(t,e){return t-a[e]}));while(lu&&(u=c[d],h=d);++a[h],c[h]=0,++l}return s[\"H\"](a,(function(t){return t/i}))}function Vi(t,e){var n=Math.max(Bi(t),Bi(e)),i=t+e;return n>Ti?i:Ri(i,n)}var Gi=9007199254740991;function Hi(t){var e=2*Math.PI;return(t%e+e)%e}function Wi(t){return t>-Ii&&t=10&&e++,e}function Zi(t,e){var n,i=Ui(t),r=Math.pow(10,i),o=t/r;return n=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,t=n*r,i>=-20?+t.toFixed(i<0?-i:0):t}function Ki(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function Qi(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0||r&&s[\"r\"](r,l)<0)){var c=n.getShallow(l,e);null!=c&&(o[t[a][0]]=c)}}return o}}var eo=[[\"fill\",\"color\"],[\"shadowBlur\"],[\"shadowOffsetX\"],[\"shadowOffsetY\"],[\"opacity\"],[\"shadowColor\"]],no=to(eo),io=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return no(this,t,e)},t}(),ro=new Kn[\"a\"](50);function oo(t){if(\"string\"===typeof t){var e=ro.get(t);return e&&e.image}return t}function ao(t,e,n,i,r){if(t){if(\"string\"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=ro.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?(e=o.image,!lo(e)&&o.pending.push(a)):(e=Qn[\"d\"].loadImage(t,so,so),e.__zrImageSrc=t,ro.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function so(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;c++)l-=a;var u=$n(n,e);return u>l&&(n=\"\",u=0),l=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=l,r.containerWidth=t,r}function po(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return\"\";var o=$n(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?fo(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;t=t.substr(0,s),o=$n(t,i)}return\"\"===t&&(t=e.placeholder),t}function fo(t,e,n,i){for(var r=0,o=0,a=t.length;of&&h){var g=Math.floor(f/c);n=n.slice(0,g)}if(t&&a&&null!=d)for(var y=ho(d,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v=0;vc&&xo(n,t.substring(c,u),e,l),xo(n,i[2],e,l,i[1]),c=co.lastIndex}co){w>0?(b.tokens=b.tokens.slice(0,w),v(b,O,x),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m);break t}var k=S.width,I=null==k||\"auto\"===k;if(\"string\"===typeof k&&\"%\"===k.charAt(k.length-1))j.percentWidth=k,h.push(j),j.contentWidth=$n(j.text,M);else{if(I){var T=S.backgroundColor,D=T&&T.image;D&&(D=oo(D),lo(D)&&(j.width=Math.max(j.width,D.width*A/D.height)))}var P=g&&null!=r?r-O:null;null!=P&&P0&&f+i.accumWidth>i.width&&(o=e.split(\"\\n\"),h=!0),i.accumWidth=f}else{var g=So(e,u,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+p,a=g.linesWidths,o=g.lines}}else o=e.split(\"\\n\");for(var y=0;y=33&&e<=383}var wo=Object(s[\"N\"])(\",&?/;] \".split(\"\"),(function(t,e){return t[e]=!0,t}),{});function jo(t){return!Oo(t)||!!wo[t]}function So(t,e,n,i,r){for(var o=[],a=[],s=\"\",l=\"\",c=0,u=0,h=0;hn:r+u+p>n)?u?(s||l)&&(f?(s||(s=l,l=\"\",c=0,u=c),o.push(s),a.push(u-c),l+=d,c+=p,s=\"\",u=c):(l&&(s+=l,l=\"\",c=0),o.push(s),a.push(u),s=d,u=p)):f?(o.push(l),a.push(c),l=d,c=p):(o.push(d),a.push(p)):(u+=p,f?(l+=d,c+=p):(l&&(s+=l,l=\"\",c=0),s+=d))}else l&&(s+=l,u+=c),o.push(s),a.push(u),s=\"\",l=\"\",c=0,u=0}return o.length||s||(s=t,l=\"\",c=0),l&&(s+=l),s&&(o.push(s),a.push(u)),1===o.length&&(u+=r),{accumWidth:u,lines:o,linesWidths:a}}var _o=\"__zr_style_\"+Math.round(10*Math.random()),Co={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:\"#000\",opacity:1,blend:\"source-over\"},Mo={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Co[_o]=!0;var Ao=[\"z\",\"z2\",\"invisible\"],ko=[\"invisible\"],Io=function(t){function e(e){return t.call(this,e)||this}return Object(o[\"c\"])(e,t),e.prototype._init=function(e){for(var n=Object(s[\"F\"])(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(zo[0]=Fo(r)*n+t,zo[1]=Bo(r)*i+e,Vo[0]=Fo(o)*n+t,Vo[1]=Bo(o)*i+e,c(s,zo,Vo),u(l,zo,Vo),r%=No,r<0&&(r+=No),o%=No,o<0&&(o+=No),r>o&&!a?o+=No:rr&&(Go[0]=Fo(p)*n+t,Go[1]=Bo(p)*i+e,c(s,Go,s),u(l,Go,l))}var Ko={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Qo=[],Jo=[],$o=[],ta=[],ea=[],na=[],ia=Math.min,ra=Math.max,oa=Math.cos,aa=Math.sin,sa=Math.abs,la=Math.PI,ca=2*la,ua=\"undefined\"!==typeof Float32Array,ha=[];function da(t){var e=Math.round(t/la*1e8)/1e8;return e%2*la}function pa(t,e){var n=da(t[0]);n<0&&(n+=ca);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=ca?r=n+ca:e&&n-r>=ca?r=n-ca:!e&&n>r?r=n+(ca-da(n-r)):e&&n0&&(this._ux=sa(n/Ln/t)||0,this._uy=sa(n/Ln/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Ko.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=sa(t-this._xi),i=sa(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Ko.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Ko.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Ko.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),ha[0]=i,ha[1]=r,pa(ha,o),i=ha[0],r=ha[1];var a=r-i;return this.addData(Ko.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=oa(r)*n+t,this._yi=aa(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Ko.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ko.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!ua||(this.data=new Float32Array(e));for(var n=0;nc.length&&(this._expandData(),c=this.data);for(var u=0;u0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){$o[0]=$o[1]=ea[0]=ea[1]=Number.MAX_VALUE,ta[0]=ta[1]=na[0]=na[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||sa(m)>i||h===e-1)&&(f=Math.sqrt(v*v+m*m),r=g,o=y);break;case Ko.C:var b=t[h++],x=t[h++],O=(g=t[h++],y=t[h++],t[h++]),w=t[h++];f=_e(r,o,b,x,g,y,O,w,10),r=O,o=w;break;case Ko.Q:b=t[h++],x=t[h++],g=t[h++],y=t[h++];f=De(r,o,b,x,g,y,10),r=g,o=y;break;case Ko.A:var j=t[h++],S=t[h++],_=t[h++],C=t[h++],M=t[h++],A=t[h++],k=A+M;h+=1;t[h++];p&&(a=oa(M)*_+j,s=aa(M)*C+S),f=ra(_,C)*ia(ca,Math.abs(A)),r=oa(k)*_+j,o=aa(k)*C+S;break;case Ko.R:a=r=t[h++],s=o=t[h++];var I=t[h++],T=t[h++];f=2*I+2*T;break;case Ko.Z:v=a-r,m=s-o;f=Math.sqrt(v*v+m*m),r=a,o=s;break}f>=0&&(l[u++]=f,c+=f)}return this._pathLen=c,c},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,c,u,h,d,p=this.data,f=this._ux,g=this._uy,y=this._len,v=e<1,m=0,b=0,x=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,c=this._pathLen,u=e*c,u))t:for(var O=0;O0&&(t.lineTo(h,d),x=0),w){case Ko.M:n=r=p[O++],i=o=p[O++],t.moveTo(r,o);break;case Ko.L:a=p[O++],s=p[O++];var S=sa(a-r),_=sa(s-o);if(S>f||_>g){if(v){var C=l[b++];if(m+C>u){var M=(u-m)/C;t.lineTo(r*(1-M)+a*M,o*(1-M)+s*M);break t}m+=C}t.lineTo(a,s),r=a,o=s,x=0}else{var A=S*S+_*_;A>x&&(h=a,d=s,x=A)}break;case Ko.C:var k=p[O++],I=p[O++],T=p[O++],D=p[O++],P=p[O++],L=p[O++];if(v){C=l[b++];if(m+C>u){M=(u-m)/C;je(r,k,T,P,M,Qo),je(o,I,D,L,M,Jo),t.bezierCurveTo(Qo[1],Jo[1],Qo[2],Jo[2],Qo[3],Jo[3]);break t}m+=C}t.bezierCurveTo(k,I,T,D,P,L),r=P,o=L;break;case Ko.Q:k=p[O++],I=p[O++],T=p[O++],D=p[O++];if(v){C=l[b++];if(m+C>u){M=(u-m)/C;Ie(r,k,T,M,Qo),Ie(o,I,D,M,Jo),t.quadraticCurveTo(Qo[1],Jo[1],Qo[2],Jo[2]);break t}m+=C}t.quadraticCurveTo(k,I,T,D),r=T,o=D;break;case Ko.A:var R=p[O++],E=p[O++],B=p[O++],F=p[O++],N=p[O++],z=p[O++],V=p[O++],G=!p[O++],H=B>F?B:F,W=sa(B-F)>.001,X=N+z,Y=!1;if(v){C=l[b++];m+C>u&&(X=N+z*(u-m)/C,Y=!0),m+=C}if(W&&t.ellipse?t.ellipse(R,E,B,F,V,N,X,G):t.arc(R,E,H,N,X,G),Y)break t;j&&(n=oa(N)*B+R,i=aa(N)*F+E),r=oa(X)*B+R,o=aa(X)*F+E;break;case Ko.R:n=r=p[O],i=o=p[O+1],a=p[O++],s=p[O++];var q=p[O++],U=p[O++];if(v){C=l[b++];if(m+C>u){var Z=u-m;t.moveTo(a,s),t.lineTo(a+ia(Z,q),s),Z-=q,Z>0&&t.lineTo(a+q,s+ia(Z,U)),Z-=U,Z>0&&t.lineTo(a+ra(q-Z,0),s+U),Z-=q,Z>0&&t.lineTo(a,s+ra(U-Z,0));break t}m+=C}t.rect(a,s,q,U);break;case Ko.Z:if(v){C=l[b++];if(m+C>u){M=(u-m)/C;t.lineTo(r*(1-M)+n*M,o*(1-M)+i*M);break t}m+=C}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Ko,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),ga=fa;function ya(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0,c=t;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+h&&u>i+h&&u>o+h&&u>s+h||ut+h&&c>n+h&&c>r+h&&c>a+h||ce+c&&l>i+c&&l>o+c||lt+c&&s>n+c&&s>r+c||sn||u+cr&&(r+=Oa);var d=Math.atan2(l,s);return d<0&&(d+=Oa),d>=i&&d<=r||d+Oa>=i&&d+Oa<=r}function ja(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var Sa=ga.CMD,_a=2*Math.PI,Ca=1e-4;function Ma(t,e){return Math.abs(t-e)e&&c>i&&c>o&&c>s||c1&&Ia(),p=be(e,i,o,s,ka[0]),d>1&&(f=be(e,i,o,s,ka[1]))),2===d?ye&&s>i&&s>o||s=0&&c<=1){for(var u=0,h=Ce(e,i,o,c),d=0;dn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Aa[0]=-l,Aa[1]=l;var c=Math.abs(i-r);if(c<1e-4)return 0;if(c>=_a-1e-4){i=0,r=_a;var u=o?1:-1;return a>=Aa[0]+t&&a<=Aa[1]+t?u:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=_a,r+=_a);for(var d=0,p=0;p<2;p++){var f=Aa[p];if(f+t>a){var g=Math.atan2(s,f);u=o?1:-1;g<0&&(g=_a+g),(g>=i&&g<=r||g+_a>=i&&g+_a<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(u=-u),d+=u)}}return d}function La(t,e,n,i,r){for(var o,a,s=t.data,l=t.len(),c=0,u=0,h=0,d=0,p=0,f=0;f1&&(n||(c+=ja(u,h,d,p,i,r))),y&&(u=s[f],h=s[f+1],d=u,p=h),g){case Sa.M:d=s[f++],p=s[f++],u=d,h=p;break;case Sa.L:if(n){if(ya(u,h,s[f],s[f+1],e,i,r))return!0}else c+=ja(u,h,s[f],s[f+1],i,r)||0;u=s[f++],h=s[f++];break;case Sa.C:if(n){if(va(u,h,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else c+=Ta(u,h,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],i,r)||0;u=s[f++],h=s[f++];break;case Sa.Q:if(n){if(ma(u,h,s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else c+=Da(u,h,s[f++],s[f++],s[f],s[f+1],i,r)||0;u=s[f++],h=s[f++];break;case Sa.A:var v=s[f++],m=s[f++],b=s[f++],x=s[f++],O=s[f++],w=s[f++];f+=1;var j=!!(1-s[f++]);o=Math.cos(O)*b+v,a=Math.sin(O)*x+m,y?(d=o,p=a):c+=ja(u,h,o,a,i,r);var S=(i-v)*x/b+v;if(n){if(wa(v,m,x,O,O+w,j,e,S,r))return!0}else c+=Pa(v,m,x,O,O+w,j,S,r);u=Math.cos(O+w)*b+v,h=Math.sin(O+w)*x+m;break;case Sa.R:d=u=s[f++],p=h=s[f++];var _=s[f++],C=s[f++];if(o=d+_,a=p+C,n){if(ya(d,p,o,p,e,i,r)||ya(o,p,o,a,e,i,r)||ya(o,a,d,a,e,i,r)||ya(d,a,d,p,e,i,r))return!0}else c+=ja(o,p,o,a,i,r),c+=ja(d,a,d,p,i,r);break;case Sa.Z:if(n){if(ya(u,h,d,p,e,i,r))return!0}else c+=ja(u,h,d,p,i,r);u=d,h=p;break}}return n||Ma(h,p)||(c+=ja(u,h,d,p,i,r)||0),0!==c}function Ra(t,e,n){return La(t,0,!1,e,n)}function Ea(t,e,n,i){return La(t,e,!0,n,i)}var Ba=Object(s[\"i\"])({fill:\"#000\",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:\"butt\",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Co),Fa={style:Object(s[\"i\"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Mo.style)},Na=qn.concat([\"invisible\",\"culling\",\"z\",\"z2\",\"zlevel\",\"parent\"]),za=function(t){function e(e){return t.call(this,e)||this}return Object(o[\"c\"])(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?En:e>.2?Fn:Bn}if(t)return Bn}return En},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(s[\"C\"])(e)){var n=this.__zr,i=!(!n||!n.isDarkMode()),r=Object(Be[\"d\"])(t,0)0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&\"none\"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&Jt)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),Ea(o,a/s,t,e)))return!0}if(this.hasFill())return Ra(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Jt,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate(\"shape\",t)},e.prototype.updateDuringAnimation=function(t){\"style\"===t?this.dirtyStyle():\"shape\"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){\"shape\"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),\"string\"===typeof t?n[t]=e:Object(s[\"m\"])(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&Jt)},e.prototype.createStyle=function(t){return Object(s[\"g\"])(Ba,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=Object(s[\"m\"])({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var l,c=!(n&&r);if(n&&n.shape?o?r?l=n.shape:(l=Object(s[\"m\"])({},i.shape),Object(s[\"m\"])(l,n.shape)):(l=Object(s[\"m\"])({},r?this.shape:i.shape),Object(s[\"m\"])(l,n.shape)):c&&(l=i.shape),l)if(o){this.shape=Object(s[\"m\"])({},this.shape);for(var u={},h=Object(s[\"F\"])(l),d=0;d0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&\"none\"!==e},e.prototype.createStyle=function(t){return Object(s[\"g\"])(Ga,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+=\"\":e=\"\";var n=ei(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(Lo);Ha.prototype.type=\"tspan\";var Wa=Ha,Xa=Object(s[\"i\"])({x:0,y:0},Co),Ya={style:Object(s[\"i\"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Mo.style)};function qa(t){return!!(t&&\"string\"!==typeof t&&t.width&&t.height)}var Ua=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.createStyle=function(t){return Object(s[\"g\"])(Xa,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i=qa(e.image)?e.image:this.__image;if(!i)return 0;var r=\"width\"===t?\"height\":\"width\",o=e[r];return null==o?i[t]:i[t]/i[r]*o},e.prototype.getWidth=function(){return this._getSize(\"width\")},e.prototype.getHeight=function(){return this._getSize(\"height\")},e.prototype.getAnimationStyleProps=function(){return Ya},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Mt(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Lo);Ua.prototype.type=\"image\";var Za=Ua;function Ka(t,e){var n,i,r,o,a,s=e.x,l=e.y,c=e.width,u=e.height,h=e.r;c<0&&(s+=c,c=-c),u<0&&(l+=u,u=-u),\"number\"===typeof h?n=i=r=o=h:h instanceof Array?1===h.length?n=i=r=o=h[0]:2===h.length?(n=r=h[0],i=o=h[1]):3===h.length?(n=h[0],i=o=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],o=h[3]):n=i=r=o=0,n+i>c&&(a=n+i,n*=c/a,i*=c/a),r+o>c&&(a=r+o,r*=c/a,o*=c/a),i+r>u&&(a=i+r,i*=u/a,r*=u/a),n+o>u&&(a=n+o,n*=u/a,o*=u/a),t.moveTo(s+n,l),t.lineTo(s+c-i,l),0!==i&&t.arc(s+c-i,l+i,i,-Math.PI/2,0),t.lineTo(s+c,l+u-r),0!==r&&t.arc(s+c-r,l+u-r,r,0,Math.PI/2),t.lineTo(s+o,l+u),0!==o&&t.arc(s+o,l+u-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}var Qa=Math.round;function Ja(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Qa(2*i)===Qa(2*r)&&(t.x1=t.x2=ts(i,s,!0)),Qa(2*o)===Qa(2*a)&&(t.y1=t.y2=ts(o,s,!0)),t):t}}function $a(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=ts(i,s,!0),t.y=ts(r,s,!0),t.width=Math.max(ts(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(ts(r+a,s,!1)-t.y,0===a?0:1),t):t}}function ts(t,e,n){if(!e)return t;var i=Qa(2*t);return(i+Qa(e))%2===0?i/2:(i+(n?1:-1))/2}var es=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),ns={},is=function(t){function e(e){return t.call(this,e)||this}return Object(o[\"c\"])(e,t),e.prototype.getDefaultShape=function(){return new es},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=$a(ns,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?Ka(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Va);is.prototype.type=\"rect\";var rs=is,os={fill:\"#000\"},as=2,ss={style:Object(s[\"i\"])({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Mo.style)},ls=function(t){function e(e){var n=t.call(this)||this;return n.type=\"text\",n._children=[],n._defaultStyle=os,n.attr(e),n}return Object(o[\"c\"])(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e0,C=null!=t.width&&(\"truncate\"===t.overflow||\"break\"===t.overflow||\"breakAll\"===t.overflow),M=r.calculatedLineHeight,A=0;A=0&&(A=x[M],\"right\"===A.align))this._placeToken(A,t,w,g,C,\"right\",v),j-=A.width,C-=A.width,M--;_+=(i-(_-f)-(y-C)-j)/2;while(S<=M)A=x[S],this._placeToken(A,t,w,g,_+A.width/2,\"center\",v),_+=A.width,S++;g+=w}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var l=e.rich[t.styleName]||{};l.text=t.text;var c=t.verticalAlign,u=i+n/2;\"top\"===c?u=i+t.height/2:\"bottom\"===c&&(u=i+n-t.height/2);var h=!t.isLineHolder&&Os(l);h&&this._renderBackground(l,e,\"right\"===o?r-t.width:\"center\"===o?r-t.width/2:r,u-t.height/2,t.width,t.height);var d=!!l.backgroundColor,p=t.textPadding;p&&(r=bs(r,o,p),u-=t.height/2-p[0]-t.innerHeight/2);var f=this._getOrCreateChild(Wa),g=f.createStyle();f.useStyle(g);var y=this._defaultStyle,v=!1,m=0,b=ms(\"fill\"in l?l.fill:\"fill\"in e?e.fill:(v=!0,y.fill)),x=vs(\"stroke\"in l?l.stroke:\"stroke\"in e?e.stroke:d||a||y.autoStroke&&!v?null:(m=as,y.stroke)),O=l.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=r,g.y=u,O&&(g.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,g.shadowColor=l.textShadowColor||e.textShadowColor||\"transparent\",g.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=o,g.textBaseline=\"middle\",g.font=t.font||Qn[\"a\"],g.opacity=Object(s[\"Q\"])(l.opacity,e.opacity,1),ps(g,l),x&&(g.lineWidth=Object(s[\"Q\"])(l.lineWidth,e.lineWidth,m),g.lineDash=Object(s[\"P\"])(l.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=x),b&&(g.fill=b);var w=t.contentWidth,j=t.contentHeight;f.setBoundingRect(new Mt(ni(g.x,w,g.textAlign),ii(g.y,j,g.textBaseline),w,j))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,l,c=t.backgroundColor,u=t.borderWidth,h=t.borderColor,d=c&&c.image,p=c&&!d,f=t.borderRadius,g=this;if(p||t.lineHeight||u&&h){a=this._getOrCreateChild(rs),a.useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=f,a.dirtyShape()}if(p){var v=a.style;v.fill=c||null,v.fillOpacity=Object(s[\"P\"])(t.fillOpacity,1)}else if(d){l=this._getOrCreateChild(Za),l.onload=function(){g.dirtyStyle()};var m=l.style;m.image=c.image,m.x=n,m.y=i,m.width=r,m.height=o}if(u&&h){v=a.style;v.lineWidth=u,v.stroke=h,v.strokeOpacity=Object(s[\"P\"])(t.strokeOpacity,1),v.lineDash=t.borderDash,v.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(v.strokeFirst=!0,v.lineWidth*=2)}var b=(a||l).style;b.shadowBlur=t.shadowBlur||0,b.shadowColor=t.shadowColor||\"transparent\",b.shadowOffsetX=t.shadowOffsetX||0,b.shadowOffsetY=t.shadowOffsetY||0,b.opacity=Object(s[\"Q\"])(t.opacity,e.opacity,1)},e.makeFont=function(t){var e=\"\";return fs(t)&&(e=[t.fontStyle,t.fontWeight,ds(t.fontSize),t.fontFamily||\"sans-serif\"].join(\" \")),e&&Object(s[\"T\"])(e)||t.textFont||t.font},e}(Lo),cs={left:!0,right:1,center:1},us={top:1,bottom:1,middle:1},hs=[\"fontStyle\",\"fontWeight\",\"fontSize\",\"fontFamily\"];function ds(t){return\"string\"!==typeof t||-1===t.indexOf(\"px\")&&-1===t.indexOf(\"rem\")&&-1===t.indexOf(\"em\")?isNaN(+t)?Qn[\"c\"]+\"px\":t+\"px\":t}function ps(t,e){for(var n=0;n=0,o=!1;if(t instanceof Va){var a=Ms(t),l=r&&a.selectFill||a.normalFill,c=r&&a.selectStroke||a.normalStroke;if(Vs(l)||Vs(c)){i=i||{};var u=i.style||{};\"inherit\"===u.fill?(o=!0,i=Object(s[\"m\"])({},i),u=Object(s[\"m\"])({},u),u.fill=l):!Vs(u.fill)&&Vs(l)?(o=!0,i=Object(s[\"m\"])({},i),u=Object(s[\"m\"])({},u),u.fill=Hs(l)):!Vs(u.stroke)&&Vs(c)&&(o||(i=Object(s[\"m\"])({},i),u=Object(s[\"m\"])({},u)),u.stroke=Hs(c)),i.style=u}}if(i&&null==i.z2){o||(i=Object(s[\"m\"])({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:Ls)}return i}function nl(t,e,n){if(n&&null==n.z2){n=Object(s[\"m\"])({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:Rs)}return n}function il(t,e,n){var i=Object(s[\"r\"])(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:tl(t,[\"opacity\"],e,{opacity:1});n=n||{};var a=n.style||{};return null==a.opacity&&(n=Object(s[\"m\"])({},n),a=Object(s[\"m\"])({opacity:i?r:.1*o.opacity},a),n.style=a),n}function rl(t,e){var n=this.states[t];if(this.style){if(\"emphasis\"===t)return el(this,t,e,n);if(\"blur\"===t)return il(this,t,n);if(\"select\"===t)return nl(this,t,n)}return n}function ol(t){t.stateProxy=rl;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=rl),n&&(n.stateProxy=rl)}function al(t,e){!fl(t,e)&&!t.__highByOuter&&Js(t,Xs)}function sl(t,e){!fl(t,e)&&!t.__highByOuter&&Js(t,Ys)}function ll(t,e){t.__highByOuter|=1<<(e||0),Js(t,Xs)}function cl(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Js(t,Ys)}function ul(t){Js(t,qs)}function hl(t){Js(t,Us)}function dl(t){Js(t,Zs)}function pl(t){Js(t,Ks)}function fl(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function gl(t){var e=t.getModel(),n=[],i=[];e.eachComponent((function(e,r){var o=As(r),a=\"series\"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&i.push(s),o.isBlured&&(s.group.traverse((function(t){Us(t)})),a&&n.push(r)),o.isBlured=!1})),Object(s[\"k\"])(i,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function yl(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function _l(t,e,n){Dl(t,!0),Js(t,ol),Al(t,e,n)}function Cl(t){Dl(t,!1)}function Ml(t,e,n,i){i?Cl(t):_l(t,e,n)}function Al(t,e,n){var i=js(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var kl=[\"emphasis\",\"blur\",\"select\"],Il={itemStyle:\"getItemStyle\",lineStyle:\"getLineStyle\",areaStyle:\"getAreaStyle\"};function Tl(t,e,n,i){n=n||\"itemStyle\";for(var r=0;r0){var d=h.duration,p=h.delay,f=h.easing,g={duration:d,delay:p||0,easing:f,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};c?e.animateFrom(n,g):e.animateTo(n,g)}else e.stopAnimation(),!c&&e.attr(n),a&&a(1),o&&o()}function Gl(t,e,n,i,r,o){Vl(\"update\",t,e,n,i,r,o)}function Hl(t,e,n,i,r,o){Vl(\"enter\",t,e,n,i,r,o)}function Wl(t){if(!t.__zr)return!0;for(var e=0;e=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,i,r){if(t.length){var o=n(e),a=o.graph,l=o.noEntryList,c={};s[\"k\"](t,(function(t){c[t]=!0}));while(l.length){var u=l.pop(),h=a[u],d=!!c[u];d&&(i.call(r,u,h.originalDeps.slice()),delete c[u]),s[\"k\"](h.successor,d?f:p)}s[\"k\"](c,(function(){var t=\"\";throw new Error(t)}))}function p(t){a[t].entryCount--,0===a[t].entryCount&&l.push(t)}function f(t){c[t]=!0,p(t)}}}function Ic(t,e){return s[\"I\"](s[\"I\"]({},t,!0),e,!0)}var Tc={time:{month:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthAbbr:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayOfWeek:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayOfWeekAbbr:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]},legend:{selector:{all:\"All\",inverse:\"Inv\"}},toolbox:{brush:{title:{rect:\"Box Select\",polygon:\"Lasso Select\",lineX:\"Horizontally Select\",lineY:\"Vertically Select\",keep:\"Keep Selections\",clear:\"Clear Selections\"}},dataView:{title:\"Data View\",lang:[\"Data View\",\"Close\",\"Refresh\"]},dataZoom:{title:{zoom:\"Zoom\",back:\"Zoom Reset\"}},magicType:{title:{line:\"Switch to Line Chart\",bar:\"Switch to Bar Chart\",stack:\"Stack\",tiled:\"Tile\"}},restore:{title:\"Restore\"},saveAsImage:{title:\"Save as Image\",lang:[\"Right Click to Save Image\"]}},series:{typeNames:{pie:\"Pie chart\",bar:\"Bar chart\",line:\"Line chart\",scatter:\"Scatter plot\",effectScatter:\"Ripple scatter plot\",radar:\"Radar chart\",tree:\"Tree\",treemap:\"Treemap\",boxplot:\"Boxplot\",candlestick:\"Candlestick\",k:\"K line chart\",heatmap:\"Heat map\",map:\"Map\",parallel:\"Parallel coordinate map\",lines:\"Line graph\",graph:\"Relationship graph\",sankey:\"Sankey diagram\",funnel:\"Funnel chart\",gauge:\"Gauge\",pictorialBar:\"Pictorial bar\",themeRiver:\"Theme River Map\",sunburst:\"Sunburst\"}},aria:{general:{withTitle:'This is a chart about \"{title}\"',withoutTitle:\"This is a chart\"},series:{single:{prefix:\"\",withName:\" with type {seriesType} named {seriesName}.\",withoutName:\" with type {seriesType}.\"},multiple:{prefix:\". It consists of {seriesCount} series count.\",withName:\" The {seriesId} series is a {seriesType} representing {seriesName}.\",withoutName:\" The {seriesId} series is a {seriesType}.\",separator:{middle:\"\",end:\"\"}}},data:{allData:\"The data is as follows: \",partialData:\"The first {displayCnt} items are: \",withName:\"the data for {name} is {value}\",withoutName:\"{value}\",separator:{middle:\", \",end:\". \"}}}},Dc={time:{month:[\"一月\",\"二月\",\"三月\",\"四月\",\"五月\",\"六月\",\"七月\",\"八月\",\"九月\",\"十月\",\"十一月\",\"十二月\"],monthAbbr:[\"1月\",\"2月\",\"3月\",\"4月\",\"5月\",\"6月\",\"7月\",\"8月\",\"9月\",\"10月\",\"11月\",\"12月\"],dayOfWeek:[\"星期日\",\"星期一\",\"星期二\",\"星期三\",\"星期四\",\"星期五\",\"星期六\"],dayOfWeekAbbr:[\"日\",\"一\",\"二\",\"三\",\"四\",\"五\",\"六\"]},legend:{selector:{all:\"全选\",inverse:\"反选\"}},toolbox:{brush:{title:{rect:\"矩形选择\",polygon:\"圈选\",lineX:\"横向选择\",lineY:\"纵向选择\",keep:\"保持选择\",clear:\"清除选择\"}},dataView:{title:\"数据视图\",lang:[\"数据视图\",\"关闭\",\"刷新\"]},dataZoom:{title:{zoom:\"区域缩放\",back:\"区域缩放还原\"}},magicType:{title:{line:\"切换为折线图\",bar:\"切换为柱状图\",stack:\"切换为堆叠\",tiled:\"切换为平铺\"}},restore:{title:\"还原\"},saveAsImage:{title:\"保存为图片\",lang:[\"右键另存为图片\"]}},series:{typeNames:{pie:\"饼图\",bar:\"柱状图\",line:\"折线图\",scatter:\"散点图\",effectScatter:\"涟漪散点图\",radar:\"雷达图\",tree:\"树图\",treemap:\"矩形树图\",boxplot:\"箱型图\",candlestick:\"K线图\",k:\"K线图\",heatmap:\"热力图\",map:\"地图\",parallel:\"平行坐标图\",lines:\"线图\",graph:\"关系图\",sankey:\"桑基图\",funnel:\"漏斗图\",gauge:\"仪表盘图\",pictorialBar:\"象形柱图\",themeRiver:\"主题河流图\",sunburst:\"旭日图\"}},aria:{general:{withTitle:\"这是一个关于“{title}”的图表。\",withoutTitle:\"这是一个图表,\"},series:{single:{prefix:\"\",withName:\"图表类型是{seriesType},表示{seriesName}。\",withoutName:\"图表类型是{seriesType}。\"},multiple:{prefix:\"它由{seriesCount}个图表系列组成。\",withName:\"第{seriesId}个系列是一个表示{seriesName}的{seriesType},\",withoutName:\"第{seriesId}个系列是一个{seriesType},\",separator:{middle:\";\",end:\"。\"}}},data:{allData:\"其数据是——\",partialData:\"其中,前{displayCnt}项是——\",withName:\"{name}的数据是{value}\",withoutName:\"{value}\",separator:{middle:\",\",end:\"\"}}}},Pc=\"ZH\",Lc=\"EN\",Rc=Lc,Ec={},Bc={},Fc=a[\"a\"].domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(Pc)>-1?Pc:Rc}():Rc;function Nc(t,e){t=t.toUpperCase(),Bc[t]=new _c(e),Ec[t]=e}function zc(t){if(Object(s[\"C\"])(t)){var e=Ec[t.toUpperCase()]||{};return t===Pc||t===Lc?Object(s[\"d\"])(e):Object(s[\"I\"])(Object(s[\"d\"])(e),Object(s[\"d\"])(Ec[Rc]),!1)}return Object(s[\"I\"])(Object(s[\"d\"])(t),Object(s[\"d\"])(Ec[Rc]),!1)}function Vc(t){return Bc[t]}function Gc(){return Bc[Rc]}Nc(Lc,Tc),Nc(Pc,Dc);var Hc=1e3,Wc=60*Hc,Xc=60*Wc,Yc=24*Xc,qc=365*Yc,Uc={year:\"{yyyy}\",month:\"{MMM}\",day:\"{d}\",hour:\"{HH}:{mm}\",minute:\"{HH}:{mm}\",second:\"{HH}:{mm}:{ss}\",millisecond:\"{HH}:{mm}:{ss} {SSS}\",none:\"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}\"},Zc=\"{yyyy}-{MM}-{dd}\",Kc={year:\"{yyyy}\",month:\"{yyyy}-{MM}\",day:Zc,hour:Zc+\" \"+Uc.hour,minute:Zc+\" \"+Uc.minute,second:Zc+\" \"+Uc.second,millisecond:Uc.none},Qc=[\"year\",\"month\",\"day\",\"hour\",\"minute\",\"second\",\"millisecond\"],Jc=[\"year\",\"half-year\",\"quarter\",\"month\",\"week\",\"half-week\",\"day\",\"half-day\",\"quarter-day\",\"hour\",\"minute\",\"second\",\"millisecond\"];function $c(t,e){return t+=\"\",\"0000\".substr(0,e-t.length)+t}function tu(t){switch(t){case\"half-year\":case\"quarter\":return\"month\";case\"week\":case\"half-week\":return\"day\";case\"half-day\":case\"quarter-day\":return\"hour\";default:return t}}function eu(t){return t===tu(t)}function nu(t){switch(t){case\"year\":case\"month\":return\"day\";case\"millisecond\":return\"millisecond\";default:return\"second\"}}function iu(t,e,n,i){var r=Yi(t),o=r[su(n)](),a=r[lu(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[cu(n)](),c=r[\"get\"+(n?\"UTC\":\"\")+\"Day\"](),u=r[uu(n)](),h=(u-1)%12+1,d=r[hu(n)](),p=r[du(n)](),f=r[pu(n)](),g=i instanceof _c?i:Vc(i||Fc)||Gc(),y=g.getModel(\"time\"),v=y.get(\"month\"),m=y.get(\"monthAbbr\"),b=y.get(\"dayOfWeek\"),x=y.get(\"dayOfWeekAbbr\");return(e||\"\").replace(/{yyyy}/g,o+\"\").replace(/{yy}/g,o%100+\"\").replace(/{Q}/g,s+\"\").replace(/{MMMM}/g,v[a-1]).replace(/{MMM}/g,m[a-1]).replace(/{MM}/g,$c(a,2)).replace(/{M}/g,a+\"\").replace(/{dd}/g,$c(l,2)).replace(/{d}/g,l+\"\").replace(/{eeee}/g,b[c]).replace(/{ee}/g,x[c]).replace(/{e}/g,c+\"\").replace(/{HH}/g,$c(u,2)).replace(/{H}/g,u+\"\").replace(/{hh}/g,$c(h+\"\",2)).replace(/{h}/g,h+\"\").replace(/{mm}/g,$c(d,2)).replace(/{m}/g,d+\"\").replace(/{ss}/g,$c(p,2)).replace(/{s}/g,p+\"\").replace(/{SSS}/g,$c(f,3)).replace(/{S}/g,f+\"\")}function ru(t,e,n,i,r){var o=null;if(s[\"C\"](n))o=n;else if(s[\"w\"](n))o=n(t.value,e,{level:t.level});else{var a=s[\"m\"]({},Uc);if(t.level>0)for(var l=0;l=0;--l)if(c[u]){o=c[u];break}o=o||a.none}if(s[\"t\"](o)){var d=null==t.level?0:t.level>=0?t.level:o.length+t.level;d=Math.min(d,o.length-1),o=o[d]}}return iu(new Date(t.value),o,r,i)}function ou(t,e){var n=Yi(t),i=n[lu(e)]()+1,r=n[cu(e)](),o=n[uu(e)](),a=n[hu(e)](),s=n[du(e)](),l=n[pu(e)](),c=0===l,u=c&&0===s,h=u&&0===a,d=h&&0===o,p=d&&1===r,f=p&&1===i;return f?\"year\":p?\"month\":d?\"day\":h?\"hour\":u?\"minute\":c?\"second\":\"millisecond\"}function au(t,e,n){var i=s[\"z\"](t)?Yi(t):t;switch(e=e||ou(t,n),e){case\"year\":return i[su(n)]();case\"half-year\":return i[lu(n)]()>=6?1:0;case\"quarter\":return Math.floor((i[lu(n)]()+1)/4);case\"month\":return i[lu(n)]();case\"day\":return i[cu(n)]();case\"half-day\":return i[uu(n)]()/24;case\"hour\":return i[uu(n)]();case\"minute\":return i[hu(n)]();case\"second\":return i[du(n)]();case\"millisecond\":return i[pu(n)]()}}function su(t){return t?\"getUTCFullYear\":\"getFullYear\"}function lu(t){return t?\"getUTCMonth\":\"getMonth\"}function cu(t){return t?\"getUTCDate\":\"getDate\"}function uu(t){return t?\"getUTCHours\":\"getHours\"}function hu(t){return t?\"getUTCMinutes\":\"getMinutes\"}function du(t){return t?\"getUTCSeconds\":\"getSeconds\"}function pu(t){return t?\"getUTCMilliseconds\":\"getMilliseconds\"}function fu(t){return t?\"setUTCFullYear\":\"setFullYear\"}function gu(t){return t?\"setUTCMonth\":\"setMonth\"}function yu(t){return t?\"setUTCDate\":\"setDate\"}function vu(t){return t?\"setUTCHours\":\"setHours\"}function mu(t){return t?\"setUTCMinutes\":\"setMinutes\"}function bu(t){return t?\"setUTCSeconds\":\"setSeconds\"}function xu(t){return t?\"setUTCMilliseconds\":\"setMilliseconds\"}function Ou(t){if(!$i(t))return s[\"C\"](t)?t:\"-\";var e=(t+\"\").split(\".\");return e[0].replace(/(\\d{1,3})(?=(?:\\d{3})+(?!\\d))/g,\"$1,\")+(e.length>1?\".\"+e[1]:\"\")}function wu(t,e){return t=(t||\"\").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var ju=s[\"M\"];function Su(t,e,n){var i=\"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}\";function r(t){return t&&s[\"T\"](t)?t:\"-\"}function o(t){return!(null==t||isNaN(t)||!isFinite(t))}var a=\"time\"===e,l=t instanceof Date;if(a||l){var c=a?Yi(t):t;if(!isNaN(+c))return iu(c,i,n);if(l)return\"-\"}if(\"ordinal\"===e)return s[\"D\"](t)?r(t):s[\"z\"](t)&&o(t)?t+\"\":\"-\";var u=Ji(t);return o(u)?Ou(u):s[\"D\"](t)?r(t):\"boolean\"===typeof t?t+\"\":\"-\"}var _u=[\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\"],Cu=function(t,e){return\"{\"+t+(null==e?\"\":e)+\"}\"};function Mu(t,e,n){s[\"t\"](e)||(e=[e]);var i=e.length;if(!i)return\"\";for(var r=e[0].$vars||[],o=0;o':'';var a=n.markerId||\"markerX\";return{renderMode:o,content:\"{\"+a+\"|} \",style:\"subItem\"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}}function Iu(t,e){return e=e||\"transparent\",s[\"C\"](t)?t:s[\"A\"](t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Tu(t,e){if(\"_blank\"===e||\"blank\"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Du=s[\"k\"],Pu=[\"left\",\"right\",\"top\",\"bottom\",\"width\",\"height\"],Lu=[[\"width\",\"left\",\"right\"],[\"height\",\"top\",\"bottom\"]];function Ru(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,c){var u,h,d=l.getBoundingRect(),p=e.childAt(c+1),f=p&&p.getBoundingRect();if(\"horizontal\"===t){var g=d.width+(f?-f.x+d.x:0);u=o+g,u>i||l.newline?(o=0,u=g,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var y=d.height+(f?-f.y+d.y:0);h=a+y,h>r||l.newline?(o+=s+n,a=0,h=y,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),\"horizontal\"===t?o=u+n:a=h+n)}))}var Eu=Ru;s[\"h\"](Ru,\"vertical\"),s[\"h\"](Ru,\"horizontal\");function Bu(t,e,n){var i=e.width,r=e.height,o=Li(t.left,i),a=Li(t.top,r),s=Li(t.right,i),l=Li(t.bottom,r);return(isNaN(o)||isNaN(parseFloat(t.left)))&&(o=0),(isNaN(s)||isNaN(parseFloat(t.right)))&&(s=i),(isNaN(a)||isNaN(parseFloat(t.top)))&&(a=0),(isNaN(l)||isNaN(parseFloat(t.bottom)))&&(l=r),n=ju(n||0),{width:Math.max(s-o-n[1]-n[3],0),height:Math.max(l-a-n[0]-n[2],0)}}function Fu(t,e,n){n=ju(n||0);var i=e.width,r=e.height,o=Li(t.left,i),a=Li(t.top,r),s=Li(t.right,i),l=Li(t.bottom,r),c=Li(t.width,i),u=Li(t.height,r),h=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(c)&&(c=i-s-d-o),isNaN(u)&&(u=r-l-h-a),null!=p&&(isNaN(c)&&isNaN(u)&&(p>i/r?c=.8*i:u=.8*r),isNaN(c)&&(c=p*u),isNaN(u)&&(u=c/p)),isNaN(o)&&(o=i-s-c-d),isNaN(a)&&(a=r-l-u-h),t.left||t.right){case\"center\":o=i/2-c/2-n[3];break;case\"right\":o=i-c-d;break}switch(t.top||t.bottom){case\"middle\":case\"center\":a=r/2-u/2-n[0];break;case\"bottom\":a=r-u-h;break}o=o||0,a=a||0,isNaN(c)&&(c=i-d-o-(s||0)),isNaN(u)&&(u=r-h-a-(l||0));var f=new Mt(o+n[3],a+n[0],c,u);return f.margin=n,f}function Nu(t,e,n,i,r,o){var a,l=!r||!r.hv||r.hv[0],c=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||\"all\";if(o=o||t,o.x=t.x,o.y=t.y,!l&&!c)return!1;if(\"raw\"===u)a=\"group\"===t.type?new Mt(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();a=a.clone(),a.applyTransform(h)}var d=Fu(s[\"i\"]({width:a.width,height:a.height},e),n,i),p=l?d.x-a.x:0,f=c?d.y-a.y:0;return\"raw\"===u?(o.x=p,o.y=f):(o.x+=p,o.y+=f),o===t&&t.markRedraw(),!0}function zu(t,e){return null!=t[Lu[e][0]]||null!=t[Lu[e][1]]&&null!=t[Lu[e][2]]}function Vu(t){var e=t.layoutMode||t.constructor.layoutMode;return s[\"A\"](e)?e:e?{type:e}:null}function Gu(t,e,n){var i=n&&n.ignoreSize;!s[\"t\"](i)&&(i=[i,i]);var r=a(Lu[0],0),o=a(Lu[1],1);function a(n,r){var o={},a=0,s={},u=0,h=2;if(Du(n,(function(e){s[e]=t[e]})),Du(n,(function(t){l(e,t)&&(o[t]=s[t]=e[t]),c(o,t)&&a++,c(s,t)&&u++})),i[r])return c(e,n[1])?s[n[2]]=null:c(e,n[2])&&(s[n[1]]=null),s;if(u!==h&&a){if(a>=h)return o;for(var d=0;d=0;a--)o=s[\"I\"](o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+\"Index\",i=t+\"Id\";return Lr(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get(\"left\"),top:t.get(\"top\"),right:t.get(\"right\"),bottom:t.get(\"bottom\"),width:t.get(\"width\"),height:t.get(\"height\")}},e.prototype.getZLevelKey=function(){return\"\"},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type=\"component\",t.id=\"\",t.name=\"\",t.mainType=\"\",t.subType=\"\",t.componentIndex=0}(),e}(_c);function qu(t){var e=[];return s[\"k\"](Yu.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=s[\"H\"](e,(function(t){return Hr(t).main})),\"dataset\"!==t&&s[\"r\"](e,\"dataset\")<=0&&e.unshift(\"dataset\"),e}Ur(Yu,_c),$r(Yu),Ac(Yu),kc(Yu,qu);var Uu=Yu,Zu=\"\";\"undefined\"!==typeof navigator&&(Zu=navigator.platform||\"\");var Ku=\"rgba(0, 0, 0, 0.2)\",Qu={darkMode:\"auto\",colorBy:\"series\",color:[\"#5470c6\",\"#91cc75\",\"#fac858\",\"#ee6666\",\"#73c0de\",\"#3ba272\",\"#fc8452\",\"#9a60b4\",\"#ea7ccc\"],gradientColor:[\"#f6efa6\",\"#d88273\",\"#bf444c\"],aria:{decal:{decals:[{color:Ku,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ku,symbol:\"circle\",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ku,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ku,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ku,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ku,symbol:\"triangle\",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Zu.match(/^Win/)?\"Microsoft YaHei\":\"sans-serif\",fontSize:12,fontStyle:\"normal\",fontWeight:\"normal\"},blendMode:null,stateAnimation:{duration:300,easing:\"cubicOut\"},animation:\"auto\",animationDuration:1e3,animationDurationUpdate:500,animationEasing:\"cubicInOut\",animationEasingUpdate:\"cubicInOut\",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Ju=Object(s[\"f\"])([\"tooltip\",\"label\",\"itemName\",\"itemId\",\"itemGroupId\",\"seriesName\"]),$u=\"original\",th=\"arrayRows\",eh=\"objectRows\",nh=\"keyedColumns\",ih=\"typedArray\",rh=\"unknown\",oh=\"column\",ah=\"row\",sh={Must:1,Might:2,Not:3},lh=Ar();function ch(t){lh(t).datasetMap=Object(s[\"f\"])()}function uh(t,e,n){var i={},r=dh(e);if(!r||!t)return i;var o,a,l=[],c=[],u=e.ecModel,h=lh(u).datasetMap,d=r.uid+\"_\"+n.seriesLayoutBy;t=t.slice(),Object(s[\"k\"])(t,(function(e,n){var r=Object(s[\"A\"])(e)?e:t[n]={name:e};\"ordinal\"===r.type&&null==o&&(o=n,a=g(r)),i[r.name]=[]}));var p=h.get(d)||h.set(d,{categoryWayDim:a,valueWayDim:0});function f(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}function Sh(t,e,n,i,r,o,a){o=o||t;var s=e(o),l=s.paletteIdx||0,c=s.paletteNameMap=s.paletteNameMap||{};if(c.hasOwnProperty(r))return c[r];var u=null!=a&&i?jh(i,a):n;if(u=u||n,u&&u.length){var h=u[l];return r&&(c[r]=h),s.paletteIdx=(l+1)%u.length,h}}function _h(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var Ch,Mh,Ah;\"undefined\"!==typeof console&&console.warn&&console.log;function kh(t){0}function Ih(t){throw new Error(t)}var Th=\"\\0_ec_inner\",Dh=1;var Ph=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new _c(i),this._locale=new _c(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=Fh(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Fh(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||\"recreate\"===t){var r=i.mountOption(\"recreate\"===t);0,this.option&&\"recreate\"!==t?(this.restoreData(),this._mergeOption(r,e)):Ah(this,r),n=!0}if(\"timeline\"!==t&&\"media\"!==t||this.restoreData(),!t||\"recreate\"===t||\"timeline\"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||\"recreate\"===t||\"media\"===t){var a=i.getMediaOption(this);a.length&&Object(s[\"k\"])(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=Object(s[\"f\"])(),l=e&&e.replaceMergeMainTypeMap;function c(e){var o=mh(this,e,ar(t[e])),a=i.get(e),c=a?l&&l.get(e)?\"replaceMerge\":\"normalMerge\":\"replaceAll\",u=hr(a,o,c);Sr(u,e,Uu),n[e]=null,i.set(e,null),r.set(e,0);var h,d=[],p=[],f=0;Object(s[\"k\"])(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o=\"series\"===e,a=Uu.getClass(e,t.keyInfo.subType,!o);if(!a)return;if(\"tooltip\"===e){if(h)return void 0;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var l=Object(s[\"m\"])({componentIndex:n},t.keyInfo);i=new a(r,this,this,l),Object(s[\"m\"])(i,l),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(d.push(i.option),p.push(i),f++):(d.push(void 0),p.push(void 0))}),this),n[e]=d,i.set(e,p),r.set(e,f),\"series\"===e&&Ch(this)}ch(this),Object(s[\"k\"])(t,(function(t,e){null!=t&&(Uu.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?Object(s[\"d\"])(t):Object(s[\"I\"])(n[e],t,!0))})),l&&l.each((function(t,e){Uu.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),Uu.topologicalTravel(o,Uu.getAllClassMainTypes(),c,this),this._seriesIndices||Ch(this)},e.prototype.getOption=function(){var t=Object(s[\"d\"])(this.option);return Object(s[\"k\"])(t,(function(e,n){if(Uu.hasClass(n)){for(var i=ar(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!wr(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[Th],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:\"max\"===n?t<=e:t===e}function Qh(t,e){return t.join(\",\")===e.join(\",\")}var Jh=qh,$h=s[\"k\"],td=s[\"A\"],ed=[\"areaStyle\",\"lineStyle\",\"nodeStyle\",\"linkStyle\",\"chordStyle\",\"label\",\"labelLine\"];function nd(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=ed.length;n=0;g--){var y=t[g];if(s||(d=y.data.rawIndexOf(y.stackedByDimension,h)),d>=0){var v=y.data.getByRawIndex(y.stackResultDimension,d);if(\"all\"===l||\"positive\"===l&&v>0||\"negative\"===l&&v<0||\"samesign\"===l&&p>=0&&v>0||\"samesign\"===l&&p<=0&&v<0){p=Vi(p,v),f=v;break}}}return i[0]=p,i[1]=f,i}))}))}var _d,Cd,Md,Ad,kd,Id=function(){function t(t){this.data=t.data||(t.sourceFormat===nh?{}:[]),this.sourceFormat=t.sourceFormat||rh,this.seriesLayoutBy=t.seriesLayoutBy||oh,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nc&&(c=p)}s[0]=l,s[1]=c}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(l=o.interpolatedValue[c])}return null!=l?l+\"\":\"\"}))}},t.prototype.getRawValue=function(t,e){return Jd(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function ep(t){var e,n;return s[\"A\"](t)?t.type&&(n=t):e=t,{text:e,frag:n}}function np(t){return new ip(t)}var ip=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),l=this._modDataCount||0,c=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===c&&l===u||(e=\"reset\"),(this._dirty||\"reset\"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=c,this._modDataCount=u;var d=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,f=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},cp=function(){function t(t,e){if(!Object(s[\"z\"])(e)){var n=\"\";0,Ih(n)}this._opFn=lp[t],this._rvalFloat=Ji(e)}return t.prototype.evaluate=function(t){return Object(s[\"z\"])(t)?this._opFn(t,this._rvalFloat):this._opFn(Ji(t),this._rvalFloat)},t}(),up=function(){function t(t,e){var n=\"desc\"===t;this._resultLT=n?1:-1,null==e&&(e=n?\"min\":\"max\"),this._incomparable=\"min\"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=Object(s[\"z\"])(t)?t:Ji(t),i=Object(s[\"z\"])(e)?e:Ji(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=Object(s[\"C\"])(t),l=Object(s[\"C\"])(e);a&&(n=l?t:0),l&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),hp=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Ji(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||\"number\"!==n&&\"number\"!==this._rvalTypeof||(e=Ji(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function dp(t,e){return\"eq\"===t||\"ne\"===t?new hp(\"eq\"===t,e):Object(s[\"q\"])(lp,t)?new cp(t,e):null}var pp=function(){function t(){}return t.prototype.getRawData=function(){throw new Error(\"not supported\")},t.prototype.getRawDataItem=function(t){throw new Error(\"not supported\")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return op(t,e)},t}();function fp(t,e){var n=new pp,i=t.data,r=n.sourceFormat=t.sourceFormat,o=t.startIndex,a=\"\";t.seriesLayoutBy!==oh&&Ih(a);var l=[],c={},u=t.dimensionsDefine;if(u)Object(s[\"k\"])(u,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};if(l.push(i),null!=n){var r=\"\";Object(s[\"q\"])(c,n)&&Ih(r),c[n]=i}}));else for(var h=0;h65535?Cp:Mp}function Dp(){return[1/0,-1/0]}function Pp(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function Lp(t,e,n,i,r){var o=Ip[n||\"float\"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),c=0;cg[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,l=this._rawExtent,c=Object(s[\"H\"])(o,(function(t){return t.property})),u=0;uv[1]&&(v[1]=y)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks,r=i[t],o=[];if(!r)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,c=0,u=this.count();c=0&&s<0)&&(a=p,s=d,l=0),d===s&&(o[l++]=c))}return o.length=l,o},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=h&&m<=d||isNaN(m))&&(l[c++]=g),g++}f=!0}else if(2===r){y=p[i[0]];var b=p[i[1]],x=t[i[1]][0],O=t[i[1]][1];for(v=0;v=h&&m<=d||isNaN(m))&&(w>=x&&w<=O||isNaN(w))&&(l[c++]=g),g++}f=!0}}if(!f)if(1===r)for(v=0;v=h&&m<=d||isNaN(m))&&(l[c++]=j)}else for(v=0;vt[C][1])&&(S=!1)}S&&(l[c++]=e.getRawIndex(v))}return cy[1]&&(y[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks,s=a[t],l=this.count(),c=0,u=Math.floor(1/e),h=this.getRawIndex(0),d=new(Tp(this._rawCount))(Math.min(2*(Math.ceil(l/u)+2),l));d[c++]=h;for(var p=1;pn&&(n=i,r=b))}C>0&&Cc-p&&(s=c-p,a.length=s);for(var f=0;fu[1]&&(u[1]=y),h[d++]=v}return r._count=d,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();rs&&(s=u)}return i=[a,s],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return op(t[i],this._dimensions[i])}Sp={arrayRows:t,objectRows:function(t,e,n,i){return op(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return op(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),Ep=Rp,Bp=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+\"_\"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Np(n)){var o=n,a=void 0,l=void 0,c=void 0;if(r){var u=i[0];u.prepareSource(),c=u.getSource(),a=c.data,l=c.sourceFormat,e=[u._getVersionSign()]}else a=o.get(\"data\",!0),l=Object(s[\"E\"])(a)?ih:$u,e=[];var h=this._getSourceMetaRawOption()||{},d=c&&c.metaRawOption||{},p=Object(s[\"P\"])(h.seriesLayoutBy,d.seriesLayoutBy)||null,f=Object(s[\"P\"])(h.sourceHeader,d.sourceHeader),g=Object(s[\"P\"])(h.dimensions,d.dimensions),y=p!==d.seriesLayoutBy||!!f!==!!d.sourceHeader||g;t=y?[Dd(a,{seriesLayoutBy:p,sourceHeader:f,dimensions:g},l)]:[]}else{var v=n;if(r){var m=this._applyTransform(i);t=m.sourceList,e=m.upstreamSignList}else{var b=v.get(\"source\",!0);t=[Dd(b,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get(\"transform\",!0),r=n.get(\"fromTransformResult\",!0);if(null!=r){var o=\"\";1!==t.length&&zp(o)}var a=[],l=[];return Object(s[\"k\"])(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n=\"\";null==r||e||zp(n),a.push(e),l.push(t._getVersionSign())})),i?e=Op(i,a,{datasetIndex:n.componentIndex}):null!=r&&(e=[Ld(a[0])]),{sourceList:e,upstreamSignList:l}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e1||n>0&&!t.noHeader;return Object(s[\"k\"])(t.blocks,(function(t){var n=Up(t);n>=e&&(e=n+ +(i&&(!n||Yp(t)&&!t.noHeader)))})),e}return 0}function Zp(t,e,n,i){var r=e.noHeader,o=Jp(Up(e)),a=[],l=e.blocks||[];Object(s[\"b\"])(!l||Object(s[\"t\"])(l)),l=l||[];var c=t.orderMode;if(e.sortBlocks&&c){l=l.slice();var u={valueAsc:\"asc\",valueDesc:\"desc\"};if(Object(s[\"q\"])(u,c)){var h=new up(u[c],null);l.sort((function(t,e){return h.evaluate(t.sortParam,e.sortParam)}))}else\"seriesDesc\"===c&&l.reverse()}Object(s[\"k\"])(l,(function(n,r){var l=e.valueFormatter,c=qp(n)(l?Object(s[\"m\"])(Object(s[\"m\"])({},t),{valueFormatter:l}):t,n,r>0?o.html:0,i);null!=c&&a.push(c)}));var d=\"richText\"===t.renderMode?a.join(o.richText):$p(a.join(\"\"),r?n:o.html);if(r)return d;var p=Su(e.header,\"ordinal\",t.useUTC),f=Gp(i,t.renderMode).nameStyle;return\"richText\"===t.renderMode?nf(t,p,f)+o.richText+d:$p('
    '+W(p)+\"
    \"+d,n)}function Kp(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,l=!e.markerType,c=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return t=Object(s[\"t\"])(t)?t:[t],Object(s[\"H\"])(t,(function(t,e){return Su(t,Object(s[\"t\"])(f)?f[e]:f,u)}))};if(!o||!a){var d=l?\"\":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||\"#333\",r),p=o?\"\":Su(c,\"ordinal\",u),f=e.valueType,g=a?[]:h(e.value),y=!l||!o,v=!l&&o,m=Gp(i,r),b=m.nameStyle,x=m.valueStyle;return\"richText\"===r?(l?\"\":d)+(o?\"\":nf(t,p,b))+(a?\"\":rf(t,g,y,v,x)):$p((l?\"\":d)+(o?\"\":tf(p,!l,b))+(a?\"\":ef(g,y,v,x)),n)}}function Qp(t,e,n,i,r,o){if(t){var a=qp(t),s={useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter};return a(s,t,0,o)}}function Jp(t){return{html:Hp[t],richText:Wp[t]}}function $p(t,e){var n='
    ',i=\"margin: \"+e+\"px 0 0\";return'
    '+t+n+\"
    \"}function tf(t,e,n){var i=e?\"margin-left:2px\":\"\";return''+W(t)+\"\"}function ef(t,e,n,i){var r=n?\"10px\":\"20px\",o=e?\"float:right;margin-left:\"+r:\"\";return t=Object(s[\"t\"])(t)?t:[t],''+Object(s[\"H\"])(t,(function(t){return W(t)})).join(\"  \")+\"\"}function nf(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function rf(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:\"right\"}),t.markupStyleCreator.wrapRichTextStyle(Object(s[\"t\"])(e)?e.join(\" \"):e,o)}function of(t,e){var n=t.getData().getItemVisual(e,\"style\"),i=n[t.visualDrawType];return Iu(i)}function af(t,e){var n=t.get(\"padding\");return null!=n?n:\"richText\"===e?[8,10]:10}var sf=function(){function t(){this.richTextStyles={},this._nextStyleNameId=tr()}return t.prototype._generateStyleName=function(){return\"__EC_aUTo_\"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i=\"richText\"===n?this._generateStyleName():null,r=ku({color:e,type:t,renderMode:n,markerId:i});return Object(s[\"C\"])(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Object(s[\"t\"])(e)?Object(s[\"k\"])(e,(function(t){return Object(s[\"m\"])(n,t)})):Object(s[\"m\"])(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,\"{\"+i+\"|\"+t+\"}\"},t}();function lf(t){var e,n,i,r,o=t.series,a=t.dataIndex,l=t.multipleSeries,c=o.getData(),u=c.mapDimensionsAll(\"defaultedTooltip\"),h=u.length,d=o.getRawValue(a),p=Object(s[\"t\"])(d),f=of(o,a);if(h>1||p&&!h){var g=cf(d,o,a,u,f);e=g.inlineValues,n=g.inlineValueTypes,i=g.blocks,r=g.inlineValues[0]}else if(h){var y=c.getDimensionInfo(u[0]);r=e=Jd(c,a,u[0]),n=y.type}else r=e=p?d[0]:d;var v=Or(o),m=v&&o.name||\"\",b=c.getName(a),x=l?m:b;return Xp(\"section\",{header:m,noHeader:l||!v,sortParam:r,blocks:[Xp(\"nameValue\",{markerType:\"item\",markerColor:f,name:x,noName:!Object(s[\"T\"])(x),value:e,valueType:n})].concat(i||[])})}function cf(t,e,n,i,r){var o=e.getData(),a=Object(s[\"N\"])(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),l=[],c=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(Xp(\"nameValue\",{markerType:\"subItem\",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(l.push(t),c.push(n.type)))}return i.length?Object(s[\"k\"])(i,(function(t){h(Jd(o,n,t),t)})):Object(s[\"k\"])(t,h),{inlineValues:l,inlineValueTypes:c,blocks:u}}var uf=Ar();function hf(t,e){return t.getName(e)||t.getId(e)}var df=\"__universalTransitionEnabled\",pf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return Object(o[\"c\"])(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=np({count:yf,reset:vf}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=uf(this).sourceManager=new Bp(this);i.prepareSource();var r=this.getInitialData(t,n);bf(r,this),this.dataTask.context.data=r,uf(this).dataBeforeProcessed=r,ff(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Vu(this),i=n?Hu(t):{},r=this.subType;Uu.hasClass(r)&&(r+=\"Series\"),s[\"I\"](t,e.getTheme().get(this.subType)),s[\"I\"](t,this.getDefaultOption()),sr(t,\"label\",[\"show\"]),this.fillDataTextStyle(t.data),n&&Gu(t,i,n)},e.prototype.mergeOption=function(t,e){t=s[\"I\"](this.option,t,!0),this.fillDataTextStyle(t.data);var n=Vu(this);n&&Gu(this.option,t,n);var i=uf(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);bf(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,uf(this).dataBeforeProcessed=r,ff(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!s[\"E\"](t))for(var e=[\"show\"],n=0;nthis.getShallow(\"animationThreshold\")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=Oh.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get(\"progressive\")},e.prototype.getProgressiveThreshold=function(){return this.get(\"progressiveThreshold\")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if(\"series\"===i||\"all\"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return(\"all\"===n||n[hf(i,t)])&&!i.getItemModel(t).get([\"select\",\"disabled\"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[df])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if(\"series\"===o)r.selectedMap=\"all\";else if(\"multiple\"===o){s[\"A\"](r.selectedMap)||(r.selectedMap={});for(var l=r.selectedMap,c=0;c0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Uu.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type=\"series.__base__\",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol=\"circle\",t.visualStyleAccessPath=\"itemStyle\",t.visualDrawType=\"fill\"}(),e}(Uu);function ff(t){var e=t.name;Or(t)||(t.name=gf(t)||e)}function gf(t){var e=t.getRawData(),n=e.mapDimensionsAll(\"seriesName\"),i=[];return s[\"k\"](n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(\" \")}function yf(t){return t.model.getRawData().count()}function vf(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),mf}function mf(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function bf(t,e){s[\"k\"](s[\"e\"](t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,s[\"h\"](xf,e))}))}function xf(t,e){var n=Of(t);return n&&n.setOutputEnd((e||this).count()),e}function Of(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}s[\"K\"](pf,tp),s[\"K\"](pf,Oh),Ur(pf,Uu);var wf=pf,jf=function(){function t(){this.group=new wi,this.uid=Mc(\"viewComponent\")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();Yr(jf),$r(jf);var Sf=jf;function _f(){var t=Ar();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&\"reset\"}}var Cf=ga.CMD,Mf=[[],[],[]],Af=Math.sqrt,kf=Math.atan2;function If(t,e){if(e){var n,i,r,o,a,s,l=t.data,c=t.len(),u=Cf.M,h=Cf.C,d=Cf.L,p=Cf.R,f=Cf.A,g=Cf.Q;for(r=0,o=0;r1&&(a*=Tf(f),s*=Tf(f));var g=(r===o?-1:1)*Tf((a*a*(s*s)-a*a*(p*p)-s*s*(d*d))/(a*a*(p*p)+s*s*(d*d)))||0,y=g*a*p/s,v=g*-s*d/a,m=(t+n)/2+Pf(h)*y-Df(h)*v,b=(e+i)/2+Df(h)*y+Pf(h)*v,x=Bf([1,0],[(d-y)/a,(p-v)/s]),O=[(d-y)/a,(p-v)/s],w=[(-1*d-y)/a,(-1*p-v)/s],j=Bf(O,w);if(Ef(O,w)<=-1&&(j=Lf),Ef(O,w)>=1&&(j=0),j<0){var S=Math.round(j/Lf*1e6)/1e6;j=2*Lf+S%2*Lf}u.addData(c,m,b,a,s,x,j,h,o)}var Nf=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,zf=/-?([0-9]*\\.)?[0-9]+([eE]-?[0-9]+)?/g;function Vf(t){var e=new ga;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=ga.CMD,l=t.match(Nf);if(!l)return e;for(var c=0;cI*I+T*T&&(S=C,_=M),{cx:S,cy:_,x0:-u,y0:-h,x1:S*(r/O-1),y1:_*(r/O-1)}}function fg(t){var e;if(Object(s[\"t\"])(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}function gg(t,e){var n,i=cg(e.r,0),r=cg(e.r0||0,0),o=i>0,a=r>0;if(o||a){if(o||(i=r,r=0),r>i){var s=i;i=r,r=s}var l=e.startAngle,c=e.endAngle;if(!isNaN(l)&&!isNaN(c)){var u=e.cx,h=e.cy,d=!!e.clockwise,p=sg(c-l),f=p>ng&&p%ng;if(f>hg&&(p=f),i>hg)if(p>ng-hg)t.moveTo(u+i*rg(l),h+i*ig(l)),t.arc(u,h,i,l,c,!d),r>hg&&(t.moveTo(u+r*rg(c),h+r*ig(c)),t.arc(u,h,r,c,l,d));else{var g=void 0,y=void 0,v=void 0,m=void 0,b=void 0,x=void 0,O=void 0,w=void 0,j=void 0,S=void 0,_=void 0,C=void 0,M=void 0,A=void 0,k=void 0,I=void 0,T=i*rg(l),D=i*ig(l),P=r*rg(c),L=r*ig(c),R=p>hg;if(R){var E=e.cornerRadius;E&&(n=fg(E),g=n[0],y=n[1],v=n[2],m=n[3]);var B=sg(i-r)/2;if(b=ug(B,v),x=ug(B,m),O=ug(B,g),w=ug(B,y),_=j=cg(b,x),C=S=cg(O,w),(j>hg||S>hg)&&(M=i*rg(c),A=i*ig(c),k=r*rg(l),I=r*ig(l),phg){var X=ug(v,_),Y=ug(m,_),q=pg(k,I,T,D,i,X,d),U=pg(M,A,P,L,i,Y,d);t.moveTo(u+q.cx+q.x0,h+q.cy+q.y0),_0&&t.arc(u+q.cx,h+q.cy,X,ag(q.y0,q.x0),ag(q.y1,q.x1),!d),t.arc(u,h,i,ag(q.cy+q.y1,q.cx+q.x1),ag(U.cy+U.y1,U.cx+U.x1),!d),Y>0&&t.arc(u+U.cx,h+U.cy,Y,ag(U.y1,U.x1),ag(U.y0,U.x0),!d))}else t.moveTo(u+T,h+D),t.arc(u,h,i,l,c,!d);else t.moveTo(u+T,h+D);if(r>hg&&R)if(C>hg){X=ug(g,C),Y=ug(y,C),q=pg(P,L,M,A,r,-Y,d),U=pg(T,D,k,I,r,-X,d);t.lineTo(u+q.cx+q.x0,h+q.cy+q.y0),C0&&t.arc(u+q.cx,h+q.cy,Y,ag(q.y0,q.x0),ag(q.y1,q.x1),!d),t.arc(u,h,r,ag(q.cy+q.y1,q.cx+q.x1),ag(U.cy+U.y1,U.cx+U.x1),d),X>0&&t.arc(u+U.cx,h+U.cy,X,ag(U.y1,U.x1),ag(U.y0,U.x0),!d))}else t.lineTo(u+P,h+L),t.arc(u,h,r,c,l,d);else t.lineTo(u+P,h+L)}else t.moveTo(u,h);t.closePath()}}}var yg=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return t}(),vg=function(t){function e(e){return t.call(this,e)||this}return Object(o[\"c\"])(e,t),e.prototype.getDefaultShape=function(){return new yg},e.prototype.buildPath=function(t,e){gg(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Va);vg.prototype.type=\"sector\";var mg=vg,bg=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),xg=function(t){function e(e){return t.call(this,e)||this}return Object(o[\"c\"])(e,t),e.prototype.getDefaultShape=function(){return new bg},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Va);xg.prototype.type=\"ring\";var Og=xg;function wg(t,e,n,i){var r,o,a,s,l=[],c=[],h=[],p=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var g=0,y=t.length;g=2){if(i){var o=wg(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],c=o[2*s+1],u=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],c[0],c[1],u[0],u[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var h=r.length;sQg[1]){if(a=!1,r)return a;var c=Math.abs(Qg[0]-Kg[1]),u=Math.abs(Kg[0]-Qg[1]);Math.min(c,u)>i.len()&&(cMath.abs(o[1])?o[0]>0?\"right\":\"left\":o[1]>0?\"bottom\":\"top\"}function Sy(t){return!t.isGroup}function _y(t){return null!=t.shape}function Cy(t,e,n){if(t&&e){var i=r(t);e.traverse((function(t){if(Sy(t)&&t.anid){var e=i[t.anid];if(e){var r=o(t);t.attr(o(e)),Gl(t,r,n,js(t).dataIndex)}}}))}function r(t){var e={};return t.traverse((function(t){Sy(t)&&t.anid&&(e[t.anid]=t)})),e}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return _y(t)&&(e.shape=Object(s[\"m\"])({},t.shape)),e}}function My(t,e){return Object(s[\"H\"])(t,(function(t){var n=t[0];n=oy(n,e.x),n=ay(n,e.x+e.width);var i=t[1];return i=oy(i,e.y),i=ay(i,e.y+e.height),[n,i]}))}function Ay(t,e){var n=oy(t.x,e.x),i=ay(t.x+t.width,e.x+e.width),r=oy(t.y,e.y),o=ay(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function ky(t,e,n){var i=Object(s[\"m\"])({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf(\"image://\")?(r.image=t.slice(8),Object(s[\"i\"])(r,n),new Za(i)):py(t.replace(\"path://\",\"\"),i,n,\"center\")}function Iy(t,e,n,i,r){for(var o=0,a=r[r.length-1];o1)return!1;var y=Dy(p,f,u,h)/d;return!(y<0||y>1)}function Dy(t,e,n,i){return t*i-n*e}function Py(t){return t<=1e-6&&t>=-1e-6}function Ly(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=Object(s[\"C\"])(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,l={componentType:o,name:i,$vars:[\"name\"]};l[o+\"Index\"]=a;var c=t.formatterParamsExtra;c&&Object(s[\"k\"])(Object(s[\"F\"])(c),(function(t){Object(s[\"q\"])(l,t)||(l[t]=c[t],l.$vars.push(t))}));var u=js(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:Object(s[\"i\"])({content:i,formatterParams:l},r)}}function Ry(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function Ey(t,e){if(t)if(Object(s[\"t\"])(t))for(var n=0;n=0?h():u=setTimeout(h,-r),l=i};return d.clear=function(){u&&(clearTimeout(u),u=null)},d.debounceNextCall=function(t){s=t},d}function Ky(t,e,n,i){var r=t[e];if(r){var o=r[Yy]||r,a=r[Uy],s=r[qy];if(s!==n||a!==i){if(null==n||!i)return t[e]=o;r=t[e]=Zy(o,n,\"debounce\"===i),r[Yy]=o,r[Uy]=i,r[qy]=n}return r}}function Qy(t,e){var n=t[e];n&&n[Yy]&&(n.clear&&n.clear(),t[e]=n[Yy])}var Jy=Ar(),$y={itemStyle:to(Oc,!0),lineStyle:to(mc,!0)},tv={lineStyle:\"stroke\",itemStyle:\"fill\"};function ev(t,e){var n=t.visualStyleMapper||$y[e];return n||$y.itemStyle}function nv(t,e){var n=t.visualDrawType||tv[e];return n||\"fill\"}var iv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||\"itemStyle\",r=t.getModel(i),o=ev(t,i),a=o(r),l=r.getShallow(\"decal\");l&&(n.setVisual(\"decal\",l),l.dirty=!0);var c=nv(t,i),u=a[c],h=Object(s[\"w\"])(u)?u:null,d=\"auto\"===a.fill||\"auto\"===a.stroke;if(!a[c]||h||d){var p=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[c]||(a[c]=p,n.setVisual(\"colorFromPalette\",!0)),a.fill=\"auto\"===a.fill||Object(s[\"w\"])(a.fill)?p:a.fill,a.stroke=\"auto\"===a.stroke||Object(s[\"w\"])(a.stroke)?p:a.stroke}if(n.setVisual(\"style\",a),n.setVisual(\"drawType\",c),!e.isSeriesFiltered(t)&&h)return n.setVisual(\"colorFromPalette\",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=Object(s[\"m\"])({},a);r[c]=h(i),e.setItemVisual(n,\"style\",r)}}}},rv=new _c,ov={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||\"itemStyle\",r=ev(t,i),o=n.getVisual(\"drawType\");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){rv.option=n[i];var a=r(rv),l=t.ensureUniqueItemVisual(e,\"style\");Object(s[\"m\"])(l,a),rv.option.decal&&(t.setItemVisual(e,\"decal\",rv.option.decal),rv.option.decal.dirty=!0),o in a&&t.setItemVisual(e,\"colorFromPalette\",!1)}}:null}}}},av={performRawSeries:!0,overallReset:function(t){var e=Object(s[\"f\"])();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+\"-\"+n,r=e.get(i);r||(r={},e.set(i,r)),Jy(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Jy(e).scope,a=e.visualStyleAccessPath||\"itemStyle\",s=nv(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t],l=r.getItemVisual(a,\"colorFromPalette\");if(l){var c=r.ensureUniqueItemVisual(a,\"style\"),u=n.getName(t)||t+\"\",h=n.count();c[s]=e.getColorFromPalette(u,o,h)}}))}}))}},sv=Math.PI;function lv(t,e){e=e||{},s[\"i\"](e,{text:\"loading\",textColor:\"#000\",fontSize:12,fontWeight:\"normal\",fontStyle:\"normal\",fontFamily:\"sans-serif\",maskColor:\"rgba(255, 255, 255, 0.8)\",showSpinner:!0,color:\"#5470c6\",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new wi,i=new rs({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new ws({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new rs({style:{fill:\"none\"},textContent:o,textConfig:{position:\"right\",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&(r=new Vg({shape:{startAngle:-sv/2,endAngle:-sv/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:\"round\",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),r.animateShape(!0).when(1e3,{endAngle:3*sv/2}).start(\"circularInOut\"),r.animateShape(!0).when(1e3,{startAngle:3*sv/2}).delay(300).start(\"circularInOut\"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),c=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:c}),a.setShape({x:l-s,y:c-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var cv=function(){function t(t,e,n,i){this._stageTaskMap=Object(s[\"f\"])(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=r?n.step:null,a=i&&i.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),r=i.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,a=t.get(\"large\")&&r>=t.get(\"largeThreshold\"),s=\"mod\"===t.get(\"progressiveChunkMode\")?r:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=Object(s[\"f\"])();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;Object(s[\"k\"])(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),o=\"\";Object(s[\"b\"])(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}Object(s[\"k\"])(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),c=l.seriesTaskMap,u=l.overallTask;if(u){var h,d=u.agentStubMap;d.each((function(t){a(i,t)&&(t.dirty(),h=!0)})),h&&u.dirty(),o.updatePayload(u,n);var p=o.getPerformArgs(u,i.block);d.each((function(t){t.perform(p)})),u.perform(p)&&(r=!0)}else c&&c.each((function(s,l){a(i,s)&&s.dirty();var c=o.getPerformArgs(s,i.block);c.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(c)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){\"remain\"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=Object(s[\"f\"])(),l=t.seriesType,c=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||np({plan:fv,reset:gv,count:mv}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):l?n.eachRawSeriesByType(l,u):c&&c(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||np({reset:uv});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,l=o.agentStubMap=Object(s[\"f\"])(),c=t.seriesType,u=t.getTargetSeries,h=!0,d=!1,p=\"\";function f(t){var e=t.uid,n=l.set(e,a&&a.get(e)||(d=!0,np({reset:hv,onDirty:pv})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}Object(s[\"b\"])(!t.createOnAllSeries,p),c?n.eachRawSeriesByType(c,f):u?u(n,i).each(f):(h=!1,Object(s[\"k\"])(n.getSeries(),f)),d&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return Object(s[\"w\"])(t)&&(t={overallReset:t,seriesType:bv(t)}),t.uid=Mc(\"stageHandler\"),e&&(t.visualType=e),t},t}();function uv(t){t.overallReset(t.ecModel,t.api,t.payload)}function hv(t){return t.overallProgress&&dv}function dv(){this.agent.dirty(),this.getDownstream().dirty()}function pv(){this.agent&&this.agent.dirty()}function fv(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function gv(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=ar(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Object(s[\"H\"])(e,(function(t,e){return vv(e)})):yv}var yv=vv(0);function vv(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&u===r.length-c.length){var h=r.slice(0,u);\"data\"!==h&&(e.mainType=h,e[c.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return c(s,o,\"mainType\")&&c(s,o,\"subType\")&&c(s,o,\"index\",\"componentIndex\")&&c(s,o,\"name\")&&c(s,o,\"id\")&&c(l,r,\"name\")&&c(l,r,\"dataIndex\")&&c(l,r,\"dataType\")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function c(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Lv=[\"symbol\",\"symbolSize\",\"symbolRotate\",\"symbolOffset\"],Rv=Lv.concat([\"symbolKeepAspect\"]),Ev={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual(\"legendIcon\",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&sm(l)?l:.5;var c=t.createRadialGradient(a,s,0,a,s,l);return c}function um(t,e,n){for(var i=\"radial\"===e.type?cm(t,e,n):lm(t,e,n),r=e.colorStops,o=0;o0?\"dashed\"===t?[4*e,2*e]:\"dotted\"===t?[e]:Object(s[\"z\"])(t)?[t]:Object(s[\"t\"])(t)?t:null:null}function gm(t){var e=t.style,n=e.lineDash&&e.lineWidth>0&&fm(e.lineDash,e.lineWidth),i=e.lineDashOffset;if(n){var r=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;r&&1!==r&&(n=Object(s[\"H\"])(n,(function(t){return t/r})),i/=r)}return[n,i]}var ym=new ga(!0);function vm(t){var e=t.stroke;return!(null==e||\"none\"===e||!(t.lineWidth>0))}function mm(t){return\"string\"===typeof t&&\"none\"!==t}function bm(t){var e=t.fill;return null!=e&&\"none\"!==e}function xm(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function Om(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function wm(t,e,n){var i=ao(e.image,e.__image,n);if(lo(i)){var r=t.createPattern(i,e.repeat||\"repeat\");if(\"function\"===typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*s[\"a\"]),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}function jm(t,e,n,i){var r,o=vm(n),a=bm(n),s=n.strokePercent,l=s<1,c=!e.path;e.silent&&!l||!c||e.createPathProxy();var u=e.path||ym,h=e.__dirty;if(!i){var d=n.fill,p=n.stroke,f=a&&!!d.colorStops,g=o&&!!p.colorStops,y=a&&!!d.image,v=o&&!!p.image,m=void 0,b=void 0,x=void 0,O=void 0,w=void 0;(f||g)&&(w=e.getBoundingRect()),f&&(m=h?um(t,d,w):e.__canvasFillGradient,e.__canvasFillGradient=m),g&&(b=h?um(t,p,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=b),y&&(x=h||!e.__canvasFillPattern?wm(t,d,e):e.__canvasFillPattern,e.__canvasFillPattern=x),v&&(O=h||!e.__canvasStrokePattern?wm(t,p,e):e.__canvasStrokePattern,e.__canvasStrokePattern=x),f?t.fillStyle=m:y&&(x?t.fillStyle=x:a=!1),g?t.strokeStyle=b:v&&(O?t.strokeStyle=O:o=!1)}var j,S,_=e.getGlobalScale();u.setScale(_[0],_[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(r=gm(e),j=r[0],S=r[1]);var C=!0;(c||h&Jt)&&(u.setDPR(t.dpr),l?u.setContext(null):(u.setContext(t),C=!1),u.reset(),e.buildPath(u,e.shape,i),u.toStatic(),e.pathUpdated()),C&&u.rebuildPath(t,l?s:1),j&&(t.setLineDash(j),t.lineDashOffset=S),i||(n.strokeFirst?(o&&Om(t,n),a&&xm(t,n)):(a&&xm(t,n),o&&Om(t,n))),j&&t.setLineDash([])}function Sm(t,e,n){var i=e.__image=ao(n.image,e.__image,e,e.onload);if(i&&lo(i)){var r=n.x||0,o=n.y||0,a=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=i.width,s=i.height),n.sWidth&&n.sHeight){var c=n.sx||0,u=n.sy||0;t.drawImage(i,c,u,n.sWidth,n.sHeight,r,o,a,s)}else if(n.sx&&n.sy){c=n.sx,u=n.sy;var h=a-c,d=s-u;t.drawImage(i,c,u,h,d,r,o,a,s)}else t.drawImage(i,r,o,a,s)}}function _m(t,e,n){var i,r=n.text;if(null!=r&&(r+=\"\"),r){t.font=n.font||Qn[\"a\"],t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(i=gm(e),o=i[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(vm(n)&&t.strokeText(r,n.x,n.y),bm(n)&&t.fillText(r,n.x,n.y)):(bm(n)&&t.fillText(r,n.x,n.y),vm(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}var Cm=[\"shadowBlur\",\"shadowOffsetX\",\"shadowOffsetY\"],Mm=[[\"lineCap\",\"butt\"],[\"lineJoin\",\"miter\"],[\"miterLimit\",10]];function Am(t,e,n,i,r){var o=!1;if(!i&&(n=n||{},e===n))return!1;if(i||e.opacity!==n.opacity){Nm(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Co.opacity:a}(i||e.blend!==n.blend)&&(o||(Nm(t,r),o=!0),t.globalCompositeOperation=e.blend||Co.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[wb])if(this._disposed)nx(this.id);else{var i,r,o;if(Object(s[\"A\"])(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[wb]=!0,!this._model||e){var a=new Jh(this._api),l=this._theme,c=this._model=new Nh;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,l,this._locale,a)}this._model.setOption(t,{replaceMerge:r},ax);var u={seriesTransition:o,optionChanged:!0};if(n)this[jb]={silent:i,updateParams:u},this[wb]=!1,this.getZr().wakeUp();else{try{Pb(this),Eb.update.call(this,null,u)}catch(h){throw this[jb]=null,this[wb]=!1,h}this._ssr||this._zr.flush(),this[jb]=null,this[wb]=!1,zb.call(this,i),Vb.call(this,i)}}},e.prototype.setTheme=function(){kh(\"ECharts#setTheme() is DEPRECATED in ECharts 3.0\")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||a[\"a\"].hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get(\"backgroundColor\"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(a[\"a\"].svgSupported){var t=this._zr,e=t.storage.getDisplayList();return Object(s[\"k\"])(e,(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,i=[],r=this;Object(s[\"k\"])(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o=\"svg\"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL(\"image/\"+(t&&t.type||\"png\"));return Object(s[\"k\"])(i,(function(t){t.group.ignore=!1})),o}nx(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e=\"svg\"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(hx[n]){var a=o,l=o,c=-o,u=-o,h=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();Object(s[\"k\"])(ux,(function(o,d){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(Object(s[\"d\"])(t)),f=o.getDom().getBoundingClientRect();a=i(f.left,a),l=i(f.top,l),c=r(f.right,c),u=r(f.bottom,u),h.push({dom:p,left:f.left,top:f.top})}})),a*=d,l*=d,c*=d,u*=d;var p=c-a,f=u-l,g=Qn[\"d\"].createCanvas(),y=Ai(g,{renderer:e?\"svg\":\"canvas\"});if(y.resize({width:p,height:f}),e){var v=\"\";return Object(s[\"k\"])(h,(function(t){var e=t.left-a,n=t.top-l;v+=''+t.dom+\"\"})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new rs({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),Object(s[\"k\"])(h,(function(t){var e=new Za({style:{x:t.left*d-a,y:t.top*d-l,image:t.dom}});y.add(e)})),y.refreshImmediately(),g.toDataURL(\"image/\"+(t&&t.type||\"png\"))}return this.getDataURL(t)}nx(this.id)},e.prototype.convertToPixel=function(t,e){return Bb(this,\"convertToPixel\",t,e)},e.prototype.convertFromPixel=function(t,e){return Bb(this,\"convertFromPixel\",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=this._model,r=Ir(i,t);return Object(s[\"k\"])(r,(function(t,i){i.indexOf(\"Models\")>=0&&Object(s[\"k\"])(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if(\"seriesModels\"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n}nx(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,i=Ir(n,t,{defaultMainType:\"series\"}),r=i.seriesModel;var o=r.getData(),a=i.hasOwnProperty(\"dataIndexInside\")?i.dataIndexInside:i.hasOwnProperty(\"dataIndex\")?o.indexOfRawIndex(i.dataIndex):null;return null!=a?Fv(o,a,e):Nv(o,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;Object(s[\"k\"])(ex,(function(e){var n=function(n){var i,r=t.getModel(),o=n.target,a=\"globalout\"===e;if(a?i={}:o&&Wv(o,(function(t){var e=js(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return i=Object(s[\"m\"])({},e.eventData),!0}),!0),i){var l=i.componentType,c=i.componentIndex;\"markLine\"!==l&&\"markPoint\"!==l&&\"markArea\"!==l||(l=\"series\",c=i.seriesIndex);var u=l&&null!=c&&r.getComponent(l,c),h=u&&t[\"series\"===u.mainType?\"_chartsMap\":\"_componentsMap\"][u.__viewId];0,i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:u,view:h},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),Object(s[\"k\"])(rx,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),Object(s[\"k\"])([\"selectchanged\"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),Hv(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?nx(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)nx(this.id);else{this._disposed=!0;var t=this.getDom();t&&Rr(this.getDom(),px,\"\");var e=this,n=e._api,i=e._model;Object(s[\"k\"])(e._componentsViews,(function(t){t.dispose(i,n)})),Object(s[\"k\"])(e._chartsViews,(function(t){t.dispose(i,n)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete ux[e.id]}},e.prototype.resize=function(t){if(!this[wb])if(this._disposed)nx(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption(\"media\"),i=t&&t.silent;this[jb]&&(null==i&&(i=this[jb].silent),n=!0,this[jb]=null),this[wb]=!0;try{n&&Pb(this),Eb.update.call(this,{type:\"resize\",animation:Object(s[\"m\"])({duration:0},t&&t.animation)})}catch(r){throw this[wb]=!1,r}this[wb]=!1,zb.call(this,i),Vb.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)nx(this.id);else if(Object(s[\"A\"])(t)&&(e=t,t=\"\"),t=t||\"default\",this.hideLoading(),cx[t]){var n=cx[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?nx(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=Object(s[\"m\"])({},t);return e.type=rx[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)nx(this.id);else if(Object(s[\"A\"])(e)||(e={silent:!!e}),ix[t.type]&&this._model)if(this[wb])this._pendingActions.push(t);else{var n=e.silent;Nb.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&a[\"a\"].browser.weChat&&this._throttledZrFlush(),zb.call(this,n),Vb.call(this,n)}},e.prototype.updateLabelLayout=function(){eb.trigger(\"series:layoutlabels\",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)nx(this.id);else{var e=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(e);0,i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){var e=[],n=[],i=!1;if(t.eachComponent((function(t,r){var o=r.get(\"zlevel\")||0,a=r.get(\"z\")||0,s=r.getZLevelKey();i=i||!!s,(\"series\"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),i){var r,o,a=e.concat(n);Zt(a,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),Object(s[\"k\"])(a,(function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=\"\"),r=i,n.setZLevel(i)}))}}function n(t){for(var e=[],n=t.currentStates,i=0;ie.get(\"hoverLayerThreshold\")&&!a[\"a\"].node&&!a[\"a\"].worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function r(t,e){var n=t.get(\"blendMode\")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}function l(t,e){if(!t.preventAutoZ){var n=t.get(\"z\")||0,i=t.get(\"zlevel\")||0;e.eachRendered((function(t){return c(t,n,i,-1/0),!0}))}}function c(t,e,n,i){var r=t.getTextContent(),o=t.getTextGuideLine(),a=t.isGroup;if(a)for(var s=t.childrenRef(),l=0;l0?{duration:o,delay:i.get(\"delay\"),easing:i.get(\"easing\")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(Wl(t))return;if(t instanceof Va&&Fl(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}Pb=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Lb(t,!0),Lb(t,!1),e.plan()},Lb=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l=0)){Cx.push(n);var o=Sv.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Ax(t,e){cx[t]=e}function kx(t,e,n){var i=rb(\"registerMap\");i&&i(t,e,n)}var Ix=xp;_x(pb,iv),_x(yb,ov),_x(yb,av),_x(pb,Ev),_x(yb,Bv),_x(xb,$m),vx(wd),mx(sb,jd),Ax(\"default\",lv),wx({type:Es,event:Es,update:Es},s[\"L\"]),wx({type:Bs,event:Bs,update:Bs},s[\"L\"]),wx({type:Fs,event:Fs,update:Fs},s[\"L\"]),wx({type:Ns,event:Ns,update:Ns},s[\"L\"]),wx({type:zs,event:zs,update:zs},s[\"L\"]),yx(\"light\",Cv),yx(\"dark\",Dv);var Tx=[],Dx={registerPreprocessor:vx,registerProcessor:mx,registerPostInit:bx,registerPostUpdate:xx,registerUpdateLifecycle:Ox,registerAction:wx,registerCoordinateSystem:jx,registerLayout:Sx,registerVisual:_x,registerTransform:Ix,registerLoading:Ax,registerMap:kx,registerImpl:ib,PRIORITY:Ob,ComponentModel:Uu,ComponentView:Sf,SeriesModel:wf,ChartView:Xy,registerComponentModel:function(t){Uu.registerClass(t)},registerComponentView:function(t){Sf.registerClass(t)},registerSeriesModel:function(t){wf.registerClass(t)},registerChartView:function(t){Xy.registerClass(t)},registerSubTypeDefaulter:function(t,e){Uu.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){ki(t,e)}};function Px(t){Object(s[\"t\"])(t)?Object(s[\"k\"])(t,(function(t){Px(t)})):Object(s[\"r\"])(Tx,t)>=0||(Tx.push(t),Object(s[\"w\"])(t)&&(t={install:t}),t.install(Dx))}var Lx=2*Math.PI,Rx=ga.CMD,Ex=[\"top\",\"right\",\"bottom\",\"left\"];function Bx(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case\"top\":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case\"bottom\":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case\"left\":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case\"right\":i.set(n.x+o+e,n.y+a/2),r.set(1,0);break}}function Fx(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var c=Math.sqrt(a*a+s*s);a/=c,s/=c;var u=a*n+t,h=s*n+e;if(Math.abs(i-r)%Lx<1e-4)return l[0]=u,l[1]=h,c-n;if(o){var d=i;i=xa(r),r=xa(d)}else i=xa(i),r=xa(r);i>r&&(r+=Lx);var p=Math.atan2(s,a);if(p<0&&(p+=Lx),p>=i&&p<=r||p+Lx>=i&&p+Lx<=r)return l[0]=u,l[1]=h,c-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(f-a)*(f-a)+(g-s)*(g-s),b=(y-a)*(y-a)+(v-s)*(v-s);return m0){e=e/180*Math.PI,Wx.fromArray(t[0]),Xx.fromArray(t[1]),Yx.fromArray(t[2]),vt.sub(qx,Wx,Xx),vt.sub(Ux,Yx,Xx);var n=qx.len(),i=Ux.len();if(!(n<.001||i<.001)){qx.scale(1/n),Ux.scale(1/i);var r=qx.dot(Ux),o=Math.cos(e);if(o1&&vt.copy(Qx,Yx),Qx.toArray(t[1])}}}}function $x(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,Wx.fromArray(t[0]),Xx.fromArray(t[1]),Yx.fromArray(t[2]),vt.sub(qx,Xx,Wx),vt.sub(Ux,Yx,Xx);var i=qx.len(),r=Ux.len();if(!(i<.001||r<.001)){qx.scale(1/i),Ux.scale(1/r);var o=qx.dot(e),a=Math.cos(n);if(o=l)vt.copy(Qx,Yx);else{Qx.scaleAndAdd(Ux,s/Math.tan(Math.PI/2-u));var h=Yx.x!==Xx.x?(Qx.x-Xx.x)/(Yx.x-Xx.x):(Qx.y-Xx.y)/(Yx.y-Xx.y);if(isNaN(h))return;h<0?vt.copy(Qx,Xx):h>1&&vt.copy(Qx,Yx)}Qx.toArray(t[1])}}}}function tO(t,e,n,i){var r=\"normal\"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get(\"smooth\");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel(\"lineStyle\").getLineStyle();r?t.useStyle(s):o.style=s}function eO(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=x(i[0],i[1]),o=x(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=j([],i[1],i[0],a/r),l=j([],i[1],i[2],a/o),c=j([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],c[0],c[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var u=1;u0&&o&&w(-h/a,0,a);var y,v,m=t[0],b=t[a-1];return x(),y<0&&j(-y,.8),v<0&&j(v,.8),x(),O(y,v,1),O(v,y,-1),x(),y<0&&S(-y),v<0&&S(v),c}function x(){y=m.rect[e]-i,v=r-b.rect[e]-b.rect[n]}function O(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,a);var r=i+t;r<0&&j(-r*n,1)}else j(-t*n,1)}}function w(n,i,r){0!==n&&(c=!0);for(var o=i;o0)for(l=0;l0;l--){d=o[l-1]*h;w(-d,l,a)}}}function S(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?w(n,0,i+1):w(-n,a-i-1,a),t-=n,t<=0)return}}function aO(t,e,n,i){return oO(t,\"x\",\"width\",e,n,i)}function sO(t,e,n,i){return oO(t,\"y\",\"height\",e,n,i)}function lO(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Mt(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState(\"emphasis\");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(r.oldLayoutSelect),Object(s[\"r\"])(h,\"emphasis\")>=0&&n.attr(r.oldLayoutEmphasis)),Gl(n,c,e,l)}else if(n.attr(c),!uc(n).valueAnimation){var d=Object(s[\"P\"])(n.style.opacity,1);n.style.opacity=0,Hl(n,{style:{opacity:d}},e,l)}if(r.oldLayout=c,n.states.select){var p=r.oldLayoutSelect={};gO(p,c,yO),gO(p,n.states.select,yO)}if(n.states.emphasis){var f=r.oldLayoutEmphasis={};gO(f,c,yO),gO(f,n.states.emphasis,yO)}dc(n,l,u,e,e)}if(i&&!i.ignore&&!i.invisible){r=fO(i),o=r.oldLayout;var g={points:i.shape.points};o?(i.attr({shape:o}),Gl(i,{shape:g},e)):(i.setShape(g),i.style.strokePercent=0,Hl(i,{style:{strokePercent:1}},e)),r.oldLayout=g}},t}(),mO=vO,bO=Ar();function xO(t){t.registerUpdateLifecycle(\"series:beforeupdate\",(function(t,e,n){var i=bO(e).labelManager;i||(i=bO(e).labelManager=new mO),i.clearLabels()})),t.registerUpdateLifecycle(\"series:layoutlabels\",(function(t,e,n){var i=bO(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}function OO(t,e,n){var i=Qn[\"d\"].createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position=\"absolute\",a.left=\"0\",a.top=\"0\",a.width=r+\"px\",a.height=o+\"px\",i.setAttribute(\"data-zr-dom-id\",t)),i.width=r*n,i.height=o*n,i}Px(xO);var wO=function(t){function e(e,n,i){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,i=i||Ln,\"string\"===typeof e?r=OO(e,n,i):s[\"A\"](e)&&(r=e,e=r.id),o.id=e,o.dom=r;var a=r.style;return a&&(s[\"j\"](r),r.onselectstart=function(){return!1},a.padding=\"0\",a.margin=\"0\",a.borderWidth=\"0\"),o.painter=n,o.dpr=i,o}return Object(o[\"c\"])(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext(\"2d\"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=OO(\"back-\"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext(\"2d\"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new Mt(0,0,0,0);function c(t){if(t.isFinite()&&!t.isZero())if(0===o.length){var e=new Mt(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,c=0;c=a)}}for(var u=this.__startIndex;u15)break}}n.prevElClipPaths&&c.restore()};if(u)if(0===u.length)s=l.__endIndex;else for(var x=f.dpr,O=0;O0&&t>i[0]){for(s=0;st)break;a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?CO:0),this._needsManuallyCompositing),u.__builtin__||s[\"G\"](\"ZLevel \"+c+\" has been used by unkown layer \"+u.id),u!==a&&(u.__used=!0,u.__startIndex!==o&&(u.__dirty=!0),u.__startIndex=o,u.incremental?u.__drawIndex=-1:u.__drawIndex=o,e(o),a=u),i.__dirty&Kt&&!i.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=o))}e(o),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,s[\"k\"](this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?s[\"I\"](n[t],e,!0):n[t]=e;for(var i=0;i=EO:-l>=EO),d=l>0?l%EO:l%EO+EO,p=!1;p=!!h||!Object(Fe[\"j\"])(u)&&d>=RO===!!c;var f=t+n*LO(o),g=e+i*PO(o);this._start&&this._add(\"M\",f,g);var y=Math.round(r*BO);if(h){var v=1/this._p,m=(c?1:-1)*(EO-v);this._add(\"A\",n,i,y,1,+c,t+n*LO(o+m),e+i*PO(o+m)),v>.01&&this._add(\"A\",n,i,y,0,+c,f,g)}else{var b=t+n*LO(a),x=e+i*PO(a);this._add(\"A\",n,i,y,+p,+c,b,x)}},t.prototype.rect=function(t,e,n,i){this._add(\"M\",t,e),this._add(\"l\",n,0),this._add(\"l\",0,i),this._add(\"l\",-n,0),this._add(\"Z\")},t.prototype.closePath=function(){this._d.length>0&&this._add(\"Z\")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var c=[],u=this._p,h=1;h\"}function tw(t){return\"\"}function ew(t,e){e=e||{};var n=e.newline?\"\\n\":\"\";function i(t){var e=t.children,r=t.tag,o=t.attrs;return $O(r,o)+W(t.text)+(e?\"\"+n+Object(s[\"H\"])(e,(function(t){return i(t)})).join(n)+n:\"\")+tw(r)}return i(t)}function nw(t,e,n){n=n||{};var i=n.newline?\"\\n\":\"\",r=\" {\"+i,o=i+\"}\",a=Object(s[\"H\"])(Object(s[\"F\"])(t),(function(e){return e+r+Object(s[\"H\"])(Object(s[\"F\"])(t[e]),(function(n){return n+\":\"+t[e][n]+\";\"})).join(i)+o})).join(i),l=Object(s[\"H\"])(Object(s[\"F\"])(e),(function(t){return\"@keyframes \"+t+r+Object(s[\"H\"])(Object(s[\"F\"])(e[t]),(function(n){return n+r+Object(s[\"H\"])(Object(s[\"F\"])(e[t][n]),(function(i){var r=e[t][n][i];return\"d\"===i&&(r='path(\"'+r+'\")'),i+\":\"+r+\";\"})).join(i)+o})).join(i)+o})).join(i);return a||l?[\"\"].join(i):\"\"}function iw(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function rw(t,e,n,i){return JO(\"svg\",\"root\",{width:t,height:e,xmlns:qO,\"xmlns:xlink\":UO,version:\"1.1\",baseProfile:\"full\",viewBox:!!i&&\"0 0 \"+t+\" \"+e},n)}var ow={cubicIn:\"0.32,0,0.67,0\",cubicOut:\"0.33,1,0.68,1\",cubicInOut:\"0.65,0,0.35,1\",quadraticIn:\"0.11,0,0.5,0\",quadraticOut:\"0.5,1,0.89,1\",quadraticInOut:\"0.45,0,0.55,1\",quarticIn:\"0.5,0,0.75,0\",quarticOut:\"0.25,1,0.5,1\",quarticInOut:\"0.76,0,0.24,1\",quinticIn:\"0.64,0,0.78,0\",quinticOut:\"0.22,1,0.36,1\",quinticInOut:\"0.83,0,0.17,1\",sinusoidalIn:\"0.12,0,0.39,0\",sinusoidalOut:\"0.61,1,0.88,1\",sinusoidalInOut:\"0.37,0,0.63,1\",exponentialIn:\"0.7,0,0.84,0\",exponentialOut:\"0.16,1,0.3,1\",exponentialInOut:\"0.87,0,0.13,1\",circularIn:\"0.55,0,1,0.45\",circularOut:\"0,0.55,0.45,1\",circularInOut:\"0.85,0,0.15,1\"},aw=\"transform-origin\";function sw(t,e,n){var i=Object(s[\"m\"])({},t.shape);Object(s[\"m\"])(i,e),t.buildPath(n,i);var r=new NO;return r.reset(Object(Fe[\"f\"])(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function lw(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[aw]=n+\"px \"+i+\"px\")}var cw={fill:\"fill\",opacity:\"opacity\",lineWidth:\"stroke-width\",lineDashOffset:\"stroke-dashoffset\"};function uw(t,e){var n=e.zrId+\"-ani-\"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function hw(t,e,n){var i,r,o=t.shape.paths,a={};if(Object(s[\"k\"])(o,(function(t){var e=iw(n.zrId);e.animation=!0,pw(t,{},e,!0);var o=e.cssAnims,l=e.cssNodes,c=Object(s[\"F\"])(o),u=c.length;if(u){r=c[u-1];var h=o[r];for(var d in h){var p=h[d];a[d]=a[d]||{d:\"\"},a[d].d+=p.d||\"\"}for(var f in l){var g=l[f].animation;g.indexOf(r)>=0&&(i=g)}}})),i){e.d=!1;var l=uw(a,n);return i.replace(r,l)}}function dw(t){return Object(s[\"C\"])(t)?ow[t]?\"cubic-bezier(\"+ow[t]+\")\":Le(t)?t:\"\":\"\"}function pw(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof Hg){var l=hw(t,e,n);if(l)a.push(l);else if(!o)return}else if(!o)return;for(var c={},u=0;u0})).length){var I=uw(h,n);return I+\" \"+r[0]+\" both\"}}for(var v in c){l=y(c[v]);l&&a.push(l)}if(a.length){var m=n.zrId+\"-cls-\"+n.cssClassIdx++;n.cssNodes[\".\"+m]={animation:a.join(\",\")},e[\"class\"]=m}}var fw=Math.round;function gw(t){return t&&Object(s[\"C\"])(t.src)}function yw(t){return t&&Object(s[\"w\"])(t.toDataURL)}function vw(t,e,n,i){YO((function(r,o){var a=\"fill\"===r||\"stroke\"===r;a&&Object(Fe[\"k\"])(o)?Tw(e,t,r,i):a&&Object(Fe[\"n\"])(o)?Dw(n,t,r,i):t[r]=o}),e,n,!1),Iw(n,t,i)}function mw(t){return Object(Fe[\"j\"])(t[0]-1)&&Object(Fe[\"j\"])(t[1])&&Object(Fe[\"j\"])(t[2])&&Object(Fe[\"j\"])(t[3]-1)}function bw(t){return Object(Fe[\"j\"])(t[4])&&Object(Fe[\"j\"])(t[5])}function xw(t,e,n){if(e&&(!bw(e)||!mw(e))){var i=n?10:1e4;t.transform=mw(e)?\"translate(\"+fw(e[4]*i)/i+\" \"+fw(e[5]*i)/i+\")\":Object(Fe[\"e\"])(e)}}function Ow(t,e,n){for(var i=t.points,r=[],o=0;oc?(a=null==n[d+1]?null:n[d+1].elm,Zw(t,a,n,l,d)):Kw(t,e,s,c))}function $w(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(Qw(t,e),Ww(e.text)?Xw(i)&&Xw(r)?i!==r&&Jw(n,i,r):Xw(r)?(Xw(t.text)&&zw(n,\"\"),Zw(n,null,r,0,r.length-1)):Xw(i)?Kw(n,i,0,i.length-1):Xw(t.text)&&zw(n,\"\"):t.text!==e.text&&(Xw(i)&&Kw(n,i,0,i.length-1),zw(n,e.text)))}function tj(t,e){if(qw(t,e))$w(t,e);else{var n=t.elm,i=Fw(n);Uw(e),null!==i&&(Rw(i,e.elm,Nw(n)),Kw(i,[t],0,0))}return e}var ej=0,nj=function(){function t(t,e,n){if(this.type=\"svg\",this.refreshHover=ij(\"refreshHover\"),this.configLayer=ij(\"configLayer\"),this.storage=e,this._opts=n=Object(s[\"m\"])({},n),this.root=t,this._id=\"zr\"+ej++,this._oldVNode=rw(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement(\"div\");i.style.cssText=\"position:relative;overflow:hidden\";var r=this._svgDom=this._oldVNode.elm=QO(\"svg\");Qw(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style=\"position:absolute;left:0;top:0;user-select:none\",tj(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return kw(t,iw(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=iw(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress;var o=[],a=this._bgVNode=rj(n,i,this._backgroundColor,r);a&&o.push(a);var l=t.compress?null:this._mainVNode=JO(\"g\",\"main\",{},[]);this._paintList(e,r,l?l.children:o),l&&o.push(l);var c=Object(s[\"H\"])(Object(s[\"F\"])(r.defs),(function(t){return r.defs[t]}));if(c.length&&o.push(JO(\"defs\",\"defs\",{},c)),t.animation){var u=nw(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=JO(\"style\",\"stl\",{},[],u);o.push(h)}}return rw(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},ew(this.renderToVNode({animation:Object(s[\"P\"])(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(s[\"P\"])(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,c=0;c=0;f--)if(h&&r&&h[f]===r[f])break;for(var g=p-1;g>f;g--)s--,i=a[s-1];for(var y=f+1;y1){var c=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(c,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,\"_oldKeyGetter\"),this._initIndexMap(e,i,o,\"_newKeyGetter\");for(var a=0;a1&&1===h)this._updateManyToOne&&this._updateManyToOne(c,l),i[s]=null;else if(1===u&&h>1)this._updateOneToMany&&this._updateOneToMany(c,l),i[s]=null;else if(1===u&&1===h)this._update&&this._update(c,l),i[s]=null;else if(u>1&&h>1)this._updateManyToMany&&this._updateManyToMany(c,l),i[s]=null;else if(u>1)for(var d=0;d1)for(var a=0;a30}var _j,Cj,Mj,Aj,kj,Ij,Tj,Dj=s[\"A\"],Pj=s[\"H\"],Lj=\"undefined\"===typeof Int32Array?Array:Int32Array,Rj=\"e\\0\\0\",Ej=-1,Bj=[\"hasItemOption\",\"_nameList\",\"_idList\",\"_invertedIndicesMap\",\"_dimSummary\",\"userOutput\",\"_rawData\",\"_dimValueGetter\",\"_nameDimIdx\",\"_idDimIdx\",\"_nameRepeatCount\"],Fj=[\"_approximateExtent\"],Nj=function(){function t(t,e){var n;this.type=\"list\",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=[\"cloneShallow\",\"downSample\",\"lttbDownSample\",\"map\"],this.CHANGABLE_METHODS=[\"filterSelf\",\"selectRange\"],this.DOWNSAMPLE_METHODS=[\"downSample\",\"lttbDownSample\"];var i=!1;Oj(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||[\"x\",\"y\"];for(var r={},o=[],a={},l=!1,c={},u=0;u=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList,a=i.getSource().sourceFormat,s=a===$u;if(s&&!i.pure)for(var l=[],c=t;c0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),s[\"t\"](r)?r=r.slice():Dj(r)&&(r=s[\"m\"]({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Dj(e)?s[\"m\"](i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){Dj(t)?s[\"m\"](this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?s[\"m\"](this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;Ss(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){s[\"k\"](this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:Pj(this.dimensions,this._getDimInfo,this),this.hostModel)),kj(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];s[\"w\"](n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(s[\"S\"](arguments)))})},t.internalField=function(){_j=function(t){var e=t._invertedIndicesMap;s[\"k\"](e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new Lj(o.categories.length);for(var s=0;s1&&(s+=\"__ec__\"+c),i[e]=s}}}(),t}(),zj=Nj;function Vj(t,e){Td(t)||(t=Pd(t)),e=e||{};var n=e.coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=Object(s[\"f\"])(),o=[],a=Hj(t,n,i,e.dimensionsCount),l=e.canOmitUnusedDimensions&&Sj(a),c=i===t.dimensionsDefine,u=c?jj(t):wj(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var d=Object(s[\"f\"])(h),p=new Ap(a),f=0;f0&&(i.name=r+(o-1)),o++,e.set(r,o)}}function Hj(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return Object(s[\"k\"])(e,(function(t){var e;Object(s[\"A\"])(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}function Wj(t,e,n){if(n||e.hasKey(t)){var i=0;while(e.hasKey(t+i))i++;t+=i}return e.set(t,!0),t}var Xj=function(){function t(t){this.coordSysDims=[],this.axisMap=Object(s[\"f\"])(),this.categoryAxisMap=Object(s[\"f\"])(),this.coordSysName=t}return t}();function Yj(t){var e=t.get(\"coordinateSystem\"),n=new Xj(e),i=qj[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}var qj={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents(\"xAxis\",Dr).models[0],o=t.getReferringComponents(\"yAxis\",Dr).models[0];e.coordSysDims=[\"x\",\"y\"],n.set(\"x\",r),n.set(\"y\",o),Uj(r)&&(i.set(\"x\",r),e.firstCategoryDimIndex=0),Uj(o)&&(i.set(\"y\",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents(\"singleAxis\",Dr).models[0];e.coordSysDims=[\"single\"],n.set(\"single\",r),Uj(r)&&(i.set(\"single\",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents(\"polar\",Dr).models[0],o=r.findAxisModel(\"radiusAxis\"),a=r.findAxisModel(\"angleAxis\");e.coordSysDims=[\"radius\",\"angle\"],n.set(\"radius\",o),n.set(\"angle\",a),Uj(o)&&(i.set(\"radius\",o),e.firstCategoryDimIndex=0),Uj(a)&&(i.set(\"angle\",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=[\"lng\",\"lat\"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent(\"parallel\",t.get(\"parallelIndex\")),a=e.coordSysDims=o.dimensions.slice();Object(s[\"k\"])(o.parallelAxisIndex,(function(t,o){var s=r.getComponent(\"parallelAxis\",t),l=a[o];n.set(l,s),Uj(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function Uj(t){return\"category\"===t.get(\"type\")}function Zj(t,e,n){n=n||{};var i,r,o,a=n.byIndex,l=n.stackedCoordDimension;Kj(e)?i=e:(r=e.schema,i=r.dimensions,o=e.store);var c,u,h,d,p=!(!t||!t.get(\"stack\"));if(Object(s[\"k\"])(i,(function(t,e){Object(s[\"C\"])(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||c||!t.ordinalMeta||(c=t),u||\"ordinal\"===t.type||\"time\"===t.type||l&&l!==t.coordDim||(u=t))})),!u||a||c||(a=!0),u){h=\"__\\0ecstackresult_\"+t.id,d=\"__\\0ecstackedover_\"+t.id,c&&(c.createInvertedIndices=!0);var f=u.coordDim,g=u.type,y=0;Object(s[\"k\"])(i,(function(t){t.coordDim===f&&y++}));var v={name:h,coordDim:f,coordDimIndex:y,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},m={name:d,coordDim:d,coordDimIndex:y+1,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(v.storeDimIndex=o.ensureCalculationDimension(d,g),m.storeDimIndex=o.ensureCalculationDimension(h,g)),r.appendCalculationDimension(v),r.appendCalculationDimension(m)):(i.push(v),i.push(m))}return{stackedDimension:u&&u.name,stackedByDimension:c&&c.name,isStackedByIndex:a,stackedOverDimension:d,stackResultDimension:h}}function Kj(t){return!Oj(t.schema)}function Qj(t,e){return!!e&&e===t.getCalculationInfo(\"stackedDimension\")}function Jj(t,e){return Qj(t,e)?t.getCalculationInfo(\"stackResultDimension\"):e}function $j(t,e){var n,i=t.get(\"coordinateSystem\"),r=Xh.get(i);return e&&e.coordSysDims&&(n=s[\"H\"](e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get(\"type\");n.type=fj(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||[\"x\",\"y\"]),n}function tS(t,e,n){var i,r;return n&&s[\"k\"](t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}function eS(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=Pd(t)):(i=r.getSource(),o=i.sourceFormat===$u);var a=Yj(e),l=$j(e,a),c=n.useEncodeDefaulter,u=s[\"w\"](c)?c:c?s[\"h\"](uh,l,e):null,h={coordDimensions:l,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o},d=Vj(i,h),p=tS(d.dimensions,n.createInvertedIndices,a),f=o?null:r.getSharedDataStore(d),g=Zj(e,{schema:d,store:f}),y=new zj(d,e);y.setCalculationInfo(g);var v=null!=p&&nS(i)?function(t,e,n,i){return i===p?n:this.defaultDimValueGetter(t,e,n,i)}:null;return y.hasItemOption=!1,y.initData(o?i:f,null,v),y}function nS(t){if(t.sourceFormat===$u){var e=iS(t.data||[]);return!s[\"t\"](cr(e))}}function iS(t){var e=0;while(e-1&&(s.style.stroke=s.style.fill,s.style.fill=\"#fff\",s.style.lineWidth=2),e},e.type=\"series.line\",e.dependencies=[\"grid\",\"polar\"],e.defaultOption={z:3,coordinateSystem:\"cartesian2d\",legendHoverLink:!0,clip:!0,label:{position:\"top\"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:\"solid\"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:\"emptyCircle\",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:\"auto\",connectNulls:!1,sampling:\"none\",animationEasing:\"linear\",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:\"clone\"},triggerLineEvent:!1},e}(wf),aS=oS;function sS(t,e){var n=t.mapDimensionsAll(\"defaultedLabel\"),i=n.length;if(1===i){var r=Jd(t,e,n[0]);return null!=r?r+\"\":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(\" \")}var cS=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return Object(o[\"c\"])(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=rm(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=uS,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){ll(this.childAt(0))},e.prototype.downplay=function(){cl(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?\"move\":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,\"symbol\")||\"circle\",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,c=r&&r.disableAnimation;if(l){var u=t.getItemVisual(n,\"symbolKeepAspect\");this._createSymbol(o,t,n,s,u)}else{var h=this.childAt(0);h.silent=!1;var d={scaleX:s[0]/2,scaleY:s[1]/2};c?h.attr(d):Gl(h,d,a,n),Ul(h)}if(this._updateCommon(t,n,s,i,r),l){h=this.childAt(0);if(!c){d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,Hl(h,d,a,n)}}c&&this.childAt(0).stopAnimation(\"leave\")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,l,c,u,h,d,p,f,g=this.childAt(0),y=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,l=i.selectItemStyle,c=i.focus,u=i.blurScope,d=i.labelStatesModels,p=i.hoverScale,f=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var v=i&&i.itemModel?i.itemModel:t.getItemModel(e),m=v.getModel(\"emphasis\");o=m.getModel(\"itemStyle\").getItemStyle(),l=v.getModel([\"select\",\"itemStyle\"]).getItemStyle(),a=v.getModel([\"blur\",\"itemStyle\"]).getItemStyle(),c=m.get(\"focus\"),u=m.get(\"blurScope\"),h=m.get(\"disabled\"),d=tc(v),p=m.getShallow(\"scale\"),f=v.getShallow(\"cursor\")}var b=t.getItemVisual(e,\"symbolRotate\");g.attr(\"rotation\",(b||0)*Math.PI/180||0);var x=am(t.getItemVisual(e,\"symbolOffset\"),n);x&&(g.x=x[0],g.y=x[1]),f&&g.attr(\"cursor\",f);var O=t.getItemVisual(e,\"style\"),w=O.fill;if(g instanceof Za){var j=g.style;g.useStyle(Object(s[\"m\"])({image:j.image,x:j.x,y:j.y,width:j.width,height:j.height},O))}else g.__isEmptyBrush?g.useStyle(Object(s[\"m\"])({},O)):g.useStyle(O),g.style.decal=null,g.setColor(w,r&&r.symbolInnerColor),g.style.strokeNoScale=!0;var S=t.getItemVisual(e,\"liftZ\"),_=this._z2;null!=S?null==_&&(this._z2=g.z2,g.z2+=S):null!=_&&(g.z2=_,this._z2=null);var C=r&&r.useNameLabel;function M(e){return C?t.getName(e):sS(t,e)}$l(g,d,{labelFetcher:y,labelDataIndex:e,defaultText:M,inheritColor:w,defaultOpacity:O.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var A=g.ensureState(\"emphasis\");A.style=o,g.ensureState(\"select\").style=l,g.ensureState(\"blur\").style=a;var k=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;A.scaleX=this._sizeX*k,A.scaleY=this._sizeY*k,this.setSymbolScale(1),Ml(this,c,u,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=js(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&Xl(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Xl(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return om(t.getItemVisual(e,\"symbolSize\"))},e}(wi);function uS(t,e){this.parent.drift(t,e)}var hS=cS;function dS(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&\"none\"!==t.getItemVisual(n,\"symbol\")}function pS(t){return null==t||Object(s[\"A\"])(t)||(t={isIgnore:t}),t||{}}function fS(t){var e=t.hostModel,n=e.getModel(\"emphasis\");return{emphasisItemStyle:n.getModel(\"itemStyle\").getItemStyle(),blurItemStyle:e.getModel([\"blur\",\"itemStyle\"]).getItemStyle(),selectItemStyle:e.getModel([\"select\",\"itemStyle\"]).getItemStyle(),focus:n.get(\"focus\"),blurScope:n.get(\"blurScope\"),emphasisDisabled:n.get(\"disabled\"),hoverScale:n.get(\"scale\"),labelStatesModels:tc(e),cursorStyle:e.get(\"cursor\")}}var gS=function(){function t(t){this.group=new wi,this._SymbolCtor=t||hS}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=pS(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=fS(t),l={disableAnimation:a},c=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=c(i);if(dS(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(u,h){var d=r.getItemGraphicEl(h),p=c(u);if(dS(t,p,u,e)){var f=t.getItemVisual(u,\"symbol\")||\"circle\",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==f)n.remove(d),d=new o(t,u,s,l),d.setPosition(p);else{d.updateData(t,u,s,l);var y={x:p[0],y:p[1]};a?d.attr(y):Gl(d,y,i)}n.add(d),t.setItemGraphicEl(u,d)}else n.remove(d)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=c,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=fS(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState(\"emphasis\").hoverLayer=!0)}this._progressiveEls=[],n=pS(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]),n}function bS(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo(\"stackedOverDimension\"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var xS=\"undefined\"!==typeof Float32Array,OS=xS?Float32Array:Array;function wS(t){return Object(s[\"t\"])(t)?xS?new Float32Array(t):t:new OS(t)}function jS(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:\"+\",idx:t})})).update((function(t,e){n.push({cmd:\"=\",idx:e,idx1:t})})).remove((function(t){n.push({cmd:\"-\",idx:t})})).execute(),n}function SS(t,e,n,i,r,o,a,s){for(var l=jS(t,e),c=[],u=[],h=[],d=[],p=[],f=[],g=[],y=vS(r,e,a),v=t.getLayout(\"points\")||[],m=e.getLayout(\"points\")||[],b=0;b=r||g<0)break;if(MS(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?\"moveTo\":\"lineTo\"](v,m),h=v,d=m;else{var b=v-c,x=m-u;if(b*b+x*x<.5){g+=o;continue}if(a>0){var O=g+o,w=e[2*O],j=e[2*O+1];while(w===v&&j===m&&y=i||MS(w,j))p=v,f=m;else{C=w-c,M=j-u;var I=v-c,T=w-v,D=m-u,P=j-m,L=void 0,R=void 0;if(\"x\"===s){L=Math.abs(I),R=Math.abs(T);var E=C>0?1:-1;p=v-E*L*a,f=m,A=v+E*R*a,k=m}else if(\"y\"===s){L=Math.abs(D),R=Math.abs(P);var B=M>0?1:-1;p=v,f=m-B*L*a,A=v,k=m+B*R*a}else L=Math.sqrt(I*I+D*D),R=Math.sqrt(T*T+P*P),_=R/(R+L),p=v-C*a*(1-_),f=m-M*a*(1-_),A=v+C*a*_,k=m+M*a*_,A=_S(A,CS(w,v)),k=_S(k,CS(j,m)),A=CS(A,_S(w,v)),k=CS(k,_S(j,m)),C=A-v,M=k-m,p=v-C*L/R,f=m-M*L/R,p=_S(p,CS(c,v)),f=_S(f,CS(u,m)),p=CS(p,_S(c,v)),f=CS(f,_S(u,m)),C=v-p,M=m-f,A=v+C*R/L,k=m+M*R/L}t.bezierCurveTo(h,d,p,f,v,m),h=A,d=k}else t.lineTo(v,m)}c=v,u=m,g+=o}return y}var kS=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),IS=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\"ec-polyline\",n}return Object(o[\"c\"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:\"#000\",fill:null}},e.prototype.getDefaultShape=function(){return new kS},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0;r--)if(!MS(n[2*r-2],n[2*r-1]))break;for(;i=0){var m=s?(d-i)*v+i:(h-n)*v+n;return s?[t,m]:[m,t]}n=h,i=d;break;case a.C:h=o[c++],d=o[c++],p=o[c++],f=o[c++],g=o[c++],y=o[c++];var b=s?Oe(n,h,p,g,t,l):Oe(i,d,f,y,t,l);if(b>0)for(var x=0;x=0){m=s?be(i,d,f,y,O):be(n,h,p,g,O);return s?[t,m]:[m,t]}}n=g,i=y;break}}},e}(Va),TS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e}(kS),DS=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\"ec-polygon\",n}return Object(o[\"c\"])(e,t),e.prototype.getDefaultShape=function(){return new TS},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0;o--)if(!MS(n[2*o-2],n[2*o-1]))break;for(;re){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}function WS(t,e,n){var i=t.getVisual(\"visualMeta\");if(i&&i.length&&t.count()&&\"cartesian2d\"===e.type){for(var r,o,a=i.length-1;a>=0;a--){var l=t.getDimensionInfo(i[a].dimension);if(r=l&&l.coordDim,\"x\"===r||\"y\"===r){o=i[a];break}}if(o){var c=e.getAxis(r),u=s[\"H\"](o.stops,(function(t){return{coord:c.toGlobalCoord(c.dataToCoord(t.value)),color:t.color}})),h=u.length,d=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),d.reverse());var p=HS(u,\"x\"===r?n.getWidth():n.getHeight()),f=p.length;if(!f&&h)return u[0].coord<0?d[1]?d[1]:u[h-1].color:d[0]?d[0]:u[0].color;var g=10,y=p[0].coord-g,v=p[f-1].coord+g,m=v-y;if(m<.001)return\"transparent\";s[\"k\"](p,(function(t){t.offset=(t.coord-y)/m})),p.push({offset:f?p[f-1].offset:.5,color:d[1]||\"transparent\"}),p.unshift({offset:f?p[0].offset:.5,color:d[0]||\"transparent\"});var b=new qg(0,0,0,0,p,!0);return b[r]=y,b[r+\"2\"]=v,b}}}function XS(t,e,n){var i=t.get(\"showAllSymbol\"),r=\"auto\"===i;if(!i||r){var o=n.getAxesByScale(\"ordinal\")[0];if(o&&(!r||!YS(o,e))){var a=e.mapDimension(o.dim),l={};return s[\"k\"](o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);l[e]=1})),function(t){return!l.hasOwnProperty(e.get(a,t))}}}}function YS(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}function qS(t,e){return isNaN(t)||isNaN(e)}function US(t){for(var e=t.length/2;e>0;e--)if(!qS(t[2*e-2],t[2*e-1]))break;return e-1}function ZS(t,e){return[t[2*e],t[2*e+1]]}function KS(t,e,n){for(var i,r,o=t.length/2,a=\"x\"===n?0:1,s=0,l=-1,c=0;c=e||i>=e&&r<=e){l=c;break}s=c,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}function QS(t){if(t.get([\"endLabel\",\"show\"]))return!0;for(var e=0;e0&&\"bolder\"===t.get([\"emphasis\",\"lineStyle\",\"width\"])){var R=f.getState(\"emphasis\").style;R.lineWidth=+f.style.lineWidth+1}js(f).seriesIndex=t.seriesIndex,Ml(f,D,P,L);var E=zS(t.get(\"smooth\")),B=t.get(\"smoothMonotone\");if(f.setShape({smooth:E,smoothMonotone:B,connectNulls:j}),g){var F=a.getCalculationInfo(\"stackedOnSeries\"),N=0;g.useStyle(s[\"i\"](c.getAreaStyle(),{fill:A,opacity:.7,lineJoin:\"bevel\",decal:a.getVisual(\"style\").decal})),F&&(N=zS(F.get(\"smooth\"))),g.setShape({smooth:E,stackedOnSmooth:N,smoothMonotone:B,connectNulls:j}),Tl(g,t,\"areaStyle\"),js(g).seriesIndex=t.seriesIndex,Ml(g,D,P,L)}var z=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=z)})),this._polyline.onHoverStateChange=z,this._data=a,this._coordSys=r,this._stackedOnPoints=O,this._points=u,this._step=M,this._valueOrigin=b,t.get(\"triggerLineEvent\")&&(this.packEventData(t,f),g&&this.packEventData(t,g))},e.prototype.packEventData=function(t,e){js(e).eventData={componentType:\"series\",componentSubType:\"line\",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:\"line\"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=Mr(r,i);if(this._changePolyState(\"emphasis\"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout(\"points\"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],c=a[2*o+1];if(isNaN(l)||isNaN(c))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,c))return;var u=t.get(\"zlevel\")||0,h=t.get(\"z\")||0;s=new hS(r,o),s.x=l,s.y=c,s.setZ(u,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=u,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Xy.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=Mr(r,i);if(this._changePolyState(\"normal\"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Xy.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;$s(this._polyline,t),e&&$s(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new IS({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new DS({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;\"cartesian2d\"===e.type?(i=o.isHorizontal(),r=!1):\"polar\"===e.type&&(i=\"angle\"===o.dim,r=!0);var l=t.hostModel,c=l.get(\"animationDuration\");s[\"w\"](c)&&(c=c(null));var u=l.get(\"animationDelay\")||0,h=s[\"w\"](u)?u(null):u;t.eachItemGraphicEl((function(t,o){var l=t;if(l){var d=[t.x,t.y],p=void 0,f=void 0,g=void 0;if(n)if(r){var y=n,v=e.pointToCoord(d);i?(p=y.startAngle,f=y.endAngle,g=-v[1]/180*Math.PI):(p=y.r0,f=y.r,g=v[0])}else{var m=n;i?(p=m.x,f=m.x+m.width,g=t.x):(p=m.y+m.height,f=m.y,g=t.y)}var b=f===p?0:(g-p)/(f-p);a&&(b=1-b);var x=s[\"w\"](u)?u(o):c*b+h,O=l.getSymbolPath(),w=O.getTextContent();l.attr({scaleX:0,scaleY:0}),l.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:x}),O.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel(\"endLabel\");if(QS(t)){var r=t.getData(),o=this._polyline,a=r.getLayout(\"points\");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new ws({z2:200}),s.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=US(a);l>=0&&($l(o,tc(t,\"endLabel\"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?lS(r,n):sS(r,t)},enableTextSetter:!0},$S(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var c=n.getLayout(\"points\"),u=n.hostModel,h=u.get(\"connectNulls\"),d=o.get(\"precision\"),p=o.get(\"distance\")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,b=(g?p:0)*(y?-1:1),x=(g?0:-p)*(y?-1:1),O=g?\"x\":\"y\",w=KS(c,m,O),j=w.range,S=j[1]-j[0],_=void 0;if(S>=1){if(S>1&&!h){var C=ZS(c,j[0]);s.attr({x:C[0]+b,y:C[1]+x}),r&&(_=u.getRawValue(j[0]))}else{C=l.getPointOn(m,O);C&&s.attr({x:C[0]+b,y:C[1]+x});var M=u.getRawValue(j[0]),A=u.getRawValue(j[1]);r&&(_=Nr(n,d,M,A,w.t))}i.lastFrameIndex=j[0]}else{var k=1===t||i.lastFrameIndex>0?j[0]:0;C=ZS(c,k);r&&(_=u.getRawValue(k)),s.attr({x:C[0]+b,y:C[1]+x})}r&&uc(s).setLabelText(_)}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,c=t.hostModel,u=SS(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,o),h=u.current,d=u.stackedOnCurrent,p=u.next,f=u.stackedOnNext;if(r&&(h=GS(u.current,n,r,a),d=GS(u.stackedOnCurrent,n,r,a),p=GS(u.next,n,r,a),f=GS(u.stackedOnNext,n,r,a)),NS(h,p)>3e3||l&&NS(d,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=u.current,s.shape.points=h;var g={shape:{points:p}};u.current!==h&&(g.shape.__points=u.next),s.stopAnimation(),Gl(s,g,c),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),Gl(l,{shape:{stackedOnPoints:f}},c),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=u.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&\"cartesian2d\"===o.type&&r){var l=o.getBaseAxis(),c=o.getOtherAxis(l),u=l.getExtent(),h=n.getDevicePixelRatio(),d=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/d);if(isFinite(p)&&p>1){\"lttb\"===r&&t.setData(i.lttbDownSample(i.mapDimension(c.dim),1/p));var f=void 0;Object(s[\"C\"])(r)?f=i_[r]:Object(s[\"w\"])(r)&&(f=r),f&&t.setData(i.downSample(i.mapDimension(c.dim),1/p,f,r_))}}}}}function a_(t){t.registerChartView(e_),t.registerSeriesModel(aS),t.registerLayout(n_(\"line\",!0)),t.registerVisual({seriesType:\"line\",reset:function(t){var e=t.getData(),n=t.getModel(\"lineStyle\").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual(\"style\").fill),e.setVisual(\"legendLineStyle\",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,o_(\"line\"))}var s_=\"__ec_stack_\";function l_(t){return t.get(\"stack\")||s_+t.seriesIndex}function c_(t){return t.dim+t.index}function u_(t){var e=[],n=t.axis,i=\"axis0\";if(\"category\"===n.type){for(var r=n.getBandWidth(),o=0;o0&&(o=null===o?l:Math.min(o,l))}n[i]=o}}return n}function p_(t){var e=d_(t),n=[];return Object(s[\"k\"])(t,(function(t){var i,r=t.coordinateSystem,o=r.getBaseAxis(),a=o.getExtent();if(\"category\"===o.type)i=o.getBandWidth();else if(\"value\"===o.type||\"time\"===o.type){var s=o.dim+\"_\"+o.index,l=e[s],c=Math.abs(a[1]-a[0]),u=o.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=l?c/h*l:c}else{var d=t.getData();i=Math.abs(a[1]-a[0])/d.count()}var p=Li(t.get(\"barWidth\"),i),f=Li(t.get(\"barMaxWidth\"),i),g=Li(t.get(\"barMinWidth\")||(b_(t)?.5:1),i),y=t.get(\"barGap\"),v=t.get(\"barCategoryGap\");n.push({bandWidth:i,barWidth:p,barMaxWidth:f,barMinWidth:g,barGap:y,barCategoryGap:v,axisKey:c_(o),stackId:l_(t)})})),f_(n)}function f_(t){var e={};Object(s[\"k\"])(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:\"20%\",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var c=t.barMaxWidth;c&&(a[s].maxWidth=c);var u=t.barMinWidth;u&&(a[s].minWidth=u);var h=t.barGap;null!=h&&(o.gap=h);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var n={};return Object(s[\"k\"])(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=Object(s[\"F\"])(i).length;o=Math.max(35-4*a,15)+\"%\"}var l=Li(o,r),c=Li(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,d=(u-l)/(h+(h-1)*c);d=Math.max(d,0),Object(s[\"k\"])(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+c*i,h--}else{var i=d;e&&ei&&(i=n),i!==d&&(t.width=i,u-=i+c*i,h--)}})),d=(u-l)/(h+(h-1)*c),d=Math.max(d,0);var p,f=0;Object(s[\"k\"])(i,(function(t,e){t.width||(t.width=d),p=t,f+=t.width*(1+c)})),p&&(f-=p.width*c);var g=-f/2;Object(s[\"k\"])(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:g,width:t.width},g+=t.width*(1+c)}))})),n}function g_(t,e,n){if(t&&e){var i=t[c_(e)];return null!=i&&null!=n?i[l_(n)]:i}}function y_(t,e){var n=h_(t,e),i=p_(n);Object(s[\"k\"])(n,(function(t){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),o=l_(t),a=i[c_(r)][o],s=a.offset,l=a.width;e.setLayout({bandWidth:a.bandWidth,offset:s,size:l})}))}function v_(t){return{seriesType:t,plan:_f(),reset:function(t){if(m_(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get(\"showBackground\",!0),l=e.mapDimension(r.dim),c=e.getCalculationInfo(\"stackResultDimension\"),u=Qj(e,l)&&!!e.getCalculationInfo(\"stackedOnSeries\"),h=r.isHorizontal(),d=x_(i,r),p=b_(t),f=t.get(\"barMinHeight\")||0,g=c&&e.getDimensionIndex(c),y=e.getLayout(\"size\"),v=e.getLayout(\"offset\");return{progress:function(t,e){var i,r=t.count,l=p&&wS(3*r),c=p&&s&&wS(3*r),m=p&&wS(r),b=n.master.getRect(),x=h?b.width:b.height,O=e.getStore(),w=0;while(null!=(i=t.next())){var j=O.get(u?g:o,i),S=O.get(a,i),_=d,C=void 0;u&&(C=+j-O.get(o,i));var M=void 0,A=void 0,k=void 0,I=void 0;if(h){var T=n.dataToPoint([j,S]);if(u){var D=n.dataToPoint([C,S]);_=D[0]}M=_,A=T[1]+v,k=T[0]-_,I=y,Math.abs(k)a.length-1&&(s=a.length-1),s<0&&(s=0),a[s]&&(r[o]=n.toGlobalCoord(a[s].coord))}}));else{var o=this.getData(),a=o.getLayout(\"offset\"),l=o.getLayout(\"size\"),c=i.getBaseAxis().isHorizontal()?0:1;r[c]+=a+l/2}return r}return[NaN,NaN]},e.type=\"series.__base_bar__\",e.defaultOption={z:2,coordinateSystem:\"cartesian2d\",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:\"mod\"},e}(wf);wf.registerClass(O_);var w_=O_,j_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.getInitialData=function(){return rS(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get(\"realtimeSort\",!0)||null})},e.prototype.getProgressive=function(){return!!this.get(\"large\")&&this.get(\"progressive\")},e.prototype.getProgressiveThreshold=function(){var t=this.get(\"progressiveThreshold\"),e=this.get(\"largeThreshold\");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type=\"series.bar\",e.dependencies=[\"grid\",\"polar\"],e.defaultOption=Ic(w_.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:\"rgba(180, 180, 180, 0.2)\",borderColor:null,borderWidth:0,borderType:\"solid\",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:\"#212121\"}},realtimeSort:!1}),e}(w_),S_=j_,__=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),C_=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\"sausage\",n}return Object(o[\"c\"])(e,t),e.prototype.getDefaultShape=function(){return new __},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,c=e.endAngle,u=e.clockwise,h=2*Math.PI,d=u?c-lMath.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}function I_(t,e,n){return e*Math.sin(t)*(n?-1:1)}function T_(t,e,n){return e*Math.cos(t)*(n?1:-1)}var D_=Math.max,P_=Math.min;function L_(t,e){var n=t.getArea&&t.getArea();if(ES(t,\"cartesian2d\")){var i=t.getBaseAxis();if(\"category\"!==i.type||!i.onBand){var r=e.getLayout(\"bandWidth\");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}var R_=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get(\"coordinateSystem\");(\"cartesian2d\"===r||\"polar\"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){Ey(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,c=l.getBaseAxis();\"cartesian2d\"===l.type?r=c.isHorizontal():\"polar\"===l.type&&(r=\"angle\"===c.dim);var u=t.isAnimationEnabled()?t:null,h=F_(t,l);h&&this._enableRealtimeSort(h,a,n);var d=t.get(\"clip\",!0)||h,p=L_(l,a);o.removeClipPath();var f=t.get(\"roundCap\",!0),g=t.get(\"showBackground\",!0),y=t.getModel(\"backgroundStyle\"),v=y.get(\"borderRadius\")||0,m=[],b=this._backgroundEls,x=i&&i.isInitSort,O=i&&\"changeAxisOrder\"===i.type;function w(t){var e=W_[l.type](a,t),n=eC(l,r,e);return n.useStyle(y.getItemStyle()),\"cartesian2d\"===l.type&&n.setShape(\"r\",v),m[t]=n,n}a.diff(s).add((function(e){var n=a.getItemModel(e),i=W_[l.type](a,e,n);if(g&&w(e),a.hasValue(e)&&H_[l.type](i)){var s=!1;d&&(s=E_[l.type](p,i));var y=B_[l.type](t,a,e,i,r,u,c.model,!1,f);h&&(y.forceLabelAnimation=!0),q_(y,a,e,n,i,t,r,\"polar\"===l.type),x?y.attr({shape:i}):h?N_(h,u,y,i,e,r,!1,!1):Hl(y,{shape:i},t,e),a.setItemGraphicEl(e,y),o.add(y),y.ignore=s}})).update((function(e,n){var i=a.getItemModel(e),j=W_[l.type](a,e,i);if(g){var S=void 0;0===b.length?S=w(n):(S=b[n],S.useStyle(y.getItemStyle()),\"cartesian2d\"===l.type&&S.setShape(\"r\",v),m[e]=S);var _=W_[l.type](a,e),C=tC(r,_,l);Gl(S,{shape:C},u,e)}var M=s.getItemGraphicEl(n);if(a.hasValue(e)&&H_[l.type](j)){var A=!1;if(d&&(A=E_[l.type](p,j),A&&o.remove(M)),M?Ul(M):M=B_[l.type](t,a,e,j,r,u,c.model,!!M,f),h&&(M.forceLabelAnimation=!0),O){var k=M.getTextContent();if(k){var I=uc(k);null!=I.prevValue&&(I.prevValue=I.value)}}else q_(M,a,e,i,j,t,r,\"polar\"===l.type);x?M.attr({shape:j}):h?N_(h,u,M,j,e,r,!0,O):Gl(M,{shape:j},t,e,null),a.setItemGraphicEl(e,M),M.ignore=A,o.add(M)}else o.remove(M)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&ql(n,t,e)})).execute();var j=this._backgroundGroup||(this._backgroundGroup=new wi);j.removeAll();for(var S=0;So)return!0;o=c}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:\"changeAxisOrder\",componentType:n.dim+\"Axis\",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:\"changeAxisOrder\",componentType:i.dim+\"Axis\",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off(\"rendered\",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){ql(e,t,js(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type=\"bar\",e}(Xy),E_={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=D_(e.x,t.x),s=P_(e.x+e.width,r),l=D_(e.y,t.y),c=P_(e.y+e.height,o),u=sr?s:a,e.y=h&&l>o?c:l,e.width=u?0:s-a,e.height=h?0:c-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),u||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=P_(e.r,t.r),o=D_(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},B_={cartesian2d:function(t,e,n,i,r,o,a,l,c){var u=new rs({shape:Object(s[\"m\"])({},i),z2:1});if(u.__dataIndex=n,u.name=\"item\",o){var h=u.shape,d=r?\"height\":\"width\";h[d]=0}return u},polar:function(t,e,n,i,r,o,a,s,l){var c=!r&&l?M_:mg,u=new c({shape:i,z2:1});u.name=\"item\";var h=Y_(r);if(u.calculateTextPosition=A_(h,{isRoundCap:c===M_}),o){var d=u.shape,p=r?\"r\":\"endAngle\",f={};d[p]=r?0:i.startAngle,f[p]=i[p],(s?Gl:Hl)(u,{shape:f},o)}return u}};function F_(t,e){var n=t.get(\"realtimeSort\",!0),i=e.getBaseAxis();if(n&&\"category\"===i.type&&\"cartesian2d\"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}function N_(t,e,n,i,r,o,a,s){var l,c;o?(c={x:i.x,width:i.width},l={y:i.y,height:i.height}):(c={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?Gl:Hl)(n,{shape:l},e,r,null);var u=e?t.baseAxis.model:null;(a?Gl:Hl)(n,{shape:c},u,r)}function z_(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function X_(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function Y_(t){return function(t){var e=t?\"Arc\":\"Angle\";return function(t){switch(t){case\"start\":case\"insideStart\":case\"end\":case\"insideEnd\":return t+e;default:return t}}}(t)}function q_(t,e,n,i,r,o,a,l){var c=e.getItemVisual(n,\"style\");l||t.setShape(\"r\",i.get([\"itemStyle\",\"borderRadius\"])||0),t.useStyle(c);var u=i.getShallow(\"cursor\");u&&t.attr(\"cursor\",u);var h=l?a?r.r>=r.r0?\"endArc\":\"startArc\":r.endAngle>=r.startAngle?\"endAngle\":\"startAngle\":a?r.height>=0?\"bottom\":\"top\":r.width>=0?\"right\":\"left\",d=tc(i);$l(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:sS(o.getData(),n),inheritColor:c.fill,defaultOpacity:c.opacity,defaultOutsidePosition:h});var p=t.getTextContent();if(l&&p){var f=i.get([\"label\",\"position\"]);t.textConfig.inside=\"middle\"===f||null,k_(t,\"outside\"===f?h:f,Y_(a),i.get([\"label\",\"rotate\"]))}hc(p,d,o.getRawValue(n),(function(t){return lS(e,t)}));var g=i.getModel([\"emphasis\"]);Ml(t,g.get(\"focus\"),g.get(\"blurScope\"),g.get(\"disabled\")),Tl(t,i),X_(r)&&(t.style.fill=\"none\",t.style.stroke=\"none\",Object(s[\"k\"])(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke=\"none\")})))}function U_(t,e){var n=t.get([\"itemStyle\",\"borderColor\"]);if(!n||\"none\"===n)return 0;var i=t.get([\"itemStyle\",\"borderWidth\"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,r,o)}var Z_=function(){function t(){}return t}(),K_=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\"largeBar\",n}return Object(o[\"c\"])(e,t),e.prototype.getDefaultShape=function(){return new Z_},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=0?n:null}),30,!1);function $_(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],c=t.barWidth,u=0,h=o.length/3;u=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[u]}return-1}function tC(t,e,n){if(ES(n,\"cartesian2d\")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}r=n.getArea();var o=e;return{cx:r.cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function eC(t,e,n){var i=\"polar\"===t.type?mg:rs;return new i({shape:tC(e,n,t),silent:!0,z2:0})}var nC=R_;function iC(t){t.registerChartView(nC),t.registerSeriesModel(S_),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,s[\"h\"](y_,\"bar\")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,v_(\"bar\")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,o_(\"bar\")),t.registerAction({type:\"changeAxisOrder\",event:\"changeAxisOrder\",update:\"update\"},(function(t,e){var n=t.componentType||\"series\";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}var rC=2*Math.PI,oC=Math.PI/180;function aC(t,e){return Fu(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function sC(t,e){var n=aC(t,e),i=t.get(\"center\"),r=t.get(\"radius\");s[\"t\"](r)||(r=[0,r]);var o,a,l=Li(n.width,e.getWidth()),c=Li(n.height,e.getHeight()),u=Math.min(l,c),h=Li(r[0],u/2),d=Li(r[1],u/2),p=t.coordinateSystem;if(p){var f=p.dataToPoint(i);o=f[0]||0,a=f[1]||0}else s[\"t\"](i)||(i=[i,i]),o=Li(i[0],l)+n.x,a=Li(i[1],c)+n.y;return{cx:o,cy:a,r0:h,r:d}}function lC(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension(\"value\"),r=aC(t,n),o=sC(t,n),a=o.cx,s=o.cy,l=o.r,c=o.r0,u=-t.get(\"startAngle\")*oC,h=t.get(\"minAngle\")*oC,d=0;e.each(i,(function(t){!isNaN(t)&&d++}));var p=e.getSum(i),f=Math.PI/(p||d)*2,g=t.get(\"clockwise\"),y=t.get(\"roseType\"),v=t.get(\"stillShowZeroSum\"),m=e.getDataExtent(i);m[0]=0;var b=rC,x=0,O=u,w=g?1:-1;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:a,cy:s,r0:c,r:y?NaN:l});else{i=\"area\"!==y?0===p&&v?f:t*f:rC/d,in?a:o,u=Math.abs(l.label.y-n);if(u>=c.maxY){var h=l.label.x-e-l.len2*r,d=i+l.len,f=Math.abs(h)t.unconstrainedWidth?null:p:null;i.setStyle(\"width\",f)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-h)/2}}}function fC(t){return\"center\"===t.position}function gC(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get(\"minShowLabelAngle\")||0)*uC,l=i.getLayout(\"viewRect\"),c=i.getLayout(\"r\"),u=l.width,h=l.x,d=l.y,p=l.height;function f(t){t.ignore=!0}function g(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}i.each((function(t){var l=i.getItemGraphicEl(t),d=l.shape,p=l.getTextContent(),y=l.getTextGuideLine(),v=i.getItemModel(t),m=v.getModel(\"label\"),b=m.get(\"position\")||v.get([\"emphasis\",\"label\",\"position\"]),x=m.get(\"distanceToLabelLine\"),O=m.get(\"alignTo\"),w=Li(m.get(\"edgeDistance\"),u),j=m.get(\"bleedMargin\"),S=v.getModel(\"labelLine\"),_=S.get(\"length\");_=Li(_,u);var C=S.get(\"length2\");if(C=Li(C,u),Math.abs(d.endAngle-d.startAngle)0?\"right\":\"left\":D>0?\"left\":\"right\"}var V=Math.PI,G=0,H=m.get(\"rotate\");if(Object(s[\"z\"])(H))G=H*(V/180);else if(\"center\"===b)G=0;else if(\"radial\"===H||!0===H){var W=D<0?-T+V:-T;G=W}else if(\"tangential\"===H&&\"outside\"!==b&&\"outer\"!==b){var X=Math.atan2(D,P);X<0&&(X=2*V+X);var Y=P>0;Y&&(X=V+X),G=X-V}if(o=!!G,p.x=M,p.y=A,p.rotation=G,p.setStyle({verticalAlign:\"middle\"}),L){p.setStyle({align:I});var q=p.states.select;q&&(q.x+=p.x,q.y+=p.y)}else{var U=p.getBoundingRect().clone();U.applyTransform(p.getComputedTransform());var Z=(p.style.margin||0)+2.1;U.y-=Z/2,U.height+=Z,r.push({label:p,labelLine:y,position:b,len:_,len2:C,minTurnAngle:S.get(\"minTurnAngle\"),maxSurfaceAngle:S.get(\"maxSurfaceAngle\"),surfaceNormal:new vt(D,P),linePoints:k,textAlign:I,labelDistance:x,labelAlignTo:O,edgeDistance:w,bleedMargin:j,rect:U,unconstrainedWidth:U.width,labelStyleWidth:p.style.width})}l.setTextConfig({inside:L})}})),!o&&t.get(\"avoidLabelOverlap\")&&dC(r,e,n,c,u,p,h,d);for(var y=0;y0){for(var l=o.getItemLayout(0),c=1;isNaN(l&&l.startAngle)&&c=i.r0}},e.type=\"pie\",e}(Xy),bC=mC;function xC(t,e,n){e=Object(s[\"t\"])(e)&&{coordDimensions:e}||Object(s[\"m\"])({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=Vj(i,e).dimensions,o=new zj(r,t);return o.initData(i,n),o}var OC=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},t.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},t.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},t}(),wC=OC,jC=Ar(),SC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new wC(s[\"c\"](this.getData,this),s[\"c\"](this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return xC(this,{coordDimensions:[\"value\"],encodeDefaulter:s[\"h\"](hh,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=jC(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension(\"value\"),(function(t){o.push(t)})),r=i.seats=zi(o,n.hostModel.get(\"percentPrecision\"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push(\"percent\"),a},e.prototype._defaultLabelLine=function(t){sr(t,\"labelLine\",[\"show\"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type=\"series.pie\",e.defaultOption={z:2,legendHoverLink:!0,colorBy:\"data\",center:[\"50%\",\"50%\"],radius:[0,\"75%\"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:\"truncate\",position:\"outer\",alignTo:\"none\",edgeDistance:\"25%\",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:\"solid\"}},itemStyle:{borderWidth:1,borderJoin:\"round\"},showEmptyCircle:!0,emptyCircleStyle:{color:\"lightgray\",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:\"expansion\",animationDuration:1e3,animationTypeUpdate:\"transition\",animationEasingUpdate:\"cubicInOut\",animationDurationUpdate:500,animationEasing:\"cubicInOut\"},e}(wf),_C=SC;function CC(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension(\"value\"),i=n.get(e,t);return!(Object(s[\"z\"])(i)&&!isNaN(i)&&i<0)}))}}}function MC(t){t.registerChartView(bC),t.registerSeriesModel(_C),Vv(\"pie\",t.registerAction),t.registerLayout(Object(s[\"h\"])(lC,\"pie\")),t.registerProcessor(cC(\"pie\")),t.registerProcessor(CC(\"pie\"))}var AC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Object(o[\"c\"])(e,t),e.prototype.getInitialData=function(t,e){return rS(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get(\"progressive\"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get(\"progressiveThreshold\"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:\"\"},e.type=\"series.scatter\",e.dependencies=[\"grid\",\"polar\",\"geo\",\"singleAxis\",\"calendar\"],e.defaultOption={coordinateSystem:\"cartesian2d\",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:\"#212121\"}},universalTransition:{divideShape:\"clone\"}},e}(wf),kC=AC,IC=4,TC=function(){function t(){}return t}(),DC=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return Object(o[\"c\"])(e,t),e.prototype.getDefaultShape=function(){return new TC},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]=0;s--){var l=2*s,c=i[l]-o/2,u=i[l+1]-a/2;if(t>=c&&e>=u&&t<=c+o&&e<=u+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(t=n[0],e=n[1],i.contain(t,e)){var r=this.hoverDataIdx=this.findDataIndex(t,e);return r>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,c=-1/0,u=0;u=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),LC=PC,RC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=n_(\"\").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get(\"clip\",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext,r=i.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new LC:new yS,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type=\"scatter\",e}(Xy),EC=RC,BC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.type=\"grid\",e.dependencies=[\"xAxis\",\"yAxis\"],e.layoutMode=\"box\",e.defaultOption={show:!1,z:0,left:\"10%\",top:60,right:\"10%\",bottom:70,containLabel:!1,backgroundColor:\"rgba(0,0,0,0)\",borderWidth:1,borderColor:\"#ccc\"},e}(Uu),FC=BC,NC=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},t.prototype.getCoordSysModel=function(){},t}(),zC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents(\"grid\",Dr).models[0]},e.type=\"cartesian2dAxis\",e}(Uu);s[\"K\"](zC,NC);var VC={show:!0,z:0,inverse:!1,name:\"\",nameLocation:\"end\",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:\"...\",placeholder:\".\"},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:\"#6E7079\",width:1,type:\"solid\"},symbol:[\"none\",\"none\"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:[\"#E0E6F1\"],width:1,type:\"solid\"}},splitArea:{show:!1,areaStyle:{color:[\"rgba(250,250,250,0.2)\",\"rgba(210,219,238,0.2)\"]}}},GC=s[\"I\"]({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:\"auto\"},axisLabel:{interval:\"auto\"}},VC),HC=s[\"I\"]({boundaryGap:[0,0],axisLine:{show:\"auto\"},axisTick:{show:\"auto\"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:\"#F4F7FD\",width:1}}},VC),WC=s[\"I\"]({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:\"bold\"}}},splitLine:{show:!1}},HC),XC=s[\"i\"]({logBase:10},HC),YC={category:GC,value:HC,time:WC,log:XC},qC=0,UC=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++qC}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&Object(s[\"H\"])(i,ZC);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!Object(s[\"C\"])(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(s[\"f\"])(this.categories))},t}();function ZC(t){return Object(s[\"A\"])(t)&&null!=t.value?t.value:t+\"\"}var KC=UC,QC={value:1,category:1,time:1,log:1};function JC(t,e,n,i){Object(s[\"k\"])(QC,(function(r,a){var l=Object(s[\"I\"])(Object(s[\"I\"])({},YC[a],!0),i,!0),c=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+\"Axis.\"+a,n}return Object(o[\"c\"])(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=Vu(this),i=n?Hu(t):{},r=e.getTheme();Object(s[\"I\"])(t,r.get(a+\"Axis\")),Object(s[\"I\"])(t,this.getDefaultOption()),t.type=$C(t),n&&Gu(t,i,n)},n.prototype.optionUpdated=function(){var t=this.option;\"category\"===t.type&&(this.__ordinalMeta=KC.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if(\"category\"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+\"Axis.\"+a,n.defaultOption=l,n}(n);t.registerComponentModel(c)})),t.registerSubTypeDefaulter(e+\"Axis\",$C)}function $C(t){return t.type||(t.data?\"category\":\"value\")}var tM=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();$r(tM);var eM=tM;function nM(t){return\"interval\"===t.type||\"log\"===t.type}function iM(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=Zi(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=oM(a),l=r.niceTickExtent=[Ri(Math.ceil(t[0]/a)*a,s),Ri(Math.floor(t[1]/a)*a,s)];return sM(l,t),r}function rM(t){var e=Math.pow(10,Ui(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Ri(n*e)}function oM(t){return Bi(t)+2}function aM(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function sM(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),aM(t,0,e),aM(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function lM(t,e){return t>=e[0]&&t<=e[1]}function cM(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function uM(t,e){return t*(e[1]-e[0])+e[0]}var hM=function(t){function e(e){var n=t.call(this,e)||this;n.type=\"ordinal\";var i=n.getSetting(\"ordinalMeta\");return i||(i=new KC({})),Object(s[\"t\"])(i)&&(i=new KC({categories:Object(s[\"H\"])(i,(function(t){return Object(s[\"A\"])(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting(\"extent\")||[0,i.categories.length-1],n}return Object(o[\"c\"])(e,t),e.prototype.parse=function(t){return null==t?NaN:Object(s[\"C\"])(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),lM(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),cM(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(uM(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){var t=[],e=this._extent,n=e[0];while(n<=e[1])t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type=\"ordinal\",e}(eM);eM.registerClass(hM);var dM=hM,pM=Ri,fM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"interval\",e._interval=0,e._intervalPrecision=2,e}return Object(o[\"c\"])(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return lM(t,this._extent)},e.prototype.normalize=function(t){return cM(t,this._extent)},e.prototype.scale=function(t){return uM(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=oM(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;var a=1e4;n[0]a)return[]}var l=o.length?o[o.length-1].value:i[1];return n[1]>l&&(t?o.push({value:pM(l+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h>>1;t[r][1]n&&(this._approxInterval=n);var o=mM.length,a=Math.min(yM(mM,this._approxInterval,0,o),o-1);this._interval=mM[a][1],this._minLevelUnit=mM[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return Object(s[\"z\"])(t)?t:+Yi(t)},e.prototype.contain=function(t){return lM(this.parse(t),this._extent)},e.prototype.normalize=function(t){return cM(this.parse(t),this._extent)},e.prototype.scale=function(t){return uM(t,this._extent)},e.type=\"time\",e}(gM),mM=[[\"second\",Hc],[\"minute\",Wc],[\"hour\",Xc],[\"quarter-day\",6*Xc],[\"half-day\",12*Xc],[\"day\",1.2*Yc],[\"half-week\",3.5*Yc],[\"week\",7*Yc],[\"month\",31*Yc],[\"quarter\",95*Yc],[\"half-year\",qc/2],[\"year\",qc]];function bM(t,e,n,i){var r=Yi(e),o=Yi(n),a=function(t){return au(r,t,i)===au(o,t,i)},s=function(){return a(\"year\")},l=function(){return s()&&a(\"month\")},c=function(){return l()&&a(\"day\")},u=function(){return c()&&a(\"hour\")},h=function(){return u()&&a(\"minute\")},d=function(){return h()&&a(\"second\")},p=function(){return d()&&a(\"millisecond\")};switch(t){case\"year\":return s();case\"month\":return l();case\"day\":return c();case\"hour\":return u();case\"minute\":return h();case\"second\":return d();case\"millisecond\":return p()}}function xM(t,e){return t/=Yc,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function OM(t){var e=30*Yc;return t/=e,t>6?6:t>3?3:t>2?2:1}function wM(t){return t/=Xc,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function jM(t,e){return t/=e?Wc:Hc,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function SM(t){return Zi(t,!0)}function _M(t,e,n){var i=new Date(t);switch(tu(e)){case\"year\":case\"month\":i[gu(n)](0);case\"day\":i[yu(n)](1);case\"hour\":i[vu(n)](0);case\"minute\":i[mu(n)](0);case\"second\":i[bu(n)](0),i[xu(n)](0)}return i.getTime()}function CM(t,e,n,i){var r=1e4,o=Jc,a=0;function l(t,e,n,r,o,a,s){var l=new Date(e),c=e,u=l[r]();while(c1&&0===c&&o.unshift({value:o[0].value-d})}}for(c=0;c=i[0]&&b<=i[1]&&d++)}var x=(i[1]-i[0])/e;if(d>1.5*x&&p>x/1.5)break;if(u.push(v),d>x||t===o[f])break}h=[]}}}var O=Object(s[\"n\"])(Object(s[\"H\"])(u,(function(t){return Object(s[\"n\"])(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),w=[],j=O.length-1;for(f=0;f0)i*=10;var o=[Ri(DM(e[0]/i)*i),Ri(TM(e[1]/i)*i)];this._interval=i,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){kM.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=LM(t)/LM(this.base),lM(t,this._extent)},e.prototype.normalize=function(t){return t=LM(t)/LM(this.base),cM(t,this._extent)},e.prototype.scale=function(t){return t=uM(t,this._extent),PM(this.base,t)},e.type=\"log\",e}(eM),EM=RM.prototype;function BM(t,e){return IM(t,Bi(e))}EM.getMinorTicks=kM.getMinorTicks,EM.getLabel=kM.getLabel,eM.registerClass(RM);var FM=RM,NM=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&l>0&&!c&&(a=0),a<0&&l<0&&!u&&(l=0));var d=this._determinedMin,p=this._determinedMax;return null!=d&&(a=d,c=!0),null!=p&&(l=p,u=!0),{min:a,max:l,minFixed:c,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[VM[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=zM[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),zM={min:\"_determinedMin\",max:\"_determinedMax\"},VM={min:\"_dataMin\",max:\"_dataMax\"};function GM(t,e,n){var i=t.rawExtentInfo;return i||(i=new NM(t,e,n),t.rawExtentInfo=i,i)}function HM(t,e){return null==e?null:Object(s[\"l\"])(e)?NaN:t.parse(e)}function WM(t,e){var n=t.type,i=GM(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&\"time\"===n){var l=h_(\"bar\",a),c=!1;if(s[\"k\"](l,(function(t){c=c||t.getBaseAxis()===e.axis})),c){var u=p_(l),h=XM(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function XM(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=g_(i,n.axis);if(void 0===a)return{min:t,max:e};var l=1/0;s[\"k\"](a,(function(t){l=Math.min(t.offset,l)}));var c=-1/0;s[\"k\"](a,(function(t){c=Math.max(t.offset+t.width,c)})),l=Math.abs(l),c=Math.abs(c);var u=l+c,h=e-t,d=1-(l+c)/o,p=h/d-h;return e+=p*(c/u),t-=p*(l/u),{min:t,max:e}}function YM(t,e){var n=e,i=WM(t,n),r=i.extent,o=n.get(\"splitNumber\");t instanceof FM&&(t.base=n.get(\"logBase\"));var a=t.type,s=n.get(\"interval\"),l=\"interval\"===a||\"time\"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get(\"minInterval\"):null,maxInterval:l?n.get(\"maxInterval\"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function qM(t,e){if(e=e||t.get(\"type\"),e)switch(e){case\"category\":return new dM({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case\"time\":return new MM({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get(\"useUTC\")});default:return new(eM.getClass(e)||gM)}}function UM(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function ZM(t){var e=t.getLabelModel().get(\"formatter\"),n=\"category\"===t.type?t.scale.getExtent()[0]:null;return\"time\"===t.scale.type?function(e){return function(n,i){return t.scale.getFormattedLabel(n,i,e)}}(e):s[\"C\"](e)?function(e){return function(n){var i=t.scale.getLabel(n),r=e.replace(\"{value}\",null!=i?i:\"\");return r}}(e):s[\"w\"](e)?function(e){return function(i,r){return null!=n&&(r=i.value-n),e(KM(t,i),r,null!=i.level?{level:i.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function KM(t,e){return\"category\"===t.type?t.scale.getLabel(e):e.value}function QM(t){var e=t.model,n=t.scale;if(e.get([\"axisLabel\",\"show\"])&&!n.isBlank()){var i,r,o=n.getExtent();n instanceof dM?r=n.count():(i=n.getTicks(),r=i.length);var a,s=t.getLabelModel(),l=ZM(t),c=1;r>40&&(c=Math.ceil(r/40));for(var u=0;ut[1]&&(t[1]=i[1])}))}var iA=function(){function t(t){this.type=\"cartesian\",this._dimList=[],this._axes={},this.name=t||\"\"}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return s[\"H\"](this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),s[\"n\"](this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),rA=iA,oA=[\"x\",\"y\"];function aA(t){return\"interval\"===t.type||\"time\"===t.type}var sA=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"cartesian2d\",e.dimensions=oA,e}return Object(o[\"c\"])(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis(\"x\").scale,e=this.getAxis(\"y\").scale;if(aA(t)&&aA(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,c=(o[1]-r[1])/s,u=r[0]-n[0]*l,h=r[1]-i[0]*c,d=this._transform=[l,0,0,c,u,h];this._invTransform=ft([],d)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale(\"ordinal\")[0]||this.getAxesByScale(\"time\")[0]||this.getAxis(\"x\")},e.prototype.containPoint=function(t){var e=this.getAxis(\"x\"),n=this.getAxis(\"y\");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis(\"x\").containData(t[0])&&this.getAxis(\"y\").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Mt(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return S(n,t,this._transform);var o=this.getAxis(\"x\"),a=this.getAxis(\"y\");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis(\"x\").scale,i=this.getAxis(\"y\").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return S(n,t,this._invTransform);var i=this.getAxis(\"x\"),r=this.getAxis(\"y\");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis(\"x\"===t.dim?\"y\":\"x\")},e.prototype.getArea=function(){var t=this.getAxis(\"x\").getGlobalExtent(),e=this.getAxis(\"y\").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-i;return new Mt(n,i,r,o)},e}(rA),lA=sA,cA=Ar();function uA(t){return\"category\"===t.type?dA(t):gA(t)}function hA(t,e){return\"category\"===t.type?fA(t,e):{ticks:s[\"H\"](t.scale.getTicks(),(function(t){return t.value}))}}function dA(t){var e=t.getLabelModel(),n=pA(t,e);return!e.get(\"show\")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function pA(t,e){var n,i,r=yA(t,\"labels\"),o=$M(e),a=vA(r,o);return a||(s[\"w\"](o)?n=jA(t,o):(i=\"auto\"===o?bA(t):o,n=wA(t,i)),mA(r,o,{labels:n,labelCategoryInterval:i}))}function fA(t,e){var n,i,r=yA(t,\"ticks\"),o=$M(e),a=vA(r,o);if(a)return a;if(e.get(\"show\")&&!t.scale.isBlank()||(n=[]),s[\"w\"](o))n=jA(t,o,!0);else if(\"auto\"===o){var l=pA(t,t.getLabelModel());i=l.labelCategoryInterval,n=s[\"H\"](l.labels,(function(t){return t.tickValue}))}else i=o,n=wA(t,i,!0);return mA(r,o,{ticks:n,tickCategoryInterval:i})}function gA(t){var e=t.scale.getTicks(),n=ZM(t);return{labels:s[\"H\"](e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}function yA(t,e){return cA(t)[e]||(cA(t)[e]=[])}function vA(t,e){for(var n=0;n40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],c=t.dataToCoord(l+1)-t.dataToCoord(l),u=Math.abs(c*Math.cos(i)),h=Math.abs(c*Math.sin(i)),d=0,p=0;l<=o[1];l+=s){var f=0,g=0,y=ei(n({value:l}),e.font,\"center\",\"top\");f=1.3*y.width,g=1.3*y.height,d=Math.max(d,f,7),p=Math.max(p,g,7)}var v=d/u,m=p/h;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var b=Math.max(0,Math.floor(Math.min(v,m))),x=cA(t.model),O=t.getExtent(),w=x.lastAutoInterval,j=x.lastTickCount;return null!=w&&null!=j&&Math.abs(w-b)<=1&&Math.abs(j-a)<=1&&w>b&&x.axisExtent0===O[0]&&x.axisExtent1===O[1]?b=w:(x.lastTickCount=a,x.lastAutoInterval=b,x.axisExtent0=O[0],x.axisExtent1=O[1]),b}function OA(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get(\"rotate\")||0,font:e.getFont()}}function wA(t,e,n){var i=ZM(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),c=o[0],u=r.count();0!==c&&l>1&&u/l>2&&(c=Math.round(Math.ceil(c/l)*l));var h=tA(t),d=a.get(\"showMinLabel\")||h,p=a.get(\"showMaxLabel\")||h;d&&c!==o[0]&&g(o[0]);for(var f=c;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return p&&f-l!==o[1]&&g(o[1]),s}function jA(t,e,n){var i=t.scale,r=ZM(t),o=[];return s[\"k\"](i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var SA=[0,1],_A=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return Ni(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&\"ordinal\"===i.type&&(n=n.slice(),CA(n,i.count())),Pi(t,SA,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&\"ordinal\"===i.type&&(n=n.slice(),CA(n,i.count()));var r=Pi(t,n,SA,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=hA(this,e),i=n.ticks,r=Object(s[\"H\"])(i,(function(t){return{coord:this.dataToCoord(\"ordinal\"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this),o=e.get(\"alignWithLabel\");return MA(this,r,o,t.clamp),r},t.prototype.getMinorTicksCoords=function(){if(\"ordinal\"===this.scale.type)return[];var t=this.model.getModel(\"minorTick\"),e=t.get(\"splitNumber\");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=Object(s[\"H\"])(n,(function(t){return Object(s[\"H\"])(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return i},t.prototype.getViewLabels=function(){return uA(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel(\"axisLabel\")},t.prototype.getTickModel=function(){return this.model.getModel(\"axisTick\")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return xA(this)},t}();function CA(t,e){var n=t[1]-t[0],i=e,r=n/i/2;t[0]+=r,t[1]-=r}function MA(t,e,n,i){var r=e.length;if(t.onBand&&!n&&r){var o,a,l=t.getExtent();if(1===r)e[0].coord=l[0],o=e[1]={coord:l[0]};else{var c=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/c;Object(s[\"k\"])(e,(function(t){t.coord-=u/2}));var h=t.scale.getExtent();a=1+h[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var d=l[0]>l[1];p(e[0].coord,l[0])&&(i?e[0].coord=l[0]:e.shift()),i&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]}),p(l[1],o.coord)&&(i?o.coord=l[1]:e.pop()),i&&p(o.coord,l[1])&&e.push({coord:l[1]})}function p(t,e){return t=Ri(t),e=Ri(e),d?t>e:te[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[\"x\"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if(\"category\"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(AA),IA=kA;function TA(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],l=r.position,c=a?\"onZero\":l,u=r.dim,h=i.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get(\"offset\")||0,g=\"x\"===u?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(a){var y=a.toGlobalCoord(a.dataToCoord(0));g[p.onZero]=Math.max(Math.min(y,g[1]),g[0])}o.position=[\"y\"===u?g[p[c]]:d[0],\"x\"===u?g[p[c]]:d[3]],o.rotation=Math.PI/2*(\"x\"===u?0:1);var v={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=v[l],o.labelOffset=a?g[p[l]]-g[p.onZero]:0,e.get([\"axisTick\",\"inside\"])&&(o.tickDirection=-o.tickDirection),s[\"O\"](n.labelInside,e.get([\"axisLabel\",\"inside\"]))&&(o.labelDirection=-o.labelDirection);var m=e.get([\"axisLabel\",\"rotate\"]);return o.labelRotate=\"top\"===c?-m:m,o.z2=1,o}function DA(t){return\"cartesian2d\"===t.get(\"coordinateSystem\")}function PA(t){var e={xAxisModel:null,yAxisModel:null};return s[\"k\"](e,(function(n,i){var r=i.replace(/Model$/,\"\"),o=t.getReferringComponents(r,Dr).models[0];e[i]=o})),e}var LA=Math.log;function RA(t,e,n){var i=gM.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=WM(t,e),c=l.extent,u=l.fixMin,h=l.fixMax;if(\"log\"===t.type){var d=LA(t.base);c=[LA(c[0])/d,LA(c[1])/d]}t.setExtent(c[0],c[1]),t.calcNiceExtent({splitNumber:a,fixMin:u,fixMax:h});var p=i.getExtent.call(t);u&&(c[0]=p[0]),h&&(c[1]=p[1]);var f=i.getInterval.call(t),g=c[0],y=c[1];if(u&&h)f=(y-g)/a;else if(u){y=c[0]+f*a;while(yc[0]&&isFinite(g)&&isFinite(c[0]))f=rM(f),g=c[1]-f*a}else{var v=t.getTicks().length-1;v>a&&(f=rM(f));var m=f*a;y=Math.ceil(c[1]/f)*f,g=Ri(y-m),g<0&&c[0]>=0?(g=0,y=Ri(m)):y>0&&c[1]<=0&&(y=0,g=-Ri(m))}var b=(r[0].value-o[0].value)/s,x=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*b,y+f*x),i.setInterval.call(t,f),(b||x)&&i.setNiceExtent.call(t,g+f,y-f)}var EA=function(){function t(t,e,n){this.type=\"grid\",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=oA,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=Object(s[\"F\"])(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=+n[o],l=t[a],c=l.model,u=l.scale;nM(u)&&c.get(\"alignTicks\")&&null==c.get(\"interval\")?r.push(l):(YM(u,c),nM(u)&&(e=l))}r.length&&(e||(e=r.pop(),YM(e.scale,e.model)),Object(s[\"k\"])(r,(function(t){RA(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};Object(s[\"k\"])(n.x,(function(t){FA(n,\"y\",t,r)})),Object(s[\"k\"])(n.y,(function(t){FA(n,\"x\",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get(\"containLabel\"),o=Fu(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function l(){Object(s[\"k\"])(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),zA(t,e?o.x:o.y)}))}l(),r&&(Object(s[\"k\"])(a,(function(t){if(!t.model.get([\"axisLabel\",\"inside\"])){var e=QM(t);if(e){var n=t.isHorizontal()?\"height\":\"width\",i=t.model.get([\"axisLabel\",\"margin\"]);o[n]-=e[n]+i,\"top\"===t.position?o.y+=e.height+i:\"left\"===t.position&&(o.x+=e.width+i)}}})),l()),Object(s[\"k\"])(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n=\"x\"+t+\"y\"+e;return this._coordsMap[n]}Object(s[\"A\"])(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i0?\"top\":\"bottom\",i=\"center\"):Wi(o-GA)?(r=n>0?\"bottom\":\"top\",i=\"center\"):(r=\"middle\",i=o>0&&o0?\"right\":\"left\":n>0?\"left\":\"right\"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+\"Index\"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get(\"tooltip\");return t.get(\"silent\")||!(t.get(\"triggerEvent\")||e&&e.show)},t}(),WA={axisLine:function(t,e,n,i){var r=e.get([\"axisLine\",\"show\"]);if(\"auto\"===r&&t.handleAutoShown&&(r=t.handleAutoShown(\"axisLine\")),r){var o=e.axis.getExtent(),a=i.transform,l=[o[0],0],c=[o[1],0],u=l[0]>c[0];a&&(S(l,l,a),S(c,c,a));var h=Object(s[\"m\"])({lineCap:\"round\"},e.getModel([\"axisLine\",\"lineStyle\"]).getLineStyle()),d=new Pg({shape:{x1:l[0],y1:l[1],x2:c[0],y2:c[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});my(d.shape,d.style.lineWidth),d.anid=\"line\",n.add(d);var p=e.get([\"axisLine\",\"symbol\"]);if(null!=p){var f=e.get([\"axisLine\",\"symbolSize\"]);Object(s[\"C\"])(p)&&(p=[p,p]),(Object(s[\"C\"])(f)||Object(s[\"z\"])(f))&&(f=[f,f]);var g=am(e.get([\"axisLine\",\"symbolOffset\"])||0,f),y=f[0],v=f[1];Object(s[\"k\"])([{rotate:t.rotation+Math.PI/2,offset:g[0],r:0},{rotate:t.rotation-Math.PI/2,offset:g[1],r:Math.sqrt((l[0]-c[0])*(l[0]-c[0])+(l[1]-c[1])*(l[1]-c[1]))}],(function(e,i){if(\"none\"!==p[i]&&null!=p[i]){var r=rm(p[i],-y/2,-v/2,y,v,h.stroke,!0),o=e.r+e.offset,a=u?c:l;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=QA(n,i,e,t),o=$A(n,i,e,t);if(YA(e,o,r),JA(n,i,e,t.tickDirection),e.get([\"axisLabel\",\"hideOverlap\"])){var a=rO(Object(s[\"H\"])(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));lO(a)}},axisName:function(t,e,n,i){var r=Object(s[\"O\"])(t.axisName,e.get(\"name\"));if(r){var o,a,l=e.get(\"nameLocation\"),c=t.nameDirection,u=e.getModel(\"nameTextStyle\"),h=e.get(\"nameGap\")||0,d=e.axis.getExtent(),p=d[0]>d[1]?-1:1,f=[\"start\"===l?d[0]-p*h:\"end\"===l?d[1]+p*h:(d[0]+d[1])/2,ZA(l)?t.labelOffset+c*h:0],g=e.get(\"nameRotate\");null!=g&&(g=g*GA/180),ZA(l)?o=HA.innerTextLayout(t.rotation,null!=g?g:t.rotation,c):(o=XA(t.rotation,l,g||0,d),a=t.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var y=u.getFont(),v=e.get(\"nameTruncate\",!0)||{},m=v.ellipsis,b=Object(s[\"O\"])(t.nameTruncateMaxWidth,v.maxWidth,a),x=new ws({x:f[0],y:f[1],rotation:o.rotation,silent:HA.isLabelSilent(e),style:ec(u,{text:r,font:y,overflow:\"truncate\",width:b,ellipsis:m,fill:u.getTextColor()||e.get([\"axisLine\",\"lineStyle\",\"color\"]),align:u.get(\"align\")||o.textAlign,verticalAlign:u.get(\"verticalAlign\")||o.textVerticalAlign}),z2:1});if(Ly({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid=\"name\",e.get(\"triggerEvent\")){var O=HA.makeAxisEventDataBase(e);O.targetType=\"axisName\",O.name=r,js(x).eventData=O}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function XA(t,e,n,i){var r,o,a=Hi(n-t),s=i[0]>i[1],l=\"start\"===e&&!s||\"start\"!==e&&s;return Wi(a-GA/2)?(o=l?\"bottom\":\"top\",r=\"center\"):Wi(a-1.5*GA)?(o=l?\"top\":\"bottom\",r=\"center\"):(o=\"middle\",r=a<1.5*GA&&a>GA/2?l?\"left\":\"right\":l?\"right\":\"left\"),{rotation:a,textAlign:r,textVerticalAlign:o}}function YA(t,e,n){if(!tA(t.axis)){var i=t.get([\"axisLabel\",\"showMinLabel\"]),r=t.get([\"axisLabel\",\"showMaxLabel\"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],c=n[0],u=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?(qA(o),qA(c)):UA(o,a)&&(i?(qA(a),qA(u)):(qA(o),qA(c))),!1===r?(qA(s),qA(h)):UA(l,s)&&(r?(qA(l),qA(d)):(qA(s),qA(h)))}}function qA(t){t&&(t.ignore=!0)}function UA(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=lt([]);return dt(r,r,-t.rotation),n.applyTransform(ut([],r,t.getLocalTransform())),i.applyTransform(ut([],r,e.getLocalTransform())),n.intersect(i)}}function ZA(t){return\"middle\"===t||\"center\"===t}function KA(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function sk(t){var e=lk(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get(\"status\"),a=n.get(\"value\");null!=a&&(a=i.parse(a));var s=uk(n);null==o&&(r.status=s?\"show\":\"hide\");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var p=a;null!=d.color&&(p=s[\"i\"]({color:d.color},a));var f=s[\"I\"](s[\"d\"](d),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:d.text,showName:l,nameLocation:\"end\",nameGap:u,nameTextStyle:p,triggerEvent:h},!1);if(s[\"C\"](c)){var g=f.name;f.name=c.replace(\"{value}\",null!=g?g:\"\")}else s[\"w\"](c)&&(f.name=c(f.name,f));var y=new _c(f,null,this.ecModel);return s[\"K\"](y,NC.prototype),y.mainType=\"radar\",y.componentIndex=this.componentIndex,y}),this);this._indicatorModels=d},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type=\"radar\",e.defaultOption={z:0,center:[\"50%\",\"50%\"],radius:\"75%\",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:\"polygon\",axisLine:s[\"I\"]({lineStyle:{color:\"#bbb\"}},Ek.axisLine),axisLabel:Bk(Ek.axisLabel,!1),axisTick:Bk(Ek.axisTick,!1),splitLine:Bk(Ek.splitLine,!0),splitArea:Bk(Ek.splitArea,!0),indicator:[]},e}(Uu),Nk=Fk,zk=[\"axisLine\",\"axisTickLabel\",\"axisName\"],Vk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),i=s[\"H\"](n,(function(t){var n=t.model.get(\"showName\")?t.name:\"\",i=new tk(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i}));s[\"k\"](i,(function(t){s[\"k\"](zk,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get(\"shape\"),r=t.getModel(\"splitLine\"),o=t.getModel(\"splitArea\"),a=r.getModel(\"lineStyle\"),l=o.getModel(\"areaStyle\"),c=r.get(\"show\"),u=o.get(\"show\"),h=a.get(\"color\"),d=l.get(\"color\"),p=s[\"t\"](h)?h:[h],f=s[\"t\"](d)?d:[d],g=[],y=[];if(\"circle\"===i)for(var v=n[0].getTicksCoords(),m=e.cx,b=e.cy,x=0;x3?1.4:r>1?1.2:1.1,l=i>0?s:1/s;eI(this,\"zoom\",\"zoomOnMouseWheel\",t,{scale:l,originX:o,originY:a,isAvailableBehavior:null})}if(n){var c=Math.abs(i),u=(i>0?1:-1)*(c>3?.4:c>1?.15:.05);eI(this,\"scrollMove\",\"moveOnMouseWheel\",t,{scrollDelta:u,originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!Jk(this._zr,\"globalPan\")){var e=t.pinchScale>1?1.1:1/1.1;eI(this,\"zoom\",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(T);function eI(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(et(i.event),nI(t,e,n,i,r))}function nI(t,e,n,i,r){r.isAvailableBehavior=Object(s[\"c\"])(iI,null,n,i),t.trigger(e,r)}function iI(t,e,n){var i=n[t];return!t||i&&(!Object(s[\"C\"])(i)||e.event[i+\"Key\"])}var rI=tI;function oI(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function aI(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var c=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(c-1),r.y-=(i-r.y)*(c-1),r.scaleX*=c,r.scaleY*=c,r.dirty()}var sI,lI={axisPointer:1,tooltip:1,brush:1};function cI(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!lI.hasOwnProperty(i.mainType)&&r&&r.model!==n}function uI(t){if(Object(s[\"C\"])(t)){var e=new DOMParser;t=e.parseFromString(t,\"text/xml\")}var n=t;9===n.nodeType&&(n=n.firstChild);while(\"svg\"!==n.nodeName.toLowerCase()||1!==n.nodeType)n=n.nextSibling;return n}var hI={fill:\"fill\",stroke:\"stroke\",\"stroke-width\":\"lineWidth\",opacity:\"opacity\",\"fill-opacity\":\"fillOpacity\",\"stroke-opacity\":\"strokeOpacity\",\"stroke-dasharray\":\"lineDash\",\"stroke-dashoffset\":\"lineDashOffset\",\"stroke-linecap\":\"lineCap\",\"stroke-linejoin\":\"lineJoin\",\"stroke-miterlimit\":\"miterLimit\",\"font-family\":\"fontFamily\",\"font-size\":\"fontSize\",\"font-style\":\"fontStyle\",\"font-weight\":\"fontWeight\",\"text-anchor\":\"textAlign\",visibility:\"visibility\",display:\"display\"},dI=Object(s[\"F\"])(hI),pI={\"alignment-baseline\":\"textBaseline\",\"stop-color\":\"stopColor\"},fI=Object(s[\"F\"])(pI),gI=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=uI(t);this._defsUsePending=[];var i=new wi;this._root=i;var r=[],o=n.getAttribute(\"viewBox\")||\"\",a=parseFloat(n.getAttribute(\"width\")||e.width),s=parseFloat(n.getAttribute(\"height\")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),OI(n,i,null,!0,!1);var l,c,u=n.firstChild;while(u)this._parseNode(u,i,r,null,!1,!1),u=u.nextSibling;if(_I(this._defs,this._defsUsePending),this._defsUsePending=[],o){var h=MI(o);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=a&&null!=s&&(c=LI(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var d=i;i=new wi,i.add(d),d.scaleX=d.scaleY=c.scale,d.x=c.x,d.y=c.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new rs({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:c,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,l=t.nodeName.toLowerCase(),c=i;if(\"defs\"===l&&(r=!0),\"text\"===l&&(o=!0),\"defs\"===l||\"switch\"===l)a=e;else{if(!r){var u=sI[l];if(u&&Object(s[\"q\"])(sI,l)){a=u.call(this,t,e);var h=t.getAttribute(\"name\");if(h){var d={name:h,namedFrom:null,svgNodeTagLower:l,el:a};n.push(d),\"g\"===l&&(c=d)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:l,el:a});e.add(a)}}var p=yI[l];if(p&&Object(s[\"q\"])(yI,l)){var f=p.call(this,t),g=t.getAttribute(\"id\");g&&(this._defs[g]=f)}}if(a&&a.isGroup){var y=t.firstChild;while(y)1===y.nodeType?this._parseNode(y,a,n,c,r,o):3===y.nodeType&&o&&this._parseText(y,a),y=y.nextSibling}},t.prototype._parseText=function(t,e){var n=new Wa({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});bI(e,n),OI(t,n,this._defsUsePending,!1,!1),wI(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+\"px\",i.fontFamily||\"sans-serif\"].join(\" \");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=function(){sI={g:function(t,e){var n=new wi;return bI(e,n),OI(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new rs;return bI(e,n),OI(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute(\"x\")||\"0\"),y:parseFloat(t.getAttribute(\"y\")||\"0\"),width:parseFloat(t.getAttribute(\"width\")||\"0\"),height:parseFloat(t.getAttribute(\"height\")||\"0\")}),n.silent=!0,n},circle:function(t,e){var n=new Qf;return bI(e,n),OI(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute(\"cx\")||\"0\"),cy:parseFloat(t.getAttribute(\"cy\")||\"0\"),r:parseFloat(t.getAttribute(\"r\")||\"0\")}),n.silent=!0,n},line:function(t,e){var n=new Pg;return bI(e,n),OI(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute(\"x1\")||\"0\"),y1:parseFloat(t.getAttribute(\"y1\")||\"0\"),x2:parseFloat(t.getAttribute(\"x2\")||\"0\"),y2:parseFloat(t.getAttribute(\"y2\")||\"0\")}),n.silent=!0,n},ellipse:function(t,e){var n=new tg;return bI(e,n),OI(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute(\"cx\")||\"0\"),cy:parseFloat(t.getAttribute(\"cy\")||\"0\"),rx:parseFloat(t.getAttribute(\"rx\")||\"0\"),ry:parseFloat(t.getAttribute(\"ry\")||\"0\")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute(\"points\");i&&(n=xI(i));var r=new Cg({shape:{points:n||[]},silent:!0});return bI(e,r),OI(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute(\"points\");i&&(n=xI(i));var r=new kg({shape:{points:n||[]},silent:!0});return bI(e,r),OI(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Za;return bI(e,n),OI(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute(\"xlink:href\")||t.getAttribute(\"href\"),x:+t.getAttribute(\"x\"),y:+t.getAttribute(\"y\"),width:+t.getAttribute(\"width\"),height:+t.getAttribute(\"height\")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute(\"x\")||\"0\",i=t.getAttribute(\"y\")||\"0\",r=t.getAttribute(\"dx\")||\"0\",o=t.getAttribute(\"dy\")||\"0\";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new wi;return bI(e,a),OI(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute(\"x\"),i=t.getAttribute(\"y\");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute(\"dx\")||\"0\",o=t.getAttribute(\"dy\")||\"0\",a=new wi;return bI(e,a),OI(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=t.getAttribute(\"d\")||\"\",i=Xf(n);return bI(e,i),OI(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),t}(),yI={lineargradient:function(t){var e=parseInt(t.getAttribute(\"x1\")||\"0\",10),n=parseInt(t.getAttribute(\"y1\")||\"0\",10),i=parseInt(t.getAttribute(\"x2\")||\"10\",10),r=parseInt(t.getAttribute(\"y2\")||\"0\",10),o=new qg(e,n,i,r);return vI(t,o),mI(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute(\"cx\")||\"0\",10),n=parseInt(t.getAttribute(\"cy\")||\"0\",10),i=parseInt(t.getAttribute(\"r\")||\"0\",10),r=new Zg(e,n,i);return vI(t,r),mI(t,r),r}};function vI(t,e){var n=t.getAttribute(\"gradientUnits\");\"userSpaceOnUse\"===n&&(e.global=!0)}function mI(t,e){var n=t.firstChild;while(n){if(1===n.nodeType&&\"stop\"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute(\"offset\"),r=void 0;r=i&&i.indexOf(\"%\")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};DI(n,o,o);var a=o.stopColor||n.getAttribute(\"stop-color\")||\"#000000\";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function bI(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(s[\"i\"])(e.__inheritedStyle,t.__inheritedStyle))}function xI(t){for(var e=MI(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=MI(a);switch(r=r||st(),s){case\"translate\":ht(r,r,[parseFloat(l[0]),parseFloat(l[1]||\"0\")]);break;case\"scale\":pt(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case\"rotate\":dt(r,r,-parseFloat(l[0])*kI);break;case\"skewX\":var c=Math.tan(parseFloat(l[0])*kI);ut(r,[1,0,c,1,0,0],r);break;case\"skewY\":var u=Math.tan(parseFloat(l[0])*kI);ut(r,[1,u,0,1,0,0],r);break;case\"matrix\":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5]);break}}e.setLocalTransform(r)}}var TI=/([^\\s:;]+)\\s*:\\s*([^:;]+)/g;function DI(t,e,n){var i=t.getAttribute(\"style\");if(i){var r;TI.lastIndex=0;while(null!=(r=TI.exec(i))){var o=r[1],a=Object(s[\"q\"])(hI,o)?hI[o]:null;a&&(e[a]=r[2]);var l=Object(s[\"q\"])(pI,o)?pI[o]:null;l&&(n[l]=r[2])}}}function PI(t,e,n){for(var i=0;in&&(t=r,n=a)}if(t)return GI(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0],r=this.geometries;return Object(s[\"k\"])(r,(function(e){\"polygon\"===e.type?VI(e.exterior,n,i,t):Object(s[\"k\"])(e.points,(function(e){VI(e,n,i,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new Mt(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=o,r=s,o=l,i.push([s/n,l/n])}return i}function eT(t,e){return t=JI(t),s[\"H\"](s[\"n\"](t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case\"Polygon\":var o=i.coordinates;r.push(new WI(o[0],o.slice(1)));break;case\"MultiPolygon\":s[\"k\"](i.coordinates,(function(t){t[0]&&r.push(new WI(t[0],t.slice(1)))}));break;case\"LineString\":r.push(new XI([i.coordinates]));break;case\"MultiLineString\":r.push(new XI(i.coordinates))}var a=new YI(n[e||\"name\"],r,n.cp);return a.properties=n,a}))}for(var nT=[126,25],iT=\"南海诸岛\",rT=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],oT=0;oT0,g={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:h};\"geoJSON\"===s.resourceType?this._buildGeoJSON(g):\"geoSVG\"===s.resourceType&&this._buildSVG(g),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=s[\"f\"](),n=s[\"f\"](),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,l=t.geo.projection,c=l&&l.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!c&&l&&l.project,i=0;i=0)&&(d=r);var p=a?{normal:{align:\"center\",verticalAlign:\"middle\"}}:null;$l(e,tc(i),{labelFetcher:d,labelDataIndex:h,defaultText:n},p);var f=e.getTextContent();if(f&&(wT(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+\"%\",(a[1]-g.y)/g.height*100+\"%\"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function AT(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):js(e).eventData={componentType:\"geo\",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function kT(t,e,n,i,r){t.data||Ly({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get(\"tooltip\")})}function IT(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get(\"selectedMode\");var o=i.getModel(\"emphasis\"),a=o.get(\"focus\");return Ml(e,a,o.get(\"blurScope\"),o.get(\"disabled\")),t.isGeo&&Ll(e,r,n),a}function TT(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var l=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&l.polygonStart(),s[\"k\"](t,(function(t){l.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill=\"#fff\",n.style.lineWidth=2),n},e.type=\"series.map\",e.dependencies=[\"geo\"],e.layoutMode=\"box\",e.defaultOption={z:2,coordinateSystem:\"geo\",map:\"\",left:\"center\",top:\"center\",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:\"#000\"},itemStyle:{borderWidth:.5,borderColor:\"#444\",areaColor:\"#eee\"},emphasis:{label:{show:!0,color:\"rgb(100,0,0)\"},itemStyle:{areaColor:\"rgba(255,215,0,0.8)\"}},select:{label:{show:!0,color:\"rgb(100,0,0)\"},itemStyle:{color:\"rgba(255,215,0,0.8)\"}},nameProperty:\"name\"},e}(wf),ET=RT;function BT(t,e){var n={};return s[\"k\"](t,(function(t){t.each(t.mapDimension(\"value\"),(function(e,i){var r=\"ec-\"+t.getName(i);n[r]=n[r]||[],isNaN(e)||n[r].push(e)}))})),t[0].map(t[0].mapDimension(\"value\"),(function(i,r){for(var o,a=\"ec-\"+t[0].getName(r),s=0,l=1/0,c=-1/0,u=n[a].length,h=0;h1?(p.width=d,p.height=d/b):(p.height=d,p.width=d*b),p.y=h[1]-p.height/2,p.x=h[0]-p.width/2;else{var O=t.getBoxLayoutParams();O.aspect=b,p=Fu(O,{width:v,height:m})}this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get(\"center\"),e),this.setZoom(t.get(\"zoom\"))}function KT(t,e){s[\"k\"](e.get(\"geoCoord\"),(function(e,n){t.addGeoCoord(n,e)}))}var QT=function(){function t(){this.dimensions=XT}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get(\"nameProperty\"),aspectScale:t.get(\"aspectScale\"),projection:t.get(\"projection\")}}t.eachComponent(\"geo\",(function(t,r){var o=t.get(\"map\"),a=new UT(o+r,o,s[\"m\"]({nameMap:t.get(\"nameMap\")},i(t)));a.zoomLimit=t.get(\"scaleLimit\"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=ZT,a.resize(t,e)})),t.eachSeries((function(t){var e=t.get(\"coordinateSystem\");if(\"geo\"===e){var i=t.get(\"geoIndex\")||0;t.coordinateSystem=n[i]}}));var r={};return t.eachSeriesByType(\"map\",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),s[\"k\"](r,(function(t,r){var o=s[\"H\"](t,(function(t){return t.get(\"nameMap\")})),a=new UT(r,r,s[\"m\"]({nameMap:s[\"J\"](o)},i(t[0])));a.zoomLimit=s[\"O\"].apply(null,s[\"H\"](t,(function(t){return t.get(\"scaleLimit\")}))),n.push(a),a.resize=ZT,a.resize(t[0],e),s[\"k\"](t,(function(t){t.coordinateSystem=a,KT(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=s[\"f\"](),a=0;a=0;a--){var s=i[a];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},r.push(s)}}function uD(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){gD(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=yD(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function hD(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function dD(t){return arguments.length?t:OD}function pD(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function fD(t,e){return Fu(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function gD(t){var e=t.children,n=e.length,i=0,r=0;while(--n>=0){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}function yD(t,e,n,i){if(e){var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,c=o.hierNode.modifier,u=a.hierNode.modifier,h=s.hierNode.modifier;while(s=vD(s),o=mD(o),s&&o){r=vD(r),a=mD(a),r.hierNode.ancestor=t;var d=s.hierNode.prelim+h-o.hierNode.prelim-c+i(s,o);d>0&&(xD(bD(s,t,n),t,d),c+=d,l+=d),h+=s.hierNode.modifier,c+=o.hierNode.modifier,l+=r.hierNode.modifier,u+=a.hierNode.modifier}s&&!vD(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!mD(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=c-u,n=t)}return n}function vD(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function mD(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function bD(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function xD(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function OD(t,e){return t.parentNode===e.parentNode?1:2}var wD=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),jD=function(t){function e(e){return t.call(this,e)||this}return Object(o[\"c\"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:\"#000\",fill:null}},e.prototype.getDefaultShape=function(){return new wD},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l=\"TB\"===s||\"BT\"===s?0:1,c=1-l,u=Li(e.forkPosition,1),h=[];h[l]=r[l],h[c]=r[c]+(a[c]-r[c])*u,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var d=1;db.x,w||(O-=Math.PI));var S=w?\"left\":\"right\",_=l.getModel(\"label\"),C=_.get(\"rotate\"),M=C*(Math.PI/180),A=v.getTextContent();A&&(v.setTextConfig({position:_.get(\"position\")||S,rotation:null==C?-O:M,origin:\"center\"}),A.setStyle(\"verticalAlign\",\"middle\"))}var k=l.get([\"emphasis\",\"focus\"]),I=\"relative\"===k?s[\"e\"](a.getAncestorsIndices(),a.getDescendantIndices()):\"ancestor\"===k?a.getAncestorsIndices():\"descendant\"===k?a.getDescendantIndices():null;I&&(js(n).focus=I),MD(r,a,h,n,g,f,y,i),n.__edge&&(n.onHoverStateChange=function(e){if(\"blur\"!==e){var i=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);i&&i.hoverState===Is||$s(n.__edge,e)}})}function MD(t,e,n,i,r,o,a,l){var c=e.getModel(),u=t.get(\"edgeShape\"),h=t.get(\"layout\"),d=t.getOrient(),p=t.get([\"lineStyle\",\"curveness\"]),f=t.get(\"edgeForkPosition\"),g=c.getModel(\"lineStyle\").getLineStyle(),y=i.__edge;if(\"curve\"===u)e.parentNode&&e.parentNode!==n&&(y||(y=i.__edge=new Fg({shape:TD(h,d,p,r,r)})),Gl(y,{shape:TD(h,d,p,o,a)},t));else if(\"polyline\"===u)if(\"orthogonal\"===h){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var v=e.children,m=[],b=0;be&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(s[\"C\"](r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function ZD(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function KD(t,e){var n=ZD(t);return s[\"r\"](n,e)>=0}function QD(t,e){var n=[];while(t){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var JD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return Object(o[\"c\"])(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new _c(n,this,this.ecModel),r=qD.createTree(e,this,o);function o(t){t.wrapMethod(\"getItemModel\",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}var a=0;r.eachNode(\"preorder\",(function(t){t.depth>a&&(a=t.depth)}));var s=t.expandAndCollapse,l=s&&t.initialTreeDepth>=0?t.initialTreeDepth:a;return r.root.eachNode(\"preorder\",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),r.data},e.prototype.getOrient=function(){var t=this.get(\"orient\");return\"horizontal\"===t?t=\"LR\":\"vertical\"===t&&(t=\"TB\"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;while(o&&o!==r)s=o.parentNode.name+\".\"+s,o=o.parentNode;return Xp(\"nameValue\",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=QD(i,this),n.collapsed=!i.isExpand,n},e.type=\"series.tree\",e.layoutMode=\"box\",e.defaultOption={z:2,coordinateSystem:\"view\",left:\"12%\",top:\"12%\",right:\"12%\",bottom:\"12%\",layout:\"orthogonal\",edgeShape:\"curve\",edgeForkPosition:\"50%\",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:\"LR\",symbol:\"emptyCircle\",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:\"#ccc\",width:1.5,curveness:.5},itemStyle:{color:\"lightsteelblue\",borderWidth:1.5},label:{show:!0},animationEasing:\"linear\",animationDuration:700,animationDurationUpdate:500},e}(wf),$D=JD;function tP(t,e,n){var i,r=[t],o=[];while(i=r.pop())if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s=0;o--)i.push(r[o])}}function nP(t,e){t.eachSeriesByType(\"tree\",(function(t){iP(t,e)}))}function iP(t,e){var n=fD(t,e);t.layoutInfo=n;var i=t.get(\"layout\"),r=0,o=0,a=null;\"radial\"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=dD((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=dD());var s=t.getData().tree.root,l=s.children[0];if(l){cD(s),tP(l,uD,a),s.hierNode.modifier=-l.hierNode.prelim,eP(l,hD);var c=l,u=l,h=l;eP(l,(function(t){var e=t.getLayout().x;eu.getLayout().x&&(u=t),t.depth>h.depth&&(h=t)}));var d=c===u?1:a(c,u)/2,p=d-c.getLayout().x,f=0,g=0,y=0,v=0;if(\"radial\"===i)f=r/(u.getLayout().x+d+p),g=o/(h.depth-1||1),eP(l,(function(t){y=(t.getLayout().x+p)*f,v=(t.depth-1)*g;var e=pD(y,v);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:v},!0)}));else{var m=t.getOrient();\"RL\"===m||\"LR\"===m?(g=o/(u.getLayout().x+d+p),f=r/(h.depth-1||1),eP(l,(function(t){v=(t.getLayout().x+p)*g,y=\"LR\"===m?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:y,y:v},!0)}))):\"TB\"!==m&&\"BT\"!==m||(f=r/(u.getLayout().x+d+p),g=o/(h.depth-1||1),eP(l,(function(t){y=(t.getLayout().x+p)*f,v=\"TB\"===m?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:v},!0)})))}}}function rP(t){t.eachSeriesByType(\"tree\",(function(t){var e=t.getData(),n=e.tree;n.eachNode((function(t){var n=t.getModel(),i=n.getModel(\"itemStyle\").getItemStyle(),r=e.ensureUniqueItemVisual(t.dataIndex,\"style\");Object(s[\"m\"])(r,i)}))}))}function oP(t){t.registerAction({type:\"treeExpandAndCollapse\",event:\"treeExpandAndCollapse\",update:\"update\"},(function(t,e){e.eachComponent({mainType:\"series\",subType:\"tree\",query:t},(function(e){var n=t.dataIndex,i=e.getData().tree,r=i.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),t.registerAction({type:\"treeRoam\",event:\"treeRoam\",update:\"none\"},(function(t,e,n){e.eachComponent({mainType:\"series\",subType:\"tree\",query:t},(function(e){var i=e.coordinateSystem,r=iD(i,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}function aP(t){t.registerChartView(DD),t.registerSeriesModel($D),t.registerLayout(nP),t.registerVisual(rP),oP(t)}var sP=[\"treemapZoomToNode\",\"treemapRender\",\"treemapMove\"];function lP(t){for(var e=0;e1)n=n.parentNode;var r=wh(t.ecModel,n.name||n.dataIndex+\"\",i);e.setVisual(\"decal\",r)}))}var uP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return Object(o[\"c\"])(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};hP(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new _c({itemStyle:r},this,e);i=t.levels=dP(i,e);var a=s[\"H\"](i||[],(function(t){return new _c(t,o,e)}),this),l=qD.createTree(n,this,c);function c(t){t.wrapMethod(\"getItemModel\",(function(t,e){var n=l.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}return l.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return Xp(\"nameValue\",{name:o,value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=QD(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},s[\"m\"](this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=s[\"f\"](),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){cP(this)},e.type=\"series.treemap\",e.layoutMode=\"box\",e.defaultOption={progressive:0,left:\"center\",top:\"middle\",width:\"80%\",height:\"80%\",sort:!0,clipWindow:\"origin\",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:\"▶\",zoomToNodeRatio:.1024,roam:!0,nodeClick:\"zoomToNode\",animation:!0,animationDurationUpdate:900,animationEasing:\"quinticInOut\",breadcrumb:{show:!0,height:22,left:\"center\",top:\"bottom\",emptyItemWidth:25,itemStyle:{color:\"rgba(0,0,0,0.7)\",textStyle:{color:\"#fff\"}},emphasis:{itemStyle:{color:\"rgba(0,0,0,0.9)\"}}},label:{show:!0,distance:0,padding:5,position:\"inside\",color:\"#fff\",overflow:\"truncate\"},upperLabel:{show:!1,position:[0,\"50%\"],height:20,overflow:\"truncate\",verticalAlign:\"middle\"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:\"#fff\",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,\"50%\"],overflow:\"truncate\",verticalAlign:\"middle\"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:\"index\",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(wf);function hP(t){var e=0;s[\"k\"](t.children,(function(t){hP(t);var n=t.value;s[\"t\"](n)&&(n=n[0]),e+=n}));var n=t.value;s[\"t\"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),s[\"t\"](t.value)?t.value[0]=n:t.value=n}function dP(t,e){var n=ar(e.get(\"color\")),i=ar(e.get([\"aria\",\"decal\",\"decals\"]));if(n){var r,o;t=t||[],s[\"k\"](t,(function(t){var e=new _c(t),n=e.get(\"color\"),i=e.get(\"decal\");(e.get([\"itemStyle\",\"color\"])||n&&\"none\"!==n)&&(r=!0),(e.get([\"itemStyle\",\"decal\"])||i&&\"none\"!==i)&&(o=!0)}));var a=t[0]||(t[0]={});return r||(a.color=n.slice()),!o&&i&&(a.decal=i.slice()),t}}var pP=uP,fP=8,gP=8,yP=5,vP=function(){function t(t){this.group=new wi,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel(\"breadcrumb\"),o=this.group;if(o.removeAll(),r.get(\"show\")&&n){var a=r.getModel(\"itemStyle\"),s=r.getModel(\"emphasis\"),l=a.getModel(\"textStyle\"),c=s.getModel([\"itemStyle\",\"textStyle\"]),u={pos:{left:r.get(\"left\"),right:r.get(\"right\"),top:r.get(\"top\"),bottom:r.get(\"bottom\")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get(\"emptyItemWidth\"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(t,u,a,s,l,c,i),Nu(o,u.pos,u.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=xr(i.getModel().get(\"name\"),\"\"),o=n.getTextRect(r),a=Math.max(o.width+2*fP,e.emptyItemWidth);e.totalWidth+=a+gP,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var l=0,c=e.emptyItemWidth,u=t.get([\"breadcrumb\",\"height\"]),h=Bu(e.pos,e.box),d=e.totalWidth,p=e.renderList,f=i.getModel(\"itemStyle\").getItemStyle(),g=p.length-1;g>=0;g--){var y=p[g],v=y.node,m=y.width,b=y.text;d>h.width&&(d-=m-c,m=c,b=null);var x=new Cg({shape:{points:mP(l,0,m,u,g===p.length-1,0===g)},style:Object(s[\"i\"])(n.getItemStyle(),{lineJoin:\"bevel\"}),textContent:new ws({style:ec(r,{text:b})}),textConfig:{position:\"inside\"},z2:1e4*Ls,onclick:Object(s[\"h\"])(a,v)});x.disableLabelAnimation=!0,x.getTextContent().ensureState(\"emphasis\").style=ec(o,{text:b}),x.ensureState(\"emphasis\").style=f,Ml(x,i.get(\"focus\"),i.get(\"blurScope\"),i.get(\"disabled\")),this.group.add(x),bP(x,t,v),l+=m+gP}},t.prototype.remove=function(){this.group.removeAll()},t}();function mP(t,e,n,i,r,o){var a=[[r?t:t-yP,e],[t+n,e],[t+n,e+i],[r?t:t-yP,e+i]];return!o&&a.splice(2,0,[t+n+yP,e+i/2]),!r&&a.push([t,e+i/2]),a}function bP(t,e,n){js(t).eventData={componentType:\"series\",componentSubType:\"treemap\",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:\"treemap\",selfType:\"breadcrumb\",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&QD(n,e)}}var xP=vP,OP=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){e--,e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i_P||Math.abs(t.dy)>_P)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:\"treemapMove\",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if(\"animating\"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new Mt(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;e-=a.x,n-=a.y;var s=st();ht(s,s,[-e,-n]),pt(s,s,[t.scale,t.scale]),ht(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:\"treemapRender\",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},e.prototype._initEvents=function(t){var e=this;t.on(\"click\",(function(t){if(\"ready\"===e._state){var n=e.seriesModel.get(\"nodeClick\",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if(\"zoomToNode\"===n)e._zoomToNode(i);else if(\"link\"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get(\"link\",!0),s=o.get(\"target\",!0)||\"blank\";a&&Tu(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get(\"leafDepth\",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new xP(this.group))).render(t,e,n.node,(function(e){\"animating\"!==i._state&&(KD(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=RP(),this._state=\"ready\",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:\"treemapZoomToNode\",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:\"treemapRootToNode\",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n,i=this.seriesModel.getViewRoot();return i.eachNode({attr:\"viewChildren\",order:\"preorder\"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type=\"treemap\",e}(Xy);function RP(){return{nodeGroup:[],background:[],content:[]}}function EP(t,e,n,i,r,o,a,l,c,u){if(a){var h=a.getLayout(),d=t.getData(),p=a.getModel();if(d.setItemGraphicEl(a.dataIndex,null),h&&h.isInView){var f=h.width,g=h.height,y=h.borderWidth,v=h.invisible,m=a.getRawIndex(),b=l&&l.getRawIndex(),x=a.viewChildren,O=h.upperHeight,w=x&&x.length,j=p.getModel(\"itemStyle\"),S=p.getModel([\"emphasis\",\"itemStyle\"]),_=p.getModel([\"blur\",\"itemStyle\"]),C=p.getModel([\"select\",\"itemStyle\"]),M=j.get(\"borderRadius\")||0,A=V(\"nodeGroup\",jP);if(A){if(c.add(A),A.x=h.x||0,A.y=h.y||0,A.markRedraw(),PP(A).nodeWidth=f,PP(A).nodeHeight=g,h.isAboveViewRoot)return A;var k=V(\"background\",SP,u,kP);k&&E(A,k,w&&h.upperLabelHeight);var I=p.getModel(\"emphasis\"),T=I.get(\"focus\"),D=I.get(\"blurScope\"),P=I.get(\"disabled\"),L=\"ancestor\"===T?a.getAncestorsIndices():\"descendant\"===T?a.getDescendantIndices():T;if(w)Pl(A)&&Dl(A,!1),k&&(Dl(k,!P),d.setItemGraphicEl(a.dataIndex,k),Al(k,L,D));else{var R=V(\"content\",SP,u,IP);R&&B(A,R),k.disableMorphing=!0,k&&Pl(k)&&Dl(k,!1),Dl(A,!P),d.setItemGraphicEl(a.dataIndex,A),Al(A,L,D)}return A}}}function E(e,n,i){var r=js(n);if(r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:f,height:g,r:M}),v)F(n);else{n.invisible=!1;var o=a.getVisual(\"style\"),s=o.stroke,l=DP(j);l.fill=s;var c=TP(S);c.fill=S.get(\"borderColor\");var u=TP(_);u.fill=_.get(\"borderColor\");var h=TP(C);if(h.fill=C.get(\"borderColor\"),i){var d=f-2*y;N(n,s,o.opacity,{x:y,y:0,width:d,height:O})}else n.removeTextContent();n.setStyle(l),n.ensureState(\"emphasis\").style=c,n.ensureState(\"blur\").style=u,n.ensureState(\"select\").style=h,ol(n)}e.add(n)}function B(e,n){var i=js(n);i.dataIndex=a.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(f-2*y,0),o=Math.max(g-2*y,0);if(n.culling=!0,n.setShape({x:y,y:y,width:r,height:o,r:M}),v)F(n);else{n.invisible=!1;var s=a.getVisual(\"style\"),l=s.fill,c=DP(j);c.fill=l,c.decal=s.decal;var u=TP(S),h=TP(_),d=TP(C);N(n,l,s.opacity,null),n.setStyle(c),n.ensureState(\"emphasis\").style=u,n.ensureState(\"blur\").style=h,n.ensureState(\"select\").style=d,ol(n)}e.add(n)}function F(t){!t.invisible&&o.push(t)}function N(e,n,i,r){var o=p.getModel(r?MP:CP),l=xr(p.get(\"name\"),null),c=o.getShallow(\"show\");$l(e,tc(p,r?MP:CP),{defaultText:c?l:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:a.dataIndex});var u=e.getTextContent();if(u){var d=u.style,f=Object(s[\"M\"])(d.padding||0);r&&(e.setTextConfig({layoutRect:r}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-f[1]-f[3],0),n=Math.max((r?r.height:e.shape.height)-f[0]-f[2],0);d.width===t&&d.height===n||u.setStyle({width:t,height:n})},d.truncateMinChar=2,d.lineOverflow=\"truncate\",z(d,r,h);var g=u.getState(\"emphasis\");z(g?g.style:null,r,h)}}function z(e,n,i){var r=e?e.text:null;if(!n&&i.isLeafRoot&&null!=r){var o=t.get(\"drillDownIcon\",!0);e.text=o?o+\" \"+r:r}}function V(t,i,o,a){var s=null!=b&&n[t][b],l=r[t];return s?(n[t][b]=null,G(l,s)):v||(s=new i,s instanceof Lo&&(s.z2=BP(o,a)),H(l,s)),e[t][m]=s}function G(t,e){var n=t[m]={};e instanceof jP?(n.oldX=e.x,n.oldY=e.y):n.oldShape=Object(s[\"m\"])({},e.shape)}function H(t,e){var n=t[m]={},o=a.parentNode,s=e instanceof wi;if(o&&(!i||\"drillDown\"===i.direction)){var l=0,c=0,u=r.background[o.getRawIndex()];!i&&u&&u.oldShape&&(l=u.oldShape.width,c=u.oldShape.height),s?(n.oldX=0,n.oldY=c):n.oldShape={x:l,y:c,width:0,height:0}}n.fadein=!s}}function BP(t,e){return t*AP+e}var FP=LP,NP=s[\"k\"],zP=s[\"A\"],VP=-1,GP=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=s[\"d\"](e);this.type=i,this.mappingMethod=n,this._normalizeData=tL[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],\"piecewise\"===n?(XP(r),HP(r)):\"category\"===n?r.categories?WP(r):XP(r,!0):(s[\"b\"](\"linear\"!==n||r.dataExtent),XP(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return s[\"c\"](this._normalizeData,this)},t.listVisualTypes=function(){return s[\"F\"](t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){s[\"A\"](t)?s[\"k\"](t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=s[\"t\"](e)?[]:s[\"A\"](e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&NP(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(s[\"t\"](t))t=t.slice();else{if(!zP(t))return[];var e=[];NP(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return\"color\"===e&&\"color\"!==t&&0===t.indexOf(\"color\")?1:-1})),t},t.dependsOn=function(t,e){return\"color\"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}function XP(t,e){var n=t.visual,i=[];s[\"A\"](n)?NP(n,(function(t){i.push(t)})):null!=n&&i.push(n);var r={color:1,symbol:1};e||1!==i.length||r.hasOwnProperty(t.type)||(i[1]=i[0]),$P(t,i)}function YP(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i(\"color\",t(n(\"color\"),r))},_normalizedToVisual:QP([0,1])}}function qP(t){var e=this.option.visual;return e[Math.round(Pi(t,[0,1],[0,e.length-1],!0))]||{}}function UP(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function ZP(t){var e=this.option.visual;return e[this.option.loop&&t!==VP?t%e.length:t]}function KP(){return this.option.visual[0]}function QP(t){return{linear:function(e){return Pi(e,t,this.option.visual,!0)},category:ZP,piecewise:function(e,n){var i=JP.call(this,n);return null==i&&(i=Pi(e,t,this.option.visual,!0)),i},fixed:KP}}function JP(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=GP.findPieceIndex(t,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function $P(t,e){return t.visual=e,\"color\"===t.type&&(t.parsedVisual=s[\"H\"](e,(function(t){var e=Be[\"g\"](t);return e||[0,0,0,1]}))),e}var tL={linear:function(t){return Pi(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=GP.findPieceIndex(t,e,!0);if(null!=n)return Pi(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?VP:e},fixed:s[\"L\"]};function eL(t,e,n){return t?e<=n:e=n.length||t===n[t.depth]){var o=pL(r,u,t,e,g,i);aL(t,o,n,i)}}))}else l=lL(u),h.fill=l}}function sL(t,e,n){var i=Object(s[\"m\"])({},e),r=n.designatedVisualItemStyle;return Object(s[\"k\"])([\"color\",\"colorAlpha\",\"colorSaturation\"],(function(n){r[n]=e[n];var o=t.get(n);r[n]=null,null!=o&&(i[n]=o)})),i}function lL(t){var e=uL(t,\"color\");if(e){var n=uL(t,\"colorAlpha\"),i=uL(t,\"colorSaturation\");return i&&(e=Object(Be[\"f\"])(e,null,null,i)),n&&(e=Object(Be[\"e\"])(e,n)),e}}function cL(t,e){return null!=e?Object(Be[\"f\"])(e,null,null,t):null}function uL(t,e){var n=t[e];if(null!=n&&\"none\"!==n)return n}function hL(t,e,n,i,r,o){if(o&&o.length){var a=dL(e,\"color\")||null!=r.color&&\"none\"!==r.color&&(dL(e,\"colorAlpha\")||dL(e,\"colorSaturation\"));if(a){var s=e.get(\"visualMin\"),l=e.get(\"visualMax\"),c=n.dataExtent.slice();null!=s&&sc[1]&&(c[1]=l);var u=e.get(\"colorMappingBy\"),h={type:a.name,dataExtent:c,visual:a.range};\"color\"!==h.type||\"index\"!==u&&\"id\"!==u?h.mappingMethod=\"linear\":(h.mappingMethod=\"category\",h.loop=!0);var d=new nL(h);return rL(d).drColorMappingBy=u,d}}}function dL(t,e){var n=t.get(e);return Object(s[\"t\"])(n)&&n.length?{name:e,range:n}:null}function pL(t,e,n,i,r,o){var a=Object(s[\"m\"])({},e);if(r){var l=r.type,c=\"color\"===l&&rL(r).drColorMappingBy,u=\"index\"===c?i:\"id\"===c?o.mapIdToIndex(n.getId()):n.getValue(t.get(\"visualDimension\"));a[l]=r.mapValueToVisual(u)}return a}var fL=Math.max,gL=Math.min,yL=s[\"O\"],vL=s[\"k\"],mL=[\"itemStyle\",\"borderWidth\"],bL=[\"itemStyle\",\"gapWidth\"],xL=[\"upperLabel\",\"show\"],OL=[\"upperLabel\",\"height\"],wL={seriesType:\"treemap\",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,l=Fu(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),c=a.size||[],u=Li(yL(l.width,c[0]),r),h=Li(yL(l.height,c[1]),o),d=i&&i.type,p=[\"treemapZoomToNode\",\"treemapRootToNode\"],f=UD(i,p,t),g=\"treemapRender\"===d||\"treemapMove\"===d?i.rootRect:null,y=t.getViewRoot(),v=ZD(y);if(\"treemapMove\"!==d){var m=\"treemapZoomToNode\"===d?IL(t,f,y,u,h):g?[g.width,g.height]:[u,h],b=a.sort;b&&\"asc\"!==b&&\"desc\"!==b&&(b=\"desc\");var x={squareRatio:a.squareRatio,sort:b,leafDepth:a.leafDepth};y.hostTree.clearLayouts();var O={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};y.setLayout(O),jL(y,x,!1,0),O=y.getLayout(),vL(v,(function(t,e){var n=(v[e+1]||y).getValue();t.setLayout(s[\"m\"]({dataExtent:[n,n],borderWidth:0,upperHeight:0},O))}))}var w=t.getData().tree.root;w.setLayout(TL(l,g,f),!0),t.setLayoutInfo(l),DL(w,new Mt(-l.x,-l.y,r,o),v,y,0)}};function jL(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var s=t.getModel(),l=s.get(mL),c=s.get(bL)/2,u=PL(s),h=Math.max(l,u),d=l-c,p=h-c;t.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:u},!0),r=fL(r-2*d,0),o=fL(o-d-p,0);var f=r*o,g=SL(t,s,f,e,n,i);if(g.length){var y={x:d,y:p,width:r,height:o},v=gL(r,o),m=1/0,b=[];b.area=0;for(var x=0,O=g.length;x=0;l--){var c=r[\"asc\"===i?a-l-1:l].getValue();c/n*ea[1]&&(a[1]=e)}))):a=[NaN,NaN],{sum:i,dataExtent:a}}function AL(t,e,n){for(var i=0,r=1/0,o=0,a=void 0,s=t.length;oi&&(i=a));var l=t.area*t.area,c=e*e*n;return l?fL(c*i/l,l/(c*r)):1/0}function kL(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=[\"x\",\"y\"],l=[\"width\",\"height\"],c=n[s[o]],u=e?t.area/e:0;(r||u>n[l[a]])&&(u=n[l[a]]);for(var h=0,d=t.length;hGi&&(c=Gi),a=o}ci&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a0&&(x[0]=-x[0],x[1]=-x[1]);var w=b[0]<0?-1:1;if(\"start\"!==i.__position&&\"end\"!==i.__position){var j=-Math.atan2(b[1],b[0]);c[0].8?\"left\":u[0]<-.8?\"right\":\"center\",d=u[1]>.8?\"top\":u[1]<-.8?\"bottom\":\"middle\";break;case\"start\":i.x=-u[0]*g+l[0],i.y=-u[1]*y+l[1],h=u[0]>.8?\"right\":u[0]<-.8?\"left\":\"center\",d=u[1]>.8?\"bottom\":u[1]<-.8?\"top\":\"middle\";break;case\"insideStartTop\":case\"insideStart\":case\"insideStartBottom\":i.x=g*w+l[0],i.y=l[1]+S,h=b[0]<0?\"right\":\"left\",i.originX=-g*w,i.originY=-S;break;case\"insideMiddleTop\":case\"insideMiddle\":case\"insideMiddleBottom\":case\"middle\":i.x=O[0],i.y=O[1]+S,h=\"center\",i.originY=-S;break;case\"insideEndTop\":case\"insideEnd\":case\"insideEndBottom\":i.x=-g*w+c[0],i.y=c[1]+S,h=b[0]>=0?\"right\":\"left\",i.originX=g*w,i.originY=-S;break}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||h})}}}function _(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr(\"rotation\",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr(\"rotation\",n)}},e}(wi),SR=jR,_R=function(){function t(t){this.group=new wi,this._LineCtor=t||SR}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=MR(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=MR(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||CR(t)||(t.incremental=!0,t.ensureState(\"emphasis\").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i0}function MR(t){var e=t.hostModel,n=e.getModel(\"emphasis\");return{lineStyle:e.getModel(\"lineStyle\").getLineStyle(),emphasisLineStyle:n.getModel([\"lineStyle\"]).getLineStyle(),blurLineStyle:e.getModel([\"blur\",\"lineStyle\"]).getLineStyle(),selectLineStyle:e.getModel([\"select\",\"lineStyle\"]).getLineStyle(),emphasisDisabled:n.get(\"disabled\"),blurScope:n.get(\"blurScope\"),focus:n.get(\"focus\"),labelStatesModels:tc(e)}}function AR(t){return isNaN(t[0])||isNaN(t[1])}function kR(t){return t&&!AR(t[0])&&!AR(t[1])}var IR=_R,TR=[],DR=[],PR=[],LR=Ce,RR=w,ER=Math.abs;function BR(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],s=1/0,l=n*n,c=.1,u=.1;u<=.9;u+=.1){TR[0]=LR(r[0],o[0],a[0],u),TR[1]=LR(r[1],o[1],a[1],u);var h=ER(RR(TR,e)-l);h=0?i+=c:i-=c:f>=0?i-=c:i+=c}return i}function FR(t,e){var n=[],i=Ie,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),h=t.getVisual(\"fromSymbol\"),d=t.getVisual(\"toSymbol\");l.__original||(l.__original=[u(l[0]),u(l[1])],l[2]&&l.__original.push(u(l[2])));var g=l.__original;if(null!=l[2]){if(c(r[0],g[0]),c(r[1],g[2]),c(r[2],g[1]),h&&\"none\"!==h){var y=tR(t.node1),v=BR(r,g[0],y*e);i(r[0][0],r[1][0],r[2][0],v,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],v,n),r[0][1]=n[3],r[1][1]=n[4]}if(d&&\"none\"!==d){y=tR(t.node2),v=BR(r,g[1],y*e);i(r[0][0],r[1][0],r[2][0],v,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],v,n),r[1][1]=n[1],r[2][1]=n[2]}c(l[0],r[0]),c(l[1],r[2]),c(l[2],r[1])}else{if(c(o[0],g[0]),c(o[1],g[1]),f(a,o[1],o[0]),m(a,a),h&&\"none\"!==h){y=tR(t.node1);p(o[0],o[0],a,y*e)}if(d&&\"none\"!==d){y=tR(t.node2);p(o[1],o[1],a,-y*e)}c(l[0],o[0]),c(l[1],o[1])}}))}function NR(t){return\"view\"===t.type}var zR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.init=function(t,e){var n=new yS,i=new IR,r=this.group;this._controller=new rI(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(NR(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):Gl(s,l,t)}FR(t.getGraph(),$L(t));var c=t.getData();o.updateData(c);var u=t.getEdgeData();a.updateData(u),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var h=t.forceLayout,d=t.get([\"force\",\"layoutAnimation\"]);h&&this._startForceLayoutIteration(h,d);var p=t.get(\"layout\");c.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off(\"drag\").off(\"dragend\");var a=o.get(\"draggable\");a&&r.on(\"drag\",(function(o){switch(p){case\"force\":h.warmUp(),!i._layouting&&i._startForceLayoutIteration(h,d),h.setFixed(n),c.setItemLayout(n,[r.x,r.y]);break;case\"circular\":c.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),iR(t,\"symbolSize\",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;case\"none\":default:c.setItemLayout(n,[r.x,r.y]),QL(t.getGraph(),t),i.updateLayout(t);break}})).on(\"dragend\",(function(){h&&h.setUnfixed(n)})),r.setDraggable(a,!!o.get(\"cursor\"));var s=o.get([\"emphasis\",\"focus\"]);\"adjacency\"===s&&(js(r).focus=e.getAdjacentDataIndices())}})),c.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get([\"emphasis\",\"focus\"]);e&&\"adjacency\"===n&&(js(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f=\"circular\"===t.get(\"layout\")&&t.get([\"circular\",\"rotateLabel\"]),g=c.getLayout(\"cx\"),y=c.getLayout(\"cy\");c.graph.eachNode((function(t){oR(t,f,g,y)})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;(function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))})()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!cI(e,n,t)})),NR(t.coordinateSystem)?(r.enable(t.get(\"roam\")),o.zoomLimit=t.get(\"scaleLimit\"),o.zoom=t.coordinateSystem.getZoom(),r.off(\"pan\").off(\"zoom\").on(\"pan\",(function(e){oI(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:\"graphRoam\",dx:e.dx,dy:e.dy})})).on(\"zoom\",(function(e){aI(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:\"graphRoam\",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),FR(t.getGraph(),$L(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=$L(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){FR(t.getGraph(),$L(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type=\"graph\",e}(Xy),VR=zR;function GR(t){return\"_EC_\"+t}var HR=function(){function t(t){this.type=\"graph\",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?\"\"+e:\"\"+t;var n=this._nodesMap;if(!n[GR(t)]){var i=new WR(t,e);return i.hostGraph=this,this.nodes.push(i),n[GR(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[GR(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(s[\"z\"](t)&&(t=this.nodes[t]),s[\"z\"](e)&&(e=this.nodes[e]),t instanceof WR||(t=i[GR(t)]),e instanceof WR||(e=i[GR(e)]),t&&e){var o=t.id+\"-\"+e.id,a=new XR(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof WR&&(t=t.id),e instanceof WR&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+\"-\"+e]:n[t+\"-\"+e]||n[e+\"-\"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof WR||(e=this._nodesMap[GR(e)]),e){for(var r=\"out\"===n?\"outEdges\":\"in\"===n?\"inEdges\":\"edges\",o=0;o=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}s[\"K\"](WR,YR(\"hostGraph\",\"data\")),s[\"K\"](XR,YR(\"hostGraph\",\"edgeData\"));var qR=HR;function UR(t,e,n,i,r){for(var o=new qR(i),a=0;a \"+p)),u++)}var f,g=n.get(\"coordinateSystem\");if(\"cartesian2d\"===g||\"polar\"===g)f=rS(t,n);else{var y=Xh.get(g),v=y&&y.dimensions||[];s[\"r\"](v,\"value\")<0&&v.concat([\"value\"]);var m=Vj(t,{coordDimensions:v,encodeDefine:n.getEncode()}).dimensions;f=new zj(m,n),f.initData(t)}var b=new zj([\"value\"],n);return b.initData(c,l),r&&r(f,b),HD({mainData:f,struct:o,structAttr:\"graph\",datas:{node:f,edge:b},datasAttr:{node:\"data\",edge:\"edgeData\"}}),o.update(),o}var ZR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Object(o[\"c\"])(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new wC(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),sr(e,\"edgeLabel\",[\"show\"])},e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],r=this;if(i&&n){qL(this);var o=UR(i,n,this,!0,a);return s[\"k\"](o.edges,(function(t){UL(t.node1,t.node2,this,t.dataIndex)}),this),o.data}function a(t,e){t.wrapMethod(\"getItemModel\",(function(t){var e=r._categoriesModels,n=t.getShallow(\"category\"),i=e[n];return i&&(i.parentModel=t.parentModel,t.parentModel=i),t}));var n=_c.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=o,i}function o(t){if(t&&(\"label\"===t[0]||\"label\"===t[1])){var e=t.slice();return\"label\"===t[0]?e[0]=\"edgeLabel\":\"label\"===t[1]&&(e[1]=\"edgeLabel\"),e}return t}e.wrapMethod(\"getItemModel\",(function(t){return t.resolveParentPath=o,t.getModel=i,t}))}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if(\"edge\"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Xp(\"nameValue\",{name:l.join(\" > \"),value:r.value,noValue:null==r.value})}var c=lf({series:this,dataIndex:t,multipleSeries:e});return c},e.prototype._updateCategoriesData=function(){var t=s[\"H\"](this.option.categories||[],(function(t){return null!=t.value?t:s[\"m\"]({value:0},t)})),e=new zj([\"value\"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!(\"force\"===this.get(\"layout\")&&this.get([\"force\",\"layoutAnimation\"]))},e.type=\"series.graph\",e.dependencies=[\"grid\",\"polar\",\"geo\",\"singleAxis\",\"calendar\"],e.defaultOption={z:2,coordinateSystem:\"view\",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:\"center\",top:\"center\",symbol:\"circle\",symbolSize:10,edgeSymbol:[\"none\",\"none\"],edgeSymbolSize:10,edgeLabel:{position:\"middle\",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:\"{b}\"},itemStyle:{},lineStyle:{color:\"#aaa\",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:\"#212121\"}}},e}(wf),KR=ZR,QR={type:\"graphRoam\",event:\"graphRoam\",update:\"none\"};function JR(t){t.registerChartView(VR),t.registerSeriesModel(KR),t.registerProcessor(RL),t.registerVisual(EL),t.registerVisual(FL),t.registerLayout(JL),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,aR),t.registerLayout(cR),t.registerCoordinateSystem(\"graphView\",{dimensions:HT.dimensions,create:hR}),t.registerAction({type:\"focusNodeAdjacency\",event:\"focusNodeAdjacency\",update:\"series:focusNodeAdjacency\"},s[\"L\"]),t.registerAction({type:\"unfocusNodeAdjacency\",event:\"unfocusNodeAdjacency\",update:\"series:unfocusNodeAdjacency\"},s[\"L\"]),t.registerAction(QR,(function(t,e,n){e.eachComponent({mainType:\"series\",query:t},(function(e){var i=e.coordinateSystem,r=iD(i,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}var $R=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),tE=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\"pointer\",n}return Object(o[\"c\"])(e,t),e.prototype.getDefaultShape=function(){return new $R},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(Va),eE=tE;function nE(t,e){var n=t.get(\"center\"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r),a=Li(n[0],e.getWidth()),s=Li(n[1],e.getHeight()),l=Li(t.get(\"radius\"),o/2);return{cx:a,cy:s,r:l}}function iE(t,e){var n=null==t?\"\":t+\"\";return e&&(Object(s[\"C\"])(e)?n=e.replace(\"{value}\",n):Object(s[\"w\"])(e)&&(n=e(t))),n}var rE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get([\"axisLine\",\"lineStyle\",\"color\"]),r=nE(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get(\"clockwise\"),l=-t.get(\"startAngle\")/180*Math.PI,c=-t.get(\"endAngle\")/180*Math.PI,u=t.getModel(\"axisLine\"),h=u.get(\"roundCap\"),d=h?M_:mg,p=u.get(\"show\"),f=u.getModel(\"lineStyle\"),g=f.get(\"width\"),y=[l,c];pa(y,!a),l=y[0],c=y[1];for(var v=c-l,m=l,b=[],x=0;p&&x=t&&(0===e?0:i[e-1][0])Math.PI/2&&(N+=Math.PI)):\"tangential\"===F?N=-_-Math.PI/2:Object(s[\"z\"])(F)&&(N=F*Math.PI/180),0===N?d.add(new ws({style:ec(x,{text:L,x:E,y:B,verticalAlign:h<-.8?\"top\":h>.8?\"bottom\":\"middle\",align:u<-.4?\"left\":u>.4?\"right\":\"center\"},{inheritColor:R}),silent:!0})):d.add(new ws({style:ec(x,{text:L,x:E,y:B,verticalAlign:\"middle\",align:\"center\"},{inheritColor:R}),silent:!0,originX:E,originY:B,rotation:N}))}if(b.get(\"show\")&&T!==O){D=b.get(\"distance\");D=D?D+c:c;for(var z=0;z<=w;z++){u=Math.cos(_),h=Math.sin(_);var V=new Pg({shape:{x1:u*(g-D)+p,y1:h*(g-D)+f,x2:u*(g-S-D)+p,y2:h*(g-S-D)+f},silent:!0,style:k});\"auto\"===k.stroke&&V.setStyle({stroke:i((T+z/w)/O)}),d.add(V),_+=M}_-=M}else _+=C}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,l,c){var u=this.group,h=this._data,d=this._progressEls,p=[],f=t.get([\"pointer\",\"show\"]),g=t.getModel(\"progress\"),y=g.get(\"show\"),v=t.getData(),m=v.mapDimension(\"value\"),b=+t.get(\"min\"),x=+t.get(\"max\"),O=[b,x],w=[o,a];function j(e,n){var i,o=v.getItemModel(e),a=o.getModel(\"pointer\"),s=Li(a.get(\"width\"),r.r),l=Li(a.get(\"length\"),r.r),c=t.get([\"pointer\",\"icon\"]),u=a.get(\"offsetCenter\"),h=Li(u[0],r.r),d=Li(u[1],r.r),p=a.get(\"keepAspect\");return i=c?rm(c,h-s/2,d-l,s,l,null,p):new eE({shape:{angle:-Math.PI/2,width:s,r:l,x:h,y:d}}),i.rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=g.get(\"roundCap\"),i=n?M_:mg,a=g.get(\"overlap\"),s=a?g.get(\"width\"):c/v.count(),u=a?r.r-s:r.r-(t+1)*s,h=a?r.r:r.r-t*s,d=new i({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:l,r0:u,r:h}});return a&&(d.z2=x-v.get(m,t)%x),d}(y||f)&&(v.diff(h).add((function(e){var n=v.get(m,e);if(f){var i=j(e,o);Hl(i,{rotation:-((isNaN(+n)?w[0]:Pi(n,O,w,!0))+Math.PI/2)},t),u.add(i),v.setItemGraphicEl(e,i)}if(y){var r=S(e,o),a=g.get(\"clip\");Hl(r,{shape:{endAngle:Pi(n,O,w,a)}},t),u.add(r),Ss(t.seriesIndex,v.dataType,e,r),p[e]=r}})).update((function(e,n){var i=v.get(m,e);if(f){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=j(e,a);s.rotation=a,Gl(s,{rotation:-((isNaN(+i)?w[0]:Pi(i,O,w,!0))+Math.PI/2)},t),u.add(s),v.setItemGraphicEl(e,s)}if(y){var l=d[n],c=l?l.shape.endAngle:o,b=S(e,c),x=g.get(\"clip\");Gl(b,{shape:{endAngle:Pi(i,O,w,x)}},t),u.add(b),Ss(t.seriesIndex,v.dataType,e,b),p[e]=b}})).execute(),v.each((function(t){var e=v.getItemModel(t),n=e.getModel(\"emphasis\"),r=n.get(\"focus\"),o=n.get(\"blurScope\"),a=n.get(\"disabled\");if(f){var l=v.getItemGraphicEl(t),c=v.getItemVisual(t,\"style\"),u=c.fill;if(l instanceof Za){var h=l.style;l.useStyle(Object(s[\"m\"])({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},c))}else l.useStyle(c),\"pointer\"!==l.type&&l.setColor(u);l.setStyle(e.getModel([\"pointer\",\"itemStyle\"]).getItemStyle()),\"auto\"===l.style.fill&&l.setStyle(\"fill\",i(Pi(v.get(m,t),O,[0,1],!0))),l.z2EmphasisLift=0,Tl(l,e),Ml(l,r,o,a)}if(y){var d=p[t];d.useStyle(v.getItemVisual(t,\"style\")),d.setStyle(e.getModel([\"progress\",\"itemStyle\"]).getItemStyle()),d.z2EmphasisLift=0,Tl(d,e),Ml(d,r,o,a)}})),this._progressEls=p)},e.prototype._renderAnchor=function(t,e){var n=t.getModel(\"anchor\"),i=n.get(\"show\");if(i){var r=n.get(\"size\"),o=n.get(\"icon\"),a=n.get(\"offsetCenter\"),s=n.get(\"keepAspect\"),l=rm(o,e.cx-r/2+Li(a[0],e.r),e.cy-r/2+Li(a[1],e.r),r,r,null,s);l.z2=n.get(\"showAbove\")?1:0,l.setStyle(n.getModel(\"itemStyle\").getItemStyle()),this.group.add(l)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension(\"value\"),l=+t.get(\"min\"),c=+t.get(\"max\"),u=new wi,h=[],d=[],p=t.isAnimationEnabled(),f=t.get([\"pointer\",\"showAbove\"]);a.diff(this._data).add((function(t){h[t]=new ws({silent:!0}),d[t]=new ws({silent:!0})})).update((function(t,e){h[t]=o._titleEls[e],d[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new wi,y=i(Pi(o,[l,c],[0,1],!0)),v=n.getModel(\"title\");if(v.get(\"show\")){var m=v.get(\"offsetCenter\"),b=r.cx+Li(m[0],r.r),x=r.cy+Li(m[1],r.r),O=h[e];O.attr({z2:f?0:2,style:ec(v,{x:b,y:x,text:a.getName(e),align:\"center\",verticalAlign:\"middle\"},{inheritColor:y})}),g.add(O)}var w=n.getModel(\"detail\");if(w.get(\"show\")){var j=w.get(\"offsetCenter\"),S=r.cx+Li(j[0],r.r),_=r.cy+Li(j[1],r.r),C=Li(w.get(\"width\"),r.r),M=Li(w.get(\"height\"),r.r),A=t.get([\"progress\",\"show\"])?a.getItemVisual(e,\"style\").fill:y,k=(O=d[e],w.get(\"formatter\"));O.attr({z2:f?0:2,style:ec(w,{x:S,y:_,text:iE(o,k),width:isNaN(C)?null:C,height:isNaN(M)?null:M,align:\"center\",verticalAlign:\"middle\"},{inheritColor:A})}),hc(O,{normal:w},o,(function(t){return iE(t,k)})),p&&dc(O,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return iE(a?a.interpolatedValue:o,k)}}),g.add(O)}u.add(g)})),this.group.add(u),this._titleEls=h,this._detailEls=d},e.type=\"gauge\",e}(Xy),oE=rE,aE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath=\"itemStyle\",n}return Object(o[\"c\"])(e,t),e.prototype.getInitialData=function(t,e){return xC(this,[\"value\"])},e.type=\"series.gauge\",e.defaultOption={z:2,colorBy:\"data\",center:[\"50%\",\"50%\"],legendHoverLink:!0,radius:\"75%\",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,\"#E6EBF8\"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:\"#63677A\",width:3,type:\"solid\"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:\"#63677A\",width:1,type:\"solid\"}},axisLabel:{show:!0,distance:15,color:\"#464646\",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:\"60%\",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:\"circle\",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:\"#fff\",borderWidth:0,borderColor:\"#5470c6\"}},title:{show:!0,offsetCenter:[0,\"20%\"],color:\"#464646\",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:\"rgba(0,0,0,0)\",borderWidth:0,borderColor:\"#ccc\",width:100,height:null,padding:[5,10],offsetCenter:[0,\"40%\"],color:\"#464646\",fontSize:30,fontWeight:\"bold\",lineHeight:30,valueAnimation:!1}},e}(wf),sE=aE;function lE(t){t.registerChartView(oE),t.registerSeriesModel(sE)}var cE=[\"itemStyle\",\"opacity\"],uE=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new kg,a=new ws;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return Object(o[\"c\"])(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel(\"emphasis\"),l=o.get(cE);l=null==l?1:l,n||Ul(i),i.useStyle(t.getItemVisual(e,\"style\")),i.style.lineJoin=\"round\",n?(i.setShape({points:a.points}),i.style.opacity=0,Hl(i,{style:{opacity:l}},r,e)):Gl(i,{style:{opacity:l},shape:{points:a.points}},r,e),Tl(i,o),this._updateLabel(t,e),Ml(this,s.get(\"focus\"),s.get(\"blurScope\"),s.get(\"disabled\"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,c=t.getItemVisual(e,\"style\"),u=c.fill;$l(r,tc(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:c.opacity,defaultText:t.getName(e)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),n.setTextConfig({local:!0,inside:!!l.inside,insideStroke:u,outsideFill:u});var h=l.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new vt(h[0][0],h[0][1]):null},Gl(r,{style:{x:l.x,y:l.y}},o,e),r.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),nO(n,iO(a),{stroke:u})},e}(Cg),hE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new uE(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){var n=r.getItemGraphicEl(e);ql(n,t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type=\"funnel\",e}(Xy),dE=hE,pE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new wC(s[\"c\"](this.getData,this),s[\"c\"](this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return xC(this,{coordDimensions:[\"value\"],encodeDefaulter:s[\"h\"](hh,this)})},e.prototype._defaultLabelLine=function(t){sr(t,\"labelLine\",[\"show\"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension(\"value\"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push(\"percent\"),i},e.type=\"series.funnel\",e.defaultOption={z:2,legendHoverLink:!0,colorBy:\"data\",left:80,top:60,right:80,bottom:60,minSize:\"0%\",maxSize:\"100%\",sort:\"descending\",orient:\"vertical\",gap:0,funnelAlign:\"center\",label:{show:!0,position:\"outer\"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:\"#fff\",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:\"#212121\"}}},e}(wf),fE=pE;function gE(t,e){return Fu(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function yE(t,e){for(var n=t.mapDimension(\"value\"),i=t.mapArray(n,(function(t){return t})),r=[],o=\"ascending\"===e,a=0,l=t.count();aNE)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);\"none\"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&GE(this,\"mousemove\")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;\"jump\"===i&&this._throttledDispatchExpand.debounceNextCall(e.get(\"axisExpandDebounce\")),this._throttledDispatchExpand(\"none\"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:\"jump\"===i?null:{duration:0}})}}};function GE(t,e){var n=t._model;return n.get(\"axisExpandable\")&&n.get(\"axisExpandTriggerOn\")===e}var HE=zE,WE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&s[\"I\"](e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get(\"parallelIndex\");return null!=n&&e.getComponent(\"parallel\",n)===this},e.prototype.setAxisExpand=function(t){s[\"k\"]([\"axisExpandable\",\"axisExpandCenter\",\"axisExpandCount\",\"axisExpandWidth\",\"axisExpandWindow\"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=s[\"n\"](this.ecModel.queryComponents({mainType:\"parallelAxis\"}),(function(t){return(t.get(\"parallelIndex\")||0)===this.componentIndex}),this);s[\"k\"](n,(function(n){t.push(\"dim\"+n.get(\"dim\")),e.push(n.componentIndex)}))},e.type=\"parallel\",e.dependencies=[\"parallelAxis\"],e.layoutMode=\"box\",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:\"horizontal\",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:\"click\",parallelAxisDefault:null},e}(Uu),XE=WE,YE=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||\"value\",a.axisIndex=o,a}return Object(o[\"c\"])(e,t),e.prototype.isHorizontal=function(){return\"horizontal\"!==this.coordinateSystem.getModel().get(\"layout\")},e}(AA),qE=YE;function UE(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=KE(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),\"all\"===i){var s=Math.abs(e[1]-e[0]);s=KE(s,[0,a]),r=o=KE(s,[r,o]),i=0}e[0]=KE(e[0],n),e[1]=KE(e[1],n);var l=ZE(e,i);e[i]+=t;var c,u=r||0,h=n.slice();return l.sign<0?h[0]+=u:h[1]-=u,e[i]=KE(e[i],h),c=ZE(e,i),null!=r&&(c.sign!==l.sign||c.spano&&(e[1-i]=e[i]+c.sign*o),e}function ZE(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function KE(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var QE=s[\"k\"],JE=Math.min,$E=Math.max,tB=Math.floor,eB=Math.ceil,nB=Ri,iB=Math.PI,rB=function(){function t(t,e,n){this.type=\"parallel\",this._axesMap=s[\"f\"](),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;QE(i,(function(t,n){var i=r[n],o=e.getComponent(\"parallelAxis\",i),a=this._axesMap.set(t,new qE(t,qM(o),[0,0],o.get(\"type\"),i)),s=\"category\"===a.type;a.onBand=s&&o.get(\"boundaryGap\"),a.inverse=o.get(\"inverse\"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();QE(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),YM(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Fu(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=[\"x\",\"y\"],r=[\"width\",\"height\"],o=e.get(\"layout\"),a=\"horizontal\"===o?0:1,s=n[r[a]],l=[0,s],c=this.dimensions.length,u=oB(e.get(\"axisExpandWidth\"),l),h=oB(e.get(\"axisExpandCount\")||0,[0,c]),d=e.get(\"axisExpandable\")&&c>3&&c>h&&h>1&&u>0&&s>0,p=e.get(\"axisExpandWindow\");if(p)t=oB(p[1]-p[0],l),p[1]=p[0]+t;else{t=oB(u*(h-1),l);var f=e.get(\"axisExpandCenter\")||tB(c/2);p=[u*f-t/2],p[1]=p[0]+t}var g=(s-t)/(c-h);g<3&&(g=0);var y=[tB(nB(p[0]/u,1))+1,eB(nB(p[1]/u,1))-1],v=g/u*p[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:d,axisExpandWidth:u,axisCollapseWidth:g,axisExpandWindow:p,axisCount:c,winInnerIndices:y,axisExpandWindow0Pos:v}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),QE(n,(function(e,n){var o=(i.axisExpandable?sB:aB)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:iB/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],c=s[r],u=st();dt(u,u,c),ht(u,u,l),this._axesLayout[e]={position:l,rotation:c,transform:u,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],l=[];s[\"k\"](o,(function(e){a.push(t.mapDimension(e)),l.push(r.get(e).model)}));for(var c=this.hasAxisBrushed(),u=n;ur*(1-u[0])?(l=\"jump\",a=s-r*(1-u[2])):(a=s-r*u[1])>=0&&(a=s-r*(1-u[1]))<=0&&(a=0),a*=e.axisExpandWidth/c,a?UE(a,i,o,\"all\"):l=\"none\";else{var d=i[1]-i[0],p=o[1]*s/d;i=[$E(0,p-d/2)],i[1]=JE(o[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},t}();function oB(t,e){return JE($E(t,e[0]),e[1])}function aB(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function sB(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,c=s,u=!1;return t=0;n--)Ei(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return\"normal\";if(null==t||isNaN(+t))return\"inactive\";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return\"active\"}else for(var i=0,r=e.length;ibB}function FB(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function NB(t,e,n,i){var r=new wi;return r.add(new rs({name:\"main\",style:HB(n),silent:!0,draggable:!0,cursor:\"move\",drift:Object(s[\"h\"])(UB,t,e,r,[\"n\",\"s\",\"w\",\"e\"]),ondragend:Object(s[\"h\"])(EB,e,{isEnd:!0})})),Object(s[\"k\"])(i,(function(n){r.add(new rs({name:n.join(\"\"),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(s[\"h\"])(UB,t,e,r,n),ondragend:Object(s[\"h\"])(EB,e,{isEnd:!0})}))})),r}function zB(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=yB(r,xB),a=n[0][0],s=n[1][0],l=a-r/2,c=s-r/2,u=n[0][1],h=n[1][1],d=u-o+r/2,p=h-o+r/2,f=u-a,g=h-s,y=f+r,v=g+r;GB(t,e,\"main\",a,s,f,g),i.transformable&&(GB(t,e,\"w\",l,c,o,v),GB(t,e,\"e\",d,c,o,v),GB(t,e,\"n\",l,c,y,o),GB(t,e,\"s\",l,p,y,o),GB(t,e,\"nw\",l,c,o,o),GB(t,e,\"ne\",d,c,o,o),GB(t,e,\"sw\",l,p,o,o),GB(t,e,\"se\",d,p,o,o))}function VB(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(HB(n)),r.attr({silent:!i,cursor:i?\"move\":\"default\"}),Object(s[\"k\"])([[\"w\"],[\"e\"],[\"n\"],[\"s\"],[\"s\",\"e\"],[\"s\",\"w\"],[\"n\",\"e\"],[\"n\",\"w\"]],(function(n){var r=e.childOfName(n.join(\"\")),o=1===n.length?YB(t,n[0]):qB(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?jB[o]+\"-resize\":null})}))}function GB(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(JB(QB(t,e,[[i,r],[i+o,r+a]])))}function HB(t){return Object(s[\"i\"])({strokeNoScale:!0},t.brushStyle)}function WB(t,e,n,i){var r=[gB(t,n),gB(e,i)],o=[yB(t,n),yB(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function XB(t){return Oy(t.group)}function YB(t,e){var n={w:\"left\",e:\"right\",n:\"top\",s:\"bottom\"},i={left:\"w\",right:\"e\",top:\"n\",bottom:\"s\"},r=jy(n[e],XB(t));return i[r]}function qB(t,e){var n=[YB(t,e[0]),YB(t,e[1])];return(\"e\"===n[0]||\"w\"===n[0])&&n.reverse(),n.join(\"\")}function UB(t,e,n,i,r,o){var a=n.__brushOption,l=t.toRectRange(a.range),c=KB(e,r,o);Object(s[\"k\"])(i,(function(t){var e=wB[t];l[e[0]][e[1]]+=c[e[0]]})),a.range=t.fromRectRange(WB(l[0][0],l[1][0],l[0][1],l[1][1])),TB(e,n),EB(e,{isEnd:!1})}function ZB(t,e,n,i){var r=e.__brushOption.range,o=KB(t,n,i);Object(s[\"k\"])(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),TB(t,e),EB(t,{isEnd:!1})}function KB(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function QB(t,e,n){var i=LB(t,e);return i&&i!==fB?i.clipPath(n,t._transform):Object(s[\"d\"])(n)}function JB(t){var e=gB(t[0][0],t[1][0]),n=gB(t[0][1],t[1][1]),i=yB(t[0][0],t[1][0]),r=yB(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}function $B(t,e,n){if(t._brushType&&!aF(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=PB(t,e,n);if(!t._dragging)for(var a=0;ai.getWidth()||n<0||n>i.getHeight()}var sF={lineX:lF(0),lineY:lF(1),rect:{createCover:function(t,e){function n(t){return t}return NB({toRectRange:n,fromRectRange:n},t,e,[[\"w\"],[\"e\"],[\"n\"],[\"s\"],[\"s\",\"e\"],[\"s\",\"w\"],[\"n\",\"e\"],[\"n\",\"w\"]])},getCreatingRange:function(t){var e=FB(t);return WB(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){zB(t,e,n,i)},updateCommon:VB,contain:eF},polygon:{createCover:function(t,e){var n=new wi;return n.add(new kg({name:\"main\",style:HB(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new Cg({name:\"main\",draggable:!0,drift:Object(s[\"h\"])(ZB,t,e),ondragend:Object(s[\"h\"])(EB,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:QB(t,e,n)})},updateCommon:VB,contain:eF}};function lF(t){return{createCover:function(e,n){return NB({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[[\"w\"],[\"e\"]],[[\"n\"],[\"s\"]]][t])},getCreatingRange:function(e){var n=FB(e),i=gB(n[0][t],n[1][t]),r=yB(n[0][t],n[1][t]);return[i,r]},updateCoverShape:function(e,n,i,r){var o,a=LB(e,n);if(a!==fB&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),zB(e,n,l,r)},updateCommon:VB,contain:eF}}var cF=CB;function uF(t){return t=pF(t),function(e){return My(e,t)}}function hF(t,e){return t=pF(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function dF(t,e,n){var i=pF(t);return function(t,r){return i.contain(r[0],r[1])&&!cI(t,e,n)}}function pF(t){return Mt.create(t)}var fF=[\"axisLine\",\"axisTickLabel\",\"axisName\"],gF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new cF(n.getZr())).on(\"brush\",s[\"c\"](this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!yF(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new wi,this.group.add(this._axisGroup),t.get(\"show\")){var o=mF(t,e),a=o.coordinateSystem,l=t.getAreaSelectStyle(),c=l.width,u=t.axis.dim,h=a.getAxisLayout(u),d=s[\"m\"]({strokeContainThreshold:c},h),p=new tk(t,d);s[\"k\"](fF,p.add,p),this._axisGroup.add(p.getGroup()),this._refreshBrushController(d,l,t,o,c,n),Cy(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,i,r,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),c=Mt.create({x:a[0],y:-r/2,width:s,height:r});c.x-=l,c.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:\"pl\",clipPath:uF(c),isTargetByCursor:dF(c,o,i),getLinearBrushOtherExtent:hF(c,0)}]).enableBrush({brushType:\"lineX\",brushStyle:e,removeOnClick:!0}).updateCovers(vF(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,i=n.axis,r=s[\"H\"](e,(function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:\"axisAreaSelect\",parallelAxisId:n.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type=\"parallelAxis\",e}(Sf);function yF(t,e,n){return n&&\"axisAreaSelect\"===n.type&&e.findComponents({mainType:\"parallelAxis\",query:n})[0]===t}function vF(t){var e=t.axis;return s[\"H\"](t.activeIntervals,(function(t){return{brushType:\"lineX\",panelId:\"pl\",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}function mF(t,e){return e.getComponent(\"parallel\",t.get(\"parallelIndex\"))}var bF=gF,xF={type:\"axisAreaSelect\",event:\"axisAreaSelected\"};function OF(t){t.registerAction(xF,(function(t,e){e.eachComponent({mainType:\"parallelAxis\",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction(\"parallelAxisExpand\",(function(t,e){e.eachComponent({mainType:\"parallel\",query:t},(function(e){e.setAxisExpand(t)}))}))}var wF={type:\"value\",areaSelectStyle:{width:20,borderWidth:1,borderColor:\"rgba(160,197,232)\",color:\"rgba(160,197,232)\",opacity:.3},realtime:!0,z:10};function jF(t){t.registerComponentView(HE),t.registerComponentModel(XE),t.registerCoordinateSystem(\"parallel\",hB),t.registerPreprocessor(EE),t.registerComponentModel(pB),t.registerComponentView(bF),JC(t,\"parallel\",pB,wF),OF(t)}function SF(t){Px(jF),t.registerChartView(AE),t.registerSeriesModel(DE),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,RE)}var _F=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return t}(),CF=function(t){function e(e){return t.call(this,e)||this}return Object(o[\"c\"])(e,t),e.prototype.getDefaultShape=function(){return new _F},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),\"vertical\"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){ll(this)},e.prototype.downplay=function(){cl(this)},e}(Va),MF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){var i=this,r=t.getGraph(),o=this.group,a=t.layoutInfo,l=a.width,c=a.height,u=t.getData(),h=t.getData(\"edge\"),d=t.get(\"orient\");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,r.eachEdge((function(e){var n=new CF,i=js(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType=\"edge\";var r,a,u,p,f,g,y,v,m=e.getModel(),b=m.getModel(\"lineStyle\"),x=b.get(\"curveness\"),O=e.node1.getLayout(),w=e.node1.getModel(),j=w.get(\"localX\"),S=w.get(\"localY\"),_=e.node2.getLayout(),C=e.node2.getModel(),M=C.get(\"localX\"),A=C.get(\"localY\"),k=e.getLayout();switch(n.shape.extent=Math.max(1,k.dy),n.shape.orient=d,\"vertical\"===d?(r=(null!=j?j*l:O.x)+k.sy,a=(null!=S?S*c:O.y)+O.dy,u=(null!=M?M*l:_.x)+k.ty,p=null!=A?A*c:_.y,f=r,g=a*(1-x)+p*x,y=u,v=a*x+p*(1-x)):(r=(null!=j?j*l:O.x)+O.dx,a=(null!=S?S*c:O.y)+k.sy,u=null!=M?M*l:_.x,p=(null!=A?A*c:_.y)+k.ty,f=r*(1-x)+u*x,g=a,y=r*x+u*(1-x),v=p),n.setShape({x1:r,y1:a,x2:u,y2:p,cpx1:f,cpy1:g,cpx2:y,cpy2:v}),n.useStyle(b.getItemStyle()),n.style.fill){case\"source\":n.style.fill=e.node1.getVisual(\"color\"),n.style.decal=e.node1.getVisual(\"style\").decal;break;case\"target\":n.style.fill=e.node2.getVisual(\"color\"),n.style.decal=e.node2.getVisual(\"style\").decal;break;case\"gradient\":var I=e.node1.getVisual(\"color\"),T=e.node2.getVisual(\"color\");Object(s[\"C\"])(I)&&Object(s[\"C\"])(T)&&(n.style.fill=new qg(0,0,+(\"horizontal\"===d),+(\"vertical\"===d),[{color:I,offset:0},{color:T,offset:1}]))}$l(n,tc(m,\"edgeLabel\"),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:\"\"+m.get(\"value\")}),n.setTextConfig({position:\"inside\"});var D=m.getModel(\"emphasis\");Tl(n,m,\"lineStyle\",(function(t){return t.getItemStyle()})),o.add(n),h.setItemGraphicEl(e.dataIndex,n);var P=D.get(\"focus\");Ml(n,\"adjacency\"===P?e.getAdjacentDataIndices():P,D.get(\"blurScope\"),D.get(\"disabled\")),js(n).dataType=\"edge\"})),r.eachNode((function(e){var n=e.getLayout(),i=e.getModel(),r=i.get(\"localX\"),a=i.get(\"localY\"),s=i.getModel(\"emphasis\"),h=new rs({shape:{x:null!=r?r*l:n.x,y:null!=a?a*c:n.y,width:n.dx,height:n.dy},style:i.getModel(\"itemStyle\").getItemStyle(),z2:10});$l(h,tc(i),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),h.disableLabelAnimation=!0,h.setStyle(\"fill\",e.getVisual(\"color\")),h.setStyle(\"decal\",e.getVisual(\"style\").decal),Tl(h,i),o.add(h),u.setItemGraphicEl(e.dataIndex,h),js(h).dataType=\"node\";var d=s.get(\"focus\");Ml(h,\"adjacency\"===d?e.getAdjacentDataIndices():d,s.get(\"blurScope\"),s.get(\"disabled\"))})),u.eachItemGraphicEl((function(e,r){var o=u.getItemModel(r);o.get(\"draggable\")&&(e.drift=function(e,o){i._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:\"dragNode\",seriesId:t.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/l,localY:this.shape.y/c})},e.ondragend=function(){i._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor=\"move\")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(AF(o.getBoundingRect(),t,(function(){o.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type=\"sankey\",e}(Xy);function AF(t,e,n){var i=new rs({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Hl(i,{shape:{width:t.width+20}},e,n),i}var kF=MF,IF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,i=t.data||t.nodes,r=t.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a=0&&(o[r[a].depth]=new _c(r[a],this,e));if(i&&n){var s=UR(i,n,this,!0,l);return s.data}function l(t,e){t.wrapMethod(\"getItemModel\",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod(\"getItemModel\",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e),r=i.node1.getLayout();if(r){var o=r.depth,a=n.levelModels[o];a&&(t.parentModel=a)}return t}))}},e.prototype.setNodePosition=function(t,e){var n=this.option.data||this.option.nodes,i=n[t];i.localX=e[0],i.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if(\"edge\"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value,s=o.source+\" -- \"+o.target;return Xp(\"nameValue\",{name:s,value:a,noValue:i(a)})}var l=this.getGraph().getNodeByIndex(t),c=l.getLayout().value,u=this.getDataParams(t,n).data.name;return Xp(\"nameValue\",{name:null!=u?u+\"\":null,value:c,noValue:i(c)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&\"node\"===n){var r=this.getGraph().getNodeByIndex(e),o=r.getLayout().value;i.value=o}return i},e.type=\"series.sankey\",e.defaultOption={z:2,coordinateSystem:\"view\",left:\"5%\",top:\"5%\",right:\"20%\",bottom:\"5%\",orient:\"horizontal\",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:\"right\",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:\"justify\",lineStyle:{color:\"#314656\",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:\"#212121\"}},animationEasing:\"linear\",animationDuration:1e3},e}(wf),TF=IF;function DF(t,e){t.eachSeriesByType(\"sankey\",(function(t){var n=t.get(\"nodeWidth\"),i=t.get(\"nodeGap\"),r=PF(t,e);t.layoutInfo=r;var o=r.width,a=r.height,l=t.getGraph(),c=l.nodes,u=l.edges;RF(c);var h=s[\"n\"](c,(function(t){return 0===t.getLayout().value})),d=0!==h.length?0:t.get(\"layoutIterations\"),p=t.get(\"orient\"),f=t.get(\"nodeAlign\");LF(c,u,n,i,o,a,d,p,f)}))}function PF(t,e){return Fu(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function LF(t,e,n,i,r,o,a,s,l){EF(t,e,n,r,o,s,l),VF(t,e,o,r,i,a,s),tN(t,s)}function RF(t){s[\"k\"](t,(function(t){var e=JF(t.outEdges,QF),n=JF(t.inEdges,QF),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}function EF(t,e,n,i,r,o,a){for(var s=[],l=[],c=[],u=[],h=0,d=0;d=0;v&&y.depth>p&&(p=y.depth),g.setLayout({depth:v?y.depth:h},!0),\"vertical\"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;mh-1?p:h-1;a&&\"left\"!==a&&FF(t,a,o,j);var S=\"vertical\"===o?(r-n)/j:(i-n)/j;zF(t,S,o)}function BF(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function FF(t,e,n,i){if(\"right\"===e){var r=[],o=t,a=0;while(o.length){for(var l=0;l0;o--)l*=.99,XF(s,l,a),WF(s,r,n,i,a),$F(s,l,a),WF(s,r,n,i,a)}function GF(t,e){var n=[],i=\"vertical\"===e?\"y\":\"x\",r=Fr(t,(function(t){return t.getLayout()[i]}));return r.keys.sort((function(t,e){return t-e})),s[\"k\"](r.keys,(function(t){n.push(r.buckets.get(t))})),n}function HF(t,e,n,i,r,o){var a=1/0;s[\"k\"](t,(function(t){var e=t.length,l=0;s[\"k\"](t,(function(t){l+=t.getLayout().value}));var c=\"vertical\"===o?(i-(e-1)*r)/l:(n-(e-1)*r)/l;c0&&(a=s.getLayout()[o]+l,\"vertical\"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),c=s.getLayout()[o]+s.getLayout()[h]+e;var p=\"vertical\"===r?i:n;if(l=c-e-p,l>0){a=s.getLayout()[o]-l,\"vertical\"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),c=a;for(d=u-2;d>=0;--d)s=t[d],l=s.getLayout()[o]+s.getLayout()[h]+e-c,l>0&&(a=s.getLayout()[o]-l,\"vertical\"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),c=s.getLayout()[o]}}))}function XF(t,e,n){s[\"k\"](t.slice().reverse(),(function(t){s[\"k\"](t,(function(t){if(t.outEdges.length){var i=JF(t.outEdges,YF,n)/JF(t.outEdges,QF);if(isNaN(i)){var r=t.outEdges.length;i=r?JF(t.outEdges,qF,n)/r:0}if(\"vertical\"===n){var o=t.getLayout().x+(i-KF(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-KF(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function YF(t,e){return KF(t.node2,e)*t.getValue()}function qF(t,e){return KF(t.node2,e)}function UF(t,e){return KF(t.node1,e)*t.getValue()}function ZF(t,e){return KF(t.node1,e)}function KF(t,e){return\"vertical\"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function QF(t){return t.getValue()}function JF(t,e,n){var i=0,r=t.length,o=-1;while(++oo&&(o=e)})),s[\"k\"](n,(function(e){var n=new nL({type:\"color\",mappingMethod:\"linear\",dataExtent:[r,o],visual:t.get(\"color\")}),i=n.mapValueToVisual(e.getLayout().value),a=e.getModel().get([\"itemStyle\",\"color\"]);null!=a?(e.setVisual(\"color\",a),e.setVisual(\"style\",{fill:a})):(e.setVisual(\"color\",i),e.setVisual(\"style\",{fill:i}))}))}i.length&&s[\"k\"](i,(function(t){var e=t.getModel().get(\"lineStyle\");t.setVisual(\"style\",e)}))}))}function nN(t){t.registerChartView(kF),t.registerSeriesModel(TF),t.registerLayout(DF),t.registerVisual(eN),t.registerAction({type:\"dragNode\",event:\"dragnode\",update:\"update\"},(function(t,e){e.eachComponent({mainType:\"series\",subType:\"sankey\",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))}var iN=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent(\"xAxis\",this.get(\"xAxisIndex\")),o=e.getComponent(\"yAxis\",this.get(\"yAxisIndex\")),a=r.get(\"type\"),l=o.get(\"type\");\"category\"===a?(t.layout=\"horizontal\",n=r.getOrdinalMeta(),i=!0):\"category\"===l?(t.layout=\"vertical\",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||\"horizontal\";var c=[\"x\",\"y\"],u=\"horizontal\"===t.layout?0:1,h=this._baseAxisDim=c[u],d=c[1-u],p=[r,o],f=p[u].get(\"type\"),g=p[1-u].get(\"type\"),y=t.data;if(y&&i){var v=[];s[\"k\"](y,(function(t,e){var n;s[\"t\"](t)?(n=t.slice(),t.unshift(e)):s[\"t\"](t.value)?(n=s[\"m\"]({},t),n.value=n.value.slice(),t.value.unshift(e)):n=t,v.push(n)})),t.data=v}var m=this.defaultValueDimensions,b=[{name:h,type:fj(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:[\"base\"]},{name:d,type:fj(g),dimsDef:m.slice()}];return xC(this,{coordDimensions:b,dimensionsCount:m.length+1,encodeDefaulter:s[\"h\"](uh,b,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+\"Axis\",this.get(t+\"AxisIndex\")).axis},t}(),rN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:\"min\",defaultTooltip:!0},{name:\"Q1\",defaultTooltip:!0},{name:\"median\",defaultTooltip:!0},{name:\"Q3\",defaultTooltip:!0},{name:\"max\",defaultTooltip:!0}],n.visualDrawType=\"stroke\",n}return Object(o[\"c\"])(e,t),e.type=\"series.boxplot\",e.dependencies=[\"xAxis\",\"yAxis\",\"grid\"],e.defaultOption={z:2,coordinateSystem:\"cartesian2d\",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:\"#fff\",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:\"rgba(0,0,0,0.2)\"}},animationDuration:800},e}(wf);Object(s[\"K\"])(rN,iN,!0);var oN=rN,aN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a=\"horizontal\"===t.get(\"layout\")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=i.getItemLayout(t),n=cN(e,i,t,a,!0);i.setItemGraphicEl(t,n),r.add(n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Ul(n),uN(s,n,i,t)):n=cN(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type=\"boxplot\",e}(Xy),sN=function(){function t(){}return t}(),lN=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\"boxplotBoxPath\",n}return Object(o[\"c\"])(e,t),e.prototype.getDefaultShape=function(){return new sN},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();iy){var O=[m,x];i.push(O)}}}return{boxData:n,outliers:i}}var bN={type:\"echarts:boxplot\",transform:function(t){var e=t.upstream;if(e.sourceFormat!==th){var n=\"\";0,Ih(n)}var i=mN(e.getRawData(),t.config);return[{dimensions:[\"ItemName\",\"Low\",\"Q1\",\"Q2\",\"Q3\",\"High\"],data:i.boxData},{data:i.outliers}]}};function xN(t){t.registerSeriesModel(oN),t.registerChartView(dN),t.registerLayout(fN),t.registerTransform(bN)}var ON=[\"color\",\"borderColor\"],wN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){Ey(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout(\"isSimpleBox\"),o=t.get(\"clip\",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&CN(s,a))return;var l=_N(a,n,!0);Hl(l,{shape:{points:a.ends}},t,n),MN(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var c=n.getItemGraphicEl(l);if(e.hasValue(a)){var u=e.getItemLayout(a);o&&CN(s,u)?i.remove(c):(c?(Gl(c,{shape:{points:u.ends}},t,a),Ul(c)):c=_N(u,a),MN(c,e,a,r),i.add(c),e.setItemGraphicEl(a,c))}else i.remove(c)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),TN(t,this.group);var e=t.get(\"clip\",!0)?RS(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){var n,i=e.getData(),r=i.getLayout(\"isSimpleBox\");while(null!=(n=t.next())){var o=i.getItemLayout(n),a=_N(o,n);MN(a,i,n,r),a.incremental=!0,this.group.add(a),this._progressiveEls.push(a)}},e.prototype._incrementalRenderLarge=function(t,e){TN(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type=\"candlestick\",e}(Xy),jN=function(){function t(){}return t}(),SN=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\"normalCandlestickBox\",n}return Object(o[\"c\"])(e,t),e.prototype.getDefaultShape=function(){return new jN},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Va);function _N(t,e,n){var i=t.ends;return new SN({shape:{points:n?AN(i,t):i},z2:100})}function CN(t,e){for(var n=!0,i=0;i0?\"borderColor\":\"borderColor0\"])||n.get([\"itemStyle\",t>0?\"color\":\"color0\"]);0===t&&(r=n.get([\"itemStyle\",\"borderColorDoji\"]));var o=n.getModel(\"itemStyle\").getItemStyle(ON);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var PN=wN,LN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:\"open\",defaultTooltip:!0},{name:\"close\",defaultTooltip:!0},{name:\"lowest\",defaultTooltip:!0},{name:\"highest\",defaultTooltip:!0}],n}return Object(o[\"c\"])(e,t),e.prototype.getShadowDim=function(){return\"open\"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type=\"series.candlestick\",e.dependencies=[\"xAxis\",\"yAxis\",\"grid\"],e.defaultOption={z:2,coordinateSystem:\"cartesian2d\",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:\"#eb5454\",color0:\"#47b262\",borderColor:\"#eb5454\",borderColor0:\"#47b262\",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:\"mod\",animationEasing:\"linear\",animationDuration:300},e}(wf);Object(s[\"K\"])(LN,iN,!0);var RN=LN;function EN(t){t&&s[\"t\"](t.series)&&s[\"k\"](t.series,(function(t){s[\"A\"](t)&&\"k\"===t.type&&(t.type=\"candlestick\")}))}var BN=[\"itemStyle\",\"borderColor\"],FN=[\"itemStyle\",\"borderColor0\"],NN=[\"itemStyle\",\"borderColorDoji\"],zN=[\"itemStyle\",\"color\"],VN=[\"itemStyle\",\"color0\"],GN={seriesType:\"candlestick\",plan:_f(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?zN:VN)}function i(t,e){return e.get(0===t?NN:t>0?BN:FN)}if(!e.isSeriesFiltered(t)){var r=t.pipelineContext.large;return!r&&{progress:function(t,e){var r;while(null!=(r=t.next())){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,l=o.getItemStyle();l.fill=n(a,o),l.stroke=i(a,o)||l.fill;var c=e.ensureUniqueItemVisual(r,\"style\");Object(s[\"m\"])(c,l)}}}}}},HN=GN,WN={seriesType:\"candlestick\",plan:_f(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=YN(t,n),r=0,o=1,a=[\"x\",\"y\"],l=n.getDimensionIndex(n.mapDimension(a[r])),c=Object(s[\"H\"])(n.mapDimensionsAll(a[o]),n.getDimensionIndex,n),u=c[0],h=c[1],d=c[2],p=c[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(l<0||c.length<4))return{progress:t.pipelineContext.large?g:f};function f(t,n){var a,s=n.getStore();while(null!=(a=t.next())){var c=s.get(l,a),f=s.get(u,a),g=s.get(h,a),y=s.get(d,a),v=s.get(p,a),m=Math.min(f,g),b=Math.max(f,g),x=M(m,c),O=M(b,c),w=M(y,c),j=M(v,c),S=[];A(S,O,0),A(S,x,1),S.push(I(j),I(O),I(w),I(x));var _=n.getItemModel(a),C=!!_.get([\"itemStyle\",\"borderColorDoji\"]);n.setItemLayout(a,{sign:XN(s,a,f,g,h,C),initBaseline:f>g?O[o]:x[o],ends:S,brushRect:k(y,v,c)})}function M(t,n){var i=[];return i[r]=n,i[o]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function A(t,e,n){var o=e.slice(),a=e.slice();o[r]=xy(o[r]+i/2,1,!1),a[r]=xy(a[r]-i/2,1,!0),n?t.push(o,a):t.push(a,o)}function k(t,e,n){var a=M(t,n),s=M(e,n);return a[r]-=i/2,s[r]-=i/2,{x:a[0],y:a[1],width:o?i:s[0]-a[0],height:o?s[1]-a[1]:i}}function I(t){return t[r]=xy(t[r],1),t}}function g(n,i){var a,s,c=wS(4*n.count),f=0,g=[],y=[],v=i.getStore(),m=!!t.get([\"itemStyle\",\"borderColorDoji\"]);while(null!=(s=n.next())){var b=v.get(l,s),x=v.get(u,s),O=v.get(h,s),w=v.get(d,s),j=v.get(p,s);isNaN(b)||isNaN(w)||isNaN(j)?(c[f++]=NaN,f+=3):(c[f++]=XN(v,s,x,O,h,m),g[r]=b,g[o]=w,a=e.dataToPoint(g,null,y),c[f++]=a?a[0]:NaN,c[f++]=a?a[1]:NaN,g[o]=j,a=e.dataToPoint(g,null,y),c[f++]=a?a[1]:NaN)}i.setLayout(\"largePoints\",c)}}};function XN(t,e,n,i,r,o){var a;return a=n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1,a}function YN(t,e){var n,i=t.getBaseAxis(),r=\"category\"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=Li(Object(s[\"P\"])(t.get(\"barMaxWidth\"),r),r),a=Li(Object(s[\"P\"])(t.get(\"barMinWidth\"),1),r),l=t.get(\"barWidth\");return null!=l?Li(l,r):Math.max(Math.min(r/2,o),a)}var qN=WN;function UN(t){t.registerChartView(PN),t.registerSeriesModel(RN),t.registerPreprocessor(EN),t.registerVisual(HN),t.registerLayout(qN)}function ZN(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:\"stroke\"===e.brushType?n:null,fill:\"fill\"===e.brushType?n:null}})}))}var KN=function(t){function e(e,n){var i=t.call(this)||this,r=new hS(e,n),o=new wi;return i.add(r),i.add(o),i.updateData(e,n),i}return Object(o[\"c\"])(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/c*1e3),o!==this._period||a!==this._loop||l!==this._roundTrip){i.stopAnimation();var h=void 0;h=s[\"w\"](u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,l)}this._period=o,this._loop=a,this._roundTrip=l}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate(\"\",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return x(t.__p1,t.__cp1)+x(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=Ce,l=Me;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var c=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),u=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(u,c)-Math.PI/2,\"line\"!==this._symbolType&&\"rect\"!==this._symbolType&&\"roundRect\"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0;o--)if(i[o]<=e)break;o=Math.min(o,r-2)}else{for(o=a;oe)break;o=Math.min(o-1,r-2)}var l=(e-i[o])/(i[o+1]-i[o]),c=n[o],u=n[o+1];t.x=c[0]*(1-l)+l*u[0],t.y=c[1]*(1-l)+l*u[1];var h=t.__t<1?u[0]-c[0]:c[0]-u[0],d=t.__t<1?u[1]-c[1]:c[1]-u[1];t.rotation=-Math.atan2(d,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(rz),lz=sz,cz=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),uz=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return Object(o[\"c\"])(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:\"#000\",fill:null}},e.prototype.getDefaultShape=function(){return new cz},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var h=(s+c)/2-(l-u)*r,d=(l+u)/2-(c-s)*r;t.quadraticCurveTo(h,d,c,u)}else t.lineTo(c,u)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var c=i[s++],u=i[s++],h=1;h0){var f=(c+d)/2-(u-p)*r,g=(u+p)/2-(d-c)*r;if(ma(c,u,f,g,d,p,o,t,e))return a}else if(ya(c,u,d,p,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(t=n[0],e=n[1],i.contain(t,e)){var r=this.hoverDataIdx=this.findDataIndex(t,e);return r>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.segs,i=1/0,r=1/0,o=-1/0,a=-1/0,s=0;s0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),dz=hz,pz={seriesType:\"lines\",plan:_f(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get(\"polyline\"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var c=0,u=r.start;u0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var c=t.get(\"clip\",!0)&&RS(t.coordinateSystem,!1,t);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t);r.incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=fz.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get(\"polyline\"),o=e.pipelineContext,a=o.large;return n&&i===this._hasEffet&&r===this._isPolyline&&a===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=a?new dz:new IR(r?i?lz:az:i?rz:SR),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=a),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get([\"effect\",\"show\"])},e.prototype._clearLayer=function(t){var e=t.getZr(),n=\"svg\"===e.painter.getType();n||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type=\"lines\",e}(Xy),yz=gz,vz=\"undefined\"===typeof Uint32Array?Array:Uint32Array,mz=\"undefined\"===typeof Float64Array?Array:Float64Array;function bz(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=Object(s[\"H\"])(e,(function(t){var e=[t[0].coord,t[1].coord],n={coords:e};return t[0].name&&(n.fromName=t[0].name),t[1].name&&(n.toName=t[1].name),Object(s[\"J\"])([n,t[0],t[1]])})))}var xz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath=\"lineStyle\",n.visualDrawType=\"stroke\",n}return Object(o[\"c\"])(e,t),e.prototype.init=function(e){e.data=e.data||[],bz(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(bz(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=Object(s[\"e\"])(this._flatCoords,e.flatCoords),this._flatCoordsOffset=Object(s[\"e\"])(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),n=e.option instanceof Array?e.option:e.getShallow(\"coords\");return n},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r \")})},e.prototype.preventIncremental=function(){return!!this.get([\"effect\",\"show\"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get(\"progressive\"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get(\"progressiveThreshold\"):t},e.prototype.getZLevelKey=function(){var t=this.getModel(\"effect\"),e=t.get(\"trailLength\");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get(\"show\")&&e>0?e+\"\":\"\"},e.type=\"series.lines\",e.dependencies=[\"grid\",\"polar\",\"geo\",\"calendar\"],e.defaultOption={coordinateSystem:\"geo\",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:[\"none\",\"none\"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:\"circle\",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:\"end\"},lineStyle:{opacity:.5}},e}(wf),Oz=xz;function wz(t){return t instanceof Array||(t=[t,t]),t}var jz={seriesType:\"lines\",reset:function(t){var e=wz(t.get(\"symbol\")),n=wz(t.get(\"symbolSize\")),i=t.getData();function r(t,e){var n=t.getItemModel(e),i=wz(n.getShallow(\"symbol\",!0)),r=wz(n.getShallow(\"symbolSize\",!0));i[0]&&t.setItemVisual(e,\"fromSymbol\",i[0]),i[1]&&t.setItemVisual(e,\"toSymbol\",i[1]),r[0]&&t.setItemVisual(e,\"fromSymbolSize\",r[0]),r[1]&&t.setItemVisual(e,\"toSymbolSize\",r[1])}return i.setVisual(\"fromSymbol\",e&&e[0]),i.setVisual(\"toSymbol\",e&&e[1]),i.setVisual(\"fromSymbolSize\",n&&n[0]),i.setVisual(\"toSymbolSize\",n&&n[1]),{dataEach:i.hasItemOption?r:null}}},Sz=jz;function _z(t){t.registerChartView(yz),t.registerSeriesModel(Oz),t.registerLayout(fz),t.registerVisual(Sz)}var Cz=256,Mz=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=Qn[\"d\"].createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,\"inRange\"),l=this._getGradient(r,\"outOfRange\"),c=this.pointSize+this.blurSize,u=this.canvas,h=u.getContext(\"2d\"),d=t.length;u.width=e,u.height=n;for(var p=0;p0){var M=o(m)?s:l;m>0&&(m=m*_+j),x[O++]=M[C],x[O++]=M[C+1],x[O++]=M[C+2],x[O++]=M[C+3]*m*256}else O+=4}return h.putImageData(b,0,0),u},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=Qn[\"d\"].createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext(\"2d\");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor=\"#000\",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}(),Az=Mz;function kz(t,e,n){var i=t[1]-t[0];e=s[\"H\"](e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}));var r=e.length,o=0;return function(t){var i;for(i=o;i=0;i--){a=e[i].interval;if(a[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i=e[0]&&t<=e[1]}}function Tz(t){var e=t.dimensions;return\"lng\"===e[0]&&\"lat\"===e[1]}var Dz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent(\"visualMap\",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;\"cartesian2d\"===r.type||\"calendar\"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):Tz(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(Tz(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){Ey(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,c=t.coordinateSystem,u=ES(c,\"cartesian2d\");if(u){var h=c.getAxis(\"x\"),d=c.getAxis(\"y\");0,o=h.getBandWidth()+.5,a=d.getBandWidth()+.5,s=h.scale.getExtent(),l=d.scale.getExtent()}for(var p=this.group,f=t.getData(),g=t.getModel([\"emphasis\",\"itemStyle\"]).getItemStyle(),y=t.getModel([\"blur\",\"itemStyle\"]).getItemStyle(),v=t.getModel([\"select\",\"itemStyle\"]).getItemStyle(),m=t.get([\"itemStyle\",\"borderRadius\"]),b=tc(t),x=t.getModel(\"emphasis\"),O=x.get(\"focus\"),w=x.get(\"blurScope\"),j=x.get(\"disabled\"),S=u?[f.mapDimension(\"x\"),f.mapDimension(\"y\"),f.mapDimension(\"value\")]:[f.mapDimension(\"time\"),f.mapDimension(\"value\")],_=n;_s[1]||kl[1])continue;var I=c.dataToPoint([A,k]);C=new rs({shape:{x:I[0]-o/2,y:I[1]-a/2,width:o,height:a},style:M})}else{if(isNaN(f.get(S[1],_)))continue;C=new rs({z2:1,shape:c.dataToRect([f.get(S[0],_)]).contentShape,style:M})}if(f.hasItemOption){var T=f.getItemModel(_),D=T.getModel(\"emphasis\");g=D.getModel(\"itemStyle\").getItemStyle(),y=T.getModel([\"blur\",\"itemStyle\"]).getItemStyle(),v=T.getModel([\"select\",\"itemStyle\"]).getItemStyle(),m=T.get([\"itemStyle\",\"borderRadius\"]),O=D.get(\"focus\"),w=D.get(\"blurScope\"),j=D.get(\"disabled\"),b=tc(T)}C.shape.r=m;var P=t.getRawValue(_),L=\"-\";P&&null!=P[2]&&(L=P[2]+\"\"),$l(C,b,{labelFetcher:t,labelDataIndex:_,defaultOpacity:M.opacity,defaultText:L}),C.ensureState(\"emphasis\").style=g,C.ensureState(\"blur\").style=y,C.ensureState(\"select\").style=v,Ml(C,O,w,j),C.incremental=r,r&&(C.states.emphasis.hoverLayer=!0),p.add(C),f.setItemGraphicEl(_,C),this._progressiveEls&&this._progressiveEls.push(C)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new Az;s.blurSize=e.get(\"blurSize\"),s.pointSize=e.get(\"pointSize\"),s.minOpacity=e.get(\"minOpacity\"),s.maxOpacity=e.get(\"maxOpacity\");var l=t.getViewRect().clone(),c=t.getRoamTransform();l.applyTransform(c);var u=Math.max(l.x,0),h=Math.max(l.y,0),d=Math.min(l.width+l.x,i.getWidth()),p=Math.min(l.height+l.y,i.getHeight()),f=d-u,g=p-h,y=[a.mapDimension(\"lng\"),a.mapDimension(\"lat\"),a.mapDimension(\"value\")],v=a.mapArray(y,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=u,r[1]-=h,r.push(i),r})),m=n.getExtent(),b=\"visualMap.continuous\"===n.type?Iz(m,n.option.range):kz(m,n.getPieceList(),n.option.selected);s.update(v,f,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},b);var x=new Za({style:{width:f,height:g,x:u,y:h,image:s.canvas},silent:!0});this.group.add(x)},e.type=\"heatmap\",e}(Xy),Pz=Dz,Lz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.getInitialData=function(t,e){return rS(null,this,{generateCoord:\"value\"})},e.prototype.preventIncremental=function(){var t=Xh.get(this.get(\"coordinateSystem\"));if(t&&t.dimensions)return\"lng\"===t.dimensions[0]&&\"lat\"===t.dimensions[1]},e.type=\"series.heatmap\",e.dependencies=[\"grid\",\"geo\",\"calendar\"],e.defaultOption={coordinateSystem:\"cartesian2d\",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:\"#212121\"}}},e}(wf),Rz=Lz;function Ez(t){t.registerChartView(Pz),t.registerSeriesModel(Rz)}var Bz=[\"itemStyle\",\"borderWidth\"],Fz=[{xy:\"x\",wh:\"width\",index:0,posDesc:[\"left\",\"right\"]},{xy:\"y\",wh:\"height\",index:1,posDesc:[\"top\",\"bottom\"]}],Nz=new Qf,zz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis(),l=s.isHorizontal(),c=a.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c.height]],isHorizontal:l,valueDim:Fz[+l],categoryDim:Fz[1-+l]};return r.diff(o).add((function(t){if(r.hasValue(t)){var e=Jz(r,t),n=Vz(r,t,e,u),o=eV(r,u,n);r.setItemGraphicEl(t,o),i.add(o),sV(o,u,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=Jz(r,t),s=Vz(r,t,a,u),l=rV(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?nV(n,u,s):n=eV(r,u,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),sV(n,u,s)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&iV(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get(\"animation\")?i&&i.eachItemGraphicEl((function(e){iV(i,js(e).dataIndex,t,e)})):n.removeAll()},e.type=\"pictorialBar\",e}(Xy);function Vz(t,e,n,i){var r=t.getItemLayout(e),o=n.get(\"symbolRepeat\"),a=n.get(\"symbolClip\"),s=n.get(\"symbolPosition\")||\"start\",l=n.get(\"symbolRotate\"),c=(l||0)*Math.PI/180||0,u=n.get(\"symbolPatternSize\")||2,h=n.isAnimationEnabled(),d={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,\"symbol\")||\"circle\",style:t.getItemVisual(e,\"style\"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get(\"symbolRepeatDirection\"),symbolPatternSize:u,rotation:c,animationModel:h?n:null,hoverScale:h&&n.get([\"emphasis\",\"scale\"]),z2:n.getShallow(\"z\",!0)||0};Gz(n,o,r,i,d),Wz(t,e,r,o,a,d.boundingLength,d.pxSign,u,i,d),Xz(n,d.symbolScale,c,i,d);var p=d.symbolSize,f=am(n.get(\"symbolOffset\"),p);return Yz(n,p,r,o,a,f,s,d.valueLineWidth,d.boundingLength,d.repeatCutLength,i,d),d}function Gz(t,e,n,i,r){var o,a=i.valueDim,l=t.get(\"symbolBoundingData\"),c=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=c.toGlobalCoord(c.dataToCoord(0)),h=1-+(n[a.wh]<=0);if(s[\"t\"](l)){var d=[Hz(c,l[0])-u,Hz(c,l[1])-u];d[1]0?1:-1}function Hz(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function Wz(t,e,n,i,r,o,a,l,c,u){var h,d=c.valueDim,p=c.categoryDim,f=Math.abs(n[p.wh]),g=t.getItemVisual(e,\"symbolSize\");h=s[\"t\"](g)?g.slice():null==g?[\"100%\",\"100%\"]:[g,g],h[p.index]=Li(h[p.index],f),h[d.index]=Li(h[d.index],i?f:Math.abs(o)),u.symbolSize=h;var y=u.symbolScale=[h[0]/l,h[1]/l];y[d.index]*=(c.isHorizontal?-1:1)*a}function Xz(t,e,n,i,r){var o=t.get(Bz)||0;o&&(Nz.attr({scaleX:e[0],scaleY:e[1],rotation:n}),Nz.updateTransform(),o/=Nz.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o||0}function Yz(t,e,n,i,r,o,a,l,c,u,h,d){var p=h.categoryDim,f=h.valueDim,g=d.pxSign,y=Math.max(e[f.index]+l,0),v=y;if(i){var m=Math.abs(c),b=s[\"O\"](t.get(\"symbolMargin\"),\"15%\")+\"\",x=!1;b.lastIndexOf(\"!\")===b.length-1&&(x=!0,b=b.slice(0,b.length-1));var O=Li(b,e[f.index]),w=Math.max(y+2*O,0),j=x?0:2*O,S=$i(i),_=S?i:lV((m+j)/w),C=m-_*y;O=C/2/(x?_:Math.max(_-1,1)),w=y+2*O,j=x?0:2*O,S||\"fixed\"===i||(_=u?lV((Math.abs(u)+j)/w):0),v=_*w-j,d.repeatTimes=_,d.symbolMargin=O}var M=g*(v/2),A=d.pathPosition=[];A[p.index]=n[p.wh]/2,A[f.index]=\"start\"===a?M:\"end\"===a?c-M:c/2,o&&(A[0]+=o[0],A[1]+=o[1]);var k=d.bundlePosition=[];k[p.index]=n[p.xy],k[f.index]=n[f.xy];var I=d.barRectShape=s[\"m\"]({},n);I[f.wh]=g*Math.max(Math.abs(n[f.wh]),Math.abs(A[f.index]+M)),I[p.wh]=n[p.wh];var T=d.clipShape={};T[p.xy]=-n[p.xy],T[p.wh]=h.ecSize[p.wh],T[f.xy]=0,T[f.wh]=n[f.wh]}function qz(t){var e=t.symbolPatternSize,n=rm(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),\"image\"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function Uz(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,c=n.repeatTimes||0,u=0,h=o[e.valueDim.index]+a+2*n.symbolMargin;for(oV(t,(function(t){t.__pictorialAnimationIndex=u,t.__pictorialRepeatTimes=c,u0:i<0)&&(r=c-1-t),e[l.index]=h*(r-c/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function Zz(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?aV(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=qz(n),r.add(o),aV(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function Kz(t,e,n){var i=s[\"m\"]({},e.barRectShape),r=t.__pictorialBarRect;r?aV(r,null,{shape:i},e,n):(r=t.__pictorialBarRect=new rs({z2:2,shape:i,silent:!0,style:{stroke:\"transparent\",fill:\"transparent\",lineWidth:0}}),r.disableMorphing=!0,t.add(r))}function Qz(t,e,n,r){if(n.symbolClip){var o=t.__pictorialClipPath,a=s[\"m\"]({},n.clipShape),l=e.valueDim,c=n.animationModel,u=n.dataIndex;if(o)Gl(o,{shape:a},c,u);else{a[l.wh]=0,o=new rs({shape:a}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[l.wh]=n.clipShape[l.wh],i[r?\"updateProps\":\"initProps\"](o,{shape:h},c,u)}}}function Jz(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=$z,n.isAnimationEnabled=tV,n}function $z(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function tV(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow(\"animation\")}function eV(t,e,n,i){var r=new wi,o=new wi;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?Uz(r,e,n):Zz(r,e,n),Kz(r,n,i),Qz(r,e,n,i),r.__pictorialShapeStr=rV(t,n),r.__pictorialSymbolMeta=n,r}function nV(t,e,n){var i=n.animationModel,r=n.dataIndex,o=t.__pictorialBundle;Gl(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?Uz(t,e,n,!0):Zz(t,e,n,!0),Kz(t,n,!0),Qz(t,e,n,!0)}function iV(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];oV(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),s[\"k\"](o,(function(t){Xl(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function rV(t,e){return[t.getItemVisual(e.dataIndex,\"symbol\")||\"none\",!!e.symbolRepeat,!!e.symbolClip].join(\":\")}function oV(t,e,n){s[\"k\"](t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function aV(t,e,n,r,o,a){e&&t.attr(e),r.symbolClip&&!o?n&&t.attr(n):n&&i[o?\"updateProps\":\"initProps\"](t,n,r.animationModel,r.dataIndex,a)}function sV(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel(\"emphasis\"),a=o.getModel(\"itemStyle\").getItemStyle(),l=r.getModel([\"blur\",\"itemStyle\"]).getItemStyle(),c=r.getModel([\"select\",\"itemStyle\"]).getItemStyle(),u=r.getShallow(\"cursor\"),h=o.get(\"focus\"),d=o.get(\"blurScope\"),p=o.get(\"scale\");oV(t,(function(t){if(t instanceof Za){var e=t.style;t.useStyle(s[\"m\"]({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState(\"emphasis\");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState(\"blur\").style=l,t.ensureState(\"select\").style=c,u&&(t.cursor=u),t.z2=n.z2}));var f=e.valueDim.posDesc[+(n.boundingLength>0)],g=t.__pictorialBarRect;$l(g,tc(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:sS(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),Ml(t,h,d,o.get(\"disabled\"))}function lV(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var cV=zz,uV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol=\"roundRect\",n}return Object(o[\"c\"])(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type=\"series.pictorialBar\",e.dependencies=[\"grid\"],e.defaultOption=Ic(w_.defaultOption,{symbol:\"circle\",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:\"end\",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:\"-100%\",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:\"#212121\"}}}),e}(w_),hV=uV;function dV(t){t.registerChartView(cV),t.registerSeriesModel(hV),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Object(s[\"h\"])(y_,\"pictorialBar\")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,v_(\"pictorialBar\"))}var pV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),l=i.getLayout(\"layoutInfo\"),c=l.rect,u=l.boundaryGap;function h(t){return t.name}o.x=0,o.y=c.y+u[0];var d=new uj(this._layersSeries||[],a,h,h),p=[];function f(e,n,s){var l=r._layers;if(\"remove\"!==e){for(var c,u,h=[],d=[],f=a[n].indices,g=0;go&&(o=s),i.push(s)}for(var c=0;co&&(o=h)}return{y0:r,max:o}}function wV(t){t.registerChartView(gV),t.registerSeriesModel(mV),t.registerLayout(bV),t.registerProcessor(cC(\"themeRiver\"))}var jV=2,SV=4,_V=function(t){function e(e,n,i,r){var o=t.call(this)||this;o.z2=jV,o.textConfig={inside:!0},js(o).seriesIndex=n.seriesIndex;var a=new ws({z2:SV,silent:e.getModel().get([\"label\",\"silent\"])});return o.setTextContent(a),o.updateData(!0,e,n,i,r),o}return Object(o[\"c\"])(e,t),e.prototype.updateData=function(t,e,n,i,r){this.node=e,e.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var o=this;js(o).dataIndex=e.dataIndex;var a=e.getModel(),l=a.getModel(\"emphasis\"),c=e.getLayout(),u=s[\"m\"]({},c);u.label=null;var h=e.getVisual(\"style\");h.lineJoin=\"bevel\";var d=e.getVisual(\"decal\");d&&(h.decal=qm(d,r));var p=yC(a.getModel(\"itemStyle\"),u,!0);s[\"m\"](u,p),s[\"k\"](Ds,(function(t){var e=o.ensureState(t),n=a.getModel([t,\"itemStyle\"]);e.style=n.getItemStyle();var i=yC(n,u);i&&(e.shape=i)})),t?(o.setShape(u),o.shape.r=c.r0,Gl(o,{shape:{r:c.r}},n,e.dataIndex)):(Gl(o,{shape:u},n),Ul(o)),o.useStyle(h),this._updateLabel(n);var f=a.getShallow(\"cursor\");f&&o.attr(\"cursor\",f),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var g=l.get(\"focus\"),y=\"ancestor\"===g?e.getAncestorsIndices():\"descendant\"===g?e.getDescendantIndices():g;Ml(this,y,l.get(\"blurScope\"),l.get(\"disabled\"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),i=n.getModel(\"label\"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,l=Math.cos(a),c=Math.sin(a),u=this,h=u.getTextContent(),d=this.node.dataIndex,p=i.get(\"minAngle\")/180*Math.PI,f=i.get(\"show\")&&!(null!=p&&Math.abs(o)Math.PI/2?\"right\":\"left\"):S&&\"center\"!==S?\"left\"===S?(b=r.r0+j,a>Math.PI/2&&(S=\"right\")):\"right\"===S&&(b=r.r-j,a>Math.PI/2&&(S=\"left\")):(b=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,S=\"center\"),y.style.align=S,y.style.verticalAlign=g(p,\"verticalAlign\")||\"middle\",y.x=b*l+r.cx,y.y=b*c+r.cy;var _=g(p,\"rotate\"),C=0;\"radial\"===_?(C=-a,C<-Math.PI/2&&(C+=Math.PI)):\"tangential\"===_?(C=Math.PI/2-a,C>Math.PI/2?C-=Math.PI:C<-Math.PI/2&&(C+=Math.PI)):s[\"z\"](_)&&(C=_*Math.PI/180),y.rotation=C})),h.dirtyStyle()},e}(mg),CV=_V,MV=\"sunburstRootToNode\",AV=\"sunburstHighlight\",kV=\"sunburstUnhighlight\";function IV(t){t.registerAction({type:MV,update:\"updateView\"},(function(t,e){function n(e,n){var i=UD(t,[MV],e);if(i){var r=e.getViewRoot();r&&(t.direction=KD(r,i.node)?\"rollUp\":\"drillDown\"),e.resetViewRoot(i.node)}}e.eachComponent({mainType:\"series\",subType:\"sunburst\",query:t},n)})),t.registerAction({type:AV,update:\"none\"},(function(t,e,n){function i(e){var n=UD(t,[AV],e);n&&(t.dataIndex=n.node.dataIndex)}t=Object(s[\"m\"])({},t),e.eachComponent({mainType:\"series\",subType:\"sunburst\",query:t},i),n.dispatchAction(Object(s[\"m\"])(t,{type:\"highlight\"}))})),t.registerAction({type:kV,update:\"updateView\"},(function(t,e,n){t=Object(s[\"m\"])({},t),n.dispatchAction(Object(s[\"m\"])(t,{type:\"downplay\"}))}))}var TV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,l=t.getViewRoot(),c=this.group,u=t.get(\"renderLabelForZeroData\"),h=[];l.eachNode((function(t){h.push(t)}));var d=this._oldChildren||[];function p(t,e){function n(t){return t.getId()}function i(n,i){var r=null==n?null:t[n],o=null==i?null:e[i];f(r,o)}0===t.length&&0===e.length||new uj(e,t,n,n).add(i).update(i).remove(s[\"h\"](i,null)).execute()}function f(i,r){if(u||!i||i.getValue()||(i=null),i!==a&&r!==a)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),o.setItemGraphicEl(i.dataIndex,r.piece)):g(r);else if(i){var s=new CV(i,t,e,n);c.add(s),o.setItemGraphicEl(i.dataIndex,s)}}function g(t){t&&t.piece&&(c.remove(t.piece),t.piece=null)}function y(i,o){o.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new CV(i,t,e,n),c.add(r.virtualPiece)),o.piece.off(\"click\"),r.virtualPiece.on(\"click\",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(c.remove(r.virtualPiece),r.virtualPiece=null)}p(h,d),y(a,l),this._initEvents(),this._oldChildren=h},e.prototype._initEvents=function(){var t=this;this.group.off(\"click\"),this.group.on(\"click\",(function(e){var n=!1,i=t.seriesModel.getViewRoot();i.eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get(\"nodeClick\");if(\"rootToNode\"===r)t._rootToNode(i);else if(\"link\"===r){var o=i.getModel(),a=o.get(\"link\");if(a){var s=o.get(\"target\",!0)||\"_blank\";Tu(a,s)}}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:MV,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData(),i=n.getItemLayout(0);if(i){var r=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}},e.type=\"sunburst\",e}(Xy),DV=TV,PV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return Object(o[\"c\"])(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};LV(n);var i=this._levelModels=s[\"H\"](t.levels||[],(function(t){return new _c(t,this,e)}),this),r=qD.createTree(n,this,o);function o(t){t.wrapMethod(\"getItemModel\",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=QD(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){cP(this)},e.type=\"series.sunburst\",e.defaultOption={z:2,center:[\"50%\",\"50%\"],radius:[0,\"75%\"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:\"rootToNode\",renderLabelForZeroData:!1,label:{rotate:\"radial\",show:!0,opacity:1,align:\"center\",position:\"inside\",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:\"white\",borderType:\"solid\",shadowBlur:0,shadowColor:\"rgba(0, 0, 0, 0.2)\",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:\"descendant\"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:\"expansion\",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:\"desc\"},e}(wf);function LV(t){var e=0;s[\"k\"](t.children,(function(t){LV(t);var n=t.value;s[\"t\"](n)&&(n=n[0]),e+=n}));var n=t.value;s[\"t\"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),s[\"t\"](t.value)?t.value[0]=n:t.value=n}var RV=PV,EV=Math.PI/180;function BV(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get(\"center\"),i=t.get(\"radius\");s[\"t\"](i)||(i=[0,i]),s[\"t\"](e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),l=Li(e[0],r),c=Li(e[1],o),u=Li(i[0],a/2),h=Li(i[1],a/2),d=-t.get(\"startAngle\")*EV,p=t.get(\"minAngle\")*EV,f=t.getData().tree.root,g=t.getViewRoot(),y=g.depth,v=t.get(\"sort\");null!=v&&FV(g,v);var m=0;s[\"k\"](g.children,(function(t){!isNaN(t.getValue())&&m++}));var b=g.getValue(),x=Math.PI/(b||m)*2,O=g.depth>0,w=g.height-(O?-1:1),j=(h-u)/(w||1),S=t.get(\"clockwise\"),_=t.get(\"stillShowZeroSum\"),C=S?1:-1,M=function(e,n){if(e){var i=n;if(e!==f){var r=e.getValue(),o=0===b&&_?x:r*x;o1)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+\"\",e);return t.depth>1&&Object(s[\"C\"])(o)&&(o=Object(Be[\"c\"])(o,(t.depth-1)/(i-1)*.5)),o}t.eachSeriesByType(\"sunburst\",(function(t){var e=t.getData(),i=e.tree;i.eachNode((function(r){var o=r.getModel(),a=o.getModel(\"itemStyle\").getItemStyle();a.fill||(a.fill=n(r,t,i.root.height));var l=e.ensureUniqueItemVisual(r.dataIndex,\"style\");Object(s[\"m\"])(l,a)}))}))}function VV(t){t.registerChartView(DV),t.registerSeriesModel(RV),t.registerLayout(Object(s[\"h\"])(BV,\"sunburst\")),t.registerProcessor(Object(s[\"h\"])(cC,\"sunburst\")),t.registerVisual(zV),IV(t)}var GV={color:\"fill\",borderColor:\"stroke\"},HV={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},WV=Ar(),XV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get(\"zlevel\",!0),this.currentZ=this.get(\"z\",!0)},e.prototype.getInitialData=function(t,e){return rS(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=WV(i).info),r},e.type=\"series.custom\",e.dependencies=[\"grid\",\"polar\",\"geo\",\"singleAxis\",\"calendar\"],e.defaultOption={coordinateSystem:\"cartesian2d\",z:2,legendHoverLink:!0,clip:!1},e}(wf),YV=XV;function qV(t,e){return e=e||[0,0],s[\"H\"]([\"x\",\"y\"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return\"category\"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function UV(t){var e=t.master.getRect();return{coordSys:{type:\"cartesian2d\",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:s[\"c\"](qV,t)}}}function ZV(t,e){return e=e||[0,0],s[\"H\"]([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function KV(t){var e=t.getBoundingRect();return{coordSys:{type:\"geo\",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:s[\"c\"](ZV,t)}}}function QV(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return\"category\"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function JV(t){var e=t.getRect();return{coordSys:{type:\"singleAxis\",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:Object(s[\"c\"])(QV,t)}}}function $V(t,e){return e=e||[0,0],s[\"H\"]([\"Radius\",\"Angle\"],(function(n,i){var r=\"get\"+n+\"Axis\",o=this[r](),a=e[i],s=t[i]/2,l=\"category\"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-s)-o.dataToCoord(a+s));return\"Angle\"===n&&(l=l*Math.PI/180),l}),this)}function tG(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),i=e.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:\"polar\",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:s[\"c\"]($V,t)}}}function eG(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:\"calendar\",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}function nG(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&\"tspan\"!==e&&(\"text\"===e||Object(s[\"q\"])(t,\"text\")))}function iG(t,e,n){var i,r,o,a=t;if(\"text\"===e)o=a;else{o={},Object(s[\"q\"])(a,\"text\")&&(o.text=a.text),Object(s[\"q\"])(a,\"rich\")&&(o.rich=a.rich),Object(s[\"q\"])(a,\"textFill\")&&(o.fill=a.textFill),Object(s[\"q\"])(a,\"textStroke\")&&(o.stroke=a.textStroke),Object(s[\"q\"])(a,\"fontFamily\")&&(o.fontFamily=a.fontFamily),Object(s[\"q\"])(a,\"fontSize\")&&(o.fontSize=a.fontSize),Object(s[\"q\"])(a,\"fontStyle\")&&(o.fontStyle=a.fontStyle),Object(s[\"q\"])(a,\"fontWeight\")&&(o.fontWeight=a.fontWeight),r={type:\"text\",style:o,silent:!0},i={};var l=Object(s[\"q\"])(a,\"textPosition\");n?i.position=l?a.textPosition:\"inside\":l&&(i.position=a.textPosition),Object(s[\"q\"])(a,\"textPosition\")&&(i.position=a.textPosition),Object(s[\"q\"])(a,\"textOffset\")&&(i.offset=a.textOffset),Object(s[\"q\"])(a,\"textRotation\")&&(i.rotation=a.textRotation),Object(s[\"q\"])(a,\"textDistance\")&&(i.distance=a.textDistance)}return rG(o,t),Object(s[\"k\"])(o.rich,(function(t){rG(t,t)})),{textConfig:i,textContent:r}}function rG(t,e){e&&(e.font=e.textFont||e.font,Object(s[\"q\"])(e,\"textStrokeWidth\")&&(t.lineWidth=e.textStrokeWidth),Object(s[\"q\"])(e,\"textAlign\")&&(t.align=e.textAlign),Object(s[\"q\"])(e,\"textVerticalAlign\")&&(t.verticalAlign=e.textVerticalAlign),Object(s[\"q\"])(e,\"textLineHeight\")&&(t.lineHeight=e.textLineHeight),Object(s[\"q\"])(e,\"textWidth\")&&(t.width=e.textWidth),Object(s[\"q\"])(e,\"textHeight\")&&(t.height=e.textHeight),Object(s[\"q\"])(e,\"textBackgroundColor\")&&(t.backgroundColor=e.textBackgroundColor),Object(s[\"q\"])(e,\"textPadding\")&&(t.padding=e.textPadding),Object(s[\"q\"])(e,\"textBorderColor\")&&(t.borderColor=e.textBorderColor),Object(s[\"q\"])(e,\"textBorderWidth\")&&(t.borderWidth=e.textBorderWidth),Object(s[\"q\"])(e,\"textBorderRadius\")&&(t.borderRadius=e.textBorderRadius),Object(s[\"q\"])(e,\"textBoxShadowColor\")&&(t.shadowColor=e.textBoxShadowColor),Object(s[\"q\"])(e,\"textBoxShadowBlur\")&&(t.shadowBlur=e.textBoxShadowBlur),Object(s[\"q\"])(e,\"textBoxShadowOffsetX\")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),Object(s[\"q\"])(e,\"textBoxShadowOffsetY\")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function oG(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||\"inside\",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf(\"inside\")>=0,o=t.fill||\"#000\";aG(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||\"#fff\",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||\"#000\"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,Object(s[\"k\"])(e.rich,(function(t){aG(t,t)})),i}function aG(t,e){e&&(Object(s[\"q\"])(e,\"fill\")&&(t.textFill=e.fill),Object(s[\"q\"])(e,\"stroke\")&&(t.textStroke=e.fill),Object(s[\"q\"])(e,\"lineWidth\")&&(t.textStrokeWidth=e.lineWidth),Object(s[\"q\"])(e,\"font\")&&(t.font=e.font),Object(s[\"q\"])(e,\"fontStyle\")&&(t.fontStyle=e.fontStyle),Object(s[\"q\"])(e,\"fontWeight\")&&(t.fontWeight=e.fontWeight),Object(s[\"q\"])(e,\"fontSize\")&&(t.fontSize=e.fontSize),Object(s[\"q\"])(e,\"fontFamily\")&&(t.fontFamily=e.fontFamily),Object(s[\"q\"])(e,\"align\")&&(t.textAlign=e.align),Object(s[\"q\"])(e,\"verticalAlign\")&&(t.textVerticalAlign=e.verticalAlign),Object(s[\"q\"])(e,\"lineHeight\")&&(t.textLineHeight=e.lineHeight),Object(s[\"q\"])(e,\"width\")&&(t.textWidth=e.width),Object(s[\"q\"])(e,\"height\")&&(t.textHeight=e.height),Object(s[\"q\"])(e,\"backgroundColor\")&&(t.textBackgroundColor=e.backgroundColor),Object(s[\"q\"])(e,\"padding\")&&(t.textPadding=e.padding),Object(s[\"q\"])(e,\"borderColor\")&&(t.textBorderColor=e.borderColor),Object(s[\"q\"])(e,\"borderWidth\")&&(t.textBorderWidth=e.borderWidth),Object(s[\"q\"])(e,\"borderRadius\")&&(t.textBorderRadius=e.borderRadius),Object(s[\"q\"])(e,\"shadowColor\")&&(t.textBoxShadowColor=e.shadowColor),Object(s[\"q\"])(e,\"shadowBlur\")&&(t.textBoxShadowBlur=e.shadowBlur),Object(s[\"q\"])(e,\"shadowOffsetX\")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),Object(s[\"q\"])(e,\"shadowOffsetY\")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),Object(s[\"q\"])(e,\"textShadowColor\")&&(t.textShadowColor=e.textShadowColor),Object(s[\"q\"])(e,\"textShadowBlur\")&&(t.textShadowBlur=e.textShadowBlur),Object(s[\"q\"])(e,\"textShadowOffsetX\")&&(t.textShadowOffsetX=e.textShadowOffsetX),Object(s[\"q\"])(e,\"textShadowOffsetY\")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var sG={position:[\"x\",\"y\"],scale:[\"scaleX\",\"scaleY\"],origin:[\"originX\",\"originY\"]},lG=Object(s[\"F\"])(sG),cG=(Object(s[\"N\"])(qn,(function(t,e){return t[e]=1,t}),{}),qn.join(\", \"),[\"\",\"style\",\"shape\",\"extra\"]),uG=Ar();function hG(t,e,n,i,r){var o=t+\"Animation\",a=zl(t,i,r)||{},l=uG(e).userDuring;return a.duration>0&&(a.during=l?Object(s[\"c\"])(OG,{el:e,userDuring:l}):null,a.setToFinal=!0,a.scope=t),Object(s[\"m\"])(a,n[o]),a}function dG(t,e,n,i){i=i||{};var r=i.dataIndex,o=i.isInit,a=i.clearStyle,l=n.isAnimationEnabled(),c=uG(t),u=e.style;c.userDuring=e.during;var h={},d={};if(_G(t,e,d),jG(\"shape\",e,d),jG(\"extra\",e,d),!o&&l&&(SG(t,e,h),wG(\"shape\",t,e,h),wG(\"extra\",t,e,h),CG(t,e,u,h)),d.style=u,yG(t,d,a),mG(t,e),l)if(o){var p={};Object(s[\"k\"])(cG,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(p[t]=p[t]||{}),Object(s[\"m\"])(t?p[t]:p,n.enterFrom))}));var f=hG(\"enter\",t,e,n,r);f.duration>0&&t.animateFrom(p,f)}else vG(t,e,r||0,n,h);pG(t,e),u?t.dirty():t.markRedraw()}function pG(t,e){for(var n=uG(t).leaveToProps,i=0;i0&&t.animateFrom(r,o)}}function mG(t,e){Object(s[\"q\"])(e,\"silent\")&&(t.silent=e.silent),Object(s[\"q\"])(e,\"ignore\")&&(t.ignore=e.ignore),t instanceof Lo&&Object(s[\"q\"])(e,\"invisible\")&&(t.invisible=e.invisible),t instanceof Va&&Object(s[\"q\"])(e,\"autoBatch\")&&(t.autoBatch=e.autoBatch)}var bG={},xG={setTransform:function(t,e){return bG.el[t]=e,this},getTransform:function(t){return bG.el[t]},setShape:function(t,e){var n=bG.el,i=n.shape||(n.shape={});return i[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=bG.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=bG.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=bG.el.style;if(e)return e[t]},setExtra:function(t,e){var n=bG.el.extra||(bG.el.extra={});return n[t]=e,this},getExtra:function(t){var e=bG.el.extra;if(e)return e[t]}};function OG(){var t=this,e=t.el;if(e){var n=uG(e).userDuring,i=t.userDuring;n===i?(bG.el=e,i(xG)):t.el=t.userDuring=null}}function wG(t,e,n,i){var r=n[t];if(r){var o,a=e[t];if(a){var l=n.transition,c=r.transition;if(c)if(!o&&(o=i[t]={}),gG(c))Object(s[\"m\"])(o,a);else for(var u=ar(c),h=0;h=0){!o&&(o=i[t]={});var f=Object(s[\"F\"])(a);for(h=0;h=0)){var p=t.getAnimationStyleProps(),f=p?p.style:null;if(f){!r&&(r=i.style={});var g=Object(s[\"F\"])(n);for(u=0;u=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o}function j(n,i){null==i&&(i=l);var r=e.getItemVisual(i,\"style\"),o=r&&r.fill,a=r&&r.opacity,c=b(i,PG).getItemStyle();null!=o&&(c.fill=o),null!=a&&(c.opacity=a);var u={inheritColor:Object(s[\"C\"])(o)?o:\"#000\"},h=x(i,PG),d=ec(h,null,u,!1,!0);d.text=h.getShallow(\"show\")?Object(s[\"P\"])(t.getFormattedLabel(i,PG),sS(e,i)):null;var p=nc(h,u,!1);return C(n,c),c=oG(c,d,p),n&&_(c,n),c.legacy=!0,c}function S(n,i){null==i&&(i=l);var r=b(i,DG).getItemStyle(),o=x(i,DG),a=ec(o,null,null,!0,!0);a.text=o.getShallow(\"show\")?Object(s[\"Q\"])(t.getFormattedLabel(i,DG),t.getFormattedLabel(i,PG),sS(e,i)):null;var c=nc(o,null,!0);return C(n,r),r=oG(r,a,c),n&&_(r,n),r.legacy=!0,r}function _(t,e){for(var n in e)Object(s[\"q\"])(e,n)&&(t[n]=e[n])}function C(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}function M(t,n){if(null==n&&(n=l),Object(s[\"q\"])(GV,t)){var i=e.getItemVisual(n,\"style\");return i?i[GV[t]]:null}if(Object(s[\"q\"])(HV,t))return e.getItemVisual(n,t)}function A(t){if(\"cartesian2d\"===o.type){var e=o.getBaseAxis();return u_(Object(s[\"i\"])({axis:e},t))}}function k(){return n.getCurrentSeriesIndices()}function I(t){return cc(t,n)}}function tH(t){var e={};return Object(s[\"k\"])(t.dimensions,(function(n){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim,o=e[r]=e[r]||[];o[i.coordDimIndex]=t.getDimensionIndex(n)}})),e}function eH(t,e,n,i,r,o,a){if(i){var s=nH(t,e,n,i,r,o);return s&&a.setItemGraphicEl(n,s),s&&Ml(s,i.focus,i.blurScope,i.emphasisDisabled),s}o.remove(e)}function nH(t,e,n,i,r,o){var a=-1,l=e;e&&iH(e,i,r)&&(a=Object(s[\"r\"])(o.childrenRef(),e),e=null);var c=!e,u=e;u?u.clearStates():(u=UG(i),l&&XG(l,u)),!1===i.morph?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),VG.normal.cfg=VG.normal.conOpt=VG.emphasis.cfg=VG.emphasis.conOpt=VG.blur.cfg=VG.blur.conOpt=VG.select.cfg=VG.select.conOpt=null,VG.isLegacy=!1,oH(u,n,i,r,c,VG),rH(u,n,i,r,c),ZG(t,u,n,i,VG,r,c),Object(s[\"q\"])(i,\"info\")&&(WV(u).info=i.info);for(var h=0;h=0?o.replaceAt(u,a):o.add(u),u}function iH(t,e,n){var i=WV(t),r=e.type,o=e.shape,a=e.style;return n.isUniversalTransitionEnabled()||null!=r&&r!==i.customGraphicType||\"path\"===r&&yH(o)&&gH(o)!==i.customPathData||\"image\"===r&&Object(s[\"q\"])(a,\"image\")&&a.image!==i.customImagePath}function rH(t,e,n,i,r){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&iH(a,o,i)&&(a=null),a||(a=UG(o),t.setClipPath(a)),ZG(null,a,e,o,null,i,r)}}function oH(t,e,n,i,r,o){if(!t.isGroup){aH(n,null,o),aH(n,DG,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,c=o.select.conOpt;if(null!=a||null!=s||null!=c||null!=l){var u=t.getTextContent();if(!1===a)u&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:\"text\"},u?u.clearStates():(u=UG(a),t.setTextContent(u)),ZG(null,u,e,a,null,i,r);for(var h=a&&a.style,d=0;d=u;p--){var f=e.childAt(p);uH(e,f,r)}}}function uH(t,e,n){e&&fG(e,WV(t).option,n)}function hH(t){new uj(t.oldChildren,t.newChildren,dH,dH,t).add(pH).update(pH).remove(fH).execute()}function dH(t,e){var n=t&&t.name;return null!=n?n:zG+e}function pH(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;nH(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function fH(t){var e=this.context,n=e.oldChildren[t];n&&fG(n,WV(n).option,e.seriesModel)}function gH(t){return t&&(t.pathData||t.d)}function yH(t){return t&&(Object(s[\"q\"])(t,\"pathData\")||Object(s[\"q\"])(t,\"d\"))}function vH(t){t.registerChartView(qG),t.registerSeriesModel(YV)}var mH=Ar(),bH=s[\"d\"],xH=s[\"c\"],OH=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get(\"value\"),o=e.get(\"status\");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,l=this._handle;if(!o||\"hide\"===o)return a&&a.hide(),void(l&&l.hide());a&&a.show(),l&&l.show();var c={};this.makeElOption(c,r,t,e,n);var u=c.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var d=s[\"h\"](wH,e,h);this.updatePointerEl(a,c,d),this.updateLabelEl(a,c,d,e)}else a=this._group=new wi,this.createPointerEl(a,c,t,e),this.createLabelEl(a,c,t,e),n.getZr().add(a);CH(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get(\"animation\"),i=t.axis,r=\"category\"===i.type,o=e.get(\"snap\");if(!o&&!r)return!1;if(\"auto\"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=lk(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,r){var o=e.pointer;if(o){var a=mH(t).pointerEl=new i[o.type](bH(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=mH(t).labelEl=new ws(bH(e.label));t.add(r),SH(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=mH(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=mH(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),SH(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel(\"handle\"),a=n.get(\"status\");if(!o.get(\"show\")||!a||\"hide\"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=ky(o.get(\"icon\"),{cursor:\"move\",draggable:!0,onmousemove:function(t){et(t.event)},onmousedown:xH(this._onHandleDragMove,this,0,0),drift:xH(this._onHandleDragMove,this),ondragend:xH(this._onHandleDragEnd,this)}),i.add(r)),CH(r,n,!1),r.setStyle(o.getItemStyle(null,[\"color\",\"borderColor\",\"borderWidth\",\"opacity\",\"shadowColor\",\"shadowBlur\",\"shadowOffsetX\",\"shadowOffsetY\"]));var l=o.get(\"size\");s[\"t\"](l)||(l=[l,l]),r.scaleX=l[0]/2,r.scaleY=l[1]/2,Ky(this,\"_doDispatchAxisPointer\",o.get(\"throttle\")||0,\"fixRate\"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){wH(this._axisPointerModel,!e&&this._moveAnimation,this._handle,_H(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(_H(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(_H(i)),mH(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:\"updateAxisPointer\",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get(\"value\");this._moveHandleToValue(e),this._api.dispatchAction({type:\"hideTip\"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Qy(this,\"_doDispatchAxisPointer\")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},t}();function wH(t,e,n,i){jH(mH(n).lastProp,i)||(mH(n).lastProp=i,e?Gl(n,i,t):(n.stopAnimation(),n.attr(i)))}function jH(t,e){if(s[\"A\"](t)&&s[\"A\"](e)){var n=!0;return s[\"k\"](e,(function(e,i){n=n&&jH(t[i],e)})),!!n}return t===e}function SH(t,e){t[e.get([\"label\",\"show\"])?\"show\":\"hide\"]()}function _H(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function CH(t,e,n){var i=e.get(\"z\"),r=e.get(\"zlevel\");t&&t.traverse((function(t){\"group\"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}var MH=OH;function AH(t){var e,n=t.get(\"type\"),i=t.getModel(n+\"Style\");return\"line\"===n?(e=i.getLineStyle(),e.fill=null):\"shadow\"===n&&(e=i.getAreaStyle(),e.stroke=null),e}function kH(t,e,n,i,r){var o=n.get(\"value\"),a=TH(o,e.axis,e.ecModel,n.get(\"seriesDataIndices\"),{precision:n.get([\"label\",\"precision\"]),formatter:n.get([\"label\",\"formatter\"])}),s=n.getModel(\"label\"),l=ju(s.get(\"padding\")||0),c=s.getFont(),u=ei(a,c),h=r.position,d=u.width+l[1]+l[3],p=u.height+l[0]+l[2],f=r.align;\"right\"===f&&(h[0]-=d),\"center\"===f&&(h[0]-=d/2);var g=r.verticalAlign;\"bottom\"===g&&(h[1]-=p),\"middle\"===g&&(h[1]-=p/2),IH(h,d,p,i);var y=s.get(\"backgroundColor\");y&&\"auto\"!==y||(y=e.get([\"axisLine\",\"lineStyle\",\"color\"])),t.label={x:h[0],y:h[1],style:ec(s,{text:a,font:c,fill:s.getTextColor(),padding:l,backgroundColor:y}),z2:10}}function IH(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function TH(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var l={value:KM(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};s[\"k\"](i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&l.seriesData.push(r)})),s[\"C\"](a)?o=a.replace(\"{value}\",o):s[\"w\"](a)&&(o=a(l))}return o}function DH(t,e,n){var i=st();return dt(i,i,n.rotation),ht(i,i,n.position),wy([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function PH(t,e,n,i,r,o){var a=tk.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get([\"label\",\"margin\"]),kH(e,i,r,o,{position:DH(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function LH(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function RH(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function EH(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var BH=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get(\"type\"),l=FH(a,o).getOtherAxis(o).getGlobalExtent(),c=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&\"none\"!==s){var u=AH(i),h=NH[s](o,c,l);h.style=u,t.graphicKey=h.type,t.pointer=h}var d=TA(a.model,n);PH(e,t,d,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=TA(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get([\"handle\",\"margin\"]);var r=DH(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=FH(o,r).getOtherAxis(r).getGlobalExtent(),l=\"x\"===r.dim?0:1,c=[t.x,t.y];c[l]+=e[l],c[l]=Math.min(a[1],c[l]),c[l]=Math.max(a[0],c[l]);var u=(s[1]+s[0])/2,h=[u,u];h[l]=c[l];var d=[{verticalAlign:\"middle\"},{align:\"center\"}];return{x:c[0],y:c[1],rotation:t.rotation,cursorPoint:h,tooltipOption:d[l]}},e}(MH);function FH(t,e){var n={};return n[e.dim+\"AxisIndex\"]=e.index,t.getCartesian(n)}var NH={line:function(t,e,n){var i=LH([e,n[0]],[e,n[1]],zH(t));return{type:\"Line\",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:\"Rect\",shape:RH([e-i/2,n[0]],[i,r],zH(t))}}};function zH(t){return\"x\"===t.dim?0:1}var VH=BH,GH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.type=\"axisPointer\",e.defaultOption={show:\"auto\",z:50,type:\"line\",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:\"#B9BEC9\",width:1,type:\"dashed\"},shadowStyle:{color:\"rgba(210,219,238,0.2)\"},label:{show:!0,formatter:null,precision:\"auto\",margin:3,color:\"#fff\",padding:[5,7,5,7],backgroundColor:\"auto\",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:\"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z\",size:45,margin:50,color:\"#333\",shadowBlur:3,shadowColor:\"#aaa\",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Uu),HH=GH,WH=Ar(),XH=s[\"k\"];function YH(t,e,n){if(!a[\"a\"].node){var i=e.getZr();WH(i).records||(WH(i).records={}),qH(i,e);var r=WH(i).records[t]||(WH(i).records[t]={});r.handler=n}}function qH(t,e){function n(n,i){t.on(n,(function(n){var r=QH(e);XH(WH(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),UH(r.pendings,e)}))}WH(t).initialized||(WH(t).initialized=!0,n(\"click\",s[\"h\"](KH,\"click\")),n(\"mousemove\",s[\"h\"](KH,\"mousemove\")),n(\"globalout\",ZH))}function UH(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function ZH(t,e,n){t.handler(\"leave\",null,n)}function KH(t,e,n,i){e.handler(t,n,i)}function QH(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}function JH(t,e){if(!a[\"a\"].node){var n=e.getZr(),i=(WH(n).records||{})[t];i&&(WH(n).records[t]=null)}}var $H=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent(\"tooltip\"),r=t.get(\"triggerOn\")||i&&i.get(\"triggerOn\")||\"mousemove|click\";YH(\"axisPointer\",n,(function(t,e,n){\"none\"!==r&&(\"leave\"===t||r.indexOf(t)>=0)&&n({type:\"updateAxisPointer\",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){JH(\"axisPointer\",e)},e.prototype.dispose=function(t,e){JH(\"axisPointer\",e)},e.type=\"axisPointer\",e}(Sf),tW=$H;function eW(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=Mr(o,t);if(null==a||a<0||s[\"t\"](a))return{point:[]};var l=o.getItemGraphicEl(a),c=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(c&&c.dataToPoint)if(t.isStacked){var u=c.getBaseAxis(),h=c.getOtherAxis(u),d=h.dim,p=u.dim,f=\"x\"===d||\"radius\"===d?1:0,g=o.mapDimension(p),y=[];y[f]=o.get(g,a),y[1-f]=o.get(o.getCalculationInfo(\"stackResultDimension\"),a),i=c.dataToPoint(y)||[]}else i=c.dataToPoint(o.getValues(s[\"H\"](c.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(l){var v=l.getBoundingRect().clone();v.applyTransform(l.transform),i=[v.x+v.width/2,v.y+v.height/2]}return{point:i,el:l}}var nW=Ar();function iW(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||Object(s[\"c\"])(n.dispatchAction,n),l=e.getComponent(\"axisPointer\").coordSysAxesInfo;if(l){pW(r)&&(r=eW({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var c=pW(r),u=o.axesInfo,h=l.axesInfo,d=\"leave\"===i||pW(r),p={},f={},g={list:[],map:{}},y={showPointer:Object(s[\"h\"])(aW,f),showTooltip:Object(s[\"h\"])(sW,g)};Object(s[\"k\"])(l.coordSysMap,(function(t,e){var n=c||t.containPoint(r);Object(s[\"k\"])(l.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=hW(u,t);if(!d&&n&&(!u||o)){var a=o&&o.value;null!=a||c||(a=i.pointToData(r)),null!=a&&rW(t,a,y,!1,p)}}))}));var v={};return Object(s[\"k\"])(h,(function(t,e){var n=t.linkGroup;n&&!f[e]&&Object(s[\"k\"])(n.axesInfo,(function(e,i){var r=f[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,dW(e),dW(t)))),v[t.key]=o}}))})),Object(s[\"k\"])(v,(function(t,e){rW(h[e],t,y,!0,p)})),lW(f,h,p),cW(g,r,t,a),uW(h,a,n),p}}function rW(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=oW(e,t),l=a.payloadBatch,c=a.snapToValue;l[0]&&null==r.seriesIndex&&Object(s[\"m\"])(r,l[0]),!i&&t.snap&&o.containData(c)&&null!=c&&(e=c),n.showPointer(t,e,l),n.showTooltip(t,a,c)}else n.showPointer(t,e)}function oW(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,l=-1;return Object(s[\"k\"])(e.seriesModels,(function(e,c){var u,h,d=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(d,t,n);h=p.dataIndices,u=p.nestestValue}else{if(h=e.getData().indicesOfNearest(d[0],t,\"category\"===n.type?.5:null),!h.length)return;u=e.getData().get(d[0],h[0])}if(null!=u&&isFinite(u)){var f=t-u,g=Math.abs(f);g<=a&&((g=0&&l<0)&&(a=g,l=f,r=u,o.length=0),Object(s[\"k\"])(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}function aW(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function sW(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,c=hk(l),u=t.map[c];u||(u=t.map[c]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(u)),u.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get([\"label\",\"precision\"]),formatter:s.get([\"label\",\"formatter\"])},seriesDataIndices:r.slice()})}}function lW(t,e,n){var i=n.axesInfo=[];Object(s[\"k\"])(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status=\"show\"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status=\"hide\"),\"show\"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}function cW(t,e,n,i){if(!pW(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:\"showTip\",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:\"hideTip\"})}function uW(t,e,n){var i=n.getZr(),r=\"axisPointerLastHighlights\",o=nW(i)[r]||{},a=nW(i)[r]={};Object(s[\"k\"])(t,(function(t,e){var n=t.axisPointerModel.option;\"show\"===n.status&&Object(s[\"k\"])(n.seriesDataIndices,(function(t){var e=t.seriesIndex+\" | \"+t.dataIndex;a[e]=t}))}));var l=[],c=[];Object(s[\"k\"])(o,(function(t,e){!a[e]&&c.push(t)})),Object(s[\"k\"])(a,(function(t,e){!o[e]&&l.push(t)})),c.length&&n.dispatchAction({type:\"downplay\",escapeConnect:!0,notBlur:!0,batch:c}),l.length&&n.dispatchAction({type:\"highlight\",escapeConnect:!0,notBlur:!0,batch:l})}function hW(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}function dW(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+\"AxisIndex\"]=e.componentIndex,n.axisName=n[i+\"AxisName\"]=e.name,n.axisId=n[i+\"AxisId\"]=e.id,n}function pW(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function fW(t){fk.registerAxisPointerClass(\"CartesianAxisPointer\",VH),t.registerComponentModel(HH),t.registerComponentView(tW),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Object(s[\"t\"])(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent(\"axisPointer\").coordSysAxesInfo=ek(t,e)})),t.registerAction({type:\"updateAxisPointer\",event:\"updateAxisPointer\",update:\":updateAxisPointer\"},iW)}function gW(t){Px(Ck),Px(fW)}var yW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;\"angle\"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o),l=s.getExtent(),c=o.dataToCoord(e),u=i.get(\"type\");if(u&&\"none\"!==u){var h=AH(i),d=mW[u](o,a,c,l);d.style=h,t.graphicKey=d.type,t.pointer=d}var p=i.get([\"label\",\"margin\"]),f=vW(e,n,i,a,p);kH(t,n,i,r,f)},e}(MH);function vW(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,c,u,h=i.getRadiusAxis().getExtent();if(\"radius\"===o.dim){var d=st();dt(d,d,s),ht(d,d,[i.cx,i.cy]),l=wy([a,-r],d);var p=e.getModel(\"axisLabel\").get(\"rotate\")||0,f=tk.innerTextLayout(s,p*Math.PI/180,-1);c=f.textAlign,u=f.textVerticalAlign}else{var g=h[1];l=i.coordToPoint([g+r,a]);var y=i.cx,v=i.cy;c=Math.abs(l[0]-y)/g<.3?\"center\":l[0]>y?\"left\":\"right\",u=Math.abs(l[1]-v)/g<.3?\"middle\":l[1]>v?\"top\":\"bottom\"}return{position:l,align:c,verticalAlign:u}}var mW={line:function(t,e,n,i){return\"angle\"===t.dim?{type:\"Line\",shape:LH(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:\"Circle\",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return\"angle\"===t.dim?{type:\"Sector\",shape:EH(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:\"Sector\",shape:EH(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},bW=yW,xW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.findAxisModel=function(t){var e,n=this.ecModel;return n.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type=\"polar\",e.dependencies=[\"radiusAxis\",\"angleAxis\"],e.defaultOption={z:0,center:[\"50%\",\"50%\"],radius:\"80%\"},e}(Uu),OW=xW,wW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents(\"polar\",Dr).models[0]},e.type=\"polarAxis\",e}(Uu);s[\"K\"](wW,NC);var jW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.type=\"angleAxis\",e}(wW),SW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.type=\"radiusAxis\",e}(wW),_W=function(t){function e(e,n){return t.call(this,\"radius\",e,n)||this}return Object(o[\"c\"])(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)[\"radius\"===this.dim?0:1]},e}(AA);_W.prototype.dataToRadius=AA.prototype.dataToCoord,_W.prototype.radiusToData=AA.prototype.coordToData;var CW=_W,MW=Ar(),AW=function(t){function e(e,n){return t.call(this,\"angle\",e,n||[0,360])||this}return Object(o[\"c\"])(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)[\"radius\"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=ei(null==o?\"\":o+\"\",e.getFont(),\"center\",\"top\"),c=Math.max(l.height,7),u=c/s;isNaN(u)&&(u=1/0);var h=Math.max(0,Math.floor(u)),d=MW(t.model),p=d.lastAutoInterval,f=d.lastTickCount;return null!=p&&null!=f&&Math.abs(p-h)<=1&&Math.abs(f-r)<=1&&p>h?h=p:(d.lastTickCount=r,d.lastAutoInterval=h),h},e}(AA);AW.prototype.dataToAngle=AA.prototype.dataToCoord,AW.prototype.angleToData=AA.prototype.coordToData;var kW=AW,IW=[\"radius\",\"angle\"],TW=function(){function t(t){this.dimensions=IW,this.type=\"polar\",this.cx=0,this.cy=0,this._radiusAxis=new CW,this._angleAxis=new kW,this.axisPointerEnabled=!0,this.name=t||\"\",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){var e=\"_\"+t+\"Axis\";return this[e]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale(\"ordinal\")[0]||this.getAxesByScale(\"time\")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&\"auto\"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;var l=Math.atan2(-n,e)/Math.PI*180,c=la)l+=360*c;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI,i=Math.cos(n)*e+this.cx,r=-Math.sin(n)*e+this.cy;return[i,r]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var i=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,n){var i=DW(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=DW(e);return i===this?this.pointToData(n):null},t}();function DW(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var PW=TW;function LW(t,e,n){var i=e.get(\"center\"),r=n.getWidth(),o=n.getHeight();t.cx=Li(i[0],r),t.cy=Li(i[1],o);var a=t.getRadiusAxis(),l=Math.min(r,o)/2,c=e.get(\"radius\");null==c?c=[0,\"100%\"]:s[\"t\"](c)||(c=[0,c]);var u=[Li(c[0],l),Li(c[1],l)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}function RW(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();s[\"k\"](eA(e,\"radius\"),(function(t){r.scale.unionExtentFromData(e,t)})),s[\"k\"](eA(e,\"angle\"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),YM(i.scale,i.model),YM(r.scale,r.model),\"category\"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function EW(t){return\"angleAxis\"===t.mainType}function BW(t,e){if(t.type=e.get(\"type\"),t.scale=qM(e),t.onBand=e.get(\"boundaryGap\")&&\"category\"===t.type,t.inverse=e.get(\"inverse\"),EW(e)){t.inverse=t.inverse!==e.get(\"clockwise\");var n=e.get(\"startAngle\");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var FW={dimensions:IW,create:function(t,e){var n=[];return t.eachComponent(\"polar\",(function(t,i){var r=new PW(i+\"\");r.update=RW;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel(\"radiusAxis\"),l=t.findAxisModel(\"angleAxis\");BW(o,s),BW(a,l),LW(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if(\"polar\"===t.get(\"coordinateSystem\")){var e=t.getReferringComponents(\"polar\",Dr).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}},NW=FW,zW=[\"axisLine\",\"axisLabel\",\"axisTick\",\"minorTick\",\"splitLine\",\"minorSplitLine\",\"splitArea\"];function VW(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function GW(t){var e=t.getRadiusAxis();return e.inverse?0:1}function HW(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var WW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass=\"PolarAxisPointer\",n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get(\"show\")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),l=s[\"H\"](n.getViewLabels(),(function(t){t=s[\"d\"](t);var e=n.scale,i=\"ordinal\"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));HW(l),HW(o),s[\"k\"](zW,(function(e){!t.get([e,\"show\"])||n.scale.isBlank()&&\"axisLine\"!==e||XW[e](this.group,t,i,o,a,r,l)}),this)}},e.type=\"angleAxis\",e}(fk),XW={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel([\"axisLine\",\"lineStyle\"]),l=GW(n),c=l?0:1;a=0===o[c]?new Qf({shape:{cx:n.cx,cy:n.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new Og({shape:{cx:n.cx,cy:n.cy,r:o[l],r0:o[c]},style:s.getLineStyle(),z2:1,silent:!0}),a.style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel(\"axisTick\"),l=(a.get(\"inside\")?-1:1)*a.get(\"length\"),c=o[GW(n)],u=s[\"H\"](i,(function(t){return new Pg({shape:VW(n,[c,c+l],t.coord)})}));t.add(yy(u,{style:s[\"i\"](a.getModel(\"lineStyle\").getLineStyle(),{stroke:e.get([\"axisLine\",\"lineStyle\",\"color\"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel(\"axisTick\"),l=e.getModel(\"minorTick\"),c=(a.get(\"inside\")?-1:1)*l.get(\"length\"),u=o[GW(n)],h=[],d=0;dg?\"left\":\"right\",m=Math.abs(f[1]-y)/p<.3?\"middle\":f[1]>y?\"top\":\"bottom\";if(l&&l[d]){var b=l[d];s[\"A\"](b)&&b.textStyle&&(a=new _c(b.textStyle,c,c.ecModel))}var x=new ws({silent:tk.isLabelSilent(e),style:ec(a,{x:f[0],y:f[1],fill:a.getTextColor()||e.get([\"axisLine\",\"lineStyle\",\"color\"]),text:i.formattedLabel,align:v,verticalAlign:m})});if(t.add(x),h){var O=tk.makeAxisEventDataBase(e);O.targetType=\"axisLabel\",O.value=i.rawLabel,js(x).eventData=O}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel(\"splitLine\"),l=a.getModel(\"lineStyle\"),c=l.get(\"color\"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=0;d=0?\"p\":\"n\",C=x;m&&(i[s][S]||(i[s][S]={p:x,n:x}),C=i[s][S][_]);var M=void 0,A=void 0,k=void 0,I=void 0;if(\"radius\"===h.dim){var T=h.dataToCoord(j)-x,D=o.dataToCoord(S);Math.abs(T)=I})}}}))}function nX(t){var e={};s[\"k\"](t,(function(t,n){var i=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),a=tX(r,o),s=o.getExtent(),l=\"category\"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/i.count(),c=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:\"20%\",gap:\"30%\",stacks:{}},u=c.stacks;e[a]=c;var h=$W(t);u[h]||c.autoWidthCount++,u[h]=u[h]||{width:0,maxWidth:0};var d=Li(t.get(\"barWidth\"),l),p=Li(t.get(\"barMaxWidth\"),l),f=t.get(\"barGap\"),g=t.get(\"barCategoryGap\");d&&!u[h].width&&(d=Math.min(c.remainedWidth,d),u[h].width=d,c.remainedWidth-=d),p&&(u[h].maxWidth=p),null!=f&&(c.gap=f),null!=g&&(c.categoryGap=g)}));var n={};return s[\"k\"](e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=Li(t.categoryGap,r),a=Li(t.gap,1),l=t.remainedWidth,c=t.autoWidthCount,u=(l-o)/(c+(c-1)*a);u=Math.max(u,0),s[\"k\"](i,(function(t,e){var n=t.maxWidth;n&&n=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t[\"horizontal\"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r=\"horizontal\"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){var i=xX(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=xX(e);return i===this?this.pointToData(n):null},t}();function xX(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var OX=bX;function wX(t,e){var n=[];return t.eachComponent(\"singleAxis\",(function(i,r){var o=new OX(i,t,e);o.name=\"single_\"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if(\"singleAxis\"===t.get(\"coordinateSystem\")){var e=t.getReferringComponents(\"singleAxis\",Dr).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n}var jX={create:wX,dimensions:mX},SX=jX,_X=[\"x\",\"y\"],CX=[\"width\",\"height\"],MX=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=IX(a,1-kX(o)),l=a.dataToPoint(e)[0],c=i.get(\"type\");if(c&&\"none\"!==c){var u=AH(i),h=AX[c](o,l,s);h.style=u,t.graphicKey=h.type,t.pointer=h}var d=lX(n);PH(e,t,d,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=lX(e,{labelInside:!1});i.labelMargin=n.get([\"handle\",\"margin\"]);var r=DH(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=kX(r),s=IX(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var c=IX(o,1-a),u=(c[1]+c[0])/2,h=[u,u];return h[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:\"middle\"}}},e}(MH),AX={line:function(t,e,n){var i=LH([e,n[0]],[e,n[1]],kX(t));return{type:\"Line\",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:\"Rect\",shape:RH([e-i/2,n[0]],[i,r],kX(t))}}};function kX(t){return t.isHorizontal()?0:1}function IX(t,e){var n=t.getRect();return[n[_X[e]],n[_X[e]]+n[CX[e]]]}var TX=MX,DX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.type=\"single\",e}(Sf);function PX(t){Px(fW),fk.registerAxisPointerClass(\"SingleAxisPointer\",TX),t.registerComponentView(DX),t.registerComponentView(pX),t.registerComponentModel(gX),JC(t,\"single\",gX,gX.defaultOption),t.registerCoordinateSystem(\"single\",SX)}var LX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.init=function(e,n,i){var r=Hu(e);t.prototype.init.apply(this,arguments),RX(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),RX(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type=\"calendar\",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:\"horizontal\",splitLine:{show:!0,lineStyle:{color:\"#000\",width:1,type:\"solid\"}},itemStyle:{color:\"#fff\",borderWidth:1,borderColor:\"#ccc\"},dayLabel:{show:!0,firstDay:0,position:\"start\",margin:\"50%\",color:\"#000\"},monthLabel:{show:!0,position:\"start\",margin:5,align:\"center\",formatter:null,color:\"#000\"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:\"#ccc\",fontFamily:\"sans-serif\",fontWeight:\"bolder\",fontSize:20}},e}(Uu);function RX(t,e){var n,i=t.cellSize;n=s[\"t\"](i)?i:t.cellSize=[i,i],1===n.length&&(n[1]=n[0]);var r=s[\"H\"]([0,1],(function(t){return zu(e,t)&&(n[t]=\"auto\"),null!=n[t]&&\"auto\"!==n[t]}));Gu(t,e,{type:\"box\",ignoreSize:r})}var EX=LX,BX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel(\"itemStyle\").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,c=new rs({shape:{x:l[0],y:l[1],width:o,height:a},cursor:\"default\",style:r});n.add(c)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel([\"splitLine\",\"lineStyle\"]).getLineStyle(),s=t.get([\"splitLine\",\"show\"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=e.start,u=0;c.time<=e.end.time;u++){d(c.formatedDate),0===u&&(c=o.getDateInfo(e.start.y+\"-\"+e.start.m));var h=c.date;h.setMonth(h.getMonth()+1),c=o.getDateInfo(h)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r=\"horizontal\"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new kg({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l[\"horizontal\"===n?\"bl\":\"tr\"]}return o},e.prototype._formatterLabel=function(t,e){return Object(s[\"C\"])(t)&&t?Au(t,e):Object(s[\"w\"])(t)?t(e):e.nameMap},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=[\"center\",\"bottom\"];\"bottom\"===i?(a+=r,s=[\"center\",\"top\"]):\"left\"===i?o-=r:\"right\"===i?(o+=r,s=[\"center\",\"top\"]):a-=r;var l=0;return\"left\"!==i&&\"right\"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel(\"yearLabel\");if(r.get(\"show\")){var o=r.get(\"margin\"),a=r.get(\"position\");a||(a=\"horizontal\"!==n?\"top\":\"left\");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,c=(s[0][1]+s[1][1])/2,u=\"horizontal\"===n?0:1,h={top:[l,s[u][1]],bottom:[l,s[1-u][1]],left:[s[1-u][0],c],right:[s[u][0],c]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+\"-\"+e.end.y);var p=r.get(\"formatter\"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(p,f),y=new ws({z2:30,style:ec(r,{text:g})});y.attr(this._yearTextPositionControl(y,h[a],n,a,o)),i.add(y)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o=\"left\",a=\"top\",s=t[0],l=t[1];return\"horizontal\"===n?(l+=r,e&&(o=\"center\"),\"start\"===i&&(a=\"bottom\")):(s+=r,e&&(a=\"middle\"),\"start\"===i&&(o=\"right\")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel(\"monthLabel\");if(r.get(\"show\")){var o=r.get(\"nameMap\"),a=r.get(\"margin\"),l=r.get(\"position\"),c=r.get(\"align\"),u=[this._tlpoints,this._blpoints];o&&!Object(s[\"C\"])(o)||(o&&(e=Vc(o)||e),o=e.get([\"time\",\"monthAbbr\"])||[]);var h=\"start\"===l?0:1,d=\"horizontal\"===n?0:1;a=\"start\"===l?-a:a;for(var p=\"center\"===c,f=0;f=i.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/NX)-Math.floor(n[0].time/NX)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a){var l=r.getTime()-n[1].time>0?1:-1;while((s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0)i-=l,r.setDate(s-l)}var c=Math.floor((i+n[0].day+6)/7),u=e?1-c:c-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:c,nthWeek:u,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent(\"calendar\",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){\"calendar\"===t.get(\"coordinateSystem\")&&(t.coordinateSystem=i[t.get(\"calendarIndex\")||0])})),i},t.dimensions=[\"time\",\"value\"],t}();function VX(t){var e=t.calendarModel,n=t.seriesModel,i=e?e.coordinateSystem:n?n.coordinateSystem:null;return i}var GX=zX;function HX(t){t.registerComponentModel(EX),t.registerComponentView(FX),t.registerCoordinateSystem(\"calendar\",GX)}function WX(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}function XX(t,e){var n;return s[\"k\"](e,(function(e){null!=t[e]&&\"auto\"!==t[e]&&(n=!0)})),n}function YX(t,e,n){var i=s[\"m\"]({},n),r=t[e],o=n.$action||\"merge\";\"merge\"===o?r?(s[\"I\"](r,i,!0),Gu(r,i,{ignoreSize:!0}),Wu(n,r),ZX(n,r),ZX(n,r,\"shape\"),ZX(n,r,\"style\"),ZX(n,r,\"extra\"),n.clipPath=r.clipPath):t[e]=i:\"replace\"===o?t[e]=i:\"remove\"===o&&r&&(t[e]=null)}var qX=[\"transition\",\"enterFrom\",\"leaveTo\"],UX=qX.concat([\"enterAnimation\",\"updateAnimation\",\"leaveAnimation\"]);function ZX(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?qX:UX,r=0;r=0;c--){u=n[c],h=xr(u.id,null),d=null!=h?r.get(h):null;if(d){p=d.parent,y=$X(p);var v=p===i?{width:o,height:a}:{width:y.width,height:y.height},m={},b=Nu(d,u,v,null,{hv:u.hv,boundingMode:u.bounding},m);if(!$X(d).isNew&&b){for(var x=u.transition,O={},w=0;w=0)?O[j]=S:d[j]=S}Gl(d,O,t,0)}else d.attr(m)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){iY(n,$X(n).option,e,t._lastGraphicModel)})),this._elMap=s[\"f\"]()},e.prototype.dispose=function(){this._clear()},e.type=\"graphic\",e}(Sf);function eY(t){var e=s[\"q\"](JX,t)?JX[t]:dy(t);var n=new e({});return $X(n).type=t,n}function nY(t,e,n,i){var r=eY(n);return e.add(r),i.set(t,r),$X(r).id=t,$X(r).isNew=!0,r}function iY(t,e,n,i){var r=t&&t.parent;r&&(\"group\"===t.type&&t.traverse((function(t){iY(t,e,n,i)})),fG(t,e,i),n.removeKey($X(t).id))}function rY(t,e,n,i){t.isGroup||s[\"k\"]([[\"cursor\",Lo.prototype.cursor],[\"zlevel\",i||0],[\"z\",n||0],[\"z2\",0]],(function(n){var i=n[0];s[\"q\"](e,i)?t[i]=s[\"P\"](e[i],n[1]):null==t[i]&&(t[i]=n[1])})),s[\"k\"](s[\"F\"](e),(function(n){if(0===n.indexOf(\"on\")){var i=e[n];t[n]=s[\"w\"](i)?i:null}})),s[\"q\"](e,\"draggable\")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}function oY(t){return t=s[\"m\"]({},t),s[\"k\"]([\"id\",\"parentId\",\"$action\",\"hv\",\"bounding\",\"textContent\",\"clipPath\"].concat(Pu),(function(e){delete t[e]})),t}function aY(t,e,n){var i=js(t).eventData;t.silent||t.ignore||i||(i=js(t).eventData={componentType:\"graphic\",componentIndex:e.componentIndex,name:t.name}),i&&(i.info=n.info)}function sY(t){t.registerComponentModel(QX),t.registerComponentView(tY),t.registerPreprocessor((function(t){var e=t.graphic;Object(s[\"t\"])(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))}var lY=[\"x\",\"y\",\"radius\",\"angle\",\"single\"],cY=[\"cartesian2d\",\"polar\",\"singleAxis\"];function uY(t){var e=t.get(\"coordinateSystem\");return Object(s[\"r\"])(cY,e)>=0}function hY(t){return t+\"Axis\"}function dY(t,e){var n,i=Object(s[\"f\"])(),r=[],o=Object(s[\"f\"])();t.eachComponent({mainType:\"dataZoom\",query:e},(function(t){o.get(t.uid)||l(t)}));do{n=!1,t.eachComponent(\"dataZoom\",a)}while(n);function a(t){!o.get(t.uid)&&c(t)&&(l(t),n=!0)}function l(t){o.set(t.uid,!0),r.push(t),u(t)}function c(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}function u(t){t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function pY(t){var e=t.ecModel,n={infoList:[],infoMap:Object(s[\"f\"])()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(hY(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var fY=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),gY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=[\"percent\",\"percent\"],n}return Object(o[\"c\"])(e,t),e.prototype.init=function(t,e,n){var i=yY(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=yY(t);Object(s[\"I\"])(this.option,t,!0),Object(s[\"I\"])(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;Object(s[\"k\"])([[\"start\",\"startValue\"],[\"end\",\"endValue\"]],(function(t,i){\"value\"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get(\"orient\",!0),e=this._targetAxisInfoMap=Object(s[\"f\"])(),n=this._fillSpecifiedTargetAxis(e);n?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||\"horizontal\",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return Object(s[\"k\"])(lY,(function(n){var i=this.getReferringComponents(hY(n),Pr);if(i.specified){e=!0;var r=new fY;Object(s[\"k\"])(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r=\"vertical\"===e?\"y\":\"x\",o=n.findComponents({mainType:r+\"Axis\"});a(o,r)}if(i){o=n.findComponents({mainType:\"singleAxis\",filter:function(t){return t.get(\"orient\",!0)===e}});a(o,\"single\")}function a(e,n){var r=e[0];if(r){var o=new fY;if(o.add(r.componentIndex),t.set(n,o),i=!1,\"x\"===n||\"y\"===n){var a=r.getReferringComponents(\"grid\",Dr).models[0];a&&Object(s[\"k\"])(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents(\"grid\",Dr).models[0]&&o.add(t.componentIndex)}))}}}i&&Object(s[\"k\"])(lY,(function(e){if(i){var r=n.findComponents({mainType:hY(e),filter:function(t){return\"category\"===t.get(\"type\",!0)}});if(r[0]){var o=new fY;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),\"y\"===t?\"vertical\":\"horizontal\"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty(\"throttle\")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get(\"rangeMode\");Object(s[\"k\"])([[\"start\",\"startValue\"],[\"end\",\"endValue\"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]=\"percent\":!o&&a?e[r]=\"value\":n?e[r]=n[r]:o&&(e[r]=\"percent\")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(hY(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){Object(s[\"k\"])(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(hY(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;Object(s[\"k\"])([[\"start\",\"startValue\"],[\"end\",\"endValue\"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;Object(s[\"k\"])([\"start\",\"startValue\",\"end\",\"endValue\"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;io[1];if(u&&!h&&!d)return!0;u&&(r=!0),h&&(e=!0),d&&(n=!0)}return r&&e&&n}))}else SY(i,(function(n){if(\"empty\"===r)t.setData(e=e.map(n,(function(t){return a(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));SY(i,(function(t){e.setApproximateExtent(o,t)}))}}))}function a(t){return t>=o[0]&&t<=o[1]}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;SY([\"min\",\"max\"],(function(i){var r=e.get(i+\"Span\"),o=e.get(i+\"ValueSpan\");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=Pi(n[0]+o,n,[0,100],!0):null!=r&&(o=Pi(r,[0,100],n,!0)-n[0]),t[i+\"Span\"]=r,t[i+\"ValueSpan\"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=Ni(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax(\"min\",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax(\"max\",+n[1].toFixed(i)),r.freeze()}},t}();function MY(t,e,n){var i=[1/0,-1/0];SY(n,(function(t){nA(i,t.getData(),e)}));var r=t.getAxisModel(),o=GM(r.axis.scale,r,i).calculate();return[o.min,o.max]}var AY=CY,kY={getTargetSeries:function(t){function e(e){t.eachComponent(\"dataZoom\",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(hY(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new AY(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=Object(s[\"f\"])();return Object(s[\"k\"])(n,(function(t){Object(s[\"k\"])(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent(\"dataZoom\",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent(\"dataZoom\",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}},IY=kY;function TY(t){t.registerAction(\"dataZoom\",(function(t,e){var n=dY(e,t);Object(s[\"k\"])(n,(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}var DY=!1;function PY(t){DY||(DY=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,IY),TY(t),t.registerSubTypeDefaulter(\"dataZoom\",(function(){return\"slider\"})))}function LY(t){t.registerComponentModel(bY),t.registerComponentView(jY),PY(t)}var RY=function(){function t(){}return t}(),EY={};function BY(t,e){EY[t]=e}function FY(t){return EY[t]}var NY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;s[\"k\"](this.option.feature,(function(t,n){var i=FY(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),s[\"I\"](t,i.defaultOption))}))},e.type=\"toolbox\",e.layoutMode={type:\"box\",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:\"horizontal\",left:\"right\",top:\"top\",backgroundColor:\"transparent\",borderColor:\"#ccc\",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:\"#666\",color:\"none\"},emphasis:{iconStyle:{borderColor:\"#3E98C5\"}},tooltip:{show:!1,position:\"bottom\"}},e}(Uu),zY=NY;function VY(t,e,n){var i=e.getBoxLayoutParams(),r=e.get(\"padding\"),o={width:n.getWidth(),height:n.getHeight()},a=Fu(i,o,r);Eu(e.get(\"orient\"),t,e.get(\"itemGap\"),a.width,a.height),Nu(t,i,o,r)}function GY(t,e){var n=ju(e.get(\"padding\")),i=e.getItemStyle([\"color\",\"opacity\"]);return i.fill=e.get(\"backgroundColor\"),t=new rs({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get(\"borderRadius\")},style:i,silent:!0,z2:-1}),t}var HY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get(\"show\")){var o=+t.get(\"itemSize\"),a=\"vertical\"===t.get(\"orient\"),l=t.get(\"feature\")||{},c=this._features||(this._features={}),u=[];s[\"k\"](l,(function(t,e){u.push(e)})),new uj(this._featureNames||[],u).add(h).update(h).remove(s[\"h\"](h,null)).execute(),this._featureNames=u,VY(r,t,n),r.add(GY(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState(\"emphasis\"),a=i.textConfig||(i.textConfig={}),l=t.getTextContent(),c=l&&l.ensureState(\"emphasis\");if(c&&!s[\"w\"](c)&&e){var u=c.style||(c.style={}),h=ei(e,ws.makeFont(u)),d=t.x+r.x,p=t.y+r.y+o,f=!1;p+h.height>n.getHeight()&&(a.position=\"top\",f=!0);var g=f?-5-h.height:o+10;d+h.width/2>n.getWidth()?(a.position=[\"100%\",g],u.align=\"right\"):d-h.width/2<0&&(a.position=[0,g],u.align=\"left\")}}))}function h(r,o){var a,s=u[r],h=u[o],p=l[s],f=new _c(p,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===s&&(p.title=i.newTitle),s&&!h){if(WY(s))a={onclick:f.option.onclick,featureName:s};else{var g=FY(s);if(!g)return;a=new g}c[s]=a}else if(a=c[h],!a)return;a.uid=Mc(\"toolbox-feature\"),a.model=f,a.ecModel=e,a.api=n;var y=a instanceof RY;s||!h?!f.get(\"show\")||y&&a.unusable?y&&a.remove&&a.remove(e,n):(d(f,a,s),f.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&(\"emphasis\"===e?ll:cl)(i[t])},a instanceof RY&&a.render&&a.render(f,e,n,i)):y&&a.dispose&&a.dispose(e,n)}function d(i,l,c){var u,h,d=i.getModel(\"iconStyle\"),p=i.getModel([\"emphasis\",\"iconStyle\"]),f=l instanceof RY&&l.getIcons?l.getIcons():i.get(\"icon\"),g=i.get(\"title\")||{};s[\"C\"](f)?(u={},u[c]=f):u=f,s[\"C\"](g)?(h={},h[c]=g):h=g;var y=i.iconPaths={};s[\"k\"](u,(function(c,u){var f=ky(c,{},{x:-o/2,y:-o/2,width:o,height:o});f.setStyle(d.getItemStyle());var g=f.ensureState(\"emphasis\");g.style=p.getItemStyle();var v=new ws({style:{text:h[u],align:p.get(\"textAlign\"),borderRadius:p.get(\"textBorderRadius\"),padding:p.get(\"textPadding\"),fill:null},ignore:!0});f.setTextContent(v),Ly({el:f,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),f.__title=h[u],f.on(\"mouseover\",(function(){var e=p.getItemStyle(),i=a?null==t.get(\"right\")&&\"right\"!==t.get(\"left\")?\"right\":\"left\":null==t.get(\"bottom\")&&\"bottom\"!==t.get(\"top\")?\"bottom\":\"top\";v.setStyle({fill:p.get(\"textFill\")||e.fill||e.stroke||\"#000\",backgroundColor:p.get(\"textBackgroundColor\")}),f.setTextConfig({position:p.get(\"textPosition\")||i}),v.ignore=!t.get(\"showTitle\"),n.enterEmphasis(this)})).on(\"mouseout\",(function(){\"emphasis\"!==i.get([\"iconStatus\",u])&&n.leaveEmphasis(this),v.hide()})),(\"emphasis\"===i.get([\"iconStatus\",u])?ll:cl)(f),r.add(f),f.on(\"click\",s[\"c\"](l.onclick,l,e,n,u)),y[u]=f}))}},e.prototype.updateView=function(t,e,n,i){s[\"k\"](this._features,(function(t){t instanceof RY&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){s[\"k\"](this._features,(function(n){n instanceof RY&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){s[\"k\"](this._features,(function(n){n instanceof RY&&n.dispose&&n.dispose(t,e)}))},e.type=\"toolbox\",e}(Sf);function WY(t){return 0===t.indexOf(\"my\")}var XY=HY,YY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get(\"name\")||t.get(\"title.0.text\")||\"echarts\",r=\"svg\"===e.getZr().painter.getType(),o=r?\"svg\":n.get(\"type\",!0)||\"png\",l=e.getConnectedDataURL({type:o,backgroundColor:n.get(\"backgroundColor\",!0)||t.get(\"backgroundColor\")||\"#fff\",connectedBackgroundColor:n.get(\"connectedBackgroundColor\"),excludeComponents:n.get(\"excludeComponents\"),pixelRatio:n.get(\"pixelRatio\")}),c=a[\"a\"].browser;if(Object(s[\"w\"])(MouseEvent)&&(c.newEdge||!c.ie&&!c.edge)){var u=document.createElement(\"a\");u.download=i+\".\"+o,u.target=\"_blank\",u.href=l;var h=new MouseEvent(\"click\",{view:document.defaultView,bubbles:!0,cancelable:!1});u.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||r){var d=l.split(\",\"),p=d[0].indexOf(\"base64\")>-1,f=r?decodeURIComponent(d[1]):d[1];p&&(f=window.atob(f));var g=i+\".\"+o;if(window.navigator.msSaveOrOpenBlob){var y=f.length,v=new Uint8Array(y);while(y--)v[y]=f.charCodeAt(y);var m=new Blob([v]);window.navigator.msSaveOrOpenBlob(m,g)}else{var b=document.createElement(\"iframe\");document.body.appendChild(b);var x=b.contentWindow,O=x.document;O.open(\"image/svg+xml\",\"replace\"),O.write(f),O.close(),x.focus(),O.execCommand(\"SaveAs\",!0,g),document.body.removeChild(b)}}else{var w=n.get(\"lang\"),j='',S=window.open();S.document.write(j),S.document.title=i}},e.getDefaultOption=function(t){var e={show:!0,icon:\"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0\",title:t.getLocaleModel().get([\"toolbox\",\"saveAsImage\",\"title\"]),type:\"png\",connectedBackgroundColor:\"#fff\",name:\"\",excludeComponents:[\"toolbox\"],lang:t.getLocaleModel().get([\"toolbox\",\"saveAsImage\",\"lang\"])};return e},e}(RY),qY=YY,UY=\"__ec_magicType_stack__\",ZY=[[\"line\",\"bar\"],[\"stack\"]],KY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get(\"icon\"),n={};return s[\"k\"](t.get(\"type\"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){var e={show:!0,type:[],icon:{line:\"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4\",bar:\"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7\",stack:\"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z\"},title:t.getLocaleModel().get([\"toolbox\",\"magicType\",\"title\"]),option:{},seriesIndex:{}};return e},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get([\"seriesIndex\",n]);if(QY[n]){var o,a={series:[]},l=function(t){var e=t.subType,r=t.id,o=QY[n](e,r,t,i);o&&(s[\"i\"](o,t.option),a.series.push(o));var l=t.coordinateSystem;if(l&&\"cartesian2d\"===l.type&&(\"line\"===n||\"bar\"===n)){var c=l.getAxesByScale(\"ordinal\")[0];if(c){var u=c.dim,h=u+\"Axis\",d=t.getReferringComponents(h,Dr).models[0],p=d.componentIndex;a[h]=a[h]||[];for(var f=0;f<=p;f++)a[h][p]=a[h][p]||{};a[h][p].boundaryGap=\"bar\"===n}}};s[\"k\"](ZY,(function(t){s[\"r\"](t,n)>=0&&s[\"k\"](t,(function(t){i.setIconStatus(t,\"normal\")}))})),i.setIconStatus(n,\"emphasis\"),t.eachComponent({mainType:\"series\",query:null==r?null:{seriesIndex:r}},l);var c=n;\"stack\"===n&&(o=s[\"I\"]({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),\"emphasis\"!==i.get([\"iconStatus\",n])&&(c=\"tiled\")),e.dispatchAction({type:\"changeMagicType\",currentType:c,newOption:a,newTitle:o,featureName:\"magicType\"})}},e}(RY),QY={line:function(t,e,n,i){if(\"bar\"===t)return s[\"I\"]({id:e,type:\"line\",data:n.get(\"data\"),stack:n.get(\"stack\"),markPoint:n.get(\"markPoint\"),markLine:n.get(\"markLine\")},i.get([\"option\",\"line\"])||{},!0)},bar:function(t,e,n,i){if(\"line\"===t)return s[\"I\"]({id:e,type:\"bar\",data:n.get(\"data\"),stack:n.get(\"stack\"),markPoint:n.get(\"markPoint\"),markLine:n.get(\"markLine\")},i.get([\"option\",\"bar\"])||{},!0)},stack:function(t,e,n,i){var r=n.get(\"stack\")===UY;if(\"line\"===t||\"bar\"===t)return i.setIconStatus(\"stack\",r?\"normal\":\"emphasis\"),s[\"I\"]({id:e,stack:r?\"\":UY},i.get([\"option\",\"stack\"])||{},!0)}};wx({type:\"changeMagicType\",event:\"magicTypeChanged\",update:\"prepareAndUpdate\"},(function(t,e){e.mergeOption(t.newOption)}));var JY=KY,$Y=new Array(60).join(\"-\"),tq=\"\\t\";function eq(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||\"cartesian2d\"!==r.type&&\"polar\"!==r.type)n.push(t);else{var o=r.getBaseAxis();if(\"category\"===o.type){var a=o.dim+\"_\"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}function nq(t){var e=[];return s[\"k\"](t,(function(t,n){var i=t.categoryAxis,r=t.valueAxis,o=r.dim,a=[\" \"].concat(s[\"H\"](t.series,(function(t){return t.name}))),l=[i.model.getCategories()];s[\"k\"](t.series,(function(t){var e=t.getRawData();l.push(t.getRawData().mapArray(e.mapDimension(o),(function(t){return t})))}));for(var c=[a.join(tq)],u=0;u=0)return!0}var sq=new RegExp(\"[\"+tq+\"]+\",\"g\");function lq(t){for(var e=t.split(/\\n+/g),n=oq(e.shift()).split(sq),i=[],r=s[\"H\"](n,(function(t){return{name:t,data:[]}})),o=0;o=0;r--){var o=n[r];if(o[i])break}if(r<0){var a=t.queryComponents({mainType:\"dataZoom\",subType:\"select\",id:i})[0];if(a){var s=a.getPercentRange();n[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}})),n.push(e)}function vq(t){var e=xq(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return fq(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n],t){i[n]=t;break}})),i}function mq(t){gq(t).snapshots=null}function bq(t){return xq(t).length}function xq(t){var e=gq(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var Oq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.onclick=function(t,e){mq(t),e.dispatchAction({type:\"restore\",from:this.uid})},e.getDefaultOption=function(t){var e={show:!0,icon:\"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5\",title:t.getLocaleModel().get([\"toolbox\",\"restore\",\"title\"])};return e},e}(RY);wx({type:\"restore\",event:\"restore\",update:\"prepareAndUpdate\"},(function(t,e){e.resetOption(\"recreate\")}));var wq=Oq,jq=[\"grid\",\"xAxis\",\"yAxis\",\"geo\",\"graph\",\"polar\",\"radiusAxis\",\"angleAxis\",\"bmap\"],Sq=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=Cq(e,t);Object(s[\"k\"])(Mq,(function(t,e){(!n||!n.include||Object(s[\"r\"])(n.include,e)>=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=Iq[t.brushType](0,n,e);t.__rangeOffset={offset:Dq[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){Object(s[\"k\"])(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&Object(s[\"k\"])(i.coordSyses,(function(i){var r=Iq[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){Object(s[\"k\"])(t,(function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i=Iq[t.brushType](0,n.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?Dq[t.brushType](i.values,r.offset,Lq(i.xyMinMax,r.xyMinMax)):i.values}}),this)},t.prototype.makePanelOpts=function(t,e){return Object(s[\"H\"])(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:uF(i),isTargetByCursor:dF(i,t,n.coordSysModel),getLinearBrushOtherExtent:hF(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&Object(s[\"r\"])(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=Cq(e,t),r=0;rt[1]&&t.reverse(),t}function Cq(t,e){return Ir(t,e,{includeMainTypes:jq})}var Mq={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=Object(s[\"f\"])(),a={},l={};(n||i||r)&&(Object(s[\"k\"])(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),Object(s[\"k\"])(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),l[e.id]=!0})),Object(s[\"k\"])(r,(function(t){o.set(t.id,t),a[t.id]=!0,l[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];Object(s[\"k\"])(r.getCartesians(),(function(t,e){(Object(s[\"r\"])(n,t.getAxis(\"x\").model)>=0||Object(s[\"r\"])(i,t.getAxis(\"y\").model)>=0)&&o.push(t)})),e.push({panelId:\"grid--\"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:kq.grid,xAxisDeclared:a[t.id],yAxisDeclared:l[t.id]})})))},geo:function(t,e){Object(s[\"k\"])(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:\"geo--\"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:kq.geo})}))}},Aq=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],kq={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Oy(t)),e}},Iq={lineX:Object(s[\"h\"])(Tq,0),lineY:Object(s[\"h\"])(Tq,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[_q([r[0],o[0]]),_q([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]],o=Object(s[\"H\"])(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o}));return{values:o,xyMinMax:r}}};function Tq(t,e,n,i){var r=n.getAxis([\"x\",\"y\"][t]),o=_q(Object(s[\"H\"])([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var Dq={lineX:Object(s[\"h\"])(Pq,0),lineY:Object(s[\"h\"])(Pq,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return Object(s[\"H\"])(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function Pq(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function Lq(t,e){var n=Rq(t),i=Rq(e),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function Rq(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var Eq=Sq,Bq=s[\"k\"],Fq=jr(\"toolbox-dataZoom_\"),Nq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new cF(n.getZr()),this._brushController.on(\"brush\",s[\"c\"](this._onBrush,this)).mount()),Hq(t,e,this,i,n),Gq(t,e)},e.prototype.onclick=function(t,e,n){zq[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]);var r=new Eq(Vq(this.model),i,{include:[\"grid\"]});r.matchOutputRanges(e,i,(function(t,e,n){if(\"cartesian2d\"===n.type){var i=t.brushType;\"rect\"===i?(o(\"x\",n,e[0]),o(\"y\",n,e[1])):o({lineX:\"x\",lineY:\"y\"}[i],n,e)}})),yq(i,n),this._dispatchZoomAction(n)}function o(t,e,r){var o=e.getAxis(t),s=o.model,l=a(t,s,i),c=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(r=UE(0,r.slice(),o.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:r[0],endValue:r[1]})}function a(t,e,n){var i;return n.eachComponent({mainType:\"dataZoom\",subType:\"select\"},(function(n){var r=n.getAxisModel(t,e.componentIndex);r&&(i=n)})),i}},e.prototype._dispatchZoomAction=function(t){var e=[];Bq(t,(function(t,n){e.push(s[\"d\"](t))})),e.length&&this.api.dispatchAction({type:\"dataZoom\",from:this.uid,batch:e})},e.getDefaultOption=function(t){var e={show:!0,filterMode:\"filter\",icon:{zoom:\"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1\",back:\"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26\"},title:t.getLocaleModel().get([\"toolbox\",\"dataZoom\",\"title\"]),brushStyle:{borderWidth:0,color:\"rgba(210,219,238,0.2)\"}};return e},e}(RY),zq={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:\"takeGlobalCursor\",key:\"dataZoomSelect\",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(vq(this.ecModel))}};function Vq(t){var e={xAxisIndex:t.get(\"xAxisIndex\",!0),yAxisIndex:t.get(\"yAxisIndex\",!0),xAxisId:t.get(\"xAxisId\",!0),yAxisId:t.get(\"yAxisId\",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex=\"all\"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex=\"all\"),e}function Gq(t,e){t.setIconStatus(\"back\",bq(e)>1?\"emphasis\":\"normal\")}function Hq(t,e,n,i,r){var o=n._isZoomActive;i&&\"takeGlobalCursor\"===i.type&&(o=\"dataZoomSelect\"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus(\"zoom\",o?\"emphasis\":\"normal\");var a=new Eq(Vq(t),e,{include:[\"grid\"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?\"lineX\":!t.xAxisDeclared&&t.yAxisDeclared?\"lineY\":\"rect\"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:\"auto\",brushStyle:t.getModel(\"brushStyle\").getItemStyle()})}vh(\"dataZoom\",(function(t){var e=t.getComponent(\"toolbox\",0),n=[\"feature\",\"dataZoom\"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=Vq(i),a=Ir(t,o);return Bq(a.xAxisModels,(function(t){return s(t,\"xAxis\",\"xAxisIndex\")})),Bq(a.yAxisModels,(function(t){return s(t,\"yAxis\",\"yAxisIndex\")})),r}function s(t,e,n){var o=t.componentIndex,a={type:\"select\",$fromToolbox:!0,filterMode:i.get(\"filterMode\",!0)||\"filter\",id:Fq+e+o};a[n]=o,r.push(a)}}));var Wq=Nq;function Xq(t){t.registerComponentModel(zY),t.registerComponentView(XY),BY(\"saveAsImage\",qY),BY(\"magicType\",JY),BY(\"dataView\",pq),BY(\"dataZoom\",Wq),BY(\"restore\",wq),Px(LY)}var Yq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.type=\"tooltip\",e.dependencies=[\"axisPointer\"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:\"item\",triggerOn:\"mousemove|click\",alwaysShowContent:!1,displayMode:\"single\",renderMode:\"auto\",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:\"#fff\",shadowBlur:10,shadowColor:\"rgba(0, 0, 0, .2)\",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:\"\",axisPointer:{type:\"line\",axis:\"auto\",animation:\"auto\",animationDurationUpdate:200,animationEasingUpdate:\"exponentialOut\",crossStyle:{color:\"#999\",width:1,type:\"dashed\",textStyle:{}}},textStyle:{color:\"#666\",fontSize:14}},e}(Uu),qq=Yq;function Uq(t){var e=t.get(\"confine\");return null!=e?!!e:\"richText\"===t.get(\"renderMode\")}function Zq(t){if(a[\"a\"].domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n-1?(c+=\"top:50%\",u+=\"translateY(-50%) rotate(\"+(o=\"left\"===a?-225:-45)+\"deg)\"):(c+=\"left:50%\",u+=\"translateX(-50%) rotate(\"+(o=\"top\"===a?225:45)+\"deg)\");var h=o*Math.PI/180,d=l+r,p=d*Math.abs(Math.cos(h))+d*Math.abs(Math.sin(h)),f=Math.round(100*((p-Math.SQRT2*r)/2+Math.SQRT2*r-(p-d)/2))/100;c+=\";\"+a+\":-\"+f+\"px\";var g=e+\" solid \"+r+\"px;\",y=[\"position:absolute;width:\"+l+\"px;height:\"+l+\"px;z-index:-1;\",c+\";\"+u+\";\",\"border-bottom:\"+g,\"border-right:\"+g,\"background-color:\"+i+\";\"];return'
    '}function oU(t,e){var n=\"cubic-bezier(0.23,1,0.32,1)\",i=\" \"+t/2+\"s \"+n,r=\"opacity\"+i+\",visibility\"+i;return e||(i=\" \"+t+\"s \"+n,r+=a[\"a\"].transformSupported?\",\"+eU+i:\",left\"+i+\",top\"+i),tU+\":\"+r}function aU(t,e,n){var i=t.toFixed(0)+\"px\",r=e.toFixed(0)+\"px\";if(!a[\"a\"].transformSupported)return n?\"top:\"+r+\";left:\"+i+\";\":[[\"top\",r],[\"left\",i]];var o=a[\"a\"].transform3dSupported,s=\"translate\"+(o?\"3d\":\"\")+\"(\"+i+\",\"+r+(o?\",0\":\"\")+\")\";return n?\"top:0;left:0;\"+eU+\":\"+s+\";\":[[\"top\",0],[\"left\",0],[Kq,s]]}function sU(t){var e=[],n=t.get(\"fontSize\"),i=t.getTextColor();i&&e.push(\"color:\"+i),e.push(\"font:\"+t.getFont()),n&&e.push(\"line-height:\"+Math.round(3*n/2)+\"px\");var r=t.get(\"textShadowColor\"),o=t.get(\"textShadowBlur\")||0,a=t.get(\"textShadowOffsetX\")||0,l=t.get(\"textShadowOffsetY\")||0;return r&&o&&e.push(\"text-shadow:\"+a+\"px \"+l+\"px \"+o+\"px \"+r),Object(s[\"k\"])([\"decoration\",\"align\"],(function(n){var i=t.get(n);i&&e.push(\"text-\"+n+\":\"+i)})),e.join(\";\")}function lU(t,e,n){var i=[],r=t.get(\"transitionDuration\"),o=t.get(\"backgroundColor\"),a=t.get(\"shadowBlur\"),l=t.get(\"shadowColor\"),c=t.get(\"shadowOffsetX\"),u=t.get(\"shadowOffsetY\"),h=t.getModel(\"textStyle\"),d=af(t,\"html\"),p=c+\"px \"+u+\"px \"+a+\"px \"+l;return i.push(\"box-shadow:\"+p),e&&r&&i.push(oU(r,n)),o&&i.push(\"background-color:\"+o),Object(s[\"k\"])([\"width\",\"color\",\"radius\"],(function(e){var n=\"border-\"+e,r=wu(n),o=t.get(r);null!=o&&i.push(n+\":\"+o+(\"color\"===e?\"\":\"px\"))})),i.push(sU(h)),null!=d&&i.push(\"padding:\"+ju(d).join(\"px \")+\"px\"),i.join(\";\")+\";\"}function cU(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&B(t,a,document.body,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var uU=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,a[\"a\"].wxa)return null;var i=document.createElement(\"div\");i.domBelongToZr=!0,this.el=i;var r=this._zr=e.getZr(),o=this._appendToBody=n&&n.appendToBody;cU(this._styleCoord,r,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(i):t.appendChild(i),this._container=t;var s=this;i.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!s._enterable){var e=r.handler,n=r.painter.getViewportRoot();Q(n,t,!0),e.dispatch(\"mousemove\",t)}},i.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return t.prototype.update=function(t){var e=this._container,n=$q(e,\"position\"),i=e.style;\"absolute\"!==i.position&&\"absolute\"!==n&&(i.position=\"relative\");var r=t.get(\"alwaysShowContent\");r&&this._moveIfResized(),this.el.className=t.get(\"className\")||\"\"},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=nU+lU(t,!this._firstShow,this._longHide)+aU(r[0],r[1],!0)+\"border-color:\"+Iu(e)+\";\"+(t.get(\"extraCssText\")||\"\")+\";pointer-events:\"+(this._enterable?\"auto\":\"none\"):i.display=\"none\",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a=\"\";if(Object(s[\"C\"])(r)&&\"item\"===n.get(\"trigger\")&&!Uq(n)&&(a=rU(n,i,r)),Object(s[\"C\"])(t))o.innerHTML=t+a;else if(t){o.innerHTML=\"\",Object(s[\"t\"])(t)||(t=[t]);for(var l=0;l=0?this._tryShow(n,i):\"leave\"===t&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get(\"triggerOn\");if(null!=this._lastX&&null!=this._lastY&&\"none\"!==i&&\"click\"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!a[\"a\"].node&&n.getDom()){var r=xU(i,n);this._ticket=\"\";var o=i.dataByCoordSys,s=_U(i,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:\"bottom\"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var c=vU;c.x=i.x,c.y=i.y,c.update(),js(c).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:c},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var u=eW(i,e),h=u.point[0],d=u.point[1];null!=h&&null!=d&&this._tryShow({offsetX:h,offsetY:d,target:u.el,position:i.position,positionDefault:\"bottom\"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:\"updateAxisPointer\",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get(\"hideDelay\")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(xU(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent(\"axisPointer\").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s){var l=s.getData(),c=bU([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if(\"axis\"===c.get(\"trigger\"))return n.dispatchAction({type:\"updateAxisPointer\",seriesIndex:r,dataIndex:o,position:i.position}),!0}}},e.prototype._tryShow=function(t,e){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,t);else if(n){var o,a;this._lastDataByCoordSys=null,Wv(n,(function(t){return null!=js(t).dataIndex?(o=t,!0):null!=js(t).tooltipConfig?(a=t,!0):void 0}),!0),o?this._showSeriesItemTooltip(t,o,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get(\"showDelay\");e=Object(s[\"c\"])(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=bU([e.tooltipOption],i),a=this._renderMode,l=[],c=Xp(\"section\",{blocks:[],noHeader:!0}),u=[],h=new sf;Object(s[\"k\"])(t,(function(t){Object(s[\"k\"])(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+\"Axis\",t.axisIndex),r=t.value;if(e&&null!=r){var o=TH(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=Xp(\"section\",{header:o,noHeader:!Object(s[\"T\"])(o),sortBlocks:!0,blocks:[]});c.blocks.push(d),Object(s[\"k\"])(t.seriesDataIndices,(function(c){var p=n.getSeriesByIndex(c.seriesIndex),f=c.dataIndexInside,g=p.getDataParams(f);if(!(g.dataIndex<0)){g.axisDim=t.axisDim,g.axisIndex=t.axisIndex,g.axisType=t.axisType,g.axisId=t.axisId,g.axisValue=KM(e.axis,{value:r}),g.axisValueLabel=o,g.marker=h.makeTooltipMarker(\"item\",Iu(g.color),a);var y=ep(p.formatTooltip(f,!0,null)),v=y.frag;if(v){var m=bU([p],i).get(\"valueFormatter\");d.blocks.push(m?Object(s[\"m\"])({valueFormatter:m},v):v)}y.text&&u.push(y.text),l.push(g)}}))}}))})),c.blocks.reverse(),u.reverse();var d=e.position,p=o.get(\"order\"),f=Qp(c,h,a,p,n.get(\"useUTC\"),o.get(\"textStyle\"));f&&u.unshift(f);var g=\"richText\"===a?\"\\n\\n\":\"
    \",y=u.join(g);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,d,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(o,y,l,Math.random()+\"\",r[0],r[1],d,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=js(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),l=r.dataModel||a,c=r.dataIndex,u=r.dataType,h=l.getData(u),d=this._renderMode,p=t.positionDefault,f=bU([h.getItemModel(c),l,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=f.get(\"trigger\");if(null==g||\"item\"===g){var y=l.getDataParams(c,u),v=new sf;y.marker=v.makeTooltipMarker(\"item\",Iu(y.color),d);var m=ep(l.formatTooltip(c,!1,u)),b=f.get(\"order\"),x=f.get(\"valueFormatter\"),O=m.frag,w=O?Qp(x?Object(s[\"m\"])({valueFormatter:x},O):O,v,d,b,i.get(\"useUTC\"),f.get(\"textStyle\")):m.text,j=\"item_\"+l.name+\"_\"+c;this._showOrMove(f,(function(){this._showTooltipContent(f,w,y,j,t.offsetX,t.offsetY,t.position,t.target,v)})),n({type:\"showTip\",dataIndexInside:c,dataIndex:h.getRawIndex(c),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=js(e),r=i.tooltipConfig,o=r.option||{};if(Object(s[\"C\"])(o)){var a=o;o={content:a,formatter:a}}var l=[o],c=this._ecModel.getComponent(i.componentMainType,i.componentIndex);c&&l.push(c),l.push({formatter:o.content});var u=t.positionDefault,h=bU(l,this._tooltipModel,u?{position:u}:null),d=h.get(\"content\"),p=Math.random()+\"\",f=new sf;this._showOrMove(h,(function(){var n=Object(s[\"d\"])(h.get(\"formatterParams\")||{});this._showTooltipContent(h,d,n,p,t.offsetX,t.offsetY,t.position,e,f)})),n({type:\"showTip\",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,l,c){if(this._ticket=\"\",t.get(\"showContent\")&&t.get(\"show\")){var u=this._tooltipContent;u.setEnterable(t.get(\"enterable\"));var h=t.get(\"formatter\");a=a||t.get(\"position\");var d=e,p=this._getNearestPoint([r,o],n,t.get(\"trigger\"),t.get(\"borderColor\")),f=p.color;if(h)if(Object(s[\"C\"])(h)){var g=t.ecModel.get(\"useUTC\"),y=Object(s[\"t\"])(n)?n[0]:n,v=y&&y.axisType&&y.axisType.indexOf(\"time\")>=0;d=h,v&&(d=iu(y.axisValue,d,g)),d=Mu(d,n,!0)}else if(Object(s[\"w\"])(h)){var m=Object(s[\"c\"])((function(e,i){e===this._ticket&&(u.setContent(i,c,t,f,a),this._updatePosition(t,a,r,o,u,n,l))}),this);this._ticket=i,d=h(n,i,m)}else d=h;u.setContent(d,c,t,f,a),u.show(t,f),this._updatePosition(t,a,r,o,u,n,l)}},e.prototype._getNearestPoint=function(t,e,n,i){return\"axis\"===n||Object(s[\"t\"])(e)?{color:i||(\"html\"===this._renderMode?\"#fff\":\"none\")}:Object(s[\"t\"])(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var l=this._api.getWidth(),c=this._api.getHeight();e=e||t.get(\"position\");var u=r.getSize(),h=t.get(\"align\"),d=t.get(\"verticalAlign\"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),Object(s[\"w\"])(e)&&(e=e([n,i],o,r.el,p,{viewSize:[l,c],contentSize:u.slice()})),Object(s[\"t\"])(e))n=Li(e[0],l),i=Li(e[1],c);else if(Object(s[\"A\"])(e)){var f=e;f.width=u[0],f.height=u[1];var g=Fu(f,{width:l,height:c});n=g.x,i=g.y,h=null,d=null}else if(Object(s[\"C\"])(e)&&a){var y=jU(e,p,u,t.get(\"borderWidth\"));n=y[0],i=y[1]}else{y=OU(n,i,r,l,c,h?null:20,d?null:20);n=y[0],i=y[1]}if(h&&(n-=SU(h)?u[0]/2:\"right\"===h?u[0]:0),d&&(i-=SU(d)?u[1]/2:\"bottom\"===d?u[1]:0),Uq(t)){y=wU(n,i,r,l,c);n=y[0],i=y[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&Object(s[\"k\"])(n,(function(n,o){var a=n.dataByAxis||[],l=t[o]||{},c=l.dataByAxis||[];r=r&&a.length===c.length,r&&Object(s[\"k\"])(a,(function(t,n){var o=c[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length,r&&Object(s[\"k\"])(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&Object(s[\"k\"])(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:\"hideTip\",from:this.uid})},e.prototype.dispose=function(t,e){!a[\"a\"].node&&e.getDom()&&(Qy(this,\"_updatePosition\"),this._tooltipContent.dispose(),JH(\"itemTooltip\",e))},e.type=\"tooltip\",e}(Sf);function bU(t,e,n){var i,r=e.ecModel;n?(i=new _c(n,r,r),i=new _c(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof _c&&(a=a.get(\"tooltip\",!0)),Object(s[\"C\"])(a)&&(a={formatter:a}),a&&(i=new _c(a,i,r)))}return i}function xU(t,e){return t.dispatchAction||Object(s[\"c\"])(e.dispatchAction,e)}function OU(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],c=s[1];return null!=o&&(t+l+o+2>i?t-=l+o:t+=o),null!=a&&(e+c+a>r?e-=c+a:e+=a),[t,e]}function wU(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function jU(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,c=e.width,u=e.height;switch(t){case\"inside\":s=e.x+c/2-r/2,l=e.y+u/2-o/2;break;case\"top\":s=e.x+c/2-r/2,l=e.y-o-a;break;case\"bottom\":s=e.x+c/2-r/2,l=e.y+u+a;break;case\"left\":s=e.x-r-a,l=e.y+u/2-o/2;break;case\"right\":s=e.x+c+a,l=e.y+u/2-o/2}return[s,l]}function SU(t){return\"center\"===t||\"middle\"===t}function _U(t,e,n){var i=Tr(t).queryOptionMap,r=i.keys()[0];if(r&&\"series\"!==r){var o=Lr(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(e){var n=js(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:r,componentIndex:a.componentIndex,el:s}:void 0}}}var CU=mU;function MU(t){Px(fW),t.registerComponentModel(qq),t.registerComponentView(CU),t.registerAction({type:\"showTip\",event:\"showTip\",update:\"tooltip:manuallyShowTip\"},s[\"L\"]),t.registerAction({type:\"hideTip\",event:\"hideTip\",update:\"tooltip:manuallyHideTip\"},s[\"L\"])}var AU=[\"rect\",\"polygon\",\"keep\",\"clear\"];function kU(t,e){var n=ar(t?t.brush:[]);if(n.length){var i=[];s[\"k\"](n,(function(t){var e=t.hasOwnProperty(\"toolbox\")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;s[\"t\"](r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),l=a.type||(a.type=[]);l.push.apply(l,i),IU(l),e&&!l.length&&l.push.apply(l,AU)}}function IU(t){var e={};s[\"k\"](t,(function(t){e[t]=1})),t.length=0,s[\"k\"](e,(function(e,n){t.push(n)}))}var TU=s[\"k\"];function DU(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function PU(t,e,n){var i={};return TU(e,(function(e){var o=i[e]=r();TU(t[e],(function(t,i){if(nL.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new nL(r),\"opacity\"===i&&(r=s[\"d\"](r),r.type=\"colorAlpha\",o.__hidden.__alphaForOpacity=new nL(r))}}))})),i;function r(){var t=function(){};t.prototype.__hidden=t.prototype;var e=new t;return e}}function LU(t,e,n){var i;s[\"k\"](n,(function(t){e.hasOwnProperty(t)&&DU(e[t])&&(i=!0)})),i&&s[\"k\"](n,(function(n){e.hasOwnProperty(n)&&DU(e[n])?t[n]=s[\"d\"](e[n]):delete t[n]}))}function RU(t,e,n,i,r,o){var a,l={};function c(t){return Fv(n,a,t)}function u(t,e){zv(n,a,t,e)}function h(t,s){a=null==o?t:s;var h=n.getRawDataItem(a);if(!h||!1!==h.visualMap)for(var d=i.call(r,t),p=e[d],f=l[d],g=0,y=f.length;ge[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&QU(e)}};function QU(t){return new Mt(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var JU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new cF(e.getZr())).on(\"brush\",s[\"c\"](this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){WU(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:\"brush\",brushId:e,areas:s[\"d\"](n),$from:e}),t.isEnd&&this.api.dispatchAction({type:\"brushEnd\",brushId:e,areas:s[\"d\"](n),$from:e})},e.type=\"brush\",e}(Sf),$U=JU,tZ=\"#ddd\",eZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return Object(o[\"c\"])(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&LU(n,t,[\"inBrush\",\"outOfBrush\"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:tZ},i.hasOwnProperty(\"liftZ\")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=s[\"H\"](t,(function(t){return nZ(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=nZ(this.option,t),this.brushType=this.brushOption.brushType},e.type=\"brush\",e.dependencies=[\"geo\",\"grid\",\"xAxis\",\"yAxis\",\"parallel\",\"series\"],e.defaultOption={seriesIndex:\"all\",brushType:\"rect\",brushMode:\"single\",transformable:!0,brushStyle:{borderWidth:1,color:\"rgba(210,219,238,0.3)\",borderColor:\"#D2DBEE\"},throttleType:\"fixRate\",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Uu);function nZ(t,e){return s[\"I\"]({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new _c(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var iZ=eZ,rZ=[\"rect\",\"polygon\",\"lineX\",\"lineY\",\"keep\",\"clear\"],oZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:\"brush\"},(function(t){i=t.brushType,r=t.brushOption.brushMode||\"single\",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,s[\"k\"](t.get(\"type\",!0),(function(e){t.setIconStatus(e,(\"keep\"===e?\"multiple\"===r:\"clear\"===e?o:e===i)?\"emphasis\":\"normal\")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get(\"icon\",!0),n={};return s[\"k\"](t.get(\"type\",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;\"clear\"===n?(e.dispatchAction({type:\"axisAreaSelect\",intervals:[]}),e.dispatchAction({type:\"brush\",command:\"clear\",areas:[]})):e.dispatchAction({type:\"takeGlobalCursor\",key:\"brush\",brushOption:{brushType:\"keep\"===n?i:i!==n&&n,brushMode:\"keep\"===n?\"multiple\"===r?\"single\":\"multiple\":r}})},e.getDefaultOption=function(t){var e={show:!0,type:rZ.slice(),icon:{rect:\"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13\",polygon:\"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2\",lineX:\"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4\",lineY:\"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4\",keep:\"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z\",clear:\"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2\"},title:t.getLocaleModel().get([\"toolbox\",\"brush\",\"title\"])};return e},e}(RY),aZ=oZ;function sZ(t){t.registerComponentView($U),t.registerComponentModel(iZ),t.registerPreprocessor(kU),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,XU),t.registerAction({type:\"brush\",event:\"brush\",update:\"updateVisual\"},(function(t,e){e.eachComponent({mainType:\"brush\",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:\"brushSelect\",event:\"brushSelected\",update:\"none\"},s[\"L\"]),t.registerAction({type:\"brushEnd\",event:\"brushEnd\",update:\"none\"},s[\"L\"]),BY(\"brush\",aZ)}var lZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:\"box\",ignoreSize:!0},n}return Object(o[\"c\"])(e,t),e.type=\"title\",e.defaultOption={z:6,show:!0,text:\"\",target:\"blank\",subtext:\"\",subtarget:\"blank\",left:0,top:0,backgroundColor:\"rgba(0,0,0,0)\",borderColor:\"#ccc\",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:\"bold\",color:\"#464646\"},subtextStyle:{fontSize:12,color:\"#6E7079\"}},e}(Uu),cZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get(\"show\")){var i=this.group,r=t.getModel(\"textStyle\"),o=t.getModel(\"subtextStyle\"),a=t.get(\"textAlign\"),l=s[\"P\"](t.get(\"textBaseline\"),t.get(\"textVerticalAlign\")),c=new ws({style:ec(r,{text:t.get(\"text\"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=c.getBoundingRect(),h=t.get(\"subtext\"),d=new ws({style:ec(o,{text:h,fill:o.getTextColor(),y:u.height+t.get(\"itemGap\"),verticalAlign:\"top\"},{disableBox:!0}),z2:10}),p=t.get(\"link\"),f=t.get(\"sublink\"),g=t.get(\"triggerEvent\",!0);c.silent=!p&&!g,d.silent=!f&&!g,p&&c.on(\"click\",(function(){Tu(p,\"_\"+t.get(\"target\"))})),f&&d.on(\"click\",(function(){Tu(f,\"_\"+t.get(\"subtarget\"))})),js(c).eventData=js(d).eventData=g?{componentType:\"title\",componentIndex:t.componentIndex}:null,i.add(c),h&&i.add(d);var y=i.getBoundingRect(),v=t.getBoxLayoutParams();v.width=y.width,v.height=y.height;var m=Fu(v,{width:n.getWidth(),height:n.getHeight()},t.get(\"padding\"));a||(a=t.get(\"left\")||t.get(\"right\"),\"middle\"===a&&(a=\"center\"),\"right\"===a?m.x+=m.width:\"center\"===a&&(m.x+=m.width/2)),l||(l=t.get(\"top\")||t.get(\"bottom\"),\"center\"===l&&(l=\"middle\"),\"bottom\"===l?m.y+=m.height:\"middle\"===l&&(m.y+=m.height/2),l=l||\"top\"),i.x=m.x,i.y=m.y,i.markRedraw();var b={align:a,verticalAlign:l};c.setStyle(b),d.setStyle(b),y=i.getBoundingRect();var x=m.margin,O=t.getItemStyle([\"color\",\"opacity\"]);O.fill=t.get(\"backgroundColor\");var w=new rs({shape:{x:y.x-x[3],y:y.y-x[0],width:y.width+x[1]+x[3],height:y.height+x[0]+x[2],r:t.get(\"borderRadius\")},style:O,subPixelOptimize:!0,silent:!0});i.add(w)}},e.type=\"title\",e}(Sf);function uZ(t){t.registerComponentModel(lZ),t.registerComponentView(cZ)}var hZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode=\"box\",n}return Object(o[\"c\"])(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];\"category\"===i?(t=[],Object(s[\"k\"])(n,(function(e,n){var i,o=xr(cr(e),\"\");Object(s[\"A\"])(e)?(i=Object(s[\"d\"])(e),i.value=n):i=n,t.push(i),r.push(o)}))):t=n;var o={category:\"ordinal\",time:\"time\",value:\"number\"}[i]||\"number\",a=this._data=new zj([{name:\"value\",type:o}],this);a.initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if(\"category\"===this.get(\"axisType\"))return this._names.slice()},e.type=\"timeline\",e.defaultOption={z:4,show:!0,axisType:\"time\",realtime:!0,left:\"20%\",top:null,right:\"20%\",bottom:0,width:null,height:40,padding:5,controlPosition:\"left\",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:\"#000\"},data:[]},e}(Uu),dZ=hZ,pZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.type=\"timeline.slider\",e.defaultOption=Ic(dZ.defaultOption,{backgroundColor:\"rgba(0,0,0,0)\",borderColor:\"#ccc\",borderWidth:0,orient:\"horizontal\",inverse:!1,tooltip:{trigger:\"item\"},symbol:\"circle\",symbolSize:12,lineStyle:{show:!0,width:2,color:\"#DAE1F5\"},label:{position:\"auto\",show:!0,interval:\"auto\",rotate:0,color:\"#A4B1D7\"},itemStyle:{color:\"#A4B1D7\",borderWidth:1},checkpointStyle:{symbol:\"circle\",symbolSize:15,color:\"#316bf3\",borderColor:\"#fff\",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:\"rgba(0, 0, 0, 0.3)\",animation:!0,animationDuration:300,animationEasing:\"quinticInOut\"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:\"left\",playIcon:\"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z\",stopIcon:\"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z\",nextIcon:\"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z\",prevIcon:\"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z\",prevBtnSize:18,nextBtnSize:18,color:\"#A4B1D7\",borderColor:\"#A4B1D7\",borderWidth:1},emphasis:{label:{show:!0,color:\"#6f778d\"},itemStyle:{color:\"#316BF3\"},controlStyle:{color:\"#316BF3\",borderColor:\"#316BF3\",borderWidth:2}},progress:{lineStyle:{color:\"#316BF3\"},itemStyle:{color:\"#316BF3\"},label:{color:\"#6f778d\"}},data:[]}),e}(dZ);Object(s[\"K\"])(pZ,tp.prototype);var fZ=pZ,gZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.type=\"timeline\",e}(Sf),yZ=gZ,vZ=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||\"value\",o}return Object(o[\"c\"])(e,t),e.prototype.getLabelModel=function(){return this.model.getModel(\"label\")},e.prototype.isHorizontal=function(){return\"horizontal\"===this.model.get(\"orient\")},e}(AA),mZ=vZ,bZ=Math.PI,xZ=Ar(),OZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get(\"show\",!0)){var i=this._layout(t,n),r=this._createGroup(\"_mainGroup\"),o=this._createGroup(\"_labelGroup\"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){var e=a.scale.getLabel({value:t});return Xp(\"nameValue\",{noName:!0,value:e})},Object(s[\"k\"])([\"AxisLine\",\"AxisTick\",\"Control\",\"CurrentPointer\"],(function(e){this[\"_render\"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i=t.get([\"label\",\"position\"]),r=t.get(\"orient\"),o=jZ(t,e);n=null==i||\"auto\"===i?\"horizontal\"===r?o.y+o.height/2=0||\"+\"===n?\"left\":\"right\"},h={horizontal:n>=0||\"+\"===n?\"top\":\"bottom\",vertical:\"middle\"},d={horizontal:0,vertical:bZ/2},p=\"vertical\"===r?o.height:o.width,f=t.getModel(\"controlStyle\"),g=f.get(\"show\",!0),y=g?f.get(\"itemSize\"):0,v=g?f.get(\"itemGap\"):0,m=y+v,b=t.get([\"label\",\"rotate\"])||0;b=b*bZ/180;var x=f.get(\"position\",!0),O=g&&f.get(\"showPlayBtn\",!0),w=g&&f.get(\"showPrevBtn\",!0),j=g&&f.get(\"showNextBtn\",!0),S=0,_=p;\"left\"===x||\"bottom\"===x?(O&&(a=[0,0],S+=m),w&&(l=[S,0],S+=m),j&&(c=[_-y,0],_-=m)):(O&&(a=[_-y,0],_-=m),w&&(l=[0,0],S+=m),j&&(c=[_-y,0],_-=m));var C=[S,_];return t.get(\"inverse\")&&C.reverse(),{viewRect:o,mainLength:p,orient:r,rotation:d[r],labelRotation:b,labelPosOpt:n,labelAlign:t.get([\"label\",\"align\"])||u[r],labelBaseline:t.get([\"label\",\"verticalAlign\"])||t.get([\"label\",\"baseline\"])||h[r],playPosition:a,prevBtnPosition:l,nextBtnPosition:c,axisExtent:C,controlSize:y,controlGap:v}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if(\"vertical\"===t.orient){var o=st(),a=r.x,l=r.y+r.height;ht(o,o,[-a,-l]),dt(o,o,-bZ/2),ht(o,o,[a,l]),r=r.clone(),r.applyTransform(o)}var c=v(r),u=v(n.getBoundingRect()),h=v(i.getBoundingRect()),d=[n.x,n.y],p=[i.x,i.y];p[0]=d[0]=c[0][0];var f=t.labelPosOpt;if(null==f||Object(s[\"C\"])(f)){var g=\"+\"===f?0:1;m(d,u,c,1,g),m(p,h,c,1,1-g)}else{g=f>=0?0:1;m(d,u,c,1,g),p[1]=d[1]+f}function y(t){t.originX=c[0][0]-t.x,t.originY=c[1][0]-t.y}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function m(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(d),i.setPosition(p),n.rotation=i.rotation=t.rotation,y(n),y(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get(\"axisType\"),r=wZ(e,i);r.getTicks=function(){return n.mapArray([\"value\"],(function(t){return{value:t}}))};var o=n.getDataExtent(\"value\");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new mZ(\"value\",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new wi;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get([\"lineStyle\",\"show\"])){var o=new Pg({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:Object(s[\"m\"])({lineCap:\"round\"},i.getModel(\"lineStyle\").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new Pg({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:Object(s[\"i\"])({lineCap:\"round\",lineWidth:o.style.lineWidth},i.getModel([\"progress\",\"lineStyle\"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],Object(s[\"k\"])(a,(function(t){var a=n.dataToCoord(t.value),l=o.getItemModel(t.value),c=l.getModel(\"itemStyle\"),u=l.getModel([\"emphasis\",\"itemStyle\"]),h=l.getModel([\"progress\",\"itemStyle\"]),d={x:a,y:0,onclick:Object(s[\"c\"])(r._changeTimeline,r,t.value)},p=_Z(l,c,e,d);p.ensureState(\"emphasis\").style=u.getItemStyle(),p.ensureState(\"progress\").style=h.getItemStyle(),_l(p);var f=js(p);l.get(\"tooltip\")?(f.dataIndex=t.value,f.dataModel=i):f.dataIndex=f.dataModel=null,r._tickSymbols.push(p)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this,o=n.getLabelModel();if(o.get(\"show\")){var a=i.getData(),l=n.getViewLabels();this._tickLabels=[],Object(s[\"k\"])(l,(function(i){var o=i.tickValue,l=a.getItemModel(o),c=l.getModel(\"label\"),u=l.getModel([\"emphasis\",\"label\"]),h=l.getModel([\"progress\",\"label\"]),d=n.dataToCoord(i.tickValue),p=new ws({x:d,y:0,rotation:t.labelRotation-t.rotation,onclick:Object(s[\"c\"])(r._changeTimeline,r,o),silent:!1,style:ec(c,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState(\"emphasis\").style=ec(u),p.ensureState(\"progress\").style=ec(h),e.add(p),_l(p),xZ(p).dataIndex=o,r._tickLabels.push(p)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel(\"controlStyle\").getItemStyle(),l=i.getModel([\"emphasis\",\"controlStyle\"]).getItemStyle(),c=i.getPlayState(),u=i.get(\"inverse\",!0);function h(t,n,c,u){if(t){var h=oi(Object(s[\"P\"])(i.get([\"controlStyle\",n+\"BtnSize\"]),r),r),d=[0,-h/2,h,h],p=SZ(i,n+\"Icon\",d,{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:c});p.ensureState(\"emphasis\").style=l,e.add(p),_l(p)}}h(t.nextBtnPosition,\"next\",Object(s[\"c\"])(this._changeTimeline,this,u?\"-\":\"+\")),h(t.prevBtnPosition,\"prev\",Object(s[\"c\"])(this._changeTimeline,this,u?\"+\":\"-\")),h(t.playPosition,c?\"stop\":\"play\",Object(s[\"c\"])(this._handlePlayClick,this,!c),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel(\"checkpointStyle\"),l=this,c={onCreate:function(t){t.draggable=!0,t.drift=Object(s[\"c\"])(l._handlePointerDrag,l),t.ondragend=Object(s[\"c\"])(l._handlePointerDragend,l),CZ(t,l._progressLine,o,n,i,!0)},onUpdate:function(t){CZ(t,l._progressLine,o,n,i)}};this._currentPointer=_Z(a,a,this._mainGroup,{},this._currentPointer,c)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:\"timelinePlayChange\",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,r=Ei(i.getExtent().slice());n>r[1]&&(n=r[1]),n=0&&(a[o]=+a[o].toFixed(d)),[a,h]}var WZ={min:Object(s[\"h\"])(HZ,\"min\"),max:Object(s[\"h\"])(HZ,\"max\"),average:Object(s[\"h\"])(HZ,\"average\"),median:Object(s[\"h\"])(HZ,\"median\")};function XZ(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i.dimensions;if(!GZ(e)&&!Object(s[\"t\"])(e.coord)&&i){var o=YZ(e,n,i,t);if(e=Object(s[\"d\"])(e),e.type&&WZ[e.type]&&o.baseAxis&&o.valueAxis){var a=Object(s[\"r\"])(r,o.baseAxis.dim),l=Object(s[\"r\"])(r,o.valueAxis.dim),c=WZ[e.type](n,o.baseDataDim,o.valueDataDim,a,l);e.coord=c[0],e.value=c[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null==e.coord)e.coord=[];else for(var u=e.coord,h=0;h<2;h++)WZ[u[h]]&&(u[h]=QZ(n,n.mapDimension(r[h]),u[h]));return e}}function YZ(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(qZ(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function qZ(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}function UZ(t,e){return!(t&&t.containData&&e.coord&&!VZ(e))||t.containData(e.coord)}function ZZ(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!VZ(e)&&!VZ(n))||t.containZone(e.coord,n.coord)}function KZ(t,e){return t?function(t,n,i,r){var o=r<2?t.coord&&t.coord[r]:t.value;return op(o,e[r])}:function(t,n,i,r){return op(t.value,e[r])}}function QZ(t,e,n){if(\"average\"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return\"median\"===n?t.getMedian(e):t.getDataExtent(e)[\"max\"===n?1:0]}var JZ=Ar(),$Z=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.init=function(){this.markerGroupMap=Object(s[\"f\"])()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){JZ(t).keep=!1})),e.eachSeries((function(t){var r=FZ.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!JZ(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){JZ(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;Object(s[\"k\"])(t,(function(t){var i=FZ.getMarkerModelFromSeries(t,n.type);if(i){var r=i.getData();r.eachItemGraphicEl((function(t){t&&(e?ul(t):hl(t))}))}}))},e.type=\"marker\",e}(Sf),tK=$Z;function eK(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=Li(a.get(\"x\"),n.getWidth()),l=Li(a.get(\"y\"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var c=t.get(i.dimensions[0],r),u=t.get(i.dimensions[1],r);o=i.dataToPoint([c,u])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var nK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=FZ.getMarkerModelFromSeries(t,\"markPoint\");e&&(eK(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),l=this.markerGroupMap,c=l.get(o)||l.set(o,new yS),u=iK(r,t,e);e.setData(u),eK(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow(\"symbol\"),r=n.getShallow(\"symbolSize\"),o=n.getShallow(\"symbolRotate\"),l=n.getShallow(\"symbolOffset\"),c=n.getShallow(\"symbolKeepAspect\");if(Object(s[\"w\"])(i)||Object(s[\"w\"])(r)||Object(s[\"w\"])(o)||Object(s[\"w\"])(l)){var h=e.getRawValue(t),d=e.getDataParams(t);Object(s[\"w\"])(i)&&(i=i(h,d)),Object(s[\"w\"])(r)&&(r=r(h,d)),Object(s[\"w\"])(o)&&(o=o(h,d)),Object(s[\"w\"])(l)&&(l=l(h,d))}var p=n.getModel(\"itemStyle\").getItemStyle(),f=Nv(a,\"color\");p.fill||(p.fill=f),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:l,symbolKeepAspect:c,style:p})})),c.updateData(u),this.group.add(c.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){js(t).dataModel=e}))})),this.markKeep(c),c.group.silent=e.get(\"silent\")||t.get(\"silent\")},e.type=\"markPoint\",e}(tK);function iK(t,e,n){var i;i=t?Object(s[\"H\"])(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(s[\"m\"])(Object(s[\"m\"])({},n),{name:t,ordinalMeta:null})})):[{name:\"value\",type:\"float\"}];var r=new zj(i,n),o=Object(s[\"H\"])(n.get(\"data\"),Object(s[\"h\"])(XZ,e));t&&(o=Object(s[\"n\"])(o,Object(s[\"h\"])(UZ,t)));var a=KZ(!!t,i);return r.initData(o,null,a),r}var rK=nK;function oK(t){t.registerComponentModel(zZ),t.registerComponentView(rK),t.registerPreprocessor((function(t){LZ(t.series,\"markPoint\")&&(t.markPoint=t.markPoint||{})}))}var aK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type=\"markLine\",e.defaultOption={z:5,symbol:[\"circle\",\"arrow\"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:\"item\"},label:{show:!0,position:\"end\",distance:5},lineStyle:{type:\"dashed\"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:\"linear\"},e}(FZ),sK=aK,lK=Ar(),cK=function(t,e,n,i){var r,o=t.getData();if(Object(s[\"t\"])(i))r=i;else{var a=i.type;if(\"min\"===a||\"max\"===a||\"average\"===a||\"median\"===a||null!=i.xAxis||null!=i.yAxis){var l=void 0,c=void 0;if(null!=i.yAxis||null!=i.xAxis)l=e.getAxis(null!=i.yAxis?\"y\":\"x\"),c=Object(s[\"O\"])(i.yAxis,i.xAxis);else{var u=YZ(i,o,e,t);l=u.valueAxis;var h=Jj(o,u.valueDataDim);c=QZ(o,h,a)}var d=\"x\"===l.dim?0:1,p=1-d,f=Object(s[\"d\"])(i),g={coord:[]};f.type=null,f.coord=[],f.coord[p]=-1/0,g.coord[p]=1/0;var y=n.get(\"precision\");y>=0&&Object(s[\"z\"])(c)&&(c=+c.toFixed(Math.min(y,20))),f.coord[d]=g.coord[d]=c,r=[f,g,{type:a,valueIndex:i.valueIndex,value:c}]}else r=[]}var v=[XZ(t,r[0]),XZ(t,r[1]),Object(s[\"m\"])({},r[2])];return v[2].type=v[2].type||null,Object(s[\"I\"])(v[2],v[0]),Object(s[\"I\"])(v[2],v[1]),v};function uK(t){return!isNaN(t)&&!isFinite(t)}function hK(t,e,n,i){var r=1-t,o=i.dimensions[t];return uK(e[r])&&uK(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function dK(t,e){if(\"cartesian2d\"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(hK(1,n,i,t)||hK(0,n,i,t)))return!0}return UZ(t,e[0])&&UZ(t,e[1])}function pK(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Li(s.get(\"x\"),r.getWidth()),c=Li(s.get(\"y\"),r.getHeight());if(isNaN(l)||isNaN(c)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var u=a.dimensions,h=t.get(u[0],e),d=t.get(u[1],e);o=a.dataToPoint([h,d])}if(ES(a,\"cartesian2d\")){var p=a.getAxis(\"x\"),f=a.getAxis(\"y\");u=a.dimensions;uK(t.get(u[0],e))?o[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):uK(t.get(u[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c)}else o=[l,c];t.setItemLayout(e,o)}var fK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=FZ.getMarkerModelFromSeries(t,\"markLine\");if(e){var i=e.getData(),r=lK(e).from,o=lK(e).to;r.each((function(e){pK(r,e,!0,t,n),pK(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),l=this.markerGroupMap,c=l.get(o)||l.set(o,new IR);this.group.add(c.group);var u=gK(r,t,e),h=u.from,d=u.to,p=u.line;lK(e).from=h,lK(e).to=d,e.setData(p);var f=e.get(\"symbol\"),g=e.get(\"symbolSize\"),y=e.get(\"symbolRotate\"),v=e.get(\"symbolOffset\");function m(e,n,r){var o=e.getItemModel(n);pK(e,n,r,t,i);var l=o.getModel(\"itemStyle\").getItemStyle();null==l.fill&&(l.fill=Nv(a,\"color\")),e.setItemVisual(n,{symbolKeepAspect:o.get(\"symbolKeepAspect\"),symbolOffset:Object(s[\"P\"])(o.get(\"symbolOffset\",!0),v[r?0:1]),symbolRotate:Object(s[\"P\"])(o.get(\"symbolRotate\",!0),y[r?0:1]),symbolSize:Object(s[\"P\"])(o.get(\"symbolSize\"),g[r?0:1]),symbol:Object(s[\"P\"])(o.get(\"symbol\",!0),f[r?0:1]),style:l})}Object(s[\"t\"])(f)||(f=[f,f]),Object(s[\"t\"])(g)||(g=[g,g]),Object(s[\"t\"])(y)||(y=[y,y]),Object(s[\"t\"])(v)||(v=[v,v]),u.from.each((function(t){m(h,t,!0),m(d,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel(\"lineStyle\").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),d.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,\"style\").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,\"symbolKeepAspect\"),fromSymbolOffset:h.getItemVisual(t,\"symbolOffset\"),fromSymbolRotate:h.getItemVisual(t,\"symbolRotate\"),fromSymbolSize:h.getItemVisual(t,\"symbolSize\"),fromSymbol:h.getItemVisual(t,\"symbol\"),toSymbolKeepAspect:d.getItemVisual(t,\"symbolKeepAspect\"),toSymbolOffset:d.getItemVisual(t,\"symbolOffset\"),toSymbolRotate:d.getItemVisual(t,\"symbolRotate\"),toSymbolSize:d.getItemVisual(t,\"symbolSize\"),toSymbol:d.getItemVisual(t,\"symbol\"),style:e})})),c.updateData(p),u.line.eachItemGraphicEl((function(t){js(t).dataModel=e,t.traverse((function(t){js(t).dataModel=e}))})),this.markKeep(c),c.group.silent=e.get(\"silent\")||t.get(\"silent\")},e.type=\"markLine\",e}(tK);function gK(t,e,n){var i;i=t?Object(s[\"H\"])(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(s[\"m\"])(Object(s[\"m\"])({},n),{name:t,ordinalMeta:null})})):[{name:\"value\",type:\"float\"}];var r=new zj(i,n),o=new zj(i,n),a=new zj([],n),l=Object(s[\"H\"])(n.get(\"data\"),Object(s[\"h\"])(cK,e,t,n));t&&(l=Object(s[\"n\"])(l,Object(s[\"h\"])(dK,t)));var c=KZ(!!t,i);return r.initData(Object(s[\"H\"])(l,(function(t){return t[0]})),null,c),o.initData(Object(s[\"H\"])(l,(function(t){return t[1]})),null,c),a.initData(Object(s[\"H\"])(l,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}var yK=fK;function vK(t){t.registerComponentModel(sK),t.registerComponentView(yK),t.registerPreprocessor((function(t){LZ(t.series,\"markLine\")&&(t.markLine=t.markLine||{})}))}var mK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type=\"markArea\",e.defaultOption={z:1,tooltip:{trigger:\"item\"},animation:!1,label:{show:!0,position:\"top\"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:\"top\"}}},e}(FZ),bK=mK,xK=Ar(),OK=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=XZ(t,r),l=XZ(t,o),c=a.coord,u=l.coord;c[0]=Object(s[\"O\"])(c[0],-1/0),c[1]=Object(s[\"O\"])(c[1],-1/0),u[0]=Object(s[\"O\"])(u[0],1/0),u[1]=Object(s[\"O\"])(u[1],1/0);var h=Object(s[\"J\"])([{},a,l]);return h.coord=[a.coord,l.coord],h.x0=a.x,h.y0=a.y,h.x1=l.x,h.y1=l.y,h}};function wK(t){return!isNaN(t)&&!isFinite(t)}function jK(t,e,n,i){var r=1-t;return wK(e[r])&&wK(n[r])}function SK(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return ES(t,\"cartesian2d\")?!(!n||!i||!jK(1,n,i,t)&&!jK(0,n,i,t))||ZZ(t,r,o):UZ(t,r)||UZ(t,o)}function _K(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Li(s.get(n[0]),r.getWidth()),c=Li(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(c)){if(i.getMarkerPosition){var u=t.getValues([\"x0\",\"y0\"],e),h=t.getValues([\"x1\",\"y1\"],e),d=a.clampData(u),p=a.clampData(h),f=[];\"x0\"===n[0]?f[0]=d[0]>p[0]?h[0]:u[0]:f[0]=d[0]>p[0]?u[0]:h[0],\"y0\"===n[1]?f[1]=d[1]>p[1]?h[1]:u[1]:f[1]=d[1]>p[1]?u[1]:h[1],o=i.getMarkerPosition(f,n,!0)}else{var g=t.get(n[0],e),y=t.get(n[1],e),v=[g,y];a.clampData&&a.clampData(v,v),o=a.dataToPoint(v,!0)}if(ES(a,\"cartesian2d\")){var m=a.getAxis(\"x\"),b=a.getAxis(\"y\");g=t.get(n[0],e),y=t.get(n[1],e);wK(g)?o[0]=m.toGlobalCoord(m.getExtent()[\"x0\"===n[0]?0:1]):wK(y)&&(o[1]=b.toGlobalCoord(b.getExtent()[\"y0\"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c)}else o=[l,c];return o}var CK=[[\"x0\",\"y0\"],[\"x1\",\"y0\"],[\"x1\",\"y1\"],[\"x0\",\"y1\"]],MK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=FZ.getMarkerModelFromSeries(t,\"markArea\");if(e){var i=e.getData();i.each((function(e){var r=Object(s[\"H\"])(CK,(function(r){return _K(i,e,r,t,n)}));i.setItemLayout(e,r);var o=i.getItemGraphicEl(e);o.setShape(\"points\",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),l=this.markerGroupMap,c=l.get(o)||l.set(o,{group:new wi});this.group.add(c.group),this.markKeep(c);var u=AK(r,t,e);e.setData(u),u.each((function(e){var n=Object(s[\"H\"])(CK,(function(n){return _K(u,e,n,t,i)})),o=r.getAxis(\"x\").scale,l=r.getAxis(\"y\").scale,c=o.getExtent(),h=l.getExtent(),d=[o.parse(u.get(\"x0\",e)),o.parse(u.get(\"x1\",e))],p=[l.parse(u.get(\"y0\",e)),l.parse(u.get(\"y1\",e))];Ei(d),Ei(p);var f=!(c[0]>d[1]||c[1]p[1]||h[1]=0},e.prototype.getOrient=function(){return\"vertical\"===this.get(\"orient\")?{index:1,name:\"vertical\"}:{index:0,name:\"horizontal\"}},e.type=\"legend.plain\",e.dependencies=[\"series\"],e.defaultOption={z:4,show:!0,orient:\"horizontal\",left:\"center\",top:0,align:\"auto\",backgroundColor:\"rgba(0,0,0,0)\",borderColor:\"#ccc\",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:\"inherit\",symbolKeepAspect:!0,inactiveColor:\"#ccc\",inactiveBorderColor:\"#ccc\",inactiveBorderWidth:\"auto\",itemStyle:{color:\"inherit\",opacity:\"inherit\",borderColor:\"inherit\",borderWidth:\"auto\",borderCap:\"inherit\",borderJoin:\"inherit\",borderDashOffset:\"inherit\",borderMiterLimit:\"inherit\"},lineStyle:{width:\"auto\",color:\"inherit\",inactiveColor:\"#ccc\",inactiveWidth:2,opacity:\"inherit\",type:\"inherit\",cap:\"inherit\",join:\"inherit\",dashOffset:\"inherit\",miterLimit:\"inherit\"},textStyle:{color:\"#333\"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:\"sans-serif\",color:\"#666\",borderWidth:1,borderColor:\"#666\"},emphasis:{selectorLabel:{show:!0,color:\"#eee\",backgroundColor:\"#666\"}},selectorPosition:\"auto\",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Uu),PK=DK,LK=s[\"h\"],RK=s[\"k\"],EK=wi,BK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return Object(o[\"c\"])(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new EK),this.group.add(this._selectorGroup=new EK),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get(\"show\",!0)){var r=t.get(\"align\"),o=t.get(\"orient\");r&&\"auto\"!==r||(r=\"right\"===t.get(\"left\")&&\"vertical\"===o?\"right\":\"left\");var a=t.get(\"selector\",!0),l=t.get(\"selectorPosition\",!0);!a||l&&\"auto\"!==l||(l=\"horizontal\"===o?\"end\":\"start\"),this.renderInner(r,t,e,n,a,o,l);var c=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get(\"padding\"),d=Fu(c,u,h),p=this.layoutInner(t,r,d,i,a,l),f=Fu(s[\"i\"]({width:p.width,height:p.height},c),u,h);this.group.x=f.x-p.x,this.group.y=f.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=GY(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var l=this.getContentGroup(),c=s[\"f\"](),u=e.get(\"selectedMode\"),h=[];n.eachRawSeries((function(t){!t.get(\"legendHoverLink\")&&h.push(t.id)})),RK(e.getData(),(function(r,o){var a=r.get(\"name\");if(!this.newlineDisabled&&(\"\"===a||\"\\n\"===a)){var d=new EK;return d.newline=!0,void l.add(d)}var p=n.getSeriesByName(a)[0];if(!c.get(a)){if(p){var f=p.getData(),g=f.getVisual(\"legendLineStyle\")||{},y=f.getVisual(\"legendIcon\"),v=f.getVisual(\"style\"),m=this._createItem(p,a,o,r,e,t,g,v,y,u,i);m.on(\"click\",LK(zK,a,null,i,h)).on(\"mouseover\",LK(GK,p.name,null,i,h)).on(\"mouseout\",LK(HK,p.name,null,i,h)),c.set(a,!0)}else n.eachRawSeries((function(n){if(!c.get(a)&&n.legendVisualProvider){var l=n.legendVisualProvider;if(!l.containName(a))return;var d=l.indexOfName(a),p=l.getItemVisual(d,\"style\"),f=l.getItemVisual(d,\"legendIcon\"),g=Object(Be[\"g\"])(p.fill);g&&0===g[3]&&(g[3]=.2,p=s[\"m\"](s[\"m\"]({},p),{fill:Object(Be[\"h\"])(g,\"rgba\")}));var y=this._createItem(n,a,o,r,e,t,{},p,f,u,i);y.on(\"click\",LK(zK,null,a,i,h)).on(\"mouseover\",LK(GK,null,a,i,h)).on(\"mouseout\",LK(HK,null,a,i,h)),c.set(a,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();RK(t,(function(t){var i=t.type,r=new ws({style:{x:0,y:0,align:\"center\",verticalAlign:\"middle\"},onclick:function(){n.dispatchAction({type:\"all\"===i?\"legendAllSelect\":\"legendInverseSelect\"})}});o.add(r);var a=e.getModel(\"selectorLabel\"),s=e.getModel([\"emphasis\",\"selectorLabel\"]);$l(r,{normal:a,emphasis:s},{defaultText:t.title}),_l(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,l,c,u,h){var d=t.visualDrawType,p=r.get(\"itemWidth\"),f=r.get(\"itemHeight\"),g=r.isSelected(e),y=i.get(\"symbolRotate\"),v=i.get(\"symbolKeepAspect\"),m=i.get(\"icon\");c=m||c||\"roundRect\";var b=FK(c,i,a,l,d,g,h),x=new EK,O=i.getModel(\"textStyle\");if(!s[\"w\"](t.getLegendIcon)||m&&\"inherit\"!==m){var w=\"inherit\"===m&&t.getData().getVisual(\"symbol\")?\"inherit\"===y?t.getData().getVisual(\"symbolRotate\"):y:0;x.add(NK({itemWidth:p,itemHeight:f,icon:c,iconRotate:w,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:v}))}else x.add(t.getLegendIcon({itemWidth:p,itemHeight:f,icon:c,iconRotate:y,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:v}));var j=\"left\"===o?p+5:-5,S=o,_=r.get(\"formatter\"),C=e;s[\"C\"](_)&&_?C=_.replace(\"{name}\",null!=e?e:\"\"):s[\"w\"](_)&&(C=_(e));var M=i.get(\"inactiveColor\");x.add(new ws({style:ec(O,{text:C,x:j,y:f/2,fill:g?O.getTextColor():M,align:S,verticalAlign:\"middle\"})}));var A=new rs({shape:x.getBoundingRect(),invisible:!0}),k=i.getModel(\"tooltip\");return k.get(\"show\")&&Ly({el:A,componentModel:r,itemName:e,itemTooltipOption:k.option}),x.add(A),x.eachChild((function(t){t.silent=!0})),A.silent=!u,this.getContentGroup().add(x),_l(x),x.__legendDataIndex=n,x},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Eu(t.get(\"orient\"),a,t.get(\"itemGap\"),n.width,n.height);var l=a.getBoundingRect(),c=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Eu(\"horizontal\",s,t.get(\"selectorItemGap\",!0));var u=s.getBoundingRect(),h=[-u.x,-u.y],d=t.get(\"selectorButtonGap\",!0),p=t.getOrient().index,f=0===p?\"width\":\"height\",g=0===p?\"height\":\"width\",y=0===p?\"y\":\"x\";\"end\"===o?h[p]+=l[f]+d:c[p]+=u[f]+d,h[1-p]+=l[g]/2-u[g]/2,s.x=h[0],s.y=h[1],a.x=c[0],a.y=c[1];var v={x:0,y:0};return v[f]=l[f]+d+u[f],v[g]=Math.max(l[g],u[g]),v[y]=Math.min(0,u[y]+h[1-p]),v}return a.x=c[0],a.y=c[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type=\"legend.plain\",e}(Sf);function FK(t,e,n,i,r,o,a){function s(t,e){\"auto\"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),RK(t,(function(n,i){\"inherit\"===t[i]&&(t[i]=e[i])}))}var l=e.getModel(\"itemStyle\"),c=l.getItemStyle(),u=0===t.lastIndexOf(\"empty\",0)?\"fill\":\"stroke\",h=l.getShallow(\"decal\");c.decal=h&&\"inherit\"!==h?qm(h,a):i.decal,\"inherit\"===c.fill&&(c.fill=i[r]),\"inherit\"===c.stroke&&(c.stroke=i[u]),\"inherit\"===c.opacity&&(c.opacity=(\"fill\"===r?i:n).opacity),s(c,i);var d=e.getModel(\"lineStyle\"),p=d.getLineStyle();if(s(p,n),\"auto\"===c.fill&&(c.fill=i.fill),\"auto\"===c.stroke&&(c.stroke=i.fill),\"auto\"===p.stroke&&(p.stroke=i.fill),!o){var f=e.get(\"inactiveBorderWidth\"),g=c[u];c.lineWidth=\"auto\"===f?i.lineWidth>0&&g?2:0:c.lineWidth,c.fill=e.get(\"inactiveColor\"),c.stroke=e.get(\"inactiveBorderColor\"),p.stroke=d.get(\"inactiveColor\"),p.lineWidth=d.get(\"inactiveWidth\")}return{itemStyle:c,lineStyle:p}}function NK(t){var e=t.icon||\"roundRect\",n=rm(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf(\"empty\")>-1&&(n.style.stroke=n.style.fill,n.style.fill=\"#fff\",n.style.lineWidth=2),n}function zK(t,e,n,i){HK(t,e,n,i),n.dispatchAction({type:\"legendToggleSelect\",name:null!=t?t:e}),GK(t,e,n,i)}function VK(t){var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;while(in[r],g=[-d.x,-d.y];e||(g[i]=c[l]);var y=[0,0],v=[-p.x,-p.y],m=s[\"P\"](t.get(\"pageButtonGap\",!0),t.get(\"itemGap\",!0));if(f){var b=t.get(\"pageButtonPosition\",!0);\"end\"===b?v[i]+=n[r]-p[r]:y[i]+=p[r]+m}v[1-i]+=d[o]/2-p[o]/2,c.setPosition(g),u.setPosition(y),h.setPosition(v);var x={x:0,y:0};if(x[r]=f?n[r]:d[r],x[o]=Math.max(d[o],p[o]),x[a]=Math.min(0,p[a]+v[1-i]),u.__rectSize=n[r],f){var O={x:0,y:0};O[r]=Math.max(n[r]-p[r]-m,0),O[o]=x[o],u.setClipPath(new rs({shape:O})),u.__rectSize=O[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(t);return null!=w.pageIndex&&Gl(c,{x:w.contentPosition[0],y:w.contentPosition[1]},f?t:null),this._updatePageInfoView(t,w),x},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:\"legendScroll\",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;s[\"k\"]([\"pagePrev\",\"pageNext\"],(function(i){var r=i+\"DataIndex\",o=null!=e[r],a=n.childOfName(i);a&&(a.setStyle(\"fill\",o?t.get(\"pageIconColor\",!0):t.get(\"pageIconInactiveColor\",!0)),a.cursor=o?\"pointer\":\"default\")}));var i=n.childOfName(\"pageText\"),r=t.get(\"pageFormatter\"),o=e.pageIndex,a=null!=o?o+1:0,l=e.pageCount;i&&r&&i.setStyle(\"text\",s[\"C\"](r)?r.replace(\"{current}\",null==a?\"\":a+\"\").replace(\"{total}\",null==l?\"\":l+\"\"):r({current:a,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get(\"scrollDataIndex\",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=$K[r],a=tQ[r],s=this._findTargetItemIndex(e),l=n.children(),c=l[s],u=l.length,h=u?1:0,d={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return d;var p=m(c);d.contentPosition[r]=-p.s;for(var f=s+1,g=p,y=p,v=null;f<=u;++f)v=m(l[f]),(!v&&y.e>g.s+i||v&&!b(v,g.s))&&(g=y.i>g.i?y:v,g&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount)),y=v;for(f=s-1,g=p,y=p,v=null;f>=-1;--f)v=m(l[f]),v&&b(y,v.s)||!(g.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var e,n,i=this.getContentGroup();return i.eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n},e.type=\"legend.scroll\",e}(WK),nQ=eQ;function iQ(t){t.registerAction(\"legendScroll\",\"legendscroll\",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:\"legend\",subType:\"scroll\",query:t},(function(t){t.setScrollDataIndex(n)}))}))}function rQ(t){Px(UK),t.registerComponentModel(QK),t.registerComponentView(nQ),iQ(t)}function oQ(t){Px(UK),Px(rQ)}var aQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.type=\"dataZoom.inside\",e.defaultOption=Ic(vY.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(vY),sQ=aQ,lQ=Ar();function cQ(t,e,n){lQ(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}function uQ(t,e){for(var n=lQ(t).coordSysRecordMap,i=n.keys(),r=0;ri[n+e]&&(e=a),r=r&&o.get(\"preventDefaultMouseMove\",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}function yQ(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=lQ(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=Object(s[\"f\"])());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:\"dataZoom\",subType:\"inside\"},(function(t){var n=pY(t);Object(s[\"k\"])(n.infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,dQ(e,n.model)),a=o.dataZoomInfoMap||(o.dataZoomInfoMap=Object(s[\"f\"])());a.set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=gQ(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Ky(t,\"dispatchAction\",e.model.get(\"throttle\",!0),\"fixRate\")}else hQ(i,t)}))}))}var vQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"dataZoom.inside\",e}return Object(o[\"c\"])(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),cQ(i,e,{pan:Object(s[\"c\"])(mQ.pan,this),zoom:Object(s[\"c\"])(mQ.zoom,this),scrollMove:Object(s[\"c\"])(mQ.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){uQ(this.api,this.dataZoomModel),this.range=null},e.type=\"dataZoom.inside\",e}(OY),mQ={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=xQ[e](null,[i.originX,i.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/i.scale,0);o[0]=(o[0]-l)*c+l,o[1]=(o[1]-l)*c+l;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return UE(0,o,[0,100],0,u.minSpan,u.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:bQ((function(t,e,n,i,r,o){var a=xQ[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:bQ((function(t,e,n,i,r,o){var a=xQ[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n);return a.signal*(t[1]-t[0])*o.scrollDelta}))};function bQ(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s){var l=t(a,s,e,n,i,r);return UE(l,a,[0,100],\"all\"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}}var xQ={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],\"x\"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),\"radiusAxis\"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=c[1]-c[0],a.pixelStart=c[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],\"horizontal\"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},OQ=vQ;function wQ(t){PY(t),t.registerComponentModel(sQ),t.registerComponentView(OQ),yQ(t)}var jQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.type=\"dataZoom.slider\",e.layoutMode=\"box\",e.defaultOption=Ic(vY.defaultOption,{show:!0,right:\"ph\",top:\"ph\",width:\"ph\",height:\"ph\",left:null,bottom:null,borderColor:\"#d2dbee\",borderRadius:3,backgroundColor:\"rgba(47,69,84,0)\",dataBackground:{lineStyle:{color:\"#d2dbee\",width:.5},areaStyle:{color:\"#d2dbee\",opacity:.2}},selectedDataBackground:{lineStyle:{color:\"#8fb0f7\",width:.5},areaStyle:{color:\"#8fb0f7\",opacity:.2}},fillerColor:\"rgba(135,175,274,0.2)\",handleIcon:\"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z\",handleSize:\"100%\",handleStyle:{color:\"#fff\",borderColor:\"#ACB8D1\"},moveHandleSize:7,moveHandleIcon:\"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z\",moveHandleStyle:{color:\"#D2DBEE\",opacity:.7},showDetail:!0,showDataShadow:\"auto\",realtime:!0,zoomLock:!1,textStyle:{color:\"#6E7079\"},brushSelect:!0,brushStyle:{color:\"rgba(135,175,274,0.15)\"},emphasis:{handleStyle:{borderColor:\"#8FB0F7\"},moveHandleStyle:{color:\"#8FB0F7\"}}}),e}(vY),SQ=jQ,_Q=rs,CQ=7,MQ=1,AQ=30,kQ=7,IQ=\"horizontal\",TQ=\"vertical\",DQ=5,PQ=[\"line\",\"bar\",\"candlestick\",\"scatter\"],LQ={easing:\"cubicOut\",duration:100,delay:0},RQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return Object(o[\"c\"])(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=Object(s[\"c\"])(this._onBrush,this),this._onBrushEnd=Object(s[\"c\"])(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Ky(this,\"_dispatchZoomAction\",e.get(\"throttle\"),\"fixRate\"),this._orient=e.getOrient(),!1!==e.get(\"show\")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&\"dataZoom\"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Qy(this,\"_dispatchZoomAction\");var t=this.api.getZr();t.off(\"mousemove\",this._onBrush),t.off(\"mouseup\",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new wi;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get(\"brushSelect\"),i=n?kQ:0,r=this._findCoordRect(),o={width:e.getWidth(),height:e.getHeight()},a=this._orient===IQ?{right:o.width-r.x-r.width,top:o.height-AQ-CQ-i,width:r.width,height:AQ}:{right:CQ,top:r.y,width:AQ,height:r.height},l=Hu(t.option);Object(s[\"k\"])([\"right\",\"top\",\"width\",\"height\"],(function(t){\"ph\"===l[t]&&(l[t]=a[t])}));var c=Fu(l,o);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===TQ&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get(\"inverse\"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==IQ||r?n===IQ&&r?{scaleY:a?1:-1,scaleX:-1}:n!==TQ||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get(\"brushSelect\");n.add(new _Q({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get(\"backgroundColor\")},z2:-40}));var r=new _Q({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:\"transparent\"},z2:0,onclick:Object(s[\"c\"])(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on(\"mousedown\",this._onBrushStart,this),r.cursor=\"crosshair\",o.on(\"mousemove\",this._onBrush),o.on(\"mouseup\",this._onBrushEnd)):(o.off(\"mousemove\",this._onBrush),o.off(\"mouseup\",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var c=r.getDataExtent(a),u=.3*(c[1]-c[0]);c=[c[0]-u,c[1]+u];var h,d=[0,e[1]],p=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=p[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(m>0&&e%m)v+=y;else{var n=null==t||isNaN(t)||\"\"===t,i=n?0:Pi(t,c,d,!0);n&&!h&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&h&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=y,h=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var b=this.dataZoomModel,x=0;x<3;x++){var O=w(1===x);this._displayables.sliderGroup.add(O),this._displayables.dataShadowSegs.push(O)}}}function w(t){var e=b.getModel(t?\"selectedDataBackground\":\"dataBackground\"),n=new wi,i=new Cg({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel(\"areaStyle\").getAreaStyle(),silent:!0,z2:-20}),r=new kg({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel(\"lineStyle\").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get(\"showDataShadow\");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){var a=t.getAxisProxy(r,o).getTargetSeriesModels();Object(s[\"k\"])(a,(function(t){if(!n&&!(!0!==e&&Object(s[\"r\"])(PQ,t.get(\"type\"))<0)){var a,l=i.getComponent(hY(r),o).axis,c=EQ(r),u=t.coordinateSystem;null!=c&&u.getOtherAxis&&(a=u.getOtherAxis(l).inverse),c=t.getData().mapDimension(c),n={thisAxis:l,series:t,thisDim:r,otherDim:c,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,l=this.api,c=a.get(\"borderRadius\")||0,u=a.get(\"brushSelect\"),h=e.filler=new _Q({silent:u,style:{fill:a.get(\"fillerColor\")},textConfig:{position:\"inside\"}});r.add(h),r.add(new _Q({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:c},style:{stroke:a.get(\"dataBackgroundColor\")||a.get(\"borderColor\"),lineWidth:MQ,fill:\"rgba(0,0,0,0)\"}})),Object(s[\"k\"])([0,1],(function(e){var o=a.get(\"handleIcon\");!em[o]&&o.indexOf(\"path://\")<0&&o.indexOf(\"image://\")<0&&(o=\"path://\"+o);var l=rm(o,-1,0,2,2,null,!0);l.attr({cursor:BQ(this._orient),draggable:!0,drift:Object(s[\"c\"])(this._onDragMove,this,e),ondragend:Object(s[\"c\"])(this._onDragEnd,this),onmouseover:Object(s[\"c\"])(this._showDataInfo,this,!0),onmouseout:Object(s[\"c\"])(this._showDataInfo,this,!1),z2:5});var c=l.getBoundingRect(),u=a.get(\"handleSize\");this._handleHeight=Li(u,this._size[1]),this._handleWidth=c.width/c.height*this._handleHeight,l.setStyle(a.getModel(\"handleStyle\").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState(\"emphasis\").style=a.getModel([\"emphasis\",\"handleStyle\"]).getItemStyle(),_l(l);var h=a.get(\"handleColor\");null!=h&&(l.style.fill=h),r.add(n[e]=l);var d=a.getModel(\"textStyle\");t.add(i[e]=new ws({silent:!0,invisible:!0,style:ec(d,{x:0,y:0,text:\"\",verticalAlign:\"middle\",align:\"center\",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=h;if(u){var p=Li(a.get(\"moveHandleSize\"),o[1]),f=e.moveHandle=new rs({style:a.getModel(\"moveHandleStyle\").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),g=.8*p,y=e.moveHandleIcon=rm(a.get(\"moveHandleIcon\"),-g/2,-g/2,g,g,\"#fff\",!0);y.silent=!0,y.y=o[1]+p/2-.5,f.ensureState(\"emphasis\").style=a.getModel([\"emphasis\",\"moveHandleStyle\"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(p,10));d=e.moveZone=new rs({invisible:!0,shape:{y:o[1]-v,height:p+v}}),d.on(\"mouseover\",(function(){l.enterEmphasis(f)})).on(\"mouseout\",(function(){l.leaveEmphasis(f)})),r.add(f),r.add(y),r.add(d)}d.attr({draggable:!0,cursor:BQ(this._orient),drift:Object(s[\"c\"])(this._onDragMove,this,\"all\"),ondragstart:Object(s[\"c\"])(this._showDataInfo,this,!0),ondragend:Object(s[\"c\"])(this._onDragEnd,this),onmouseover:Object(s[\"c\"])(this._showDataInfo,this,!0),onmouseout:Object(s[\"c\"])(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[Pi(t[0],[0,100],e,!0),Pi(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];UE(e,i,r,n.get(\"zoomLock\")?\"all\":t,null!=o.minSpan?Pi(o.minSpan,a,r,!0):null,null!=o.maxSpan?Pi(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=Ei([Pi(i[0],r,a,!0),Pi(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=Ei(n.slice()),r=this._size;Object(s[\"k\"])([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr(\"x\",o.x+o.width/2));for(var a=e.dataShadowSegs,l=[0,i[0],i[1],r[0]],c=0;ce[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval(\"all\",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new vt(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr(\"ignore\",!0);var n=e.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),o=[0,100];this._range=Ei([Pi(n.x,r,o,!0),Pi(n.x+n.width,r,o,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(et(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new _Q({silent:!0,style:i.getModel(\"brushStyle\").getItemStyle()}),n.sliderGroup.add(r)),r.attr(\"ignore\",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),c=this._size;s[0]=Math.max(Math.min(c[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:c[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:\"dataZoom\",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?LQ:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=pY(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type=\"dataZoom.slider\",e}(OY);function EQ(t){var e={x:\"y\",y:\"x\",radius:\"angle\",angle:\"radius\"};return e[t]}function BQ(t){return\"vertical\"===t?\"ns-resize\":\"ew-resize\"}var FQ=RQ;function NQ(t){t.registerComponentModel(SQ),t.registerComponentView(FQ),PY(t)}function zQ(t){Px(wQ),Px(NQ)}var VQ={get:function(t,e,n){var i=s[\"d\"]((GQ[t]||{})[e]);return n&&s[\"t\"](i)?i[i.length-1]:i}},GQ={color:{active:[\"#006edd\",\"#e0ffff\"],inactive:[\"rgba(0,0,0,0)\"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:[\"circle\",\"roundRect\",\"diamond\"],inactive:[\"none\"]},symbolSize:{active:[10,50],inactive:[0,0]}},HQ=VQ,WQ=nL.mapVisual,XQ=nL.eachVisual,YQ=s[\"t\"],qQ=s[\"k\"],UQ=Ei,ZQ=Pi,KQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=[\"inRange\",\"outOfRange\"],n.replacableOptionKeys=[\"inRange\",\"outOfRange\",\"target\",\"controller\",\"color\"],n.layoutMode={type:\"box\",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return Object(o[\"c\"])(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&LU(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel(\"textStyle\"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=s[\"c\"](t,this),this.controllerVisuals=PU(this.option.controller,e,t),this.targetVisuals=PU(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||\"all\"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=ar(t),e},e.prototype.eachTargetSeries=function(t,e){s[\"k\"](this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,l=r.formatter;n=n||[\"<\",\">\"],s[\"t\"](t)&&(t=t.slice(),i=!0);var c=e?t:i?[u(t[0]),u(t[1])]:u(t);return s[\"C\"](l)?l.replace(\"{value}\",i?c[0]:c).replace(\"{value2}\",i?c[1]:c):s[\"w\"](l)?i?l(t[0],t[1]):l(t):i?t[0]===a[0]?n[0]+\" \"+c[1]:t[1]===a[1]?n[1]+\" \"+c[0]:c[0]+\" - \"+c[1]:c;function u(t){return t===a[0]?\"min\":t===a[1]?\"max\":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=UQ([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});s[\"I\"](i,n),s[\"I\"](r,n);var o=this.isCategory();function a(n){YQ(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get(\"gradientColor\")}}function l(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},qQ(i,(function(t,e){if(nL.isValidType(e)){var n=HQ.get(e,\"inactive\",o);null!=n&&(r[e]=n,\"color\"!==e||r.hasOwnProperty(\"opacity\")||r.hasOwnProperty(\"colorAlpha\")||(r.opacity=[0,0]))}})))}function c(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get(\"inactiveColor\"),r=this.getItemSymbol(),a=r||\"roundRect\";qQ(this.stateList,(function(r){var l=this.itemSize,c=t[r];c||(c=t[r]={color:o?i:[i]}),null==c.symbol&&(c.symbol=e&&s[\"d\"](e)||(o?a:[a])),null==c.symbolSize&&(c.symbolSize=n&&s[\"d\"](n)||(o?l[0]:[l[0],l[0]])),c.symbol=WQ(c.symbol,(function(t){return\"none\"===t?a:t}));var u=c.symbolSize;if(null!=u){var h=-1/0;XQ(u,(function(t){t>h&&(h=t)})),c.symbolSize=WQ(u,(function(t){return ZQ(t,[0,h],[0,l[0]],!0)}))}}),this)}a.call(this,i),a.call(this,r),l.call(this,i,\"inRange\",\"outOfRange\"),c.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get(\"itemWidth\")),parseFloat(this.get(\"itemHeight\"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type=\"visualMap\",e.dependencies=[\"series\"],e.defaultOption={show:!0,z:4,seriesIndex:\"all\",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:\"vertical\",backgroundColor:\"rgba(0,0,0,0)\",borderColor:\"#ccc\",contentColor:\"#5793f3\",inactiveColor:\"#aaa\",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:\"#333\"}},e}(Uu),QQ=KQ,JQ=[20,140],$Q=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod=\"linear\",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=JQ[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=JQ[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):s[\"t\"](e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),s[\"k\"](this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=Ei((this.get(\"range\")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?\"inRange\":\"outOfRange\"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=tJ(this,\"outOfRange\",this.getExtent()),n=tJ(this,\"inRange\",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;i.push({color:this.getControllerVisual(a,\"color\",e),offset:o/n})}return i.push({color:this.getControllerVisual(t[1],\"color\",e),offset:1}),i},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get(\"inverse\");return new wi(\"horizontal\"!==e||n?\"horizontal\"===e&&n?{scaleX:\"bottom\"===t?-1:1,rotation:-Math.PI/2}:\"vertical\"!==e||n?{scaleX:\"left\"===t?1:-1}:{scaleX:\"left\"===t?1:-1,scaleY:-1}:{scaleX:\"bottom\"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();lJ([0,1],(function(l){var c=r[l];c.setStyle(\"fill\",e.handlesColor[l]),c.y=t[l];var u=sJ(t[l],[0,a[1]],s,!0),h=this.getControllerVisual(u,\"symbolSize\");c.scaleX=c.scaleY=h/a[0],c.x=a[0]-h/2;var d=wy(n.handleLabelPoints[l],Oy(c,this.group));o[l].setStyle({x:d[0],y:d[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:\"middle\",align:\"vertical\"===this._orient?this._applyTransform(\"left\",n.mainGroup):\"center\"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,c=l.indicator;if(c){c.attr(\"invisible\",!1);var u={convertOpacityToAlpha:!0},h=this.getControllerVisual(t,\"color\",u),d=this.getControllerVisual(t,\"symbolSize\"),p=sJ(t,o,s,!0),f=a[0]-d/2,g={x:c.x,y:c.y};c.y=p,c.x=f;var y=wy(l.indicatorLabelPoint,Oy(c,this.group)),v=l.indicatorLabel;v.attr(\"invisible\",!1);var m=this._applyTransform(\"left\",l.mainGroup),b=this._orient,x=\"horizontal\"===b;v.setStyle({text:(n||\"\")+r.formatValueText(e),verticalAlign:x?m:\"middle\",align:x?\"center\":m});var O={x:f,y:p,style:{fill:h}},w={style:{x:y[0],y:y[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var j={duration:100,easing:\"cubicInOut\",additive:!0};c.x=g.x,c.y=g.y,c.animateTo(O,j),v.animateTo(w,j)}else c.attr(O),v.attr(w);this._firstShowIndicator=!1;var S=this._shapes.handleLabels;if(S)for(var _=0;_r[1]&&(c[1]=1/0),e&&(c[0]===-1/0?this._showIndicator(l,c[1],\"< \",a):c[1]===1/0?this._showIndicator(l,c[0],\"> \",a):this._showIndicator(l,l,\"≈ \",a));var u=this._hoverLinkDataIndices,h=[];(e||yJ(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(c));var d=Cr(u,h);this._dispatchHighDown(\"downplay\",aJ(d[0],n)),this._dispatchHighDown(\"highlight\",aJ(d[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(Wv(t.target,(function(t){var n=js(t);if(null!=n.dataIndex)return e=n,!0}),!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var r=n.getData(e.dataType),o=r.getStore().get(i.getDataDimensionIndex(r),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr(\"invisible\",!0),t.indicatorLabel&&t.indicatorLabel.attr(\"invisible\",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual(\"visualMeta\",i)}}];function wJ(t,e,n,i){for(var r=e.targetVisuals[i],o=nL.prepareVisualTypes(r),a={color:Nv(t.getData(),\"color\")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?\"piecewise\":\"continuous\"})),t.registerAction(bJ,xJ),Object(s[\"k\"])(OJ,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(SJ))}function AJ(t){t.registerComponentModel(eJ),t.registerComponentView(mJ),MJ(t)}var kJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return Object(o[\"c\"])(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],IJ[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){\"categories\"===i?(t.mappingMethod=\"category\",t.categories=s[\"d\"](r)):(t.dataExtent=this.getExtent(),t.mappingMethod=\"piecewise\",t.pieceList=s[\"H\"](this._pieceList,(function(t){return t=s[\"d\"](t),\"inRange\"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=nL.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}s[\"k\"](e.pieces,(function(t){s[\"k\"](i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),s[\"k\"](n,(function(t,n){var i=!1;s[\"k\"](this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&s[\"k\"](this.stateList,(function(t){(e[t]||(e[t]={}))[n]=HQ.get(n,\"inRange\"===t?\"active\":\"inactive\",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,s[\"k\"](i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),\"single\"===n.selectedMode){var o=!1;s[\"k\"](i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get(\"itemSymbol\")},e.prototype.getSelectedMapKey=function(t){return\"categories\"===this._mode?t.value+\"\":t.index+\"\"},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?\"pieces\":this.option.categories?\"categories\":\"splitNumber\"},e.prototype.setSelected=function(t){this.option.selected=s[\"d\"](t)},e.prototype.getValueState=function(t){var e=nL.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?\"inRange\":\"outOfRange\"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){var o=nL.findPieceIndex(e,n);o===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=[\"\",\"\"],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),o=r[r.length-1].interval[1],o!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return s[\"k\"](r,(function(t){var e=t.interval;e&&(e[0]>a&&l([a,e[0]],\"outOfRange\"),l(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function l(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type=\"visualMap.piecewise\",e.defaultOption=Ic(QQ.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:\"auto\",itemWidth:20,itemHeight:14,itemSymbol:\"roundRect\",pieces:null,categories:null,splitNumber:5,selectedMode:\"multiple\",itemGap:10,hoverLink:!0}),e}(QQ),IJ={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;var o=(i[1]-i[0])/r;while(+o.toFixed(n)!==o&&n<5)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,l=i[0];a\",\"≥\"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function TJ(t,e){var n=t.inverse;(\"vertical\"===t.orient?!n:n)&&e.reverse()}var DJ=kJ,PJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(o[\"c\"])(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get(\"textGap\"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),l=e.itemSize,c=this._getViewData(),u=c.endsText,h=s[\"O\"](e.get(\"showLabel\",!0),!u);u&&this._renderEndsText(t,u[0],l,h,a),s[\"k\"](c.viewPieceList,(function(i){var c=i.piece,u=new wi;u.onclick=s[\"c\"](this._onItemClick,this,c),this._enableHoverLink(u,i.indexInModelPieceList);var d=e.getRepresentValue(c);if(this._createItemSymbol(u,d,[0,0,l[0],l[1]]),h){var p=this.visualMapModel.getValueState(d);u.add(new ws({style:{x:\"right\"===a?-n:l[0]+n,y:l[1]/2,text:c.text,verticalAlign:\"middle\",align:a,font:r,fill:o,opacity:\"outOfRange\"===p?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],l,h,a),Eu(e.get(\"orient\"),t,e.get(\"itemGap\")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on(\"mouseover\",(function(){return i(\"highlight\")})).on(\"mouseout\",(function(){return i(\"downplay\")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:aJ(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if(\"vertical\"===e.orient)return oJ(t,this.api,t.itemSize);var n=e.align;return n&&\"auto\"!==n||(n=\"left\"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new wi,a=this.visualMapModel.textStyleModel;o.add(new ws({style:ec(a,{x:i?\"right\"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:\"middle\",align:i?r:\"center\",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=s[\"H\"](t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get(\"text\"),i=t.get(\"orient\"),r=t.get(\"inverse\");return(\"horizontal\"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(rm(this.getControllerVisual(e,\"symbol\"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,\"color\")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=s[\"d\"](n.selected),o=e.getSelectedMapKey(t);\"single\"===i||!0===i?(r[o]=!0,s[\"k\"](r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:\"selectDataRange\",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type=\"visualMap.piecewise\",e}(iJ),LJ=PJ;function RJ(t){t.registerComponentModel(DJ),t.registerComponentView(LJ),MJ(t)}function EJ(t){Px(AJ),Px(RJ)}var BJ={label:{enabled:!0},decal:{show:!1}},FJ=Ar(),NJ={};function zJ(t,e){var n=t.getModel(\"aria\");if(n.get(\"enabled\")){var i=s[\"d\"](BJ);s[\"I\"](i.label,t.getLocaleModel().get(\"aria\"),!1),s[\"I\"](n.option,i,!1),r(),o()}function r(){var e=n.getModel(\"decal\"),i=e.get(\"show\");if(i){var r=s[\"f\"]();t.eachSeries((function(t){if(!t.isColorBySeries()){var e=r.get(t.type);e||(e={},r.set(t.type,e)),FJ(t).scope=e}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(s[\"w\"](e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=wh(e.ecModel,e.name,NJ,t.getSeriesCount()),r=n.getVisual(\"decal\");n.setVisual(\"decal\",u(r,i))}else{var o=e.getRawData(),a={},l=FJ(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var c=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+\"\",s=wh(e.ecModel,r,l,c),h=n.getItemVisual(i,\"decal\");n.setItemVisual(i,\"decal\",u(h,s))}))}}function u(t,e){var n=t?s[\"m\"](s[\"m\"]({},e),t):e;return n.dirty=!0,n}}))}}function o(){var i=t.getLocaleModel().get(\"aria\"),r=n.getModel(\"label\");if(r.option=s[\"i\"](r.option,i),r.get(\"enabled\")){var o=e.getZr().dom;if(r.get(\"description\"))o.setAttribute(\"aria-label\",r.get(\"description\"));else{var u,h=t.getSeriesCount(),d=r.get([\"data\",\"maxCount\"])||10,p=r.get([\"series\",\"maxCount\"])||10,f=Math.min(h,p);if(!(h<1)){var g=l();if(g){var y=r.get([\"general\",\"withTitle\"]);u=a(y,{title:g})}else u=r.get([\"general\",\"withoutTitle\"]);var v=[],m=h>1?r.get([\"series\",\"multiple\",\"prefix\"]):r.get([\"series\",\"single\",\"prefix\"]);u+=a(m,{seriesCount:h}),t.eachSeries((function(t,e){if(e1?r.get([\"series\",\"multiple\",o]):r.get([\"series\",\"single\",o]),n=a(n,{seriesId:t.seriesIndex,seriesName:t.get(\"name\"),seriesType:c(t.subType)});var s=t.getData();if(s.count()>d){var l=r.get([\"data\",\"partialData\"]);n+=a(l,{displayCnt:d})}else n+=r.get([\"data\",\"allData\"]);for(var u=r.get([\"data\",\"separator\",\"middle\"]),p=r.get([\"data\",\"separator\",\"end\"]),g=[],y=0;y\":\"gt\",\">=\":\"gte\",\"=\":\"eq\",\"!=\":\"ne\",\"<>\":\"ne\"},WJ=function(){function t(t){var e=this._condVal=Object(s[\"C\"])(t)?new RegExp(t):Object(s[\"B\"])(t)?t:null;if(null==e){var n=\"\";0,Ih(n)}}return t.prototype.evaluate=function(t){var e=typeof t;return Object(s[\"C\"])(e)?this._condVal.test(t):!!Object(s[\"z\"])(e)&&this._condVal.test(t+\"\")},t}(),XJ=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),YJ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function f(t,n,i,r){u$(t,i)&&u$(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,c=nS:M2&&l.push(e),l}function d$(t,e,n,i,r,o,a,s,l,c){if(u$(t,n)&&u$(e,i)&&u$(r,a)&&u$(o,s))l.push(a,s);else{var u=2/c,h=u*u,d=a-t,p=s-e,f=Math.sqrt(d*d+p*p);d/=f,p/=f;var g=n-t,y=i-e,v=r-a,m=o-s,b=g*g+y*y,x=v*v+m*m;if(b=0&&S=0)l.push(a,s);else{var _=[],C=[];je(t,n,r,a,.5,_),je(e,i,o,s,.5,C),d$(_[0],C[0],_[1],C[1],_[2],C[2],_[3],C[3],l,c),d$(_[4],C[4],_[5],C[5],_[6],C[6],_[7],C[7],l,c)}}}}function p$(t,e){var n=h$(t),i=[];e=e||1;for(var r=0;r0)for(c=0;cMath.abs(c),h=f$([l,c],u?0:1,e),d=(u?s:c)/h.length,p=0;pr,a=f$([i,r],o?0:1,e),s=o?\"width\":\"height\",l=o?\"height\":\"width\",c=o?\"x\":\"y\",u=o?\"y\":\"x\",h=t[s]/a.length,d=0;d1?null:new vt(g*l+t,g*c+e)}function b$(t,e,n){var i=new vt;vt.sub(i,n,e),i.normalize();var r=new vt;vt.sub(r,t,e);var o=r.dot(i);return o}function x$(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function O$(t,e,n){for(var i=t.length,r=[],o=0;oa?(c.x=u.x=s+o/2,c.y=l,u.y=l+a):(c.y=u.y=l+a/2,c.x=s,u.x=s+o),O$(e,c,u)}function j$(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),o=t(e);j$(t,o[0],r,i),j$(t,o[1],n-r,i)}return i}function S$(t,e){for(var n=[],i=0;i0)for(var O=i/n,w=-i/2;w<=i/2;w+=O){var j=Math.sin(w),S=Math.cos(w),_=0;for(b=0;b0;c/=2){var u=0,h=0;(t&c)>0&&(u=1),(e&c)>0&&(h=1),l+=c*c*(3*u^h),0===h&&(1===u&&(t=c-1-t,e=c-1-e),s=t,t=e,e=s)}return l}function H$(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=Object(s[\"H\"])(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]})),a=Object(s[\"H\"])(o,(function(o,a){return{cp:o,z:G$(o[0],o[1],e,n,i,r),path:t[a]}}));return a.sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function W$(t){return M$(t.path,t.count)}function X$(){return{fromIndividuals:[],toIndividuals:[],count:0}}function Y$(t,e,n){var i=[];function r(t){for(var e=0;e=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var c=Math.ceil(o/2);n[r].many=l.slice(c,o),n[s].many=l.slice(0,c),s++}return n}var K$={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var l,c,u=i.getModel(\"universalTransition\").get(\"delay\"),h=Object.assign({setToFinal:!0},a);U$(t)&&(l=t,c=e),U$(e)&&(l=e,c=t);for(var d=l?l===t:t.length>e.length,p=l?Z$(c,l):Z$(d?e:t,[d?t:e]),f=0,g=0;g$$))for(var i=n.getIndices(),r=e0(n),o=0;o0&&r.group.traverse((function(t){t instanceof Va&&!t.animators.length&&t.animateFrom({style:{opacity:0}},o)}))}))}function c0(t){var e=t.getModel(\"universalTransition\").get(\"seriesKey\");return e||t.id}function u0(t){return Object(s[\"t\"])(t)?t.sort().join(\",\"):t}function h0(t){if(t.hostModel)return t.hostModel.getModel(\"universalTransition\").get(\"divideShape\")}function d0(t,e){var n=Object(s[\"f\"])(),i=Object(s[\"f\"])(),r=Object(s[\"f\"])();return Object(s[\"k\"])(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],l=c0(e),c=u0(l);i.set(c,{dataGroupId:o,data:a}),Object(s[\"t\"])(l)&&Object(s[\"k\"])(l,(function(t){r.set(t,{key:c,dataGroupId:o,data:a})}))})),Object(s[\"k\"])(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get(\"dataGroupId\"),o=t.getData(),a=c0(t),l=u0(a),c=i.get(l);if(c)n.set(l,{oldSeries:[{dataGroupId:c.dataGroupId,divide:h0(c.data),data:c.data}],newSeries:[{dataGroupId:e,divide:h0(o),data:o}]});else if(Object(s[\"t\"])(a)){0;var u=[];Object(s[\"k\"])(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:h0(e.data),data:e.data})})),u.length&&n.set(l,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:h0(o)}]})}else{var h=r.get(a);if(h){var d=n.get(h.key);d||(d={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:h0(h.data)}],newSeries:[]},n.set(h.key,d)),d.newSeries.push({dataGroupId:e,data:o,divide:h0(o)})}}}})),n}function p0(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:h0(e.oldData[n]),dim:t.dimension})})),Object(s[\"k\"])(ar(t.to),(function(t){var i=p0(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:h0(r),dim:t.dimension})}})),r.length>0&&o.length>0&&l0(r,o,i)}function g0(t){t.registerUpdateLifecycle(\"series:beforeupdate\",(function(t,e,n){Object(s[\"k\"])(ar(n.seriesTransition),(function(t){Object(s[\"k\"])(ar(t.to),(function(t){for(var e=n.updatedSeries,i=0;i=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,i=t.minY,r=t.maxX,a=t.maxY;if(e){var s=Object(o[\"c\"])(e,[t.minX,t.minY]),l=Object(o[\"c\"])(e,[t.maxX,t.minY]),c=Object(o[\"c\"])(e,[t.minX,t.maxY]),u=Object(o[\"c\"])(e,[t.maxX,t.maxY]);n=Math.min(s[0],l[0],c[0],u[0]),r=Math.max(s[0],l[0],c[0],u[0]),i=Math.min(s[1],l[1],c[1],u[1]),a=Math.max(s[1],l[1],c[1],u[1])}var h=this.attrs;if(h.shadowColor){var d=h.shadowBlur,p=void 0===d?0:d,f=h.shadowOffsetX,g=void 0===f?0:f,y=h.shadowOffsetY,v=void 0===y?0:y,m=n-p+g,b=r+p+g,x=i-p+v,O=a+p+v;n=Math.min(n,m),r=Math.max(r,b),i=Math.min(i,x),a=Math.max(a,O)}return{x:n,y:i,minX:n,minY:i,maxX:r,maxY:a,width:r-n,height:a-i}},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\"),i=this.get(\"endArrowShape\"),r=[t,e,1];r=this.invertFromMatrix(r);var o=r[0],a=r[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(i&&i.isHit(o,a))return!0}return!1},e}(r[\"a\"]);e[\"a\"]=a},\"31e6\":function(t,e,n){\"use strict\";var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"d7ff\"),a=n(\"8ea8\"),s=n(\"e546\"),l=n(\"3665\"),c=\"update_status\",u=[\"visible\",\"tip\",\"delegateObject\"],h=[\"container\",\"group\",\"shapesMap\",\"isRegister\",\"isUpdating\",\"destroyed\"],d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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(r[\"j\"])(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 i=this.get(\"group\");return i.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,r=e.component,o=Object(i[\"f\"])(e,[\"id\",\"component\"]),a=new r(Object(i[\"a\"])(Object(i[\"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 i=e.attr(\"opacity\");Object(r[\"K\"])(i)&&(i=1),e.attr(\"opacity\",0),e.animate({opacity:i},n)},e.prototype.removeAnimation=function(t,e,n){e.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,e,n,i){e.animate(n,i)},e.prototype.updateElements=function(t,e){var n,i=this,o=this.get(\"animate\"),a=this.get(\"animateOption\"),l=t.getChildren().slice(0);Object(r[\"j\"])(l,(function(t){var l=t.get(\"id\"),d=i.getElementById(l),p=t.get(\"name\");if(d)if(t.get(\"isComponent\")){var f=t.get(\"component\"),g=d.get(\"component\"),y=Object(r[\"hb\"])(f.cfg,Object(r[\"i\"])(Object(r[\"T\"])(f.cfg),h));g.update(y),d.set(c,\"update\")}else{var v=i.getReplaceAttrs(d,t);o&&a.update?i.updateAnimation(p,d,v,a.update):d.attr(v),t.isGroup()&&i.updateElements(t,d),Object(r[\"j\"])(u,(function(e){d.set(e,t.get(e))})),Object(s[\"m\"])(d,t),n=d,d.set(c,\"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(i.registerElement(t),t.set(c,\"add\"),t.get(\"isComponent\")){f=t.get(\"component\");f.set(\"container\",e)}else t.isGroup()&&i.registerNewGroup(t);if(n=t,o){var x=i.get(\"isInit\")?a.appear:a.enter;x&&i.addAnimation(p,t,x)}}}))},e.prototype.clearUpdateStatus=function(t){var e=t.getChildren();Object(r[\"j\"])(e,(function(t){t.set(c,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(r[\"db\"])(e.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,e){var n=t.attr(),i=e.attr();return Object(r[\"j\"])(n,(function(t,e){void 0===i[e]&&(i[e]=void 0)})),i},e.prototype.registerNewGroup=function(t){var e=this,n=t.getChildren();Object(r[\"j\"])(n,(function(t){e.registerElement(t),t.set(c,\"add\"),t.isGroup()&&e.registerNewGroup(t)}))},e.prototype.deleteElements=function(){var t=this,e=this.get(\"shapesMap\"),n=[];Object(r[\"j\"])(e,(function(t,e){!t.get(c)||t.destroyed?n.push([e,t]):t.set(c,null)}));var i=this.get(\"animate\"),o=this.get(\"animateOption\");Object(r[\"j\"])(n,(function(n){var a=n[0],s=n[1];if(!s.destroyed){var l=s.get(\"name\");if(i&&o.leave){var c=Object(r[\"db\"])({callback:function(){t.removeElement(s)}},o.leave);t.removeAnimation(l,s,c)}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}(l[\"a\"]);e[\"a\"]=d},\"31f7\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i})),n.d(e,\"b\",(function(){return r}));var i=[\"#FAAD14\",\"#E8EDF3\"],r={percent:.2,color:i,animation:{}}},3226:function(t,e,n){\"use strict\";n.d(e,\"e\",(function(){return o})),n.d(e,\"c\",(function(){return a})),n.d(e,\"d\",(function(){return s})),n.d(e,\"b\",(function(){return l})),n.d(e,\"a\",(function(){return u}));var i=n(\"cc94\"),r=n(\"62e3\"),o=\"$$stock-range$$\",a=\"trend\",s=\"up\",l=\"down\",c={showMarkers:!1,showCrosshairs:!0,shared:!0,crosshairs:{type:\"xy\",follow:!0,text:function(t,e,n){var i;if(\"x\"===t){var r=n[0];i=r?r.title:e}else i=e;return{position:\"y\"===t?\"start\":\"end\",content:i,style:{fill:\"#dfdfdf\"}}},textBackground:{padding:[2,4],style:{fill:\"#666\"}}}},u=Object(r[\"d\"])({},i[\"b\"].getDefaultOptions(),{tooltip:c,interactions:[{type:\"tooltip\"}],legend:{position:\"top-left\"},risingFill:\"#ef5350\",fallingFill:\"#26a69a\"})},\"323ed\":function(t,e,n){\"use strict\";var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"8937\"),a=n(\"c34d\"),s=n(\"b4aa\"),l=n(\"62e3\"),c=\"color\",u=Object(l[\"d\"])({},r[\"b\"].getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:[\"text\",\"value\",c],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}}),h=n(\"f45c\"),d={font:function(){return\"serif\"},padding:1,size:[500,500],spiral:\"archimedean\",timeInterval:3e3};function p(t,e){return e=Object(o[\"b\"])({},d,e),f(t,e)}function f(t,e){var n=L();[\"font\",\"fontSize\",\"fontWeight\",\"padding\",\"rotate\",\"size\",\"spiral\",\"timeInterval\",\"random\"].forEach((function(t){Object(o[\"K\"])(e[t])||n[t](e[t])})),n.words(t),e.imageMask&&n.createMask(e.imageMask);var i=n.start(),r=i._tags;r.forEach((function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2}));var a=e.size,s=a[0],l=a[1];return r.push({text:\"\",value:0,x:0,y:0,opacity:0}),r.push({text:\"\",value:0,x:s,y:l,opacity:0}),r}var g=Math.PI/180,y=64,v=2048;function m(t){return t.text}function b(){return\"serif\"}function x(){return\"normal\"}function O(t){return t.value}function w(){return 90*~~(2*Math.random())}function j(){return 1}function S(t,e,n,i){if(!e.sprite){var r=t.context,o=t.ratio;r.clearRect(0,0,(y<<5)/o,v/o);var a=0,s=0,l=0,c=n.length;--i;while(++i>5<<5,h=~~Math.max(Math.abs(m+b),Math.abs(m-b))}else u=u+31>>5<<5;if(h>l&&(l=h),a+u>=y<<5&&(a=0,s+=l,l=0),s+h>=v)break;r.translate((a+(u>>1))/o,(s+(h>>1))/o),e.rotate&&r.rotate(e.rotate*g),r.fillText(e.text,0,0),e.padding&&(r.lineWidth=2*e.padding,r.strokeText(e.text,0,0)),r.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=r.getImageData(0,0,(y<<5)/o,v/o).data,w=[];while(--i>=0)if(e=n[i],e.hasText){u=e.width;for(var j=u>>5,S=(h=e.y1-e.y0,0);S>5),k=O[(s+M)*(y<<5)+(a+S)<<2]?1<<31-S%32:0;w[A]|=k,_|=k}_?C=M:(e.y0++,h--,M--,s++)}e.y1=e.y0+C,e.sprite=w.slice(0,(e.y1-e.y0)*j)}}}function _(t,e,n){n>>=5;for(var i,r=t.sprite,o=t.width>>5,a=t.x-(o<<4),s=127&a,l=32-s,c=t.y1-t.y0,u=(t.y+t.y0)*n+(a>>5),h=0;h>>s:0))&e[u+d])return!0;u+=n}return!1}function C(t,e){var n=t[0],i=t[1];e.x+e.x0i.x&&(i.x=e.x+e.x1),e.y+e.y1>i.y&&(i.y=e.y+e.y1)}function M(t,e){return t.x+t.x1>e[0].x&&t.x+t.x0e[0].y&&t.y+t.y0>2);t.width=(y<<5)/e,t.height=v/e;var n=t.getContext(\"2d\",{willReadFrequently:!0});return n.fillStyle=n.strokeStyle=\"red\",n.textAlign=\"center\",{context:n,ratio:e}}function g(e,n,i){var r,o,l,c=n.x,u=n.y,h=Math.sqrt(t[0]*t[0]+t[1]*t[1]),d=a(t),p=s()<.5?1:-1,f=-p;while(r=d(f+=p)){if(o=~~r[0],l=~~r[1],Math.min(Math.abs(o),Math.abs(l))>=h)break;if(n.x=c+o,n.y=u+l,!(n.x+n.x0<0||n.y+n.y0<0||n.x+n.x1>t[0]||n.y+n.y1>t[1])&&(!i||!_(n,e,t[0]))&&(!i||M(n,i))){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,w=void 0,j=(n.y+n.y0)*v+(m>>5),S=0;S>>b:0);j+=v}return delete n.sprite,!0}}return!1}return p.start=function(){var a=t[0],y=t[1],v=f(d()),m=p.board?p.board:I((t[0]>>5)*t[1]),b=l.length,x=[],O=l.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=i.call(this,t,a,s),t.rotate=r.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})),w=-1,j=p.board?[{x:0,y:0},{x:a,y:y}]:null;function _(){var e=Date.now();while(Date.now()-e>1,n.y=y*(s()+.5)>>1,S(v,n,O,w),n.hasText&&g(m,n,j)&&(x.push(n),j?p.hasImage||C(j,n):j=[{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)}p._tags=x,p._bounds=j}return _(),p},p.createMask=function(e){var n=document.createElement(\"canvas\"),i=t[0],r=t[1];if(i&&r){var o=i>>5,a=I((i>>5)*r);n.width=i,n.height=r;var s=n.getContext(\"2d\");s.drawImage(e,0,0,e.width,e.height,0,0,i,r);for(var l=s.getImageData(0,0,i,r).data,c=0;c>5),d=c*i+u<<2,f=l[d]>=250&&l[d+1]>=250&&l[d+2]>=250,g=f?1<<31-u%32:0;a[h]|=g}p.board=a,p.hasImage=!0}},p.timeInterval=function(t){c=null==t?1/0:t},p.words=function(t){l=t},p.size=function(e){t=[+e[0],+e[1]]},p.font=function(t){e=D(t)},p.fontWeight=function(t){i=D(t)},p.rotate=function(t){r=D(t)},p.spiral=function(t){a=P[t]||t},p.fontSize=function(t){n=D(t)},p.padding=function(t){o=D(t)},p.random=function(t){s=D(t)},p}function R(t){var e=t.options,n=t.chart,r=n,a=r.width,s=r.height,l=r.padding,c=r.appendPadding,u=r.ele,h=e.data,d=e.imageMask,f=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(!h||!h.length)return[];var S=v.fontFamily,_=v.fontWeight,C=v.padding,M=v.fontSize,A=z(h,g),k=[H(A),W(A)],I=h.map((function(t){return{text:t[f],value:t[g],color:t[y],datum:t}})),T={imageMask:d,font:S,fontSize:N(M,k),fontWeight:_,size:E({width:a,height:s,padding:l,appendPadding:c,autoFit:w,container:u}),padding:C,timeInterval:m,random:b,spiral:x,rotate:V(e)};if(Object(o[\"I\"])(j)){var P=I.map((function(t,e,r){return Object(i[\"a\"])(Object(i[\"a\"])(Object(i[\"a\"])({},t),{hasText:!!t.text,font:D(T.font)(t,e,r),weight:D(T.fontWeight)(t,e,r),rotate:D(T.rotate)(t,e,r),size:D(T.fontSize)(t,e,r),style:\"normal\"}),j.call(n,t,e,r))}));return P.push({text:\"\",value:0,x:0,y:0,opacity:0}),P.push({text:\"\",value:0,x:T.size[0],y:T.size[1],opacity:0}),P}return p(I,T)}function E(t){var e=t.width,n=t.height,i=t.container,r=t.autoFit,o=t.padding,a=t.appendPadding;if(r){var s=Object(l[\"l\"])(i);e=s.width,n=s.height}e=e||400,n=n||400;var c=B({padding:o,appendPadding:a}),u=c[0],h=c[1],d=c[2],p=c[3],f=[e-(p+h),n-(u+d)];return f}function B(t){var e=Object(h[\"b\"])(t.padding),n=Object(h[\"b\"])(t.appendPadding),i=e[0]+n[0],r=e[1]+n[1],o=e[2]+n[2],a=e[3]+n[3];return[i,r,o,a]}function F(t){return new Promise((function(e,n){if(t instanceof HTMLImageElement)e(t);else{if(Object(o[\"Q\"])(t)){var i=new Image;return i.crossOrigin=\"anonymous\",i.src=t,i.onload=function(){e(i)},void(i.onerror=function(){Object(l[\"r\"])(l[\"a\"].ERROR,!1,\"image %s load failed !!!\",t),n()})}Object(l[\"r\"])(l[\"a\"].WARN,void 0===t,\"The type of imageMask option must be String or HTMLImageElement.\"),n()}}))}function N(t,e){if(Object(o[\"I\"])(t))return t;if(Object(o[\"C\"])(t)){var n=t[0],i=t[1];if(!e)return function(){return(i+n)/2};var r=e[0],a=e[1];return a===r?function(){return(i+n)/2}:function(t){var e=t.value;return(i-n)/(a-r)*(e-r)+n}}return function(){return t}}function z(t,e){return t.map((function(t){return t[e]})).filter((function(t){return\"number\"===typeof t&&!isNaN(t)}))}function V(t){var e=G(t),n=e.rotation,i=e.rotationSteps;if(!Object(o[\"C\"])(n))return n;var r=n[0],a=n[1],s=1===i?0:(a-r)/(i-1);return function(){return a===r?a:Math.floor(Math.random()*i)*s}}function G(t){var e=t.wordStyle.rotationSteps;return e<1&&(Object(l[\"r\"])(l[\"a\"].WARN,!1,\"The rotationSteps option must be greater than or equal to 1.\"),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}}function H(t){return Math.min.apply(Math,t)}function W(t){return Math.max.apply(Math,t)}function X(t){var e=t.chart,n=t.options,r=n.colorField,a=n.color,u=R(t);e.data(u);var h=Object(l[\"d\"])({},t,{options:{xField:\"x\",yField:\"y\",seriesField:r&&c,rawFields:Object(o[\"I\"])(a)&&Object(i[\"h\"])(Object(o[\"s\"])(n,\"rawFields\",[]),[\"datum\"]),point:{color:a,shape:\"word-cloud\"}}}),d=Object(s[\"e\"])(h).ext;return d.geometry.label(!1),e.coordinate().reflect(\"y\"),e.axis(!1),t}function Y(t){return Object(l[\"g\"])(Object(a[\"g\"])({x:{nice:!1},y:{nice:!1}}))(t)}function q(t){var e=t.chart,n=t.options,i=n.legend,r=n.colorField;return!1===i?e.legend(!1):r&&e.legend(c,i),t}function U(t){Object(l[\"g\"])(X,Y,a[\"l\"],q,a[\"c\"],a[\"a\"],a[\"k\"],a[\"j\"])(t)}var Z=n(\"917c\");function K(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(Z[\"p\"])(\"point\",\"word-cloud\",{draw:function(t,e){var n=t.x,r=t.y,o=e.addShape(\"text\",{attrs:Object(i[\"a\"])(Object(i[\"a\"])({},K(t)),{x:n,y:r})}),a=t.data.rotate;return\"number\"===typeof a&&Z[\"h\"].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(i[\"c\"])(e,t),e.getDefaultOptions=function(){return u},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(R({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){var e=this;return new Promise((function(n){var r=e.options.imageMask;if(!r)return t.prototype.render.call(e),void n();var o=function(r){e.options=Object(i[\"a\"])(Object(i[\"a\"])({},e.options),{imageMask:r||null}),t.prototype.render.call(e),n()};F(r).then(o).catch(o)}))},e.prototype.getSchemaAdaptor=function(){return U},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout((function(){t.prototype.triggerResize.call(e)})))}})(r[\"b\"])},\"327f\":function(t,e,n){\"use strict\";n(\"28a5\");e[\"a\"]={name:\"bigScreenMixin\",data:function(){return{scale:1,height:1080,width:1920}},mounted:function(){var t=this;this.setScale(),window.addEventListener(\"resize\",this.setScale),this.$store.dispatch(\"menu/actionFrontMenus\").then((function(e){var n=[];n=t.frontMenus.filter((function(t){return\"bigScreen\"===t.alias}))[0].children,t.currentMenu=n.filter((function(e){return e.alias==t.currentKey}))[0],t.menuData=n.filter((function(e){return e.alias!==t.currentKey})),t.workPlatMenu=t.frontMenus.filter((function(t){return\"normal\"===t.alias})),t.showWorkPlat=!!t.workPlatMenu.length}))},methods:{setScale:function(){this.scale=this.getScale(),this.$refs.ScaleBox&&this.$refs.ScaleBox.style.setProperty(\"--scale\",this.scale)},getScale:function(){var t=this.width,e=this.height,n=window.innerHeight/e,i=window.innerWidth/t;return i0)}));l.length>0?(Object(a[\"a\"])(l,(function(t){var e=t.getBBox();o.push(e.minX,e.maxX),s.push(e.minY,e.maxY)})),t=Object(r[\"bb\"])(o),e=Object(r[\"Y\"])(o),n=Object(r[\"bb\"])(s),i=Object(r[\"Y\"])(s)):(t=0,e=0,n=0,i=0);var c={x:t,y:n,minX:t,minY:n,maxX:e,maxY:i,width:e-t,height:i-n};return c},e.prototype.getCanvasBBox=function(){var t=1/0,e=-1/0,n=1/0,i=-1/0,o=[],s=[],l=this.getChildren().filter((function(t){return t.get(\"visible\")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)}));l.length>0?(Object(a[\"a\"])(l,(function(t){var e=t.getCanvasBBox();o.push(e.minX,e.maxX),s.push(e.minY,e.maxY)})),t=Object(r[\"bb\"])(o),e=Object(r[\"Y\"])(o),n=Object(r[\"bb\"])(s),i=Object(r[\"Y\"])(s)):(t=0,e=0,n=0,i=0);var c={x:t,y:n,minX:t,minY:n,maxX:e,maxY:i,width:e-t,height:i-n};return c},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e[\"children\"]=[],e},e.prototype.onAttrChange=function(e,n,i){if(t.prototype.onAttrChange.call(this,e,n,i),\"matrix\"===e){var r=this.getTotalMatrix();this._applyChildrenMarix(r)}},e.prototype.applyMatrix=function(e){var n=this.getTotalMatrix();t.prototype.applyMatrix.call(this,e);var i=this.getTotalMatrix();i!==n&&this._applyChildrenMarix(i)},e.prototype._applyChildrenMarix=function(t){var e=this.getChildren();Object(a[\"a\"])(e,(function(e){e.applyMatrix(t)}))},e.prototype.addShape=function(){for(var t=[],e=0;e=0;o--){var s=t[o];if(Object(a[\"b\"])(s)&&(s.isGroup()?r=s.getShape(e,n,i):s.isHit(e,n)&&(r=s)),r)break}return r},e.prototype.add=function(t){var e=this.getCanvas(),n=this.getChildren(),i=this.get(\"timeline\"),r=t.getParent();r&&h(r,t,!1),t.set(\"parent\",this),e&&c(t,e),i&&u(t,i),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(a[\"a\"])(t,(function(t,e){return t[l]=e,t})),t.sort(d((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(a[\"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(a[\"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}(o[\"a\"]);e[\"a\"]=p},\"33ec\":function(t,e,n){var i=n(\"b041\");e=t.exports=n(\"2350\")(!0),e.push([t.i,\".primaryColor[data-v-0e454976]{background-color:#4080ff}[data-v-0e454976]:export{aside_width:11.97917vw}*[data-v-0e454976]{font-family:SimHei}div[data-v-0e454976]{box-sizing:border-box}#ScaleBox[data-v-0e454976]{--scale:1}.el-table__empty-text[data-v-0e454976]{font-size:16PX}.bigscreen-root[data-v-0e454976]{width:100%;height:100%;background-color:#fff;overflow:hidden}.ScaleBox[data-v-0e454976]{position:absolute;transform:scale(var(--scale)) translate(-50%,-50%);transform-origin:0 0;left:50%;top:50%;width:1920PX;height:1080PX}.content-body[data-v-0e454976]{width:100%;height:100%;position:relative}.content-body[data-v-0e454976] .el-table__empty-text{font-size:16PX}.flex[data-v-0e454976]{display:flex}.flex-center[data-v-0e454976],.flex-center-column[data-v-0e454976]{display:flex;justify-content:center;align-items:center}.flex-center-column[data-v-0e454976]{flex-direction:column}.flex-around-column[data-v-0e454976]{flex-direction:column}.flex-around-column[data-v-0e454976],.flex-space-b[data-v-0e454976]{display:flex;justify-content:space-between;align-items:center}.flex-space-a[data-v-0e454976]{display:flex;justify-content:space-around;align-items:center}.big-screen-data-empty[data-v-0e454976]{width:100%;height:100%;color:#b7b7b7}.screen-container[data-v-0e454976]{width:100%;height:100%;background-color:#072d62;color:#fff;position:relative}.screen-header-wrapper[data-v-0e454976]{height:90PX;width:100%;position:relative}.screen-header-wrapper .leftLine[data-v-0e454976]{width:194PX;height:47PX;position:absolute;left:619PX;top:13PX}.screen-header-wrapper .leftLine img[data-v-0e454976]{width:194PX;height:47PX}.screen-header-wrapper .rightLine[data-v-0e454976]{width:194PX;height:47PX;position:absolute;left:1098PX;top:13PX}.screen-header-wrapper .rightLine img[data-v-0e454976]{width:194PX;height:47PX}.screen-header-wrapper .title[data-v-0e454976]{width:706PX;height:100%;text-align:center}.screen-header-wrapper .title img[data-v-0e454976]{width:914PX;height:29PX;position:absolute;left:456PX;top:59PX}.screen-header[data-v-0e454976]{position:absolute;left:0;top:0;background:url(\"+i(n(\"a3ea\"))+\") no-repeat 50%/100% 100%;display:flex;height:90PX;width:100%;justify-content:space-between}.screen-header .header-left[data-v-0e454976]{display:flex;justify-content:start}.screen-header .header-left[data-v-0e454976],.screen-header .header-right[data-v-0e454976]{width:26%;position:relative;padding:0 20PX}.screen-header .header-right[data-v-0e454976]{width:20%;text-align:right}.screen-header .header-right[data-v-0e454976]:before{background:url(\"+i(n(\"90df\"))+\") no-repeat 50%/100% 100%}.screen-header .header-router-btn[data-v-0e454976]{position:relative;z-index:2;cursor:pointer;display:inline-block;font-size:14PX;font-weight:400;color:#fff;padding:4PX 20PX;text-align:center;margin-top:14PX;margin-left:20PX;background:url(\"+i(n(\"6775\"))+') no-repeat 50%/100% 100%}.screen-header .header-center[data-v-0e454976]{width:20%;text-align:left;padding-left:10PX}.screen-header .header-center .screen-header-title[data-v-0e454976]{height:60PX;line-height:60PX;font-weight:700;font-size:36PX;font-family:SimHei;text-shadow:0 0 8PX #005dbc;letter-spacing:9PX}.screen-header .full-screen-btn[data-v-0e454976]{display:inline-block}.screen-header .header-logout[data-v-0e454976]{margin-left:20PX;font-size:32PX;margin-top:16PX;vertical-align:top;color:#479aee}.screen-header-nav[data-v-0e454976]{padding:0;margin:0;width:40%;height:100%}.screen-header-nav ul.ul-item[data-v-0e454976]{padding:0;margin:0;width:100%;height:100%;display:grid;grid-template:repeat(1,1fr)/1fr 1fr 1fr;gap:10PX 12PX}.screen-header-nav ul.ul-item li.li-item[data-v-0e454976]{padding:0;margin:0;display:flex;height:100%;justify-content:center;align-items:center;transition:all .3s linear 0s;writing-mode:horizontal-tb}.screen-header-nav ul.ul-item li.li-item span[data-v-0e454976]{font-size:24PX;font-family:黑体;color:hsla(0,0%,100%,.9);margin-top:-40PX;cursor:pointer}.screen-header-nav ul.ul-item li.active span[data-v-0e454976]{font-size:26PX;font-weight:700;color:#57c3c2;text-shadow:0 3PX 8PX #544cff}.screen-body[data-v-0e454976]{height:calc(100% - 100PX);width:100%;padding:10PX 10PX 10PX 10PX;box-sizing:border-box;display:flex}.scroll-table .scroll-table-header[data-v-0e454976]{width:100%;display:flex;justify-content:space-around;height:32PX;line-height:32PX;position:relative;margin-bottom:2PX}.scroll-table .scroll-table-header[data-v-0e454976]:after{content:\"\";position:absolute;left:0;top:0;width:100%;height:100%;background:linear-gradient(0deg,#0273e9,rgba(2,115,233,0));opacity:.3}.scroll-table .scroll-table-body[data-v-0e454976]{height:calc(100% - 32PX);overflow:hidden}.scroll-table .header-item[data-v-0e454976]{font-weight:400}.scroll-table .header-item[data-v-0e454976],.scroll-table .header-item span[data-v-0e454976]{font-size:16PX;color:#d8dddd;padding:0 4PX;text-align:center}.scroll-table .header-item span[data-v-0e454976]{font-weight:700;font-weight:400}.scroll-table .header-item span.level[data-v-0e454976]{display:inline-block;width:30PX;line-height:20PX;height:20PX;border-radius:10PX;padding:0;text-align:center;color:#fff;font-weight:700;position:relative;z-index:10}.scroll-table .header-item .levelA[data-v-0e454976]{background-color:#20a367}.scroll-table .header-item .levelB[data-v-0e454976]{background-color:#3877b2}.scroll-table .header-item .levelC[data-v-0e454976]{background-color:#e3c428}.scroll-table .header-item .levelD[data-v-0e454976]{background-color:#e49317}.scroll-table .header-item .levelE[data-v-0e454976]{background-color:#b04332}.scroll-table .header-long[data-v-0e454976]{line-height:114%;font-size:14PX}.scroll-table .scroll-table-column[data-v-0e454976]{cursor:pointer;width:100%;display:flex;justify-content:space-around;height:32PX;line-height:32PX}.scroll-table .scroll-table-column[data-v-0e454976]:nth-of-type(odd){background:rgba(2,115,233,.05);margin:1PX 0}.scroll-table .scroll-table-column[data-v-0e454976]:nth-of-type(2n){background:rgba(2,115,233,.1);margin:1PX 0}.scroll-table .column-item[data-v-0e454976]{padding:0 4PX;text-align:center;font-size:16PX;color:#dbdbdb;box-sizing:border-box;font-weight:400;color:#d7f1ff}.scroll-table .column-item span[data-v-0e454976]{font-size:16PX}.scroll-table .column-item-rotate[data-v-0e454976]{transform:rotateX(180deg)}.scroll-table .columnActive[data-v-0e454976]{color:red}.scroll-table .column-trend-icon[data-v-0e454976]{display:inline-block;width:30PX;height:30PX;line-height:30PX}.scroll-table .cqlt-icon-arrow[data-v-0e454976]{font-size:18PX}.scroll-table .column-trend-icon-1[data-v-0e454976]{color:#59c06c;text-shadow:#59c06c 1PX 0 12PX}.scroll-table .column-trend-icon-2[data-v-0e454976]{color:#fe3b30;text-shadow:#fe3b30 1PX 0 12PX}.sub-title[data-v-0e454976]{margin-top:-4PX;width:100%;height:18PX;text-align:center;position:relative;font-size:16PX;font-family:SimHei;font-weight:800;color:#fff;text-shadow:0 0 16PX #266bf2}.sub-title[data-v-0e454976]:after,.sub-title[data-v-0e454976]:before{content:\"\";position:absolute;top:47%;width:40PX;height:4PX}.sub-title[data-v-0e454976]:before{left:33%;background:url('+i(n(\"a63f\"))+\") no-repeat 50%/100% 100%}.sub-title[data-v-0e454976]:after{right:33%;background:url(\"+i(n(\"c541\"))+\") no-repeat 50%/100% 100%}.reform-pilot-container[data-v-0e454976]{position:absolute;left:4%;top:16%;width:92%;height:77%}.reform-pilot-top[data-v-0e454976]{width:100%;height:60%}.reform-pilot-bottom[data-v-0e454976]{width:100%;height:40%}.reform-pilot-bottom-content[data-v-0e454976]{width:100%;height:calc(100% - 40PX);margin-top:3%}.reform-pilot-item[data-v-0e454976]{cursor:pointer;flex:1;width:31.33%;height:100%;margin:0 1%;background:rgba(2,115,233,.1)}.pilot-item-title[data-v-0e454976]{width:100%;text-align:center;margin-top:-10PX}.pilot-item-title .block[data-v-0e454976]{color:#0273e9;font-size:20PX;font-weight:700}.pilot-item-title .text[data-v-0e454976]{margin:0 4PX;font-size:16PX;font-family:SimHei;font-weight:500}.reform-pilot-item-inner[data-v-0e454976]{margin-top:0}.item-inner-left[data-v-0e454976]{display:flex;justify-items:center;flex-direction:column;align-items:center}.item-inner-left .item-inner-top[data-v-0e454976]{background:url(\"+i(n(\"6cdb\"))+\") no-repeat 50%/100% 100%}.item-inner-left .item-inner-bottom[data-v-0e454976]{width:50PX;border:1PX solid #0273e9;background:rgba(2,115,233,.2)}.item-inner-right[data-v-0e454976]{display:flex;justify-items:center;flex-direction:column;align-items:center;margin-left:8%}.item-inner-right .item-inner-top[data-v-0e454976]{background:url(\"+i(n(\"60e8\"))+\") no-repeat 50%/100% 100%}.item-inner-right .item-inner-bottom[data-v-0e454976]{width:90PX}.item-inner-right .icon-arrow[data-v-0e454976]{width:12PX;height:14PX;margin-left:4PX}.reform-pilot-item .item-inner-top[data-v-0e454976]{width:76PX;height:42PX}.reform-pilot-item .item-inner-bottom[data-v-0e454976]{height:24PX;line-height:24PX;font-size:15PX;font-family:SimHei;font-weight:500;color:#fff;position:relative;text-align:center}.reform-pilot-item .inner-num[data-v-0e454976]{font-size:24PX;font-family:SimHei;font-weight:700;margin-right:4PX;color:#a4dcff}.reform-pilot-item .inner-unit[data-v-0e454976]{font-size:14PX;font-family:SimHei;font-weight:400;color:#a4dcff}.reform-pilot-item .item-inner-right .inner-num[data-v-0e454976],.reform-pilot-item .item-inner-right .inner-unit[data-v-0e454976]{color:#a4dcff}.reform-pilot-item.item-g .item-inner-right .inner-num[data-v-0e454976],.reform-pilot-item.item-g .item-inner-right .inner-unit[data-v-0e454976]{color:#96ffca}.reform-pilot-item.item-g .item-inner-right .item-inner-bottom[data-v-0e454976]{border:1PX solid #53cd67;background:rgba(83,205,103,.2)}.reform-pilot-item.item-y .item-inner-right .inner-num[data-v-0e454976],.reform-pilot-item.item-y .item-inner-right .inner-unit[data-v-0e454976]{color:#ffce86}.reform-pilot-item.item-y .item-inner-right .item-inner-top[data-v-0e454976]{background:url(\"+i(n(\"8256\"))+\") no-repeat 50%/100% 100%}.reform-pilot-item.item-y .item-inner-right .item-inner-bottom[data-v-0e454976]{border:1PX solid #ffb03b;background:rgba(255,176,59,.2)}.reform-pilot-item.item-p .item-inner-right .inner-num[data-v-0e454976],.reform-pilot-item.item-p .item-inner-right .inner-unit[data-v-0e454976]{color:#ffbbc9}.reform-pilot-item.item-p .item-inner-right .item-inner-top[data-v-0e454976]{background:url(\"+i(n(\"54c4\"))+\") no-repeat 50%/100% 100%}.reform-pilot-item.item-p .item-inner-right .item-inner-bottom[data-v-0e454976]{border:1PX solid #ff7b97;background:rgba(255,123,151,.2)}.single-top-container[data-v-0e454976]{position:absolute;left:6%;top:19.5%;width:88%;height:60%}.single-top-container .single-table-body[data-v-0e454976]{height:99%;width:calc(100% + 4PX);font-size:12PX;font-family:SimHei;font-weight:400;color:#d7f1ff;margin-left:-2PX}.single-top-container table[data-v-0e454976]{table-layout:fixed}.single-top-container td[data-v-0e454976]{width:33.33%;box-sizing:border-box;padding:0 4PX;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.single-top-container .single-item-sn[data-v-0e454976]{padding-right:6PX}.single-top-container .single-item-title[data-v-0e454976]{width:33.33%;height:33.33;padding:0 4PX;box-sizing:border-box;background-color:rgba(23,144,255,.15);font-size:12PX}.single-top-container .single-item-title.title-sec[data-v-0e454976]{background-color:rgba(0,255,255,.15)}.single-top-container tr:first-of-type td[data-v-0e454976]{background-color:rgba(23,144,255,.1)}.single-top-container tr:nth-of-type(2) td[data-v-0e454976],.single-top-container tr:nth-of-type(6) td[data-v-0e454976]{background-color:rgba(0,255,255,.1)}.single-top-container tr:nth-of-type(3) td[data-v-0e454976]{background-color:rgba(23,144,255,.1)}.single-top-container .single-item-sn img[data-v-0e454976]{width:18PX;height:18PX;vertical-align:middle}.major-table-single .single-item-title[data-v-0e454976]{width:28%}.major-table-single td.project-name[data-v-0e454976]{width:42%}.major-table-single td[data-v-0e454976]{width:30%;text-overflow:clip!important;white-space:normal!important}.scroll-table .scroll-table-column[data-v-0e454976]{height:auto!important;line-height:normal!important;padding:10PX 0}.reform-pilot-container .reform-pilot-left[data-v-0e454976]{width:62%;height:100%}.reform-pilot-container .reform-pilot-right[data-v-0e454976]{width:38%;height:100%}.reform-pilot-container .reform-pilot-item[data-v-0e454976]{cursor:pointer;width:100%;height:28.33%;background:rgba(2,115,233,.1);margin-top:5%;box-shadow:inset 0 0 10PX 2PX rgba(2,115,233,.5)}.reform-pilot-container .reform-pilot-item-inner[data-v-0e454976]{margin-top:0}.reform-pilot-container .reform-pilot-item[data-v-0e454976]:nth-last-of-type(2){margin-top:5%}.reform-pilot-container .reform-pilot-bottom-content[data-v-0e454976]{margin-top:0;height:calc(100% - 16PX)}.reform-pilot-container .reform-pilot-item .item-inner-top[data-v-0e454976]{width:70PX;height:24PX}.reform-pilot-container .reform-pilot-item .item-inner-bottom[data-v-0e454976]{height:22PX;line-height:22PX;font-size:12PX;font-family:SimHei;font-weight:500;color:#fff;position:relative;text-align:center}.reform-pilot-container .reform-pilot-item .inner-num[data-v-0e454976]{font-size:20PX;font-family:SimHei;font-weight:700;margin-right:4PX;color:#a4dcff}.reform-pilot-container .reform-pilot-item .inner-unit[data-v-0e454976]{font-size:14PX;font-family:SimHei;font-weight:400;color:#a4dcff}.reform-pilot-container .reform-pilot-item .item-inner-right .inner-num[data-v-0e454976],.reform-pilot-container .reform-pilot-item .item-inner-right .inner-unit[data-v-0e454976]{color:#a4dcff}.reform-pilot-container .reform-pilot-right .sub-title[data-v-0e454976]:before{left:16%}.reform-pilot-container .reform-pilot-right .sub-title[data-v-0e454976]:after{right:16%}.top-item-2 .sub-title[data-v-0e454976]:before{width:60PX;left:26%!important}.top-item-2 .sub-title[data-v-0e454976]:after{width:60PX;right:26%!important}.trends-board-container.bottom[data-v-0e454976]{height:120PX!important;bottom:2%!important}.reform-pilot.tab-btns[data-v-0e454976]{right:2%!important;top:3%!important}.reform-pilot.tab-btns .tab-btn-more[data-v-0e454976]{margin:0!important}.box-select[data-v-0e454976]{width:180PX;height:34PX;display:flex;justify-content:center;position:relative;margin-top:16PX}.box-select[data-v-0e454976] .el-input input,.box-select[data-v-0e454976] .el-input input:focus{border:2PX solid rgba(7,46,126,.1);background-color:rgba(7,46,126,.1)}.box-select[data-v-0e454976] .el-input input{color:rgba(230,247,255,.7);font-size:15PX;font-family:Microsoft YaHei}.box-select .el-select-dropdown__item[data-v-0e454976],.box-select[data-v-0e454976] .el-scrollbar{background-color:#0d57ac!important;color:rgba(230,247,255,.7)}.box-select .el-select-dropdown__item span[data-v-0e454976],.box-select[data-v-0e454976] .el-scrollbar span{font-size:15PX;font-family:Microsoft YaHei;color:rgba(230,247,255,.7)}.box-select[data-v-0e454976] .el-select-dropdown{border:2PX solid #0d57ac}.dot[data-v-0e454976]{display:inline-block;width:10PX;height:10PX;border-radius:10PX;margin:0 16PX 0 12PX;background:linear-gradient(0deg,#8dc7ff,#fff);vertical-align:middle}.data-push-time[data-v-0e454976]{margin-top:20PX;font-size:14PX;font-weight:400;font-family:Source Han Sans CN;color:#cae5ff;margin-left:10PX}\",\"\",{version:3,sources:[\"D:/jenkins/workspace/ljzc-fvue/src/views/BigScreen/components/D:/jenkins/workspace/ljzc-fvue/src/views/BigScreen/components/D:/jenkins/workspace/ljzc-fvue/src/views/BigScreen/components/D:/jenkins/workspace/ljzc-fvue/src/assets/css/element-variables.scss\",\"D:/jenkins/workspace/ljzc-fvue/src/views/BigScreen/components/D:/jenkins/workspace/ljzc-fvue/src/views/BigScreen/components/D:/jenkins/workspace/ljzc-fvue/src/views/BigScreen/components/D:/jenkins/workspace/ljzc-fvue/src/assets/css/big-screen.scss\",\"D:/jenkins/workspace/ljzc-fvue/src/views/BigScreen/components/D:/jenkins/workspace/ljzc-fvue/src/views/BigScreen/components/D:/jenkins/workspace/ljzc-fvue/src/views/BigScreen/components/D:/jenkins/workspace/ljzc-fvue/src/views/BigScreen/components/screenHeader.vue\"],names:[],mappings:\"AA8BA,+BACE,wBA1BuB,CA2BxB,yBAIC,sBARmB,CCvBrB,mBACI,kBAAmB,CACtB,qBAGG,qBAAsB,CACzB,2BAGG,SAAQ,CACX,uCAGG,cAAe,CAClB,iCAGG,WACA,YACA,sBAEA,eAAgB,CACnB,2BAGG,kBACA,mDACA,qBACA,SACA,QAEA,aACA,aAAc,CACjB,+BAGG,WACA,YAKA,iBAAkB,CAPtB,qDAUQ,cAAe,CAClB,uBAID,YAAa,CAOhB,mEAHG,aACA,uBACA,kBAOmB,CANtB,qCAIG,qBAEmB,CACtB,qCAIG,qBAEmB,CACtB,oEAJG,aAEA,8BACA,kBAMmB,CACtB,+BAGG,aACA,6BACA,kBAAmB,CACtB,wCAGG,WACA,YACA,aACJ,CAAC,mCAGG,WACA,YAGA,yBACA,WACA,iBAAkB,CACrB,wCAGG,YACA,WACA,iBAAkB,CAHtB,kDAMQ,YACA,YACA,kBACA,WACA,QAAS,CAVjB,sDAaY,YACA,WAAY,CAdxB,mDAmBQ,YACA,YACA,kBACA,YACA,QAAS,CAvBjB,uDA0BY,YACA,WAAY,CA3BxB,+CAgCQ,YACA,YACA,iBAAkB,CAlC1B,mDAqCY,YACA,YACA,kBACA,WACA,QAAS,CACZ,gCAKL,kBACA,OACA,MACA,iEACA,aACA,YAEA,WACA,6BAA8B,CATlC,6CAYQ,aACA,qBAAsB,CAb9B,2FAkBQ,UACA,kBACA,cAAe,CApBvB,8CAwBQ,UACA,gBAAiB,CAzBzB,qDAyCQ,gEAA0F,CAzClG,mDA6CQ,kBACA,UACA,eACA,qBACA,eAEA,gBACA,WACA,iBACA,kBACA,gBACA,iBACA,gEAAwF,CAzDhG,+CA6DQ,UACA,gBACA,iBAAkB,CA/D1B,oEAkEY,YACA,iBACA,gBACA,eACA,mBACA,4BACA,kBAAmB,CAxE/B,iDAiFQ,oBAAqB,CAjF7B,+CAqFQ,iBACA,eACA,gBACA,mBACA,aAAc,CAWjB,oCAID,UACA,SACA,UACA,WAAY,CAJhB,+CAQQ,UACA,SACA,WACA,YACA,aACA,wCACA,aAAc,CAdtB,0DAkBY,UACA,SACA,aACA,YACA,uBACA,mBACA,6BAGA,0BAA2B,CA3BvC,+DA8BgB,eACA,eAAa,yBACD,iBACA,cACJ,CAAA,8DAOZ,eACe,gBACE,cACN,6BACgB,CAAA,8BAC1B,0BAQD,WACD,4BACE,sBACG,YACH,CAAA,oDAIT,WACW,aACE,6BACQ,YACT,iBACK,kBACH,iBACK,CAAA,0DAGC,WACP,kBACC,OACJ,MACD,WACE,YACC,2DACI,UACH,CAAA,kDAGb,yBACY,eACE,CAAA,4CAKH,eAIK,CAAA,6FANhB,eACe,cAGE,cACJ,iBASO,CARJ,iDAGG,gBAEJ,eAGK,CAAA,uDAGZ,qBACS,WACF,iBACM,YACL,mBACO,UACN,kBACG,WACL,gBACM,kBACH,UACD,CAAA,oDAGb,wBACsB,CAAA,oDAGtB,wBACsB,CAAA,oDAGtB,wBACsB,CAAA,oDAGtB,wBACsB,CAAA,oDAGtB,wBACsB,CAAA,4CAI1B,iBACiB,cACF,CAAA,oDAGf,eACY,WACD,aACE,6BACQ,YACT,gBACK,CAAA,qEAGsB,+BAClB,YACT,CAAA,oEAGuB,8BACd,YACT,CAAA,4CAGZ,cACa,kBACG,eACD,cACJ,sBACK,gBAEC,aACN,CAAA,iDAEP,cACe,CAAA,mDAInB,yBACe,CAAA,6CAIf,SACW,CAAA,kDAGX,qBACa,WACF,YACC,gBACK,CAAA,gDAGjB,cACe,CAAA,oDAGf,cACW,8BACM,CAAA,oDAGjB,cACW,8BACM,CAAA,4BAChB,gBAIW,WACL,YACC,kBACI,kBACF,eACC,mBACE,gBACA,WACN,4BACM,CAAA,qEAIP,WACG,kBACC,QACL,WACE,UACC,CAAA,mCAGF,SACA,gEACwE,CAAA,kCAGxE,UACC,gEACuE,CAAA,yCACjF,kBAGa,QACJ,QACD,UACE,UACC,CAAA,mCACX,WAGU,UACC,CAAA,sCACX,WAGU,UACC,CAAA,8CACX,WAGU,yBACC,aACI,CAAA,oCACf,eAGW,OACF,aACC,YACC,YACA,6BACI,CAAA,mCACf,WAMU,kBACK,gBACA,CAAA,0CAEZ,cACW,eACI,eACE,CAAA,yCAGjB,aACY,eACG,mBACE,eACA,CAAA,0CAChB,YAIS,CAAE,kCACf,aAGY,qBACM,sBACC,kBACH,CAAA,kDAEb,gEACsF,CAAA,qDAGtF,WACW,yBACC,6BACS,CAAA,mCACpB,aAIQ,qBACM,sBACC,mBACH,cACA,CAAA,mDAEb,gEACsF,CAAA,sDAGtF,UACW,CAAA,+CAGX,WACW,YACC,eACK,CAAA,oDAKjB,WACW,WACC,CAAA,uDAGZ,YACY,iBACK,eACF,mBACE,gBACA,WACN,kBACG,iBACE,CAAA,+CAGhB,eACe,mBACE,gBACA,iBACC,aACP,CAAA,gDAGX,eACe,mBACE,gBACA,aACN,CAKI,mIAGX,aACW,CAQA,iJAGX,aACW,CAAA,gFAGX,yBACY,8BACS,CAQV,iJAGX,aACW,CAAA,6EAGX,gEACsF,CAAA,gFAGtF,yBACY,8BACS,CASV,iJAGX,aACW,CAAA,6EAGX,gEACsF,CAAA,gFAGtF,yBACY,+BACS,CAAA,uCACpB,kBAMK,QACJ,UACD,UACE,UACC,CAAA,0DAER,WACY,uBACD,eACI,mBACE,gBACA,cACN,gBACM,CAAA,6CAGjB,kBACkB,CAAA,0CAGlB,aACW,sBACK,cACH,kBACG,gBACF,uBACK,kBACF,CAAA,uDAGjB,iBACmB,CAAA,0DAInB,aACW,aACC,cACC,sBACG,sCACW,cACZ,CAAA,oEAGG,oCACS,CAAA,2DAGT,oCACI,CAAA,wHAIJ,mCACI,CAAA,4DAGJ,oCACI,CAAA,2DAGN,WACL,YACC,qBACQ,CAAA,wDAKpB,SACW,CAAA,qDAGT,SACS,CAAA,wCAIX,UACW,6BACQ,4BACF,CAAA,oDAiBjB,sBACY,6BACK,cACJ,CAAA,4DAQb,UACW,WACC,CAAA,6DAGZ,UACW,WACC,CAAA,4DAGZ,eACY,WACD,cACC,8BACI,cACA,gDACoC,CAAA,kEAGpD,YACc,CAAE,gFAGqB,aACrB,CAAA,sEAGhB,aACgB,wBACJ,CAAA,4EAIR,WACW,WACC,CAAA,+EAGZ,YACY,iBACK,eACF,mBACE,gBACA,WACN,kBACG,iBACE,CAAA,uEAGhB,eACe,mBACE,gBACA,iBACC,aACP,CAAA,wEAGX,eACe,mBACE,gBACA,aACN,CAKI,mLAGX,aACW,CAAA,+EAML,QACA,CAAA,8EAIA,SACC,CAAA,+CAML,WACC,kBACD,CAAA,8CAGA,WACC,mBACA,CAAA,gDAIQ,uBACX,mBACA,CAAA,wCAGC,mBACF,gBACF,CAAA,sDAEL,kBACY,CAAA,6BACX,YAIM,YACC,aACC,uBACQ,kBAEP,eAEE,CAIe,gGAFL,mCACK,kCASV,CARU,6CAKA,2BACX,eACD,2BACE,CAAA,kGAIjB,mCACsB,0BACN,CAAA,4GAEZ,eACe,4BACE,0BACD,CAAA,iDAIb,wBACK,CAAA,sBC7gBhB,qBACa,WACF,YACC,mBACO,qBACP,8CACI,qBACI,CAAA,iCACnB,gBAGe,eACD,gBACE,+BACA,cACN,gBACM,CAAA\",file:\"screenHeader.vue?vue&type=style&index=0&id=0e454976&lang=scss&scoped=true&\",sourcesContent:[\"/* 改变系统主题色变量 ——*/\\r\\n$--theme-color: #2761ff; /*主题颜色(即首页导航栏颜色)——#2761ff*/\\r\\n$--theme-color-active: #1f4ecc; /*首页导航栏颜色鼠标悬停到某一个菜单时的颜色——#1F4ECC*/\\r\\n\\r\\n/* 改变element组件主题色变量 ——*/\\r\\n$--color-primary: #4080FF; /*主题颜色——#、#211bce;、*/\\r\\n//#2662c9\\r\\n$--color-success: #67c23a; /*成功颜色——#67c23a*/\\r\\n$--color-warning: #e6a23c; /*警告颜色——#e6a23c*/\\r\\n$--color-danger: #f56c6c; /*危险颜色——#f56c6c*/\\r\\n$--color-info: #909399; /*信息颜色——#909399*/\\r\\n$--color-text-primary: #303133; /*主要文字颜色——#303133*/\\r\\n$--color-text-regular: #606266; /*常规文字颜色——#606266*/\\r\\n$--color-text-secondary: #909399; /*次要文字颜色——#909399*/\\r\\n$--color-text-placeholder: #c0c4cc; /*占位文字颜色——#c0c4cc*/\\r\\n$--border-color-base: #dcdfe6; /*一级边框颜色——#dcdfe6*/\\r\\n$--border-color-light: #e4e7ed; /*二级边框颜色——#e4e7ed*/\\r\\n$--border-color-lighter: #ebeef5; /*三级边框颜色——#ebeef5*/\\r\\n$--border-color-extra-light: #f2f6fc; /*四级边框颜色——#f2f6fc*/\\r\\n$--color-white: #ffffff; /*基础白色——#FFFFFF*/\\r\\n$--color-black: #000000; /*基础黑色——#000000*/\\r\\n$--background-color-base: #f1f1f1; /*基础背景色——#F5F7FA*/\\r\\n$--background-color-secondary: #f0f2f5; /*第二基础背景色——#F0F2F5*/\\r\\n$--color-secondary: #dfebfc;\\r\\n$--color-primary-light: #4d89f1; /* 菜单栏辅助色 */\\r\\n$--hover-bgcolor: #1d8694; /*鼠标经过的背景颜色*/\\r\\n$--color-text: #ccf2ff;\\r\\n/* 左侧树宽度设置 */\\r\\n$--aside-width: 230px;\\r\\n/* 自定义主题色变量 */\\r\\n.primaryColor {\\r\\n background-color: $--color-primary;\\r\\n}\\r\\n\\r\\n//主要的一步:\\r\\n:export {\\r\\n aside_width: $--aside-width;\\r\\n}\\r\\n\\r\\n// ------navigator-----------\\r\\n$--navigator-main-color: #fff;\\r\\n$--navigator-main-text-color: #393a40;\\r\\n$--navigator-text-color: #565656;\\r\\n$--navigator-text-size: 18px;\\r\\n\\r\\n// -----menu------------\\r\\n$--menu-bg: #393a40;\\r\\n$--menu-active: #616166;\\r\\n$--menu-hover: #2e2e33;\\r\\n$--menu-text: #fff;\\r\\n$--menu-icon: #909399;\\r\\n\",\"// FZXiaoBiaoSong-B05S // 方正小标宋_GBK\\r\\n// Source Han Sans CN // 思源黑体\\r\\n// SimHei // 黑体\\r\\n@import 'element-variables.scss';\\r\\n\\r\\n* {\\r\\n font-family: SimHei;\\r\\n}\\r\\n\\r\\ndiv {\\r\\n box-sizing: border-box;\\r\\n}\\r\\n\\r\\n#ScaleBox {\\r\\n --scale: 1;\\r\\n}\\r\\n\\r\\n.el-table__empty-text {\\r\\n font-size: 16PX;\\r\\n}\\r\\n\\r\\n.bigscreen-root {\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n background-color: #fff;\\r\\n // background-color: #072d62;\\r\\n overflow: hidden;\\r\\n}\\r\\n\\r\\n.ScaleBox {\\r\\n position: absolute;\\r\\n transform: scale(var(--scale)) translate(-50%, -50%);\\r\\n transform-origin: 0 0;\\r\\n left: 50%;\\r\\n top: 50%;\\r\\n // z-index: 999;\\r\\n width: 1920PX;\\r\\n height: 1080PX;\\r\\n}\\r\\n\\r\\n.content-body {\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n // padding-top: 50.25%;\\r\\n // height: 1080PX;\\r\\n // width: 1920PX;\\r\\n // height: 1080PX;\\r\\n position: relative;\\r\\n\\r\\n /deep/.el-table__empty-text {\\r\\n font-size: 16PX;\\r\\n }\\r\\n}\\r\\n\\r\\n.flex {\\r\\n display: flex;\\r\\n}\\r\\n\\r\\n.flex-center {\\r\\n display: flex;\\r\\n justify-content: center;\\r\\n align-items: center;\\r\\n}\\r\\n\\r\\n.flex-center-column {\\r\\n display: flex;\\r\\n flex-direction: column;\\r\\n justify-content: center;\\r\\n align-items: center;\\r\\n}\\r\\n\\r\\n.flex-around-column {\\r\\n display: flex;\\r\\n flex-direction: column;\\r\\n justify-content: space-between;\\r\\n align-items: center;\\r\\n}\\r\\n\\r\\n.flex-space-b {\\r\\n display: flex;\\r\\n justify-content: space-between;\\r\\n align-items: center;\\r\\n}\\r\\n\\r\\n.flex-space-a {\\r\\n display: flex;\\r\\n justify-content: space-around;\\r\\n align-items: center;\\r\\n}\\r\\n\\r\\n.big-screen-data-empty {\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n color: #b7b7b7\\r\\n}\\r\\n\\r\\n.screen-container {\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n //background: url('~@/assets/img/bigScreen/img_wk@2x.png') no-repeat center / 101% 102%;\\r\\n // background: url('~@/assets/img/bigScreen/bg.jpg') no-repeat center / 100% 100%;\\r\\n background-color: #072D62;\\r\\n color: #fff;\\r\\n position: relative;\\r\\n}\\r\\n\\r\\n.screen-header-wrapper {\\r\\n height: 90PX;\\r\\n width: 100%;\\r\\n position: relative;\\r\\n\\r\\n .leftLine {\\r\\n width: 194PX;\\r\\n height: 47PX;\\r\\n position: absolute;\\r\\n left: 619PX;\\r\\n top: 13PX;\\r\\n\\r\\n img {\\r\\n width: 194PX;\\r\\n height: 47PX;\\r\\n }\\r\\n }\\r\\n\\r\\n .rightLine {\\r\\n width: 194PX;\\r\\n height: 47PX;\\r\\n position: absolute;\\r\\n left: 1098PX;\\r\\n top: 13PX;\\r\\n\\r\\n img {\\r\\n width: 194PX;\\r\\n height: 47PX;\\r\\n }\\r\\n }\\r\\n\\r\\n .title {\\r\\n width: 706PX;\\r\\n height: 100%;\\r\\n text-align: center;\\r\\n\\r\\n img {\\r\\n width: 914PX;\\r\\n height: 29PX;\\r\\n position: absolute;\\r\\n left: 456PX;\\r\\n top: 59PX;\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n.screen-header {\\r\\n position: absolute;\\r\\n left: 0;\\r\\n top: 0;\\r\\n background: url('~@/assets/img/bigScreen/top_bg.png') no-repeat center / 100% 100%;\\r\\n display: flex;\\r\\n height: 90PX; // 105PX\\r\\n // height: 105PX;\\r\\n width: 100%;\\r\\n justify-content: space-between;\\r\\n\\r\\n .header-left {\\r\\n display: flex;\\r\\n justify-content: start;\\r\\n }\\r\\n\\r\\n .header-left,\\r\\n .header-right {\\r\\n width: 26%;\\r\\n position: relative;\\r\\n padding: 0 20PX;\\r\\n }\\r\\n\\r\\n .header-right {\\r\\n width: 20%;\\r\\n text-align: right;\\r\\n }\\r\\n\\r\\n // .header-left:before,.header-right:before{\\r\\n // content: '';\\r\\n // position: absolute;\\r\\n // left: 0;\\r\\n // top: 0;\\r\\n // width: 100%;\\r\\n // height: 12PX;\\r\\n // margin-top: 2.5vh;\\r\\n // }\\r\\n // .header-left:before{\\r\\n // background: url('~@/assets/img/bigScreen/img_wk_zs1@2x.png') no-repeat center / 100% 100%;\\r\\n // }\\r\\n .header-right:before {\\r\\n background: url('~@/assets/img/bigScreen/img_wk_zs22@2x.png') no-repeat center / 100% 100%;\\r\\n }\\r\\n\\r\\n .header-router-btn {\\r\\n position: relative;\\r\\n z-index: 2;\\r\\n cursor: pointer;\\r\\n display: inline-block;\\r\\n font-size: 14PX;\\r\\n // font-family: SimHei;\\r\\n font-weight: 400;\\r\\n color: #FFFFFF;\\r\\n padding: 4PX 20PX;\\r\\n text-align: center;\\r\\n margin-top: 14PX;\\r\\n margin-left: 20PX;\\r\\n background: url('~@/assets/img/bigScreen/img_wk_qh@2x.png') no-repeat center / 100% 100%;\\r\\n }\\r\\n\\r\\n .header-center {\\r\\n width: 20%;\\r\\n text-align: left;\\r\\n padding-left: 10PX;\\r\\n\\r\\n .screen-header-title {\\r\\n height: 60PX;\\r\\n line-height: 60PX;\\r\\n font-weight: bold;\\r\\n font-size: 36PX;\\r\\n font-family: SimHei;\\r\\n text-shadow: 0 0 8PX #005DBC;\\r\\n letter-spacing: 9PX;\\r\\n // background: linear-gradient(0deg, #8DC7FF 0%, #FFFFFF 100%);\\r\\n // -webkit-background-clip: text;\\r\\n // -webkit-text-fill-color: transparent;\\r\\n\\r\\n }\\r\\n }\\r\\n\\r\\n .full-screen-btn {\\r\\n display: inline-block;\\r\\n }\\r\\n\\r\\n .header-logout {\\r\\n margin-left: 20PX;\\r\\n font-size: 32PX;\\r\\n margin-top: 16PX;\\r\\n vertical-align: top;\\r\\n color: #479aee;\\r\\n // position: absolute;\\r\\n // right: 20PX;\\r\\n // top: 20PX;\\r\\n // i{\\r\\n // font-size: 32PX;\\r\\n // color: #1158aa;\\r\\n // }\\r\\n // i:hover{\\r\\n // color: #036ad7;\\r\\n // }\\r\\n }\\r\\n}\\r\\n\\r\\n.screen-header-nav {\\r\\n padding: 0;\\r\\n margin: 0;\\r\\n width: 40%;\\r\\n height: 100%;\\r\\n \\r\\n\\r\\n ul.ul-item {\\r\\n padding: 0;\\r\\n margin: 0;\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n display: grid;\\r\\n grid-template: repeat(1, 1fr) / 1fr 1fr 1fr ;\\r\\n gap: 10PX 12PX;\\r\\n \\r\\n\\r\\n li.li-item {\\r\\n padding: 0;\\r\\n margin: 0;\\r\\n display: flex;\\r\\n height: 100%;\\r\\n justify-content: center;\\r\\n align-items: center;\\r\\n transition: all 0.3s linear 0s;\\r\\n // background: url(~@/assets/img/bigScreen/nav_bg.png) 50% 50% / 100% 100% no-repeat;\\r\\n // transform: translate(-200PX, 0PX);\\r\\n writing-mode: horizontal-tb;\\r\\n\\r\\n span {\\r\\n font-size: 24PX;\\r\\n font-family: '黑体';\\r\\n color: rgba(#ffffff, 0.9);\\r\\n margin-top: -40PX;\\r\\n cursor: pointer;\\r\\n }\\r\\n }\\r\\n\\r\\n li.active {\\r\\n // background: url(~@/assets/img/bigScreen/tabBack_on.png) 50% 50% / 100% 100% no-repeat;\\r\\n\\r\\n span {\\r\\n font-size: 26PX;\\r\\n font-weight: bold;\\r\\n color: #57C3C2;\\r\\n text-shadow: 0 3PX 8PX rgb(84, 76, 255);\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n}\\r\\n\\r\\n.screen-body {\\r\\n // height: calc(100% - 145PX);\\r\\n height: calc(100% - 100PX);\\r\\n width: 100%;\\r\\n padding: 10PX 10PX 10PX 10PX;\\r\\n box-sizing: border-box;\\r\\n display: flex;\\r\\n}\\r\\n\\r\\n.scroll-table {\\r\\n .scroll-table-header {\\r\\n width: 100%;\\r\\n display: flex;\\r\\n justify-content: space-around;\\r\\n height: 32PX;\\r\\n line-height: 32PX;\\r\\n position: relative;\\r\\n margin-bottom: 2PX;\\r\\n }\\r\\n\\r\\n .scroll-table-header:after {\\r\\n content: '';\\r\\n position: absolute;\\r\\n left: 0;\\r\\n top: 0;\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n background: linear-gradient(0deg, #0273E9 0%, rgba(2, 115, 233, 0) 100%);\\r\\n opacity: 0.3;\\r\\n }\\r\\n\\r\\n .scroll-table-body {\\r\\n height: calc(100% - 32PX);\\r\\n overflow: hidden;\\r\\n }\\r\\n\\r\\n .header-item {\\r\\n font-size: 16PX;\\r\\n color: #d8dddd;\\r\\n // font-family: SimHei;\\r\\n font-weight: 400;\\r\\n padding: 0 4PX;\\r\\n text-align: center;\\r\\n\\r\\n span {\\r\\n font-size: 16PX;\\r\\n font-weight: 700;\\r\\n color: #d8dddd;\\r\\n font-weight: 400;\\r\\n padding: 0 4PX;\\r\\n text-align: center;\\r\\n }\\r\\n\\r\\n span.level {\\r\\n display: inline-block;\\r\\n width: 30PX;\\r\\n line-height: 20PX;\\r\\n height: 20PX;\\r\\n border-radius: 10PX;\\r\\n padding: 0;\\r\\n text-align: center;\\r\\n color: #fff;\\r\\n font-weight: bold;\\r\\n position: relative;\\r\\n z-index: 10;\\r\\n }\\r\\n\\r\\n .levelA {\\r\\n background-color: #20A367;\\r\\n }\\r\\n\\r\\n .levelB {\\r\\n background-color: #3877B2;\\r\\n }\\r\\n\\r\\n .levelC {\\r\\n background-color: #E3C428;\\r\\n }\\r\\n\\r\\n .levelD {\\r\\n background-color: #E49317;\\r\\n }\\r\\n\\r\\n .levelE {\\r\\n background-color: #B04332;\\r\\n }\\r\\n }\\r\\n\\r\\n .header-long {\\r\\n line-height: 114%;\\r\\n font-size: 14PX;\\r\\n }\\r\\n\\r\\n .scroll-table-column {\\r\\n cursor: pointer;\\r\\n width: 100%;\\r\\n display: flex;\\r\\n justify-content: space-around;\\r\\n height: 32PX;\\r\\n line-height: 32PX;\\r\\n }\\r\\n\\r\\n .scroll-table-column:nth-of-type(2n + 1) {\\r\\n background: rgba(#0273E9, 0.05);\\r\\n margin: 1PX 0;\\r\\n }\\r\\n\\r\\n .scroll-table-column:nth-of-type(2n) {\\r\\n background: rgba(#0273E9, 0.1);\\r\\n margin: 1PX 0;\\r\\n }\\r\\n\\r\\n .column-item {\\r\\n padding: 0 4PX;\\r\\n text-align: center;\\r\\n font-size: 16PX;\\r\\n color: #dbdbdb;\\r\\n box-sizing: border-box;\\r\\n // font-family: SimHei;\\r\\n font-weight: 400;\\r\\n color: #D7F1FF;\\r\\n\\r\\n span {\\r\\n font-size: 16PX;\\r\\n }\\r\\n }\\r\\n\\r\\n .column-item-rotate {\\r\\n transform: rotateX(180deg);\\r\\n\\r\\n }\\r\\n\\r\\n .columnActive {\\r\\n color: red;\\r\\n }\\r\\n\\r\\n .column-trend-icon {\\r\\n display: inline-block;\\r\\n width: 30PX;\\r\\n height: 30PX;\\r\\n line-height: 30PX;\\r\\n }\\r\\n\\r\\n .cqlt-icon-arrow {\\r\\n font-size: 18PX;\\r\\n }\\r\\n\\r\\n .column-trend-icon-1 {\\r\\n color: #59c06c;\\r\\n text-shadow: #59c06c 1PX 0 12PX;\\r\\n }\\r\\n\\r\\n .column-trend-icon-2 {\\r\\n color: #fe3b30;\\r\\n text-shadow: #fe3b30 1PX 0 12PX;\\r\\n }\\r\\n}\\r\\n\\r\\n.sub-title {\\r\\n margin-top: -4PX;\\r\\n width: 100%;\\r\\n height: 18PX;\\r\\n text-align: center;\\r\\n position: relative;\\r\\n font-size: 16PX;\\r\\n font-family: SimHei;\\r\\n font-weight: 800;\\r\\n color: #FFFFFF;\\r\\n text-shadow: 0PX 0PX 16PX #266BF2;\\r\\n}\\r\\n\\r\\n.sub-title::after,\\r\\n.sub-title::before {\\r\\n content: '';\\r\\n position: absolute;\\r\\n top: 47%;\\r\\n width: 40PX;\\r\\n height: 4PX;\\r\\n}\\r\\n\\r\\n.sub-title::before {\\r\\n left: 33%;\\r\\n background: url('~@/assets/img/bigScreen/line63.png') no-repeat center / 100% 100%;\\r\\n}\\r\\n\\r\\n.sub-title::after {\\r\\n right: 33%;\\r\\n background: url('~@/assets/img/bigScreen/line62.png') no-repeat center / 100% 100%;\\r\\n}\\r\\n\\r\\n.reform-pilot-container {\\r\\n position: absolute;\\r\\n left: 4%;\\r\\n top: 16%;\\r\\n width: 92%;\\r\\n height: 77%;\\r\\n}\\r\\n\\r\\n.reform-pilot-top {\\r\\n width: 100%;\\r\\n height: 60%;\\r\\n}\\r\\n\\r\\n.reform-pilot-bottom {\\r\\n width: 100%;\\r\\n height: 40%;\\r\\n}\\r\\n\\r\\n.reform-pilot-bottom-content {\\r\\n width: 100%;\\r\\n height: calc(100% - 40PX);\\r\\n margin-top: 3%;\\r\\n}\\r\\n\\r\\n.reform-pilot-item {\\r\\n cursor: pointer;\\r\\n flex: 1;\\r\\n width: 31.33%;\\r\\n height: 100%;\\r\\n margin: 0 1%;\\r\\n background: rgba(2, 115, 233, 0.1);\\r\\n}\\r\\n\\r\\n// .reform-pilot-item:nth-last-of-type(2){\\r\\n// margin: 0 10PX;\\r\\n// }\\r\\n.pilot-item-title {\\r\\n width: 100%;\\r\\n text-align: center;\\r\\n margin-top: -10PX;\\r\\n\\r\\n .block {\\r\\n color: #0273E9;\\r\\n font-size: 20PX;\\r\\n font-weight: bold;\\r\\n }\\r\\n\\r\\n .text {\\r\\n margin: 0 4PX;\\r\\n font-size: 16PX;\\r\\n font-family: SimHei;\\r\\n font-weight: 500;\\r\\n }\\r\\n}\\r\\n\\r\\n.reform-pilot-item-inner {\\r\\n margin-top: 0;\\r\\n}\\r\\n\\r\\n.item-inner-left {\\r\\n display: flex;\\r\\n justify-items: center;\\r\\n flex-direction: column;\\r\\n align-items: center;\\r\\n\\r\\n .item-inner-top {\\r\\n background: url('~@/assets/img/bigScreen/img_up1@2x.png') no-repeat center / 100% 100%;\\r\\n }\\r\\n\\r\\n .item-inner-bottom {\\r\\n width: 50PX;\\r\\n border: 1PX solid #0273E9;\\r\\n background: rgba(#0273E9, 0.2);\\r\\n }\\r\\n}\\r\\n\\r\\n.item-inner-right {\\r\\n display: flex;\\r\\n justify-items: center;\\r\\n flex-direction: column;\\r\\n align-items: center;\\r\\n margin-left: 8%;\\r\\n\\r\\n .item-inner-top {\\r\\n background: url('~@/assets/img/bigScreen/img_up2@2x.png') no-repeat center / 100% 100%;\\r\\n }\\r\\n\\r\\n .item-inner-bottom {\\r\\n width: 90PX;\\r\\n }\\r\\n\\r\\n .icon-arrow {\\r\\n width: 12PX;\\r\\n height: 14PX;\\r\\n margin-left: 4PX;\\r\\n }\\r\\n}\\r\\n\\r\\n.reform-pilot-item {\\r\\n .item-inner-top {\\r\\n width: 76PX;\\r\\n height: 42PX;\\r\\n }\\r\\n\\r\\n .item-inner-bottom {\\r\\n height: 24PX;\\r\\n line-height: 24PX;\\r\\n font-size: 15PX;\\r\\n font-family: SimHei;\\r\\n font-weight: 500;\\r\\n color: #FFFFFF;\\r\\n position: relative;\\r\\n text-align: center;\\r\\n }\\r\\n\\r\\n .inner-num {\\r\\n font-size: 24PX;\\r\\n font-family: SimHei;\\r\\n font-weight: bold;\\r\\n margin-right: 4PX;\\r\\n color: #A4DCFF;\\r\\n }\\r\\n\\r\\n .inner-unit {\\r\\n font-size: 14PX;\\r\\n font-family: SimHei;\\r\\n font-weight: 400;\\r\\n color: #A4DCFF;\\r\\n }\\r\\n\\r\\n .item-inner-right {\\r\\n .inner-num {\\r\\n color: #A4DCFF;\\r\\n }\\r\\n\\r\\n .inner-unit {\\r\\n color: #A4DCFF;\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n.reform-pilot-item.item-g {\\r\\n .item-inner-right {\\r\\n .inner-num {\\r\\n color: #96FFCA;\\r\\n }\\r\\n\\r\\n .inner-unit {\\r\\n color: #96FFCA;\\r\\n }\\r\\n\\r\\n .item-inner-bottom {\\r\\n border: 1PX solid #53CD67;\\r\\n background: rgba(#53CD67, 0.2);\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n.reform-pilot-item.item-y {\\r\\n .item-inner-right {\\r\\n .inner-num {\\r\\n color: #FFCE86\\r\\n }\\r\\n\\r\\n .inner-unit {\\r\\n color: #FFCE86\\r\\n }\\r\\n\\r\\n .item-inner-top {\\r\\n background: url('~@/assets/img/bigScreen/img_up3@2x.png') no-repeat center / 100% 100%;\\r\\n }\\r\\n\\r\\n .item-inner-bottom {\\r\\n border: 1PX solid #FFB03B;\\r\\n background: rgba(#FFB03B, 0.2);\\r\\n }\\r\\n\\r\\n }\\r\\n}\\r\\n\\r\\n.reform-pilot-item.item-p {\\r\\n .item-inner-right {\\r\\n .inner-num {\\r\\n color: #FFBBC9\\r\\n }\\r\\n\\r\\n .inner-unit {\\r\\n color: #FFBBC9\\r\\n }\\r\\n\\r\\n .item-inner-top {\\r\\n background: url('~@/assets/img/bigScreen/img_up6@2x.png') no-repeat center / 100% 100%;\\r\\n }\\r\\n\\r\\n .item-inner-bottom {\\r\\n border: 1PX solid #FF7B97;\\r\\n background: rgba(#FF7B97, 0.2);\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n// 表格\\r\\n.single-top-container {\\r\\n position: absolute;\\r\\n left: 6%;\\r\\n top: 19.5%;\\r\\n width: 88%;\\r\\n height: 60%;\\r\\n\\r\\n .single-table-body {\\r\\n height: 99%;\\r\\n width: calc(100% + 4PX);\\r\\n font-size: 12PX;\\r\\n font-family: SimHei;\\r\\n font-weight: 400;\\r\\n color: #D7F1FF;\\r\\n margin-left: -2PX;\\r\\n }\\r\\n\\r\\n table {\\r\\n table-layout: fixed\\r\\n }\\r\\n\\r\\n td {\\r\\n width: 33.33%;\\r\\n box-sizing: border-box;\\r\\n padding: 0 4PX;\\r\\n text-align: center;\\r\\n overflow: hidden;\\r\\n text-overflow: ellipsis;\\r\\n white-space: nowrap;\\r\\n }\\r\\n\\r\\n .single-item-sn {\\r\\n padding-right: 6PX;\\r\\n\\r\\n }\\r\\n\\r\\n .single-item-title {\\r\\n width: 33.33%;\\r\\n height: 33.33;\\r\\n padding: 0 4PX;\\r\\n box-sizing: border-box;\\r\\n background-color: rgba(#1790FF, 0.15);\\r\\n font-size: 12PX;\\r\\n }\\r\\n\\r\\n .single-item-title.title-sec {\\r\\n background-color: rgba(#00FFFF, 0.15);\\r\\n }\\r\\n\\r\\n tr:nth-of-type(1) td {\\r\\n background-color: rgba(23, 144, 255, 0.1);\\r\\n }\\r\\n\\r\\n tr:nth-of-type(2) td,\\r\\n tr:nth-of-type(6) td {\\r\\n background-color: rgba(0, 255, 255, 0.1);\\r\\n }\\r\\n\\r\\n tr:nth-of-type(3) td {\\r\\n background-color: rgba(23, 144, 255, 0.1);\\r\\n }\\r\\n\\r\\n .single-item-sn img {\\r\\n width: 18PX;\\r\\n height: 18PX;\\r\\n vertical-align: middle;\\r\\n }\\r\\n}\\r\\n\\r\\n.major-table-single {\\r\\n .single-item-title {\\r\\n width: 28%;\\r\\n }\\r\\n\\r\\n td.project-name {\\r\\n width: 42%;\\r\\n // text-align: left;\\r\\n }\\r\\n\\r\\n td {\\r\\n width: 30%;\\r\\n text-overflow: initial !important;\\r\\n white-space: initial !important;\\r\\n }\\r\\n\\r\\n // .single-item-sn{\\r\\n // width: 12%;\\r\\n // }\\r\\n .single-top-container td[data-v-7c415c2a] {\\r\\n // width: 15%;\\r\\n // box-sizing: border-box;\\r\\n // padding: 0 0.20833vw;\\r\\n // text-align: center;\\r\\n // overflow: hidden;\\r\\n\\r\\n }\\r\\n}\\r\\n\\r\\n.scroll-table {\\r\\n .scroll-table-column {\\r\\n height: auto !important;\\r\\n line-height: initial !important;\\r\\n padding: 10PX 0;\\r\\n }\\r\\n}\\r\\n\\r\\n// ----------区县第二版css-------------\\r\\n.reform-pilot-container {\\r\\n\\r\\n\\r\\n .reform-pilot-left {\\r\\n width: 62%;\\r\\n height: 100%;\\r\\n }\\r\\n\\r\\n .reform-pilot-right {\\r\\n width: 38%;\\r\\n height: 100%;\\r\\n }\\r\\n\\r\\n .reform-pilot-item {\\r\\n cursor: pointer;\\r\\n width: 100%;\\r\\n height: 28.33%;\\r\\n background: rgba(2, 115, 233, 0.1);\\r\\n margin-top: 5%;\\r\\n box-shadow: 0 0 10PX 2PX rgba(2, 115, 233, 0.5) inset;\\r\\n }\\r\\n\\r\\n .reform-pilot-item-inner {\\r\\n margin-top: 0;\\r\\n }\\r\\n\\r\\n .reform-pilot-item:nth-last-of-type(2) {\\r\\n margin-top: 5%;\\r\\n }\\r\\n\\r\\n .reform-pilot-bottom-content {\\r\\n margin-top: 0;\\r\\n height: calc(100% - 16PX);\\r\\n }\\r\\n\\r\\n .reform-pilot-item {\\r\\n .item-inner-top {\\r\\n width: 70PX;\\r\\n height: 24PX;\\r\\n }\\r\\n\\r\\n .item-inner-bottom {\\r\\n height: 22PX;\\r\\n line-height: 22PX;\\r\\n font-size: 12PX;\\r\\n font-family: SimHei;\\r\\n font-weight: 500;\\r\\n color: #FFFFFF;\\r\\n position: relative;\\r\\n text-align: center;\\r\\n }\\r\\n\\r\\n .inner-num {\\r\\n font-size: 20PX;\\r\\n font-family: SimHei;\\r\\n font-weight: bold;\\r\\n margin-right: 4PX;\\r\\n color: #A4DCFF;\\r\\n }\\r\\n\\r\\n .inner-unit {\\r\\n font-size: 14PX;\\r\\n font-family: SimHei;\\r\\n font-weight: 400;\\r\\n color: #A4DCFF;\\r\\n }\\r\\n\\r\\n .item-inner-right {\\r\\n .inner-num {\\r\\n color: #A4DCFF;\\r\\n }\\r\\n\\r\\n .inner-unit {\\r\\n color: #A4DCFF;\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n .reform-pilot-right {\\r\\n .sub-title::before {\\r\\n left: 16%;\\r\\n\\r\\n }\\r\\n\\r\\n .sub-title::after {\\r\\n right: 16%;\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n.top-item-2 {\\r\\n .sub-title::before {\\r\\n width: 60PX;\\r\\n left: 26% !important;\\r\\n }\\r\\n\\r\\n .sub-title::after {\\r\\n width: 60PX;\\r\\n right: 26% !important;\\r\\n }\\r\\n}\\r\\n\\r\\n.trends-board-container.bottom {\\r\\n height: 120PX !important;\\r\\n bottom: 2% !important;\\r\\n}\\r\\n\\r\\n.reform-pilot.tab-btns {\\r\\n right: 2% !important;\\r\\n top: 3% !important;\\r\\n\\r\\n .tab-btn-more {\\r\\n margin: 0 !important;\\r\\n }\\r\\n}\\r\\n\\r\\n.box-select {\\r\\n width: 180PX;\\r\\n height: 34PX;\\r\\n display: flex;\\r\\n justify-content: center;\\r\\n // padding-top: 10PX;\\r\\n position: relative;\\r\\n // margin: 0 auto;\\r\\n margin-top: 16PX;\\r\\n\\r\\n /deep/ .el-input input:focus {\\r\\n border: 2PX solid rgba(#072e7e, 0.1);\\r\\n background-color: rgba(#072e7e, 0.1);\\r\\n }\\r\\n\\r\\n /deep/ .el-input input {\\r\\n border: 2PX solid rgba(#072e7e, 0.1);\\r\\n background-color: rgba(#072e7e, 0.1);\\r\\n color: rgba(#E6F7FF, 0.7);\\r\\n font-size: 15PX;\\r\\n font-family: \\\"Microsoft YaHei\\\";\\r\\n }\\r\\n\\r\\n /deep/ .el-scrollbar,\\r\\n .el-select-dropdown__item {\\r\\n background-color: #0d57ac !important;\\r\\n color: rgba(#E6F7FF, 0.7);\\r\\n\\r\\n span {\\r\\n font-size: 15PX;\\r\\n font-family: \\\"Microsoft YaHei\\\";\\r\\n color: rgba(#E6F7FF, 0.7);\\r\\n }\\r\\n }\\r\\n\\r\\n /deep/ .el-select-dropdown {\\r\\n border: 2PX solid #0d57ac;\\r\\n }\\r\\n}\\r\\n\\r\\n// ----------区县第二版css-------------\",\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\r\\n@import '@/assets/css/big-screen.scss';\\r\\n\\r\\n.dot {\\r\\n display: inline-block;\\r\\n width: 10PX;\\r\\n height: 10PX;\\r\\n border-radius: 10PX;\\r\\n margin: 0 16PX 0 12PX;\\r\\n background: linear-gradient(0deg, #8dc7ff 0%, #ffffff 100%);\\r\\n vertical-align: middle;\\r\\n}\\r\\n\\r\\n.data-push-time {\\r\\n margin-top: 20PX;\\r\\n font-size: 14PX;\\r\\n font-weight: 400;\\r\\n font-family: Source Han Sans CN;\\r\\n color: #cae5ff;\\r\\n margin-left: 10PX;\\r\\n}\\r\\n\"],sourceRoot:\"\"}])},3456:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return f}));var i=n(\"9ab48\"),r=n(\"c34d\"),o=n(\"b4aa\"),a=n(\"87d0\"),s=n(\"62e3\"),l=n(\"7eff\"),c=n(\"b3de\");function u(t){var e=t.chart,n=t.options,i=n.data,r=n.binField,a=n.binNumber,u=n.binWidth,h=n.color,d=n.stackField,p=n.legend,f=n.columnStyle,g=Object(l[\"a\"])(i,r,u,a,d);e.data(g);var y=Object(s[\"d\"])({},t,{options:{xField:c[\"b\"],yField:c[\"c\"],seriesField:d,isStack:!0,interval:{color:h,style:f}}});return Object(o[\"c\"])(y),p&&d?e.legend(d,p):e.legend(!1),t}function h(t){var e,n=t.options,i=n.xAxis,o=n.yAxis;return Object(s[\"g\"])(Object(r[\"g\"])((e={},e[c[\"b\"]]=i,e[c[\"c\"]]=o,e)))(t)}function d(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis;return!1===i?e.axis(c[\"b\"],!1):e.axis(c[\"b\"],i),!1===r?e.axis(c[\"c\"],!1):e.axis(c[\"c\"],r),t}function p(t){var e=t.chart,n=t.options,r=n.label,o=Object(s[\"e\"])(e,\"interval\");if(r){var a=r.callback,l=Object(i[\"f\"])(r,[\"callback\"]);o.label({fields:[c[\"c\"]],callback:a,cfg:Object(s[\"A\"])(l)})}else o.label(!1);return t}function f(t){return Object(s[\"g\"])(r[\"k\"],Object(a[\"a\"])(\"columnStyle\"),u,h,d,r[\"j\"],p,r[\"l\"],r[\"c\"],r[\"a\"])(t)}},3665:function(t,e,n){\"use strict\";var i=n(\"9ab48\"),r=n(\"6855\"),o=n(\"8937\"),a={none:[],point:[\"x\",\"y\"],region:[\"start\",\"end\"],points:[\"points\"],circle:[\"center\",\"radius\",\"startAngle\",\"endAngle\"]},s=function(t){function e(e){var n=t.call(this,e)||this;return n.initCfg(),n}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){return{id:\"\",name:\"\",type:\"\",locationType:\"none\",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:\"easeQuadInOut\"},enter:{duration:400,easing:\"easeQuadInOut\"},leave:{duration:350,easing:\"easeQuadIn\"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var e=this,n=this.get(\"defaultCfg\")||{};Object(o[\"j\"])(t,(function(t,i){var r=e.get(i),a=t;r!==t&&(Object(o[\"O\"])(t)&&n[i]&&(a=Object(o[\"h\"])({},n[i],t)),e.set(i,a))})),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){Object(o[\"y\"])(t,\"visible\")&&(t.visible?this.show():this.hide()),Object(o[\"y\"])(t,\"capture\")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get(\"locationType\")},e.prototype.getOffset=function(){return{offsetX:this.get(\"offsetX\"),offsetY:this.get(\"offsetY\")}},e.prototype.setOffset=function(t,e){this.update({offsetX:t,offsetY:e})},e.prototype.setLocation=function(t){var e=Object(i[\"a\"])({},t);this.update(e)},e.prototype.getLocation=function(){var t=this,e={},n=this.get(\"locationType\"),i=a[n];return Object(o[\"j\"])(i,(function(n){e[n]=t.get(n)})),e},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,e=this.get(\"defaultCfg\");Object(o[\"j\"])(e,(function(e,n){var i=t.get(n);if(Object(o[\"O\"])(i)){var r=Object(o[\"h\"])({},e,i);t.set(n,r)}}))},e}(r[\"Base\"]);e[\"a\"]=s},3688:function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e[\"default\"]=void 0;var i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var i=this,r=arguments.length,o=new Array(r),a=0;a{\"undefined\"===typeof t[n]?t[n]=e[n]:d(e[n])&&d(t[n])&&Object.keys(e[n]).length>0&&p(t[n],e[n])})}const f={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:\"\"},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:\"\",host:\"\",hostname:\"\",href:\"\",origin:\"\",pathname:\"\",protocol:\"\",search:\"\"}};function g(){const t=\"undefined\"!==typeof document?document:{};return p(t,f),t}const y={document:f,navigator:{userAgent:\"\"},location:{hash:\"\",host:\"\",hostname:\"\",href:\"\",origin:\"\",pathname:\"\",protocol:\"\",search:\"\"},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return\"\"}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return\"undefined\"===typeof setTimeout?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){\"undefined\"!==typeof setTimeout&&clearTimeout(t)}};function v(){const t=\"undefined\"!==typeof window?window:{};return p(t,y),t}function m(t){const e=t.__proto__;Object.defineProperty(t,\"__proto__\",{get(){return e},set(t){e.__proto__=t}})}class b extends Array{constructor(t){\"number\"===typeof t?super(t):(super(...t||[]),m(this))}}function x(t=[]){const e=[];return t.forEach(t=>{Array.isArray(t)?e.push(...x(t)):e.push(t)}),e}function O(t,e){return Array.prototype.filter.call(t,e)}function w(t){const e=[];for(let n=0;n=0&&n.indexOf(\">\")>=0){let t=\"div\";0===n.indexOf(\"t.split(\" \")));return this.forEach(t=>{t.classList.add(...e)}),this}function C(...t){const e=x(t.map(t=>t.split(\" \")));return this.forEach(t=>{t.classList.remove(...e)}),this}function M(...t){const e=x(t.map(t=>t.split(\" \")));this.forEach(t=>{e.forEach(e=>{t.classList.toggle(e)})})}function A(...t){const e=x(t.map(t=>t.split(\" \")));return O(this,t=>e.filter(e=>t.classList.contains(e)).length>0).length>0}function k(t,e){if(1===arguments.length&&\"string\"===typeof t)return this[0]?this[0].getAttribute(t):void 0;for(let n=0;n=0;e-=1){const n=a[e];i&&n.listener===i||i&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===i?(o.removeEventListener(t,n.proxyListener,r),a.splice(e,1)):i||(o.removeEventListener(t,n.proxyListener,r),a.splice(e,1))}}}return this}function R(...t){const e=v(),n=t[0].split(\" \"),i=t[1];for(let r=0;re>0),r.dispatchEvent(n),r.dom7EventData=[],delete r.dom7EventData}}}return this}function E(t){const e=this;function n(i){i.target===this&&(t.call(this,i),e.off(\"transitionend\",n))}return t&&e.on(\"transitionend\",n),this}function B(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue(\"margin-right\"))+parseFloat(t.getPropertyValue(\"margin-left\"))}return this[0].offsetWidth}return null}function F(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue(\"margin-top\"))+parseFloat(t.getPropertyValue(\"margin-bottom\"))}return this[0].offsetHeight}return null}function N(){if(this.length>0){const t=v(),e=g(),n=this[0],i=n.getBoundingClientRect(),r=e.body,o=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,s=n===t?t.scrollY:n.scrollTop,l=n===t?t.scrollX:n.scrollLeft;return{top:i.top+s-o,left:i.left+l-a}}return null}function z(){const t=v();return this[0]?t.getComputedStyle(this[0],null):{}}function V(t,e){const n=v();let i;if(1===arguments.length){if(\"string\"!==typeof t){for(i=0;i{t.apply(e,[e,n])}),this):this}function H(t){const e=O(this,t);return S(e)}function W(t){if(\"undefined\"===typeof t)return this[0]?this[0].innerHTML:null;for(let e=0;ee-1)return S([]);if(t<0){const n=e+t;return S(n<0?[]:[this[n]])}return S([this[t]])}function Z(...t){let e;const n=g();for(let i=0;i=0;i-=1)this[n].insertBefore(r.childNodes[i],this[n].childNodes[0])}else if(t instanceof b)for(i=0;i0?t?this[0].nextElementSibling&&S(this[0].nextElementSibling).is(t)?S([this[0].nextElementSibling]):S([]):this[0].nextElementSibling?S([this[0].nextElementSibling]):S([]):S([])}function J(t){const e=[];let n=this[0];if(!n)return S([]);while(n.nextElementSibling){const i=n.nextElementSibling;t?S(i).is(t)&&e.push(i):e.push(i),n=i}return S(e)}function $(t){if(this.length>0){const e=this[0];return t?e.previousElementSibling&&S(e.previousElementSibling).is(t)?S([e.previousElementSibling]):S([]):e.previousElementSibling?S([e.previousElementSibling]):S([])}return S([])}function tt(t){const e=[];let n=this[0];if(!n)return S([]);while(n.previousElementSibling){const i=n.previousElementSibling;t?S(i).is(t)&&e.push(i):e.push(i),n=i}return S(e)}function et(t){const e=[];for(let n=0;n{Object.defineProperty(S.fn,t,{value:ct[t],writable:!0})});var ut=S;function ht(t){const e=t;Object.keys(e).forEach(t=>{try{e[t]=null}catch(n){}try{delete e[t]}catch(n){}})}function dt(t,e=0){return setTimeout(t,e)}function pt(){return Date.now()}function ft(t){const e=v();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}function gt(t,e=\"x\"){const n=v();let i,r,o;const a=ft(t,null);return n.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(\",\").length>6&&(r=r.split(\", \").map(t=>t.replace(\",\",\".\")).join(\", \")),o=new n.WebKitCSSMatrix(\"none\"===r?\"\":r)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue(\"transform\").replace(\"translate(\",\"matrix(1, 0, 0, 1,\"),i=o.toString().split(\",\")),\"x\"===e&&(r=n.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),\"y\"===e&&(r=n.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function yt(t){return\"object\"===typeof t&&null!==t&&t.constructor&&\"Object\"===Object.prototype.toString.call(t).slice(8,-1)}function vt(t){return\"undefined\"!==typeof window&&\"undefined\"!==typeof window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)}function mt(...t){const e=Object(t[0]),n=[\"__proto__\",\"constructor\",\"prototype\"];for(let i=1;in.indexOf(t)<0);for(let n=0,i=t.length;nr?\"next\":\"prev\",c=(t,e)=>\"next\"===l&&t>=e||\"prev\"===l&&t<=e,u=()=>{o=(new Date).getTime(),null===a&&(a=o);const l=Math.max(Math.min((o-a)/s,1),0),h=.5-Math.cos(l*Math.PI)/2;let d=r+h*(e-r);if(c(d,e)&&(d=e),t.wrapperEl.scrollTo({[n]:d}),c(d,e))return t.wrapperEl.style.overflow=\"hidden\",t.wrapperEl.style.scrollSnapType=\"\",setTimeout(()=>{t.wrapperEl.style.overflow=\"\",t.wrapperEl.scrollTo({[n]:d})}),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(u)};u()}let Ot,wt,jt;function St(){const t=v(),e=g();return{smoothScroll:e.documentElement&&\"scrollBehavior\"in e.documentElement.style,touch:!!(\"ontouchstart\"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),passiveListener:function(){let e=!1;try{const n=Object.defineProperty({},\"passive\",{get(){e=!0}});t.addEventListener(\"testPassiveListener\",null,n)}catch(n){}return e}(),gestures:function(){return\"ongesturestart\"in t}()}}function _t(){return Ot||(Ot=St()),Ot}function Ct({userAgent:t}={}){const e=_t(),n=v(),i=n.navigator.platform,r=t||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,s=n.screen.height,l=r.match(/(Android);?[\\s\\/]+([\\d.]+)?/);let c=r.match(/(iPad).*OS\\s([\\d_]+)/);const u=r.match(/(iPod)(.*OS\\s([\\d_]+))?/),h=!c&&r.match(/(iPhone\\sOS|iOS)\\s([\\d_]+)/),d=\"Win32\"===i;let p=\"MacIntel\"===i;const f=[\"1024x1366\",\"1366x1024\",\"834x1194\",\"1194x834\",\"834x1112\",\"1112x834\",\"768x1024\",\"1024x768\",\"820x1180\",\"1180x820\",\"810x1080\",\"1080x810\"];return!c&&p&&e.touch&&f.indexOf(`${a}x${s}`)>=0&&(c=r.match(/(Version)\\/([\\d.]+)/),c||(c=[0,1,\"13_0_0\"]),p=!1),l&&!d&&(o.os=\"android\",o.android=!0),(c||h||u)&&(o.os=\"ios\",o.ios=!0),o}function Mt(t={}){return wt||(wt=Ct(t)),wt}function At(){const t=v();function e(){const e=t.navigator.userAgent.toLowerCase();return e.indexOf(\"safari\")>=0&&e.indexOf(\"chrome\")<0&&e.indexOf(\"android\")<0}return{isSafari:e(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}function kt(){return jt||(jt=At()),jt}function It({swiper:t,on:e,emit:n}){const i=v();let r=null;const o=()=>{t&&!t.destroyed&&t.initialized&&(n(\"beforeResize\"),n(\"resize\"))},a=()=>{t&&!t.destroyed&&t.initialized&&(r=new ResizeObserver(e=>{const{width:n,height:i}=t;let r=n,a=i;e.forEach(({contentBoxSize:e,contentRect:n,target:i})=>{i&&i!==t.el||(r=n?n.width:(e[0]||e).inlineSize,a=n?n.height:(e[0]||e).blockSize)}),r===n&&a===i||o()}),r.observe(t.el))},s=()=>{r&&r.unobserve&&t.el&&(r.unobserve(t.el),r=null)},l=()=>{t&&!t.destroyed&&t.initialized&&n(\"orientationchange\")};e(\"init\",()=>{t.params.resizeObserver&&\"undefined\"!==typeof i.ResizeObserver?a():(i.addEventListener(\"resize\",o),i.addEventListener(\"orientationchange\",l))}),e(\"destroy\",()=>{s(),i.removeEventListener(\"resize\",o),i.removeEventListener(\"orientationchange\",l)})}function Tt({swiper:t,extendParams:e,on:n,emit:i}){const r=[],o=v(),a=(t,e={})=>{const n=o.MutationObserver||o.WebkitMutationObserver,a=new n(t=>{if(1===t.length)return void i(\"observerUpdate\",t[0]);const e=function(){i(\"observerUpdate\",t[0])};o.requestAnimationFrame?o.requestAnimationFrame(e):o.setTimeout(e,0)});a.observe(t,{attributes:\"undefined\"===typeof e.attributes||e.attributes,childList:\"undefined\"===typeof e.childList||e.childList,characterData:\"undefined\"===typeof e.characterData||e.characterData}),r.push(a)},s=()=>{if(t.params.observer){if(t.params.observeParents){const e=t.$el.parents();for(let t=0;t{r.forEach(t=>{t.disconnect()}),r.splice(0,r.length)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),n(\"init\",s),n(\"destroy\",l)}var Dt={on(t,e,n){const i=this;if(\"function\"!==typeof e)return i;const r=n?\"unshift\":\"push\";return t.split(\" \").forEach(t=>{i.eventsListeners[t]||(i.eventsListeners[t]=[]),i.eventsListeners[t][r](e)}),i},once(t,e,n){const i=this;if(\"function\"!==typeof e)return i;function r(...n){i.off(t,r),r.__emitterProxy&&delete r.__emitterProxy,e.apply(i,n)}return r.__emitterProxy=e,i.on(t,r,n)},onAny(t,e){const n=this;if(\"function\"!==typeof t)return n;const i=e?\"unshift\":\"push\";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[i](t),n},offAny(t){const e=this;if(!e.eventsAnyListeners)return e;const n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return n.eventsListeners?(t.split(\" \").forEach(t=>{\"undefined\"===typeof e?n.eventsListeners[t]=[]:n.eventsListeners[t]&&n.eventsListeners[t].forEach((i,r)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&n.eventsListeners[t].splice(r,1)})}),n):n},emit(...t){const e=this;if(!e.eventsListeners)return e;let n,i,r;\"string\"===typeof t[0]||Array.isArray(t[0])?(n=t[0],i=t.slice(1,t.length),r=e):(n=t[0].events,i=t[0].data,r=t[0].context||e),i.unshift(r);const o=Array.isArray(n)?n:n.split(\" \");return o.forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(r,[t,...i])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(t=>{t.apply(r,i)})}),e}};function Pt(){const t=this;let e,n;const i=t.$el;e=\"undefined\"!==typeof t.params.width&&null!==t.params.width?t.params.width:i[0].clientWidth,n=\"undefined\"!==typeof t.params.height&&null!==t.params.height?t.params.height:i[0].clientHeight,0===e&&t.isHorizontal()||0===n&&t.isVertical()||(e=e-parseInt(i.css(\"padding-left\")||0,10)-parseInt(i.css(\"padding-right\")||0,10),n=n-parseInt(i.css(\"padding-top\")||0,10)-parseInt(i.css(\"padding-bottom\")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))}function Lt(){const t=this;function e(e){return t.isHorizontal()?e:{width:\"height\",\"margin-top\":\"margin-left\",\"margin-bottom \":\"margin-right\",\"margin-left\":\"margin-top\",\"margin-right\":\"margin-bottom\",\"padding-left\":\"padding-top\",\"padding-right\":\"padding-bottom\",marginRight:\"marginBottom\"}[e]}function n(t,n){return parseFloat(t.getPropertyValue(e(n))||0)}const i=t.params,{$wrapperEl:r,size:o,rtlTranslate:a,wrongRTL:s}=t,l=t.virtual&&i.virtual.enabled,c=l?t.virtual.slides.length:t.slides.length,u=r.children(\".\"+t.params.slideClass),h=l?t.virtual.slides.length:u.length;let d=[];const p=[],f=[];let g=i.slidesOffsetBefore;\"function\"===typeof g&&(g=i.slidesOffsetBefore.call(t));let y=i.slidesOffsetAfter;\"function\"===typeof y&&(y=i.slidesOffsetAfter.call(t));const v=t.snapGrid.length,m=t.slidesGrid.length;let b=i.spaceBetween,x=-g,O=0,w=0;if(\"undefined\"===typeof o)return;\"string\"===typeof b&&b.indexOf(\"%\")>=0&&(b=parseFloat(b.replace(\"%\",\"\"))/100*o),t.virtualSize=-b,a?u.css({marginLeft:\"\",marginBottom:\"\",marginTop:\"\"}):u.css({marginRight:\"\",marginBottom:\"\",marginTop:\"\"}),i.centeredSlides&&i.cssMode&&(bt(t.wrapperEl,\"--swiper-centered-offset-before\",\"\"),bt(t.wrapperEl,\"--swiper-centered-offset-after\",\"\"));const j=i.grid&&i.grid.rows>1&&t.grid;let S;j&&t.grid.initSlides(h);const _=\"auto\"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(t=>\"undefined\"!==typeof i.breakpoints[t].slidesPerView).length>0;for(let C=0;C1&&d.push(t.virtualSize-o)}if(0===d.length&&(d=[0]),0!==i.spaceBetween){const n=t.isHorizontal()&&a?\"marginLeft\":e(\"marginRight\");u.filter((t,e)=>!i.cssMode||e!==u.length-1).css({[n]:b+\"px\"})}if(i.centeredSlides&&i.centeredSlidesBounds){let t=0;f.forEach(e=>{t+=e+(i.spaceBetween?i.spaceBetween:0)}),t-=i.spaceBetween;const e=t-o;d=d.map(t=>t<0?-g:t>e?e+y:t)}if(i.centerInsufficientSlides){let t=0;if(f.forEach(e=>{t+=e+(i.spaceBetween?i.spaceBetween:0)}),t-=i.spaceBetween,t{d[n]=t-e}),p.forEach((t,n)=>{p[n]=t+e})}}if(Object.assign(t,{slides:u,snapGrid:d,slidesGrid:p,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){bt(t.wrapperEl,\"--swiper-centered-offset-before\",-d[0]+\"px\"),bt(t.wrapperEl,\"--swiper-centered-offset-after\",t.size/2-f[f.length-1]/2+\"px\");const e=-t.snapGrid[0],n=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(t=>t+n)}h!==c&&t.emit(\"slidesLengthChange\"),d.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit(\"snapGridLengthChange\")),p.length!==m&&t.emit(\"slidesGridLengthChange\"),i.watchSlidesProgress&&t.updateSlidesOffset()}function Rt(t){const e=this,n=[],i=e.virtual&&e.params.virtual.enabled;let r,o=0;\"number\"===typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);const a=t=>i?e.slides.filter(e=>parseInt(e.getAttribute(\"data-swiper-slide-index\"),10)===t)[0]:e.slides.eq(t)[0];if(\"auto\"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)e.visibleSlides.each(t=>{n.push(t)});else for(r=0;re.slides.length&&!i)break;n.push(a(t))}else n.push(a(e.activeIndex));for(r=0;ro?t:o}(o||0===o)&&e.$wrapperEl.css(\"height\",o+\"px\")}function Et(){const t=this,e=t.slides;for(let n=0;n=0&&h1&&d<=e.size||h<=0&&d>=e.size;p&&(e.visibleSlides.push(t),e.visibleSlidesIndexes.push(s),i.eq(s).addClass(n.slideVisibleClass)),t.progress=r?-c:c,t.originalProgress=r?-u:u}e.visibleSlides=ut(e.visibleSlides)}function Ft(t){const e=this;if(\"undefined\"===typeof t){const n=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*n||0}const n=e.params,i=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:o,isEnd:a}=e;const s=o,l=a;0===i?(r=0,o=!0,a=!0):(r=(t-e.minTranslate())/i,o=r<=0,a=r>=1),Object.assign(e,{progress:r,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),o&&!s&&e.emit(\"reachBeginning toEdge\"),a&&!l&&e.emit(\"reachEnd toEdge\"),(s&&!o||l&&!a)&&e.emit(\"fromEdge\"),e.emit(\"progress\",r)}function Nt(){const t=this,{slides:e,params:n,$wrapperEl:i,activeIndex:r,realIndex:o}=t,a=t.virtual&&n.virtual.enabled;let s;e.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),s=a?t.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index=\"${r}\"]`):e.eq(r),s.addClass(n.slideActiveClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index=\"${o}\"]`).addClass(n.slideDuplicateActiveClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index=\"${o}\"]`).addClass(n.slideDuplicateActiveClass));let l=s.nextAll(\".\"+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=e.eq(0),l.addClass(n.slideNextClass));let c=s.prevAll(\".\"+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=e.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index=\"${l.attr(\"data-swiper-slide-index\")}\"]`).addClass(n.slideDuplicateNextClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index=\"${l.attr(\"data-swiper-slide-index\")}\"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index=\"${c.attr(\"data-swiper-slide-index\")}\"]`).addClass(n.slideDuplicatePrevClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index=\"${c.attr(\"data-swiper-slide-index\")}\"]`).addClass(n.slideDuplicatePrevClass)),t.emitSlidesClasses()}function zt(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{slidesGrid:i,snapGrid:r,params:o,activeIndex:a,realIndex:s,snapIndex:l}=e;let c,u=t;if(\"undefined\"===typeof u){for(let t=0;t=i[t]&&n=i[t]&&n=i[t]&&(u=t);o.normalizeSlideIndex&&(u<0||\"undefined\"===typeof u)&&(u=0)}if(r.indexOf(n)>=0)c=r.indexOf(n);else{const t=Math.min(o.slidesPerGroupSkip,u);c=t+Math.floor((u-t)/o.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),u===a)return void(c!==l&&(e.snapIndex=c,e.emit(\"snapIndexChange\")));const h=parseInt(e.slides.eq(u).attr(\"data-swiper-slide-index\")||u,10);Object.assign(e,{snapIndex:c,realIndex:h,previousIndex:a,activeIndex:u}),e.emit(\"activeIndexChange\"),e.emit(\"snapIndexChange\"),s!==h&&e.emit(\"realIndexChange\"),(e.initialized||e.params.runCallbacksOnInit)&&e.emit(\"slideChange\")}function Vt(t){const e=this,n=e.params,i=ut(t).closest(\".\"+n.slideClass)[0];let r,o=!1;if(i)for(let a=0;al?l:i&&to?\"next\":r=l.length&&(y=l.length-1),(h||s.initialSlide||0)===(u||0)&&n&&o.emit(\"beforeSlideChangeStart\");const v=-l[y];if(o.updateProgress(v),s.normalizeSlideIndex)for(let b=0;b=e&&t=e&&t=e&&(a=b)}if(o.initialized&&a!==h){if(!o.allowSlideNext&&vo.translate&&v>o.maxTranslate()&&(h||0)!==a)return!1}let m;if(m=a>h?\"next\":a{o.wrapperEl.style.scrollSnapType=\"\",o._swiperImmediateVirtual=!1})}else{if(!o.support.smoothScroll)return xt({swiper:o,targetPosition:n,side:t?\"left\":\"top\"}),!0;p.scrollTo({[t?\"left\":\"top\"]:n,behavior:\"smooth\"})}return!0}return o.setTransition(e),o.setTranslate(v),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit(\"beforeTransitionStart\",e,i),o.transitionStart(n,m),0===e?o.transitionEnd(n,m):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(t){o&&!o.destroyed&&t.target===this&&(o.$wrapperEl[0].removeEventListener(\"transitionend\",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener(\"webkitTransitionEnd\",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,m))}),o.$wrapperEl[0].addEventListener(\"transitionend\",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener(\"webkitTransitionEnd\",o.onSlideToWrapperTransitionEnd)),!0}function ee(t=0,e=this.params.speed,n=!0,i){const r=this;let o=t;return r.params.loop&&(o+=r.loopedSlides),r.slideTo(o,e,n,i)}function ne(t=this.params.speed,e=!0,n){const i=this,{animating:r,enabled:o,params:a}=i;if(!o)return i;let s=a.slidesPerGroup;\"auto\"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(s=Math.max(i.slidesPerViewDynamic(\"current\",!0),1));const l=i.activeIndexh(t));let f=a[p.indexOf(d)-1];if(\"undefined\"===typeof f&&r.cssMode){let t;a.forEach((e,n)=>{d>=e&&(t=n)}),\"undefined\"!==typeof t&&(f=a[t>0?t-1:t])}let g=0;return\"undefined\"!==typeof f&&(g=s.indexOf(f),g<0&&(g=i.activeIndex-1),\"auto\"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(g=g-i.slidesPerViewDynamic(\"previous\",!0)+1,g=Math.max(g,0))),r.rewind&&i.isBeginning?i.slideTo(i.slides.length-1,t,e,n):i.slideTo(g,t,e,n)}function re(t=this.params.speed,e=!0,n){const i=this;return i.slideTo(i.activeIndex,t,e,n)}function oe(t=this.params.speed,e=!0,n,i=.5){const r=this;let o=r.activeIndex;const a=Math.min(r.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[s]){const t=r.snapGrid[s],e=r.snapGrid[s+1];l-t>(e-t)*i&&(o+=r.params.slidesPerGroup)}else{const t=r.snapGrid[s-1],e=r.snapGrid[s];l-t<=(e-t)*i&&(o-=r.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,r.slidesGrid.length-1),r.slideTo(o,t,e,n)}function ae(){const t=this,{params:e,$wrapperEl:n}=t,i=\"auto\"===e.slidesPerView?t.slidesPerViewDynamic():e.slidesPerView;let r,o=t.clickedIndex;if(e.loop){if(t.animating)return;r=parseInt(ut(t.clickedSlide).attr(\"data-swiper-slide-index\"),10),e.centeredSlides?ot.slides.length-t.loopedSlides+i/2?(t.loopFix(),o=n.children(`.${e.slideClass}[data-swiper-slide-index=\"${r}\"]:not(.${e.slideDuplicateClass})`).eq(0).index(),dt(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-i?(t.loopFix(),o=n.children(`.${e.slideClass}[data-swiper-slide-index=\"${r}\"]:not(.${e.slideDuplicateClass})`).eq(0).index(),dt(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var se={slideTo:te,slideToLoop:ee,slideNext:ne,slidePrev:ie,slideReset:re,slideToClosest:oe,slideToClickedSlide:ae};function le(){const t=this,e=g(),{params:n,$wrapperEl:i}=t,r=i.children().length>0?ut(i.children()[0].parentNode):i;r.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=r.children(\".\"+n.slideClass);if(n.loopFillGroupWithBlank){const t=n.slidesPerGroup-o.length%n.slidesPerGroup;if(t!==n.slidesPerGroup){for(let i=0;io.length&&(t.loopedSlides=o.length);const a=[],s=[];o.each((e,n)=>{const i=ut(e);n=o.length-t.loopedSlides&&a.push(e),i.attr(\"data-swiper-slide-index\",n)});for(let l=0;l=0;l-=1)r.prepend(ut(a[l].cloneNode(!0)).addClass(n.slideDuplicateClass))}function ce(){const t=this;t.emit(\"beforeLoopFix\");const{activeIndex:e,slides:n,loopedSlides:i,allowSlidePrev:r,allowSlideNext:o,snapGrid:a,rtlTranslate:s}=t;let l;t.allowSlidePrev=!0,t.allowSlideNext=!0;const c=-a[e],u=c-t.getTranslate();if(e=n.length-i){l=-n.length+e+i,l+=i;const r=t.slideTo(l,0,!1,!0);r&&0!==u&&t.setTranslate((s?-t.translate:t.translate)-u)}t.allowSlidePrev=r,t.allowSlideNext=o,t.emit(\"loopFix\")}function ue(){const t=this,{$wrapperEl:e,params:n,slides:i}=t;e.children(`.${n.slideClass}.${n.slideDuplicateClass},.${n.slideClass}.${n.slideBlankClass}`).remove(),i.removeAttr(\"data-swiper-slide-index\")}var he={loopCreate:le,loopFix:ce,loopDestroy:ue};function de(t){const e=this;if(e.support.touch||!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n=\"container\"===e.params.touchEventsTarget?e.el:e.wrapperEl;n.style.cursor=\"move\",n.style.cursor=t?\"-webkit-grabbing\":\"-webkit-grab\",n.style.cursor=t?\"-moz-grabbin\":\"-moz-grab\",n.style.cursor=t?\"grabbing\":\"grab\"}function pe(){const t=this;t.support.touch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t[\"container\"===t.params.touchEventsTarget?\"el\":\"wrapperEl\"].style.cursor=\"\")}var fe={setGrabCursor:de,unsetGrabCursor:pe};function ge(t,e=this){function n(e){if(!e||e===g()||e===v())return null;e.assignedSlot&&(e=e.assignedSlot);const i=e.closest(t);return i||n(e.getRootNode().host)}return n(e)}function ye(t){const e=this,n=g(),i=v(),r=e.touchEventsData,{params:o,touches:a,enabled:s}=e;if(!s)return;if(e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let l=t;l.originalEvent&&(l=l.originalEvent);let c=ut(l.target);if(\"wrapper\"===o.touchEventsTarget&&!c.closest(e.wrapperEl).length)return;if(r.isTouchEvent=\"touchstart\"===l.type,!r.isTouchEvent&&\"which\"in l&&3===l.which)return;if(!r.isTouchEvent&&\"button\"in l&&l.button>0)return;if(r.isTouched&&r.isMoved)return;const u=!!o.noSwipingClass&&\"\"!==o.noSwipingClass;u&&l.target&&l.target.shadowRoot&&t.path&&t.path[0]&&(c=ut(t.path[0]));const h=o.noSwipingSelector?o.noSwipingSelector:\".\"+o.noSwipingClass,d=!(!l.target||!l.target.shadowRoot);if(o.noSwiping&&(d?ge(h,l.target):c.closest(h)[0]))return void(e.allowClick=!0);if(o.swipeHandler&&!c.closest(o.swipeHandler)[0])return;a.currentX=\"touchstart\"===l.type?l.targetTouches[0].pageX:l.pageX,a.currentY=\"touchstart\"===l.type?l.targetTouches[0].pageY:l.pageY;const p=a.currentX,f=a.currentY,y=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,m=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(y&&(p<=m||p>=i.innerWidth-m)){if(\"prevent\"!==y)return;t.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=f,r.touchStartTime=pt(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),\"touchstart\"!==l.type){let t=!0;c.is(r.focusableElements)&&(t=!1),n.activeElement&&ut(n.activeElement).is(r.focusableElements)&&n.activeElement!==c[0]&&n.activeElement.blur();const i=t&&e.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!i||c[0].isContentEditable||l.preventDefault()}e.emit(\"touchStart\",l)}function ve(t){const e=g(),n=this,i=n.touchEventsData,{params:r,touches:o,rtlTranslate:a,enabled:s}=n;if(!s)return;let l=t;if(l.originalEvent&&(l=l.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&n.emit(\"touchMoveOpposite\",l));if(i.isTouchEvent&&\"touchmove\"!==l.type)return;const c=\"touchmove\"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u=\"touchmove\"===l.type?c.pageX:l.pageX,h=\"touchmove\"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return o.startX=u,void(o.startY=h);if(!n.allowTouchMove)return n.allowClick=!1,void(i.isTouched&&(Object.assign(o,{startX:u,startY:h,currentX:u,currentY:h}),i.touchStartTime=pt()));if(i.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(ho.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(uo.startX&&n.translate>=n.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&ut(l.target).is(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);if(i.allowTouchCallbacks&&n.emit(\"touchMove\",l),l.targetTouches&&l.targetTouches.length>1)return;o.currentX=u,o.currentY=h;const d=o.currentX-o.startX,p=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(d**2+p**2)=25&&(t=180*Math.atan2(Math.abs(p),Math.abs(d))/Math.PI,i.isScrolling=n.isHorizontal()?t>r.touchAngle:90-t>r.touchAngle)}if(i.isScrolling&&n.emit(\"touchMoveOpposite\",l),\"undefined\"===typeof i.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;n.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation(),i.isMoved||(r.loop&&!r.cssMode&&n.loopFix(),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger(\"webkitTransitionEnd transitionend\"),i.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit(\"sliderFirstMove\",l)),n.emit(\"sliderMove\",l),i.isMoved=!0;let f=n.isHorizontal()?d:p;o.diff=f,f*=r.touchRatio,a&&(f=-f),n.swipeDirection=f>0?\"prev\":\"next\",i.currentTranslate=f+i.startTranslate;let y=!0,v=r.resistanceRatio;if(r.touchReleaseOnEdges&&(v=0),f>0&&i.currentTranslate>n.minTranslate()?(y=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+f)**v)):f<0&&i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function me(t){const e=this,n=e.touchEventsData,{params:i,touches:r,rtlTranslate:o,slidesGrid:a,enabled:s}=e;if(!s)return;let l=t;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&e.emit(\"touchEnd\",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);const c=pt(),u=c-n.touchStartTime;if(e.allowClick){const t=l.path||l.composedPath&&l.composedPath();e.updateClickedSlide(t&&t[0]||l.target),e.emit(\"tap click\",l),u<300&&c-n.lastClickTime<300&&e.emit(\"doubleTap doubleClick\",l)}if(n.lastClickTime=pt(),dt(()=>{e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=i.followFinger?o?e.translate:-e.translate:-n.currentTranslate,i.cssMode)return;if(e.params.freeMode&&i.freeMode.enabled)return void e.freeMode.onTouchEnd({currentPos:h});let d=0,p=e.slidesSizesGrid[0];for(let y=0;y=a[y]&&h=a[y]&&(d=y,p=a[a.length-1]-a[a.length-2])}const f=(h-a[d])/p,g=di.longSwipesMs){if(!i.longSwipes)return void e.slideTo(e.activeIndex);\"next\"===e.swipeDirection&&(f>=i.longSwipesRatio?e.slideTo(d+g):e.slideTo(d)),\"prev\"===e.swipeDirection&&(f>1-i.longSwipesRatio?e.slideTo(d+g):e.slideTo(d))}else{if(!i.shortSwipes)return void e.slideTo(e.activeIndex);const t=e.navigation&&(l.target===e.navigation.nextEl||l.target===e.navigation.prevEl);t?l.target===e.navigation.nextEl?e.slideTo(d+g):e.slideTo(d):(\"next\"===e.swipeDirection&&e.slideTo(d+g),\"prev\"===e.swipeDirection&&e.slideTo(d))}}function be(){const t=this,{params:e,el:n}=t;if(n&&0===n.offsetWidth)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:o}=t;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),(\"auto\"===e.slidesPerView||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.run(),t.allowSlidePrev=r,t.allowSlideNext=i,t.params.watchOverflow&&o!==t.snapGrid&&t.checkOverflow()}function xe(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Oe(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:i}=t;if(!i)return;let r;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,-0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();const o=t.maxTranslate()-t.minTranslate();r=0===o?0:(t.translate-t.minTranslate())/o,r!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit(\"setTranslate\",t.translate,!1)}let we=!1;function je(){}const Se=(t,e)=>{const n=g(),{params:i,touchEvents:r,el:o,wrapperEl:a,device:s,support:l}=t,c=!!i.nested,u=\"on\"===e?\"addEventListener\":\"removeEventListener\",h=e;if(l.touch){const e=!(\"touchstart\"!==r.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};o[u](r.start,t.onTouchStart,e),o[u](r.move,t.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),o[u](r.end,t.onTouchEnd,e),r.cancel&&o[u](r.cancel,t.onTouchEnd,e)}else o[u](r.start,t.onTouchStart,!1),n[u](r.move,t.onTouchMove,c),n[u](r.end,t.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&o[u](\"click\",t.onClick,!0),i.cssMode&&a[u](\"scroll\",t.onScroll),i.updateOnWindowResize?t[h](s.ios||s.android?\"resize orientationchange observerUpdate\":\"resize observerUpdate\",be,!0):t[h](\"observerUpdate\",be,!0)};function _e(){const t=this,e=g(),{params:n,support:i}=t;t.onTouchStart=ye.bind(t),t.onTouchMove=ve.bind(t),t.onTouchEnd=me.bind(t),n.cssMode&&(t.onScroll=Oe.bind(t)),t.onClick=xe.bind(t),i.touch&&!we&&(e.addEventListener(\"touchstart\",je),we=!0),Se(t,\"on\")}function Ce(){const t=this;Se(t,\"off\")}var Me={attachEvents:_e,detachEvents:Ce};const Ae=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function ke(){const t=this,{activeIndex:e,initialized:n,loopedSlides:i=0,params:r,$el:o}=t,a=r.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const s=t.getBreakpoint(a,t.params.breakpointsBase,t.el);if(!s||t.currentBreakpoint===s)return;const l=s in a?a[s]:void 0,c=l||t.originalParams,u=Ae(t,r),h=Ae(t,c),d=r.enabled;u&&!h?(o.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&h&&(o.addClass(r.containerModifierClass+\"grid\"),(c.grid.fill&&\"column\"===c.grid.fill||!c.grid.fill&&\"column\"===r.grid.fill)&&o.addClass(r.containerModifierClass+\"grid-column\"),t.emitContainerClasses());const p=c.direction&&c.direction!==r.direction,f=r.loop&&(c.slidesPerView!==r.slidesPerView||p);p&&n&&t.changeDirection(),mt(t.params,c);const g=t.params.enabled;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),d&&!g?t.disable():!d&&g&&t.enable(),t.currentBreakpoint=s,t.emit(\"_beforeBreakpoint\",c),f&&n&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(e-i+t.loopedSlides,0,!1)),t.emit(\"breakpoint\",c)}function Ie(t,e=\"window\",n){if(!t||\"container\"===e&&!n)return;let i=!1;const r=v(),o=\"window\"===e?r.innerHeight:n.clientHeight,a=Object.keys(t).map(t=>{if(\"string\"===typeof t&&0===t.indexOf(\"@\")){const e=parseFloat(t.substr(1)),n=o*e;return{value:n,point:t}}return{value:t,point:t}});a.sort((t,e)=>parseInt(t.value,10)-parseInt(e.value,10));for(let s=0;s{\"object\"===typeof t?Object.keys(t).forEach(i=>{t[i]&&n.push(e+i)}):\"string\"===typeof t&&n.push(e+t)}),n}function Pe(){const t=this,{classNames:e,params:n,rtl:i,$el:r,device:o,support:a}=t,s=De([\"initialized\",n.direction,{\"pointer-events\":!a.touch},{\"free-mode\":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{\"grid-column\":n.grid&&n.grid.rows>1&&\"column\"===n.grid.fill},{android:o.android},{ios:o.ios},{\"css-mode\":n.cssMode},{centered:n.cssMode&&n.centeredSlides}],n.containerModifierClass);e.push(...s),r.addClass([...e].join(\" \")),t.emitContainerClasses()}function Le(){const t=this,{$el:e,classNames:n}=t;e.removeClass(n.join(\" \")),t.emitContainerClasses()}var Re={addClasses:Pe,removeClasses:Le};function Ee(t,e,n,i,r,o){const a=v();let s;function l(){o&&o()}const c=ut(t).parent(\"picture\")[0];c||t.complete&&r?l():e?(s=new a.Image,s.onload=l,s.onerror=l,i&&(s.sizes=i),n&&(s.srcset=n),e&&(s.src=e)):l()}function Be(){const t=this;function e(){\"undefined\"!==typeof t&&null!==t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit(\"imagesReady\")))}t.imagesToLoad=t.$el.find(\"img\");for(let n=0;nn}else t.isLocked=1===t.snapGrid.length;!0===n.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===n.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?\"lock\":\"unlock\")}var ze={checkOverflow:Ne},Ve={init:!0,direction:\"horizontal\",touchEventsTarget:\"wrapper\",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:\"input, select, option, textarea, button, video, label\",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:\"slide\",breakpoints:void 0,breakpointsBase:\"window\",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:\"swiper-no-swiping\",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:\"swiper-\",slideClass:\"swiper-slide\",slideBlankClass:\"swiper-slide-invisible-blank\",slideActiveClass:\"swiper-slide-active\",slideDuplicateActiveClass:\"swiper-slide-duplicate-active\",slideVisibleClass:\"swiper-slide-visible\",slideDuplicateClass:\"swiper-slide-duplicate\",slideNextClass:\"swiper-slide-next\",slideDuplicateNextClass:\"swiper-slide-duplicate-next\",slidePrevClass:\"swiper-slide-prev\",slideDuplicatePrevClass:\"swiper-slide-duplicate-prev\",wrapperClass:\"swiper-wrapper\",runCallbacksOnInit:!0,_emitClasses:!1};function Ge(t,e){return function(n={}){const i=Object.keys(n)[0],r=n[i];\"object\"===typeof r&&null!==r?([\"navigation\",\"pagination\",\"scrollbar\"].indexOf(i)>=0&&!0===t[i]&&(t[i]={auto:!0}),i in t&&\"enabled\"in r?(!0===t[i]&&(t[i]={enabled:!0}),\"object\"!==typeof t[i]||\"enabled\"in t[i]||(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),mt(e,n)):mt(e,n)):mt(e,n)}}const He={eventsEmitter:Dt,update:Gt,translate:Ut,transition:$t,slide:se,loop:he,grabCursor:fe,events:Me,breakpoints:Te,checkOverflow:ze,classes:Re,images:Fe},We={};class Xe{constructor(...t){let e,n;if(1===t.length&&t[0].constructor&&\"Object\"===Object.prototype.toString.call(t[0]).slice(8,-1)?n=t[0]:[e,n]=t,n||(n={}),n=mt({},n),e&&!n.el&&(n.el=e),n.el&&ut(n.el).length>1){const t=[];return ut(n.el).each(e=>{const i=mt({},n,{el:e});t.push(new Xe(i))}),t}const i=this;i.__swiper__=!0,i.support=_t(),i.device=Mt({userAgent:n.userAgent}),i.browser=kt(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],n.modules&&Array.isArray(n.modules)&&i.modules.push(...n.modules);const r={};i.modules.forEach(t=>{t({swiper:i,extendParams:Ge(n,r),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const o=mt({},Ve,r);return i.params=mt({},o,We,n),i.originalParams=mt({},i.params),i.passedParams=mt({},n),i.params&&i.params.on&&Object.keys(i.params.on).forEach(t=>{i.on(t,i.params.on[t])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),i.$=ut,Object.assign(i,{enabled:i.params.enabled,el:e,classNames:[],slides:ut(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return\"horizontal\"===i.params.direction},isVertical(){return\"vertical\"===i.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEvents:function(){const t=[\"touchstart\",\"touchmove\",\"touchend\",\"touchcancel\"],e=[\"pointerdown\",\"pointermove\",\"pointerup\"];return i.touchEventsTouch={start:t[0],move:t[1],end:t[2],cancel:t[3]},i.touchEventsDesktop={start:e[0],move:e[1],end:e[2]},i.support.touch||!i.params.simulateTouch?i.touchEventsTouch:i.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:pt(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit(\"_swiper\"),i.params.init&&i.init(),i}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit(\"enable\"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit(\"disable\"))}setProgress(t,e){const n=this;t=Math.min(Math.max(t,0),1);const i=n.minTranslate(),r=n.maxTranslate(),o=(r-i)*t+i;n.translateTo(o,\"undefined\"===typeof e?0:e),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=t.el.className.split(\" \").filter(e=>0===e.indexOf(\"swiper\")||0===e.indexOf(t.params.containerModifierClass));t.emit(\"_containerClasses\",e.join(\" \"))}getSlideClasses(t){const e=this;return t.className.split(\" \").filter(t=>0===t.indexOf(\"swiper-slide\")||0===t.indexOf(e.params.slideClass)).join(\" \")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=[];t.slides.each(n=>{const i=t.getSlideClasses(n);e.push({slideEl:n,classNames:i}),t.emit(\"_slideClass\",n,i)}),t.emit(\"_slideClasses\",e)}slidesPerViewDynamic(t=\"current\",e=!1){const n=this,{params:i,slides:r,slidesGrid:o,slidesSizesGrid:a,size:s,activeIndex:l}=n;let c=1;if(i.centeredSlides){let t,e=r[l].swiperSlideSize;for(let n=l+1;ns&&(t=!0));for(let n=l-1;n>=0;n-=1)r[n]&&!t&&(e+=r[n].swiperSlideSize,c+=1,e>s&&(t=!0))}else if(\"current\"===t)for(let u=l+1;u=0;u-=1){const t=o[l]-o[u]1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),r||i()),n.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit(\"update\")}changeDirection(t,e=!0){const n=this,i=n.params.direction;return t||(t=\"horizontal\"===i?\"vertical\":\"horizontal\"),t===i||\"horizontal\"!==t&&\"vertical\"!==t||(n.$el.removeClass(`${n.params.containerModifierClass}${i}`).addClass(`${n.params.containerModifierClass}${t}`),n.emitContainerClasses(),n.params.direction=t,n.slides.each(e=>{\"vertical\"===t?e.style.width=\"\":e.style.height=\"\"}),n.emit(\"changeDirection\"),e&&n.update()),n}mount(t){const e=this;if(e.mounted)return!0;const n=ut(t||e.params.el);if(t=n[0],!t)return!1;t.swiper=e;const i=()=>\".\"+(e.params.wrapperClass||\"\").trim().split(\" \").join(\".\"),r=()=>{if(t&&t.shadowRoot&&t.shadowRoot.querySelector){const e=ut(t.shadowRoot.querySelector(i()));return e.children=t=>n.children(t),e}return n.children(i())};let o=r();if(0===o.length&&e.params.createElements){const t=g(),i=t.createElement(\"div\");o=ut(i),i.className=e.params.wrapperClass,n.append(i),n.children(\".\"+e.params.slideClass).each(t=>{o.append(t)})}return Object.assign(e,{$el:n,el:t,$wrapperEl:o,wrapperEl:o[0],mounted:!0,rtl:\"rtl\"===t.dir.toLowerCase()||\"rtl\"===n.css(\"direction\"),rtlTranslate:\"horizontal\"===e.params.direction&&(\"rtl\"===t.dir.toLowerCase()||\"rtl\"===n.css(\"direction\")),wrongRTL:\"-webkit-box\"===o.css(\"display\")}),!0}init(t){const e=this;if(e.initialized)return e;const n=e.mount(t);return!1===n||(e.emit(\"beforeInit\"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.attachEvents(),e.initialized=!0,e.emit(\"init\"),e.emit(\"afterInit\")),e}destroy(t=!0,e=!0){const n=this,{params:i,$el:r,$wrapperEl:o,slides:a}=n;return\"undefined\"===typeof n.params||n.destroyed||(n.emit(\"beforeDestroy\"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),e&&(n.removeClasses(),r.removeAttr(\"style\"),o.removeAttr(\"style\"),a&&a.length&&a.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(\" \")).removeAttr(\"style\").removeAttr(\"data-swiper-slide-index\")),n.emit(\"destroy\"),Object.keys(n.eventsListeners).forEach(t=>{n.off(t)}),!1!==t&&(n.$el[0].swiper=null,ht(n)),n.destroyed=!0),null}static extendDefaults(t){mt(We,t)}static get extendedDefaults(){return We}static get defaults(){return Ve}static installModule(t){Xe.prototype.__modules__||(Xe.prototype.__modules__=[]);const e=Xe.prototype.__modules__;\"function\"===typeof t&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?(t.forEach(t=>Xe.installModule(t)),Xe):(Xe.installModule(t),Xe)}}Object.keys(He).forEach(t=>{Object.keys(He[t]).forEach(e=>{Xe.prototype[e]=He[t][e]})}),Xe.use([It,Tt]);var Ye=Xe;function qe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ue(t){for(var e=1;e=1&&parseInt(t,10)===t||0==t?t:void 0}},axisLine:{lineStyle:{color:\"rgba(154,199,220, 0.2)\"}},splitLine:{lineStyle:{color:\"rgba(154,199,220, 0.2)\"}}},tooltip:{trigger:\"axis\",backgroundColor:\"rgba(6, 47, 107, 1)\",borderColor:\"rgba(2, 115, 233, 1)\",textStyle:{color:\"#fff\"}},legend:[{left:\"center\",data:this.legendTop,inactiveColor:\"#333333\",borderRadius:6,itemWidth:14,itemHeight:6,itemGap:40,textStyle:{color:\"#B1E3FF\"}},{left:\"center\",top:\"14%\",data:this.legendBottom,inactiveColor:\"#333333\",borderRadius:6,itemWidth:14,itemHeight:6,itemGap:40,textStyle:{color:\"#B1E3FF\"}}],color:[\"#59C06C\",\"#F5B351\",\"#2E84D0\",\"#FF97AE\"],series:[{type:\"bar\",seriesLayoutBy:\"row\",barWidth:8,barGap:\"80%\",itemStyle:{borderRadius:5,color:new r[\"a\"].LinearGradient(0,0,0,1,[{offset:0,color:\"#59C06C\"},{offset:1,color:\"rgba(89,192,108,0.3)\"}])}},{type:\"bar\",seriesLayoutBy:\"row\",barWidth:8,barGap:\"80%\",itemStyle:{borderRadius:5,color:new r[\"a\"].LinearGradient(0,0,0,1,[{offset:0,color:\"#386A97\"},{offset:1,color:\"rgba(56,106,151,0.3)\"}])}},{type:\"bar\",seriesLayoutBy:\"row\",barWidth:8,barGap:\"80%\",itemStyle:{borderRadius:5,color:new r[\"a\"].LinearGradient(0,0,0,1,[{offset:0,color:\"#F8B551\"},{offset:1,color:\"rgba(248,181,81,0.3)\"}])}},{type:\"bar\",seriesLayoutBy:\"row\",barWidth:8,barGap:\"80%\",itemStyle:{borderRadius:5,color:new r[\"a\"].LinearGradient(0,0,0,1,[{offset:0,color:\"#FFBBC9\"},{offset:1,color:\"rgba(255,187,201,0.3)\"}])}}]},this.heatBarOption&&this.heatBarChart.setOption(this.heatBarOption),window.addEventListener(\"resize\",(function(){return t.heatBarChart.resize()}))},getDictName:function(t,e){return h[\"a\"].getDictName(t,e)},handleNewsDetail:function(t){this.handleDetail(\"reformNewsSingle\",t.id)},loadNews:function(){var t=this;this.loadObj.scrollBoradData=!0;var e={pageBean:{pageSize:-1,page:1},querys:[{group:\"main\",operation:\"EQUAL\",parentGroup:\"\",property:\"n.OPERATE_TYPE_\",relation:\"AND\",value:\"2\"},{group:\"main\",operation:\"EQUAL\",parentGroup:\"\",property:\"n.EXCELLENT_\",relation:\"AND\",value:\"3\"}]};u[\"a\"].getNews(e,(function(e){t.scrollBoradData=e.rows,t.loadObj.scrollBoradData=!1}))},getNewsDetail:function(t,e){this.currentTabComponent=s[\"a\"].dialogOption[t].componentName?s[\"a\"].dialogOption[t].componentName:t,e&&(s[\"a\"].dialogOption[t].option.dialogTitle=e.title),this.tableOptions=Ue(Ue({},s[\"a\"].dialogOption[t].dataOptions),{},{id:e.id}),this.dialogOption=s[\"a\"].dialogOption[t].option,this.showEasy=!0},openSubDialog:function(t,e){this.currentTabComponent=s[\"a\"].dialogOption[t].componentName?s[\"a\"].dialogOption[t].componentName:t,this.tableOptions=e?Ue(Ue({},s[\"a\"].dialogOption[t].dataOptions),e):s[\"a\"].dialogOption[t].dataOptions,this.dialogOption=s[\"a\"].dialogOption[t].option,this.showEasy=!0},initLineChart:function(){var t=document.getElementById(\"deploymentTime\");this.deployTimeChart=r[\"b\"](t),this.deployTimeOption={grid:{top:\"5%\",bottom:\"6%\",left:0,right:\"6%\",containLabel:!0},tooltip:{trigger:\"axis\",backgroundColor:\"rgba(6, 47, 107, 1)\",borderColor:\"rgba(2, 115, 233, 1)\",textStyle:{color:\"#fff\"}},xAxis:{type:\"category\",boundaryGap:!1,axisTick:!1,axisLine:{lineStyle:{color:\"rgba(154,199,220, 0.2)\"}},axisLabel:{color:\"#D7F1FF\"},data:this.deploymentTimeYear},yAxis:{type:\"value\",min:0,splitNumber:5,axisLabel:{color:\"#D7F1FF\",formatter:function(t){return t>=1&&parseInt(t,10)===t||0==t?t:void 0}},axisLine:{lineStyle:{color:\"rgba(154,199,220, 0.2)\"}},splitLine:{lineStyle:{color:\"rgba(154,199,220, 0.2)\"}}},color:[\"#00FFFF\",\"#CE01E0\"],series:[{name:\"国家级\",data:this.deploymentTimeData2,type:\"line\",symbol:\"emptyCircle\",symbolSize:4,areaStyle:{color:{type:\"linear\",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:\"rgba(206, 1, 224, 1)\"},{offset:.4,color:\"rgba(206, 1, 224, 0.2)\"},{offset:1,color:\"rgba(206, 1, 224, 0)\"}],global:!1}}}]},this.deployTimeOption&&this.deployTimeChart.setOption(this.deployTimeOption)},initReformBrand:function(){var t=document.getElementById(\"reform-brand\");this.reformBrandChart=r[\"b\"](t),this.reformBrandOption={grid:{top:\"24%\",bottom:0,left:0,right:0,containLabel:!0},tooltip:{trigger:\"axis\",backgroundColor:\"rgba(6, 47, 107, 1)\",borderColor:\"rgba(2, 115, 233, 1)\",textStyle:{color:\"#fff\"},formatter:function(t){for(var e=t[0].axisValue+\"
    \",n=[\"获全国性肯定评价\",\"获全市推广\",\"获中央媒体深度专题报道\"],i=0,r=t.length;i\\n \\n \\n ').concat(n[i],'\\n \\n ').concat(t[i].value,\"\\n \\n \");return e}},legend:{data:[\"全国肯定\",\"全市推广\",\"央媒报道\"],inactiveColor:\"#333333\",borderRadius:6,itemWidth:20,itemHeight:6,textStyle:{color:\"#B1E3FF\"}},xAxis:{type:\"category\",boundaryGap:!0,axisTick:!1,axisLine:{lineStyle:{color:\"rgba(154,199,220, 0.2)\"}},axisLabel:{color:\"#D7F1FF\"},data:this.xAxisData},yAxis:{type:\"value\",min:0,splitNumber:3,axisLabel:{color:\"#D7F1FF\",formatter:function(t){return t>=1&&parseInt(t,10)===t||0==t?t:void 0}},axisLine:{lineStyle:{color:\"rgba(154,199,220, 0.2)\"}},splitLine:{lineStyle:{color:\"rgba(154,199,220, 0.2)\"}}},color:[\"#59C06C\",\"#64b4ff\",\"#FFB51F\"],series:[{name:\"全国肯定\",data:this.brandChartData1,type:\"bar\",barWidth:6,itemStyle:{borderRadius:5}},{name:\"全市推广\",data:this.brandChartData2,type:\"bar\",barWidth:6,itemStyle:{borderRadius:5}}]},this.reformBrandOption&&this.reformBrandChart.setOption(this.reformBrandOption)},changeMapBtn:function(t){this.activeBtnKey=t,\"composite\"==t?this.handleMapArea(this.compositeMapData,t):\"workable\"==t?this.handleMapArea(this.workableMapData,t):\"brand\"==t?this.handleMapArea(this.brandMapData,t):\"satisfaction\"==t?this.handleMapArea(this.satisfactionMapData,t):\"risk\"==t&&this.handleMapArea(this.riskMapData,t)},changeBtnTab:function(t){this.activeBtn=t},preMapData:function(t){this.handleMapArea(this.mapDataKide,\"allGrade\"),this.changeMapType(),this.initSwiper()},changeMapType:function(){var t=this.mapDataKide,e=t.filter((function(t){return\"500191000000\"===t.unitCode})),n=t.filter((function(t){return\"500193000000\"===t.unitCode}));this.ljxqGrade=e[0][this.mapKeyArr[this.kindIndex]],this.gxqGrade=n[0][this.mapKeyArr[this.kindIndex]],this.handleMapArea(t,this.mapKeyArr[this.kindIndex])},handleMapArea:function(t,e){this.optionCQ.series[0].data=this.convertData(o[\"a\"].features,t,e),this.optionMain.series[0].data=this.convertData(a[\"a\"].features,t,e,!0),this.myChartCQ.setOption(this.optionCQ),this.myChartMain.setOption(this.optionMain),this.swiper&&this.swiper.slideNext()},initMapCQ:function(){var t=this,e=document.getElementById(\"cq-contianer\"),n=getComputedStyle(e).getPropertyValue(\"width\").replace(\"px\",\"\"),i=getComputedStyle(e).getPropertyValue(\"height\").replace(\"px\",\"\");n=parseInt(n,10),i=parseInt(i,10),this.myChartCQ=r[\"b\"](e,null,{renderer:\"svg\",width:n,height:i}),r[\"c\"](\"cq\",o[\"a\"]);var a=\"cq\",s=\"38%\",l=\"-16%\",u=1.2,h=1,d=[106.5049,29];this.optionCQ={series:[{name:\"重庆\",type:\"map\",map:a,zoom:u,zlevel:100,center:d,aspectScale:h,roam:!1,scaleLimit:{min:.6,max:4},itemStyle:{normal:{borderWidth:1,borderColor:\"#2ddcfd\"}},emphasis:{disabled:!0},top:s,left:l,data:this.convertData(o[\"a\"].features,c[\"a\"].btnkey1,\"risk\")}]},this.myChartCQ.setOption(this.optionCQ),this.myChartCQ.on(\"click\",(function(e){var n=e.value;n||(n=t.getAreaCode(e.name,o[\"a\"])),t.$router.push({path:\"/DistrictReformSubView\",query:{name:e.name,code:n}});var i=document.getElementsByClassName(\"data-tooltip\");Array.from(i).forEach((function(t){t.remove()}))}))},openDialog:function(t){this.mapDialogShow||(this.mapDialogShow=!0),this.mapDialogleft=t.clientX+10,this.mapDialogTop=t.clientY+10},initMapMain:function(){var t=this;this.myChartMain=r[\"b\"](document.getElementById(\"main9-contianer\"),null,{renderer:\"svg\"}),r[\"c\"](\"main9\",a[\"a\"]);var e=24,n=45,i=1.2,o=\"main9\",s=1;this.optionMain={geo:[{map:o,zoom:i,zlevel:0,aspectScale:s,itemStyle:{normal:{borderWidth:0}},emphasis:{disabled:!0},tooltip:{show:!1},top:e,left:n}],series:[{name:\"重庆主城\",type:\"map\",map:o,zoom:i,zlevel:100,aspectScale:s,itemStyle:{normal:{borderWidth:1,borderColor:\"white\"}},emphasis:{disabled:!0,itemStyle:{areaColor:\"yellow\"}},top:e,left:n,data:this.convertData(a[\"a\"].features,c[\"a\"].btnkey1,\"risk\",!0)}]},this.myChartMain.setOption(this.optionMain),this.myChartMain.on(\"click\",(function(e){var n=e.value;n||(n=t.getAreaCode(e.name,a[\"a\"])),t.$router.push({path:\"/DistrictReformSubView\",query:{name:e.name,code:n}});var i=document.querySelectorAll(\".data-tooltip\");Array.from(i).forEach((function(t){t.remove()}))}))},getAreaCode:function(t,e){var n;return e.features.find((function(e){e.properties.name==t&&(n=e.properties.code)})),n},resize:function(t){var e=this;setTimeout((function(){var t=document.getElementById(\"cq-contianer\");if(t){var n=getComputedStyle(t).getPropertyValue(\"width\").replace(\"px\",\"\"),i=getComputedStyle(t).getPropertyValue(\"height\").replace(\"px\",\"\");n=parseInt(n,10),i=parseInt(i,10),e.myChartCQ.resize({width:n,height:i}),e.myChartMain.resize(),e.deployTimeChart.resize(),e.reformBrandChart.resize()}}),t||0)}}}},\"3cbb\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o}));var i=n(\"cc94\"),r=n(\"62e3\"),o=Object(r[\"d\"])({},i[\"b\"].getDefaultOptions(),{legend:{position:\"right\",radio:{}},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}}}}})},\"3cf2\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return F}));var i=n(\"8937\"),r=n(\"62e3\"),o=n(\"bb0f\"),a=n(\"1d73\"),s=n(\"63e2\"),l=n(\"5fff\"),c=n(\"bbd5\"),u=n(\"0cc4\"),h=n(\"68bc\"),d=n(\"0c22\"),p=n(\"5e91\"),f=n(\"538f\"),g=n(\"0704\"),y=n(\"3456\"),v=n(\"5e5a\"),m=n(\"849a\"),b=n(\"0abd\"),x=n(\"4d99\"),O=n(\"9308\"),w=n(\"bbdf\"),j=n(\"60fe\"),S=n(\"988d\"),_=n(\"b44e\"),C=n(\"5cc9\"),M=n(\"ffed\"),A=n(\"70cc\"),k=n(\"d390\"),I=n(\"8582\"),T=n(\"d36e\"),D=n(\"9a08\"),P=n(\"9adb\"),L=n(\"b2c8\"),R={line:m[\"a\"],pie:x[\"a\"],column:u[\"a\"],bar:l[\"a\"],area:a[\"a\"],gauge:f[\"a\"],\"tiny-line\":L[\"a\"],\"tiny-column\":D[\"a\"],\"tiny-area\":I[\"a\"],\"ring-progress\":S[\"a\"],progress:w[\"a\"],scatter:C[\"a\"],histogram:y[\"a\"],funnel:d[\"a\"],stock:A[\"a\"]},E={line:v[\"a\"],pie:b[\"a\"],column:c[\"a\"],bar:s[\"a\"],area:o[\"a\"],gauge:p[\"a\"],\"tiny-line\":P[\"a\"],\"tiny-column\":T[\"a\"],\"tiny-area\":k[\"a\"],\"ring-progress\":j[\"a\"],progress:O[\"a\"],scatter:_[\"a\"],histogram:g[\"a\"],funnel:h[\"a\"],stock:M[\"a\"]},B={pie:{label:!1},column:{tooltip:{showMarkers:!1}},bar:{tooltip:{showMarkers:!1}}};function F(t,e,n){var o=E[t];if(o){var a=R[t];a({chart:e,options:Object(r[\"d\"])({},o.getDefaultOptions(),Object(i[\"s\"])(B,t,{}),n)})}}},\"3cf6\":function(t,e,n){\"use strict\";n(\"a003\")},\"3e28\":function(t,e){},\"3f35\":function(t,e,n){\"use strict\";function i(t,e){var n={};return null!==t&&\"object\"===typeof t&&e.forEach((function(e){var i=t[e];void 0!==i&&(n[e]=i)})),n}n.d(e,\"a\",(function(){return i}))},\"3f84\":function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.removeSensor=e.getSensor=void 0;var i=a(n(\"721a\")),r=n(\"1710\"),o=n(\"db86\");function a(t){return t&&t.__esModule?t:{default:t}}var s={},l=function(t){var e=t.getAttribute(o.SizeSensorId);if(e&&s[e])return s[e];var n=(0,i[\"default\"])();t.setAttribute(o.SizeSensorId,n);var a=(0,r.createSensor)(t);return s[n]=a,a};e.getSensor=l;var c=function(t){var e=t.element.getAttribute(o.SizeSensorId);t.element.removeAttribute(o.SizeSensorId),t.destroy(),e&&s[e]&&delete s[e]};e.removeSensor=c},\"40ef\":function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.createSensor=void 0;var i=o(n(\"3688\")),r=n(\"db86\");function o(t){return t&&t.__esModule?t:{default:t}}var a=function(t){var e=void 0,n=[],o=function(){\"static\"===getComputedStyle(t).position&&(t.style.position=\"relative\");var e=document.createElement(\"object\");return e.onload=function(){e.contentDocument.defaultView.addEventListener(\"resize\",a),a()},e.style.display=\"block\",e.style.position=\"absolute\",e.style.top=\"0\",e.style.left=\"0\",e.style.height=\"100%\",e.style.width=\"100%\",e.style.overflow=\"hidden\",e.style.pointerEvents=\"none\",e.style.zIndex=\"-1\",e.style.opacity=\"0\",e.setAttribute(\"class\",r.SensorClassName),e.setAttribute(\"tabindex\",r.SensorTabIndex),e.type=\"text/html\",t.appendChild(e),e.data=\"about:blank\",e},a=(0,i[\"default\"])((function(){n.forEach((function(e){e(t)}))})),s=function(t){e||(e=o()),-1===n.indexOf(t)&&n.push(t)},l=function(){e&&e.parentNode&&(e.contentDocument&&e.contentDocument.defaultView.removeEventListener(\"resize\",a),e.parentNode.removeChild(e),e=void 0,n=[])},c=function(t){var i=n.indexOf(t);-1!==i&&n.splice(i,1),0===n.length&&e&&l()};return{element:t,bind:s,destroy:l,unbind:c}};e.createSensor=a},\"41c8\":function(t,e,n){\"use strict\";var i=n(\"8937\"),r=n(\"d177\"),o=function(){function t(t){var e=t.xField,n=t.yField,i=t.adjustNames,r=void 0===i?[\"x\",\"y\"]:i,o=t.dimValuesMap;this.adjustNames=r,this.xField=e,this.yField=n,this.dimValuesMap=o}return t.prototype.isAdjust=function(t){return this.adjustNames.indexOf(t)>=0},t.prototype.getAdjustRange=function(t,e,n){var i,r,o=this.yField,a=n.indexOf(e),s=n.length;return!o&&this.isAdjust(\"y\")?(i=0,r=1):s>1?(i=n[0===a?0:a-1],r=n[a===s-1?s-1:a+1],0!==a?i+=(e-i)/2:i-=(r-e)/2,a!==s-1?r-=(r-e)/2:r+=(e-n[s-2])/2):(i=0===e?0:e-.5,r=0===e?1:e+.5),{pre:i,next:r}},t.prototype.adjustData=function(t,e){var n=this,r=this.getDimValues(e);i[\"j\"](t,(function(t,e){i[\"j\"](r,(function(i,r){n.adjustDim(r,i,t,e)}))}))},t.prototype.groupData=function(t,e){return i[\"j\"](t,(function(t){void 0===t[e]&&(t[e]=r[\"a\"])})),i[\"w\"](t,e)},t.prototype.adjustDim=function(t,e,n,i){},t.prototype.getDimValues=function(t){var e=this,n=e.xField,o=e.yField,a=i[\"b\"]({},this.dimValuesMap),s=[];if(n&&this.isAdjust(\"x\")&&s.push(n),o&&this.isAdjust(\"y\")&&s.push(o),s.forEach((function(e){a&&a[e]||(a[e]=i[\"yb\"](t,e).sort((function(t,e){return t-e})))})),!o&&this.isAdjust(\"y\")){var l=\"y\";a[l]=[r[\"a\"],1]}return a},t}();e[\"a\"]=o},\"41ef\":function(t,e,n){\"use strict\";n.d(e,\"g\",(function(){return v})),n.d(e,\"c\",(function(){return x})),n.d(e,\"a\",(function(){return O})),n.d(e,\"b\",(function(){return w})),n.d(e,\"f\",(function(){return j})),n.d(e,\"e\",(function(){return S})),n.d(e,\"h\",(function(){return _})),n.d(e,\"d\",(function(){return C}));var i=n(\"d51b\"),r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(t){return t=Math.round(t),t<0?0:t>255?255:t}function a(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){var e=t;return e.length&&\"%\"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function c(t){var e=t;return e.length&&\"%\"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function u(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n){return t+(e-t)*n}function d(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new i[\"a\"](20),g=null;function y(t,e){g&&p(g,e),g=f.put(t,g||e.slice())}function v(t,e){if(t){e=e||[];var n=f.get(t);if(n)return p(e,n);t+=\"\";var i=t.replace(/ /g,\"\").toLowerCase();if(i in r)return p(e,r[i]),y(t,e),e;var o=i.length;if(\"#\"!==i.charAt(0)){var a=i.indexOf(\"(\"),s=i.indexOf(\")\");if(-1!==a&&s+1===o){var u=i.substr(0,a),h=i.substr(a+1,s-(a+1)).split(\",\"),g=1;switch(u){case\"rgba\":if(4!==h.length)return 3===h.length?d(e,+h[0],+h[1],+h[2],1):d(e,0,0,0,1);g=c(h.pop());case\"rgb\":return h.length>=3?(d(e,l(h[0]),l(h[1]),l(h[2]),3===h.length?g:c(h[3])),y(t,e),e):void d(e,0,0,0,1);case\"hsla\":return 4!==h.length?void d(e,0,0,0,1):(h[3]=c(h[3]),m(h,e),y(t,e),e);case\"hsl\":return 3!==h.length?void d(e,0,0,0,1):(m(h,e),y(t,e),e);default:return}}d(e,0,0,0,1)}else{if(4===o||5===o){var v=parseInt(i.slice(1,4),16);return v>=0&&v<=4095?(d(e,(3840&v)>>4|(3840&v)>>8,240&v|(240&v)>>4,15&v|(15&v)<<4,5===o?parseInt(i.slice(4),16)/15:1),y(t,e),e):void d(e,0,0,0,1)}if(7===o||9===o){v=parseInt(i.slice(1,7),16);return v>=0&&v<=16777215?(d(e,(16711680&v)>>16,(65280&v)>>8,255&v,9===o?parseInt(i.slice(7),16)/255:1),y(t,e),e):void d(e,0,0,0,1)}}}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=c(t[1]),r=c(t[2]),a=r<=.5?r*(i+1):r+i-r*i,s=2*r-a;return e=e||[],d(e,o(255*u(s,a,n+1/3)),o(255*u(s,a,n)),o(255*u(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function b(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,c=(s+a)/2;if(0===l)e=0,n=0;else{n=c<.5?l/(s+a):l/(2-s-a);var u=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-h:r===s?e=1/3+u-d:o===s&&(e=2/3+h-u),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,c];return null!=t[3]&&p.push(t[3]),p}}function x(t,e){var n=v(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return _(n,4===n.length?\"rgba\":\"rgb\")}}function O(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),l=e[r],c=e[a],u=i-r;return n[0]=o(h(l[0],c[0],u)),n[1]=o(h(l[1],c[1],u)),n[2]=o(h(l[2],c[2],u)),n[3]=s(h(l[3],c[3],u)),n}}function w(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),l=v(e[r]),c=v(e[a]),u=i-r,d=_([o(h(l[0],c[0],u)),o(h(l[1],c[1],u)),o(h(l[2],c[2],u)),s(h(l[3],c[3],u))],\"rgba\");return n?{color:d,leftIndex:r,rightIndex:a,value:i}:d}}function j(t,e,n,i){var r=v(t);if(t)return r=b(r),null!=e&&(r[0]=a(e)),null!=n&&(r[1]=c(n)),null!=i&&(r[2]=c(i)),_(m(r),\"rgba\")}function S(t,e){var n=v(t);if(n&&null!=e)return n[3]=s(e),_(n,\"rgba\")}function _(t,e){if(t&&t.length){var n=t[0]+\",\"+t[1]+\",\"+t[2];return\"rgba\"!==e&&\"hsva\"!==e&&\"hsla\"!==e||(n+=\",\"+t[3]),e+\"(\"+n+\")\"}}function C(t,e){var n=v(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}},\"42e4\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return h})),n.d(e,\"b\",(function(){return p}));var i=n(\"8937\"),r=n(\"58e4\"),o=n(\"62e3\"),a=n(\"e474\"),s=n(\"7b42\"),l=n(\"618a\");function c(t){var e,n=t.chart,i=t.options,r=i.data,o=void 0===r?[]:r,a=i.yField;return n.data(o),n.scale((e={},e[a]={sync:!0},e)),t}function u(t){var e=t.chart,n=t.options,c=n.data,u=n.xField,h=n.yField,d=n.color,p=n.compareField,f=n.isTransposed,g=n.tooltip,y=n.maxSize,v=n.minSize,m=n.label,b=n.funnelStyle,x=n.state,O=n.showFacetTitle;return e.facet(\"mirror\",{fields:[p],transpose:!f,padding:f?0:[32,0,0,0],showTitle:O,eachView:function(t,e){var n=f?e.rowIndex:e.columnIndex;f||t.coordinate({type:\"rect\",actions:[[\"transpose\"],[\"scale\",0===n?-1:1,-1]]});var O=Object(l[\"c\"])(e.data,c,{yField:h,maxSize:y,minSize:v});t.data(O);var w=Object(a[\"a\"])(g,[u,h,p]),j=w.fields,S=w.formatter,_=f?{offset:0===n?10:-23,position:0===n?\"bottom\":\"top\"}:{offset:10,position:\"left\",style:{textAlign:0===n?\"end\":\"start\"}};Object(r[\"a\"])({chart:t,options:{type:\"interval\",xField:u,yField:s[\"c\"],colorField:u,tooltipFields:Object(i[\"C\"])(j)&&j.concat([s[\"d\"],s[\"b\"]]),mapping:{shape:\"funnel\",tooltip:S,color:d,style:b},label:!1!==m&&Object(o[\"d\"])({},_,m),state:x}})}}),t}function h(t){var e=t.chart,n=t.index,r=t.options,a=r.conversionTag,c=r.isTransposed;(Object(i[\"M\"])(n)?[e]:e.views).forEach((function(t,e){var u=Object(i[\"s\"])(t,[\"geometries\",\"0\",\"dataArray\"],[]),h=Object(i[\"s\"])(t,[\"options\",\"data\",\"length\"]),d=Object(i[\"W\"])(u,(function(t){return Object(i[\"s\"])(t,[\"0\",\"nextPoints\",\"0\",\"x\"])*h-.5})),p=function(t,i,r,l){var u=0===(n||e)?-1:1;return Object(o[\"d\"])({},l,{start:[d[i-1]||i-.5,t[s[\"c\"]]],end:[d[i-1]||i-.5,t[s[\"c\"]]+.05],text:c?{style:{textAlign:\"start\"}}:{offsetX:!1!==a?u*a.offsetX:0,style:{textAlign:0===(n||e)?\"end\":\"start\"}}})};Object(l[\"b\"])(p)(Object(o[\"d\"])({},{chart:t,options:r}))}))}function d(t){var e=t.chart;return e.once(\"beforepaint\",(function(){return h(t)})),t}function p(t){return Object(o[\"g\"])(c,u,d)(t)}},4799:function(t,e,n){\"use strict\";n.r(e),n.d(e,\"Base\",(function(){return u})),n.d(e,\"Circle\",(function(){return d})),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 X})),n.d(e,\"Path\",(function(){return st})),n.d(e,\"Polygon\",(function(){return ut})),n.d(e,\"Polyline\",(function(){return dt})),n.d(e,\"Rect\",(function(){return vt})),n.d(e,\"Text\",(function(){return bt}));var i={};n.r(i),n.d(i,\"Base\",(function(){return u})),n.d(i,\"Circle\",(function(){return d})),n.d(i,\"Ellipse\",(function(){return g})),n.d(i,\"Image\",(function(){return m})),n.d(i,\"Line\",(function(){return j})),n.d(i,\"Marker\",(function(){return X})),n.d(i,\"Path\",(function(){return st})),n.d(i,\"Polygon\",(function(){return ut})),n.d(i,\"Polyline\",(function(){return dt})),n.d(i,\"Rect\",(function(){return vt})),n.d(i,\"Text\",(function(){return bt}));var r=n(\"9ab48\"),o=n(\"6855\"),a=n(\"7326\"),s=n(\"f5e5\"),l=n(\"c2ad\"),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return i},e.prototype.getGroupBase=function(){return l[\"a\"]},e.prototype.onCanvasChange=function(t){Object(s[\"h\"])(this,t)},e.prototype.calculateBBox=function(){var t=this.get(\"type\"),e=this.getHitLineWidth(),n=Object(o[\"getBBoxMethod\"])(t),i=n(this),r=e/2,a=i.x-r,s=i.y-r,l=i.x+i.width+r,c=i.y+i.height+r;return{x:a,minX:a,y:s,minY:s,width:i.width+e,height:i.height+e,maxX:l,maxY:c}},e.prototype.isFill=function(){return!!this.attrs[\"fill\"]||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs[\"stroke\"]},e.prototype._applyClip=function(t,e){e&&(t.save(),Object(s[\"a\"])(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.draw=function(t,e){var n=this.cfg.clipShape;if(e){if(!1===this.cfg.refresh)return void this.set(\"hasChanged\",!1);var i=this.getCanvasBBox();if(!Object(a[\"f\"])(e,i))return this.set(\"hasChanged\",!1),void(this.cfg.isInView&&this._afterDraw())}t.save(),Object(s[\"a\"])(t,this),this._applyClip(t,n),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var e=this.getCanvasBBox(),n=Object(a[\"f\"])(e,t);this.set(\"isInView\",n),n?this.set(\"cacheCanvasBBox\",e):this.set(\"cacheCanvasBBox\",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set(\"hasChanged\",!1),this.set(\"refresh\",null)},e.prototype.skipDraw=function(){this.set(\"cacheCanvasBBox\",null),this.set(\"isInView\",null),this.set(\"hasChanged\",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,i=e.opacity,r=e.strokeOpacity,o=e.fillOpacity;this.isFill()&&(Object(a[\"i\"])(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=i)),this.isStroke()&&n>0&&(Object(a[\"i\"])(r)||1===r||(t.globalAlpha=r),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(),i=this.isFill(),r=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,i,r)},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t[\"lineWidth\"]+t[\"lineAppendWidth\"]},e}(o[\"AbstractShape\"]),u=c,h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){var o=this.attr(),s=o.x,l=o.y,c=o.r,u=r/2,h=Object(a[\"b\"])(s,l,t,e);return i&&n?h<=c+u:i?h<=c:!!n&&(h>=c-u&&h<=c+u)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,i=e.y,r=e.r;t.beginPath(),t.arc(n,i,r,0,2*Math.PI,!1),t.closePath()},e}(u),d=h;function p(t,e,n,i){return t/(n*n)+e/(i*i)}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){var o=this.attr(),a=r/2,s=o.x,l=o.y,c=o.rx,u=o.ry,h=(t-s)*(t-s),d=(e-l)*(e-l);return i&&n?p(h,d,c+a,u+a)<=1:i?p(h,d,c,u)<=1:!!n&&(p(h,d,c-a,u-a)>=1&&p(h,d,c+a,u+a)<=1)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,i=e.y,r=e.rx,o=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,i,r,o,0,0,2*Math.PI,!1);else{var a=r>o?r:o,s=r>o?1:r/o,l=r>o?o/r:1;t.save(),t.translate(n,i),t.scale(s,l),t.arc(0,0,a,0,2*Math.PI),t.restore(),t.closePath()}},e}(u),g=f;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(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"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 i=new Image;i.onload=function(){if(e.destroyed)return!1;e.attr(\"img\",i),e.set(\"loading\",!1),e._afterLoading();var t=e.get(\"callback\");t&&t.call(e)},i.crossOrigin=\"Anonymous\",i.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,i){t.prototype.onAttrChange.call(this,e,n,i),\"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,i=e.y,r=e.width,o=e.height,s=e.sx,l=e.sy,c=e.swidth,u=e.sheight,h=e.img;(h instanceof Image||y(h))&&(Object(a[\"i\"])(s)||Object(a[\"i\"])(l)||Object(a[\"i\"])(c)||Object(a[\"i\"])(u)?t.drawImage(h,n,i,r,o):t.drawImage(h,s,l,c,u,n,i,r,o))},e}(u),m=v,b=n(\"1183\");function x(t,e,n,i,r,o,a){var s=Math.min(t,n),l=Math.max(t,n),c=Math.min(e,i),u=Math.max(e,i),h=r/2;return o>=s-h&&o<=l+h&&a>=c-h&&a<=u+h&&b[\"c\"].pointToLine(t,e,n,i,o,a)<=r/2}var O=n(\"9f27\"),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"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,i){t.prototype.onAttrChange.call(this,e,n,i),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,i=t.x2,r=t.y2,o=t.startArrow,a=t.endArrow;o&&O[\"b\"](this,t,i,r,e,n),a&&O[\"a\"](this,t,e,n,i,r)},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){if(!n||!r)return!1;var o=this.attr(),a=o.x1,s=o.y1,l=o.x2,c=o.y2;return x(a,s,l,c,r,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.startArrow,s=e.endArrow,l={dx:0,dy:0},c={dx:0,dy:0};a&&a.d&&(l=O[\"c\"](n,i,r,o,e.startArrow.d)),s&&s.d&&(c=O[\"c\"](n,i,r,o,e.endArrow.d)),t.beginPath(),t.moveTo(n+l.dx,i+l.dy),t.lineTo(r-c.dx,o-c.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,i=t.x2,r=t.y2;return b[\"c\"].length(e,n,i,r)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,i=e.y1,r=e.x2,o=e.y2;return b[\"c\"].pointAt(n,i,r,o,t)},e}(u),j=w,S=n(\"8937\"),_=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,C=/[^\\s\\,]+/gi;function M(t){var e=t||[];return Object(S[\"C\"])(e)?e:Object(S[\"Q\"])(e)?(e=e.match(_),Object(S[\"j\"])(e,(function(t,n){if(t=t.match(C),t[0].length>1){var i=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=i}Object(S[\"j\"])(t,(function(e,n){isNaN(e)||(t[n]=+e)})),e[n]=t})),e):void 0}var A=M;n(\"20e7\");var k=\"\\t\\n\\v\\f\\r   ᠎              \\u2028\\u2029\",I=new RegExp(\"([a-z])[\"+k+\",]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[\"+k+\"]*,?[\"+k+\"]*)+)\",\"ig\"),T=new RegExp(\"(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[\"+k+\"]*,?[\"+k+\"]*\",\"ig\");function D(t){if(!t)return null;if(Object(S[\"C\"])(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(I,(function(t,i,r){var o=[],a=i.toLowerCase();if(r.replace(T,(function(t,e){e&&o.push(+e)})),\"m\"===a&&o.length>2&&(n.push([i].concat(o.splice(0,2))),a=\"l\",i=\"m\"===i?\"l\":\"L\"),\"o\"===a&&1===o.length&&n.push([i,o[0]]),\"r\"===a)n.push([i].concat(o));else while(o.length>=e[a])if(n.push([i].concat(o.splice(0,e[a]))),!e[a])break;return\"\"})),n}var P=/[a-z]/;function L(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function R(t){var e=D(t);if(!e||!e.length)return[[\"M\",0,0]];for(var n=!1,i=0;i=0){n=!0;break}}if(!n)return e;var o=[],a=0,s=0,l=0,c=0,u=0,h=e[0];\"M\"!==h[0]&&\"m\"!==h[0]||(a=+h[1],s=+h[2],l=a,c=s,u++,o[0]=[\"M\",a,s]);i=u;for(var d=e.length;i1&&(n*=Math.sqrt(p),i*=Math.sqrt(p));var f=n*n*(d*d)+i*i*(h*h),g=f?Math.sqrt((n*n*(i*i)-f)/f):1;o===a&&(g*=-1),isNaN(g)&&(g=0);var y=i?g*n*d/i:0,v=n?g*-i*h/n:0,m=(s+c)/2+Math.cos(r)*y-Math.sin(r)*v,b=(l+u)/2+Math.sin(r)*y+Math.cos(r)*v,x=[(h-y)/n,(d-v)/i],O=[(-1*h-y)/n,(-1*d-v)/i],w=F([1,0],x),j=F(x,O);return B(x,O)<=-1&&(j=Math.PI),B(x,O)>=1&&(j=0),0===a&&j>0&&(j-=2*Math.PI),1===a&&j<0&&(j+=2*Math.PI),{cx:m,cy:b,rx:N(t,[c,u])?0:n,ry:N(t,[c,u])?0:i,startAngle:w,endAngle:w+j,xRotation:r,arcFlag:o,sweepFlag:a}}function V(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function G(t){t=A(t);for(var e=[],n=null,i=null,r=null,o=0,a=t.length,s=0;s0!==U(s[1]-n)>0&&U(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(i=!i)}return i}var Q=n(\"e897\"),J=n(\"9fe7\");function $(t,e,n,i,r,o,s,l){var c=(Math.atan2(l-e,s-t)+2*Math.PI)%(2*Math.PI);if(cr)return!1;var u={x:t+n*Math.cos(c),y:e+n*Math.sin(c)};return Object(a[\"b\"])(u.x,u.y,s,l)<=o/2}var tt=Q[\"a\"].transform;function et(t){for(var e=!1,n=t.length,i=0;iw?O:w,A=O>w?1:O/w,k=O>w?w/O:1,I=tt(null,[[\"t\",-v,-m],[\"r\",-_],[\"s\",1/A,1/k]]);J[\"transformMat3\"](C,C,I),o=$(0,0,M,j,S,e,C[0],C[1]);break;default:break}if(o)break}}return o}function it(t){for(var e=t.length,n=[],i=[],r=[],o=0;o0&&i.push(r),{polygons:n,polylines:i}}var rt=Object(r[\"a\"])({hasArc:et,extractPolygons:it,isPointInStroke:nt},o[\"PathUtil\"]);function ot(t,e,n){for(var i=!1,r=0;r=i[0]&&t<=i[1]&&(e=(t-i[0])/(i[1]-i[0]),n=r)}));var o=r[n];if(Object(S[\"K\"])(o)||Object(S[\"K\"])(n))return null;var a=o.length,s=r[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\",rt.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,i,r=0,o=0,a=[],s=this.get(\"curve\");s&&(Object(S[\"j\"])(s,(function(t,e){n=s[e+1],i=t.length,n&&(r+=b[\"b\"].length(t[i-2],t[i-1],n[1],n[2],n[3],n[4],n[5],n[6])||0)})),this.set(\"totalLength\",r),0!==r?(Object(S[\"j\"])(s,(function(l,c){n=s[c+1],i=l.length,n&&(t=[],t[0]=o/r,e=b[\"b\"].length(l[i-2],l[i-1],n[1],n[2],n[3],n[4],n[5],n[6]),o+=e||0,t[1]=o/r,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,i=e[1].currentPoint,r=e[1].startTangent;t=[],r?(t.push([n[0]-r[0],n[1]-r[1]]),t.push([n[0],n[1]])):(t.push([i[0],i[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 i=e[n-2].currentPoint,r=e[n-1].currentPoint,o=e[n-1].endTangent;t=[],o?(t.push([r[0]-o[0],r[1]-o[1]]),t.push([r[0],r[1]])):(t.push([i[0],i[1]]),t.push([r[0],r[1]]))}return t},e}(u),st=at;function lt(t,e,n,i,r){var o=t.length;if(o<2)return!1;for(var a=0;a=i[0]&&t<=i[1]&&(e=(t-i[0])/(i[1]-i[0]),n=r)})),b[\"c\"].pointAt(i[n][0],i[n][1],i[n+1][0],i[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,i,r=0,o=[];Object(S[\"j\"])(t,(function(a,s){t[s+1]&&(n=[],n[0]=r/e,i=b[\"c\"].length(a[0],a[1],t[s+1][0],t[s+1][1]),r+=i,n[1]=r/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),dt=ht,pt=n(\"af40\");function ft(t,e,n,i,r,o,s){var l=r/2;return Object(a[\"e\"])(t-l,e-l,n,r,o,s)||Object(a[\"e\"])(t+n-l,e-l,r,i,o,s)||Object(a[\"e\"])(t+l,e+i-l,n,r,o,s)||Object(a[\"e\"])(t-l,e+l,r,i,o,s)}function gt(t,e,n,i,r,o,a,s){return x(t+r,e,t+n-r,e,o,a,s)||x(t+n,e+r,t+n,e+i-r,o,a,s)||x(t+n-r,e+i,t+r,e+i,o,a,s)||x(t,e+i-r,t,e+r,o,a,s)||$(t+n-r,e+r,r,1.5*Math.PI,2*Math.PI,o,a,s)||$(t+n-r,e+i-r,r,0,.5*Math.PI,o,a,s)||$(t+r,e+i-r,r,.5*Math.PI,Math.PI,o,a,s)||$(t+r,e+r,r,Math.PI,1.5*Math.PI,o,a,s)}var yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,i,r){var o=this.attr(),s=o.x,l=o.y,c=o.width,u=o.height,h=o.radius;if(h){var d=!1;return n&&(d=gt(s,l,c,u,h,r,t,e)),!d&&i&&(d=Y(this,t,e)),d}var p=r/2;return i&&n?Object(a[\"e\"])(s-p,l-p,c+p,u+p,t,e):i?Object(a[\"e\"])(s,l,c,u,t,e):n?ft(s,l,c,u,r,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,i=e.y,r=e.width,o=e.height,a=e.radius;if(t.beginPath(),0===a)t.rect(n,i,r,o);else{var s=Object(pt[\"a\"])(a),l=s[0],c=s[1],u=s[2],h=s[3];t.moveTo(n+l,i),t.lineTo(n+r-c,i),0!==c&&t.arc(n+r-c,i+c,c,-Math.PI/2,0),t.lineTo(n+r,i+o-u),0!==u&&t.arc(n+r-u,i+o-u,u,0,Math.PI/2),t.lineTo(n+h,i+o),0!==h&&t.arc(n+h,i+o-h,h,Math.PI/2,Math.PI),t.lineTo(n,i+l),0!==l&&t.arc(n+l,i+l,l,Math.PI,1.5*Math.PI),t.closePath()}},e}(u),vt=yt,mt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"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,i){t.prototype.onAttrChange.call(this,e,n,i),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 i,r=this.attrs,s=r.textBaseline,l=r.x,c=r.y,u=1*r.fontSize,h=this._getSpaceingY(),d=Object(o[\"getTextHeight\"])(r.text,r.fontSize,r.lineHeight);Object(a[\"c\"])(e,(function(e,r){i=c+r*(h+u)-d+u,\"middle\"===s&&(i+=d-u-(d-u)/2),\"top\"===s&&(i+=d-u),Object(a[\"i\"])(e)||(n?t.fillText(e,l,i):t.strokeText(e,l,i))}))},e.prototype._drawText=function(t,e){var n=this.attr(),i=n.x,r=n.y,o=this.get(\"textArr\");if(o)this._drawTextArr(t,o,e);else{var s=n.text;Object(a[\"i\"])(s)||(e?t.fillText(s,i,r):t.strokeText(s,i,r))}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,i=e.opacity,r=e.strokeOpacity,o=e.fillOpacity;this.isStroke()&&n>0&&(Object(a[\"i\"])(r)||1===r||(t.globalAlpha=i),this.stroke(t)),this.isFill()&&(Object(a[\"i\"])(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=i)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(u),bt=mt},\"49a2\":function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return p})),n.d(e,\"a\",(function(){return f}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"58e4\"),a=n(\"62e3\"),s=n(\"e474\"),l=n(\"7b42\"),c=n(\"618a\");function u(t){var e=t.chart,n=t.options,i=n.data,r=void 0===i?[]:i,o=n.yField,a=n.maxSize,s=n.minSize,l=Object(c[\"c\"])(r,r,{yField:o,maxSize:a,minSize:s});return e.data(l),t}function h(t){var e=t.chart,n=t.options,i=n.xField,c=n.yField,u=n.color,h=n.tooltip,d=n.label,p=n.shape,f=void 0===p?\"funnel\":p,g=n.funnelStyle,y=n.state,v=Object(s[\"a\"])(h,[i,c]),m=v.fields,b=v.formatter;Object(o[\"a\"])({chart:e,options:{type:\"interval\",xField:i,yField:l[\"c\"],colorField:i,tooltipFields:Object(r[\"C\"])(m)&&m.concat([l[\"d\"],l[\"b\"]]),mapping:{shape:f,tooltip:b,color:u,style:g},label:d,state:y}});var x=Object(a[\"e\"])(t.chart,\"interval\");return x.adjust(\"symmetric\"),t}function d(t){var e=t.chart,n=t.options,i=n.isTransposed;return e.coordinate({type:\"rect\",actions:i?[]:[[\"transpose\"],[\"scale\",1,-1]]}),t}function p(t){var e=t.options,n=t.chart,o=e.maxSize,a=Object(r[\"s\"])(n,[\"geometries\",\"0\",\"dataArray\"],[]),s=Object(r[\"s\"])(n,[\"options\",\"data\",\"length\"]),u=Object(r[\"W\"])(a,(function(t){return Object(r[\"s\"])(t,[\"0\",\"nextPoints\",\"0\",\"x\"])*s-.5})),h=function(t,e,n,r){var a=o-(o-t[l[\"c\"]])/2;return Object(i[\"a\"])(Object(i[\"a\"])({},r),{start:[u[e-1]||e-.5,a],end:[u[e-1]||e-.5,a+.05]})};return Object(c[\"b\"])(h)(t),t}function f(t){return Object(a[\"g\"])(u,h,d,p)(t)}},\"4acb\":function(t,e,n){var i=n(\"a47a\");\"string\"===typeof i&&(i=[[t.i,i,\"\"]]),i.locals&&(t.exports=i.locals);var r=n(\"499e\").default;r(\"44173882\",i,!0,{sourceMap:!0,shadowMode:!1})},\"4c46\":function(t,e,n){\"use strict\";var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"c34d\"),a=n(\"b4aa\"),s=n(\"87d0\"),l=n(\"62e3\");function c(t,e,n){var i=n.map((function(t){return t[e]})).filter((function(t){return void 0!==t})),r=i.length>0?Math.max.apply(Math,i):0,o=Math.abs(t)%360;return o?360*r/o:r}function u(t,e,n){var r=[];return t.forEach((function(t){var o=r.find((function(n){return n[e]===t[e]}));o?o[n]+=t[n]||null:r.push(Object(i[\"a\"])({},t))})),r}function h(t){var e=t.chart,n=t.options,i=n.barStyle,r=n.color,o=n.tooltip,s=n.colorField,c=n.type,u=n.xField,h=n.yField,d=n.data,p=Object(l[\"u\"])(d,h);e.data(p);var f=Object(l[\"d\"])({},t,{options:{tooltip:o,seriesField:s,interval:{style:i,color:r,shape:\"line\"===c?\"line\":\"intervel\"},minColumnWidth:n.minBarWidth,maxColumnWidth:n.maxBarWidth,columnBackground:n.barBackground}});return Object(a[\"c\"])(f),\"line\"===c&&Object(a[\"e\"])({chart:e,options:{xField:u,yField:h,seriesField:s,point:{shape:\"circle\",color:r}}}),t}function d(t){var e,n=t.options,i=n.yField,r=n.xField,a=n.data,s=n.isStack,h=n.isGroup,d=n.colorField,p=n.maxAngle,f=s&&!h&&d?u(a,r,i):a,g=Object(l[\"u\"])(f,i);return Object(l[\"g\"])(Object(o[\"g\"])((e={},e[i]={min:0,max:c(p,i,g)},e)))(t)}function p(t){var e=t.chart,n=t.options,i=n.radius,r=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:\"polar\",cfg:{radius:i,innerRadius:r,startAngle:o,endAngle:a}}).transpose(),t}function f(t){var e=t.chart,n=t.options,i=n.xField,r=n.xAxis;return e.axis(i,r),t}function g(t){var e=t.chart,n=t.options,r=n.label,o=n.yField,a=Object(l[\"e\"])(e,\"interval\");if(r){var s=r.callback,c=Object(i[\"f\"])(r,[\"callback\"]);a.label({fields:[o],callback:s,cfg:Object(i[\"a\"])(Object(i[\"a\"])({},Object(l[\"A\"])(c)),{type:\"polar\"})})}else a.label(!1);return t}function y(t){return Object(l[\"g\"])(Object(s[\"a\"])(\"barStyle\"),h,d,f,p,o[\"c\"],o[\"a\"],o[\"k\"],o[\"l\"],o[\"d\"],Object(o[\"b\"])(),g)(t)}var v=Object(l[\"d\"])({},r[\"b\"].getDefaultOptions(),{interactions:[{type:\"element-active\"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"radial-bar\",e}Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return v},e.prototype.changeData=function(t){this.updateOption({data:t}),d({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return y}})(r[\"b\"])},\"4d99\":function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return b})),n.d(e,\"a\",(function(){return w}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"c34d\"),a=n(\"b4aa\"),s=n(\"58e4\"),l=n(\"87d0\"),c=n(\"afaa\"),u=n(\"62e3\"),h=n(\"3cbb\"),d=n(\"9e6a2\"),p=n(\"888a\");function f(t){var e=t.chart,n=t.options,r=n.data,o=n.angleField,s=n.colorField,l=n.color,c=n.pieStyle,h=n.shape,d=Object(u[\"u\"])(r,o);if(Object(p[\"c\"])(d,o)){var f=\"$$percentage$$\";d=d.map((function(t){var e;return Object(i[\"a\"])(Object(i[\"a\"])({},t),(e={},e[f]=1/d.length,e))})),e.data(d);var g=Object(u[\"d\"])({},t,{options:{xField:\"1\",yField:f,seriesField:s,isStack:!0,interval:{color:l,shape:h,style:c},args:{zIndexReversed:!0,sortZIndex:!0}}});Object(a[\"c\"])(g)}else{e.data(d);g=Object(u[\"d\"])({},t,{options:{xField:\"1\",yField:o,seriesField:s,isStack:!0,interval:{color:l,shape:h,style:c},args:{zIndexReversed:!0,sortZIndex:!0}}});Object(a[\"c\"])(g)}return t}function g(t){var e,n=t.chart,i=t.options,r=i.meta,o=i.colorField,a=Object(u[\"d\"])({},r);return n.scale(a,(e={},e[o]={type:\"cat\"},e)),t}function y(t){var e=t.chart,n=t.options,i=n.radius,r=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:\"theta\",cfg:{radius:i,innerRadius:r,startAngle:o,endAngle:a}}),t}function v(t){var e=t.chart,n=t.options,o=n.label,a=n.colorField,s=n.angleField,l=e.geometries[0];if(o){var c=o.callback,h=Object(i[\"f\"])(o,[\"callback\"]),d=Object(u[\"A\"])(h);if(d.content){var f=d.content;d.content=function(t,n,o){var l=t[a],c=t[s],h=e.getScaleByField(s),d=null===h||void 0===h?void 0:h.scale(c);return Object(r[\"I\"])(f)?f(Object(i[\"a\"])(Object(i[\"a\"])({},t),{percent:d}),n,o):Object(r[\"Q\"])(f)?Object(u[\"y\"])(f,{value:c,name:l,percentage:Object(r[\"M\"])(d)&&!Object(r[\"K\"])(c)?(100*d).toFixed(2)+\"%\":null}):f}}var g={inner:\"\",outer:\"pie-outer\",spider:\"pie-spider\"},y=d.type?g[d.type]:\"pie-outer\",v=d.layout?Object(r[\"C\"])(d.layout)?d.layout:[d.layout]:[];d.layout=(y?[{type:y}]:[]).concat(v),l.label({fields:a?[s,a]:[s],callback:c,cfg:Object(i[\"a\"])(Object(i[\"a\"])({},d),{offset:Object(p[\"a\"])(d.type,d.offset),type:\"pie\"})})}else l.label(!1);return t}function m(t){var e=t.innerRadius,n=t.statistic,i=t.angleField,o=t.colorField,a=t.meta,s=t.locale,l=Object(c[\"a\"])(s);if(e&&n){var d=Object(u[\"d\"])({},h[\"a\"].statistic,n),f=d.title,g=d.content;return!1!==f&&(f=Object(u[\"d\"])({},{formatter:function(t){var e=t?t[o]:Object(r[\"K\"])(f.content)?l.get([\"statistic\",\"total\"]):f.content,n=Object(r[\"s\"])(a,[o,\"formatter\"])||function(t){return t};return n(e)}},f)),!1!==g&&(g=Object(u[\"d\"])({},{formatter:function(t,e){var n=t?t[i]:Object(p[\"b\"])(e,i),o=Object(r[\"s\"])(a,[i,\"formatter\"])||function(t){return t};return t||Object(r[\"K\"])(g.content)?o(n):g.content}},g)),Object(u[\"d\"])({},{statistic:{title:f,content:g}},t)}return t}function b(t){var e=t.chart,n=t.options,i=m(n),r=i.innerRadius,a=i.statistic;return e.getController(\"annotation\").clear(!0),Object(u[\"g\"])(Object(o[\"b\"])())(t),r&&a&&Object(u[\"w\"])(e,{statistic:a,plotType:\"pie\"}),t}function x(t){var e=t.chart,n=t.options,i=n.tooltip,o=n.colorField,a=n.angleField,l=n.data;if(!1===i)e.tooltip(i);else if(e.tooltip(Object(u[\"d\"])({},i,{shared:!1})),Object(p[\"c\"])(l,a)){var c=Object(r[\"s\"])(i,\"fields\"),h=Object(r[\"s\"])(i,\"formatter\");Object(r[\"G\"])(Object(r[\"s\"])(i,\"fields\"))&&(c=[o,a],h=h||function(t){return{name:t[o],value:Object(r[\"tb\"])(t[a])}}),e.geometries[0].tooltip(c.join(\"*\"),Object(s[\"b\"])(c,h))}return t}function O(t){var e=t.chart,n=t.options,o=m(n),a=o.interactions,s=o.statistic,l=o.annotations;return Object(r[\"j\"])(a,(function(t){var n,o;if(!1===t.enable)e.removeInteraction(t.type);else if(\"pie-statistic-active\"===t.type){var a=[];(null===(n=t.cfg)||void 0===n?void 0:n.start)||(a=[{trigger:\"element:mouseenter\",action:d[\"a\"]+\":change\",arg:{statistic:s,annotations:l}}]),Object(r[\"j\"])(null===(o=t.cfg)||void 0===o?void 0:o.start,(function(t){a.push(Object(i[\"a\"])(Object(i[\"a\"])({},t),{arg:{statistic:s,annotations:l}}))})),e.interaction(t.type,Object(u[\"d\"])({},t.cfg,{start:a}))}else e.interaction(t.type,t.cfg||{})})),t}function w(t){return Object(u[\"g\"])(Object(l[\"a\"])(\"pieStyle\"),f,g,o[\"k\"],y,o[\"d\"],x,v,o[\"j\"],b,O,o[\"a\"])(t)}},\"4dce\":function(t,e,n){(function(t,n){n(e)})(0,(function(t){\"use strict\";function e(t,e){return n(t)||i(t,e)||r()}function n(t){if(Array.isArray(t))return t}function i(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{i||null==s[\"return\"]||s[\"return\"]()}finally{if(r)throw o}}return n}function r(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}function o(t,e,n,i){t=t.filter((function(t,i){var r=e(t,i),o=n(t,i);return null!=r&&isFinite(r)&&null!=o&&isFinite(o)})),i&&t.sort((function(t,n){return e(t)-e(n)}));for(var r,o,a,s=t.length,l=new Float64Array(s),c=new Float64Array(s),u=0,h=0,d=0;dr&&(t.splice(i+1,0,d),n=!0)}return n}}function h(t,e,n,i){var r=i-t*t,o=Math.abs(r)<1e-24?0:(n-t*e)/r,a=e-o*t;return[a,o]}function d(){var t,n=function(t){return t[0]},i=function(t){return t[1]};function r(r){var o=0,l=0,c=0,d=0,p=0,f=0,g=t?+t[0]:1/0,y=t?+t[1]:-1/0;a(r,n,i,(function(e,n){var i=Math.log(n),r=e*n;++o,l+=(n-l)/o,d+=(r-d)/o,f+=(e*r-f)/o,c+=(n*i-c)/o,p+=(r*i-p)/o,t||(ey&&(y=e))}));var v=h(d/l,c/l,p/l,f/l),m=e(v,2),b=m[0],x=m[1];b=Math.exp(b);var O=function(t){return b*Math.exp(x*t)},w=u(g,y,O);return w.a=b,w.b=x,w.predict=O,w.rSquared=s(r,n,i,l,O),w}return r.domain=function(e){return arguments.length?(t=e,r):t},r.x=function(t){return arguments.length?(n=t,r):n},r.y=function(t){return arguments.length?(i=t,r):i},r}function p(){var t,n=function(t){return t[0]},i=function(t){return t[1]};function r(r){var o=0,l=0,c=0,u=0,d=0,p=t?+t[0]:1/0,f=t?+t[1]:-1/0;a(r,n,i,(function(e,n){++o,l+=(e-l)/o,c+=(n-c)/o,u+=(e*n-u)/o,d+=(e*e-d)/o,t||(ef&&(f=e))}));var g=h(l,c,u,d),y=e(g,2),v=y[0],m=y[1],b=function(t){return m*t+v},x=[[p,b(p)],[f,b(f)]];return x.a=m,x.b=v,x.predict=b,x.rSquared=s(r,n,i,c,b),x}return r.domain=function(e){return arguments.length?(t=e,r):t},r.x=function(t){return arguments.length?(n=t,r):n},r.y=function(t){return arguments.length?(i=t,r):i},r}function f(t){t.sort((function(t,e){return t-e}));var e=t.length/2;return e%1===0?(t[e-1]+t[e])/2:t[Math.floor(e)]}var g=2,y=1e-12;function v(){var t=function(t){return t[0]},n=function(t){return t[1]},i=.3;function r(r){for(var a=o(r,t,n,!0),s=e(a,4),l=s[0],c=s[1],u=s[2],d=s[3],p=l.length,v=Math.max(2,~~(i*p)),O=new Float64Array(p),w=new Float64Array(p),j=new Float64Array(p).fill(1),S=-1;++S<=g;){for(var _=[0,v-1],C=0;Cl[k]-M?A:k,T=0,D=0,P=0,L=0,R=0,E=1/Math.abs(l[I]-M||1),B=A;B<=k;++B){var F=l[B],N=c[B],z=m(Math.abs(M-F)*E)*j[B],V=F*z;T+=z,D+=V,P+=N*z,L+=N*V,R+=F*V}var G=h(D/T,P/T,L/T,R/T),H=e(G,2),W=H[0],X=H[1];O[C]=W+X*M,w[C]=Math.abs(c[C]-O[C]),b(l,C+1,_)}if(S===g)break;var Y=f(w);if(Math.abs(Y)=1?y:(U=1-q*q)*U}return x(l,O,u,d)}return r.bandwidth=function(t){return arguments.length?(i=t,r):i},r.x=function(e){return arguments.length?(t=e,r):t},r.y=function(t){return arguments.length?(n=t,r):n},r}function m(t){return(t=1-t*t*t)*t*t}function b(t,e,n){var i=t[e],r=n[0],o=n[1]+1;if(!(o>=t.length))while(e>r&&t[o]-i<=i-t[r])n[0]=++r,n[1]=o,++o}function x(t,e,n,i){for(var r,o=t.length,a=[],s=0,l=0,c=[];sy&&(y=e))}));var m=h(c,d,p,f),b=e(m,2),x=b[0],O=b[1],w=function(t){return O*Math.log(t)/v+x},j=u(g,y,w);return j.a=O,j.b=x,j.predict=w,j.rSquared=s(o,n,i,d,w),j}return o.domain=function(e){return arguments.length?(t=e,o):t},o.x=function(t){return arguments.length?(n=t,o):n},o.y=function(t){return arguments.length?(i=t,o):i},o.base=function(t){return arguments.length?(r=t,o):r},o}function w(){var t,n=function(t){return t[0]},i=function(t){return t[1]};function r(r){var l,c,h,d,p=o(r,n,i),f=e(p,4),g=f[0],y=f[1],v=f[2],m=f[3],b=g.length,x=0,O=0,w=0,j=0,S=0;for(l=0;lA&&(A=e))}));var k=w-x*x,I=x*k-O*O,T=(S*x-j*O)/I,D=(j*k-S*O)/I,P=-T*x,L=function(t){return t-=v,T*t*t+D*t+P+m},R=u(M,A,L);return R.a=T,R.b=D-2*T*v,R.c=P-D*v+T*v*v+m,R.predict=L,R.rSquared=s(r,n,i,_,L),R}return r.domain=function(e){return arguments.length?(t=e,r):t},r.x=function(t){return arguments.length?(n=t,r):n},r.y=function(t){return arguments.length?(i=t,r):i},r}function j(){var t,n=function(t){return t[0]},i=function(t){return t[1]},r=3;function l(l){if(1===r){var c=p().x(n).y(i).domain(t)(l);return c.coefficients=[c.b,c.a],delete c.a,delete c.b,c}if(2===r){var h=w().x(n).y(i).domain(t)(l);return h.coefficients=[h.c,h.b,h.a],delete h.a,delete h.b,delete h.c,h}var d,f,g,y,v,m=o(l,n,i),b=e(m,4),x=b[0],O=b[1],j=b[2],C=b[3],M=x.length,A=[],k=[],I=r+1,T=0,D=0,P=t?+t[0]:1/0,L=t?+t[1]:-1/0;for(a(l,n,i,(function(e,n){++D,T+=(n-T)/D,t||(eL&&(L=e))})),d=0;d=0;--r)for(a=e[r],s=1,l[r]+=a,o=1;o<=r;++o)s*=(r+1-o)/o,l[r-o]+=a*Math.pow(n,o)*s;return l[0]+=i,l}function _(t){var e,n,i,r,o,a=t.length-1,s=[];for(e=0;eMath.abs(t[e][r])&&(r=n);for(i=e;i=e;i--)t[i][n]-=t[i][e]*t[e][n]/t[e][e]}for(n=a-1;n>=0;--n){for(o=0,i=n+1;iy&&(y=e))}));var v=h(l,c,d,p),m=e(v,2),b=m[0],x=m[1];b=Math.exp(b);var O=function(t){return b*Math.pow(t,x)},w=u(g,y,O);return w.a=b,w.b=x,w.predict=O,w.rSquared=s(r,n,i,f,O),w}return r.domain=function(e){return arguments.length?(t=e,r):t},r.x=function(t){return arguments.length?(n=t,r):n},r.y=function(t){return arguments.length?(i=t,r):i},r}t.regressionExp=d,t.regressionLinear=p,t.regressionLoess=v,t.regressionLog=O,t.regressionPoly=j,t.regressionPow=C,t.regressionQuad=w,Object.defineProperty(t,\"__esModule\",{value:!0})}))},\"51d4\":function(t,e,n){\"use strict\";var i=n(\"917c\"),r=n(\"8937\"),o=n(\"9f73\");function a(t){var e=Object(r[\"s\"])(t,[\"event\",\"data\",\"data\"],{});return Object(r[\"C\"])(e.children)&&e.children.length>0}function s(t){var e=t.view.getCoordinate(),n=e.innerRadius;if(n){var i=t.event,r=i.x,o=i.y,a=e.center,s=a.x,l=a.y,c=e.getRadius()*n,u=Math.sqrt(Math.pow(s-r,2)+Math.pow(l-o,2));return u=1)throw new TypeError(\"Invalid nodePaddingRatio: it must be in range [0, 1)!\");var r=i/(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-i),t.height=o})),t.forEach((function(n,i){for(var a=0,s=i-1;s>=0;s--)a+=t[s].width+2*r;var l=n.minX=r+a,c=n.maxX=n.minX+n.width,u=n.minY=e.y-o/2,h=n.maxY=u+o;n.x=[l,c,c,l],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 i={};Object(l[\"r\"])(t,(function(t,e){i[e]=t.value})),e.forEach((function(e){var r=n.source(e),o=n.target(e),a=t[r],s=t[o];if(a&&s){var l=i[r],c=n.sourceWeight(e),u=a.minX+(a.value-l)/a.value*a.width,h=u+c/a.value*a.width;i[r]-=c;var d=i[o],p=n.targetWeight(e),f=s.minX+(s.value-d)/s.value*s.width,g=f+p/s.value*s.width;i[o]-=p;var y=n.y;e.x=[u,h,f,g],e.y=[y,y,y,y],e.source=a,e.target=s}}))}else e.forEach((function(e){var i=t[n.source(e)],r=t[n.target(e)];i&&r&&(e.x=[i.x,r.x],e.y=[i.y,r.y],e.source=i,e.target=r)}));return e}function f(t){return Object(l[\"b\"])({},c,t)}function g(t,e){var n=f(t),i={},r=e.nodes,o=e.links;r.forEach((function(t){var e=n.id(t);i[e]=t})),u(i,o,n),h(r,n);var a=d(r,n),s=p(i,o,n);return{nodes:a,links:s}}var y=\"x\",v=\"y\",m=\"name\",b=\"source\",x={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,i=n>.5?-4:4;return{offsetX:i,content:e}},labelEmit:!0,style:{fill:\"#8c8c8c\"}},tooltip:{showTitle:!1,showMarkers:!1,fields:[\"source\",\"target\",\"value\",\"isNode\"],showContent:function(t){return!Object(l[\"s\"])(t,[0,\"data\",\"isNode\"])},formatter:function(t){var e=t.source,n=t.target,i=t.value;return{name:e+\" -> \"+n,value:i}}},interactions:[{type:\"element-active\"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05};function O(t){var e=t.options,n=e.data,r=e.sourceField,o=e.targetField,a=e.weightField,l=e.nodePaddingRatio,c=e.nodeWidthRatio,u=e.rawFields,h=void 0===u?[]:u,d=Object(s[\"z\"])(n,r,o,a),p=g({weight:!0,nodePaddingRatio:l,nodeWidthRatio:c},d),f=p.nodes,y=p.links,v=f.map((function(t){return Object(i[\"a\"])(Object(i[\"a\"])({},Object(s[\"t\"])(t,Object(i[\"h\"])([\"id\",\"x\",\"y\",\"name\"],h))),{isNode:!0})})),m=y.map((function(t){return Object(i[\"a\"])(Object(i[\"a\"])({source:t.source.name,target:t.target.name,name:t.source.name||t.target.name},Object(s[\"t\"])(t,Object(i[\"h\"])([\"x\",\"y\",\"value\"],h))),{isNode:!1})}));return Object(i[\"a\"])(Object(i[\"a\"])({},t),{ext:Object(i[\"a\"])(Object(i[\"a\"])({},t.ext),{chordData:{nodesData:v,edgesData:m}})})}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[m]={sync:\"color\"},e[b]={sync:\"color\"},e)),t}function j(t){var e=t.chart;return e.axis(!1),t}function S(t){var e=t.chart;return e.legend(!1),t}function _(t){var e=t.chart,n=t.options,i=n.tooltip;return e.tooltip(i),t}function C(t){var e=t.chart;return e.coordinate(\"polar\").reflect(\"y\"),t}function M(t){var e=t.chart,n=t.options,i=t.ext.chordData.nodesData,r=n.nodeStyle,o=n.label,s=n.tooltip,l=e.createView();return l.data(i),Object(a[\"f\"])({chart:l,options:{xField:y,yField:v,seriesField:m,polygon:{style:r},label:o,tooltip:s}}),t}function A(t){var e=t.chart,n=t.options,i=t.ext.chordData.edgesData,r=n.edgeStyle,o=n.tooltip,s=e.createView();s.data(i);var l={xField:y,yField:v,seriesField:b,edge:{style:r,shape:\"arc\"},tooltip:o};return Object(a[\"b\"])({chart:s,options:l}),t}function k(t){var e=t.chart,n=t.options,i=n.animation;return Object(s[\"b\"])(e,i,Object(s[\"k\"])(e)),t}function I(t){return Object(s[\"g\"])(o[\"k\"],O,C,w,j,S,_,A,M,o[\"c\"],o[\"j\"],k)(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"chord\",e}Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return x},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return I}})(r[\"b\"])},\"538f\":function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return p})),n.d(e,\"a\",(function(){return y}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"c34d\"),a=n(\"b4aa\"),s=n(\"9ff2\"),l=n(\"62e3\"),c=n(\"c3ec\"),u=n(\"f41e\");function h(t){var e=t.chart,n=t.options,i=n.percent,o=n.range,h=n.radius,d=n.innerRadius,p=n.startAngle,f=n.endAngle,g=n.axis,y=n.indicator,v=n.gaugeStyle,m=n.type,b=n.meter,x=o.color,O=o.width;if(y){var w=Object(u[\"a\"])(i),j=e.createView({id:c[\"c\"]});j.data(w),j.point().position(c[\"d\"]+\"*1\").shape(y.shape||\"gauge-indicator\").customInfo({defaultColor:e.getTheme().defaultColor,indicator:y}),j.coordinate(\"polar\",{startAngle:p,endAngle:f,radius:d*h}),j.axis(c[\"d\"],g),j.scale(c[\"d\"],Object(l[\"t\"])(g,s[\"a\"]))}var S=Object(u[\"b\"])(i,n.range),_=e.createView({id:c[\"g\"]});_.data(S);var C=Object(r[\"Q\"])(x)?[x,c[\"a\"]]:x,M=Object(a[\"c\"])({chart:_,options:{xField:\"1\",yField:c[\"f\"],seriesField:c[\"e\"],rawFields:[c[\"d\"]],isStack:!0,interval:{color:C,style:v,shape:\"meter\"===m?\"meter-gauge\":null},args:{zIndexReversed:!0,sortZIndex:!0},minColumnWidth:O,maxColumnWidth:O}}).ext,A=M.geometry;return A.customInfo({meter:b}),_.coordinate(\"polar\",{innerRadius:d,radius:h,startAngle:p,endAngle:f}).transpose(),t}function d(t){var e;return Object(l[\"g\"])(Object(o[\"g\"])((e={range:{min:0,max:1,maxLimit:1,minLimit:0}},e[c[\"d\"]]={},e)))(t)}function p(t,e){var n=t.chart,r=t.options,o=r.statistic,a=r.percent;if(n.getController(\"annotation\").clear(!0),o){var s=o.content,c=void 0;s&&(c=Object(l[\"d\"])({},{content:(100*a).toFixed(2)+\"%\",style:{opacity:.75,fontSize:\"30px\",lineHeight:1,textAlign:\"center\",color:\"rgba(44,53,66,0.85)\"}},s)),Object(l[\"v\"])(n,{statistic:Object(i[\"a\"])(Object(i[\"a\"])({},o),{content:c})},{percent:a})}return e&&n.render(!0),t}function f(t){var e=t.chart,n=t.options,i=n.tooltip;return i?e.tooltip(Object(l[\"d\"])({showTitle:!1,showMarkers:!1,containerTpl:'
    ',domStyles:{\"g2-tooltip\":{padding:\"4px 8px\",fontSize:\"10px\"}},customContent:function(t,e){var n=Object(r[\"s\"])(e,[0,\"data\",c[\"d\"]],0);return(100*n).toFixed(2)+\"%\"}},i)):e.tooltip(!1),t}function g(t){var e=t.chart;return e.legend(!1),t}function y(t){return Object(l[\"g\"])(o[\"k\"],o[\"a\"],h,d,f,p,o[\"c\"],Object(o[\"b\"])(),g)(t)}},\"53c8\":function(t,e,n){\"use strict\";n.r(e),n.d(e,\"version\",(function(){return c}));var i=n(\"4799\");n.d(e,\"Shape\",(function(){return i}));var r=n(\"6855\");for(var o in r)[\"default\",\"Canvas\",\"Group\",\"Shape\",\"getArcParams\",\"version\"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var a=n(\"b182\");n.d(e,\"Canvas\",(function(){return a[\"a\"]}));var s=n(\"c2ad\");n.d(e,\"Group\",(function(){return s[\"a\"]}));var l=n(\"9c29\");n.d(e,\"getArcParams\",(function(){return l[\"a\"]}));var c=\"0.5.12\"},\"54c4\":function(t,e){t.exports=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIUAAABNCAYAAACIYaflAAAJsklEQVR4nO1dSY9cNRCu7gwhQBYImyIQi8KaAxckLkgckPgv+Q/kmP9ArvwMJA4gcQGJCxKJQjYUBUIkIEzP0pNJdz9kKCduT5VdXsrv9cx8Upju9+xy2S6Xy1XlZtR1HSTjwiW3xggAOu8vwPJnF9KyljG/DEeXa4f77NKnnlF0OP44/mP8xniJtcu9A7h4nmkyjrXsmsuwDLqMcgMhLes/o+pJeOI+U+8lfMTop/Cbysvy89GSGNBPMlBbKA4makxFDo295YsFwmBcg8iBR42pKKFReUnW0BTdoXD1jMcCtajBSK3tQ1MwUg3MFJrS57UQMkhLUUUgoOJE+h0beQZT6B1VJkaH+ky1Q9ELtcsZfHLjL8xDjD7XNw7+KakKamoK6SD433NPIZLy0tNEymSXCoakTg6NwQkFDM62qHI4WxnMazJaUyjMnnakIr0yHByBgNq9rS0UIDDgcowtzrtZihgvIe+hDtI1XFfTyAQFdc+psZx93n8v3WNTILFJ2jrm0td81a0DKmsKQIk92N7N9qiqJUBJKIbnzNq/RudiFYQCUJ3VNzhLJnZoAlFPSKtvHaAkFDMAeFKB7v5BPSGdaYyJhlB0KMF1aR+sI6YEM61R0RAKQIafUKJ9iMdjrAJNoYD/ds/9ZORJ+6Lf524VhcIyfXRfqX1pX7hy9YRFbesARaEweKhocPrD20IfcW3I267H4W41SgS0hQIUnVmhqKIWJBFSbXTO2KpAUygAJfop53tsdY+8eENMEVMxCoomOOVDWdhcNjfXdijjPNTPWH85Ps3fBwytatAWCtOBp53vktVdmovABeTGgrKp+ReSHBGOBvVOkvCz8kIxczycscij5L6Dv4JTo6axSGzKNpDLTywKG7qDMtM8dVhoCwWgZB93vsf2Zem+nRI1LRWYmvxII8bUO3UtAY2EYgcATjRo5yBgp0UfWwjFHK3low3a2s/Y1QqA+WghFIASfixyUg9Z7al+iFSfAnWiiNEHgl//Waz9lKTbJloCGgrFFACe9fZLbnKo7zl+gFSfQmpbXF9GEeGSnHCo+lMhX8VoJRQLNJJcn0WpYTcEhASplF+3/lQjmYZDK6Ew2PZ8FocA8Ya13XKsWgrF9PDeKYG4QCxabh3QWCg67NzxQBntwFYu/ZR6Mfd9KqbKY7IHLYXCYAsATkbKaNsOufRT6tW0MbaCrSiIS2uhmKqk6u1fzIJbh5L+6GNytvB4eog4NvsYo1H3+Ret2zSJN6+1bnRFcbtVvMNFH5rigef2ju2MnNePizSGoq2xHIxQvkUshyKGEF0g3j3oQyCgx719AgAvOd9LopgpXtCU3AXuc0quRGrb7veJkG51rDluWYvcW+GS/AELs1eeEdzqDuUsSBDKzQDIW+0hfuT8/a8TQnxseT6d1L5zfEcz0Nacl35mUsqA+ZIfS49bYIBnNT2cNY6C4fpbePJwx3WcEMzjtlYg5td+tt/na07ljrkDWhqMogJH5vNGxJHl10ltX8/hI6NcwsMm4/lNDeZJFrMrUMZd0Lk2hQ24WANQkgArMcy4z0YoXvWklKuzcFZKyKC0wu2vqpFDw6/L9dGnH5pkl08QrGqXJ/D6tkChsAuU4zH0jpojbht9pCEsP76huXBOBrIYRdmaNGrylKBcjXhJi5hLahtU+c3AOw10fgIPdfqwmVLHRAyUKWljYZ9W7/ZqYb1x0HDHz+jijqQzxxDUjEVYF+5wfkCtX8xxTFqMR4ch+T3Z4SE/xQwrnVAWDKMun1ekv0popSU6tOnI6wIx59UMK58ijC3qCEQ1zp3jXYPz5YAB69OnjE6ubR8xI5Xyz4T65/JDGbLUZ/eZT3eDubSUCmrcwTFkJ6H7IxKP5gwl+LSSFNs9TZrtPbSt5oj3Nxe7OBaaXuYFzmXwQpGUAUPkbwB4QWlSJqgtDjImygI/xzmM3jBLkUpD7E+cvNrMmwF5pTLN/pB3TNcUCiMQf0mvHKaqKkP0HsYtSn6+yN/zZqg+rds75BxzQblzQ6lwITskdSpdWst1aSohp9O2k3yUE9/x6bt4iHMmvoOas38Z4ndxZde89TVRu14Ynm5dl7gMWlriIc5V0qXkXKPGNPIbJsu4gsGdHiQwA/N6IL8AAqvIlqPzFDrS1TtyfiGYctVzOQ9ArHrqO8cTRXPi3MyXjJuknNG8d3JuqZdYujPMDHpD7P2MY1uQ2FsTQzjJ2LyJmqeOHZybrJ8tKGXENHoLAM6iPUCtBKldADhAzzErj/NbuOX8d1xQDQht4LfFBZJiPo6YLeTbOOvePIR4AsH4buOcZF9GDguFTJmZxm8AwFuCUHgMm9iqxgoeoit9jkHBWrxt4lwU3U4PC4XcKjBMXAOAd9D7GVslodWz5WgLbq8Hry4svXf/y2sEqm2qrdgq5UYqZkeMUDOOCQ1G1YtpzwnOQfGd09r/E5hfAOBdnNRcmM69WMRJ32cJH7zGrXXquI9jP6j/BaWFYeoqALyH3s8c2Gty++fCEC0Q9qJPST87dEpdrXkrXWPgDXNXAOCcl7Gdgo0CoVoV3K8QS7qHY11VN2r+DPNl/HyGKRMyY9cDsZBli4GnKTn11PIJgMBe8p+vC7cOrv27GgIByiraMPsz/k29EbaL6pX3f3BDMQT/ZBw72Mfc8b/tLLrqaLFvW+bfTKxnjLBnklsbvkBAoYF5S1MgoKExdxmn6+2EOjZyWpJsMlTkCsU13DL0MGpr4V9BI/RcoIyr/OeoZo9HfBTc+T6kM1Lecx5NIGwHIJ77dLeJXyEO1bG4jKcMXXTtj31XsfMfCMtPqsRChmVn/JOhJX5CP0QT9OELsE6WDwVlN3BKy45uwxGIBfYpRSh+BIDrijztQV8Oous4QB8tTTi9oreFF4ZWAfaij0QozPj8AAA3W/erT6/hTez4x4/2VnpFrzu/fBOKBbjg4hdctJWjx0VjKTsDAraIfSZN4Tfj8j2eNJqjb1fyrzgAn+DqoSbMXV3c5FF3RMfe31GCAenTcoXHn9TOu3JAifYYjctNoh9+u6bcd+iL6AVDiC+Yzn8DAJ96atUdrA3neiG1UlPArXQqUknxktsmd5PcpT3HsbhT0FYxhhJ0MoPwNQB8xvC07sRCQqtMgpD6D01aqB3uaAqOwK0HLjF1KBBmDH5P7E915Fv19V1KZjC+cn6sw/03dZ6PnedjomzsH1VnHKAVeueX4WjbK5hc+3Pse+8CAUWaQueY9wcAfMm8ex/T/lYRN9Q9kRUx6rqM2b1wqQ9eT6JBGsqEAuK9xBsqeU6ViWVn2c/fNv9hs4vn8+oBwL+b6hgsdamIoQAAAABJRU5ErkJggg==\"},\"54ca\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return Q})),n.d(e,\"b\",(function(){return J}));var i={};function r(t){return+t}function o(t){return t*t}function a(t){return t*(2-t)}function s(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function l(t){return t*t*t}function c(t){return--t*t*t+1}function u(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}n.r(i),n.d(i,\"easeLinear\",(function(){return r})),n.d(i,\"easeQuad\",(function(){return s})),n.d(i,\"easeQuadIn\",(function(){return o})),n.d(i,\"easeQuadOut\",(function(){return a})),n.d(i,\"easeQuadInOut\",(function(){return s})),n.d(i,\"easeCubic\",(function(){return u})),n.d(i,\"easeCubicIn\",(function(){return l})),n.d(i,\"easeCubicOut\",(function(){return c})),n.d(i,\"easeCubicInOut\",(function(){return u})),n.d(i,\"easePoly\",(function(){return f})),n.d(i,\"easePolyIn\",(function(){return d})),n.d(i,\"easePolyOut\",(function(){return p})),n.d(i,\"easePolyInOut\",(function(){return f})),n.d(i,\"easeSin\",(function(){return b})),n.d(i,\"easeSinIn\",(function(){return v})),n.d(i,\"easeSinOut\",(function(){return m})),n.d(i,\"easeSinInOut\",(function(){return b})),n.d(i,\"easeExp\",(function(){return j})),n.d(i,\"easeExpIn\",(function(){return O})),n.d(i,\"easeExpOut\",(function(){return w})),n.d(i,\"easeExpInOut\",(function(){return j})),n.d(i,\"easeCircle\",(function(){return C})),n.d(i,\"easeCircleIn\",(function(){return S})),n.d(i,\"easeCircleOut\",(function(){return _})),n.d(i,\"easeCircleInOut\",(function(){return C})),n.d(i,\"easeBounce\",(function(){return F})),n.d(i,\"easeBounceIn\",(function(){return B})),n.d(i,\"easeBounceOut\",(function(){return F})),n.d(i,\"easeBounceInOut\",(function(){return N})),n.d(i,\"easeBack\",(function(){return H})),n.d(i,\"easeBackIn\",(function(){return V})),n.d(i,\"easeBackOut\",(function(){return G})),n.d(i,\"easeBackInOut\",(function(){return H})),n.d(i,\"easeElastic\",(function(){return U})),n.d(i,\"easeElasticIn\",(function(){return q})),n.d(i,\"easeElasticOut\",(function(){return U})),n.d(i,\"easeElasticInOut\",(function(){return Z}));var h=3,d=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(h),p=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(h),f=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(h),g=Math.PI,y=g/2;function v(t){return 1===+t?1:1-Math.cos(t*y)}function m(t){return Math.sin(t*y)}function b(t){return(1-Math.cos(g*t))/2}function x(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function O(t){return x(1-+t)}function w(t){return 1-x(t)}function j(t){return((t*=2)<=1?x(1-t):2-x(t-1))/2}function S(t){return 1-Math.sqrt(1-t*t)}function _(t){return Math.sqrt(1- --t*t)}function C(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var M=4/11,A=6/11,k=8/11,I=3/4,T=9/11,D=10/11,P=15/16,L=21/22,R=63/64,E=1/M/M;function B(t){return 1-F(1-t)}function F(t){return(t=+t)a?(i=(c+a-r)/(2*c),o=Math.sqrt(Math.max(0,a/c-i*i)),n.x=t.x-i*s-o*l,n.y=t.y-i*l+o*s):(i=(c+r-a)/(2*c),o=Math.sqrt(Math.max(0,r/c-i*i)),n.x=e.x+i*s-o*l,n.y=e.y+i*l+o*s)):(n.x=e.x+n.r,n.y=e.y)}function a(t,e){var n=t.r+e.r-1e-6,i=e.x-t.x,r=e.y-t.y;return n>0&&n*n>i*i+r*r}function s(t){var e=t._,n=t.next._,i=e.r+n.r,r=(e.x*n.r+n.x*e.r)/i,o=(e.y*n.r+n.y*e.r)/i;return r*r+o*o}function l(t){this._=t,this.next=null,this.previous=null}function c(t){if(!(u=(t=Object(i[\"a\"])(t)).length))return 0;var e,n,c,u,h,d,p,f,g,y,v;if(e=t[0],e.x=0,e.y=0,!(u>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(u>2))return e.r+n.r;o(n,e,c=t[2]),e=new l(e),n=new l(n),c=new l(c),e.next=c.previous=n,n.next=e.previous=c,c.next=n.previous=e;t:for(p=3;p0,d=u>0;function p(t,e){var n=Object(r[\"s\"])(o,[t]);function i(t){return Object(r[\"s\"])(n,t)}var a={};return\"x\"===e?(Object(r[\"M\"])(c)&&(Object(r[\"M\"])(i(\"min\"))||(a[\"min\"]=h?0:2*c),Object(r[\"M\"])(i(\"max\"))||(a[\"max\"]=h?2*c:0)),a):(Object(r[\"M\"])(u)&&(Object(r[\"M\"])(i(\"min\"))||(a[\"min\"]=d?0:2*u),Object(r[\"M\"])(i(\"max\"))||(a[\"max\"]=d?2*u:0)),a)}return Object(i[\"a\"])(Object(i[\"a\"])({},o),(e={},e[a]=Object(i[\"a\"])(Object(i[\"a\"])({},o[a]),p(a,\"x\")),e[s]=Object(i[\"a\"])(Object(i[\"a\"])({},o[s]),p(s,\"y\")),e))};function g(t){var e=t.data,n=void 0===e?[]:e,i=t.xField,r=t.yField;if(n.length){for(var o=!0,a=!0,s=n[0],c=void 0,u=1;u0&&c<1){var f=d-h;p=f/a/(c/(1-c)+1-1/a)}for(var g=p/(1-c)*c,y=e.addGroup(),v=this.coordinate.getCenter(),m=this.coordinate.getRadius(),b=r[\"h\"].getAngle(t,this.coordinate),x=b.startAngle,O=b.endAngle,w=x;w0&&(r=1/Math.sqrt(r)),t[0]=e[0]*r,t[1]=e[1]*r,t}function M(t,e){return t[0]*e[0]+t[1]*e[1]}function A(t,e,n){var i=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=i,t}function k(t,e,n,i){var r=e[0],o=e[1];return t[0]=r+i*(n[0]-r),t[1]=o+i*(n[1]-o),t}function I(t,e){e=e||1;var n=2*i[\"c\"]()*Math.PI;return t[0]=Math.cos(n)*e,t[1]=Math.sin(n)*e,t}function T(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r,t[1]=n[1]*i+n[3]*r,t}function D(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function P(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[3]*r+n[6],t[1]=n[1]*i+n[4]*r+n[7],t}function L(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[4]*r+n[12],t[1]=n[1]*i+n[5]*r+n[13],t}function R(t,e,n,i){var r=e[0]-n[0],o=e[1]-n[1],a=Math.sin(i),s=Math.cos(i);return t[0]=r*s-o*a+n[0],t[1]=r*a+o*s+n[1],t}function E(t,e){var n=t[0],i=t[1],r=e[0],o=e[1],a=Math.sqrt(n*n+i*i)*Math.sqrt(r*r+o*o),s=a&&(n*r+i*o)/a;return Math.acos(Math.min(Math.max(s,-1),1))}function B(t){return t[0]=0,t[1]=0,t}function F(t){return\"vec2(\"+t[0]+\", \"+t[1]+\")\"}function N(t,e){return t[0]===e[0]&&t[1]===e[1]}function z(t,e){var n=t[0],r=t[1],o=e[0],a=e[1];return Math.abs(n-o)<=i[\"b\"]*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=i[\"b\"]*Math.max(1,Math.abs(r),Math.abs(a))}var V=w,G=u,H=h,W=d,X=x,Y=O,q=j,U=function(){var t=r();return function(e,n,i,r,o,a){var s,l;for(n||(n=2),i||(i=0),l=r?Math.min(r*n+i,e.length):e.length,s=i;s0&&(e?\"stroke\"in n?this._setColor(t,\"stroke\",o):\"strokeStyle\"in n&&this._setColor(t,\"stroke\",a):this._setColor(t,\"stroke\",o||a),l&&h.setAttribute(c[\"b\"][\"strokeOpacity\"],l),u&&h.setAttribute(c[\"b\"][\"lineWidth\"],u))},e.prototype._setColor=function(t,e,n){var i=this.get(\"el\");if(n)if(n=n.trim(),/^[r,R,L,l]{1}[\\s]*\\(/.test(n)){var r=t.find(\"gradient\",n);r||(r=t.addGradient(n)),i.setAttribute(c[\"b\"][e],\"url(#\"+r+\")\")}else if(/^[p,P]{1}[\\s]*\\(/.test(n)){r=t.find(\"pattern\",n);r||(r=t.addPattern(n)),i.setAttribute(c[\"b\"][e],\"url(#\"+r+\")\")}else i.setAttribute(c[\"b\"][e],n);else i.setAttribute(c[\"b\"][e],\"none\")},e.prototype.shadow=function(t,e){var n=this.attr(),i=e||n,r=i.shadowOffsetX,o=i.shadowOffsetY,s=i.shadowBlur,l=i.shadowColor;(r||o||s||l)&&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\"),i=this.get(\"canvas\"),r=i.get(\"el\").getBoundingClientRect(),o=t+r.left,a=e+r.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\"]),d=h,p=n(\"8937\"),f=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(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get(\"el\");Object(p[\"j\"])(e||n,(function(t,e){\"x\"===e||\"y\"===e?i.setAttribute(\"c\"+e,t):c[\"b\"][e]&&i.setAttribute(c[\"b\"][e],t)}))},e}(d),g=f,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(r[\"c\"])(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get(\"el\");if(Object(p[\"j\"])(e||n,(function(t,e){c[\"b\"][e]&&i.setAttribute(c[\"b\"][e],t)})),\"function\"===typeof n[\"html\"]){var r=n[\"html\"].call(this,n);if(r instanceof Element||r instanceof HTMLDocument){for(var o=i.childNodes,a=o.length-1;a>=0;a--)i.removeChild(o[a]);i.appendChild(r)}else i.innerHTML=r}else i.innerHTML=n[\"html\"]},e}(d),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(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get(\"el\");Object(p[\"j\"])(e||n,(function(t,e){\"x\"===e||\"y\"===e?i.setAttribute(\"c\"+e,t):c[\"b\"][e]&&i.setAttribute(c[\"b\"][e],t)}))},e}(d),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(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,i=this.attr(),r=this.get(\"el\");Object(p[\"j\"])(e||i,(function(t,e){\"img\"===e?n._setImage(i.img):c[\"b\"][e]&&r.setAttribute(c[\"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[\"Q\"])(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[\"Q\"])(t.nodeName)&&\"CANVAS\"===t.nodeName.toUpperCase())n.setAttribute(\"href\",t.toDataURL());else if(t instanceof ImageData){var i=document.createElement(\"canvas\");i.setAttribute(\"width\",\"\"+t.width),i.setAttribute(\"height\",\"\"+t.height),i.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\",i.toDataURL())}},e}(d),O=x,w=n(\"1183\"),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(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get(\"el\");Object(p[\"j\"])(e||n,(function(e,r){if(\"startArrow\"===r||\"endArrow\"===r)if(e){var o=Object(p[\"O\"])(e)?t.addArrow(n,c[\"b\"][r]):t.getDefaultArrow(n,c[\"b\"][r]);i.setAttribute(c[\"b\"][r],\"url(#\"+o+\")\")}else i.removeAttribute(c[\"b\"][r]);else c[\"b\"][r]&&i.setAttribute(c[\"b\"][r],e)}))},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,i=t.x2,r=t.y2;return w[\"c\"].length(e,n,i,r)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,i=e.y1,r=e.x2,o=e.y2;return w[\"c\"].pointAt(n,i,r,o,t)},e}(d),S=j,_={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 i=n*Math.sin(1/3*Math.PI);return[[\"M\",t-n,e+i],[\"L\",t,e-i],[\"L\",t+n,e+i],[\"z\"]]},triangleDown:function(t,e,n){var i=n*Math.sin(1/3*Math.PI);return[[\"M\",t-n,e-i],[\"L\",t+n,e-i],[\"L\",t,e+i],[\"Z\"]]}},C={get:function(t){return _[t]},register:function(t,e){_[t]=e},remove:function(t){delete _[t]},getAll:function(){return _}},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(r[\"c\"])(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[\"C\"])(t)?t.map((function(t){return t.join(\" \")})).join(\"\"):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,i=e.y,r=e.r||e.radius,o=e.symbol||\"circle\";return t=Object(p[\"I\"])(o)?o:C.get(o),t?t(n,i,r):null},e.symbolsFactory=C,e}(d),A=M,k=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(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,i=this.attr(),r=this.get(\"el\");Object(p[\"j\"])(e||i,(function(e,o){if(\"path\"===o&&Object(p[\"C\"])(e))r.setAttribute(\"d\",n._formatPath(e));else if(\"startArrow\"===o||\"endArrow\"===o)if(e){var a=Object(p[\"O\"])(e)?t.addArrow(i,c[\"b\"][o]):t.getDefaultArrow(i,c[\"b\"][o]);r.setAttribute(c[\"b\"][o],\"url(#\"+a+\")\")}else r.removeAttribute(c[\"b\"][o]);else c[\"b\"][o]&&r.setAttribute(c[\"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 i=e?e.getPointAtLength(t*n):null;return i?{x:i.x,y:i.y}:null},e}(d),I=k,T=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(r[\"c\"])(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get(\"el\");Object(p[\"j\"])(e||n,(function(t,e){\"points\"===e&&Object(p[\"C\"])(t)&&t.length>=2?i.setAttribute(\"points\",t.map((function(t){return t[0]+\",\"+t[1]})).join(\" \")):c[\"b\"][e]&&i.setAttribute(c[\"b\"][e],t)}))},e}(d),D=T,P=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(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,i){t.prototype.onAttrChange.call(this,e,n,i),-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(),i=this.get(\"el\");Object(p[\"j\"])(e||n,(function(t,e){\"points\"===e&&Object(p[\"C\"])(t)&&t.length>=2?i.setAttribute(\"points\",t.map((function(t){return t[0]+\",\"+t[1]})).join(\" \")):c[\"b\"][e]&&i.setAttribute(c[\"b\"][e],t)}))},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get(\"totalLength\");return Object(p[\"K\"])(e)?(this.set(\"totalLength\",w[\"d\"].length(t)),this.get(\"totalLength\")):e},e.prototype.getPoint=function(t){var e,n,i=this.attr().points,r=this.get(\"tCache\");return r||(this._setTcache(),r=this.get(\"tCache\")),Object(p[\"j\"])(r,(function(i,r){t>=i[0]&&t<=i[1]&&(e=(t-i[0])/(i[1]-i[0]),n=r)})),w[\"c\"].pointAt(i[n][0],i[n][1],i[n+1][0],i[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,i,r=0,o=[];Object(p[\"j\"])(t,(function(a,s){t[s+1]&&(n=[],n[0]=r/e,i=w[\"c\"].length(a[0],a[1],t[s+1][0],t[s+1][1]),r+=i,n[1]=r/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}(d),L=P;function R(t){var e=0,n=0,i=0,r=0;return Object(p[\"C\"])(t)?1===t.length?e=n=i=r=t[0]:2===t.length?(e=i=t[0],n=r=t[1]):3===t.length?(e=t[0],n=r=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],r=t[3]):e=n=i=r=t,{r1:e,r2:n,r3:i,r4:r}}var E=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(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,i=this.attr(),r=this.get(\"el\"),o=!1,a=[\"x\",\"y\",\"width\",\"height\",\"radius\"];Object(p[\"j\"])(e||i,(function(t,e){-1===a.indexOf(e)||o?-1===a.indexOf(e)&&c[\"b\"][e]&&r.setAttribute(c[\"b\"][e],t):(r.setAttribute(\"d\",n._assembleRect(i)),o=!0)}))},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,i=t.width,r=t.height,o=t.radius;if(!o)return\"M \"+e+\",\"+n+\" l \"+i+\",0 l 0,\"+r+\" l\"+-i+\" 0 z\";var a=R(o);Object(p[\"C\"])(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 \"+(i-a.r1-a.r2)+\",0\"],[\"a \"+a.r2+\",\"+a.r2+\",0,0,1,\"+a.r2+\",\"+a.r2],[\"l 0,\"+(r-a.r2-a.r3)],[\"a \"+a.r3+\",\"+a.r3+\",0,0,1,\"+-a.r3+\",\"+a.r3],[\"l \"+(a.r3+a.r4-i)+\",0\"],[\"a \"+a.r4+\",\"+a.r4+\",0,0,1,\"+-a.r4+\",\"+-a.r4],[\"l 0,\"+(a.r4+a.r1-r)],[\"a \"+a.r1+\",\"+a.r1+\",0,0,1,\"+a.r1+\",\"+-a.r1],[\"z\"]];return s.join(\" \")},e}(d),B=E,F=n(\"7b46\"),N=.3,z={top:\"before-edge\",middle:\"central\",bottom:\"after-edge\",alphabetic:\"baseline\",hanging:\"hanging\"},V={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\"},H=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(r[\"c\"])(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(r[\"a\"])(Object(r[\"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,i=this.attr(),r=this.get(\"el\");this._setFont(),Object(p[\"j\"])(e||i,(function(t,e){\"text\"===e?n._setText(\"\"+t):\"matrix\"===e&&t?Object(a[\"c\"])(n):c[\"b\"][e]&&r.setAttribute(c[\"b\"][e],t)})),r.setAttribute(\"paint-order\",\"stroke\"),r.setAttribute(\"style\",\"stroke-linecap:butt; stroke-linejoin:miter;\")},e.prototype._setFont=function(){var t=this.get(\"el\"),e=this.attr(),n=e.textBaseline,i=e.textAlign,r=Object(F[\"a\"])();r&&\"firefox\"===r.name?t.setAttribute(\"dominant-baseline\",V[n]||\"alphabetic\"):t.setAttribute(\"alignment-baseline\",z[n]||\"baseline\"),t.setAttribute(\"text-anchor\",G[i]||\"left\")},e.prototype._setText=function(t){var e=this.get(\"el\"),n=this.attr(),i=n.x,r=n.textBaseline,o=void 0===r?\"bottom\":r;if(t)if(~t.indexOf(\"\\n\")){var a=t.split(\"\\n\"),s=a.length-1,l=\"\";Object(p[\"j\"])(a,(function(t,e){0===e?\"alphabetic\"===o?l+=''+t+\"\":\"top\"===o?l+=''+t+\"\":\"middle\"===o?l+=''+t+\"\":\"bottom\"===o?l+=''+t+\"\":\"hanging\"===o&&(l+=''+t+\"\"):l+=''+t+\"\"})),e.innerHTML=l}else e.innerHTML=t;else e.innerHTML=\"\"},e}(d),W=H},6928:function(t,e,n){\"use strict\";function i(t,e){var n=[],i=t[0],r=t[1],o=t[2],a=t[3],s=t[4],l=t[5],c=t[6],u=t[7],h=t[8],d=e[0],p=e[1],f=e[2],g=e[3],y=e[4],v=e[5],m=e[6],b=e[7],x=e[8];return n[0]=d*i+p*a+f*c,n[1]=d*r+p*s+f*u,n[2]=d*o+p*l+f*h,n[3]=g*i+y*a+v*c,n[4]=g*r+y*s+v*u,n[5]=g*o+y*l+v*h,n[6]=m*i+b*a+x*c,n[7]=m*r+b*s+x*u,n[8]=m*o+b*l+x*h,n}function r(t,e){var n=[],i=e[0],r=e[1];return n[0]=t[0]*i+t[3]*r+t[6],n[1]=t[1]*i+t[4]*r+t[7],n}function o(t){var e=[],n=t[0],i=t[1],r=t[2],o=t[3],a=t[4],s=t[5],l=t[6],c=t[7],u=t[8],h=u*a-s*c,d=-u*o+s*l,p=c*o-a*l,f=n*h+i*d+r*p;return f?(f=1/f,e[0]=h*f,e[1]=(-u*i+r*c)*f,e[2]=(s*i-r*a)*f,e[3]=d*f,e[4]=(u*n-r*l)*f,e[5]=(-s*n+r*o)*f,e[6]=p*f,e[7]=(-c*n+i*l)*f,e[8]=(a*n-i*o)*f,e):null}n.d(e,\"b\",(function(){return i})),n.d(e,\"c\",(function(){return r})),n.d(e,\"a\",(function(){return o}))},\"6bcb\":function(t,e,n){\"use strict\";function i(t){var e=0,n=t.children,i=n&&n.length;if(i)while(--i>=0)e+=n[i].value;else e=1;t.value=e}n.d(e,\"c\",(function(){return m})),n.d(e,\"b\",(function(){return j})),n.d(e,\"a\",(function(){return S}));var r=function(){return this.eachAfter(i)},o=function(t,e){let n=-1;for(const i of this)t.call(e,i,++n,this);return this},a=function(t,e){var n,i,r=this,o=[r],a=-1;while(r=o.pop())if(t.call(e,r,++a,this),n=r.children)for(i=n.length-1;i>=0;--i)o.push(n[i]);return this},s=function(t,e){var n,i,r,o=this,a=[o],s=[],l=-1;while(o=a.pop())if(s.push(o),n=o.children)for(i=0,r=n.length;i=0)n+=i[r].value;e.value=n}))},u=function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},h=function(t){var e=this,n=d(e,t),i=[e];while(e!==n)e=e.parent,i.push(e);var r=i.length;while(t!==n)i.splice(r,0,t),t=t.parent;return i};function d(t,e){if(t===e)return t;var n=t.ancestors(),i=e.ancestors(),r=null;t=n.pop(),e=i.pop();while(t===e)r=t,t=n.pop(),e=i.pop();return r}var p=function(){var t=this,e=[t];while(t=t.parent)e.push(t);return e},f=function(){return Array.from(this)},g=function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},y=function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},v=function*(){var t,e,n,i,r=this,o=[r];do{t=o.reverse(),o=[];while(r=t.pop())if(yield r,e=r.children)for(n=0,i=e.length;n=0;--o)l.push(i=r[o]=new S(r[o])),i.parent=n,i.depth=n.depth+1;return s.eachBefore(j)}function b(){return m(this).eachBefore(w)}function x(t){return t.children}function O(t){return Array.isArray(t)?t[1]:null}function w(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function j(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function S(t){this.data=t,this.depth=this.height=0,this.parent=null}S.prototype=m.prototype={constructor:S,count:r,each:o,eachAfter:s,eachBefore:a,find:l,sum:c,sort:u,path:h,ancestors:p,descendants:f,leaves:g,links:y,copy:b,[Symbol.iterator]:v}},\"6cdb\":function(t,e){t.exports=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIUAAABNCAYAAACIYaflAAAKAklEQVR4nO1dW29cNRCek5QCLaWUS6ECgRD3PvCCxAMPSEj8I/oz+if4G0hIICEhXnhAolXphaqqgJZLm03aJO3uHuR03HgnM+Oxj+3dbPeTouT4jMdjnznj8Yx90vV9D6lYP3eb1ugAoGeuO7zumTII7gFTTmm4eiF/Kgf92yJHWGbho8kTa4ejp3QQGReJL0zOnzZWO4gj2TX34YWmwncGGqnMQsPx1/5OlUPimSKPRqfxl8o0pNKLKKEUkC0QtS8rDEWR0Vyb62NYRIUo9r4dXpSwFP3claskDrflmpZgUmr6KKUYnMO1qLDKqjmdJeD5FlEIKPiG0w53Bge0E+5J9y3XUjsSjSZTp/SDK9fKtPHgZJmt383ck/pUzMaVtBRgfDD0OmVlkcorRzFy+GgrjxQZeHl608pm4ZQCls63qIU6K65JSWYllcLNaesF+S0n6jiyRbmWVgoYEJmL0VkjgVq51rYWgQRDm9Y2StGFfIs5mVDB3HNmbN9x0rvKOZ70PuVi8Q8siEUgU/2BITKl8i86dUBhSwGosXKnVtHLGihqJaCSUqwcznaYHgalADRnK4ezDYpPHVBJKcYA8HQFvivwY10cNZSiRw2uwXuFfYxreWm1HpwT+KlKvNOwvOn5KlYCKisFLERyazkVoj+MSuGFPlqJ/5OOalMHVJ73HyoOp2TUuXILrfR3DlrXz2nvwYD+RVFbKSAj6piyX9GStcxB6/qpYe2HBrps1F4hOI1+hpTRHAL3tmvg6sTyFjH+YT3OUmn3NJmpfNZy2nbIY1dprwjKKQU/PK4Dx5QakPmGW/YXcGVp+xhs9yybZiRZuOgvVUK66eYQKQX/voxJhFN7o+kOIok2JkVKJlKyMpZzIfQeGHlAQMvR94rCjGuuOjxaBJicZj8XXMfetiG+Qaql0d7iFN5W+pQsMEdb3UpAI6XYAYATDdp5ErDToo8tlGKC3vIqZjEMD2olwCha5Sd2mJgF50MAKZOQsmqh7Vh4DsFse7NctdVGbFXVxEpAQ6XYBoAXhHvabidtCUkHMYY1o/KUwiMZe3WJC0QubVW1XVg+Ea2UYopO0rOJ9azLvXnxs2DoMhhQIYpvppHQMr19X4lZrBAfu2ZoqRTbxbfqLW9aPETfcuqAbKXIexi+czRmkeIwzoaM2yuElrCTQtq0Xiy0TXGvdU/zlCJfRNfB50lZSrBKC+zs36mbo9SCUtaQe0r4/V6SdAXQesvcdvWteqkKWzvJPQzj1lMHzGkf5RYAnJpDu8PRfrpqbiUcurWvbrVu0wWx3mzdqIrFdVhvtMp3hJiHpdgNdmXFspPcOU4IyqTsKqXi6PYp+gMOosQzlvkEwank9kVIGVJfb3ceCgFz3IY/AoDTBocr5Zp31noTnTVbmpMN1aKUWvmI4TtbY6h1E3gcYfL6ITSN1t4erRxwrpROkaW0EbunIbde2C4IlkOTP2YNAaOX90hMZ7aetPiNyxWWsGNwhNndA6QDwJRTWmltzqELvOrjAs2Tjm0cI68UPTvOsym3jnmWUrLN3+PyQb2fPqZIQN/elDeJNhBLaG0x+yysAawc1IpgxIJROTJvEStBk2ZcG8A8L0tsJOTtwgXT0KfwCRd6sovTRDCYRM6hoh1fR6GmioaDMKiSw2eJLHJviWbtOEdwSh5GH9DSN9zisPryaaAUmhMu9V26lpTV0zz0OkAdzWlwiGfIfGuFmzdPHtJPF9SS2ccmWp3c7+kGHm714XdK0a35NeA87BcbtHOYsNH4JdmhO7qkJekYiY+ZLEb+TO9DuKvvWTzCBMekxXj0mJI/sDtci1OMsdKJqGIMWy+7+fOlQRyWB62shHtim9JxgVjwaoyVTzLL1n1V6PaigmG5xR/xdI7/q8r6mtbphfU7F7WktBTUwaVtAcOb6+OUkYnrSyyGsBk4mAfb3B/nITEWV/eudn7EEtEc49x/ShxgaW1gsyB+Ttvf7V0iWmdDKTNdgs8DHAv5mQwfk2lMISAhzO0cz/8A4GXzAKR1YITWIqfusmBU2ZeY4jOMnjBLyX04Zv9izqK08G5AXi/MczjaWSyYUYry7TpL/Lf1yGFqQsxZDJdrP/M4yJUb95udFydoPo8L3+Lkwrex/IEUqJECWryEWg/ivaVBLSq/v39/ZvNRukJw0U1fNsZnZj6DemSmCzY45n8CwBt7imGtF6cb4UrnSfwGZ62p4yE+q6RDybma6Rq5iZtljjLaCYbcB703Qn4xC+Cvp8IbGc8Oyvc8jzVyziIlXMy1p4XtO0EpcixTeL2Lzyj5lPqQ/RRj3Bn0VsYhHwnbzMZeCbUDPK0Can7fRMm9LTv4bLI+WzBUENfodQB4JzjoI63vuXkPCE0Y9ubiIJpfwLVN2wphkYeWTYV0cyfQeD5cPMTz2CBbGLTxs1g8lzv5fchh5BLa6Rq/CgDvkjMdOdjCOrNv6eIsUS3Wg6OR6k0iG45S4cbv2tDT6aVMlhPiMgC8j9FPEN5a7hrIG3BP2O2trSC4+7F2tbQ8x9vD6k9IMoR8Rli2nuiHcBjhMxh85rT0P4H5DQA+GLiF33XulYJyLTJGhZ7BHRz7hfoXlB5OqEsA8CFGPyVI+YouOHO67N/29lsStX5achz/4JgXO5VeY+CdcBcB4CxGP3OwGVGqZcCdAjGZWzjWRb2ump9hvoB/n8HfkmfNdch55K8FvELK1PgHV65FNi38rO1q2BAcTIusgEGp4goBlU20E/ZX/J16IuzBgd1fy5Uk28E+5o7/jeClK44W87YX/u3EeqMlPgIgh7XjNucaWohqaOXMXcCuvpdQZ4T5lWVDryqFrhCXaysENPbwL6ITehavY+/EFM2stxbW7GaMr8XvsOY3UiY1T7+d+X/WLuAqozpaL/su4cB8bKTfWMIPs97NUIhfMA7RBPOIBfggyycG2k18w5YlnT7FPlmVwr1APwPAlcpyzWBeAaIrOECf7j1w3RDfD0Lnhx18boeHG5Gf0LEchsSJbn5Rww6uQb+nGJ9Br1qCjeDDrNycHsuQan9zvyXkZFVp/sK6hd+Ny4+YgR6OxOX8/JTikaDXcQA+F85OAvN20a1sHjQ1zdF2AS29T+tQhdOOFUjKFfKlnxeQkmXOCf0BYxFzwSLkF1znvwOALxSzuqkcL7TsM+iZQ78Sfa7/Qq0CbcNnRKnyhxjjWNzMlKEIFiXp5AbhWwD4EjcEzz64Djag3ztFxlkCyyEcWgeYt5qj46amXGwQq0St0xjH4I8BbRTBInn1bjC+CT7W0T3+6R8fGOrIzxpzTcu4OmvA16d0KXy1H58R9XzWCe0E+z53hYAFTE//BQBfC/c+wm1/MnLSUm1wtUUkshS6vk8fxfVzt+ch6/PokOZGEsNrMGRataxpjCbk766/j37YrDAm5zN3LQDA/+jEK2oUuQEvAAAAAElFTkSuQmCC\"},\"6d8b\":function(t,e,n){\"use strict\";n.d(e,\"p\",(function(){return y})),n.d(e,\"G\",(function(){return v})),n.d(e,\"d\",(function(){return m})),n.d(e,\"I\",(function(){return b})),n.d(e,\"J\",(function(){return x})),n.d(e,\"m\",(function(){return O})),n.d(e,\"i\",(function(){return w})),n.d(e,\"r\",(function(){return j})),n.d(e,\"s\",(function(){return S})),n.d(e,\"K\",(function(){return _})),n.d(e,\"u\",(function(){return C})),n.d(e,\"k\",(function(){return M})),n.d(e,\"H\",(function(){return A})),n.d(e,\"N\",(function(){return k})),n.d(e,\"n\",(function(){return I})),n.d(e,\"o\",(function(){return T})),n.d(e,\"F\",(function(){return D})),n.d(e,\"c\",(function(){return L})),n.d(e,\"h\",(function(){return R})),n.d(e,\"t\",(function(){return E})),n.d(e,\"w\",(function(){return B})),n.d(e,\"C\",(function(){return F})),n.d(e,\"D\",(function(){return N})),n.d(e,\"z\",(function(){return z})),n.d(e,\"A\",(function(){return V})),n.d(e,\"E\",(function(){return H})),n.d(e,\"v\",(function(){return W})),n.d(e,\"x\",(function(){return X})),n.d(e,\"y\",(function(){return Y})),n.d(e,\"B\",(function(){return q})),n.d(e,\"l\",(function(){return U})),n.d(e,\"O\",(function(){return Z})),n.d(e,\"P\",(function(){return K})),n.d(e,\"Q\",(function(){return Q})),n.d(e,\"S\",(function(){return J})),n.d(e,\"M\",(function(){return $})),n.d(e,\"b\",(function(){return tt})),n.d(e,\"T\",(function(){return et})),n.d(e,\"R\",(function(){return it})),n.d(e,\"f\",(function(){return ct})),n.d(e,\"e\",(function(){return ut})),n.d(e,\"g\",(function(){return ht})),n.d(e,\"j\",(function(){return dt})),n.d(e,\"q\",(function(){return pt})),n.d(e,\"L\",(function(){return ft})),n.d(e,\"a\",(function(){return gt}));var i=n(\"726e\"),r=k([\"Function\",\"RegExp\",\"Date\",\"Error\",\"CanvasGradient\",\"CanvasPattern\",\"Image\",\"Canvas\"],(function(t,e){return t[\"[object \"+e+\"]\"]=!0,t}),{}),o=k([\"Int8\",\"Uint8\",\"Uint8Clamped\",\"Int16\",\"Uint16\",\"Int32\",\"Uint32\",\"Float32\",\"Float64\"],(function(t,e){return t[\"[object \"+e+\"Array]\"]=!0,t}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,c=s.filter,u=s.slice,h=s.map,d=function(){}.constructor,p=d?d.prototype:null,f=\"__proto__\",g=2311;function y(){return g++}function v(){for(var t=[],e=0;e0&&t.depth>l)return null;var m=t.data.name,b=Object(i[\"a\"])({},t);while(b.depth>1)m=(null===(o=b.parent.data)||void 0===o?void 0:o.name)+\" / \"+m,b=b.parent;var x=Object(i[\"a\"])(Object(i[\"a\"])(Object(i[\"a\"])({},Object(c[\"t\"])(t.data,Object(i[\"h\"])(r||[],[s.field]))),(e={},e[p]=m,e[h]=b.data.name,e)),t);d&&(x[d]=t.data[d]||(null===(u=null===(a=t.parent)||void 0===a?void 0:a.data)||void 0===u?void 0:u[d])),n&&(x[n]=t.data[n]||(null===(g=null===(f=t.parent)||void 0===f?void 0:f.data)||void 0===g?void 0:g[n])),x.ext=s,x[y[\"b\"]]={hierarchyConfig:s,colorField:n,rawFields:r},v.push(x)})),v}function j(t){var e,n=t.chart,r=t.options,o=r.color,s=r.colorField,u=void 0===s?h:s,d=r.sunburstStyle,p=r.rawFields,g=void 0===p?[]:p,y=w(r);return n.data(y),d&&(e=function(t){return Object(c[\"d\"])({},{fillOpacity:Math.pow(.85,t.depth)},Object(a[\"I\"])(d)?d(t):d)}),Object(l[\"f\"])(Object(c[\"d\"])({},t,{options:{xField:\"x\",yField:\"y\",seriesField:u,rawFields:Object(a[\"ub\"])(Object(i[\"h\"])(f,g)),polygon:{color:o,style:e}}})),t}function S(t){var e=t.chart;return e.axis(!1),t}function _(t){var e=t.chart,n=t.options,r=n.label,o=Object(c[\"e\"])(e,\"polygon\");if(r){var a=r.fields,s=void 0===a?[\"name\"]:a,l=r.callback,u=Object(i[\"f\"])(r,[\"fields\",\"callback\"]);o.label({fields:s,callback:l,cfg:Object(c[\"A\"])(u)})}else o.label(!1);return t}function C(t){var e=t.chart,n=t.options,i=n.innerRadius,r=n.radius,o=n.reflect,a=e.coordinate({type:\"polar\",cfg:{innerRadius:i,radius:r}});return o&&a.reflect(o),t}function M(t){var e,n=t.options,i=n.hierarchyConfig,r=n.meta;return Object(c[\"g\"])(Object(s[\"g\"])({},(e={},e[d]=Object(a[\"s\"])(r,Object(a[\"s\"])(i,[\"field\"],\"value\")),e)))(t)}function A(t){var e=t.chart,n=t.options,r=n.tooltip;if(!1===r)e.tooltip(!1);else{var o=r;Object(a[\"s\"])(r,\"fields\")||(o=Object(c[\"d\"])({},{customItems:function(t){return t.map((function(t){var n=Object(a[\"s\"])(e.getOptions(),\"scales\"),r=Object(a[\"s\"])(n,[p,\"formatter\"],(function(t){return t})),o=Object(a[\"s\"])(n,[d,\"formatter\"],(function(t){return t}));return Object(i[\"a\"])(Object(i[\"a\"])({},t),{name:r(t.data[p]),value:o(t.data.value)})}))}},o)),e.tooltip(o)}return t}function k(t){var e=t.drilldown,n=t.interactions,r=void 0===n?[]:n;return(null===e||void 0===e?void 0:e.enabled)?Object(c[\"d\"])({},t,{interactions:Object(i[\"h\"])(r,[{type:\"drill-down\",cfg:{drillDownConfig:e,transformData:w}}])}):t}function I(t){var e=t.chart,n=t.options,i=n.drilldown;return Object(s[\"c\"])({chart:e,options:k(n)}),(null===i||void 0===i?void 0:i.enabled)&&(e.appendPadding=Object(u[\"a\"])(e.appendPadding,Object(a[\"s\"])(i,[\"breadCrumb\",\"position\"]))),t}function T(t){return Object(c[\"g\"])(s[\"k\"],Object(s[\"f\"])(\"sunburstStyle\"),j,S,M,s[\"d\"],C,A,_,I,s[\"a\"],Object(s[\"b\"])())(t)}n(\"51d4\"),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"sunburst\",e}Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return g},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return T},e.SUNBURST_ANCESTOR_FIELD=h,e.SUNBURST_PATH_FIELD=p,e.NODE_ANCESTORS_FIELD=o[\"b\"]}(r[\"b\"])},\"70cc\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return f}));var i=n(\"c34d\"),r=n(\"b4aa\"),o=n(\"9ff2\"),a=n(\"62e3\"),s=n(\"3226\"),l=n(\"6f4b\");function c(t){var e=t.chart,n=t.options,i=n.yField,o=n.data,c=n.risingFill,u=n.fallingFill,h=n.tooltip,d=n.stockStyle;e.data(Object(l[\"a\"])(o,i));var p=h;return!1!==p&&(p=Object(a[\"d\"])({},{fields:i},p)),Object(r[\"g\"])(Object(a[\"d\"])({},t,{options:{schema:{shape:\"candle\",color:[c,u],style:d},yField:s[\"e\"],seriesField:s[\"c\"],rawFields:i,tooltip:p}})),t}function u(t){var e,n,i=t.chart,r=t.options,l=r.meta,c=r.xAxis,u=r.yAxis,h=r.xField,d=(e={},e[h]={type:\"timeCat\",tickCount:6},e[s[\"c\"]]={values:[s[\"d\"],s[\"b\"]]},e),p=Object(a[\"d\"])(d,l,(n={},n[h]=Object(a[\"t\"])(c,o[\"a\"]),n[s[\"e\"]]=Object(a[\"t\"])(u,o[\"a\"]),n));return i.scale(p),t}function h(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField;return!1===i?e.axis(o,!1):e.axis(o,i),!1===r?e.axis(s[\"e\"],!1):e.axis(s[\"e\"],r),t}function d(t){var e=t.chart,n=t.options,i=n.tooltip;return!1!==i?e.tooltip(i):e.tooltip(!1),t}function p(t){var e=t.chart,n=t.options,i=n.legend;return i?e.legend(s[\"c\"],i):!1===i&&e.legend(!1),t}function f(t){Object(a[\"g\"])(i[\"k\"],c,u,h,d,p,i[\"c\"],i[\"a\"],Object(i[\"b\"])(),i[\"i\"])(t)}},\"721a\":function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e[\"default\"]=void 0;var i=1,r=function(){return\"\".concat(i++)};e[\"default\"]=r},\"726e\":function(t,e,n){\"use strict\";n.d(e,\"c\",(function(){return i})),n.d(e,\"b\",(function(){return r})),n.d(e,\"a\",(function(){return o})),n.d(e,\"d\",(function(){return h})),n.d(e,\"e\",(function(){return d}));var i=12,r=\"sans-serif\",o=i+\"px \"+r,a=20,s=100,l=\"007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\\\\\WQb\\\\0FWLg\\\\bWb\\\\WQ\\\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\\\FFF5.5N\";function c(t){var e={};if(\"undefined\"===typeof JSON)return e;for(var n=0;n=0)c=l*n.length;else for(var d=0;d=t&&r<=t+n&&o>=e&&o<=e+i}function s(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxYe)n.insertBefore(t,r);else if(o\",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[\"K\"])(t)){t=this.createDom();var e=this.get(\"parent\");Object(o[\"Q\"])(e)&&(e=document.getElementById(e),this.set(\"parent\",e)),e.appendChild(t),this.get(\"containerId\")&&t.setAttribute(\"id\",this.get(\"containerId\")),this.set(\"container\",t)}else Object(o[\"Q\"])(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[\"h\"])({},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 i=t[n];Object(r[\"e\"])(e,i)}}},e.prototype.applyChildrenStyles=function(t,e){Object(o[\"j\"])(e,(function(e,n){var i=t.getElementsByClassName(n);Object(o[\"j\"])(i,(function(t){Object(r[\"e\"])(t,e)}))}))},e.prototype.applyStyle=function(t,e){var n=this.get(\"domStyles\");Object(r[\"e\"])(e,n[t])},e.prototype.createDom=function(){var t=this.get(\"containerTpl\");return Object(r[\"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[\"y\"])(t,\"domStyles\")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(s[\"a\"]);e[\"a\"]=l},\"787a\":function(t,e,n){\"use strict\";var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"8937\"),a=n(\"c34d\"),s=n(\"28c6\"),l=n(\"87d0\"),c=n(\"62e3\"),u=n(\"f45c\"),h=n(\"9f73\"),d=n(\"3736\");function p(t,e){if(Object(o[\"C\"])(t))return t.find((function(t){return t.type===e}))}function f(t,e){var n=p(t,e);return n&&!1!==n.enable}function g(t){var e=t.interactions,n=t.drilldown;return Object(o[\"s\"])(n,\"enabled\")||f(e,\"treemap-drill-down\")}function y(t){var e=t.interactions[\"drill-down\"];if(e){var n=e.context.actions.find((function(t){return\"drill-down-action\"===t.name}));n.reset()}}function v(t){var e=t.data,n=t.colorField,r=t.enableDrillDown,a=t.hierarchyConfig,s=Object(d[\"a\"])(e,Object(i[\"a\"])(Object(i[\"a\"])({},a),{type:\"hierarchy.treemap\",field:\"value\",as:[\"x\",\"y\"]})),l=[];return s.forEach((function(t){if(0===t.depth)return null;if(r&&1!==t.depth)return null;if(!r&&t.children)return null;var s=t.ancestors().map((function(t){return{data:t.data,height:t.height,value:t.value}})),c=r&&Object(o[\"C\"])(e.path)?s.concat(e.path.slice(1)):s,u=Object.assign({},t.data,Object(i[\"a\"])({x:t.x,y:t.y,depth:t.depth,value:t.value,path:c},t));if(!t.data[n]&&t.parent){var d=t.ancestors().find((function(t){return t.data[n]}));u[n]=null===d||void 0===d?void 0:d.data[n]}else u[n]=t.data[n];u[h[\"b\"]]={hierarchyConfig:a,colorField:n,enableDrillDown:r},l.push(u)})),l}function m(t){var e=t.options,n=e.colorField;return Object(c[\"d\"])({options:{rawFields:[\"value\"],tooltip:{fields:[\"name\",\"value\",n,\"path\"],formatter:function(t){return{name:t.name,value:t.value}}}}},t)}function b(t){var e=t.chart,n=t.options,i=n.color,r=n.colorField,o=n.rectStyle,a=n.hierarchyConfig,l=n.rawFields,u=v({data:n.data,colorField:n.colorField,enableDrillDown:g(n),hierarchyConfig:a});return e.data(u),Object(s[\"a\"])(Object(c[\"d\"])({},t,{options:{xField:\"x\",yField:\"y\",seriesField:r,rawFields:l,polygon:{color:i,style:o}}})),e.coordinate().reflect(\"y\"),t}function x(t){var e=t.chart;return e.axis(!1),t}function O(t){var e=t.drilldown,n=t.interactions,r=void 0===n?[]:n,o=g(t);return o?Object(c[\"d\"])({},t,{interactions:Object(i[\"h\"])(r,[{type:\"drill-down\",cfg:{drillDownConfig:e,transformData:v}}])}):t}function w(t){var e=t.chart,n=t.options,i=n.interactions,r=n.drilldown;Object(a[\"c\"])({chart:e,options:O(n)});var s=p(i,\"view-zoom\");s&&(!1!==s.enable?e.getCanvas().on(\"mousewheel\",(function(t){t.preventDefault()})):e.getCanvas().off(\"mousewheel\"));var l=g(n);return l&&(e.appendPadding=Object(u[\"a\"])(e.appendPadding,Object(o[\"s\"])(r,[\"breadCrumb\",\"position\"]))),t}function j(t){return Object(c[\"g\"])(m,a[\"k\"],Object(l[\"a\"])(\"rectStyle\"),b,x,a[\"d\"],a[\"l\"],w,a[\"a\"],Object(a[\"b\"])())(t)}var S={colorField:\"name\",rectStyle:{lineWidth:1,stroke:\"#fff\"},hierarchyConfig:{tile:\"treemapSquarify\"},label:{fields:[\"name\"],layout:{type:\"limit-in-shape\"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1,breadCrumb:{position:\"bottom-left\",rootText:\"初始\",dividerText:\"/\",textStyle:{fontSize:12,fill:\"rgba(0, 0, 0, 0.65)\",cursor:\"pointer\"},activeTextStyle:{fill:\"#87B5FF\"}}}};n(\"c88a\"),n(\"51d4\"),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"treemap\",e}Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return S},e.prototype.changeData=function(t){var e=this.options,n=e.colorField,i=e.interactions,r=e.hierarchyConfig;this.updateOption({data:t});var o=v({data:t,colorField:n,enableDrillDown:f(i,\"treemap-drill-down\"),hierarchyConfig:r});this.chart.changeData(o),y(this.chart)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return j}}(r[\"b\"])},\"7a29\":function(t,e,n){\"use strict\";(function(t){n.d(e,\"p\",(function(){return s})),n.d(e,\"j\",(function(){return c})),n.d(e,\"q\",(function(){return h})),n.d(e,\"e\",(function(){return d})),n.d(e,\"a\",(function(){return p})),n.d(e,\"b\",(function(){return f})),n.d(e,\"i\",(function(){return g})),n.d(e,\"h\",(function(){return y})),n.d(e,\"l\",(function(){return v})),n.d(e,\"n\",(function(){return b})),n.d(e,\"m\",(function(){return x})),n.d(e,\"o\",(function(){return O})),n.d(e,\"k\",(function(){return w})),n.d(e,\"d\",(function(){return j})),n.d(e,\"f\",(function(){return S})),n.d(e,\"g\",(function(){return _})),n.d(e,\"c\",(function(){return C}));var i=n(\"6d8b\"),r=n(\"41ef\"),o=n(\"22d1\"),a=Math.round;function s(t){var e;if(t&&\"transparent\"!==t){if(\"string\"===typeof t&&t.indexOf(\"rgba\")>-1){var n=Object(r[\"g\"])(t);n&&(t=\"rgb(\"+n[0]+\",\"+n[1]+\",\"+n[2]+\")\",e=n[3])}}else t=\"none\";return{color:t,opacity:null==e?1:e}}var l=1e-4;function c(t){return t-l}function u(t){return a(1e3*t)/1e3}function h(t){return a(1e4*t)/1e4}function d(t){return\"matrix(\"+u(t[0])+\",\"+u(t[1])+\",\"+u(t[2])+\",\"+u(t[3])+\",\"+h(t[4])+\",\"+h(t[5])+\")\"}var p={left:\"start\",right:\"end\",center:\"middle\",middle:\"middle\"};function f(t,e,n){return\"top\"===n?t+=e/2:\"bottom\"===n&&(t-=e/2),t}function g(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function y(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(\",\")}function v(t){return t&&!!t.image}function m(t){return t&&!!t.svgElement}function b(t){return v(t)||m(t)}function x(t){return\"linear\"===t.type}function O(t){return\"radial\"===t.type}function w(t){return t&&(\"linear\"===t.type||\"radial\"===t.type)}function j(t){return\"url(#\"+t+\")\"}function S(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function _(t){var e=t.x||0,n=t.y||0,r=(t.rotation||0)*i[\"a\"],o=Object(i[\"P\"])(t.scaleX,1),s=Object(i[\"P\"])(t.scaleY,1),l=t.skewX||0,c=t.skewY||0,u=[];return(e||n)&&u.push(\"translate(\"+e+\"px,\"+n+\"px)\"),r&&u.push(\"rotate(\"+r+\")\"),1===o&&1===s||u.push(\"scale(\"+o+\",\"+s+\")\"),(l||c)&&u.push(\"skew(\"+a(l*i[\"a\"])+\"deg, \"+a(c*i[\"a\"])+\"deg)\"),u.join(\" \")}var C=function(){return o[\"a\"].hasGlobalWindow&&Object(i[\"w\"])(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:\"undefined\"!==typeof t?function(e){return t.from(e).toString(\"base64\")}:function(t){return null}}()}).call(this,n(\"1c35\").Buffer)},\"7b42\":function(t,e,n){\"use strict\";var i;n.d(e,\"d\",(function(){return r})),n.d(e,\"c\",(function(){return o})),n.d(e,\"b\",(function(){return a})),n.d(e,\"e\",(function(){return s})),n.d(e,\"f\",(function(){return l})),n.d(e,\"g\",(function(){return c})),n.d(e,\"a\",(function(){return u}));var r=\"$$percentage$$\",o=\"$$mappingValue$$\",a=\"$$conversion$$\",s=\"$$totalPercentage$$\",l=\"$$x$$\",c=\"$$y$$\",u={appendPadding:[0,80],minSize:0,maxSize:1,meta:(i={},i[o]={min:0,max:1,nice:!1},i),label:{style:{fill:\"#fff\",fontSize:12}},tooltip:{showTitle:!1,showMarkers:!1,shared:!1},conversionTag:{offsetX:10,offsetY:0,style:{fontSize:12,fill:\"rgba(0,0,0,0.45)\"}}}},\"7b46\":function(t,e,n){\"use strict\";(function(t){n.d(e,\"a\",(function(){return f}));var i=function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;rd&&(i=[d,h],h=i[0],d=i[1],o=[n,e],e=o[0],n=o[1],p=!0);var f=e.getBBox(),g=n.getBBox(),y=f.width>h-c?{x:h+u/2+c,textAlign:\"left\"}:{x:h-u/2-c,textAlign:\"right\"},v=g.width>l-d-c?{x:d-u/2-c,textAlign:\"right\"}:{x:d+u/2+c,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\"])},\"7c8a\":function(t,e,n){\"use strict\";function i(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 r,o,a,s;function l(){r=document.createElement(\"table\"),o=document.createElement(\"tr\"),a=/^\\s*<(\\w+|!)[^>]*>/,s={tr:document.createElement(\"tbody\"),tbody:r,thead:r,tfoot:r,td:o,th:o,\"*\":document.createElement(\"div\")}}function c(t){r||l();var e=a.test(t)&&RegExp.$1;e&&e in s||(e=\"*\");var n=s[e];t=\"string\"===typeof t?t.replace(/(^\\s*)|(\\s*$)/g,\"\"):t,n.innerHTML=\"\"+t;var i=n.childNodes[0];return i&&n.contains(i)&&n.removeChild(i),i}function u(t,e,n){var i;try{i=window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.style[e]}catch(r){}finally{i=void 0===i?n:i}return i}function h(t,e){var n=u(t,\"height\",e);return\"auto\"===n&&(n=t.offsetHeight),parseFloat(n)}function d(t,e){var n=h(t,e),i=parseFloat(u(t,\"borderTopWidth\"))||0,r=parseFloat(u(t,\"paddingTop\"))||0,o=parseFloat(u(t,\"paddingBottom\"))||0,a=parseFloat(u(t,\"borderBottomWidth\"))||0,s=parseFloat(u(t,\"marginTop\"))||0,l=parseFloat(u(t,\"marginBottom\"))||0;return n+i+a+r+o+s+l}function p(t,e){var n=u(t,\"width\",e);return\"auto\"===n&&(n=t.offsetWidth),parseFloat(n)}function f(t,e){var n=p(t,e),i=parseFloat(u(t,\"borderLeftWidth\"))||0,r=parseFloat(u(t,\"paddingLeft\"))||0,o=parseFloat(u(t,\"paddingRight\"))||0,a=parseFloat(u(t,\"borderRightWidth\"))||0,s=parseFloat(u(t,\"marginRight\"))||0,l=parseFloat(u(t,\"marginLeft\"))||0;return n+i+a+r+o+l+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 i})),n.d(e,\"b\",(function(){return c})),n.d(e,\"c\",(function(){return d})),n.d(e,\"d\",(function(){return f})),n.d(e,\"e\",(function(){return g}))},\"7cfd\":function(t,e,n){\"use strict\";n.r(e),n.d(e,\"Line\",(function(){return z})),n.d(e,\"Circle\",(function(){return G})),n.d(e,\"Base\",(function(){return g}));var i={};n.r(i),n.d(i,\"getDefault\",(function(){return m})),n.d(i,\"ellipsisHead\",(function(){return b})),n.d(i,\"ellipsisTail\",(function(){return x})),n.d(i,\"ellipsisMiddle\",(function(){return O}));var r={};n.r(r),n.d(r,\"getDefault\",(function(){return A})),n.d(r,\"reserveFirst\",(function(){return k})),n.d(r,\"reserveLast\",(function(){return I})),n.d(r,\"reserveBoth\",(function(){return T})),n.d(r,\"equidistance\",(function(){return D})),n.d(r,\"equidistanceWithReverseBoth\",(function(){return P}));var o={};n.r(o),n.d(o,\"getDefault\",(function(){return E})),n.d(o,\"fixedAngle\",(function(){return B})),n.d(o,\"unfixedAngle\",(function(){return F}));var a={};n.r(a),n.d(a,\"autoHide\",(function(){return r})),n.d(a,\"autoRotate\",(function(){return o})),n.d(a,\"autoEllipsis\",(function(){return i}));var s=n(\"9ab48\"),l=n(\"e897\"),c=n(\"8937\"),u=n(\"31e6\"),h=n(\"8ea8\"),d=n(\"9778\"),p=n(\"2f5e\"),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(s[\"a\"])(Object(s[\"a\"])({},e),{name:\"axis\",ticks:[],line:{},tickLine:{},subTickLine:null,title:null,label:{},verticalFactor:1,verticalLimitLength:null,overlapOrder:[\"autoRotate\",\"autoEllipsis\",\"autoHide\"],tickStates:{},optimize:{},defaultCfg:{line:{style:{lineWidth:1,stroke:p[\"a\"].lineColor}},tickLine:{style:{lineWidth:1,stroke:p[\"a\"].lineColor},alignTick:!0,length:5,displayWithLabel:!0},subTickLine:{style:{lineWidth:1,stroke:p[\"a\"].lineColor},count:4,length:2},label:{autoRotate:!0,autoHide:!1,autoEllipsis:!1,style:{fontSize:12,fill:p[\"a\"].textColor,fontFamily:p[\"a\"].fontFamily,fontWeight:\"normal\"},offset:10,offsetX:0,offsetY:0},title:{autoRotate:!0,spacing:5,position:\"center\",style:{fontSize:12,fill:p[\"a\"].textColor,textBaseline:\"middle\",fontFamily:p[\"a\"].fontFamily,textAlign:\"center\"},iconStyle:{fill:p[\"a\"].descriptionIconFill,stroke:p[\"a\"].descriptionIconStroke},description:\"\"},tickStates:{active:{labelStyle:{fontWeight:500},tickLineStyle:{lineWidth:2}},inactive:{labelStyle:{fill:p[\"a\"].uncheckedColor}}},optimize:{enable:!0,threshold:400}},theme:{}})},e.prototype.renderInner=function(t){this.get(\"line\")&&this.drawLine(t),this.drawTicks(t),this.get(\"title\")&&this.drawTitle(t)},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get(\"ticks\")},e.prototype.setItems=function(t){this.update({ticks:t})},e.prototype.updateItem=function(t,e){Object(c[\"db\"])(t,e),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId(\"label-group\");t&&t.clear()},e.prototype.setItemState=function(t,e,n){t[e]=n,this.updateTickStates(t)},e.prototype.hasState=function(t,e){return!!t[e]},e.prototype.getItemStates=function(t){var e=this.get(\"tickStates\"),n=[];return Object(c[\"j\"])(e,(function(e,i){t[i]&&n.push(i)})),n},e.prototype.clearItemsState=function(t){var e=this,n=this.getItemsByState(t);Object(c[\"j\"])(n,(function(n){e.setItemState(n,t,!1)}))},e.prototype.getItemsByState=function(t){var e=this,n=this.getItems();return Object(c[\"l\"])(n,(function(n){return e.hasState(n,t)}))},e.prototype.getSidePoint=function(t,e){var n=this,i=n.getSideVector(e,t);return{x:t.x+i[0],y:t.y+i[1]}},e.prototype.getTextAnchor=function(t){var e;return Object(c[\"N\"])(t[0],0)?e=\"center\":t[0]>0?e=\"start\":t[0]<0&&(e=\"end\"),e},e.prototype.getTextBaseline=function(t){var e;return Object(c[\"N\"])(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(c[\"db\"])({path:e},n.style)})},e.prototype.getTickLineItems=function(t){var e=this,n=[],i=this.get(\"tickLine\"),r=i.alignTick,o=i.length,a=1,s=t.length;return s>=2&&(a=t[1].value-t[0].value),Object(c[\"j\"])(t,(function(t){var i=t.point;r||(i=e.getTickPoint(t.value-a/2));var s=e.getSidePoint(i,o);n.push({startPoint:i,tickValue:t.value,endPoint:s,tickId:t.id,id:\"tickline-\"+t.id})})),n},e.prototype.getSubTickLineItems=function(t){var e=[],n=this.get(\"subTickLine\"),i=n.count,r=t.length;if(r>=2)for(var o=0;o0){var n=Object(c[\"mb\"])(e);if(n>t.threshold){var i=Math.ceil(n/t.threshold),r=e.filter((function(t,e){return e%i===0}));this.set(\"ticks\",r),this.set(\"originalTicks\",e)}}},e.prototype.getLabelAttrs=function(t,e,n){var i=this.get(\"label\"),r=i.offset,o=i.offsetX,a=i.offsetY,s=i.rotate,l=i.formatter,u=this.getSidePoint(t.point,r),d=this.getSideVector(r,u),p=l?l(t.name,t,e):t.name,f=i.style;f=Object(c[\"I\"])(f)?Object(c[\"s\"])(this.get(\"theme\"),[\"label\",\"style\"],{}):f;var g=Object(c[\"db\"])({x:u.x+o,y:u.y+a,text:p,textAlign:this.getTextAnchor(d),textBaseline:this.getTextBaseline(d)},f);return s&&(g.matrix=Object(h[\"e\"])(u,s)),g},e.prototype.drawLabels=function(t){var e=this,n=this.get(\"ticks\"),i=this.addGroup(t,{name:\"axis-label-group\",id:this.getElementId(\"label-group\")});Object(c[\"j\"])(n,(function(t,r){e.addShape(i,{type:\"text\",name:\"axis-label\",id:e.getElementId(\"label-\"+t.id),attrs:e.getLabelAttrs(t,r,n),delegateObject:{tick:t,item:t,index:r}})})),this.processOverlap(i);var r=i.getChildren(),o=Object(c[\"s\"])(this.get(\"theme\"),[\"label\",\"style\"],{}),a=this.get(\"label\"),s=a.style,l=a.formatter;if(Object(c[\"I\"])(s)){var u=r.map((function(t){return Object(c[\"s\"])(t.get(\"delegateObject\"),\"tick\")}));Object(c[\"j\"])(r,(function(t,e){var n=t.get(\"delegateObject\").tick,i=l?l(n.name,n,e):n.name,r=Object(c[\"db\"])({},o,s(i,e,u));t.attr(r)}))}},e.prototype.getTitleAttrs=function(){var t=this.get(\"title\"),e=t.style,n=t.position,i=t.offset,r=t.spacing,o=void 0===r?0:r,a=t.autoRotate,s=e.fontSize,u=.5;\"start\"===n?u=0:\"end\"===n&&(u=1);var d=this.getTickPoint(u),p=this.getSidePoint(d,i||o+s/2),f=Object(c[\"db\"])({x:p.x,y:p.y,text:t.text},e),g=t.rotate,y=g;if(Object(c[\"K\"])(g)&&a){var v=this.getAxisVector(d),m=[1,0];y=l[\"a\"].angleTo(v,m,!0)}if(y){var b=Object(h[\"e\"])(p,y);f.matrix=b}return f},e.prototype.drawTitle=function(t){var e,n=this.getTitleAttrs(),i=this.addShape(t,{type:\"text\",id:this.getElementId(\"title\"),name:\"axis-title\",attrs:n});(null===(e=this.get(\"title\"))||void 0===e?void 0:e.description)&&this.drawDescriptionIcon(t,i,n.matrix)},e.prototype.drawDescriptionIcon=function(t,e,n){var i=this.addGroup(t,{name:\"axis-description\",id:this.getElementById(\"description\")}),r=e.getBBox(),o=r.maxX,a=r.maxY,l=r.height,c=this.get(\"title\").iconStyle,u=4,h=l/2,d=h/6,p=o+u,f=a-l/2,g=[p+h,f-h],y=g[0],v=g[1],m=[y+h,v+h],b=m[0],x=m[1],O=[y,x+h],w=O[0],j=O[1],S=[p,v+h],_=S[0],C=S[1],M=[p+h,f-l/4],A=M[0],k=M[1],I=[A,k+d],T=I[0],D=I[1],P=[T,D+d],L=P[0],R=P[1],E=[L,R+3*h/4],B=E[0],F=E[1];this.addShape(i,{type:\"path\",id:this.getElementId(\"title-description-icon\"),name:\"axis-title-description-icon\",attrs:Object(s[\"a\"])({path:[[\"M\",y,v],[\"A\",h,h,0,0,1,b,x],[\"A\",h,h,0,0,1,w,j],[\"A\",h,h,0,0,1,_,C],[\"A\",h,h,0,0,1,y,v],[\"M\",A,k],[\"L\",T,D],[\"M\",L,R],[\"L\",B,F]],lineWidth:d,matrix:n},c)}),this.addShape(i,{type:\"rect\",id:this.getElementId(\"title-description-rect\"),name:\"axis-title-description-rect\",attrs:{x:p,y:f-l/2,width:l,height:l,stroke:\"#000\",fill:\"#000\",opacity:0,matrix:n,cursor:\"pointer\"}})},e.prototype.applyTickStates=function(t,e){var n=this.getItemStates(t);if(n.length){var i=this.get(\"tickStates\"),r=this.getElementId(\"label-\"+t.id),o=e.findById(r);if(o){var a=Object(d[\"a\"])(t,\"label\",i);a&&o.attr(a)}var s=this.getElementId(\"tickline-\"+t.id),l=e.findById(s);if(l){var c=Object(d[\"a\"])(t,\"tickLine\",i);c&&l.attr(c)}}},e.prototype.updateTickStates=function(t){var e=this.getItemStates(t),n=this.get(\"tickStates\"),i=this.get(\"label\"),r=this.getElementByLocalId(\"label-\"+t.id),o=this.get(\"tickLine\"),a=this.getElementByLocalId(\"tickline-\"+t.id);if(e.length){if(r){var s=Object(d[\"a\"])(t,\"label\",n);s&&r.attr(s)}if(a){var l=Object(d[\"a\"])(t,\"tickLine\",n);l&&a.attr(l)}}else r&&r.attr(i.style),a&&a.attr(o.style)},e}(u[\"a\"]),g=f,y=n(\"060b\");function v(t,e,n,i){var r=e.getChildren(),o=!1;return Object(c[\"j\"])(r,(function(e){var r=Object(y[\"a\"])(t,e,n,i);o=o||r})),o}function m(){return x}function b(t,e,n){return v(t,e,n,\"head\")}function x(t,e,n){return v(t,e,n,\"tail\")}function O(t,e,n){return v(t,e,n,\"middle\")}var w=n(\"e546\");function j(t){var e=t.attr(\"matrix\");return e&&1!==e[0]}function S(t){var e=j(t)?Object(h[\"d\"])(t.attr(\"matrix\")):0;return e%360}function _(t,e,n,i){var r=!1,o=S(e),a=t?Math.abs(n.attr(\"y\")-e.attr(\"y\")):Math.abs(n.attr(\"x\")-e.attr(\"x\")),s=(t?n.attr(\"y\")>e.attr(\"y\"):n.attr(\"x\")>e.attr(\"x\"))?e.getBBox():n.getBBox();if(t){var l=Math.abs(Math.cos(o));r=Object(w[\"i\"])(l,0,Math.PI/180)?s.width+i>a:s.height/l+i>a}else{l=Math.abs(Math.sin(o));r=Object(w[\"i\"])(l,0,Math.PI/180)?s.width+i>a:s.height/l+i>a}return r}function C(t,e,n,i){var r=(null===i||void 0===i?void 0:i.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,l=o[0],c=l,u=1;u1){d=Math.ceil(d);for(var g=0;g2){var a=r[0],s=r[r.length-1];a.get(\"visible\")||(a.show(),C(t,e,!1,i)&&(o=!0)),s.get(\"visible\")||(s.show(),C(t,e,!0,i)&&(o=!0))}return o}function L(t,e){Object(c[\"j\"])(t,(function(t){var n=t.attr(\"x\"),i=t.attr(\"y\"),r=Object(h[\"e\"])({x:n,y:i},e);t.attr(\"matrix\",r)}))}function R(t,e,n,i){var r=e.getChildren();if(!r.length)return!1;if(!t&&r.length<2)return!1;var o=Object(y[\"b\"])(r),a=!1;if(t)a=!!n&&o>n;else{var s=Math.abs(r[1].attr(\"x\")-r[0].attr(\"x\"));a=o>s}if(a){var l=i(n,o);L(r,l)}return a}function E(){return B}function B(t,e,n,i){return R(t,e,n,(function(){return Object(c[\"M\"])(i)?i:t?p[\"a\"].verticalAxisRotate:p[\"a\"].horizontalAxisRotate}))}function F(t,e,n){return R(t,e,n,(function(e,n){if(!e)return t?p[\"a\"].verticalAxisRotate:p[\"a\"].horizontalAxisRotate;if(t)return-Math.acos(e/n);var i=0;return e>n?i=Math.PI/4:(i=Math.asin(e/n),i>Math.PI/4&&(i=Math.PI/4)),i}))}var N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s[\"c\"])(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\"),i=t.prototype.getInnerLayoutBBox.call(this),r=Math.min(e.x,n.x,i.x),o=Math.min(e.y,n.y,i.y),a=Math.max(e.x,n.x,i.maxX),s=Math.max(e.y,n.y,i.maxY);return{x:r,y:o,minX:r,minY:o,maxX:a,maxY:s,width:a-r,height:s-o}},e.prototype.isVertical=function(){var t=this.get(\"start\"),e=this.get(\"end\");return Object(c[\"N\"])(t.x,e.x)},e.prototype.isHorizontal=function(){var t=this.get(\"start\"),e=this.get(\"end\");return Object(c[\"N\"])(t.y,e.y)},e.prototype.getTickPoint=function(t){var e=this,n=e.get(\"start\"),i=e.get(\"end\"),r=i.x-n.x,o=i.y-n.y;return{x:n.x+r*t,y:n.y+o*t}},e.prototype.getSideVector=function(t){var e=this.getAxisVector(),n=l[\"c\"].normalize([0,0],e),i=this.get(\"verticalFactor\"),r=[n[1],-1*n[0]];return l[\"c\"].scale([0,0],r,t*i)},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(),i=this.isHorizontal();if(n||i){var r=this.get(\"label\"),o=this.get(\"title\"),a=this.get(\"verticalLimitLength\"),s=r.offset,l=a,u=0,h=0;o&&(u=o.style.fontSize,h=o.spacing),l&&(l=l-s-h-u);var d=this.get(\"overlapOrder\");if(Object(c[\"j\"])(d,(function(n){r[n]&&e.canProcessOverlap(n)&&e.autoProcessOverlap(n,r[n],t,l)})),o&&Object(c[\"K\"])(o.offset)){var p=t.getCanvasBBox(),f=n?p.width:p.height;o.offset=s+f+h+u/2}}},e.prototype.canProcessOverlap=function(t){var e=this.get(\"label\");return\"autoRotate\"!==t||Object(c[\"K\"])(e.rotate)},e.prototype.autoProcessOverlap=function(t,e,n,i){var r=this,o=this.isVertical(),s=!1,l=a[t];if(!0===e){this.get(\"label\");s=l.getDefault()(o,n,i)}else if(Object(c[\"I\"])(e))s=e(o,n,i);else if(Object(c[\"O\"])(e)){var u=e;l[u.type]&&(s=l[u.type](o,n,i,u.cfg))}else l[e]&&(s=l[e](o,n,i));if(\"autoRotate\"===t){if(s){var h=n.getChildren(),d=this.get(\"verticalFactor\");Object(c[\"j\"])(h,(function(t){var e=t.attr(\"textAlign\");if(\"center\"===e){var n=d>0?\"end\":\"start\";t.attr(\"textAlign\",n)}}))}}else if(\"autoHide\"===t){var p=n.getChildren().slice(0);Object(c[\"j\"])(p,(function(t){t.get(\"visible\")||(r.get(\"isRegister\")&&r.unregisterElement(t),t.remove())}))}},e}(g),z=N,V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s[\"c\"])(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,i=this.get(\"radius\"),r=i,o=this.get(\"startAngle\"),a=this.get(\"endAngle\"),s=[];if(Math.abs(a-o)===2*Math.PI)s=[[\"M\",e,n-r],[\"A\",i,r,0,1,1,e,n+r],[\"A\",i,r,0,1,1,e,n-r],[\"Z\"]];else{var l=this.getCirclePoint(o),c=this.getCirclePoint(a),u=Math.abs(a-o)>Math.PI?1:0,h=o>a?0:1;s=[[\"M\",e,n],[\"L\",l.x,l.y],[\"A\",i,r,0,u,h,c.x,c.y],[\"L\",e,n]]}return s},e.prototype.getTickPoint=function(t){var e=this.get(\"startAngle\"),n=this.get(\"endAngle\"),i=e+(n-e)*t;return this.getCirclePoint(i)},e.prototype.getSideVector=function(t,e){var n=this.get(\"center\"),i=[e.x-n.x,e.y-n.y],r=this.get(\"verticalFactor\"),o=l[\"c\"].length(i);return l[\"c\"].scale(i,i,r*t/o),i},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.prototype.canProcessOverlap=function(t){var e=this.get(\"label\");return\"autoRotate\"!==t||Object(c[\"K\"])(e.rotate)},e.prototype.processOverlap=function(t){var e=this,n=this.get(\"label\"),i=this.get(\"title\"),r=this.get(\"verticalLimitLength\"),o=n.offset,a=r,s=0,l=0;i&&(s=i.style.fontSize,l=i.spacing),a&&(a=a-o-l-s);var u=this.get(\"overlapOrder\");if(Object(c[\"j\"])(u,(function(i){n[i]&&e.canProcessOverlap(i)&&e.autoProcessOverlap(i,n[i],t,a)})),i&&Object(c[\"K\"])(i.offset)){var h=t.getCanvasBBox().height;i.offset=o+h+l+s/2}},e.prototype.autoProcessOverlap=function(t,e,n,i){var r=this,o=!1,s=a[t];if(i>0)if(!0===e)o=s.getDefault()(!1,n,i);else if(Object(c[\"I\"])(e))o=e(!1,n,i);else if(Object(c[\"O\"])(e)){var l=e;s[l.type]&&(o=s[l.type](!1,n,i,l.cfg))}else s[e]&&(o=s[e](!1,n,i));if(\"autoRotate\"===t){if(o){var u=n.getChildren(),h=this.get(\"verticalFactor\");Object(c[\"j\"])(u,(function(t){var e=t.attr(\"textAlign\");if(\"center\"===e){var n=h>0?\"end\":\"start\";t.attr(\"textAlign\",n)}}))}}else if(\"autoHide\"===t){var d=n.getChildren().slice(0);Object(c[\"j\"])(d,(function(t){t.get(\"visible\")||(r.get(\"isRegister\")&&r.unregisterElement(t),t.remove())}))}},e}(g),G=V},\"7eff\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return a}));var i=n(\"8937\");function r(t,e,n){if(1===n)return[0,e];var i=Math.floor(t/e);return[e*i,e*(i+1)]}function o(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function a(t,e,n,a,s){var l=Object(i[\"e\"])(t);Object(i[\"ob\"])(l,e);var c=Object(i[\"yb\"])(l,e),u=Object(i[\"u\"])(c),h=u.max-u.min,d=n;if(!n&&a&&(d=a>1?h/(a-1):u.max),!n&&!a){var p=o(c);d=h/p}var f={},g=Object(i[\"w\"])(l,s);Object(i[\"G\"])(g)?Object(i[\"j\"])(l,(function(t){var n=t[e],o=r(n,d,a),s=o[0]+\"-\"+o[1];Object(i[\"y\"])(f,s)||(f[s]={range:o,count:0}),f[s].count+=1})):Object.keys(g).forEach((function(t){Object(i[\"j\"])(g[t],(function(n){var o=n[e],l=r(o,d,a),c=l[0]+\"-\"+l[1],u=c+\"-\"+t;Object(i[\"y\"])(f,u)||(f[u]={range:l,count:0},f[u][s]=t),f[u].count+=1}))}));var y=[];return Object(i[\"j\"])(f,(function(t){y.push(t)})),y}},\"7fa2\":function(t,e,n){\"use strict\";var i=\"*\",r=function(){function t(){this._events={}}return t.prototype.on=function(t,e,n){return this._events[t]||(this._events[t]=[]),this._events[t].push({callback:e,once:!!n}),this},t.prototype.once=function(t,e){return this.on(t,e,!0)},t.prototype.emit=function(t){for(var e=this,n=[],r=1;r0?n:e:e<0?e:n;case\"outer\":return n=12,Object(i[\"Q\"])(e)&&e.endsWith(\"%\")?.01*parseFloat(e)<0?n:e:e>0?e:n;default:return e}}function s(t,e){return Object(i[\"k\"])(Object(r[\"u\"])(t,e),(function(t){return 0===t[e]}))}},\"88f9\":function(t,e,n){t.exports=n.p+\"img/title-line.bcb80aa8.png\"},8937:function(t,e,n){\"use strict\";n.d(e,\"f\",(function(){return a})),n.d(e,\"A\",(function(){return a})),n.d(e,\"i\",(function(){return u})),n.d(e,\"m\",(function(){return I})),n.d(e,\"n\",(function(){return D})),n.d(e,\"o\",(function(){return L})),n.d(e,\"q\",(function(){return E})),n.d(e,\"u\",(function(){return z})),n.d(e,\"ib\",(function(){return Y})),n.d(e,\"jb\",(function(){return U})),n.d(e,\"ob\",(function(){return Q})),n.d(e,\"ub\",(function(){return J})),n.d(e,\"yb\",(function(){return $})),n.d(e,\"z\",(function(){return tt})),n.d(e,\"U\",(function(){return et})),n.d(e,\"l\",(function(){return l})),n.d(e,\"k\",(function(){return it})),n.d(e,\"nb\",(function(){return ot})),n.d(e,\"v\",(function(){return ut})),n.d(e,\"w\",(function(){return lt})),n.d(e,\"x\",(function(){return ct})),n.d(e,\"c\",(function(){return dt})),n.d(e,\"p\",(function(){return ft})),n.d(e,\"N\",(function(){return mt})),n.d(e,\"Y\",(function(){return B})),n.d(e,\"Z\",(function(){return bt})),n.d(e,\"bb\",(function(){return F})),n.d(e,\"cb\",(function(){return xt})),n.d(e,\"eb\",(function(){return wt})),n.d(e,\"sb\",(function(){return _t})),n.d(e,\"r\",(function(){return Ct})),n.d(e,\"y\",(function(){return At})),n.d(e,\"T\",(function(){return w})),n.d(e,\"J\",(function(){return S})),n.d(e,\"xb\",(function(){return It})),n.d(e,\"V\",(function(){return Pt})),n.d(e,\"pb\",(function(){return Rt})),n.d(e,\"wb\",(function(){return Bt})),n.d(e,\"C\",(function(){return v})),n.d(e,\"D\",(function(){return Gt})),n.d(e,\"E\",(function(){return Wt})),n.d(e,\"I\",(function(){return f})),n.d(e,\"K\",(function(){return y})),n.d(e,\"L\",(function(){return Yt})),n.d(e,\"M\",(function(){return yt})),n.d(e,\"O\",(function(){return m})),n.d(e,\"P\",(function(){return A})),n.d(e,\"Q\",(function(){return Z})),n.d(e,\"R\",(function(){return p})),n.d(e,\"S\",(function(){return Qt})),n.d(e,\"F\",(function(){return $t})),n.d(e,\"kb\",(function(){return te})),n.d(e,\"d\",(function(){return ee})),n.d(e,\"e\",(function(){return oe})),n.d(e,\"g\",(function(){return se})),n.d(e,\"ab\",(function(){return le})),n.d(e,\"h\",(function(){return de})),n.d(e,\"j\",(function(){return x})),n.d(e,\"B\",(function(){return fe})),n.d(e,\"G\",(function(){return ve})),n.d(e,\"H\",(function(){return be})),n.d(e,\"W\",(function(){return Oe})),n.d(e,\"X\",(function(){return je})),n.d(e,\"db\",(function(){return ie})),n.d(e,\"b\",(function(){return ie})),n.d(e,\"s\",(function(){return Se})),n.d(e,\"lb\",(function(){return _e})),n.d(e,\"hb\",(function(){return Me})),n.d(e,\"gb\",(function(){return Ae})),n.d(e,\"qb\",(function(){return ke})),n.d(e,\"rb\",(function(){return Ie})),n.d(e,\"tb\",(function(){return Tt})),n.d(e,\"vb\",(function(){return De})),n.d(e,\"fb\",(function(){return Pe})),n.d(e,\"mb\",(function(){return Le})),n.d(e,\"t\",(function(){return Fe})),n.d(e,\"a\",(function(){return ze}));var i=function(t){return null!==t&&\"function\"!==typeof t&&isFinite(t.length)},r=i,o=function(t,e){return!!r(t)&&t.indexOf(e)>-1},a=o,s=function(t,e){if(!r(t))return t;for(var n=[],i=0;ie[r])return 1;if(t[r]n?n:t},dt=ht,pt=function(t,e){var n=e.toString(),i=n.indexOf(\".\");if(-1===i)return Math.round(t);var r=n.substr(i+1).length;return r>20&&(r=20),parseFloat(t.toFixed(r))},ft=pt,gt=function(t){return p(t,\"Number\")},yt=gt,vt=(Number.isInteger&&Number.isInteger,1e-5);function mt(t,e,n){return void 0===n&&(n=vt),Math.abs(t-e)i&&(n=o,i=a)}return n}},xt=function(t,e){if(v(t)){for(var n,i=1/0,r=0;re?(i&&(clearTimeout(i),i=null),s=c,a=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(l,u)),a};return c.cancel=function(){clearTimeout(i),s=0,i=r=o=null},c},Ie=function(t){return r(t)?Array.prototype.slice.call(t):[]},Te={},De=function(t){return t=t||\"g\",Te[t]?Te[t]+=1:Te[t]=1,t+Te[t]},Pe=function(){};function Le(t){return y(t)?0:r(t)?t.length:Object.keys(t).length}var Re,Ee=n(\"9ab48\"),Be=le((function(t,e){void 0===e&&(e={});var n=e.fontSize,i=e.fontFamily,r=e.fontWeight,o=e.fontStyle,a=e.fontVariant;return Re||(Re=document.createElement(\"canvas\").getContext(\"2d\")),Re.font=[o,a,r,n+\"px\",i].join(\" \"),Re.measureText(Z(t)?t:\"\").width}),(function(t,e){return void 0===e&&(e={}),Object(Ee[\"h\"])([t],It(e)).join(\"\")})),Fe=function(t,e,n,i){void 0===i&&(i=\"...\");var r,o,a=16,s=Be(i,n),l=Z(t)?t:Tt(t),c=e,u=[];if(Be(t,n)<=e)return t;while(1){if(r=l.substr(0,a),o=Be(r,n),o+s>c&&o>c)break;if(u.push(r),c-=o,l=l.substr(a),!l)return u.join(\"\")}while(1){if(r=l.substr(0,1),o=Be(r,n),o+s>c)break;if(u.push(r),c-=o,l=l.substr(1),!l)return u.join(\"\")}return\"\"+u.join(\"\")+i},Ne=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}(),ze=Ne},8944:function(t,e){},\"8ea8\":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 c})),n.d(e,\"b\",(function(){return u})),n.d(e,\"c\",(function(){return h}));var i=n(\"e897\"),r=[1,0,0,0,1,0,0,0,1];function o(t,e,n){if(void 0===n&&(n=r),!e)return null;var o=i[\"a\"].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?i[\"a\"].transform(e||r,[[\"t\",t.x,t.y]]):null}function s(t){var e=[1,0,0],n=[0,0,0];return i[\"d\"].transformMat3(n,e,t),Math.atan2(n[1],n[0])}function l(t,e){var n=[0,0];return i[\"c\"].transformMat3(n,e,t),n}function c(t,e){var n=l(t,[e.minX,e.minY]),i=l(t,[e.maxX,e.minY]),r=l(t,[e.minX,e.maxY]),o=l(t,[e.maxX,e.maxY]),a=Math.min(n[0],i[0],r[0],o[0]),s=Math.max(n[0],i[0],r[0],o[0]),c=Math.min(n[1],i[1],r[1],o[1]),u=Math.max(n[1],i[1],r[1],o[1]);return{x:a,y:c,minX:a,minY:c,maxX:s,maxY:u,width:s-a,height:u-c}}function u(t,e,n,i){if(e){var r=o({x:n,y:i},e,t.getMatrix());t.setMatrix(r)}}function h(t,e,n){var i=a({x:e,y:n});t.attr(\"matrix\",i)}},\"8f50\":function(t,e,n){\"use strict\";function i(t){var e,n,i=t.length;while(i)n=Math.random()*i--|0,e=t[i],t[i]=t[n],t[n]=e;return t}n.d(e,\"b\",(function(){return i})),e[\"a\"]=function(t){return\"object\"===typeof t&&\"length\"in t?t:Array.from(t)}},\"8f9b\":function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.createSensor=void 0;var i=r(n(\"3688\"));function r(t){return t&&t.__esModule?t:{default:t}}var o=function(t){var e=void 0,n=[],r=(0,i[\"default\"])((function(){n.forEach((function(e){e(t)}))})),o=function(){var e=new ResizeObserver(r);return e.observe(t),r(),e},a=function(t){e||(e=o()),-1===n.indexOf(t)&&n.push(t)},s=function(){e.disconnect(),n=[],e=void 0},l=function(t){var i=n.indexOf(t);-1!==i&&n.splice(i,1),0===n.length&&e&&s()};return{element:t,bind:a,destroy:s,unbind:l}};e.createSensor=o},\"90df\":function(t,e){t.exports=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAAAUCAYAAADSi7icAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA0dpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDExODUyRUFCQ0IxMTFFRDg2RjZCRTk4NTk2OTAxNEYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDExODUyRTlCQ0IxMTFFRDg2RjZCRTk4NTk2OTAxNEYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDowYzRiZWI0Zi0xZmIyLTk5NDYtYWQyYS00NGRkYjM1ZmMyZDIiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDowYzRiZWI0Zi0xZmIyLTk5NDYtYWQyYS00NGRkYjM1ZmMyZDIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6Bq1/iAAAJMklEQVR42uyd22/cxhWHzwy5a8mRHTnKXrJW7NRIEKD+D/pc9LEPBfrQf6JNbSl51Vsb3ZwgyNVtkLRF0KAo4j40Keo6NYoiDlA0SI3WgZ1eosS1LivJkm1JFpcz0xmSs5rlcu1lsgt4698nLERyl+QRhQW+c3hmyJRSZClMrnxTEn2HlPlRepH0i0tiSuhlobcJYlxE61KvcxZG2xSFyXLISC9H77MGsWifkEi/x81vL2RMNkLGF2i6dJm6RjFvYvnbSrFv9TMuEkqETP6T5moLXYc2pbh3c+V7+ip+o++x+d4n+rpdo6+MYjS5csiTtKXPG4QzFUUAAAAAAOCehrsr4WzlD1LSLxIBjWEqW+rS25Vk2gdZtCy5an6G62X9TvNzWmn9UIzT0/UnI4HsCm21s9XfcEbvNI/VbVyxp5qtLDMumRxPxxX/LjxGTy0+1r24Mynmym/pnc/mvmZ5Y2vQE/T02vhX/7czRTOVdSF5Qa94+BoAAAAAAAyYuEfMVz6QHv9pVCW+E1bSmy5oZFOpSEK5ZC2fUVaKjZRS/GpQlU6sPtG9vCeJhaK3oop2+vyx4Ko2UTYJhf7NmsLPWGZc8dXQsUXiXMsl7yaxmKuc0RfzTHQd+hlbGB7pjbxrTpVuCUGeP7HC8VUAAAAAABg0cTfMlD+WHntZi+Tu3Z2VOlSXbfVd7kks19ts9dhIKMmH88o7zVc/1A78RtxG0vbXsJa4jAQznh2fjcvswx3RlnrZ09sYlWN5z5FYzFfPSabeTtpk+hdbI6j1Tt6ru0Jx7k8sM3wdAAAAAAAGTdwN06XLksSLWsC3s8U8ux2EpUXebZWxFXeLkVAVjtJk/XHTK969vFf+JiU/rc+268hwq3gqahdRcycguieQtKO0XgnVTChEslzwH6KTi0dyJRazlQv6LD8j09/ez9iULPdM3udLoWmwx9cBAAAAAGAQxd0wV1uQDfWCVsXNro5m+7Xbtpse7tY+9z15N1V4dpA268fou6r7fuv50hXph6/qo24n50i1ojjrblxuO0oci2q2o9i4TELhJXcHlDdKzyw+mlPeL0rOfqJPFvQ1tjAc65m8z9Uke2YV8g4AAAAAMJDibni+sixV8KLWxNVsWXdbQJwqvDtdDYv62lvbPgy2emwqykw9QOMrR3PJ+7O1z6WgV4jxG64It8SV9JG3irNeN+0oVqBtXCYO044iHLE22wJ2gE5cG891V2Cm/KlOLMxdgZ2+xtYIHqQfrh7OlVh0Yrqk2PeXIO8AAAAAAAMp7oZTj67LbdPzzhfbJDTVGtPWKuP2uEtHUmWyvzCiavve5RAdXT6SS95NYlEovqoPuJ75fnqwqEkozLppR4kG0pq7AU5cvMOMMH5xP22uPZJL3uPE4jV90pt9ja2gRuip1WpP5P2FRzA1JAAAAADAwIq74aXyLXlg67Q2yXiOc1spTrXGNKc2ZK6QJq0ybvXY4Dn7RhVlI6tekY4tHtaC7Hcd249Hr8sdflofYWlvtpa7DJptuQoZ24TTomJiE/ozvhiibS3IeeTdJBaiqOWdrfc1toLcT5P1Si/kPSsMAAAAAAAwKOJumPrabXGz8qb2zitf4kzZ1WPTr22lPZJSvR74Rdper+aS9yix2H5DH+yLjrO1xJlFIr2OQMuk6i9T/fncmUfdS/YLwiJt1cu57go8d2hDbtPr+i9b7mtsDZ1Y/GClnCuxgLwDAAAAAPwfirvhNdYQC5W3tdj9o108WTS8sjmPeydcCXVbZVyCwKeN1VIueY8Si5J5GNK/0ncCWuZKb8abqvhb7J2Aljj1fqFtD/J8Oro8lkvedWIhRnZ+zpS62tfY9vkFWlsag7wDAAAAANzv4m74FRNitnyGM/XXZmXYHWhpWmWUUjkjSSrwblVey/v1lbFc8h4lFqVf61AutQ38tHGlt2cNALV3AprC7OwT3jYtPT49/t/RXPIeJRblX+oL9e++xjas5X3z6ijkHQAAAADgfhf3WOlUOFP5vVTsQrwaD7RseXJq86NRK4zqOEOK2yrTdhrOaW3pUC55N4nFfOW3OqKLdlMzLjvlojtXujvlYtYAUCvJvvNeYGZ08T06vHEgl7ybxOLz0juMeVf6GptX8Glj4yDkHQAAAADgvhf3hLnyn6XHzycuv1dxd7FtH5163O0gS4NwLNEfirft09s2rx7MJe8msTBPMiX1l453Alhqbnm3im0HgN4pqTAMb3l07PpILnmP7lg8/C4n+fe+x7a2PgJ5BwAAAACAuMfMlD6SYXi2+aAhWz2OljMGY6Z73F0BNW0ffkZleUgfb+f6A/nkneInmXL2Qcrp47nSbULBUwNk3TizxNgmFJZdvX+pPpxPkHViMVt9X+cyH/U1No9zWqnv75W8R68JPKgJAAAAAGAwxd3wXO0TydXvGFMiWk/3uPMOgy3TIu9i+rXTgry9Opyruh0lFuWPpc/Pk92rUzsKp+768tNxGUZMorI4lFuQ56sfSk4Xmu1F/Ypt8+q+Xsh7xFxJsRPLHF8fAAAAAIBBFHfDbPU/wvPe1fIZNCvu8g7zlpsZUtIDLSP5TPY11eNiIvW3nUTg+OK+3PI+XbosZHiOTGe9jStOGlTmXOleas75rBaeNLe4/sxnxdyCPFu5KBj/094UkH2IzSvwKLZePKTJcKoq2cnVgj+5jOo7AAAAAMDAiXssyNcEifeIyd3mNvcBTLa6bgenirvMPhMkcjqUyOmOlmMjyMc/K+QW5LnaguBMyztrOFeAtQwAlay9JcUIsmnhsQlFVlXbMCIVbfr6vUt+bkGeKX8qVHjeTM/T19imLhV6Ju/zpYZQcsg/WS/gqwQAAAAAMGjiHgvyqvCK7+mlrVbRTPrZozOr1sGX3TIsHdHXgpxX3mfKS6IQnNNJRJCcey+hMLHZuIQTa1Z8xYxtJqF4MFR07euKpkxjTk5Bnj/8hQjZ+0QsvOdi6/y/3hE+G/Yn6mP+BNpnAAAAAAAGS9wNzz60KZg6S4zfiFpA3B53VzZtq4zbLuMOTi12kPqosv0l/4Yfja+JXf+cFuQd50pkD6LtFFeQ+ry5E2CpXYqXpyi/HD9fWRYq+KOW9OCei60T06UbIhBSX8/jWt4P6BfaZwAAAAAAesz/BBgAaaR8zaTm92UAAAAASUVORK5CYII=\"},\"917c\":function(t,e,n){\"use strict\";n.d(e,\"i\",(function(){return l})),n.d(e,\"b\",(function(){return _u})),n.d(e,\"c\",(function(){return Pi})),n.d(e,\"d\",(function(){return ji})),n.d(e,\"g\",(function(){return Bi})),n.d(e,\"e\",(function(){return kr})),n.d(e,\"a\",(function(){return ce})),n.d(e,\"f\",(function(){return ce})),n.d(e,\"m\",(function(){return vi})),n.d(e,\"p\",(function(){return sr})),n.d(e,\"n\",(function(){return tr})),n.d(e,\"o\",(function(){return Bn})),n.d(e,\"l\",(function(){return ge})),n.d(e,\"j\",(function(){return fe})),n.d(e,\"k\",(function(){return Qn})),n.d(e,\"h\",(function(){return to}));var i,r,o,a=n(\"9ab48\"),s=n(\"8937\");(function(t){t[\"FORE\"]=\"fore\",t[\"MID\"]=\"mid\",t[\"BG\"]=\"bg\"})(i||(i={})),function(t){t[\"TOP\"]=\"top\",t[\"TOP_LEFT\"]=\"top-left\",t[\"TOP_RIGHT\"]=\"top-right\",t[\"RIGHT\"]=\"right\",t[\"RIGHT_TOP\"]=\"right-top\",t[\"RIGHT_BOTTOM\"]=\"right-bottom\",t[\"LEFT\"]=\"left\",t[\"LEFT_TOP\"]=\"left-top\",t[\"LEFT_BOTTOM\"]=\"left-bottom\",t[\"BOTTOM\"]=\"bottom\",t[\"BOTTOM_LEFT\"]=\"bottom-left\",t[\"BOTTOM_RIGHT\"]=\"bottom-right\",t[\"RADIUS\"]=\"radius\",t[\"CIRCLE\"]=\"circle\",t[\"NONE\"]=\"none\"}(r||(r={})),function(t){t[\"AXIS\"]=\"axis\",t[\"GRID\"]=\"grid\",t[\"LEGEND\"]=\"legend\",t[\"TOOLTIP\"]=\"tooltip\",t[\"ANNOTATION\"]=\"annotation\",t[\"SLIDER\"]=\"slider\",t[\"SCROLLBAR\"]=\"scrollbar\",t[\"OTHER\"]=\"other\"}(o||(o={}));var l,c,u,h,d={FORE:3,MID:2,BG:1};(function(t){t[\"BEFORE_RENDER\"]=\"beforerender\",t[\"AFTER_RENDER\"]=\"afterrender\",t[\"BEFORE_PAINT\"]=\"beforepaint\",t[\"AFTER_PAINT\"]=\"afterpaint\",t[\"BEFORE_CHANGE_DATA\"]=\"beforechangedata\",t[\"AFTER_CHANGE_DATA\"]=\"afterchangedata\",t[\"BEFORE_CLEAR\"]=\"beforeclear\",t[\"AFTER_CLEAR\"]=\"afterclear\",t[\"BEFORE_DESTROY\"]=\"beforedestroy\",t[\"BEFORE_CHANGE_SIZE\"]=\"beforechangesize\",t[\"AFTER_CHANGE_SIZE\"]=\"afterchangesize\"})(l||(l={})),function(t){t[\"BEFORE_DRAW_ANIMATE\"]=\"beforeanimate\",t[\"AFTER_DRAW_ANIMATE\"]=\"afteranimate\",t[\"BEFORE_RENDER_LABEL\"]=\"beforerenderlabel\",t[\"AFTER_RENDER_LABEL\"]=\"afterrenderlabel\"}(c||(c={})),function(t){t[\"MOUSE_ENTER\"]=\"plot:mouseenter\",t[\"MOUSE_DOWN\"]=\"plot:mousedown\",t[\"MOUSE_MOVE\"]=\"plot:mousemove\",t[\"MOUSE_UP\"]=\"plot:mouseup\",t[\"MOUSE_LEAVE\"]=\"plot:mouseleave\",t[\"TOUCH_START\"]=\"plot:touchstart\",t[\"TOUCH_MOVE\"]=\"plot:touchmove\",t[\"TOUCH_END\"]=\"plot:touchend\",t[\"TOUCH_CANCEL\"]=\"plot:touchcancel\",t[\"CLICK\"]=\"plot:click\",t[\"DBLCLICK\"]=\"plot:dblclick\",t[\"CONTEXTMENU\"]=\"plot:contextmenu\",t[\"LEAVE\"]=\"plot:leave\",t[\"ENTER\"]=\"plot:enter\"}(u||(u={})),function(t){t[\"ACTIVE\"]=\"active\",t[\"INACTIVE\"]=\"inactive\",t[\"SELECTED\"]=\"selected\",t[\"DEFAULT\"]=\"default\"}(h||(h={}));var p=[\"color\",\"shape\",\"size\"],f=\"_origin\",g=1,y=1,v=.25,m={};function b(t){var e=m[t];if(!e)throw new Error(\"G engine '\".concat(t,\"' is not exist, please register it at first.\"));return e}function x(t,e){m[t]=e}var O=n(\"7c8a\");function w(t){var e=getComputedStyle(t);return{width:(t.clientWidth||parseInt(e.width,10))-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10),height:(t.clientHeight||parseInt(e.height,10))-parseInt(e.paddingTop,10)-parseInt(e.paddingBottom,10)}}function j(t){return\"number\"===typeof t&&!isNaN(t)}function S(t,e,n,i){var r=n,o=i;if(e){var a=w(t);r=a.width?a.width:r,o=a.height?a.height:o}return{width:Math.max(j(r)?r:g,g),height:Math.max(j(o)?o:y,y)}}function _(t){var e=t.parentNode;e&&e.removeChild(t)}var C=n(\"7fa2\"),M=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var i=e.visible,r=void 0===i||i;return n.visible=r,n}return Object(a[\"c\"])(e,t),e.prototype.show=function(){var t=this.visible;t||this.changeVisible(!0)},e.prototype.hide=function(){var t=this.visible;t&&this.changeVisible(!1)},e.prototype.destroy=function(){this.off(),this.destroyed=!0},e.prototype.changeVisible=function(t){this.visible!==t&&(this.visible=t)},e}(C[\"a\"]),A=M,k=n(\"6855\"),I=n(\"eecd\"),T=function(t,e){return Object(s[\"Q\"])(e)?e:t.invert(t.scale(e))},D=function(){function t(t){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(t)}return t.prototype.mapping=function(){for(var t=this,e=[],n=0;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,i=t.y;this.isTransposed&&(e=[i,n],n=e[0],i=e[1]);var r=this.convertDim(n,\"x\"),o=this.a*r,a=this.convertDim(i,\"y\");return{x:this.center.x+Math.cos(r)*(o+a),y:this.center.y+Math.sin(r)*(o+a)}},e.prototype.invertPoint=function(t){var e,n=this.d+this.y.start,i=Q[\"c\"].subtract([0,0],[t.x,t.y],[this.center.x,this.center.y]),r=Q[\"a\"].angleTo(i,[1,0],!0),o=r*this.a;Q[\"c\"].length(i)this.width/i?(e=this.width/i,this.circleCenter={x:this.center.x-(.5-o)*this.width,y:this.center.y-(.5-a)*e*r}):(e=this.height/r,this.circleCenter={x:this.center.x-(.5-o)*e*i,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(),i=t.x,r=t.y;return this.isTransposed&&(e=[r,i],i=e[0],r=e[1]),i=this.convertDim(i,\"x\"),r=this.convertDim(r,\"y\"),{x:n.x+Math.cos(i)*r,y:n.y+Math.sin(i)*r}},e.prototype.invertPoint=function(t){var e,n=this.getCenter(),i=[t.x-n.x,t.y-n.y],r=this,o=r.startAngle,a=r.endAngle;this.isReflect(\"x\")&&(e=[a,o],o=e[0],a=e[1]);var l=[1,0,0,0,1,0,0,0,1];Q[\"a\"].leftRotate(l,l,o);var c=[1,0,0];Q[\"d\"].transformMat3(c,c,l);var u=[c[0],c[1]],h=Q[\"a\"].angleTo(u,i,a0?p:-p;var f=this.invertDim(d,\"y\"),g={x:0,y:0};return g.x=this.isTransposed?f:p,g.y=this.isTransposed?p:f,g},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)],i=[0,Math.sin(t),Math.sin(e)],r=Math.min(t,e);rt.x?t.x:e,n=nt.y?t.y:i,r=r=i&&t<=r}function Mt(t,e,n){if(Object(s[\"Q\"])(t))return t.padEnd(e,n);if(Object(s[\"C\"])(t)){var i=t.length;if(i=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 Dt(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 Pt(t){if(t.isPolar){var e=t.startAngle,n=t.endAngle;return n-e===2*Math.PI}return!1}function Lt(t,e){var n=t.getCenter();return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function Rt(t,e){var n=!1;if(t)if(\"theta\"===t.type){var i=t.start,r=t.end;n=Ct(e.x,i.x,r.x)&&Ct(e.y,i.y,r.y)}else{var o=t.invert(e);n=Ct(o.x,0,1)&&Ct(o.y,0,1)}return n}function Et(t,e){var n=t.getCenter();return Math.atan2(e.y-n.y,e.x-n.x)}function Bt(t,e){void 0===e&&(e=0);var n,i=t.start,r=t.end,o=t.getWidth(),a=t.getHeight();if(t.isPolar){var s=t.startAngle,l=t.endAngle,c=t.getCenter(),u=t.getRadius();return{type:\"path\",startState:{path:Ot(c.x,c.y,u+e,s,s)},endState:function(t){var n=(l-s)*t+s,i=Ot(c.x,c.y,u+e,s,n);return{path:i}},attrs:{path:Ot(c.x,c.y,u+e,s,l)}}}return n=t.isTransposed?{height:a+2*e}:{width:o+2*e},{type:\"rect\",startState:{x:i.x-e,y:r.y-e,width:t.isTransposed?o+2*e:0,height:t.isTransposed?0:a+2*e},endState:n,attrs:{x:i.x-e,y:r.y-e,width:o+2*e,height:a+2*e}}}function Ft(t,e){void 0===e&&(e=0);var n=t.start,i=t.end,r=t.getWidth(),o=t.getHeight(),a=Math.min(n.x,i.x),s=Math.min(n.y,i.y);return It.fromRange(a-e,s-e,a+r+e,s+o+e)}var Nt=/^(?:(?!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 zt(t){var e=\"linear\";return Nt.test(t)?e=\"timeCat\":Object(s[\"Q\"])(t)&&(e=\"cat\"),e}function Vt(t,e,n,i){return void 0===e&&(e={}),e.type?e.type:\"identity\"!==t.type&&p.includes(n)&&[\"interval\"].includes(i)||t.isCategory?\"cat\":t.type}function Gt(t,e,n){var i=e||[];if(Object(s[\"M\"])(t)||Object(s[\"K\"])(Object(s[\"o\"])(i,t))&&Object(s[\"G\"])(n)){var r=Object(q[\"c\"])(\"identity\");return new r({field:t.toString(),values:[t]})}var o=Object(s[\"yb\"])(i,t),l=Object(s[\"s\"])(n,\"type\",zt(o[0])),c=Object(q[\"c\"])(l);return new c(Object(a[\"a\"])({field:t,values:o},n))}function Ht(t,e){if(\"identity\"!==t.type&&\"identity\"!==e.type){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);t.change(n)}}function Wt(t){return t.alias||t.field}function Xt(t,e,n){var i,r=t.values,o=r.length;if(1===o)i=[.5,1];else{var a=1,l=0;Pt(e)?e.isTransposed?(a=Object(s[\"s\"])(n,\"widthRatio.multiplePie\",1/1.3),l=1/o*a,i=[l/2,1-l/2]):i=[0,1-1/o]:(l=1/o/2,i=[l,1-l])}return i}function Yt(t){var e=t.values.filter((function(t){return!Object(s[\"K\"])(t)&&!isNaN(t)}));return Math.max.apply(Math,Object(a[\"g\"])(Object(a[\"g\"])([],Object(a[\"e\"])(e),!1),[Object(s[\"K\"])(t.max)?-1/0:t.max],!1))}function qt(t){var e,n;switch(t){case r.TOP:e={x:0,y:1},n={x:1,y:1};break;case r.RIGHT:e={x:1,y:0},n={x:1,y:1};break;case r.BOTTOM:e={x:0,y:0},n={x:1,y:0};break;case r.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 Ut(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 Zt(t,e){var n={start:{x:0,y:0},end:{x:0,y:0}};t.isRect?n=qt(e):t.isPolar&&(n=Ut(t));var i=n.start,r=n.end;return{start:t.convert(i),end:t.convert(r)}}function Kt(t){var e=t.start,n=t.end;return e.x===n.x}function Qt(t,e){var n=t.start,i=t.end,r=Kt(t);return r?(n.y-i.y)*(e.x-n.x)>0?1:-1:(i.x-n.x)*(n.y-e.y)>0?-1:1}function Jt(t,e){var n=Object(s[\"s\"])(t,[\"components\",\"axis\"],{});return Object(s[\"h\"])({},Object(s[\"s\"])(n,[\"common\"],{}),Object(s[\"h\"])({},Object(s[\"s\"])(n,[e],{})))}function $t(t,e,n){var i=Object(s[\"s\"])(t,[\"components\",\"axis\"],{});return Object(s[\"h\"])({},Object(s[\"s\"])(i,[\"common\",\"title\"],{}),Object(s[\"h\"])({},Object(s[\"s\"])(i,[e,\"title\"],{})),n)}function te(t){var e=t.x,n=t.y,i=t.circleCenter,r=n.start>n.end,o=t.isTransposed?t.convert({x:r?0:1,y:0}):t.convert({x:0,y:r?0:1}),a=[o.x-i.x,o.y-i.y],s=[1,0],l=o.y>i.y?Q[\"c\"].angle(a,s):-1*Q[\"c\"].angle(a,s),c=l+(e.end-e.start),u=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2));return{center:i,radius:u,startAngle:l,endAngle:c}}function ee(t,e){return Object(s[\"D\"])(t)?!1!==t&&{}:Object(s[\"s\"])(t,[e])}function ne(t,e){return Object(s[\"s\"])(t,\"position\",e)}function ie(t,e){return Object(s[\"s\"])(e,[\"title\",\"text\"],Wt(t))}var re=function(){function t(t,e){this.destroyed=!1,this.facets=[],this.view=t,this.cfg=Object(s[\"h\"])({},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,i=t.padding,r=void 0===i?this.cfg.padding:i,o=this.view.createView({region:e,padding:r});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(i.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[\"j\"])(this.facets,(function(e){e.view&&(t.view.removeView(e.view),e.view=void 0)}))},t.prototype.parseSpacing=function(){var t=this.view.viewBBox,e=t.width,n=t.height,i=this.cfg.spacing;return i.map((function(t,i){return Object(s[\"M\"])(t)?t/(0===i?e:n):parseFloat(t)/100}))},t.prototype.getFieldValues=function(t,e){var n=[],i={};return Object(s[\"j\"])(t,(function(t){var r=t[e];Object(s[\"K\"])(r)||i[r]||(n.push(r),i[r]=!0)})),n},t.prototype.getRegion=function(t,e,n,i){var r=Object(a[\"e\"])(this.parseSpacing(),2),o=r[0],s=r[1],l=(1+o)/(0===e?1:e)-o,c=(1+s)/(0===t?1:t)-s,u={x:(l+o)*n,y:(c+s)*i},h={x:u.x+l,y:u.y+c};return{start:u,end:h}},t.prototype.getDefaultCfg=function(){return{eachView:void 0,showTitle:!0,spacing:[0,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(),i=n.coordinate,r=t.geometries,o=Object(s[\"s\"])(i,\"type\",\"rect\");if(\"rect\"===o&&r.length){Object(s[\"K\"])(n.axes)&&(n.axes={});var l=n.axes,c=Object(a[\"e\"])(r[0].getXYFields(),2),u=c[0],h=c[1],d=ee(l,u),p=ee(l,h);!1!==d&&(n.axes[u]=this.getXAxisOption(u,l,d,e)),!1!==p&&(n.axes[h]=this.getYAxisOption(h,l,p,e))}},t.prototype.getFacetDataFilter=function(t){return function(e){return Object(s[\"k\"])(t,(function(t){var n=t.field,i=t.value;return!(!Object(s[\"K\"])(i)&&n)||e[n]===i}))}},t}(),oe={},ae=function(t){return oe[Object(s[\"V\"])(t)]},se=function(t,e){oe[Object(s[\"V\"])(t)]=e},le=function(){function t(t,e){this.context=t,this.cfg=e,t.addAction(this)}return t.prototype.applyCfg=function(t){Object(s[\"b\"])(this,t)},t.prototype.init=function(){this.applyCfg(this.cfg)},t.prototype.destroy=function(){this.context.removeAction(this),this.context=null},t}(),ce=le,ue=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(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}(ce),he=ue,de={};function pe(t,e){var n=de[t],i=null;if(n){var r=n.ActionClass,o=n.cfg;i=new r(e,o),i.name=t,i.init()}return i}function fe(t){var e=de[t];return Object(s[\"s\"])(e,\"ActionClass\")}function ge(t,e,n){de[t]={ActionClass:e,cfg:n}}function ye(t,e){var n=new he(e);return n.callback=t,n.name=\"callback\",n}function ve(t,e){var n=[];if(t.length){n.push([\"M\",t[0].x,t[0].y]);for(var i=1,r=t.length;i=a[c]?1:0,d=u>Math.PI?1:0,p=n.convert(s),f=Lt(n,p);if(f>=.5)if(u===2*Math.PI){var g={x:(s.x+a.x)/2,y:(s.y+a.y)/2},y=n.convert(g);l.push([\"A\",f,f,0,d,h,y.x,y.y]),l.push([\"A\",f,f,0,d,h,p.x,p.y])}else l.push([\"A\",f,f,0,d,h,p.x,p.y]);return l}function Oe(t){Object(s[\"j\"])(t,(function(e,n){var i=e;if(\"a\"===i[0].toLowerCase()){var r=t[n-1],o=t[n+1];o&&\"a\"===o[0].toLowerCase()?r&&\"l\"===r[0].toLowerCase()&&(r[0]=\"M\"):r&&\"a\"===r[0].toLowerCase()&&o&&\"l\"===o[0].toLowerCase()&&(o[0]=\"M\")}}))}var we=function(t,e,n,i){var r,o,s,l,c,u,h,d,p=[],f=!!i;if(f){r=Object(a[\"e\"])(i,2),l=r[0],c=r[1];for(var g=0,y=t.length;g2&&(n.push([i].concat(o.splice(0,2))),a=\"l\",i=\"m\"===i?\"l\":\"L\"),\"o\"===a&&1===o.length&&n.push([i,o[0]]),\"r\"===a)n.push([i].concat(o));else while(o.length>=e[a])if(n.push([i].concat(o.splice(0,e[a]))),!e[a])break;return\"\"})),n}Math.PI;var De=function(t,e,n){return t>=e&&t<=n};function Pe(t,e,n,i){var r=.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:i.x-n.x,y:i.y-n.y},l=a.x*s.y-a.y*s.x,c=l*l,u=a.x*a.x+a.y*a.y,h=s.x*s.x+s.y*s.y,d=null;if(c>r*u*h){var p=(o.x*s.y-o.y*s.x)/l,f=(o.x*a.y-o.y*a.x)/l;De(p,0,1)&&De(f,0,1)&&(d={x:t.x+p*a.x,y:t.y+p*a.y})}return d}var Le=1e-6;function Re(t){return Math.abs(t)0!==Re(s[1]-n)>0&&Re(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(i=!i)}return i}function Fe(t){for(var e=[],n=t.length,i=0;i1){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 Ne(t,e){var n=!1;return Object(s[\"j\"])(t,(function(t){if(Pe(t.from,t.to,e.from,e.to))return n=!0,!1})),n}function ze(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 Ve(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY0&&r>0&&(i>=e||r>=e)}function Xe(t,e){var n=t.getCanvasBBox();return We(t,e)?n:null}function Ye(t,e){var n=t.event.maskShapes;return n.map((function(t){return Xe(t,e)})).filter((function(t){return!!t}))}function qe(t,e){var n=t.event,i=n.target;return Ue(i,e)}function Ue(t,e){return We(t,e)?t.attr(\"path\"):null}function Ze(t,e){var n=t.event.maskShapes;return n.map((function(t){return Ue(t,e)}))}function Ke(t){var e,n=t.event,i=n.target;return i&&(e=i.get(\"element\")),e}function Qe(t){var e,n=t.event,i=n.target;return i&&(e=i.get(\"delegateObject\")),e}function Je(t){var e=t.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get(\"element\")===e.toShape.get(\"element\"))}function $e(t){return t&&t.component&&t.component.isList()}function tn(t){return t&&t.component&&t.component.isSlider()}function en(t){var e=t.event,n=e.target;return n&&\"mask\"===(null===n||void 0===n?void 0:n.get(\"name\"))||nn(t)}function nn(t){var e;return\"multi-mask\"===(null===(e=t.event.target)||void 0===e?void 0:e.get(\"name\"))}function rn(t,e){var n=t.event.target;if(nn(t))return on(t,e);if(\"path\"===n.get(\"type\")){var i=qe(t,e);if(!i)return;return yn(t.view,i)}var r=He(t,e);return r?fn(t.view,r):null}function on(t,e){var n=t.event.target;if(\"path\"===n.get(\"type\")){var i=Ze(t,e);return i.length>0?i.flatMap((function(e){return yn(t.view,e)})):null}var r=Ye(t,e);return r.length>0?r.flatMap((function(e){return fn(t.view,e)})):null}function an(t,e,n){if(nn(t))return ln(t,e,n);var i=He(t,n);return i?sn(i,t,e):null}function sn(t,e,n){var i=e.view,r=jn(i,n,{x:t.x,y:t.y}),o=jn(i,n,{x:t.maxX,y:t.maxY}),a={minX:r.x,minY:r.y,maxX:o.x,maxY:o.y};return fn(n,a)}function ln(t,e,n){var i=Ye(t,n);return i.length>0?i.flatMap((function(n){return sn(n,t,e)})):null}function cn(t){var e=t.geometries,n=[];return Object(s[\"j\"])(e,(function(t){var e=t.elements;n=n.concat(e)})),t.views&&t.views.length&&Object(s[\"j\"])(t.views,(function(t){n=n.concat(cn(t))})),n}function un(t,e,n){var i=cn(t);return i.filter((function(t){return dn(t,e)===n}))}function hn(t,e){var n=t.geometries,i=[];return Object(s[\"j\"])(n,(function(t){var n=t.getElementsBy((function(t){return t.hasState(e)}));i=i.concat(n)})),i}function dn(t,e){var n,i=t.getModel(),r=i.data;return n=Object(s[\"C\"])(r)?r[0][e]:r[e],n}function pn(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=e.x&&t.y<=e.y&&t.maxY>e.y}function On(t){var e=t.parent,n=null;return e&&(n=e.views.filter((function(e){return e!==t}))),n}function wn(t,e){var n=t.getCoordinate();return n.invert(e)}function jn(t,e,n){var i=wn(t,n);return e.getCoordinate().convert(i)}function Sn(t,e,n,i){var r=!1;return Object(s[\"j\"])(t,(function(t){if(t[n]===e[n]&&t[i]===e[i])return r=!0,!1})),r}function _n(t,e){var n=t.getScaleByField(e);return!n&&t.views&&Object(s[\"j\"])(t.views,(function(t){if(n=_n(t,e),n)return!1})),n}var Cn=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[\"s\"])(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=vn(this.view),n=this.getCurrentPoint();return!!n&&!!e.find((function(e){var i=e.getBBox();return t?e.get(\"name\")===t&&xn(i,n):xn(i,n)}))},t.prototype.destroy=function(){Object(s[\"j\"])(this.actions.slice(),(function(t){t.destroy()})),this.view=null,this.event=null,this.actions=null,this.cacheMap=null},t}(),Mn=Cn,An=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}(),kn=An;function In(t,e,n){var i=t.split(\":\"),r=i[0],o=e.getAction(r)||pe(r,e);if(!o)throw new Error(\"There is no action named \".concat(r));var a=i[1];return{action:o,methodName:a,arg:n}}function Tn(t){var e=t.action,n=t.methodName,i=t.arg;if(!e[n])throw new Error(\"Action(\".concat(e.name,\") doesn't have a method called \").concat(n));e[n](i)}var Dn={START:\"start\",SHOW_ENABLE:\"showEnable\",END:\"end\",ROLLBACK:\"rollback\",PROCESSING:\"processing\"},Pn=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.callbackCaches={},i.emitCaches={},i.steps=n,i}return Object(a[\"c\"])(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[\"j\"])(this.steps,(function(e,n){Object(s[\"j\"])(e,(function(e){var i=t.getActionCallback(n,e);i&&t.bindEvent(e.trigger,i)}))}))},e.prototype.clearEvents=function(){var t=this;Object(s[\"j\"])(this.steps,(function(e,n){Object(s[\"j\"])(e,(function(e){var i=t.getActionCallback(n,e);i&&t.offEvent(e.trigger,i)}))}))},e.prototype.initContext=function(){var t=this.view,e=new Mn(t);this.context=e;var n=this.steps;Object(s[\"j\"])(n,(function(t){Object(s[\"j\"])(t,(function(t){if(Object(s[\"I\"])(t.action))t.actionObject={action:ye(t.action,e),methodName:\"execute\"};else if(Object(s[\"Q\"])(t.action))t.actionObject=In(t.action,e,t.arg);else if(Object(s[\"C\"])(t.action)){var n=t.action,i=Object(s[\"C\"])(t.arg)?t.arg:[t.arg];t.actionObject=[],Object(s[\"j\"])(n,(function(n,r){t.actionObject.push(In(n,e,i[r]))}))}}))}))},e.prototype.isAllowStep=function(t){var e=this.currentStepName,n=this.steps;if(e===t)return!0;if(t===Dn.SHOW_ENABLE)return!0;if(t===Dn.PROCESSING)return e===Dn.START;if(t===Dn.START)return e!==Dn.PROCESSING;if(t===Dn.END)return e===Dn.PROCESSING||e===Dn.START;if(t===Dn.ROLLBACK){if(n[Dn.END])return e===Dn.END;if(e===Dn.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!==Dn.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,i=this.context,r=this.callbackCaches,o=e.actionObject;if(e.action&&o){var a=this.getKey(t,e);if(!r[a]){var l=function(r){i.event=r,n.isAllowExecute(t,e)?(Object(s[\"C\"])(o)?Object(s[\"j\"])(o,(function(t){i.event=r,Tn(t)})):(i.event=r,Tn(o)),n.afterExecute(t,e),e.callback&&(i.event=r,e.callback(i))):i.event=null};e.debounce?r[a]=Object(s[\"g\"])(l,e.debounce.wait,e.debounce.immediate):e.throttle?r[a]=Object(s[\"qb\"])(l,e.throttle.wait,{leading:e.throttle.leading,trailing:e.throttle.trailing}):r[a]=l}return r[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}(kn),Ln=Pn,Rn={};function En(t){return Rn[Object(s[\"V\"])(t)]}function Bn(t,e){Rn[Object(s[\"V\"])(t)]=e}function Fn(t,e,n){var i=En(t);if(!i)return null;if(Object(s[\"P\"])(i)){var r=Object(s[\"db\"])(Object(s[\"e\"])(i),n);return new Ln(e,r)}var o=i;return new o(e,n)}function Nn(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},iconStyle:{fill:t.axisDescriptionIconFillColor}},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 zn(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\"}},itemStates:{active:{nameStyle:{opacity:.8}},unchecked:{nameStyle:{fill:\"#D8D8D8\"},markerStyle:{fill:\"#D8D8D8\",stroke:\"#D8D8D8\"}},inactive:{nameStyle:{fill:\"#D8D8D8\"},markerStyle:{opacity:.2}}},flipPage:!0,pageNavigator:{marker:{style:{size:t.legendPageNavigatorMarkerSize,inactiveFill:t.legendPageNavigatorMarkerInactiveFillColor,inactiveOpacity:t.legendPageNavigatorMarkerInactiveFillOpacity,fill:t.legendPageNavigatorMarkerFillColor,opacity:t.legendPageNavigatorMarkerFillOpacity}},text:{style:{fill:t.legendPageNavigatorTextFillColor,fontSize:t.legendPageNavigatorTextFontSize}}},animate:!1,maxItemWidth:200,itemSpacing:t.legendItemSpacing,itemMarginBottom:t.legendItemMarginBottom,padding:t.legendPadding}}function Vn(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}}},i=Nn(t),r=zn(t);return{background:t.backgroundColor,defaultColor:t.brandColor,subColor:t.subColor,semanticRed:t.paletteSemanticRed,semanticGreen:t.paletteSemanticGreen,padding:\"auto\",fontFamily:t.fontFamily,columnWidthRatio:.5,maxColumnWidth:null,minColumnWidth:null,roseWidthRatio:.9999999,multiplePieWidthRatio:1/1.3,colors10:t.paletteQualitative10,colors20:t.paletteQualitative20,sequenceColors:t.paletteSequence,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 i=jt(t.getModel(),e),r=i.startAngle,o=i.endAngle,a=(r+o)/2,s=7.5,l=s*Math.cos(a),c=s*Math.sin(a);return{matrix:Q[\"a\"].transform(null,[[\"t\",l,c]])}}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[\"a\"])(Object(a[\"a\"])({},n.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:Object(a[\"a\"])(Object(a[\"a\"])({},n.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:Object(a[\"a\"])(Object(a[\"a\"])({},n.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:Object(a[\"a\"])(Object(a[\"a\"])({},n.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:Object(a[\"a\"])(Object(a[\"a\"])({},n.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:Object(a[\"a\"])(Object(a[\"a\"])({},n.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:Object(a[\"a\"])(Object(a[\"a\"])({},n.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:Object(a[\"a\"])(Object(a[\"a\"])({},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}}},violin:{violin:{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}},hollow:{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}},\"hollow-smooth\":{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}}}},components:{axis:{common:i,top:{position:\"top\",grid:null,title:null,verticalLimitLength:.5},bottom:{position:\"bottom\",grid:null,title:null,verticalLimitLength:.5},left:{position:\"left\",title:null,line:null,tickLine:null,verticalLimitLength:1/3},right:{position:\"right\",title:null,line:null,tickLine:null,verticalLimitLength:1/3},circle:{title:null,grid:Object(s[\"h\"])({},i.grid,{line:{type:\"line\"}})},radius:{title:null,grid:Object(s[\"h\"])({},i.grid,{line:{type:\"circle\"}})}},legend:{common:r,right:{layout:\"vertical\",padding:t.legendVerticalPadding},left:{layout:\"vertical\",padding:t.legendVerticalPadding},top:{layout:\"horizontal\",padding:t.legendHorizontalPadding},bottom:{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:r.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[\"\".concat(ct[\"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:\"\".concat(t.tooltipContainerBorderRadius,\"px\"),color:t.tooltipTextFillColor,fontSize:\"\".concat(t.tooltipTextFontSize,\"px\"),fontFamily:t.fontFamily,lineHeight:\"\".concat(t.tooltipTextLineHeight,\"px\"),padding:\"0 12px 0 12px\"},e[\"\".concat(ct[\"TOOLTIP_CSS_CONST\"].TITLE_CLASS)]={marginBottom:\"12px\",marginTop:\"12px\"},e[\"\".concat(ct[\"TOOLTIP_CSS_CONST\"].LIST_CLASS)]={margin:0,listStyleType:\"none\",padding:0},e[\"\".concat(ct[\"TOOLTIP_CSS_CONST\"].LIST_ITEM_CLASS)]={listStyleType:\"none\",padding:0,marginBottom:\"12px\",marginTop:\"12px\",marginLeft:0,marginRight:0},e[\"\".concat(ct[\"TOOLTIP_CSS_CONST\"].MARKER_CLASS)]={width:\"8px\",height:\"8px\",borderRadius:\"50%\",display:\"inline-block\",marginRight:\"8px\"},e[\"\".concat(ct[\"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],backgroundStyle:{fill:t.cSliderBackgroundFillColor,opacity:t.cSliderBackgroundFillOpacity},foregroundStyle:{fill:t.cSliderForegroundFillColor,opacity:t.cSliderForegroundFillOpacity},handlerStyle:{width:t.cSliderHandlerWidth,height:t.cSliderHandlerHeight,fill:t.cSliderHandlerFillColor,opacity:t.cSliderHandlerFillOpacity,stroke:t.cSliderHandlerBorderColor,lineWidth:t.cSliderHandlerBorder,radius:t.cSliderHandlerBorderRadius,highLightFill:t.cSliderHandlerHighlightFillColor},textStyle:{fill:t.cSliderTextFillColor,opacity:t.cSliderTextFillOpacity,fontSize:t.cSliderTextFontSize,lineHeight:t.cSliderTextLineHeight,fontWeight:t.cSliderTextFontWeight,stroke:t.cSliderTextBorderColor,lineWidth:t.cSliderTextBorder}}},scrollbar:{common:{padding:[8,8,8,8]},default:{style:{trackColor:t.scrollbarTrackFillColor,thumbColor:t.scrollbarThumbFillColor}},hover:{style:{thumbColor:t.scrollbarThumbHighlightFillColor}}}},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 Gn={100:\"#000\",95:\"#0D0D0D\",85:\"#262626\",65:\"#595959\",45:\"#8C8C8C\",25:\"#BFBFBF\",15:\"#D9D9D9\",6:\"#F0F0F0\"},Hn={100:\"#FFFFFF\",95:\"#F2F2F2\",85:\"#D9D9D9\",65:\"#A6A6A6\",45:\"#737373\",25:\"#404040\",15:\"#262626\",6:\"#0F0F0F\"},Wn=[\"#5B8FF9\",\"#5AD8A6\",\"#5D7092\",\"#F6BD16\",\"#6F5EF9\",\"#6DC8EC\",\"#945FB9\",\"#FF9845\",\"#1E9493\",\"#FF99C3\"],Xn=[\"#5B8FF9\",\"#CDDDFD\",\"#5AD8A6\",\"#CDF3E4\",\"#5D7092\",\"#CED4DE\",\"#F6BD16\",\"#FCEBB9\",\"#6F5EF9\",\"#D3CEFD\",\"#6DC8EC\",\"#D3EEF9\",\"#945FB9\",\"#DECFEA\",\"#FF9845\",\"#FFE0C7\",\"#1E9493\",\"#BBDEDE\",\"#FF99C3\",\"#FFE0ED\"],Yn=[\"#B8E1FF\",\"#9AC5FF\",\"#7DAAFF\",\"#5B8FF9\",\"#3D76DD\",\"#085EC0\",\"#0047A5\",\"#00318A\",\"#001D70\"],qn=function(t){void 0===t&&(t={});var e=t.paletteQualitative10,n=void 0===e?Wn:e,i=t.paletteQualitative20,r=void 0===i?Xn:i,o=t.brandColor,s=void 0===o?n[0]:o,l={backgroundColor:\"transparent\",brandColor:s,subColor:\"rgba(0,0,0,0.05)\",paletteQualitative10:n,paletteQualitative20:r,paletteSemanticRed:\"#F4664A\",paletteSemanticGreen:\"#30BF78\",paletteSemanticYellow:\"#FAAD14\",paletteSequence:Yn,fontFamily:'\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\\n \"Noto Color Emoji\"',axisLineBorderColor:Gn[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:Gn[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:\"normal\",axisTitleSpacing:12,axisDescriptionIconFillColor:Hn[85],axisTickLineBorderColor:Gn[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:Gn[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:Gn[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:\"normal\",axisLabelOffset:8,axisGridBorderColor:Gn[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:Gn[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:\"normal\",legendMarkerColor:s,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:Gn[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],legendPageNavigatorMarkerSize:12,legendPageNavigatorMarkerInactiveFillColor:Gn[100],legendPageNavigatorMarkerInactiveFillOpacity:.45,legendPageNavigatorMarkerFillColor:Gn[100],legendPageNavigatorMarkerFillOpacity:1,legendPageNavigatorTextFillColor:Gn[45],legendPageNavigatorTextFontSize:12,sliderRailFillColor:Gn[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:Gn[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:\"normal\",sliderHandlerFillColor:Gn[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:Gn[25],annotationArcBorderColor:Gn[15],annotationArcBorder:1,annotationLineBorderColor:Gn[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:Gn[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:\"normal\",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:Gn[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:Gn[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:\"rgb(255, 255, 255)\",tooltipContainerFillOpacity:.95,tooltipContainerShadow:\"0px 0px 10px #aeaeae\",tooltipContainerBorderRadius:3,tooltipTextFillColor:Gn[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:\"bold\",labelFillColor:Gn[65],labelFillColorDark:\"#2c3542\",labelFillColorLight:\"#ffffff\",labelFontSize:12,labelLineHeight:12,labelFontWeight:\"normal\",labelBorderColor:null,labelBorder:0,innerLabelFillColor:Hn[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:\"normal\",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:Gn[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:\"normal\",overflowLabelBorderColor:Hn[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:Gn[25],cSliderRailHieght:16,cSliderBackgroundFillColor:\"#416180\",cSliderBackgroundFillOpacity:.05,cSliderForegroundFillColor:\"#5B8FF9\",cSliderForegroundFillOpacity:.15,cSliderHandlerHeight:24,cSliderHandlerWidth:10,cSliderHandlerFillColor:\"#F7F7F7\",cSliderHandlerFillOpacity:1,cSliderHandlerHighlightFillColor:\"#FFF\",cSliderHandlerBorderColor:\"#BFBFBF\",cSliderHandlerBorder:1,cSliderHandlerBorderRadius:2,cSliderTextFillColor:\"#000\",cSliderTextFillOpacity:.45,cSliderTextFontSize:12,cSliderTextLineHeight:12,cSliderTextFontWeight:\"normal\",cSliderTextBorderColor:null,cSliderTextBorder:0,scrollbarTrackFillColor:\"rgba(0,0,0,0)\",scrollbarThumbFillColor:\"rgba(0,0,0,0.15)\",scrollbarThumbHighlightFillColor:\"rgba(0,0,0,0.2)\",pointFillColor:s,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:Hn[100],pointBorderOpacity:1,pointActiveBorderColor:Gn[100],pointSelectedBorder:2,pointSelectedBorderColor:Gn[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:s,hollowPointBorderOpacity:.95,hollowPointFillColor:Hn[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:Gn[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:Gn[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:s,lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:s,areaFillOpacity:.25,areaActiveFillColor:s,areaActiveFillOpacity:.5,areaSelectedFillColor:s,areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:s,hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:Gn[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:Gn[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:s,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:Gn[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:Gn[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:s,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:Hn[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:Gn[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:Gn[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3};return Object(a[\"a\"])(Object(a[\"a\"])({},l),t)};qn();function Un(t){var e=t.styleSheet,n=void 0===e?{}:e,i=Object(a[\"f\"])(t,[\"styleSheet\"]),r=qn(n);return Object(s[\"h\"])({},Vn(r),i)}var Zn=Un({}),Kn={default:Zn};function Qn(t){return Object(s[\"s\"])(Kn,Object(s[\"V\"])(t),Kn.default)}function Jn(t,e){Kn[Object(s[\"V\"])(t)]=Un(e)}function $n(t,e,n){var i=n.translate(t),r=n.translate(e);return Object(s[\"N\"])(i,r)}function ti(t,e){var n=e.coordinate,i=e.getXScale(),r=i.range,o=r[r.length-1],a=r[0],s=n.invert(t),l=s.x;return n.isPolar&&l>(1+o)/2&&(l=a),i.translate(i.invert(l))}function ei(t,e,n){var i=n.coordinate,r=n.getYScale(),o=r.field,a=i.invert(e),l=r.invert(a.y),c=Object(s[\"m\"])(t,(function(t){var e=t[f];return e[o][0]<=l&&e[o][1]>=l}));return c||t[t.length-1]}var ni=Object(s[\"ab\"])((function(t){if(t.isCategory)return 1;for(var e=t.values,n=e.length,i=t.translate(e[0]),r=i,o=0;or&&(r=s)}return(r-i)/(n-1)}));function ii(t,e,n){var i=e.getAttribute(\"position\"),r=i.getFields(),o=e.scales,a=Object(s[\"I\"])(n)||!n?r[0]:n,l=o[a],c=l?l.getText(t[a]):t[a]||a;return Object(s[\"I\"])(n)?n(c,t):c}function ri(t){var e=Object(s[\"xb\"])(t.attributes);return Object(s[\"l\"])(e,(function(t){return Object(s[\"f\"])(p,t.type)}))}function oi(t){var e,n,i,r=ri(t);try{for(var o=Object(a[\"i\"])(r),l=o.next();!l.done;l=o.next()){var c=l.value,u=c.getScale(c.type);if(u&&u.isLinear){var h=Object(s[\"s\"])(t.scaleDefs,u.field),d=Vt(u,h,c.type,t.type);if(\"cat\"!==d){i=u;break}}}}catch(g){e={error:g}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}var p=t.getXScale(),f=t.getYScale();return i||f||p}function ai(t,e){var n=e.field,i=t[n];if(Object(s[\"C\"])(i)){var r=i.map((function(t){return e.getText(t)}));return r.join(\"-\")}return e.getText(i)}function si(t,e){var n,i=e.getGroupScales();if(i.length&&(n=i[0]),n){var r=n.field;return n.getText(t[r])}var o=oi(e);return Wt(o)}function li(t,e,n){if(0===e.length)return null;var i=n.type,r=n.getXScale(),o=n.getYScale(),a=r.field,l=o.field,c=null;if(\"heatmap\"===i||\"point\"===i){for(var u=n.coordinate,h=u.invert(t),d=r.invert(h.x),p=o.invert(h.y),g=1/0,y=0;y=w){if(!C){c=M;break}Object(s[\"C\"])(c)||(c=[]),c.push(M)}}Object(s[\"C\"])(c)&&(c=ei(c,t,n))}else{var A=void 0;if(r.isLinear||\"timeCat\"===r.type){if((w>r.translate(_)||wr.max||wMath.abs(r.translate(A[f][a])-w)&&(O=A)}var P=ni(n.getXScale());return!c&&Math.abs(r.translate(O[f][a])-w)<=P/2&&(c=O),c}function ci(t,e,n,i){var r,o;void 0===n&&(n=\"\"),void 0===i&&(i=!1);var l,c,u=t[f],h=ii(u,e,n),d=e.tooltipOption,p=e.theme.defaultColor,g=[];function y(e,n){if(i||!Object(s[\"K\"])(n)&&\"\"!==n){var r={title:h,data:u,mappingData:t,name:e,value:n,color:t.color||p,marker:!0};g.push(r)}}if(Object(s[\"O\"])(d)){var v=d.fields,m=d.callback;if(m){var b=v.map((function(e){return t[f][e]})),x=m.apply(void 0,Object(a[\"g\"])([],Object(a[\"e\"])(b),!1)),O=Object(a[\"a\"])({data:t[f],mappingData:t,title:h,color:t.color||p,marker:!0},x);g.push(O)}else{var w=e.scales;try{for(var j=Object(a[\"i\"])(v),S=j.next();!S.done;S=j.next()){var _=S.value;if(!Object(s[\"K\"])(u[_])){var C=w[_];l=Wt(C),c=C.getText(u[_]),y(l,c)}}}catch(A){r={error:A}}finally{try{S&&!S.done&&(o=j.return)&&o.call(j)}finally{if(r)throw r.error}}}}else{var M=oi(e);c=ai(u,M),l=si(u,e),y(l,c)}return g}function ui(t,e,n,i){var r,o,l=i.showNil,c=[],u=t.dataArray;if(!Object(s[\"G\"])(u)){t.sort(u);try{for(var h=Object(a[\"i\"])(u),d=h.next();!d.done;d=h.next()){var p=d.value,f=li(e,p,t);if(f){var g=t.getElementId(f),y=t.elementsMap[g];if(\"heatmap\"===t.type||y.visible){var v=ci(f,t,n,l);v.length&&c.push(v)}}}}catch(m){r={error:m}}finally{try{d&&!d.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}}return c}function hi(t,e,n,i){var r=i.showNil,o=[],a=t.container,s=a.getShape(e.x,e.y);if(s&&s.get(\"visible\")&&s.get(\"origin\")){var l=s.get(\"origin\").mappingData,c=ci(l,t,n,r);c.length&&o.push(c)}return o}function di(t,e,n){var i,r,o=[],s=t.geometries,l=n.shared,c=n.title,u=n.reversed;try{for(var h=Object(a[\"i\"])(s),d=h.next();!d.done;d=h.next()){var p=d.value;if(p.visible&&!1!==p.tooltipOption){var f=p.type,g=void 0;g=[\"point\",\"edge\",\"polygon\"].includes(f)?hi(p,e,c,n):[\"area\",\"line\",\"path\",\"heatmap\"].includes(f)||!1!==l?ui(p,e,c,n):hi(p,e,c,n),g.length&&(u&&g.reverse(),o.push(g))}}}catch(y){i={error:y}}finally{try{d&&!d.done&&(r=h.return)&&r.call(h)}finally{if(i)throw i.error}}return o}function pi(t,e,n){var i,r,o=di(t,e,n);try{for(var s=Object(a[\"i\"])(t.views),l=s.next();!l.done;l=s.next()){var c=l.value;o=o.concat(di(c,e,n))}}catch(u){i={error:u}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}function fi(t){return!Object(s[\"M\"])(t)&&!Object(s[\"C\"])(t)}function gi(t){void 0===t&&(t=0);var e=Object(s[\"C\"])(t)?t:[t];switch(e.length){case 0:e=[0,0,0,0];break;case 1:e=new Array(4).fill(e[0]);break;case 2:e=Object(a[\"g\"])(Object(a[\"g\"])([],Object(a[\"e\"])(e),!1),Object(a[\"e\"])(e),!1);break;case 3:e=Object(a[\"g\"])(Object(a[\"g\"])([],Object(a[\"e\"])(e),!1),[e[1]],!1);break;default:e=e.slice(0,4);break}return e}var yi={};function vi(t,e){yi[t]=e}function mi(){return Object.keys(yi)}function bi(t){return yi[t]}var xi=function(){function t(t){this.option=this.wrapperOption(t)}return t.prototype.update=function(t){return this.option=this.wrapperOption(t),this},t.prototype.hasAction=function(t){var e=this.option.actions;return Object(s[\"nb\"])(e,(function(e){return e[0]===t}))},t.prototype.create=function(t,e){var n=this.option,i=n.type,r=n.cfg,o=\"theta\"===i,s=Object(a[\"a\"])({start:t,end:e},r),l=st(o?\"polar\":i);return this.coordinate=new l(s),this.coordinate.type=i,o&&(this.hasAction(\"transpose\")||this.transpose()),this.execActions(),this.coordinate},t.prototype.adjust=function(t,e){return this.coordinate.update({start:t,end:e}),this.coordinate.resetMatrix(),this.execActions([\"scale\",\"rotate\",\"translate\"]),this.coordinate},t.prototype.rotate=function(t){return this.option.actions.push([\"rotate\",t]),this},t.prototype.reflect=function(t){return this.option.actions.push([\"reflect\",t]),this},t.prototype.scale=function(t,e){return this.option.actions.push([\"scale\",t,e]),this},t.prototype.transpose=function(){return this.option.actions.push([\"transpose\"]),this},t.prototype.getOption=function(){return this.option},t.prototype.getCoordinate=function(){return this.coordinate},t.prototype.wrapperOption=function(t){return Object(a[\"a\"])({type:\"rect\",actions:[],cfg:{}},t)},t.prototype.execActions=function(t){var e=this,n=this.option.actions;Object(s[\"j\"])(n,(function(n){var i,r=Object(a[\"e\"])(n),o=r[0],l=r.slice(1),c=!!Object(s[\"K\"])(t)||t.includes(o);c&&(i=e.coordinate)[o].apply(i,Object(a[\"g\"])([],Object(a[\"e\"])(l),!1))}))},t}(),Oi=xi,wi=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 k[\"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=\".concat(this.type,\")]\")},t.prototype.clone=function(){return new t(this.view,this.gEvent,this.data)},t}(),ji=wi;function Si(t){var e=t.getController(\"axis\"),n=t.getController(\"legend\"),i=t.getController(\"annotation\"),r=t.getController(\"slider\"),o=t.getController(\"scrollbar\");[e,r,o,n,i].forEach((function(t){t&&t.layout()}))}var _i=function(){function t(){this.scales=new Map,this.syncScales=new Map}return t.prototype.createScale=function(t,e,n,i){var r=n,o=this.getScaleMeta(i);if(0===e.length&&o){var a=o.scale,l={type:a.type};a.isCategory&&(l.values=a.values),r=Object(s[\"h\"])(l,o.scaleDef,n)}var c=Gt(t,e,r);return this.cacheScale(c,n,i),c},t.prototype.sync=function(t,e){var n=this;this.syncScales.forEach((function(i,r){var o=Number.MAX_SAFE_INTEGER,a=Number.MIN_SAFE_INTEGER,l=[];Object(s[\"j\"])(i,(function(t){var e=n.getScale(t);a=Object(s[\"M\"])(e.max)?Math.max(a,e.max):a,o=Object(s[\"M\"])(e.min)?Math.min(o,e.min):o,Object(s[\"j\"])(e.values,(function(t){l.includes(t)||l.push(t)}))})),Object(s[\"j\"])(i,(function(i){var r=n.getScale(i);if(r.isContinuous)r.change({min:o,max:a,values:l});else if(r.isCategory){var c=r.range,u=n.getScaleMeta(i);l&&!Object(s[\"s\"])(u,[\"scaleDef\",\"range\"])&&(c=Xt(Object(s[\"h\"])({},r,{values:l}),t,e)),r.change({values:l,range:c})}}))}))},t.prototype.cacheScale=function(t,e,n){var i=this.getScaleMeta(n);i&&i.scale.type===t.type?(Ht(i.scale,t),i.scaleDef=e):(i={key:n,scale:t,scaleDef:e},this.scales.set(n,i));var r=this.getSyncKey(i);if(i.syncKey=r,this.removeFromSyncScales(n),r){var o=this.syncScales.get(r);o||(o=[],this.syncScales.set(r,o)),o.push(n)}},t.prototype.getScale=function(t){var e=this.getScaleMeta(t);if(!e){var n=Object(s[\"U\"])(t.split(\"-\")),i=this.syncScales.get(n);i&&i.length&&(e=this.getScaleMeta(i[0]))}return e&&e.scale},t.prototype.deleteScale=function(t){var e=this.getScaleMeta(t);if(e){var n=e.syncKey,i=this.syncScales.get(n);if(i&&i.length){var r=i.indexOf(t);-1!==r&&i.splice(r,1)}}this.scales.delete(t)},t.prototype.clear=function(){this.scales.clear(),this.syncScales.clear()},t.prototype.removeFromSyncScales=function(t){var e=this;this.syncScales.forEach((function(n,i){var r=n.indexOf(t);if(-1!==r)return n.splice(r,1),0===n.length&&e.syncScales.delete(i),!1}))},t.prototype.getSyncKey=function(t){var e=t.scale,n=t.scaleDef,i=e.field,r=Object(s[\"s\"])(n,[\"sync\"]);return!0===r?i:!1===r?void 0:r},t.prototype.getScaleMeta=function(t){return this.scales.get(t)},t}(),Ci=function(){function t(t,e,n,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===i&&(i=0),this.top=t,this.right=e,this.bottom=n,this.left=i}return t.instance=function(e,n,i,r){return void 0===e&&(e=0),void 0===n&&(n=0),void 0===i&&(i=0),void 0===r&&(r=0),new t(e,n,i,r)},t.prototype.max=function(t){var e=Object(a[\"e\"])(t,4),n=e[0],i=e[1],r=e[2],o=e[3];return this.top=Math.max(this.top,n),this.right=Math.max(this.right,i),this.bottom=Math.max(this.bottom,r),this.left=Math.max(this.left,o),this},t.prototype.shrink=function(t){var e=Object(a[\"e\"])(t,4),n=e[0],i=e[1],r=e[2],o=e[3];return this.top+=n,this.right+=i,this.bottom+=r,this.left+=o,this},t.prototype.inc=function(t,e){var n=t.width,i=t.height;switch(e){case r.TOP:case r.TOP_LEFT:case r.TOP_RIGHT:this.top+=i;break;case r.RIGHT:case r.RIGHT_TOP:case r.RIGHT_BOTTOM:this.right+=n;break;case r.BOTTOM:case r.BOTTOM_LEFT:case r.BOTTOM_RIGHT:this.bottom+=i;break;case r.LEFT:case r.LEFT_TOP:case r.LEFT_BOTTOM:this.left+=n;break;default:break}return this},t.prototype.getPadding=function(){return[this.top,this.right,this.bottom,this.left]},t.prototype.clone=function(){return new(t.bind.apply(t,Object(a[\"g\"])([void 0],Object(a[\"e\"])(this.getPadding()),!1)))},t}();function Mi(t){var e=t.padding;if(!fi(e))return new(Ci.bind.apply(Ci,Object(a[\"g\"])([void 0],Object(a[\"e\"])(gi(e)),!1)));var n=t.viewBBox,i=new Ci,r=[],l=[],c=[];return Object(s[\"j\"])(t.getComponents(),(function(t){var e=t.type;e===o.AXIS?r.push(t):[o.LEGEND,o.SLIDER,o.SCROLLBAR].includes(e)?l.push(t):e!==o.GRID&&e!==o.TOOLTIP&&c.push(t)})),Object(s[\"j\"])(r,(function(t){var e=t.component,r=e.getLayoutBBox(),o=new It(r.x,r.y,r.width,r.height),a=o.exceed(n);i.max(a)})),Object(s[\"j\"])(l,(function(t){var e=t.component,n=t.direction,r=e.getLayoutBBox(),o=e.get(\"padding\"),a=new It(r.x,r.y,r.width,r.height).expand(o);i.inc(a,n)})),Object(s[\"j\"])(c,(function(t){var e=t.component,n=t.direction,r=e.getLayoutBBox(),o=new It(r.x,r.y,r.width,r.height);i.inc(o,n)})),i}function Ai(t,e,n){var i=n.instance();e.forEach((function(t){t.autoPadding=i.max(t.autoPadding.getPadding())}))}var ki=function(t){function e(e){var n=t.call(this,{visible:e.visible})||this;n.views=[],n.geometries=[],n.controllers=[],n.interactions={},n.limitInPlot=!1,n.options={data:[],animate:!0},n.usedControllers=mi(),n.scalePool=new _i,n.layoutFunc=Si,n.isPreMouseInPlot=!1,n.isDataChanged=!1,n.isCoordinateChanged=!1,n.createdScaleKeys=new Map,n.onCanvasEvent=function(t){var e=t.name;if(!e.includes(\":\")){var i=n.createViewEvent(t);n.doPlotEvent(i),n.emit(e,i)}},n.onDelegateEvents=function(t){var e=t.name;if(e.includes(\":\")){var i=n.createViewEvent(t);n.emit(e,i)}};var i=e.id,r=void 0===i?Object(s[\"vb\"])(\"view\"):i,o=e.parent,l=e.canvas,c=e.backgroundGroup,u=e.middleGroup,h=e.foregroundGroup,d=e.region,p=void 0===d?{start:{x:0,y:0},end:{x:1,y:1}}:d,f=e.padding,g=e.appendPadding,y=e.theme,v=e.options,m=e.limitInPlot,b=e.syncViewPadding;return n.parent=o,n.canvas=l,n.backgroundGroup=c,n.middleGroup=u,n.foregroundGroup=h,n.region=p,n.padding=f,n.appendPadding=g,n.options=Object(a[\"a\"])(Object(a[\"a\"])({},n.options),v),n.limitInPlot=m,n.id=r,n.syncViewPadding=b,n.themeObject=Object(s[\"O\"])(y)?Object(s[\"h\"])({},Qn(\"default\"),Un(y)):Qn(y),n.init(),n}return Object(a[\"c\"])(e,t),e.prototype.setLayout=function(t){this.layoutFunc=t},e.prototype.init=function(){this.calculateViewBBox(),this.initEvents(),this.initComponentController(),this.initOptions()},e.prototype.render=function(t,e){void 0===t&&(t=!1),this.emit(l.BEFORE_RENDER,ji.fromData(this,l.BEFORE_RENDER,e)),this.paint(t),this.emit(l.AFTER_RENDER,ji.fromData(this,l.AFTER_RENDER,e)),!1===this.visible&&this.changeVisible(!1)},e.prototype.clear=function(){var t=this;this.emit(l.BEFORE_CLEAR),this.filteredData=[],this.coordinateInstance=void 0,this.isDataChanged=!1,this.isCoordinateChanged=!1;for(var e=this.geometries,n=0;n');T.appendChild(D);var P=S(T,c,r,o),L=b(f),R=new L.Canvas(Object(a[\"a\"])({container:D,pixelRatio:g,localRefresh:v,supportCSSTransform:j},P));return n=t.call(this,{parent:null,canvas:R,backgroundGroup:R.addGroup({zIndex:d.BG}),middleGroup:R.addGroup({zIndex:d.MID}),foregroundGroup:R.addGroup({zIndex:d.FORE}),padding:u,appendPadding:h,visible:x,options:M,limitInPlot:A,theme:k,syncViewPadding:I})||this,n.onResize=Object(s[\"g\"])((function(){n.forceFit()}),300),n.ele=T,n.canvas=R,n.width=P.width,n.height=P.height,n.autoFit=c,n.localRefresh=v,n.renderer=f,n.wrapperElement=D,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(C),n}return Object(a[\"c\"])(e,t),e.prototype.initDefaultInteractions=function(t){var e=this;Object(s[\"j\"])(t,(function(t){e.interaction(t)}))},e.prototype.aria=function(t){var e=\"aria-label\";!1===t?this.ele.removeAttribute(e):this.ele.setAttribute(e,t.label)},e.prototype.changeSize=function(t,e){return this.width===t&&this.height===e||(this.emit(l.BEFORE_CHANGE_SIZE),this.width=t,this.height=e,this.canvas.changeSize(t,e),this.render(!0),this.emit(l.AFTER_CHANGE_SIZE)),this},e.prototype.clear=function(){t.prototype.clear.call(this),this.aria(!1)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),_(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=S(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}(Ti),Pi=Di,Li=function(){function t(t){this.visible=!0,this.components=[],this.view=t}return t.prototype.clear=function(t){Object(s[\"j\"])(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 Ri(t){for(var e=[],n=function(n){var i=t[n],r=Object(s[\"m\"])(e,(function(t){return t.color===i.color&&t.name===i.name&&t.value===i.value&&t.title===i.title}));r||e.push(i)},i=0;i1){var x=c[0],O=Math.abs(t.y-x[0].y);try{for(var w=Object(a[\"i\"])(c),j=w.next();!j.done;j=w.next()){var S=j.value,_=Math.abs(t.y-S[0].y);_<=O&&(x=S,O=_)}}catch(A){o={error:A}}finally{try{j&&!j.done&&(l=w.return)&&l.call(w)}finally{if(o)throw o.error}}c=[x]}return Ri(Object(s[\"q\"])(c))}return[]},e.prototype.layout=function(){},e.prototype.update=function(){if(this.point&&this.showTooltip(this.point),this.tooltip){var t=this.view.getCanvas();this.tooltip.set(\"region\",{start:{x:0,y:0},end:{x:t.get(\"width\"),y:t.get(\"height\")}})}},e.prototype.isCursorEntered=function(t){if(this.tooltip){var e=this.tooltip.getContainer(),n=this.tooltip.get(\"capture\");if(e&&n){var i=e.getBoundingClientRect(),r=i.x,o=i.y,a=i.width,s=i.height;return new It(r,o,a,s).isPointIn(t)}}return!1},e.prototype.getTooltipCfg=function(){var t=this.view,e=t.getOptions().tooltip,n=this.processCustomContent(e),i=t.getTheme(),r=Object(s[\"s\"])(i,[\"components\",\"tooltip\"],{}),o=Object(s[\"s\"])(n,\"enterable\",r.enterable);return Object(s[\"h\"])({},r,n,{capture:!(!o&&!this.isLocked)})},e.prototype.processCustomContent=function(t){if(Object(s[\"D\"])(t)||!Object(s[\"s\"])(t,\"customContent\"))return t;var e=t.customContent,n=function(t,n){var i=e(t,n)||\"\";return Object(s[\"Q\"])(i)?'
    '+i+\"
    \":i};return Object(a[\"a\"])(Object(a[\"a\"])({},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 yt(Object(a[\"a\"])(Object(a[\"a\"])({parent:t.get(\"el\").parentNode,region:e},n),{visible:!1,crosshairs:null}));i.init(),this.tooltip=i},e.prototype.renderTooltipMarkers=function(t,e){var n,i,r=this.getTooltipMarkersGroup(),o=this.view.getRootView(),l=o.limitInPlot;try{for(var c=Object(a[\"i\"])(t),u=c.next();!u.done;u=c.next()){var h=u.value,d=h.x,p=h.y;if(l||(null===r||void 0===r?void 0:r.getClip())){var f=Bt(o.getCoordinate()),g=f.type,y=f.attrs;null===r||void 0===r||r.setClip({type:g,attrs:y})}else null===r||void 0===r||r.setClip(void 0);var v=this.view.getTheme(),m=Object(s[\"s\"])(v,[\"components\",\"tooltip\",\"marker\"],{}),b=Object(a[\"a\"])(Object(a[\"a\"])({fill:h.color,symbol:\"circle\",shadowColor:h.color},Object(s[\"I\"])(e)?Object(a[\"a\"])(Object(a[\"a\"])({},m),e(h)):e),{x:d,y:p});r.addShape(\"marker\",{attrs:b})}}catch(x){n={error:x}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}},e.prototype.renderCrosshairs=function(t,e){var n=Object(s[\"s\"])(e,[\"crosshairs\",\"type\"],\"x\");\"x\"===n?(this.yCrosshair&&this.yCrosshair.hide(),this.renderXCrosshairs(t,e)):\"y\"===n?(this.xCrosshair&&this.xCrosshair.hide(),this.renderYCrosshairs(t,e)):\"xy\"===n&&(this.renderXCrosshairs(t,e),this.renderYCrosshairs(t,e))},e.prototype.renderXCrosshairs=function(t,e){var n,i,r=this.getViewWithGeometry(this.view).getCoordinate();if(r.isRect)r.isTransposed?(n={x:r.start.x,y:t.y},i={x:r.end.x,y:t.y}):(n={x:t.x,y:r.end.y},i={x:t.x,y:r.start.y});else{var o=Et(r,t),a=r.getCenter(),l=r.getRadius();i=xt(a.x,a.y,l,o),n=a}var c=Object(s[\"h\"])({start:n,end:i,container:this.getTooltipCrosshairsGroup()},Object(s[\"s\"])(e,\"crosshairs\",{}),this.getCrosshairsText(\"x\",t,e));delete c.type;var u=this.xCrosshair;u?u.update(c):(u=new ct[\"Crosshair\"].Line(c),u.init()),u.render(),u.show(),this.xCrosshair=u},e.prototype.renderYCrosshairs=function(t,e){var n,i,r=this.getViewWithGeometry(this.view).getCoordinate();if(r.isRect){var o=void 0,a=void 0;r.isTransposed?(o={x:t.x,y:r.end.y},a={x:t.x,y:r.start.y}):(o={x:r.start.x,y:t.y},a={x:r.end.x,y:t.y}),n={start:o,end:a},i=\"Line\"}else n={center:r.getCenter(),radius:Lt(r,t),startAngle:r.startAngle,endAngle:r.endAngle},i=\"Circle\";n=Object(s[\"h\"])({container:this.getTooltipCrosshairsGroup()},n,Object(s[\"s\"])(e,\"crosshairs\",{}),this.getCrosshairsText(\"y\",t,e)),delete n.type;var l=this.yCrosshair;l?r.isRect&&\"circle\"===l.get(\"type\")||!r.isRect&&\"line\"===l.get(\"type\")?(l=new ct[\"Crosshair\"][i](n),l.init()):l.update(n):(l=new ct[\"Crosshair\"][i](n),l.init()),l.render(),l.show(),this.yCrosshair=l},e.prototype.getCrosshairsText=function(t,e,n){var i=Object(s[\"s\"])(n,[\"crosshairs\",\"text\"]),r=Object(s[\"s\"])(n,[\"crosshairs\",\"follow\"]),o=this.items;if(i){var a=this.getViewWithGeometry(this.view),l=o[0],c=a.getXScale(),u=a.getYScales()[0],h=void 0,d=void 0;if(r){var p=this.view.getCoordinate().invert(e);h=c.invert(p.x),d=u.invert(p.y)}else h=l.data[c.field],d=l.data[u.field];var f=\"x\"===t?h:d;return Object(s[\"I\"])(i)?i=i(t,f,o,e):i.content=f,{text:i}}},e.prototype.getGuideGroup=function(){if(!this.guideGroup){var t=this.view.foregroundGroup;this.guideGroup=t.addGroup({name:\"tooltipGuide\",capture:!1})}return this.guideGroup},e.prototype.getTooltipMarkersGroup=function(){var t=this.tooltipMarkersGroup;return t&&!t.destroyed?(t.clear(),t.show()):(t=this.getGuideGroup().addGroup({name:\"tooltipMarkersGroup\"}),t.toFront(),this.tooltipMarkersGroup=t),t},e.prototype.getTooltipCrosshairsGroup=function(){var t=this.tooltipCrosshairsGroup;return t||(t=this.getGuideGroup().addGroup({name:\"tooltipCrosshairsGroup\",capture:!1}),t.toBack(),this.tooltipCrosshairsGroup=t),t},e.prototype.findItemsFromView=function(t,e){var n,i;if(!1===t.getOptions().tooltip)return[];var r=this.getTooltipCfg(),o=di(t,e,r);try{for(var s=Object(a[\"i\"])(t.views),l=s.next();!l.done;l=s.next()){var c=l.value;o=o.concat(this.findItemsFromView(c,e))}}catch(u){n={error:u}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return o},e.prototype.getViewWithGeometry=function(t){var e=this;return t.geometries.length?t:Object(s[\"m\"])(t.views,(function(t){return e.getViewWithGeometry(t)}))},e.prototype.getItemsAfterProcess=function(t){var e=this.getTooltipCfg().customItems,n=e||function(t){return t};return n(t)},e}(Li),Bi=Ei,Fi={};function Ni(t){return Fi[t.toLowerCase()]}function zi(t,e){Fi[t.toLowerCase()]=e}var Vi={appear:{duration:450,easing:\"easeQuadOut\"},update:{duration:400,easing:\"easeQuadInOut\"},enter:{duration:400,easing:\"easeQuadInOut\"},leave:{duration:350,easing:\"easeQuadIn\"}},Gi={interval:function(t){return{enter:{animation:t.isRect?t.isTransposed?\"scale-in-x\":\"scale-in-y\":\"fade-in\"},update:{animation:t.isPolar&&t.isTransposed?\"sector-path-update\":null},leave:{animation:\"fade-out\"}}},line:{enter:{animation:\"fade-in\"},leave:{animation:\"fade-out\"}},path:{enter:{animation:\"fade-in\"},leave:{animation:\"fade-out\"}},point:{appear:{animation:\"zoom-in\"},enter:{animation:\"zoom-in\"},leave:{animation:\"zoom-out\"}},area:{enter:{animation:\"fade-in\"},leave:{animation:\"fade-out\"}},polygon:{enter:{animation:\"fade-in\"},leave:{animation:\"fade-out\"}},schema:{enter:{animation:\"fade-in\"},leave:{animation:\"fade-out\"}},edge:{enter:{animation:\"fade-in\"},leave:{animation:\"fade-out\"}},label:{appear:{animation:\"fade-in\",delay:450},enter:{animation:\"fade-in\"},update:{animation:\"position-update\"},leave:{animation:\"fade-out\"}}},Hi={line:function(){return{animation:\"wave-in\"}},area:function(){return{animation:\"wave-in\"}},path:function(){return{animation:\"fade-in\"}},interval:function(t){var e;return t.isRect?e=t.isTransposed?\"grow-in-x\":\"grow-in-y\":(e=\"grow-in-xy\",t.isPolar&&t.isTransposed&&(e=\"wave-in\")),{animation:e}},schema:function(t){var e;return e=t.isRect?t.isTransposed?\"grow-in-x\":\"grow-in-y\":\"grow-in-xy\",{animation:e}},polygon:function(){return{animation:\"fade-in\",duration:500}},edge:function(){return{animation:\"fade-in\"}}};function Wi(t,e){return{delay:Object(s[\"I\"])(t.delay)?t.delay(e):t.delay,easing:Object(s[\"I\"])(t.easing)?t.easing(e):t.easing,duration:Object(s[\"I\"])(t.duration)?t.duration(e):t.duration,callback:t.callback,repeat:t.repeat}}function Xi(t,e,n){var i=Gi[t];return i&&(Object(s[\"I\"])(i)&&(i=i(e)),i=Object(s[\"h\"])({},Vi,i),n)?i[n]:i}function Yi(t,e,n){var i=Object(s[\"s\"])(t.get(\"origin\"),\"data\",f),r=e.animation,o=Wi(e,i);if(r){var a=Ni(r);a&&a(t,o,n)}else t.animate(n.toAttrs,o)}function qi(t,e,n,i,r){if(Hi[n]){var o=Hi[n](i),l=Ni(Object(s[\"s\"])(o,\"animation\",\"\"));if(l){var c=Object(a[\"a\"])(Object(a[\"a\"])(Object(a[\"a\"])({},Vi.appear),o),e);t.stopAnimate(),l(t,c,{coordinate:i,minYPoint:r,toAttrs:null})}}}var Ui=\"element-background\",Zi=function(t){function e(e){var n=t.call(this,e)||this;n.labelShape=[],n.states=[];var i=e.shapeFactory,r=e.container,o=e.offscreenGroup,a=e.elementIndex,s=e.visible,l=void 0===s||s;return n.shapeFactory=i,n.container=r,n.offscreenGroup=o,n.visible=l,n.elementIndex=a,n}return Object(a[\"c\"])(e,t),e.prototype.draw=function(t,e){void 0===e&&(e=!1),this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.drawShape(t,e),!1===this.visible&&this.changeVisible(!1)},e.prototype.update=function(t){var e=this,n=e.shapeFactory,i=e.shape;if(i){this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.setShapeInfo(i,t);var r=this.getOffscreenGroup(),o=n.drawShape(this.shapeType,t,r);o.cfg.data=this.data,o.cfg.origin=t,o.cfg.element=this,this.syncShapeStyle(i,o,this.getStates(),this.getAnimateCfg(\"update\"))}},e.prototype.destroy=function(){var e=this,n=e.shapeFactory,i=e.shape;if(i){var r=this.getAnimateCfg(\"leave\");r?Yi(i,r,{coordinate:n.coordinate,toAttrs:Object(a[\"a\"])({},i.attr())}):i.remove(!0)}this.states=[],this.shapeFactory=void 0,this.container=void 0,this.shape=void 0,this.animate=void 0,this.geometry=void 0,this.labelShape=[],this.model=void 0,this.data=void 0,this.offscreenGroup=void 0,this.statesStyle=void 0,t.prototype.destroy.call(this)},e.prototype.changeVisible=function(e){t.prototype.changeVisible.call(this,e),e?(this.shape&&this.shape.show(),this.labelShape&&this.labelShape.forEach((function(t){t.show()}))):(this.shape&&this.shape.hide(),this.labelShape&&this.labelShape.forEach((function(t){t.hide()})))},e.prototype.setState=function(t,e){var n=this,i=n.states,r=n.shapeFactory,o=n.model,a=n.shape,s=n.shapeType,l=i.indexOf(t);if(e){if(l>-1)return;i.push(t),\"active\"!==t&&\"selected\"!==t||null===a||void 0===a||a.toFront()}else{if(-1===l)return;if(i.splice(l,1),\"active\"===t||\"selected\"===t){var c=this.geometry,u=c.sortZIndex,h=c.zIndexReversed,d=h?this.geometry.elements.length-this.elementIndex:this.elementIndex;u?a.setZIndex(d):a.set(\"zIndex\",d)}}var p=r.drawShape(s,o,this.getOffscreenGroup());i.length?this.syncShapeStyle(a,p,i,null):this.syncShapeStyle(a,p,[\"reset\"],null),p.remove(!0);var f={state:t,stateStatus:e,element:this,target:this.container};this.container.emit(\"statechange\",f),Object(ct[\"propagationDelegate\"])(this.shape,\"statechange\",f)},e.prototype.clearStates=function(){var t=this,e=this.states;Object(s[\"j\"])(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,i={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return e&&(i=e.getCanvasBBox()),n&&n.forEach((function(t){var e=t.getCanvasBBox();i.x=Math.min(e.x,i.x),i.y=Math.min(e.y,i.y),i.minX=Math.min(e.minX,i.minX),i.minY=Math.min(e.minY,i.minY),i.maxX=Math.max(e.maxX,i.maxX),i.maxY=Math.max(e.maxY,i.maxY)})),i.width=i.maxX-i.minX,i.height=i.maxY-i.minY,i},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this,e=t.shapeType,n=t.geometry,i=t.shapeFactory,r=n.stateOption,o=i.defaultShapeType,a=i.theme[e]||i.theme[o];this.statesStyle=Object(s[\"h\"])({},a,r)}return this.statesStyle},e.prototype.getStateStyle=function(t,e){var n=this.getStatesStyle(),i=Object(s[\"s\"])(n,[t,\"style\"],{}),r=i[e]||i;return Object(s[\"I\"])(r)?r(this):r},e.prototype.getAnimateCfg=function(t){var e=this,n=this.animate;if(n){var i=n[t];return i?Object(a[\"a\"])(Object(a[\"a\"])({},i),{callback:function(){var t;Object(s[\"I\"])(i.callback)&&i.callback(),null===(t=e.geometry)||void 0===t||t.emit(c.AFTER_DRAW_ANIMATE)}}):i}return null},e.prototype.drawShape=function(t,e){var n;void 0===e&&(e=!1);var i=this,r=i.shapeFactory,o=i.container,l=i.shapeType;if(this.shape=r.drawShape(l,t,o),this.shape){this.setShapeInfo(this.shape,t);var u=this.shape.cfg.name;u?Object(s[\"Q\"])(u)&&(this.shape.cfg.name=[\"element\",u]):this.shape.cfg.name=[\"element\",this.shapeFactory.geometryType];var h=e?\"enter\":\"appear\",d=this.getAnimateCfg(h);d&&(null===(n=this.geometry)||void 0===n||n.emit(c.BEFORE_DRAW_ANIMATE),Yi(this.shape,d,{coordinate:r.coordinate,toAttrs:Object(a[\"a\"])({},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 i=t.get(\"children\");i.forEach((function(t){n.setShapeInfo(t,e)}))}},e.prototype.syncShapeStyle=function(t,e,n,i,r){var o,a=this;if(void 0===n&&(n=[]),void 0===r&&(r=0),t&&e){var l=t.get(\"clipShape\"),u=e.get(\"clipShape\");if(this.syncShapeStyle(l,u,n,i),t.isGroup())for(var h=t.get(\"children\"),d=e.get(\"children\"),p=0;p=0?n:i<=0?i:0,t},e.prototype.createAttrOption=function(t,e,n){if(Object(s[\"K\"])(e)||Object(s[\"O\"])(e))Object(s[\"O\"])(e)&&Object(s[\"H\"])(Object.keys(e),[\"values\"])?Object(s[\"lb\"])(this.attributeOption,t,{fields:e.values}):Object(s[\"lb\"])(this.attributeOption,t,e);else{var i={};Object(s[\"M\"])(e)?i.values=[e]:i.fields=hr(e),n&&(Object(s[\"I\"])(n)?i.callback=n:i.values=n),Object(s[\"lb\"])(this.attributeOption,t,i)}},e.prototype.initAttributes=function(){var t=this,e=this,n=e.attributes,i=e.attributeOption,r=e.theme,o=e.shapeType;this.groupScales=[];var l={},c=function(e){if(i.hasOwnProperty(e)){var c=i[e];if(!c)return{value:void 0};var u=Object(a[\"a\"])({},c),h=u.callback,d=u.values,f=u.fields,g=void 0===f?[]:f,y=g.map((function(n){var i=t.scales[n];if(!l[n]&&p.includes(e)){var r=Vt(i,Object(s[\"s\"])(t.scaleDefs,n),e,t.type);\"cat\"===r&&(t.groupScales.push(i),l[n]=!0)}return i}));u.scales=y,\"position\"!==e&&1===y.length&&\"identity\"===y[0].type?u.values=y[0].values:h||d||(\"size\"===e?u.values=r.sizes:\"shape\"===e?u.values=r.shapes[o]||[]:\"color\"===e&&(y.length?u.values=y[0].values.length<=10?r.colors10:r.colors20:u.values=r.colors10));var v=Z(e);n[e]=new v(u)}};for(var u in i){var h=c(u);if(\"object\"===typeof h)return h.value}},e.prototype.processData=function(t){var e,n;this.hasSorted=!1;for(var i=this.getAttribute(\"position\").scales,r=i.filter((function(t){return t.isCategory})),o=this.groupData(t),s=[],l=0,c=o.length;lo&&(o=u)}var h=this.scaleDefs,d={};rt.max&&!Object(s[\"s\"])(h,[i,\"max\"])&&(d.max=o),t.change(d)},e.prototype.beforeMapping=function(t){var e=t;if(this.sortable&&this.sort(e),this.generatePoints)for(var n=0,i=e.length;n1)for(var h=0;h0}))}function Sr(t,e,n){var i=n.data,r=n.origin,o=n.animateCfg,a=n.coordinate,l=Object(s[\"s\"])(o,\"update\");t.set(\"data\",i),t.set(\"origin\",r),t.set(\"animateCfg\",o),t.set(\"coordinate\",a),t.set(\"visible\",e.get(\"visible\")),(t.getChildren()||[]).forEach((function(s,c){var u=e.getChildByIndex(c);if(u){s.set(\"data\",i),s.set(\"origin\",r),s.set(\"animateCfg\",o),s.set(\"coordinate\",a);var h=_t(s,u);l?Yi(s,l,{toAttrs:h,coordinate:a}):s.attr(h),u.isGroup()&&Sr(s,u,n)}else t.removeChild(s),s.remove(!0)})),Object(s[\"j\"])(e.getChildren(),(function(e,n){n>=t.getCount()&&(e.destroyed||t.add(e))}))}var _r=function(){function t(t){this.shapesMap={};var e=t.layout,n=t.container;this.layout=e,this.container=n}return t.prototype.render=function(t,e,n){return void 0===n&&(n=!1),Object(a[\"b\"])(this,void 0,void 0,(function(){var i,r,o,l,c,u,h,d,p=this;return Object(a[\"d\"])(this,(function(f){switch(f.label){case 0:if(i={},r=this.createOffscreenGroup(),!t.length)return[3,2];try{for(o=Object(a[\"i\"])(t),l=o.next();!l.done;l=o.next())c=l.value,c&&(i[c.id]=this.renderLabel(c,r))}catch(g){h={error:g}}finally{try{l&&!l.done&&(d=o.return)&&d.call(o)}finally{if(h)throw h.error}}return[4,this.doLayout(t,e,i)];case 1:f.sent(),this.renderLabelLine(t,i),this.renderLabelBackground(t,i),this.adjustLabel(t,i),f.label=2;case 2:return u=this.shapesMap,Object(s[\"j\"])(i,(function(t,e){if(t.destroyed)delete i[e];else{if(u[e]){var r=t.get(\"data\"),o=t.get(\"origin\"),l=t.get(\"coordinate\"),c=t.get(\"animateCfg\"),h=u[e];Sr(h,i[e],{data:r,origin:o,animateCfg:c,coordinate:l}),i[e]=h}else{if(p.container.destroyed)return;p.container.add(t);var d=Object(s[\"s\"])(t.get(\"animateCfg\"),n?\"enter\":\"appear\");d&&Yi(t,d,{toAttrs:Object(a[\"a\"])({},t.attr()),coordinate:t.get(\"coordinate\")})}delete u[e]}})),Object(s[\"j\"])(u,(function(t){var e=Object(s[\"s\"])(t.get(\"animateCfg\"),\"leave\");e?Yi(t,e,{toAttrs:null,coordinate:t.get(\"coordinate\")}):t.remove(!0)})),this.shapesMap=i,r.destroy(),[2]}}))}))},t.prototype.clear=function(){this.container.clear(),this.shapesMap={}},t.prototype.destroy=function(){this.container.destroy(),this.shapesMap=null},t.prototype.renderLabel=function(t,e){var n,i=t.id,r=t.elementId,o=t.data,l=t.mappingData,c=t.coordinate,u=t.animate,h=t.content,d=t.capture,p={id:i,elementId:r,capture:d,data:o,origin:Object(a[\"a\"])(Object(a[\"a\"])({},l),{data:l[f]}),coordinate:c},g=e.addGroup(Object(a[\"a\"])({name:\"label\",animateCfg:!1!==this.animate&&null!==u&&!1!==u&&Object(s[\"h\"])({},this.animate,u)},p));if(h.isGroup&&h.isGroup()||h.isShape&&h.isShape()){var y=h.getCanvasBBox(),v=y.width,m=y.height,b=Object(s[\"s\"])(t,\"textAlign\",\"left\"),x=t.x,O=t.y-m/2;\"center\"===b?x-=v/2:\"right\"!==b&&\"end\"!==b||(x-=v),yr(h,x,O),n=h,g.add(h)}else{var w=Object(s[\"s\"])(t,[\"style\",\"fill\"]);n=g.addShape(\"text\",Object(a[\"a\"])({attrs:Object(a[\"a\"])(Object(a[\"a\"])({x:t.x,y:t.y,textAlign:t.textAlign,textBaseline:Object(s[\"s\"])(t,\"textBaseline\",\"middle\"),text:t.content},t.style),{fill:Object(s[\"L\"])(w)?t.color:w})},p))}return t.rotate&&mr(n,t.rotate),g},t.prototype.doLayout=function(t,e,n){return Object(a[\"b\"])(this,void 0,void 0,(function(){var i,r=this;return Object(a[\"d\"])(this,(function(o){switch(o.label){case 0:return this.layout?(i=Object(s[\"C\"])(this.layout)?this.layout:[this.layout],[4,Promise.all(i.map((function(i){var o=er(Object(s[\"s\"])(i,\"type\",\"\"));if(o){var a=[],l=[];return Object(s[\"j\"])(n,(function(t,n){a.push(t),l.push(e[t.get(\"elementId\")])})),o(t,a,l,r.region,i.cfg)}})))]):[3,2];case 1:o.sent(),o.label=2;case 2:return[2]}}))}))},t.prototype.renderLabelLine=function(t,e){Object(s[\"j\"])(t,(function(t){var n=Object(s[\"s\"])(t,\"coordinate\");if(t&&n){var i=n.getCenter(),r=n.getRadius();if(t.labelLine){var o=Object(s[\"s\"])(t,\"labelLine\",{}),l=t.id,c=o.path;if(!c){var u=xt(i.x,i.y,r,t.angle);c=[[\"M\",u.x,u.y],[\"L\",t.x,t.y]]}var h=e[l];h.destroyed||h.addShape(\"path\",{capture:!1,attrs:Object(a[\"a\"])({path:c,stroke:t.color?t.color:Object(s[\"s\"])(t,[\"style\",\"fill\"],\"#000\"),fill:null},o.style),id:l,origin:t.mappingData,data:t.data,coordinate:t.coordinate})}}}))},t.prototype.renderLabelBackground=function(t,e){Object(s[\"j\"])(t,(function(t){var n=Object(s[\"s\"])(t,\"coordinate\"),i=Object(s[\"s\"])(t,\"background\");if(i&&n){var r=t.id,o=e[r];if(!o.destroyed){var l=o.getChildren()[0];if(l){var c=Or(o,t,i.padding),u=c.rotation,h=Object(a[\"f\"])(c,[\"rotation\"]),d=o.addShape(\"rect\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},h),i.style||{}),id:r,origin:t.mappingData,data:t.data,coordinate:t.coordinate});if(d.setZIndex(-1),u){var p=l.getMatrix();d.setMatrix(p)}}}}}))},t.prototype.createOffscreenGroup=function(){var t=this.container,e=t.getGroupBase(),n=new e({});return n},t.prototype.adjustLabel=function(t,e){Object(s[\"j\"])(t,(function(t){if(t){var n=t.id,i=e[n];if(!i.destroyed){var r=i.findAll((function(t){return\"path\"!==t.get(\"type\")}));Object(s[\"j\"])(r,(function(e){e&&(t.offsetX&&e.attr(\"x\",e.attr(\"x\")+t.offsetX),t.offsetY&&e.attr(\"y\",e.attr(\"y\")+t.offsetY))}))}}}))},t}(),Cr=_r;function Mr(t){var e=0;return Object(s[\"j\"])(t,(function(t){e+=t})),e/t.length}var Ar=function(){function t(t){this.geometry=t}return t.prototype.getLabelItems=function(t){var e=this,n=[],i=this.getLabelCfgs(t);return Object(s[\"j\"])(t,(function(t,r){var o=i[r];if(!o||Object(s[\"K\"])(t.x)||Object(s[\"K\"])(t.y))n.push(null);else{var l=Object(s[\"C\"])(o.content)?o.content:[o.content];o.content=l;var c=l.length;Object(s[\"j\"])(l,(function(i,r){if(Object(s[\"K\"])(i)||\"\"===i)n.push(null);else{var l=Object(a[\"a\"])(Object(a[\"a\"])({},o),e.getLabelPoint(o,t,r));l.textAlign||(l.textAlign=e.getLabelAlign(l,r,c)),l.offset<=0&&(l.labelLine=null),n.push(l)}}))}})),n},t.prototype.render=function(t,e){return void 0===e&&(e=!1),Object(a[\"b\"])(this,void 0,void 0,(function(){var n,i,r;return Object(a[\"d\"])(this,(function(o){switch(o.label){case 0:return n=this.getLabelItems(t),i=this.getLabelsRenderer(),r=this.getGeometryShapes(),[4,i.render(n,r,e)];case 1:return o.sent(),[2]}}))}))},t.prototype.clear=function(){var t=this.labelsRenderer;t&&t.clear()},t.prototype.destroy=function(){var t=this.labelsRenderer;t&&t.destroy(),this.labelsRenderer=null},t.prototype.getCoordinate=function(){return this.geometry.coordinate},t.prototype.getDefaultLabelCfg=function(t,e){var n=this.geometry,i=n.type,r=n.theme;return\"polygon\"===i||\"interval\"===i&&\"middle\"===e||t<0&&![\"line\",\"point\",\"path\"].includes(i)?Object(s[\"s\"])(r,\"innerLabels\",{}):Object(s[\"s\"])(r,\"labels\",{})},t.prototype.getThemedLabelCfg=function(t){var e,n=this.geometry,i=this.getDefaultLabelCfg(),r=n.type,o=n.theme;return e=\"polygon\"===r||t.offset<0&&![\"line\",\"point\",\"path\"].includes(r)?Object(s[\"h\"])({},i,o.innerLabels,t):Object(s[\"h\"])({},i,o.labels,t),e},t.prototype.setLabelPosition=function(t,e,n,i){},t.prototype.getLabelOffset=function(t){var e=this.getCoordinate(),n=this.getOffsetVector(t);return e.isTransposed?n[0]:n[1]},t.prototype.getLabelOffsetPoint=function(t,e,n){var i=t.offset,r=this.getCoordinate(),o=r.isTransposed,a=o?\"x\":\"y\",s=o?1:-1,l={x:0,y:0};return l[a]=e>0||1===n?i*s:i*s*-1,l},t.prototype.getLabelPoint=function(t,e,n){var i=this.getCoordinate(),r=t.content.length;function o(e,n,i){void 0===i&&(i=!1);var r=e;return Object(s[\"C\"])(r)&&(r=1===t.content.length?i?Mr(r):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\"},l=Object(s[\"C\"])(e.shape)?e.shape[0]:e.shape,c=\"funnel\"===l||\"pyramid\"===l;if(\"polygon\"===this.geometry.type){var u=St(e.x,e.y);a.x=u[0],a.y=u[1]}else\"interval\"!==this.geometry.type||c?(a.x=o(e.x,n),a.y=o(e.y,n)):(a.x=o(e.x,n,!0),a.y=o(e.y,n));if(c){var h=Object(s[\"s\"])(e,\"nextPoints\"),d=Object(s[\"s\"])(e,\"points\");if(h){var p=i.convert(d[1]),f=i.convert(h[1]);a.x=(p.x+f.x)/2,a.y=(p.y+f.y)/2}else if(\"pyramid\"===l){p=i.convert(d[1]),f=i.convert(d[2]);a.x=(p.x+f.x)/2,a.y=(p.y+f.y)/2}}t.position&&this.setLabelPosition(a,e,n,t.position);var g=this.getLabelOffsetPoint(t,n,r);return a.start={x:a.x,y:a.y},a.x+=g.x,a.y+=g.y,a.color=e.color,a},t.prototype.getLabelAlign=function(t,e,n){var i=\"center\",r=this.getCoordinate();if(r.isTransposed){var o=t.offset;i=o<0?\"right\":0===o?\"center\":\"left\",n>1&&0===e&&(\"right\"===i?i=\"left\":\"left\"===i&&(i=\"right\"))}return i},t.prototype.getLabelId=function(t){var e=this.geometry,n=e.type,i=e.getXScale(),r=e.getYScale(),o=t[f],a=e.getElementId(t);return\"line\"===n||\"area\"===n?a+=\" \".concat(o[i.field]):\"path\"===n&&(a+=\" \".concat(o[i.field],\"-\").concat(o[r.field])),a},t.prototype.getLabelsRenderer=function(){var t=this.geometry,e=t.labelsContainer,n=t.labelOption,i=t.canvasRegion,r=t.animateOption,o=this.geometry.coordinate,a=this.labelsRenderer;return a||(a=new Cr({container:e,layout:Object(s[\"s\"])(n,[\"cfg\",\"layout\"],{type:this.defaultLayout})}),this.labelsRenderer=a),a.region=i,a.animate=!!r&&Xi(\"label\",o),a},t.prototype.getLabelCfgs=function(t){var e=this,n=this.geometry,i=n.labelOption,r=n.scales,o=n.coordinate,l=i,c=l.fields,u=l.callback,h=l.cfg,d=c.map((function(t){return r[t]})),p=[];return Object(s[\"j\"])(t,(function(t,n){var i,r=t[f],l=e.getLabelText(r,d);if(u){var g=c.map((function(t){return r[t]}));if(i=u.apply(void 0,Object(a[\"g\"])([],Object(a[\"e\"])(g),!1)),Object(s[\"K\"])(i))return void p.push(null)}var y=Object(a[\"a\"])(Object(a[\"a\"])({id:e.getLabelId(t),elementId:e.geometry.getElementId(t),data:r,mappingData:t,coordinate:o},h),i);Object(s[\"I\"])(y.position)&&(y.position=y.position(r,t,n));var v=e.getLabelOffset(y.offset||0),m=e.getDefaultLabelCfg(v,y.position);y=Object(s[\"h\"])({},m,y),y.offset=e.getLabelOffset(y.offset||0);var b=y.content;Object(s[\"I\"])(b)?y.content=b(r,t,n):Object(s[\"S\"])(b)&&(y.content=l[0]),p.push(y)})),p},t.prototype.getLabelText=function(t,e){var n=[];return Object(s[\"j\"])(e,(function(e){var i=t[e.field];i=Object(s[\"C\"])(i)?i.map((function(t){return e.getText(t)})):e.getText(i),Object(s[\"K\"])(i)||\"\"===i?n.push(null):n.push(i)})),n},t.prototype.getOffsetVector=function(t){void 0===t&&(t=0);var e=this.getCoordinate(),n=0;return Object(s[\"M\"])(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[\"j\"])(t.elementsMap,(function(t,n){e[n]=t.shape})),Object(s[\"j\"])(t.getOffscreenGroup().getChildren(),(function(n){var i=t.getElementId(n.get(\"origin\").mappingData);e[i]=n})),e},t}(),kr=Ar;function Ir(t,e,n){if(!t)return n;var i;if(t.callback&&t.callback.length>1){var r=Array(t.callback.length-1).fill(\"\");i=t.mapping.apply(t,Object(a[\"g\"])([e],Object(a[\"e\"])(r),!1)).join(\"\")}else i=t.mapping(e).join(\"\");return i||n}var Tr={hexagon:function(t,e,n){var i=n/2*Math.sqrt(3);return[[\"M\",t,e-n],[\"L\",t+i,e-n/2],[\"L\",t+i,e+n/2],[\"L\",t,e+n],[\"L\",t-i,e+n/2],[\"L\",t-i,e-n/2],[\"Z\"]]},bowtie:function(t,e,n){var i=n-1.5;return[[\"M\",t-n,e-i],[\"L\",t+n,e+i],[\"L\",t+n,e-i],[\"L\",t-n,e+i],[\"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]]}},Dr=[\"line\",\"cross\",\"tick\",\"plus\",\"hyphen\"];function Pr(t,e){return Object(s[\"I\"])(e)?e(t):Object(s[\"h\"])({},t,e)}function Lr(t,e){var n=t.symbol;if(Object(s[\"Q\"])(n)&&-1!==Dr.indexOf(n)){var i=Object(s[\"s\"])(t,\"style\",{}),r=Object(s[\"s\"])(i,\"lineWidth\",1),o=i.stroke||i.fill||e;t.style=Object(s[\"h\"])({},t.style,{lineWidth:r,stroke:o,fill:null})}}function Rr(t){var e=t.symbol;Object(s[\"Q\"])(e)&&Tr[e]&&(t.symbol=Tr[e])}function Er(t){return t.startsWith(r.LEFT)||t.startsWith(r.RIGHT)?\"vertical\":\"horizontal\"}function Br(t,e,n,i,r){var o=n.getScale(n.type);if(o.isCategory){var l=o.field,c=e.getAttribute(\"color\"),u=e.getAttribute(\"shape\"),h=t.getTheme().defaultColor,d=e.coordinate.isPolar;return o.getTicks().map((function(n,p){var f,g=n.text,y=n.value,v=g,m=o.invert(y),b=0===t.filterFieldData(l,[(f={},f[l]=m,f)]).length;Object(s[\"j\"])(t.views,(function(t){var e;t.filterFieldData(l,[(e={},e[l]=m,e)]).length||(b=!0)}));var x=Ir(c,m,h),O=Ir(u,m,\"point\"),w=e.getShapeMarker(O,{color:x,isInPolar:d}),j=r;return Object(s[\"I\"])(j)&&(j=j(v,p,Object(a[\"a\"])({name:v,value:m},Object(s[\"h\"])({},i,w)))),w=Object(s[\"h\"])({},i,w,At(Object(a[\"a\"])({},j),[\"style\"])),Lr(w,x),j&&j.style&&(w.style=Pr(w.style,j.style)),Rr(w),{id:m,name:v,value:m,marker:w,unchecked:b}}))}return[]}function Fr(t,e,n){return n.map((function(n,i){var r=e;Object(s[\"I\"])(r)&&(r=r(n.name,i,Object(s[\"h\"])({},t,n)));var o=Object(s[\"I\"])(n.marker)?n.marker(n.name,i,Object(s[\"h\"])({},t,n)):n.marker,a=Object(s[\"h\"])({},t,r,o);return Rr(a),n.marker=a,n}))}function Nr(t,e){var n=Object(s[\"s\"])(t,[\"components\",\"legend\"],{});return Object(s[\"h\"])({},Object(s[\"s\"])(n,[\"common\"],{}),Object(s[\"h\"])({},Object(s[\"s\"])(n,[e],{})))}function zr(t){return!t&&(null===t||void 0===t||isNaN(t))}function Vr(t){if(Object(s[\"C\"])(t))return zr(t[1].y);var e=t.y;return Object(s[\"C\"])(e)?zr(e[0]):zr(e)}function Gr(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 i=[],r=0,o=t.length;r0&&(c[0][0]=\"L\")),o=o.concat(c)})),o.push([\"Z\"])}return o}function fo(t,e,n,i,r){for(var o=Xr(t,e,!e,\"lineWidth\"),a=t.connectNulls,s=t.isInCircle,l=t.points,c=t.showSinglePoint,u=Gr(l,a,c),h=[],d=0,p=u.length;dr&&(r=e),e=e[0]})));var y=this.scales[p];try{for(var v=Object(a[\"i\"])(t),m=v.next();!m.done;m=v.next()){var b=m.value,x=this.getDrawCfg(b),O=x.x,w=x.y,j=y.scale(b[f][p]);this.drawGrayScaleBlurredCircle(O-l.x,w-c.y,n+i,j,g)}}catch(C){r={error:C}}finally{try{m&&!m.done&&(o=v.return)&&o.call(v)}finally{if(r)throw r.error}}var S=g.getImageData(0,0,u,h);this.clearShadowCanvasCtx(),this.colorize(S),g.putImageData(S,0,0);var _=this.getImageShape();_.attr(\"x\",l.x),_.attr(\"y\",c.y),_.attr(\"width\",u),_.attr(\"height\",h),_.attr(\"img\",g.canvas),_.set(\"origin\",this.getShapeInfo(t))},e.prototype.getDefaultSize=function(){var t=this.getAttribute(\"position\"),e=this.coordinate;return Math.min(e.getWidth()/(4*t.scales[0].ticks.length),e.getHeight()/(4*t.scales[1].ticks.length))},e.prototype.clearShadowCanvasCtx=function(){var t=this.getShadowCanvasCtx();t.clearRect(0,0,t.canvas.width,t.canvas.height)},e.prototype.getShadowCanvasCtx=function(){var t=this.shadowCanvas;return t||(t=document.createElement(\"canvas\"),this.shadowCanvas=t),t.width=this.coordinate.getWidth(),t.height=this.coordinate.getHeight(),t.getContext(\"2d\")},e.prototype.getGrayScaleBlurredCanvas=function(){return this.grayScaleBlurredCanvas||(this.grayScaleBlurredCanvas=document.createElement(\"canvas\")),this.grayScaleBlurredCanvas},e.prototype.drawGrayScaleBlurredCircle=function(t,e,n,i,r){var o=this.getGrayScaleBlurredCanvas();r.globalAlpha=i,r.drawImage(o,t-n,e-n)},e.prototype.colorize=function(t){for(var e=this.getAttribute(\"color\"),n=t.data,i=this.paletteCache,r=3;re&&(n=n?e/(1+i/n):0,i=e-n),r+o>e&&(r=r?e/(1+o/r):0,o=e-r),[n||0,i||0,r||0,o||0]}function _o(t,e,n){var i=[];if(n.isRect){var r=n.isTransposed?{x:n.start.x,y:e[0].y}:{x:e[0].x,y:n.start.y},o=n.isTransposed?{x:n.end.x,y:e[2].y}:{x:e[3].x,y:n.end.y},l=Object(s[\"s\"])(t,[\"background\",\"style\",\"radius\"]);if(l){var c=n.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,u=n.isTransposed?n.getWidth():n.getHeight(),h=Object(a[\"e\"])(So(l,Math.min(c,u)),4),d=h[0],p=h[1],f=h[2],g=h[3],y=n.isTransposed&&n.isReflect(\"y\"),v=y?0:1,m=function(t){return y?-t:t};i.push([\"M\",r.x,o.y+m(d)]),0!==d&&i.push([\"A\",d,d,0,0,v,r.x+d,o.y]),i.push([\"L\",o.x-p,o.y]),0!==p&&i.push([\"A\",p,p,0,0,v,o.x,o.y+m(p)]),i.push([\"L\",o.x,r.y-m(f)]),0!==f&&i.push([\"A\",f,f,0,0,v,o.x-f,r.y]),i.push([\"L\",r.x+g,r.y]),0!==g&&i.push([\"A\",g,g,0,0,v,r.x,r.y-m(g)])}else i.push([\"M\",r.x,r.y]),i.push([\"L\",o.x,r.y]),i.push([\"L\",o.x,o.y]),i.push([\"L\",r.x,o.y]),i.push([\"L\",r.x,r.y]);i.push([\"z\"])}if(n.isPolar){var b=n.getCenter(),x=jt(t,n),O=x.startAngle,w=x.endAngle;if(\"theta\"===n.type||n.isTransposed){var j=function(t){return Math.pow(t,2)};d=Math.sqrt(j(b.x-e[0].x)+j(b.y-e[0].y)),p=Math.sqrt(j(b.x-e[2].x)+j(b.y-e[2].y));i=Ot(b.x,b.y,d,n.startAngle,n.endAngle,p)}else i=Ot(b.x,b.y,n.getRadius(),O,w)}return i}function Co(t,e,n){var i=n.getWidth(),r=n.getHeight(),o=\"rect\"===n.type,a=[],s=(t[2].x-t[1].x)/2,l=n.isTransposed?s*r/i:s*i/r;return\"round\"===e?(o?(a.push([\"M\",t[0].x,t[0].y+l]),a.push([\"L\",t[1].x,t[1].y-l]),a.push([\"A\",s,s,0,0,1,t[2].x,t[2].y-l]),a.push([\"L\",t[3].x,t[3].y+l]),a.push([\"A\",s,s,0,0,1,t[0].x,t[0].y+l])):(a.push([\"M\",t[0].x,t[0].y]),a.push([\"L\",t[1].x,t[1].y]),a.push([\"A\",s,s,0,0,1,t[2].x,t[2].y]),a.push([\"L\",t[3].x,t[3].y]),a.push([\"A\",s,s,0,0,1,t[0].x,t[0].y])),a.push([\"z\"])):a=jo(t),a}function Mo(t,e,n){var i=[];return Object(s[\"K\"])(e)?n?i.push([\"M\",t[0].x,t[0].y],[\"L\",t[1].x,t[1].y],[\"L\",(t[2].x+t[3].x)/2,(t[2].y+t[3].y)/2],[\"Z\"]):i.push([\"M\",t[0].x,t[0].y],[\"L\",t[1].x,t[1].y],[\"L\",t[2].x,t[2].y],[\"L\",t[3].x,t[3].y],[\"Z\"]):i.push([\"M\",t[0].x,t[0].y],[\"L\",t[1].x,t[1].y],[\"L\",e[1].x,e[1].y],[\"L\",e[0].x,e[0].y],[\"Z\"]),i}function Ao(t,e){return[e,t]}function ko(t,e,n){var i,r,o,s,l,c,u,h=Object(a[\"e\"])(Object(a[\"g\"])([],Object(a[\"e\"])(t),!1),4),d=h[0],p=h[1],f=h[2],g=h[3],y=Object(a[\"e\"])(\"number\"===typeof n?Array(4).fill(n):n,4),v=y[0],m=y[1],b=y[2],x=y[3];e.isTransposed&&(i=Object(a[\"e\"])(Ao(p,g),2),p=i[0],g=i[1]),e.isReflect(\"y\")&&(r=Object(a[\"e\"])(Ao(d,p),2),d=r[0],p=r[1],o=Object(a[\"e\"])(Ao(f,g),2),f=o[0],g=o[1]),e.isReflect(\"x\")&&(s=Object(a[\"e\"])(Ao(d,g),2),d=s[0],g=s[1],l=Object(a[\"e\"])(Ao(p,f),2),p=l[0],f=l[1]);var O=[],w=function(t){return Math.abs(t)};return c=Object(a[\"e\"])(So([v,m,b,x],Math.min(w(g.x-d.x),w(p.y-d.y))).map((function(t){return w(t)})),4),v=c[0],m=c[1],b=c[2],x=c[3],e.isTransposed&&(u=Object(a[\"e\"])([x,v,m,b],4),v=u[0],m=u[1],b=u[2],x=u[3]),d.ya&&(r=a)}return r}function To(t,e){if(e){var n=Object(s[\"q\"])(t),i=Object(s[\"yb\"])(n,e);return i.length}return t.length}function Do(t){var e=t.theme,n=t.coordinate,i=t.getXScale(),r=i.values,o=t.beforeMappingData,a=r.length,l=Dt(t.coordinate),c=t.intervalPadding,u=t.dodgePadding,h=t.maxColumnWidth||e.maxColumnWidth,d=t.minColumnWidth||e.minColumnWidth,p=t.columnWidthRatio||e.columnWidthRatio,f=t.multiplePieWidthRatio||e.multiplePieWidthRatio,g=t.roseWidthRatio||e.roseWidthRatio;if(i.isLinear&&r.length>1){r.sort();var y=Io(r,i);a=(i.max-i.min)/y,r.length>a&&(a=r.length)}var v=i.range,m=1/a,b=1;if(n.isPolar?b=n.isTransposed&&a>1?f:g:(i.isLinear&&(m*=v[1]-v[0]),b=p),!Object(s[\"K\"])(c)&&c>=0){var x=c/l;m=(1-(a-1)*x)/a}else m*=b;if(t.getAdjust(\"dodge\")){var O=t.getAdjust(\"dodge\"),w=O.dodgeBy,j=To(o,w);if(!Object(s[\"K\"])(u)&&u>=0){var S=u/l;m=(m-S*(j-1))/j}else!Object(s[\"K\"])(c)&&c>=0?(m*=b,m/=j):m/=j;m=m>=0?m:0}if(!Object(s[\"K\"])(h)&&h>=0){var _=h/l;m>_&&(m=_)}if(!Object(s[\"K\"])(d)&&d>=0){var C=d/l;m0&&!Object(s[\"s\"])(n,[i,\"min\"])&&e.change({min:0}),o<=0&&!Object(s[\"s\"])(n,[i,\"max\"])&&e.change({max:0}))}},e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return n.background=this.background,n},e}(fr),Lo=Po,Ro=function(t){function e(e){var n=t.call(this,e)||this;n.type=\"line\";var i=e.sortable,r=void 0!==i&&i;return n.sortable=r,n}return Object(a[\"c\"])(e,t),e}(ho),Eo=Ro,Bo=[\"circle\",\"square\",\"bowtie\",\"diamond\",\"hexagon\",\"triangle\",\"triangle-down\"],Fo=[\"cross\",\"tick\",\"plus\",\"hyphen\",\"line\"];function No(t,e,n,i,r){var o,s,l=Xr(e,r,!r,\"r\"),c=t.parsePoints(e.points),u=c[0];if(e.isStack)u=c[1];else if(c.length>1){var h=n.addGroup();try{for(var d=Object(a[\"i\"])(c),p=d.next();!p.done;p=d.next()){var f=p.value;h.addShape({type:\"marker\",attrs:Object(a[\"a\"])(Object(a[\"a\"])(Object(a[\"a\"])({},l),{symbol:Tr[i]||i}),f)})}}catch(g){o={error:g}}finally{try{p&&!p.done&&(s=d.return)&&s.call(d)}finally{if(o)throw o.error}}return h}return n.addShape({type:\"marker\",attrs:Object(a[\"a\"])(Object(a[\"a\"])(Object(a[\"a\"])({},l),{symbol:Tr[i]||i}),u)})}ar(\"point\",{defaultShapeType:\"hollow-circle\",getDefaultPoints:function(t){return qr(t)}});Object(s[\"j\"])(Bo,(function(t){sr(\"point\",\"hollow-\".concat(t),{draw:function(e,n){return No(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:Tr[t]||t,style:{r:4.5,stroke:n,fill:null}}}})}));var zo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"point\",e.shapeType=\"point\",e.generatePoints=!0,e}return Object(a[\"c\"])(e,t),e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return Object(a[\"a\"])(Object(a[\"a\"])({},n),{isStack:!!this.getAdjust(\"stack\")})},e}(fr),Vo=zo;function Go(t){var e=t[0],n=1,i=[[\"M\",e.x,e.y]];while(n2?\"weight\":\"normal\";if(t.isInCircle){var s={x:0,y:1};return\"normal\"===o?n=Jo(r[0],r[1],s):(i.fill=i.stroke,n=$o(r,s)),n=this.parsePath(n),e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},i),{path:n})})}if(\"normal\"===o)return r=this.parsePoints(r),n=wt((r[1].x+r[0].x)/2,r[0].y,Math.abs(r[1].x-r[0].x)/2,Math.PI,2*Math.PI),e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},i),{path:n})});var l=Ko(r[1],r[3]),c=Ko(r[2],r[0]);return n=[[\"M\",r[0].x,r[0].y],[\"L\",r[1].x,r[1].y],l,[\"L\",r[3].x,r[3].y],[\"L\",r[2].x,r[2].y],c,[\"Z\"]],n=this.parsePath(n),i.fill=i.stroke,e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},i),{path:n})})},getMarker:function(t){return{symbol:\"circle\",style:{r:4.5,fill:t.color}}}}),sr(\"edge\",\"smooth\",{draw:function(t,e){var n=Xr(t,!0,!1,\"lineWidth\"),i=t.points,r=this.parsePath(ta(i[0],i[1]));return e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),{path:r})})},getMarker:function(t){return{symbol:\"circle\",style:{r:4.5,fill:t.color}}}});var ea=1/3;function na(t,e){var n=[];n.push({x:t.x,y:t.y*(1-ea)+e.y*ea}),n.push({x:e.x,y:t.y*(1-ea)+e.y*ea}),n.push(e);var i=[[\"M\",t.x,t.y]];return Object(s[\"j\"])(n,(function(t){i.push([\"L\",t.x,t.y])})),i}function ia(t){var e=t.x,n=t.y,i=t.y0;return Object(s[\"C\"])(n)?n.map((function(t,n){return{x:Object(s[\"C\"])(e)?e[n]:e,y:t}})):[{x:e,y:i},{x:e,y:n}]}function ra(t){var e,n,i,r=t.x,o=t.y,l=t.y0,c=t.size;Object(s[\"C\"])(o)?(e=Object(a[\"e\"])(o,2),n=e[0],i=e[1]):(n=l,i=o);var u=r+c/2,h=r-c/2;return[{x:r,y:n},{x:r,y:i},{x:h,y:n},{x:u,y:n},{x:h,y:i},{x:u,y:i}]}function oa(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]]}sr(\"edge\",\"vhv\",{draw:function(t,e){var n=Xr(t,!0,!1,\"lineWidth\"),i=t.points,r=this.parsePath(na(i[0],i[1]));return e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),{path:r})})},getMarker:function(t){return{symbol:\"circle\",style:{r:4.5,fill:t.color}}}}),sr(\"interval\",\"funnel\",{getPoints:function(t){return t.size=2*t.size,wo(t)},draw:function(t,e){var n=Xr(t,!1,!0),i=this.parsePath(Mo(t.points,t.nextPoints,!1)),r=e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),{path:i}),name:\"interval\"});return r},getMarker:function(t){var e=t.color;return{symbol:\"square\",style:{r:4,fill:e}}}}),sr(\"interval\",\"hollow-rect\",{draw:function(t,e){var n=Xr(t,!0,!1),i=e,r=null===t||void 0===t?void 0:t.background;if(r){i=e.addGroup();var o=Yr(t),s=_o(t,this.parsePoints(t.points),this.coordinate);i.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},o),{path:s}),zIndex:-1,name:Ui})}var l=this.parsePath(jo(t.points)),c=i.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),{path:l}),name:\"interval\"});return r?i:c},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}}}}),sr(\"interval\",\"line\",{getPoints:function(t){return ia(t)},draw:function(t,e){var n=Xr(t,!0,!1,\"lineWidth\"),i=At(Object(a[\"a\"])({},n),[\"fill\"]),r=this.parsePath(jo(t.points,!1)),o=e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},i),{path:r}),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}}}}),sr(\"interval\",\"pyramid\",{getPoints:function(t){return t.size=2*t.size,wo(t)},draw:function(t,e){var n=Xr(t,!1,!0),i=this.parsePath(Mo(t.points,t.nextPoints,!0)),r=e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),{path:i}),name:\"interval\"});return r},getMarker:function(t){var e=t.color;return{symbol:\"square\",style:{r:4,fill:e}}}}),sr(\"interval\",\"tick\",{getPoints:function(t){return ra(t)},draw:function(t,e){var n=Xr(t,!0,!1),i=this.parsePath(oa(t.points)),r=e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),{path:i}),name:\"interval\"});return r},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 aa=function(t,e,n){var i,r=t.x,o=t.y,a=e.x,s=e.y;switch(n){case\"hv\":i=[{x:a,y:o}];break;case\"vh\":i=[{x:r,y:s}];break;case\"hvh\":var l=(a+r)/2;i=[{x:l,y:o},{x:l,y:s}];break;case\"vhv\":var c=(o+s)/2;i=[{x:r,y:c},{x:a,y:c}];break;default:break}return i};function sa(t,e){var n=[];return Object(s[\"j\"])(t,(function(i,r){var o=t[r+1];if(n.push(i),o){var a=aa(i,o,e);n=n.concat(a)}})),n}function la(t){return t.map((function(t,e){return 0===e?[\"M\",t.x,t.y]:[\"L\",t.x,t.y]}))}function ca(t,e){var n=Gr(t.points,t.connectNulls,t.showSinglePoint),i=[];return Object(s[\"j\"])(n,(function(t){var n=sa(t,e);i=i.concat(la(n))})),Object(a[\"a\"])(Object(a[\"a\"])({},Xr(t,!0,!1,\"lineWidth\")),{path:i})}function ua(t){var e=Object(s[\"C\"])(t)?t:[t],n=e[0],i=e[e.length-1],r=e.length>1?e[1]:n,o=e.length>3?e[3]:i,a=e.length>2?e[2]:r;return{min:n,max:i,min1:r,max1:o,median:a}}function ha(t,e,n){var i,r=n/2;if(Object(s[\"C\"])(e)){var o=ua(e),a=o.min,l=o.max,c=o.median,u=o.min1,h=o.max1,d=t-r,p=t+r;i=[[d,l],[p,l],[t,l],[t,h],[d,u],[d,h],[p,h],[p,u],[t,u],[t,a],[d,a],[p,a],[d,c],[p,c]]}else{e=Object(s[\"K\"])(e)?.5:e;var f=ua(t),g=(a=f.min,l=f.max,c=f.median,u=f.min1,h=f.max1,e-r),y=e+r;i=[[a,g],[a,y],[a,e],[u,e],[u,g],[u,y],[h,y],[h,g],[h,e],[l,e],[l,g],[l,y],[c,g],[c,y]]}return i.map((function(t){return{x:t[0],y:t[1]}}))}function da(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 pa(t){var e=Object(s[\"C\"])(t)?t:[t],n=e.sort((function(t,e){return e-t}));return Mt(n,4,n[n.length-1])}function fa(t,e,n){var i=pa(e);return[{x:t,y:i[0]},{x:t,y:i[1]},{x:t-n/2,y:i[2]},{x:t-n/2,y:i[1]},{x:t+n/2,y:i[1]},{x:t+n/2,y:i[2]},{x:t,y:i[2]},{x:t,y:i[3]}]}function ga(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 ya(t,e){var n=Math.abs(t[0].x-t[2].x),i=Math.abs(t[0].y-t[2].y),r=Math.min(n,i);e&&(r=Object(s[\"c\"])(e,0,Math.min(n,i))),r/=2;var o=(t[0].x+t[2].x)/2,a=(t[0].y+t[2].y)/2;return{x:o-r,y:a-r,width:2*r,height:2*r}}Object(s[\"j\"])([\"hv\",\"vh\",\"hvh\",\"vhv\"],(function(t){sr(\"line\",t,{draw:function(e,n){var i=ca(e,t),r=n.addShape({type:\"path\",attrs:i,name:\"line\"});return r},getMarker:function(e){return Zr(e,t)}})})),Object(s[\"j\"])(Fo,(function(t){sr(\"point\",t,{draw:function(e,n){return No(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:Tr[t],style:{r:4.5,stroke:n,fill:null}}}})})),sr(\"point\",\"image\",{draw:function(t,e){var n,i,r=Xr(t,!1,!1,\"r\").r,o=this.parsePoints(t.points),s=o[0];if(t.isStack)s=o[1];else if(o.length>1){var l=e.addGroup();try{for(var c=Object(a[\"i\"])(o),u=c.next();!u.done;u=c.next()){var h=u.value;l.addShape(\"image\",{attrs:{x:h.x-r/2,y:h.y-r,width:r,height:r,img:t.shape[1]}})}}catch(d){n={error:d}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return l}return e.addShape(\"image\",{attrs:{x:s.x-r/2,y:s.y-r,width:r,height:r,img:t.shape[1]}})},getMarker:function(t){var e=t.color;return{symbol:\"circle\",style:{r:4.5,fill:e}}}}),Object(s[\"j\"])(Bo,(function(t){sr(\"point\",t,{draw:function(e,n){return No(this,e,n,t,!1)},getMarker:function(e){var n=e.color;return{symbol:Tr[t]||t,style:{r:4.5,fill:n}}}})})),sr(\"schema\",\"box\",{getPoints:function(t){var e=t.x,n=t.y,i=t.size;return ha(e,n,i)},draw:function(t,e){var n=Xr(t,!0,!1),i=this.parsePath(da(t.points)),r=e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),{path:i,name:\"schema\"})});return r},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){var i=[e-6,e-3,e,e+3,e+6],r=ha(t,i,n);return[[\"M\",r[0].x+1,r[0].y],[\"L\",r[1].x-1,r[1].y],[\"M\",r[2].x,r[2].y],[\"L\",r[3].x,r[3].y],[\"M\",r[4].x,r[4].y],[\"L\",r[5].x,r[5].y],[\"L\",r[6].x,r[6].y],[\"L\",r[7].x,r[7].y],[\"L\",r[4].x,r[4].y],[\"Z\"],[\"M\",r[8].x,r[8].y],[\"L\",r[9].x,r[9].y],[\"M\",r[10].x+1,r[10].y],[\"L\",r[11].x-1,r[11].y],[\"M\",r[12].x,r[12].y],[\"L\",r[13].x,r[13].y]]},style:{r:6,lineWidth:1,stroke:e}}}}),sr(\"schema\",\"candle\",{getPoints:function(t){var e=t.x,n=t.y,i=t.size;return fa(e,n,i)},draw:function(t,e){var n=Xr(t,!0,!0),i=this.parsePath(ga(t.points)),r=e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),{path:i,name:\"schema\"})});return r},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){var i=[e+7.5,e+3,e-3,e-7.5],r=fa(t,i,n);return[[\"M\",r[0].x,r[0].y],[\"L\",r[1].x,r[1].y],[\"M\",r[2].x,r[2].y],[\"L\",r[3].x,r[3].y],[\"L\",r[4].x,r[4].y],[\"L\",r[5].x,r[5].y],[\"Z\"],[\"M\",r[6].x,r[6].y],[\"L\",r[7].x,r[7].y]]},style:{lineWidth:1,stroke:e,fill:e,r:6}}}}),sr(\"polygon\",\"square\",{draw:function(t,e){if(!Object(s[\"G\"])(t.points)){var n=Xr(t,!0,!0),i=this.parsePoints(t.points);return e.addShape(\"rect\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),ya(i,t.size)),name:\"polygon\"})}},getMarker:function(t){var e=t.color;return{symbol:\"square\",style:{r:4,fill:e}}}}),sr(\"violin\",\"smooth\",{draw:function(t,e){var n=Xr(t,!0,!0),i=this.parsePath(Wr(t.points));return e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),{path:i})})},getMarker:function(t){var e=t.color;return{symbol:\"circle\",style:{stroke:null,r:4,fill:e}}}}),sr(\"violin\",\"hollow\",{draw:function(t,e){var n=Xr(t,!0,!1),i=this.parsePath(Hr(t.points));return e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),{path:i})})},getMarker:function(t){var e=t.color;return{symbol:\"circle\",style:{r:4,fill:null,stroke:e}}}}),sr(\"violin\",\"hollow-smooth\",{draw:function(t,e){var n=Xr(t,!0,!1),i=this.parsePath(Wr(t.points));return e.addShape(\"path\",{attrs:Object(a[\"a\"])(Object(a[\"a\"])({},n),{path:i})})},getMarker:function(t){var e=t.color;return{symbol:\"circle\",style:{r:4,fill:null,stroke:e}}}});var va=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.getLabelValueDir=function(t){var e=\"y\",n=t.points;return n[0][e]<=n[2][e]?1:-1},e.prototype.getLabelOffsetPoint=function(e,n,i,r){var o,s=t.prototype.getLabelOffsetPoint.call(this,e,n,i),l=this.getCoordinate(),c=l.isTransposed,u=c?\"x\":\"y\",h=this.getLabelValueDir(e.mappingData);return s=Object(a[\"a\"])(Object(a[\"a\"])({},s),(o={},o[u]=s[u]*h,o)),l.isReflect(\"x\")&&(s=Object(a[\"a\"])(Object(a[\"a\"])({},s),{x:-1*s.x})),l.isReflect(\"y\")&&(s=Object(a[\"a\"])(Object(a[\"a\"])({},s),{y:-1*s.y})),s},e.prototype.getThemedLabelCfg=function(t){var e=this.geometry,n=this.getDefaultLabelCfg(),i=e.theme;return Object(s[\"h\"])({},n,i.labels,\"middle\"===t.position?{offset:0}:{},t)},e.prototype.setLabelPosition=function(t,e,n,i){var r,o,a,l,c=this.getCoordinate(),u=c.isTransposed,h=e.points,d=c.convert(h[0]),p=c.convert(h[2]),f=this.getLabelValueDir(e),g=Object(s[\"C\"])(e.shape)?e.shape[0]:e.shape;if(\"funnel\"===g||\"pyramid\"===g){var y=Object(s[\"s\"])(e,\"nextPoints\"),v=Object(s[\"s\"])(e,\"points\");if(y){var m=c.convert(v[0]),b=c.convert(v[1]),x=c.convert(y[0]),O=c.convert(y[1]);u?(r=Math.min(x.y,m.y),a=Math.max(x.y,m.y),o=(b.x+O.x)/2,l=(m.x+x.x)/2):(r=Math.min((b.y+O.y)/2,(m.y+x.y)/2),a=Math.max((b.y+O.y)/2,(m.y+x.y)/2),o=O.x,l=m.x)}else r=Math.min(p.y,d.y),a=Math.max(p.y,d.y),o=p.x,l=d.x}else r=Math.min(p.y,d.y),a=Math.max(p.y,d.y),o=p.x,l=d.x;switch(i){case\"right\":t.x=o,t.y=(r+a)/2,t.textAlign=Object(s[\"s\"])(t,\"textAlign\",f>0?\"left\":\"right\");break;case\"left\":t.x=l,t.y=(r+a)/2,t.textAlign=Object(s[\"s\"])(t,\"textAlign\",f>0?\"left\":\"right\");break;case\"bottom\":u&&(t.x=(o+l)/2),t.y=a,t.textAlign=Object(s[\"s\"])(t,\"textAlign\",\"center\"),t.textBaseline=Object(s[\"s\"])(t,\"textBaseline\",f>0?\"bottom\":\"top\");break;case\"middle\":u&&(t.x=(o+l)/2),t.y=(r+a)/2,t.textAlign=Object(s[\"s\"])(t,\"textAlign\",\"center\"),t.textBaseline=Object(s[\"s\"])(t,\"textBaseline\",\"middle\");break;case\"top\":u&&(t.x=(o+l)/2),t.y=r,t.textAlign=Object(s[\"s\"])(t,\"textAlign\",\"center\"),t.textBaseline=Object(s[\"s\"])(t,\"textBaseline\",f>0?\"bottom\":\"top\");break;default:break}},e}(kr),ma=va,ba=Math.PI/2,xa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.getLabelOffset=function(t){var e=this.getCoordinate(),n=0;if(Object(s[\"M\"])(t))n=t;else if(Object(s[\"Q\"])(t)&&-1!==t.indexOf(\"%\")){var i=e.getRadius();e.innerRadius>0&&(i*=1-e.innerRadius),n=.01*parseFloat(t)*i}return n},e.prototype.getLabelItems=function(e){var n=t.prototype.getLabelItems.call(this,e),i=this.geometry.getYScale();return Object(s[\"W\"])(n,(function(t){if(t&&i){var e=i.scale(Object(s[\"s\"])(t.data,i.field));return Object(a[\"a\"])(Object(a[\"a\"])({},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 i=n.getCenter(),r=t.offset;e=Math.abs(t.x-i.x)<1?\"center\":t.angle>Math.PI||t.angle<=0?r>0?\"left\":\"right\":r>0?\"right\":\"left\"}else e=\"center\";return e},e.prototype.getLabelPoint=function(t,e,n){var i,r=1,o=t.content[n];this.isToMiddle(e)?i=this.getMiddlePoint(e.points):(1===t.content.length&&0===n?n=1:0===n&&(r=-1),i=this.getArcPoint(e,n));var a=t.offset*r,s=this.getPointAngle(i),l=t.labelEmit,c=this.getCirclePoint(s,a,i,l);return 0===c.r?c.content=\"\":(c.content=o,c.angle=s,c.color=e.color),c.rotate=t.autoRotate?this.getLabelRotate(s,a,l):t.rotate,c.start={x:i.x,y:i.y},c},e.prototype.getArcPoint=function(t,e){return void 0===e&&(e=0),Object(s[\"C\"])(t.x)||Object(s[\"C\"])(t.y)?{x:Object(s[\"C\"])(t.x)?t.x[e]:t.x,y:Object(s[\"C\"])(t.y)?t.y[e]:t.y}:{x:t.x,y:t.y}},e.prototype.getPointAngle=function(t){return Et(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,e,n,i){var r=this.getCoordinate(),o=r.getCenter(),s=Lt(r,n);if(0===s)return Object(a[\"a\"])(Object(a[\"a\"])({},o),{r:s});var l=t;if(r.isTransposed&&s>e&&!i){var c=Math.asin(e/(2*s));l=t+2*c}else s+=e;return{x:o.x+s*Math.cos(l),y:o.y+s*Math.sin(l),r:s}},e.prototype.getLabelRotate=function(t,e,n){var i=t+ba;return n&&(i-=ba),i&&(i>ba?i-=Math.PI:i<-ba&&(i+=Math.PI)),i},e.prototype.getMiddlePoint=function(t){var e=this.getCoordinate(),n=t.length,i={x:0,y:0};return Object(s[\"j\"])(t,(function(t){i.x+=t.x,i.y+=t.y})),i.x/=n,i.y/=n,i=e.convert(i),i},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(kr),Oa=xa,wa=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defaultLayout=\"distribute\",e}return Object(a[\"c\"])(e,t),e.prototype.getDefaultLabelCfg=function(e,n){var i=t.prototype.getDefaultLabelCfg.call(this,e,n);return Object(s[\"h\"])({},i,Object(s[\"s\"])(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 i;return e<0&&(i=t,i>Math.PI/2&&(i-=Math.PI),i<-Math.PI/2&&(i+=Math.PI)),i},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate(),i=n.getCenter();return e=t.angle<=Math.PI/2&&t.x>=i.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(),i={x:Object(s[\"C\"])(t.x)?t.x[0]:t.x,y:t.y[0]},r={x:Object(s[\"C\"])(t.x)?t.x[1]:t.x,y:t.y[1]},o=Et(n,i);if(t.points&&t.points[0].y===t.points[1].y)e=o;else{var a=Et(n,r);o>=a&&(a+=2*Math.PI),e=o+(a-o)/2}return e},e.prototype.getCirclePoint=function(t,e){var n=this.getCoordinate(),i=n.getCenter(),r=n.getRadius()+e;return Object(a[\"a\"])(Object(a[\"a\"])({},xt(i.x,i.y,r,t)),{angle:t,r:r})},e}(Oa),ja=wa,Sa=4;function _a(t,e,n,i,r,o){var l,c,u,h=!0,d=i.start,p=i.end,f=Math.min(d.y,p.y),g=Math.abs(d.y-p.y),y=0,v=Number.MIN_VALUE,m=e.map((function(t){return t.y>y&&(y=t.y),t.yg&&(g=y-f);while(h){m.forEach((function(t){var e=(Math.min.apply(v,t.targets)+Math.max.apply(v,t.targets))/2;t.pos=Math.min(Math.max(v,e-t.size/2),g-t.size)})),h=!1,u=m.length;while(u--)if(u>0){var b=m[u-1],x=m[u];b.pos+b.size>x.pos&&(b.size+=x.size,b.targets=b.targets.concat(x.targets),b.pos+b.size>g&&(b.pos=g-b.size),m.splice(u,1),h=!0)}}u=0,m.forEach((function(t){var i=f+n/2;t.targets.forEach((function(){e[u].y=t.pos+i,i+=n,u++}))}));var O={};try{for(var w=Object(a[\"i\"])(t),j=w.next();!j.done;j=w.next()){var S=j.value;O[S.get(\"id\")]=S}}catch(_){l={error:_}}finally{try{j&&!j.done&&(c=w.return)&&c.call(w)}finally{if(l)throw l.error}}e.forEach((function(t){var e=t.r*t.r,n=Math.pow(Math.abs(t.y-r.y),2);if(e0){var c=14,u=a+r,h=2*u+2*c,d={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 i=h/c;t.length>i&&(t.sort((function(t,e){return e[\"..percent\"]-t[\"..percent\"]})),t.splice(i,t.length-i)),t.sort((function(t,e){return t.y-e.y})),_a(e,t,c,d,l,n)}))}Object(s[\"j\"])(t,(function(t){if(t&&t.labelLine){var e=t.offset,n=t.angle,i=xt(l.x,l.y,a,n),r=xt(l.x,l.y,a+e/2,n),o=t.x+Object(s[\"s\"])(t,\"offsetX\",0),c=t.y+Object(s[\"s\"])(t,\"offsetY\",0),u={x:o-Math.cos(n)*Sa,y:c-Math.sin(n)*Sa};Object(s[\"O\"])(t.labelLine)||(t.labelLine={}),t.labelLine.path=[\"M \".concat(i.x),\"\".concat(i.y,\" Q\").concat(r.x),\"\".concat(r.y,\" \").concat(u.x),u.y].join(\",\")}}))}}function Ma(t,e,n){var i=t.filter((function(t){return!t.invisible}));i.sort((function(t,e){return t.y-e.y}));var r,o=!0,a=n.minY,s=n.maxY,l=Math.abs(a-s),c=0,u=Number.MIN_VALUE,h=i.map((function(t){return t.y>c&&(c=t.y),t.yl&&(l=c-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),l-t.size),t.pos=Math.max(0,t.pos)})),o=!1,r=h.length;while(r--)if(r>0){var d=h[r-1],p=h[r];d.pos+d.size>p.pos&&(d.size+=p.size,d.targets=d.targets.concat(p.targets),d.pos+d.size>l&&(d.pos=l-d.size),h.splice(r,1),o=!0)}}r=0,h.forEach((function(t){var n=a+e/2;t.targets.forEach((function(){i[r].y=t.pos+n,n+=e,r++}))}))}var Aa=4;function ka(t,e){var n=e.getCenter(),i=e.getRadius();if(t&&t.labelLine){var r=t.angle,o=t.offset,a=xt(n.x,n.y,i,r),l=t.x+Object(s[\"s\"])(t,\"offsetX\",0)*(Math.cos(r)>0?1:-1),c=t.y+Object(s[\"s\"])(t,\"offsetY\",0)*(Math.sin(r)>0?1:-1),u={x:l-Math.cos(r)*Aa,y:c-Math.sin(r)*Aa},h=t.labelLine.smooth,d=[],p=u.x-n.x,f=u.y-n.y,g=Math.atan(f/p);if(p<0&&(g+=Math.PI),!1===h){Object(s[\"O\"])(t.labelLine)||(t.labelLine={});var y=0;(r<0&&r>-Math.PI/2||r>1.5*Math.PI)&&u.y>a.y&&(y=1),r>=0&&ra.y&&(y=1),r>=Math.PI/2&&ru.y&&(y=1),(r<-Math.PI/2||r>=Math.PI&&r<1.5*Math.PI)&&a.y>u.y&&(y=1);var v=o/2>4?4:Math.max(o/2-1,0),m=xt(n.x,n.y,i+v,r),b=xt(n.x,n.y,i+o/2,g),x=0;d.push(\"M \".concat(a.x,\" \").concat(a.y)),d.push(\"L \".concat(m.x,\" \").concat(m.y)),d.push(\"A \".concat(n.x,\" \").concat(n.y,\" 0 \").concat(x,\" \").concat(y,\" \").concat(b.x,\" \").concat(b.y)),d.push(\"L \".concat(u.x,\" \").concat(u.y))}else{m=xt(n.x,n.y,i+(o/2>4?4:Math.max(o/2-1,0)),r);var O=a.xMath.pow(Math.E,-16)&&d.push.apply(d,[\"C\",u.x+4*O,u.y,2*m.x-a.x,2*m.y-a.y,a.x,a.y]),d.push(\"L \".concat(a.x,\" \").concat(a.y))}t.labelLine.path=d.join(\" \")}}function Ia(t,e,n,i){var r,o,l=Object(s[\"l\"])(t,(function(t){return!Object(s[\"K\"])(t)})),c=e[0]&&e[0].get(\"coordinate\");if(c){var u=c.getCenter(),h=c.getRadius(),d={};try{for(var p=Object(a[\"i\"])(e),f=p.next();!f.done;f=p.next()){var g=f.value;d[g.get(\"id\")]=g}}catch(C){r={error:C}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}var y=Object(s[\"s\"])(l[0],\"labelHeight\",14),v=Object(s[\"s\"])(l[0],\"offset\",0);if(!(v<=0)){var m=\"left\",b=\"right\",x=Object(s[\"w\"])(l,(function(t){return t.xn&&(t.sort((function(t,e){return e.percent-t.percent})),Object(s[\"j\"])(t,(function(t,e){e+1>n&&(d[t.id].set(\"visible\",!1),t.invisible=!0)}))),Ma(t,y,_)})),Object(s[\"j\"])(x,(function(t,e){Object(s[\"j\"])(t,(function(t){var n=e===b,i=d[t.id],r=i.getChildByIndex(0);if(r){var o=h+v,a=t.y-u.y,s=Math.pow(o,2),l=Math.pow(a,2),p=s-l>0?s-l:0,f=Math.sqrt(p),g=Math.abs(Math.cos(t.angle)*o);t.x=n?u.x+Math.max(f,g):u.x-Math.max(f,g)}r&&(r.attr(\"y\",t.y),r.attr(\"x\",t.x)),ka(t,c)}))}))}}}var Ta=4,Da=4,Pa=4;function La(t,e,n){var i=e.getCenter(),r=e.getRadius(),o={x:t.x-(n?Pa:-Pa),y:t.y},a=xt(i.x,i.y,r+Ta,t.angle),l={x:o.x,y:o.y},c={x:a.x,y:a.y},u=xt(i.x,i.y,r,t.angle),h=\"\";if(o.y!==a.y){var d=n?4:-4;l.y=o.y,t.angle<0&&t.angle>=-Math.PI/2&&(l.x=Math.max(a.x,o.x-d),o.y0&&t.anglea.y?c.y=l.y:(c.y=a.y,c.x=Math.max(c.x,l.x-d))),t.angle>Math.PI/2&&(l.x=Math.min(a.x,o.x-d),o.y>a.y?c.y=l.y:(c.y=a.y,c.x=Math.min(c.x,l.x-d))),t.angle<-Math.PI/2&&(l.x=Math.min(a.x,o.x-d),o.yc.x||t.x===c.x&&t.y>c.y,i=Object(s[\"K\"])(t.offsetX)?Da:t.offsetX,r=xt(c.x,c.y,u+Ta,t.angle),o=y+i;t.x=c.x+(n?1:-1)*(u+o),t.y=r.y}}}));var v=l.start,m=l.end,b=\"left\",x=\"right\",O=Object(s[\"w\"])(t,(function(t){return t.xw&&(w=Math.min(e,Math.abs(v.y-m.y)))}));var j={minX:v.x,maxX:m.x,minY:c.y-w/2,maxY:c.y+w/2};Object(s[\"j\"])(O,(function(t,e){var n=w/g;t.length>n&&(t.sort((function(t,e){return e.percent-t.percent})),Object(s[\"j\"])(t,(function(t,e){e>n&&(h[t.id].set(\"visible\",!1),t.invisible=!0)}))),Ma(t,g,j)}));var S=j.minY,_=j.maxY;Object(s[\"j\"])(O,(function(t,e){var n=e===x;Object(s[\"j\"])(t,(function(t){var e=Object(s[\"s\"])(h,t&&[t.id]);if(e)if(t.y_)e.set(\"visible\",!1);else{var i=e.getChildByIndex(0),r=i.getCanvasBBox(),o={x:n?r.x:r.maxX,y:r.y+r.height/2};yr(i,t.x-o.x,t.y-o.y),t.labelLine&&La(t,l,n)}}))}))}}function Ea(t,e,n,i){Object(s[\"j\"])(e,(function(t){var e=i.minX,n=i.minY,r=i.maxX,o=i.maxY,a=t.getCanvasBBox(),s=a.minX,l=a.minY,c=a.maxX,u=a.maxY,h=a.x,d=a.y,p=a.width,f=a.height,g=h,y=d;(sr?g=r-p:c>r&&(g-=c-r),l>o?y=o-f:u>o&&(y-=u-o),g===h&&y===d||yr(t,g-h,y-d)}))}function Ba(t,e,n,i){Object(s[\"j\"])(e,(function(t,e){var i=t.getCanvasBBox(),r=n[e].getBBox();(i.minXr.maxX||i.maxY>r.maxY)&&t.remove(!0)}))}var Fa=100,Na=function(){function t(t){void 0===t&&(t={}),this.bitmap={};var e=t.xGap,n=void 0===e?1:e,i=t.yGap,r=void 0===i?8:i;this.xGap=n,this.yGap=r}return t.prototype.hasGap=function(t){for(var e=!0,n=this.bitmap,i=Math.round(t.minX),r=Math.round(t.maxX),o=Math.round(t.minY),a=Math.round(t.maxY),s=i;s<=r;s+=1)if(n[s]){if(s===i||s===r){for(var l=o;l<=a;l++)if(n[s][l]){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),i=Math.round(t.maxX),r=Math.round(t.minY),o=Math.round(t.maxY),a=n;a<=i;a+=1)e[a]||(e[a]={});for(a=n;a<=i;a+=this.xGap){for(var s=r;s<=o;s+=this.yGap)e[a][s]=!0;e[a][o]=!0}if(1!==this.yGap)for(a=r;a<=o;a+=1)e[n][a]=!0,e[i][a]=!0;if(1!==this.xGap)for(a=n;a<=i;a+=1)e[a][r]=!0,e[a][o]=!0},t.prototype.destroy=function(){this.bitmap={}},t}();function za(t,e,n){void 0===n&&(n=Fa);var i,r=-1,o=t.attr(),a=o.x,s=o.y,l=t.getCanvasBBox(),c=Math.sqrt(l.width*l.width+l.height*l.height),u=-r,h=0,d=0,p=function(t){var e=.1*t;return[e*Math.cos(e),e*Math.sin(e)]};if(e.hasGap(l))return e.fillGap(l),!0;var f=!1,g=0,y={};while(Math.min(Math.abs(h),Math.abs(d))4)return[];var e=function(t,e){return[e.x-t.x,e.y-t.y]},n=e(t[0],t[1]),i=e(t[1],t[2]);return[n,i]}function Ya(t,e,n){void 0===e&&(e=0),void 0===n&&(n={x:0,y:0});var i=t.x,r=t.y;return{x:(i-n.x)*Math.cos(-e)+(r-n.y)*Math.sin(-e)+n.x,y:(n.x-i)*Math.sin(-e)+(r-n.y)*Math.cos(-e)+n.y}}function qa(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?[Ya(e[0],n,e[0]),Ya(e[1],n,e[0]),Ya(e[2],n,e[0]),Ya(e[3],n,e[0])]:e}function Ua(t,e){if(t.length>4)return{min:0,max:0};var n=[];return t.forEach((function(t){n.push(Wa([t.x,t.y],e))})),{min:Math.min.apply(Math,Object(a[\"g\"])([],Object(a[\"e\"])(n),!1)),max:Math.max.apply(Math,Object(a[\"g\"])([],Object(a[\"e\"])(n),!1))}}function Za(t,e){return t.max>e.min&&t.mint.x+t.width+n||e.x+e.widtht.y+t.height+n||e.y+e.height4)return[];var e=function(t,e){return[e.x-t.x,e.y-t.y]},n=e(t[0],t[1]),i=e(t[1],t[2]);return[n,i]}function n(t,e,n){void 0===e&&(e=0),void 0===n&&(n={x:0,y:0});var i=t.x,r=t.y;return{x:(i-n.x)*Math.cos(-e)+(r-n.y)*Math.sin(-e)+n.x,y:(n.x-i)*Math.sin(-e)+(r-n.y)*Math.cos(-e)+n.y}}function i(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}],i=t.rotation;return i?[n(e[0],i,e[0]),n(e[1],i,e[0]),n(e[2],i,e[0]),n(e[3],i,e[0])]:e}function r(e,n){if(e.length>4)return{min:0,max:0};var i=[];return e.forEach((function(e){i.push(t([e.x,e.y],n))})),{min:Math.min.apply(null,i),max:Math.max.apply(null,i)}}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 ps(t,e,n){var i=!!t.getAdjust(\"stack\");return i||e.every((function(e,i){var r=n[i];return ds(t,e,r)}))}function fs(t,e,n){var i=t.coordinate,r=It.fromObject(n.getBBox()),o=xr(e);i.isTransposed?o.attr({x:r.minX+r.width/2,textAlign:\"center\"}):o.attr({y:r.minY+r.height/2,textBaseline:\"middle\"})}function gs(t,e,n){var i;if(0!==n.length){var r=null===(i=n[0])||void 0===i?void 0:i.get(\"element\"),o=null===r||void 0===r?void 0:r.geometry;if(o&&\"interval\"===o.type){var a=ps(o,e,n);a&&n.forEach((function(t,n){var i=e[n];fs(o,i,t)}))}}}function ys(t){var e=500,n=[],i=Math.max(Math.floor(t.length/e),1);return Object(s[\"j\"])(t,(function(t,e){e%i===0?n.push(t):t.set(\"visible\",!1)})),n}function vs(t,e,n){var i;if(0!==n.length){var r=null===(i=n[0])||void 0===i?void 0:i.get(\"element\"),o=null===r||void 0===r?void 0:r.geometry;if(o&&\"interval\"===o.type){var l,c=ys(e),u=Object(a[\"e\"])(o.getXYFields(),1),h=u[0],d=[],p=[],f=Object(s[\"w\"])(c,(function(t){return t.get(\"data\")[h]})),g=Object(s[\"ub\"])(Object(s[\"W\"])(c,(function(t){return t.get(\"data\")[h]})));c.forEach((function(t){t.set(\"visible\",!0)}));var y=function(t){t&&(t.length&&p.push(t.pop()),p.push.apply(p,Object(a[\"g\"])([],Object(a[\"e\"])(t),!1)))};Object(s[\"mb\"])(g)>0&&(l=g.shift(),y(f[l])),Object(s[\"mb\"])(g)>0&&(l=g.pop(),y(f[l])),Object(s[\"j\"])(g.reverse(),(function(t){y(f[t])}));while(p.length>0){var v=p.shift();v.get(\"visible\")&&(jr(v,d)?v.set(\"visible\",!1):d.push(v))}}}}function ms(t,e){var n=t.getXYFields()[1],i=[],r=e.sort((function(t,e){return t.get(\"data\")[n]-t.get(\"data\")[n]}));return r.length>0&&i.push(r.shift()),r.length>0&&i.push(r.pop()),i.push.apply(i,Object(a[\"g\"])([],Object(a[\"e\"])(r),!1)),i}function bs(t,e,n){return t.some((function(t){return n(t,e)}))}function xs(t,e,n){void 0===n&&(n=0);var i=Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n)),r=Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n));return i*r}function Os(t,e){return bs(t,e,(function(t,e){var n=xr(t),i=xr(e);return xs(n.getCanvasBBox(),i.getCanvasBBox(),2)>0}))}function ws(t,e,n,i,r){var o,l;if(0!==n.length){var c=null===(o=n[0])||void 0===o?void 0:o.get(\"element\"),u=null===c||void 0===c?void 0:c.geometry;if(u&&\"point\"===u.type){var h=Object(a[\"e\"])(u.getXYFields(),2),d=h[0],p=h[1],f=Object(s[\"w\"])(e,(function(t){return t.get(\"data\")[d]})),g=[],y=r&&r.offset||(null===(l=t[0])||void 0===l?void 0:l.offset)||12;Object(s[\"W\"])(Object(s[\"T\"])(f).reverse(),(function(t){var e=ms(u,f[t]);while(e.length){var n=e.shift(),i=xr(n);if(bs(g,n,(function(t,e){return t.get(\"data\")[d]===e.get(\"data\")[d]&&t.get(\"data\")[p]===e.get(\"data\")[p]})))i.set(\"visible\",!1);else{var r=Os(g,n),o=!1;r&&(i.attr(\"y\",i.attr(\"y\")+2*y),o=Os(g,n)),o?i.set(\"visible\",!1):g.push(n)}}}))}}}function js(t,e){var n=t.getXYFields()[1],i=[],r=e.sort((function(t,e){return t.get(\"data\")[n]-t.get(\"data\")[n]}));return r.length>0&&i.push(r.shift()),r.length>0&&i.push(r.pop()),i.push.apply(i,Object(a[\"g\"])([],Object(a[\"e\"])(r),!1)),i}function Ss(t,e,n){return t.some((function(t){return n(t,e)}))}function _s(t,e,n){void 0===n&&(n=0);var i=Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n)),r=Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n));return i*r}function Cs(t,e){return Ss(t,e,(function(t,e){var n=xr(t),i=xr(e);return _s(n.getCanvasBBox(),i.getCanvasBBox(),2)>0}))}function Ms(t,e,n,i,r){var o,l;if(0!==n.length){var c=null===(o=n[0])||void 0===o?void 0:o.get(\"element\"),u=null===c||void 0===c?void 0:c.geometry;if(u&&!([\"path\",\"line\",\"area\"].indexOf(u.type)<0)){var h=Object(a[\"e\"])(u.getXYFields(),2),d=h[0],p=h[1],f=Object(s[\"w\"])(e,(function(t){return t.get(\"data\")[d]})),g=[],y=r&&r.offset||(null===(l=t[0])||void 0===l?void 0:l.offset)||12;Object(s[\"W\"])(Object(s[\"T\"])(f).reverse(),(function(t){var e=js(u,f[t]);while(e.length){var n=e.shift(),i=xr(n);if(Ss(g,n,(function(t,e){return t.get(\"data\")[d]===e.get(\"data\")[d]&&t.get(\"data\")[p]===e.get(\"data\")[p]})))i.set(\"visible\",!1);else{var r=Cs(g,n),o=!1;r&&(i.attr(\"y\",i.attr(\"y\")+2*y),o=Cs(g,n)),o?i.set(\"visible\",!1):g.push(n)}}}))}}}function As(){return ls||(ls=document.createElement(\"canvas\").getContext(\"2d\")),ls}var ks=Object(s[\"ab\"])((function(t,e){void 0===e&&(e={});var n=e.fontSize,i=e.fontFamily,r=e.fontWeight,o=e.fontStyle,a=e.fontVariant,l=As();return l.font=[o,a,r,\"\".concat(n,\"px\"),i].join(\" \"),l.measureText(Object(s[\"Q\"])(t)?t:\"\").width}),(function(t,e){return void 0===e&&(e={}),Object(a[\"g\"])([t],Object(a[\"e\"])(Object(s[\"xb\"])(e)),!1).join(\"\")})),Is=function(t,e,n){var i,r=16,o=ks(\"...\",n);i=Object(s[\"Q\"])(t)?t:Object(s[\"tb\"])(t);var a,l,c=e,u=[];if(ks(t,n)<=e)return t;while(1){if(a=i.substr(0,r),l=ks(a,n),l+o>c&&l>c)break;if(u.push(a),c-=l,i=i.substr(r),!i)return u.join(\"\")}while(1){if(a=i.substr(0,1),l=ks(a,n),l+o>c)break;if(u.push(a),c-=l,i=i.substr(1),!i)return u.join(\"\")}return\"\".concat(u.join(\"\"),\"...\")};function Ts(t,e,n,i,r){if(!(e.length<=0)){var o=(null===r||void 0===r?void 0:r.direction)||[\"top\",\"right\",\"bottom\",\"left\"],a=(null===r||void 0===r?void 0:r.action)||\"translate\",l=(null===r||void 0===r?void 0:r.margin)||0,c=e[0].get(\"coordinate\");if(c){var u=Ft(c,l),h=u.minX,d=u.minY,p=u.maxX,f=u.maxY;Object(s[\"j\"])(e,(function(t){var e=t.getCanvasBBox(),n=e.minX,i=e.minY,r=e.maxX,l=e.maxY,c=e.x,u=e.y,g=e.width,y=e.height,v=c,m=u;if(o.indexOf(\"left\")>=0&&(n=0&&(i=0&&(n>p?v=p-g:r>p&&(v-=r-p)),o.indexOf(\"bottom\")>=0&&(i>f?m=f-y:l>f&&(m-=l-f)),v!==c||m!==u){var b=v-c;if(\"translate\"===a)yr(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[\"hb\"])(t.attr(),[\"fontSize\",\"fontFamily\",\"fontWeight\",\"fontStyle\",\"fontVariant\"]),n=t.getCanvasBBox(),i=Is(t.attr(\"text\"),n.width-Math.abs(b),e);t.attr(\"text\",i)}))}else t.hide()}}))}}}function Ds(t,e,n){var i={fillOpacity:Object(s[\"K\"])(t.attr(\"fillOpacity\"))?1:t.attr(\"fillOpacity\"),strokeOpacity:Object(s[\"K\"])(t.attr(\"strokeOpacity\"))?1:t.attr(\"strokeOpacity\"),opacity:Object(s[\"K\"])(t.attr(\"opacity\"))?1:t.attr(\"opacity\")};t.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),t.animate(i,e)}function Ps(t,e,n){var i={fillOpacity:0,strokeOpacity:0,opacity:0},r=e.easing,o=e.duration,a=e.delay;t.animate(i,o,r,(function(){t.remove(!0)}),a)}function Ls(t,e,n){var i,r=Object(a[\"e\"])(e,2),o=r[0],s=r[1];return t.applyToMatrix([o,s,1]),\"x\"===n?(t.setMatrix(Q[\"a\"].transform(t.getMatrix(),[[\"t\",-o,-s],[\"s\",.01,1],[\"t\",o,s]])),i=Q[\"a\"].transform(t.getMatrix(),[[\"t\",-o,-s],[\"s\",100,1],[\"t\",o,s]])):\"y\"===n?(t.setMatrix(Q[\"a\"].transform(t.getMatrix(),[[\"t\",-o,-s],[\"s\",1,.01],[\"t\",o,s]])),i=Q[\"a\"].transform(t.getMatrix(),[[\"t\",-o,-s],[\"s\",1,100],[\"t\",o,s]])):\"xy\"===n&&(t.setMatrix(Q[\"a\"].transform(t.getMatrix(),[[\"t\",-o,-s],[\"s\",.01,.01],[\"t\",o,s]])),i=Q[\"a\"].transform(t.getMatrix(),[[\"t\",-o,-s],[\"s\",100,100],[\"t\",o,s]])),i}function Rs(t,e,n,i,r){var o,a,s=n.start,l=n.end,c=n.getWidth(),u=n.getHeight();\"y\"===r?(o=s.x+c/2,a=i.ys.x?i.x:s.x,a=s.y+u/2):\"xy\"===r&&(n.isPolar?(o=n.getCenter().x,a=n.getCenter().y):(o=(s.x+l.x)/2,a=(s.y+l.y)/2));var h=Ls(t,[o,a],r);t.animate({matrix:h},e)}function Es(t,e,n){var i=n.coordinate,r=n.minYPoint;Rs(t,e,i,r,\"x\")}function Bs(t,e,n){var i=n.coordinate,r=n.minYPoint;Rs(t,e,i,r,\"y\")}function Fs(t,e,n){var i=n.coordinate,r=n.minYPoint;Rs(t,e,i,r,\"xy\")}function Ns(t,e,n){var i=t.getTotalLength();t.attr(\"lineDash\",[i]),t.animate((function(t){return{lineDashOffset:(1-t)*i}}),e)}function zs(t,e,n){var i=n.toAttrs,r=i.x,o=i.y;delete i.x,delete i.y,t.attr(i),t.animate({x:r,y:o},e)}function Vs(t,e,n){var i=t.getBBox(),r=t.get(\"origin\").mappingData,o=r.points,a=o[0].y-o[1].y>0?i.maxX:i.minX,s=(i.minY+i.maxY)/2;t.applyToMatrix([a,s,1]);var l=Q[\"a\"].transform(t.getMatrix(),[[\"t\",-a,-s],[\"s\",.01,1],[\"t\",a,s]]);t.setMatrix(l),t.animate({matrix:Q[\"a\"].transform(t.getMatrix(),[[\"t\",-a,-s],[\"s\",100,1],[\"t\",a,s]])},e)}function Gs(t,e,n){var i=t.getBBox(),r=t.get(\"origin\").mappingData,o=(i.minX+i.maxX)/2,a=r.points,s=a[0].y-a[1].y<=0?i.maxY:i.minY;t.applyToMatrix([o,s,1]);var l=Q[\"a\"].transform(t.getMatrix(),[[\"t\",-o,-s],[\"s\",1,.01],[\"t\",o,s]]);t.setMatrix(l),t.animate({matrix:Q[\"a\"].transform(t.getMatrix(),[[\"t\",-o,-s],[\"s\",1,100],[\"t\",o,s]])},e)}function Hs(t,e){var n,i=Object(lo[\"getArcParams\"])(t,e),r=i.startAngle,o=i.endAngle;return!Object(s[\"N\"])(r,.5*-Math.PI)&&r<.5*-Math.PI&&(r+=2*Math.PI),!Object(s[\"N\"])(o,.5*-Math.PI)&&o<.5*-Math.PI&&(o+=2*Math.PI),0===e[5]&&(n=Object(a[\"e\"])([o,r],2),r=n[0],o=n[1]),Object(s[\"N\"])(r,1.5*Math.PI)&&(r=-.5*Math.PI),Object(s[\"N\"])(o,-.5*Math.PI)&&!Object(s[\"N\"])(r,o)&&(o=1.5*Math.PI),{startAngle:r,endAngle:o}}function Ws(t){var e;return\"M\"===t[0]||\"L\"===t[0]?e=[t[1],t[2]]:\"a\"!==t[0]&&\"A\"!==t[0]&&\"C\"!==t[0]||(e=[t[t.length-2],t[t.length-1]]),e}function Xs(t){var e,n,i,r=t.filter((function(t){return\"A\"===t[0]||\"a\"===t[0]}));if(0===r.length)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var o=r[0],l=r.length>1?r[1]:r[0],c=t.indexOf(o),u=t.indexOf(l),h=Ws(t[c-1]),d=Ws(t[u-1]),p=Hs(h,o),f=p.startAngle,g=p.endAngle,y=Hs(d,l),v=y.startAngle,m=y.endAngle;Object(s[\"N\"])(f,v)&&Object(s[\"N\"])(g,m)?(n=f,i=g):(n=Math.min(f,v),i=Math.max(g,m));var b=o[1],x=r[r.length-1][1];return b=0;l--){var c=this.getFacetsByLevel(t,l);try{for(var u=(e=void 0,Object(a[\"i\"])(c)),h=u.next();!h.done;h=u.next()){var d=h.value;this.isLeaf(d)||(d.originColIndex=d.columnIndex,d.columnIndex=this.getRegionIndex(d.children),d.columnValuesLength=r.length)}}catch(p){e={error:p}}finally{try{h&&!h.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}}},e.prototype.getFacetsByLevel=function(t,e){var n=[];return t.forEach((function(t){t.rowIndex===e&&n.push(t)})),n},e.prototype.getRegionIndex=function(t){var e=t[0],n=t[t.length-1];return(n.columnIndex-e.columnIndex)/2+e.columnIndex},e.prototype.isLeaf=function(t){return!t.children||!t.children.length},e.prototype.getRows=function(){return this.cfg.fields.length+1},e.prototype.getChildFacets=function(t,e,n){var i=this,r=this.cfg.fields,o=r.length;if(!(o=n){var r=i.parsePosition([t[l],t[a.field]]);r&&d.push(r)}if(t[l]===h)return!1})),d},e.prototype.parsePercentPosition=function(t){var e=parseFloat(t[0])/100,n=parseFloat(t[1])/100,i=this.view.getCoordinate(),r=i.start,o=i.end,a={x:Math.min(r.x,o.x),y:Math.min(r.y,o.y)},s=i.getWidth()*e+a.x,l=i.getHeight()*n+a.y;return{x:s,y:l}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),e=t.start,n=t.end,i=t.getWidth(),r=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+i,maxY:o.y+r,width:i,height:r}},e.prototype.getAnnotationCfg=function(t,e,n){var i=this,r=this.view.getCoordinate(),o=this.view.getCanvas(),l={};if(Object(s[\"K\"])(e))return null;var c=e.start,u=e.end,h=e.position,d=this.parsePosition(c),p=this.parsePosition(u),f=this.parsePosition(h);if(!(![\"arc\",\"image\",\"line\",\"region\",\"regionFilter\"].includes(t)||d&&p))return null;if([\"text\",\"dataMarker\",\"html\"].includes(t)&&!f)return null;if(\"arc\"===t){var g=e,y=(g.start,g.end,Object(a[\"f\"])(g,[\"start\",\"end\"])),v=Et(r,d),m=Et(r,p);v>m&&(m=2*Math.PI+m),l=Object(a[\"a\"])(Object(a[\"a\"])({},y),{center:r.getCenter(),radius:Lt(r,d),startAngle:v,endAngle:m})}else if(\"image\"===t){var b=e;b.start,b.end,y=Object(a[\"f\"])(b,[\"start\",\"end\"]);l=Object(a[\"a\"])(Object(a[\"a\"])({},y),{start:d,end:p,src:e.src})}else if(\"line\"===t){var x=e;x.start,x.end,y=Object(a[\"f\"])(x,[\"start\",\"end\"]);l=Object(a[\"a\"])(Object(a[\"a\"])({},y),{start:d,end:p,text:Object(s[\"s\"])(e,\"text\",null)})}else if(\"region\"===t){var O=e;O.start,O.end,y=Object(a[\"f\"])(O,[\"start\",\"end\"]);l=Object(a[\"a\"])(Object(a[\"a\"])({},y),{start:d,end:p})}else if(\"text\"===t){var w=this.view.getData(),j=e,S=(j.position,j.content),_=(y=Object(a[\"f\"])(j,[\"position\",\"content\"]),S);Object(s[\"I\"])(S)&&(_=S(w)),l=Object(a[\"a\"])(Object(a[\"a\"])(Object(a[\"a\"])({},f),y),{content:_})}else if(\"dataMarker\"===t){var C=e,M=(C.position,C.point),A=C.line,k=C.text,I=C.autoAdjust,T=C.direction;y=Object(a[\"f\"])(C,[\"position\",\"point\",\"line\",\"text\",\"autoAdjust\",\"direction\"]);l=Object(a[\"a\"])(Object(a[\"a\"])(Object(a[\"a\"])({},y),f),{coordinateBBox:this.getCoordinateBBox(),point:M,line:A,text:k,autoAdjust:I,direction:T})}else if(\"dataRegion\"===t){var D=e,P=D.start,L=D.end,R=D.region,E=(k=D.text,D.lineLength);y=Object(a[\"f\"])(D,[\"start\",\"end\",\"region\",\"text\",\"lineLength\"]);l=Object(a[\"a\"])(Object(a[\"a\"])({},y),{points:this.getRegionPoints(P,L),region:R,text:k,lineLength:E})}else if(\"regionFilter\"===t){var B=e,F=(B.start,B.end,B.apply),N=B.color,z=(y=Object(a[\"f\"])(B,[\"start\",\"end\",\"apply\",\"color\"]),this.view.geometries),V=[],G=function(t){t&&(t.isGroup()?t.getChildren().forEach((function(t){return G(t)})):V.push(t))};Object(s[\"j\"])(z,(function(t){F?Object(s[\"f\"])(F,t.type)&&Object(s[\"j\"])(t.elements,(function(t){G(t.shape)})):Object(s[\"j\"])(t.elements,(function(t){G(t.shape)}))})),l=Object(a[\"a\"])(Object(a[\"a\"])({},y),{color:N,shapes:V,start:d,end:p})}else if(\"shape\"===t){var H=e,W=H.render,X=Object(a[\"f\"])(H,[\"render\"]),Y=function(t){if(Object(s[\"I\"])(e.render))return W(t,i.view,{parsePosition:i.parsePosition.bind(i)})};l=Object(a[\"a\"])(Object(a[\"a\"])({},X),{render:Y})}else if(\"html\"===t){var q=e,U=q.html,Z=(q.position,X=Object(a[\"f\"])(q,[\"html\",\"position\"]),function(t){return Object(s[\"I\"])(U)?U(t,i.view):U});l=Object(a[\"a\"])(Object(a[\"a\"])(Object(a[\"a\"])({},X),f),{parent:o.get(\"el\").parentNode,html:Z})}var K=Object(s[\"h\"])({},n,Object(a[\"a\"])(Object(a[\"a\"])({},l),{top:e.top,style:e.style,offsetX:e.offsetX,offsetY:e.offsetY}));return\"html\"!==t&&(K.container=this.getComponentContainer(K)),K.animate=this.view.getOptions().animate&&K.animate&&Object(s[\"s\"])(e,\"animate\",K.animate),K.animateOption=Object(s[\"h\"])({},Vi,K.animateOption,e.animateOption),K},e.prototype.isTop=function(t){return Object(s[\"s\"])(t,\"top\",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return Object(s[\"s\"])(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,i=this.getAnnotationTheme(n),r=this.getAnnotationCfg(n,t,i);r&&At(r,[\"container\"]),e.component.update(Object(a[\"a\"])(Object(a[\"a\"])({},r||{}),{visible:!!r})),Object(s[\"A\"])(fl,t.type)&&e.component.render()}else e=this.createAnnotation(t),e&&(e.component.init(),Object(s[\"A\"])(fl,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,i){Object(s[\"m\"])(e.option,(function(t){return i===e.getCacheKey(t)}))||(t.component.destroy(),n.delete(i))})),n},e.prototype.getCacheKey=function(t){return t},e}(Li),yl=gl;function vl(t,e){var n=Object(s[\"h\"])({},Object(s[\"s\"])(t,[\"components\",\"axis\",\"common\"]),Object(s[\"s\"])(t,[\"components\",\"axis\",e]));return Object(s[\"s\"])(n,[\"grid\"],{})}function ml(t,e,n,i){var r=[],o=e.getTicks();return t.isPolar&&o.push({value:1,text:\"\",tickValue:\"\"}),o.reduce((function(e,o,a){var s=o.value;if(i)r.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 l=e.value,c=(l+s)/2;r.push({points:[t.convert(\"y\"===n?{x:0,y:c}:{x:c,y:0}),t.convert(\"y\"===n?{x:1,y:c}:{x:c,y:1})]})}return o}),o[0]),r}function bl(t,e,n,i,r){var o=e.values.length,a=[],l=n.getTicks();return l.reduce((function(e,n){var l=e?e.value:n.value,c=n.value,u=(l+c)/2;return\"x\"===r?a.push({points:[t.convert({x:i?c:u,y:0}),t.convert({x:i?c:u,y:1})]}):a.push({points:Object(s[\"W\"])(Array(o+1),(function(e,n){return t.convert({x:n/o,y:i?c:u})}))}),n}),l[0]),a}function xl(t,e){var n=Object(s[\"s\"])(e,\"grid\");if(null===n)return!1;var i=Object(s[\"s\"])(t,\"grid\");return!(void 0===n&&null===i)}var Ol=[\"container\"],wl=Object(a[\"a\"])(Object(a[\"a\"])({},Vi),{appear:null}),jl=function(t){function e(e){var n=t.call(this,e)||this;return n.cache=new Map,n.gridContainer=n.view.getLayer(i.BG).addGroup(),n.gridForeContainer=n.view.getLayer(i.FORE).addGroup(),n.axisContainer=n.view.getLayer(i.BG).addGroup(),n.axisForeContainer=n.view.getLayer(i.FORE).addGroup(),n}return Object(a[\"c\"])(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[\"j\"])(this.getComponents(),(function(n){var i,r=n.component,a=n.direction,s=n.type,l=n.extra,c=l.dim,u=l.scale,h=l.alignTick;if(s===o.AXIS)e.isPolar?\"x\"===c?i=e.isTransposed?Zt(e,a):te(e):\"y\"===c&&(i=e.isTransposed?te(e):Zt(e,a)):i=Zt(e,a);else if(s===o.GRID)if(e.isPolar){var d=void 0;d=e.isTransposed?\"x\"===c?bl(e,t.view.getYScales()[0],u,h,c):ml(e,u,c,h):\"x\"===c?ml(e,u,c,h):bl(e,t.view.getXScale(),u,h,c),i={items:d,center:t.view.getCoordinate().getCenter()}}else i={items:ml(e,u,c,h)};r.update(i)}))},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,i){t.has(i)?e.set(i,n):n.component.destroy()})),this.cache=e},e.prototype.clear=function(){t.prototype.clear.call(this),this.cache.clear(),this.gridContainer.clear(),this.gridForeContainer.clear(),this.axisContainer.clear(),this.axisForeContainer.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.gridContainer.remove(!0),this.gridForeContainer.remove(!0),this.axisContainer.remove(!0),this.axisForeContainer.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=ee(this.option,e.field);if(!1!==n){var o=ne(n,r.BOTTOM),a=i.BG,l=\"x\",c=this.view.getCoordinate(),u=this.getId(\"axis\",e.field),h=this.getId(\"grid\",e.field);if(c.isRect){var d=this.cache.get(u);if(d){var p=this.getLineAxisCfg(e,n,o);At(p,Ol),d.component.update(p),t.set(u,d)}else d=this.createLineAxis(e,n,a,o,l),this.cache.set(u,d),t.set(u,d);var f=this.cache.get(h);if(f){p=this.getLineGridCfg(e,n,o,l);At(p,Ol),f.component.update(p),t.set(h,f)}else f=this.createLineGrid(e,n,a,o,l),f&&(this.cache.set(h,f),t.set(h,f))}else if(c.isPolar){d=this.cache.get(u);if(d){p=c.isTransposed?this.getLineAxisCfg(e,n,r.RADIUS):this.getCircleAxisCfg(e,n,o);At(p,Ol),d.component.update(p),t.set(u,d)}else{if(c.isTransposed){if(Object(s[\"S\"])(n))return;d=this.createLineAxis(e,n,a,r.RADIUS,l)}else d=this.createCircleAxis(e,n,a,o,l);this.cache.set(u,d),t.set(u,d)}f=this.cache.get(h);if(f){p=c.isTransposed?this.getCircleGridCfg(e,n,r.RADIUS,l):this.getLineGridCfg(e,n,r.CIRCLE,l);At(p,Ol),f.component.update(p),t.set(h,f)}else{if(c.isTransposed){if(Object(s[\"S\"])(n))return;f=this.createCircleGrid(e,n,a,r.RADIUS,l)}else f=this.createLineGrid(e,n,a,r.CIRCLE,l);f&&(this.cache.set(h,f),t.set(h,f))}}}}},e.prototype.updateYAxes=function(t){var e=this,n=this.view.getYScales();Object(s[\"j\"])(n,(function(n,o){if(n&&!n.isIdentity){var a=n.field,l=ee(e.option,a);if(!1!==l){var c=i.BG,u=\"y\",h=e.getId(\"axis\",a),d=e.getId(\"grid\",a),p=e.view.getCoordinate();if(p.isRect){var f=ne(l,0===o?r.LEFT:r.RIGHT),g=e.cache.get(h);if(g){var y=e.getLineAxisCfg(n,l,f);At(y,Ol),g.component.update(y),t.set(h,g)}else g=e.createLineAxis(n,l,c,f,u),e.cache.set(h,g),t.set(h,g);var v=e.cache.get(d);if(v){y=e.getLineGridCfg(n,l,f,u);At(y,Ol),v.component.update(y),t.set(d,v)}else v=e.createLineGrid(n,l,c,f,u),v&&(e.cache.set(d,v),t.set(d,v))}else if(p.isPolar){g=e.cache.get(h);if(g){y=p.isTransposed?e.getCircleAxisCfg(n,l,r.CIRCLE):e.getLineAxisCfg(n,l,r.RADIUS);At(y,Ol),g.component.update(y),t.set(h,g)}else{if(p.isTransposed){if(Object(s[\"S\"])(l))return;g=e.createCircleAxis(n,l,c,r.CIRCLE,u)}else g=e.createLineAxis(n,l,c,r.RADIUS,u);e.cache.set(h,g),t.set(h,g)}v=e.cache.get(d);if(v){y=p.isTransposed?e.getLineGridCfg(n,l,r.CIRCLE,u):e.getCircleGridCfg(n,l,r.RADIUS,u);At(y,Ol),v.component.update(y),t.set(d,v)}else{if(p.isTransposed){if(Object(s[\"S\"])(l))return;v=e.createLineGrid(n,l,c,r.CIRCLE,u)}else v=e.createCircleGrid(n,l,c,r.RADIUS,u);v&&(e.cache.set(d,v),t.set(d,v))}}}}}))},e.prototype.createLineAxis=function(t,e,n,i,a){var s={component:new ut(this.getLineAxisCfg(t,e,i)),layer:n,direction:i===r.RADIUS?r.NONE:i,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,i,a){var l=this.getLineGridCfg(t,e,i,a);if(l){var c={component:new dt(l),layer:n,direction:r.NONE,type:o.GRID,extra:{dim:a,scale:t,alignTick:Object(s[\"s\"])(l,\"alignTick\",!0)}};return c.component.init(),c}},e.prototype.createCircleAxis=function(t,e,n,i,r){var a={component:new ht(this.getCircleAxisCfg(t,e,i)),layer:n,direction:i,type:o.AXIS,extra:{dim:r,scale:t}};return a.component.set(\"field\",t.field),a.component.init(),a},e.prototype.createCircleGrid=function(t,e,n,i,a){var l=this.getCircleGridCfg(t,e,i,a);if(l){var c={component:new pt(l),layer:n,direction:r.NONE,type:o.GRID,extra:{dim:a,scale:t,alignTick:Object(s[\"s\"])(l,\"alignTick\",!0)}};return c.component.init(),c}},e.prototype.getLineAxisCfg=function(t,e,n){var i=Object(s[\"s\"])(e,[\"top\"])?this.axisForeContainer:this.axisContainer,r=this.view.getCoordinate(),o=Zt(r,n),l=ie(t,e),c=Jt(this.view.getTheme(),n),u=Object(s[\"s\"])(e,[\"title\"])?Object(s[\"h\"])({title:{style:{text:l}}},{title:$t(this.view.getTheme(),n,e.title)},e):e,h=Object(s[\"h\"])(Object(a[\"a\"])(Object(a[\"a\"])({container:i},o),{ticks:t.getTicks().map((function(t){return{id:\"\".concat(t.tickValue),name:t.text,value:t.value}})),verticalFactor:r.isPolar?-1*Qt(o,r.getCenter()):Qt(o,r.getCenter()),theme:c}),c,u),d=this.getAnimateCfg(h),p=d.animate,f=d.animateOption;h.animateOption=f,h.animate=p;var g=Kt(o),y=Object(s[\"s\"])(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,i){if(xl(Jt(this.view.getTheme(),n),e)){var r=vl(this.view.getTheme(),n),o=Object(s[\"h\"])({container:Object(s[\"s\"])(e,[\"top\"])?this.gridForeContainer:this.gridContainer},r,Object(s[\"s\"])(e,\"grid\"),this.getAnimateCfg(e));return o.items=ml(this.view.getCoordinate(),t,i,Object(s[\"s\"])(o,\"alignTick\",!0)),o}},e.prototype.getCircleAxisCfg=function(t,e,n){var i=Object(s[\"s\"])(e,[\"top\"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),l=t.getTicks().map((function(t){return{id:\"\".concat(t.tickValue),name:t.text,value:t.value}}));t.isCategory||Math.abs(o.endAngle-o.startAngle)!==2*Math.PI||l.length&&(l[l.length-1].name=\"\");var c=ie(t,e),u=Jt(this.view.getTheme(),r.CIRCLE),h=Object(s[\"s\"])(e,[\"title\"])?Object(s[\"h\"])({title:{style:{text:c}}},{title:$t(this.view.getTheme(),n,e.title)},e):e,d=Object(s[\"h\"])(Object(a[\"a\"])(Object(a[\"a\"])({container:i},te(this.view.getCoordinate())),{ticks:l,verticalFactor:1,theme:u}),u,h),p=this.getAnimateCfg(d),f=p.animate,g=p.animateOption;return d.animate=f,d.animateOption=g,d},e.prototype.getCircleGridCfg=function(t,e,n,i){if(xl(Jt(this.view.getTheme(),n),e)){var o=vl(this.view.getTheme(),r.RADIUS),a=Object(s[\"h\"])({container:Object(s[\"s\"])(e,[\"top\"])?this.gridForeContainer:this.gridContainer,center:this.view.getCoordinate().getCenter()},o,Object(s[\"s\"])(e,\"grid\"),this.getAnimateCfg(e)),l=Object(s[\"s\"])(a,\"alignTick\",!0),c=\"x\"===i?this.view.getYScales()[0]:this.view.getXScale();return a.items=bl(this.view.getCoordinate(),c,t,l,i),a}},e.prototype.getId=function(t,e){var n=this.view.getCoordinate();return\"\".concat(t,\"-\").concat(e,\"-\").concat(n.type)},e.prototype.getAnimateCfg=function(t){return{animate:this.view.getOptions().animate&&Object(s[\"s\"])(t,\"animate\"),animateOption:t&&t.animateOption?Object(s[\"h\"])({},wl,t.animateOption):wl}},e}(Li),Sl=jl;function _l(t,e,n){return n===r.TOP?[t.minX+t.width/2-e.width/2,t.minY]:n===r.BOTTOM?[t.minX+t.width/2-e.width/2,t.maxY-e.height]:n===r.LEFT?[t.minX,t.minY+t.height/2-e.height/2]:n===r.RIGHT?[t.maxX-e.width,t.minY+t.height/2-e.height/2]:n===r.TOP_LEFT||n===r.LEFT_TOP?[t.tl.x,t.tl.y]:n===r.TOP_RIGHT||n===r.RIGHT_TOP?[t.tr.x-e.width,t.tr.y]:n===r.BOTTOM_LEFT||n===r.LEFT_BOTTOM?[t.bl.x,t.bl.y-e.height]:n===r.BOTTOM_RIGHT||n===r.RIGHT_BOTTOM?[t.br.x-e.width,t.br.y-e.height]:[0,0]}function Cl(t,e){return Object(s[\"D\"])(t)?!1!==t&&{}:Object(s[\"s\"])(t,[e],t)}function Ml(t){return Object(s[\"s\"])(t,\"position\",r.BOTTOM)}var Al=function(t){function e(e){var n=t.call(this,e)||this;return n.container=n.view.getLayer(i.FORE).addGroup(),n}return Object(a[\"c\"])(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[\"j\"])(this.components,(function(e){var n=e.component,i=e.direction,r=Er(i),o=n.get(\"maxWidthRatio\"),s=n.get(\"maxHeightRatio\"),l=t.getCategoryLegendSizeCfg(r,o,s),c=n.get(\"maxWidth\"),u=n.get(\"maxHeight\");n.update({maxWidth:Math.min(l.maxWidth,c||0),maxHeight:Math.min(l.maxHeight,u||0)});var h=n.get(\"padding\"),d=n.getLayoutBBox(),p=new It(d.x,d.y,d.width,d.height).expand(h),f=Object(a[\"e\"])(_l(t.view.viewBBox,p,i),2),g=f[0],y=f[1],v=Object(a[\"e\"])(_l(t.layoutBBox,p,i),2),m=v[0],b=v[1],x=0,O=0;i.startsWith(\"top\")||i.startsWith(\"bottom\")?(x=g,O=b):(x=m,O=y),n.setLocation({x:x+h[3],y:O+h[0]}),t.layoutBBox=t.layoutBBox.cut(p,i)}))},e.prototype.update=function(){var t=this;this.option=this.view.getOptions().legends;var e={},n=function(n,i,r){var o=t.getId(r.field),a=t.getComponentById(o);if(a){var l=void 0,c=Cl(t.option,r.field);!1!==c&&(Object(s[\"s\"])(c,\"custom\")?l=t.getCategoryCfg(n,i,r,c,!0):r.isLinear?l=t.getContinuousCfg(n,i,r,c):r.isCategory&&(l=t.getCategoryCfg(n,i,r,c))),l&&(At(l,[\"container\"]),a.direction=Ml(c),a.component.update(l),e[o]=!0)}else{var u=t.createFieldLegend(n,i,r);u&&(u.component.init(),t.components.push(u),e[o]=!0)}};if(Object(s[\"s\"])(this.option,\"custom\")){var r=\"global-custom\",a=this.getComponentById(r);if(a){var l=this.getCategoryCfg(void 0,void 0,void 0,this.option,!0);At(l,[\"container\"]),a.component.update(l),e[r]=!0}else{var c=this.createCustomLegend(void 0,void 0,void 0,this.option);if(c){c.init();var u=i.FORE,h=Ml(this.option);this.components.push({id:r,component:c,layer:u,direction:h,type:o.LEGEND,extra:void 0}),e[r]=!0}}}else this.loopLegends(n);var d=[];Object(s[\"j\"])(this.getComponents(),(function(t){e[t.id]?d.push(t):t.component.destroy()})),this.components=d},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[\"j\"])(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),i={};Object(s[\"j\"])(n,(function(e){var n=e.getGroupAttributes();Object(s[\"j\"])(n,(function(n){var r=n.getScale(n.type);r&&\"identity\"!==r.type&&!i[r.field]&&(t(e,n,r),i[r.field]=!0)}))}))}},e.prototype.createFieldLegend=function(t,e,n){var r,a=Cl(this.option,n.field),l=i.FORE,c=Ml(a);if(!1!==a&&(Object(s[\"s\"])(a,\"custom\")?r=this.createCustomLegend(t,e,n,a):n.isLinear?r=this.createContinuousLegend(t,e,n,a):n.isCategory&&(r=this.createCategoryLegend(t,e,n,a))),r)return r.set(\"field\",n.field),{id:this.getId(n.field),component:r,layer:l,direction:c,type:o.LEGEND,extra:{scale:n}}},e.prototype.createCustomLegend=function(t,e,n,i){var r=this.getCategoryCfg(t,e,n,i,!0);return new ft(r)},e.prototype.createContinuousLegend=function(t,e,n,i){var r=this.getContinuousCfg(t,e,n,At(i,[\"value\"]));return new gt(r)},e.prototype.createCategoryLegend=function(t,e,n,i){var r=this.getCategoryCfg(t,e,n,i);return new ft(r)},e.prototype.getContinuousCfg=function(t,e,n,i){var r=n.getTicks(),o=Object(s[\"m\"])(r,(function(t){return 0===t.value})),a=Object(s[\"m\"])(r,(function(t){return 1===t.value})),l=r.map((function(t){var i=t.value,r=t.tickValue,o=e.mapping(n.invert(i)).join(\"\");return{value:r,attrValue:o,color:o,scaleValue:i}}));o||l.push({value:n.min,attrValue:e.mapping(n.invert(0)).join(\"\"),color:e.mapping(n.invert(0)).join(\"\"),scaleValue:0}),a||l.push({value:n.max,attrValue:e.mapping(n.invert(1)).join(\"\"),color:e.mapping(n.invert(1)).join(\"\"),scaleValue:1}),l.sort((function(t,e){return t.value-e.value}));var c={min:Object(s[\"z\"])(l).value,max:Object(s[\"U\"])(l).value,colors:[],rail:{type:e.type},track:{}};\"size\"===e.type&&(c.track={style:{fill:\"size\"===e.type?this.view.getTheme().defaultColor:void 0}}),\"color\"===e.type&&(c.colors=l.map((function(t){return t.attrValue})));var u=this.container,h=Ml(i),d=Er(h),p=Object(s[\"s\"])(i,\"title\");return p&&(p=Object(s[\"h\"])({text:Wt(n)},p)),c.container=u,c.layout=d,c.title=p,c.animateOption=Vi,this.mergeLegendCfg(c,i,\"continuous\")},e.prototype.getCategoryCfg=function(t,e,n,i,o){var a=this.container,l=Object(s[\"s\"])(i,\"position\",r.BOTTOM),c=Nr(this.view.getTheme(),l),u=Object(s[\"s\"])(c,[\"marker\"]),h=Object(s[\"s\"])(i,\"marker\"),d=Er(l),p=Object(s[\"s\"])(c,[\"pageNavigator\"]),f=Object(s[\"s\"])(i,\"pageNavigator\"),g=o?Fr(u,h,i.items):Br(this.view,t,e,u,h),y=Object(s[\"s\"])(i,\"title\");y&&(y=Object(s[\"h\"])({text:n?Wt(n):\"\"},y));var v=Object(s[\"s\"])(i,\"maxWidthRatio\"),m=Object(s[\"s\"])(i,\"maxHeightRatio\"),b=this.getCategoryLegendSizeCfg(d,v,m);b.container=a,b.layout=d,b.items=g,b.title=y,b.animateOption=Vi,b.pageNavigator=Object(s[\"h\"])({},p,f);var x=this.mergeLegendCfg(b,i,l);x.reversed&&x.items.reverse();var O=Object(s[\"s\"])(x,\"maxItemWidth\");return O&&O<=1&&(x.maxItemWidth=this.view.viewBBox.width*O),x},e.prototype.mergeLegendCfg=function(t,e,n){var i=n.split(\"-\")[0],r=Nr(this.view.getTheme(),i);return Object(s[\"h\"])({},r,t,e)},e.prototype.getId=function(t){return\"\".concat(this.name,\"-\").concat(t)},e.prototype.getComponentById=function(t){return Object(s[\"m\"])(this.components,(function(e){return e.id===t}))},e.prototype.getCategoryLegendSizeCfg=function(t,e,n){void 0===e&&(e=v),void 0===n&&(n=v);var i=this.view.viewBBox,r=i.width,o=i.height;return\"vertical\"===t?{maxWidth:r*e,maxHeight:o}:{maxWidth:r,maxHeight:o*n}},e}(Li),kl=Al,Il=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=s[\"fb\"],n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=Object(a[\"e\"])(t,2),i=e[0],r=e[1];n.start=i,n.end=r,n.changeViewData(i,r)},n.container=n.view.getLayer(i.FORE).addGroup(),n.onChangeFn=Object(s[\"qb\"])(n.onValueChange,20,{leading:!0}),n.width=0,n.view.on(l.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(l.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object(a[\"c\"])(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(l.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(l.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[\"K\"])(this.start)&&(this.start=e,this.end=n);var i=this.view.getOptions().data;this.option&&!Object(s[\"G\"])(i)?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\"),i=Object(a[\"e\"])(n,4),o=i[0],s=(i[1],i[2],i[3]),l=this.slider.component.getLayoutBBox(),c=new It(l.x,l.y,Math.min(l.width,e),l.height).expand(n),u=this.getMinMaxText(this.start,this.end),h=u.minText,d=u.maxText,p=Object(a[\"e\"])(_l(this.view.viewBBox,c,r.BOTTOM),2),f=(p[0],p[1]),g=Object(a[\"e\"])(_l(this.view.coordinateBBox,c,r.BOTTOM),2),y=g[0];g[1];this.slider.component.update(Object(a[\"a\"])(Object(a[\"a\"])({},this.getSliderCfg()),{x:y+s,y:f+o,width:this.width,start:this.start,end:this.end,minText:h,maxText:d})),this.view.viewBBox=this.view.viewBBox.cut(c,r.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),e=new ct[\"Slider\"](Object(a[\"a\"])({container:this.container},t));return e.init(),{component:e,layer:i.FORE,direction:r.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,i=e.maxText;t=Object(a[\"a\"])(Object(a[\"a\"])({},t),{width:this.width,start:this.start,end:this.end,minText:n,maxText:i})}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[\"O\"])(this.option)){var e=Object(a[\"a\"])({data:this.getData()},Object(s[\"s\"])(this.option,\"trendCfg\",{}));t=Object(s[\"h\"])({},t,this.getThemeOptions(),this.option),t=Object(a[\"a\"])(Object(a[\"a\"])({},t),{trendCfg:e})}return t.start=Object(s[\"c\"])(Math.min(Object(s[\"K\"])(t.start)?0:t.start,Object(s[\"K\"])(t.end)?1:t.end),0,1),t.end=Object(s[\"c\"])(Math.max(Object(s[\"K\"])(t.start)?0:t.start,Object(s[\"K\"])(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,e=Object(a[\"e\"])(this.view.getYScales(),1),n=e[0],i=this.view.getGroupScales();if(i.length){var r=i[0],o=r.field,s=r.ticks;return t.reduce((function(t,e){return e[o]===s[0]&&t.push(e[n.field]),t}),[])}return t.map((function(t){return t[n.field]||0}))},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return Object(s[\"s\"])(t,[\"components\",\"slider\",\"common\"],{})},e.prototype.getMinMaxText=function(t,e){var n=this.view.getOptions().data,i=this.view.getXScale(),r=!0,o=Object(s[\"yb\"])(n,i.field);i.isLinear&&(o=o.sort());var a=r?o:o.reverse(),l=Object(s[\"mb\"])(n);if(!i||!l)return{};var c=Object(s[\"mb\"])(a),u=Math.round(t*(c-1)),h=Math.round(e*(c-1)),d=Object(s[\"s\"])(a,[u]),p=Object(s[\"s\"])(a,[h]),f=this.getSliderCfg().formatter;return f&&(d=f(d,n[u],u),p=f(p,n[h],h)),{minText:d,maxText:p}},e.prototype.changeViewData=function(t,e){var n=this.view.getOptions().data,i=this.view.getXScale(),r=Object(s[\"mb\"])(n);if(i&&r){var o=!0,a=Object(s[\"yb\"])(n,i.field),l=this.view.getXScale().isLinear?a.sort((function(t,e){return Number(t)-Number(e)})):a,c=o?l:l.reverse(),u=Object(s[\"mb\"])(c),h=Math.round(t*(u-1)),d=Math.round(e*(u-1));this.view.filter(i.field,(function(t,e){var n=c.indexOf(t);return!(n>-1)||Ct(n,h,d)})),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}(Li),Tl=Il,Dl=0,Pl=8,Ll=32,Rl=20,El=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=s[\"fb\"],n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t.ratio,i=n.getValidScrollbarCfg().animate;n.ratio=Object(s[\"c\"])(e,0,1);var r=n.view.getOptions().animate;i||n.view.animate(!1),n.changeViewData(n.getScrollRange(),!0),n.view.animate(r)},n.container=n.view.getLayer(i.FORE).addGroup(),n.onChangeFn=Object(s[\"qb\"])(n.onValueChange,20,{leading:!0}),n.trackLen=0,n.thumbLen=0,n.ratio=0,n.view.on(l.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(l.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object(a[\"c\"])(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(l.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(l.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\"),i=this.scrollbar.component.getLayoutBBox(),o=new It(i.x,i.y,Math.min(i.width,e),i.height).expand(n),s=this.getScrollbarComponentCfg(),l=void 0,c=void 0;if(s.isHorizontal){var u=Object(a[\"e\"])(_l(this.view.viewBBox,o,r.BOTTOM),2),h=(u[0],u[1]),d=Object(a[\"e\"])(_l(this.view.coordinateBBox,o,r.BOTTOM),2),p=d[0];d[1];l=p,c=h}else{var f=Object(a[\"e\"])(_l(this.view.viewBBox,o,r.RIGHT),2),g=(f[0],h=f[1],Object(a[\"e\"])(_l(this.view.viewBBox,o,r.RIGHT),2));p=g[0],g[1];l=p,c=h}l+=n[3],c+=n[0],this.trackLen?this.scrollbar.component.update(Object(a[\"a\"])(Object(a[\"a\"])({},s),{x:l,y:c,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update(Object(a[\"a\"])(Object(a[\"a\"])({},s),{x:l,y:c})),this.view.viewBBox=this.view.viewBBox.cut(o,s.isHorizontal?r.BOTTOM:r.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.setValue=function(t){this.onValueChange({ratio:t})},e.prototype.getValue=function(){return this.ratio},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return Object(s[\"s\"])(t,[\"components\",\"scrollbar\",\"common\"],{})},e.prototype.getScrollbarTheme=function(t){var e=Object(s[\"s\"])(this.view.getTheme(),[\"components\",\"scrollbar\"]),n=t||{},i=n.thumbHighlightColor,r=Object(a[\"f\"])(n,[\"thumbHighlightColor\"]);return{default:Object(s[\"h\"])({},Object(s[\"s\"])(e,[\"default\",\"style\"],{}),r),hover:Object(s[\"h\"])({},Object(s[\"s\"])(e,[\"hover\",\"style\"],{}),{thumbColor:i})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),e=this.view.getYScales().slice();this.data=this.getScrollbarData(),this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),i=n.trackLen,r=n.thumbLen;this.trackLen=i,this.thumbLen=r,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[\"c\"])(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,i=Object(a[\"e\"])(t,2),r=i[0],o=i[1],l=this.getValidScrollbarCfg().type,c=\"vertical\"!==l,u=Object(s[\"yb\"])(this.data,this.xScaleCfg.field),h=this.view.getXScale().isLinear?u.sort((function(t,e){return Number(t)-Number(e)})):u,d=c?h:h.reverse();this.yScalesCfg.forEach((function(t){n.view.scale(t.field,{formatter:t.formatter,type:t.type,min:t.min,max:t.max,tickMethod:t.tickMethod})})),this.view.filter(this.xScaleCfg.field,(function(t){var e=d.indexOf(t);return!(e>-1)||Ct(e,r,o)})),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,e=\"vertical\"!==t,n=new ct[\"Scrollbar\"](Object(a[\"a\"])(Object(a[\"a\"])({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return n.init(),{component:n,layer:i.FORE,direction:e?r.BOTTOM:r.RIGHT,type:o.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),e=this.trackLen?Object(a[\"a\"])(Object(a[\"a\"])({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):Object(a[\"a\"])({},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,i=e.categorySize,r=\"vertical\"!==n;return Math.floor((r?t.width:t.height)/i)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),e=this.getScrollbarData(),n=Object(s[\"yb\"])(e,t.field);return Object(s[\"mb\"])(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,e=t.coordinateBBox,n=t.viewBBox,i=this.getValidScrollbarCfg(),r=i.type,o=i.padding,l=i.width,c=i.height,u=i.style,h=\"vertical\"!==r,d=Object(a[\"e\"])(o,4),p=d[0],f=d[1],g=d[2],y=d[3],v=h?{x:e.minX+y,y:n.maxY-c-g}:{x:n.maxX-l-f,y:e.minY+p},m=this.getStep(),b=this.getCnt(),x=h?e.width-y-f:e.height-p-g,O=Math.max(x*Object(s[\"c\"])(m/b,0,1),Rl);return Object(a[\"a\"])(Object(a[\"a\"])({},this.getThemeOptions()),{x:v.x,y:v.y,size:h?c:l,isHorizontal:h,trackLen:x,thumbLen:O,thumbOffset:0,theme:this.getScrollbarTheme(u)})},e.prototype.getValidScrollbarCfg=function(){var t={type:\"horizontal\",categorySize:Ll,width:Pl,height:Pl,padding:[0,0,0,0],animate:!0,style:{}};return Object(s[\"O\"])(this.option)&&(t=Object(a[\"a\"])(Object(a[\"a\"])({},t),this.option)),Object(s[\"O\"])(this.option)&&this.option.padding||(t.padding=\"horizontal\"===t.type?[Dl,0,Dl,0]:[0,Dl,0,Dl]),t},e.prototype.getScrollbarData=function(){var t=this.view.getCoordinate(),e=this.getValidScrollbarCfg(),n=this.view.getOptions().data||[];return t.isReflect(\"y\")&&\"vertical\"===e.type&&(n=Object(a[\"g\"])([],Object(a[\"e\"])(n),!1).reverse()),n},e}(Li),Bl=El,Fl={fill:\"#CCD6EC\",opacity:.3};function Nl(t,e,n){var i,r,o,l,c,u,h=pi(t,e,n);if(h.length){h=Object(s[\"q\"])(h);try{for(var d=Object(a[\"i\"])(h),p=d.next();!p.done;p=d.next()){var f=p.value;try{for(var g=(o=void 0,Object(a[\"i\"])(f)),y=g.next();!y.done;y=g.next()){var v=y.value,m=v.mappingData,b=m.x,x=m.y;v.x=Object(s[\"C\"])(b)?b[b.length-1]:b,v.y=Object(s[\"C\"])(x)?x[x.length-1]:x}}catch(A){o={error:A}}finally{try{y&&!y.done&&(l=g.return)&&l.call(g)}finally{if(o)throw o.error}}}}catch(k){i={error:k}}finally{try{p&&!p.done&&(r=d.return)&&r.call(d)}finally{if(i)throw i.error}}var O=n.shared;if(!1===O&&h.length>1){var w=h[0],j=Math.abs(e.y-w[0].y);try{for(var S=Object(a[\"i\"])(h),_=S.next();!_.done;_=S.next()){var C=_.value,M=Math.abs(e.y-C[0].y);M<=j&&(w=C,j=M)}}catch(I){c={error:I}}finally{try{_&&!_.done&&(u=S.return)&&u.call(S)}finally{if(c)throw c.error}}h=[w]}return Object(s[\"ub\"])(Object(s[\"q\"])(h))}return[]}var zl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.show=function(t){var e=this.context.view,n=this.context.event,i=e.getController(\"tooltip\").getTooltipCfg(),r=Nl(e,{x:n.x,y:n.y},i);if(!Object(s[\"H\"])(r,this.items)&&(this.items=r,r.length)){var o=e.getXScale().field,l=r[0].data[o],c=[],u=e.geometries;if(Object(s[\"j\"])(u,(function(t){if(\"interval\"===t.type||\"schema\"===t.type){var e=t.getElementsBy((function(t){var e=t.getData();return e[o]===l}));c=c.concat(e)}})),c.length){var h=e.getCoordinate(),d=c[0].shape.getCanvasBBox(),p=c[0].shape.getCanvasBBox(),f=d;Object(s[\"j\"])(c,(function(t){var e=t.shape.getCanvasBBox();h.isTransposed?(e.minYp.maxY&&(p=e)):(e.minXp.maxX&&(p=e)),f.x=Math.min(e.minX,f.minX),f.y=Math.min(e.minY,f.minY),f.width=Math.max(e.maxX,f.maxX)-f.x,f.height=Math.max(e.maxY,f.maxY)-f.y}));var g=e.backgroundGroup,y=e.coordinateBBox,v=void 0;if(h.isRect){var m=e.getXScale(),b=t||{},x=b.appendRatio,O=b.appendWidth;Object(s[\"K\"])(O)&&(x=Object(s[\"K\"])(x)?m.isLinear?0:.25:x,O=h.isTransposed?x*p.height:x*d.width);var w=void 0,j=void 0,S=void 0,_=void 0;h.isTransposed?(w=y.minX,j=Math.min(p.minY,d.minY)-O,S=y.width,_=f.height+2*O):(w=Math.min(d.minX,p.minX)-O,j=y.minY,S=f.width+2*O,_=y.height),v=[[\"M\",w,j],[\"L\",w+S,j],[\"L\",w+S,j+_],[\"L\",w,j+_],[\"Z\"]]}else{var C=Object(s[\"z\"])(c),M=Object(s[\"U\"])(c),A=jt(C.getModel(),h).startAngle,k=jt(M.getModel(),h).endAngle,I=h.getCenter(),T=h.getRadius(),D=h.innerRadius*T;v=Ot(I.x,I.y,T,A,k,D)}if(this.regionPath)this.regionPath.attr(\"path\",v),this.regionPath.show();else{var P=Object(s[\"s\"])(t,\"style\",Fl);this.regionPath=g.addShape({type:\"path\",name:\"active-region\",capture:!1,attrs:Object(a[\"a\"])(Object(a[\"a\"])({},P),{path:v})})}}}},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}(ce),Vl=zl,Gl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return Object(a[\"c\"])(e,t),e.prototype.show=function(){var t=this.context,e=t.event,n=t.view,i=n.isTooltipLocked();if(!i){var r=this.timeStamp,o=+new Date,a=Object(s[\"s\"])(t.view.getOptions(),\"tooltip.showDelay\",16);if(o-r>a){var l=this.location,c={x:e.x,y:e.y};l&&Object(s[\"H\"])(l,c)||this.showTooltip(n,c),this.timeStamp=o,this.location=c}}},e.prototype.hide=function(){var t=this.context.view,e=t.getController(\"tooltip\"),n=this.context.event,i=n.clientX,r=n.clientY;e.isCursorEntered({x:i,y:r})||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}(ce),Hl=Gl,Wl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.showTooltip=function(t,e){var n=On(t);Object(s[\"j\"])(n,(function(n){var i=jn(t,n,e);n.showTooltip(i)}))},e.prototype.hideTooltip=function(t){var e=On(t);Object(s[\"j\"])(e,(function(t){t.hideTooltip()}))},e}(Hl),Xl=Wl,Yl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return Object(a[\"c\"])(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,i=+new Date;if(i-n>16){var r=this.location,o={x:e.x,y:e.y};r&&Object(s[\"H\"])(r,o)||this.showTooltip(o),this.timeStamp=i,this.location=o}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var e=this.context,n=e.event,i=n.target;if(i&&i.get(\"tip\")){this.tooltip||this.renderTooltip();var r=i.get(\"tip\");this.tooltip.update(Object(a[\"a\"])({title:r},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,e=this.context.view,n=e.canvas,i={start:{x:0,y:0},end:{x:n.get(\"width\"),y:n.get(\"height\")}},r=e.getTheme(),o=Object(s[\"s\"])(r,[\"components\",\"tooltip\",\"domStyles\"],{}),l=new yt({parent:n.get(\"el\").parentNode,region:i,visible:!1,crosshairs:null,domStyles:Object(a[\"a\"])({},Object(s[\"h\"])({},o,(t={},t[ct[\"TOOLTIP_CSS_CONST\"].CONTAINER_CLASS]={\"max-width\":\"50%\"},t[ct[\"TOOLTIP_CSS_CONST\"].TITLE_CLASS]={\"word-break\":\"break-all\"},t)))});l.init(),l.setCapture(!1),this.tooltip=l},e}(ce),ql=Yl,Ul=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=\"\",e}return Object(a[\"c\"])(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=hn(t,this.stateName);Object(s[\"j\"])(n,(function(t){e.setElementState(t,!1)}))},e}(ce),Zl=Ul;function Kl(t){return Object(s[\"s\"])(t.get(\"delegateObject\"),\"item\")}var Ql=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreListItemStates=[\"unchecked\"],e}return Object(a[\"c\"])(e,t),e.prototype.isItemIgnore=function(t,e){var n=this.ignoreListItemStates,i=n.filter((function(n){return e.hasState(t,n)}));return!!i.length},e.prototype.setStateByComponent=function(t,e,n){var i=this.context.view,r=t.get(\"field\"),o=cn(i);this.setElementsStateByItem(o,r,e,n)},e.prototype.setStateByElement=function(t,e){this.setElementState(t,e)},e.prototype.isMathItem=function(t,e,n){var i=this.context.view,r=_n(i,e),o=dn(t,e);return!Object(s[\"K\"])(o)&&n.name===r.getText(o)},e.prototype.setElementsStateByItem=function(t,e,n,i){var r=this;Object(s[\"j\"])(t,(function(t){r.isMathItem(t,e,n)&&t.setState(r.stateName,i)}))},e.prototype.setStateEnable=function(t){var e=Ke(this.context);if(e)Je(this.context)&&this.setStateByElement(e,t);else{var n=Qe(this.context);if($e(n)){var i=n.item,r=n.component;if(i&&r&&!this.isItemIgnore(i,r)){var o=this.context.event.gEvent;if(o&&o.fromShape&&o.toShape&&Kl(o.fromShape)===Kl(o.toShape))return;this.setStateByComponent(r,i,t)}}}},e.prototype.toggle=function(){var t=Ke(this.context);if(t){var e=t.hasState(this.stateName);this.setElementState(t,!e)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(Zl),Jl=Ql,$l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=\"active\",e}return Object(a[\"c\"])(e,t),e.prototype.active=function(){this.setState()},e}(Jl),tc=$l,ec=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={},e}return Object(a[\"c\"])(e,t),e.prototype.getColorScale=function(t,e){var n=e.geometry.getAttribute(\"color\");if(!n)return null;var i=t.getScaleByField(n.getFields()[0]);return i},e.prototype.getLinkPath=function(t,e){var n=this.context.view,i=n.getCoordinate().isTransposed,r=t.shape.getCanvasBBox(),o=e.shape.getCanvasBBox(),a=i?[[\"M\",r.minX,r.minY],[\"L\",o.minX,o.maxY],[\"L\",o.maxX,o.maxY],[\"L\",r.maxX,r.minY],[\"Z\"]]:[[\"M\",r.maxX,r.minY],[\"L\",o.minX,o.minY],[\"L\",o.minX,o.maxY],[\"L\",r.maxX,r.maxY],[\"Z\"]];return a},e.prototype.addLinkShape=function(t,e,n,i){var r={opacity:.4,fill:e.shape.attr(\"fill\")};t.addShape({type:\"path\",attrs:Object(a[\"a\"])(Object(a[\"a\"])({},Object(s[\"h\"])({},r,Object(s[\"I\"])(i)?i(r,e):i)),{path:this.getLinkPath(e,n)})})},e.prototype.linkByElement=function(t,e){var n=this,i=this.context.view,r=this.getColorScale(i,t);if(r){var o=dn(t,r.field);if(!this.cache[o]){var a=un(i,r.field,o),l=this.linkGroup,c=l.addGroup();this.cache[o]=c;var u=a.length;Object(s[\"j\"])(a,(function(t,i){if(i=0}),e)},e}(rc),_c=Sc,Cc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=\"active\",e}return Object(a[\"c\"])(e,t),e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,e){var n=this.context.view,i=cn(n);fc(i,(function(e){return t===e}),e)},e.prototype.clear=function(){var t=this.context.view;pc(t)},e}(lc),Mc=Cc,Ac=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=\"selected\",e}return Object(a[\"c\"])(e,t),e.prototype.selected=function(){this.setState()},e}(rc),kc=Ac,Ic=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=\"selected\",e}return Object(a[\"c\"])(e,t),e.prototype.selected=function(){this.setState()},e}(Jl),Tc=Ic,Dc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=\"selected\",e}return Object(a[\"c\"])(e,t),e.prototype.selected=function(){this.setState()},e}(lc),Pc=Dc,Lc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=\"\",e.ignoreItemStates=[],e}return Object(a[\"c\"])(e,t),e.prototype.getTriggerListInfo=function(){var t=Qe(this.context),e=null;return $e(t)&&(e={item:t.item,list:t.component}),e},e.prototype.getAllowComponents=function(){var t=this,e=this.context.view,n=vn(e),i=[];return Object(s[\"j\"])(n,(function(e){e.isList()&&t.allowSetStateByElement(e)&&i.push(e)})),i},e.prototype.hasState=function(t,e){return t.hasState(e,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,e=this.getAllowComponents();Object(s[\"j\"])(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 i=this.context.view,r=_n(i,e);return r&&r.isCategory},e.prototype.allowSetStateByItem=function(t,e){var n=this.ignoreItemStates;if(n.length){var i=n.filter((function(n){return e.hasState(t,n)}));return 0===i.length}return!0},e.prototype.setStateByElement=function(t,e,n){var i=t.get(\"field\"),r=this.context.view,o=_n(r,i),a=dn(e,i),s=o.getText(a);this.setItemsState(t,s,n)},e.prototype.setStateEnable=function(t){var e=this,n=Ke(this.context);if(n){var i=this.getAllowComponents();Object(s[\"j\"])(i,(function(i){e.setStateByElement(i,n,t)}))}else{var r=Qe(this.context);if($e(r)){var o=r.item,a=r.component;this.allowSetStateByElement(a)&&this.allowSetStateByItem(o,a)&&this.setItemState(a,o,t)}}},e.prototype.setItemsState=function(t,e,n){var i=this,r=t.getItems();Object(s[\"j\"])(r,(function(r){r.name===e&&i.setItemState(t,r,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,i=this.hasState(e,n);this.setItemState(e,n,!i)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(ce),Rc=Lc,Ec=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=\"active\",e}return Object(a[\"c\"])(e,t),e.prototype.active=function(){this.setState()},e}(Rc),Bc=Ec,Fc=\"inactive\",Nc=\"active\";function zc(t){var e=t.getItems();Object(s[\"j\"])(e,(function(e){t.hasState(e,Nc)&&t.setItemState(e,Nc,!1),t.hasState(e,Fc)&&t.setItemState(e,Fc,!1)}))}var Vc=\"inactive\",Gc=\"active\",Hc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=Gc,e.ignoreItemStates=[\"unchecked\"],e}return Object(a[\"c\"])(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 i=t.getItems();if(n)Object(s[\"j\"])(i,(function(n){e(n)?(t.hasState(n,Vc)&&t.setItemState(n,Vc,!1),t.setItemState(n,Gc,!0)):t.hasState(n,Gc)||t.setItemState(n,Vc,!0)}));else{var r=t.getItemsByState(Gc),o=!0;Object(s[\"j\"])(r,(function(t){if(!e(t))return o=!1,!1})),o?this.clear():Object(s[\"j\"])(i,(function(n){e(n)&&(t.hasState(n,Gc)&&t.setItemState(n,Gc,!1),t.setItemState(n,Vc,!0))}))}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)zc(t.list);else{var e=this.getAllowComponents();Object(s[\"j\"])(e,(function(t){t.clearItemsState(Gc),t.clearItemsState(Vc)}))}},e}(Rc),Wc=Hc,Xc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=\"selected\",e}return Object(a[\"c\"])(e,t),e.prototype.selected=function(){this.setState()},e}(Rc),Yc=Xc,qc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=\"unchecked\",e}return Object(a[\"c\"])(e,t),e.prototype.unchecked=function(){this.setState()},e}(Rc),Uc=qc,Zc=\"unchecked\",Kc=\"checked\",Qc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=Kc,e}return Object(a[\"c\"])(e,t),e.prototype.setItemState=function(t,e,n){this.setCheckedBy(t,(function(t){return t===e}),n)},e.prototype.setCheckedBy=function(t,e,n){var i=t.getItems();n&&Object(s[\"j\"])(i,(function(n){e(n)?(t.hasState(n,Zc)&&t.setItemState(n,Zc,!1),t.setItemState(n,Kc,!0)):t.hasState(n,Kc)||t.setItemState(n,Zc,!0)}))},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item,i=!Object(s[\"nb\"])(e.getItems(),(function(t){return e.hasState(t,Zc)}));i||e.hasState(n,Zc)?this.setItemState(e,n,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();Object(s[\"j\"])(t,(function(t){t.clearItemsState(Kc),t.clearItemsState(Zc)}))},e}(Rc),Jc=Qc,$c=\"unchecked\",tu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.toggle=function(){var t,e,n,i,r,o,s,l,c=this.getTriggerListInfo();if(null===c||void 0===c?void 0:c.item){var u=c.list,h=c.item,d=u.getItems(),p=d.filter((function(t){return!u.hasState(t,$c)})),f=d.filter((function(t){return u.hasState(t,$c)})),g=p[0];if(d.length===p.length)try{for(var y=Object(a[\"i\"])(d),v=y.next();!v.done;v=y.next()){var m=v.value;u.setItemState(m,$c,m.id!==h.id)}}catch(_){t={error:_}}finally{try{v&&!v.done&&(e=y.return)&&e.call(y)}finally{if(t)throw t.error}}else if(d.length-f.length===1)if(g.id===h.id)try{for(var b=Object(a[\"i\"])(d),x=b.next();!x.done;x=b.next()){m=x.value;u.setItemState(m,$c,!1)}}catch(C){n={error:C}}finally{try{x&&!x.done&&(i=b.return)&&i.call(b)}finally{if(n)throw n.error}}else try{for(var O=Object(a[\"i\"])(d),w=O.next();!w.done;w=O.next()){m=w.value;u.setItemState(m,$c,m.id!==h.id)}}catch(M){r={error:M}}finally{try{w&&!w.done&&(o=O.return)&&o.call(O)}finally{if(r)throw r.error}}else try{for(var j=Object(a[\"i\"])(d),S=j.next();!S.done;S=j.next()){m=S.value;u.setItemState(m,$c,m.id!==h.id)}}catch(A){s={error:A}}finally{try{S&&!S.done&&(l=j.return)&&l.call(j)}finally{if(s)throw s.error}}}},e}(Rc),eu=tu,nu=\"showRadio\",iu=\"legend-radio-tip\",ru=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return Object(a[\"c\"])(e,t),e.prototype.show=function(){var t=this.getTriggerListInfo();if(null===t||void 0===t?void 0:t.item){var e=t.list,n=t.item;e.setItemState(n,nu,!0)}},e.prototype.hide=function(){var t=this.getTriggerListInfo();if(null===t||void 0===t?void 0:t.item){var e=t.list,n=t.item;e.setItemState(n,nu,!1)}},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.showTip=function(){var t=this.context,e=t.event,n=this.timeStamp,i=+new Date,r=this.context.event.target;if(i-n>16&&\"legend-item-radio\"===r.get(\"name\")){var o=this.location,a={x:e.x,y:e.y};this.timeStamp=i,this.location=a,o&&Object(s[\"H\"])(o,a)||this.showTooltip(a)}},e.prototype.hideTip=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var e=this.context,n=e.event,i=n.target;if(i&&i.get(\"tip\")){this.tooltip||this.renderTooltip();var r=e.view.getCanvas().get(\"el\").getBoundingClientRect(),o=r.x,s=r.y;this.tooltip.update(Object(a[\"a\"])(Object(a[\"a\"])({title:i.get(\"tip\")},t),{x:t.x+o,y:t.y+s})),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,e=(t={},t[ct[\"TOOLTIP_CSS_CONST\"].CONTAINER_CLASS]={padding:\"6px 8px\",transform:\"translate(-50%, -80%)\",background:\"rgba(0,0,0,0.75)\",color:\"#fff\",\"border-radius\":\"2px\",\"z-index\":100},t[ct[\"TOOLTIP_CSS_CONST\"].TITLE_CLASS]={\"font-size\":\"12px\",\"line-height\":\"14px\",\"margin-bottom\":0,\"word-break\":\"break-all\"},t);document.getElementById(iu)&&document.body.removeChild(document.getElementById(iu));var n=new yt({parent:document.body,region:null,visible:!1,crosshairs:null,domStyles:e,containerId:iu});n.init(),n.setCapture(!1),this.tooltip=n},e}(Rc),ou=ru,au=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[\"c\"])(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:\".concat(t),n=this.context.view,i=this.context.event;n.emit(e,{target:this.maskShape,shape:this.maskShape,points:this.points,x:i.x,y:i.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[\"a\"])({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(t){this.starting=!0,this.moving=!1,this.points=[this.getCurrentPoint()],this.maskShape||(this.maskShape=this.createMask(),this.maskShape.set(\"capture\",!1)),this.updateMask(null===t||void 0===t?void 0:t.maskStyle),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,i=t.y-e.y,r=this.points;Object(s[\"j\"])(r,(function(t){t.x+=n,t.y+=i})),this.updateMask(),this.emitEvent(\"change\"),this.preMovePoint=t}},e.prototype.updateMask=function(t){var e=Object(s[\"h\"])({},this.getMaskAttrs(),t);this.maskShape.attr(e)},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}(ce),su=au;function lu(t){var e=Object(s[\"U\"])(t),n=0,i=0,r=0;if(t.length){var o=t[0];n=mn(o,e)/2,i=(e.x+o.x)/2,r=(e.y+o.y)/2}return{x:i,y:r,r:n}}var cu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType=\"circle\",e}return Object(a[\"c\"])(e,t),e.prototype.getMaskAttrs=function(){return lu(this.points)},e}(su),uu=cu;function hu(t){return{start:Object(s[\"z\"])(t),end:Object(s[\"U\"])(t)}}function du(t,e){var n=Math.min(t.x,e.x),i=Math.min(t.y,e.y),r=Math.abs(e.x-t.x),o=Math.abs(e.y-t.y);return{x:n,y:i,width:r,height:o}}var pu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType=\"rect\",e}return Object(a[\"c\"])(e,t),e.prototype.getRegion=function(){return hu(this.points)},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),e=t.start,n=t.end;return du(e,n)},e}(su),fu=pu;function gu(t){t.x=Object(s[\"c\"])(t.x,0,1),t.y=Object(s[\"c\"])(t.y,0,1)}function yu(t,e,n,i){var r=null,o=null,a=i.invert(Object(s[\"z\"])(t)),l=i.invert(Object(s[\"U\"])(t));return n&&(gu(a),gu(l)),\"x\"===e?(r=i.convert({x:a.x,y:0}),o=i.convert({x:l.x,y:1})):(r=i.convert({x:0,y:a.y}),o=i.convert({x:1,y:l.y})),{start:r,end:o}}var vu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim=\"x\",e.inPlot=!0,e}return Object(a[\"c\"])(e,t),e.prototype.getRegion=function(){var t=this.context.view.getCoordinate();return yu(this.points,this.dim,this.inPlot,t)},e}(fu),mu=vu;function bu(t){var e=[];return t.length&&(Object(s[\"j\"])(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}function xu(t){return{path:bu(t)}}var Ou=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.getMaskPath=function(){return bu(this.points)},e.prototype.getMaskAttrs=function(){return xu(this.points)},e.prototype.addPoint=function(){this.resize()},e}(su),wu=Ou;function ju(t){return bn(t,!0)}function Su(t){return{path:ju(t)}}var _u,Cu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.getMaskPath=function(){return ju(this.points)},e.prototype.getMaskAttrs=function(){return Su(this.points)},e}(wu),Mu=Cu,Au=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.maskShapes=[],e.starting=!1,e.moving=!1,e.recordPoints=null,e.preMovePoint=null,e.shapeType=\"path\",e.maskType=\"multi-mask\",e}return Object(a[\"c\"])(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=\"\".concat(this.maskType,\":\").concat(t),n=this.context.view,i=this.context.event,r={type:this.shapeType,name:this.maskType,get:function(t){return r.hasOwnProperty(t)?r[t]:void 0}};n.emit(e,{target:r,maskShapes:this.maskShapes,multiPoints:this.recordPoints,x:i.x,y:i.y})},e.prototype.createMask=function(t){var e=this.context.view,n=this.recordPoints[t],i=this.getMaskAttrs(n),r=e.foregroundGroup.addShape({type:this.shapeType,name:\"mask\",draggable:!0,attrs:Object(a[\"a\"])({fill:\"#C5D4EB\",opacity:.3},i)});this.maskShapes.push(r)},e.prototype.getMaskPath=function(t){return[]},e.prototype.show=function(){this.maskShapes.length>0&&(this.maskShapes.forEach((function(t){return t.show()})),this.emitEvent(\"show\"))},e.prototype.start=function(t){this.recordPointStart(),this.starting=!0,this.moving=!1;var e=this.recordPoints.length-1;this.createMask(e),this.updateShapesCapture(!1),this.updateMask(null===t||void 0===t?void 0:t.maskStyle),this.emitEvent(\"start\")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint(),this.updateShapesCapture(!1)},e.prototype.move=function(){if(this.moving&&0!==this.maskShapes.length){var t=this.getCurrentPoint(),e=this.preMovePoint,n=t.x-e.x,i=t.y-e.y,r=this.getCurMaskShapeIndex();r>-1&&(this.recordPoints[r].forEach((function(t){t.x+=n,t.y+=i})),this.updateMask(),this.emitEvent(\"change\"),this.preMovePoint=t)}},e.prototype.updateMask=function(t){var e=this;this.recordPoints.forEach((function(n,i){var r=Object(s[\"h\"])({},e.getMaskAttrs(n),t);e.maskShapes[i].attr(r)}))},e.prototype.resize=function(){this.starting&&this.maskShapes.length>0&&(this.recordPointContinue(),this.updateMask(),this.emitEvent(\"change\"))},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null,this.updateShapesCapture(!0)},e.prototype.end=function(){this.starting=!1,this.emitEvent(\"end\"),this.updateShapesCapture(!0)},e.prototype.hide=function(){this.maskShapes.length>0&&(this.maskShapes.forEach((function(t){return t.hide()})),this.emitEvent(\"hide\"))},e.prototype.remove=function(){var t=this.getCurMaskShapeIndex();t>-1&&(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.updateShapesCapture(!0),this.emitEvent(\"change\"))},e.prototype.clearAll=function(){this.recordPointClear(),this.maskShapes.forEach((function(t){return t.remove()})),this.maskShapes=[],this.preMovePoint=null},e.prototype.clear=function(){var t=this.getCurMaskShapeIndex();-1===t?(this.recordPointClear(),this.maskShapes.forEach((function(t){return t.remove()})),this.maskShapes=[],this.emitEvent(\"clearAll\")):(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.emitEvent(\"clearSingle\")),this.preMovePoint=null},e.prototype.destroy=function(){this.clear(),t.prototype.destroy.call(this)},e.prototype.getRecordPoints=function(){var t;return Object(a[\"g\"])([],Object(a[\"e\"])(null!==(t=this.recordPoints)&&void 0!==t?t:[]),!1)},e.prototype.recordPointStart=function(){var t=this.getRecordPoints(),e=this.getCurrentPoint();this.recordPoints=Object(a[\"g\"])(Object(a[\"g\"])([],Object(a[\"e\"])(t),!1),[[e]],!1)},e.prototype.recordPointContinue=function(){var t=this.getRecordPoints(),e=this.getCurrentPoint(),n=t.splice(-1,1)[0]||[];n.push(e),this.recordPoints=Object(a[\"g\"])(Object(a[\"g\"])([],Object(a[\"e\"])(t),!1),[n],!1)},e.prototype.recordPointClear=function(){this.recordPoints=[]},e.prototype.updateShapesCapture=function(t){this.maskShapes.forEach((function(e){return e.set(\"capture\",t)}))},e.prototype.getCurMaskShapeIndex=function(){var t=this.getCurrentPoint();return this.maskShapes.findIndex((function(e){var n=e.attrs,i=n.width,r=n.height,o=n.r,a=0===i||0===r||0===o;return!a&&e.isHit(t.x,t.y)}))},e}(ce),ku=Au,Iu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType=\"rect\",e}return Object(a[\"c\"])(e,t),e.prototype.getRegion=function(t){return hu(t)},e.prototype.getMaskAttrs=function(t){var e=this.getRegion(t),n=e.start,i=e.end;return du(n,i)},e}(ku),Tu=Iu,Du=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim=\"x\",e.inPlot=!0,e}return Object(a[\"c\"])(e,t),e.prototype.getRegion=function(t){var e=this.context.view.getCoordinate();return yu(t,this.dim,this.inPlot,e)},e}(Tu),Pu=Du,Lu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType=\"circle\",e.getMaskAttrs=lu,e}return Object(a[\"c\"])(e,t),e}(ku),Ru=Lu,Eu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.getMaskPath=bu,e.getMaskAttrs=xu,e}return Object(a[\"c\"])(e,t),e.prototype.addPoint=function(){this.resize()},e}(ku),Bu=Eu,Fu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.getMaskPath=ju,e.getMaskAttrs=Su,e}return Object(a[\"c\"])(e,t),e}(Bu),Nu=Fu,zu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(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.prototype.zoomIn=function(){this.setCursor(\"zoom-in\")},e.prototype.zoomOut=function(){this.setCursor(\"zoom-out\")},e}(ce),Vu=zu,Gu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.filterView=function(t,e,n){var i=this;t.getScaleByField(e)&&t.filter(e,n),t.views&&t.views.length&&Object(s[\"j\"])(t.views,(function(t){i.filterView(t,e,n)}))},e.prototype.filter=function(){var t=Qe(this.context);if(t){var e=this.context.view,n=t.component,i=n.get(\"field\");if($e(t)){if(i){var r=n.getItemsByState(\"unchecked\"),o=_n(e,i),s=r.map((function(t){return t.name}));s.length?this.filterView(e,i,(function(t){var e=o.getText(t);return!s.includes(e)})):this.filterView(e,i,null),e.render(!0)}}else if(tn(t)){var l=n.getValue(),c=Object(a[\"e\"])(l,2),u=c[0],h=c[1];this.filterView(e,i,(function(t){return t>=u&&t<=h})),e.render(!0)}}},e}(ce),Hu=Gu;function Wu(t,e,n,i){var r=Math.min(n[e],i[e]),o=Math.max(n[e],i[e]),s=Object(a[\"e\"])(t.range,2),l=s[0],c=s[1];if(rc&&(o=c),r===c&&o===c)return null;var u=t.invert(r),h=t.invert(o);if(t.isCategory){var d=t.values.indexOf(u),p=t.values.indexOf(h),f=t.values.slice(d,p+1);return function(t){return f.includes(t)}}return function(t){return t>=u&&t<=h}}(function(t){t[\"FILTER\"]=\"brush-filter-processing\",t[\"RESET\"]=\"brush-filter-reset\",t[\"BEFORE_FILTER\"]=\"brush-filter:beforefilter\",t[\"AFTER_FILTER\"]=\"brush-filter:afterfilter\",t[\"BEFORE_RESET\"]=\"brush-filter:beforereset\",t[\"AFTER_RESET\"]=\"brush-filter:afterreset\"})(_u||(_u={}));var Xu=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[\"c\"])(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(en(this.context)){var n=this.context.event.target,i=n.getCanvasBBox();t={x:i.x,y:i.y},e={x:i.maxX,y:i.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 r=this.context,o=r.view,a=r.event,s={view:o,event:a,dims:this.dims};o.emit(_u.BEFORE_FILTER,ji.fromData(o,_u.BEFORE_FILTER,s));var l=o.getCoordinate(),c=l.invert(e),u=l.invert(t);if(this.hasDim(\"x\")){var h=o.getXScale(),d=Wu(h,\"x\",c,u);this.filterView(o,h.field,d)}if(this.hasDim(\"y\")){var p=o.getYScales()[0];d=Wu(p,\"y\",c,u);this.filterView(o,p.field,d)}this.reRender(o,{source:_u.FILTER}),o.emit(_u.AFTER_FILTER,ji.fromData(o,_u.AFTER_FILTER,s))}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(t.emit(_u.BEFORE_RESET,ji.fromData(t,_u.BEFORE_RESET,{})),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,{source:_u.RESET}),t.emit(_u.AFTER_RESET,ji.fromData(t,_u.AFTER_RESET,{}))},e.prototype.filterView=function(t,e,n){t.filter(e,n)},e.prototype.reRender=function(t,e){t.render(!0,e)},e}(ce),Yu=Xu,qu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.filterView=function(t,e,n){var i=On(t);Object(s[\"j\"])(i,(function(t){t.filter(e,n)}))},e.prototype.reRender=function(t){var e=On(t);Object(s[\"j\"])(e,(function(t){t.render(!0)}))},e}(Yu),Uu=qu,Zu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.filter=function(){var t=Qe(this.context),e=this.context.view,n=cn(e);if(en(this.context)){var i=rn(this.context,10);i&&Object(s[\"j\"])(n,(function(t){i.includes(t)?t.show():t.hide()}))}else if(t){var r=t.component,o=r.get(\"field\");if($e(t)){if(o){var l=r.getItemsByState(\"unchecked\"),c=_n(e,o),u=l.map((function(t){return t.name}));Object(s[\"j\"])(n,(function(t){var e=dn(t,o),n=c.getText(e);u.indexOf(n)>=0?t.hide():t.show()}))}}else if(tn(t)){var h=r.getValue(),d=Object(a[\"e\"])(h,2),p=d[0],f=d[1];Object(s[\"j\"])(n,(function(t){var e=dn(t,o);e>=p&&e<=f?t.show():t.hide()}))}}},e.prototype.clear=function(){var t=cn(this.context.view);Object(s[\"j\"])(t,(function(t){t.show()}))},e.prototype.reset=function(){this.clear()},e}(ce),Ku=Zu,Qu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.byRecord=!1,e}return Object(a[\"c\"])(e,t),e.prototype.filter=function(){en(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,e=rn(this.context,10);if(e){var n=t.getXScale().field,i=t.getYScales()[0].field,r=e.map((function(t){return t.getModel().data})),o=On(t);Object(s[\"j\"])(o,(function(t){var e=cn(t);Object(s[\"j\"])(e,(function(t){var e=t.getModel().data;Sn(r,e,n,i)?t.show():t.hide()}))}))}},e.prototype.filterByBBox=function(){var t=this,e=this.context.view,n=On(e);Object(s[\"j\"])(n,(function(e){var n=an(t.context,e,10),i=cn(e);n&&Object(s[\"j\"])(i,(function(t){n.includes(t)?t.show():t.hide()}))}))},e.prototype.reset=function(){var t=On(this.context.view);Object(s[\"j\"])(t,(function(t){var e=cn(t);Object(s[\"j\"])(e,(function(t){t.show()}))}))},e}(ce),Ju=Qu,$u=10,th=5,eh=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[\"c\"])(e,t),e.prototype.getButtonCfg=function(){return Object(s[\"h\"])(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[\"a\"])({text:t.text},t.textStyle)}),i=n.getBBox(),r=gi(t.padding),o=e.addShape({type:\"rect\",name:\"button-rect\",attrs:Object(a[\"a\"])({x:i.x-r[3],y:i.y-r[0],width:i.width+r[1]+r[3],height:i.height+r[0]+r[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}),i=this.buttonGroup,r=i.getBBox(),o=Q[\"a\"].transform(null,[[\"t\",n.x-r.width-$u,n.y+r.height+th]]);i.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}(ce),nh=eh,ih=4,rh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.dragStart=!1,e}return Object(a[\"c\"])(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}):mn(t,this.startPoint)>ih&&(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}(ce),oh=rh,ah=5,sh=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[\"c\"])(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=mn(t,e);if(n>ah&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var i=this.context.view,r=Q[\"a\"].transform(this.startMatrix,[[\"t\",e.x-t.x,e.y-t.y]]);i.backgroundGroup.setMatrix(r),i.foregroundGroup.setMatrix(r),i.middleGroup.setMatrix(r)}}},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}(ce),lh=sh,ch=\"x\",uh=\"y\",hh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=[ch,uh],e.cfgFields=[\"dims\"],e.cacheScaleDefs={},e}return Object(a[\"c\"])(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(ch),this.resetDim(uh);var t=this.context.view;t.render(!0)},e}(ce),dh=hh,ph=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[\"c\"])(e,t),e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var e=this.dims;Object(s[\"j\"])(e,(function(e){var n=t.getScale(e),i=n.min,r=n.max,o=n.values;t.startCache[e]={min:i,max:r,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(),i=this.context.getCurrentPoint(),r=n.invert(e),o=n.invert(i),a=o.x-r.x,l=o.y-r.y,c=this.context.view,u=this.dims;Object(s[\"j\"])(u,(function(e){t.translateDim(e,{x:-1*a,y:-1*l})})),c.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 i=this.context.view,r=this.startCache[t],o=r.min,a=r.max,s=a-o,l=n[t]*s;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:o,max:a}),i.scale(e.field,{nice:!1,min:o+l,max:a+l})},e.prototype.reset=function(){t.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}(dh),fh=ph,gh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.zoomRatio=.05,e}return Object(a[\"c\"])(e,t),e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var e=this,n=this.dims;Object(s[\"j\"])(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 i=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:e.min,max:e.max});var r=this.cacheScaleDefs[t],o=r.max-r.min,a=e.min,s=e.max,l=n*o,c=a-l,u=s+l,h=u-c,d=h/o;u>c&&d<100&&d>.01&&i.scale(e.field,{nice:!1,min:a-l,max:s+l})},e}(dh),yh=gh;function vh(t){var e=t.gEvent.originalEvent;return e.deltaY>0}var mh=1,bh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.scroll=function(t){var e=this.context,n=e.view,i=e.event;if(n.getOptions().scrollbar){var r=(null===t||void 0===t?void 0:t.wheelDelta)||mh,o=n.getController(\"scrollbar\"),a=n.getXScale(),l=n.getOptions().data,c=Object(s[\"mb\"])(Object(s[\"yb\"])(l,a.field)),u=Object(s[\"mb\"])(a.values),h=o.getValue(),d=Math.floor((c-u)*h),p=d+(vh(i)?r:-r),f=r/(c-u)/1e4,g=Object(s[\"c\"])(p/(c-u)+f,0,1);o.setValue(g)}},e}(ce),xh=bh,Oh=\"aixs-description-tooltip\",wh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a[\"c\"])(e,t),e.prototype.show=function(){var t=this.context,e=Qe(t).axis,n=e.cfg.title,i=n.description,r=n.text,o=n.descriptionTooltipStyle,a=t.event,s=a.x,l=a.y;this.tooltip||this.renderTooltip(),this.tooltip.update({title:r||\"\",customContent:function(){return'\\n
    \\n
    \\n 字段说明:').concat(i,\"\\n
    \\n
    \\n \")},x:s,y:l}),this.tooltip.show()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.hide=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,e=this.context.view,n=e.canvas,i={start:{x:0,y:0},end:{x:n.get(\"width\"),y:n.get(\"height\")}},r=new yt({parent:n.get(\"el\").parentNode,region:i,visible:!1,containerId:Oh,domStyles:Object(a[\"a\"])({},Object(s[\"h\"])({},(t={},t[ct[\"TOOLTIP_CSS_CONST\"].CONTAINER_CLASS]={\"max-width\":\"50%\",padding:\"10px\",\"line-height\":\"15px\",\"font-size\":\"12px\",color:\"rgba(0, 0, 0, .65)\"},t[ct[\"TOOLTIP_CSS_CONST\"].TITLE_CLASS]={\"word-break\":\"break-all\",\"margin-bottom\":\"3px\"},t)))});r.init(),r.setCapture(!1),this.tooltip=r},e}(ce),jh=wh;function Sh(t){return t.isInPlot()}function _h(t){return t.gEvent.preventDefault(),t.gEvent.originalEvent.deltaY>0}Jn(\"dark\",Vn(so)),x(\"canvas\",lo),x(\"svg\",co),Ii(\"Polygon\",Wo),Ii(\"Interval\",Lo),Ii(\"Schema\",Yo),Ii(\"Path\",ho),Ii(\"Point\",Vo),Ii(\"Line\",Eo),Ii(\"Area\",vo),Ii(\"Edge\",bo),Ii(\"Heatmap\",Oo),Ii(\"Violin\",Zo),tr(\"base\",kr),tr(\"interval\",ma),tr(\"pie\",ja),tr(\"polar\",Oa),nr(\"overlap\",Ha),nr(\"distribute\",Ca),nr(\"fixed-overlap\",Ga),nr(\"hide-overlap\",ss),nr(\"limit-in-shape\",Ba),nr(\"limit-in-canvas\",Ea),nr(\"limit-in-plot\",Ts),nr(\"pie-outer\",Ia),nr(\"adjust-color\",hs),nr(\"interval-adjust-position\",gs),nr(\"interval-hide-overlap\",vs),nr(\"point-adjust-position\",ws),nr(\"pie-spider\",Ra),nr(\"path-adjust-position\",Ms),zi(\"fade-in\",Ds),zi(\"fade-out\",Ps),zi(\"grow-in-x\",Es),zi(\"grow-in-xy\",Fs),zi(\"grow-in-y\",Bs),zi(\"scale-in-x\",Vs),zi(\"scale-in-y\",Gs),zi(\"wave-in\",qs),zi(\"zoom-in\",Zs),zi(\"zoom-out\",Ks),zi(\"position-update\",zs),zi(\"sector-path-update\",Ys),zi(\"path-in\",Ns),se(\"rect\",ll),se(\"mirror\",al),se(\"list\",nl),se(\"matrix\",rl),se(\"circle\",tl),se(\"tree\",ul),vi(\"axis\",Sl),vi(\"legend\",kl),vi(\"tooltip\",Bi),vi(\"annotation\",yl),vi(\"slider\",Tl),vi(\"scrollbar\",Bl),ge(\"tooltip\",Hl),ge(\"sibling-tooltip\",Xl),ge(\"ellipsis-text\",ql),ge(\"element-active\",tc),ge(\"element-single-active\",uc),ge(\"element-range-active\",ac),ge(\"element-highlight\",bc),ge(\"element-highlight-by-x\",jc),ge(\"element-highlight-by-color\",Oc),ge(\"element-single-highlight\",Mc),ge(\"element-range-highlight\",_c),ge(\"element-sibling-highlight\",_c,{effectSiblings:!0,effectByRecord:!0}),ge(\"element-selected\",Tc),ge(\"element-single-selected\",Pc),ge(\"element-range-selected\",kc),ge(\"element-link-by-color\",nc),ge(\"active-region\",Vl),ge(\"list-active\",Bc),ge(\"list-selected\",Yc),ge(\"list-highlight\",Wc),ge(\"list-unchecked\",Uc),ge(\"list-checked\",Jc),ge(\"list-focus\",eu),ge(\"list-radio\",ou),ge(\"legend-item-highlight\",Wc,{componentNames:[\"legend\"]}),ge(\"axis-label-highlight\",Wc,{componentNames:[\"axis\"]}),ge(\"axis-description\",jh),ge(\"rect-mask\",fu),ge(\"x-rect-mask\",mu,{dim:\"x\"}),ge(\"y-rect-mask\",mu,{dim:\"y\"}),ge(\"circle-mask\",uu),ge(\"path-mask\",wu),ge(\"smooth-path-mask\",Mu),ge(\"rect-multi-mask\",Tu),ge(\"x-rect-multi-mask\",Pu,{dim:\"x\"}),ge(\"y-rect-multi-mask\",Pu,{dim:\"y\"}),ge(\"circle-multi-mask\",Ru),ge(\"path-multi-mask\",Bu),ge(\"smooth-path-multi-mask\",Nu),ge(\"cursor\",Vu),ge(\"data-filter\",Hu),ge(\"brush\",Yu),ge(\"brush-x\",Yu,{dims:[\"x\"]}),ge(\"brush-y\",Yu,{dims:[\"y\"]}),ge(\"sibling-filter\",Uu),ge(\"sibling-x-filter\",Uu),ge(\"sibling-y-filter\",Uu),ge(\"element-filter\",Ku),ge(\"element-sibling-filter\",Ju),ge(\"element-sibling-filter-record\",Ju,{byRecord:!0}),ge(\"view-drag\",oh),ge(\"view-move\",lh),ge(\"scale-translate\",fh),ge(\"scale-zoom\",yh),ge(\"reset-button\",nh,{name:\"reset-button\",text:\"reset\"}),ge(\"mousewheel-scroll\",xh),Bn(\"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\"}]}),Bn(\"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:mouseout\",action:\"ellipsis-text:hide\"},{trigger:\"axis-label:touchend\",action:\"ellipsis-text:hide\"}]}),Bn(\"element-active\",{start:[{trigger:\"element:mouseenter\",action:\"element-active:active\"}],end:[{trigger:\"element:mouseleave\",action:\"element-active:reset\"}]}),Bn(\"element-selected\",{start:[{trigger:\"element:click\",action:\"element-selected:toggle\"}]}),Bn(\"element-highlight\",{start:[{trigger:\"element:mouseenter\",action:\"element-highlight:highlight\"}],end:[{trigger:\"element:mouseleave\",action:\"element-highlight:reset\"}]}),Bn(\"element-highlight-by-x\",{start:[{trigger:\"element:mouseenter\",action:\"element-highlight-by-x:highlight\"}],end:[{trigger:\"element:mouseleave\",action:\"element-highlight-by-x:reset\"}]}),Bn(\"element-highlight-by-color\",{start:[{trigger:\"element:mouseenter\",action:\"element-highlight-by-color:highlight\"}],end:[{trigger:\"element:mouseleave\",action:\"element-highlight-by-color:reset\"}]}),Bn(\"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\"]}]}),Bn(\"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\"]}]}),Bn(\"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\"]}]}),Bn(\"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\"]}]}),Bn(\"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\"]}]}),Bn(\"brush\",{showEnable:[{trigger:\"plot:mouseenter\",action:\"cursor:crosshair\"},{trigger:\"plot:mouseleave\",action:\"cursor:default\"}],start:[{trigger:\"mousedown\",isEnable:Sh,action:[\"brush:start\",\"rect-mask:start\",\"rect-mask:show\"]}],processing:[{trigger:\"mousemove\",isEnable:Sh,action:[\"rect-mask:resize\"]}],end:[{trigger:\"mouseup\",isEnable:Sh,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\"]}]}),Bn(\"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\"]}]}),Bn(\"brush-x\",{showEnable:[{trigger:\"plot:mouseenter\",action:\"cursor:crosshair\"},{trigger:\"plot:mouseleave\",action:\"cursor:default\"}],start:[{trigger:\"mousedown\",isEnable:Sh,action:[\"brush-x:start\",\"x-rect-mask:start\",\"x-rect-mask:show\"]}],processing:[{trigger:\"mousemove\",isEnable:Sh,action:[\"x-rect-mask:resize\"]}],end:[{trigger:\"mouseup\",isEnable:Sh,action:[\"brush-x:filter\",\"brush-x:end\",\"x-rect-mask:end\",\"x-rect-mask:hide\"]}],rollback:[{trigger:\"dblclick\",action:[\"brush-x:reset\"]}]}),Bn(\"element-path-highlight\",{showEnable:[{trigger:\"plot:mouseenter\",action:\"cursor:crosshair\"},{trigger:\"plot:mouseleave\",action:\"cursor:default\"}],start:[{trigger:\"mousedown\",isEnable:Sh,action:\"path-mask:start\"},{trigger:\"mousedown\",isEnable:Sh,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\"}]}),Bn(\"brush-x-multi\",{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:\"mousedown\",isEnable:Sh,action:[\"x-rect-multi-mask:start\",\"x-rect-multi-mask:show\"]},{trigger:\"mask:dragstart\",action:[\"x-rect-multi-mask:moveStart\"]}],processing:[{trigger:\"mousemove\",isEnable:function(t){return!nn(t)},action:[\"x-rect-multi-mask:resize\"]},{trigger:\"multi-mask:change\",action:\"element-range-highlight:highlight\"},{trigger:\"mask:drag\",action:[\"x-rect-multi-mask:move\"]}],end:[{trigger:\"mouseup\",action:[\"x-rect-multi-mask:end\"]},{trigger:\"mask:dragend\",action:[\"x-rect-multi-mask:moveEnd\"]}],rollback:[{trigger:\"dblclick\",action:[\"x-rect-multi-mask:clear\",\"cursor:crosshair\"]},{trigger:\"multi-mask:clearAll\",action:[\"element-range-highlight:clear\"]},{trigger:\"multi-mask:clearSingle\",action:[\"element-range-highlight:highlight\"]}]}),Bn(\"element-single-selected\",{start:[{trigger:\"element:click\",action:\"element-single-selected:toggle\"}]}),Bn(\"legend-filter\",{showEnable:[{trigger:\"legend-item:mouseenter\",action:[\"cursor:pointer\",\"list-radio:show\"]},{trigger:\"legend-item:mouseleave\",action:[\"cursor:default\",\"list-radio:hide\"]}],start:[{trigger:\"legend-item:click\",isEnable:function(t){return!t.isInShape(\"legend-item-radio\")},action:[\"legend-item-highlight:reset\",\"element-highlight:reset\",\"list-unchecked:toggle\",\"data-filter:filter\",\"list-radio:show\"]},{trigger:\"legend-item-radio:mouseenter\",action:[\"list-radio:showTip\"]},{trigger:\"legend-item-radio:mouseleave\",action:[\"list-radio:hideTip\"]},{trigger:\"legend-item-radio:click\",action:[\"list-focus:toggle\",\"data-filter:filter\",\"list-radio:show\"]}]}),Bn(\"continuous-filter\",{start:[{trigger:\"legend:valuechanged\",action:\"data-filter:filter\"}]}),Bn(\"continuous-visible-filter\",{start:[{trigger:\"legend:valuechanged\",action:\"element-filter:filter\"}]}),Bn(\"legend-visible-filter\",{showEnable:[{trigger:\"legend-item:mouseenter\",action:\"cursor:pointer\"},{trigger:\"legend-item:mouseleave\",action:\"cursor:default\"}],start:[{trigger:\"legend-item:click\",action:[\"legend-item-highlight:reset\",\"element-highlight:reset\",\"list-unchecked:toggle\",\"element-filter:filter\"]}]}),Bn(\"active-region\",{start:[{trigger:\"plot:mousemove\",action:\"active-region:show\"}],end:[{trigger:\"plot:mouseleave\",action:\"active-region:hide\"}]}),Bn(\"axis-description\",{start:[{trigger:\"axis-description:mousemove\",action:\"axis-description:show\"}],end:[{trigger:\"axis-description:mouseleave\",action:\"axis-description:hide\"}]}),Bn(\"view-zoom\",{start:[{trigger:\"plot:mousewheel\",isEnable:function(t){return _h(t.event)},action:\"scale-zoom:zoomOut\",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:\"plot:mousewheel\",isEnable:function(t){return!_h(t.event)},action:\"scale-zoom:zoomIn\",throttle:{wait:100,leading:!0,trailing:!1}}]}),Bn(\"sibling-tooltip\",{start:[{trigger:\"plot:mousemove\",action:\"sibling-tooltip:show\"}],end:[{trigger:\"plot:mouseleave\",action:\"sibling-tooltip:hide\"}]}),Bn(\"plot-mousewheel-scroll\",{start:[{trigger:\"plot:mousewheel\",action:\"mousewheel-scroll:scroll\"}]})},9308:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return l}));var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"bbdf\"),a=n(\"31f7\"),s=n(\"0770\"),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"process\",e}return Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return a[\"b\"]},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData(Object(s[\"a\"])(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o[\"a\"]},e}(r[\"b\"])},9457:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"8937\");function r(t){return Object(i[\"W\"])(t||[],(function(t,e){return{x:\"\"+e,y:t}}))}},\"94e3\":function(t,e,n){\"use strict\";var i=n(\"000e\"),r=n(\"8937\"),o=n(\"d177\"),a=n(\"41c8\"),s=function(t){function e(e){var n=t.call(this,e)||this;n.cacheMap={},n.adjustDataArray=[],n.mergeData=[];var i=e.marginRatio,r=void 0===i?o[\"d\"]:i,a=e.dodgeRatio,s=void 0===a?o[\"b\"]:a,l=e.dodgeBy,c=e.intervalPadding,u=e.dodgePadding,h=e.xDimensionLength,d=e.groupNum,p=e.defaultSize,f=e.maxColumnWidth,g=e.minColumnWidth,y=e.columnWidthRatio,v=e.customOffset;return n.marginRatio=r,n.dodgeRatio=s,n.dodgeBy=l,n.intervalPadding=c,n.dodgePadding=u,n.xDimensionLegenth=h,n.groupNum=d,n.defaultSize=p,n.maxColumnWidth=f,n.minColumnWidth=g,n.columnWidthRatio=y,n.customOffset=v,n}return Object(i[\"b\"])(e,t),e.prototype.process=function(t){var e=r[\"e\"](t),n=r[\"q\"](e),i=this.dodgeBy,o=i?r[\"v\"](n,i):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,i){var o=this,a=this.customOffset,s=this.getDistribution(t),l=this.groupData(n,t);return r[\"j\"](l,(function(n,l){var c;c=1===e.length?{pre:e[0]-1,next:e[0]+1}:o.getAdjustRange(t,parseFloat(l),e),r[\"j\"](n,(function(e){var n=e[t],l=s[n],u=l.indexOf(i);if(r[\"K\"](a))e[t]=o.getDodgeOffset(c,u,l.length);else{var h=c.pre,d=c.next;e[t]=r[\"I\"](a)?a(e,c):(h+d)/2+a}}))})),[]},e.prototype.getDodgeOffset=function(t,e,n){var i,o=this,a=o.dodgeRatio,s=o.marginRatio,l=o.intervalPadding,c=o.dodgePadding,u=t.pre,h=t.next,d=h-u;if(!r[\"K\"](l)&&r[\"K\"](c)&&l>=0){var p=this.getIntervalOnlyOffset(n,e);i=u+p}else if(!r[\"K\"](c)&&r[\"K\"](l)&&c>=0){p=this.getDodgeOnlyOffset(n,e);i=u+p}else if(!r[\"K\"](l)&&!r[\"K\"](c)&&l>=0&&c>=0){p=this.getIntervalAndDodgeOffset(n,e);i=u+p}else{var f=d*a/n,g=s*f;p=.5*(d-n*f-(n-1)*g)+((e+1)*f+e*g)-.5*f-.5*d;i=(u+h)/2+p}return i},e.prototype.getIntervalOnlyOffset=function(t,e){var n=this,i=n.defaultSize,o=n.intervalPadding,a=n.xDimensionLegenth,s=n.groupNum,l=n.dodgeRatio,c=n.maxColumnWidth,u=n.minColumnWidth,h=n.columnWidthRatio,d=o/a,p=(1-(s-1)*d)/s*l/(t-1),f=((1-d*(s-1))/s-p*(t-1))/t;if(f=r[\"K\"](h)?f:1/s/t*h,!r[\"K\"](c)){var g=c/a;f=Math.min(f,g)}if(!r[\"K\"](u)){var y=u/a;f=Math.max(f,y)}f=i?i/a:f,p=((1-(s-1)*d)/s-t*f)/(t-1);var v=((.5+e)*f+e*p+.5*d)*s-d/2;return v},e.prototype.getDodgeOnlyOffset=function(t,e){var n=this,i=n.defaultSize,o=n.dodgePadding,a=n.xDimensionLegenth,s=n.groupNum,l=n.marginRatio,c=n.maxColumnWidth,u=n.minColumnWidth,h=n.columnWidthRatio,d=o/a,p=1*l/(s-1),f=((1-p*(s-1))/s-d*(t-1))/t;if(f=h?1/s/t*h:f,!r[\"K\"](c)){var g=c/a;f=Math.min(f,g)}if(!r[\"K\"](u)){var y=u/a;f=Math.max(f,y)}f=i?i/a:f,p=(1-(f*t+d*(t-1))*s)/(s-1);var v=((.5+e)*f+e*d+.5*p)*s-p/2;return v},e.prototype.getIntervalAndDodgeOffset=function(t,e){var n=this,i=n.intervalPadding,r=n.dodgePadding,o=n.xDimensionLegenth,a=n.groupNum,s=i/o,l=r/o,c=((1-s*(a-1))/a-l*(t-1))/t,u=((.5+e)*c+e*l+.5*s)*a-s/2;return u},e.prototype.getDistribution=function(t){var e=this.adjustDataArray,n=this.cacheMap,i=n[t];return i||(i={},r[\"j\"](e,(function(e,n){var o=r[\"yb\"](e,t);o.length||o.push(0),r[\"j\"](o,(function(t){i[t]||(i[t]=[]),i[t].push(n)}))})),n[t]=i),i},e}(a[\"a\"]);e[\"a\"]=s},\"96bf\":function(t,e,n){\"use strict\";var i,r=n(\"9ab48\"),o=n(\"cc94\"),a=n(\"8937\"),s=n(\"c34d\"),l=n(\"b4aa\"),c=n(\"9ff2\"),u=n(\"62e3\"),h=\"$$range$$\",d=\"low-q1-median-q3-high\",p=\"$$y_outliers$$\",f=\"outliers_view\",g=Object(u[\"d\"])({},o[\"b\"].getDefaultOptions(),{meta:(i={},i[h]={min:0,alias:d},i),interactions:[{type:\"active-region\"}],tooltip:{showMarkers:!1,shared:!0},boxStyle:{lineWidth:1}}),y=function(t,e){var n=t;if(Array.isArray(e)){var i=e[0],r=e[1],o=e[2],s=e[3],l=e[4];n=Object(a[\"W\"])(t,(function(t){return t[h]=[t[i],t[r],t[o],t[s],t[l]],t}))}return n};function v(t){var e=t.chart,n=t.options,i=n.xField,r=n.yField,o=n.groupField,s=n.color,c=n.tooltip,d=n.boxStyle;e.data(y(n.data,r));var p=Object(a[\"C\"])(r)?h:r,f=r?Object(a[\"C\"])(r)?r:[r]:[],g=c;!1!==g&&(g=Object(u[\"d\"])({},{fields:Object(a[\"C\"])(r)?r:[]},g));var v=Object(l[\"g\"])(Object(u[\"d\"])({},t,{options:{xField:i,yField:p,seriesField:o,tooltip:g,rawFields:f,label:!1,schema:{shape:\"box\",color:s,style:d}}})).ext;return o&&v.geometry.adjust(\"dodge\"),t}function m(t){var e=t.chart,n=t.options,i=n.xField,o=n.data,a=n.outliersField,s=n.outliersStyle,c=n.padding,u=n.label;if(!a)return t;var h=e.createView({padding:c,id:f}),d=o.reduce((function(t,e){var n=e[a];return n.forEach((function(n){var i;return t.push(Object(r[\"a\"])(Object(r[\"a\"])({},e),(i={},i[a]=n,i)))})),t}),[]);return h.data(d),Object(l[\"e\"])({chart:h,options:{xField:i,yField:a,point:{shape:\"circle\",style:s},label:u}}),h.axis(!1),t}function b(t){var e,n,i=t.chart,r=t.options,o=r.meta,a=r.xAxis,s=r.yAxis,l=r.xField,d=r.yField,f=r.outliersField,g=Array.isArray(d)?h:d,y={};if(f){var v=p;e={},e[f]={sync:v,nice:!0},e[g]={sync:v,nice:!0},y=e}var m=Object(u[\"d\"])(y,o,(n={},n[l]=Object(u[\"t\"])(a,c[\"a\"]),n[g]=Object(u[\"t\"])(s,c[\"a\"]),n));return i.scale(m),t}function x(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField,s=Array.isArray(a)?h:a;return!1===i?e.axis(o,!1):e.axis(o,i),!1===r?e.axis(h,!1):e.axis(s,r),t}function O(t){var e=t.chart,n=t.options,i=n.legend,r=n.groupField;return r?i?e.legend(r,i):e.legend(r,{position:\"bottom\"}):e.legend(!1),t}function w(t){return Object(u[\"g\"])(v,m,b,x,O,s[\"l\"],Object(s[\"b\"])(),s[\"c\"],s[\"a\"],s[\"k\"])(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"box\",e}Object(r[\"c\"])(e,t),e.getDefaultOptions=function(){return g},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField,n=this.chart.views.find((function(t){return t.id===f}));n&&n.data(t),this.chart.changeData(y(t,e))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return w}})(o[\"b\"])},\"96de\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=null;function r(){if(!i){var t=document.createElement(\"canvas\");t.width=1,t.height=1,i=t.getContext(\"2d\")}return i}},9778:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"8937\");function r(t,e,n){var r=e+\"Style\",o=null;return Object(i[\"j\"])(n,(function(e,n){t[n]&&e[r]&&(o||(o={}),Object(i[\"db\"])(o,e[r]))})),o}},\"988d\":function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return c})),n.d(e,\"a\",(function(){return u}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"c34d\"),a=n(\"62e3\"),s=n(\"bbdf\");function l(t){var e=t.chart,n=t.options,i=n.innerRadius,r=n.radius;return e.coordinate(\"theta\",{innerRadius:i,radius:r}),t}function c(t,e){var n=t.chart,o=t.options,s=o.innerRadius,l=o.statistic,c=o.percent,u=o.meta;if(n.getController(\"annotation\").clear(!0),s&&l){var h=Object(r[\"s\"])(u,[\"percent\",\"formatter\"])||function(t){return(100*t).toFixed(2)+\"%\"},d=l.content;d&&(d=Object(a[\"d\"])({},d,{content:Object(r[\"K\"])(d.content)?h(c):d.content})),Object(a[\"w\"])(n,{statistic:Object(i[\"a\"])(Object(i[\"a\"])({},l),{content:d}),plotType:\"ring-progress\"},{percent:c})}return e&&n.render(!0),t}function u(t){return Object(a[\"g\"])(s[\"b\"],Object(o[\"g\"])({}),l,c,o[\"a\"],o[\"k\"],Object(o[\"b\"])())(t)}},\"99af\":function(t,e,n){\"use strict\";n(\"917c\");var i=n(\"c34d\"),r=n(\"afaa\"),o=n(\"16fb\"),a=n(\"f0b2\"),s=(n(\"b4aa\"),n(\"f7cc\"),n(\"cc94\"),n(\"e3a9\"),n(\"bb0f\"),n(\"63e2\"),n(\"ed96\"),n(\"96bf\"),n(\"0587\"),n(\"528e\"),n(\"a6d0\"),n(\"bbd5\"),n(\"caa0\"),n(\"c441\"),n(\"68bc\"),n(\"5e91\"),n(\"fb05\"),n(\"0704\"),n(\"5e5a\"),n(\"1405\"),n(\"dbaf\"),n(\"0abd\"),n(\"9308\"),n(\"cbbe\"));n.d(e,\"Radar\",(function(){return s[\"a\"]}));n(\"4c46\"),n(\"60fe\"),n(\"cf85\"),n(\"aed4\"),n(\"b44e\"),n(\"ffed\"),n(\"7011\"),n(\"d390\"),n(\"d36e\"),n(\"9adb\"),n(\"787a\"),n(\"a37c\"),n(\"a18e\"),n(\"14b2\"),n(\"323ed\"),n(\"efee\"),n(\"0e37\"),n(\"62e3\"),n(\"db3c\");Object(r[\"b\"])(\"en-US\",o[\"a\"]),Object(r[\"b\"])(\"zh-CN\",a[\"a\"]);i[\"g\"],i[\"d\"],i[\"l\"],i[\"b\"],i[\"c\"],i[\"k\"],i[\"a\"]},\"9a08\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return u}));var i=n(\"c34d\"),r=n(\"b4aa\"),o=n(\"62e3\"),a=n(\"8582\");n.d(e,\"b\",(function(){return a[\"b\"]}));var s=n(\"edcb\"),l=n(\"9457\");function c(t){var e=t.chart,n=t.options,i=n.data,a=n.color,c=n.columnStyle,u=n.columnWidthRatio,h=Object(l[\"a\"])(i);e.data(h);var d=Object(o[\"d\"])({},t,{options:{xField:s[\"c\"],yField:s[\"d\"],widthRatio:u,interval:{style:c,color:a}}});return Object(r[\"c\"])(d),e.axis(!1),e.legend(!1),e.interaction(\"element-active\"),t}function u(t){return Object(o[\"g\"])(i[\"k\"],Object(i[\"f\"])(\"columnStyle\"),c,a[\"b\"],i[\"l\"],i[\"a\"],Object(i[\"b\"])())(t)}},\"9a3e\":function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return c})),n.d(e,\"a\",(function(){return u}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"65ce\"),a=n(\"3f35\");function s(t){var e={overflow:\"hidden\",\"white-space\":\"nowrap\",\"text-overflow\":\"ellipsis\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},n=[\"stroke\",\"lineWidth\",\"shadowColor\",\"strokeOpacity\",\"shadowBlur\",\"shadowOffsetX\",\"shadowOffsetY\",\"fill\"];Object(r[\"s\"])(t,\"fill\")&&(e[\"color\"]=t[\"fill\"]);var i=Object(a[\"a\"])(t,n),s=i.shadowColor,l=i.shadowBlur,c=void 0===l?0:l,u=i.shadowOffsetX,h=void 0===u?0:u,d=i.shadowOffsetY,p=void 0===d?0:d;e[\"text-shadow\"]=\"\"+[s,h+\"px\",p+\"px\",c+\"px\"].join(\" \");var f=Object(a[\"a\"])(t,n),g=f.stroke,y=f.lineWidth,v=void 0===y?0:y;return e[\"-webkit-text-stroke\"]=\"\"+[v+\"px\",g].join(\" \"),Object(r[\"j\"])(t,(function(t,i){[\"fontSize\"].includes(i)&&Object(r[\"M\"])(t)?e[Object(o[\"a\"])(i)]=t+\"px\":i&&!n.includes(i)&&(e[Object(o[\"a\"])(i)]=\"\"+t)})),e}function l(t,e){t.style[\"pointer-events\"]=\"none\",Object(r[\"j\"])(e,(function(e,n){n&&e&&(t.style[n]=e)}))}var c=function(t,e,n){var o=e.statistic,c=e.plotType,u=o.title,h=o.content;[u,h].forEach((function(e,o){if(e){var d=\"\";d=0===o?h?\"translate(-50%, -100%)\":\"translate(-50%, -50%)\":u?\"translate(-50%, 0)\":\"translate(-50%, -50%)\";var p=Object(r[\"I\"])(e.style)?e.style(n):e.style;t.annotation().html(Object(i[\"a\"])({position:[\"50%\",\"50%\"],html:function(t,o){var a=o.getCoordinate(),u=0;if(\"pie\"===c||\"ring-progress\"===c)u=a.getRadius()*a.innerRadius*2;else if(\"liquid\"===c){var h=Object(r[\"s\"])(o.geometries,[0,\"elements\",0,\"shape\"]);if(h){var f=h.find((function(t){return\"wrap\"===t.get(\"name\")})),g=f.getCanvasBBox().width;u=g}}else u||(u=a.getWidth());l(t,Object(i[\"a\"])({width:u+\"px\",transform:d},s(p)));var y=o.getData();if(e.customHtml)return e.customHtml(t,o,n,y);var v=e.content;return e.formatter&&(v=e.formatter(n,y)),v?Object(r[\"Q\"])(v)?v:\"\"+v:\"
    \"},key:(0===o?\"top\":\"bottom\")+\"-statistic\"},Object(a[\"a\"])(e,[\"offsetX\",\"offsetY\",\"rotate\",\"style\",\"formatter\"])))}}))},u=function(t,e,n){var o=e.statistic,c=o.title,u=o.content;[c,u].forEach((function(e){if(e){var o=Object(r[\"I\"])(e.style)?e.style(n):e.style;t.annotation().html(Object(i[\"a\"])({position:[\"50%\",\"100%\"],html:function(t,a){var c=a.getCoordinate(),u=a.views[0].getCoordinate(),h=u.getCenter(),d=u.getRadius(),p=Math.max(Math.sin(u.startAngle),Math.sin(u.endAngle))*d,f=h.y+p-c.y.start-parseFloat(Object(r[\"s\"])(o,\"fontSize\",0)),g=c.getRadius()*c.innerRadius*2;l(t,Object(i[\"a\"])({width:g+\"px\",transform:\"translate(-50%, \"+f+\"px)\"},s(o)));var y=a.getData();if(e.customHtml)return e.customHtml(t,a,n,y);var v=e.content;return e.formatter&&(v=e.formatter(n,y)),v?Object(r[\"Q\"])(v)?v:\"\"+v:\"
    \"}},Object(a[\"a\"])(e,[\"offsetX\",\"offsetY\",\"rotate\",\"style\",\"formatter\"])))}}))}},\"9ab48\":function(t,e,n){\"use strict\";n.d(e,\"c\",(function(){return r})),n.d(e,\"a\",(function(){return o})),n.d(e,\"f\",(function(){return a})),n.d(e,\"b\",(function(){return s})),n.d(e,\"d\",(function(){return l})),n.d(e,\"i\",(function(){return c})),n.d(e,\"e\",(function(){return u})),n.d(e,\"h\",(function(){return h})),n.d(e,\"g\",(function(){return d}));\n/*! *****************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\nvar i=function(t,e){return i=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])},i(t,e)};function r(t,e){if(\"function\"!==typeof e&&null!==e)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}i(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,i=arguments.length;n0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function u(t,e){var n=\"function\"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(i=o.next()).done)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o[\"return\"])&&n.call(o)}finally{if(r)throw r.error}}return a}function h(){for(var t=0,e=0,n=arguments.length;e1&&(n*=Math.sqrt(y),r*=Math.sqrt(y));var v=n*n*(g*g)+r*r*(f*f),m=v?Math.sqrt((n*n*(r*r)-v)/v):1;l===c&&(m*=-1),isNaN(m)&&(m=0);var b=r?m*n*g/r:0,x=n?m*-r*f/n:0,O=(u+d)/2+Math.cos(s)*b-Math.sin(s)*x,w=(h+p)/2+Math.sin(s)*b+Math.cos(s)*x,j=[(f-b)/n,(g-x)/r],S=[(-1*f-b)/n,(-1*g-x)/r],_=a([1,0],j),C=a(j,S);return o(j,S)<=-1&&(C=Math.PI),o(j,S)>=1&&(C=0),0===c&&C>0&&(C-=2*Math.PI),1===c&&C<0&&(C+=2*Math.PI),{cx:O,cy:w,rx:Object(i[\"j\"])(t,[d,p])?0:n,ry:Object(i[\"j\"])(t,[d,p])?0:r,startAngle:_,endAngle:_+C,xRotation:s,arcFlag:l,sweepFlag:c}}},\"9cae\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return f}));var i=n(\"8937\"),r=n(\"917c\"),o=n(\"9ab48\"),a=n(\"62e3\"),s=10,l=5,c={padding:[8,10],text:\"reset\",textStyle:{default:{x:0,y:0,fontSize:12,fill:\"#333333\",cursor:\"pointer\"}},buttonStyle:{default:{fill:\"#f7f7f7\",stroke:\"#cccccc\",cursor:\"pointer\"},active:{fill:\"#e6e6e6\"}}},u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg=Object(o[\"a\"])({name:\"button\"},c),e}return Object(o[\"c\"])(e,t),e.prototype.getButtonCfg=function(){var t=this.context.view,e=Object(i[\"s\"])(t,[\"interactions\",\"filter-action\",\"cfg\",\"buttonConfig\"]);return Object(a[\"d\"])(this.buttonCfg,e,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=this.drawText(e);this.drawBackground(e,n.getBBox()),this.buttonGroup=e},e.prototype.drawText=function(t){var e,n=this.getButtonCfg();return t.addShape({type:\"text\",name:\"button-text\",attrs:Object(o[\"a\"])({text:n.text},null===(e=n.textStyle)||void 0===e?void 0:e.default)})},e.prototype.drawBackground=function(t,e){var n,i=this.getButtonCfg(),r=Object(a[\"s\"])(i.padding),s=t.addShape({type:\"rect\",name:\"button-rect\",attrs:Object(o[\"a\"])({x:e.x-r[3],y:e.y-r[0],width:e.width+r[1]+r[3],height:e.height+r[0]+r[2]},null===(n=i.buttonStyle)||void 0===n?void 0:n.default)});return s.toBack(),t.on(\"mouseenter\",(function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.active)})),t.on(\"mouseleave\",(function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.default)})),s},e.prototype.resetPosition=function(){var t=this.context.view,e=t.getCoordinate(),n=e.convert({x:1,y:1}),i=this.buttonGroup,o=i.getBBox(),a=r[\"h\"].transform(null,[[\"t\",n.x-o.width-s,n.y+o.height+l]]);i.setMatrix(a)},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}(r[\"a\"]);function h(t){return t.isInPlot()}function d(t,e,n){var i=n||{},r=i.mask,o=i.isStartEnable,a=e||\"rect\";switch(t){case\"brush\":return{showEnable:[{trigger:\"plot:mouseenter\",action:\"cursor:crosshair\",isEnable:o||function(){return!0}},{trigger:\"plot:mouseleave\",action:\"cursor:default\"}],start:[{trigger:\"mousedown\",isEnable:o||h,action:[\"brush:start\",a+\"-mask:start\",a+\"-mask:show\"],arg:[null,{maskStyle:null===r||void 0===r?void 0:r.style}]}],processing:[{trigger:\"mousemove\",isEnable:h,action:[a+\"-mask:resize\"]}],end:[{trigger:\"mouseup\",isEnable:h,action:[\"brush:filter\",\"brush:end\",a+\"-mask:end\",a+\"-mask:hide\",\"brush-reset-button:show\"]}],rollback:[{trigger:\"brush-reset-button:click\",action:[\"brush:reset\",\"brush-reset-button:hide\",\"cursor:crosshair\"]}]};case\"brush-highlight\":return{showEnable:[{trigger:\"plot:mouseenter\",action:\"cursor:crosshair\",isEnable:o||function(){return!0}},{trigger:\"plot:mousemove\",action:\"cursor:crosshair\",isEnable:o||function(){return!0}},{trigger:\"plot:mousemove\",action:\"cursor:default\",isEnable:function(t){return!!o&&!o(t)}},{trigger:\"mask:mouseenter\",action:\"cursor:move\",isEnable:o||function(){return!0}},{trigger:\"plot:mouseleave\",action:\"cursor:default\"},{trigger:\"mask:mouseleave\",action:\"cursor:crosshair\"}],start:[{trigger:\"plot:mousedown\",isEnable:o||function(t){return!t.isInShape(\"mask\")},action:[a+\"-mask:start\",a+\"-mask:show\"],arg:[{maskStyle:null===r||void 0===r?void 0:r.style}]},{trigger:\"mask:dragstart\",action:[a+\"-mask:moveStart\"]}],processing:[{trigger:\"plot:mousemove\",action:[a+\"-mask:resize\"]},{trigger:\"mask:drag\",action:[a+\"-mask:move\"]},{trigger:\"mask:change\",action:[\"element-range-highlight:highlight\"]}],end:[{trigger:\"plot:mouseup\",action:[a+\"-mask:end\"]},{trigger:\"mask:dragend\",action:[a+\"-mask:moveEnd\"]},{trigger:\"document:mouseup\",isEnable:function(t){return!t.isInPlot()},action:[\"element-range-highlight:clear\",a+\"-mask:end\",a+\"-mask:hide\"]}],rollback:[{trigger:\"dblclick\",action:[\"element-range-highlight:clear\",a+\"-mask:hide\"]}]};case\"brush-x\":return{showEnable:[{trigger:\"plot:mouseenter\",action:\"cursor:crosshair\",isEnable:o||function(){return!0}},{trigger:\"plot:mouseleave\",action:\"cursor:default\"}],start:[{trigger:\"mousedown\",isEnable:o||h,action:[\"brush-x:start\",a+\"-mask:start\",a+\"-mask:show\"],arg:[null,{maskStyle:null===r||void 0===r?void 0:r.style}]}],processing:[{trigger:\"mousemove\",isEnable:h,action:[a+\"-mask:resize\"]}],end:[{trigger:\"mouseup\",isEnable:h,action:[\"brush-x:filter\",\"brush-x:end\",a+\"-mask:end\",a+\"-mask:hide\"]}],rollback:[{trigger:\"dblclick\",action:[\"brush-x:reset\"]}]};case\"brush-x-highlight\":return{showEnable:[{trigger:\"plot:mouseenter\",action:\"cursor:crosshair\",isEnable:o||function(){return!0}},{trigger:\"mask:mouseenter\",action:\"cursor:move\",isEnable:o||function(){return!0}},{trigger:\"plot:mouseleave\",action:\"cursor:default\"},{trigger:\"mask:mouseleave\",action:\"cursor:crosshair\"}],start:[{trigger:\"plot:mousedown\",isEnable:o||function(t){return!t.isInShape(\"mask\")},action:[a+\"-mask:start\",a+\"-mask:show\"],arg:[{maskStyle:null===r||void 0===r?void 0:r.style}]},{trigger:\"mask:dragstart\",action:[a+\"-mask:moveStart\"]}],processing:[{trigger:\"plot:mousemove\",action:[a+\"-mask:resize\"]},{trigger:\"mask:drag\",action:[a+\"-mask:move\"]},{trigger:\"mask:change\",action:[\"element-range-highlight:highlight\"]}],end:[{trigger:\"plot:mouseup\",action:[a+\"-mask:end\"]},{trigger:\"mask:dragend\",action:[a+\"-mask:moveEnd\"]},{trigger:\"document:mouseup\",isEnable:function(t){return!t.isInPlot()},action:[\"element-range-highlight:clear\",a+\"-mask:end\",a+\"-mask:hide\"]}],rollback:[{trigger:\"dblclick\",action:[\"element-range-highlight:clear\",a+\"-mask:hide\"]}]};case\"brush-y\":return{showEnable:[{trigger:\"plot:mouseenter\",action:\"cursor:crosshair\",isEnable:o||function(){return!0}},{trigger:\"plot:mouseleave\",action:\"cursor:default\"}],start:[{trigger:\"mousedown\",isEnable:o||h,action:[\"brush-y:start\",a+\"-mask:start\",a+\"-mask:show\"],arg:[null,{maskStyle:null===r||void 0===r?void 0:r.style}]}],processing:[{trigger:\"mousemove\",isEnable:h,action:[a+\"-mask:resize\"]}],end:[{trigger:\"mouseup\",isEnable:h,action:[\"brush-y:filter\",\"brush-y:end\",a+\"-mask:end\",a+\"-mask:hide\"]}],rollback:[{trigger:\"dblclick\",action:[\"brush-y:reset\"]}]};case\"brush-y-highlight\":return{showEnable:[{trigger:\"plot:mouseenter\",action:\"cursor:crosshair\",isEnable:o||function(){return!0}},{trigger:\"mask:mouseenter\",action:\"cursor:move\",isEnable:o||function(){return!0}},{trigger:\"plot:mouseleave\",action:\"cursor:default\"},{trigger:\"mask:mouseleave\",action:\"cursor:crosshair\"}],start:[{trigger:\"plot:mousedown\",isEnable:o||function(t){return!t.isInShape(\"mask\")},action:[a+\"-mask:start\",a+\"-mask:show\"],arg:[{maskStyle:null===r||void 0===r?void 0:r.style}]},{trigger:\"mask:dragstart\",action:[a+\"-mask:moveStart\"]}],processing:[{trigger:\"plot:mousemove\",action:[a+\"-mask:resize\"]},{trigger:\"mask:drag\",action:[a+\"-mask:move\"]},{trigger:\"mask:change\",action:[\"element-range-highlight:highlight\"]}],end:[{trigger:\"plot:mouseup\",action:[a+\"-mask:end\"]},{trigger:\"mask:dragend\",action:[a+\"-mask:moveEnd\"]},{trigger:\"document:mouseup\",isEnable:function(t){return!t.isInPlot()},action:[\"element-range-highlight:clear\",a+\"-mask:end\",a+\"-mask:hide\"]}],rollback:[{trigger:\"dblclick\",action:[\"element-range-highlight:clear\",a+\"-mask:hide\"]}]};default:return{}}}Object(r[\"l\"])(\"brush-reset-button\",u,{name:\"brush-reset-button\"}),Object(r[\"o\"])(\"filter-action\",{}),Object(r[\"o\"])(\"brush\",d(\"brush\")),Object(r[\"o\"])(\"brush-highlight\",d(\"brush-highlight\")),Object(r[\"o\"])(\"brush-x\",d(\"brush-x\",\"x-rect\")),Object(r[\"o\"])(\"brush-y\",d(\"brush-y\",\"y-rect\")),Object(r[\"o\"])(\"brush-x-highlight\",d(\"brush-x-highlight\",\"x-rect\")),Object(r[\"o\"])(\"brush-y-highlight\",d(\"brush-y-highlight\",\"y-rect\"));var p=[\"brush\",\"brush-x\",\"brush-y\",\"brush-highlight\",\"brush-x-highlight\",\"brush-y-highlight\"];function f(t){var e=t.options,n=e.brush,r=Object(i[\"l\"])(e.interactions||[],(function(t){return-1===p.indexOf(t.type)}));return(null===n||void 0===n?void 0:n.enabled)&&(p.forEach((function(t){var e=!1;switch(n.type){case\"x-rect\":e=t===(\"highlight\"===n.action?\"brush-x-highlight\":\"brush-x\");break;case\"y-rect\":e=t===(\"highlight\"===n.action?\"brush-y-highlight\":\"brush-y\");break;default:e=t===(\"highlight\"===n.action?\"brush-highlight\":\"brush\");break}var i={type:t,enable:e};n&&(i.cfg=d(t,n.type,n)),r.push(i)})),\"highlight\"!==(null===n||void 0===n?void 0:n.action)&&r.push({type:\"filter-action\",cfg:{buttonConfig:n.button}})),Object(a[\"d\"])({},t,{options:{interactions:r}})}},\"9e6a2\":function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return h}));var i=n(\"917c\"),r=n(\"9ab48\"),o=n(\"8937\"),a=n(\"a9a0\"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getActiveElements=function(){var t=i[\"h\"].getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,o=n.get(\"field\");if(o){var a=e.geometries[0].elements;return a.filter((function(t){return t.getModel().data[o]===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(o[\"H\"])(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 o=n[r],s=e.geometry.coordinate;if(s.isPolar&&s.isTransposed){var l=i[\"h\"].getAngle(e.getModel(),s),c=l.startAngle,u=l.endAngle,h=(c+u)/2,d=t,p=d*Math.cos(h),f=d*Math.sin(h);e.shape.setMatrix(Object(a[\"a\"])([[\"t\",p,f]])),o.setMatrix(Object(a[\"a\"])([[\"t\",p,f]]))}}))},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i[\"a\"]),l=n(\"9a3e\");function c(t){var e,n=t.event,i=n.target;return i&&(e=i.get(\"element\")),e}var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(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(t){var e=this.context,n=e.view,r=e.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var a=Object(o[\"s\"])(r,[\"data\",\"data\"]);if(r.type.match(\"legend-item\")){var s=i[\"h\"].getDelegationObject(this.context),u=n.getGroupedFields()[0];if(s&&u){var h=s.item;a=n.getData().find((function(t){return t[u]===h.value}))}}if(a){var d=Object(o[\"s\"])(t,\"annotations\",[]),p=Object(o[\"s\"])(t,\"statistic\",{});n.getController(\"annotation\").clear(!0),Object(o[\"j\"])(d,(function(t){\"object\"===typeof t&&n.annotation()[t.type](t)})),Object(l[\"b\"])(n,{statistic:p,plotType:\"pie\"},a),n.render(!0)}var f=c(this.context);f&&f.shape.toFront()},e.prototype.reset=function(){var t=this.context.view,e=t.getController(\"annotation\");e.clear(!0);var n=this.getInitialAnnotation();Object(o[\"j\"])(n,(function(e){t.annotation()[e.type](e)})),t.render(!0)},e}(i[\"a\"]),h=\"pie-statistic\";Object(i[\"l\"])(h,u),Object(i[\"o\"])(\"pie-statistic-active\",{start:[{trigger:\"element:mouseenter\",action:\"pie-statistic:change\"}],end:[{trigger:\"element:mouseleave\",action:\"pie-statistic:reset\"}]}),Object(i[\"l\"])(\"pie-legend\",s),Object(i[\"o\"])(\"pie-legend-active\",{start:[{trigger:\"legend-item:mouseenter\",action:\"pie-legend:active\"}],end:[{trigger:\"legend-item:mouseleave\",action:\"pie-legend:reset\"}]})},\"9f27\":function(t,e,n){\"use strict\";n.d(e,\"c\",(function(){return h})),n.d(e,\"b\",(function(){return d})),n.d(e,\"a\",(function(){return p}));var i=n(\"9ab48\"),r=n(\"4799\"),o=Math.sin,a=Math.cos,s=Math.atan2,l=Math.PI;function c(t,e,n,i,c,u,h){var d=e.stroke,p=e.lineWidth,f=n-c,g=i-u,y=s(g,f),v=new r[\"Path\"]({type:\"path\",canvas:t.get(\"canvas\"),isArrowShape:!0,attrs:{path:\"M\"+10*a(l/6)+\",\"+10*o(l/6)+\" L0,0 L\"+10*a(l/6)+\",-\"+10*o(l/6),stroke:d,lineWidth:p}});v.translate(c,u),v.rotateAtPoint(c,u,y),t.set(h?\"startArrowShape\":\"endArrowShape\",v)}function u(t,e,n,l,c,u,h){var d=e.startArrow,p=e.endArrow,f=e.stroke,g=e.lineWidth,y=h?d:p,v=y.d,m=y.fill,b=y.stroke,x=y.lineWidth,O=Object(i[\"f\"])(y,[\"d\",\"fill\",\"stroke\",\"lineWidth\"]),w=n-c,j=l-u,S=s(j,w);v&&(c-=a(S)*v,u-=o(S)*v);var _=new r[\"Path\"]({type:\"path\",canvas:t.get(\"canvas\"),isArrowShape:!0,attrs:Object(i[\"a\"])(Object(i[\"a\"])({},O),{stroke:b||f,lineWidth:x||g,fill:m})});_.translate(c,u),_.rotateAtPoint(c,u,S),t.set(h?\"startArrowShape\":\"endArrowShape\",_)}function h(t,e,n,i,r){var l=s(i-e,n-t);return{dx:a(l)*r,dy:o(l)*r}}function d(t,e,n,i,r,o){\"object\"===typeof e.startArrow?u(t,e,n,i,r,o,!0):e.startArrow?c(t,e,n,i,r,o,!0):t.set(\"startArrowShape\",null)}function p(t,e,n,i,r,o){\"object\"===typeof e.endArrow?u(t,e,n,i,r,o,!1):e.endArrow?c(t,e,n,i,r,o,!1):t.set(\"startArrowShape\",null)}},\"9f73\":function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return d})),n.d(e,\"a\",(function(){return p}));var i=n(\"9ab48\"),r=n(\"917c\"),o=n(\"8937\"),a=n(\"3295\"),s=4,l=0,c=5,u=\"drilldown-bread-crumb\",h={position:\"top-left\",dividerText:\"/\",textStyle:{fontSize:12,fill:\"rgba(0, 0, 0, 0.65)\",cursor:\"pointer\"},activeTextStyle:{fill:\"#87B5FF\"}},d=\"hierarchy-data-transform-params\",p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.name=\"drill-down\",e.historyCache=[],e.breadCrumbGroup=null,e.breadCrumbCfg=h,e}return Object(i[\"c\"])(e,t),e.prototype.click=function(){var t=Object(o[\"s\"])(this.context,[\"event\",\"data\",\"data\"]);if(!t)return!1;this.drill(t),this.drawBreadCrumb()},e.prototype.resetPosition=function(){if(this.breadCrumbGroup){var t=this.context.view.getCoordinate(),e=this.breadCrumbGroup,n=e.getBBox(),i=this.getButtonCfg().position,o={x:t.start.x,y:t.end.y-(n.height+2*c)};t.isPolar&&(o={x:0,y:0}),\"bottom-left\"===i&&(o={x:t.start.x,y:t.start.y});var a=r[\"h\"].transform(null,[[\"t\",o.x+l,o.y+n.height+c]]);e.setMatrix(a)}},e.prototype.back=function(){Object(o[\"mb\"])(this.historyCache)&&this.backTo(this.historyCache.slice(0,-1))},e.prototype.reset=function(){this.historyCache[0]&&this.backTo(this.historyCache.slice(0,1)),this.historyCache=[],this.hideCrumbGroup()},e.prototype.drill=function(t){var e=this.context.view,n=Object(o[\"s\"])(e,[\"interactions\",\"drill-down\",\"cfg\",\"transformData\"],(function(t){return t})),r=n(Object(i[\"a\"])({data:t.data},t[d]));e.changeData(r);var a=[],s=t;while(s){var l=s.data;a.unshift({id:l.name+\"_\"+s.height+\"_\"+s.depth,name:l.name,children:n(Object(i[\"a\"])({data:l},t[d]))}),s=s.parent}this.historyCache=(this.historyCache||[]).slice(0,-1).concat(a)},e.prototype.backTo=function(t){if(t&&!(t.length<=0)){var e=this.context.view,n=Object(o[\"U\"])(t).children;e.changeData(n),t.length>1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},e.prototype.getButtonCfg=function(){var t=this.context.view,e=Object(o[\"s\"])(t,[\"interactions\",\"drill-down\",\"cfg\",\"drillDownConfig\"]);return Object(a[\"a\"])(this.breadCrumbCfg,null===e||void 0===e?void 0:e.breadCrumb,this.cfg)},e.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},e.prototype.drawBreadCrumbGroup=function(){var t=this,e=this.getButtonCfg(),n=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:u});var r=0;n.forEach((function(a,l){var c=t.breadCrumbGroup.addShape({type:\"text\",id:a.id,name:u+\"_\"+a.name+\"_text\",attrs:Object(i[\"a\"])(Object(i[\"a\"])({text:0!==l||Object(o[\"K\"])(e.rootText)?a.name:e.rootText},e.textStyle),{x:r,y:0})}),h=c.getBBox();if(r+=h.width+s,c.on(\"click\",(function(e){var i,r=e.target.get(\"id\");if(r!==(null===(i=Object(o[\"U\"])(n))||void 0===i?void 0:i.id)){var a=n.slice(0,n.findIndex((function(t){return t.id===r}))+1);t.backTo(a)}})),c.on(\"mouseenter\",(function(t){var i,r=t.target.get(\"id\");r!==(null===(i=Object(o[\"U\"])(n))||void 0===i?void 0:i.id)?c.attr(e.activeTextStyle):c.attr({cursor:\"default\"})})),c.on(\"mouseleave\",(function(){c.attr(e.textStyle)})),l0&&(o=1/Math.sqrt(o)),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o,t}function M(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function A(t,e,n){var i=e[0],r=e[1],o=e[2],a=n[0],s=n[1],l=n[2];return t[0]=r*l-o*s,t[1]=o*a-i*l,t[2]=i*s-r*a,t}function k(t,e,n,i){var r=e[0],o=e[1],a=e[2];return t[0]=r+i*(n[0]-r),t[1]=o+i*(n[1]-o),t[2]=a+i*(n[2]-a),t}function I(t,e,n,i,r,o){var a=o*o,s=a*(2*o-3)+1,l=a*(o-2)+o,c=a*(o-1),u=a*(3-2*o);return t[0]=e[0]*s+n[0]*l+i[0]*c+r[0]*u,t[1]=e[1]*s+n[1]*l+i[1]*c+r[1]*u,t[2]=e[2]*s+n[2]*l+i[2]*c+r[2]*u,t}function T(t,e,n,i,r,o){var a=1-o,s=a*a,l=o*o,c=s*a,u=3*o*s,h=3*l*a,d=l*o;return t[0]=e[0]*c+n[0]*u+i[0]*h+r[0]*d,t[1]=e[1]*c+n[1]*u+i[1]*h+r[1]*d,t[2]=e[2]*c+n[2]*u+i[2]*h+r[2]*d,t}function D(t,e){e=e||1;var n=2*i[\"c\"]()*Math.PI,r=2*i[\"c\"]()-1,o=Math.sqrt(1-r*r)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=r*e,t}function P(t,e,n){var i=e[0],r=e[1],o=e[2],a=n[3]*i+n[7]*r+n[11]*o+n[15];return a=a||1,t[0]=(n[0]*i+n[4]*r+n[8]*o+n[12])/a,t[1]=(n[1]*i+n[5]*r+n[9]*o+n[13])/a,t[2]=(n[2]*i+n[6]*r+n[10]*o+n[14])/a,t}function L(t,e,n){var i=e[0],r=e[1],o=e[2];return t[0]=i*n[0]+r*n[3]+o*n[6],t[1]=i*n[1]+r*n[4]+o*n[7],t[2]=i*n[2]+r*n[5]+o*n[8],t}function R(t,e,n){var i=n[0],r=n[1],o=n[2],a=n[3],s=e[0],l=e[1],c=e[2],u=r*c-o*l,h=o*s-i*c,d=i*l-r*s,p=r*d-o*h,f=o*u-i*d,g=i*h-r*u,y=2*a;return u*=y,h*=y,d*=y,p*=2,f*=2,g*=2,t[0]=s+u+p,t[1]=l+h+f,t[2]=c+d+g,t}function E(t,e,n,i){var r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[0],o[1]=r[1]*Math.cos(i)-r[2]*Math.sin(i),o[2]=r[1]*Math.sin(i)+r[2]*Math.cos(i),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t}function B(t,e,n,i){var r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[2]*Math.sin(i)+r[0]*Math.cos(i),o[1]=r[1],o[2]=r[2]*Math.cos(i)-r[0]*Math.sin(i),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t}function F(t,e,n,i){var r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[0]*Math.cos(i)-r[1]*Math.sin(i),o[1]=r[0]*Math.sin(i)+r[1]*Math.cos(i),o[2]=r[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t}function N(t,e){var n=t[0],i=t[1],r=t[2],o=e[0],a=e[1],s=e[2],l=Math.sqrt(n*n+i*i+r*r),c=Math.sqrt(o*o+a*a+s*s),u=l*c,h=u&&M(t,e)/u;return Math.acos(Math.min(Math.max(h,-1),1))}function z(t){return t[0]=0,t[1]=0,t[2]=0,t}function V(t){return\"vec3(\"+t[0]+\", \"+t[1]+\", \"+t[2]+\")\"}function G(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function H(t,e){var n=t[0],r=t[1],o=t[2],a=e[0],s=e[1],l=e[2];return Math.abs(n-a)<=i[\"b\"]*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-s)<=i[\"b\"]*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(o-l)<=i[\"b\"]*Math.max(1,Math.abs(o),Math.abs(l))}var W=h,X=d,Y=p,q=O,U=w,Z=a,K=j,Q=function(){var t=r();return function(e,n,i,r,o,a){var s,l;for(n||(n=3),i||(i=0),l=r?Math.min(r*n+i,e.length):e.length,s=i;s1)throw new Error(\"quantiles must be between 0 and 1\");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 _(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function C(t,e,n,i){n=n||0,i=i||t.length-1;while(i>n){if(i-n>600){var r=i-n+1,o=e-n+1,a=Math.log(r),s=.5*Math.exp(2*a/3),l=.5*Math.sqrt(a*s*(r-s)/r);o-r/2<0&&(l*=-1);var c=Math.max(n,Math.floor(e-o*s/r+l)),u=Math.min(i,Math.floor(e+(r-o)*s/r+l));C(t,e,c,u)}var h=t[e],d=n,p=i;_(t,n,e),t[i]>h&&_(t,n,i);while(dh)p--}t[n]===h?_(t,n,p):(p++,_(t,p,i)),p<=e&&(n=p+1),e<=p&&(i=p-1)}}function M(t,e){var n=t.slice();if(Array.isArray(e)){k(n,e);for(var i=[],r=0;r-1&&t%1==0&&t-1&&t%1==0&&t<=ut}var dt=ht,pt=\"[object Arguments]\",ft=\"[object Array]\",gt=\"[object Boolean]\",yt=\"[object Date]\",vt=\"[object Error]\",mt=\"[object Function]\",bt=\"[object Map]\",xt=\"[object Number]\",Ot=\"[object Object]\",wt=\"[object RegExp]\",jt=\"[object Set]\",St=\"[object String]\",_t=\"[object WeakMap]\",Ct=\"[object ArrayBuffer]\",Mt=\"[object DataView]\",At=\"[object Float32Array]\",kt=\"[object Float64Array]\",It=\"[object Int8Array]\",Tt=\"[object Int16Array]\",Dt=\"[object Int32Array]\",Pt=\"[object Uint8Array]\",Lt=\"[object Uint8ClampedArray]\",Rt=\"[object Uint16Array]\",Et=\"[object Uint32Array]\",Bt={};function Ft(t){return W(t)&&dt(t.length)&&!!Bt[G(t)]}Bt[At]=Bt[kt]=Bt[It]=Bt[Tt]=Bt[Dt]=Bt[Pt]=Bt[Lt]=Bt[Rt]=Bt[Et]=!0,Bt[pt]=Bt[ft]=Bt[Ct]=Bt[gt]=Bt[Mt]=Bt[yt]=Bt[vt]=Bt[mt]=Bt[bt]=Bt[xt]=Bt[Ot]=Bt[wt]=Bt[jt]=Bt[St]=Bt[_t]=!1;var Nt=Ft;function zt(t){return function(e){return t(e)}}var Vt=zt,Gt=n(\"c6eb\"),Ht=Gt[\"a\"]&&Gt[\"a\"].isTypedArray,Wt=Ht?Vt(Ht):Nt,Xt=Wt,Yt=Object.prototype,qt=Yt.hasOwnProperty;function Ut(t,e){var n=S(t),i=!n&&rt(t),r=!n&&!i&&Object(ot[\"a\"])(t),o=!n&&!i&&!r&&Xt(t),a=n||i||r||o,s=a?K(t.length,String):[],l=s.length;for(var c in t)!e&&!qt.call(t,c)||a&&(\"length\"==c||r&&(\"offset\"==c||\"parent\"==c)||o&&(\"buffer\"==c||\"byteLength\"==c||\"byteOffset\"==c)||ct(c,l))||s.push(c);return s}var Zt=Ut,Kt=Object.prototype;function Qt(t){var e=t&&t.constructor,n=\"function\"==typeof e&&e.prototype||Kt;return t===n}var Jt=Qt;function $t(t,e){return function(n){return t(e(n))}}var te=$t,ee=te(Object.keys,Object),ne=ee,ie=Object.prototype,re=ie.hasOwnProperty;function oe(t){if(!Jt(t))return ne(t);var e=[];for(var n in Object(t))re.call(t,n)&&\"constructor\"!=n&&e.push(n);return e}var ae=oe;function se(t){var e=typeof t;return null!=t&&(\"object\"==e||\"function\"==e)}var le=se,ce=\"[object AsyncFunction]\",ue=\"[object Function]\",he=\"[object GeneratorFunction]\",de=\"[object Proxy]\";function pe(t){if(!le(t))return!1;var e=G(t);return e==ue||e==he||e==ce||e==de}var fe=pe;function ge(t){return null!=t&&dt(t.length)&&!fe(t)}var ye=ge;function ve(t){return ye(t)?Zt(t):ae(t)}var me=ve;function be(t,e){return t&&U(t,e,me)}var xe=be;function Oe(t,e){return function(n,i){if(null==n)return n;if(!ye(n))return t(n,i);var r=n.length,o=e?r:-1,a=Object(n);while(e?o--:++o-1}var Ee=Re;function Be(t,e){var n=this.__data__,i=Ae(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}var Fe=Be;function Ne(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e2&&(n.push([i].concat(o.splice(0,2))),a=\"l\",i=\"m\"===i?\"l\":\"L\"),\"o\"===a&&1===o.length&&n.push([i,o[0]]),\"r\"===a)n.push([i].concat(o));else while(o.length>=e[a])if(n.push([i].concat(o.splice(0,e[a]))),!e[a])break;return\"\"})),n}Math.PI;function zi(t){return Object(l[\"d\"])({},t.defaultStyle,{fill:t.color},t.style)}Object(d[\"p\"])(\"schema\",\"venn\",{draw:function(t,e){var n=t.data,r=Ni(n[u]),o=zi(t),a=e.addGroup({name:\"venn-shape\"});a.addShape(\"path\",{attrs:Object(i[\"a\"])(Object(i[\"a\"])({},o),{path:r}),name:\"venn-path\"});var s=t.customInfo,l=s.offsetX,c=s.offsetY,h=d[\"h\"].transform(null,[[\"t\",l,c]]);return a.setMatrix(h),a},getMarker:function(t){var e=t.color;return{symbol:\"circle\",style:{lineWidth:0,stroke:e,fill:e,r:4}}}});var Vi=n(\"e945\"),Gi=function(t){return function(e,n){var i=[];return i[0]=t(e[0],n[0]),i[1]=t(e[1],n[1]),i[2]=t(e[2],n[2]),i}},Hi={normal:function(t){return t},multiply:function(t,e){return t*e/255},screen:function(t,e){return 255*(1-(1-t/255)*(1-e/255))},overlay:function(t,e){return e<128?2*t*e/255:255*(1-2*(1-t/255)*(1-e/255))},darken:function(t,e){return t>e?e:t},lighten:function(t,e){return t>e?t:e},dodge:function(t,e){return 255===t?255:(t=e/255*255/(1-t/255),t>255?255:t)},burn:function(t,e){return 255===e?255:0===t?0:255*(1-Math.min(1,(1-e/255)/(t/255)))}},Wi=function(t){if(!Hi[t])throw new Error(\"unknown blend mode \"+t);return Hi[t]};function Xi(t,e,n){void 0===n&&(n=\"normal\");var i=Gi(Wi(n))(Yi(t),Yi(e)),r=Yi(t),o=r[0],a=r[1],s=r[2],l=r[3],c=Yi(e),u=c[0],h=c[1],d=c[2],p=c[3],f=Number((l+p*(1-l)).toFixed(2)),g=Math.round((l*(1-p)*(o/255)+l*p*(i[0]/255)+(1-l)*p*(u/255))/f*255),y=Math.round((l*(1-p)*(a/255)+l*p*(i[1]/255)+(1-l)*p*(h/255))/f*255),v=Math.round((l*(1-p)*(s/255)+l*p*(i[2]/255)+(1-l)*p*(d/255))/f*255);return\"rgba(\"+g+\", \"+y+\", \"+v+\", \"+f+\")\"}function Yi(t){var e,n=t.replace(\"/s+/g\",\"\");return\"string\"!==typeof n||n.startsWith(\"rgba\")||n.startsWith(\"#\")?(n.startsWith(\"rgba\")&&(e=n.replace(\"rgba(\",\"\").replace(\")\",\"\").split(\",\")),n.startsWith(\"#\")&&(e=Vi[\"a\"].rgb2arr(n).concat([1])),e.map((function(t,e){return 3===e?Number(t):0|t}))):Vi[\"a\"].rgb2arr(Vi[\"a\"].toRGB(n)).concat([1])}var qi=n(\"23eb\"),Ui=1e-10;function Zi(t,e){var n,i=Qi(t),r=i.filter((function(e){return Ki(e,t)})),o=0,a=0,s=[];if(r.length>1){var l=nr(r);for(n=0;n-1){var g=t[h.parentIndex[f]],y=Math.atan2(h.x-g.x,h.y-g.y),v=Math.atan2(u.x-g.x,u.y-g.y),m=v-y;m<0&&(m+=2*Math.PI);var b=v-m/2,x=$i(d,{x:g.x+g.radius*Math.sin(b),y:g.y+g.radius*Math.cos(b)});x>2*g.radius&&(x=2*g.radius),(null===p||p.width>x)&&(p={circle:g,width:x,p1:h,p2:u})}null!==p&&(s.push(p),o+=Ji(p.circle.radius,p.width),u=h)}}else{var O=t[0];for(n=1;nMath.abs(O.radius-t[n].radius)){w=!0;break}w?o=a=0:(o=O.radius*O.radius*Math.PI,s.push({circle:O,p1:{x:O.x,y:O.y+O.radius},p2:{x:O.x-Ui,y:O.y+O.radius},width:2*O.radius}))}return a/=2,e&&(e.area=o+a,e.arcArea=o,e.polygonArea=a,e.arcs=s,e.innerPoints=r,e.intersectionPoints=i),o+a}function Ki(t,e){for(var n=0;ne[n].radius+Ui)return!1;return!0}function Qi(t){for(var e=[],n=0;n=t+e)return 0;if(n<=Math.abs(t-e))return Math.PI*Math.min(t,e)*Math.min(t,e);var i=t-(n*n-e*e+t*t)/(2*n),r=e-(n*n-t*t+e*e)/(2*n);return Ji(t,i)+Ji(e,r)}function er(t,e){var n=$i(t,e),i=t.radius,r=e.radius;if(n>=i+r||n<=Math.abs(i-r))return[];var o=(i*i-r*r+n*n)/(2*n),a=Math.sqrt(i*i-o*o),s=t.x+o*(e.x-t.x)/n,l=t.y+o*(e.y-t.y)/n,c=-(e.y-t.y)*(a/n),u=-(e.x-t.x)*(a/n);return[{x:s+c,y:l-u},{x:s-c,y:l+u}]}function nr(t){for(var e={x:0,y:0},n=0;n=a&&(o=i[n],a=s)}var l=Object(qi[\"nelderMead\"])((function(n){return-1*ir({x:n[0],y:n[1]},t,e)}),[o.x,o.y],{maxIterations:500,minErrorDelta:1e-10}).x,c={x:l[0],y:l[1]},u=!0;for(n=0;nt[n].radius){u=!1;break}for(n=0;ns;r.push(\"\\nA\",s,s,0,l?1:0,1,a.p1.x,a.p1.y)}return r.join(\" \")}function cr(t,e){e=e||{},e.maxIterations=e.maxIterations||500;var n=e.initialLayout||gr,i=e.lossFunction||mr;t=dr(t);var r,o=n(t,e),a=[],s=[];for(r in o)o.hasOwnProperty(r)&&(a.push(o[r].x),a.push(o[r].y),s.push(r));for(var l=Object(qi[\"nelderMead\"])((function(e){for(var n={},r=0;re?1:-1})),e=0;e=Math.min(e[o].size,e[a].size)?u=1:t.size<=1e-10&&(u=-1),r[o][a]=r[a][o]=u})),{distances:i,constraints:r}}function fr(t,e,n,i){var r,o=0;for(r=0;r0&&f<=h||d<0&&f>=h||(o+=2*g*g,e[2*r]+=4*g*(a-c),e[2*r+1]+=4*g*(s-u),e[2*l]+=4*g*(c-a),e[2*l+1]+=4*g*(u-s))}return o}function gr(t,e){var n=vr(t,e),i=e.lossFunction||mr;if(t.length>=8){var r=yr(t,e),o=i(r,t),a=i(n,t);o+1e-8=Math.min(r[u].size,r[h].size)&&(c=0),o[u].push({set:h,size:l.size,weight:c}),o[h].push({set:u,size:l.size,weight:c})}var d=[];for(n in o)if(o.hasOwnProperty(n)){var p=0;for(a=0;a=g.length)){var n=Math.max(e-o,0),i=e,r=Math.min(e+o,g.length-1),a=n-(e-o),l=e+o-r,c=m[-o-1+a]||0,u=m[-o-1+l]||0,h=b/(b-c-u);a>0&&(O+=h*(a-1)*x);var d=Math.max(0,e-o+1);s.inside(0,g.length-1,d)&&(g[d].y+=1*h*x),s.inside(0,g.length-1,i+1)&&(g[i+1].y-=2*h*x),s.inside(0,g.length-1,r+1)&&(g[r+1].y+=1*h*x)}}));var w=O,j=0,S=0;return g.forEach((function(t){j+=t.y,w+=j,t.y=w,S+=w})),S>0&&g.forEach((function(t){t.y/=S})),g},t.exports.getExpectedValueFromPdf=function(t){if(t&&0!==t.length){var e=0;return t.forEach((function(t){e+=t.x*t.y})),e}},t.exports.getXWithLeftTailArea=function(t,e){if(t&&0!==t.length){for(var n=0,i=0,r=0;r=e)break;return t[i].x}},t.exports.getPerplexity=function(t){if(t&&0!==t.length){var e=0;return t.forEach((function(t){var n=Math.log(t.y);isFinite(n)&&(e+=t.y*n)})),e=-e/o,Math.pow(2,e)}}},a63f:function(t,e){t.exports=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAADCAYAAAD/XH0rAAAALUlEQVQYlWNkKn7JMNBAVFYM5oL/MAYLAwNDw0A77PXjV2AayYEMgzPEGBgYAIMMCNEL4zP/AAAAAElFTkSuQmCC\"},a6d0:function(t,e,n){\"use strict\";var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"8937\"),a=n(\"c34d\"),s=n(\"a0c4\"),l=n(\"62e3\"),c=n(\"f45c\"),u=[\"x\",\"y\",\"r\",\"name\",\"value\",\"path\",\"depth\"],h={colorField:\"name\",autoFit:!0,pointStyle:{lineWidth:0,stroke:\"#fff\"},legend:!1,hierarchyConfig:{size:[1,1],padding:0},label:{fields:[\"name\"],layout:{type:\"limit-in-shape\"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1}},d=n(\"9f73\"),p=n(\"2373\"),f=n(\"6bcb\"),g=n(\"23b9\"),y={field:\"value\",as:[\"x\",\"y\",\"r\"],sort:function(t,e){return e.value-t.value}};function v(t,e){e=Object(o[\"b\"])({},y,e);var n,i=e.as;if(!Object(o[\"C\"])(i)||3!==i.length)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ \"x\", \"y\", \"r\" ])!');try{n=Object(g[\"e\"])(e)}catch(u){}var r=function(t){return p[\"a\"]().size(e.size).padding(e.padding)(f[\"c\"](t).sum((function(t){return t[n]})).sort(e.sort))},a=r(t),s=i[0],l=i[1],c=i[2];return a.each((function(t){t[s]=t.x,t[l]=t.y,t[c]=t.r})),Object(g[\"d\"])(a)}function m(t){var e=t.data,n=t.hierarchyConfig,r=t.rawFields,o=void 0===r?[]:r,a=t.enableDrillDown,s=v(e,Object(i[\"a\"])(Object(i[\"a\"])({},n),{field:\"value\",as:[\"x\",\"y\",\"r\"]})),c=[];return s.forEach((function(t){var e,r=t.data.name,s=Object(i[\"a\"])({},t);while(s.depth>1)r=(null===(e=s.parent.data)||void 0===e?void 0:e.name)+\" / \"+r,s=s.parent;if(a&&t.depth>2)return null;var u=Object(l[\"d\"])({},t.data,Object(i[\"a\"])(Object(i[\"a\"])(Object(i[\"a\"])({},Object(l[\"t\"])(t.data,o)),{path:r}),t));u.ext=n,u[d[\"b\"]]={hierarchyConfig:n,rawFields:o,enableDrillDown:a},c.push(u)})),c}function b(t,e,n){var i=Object(c[\"c\"])([t,e]),r=i[0],o=i[1],a=i[2],s=i[3],l=n.width,u=n.height,h=l-(s+o),d=u-(r+a),p=Math.min(h,d),f=(h-p)/2,g=(d-p)/2,y=r+g,v=o+f,m=a+g,b=s+f,x=[y,v,m,b],O=p<0?0:p;return{finalPadding:x,finalSize:O}}function x(t){var e=t.chart,n=Math.min(e.viewBBox.width,e.viewBBox.height);return Object(l[\"d\"])({options:{size:function(t){var e=t.r;return e*n}}},t)}function O(t){var e=t.options,n=t.chart,i=n.viewBBox,r=e.padding,a=e.appendPadding,s=e.drilldown,l=a;if(null===s||void 0===s?void 0:s.enabled){var u=Object(c[\"a\"])(n.appendPadding,Object(o[\"s\"])(s,[\"breadCrumb\",\"position\"]));l=Object(c[\"c\"])([u,a])}var h=b(r,l,i).finalPadding;return n.padding=h,n.appendPadding=0,t}function w(t){var e=t.chart,n=t.options,r=e.padding,o=e.appendPadding,a=n.color,c=n.colorField,h=n.pointStyle,d=n.hierarchyConfig,p=n.sizeField,f=n.rawFields,g=void 0===f?[]:f,y=n.drilldown,v=m({data:n.data,hierarchyConfig:d,enableDrillDown:null===y||void 0===y?void 0:y.enabled,rawFields:g});e.data(v);var x=e.viewBBox,O=b(r,o,x).finalSize,w=function(t){var e=t.r;return e*O};return p&&(w=function(t){return t[p]*O}),Object(s[\"a\"])(Object(l[\"d\"])({},t,{options:{xField:\"x\",yField:\"y\",seriesField:c,sizeField:p,rawFields:Object(i[\"h\"])(u,g),point:{color:a,style:h,shape:\"circle\",size:w}}})),t}function j(t){return Object(l[\"g\"])(Object(a[\"g\"])({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(t)}function S(t){var e=t.chart,n=t.options,r=n.tooltip;if(!1===r)e.tooltip(!1);else{var a=r;Object(o[\"s\"])(r,\"fields\")||(a=Object(l[\"d\"])({},{customItems:function(t){return t.map((function(t){var n=Object(o[\"s\"])(e.getOptions(),\"scales\"),r=Object(o[\"s\"])(n,[\"name\",\"formatter\"],(function(t){return t})),a=Object(o[\"s\"])(n,[\"value\",\"formatter\"],(function(t){return t}));return Object(i[\"a\"])(Object(i[\"a\"])({},t),{name:r(t.data.name),value:a(t.data.value)})}))}},a)),e.tooltip(a)}return t}function _(t){var e=t.chart;return e.axis(!1),t}function C(t){var e=t.drilldown,n=t.interactions,r=void 0===n?[]:n;return(null===e||void 0===e?void 0:e.enabled)?Object(l[\"d\"])({},t,{interactions:Object(i[\"h\"])(r,[{type:\"drill-down\",cfg:{drillDownConfig:e,transformData:m,enableDrillDown:!0}}])}):t}function M(t){var e=t.chart,n=t.options;return Object(a[\"c\"])({chart:e,options:C(n)}),t}function A(t){return Object(l[\"g\"])(Object(a[\"f\"])(\"pointStyle\"),x,O,a[\"k\"],j,w,_,a[\"d\"],S,M,a[\"a\"],Object(a[\"b\"])())(t)}n(\"51d4\"),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"circle-packing\",e}Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return h},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return A},e.prototype.triggerResize=function(){this.chart.destroyed||(this.chart.forceFit(),this.chart.clear(),this.execAdaptor(),this.chart.render(!0))}}(r[\"b\"])},a939:function(t,e,n){!function(e,n){t.exports=n()}(\"undefined\"!=typeof self&&self,(function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,\"a\",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p=\"\",e(e.s=1)}([function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),n(4)();var i=n(5),r=n(6);e.default={name:\"vue-seamless-scroll\",data:function(){return{xPos:0,yPos:0,delay:0,copyHtml:\"\",height:0,width:0,realBoxWidth:0}},props:{data:{type:Array,default:function(){return[]}},classOption:{type:Object,default:function(){return{}}}},computed:{leftSwitchState:function(){return this.xPos<0},rightSwitchState:function(){return Math.abs(this.xPos)=this.options.limitMoveNum},hoverStopSwitch:function(){return this.options.hoverStop&&this.autoPlay&&this.scrollSwitch},canTouchScroll:function(){return this.options.openTouch},isHorizontal:function(){return this.options.direction>1},baseFontSize:function(){return this.options.isSingleRemUnit?parseInt(window.getComputedStyle(document.documentElement,null).fontSize):1},realSingleStopWidth:function(){return this.options.singleWidth*this.baseFontSize},realSingleStopHeight:function(){return this.options.singleHeight*this.baseFontSize},step:function(){var t=this.options.step;return this.isHorizontal?this.realSingleStopWidth:this.realSingleStopHeight,t}},methods:{reset:function(){this._cancle(),this._initMove()},leftSwitchClick:function(){if(this.leftSwitchState)return Math.abs(this.xPos)1||t.scale&&1!==t.scale)){var e=t.targetTouches[0],n=this.options.direction;this.endPos={x:e.pageX-this.startPos.x,y:e.pageY-this.startPos.y},event.preventDefault();var i=Math.abs(this.endPos.x)1&&(this.xPos=this.startPosX+this.endPos.x)}},touchEnd:function(){var t=this;if(this.canTouchScroll){var e=void 0,n=this.options.direction;if(this.delay=50,1===n)this.yPos>0&&(this.yPos=0);else if(0===n){var i=this.realBoxHeight/2*-1;this.yPos0&&(this.xPos=0);else if(3===n){var r=-1*this.realBoxWidth;this.xPos=e&&(this.$emit(\"ScrollEnd\"),this.yPos=0),this.yPos-=a):0===r?(this.yPos>=0&&(this.$emit(\"ScrollEnd\"),this.yPos=-1*e),this.yPos+=a):2===r?(Math.abs(this.xPos)>=n&&(this.$emit(\"ScrollEnd\"),this.xPos=0),this.xPos-=a):3===r&&(this.xPos>=0&&(this.$emit(\"ScrollEnd\"),this.xPos=-1*n),this.xPos+=a),this.singleWaitTime&&clearTimeout(this.singleWaitTime),this.realSingleStopHeight?Math.abs(this.yPos)%this.realSingleStopHeight1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.componentName||r.default.name,r.default)},\"undefined\"!=typeof window&&window.Vue&&Vue.component(r.default.name,r.default),e.default=r.default},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var i=n(0),r=n.n(i);for(var o in i)\"default\"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var a=n(7),s=n(3),l=s(r.a,a.a,!1,null,null,null);e.default=l.exports},function(t,e){t.exports=function(t,e,n,i,r,o){var a,s=t=t||{},l=typeof t.default;\"object\"!==l&&\"function\"!==l||(a=t,s=t.default);var c,u=\"function\"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||\"undefined\"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=i),c){var h=u.functional,d=h?u.render:u.beforeCreate;h?(u._injectStyles=c,u.render=function(t,e){return c.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:a,exports:s,options:u}}},function(t,e){var n=function(){window.cancelAnimationFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(t){return window.clearTimeout(t)}}(),window.requestAnimationFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}()};t.exports=n},function(t,e){var n=function(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(var n=0;ni)throw new Error(\"circular link\");r=o,o=new Set}if(e)for(var s=Math.max(C(n,(function(t){return t.depth}))+1,0),l=void 0,c=0;cn)throw new Error(\"circular link\");i=r,r=new Set}}function x(t){for(var e=t.nodes,i=Math.max(C(e,(function(t){return t.depth}))+1,0),o=(a-r-l)/(i-1),s=new Array(i).fill(0).map((function(){return[]})),c=0,u=e;c0){var m=(u/h-c.y0)*e;c.y0+=m,c.y1+=m,G(c)}}void 0===n&&a.sort(I),a.length&&N(a,i)}}function F(t,e,i){for(var r=t.length,o=r-2;o>=0;--o){for(var a=t[o],s=0,l=a;s0){var m=(u/h-c.y0)*e;c.y0+=m,c.y1+=m,G(c)}}void 0===n&&a.sort(I),a.length&&N(a,i)}}function N(e,n){var i=e.length>>1,r=e[i];V(e,r.y0-t,i-1,n),z(e,r.y1+t,i+1,n),V(e,s,e.length-1,n),z(e,o,0,n)}function z(e,n,i,r){for(;i1e-6&&(o.y0+=a,o.y1+=a),n=o.y1+t}}function V(e,n,i,r){for(;i>=0;--i){var o=e[i],a=(o.y1-n)*r;a>1e-6&&(o.y0-=a,o.y1-=a),n=o.y0-t}}function G(t){var e=t.sourceLinks,n=t.targetLinks;if(void 0===i){for(var r=0,o=n;r \"+n,value:i}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:\"wave-in\"},enter:{animation:\"wave-in\"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var e=Y(this.options,this.chart.width,this.chart.height),n=e.nodes,i=e.edges,r=Object(a[\"f\"])(this.chart,p),o=Object(a[\"f\"])(this.chart,f);r.changeData(n),o.changeData(i)},e.prototype.getSchemaAdaptor=function(){return J},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()}})(o[\"b\"])},af40:function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return d})),n.d(e,\"a\",(function(){return p}));var i=n(\"7326\"),r=/^l\\s*\\(\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,o=/^r\\s*\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,a=/^p\\s*\\(\\s*([axyn])\\s*\\)\\s*(.*)/i,s=/[\\d.]+:(#[^\\s]+|[^\\)]+\\))/gi;function l(t,e){var n=t.match(s);Object(i[\"c\"])(n,(function(t){var n=t.split(\":\");e.addColorStop(n[0],n[1])}))}function c(t,e,n){var i,o,a=r.exec(n),s=parseFloat(a[1])%360*(Math.PI/180),c=a[2],u=e.getBBox();s>=0&&s<.5*Math.PI?(i={x:u.minX,y:u.minY},o={x:u.maxX,y:u.maxY}):.5*Math.PI<=s&&s=l.minX&&e<=l.maxX&&n>=l.minY&&n<=l.maxY}function l(t,e,n){if(!s(t,e,n))return null;for(var i=null,r=t.getChildren(),o=r.length,c=o-1;c>=0;c--){var u=r[c];if(u.isGroup())i=l(u,e,n);else if(s(u,e,n)){var h=u,d=a(u,e,n),p=d[0],f=d[1];h.isInShape(p,f)&&(i=u)}if(i)break}return i}var c=n(\"4799\"),u=n(\"c2ad\"),h=n(\"7326\"),d=n(\"f5e5\"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(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 c},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 i=this.get(\"context\"),r=this.get(\"el\"),o=this.getPixelRatio();r.width=o*e,r.height=o*n,o>1&&i.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 i;return i=this.get(\"quickHit\")?l(this,e,n):t.prototype.getShape.call(this,e,n,null),i},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(d[\"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 i=this.get(\"clipView\");i&&(t=Object(d[\"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(d[\"a\"])(t,this),Object(d[\"d\"])(t,n),this.set(\"refreshElements\",[])},e.prototype._drawRegion=function(){var t=this.get(\"context\"),e=this.get(\"refreshElements\"),n=this.getChildren(),i=this._getRefreshRegion();i?(t.clearRect(i.minX,i.minY,i.maxX-i.minX,i.maxY-i.minY),t.save(),t.beginPath(),t.rect(i.minX,i.minY,i.maxX-i.minX,i.maxY-i.minY),t.clip(),Object(d[\"a\"])(t,this),Object(d[\"b\"])(this,n,i),Object(d[\"d\"])(t,n,i),t.restore()):e.length&&Object(d[\"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.prototype.removeDom=function(){var t=this.get(\"el\");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(r[\"AbstractCanvas\"]);e[\"a\"]=p},b216:function(t,e,n){\"use strict\";e[\"a\"]={type:\"FeatureCollection\",features:[{type:\"Feature\",properties:{adcode:500101,code:500101e6,name:\"万州区\",center:[108.380246,30.807807],centroid:[108.406819,30.704054],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:0,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[108.034778,30.574187],[108.052847,30.572094],[108.062667,30.574429],[108.072537,30.582159],[108.083339,30.579582],[108.088593,30.572617],[108.103863,30.573382],[108.105631,30.591458],[108.111621,30.59343],[108.127187,30.586104],[108.126647,30.577972],[108.120067,30.576965],[108.12645,30.564],[108.143587,30.566215],[108.153063,30.545879],[108.152523,30.535931],[108.163374,30.540805],[108.171378,30.539314],[108.165633,30.524411],[108.175552,30.510633],[108.184537,30.518167],[108.195045,30.514501],[108.207811,30.49766],[108.230496,30.476705],[108.232755,30.45502],[108.241937,30.443773],[108.223622,30.421274],[108.236732,30.409216],[108.254261,30.403529],[108.261479,30.388605],[108.275031,30.405546],[108.296538,30.401109],[108.298944,30.407562],[108.315835,30.425387],[108.317062,30.433129],[108.33248,30.449336],[108.338814,30.470337],[108.344657,30.476987],[108.378734,30.534884],[108.394593,30.536737],[108.404315,30.548295],[108.410404,30.543261],[108.409717,30.532749],[108.402253,30.529688],[108.399553,30.520504],[108.409962,30.517563],[108.412368,30.503059],[108.427786,30.512567],[108.42101,30.497176],[108.424054,30.488956],[108.440994,30.491011],[108.45268,30.495968],[108.455086,30.489319],[108.479146,30.488956],[108.491765,30.501488],[108.513124,30.501407],[108.528297,30.487505],[108.542929,30.491978],[108.55707,30.486014],[108.564926,30.468564],[108.569935,30.470418],[108.581719,30.485893],[108.591245,30.487787],[108.590606,30.494718],[108.598561,30.493872],[108.611376,30.502173],[108.604551,30.510795],[108.621737,30.515468],[108.620116,30.52288],[108.628611,30.525176],[108.649332,30.537824],[108.649725,30.554215],[108.64344,30.562027],[108.639904,30.574751],[108.654487,30.585017],[108.666223,30.5886],[108.690479,30.586708],[108.700004,30.561786],[108.699415,30.544389],[108.711592,30.537864],[108.715815,30.530373],[108.711887,30.523203],[108.726176,30.515548],[108.723966,30.507572],[108.744196,30.494799],[108.761529,30.505315],[108.77292,30.503502],[108.788534,30.51293],[108.799239,30.50592],[108.806948,30.491414],[108.839011,30.50318],[108.853005,30.514984],[108.854429,30.521913],[108.871663,30.532749],[108.893121,30.557799],[108.894643,30.56702],[108.90952,30.581273],[108.869896,30.610979],[108.871565,30.618103],[108.901713,30.646792],[108.899946,30.676438],[108.896312,30.684039],[108.884331,30.687337],[108.883546,30.695661],[108.872007,30.690112],[108.836016,30.678449],[108.828699,30.679414],[108.823347,30.69168],[108.818094,30.693771],[108.785883,30.683516],[108.779254,30.685125],[108.781022,30.697028],[108.79261,30.706558],[108.789762,30.714277],[108.763444,30.713031],[108.766586,30.720548],[108.762609,30.728106],[108.76639,30.74141],[108.754998,30.740044],[108.749842,30.74555],[108.740169,30.775527],[108.74724,30.782116],[108.740808,30.787259],[108.738549,30.808026],[108.733393,30.81405],[108.715177,30.815094],[108.699955,30.811841],[108.698482,30.822885],[108.685127,30.835976],[108.685078,30.845773],[108.671968,30.852116],[108.665977,30.867972],[108.653014,30.89105],[108.634798,30.885271],[108.625419,30.875358],[108.621589,30.888561],[108.623013,30.912837],[108.628169,30.918253],[108.619233,30.926999],[108.61884,30.934741],[108.608578,30.93807],[108.593307,30.920259],[108.566448,30.912396],[108.552602,30.915405],[108.537577,30.958123],[108.523632,30.973159],[108.531243,30.978051],[108.533894,30.996251],[108.51666,30.990559],[108.506643,30.992604],[108.501094,30.98651],[108.50409,30.977289],[108.496626,30.972839],[108.486413,30.977008],[108.460537,30.967426],[108.454743,30.970232],[108.45327,30.988755],[108.455626,30.994728],[108.440356,31.002545],[108.426509,30.998216],[108.41497,30.998897],[108.395674,30.991641],[108.372792,30.969791],[108.355214,30.960408],[108.339649,30.963135],[108.349027,30.939153],[108.360861,30.932976],[108.346277,30.921222],[108.300269,30.901041],[108.29202,30.892976],[108.268402,30.881659],[108.260055,30.872789],[108.243803,30.882261],[108.244294,30.89113],[108.228237,30.881298],[108.231184,30.87612],[108.225488,30.860908],[108.229956,30.856171],[108.218417,30.852839],[108.200102,30.839188],[108.197254,30.833647],[108.18218,30.824211],[108.167106,30.827182],[108.157482,30.834771],[108.152179,30.831278],[108.131704,30.832001],[108.126057,30.840875],[108.122866,30.833487],[108.109608,30.82931],[108.105287,30.841356],[108.096646,30.84782],[108.090115,30.871545],[108.101654,30.878007],[108.081817,30.885712],[108.071751,30.892695],[108.069149,30.888281],[108.041112,30.876522],[108.0363,30.8701],[108.029426,30.884508],[108.009392,30.907662],[108.000849,30.911915],[107.994711,30.908665],[107.986953,30.901924],[107.95597,30.882983],[107.954202,30.872428],[107.929504,30.859342],[107.896508,30.834932],[107.876131,30.813287],[107.88492,30.806138],[107.905592,30.77601],[107.908243,30.762911],[107.918653,30.75829],[107.959112,30.719262],[108.011405,30.709814],[108.03517,30.715362],[108.047544,30.723684],[108.074894,30.723121],[108.086678,30.713714],[108.074844,30.696304],[108.082259,30.677926],[108.079558,30.664532],[108.0554,30.660027],[108.042585,30.662481],[108.025645,30.648844],[108.023091,30.63617],[108.016954,30.629571],[108.025252,30.60289],[108.033697,30.592424],[108.028051,30.587432],[108.034778,30.574187]]]]},id:16489715,bbox:[107.876131,30.388605,108.90952,31.002545]},{type:\"Feature\",properties:{adcode:500102,code:500102e6,name:\"涪陵区\",center:[107.394905,29.703652],centroid:[107.334026,29.658582],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:1,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[107.701575,29.615443],[107.698482,29.618614],[107.713752,29.642555],[107.718073,29.65682],[107.696616,29.660315],[107.684733,29.666532],[107.674176,29.663362],[107.670101,29.675064],[107.6565,29.686156],[107.64447,29.687821],[107.630427,29.701714],[107.632784,29.719016],[107.640345,29.740701],[107.625075,29.753896],[107.64226,29.76303],[107.638529,29.772976],[107.638627,29.813274],[107.622669,29.802562],[107.605336,29.808161],[107.605238,29.832423],[107.595369,29.835222],[107.604256,29.852014],[107.613585,29.856111],[107.616973,29.865884],[107.626892,29.874522],[107.613094,29.876955],[107.598707,29.888632],[107.602979,29.897389],[107.59473,29.917657],[107.579361,29.923939],[107.573126,29.933827],[107.57946,29.943877],[107.571898,29.951049],[107.56193,29.946146],[107.546807,29.958585],[107.546905,29.965675],[107.53355,29.968551],[107.523779,29.978678],[107.515186,29.959436],[107.500554,29.960611],[107.498197,29.972481],[107.487443,29.972076],[107.471338,29.989453],[107.466968,29.998606],[107.453171,30.001441],[107.448064,29.999092],[107.421156,29.967944],[107.415755,29.970577],[107.383545,29.926614],[107.387129,29.921993],[107.377505,29.910523],[107.379666,29.899132],[107.369354,29.906794],[107.360762,29.897227],[107.342005,29.892929],[107.335818,29.884415],[107.337193,29.873062],[107.323445,29.852947],[107.313084,29.845809],[107.299827,29.847472],[107.29801,29.839603],[107.272379,29.837291],[107.270857,29.851447],[107.265161,29.847472],[107.240512,29.841347],[107.229317,29.84374],[107.210806,29.840292],[107.206583,29.824958],[107.212279,29.816276],[107.198039,29.809622],[107.186992,29.79473],[107.153111,29.784827],[107.111572,29.76299],[107.102635,29.754546],[107.086726,29.761813],[107.070277,29.758524],[107.070032,29.751217],[107.041406,29.734407],[107.027166,29.717189],[107.009195,29.712762],[107.002223,29.714468],[106.993581,29.679331],[106.975315,29.634142],[106.966624,29.599546],[106.958768,29.582508],[106.953268,29.551311],[106.953612,29.535811],[106.947278,29.510826],[106.945952,29.497029],[106.964415,29.488685],[106.98052,29.488767],[106.993925,29.482579],[107.00453,29.471058],[107.012927,29.487708],[107.019997,29.487057],[107.015873,29.473338],[107.034581,29.467435],[107.034482,29.453103],[107.025055,29.441782],[107.029228,29.410827],[107.034581,29.406713],[107.026381,29.402802],[107.035121,29.391231],[107.051619,29.394205],[107.052552,29.388705],[107.043321,29.378437],[107.07229,29.362829],[107.083387,29.359813],[107.10018,29.361606],[107.114812,29.366741],[107.109166,29.383856],[107.110442,29.391598],[107.125124,29.387564],[107.134158,29.394613],[107.146827,29.396365],[107.142947,29.408179],[107.134846,29.411438],[107.148741,29.419259],[107.155272,29.417304],[107.16082,29.424432],[107.167056,29.420603],[107.173096,29.408342],[107.185911,29.412945],[107.203244,29.411316],[107.199561,29.399135],[107.214439,29.39775],[107.207221,29.385934],[107.20732,29.366293],[107.225487,29.367801],[107.239285,29.364744],[107.241691,29.379415],[107.237713,29.394817],[107.226666,29.406835],[107.227598,29.418159],[107.240512,29.426795],[107.245422,29.424391],[107.260938,29.429035],[107.262264,29.436162],[107.277338,29.440357],[107.30567,29.465318],[107.313526,29.487912],[107.323248,29.497558],[107.328993,29.509321],[107.348683,29.515547],[107.358601,29.51575],[107.365868,29.522383],[107.380599,29.523197],[107.391548,29.530969],[107.427491,29.505658],[107.431762,29.483475],[107.441386,29.491575],[107.450519,29.490028],[107.463826,29.498617],[107.4625,29.502117],[107.475905,29.50635],[107.478507,29.497151],[107.513664,29.461165],[107.532666,29.423047],[107.546562,29.431845],[107.552798,29.447809],[107.56139,29.453062],[107.574206,29.452533],[107.577446,29.462427],[107.595958,29.480951],[107.613143,29.479526],[107.620558,29.483638],[107.615009,29.512373],[107.607546,29.514652],[107.608135,29.532474],[107.629003,29.539147],[107.651197,29.553304],[107.654634,29.562457],[107.666958,29.573804],[107.687532,29.600481],[107.69804,29.605889],[107.701575,29.615443]]]]},id:16489716,bbox:[106.945952,29.359813,107.718073,30.001441]},{type:\"Feature\",properties:{adcode:500103,code:500103e6,name:\"渝中区\",center:[106.56288,29.556742],centroid:[106.540387,29.549305],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:2,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.588199,29.571242],[106.572487,29.562619],[106.560849,29.567175],[106.545382,29.566483],[106.530407,29.552369],[106.502321,29.557494],[106.494022,29.554809],[106.482778,29.548097],[106.495594,29.546958],[106.500995,29.529789],[106.532272,29.52869],[106.539441,29.540489],[106.556185,29.5411],[106.583731,29.547812],[106.589623,29.556518],[106.588199,29.571242]]]]},id:16489717,bbox:[106.482778,29.52869,106.589623,29.571242]},{type:\"Feature\",properties:{adcode:500104,code:500104e6,name:\"大渡口区\",center:[106.48613,29.481002],centroid:[106.458637,29.417574],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:3,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.424298,29.426306],[106.423071,29.426591],[106.417522,29.420563],[106.416786,29.430175],[106.410108,29.439176],[106.406965,29.439054],[106.398422,29.440438],[106.393708,29.429361],[106.398471,29.413638],[106.392726,29.408831],[106.398225,29.386016],[106.405738,29.380963],[106.409568,29.368086],[106.39631,29.357286],[106.400877,29.340777],[106.411876,29.342245],[106.435542,29.352965],[106.441926,29.358916],[106.455036,29.380596],[106.469619,29.389153],[106.49196,29.39775],[106.509735,29.397506],[106.528197,29.388338],[106.534924,29.392005],[106.526528,29.411275],[106.498343,29.446913],[106.502075,29.47745],[106.509538,29.481765],[106.521765,29.479974],[106.523729,29.485673],[106.50291,29.494994],[106.480569,29.490273],[106.468097,29.498128],[106.454888,29.483556],[106.462696,29.485266],[106.47065,29.475048],[106.458915,29.472443],[106.451942,29.456401],[106.458767,29.448379],[106.454545,29.430623],[106.457884,29.41983],[106.451402,29.414127],[106.439372,29.417834],[106.430436,29.415512],[106.424298,29.426306]]]]},id:16489718,bbox:[106.392726,29.340777,106.534924,29.498128]},{type:\"Feature\",properties:{adcode:500105,code:500105e6,name:\"江北区\",center:[106.532844,29.575352],centroid:[106.707043,29.613282],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:4,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.46191,29.608247],[106.451942,29.586452],[106.463432,29.581165],[106.487688,29.555135],[106.494022,29.554809],[106.502321,29.557494],[106.530407,29.552369],[106.545382,29.566483],[106.560849,29.567175],[106.572487,29.562619],[106.588199,29.571242],[106.581177,29.578766],[106.580392,29.590275],[106.589672,29.609344],[106.602242,29.615565],[106.623307,29.614995],[106.633274,29.592023],[106.641916,29.586818],[106.65645,29.591861],[106.672654,29.566321],[106.683652,29.562131],[106.692343,29.564287],[106.709627,29.577627],[106.730937,29.583402],[106.740512,29.589665],[106.748614,29.607718],[106.766977,29.610401],[106.792461,29.604059],[106.801152,29.589055],[106.821087,29.591576],[106.843527,29.57657],[106.85045,29.575431],[106.861547,29.602067],[106.873086,29.615809],[106.893659,29.657064],[106.87775,29.659339],[106.866359,29.646985],[106.850548,29.659908],[106.833706,29.6632],[106.825703,29.659502],[106.819811,29.663647],[106.822118,29.67153],[106.809401,29.674699],[106.806701,29.671123],[106.793001,29.678599],[106.78323,29.669986],[106.782543,29.662428],[106.754162,29.651578],[106.747926,29.655154],[106.749988,29.663606],[106.744735,29.670433],[106.741297,29.662184],[106.73462,29.667263],[106.729906,29.646294],[106.723915,29.640604],[106.712671,29.646945],[106.70948,29.631337],[106.687237,29.623654],[106.648054,29.63719],[106.621834,29.635199],[106.61162,29.639873],[106.602929,29.634386],[106.595613,29.638572],[106.582798,29.633695],[106.579213,29.619061],[106.57337,29.620362],[106.562617,29.603734],[106.562175,29.589543],[106.549851,29.581531],[106.530308,29.587469],[106.506543,29.573032],[106.497754,29.573113],[106.486363,29.585639],[106.485724,29.596984],[106.492009,29.599424],[106.482434,29.613329],[106.478506,29.609751],[106.46191,29.608247]]]]},id:16489719,bbox:[106.451942,29.552369,106.893659,29.678599]},{type:\"Feature\",properties:{adcode:500106,code:500106e6,name:\"沙坪坝区\",center:[106.4542,29.541224],centroid:[106.368248,29.624462],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:5,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.482778,29.548097],[106.494022,29.554809],[106.487688,29.555135],[106.463432,29.581165],[106.451942,29.586452],[106.46191,29.608247],[106.462843,29.616296],[106.453121,29.620321],[106.45209,29.632109],[106.468293,29.645969],[106.469766,29.657714],[106.457589,29.668889],[106.448603,29.661453],[106.448702,29.652187],[106.424396,29.65747],[106.429061,29.662956],[106.426508,29.680021],[106.433431,29.711706],[106.442073,29.730387],[106.442908,29.743624],[106.431418,29.749146],[106.417768,29.750202],[106.40947,29.738833],[106.39361,29.740457],[106.382758,29.747847],[106.380647,29.744233],[106.366604,29.746994],[106.365327,29.735504],[106.32968,29.732702],[106.327126,29.728519],[106.317797,29.738752],[106.305669,29.736641],[106.297076,29.706467],[106.285636,29.697896],[106.280431,29.703298],[106.278712,29.67669],[106.284506,29.675268],[106.287698,29.663484],[106.2794,29.652553],[106.287649,29.635849],[106.279105,29.637841],[106.273017,29.631215],[106.282493,29.626744],[106.274882,29.612231],[106.265602,29.605889],[106.260005,29.592633],[106.251707,29.559406],[106.253425,29.532841],[106.264031,29.525354],[106.285488,29.532881],[106.293639,29.531254],[106.297322,29.542442],[106.305718,29.538415],[106.312789,29.544883],[106.33405,29.544029],[106.343526,29.554891],[106.356145,29.559772],[106.37392,29.546633],[106.379763,29.546958],[106.379272,29.536584],[106.390762,29.54053],[106.395083,29.547934],[106.403528,29.538903],[106.41384,29.540815],[106.411237,29.505536],[106.407506,29.492918],[106.424544,29.493325],[106.426999,29.498006],[106.44281,29.494139],[106.448063,29.509524],[106.461615,29.52808],[106.460093,29.532108],[106.483466,29.539025],[106.482778,29.548097]]]]},id:16489720,bbox:[106.251707,29.492918,106.494022,29.750202]},{type:\"Feature\",properties:{adcode:500107,code:500107e6,name:\"九龙坡区\",center:[106.480989,29.523492],centroid:[106.364401,29.428501],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:6,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.253425,29.532841],[106.253278,29.519698],[106.261969,29.516524],[106.260594,29.494262],[106.267026,29.494994],[106.26025,29.466051],[106.262705,29.451596],[106.278565,29.449031],[106.285636,29.441986],[106.298549,29.440764],[106.30724,29.434248],[106.307339,29.426835],[106.320596,29.427976],[106.323002,29.420481],[106.317257,29.415227],[106.329041,29.413679],[106.331005,29.39555],[106.322314,29.38732],[106.314409,29.388827],[106.30891,29.379985],[106.295554,29.378763],[106.294425,29.384549],[106.284359,29.38516],[106.282248,29.368167],[106.275668,29.363236],[106.277829,29.352924],[106.267468,29.350234],[106.261232,29.335519],[106.274539,29.32871],[106.276945,29.322269],[106.289171,29.320679],[106.27994,29.286913],[106.298697,29.256483],[106.311905,29.254769],[106.339844,29.26456],[106.3559,29.27688],[106.384035,29.283039],[106.393217,29.294948],[106.385999,29.312401],[106.395525,29.339351],[106.400877,29.340777],[106.39631,29.357286],[106.409568,29.368086],[106.405738,29.380963],[106.398225,29.386016],[106.392726,29.408831],[106.398471,29.413638],[106.393708,29.429361],[106.398422,29.440438],[106.406965,29.439054],[106.408537,29.441375],[106.410599,29.440397],[106.410108,29.439176],[106.416786,29.430175],[106.417522,29.420563],[106.423071,29.426591],[106.423316,29.427202],[106.423709,29.427691],[106.423955,29.427731],[106.424249,29.426795],[106.424298,29.426306],[106.430436,29.415512],[106.439372,29.417834],[106.451402,29.414127],[106.457884,29.41983],[106.454545,29.430623],[106.458767,29.448379],[106.451942,29.456401],[106.458915,29.472443],[106.47065,29.475048],[106.462696,29.485266],[106.454888,29.483556],[106.468097,29.498128],[106.480569,29.490273],[106.50291,29.494994],[106.523729,29.485673],[106.521765,29.479974],[106.542044,29.472972],[106.552011,29.48726],[106.549851,29.495523],[106.534187,29.505454],[106.532272,29.52869],[106.500995,29.529789],[106.495594,29.546958],[106.482778,29.548097],[106.483466,29.539025],[106.460093,29.532108],[106.461615,29.52808],[106.448063,29.509524],[106.44281,29.494139],[106.426999,29.498006],[106.424544,29.493325],[106.407506,29.492918],[106.411237,29.505536],[106.41384,29.540815],[106.403528,29.538903],[106.395083,29.547934],[106.390762,29.54053],[106.379272,29.536584],[106.379763,29.546958],[106.37392,29.546633],[106.356145,29.559772],[106.343526,29.554891],[106.33405,29.544029],[106.312789,29.544883],[106.305718,29.538415],[106.297322,29.542442],[106.293639,29.531254],[106.285488,29.532881],[106.264031,29.525354],[106.253425,29.532841]]],[[[106.423955,29.427731],[106.423709,29.427691],[106.423316,29.427202],[106.423071,29.426591],[106.424298,29.426306],[106.424249,29.426795],[106.423955,29.427731]]],[[[106.410599,29.440397],[106.408537,29.441375],[106.406965,29.439054],[106.410108,29.439176],[106.410599,29.440397]]]]},id:16489721,bbox:[106.253278,29.254769,106.552011,29.559772]},{type:\"Feature\",properties:{adcode:500108,code:500108e6,name:\"南岸区\",center:[106.560813,29.523992],centroid:[106.660614,29.535521],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:7,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.801152,29.589055],[106.792461,29.604059],[106.766977,29.610401],[106.748614,29.607718],[106.740512,29.589665],[106.730937,29.583402],[106.709627,29.577627],[106.692343,29.564287],[106.683652,29.562131],[106.672654,29.566321],[106.65645,29.591861],[106.641916,29.586818],[106.633274,29.592023],[106.623307,29.614995],[106.602242,29.615565],[106.589672,29.609344],[106.580392,29.590275],[106.581177,29.578766],[106.588199,29.571242],[106.589623,29.556518],[106.583731,29.547812],[106.556185,29.5411],[106.539441,29.540489],[106.532272,29.52869],[106.534187,29.505454],[106.549851,29.495523],[106.552011,29.48726],[106.56954,29.485144],[106.578772,29.469878],[106.586677,29.473094],[106.59581,29.463974],[106.606808,29.474315],[106.627971,29.465847],[106.642849,29.469959],[106.655321,29.462346],[106.65866,29.46772],[106.673341,29.458437],[106.688808,29.468453],[106.683358,29.476473],[106.69308,29.483353],[106.693276,29.48897],[106.703686,29.487993],[106.705257,29.482254],[106.732115,29.483923],[106.738548,29.486731],[106.764179,29.530928],[106.7712,29.549155],[106.787993,29.576326],[106.801152,29.589055]]]]},id:16489722,bbox:[106.532272,29.458437,106.801152,29.615565]},{type:\"Feature\",properties:{adcode:500109,code:500109e6,name:\"北碚区\",center:[106.437868,29.82543],centroid:[106.513996,29.861006],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:8,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.648447,30.085559],[106.629101,30.079448],[106.591587,30.047071],[106.598265,30.039582],[106.596546,30.030432],[106.582209,30.022214],[106.572192,30.012698],[106.568706,29.991154],[106.55697,29.961259],[106.544941,29.935246],[106.526773,29.945822],[106.519506,29.927546],[106.505659,29.931234],[106.501338,29.922115],[106.488916,29.908415],[106.479046,29.908172],[106.477131,29.891875],[106.466967,29.882996],[106.465347,29.870832],[106.452581,29.869128],[106.462892,29.88478],[106.458522,29.887456],[106.452777,29.878212],[106.44281,29.883564],[106.46191,29.92402],[106.455281,29.926776],[106.443841,29.906834],[106.433235,29.901889],[106.423414,29.904564],[106.429601,29.892362],[106.423611,29.884334],[106.409077,29.889443],[106.396507,29.898118],[106.390958,29.906672],[106.390909,29.921304],[106.383053,29.92787],[106.339598,29.901767],[106.314409,29.884861],[106.325653,29.872737],[106.329385,29.859639],[106.336407,29.860247],[106.330956,29.848323],[106.342446,29.842523],[106.337585,29.834532],[106.345883,29.836114],[106.34225,29.816804],[106.351284,29.812422],[106.372889,29.814207],[106.344214,29.779307],[106.334197,29.771311],[106.324279,29.774843],[106.31598,29.764898],[106.305669,29.736641],[106.317797,29.738752],[106.327126,29.728519],[106.32968,29.732702],[106.365327,29.735504],[106.366604,29.746994],[106.380647,29.744233],[106.382758,29.747847],[106.39361,29.740457],[106.40947,29.738833],[106.417768,29.750202],[106.431418,29.749146],[106.442908,29.743624],[106.442073,29.730387],[106.433431,29.711706],[106.426508,29.680021],[106.429061,29.662956],[106.424396,29.65747],[106.448702,29.652187],[106.448603,29.661453],[106.457589,29.668889],[106.457147,29.687415],[106.469373,29.697165],[106.487197,29.699399],[106.496134,29.68969],[106.506887,29.685425],[106.514743,29.694281],[106.512337,29.703461],[106.518377,29.71199],[106.536741,29.723321],[106.536741,29.730306],[106.524956,29.742609],[106.520144,29.764614],[106.515676,29.769688],[106.530996,29.775979],[106.532469,29.767333],[106.54116,29.763112],[106.530799,29.758687],[106.532076,29.749471],[106.5417,29.754871],[106.556529,29.754789],[106.57175,29.763355],[106.589181,29.754992],[106.588543,29.76161],[106.604746,29.769322],[106.592864,29.784705],[106.609018,29.799437],[106.601653,29.799843],[106.593011,29.808932],[106.5936,29.79964],[106.584909,29.799599],[106.587217,29.812665],[106.598805,29.816763],[106.598461,29.825607],[106.612848,29.832626],[106.622865,29.831327],[106.620262,29.840252],[106.634109,29.839481],[106.646581,29.849378],[106.64987,29.863857],[106.658512,29.869534],[106.668775,29.900348],[106.67506,29.897713],[106.678889,29.908212],[106.669118,29.912712],[106.679822,29.923615],[106.678497,29.92864],[106.687384,29.935489],[106.674274,29.932206],[106.674225,29.961948],[106.679724,29.97961],[106.677465,29.98601],[106.676385,30.015087],[106.678889,30.026141],[106.670739,30.034805],[106.678153,30.058121],[106.677024,30.063989],[106.648447,30.085559]]]]},id:16489723,bbox:[106.305669,29.652187,106.687384,30.085559]},{type:\"Feature\",properties:{adcode:500110,code:50011e7,name:\"綦江区\",center:[106.651417,29.028091],centroid:[106.722706,28.87864],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:9,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[107.057462,28.894785],[107.04337,28.919879],[107.053288,28.919183],[107.057315,28.932771],[107.051275,28.942143],[107.043124,28.945785],[107.02913,28.941284],[107.015971,28.952087],[107.013614,28.969599],[107.022256,28.974058],[107.02967,28.985717],[107.024564,28.995983],[107.01715,28.998724],[107.003892,29.016023],[106.990045,29.021094],[106.979832,29.031766],[106.981158,29.039861],[106.988671,29.043459],[106.977034,29.056009],[106.975266,29.050532],[106.96358,29.058217],[106.954545,29.059239],[106.950421,29.071787],[106.938685,29.041906],[106.926361,29.047793],[106.920567,29.045749],[106.915362,29.054538],[106.906131,29.051758],[106.910256,29.068844],[106.921844,29.100475],[106.911483,29.114775],[106.905542,29.11596],[106.891695,29.131769],[106.885263,29.141817],[106.868028,29.151456],[106.858012,29.149046],[106.849468,29.1575],[106.821235,29.149577],[106.812936,29.165014],[106.809941,29.178161],[106.800121,29.179958],[106.793689,29.169709],[106.788386,29.177181],[106.776405,29.163666],[106.768843,29.161298],[106.767665,29.169587],[106.757894,29.170159],[106.748908,29.176691],[106.729464,29.162604],[106.712377,29.179182],[106.699561,29.177181],[106.686746,29.188042],[106.680313,29.173548],[106.676631,29.176855],[106.668234,29.168158],[106.665092,29.158439],[106.65316,29.16142],[106.656205,29.175385],[106.642603,29.173874],[106.623896,29.160154],[106.604599,29.126908],[106.588395,29.12654],[106.585007,29.131442],[106.574451,29.128215],[106.574205,29.116777],[106.581177,29.110076],[106.578084,29.09312],[106.584418,29.079634],[106.583436,29.071256],[106.589672,29.056663],[106.585695,29.053148],[106.589525,29.030008],[106.59414,29.019131],[106.608773,29.014756],[106.592471,29.005963],[106.585204,29.008294],[106.57833,29.022443],[106.562666,29.016555],[106.557118,29.006004],[106.549703,29.00535],[106.551815,29.024692],[106.544646,29.036386],[106.526331,29.036141],[106.524956,29.044195],[106.514547,29.059852],[106.504825,29.063285],[106.498,29.071624],[106.501044,29.0771],[106.49034,29.083476],[106.484497,29.065738],[106.489849,29.042969],[106.478113,29.024774],[106.475413,29.012179],[106.454447,29.0177],[106.444135,29.038103],[106.463874,29.042069],[106.44281,29.050573],[106.442515,29.039739],[106.427834,29.047588],[106.419732,29.047834],[106.404314,29.035364],[106.398765,29.027023],[106.385803,29.029476],[106.391842,29.022443],[106.397587,28.993693],[106.405738,28.979622],[106.399846,28.962521],[106.408733,28.95401],[106.402792,28.940956],[106.410992,28.922294],[106.411826,28.891182],[106.415264,28.876236],[106.43623,28.870217],[106.446443,28.863337],[106.455723,28.836427],[106.461861,28.831019],[106.47448,28.833027],[106.476199,28.826759],[106.490585,28.806518],[106.508753,28.795864],[106.521126,28.794266],[106.523041,28.78111],[106.533795,28.778733],[106.53404,28.770904],[106.547985,28.769838],[106.561831,28.756064],[106.563894,28.746184],[106.559229,28.731546],[106.56026,28.72072],[106.576857,28.702387],[106.582356,28.702223],[106.587315,28.691517],[106.598068,28.691886],[106.606072,28.685035],[106.619182,28.689178],[106.614272,28.680276],[106.61766,28.667311],[106.626891,28.659269],[106.635238,28.658448],[106.643684,28.664316],[106.651393,28.64942],[106.641179,28.644167],[106.620213,28.645727],[106.618887,28.637272],[106.62861,28.63444],[106.636809,28.623235],[106.636466,28.613219],[106.629641,28.604762],[106.614665,28.609442],[106.607054,28.594292],[106.616825,28.562795],[106.615254,28.549651],[106.600622,28.541353],[106.584615,28.523276],[106.568657,28.523646],[106.560309,28.513374],[106.56792,28.505278],[106.562814,28.497388],[106.568018,28.484031],[106.589181,28.488387],[106.591489,28.499073],[106.584958,28.50684],[106.593404,28.510169],[106.610147,28.497922],[106.632734,28.503553],[106.631114,28.490237],[106.649772,28.47955],[106.661066,28.491881],[106.678349,28.481359],[106.688268,28.484647],[106.696713,28.4784],[106.693276,28.45653],[106.708547,28.450486],[106.716207,28.456365],[106.725241,28.454433],[106.732901,28.46356],[106.746649,28.466643],[106.744833,28.489867],[106.726027,28.518551],[106.723965,28.529891],[106.728187,28.54201],[106.73732,28.553307],[106.754358,28.558318],[106.765161,28.558153],[106.779891,28.56378],[106.780922,28.574869],[106.766634,28.580166],[106.758581,28.588133],[106.759023,28.611084],[106.773901,28.611946],[106.780333,28.625],[106.792559,28.616256],[106.793443,28.606486],[106.800514,28.602134],[106.807732,28.589447],[106.827078,28.598562],[106.833264,28.613219],[106.829287,28.622742],[106.856146,28.622496],[106.866359,28.624507],[106.871515,28.658817],[106.883201,28.69246],[106.862136,28.690983],[106.854722,28.697095],[106.853936,28.706324],[106.862529,28.707555],[106.852905,28.724452],[106.828354,28.737696],[106.824033,28.756146],[106.833363,28.768772],[106.838469,28.765985],[106.845393,28.781028],[106.862333,28.780577],[106.864591,28.77447],[106.874215,28.779716],[106.886392,28.794716],[106.897882,28.80115],[106.905345,28.79611],[106.923071,28.810042],[106.938391,28.792381],[106.94227,28.782135],[106.950224,28.777626],[106.951746,28.766969],[106.967803,28.774101],[106.987885,28.774675],[106.988671,28.790331],[106.981355,28.804347],[106.980814,28.812951],[106.98926,28.829585],[106.983368,28.851173],[106.997853,28.853507],[107.005169,28.859159],[107.019114,28.860675],[107.016118,28.882501],[107.036594,28.88115],[107.04062,28.863869],[107.058689,28.868947],[107.045579,28.874926],[107.052552,28.8911],[107.057462,28.894785]]]]},id:16489724,bbox:[106.385803,28.450486,107.058689,29.188042]},{type:\"Feature\",properties:{adcode:500111,code:500111e6,name:\"大足区\",center:[105.715319,29.700498],centroid:[105.742721,29.65],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:10,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[105.482777,29.679127],[105.490683,29.675186],[105.487688,29.663159],[105.496673,29.648652],[105.509243,29.637962],[105.50561,29.609344],[105.517738,29.586493],[105.536642,29.59121],[105.542681,29.586412],[105.542534,29.57413],[105.549703,29.572096],[105.561045,29.588892],[105.580047,29.591617],[105.590899,29.590397],[105.594483,29.575553],[105.602241,29.569941],[105.599983,29.553019],[105.592175,29.549928],[105.59522,29.539432],[105.590015,29.524011],[105.583239,29.515588],[105.593059,29.517744],[105.595711,29.504152],[105.607642,29.508262],[105.619967,29.504803],[105.620556,29.494017],[105.631506,29.485917],[105.629738,29.478386],[105.637152,29.473623],[105.646236,29.486121],[105.639509,29.489052],[105.641179,29.505861],[105.648397,29.494139],[105.662636,29.499431],[105.65311,29.485022],[105.658119,29.481317],[105.657431,29.468168],[105.662194,29.460025],[105.687236,29.446506],[105.714929,29.464259],[105.725486,29.454121],[105.724013,29.449967],[105.735061,29.445162],[105.737663,29.435592],[105.727646,29.422844],[105.73403,29.417386],[105.722835,29.397872],[105.741002,29.397628],[105.728678,29.384875],[105.735159,29.38459],[105.747582,29.372487],[105.767762,29.379578],[105.773507,29.394857],[105.770561,29.408302],[105.802674,29.437139],[105.817895,29.490395],[105.825899,29.51396],[105.834933,29.527917],[105.855016,29.540042],[105.868617,29.537316],[105.876817,29.541791],[105.873969,29.552572],[105.890467,29.570429],[105.924347,29.595805],[105.938243,29.613166],[105.946099,29.626988],[105.953513,29.630199],[105.969815,29.646294],[105.982532,29.671936],[105.997361,29.6645],[106.005659,29.682581],[106.031732,29.722184],[106.036838,29.726692],[106.025987,29.734854],[106.028344,29.749552],[106.014448,29.752841],[106.010913,29.747279],[106.001289,29.748375],[105.997508,29.756819],[105.998588,29.768916],[105.991223,29.781174],[105.976542,29.784746],[105.970601,29.779876],[105.957638,29.781662],[105.944233,29.775979],[105.922334,29.788236],[105.904706,29.785598],[105.906523,29.795582],[105.893806,29.802967],[105.888208,29.790347],[105.893904,29.785882],[105.888012,29.77468],[105.878584,29.769525],[105.868911,29.756982],[105.83076,29.757997],[105.822461,29.762827],[105.820939,29.773381],[105.806945,29.771636],[105.808418,29.783569],[105.789269,29.794121],[105.778368,29.811367],[105.77719,29.801831],[105.763883,29.793512],[105.746354,29.801466],[105.721411,29.78779],[105.713898,29.789129],[105.714684,29.79684],[105.72308,29.809825],[105.735846,29.819319],[105.725339,29.832747],[105.738252,29.845646],[105.738105,29.856516],[105.733146,29.860693],[105.719397,29.856557],[105.720625,29.849662],[105.708939,29.840576],[105.695436,29.843497],[105.690428,29.852298],[105.677759,29.854286],[105.661801,29.84082],[105.656204,29.844389],[105.641473,29.836844],[105.617659,29.845728],[105.605875,29.827879],[105.604107,29.816844],[105.588444,29.823133],[105.580293,29.790753],[105.587511,29.784868],[105.572289,29.768713],[105.576218,29.757388],[105.574941,29.744477],[105.564335,29.737818],[105.56571,29.724012],[105.557952,29.726651],[105.549212,29.737615],[105.542829,29.726529],[105.550341,29.722022],[105.52962,29.707604],[105.538851,29.69489],[105.527951,29.692412],[105.520095,29.703583],[105.49903,29.709553],[105.49029,29.720275],[105.482188,29.718082],[105.473448,29.707523],[105.474234,29.697124],[105.481353,29.692737],[105.482777,29.679127]]]]},id:16489725,bbox:[105.473448,29.372487,106.036838,29.860693]},{type:\"Feature\",properties:{adcode:500112,code:500112e6,name:\"渝北区\",center:[106.512851,29.601451],centroid:[106.746928,29.810209],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:11,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.893659,29.657064],[106.906082,29.678152],[106.913742,29.684043],[106.930534,29.689],[106.942564,29.705857],[106.945609,29.724743],[106.972222,29.763924],[106.96466,29.774518],[106.958522,29.769485],[106.952532,29.784259],[106.945167,29.784178],[106.952237,29.792214],[106.939913,29.804347],[106.944234,29.812949],[106.942859,29.839765],[106.936574,29.842483],[106.937114,29.851893],[106.944528,29.855908],[106.945461,29.875454],[106.953416,29.88109],[106.962058,29.901929],[106.974529,29.916603],[106.98489,29.934314],[106.970012,29.938326],[106.965691,29.951981],[106.946934,29.953683],[106.942515,29.964824],[106.935248,29.964054],[106.931467,29.975397],[106.909077,29.971873],[106.896654,29.978597],[106.889928,29.987954],[106.88708,29.981392],[106.877947,29.98601],[106.868323,29.978962],[106.864444,29.984916],[106.866506,30.012293],[106.856195,30.013872],[106.861449,30.028165],[106.842054,30.049135],[106.836996,30.049742],[106.830171,30.033955],[106.812495,30.028975],[106.799974,30.030554],[106.797764,30.023145],[106.785587,30.017233],[106.768598,30.017274],[106.764228,30.024602],[106.759416,30.018893],[106.742132,30.025938],[106.73241,30.026829],[106.726076,30.034319],[106.72583,30.057068],[106.698825,30.076535],[106.698726,30.098708],[106.703195,30.118126],[106.689643,30.117802],[106.688857,30.124031],[106.673881,30.12213],[106.668382,30.101742],[106.656352,30.086165],[106.648447,30.085559],[106.677024,30.063989],[106.678153,30.058121],[106.670739,30.034805],[106.678889,30.026141],[106.676385,30.015087],[106.677465,29.98601],[106.679724,29.97961],[106.674225,29.961948],[106.674274,29.932206],[106.687384,29.935489],[106.678497,29.92864],[106.679822,29.923615],[106.669118,29.912712],[106.678889,29.908212],[106.67506,29.897713],[106.668775,29.900348],[106.658512,29.869534],[106.64987,29.863857],[106.646581,29.849378],[106.634109,29.839481],[106.620262,29.840252],[106.622865,29.831327],[106.612848,29.832626],[106.598461,29.825607],[106.598805,29.816763],[106.587217,29.812665],[106.584909,29.799599],[106.5936,29.79964],[106.593011,29.808932],[106.601653,29.799843],[106.609018,29.799437],[106.592864,29.784705],[106.604746,29.769322],[106.588543,29.76161],[106.589181,29.754992],[106.57175,29.763355],[106.556529,29.754789],[106.5417,29.754871],[106.532076,29.749471],[106.530799,29.758687],[106.54116,29.763112],[106.532469,29.767333],[106.530996,29.775979],[106.515676,29.769688],[106.520144,29.764614],[106.524956,29.742609],[106.536741,29.730306],[106.536741,29.723321],[106.518377,29.71199],[106.512337,29.703461],[106.514743,29.694281],[106.506887,29.685425],[106.496134,29.68969],[106.487197,29.699399],[106.469373,29.697165],[106.457147,29.687415],[106.457589,29.668889],[106.469766,29.657714],[106.468293,29.645969],[106.45209,29.632109],[106.453121,29.620321],[106.462843,29.616296],[106.46191,29.608247],[106.478506,29.609751],[106.482434,29.613329],[106.492009,29.599424],[106.485724,29.596984],[106.486363,29.585639],[106.497754,29.573113],[106.506543,29.573032],[106.530308,29.587469],[106.549851,29.581531],[106.562175,29.589543],[106.562617,29.603734],[106.57337,29.620362],[106.579213,29.619061],[106.582798,29.633695],[106.595613,29.638572],[106.602929,29.634386],[106.61162,29.639873],[106.621834,29.635199],[106.648054,29.63719],[106.687237,29.623654],[106.70948,29.631337],[106.712671,29.646945],[106.723915,29.640604],[106.729906,29.646294],[106.73462,29.667263],[106.741297,29.662184],[106.744735,29.670433],[106.749988,29.663606],[106.747926,29.655154],[106.754162,29.651578],[106.782543,29.662428],[106.78323,29.669986],[106.793001,29.678599],[106.806701,29.671123],[106.809401,29.674699],[106.822118,29.67153],[106.819811,29.663647],[106.825703,29.659502],[106.833706,29.6632],[106.850548,29.659908],[106.866359,29.646985],[106.87775,29.659339],[106.893659,29.657064]]]]},id:16489726,bbox:[106.45209,29.573032,106.98489,30.124031]},{type:\"Feature\",properties:{adcode:500113,code:500113e6,name:\"巴南区\",center:[106.519423,29.381919],centroid:[106.751731,29.371851],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:12,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.552011,29.48726],[106.542044,29.472972],[106.521765,29.479974],[106.509538,29.481765],[106.502075,29.47745],[106.498343,29.446913],[106.526528,29.411275],[106.534924,29.392005],[106.528197,29.388338],[106.509735,29.397506],[106.49196,29.39775],[106.469619,29.389153],[106.455036,29.380596],[106.441926,29.358916],[106.435542,29.352965],[106.440404,29.350153],[106.454496,29.35427],[106.460241,29.360872],[106.478163,29.36022],[106.474431,29.35696],[106.473645,29.335722],[106.486363,29.294336],[106.508655,29.278674],[106.505021,29.268966],[106.511208,29.268069],[106.514056,29.254688],[106.519653,29.251791],[106.515774,29.232042],[106.521225,29.224614],[106.535906,29.221962],[106.539343,29.213717],[106.547788,29.212534],[106.541896,29.192369],[106.545972,29.183265],[106.562372,29.161379],[106.549998,29.153498],[106.550047,29.145493],[106.560997,29.133239],[106.574451,29.128215],[106.585007,29.131442],[106.588395,29.12654],[106.604599,29.126908],[106.623896,29.160154],[106.642603,29.173874],[106.656205,29.175385],[106.65316,29.16142],[106.665092,29.158439],[106.668234,29.168158],[106.676631,29.176855],[106.680313,29.173548],[106.686746,29.188042],[106.699561,29.177181],[106.712377,29.179182],[106.729464,29.162604],[106.748908,29.176691],[106.757894,29.170159],[106.767665,29.169587],[106.768843,29.161298],[106.776405,29.163666],[106.788386,29.177181],[106.793689,29.169709],[106.800121,29.179958],[106.809941,29.178161],[106.812936,29.165014],[106.821235,29.149577],[106.849468,29.1575],[106.858012,29.149046],[106.868028,29.151456],[106.885263,29.141817],[106.891695,29.131769],[106.891744,29.14149],[106.899355,29.155621],[106.909175,29.160562],[106.907751,29.179672],[106.896409,29.180039],[106.895574,29.190491],[106.911385,29.197472],[106.919045,29.180366],[106.945069,29.183142],[106.955527,29.190695],[106.95263,29.197104],[106.961812,29.202738],[106.968392,29.215228],[106.95754,29.228981],[106.954692,29.252199],[106.936132,29.256931],[106.933039,29.279653],[106.92312,29.280673],[106.920616,29.302411],[106.922433,29.310322],[106.919978,29.329893],[106.922531,29.403046],[106.932253,29.399746],[106.936574,29.439339],[106.933039,29.448542],[106.935297,29.464463],[106.945952,29.497029],[106.947278,29.510826],[106.953612,29.535811],[106.953268,29.551311],[106.958768,29.582508],[106.966624,29.599546],[106.975315,29.634142],[106.993581,29.679331],[107.002223,29.714468],[106.998638,29.732539],[106.990144,29.738062],[106.988818,29.748781],[106.993483,29.75824],[106.988131,29.769322],[106.972222,29.763924],[106.945609,29.724743],[106.942564,29.705857],[106.930534,29.689],[106.913742,29.684043],[106.906082,29.678152],[106.893659,29.657064],[106.873086,29.615809],[106.861547,29.602067],[106.85045,29.575431],[106.843527,29.57657],[106.821087,29.591576],[106.801152,29.589055],[106.787993,29.576326],[106.7712,29.549155],[106.764179,29.530928],[106.738548,29.486731],[106.732115,29.483923],[106.705257,29.482254],[106.703686,29.487993],[106.693276,29.48897],[106.69308,29.483353],[106.683358,29.476473],[106.688808,29.468453],[106.673341,29.458437],[106.65866,29.46772],[106.655321,29.462346],[106.642849,29.469959],[106.627971,29.465847],[106.606808,29.474315],[106.59581,29.463974],[106.586677,29.473094],[106.578772,29.469878],[106.56954,29.485144],[106.552011,29.48726]]]]},id:16489727,bbox:[106.435542,29.12654,107.002223,29.769322]},{type:\"Feature\",properties:{adcode:500114,code:500114e6,name:\"黔江区\",center:[108.782577,29.527548],centroid:[108.708597,29.435532],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:13,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[108.55869,29.13953],[108.570769,29.124416],[108.598266,29.105705],[108.587169,29.095081],[108.599396,29.086908],[108.60789,29.109014],[108.615206,29.109709],[108.614568,29.095408],[108.625665,29.08699],[108.622179,29.073422],[108.628906,29.072891],[108.646533,29.081841],[108.661313,29.071624],[108.667205,29.078776],[108.662835,29.090382],[108.669856,29.095939],[108.66416,29.103744],[108.668678,29.108156],[108.681984,29.105623],[108.686698,29.109341],[108.698777,29.101619],[108.700397,29.094427],[108.726912,29.080492],[108.747584,29.092384],[108.749008,29.10881],[108.774295,29.110485],[108.775768,29.124008],[108.784852,29.123272],[108.803756,29.129195],[108.812054,29.122047],[108.832087,29.117267],[108.833266,29.109995],[108.847702,29.105214],[108.855656,29.122659],[108.854625,29.133484],[108.882416,29.1791],[108.896607,29.209024],[108.915265,29.215513],[108.925135,29.222615],[108.925871,29.23347],[108.937607,29.244283],[108.954252,29.272066],[108.93903,29.274065],[108.919783,29.283732],[108.915462,29.293561],[108.903432,29.296416],[108.908784,29.312972],[108.919734,29.326305],[108.916591,29.334622],[108.931027,29.369634],[108.93412,29.399461],[108.943646,29.410746],[108.932009,29.431682],[108.921256,29.436895],[108.90957,29.436814],[108.89808,29.441945],[108.886541,29.440601],[108.873971,29.449397],[108.873726,29.462753],[108.866557,29.471058],[108.869846,29.485917],[108.885952,29.498047],[108.888652,29.507041],[108.886983,29.530562],[108.878439,29.53935],[108.886934,29.553101],[108.902106,29.563026],[108.913056,29.574455],[108.899995,29.584866],[108.909177,29.593284],[108.901271,29.604791],[108.897589,29.596496],[108.885903,29.588445],[108.868324,29.598001],[108.885854,29.621134],[108.887916,29.628573],[108.879618,29.639222],[108.869699,29.643002],[108.855754,29.636377],[108.84451,29.658364],[108.83302,29.651293],[108.827325,29.654382],[108.835377,29.668442],[108.828061,29.671286],[108.816473,29.644018],[108.819812,29.632435],[108.813625,29.63154],[108.804394,29.640564],[108.785637,29.633857],[108.780089,29.645522],[108.792266,29.647351],[108.79752,29.660071],[108.794132,29.671205],[108.784655,29.677177],[108.786276,29.691518],[108.760645,29.693549],[108.752592,29.689365],[108.758141,29.678721],[108.765113,29.682256],[108.775964,29.67539],[108.773018,29.661534],[108.783281,29.653772],[108.774541,29.65174],[108.765899,29.661046],[108.763002,29.653366],[108.752641,29.649017],[108.743017,29.655926],[108.740611,29.665719],[108.73359,29.671489],[108.710905,29.679168],[108.718221,29.691924],[108.710365,29.699196],[108.691166,29.68969],[108.684783,29.693509],[108.69313,29.704476],[108.681051,29.721413],[108.686649,29.740051],[108.677565,29.748537],[108.67732,29.761447],[108.681788,29.770459],[108.678449,29.777887],[108.680658,29.800167],[108.670986,29.811813],[108.656942,29.816682],[108.670347,29.819076],[108.666124,29.842726],[108.657728,29.84808],[108.662491,29.852582],[108.633226,29.855908],[108.632686,29.86487],[108.622915,29.867304],[108.60843,29.862964],[108.601409,29.8656],[108.587955,29.85388],[108.588151,29.84808],[108.577349,29.844673],[108.579902,29.831206],[108.56581,29.820861],[108.557463,29.819035],[108.534434,29.787506],[108.522503,29.763761],[108.540081,29.756779],[108.548526,29.749512],[108.547004,29.742569],[108.520244,29.730347],[108.51666,29.735666],[108.504188,29.729413],[108.515285,29.71861],[108.506446,29.708172],[108.526676,29.696759],[108.52373,29.683109],[108.503549,29.67669],[108.504139,29.666288],[108.489997,29.642515],[108.487199,29.624102],[108.499965,29.622069],[108.507036,29.611093],[108.512633,29.614467],[108.516709,29.602148],[108.534974,29.588851],[108.534532,29.572177],[108.548379,29.557575],[108.547643,29.547406],[108.536251,29.540001],[108.515334,29.543948],[108.506054,29.536868],[108.494711,29.515099],[108.501242,29.49996],[108.50954,29.50285],[108.539688,29.491697],[108.561686,29.491657],[108.585549,29.477328],[108.581228,29.464911],[108.59257,29.442963],[108.576367,29.41706],[108.555843,29.412701],[108.552995,29.390539],[108.547201,29.381697],[108.550196,29.371754],[108.561538,29.352598],[108.549705,29.328303],[108.549459,29.315378],[108.560409,29.306081],[108.573568,29.302411],[108.584272,29.285812],[108.583192,29.278063],[108.571948,29.265703],[108.575778,29.252362],[108.568314,29.236245],[108.569247,29.224941],[108.555597,29.218738],[108.548919,29.205064],[108.556775,29.184857],[108.574403,29.164115],[108.570671,29.152313],[108.55869,29.13953]]]]},id:16489728,bbox:[108.487199,29.071624,108.954252,29.867304]},{type:\"Feature\",properties:{adcode:500115,code:500115e6,name:\"长寿区\",center:[107.074854,29.833671],centroid:[107.140018,29.954649],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:14,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.972222,29.763924],[106.988131,29.769322],[106.993483,29.75824],[106.988818,29.748781],[106.990144,29.738062],[106.998638,29.732539],[107.002223,29.714468],[107.009195,29.712762],[107.027166,29.717189],[107.041406,29.734407],[107.070032,29.751217],[107.070277,29.758524],[107.086726,29.761813],[107.102635,29.754546],[107.111572,29.76299],[107.153111,29.784827],[107.186992,29.79473],[107.198039,29.809622],[107.212279,29.816276],[107.206583,29.824958],[107.210806,29.840292],[107.229317,29.84374],[107.240512,29.841347],[107.265161,29.847472],[107.270857,29.851447],[107.272379,29.837291],[107.29801,29.839603],[107.299827,29.847472],[107.313084,29.845809],[107.323445,29.852947],[107.337193,29.873062],[107.335818,29.884415],[107.342005,29.892929],[107.360762,29.897227],[107.369354,29.906794],[107.379666,29.899132],[107.377505,29.910523],[107.387129,29.921993],[107.383545,29.926614],[107.415755,29.970577],[107.421156,29.967944],[107.448064,29.999092],[107.453171,30.001441],[107.451501,30.008203],[107.46029,30.01533],[107.436329,30.033833],[107.374068,29.973372],[107.362824,29.979853],[107.347995,29.980501],[107.335573,29.97398],[107.325556,29.973007],[107.307094,29.992328],[107.29418,29.997917],[107.294818,30.002696],[107.31112,30.008203],[107.304688,30.0161],[107.31166,30.02023],[107.307879,30.035493],[107.294867,30.044359],[107.27724,30.043144],[107.279204,30.04873],[107.266045,30.055045],[107.26521,30.062006],[107.247534,30.07528],[107.259072,30.075887],[107.269089,30.081148],[107.271741,30.09446],[107.28328,30.091021],[107.29089,30.097939],[107.286766,30.107892],[107.295555,30.122454],[107.291381,30.136327],[107.274098,30.135841],[107.269482,30.145992],[107.288484,30.171303],[107.277044,30.181086],[107.256568,30.205903],[107.228335,30.223805],[107.221068,30.213743],[107.187335,30.181248],[107.16848,30.160306],[107.136466,30.134426],[107.13131,30.121524],[107.106563,30.113838],[107.111032,30.104251],[107.103077,30.090131],[107.093797,30.095391],[107.080147,30.094177],[107.073911,30.080986],[107.084517,30.063868],[107.075286,30.051118],[107.058395,30.043063],[107.0554,30.040553],[107.054221,30.040837],[107.053779,30.043751],[107.050588,30.053426],[107.042486,30.055085],[107.037821,30.047273],[107.042682,30.035007],[107.020636,30.036829],[107.014351,30.051604],[107.005316,30.052495],[106.998295,30.059456],[106.985332,30.084061],[106.966477,30.079894],[106.954889,30.066094],[106.956755,30.06059],[106.948604,30.040149],[106.941877,30.042739],[106.914871,30.033955],[106.913594,30.025574],[106.88433,30.0344],[106.861449,30.028165],[106.856195,30.013872],[106.866506,30.012293],[106.864444,29.984916],[106.868323,29.978962],[106.877947,29.98601],[106.88708,29.981392],[106.889928,29.987954],[106.896654,29.978597],[106.909077,29.971873],[106.931467,29.975397],[106.935248,29.964054],[106.942515,29.964824],[106.946934,29.953683],[106.965691,29.951981],[106.970012,29.938326],[106.98489,29.934314],[106.974529,29.916603],[106.962058,29.901929],[106.953416,29.88109],[106.945461,29.875454],[106.944528,29.855908],[106.937114,29.851893],[106.936574,29.842483],[106.942859,29.839765],[106.944234,29.812949],[106.939913,29.804347],[106.952237,29.792214],[106.945167,29.784178],[106.952532,29.784259],[106.958522,29.769485],[106.96466,29.774518],[106.972222,29.763924]]],[[[107.058395,30.043063],[107.053779,30.043751],[107.054221,30.040837],[107.0554,30.040553],[107.058395,30.043063]]]]},id:16489729,bbox:[106.856195,29.712762,107.46029,30.223805]},{type:\"Feature\",properties:{adcode:500116,code:500116e6,name:\"江津区\",center:[106.253156,29.283387],centroid:[106.263211,29.029608],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:15,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[105.830514,28.944271],[105.844262,28.93093],[105.852708,28.927369],[105.875049,28.933958],[105.888061,28.926837],[105.889338,28.909523],[105.909567,28.900189],[105.915607,28.907476],[105.909764,28.920452],[105.920321,28.930643],[105.934511,28.933876],[105.95808,28.952496],[105.961566,28.960107],[105.971877,28.965957],[105.9761,28.959166],[105.988424,28.964198],[105.985969,28.970131],[105.974627,28.973567],[105.984103,28.979008],[106.001535,28.973608],[106.017443,28.952905],[106.02417,28.949714],[106.036102,28.955729],[106.043811,28.954133],[106.047346,28.943575],[106.04003,28.940465],[106.042338,28.929538],[106.03949,28.918651],[106.042534,28.910587],[106.051913,28.906862],[106.062813,28.918201],[106.070522,28.919797],[106.085645,28.9103],[106.087708,28.904201],[106.10126,28.898961],[106.134354,28.90506],[106.149183,28.901949],[106.162538,28.908908],[106.173684,28.92082],[106.191606,28.908663],[106.206926,28.904528],[106.215371,28.891714],[106.225585,28.890568],[106.228089,28.881764],[106.242181,28.86821],[106.253229,28.865753],[106.255586,28.857398],[106.265062,28.846708],[106.260201,28.833641],[106.246698,28.826472],[106.254358,28.819179],[106.24439,28.814631],[106.252394,28.785823],[106.267665,28.779348],[106.273213,28.739788],[106.287698,28.732366],[106.303509,28.709113],[106.307191,28.687907],[106.30616,28.675763],[106.321087,28.665465],[106.311168,28.660048],[106.304049,28.649872],[106.310776,28.639981],[106.329778,28.63403],[106.324524,28.616749],[106.332184,28.603366],[106.340187,28.59889],[106.34662,28.58378],[106.345196,28.573021],[106.339304,28.566368],[106.344803,28.562014],[106.332037,28.553224],[106.338371,28.546858],[106.34225,28.532603],[106.349811,28.540121],[106.363903,28.526892],[106.374313,28.525618],[106.378487,28.533835],[106.373576,28.537656],[106.389829,28.553266],[106.385704,28.560823],[106.399109,28.571173],[106.412956,28.563123],[106.423218,28.562671],[106.43402,28.556675],[106.439471,28.559427],[106.454054,28.549774],[106.453072,28.544721],[106.466918,28.541846],[106.471632,28.532603],[106.483858,28.530589],[106.493384,28.538313],[106.501191,28.534533],[106.504726,28.54468],[106.488867,28.557496],[106.478899,28.574992],[106.466967,28.586408],[106.473842,28.598973],[106.498785,28.585874],[106.508802,28.564889],[106.524711,28.577826],[106.513319,28.577046],[106.494464,28.599999],[106.494955,28.615148],[106.501093,28.617898],[106.501338,28.628735],[106.506641,28.635343],[106.502762,28.661321],[106.520144,28.6621],[106.529719,28.673137],[106.515774,28.688194],[106.510324,28.715183],[106.499325,28.717398],[106.493826,28.73946],[106.462057,28.76123],[106.454201,28.776068],[106.451648,28.79279],[106.462794,28.797216],[106.46029,28.804961],[106.451402,28.808116],[106.453514,28.816967],[106.46844,28.826472],[106.461861,28.831019],[106.455723,28.836427],[106.446443,28.863337],[106.43623,28.870217],[106.415264,28.876236],[106.411826,28.891182],[106.410992,28.922294],[106.402792,28.940956],[106.408733,28.95401],[106.399846,28.962521],[106.405738,28.979622],[106.397587,28.993693],[106.391842,29.022443],[106.385803,29.029476],[106.398765,29.027023],[106.404314,29.035364],[106.419732,29.047834],[106.427834,29.047588],[106.442515,29.039739],[106.44281,29.050573],[106.463874,29.042069],[106.444135,29.038103],[106.454447,29.0177],[106.475413,29.012179],[106.478113,29.024774],[106.489849,29.042969],[106.484497,29.065738],[106.49034,29.083476],[106.501044,29.0771],[106.498,29.071624],[106.504825,29.063285],[106.514547,29.059852],[106.524956,29.044195],[106.526331,29.036141],[106.544646,29.036386],[106.551815,29.024692],[106.549703,29.00535],[106.557118,29.006004],[106.562666,29.016555],[106.57833,29.022443],[106.585204,29.008294],[106.592471,29.005963],[106.608773,29.014756],[106.59414,29.019131],[106.589525,29.030008],[106.585695,29.053148],[106.589672,29.056663],[106.583436,29.071256],[106.584418,29.079634],[106.578084,29.09312],[106.581177,29.110076],[106.574205,29.116777],[106.574451,29.128215],[106.560997,29.133239],[106.550047,29.145493],[106.549998,29.153498],[106.562372,29.161379],[106.545972,29.183265],[106.541896,29.192369],[106.547788,29.212534],[106.539343,29.213717],[106.535906,29.221962],[106.521225,29.224614],[106.515774,29.232042],[106.519653,29.251791],[106.514056,29.254688],[106.511208,29.268069],[106.505021,29.268966],[106.508655,29.278674],[106.486363,29.294336],[106.473645,29.335722],[106.474431,29.35696],[106.478163,29.36022],[106.460241,29.360872],[106.454496,29.35427],[106.440404,29.350153],[106.435542,29.352965],[106.411876,29.342245],[106.400877,29.340777],[106.395525,29.339351],[106.385999,29.312401],[106.393217,29.294948],[106.384035,29.283039],[106.3559,29.27688],[106.339844,29.26456],[106.311905,29.254769],[106.298697,29.256483],[106.27994,29.286913],[106.289171,29.320679],[106.276945,29.322269],[106.274539,29.32871],[106.261232,29.335519],[106.267468,29.350234],[106.277829,29.352924],[106.275668,29.363236],[106.282248,29.368167],[106.284359,29.38516],[106.294425,29.384549],[106.295554,29.378763],[106.30891,29.379985],[106.314409,29.388827],[106.322314,29.38732],[106.331005,29.39555],[106.329041,29.413679],[106.317257,29.415227],[106.323002,29.420481],[106.320596,29.427976],[106.307339,29.426835],[106.30724,29.434248],[106.298549,29.440764],[106.285636,29.441986],[106.278565,29.449031],[106.262705,29.451596],[106.248613,29.429238],[106.245569,29.40989],[106.223621,29.353984],[106.206042,29.334826],[106.195731,29.327447],[106.17663,29.308446],[106.156106,29.301962],[106.152276,29.293684],[106.136416,29.294826],[106.120065,29.278878],[106.113289,29.284018],[106.110442,29.294907],[106.096104,29.291359],[106.084663,29.300331],[106.086382,29.30706],[106.072928,29.321005],[106.043418,29.32549],[106.038164,29.313339],[106.036789,29.284915],[106.031486,29.261868],[106.033156,29.253953],[106.016363,29.242529],[106.004677,29.215513],[105.996673,29.213595],[105.982287,29.193512],[105.96736,29.177671],[105.965347,29.15603],[105.954299,29.151251],[105.958276,29.147943],[105.942858,29.128338],[105.937899,29.127561],[105.93186,29.115102],[105.918848,29.109464],[105.917473,29.098881],[105.909518,29.093855],[105.913888,29.08086],[105.922285,29.078858],[105.919928,29.056132],[105.897145,29.049632],[105.885459,29.037204],[105.882905,29.029722],[105.864492,29.026001],[105.857323,29.012997],[105.858011,28.98678],[105.851677,28.976185],[105.826782,28.964403],[105.824769,28.953396],[105.830514,28.944271]]]]},id:16489730,bbox:[105.824769,28.525618,106.608773,29.451596]},{type:\"Feature\",properties:{adcode:500117,code:500117e6,name:\"合川区\",center:[106.265554,29.990993],centroid:[106.311538,30.112474],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:16,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.648447,30.085559],[106.656352,30.086165],[106.668382,30.101742],[106.673881,30.12213],[106.67501,30.147165],[106.677613,30.157395],[106.665779,30.158972],[106.662195,30.170171],[106.653995,30.169726],[106.649527,30.176922],[106.639265,30.180156],[106.646973,30.189494],[106.63185,30.186543],[106.633618,30.199679],[106.626989,30.19778],[106.624436,30.211318],[106.632734,30.216208],[106.619133,30.229664],[106.611473,30.228047],[106.609804,30.23532],[106.621686,30.236492],[106.633029,30.24643],[106.642653,30.249863],[106.634845,30.265697],[106.627578,30.265899],[106.623061,30.281609],[106.611669,30.292431],[106.590507,30.294248],[106.586382,30.302969],[106.571603,30.30624],[106.56026,30.315162],[106.547052,30.310358],[106.544842,30.296752],[106.521372,30.300305],[106.509391,30.289363],[106.499865,30.288918],[106.498,30.296025],[106.481845,30.298407],[106.476149,30.306966],[106.472123,30.300022],[106.458964,30.302283],[106.44826,30.299618],[106.4515,30.308137],[106.441042,30.308945],[106.436475,30.303575],[106.444774,30.295702],[106.441877,30.289484],[106.43569,30.295177],[106.428619,30.291543],[106.434708,30.277046],[106.41821,30.278783],[106.407997,30.276117],[106.422138,30.262466],[106.429405,30.261174],[106.427834,30.253782],[106.416786,30.253418],[106.410795,30.24336],[106.401319,30.242673],[106.397391,30.249662],[106.383102,30.254711],[106.390222,30.243683],[106.372545,30.248167],[106.359632,30.241218],[106.34932,30.245258],[106.343968,30.237219],[106.336799,30.237906],[106.335032,30.226391],[106.318681,30.229138],[106.309794,30.2373],[106.300563,30.238552],[106.305816,30.225704],[106.292706,30.220209],[106.296684,30.205135],[106.28431,30.201983],[106.278467,30.195718],[106.279793,30.207924],[106.26192,30.213784],[106.27174,30.204004],[106.264424,30.193536],[106.254358,30.198426],[106.245913,30.196527],[106.249742,30.189736],[106.241788,30.177731],[106.240315,30.18533],[106.232704,30.186139],[106.240315,30.200164],[106.232213,30.212531],[106.212524,30.203115],[106.204471,30.205701],[106.201819,30.213137],[106.192539,30.2154],[106.201083,30.228411],[106.180362,30.232855],[106.178251,30.248611],[106.170542,30.250591],[106.178447,30.256892],[106.179822,30.278661],[106.169069,30.3041],[106.156499,30.313668],[106.149428,30.309469],[106.137153,30.315686],[106.132685,30.323679],[106.124092,30.324769],[106.124828,30.317907],[106.134403,30.308622],[106.131801,30.301799],[106.122324,30.306805],[106.122864,30.313708],[106.114812,30.317341],[106.106072,30.310761],[106.098019,30.323558],[106.088346,30.323154],[106.091047,30.336837],[106.088591,30.345958],[106.079311,30.344344],[106.073517,30.334133],[106.070768,30.341196],[106.061046,30.342003],[106.033745,30.361817],[106.030897,30.374244],[106.01381,30.372347],[106.002222,30.376906],[105.992009,30.36916],[105.97826,30.373477],[105.989063,30.352697],[105.980372,30.342084],[105.981305,30.325051],[105.988277,30.320006],[105.975216,30.30632],[105.967507,30.308379],[105.974872,30.289322],[105.983367,30.289766],[105.98101,30.280156],[105.992107,30.277369],[105.998588,30.280681],[106.009489,30.275754],[106.013466,30.268282],[106.006248,30.260002],[105.995397,30.256892],[105.985724,30.248692],[105.981059,30.233583],[105.995102,30.231845],[106.004039,30.224775],[106.006052,30.213622],[106.019948,30.201417],[106.00669,30.187958],[105.991174,30.177246],[105.973743,30.188079],[105.974381,30.175224],[105.987639,30.164026],[105.976247,30.153109],[105.978801,30.143606],[105.998343,30.129289],[105.994513,30.120108],[105.999472,30.113757],[105.985184,30.101742],[105.989357,30.093125],[105.980814,30.083131],[105.98592,30.070262],[105.981207,30.061359],[105.981501,30.052414],[105.991076,30.033671],[105.998785,30.026627],[106.020439,30.028084],[106.047788,30.01363],[106.046511,30.007474],[106.027362,30.001522],[106.028,29.991883],[106.036495,29.997674],[106.049163,29.997026],[106.075727,30.001643],[106.098215,30.002331],[106.123061,29.998687],[106.118052,29.986982],[106.123306,29.980056],[106.119378,29.966607],[106.112946,29.960813],[106.1127,29.9519],[106.124141,29.936461],[106.134845,29.938771],[106.129198,29.929491],[106.130426,29.921993],[106.146924,29.92787],[106.160574,29.919359],[106.164944,29.921507],[106.165877,29.922399],[106.197744,29.931153],[106.200346,29.936826],[106.208645,29.929126],[106.219005,29.929451],[106.221018,29.920413],[106.239873,29.919116],[106.2384,29.912549],[106.242377,29.910239],[106.244341,29.908253],[106.244783,29.908374],[106.245127,29.908253],[106.245078,29.907685],[106.258139,29.89747],[106.266977,29.895686],[106.27012,29.887334],[106.281658,29.894673],[106.276699,29.873021],[106.265995,29.873913],[106.271593,29.86779],[106.263393,29.852258],[106.26791,29.84443],[106.314409,29.884861],[106.339598,29.901767],[106.383053,29.92787],[106.390909,29.921304],[106.390958,29.906672],[106.396507,29.898118],[106.409077,29.889443],[106.423611,29.884334],[106.429601,29.892362],[106.423414,29.904564],[106.433235,29.901889],[106.443841,29.906834],[106.455281,29.926776],[106.46191,29.92402],[106.44281,29.883564],[106.452777,29.878212],[106.458522,29.887456],[106.462892,29.88478],[106.452581,29.869128],[106.465347,29.870832],[106.466967,29.882996],[106.477131,29.891875],[106.479046,29.908172],[106.488916,29.908415],[106.501338,29.922115],[106.505659,29.931234],[106.519506,29.927546],[106.526773,29.945822],[106.544941,29.935246],[106.55697,29.961259],[106.568706,29.991154],[106.572192,30.012698],[106.582209,30.022214],[106.596546,30.030432],[106.598265,30.039582],[106.591587,30.047071],[106.629101,30.079448],[106.648447,30.085559]]],[[[106.244783,29.908374],[106.244341,29.908253],[106.245078,29.907685],[106.245127,29.908253],[106.244783,29.908374]]]]},id:16489731,bbox:[105.967507,29.84443,106.677613,30.376906]},{type:\"Feature\",properties:{adcode:500118,code:500118e6,name:\"永川区\",center:[105.894714,29.348748],centroid:[105.872859,29.290183],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:17,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[105.66514,29.276594],[105.678054,29.273494],[105.689838,29.29193],[105.70506,29.29923],[105.715911,29.29087],[105.69519,29.287362],[105.693963,29.267579],[105.70889,29.238],[105.705845,29.223757],[105.711983,29.218901],[105.70452,29.202411],[105.705796,29.174732],[105.719594,29.172159],[105.729463,29.152558],[105.728825,29.134424],[105.733195,29.130993],[105.742868,29.137569],[105.752099,29.129767],[105.735208,29.122414],[105.729267,29.107748],[105.729905,29.098759],[105.740855,29.088625],[105.745028,29.075465],[105.757795,29.069008],[105.741788,29.039494],[105.747631,29.037899],[105.754063,29.02412],[105.76624,29.013365],[105.76187,28.992998],[105.779105,28.979949],[105.788778,28.977617],[105.801348,28.958184],[105.80886,28.956547],[105.803852,28.947586],[105.796339,28.949632],[105.792706,28.943453],[105.797567,28.935923],[105.810579,28.940874],[105.830514,28.944271],[105.824769,28.953396],[105.826782,28.964403],[105.851677,28.976185],[105.858011,28.98678],[105.857323,29.012997],[105.864492,29.026001],[105.882905,29.029722],[105.885459,29.037204],[105.897145,29.049632],[105.919928,29.056132],[105.922285,29.078858],[105.913888,29.08086],[105.909518,29.093855],[105.917473,29.098881],[105.918848,29.109464],[105.93186,29.115102],[105.937899,29.127561],[105.942858,29.128338],[105.958276,29.147943],[105.954299,29.151251],[105.965347,29.15603],[105.96736,29.177671],[105.982287,29.193512],[105.996673,29.213595],[106.004677,29.215513],[106.016363,29.242529],[106.033156,29.253953],[106.031486,29.261868],[106.036789,29.284915],[106.038164,29.313339],[106.043418,29.32549],[106.049998,29.341878],[106.048377,29.353251],[106.065612,29.375788],[106.067822,29.390946],[106.062666,29.396161],[106.063648,29.418974],[106.073272,29.448868],[106.071799,29.461491],[106.076218,29.470366],[106.078035,29.491168],[106.076709,29.505536],[106.085989,29.530562],[106.089132,29.546388],[106.078526,29.545209],[106.071553,29.536014],[106.038803,29.529179],[106.018769,29.527388],[106.010127,29.520512],[105.995446,29.525801],[105.995446,29.541303],[105.988523,29.542483],[105.981992,29.533369],[105.975363,29.54228],[105.967802,29.53695],[105.956116,29.540734],[105.951156,29.548463],[105.935984,29.549968],[105.938341,29.543744],[105.921303,29.537438],[105.910746,29.539065],[105.903626,29.552531],[105.906572,29.562741],[105.890467,29.570429],[105.873969,29.552572],[105.876817,29.541791],[105.868617,29.537316],[105.855016,29.540042],[105.834933,29.527917],[105.825899,29.51396],[105.817895,29.490395],[105.802674,29.437139],[105.770561,29.408302],[105.773507,29.394857],[105.767762,29.379578],[105.747582,29.372487],[105.735159,29.38459],[105.728678,29.384875],[105.716893,29.372813],[105.709086,29.375625],[105.709283,29.368616],[105.696172,29.364622],[105.691655,29.357652],[105.675501,29.355574],[105.663078,29.346647],[105.653209,29.349052],[105.649575,29.340247],[105.653405,29.33397],[105.645352,29.319252],[105.635974,29.320638],[105.637251,29.298251],[105.645794,29.286506],[105.655664,29.284426],[105.66514,29.276594]]]]},id:16489732,bbox:[105.635974,28.935923,106.089132,29.570429]},{type:\"Feature\",properties:{adcode:500119,code:500119e6,name:\"南川区\",center:[107.098153,29.156646],centroid:[107.171436,29.13547],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:18,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[107.057462,28.894785],[107.066546,28.895358],[107.07234,28.879308],[107.063354,28.877055],[107.059819,28.868456],[107.072683,28.866613],[107.08707,28.872264],[107.096694,28.890076],[107.141965,28.887742],[107.146827,28.876236],[107.155861,28.882993],[107.166565,28.880659],[107.178644,28.883361],[107.184095,28.879922],[107.193571,28.888766],[107.198432,28.878407],[107.194013,28.876605],[107.206534,28.868005],[107.19691,28.847405],[107.195142,28.838065],[107.226371,28.836795],[107.216354,28.828151],[107.210609,28.814795],[107.213408,28.795003],[107.21876,28.788733],[107.219202,28.772707],[107.24665,28.761845],[107.253573,28.766805],[107.252395,28.780577],[107.261429,28.792708],[107.277142,28.799183],[107.304639,28.806764],[107.325409,28.809591],[107.345147,28.829585],[107.331988,28.841178],[107.359878,28.849985],[107.367243,28.844988],[107.383447,28.848551],[107.395378,28.86088],[107.391941,28.868497],[107.406131,28.89155],[107.415657,28.88979],[107.41443,28.913248],[107.422875,28.928269],[107.433579,28.933754],[107.441043,28.94378],[107.438784,28.955278],[107.421549,28.954542],[107.412957,28.960148],[107.405542,28.972258],[107.404413,28.981872],[107.396949,28.993325],[107.370435,28.993897],[107.364542,29.010543],[107.378536,29.021912],[107.381041,29.029926],[107.395182,29.039657],[107.390714,29.059075],[107.379862,29.05744],[107.369747,29.091608],[107.374412,29.097574],[107.392285,29.091281],[107.412957,29.095735],[107.427589,29.127357],[107.4215,29.135813],[107.408439,29.138345],[107.408095,29.150271],[107.412318,29.161379],[107.401516,29.175957],[107.401565,29.184694],[107.395378,29.205881],[107.401909,29.218248],[107.399355,29.235714],[107.401025,29.248853],[107.416541,29.264234],[107.421942,29.274636],[107.404069,29.28259],[107.388553,29.281081],[107.391597,29.289279],[107.379764,29.299516],[107.373332,29.298578],[107.38271,29.308609],[107.392039,29.326754],[107.367047,29.341756],[107.350156,29.346892],[107.347308,29.342571],[107.323395,29.339147],[107.318387,29.347789],[107.309893,29.345098],[107.298599,29.352069],[107.293444,29.349704],[107.272428,29.358386],[107.272428,29.37371],[107.263393,29.383571],[107.256176,29.38463],[107.241691,29.379415],[107.239285,29.364744],[107.225487,29.367801],[107.20732,29.366293],[107.207221,29.385934],[107.214439,29.39775],[107.199561,29.399135],[107.203244,29.411316],[107.185911,29.412945],[107.173096,29.408342],[107.167056,29.420603],[107.16082,29.424432],[107.155272,29.417304],[107.148741,29.419259],[107.134846,29.411438],[107.142947,29.408179],[107.146827,29.396365],[107.134158,29.394613],[107.125124,29.387564],[107.110442,29.391598],[107.109166,29.383856],[107.114812,29.366741],[107.10018,29.361606],[107.083387,29.359813],[107.07229,29.362829],[107.043321,29.378437],[107.052552,29.388705],[107.051619,29.394205],[107.035121,29.391231],[107.026381,29.402802],[107.034581,29.406713],[107.029228,29.410827],[107.025055,29.441782],[107.034482,29.453103],[107.034581,29.467435],[107.015873,29.473338],[107.019997,29.487057],[107.012927,29.487708],[107.00453,29.471058],[106.993925,29.482579],[106.98052,29.488767],[106.964415,29.488685],[106.945952,29.497029],[106.935297,29.464463],[106.933039,29.448542],[106.936574,29.439339],[106.932253,29.399746],[106.922531,29.403046],[106.919978,29.329893],[106.922433,29.310322],[106.920616,29.302411],[106.92312,29.280673],[106.933039,29.279653],[106.936132,29.256931],[106.954692,29.252199],[106.95754,29.228981],[106.968392,29.215228],[106.961812,29.202738],[106.95263,29.197104],[106.955527,29.190695],[106.945069,29.183142],[106.919045,29.180366],[106.911385,29.197472],[106.895574,29.190491],[106.896409,29.180039],[106.907751,29.179672],[106.909175,29.160562],[106.899355,29.155621],[106.891744,29.14149],[106.891695,29.131769],[106.905542,29.11596],[106.911483,29.114775],[106.921844,29.100475],[106.910256,29.068844],[106.906131,29.051758],[106.915362,29.054538],[106.920567,29.045749],[106.926361,29.047793],[106.938685,29.041906],[106.950421,29.071787],[106.954545,29.059239],[106.96358,29.058217],[106.975266,29.050532],[106.977034,29.056009],[106.988671,29.043459],[106.981158,29.039861],[106.979832,29.031766],[106.990045,29.021094],[107.003892,29.016023],[107.01715,28.998724],[107.024564,28.995983],[107.02967,28.985717],[107.022256,28.974058],[107.013614,28.969599],[107.015971,28.952087],[107.02913,28.941284],[107.043124,28.945785],[107.051275,28.942143],[107.057315,28.932771],[107.053288,28.919183],[107.04337,28.919879],[107.057462,28.894785]]]]},id:16489733,bbox:[106.891695,28.761845,107.441043,29.497029]},{type:\"Feature\",properties:{adcode:500120,code:50012e7,name:\"璧山区\",center:[106.231126,29.593581],centroid:[106.191948,29.561371],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:19,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.253425,29.532841],[106.251707,29.559406],[106.260005,29.592633],[106.265602,29.605889],[106.274882,29.612231],[106.282493,29.626744],[106.273017,29.631215],[106.279105,29.637841],[106.287649,29.635849],[106.2794,29.652553],[106.287698,29.663484],[106.284506,29.675268],[106.278712,29.67669],[106.280431,29.703298],[106.285636,29.697896],[106.297076,29.706467],[106.305669,29.736641],[106.31598,29.764898],[106.324279,29.774843],[106.334197,29.771311],[106.344214,29.779307],[106.372889,29.814207],[106.351284,29.812422],[106.34225,29.816804],[106.345883,29.836114],[106.337585,29.834532],[106.342446,29.842523],[106.330956,29.848323],[106.336407,29.860247],[106.329385,29.859639],[106.325653,29.872737],[106.314409,29.884861],[106.26791,29.84443],[106.233048,29.805686],[106.211689,29.791564],[106.194552,29.785395],[106.180559,29.771555],[106.160771,29.759702],[106.169069,29.752557],[106.163422,29.721088],[106.156155,29.70935],[106.169314,29.689893],[106.163226,29.681321],[106.165828,29.675755],[106.156695,29.667304],[106.144813,29.662956],[106.122717,29.638816],[106.113928,29.615687],[106.117561,29.610076],[106.112307,29.601457],[106.104844,29.576041],[106.096251,29.559691],[106.087217,29.552287],[106.089132,29.546388],[106.085989,29.530562],[106.076709,29.505536],[106.078035,29.491168],[106.076218,29.470366],[106.071799,29.461491],[106.073272,29.448868],[106.063648,29.418974],[106.062666,29.396161],[106.067822,29.390946],[106.065612,29.375788],[106.048377,29.353251],[106.049998,29.341878],[106.043418,29.32549],[106.072928,29.321005],[106.086382,29.30706],[106.084663,29.300331],[106.096104,29.291359],[106.110442,29.294907],[106.113289,29.284018],[106.120065,29.278878],[106.136416,29.294826],[106.152276,29.293684],[106.156106,29.301962],[106.17663,29.308446],[106.195731,29.327447],[106.206042,29.334826],[106.223621,29.353984],[106.245569,29.40989],[106.248613,29.429238],[106.262705,29.451596],[106.26025,29.466051],[106.267026,29.494994],[106.260594,29.494262],[106.261969,29.516524],[106.253278,29.519698],[106.253425,29.532841]]]]},id:16489734,bbox:[106.043418,29.278878,106.372889,29.884861]},{type:\"Feature\",properties:{adcode:500151,code:500151e6,name:\"铜梁区\",center:[106.054948,29.839944],centroid:[106.0332,29.81109],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:20,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[105.981207,30.061359],[105.973105,30.072771],[105.95862,30.076778],[105.959209,30.071234],[105.949438,30.060832],[105.939274,30.063342],[105.943006,30.074511],[105.934511,30.080703],[105.933333,30.088027],[105.917571,30.093934],[105.907554,30.091951],[105.897783,30.079003],[105.904608,30.073662],[105.895475,30.065123],[105.901711,30.057392],[105.900336,30.045775],[105.891498,30.044156],[105.883691,30.049256],[105.872103,30.045411],[105.869648,30.032983],[105.875491,30.027356],[105.866702,30.009864],[105.870335,30.00549],[105.886784,30.006462],[105.904019,29.995649],[105.915656,29.993179],[105.907849,29.98038],[105.91104,29.961624],[105.924347,29.963123],[105.925034,29.956478],[105.934953,29.954493],[105.941385,29.935691],[105.931712,29.927546],[105.95042,29.908172],[105.945657,29.893051],[105.933185,29.88778],[105.926606,29.877928],[105.930681,29.872373],[105.923169,29.865763],[105.910058,29.868561],[105.90888,29.879955],[105.88266,29.890659],[105.875638,29.897551],[105.870434,29.89078],[105.860319,29.896902],[105.846177,29.895402],[105.837241,29.878293],[105.824769,29.881861],[105.818926,29.855583],[105.809253,29.844714],[105.807387,29.833031],[105.790987,29.827879],[105.778368,29.811367],[105.789269,29.794121],[105.808418,29.783569],[105.806945,29.771636],[105.820939,29.773381],[105.822461,29.762827],[105.83076,29.757997],[105.868911,29.756982],[105.878584,29.769525],[105.888012,29.77468],[105.893904,29.785882],[105.888208,29.790347],[105.893806,29.802967],[105.906523,29.795582],[105.904706,29.785598],[105.922334,29.788236],[105.944233,29.775979],[105.957638,29.781662],[105.970601,29.779876],[105.976542,29.784746],[105.991223,29.781174],[105.998588,29.768916],[105.997508,29.756819],[106.001289,29.748375],[106.010913,29.747279],[106.014448,29.752841],[106.028344,29.749552],[106.025987,29.734854],[106.036838,29.726692],[106.031732,29.722184],[106.005659,29.682581],[105.997361,29.6645],[105.982532,29.671936],[105.969815,29.646294],[105.953513,29.630199],[105.946099,29.626988],[105.938243,29.613166],[105.924347,29.595805],[105.890467,29.570429],[105.906572,29.562741],[105.903626,29.552531],[105.910746,29.539065],[105.921303,29.537438],[105.938341,29.543744],[105.935984,29.549968],[105.951156,29.548463],[105.956116,29.540734],[105.967802,29.53695],[105.975363,29.54228],[105.981992,29.533369],[105.988523,29.542483],[105.995446,29.541303],[105.995446,29.525801],[106.010127,29.520512],[106.018769,29.527388],[106.038803,29.529179],[106.071553,29.536014],[106.078526,29.545209],[106.089132,29.546388],[106.087217,29.552287],[106.096251,29.559691],[106.104844,29.576041],[106.112307,29.601457],[106.117561,29.610076],[106.113928,29.615687],[106.122717,29.638816],[106.144813,29.662956],[106.156695,29.667304],[106.165828,29.675755],[106.163226,29.681321],[106.169314,29.689893],[106.156155,29.70935],[106.163422,29.721088],[106.169069,29.752557],[106.160771,29.759702],[106.180559,29.771555],[106.194552,29.785395],[106.211689,29.791564],[106.233048,29.805686],[106.26791,29.84443],[106.263393,29.852258],[106.271593,29.86779],[106.265995,29.873913],[106.276699,29.873021],[106.281658,29.894673],[106.27012,29.887334],[106.266977,29.895686],[106.258139,29.89747],[106.245078,29.907685],[106.244341,29.908253],[106.242377,29.910239],[106.24115,29.90955],[106.240757,29.909428],[106.240119,29.909347],[106.239971,29.909631],[106.240119,29.910928],[106.239873,29.91109],[106.239529,29.911131],[106.23894,29.911212],[106.2384,29.91182],[106.238302,29.912144],[106.2384,29.912549],[106.239873,29.919116],[106.221018,29.920413],[106.219005,29.929451],[106.208645,29.929126],[106.200346,29.936826],[106.197744,29.931153],[106.165877,29.922399],[106.166123,29.921142],[106.166074,29.920777],[106.165926,29.920696],[106.165533,29.92094],[106.165435,29.921102],[106.165141,29.921426],[106.164944,29.921507],[106.160574,29.919359],[106.146924,29.92787],[106.130426,29.921993],[106.129198,29.929491],[106.134845,29.938771],[106.124141,29.936461],[106.1127,29.9519],[106.112946,29.960813],[106.119378,29.966607],[106.123306,29.980056],[106.118052,29.986982],[106.123061,29.998687],[106.098215,30.002331],[106.075727,30.001643],[106.049163,29.997026],[106.036495,29.997674],[106.028,29.991883],[106.027362,30.001522],[106.046511,30.007474],[106.047788,30.01363],[106.020439,30.028084],[105.998785,30.026627],[105.991076,30.033671],[105.981501,30.052414],[105.981207,30.061359]]],[[[106.2384,29.912549],[106.238302,29.912144],[106.2384,29.91182],[106.23894,29.911212],[106.239529,29.911131],[106.239873,29.91109],[106.240119,29.910928],[106.239971,29.909631],[106.240119,29.909347],[106.240757,29.909428],[106.24115,29.90955],[106.242377,29.910239],[106.2384,29.912549]]],[[[106.165877,29.922399],[106.164944,29.921507],[106.165141,29.921426],[106.165435,29.921102],[106.165533,29.92094],[106.165926,29.920696],[106.166074,29.920777],[106.166123,29.921142],[106.165877,29.922399]]]]},id:16489735,bbox:[105.778368,29.520512,106.281658,30.093934]},{type:\"Feature\",properties:{adcode:500152,code:500152e6,name:\"潼南区\",center:[105.841818,30.189554],centroid:[105.814632,30.143351],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:21,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[105.733146,29.860693],[105.738105,29.856516],[105.738252,29.845646],[105.725339,29.832747],[105.735846,29.819319],[105.72308,29.809825],[105.714684,29.79684],[105.713898,29.789129],[105.721411,29.78779],[105.746354,29.801466],[105.763883,29.793512],[105.77719,29.801831],[105.778368,29.811367],[105.790987,29.827879],[105.807387,29.833031],[105.809253,29.844714],[105.818926,29.855583],[105.824769,29.881861],[105.837241,29.878293],[105.846177,29.895402],[105.860319,29.896902],[105.870434,29.89078],[105.875638,29.897551],[105.88266,29.890659],[105.90888,29.879955],[105.910058,29.868561],[105.923169,29.865763],[105.930681,29.872373],[105.926606,29.877928],[105.933185,29.88778],[105.945657,29.893051],[105.95042,29.908172],[105.931712,29.927546],[105.941385,29.935691],[105.934953,29.954493],[105.925034,29.956478],[105.924347,29.963123],[105.91104,29.961624],[105.907849,29.98038],[105.915656,29.993179],[105.904019,29.995649],[105.886784,30.006462],[105.870335,30.00549],[105.866702,30.009864],[105.875491,30.027356],[105.869648,30.032983],[105.872103,30.045411],[105.883691,30.049256],[105.891498,30.044156],[105.900336,30.045775],[105.901711,30.057392],[105.895475,30.065123],[105.904608,30.073662],[105.897783,30.079003],[105.907554,30.091951],[105.917571,30.093934],[105.933333,30.088027],[105.934511,30.080703],[105.943006,30.074511],[105.939274,30.063342],[105.949438,30.060832],[105.959209,30.071234],[105.95862,30.076778],[105.973105,30.072771],[105.981207,30.061359],[105.98592,30.070262],[105.980814,30.083131],[105.989357,30.093125],[105.985184,30.101742],[105.999472,30.113757],[105.994513,30.120108],[105.998343,30.129289],[105.978801,30.143606],[105.976247,30.153109],[105.987639,30.164026],[105.974381,30.175224],[105.973743,30.188079],[105.991174,30.177246],[106.00669,30.187958],[106.019948,30.201417],[106.006052,30.213622],[106.004039,30.224775],[105.995102,30.231845],[105.981059,30.233583],[105.985724,30.248692],[105.995397,30.256892],[106.006248,30.260002],[106.013466,30.268282],[106.009489,30.275754],[105.998588,30.280681],[105.992107,30.277369],[105.98101,30.280156],[105.983367,30.289766],[105.974872,30.289322],[105.967507,30.308379],[105.975216,30.30632],[105.988277,30.320006],[105.981305,30.325051],[105.980372,30.342084],[105.989063,30.352697],[105.97826,30.373477],[105.970257,30.378883],[105.940894,30.372267],[105.939568,30.380537],[105.925575,30.385338],[105.917031,30.395987],[105.901515,30.386346],[105.899011,30.396027],[105.905983,30.397036],[105.905296,30.406433],[105.876522,30.399536],[105.886784,30.392639],[105.877602,30.386669],[105.869108,30.401513],[105.873772,30.408692],[105.862332,30.406353],[105.846227,30.392437],[105.839107,30.399698],[105.846128,30.411152],[105.836946,30.41583],[105.831103,30.429016],[105.820154,30.437524],[105.802183,30.427927],[105.792313,30.427282],[105.795456,30.418491],[105.782787,30.403086],[105.770708,30.404054],[105.760299,30.384571],[105.770021,30.37618],[105.751854,30.357136],[105.756224,30.347088],[105.74984,30.339703],[105.735012,30.336676],[105.741493,30.319158],[105.729905,30.316897],[105.714831,30.322791],[105.711738,30.315848],[105.718612,30.307733],[105.711001,30.294208],[105.711787,30.282255],[105.722982,30.275552],[105.734963,30.277046],[105.730102,30.265818],[105.735159,30.261537],[105.720969,30.263193],[105.723866,30.254751],[105.701475,30.257862],[105.67334,30.252772],[105.667203,30.265697],[105.660672,30.264324],[105.645745,30.273371],[105.622668,30.273856],[105.620163,30.261779],[105.610589,30.255882],[105.62036,30.248934],[105.618739,30.23536],[105.636269,30.219724],[105.655418,30.220815],[105.662342,30.210066],[105.645549,30.206873],[105.642406,30.186422],[105.632832,30.183754],[105.618052,30.185694],[105.607888,30.178297],[105.595122,30.183673],[105.5799,30.173446],[105.567036,30.183188],[105.546904,30.180722],[105.536445,30.164834],[105.536151,30.152907],[105.549605,30.151734],[105.556086,30.144779],[105.558197,30.151977],[105.571406,30.161559],[105.582159,30.162974],[105.59684,30.157112],[105.593207,30.144738],[105.569982,30.134304],[105.574155,30.130422],[105.580244,30.129694],[105.582699,30.12755],[105.583141,30.12395],[105.598068,30.109227],[105.606759,30.109712],[105.619721,30.104129],[105.640835,30.101338],[105.637496,30.093691],[105.639264,30.076413],[105.649231,30.074592],[105.660476,30.066296],[105.674617,30.071274],[105.676728,30.056057],[105.683455,30.052859],[105.68699,30.038975],[105.699413,30.043144],[105.705354,30.035776],[105.721312,30.042051],[105.728039,30.027194],[105.742033,30.03359],[105.743359,30.027113],[105.75367,30.01861],[105.74876,30.005895],[105.732508,29.998768],[105.723326,29.976005],[105.731034,29.95664],[105.721116,29.950563],[105.714978,29.930747],[105.702507,29.923939],[105.715027,29.911171],[105.711639,29.899497],[105.717433,29.893578],[105.73403,29.893578],[105.735257,29.871967],[105.733146,29.860693]]],[[[105.583141,30.12395],[105.582699,30.12755],[105.580244,30.129694],[105.574155,30.130422],[105.583141,30.12395]]]]},id:16489736,bbox:[105.536151,29.78779,106.019948,30.437524]},{type:\"Feature\",properties:{adcode:500153,code:500153e6,name:\"荣昌区\",center:[105.594061,29.403627],centroid:[105.506727,29.464817],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:22,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[105.66514,29.276594],[105.655664,29.284426],[105.645794,29.286506],[105.637251,29.298251],[105.635974,29.320638],[105.645352,29.319252],[105.653405,29.33397],[105.649575,29.340247],[105.653209,29.349052],[105.663078,29.346647],[105.675501,29.355574],[105.691655,29.357652],[105.696172,29.364622],[105.709283,29.368616],[105.709086,29.375625],[105.716893,29.372813],[105.728678,29.384875],[105.741002,29.397628],[105.722835,29.397872],[105.73403,29.417386],[105.727646,29.422844],[105.737663,29.435592],[105.735061,29.445162],[105.724013,29.449967],[105.725486,29.454121],[105.714929,29.464259],[105.687236,29.446506],[105.662194,29.460025],[105.657431,29.468168],[105.658119,29.481317],[105.65311,29.485022],[105.662636,29.499431],[105.648397,29.494139],[105.641179,29.505861],[105.639509,29.489052],[105.646236,29.486121],[105.637152,29.473623],[105.629738,29.478386],[105.631506,29.485917],[105.620556,29.494017],[105.619967,29.504803],[105.607642,29.508262],[105.595711,29.504152],[105.593059,29.517744],[105.583239,29.515588],[105.590015,29.524011],[105.59522,29.539432],[105.592175,29.549928],[105.599983,29.553019],[105.602241,29.569941],[105.594483,29.575553],[105.590899,29.590397],[105.580047,29.591617],[105.561045,29.588892],[105.549703,29.572096],[105.542534,29.57413],[105.542681,29.586412],[105.536642,29.59121],[105.517738,29.586493],[105.50561,29.609344],[105.509243,29.637962],[105.496673,29.648652],[105.487688,29.663159],[105.490683,29.675186],[105.482777,29.679127],[105.475658,29.674699],[105.436377,29.676974],[105.420615,29.688309],[105.400532,29.67157],[105.389681,29.676487],[105.383887,29.669823],[105.393167,29.650724],[105.377553,29.643287],[105.380794,29.628248],[105.369648,29.621053],[105.365965,29.627516],[105.354377,29.626703],[105.346766,29.620199],[105.341611,29.60292],[105.335522,29.595195],[105.325653,29.595927],[105.329826,29.604384],[105.320988,29.60971],[105.320644,29.601782],[105.311315,29.593365],[105.317649,29.578156],[105.298647,29.572503],[105.289759,29.552613],[105.294326,29.53398],[105.304686,29.531254],[105.318877,29.512413],[105.323247,29.495157],[105.321234,29.475984],[105.331299,29.47175],[105.338026,29.461857],[105.336111,29.455546],[105.324622,29.450008],[105.334147,29.441416],[105.345588,29.448501],[105.360417,29.444225],[105.362037,29.454691],[105.373821,29.458274],[105.389534,29.452818],[105.399207,29.438972],[105.387471,29.438361],[105.388797,29.431886],[105.371759,29.423862],[105.373281,29.420766],[105.39631,29.422884],[105.413544,29.418567],[105.417031,29.423373],[105.427293,29.418852],[105.431466,29.408179],[105.443103,29.399094],[105.443693,29.386382],[105.432203,29.379659],[105.438586,29.370816],[105.434805,29.363114],[105.418602,29.352313],[105.422972,29.326509],[105.420075,29.316968],[105.436573,29.319496],[105.44929,29.317498],[105.454691,29.329077],[105.466476,29.321576],[105.466083,29.313421],[105.474283,29.309996],[105.466427,29.305592],[105.465395,29.292379],[105.459307,29.290136],[105.488866,29.278185],[105.509145,29.285404],[105.50939,29.274677],[105.518425,29.264438],[105.537869,29.272882],[105.55584,29.273576],[105.558295,29.27847],[105.583288,29.270353],[105.596005,29.274473],[105.609508,29.27276],[105.607986,29.255748],[105.614173,29.258359],[105.619771,29.27174],[105.6318,29.280388],[105.644076,29.270965],[105.63946,29.261582],[105.647611,29.25326],[105.666515,29.252933],[105.671622,29.260889],[105.664698,29.269048],[105.66514,29.276594]]]]},id:16489737,bbox:[105.289759,29.252933,105.741002,29.688309]},{type:\"Feature\",properties:{adcode:500154,code:500154e6,name:\"开州区\",center:[108.413317,31.167735],centroid:[108.382659,31.271013],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:23,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[108.542831,31.673626],[108.546464,31.666701],[108.532814,31.669129],[108.519066,31.665706],[108.513272,31.656193],[108.506692,31.657307],[108.494564,31.649545],[108.486168,31.639871],[108.468786,31.636169],[108.46525,31.61837],[108.456461,31.628882],[108.442664,31.6337],[108.423072,31.621277],[108.417916,31.610087],[108.402646,31.603874],[108.388357,31.586906],[108.393611,31.576349],[108.377948,31.570413],[108.391795,31.560452],[108.388652,31.546385],[108.381139,31.542599],[108.347603,31.545189],[108.33906,31.537896],[108.346572,31.525141],[108.345345,31.514936],[108.323298,31.502378],[108.311415,31.506684],[108.295998,31.503494],[108.281709,31.507282],[108.276995,31.501181],[108.259564,31.502497],[108.254801,31.498829],[108.236683,31.506365],[108.226764,31.505846],[108.218417,31.496197],[108.190478,31.491492],[108.193326,31.468202],[108.206829,31.464293],[108.210806,31.467883],[108.223131,31.46517],[108.225586,31.453004],[108.210561,31.435769],[108.216551,31.427031],[108.216306,31.411188],[108.203392,31.395382],[108.182868,31.393027],[108.175257,31.382608],[108.157826,31.376659],[108.154143,31.37075],[108.158906,31.360289],[108.171182,31.356975],[108.180609,31.349227],[108.185519,31.338005],[108.180462,31.325782],[108.162834,31.31971],[108.16141,31.313757],[108.146533,31.30277],[108.111916,31.286586],[108.094485,31.275036],[108.092374,31.265764],[108.080589,31.261446],[108.066399,31.261766],[108.059967,31.254971],[108.040866,31.253611],[108.021422,31.245736],[108.031635,31.23682],[108.027903,31.221984],[108.040081,31.218625],[108.076268,31.231822],[108.071113,31.218345],[108.080737,31.218945],[108.089919,31.201867],[108.085696,31.188107],[108.070278,31.177785],[108.069443,31.169383],[108.055253,31.156658],[108.056628,31.145652],[108.045629,31.145893],[108.0363,31.139929],[108.035318,31.128962],[108.025743,31.116351],[108.014744,31.115271],[108.009294,31.108785],[108.01386,31.098735],[108.024712,31.089244],[108.028984,31.061728],[108.050245,31.059966],[108.059869,31.053196],[108.053289,31.040736],[108.043321,31.035407],[108.033599,31.036128],[108.011062,31.023666],[108.003795,31.025389],[107.995889,31.004308],[107.983123,30.984225],[107.971535,30.982421],[107.943547,30.989437],[107.937409,30.968669],[107.936329,30.952749],[107.938735,30.940035],[107.948261,30.919056],[107.957345,30.919858],[107.971535,30.911794],[107.982435,30.913239],[107.994711,30.908665],[108.000849,30.911915],[108.009392,30.907662],[108.029426,30.884508],[108.0363,30.8701],[108.041112,30.876522],[108.069149,30.888281],[108.071751,30.892695],[108.081817,30.885712],[108.101654,30.878007],[108.090115,30.871545],[108.096646,30.84782],[108.105287,30.841356],[108.109608,30.82931],[108.122866,30.833487],[108.126057,30.840875],[108.131704,30.832001],[108.152179,30.831278],[108.157482,30.834771],[108.167106,30.827182],[108.18218,30.824211],[108.197254,30.833647],[108.200102,30.839188],[108.218417,30.852839],[108.229956,30.856171],[108.225488,30.860908],[108.231184,30.87612],[108.228237,30.881298],[108.244294,30.89113],[108.243803,30.882261],[108.260055,30.872789],[108.268402,30.881659],[108.29202,30.892976],[108.300269,30.901041],[108.346277,30.921222],[108.360861,30.932976],[108.349027,30.939153],[108.339649,30.963135],[108.355214,30.960408],[108.372792,30.969791],[108.395674,30.991641],[108.41497,30.998897],[108.418015,31.006072],[108.432156,31.012725],[108.451256,31.013527],[108.474334,31.022544],[108.48003,31.037811],[108.476691,31.052795],[108.486217,31.057322],[108.488181,31.064733],[108.511995,31.074145],[108.510964,31.07791],[108.53031,31.083838],[108.539934,31.082957],[108.537921,31.095491],[108.558887,31.089404],[108.547544,31.105261],[108.562619,31.115791],[108.562717,31.130443],[108.567823,31.140529],[108.576956,31.142851],[108.601851,31.160099],[108.598414,31.170943],[108.583585,31.174864],[108.578036,31.180065],[108.587759,31.185066],[108.588741,31.201587],[108.596646,31.230622],[108.618643,31.252212],[108.622768,31.259488],[108.631262,31.257249],[108.643489,31.268721],[108.63632,31.283509],[108.654586,31.289184],[108.659054,31.298535],[108.639806,31.31955],[108.63578,31.329896],[108.644176,31.339482],[108.683261,31.34084],[108.698237,31.343956],[108.701527,31.348988],[108.696567,31.359011],[108.709186,31.374983],[108.693474,31.377418],[108.694554,31.387199],[108.712525,31.394584],[108.729956,31.390752],[108.736389,31.395742],[108.731528,31.403285],[108.740022,31.407676],[108.742084,31.420087],[108.757797,31.430941],[108.759908,31.438602],[108.752298,31.443749],[108.740071,31.441834],[108.726617,31.455118],[108.703098,31.463814],[108.697255,31.476737],[108.69971,31.491652],[108.694554,31.499347],[108.703982,31.503972],[108.721707,31.503255],[108.730055,31.499746],[108.748026,31.505208],[108.761087,31.503893],[108.766881,31.513621],[108.769483,31.529845],[108.777094,31.543635],[108.794034,31.551366],[108.801399,31.574078],[108.820303,31.574596],[108.824133,31.578899],[108.837096,31.574237],[108.853398,31.578939],[108.865133,31.592801],[108.877997,31.602799],[108.894888,31.606025],[108.895821,31.614587],[108.887719,31.625657],[108.893268,31.632187],[108.892728,31.642578],[108.898227,31.65484],[108.888407,31.654999],[108.879421,31.663835],[108.865378,31.671079],[108.860517,31.681068],[108.840533,31.684371],[108.809894,31.685764],[108.794525,31.684251],[108.782888,31.688828],[108.770612,31.682142],[108.758141,31.664313],[108.755342,31.647077],[108.742281,31.640906],[108.736192,31.633302],[108.728974,31.634457],[108.714686,31.627648],[108.701183,31.634098],[108.69151,31.625259],[108.683899,31.627449],[108.67673,31.62275],[108.65542,31.626095],[108.649381,31.621715],[108.64123,31.625179],[108.640101,31.637005],[108.624388,31.651655],[108.608725,31.650421],[108.576809,31.664114],[108.574501,31.67088],[108.561833,31.669726],[108.542831,31.673626]]]]},id:16489738,bbox:[107.936329,30.824211,108.898227,31.688828]},{type:\"Feature\",properties:{adcode:500155,code:500155e6,name:\"梁平区\",center:[107.800034,30.672168],centroid:[107.719234,30.658344],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:24,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[107.876131,30.813287],[107.849861,30.792601],[107.831399,30.798426],[107.817749,30.798024],[107.799189,30.814934],[107.783722,30.819311],[107.775375,30.814853],[107.763836,30.817102],[107.755341,30.829551],[107.757452,30.840232],[107.752788,30.850751],[107.760349,30.862272],[107.750038,30.864801],[107.749547,30.873471],[107.737714,30.88499],[107.715864,30.887839],[107.704128,30.872227],[107.691951,30.874756],[107.670445,30.851996],[107.647465,30.823247],[107.633766,30.817785],[107.616138,30.828588],[107.614665,30.839148],[107.598266,30.844729],[107.584075,30.840473],[107.577594,30.848141],[107.560654,30.849868],[107.556529,30.846295],[107.535465,30.84766],[107.526626,30.839429],[107.523288,30.848222],[107.514793,30.854926],[107.482926,30.838305],[107.492108,30.833165],[107.489997,30.821118],[107.498982,30.810757],[107.490193,30.810757],[107.493778,30.803688],[107.47777,30.799792],[107.47345,30.785772],[107.460339,30.784165],[107.466379,30.774041],[107.453809,30.77167],[107.44556,30.778179],[107.446837,30.770103],[107.43957,30.759776],[107.44502,30.752503],[107.439029,30.747077],[107.425674,30.746756],[107.437065,30.721031],[107.458621,30.704788],[107.460929,30.687498],[107.456559,30.682712],[107.469718,30.677604],[107.477427,30.664774],[107.499179,30.660148],[107.516806,30.647838],[107.515431,30.642045],[107.493728,30.618988],[107.485332,30.598341],[107.46741,30.586305],[107.460241,30.571329],[107.42754,30.547611],[107.442859,30.535287],[107.433825,30.523565],[107.419929,30.516475],[107.408734,30.521551],[107.404855,30.516112],[107.425527,30.510835],[107.446837,30.49766],[107.463629,30.481984],[107.480029,30.478599],[107.496036,30.494638],[107.509097,30.495363],[107.516266,30.489198],[107.527559,30.490487],[107.533452,30.500843],[107.544352,30.498869],[107.55157,30.50322],[107.553436,30.491092],[107.562225,30.487949],[107.570523,30.47731],[107.593994,30.475174],[107.610197,30.48009],[107.611719,30.47211],[107.629298,30.485611],[107.637743,30.483032],[107.636957,30.470498],[107.660772,30.470136],[107.670346,30.464493],[107.673538,30.453851],[107.656205,30.431193],[107.661803,30.420387],[107.679479,30.438612],[107.695241,30.460986],[107.715716,30.482589],[107.741347,30.517885],[107.748123,30.521269],[107.757894,30.514058],[107.767911,30.513736],[107.777535,30.506121],[107.77783,30.497821],[107.796488,30.484805],[107.796488,30.479204],[107.80621,30.470861],[107.817455,30.471466],[107.810629,30.482428],[107.818142,30.497539],[107.819173,30.50882],[107.814017,30.521631],[107.829239,30.544671],[107.826145,30.554417],[107.860713,30.559088],[107.870386,30.547248],[107.885411,30.549544],[107.891352,30.54608],[107.886884,30.539556],[107.88546,30.512124],[107.897883,30.502938],[107.909422,30.502938],[107.916001,30.495323],[107.924839,30.494074],[107.939864,30.485893],[107.942025,30.498828],[107.953711,30.51434],[107.958621,30.531017],[107.972615,30.521913],[107.985676,30.531017],[107.990243,30.538871],[108.003795,30.542174],[108.029622,30.561544],[108.034778,30.574187],[108.028051,30.587432],[108.033697,30.592424],[108.025252,30.60289],[108.016954,30.629571],[108.023091,30.63617],[108.025645,30.648844],[108.042585,30.662481],[108.0554,30.660027],[108.079558,30.664532],[108.082259,30.677926],[108.074844,30.696304],[108.086678,30.713714],[108.074894,30.723121],[108.047544,30.723684],[108.03517,30.715362],[108.011405,30.709814],[107.959112,30.719262],[107.918653,30.75829],[107.908243,30.762911],[107.905592,30.77601],[107.88492,30.806138],[107.876131,30.813287]]]]},id:16489739,bbox:[107.404855,30.420387,108.086678,30.887839]},{type:\"Feature\",properties:{adcode:500156,code:500156e6,name:\"武隆区\",center:[107.75655,29.32376],centroid:[107.709628,29.373158],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:25,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[107.401565,29.184694],[107.405444,29.188613],[107.428473,29.191144],[107.441435,29.203962],[107.463973,29.195431],[107.462353,29.176855],[107.473106,29.170975],[107.486707,29.174242],[107.514891,29.194206],[107.532224,29.195471],[107.549557,29.210085],[107.553387,29.218697],[107.565711,29.220982],[107.575139,29.20784],[107.575237,29.189062],[107.580147,29.183591],[107.583437,29.16828],[107.590164,29.165299],[107.585057,29.158357],[107.589231,29.150026],[107.601015,29.147821],[107.600622,29.15897],[107.606711,29.165463],[107.616924,29.163013],[107.629936,29.165585],[107.641573,29.16093],[107.659446,29.16289],[107.66362,29.147535],[107.698629,29.141245],[107.707565,29.154151],[107.718515,29.156152],[107.727206,29.175712],[107.724751,29.182203],[107.739383,29.189021],[107.751609,29.199635],[107.76089,29.189021],[107.760251,29.177712],[107.767911,29.17514],[107.775227,29.162808],[107.781905,29.161992],[107.795162,29.146473],[107.808567,29.142838],[107.810629,29.138345],[107.799974,29.106195],[107.78981,29.082372],[107.785244,29.04722],[107.823543,29.034219],[107.838421,29.040597],[107.849567,29.039289],[107.874707,29.057031],[107.873086,29.074852],[107.883938,29.078163],[107.889486,29.085151],[107.883889,29.106195],[107.895133,29.117185],[107.892727,29.134138],[107.899896,29.166361],[107.903775,29.172282],[107.898865,29.184245],[107.911975,29.190328],[107.934905,29.185102],[107.94286,29.178243],[107.960143,29.188695],[107.970111,29.198492],[107.973057,29.210166],[107.986756,29.217799],[107.997804,29.236857],[108.006446,29.229267],[108.010325,29.247792],[107.99697,29.26248],[107.998983,29.273943],[107.996282,29.288545],[108.003304,29.315174],[107.992059,29.325408],[107.984301,29.339188],[107.983319,29.350397],[107.976641,29.36344],[107.988426,29.38027],[107.992796,29.397383],[107.989653,29.416856],[108.004286,29.428424],[108.002763,29.442108],[108.013075,29.448786],[108.013959,29.469674],[108.017347,29.483719],[108.015432,29.504559],[108.055793,29.531783],[108.074059,29.549073],[108.075826,29.557982],[108.066988,29.566687],[108.066153,29.575472],[108.075876,29.577627],[108.084026,29.588892],[108.076563,29.605726],[108.067872,29.614223],[108.056039,29.621581],[108.046513,29.622679],[108.024368,29.619467],[108.000259,29.626256],[107.979784,29.627435],[107.969129,29.620321],[107.961715,29.608978],[107.949881,29.601701],[107.948703,29.623126],[107.934218,29.655723],[107.922974,29.655235],[107.905543,29.662428],[107.897146,29.661493],[107.87073,29.667995],[107.857472,29.667629],[107.845786,29.660233],[107.842938,29.653569],[107.845246,29.628695],[107.839943,29.607393],[107.831743,29.59243],[107.832283,29.581247],[107.838863,29.570185],[107.835671,29.558877],[107.828551,29.556192],[107.825851,29.545005],[107.818928,29.554647],[107.80729,29.554606],[107.80351,29.563433],[107.791774,29.560952],[107.795801,29.567744],[107.7685,29.579254],[107.781267,29.582142],[107.772576,29.585883],[107.767862,29.597635],[107.757403,29.602636],[107.732263,29.585598],[107.716404,29.596659],[107.709431,29.60906],[107.701575,29.615443],[107.69804,29.605889],[107.687532,29.600481],[107.666958,29.573804],[107.654634,29.562457],[107.651197,29.553304],[107.629003,29.539147],[107.608135,29.532474],[107.607546,29.514652],[107.615009,29.512373],[107.620558,29.483638],[107.613143,29.479526],[107.595958,29.480951],[107.577446,29.462427],[107.574206,29.452533],[107.56139,29.453062],[107.552798,29.447809],[107.546562,29.431845],[107.532666,29.423047],[107.513664,29.461165],[107.478507,29.497151],[107.475905,29.50635],[107.4625,29.502117],[107.463826,29.498617],[107.450519,29.490028],[107.441386,29.491575],[107.431762,29.483475],[107.427491,29.505658],[107.391548,29.530969],[107.380599,29.523197],[107.365868,29.522383],[107.358601,29.51575],[107.348683,29.515547],[107.328993,29.509321],[107.323248,29.497558],[107.313526,29.487912],[107.30567,29.465318],[107.277338,29.440357],[107.262264,29.436162],[107.260938,29.429035],[107.245422,29.424391],[107.240512,29.426795],[107.227598,29.418159],[107.226666,29.406835],[107.237713,29.394817],[107.241691,29.379415],[107.256176,29.38463],[107.263393,29.383571],[107.272428,29.37371],[107.272428,29.358386],[107.293444,29.349704],[107.298599,29.352069],[107.309893,29.345098],[107.318387,29.347789],[107.323395,29.339147],[107.347308,29.342571],[107.350156,29.346892],[107.367047,29.341756],[107.392039,29.326754],[107.38271,29.308609],[107.373332,29.298578],[107.379764,29.299516],[107.391597,29.289279],[107.388553,29.281081],[107.404069,29.28259],[107.421942,29.274636],[107.416541,29.264234],[107.401025,29.248853],[107.399355,29.235714],[107.401909,29.218248],[107.395378,29.205881],[107.401565,29.184694]]]]},id:16489740,bbox:[107.226666,29.034219,108.084026,29.667995]},{type:\"Feature\",properties:{adcode:500229,code:500229e6,name:\"城口县\",center:[108.6649,31.946293],centroid:[108.735105,31.881846],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:26,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[109.281611,31.716876],[109.2795,31.723479],[109.283085,31.739627],[109.27076,31.749291],[109.2713,31.756607],[109.256177,31.758635],[109.254655,31.766905],[109.263689,31.773544],[109.281268,31.777917],[109.274786,31.791075],[109.274835,31.800455],[109.255293,31.803038],[109.239875,31.811304],[109.232363,31.809436],[109.213606,31.817503],[109.196224,31.817543],[109.191854,31.827953],[109.199563,31.842494],[109.190921,31.855681],[109.167009,31.87534],[109.131901,31.891343],[109.124585,31.892137],[109.114225,31.905556],[109.069935,31.938936],[109.05982,31.941356],[109.039345,31.96072],[109.035122,31.958061],[109.020883,31.963219],[108.988427,31.979404],[108.978213,31.978135],[108.968295,31.982538],[108.95273,31.979682],[108.937116,31.988924],[108.91831,31.988249],[108.902401,31.984918],[108.873529,32.000227],[108.837881,32.038805],[108.810581,32.047169],[108.788682,32.048318],[108.776259,32.055096],[108.767961,32.065519],[108.751708,32.074158],[108.752543,32.08759],[108.747731,32.099831],[108.726421,32.106803],[108.714833,32.103713],[108.674717,32.103396],[108.66691,32.111913],[108.654045,32.117418],[108.646975,32.128666],[108.606024,32.155155],[108.592178,32.160223],[108.583978,32.172217],[108.551031,32.176096],[108.509736,32.201187],[108.492944,32.194935],[108.479342,32.182073],[108.457296,32.181479],[108.434022,32.192085],[108.425282,32.187416],[108.406378,32.196201],[108.39916,32.194064],[108.379175,32.177521],[108.369404,32.173325],[108.38821,32.157531],[108.390862,32.151315],[108.406623,32.141337],[108.414872,32.126369],[108.423465,32.117339],[108.431616,32.101693],[108.439276,32.094721],[108.452091,32.091036],[108.44944,32.072969],[108.429995,32.061358],[108.412712,32.070116],[108.395183,32.066311],[108.373774,32.077169],[108.362825,32.070037],[108.344608,32.068253],[108.344804,32.060526],[108.35978,32.053748],[108.364298,32.047248],[108.362874,32.036783],[108.340091,32.023106],[108.32919,32.01926],[108.33847,32.009506],[108.361401,31.998085],[108.369502,31.989876],[108.367146,31.984521],[108.3505,31.971947],[108.337488,31.981705],[108.3259,31.984957],[108.307094,31.997252],[108.297176,31.988527],[108.283919,31.986068],[108.282151,31.979206],[108.265849,31.983728],[108.267175,31.973097],[108.259368,31.966869],[108.275817,31.957625],[108.28603,31.938856],[108.282691,31.917742],[108.289516,31.910955],[108.299484,31.911272],[108.30842,31.905953],[108.326244,31.881615],[108.33523,31.876452],[108.340974,31.863546],[108.353741,31.856396],[108.370779,31.852742],[108.386197,31.853894],[108.384135,31.848611],[108.394741,31.826523],[108.441436,31.807608],[108.455135,31.813927],[108.462501,31.812814],[108.464072,31.803674],[108.454399,31.791075],[108.456314,31.783999],[108.478213,31.777917],[108.488574,31.780302],[108.489261,31.774737],[108.515727,31.7611],[108.535269,31.757681],[108.506103,31.734815],[108.518673,31.726184],[108.524761,31.69973],[108.514794,31.69412],[108.532225,31.677168],[108.542831,31.673626],[108.561833,31.669726],[108.574501,31.67088],[108.576809,31.664114],[108.608725,31.650421],[108.624388,31.651655],[108.640101,31.637005],[108.64123,31.625179],[108.649381,31.621715],[108.65542,31.626095],[108.67673,31.62275],[108.683899,31.627449],[108.69151,31.625259],[108.701183,31.634098],[108.714686,31.627648],[108.728974,31.634457],[108.736192,31.633302],[108.742281,31.640906],[108.755342,31.647077],[108.758141,31.664313],[108.770612,31.682142],[108.782888,31.688828],[108.794525,31.684251],[108.809894,31.685764],[108.840533,31.684371],[108.860517,31.681068],[108.865378,31.671079],[108.879421,31.663835],[108.888407,31.654999],[108.898227,31.65484],[108.906182,31.661248],[108.91448,31.660731],[108.918113,31.652929],[108.937607,31.652969],[108.954792,31.66288],[108.955529,31.654601],[108.992649,31.652969],[109.000407,31.657029],[109.00134,31.671039],[109.007331,31.673188],[109.0008,31.686758],[109.007036,31.691135],[109.038117,31.690777],[109.052013,31.696507],[109.06149,31.704743],[109.092473,31.699531],[109.122965,31.700167],[109.133325,31.705936],[109.148154,31.703669],[109.158514,31.69396],[109.16696,31.700207],[109.178253,31.69587],[109.209187,31.69412],[109.224261,31.688629],[109.228533,31.690817],[109.222542,31.701242],[109.227403,31.717035],[109.225145,31.724951],[109.266734,31.714927],[109.281611,31.716876]]]]},id:16489741,bbox:[108.259368,31.621715,109.283085,32.201187]},{type:\"Feature\",properties:{adcode:500230,code:50023e7,name:\"丰都县\",center:[107.73248,29.866424],centroid:[107.830885,29.884753],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:27,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[107.701575,29.615443],[107.709431,29.60906],[107.716404,29.596659],[107.732263,29.585598],[107.757403,29.602636],[107.767862,29.597635],[107.772576,29.585883],[107.781267,29.582142],[107.7685,29.579254],[107.795801,29.567744],[107.791774,29.560952],[107.80351,29.563433],[107.80729,29.554606],[107.818928,29.554647],[107.825851,29.545005],[107.828551,29.556192],[107.835671,29.558877],[107.838863,29.570185],[107.832283,29.581247],[107.831743,29.59243],[107.839943,29.607393],[107.845246,29.628695],[107.842938,29.653569],[107.845786,29.660233],[107.857472,29.667629],[107.87073,29.667995],[107.897146,29.661493],[107.905543,29.662428],[107.922974,29.655235],[107.934218,29.655723],[107.948703,29.623126],[107.949881,29.601701],[107.961715,29.608978],[107.969129,29.620321],[107.979784,29.627435],[108.000259,29.626256],[108.024368,29.619467],[108.046513,29.622679],[108.056039,29.621581],[108.067872,29.614223],[108.078773,29.618817],[108.082161,29.611377],[108.098757,29.600684],[108.114175,29.599302],[108.117366,29.603449],[108.132391,29.603815],[108.153652,29.599749],[108.163374,29.603612],[108.167499,29.617679],[108.178547,29.619183],[108.182033,29.625972],[108.17894,29.647839],[108.168186,29.648083],[108.156107,29.644872],[108.149921,29.647636],[108.143587,29.659218],[108.156304,29.669579],[108.156157,29.676121],[108.174962,29.686075],[108.179529,29.699602],[108.169168,29.7087],[108.181051,29.734286],[108.17457,29.735463],[108.172213,29.745533],[108.178252,29.749877],[108.187925,29.743909],[108.204129,29.765182],[108.208204,29.764938],[108.217484,29.777887],[108.194112,29.790712],[108.18547,29.801628],[108.194014,29.812665],[108.190626,29.819441],[108.177859,29.822443],[108.172998,29.837656],[108.167008,29.838305],[108.14997,29.83011],[108.145992,29.846377],[108.122915,29.851771],[108.108823,29.848851],[108.099199,29.840657],[108.084125,29.838873],[108.058936,29.857246],[108.072488,29.870953],[108.071456,29.877157],[108.059869,29.889726],[108.042536,29.893456],[108.035907,29.90197],[108.049999,29.906226],[108.046316,29.912387],[108.036005,29.912225],[108.024908,29.934962],[108.014695,29.9472],[107.993336,29.96689],[108.002027,29.977544],[108.009687,29.978476],[108.018034,29.971589],[108.03247,29.990222],[108.024859,30.010957],[108.018476,30.014804],[108.02702,30.029056],[108.01661,30.042132],[108.007575,30.043508],[107.998492,30.053871],[107.987297,30.047921],[107.967558,30.055611],[107.948457,30.066458],[107.936378,30.069008],[107.908243,30.105748],[107.906525,30.112544],[107.895919,30.120067],[107.88109,30.103199],[107.87451,30.09976],[107.862186,30.113879],[107.84446,30.119865],[107.831939,30.108782],[107.81878,30.112058],[107.812937,30.118935],[107.819026,30.13394],[107.842103,30.155009],[107.845688,30.162974],[107.838617,30.168675],[107.811759,30.178337],[107.808567,30.184239],[107.794377,30.185816],[107.788436,30.190747],[107.765898,30.198224],[107.757502,30.21047],[107.758336,30.217016],[107.769139,30.224573],[107.769924,30.236572],[107.762019,30.240936],[107.745128,30.236774],[107.742084,30.225502],[107.734129,30.221098],[107.728728,30.23132],[107.721314,30.230189],[107.721216,30.21835],[107.704963,30.216491],[107.705356,30.224209],[107.714685,30.221421],[107.705945,30.230876],[107.709284,30.237946],[107.691264,30.234916],[107.675502,30.22336],[107.668088,30.22631],[107.666762,30.234754],[107.673145,30.238754],[107.675944,30.252812],[107.662588,30.261052],[107.656402,30.259598],[107.651884,30.241622],[107.642801,30.239562],[107.632882,30.213097],[107.626548,30.20655],[107.61005,30.209136],[107.605729,30.198628],[107.595909,30.198063],[107.604501,30.187392],[107.597922,30.179631],[107.581227,30.174941],[107.569983,30.166937],[107.572978,30.144374],[107.568706,30.139077],[107.582897,30.131595],[107.579361,30.119582],[107.570425,30.122252],[107.55815,30.114566],[107.55756,30.098344],[107.535268,30.088512],[107.528296,30.082888],[107.53954,30.072407],[107.539295,30.064192],[107.5308,30.059699],[107.491372,30.013306],[107.491322,30.004964],[107.483908,29.992693],[107.471338,29.989453],[107.487443,29.972076],[107.498197,29.972481],[107.500554,29.960611],[107.515186,29.959436],[107.523779,29.978678],[107.53355,29.968551],[107.546905,29.965675],[107.546807,29.958585],[107.56193,29.946146],[107.571898,29.951049],[107.57946,29.943877],[107.573126,29.933827],[107.579361,29.923939],[107.59473,29.917657],[107.602979,29.897389],[107.598707,29.888632],[107.613094,29.876955],[107.626892,29.874522],[107.616973,29.865884],[107.613585,29.856111],[107.604256,29.852014],[107.595369,29.835222],[107.605238,29.832423],[107.605336,29.808161],[107.622669,29.802562],[107.638627,29.813274],[107.638529,29.772976],[107.64226,29.76303],[107.625075,29.753896],[107.640345,29.740701],[107.632784,29.719016],[107.630427,29.701714],[107.64447,29.687821],[107.6565,29.686156],[107.670101,29.675064],[107.674176,29.663362],[107.684733,29.666532],[107.696616,29.660315],[107.718073,29.65682],[107.713752,29.642555],[107.698482,29.618614],[107.701575,29.615443]]]]},id:16489742,bbox:[107.471338,29.545005,108.217484,30.261052]},{type:\"Feature\",properties:{adcode:500231,code:500231e6,name:\"垫江县\",center:[107.348692,30.330012],centroid:[107.437814,30.253308],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:28,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[107.453171,30.001441],[107.466968,29.998606],[107.471338,29.989453],[107.483908,29.992693],[107.491322,30.004964],[107.491372,30.013306],[107.5308,30.059699],[107.539295,30.064192],[107.53954,30.072407],[107.528296,30.082888],[107.535268,30.088512],[107.55756,30.098344],[107.55815,30.114566],[107.570425,30.122252],[107.579361,30.119582],[107.582897,30.131595],[107.568706,30.139077],[107.572978,30.144374],[107.569983,30.166937],[107.581227,30.174941],[107.597922,30.179631],[107.604501,30.187392],[107.595909,30.198063],[107.584861,30.202185],[107.577299,30.221461],[107.56851,30.219198],[107.571505,30.208166],[107.563649,30.19875],[107.550097,30.19681],[107.54828,30.208651],[107.553583,30.213177],[107.544794,30.221057],[107.545825,30.227643],[107.554271,30.229583],[107.558395,30.244046],[107.573862,30.244693],[107.57342,30.256367],[107.567282,30.268201],[107.573322,30.274784],[107.587119,30.275188],[107.581767,30.287586],[107.597824,30.29445],[107.597283,30.313224],[107.572242,30.321257],[107.569836,30.326868],[107.583093,30.341801],[107.595025,30.351083],[107.602488,30.367869],[107.622767,30.384652],[107.631262,30.398568],[107.650362,30.406917],[107.661803,30.420387],[107.656205,30.431193],[107.673538,30.453851],[107.670346,30.464493],[107.660772,30.470136],[107.636957,30.470498],[107.637743,30.483032],[107.629298,30.485611],[107.611719,30.47211],[107.610197,30.48009],[107.593994,30.475174],[107.570523,30.47731],[107.562225,30.487949],[107.553436,30.491092],[107.55157,30.50322],[107.544352,30.498869],[107.533452,30.500843],[107.527559,30.490487],[107.516266,30.489198],[107.509097,30.495363],[107.496036,30.494638],[107.480029,30.478599],[107.463629,30.481984],[107.446837,30.49766],[107.425527,30.510835],[107.404855,30.516112],[107.388848,30.49089],[107.381237,30.485329],[107.360025,30.45627],[107.34554,30.425508],[107.341367,30.41212],[107.34284,30.401674],[107.33901,30.387072],[107.31878,30.364278],[107.304197,30.354594],[107.288779,30.337564],[107.277535,30.311246],[107.264866,30.289766],[107.255979,30.263799],[107.239432,30.237582],[107.228335,30.223805],[107.256568,30.205903],[107.277044,30.181086],[107.288484,30.171303],[107.269482,30.145992],[107.274098,30.135841],[107.291381,30.136327],[107.295555,30.122454],[107.286766,30.107892],[107.29089,30.097939],[107.28328,30.091021],[107.271741,30.09446],[107.269089,30.081148],[107.259072,30.075887],[107.247534,30.07528],[107.26521,30.062006],[107.266045,30.055045],[107.279204,30.04873],[107.27724,30.043144],[107.294867,30.044359],[107.307879,30.035493],[107.31166,30.02023],[107.304688,30.0161],[107.31112,30.008203],[107.294818,30.002696],[107.29418,29.997917],[107.307094,29.992328],[107.325556,29.973007],[107.335573,29.97398],[107.347995,29.980501],[107.362824,29.979853],[107.374068,29.973372],[107.436329,30.033833],[107.46029,30.01533],[107.451501,30.008203],[107.453171,30.001441]]]]},id:16489743,bbox:[107.228335,29.973007,107.673538,30.516112]},{type:\"Feature\",properties:{adcode:500233,code:500233e6,name:\"忠县\",center:[108.037518,30.291537],centroid:[107.914786,30.335722],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:29,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[108.223622,30.421274],[108.241937,30.443773],[108.232755,30.45502],[108.230496,30.476705],[108.207811,30.49766],[108.195045,30.514501],[108.184537,30.518167],[108.175552,30.510633],[108.165633,30.524411],[108.171378,30.539314],[108.163374,30.540805],[108.152523,30.535931],[108.153063,30.545879],[108.143587,30.566215],[108.12645,30.564],[108.120067,30.576965],[108.126647,30.577972],[108.127187,30.586104],[108.111621,30.59343],[108.105631,30.591458],[108.103863,30.573382],[108.088593,30.572617],[108.083339,30.579582],[108.072537,30.582159],[108.062667,30.574429],[108.052847,30.572094],[108.034778,30.574187],[108.029622,30.561544],[108.003795,30.542174],[107.990243,30.538871],[107.985676,30.531017],[107.972615,30.521913],[107.958621,30.531017],[107.953711,30.51434],[107.942025,30.498828],[107.939864,30.485893],[107.924839,30.494074],[107.916001,30.495323],[107.909422,30.502938],[107.897883,30.502938],[107.88546,30.512124],[107.886884,30.539556],[107.891352,30.54608],[107.885411,30.549544],[107.870386,30.547248],[107.860713,30.559088],[107.826145,30.554417],[107.829239,30.544671],[107.814017,30.521631],[107.819173,30.50882],[107.818142,30.497539],[107.810629,30.482428],[107.817455,30.471466],[107.80621,30.470861],[107.796488,30.479204],[107.796488,30.484805],[107.77783,30.497821],[107.777535,30.506121],[107.767911,30.513736],[107.757894,30.514058],[107.748123,30.521269],[107.741347,30.517885],[107.715716,30.482589],[107.695241,30.460986],[107.679479,30.438612],[107.661803,30.420387],[107.650362,30.406917],[107.631262,30.398568],[107.622767,30.384652],[107.602488,30.367869],[107.595025,30.351083],[107.583093,30.341801],[107.569836,30.326868],[107.572242,30.321257],[107.597283,30.313224],[107.597824,30.29445],[107.581767,30.287586],[107.587119,30.275188],[107.573322,30.274784],[107.567282,30.268201],[107.57342,30.256367],[107.573862,30.244693],[107.558395,30.244046],[107.554271,30.229583],[107.545825,30.227643],[107.544794,30.221057],[107.553583,30.213177],[107.54828,30.208651],[107.550097,30.19681],[107.563649,30.19875],[107.571505,30.208166],[107.56851,30.219198],[107.577299,30.221461],[107.584861,30.202185],[107.595909,30.198063],[107.605729,30.198628],[107.61005,30.209136],[107.626548,30.20655],[107.632882,30.213097],[107.642801,30.239562],[107.651884,30.241622],[107.656402,30.259598],[107.662588,30.261052],[107.675944,30.252812],[107.673145,30.238754],[107.666762,30.234754],[107.668088,30.22631],[107.675502,30.22336],[107.691264,30.234916],[107.709284,30.237946],[107.705945,30.230876],[107.714685,30.221421],[107.705356,30.224209],[107.704963,30.216491],[107.721216,30.21835],[107.721314,30.230189],[107.728728,30.23132],[107.734129,30.221098],[107.742084,30.225502],[107.745128,30.236774],[107.762019,30.240936],[107.769924,30.236572],[107.769139,30.224573],[107.758336,30.217016],[107.757502,30.21047],[107.765898,30.198224],[107.788436,30.190747],[107.794377,30.185816],[107.808567,30.184239],[107.811759,30.178337],[107.838617,30.168675],[107.845688,30.162974],[107.842103,30.155009],[107.819026,30.13394],[107.812937,30.118935],[107.81878,30.112058],[107.831939,30.108782],[107.84446,30.119865],[107.862186,30.113879],[107.87451,30.09976],[107.88109,30.103199],[107.895919,30.120067],[107.906525,30.112544],[107.908243,30.105748],[107.936378,30.069008],[107.948457,30.066458],[107.967558,30.055611],[107.987297,30.047921],[107.998492,30.053871],[108.00733,30.057028],[108.010571,30.071355],[108.021569,30.078032],[108.029622,30.089119],[108.034974,30.084183],[108.031144,30.072326],[108.037233,30.067591],[108.0554,30.072043],[108.083928,30.111209],[108.092374,30.129532],[108.075777,30.153917],[108.061587,30.157071],[108.070965,30.163702],[108.072438,30.175144],[108.085549,30.17862],[108.107595,30.207439],[108.120705,30.200568],[108.129887,30.210268],[108.119379,30.211803],[108.127383,30.223684],[108.124879,30.227199],[108.10843,30.219198],[108.101948,30.223482],[108.105533,30.232653],[108.097038,30.237259],[108.093994,30.253459],[108.103716,30.246995],[108.114273,30.251399],[108.121933,30.245824],[108.125861,30.235845],[108.129494,30.244531],[108.126303,30.255357],[108.141475,30.265495],[108.142212,30.273654],[108.129003,30.281125],[108.131606,30.288918],[108.127334,30.299982],[108.147318,30.297115],[108.147466,30.302606],[108.163473,30.321055],[108.163031,30.325294],[108.145894,30.334254],[108.127874,30.333487],[108.117072,30.329169],[108.094731,30.344667],[108.084419,30.343093],[108.084665,30.350115],[108.096449,30.358831],[108.12262,30.359799],[108.133128,30.362624],[108.152965,30.395019],[108.174619,30.410144],[108.186403,30.413854],[108.208351,30.408611],[108.223622,30.421274]]]]},id:16489744,bbox:[107.544794,30.047921,108.241937,30.59343]},{type:\"Feature\",properties:{adcode:500235,code:500235e6,name:\"云阳县\",center:[108.697698,30.930529],centroid:[108.856912,31.036349],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:30,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[108.90952,30.581273],[108.919488,30.589365],[108.943842,30.601843],[108.967509,30.624823],[108.978017,30.629813],[108.987494,30.623294],[108.999229,30.632066],[109.009737,30.627238],[109.021766,30.642366],[109.01558,30.648884],[109.022945,30.663567],[109.017544,30.675232],[109.024565,30.683154],[109.018919,30.696706],[109.030801,30.706598],[109.019655,30.711784],[109.018575,30.718297],[109.047348,30.730277],[109.047839,30.745309],[109.056579,30.754834],[109.059575,30.764598],[109.048821,30.777215],[109.044059,30.809873],[109.050785,30.814171],[109.05054,30.824773],[109.043224,30.831278],[109.051767,30.843524],[109.054615,30.860908],[109.0773,30.869096],[109.086531,30.858178],[109.108283,30.860145],[109.135485,30.866688],[109.130477,30.879732],[109.150118,30.878247],[109.144029,30.902165],[109.15547,30.907622],[109.162197,30.905776],[109.160969,30.916809],[109.151934,30.924151],[109.150609,30.936265],[109.157581,30.940637],[109.186306,30.936907],[109.200545,30.932936],[109.201822,30.927962],[109.215472,30.920781],[109.218762,30.926317],[109.220333,30.945369],[109.218221,30.963857],[109.211642,30.96935],[109.217583,30.982421],[109.238009,31.006432],[109.251021,31.029276],[109.244884,31.032201],[109.239875,31.04314],[109.228778,31.046866],[109.225243,31.053837],[109.214637,31.047907],[109.197648,31.053276],[109.190774,31.066335],[109.165045,31.068057],[109.145748,31.056921],[109.131557,31.054077],[109.119528,31.058123],[109.095271,31.061007],[109.096646,31.078391],[109.093946,31.09437],[109.100034,31.102579],[109.100231,31.121636],[109.080246,31.128641],[109.056187,31.132604],[109.055008,31.155537],[109.048576,31.164341],[109.048969,31.186787],[109.067431,31.179465],[109.074305,31.189467],[109.092816,31.192387],[109.092571,31.211986],[109.087464,31.225703],[109.072685,31.247015],[109.068069,31.27008],[109.062717,31.276355],[109.042978,31.283349],[109.033305,31.290862],[109.055057,31.326301],[109.050294,31.340721],[109.055352,31.357054],[109.05162,31.367117],[109.029181,31.370032],[109.020146,31.375781],[108.992207,31.380812],[108.983418,31.385762],[108.971487,31.380812],[108.962452,31.385722],[108.948409,31.382728],[108.936035,31.390991],[108.927197,31.386001],[108.916837,31.387399],[108.908146,31.383566],[108.900142,31.387558],[108.88988,31.383566],[108.886394,31.372148],[108.892826,31.364641],[108.89042,31.354738],[108.893268,31.342358],[108.887572,31.336007],[108.869896,31.339562],[108.865035,31.343716],[108.837096,31.346432],[108.834739,31.35382],[108.823053,31.356815],[108.822071,31.370271],[108.83248,31.375302],[108.816866,31.390233],[108.798748,31.396859],[108.795752,31.403086],[108.809894,31.417414],[108.800221,31.425155],[108.779205,31.435251],[108.759908,31.438602],[108.757797,31.430941],[108.742084,31.420087],[108.740022,31.407676],[108.731528,31.403285],[108.736389,31.395742],[108.729956,31.390752],[108.712525,31.394584],[108.694554,31.387199],[108.693474,31.377418],[108.709186,31.374983],[108.696567,31.359011],[108.701527,31.348988],[108.698237,31.343956],[108.683261,31.34084],[108.644176,31.339482],[108.63578,31.329896],[108.639806,31.31955],[108.659054,31.298535],[108.654586,31.289184],[108.63632,31.283509],[108.643489,31.268721],[108.631262,31.257249],[108.622768,31.259488],[108.618643,31.252212],[108.596646,31.230622],[108.588741,31.201587],[108.587759,31.185066],[108.578036,31.180065],[108.583585,31.174864],[108.598414,31.170943],[108.601851,31.160099],[108.576956,31.142851],[108.567823,31.140529],[108.562717,31.130443],[108.562619,31.115791],[108.547544,31.105261],[108.558887,31.089404],[108.537921,31.095491],[108.539934,31.082957],[108.53031,31.083838],[108.510964,31.07791],[108.511995,31.074145],[108.488181,31.064733],[108.486217,31.057322],[108.476691,31.052795],[108.48003,31.037811],[108.474334,31.022544],[108.451256,31.013527],[108.432156,31.012725],[108.418015,31.006072],[108.41497,30.998897],[108.426509,30.998216],[108.440356,31.002545],[108.455626,30.994728],[108.45327,30.988755],[108.454743,30.970232],[108.460537,30.967426],[108.486413,30.977008],[108.496626,30.972839],[108.50409,30.977289],[108.501094,30.98651],[108.506643,30.992604],[108.51666,30.990559],[108.533894,30.996251],[108.531243,30.978051],[108.523632,30.973159],[108.537577,30.958123],[108.552602,30.915405],[108.566448,30.912396],[108.593307,30.920259],[108.608578,30.93807],[108.61884,30.934741],[108.619233,30.926999],[108.628169,30.918253],[108.623013,30.912837],[108.621589,30.888561],[108.625419,30.875358],[108.634798,30.885271],[108.653014,30.89105],[108.665977,30.867972],[108.671968,30.852116],[108.685078,30.845773],[108.685127,30.835976],[108.698482,30.822885],[108.699955,30.811841],[108.715177,30.815094],[108.733393,30.81405],[108.738549,30.808026],[108.740808,30.787259],[108.74724,30.782116],[108.740169,30.775527],[108.749842,30.74555],[108.754998,30.740044],[108.76639,30.74141],[108.762609,30.728106],[108.766586,30.720548],[108.763444,30.713031],[108.789762,30.714277],[108.79261,30.706558],[108.781022,30.697028],[108.779254,30.685125],[108.785883,30.683516],[108.818094,30.693771],[108.823347,30.69168],[108.828699,30.679414],[108.836016,30.678449],[108.872007,30.690112],[108.883546,30.695661],[108.884331,30.687337],[108.896312,30.684039],[108.899946,30.676438],[108.901713,30.646792],[108.871565,30.618103],[108.869896,30.610979],[108.90952,30.581273]]]]},id:16489745,bbox:[108.41497,30.581273,109.251021,31.438602]},{type:\"Feature\",properties:{adcode:500236,code:500236e6,name:\"奉节县\",center:[109.465774,31.019967],centroid:[109.349632,30.952293],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:31,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[109.103668,30.565812],[109.113488,30.548658],[109.12483,30.538912],[109.124389,30.531702],[109.139463,30.534562],[109.141181,30.525096],[109.150609,30.527392],[109.164799,30.538187],[109.17133,30.547007],[109.192787,30.546282],[109.222788,30.569597],[109.247731,30.583205],[109.227845,30.58087],[109.227551,30.585661],[109.251169,30.592907],[109.278813,30.610174],[109.299534,30.630577],[109.313577,30.610174],[109.32816,30.616091],[109.323299,30.604137],[109.314509,30.59979],[109.344265,30.577126],[109.361156,30.554739],[109.361058,30.550994],[109.342252,30.529567],[109.337145,30.520826],[109.341564,30.512728],[109.342841,30.494718],[109.352072,30.487183],[109.368668,30.500279],[109.380846,30.518288],[109.393808,30.531138],[109.418114,30.560014],[109.428032,30.57616],[109.437852,30.598059],[109.449342,30.603735],[109.456511,30.613797],[109.465889,30.619511],[109.48278,30.623173],[109.493337,30.637176],[109.514696,30.655401],[109.528739,30.663929],[109.537921,30.663969],[109.541407,30.65166],[109.533698,30.641562],[109.538756,30.638424],[109.562865,30.646752],[109.574109,30.646872],[109.577104,30.655321],[109.588005,30.664693],[109.581622,30.670847],[109.590656,30.693409],[109.602244,30.698838],[109.62542,30.702657],[109.649038,30.71894],[109.660773,30.73727],[109.656698,30.76046],[109.659153,30.761987],[109.649725,30.778782],[109.644226,30.794128],[109.646435,30.803929],[109.636517,30.821922],[109.628661,30.820998],[109.607203,30.838225],[109.608087,30.846214],[109.615256,30.848222],[109.61506,30.861951],[109.588839,30.865885],[109.585648,30.871384],[109.569543,30.873712],[109.561392,30.893698],[109.574207,30.900961],[109.594584,30.902044],[109.594879,30.905415],[109.612752,30.90389],[109.609904,30.91693],[109.603079,30.922345],[109.59812,30.936465],[109.601557,30.941639],[109.596941,30.95327],[109.601999,30.962814],[109.60082,30.977129],[109.61177,30.986911],[109.612555,30.995971],[109.598611,31.010841],[109.605829,31.017655],[109.662737,31.042338],[109.685127,31.053516],[109.72107,31.074346],[109.724507,31.090125],[109.744442,31.100616],[109.753428,31.113389],[109.764819,31.11495],[109.758289,31.129242],[109.769533,31.143771],[109.770564,31.16166],[109.760646,31.175144],[109.742773,31.178185],[109.727944,31.171743],[109.703688,31.169903],[109.692493,31.172584],[109.668629,31.185466],[109.64511,31.177905],[109.63033,31.189147],[109.624389,31.190027],[109.622523,31.204747],[109.631951,31.217505],[109.629545,31.225703],[109.61668,31.229662],[109.588201,31.223384],[109.581572,31.225743],[109.569346,31.244456],[109.561883,31.243976],[109.55712,31.251053],[109.530409,31.253891],[109.518526,31.250333],[109.512487,31.243217],[109.497069,31.244816],[109.493533,31.249454],[109.479638,31.251772],[109.462698,31.250693],[109.450766,31.246535],[109.45003,31.238979],[109.435741,31.231981],[109.431617,31.240058],[109.415511,31.245496],[109.393857,31.242897],[109.387867,31.248654],[109.39042,31.262326],[109.376623,31.276236],[109.374757,31.286427],[109.354134,31.286826],[109.355853,31.295578],[109.334396,31.306925],[109.326392,31.324064],[109.322415,31.34779],[109.272577,31.355657],[109.266292,31.35985],[109.242085,31.362126],[109.235014,31.356975],[109.224114,31.362206],[109.213606,31.358332],[109.197206,31.362126],[109.176534,31.361527],[109.138137,31.366279],[109.123357,31.37083],[109.102735,31.364162],[109.079117,31.370112],[109.065712,31.364681],[109.05162,31.367117],[109.055352,31.357054],[109.050294,31.340721],[109.055057,31.326301],[109.033305,31.290862],[109.042978,31.283349],[109.062717,31.276355],[109.068069,31.27008],[109.072685,31.247015],[109.087464,31.225703],[109.092571,31.211986],[109.092816,31.192387],[109.074305,31.189467],[109.067431,31.179465],[109.048969,31.186787],[109.048576,31.164341],[109.055008,31.155537],[109.056187,31.132604],[109.080246,31.128641],[109.100231,31.121636],[109.100034,31.102579],[109.093946,31.09437],[109.096646,31.078391],[109.095271,31.061007],[109.119528,31.058123],[109.131557,31.054077],[109.145748,31.056921],[109.165045,31.068057],[109.190774,31.066335],[109.197648,31.053276],[109.214637,31.047907],[109.225243,31.053837],[109.228778,31.046866],[109.239875,31.04314],[109.244884,31.032201],[109.251021,31.029276],[109.238009,31.006432],[109.217583,30.982421],[109.211642,30.96935],[109.218221,30.963857],[109.220333,30.945369],[109.218762,30.926317],[109.215472,30.920781],[109.201822,30.927962],[109.200545,30.932936],[109.186306,30.936907],[109.157581,30.940637],[109.150609,30.936265],[109.151934,30.924151],[109.160969,30.916809],[109.162197,30.905776],[109.15547,30.907622],[109.144029,30.902165],[109.150118,30.878247],[109.130477,30.879732],[109.135485,30.866688],[109.108283,30.860145],[109.086531,30.858178],[109.0773,30.869096],[109.054615,30.860908],[109.051767,30.843524],[109.043224,30.831278],[109.05054,30.824773],[109.050785,30.814171],[109.044059,30.809873],[109.048821,30.777215],[109.059575,30.764598],[109.056579,30.754834],[109.047839,30.745309],[109.047348,30.730277],[109.018575,30.718297],[109.019655,30.711784],[109.030801,30.706598],[109.018919,30.696706],[109.024565,30.683154],[109.017544,30.675232],[109.022945,30.663567],[109.01558,30.648884],[109.021766,30.642366],[109.045728,30.653189],[109.049165,30.645545],[109.070181,30.640274],[109.088053,30.646631],[109.096646,30.638745],[109.111917,30.646108],[109.120951,30.635768],[109.121737,30.628726],[109.112506,30.61271],[109.105926,30.610738],[109.105534,30.585661],[109.102686,30.580146],[109.101114,30.579542],[109.106123,30.570765],[109.103668,30.565812]]],[[[109.101114,30.579542],[109.102686,30.580146],[109.105534,30.585661],[109.105926,30.610738],[109.09316,30.609007],[109.083585,30.598261],[109.092865,30.578737],[109.098659,30.579099],[109.101114,30.579542]]],[[[109.098659,30.579099],[109.092865,30.578737],[109.103668,30.565812],[109.106123,30.570765],[109.098659,30.579099]]]]},id:16489746,bbox:[109.01558,30.487183,109.770564,31.37083]},{type:\"Feature\",properties:{adcode:500237,code:500237e6,name:\"巫山县\",center:[109.878928,31.074843],centroid:[109.901246,31.115189],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:32,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[109.659153,30.761987],[109.685373,30.768657],[109.692149,30.778902],[109.702117,30.783643],[109.702657,30.770264],[109.718124,30.778661],[109.716601,30.80168],[109.729613,30.815376],[109.759074,30.832804],[109.780777,30.848583],[109.797619,30.855609],[109.81942,30.860225],[109.856099,30.880254],[109.878244,30.889163],[109.894545,30.899797],[109.905642,30.899797],[109.932304,30.887679],[109.940897,30.889685],[109.943696,30.87897],[109.958377,30.877445],[109.975956,30.888682],[109.995056,30.887839],[110.008215,30.883585],[110.005024,30.870381],[110.017937,30.855328],[110.019607,30.829592],[110.03198,30.820476],[110.039198,30.820516],[110.042488,30.80666],[110.052996,30.799591],[110.082309,30.799591],[110.089527,30.816058],[110.095861,30.82156],[110.095812,30.829873],[110.115306,30.845492],[110.124095,30.868133],[110.144324,30.897229],[110.151837,30.912316],[110.145601,30.922145],[110.153899,30.953832],[110.163769,30.961371],[110.161657,30.968308],[110.173245,30.979895],[110.172165,30.98659],[110.163572,30.991641],[110.136075,30.986751],[110.140986,31.00503],[110.140151,31.030638],[110.120854,31.032001],[110.126648,31.054678],[110.13308,31.059806],[110.122131,31.072904],[110.120117,31.088844],[110.12871,31.095131],[110.135437,31.106262],[110.145847,31.108144],[110.146927,31.116912],[110.161264,31.116111],[110.180218,31.121676],[110.1894,31.129482],[110.186895,31.145332],[110.198876,31.156538],[110.196912,31.163581],[110.186404,31.169583],[110.180218,31.179585],[110.176535,31.198067],[110.178008,31.204867],[110.169612,31.227943],[110.174866,31.243497],[110.171428,31.250573],[110.162443,31.251932],[110.156158,31.277315],[110.163965,31.30321],[110.159644,31.315355],[110.151739,31.317872],[110.157975,31.333491],[110.14732,31.34783],[110.14948,31.354299],[110.140053,31.368315],[110.145307,31.381331],[110.140004,31.390472],[110.127384,31.393386],[110.11889,31.400651],[110.115158,31.412265],[110.108824,31.408314],[110.100084,31.411268],[110.089773,31.408674],[110.053978,31.410909],[110.049411,31.41877],[110.034484,31.430822],[110.033502,31.439679],[110.020687,31.442073],[110.003649,31.453642],[109.996382,31.469359],[109.987789,31.474663],[109.967903,31.474304],[109.954744,31.468401],[109.94291,31.475341],[109.938049,31.458748],[109.94183,31.448456],[109.937804,31.440836],[109.940553,31.427869],[109.935005,31.414381],[109.922828,31.394664],[109.911878,31.392149],[109.890126,31.392069],[109.853496,31.382209],[109.830468,31.388317],[109.821384,31.387638],[109.803315,31.378336],[109.789223,31.377857],[109.785638,31.361088],[109.775425,31.361527],[109.775032,31.354179],[109.761431,31.346951],[109.749892,31.35362],[109.730006,31.356176],[109.720972,31.349746],[109.71503,31.338644],[109.716945,31.332013],[109.711446,31.31959],[109.713803,31.299094],[109.698679,31.302171],[109.690676,31.296577],[109.662443,31.294499],[109.644373,31.310641],[109.626893,31.295937],[109.61285,31.295018],[109.597776,31.268442],[109.602833,31.262686],[109.587366,31.260967],[109.569346,31.244456],[109.581572,31.225743],[109.588201,31.223384],[109.61668,31.229662],[109.629545,31.225703],[109.631951,31.217505],[109.622523,31.204747],[109.624389,31.190027],[109.63033,31.189147],[109.64511,31.177905],[109.668629,31.185466],[109.692493,31.172584],[109.703688,31.169903],[109.727944,31.171743],[109.742773,31.178185],[109.760646,31.175144],[109.770564,31.16166],[109.769533,31.143771],[109.758289,31.129242],[109.764819,31.11495],[109.753428,31.113389],[109.744442,31.100616],[109.724507,31.090125],[109.72107,31.074346],[109.685127,31.053516],[109.662737,31.042338],[109.605829,31.017655],[109.598611,31.010841],[109.612555,30.995971],[109.61177,30.986911],[109.60082,30.977129],[109.601999,30.962814],[109.596941,30.95327],[109.601557,30.941639],[109.59812,30.936465],[109.603079,30.922345],[109.609904,30.91693],[109.612752,30.90389],[109.594879,30.905415],[109.594584,30.902044],[109.574207,30.900961],[109.561392,30.893698],[109.569543,30.873712],[109.585648,30.871384],[109.588839,30.865885],[109.61506,30.861951],[109.615256,30.848222],[109.608087,30.846214],[109.607203,30.838225],[109.628661,30.820998],[109.636517,30.821922],[109.646435,30.803929],[109.644226,30.794128],[109.649725,30.778782],[109.659153,30.761987]]]]},id:16489747,bbox:[109.561392,30.761987,110.198876,31.475341]},{type:\"Feature\",properties:{adcode:500238,code:500238e6,name:\"巫溪县\",center:[109.628912,31.3966],centroid:[109.35337,31.503107],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:33,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[109.94291,31.475341],[109.942174,31.483238],[109.957248,31.490774],[109.961323,31.499268],[109.98229,31.512504],[109.965595,31.50788],[109.945267,31.506684],[109.934907,31.517727],[109.923859,31.521474],[109.894594,31.519162],[109.878194,31.528848],[109.869209,31.530124],[109.860174,31.543555],[109.83798,31.555272],[109.822071,31.553757],[109.801007,31.541443],[109.788584,31.55045],[109.765457,31.549653],[109.760204,31.547182],[109.735309,31.546106],[109.718909,31.556985],[109.727502,31.570731],[109.746406,31.577982],[109.745326,31.596426],[109.76423,31.602998],[109.737421,31.628683],[109.740416,31.635173],[109.740612,31.663636],[109.731872,31.673148],[109.728091,31.688828],[109.731086,31.700446],[109.709531,31.701122],[109.696028,31.70709],[109.693376,31.716558],[109.683016,31.71978],[109.659005,31.716956],[109.644913,31.720854],[109.617024,31.711585],[109.606172,31.714688],[109.580394,31.72869],[109.572096,31.726343],[109.549755,31.730002],[109.501095,31.717155],[109.491029,31.720973],[109.477134,31.720218],[109.472714,31.714649],[109.459703,31.715205],[109.45656,31.722008],[109.4462,31.722883],[109.425872,31.718786],[109.420274,31.720655],[109.411632,31.708244],[109.389487,31.705101],[109.361254,31.708642],[109.3232,31.70888],[109.302038,31.71067],[109.281611,31.716876],[109.266734,31.714927],[109.225145,31.724951],[109.227403,31.717035],[109.222542,31.701242],[109.228533,31.690817],[109.224261,31.688629],[109.209187,31.69412],[109.178253,31.69587],[109.16696,31.700207],[109.158514,31.69396],[109.148154,31.703669],[109.133325,31.705936],[109.122965,31.700167],[109.092473,31.699531],[109.06149,31.704743],[109.052013,31.696507],[109.038117,31.690777],[109.007036,31.691135],[109.0008,31.686758],[109.007331,31.673188],[109.00134,31.671039],[109.000407,31.657029],[108.992649,31.652969],[108.955529,31.654601],[108.954792,31.66288],[108.937607,31.652969],[108.918113,31.652929],[108.91448,31.660731],[108.906182,31.661248],[108.898227,31.65484],[108.892728,31.642578],[108.893268,31.632187],[108.887719,31.625657],[108.895821,31.614587],[108.894888,31.606025],[108.877997,31.602799],[108.865133,31.592801],[108.853398,31.578939],[108.837096,31.574237],[108.824133,31.578899],[108.820303,31.574596],[108.801399,31.574078],[108.794034,31.551366],[108.777094,31.543635],[108.769483,31.529845],[108.766881,31.513621],[108.761087,31.503893],[108.748026,31.505208],[108.730055,31.499746],[108.721707,31.503255],[108.703982,31.503972],[108.694554,31.499347],[108.69971,31.491652],[108.697255,31.476737],[108.703098,31.463814],[108.726617,31.455118],[108.740071,31.441834],[108.752298,31.443749],[108.759908,31.438602],[108.779205,31.435251],[108.800221,31.425155],[108.809894,31.417414],[108.795752,31.403086],[108.798748,31.396859],[108.816866,31.390233],[108.83248,31.375302],[108.822071,31.370271],[108.823053,31.356815],[108.834739,31.35382],[108.837096,31.346432],[108.865035,31.343716],[108.869896,31.339562],[108.887572,31.336007],[108.893268,31.342358],[108.89042,31.354738],[108.892826,31.364641],[108.886394,31.372148],[108.88988,31.383566],[108.900142,31.387558],[108.908146,31.383566],[108.916837,31.387399],[108.927197,31.386001],[108.936035,31.390991],[108.948409,31.382728],[108.962452,31.385722],[108.971487,31.380812],[108.983418,31.385762],[108.992207,31.380812],[109.020146,31.375781],[109.029181,31.370032],[109.05162,31.367117],[109.065712,31.364681],[109.079117,31.370112],[109.102735,31.364162],[109.123357,31.37083],[109.138137,31.366279],[109.176534,31.361527],[109.197206,31.362126],[109.213606,31.358332],[109.224114,31.362206],[109.235014,31.356975],[109.242085,31.362126],[109.266292,31.35985],[109.272577,31.355657],[109.322415,31.34779],[109.326392,31.324064],[109.334396,31.306925],[109.355853,31.295578],[109.354134,31.286826],[109.374757,31.286427],[109.376623,31.276236],[109.39042,31.262326],[109.387867,31.248654],[109.393857,31.242897],[109.415511,31.245496],[109.431617,31.240058],[109.435741,31.231981],[109.45003,31.238979],[109.450766,31.246535],[109.462698,31.250693],[109.479638,31.251772],[109.493533,31.249454],[109.497069,31.244816],[109.512487,31.243217],[109.518526,31.250333],[109.530409,31.253891],[109.55712,31.251053],[109.561883,31.243976],[109.569346,31.244456],[109.587366,31.260967],[109.602833,31.262686],[109.597776,31.268442],[109.61285,31.295018],[109.626893,31.295937],[109.644373,31.310641],[109.662443,31.294499],[109.690676,31.296577],[109.698679,31.302171],[109.713803,31.299094],[109.711446,31.31959],[109.716945,31.332013],[109.71503,31.338644],[109.720972,31.349746],[109.730006,31.356176],[109.749892,31.35362],[109.761431,31.346951],[109.775032,31.354179],[109.775425,31.361527],[109.785638,31.361088],[109.789223,31.377857],[109.803315,31.378336],[109.821384,31.387638],[109.830468,31.388317],[109.853496,31.382209],[109.890126,31.392069],[109.911878,31.392149],[109.922828,31.394664],[109.935005,31.414381],[109.940553,31.427869],[109.937804,31.440836],[109.94183,31.448456],[109.938049,31.458748],[109.94291,31.475341]]]]},id:16489748,bbox:[108.694554,31.231981,109.98229,31.730002]},{type:\"Feature\",properties:{adcode:500240,code:50024e7,name:\"石柱县\",center:[108.112448,29.99853],centroid:[108.298494,30.093676],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:34,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[108.424054,30.488956],[108.42101,30.497176],[108.427786,30.512567],[108.412368,30.503059],[108.409962,30.517563],[108.399553,30.520504],[108.402253,30.529688],[108.409717,30.532749],[108.410404,30.543261],[108.404315,30.548295],[108.394593,30.536737],[108.378734,30.534884],[108.344657,30.476987],[108.338814,30.470337],[108.33248,30.449336],[108.317062,30.433129],[108.315835,30.425387],[108.298944,30.407562],[108.296538,30.401109],[108.275031,30.405546],[108.261479,30.388605],[108.254261,30.403529],[108.236732,30.409216],[108.223622,30.421274],[108.208351,30.408611],[108.186403,30.413854],[108.174619,30.410144],[108.152965,30.395019],[108.133128,30.362624],[108.12262,30.359799],[108.096449,30.358831],[108.084665,30.350115],[108.084419,30.343093],[108.094731,30.344667],[108.117072,30.329169],[108.127874,30.333487],[108.145894,30.334254],[108.163031,30.325294],[108.163473,30.321055],[108.147466,30.302606],[108.147318,30.297115],[108.127334,30.299982],[108.131606,30.288918],[108.129003,30.281125],[108.142212,30.273654],[108.141475,30.265495],[108.126303,30.255357],[108.129494,30.244531],[108.125861,30.235845],[108.121933,30.245824],[108.114273,30.251399],[108.103716,30.246995],[108.093994,30.253459],[108.097038,30.237259],[108.105533,30.232653],[108.101948,30.223482],[108.10843,30.219198],[108.124879,30.227199],[108.127383,30.223684],[108.119379,30.211803],[108.129887,30.210268],[108.120705,30.200568],[108.107595,30.207439],[108.085549,30.17862],[108.072438,30.175144],[108.070965,30.163702],[108.061587,30.157071],[108.075777,30.153917],[108.092374,30.129532],[108.083928,30.111209],[108.0554,30.072043],[108.037233,30.067591],[108.031144,30.072326],[108.034974,30.084183],[108.029622,30.089119],[108.021569,30.078032],[108.010571,30.071355],[108.00733,30.057028],[107.998492,30.053871],[108.007575,30.043508],[108.01661,30.042132],[108.02702,30.029056],[108.018476,30.014804],[108.024859,30.010957],[108.03247,29.990222],[108.018034,29.971589],[108.009687,29.978476],[108.002027,29.977544],[107.993336,29.96689],[108.014695,29.9472],[108.024908,29.934962],[108.036005,29.912225],[108.046316,29.912387],[108.049999,29.906226],[108.035907,29.90197],[108.042536,29.893456],[108.059869,29.889726],[108.071456,29.877157],[108.072488,29.870953],[108.058936,29.857246],[108.084125,29.838873],[108.099199,29.840657],[108.108823,29.848851],[108.122915,29.851771],[108.145992,29.846377],[108.14997,29.83011],[108.167008,29.838305],[108.172998,29.837656],[108.177859,29.822443],[108.190626,29.819441],[108.194014,29.812665],[108.18547,29.801628],[108.194112,29.790712],[108.217484,29.777887],[108.208204,29.764938],[108.204129,29.765182],[108.187925,29.743909],[108.178252,29.749877],[108.172213,29.745533],[108.17457,29.735463],[108.181051,29.734286],[108.169168,29.7087],[108.179529,29.699602],[108.174962,29.686075],[108.156157,29.676121],[108.156304,29.669579],[108.143587,29.659218],[108.149921,29.647636],[108.156107,29.644872],[108.168186,29.648083],[108.169267,29.658445],[108.195143,29.666979],[108.208891,29.685343],[108.205847,29.69948],[108.22156,29.712153],[108.217975,29.716336],[108.225193,29.725514],[108.22097,29.732499],[108.227992,29.747076],[108.239384,29.745289],[108.245669,29.750892],[108.27071,29.733149],[108.295752,29.729007],[108.298895,29.734773],[108.30513,29.72588],[108.315785,29.722793],[108.326391,29.711747],[108.350156,29.721047],[108.358013,29.720763],[108.373922,29.712803],[108.368078,29.726042],[108.365918,29.748537],[108.36091,29.756819],[108.383987,29.795501],[108.3942,29.816479],[108.368177,29.818913],[108.372841,29.834127],[108.371466,29.84159],[108.391598,29.853231],[108.386933,29.860004],[108.392777,29.863492],[108.402793,29.855908],[108.433776,29.880077],[108.453122,29.871683],[108.457394,29.865438],[108.468049,29.864181],[108.489163,29.867466],[108.495693,29.876914],[108.509049,29.878617],[108.517052,29.865479],[108.516169,29.885631],[108.524221,29.896821],[108.524074,29.911658],[108.515874,29.930383],[108.519458,29.943512],[108.534238,29.971833],[108.542634,29.99735],[108.528886,30.00545],[108.530703,30.043104],[108.526185,30.04954],[108.531783,30.055085],[108.524221,30.058647],[108.516414,30.05298],[108.516267,30.064232],[108.525252,30.073824],[108.532323,30.073702],[108.533207,30.084183],[108.546071,30.104372],[108.561489,30.144132],[108.56748,30.155697],[108.552258,30.163338],[108.553829,30.174537],[108.568904,30.225623],[108.56743,30.23435],[108.573519,30.237178],[108.58167,30.255882],[108.567332,30.254872],[108.562029,30.26287],[108.545237,30.269978],[108.54617,30.276279],[108.537921,30.278581],[108.533305,30.292108],[108.52486,30.294733],[108.526382,30.305271],[108.51499,30.315162],[108.498394,30.316332],[108.48273,30.33603],[108.46908,30.343819],[108.459898,30.359799],[108.451011,30.355603],[108.432696,30.35411],[108.421943,30.366457],[108.403284,30.374728],[108.399454,30.389412],[108.420912,30.394131],[108.425331,30.399052],[108.421697,30.410547],[108.430486,30.415628],[108.421206,30.4295],[108.411779,30.436919],[108.421796,30.448852],[108.421206,30.464372],[108.414332,30.475818],[108.424054,30.488956]]]]},id:16489749,bbox:[107.993336,29.644872,108.58167,30.548295]},{type:\"Feature\",properties:{adcode:500241,code:500241e6,name:\"秀山县\",center:[108.996043,28.444772],centroid:[109.018121,28.491722],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:35,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[108.723377,28.491963],[108.729416,28.470918],[108.749106,28.461052],[108.746749,28.450239],[108.773509,28.438315],[108.779303,28.427418],[108.763296,28.398585],[108.762805,28.385791],[108.783084,28.380402],[108.777732,28.367441],[108.777929,28.347236],[108.76143,28.324557],[108.770072,28.314965],[108.763738,28.305619],[108.741053,28.294914],[108.725783,28.280296],[108.7276,28.259827],[108.737567,28.251424],[108.739678,28.226252],[108.749548,28.22757],[108.758681,28.220236],[108.758533,28.196046],[108.765309,28.192131],[108.773313,28.213478],[108.796636,28.22378],[108.807389,28.242855],[108.821776,28.245121],[108.826539,28.22551],[108.836212,28.20738],[108.855116,28.199879],[108.864445,28.206143],[108.897245,28.219536],[108.91227,28.21558],[108.919488,28.217764],[108.933187,28.207874],[108.927884,28.20025],[108.929407,28.190565],[108.956609,28.182321],[108.979539,28.171274],[108.985775,28.161339],[109.001537,28.16138],[109.009786,28.167893],[109.014647,28.17923],[109.013812,28.199591],[109.026186,28.220154],[109.038215,28.217434],[109.041603,28.20536],[109.06144,28.200126],[109.070033,28.191471],[109.086384,28.184712],[109.089477,28.196252],[109.101409,28.201404],[109.096106,28.22106],[109.085353,28.232803],[109.081523,28.24854],[109.088004,28.261392],[109.095959,28.261804],[109.117563,28.278607],[109.11614,28.288614],[109.126844,28.296932],[109.14123,28.320564],[109.137744,28.33423],[109.150805,28.344684],[109.151689,28.350528],[109.138579,28.358635],[109.144766,28.36382],[109.153113,28.38106],[109.153653,28.39731],[109.157139,28.403398],[109.154291,28.417588],[109.164946,28.414997],[109.168383,28.432064],[109.176731,28.43153],[109.180708,28.439466],[109.176583,28.446169],[109.192394,28.464423],[109.191756,28.470877],[109.215521,28.48214],[109.229613,28.474906],[109.274344,28.494676],[109.271988,28.51399],[109.280384,28.5204],[109.274688,28.524837],[109.27459,28.539217],[109.288928,28.546324],[109.29482,28.566286],[109.304738,28.579017],[109.3205,28.579797],[109.309354,28.598808],[109.306604,28.62069],[109.300172,28.626436],[109.287013,28.626806],[109.278469,28.612439],[109.258878,28.605583],[109.249401,28.608662],[109.236144,28.619417],[109.201478,28.598439],[109.186355,28.610632],[109.181395,28.621716],[109.193131,28.636205],[109.202902,28.63797],[109.221069,28.649133],[109.251758,28.660828],[109.270907,28.671783],[109.266194,28.680194],[109.252936,28.691558],[109.265015,28.699474],[109.271497,28.698941],[109.28495,28.713871],[109.294672,28.71912],[109.28824,28.727322],[109.300663,28.739665],[109.297668,28.748152],[109.278469,28.751514],[109.273019,28.760902],[109.256177,28.765616],[109.261333,28.774962],[109.241299,28.776519],[109.241888,28.794266],[109.246406,28.801683],[109.245817,28.812992],[109.239679,28.827168],[109.242674,28.85105],[109.234032,28.863828],[109.235505,28.880372],[109.211004,28.882788],[109.197943,28.875131],[109.197599,28.870217],[109.175896,28.8515],[109.166223,28.852402],[109.157188,28.844824],[109.147908,28.84552],[109.130919,28.832453],[109.117465,28.83106],[109.111622,28.824669],[109.104502,28.826595],[109.093455,28.819261],[109.092718,28.809305],[109.106712,28.816311],[109.105681,28.805699],[109.094338,28.79234],[109.05982,28.768198],[109.062128,28.759385],[109.05653,28.741879],[109.044991,28.719325],[109.01941,28.690696],[108.999622,28.699228],[108.990636,28.67884],[108.982633,28.682327],[108.961126,28.630213],[108.954252,28.610016],[108.936723,28.616913],[108.915314,28.621962],[108.895379,28.614737],[108.881484,28.621716],[108.854821,28.613136],[108.839256,28.604146],[108.819174,28.60082],[108.815295,28.593471],[108.799877,28.583657],[108.785981,28.562096],[108.785294,28.54924],[108.775964,28.544968],[108.763984,28.545707],[108.753329,28.532972],[108.730889,28.517853],[108.723377,28.491963]]]]},id:16489750,bbox:[108.723377,28.161339,109.3205,28.882788]},{type:\"Feature\",properties:{adcode:500242,code:500242e6,name:\"酉阳县\",center:[108.767201,28.839828],centroid:[108.800321,28.89987],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:36,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[109.235505,28.880372],[109.239924,28.892042],[109.256864,28.907721],[109.25544,28.926141],[109.261038,28.950532],[109.272331,28.970949],[109.284165,28.972299],[109.292463,28.987639],[109.292365,29.004695],[109.295458,29.016391],[109.304836,29.020808],[109.319616,29.04256],[109.312251,29.066351],[109.301154,29.070643],[109.287847,29.07101],[109.266194,29.079552],[109.257748,29.086745],[109.237273,29.086704],[109.22593,29.113508],[109.232559,29.120086],[109.228533,29.129972],[109.215521,29.145289],[109.203098,29.151823],[109.18007,29.171955],[109.16254,29.180693],[109.154488,29.172363],[109.138824,29.169505],[109.123014,29.191267],[109.122965,29.199268],[109.110395,29.215105],[109.118545,29.232409],[109.141967,29.270475],[109.129986,29.282468],[109.106467,29.288545],[109.10465,29.293154],[109.113881,29.314196],[109.108725,29.319333],[109.114568,29.332787],[109.110002,29.342693],[109.112506,29.360995],[109.101704,29.373506],[109.090361,29.378681],[109.080786,29.390661],[109.06419,29.401743],[109.053191,29.40272],[109.039934,29.389805],[109.033453,29.378233],[109.034729,29.360261],[109.009786,29.36022],[108.999425,29.363929],[108.994761,29.355085],[108.985088,29.350479],[108.986168,29.336742],[108.97237,29.32924],[108.956069,29.330953],[108.919734,29.326305],[108.908784,29.312972],[108.903432,29.296416],[108.915462,29.293561],[108.919783,29.283732],[108.93903,29.274065],[108.954252,29.272066],[108.937607,29.244283],[108.925871,29.23347],[108.925135,29.222615],[108.915265,29.215513],[108.896607,29.209024],[108.882416,29.1791],[108.854625,29.133484],[108.855656,29.122659],[108.847702,29.105214],[108.833266,29.109995],[108.832087,29.117267],[108.812054,29.122047],[108.803756,29.129195],[108.784852,29.123272],[108.775768,29.124008],[108.774295,29.110485],[108.749008,29.10881],[108.747584,29.092384],[108.726912,29.080492],[108.700397,29.094427],[108.698777,29.101619],[108.686698,29.109341],[108.681984,29.105623],[108.668678,29.108156],[108.66416,29.103744],[108.669856,29.095939],[108.662835,29.090382],[108.667205,29.078776],[108.661313,29.071624],[108.646533,29.081841],[108.628906,29.072891],[108.622179,29.073422],[108.625665,29.08699],[108.614568,29.095408],[108.615206,29.109709],[108.60789,29.109014],[108.599396,29.086908],[108.587169,29.095081],[108.598266,29.105705],[108.570769,29.124416],[108.55869,29.13953],[108.534631,29.133975],[108.528198,29.128338],[108.527167,29.117798],[108.518329,29.100148],[108.505464,29.095326],[108.492109,29.095245],[108.473008,29.08462],[108.464858,29.087521],[108.456314,29.071951],[108.447279,29.066187],[108.434906,29.070643],[108.424987,29.057277],[108.415756,29.051268],[108.394446,29.053107],[108.373627,29.044849],[108.348143,29.027228],[108.331989,29.010911],[108.326686,29.000932],[108.312103,28.997497],[108.322954,28.953969],[108.339943,28.947872],[108.346916,28.941488],[108.350549,28.930316],[108.350353,28.907107],[108.357423,28.893393],[108.355312,28.870831],[108.346425,28.856333],[108.355165,28.831634],[108.354232,28.814263],[108.382416,28.805781],[108.386492,28.801642],[108.388996,28.785823],[108.385264,28.772216],[108.375051,28.767092],[108.372498,28.760164],[108.347259,28.736302],[108.347898,28.710262],[108.340238,28.689671],[108.332529,28.679579],[108.344019,28.673425],[108.35217,28.676091],[108.39096,28.651759],[108.421697,28.643346],[108.43903,28.633989],[108.461371,28.634153],[108.471142,28.627791],[108.491274,28.630582],[108.500996,28.626642],[108.502715,28.637601],[108.517985,28.639981],[108.524614,28.647122],[108.53851,28.652703],[108.548723,28.64782],[108.561146,28.649174],[108.564828,28.661156],[108.574796,28.660336],[108.586482,28.64704],[108.585303,28.639653],[108.596155,28.64035],[108.609019,28.633619],[108.623259,28.641418],[108.632343,28.638914],[108.636025,28.621757],[108.618889,28.606527],[108.604453,28.589529],[108.610934,28.539381],[108.58933,28.538601],[108.576858,28.533794],[108.573224,28.528124],[108.578036,28.509018],[108.574943,28.497676],[108.589182,28.473837],[108.586776,28.463066],[108.597235,28.456817],[108.602833,28.438849],[108.609952,28.435683],[108.608823,28.407306],[108.587415,28.404961],[108.577545,28.390193],[108.576367,28.364314],[108.580099,28.343285],[108.598021,28.34205],[108.606466,28.336576],[108.611573,28.324557],[108.630771,28.328014],[108.639855,28.333201],[108.647466,28.331101],[108.667352,28.334436],[108.677418,28.345795],[108.670102,28.354396],[108.659103,28.350322],[108.657041,28.362215],[108.664701,28.38287],[108.693523,28.395171],[108.696813,28.404591],[108.690921,28.410555],[108.688318,28.422318],[108.669856,28.431489],[108.663915,28.444318],[108.641476,28.455707],[108.645256,28.468616],[108.658661,28.47803],[108.671133,28.475276],[108.688613,28.482469],[108.701428,28.482469],[108.709727,28.501087],[108.723377,28.491963],[108.730889,28.517853],[108.753329,28.532972],[108.763984,28.545707],[108.775964,28.544968],[108.785294,28.54924],[108.785981,28.562096],[108.799877,28.583657],[108.815295,28.593471],[108.819174,28.60082],[108.839256,28.604146],[108.854821,28.613136],[108.881484,28.621716],[108.895379,28.614737],[108.915314,28.621962],[108.936723,28.616913],[108.954252,28.610016],[108.961126,28.630213],[108.982633,28.682327],[108.990636,28.67884],[108.999622,28.699228],[109.01941,28.690696],[109.044991,28.719325],[109.05653,28.741879],[109.062128,28.759385],[109.05982,28.768198],[109.094338,28.79234],[109.105681,28.805699],[109.106712,28.816311],[109.092718,28.809305],[109.093455,28.819261],[109.104502,28.826595],[109.111622,28.824669],[109.117465,28.83106],[109.130919,28.832453],[109.147908,28.84552],[109.157188,28.844824],[109.166223,28.852402],[109.175896,28.8515],[109.197599,28.870217],[109.197943,28.875131],[109.211004,28.882788],[109.235505,28.880372]]]]},id:16489751,bbox:[108.312103,28.324557,109.319616,29.40272]},{type:\"Feature\",properties:{adcode:500243,code:500243e6,name:\"彭水县\",center:[108.166551,29.293856],centroid:[108.266309,29.353956],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:37,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[108.312103,28.997497],[108.326686,29.000932],[108.331989,29.010911],[108.348143,29.027228],[108.373627,29.044849],[108.394446,29.053107],[108.415756,29.051268],[108.424987,29.057277],[108.434906,29.070643],[108.447279,29.066187],[108.456314,29.071951],[108.464858,29.087521],[108.473008,29.08462],[108.492109,29.095245],[108.505464,29.095326],[108.518329,29.100148],[108.527167,29.117798],[108.528198,29.128338],[108.534631,29.133975],[108.55869,29.13953],[108.570671,29.152313],[108.574403,29.164115],[108.556775,29.184857],[108.548919,29.205064],[108.555597,29.218738],[108.569247,29.224941],[108.568314,29.236245],[108.575778,29.252362],[108.571948,29.265703],[108.583192,29.278063],[108.584272,29.285812],[108.573568,29.302411],[108.560409,29.306081],[108.549459,29.315378],[108.549705,29.328303],[108.561538,29.352598],[108.550196,29.371754],[108.547201,29.381697],[108.552995,29.390539],[108.555843,29.412701],[108.576367,29.41706],[108.59257,29.442963],[108.581228,29.464911],[108.585549,29.477328],[108.561686,29.491657],[108.539688,29.491697],[108.50954,29.50285],[108.501242,29.49996],[108.494711,29.515099],[108.506054,29.536868],[108.515334,29.543948],[108.536251,29.540001],[108.547643,29.547406],[108.548379,29.557575],[108.534532,29.572177],[108.534974,29.588851],[108.516709,29.602148],[108.512633,29.614467],[108.507036,29.611093],[108.499965,29.622069],[108.487199,29.624102],[108.489997,29.642515],[108.504139,29.666288],[108.503549,29.67669],[108.52373,29.683109],[108.526676,29.696759],[108.506446,29.708172],[108.489506,29.723199],[108.467656,29.729697],[108.460487,29.740904],[108.437115,29.740782],[108.438588,29.75617],[108.445462,29.76437],[108.444235,29.776913],[108.421304,29.774153],[108.416984,29.787344],[108.425478,29.804185],[108.424496,29.815302],[108.408882,29.820658],[108.404561,29.834451],[108.393169,29.83583],[108.3942,29.816479],[108.383987,29.795501],[108.36091,29.756819],[108.365918,29.748537],[108.368078,29.726042],[108.373922,29.712803],[108.358013,29.720763],[108.350156,29.721047],[108.326391,29.711747],[108.315785,29.722793],[108.30513,29.72588],[108.298895,29.734773],[108.295752,29.729007],[108.27071,29.733149],[108.245669,29.750892],[108.239384,29.745289],[108.227992,29.747076],[108.22097,29.732499],[108.225193,29.725514],[108.217975,29.716336],[108.22156,29.712153],[108.205847,29.69948],[108.208891,29.685343],[108.195143,29.666979],[108.169267,29.658445],[108.168186,29.648083],[108.17894,29.647839],[108.182033,29.625972],[108.178547,29.619183],[108.167499,29.617679],[108.163374,29.603612],[108.153652,29.599749],[108.132391,29.603815],[108.117366,29.603449],[108.114175,29.599302],[108.098757,29.600684],[108.082161,29.611377],[108.078773,29.618817],[108.067872,29.614223],[108.076563,29.605726],[108.084026,29.588892],[108.075876,29.577627],[108.066153,29.575472],[108.066988,29.566687],[108.075826,29.557982],[108.074059,29.549073],[108.055793,29.531783],[108.015432,29.504559],[108.017347,29.483719],[108.013959,29.469674],[108.013075,29.448786],[108.002763,29.442108],[108.004286,29.428424],[107.989653,29.416856],[107.992796,29.397383],[107.988426,29.38027],[107.976641,29.36344],[107.983319,29.350397],[107.984301,29.339188],[107.992059,29.325408],[108.003304,29.315174],[107.996282,29.288545],[107.998983,29.273943],[107.99697,29.26248],[108.010325,29.247792],[108.006446,29.229267],[107.997804,29.236857],[107.986756,29.217799],[107.973057,29.210166],[107.970111,29.198492],[107.960143,29.188695],[107.94286,29.178243],[107.934905,29.185102],[107.911975,29.190328],[107.898865,29.184245],[107.903775,29.172282],[107.899896,29.166361],[107.892727,29.134138],[107.895133,29.117185],[107.883889,29.106195],[107.889486,29.085151],[107.883938,29.078163],[107.873086,29.074852],[107.874707,29.057031],[107.849567,29.039289],[107.838421,29.040597],[107.823543,29.034219],[107.821186,29.005758],[107.810433,28.984285],[107.82811,28.976144],[107.842005,28.964648],[107.867538,28.960475],[107.872006,28.983058],[107.883054,28.986535],[107.887571,29.000114],[107.885215,29.008417],[107.908783,29.007353],[107.931124,29.035241],[107.949292,29.033729],[107.993925,29.033851],[108.02427,29.038676],[108.034532,29.046771],[108.035956,29.054047],[108.070474,29.086418],[108.109854,29.076078],[108.130624,29.063326],[108.132686,29.054088],[108.150068,29.053311],[108.171427,29.06537],[108.197745,29.070643],[108.204718,29.056786],[108.215029,29.056132],[108.230398,29.046975],[108.224653,29.031562],[108.24228,29.028372],[108.256962,29.041987],[108.260203,29.063735],[108.268648,29.077795],[108.270612,29.090913],[108.28657,29.089197],[108.301939,29.083067],[108.307193,29.077509],[108.297863,29.047179],[108.309795,29.018436],[108.308715,29.003386],[108.312103,28.997497]]]]},id:16489752,bbox:[107.810433,28.960475,108.59257,29.83583]},{type:\"Feature\",id:16489753,properties:{_draw_type:\"fill\",adcode:500192,code:500192e6,name:\"万盛经开区\",childrenNum:0,level:\"district\",centroid:[106.92,28.97],parent:{adcode:5e5},subFeatureIndex:38,acroutes:[1e5,5e5]},geometry:{type:\"Polygon\",coordinates:[[[106.82425108,28.75618476],[106.83310078,28.76880648],[106.8382729,28.76544485],[106.84513525,28.77968688],[106.86027319,28.7802176],[106.86531921,28.77411413],[106.87324154,28.77968668],[106.89635181,28.80091339],[106.9053337,28.79578398],[106.92329731,28.80975664],[106.93914173,28.7849053],[106.94872905,28.77765223],[106.95120174,28.76635097],[106.98803712,28.77510856],[106.98097279,28.80964518],[106.98808754,28.82856646],[106.98415187,28.85033538],[107.01856522,28.85935109],[107.01614308,28.88197547],[107.03592335,28.88126853],[107.03794172,28.86332838],[107.05873111,28.8689847],[107.04510701,28.87481749],[107.05247421,28.89054676],[107.05731816,28.89500838],[107.04722632,28.91303135],[107.0596898,28.94036872],[107.02749658,28.94407796],[107.01639549,28.95123115],[107.01356965,28.96911161],[107.02194597,28.97308466],[107.02971683,28.98588577],[107.02477184,28.99577249],[107.01687462,28.99917056],[107.00415897,29.01567503],[106.9901312,29.02052881],[106.98034204,29.0317358],[106.98125033,29.03967705],[106.98871841,29.04338277],[106.97708736,29.05577777],[106.97577537,29.05021987],[106.96386696,29.05815964],[106.9545824,29.05921823],[106.94994016,29.07165589],[106.93873802,29.04192661],[106.92662774,29.04801428],[106.91976525,29.04572042],[106.91532478,29.05463092],[106.90836135,29.05516023],[106.90785678,29.05021987],[106.90472828,29.05101388],[106.90775575,29.0739492],[106.91239805,29.07588966],[106.91136359,29.07736673],[106.9002625,29.07463252],[106.88906052,29.08142381],[106.87967504,29.1006488],[106.86857388,29.10814385],[106.85585799,29.11264063],[106.84899551,29.10329417],[106.83890357,29.10258874],[106.8499038,29.06287854],[106.87977596,29.01510026],[106.87553736,29.01165834],[106.86968404,29.01571803],[106.86544543,29.01386471],[106.87109684,28.99963257],[106.86120679,28.98268394],[106.86039952,28.96573267],[106.84990371,28.95871274],[106.84778437,28.96259796],[106.84505953,28.96242136],[106.84818816,28.946703],[106.85474793,28.94714456],[106.82939198,28.8678103],[106.82939195,28.8751455],[106.80547396,28.88018264],[106.80517136,28.86365641],[106.78569395,28.8621539],[106.77307883,28.83483958],[106.76571177,28.83050754],[106.77196887,28.82520277],[106.7801433,28.82803201],[106.78145546,28.81353137],[106.77691409,28.81441561],[106.76954683,28.82369971],[106.76591373,28.82387653],[106.76470279,28.81892512],[106.75703294,28.81821776],[106.7566293,28.8167146],[106.76581295,28.81644933],[106.77701512,28.80760677],[106.77055655,28.79328029],[106.78347418,28.7903617],[106.79033657,28.79637567],[106.79618986,28.79655255],[106.79629071,28.8013281],[106.79084109,28.80221244],[106.79185022,28.80654561],[106.78518927,28.8279436],[106.80718961,28.83881783],[106.81839171,28.83625409],[106.81385042,28.82414179],[106.80819897,28.82060509],[106.80234564,28.82131244],[106.80052901,28.790317],[106.7951803,28.78960944],[106.78589583,28.78058765],[106.78387756,28.7724497],[106.78862079,28.77006128],[106.78389088,28.76103205],[106.77743497,28.75244981],[106.77785698,28.75019316],[106.78878582,28.75041513],[106.79135983,28.74723357],[106.79308988,28.74686361],[106.79583262,28.74867638],[106.81035116,28.75447327],[106.81581742,28.75207714],[106.82425108,28.75618476]]]},bbox:[106.7566293,28.74686361,107.0596898,29.11264063]},{type:\"Feature\",id:16489754,properties:{code:500191e6,_draw_type:\"fill\",name:\"两江新区\",centroid:[106.566022,29.642726],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:39,acroutes:[1e5,5e5]},geometry:{type:\"Polygon\",coordinates:[[[106.76613747,29.60965191],[106.81656212,29.59922805],[106.8184558,29.61102793],[106.81319541,29.61669871],[106.82813481,29.62986839],[106.83549934,29.62840518],[106.85191176,29.64760827],[106.85472602,29.65323217],[106.86230093,29.65304931],[106.86408946,29.6605462],[106.8688238,29.66849962],[106.87314628,29.6700075],[106.8760116,29.67173109],[106.87872997,29.67549736],[106.88005243,29.67715704],[106.87850954,29.67958266],[106.87990546,29.68226356],[106.87711357,29.68551884],[106.87792186,29.69517251],[106.88210964,29.69632128],[106.88886886,29.7065959],[106.88490145,29.708957],[106.88534225,29.71813003],[106.8901913,29.71819383],[106.89342399,29.72546763],[106.90135881,29.73940755],[106.88673819,29.74425576],[106.89188115,29.75640725],[106.90025675,29.76699461],[106.91561202,29.79612021],[106.92229047,29.81037232],[106.92732198,29.81382229],[106.93176486,29.82844011],[106.92699952,29.83350652],[106.91660892,29.83561231],[106.91768379,29.83946625],[106.91367084,29.8428228],[106.90800975,29.84052295],[106.89958093,29.84206139],[106.89879266,29.84669198],[106.89764608,29.85026579],[106.89345403,29.84802828],[106.89069515,29.84809044],[106.88962023,29.85054548],[106.88619853,29.84892181],[106.8843354,29.84690182],[106.88318887,29.84447778],[106.88214984,29.8414632],[106.88120926,29.8391789],[106.88360985,29.83588441],[106.88411146,29.83373982],[106.88360985,29.83249657],[106.88117343,29.82760116],[106.88131675,29.82505229],[106.88160339,29.82268988],[106.878952,29.82191276],[106.87282509,29.82837824],[106.86669828,29.83321928],[106.86257788,29.83247333],[106.8602848,29.83126115],[106.86669823,29.82633458],[106.86694906,29.82428303],[106.86110884,29.82472605],[106.85433707,29.81700144],[106.85075409,29.81961266],[106.84436743,29.81648861],[106.83617144,29.80548329],[106.83219435,29.80464386],[106.82732153,29.80455059],[106.83058201,29.80936947],[106.82649742,29.81048866],[106.8235953,29.8118333],[106.82696325,29.81487985],[106.82939966,29.81397833],[106.83380668,29.81805067],[106.82939964,29.82022667],[106.8243835,29.81985364],[106.82219788,29.82156333],[106.81808644,29.82069295],[106.81432433,29.82004016],[106.81109965,29.82196744],[106.80744504,29.82004016],[106.80350381,29.81764655],[106.80061054,29.81976039],[106.79928484,29.82140791],[106.79992977,29.82675442],[106.79710817,29.82637369],[106.79714404,29.83572936],[106.80287673,29.84291653],[106.80663892,29.85208423],[106.80183777,29.85590647],[106.80212442,29.8573359],[106.80112118,29.85739802],[106.79900142,29.8587693],[106.7951021,29.86003743],[106.79251878,29.85957245],[106.78935057,29.85948791],[106.78886317,29.86122101],[106.7895943,29.86329224],[106.79349365,29.86523663],[106.78827158,29.8694795],[106.78808727,29.87224989],[106.78802585,29.87573943],[106.78452382,29.87728438],[106.77864089,29.88328346],[106.77613348,29.886144],[106.77226238,29.88889005],[106.77358211,29.89451528],[106.77133865,29.89539241],[106.76737961,29.89459155],[106.76438835,29.89173128],[106.76364054,29.89033936],[106.7626728,29.88774596],[106.76637942,29.88316151],[106.75823722,29.88293378],[106.7540932,29.86506169],[106.75114568,29.85451409],[106.74521413,29.85509623],[106.74430945,29.85350166],[106.74702351,29.85231205],[106.73275275,29.84837611],[106.72903104,29.84801044],[106.72650412,29.85278629],[106.72145027,29.85752923],[106.71579294,29.86191218],[106.71064481,29.86318778],[106.70589266,29.86181406],[106.70174396,29.8632532],[106.68448922,29.86615598],[106.68354633,29.86749692],[106.6804913,29.8788453],[106.66479999,29.87826523],[106.6579897,29.86683199],[106.6502774,29.8638595],[106.64676403,29.85040793],[106.63386934,29.83945658],[106.62033913,29.84004833],[106.61698494,29.85010754],[106.62920768,29.85805828],[106.62483025,29.86358008],[106.61539315,29.87087632],[106.61272118,29.87551017],[106.60737729,29.87447496],[106.60345475,29.86550279],[106.59583699,29.85894573],[106.58993861,29.85289362],[106.58175219,29.85501378],[106.57970558,29.85802139],[106.57674937,29.85846512],[106.57356577,29.85693667],[106.56529413,29.86080707],[106.54585149,29.86248333],[106.54266793,29.85553161],[106.53345828,29.85558091],[106.52544248,29.85474273],[106.51680124,29.86228613],[106.5147262,29.84488136],[106.51097408,29.83750962],[106.49892196,29.82611755],[106.49625004,29.82478592],[106.47822871,29.82493388],[106.47691171,29.81953154],[106.47265043,29.81832042],[106.47162188,29.81353955],[106.46442184,29.80926846],[106.47044645,29.80161832],[106.47448732,29.79798431],[106.47830778,29.79441394],[106.47419347,29.79377636],[106.46783816,29.78985514],[106.46342994,29.7843715],[106.45512782,29.77850498],[106.45079309,29.77627306],[106.44763391,29.77136268],[106.4484419,29.76819019],[106.4460174,29.76219507],[106.4441072,29.75568935],[106.44138886,29.74682307],[106.43999298,29.73986987],[106.4385236,29.73744571],[106.43617261,29.73074708],[106.44043385,29.7330438],[106.44359305,29.73521288],[106.45027882,29.73438353],[106.45843394,29.72977425],[106.45608292,29.71637539],[106.46071154,29.71509922],[106.46820551,29.69600272],[106.45703803,29.68725884],[106.4575523,29.66865179],[106.46982186,29.65747943],[106.46835244,29.64573123],[106.45211553,29.63209775],[106.45299721,29.6200911],[106.4630626,29.61613116],[106.46181359,29.60808304],[106.45189519,29.5862349],[106.46365035,29.58086794],[106.4877486,29.55506752],[106.49414051,29.55468406],[106.50236921,29.55749609],[106.53028783,29.55231934],[106.54556963,29.56660294],[106.5605575,29.56711416],[106.57245956,29.56276872],[106.58810877,29.57088433],[106.5812395,29.57856832],[106.58021099,29.59006889],[106.58964293,29.60928714],[106.60217631,29.61539572],[106.62335012,29.61473535],[106.63331964,29.5918675],[106.64262461,29.58683096],[106.65658222,29.59178494],[106.67281882,29.56598027],[106.68307331,29.56226385],[106.69266326,29.56465889],[106.70889985,29.57729394],[106.73126033,29.58334292],[106.74075528,29.58961813],[106.74892107,29.6079462],[106.76613747,29.60965191]]]},bbox:[106.43617261,29.55231934,106.93176486,29.89539241]},{type:\"Feature\",id:856754,properties:{code:500193e6,_draw_type:\"fill\",name:\"高新区\",childrenNum:0,centroid:[106.25145961,29.36968917],level:\"district\",parent:{adcode:5e5},subFeatureIndex:40,acroutes:[1e5,5e5]},geometry:{type:\"Polygon\",coordinates:[[[106.41368894,29.54091269],[106.40341363,29.54071622],[106.39765496,29.53708139],[106.39618704,29.54071622],[106.39121877,29.54051975],[106.39268655,29.56173683],[106.39318915,29.57041296],[106.39454412,29.57434119],[106.39454408,29.58033146],[106.39510862,29.58808884],[106.39623775,29.59388195],[106.39759272,29.59820273],[106.39544729,29.60370076],[106.39714102,29.60586063],[106.39767989,29.61385034],[106.39594577,29.61625129],[106.39067921,29.61680964],[106.38933048,29.61418536],[106.38984432,29.6097742],[106.38489891,29.60971836],[106.37770558,29.61038843],[106.3789258,29.61703298],[106.37789806,29.6284227],[106.36871367,29.62825521],[106.36396108,29.63103306],[106.36511712,29.63678307],[106.3586945,29.63784372],[106.35291417,29.63505252],[106.35278557,29.62598061],[106.35302312,29.60964611],[106.34530384,29.60748118],[106.32812222,29.60755334],[106.3285372,29.61462528],[106.31318162,29.61419231],[106.31363807,29.62718042],[106.30965391,29.62703612],[106.31147998,29.63288025],[106.30093853,29.63259166],[106.2868903,29.63273596],[106.28763733,29.63569398],[106.27917096,29.63800263],[106.2731117,29.63093224],[106.28257414,29.62689181],[106.27477639,29.6118621],[106.26572887,29.60602595],[106.25145961,29.5589863],[106.25330287,29.5325945],[106.25330288,29.51949593],[106.26205852,29.51668888],[106.26093233,29.49421297],[106.26708633,29.49499192],[106.26033678,29.46544068],[106.26271897,29.45161265],[106.27860021,29.44815535],[106.28574675,29.44175905],[106.29904728,29.44003025],[106.30778193,29.43415212],[106.30713603,29.42688512],[106.3206859,29.42760979],[106.32282538,29.42005232],[106.31700134,29.4149792],[106.32924374,29.41352969],[106.33090779,29.3950985],[106.32567794,29.38955837],[106.33601865,29.38852274],[106.34148617,29.38986905],[106.35051941,29.38769423],[106.35907724,29.38831561],[106.36050358,29.39359722],[106.36929912,29.39256163],[106.38249246,29.39307943],[106.38653365,29.39359722],[106.3966568,29.37333121],[106.40459743,29.36968917],[106.40794085,29.37442383],[106.40647812,29.38025081],[106.39832856,29.38553124],[106.39268639,29.40783455],[106.39811944,29.41347755],[106.39373125,29.42985868],[106.39853743,29.44023205],[106.40564226,29.45242645],[106.40814986,29.46934724],[106.40898549,29.48667561],[106.40752277,29.49340552],[106.41107519,29.50577286],[106.412538,29.52213913],[106.41368894,29.54091269]]]},bbox:[106.25145961,29.36968917,106.41368894,29.63800263]}]}},b2a0:function(t,e,n){\"use strict\";n.d(e,\"c\",(function(){return a})),n.d(e,\"b\",(function(){return s})),n.d(e,\"a\",(function(){return l}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"17f7\");function a(t,e,n,a){var s=Object(r[\"ib\"])(t,(function(t,i){var r=i[n],a=t.has(r)?t.get(r):0,s=i[e];return a=Object(o[\"b\"])(s)?a+s:a,t.set(r,a),t}),new Map);return Object(r[\"W\"])(t,(function(t){var r,l=t[e],c=t[n],u=Object(o[\"b\"])(l)&&0!==s.get(c)?l/s.get(c):0;return Object(i[\"a\"])(Object(i[\"a\"])({},t),(r={},r[a]=u,r))}))}function s(t,e,n,a){var s=Object(r[\"ib\"])(t,(function(t,i){var a=Object(r[\"ib\"])(n,(function(t,e){return\"\"+t+i[e]}),\"\"),s=t.has(a)?t.get(a):0,l=i[e];return s=Object(o[\"b\"])(l)?s+l:s,t.set(a,s),t}),new Map);return Object(r[\"W\"])(t,(function(t){var l,c=t[e],u=Object(r[\"ib\"])(n,(function(e,n){return\"\"+e+t[n]}),\"\"),h=Object(o[\"b\"])(c)&&0!==s.get(u)?c/s.get(u):0;return Object(i[\"a\"])(Object(i[\"a\"])({},t),(l={},l[a]=h,l))}))}function l(t,e,n,i,r){return r?a(t,e,n,i):t}},b2c8:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return u}));var i=n(\"c34d\"),r=n(\"b4aa\"),o=n(\"62e3\"),a=n(\"8582\");n.d(e,\"b\",(function(){return a[\"b\"]}));var s=n(\"edcb\"),l=n(\"9457\");function c(t){var e=t.chart,n=t.options,i=n.data,a=n.color,c=n.lineStyle,u=n.point,h=null===u||void 0===u?void 0:u.state,d=Object(l[\"a\"])(i);e.data(d);var p=Object(o[\"d\"])({},t,{options:{xField:s[\"c\"],yField:s[\"d\"],line:{color:a,style:c},point:u}}),f=Object(o[\"d\"])({},p,{options:{tooltip:!1,state:h}});return Object(r[\"d\"])(p),Object(r[\"e\"])(f),e.axis(!1),e.legend(!1),t}function u(t){return Object(o[\"g\"])(c,a[\"b\"],i[\"k\"],i[\"l\"],i[\"a\"],Object(i[\"b\"])())(t)}},b2cb:function(t,e,n){\"use strict\";n.d(e,\"j\",(function(){return r})),n.d(e,\"c\",(function(){return o})),n.d(e,\"g\",(function(){return a})),n.d(e,\"b\",(function(){return s}));var i=n(\"8937\");function r(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}n.d(e,\"e\",(function(){return i[\"K\"]})),n.d(e,\"d\",(function(){return i[\"I\"]})),n.d(e,\"h\",(function(){return i[\"Q\"]})),n.d(e,\"f\",(function(){return i[\"O\"]})),n.d(e,\"i\",(function(){return i[\"db\"]})),n.d(e,\"a\",(function(){return i[\"j\"]})),n.d(e,\"k\",(function(){return i[\"wb\"]}));var o=\"undefined\"!==typeof window&&\"undefined\"!==typeof window.document;function a(t,e){if(t.isCanvas())return!0;var n=e.getParent(),i=!1;while(n){if(n===t){i=!0;break}n=n.getParent()}return i}function s(t){return t.cfg.visible&&t.cfg.capture}},b3de:function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return o})),n.d(e,\"c\",(function(){return a})),n.d(e,\"a\",(function(){return s}));var i=n(\"cc94\"),r=n(\"62e3\"),o=\"range\",a=\"count\",s=Object(r[\"d\"])({},i[\"b\"].getDefaultOptions(),{columnStyle:{stroke:\"#FFFFFF\"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:\"active-region\"}]})},b44e:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c}));var i=n(\"9ab48\"),r=n(\"917c\"),o=n(\"cc94\"),a=n(\"62e3\"),s=n(\"5cc9\"),l=Object(a[\"d\"])({},o[\"b\"].getDefaultOptions(),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:\"xy\"}}}),c=(n(\"c88a\"),function(t){function e(e,n){var o=t.call(this,e,n)||this;return o.type=\"scatter\",o.on(r[\"i\"].BEFORE_RENDER,(function(t){var e,n,a=o,l=a.options,c=a.chart;if((null===(e=t.data)||void 0===e?void 0:e.source)===r[\"b\"].FILTER){var u=o.chart.filterData(o.chart.getData());Object(s[\"b\"])({chart:c,options:Object(i[\"a\"])(Object(i[\"a\"])({},l),{data:u})})}(null===(n=t.data)||void 0===n?void 0:n.source)===r[\"b\"].RESET&&Object(s[\"b\"])({chart:c,options:l})})),o}return Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return l},e.prototype.changeData=function(t){this.updateOption(Object(s[\"c\"])(Object(a[\"d\"])({},this.options,{data:t})));var e=this,n=e.options,i=e.chart;Object(s[\"b\"])({chart:i,options:n}),this.chart.changeData(t)},e.prototype.getSchemaAdaptor=function(){return s[\"a\"]},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(o[\"b\"]))},b4aa:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return s})),n.d(e,\"b\",(function(){return l})),n.d(e,\"c\",(function(){return d})),n.d(e,\"d\",(function(){return p})),n.d(e,\"e\",(function(){return f[\"a\"]})),n.d(e,\"f\",(function(){return g[\"a\"]})),n.d(e,\"g\",(function(){return y})),n.d(e,\"h\",(function(){return v}));var i=n(\"9ab48\"),r=n(\"62e3\"),o=n(\"e474\"),a=n(\"58e4\");function s(t){var e=t.options,n=e.area,s=e.xField,l=e.yField,c=e.seriesField,u=e.smooth,h=e.tooltip,d=e.useDeferredLabel,p=Object(o[\"a\"])(h,[s,l,c]),f=p.fields,g=p.formatter;return n?Object(a[\"a\"])(Object(r[\"d\"])({},t,{options:{type:\"area\",colorField:c,tooltipFields:f,mapping:Object(i[\"a\"])({shape:u?\"smooth\":\"area\",tooltip:g},n),args:{useDeferredLabel:d}}})):t}function l(t){var e=t.options,n=e.edge,s=e.xField,l=e.yField,c=e.seriesField,u=e.tooltip,h=e.useDeferredLabel,d=Object(o[\"a\"])(u,[s,l,c]),p=d.fields,f=d.formatter;return n?Object(a[\"a\"])(Object(r[\"d\"])({},t,{options:{type:\"edge\",colorField:c,tooltipFields:p,mapping:Object(i[\"a\"])({tooltip:f},n),args:{useDeferredLabel:h}}})):t}var c=n(\"917c\"),u=n(\"8937\");function h(t){var e=t.chart,n=t.options,i=t.ext,o=n.seriesField,a=n.isGroup,s=n.isStack,l=n.marginRatio,h=n.widthRatio,d=n.groupField,p=n.theme,f=[];if(o&&(a&&f.push({type:\"dodge\",dodgeBy:d||o,marginRatio:l}),s&&f.push({type:\"stack\",marginRatio:l})),f.length&&(null===i||void 0===i?void 0:i.geometry)){var g=null===i||void 0===i?void 0:i.geometry;g.adjust(f)}return Object(u[\"K\"])(h)||e.theme(Object(r[\"d\"])({},Object(u[\"O\"])(p)?p:Object(c[\"k\"])(p),{columnWidthRatio:h})),t}function d(t){var e=t.options,n=e.xField,s=e.yField,l=e.interval,c=e.seriesField,u=e.tooltip,d=e.minColumnWidth,p=e.maxColumnWidth,f=e.columnBackground,g=e.dodgePadding,y=e.intervalPadding,v=e.useDeferredLabel,m=Object(o[\"a\"])(u,[n,s,c]),b=m.fields,x=m.formatter,O=(l?Object(a[\"a\"])(Object(r[\"d\"])({},t,{options:{type:\"interval\",colorField:c,tooltipFields:b,mapping:Object(i[\"a\"])({tooltip:x},l),args:{dodgePadding:g,intervalPadding:y,minColumnWidth:d,maxColumnWidth:p,background:f,useDeferredLabel:v}}})):t).ext;return h(Object(i[\"a\"])(Object(i[\"a\"])({},t),{ext:O}))}function p(t){var e=t.options,n=e.line,i=e.stepType,s=e.xField,l=e.yField,c=e.seriesField,h=e.smooth,d=e.connectNulls,p=e.tooltip,f=e.useDeferredLabel,g=Object(o[\"a\"])(p,[s,l,c]),y=g.fields,v=g.formatter;return n?Object(a[\"a\"])(Object(r[\"d\"])({},t,{options:{type:\"line\",colorField:c,tooltipFields:y,mapping:Object(u[\"h\"])({shape:i||(h?\"smooth\":\"line\"),tooltip:v},n),args:{connectNulls:d,useDeferredLabel:f}}})):t}var f=n(\"a0c4\"),g=n(\"28c6\");function y(t){var e=t.options,n=e.schema,s=e.xField,l=e.yField,c=e.seriesField,u=e.tooltip,h=e.useDeferredLabel,d=Object(o[\"a\"])(u,[s,l,c]),p=d.fields,f=d.formatter;return n?Object(a[\"a\"])(Object(r[\"d\"])({},t,{options:{type:\"schema\",colorField:c,tooltipFields:p,mapping:Object(i[\"a\"])({tooltip:f},n),args:{useDeferredLabel:h}}})):t}function v(t){var e=t.options,n=e.violin,s=e.xField,l=e.yField,c=e.seriesField,u=e.sizeField,h=e.tooltip,d=Object(o[\"a\"])(h,[s,l,c,u]),p=d.fields,f=d.formatter;return n?Object(a[\"a\"])(Object(r[\"d\"])({},t,{options:{type:\"violin\",colorField:c,tooltipFields:p,mapping:Object(i[\"a\"])({tooltip:f},n)}})):t}},b5d5:function(t,e){},b6f4:function(t,e,n){\"use strict\";var i=n(\"0dd4\"),r=n(\"2388\"),o=n(\"21e5\"),a=n(\"092b\");e[\"a\"]=function(){var t=r[\"a\"],e=!1,n=1,s=1,l=[0],c=a[\"a\"],u=a[\"a\"],h=a[\"a\"],d=a[\"a\"],p=a[\"a\"];function f(t){return t.x0=t.y0=0,t.x1=n,t.y1=s,t.eachBefore(g),l=[0],e&&t.eachBefore(i[\"a\"]),t}function g(e){var n=l[e.depth],i=e.x0+n,r=e.y0+n,o=e.x1-n,a=e.y1-n;o2&&(n.push([r].concat(s.splice(0,2))),l=\"l\",r=\"m\"===r?\"l\":\"L\"),\"o\"===l&&1===s.length&&n.push([r,s[0]]),\"r\"===l)n.push([r].concat(s));else while(s.length>=e[l])if(n.push([r].concat(s.splice(0,e[l]))),!e[l])break;return t})),n},l=function(t,e){for(var n=[],i=0,r=t.length;r-2*!e>i;i+=2){var o=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?r-4===i?o[3]={x:+t[0],y:+t[1]}:r-2===i&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[r-2],y:+t[r-1]}:r-4===i?o[3]=o[2]:i||(o[0]={x:+t[i],y:+t[i+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},c=function(t,e,n,i,r){var o=[];if(null===r&&null===i&&(i=n),t=+t,e=+e,n=+n,i=+i,null!==r){var a=Math.PI/180,s=t+n*Math.cos(-i*a),l=t+n*Math.cos(-r*a),c=e+n*Math.sin(-i*a),u=e+n*Math.sin(-r*a);o=[[\"M\",s,c],[\"A\",n,n,0,+(r-i>180),0,l,u]]}else o=[[\"M\",t,e],[\"m\",0,-i],[\"a\",n,i,0,1,1,0,2*i],[\"a\",n,i,0,1,1,0,-2*i],[\"z\"]];return o},u=function(t){if(t=s(t),!t||!t.length)return[[\"M\",0,0]];var e,n,i=[],r=0,o=0,a=0,u=0,h=0;\"M\"===t[0][0]&&(r=+t[0][1],o=+t[0][2],a=r,u=o,h++,i[0]=[\"M\",r,o]);for(var d=3===t.length&&\"M\"===t[0][0]&&\"R\"===t[1][0].toUpperCase()&&\"Z\"===t[2][0].toUpperCase(),p=void 0,f=void 0,g=h,y=t.length;g1&&(w=Math.sqrt(w),n*=w,i*=w);var j=n*n,S=i*i,_=(o===a?-1:1)*Math.sqrt(Math.abs((j*S-j*O*O-S*x*x)/(j*O*O+S*x*x)));f=_*n*O/i+(t+s)/2,g=_*-i*x/n+(e+l)/2,h=Math.asin(((e-g)/i).toFixed(9)),d=Math.asin(((l-g)/i).toFixed(9)),h=td&&(h-=2*Math.PI),!a&&d>h&&(d-=2*Math.PI)}var C=d-h;if(Math.abs(C)>y){var M=d,A=s,k=l;d=h+y*(a&&d>h?1:-1),s=f+n*Math.cos(d),l=g+i*Math.sin(d),m=p(s,l,n,i,r,0,a,A,k,[d,M,f,g])}C=d-h;var I=Math.cos(h),T=Math.sin(h),D=Math.cos(d),P=Math.sin(d),L=Math.tan(C/4),R=4/3*n*L,E=4/3*i*L,B=[t,e],F=[t+R*T,e-E*I],N=[s+R*P,l-E*D],z=[s,l];if(F[0]=2*B[0]-F[0],F[1]=2*B[1]-F[1],c)return[F,N,z].concat(m);m=[F,N,z].concat(m).join().split(\",\");for(var V=[],G=0,H=m.length;G7){t[e].shift();var o=t[e];while(o.length)s[e]=\"A\",r&&(l[e]=\"A\"),t.splice(e++,0,[\"C\"].concat(o.splice(0,6)));t.splice(e,1),n=Math.max(i.length,r&&r.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(i.length,r&&r.length||0))};n=Math.max(i.length,r&&r.length||0);for(var m=0;m1?1:l<0?0:l;for(var c=l/2,u=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,f=0;f0&&h<1&&d.push(h)}else{var g=c*c-4*u*l,y=Math.sqrt(g);if(!(g<0)){var v=(-c+y)/(2*l);v>0&&v<1&&d.push(v);var m=(-c-y)/(2*l);m>0&&m<1&&d.push(m)}}var b,x=d.length,O=x;while(x--)h=d[x],b=1-h,p[0][x]=b*b*b*t+3*b*b*h*n+3*b*h*h*r+h*h*h*a,p[1][x]=b*b*b*e+3*b*b*h*i+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,i,r,o,a,s){if(!(Math.max(t,n)Math.max(r,a)||Math.max(e,i)Math.max(o,s))){var l=(t*i-e*n)*(r-a)-(t-n)*(r*s-o*a),c=(t*i-e*n)*(o-s)-(e-i)*(r*s-o*a),u=(t-n)*(o-s)-(e-i)*(r-a);if(u){var h=l/u,d=c/u,p=+h.toFixed(2),f=+d.toFixed(2);if(!(p<+Math.min(t,n).toFixed(2)||p>+Math.max(t,n).toFixed(2)||p<+Math.min(r,a).toFixed(2)||p>+Math.max(r,a).toFixed(2)||f<+Math.min(e,i).toFixed(2)||f>+Math.max(e,i).toFixed(2)||f<+Math.min(o,s).toFixed(2)||f>+Math.max(o,s).toFixed(2)))return{x:h,y:d}}}},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,i,r){if(r)return[[\"M\",+t+ +r,e],[\"l\",n-2*r,0],[\"a\",r,r,0,0,1,r,r],[\"l\",0,i-2*r],[\"a\",r,r,0,0,1,-r,r],[\"l\",2*r-n,0],[\"a\",r,r,0,0,1,-r,-r],[\"l\",0,2*r-i],[\"a\",r,r,0,0,1,r,-r],[\"z\"]];var o=[[\"M\",t,e],[\"l\",n,0],[\"l\",0,i],[\"l\",-n,0],[\"z\"]];return o.parsePathArray=y,o},j=function(t,e,n,i){return null===t&&(t=e=n=i=0),null===e&&(e=t.y,n=t.width,i=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:i,h:i,x2:t+n,y2:e+i,cx:t+n/2,cy:e+i/2,r1:Math.min(n,i)/2,r2:Math.max(n,i)/2,r0:Math.sqrt(n*n+i*i)/2,path:w(t,e,n,i),vb:[t,e,n,i].join(\" \")}},S=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)},_=function(t,e,n,r,o,a,s,l){Object(i[\"C\"])(t)||(t=[t,e,n,r,o,a,s,l]);var c=b.apply(null,t);return j(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)},C=function(t,e,n,i,r,o,a,s,l){var c=1-l,u=Math.pow(c,3),h=Math.pow(c,2),d=l*l,p=d*l,f=u*t+3*h*l*n+3*c*l*l*r+p*a,g=u*e+3*h*l*i+3*c*l*l*o+p*s,y=t+2*l*(n-t)+d*(r-2*n+t),v=e+2*l*(i-e)+d*(o-2*i+e),m=n+2*l*(r-n)+d*(a-2*r+n),b=i+2*l*(o-i)+d*(s-2*o+i),x=c*t+l*n,O=c*e+l*i,w=c*r+l*a,j=c*o+l*s,S=90-180*Math.atan2(y-m,v-b)/Math.PI;return{x:f,y:g,m:{x:y,y:v},n:{x:m,y:b},start:{x:x,y:O},end:{x:w,y:j},alpha:S}},M=function(t,e,n){var i=_(t),r=_(e);if(!S(i,r))return n?0:[];for(var o=m.apply(0,t),a=m.apply(0,e),s=~~(o/8),l=~~(a/8),c=[],u=[],h={},d=n?0:[],p=0;p=0&&A<=1&&k>=0&&k<=1&&(n?d+=1:d.push({x:M.x,y:M.y,t1:A,t2:k}))}}return d},A=function(t,e,n){var i,r,o,a,s,l,c,u,h,d;t=f(t),e=f(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 D=function(t,e,n){if(1===n)return[[].concat(t)];var i=[];if(\"L\"===e[0]||\"C\"===e[0]||\"Q\"===e[0])i=i.concat(T(t,e,n));else{var r=[].concat(t);\"M\"===r[0]&&(r[0]=\"L\");for(var o=0;o<=n-1;o++)i.push(r)}return i},P=function(t,e){if(1===t.length)return t;var n=t.length-1,i=e.length-1,r=n/i,o=[];if(1===t.length&&\"M\"===t[0][0]){for(var a=0;a=0;l--)a=o[l].index,\"add\"===o[l].type?t.splice(a,0,[].concat(t[a])):t.splice(a,1)}i=t.length;var h=r-i;if(i0)){t[i]=e[i];break}n=F(n,t[i-1],1)}t[i]=[\"Q\"].concat(n.reduce((function(t,e){return t.concat(e)}),[]));break;case\"T\":t[i]=[\"T\"].concat(n[0]);break;case\"C\":if(n.length<3){if(!(i>0)){t[i]=e[i];break}n=F(n,t[i-1],2)}t[i]=[\"C\"].concat(n.reduce((function(t,e){return t.concat(e)}),[]));break;case\"S\":if(n.length<2){if(!(i>0)){t[i]=e[i];break}n=F(n,t[i-1],1)}t[i]=[\"S\"].concat(n.reduce((function(t,e){return t.concat(e)}),[]));break;default:t[i]=e[i]}return t}},b825:function(t,e,n){\"use strict\";n.r(e),n.d(e,\"Line\",(function(){return d})),n.d(e,\"Text\",(function(){return f})),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 S})),n.d(e,\"RegionFilter\",(function(){return C})),n.d(e,\"Shape\",(function(){return A})),n.d(e,\"Html\",(function(){return D}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"31e6\"),a=n(\"060b\"),s=n(\"8ea8\"),l=n(\"e546\");function c(t,e){var n=e.x,o=e.y,c=e.content,u=e.style,h=e.id,d=e.name,p=e.rotate,f=e.maxLength,g=e.autoEllipsis,y=e.isVertical,v=e.ellipsisPosition,m=e.background,b=t.addGroup({id:h+\"-group\",name:d+\"-group\",attrs:{x:n,y:o}}),x=b.addShape({type:\"text\",id:h,name:d,attrs:Object(i[\"a\"])({x:0,y:0,text:c},u)}),O=Object(l[\"c\"])(Object(r[\"s\"])(m,\"padding\",0));if(f&&g){var w=f-(O[1]+O[3]);Object(a[\"a\"])(!y,x,w,v)}if(m){var j=Object(r[\"s\"])(m,\"style\",{}),S=x.getCanvasBBox(),_=S.minX,C=S.minY,M=S.width,A=S.height,k=b.addShape(\"rect\",{id:h+\"-bg\",name:h+\"-bg\",attrs:Object(i[\"a\"])({x:_-O[3],y:C-O[0],width:M+O[1]+O[3],height:A+O[0]+O[2]},j)});k.toBack()}Object(s[\"c\"])(b,n,o),Object(s[\"b\"])(b,p,n,o)}var u=n(\"2f5e\"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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\"),r=this.get(\"style\");this.addShape(t,{type:\"line\",id:this.getElementId(\"line\"),name:\"annotation-line\",attrs:Object(i[\"a\"])({x1:e.x,y1:e.y,x2:n.x,y2:n.y},r)})},e.prototype.getLabelPoint=function(t,e,n){var i;return i=\"start\"===n?0:\"center\"===n?.5:Object(r[\"Q\"])(n)&&-1!==n.indexOf(\"%\")?parseInt(n,10)/100:Object(r[\"M\"])(n)?n:1,(i>1||i<0)&&(i=1),{x:Object(l[\"g\"])(t.x,e.x,i),y:Object(l[\"g\"])(t.y,e.y,i)}},e.prototype.renderLabel=function(t){var e=this.get(\"text\"),n=this.get(\"start\"),i=this.get(\"end\"),r=e.position,o=e.content,a=e.style,s=e.offsetX,l=e.offsetY,u=e.autoRotate,h=e.maxLength,d=e.autoEllipsis,p=e.ellipsisPosition,f=e.background,g=e.isVertical,y=void 0!==g&&g,v=this.getLabelPoint(n,i,r),m=v.x+s,b=v.y+l,x={id:this.getElementId(\"line-text\"),name:\"annotation-line-text\",x:m,y:b,content:o,style:a,maxLength:h,autoEllipsis:d,ellipsisPosition:p,background:f,isVertical:y};if(u){var O=[i.x-n.x,i.y-n.y];x.rotate=Math.atan2(O[1],O[0])}c(t,x)},e}(o[\"a\"]),d=h,p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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,i=e.y,r=this.get(\"content\"),o=this.get(\"style\"),a=this.getElementId(\"text\"),s=this.get(\"name\")+\"-text\",l=this.get(\"maxLength\"),u=this.get(\"autoEllipsis\"),h=this.get(\"isVertical\"),d=this.get(\"ellipsisPosition\"),p=this.get(\"background\"),f=this.get(\"rotate\"),g={id:a,name:s,x:n,y:i,content:r,style:o,maxLength:l,autoEllipsis:u,isVertical:h,ellipsisPosition:d,background:p,rotate:f};c(t,g)},e.prototype.resetLocation=function(){var t=this.getElementByLocalId(\"text-group\");if(t){var e=this.getLocation(),n=e.x,i=e.y,r=this.get(\"rotate\");Object(s[\"c\"])(t,n,i),Object(s[\"b\"])(t,r,n,i)}},e}(o[\"a\"]),f=p,g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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,i=t.startAngle,r=t.endAngle,o=Object(l[\"e\"])(e,n,i),a=Object(l[\"e\"])(e,n,r),s=r-i>Math.PI?1:0,c=[[\"M\",o.x,o.y]];if(r-i===2*Math.PI){var u=Object(l[\"e\"])(e,n,i+Math.PI);c.push([\"A\",n,n,0,s,1,u.x,u.y]),c.push([\"A\",n,n,0,s,1,a.x,a.y])}else c.push([\"A\",n,n,0,s,1,a.x,a.y]);return c},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(i[\"a\"])({path:e},n)})},e}(o[\"a\"]),y=g,v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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\"),r=this.get(\"style\"),o=Object(l[\"k\"])({start:e,end:n});this.addShape(t,{type:\"rect\",id:this.getElementId(\"region\"),name:\"annotation-region\",attrs:Object(i[\"a\"])({x:o.x,y:o.y,width:o.width,height:o.height},r)})},e}(o[\"a\"]),m=v,b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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\"),r=Object(l[\"k\"])({start:t,end:e}),o=this.get(\"src\");return Object(i[\"a\"])({x:r.x,y:r.y,img:o,width:r.width,height:r.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(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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(r[\"s\"])(this.get(\"line\"),\"display\")&&this.renderLine(t),Object(r[\"s\"])(this.get(\"text\"),\"display\")&&this.renderText(t),Object(r[\"s\"])(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,r=e.y,o=e.text,a=Object(i[\"f\"])(e,[\"x\",\"y\",\"text\"]),s=this.get(\"text\"),l=s.background,u=s.maxLength,h=s.autoEllipsis,d=s.isVertival,p=s.ellipsisPosition,f={x:n,y:r,id:this.getElementId(\"text\"),name:\"annotation-text\",content:o,style:a,background:l,maxLength:u,autoEllipsis:h,isVertival:d,ellipsisPosition:p};c(t,f)},e.prototype.autoAdjust=function(t){var e=this.get(\"direction\"),n=this.get(\"x\"),i=this.get(\"y\"),o=Object(r[\"s\"])(this.get(\"line\"),\"length\",0),a=this.get(\"coordinateBBox\"),l=t.getBBox(),c=l.minX,u=l.maxX,h=l.minY,d=l.maxY,p=t.findById(this.getElementId(\"text-group\")),f=t.findById(this.getElementId(\"text\")),g=t.findById(this.getElementId(\"line\"));if(a){if(p){if(n+c<=a.minX){var y=a.minX-(n+c);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&&i+h<=a.minY||\"upward\"!==e&&i+d>=a.maxY){var v=void 0,m=void 0;\"upward\"===e&&i+h<=a.minY?(v=\"top\",m=1):(v=\"bottom\",m=-1),f.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(r[\"s\"])(this.get(\"line\"),\"display\"),e=Object(r[\"s\"])(this.get(\"point\"),\"style\",{}),n=Object(r[\"s\"])(this.get(\"line\"),\"style\",{}),o=Object(r[\"s\"])(this.get(\"text\"),\"style\",{}),a=this.get(\"direction\"),s=t?Object(r[\"s\"])(this.get(\"line\"),\"length\",0):0,l=\"upward\"===a?-1:1;return{point:Object(i[\"a\"])({x:0,y:0},e),line:Object(i[\"a\"])({path:[[\"M\",0,0],[\"L\",0,s*l]]},n),text:Object(i[\"a\"])({x:0,y:(s+2)*l,text:Object(r[\"s\"])(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(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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(r[\"s\"])(this.get(\"region\"),\"style\",{}),n=(Object(r[\"s\"])(this.get(\"text\"),\"style\",{}),this.get(\"lineLength\")||0),o=this.get(\"points\");if(o.length){var a=Object(l[\"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(i[\"a\"])({path:s},e)});var u=Object(i[\"a\"])({id:this.getElementId(\"text\"),name:\"annotation-text\",x:(a.minX+a.maxX)/2,y:a.minY-n},this.get(\"text\"));c(t,u)}},e}(o[\"a\"]),S=j,_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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\"),i=this.get(\"end\"),o=this.addGroup(t,{id:this.getElementId(\"region-filter\"),capture:!1});Object(r[\"j\"])(this.get(\"shapes\"),(function(t,n){var i=t.get(\"type\"),a=Object(r[\"e\"])(t.attr());e.adjustShapeAttrs(a),e.addShape(o,{id:e.getElementId(\"shape-\"+i+\"-\"+n),capture:!1,type:i,attrs:a})}));var a=Object(l[\"k\"])({start:n,end:i});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\"]),C=_,M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"a\"])({},e),{name:\"annotation\",type:\"shape\",draw:r[\"fb\"]})},e.prototype.renderInner=function(t){var e=this.get(\"render\");Object(r[\"I\"])(e)&&e(t)},e}(o[\"a\"]),A=M,k=n(\"7c8a\"),I=n(\"75ed\"),T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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(l[\"a\"])(t);var n=Object(r[\"I\"])(e)?e(t):e;if(Object(r[\"F\"])(n))t.appendChild(n);else if(Object(r[\"Q\"])(n)||Object(r[\"M\"])(n)){var i=Object(k[\"b\"])(\"\"+n);i&&t.appendChild(i)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),e=this.getLocation(),n=e.x,i=e.y,r=this.get(\"alignX\"),o=this.get(\"alignY\"),a=this.get(\"offsetX\"),s=this.get(\"offsetY\"),l=Object(k[\"d\"])(t),c=Object(k[\"c\"])(t),u={x:n,y:i};\"middle\"===r?u.x-=Math.round(l/2):\"right\"===r&&(u.x-=Math.round(l)),\"middle\"===o?u.y-=Math.round(c/2):\"bottom\"===o&&(u.y-=Math.round(c)),a&&(u.x+=a),s&&(u.y+=s),Object(k[\"e\"])(t,{position:\"absolute\",left:u.x+\"px\",top:u.y+\"px\",zIndex:this.get(\"zIndex\")})},e}(I[\"a\"]),D=T},bb0f:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c}));var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"b2a0\"),a=n(\"1d73\"),s=n(\"62e3\"),l=Object(s[\"d\"])({},r[\"b\"].getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:\"x\"}},isStack:!0,line:{},legend:{position:\"top-left\",radio:{}}}),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"area\",e}return Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return l},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.isPercent,i=e.xField,r=e.yField,s=this,l=s.chart,c=s.options;Object(a[\"b\"])({chart:l,options:c}),this.chart.changeData(Object(o[\"a\"])(t,r,i,r,n))},e.prototype.getSchemaAdaptor=function(){return a[\"a\"]},e}(r[\"b\"])},bb31:function(t,e){},bb7a:function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.ver=e.clear=e.bind=void 0;var i=n(\"3f84\"),r=function(t,e){var n=(0,i.getSensor)(t);return n.bind(e),function(){n.unbind(e)}};e.bind=r;var o=function(t){var e=(0,i.getSensor)(t);(0,i.removeSensor)(e)};e.clear=o;var a=\"1.0.1\";e.ver=a},bbad:function(t,e,n){\"use strict\";n.r(e),n.d(e,\"CONTAINER_CLASS\",(function(){return i})),n.d(e,\"TITLE_CLASS\",(function(){return r})),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 l})),n.d(e,\"NAME_CLASS\",(function(){return c})),n.d(e,\"CROSSHAIR_X\",(function(){return u})),n.d(e,\"CROSSHAIR_Y\",(function(){return h}));var i=\"g2-tooltip\",r=\"g2-tooltip-title\",o=\"g2-tooltip-list\",a=\"g2-tooltip-list-item\",s=\"g2-tooltip-marker\",l=\"g2-tooltip-value\",c=\"g2-tooltip-name\",u=\"g2-tooltip-crosshair-x\",h=\"g2-tooltip-crosshair-y\"},bbd5:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c}));var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"b2a0\"),a=n(\"0cc4\"),s=n(\"62e3\"),l=Object(s[\"d\"])({},r[\"b\"].getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:\"active-region\"}]}),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"column\",e}return Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return l},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,i=e.xField,r=e.isPercent,s=this,l=s.chart,c=s.options;Object(a[\"b\"])({chart:l,options:c}),this.chart.changeData(Object(o[\"a\"])(t,n,i,n,r))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a[\"a\"]},e}(r[\"b\"])},bbdf:function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return c})),n.d(e,\"a\",(function(){return h}));var i=n(\"8937\"),r=n(\"c34d\"),o=n(\"b4aa\"),a=n(\"62e3\"),s=n(\"31f7\"),l=n(\"0770\");function c(t){var e=t.chart,n=t.options,r=n.percent,c=n.progressStyle,u=n.color,h=n.barWidthRatio;e.data(Object(l[\"a\"])(r));var d=Object(a[\"d\"])({},t,{options:{xField:\"current\",yField:\"percent\",seriesField:\"type\",widthRatio:h,interval:{style:c,color:Object(i[\"Q\"])(u)?[u,s[\"a\"][1]]:u},args:{zIndexReversed:!0,sortZIndex:!0}}});return Object(o[\"c\"])(d),e.tooltip(!1),e.axis(!1),e.legend(!1),t}function u(t){var e=t.chart;return e.coordinate(\"rect\").transpose(),t}function h(t){return Object(a[\"g\"])(c,Object(r[\"g\"])({}),u,r[\"a\"],r[\"k\"],Object(r[\"b\"])())(t)}},bc88:function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return o})),n.d(e,\"c\",(function(){return s})),n.d(e,\"a\",(function(){return l}));var i=n(\"b2cb\"),r=n(\"96de\");function o(t,e,n){var r=1;if(Object(i[\"h\"])(t)&&(r=t.split(\"\\n\").length),r>1){var o=a(e,n);return e*r+o*(r-1)}return e}function a(t,e){return e?e-t:.14*t}function s(t,e){var n=Object(r[\"a\"])(),o=0;if(Object(i[\"e\"])(t)||\"\"===t)return o;if(n.save(),n.font=e,Object(i[\"h\"])(t)&&t.includes(\"\\n\")){var a=t.split(\"\\n\");Object(i[\"a\"])(a,(function(t){var e=n.measureText(t).width;o'})),n}function y(t,e){var n,i,r=d.exec(t),o=Object(h[\"eb\"])(Object(h[\"sb\"])(parseFloat(r[1])),2*Math.PI),a=r[2];o>=0&&o<.5*Math.PI?(n={x:0,y:0},i={x:1,y:1}):.5*Math.PI<=o&&o';e.innerHTML=n},t}(),j=w,S=function(){function t(t,e){this.cfg={};var n=Object(l[\"b\"])(\"marker\"),i=Object(h[\"vb\"])(\"marker_\");n.setAttribute(\"id\",i);var r=Object(l[\"b\"])(\"path\");r.setAttribute(\"stroke\",t.stroke||\"none\"),r.setAttribute(\"fill\",t.fill||\"none\"),n.appendChild(r),n.setAttribute(\"overflow\",\"visible\"),n.setAttribute(\"orient\",\"auto-start-reverse\"),this.el=n,this.child=r,this.id=i;var o=t[\"marker-start\"===e?\"startArrow\":\"endArrow\"];return this.stroke=t.stroke||\"#000\",!0===o?this._setDefaultPath(e,r):(this.cfg=o,this._setMarker(t.lineWidth,r)),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,i=this.cfg.path,r=this.cfg.d;Object(h[\"C\"])(i)&&(i=i.map((function(t){return t.join(\" \")})).join(\"\")),e.setAttribute(\"d\",i),n.appendChild(e),r&&n.setAttribute(\"refX\",\"\"+r/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr(\"fill\",t):e.setAttribute(\"fill\",t)},t}(),_=S,C=function(){function t(t){this.type=\"clip\",this.cfg={};var e=Object(l[\"b\"])(\"clipPath\");this.el=e,this.id=Object(h[\"vb\"])(\"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=C,A=/^p\\s*\\(\\s*([axyn])\\s*\\)\\s*(.*)/i,k=function(){function t(t){this.cfg={};var e=Object(l[\"b\"])(\"pattern\");e.setAttribute(\"patternUnits\",\"userSpaceOnUse\");var n=Object(l[\"b\"])(\"image\");e.appendChild(n);var i=Object(h[\"vb\"])(\"pattern_\");e.id=i,this.el=e,this.id=i,this.cfg=t;var r=A.exec(t),o=r[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}(),I=k,T=function(){function t(t){var e=Object(l[\"b\"])(\"defs\"),n=Object(h[\"vb\"])(\"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,i=null,r=0;r0){var p=e.getElementId(\"region-\"+c),f=l%2===0;if(Object(r[\"Q\"])(o))f&&e.drawAlternateRegion(p,t,a.points,s.points,o);else{var g=f?o[1]:o[0];e.drawAlternateRegion(p,t,a.points,s.points,g)}}a=s}))},e.prototype.drawAlternateRegion=function(t,e,n,i,r){var o=this.getAlternatePath(n,i);this.addShape(e,{type:\"path\",id:t,name:\"grid-region\",attrs:{path:o,fill:r}})},e}(o[\"a\"]),l=s;function c(t,e,n,i){var r=n-t,o=i-e;return Math.sqrt(r*r+o*o)}var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"a\"])({},e),{type:\"circle\",center:null,closed:!0})},e.prototype.getGridPath=function(t,e){var n=this.getLineType(),i=this.get(\"closed\"),o=[];if(t.length)if(\"circle\"===n){var a=this.get(\"center\"),s=t[0],l=c(a.x,a.y,s.x,s.y),u=e?0:1;i?(o.push([\"M\",a.x,a.y-l]),o.push([\"A\",l,l,0,0,u,a.x,a.y+l]),o.push([\"A\",l,l,0,0,u,a.x,a.y-l]),o.push([\"Z\"])):Object(r[\"j\"])(t,(function(t,e){0===e?o.push([\"M\",t.x,t.y]):o.push([\"A\",l,l,0,0,u,t.x,t.y])}))}else Object(r[\"j\"])(t,(function(t,e){0===e?o.push([\"M\",t.x,t.y]):o.push([\"L\",t.x,t.y])})),i&&o.push([\"Z\"]);return o},e}(l),h=u,d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"a\"])({},e),{type:\"line\"})},e.prototype.getGridPath=function(t){var e=[];return Object(r[\"j\"])(t,(function(t,n){0===n?e.push([\"M\",t.x,t.y]):e.push([\"L\",t.x,t.y])})),e},e}(l),p=d},c88a:function(t,e,n){\"use strict\";var i=n(\"917c\");Object(i[\"o\"])(\"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\"}]})},c947:function(t,e,n){\"use strict\";function i(t,e){return t.parent===e.parent?1:2}function r(t){return t.reduce(o,0)/t.length}function o(t,e){return t+e.x}function a(t){return 1+t.reduce(s,0)}function s(t,e){return Math.max(t,e.y)}function l(t){var e;while(e=t.children)t=e[0];return t}function c(t){var e;while(e=t.children)t=e[e.length-1];return t}n.r(e),n.d(e,\"cluster\",(function(){return u})),n.d(e,\"hierarchy\",(function(){return h[\"c\"]})),n.d(e,\"pack\",(function(){return d[\"a\"]})),n.d(e,\"packSiblings\",(function(){return p[\"a\"]})),n.d(e,\"packEnclose\",(function(){return f[\"a\"]})),n.d(e,\"partition\",(function(){return g[\"a\"]})),n.d(e,\"stratify\",(function(){return O})),n.d(e,\"tree\",(function(){return I})),n.d(e,\"treemap\",(function(){return T[\"a\"]})),n.d(e,\"treemapBinary\",(function(){return D})),n.d(e,\"treemapDice\",(function(){return P[\"a\"]})),n.d(e,\"treemapSlice\",(function(){return L[\"a\"]})),n.d(e,\"treemapSliceDice\",(function(){return R})),n.d(e,\"treemapSquarify\",(function(){return E[\"a\"]})),n.d(e,\"treemapResquarify\",(function(){return B}));var u=function(){var t=i,e=1,n=1,o=!1;function s(i){var s,u=0;i.eachAfter((function(e){var n=e.children;n?(e.x=r(n),e.y=a(n)):(e.x=s?u+=t(e,s):0,e.y=0,s=e)}));var h=l(i),d=c(i),p=h.x-t(h,d)/2,f=d.x+t(d,h)/2;return i.eachAfter(o?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-p)/(f-p)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return s.separation=function(e){return arguments.length?(t=e,s):t},s.size=function(t){return arguments.length?(o=!1,e=+t[0],n=+t[1],s):o?null:[e,n]},s.nodeSize=function(t){return arguments.length?(o=!0,e=+t[0],n=+t[1],s):o?[e,n]:null},s},h=n(\"6bcb\"),d=n(\"2373\"),p=n(\"5be2\"),f=n(\"eccb\"),g=n(\"f8d7\"),y=n(\"21e5\"),v={depth:-1},m={};function b(t){return t.id}function x(t){return t.parentId}var O=function(){var t=b,e=x;function n(n){var i,r,o,a,s,l,c,u=Array.from(n),d=u.length,p=new Map;for(r=0;r0)throw new Error(\"cycle\");return o}return n.id=function(e){return arguments.length?(t=Object(y[\"b\"])(e),n):t},n.parentId=function(t){return arguments.length?(e=Object(y[\"b\"])(t),n):e},n};function w(t,e){return t.parent===e.parent?1:2}function j(t){var e=t.children;return e?e[0]:t.t}function S(t){var e=t.children;return e?e[e.length-1]:t.t}function _(t,e,n){var i=n/(e.i-t.i);e.c-=i,e.s+=n,t.c+=i,e.z+=n,e.m+=n}function C(t){var e,n=0,i=0,r=t.children,o=r.length;while(--o>=0)e=r[o],e.z+=n,e.m+=n,n+=e.s+(i+=e.c)}function M(t,e,n){return t.a.parent===e.parent?t.a:n}function A(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function k(t){var e,n,i,r,o,a=new A(t,0),s=[a];while(e=s.pop())if(i=e._.children)for(e.children=new Array(o=i.length),r=o-1;r>=0;--r)s.push(n=e.children[r]=new A(i[r],r)),n.parent=e;return(a.parent=new A(null,0)).children=[a],a}A.prototype=Object.create(h[\"a\"].prototype);var I=function(){var t=w,e=1,n=1,i=null;function r(r){var s=k(r);if(s.eachAfter(o),s.parent.m=-s.z,s.eachBefore(a),i)r.eachBefore(l);else{var c=r,u=r,h=r;r.eachBefore((function(t){t.xu.x&&(u=t),t.depth>h.depth&&(h=t)}));var d=c===u?1:t(c,u)/2,p=d-c.x,f=e/(u.x+d+p),g=n/(h.depth||1);r.eachBefore((function(t){t.x=(t.x+p)*f,t.y=t.depth*g}))}return r}function o(e){var n=e.children,i=e.parent.children,r=e.i?i[e.i-1]:null;if(n){C(e);var o=(n[0].z+n[n.length-1].z)/2;r?(e.z=r.z+t(e._,r._),e.m=e.z-o):e.z=o}else r&&(e.z=r.z+t(e._,r._));e.parent.A=s(e,r,e.parent.A||i[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(e,n,i){if(n){var r,o=e,a=e,s=n,l=o.parent.children[0],c=o.m,u=a.m,h=s.m,d=l.m;while(s=S(s),o=j(o),s&&o)l=j(l),a=S(a),a.a=e,r=s.z+h-o.z-c+t(s._,o._),r>0&&(_(M(s,e,i),e,r),c+=r,u+=r),h+=s.m,c+=o.m,d+=l.m,u+=a.m;s&&!S(a)&&(a.t=s,a.m+=h-u),o&&!j(l)&&(l.t=o,l.m+=c-d,i=e)}return i}function l(t){t.x*=e,t.y=t.depth*n}return r.separation=function(e){return arguments.length?(t=e,r):t},r.size=function(t){return arguments.length?(i=!1,e=+t[0],n=+t[1],r):i?null:[e,n]},r.nodeSize=function(t){return arguments.length?(i=!0,e=+t[0],n=+t[1],r):i?[e,n]:null},r},T=n(\"b6f4\"),D=function(t,e,n,i,r){var o,a,s=t.children,l=s.length,c=new Array(l+1);for(c[0]=a=o=0;o=e-1){var l=s[t];return l.x0=i,l.y0=r,l.x1=o,void(l.y1=a)}var h=c[t],d=n/2+h,p=t+1,f=e-1;while(p>>1;c[g]a-r){var m=n?(i*v+o*y)/n:o;u(t,p,y,i,r,m,a),u(p,e,v,m,r,o,a)}else{var b=n?(r*v+a*y)/n:a;u(t,p,y,i,r,o,b),u(p,e,v,i,b,o,a)}}u(0,l,t.value,e,n,i,r)},P=n(\"14f3\"),L=n(\"ec83\"),R=function(t,e,n,i,r){(1&t.depth?L[\"a\"]:P[\"a\"])(t,e,n,i,r)},E=n(\"2388\"),B=function t(e){function n(t,n,i,r,o){if((a=t._squarify)&&a.ratio===e){var a,s,l,c,u,h=-1,d=a.length,p=t.value;while(++h1?e:1)},n}(E[\"b\"])},c94c:function(t,e,n){\"use strict\";var i=t.exports;t.exports.isNumber=function(t){return\"number\"===typeof t},t.exports.findMin=function(t){if(0===t.length)return 1/0;for(var e=t[0],n=1;n-1)||Object(s[\"p\"])(e,p,f)})),t.getRootView().render(!0)}};function A(t){var e,n=t.options,i=n.geometryOptions,o=void 0===i?[]:i,a=n.xField,c=n.yField,u=Object(l[\"k\"])(o,(function(t){var e=t.geometry;return e===r.Line||void 0===e}));return Object(s[\"d\"])({},{options:{geometryOptions:[],meta:(e={},e[a]={type:\"cat\",sync:!0,range:u?[0,1]:void 0},e),tooltip:{showMarkers:u,showCrosshairs:u,shared:!0,crosshairs:{type:\"x\"}},interactions:u?[{type:\"legend-visible-filter\"}]:[{type:\"legend-visible-filter\"},{type:\"active-region\"}],legend:{position:\"top-left\"}}},t,{options:{yAxis:w(c,n.yAxis),geometryOptions:[O(a,c[0],o[0]),O(a,c[1],o[1])],annotations:w(c,n.annotations)}})}function k(t){var e,n,i=t.chart,r=t.options,o=r.geometryOptions,a={line:0,column:1},s=[{type:null===(e=o[0])||void 0===e?void 0:e.geometry,id:d},{type:null===(n=o[1])||void 0===n?void 0:n.geometry,id:p}];return s.sort((function(t,e){return-a[t.type]+a[e.type]})).forEach((function(t){return i.createView({id:t.id})})),t}function I(t){var e=t.chart,n=t.options,i=n.xField,r=n.yField,a=n.geometryOptions,s=n.data,l=n.tooltip,c=[Object(o[\"a\"])(Object(o[\"a\"])({},a[0]),{id:d,data:s[0],yField:r[0]}),Object(o[\"a\"])(Object(o[\"a\"])({},a[1]),{id:p,data:s[1],yField:r[1]})];return c.forEach((function(t){var n=t.id,r=t.data,a=t.yField,s=x(t)&&t.isPercent,c=s?Object(u[\"c\"])(r,a,i,a):r,d=Object(h[\"b\"])(e,n).data(c),p=s?Object(o[\"a\"])({formatter:function(e){return{name:e[t.seriesField]||a,value:(100*Number(e[a])).toFixed(2)+\"%\"}}},l):l;S({chart:d,options:{xField:i,yField:a,tooltip:p,geometryOption:t}})})),t}function T(t){var e,n=t.chart,i=t.options,r=i.geometryOptions,o=(null===(e=n.getTheme())||void 0===e?void 0:e.colors10)||[],a=0;return n.once(\"beforepaint\",(function(){Object(l[\"j\"])(r,(function(t,e){var i=Object(h[\"b\"])(n,0===e?d:p);if(!t.color){var r=i.getGroupScales(),s=Object(l[\"s\"])(r,[0,\"values\",\"length\"],1),c=o.slice(a,a+s).concat(0===e?[]:o);i.geometries.forEach((function(e){t.seriesField?e.color(t.seriesField,c):e.color(c[0])})),a+=s}})),n.render(!0)})),t}function D(t){var e,n,i=t.chart,r=t.options,o=r.xAxis,a=r.yAxis,l=r.xField,u=r.yField;return Object(c[\"g\"])((e={},e[l]=o,e[u[0]]=a[0],e))(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(i,d)})),Object(c[\"g\"])((n={},n[l]=o,n[u[1]]=a[1],n))(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(i,p)})),t}function P(t){var e=t.chart,n=t.options,r=Object(h[\"b\"])(e,d),o=Object(h[\"b\"])(e,p),a=n.xField,s=n.yField,l=n.xAxis,c=n.yAxis;return e.axis(a,!1),e.axis(s[0],!1),e.axis(s[1],!1),r.axis(a,l),r.axis(s[0],j(c[0],i.Left)),o.axis(a,!1),o.axis(s[1],j(c[1],i.Right)),t}function L(t){var e=t.chart,n=t.options,i=n.tooltip,r=Object(h[\"b\"])(e,d),o=Object(h[\"b\"])(e,p);return e.tooltip(i),r.tooltip({shared:!0}),o.tooltip({shared:!0}),t}function R(t){var e=t.chart;return Object(c[\"c\"])(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(e,d)})),Object(c[\"c\"])(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(e,p)})),t}function E(t){var e=t.chart,n=t.options,i=n.annotations,r=Object(l[\"s\"])(i,[0]),o=Object(l[\"s\"])(i,[1]);return Object(c[\"b\"])(r)(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(e,d),options:{annotations:r}})),Object(c[\"b\"])(o)(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(e,p),options:{annotations:o}})),t}function B(t){var e=t.chart;return Object(c[\"k\"])(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(e,d)})),Object(c[\"k\"])(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(e,p)})),Object(c[\"k\"])(t),t}function F(t){var e=t.chart;return Object(c[\"a\"])(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(e,d)})),Object(c[\"a\"])(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(e,p)})),t}function N(t){var e=t.chart,n=t.options,i=n.yAxis;return Object(c[\"e\"])(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(e,d),options:{yAxis:i[0]}})),Object(c[\"e\"])(Object(s[\"d\"])({},t,{chart:Object(h[\"b\"])(e,p),options:{yAxis:i[1]}})),t}function z(t){var e=t.chart,n=t.options,i=n.legend,r=n.geometryOptions,o=n.yField,a=n.data,c=Object(h[\"b\"])(e,d),u=Object(h[\"b\"])(e,p);if(!1===i)e.legend(!1);else if(Object(l[\"O\"])(i)&&!0===i.custom)e.legend(i);else{var f=Object(l[\"s\"])(r,[0,\"legend\"],i),g=Object(l[\"s\"])(r,[1,\"legend\"],i);e.once(\"beforepaint\",(function(){var t=a[0].length?C({view:c,geometryOption:r[0],yField:o[0],legend:f}):[],n=a[1].length?C({view:u,geometryOption:r[1],yField:o[1],legend:g}):[];e.legend(Object(s[\"d\"])({},i,{custom:!0,items:t.concat(n)}))})),r[0].seriesField&&c.legend(r[0].seriesField,f),r[1].seriesField&&u.legend(r[1].seriesField,g),e.on(\"legend-item:click\",(function(t){var n=Object(l[\"s\"])(t,\"gEvent.delegateObject\",{});if(n&&n.item){var i=n.item,r=i.value,a=i.isGeometry,s=i.viewId;if(a){var c=Object(l[\"n\"])(o,(function(t){return t===r}));if(c>-1){var u=Object(l[\"s\"])(Object(h[\"b\"])(e,s),\"geometries\");Object(l[\"j\"])(u,(function(t){t.changeVisible(!n.item.unchecked)}))}}else{var d=Object(l[\"s\"])(e.getController(\"legend\"),\"option.items\",[]);Object(l[\"j\"])(e.views,(function(t){var n=t.getGroupScales();Object(l[\"j\"])(n,(function(e){e.values&&e.values.indexOf(r)>-1&&t.filter(e.field,(function(t){var e=Object(l[\"m\"])(d,(function(e){return e.value===t}));return!e.unchecked}))})),e.render(!0)}))}}}))}return t}function V(t){var e=t.chart,n=t.options,i=n.slider,r=Object(h[\"b\"])(e,d),o=Object(h[\"b\"])(e,p);return i&&(r.option(\"slider\",i),r.on(\"slider:valuechanged\",(function(t){var e=t.event,n=e.value,i=e.originValue;Object(l[\"H\"])(n,i)||M(o,n)})),e.once(\"afterpaint\",(function(){if(!Object(l[\"D\"])(i)){var t=i.start,e=i.end;(t||e)&&M(o,[t,e])}}))),t}function G(t){return Object(s[\"g\"])(A,k,B,I,D,P,N,L,R,E,F,T,z,V)(t)}(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"dual-axes\",e}Object(o[\"c\"])(e,t),e.prototype.getDefaultOptions=function(){return Object(s[\"d\"])({},t.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return G}})(a[\"b\"])},cbbe:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return m}));var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"62e3\"),a=n(\"c34d\"),s=n(\"b4aa\");function l(t){var e=t.chart,n=t.options,r=n.data,a=n.lineStyle,l=n.color,c=n.point,u=n.area;e.data(r);var h=Object(o[\"d\"])({},t,{options:{line:{style:a,color:l},point:c?Object(i[\"a\"])({color:l},c):c,area:u?Object(i[\"a\"])({color:l},u):u,label:void 0}}),d=Object(o[\"d\"])({},h,{options:{tooltip:!1}}),p=(null===c||void 0===c?void 0:c.state)||n.state,f=Object(o[\"d\"])({},h,{options:{tooltip:!1,state:p}});return Object(s[\"d\"])(h),Object(s[\"e\"])(f),Object(s[\"a\"])(d),t}function c(t){var e,n=t.options,i=n.xAxis,r=n.yAxis,s=n.xField,l=n.yField;return Object(o[\"g\"])(Object(a[\"g\"])((e={},e[s]=i,e[l]=r,e)))(t)}function u(t){var e=t.chart,n=t.options,i=n.radius,r=n.startAngle,o=n.endAngle;return e.coordinate(\"polar\",{radius:i,startAngle:r,endAngle:o}),t}function h(t){var e=t.chart,n=t.options,i=n.xField,r=n.xAxis,o=n.yField,a=n.yAxis;return e.axis(i,r),e.axis(o,a),t}function d(t){var e=t.chart,n=t.options,r=n.label,a=n.yField,s=Object(o[\"e\"])(e,\"line\");if(r){var l=r.callback,c=Object(i[\"f\"])(r,[\"callback\"]);s.label({fields:[a],callback:l,cfg:Object(o[\"A\"])(c)})}else s.label(!1);return t}function p(t){return Object(o[\"g\"])(l,c,a[\"k\"],u,h,a[\"d\"],a[\"l\"],d,a[\"c\"],a[\"a\"],Object(a[\"b\"])())(t)}var f=n(\"917c\"),g=n(\"8937\"),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(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(),r=n.shared,o=n.title,a=t.prototype.getTooltipItems.call(this,e);if(a.length>0){var s=this.view.geometries[0],l=s.dataArray,c=a[0].name,u=[];return l.forEach((function(t){t.forEach((function(t){var e=f[\"h\"].getTooltipItems(t,s),n=e[0];if(!r&&n&&n.name===c){var a=Object(g[\"K\"])(o)?c:o;u.push(Object(i[\"a\"])(Object(i[\"a\"])({},n),{name:n.title,title:a}))}else if(r&&n){a=Object(g[\"K\"])(o)?n.name||c:o;u.push(Object(i[\"a\"])(Object(i[\"a\"])({},n),{name:n.title,title:a}))}}))})),u}return[]},e}(f[\"g\"]);Object(f[\"m\"])(\"radar-tooltip\",y);var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(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}(f[\"a\"]);Object(f[\"l\"])(\"radar-tooltip\",v),Object(f[\"o\"])(\"radar-tooltip\",{start:[{trigger:\"plot:mousemove\",action:\"radar-tooltip:show\"}],end:[{trigger:\"plot:mouseleave\",action:\"radar-tooltip:hide\"}]});var m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"radar\",e}return Object(i[\"c\"])(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return Object(o[\"d\"])({},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},e}(r[\"b\"])},cc94:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return u})),n.d(e,\"b\",(function(){return h}));var i=n(\"9ab48\"),r=n(\"7fa2\"),o=n(\"917c\"),a=n(\"8937\"),s=n(\"bb7a\"),l=n(\"62e3\"),c=\"data-chart-source-type\",u=[\"padding\",\"appendPadding\",\"renderer\",\"pixelRatio\",\"syncViewPadding\",\"supportCSSTransform\",\"limitInPlot\"],h=function(t){function e(e,n){var i=t.call(this)||this;return i.container=\"string\"===typeof e?document.getElementById(e):e,i.options=Object(l[\"d\"])({},i.getDefaultOptions(),n),i.createG2(),i.bindEvents(),i}return Object(i[\"c\"])(e,t),e.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.createG2=function(){var t=this.options,e=t.width,n=t.height,r=t.defaultInteractions;this.chart=new o[\"c\"](Object(i[\"a\"])(Object(i[\"a\"])(Object(i[\"a\"])(Object(i[\"a\"])({container:this.container,autoFit:!1},this.getChartSize(e,n)),{localRefresh:!1}),Object(l[\"t\"])(this.options,u)),{defaultInteractions:r})),this.container.setAttribute(c,\"G2Plot\")},e.prototype.getChartSize=function(t,e){var n=Object(l[\"l\"])(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 e.getDefaultOptions()},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.updateOption(t),this.render()},e.prototype.updateOption=function(t){this.options=Object(l[\"d\"])({},this.options,t)},e.prototype.setState=function(t,e,n){void 0===n&&(n=!0);var i=Object(l[\"j\"])(this.chart);Object(a[\"j\"])(i,(function(i){e(i.getData())&&i.setState(t,n)}))},e.prototype.getStates=function(){var t=Object(l[\"j\"])(this.chart),e=[];return Object(a[\"j\"])(t,(function(t){var n=t.getData(),i=t.getStates();Object(a[\"j\"])(i,(function(i){e.push({data:n,state:i,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.addAnnotations=function(t,e){e=e||this.chart;var n=Object(i[\"h\"])(t),r=e.getController(\"annotation\"),o=r.getComponents().map((function(t){return t.extra}));r.clear(!0);for(var a=function(t){var e=o[t],i=n.findIndex((function(t){return t.id&&t.id===e.id}));-1!==i&&(e=Object(l[\"d\"])({},e,n[i]),n.splice(i,1)),r.annotation(e)},s=0;st.delay&&Object(r[\"j\"])(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 i=n.getDefaultAttrs();return Object(r[\"db\"])(i,e.attrs),n.attrs=i,n.initAttrs(i),n.initAnimate(),n}return Object(i[\"c\"])(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?i=m(i,w):n.addAnimator(this),i.push(w),this.set(\"animations\",i),this.set(\"_pause\",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var e=this;void 0===t&&(t=!0);var n=this.get(\"animations\");Object(r[\"j\"])(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(r[\"j\"])(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\"),i=this.get(\"_pause\").pauseTime;return Object(r[\"j\"])(n,(function(t){t.startTime=t.startTime+(e-i),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,i=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],c=s.get(\"name\");if(c){if((s.isGroup()||s.isCanvas&&s.isCanvas())&&n&&Object(a[\"g\"])(s,n))return\"break\";Object(r[\"C\"])(c)?Object(r[\"j\"])(c,(function(t){i.emitDelegateEvent(s,t,e)})):l.emitDelegateEvent(s,c,e)}},l=this,c=0;c=0)&&(p=p?Object(o[\"C\"])(p)?p:[p]:[],h.layout=Object(o[\"l\"])(p,(function(t){return\"limit-in-shape\"!==t.type})),h.layout.length||delete h.layout),s.label({fields:u||[a],callback:c,cfg:Object(l[\"A\"])(h)})}else Object(l[\"r\"])(l[\"a\"].WARN,null===r,\"the label option must be an Object.\"),s.label({fields:[a]});return t}function h(t){var e=t.chart,n=t.options,i=n.legend,r=n.seriesField;return!1===i?e.legend(!1):r&&e.legend(r,i),t}function d(t){var e=t.chart,n=t.options,i=n.radius,r=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:\"polar\",cfg:{radius:i,innerRadius:r,startAngle:o,endAngle:a}}),t}function p(t){var e,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,s=n.yField;return Object(l[\"g\"])(Object(a[\"g\"])((e={},e[o]=i,e[s]=r,e)))(t)}function f(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField;return i?e.axis(o,i):e.axis(o,!1),r?e.axis(a,r):e.axis(a,!1),t}function g(t){Object(l[\"g\"])(Object(a[\"f\"])(\"sectorStyle\"),c,p,u,d,f,h,a[\"l\"],a[\"c\"],a[\"a\"],a[\"k\"],Object(a[\"b\"])(),a[\"j\"])(t)}var y=Object(l[\"d\"])({},r[\"b\"].getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:\"right\",radio:{}},sectorStyle:{stroke:\"#fff\",lineWidth:1},label:{layout:{type:\"limit-in-shape\"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:\"active-region\"}]});(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"rose\",e}Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return y},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return g}})(r[\"b\"])},d177:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i})),n.d(e,\"d\",(function(){return r})),n.d(e,\"b\",(function(){return o})),n.d(e,\"c\",(function(){return a}));var i=0,r=.5,o=.5,a=.05},d36e:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return u}));var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"9457\"),a=n(\"9a08\"),s=n(\"8937\"),l={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return\"\"+Object(s[\"s\"])(e,[0,\"data\",\"y\"],0)},containerTpl:'
    ',itemTpl:\"{value}\",domStyles:{\"g2-tooltip\":{padding:\"2px 4px\",fontSize:\"10px\"}}},c={appendPadding:2,tooltip:Object(i[\"a\"])({},l),animation:{}},u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"tiny-column\",e}return Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return c},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this,n=e.chart,i=e.options;Object(a[\"b\"])({chart:n,options:i}),n.changeData(Object(o[\"a\"])(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a[\"a\"]},e}(r[\"b\"])},d390:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c}));var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"9457\"),a=n(\"8582\"),s=n(\"edcb\"),l={appendPadding:2,tooltip:Object(i[\"a\"])({},s[\"b\"]),color:\"l(90) 0:#E5EDFE 1:#ffffff\",areaStyle:{fillOpacity:.6},line:{size:1,color:\"#5B8FF9\"},animation:{}},c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"tiny-area\",e}return Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return l},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this,n=e.chart,i=e.options;Object(a[\"b\"])({chart:n,options:i}),n.changeData(Object(o[\"a\"])(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a[\"a\"]},e}(r[\"b\"])},d4c6:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o})),n.d(e,\"b\",(function(){return r}));var i=new Map;function r(t,e){i.set(t,e)}function o(t){return i.get(t)}var a=function(t){var e=t.attr(),n=e.x,i=e.y,r=e.width,o=e.height;return{x:n,y:i,width:r,height:o}},s=function(t){var e=t.attr(),n=e.x,i=e.y,r=e.r;return{x:n-r,y:i-r,width:2*r,height:2*r}},l=n(\"1183\");function c(t,e){return t&&e?{minX:Math.min(t.minX,e.minX),minY:Math.min(t.minY,e.minY),maxX:Math.max(t.maxX,e.maxX),maxY:Math.max(t.maxY,e.maxY)}:t||e}function u(t,e){var n=t.get(\"startArrowShape\"),i=t.get(\"endArrowShape\"),r=null,o=null;return n&&(r=n.getCanvasBBox(),e=c(e,r)),i&&(o=i.getCanvasBBox(),e=c(e,o)),e}var h=function(t){for(var e=t.attr(),n=e.points,i=[],r=[],o=0;o1){var i=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=i}Object(g[\"j\"])(t,(function(e,n){isNaN(e)||(t[n]=+e)})),e[n]=t})),e):void 0}var b=m;n(\"20e7\");var x=\"\\t\\n\\v\\f\\r   ᠎              \\u2028\\u2029\";new RegExp(\"([a-z])[\"+x+\",]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[\"+x+\"]*,?[\"+x+\"]*)+)\",\"ig\"),new RegExp(\"(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[\"+x+\"]*,?[\"+x+\"]*\",\"ig\");Math.PI;function O(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function w(t,e){return O(t)*O(e)?(t[0]*e[0]+t[1]*e[1])/(O(t)*O(e)):1}function j(t,e){return(t[0]*e[1]1&&(n*=Math.sqrt(p),i*=Math.sqrt(p));var f=n*n*(d*d)+i*i*(h*h),y=f?Math.sqrt((n*n*(i*i)-f)/f):1;o===a&&(y*=-1),isNaN(y)&&(y=0);var v=i?y*n*d/i:0,m=n?y*-i*h/n:0,b=(s+c)/2+Math.cos(r)*v-Math.sin(r)*m,x=(l+u)/2+Math.sin(r)*v+Math.cos(r)*m,O=[(h-v)/n,(d-m)/i],_=[(-1*h-v)/n,(-1*d-m)/i],C=j([1,0],O),M=j(O,_);return w(O,_)<=-1&&(M=Math.PI),w(O,_)>=1&&(M=0),0===a&&M>0&&(M-=2*Math.PI),1===a&&M<0&&(M+=2*Math.PI),{cx:b,cy:x,rx:S(t,[c,u])?0:n,ry:S(t,[c,u])?0:i,startAngle:C,endAngle:C+M,xRotation:r,arcFlag:o,sweepFlag:a}}function C(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function M(t){t=b(t);for(var e=[],n=null,i=null,r=null,o=0,a=t.length,s=0;sMath.PI/2?Math.PI-c:c,u=u>Math.PI/2?Math.PI-u:u;var h={xExtra:Math.cos(l/2-c)*(e/2*(1/Math.sin(l/2)))-e/2||0,yExtra:Math.cos(u-l/2)*(e/2*(1/Math.sin(l/2)))-e/2||0};return h}var I=function(t){var e=t.attr(),n=e.path,i=e.stroke,r=i?e.lineWidth:0,o=t.get(\"segments\")||M(n),a=A(o,r),s=a.x,l=a.y,c=a.width,h=a.height,d={minX:s,minY:l,maxX:s+c,maxY:l+h};return d=u(t,d),{x:d.minX,y:d.minY,width:d.maxX-d.minX,height:d.maxY-d.minY}},T=function(t){var e=t.attr(),n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=Math.min(n,r),s=Math.max(n,r),l=Math.min(i,o),c=Math.max(i,o),h={minX:a,maxX:s,minY:l,maxY:c};return h=u(t,h),{x:h.minX,y:h.minY,width:h.maxX-h.minX,height:h.maxY-h.minY}},D=function(t){var e=t.attr(),n=e.x,i=e.y,r=e.rx,o=e.ry;return{x:n-r,y:i-o,width:2*r,height:2*o}};r(\"rect\",a),r(\"image\",a),r(\"circle\",s),r(\"marker\",s),r(\"polyline\",h),r(\"polygon\",d),r(\"text\",f),r(\"path\",I),r(\"line\",T),r(\"ellipse\",D)},d51b:function(t,e,n){\"use strict\";var i=function(){function t(t){this.value=t}return t}(),r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e[\"a\"]=o},d7b4:function(t,e,n){\"use strict\";var i=n(\"b825\");n.d(e,\"Annotation\",(function(){return i}));var r=n(\"7cfd\");n.d(e,\"Axis\",(function(){return r}));var o=n(\"ff7f\");n.d(e,\"Crosshair\",(function(){return o}));var a=n(\"c771\");n.d(e,\"Grid\",(function(){return a}));var s=n(\"e5b1\");n.d(e,\"Legend\",(function(){return s}));var l=n(\"0a1f\");n.d(e,\"Tooltip\",(function(){return l}));n(\"3665\"),n(\"31e6\"),n(\"75ed\");var c=n(\"7c50\");n.d(e,\"Slider\",(function(){return c[\"a\"]}));var u=n(\"deef\");n.d(e,\"Scrollbar\",(function(){return u[\"a\"]}));n(\"be4e\"),n(\"bb31\");var h=n(\"d7ff\");n.d(e,\"propagationDelegate\",(function(){return h[\"a\"]}));var d=n(\"bbad\");n.d(e,\"TOOLTIP_CSS_CONST\",(function(){return d}))},d7ff:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return r}));var i=n(\"6855\");function r(t,e,n){var r=new i[\"Event\"](e,n);r.target=t,r.propagationPath.push(t),t.emitDelegation(e,r);var o=t.getParent();while(o)o.emitDelegation(e,r),r.propagationPath.push(o),o=o.getParent()}},db3c:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return b}));var i=n(\"62e3\");function r(){return\"object\"===typeof window?null===window||void 0===window?void 0:window.devicePixelRatio:2}function o(t,e){void 0===e&&(e=t);var n=document.createElement(\"canvas\"),i=r();n.width=t*i,n.height=e*i,n.style.width=t+\"px\",n.style.height=e+\"px\";var o=n.getContext(\"2d\");return o.scale(i,i),n}function a(t,e,n,i){void 0===i&&(i=n);var r=e.backgroundColor,o=e.opacity;t.globalAlpha=o,t.fillStyle=r,t.beginPath(),t.fillRect(0,0,n,i),t.closePath()}function s(t,e,n){var i=t+e;return n?2*i:i}function l(t,e){var n=e?[[t*(1/4),t*(1/4)],[t*(3/4),t*(3/4)]]:[[.5*t,.5*t]];return n}function c(t,e){var n=e*Math.PI/180,i={a:Math.cos(n)*(1/t),b:Math.sin(n)*(1/t),c:-Math.sin(n)*(1/t),d:Math.cos(n)*(1/t),e:0,f:0};return i}var u={size:6,padding:2,backgroundColor:\"transparent\",opacity:1,rotation:0,fill:\"#fff\",fillOpacity:.5,stroke:\"transparent\",lineWidth:0,isStagger:!0};function h(t,e,n,i){var r=e.size,o=e.fill,a=e.lineWidth,s=e.stroke,l=e.fillOpacity;t.beginPath(),t.globalAlpha=l,t.fillStyle=o,t.strokeStyle=s,t.lineWidth=a,t.arc(n,i,r/2,0,2*Math.PI,!1),t.fill(),a&&t.stroke(),t.closePath()}function d(t){var e=Object(i[\"d\"])({},u,t),n=e.size,d=e.padding,p=e.isStagger,f=e.rotation,g=s(n,d,p),y=l(g,p),v=o(g,g),m=v.getContext(\"2d\");a(m,e,g);for(var b=0,x=y;bi?r=i-n:t+n=0;i--)t.removeChild(e[i])}function a(t,e){return!!t.className.match(new RegExp(\"(\\\\s|^)\"+e+\"(\\\\s|$)\"))}function s(t){var e=t.start,n=t.end,i=Math.min(e.x,n.x),r=Math.min(e.y,n.y),o=Math.max(e.x,n.x),a=Math.max(e.y,n.y);return{x:i,y:r,minX:i,minY:r,maxX:o,maxY:a,width:o-i,height:a-r}}function l(t){var e=t.map((function(t){return t.x})),n=t.map((function(t){return t.y})),i=Math.min.apply(Math,e),r=Math.min.apply(Math,n),o=Math.max.apply(Math,e),a=Math.max.apply(Math,n);return{x:i,y:r,minX:i,minY:r,maxX:o,maxY:a,width:o-i,height:a-r}}function c(t,e,n,i){var r=t+n,o=e+i;return{x:t,y:e,width:n,height:i,minX:t,minY:e,maxX:isNaN(r)?0:r,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 d(t,e){var n=e.x-t.x,i=e.y-t.y;return Math.sqrt(n*n+i*i)}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(i[\"j\"])(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]),i=t.applyToMatrix([e.minX,e.maxY,1]),r=t.applyToMatrix([e.maxX,e.minY,1]),c=t.applyToMatrix([e.maxX,e.maxY,1]),u=Math.min(n[0],i[0],r[0],c[0]),h=Math.max(n[0],i[0],r[0],c[0]),d=Math.min(n[1],i[1],r[1],c[1]),p=Math.max(n[1],i[1],r[1],c[1]);ua&&(a=h),dl&&(l=p)}})):(o=0,a=0,s=0,l=0),e=c(o,s,a-o,l-s)}else e=t.getBBox();return r?f(e,r):e}function y(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(n){var i={type:n.get(\"type\"),attrs:n.attr()};t.setClip(i)}else t.setClip(null)}}function v(t){return t+\"px\"}function m(t,e,n,i){var r=d(t,e),o=i/r,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)}}},e5b1:function(t,e,n){\"use strict\";n.r(e),n.d(e,\"Category\",(function(){return b})),n.d(e,\"Continuous\",(function(){return j})),n.d(e,\"Base\",(function(){return d}));var i=n(\"9ab48\"),r=n(\"8937\"),o=n(\"060b\"),a=n(\"8ea8\"),s=n(\"9778\"),l=n(\"2f5e\"),c=n(\"31e6\"),u=n(\"e546\"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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\"),i=this.get(\"maxHeight\"),r=e.width,o=e.height;return n&&(r=Math.min(r,n)),i&&(o=Math.min(o,i)),Object(u[\"b\"])(e.minX,e.minY,r,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\"),i=this.get(\"offsetY\");this.moveElementTo(this.get(\"group\"),{x:t+n,y:e+i})},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(),r=Object(u[\"c\"])(e.padding),o=Object(i[\"a\"])({x:0,y:0,width:n.width+r[1]+r[3],height:n.height+r[0]+r[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\"),r=n.spacing,o=n.style,a=n.text,s=this.addShape(t,{type:\"text\",id:this.getElementId(\"title\"),name:\"legend-title\",attrs:Object(i[\"a\"])({text:a,x:e.x,y:e.y},o)}),l=s.getBBox();this.set(\"currentPoint\",{x:e.x,y:l.maxY+r})},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}(c[\"a\"]),d=h,p={marker:{style:{inactiveFill:\"#000\",inactiveOpacity:.45,fill:\"#000\",opacity:1,size:12}},text:{style:{fill:\"#ccc\",fontSize:12}}},f={fill:l[\"a\"].textColor,fontSize:12,textAlign:\"start\",textBaseline:\"middle\",fontFamily:l[\"a\"].fontFamily,fontWeight:\"normal\",lineHeight:12},g=\"navigation-arrow-right\",y=\"navigation-arrow-left\",v={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},m=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\"===d?(y&&yx&&(x=e.width)})),O=x,x+=h,l&&(x=Math.min(l,x),O=Math.min(l,O)),this.pageWidth=x,this.pageHeight=c-Math.max(y.height,d+w);var _=Math.floor(this.pageHeight/(d+w));Object(r[\"j\"])(s,(function(t,e){0!==e&&e%_===0&&(m+=1,v.x+=x,v.y=o),n.moveElementTo(t,v),t.getParent().setClip({type:\"rect\",attrs:{x:v.x,y:v.y,width:x,height:d}}),v.y+=d+w})),this.totalPagesCnt=m,this.moveElementTo(g,{x:i+O/2-y.width/2-y.minX,y:c-y.height-y.minY})}this.pageHeight&&this.pageWidth&&e.getParent().setClip({type:\"rect\",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),\"horizontal\"===a&&this.get(\"maxRow\")?this.totalPagesCnt=Math.ceil(m/this.get(\"maxRow\")):this.totalPagesCnt=m,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(g),e.attr(\"matrix\",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,e,n,o){var a={x:0,y:0},s=this.addGroup(t,{id:this.getElementId(\"navigation-group\"),name:\"legend-navigation\"}),l=Object(r[\"s\"])(o.marker,\"style\",{}),c=l.size,u=void 0===c?12:c,h=Object(i[\"f\"])(l,[\"size\"]),d=this.drawArrow(s,a,y,\"horizontal\"===e?\"up\":\"left\",u,h);d.on(\"click\",this.onNavigationBack);var p=d.getBBox();a.x+=p.width+2;var f=this.addShape(s,{type:\"text\",id:this.getElementId(\"navigation-text\"),name:\"navigation-text\",attrs:Object(i[\"a\"])({x:a.x,y:a.y+u/2,text:n,textBaseline:\"middle\"},Object(r[\"s\"])(o.text,\"style\"))}),v=f.getBBox();a.x+=v.width+2;var m=this.drawArrow(s,a,g,\"horizontal\"===e?\"down\":\"right\",u,h);return m.on(\"click\",this.onNavigationAfter),s},e.prototype.updateNavigation=function(t){var e=Object(r[\"h\"])({},p,this.get(\"pageNavigator\")),n=e.marker.style,i=n.fill,o=n.opacity,a=n.inactiveFill,s=n.inactiveOpacity,l=this.currentPageIndex+\"/\"+this.totalPagesCnt,c=t?t.getChildren()[1]:this.getElementByLocalId(\"navigation-text\"),u=t?t.findById(this.getElementId(y)):this.getElementByLocalId(y),h=t?t.findById(this.getElementId(g)):this.getElementByLocalId(g);c.attr(\"text\",l),u.attr(\"opacity\",1===this.currentPageIndex?s:o),u.attr(\"fill\",1===this.currentPageIndex?a:i),u.attr(\"cursor\",1===this.currentPageIndex?\"not-allowed\":\"pointer\"),h.attr(\"opacity\",this.currentPageIndex===this.totalPagesCnt?s:o),h.attr(\"fill\",this.currentPageIndex===this.totalPagesCnt?a:i),h.attr(\"cursor\",this.currentPageIndex===this.totalPagesCnt?\"not-allowed\":\"pointer\");var d=u.getBBox().maxX+2;c.attr(\"x\",d),d+=c.getBBox().width+2,this.updateArrowPath(h,{x:d,y:0})},e.prototype.drawArrow=function(t,e,n,r,o,s){var l=e.x,c=e.y,u=this.addShape(t,{type:\"path\",id:this.getElementId(n),name:n,attrs:Object(i[\"a\"])({size:o,direction:r,path:[[\"M\",l+o/2,c],[\"L\",l,c+o],[\"L\",l+o,c+o],[\"Z\"]],cursor:\"pointer\"},s)});return u.attr(\"matrix\",Object(a[\"e\"])({x:l+o/2,y:c+o/2},v[r])),u},e.prototype.updateArrowPath=function(t,e){var n=e.x,i=e.y,r=t.attr(),o=r.size,s=r.direction,l=Object(a[\"e\"])({x:n+o/2,y:i+o/2},v[s]);t.attr(\"path\",[[\"M\",n+o/2,i],[\"L\",n,i+o],[\"L\",n+o,i+o],[\"Z\"]]),t.attr(\"matrix\",l)},e.prototype.getCurrentNavigationMatrix=function(){var t=this,e=t.currentPageIndex,n=t.pageWidth,i=t.pageHeight,r=this.get(\"layout\"),o=\"horizontal\"===r?{x:0,y:i*(1-e)}:{x:n*(1-e),y:0};return Object(a[\"f\"])(o)},e.prototype.applyItemStates=function(t,e){var n=this.getItemStates(t),i=n.length>0;if(i){var o=e.getChildren(),a=this.get(\"itemStates\");Object(r[\"j\"])(o,(function(e){var n=e.get(\"name\"),i=n.split(\"-\")[2],r=Object(s[\"a\"])(t,i,a);r&&(e.attr(r),\"marker\"!==i||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}(d),b=m,x=1.4,O=.4,w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i[\"a\"])(Object(i[\"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:l[\"a\"].textColor,textBaseline:\"middle\",fontFamily:l[\"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:l[\"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),i=e.getCurrentValue(),r=i[1];rn&&(r=n),e.setValue([r,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 i=e.getValueByCanvasPoint(n.x,n.y),r=e.getValueByCanvasPoint(t.x,t.y),o=e.getCurrentValue(),a=o[1]-o[0],s=e.getRange(),l=r-i;l<0?o[0]+l>s.min?e.setValue([o[0]+l,o[1]+l]):e.setValue([s.min,s.min+a]):l>0&&(l>0&&o[1]+lo&&(c=o),c0&&this.changeRailLength(i,a,n[a]-d)}},e.prototype.changeRailLength=function(t,e,n){var i,r=t.getBBox();i=\"height\"===e?this.getRailPath(r.x,r.y,r.width,n):this.getRailPath(r.x,r.y,n,r.height),t.attr(\"path\",i)},e.prototype.changeRailPosition=function(t,e,n){var i=t.getBBox(),r=this.getRailPath(e,n,i.width,i.height);t.attr(\"path\",r)},e.prototype.fixedHorizontal=function(t,e,n,i){var r=this.get(\"label\"),o=r.align,a=r.spacing,s=n.getBBox(),l=t.getBBox(),c=e.getBBox(),u=s.height;this.fitRailLength(l,c,s,n),s=n.getBBox(),\"rail\"===o?(t.attr({x:i.x,y:i.y+u/2}),this.changeRailPosition(n,i.x+l.width+a,i.y),e.attr({x:i.x+l.width+s.width+2*a,y:i.y+u/2})):\"top\"===o?(t.attr({x:i.x,y:i.y}),e.attr({x:i.x+s.width,y:i.y}),this.changeRailPosition(n,i.x,i.y+l.height+a)):(this.changeRailPosition(n,i.x,i.y),t.attr({x:i.x,y:i.y+s.height+a}),e.attr({x:i.x+s.width,y:i.y+s.height+a}))},e.prototype.fixedVertail=function(t,e,n,i){var r=this.get(\"label\"),o=r.align,a=r.spacing,s=n.getBBox(),l=t.getBBox(),c=e.getBBox();if(this.fitRailLength(l,c,s,n),s=n.getBBox(),\"rail\"===o)t.attr({x:i.x,y:i.y}),this.changeRailPosition(n,i.x,i.y+l.height+a),e.attr({x:i.x,y:i.y+l.height+s.height+2*a});else if(\"right\"===o)t.attr({x:i.x+s.width+a,y:i.y}),this.changeRailPosition(n,i.x,i.y),e.attr({x:i.x+s.width+a,y:i.y+s.height});else{var u=Math.max(l.width,c.width);t.attr({x:i.x,y:i.y}),this.changeRailPosition(n,i.x+u+a,i.y),e.attr({x:i.x,y:i.y+s.height})}},e}(d),j=w},e5e2:function(t,e,n){\"use strict\";var i=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\"]=i},e73e:function(t,e,n){\"use strict\";var i=n(\"9ab48\"),r=n(\"6855\"),o=n(\"8937\"),a=n(\"68de\"),s=n(\"7349\"),l=n(\"00f9\"),c=n(\"22f9\"),u=n(\"73ec\"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(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=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 i=n.get(\"context\");this.createPath(i,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(l[\"a\"])(this,t),this.createPath(t),e.length&&Object(s[\"a\"])(t,e))},e.prototype.createPath=function(t,e){var n=this.attr(),i=this.get(\"el\");Object(o[\"j\"])(e||n,(function(t,e){c[\"b\"][e]&&i.setAttribute(c[\"b\"][e],t)})),Object(l[\"c\"])(this)},e}(r[\"AbstractGroup\"]);e[\"a\"]=h},e897:function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return r[\"a\"]})),n.d(e,\"c\",(function(){return r[\"b\"]})),n.d(e,\"d\",(function(){return r[\"c\"]})),n.d(e,\"a\",(function(){return i}));var i={};n.r(i),n.d(i,\"leftTranslate\",(function(){return o})),n.d(i,\"leftRotate\",(function(){return a})),n.d(i,\"leftScale\",(function(){return s})),n.d(i,\"transform\",(function(){return c})),n.d(i,\"direction\",(function(){return u})),n.d(i,\"angleTo\",(function(){return h})),n.d(i,\"vertical\",(function(){return d}));var r=n(\"20e7\");function o(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return r[\"a\"].fromTranslation(i,n),r[\"a\"].multiply(t,i,e)}function a(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return r[\"a\"].fromRotation(i,n),r[\"a\"].multiply(t,i,e)}function s(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return r[\"a\"].fromScaling(i,n),r[\"a\"].multiply(t,i,e)}function l(t,e,n){return r[\"a\"].multiply(t,n,e)}function c(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],i=0,r=e.length;i=0;return n?o?2*Math.PI-i:i:o?i:2*Math.PI-i}function d(t,e,n){return n?(t[0]=e[1],t[1]=-1*e[0]):(t[0]=-1*e[1],t[1]=e[0]),t}},e945:function(t,e,n){\"use strict\";var i=n(\"8937\"),r=/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,l=function(t){return/^[r,R,L,l]{1}[\\s]*\\(/.test(t)},c=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,i){return t[i]+(e[i]-t[i])*n};function h(t){return\"#\"+f(t[0])+f(t[1])+f(t[2])}var d,p=function(t){return[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16)]},f=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),i=t.length-1,r=Math.floor(i*n),o=i*n-r,a=t[r],s=r===i?a:t[r+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;d||(d=c()),d.style.color=t;var e=document.defaultView.getComputedStyle(d,\"\").getPropertyValue(\"color\"),n=r.exec(e),i=n[1].split(/\\s*,\\s*/).map((function(t){return Number(t)}));return e=h(i),e},v=function(t){var e=Object(i[\"Q\"])(t)?t.split(\"-\"):t,n=Object(i[\"W\"])(e,(function(t){return p(-1===t.indexOf(\"#\")?y(t):t)}));return function(t){return g(n,t)}},m=function(t){if(l(t)){var e,n=void 0;if(\"l\"===t[0]){var r=o.exec(t),c=+r[1]+90;n=r[2],e=\"linear-gradient(\"+c+\"deg, \"}else if(\"r\"===t[0]){e=\"radial-gradient(\";r=a.exec(t);n=r[4]}var u=n.match(s);return Object(i[\"j\"])(u,(function(t,n){var i=t.split(\":\");e+=i[1]+\" \"+100*i[0]+\"%\",n!==u.length-1&&(e+=\", \")})),e+=\")\",e}return t};e[\"a\"]={rgb2arr:p,gradient:v,toRGB:Object(i[\"ab\"])(y),toCSSGradient:m}},ebb4:function(t,e,n){\"use strict\";e[\"a\"]={type:\"FeatureCollection\",features:[{type:\"Feature\",properties:{adcode:500103,code:500103e6,name:\"渝中区\",center:[106.56288,29.556742],centroid:[106.540387,29.549305],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:2,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.588199,29.571242],[106.572487,29.562619],[106.560849,29.567175],[106.545382,29.566483],[106.530407,29.552369],[106.502321,29.557494],[106.494022,29.554809],[106.482778,29.548097],[106.495594,29.546958],[106.500995,29.529789],[106.532272,29.52869],[106.539441,29.540489],[106.556185,29.5411],[106.583731,29.547812],[106.589623,29.556518],[106.588199,29.571242]]]]}},{type:\"Feature\",properties:{adcode:500104,code:500104e6,name:\"大渡口区\",center:[106.48613,29.481002],centroid:[106.458637,29.417574],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:3,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.424298,29.426306],[106.423071,29.426591],[106.417522,29.420563],[106.416786,29.430175],[106.410108,29.439176],[106.406965,29.439054],[106.398422,29.440438],[106.393708,29.429361],[106.398471,29.413638],[106.392726,29.408831],[106.398225,29.386016],[106.405738,29.380963],[106.409568,29.368086],[106.39631,29.357286],[106.400877,29.340777],[106.411876,29.342245],[106.435542,29.352965],[106.441926,29.358916],[106.455036,29.380596],[106.469619,29.389153],[106.49196,29.39775],[106.509735,29.397506],[106.528197,29.388338],[106.534924,29.392005],[106.526528,29.411275],[106.498343,29.446913],[106.502075,29.47745],[106.509538,29.481765],[106.521765,29.479974],[106.523729,29.485673],[106.50291,29.494994],[106.480569,29.490273],[106.468097,29.498128],[106.454888,29.483556],[106.462696,29.485266],[106.47065,29.475048],[106.458915,29.472443],[106.451942,29.456401],[106.458767,29.448379],[106.454545,29.430623],[106.457884,29.41983],[106.451402,29.414127],[106.439372,29.417834],[106.430436,29.415512],[106.424298,29.426306]]]]}},{type:\"Feature\",properties:{adcode:500105,code:500105e6,name:\"江北区\",center:[106.532844,29.575352],centroid:[106.707043,29.613282],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:4,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.46191,29.608247],[106.451942,29.586452],[106.463432,29.581165],[106.487688,29.555135],[106.494022,29.554809],[106.502321,29.557494],[106.530407,29.552369],[106.545382,29.566483],[106.560849,29.567175],[106.572487,29.562619],[106.588199,29.571242],[106.581177,29.578766],[106.580392,29.590275],[106.589672,29.609344],[106.602242,29.615565],[106.623307,29.614995],[106.633274,29.592023],[106.641916,29.586818],[106.65645,29.591861],[106.672654,29.566321],[106.683652,29.562131],[106.692343,29.564287],[106.709627,29.577627],[106.730937,29.583402],[106.740512,29.589665],[106.748614,29.607718],[106.766977,29.610401],[106.792461,29.604059],[106.801152,29.589055],[106.821087,29.591576],[106.843527,29.57657],[106.85045,29.575431],[106.861547,29.602067],[106.873086,29.615809],[106.893659,29.657064],[106.87775,29.659339],[106.866359,29.646985],[106.850548,29.659908],[106.833706,29.6632],[106.825703,29.659502],[106.819811,29.663647],[106.822118,29.67153],[106.809401,29.674699],[106.806701,29.671123],[106.793001,29.678599],[106.78323,29.669986],[106.782543,29.662428],[106.754162,29.651578],[106.747926,29.655154],[106.749988,29.663606],[106.744735,29.670433],[106.741297,29.662184],[106.73462,29.667263],[106.729906,29.646294],[106.723915,29.640604],[106.712671,29.646945],[106.70948,29.631337],[106.687237,29.623654],[106.648054,29.63719],[106.621834,29.635199],[106.61162,29.639873],[106.602929,29.634386],[106.595613,29.638572],[106.582798,29.633695],[106.579213,29.619061],[106.57337,29.620362],[106.562617,29.603734],[106.562175,29.589543],[106.549851,29.581531],[106.530308,29.587469],[106.506543,29.573032],[106.497754,29.573113],[106.486363,29.585639],[106.485724,29.596984],[106.492009,29.599424],[106.482434,29.613329],[106.478506,29.609751],[106.46191,29.608247]]]]}},{type:\"Feature\",properties:{adcode:500106,code:500106e6,name:\"沙坪坝区\",center:[106.4542,29.541224],centroid:[106.368248,29.624462],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:5,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.482778,29.548097],[106.494022,29.554809],[106.487688,29.555135],[106.463432,29.581165],[106.451942,29.586452],[106.46191,29.608247],[106.462843,29.616296],[106.453121,29.620321],[106.45209,29.632109],[106.468293,29.645969],[106.469766,29.657714],[106.457589,29.668889],[106.448603,29.661453],[106.448702,29.652187],[106.424396,29.65747],[106.429061,29.662956],[106.426508,29.680021],[106.433431,29.711706],[106.442073,29.730387],[106.442908,29.743624],[106.431418,29.749146],[106.417768,29.750202],[106.40947,29.738833],[106.39361,29.740457],[106.382758,29.747847],[106.380647,29.744233],[106.366604,29.746994],[106.365327,29.735504],[106.32968,29.732702],[106.327126,29.728519],[106.317797,29.738752],[106.305669,29.736641],[106.297076,29.706467],[106.285636,29.697896],[106.280431,29.703298],[106.278712,29.67669],[106.284506,29.675268],[106.287698,29.663484],[106.2794,29.652553],[106.287649,29.635849],[106.279105,29.637841],[106.273017,29.631215],[106.282493,29.626744],[106.274882,29.612231],[106.265602,29.605889],[106.260005,29.592633],[106.251707,29.559406],[106.253425,29.532841],[106.264031,29.525354],[106.285488,29.532881],[106.293639,29.531254],[106.297322,29.542442],[106.305718,29.538415],[106.312789,29.544883],[106.33405,29.544029],[106.343526,29.554891],[106.356145,29.559772],[106.37392,29.546633],[106.379763,29.546958],[106.379272,29.536584],[106.390762,29.54053],[106.395083,29.547934],[106.403528,29.538903],[106.41384,29.540815],[106.411237,29.505536],[106.407506,29.492918],[106.424544,29.493325],[106.426999,29.498006],[106.44281,29.494139],[106.448063,29.509524],[106.461615,29.52808],[106.460093,29.532108],[106.483466,29.539025],[106.482778,29.548097]]]]}},{type:\"Feature\",properties:{adcode:500107,code:500107e6,name:\"九龙坡区\",center:[106.480989,29.523492],centroid:[106.364401,29.428501],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:6,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.253425,29.532841],[106.253278,29.519698],[106.261969,29.516524],[106.260594,29.494262],[106.267026,29.494994],[106.26025,29.466051],[106.262705,29.451596],[106.278565,29.449031],[106.285636,29.441986],[106.298549,29.440764],[106.30724,29.434248],[106.307339,29.426835],[106.320596,29.427976],[106.323002,29.420481],[106.317257,29.415227],[106.329041,29.413679],[106.331005,29.39555],[106.322314,29.38732],[106.314409,29.388827],[106.30891,29.379985],[106.295554,29.378763],[106.294425,29.384549],[106.284359,29.38516],[106.282248,29.368167],[106.275668,29.363236],[106.277829,29.352924],[106.267468,29.350234],[106.261232,29.335519],[106.274539,29.32871],[106.276945,29.322269],[106.289171,29.320679],[106.27994,29.286913],[106.298697,29.256483],[106.311905,29.254769],[106.339844,29.26456],[106.3559,29.27688],[106.384035,29.283039],[106.393217,29.294948],[106.385999,29.312401],[106.395525,29.339351],[106.400877,29.340777],[106.39631,29.357286],[106.409568,29.368086],[106.405738,29.380963],[106.398225,29.386016],[106.392726,29.408831],[106.398471,29.413638],[106.393708,29.429361],[106.398422,29.440438],[106.406965,29.439054],[106.408537,29.441375],[106.410599,29.440397],[106.410108,29.439176],[106.416786,29.430175],[106.417522,29.420563],[106.423071,29.426591],[106.423316,29.427202],[106.423709,29.427691],[106.423955,29.427731],[106.424249,29.426795],[106.424298,29.426306],[106.430436,29.415512],[106.439372,29.417834],[106.451402,29.414127],[106.457884,29.41983],[106.454545,29.430623],[106.458767,29.448379],[106.451942,29.456401],[106.458915,29.472443],[106.47065,29.475048],[106.462696,29.485266],[106.454888,29.483556],[106.468097,29.498128],[106.480569,29.490273],[106.50291,29.494994],[106.523729,29.485673],[106.521765,29.479974],[106.542044,29.472972],[106.552011,29.48726],[106.549851,29.495523],[106.534187,29.505454],[106.532272,29.52869],[106.500995,29.529789],[106.495594,29.546958],[106.482778,29.548097],[106.483466,29.539025],[106.460093,29.532108],[106.461615,29.52808],[106.448063,29.509524],[106.44281,29.494139],[106.426999,29.498006],[106.424544,29.493325],[106.407506,29.492918],[106.411237,29.505536],[106.41384,29.540815],[106.403528,29.538903],[106.395083,29.547934],[106.390762,29.54053],[106.379272,29.536584],[106.379763,29.546958],[106.37392,29.546633],[106.356145,29.559772],[106.343526,29.554891],[106.33405,29.544029],[106.312789,29.544883],[106.305718,29.538415],[106.297322,29.542442],[106.293639,29.531254],[106.285488,29.532881],[106.264031,29.525354],[106.253425,29.532841]]],[[[106.423955,29.427731],[106.423709,29.427691],[106.423316,29.427202],[106.423071,29.426591],[106.424298,29.426306],[106.424249,29.426795],[106.423955,29.427731]]],[[[106.410599,29.440397],[106.408537,29.441375],[106.406965,29.439054],[106.410108,29.439176],[106.410599,29.440397]]]]}},{type:\"Feature\",properties:{adcode:500108,code:500108e6,name:\"南岸区\",center:[106.560813,29.523992],centroid:[106.660614,29.535521],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:7,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.801152,29.589055],[106.792461,29.604059],[106.766977,29.610401],[106.748614,29.607718],[106.740512,29.589665],[106.730937,29.583402],[106.709627,29.577627],[106.692343,29.564287],[106.683652,29.562131],[106.672654,29.566321],[106.65645,29.591861],[106.641916,29.586818],[106.633274,29.592023],[106.623307,29.614995],[106.602242,29.615565],[106.589672,29.609344],[106.580392,29.590275],[106.581177,29.578766],[106.588199,29.571242],[106.589623,29.556518],[106.583731,29.547812],[106.556185,29.5411],[106.539441,29.540489],[106.532272,29.52869],[106.534187,29.505454],[106.549851,29.495523],[106.552011,29.48726],[106.56954,29.485144],[106.578772,29.469878],[106.586677,29.473094],[106.59581,29.463974],[106.606808,29.474315],[106.627971,29.465847],[106.642849,29.469959],[106.655321,29.462346],[106.65866,29.46772],[106.673341,29.458437],[106.688808,29.468453],[106.683358,29.476473],[106.69308,29.483353],[106.693276,29.48897],[106.703686,29.487993],[106.705257,29.482254],[106.732115,29.483923],[106.738548,29.486731],[106.764179,29.530928],[106.7712,29.549155],[106.787993,29.576326],[106.801152,29.589055]]]]}},{type:\"Feature\",properties:{adcode:500109,code:500109e6,name:\"北碚区\",center:[106.437868,29.82543],centroid:[106.513996,29.861006],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:8,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.648447,30.085559],[106.629101,30.079448],[106.591587,30.047071],[106.598265,30.039582],[106.596546,30.030432],[106.582209,30.022214],[106.572192,30.012698],[106.568706,29.991154],[106.55697,29.961259],[106.544941,29.935246],[106.526773,29.945822],[106.519506,29.927546],[106.505659,29.931234],[106.501338,29.922115],[106.488916,29.908415],[106.479046,29.908172],[106.477131,29.891875],[106.466967,29.882996],[106.465347,29.870832],[106.452581,29.869128],[106.462892,29.88478],[106.458522,29.887456],[106.452777,29.878212],[106.44281,29.883564],[106.46191,29.92402],[106.455281,29.926776],[106.443841,29.906834],[106.433235,29.901889],[106.423414,29.904564],[106.429601,29.892362],[106.423611,29.884334],[106.409077,29.889443],[106.396507,29.898118],[106.390958,29.906672],[106.390909,29.921304],[106.383053,29.92787],[106.339598,29.901767],[106.314409,29.884861],[106.325653,29.872737],[106.329385,29.859639],[106.336407,29.860247],[106.330956,29.848323],[106.342446,29.842523],[106.337585,29.834532],[106.345883,29.836114],[106.34225,29.816804],[106.351284,29.812422],[106.372889,29.814207],[106.344214,29.779307],[106.334197,29.771311],[106.324279,29.774843],[106.31598,29.764898],[106.305669,29.736641],[106.317797,29.738752],[106.327126,29.728519],[106.32968,29.732702],[106.365327,29.735504],[106.366604,29.746994],[106.380647,29.744233],[106.382758,29.747847],[106.39361,29.740457],[106.40947,29.738833],[106.417768,29.750202],[106.431418,29.749146],[106.442908,29.743624],[106.442073,29.730387],[106.433431,29.711706],[106.426508,29.680021],[106.429061,29.662956],[106.424396,29.65747],[106.448702,29.652187],[106.448603,29.661453],[106.457589,29.668889],[106.457147,29.687415],[106.469373,29.697165],[106.487197,29.699399],[106.496134,29.68969],[106.506887,29.685425],[106.514743,29.694281],[106.512337,29.703461],[106.518377,29.71199],[106.536741,29.723321],[106.536741,29.730306],[106.524956,29.742609],[106.520144,29.764614],[106.515676,29.769688],[106.530996,29.775979],[106.532469,29.767333],[106.54116,29.763112],[106.530799,29.758687],[106.532076,29.749471],[106.5417,29.754871],[106.556529,29.754789],[106.57175,29.763355],[106.589181,29.754992],[106.588543,29.76161],[106.604746,29.769322],[106.592864,29.784705],[106.609018,29.799437],[106.601653,29.799843],[106.593011,29.808932],[106.5936,29.79964],[106.584909,29.799599],[106.587217,29.812665],[106.598805,29.816763],[106.598461,29.825607],[106.612848,29.832626],[106.622865,29.831327],[106.620262,29.840252],[106.634109,29.839481],[106.646581,29.849378],[106.64987,29.863857],[106.658512,29.869534],[106.668775,29.900348],[106.67506,29.897713],[106.678889,29.908212],[106.669118,29.912712],[106.679822,29.923615],[106.678497,29.92864],[106.687384,29.935489],[106.674274,29.932206],[106.674225,29.961948],[106.679724,29.97961],[106.677465,29.98601],[106.676385,30.015087],[106.678889,30.026141],[106.670739,30.034805],[106.678153,30.058121],[106.677024,30.063989],[106.648447,30.085559]]]]}},{type:\"Feature\",properties:{adcode:500112,code:500112e6,name:\"渝北区\",center:[106.512851,29.601451],centroid:[106.746928,29.810209],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:11,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.893659,29.657064],[106.906082,29.678152],[106.913742,29.684043],[106.930534,29.689],[106.942564,29.705857],[106.945609,29.724743],[106.972222,29.763924],[106.96466,29.774518],[106.958522,29.769485],[106.952532,29.784259],[106.945167,29.784178],[106.952237,29.792214],[106.939913,29.804347],[106.944234,29.812949],[106.942859,29.839765],[106.936574,29.842483],[106.937114,29.851893],[106.944528,29.855908],[106.945461,29.875454],[106.953416,29.88109],[106.962058,29.901929],[106.974529,29.916603],[106.98489,29.934314],[106.970012,29.938326],[106.965691,29.951981],[106.946934,29.953683],[106.942515,29.964824],[106.935248,29.964054],[106.931467,29.975397],[106.909077,29.971873],[106.896654,29.978597],[106.889928,29.987954],[106.88708,29.981392],[106.877947,29.98601],[106.868323,29.978962],[106.864444,29.984916],[106.866506,30.012293],[106.856195,30.013872],[106.861449,30.028165],[106.842054,30.049135],[106.836996,30.049742],[106.830171,30.033955],[106.812495,30.028975],[106.799974,30.030554],[106.797764,30.023145],[106.785587,30.017233],[106.768598,30.017274],[106.764228,30.024602],[106.759416,30.018893],[106.742132,30.025938],[106.73241,30.026829],[106.726076,30.034319],[106.72583,30.057068],[106.698825,30.076535],[106.698726,30.098708],[106.703195,30.118126],[106.689643,30.117802],[106.688857,30.124031],[106.673881,30.12213],[106.668382,30.101742],[106.656352,30.086165],[106.648447,30.085559],[106.677024,30.063989],[106.678153,30.058121],[106.670739,30.034805],[106.678889,30.026141],[106.676385,30.015087],[106.677465,29.98601],[106.679724,29.97961],[106.674225,29.961948],[106.674274,29.932206],[106.687384,29.935489],[106.678497,29.92864],[106.679822,29.923615],[106.669118,29.912712],[106.678889,29.908212],[106.67506,29.897713],[106.668775,29.900348],[106.658512,29.869534],[106.64987,29.863857],[106.646581,29.849378],[106.634109,29.839481],[106.620262,29.840252],[106.622865,29.831327],[106.612848,29.832626],[106.598461,29.825607],[106.598805,29.816763],[106.587217,29.812665],[106.584909,29.799599],[106.5936,29.79964],[106.593011,29.808932],[106.601653,29.799843],[106.609018,29.799437],[106.592864,29.784705],[106.604746,29.769322],[106.588543,29.76161],[106.589181,29.754992],[106.57175,29.763355],[106.556529,29.754789],[106.5417,29.754871],[106.532076,29.749471],[106.530799,29.758687],[106.54116,29.763112],[106.532469,29.767333],[106.530996,29.775979],[106.515676,29.769688],[106.520144,29.764614],[106.524956,29.742609],[106.536741,29.730306],[106.536741,29.723321],[106.518377,29.71199],[106.512337,29.703461],[106.514743,29.694281],[106.506887,29.685425],[106.496134,29.68969],[106.487197,29.699399],[106.469373,29.697165],[106.457147,29.687415],[106.457589,29.668889],[106.469766,29.657714],[106.468293,29.645969],[106.45209,29.632109],[106.453121,29.620321],[106.462843,29.616296],[106.46191,29.608247],[106.478506,29.609751],[106.482434,29.613329],[106.492009,29.599424],[106.485724,29.596984],[106.486363,29.585639],[106.497754,29.573113],[106.506543,29.573032],[106.530308,29.587469],[106.549851,29.581531],[106.562175,29.589543],[106.562617,29.603734],[106.57337,29.620362],[106.579213,29.619061],[106.582798,29.633695],[106.595613,29.638572],[106.602929,29.634386],[106.61162,29.639873],[106.621834,29.635199],[106.648054,29.63719],[106.687237,29.623654],[106.70948,29.631337],[106.712671,29.646945],[106.723915,29.640604],[106.729906,29.646294],[106.73462,29.667263],[106.741297,29.662184],[106.744735,29.670433],[106.749988,29.663606],[106.747926,29.655154],[106.754162,29.651578],[106.782543,29.662428],[106.78323,29.669986],[106.793001,29.678599],[106.806701,29.671123],[106.809401,29.674699],[106.822118,29.67153],[106.819811,29.663647],[106.825703,29.659502],[106.833706,29.6632],[106.850548,29.659908],[106.866359,29.646985],[106.87775,29.659339],[106.893659,29.657064]]]]}},{type:\"Feature\",properties:{adcode:500113,code:500113e6,name:\"巴南区\",center:[106.519423,29.381919],centroid:[106.751731,29.371851],childrenNum:0,level:\"district\",parent:{adcode:5e5},subFeatureIndex:12,acroutes:[1e5,5e5]},geometry:{type:\"MultiPolygon\",coordinates:[[[[106.552011,29.48726],[106.542044,29.472972],[106.521765,29.479974],[106.509538,29.481765],[106.502075,29.47745],[106.498343,29.446913],[106.526528,29.411275],[106.534924,29.392005],[106.528197,29.388338],[106.509735,29.397506],[106.49196,29.39775],[106.469619,29.389153],[106.455036,29.380596],[106.441926,29.358916],[106.435542,29.352965],[106.440404,29.350153],[106.454496,29.35427],[106.460241,29.360872],[106.478163,29.36022],[106.474431,29.35696],[106.473645,29.335722],[106.486363,29.294336],[106.508655,29.278674],[106.505021,29.268966],[106.511208,29.268069],[106.514056,29.254688],[106.519653,29.251791],[106.515774,29.232042],[106.521225,29.224614],[106.535906,29.221962],[106.539343,29.213717],[106.547788,29.212534],[106.541896,29.192369],[106.545972,29.183265],[106.562372,29.161379],[106.549998,29.153498],[106.550047,29.145493],[106.560997,29.133239],[106.574451,29.128215],[106.585007,29.131442],[106.588395,29.12654],[106.604599,29.126908],[106.623896,29.160154],[106.642603,29.173874],[106.656205,29.175385],[106.65316,29.16142],[106.665092,29.158439],[106.668234,29.168158],[106.676631,29.176855],[106.680313,29.173548],[106.686746,29.188042],[106.699561,29.177181],[106.712377,29.179182],[106.729464,29.162604],[106.748908,29.176691],[106.757894,29.170159],[106.767665,29.169587],[106.768843,29.161298],[106.776405,29.163666],[106.788386,29.177181],[106.793689,29.169709],[106.800121,29.179958],[106.809941,29.178161],[106.812936,29.165014],[106.821235,29.149577],[106.849468,29.1575],[106.858012,29.149046],[106.868028,29.151456],[106.885263,29.141817],[106.891695,29.131769],[106.891744,29.14149],[106.899355,29.155621],[106.909175,29.160562],[106.907751,29.179672],[106.896409,29.180039],[106.895574,29.190491],[106.911385,29.197472],[106.919045,29.180366],[106.945069,29.183142],[106.955527,29.190695],[106.95263,29.197104],[106.961812,29.202738],[106.968392,29.215228],[106.95754,29.228981],[106.954692,29.252199],[106.936132,29.256931],[106.933039,29.279653],[106.92312,29.280673],[106.920616,29.302411],[106.922433,29.310322],[106.919978,29.329893],[106.922531,29.403046],[106.932253,29.399746],[106.936574,29.439339],[106.933039,29.448542],[106.935297,29.464463],[106.945952,29.497029],[106.947278,29.510826],[106.953612,29.535811],[106.953268,29.551311],[106.958768,29.582508],[106.966624,29.599546],[106.975315,29.634142],[106.993581,29.679331],[107.002223,29.714468],[106.998638,29.732539],[106.990144,29.738062],[106.988818,29.748781],[106.993483,29.75824],[106.988131,29.769322],[106.972222,29.763924],[106.945609,29.724743],[106.942564,29.705857],[106.930534,29.689],[106.913742,29.684043],[106.906082,29.678152],[106.893659,29.657064],[106.873086,29.615809],[106.861547,29.602067],[106.85045,29.575431],[106.843527,29.57657],[106.821087,29.591576],[106.801152,29.589055],[106.787993,29.576326],[106.7712,29.549155],[106.764179,29.530928],[106.738548,29.486731],[106.732115,29.483923],[106.705257,29.482254],[106.703686,29.487993],[106.693276,29.48897],[106.69308,29.483353],[106.683358,29.476473],[106.688808,29.468453],[106.673341,29.458437],[106.65866,29.46772],[106.655321,29.462346],[106.642849,29.469959],[106.627971,29.465847],[106.606808,29.474315],[106.59581,29.463974],[106.586677,29.473094],[106.578772,29.469878],[106.56954,29.485144],[106.552011,29.48726]]]]}}]}},ec83:function(t,e,n){\"use strict\";e[\"a\"]=function(t,e,n,i,r){var o,a=t.children,s=-1,l=a.length,c=t.value&&(r-n)/t.value;while(++s0&&n*n>i*i+r*r}function s(t,e){for(var n=0;n=a.left?o.left:a.left;i.autoPadding=n.instance(o.top,o.right,o.bottom/2+5,u),r.autoPadding=n.instance(o.bottom/2+5,a.right,a.bottom,u)}if(!f(l)&&\"top\"===c){u=o.left>=a.left?o.left:a.left;i.autoPadding=n.instance(o.top,o.right,0,u),r.autoPadding=n.instance(0,a.right,o.top,u)}}function y(t){var e,n,i=t.chart,r=t.options,o=r.data,s=r.xField,l=r.yField,g=r.color,y=r.barStyle,v=r.widthRatio,m=r.legend,b=r.layout,x=p(s,l,d,o,f(b));m?i.legend(d,m):!1===m&&i.legend(!1);var O=x[0],w=x[1];f(b)?(e=i.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:u}),e.coordinate().transpose().reflect(\"x\"),n=i.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:h}),n.coordinate().transpose(),e.data(O),n.data(w)):(e=i.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:u}),n=i.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:h}),n.coordinate().reflect(\"y\"),e.data(O),n.data(w));var j=Object(a[\"d\"])({},t,{chart:e,options:{widthRatio:v,xField:s,yField:l[0],seriesField:d,interval:{color:g,style:y}}});Object(c[\"c\"])(j);var S=Object(a[\"d\"])({},t,{chart:n,options:{xField:s,yField:l[1],seriesField:d,widthRatio:v,interval:{color:g,style:y}}});return Object(c[\"c\"])(S),t}function v(t){var e,n,i,r=t.options,o=t.chart,c=r.xAxis,p=r.yAxis,f=r.xField,g=r.yField,y=Object(a[\"f\"])(o,u),v=Object(a[\"f\"])(o,h),m={};return Object(s[\"T\"])((null===r||void 0===r?void 0:r.meta)||{}).map((function(t){Object(s[\"s\"])(null===r||void 0===r?void 0:r.meta,[t,\"alias\"])&&(m[t]=r.meta[t].alias)})),o.scale((e={},e[d]={sync:!0,formatter:function(t){return Object(s[\"s\"])(m,t,t)}},e)),Object(l[\"g\"])((n={},n[f]=c,n[g[0]]=p[g[0]],n))(Object(a[\"d\"])({},t,{chart:y})),Object(l[\"g\"])((i={},i[f]=c,i[g[1]]=p[g[1]],i))(Object(a[\"d\"])({},t,{chart:v})),t}function m(t){var e=t.chart,n=t.options,r=n.xAxis,o=n.yAxis,s=n.xField,l=n.yField,c=n.layout,d=Object(a[\"f\"])(e,u),p=Object(a[\"f\"])(e,h);return\"bottom\"===(null===r||void 0===r?void 0:r.position)?p.axis(s,Object(i[\"a\"])(Object(i[\"a\"])({},r),{label:{formatter:function(){return\"\"}}})):p.axis(s,!1),!1===r?d.axis(s,!1):d.axis(s,Object(i[\"a\"])({position:f(c)?\"top\":\"bottom\"},r)),!1===o?(d.axis(l[0],!1),p.axis(l[1],!1)):(d.axis(l[0],o[l[0]]),p.axis(l[1],o[l[1]])),e.__axisPosition={position:d.getOptions().axes[s].position,layout:c},t}function b(t){var e=t.chart;return Object(l[\"c\"])(Object(a[\"d\"])({},t,{chart:Object(a[\"f\"])(e,u)})),Object(l[\"c\"])(Object(a[\"d\"])({},t,{chart:Object(a[\"f\"])(e,h)})),t}function x(t){var e=t.chart,n=t.options,i=n.yField,r=n.yAxis;return Object(l[\"e\"])(Object(a[\"d\"])({},t,{chart:Object(a[\"f\"])(e,u),options:{yAxis:r[i[0]]}})),Object(l[\"e\"])(Object(a[\"d\"])({},t,{chart:Object(a[\"f\"])(e,h),options:{yAxis:r[i[1]]}})),t}function O(t){var e=t.chart;return Object(l[\"k\"])(Object(a[\"d\"])({},t,{chart:Object(a[\"f\"])(e,u)})),Object(l[\"k\"])(Object(a[\"d\"])({},t,{chart:Object(a[\"f\"])(e,h)})),Object(l[\"k\"])(t),t}function w(t){var e=t.chart;return Object(l[\"a\"])(Object(a[\"d\"])({},t,{chart:Object(a[\"f\"])(e,u)})),Object(l[\"a\"])(Object(a[\"d\"])({},t,{chart:Object(a[\"f\"])(e,h)})),t}function j(t){var e,n,r=this,o=t.chart,s=t.options,l=s.label,c=s.yField,d=s.layout,p=Object(a[\"f\"])(o,u),g=Object(a[\"f\"])(o,h),y=Object(a[\"e\"])(p,\"interval\"),v=Object(a[\"e\"])(g,\"interval\");if(l){var m=l.callback,b=Object(i[\"f\"])(l,[\"callback\"]);b.position||(b.position=\"middle\"),void 0===b.offset&&(b.offset=2);var x=Object(i[\"a\"])({},b);if(f(d)){var O=(null===(e=x.style)||void 0===e?void 0:e.textAlign)||(\"middle\"===b.position?\"center\":\"left\");b.style=Object(a[\"d\"])({},b.style,{textAlign:O});var w={left:\"right\",right:\"left\",center:\"center\"};x.style=Object(a[\"d\"])({},x.style,{textAlign:w[O]})}else{var j={top:\"bottom\",bottom:\"top\",middle:\"middle\"};\"string\"===typeof b.position?b.position=j[b.position]:\"function\"===typeof b.position&&(b.position=function(){for(var t=[],e=0;e
    ',itemTpl:\"{value}\",domStyles:{\"g2-tooltip\":{padding:\"2px 4px\",fontSize:\"10px\"}},showCrosshairs:!0,crosshairs:{type:\"x\"}},l={appendPadding:2,tooltip:Object(i[\"a\"])({},s),animation:{}}},eecd:function(t,e,n){\"use strict\";var i=n(\"147d\");n.d(e,\"getAdjust\",(function(){return i[\"getAdjust\"]}));n(\"41c8\");var r=n(\"94e3\"),o=n(\"29ab\"),a=n(\"f05a\"),s=n(\"f7a9\");n(\"59b0\");Object(i[\"registerAdjust\"])(\"Dodge\",r[\"a\"]),Object(i[\"registerAdjust\"])(\"Jitter\",o[\"a\"]),Object(i[\"registerAdjust\"])(\"Stack\",a[\"a\"]),Object(i[\"registerAdjust\"])(\"Symmetric\",s[\"a\"])},efee:function(t,e,n){\"use strict\";var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"62e3\");(function(t){function e(e,n,i,r){var a=t.call(this,e,Object(o[\"d\"])({},r,n))||this;return a.type=\"g2-plot\",a.defaultOptions=r,a.adaptor=i,a}Object(i[\"c\"])(e,t),e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor}})(r[\"b\"])},f05a:function(t,e,n){\"use strict\";var i=n(\"000e\"),r=n(\"8937\"),o=n(\"41c8\"),a=r[\"a\"],s=function(t){function e(e){var n=t.call(this,e)||this,i=e.adjustNames,r=void 0===i?[\"y\"]:i,o=e.height,a=void 0===o?NaN:o,s=e.size,l=void 0===s?10:s,c=e.reverseOrder,u=void 0!==c&&c;return n.adjustNames=r,n.height=a,n.size=l,n.reverseOrder=u,n}return Object(i[\"b\"])(e,t),e.prototype.process=function(t){var e=this,n=e.yField,i=e.reverseOrder,r=n?this.processStack(t):this.processOneDimStack(t);return i?this.reverse(r):r},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,l=s?this.reverse(t):t,c=new a,u=new a;return l.map((function(t){return t.map((function(t){var e,a=r[\"s\"](t,n,0),s=r[\"s\"](t,[o]),l=a.toString();if(s=r[\"C\"](s)?s[1]:s,!r[\"K\"](s)){var h=s>=0?c:u;h.has(l)||h.set(l,0);var d=h.get(l),p=s+d;return h.set(l,p),Object(i[\"a\"])(Object(i[\"a\"])({},t),(e={},e[o]=[d,p],e))}return t}))}))},e.prototype.processOneDimStack=function(t){var e=this,n=this,r=n.xField,o=n.height,s=n.reverseOrder,l=\"y\",c=s?this.reverse(t):t,u=new a;return c.map((function(t){return t.map((function(t){var n,a=e.size,s=t[r],c=2*a/o;u.has(s)||u.set(s,c/2);var h=u.get(s);return u.set(s,h+c),Object(i[\"a\"])(Object(i[\"a\"])({},t),(n={},n[l]=h,n))}))}))},e}(o[\"a\"]);e[\"a\"]=s},f0b2:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));var i={locale:\"zh-CN\",general:{increase:\"增加\",decrease:\"减少\",root:\"初始\"},statistic:{total:\"总计\"},conversionTag:{label:\"转化率\"},legend:{},tooltip:{},slider:{},scrollbar:{},waterfall:{total:\"总计\"}}},f23a:function(t,e,n){\"use strict\";var i=n(\"2ade\"),r=window.context.portal,o={\"Content-type\":\"application/x-www-form-urlencoded\"};e[\"a\"]={getTarget:function(t){return new Promise((function(e,n){i[\"a\"].post(r+\"/county/largeScreen/v1/importantIndex?quarter=\".concat(t.quarter,\"&year=\").concat(t.year)).then((function(t){e(t.data)})).catch((function(t){n(t)}))}))},getBrandDetail:function(t,e){return new Promise((function(n,o){i[\"a\"].post(r+\"/county/largeScreen/v1/brandReformDetails?quarter=\".concat(t.quarter,\"&year=\").concat(t.year,\"&unitCode=\").concat(t.unitCode),e).then((function(t){n(t.data)})).catch((function(t){o(t)}))}))},exportLedgerDetail:function(t){return new Promise((function(e,n){i[\"a\"].request({method:\"post\",data:t,url:r+\"/county/largeScreen/v1/pilotLedgerDetailExport\",responseType:\"blob\"}).then((function(t){e(t.data)})).catch((function(t){n(t)}))}))},getNews:function(t,e){i[\"a\"].post(r+\"/fill/bizWorkNews/v1/queryCode\",t).then((function(t){e(t.data)}))},getIndex:function(t,e){i[\"a\"].request({method:\"post\",url:r+\"/county/largeScreen/v1/indexRank\",data:t,headers:o}).then((function(t){e(t.data)}))},getBroad:function(t,e){i[\"a\"].request({method:\"post\",url:r+\"/county/largeScreen/v1/citywidePromotionRank\",data:t,headers:o}).then((function(t){e(t.data)}))},getBookAccount:function(t,e){i[\"a\"].post(r+\"/county/largeScreen/v1/cityPromotionDetail\",t).then((function(t){e(t.data)}))},getBrand:function(t,e){i[\"a\"].request({method:\"post\",url:r+\"/county/largeScreen/v1/brandReform\",data:t,headers:o}).then((function(t){e(t.data)}))},getPilotReform:function(t,e){i[\"a\"].request({method:\"post\",url:r+\"/county/largeScreen/v1/pilotReform\",data:t,headers:o}).then((function(t){e(t.data)}))},getGisData:function(t,e){i[\"a\"].request({method:\"post\",url:r+\"/county/largeScreen/v1/gisIndex\",data:t,headers:o}).then((function(t){e(t.data)}))},getDemandHeatList:function(t,e){var n=t.year,o=t.month;i[\"a\"].post(r+\"/project/largeScreen/v1/demandHeatList?year=\".concat(n,\"&month=\").concat(o)).then((function(t){e(t.data)}))},getDemandList:function(t,e){i[\"a\"].post(r+\"/project/largeScreen/v1/demandDetailList\",t).then((function(t){e(t.data)}))},getFiles:function(t,e){i[\"a\"].post(r+\"/file/v1/list\",t).then((function(t){e(t.data)}))},getPilotResultDetail:function(t,e){i[\"a\"].post(r+\"/county/largeScreen/v1/pilotResultDetail\",t).then((function(t){e(t.data)}))},getPilotLedger:function(t,e){i[\"a\"].request({method:\"post\",url:r+\"/county/largeScreen/v1/pilotLedger\",data:t,headers:o}).then((function(t){e(t.data)}))},getPilotLedgerDetail_:function(t,e){i[\"a\"].post(r+\"/county/largeScreen/v1/pilotLedgerDetail_spc\",t).then((function(t){e(t.data)}))},getPilotLedgerDetail:function(t,e){i[\"a\"].post(r+\"/county/largeScreen/v1/pilotLedgerDetail\",t).then((function(t){e(t.data)}))},pilotPushDetailforUnit:function(t,e){i[\"a\"].request({method:\"post\",url:r+\"/county/largeScreen/v1/pilotPushDetailforUnit\",data:t,headers:o}).then((function(t){e(t.data)}))},statementDetail:function(t,e){i[\"a\"].request({method:\"post\",url:r+\"/county/largeScreen/v1/statementDetail\",data:t,headers:o}).then((function(t){e(t.data)}))},exportReport:function(t,e,n){i[\"a\"].request({method:\"post\",url:r+\"/county/largeScreen/v1/statementDetailExport?isShow=\".concat(e),data:t,headers:o,responseType:\"blob\"}).then((function(t){n(t.data)}))},satisfactionFile:function(t,e){i[\"a\"].request({method:\"post\",url:r+\"/county/largeScreen/v1/currentStatementFile\",data:t,headers:o}).then((function(t){e(t.data)}))},previewFile:function(t){return new Promise((function(e,n){i[\"a\"].request({method:\"get\",url:r+\"/file/onlinePreviewController/v1/getFileById_\"+t,headers:{\"Content-Type\":\"application/json\"},responseType:\"blob\"}).then((function(t){e(t.data)})).catch((function(t){n(t)}))}))},problemSolvingDetail:function(t){return new Promise((function(e,n){i[\"a\"].post(r+\"/county/largeScreen/v1/problemSolvingDetail_sec\",t).then((function(t){e(t.data)})).catch((function(t){n(t)}))}))},reformDemandDetails:function(t){return new Promise((function(e,n){i[\"a\"].post(r+\"/county/largeScreen/v1/reformDemandDetails_sec\",t).then((function(t){e(t.data)})).catch((function(t){n(t)}))}))},reformDemandDetailList:function(t){return new Promise((function(e,n){i[\"a\"].post(r+\"/county/largeScreen/v1/reformDemandDetailList_sec\",t).then((function(t){e(t.data)})).catch((function(t){n(t)}))}))},pilotLedgerDetailSec:function(t){return new Promise((function(e,n){i[\"a\"].post(r+\"/county/largeScreen/v1/pilotLedgerDetail_sec\",t).then((function(t){e(t.data)})).catch((function(t){n(t)}))}))},getBattleChartOverview:function(t,e){var n=t.year,o=t.month,a=t.projectId;i[\"a\"].post(r+\"/project/largeScreen/v1/monthPlanNumDetails?year=\".concat(n,\"&month=\").concat(o,\"&projectId=\").concat(a)).then((function(t){e(t.data)}))},getProjectAll:function(t,e){i[\"a\"].post(r+\"/majorProjects/municipalMajorProjectManagement/v1/queryAll\",t).then((function(t){e(t.data)}))},getPagingQuery:function(t,e){i[\"a\"].post(r+\"/project/largeScreen/v1/monthPlanPageList\",t).then((function(t){e(t.data)}))},exportMonthList:function(t,e){i[\"a\"].downloadPostCopy(r+\"/project/largeScreen/v1/exportMonthPlanList\",t).then((function(t){e(t.data)}))},enterGetDataOld:function(t,e){i[\"a\"].post(r+\"/project/largeScreen/v1/overviewComplianceInfo?year=\".concat(t.year,\"&month=\").concat(t.month,\"&projectId=\").concat(t.projectId)).then((function(t){e(t.data)}))},enterGetData:function(t,e){i[\"a\"].post(r+\"/project/largeScreen/v1/indexDetails?year=\".concat(t.year,\"&month=\").concat(t.month,\"&projectId=\").concat(t.projectId)).then((function(t){e(t.data)}))},satisfactionRealityDate:function(t,e){i[\"a\"].post(r+\"/county/largeScreen/v1/satisfactionRealityDate?year=\".concat(t.year,\"&quarter=\").concat(t.quarter)).then((function(t){e(t.data)}))},digitalCQOne:function(t,e){i[\"a\"].post(r+\"/fill/bizDigitalOneThing/v1/queryByPage\",t).then((function(t){e(t.data)}))},digitalCQTwo:function(t,e){i[\"a\"].post(r+\"/fill/bizDigitalThreeLists/v1/queryByPage\",t).then((function(t){e(t.data)}))},digitalCQThree:function(t,e){i[\"a\"].post(r+\"/fill/bizDigitalOnLineApplication/v1/queryByPage\",t).then((function(t){e(t.data)}))},digitalCQFour:function(t,e){i[\"a\"].post(r+\"/fill/bizDigitalShareApplication/v1/queryByPage\",t).then((function(t){e(t.data)}))},digitalCQOneAll:function(t,e){i[\"a\"].post(r+\"/fill/bizDigitalOneThing/v1/queryByPageAll\",t).then((function(t){e(t.data)}))},digitalCQOneAllExport:function(t,e){i[\"a\"].downloadPostCopy(r+\"/fill/bizDigitalOneThing/v1/exportList\",t).then((function(t){e(t.data)}))},getSatisfaction:function(t,e){var n=t.quarter,o=t.year;i[\"a\"].post(r+\"/county/largeScreen/v1/satisfaction_files?year=\".concat(o,\"&quarter=\").concat(n)).then((function(t){e(t.data)}))}}},f2ce:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i})),n.d(e,\"b\",(function(){return r}));var i;n(\"9ab48\");(function(t){t[\"ERROR\"]=\"error\",t[\"WARN\"]=\"warn\",t[\"INFO\"]=\"log\"})(i||(i={}));function r(t,e,n){for(var i=[],r=3;rthis.max?NaN:this.values[i]},e.prototype.getText=function(e){for(var n=[],i=1;i1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(c),d=h,p=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\\1?|[aA]|\"[^\"]*\"|'[^']*'/g,f=\"\\\\d\\\\d?\",g=\"\\\\d\\\\d\",y=\"\\\\d{3}\",v=\"\\\\d{4}\",m=\"[^\\\\s]+\",b=/\\[([^]*?)\\]/gm;function x(t,e){for(var n=[],i=0,r=t.length;i-1?r:null}};function w(t){for(var e=[],n=1;n3?0:(t-t%10!==10?1:0)*t%10]}},A=w({},M),k=function(t){return A=w(A,t)},I=function(t){return t.replace(/[|\\\\{()[^$+*?.-]/g,\"\\\\$&\")},T=function(t,e){void 0===e&&(e=2),t=String(t);while(t.length0?\"-\":\"+\")+T(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?\"-\":\"+\")+T(Math.floor(Math.abs(e)/60),2)+\":\"+T(Math.abs(e)%60,2)}},P=function(t){return+t-1},L=[null,f],R=[null,m],E=[\"isPm\",m,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],B=[\"timezoneOffset\",\"[^\\\\s]*?[\\\\+\\\\-]\\\\d\\\\d:?\\\\d\\\\d|[^\\\\s]*?Z?\",function(t){var e=(t+\"\").match(/([+-]|\\d\\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return\"+\"===e[0]?n:-n}return 0}],F={D:[\"day\",f],DD:[\"day\",g],Do:[\"day\",f+m,function(t){return parseInt(t,10)}],M:[\"month\",f,P],MM:[\"month\",g,P],YY:[\"year\",g,function(t){var e=new Date,n=+(\"\"+e.getFullYear()).substr(0,2);return+(\"\"+(+t>68?n-1:n)+t)}],h:[\"hour\",f,void 0,\"isPm\"],hh:[\"hour\",g,void 0,\"isPm\"],H:[\"hour\",f],HH:[\"hour\",g],m:[\"minute\",f],mm:[\"minute\",g],s:[\"second\",f],ss:[\"second\",g],YYYY:[\"year\",v],S:[\"millisecond\",\"\\\\d\",function(t){return 100*+t}],SS:[\"millisecond\",g,function(t){return 10*+t}],SSS:[\"millisecond\",y],d:L,dd:L,ddd:R,dddd:R,MMM:[\"month\",m,O(\"monthNamesShort\")],MMMM:[\"month\",m,O(\"monthNames\")],a:E,A:E,ZZ:B,Z:B},N={default:\"ddd MMM DD YYYY HH:mm:ss\",shortDate:\"M/D/YY\",mediumDate:\"MMM D, YYYY\",longDate:\"MMMM D, YYYY\",fullDate:\"dddd, MMMM D, YYYY\",isoDate:\"YYYY-MM-DD\",isoDateTime:\"YYYY-MM-DDTHH:mm:ssZ\",shortTime:\"HH:mm\",mediumTime:\"HH:mm:ss\",longTime:\"HH:mm:ss.SSS\"},z=function(t){return w(N,t)},V=function(t,e,n){if(void 0===e&&(e=N[\"default\"]),void 0===n&&(n={}),\"number\"===typeof t&&(t=new Date(t)),\"[object Date]\"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error(\"Invalid Date pass to format\");e=N[e]||e;var i=[];e=e.replace(b,(function(t,e){return i.push(e),\"@@@\"}));var r=w(w({},A),n);return e=e.replace(p,(function(e){return D[e](t,r)})),e.replace(/@@@/g,(function(){return i.shift()}))};function G(t,e,n){if(void 0===n&&(n={}),\"string\"!==typeof e)throw new Error(\"Invalid format in fecha parse\");if(e=N[e]||e,t.length>1e3)return null;var i=new Date,r={year:i.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},o=[],a=[],s=e.replace(b,(function(t,e){return a.push(I(e)),\"@@@\"})),l={},c={};s=I(s).replace(p,(function(t){var e=F[t],n=e[0],i=e[1],r=e[3];if(l[n])throw new Error(\"Invalid format. \"+n+\" specified twice in format\");return l[n]=!0,r&&(c[r]=!0),o.push(e),\"(\"+i+\")\"})),Object.keys(c).forEach((function(t){if(!l[t])throw new Error(\"Invalid format. \"+t+\" is required in specified format\")})),s=s.replace(/@@@/g,(function(){return a.shift()}));var u=t.match(new RegExp(s,\"i\"));if(!u)return null;for(var h,d=w(w({},A),n),f=1;f11||r.month<0||r.day>31||r.day<1||r.hour>23||r.hour<0||r.minute>59||r.minute<0||r.second>59||r.second<0)return null;return h}var H={format:V,parse:G,defaultI18n:M,setGlobalDateI18n:k,setGlobalDateMasks:z},W=H,X=function(t){return function(e,n,i,o){var a=Object(r[\"K\"])(i)?0:i,s=Object(r[\"K\"])(o)?e.length:o;while(a>>1;t(e[l])>n?s=l:a=l+1}return a}},Y=\"format\";function q(t,e){var n=i[Y]||W[Y];return n(t,e)}function U(t){return Object(r[\"Q\"])(t)&&(t=t.indexOf(\"T\")>0?new Date(t).getTime():new Date(t.replace(/-/gi,\"/\")).getTime()),Object(r[\"E\"])(t)&&(t=t.getTime()),t}var Z=1e3,K=60*Z,Q=60*K,J=24*Q,$=31*J,tt=365*J,et=[[\"HH:mm:ss\",Z],[\"HH:mm:ss\",10*Z],[\"HH:mm:ss\",30*Z],[\"HH:mm\",K],[\"HH:mm\",10*K],[\"HH:mm\",30*K],[\"HH\",Q],[\"HH\",6*Q],[\"HH\",12*Q],[\"YYYY-MM-DD\",J],[\"YYYY-MM-DD\",4*J],[\"YYYY-WW\",7*J],[\"YYYY-MM\",$],[\"YYYY-MM\",4*$],[\"YYYY-MM\",6*$],[\"YYYY\",380*J]];function nt(t,e,n){var i=(e-t)/n,o=X((function(t){return t[1]}))(et,i)-1,a=et[o];return o<0?a=et[0]:o>=et.length&&(a=Object(r[\"U\"])(et)),a}var it=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"timeCat\",e}return Object(u[\"c\"])(e,t),e.prototype.translate=function(t){t=U(t);var e=this.values.indexOf(t);return-1===e&&(e=Object(r[\"M\"])(t)&&t-1){var i=this.values[n],r=this.formatter;return i=r?r(i,e):q(i,this.mask),i}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[\"j\"])(e,(function(t,n){e[n]=U(t)})),e.sort((function(t,e){return t-e})),t.prototype.setDomain.call(this)},e}(d),rt=it,ot=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return Object(u[\"c\"])(e,t),e.prototype.scale=function(t){if(Object(r[\"K\"])(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[\"z\"])(e),i=Object(r[\"U\"])(e);nthis.max&&(this.max=i),Object(r[\"K\"])(this.minLimit)||(this.min=n),Object(r[\"K\"])(this.maxLimit)||(this.max=i)},e.prototype.setDomain=function(){var t=Object(r[\"u\"])(this.values),e=t.min,n=t.max;Object(r[\"K\"])(this.min)&&(this.min=e),Object(r[\"K\"])(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[\"l\"])(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),at=ot,st=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"linear\",e.isLinear=!0,e}return Object(u[\"c\"])(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}(at),lt=st;function ct(t,e){var n,i=Math.E;return n=e>=0?Math.pow(i,Math.log(e)/t):-1*Math.pow(i,Math.log(-e)/t),n}function ut(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function ht(t,e,n){Object(r[\"K\"])(n)&&(n=Math.max.apply(null,t));var i=n;return Object(r[\"j\"])(t,(function(t){t>0&&t1&&(i=1),i}var dt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"log\",e}return Object(u[\"c\"])(e,t),e.prototype.invert=function(t){var e,n=this.base,i=ut(n,this.max),r=this.rangeMin(),o=this.rangeMax()-r,a=this.positiveMin;if(a){if(0===t)return 0;e=ut(n,a/n);var s=1/(i-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 i=this.exponent,r=(ct(i,t)-ct(i,n))/(ct(i,e)-ct(i,n));return r},e}(at),gt=ft,yt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"time\",e}return Object(u[\"c\"])(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),i=this.formatter;return i?i(n,e):q(n,this.mask)},e.prototype.scale=function(e){var n=e;return(Object(r[\"Q\"])(n)||Object(r[\"E\"])(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return U(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[\"K\"])(e)&&Object(r[\"M\"])(e)||(this.min=this.translate(this.min)),Object(r[\"K\"])(n)&&Object(r[\"M\"])(n)||(this.max=this.translate(this.max)),t&&t.length){var i=[],o=1/0,a=o,s=0;Object(r[\"j\"])(t,(function(t){var e=U(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[\"K\"])(e)&&(this.min=o),Object(r[\"K\"])(n)&&(this.max=s)}},e}(lt),vt=yt,mt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"quantize\",e}return Object(u[\"c\"])(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[\"U\"])(e);if(o<0)return Object(r[\"z\"])(e);var a=e[o],s=e[o+1],l=o/(n-1),c=(o+1)/(n-1);return a+(i-l)/(c-l)*(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[\"U\"])(e)!==this.max&&e.push(this.max),Object(r[\"z\"])(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(tObject(r[\"U\"])(e))return 1;var n=0;return Object(r[\"j\"])(e,(function(e,i){if(!(t>=e))return!1;n=i})),n/(e.length-1)},e}(at),bt=mt,xt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"quantile\",e}return Object(u[\"c\"])(e,t),e.prototype.initCfg=function(){this.tickMethod=\"quantile\",this.tickCount=5,this.nice=!0},e}(bt),Ot=xt,wt={};function jt(t){return wt[t]}function St(t,e){if(jt(t))throw new Error(\"type '\"+t+\"' existed.\");wt[t]=e}var _t=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"identity\",e.isIdentity=!0,e}return Object(u[\"c\"])(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&Object(r[\"M\"])(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(c),Ct=_t;function Mt(t){var e=t.values,n=t.tickInterval,i=t.tickCount,o=t.showLast;if(Object(r[\"M\"])(n)){var a=Object(r[\"l\"])(e,(function(t,e){return e%n===0})),s=Object(r[\"U\"])(e);return o&&Object(r[\"U\"])(a)!==s&&a.push(s),a}var l=e.length,c=t.min,u=t.max;if(Object(r[\"K\"])(c)&&(c=0),Object(r[\"K\"])(u)&&(u=e.length-1),!Object(r[\"M\"])(i)||i>=l)return e.slice(c,u+1);if(i<=0||u<=0)return[];for(var h=1===i?l:Math.floor(l/(i-1)),d=[],p=c,f=0;f=u)break;p=Math.min(c+f*h,u),f===i-1&&o?d.push(e[u]):d.push(e[p])}return d}function At(t){var e=t.min,n=t.max,i=t.nice,r=t.tickCount,o=new Pt;return o.domain([e,n]),i&&o.nice(r),o.ticks(r)}var kt=5,It=Math.sqrt(50),Tt=Math.sqrt(10),Dt=Math.sqrt(2),Pt=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=kt);var i,r=this._domain.slice(),o=0,a=this._domain.length-1,s=this._domain[o],l=this._domain[a];return l0?(s=Math.floor(s/i)*i,l=Math.ceil(l/i)*i,i=Rt(s,l,t)):i<0&&(s=Math.ceil(s*i)/i,l=Math.floor(l*i)/i,i=Rt(s,l,t)),i>0?(r[o]=Math.floor(s/i)*i,r[a]=Math.ceil(l/i)*i,this.domain(r)):i<0&&(r[o]=Math.ceil(s*i)/i,r[a]=Math.floor(l*i)/i,this.domain(r)),this},t.prototype.ticks=function(t){return void 0===t&&(t=kt),Lt(this._domain[0],this._domain[this._domain.length-1],t||kt)},t}();function Lt(t,e,n){var i,r,o,a,s=-1;if(e=+e,t=+t,n=+n,t===e&&n>0)return[t];if((i=e0){t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(r=Math.ceil(e-t+1));while(++s=0?(o>=It?10:o>=Tt?5:o>=Dt?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(o>=It?10:o>=Tt?5:o>=Dt?2:1)}function Et(t,e,n){var i;return i=\"ceil\"===n?Math.ceil(t/e):\"floor\"===n?Math.floor(t/e):Math.round(t/e),i*e}function Bt(t,e,n){var i=Et(t,n,\"floor\"),o=Et(e,n,\"ceil\");i=Object(r[\"p\"])(i,n),o=Object(r[\"p\"])(o,n);for(var a=[],s=Math.max((o-i)/(Math.pow(2,12)-1),n),l=i;l<=o;l+=s){var c=Object(r[\"p\"])(l,s);a.push(c)}return{min:i,max:o,ticks:a}}function Ft(t,e,n){var i,o=t.minLimit,a=t.maxLimit,s=t.min,l=t.max,c=t.tickCount,u=void 0===c?5:c,h=Object(r[\"K\"])(o)?Object(r[\"K\"])(e)?s:e:o,d=Object(r[\"K\"])(a)?Object(r[\"K\"])(n)?l:n:a;if(h>d&&(i=[h,d],d=i[0],h=i[1]),u<=2)return[h,d];for(var p=(d-h)/(u-1),f=[],g=0;g=0&&(c=1),1-l/(s-1)-n+c}function Yt(t,e,n){var i=Object(r[\"mb\"])(e),o=Object(r[\"B\"])(e,t),a=1;return 1-o/(i-1)-n+a}function qt(t,e,n,i,r,o){var a=(t-1)/(o-r),s=(e-1)/(Math.max(o,i)-Math.min(n,r));return 2-Math.max(a/s,s/a)}function Ut(t,e){return t>=e?2-(t-1)/(e-1):1}function Zt(t,e,n,i){var r=e-t;return 1-.5*(Math.pow(e-i,2)+Math.pow(t-n,2))/Math.pow(.1*r,2)}function Kt(t,e,n){var i=e-t;if(n>i){var r=(n-i)/2;return 1-Math.pow(r,2)/Math.pow(.1*i,2)}return 1}function Qt(){return 1}function Jt(t,e,n,i,o,a){void 0===n&&(n=5),void 0===i&&(i=!0),void 0===o&&(o=Vt),void 0===a&&(a=[.25,.2,.5,.05]);var s=n<0?0:Math.round(n);if(Number.isNaN(t)||Number.isNaN(e)||\"number\"!==typeof t||\"number\"!==typeof e||!s)return{min:0,max:0,ticks:[]};if(e-t<1e-15||1===s)return{min:t,max:e,ticks:[t]};if(e-t>1e148){var l=n||5,c=(e-t)/l;return{min:t,max:e,ticks:Array(l).fill(null).map((function(e,n){return zt(t+c*n)}))}}var u={score:-2,lmin:0,lmax:0,lstep:0},h=1;while(h<1/0){for(var d=0;du.score&&(!i||_<=t&&C>=e)&&(u.lmin=_,u.lmax=C,u.lstep=M,u.score=D)}}m+=1}g+=1}}h+=1}var P=zt(u.lmax),L=zt(u.lmin),R=zt(u.lstep),E=Math.floor(Wt((P-L)/R))+1,B=new Array(E);B[0]=zt(L);for(d=1;d0)e=Math.floor(ut(n,r));else{var l=ht(a,n,o);e=Math.floor(ut(n,l))}for(var c=s-e,u=Math.ceil(c/i),h=[],d=e;d=0?1:-1;return Math.pow(t,e)*n}))}function ie(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 re(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var i=n.slice().sort((function(t,e){return t-e})),r=[],o=0;o1&&(r*=Math.ceil(s)),i&&rtt)for(var l=le(n),c=Math.ceil(o/tt),u=s;u<=l+c;u+=c)a.push(ce(u));else if(o>$){var h=Math.ceil(o/$),d=ue(e),p=he(e,n);for(u=0;u<=p+h;u+=h)a.push(de(s,u+d))}else if(o>J){var f=new Date(e),g=f.getFullYear(),y=f.getMonth(),v=f.getDate(),m=Math.ceil(o/J),b=pe(e,n);for(u=0;uQ){f=new Date(e),g=f.getFullYear(),y=f.getMonth(),m=f.getDate();var x=f.getHours(),O=Math.ceil(o/Q),w=fe(e,n);for(u=0;u<=w+O;u+=O)a.push(new Date(g,y,m,x+u).getTime())}else if(o>K){var j=ge(e,n),S=Math.ceil(o/K);for(u=0;u<=j+S;u+=S)a.push(e+u*K)}else{var _=o;_0&&(n=n.map((function(t,n){return e.forEach((function(i,r){t+=e[r][n]})),t}))),n}},f4b4:function(t,e,n){\"use strict\";var i=n(\"ade3\"),r=[{id:1,name:\"涪陵\",score:99.02,snAll:1,snArea:1,dx:0,pj:8,mt:2,trend:1},{id:2,name:\"渝中\",score:98.85,snAll:2,snArea:2,dx:0,pj:4,mt:5,trend:2},{id:3,name:\"万州\",score:98.55,snAll:3,snArea:3,dx:1,pj:2,mt:1,trend:1},{id:4,name:\"大渡口\",score:98.48,snAll:4,snArea:4,dx:0,pj:5,mt:0,trend:1},{id:5,name:\"江北\",score:98.3,snAll:5,snArea:5,dx:1,pj:6,mt:0,trend:2},{id:6,name:\"沙坪坝\",score:97.56,snAll:6,snArea:6,dx:3,pj:2,mt:0,trend:3},{id:7,name:\"合川\",score:97.06,snAll:7,snArea:7,dx:1,pj:1,mt:2,trend:1},{id:8,name:\"铜梁\",score:96.52,snAll:8,snArea:8,dx:1,pj:5,mt:0,trend:1},{id:9,name:\"潼南\",score:96.46,snAll:9,snArea:9,dx:1,pj:3,mt:1,trend:3},{id:10,name:\"丰都\",score:96.16,snAll:10,snArea:10,dx:0,pj:0,mt:0,trend:1},{id:11,name:\"忠县\",score:96,snAll:11,snArea:11,dx:0,pj:1,mt:1,trend:1},{id:12,name:\"垫江\",score:95.85,snAll:12,snArea:12,dx:0,pj:0,mt:0,trend:2},{id:13,name:\"奉节\",score:95.55,snAll:13,snArea:13,dx:0,pj:0,mt:1,trend:3},{id:14,name:\"荣昌\",score:95.48,snAll:14,snArea:14,dx:0,pj:2,mt:0,trend:1},{id:15,name:\"石柱\",score:95.05,snAll:15,snArea:15,dx:1,pj:0,mt:2,trend:2},{id:16,name:\"巫山\",score:94.56,snAll:16,snArea:16,dx:0,pj:1,mt:1,trend:1},{id:17,name:\"武隆\",score:94.52,snAll:17,snArea:17,dx:1,pj:0,mt:0,trend:3},{id:18,name:\"城口\",score:94.16,snAll:18,snArea:18,dx:1,pj:0,mt:0,trend:1},{id:19,name:\"秀山\",score:94.06,snAll:19,snArea:19,dx:1,pj:1,mt:0,trend:1},{id:20,name:\"酉阳\",score:93.8,snAll:20,snArea:20,dx:0,pj:1,mt:0,trend:1},{id:21,name:\"彭水\",score:93.65,snAll:21,snArea:21,dx:0,pj:0,mt:0,trend:3},{id:22,name:\"巫溪\",score:93.45,snAll:22,snArea:22,dx:0,pj:0,mt:0,trend:2},{id:23,name:\"万盛\",score:93.25,snAll:23,snArea:23,dx:0,pj:0,mt:1,trend:3},{id:24,name:\"江津\",score:93.18,snAll:24,snArea:24,dx:0,pj:5,mt:0,trend:1},{id:25,name:\"巴南\",score:92.98,snAll:25,snArea:25,dx:1,pj:3,mt:1,trend:2},{id:26,name:\"綦江\",score:92.56,snAll:26,snArea:26,dx:1,pj:1,mt:0,trend:1},{id:27,name:\"北碚\",score:92.46,snAll:27,snArea:27,dx:0,pj:6,mt:1,trend:3},{id:28,name:\"九龙坡\",score:92.16,snAll:28,snArea:28,dx:0,pj:4,mt:2,trend:1},{id:29,name:\"南岸\",score:92.05,snAll:29,snArea:29,dx:1,pj:3,mt:0,trend:1},{id:30,name:\"渝北\",score:92.12,snAll:30,snArea:30,dx:0,pj:4,mt:1,trend:1},{id:31,name:\"大足\",score:91.86,snAll:31,snArea:31,dx:1,pj:2,mt:0,trend:1},{id:32,name:\"长寿\",score:91.75,snAll:32,snArea:32,dx:1,pj:1,mt:0,trend:3},{id:33,name:\"黔江\",score:91.55,snAll:33,snArea:33,dx:0,pj:0,mt:0,trend:1},{id:34,name:\"永川\",score:91.48,snAll:34,snArea:34,dx:1,pj:3,mt:1,trend:1},{id:35,name:\"璧山\",score:91.32,snAll:35,snArea:35,dx:1,pj:6,mt:1,trend:2},{id:36,name:\"开州\",score:91.16,snAll:36,snArea:36,dx:0,pj:1,mt:0,trend:3},{id:37,name:\"梁平\",score:91.08,snAll:37,snArea:37,dx:1,pj:0,mt:1,trend:1},{id:38,name:\"两江新区\",score:91.02,snAll:38,snArea:38,dx:3,pj:1,mt:0,trend:1},{id:39,name:\"云阳\",score:90.76,snAll:39,snArea:39,dx:1,pj:0,mt:0,trend:1},{id:40,name:\"南川\",score:90.54,snAll:40,snArea:40,dx:1,pj:3,mt:2,trend:3},{id:41,name:\"高新区\",score:90.49,snAll:41,snArea:41,dx:0,pj:1,mt:0,trend:1}],o=[Object(i[\"a\"])({code:\"500119000000\",type:1,score:91.43,areaScore:1,cityScore:1,judge:3,cityReport:1,countryReport:2,country:44,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500192000000\",type:1,score:91.37,areaScore:2,cityScore:3,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500117000000\",type:1,score:9079,areaScore:3,cityScore:4,judge:1,cityReport:1,countryReport:2,country:40,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500151000000\",type:1,score:90.49,areaScore:4,cityScore:6,judge:5,cityReport:1,countryReport:0,country:45,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500120000000\",type:2,score:90.48,areaScore:5,cityScore:7,judge:6,cityReport:1,countryReport:1,country:34,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500118000000\",type:2,score:89.88,areaScore:6,cityScore:10,judge:3,cityReport:1,countryReport:1,country:42,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500111000000\",type:2,score:89.84,areaScore:7,cityScore:11,judge:2,cityReport:1,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500153000000\",type:2,score:89.7,areaScore:8,cityScore:13,judge:2,cityReport:0,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500115000000\",type:2,score:89.49,areaScore:9,cityScore:16,judge:1,cityReport:1,countryReport:0,country:47,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500102000000\",type:2,score:89.2,areaScore:10,cityScore:17,judge:8,cityReport:0,countryReport:2,country:36,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500152000000\",type:2,score:88.68,areaScore:11,cityScore:20,judge:3,cityReport:1,countryReport:1,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500103000000\",type:3,score:88.62,areaScore:12,cityScore:21,judge:4,cityReport:0,countryReport:2,country:41,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500116000000\",type:3,score:88.1,areaScore:13,cityScore:22,judge:5,cityReport:0,countryReport:0,country:39,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500191000000\",type:3,score:88.06,areaScore:14,cityScore:23,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500110000000\",type:3,score:98,areaScore:15,cityScore:24,judge:1,cityReport:1,countryReport:0,country:32,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500112000000\",type:3,score:87.69,areaScore:16,cityScore:25,judge:4,cityReport:0,countryReport:1,country:55,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500113000000\",type:3,score:87.43,areaScore:17,cityScore:28,judge:3,cityReport:1,countryReport:1,country:46,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500104000000\",type:3,score:87.42,areaScore:18,cityScore:29,judge:5,cityReport:0,countryReport:0,country:49,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500105000000\",type:3,score:87.09,areaScore:19,cityScore:31,judge:6,cityReport:1,countryReport:0,country:53,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500107000000\",type:3,score:87.08,areaScore:20,cityScore:32,judge:4,cityReport:0,countryReport:2,country:49,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500109000000\",type:3,score:86.79,areaScore:21,cityScore:33,judge:6,cityReport:0,countryReport:1,country:67,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500106000000\",type:3,score:86.76,areaScore:22,cityScore:34,judge:2,cityReport:3,countryReport:0,country:56,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500193000000\",type:3,score:86.19,areaScore:23,cityScore:38,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500108000000\",type:3,score:85.73,areaScore:24,cityScore:40,judge:3,cityReport:1,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500233000000\",type:1,score:91.89,areaScore:1,cityScore:1,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500236000000\",type:1,score:97.71,areaScore:2,cityScore:5,judge:0,cityReport:0,countryReport:1,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500238000000\",type:2,score:89.88,areaScore:3,cityScore:9,judge:0,cityReport:0,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500155000000\",type:2,score:89.49,areaScore:4,cityScore:15,judge:0,cityReport:1,countryReport:1,country:25,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500237000000\",type:2,score:89.17,areaScore:5,cityScore:18,judge:1,cityReport:0,countryReport:1,country:18,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500235000000\",type:3,score:88.82,areaScore:6,cityScore:19,judge:0,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500231000000\",type:3,score:87.58,areaScore:7,cityScore:26,judge:0,cityReport:0,countryReport:0,country:30,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500154000000\",type:3,score:87.54,areaScore:8,cityScore:27,judge:1,cityReport:0,countryReport:0,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500101000000\",type:3,score:86.4,areaScore:9,cityScore:35,judge:2,cityReport:1,countryReport:1,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500230000000\",type:3,score:86.27,areaScore:10,cityScore:36,judge:0,cityReport:0,countryReport:0,country:13,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500229000000\",type:3,score:85.53,areaScore:11,cityScore:41,judge:0,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500114000000\",type:1,score:90.03,areaScore:1,cityScore:8,judge:0,cityReport:0,countryReport:0,country:31,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500241000000\",type:2,score:89.72,areaScore:2,cityScore:12,judge:1,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500156000000\",type:2,score:89.68,areaScore:3,cityScore:14,judge:0,cityReport:1,countryReport:0,country:15,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500240000000\",type:3,score:87.34,areaScore:4,cityScore:30,judge:0,cityReport:1,countryReport:2,country:29,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500242000000\",type:3,score:86.21,areaScore:5,cityScore:37,judge:0,cityReport:1,countryReport:0,country:13,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500243000000\",type:3,score:86.99,areaScore:6,cityScore:39,judge:0,cityReport:0,countryReport:0,country:13,countryRatio:\"100%\",city:59},\"countryRatio\",\"100%\")],a=[Object(i[\"a\"])({code:\"500119000000\",type:1,score:91.43,areaScore:1,cityScore:1,judge:3,cityReport:1,countryReport:2,country:44,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500192000000\",type:1,score:91.37,areaScore:2,cityScore:3,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500117000000\",type:1,score:9079,areaScore:3,cityScore:4,judge:1,cityReport:1,countryReport:2,country:40,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500151000000\",type:2,score:90.49,areaScore:4,cityScore:6,judge:5,cityReport:1,countryReport:0,country:45,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500120000000\",type:2,score:90.48,areaScore:5,cityScore:7,judge:6,cityReport:1,countryReport:1,country:34,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500118000000\",type:3,score:89.88,areaScore:6,cityScore:10,judge:3,cityReport:1,countryReport:1,country:42,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500111000000\",type:3,score:89.84,areaScore:7,cityScore:11,judge:2,cityReport:1,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500153000000\",type:2,score:89.7,areaScore:8,cityScore:13,judge:2,cityReport:0,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500115000000\",type:2,score:89.49,areaScore:9,cityScore:16,judge:1,cityReport:1,countryReport:0,country:47,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500102000000\",type:1,score:89.2,areaScore:10,cityScore:17,judge:8,cityReport:0,countryReport:2,country:36,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500152000000\",type:2,score:88.68,areaScore:11,cityScore:20,judge:3,cityReport:1,countryReport:1,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500103000000\",type:2,score:88.62,areaScore:12,cityScore:21,judge:4,cityReport:0,countryReport:2,country:41,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500116000000\",type:2,score:88.1,areaScore:13,cityScore:22,judge:5,cityReport:0,countryReport:0,country:39,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500191000000\",type:3,score:88.06,areaScore:14,cityScore:23,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500110000000\",type:2,score:98,areaScore:15,cityScore:24,judge:1,cityReport:1,countryReport:0,country:32,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500112000000\",type:3,score:87.69,areaScore:16,cityScore:25,judge:4,cityReport:0,countryReport:1,country:55,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500113000000\",type:1,score:87.43,areaScore:17,cityScore:28,judge:3,cityReport:1,countryReport:1,country:46,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500104000000\",type:3,score:87.42,areaScore:18,cityScore:29,judge:5,cityReport:0,countryReport:0,country:49,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500105000000\",type:3,score:87.09,areaScore:19,cityScore:31,judge:6,cityReport:1,countryReport:0,country:53,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500107000000\",type:1,score:87.08,areaScore:20,cityScore:32,judge:4,cityReport:0,countryReport:2,country:49,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500109000000\",type:1,score:86.79,areaScore:21,cityScore:33,judge:6,cityReport:0,countryReport:1,country:67,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500106000000\",type:3,score:86.76,areaScore:22,cityScore:34,judge:2,cityReport:3,countryReport:0,country:56,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500193000000\",type:2,score:86.19,areaScore:23,cityScore:38,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500108000000\",type:3,score:85.73,areaScore:24,cityScore:40,judge:3,cityReport:1,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500233000000\",type:3,score:91.89,areaScore:1,cityScore:1,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500236000000\",type:1,score:97.71,areaScore:2,cityScore:5,judge:0,cityReport:0,countryReport:1,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500238000000\",type:3,score:89.88,areaScore:3,cityScore:9,judge:0,cityReport:0,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500155000000\",type:1,score:89.49,areaScore:4,cityScore:15,judge:0,cityReport:1,countryReport:1,country:25,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500237000000\",type:3,score:89.17,areaScore:5,cityScore:18,judge:1,cityReport:0,countryReport:1,country:18,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500235000000\",type:3,score:88.82,areaScore:6,cityScore:19,judge:0,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500231000000\",type:3,score:87.58,areaScore:7,cityScore:26,judge:0,cityReport:0,countryReport:0,country:30,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500154000000\",type:1,score:87.54,areaScore:8,cityScore:27,judge:1,cityReport:0,countryReport:0,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500101000000\",type:3,score:86.4,areaScore:9,cityScore:35,judge:2,cityReport:1,countryReport:1,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500230000000\",type:3,score:86.27,areaScore:10,cityScore:36,judge:0,cityReport:0,countryReport:0,country:13,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500229000000\",type:1,score:85.53,areaScore:11,cityScore:41,judge:0,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500114000000\",type:1,score:90.03,areaScore:1,cityScore:8,judge:0,cityReport:0,countryReport:0,country:31,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500241000000\",type:3,score:89.72,areaScore:2,cityScore:12,judge:1,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500156000000\",type:2,score:89.68,areaScore:3,cityScore:14,judge:0,cityReport:1,countryReport:0,country:15,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500240000000\",type:1,score:87.34,areaScore:4,cityScore:30,judge:0,cityReport:1,countryReport:2,country:29,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500242000000\",type:3,score:86.21,areaScore:5,cityScore:37,judge:0,cityReport:1,countryReport:0,country:13,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500243000000\",type:1,score:86.99,areaScore:6,cityScore:39,judge:0,cityReport:0,countryReport:0,country:13,countryRatio:\"100%\",city:59},\"countryRatio\",\"100%\")],s=[Object(i[\"a\"])({code:\"500119000000\",type:1,score:91.43,areaScore:1,cityScore:1,judge:3,cityReport:1,countryReport:2,country:44,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500192000000\",type:2,score:91.37,areaScore:2,cityScore:3,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500117000000\",type:2,score:9079,areaScore:3,cityScore:4,judge:1,cityReport:1,countryReport:2,country:40,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500151000000\",type:1,score:90.49,areaScore:4,cityScore:6,judge:5,cityReport:1,countryReport:0,country:45,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500120000000\",type:2,score:90.48,areaScore:5,cityScore:7,judge:6,cityReport:1,countryReport:1,country:34,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500118000000\",type:3,score:89.88,areaScore:6,cityScore:10,judge:3,cityReport:1,countryReport:1,country:42,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500111000000\",type:3,score:89.84,areaScore:7,cityScore:11,judge:2,cityReport:1,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500153000000\",type:2,score:89.7,areaScore:8,cityScore:13,judge:2,cityReport:0,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500115000000\",type:2,score:89.49,areaScore:9,cityScore:16,judge:1,cityReport:1,countryReport:0,country:47,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500102000000\",type:3,score:89.2,areaScore:10,cityScore:17,judge:8,cityReport:0,countryReport:2,country:36,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500152000000\",type:2,score:88.68,areaScore:11,cityScore:20,judge:3,cityReport:1,countryReport:1,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500103000000\",type:3,score:88.62,areaScore:12,cityScore:21,judge:4,cityReport:0,countryReport:2,country:41,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500116000000\",type:1,score:88.1,areaScore:13,cityScore:22,judge:5,cityReport:0,countryReport:0,country:39,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500191000000\",type:3,score:88.06,areaScore:14,cityScore:23,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500110000000\",type:1,score:98,areaScore:15,cityScore:24,judge:1,cityReport:1,countryReport:0,country:32,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500112000000\",type:3,score:87.69,areaScore:16,cityScore:25,judge:4,cityReport:0,countryReport:1,country:55,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500113000000\",type:2,score:87.43,areaScore:17,cityScore:28,judge:3,cityReport:1,countryReport:1,country:46,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500104000000\",type:3,score:87.42,areaScore:18,cityScore:29,judge:5,cityReport:0,countryReport:0,country:49,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500105000000\",type:2,score:87.09,areaScore:19,cityScore:31,judge:6,cityReport:1,countryReport:0,country:53,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500107000000\",type:3,score:87.08,areaScore:20,cityScore:32,judge:4,cityReport:0,countryReport:2,country:49,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500109000000\",type:1,score:86.79,areaScore:21,cityScore:33,judge:6,cityReport:0,countryReport:1,country:67,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500106000000\",type:3,score:86.76,areaScore:22,cityScore:34,judge:2,cityReport:3,countryReport:0,country:56,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500193000000\",type:2,score:86.19,areaScore:23,cityScore:38,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500108000000\",type:3,score:85.73,areaScore:24,cityScore:40,judge:3,cityReport:1,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500233000000\",type:3,score:91.89,areaScore:1,cityScore:1,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500236000000\",type:1,score:97.71,areaScore:2,cityScore:5,judge:0,cityReport:0,countryReport:1,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500238000000\",type:3,score:89.88,areaScore:3,cityScore:9,judge:0,cityReport:0,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500155000000\",type:1,score:89.49,areaScore:4,cityScore:15,judge:0,cityReport:1,countryReport:1,country:25,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500237000000\",type:2,score:89.17,areaScore:5,cityScore:18,judge:1,cityReport:0,countryReport:1,country:18,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500235000000\",type:1,score:88.82,areaScore:6,cityScore:19,judge:0,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500231000000\",type:3,score:87.58,areaScore:7,cityScore:26,judge:0,cityReport:0,countryReport:0,country:30,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500154000000\",type:2,score:87.54,areaScore:8,cityScore:27,judge:1,cityReport:0,countryReport:0,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500101000000\",type:3,score:86.4,areaScore:9,cityScore:35,judge:2,cityReport:1,countryReport:1,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500230000000\",type:1,score:86.27,areaScore:10,cityScore:36,judge:0,cityReport:0,countryReport:0,country:13,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500229000000\",type:3,score:85.53,areaScore:11,cityScore:41,judge:0,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500114000000\",type:2,score:90.03,areaScore:1,cityScore:8,judge:0,cityReport:0,countryReport:0,country:31,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500241000000\",type:2,score:89.72,areaScore:2,cityScore:12,judge:1,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500156000000\",type:1,score:89.68,areaScore:3,cityScore:14,judge:0,cityReport:1,countryReport:0,country:15,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500240000000\",type:1,score:87.34,areaScore:4,cityScore:30,judge:0,cityReport:1,countryReport:2,country:29,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500242000000\",type:3,score:86.21,areaScore:5,cityScore:37,judge:0,cityReport:1,countryReport:0,country:13,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500243000000\",type:1,score:86.99,areaScore:6,cityScore:39,judge:0,cityReport:0,countryReport:0,country:13,countryRatio:\"100%\",city:59},\"countryRatio\",\"100%\")],l=[Object(i[\"a\"])({code:\"500119000000\",type:3,score:91.43,areaScore:1,cityScore:1,judge:3,cityReport:1,countryReport:2,country:44,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500192000000\",type:2,score:91.37,areaScore:2,cityScore:3,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500117000000\",type:1,score:9079,areaScore:3,cityScore:4,judge:1,cityReport:1,countryReport:2,country:40,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500151000000\",type:2,score:90.49,areaScore:4,cityScore:6,judge:5,cityReport:1,countryReport:0,country:45,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500120000000\",type:2,score:90.48,areaScore:5,cityScore:7,judge:6,cityReport:1,countryReport:1,country:34,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500118000000\",type:1,score:89.88,areaScore:6,cityScore:10,judge:3,cityReport:1,countryReport:1,country:42,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500111000000\",type:2,score:89.84,areaScore:7,cityScore:11,judge:2,cityReport:1,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500153000000\",type:3,score:89.7,areaScore:8,cityScore:13,judge:2,cityReport:0,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500115000000\",type:2,score:89.49,areaScore:9,cityScore:16,judge:1,cityReport:1,countryReport:0,country:47,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500102000000\",type:2,score:89.2,areaScore:10,cityScore:17,judge:8,cityReport:0,countryReport:2,country:36,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500152000000\",type:1,score:88.68,areaScore:11,cityScore:20,judge:3,cityReport:1,countryReport:1,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500103000000\",type:3,score:88.62,areaScore:12,cityScore:21,judge:4,cityReport:0,countryReport:2,country:41,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500116000000\",type:1,score:88.1,areaScore:13,cityScore:22,judge:5,cityReport:0,countryReport:0,country:39,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500191000000\",type:3,score:88.06,areaScore:14,cityScore:23,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500110000000\",type:2,score:98,areaScore:15,cityScore:24,judge:1,cityReport:1,countryReport:0,country:32,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500112000000\",type:1,score:87.69,areaScore:16,cityScore:25,judge:4,cityReport:0,countryReport:1,country:55,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500113000000\",type:3,score:87.43,areaScore:17,cityScore:28,judge:3,cityReport:1,countryReport:1,country:46,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500104000000\",type:2,score:87.42,areaScore:18,cityScore:29,judge:5,cityReport:0,countryReport:0,country:49,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500105000000\",type:3,score:87.09,areaScore:19,cityScore:31,judge:6,cityReport:1,countryReport:0,country:53,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500107000000\",type:3,score:87.08,areaScore:20,cityScore:32,judge:4,cityReport:0,countryReport:2,country:49,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500109000000\",type:1,score:86.79,areaScore:21,cityScore:33,judge:6,cityReport:0,countryReport:1,country:67,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500106000000\",type:3,score:86.76,areaScore:22,cityScore:34,judge:2,cityReport:3,countryReport:0,country:56,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500193000000\",type:1,score:86.19,areaScore:23,cityScore:38,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500108000000\",type:3,score:85.73,areaScore:24,cityScore:40,judge:3,cityReport:1,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500233000000\",type:3,score:91.89,areaScore:1,cityScore:1,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500236000000\",type:1,score:97.71,areaScore:2,cityScore:5,judge:0,cityReport:0,countryReport:1,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500238000000\",type:1,score:89.88,areaScore:3,cityScore:9,judge:0,cityReport:0,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500155000000\",type:2,score:89.49,areaScore:4,cityScore:15,judge:0,cityReport:1,countryReport:1,country:25,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500237000000\",type:3,score:89.17,areaScore:5,cityScore:18,judge:1,cityReport:0,countryReport:1,country:18,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500235000000\",type:3,score:88.82,areaScore:6,cityScore:19,judge:0,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500231000000\",type:2,score:87.58,areaScore:7,cityScore:26,judge:0,cityReport:0,countryReport:0,country:30,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500154000000\",type:1,score:87.54,areaScore:8,cityScore:27,judge:1,cityReport:0,countryReport:0,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500101000000\",type:2,score:86.4,areaScore:9,cityScore:35,judge:2,cityReport:1,countryReport:1,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500230000000\",type:3,score:86.27,areaScore:10,cityScore:36,judge:0,cityReport:0,countryReport:0,country:13,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500229000000\",type:1,score:85.53,areaScore:11,cityScore:41,judge:0,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500114000000\",type:1,score:90.03,areaScore:1,cityScore:8,judge:0,cityReport:0,countryReport:0,country:31,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500241000000\",type:2,score:89.72,areaScore:2,cityScore:12,judge:1,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500156000000\",type:3,score:89.68,areaScore:3,cityScore:14,judge:0,cityReport:1,countryReport:0,country:15,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500240000000\",type:3,score:87.34,areaScore:4,cityScore:30,judge:0,cityReport:1,countryReport:2,country:29,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500242000000\",type:3,score:86.21,areaScore:5,cityScore:37,judge:0,cityReport:1,countryReport:0,country:13,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500243000000\",type:1,score:86.99,areaScore:6,cityScore:39,judge:0,cityReport:0,countryReport:0,country:13,countryRatio:\"100%\",city:59},\"countryRatio\",\"100%\")],c=[Object(i[\"a\"])({code:\"500119000000\",type:1,score:91.43,areaScore:1,cityScore:1,judge:3,cityReport:1,countryReport:2,country:44,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500192000000\",type:1,score:91.37,areaScore:2,cityScore:3,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500117000000\",type:1,score:9079,areaScore:3,cityScore:4,judge:1,cityReport:1,countryReport:2,country:40,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500151000000\",type:1,score:90.49,areaScore:4,cityScore:6,judge:5,cityReport:1,countryReport:0,country:45,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500120000000\",type:2,score:90.48,areaScore:5,cityScore:7,judge:6,cityReport:1,countryReport:1,country:34,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500118000000\",type:2,score:89.88,areaScore:6,cityScore:10,judge:3,cityReport:1,countryReport:1,country:42,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500111000000\",type:2,score:89.84,areaScore:7,cityScore:11,judge:2,cityReport:1,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500153000000\",type:2,score:89.7,areaScore:8,cityScore:13,judge:2,cityReport:0,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500115000000\",type:2,score:89.49,areaScore:9,cityScore:16,judge:1,cityReport:1,countryReport:0,country:47,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500102000000\",type:2,score:89.2,areaScore:10,cityScore:17,judge:8,cityReport:0,countryReport:2,country:36,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500152000000\",type:2,score:88.68,areaScore:11,cityScore:20,judge:3,cityReport:1,countryReport:1,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500103000000\",type:3,score:88.62,areaScore:12,cityScore:21,judge:4,cityReport:0,countryReport:2,country:41,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500116000000\",type:3,score:88.1,areaScore:13,cityScore:22,judge:5,cityReport:0,countryReport:0,country:39,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500191000000\",type:3,score:88.06,areaScore:14,cityScore:23,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500110000000\",type:3,score:98,areaScore:15,cityScore:24,judge:1,cityReport:1,countryReport:0,country:32,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500112000000\",type:3,score:87.69,areaScore:16,cityScore:25,judge:4,cityReport:0,countryReport:1,country:55,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500113000000\",type:3,score:87.43,areaScore:17,cityScore:28,judge:3,cityReport:1,countryReport:1,country:46,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500104000000\",type:3,score:87.42,areaScore:18,cityScore:29,judge:5,cityReport:0,countryReport:0,country:49,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500105000000\",type:3,score:87.09,areaScore:19,cityScore:31,judge:6,cityReport:1,countryReport:0,country:53,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500107000000\",type:3,score:87.08,areaScore:20,cityScore:32,judge:4,cityReport:0,countryReport:2,country:49,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500109000000\",type:3,score:86.79,areaScore:21,cityScore:33,judge:6,cityReport:0,countryReport:1,country:67,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500106000000\",type:3,score:86.76,areaScore:22,cityScore:34,judge:2,cityReport:3,countryReport:0,country:56,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500193000000\",type:3,score:86.19,areaScore:23,cityScore:38,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500108000000\",type:3,score:85.73,areaScore:24,cityScore:40,judge:3,cityReport:1,countryReport:0,country:38,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500233000000\",type:1,score:91.89,areaScore:1,cityScore:1,judge:1,cityReport:0,countryReport:1,country:23,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500236000000\",type:1,score:97.71,areaScore:2,cityScore:5,judge:0,cityReport:0,countryReport:1,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500238000000\",type:2,score:89.88,areaScore:3,cityScore:9,judge:0,cityReport:0,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500155000000\",type:2,score:89.49,areaScore:4,cityScore:15,judge:0,cityReport:1,countryReport:1,country:25,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500237000000\",type:2,score:89.17,areaScore:5,cityScore:18,judge:1,cityReport:0,countryReport:1,country:18,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500235000000\",type:3,score:88.82,areaScore:6,cityScore:19,judge:0,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500231000000\",type:3,score:87.58,areaScore:7,cityScore:26,judge:0,cityReport:0,countryReport:0,country:30,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500154000000\",type:3,score:87.54,areaScore:8,cityScore:27,judge:1,cityReport:0,countryReport:0,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500101000000\",type:3,score:86.4,areaScore:9,cityScore:35,judge:2,cityReport:1,countryReport:1,country:27,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500230000000\",type:3,score:86.27,areaScore:10,cityScore:36,judge:0,cityReport:0,countryReport:0,country:13,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500229000000\",type:3,score:85.53,areaScore:11,cityScore:41,judge:0,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500114000000\",type:1,score:90.03,areaScore:1,cityScore:8,judge:0,cityReport:0,countryReport:0,country:31,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500241000000\",type:2,score:89.72,areaScore:2,cityScore:12,judge:1,cityReport:1,countryReport:0,country:12,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500156000000\",type:2,score:89.68,areaScore:3,cityScore:14,judge:0,cityReport:1,countryReport:0,country:15,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500240000000\",type:3,score:87.34,areaScore:4,cityScore:30,judge:0,cityReport:1,countryReport:2,country:29,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500242000000\",type:3,score:86.21,areaScore:5,cityScore:37,judge:0,cityReport:1,countryReport:0,country:13,countryRatio:\"100%\",city:50},\"countryRatio\",\"100%\"),Object(i[\"a\"])({code:\"500243000000\",type:3,score:86.99,areaScore:6,cityScore:39,judge:0,cityReport:0,countryReport:0,country:13,countryRatio:\"100%\",city:59},\"countryRatio\",\"100%\")],u=[{code:\"500241000000\",name:\"秀山\",type:1,eventName:\"XXX事件\"},{code:\"500113000000\",name:\"巴南\",type:3,eventName:\"XXX事件\"},{code:\"500104000000\",name:\"大渡口\",type:2,eventName:\"XXX事件\"}];e[\"a\"]={scrollListData:r,synthesize:a,btnkey1:s,btnkey2:l,btnkey3:c,btnkey4:u,score:o}},f5e5:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return c})),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 i=n(\"8937\"),r=n(\"af40\"),o=n(\"9c29\"),a=n(\"7326\"),s=n(\"9f27\"),l={fill:\"fillStyle\",stroke:\"strokeStyle\",opacity:\"globalAlpha\"};function c(t,e){var n=e.attr();for(var o in n){var a=n[o],s=l[o]?l[o]:o;\"matrix\"===s&&a?t.transform(a[0],a[1],a[3],a[4],a[6],a[7]):\"lineDash\"===s&&t.setLineDash?Object(i[\"C\"])(a)&&t.setLineDash(a):(\"strokeStyle\"===s||\"fillStyle\"===s?a=Object(r[\"b\"])(t,e,a):\"globalAlpha\"===s&&(a*=t.globalAlpha),t[s]=a)}}function u(t,e,n){for(var i=0;ij?w:j,k=w>j?1:w/j,I=w>j?j/w:1;e.translate(x,O),e.rotate(C),e.scale(k,I),e.arc(0,0,A,S,_,1-M),e.scale(1/k,1/I),e.rotate(-C),e.translate(-x,-O)}break;case\"Z\":e.closePath();break;default:break}if(\"Z\"===f)c=u;else{var T=p.length;c=[p[T-2],p[T-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\"),i=n&&!(!n.width||!n.height),r=t.getCanvasBBox(),o=r&&!(!r.width||!r.height);i&&o?e=Object(a[\"l\"])(n,r):i?e=n:o&&(e=r)}return e}function b(t){if(!t.length)return null;var e=[],n=[],r=[],o=[];return Object(i[\"j\"])(t,(function(t){var i=m(t);i&&(e.push(i.minX),n.push(i.minY),r.push(i.maxX),o.push(i.maxY))})),{minX:Object(i[\"bb\"])(e),minY:Object(i[\"bb\"])(n),maxX:Object(i[\"Y\"])(r),maxY:Object(i[\"Y\"])(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}},f7a9:function(t,e,n){\"use strict\";var i=n(\"000e\"),r=n(\"8937\"),o=n(\"41c8\"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"b\"])(e,t),e.prototype.process=function(t){var e=r[\"q\"](t),n=this,o=n.xField,a=n.yField,s=this.getXValuesMaxMap(e),l=Math.max.apply(Math,Object.keys(s).map((function(t){return s[t]})));return r[\"W\"](t,(function(t){return r[\"W\"](t,(function(t){var e,n,c=t[a],u=t[o];if(r[\"C\"](c)){var h=(l-s[u])/2;return Object(i[\"a\"])(Object(i[\"a\"])({},t),(e={},e[a]=r[\"W\"](c,(function(t){return h+t})),e))}var d=(l-c)/2;return Object(i[\"a\"])(Object(i[\"a\"])({},t),(n={},n[a]=[d,c+d],n))}))}))},e.prototype.getXValuesMaxMap=function(t){var e=this,n=this,i=n.xField,o=n.yField,a=r[\"w\"](t,(function(t){return t[i]}));return r[\"X\"](a,(function(t){return e.getDimMaxValue(t,o)}))},e.prototype.getDimMaxValue=function(t,e){var n=r[\"W\"](t,(function(t){return r[\"s\"](t,e,[])})),i=r[\"q\"](n);return Math.max.apply(Math,i)},e}(o[\"a\"]);e[\"a\"]=a},f7cc:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));n(\"8937\");var i={locale:\"en-US\"}},f83c:function(t,e,n){\"use strict\";var i=n(\"9ab48\"),r=n(\"330d\"),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i[\"c\"])(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(),i=0;i1||(j=p)),Object(s[\"a\"])(Object(l[\"d\"])({},t,{options:{type:b,colorField:h,tooltipFields:O,shapeField:d||\"\",label:void 0,mapping:{tooltip:w,shape:f&&(d?function(t){var e=i.map((function(t){return t[d]})),n=(null===m||void 0===m?void 0:m[d])||{},r=n.min,a=n.max;return r=Object(o[\"M\"])(r)?r:Math.min.apply(Math,e),a=Object(o[\"M\"])(a)?a:Math.max.apply(Math,e),[f,(Object(o[\"s\"])(t,d)-r)/(a-r),j]}:function(){return[f,1,j]}),color:g||h&&e.getTheme().sequenceColors.join(\"-\"),style:v}}})),t}function h(t){var e,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,s=n.yField;return Object(l[\"g\"])(Object(a[\"g\"])((e={},e[o]=i,e[s]=r,e)))(t)}function d(t){var e=t.chart,n=t.options,i=n.xAxis,r=n.yAxis,o=n.xField,a=n.yField;return!1===i?e.axis(o,!1):e.axis(o,i),!1===r?e.axis(a,!1):e.axis(a,r),t}function p(t){var e=t.chart,n=t.options,i=n.legend,r=n.colorField,o=n.sizeField,a=n.sizeLegend,s=!1!==i;return r&&e.legend(r,!!s&&i),o&&e.legend(o,void 0===a?i:a),s||a||e.legend(!1),t}function f(t){var e=t.chart,n=t.options,r=n.label,o=n.colorField,a=n.type,s=Object(l[\"e\"])(e,\"density\"===a?\"heatmap\":\"polygon\");if(r){if(o){var c=r.callback,u=Object(i[\"f\"])(r,[\"callback\"]);s.label({fields:[o],callback:c,cfg:Object(l[\"A\"])(u)})}}else s.label(!1);return t}function g(t){var e,n,i=t.chart,r=t.options,o=r.coordinate,a=r.reflect,s=Object(l[\"d\"])({actions:[]},null!==o&&void 0!==o?o:{type:\"rect\"});return a&&(null===(n=null===(e=s.actions)||void 0===e?void 0:e.push)||void 0===n||n.call(e,[\"reflect\",a])),i.coordinate(s),t}function y(t){return Object(l[\"g\"])(a[\"k\"],Object(a[\"f\"])(\"heatmapStyle\"),h,g,u,d,p,a[\"l\"],f,Object(a[\"b\"])(),a[\"c\"],a[\"a\"],a[\"j\"])(t)}var v=Object(l[\"d\"])({},r[\"b\"].getDefaultOptions(),{type:\"polygon\",legend:!1,coordinate:{type:\"rect\"},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\"}}}}}),m=n(\"917c\");Object(m[\"p\"])(\"polygon\",\"circle\",{draw:function(t,e){var n,r,o=t.x,a=t.y,s=this.parsePoints(t.points),l=Math.abs(s[2].x-s[1].x),c=Math.abs(s[1].y-s[0].y),u=Math.min(l,c)/2,h=Number(t.shape[1]),d=Number(t.shape[2]),p=Math.sqrt(d),f=u*p*Math.sqrt(h),g=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(r=t.defaultStyle)||void 0===r?void 0:r.fill),y=e.addShape(\"circle\",{attrs:Object(i[\"a\"])(Object(i[\"a\"])(Object(i[\"a\"])({x:o,y:a,r:f},t.defaultStyle),t.style),{fill:g})});return y}}),Object(m[\"p\"])(\"polygon\",\"square\",{draw:function(t,e){var n,r,o=t.x,a=t.y,s=this.parsePoints(t.points),l=Math.abs(s[2].x-s[1].x),c=Math.abs(s[1].y-s[0].y),u=Math.min(l,c),h=Number(t.shape[1]),d=Number(t.shape[2]),p=Math.sqrt(d),f=u*p*Math.sqrt(h),g=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(r=t.defaultStyle)||void 0===r?void 0:r.fill),y=e.addShape(\"rect\",{attrs:Object(i[\"a\"])(Object(i[\"a\"])(Object(i[\"a\"])({x:o-f/2,y:a-f/2,width:f,height:f},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(i[\"c\"])(e,t),e.getDefaultOptions=function(){return v},e.prototype.getSchemaAdaptor=function(){return y},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()}})(r[\"b\"])},fb0d:function(t,e,n){\"use strict\";var i=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"dada\"))},r=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"6a01\"))},o=function(){return Promise.all([n.e(\"chunk-2bcbad9e\"),n.e(\"chunk-3c0a530f\"),n.e(\"chunk-f4b452ee\")]).then(n.bind(null,\"2f89\"))},a=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"b15f\"))},s=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"3f77\"))},l=function(){return Promise.all([n.e(\"chunk-2bcbad9e\"),n.e(\"chunk-3c0a530f\"),n.e(\"chunk-f4b452ee\")]).then(n.bind(null,\"682d\"))},c=function(){return Promise.all([n.e(\"chunk-2bcbad9e\"),n.e(\"chunk-3c0a530f\"),n.e(\"chunk-f4b452ee\")]).then(n.bind(null,\"168d\"))},u=function(){return Promise.all([n.e(\"chunk-2bcbad9e\"),n.e(\"chunk-3c0a530f\"),n.e(\"chunk-f4b452ee\")]).then(n.bind(null,\"06b1\"))},h=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"6e2c\"))},d=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"c4a7\"))},p=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"8fcd\"))},f=function(){return Promise.all([n.e(\"chunk-2bcbad9e\"),n.e(\"chunk-f4b452ee\")]).then(n.bind(null,\"e401\"))},g=function(){return Promise.all([n.e(\"chunk-2bcbad9e\"),n.e(\"chunk-3c0a530f\"),n.e(\"chunk-f4b452ee\")]).then(n.bind(null,\"b9e8\"))},y=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"5bcc\"))},v=function(){return n.e(\"chunk-2bcbad9e\").then(n.bind(null,\"ba48\"))},m=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"ff81\"))},b=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"6f9a\"))},x=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"8c1e\"))},O=function(){return n.e(\"chunk-f4b452ee\").then(n.bind(null,\"3171\"))};e[\"a\"]={indexRank:i,innovationPromotion:r,bookAccount:o,reformBrand:a,demandListPromotion:s,importantPlat:l,systemResults:c,onlineApp:u,pilotAccount:h,reportPreview:d,reportHistory:p,docPreview:f,brandDetail:g,districtPilot:y,reformPilot:v,demandList:m,demandHeat:b,reformNews:x,contentDialog:O}},ff7f:function(t,e,n){\"use strict\";n.r(e),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}));var i,r=n(\"9ab48\"),o=n(\"e546\"),a=n(\"8937\"),s=n(\"31e6\"),l=n(\"8ea8\"),c=n(\"2f5e\"),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{name:\"crosshair\",type:\"base\",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:c[\"a\"].lineColor}},text:{position:\"start\",offset:10,autoRotate:!1,content:null,style:{fill:c[\"a\"].textColor,textAlign:\"center\",textBaseline:\"middle\",fontFamily:c[\"a\"].fontFamily}},textBackground:{padding:5,style:{stroke:c[\"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,i=e.autoRotate,o=e.content;if(!Object(a[\"K\"])(o)){var s=this.getTextPoint(),c=null;if(i){var u=this.getRotateAngle();c=Object(l[\"e\"])(s,u)}this.addShape(t,{type:\"text\",name:\"crosshair-text\",id:this.getElementId(\"text\"),attrs:Object(r[\"a\"])(Object(r[\"a\"])(Object(r[\"a\"])({},s),{text:o,matrix:c}),n)})}},e.prototype.renderLine=function(t){var e=this.getLinePath(),n=this.get(\"line\"),i=n.style;this.addShape(t,{type:\"path\",name:\"crosshair-line\",id:this.getElementId(\"line\"),attrs:Object(r[\"a\"])({path:e},i)})},e.prototype.renderBackground=function(t){var e=this.getElementId(\"text\"),n=t.findById(e),i=this.get(\"textBackground\");if(i&&n){var a=n.getBBox(),s=Object(o[\"c\"])(i.padding),l=i.style,c=this.addShape(t,{type:\"rect\",name:\"crosshair-text-background\",id:this.getElementId(\"text-background\"),attrs:Object(r[\"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\")},l)});c.toBack()}},e}(s[\"a\"]),h=u,d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r[\"a\"])(Object(r[\"a\"])({},e),{type:\"line\",locationType:\"region\",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.start,n=t.end,i=this.get(\"text\").position,r=Math.atan2(n.y-e.y,n.x-e.x),o=\"start\"===i?r-Math.PI/2:r+Math.PI/2;return o},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,i=this.get(\"text\"),r=i.position,a=i.offset;return Object(o[\"f\"])(e,n,r,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=d,f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r[\"a\"])(Object(r[\"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,i=this.get(\"text\").position,r=\"start\"===i?e+Math.PI/2:n-Math.PI/2;return r},e.prototype.getTextPoint=function(){var t=this.get(\"text\"),e=t.position,n=t.offset,i=this.getLocation(),r=i.center,a=i.radius,s=i.startAngle,l=i.endAngle,c=\"start\"===e?s:l,u=this.getRotateAngle()-Math.PI,h=Object(o[\"e\"])(r,a,c),d=Math.cos(u)*n,p=Math.sin(u)*n;return{x:h.x+d,y:h.y+p}},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.center,n=t.radius,i=t.startAngle,r=t.endAngle,a=null;if(r-i===2*Math.PI){var s=e.x,l=e.y;a=[[\"M\",s,l-n],[\"A\",n,n,0,1,1,s,l+n],[\"A\",n,n,0,1,1,s,l-n],[\"Z\"]]}else{var c=Object(o[\"e\"])(e,n,i),u=Object(o[\"e\"])(e,n,r),h=Math.abs(r-i)>Math.PI?1:0,d=i>r?0:1;a=[[\"M\",c.x,c.y],[\"A\",n,n,0,h,d,u.x,u.y]]}return a},e}(h),g=f,y=n(\"7c8a\"),v=n(\"75ed\"),m=\"g2-crosshair\",b=m+\"-line\",x=m+\"-text\",O=(i={},i[\"\"+m]={position:\"relative\"},i[\"\"+b]={position:\"absolute\",backgroundColor:\"rgba(0, 0, 0, 0.25)\"},i[\"\"+x]={position:\"absolute\",color:c[\"a\"].textColor,fontFamily:c[\"a\"].fontFamily},i),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r[\"c\"])(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r[\"a\"])(Object(r[\"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,i=this.get(\"text\"),r=i.position,a=i.offset;return Object(o[\"f\"])(e,n,r,a)},e.prototype.resetText=function(){var t=this.get(\"text\"),e=this.get(\"textEl\");if(t){var n=t.content;if(!e){var i=this.getContainer(),r=Object(a[\"pb\"])(this.get(\"textTpl\"),t);e=Object(y[\"b\"])(r),i.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\"),i=Math.min(e.x,n.x),r=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\"])(r),left:Object(o[\"l\"])(i)}),this.alignText()},e.prototype.alignText=function(){var t=this.get(\"textEl\");if(t){var e=this.get(\"text\").align,n=t.clientWidth,i=this.getTextPoint();switch(e){case\"center\":i.x=i.x-n/2;break;case\"right\":i.x=i.x-n;case\"left\":break}Object(y[\"e\"])(t,{top:Object(o[\"l\"])(i.y),left:Object(o[\"l\"])(i.x)})}},e.prototype.updateInner=function(e){Object(a[\"y\"])(e,\"text\")&&this.resetText(),t.prototype.updateInner.call(this,e)},e}(v[\"a\"]),j=w},ffd0:function(t,e,n){\"use strict\";var i={indexRank:{componentName:\"indexRank\",option:{dialogTitle:\"指数排行榜\",width:\"46%\"},dataOptions:{}},innovationPromotion:{componentName:\"innovationPromotion\",option:{dialogTitle:'\"一地创新、全市推广\" 排行榜',width:\"46%\",top:\"2%\"}},bookAccount:{componentName:\"bookAccount\",option:{dialogTitle:'\"一地创新、全市推广\"一本账',width:\"66%\",top:\"2%\"}},reformBrand:{componentName:\"reformBrand\",option:{dialogTitle:\"改革品牌榜\",width:\"55%\",top:\"2%\"}},demandListPromotionAll:{componentName:\"demandListPromotion\",option:{dialogTitle:\"改革需求清单\",width:\"66%\"},dataOptions:{type:\"all\"}},demandListPromotionArea:{componentName:\"demandListPromotion\",option:{dialogTitle:\"交办区县落实的改革需求清单\",width:\"66%\"},dataOptions:{type:\"area\"}},demandListPromotionFinish:{componentName:\"demandListPromotion\",option:{dialogTitle:\"已完成的改革需求清单\",width:\"66%\"}},demandListPromotionUnfinish:{componentName:\"demandListPromotion\",option:{dialogTitle:\"推进中的改革需求清单\",width:\"66%\"}},importantPlat:{componentName:\"importantPlat\",option:{dialogTitle:\"搭建重要平台\",width:\"50%\",top:\"2%\"}},systemResults:{option:{dialogTitle:\"形成制度成果\",width:\"50%\",top:\"2%\"}},onlineApp:{option:{dialogTitle:\"上线应用场景\",width:\"50%\",top:\"2%\"}},pilotAccountCentreTotal:{componentName:\"pilotAccount\",option:{dialogTitle:\"国家级改革试点台账\",width:\"80%\",top:\"2%\"},dataOptions:{type:\"1\"}},pilotAccountMunicipalTotal:{componentName:\"pilotAccount\",option:{dialogTitle:\"市级改革试点台账\",width:\"80%\",top:\"2%\"},dataOptions:{type:\"2\"}},IndexSystem:{componentName:\"docPreview\",option:{dialogTitle:\"指标体系\",width:\"66%\",top:\"2%\"},dataOptions:{url:\"./files/docx/改革报表评分细则(4.17).docx\"}},quarterReport:{componentName:\"docPreview\",option:{dialogTitle:\"本期报告\",width:\"66%\",top:\"2%\"},dataOptions:{url:\"./files/docx/改革报表分析报告.docx\"}},satisfactionReport:{componentName:\"docPreview\",option:{dialogTitle:\"满意度报告\",width:\"66%\",top:\"2%\"},dataOptions:{type:\"satisfaction\"}},reportHistory:{componentName:\"reportHistory\",option:{dialogTitle:\"历史报告\",width:\"65%\"}},reportPreview:{componentName:\"reportPreview\",option:{dialogTitle:\"报表详情\",width:\"86%\",top:\"2vh\"}},brandDetail:{componentName:\"brandDetail\",option:{width:\"60%\",top:\"2%\"}},districtPilot:{componentName:\"districtPilot\",option:{width:\"66%\",top:\"2%\"}},reformPilot:{componentName:\"reformPilot\",option:{width:\"60%\"}},demandList:{componentName:\"demandList\",option:{width:\"66%\"}},demandHeat:{componentName:\"demandHeat\",option:{dialogTitle:\"改革需求来源渠道\",width:\"50%\",top:\"2%\"}},reformNews:{componentName:\"reformNews\",option:{dialogTitle:\"改革动态\",width:\"50%\",top:\"2%\"}},contentDialog:{componentName:\"contentDialog\",option:{dialogTitle:\"\",width:\"1000px\"},dataOptions:{id:\"\"}}};e[\"a\"]={dialogOption:i}},ffed:function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return l}));var i=n(\"9ab48\"),r=n(\"cc94\"),o=n(\"70cc\"),a=n(\"3226\"),s=n(\"6f4b\"),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"stock\",e}return Object(i[\"c\"])(e,t),e.getDefaultOptions=function(){return a[\"a\"]},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o[\"a\"]},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField;this.chart.changeData(Object(s[\"a\"])(t,e))},e}(r[\"b\"])}}]);","extractedComments":[]}