mars2d-echarts 3.2.3 → 3.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Mars2D平台插件,结合echarts可视化功能插件 mars2d-echarts
3
3
  *
4
- * 版本信息:v3.2.3
5
- * 编译日期:2024-04-12 11:25:40
4
+ * 版本信息:v3.2.4
5
+ * 编译日期:2024-04-21 19:50:15
6
6
  * 版权所有:Copyright by 火星科技 http://mars2d.cn
7
7
  * 使用单位:免费公开版 ,2024-01-16
8
8
  */
@@ -11,5 +11,5 @@
11
11
  typeof define === 'function' && define.amd ? define(['exports', 'mars2d', 'echarts'], factory) :
12
12
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars2d-echarts"] = {}, global.mars2d, global.echarts));
13
13
  })(this, (function (exports, mars2d, echarts) {
14
- 'use strict';const _0x52a204=_0xd0eb;function _0xd0eb(_0x239a7e,_0x16e01b){const _0x59d2aa=_0x9948();return _0xd0eb=function(_0x3da4a4,_0xe34a3e){_0x3da4a4=_0x3da4a4-0x183;let _0x9948f6=_0x59d2aa[_0x3da4a4];if(_0xd0eb['kpLdob']===undefined){var _0xd0eb83=function(_0x296b5c){const _0x4a431a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2bf21b='',_0x3a4bb7='',_0x55cc2f=_0x2bf21b+_0xd0eb83;for(let _0x11b98d=0x0,_0x3eb645,_0x2d615c,_0x43abff=0x0;_0x2d615c=_0x296b5c['charAt'](_0x43abff++);~_0x2d615c&&(_0x3eb645=_0x11b98d%0x4?_0x3eb645*0x40+_0x2d615c:_0x2d615c,_0x11b98d++%0x4)?_0x2bf21b+=_0x55cc2f['charCodeAt'](_0x43abff+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x3eb645>>(-0x2*_0x11b98d&0x6)):_0x11b98d:0x0){_0x2d615c=_0x4a431a['indexOf'](_0x2d615c);}for(let _0xdd98cf=0x0,_0xb75148=_0x2bf21b['length'];_0xdd98cf<_0xb75148;_0xdd98cf++){_0x3a4bb7+='%'+('00'+_0x2bf21b['charCodeAt'](_0xdd98cf)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3a4bb7);};_0xd0eb['pTDXJC']=_0xd0eb83,_0x239a7e=arguments,_0xd0eb['kpLdob']=!![];}const _0x3354f3=_0x59d2aa[0x0],_0x5e5bc0=_0x3da4a4+_0x3354f3,_0x37157f=_0x239a7e[_0x5e5bc0];if(!_0x37157f){const _0x576115=function(_0x22e950){this['HOYYtk']=_0x22e950,this['FFojVm']=[0x1,0x0,0x0],this['vBZEco']=function(){return'newState';},this['nJsFBp']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['lJUoHx']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x576115['prototype']['SoshnQ']=function(){const _0x55cd92=new RegExp(this['nJsFBp']+this['lJUoHx']),_0x220a3c=_0x55cd92['test'](this['vBZEco']['toString']())?--this['FFojVm'][0x1]:--this['FFojVm'][0x0];return this['tzCTIK'](_0x220a3c);},_0x576115['prototype']['tzCTIK']=function(_0x5507ce){if(!Boolean(~_0x5507ce))return _0x5507ce;return this['wNMSaj'](this['HOYYtk']);},_0x576115['prototype']['wNMSaj']=function(_0x184b46){for(let _0x8e6a1c=0x0,_0x339eb2=this['FFojVm']['length'];_0x8e6a1c<_0x339eb2;_0x8e6a1c++){this['FFojVm']['push'](Math['round'](Math['random']())),_0x339eb2=this['FFojVm']['length'];}return _0x184b46(this['FFojVm'][0x0]);},new _0x576115(_0xd0eb)['SoshnQ'](),_0x9948f6=_0xd0eb['pTDXJC'](_0x9948f6),_0x239a7e[_0x5e5bc0]=_0x9948f6;}else _0x9948f6=_0x37157f;return _0x9948f6;},_0xd0eb(_0x239a7e,_0x16e01b);}(function(_0x4ad4e3,_0x3ec5d3){const _0x54085a={_0x345f28:0x183,_0x5a4534:0x184,_0x2ad5aa:0x1b8,_0x1e3e1b:0x1f0,_0x12157e:0x186,_0x44afe7:0x1ab},_0x306266=_0xd0eb,_0x907bca=_0x4ad4e3();while(!![]){try{const _0x3008fc=-parseInt(_0x306266(_0x54085a._0x345f28))/0x1*(-parseInt(_0x306266(0x19b))/0x2)+-parseInt(_0x306266(0x1e8))/0x3+-parseInt(_0x306266(0x187))/0x4+parseInt(_0x306266(_0x54085a._0x5a4534))/0x5+parseInt(_0x306266(_0x54085a._0x2ad5aa))/0x6*(parseInt(_0x306266(_0x54085a._0x1e3e1b))/0x7)+-parseInt(_0x306266(_0x54085a._0x12157e))/0x8+parseInt(_0x306266(_0x54085a._0x44afe7))/0x9;if(_0x3008fc===_0x3ec5d3)break;else _0x907bca['push'](_0x907bca['shift']());}catch(_0x760319){_0x907bca['push'](_0x907bca['shift']());}}}(_0x9948,0xa2dac));function _interopNamespace(_0xb75148){const _0x17db39={_0x39efc0:0x1ac,_0x18dd21:0x1c3},_0x3ac958={_0x3c1c76:0x1c0,_0xf801b7:0x1ef},_0x533758={_0x5b7e01:0x1a0,_0x4ef11a:0x1ea,_0x135a3b:0x1a0,_0x3ac2ab:0x1cb,_0x2bc680:0x1ea},_0x3b35b0=_0xd0eb,_0x576115=(function(){let _0x220a3c=!![];return function(_0x5507ce,_0x184b46){const _0x52a29e={_0x1c701e:0x198},_0x8e6a1c=_0x220a3c?function(){const _0x3ad0af=_0xd0eb;if(_0x184b46){const _0x339eb2=_0x184b46[_0x3ad0af(_0x52a29e._0x1c701e)](_0x5507ce,arguments);return _0x184b46=null,_0x339eb2;}}:function(){};return _0x220a3c=![],_0x8e6a1c;};}()),_0x22e950=_0x576115(this,function(){const _0x18d6cf=_0xd0eb;return _0x22e950[_0x18d6cf(_0x533758._0x5b7e01)]()['search'](_0x18d6cf(_0x533758._0x4ef11a))[_0x18d6cf(_0x533758._0x135a3b)]()[_0x18d6cf(_0x533758._0x3ac2ab)](_0x22e950)['search'](_0x18d6cf(_0x533758._0x2bc680));});_0x22e950();if(_0xb75148&&_0xb75148[_0x3b35b0(_0x17db39._0x39efc0)])return _0xb75148;var _0x55cd92=Object['create'](null);return _0xb75148&&Object['keys'](_0xb75148)['forEach'](function(_0x1c7cb9){const _0x599c1d=_0x3b35b0;if(_0x1c7cb9!==_0x599c1d(0x1c3)){var _0x2d16d8=Object[_0x599c1d(0x1d8)](_0xb75148,_0x1c7cb9);Object[_0x599c1d(_0x3ac958._0x3c1c76)](_0x55cd92,_0x1c7cb9,_0x2d16d8[_0x599c1d(_0x3ac958._0xf801b7)]?_0x2d16d8:{'enumerable':!![],'get':function(){return _0xb75148[_0x1c7cb9];}});}}),_0x55cd92[_0x3b35b0(_0x17db39._0x18dd21)]=_0xb75148,_0x55cd92;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);const L$1=mars2d__namespace['L'];class CompositeCoordinateSystem{constructor(_0x590dc1,_0xb128c3){const _0x22d35a={_0x38ab52:0x1cd,_0x3d23a4:0x1e7,_0x3bec70:0x199},_0x1f92d4=_0xd0eb;this['_mars2d_map']=_0x590dc1,this['dimensions']=[_0x1f92d4(_0x22d35a._0x38ab52),_0x1f92d4(_0x22d35a._0x3d23a4)],this['_mapOffset']=[0x0,0x0],this['_api']=_0xb128c3,this['_projection']=L$1['Projection'][_0x1f92d4(_0x22d35a._0x3bec70)];}[_0x52a204(0x1e0)](_0x477c14){const _0x7f10bc=_0x52a204;this[_0x7f10bc(0x1c6)]=_0x477c14;}['getBMap'](){const _0x14ff42={_0x25c63c:0x1a6},_0x123b82=_0x52a204;return this[_0x123b82(_0x14ff42._0x25c63c)];}[_0x52a204(0x1ae)](){const _0x49ea4b={_0x3ed681:0x1db,_0x55a6bb:0x19d,_0x168b65:0x1d3,_0x43d758:0x18b,_0x30c4f9:0x18b},_0x3036e=_0x52a204,_0x31272d=echarts__namespace[_0x3036e(_0x49ea4b._0x3ed681)],_0x5e73e8=this[_0x3036e(0x1ee)](),_0x5ed953={};_0x5ed953[_0x3036e(_0x49ea4b._0x55a6bb)]='mars2dMap',_0x5ed953['x']=_0x5e73e8['x'],_0x5ed953['y']=_0x5e73e8['y'],_0x5ed953[_0x3036e(_0x49ea4b._0x168b65)]=_0x5e73e8['width'],_0x5ed953['height']=_0x5e73e8[_0x3036e(0x1d5)];return{'coordSys':_0x5ed953,'api':{'coord':_0x31272d[_0x3036e(_0x49ea4b._0x43d758)](this['dataToPoint'],this),'size':_0x31272d[_0x3036e(_0x49ea4b._0x30c4f9)](_0x4ea303,this)}};function _0x4ea303(_0x443853,_0x2be66c){const _0x56239f={_0x465f47:0x1c2};return _0x2be66c=_0x2be66c||[0x0,0x0],_0x31272d['map']([0x0,0x1],function(_0x2654ea){const _0x1a1864=_0xd0eb,_0x520631=_0x2be66c[_0x2654ea],_0x3d18f5=_0x443853[_0x2654ea]/0x2,_0x5b748a=[],_0x1b8f0d=[];return _0x5b748a[_0x2654ea]=_0x520631-_0x3d18f5,_0x1b8f0d[_0x2654ea]=_0x520631+_0x3d18f5,_0x5b748a[0x1-_0x2654ea]=_0x1b8f0d[0x1-_0x2654ea]=_0x2be66c[0x1-_0x2654ea],Math['abs'](this[_0x1a1864(_0x56239f._0x465f47)](_0x5b748a)[_0x2654ea]-this[_0x1a1864(0x1c2)](_0x1b8f0d)[_0x2654ea]);},this);}}['dataToPoint'](_0x2f9212){const _0x465e02={_0x3fbb83:0x1ba},_0x1cb09e=_0x52a204;_0x2f9212[0x1]===null&&(_0x2f9212[0x1]=L$1[_0x1cb09e(0x1a5)][_0x1cb09e(_0x465e02._0x3fbb83)]['projection'][_0x1cb09e(0x191)]);const _0xd35f1a=this['_mars2d_map']['latLngToLayerPoint']([_0x2f9212[0x1],_0x2f9212[0x0]]),_0x44ea88=this['_mapOffset'];return[_0xd35f1a['x']-_0x44ea88[0x0],_0xd35f1a['y']-_0x44ea88[0x1]];}[_0x52a204(0x1b3)](_0x3fd364){const _0xff62d0={_0x1503b0:0x1cd,_0x13de21:0x1e7},_0x5309e2=_0x52a204,_0x14c8fe=this['_mapOffset'],_0x46610c=this['_mars2d_map']['layerPointToLatLng']([_0x3fd364[0x0]+_0x14c8fe[0x0],_0x3fd364[0x1]+_0x14c8fe[0x1]]);return[_0x46610c[_0x5309e2(_0xff62d0._0x1503b0)],_0x46610c[_0x5309e2(_0xff62d0._0x13de21)]];}['getViewRect'](){const _0x283386={_0x3482ff:0x1b4},_0x1c4186=_0x52a204,_0x3ad8f3=this[_0x1c4186(0x1a6)][_0x1c4186(_0x283386._0x3482ff)]();return new echarts__namespace['graphic']['BoundingRect'](0x0,0x0,_0x3ad8f3['x'],_0x3ad8f3['y']);}['getRoamTransform'](){const _0x38d99c=_0x52a204;return echarts__namespace['matrix'][_0x38d99c(0x19e)]();}}CompositeCoordinateSystem[_0x52a204(0x1be)]=['lng',_0x52a204(0x1e7)],CompositeCoordinateSystem[_0x52a204(0x19e)]=function(_0x2994ef,_0x3f60a2){const _0x469ae0={_0xa8325f:0x1a6,_0x1911e3:0x188},_0x19f82a={_0x559087:0x1a4},_0x2516e4={_0x3e3a21:0x1b0,_0x4d854e:0x1d9},_0x460e27=_0x52a204;let _0x36a27f;const _0x776c29=_0x2994ef['scheduler'][_0x460e27(0x1df)][_0x460e27(_0x469ae0._0xa8325f)];_0x2994ef[_0x460e27(0x185)]('mars2dMap',function(_0x49d112){const _0x173c7d=_0x460e27,_0x298fe3=_0x3f60a2['getZr']()['painter'];if(!_0x298fe3)return;!_0x36a27f&&(_0x36a27f=new CompositeCoordinateSystem(_0x776c29,_0x3f60a2)),_0x49d112[_0x173c7d(_0x2516e4._0x3e3a21)]=_0x36a27f,_0x36a27f['setMapOffset'](_0x49d112[_0x173c7d(_0x2516e4._0x4d854e)]||[0x0,0x0]);}),_0x2994ef[_0x460e27(_0x469ae0._0x1911e3)](function(_0x176ccf){const _0x4b76b4=_0x460e27;_0x176ccf[_0x4b76b4(0x1ef)]('coordinateSystem')===_0x4b76b4(_0x19f82a._0x559087)&&(!_0x36a27f&&(_0x36a27f=new CompositeCoordinateSystem(_0x776c29)),_0x176ccf['coordinateSystem']=_0x36a27f);});};function _0x9948(){const _0x476364=['tgf5zxjvDgLS','Cg9PBNruB0rHDge','z2v0u2L6zq','Bw92zuHHBMrSzxi','x21HCa','Cg9ZAxrPB24','mtaYCxbtqLzn','C2HVDW','rvbtrZm4ntC','CM9HBq','zgvMyxvSDe9WDgLVBG','B25cEvf1zxj5','zgLTzw5ZAw9UCW','x2nYzwf0zunOyxj0t3zLCMXHEq','zgvMAw5LuhjVCgvYDhK','AgfZtgf5zxi','zgf0yvrVug9PBNq','zgvMyxvSDa','BMv3u2L6zq','zxH0zw5Kq29TCg9Uzw50vMLLDW','x21HCe9MzNnLDa','DMfSDwu','x3jLC2L6zuHHBMrSzxi','C2v0rwnOyxj0C09WDgLVBG','BMfTzq','y29UC3rYDwn0B3i','EM9VBufUAw1HDgLVBG','Bg5N','Bw92zwvUza','DMLZAwjSzq','ntaLiduWjq','x2vJAgfYDhnjBNn0yw5Jzq','zgL2','D2LKDgG','igXLywzSzxqTBgf5zxiGBgvHzMXLDc16B29Tlq','AgvPz2H0','zxzLBNq','BxnuCMfUC2zVCM1pCMLNAw4','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','x19TyxbpzMzZzxq','Dg9W','DxrPBa','EKLUzgv4','Aw5PDa','Bgf5zxi','zwnjBNn0yw5Jzq','C2v0twfWt2zMC2v0','x2fWAq','rg9TvxrPBa','C3rHBxa','DgvZDfbYB3a','AgLKzq','C3r5Bgu','Bgf0','mZC3mZmZng9oEhHfBa','qNjVD3nLCG','kcGOlISPkYKRksSK','B3b0Aw9UCW','CgLK','zgLZCgf0y2Hby3rPB24','z2v0vMLLD1jLy3q','z2v0','mtiYotK3B1z3ufbz','ntq5nZmWz3Pqz0vf','nZq4nu10z2XHDa','zwfJAenVBxbVBMvUDa','mta0mde2mdHwDffPsvC','nty4mdy4rg55yMD1','zwfJAfnLCMLLCW','CMvZAxPL','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','yMLUza','DxbKyxrLtgf5B3v0','x3zPzxDWB3j0uM9VDa','zwnOyxj0CW','y3jLyxrLrwXLBwvUDa','x3nOB3C','tufyx0XbveLuvurf','x2vJAgfYDhndB250ywLUzxi','vxrPBa','B2zM','B3zLCMXHEvbHBMu','6k+35BYv5ywLigvJAgfYDhmG5BQt','BwfYCZjKtwfWuM9HBq','yxbWBhK','twvYy2f0B3i','EM9VBwvUza','mNvot0D6qW','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','DhLWzq','y3jLyxrL','DxbKyxrL','Dg9tDhjPBMC','DhjHBNnMB3jTt3jPz2LU','x19TB2rLBa','C2nOzwr1BgvY','BwfYCZjKtwfW','q1jt','x21HCNmYzf9Tyxa','CgfPBNrLCG','BgvMDa','z2v0wNi','C2v0t3b0Aw9U','mJi2ntqWmJzqBKvRzLm','x19LC01VzhvSzq','mhb4','ChjLCgfYzun1C3rVBxm','DMLZAwjPBgL0Eq','y29VCMrPBMf0zvn5C3rLBq','6k+35BYv5ywLigvJAgfYDhmG5BQtia'];_0x9948=function(){return _0x476364;};return _0x9948();}if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x52a204(0x1dd)]){echarts__namespace[_0x52a204(0x18a)](_0x52a204(0x1a4),CompositeCoordinateSystem);const _0x55cc2f={};_0x55cc2f['type']=_0x52a204(0x197),_0x55cc2f[_0x52a204(0x1d6)]='mars2dMapRoam',_0x55cc2f[_0x52a204(0x19f)]=_0x52a204(0x18c),echarts__namespace['registerAction'](_0x55cc2f,function(_0x34291c,_0x14e6ea){});const _0x11b98d={};_0x11b98d[_0x52a204(0x1bb)]=![];const _0x3eb645={};_0x3eb645[_0x52a204(0x19d)]=_0x52a204(0x1a4),_0x3eb645['getBMap']=function(){const _0x4bec05=_0x52a204;return this[_0x4bec05(0x1a6)];},_0x3eb645[_0x52a204(0x1bc)]=_0x11b98d,echarts__namespace['extendComponentModel'](_0x3eb645),echarts__namespace[_0x52a204(0x1c5)]({'type':'mars2dMap','init':function(_0xc4cfad,_0x1a476e){const _0x713796={_0xa7c62:0x1a3,_0x442505:0x1a6,_0xb7f115:0x1a9,_0xd3b4d8:0x1a7,_0x5e434f:0x1cc,_0x2ce1fe:0x1d4,_0x4a1a54:0x1e5,_0x45b085:0x1e2,_0x451d88:0x1e4,_0x1fd600:0x1b5,_0x1a606b:0x19a},_0x16bef3=_0x52a204;this[_0x16bef3(0x1e1)]=_0x1a476e,this['_map']=_0xc4cfad['scheduler']['ecInstance'][_0x16bef3(0x1a6)];const _0x1ddf4b=_0xc4cfad[_0x16bef3(_0x713796._0xa7c62)][_0x16bef3(0x1df)][_0x16bef3(_0x713796._0x442505)],_0xe6add0=_0x1a476e[_0x16bef3(_0x713796._0xb7f115)]()[_0x16bef3(_0x713796._0xd3b4d8)]['getViewportRoot'](),_0x3b6d27=_0x1ddf4b['options'][_0x16bef3(_0x713796._0x5e434f)]&&L$1[_0x16bef3(0x1e9)]['any3d'];_0xe6add0['className']=_0x16bef3(_0x713796._0x2ce1fe)+(_0x3b6d27?'animated':_0x16bef3(_0x713796._0x4a1a54))+'\x20echarts-layer';const _0x4bab76=L$1[_0x16bef3(_0x713796._0x45b085)][_0x16bef3(_0x713796._0x451d88)]([_0x16bef3(0x1a1),'WebkitTransformOrigin',_0x16bef3(0x1d7)]);_0xe6add0['style'][_0x4bab76]=_0x16bef3(0x1d0),this[_0x16bef3(0x18d)]=_0xe6add0,this[_0x16bef3(0x1b6)]['on']('moveend',this[_0x16bef3(_0x713796._0x1fd600)],this),this[_0x16bef3(0x1b6)]['on'](_0x16bef3(_0x713796._0x1a606b),this['moveHandler'],this);},'moveHandler'(){const _0x4da45f={_0x106691:0x18d,_0x47a632:0x1a2,_0x2d4bc8:0x1b0,_0x5cf1df:0x1e0,_0x1e25ea:0x19d,_0x514d0c:0x1ed},_0x287521=_0x52a204,_0x4b6731=this['_map'][_0x287521(0x19c)]([0x0,0x0]),_0x5ee35a=[_0x4b6731['x']||0x0,_0x4b6731['y']||0x0];this[_0x287521(_0x4da45f._0x106691)]['style'][_0x287521(0x1a8)]=_0x5ee35a[0x0]+'px',this[_0x287521(_0x4da45f._0x106691)]['style'][_0x287521(0x1da)]=_0x5ee35a[0x1]+'px';const _0x5bbcdb=this[_0x287521(_0x4da45f._0x47a632)];_0x5bbcdb['__mapOffset']=_0x5ee35a;_0x5bbcdb!==null&&_0x5bbcdb!==void 0x0&&_0x5bbcdb[_0x287521(_0x4da45f._0x2d4bc8)]&&_0x5bbcdb['coordinateSystem'][_0x287521(_0x4da45f._0x5cf1df)](_0x5ee35a);const _0x7a1010={};_0x7a1010[_0x287521(_0x4da45f._0x1e25ea)]=_0x287521(0x197),this['_api'][_0x287521(_0x4da45f._0x514d0c)](_0x7a1010);},'dispose':function(_0x5acc28){const _0x513792={_0xb8c4e4:0x194,_0x318257:0x1ce,_0x1b4827:0x1b5},_0xddda4b=_0x52a204;this['_map'][_0xddda4b(_0x513792._0xb8c4e4)](_0xddda4b(_0x513792._0x318257),this[_0xddda4b(_0x513792._0x1b4827)],this),this['_map']['off']('zoomend',this['moveHandler'],this);}});}else throw new Error(_0x52a204(0x196));const L=mars2d__namespace['L'];class EchartsLayer extends L['Layer']{constructor(_0x1b196e={}){const _0x549de0={_0x188545:0x193,_0x489cdf:0x1e3,_0x7095e4:0x1ec},_0x11606d=_0x52a204;var _0x206db2,_0xfa2d92;super(_0x1b196e),this[_0x11606d(0x1eb)]=_0x1b196e,L[_0x11606d(_0x549de0._0x188545)][_0x11606d(_0x549de0._0x489cdf)](this),this['options']['id']=(_0x206db2=this['options']['id'])!==null&&_0x206db2!==void 0x0?_0x206db2:mars2d__namespace['Util']['createGuid'](),this[_0x11606d(0x1eb)][_0x11606d(0x1ec)]=(_0xfa2d92=this[_0x11606d(0x1eb)][_0x11606d(_0x549de0._0x7095e4)])!==null&&_0xfa2d92!==void 0x0?_0xfa2d92:-0x1;}get['isAdded'](){const _0x32e9bb={_0x19744d:0x1b6,_0x5cd300:0x1c1},_0x2f3222=_0x52a204;return this[_0x2f3222(_0x32e9bb._0x19744d)]&&this[_0x2f3222(0x1b6)][_0x2f3222(_0x32e9bb._0x5cd300)](this);}get['pid'](){const _0x5406bc=_0x52a204;return this[_0x5406bc(0x1eb)][_0x5406bc(0x1ec)];}set[_0x52a204(0x1ec)](_0x477c5d){const _0x1152f7=_0x52a204;this['options'][_0x1152f7(0x1ec)]=_0x477c5d;}get['id'](){return this['options']['id'];}set['id'](_0x1fe4c6){this['options']['id']=_0x1fe4c6;}get['name'](){const _0x4a3d27={_0x3dad81:0x1ca},_0x108647=_0x52a204;return this['options'][_0x108647(_0x4a3d27._0x3dad81)];}set[_0x52a204(0x1ca)](_0x230c86){const _0x27687f=_0x52a204;this['options'][_0x27687f(0x1ca)]=_0x230c86;}get[_0x52a204(0x1de)](){const _0x51e4ac={_0x1cb62a:0x1d1},_0x53d999=_0x52a204;return this[_0x53d999(_0x51e4ac._0x1cb62a)];}get[_0x52a204(0x1b9)](){return this['_show'];}set[_0x52a204(0x1b9)](_0x2c63b5){const _0x5bde7f={_0x71b82f:0x190,_0x53923e:0x192,_0x564477:0x1e6,_0x1aa2d6:0x1af,_0x52d272:0x1cf},_0x2c6e8a=_0x52a204;this[_0x2c6e8a(_0x5bde7f._0x71b82f)]=_0x2c63b5,_0x2c63b5?this[_0x2c6e8a(_0x5bde7f._0x53923e)][_0x2c6e8a(_0x5bde7f._0x564477)][_0x2c6e8a(_0x5bde7f._0x1aa2d6)]=_0x2c6e8a(_0x5bde7f._0x52d272):this[_0x2c6e8a(_0x5bde7f._0x53923e)][_0x2c6e8a(_0x5bde7f._0x564477)][_0x2c6e8a(0x1af)]='hidden';}['onAdd'](_0x1d2cb6){const _0x46c922={_0xb8ded1:0x1b1,_0x3e0ea6:0x1d1,_0x1e08a3:0x1eb,_0x461252:0x1c8},_0x12cb2a=_0x52a204;if(!echarts__namespace)throw new Error(_0x12cb2a(_0x46c922._0xb8ded1));this['_map']=_0x1d2cb6,this['_echartsContainer']=this['_createChartOverlay'](),this[_0x12cb2a(_0x46c922._0x3e0ea6)]=echarts__namespace[_0x12cb2a(0x1dd)](this['_echartsContainer']),this[_0x12cb2a(_0x46c922._0x3e0ea6)][_0x12cb2a(0x1a6)]=_0x1d2cb6,this[_0x12cb2a(0x1c9)](this[_0x12cb2a(_0x46c922._0x1e08a3)]),this[_0x12cb2a(0x1b6)]['on'](_0x12cb2a(0x189),this[_0x12cb2a(_0x46c922._0x461252)],this);}['onRemove'](){const _0x575379={_0x16718c:0x1e2,_0x28bb85:0x192},_0x511e07=_0x52a204;this['_echartsInstance']&&(this['_echartsInstance']['clear'](),this['_echartsInstance']['dispose'](),delete this['_echartsInstance']),this['_echartsContainer']&&(L[_0x511e07(_0x575379._0x16718c)]['remove'](this[_0x511e07(_0x575379._0x28bb85)]),delete this[_0x511e07(_0x575379._0x28bb85)]),this['_map']['off']('resize',this['_resizeHandler'],this),delete this['_map'];}['setZIndex'](_0x16324f){const _0x409271={_0xa644fe:0x1e6},_0x37e2fa=_0x52a204;this['options'][_0x37e2fa(0x1dc)]=_0x16324f,this['_echartsContainer']&&(this[_0x37e2fa(0x192)][_0x37e2fa(_0x409271._0xa644fe)]['zIndex']=_0x16324f);}[_0x52a204(0x1bf)](){const _0x49c0e2={_0x11068e:0x1b4,_0x1d2852:0x1b7,_0x362ceb:0x1e6,_0x3e1b1e:0x1e6,_0x4cb4f3:0x1d3,_0x2faa27:0x1eb,_0x359bb0:0x1dc,_0x134c94:0x1b6,_0xa884fb:0x1eb},_0x233448=_0x52a204,_0x564d6d=this['_map'][_0x233448(_0x49c0e2._0x11068e)](),_0x321f72=document[_0x233448(0x18f)](_0x233448(0x1d2));_0x321f72['style'][_0x233448(_0x49c0e2._0x1d2852)]='absolute',_0x321f72[_0x233448(_0x49c0e2._0x362ceb)][_0x233448(0x1da)]=_0x233448(0x1ad),_0x321f72[_0x233448(_0x49c0e2._0x3e1b1e)]['left']='0px',_0x321f72['style'][_0x233448(0x1d5)]=_0x564d6d['y']+'px',_0x321f72[_0x233448(_0x49c0e2._0x362ceb)][_0x233448(_0x49c0e2._0x4cb4f3)]=_0x564d6d['x']+'px',_0x321f72[_0x233448(_0x49c0e2._0x362ceb)]['zIndex']=this[_0x233448(_0x49c0e2._0x2faa27)][_0x233448(_0x49c0e2._0x359bb0)]||0x63;const _0x8ae83f=this[_0x233448(_0x49c0e2._0x134c94)]['getPane'](this[_0x233448(_0x49c0e2._0xa884fb)]['pane']||_0x233448(0x195));return _0x8ae83f['appendChild'](_0x321f72),_0x321f72;}['_resizeHandler'](_0x4e88a1){const _0x197240={_0x4d4894:0x1c4,_0x12bd5f:0x192,_0x2479bb:0x1e6,_0x4b10a8:0x1d3,_0x28fc89:0x192,_0x30d833:0x1d5},_0x4379d4=_0x52a204;if(!this['_echartsInstance'])return;const _0x16295f=_0x4e88a1[_0x4379d4(_0x197240._0x4d4894)];this[_0x4379d4(_0x197240._0x12bd5f)][_0x4379d4(_0x197240._0x2479bb)][_0x4379d4(_0x197240._0x4b10a8)]=_0x16295f['x']+'px',this[_0x4379d4(_0x197240._0x28fc89)]['style'][_0x4379d4(_0x197240._0x30d833)]=_0x16295f['y']+'px',this['_echartsInstance'][_0x4379d4(0x189)]();}[_0x52a204(0x1c9)](_0x594835,_0x270b23,_0x3f4396){const _0x166fe3={_0xe86a74:0x1d1,_0x2342b3:0x1bb,_0xd31408:0x1aa},_0x3f4a2e=_0x52a204;if(this[_0x3f4a2e(_0x166fe3._0xe86a74)]){const _0x6cd47c={};_0x6cd47c[_0x3f4a2e(_0x166fe3._0x2342b3)]=!![],_0x594835[_0x3f4a2e(0x1a4)]=_0x594835['mars2dMap']||_0x6cd47c,this[_0x3f4a2e(0x1d1)][_0x3f4a2e(_0x166fe3._0xd31408)](_0x594835,_0x270b23,_0x3f4396);}}['on'](_0x2ed819,_0x33ac9b,_0x413d5f){const _0x5bb6fa={_0xf35c18:0x1d1},_0x5652e2=_0x52a204;return this[_0x5652e2(_0x5bb6fa._0xf35c18)]['on'](_0x2ed819,_0x33ac9b,_0x413d5f||this),this;}[_0x52a204(0x1bd)](_0x84118c,_0xda2f0a,_0x55fb59,_0x187e54){return this['_echartsInstance']['on'](_0x84118c,_0xda2f0a,_0x55fb59,_0x187e54||this),this;}['off'](_0x204915,_0xa43dbc,_0x178b8b){const _0x3d6c15={_0x4505b7:0x1d1},_0xb44835=_0x52a204;return this[_0xb44835(_0x3d6c15._0x4505b7)]['off'](_0x204915,_0xa43dbc,_0x178b8b||this),this;}}mars2d__namespace[_0x52a204(0x1de)]['EchartsLayer']=EchartsLayer,mars2d__namespace[_0x52a204(0x1b2)]['register'](_0x52a204(0x18e),EchartsLayer),exports['EchartsLayer']=EchartsLayer;const _0xdd98cf={};_0xdd98cf[_0x52a204(0x1c7)]=!![],Object[_0x52a204(0x1c0)](exports,'__esModule',_0xdd98cf);
14
+ 'use strict';const _0x3ece90=_0x36e6;(function(_0x579ea2,_0x24536e){const _0x31ef92={_0x1905e4:0x15d,_0x54216f:0x186,_0x461abb:0x144,_0x5350c5:0x142,_0x3c95cf:0x17b,_0x2b9a39:0x171},_0x1f6af2=_0x36e6,_0x23db81=_0x579ea2();while(!![]){try{const _0x5c6698=parseInt(_0x1f6af2(0x159))/0x1+parseInt(_0x1f6af2(0x141))/0x2*(-parseInt(_0x1f6af2(_0x31ef92._0x1905e4))/0x3)+-parseInt(_0x1f6af2(_0x31ef92._0x54216f))/0x4*(-parseInt(_0x1f6af2(0x17e))/0x5)+-parseInt(_0x1f6af2(_0x31ef92._0x461abb))/0x6*(-parseInt(_0x1f6af2(0x183))/0x7)+-parseInt(_0x1f6af2(_0x31ef92._0x5350c5))/0x8*(-parseInt(_0x1f6af2(0x15a))/0x9)+parseInt(_0x1f6af2(_0x31ef92._0x3c95cf))/0xa+-parseInt(_0x1f6af2(_0x31ef92._0x2b9a39))/0xb;if(_0x5c6698===_0x24536e)break;else _0x23db81['push'](_0x23db81['shift']());}catch(_0x73598){_0x23db81['push'](_0x23db81['shift']());}}}(_0x3daf,0x67eb1));function _0x3daf(){const _0x58094a=['zgLTzw5ZAw9UCW','x19TyxbpzMzZzxq','nZG5mde1wKPYCgDT','ndiZtxvruwzz','x2vJAgfYDhndB250ywLUzxi','Aw5PDa','mtC5ntGZqw1VA0XR','x2vJAgfYDhnjBNn0yw5Jzq','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','Bgf0tg5Nvg9myxLLCLbVAw50','CgfUzq','CMvNAxn0zxjby3rPB24','B3b0Aw9UCW','BwfW','BwfYCZjKtwfW','zwfJAfnLCMLLCW','EM9VBwvUza','CMvZAxPL','DxbKyxrL','EKLUzgv4','CMvTB3zL','igvJAgfYDhmTBgf5zxi','Cg9ZAxrPB24','zgf0yvrVug9PBNq','B25bzgq','zM9YrwfJAa','mJeXmdC3mdjMq1nAt08','twvYy2f0B3i','DMLZAwjSzq','y29VCMrPBMf0zvn5C3rLBq','x3bYB2PLy3rPB24','BwfYCZjKtwfWuM9HBq','yxbWzw5Kq2HPBgq','y3jLyxrLr3vPza','Bgf5zxi','zxzLBNq','nZe5ndG2mgHLqurnCq','tgf5zxi','AgvPz2H0','nvbutgXjyG','DxbKyxrLtgf5B3v0','DMfSDwu','qM91BMrPBMDszwn0','DMLZAwjPBgL0Eq','mJHIsNH3rvm','B3zLCMXHEvbHBMu','ChjLCgfYzun1C3rVBxm','nJG0nZu2sgPjq1He','z2v0vMLLD1jLy3q','tgf5zxjvDgLS','z2v0','CgLK','zxH0zw5Kq29TCg9Uzw50tw9KzwW','Bw92zwvUza','C3rHBxa','y2XHC3noyw1L','mhb4','x21HCNmYzf9Tyxa','x3nOB3C','q1jt','BgvMDa','Cg9PBNruB0rHDge','rg9TvxrPBa','x21HCa','C2v0twfWt2zMC2v0','zwfJAenVBxbVBMvUDa','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','C2nOzwr1BgvY','Bgf0','Bg5N','x2fWAq','AxnbzgrLza','DgvZDfbYB3a','C2v0rwnOyxj0C09WDgLVBG','x3jLC2L6zuHHBMrSzxi','x21HCe9MzNnLDa','Bw92zuHHBMrSzxi','zgvMAw5LuhjVCgvYDhK','zwnjBNn0yw5Jzq','y3jLyxrL','ywjZ','B2zM','zxH0zw5Kq29TCg9Uzw50vMLLDW','z2v0qK1HCa','zgvMyxvSDe9WDgLVBG','x19LC01VzhvSzq','ChjVAMvJDgLVBG','EM9VBufUAw1HDgLVBG','neDcr01Jwq','nduYmJrzCK5KqKy','DhjHBNnMB3jTt3jPz2LU','nZC4mZa4DevRzLnJ','yw5PBwf0zwq','vxrPBa','C3r5Bgu','z2v0wNi','Bgf5zxjqB2LUDfrVtgf0tg5N','zgvMyxvSDa','D2LKDgG','CgfPBNrLCG','BMfTzq','z3jHCgHPyW','AgfZtgf5zxi','CM9HBq','C2HVDW','DhLWzq','yMLUza','x19TB2rLBa','z2v0u2L6zq','rwnOyxj0C0XHEwvY'];_0x3daf=function(){return _0x58094a;};return _0x3daf();}function _interopNamespace(_0x2dd024){const _0x14d544={_0x16bdf4:0x13e,_0x36cce2:0x138,_0x336d95:0x14a},_0x4b26ad={_0x22ebea:0x136},_0x1ef99f=_0x36e6;if(_0x2dd024&&_0x2dd024[_0x1ef99f(_0x14d544._0x16bdf4)])return _0x2dd024;var _0xd91d71=Object[_0x1ef99f(_0x14d544._0x36cce2)](null);return _0x2dd024&&Object['keys'](_0x2dd024)[_0x1ef99f(0x170)](function(_0x492a36){const _0x492557=_0x1ef99f;if(_0x492a36!=='default'){var _0x10231c=Object['getOwnPropertyDescriptor'](_0x2dd024,_0x492a36);Object[_0x492557(_0x4b26ad._0x22ebea)](_0xd91d71,_0x492a36,_0x10231c[_0x492557(0x189)]?_0x10231c:{'enumerable':!![],'get':function(){return _0x2dd024[_0x492a36];}});}}),_0xd91d71[_0x1ef99f(_0x14d544._0x336d95)]=_0x2dd024,_0xd91d71;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);const L$1=mars2d__namespace['L'];class CompositeCoordinateSystem{constructor(_0x483345,_0x5cd049){const _0x18176a={_0x1fad8c:0x190,_0x4d0474:0x12d,_0x303094:0x172},_0x512487=_0x36e6;this[_0x512487(_0x18176a._0x1fad8c)]=_0x483345,this['dimensions']=['lng',_0x512487(_0x18176a._0x4d0474)],this['_mapOffset']=[0x0,0x0],this['_api']=_0x5cd049,this[_0x512487(0x175)]=L$1['Projection'][_0x512487(_0x18176a._0x303094)];}[_0x3ece90(0x129)](_0x3809b2){const _0x324a76=_0x3ece90;this[_0x324a76(0x134)]=_0x3809b2;}[_0x3ece90(0x13c)](){const _0x2b37b2={_0x4d430b:0x190},_0x5b0394=_0x3ece90;return this[_0x5b0394(_0x2b37b2._0x4d430b)];}[_0x3ece90(0x185)](){const _0x33f0aa={_0x579946:0x165,_0x1ea4ad:0x14b,_0x294e48:0x16e},_0x4bb263=_0x3ece90,_0x19cb34=echarts__namespace['util'],_0x2a9d3b=this['getViewRect'](),_0x41232f={};_0x41232f['type']=_0x4bb263(_0x33f0aa._0x579946),_0x41232f['x']=_0x2a9d3b['x'],_0x41232f['y']=_0x2a9d3b['y'],_0x41232f[_0x4bb263(_0x33f0aa._0x1ea4ad)]=_0x2a9d3b['width'],_0x41232f[_0x4bb263(0x17d)]=_0x2a9d3b['height'];return{'coordSys':_0x41232f,'api':{'coord':_0x19cb34[_0x4bb263(0x153)](this[_0x4bb263(_0x33f0aa._0x294e48)],this),'size':_0x19cb34['bind'](_0x268d7c,this)}};function _0x268d7c(_0x3b58ab,_0x1b85f6){const _0x1c82e1={_0x1ea522:0x139},_0x1ad363=_0x4bb263;return _0x1b85f6=_0x1b85f6||[0x0,0x0],_0x19cb34[_0x1ad363(0x164)]([0x0,0x1],function(_0x5e0f69){const _0x442e13=_0x1ad363,_0x4e406e=_0x1b85f6[_0x5e0f69],_0x355938=_0x3b58ab[_0x5e0f69]/0x2,_0xe91843=[],_0x13b5e7=[];return _0xe91843[_0x5e0f69]=_0x4e406e-_0x355938,_0x13b5e7[_0x5e0f69]=_0x4e406e+_0x355938,_0xe91843[0x1-_0x5e0f69]=_0x13b5e7[0x1-_0x5e0f69]=_0x1b85f6[0x1-_0x5e0f69],Math[_0x442e13(_0x1c82e1._0x1ea522)](this['dataToPoint'](_0xe91843)[_0x5e0f69]-this['dataToPoint'](_0x13b5e7)[_0x5e0f69]);},this);}}['dataToPoint'](_0x2a1ad2){const _0x2dc64e={_0x5eee82:0x13f,_0x24d469:0x160,_0x3addbb:0x134},_0x1d4660=_0x3ece90;_0x2a1ad2[0x1]===null&&(_0x2a1ad2[0x1]=L$1[_0x1d4660(0x192)]['EPSG3857'][_0x1d4660(_0x2dc64e._0x5eee82)]['MAX_LATITUDE']);const _0x2d7db4=this['_mars2d_map'][_0x1d4660(_0x2dc64e._0x24d469)]([_0x2a1ad2[0x1],_0x2a1ad2[0x0]]),_0x4f6b80=this[_0x1d4660(_0x2dc64e._0x3addbb)];return[_0x2d7db4['x']-_0x4f6b80[0x0],_0x2d7db4['y']-_0x4f6b80[0x1]];}[_0x3ece90(0x194)](_0x13e13d){const _0x194acd={_0x126932:0x149,_0x101248:0x12e},_0xd95fb=_0x3ece90,_0x51ca00=this['_mapOffset'],_0x5618ec=this['_mars2d_map'][_0xd95fb(_0x194acd._0x126932)]([_0x13e13d[0x0]+_0x51ca00[0x0],_0x13e13d[0x1]+_0x51ca00[0x1]]);return[_0x5618ec[_0xd95fb(_0x194acd._0x101248)],_0x5618ec[_0xd95fb(0x12d)]];}[_0x3ece90(0x187)](){const _0x3c68f4={_0x57c2ef:0x190},_0x9e4427=_0x3ece90,_0x1c0191=this[_0x9e4427(_0x3c68f4._0x57c2ef)][_0x9e4427(0x155)]();return new echarts__namespace[(_0x9e4427(0x14e))][(_0x9e4427(0x181))](0x0,0x0,_0x1c0191['x'],_0x1c0191['y']);}['getRoamTransform'](){const _0x34aa78={_0x1c9017:0x138},_0x71ece4=_0x3ece90;return echarts__namespace['matrix'][_0x71ece4(_0x34aa78._0x1c9017)]();}}CompositeCoordinateSystem[_0x3ece90(0x157)]=[_0x3ece90(0x12e),_0x3ece90(0x12d)],CompositeCoordinateSystem['create']=function(_0x23d620,_0x296099){const _0x1a2856={_0x20e3aa:0x12c,_0x466158:0x137,_0xdad2f5:0x166},_0x234a66={_0x400d47:0x189},_0x15c7e4={_0x17de6c:0x129,_0x43a7f3:0x158},_0x262b51=_0x3ece90;let _0x518e79;const _0x463b89=_0x23d620[_0x262b51(_0x1a2856._0x20e3aa)][_0x262b51(_0x1a2856._0x466158)][_0x262b51(0x190)];_0x23d620[_0x262b51(0x12a)]('mars2dMap',function(_0x10b886){const _0x3209d0=_0x262b51,_0x9efbd1=_0x296099['getZr']()['painter'];if(!_0x9efbd1)return;!_0x518e79&&(_0x518e79=new CompositeCoordinateSystem(_0x463b89,_0x296099)),_0x10b886[_0x3209d0(0x174)]=_0x518e79,_0x518e79[_0x3209d0(_0x15c7e4._0x17de6c)](_0x10b886[_0x3209d0(_0x15c7e4._0x43a7f3)]||[0x0,0x0]);}),_0x23d620[_0x262b51(_0x1a2856._0xdad2f5)](function(_0x365fd1){const _0x56bc45=_0x262b51;_0x365fd1[_0x56bc45(_0x234a66._0x400d47)]('coordinateSystem')==='mars2dMap'&&(!_0x518e79&&(_0x518e79=new CompositeCoordinateSystem(_0x463b89)),_0x365fd1['coordinateSystem']=_0x518e79);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace['init']){echarts__namespace[_0x3ece90(0x15f)](_0x3ece90(0x165),CompositeCoordinateSystem);const _0x2d2574={};_0x2d2574[_0x3ece90(0x152)]=_0x3ece90(0x176),_0x2d2574[_0x3ece90(0x17a)]='mars2dMapRoam',_0x2d2574[_0x3ece90(0x169)]=_0x3ece90(0x17f),echarts__namespace[_0x3ece90(0x162)](_0x2d2574,function(_0x197654,_0x610f18){});const _0x1d0522={};_0x1d0522[_0x3ece90(0x150)]=![];const _0x3cbc38={};_0x3cbc38['type']=_0x3ece90(0x165),_0x3cbc38[_0x3ece90(0x13c)]=function(){const _0x2503a0={_0x6aaeaf:0x190},_0x37b90f=_0x3ece90;return this[_0x37b90f(_0x2503a0._0x6aaeaf)];},_0x3cbc38[_0x3ece90(0x13d)]=_0x1d0522,echarts__namespace[_0x3ece90(0x18b)](_0x3cbc38),echarts__namespace[_0x3ece90(0x13b)]({'type':'mars2dMap','init':function(_0x101a8b,_0x411b36){const _0x2a99d9={_0x4d799e:0x196,_0x293e48:0x137,_0x9e8e12:0x190,_0x3ec641:0x140,_0x1e730e:0x18e,_0x2948f8:0x145,_0xd1ee66:0x195,_0x2b5598:0x131,_0x546034:0x143,_0x2fa075:0x12b,_0x28ba78:0x147,_0x1d1ee0:0x196,_0x1faeab:0x135,_0x54ce7:0x167,_0x4fe3e8:0x135},_0x1c8826=_0x3ece90;this[_0x1c8826(0x12f)]=_0x411b36,this[_0x1c8826(_0x2a99d9._0x4d799e)]=_0x101a8b['scheduler'][_0x1c8826(_0x2a99d9._0x293e48)][_0x1c8826(_0x2a99d9._0x9e8e12)];const _0x4824c5=_0x101a8b[_0x1c8826(0x12c)]['ecInstance']['_mars2d_map'],_0x4c7dc8=_0x411b36[_0x1c8826(0x148)]()[_0x1c8826(0x14c)]['getViewportRoot'](),_0xa91ff4=_0x4824c5['options'][_0x1c8826(_0x2a99d9._0x3ec641)]&&L$1['Browser']['any3d'];_0x4c7dc8[_0x1c8826(_0x2a99d9._0x1e730e)]='\x20leaflet-layer\x20leaflet-zoom-'+(_0xa91ff4?_0x1c8826(_0x2a99d9._0x2948f8):'hide')+_0x1c8826(0x16c);const _0x43cada=L$1[_0x1c8826(_0x2a99d9._0xd1ee66)][_0x1c8826(_0x2a99d9._0x2b5598)]([_0x1c8826(_0x2a99d9._0x546034),_0x1c8826(_0x2a99d9._0x2fa075),'msTransformOrigin']);_0x4c7dc8[_0x1c8826(_0x2a99d9._0x28ba78)][_0x43cada]='50%\x2050%',this['_viewportRoot']=_0x4c7dc8,this[_0x1c8826(_0x2a99d9._0x1d1ee0)]['on']('moveend',this[_0x1c8826(_0x2a99d9._0x1faeab)],this),this['_map']['on'](_0x1c8826(_0x2a99d9._0x54ce7),this[_0x1c8826(_0x2a99d9._0x4fe3e8)],this);},'moveHandler'(){const _0x365c79={_0x11acac:0x196,_0x3d0a18:0x154,_0x29e0de:0x158,_0x1d2529:0x129},_0xee7841=_0x3ece90,_0x2023c3=this[_0xee7841(_0x365c79._0x11acac)]['containerPointToLayerPoint']([0x0,0x0]),_0x186746=[_0x2023c3['x']||0x0,_0x2023c3['y']||0x0];this['_viewportRoot']['style']['left']=_0x186746[0x0]+'px',this['_viewportRoot'][_0xee7841(0x147)]['top']=_0x186746[0x1]+'px';const _0x2410ab=this[_0xee7841(_0x365c79._0x3d0a18)];_0x2410ab[_0xee7841(_0x365c79._0x29e0de)]=_0x186746;_0x2410ab!==null&&_0x2410ab!==void 0x0&&_0x2410ab['coordinateSystem']&&_0x2410ab[_0xee7841(0x174)][_0xee7841(_0x365c79._0x1d2529)](_0x186746);const _0x492d63={};_0x492d63[_0xee7841(0x152)]='mars2dMapRoam',this[_0xee7841(0x12f)]['dispatchAction'](_0x492d63);},'dispose':function(_0x47cee4){const _0x2cfbbf={_0x3826da:0x18c,_0x13a289:0x135,_0x51387f:0x196},_0x9ef40a=_0x3ece90;this['_map']['off'](_0x9ef40a(_0x2cfbbf._0x3826da),this[_0x9ef40a(_0x2cfbbf._0x13a289)],this),this[_0x9ef40a(_0x2cfbbf._0x51387f)]['off']('zoomend',this[_0x9ef40a(0x135)],this);}});}else throw new Error('请引入\x20echarts\x20库');const L=mars2d__namespace['L'];class EchartsLayer extends L[_0x3ece90(0x17c)]{constructor(_0x57bfc0={}){const _0x14d955={_0x4510ff:0x146,_0xb4885d:0x18d},_0x293230=_0x3ece90;var _0x207f02,_0x43f36b;super(_0x57bfc0),this[_0x293230(0x163)]=_0x57bfc0,L[_0x293230(_0x14d955._0x4510ff)][_0x293230(_0x14d955._0xb4885d)](this),this['options']['id']=(_0x207f02=this['options']['id'])!==null&&_0x207f02!==void 0x0?_0x207f02:mars2d__namespace[_0x293230(0x146)][_0x293230(0x178)](),this['options']['pid']=(_0x43f36b=this[_0x293230(0x163)]['pid'])!==null&&_0x43f36b!==void 0x0?_0x43f36b:-0x1;}get[_0x3ece90(0x130)](){const _0x25f8b2=_0x3ece90;return this['_map']&&this[_0x25f8b2(0x196)][_0x25f8b2(0x14f)](this);}get[_0x3ece90(0x18a)](){const _0x3f7ebe={_0x569224:0x163},_0x4be169=_0x3ece90;return this[_0x4be169(_0x3f7ebe._0x569224)]['pid'];}set[_0x3ece90(0x18a)](_0x57697f){const _0x2bb71d={_0x3bc610:0x18a},_0x40288c=_0x3ece90;this['options'][_0x40288c(_0x2bb71d._0x3bc610)]=_0x57697f;}get['id'](){const _0x4bedbd={_0x1bf2c6:0x163},_0x2c2a23=_0x3ece90;return this[_0x2c2a23(_0x4bedbd._0x1bf2c6)]['id'];}set['id'](_0x351c7f){const _0xfc27b={_0x38a190:0x163},_0x1e2d82=_0x3ece90;this[_0x1e2d82(_0xfc27b._0x38a190)]['id']=_0x351c7f;}get[_0x3ece90(0x14d)](){const _0x113c31={_0x2134d6:0x163},_0x207588=_0x3ece90;return this[_0x207588(_0x113c31._0x2134d6)]['name'];}set[_0x3ece90(0x14d)](_0x4650d5){const _0x297b1f={_0x35e9e4:0x163},_0x43e38d=_0x3ece90;this[_0x43e38d(_0x297b1f._0x35e9e4)]['name']=_0x4650d5;}get[_0x3ece90(0x179)](){return this['_echartsInstance'];}get[_0x3ece90(0x151)](){return this['_show'];}set[_0x3ece90(0x151)](_0x53aa41){const _0x37c385={_0x4ed30a:0x191,_0x52f6a5:0x147,_0x347bd5:0x182,_0x365edd:0x147},_0x87a74=_0x3ece90;this[_0x87a74(_0x37c385._0x4ed30a)]=_0x53aa41,_0x53aa41?this[_0x87a74(0x15b)][_0x87a74(_0x37c385._0x52f6a5)][_0x87a74(_0x37c385._0x347bd5)]=_0x87a74(0x173):this[_0x87a74(0x15b)][_0x87a74(_0x37c385._0x365edd)][_0x87a74(_0x37c385._0x347bd5)]='hidden';}[_0x3ece90(0x16f)](_0x55258b){const _0x44fba8={_0x84dc24:0x15b,_0x1df569:0x15c,_0x430ac5:0x163},_0x1c432a=_0x3ece90;if(!echarts__namespace)throw new Error('请引入\x20echarts\x20库\x20');this['_map']=_0x55258b,this[_0x1c432a(_0x44fba8._0x84dc24)]=this['_createChartOverlay'](),this[_0x1c432a(0x15e)]=echarts__namespace[_0x1c432a(_0x44fba8._0x1df569)](this[_0x1c432a(0x15b)]),this['_echartsInstance']['_mars2d_map']=_0x55258b,this['setEchartsOption'](this[_0x1c432a(_0x44fba8._0x430ac5)]),this[_0x1c432a(0x196)]['on'](_0x1c432a(0x168),this['_resizeHandler'],this);}['onRemove'](){const _0xe06098={_0x4dd241:0x15b,_0x468873:0x13a,_0x270901:0x133},_0x5aeb53=_0x3ece90;this['_echartsInstance']&&(this[_0x5aeb53(0x15e)]['clear'](),this[_0x5aeb53(0x15e)]['dispose'](),delete this[_0x5aeb53(0x15e)]),this[_0x5aeb53(0x15b)]&&(L['DomUtil'][_0x5aeb53(0x16b)](this[_0x5aeb53(_0xe06098._0x4dd241)]),delete this['_echartsContainer']),this['_map'][_0x5aeb53(_0xe06098._0x468873)](_0x5aeb53(0x168),this[_0x5aeb53(_0xe06098._0x270901)],this),delete this['_map'];}['setZIndex'](_0x5e5ce1){const _0x458b27={_0x31f984:0x15b},_0x417a59=_0x3ece90;this['options']['zIndex']=_0x5e5ce1,this['_echartsContainer']&&(this[_0x417a59(_0x458b27._0x31f984)]['style']['zIndex']=_0x5e5ce1);}['_createChartOverlay'](){const _0x1e2f93={_0x173626:0x196,_0x17c1ab:0x155,_0x3fe52d:0x18f,_0x162647:0x193,_0x145327:0x147,_0x1aed9c:0x17d,_0x467523:0x161,_0x52faad:0x184,_0x50ad7b:0x177},_0x2a04a6=_0x3ece90,_0x27cd9a=this[_0x2a04a6(_0x1e2f93._0x173626)][_0x2a04a6(_0x1e2f93._0x17c1ab)](),_0x2f4de2=document['createElement']('div');_0x2f4de2['style'][_0x2a04a6(0x16d)]='absolute',_0x2f4de2['style']['top']=_0x2a04a6(_0x1e2f93._0x3fe52d),_0x2f4de2['style'][_0x2a04a6(_0x1e2f93._0x162647)]=_0x2a04a6(0x18f),_0x2f4de2[_0x2a04a6(_0x1e2f93._0x145327)][_0x2a04a6(_0x1e2f93._0x1aed9c)]=_0x27cd9a['y']+'px',_0x2f4de2[_0x2a04a6(0x147)]['width']=_0x27cd9a['x']+'px',_0x2f4de2['style'][_0x2a04a6(0x16a)]=this['options']['zIndex']||0x63;const _0x319624=this[_0x2a04a6(0x196)]['getPane'](this[_0x2a04a6(0x163)][_0x2a04a6(_0x1e2f93._0x467523)]||_0x2a04a6(_0x1e2f93._0x52faad));return _0x319624[_0x2a04a6(_0x1e2f93._0x50ad7b)](_0x2f4de2),_0x2f4de2;}['_resizeHandler'](_0x495258){const _0x10ded2={_0x1ec71d:0x15e,_0x236292:0x14b,_0x396829:0x15b},_0x231095=_0x3ece90;if(!this[_0x231095(_0x10ded2._0x1ec71d)])return;const _0xe33944=_0x495258['newSize'];this[_0x231095(0x15b)][_0x231095(0x147)][_0x231095(_0x10ded2._0x236292)]=_0xe33944['x']+'px',this[_0x231095(_0x10ded2._0x396829)]['style']['height']=_0xe33944['y']+'px',this[_0x231095(0x15e)]['resize']();}[_0x3ece90(0x132)](_0x4012e9,_0x66cb97,_0x4a3036){const _0x2311c0={_0x22faf4:0x15e},_0x12a072=_0x3ece90;if(this[_0x12a072(_0x2311c0._0x22faf4)]){const _0x21e1d7={};_0x21e1d7['roam']=!![],_0x4012e9[_0x12a072(0x165)]=_0x4012e9[_0x12a072(0x165)]||_0x21e1d7,this[_0x12a072(_0x2311c0._0x22faf4)]['setOption'](_0x4012e9,_0x66cb97,_0x4a3036);}}['on'](_0x5ec83d,_0x75a365,_0x421c22){const _0x74393d={_0xc4106a:0x15e},_0x5b82af=_0x3ece90;return this[_0x5b82af(_0x74393d._0xc4106a)]['on'](_0x5ec83d,_0x75a365,_0x421c22||this),this;}['onByQuery'](_0xe56850,_0x149781,_0x296040,_0x356c45){const _0x48554b={_0x3cdee7:0x15e},_0x460a26=_0x3ece90;return this[_0x460a26(_0x48554b._0x3cdee7)]['on'](_0xe56850,_0x149781,_0x296040,_0x356c45||this),this;}['off'](_0x435d5b,_0x4ba657,_0x54e8a2){const _0x44143a={_0x4c74e9:0x15e},_0x16b7cb=_0x3ece90;return this[_0x16b7cb(_0x44143a._0x4c74e9)][_0x16b7cb(0x13a)](_0x435d5b,_0x4ba657,_0x54e8a2||this),this;}}mars2d__namespace['layer']['EchartsLayer']=EchartsLayer,mars2d__namespace[_0x3ece90(0x188)]['register']('echarts',EchartsLayer),exports[_0x3ece90(0x156)]=EchartsLayer;function _0x36e6(_0x503b03,_0x214c1f){const _0x3daf69=_0x3daf();return _0x36e6=function(_0x36e68b,_0x303404){_0x36e68b=_0x36e68b-0x129;let _0x2e543a=_0x3daf69[_0x36e68b];if(_0x36e6['QTebcO']===undefined){var _0x4d61db=function(_0x38d0df){const _0x2d2574='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1d0522='',_0x3cbc38='';for(let _0x37abac=0x0,_0x41e545,_0xc4b966,_0x2dd024=0x0;_0xc4b966=_0x38d0df['charAt'](_0x2dd024++);~_0xc4b966&&(_0x41e545=_0x37abac%0x4?_0x41e545*0x40+_0xc4b966:_0xc4b966,_0x37abac++%0x4)?_0x1d0522+=String['fromCharCode'](0xff&_0x41e545>>(-0x2*_0x37abac&0x6)):0x0){_0xc4b966=_0x2d2574['indexOf'](_0xc4b966);}for(let _0xd91d71=0x0,_0x492a36=_0x1d0522['length'];_0xd91d71<_0x492a36;_0xd91d71++){_0x3cbc38+='%'+('00'+_0x1d0522['charCodeAt'](_0xd91d71)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3cbc38);};_0x36e6['NXFIqv']=_0x4d61db,_0x503b03=arguments,_0x36e6['QTebcO']=!![];}const _0x5093f8=_0x3daf69[0x0],_0x124c81=_0x36e68b+_0x5093f8,_0x25db44=_0x503b03[_0x124c81];return!_0x25db44?(_0x2e543a=_0x36e6['NXFIqv'](_0x2e543a),_0x503b03[_0x124c81]=_0x2e543a):_0x2e543a=_0x25db44,_0x2e543a;},_0x36e6(_0x503b03,_0x214c1f);}const _0xc4b966={};_0xc4b966[_0x3ece90(0x180)]=!![],Object['defineProperty'](exports,'__esModule',_0xc4b966);
15
15
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mars2d-echarts",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "description": "Mars2D平台插件,结合echarts可视化功能插件",
5
5
  "main": "dist/mars2d-echarts.js",
6
6
  "files": [
@@ -10,7 +10,7 @@
10
10
  "echarts": "^5.4.0"
11
11
  },
12
12
  "devDependencies": {
13
- "mars2d": "~3.2.3"
13
+ "mars2d": "~3.2.4"
14
14
  },
15
15
  "scripts": {
16
16
  "lint": "eslint ./src/**/*.{js,ts} --fix"