mars2d-echarts 3.2.3 → 3.2.5
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.
- package/dist/mars2d-echarts.js +3 -3
- package/package.json +2 -2
package/dist/mars2d-echarts.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars2D平台插件,结合echarts可视化功能插件 mars2d-echarts
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.2.
|
|
5
|
-
* 编译日期:2024-
|
|
4
|
+
* 版本信息:v3.2.5
|
|
5
|
+
* 编译日期:2024-05-15 15:24:43
|
|
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 _0x41ef6f=_0x2f0c;(function(_0x4bbf81,_0xd0cdc4){const _0x2d8990={_0x1fb2ae:0x1ae,_0x5690e3:0x188,_0x47cb06:0x16c,_0x50e19c:0x19f,_0x1091d8:0x182},_0x503be6=_0x2f0c,_0x2f9394=_0x4bbf81();while(!![]){try{const _0x3f28f3=-parseInt(_0x503be6(0x1c3))/0x1*(-parseInt(_0x503be6(_0x2d8990._0x1fb2ae))/0x2)+-parseInt(_0x503be6(0x165))/0x3*(parseInt(_0x503be6(_0x2d8990._0x5690e3))/0x4)+-parseInt(_0x503be6(0x1c7))/0x5+-parseInt(_0x503be6(0x19c))/0x6+-parseInt(_0x503be6(_0x2d8990._0x47cb06))/0x7+-parseInt(_0x503be6(_0x2d8990._0x50e19c))/0x8*(parseInt(_0x503be6(_0x2d8990._0x1091d8))/0x9)+parseInt(_0x503be6(0x15e))/0xa;if(_0x3f28f3===_0xd0cdc4)break;else _0x2f9394['push'](_0x2f9394['shift']());}catch(_0x585628){_0x2f9394['push'](_0x2f9394['shift']());}}}(_0xfdc6,0xbf58f));function _0xfdc6(){const _0x4b3803=['yMLUza','x21HCe9MzNnLDa','Aw5PDa','mNjNEgL3vG','zwnOyxj0CW','DMfSDwu','B3b0Aw9UCW','BxnuCMfUC2zVCM1pCMLNAw4','z2v0wNi','CgLK','x21HCNmYzf9Tyxa','Bw92zwvUza','zxH0zw5Kq29TCg9Uzw50tw9KzwW','zgf0yvrVug9PBNq','zgL2','z2v0qK1HCa','yw55m2q','yxbWzw5Kq2HPBgq','x19TyxbpzMzZzxq','Bgf0','C2nOzwr1BgvY','Bgf5zxi','rg9TvxrPBa','6k+35BYv5ywLigvJAgfYDhmG5BQtia','mtm0mdC3ovzerhr6yG','CMvTB3zL','B2zM','D2LKDgG','ntq3mJu4nujtsKP3Ca','DMLZAwjPBgL0Eq','DhLWzq','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','q1jt','zM9YrwfJAa','vxrPBa','B25szw1VDMu','C2v0twfWt2zMC2v0','rvbtrZm4ntC','mJG5nZGXmtbfD1rHswG','ywjZ','B25bzgq','x3nOB3C','C3r5Bgu','AgLKzq','y3jLyxrL','mte3uLfLEgnx','C2v0t3b0Aw9U','z2v0','z2v0uM9HBvrYyw5ZzM9YBq','C2HVDW','uhjVAMvJDgLVBG','Cg9ZAxrPB24','nJCWnta5n1ffBfbQuq','yw5PBwf0zwq','z3jHCgHPyW','Cg9PBNruB0rHDge','EKLUzgv4','BwfYCZjKtwfWuM9HBq','A2v5CW','y29VCMrPBMf0zvn5C3rLBq','zgLZCgf0y2Hby3rPB24','z2v0vMLLD1jLy3q','EM9VBwvUza','BgvMDa','CM9HBq','tufyx0XbveLuvurf','Bgf0tg5Nvg9myxLLCLbVAw50','BMv3u2L6zq','zwfJAenVBxbVBMvUDa','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','DgvZDfbYB3a','z2v0u2L6zq','CMvNAxn0zxi','CgfPBNrLCG','odfKELPiB2S','DhjHBNnMB3jTt3jPz2LU','ChjVAMvJDgLVBG','DMLZAwjSzq','BwfW','z2v0ugfUzq','mtmYmZjXvxP0tfG','Bw92zuHHBMrSzxi','zgvMyxvSDe9WDgLVBG','igXLywzSzxqTBgf5zxiGBgvHzMXLDc16B29Tlq','BwfYCZjKtwfW','x3zPzxDWB3j0uM9VDa','zwnjBNn0yw5Jzq','x2fWAq','zgvMyxvSDa','x19LC01VzhvSzq','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','x2vJAgfYDhndB250ywLUzxi','BMfTzq','AgfZtgf5zxi','rwnOyxj0C0XHEwvY','AgvPz2H0','x2vJAgfYDhnjBNn0yw5Jzq','x21HCa','zgLTzw5ZAw9UCW','B3zLCMXHEvbHBMu','mtCZmZq3mM5XwunfuG','CMvNAxn0zxjby3rPB24','x19TB2rLBa','odC1mti4s1nguKjV','CMvZAxPL','y2XHC3noyw1L','zwfJAfnLCMLLCW','twvYy2f0B3i','CgfUzq','qM91BMrPBMDszwn0','Bg5N','z2v0vMLLD3bVCNrsB290','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','EM9VBufUAw1HDgLVBG','zgvMAw5LuhjVCgvYDhK'];_0xfdc6=function(){return _0x4b3803;};return _0xfdc6();}function _interopNamespace(_0x183b8d){const _0x1839b4={_0x4de066:0x172,_0x3a805e:0x159,_0xad4ac5:0x190},_0x2bdb7d={_0x4cd519:0x1ca,_0x52c674:0x1aa,_0x3fdf51:0x167},_0x23c94c=_0x2f0c;if(_0x183b8d&&_0x183b8d[_0x23c94c(0x191)])return _0x183b8d;var _0x368205=Object[_0x23c94c(0x164)](null);return _0x183b8d&&Object[_0x23c94c(_0x1839b4._0x4de066)](_0x183b8d)[_0x23c94c(_0x1839b4._0x3a805e)](function(_0x5b7797){const _0x64ac2d=_0x23c94c;if(_0x5b7797!==_0x64ac2d(0x190)){var _0x26ca66=Object[_0x64ac2d(_0x2bdb7d._0x4cd519)](_0x183b8d,_0x5b7797);Object[_0x64ac2d(_0x2bdb7d._0x52c674)](_0x368205,_0x5b7797,_0x26ca66[_0x64ac2d(_0x2bdb7d._0x3fdf51)]?_0x26ca66:{'enumerable':!![],'get':function(){return _0x183b8d[_0x5b7797];}});}}),_0x368205[_0x23c94c(_0x1839b4._0xad4ac5)]=_0x183b8d,_0x368205;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);function _0x2f0c(_0x116239,_0x5cd64f){const _0xfdc635=_0xfdc6();return _0x2f0c=function(_0x2f0c54,_0x5a66fd){_0x2f0c54=_0x2f0c54-0x159;let _0x1e3fd8=_0xfdc635[_0x2f0c54];if(_0x2f0c['XerNCF']===undefined){var _0x4ac058=function(_0xfe8a23){const _0x2e715b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3b9ce2='',_0x146ad2='';for(let _0x59f272=0x0,_0x71fca1,_0x335361,_0x183b8d=0x0;_0x335361=_0xfe8a23['charAt'](_0x183b8d++);~_0x335361&&(_0x71fca1=_0x59f272%0x4?_0x71fca1*0x40+_0x335361:_0x335361,_0x59f272++%0x4)?_0x3b9ce2+=String['fromCharCode'](0xff&_0x71fca1>>(-0x2*_0x59f272&0x6)):0x0){_0x335361=_0x2e715b['indexOf'](_0x335361);}for(let _0x368205=0x0,_0x5b7797=_0x3b9ce2['length'];_0x368205<_0x5b7797;_0x368205++){_0x146ad2+='%'+('00'+_0x3b9ce2['charCodeAt'](_0x368205)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x146ad2);};_0x2f0c['fCOZjh']=_0x4ac058,_0x116239=arguments,_0x2f0c['XerNCF']=!![];}const _0x182235=_0xfdc635[0x0],_0x16234b=_0x2f0c54+_0x182235,_0x543246=_0x116239[_0x16234b];return!_0x543246?(_0x1e3fd8=_0x2f0c['fCOZjh'](_0x1e3fd8),_0x116239[_0x16234b]=_0x1e3fd8):_0x1e3fd8=_0x543246,_0x1e3fd8;},_0x2f0c(_0x116239,_0x5cd64f);}const L$1=mars2d__namespace['L'];class CompositeCoordinateSystem{constructor(_0x501857,_0x3dfae2){const _0x44c62e={_0x44b482:0x1a6,_0x1273c7:0x1be,_0x149ac6:0x16a},_0x270fcb=_0x2f0c;this['_mars2d_map']=_0x501857,this['dimensions']=[_0x270fcb(_0x44c62e._0x44b482),_0x270fcb(_0x44c62e._0x1273c7)],this[_0x270fcb(0x1ac)]=[0x0,0x0],this['_api']=_0x3dfae2,this['_projection']=L$1[_0x270fcb(_0x44c62e._0x149ac6)][_0x270fcb(0x1a3)];}[_0x41ef6f(0x15c)](_0x450caf){const _0x21287b={_0x35f158:0x1ac},_0x59ad81=_0x41ef6f;this[_0x59ad81(_0x21287b._0x35f158)]=_0x450caf;}['getBMap'](){const _0x3481c1={_0x437a33:0x1b5},_0x208352=_0x41ef6f;return this[_0x208352(_0x3481c1._0x437a33)];}['prepareCustoms'](){const _0x507c32={_0x34c656:0x1c9,_0x372e1a:0x1c6,_0x4b6dfa:0x197,_0x358eec:0x1b8,_0x10d2cd:0x1ab},_0x5111e6={_0x275e33:0x186},_0x1fe342=_0x41ef6f,_0x2630e6=echarts__namespace['util'],_0x3448aa=this[_0x1fe342(0x175)](),_0x44a3e7={};_0x44a3e7[_0x1fe342(_0x507c32._0x34c656)]=_0x1fe342(0x18c),_0x44a3e7['x']=_0x3448aa['x'],_0x44a3e7['y']=_0x3448aa['y'],_0x44a3e7[_0x1fe342(0x1c6)]=_0x3448aa[_0x1fe342(_0x507c32._0x372e1a)],_0x44a3e7[_0x1fe342(0x197)]=_0x3448aa[_0x1fe342(_0x507c32._0x4b6dfa)];return{'coordSys':_0x44a3e7,'api':{'coord':_0x2630e6['bind'](this[_0x1fe342(_0x507c32._0x358eec)],this),'size':_0x2630e6[_0x1fe342(_0x507c32._0x10d2cd)](_0x5ac60d,this)}};function _0x5ac60d(_0x2a86e5,_0x361a10){const _0x5c95c6=_0x1fe342;return _0x361a10=_0x361a10||[0x0,0x0],_0x2630e6[_0x5c95c6(_0x5111e6._0x275e33)]([0x0,0x1],function(_0x37410e){const _0x1631ef=_0x5c95c6,_0x297a62=_0x361a10[_0x37410e],_0x189c2d=_0x2a86e5[_0x37410e]/0x2,_0x25fc44=[],_0x7fffa8=[];return _0x25fc44[_0x37410e]=_0x297a62-_0x189c2d,_0x7fffa8[_0x37410e]=_0x297a62+_0x189c2d,_0x25fc44[0x1-_0x37410e]=_0x7fffa8[0x1-_0x37410e]=_0x361a10[0x1-_0x37410e],Math[_0x1631ef(0x15f)](this['dataToPoint'](_0x25fc44)[_0x37410e]-this[_0x1631ef(0x1b8)](_0x7fffa8)[_0x37410e]);},this);}}['dataToPoint'](_0x5ecc51){const _0x4c8994={_0x589fb3:0x1cb,_0x3325ed:0x15d,_0x4ad3d8:0x179,_0x55ac4a:0x17a,_0x38679b:0x1ac},_0x473c18=_0x41ef6f;_0x5ecc51[0x1]===null&&(_0x5ecc51[0x1]=L$1[_0x473c18(_0x4c8994._0x589fb3)][_0x473c18(_0x4c8994._0x3325ed)][_0x473c18(0x184)][_0x473c18(_0x4c8994._0x4ad3d8)]);const _0x5ec2e8=this[_0x473c18(0x1b5)][_0x473c18(_0x4c8994._0x55ac4a)]([_0x5ecc51[0x1],_0x5ecc51[0x0]]),_0x275ce7=this[_0x473c18(_0x4c8994._0x38679b)];return[_0x5ec2e8['x']-_0x275ce7[0x0],_0x5ec2e8['y']-_0x275ce7[0x1]];}[_0x41ef6f(0x16f)](_0x5b7fea){const _0x3a4405={_0x412731:0x1a6},_0x58742b=_0x41ef6f,_0x4564f1=this[_0x58742b(0x1ac)],_0x17d598=this[_0x58742b(0x1b5)]['layerPointToLatLng']([_0x5b7fea[0x0]+_0x4564f1[0x0],_0x5b7fea[0x1]+_0x4564f1[0x1]]);return[_0x17d598[_0x58742b(_0x3a4405._0x412731)],_0x17d598['lat']];}[_0x41ef6f(0x175)](){const _0x254e8d={_0x43e2e1:0x16e,_0x42c628:0x1a5},_0x5d3f43=_0x41ef6f,_0x44a49e=this['_mars2d_map'][_0x5d3f43(0x17f)]();return new echarts__namespace[(_0x5d3f43(_0x254e8d._0x43e2e1))][(_0x5d3f43(_0x254e8d._0x42c628))](0x0,0x0,_0x44a49e['x'],_0x44a49e['y']);}[_0x41ef6f(0x168)](){const _0x23e7b5=_0x41ef6f;return echarts__namespace['matrix'][_0x23e7b5(0x164)]();}}CompositeCoordinateSystem[_0x41ef6f(0x19a)]=['lng','lat'],CompositeCoordinateSystem[_0x41ef6f(0x164)]=function(_0xe63ca5,_0x2f74e8){const _0x379588={_0x24b46e:0x1b5,_0x1d6916:0x17c,_0x57c4eb:0x18c},_0x53ef60={_0xbce1fd:0x167,_0x22463d:0x173},_0x430444={_0x43ebdd:0x181,_0x19e5d6:0x173},_0x4bcb99=_0x41ef6f;let _0x459e6b;const _0x440b80=_0xe63ca5['scheduler']['ecInstance'][_0x4bcb99(_0x379588._0x24b46e)];_0xe63ca5[_0x4bcb99(_0x379588._0x1d6916)](_0x4bcb99(_0x379588._0x57c4eb),function(_0x23c5e2){const _0x4e60b1=_0x4bcb99,_0x5ede7c=_0x2f74e8[_0x4e60b1(0x1b3)]()[_0x4e60b1(_0x430444._0x43ebdd)];if(!_0x5ede7c)return;!_0x459e6b&&(_0x459e6b=new CompositeCoordinateSystem(_0x440b80,_0x2f74e8)),_0x23c5e2[_0x4e60b1(_0x430444._0x19e5d6)]=_0x459e6b,_0x459e6b['setMapOffset'](_0x23c5e2['__mapOffset']||[0x0,0x0]);}),_0xe63ca5[_0x4bcb99(0x1a2)](function(_0x3b79f0){const _0x3fa021=_0x4bcb99;_0x3b79f0[_0x3fa021(_0x53ef60._0xbce1fd)](_0x3fa021(_0x53ef60._0x22463d))===_0x3fa021(0x18c)&&(!_0x459e6b&&(_0x459e6b=new CompositeCoordinateSystem(_0x440b80)),_0x3b79f0['coordinateSystem']=_0x459e6b);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace['init']){echarts__namespace[_0x41ef6f(0x17d)]('mars2dMap',CompositeCoordinateSystem);const _0x2e715b={};_0x2e715b[_0x41ef6f(0x1c9)]=_0x41ef6f(0x171),_0x2e715b['event']='mars2dMapRoam',_0x2e715b['update']='updateLayout',echarts__namespace[_0x41ef6f(0x19d)](_0x2e715b,function(_0x35d080,_0x5d46ac){});const _0x3b9ce2={};_0x3b9ce2[_0x41ef6f(0x178)]=![];const _0x146ad2={};_0x146ad2[_0x41ef6f(0x1c9)]=_0x41ef6f(0x18c),_0x146ad2[_0x41ef6f(0x1ba)]=function(){const _0x5dda6d=_0x41ef6f;return this[_0x5dda6d(0x1b5)];},_0x146ad2[_0x41ef6f(0x18a)]=_0x3b9ce2,echarts__namespace[_0x41ef6f(0x1b7)](_0x146ad2),echarts__namespace['extendComponentView']({'type':'mars2dMap','init':function(_0x55c53d,_0x291662){const _0x51d769={_0x3921be:0x18f,_0x4d5f6b:0x1bf,_0x5c4daf:0x18e,_0x5743d8:0x1b5,_0x5926eb:0x1bf,_0x2c2dcf:0x1b5,_0x5a1243:0x181,_0x58804b:0x1bb,_0x4ee4a1:0x1a1,_0x493b61:0x16d,_0xa35ecc:0x163,_0x4041c2:0x17e,_0xe69ed5:0x1b2,_0x34ba96:0x199},_0x265a9d=_0x41ef6f;this[_0x265a9d(_0x51d769._0x3921be)]=_0x291662,this['_map']=_0x55c53d[_0x265a9d(_0x51d769._0x4d5f6b)][_0x265a9d(_0x51d769._0x5c4daf)][_0x265a9d(_0x51d769._0x5743d8)];const _0x33f608=_0x55c53d[_0x265a9d(_0x51d769._0x5926eb)][_0x265a9d(_0x51d769._0x5c4daf)][_0x265a9d(_0x51d769._0x2c2dcf)],_0x30365b=_0x291662['getZr']()[_0x265a9d(_0x51d769._0x5a1243)][_0x265a9d(0x1a7)](),_0x4beaae=_0x33f608['options'][_0x265a9d(0x1a9)]&&L$1['Browser'][_0x265a9d(_0x51d769._0x58804b)];_0x30365b[_0x265a9d(_0x51d769._0x4ee4a1)]=_0x265a9d(0x18b)+(_0x4beaae?_0x265a9d(_0x51d769._0x493b61):_0x265a9d(_0x51d769._0xa35ecc))+'\x20echarts-layer';const _0x1c5684=L$1[_0x265a9d(0x1c1)][_0x265a9d(_0x51d769._0x4041c2)]([_0x265a9d(0x183),_0x265a9d(0x1a8),_0x265a9d(_0x51d769._0xe69ed5)]);_0x30365b['style'][_0x1c5684]='50%\x2050%',this['_viewportRoot']=_0x30365b,this[_0x265a9d(_0x51d769._0x34ba96)]['on']('moveend',this['moveHandler'],this),this['_map']['on']('zoomend',this[_0x265a9d(0x189)],this);},'moveHandler'(){const _0x305613={_0x5457c2:0x162,_0x2c2ac7:0x1bd,_0x304437:0x173,_0x14d8d9:0x171,_0x5a1fba:0x18f},_0x374384=_0x41ef6f,_0x611ba0=this['_map'][_0x374384(0x192)]([0x0,0x0]),_0x258997=[_0x611ba0['x']||0x0,_0x611ba0['y']||0x0];this['_viewportRoot'][_0x374384(0x162)][_0x374384(0x177)]=_0x258997[0x0]+'px',this[_0x374384(0x18d)][_0x374384(_0x305613._0x5457c2)]['top']=_0x258997[0x1]+'px';const _0x3293fb=this[_0x374384(0x19e)];_0x3293fb[_0x374384(_0x305613._0x2c2ac7)]=_0x258997;_0x3293fb!==null&&_0x3293fb!==void 0x0&&_0x3293fb[_0x374384(_0x305613._0x304437)]&&_0x3293fb[_0x374384(0x173)]['setMapOffset'](_0x258997);const _0x43c8d2={};_0x43c8d2[_0x374384(0x1c9)]=_0x374384(_0x305613._0x14d8d9),this[_0x374384(_0x305613._0x5a1fba)][_0x374384(0x174)](_0x43c8d2);},'dispose':function(_0x42bce4){const _0x48bc9b={_0x3f8d13:0x199,_0x4baf9c:0x1c5,_0x5e825d:0x176,_0xad0ce7:0x189},_0x1d8e73=_0x41ef6f;this[_0x1d8e73(_0x48bc9b._0x3f8d13)][_0x1d8e73(0x1c5)](_0x1d8e73(0x1b6),this['moveHandler'],this),this[_0x1d8e73(_0x48bc9b._0x3f8d13)][_0x1d8e73(_0x48bc9b._0x4baf9c)](_0x1d8e73(_0x48bc9b._0x5e825d),this[_0x1d8e73(_0x48bc9b._0xad0ce7)],this);}});}else throw new Error('请引入\x20echarts\x20库');const L=mars2d__namespace['L'];class EchartsLayer extends L['Layer']{constructor(_0x4f0703={}){const _0x42c800={_0x64b706:0x1b1,_0x5921cf:0x15a,_0x586ec2:0x1b4},_0x7157f=_0x41ef6f;var _0x52d367,_0x2f2517;super(_0x4f0703),this[_0x7157f(_0x42c800._0x64b706)]=_0x4f0703,L[_0x7157f(_0x42c800._0x5921cf)]['stamp'](this),this['options']['id']=(_0x52d367=this['options']['id'])!==null&&_0x52d367!==void 0x0?_0x52d367:mars2d__namespace['Util']['createGuid'](),this[_0x7157f(_0x42c800._0x64b706)][_0x7157f(_0x42c800._0x586ec2)]=(_0x2f2517=this['options']['pid'])!==null&&_0x2f2517!==void 0x0?_0x2f2517:-0x1;}get['isAdded'](){const _0x5e8cf2=_0x41ef6f;return this['_map']&&this[_0x5e8cf2(0x199)][_0x5e8cf2(0x195)](this);}get[_0x41ef6f(0x1b4)](){const _0xe0750={_0x310ccb:0x1b1},_0x3155b9=_0x41ef6f;return this[_0x3155b9(_0xe0750._0x310ccb)]['pid'];}set[_0x41ef6f(0x1b4)](_0x37c3fe){const _0x1b2a3f={_0x121843:0x1b1},_0x2f5325=_0x41ef6f;this[_0x2f5325(_0x1b2a3f._0x121843)][_0x2f5325(0x1b4)]=_0x37c3fe;}get['id'](){const _0x33307c={_0x39f95a:0x1b1},_0x5085d7=_0x41ef6f;return this[_0x5085d7(_0x33307c._0x39f95a)]['id'];}set['id'](_0x3e6a7e){const _0xa6c306={_0x539e67:0x1b1},_0x2906f6=_0x41ef6f;this[_0x2906f6(_0xa6c306._0x539e67)]['id']=_0x3e6a7e;}get[_0x41ef6f(0x194)](){const _0x5d829d=_0x41ef6f;return this[_0x5d829d(0x1b1)]['name'];}set['name'](_0x568018){const _0x5ea95c={_0x336a6d:0x1b1,_0x5d46cc:0x194},_0x3d52c8=_0x41ef6f;this[_0x3d52c8(_0x5ea95c._0x336a6d)][_0x3d52c8(_0x5ea95c._0x5d46cc)]=_0x568018;}get[_0x41ef6f(0x1c0)](){const _0x24c2d7={_0x25e4f7:0x198},_0x3e1536=_0x41ef6f;return this[_0x3e1536(_0x24c2d7._0x25e4f7)];}get['show'](){const _0x17c519={_0x55fa9e:0x161},_0x4863f5=_0x41ef6f;return this[_0x4863f5(_0x17c519._0x55fa9e)];}set[_0x41ef6f(0x169)](_0x2b07d0){const _0x21dd24={_0x10d071:0x161,_0x2613e4:0x185,_0x53b1f1:0x162},_0x2931cf=_0x41ef6f;this[_0x2931cf(_0x21dd24._0x10d071)]=_0x2b07d0,_0x2b07d0?this[_0x2931cf(0x193)][_0x2931cf(0x162)][_0x2931cf(0x1c8)]=_0x2931cf(_0x21dd24._0x2613e4):this['_echartsContainer'][_0x2931cf(_0x21dd24._0x53b1f1)]['visibility']='hidden';}[_0x41ef6f(0x160)](_0x7e4684){const _0x2cec35={_0x87ba3d:0x1c2,_0xb45768:0x199},_0x2348d5=_0x41ef6f;if(!echarts__namespace)throw new Error(_0x2348d5(_0x2cec35._0x87ba3d));this['_map']=_0x7e4684,this[_0x2348d5(0x193)]=this['_createChartOverlay'](),this['_echartsInstance']=echarts__namespace[_0x2348d5(0x1ad)](this[_0x2348d5(0x193)]),this['_echartsInstance']['_mars2d_map']=_0x7e4684,this['setEchartsOption'](this['options']),this[_0x2348d5(_0x2cec35._0xb45768)]['on']('resize',this['_resizeHandler'],this);}[_0x41ef6f(0x15b)](){const _0x53d7df={_0x56f90e:0x198,_0x1393d6:0x198,_0xc28827:0x198,_0xf608f8:0x1c1,_0x5052f9:0x199},_0x3c99d0=_0x41ef6f;this['_echartsInstance']&&(this[_0x3c99d0(_0x53d7df._0x56f90e)]['clear'](),this[_0x3c99d0(_0x53d7df._0x1393d6)]['dispose'](),delete this[_0x3c99d0(_0x53d7df._0xc28827)]),this[_0x3c99d0(0x193)]&&(L[_0x3c99d0(_0x53d7df._0xf608f8)][_0x3c99d0(0x1c4)](this[_0x3c99d0(0x193)]),delete this[_0x3c99d0(0x193)]),this[_0x3c99d0(_0x53d7df._0x5052f9)][_0x3c99d0(0x1c5)](_0x3c99d0(0x1a0),this['_resizeHandler'],this),delete this[_0x3c99d0(_0x53d7df._0x5052f9)];}['setZIndex'](_0x13cdaf){const _0x261c35={_0x2cc27c:0x1b1,_0x185669:0x170,_0xff55f8:0x193,_0x1a9fea:0x193,_0x1bc970:0x162},_0x4751af=_0x41ef6f;this[_0x4751af(_0x261c35._0x2cc27c)][_0x4751af(_0x261c35._0x185669)]=_0x13cdaf,this[_0x4751af(_0x261c35._0xff55f8)]&&(this[_0x4751af(_0x261c35._0x1a9fea)][_0x4751af(_0x261c35._0x1bc970)]['zIndex']=_0x13cdaf);}['_createChartOverlay'](){const _0x41bd9d={_0x5a4820:0x17f,_0x110dac:0x16b,_0x4745dd:0x162,_0x4b6f66:0x177,_0x419421:0x162,_0x3c8b73:0x162,_0xbeca1e:0x170,_0x126156:0x199},_0x3480fe=_0x41ef6f,_0x8b6c90=this['_map'][_0x3480fe(_0x41bd9d._0x5a4820)](),_0x5e04f4=document['createElement'](_0x3480fe(0x1b9));_0x5e04f4['style'][_0x3480fe(_0x41bd9d._0x110dac)]='absolute',_0x5e04f4[_0x3480fe(0x162)]['top']='0px',_0x5e04f4[_0x3480fe(_0x41bd9d._0x4745dd)][_0x3480fe(_0x41bd9d._0x4b6f66)]='0px',_0x5e04f4[_0x3480fe(_0x41bd9d._0x419421)][_0x3480fe(0x197)]=_0x8b6c90['y']+'px',_0x5e04f4[_0x3480fe(0x162)]['width']=_0x8b6c90['x']+'px',_0x5e04f4[_0x3480fe(_0x41bd9d._0x3c8b73)][_0x3480fe(_0x41bd9d._0xbeca1e)]=this['options'][_0x3480fe(_0x41bd9d._0xbeca1e)]||0x63;const _0x3c0c4f=this[_0x3480fe(_0x41bd9d._0x126156)][_0x3480fe(0x187)](this[_0x3480fe(0x1b1)][_0x3480fe(0x1a4)]||_0x3480fe(0x19b));return _0x3c0c4f[_0x3480fe(0x1bc)](_0x5e04f4),_0x5e04f4;}['_resizeHandler'](_0x4e0550){const _0x592a8d={_0x4a1d78:0x17b,_0x2d1d32:0x1c6,_0x149759:0x162,_0x4b9af1:0x197},_0x3c9c11=_0x41ef6f;if(!this['_echartsInstance'])return;const _0x5ade21=_0x4e0550[_0x3c9c11(_0x592a8d._0x4a1d78)];this[_0x3c9c11(0x193)]['style'][_0x3c9c11(_0x592a8d._0x2d1d32)]=_0x5ade21['x']+'px',this['_echartsContainer'][_0x3c9c11(_0x592a8d._0x149759)][_0x3c9c11(_0x592a8d._0x4b9af1)]=_0x5ade21['y']+'px',this[_0x3c9c11(0x198)]['resize']();}['setEchartsOption'](_0x138e02,_0x2a6ffa,_0x4f3737){const _0x2b924e={_0x4d3837:0x178,_0x2699ce:0x18c},_0x278ae9=_0x41ef6f;if(this['_echartsInstance']){const _0x42a47e={};_0x42a47e[_0x278ae9(_0x2b924e._0x4d3837)]=!![],_0x138e02['mars2dMap']=_0x138e02[_0x278ae9(_0x2b924e._0x2699ce)]||_0x42a47e,this['_echartsInstance'][_0x278ae9(0x166)](_0x138e02,_0x2a6ffa,_0x4f3737);}}['on'](_0x5c0fdb,_0x5bd83f,_0x24d125){const _0x43f1f8={_0x343ab8:0x198},_0x35f5ba=_0x41ef6f;return this[_0x35f5ba(_0x43f1f8._0x343ab8)]['on'](_0x5c0fdb,_0x5bd83f,_0x24d125||this),this;}['onByQuery'](_0x35f48d,_0x34fe16,_0x5a9d22,_0x55c0a5){const _0x4ca13e=_0x41ef6f;return this[_0x4ca13e(0x198)]['on'](_0x35f48d,_0x34fe16,_0x5a9d22,_0x55c0a5||this),this;}['off'](_0x10b840,_0x25bac0,_0x5ab736){return this['_echartsInstance']['off'](_0x10b840,_0x25bac0,_0x5ab736||this),this;}}mars2d__namespace[_0x41ef6f(0x1c0)]['EchartsLayer']=EchartsLayer,mars2d__namespace['LayerUtil'][_0x41ef6f(0x180)](_0x41ef6f(0x1af),EchartsLayer),exports[_0x41ef6f(0x196)]=EchartsLayer;const _0x335361={};_0x335361[_0x41ef6f(0x1b0)]=!![],Object['defineProperty'](exports,_0x41ef6f(0x191),_0x335361);
|
|
15
15
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars2d-echarts",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.5",
|
|
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.
|
|
13
|
+
"mars2d": "~3.2.5"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|