New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mars2d-echarts

Package Overview
Dependencies
Maintainers
0
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mars2d-echarts - npm Package Compare versions

Comparing version 3.2.6 to 3.2.7

6

dist/mars2d-echarts.js
/**
* Mars2D平台插件,结合echarts可视化功能插件 mars2d-echarts
*
* 版本信息:v3.2.6
* 编译日期:2024-07-05 09:45:42
* 版本信息:v3.2.7
* 编译日期:2024-08-23 10:43:11
* 版权所有:Copyright by 火星科技 http://mars2d.cn

@@ -14,3 +14,3 @@ * 使用单位:免费公开版 ,2024-01-16

})(this, (function (exports, mars2d, echarts) {
'use strict';const _0x3e3f1e=_0x3a32;(function(_0x177036,_0x53daae){const _0x3e4333={_0x17098d:0x17e,_0x2dc7bd:0x1be,_0x230f64:0x19d,_0x2558b7:0x17b,_0x13e6dd:0x1e6,_0x2a3ac8:0x1a5},_0x5d0700=_0x3a32,_0x14d734=_0x177036();while(!![]){try{const _0x283c19=-parseInt(_0x5d0700(_0x3e4333._0x17098d))/0x1*(-parseInt(_0x5d0700(_0x3e4333._0x2dc7bd))/0x2)+-parseInt(_0x5d0700(_0x3e4333._0x230f64))/0x3+parseInt(_0x5d0700(0x1d3))/0x4*(-parseInt(_0x5d0700(0x1ba))/0x5)+-parseInt(_0x5d0700(0x197))/0x6*(parseInt(_0x5d0700(0x1dc))/0x7)+parseInt(_0x5d0700(_0x3e4333._0x2558b7))/0x8+-parseInt(_0x5d0700(_0x3e4333._0x13e6dd))/0x9+parseInt(_0x5d0700(_0x3e4333._0x2a3ac8))/0xa;if(_0x283c19===_0x53daae)break;else _0x14d734['push'](_0x14d734['shift']());}catch(_0x37af29){_0x14d734['push'](_0x14d734['shift']());}}}(_0x4260,0x4ba18));function _interopNamespace(_0x4f482f){const _0x3c76f5={_0x5542cd:0x177,_0x20e12b:0x18d,_0x28dd39:0x1a2},_0x3395dc={_0xcd5229:0x1bd},_0xdf7e52=_0x3a32;if(_0x4f482f&&_0x4f482f[_0xdf7e52(_0x3c76f5._0x5542cd)])return _0x4f482f;var _0x4fa447=Object['create'](null);return _0x4f482f&&Object['keys'](_0x4f482f)[_0xdf7e52(_0x3c76f5._0x20e12b)](function(_0x509051){const _0x685574=_0xdf7e52;if(_0x509051!=='default'){var _0xaab760=Object[_0x685574(_0x3395dc._0xcd5229)](_0x4f482f,_0x509051);Object['defineProperty'](_0x4fa447,_0x509051,_0xaab760['get']?_0xaab760:{'enumerable':!![],'get':function(){return _0x4f482f[_0x509051];}});}}),_0x4fa447[_0xdf7e52(_0x3c76f5._0x28dd39)]=_0x4f482f,_0x4fa447;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);const L$1=mars2d__namespace['L'];class CompositeCoordinateSystem{constructor(_0x310834,_0x1ffb88){const _0x2f8e50={_0x28c81a:0x1e4,_0x5112b2:0x198,_0x217a6c:0x18b,_0x3df701:0x195},_0x57fea4=_0x3a32;this[_0x57fea4(0x19a)]=_0x310834,this[_0x57fea4(_0x2f8e50._0x28c81a)]=[_0x57fea4(0x1a4),_0x57fea4(0x192)],this[_0x57fea4(_0x2f8e50._0x5112b2)]=[0x0,0x0],this[_0x57fea4(0x19b)]=_0x1ffb88,this[_0x57fea4(_0x2f8e50._0x217a6c)]=L$1[_0x57fea4(0x1c8)][_0x57fea4(_0x2f8e50._0x3df701)];}[_0x3e3f1e(0x19e)](_0x4199f5){const _0x40bdcb={_0x358566:0x198},_0x10307a=_0x3e3f1e;this[_0x10307a(_0x40bdcb._0x358566)]=_0x4199f5;}['getBMap'](){const _0x12300b={_0x127581:0x19a},_0x54e3ef=_0x3e3f1e;return this[_0x54e3ef(_0x12300b._0x127581)];}['prepareCustoms'](){const _0x2291e3={_0x530ea7:0x18e,_0xc57456:0x1c6,_0x3e3182:0x1cb,_0x20dc69:0x1a3,_0x43b5b7:0x1d8},_0x57da7b=_0x3e3f1e,_0x411415=echarts__namespace['util'],_0x2e1660=this[_0x57da7b(_0x2291e3._0x530ea7)](),_0x49d2ee={};_0x49d2ee[_0x57da7b(0x1a9)]=_0x57da7b(_0x2291e3._0xc57456),_0x49d2ee['x']=_0x2e1660['x'],_0x49d2ee['y']=_0x2e1660['y'],_0x49d2ee[_0x57da7b(0x1cb)]=_0x2e1660[_0x57da7b(_0x2291e3._0x3e3182)],_0x49d2ee['height']=_0x2e1660[_0x57da7b(_0x2291e3._0x20dc69)];return{'coordSys':_0x49d2ee,'api':{'coord':_0x411415[_0x57da7b(0x1b7)](this[_0x57da7b(_0x2291e3._0x43b5b7)],this),'size':_0x411415[_0x57da7b(0x1b7)](_0x425339,this)}};function _0x425339(_0x3f8661,_0x33e927){const _0x413b15={_0x1cae9d:0x1d8,_0x3cd686:0x1d8};return _0x33e927=_0x33e927||[0x0,0x0],_0x411415['map']([0x0,0x1],function(_0x1634d2){const _0x44a7da=_0x3a32,_0x41d0f9=_0x33e927[_0x1634d2],_0x1db798=_0x3f8661[_0x1634d2]/0x2,_0x542a69=[],_0x579e00=[];return _0x542a69[_0x1634d2]=_0x41d0f9-_0x1db798,_0x579e00[_0x1634d2]=_0x41d0f9+_0x1db798,_0x542a69[0x1-_0x1634d2]=_0x579e00[0x1-_0x1634d2]=_0x33e927[0x1-_0x1634d2],Math[_0x44a7da(0x1e9)](this[_0x44a7da(_0x413b15._0x1cae9d)](_0x542a69)[_0x1634d2]-this[_0x44a7da(_0x413b15._0x3cd686)](_0x579e00)[_0x1634d2]);},this);}}[_0x3e3f1e(0x1d8)](_0x1b33e2){const _0x1dc091={_0x23083d:0x1b2,_0x7cece8:0x179},_0x555f76=_0x3e3f1e;_0x1b33e2[0x1]===null&&(_0x1b33e2[0x1]=L$1[_0x555f76(_0x1dc091._0x23083d)][_0x555f76(_0x1dc091._0x7cece8)]['projection']['MAX_LATITUDE']);const _0x21fabd=this['_mars2d_map'][_0x555f76(0x175)]([_0x1b33e2[0x1],_0x1b33e2[0x0]]),_0x2ec0ab=this['_mapOffset'];return[_0x21fabd['x']-_0x2ec0ab[0x0],_0x21fabd['y']-_0x2ec0ab[0x1]];}[_0x3e3f1e(0x194)](_0x342ef4){const _0x4315ce={_0x2c5d0a:0x198},_0x16d0eb=_0x3e3f1e,_0x4851cf=this[_0x16d0eb(_0x4315ce._0x2c5d0a)],_0x55c4d9=this['_mars2d_map']['layerPointToLatLng']([_0x342ef4[0x0]+_0x4851cf[0x0],_0x342ef4[0x1]+_0x4851cf[0x1]]);return[_0x55c4d9['lng'],_0x55c4d9['lat']];}['getViewRect'](){const _0x53ec12={_0x20bf9e:0x19a,_0x204e9e:0x172,_0x116ffb:0x1ad},_0x5550cb=_0x3e3f1e,_0x453491=this[_0x5550cb(_0x53ec12._0x20bf9e)][_0x5550cb(_0x53ec12._0x204e9e)]();return new echarts__namespace[(_0x5550cb(_0x53ec12._0x116ffb))]['BoundingRect'](0x0,0x0,_0x453491['x'],_0x453491['y']);}[_0x3e3f1e(0x17f)](){const _0x46a2a4={_0x4f9e80:0x1c3},_0xaab112=_0x3e3f1e;return echarts__namespace[_0xaab112(_0x46a2a4._0x4f9e80)][_0xaab112(0x1d0)]();}}CompositeCoordinateSystem['dimensions']=['lng','lat'],CompositeCoordinateSystem['create']=function(_0x1873c1,_0x4d9661){const _0x53ebe7={_0x5cc4f2:0x19a},_0x16edfc={_0x42dfb9:0x1b0},_0x568982={_0x42b4ea:0x19e},_0x206fa1=_0x3e3f1e;let _0x255395;const _0x1324a6=_0x1873c1['scheduler'][_0x206fa1(0x19c)][_0x206fa1(_0x53ebe7._0x5cc4f2)];_0x1873c1[_0x206fa1(0x1af)]('mars2dMap',function(_0x512eeb){const _0x5e9b6f=_0x206fa1,_0x4ac469=_0x4d9661['getZr']()[_0x5e9b6f(0x1e2)];if(!_0x4ac469)return;!_0x255395&&(_0x255395=new CompositeCoordinateSystem(_0x1324a6,_0x4d9661)),_0x512eeb[_0x5e9b6f(0x1b0)]=_0x255395,_0x255395[_0x5e9b6f(_0x568982._0x42b4ea)](_0x512eeb[_0x5e9b6f(0x191)]||[0x0,0x0]);}),_0x1873c1[_0x206fa1(0x188)](function(_0x2a0370){const _0x129964=_0x206fa1;_0x2a0370[_0x129964(0x1d5)](_0x129964(0x1b0))==='mars2dMap'&&(!_0x255395&&(_0x255395=new CompositeCoordinateSystem(_0x1324a6)),_0x2a0370[_0x129964(_0x16edfc._0x42dfb9)]=_0x255395);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x3e3f1e(0x1b1)]){echarts__namespace[_0x3e3f1e(0x1e5)]('mars2dMap',CompositeCoordinateSystem);const _0x5a80c1={};_0x5a80c1[_0x3e3f1e(0x1a9)]='mars2dMapRoam',_0x5a80c1[_0x3e3f1e(0x1c4)]=_0x3e3f1e(0x1d2),_0x5a80c1[_0x3e3f1e(0x176)]=_0x3e3f1e(0x1e1),echarts__namespace[_0x3e3f1e(0x174)](_0x5a80c1,function(_0x75c3d5,_0x32791c){});const _0x5b5288={};_0x5b5288[_0x3e3f1e(0x1c5)]=![];const _0x15cc3b={};_0x15cc3b['type']=_0x3e3f1e(0x1c6),_0x15cc3b[_0x3e3f1e(0x1c0)]=function(){return this['_mars2d_map'];},_0x15cc3b[_0x3e3f1e(0x1c1)]=_0x5b5288,echarts__namespace[_0x3e3f1e(0x182)](_0x15cc3b),echarts__namespace[_0x3e3f1e(0x1d1)]({'type':_0x3e3f1e(0x1c6),'init':function(_0x4f3771,_0x58ed63){const _0x27db2f={_0x5fc5db:0x1ce,_0x1cbc90:0x19c,_0x356c45:0x1ab,_0x3d562b:0x1ae,_0x5150ca:0x1e7,_0x207dbf:0x18c,_0x5917ce:0x1d4,_0x3f2323:0x17c,_0x1712fa:0x1b6,_0x34f8d5:0x184,_0xdcc1f:0x1e8,_0x40d149:0x184},_0x48e659=_0x3e3f1e;this['_api']=_0x58ed63,this['_map']=_0x4f3771['scheduler'][_0x48e659(0x19c)]['_mars2d_map'];const _0x1c512e=_0x4f3771[_0x48e659(_0x27db2f._0x5fc5db)][_0x48e659(_0x27db2f._0x1cbc90)][_0x48e659(0x19a)],_0x1c315e=_0x58ed63['getZr']()['painter'][_0x48e659(_0x27db2f._0x356c45)](),_0x2d8efe=_0x1c512e['options']['zoomAnimation']&&L$1[_0x48e659(_0x27db2f._0x3d562b)][_0x48e659(_0x27db2f._0x5150ca)];_0x1c315e['className']='\x20leaflet-layer\x20leaflet-zoom-'+(_0x2d8efe?_0x48e659(_0x27db2f._0x207dbf):_0x48e659(0x1e3))+_0x48e659(0x1bf);const _0x5a9dba=L$1['DomUtil']['testProp'](['transformOrigin',_0x48e659(_0x27db2f._0x5917ce),_0x48e659(0x173)]);_0x1c315e[_0x48e659(_0x27db2f._0x3f2323)][_0x5a9dba]=_0x48e659(_0x27db2f._0x1712fa),this[_0x48e659(0x1df)]=_0x1c315e,this[_0x48e659(0x1a0)]['on'](_0x48e659(0x1b3),this[_0x48e659(_0x27db2f._0x34f8d5)],this),this['_map']['on'](_0x48e659(_0x27db2f._0xdcc1f),this[_0x48e659(_0x27db2f._0x40d149)],this);},'moveHandler'(){const _0x6d3167={_0x436a51:0x1d9,_0x4de4f3:0x1b4,_0xa5de2e:0x1df,_0x26f677:0x17c,_0xe6d8a8:0x1da,_0x3637f9:0x19e,_0x94473f:0x1a9,_0x2e9d18:0x1d2,_0x4e8e2b:0x19b,_0x1a2e5b:0x18f},_0x4954de=_0x3e3f1e,_0x39dc32=this['_map'][_0x4954de(_0x6d3167._0x436a51)]([0x0,0x0]),_0x17907c=[_0x39dc32['x']||0x0,_0x39dc32['y']||0x0];this[_0x4954de(0x1df)]['style'][_0x4954de(_0x6d3167._0x4de4f3)]=_0x17907c[0x0]+'px',this[_0x4954de(_0x6d3167._0xa5de2e)][_0x4954de(_0x6d3167._0x26f677)][_0x4954de(_0x6d3167._0xe6d8a8)]=_0x17907c[0x1]+'px';const _0x360058=this[_0x4954de(0x1b9)];_0x360058['__mapOffset']=_0x17907c;_0x360058!==null&&_0x360058!==void 0x0&&_0x360058['coordinateSystem']&&_0x360058['coordinateSystem'][_0x4954de(_0x6d3167._0x3637f9)](_0x17907c);const _0x50455a={};_0x50455a[_0x4954de(_0x6d3167._0x94473f)]=_0x4954de(_0x6d3167._0x2e9d18),this[_0x4954de(_0x6d3167._0x4e8e2b)][_0x4954de(_0x6d3167._0x1a2e5b)](_0x50455a);},'dispose':function(_0x544976){const _0x596c41={_0x3f9345:0x1a0,_0x322462:0x181},_0x4b6ae8=_0x3e3f1e;this[_0x4b6ae8(_0x596c41._0x3f9345)][_0x4b6ae8(_0x596c41._0x322462)]('moveend',this['moveHandler'],this),this[_0x4b6ae8(_0x596c41._0x3f9345)][_0x4b6ae8(0x181)]('zoomend',this[_0x4b6ae8(0x184)],this);}});}else throw new Error(_0x3e3f1e(0x196));const L=mars2d__namespace['L'];function _0x3a32(_0x4d4065,_0x2a6506){const _0x42602f=_0x4260();return _0x3a32=function(_0x3a3284,_0x33f8d5){_0x3a3284=_0x3a3284-0x172;let _0x538776=_0x42602f[_0x3a3284];if(_0x3a32['upyxrX']===undefined){var _0xc9d7a8=function(_0x515be4){const _0x5a80c1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5b5288='',_0x15cc3b='';for(let _0x28ac3b=0x0,_0x155aac,_0x133dde,_0x4f482f=0x0;_0x133dde=_0x515be4['charAt'](_0x4f482f++);~_0x133dde&&(_0x155aac=_0x28ac3b%0x4?_0x155aac*0x40+_0x133dde:_0x133dde,_0x28ac3b++%0x4)?_0x5b5288+=String['fromCharCode'](0xff&_0x155aac>>(-0x2*_0x28ac3b&0x6)):0x0){_0x133dde=_0x5a80c1['indexOf'](_0x133dde);}for(let _0x4fa447=0x0,_0x509051=_0x5b5288['length'];_0x4fa447<_0x509051;_0x4fa447++){_0x15cc3b+='%'+('00'+_0x5b5288['charCodeAt'](_0x4fa447)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x15cc3b);};_0x3a32['ugzpsH']=_0xc9d7a8,_0x4d4065=arguments,_0x3a32['upyxrX']=!![];}const _0x22bd28=_0x42602f[0x0],_0x48e04e=_0x3a3284+_0x22bd28,_0x571872=_0x4d4065[_0x48e04e];return!_0x571872?(_0x538776=_0x3a32['ugzpsH'](_0x538776),_0x4d4065[_0x48e04e]=_0x538776):_0x538776=_0x571872,_0x538776;},_0x3a32(_0x4d4065,_0x2a6506);}class EchartsLayer extends L[_0x3e3f1e(0x1c9)]{constructor(_0x1b200e={}){const _0x3dafd1={_0x40a6fe:0x1a6,_0x25eda3:0x18a,_0x96f6e9:0x178},_0x31b883=_0x3e3f1e;var _0x11a54d,_0x5663d5;super(_0x1b200e),this['options']=_0x1b200e,L['Util'][_0x31b883(0x193)](this),this[_0x31b883(_0x3dafd1._0x40a6fe)]['id']=(_0x11a54d=this[_0x31b883(_0x3dafd1._0x40a6fe)]['id'])!==null&&_0x11a54d!==void 0x0?_0x11a54d:mars2d__namespace[_0x31b883(_0x3dafd1._0x25eda3)][_0x31b883(_0x3dafd1._0x96f6e9)](),this[_0x31b883(_0x3dafd1._0x40a6fe)][_0x31b883(0x1de)]=(_0x5663d5=this['options'][_0x31b883(0x1de)])!==null&&_0x5663d5!==void 0x0?_0x5663d5:-0x1;}get['isAdded'](){const _0x332c71=_0x3e3f1e;return this['_map']&&this['_map'][_0x332c71(0x1cf)](this);}get[_0x3e3f1e(0x1de)](){const _0x464b6b=_0x3e3f1e;return this[_0x464b6b(0x1a6)]['pid'];}set[_0x3e3f1e(0x1de)](_0x490b05){const _0x554c91={_0x3db7e5:0x1a6},_0x35f5e3=_0x3e3f1e;this[_0x35f5e3(_0x554c91._0x3db7e5)][_0x35f5e3(0x1de)]=_0x490b05;}get['id'](){const _0xc373e4={_0xc8830f:0x1a6},_0x2d5dd4=_0x3e3f1e;return this[_0x2d5dd4(_0xc373e4._0xc8830f)]['id'];}set['id'](_0x2fb6b5){this['options']['id']=_0x2fb6b5;}get['name'](){const _0x155701=_0x3e3f1e;return this['options'][_0x155701(0x1bc)];}set[_0x3e3f1e(0x1bc)](_0x9fd68f){const _0x2f1478={_0x9f54b5:0x1a6,_0x47aaa5:0x1bc},_0xf48c65=_0x3e3f1e;this[_0xf48c65(_0x2f1478._0x9f54b5)][_0xf48c65(_0x2f1478._0x47aaa5)]=_0x9fd68f;}get['layer'](){const _0x6ad3fe={_0x34b522:0x1db},_0x1613e8=_0x3e3f1e;return this[_0x1613e8(_0x6ad3fe._0x34b522)];}get[_0x3e3f1e(0x185)](){return this['_show'];}set['show'](_0x56e140){const _0x1239b1={_0x19d3d4:0x187,_0x327674:0x1dd,_0x166332:0x1a1},_0x1fc965=_0x3e3f1e;this['_show']=_0x56e140,_0x56e140?this[_0x1fc965(0x19f)]['style']['visibility']=_0x1fc965(_0x1239b1._0x19d3d4):this['_echartsContainer']['style'][_0x1fc965(_0x1239b1._0x327674)]=_0x1fc965(_0x1239b1._0x166332);}[_0x3e3f1e(0x1a7)](_0x267a49){const _0x1ffa43={_0x21f140:0x199,_0x11e13f:0x17a,_0x406ef3:0x1db,_0x342639:0x19a,_0x316649:0x17d,_0x159114:0x1ca},_0x1c9d88=_0x3e3f1e;if(!echarts__namespace)throw new Error(_0x1c9d88(_0x1ffa43._0x21f140));this[_0x1c9d88(0x1a0)]=_0x267a49,this[_0x1c9d88(0x19f)]=this[_0x1c9d88(_0x1ffa43._0x11e13f)](),this[_0x1c9d88(0x1db)]=echarts__namespace[_0x1c9d88(0x1b1)](this['_echartsContainer']),this[_0x1c9d88(_0x1ffa43._0x406ef3)][_0x1c9d88(_0x1ffa43._0x342639)]=_0x267a49,this[_0x1c9d88(_0x1ffa43._0x316649)](this[_0x1c9d88(0x1a6)]),this['_map']['on'](_0x1c9d88(_0x1ffa43._0x159114),this['_resizeHandler'],this);}[_0x3e3f1e(0x189)](){const _0x3fa0e5={_0x97b277:0x1db,_0x5bfd45:0x1db,_0x14751d:0x1d6,_0x1d18d5:0x19f,_0x890a11:0x1c2,_0x6f6b7a:0x1cd,_0x48ea18:0x1a0},_0x1ce7ab=_0x3e3f1e;this[_0x1ce7ab(_0x3fa0e5._0x97b277)]&&(this['_echartsInstance'][_0x1ce7ab(0x1bb)](),this[_0x1ce7ab(_0x3fa0e5._0x5bfd45)][_0x1ce7ab(_0x3fa0e5._0x14751d)](),delete this[_0x1ce7ab(0x1db)]),this[_0x1ce7ab(_0x3fa0e5._0x1d18d5)]&&(L[_0x1ce7ab(_0x3fa0e5._0x890a11)][_0x1ce7ab(_0x3fa0e5._0x6f6b7a)](this[_0x1ce7ab(0x19f)]),delete this['_echartsContainer']),this['_map'][_0x1ce7ab(0x181)]('resize',this['_resizeHandler'],this),delete this[_0x1ce7ab(_0x3fa0e5._0x48ea18)];}[_0x3e3f1e(0x1aa)](_0x254b16){const _0x57e9e0=_0x3e3f1e;this['options'][_0x57e9e0(0x1b8)]=_0x254b16,this['_echartsContainer']&&(this['_echartsContainer'][_0x57e9e0(0x17c)]['zIndex']=_0x254b16);}[_0x3e3f1e(0x17a)](){const _0x3f8a4f={_0x195a9:0x1b4,_0x21261a:0x186,_0x40a52b:0x17c,_0x77cc38:0x183,_0xe22af0:0x1cc,_0x52ab0c:0x1d7},_0x62309f=_0x3e3f1e,_0x557121=this['_map']['getSize'](),_0x36104b=document['createElement']('div');_0x36104b['style']['position']='absolute',_0x36104b[_0x62309f(0x17c)][_0x62309f(0x1da)]=_0x62309f(0x186),_0x36104b['style'][_0x62309f(_0x3f8a4f._0x195a9)]=_0x62309f(_0x3f8a4f._0x21261a),_0x36104b['style']['height']=_0x557121['y']+'px',_0x36104b['style']['width']=_0x557121['x']+'px',_0x36104b[_0x62309f(_0x3f8a4f._0x40a52b)][_0x62309f(0x1b8)]=this['options']['zIndex']||0x63;const _0x3f475b=this[_0x62309f(0x1a0)][_0x62309f(0x1c7)](this['options'][_0x62309f(_0x3f8a4f._0x77cc38)]||_0x62309f(_0x3f8a4f._0xe22af0));return _0x3f475b[_0x62309f(_0x3f8a4f._0x52ab0c)](_0x36104b),_0x36104b;}[_0x3e3f1e(0x1b5)](_0x55c05c){const _0x1a280f={_0x202edf:0x180,_0xde91a4:0x1cb,_0x503c3d:0x17c,_0x2f8114:0x1a3,_0xadd34a:0x1db,_0x4a70e7:0x1ca},_0xc1b62b=_0x3e3f1e;if(!this[_0xc1b62b(0x1db)])return;const _0x49a9ae=_0x55c05c[_0xc1b62b(_0x1a280f._0x202edf)];this['_echartsContainer']['style'][_0xc1b62b(_0x1a280f._0xde91a4)]=_0x49a9ae['x']+'px',this['_echartsContainer'][_0xc1b62b(_0x1a280f._0x503c3d)][_0xc1b62b(_0x1a280f._0x2f8114)]=_0x49a9ae['y']+'px',this[_0xc1b62b(_0x1a280f._0xadd34a)][_0xc1b62b(_0x1a280f._0x4a70e7)]();}['setEchartsOption'](_0xce4363,_0x49d6e8,_0x4b8d27){const _0x272bea={_0x3768e0:0x1c5,_0x5c70e8:0x1c6,_0x113c8a:0x1db,_0xced65d:0x190},_0x11a2ae=_0x3e3f1e;if(this[_0x11a2ae(0x1db)]){const _0x2af43d={};_0x2af43d[_0x11a2ae(_0x272bea._0x3768e0)]=!![],_0xce4363['mars2dMap']=_0xce4363[_0x11a2ae(_0x272bea._0x5c70e8)]||_0x2af43d,this[_0x11a2ae(_0x272bea._0x113c8a)][_0x11a2ae(_0x272bea._0xced65d)](_0xce4363,_0x49d6e8,_0x4b8d27);}}['on'](_0x4b3d02,_0x3c873f,_0x5bece7){const _0x24f133=_0x3e3f1e;return this[_0x24f133(0x1db)]['on'](_0x4b3d02,_0x3c873f,_0x5bece7||this),this;}[_0x3e3f1e(0x1ac)](_0x2cd7cf,_0x3bee65,_0xa410fd,_0x4900aa){const _0xc58d30=_0x3e3f1e;return this[_0xc58d30(0x1db)]['on'](_0x2cd7cf,_0x3bee65,_0xa410fd,_0x4900aa||this),this;}['off'](_0x5af371,_0x523809,_0x24ff9f){const _0x18ee52=_0x3e3f1e;return this[_0x18ee52(0x1db)]['off'](_0x5af371,_0x523809,_0x24ff9f||this),this;}}mars2d__namespace['layer']['EchartsLayer']=EchartsLayer,mars2d__namespace['LayerUtil'][_0x3e3f1e(0x1a8)]('echarts',EchartsLayer),exports[_0x3e3f1e(0x1e0)]=EchartsLayer;const _0x133dde={};_0x133dde['value']=!![],Object['defineProperty'](exports,_0x3e3f1e(0x177),_0x133dde);function _0x4260(){const _0x33d08b=['C3r5Bgu','C2v0rwnOyxj0C09WDgLVBG','mwHqt3rjwq','z2v0uM9HBvrYyw5ZzM9YBq','BMv3u2L6zq','B2zM','zxH0zw5Kq29TCg9Uzw50tw9KzwW','CgfUzq','Bw92zuHHBMrSzxi','C2HVDW','mhb4','DMLZAwjSzq','zwfJAfnLCMLLCW','B25szw1VDMu','vxrPBa','x3bYB2PLy3rPB24','yw5PBwf0zwq','zM9YrwfJAa','z2v0vMLLD1jLy3q','zgLZCgf0y2Hby3rPB24','C2v0t3b0Aw9U','x19TyxbpzMzZzxq','Bgf0','C3rHBxa','Cg9PBNruB0rHDge','twvYy2f0B3i','6k+35BYv5ywLigvJAgfYDhmG5BQt','nda5ofngsNfLuW','x21HCe9MzNnLDa','6k+35BYv5ywLigvJAgfYDhmG5BQtia','x21HCNmYzf9Tyxa','x2fWAq','zwnjBNn0yw5Jzq','mZm0oeLJqLLizq','C2v0twfWt2zMC2v0','x2vJAgfYDhndB250ywLUzxi','x21HCa','AgLKzgvU','zgvMyxvSDa','AgvPz2H0','Bg5N','otC5mZeXmfrJCeP6Eq','B3b0Aw9UCW','B25bzgq','CMvNAxn0zxi','DhLWzq','C2v0wKLUzgv4','z2v0vMLLD3bVCNrsB290','B25cEvf1zxj5','z3jHCgHPyW','qNjVD3nLCG','zwfJAenVBxbVBMvUDa','y29VCMrPBMf0zvn5C3rLBq','Aw5PDa','q1jt','Bw92zwvUza','BgvMDa','x3jLC2L6zuHHBMrSzxi','ntaLiduWjq','yMLUza','EKLUzgv4','x19TB2rLBa','mJe0ntGWmfbjAwrnsG','y2XLyxi','BMfTzq','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','nti2mJm4rw5bzKvw','igvJAgfYDhmTBgf5zxi','z2v0qK1HCa','zgvMyxvSDe9WDgLVBG','rg9TvxrPBa','Bwf0CML4','zxzLBNq','CM9HBq','BwfYCZjKtwfW','z2v0ugfUzq','uhjVAMvJDgLVBG','tgf5zxi','CMvZAxPL','D2LKDgG','B3zLCMXHEvbHBMu','CMvTB3zL','C2nOzwr1BgvY','AgfZtgf5zxi','y3jLyxrL','zxH0zw5Kq29TCg9Uzw50vMLLDW','BwfYCZjKtwfWuM9HBq','ngz6rwHIrW','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','z2v0','zgLZCg9Zzq','yxbWzw5Kq2HPBgq','zgf0yvrVug9PBNq','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','Dg9W','x2vJAgfYDhnjBNn0yw5Jzq','nti3muPzvgPOzG','DMLZAwjPBgL0Eq','CgLK','x3zPzxDWB3j0uM9VDa','rwnOyxj0C0XHEwvY','DxbKyxrLtgf5B3v0','CgfPBNrLCG','AgLKzq','zgLTzw5ZAw9UCW','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','mtq0ndaYm21MyvLTuG','yw55m2q','EM9VBwvUza','ywjZ','z2v0u2L6zq','BxnuCMfUC2zVCM1pCMLNAw4','CMvNAxn0zxjby3rPB24','Bgf0tg5Nvg9myxLLCLbVAw50','DxbKyxrL','x19LC01VzhvSzq','y3jLyxrLr3vPza','rvbtrZm4ntC','x2nYzwf0zunOyxj0t3zLCMXHEq','mtm3otaWoe1du01Oua'];_0x4260=function(){return _0x33d08b;};return _0x4260();}
'use strict';const _0x53f05c=_0x1680;(function(_0x2c28d4,_0x2faab5){const _0x108e09={_0x413243:0x1be,_0x10be9a:0x1c8,_0x17d441:0x199,_0x5ca12b:0x1b1,_0x54a6dd:0x1a8,_0x342aed:0x1dc,_0x11046c:0x1eb},_0x210b00=_0x1680,_0x7ff88a=_0x2c28d4();while(!![]){try{const _0x12d5e1=-parseInt(_0x210b00(0x1a7))/0x1*(-parseInt(_0x210b00(_0x108e09._0x413243))/0x2)+parseInt(_0x210b00(0x18c))/0x3*(-parseInt(_0x210b00(0x18b))/0x4)+-parseInt(_0x210b00(_0x108e09._0x10be9a))/0x5*(-parseInt(_0x210b00(_0x108e09._0x17d441))/0x6)+parseInt(_0x210b00(_0x108e09._0x5ca12b))/0x7+-parseInt(_0x210b00(_0x108e09._0x54a6dd))/0x8*(-parseInt(_0x210b00(_0x108e09._0x342aed))/0x9)+parseInt(_0x210b00(0x1bc))/0xa*(-parseInt(_0x210b00(0x198))/0xb)+-parseInt(_0x210b00(_0x108e09._0x11046c))/0xc*(parseInt(_0x210b00(0x1de))/0xd);if(_0x12d5e1===_0x2faab5)break;else _0x7ff88a['push'](_0x7ff88a['shift']());}catch(_0x2662e8){_0x7ff88a['push'](_0x7ff88a['shift']());}}}(_0x3bfb,0x735fe));function _interopNamespace(_0x3b4222){const _0x398c3d={_0x1565c2:0x1a0},_0x53c4d1=_0x1680;if(_0x3b4222&&_0x3b4222[_0x53c4d1(0x1d0)])return _0x3b4222;var _0x599ed6=Object['create'](null);return _0x3b4222&&Object['keys'](_0x3b4222)['forEach'](function(_0x1d8c6b){const _0x36600b=_0x53c4d1;if(_0x1d8c6b!=='default'){var _0x55c2ca=Object['getOwnPropertyDescriptor'](_0x3b4222,_0x1d8c6b);Object[_0x36600b(0x1ce)](_0x599ed6,_0x1d8c6b,_0x55c2ca['get']?_0x55c2ca:{'enumerable':!![],'get':function(){return _0x3b4222[_0x1d8c6b];}});}}),_0x599ed6[_0x53c4d1(_0x398c3d._0x1565c2)]=_0x3b4222,_0x599ed6;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);function _0x3bfb(){const _0x1f65bb=['tgf5zxjvDgLS','z2v0qK1HCa','Cg9PBNruB0rHDge','yMLUza','z2v0vMLLD1jLy3q','CM9HBq','ntjVEKjgAvm','mtmWodGXBeTOEgXi','ntaLiduWjq','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','C2nOzwr1BgvY','C2HVDW','Dg9W','EM9VBwvUza','DxbKyxrLtgf5B3v0','z2v0u2L6zq','DhLWzq','qM91BMrPBMDszwn0','x2vJAgfYDhnjBNn0yw5Jzq','mJjkA0XiC00','mZeWntzmquvvCgq','CMvTB3zL','rwnOyxj0C0XHEwvY','x21HCa','DMLZAwjPBgL0Eq','x3nOB3C','rg9TvxrPBa','zgvMyxvSDa','Bgf0tg5Nvg9myxLLCLbVAw50','DxbKyxrL','twvYy2f0B3i','Bgf5zxjqB2LUDfrVtgf0tg5N','Bw92zwvUza','B2zM','mZyWotG5CvLzvvHN','nJrJvgPbrMS','vxrPBa','mhb4','y3jLyxrLrwXLBwvUDa','zgvMyxvSDe9WDgLVBG','ywjZB2X1Dgu','CgfPBNrLCG','ChjLCgfYzun1C3rVBxm','z2v0uM9HBvrYyw5ZzM9YBq','mtG5nJmZnvb0zvrguq','BMfTzq','AgLKzq','x3jLC2L6zuHHBMrSzxi','Bwf0CML4','CMvZAxPL','Bg5N','BwfYCZjKtwfWuM9HBq','AgvPz2H0','x2fWAq','AxnbzgrLza','mJaWntqYmfr5rKjIrW','Bgf5zxi','nhb0AeTfva','y29VCMrPBMf0zvn5C3rLBq','Bw92zuHHBMrSzxi','CgLK','DgvZDfbYB3a','z2v0','qNjVD3nLCG','C2v0twfWt2zMC2v0','yw5PBwf0zwq','x19TB2rLBa','nta1zu5StvzZ','Cg9ZAxrPB24','x21HCNmYzf9Tyxa','B3b0Aw9UCW','BgvMDa','BwfYCZjKtwfW','zgvMAw5LuhjVCgvYDhK','zwnjBNn0yw5Jzq','x19LC01VzhvSzq','EKLUzgv4','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','Aw5PDa','tgf5zxi','x21HCe9MzNnLDa','x19TyxbpzMzZzxq','ChjVAMvJDgLVBG','zgLZCg9Zzq','zxzLBNq','C3r5Bgu','x2vJAgfYDhndB250ywLUzxi','mJCZoda3sMX6B1j5','z2v0vMLLD3bVCNrsB290','mJzetMPutgS','D2LKDgG','zwfJAfnLCMLLCW','B25bzgq','zxH0zw5Kq29TCg9Uzw50vMLLDW','B25cEvf1zxj5','y3jLyxrL','CMvNAxn0zxi','z2v0wNi','ywjZ','DhjHBNnMB3jTt3jPz2LU','B3zLCMXHEvbHBMu','uhjVAMvJDgLVBG','mtKWotqWngLksKXNzG','B25szw1VDMu'];_0x3bfb=function(){return _0x1f65bb;};return _0x3bfb();}const L$1=mars2d__namespace['L'];class CompositeCoordinateSystem{constructor(_0x34fadc,_0x38bca2){const _0x40edf5={_0x4c39bc:0x1b7,_0x3c6645:0x1ba,_0x3ceded:0x1ea},_0x3fc307=_0x1680;this[_0x3fc307(0x1ca)]=_0x34fadc,this['dimensions']=[_0x3fc307(_0x40edf5._0x4c39bc),'lat'],this[_0x3fc307(0x1d5)]=[0x0,0x0],this[_0x3fc307(_0x40edf5._0x3c6645)]=_0x38bca2,this['_projection']=L$1[_0x3fc307(_0x40edf5._0x3ceded)][_0x3fc307(0x1a3)];}['setMapOffset'](_0x3cc509){const _0x3c07f7={_0x5cbe0b:0x1d5},_0x356674=_0x1680;this[_0x356674(_0x3c07f7._0x5cbe0b)]=_0x3cc509;}[_0x53f05c(0x1ee)](){const _0x1c76ad={_0xd7cb39:0x1ca},_0x5c841b=_0x53f05c;return this[_0x5c841b(_0x1c76ad._0xd7cb39)];}[_0x53f05c(0x1af)](){const _0x1ee10e={_0x59d9ca:0x1cd,_0x59bcf9:0x1b9},_0x3e7b9b=_0x53f05c,_0xc8b46=echarts__namespace['util'],_0x33d204=this['getViewRect'](),_0x239f93={};_0x239f93['type']=_0x3e7b9b(_0x1ee10e._0x59d9ca),_0x239f93['x']=_0x33d204['x'],_0x239f93['y']=_0x33d204['y'],_0x239f93[_0x3e7b9b(0x1df)]=_0x33d204[_0x3e7b9b(0x1df)],_0x239f93[_0x3e7b9b(_0x1ee10e._0x59bcf9)]=_0x33d204[_0x3e7b9b(0x1b9)];return{'coordSys':_0x239f93,'api':{'coord':_0xc8b46[_0x3e7b9b(0x1f0)](this['dataToPoint'],this),'size':_0xc8b46['bind'](_0x4e57a0,this)}};function _0x4e57a0(_0x4c0d39,_0x1419f9){const _0x2b2528={_0x4124d0:0x1e7};return _0x1419f9=_0x1419f9||[0x0,0x0],_0xc8b46['map']([0x0,0x1],function(_0x13cc89){const _0x251f35=_0x1680,_0x31bf7b=_0x1419f9[_0x13cc89],_0x4dc319=_0x4c0d39[_0x13cc89]/0x2,_0x4a587c=[],_0x4e0ef2=[];return _0x4a587c[_0x13cc89]=_0x31bf7b-_0x4dc319,_0x4e0ef2[_0x13cc89]=_0x31bf7b+_0x4dc319,_0x4a587c[0x1-_0x13cc89]=_0x4e0ef2[0x1-_0x13cc89]=_0x1419f9[0x1-_0x13cc89],Math[_0x251f35(_0x2b2528._0x4124d0)](this['dataToPoint'](_0x4a587c)[_0x13cc89]-this['dataToPoint'](_0x4e0ef2)[_0x13cc89]);},this);}}['dataToPoint'](_0x3dfd11){const _0x166432={_0x56268c:0x1d7},_0x4d0263=_0x53f05c;_0x3dfd11[0x1]===null&&(_0x3dfd11[0x1]=L$1['CRS']['EPSG3857'][_0x4d0263(_0x166432._0x56268c)]['MAX_LATITUDE']);const _0xa593f5=this[_0x4d0263(0x1ca)][_0x4d0263(0x1a1)]([_0x3dfd11[0x1],_0x3dfd11[0x0]]),_0x48b603=this['_mapOffset'];return[_0xa593f5['x']-_0x48b603[0x0],_0xa593f5['y']-_0x48b603[0x1]];}[_0x53f05c(0x1ef)](_0x4da3fc){const _0x246389={_0x1896f9:0x1ca,_0x4b25c2:0x1a4},_0x113628=_0x53f05c,_0x599d9a=this[_0x113628(0x1d5)],_0x967720=this[_0x113628(_0x246389._0x1896f9)][_0x113628(_0x246389._0x4b25c2)]([_0x4da3fc[0x0]+_0x599d9a[0x0],_0x4da3fc[0x1]+_0x599d9a[0x1]]);return[_0x967720['lng'],_0x967720['lat']];}[_0x53f05c(0x189)](){const _0x28f1e0={_0x23b6af:0x194,_0x13c542:0x196},_0x20483b=_0x53f05c,_0x461339=this['_mars2d_map'][_0x20483b(_0x28f1e0._0x23b6af)]();return new echarts__namespace['graphic'][(_0x20483b(_0x28f1e0._0x13c542))](0x0,0x0,_0x461339['x'],_0x461339['y']);}[_0x53f05c(0x1b0)](){const _0x282609=_0x53f05c;return echarts__namespace[_0x282609(0x1b5)][_0x282609(0x1e4)]();}}CompositeCoordinateSystem['dimensions']=['lng','lat'],CompositeCoordinateSystem['create']=function(_0x2475ee,_0x482fcf){const _0x537f24={_0x50b7b0:0x18f,_0x5e4f38:0x1ca,_0xffba39:0x1cd},_0x3ec769={_0x390174:0x1c3},_0x5d6bcb={_0x4a0e49:0x1ae},_0x55c5c7=_0x53f05c;let _0x2b3fe8;const _0x2e316a=_0x2475ee[_0x55c5c7(_0x537f24._0x50b7b0)]['ecInstance'][_0x55c5c7(_0x537f24._0x5e4f38)];_0x2475ee['eachComponent'](_0x55c5c7(_0x537f24._0xffba39),function(_0x1b1190){const _0x542e6b=_0x55c5c7,_0x2b446b=_0x482fcf[_0x542e6b(0x1e6)]()[_0x542e6b(_0x5d6bcb._0x4a0e49)];if(!_0x2b446b)return;!_0x2b3fe8&&(_0x2b3fe8=new CompositeCoordinateSystem(_0x2e316a,_0x482fcf)),_0x1b1190['coordinateSystem']=_0x2b3fe8,_0x2b3fe8['setMapOffset'](_0x1b1190['__mapOffset']||[0x0,0x0]);}),_0x2475ee[_0x55c5c7(0x1e0)](function(_0x4706f1){const _0x5630dd=_0x55c5c7;_0x4706f1[_0x5630dd(_0x3ec769._0x390174)](_0x5630dd(0x1bf))===_0x5630dd(0x1cd)&&(!_0x2b3fe8&&(_0x2b3fe8=new CompositeCoordinateSystem(_0x2e316a)),_0x4706f1[_0x5630dd(0x1bf)]=_0x2b3fe8);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x53f05c(0x1d3)]){echarts__namespace[_0x53f05c(0x18e)](_0x53f05c(0x1cd),CompositeCoordinateSystem);const _0xc9d2c1={};_0xc9d2c1[_0x53f05c(0x195)]=_0x53f05c(0x1b8),_0xc9d2c1[_0x53f05c(0x1d9)]='mars2dMapRoam',_0xc9d2c1[_0x53f05c(0x1a2)]=_0x53f05c(0x193),echarts__namespace['registerAction'](_0xc9d2c1,function(_0x4bc61e,_0xbc1be7){});const _0x4ce042={};_0x4ce042[_0x53f05c(0x18a)]=![];const _0xa00bd4={};_0xa00bd4[_0x53f05c(0x195)]='mars2dMap',_0xa00bd4['getBMap']=function(){const _0x1f5c53={_0x284180:0x1ca},_0x1ccc09=_0x53f05c;return this[_0x1ccc09(_0x1f5c53._0x284180)];},_0xa00bd4[_0x53f05c(0x1ac)]=_0x4ce042,echarts__namespace['extendComponentModel'](_0xa00bd4),echarts__namespace[_0x53f05c(0x1e2)]({'type':_0x53f05c(0x1cd),'init':function(_0x6ac74,_0x2ade6d){const _0x2eebde={_0x24ddf1:0x1ba,_0x243a9e:0x1cf,_0x517c6e:0x1ca,_0x5bb170:0x1e6,_0x5f5438:0x1dd,_0x12fc84:0x1c4,_0x9e6323:0x1b3,_0x375a22:0x19f,_0x405dfb:0x1c2,_0x4c42de:0x1d2,_0x29b663:0x1da,_0xbbfc1f:0x19c},_0x2fb933=_0x53f05c;this[_0x2fb933(_0x2eebde._0x24ddf1)]=_0x2ade6d,this['_map']=_0x6ac74[_0x2fb933(0x18f)][_0x2fb933(_0x2eebde._0x243a9e)][_0x2fb933(0x1ca)];const _0xeaf4b7=_0x6ac74['scheduler'][_0x2fb933(0x1cf)][_0x2fb933(_0x2eebde._0x517c6e)],_0x298ee4=_0x2ade6d[_0x2fb933(_0x2eebde._0x5bb170)]()['painter'][_0x2fb933(_0x2eebde._0x5f5438)](),_0x44573a=_0xeaf4b7['options']['zoomAnimation']&&L$1[_0x2fb933(_0x2eebde._0x12fc84)]['any3d'];_0x298ee4['className']='\x20leaflet-layer\x20leaflet-zoom-'+(_0x44573a?_0x2fb933(0x1c6):_0x2fb933(_0x2eebde._0x9e6323))+'\x20echarts-layer';const _0x4a6f1f=L$1[_0x2fb933(_0x2eebde._0x375a22)][_0x2fb933(_0x2eebde._0x405dfb)]([_0x2fb933(0x1e8),_0x2fb933(_0x2eebde._0x4c42de),'msTransformOrigin']);_0x298ee4[_0x2fb933(_0x2eebde._0x29b663)][_0x4a6f1f]=_0x2fb933(0x18d),this['_viewportRoot']=_0x298ee4,this['_map']['on'](_0x2fb933(0x1a5),this['moveHandler'],this),this[_0x2fb933(_0x2eebde._0xbbfc1f)]['on'](_0x2fb933(0x192),this['moveHandler'],this);},'moveHandler'(){const _0x1656db={_0x274a31:0x1da,_0x312906:0x191,_0x397510:0x1c7,_0x316138:0x1d6,_0x4dda05:0x1bf,_0x43bed7:0x1c5},_0x15a9b1=_0x53f05c,_0x3a4d3d=this['_map']['containerPointToLayerPoint']([0x0,0x0]),_0x49f251=[_0x3a4d3d['x']||0x0,_0x3a4d3d['y']||0x0];this['_viewportRoot'][_0x15a9b1(_0x1656db._0x274a31)]['left']=_0x49f251[0x0]+'px',this['_viewportRoot'][_0x15a9b1(0x1da)][_0x15a9b1(_0x1656db._0x312906)]=_0x49f251[0x1]+'px';const _0x548295=this[_0x15a9b1(_0x1656db._0x397510)];_0x548295[_0x15a9b1(_0x1656db._0x316138)]=_0x49f251;_0x548295!==null&&_0x548295!==void 0x0&&_0x548295[_0x15a9b1(0x1bf)]&&_0x548295[_0x15a9b1(_0x1656db._0x4dda05)][_0x15a9b1(_0x1656db._0x43bed7)](_0x49f251);const _0x409c20={};_0x409c20[_0x15a9b1(0x195)]=_0x15a9b1(0x1b8),this['_api']['dispatchAction'](_0x409c20);},'dispose':function(_0x1c54b9){const _0x2d0d35={_0x2f3cc6:0x1c0,_0x51cf34:0x192},_0x5133ee=_0x53f05c;this['_map']['off']('moveend',this[_0x5133ee(_0x2d0d35._0x2f3cc6)],this),this['_map'][_0x5133ee(0x1a6)](_0x5133ee(_0x2d0d35._0x51cf34),this['moveHandler'],this);}});}else throw new Error('请引入\x20echarts\x20库');const L=mars2d__namespace['L'];class EchartsLayer extends L[_0x53f05c(0x1d4)]{constructor(_0x43fbaf={}){const _0x32affb={_0x47bed6:0x1cb,_0x41816a:0x1c1},_0x1ba40b=_0x53f05c;var _0x5715d0,_0x2a02c5;super(_0x43fbaf),this['options']=_0x43fbaf,L['Util']['stamp'](this),this[_0x1ba40b(0x1cb)]['id']=(_0x5715d0=this[_0x1ba40b(_0x32affb._0x47bed6)]['id'])!==null&&_0x5715d0!==void 0x0?_0x5715d0:mars2d__namespace[_0x1ba40b(0x1a9)]['createGuid'](),this[_0x1ba40b(_0x32affb._0x47bed6)]['pid']=(_0x2a02c5=this[_0x1ba40b(_0x32affb._0x47bed6)][_0x1ba40b(_0x32affb._0x41816a)])!==null&&_0x2a02c5!==void 0x0?_0x2a02c5:-0x1;}get[_0x53f05c(0x1bb)](){const _0x1378ba=_0x53f05c;return this[_0x1378ba(0x19c)]&&this['_map']['hasLayer'](this);}get['pid'](){const _0x498577={_0x5bb31d:0x1c1},_0x20f95c=_0x53f05c;return this[_0x20f95c(0x1cb)][_0x20f95c(_0x498577._0x5bb31d)];}set['pid'](_0x7b0295){const _0x2b56d6={_0x506ef0:0x1cb},_0x133ae1=_0x53f05c;this[_0x133ae1(_0x2b56d6._0x506ef0)][_0x133ae1(0x1c1)]=_0x7b0295;}get['id'](){const _0x2c8309={_0x1cf273:0x1cb},_0x4324b9=_0x53f05c;return this[_0x4324b9(_0x2c8309._0x1cf273)]['id'];}set['id'](_0x576b09){const _0x11e1f3={_0x18b78c:0x1cb},_0x48b988=_0x53f05c;this[_0x48b988(_0x11e1f3._0x18b78c)]['id']=_0x576b09;}get['name'](){const _0xc3c4e5={_0x4db1c6:0x1b2},_0x3851b2=_0x53f05c;return this['options'][_0x3851b2(_0xc3c4e5._0x4db1c6)];}set[_0x53f05c(0x1b2)](_0x344e6e){const _0x16f3a8={_0x54f232:0x1b2},_0x3a77d8=_0x53f05c;this[_0x3a77d8(0x1cb)][_0x3a77d8(_0x16f3a8._0x54f232)]=_0x344e6e;}get['layer'](){return this['_echartsInstance'];}get[_0x53f05c(0x190)](){return this['_show'];}set[_0x53f05c(0x190)](_0x41b0d6){const _0x23018d={_0x537289:0x19e,_0x567725:0x19d},_0x549078=_0x53f05c;this[_0x549078(_0x23018d._0x537289)]=_0x41b0d6,_0x41b0d6?this['_echartsContainer'][_0x549078(0x1da)]['visibility']='visible':this[_0x549078(0x1db)]['style'][_0x549078(_0x23018d._0x567725)]='hidden';}[_0x53f05c(0x1e1)](_0x9bcfba){const _0x3b3176={_0x353b5e:0x1db,_0x3526af:0x1cb,_0x416953:0x19c,_0x50ac38:0x1b4},_0x382e34=_0x53f05c;if(!echarts__namespace)throw new Error('请引入\x20echarts\x20库\x20');this['_map']=_0x9bcfba,this[_0x382e34(_0x3b3176._0x353b5e)]=this['_createChartOverlay'](),this['_echartsInstance']=echarts__namespace['init'](this[_0x382e34(_0x3b3176._0x353b5e)]),this[_0x382e34(0x197)]['_mars2d_map']=_0x9bcfba,this['setEchartsOption'](this[_0x382e34(_0x3b3176._0x3526af)]),this[_0x382e34(_0x3b3176._0x416953)]['on']('resize',this[_0x382e34(_0x3b3176._0x50ac38)],this);}[_0x53f05c(0x1ec)](){const _0x59e7b5={_0x380124:0x197,_0x86b7fb:0x1db,_0x5d9e6c:0x19a,_0x2bb0df:0x19c,_0x30e1a9:0x1a6,_0x3fde71:0x1b4},_0x5ae06e=_0x53f05c;this['_echartsInstance']&&(this['_echartsInstance']['clear'](),this[_0x5ae06e(_0x59e7b5._0x380124)][_0x5ae06e(0x1d8)](),delete this[_0x5ae06e(_0x59e7b5._0x380124)]),this[_0x5ae06e(_0x59e7b5._0x86b7fb)]&&(L['DomUtil'][_0x5ae06e(_0x59e7b5._0x5d9e6c)](this['_echartsContainer']),delete this[_0x5ae06e(0x1db)]),this[_0x5ae06e(_0x59e7b5._0x2bb0df)][_0x5ae06e(_0x59e7b5._0x30e1a9)]('resize',this[_0x5ae06e(_0x59e7b5._0x3fde71)],this),delete this[_0x5ae06e(0x19c)];}['setZIndex'](_0x1efae8){const _0x1f9fbe={_0x159e23:0x1cb,_0x57012c:0x1db},_0x12e7a2=_0x53f05c;this[_0x12e7a2(_0x1f9fbe._0x159e23)][_0x12e7a2(0x1d1)]=_0x1efae8,this[_0x12e7a2(_0x1f9fbe._0x57012c)]&&(this[_0x12e7a2(_0x1f9fbe._0x57012c)]['style'][_0x12e7a2(0x1d1)]=_0x1efae8);}['_createChartOverlay'](){const _0x30d7c3={_0x993130:0x1da,_0x3f06a1:0x1d1,_0xd19a53:0x1e9},_0x125981=_0x53f05c,_0x48265d=this['_map'][_0x125981(0x194)](),_0x30daee=document[_0x125981(0x1ab)]('div');_0x30daee['style'][_0x125981(0x1c9)]=_0x125981(0x1ad),_0x30daee[_0x125981(0x1da)]['top']=_0x125981(0x1aa),_0x30daee['style'][_0x125981(0x1cc)]='0px',_0x30daee[_0x125981(_0x30d7c3._0x993130)]['height']=_0x48265d['y']+'px',_0x30daee[_0x125981(0x1da)]['width']=_0x48265d['x']+'px',_0x30daee[_0x125981(_0x30d7c3._0x993130)]['zIndex']=this['options'][_0x125981(_0x30d7c3._0x3f06a1)]||0x63;const _0x4cd170=this['_map']['getPane'](this[_0x125981(0x1cb)]['pane']||_0x125981(_0x30d7c3._0xd19a53));return _0x4cd170['appendChild'](_0x30daee),_0x30daee;}['_resizeHandler'](_0x61871){const _0xc519ee={_0x10fb57:0x1da,_0x3db827:0x1db,_0x4e1a56:0x1b9},_0x33ccce=_0x53f05c;if(!this['_echartsInstance'])return;const _0x22ce7d=_0x61871['newSize'];this['_echartsContainer'][_0x33ccce(_0xc519ee._0x10fb57)]['width']=_0x22ce7d['x']+'px',this[_0x33ccce(_0xc519ee._0x3db827)]['style'][_0x33ccce(_0xc519ee._0x4e1a56)]=_0x22ce7d['y']+'px',this[_0x33ccce(0x197)][_0x33ccce(0x1b6)]();}['setEchartsOption'](_0x30382c,_0x43018c,_0x3b500e){const _0x95d946={_0x31751d:0x18a},_0x385bbb=_0x53f05c;if(this['_echartsInstance']){const _0x3df031={};_0x3df031[_0x385bbb(_0x95d946._0x31751d)]=!![],_0x30382c['mars2dMap']=_0x30382c['mars2dMap']||_0x3df031,this['_echartsInstance']['setOption'](_0x30382c,_0x43018c,_0x3b500e);}}['on'](_0xed52f7,_0x56e8a9,_0x24150f){return this['_echartsInstance']['on'](_0xed52f7,_0x56e8a9,_0x24150f||this),this;}[_0x53f05c(0x1e3)](_0x3ae2e3,_0x569ab8,_0x383c18,_0x53ff2b){return this['_echartsInstance']['on'](_0x3ae2e3,_0x569ab8,_0x383c18,_0x53ff2b||this),this;}['off'](_0x4f3981,_0x34fd74,_0x43f6ae){const _0x5b63e5=_0x53f05c;return this['_echartsInstance'][_0x5b63e5(0x1a6)](_0x4f3981,_0x34fd74,_0x43f6ae||this),this;}}mars2d__namespace[_0x53f05c(0x1bd)]['EchartsLayer']=EchartsLayer,mars2d__namespace[_0x53f05c(0x1ed)][_0x53f05c(0x1e5)]('echarts',EchartsLayer),exports[_0x53f05c(0x19b)]=EchartsLayer;const _0x3e69eb={};function _0x1680(_0x36897b,_0x2fdeec){const _0x3bfb9d=_0x3bfb();return _0x1680=function(_0x16800a,_0x5ba167){_0x16800a=_0x16800a-0x189;let _0x471039=_0x3bfb9d[_0x16800a];if(_0x1680['ZyayBj']===undefined){var _0x1c2bc0=function(_0x14fa56){const _0xc9d2c1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4ce042='',_0xa00bd4='';for(let _0x38abf3=0x0,_0x16350a,_0x3e69eb,_0x3b4222=0x0;_0x3e69eb=_0x14fa56['charAt'](_0x3b4222++);~_0x3e69eb&&(_0x16350a=_0x38abf3%0x4?_0x16350a*0x40+_0x3e69eb:_0x3e69eb,_0x38abf3++%0x4)?_0x4ce042+=String['fromCharCode'](0xff&_0x16350a>>(-0x2*_0x38abf3&0x6)):0x0){_0x3e69eb=_0xc9d2c1['indexOf'](_0x3e69eb);}for(let _0x599ed6=0x0,_0x1d8c6b=_0x4ce042['length'];_0x599ed6<_0x1d8c6b;_0x599ed6++){_0xa00bd4+='%'+('00'+_0x4ce042['charCodeAt'](_0x599ed6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa00bd4);};_0x1680['jrycqz']=_0x1c2bc0,_0x36897b=arguments,_0x1680['ZyayBj']=!![];}const _0x5eb8a7=_0x3bfb9d[0x0],_0x2835d4=_0x16800a+_0x5eb8a7,_0x4ebdb0=_0x36897b[_0x2835d4];return!_0x4ebdb0?(_0x471039=_0x1680['jrycqz'](_0x471039),_0x36897b[_0x2835d4]=_0x471039):_0x471039=_0x4ebdb0,_0x471039;},_0x1680(_0x36897b,_0x2fdeec);}_0x3e69eb['value']=!![],Object['defineProperty'](exports,'__esModule',_0x3e69eb);
}));
{
"name": "mars2d-echarts",
"version": "3.2.6",
"version": "3.2.7",
"description": "Mars2D平台插件,结合echarts可视化功能插件",

@@ -13,3 +13,3 @@ "main": "dist/mars2d-echarts.js",

"devDependencies": {
"mars2d": "~3.2.6"
"mars2d": "~3.2.7"
},

@@ -16,0 +16,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc