mars3d-echarts 3.8.1 → 3.8.2
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/mars3d-echarts.js +3 -3
- package/package.json +2 -2
package/dist/mars3d-echarts.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars3D平台插件,结合echarts可视化功能插件 mars3d-echarts
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.8.
|
|
5
|
-
* 编译日期:2024-09-
|
|
4
|
+
* 版本信息:v3.8.2
|
|
5
|
+
* 编译日期:2024-09-10 17:56:32
|
|
6
6
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
7
7
|
* 使用单位:免费公开版 ,2024-08-01
|
|
8
8
|
*/
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
typeof define === 'function' && define.amd ? define(['exports', 'echarts', 'mars3d'], factory) :
|
|
12
12
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-echarts"] = {}, global.echarts, global.mars3d));
|
|
13
13
|
})(this, (function (exports, echarts, mars3d) {
|
|
14
|
-
'use strict';(function(_0x53be16,_0x46975a){const _0x1ee5f7={_0x18aaf6:0xbc,_0x5976d4:0x214,_0x395d0a:0xb8,_0x356127:0x8c,_0x28b45e:0x262,_0x4081c9:0x287};function _0x5cb6d4(_0x55d4f0,_0x583a44){return _0x3872(_0x583a44- -0x229,_0x55d4f0);}function _0x1a1a55(_0x9c2597,_0x5d3865){return _0x3872(_0x9c2597- -0x3c1,_0x5d3865);}const _0x3fead0=_0x53be16();while(!![]){try{const _0x3f8f9f=-parseInt(_0x5cb6d4(-0x9c,-_0x1ee5f7._0x18aaf6))/0x1+parseInt(_0x1a1a55(-_0x1ee5f7._0x5976d4,-0x215))/0x2+-parseInt(_0x5cb6d4(-0xe7,-0xcd))/0x3+-parseInt(_0x1a1a55(-0x25c,-0x277))/0x4+parseInt(_0x5cb6d4(-0xcb,-_0x1ee5f7._0x395d0a))/0x5*(parseInt(_0x5cb6d4(-0xaa,-_0x1ee5f7._0x356127))/0x6)+-parseInt(_0x1a1a55(-_0x1ee5f7._0x28b45e,-_0x1ee5f7._0x4081c9))/0x7*(parseInt(_0x5cb6d4(-0xd7,-0xb9))/0x8)+-parseInt(_0x5cb6d4(-0x53,-0x7b))/0x9*(-parseInt(_0x1a1a55(-0x23c,-0x216))/0xa);if(_0x3f8f9f===_0x46975a)break;else _0x3fead0['push'](_0x3fead0['shift']());}catch(_0x36baa3){_0x3fead0['push'](_0x3fead0['shift']());}}}(_0x51c0,0x20bf1));function _interopNamespace(_0x4217bb){const _0xe2c261={_0xd7977a:0x114,_0x1179d5:0x2c7,_0xdd984a:0x107,_0x13b66d:0xdc},_0x4c490a={_0x30bf55:0x30b};if(_0x4217bb&&_0x4217bb[_0x4a6ec2(0xbe,0xc4)])return _0x4217bb;function _0x4a6ec2(_0x5e6de9,_0x581fcd){return _0x3872(_0x581fcd- -0xb8,_0x5e6de9);}var _0x13c3d1=Object[_0x4d5146(-0x189,-0x1b2)](null);function _0x4d5146(_0x514801,_0x31ad0e){return _0x3872(_0x514801- -_0x4c490a._0x30bf55,_0x31ad0e);}return _0x4217bb&&Object['keys'](_0x4217bb)['forEach'](function(_0x3f02c9){const _0xe2ceb2={_0x409e5f:0x47a};function _0x240c4c(_0x2c39fa,_0x123b7f){return _0x4a6ec2(_0x123b7f,_0x2c39fa-0x35);}function _0x8df3f9(_0x4966d2,_0x6aab90){return _0x4d5146(_0x6aab90-_0xe2ceb2._0x409e5f,_0x4966d2);}if(_0x3f02c9!=='default'){var _0x17c4e7=Object[_0x240c4c(0x10b,_0xe2c261._0xd7977a)](_0x4217bb,_0x3f02c9);Object[_0x8df3f9(0x29e,_0xe2c261._0x1179d5)](_0x13c3d1,_0x3f02c9,_0x17c4e7[_0x240c4c(_0xe2c261._0xdd984a,_0xe2c261._0x13b66d)]?_0x17c4e7:{'enumerable':!![],'get':function(){return _0x4217bb[_0x3f02c9];}});}}),_0x13c3d1['default']=_0x4217bb,_0x13c3d1;}var echarts__namespace=_interopNamespace(echarts),mars3d__namespace=_interopNamespace(mars3d);const Cesium$1=mars3d__namespace['Cesium'];class CompositeCoordinateSystem{constructor(_0xa71d94,_0x505c42){const _0x14aef9={_0x2019e5:0xe4};this['_mars3d_scene']=_0xa71d94,this['dimensions']=['lng',_0x485746(0x256,0x266)],this['_mapOffset']=[0x0,0x0];function _0x485746(_0x5c1ea7,_0x395fc0){return _0x3872(_0x5c1ea7-_0x14aef9._0x2019e5,_0x395fc0);}this['_api']=_0x505c42;}['setMapOffset'](_0x54a3ac){this['_mapOffset']=_0x54a3ac;}['getBMap'](){return this['_mars3d_scene'];}[_0x3ebe6d(0x30,0x5b)](_0x30b417){const _0x5640e5={_0x2136a6:0x141,_0x46ec7e:0x15a,_0x43ac6b:0x213,_0x2f73d0:0x106,_0x28ee27:0x1f9},_0x5014da={_0xa372fb:0x237},_0x49f41f=this['_mars3d_scene'];function _0x250ba7(_0x527c6c,_0x2711da){return _0x3ebe6d(_0x527c6c- -_0x5014da._0xa372fb,_0x2711da);}const _0x39ceeb=[NaN,NaN];let _0x32f97d=_0x49f41f['echartsFixedHeight'];function _0x279e7c(_0x111832,_0x5ad6b4){return _0x3ebe6d(_0x111832- -0x13f,_0x5ad6b4);}_0x49f41f[_0x250ba7(-0x217,-0x213)]&&(_0x32f97d=_0x49f41f[_0x279e7c(-0x111,-0x111)](Cesium$1[_0x279e7c(-_0x5640e5._0x2136a6,-0x124)]['fromDegrees'](_0x30b417[0x0],_0x30b417[0x1])));const _0x4ca19d=Cesium$1[_0x279e7c(-0x124,-0x112)]['fromDegrees'](_0x30b417[0x0],_0x30b417[0x1],_0x32f97d);if(!_0x4ca19d)return _0x39ceeb;const _0x4eec51=mars3d__namespace[_0x279e7c(-0x154,-_0x5640e5._0x46ec7e)]['toWindowCoordinates'](_0x49f41f,_0x4ca19d);if(!_0x4eec51)return _0x39ceeb;if(_0x49f41f['echartsDepthTest']&&_0x49f41f['mode']===Cesium$1['SceneMode']['SCENE3D']){const _0x2f3ab2=new Cesium$1['EllipsoidalOccluder'](_0x49f41f[_0x250ba7(-_0x5640e5._0x43ac6b,-0x1ee)]['ellipsoid'],_0x49f41f['camera'][_0x279e7c(-_0x5640e5._0x2f73d0,-0xe8)]),_0x2f6722=_0x2f3ab2['isPointVisible'](_0x4ca19d);if(!_0x2f6722)return _0x39ceeb;}return[_0x4eec51['x']-this['_mapOffset'][0x0],_0x4eec51['y']-this[_0x250ba7(-_0x5640e5._0x28ee27,-0x1ec)][0x1]];}[_0x56c395(0x383,0x35a)](){const _0x3cb9c8=this['_api'];return new echarts__namespace['graphic']['BoundingRect'](0x0,0x0,_0x3cb9c8['getWidth'](),_0x3cb9c8['getHeight']());}['getRoamTransform'](){return echarts__namespace['matrix']['create']();}}CompositeCoordinateSystem['dimensions']=['lng',_0x56c395(0x38d,0x376)],CompositeCoordinateSystem['create']=function(_0x4bbd29,_0x1edb6f){const _0x37d941={_0x103fa5:0x53a},_0x3095b3={_0x23a1cc:0xa9,_0x4e703e:0xaf},_0x697f11={_0x2877fa:0x48e},_0x2fb01c={_0x1c7a9b:0x497},_0x491e49={_0x156fec:0x192};let _0x17f8ea;function _0x501c67(_0x226623,_0x36d092){return _0x3ebe6d(_0x36d092- -0x15,_0x226623);}const _0x158eda=_0x4bbd29[_0xd2033f(0x53a,_0x37d941._0x103fa5)]['ecInstance']['_mars3d_scene'];function _0xd2033f(_0x4c8f9c,_0x4dcab5){return _0x56c395(_0x4dcab5-_0x491e49._0x156fec,_0x4c8f9c);}_0x4bbd29[_0xd2033f(0x540,0x52a)]('mars3dMap',function(_0x372bb6){const _0x168934=_0x1edb6f['getZr']()['painter'];if(!_0x168934)return;function _0x32673e(_0x36e004,_0x410943){return _0x501c67(_0x410943,_0x36e004-_0x2fb01c._0x1c7a9b);}!_0x17f8ea&&(_0x17f8ea=new CompositeCoordinateSystem(_0x158eda,_0x1edb6f)),_0x372bb6[_0x32673e(_0x697f11._0x2877fa,0x4b7)]=_0x17f8ea,_0x17f8ea['setMapOffset'](_0x372bb6['__mapOffset']||[0x0,0x0]);}),_0x4bbd29['eachSeries'](function(_0x4e8797){function _0x8d143a(_0x494832,_0x44096c){return _0xd2033f(_0x494832,_0x44096c- -0x476);}_0x4e8797['get']('coordinateSystem')==='mars3dMap'&&(!_0x17f8ea&&(_0x17f8ea=new CompositeCoordinateSystem(_0x158eda,_0x1edb6f)),_0x4e8797[_0x8d143a(_0x3095b3._0x23a1cc,_0x3095b3._0x4e703e)]=_0x17f8ea);});};function _0x56c395(_0x47fa6e,_0x3bbe5a){return _0x3872(_0x47fa6e-0x21b,_0x3bbe5a);}function _0x51c0(){const _0xd3568c=['y2XPzw50sgvPz2H0','x21HCe9MzNnLDa','C2nLBMu','ywXS','mtqYnZu2teXRvenh','owfzzwzdzq','Eg1PBG','ug9PBNruCMfUCW','zgvMAw5LuhjVCgvYDhK','x21HCNmZzf9Zy2vUzq','rwnOyxj0C0XHEwvY','zgvWDgHuzxn0','ndK4ndi5vxDsA1zR','zwnOyxj0CW','B2zM','mZK4ntHWCgTTwLa','zNjVBurLz3jLzxm','Aw5PDa','C2v0rwnOyxj0C09WDgLVBG','y2XPzw50v2LKDgG','Ew1PBG','mty4ndKYqvPzyM1L','Bwf4','AxngB3jTyxq','z2v0vMLLD1jLy3q','zwnOyxj0C0zPEgvKsgvPz2H0','q2fYDg9NCMfWAgLJ','zxzLBNq','zgLZCg9Zzq','mZC1otDXBgPHBeS','y2XHBxbuB0DYB3vUza','y29UDgfPBMvY','mZa0DxjjANr3','nJG1wej3zff2','Bgf0','D2LKDgG','C3r5Bgu','yxbP','B3b0Aw9UCW','zgvMyxvSDe9WDgLVBG','y29VCMrPBMf0zvn5C3rLBq','CM9HBq','Bgf5zxi','zgf0yq','x19LC01VzhvSzq','zwfJAenVBxbVBMvUDa','x3nOB3DiB29R','x3nLDe9WDgLVBNniB29R','Cg9PBNrLCKv2zw50CW','z2v0uMvJDgfUz2XL','y3jLyxrL','q2vZAxvT','rg9TvxrPBa','mZK1mJq3mgjRv0zcvq','zwnjBNn0yw5Jzq','q2fYDgvZAwfUmW','DMfSDwu','Eg1HEa','z2v0','BwfYCZnKtwfW','zwnOyxj0C0f1Dg9izwLNAhq','C2nOzwr1BgvY','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','BwfYCZnKtwfWuM9HBq','z2XVyMu','C2vYAwvZ','qMfZzuXHEwvY','x2vJAgfYDhndB250ywLUzxi','BwLU','zwnOyxj0C0rLChrOvgvZDa','CMvTB3zLq2HPBgq','ywrKrxzLBNrmAxn0zw5LCG','x3bVAw50zxjfDMvUDhm','Cg9ZDfjLBMrLCG','z2v0sgvPz2H0','EKLUzgv4','zgf0yvrVug9PBNq','nty4mKvxyvDYrq','ywjZB2X1Dgu','y2fUDMfZ','BgvMDa','DMLZAwjPBgL0Eq','Bw92zuHHBMrSzxi','vxrPBa','x2vJAgfYDhnjBNn0yw5Jzq','Cg9ZAxrPB25xqW','BwfYCZnKlwvJAgfYDhm','x2nYzwf0zunOyxj0t3zLCMXHEq','zM9YrwfJAa'];_0x51c0=function(){return _0xd3568c;};return _0x51c0();}if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x3ebe6d(-0xb,-0x30)]){echarts__namespace['registerCoordinateSystem'](_0x56c395(0x3a6,0x3a6),CompositeCoordinateSystem);const _0x47d8be={};_0x47d8be['type']='mars3dMapRoam',_0x47d8be[_0x3ebe6d(-0x1,-0x1)]=_0x3ebe6d(0x23,0x2e),_0x47d8be['update']='updateLayout',echarts__namespace['registerAction'](_0x47d8be,function(_0x34fe2e,_0x523472){});const _0x322e19={};_0x322e19[_0x56c395(0x394,0x3ae)]=![];const _0x30db04={};_0x30db04['type']='mars3dMap',_0x30db04['getBMap']=function(){return this['_mars3d_scene'];},_0x30db04[_0x56c395(0x392,0x38e)]=_0x322e19,echarts__namespace['extendComponentModel'](_0x30db04),echarts__namespace['extendComponentView']({'type':_0x56c395(0x3a6,0x3d0),'init':function(_0x35d92f,_0x2fc9f1){const _0x253311={_0x516b3a:0x1ed,_0x1e2629:0x211,_0x32fe68:0x1a7,_0x287283:0x16f,_0x1016b4:0x18b},_0x401eff={_0x458184:0x1d9};this['api']=_0x2fc9f1;function _0x4f710b(_0x1348a3,_0xae7bfb){return _0x56c395(_0xae7bfb- -0x548,_0x1348a3);}function _0x45494a(_0x5bf323,_0x476ad7){return _0x56c395(_0x5bf323- -_0x401eff._0x458184,_0x476ad7);}this[_0x45494a(_0x253311._0x516b3a,_0x253311._0x1e2629)]=_0x35d92f['scheduler'][_0x4f710b(-0x1a5,-_0x253311._0x32fe68)][_0x45494a(0x19b,0x1c1)],this[_0x4f710b(-0x16d,-0x182)][_0x45494a(0x1db,0x1eb)][_0x4f710b(-_0x253311._0x287283,-0x196)](this[_0x4f710b(-0x162,-_0x253311._0x1016b4)],this);},'moveHandler':function(_0x34fc6e,_0x312ba4){const _0x2388ec={_0x5be757:0x124,_0x28e08c:0x130},_0x4aad2b={_0x4a5519:0x101},_0x21e91b={};_0x21e91b['type']=_0x3b41bd(_0x2388ec._0x5be757,_0x2388ec._0x28e08c);function _0x13a4f3(_0x304b8a,_0x5277ed){return _0x3ebe6d(_0x304b8a- -0xf0,_0x5277ed);}function _0x3b41bd(_0x13a0c4,_0x2d5d98){return _0x3ebe6d(_0x13a0c4-_0x4aad2b._0x4a5519,_0x2d5d98);}this[_0x13a4f3(-0xe7,-0x106)]['dispatchAction'](_0x21e91b);},'render':function(_0x1ac4c0,_0x5c6f14,_0x10e2dc){},'dispose':function(_0x24cc66){this['scene']['postRender']['removeEventListener'](this['moveHandler'],this);}});}else throw new Error('请引入\x20echarts\x20库\x20');const Cesium=mars3d__namespace[_0x3ebe6d(0x17,-0x16)],BaseLayer=mars3d__namespace[_0x3ebe6d(0xe,-0x12)][_0x56c395(0x3ad,0x391)];class EchartsLayer extends BaseLayer{constructor(_0x1a13d3={}){super(_0x1a13d3);function _0x2d4461(_0x560e54,_0xc99895){return _0x3ebe6d(_0x560e54- -0x108,_0xc99895);}this[_0x2d4461(-0xdc,-0xb3)]=this['options']['pointerEvents'];}get[_0x3ebe6d(0xe,0x12)](){return this['_echartsInstance'];}get[_0x3ebe6d(0x14,-0x3)](){return this['_pointerEvents'];}set[_0x56c395(0x39b,0x3ab)](_0x53c669){const _0x550150={_0x4a1595:0x31e,_0x531c27:0x2ff,_0x33afcf:0x320},_0x33bdd2={_0x346ce7:0x218},_0x316f6a={_0x13588d:0x90};function _0x2ee465(_0x518a16,_0x5b5d90){return _0x56c395(_0x518a16- -_0x316f6a._0x13588d,_0x5b5d90);}function _0x2dcf8e(_0x5578d9,_0x550b21){return _0x56c395(_0x550b21- -_0x33bdd2._0x346ce7,_0x5578d9);}this['_pointerEvents']=_0x53c669,this['_echartsContainer']&&(_0x53c669?this[_0x2ee465(_0x550150._0x4a1595,0x316)][_0x2ee465(_0x550150._0x531c27,0x311)]['pointerEvents']='all':this[_0x2ee465(0x31e,_0x550150._0x33afcf)][_0x2ee465(0x2ff,0x321)]['pointerEvents']='none');}[_0x3ebe6d(0x13,0x2f)](_0x406ca7,_0x11a341){function _0x105cdd(_0x4b5047,_0x41721b){return _0x56c395(_0x41721b-0x196,_0x4b5047);}this[_0x105cdd(0x4f3,0x513)](_0x406ca7);}[_0x3ebe6d(0x12,0x1e)](_0x41b460){const _0x17890e={_0x1f11de:0x6f},_0xf3a0fd={_0x39dc99:0x26f};function _0x3ab53b(_0x11fc29,_0x23377a){return _0x3ebe6d(_0x23377a- -0x50,_0x11fc29);}function _0x36ce0b(_0x47da1f,_0x50cd3c){return _0x56c395(_0x47da1f- -_0xf3a0fd._0x39dc99,_0x50cd3c);}_0x41b460?this['_echartsContainer']['style'][_0x3ab53b(-0x15,-0x1b)]='visible':this['_echartsContainer'][_0x3ab53b(-_0x17890e._0x1f11de,-0x48)]['visibility']='hidden';}['_mountedHook'](){const _0x401727={_0x291911:0x51,_0xfc041e:0x9f,_0x4346df:0x8b,_0x1c26cf:0x29d,_0x474a10:0x9d};function _0x8d2062(_0x10df63,_0x179747){return _0x56c395(_0x179747- -0x401,_0x10df63);}function _0x184721(_0x1c9ae5,_0x301b07){return _0x56c395(_0x1c9ae5- -0x10b,_0x301b07);}this['_map']['scene'][_0x8d2062(-0x76,-_0x401727._0x291911)]=this[_0x8d2062(-0x6b,-0x70)][_0x8d2062(-_0x401727._0xfc041e,-_0x401727._0x4346df)]??!![],this['_map'][_0x8d2062(-0x44,-0x3b)]['echartsAutoHeight']=this[_0x184721(0x286,0x26f)][_0x184721(0x27e,_0x401727._0x1c26cf)]??![],this['_map'][_0x184721(0x2bb,0x2a1)][_0x8d2062(-_0x401727._0x474a10,-0x7d)]=this['options']['fixedHeight']??0x0;}['_addedHook'](){const _0x48a6ba={_0xfb2487:0x2de,_0x59b47c:0x95},_0x8e7513={_0x29795a:0x306};this['_echartsContainer']=this['_createChartOverlay']();function _0x3406a3(_0x56d2e0,_0x1b9954){return _0x3ebe6d(_0x56d2e0-_0x8e7513._0x29795a,_0x1b9954);}this['_echartsInstance']=echarts__namespace[_0x3406a3(0x2fb,_0x48a6ba._0xfb2487)](this['_echartsContainer']),this[_0x43611d(_0x48a6ba._0x59b47c,0xb2)][_0x43611d(0x5d,0x67)]=this['_map']['scene'];function _0x43611d(_0x475558,_0x382933){return _0x3ebe6d(_0x382933-0x7a,_0x475558);}this['setEchartsOption'](this['options']);}['_removedHook'](){const _0x4948d0={_0x1892a6:0xfd,_0x28b8ab:0xf7,_0x286972:0x53c};function _0x48eca2(_0x4a5cac,_0x39a998){return _0x3ebe6d(_0x39a998-0x512,_0x4a5cac);}this[_0x5965bc(0xe5,_0x4948d0._0x1892a6)]&&(this['_echartsInstance']['clear'](),this['_echartsInstance'][_0x48eca2(0x514,0x512)](),delete this[_0x48eca2(0x559,0x54a)]);function _0x5965bc(_0x1e512e,_0x26d972){return _0x3ebe6d(_0x26d972-0xc5,_0x1e512e);}this[_0x5965bc(_0x4948d0._0x28b8ab,0xec)]&&(this['_map']['container'][_0x48eca2(0x550,_0x4948d0._0x286972)](this['_echartsContainer']),delete this['_echartsContainer']);}[_0x3ebe6d(0x3b,0x5d)](){const _0x43f817={_0x371627:0x78,_0x371933:0x92,_0x14760d:0x54,_0x37850e:0xb6,_0x5c50d5:0x5e,_0x4df434:0x5f,_0x4259d6:0x74,_0x129870:0x6d,_0x4d060e:0x95,_0x379b86:0xc9,_0x48cf8e:0xa2,_0x313749:0xf2,_0x4bab47:0xa4,_0x116667:0xa4,_0x47632e:0x69,_0x33bc8b:0x85},_0x5a8e3b={_0x1cbfbf:0x2ed},_0x17c5f5={_0x1a6217:0x331},_0x5e28cd=mars3d__namespace[_0x2215f3(0xb2,0xaa)]['create']('div',_0x302b5f(_0x43f817._0x371627,0x90),this['_map'][_0x2215f3(0x9d,0x72)]);function _0x302b5f(_0x15cf7a,_0x1f76ef){return _0x56c395(_0x1f76ef- -_0x17c5f5._0x1a6217,_0x15cf7a);}_0x5e28cd['id']=this['id'],_0x5e28cd['style']['position']=_0x302b5f(_0x43f817._0x371933,0x88);function _0x2215f3(_0x478856,_0x485e12){return _0x56c395(_0x478856- -_0x5a8e3b._0x1cbfbf,_0x485e12);}return _0x5e28cd[_0x302b5f(_0x43f817._0x14760d,0x5e)]['top']='0px',_0x5e28cd[_0x302b5f(0x3a,0x5e)][_0x302b5f(_0x43f817._0x37850e,0x8a)]='0px',_0x5e28cd[_0x302b5f(0x5a,_0x43f817._0x5c50d5)][_0x302b5f(_0x43f817._0x4df434,0x5d)]=this['_map']['scene'][_0x2215f3(0xcd,0xce)][_0x2215f3(0x91,_0x43f817._0x4259d6)]+'px',_0x5e28cd[_0x2215f3(0xa2,0x9a)]['height']=this['_map'][_0x302b5f(_0x43f817._0x129870,_0x43f817._0x4d060e)][_0x302b5f(0x78,0x89)][_0x2215f3(0xd7,_0x43f817._0x379b86)]+'px',_0x5e28cd[_0x2215f3(_0x43f817._0x48cf8e,0xac)][_0x302b5f(0x3e,0x6a)]=this['_pointerEvents']?_0x2215f3(0xda,_0x43f817._0x313749):'none',_0x5e28cd['style'][_0x302b5f(_0x43f817._0x4bab47,0x85)]=this[_0x2215f3(_0x43f817._0x116667,0xb2)][_0x302b5f(_0x43f817._0x47632e,_0x43f817._0x33bc8b)]??0x9,_0x5e28cd;}['resize'](){const _0x230463={_0x1b708a:0x13b,_0x154f95:0x13a},_0x107764={_0x38ba71:0x5e4};if(!this['_echartsInstance'])return;function _0x19a904(_0x1cbc38,_0x35c3b5){return _0x56c395(_0x35c3b5- -0x254,_0x1cbc38);}this[_0x19a904(0x14d,0x15a)][_0x19a904(0x139,_0x230463._0x1b708a)][_0x19a904(0x154,_0x230463._0x154f95)]=this['_map']['scene']['canvas']['clientWidth']+'px';function _0x15e7e5(_0x25071c,_0x1986ff){return _0x56c395(_0x1986ff- -_0x107764._0x38ba71,_0x25071c);}this['_echartsContainer']['style']['height']=this['_map']['scene']['canvas']['clientHeight']+'px',this['_echartsInstance']['resize']();}['setEchartsOption'](_0x2a9dee,_0x59fe90,_0x5a9170){const _0x5e9619={_0x342dfe:0x1f3};function _0x4fd380(_0x5f99d2,_0x7789e9){return _0x3ebe6d(_0x5f99d2- -0x239,_0x7789e9);}if(this['_echartsInstance']){const _0x24e5e3={};_0x24e5e3['onlySimpleType']=!![],_0x2a9dee={'mars3dMap':{},...mars3d__namespace[_0x4fd380(-0x202,-_0x5e9619._0x342dfe)]['getAttrVal'](_0x2a9dee,_0x24e5e3)},delete _0x2a9dee['eventParent'],this['_echartsInstance']['setOption'](_0x2a9dee,_0x59fe90,_0x5a9170);}}[_0x56c395(0x39c,0x39d)](_0xa8335a){const _0x3067c5={_0x23bea9:0xa4,_0x2b75ac:0xe0,_0x23df1f:0x19b},_0x2e551d={_0x36932d:0x2cc},_0x660138={_0x5658f1:0xe1,_0x329162:0x10f,_0x1871ba:0x124};function _0x548730(_0x5b8d99,_0x2ad004){return _0x3ebe6d(_0x2ad004-0xb6,_0x5b8d99);}let _0x39a5cb,_0x2d13e9,_0x1fb07a,_0x2d1e39;function _0x4e6677(_0x43b1d2){function _0x5d8782(_0x76320,_0x36c4d8){return _0x3872(_0x36c4d8-0x24c,_0x76320);}if(!Array['isArray'](_0x43b1d2))return;const _0x1c0ade=_0x43b1d2[0x0]||0x0;function _0x4afa83(_0x38bbc3,_0x37b1a9){return _0x3872(_0x38bbc3- -0x275,_0x37b1a9);}const _0x1ae2c0=_0x43b1d2[0x1]||0x0;_0x1c0ade!==0x0&&_0x1ae2c0!==0x0&&(_0x39a5cb===undefined?(_0x39a5cb=_0x1c0ade,_0x2d13e9=_0x1c0ade,_0x1fb07a=_0x1ae2c0,_0x2d1e39=_0x1ae2c0):(_0x39a5cb=Math['min'](_0x39a5cb,_0x1c0ade),_0x2d13e9=Math[_0x5d8782(0x387,0x3b2)](_0x2d13e9,_0x1c0ade),_0x1fb07a=Math[_0x4afa83(-_0x660138._0x5658f1,-0xe1)](_0x1fb07a,_0x1ae2c0),_0x2d1e39=Math[_0x4afa83(-_0x660138._0x329162,-_0x660138._0x1871ba)](_0x2d1e39,_0x1ae2c0)));}const _0x143edd=this['options'][_0x548730(0xc0,0xdb)];_0x143edd&&_0x143edd['forEach'](_0x1a32df=>{function _0x4756e5(_0x5f0923,_0x18fcd0){return _0x548730(_0x5f0923,_0x18fcd0- -0x25d);}_0x1a32df['data']&&_0x1a32df[_0x4756e5(-0x181,-0x198)]['forEach'](_0x2f8fcc=>{function _0x3d7cef(_0x296dbd,_0x459c0a){return _0x4756e5(_0x296dbd,_0x459c0a-0x42a);}function _0x3f5923(_0x2a6cb8,_0x2a72db){return _0x4756e5(_0x2a6cb8,_0x2a72db-0x6e);}if(_0x2f8fcc['value'])_0x4e6677(_0x2f8fcc[_0x3f5923(-0x133,-0x11d)]);else _0x2f8fcc['coords']&&_0x2f8fcc['coords'][_0x3d7cef(_0x2e551d._0x36932d,0x2bf)](_0x35caed=>{_0x4e6677(_0x35caed);});});});function _0x27260d(_0x1dfd62,_0x247ba4){return _0x56c395(_0x247ba4- -0x506,_0x1dfd62);}if(_0x39a5cb===0x0&&_0x1fb07a===0x0&&_0x2d13e9===0x0&&_0x2d1e39===0x0)return null;if(_0xa8335a!==null&&_0xa8335a!==void 0x0&&_0xa8335a[_0x548730(_0x3067c5._0x23bea9,0xb1)]){const _0x8009a6={};return _0x8009a6[_0x548730(_0x3067c5._0x2b75ac,0xf9)]=_0x39a5cb,_0x8009a6[_0x27260d(-0x14b,-0x162)]=_0x2d13e9,_0x8009a6[_0x27260d(-_0x3067c5._0x23df1f,-0x187)]=_0x1fb07a,_0x8009a6['ymax']=_0x2d1e39,_0x8009a6;}else return Cesium['Rectangle'][_0x27260d(-0x1ab,-0x18b)](_0x39a5cb,_0x1fb07a,_0x2d13e9,_0x2d1e39);}['on'](_0x11ffec,_0x18af1f,_0x33f26f){return this['_echartsInstance']['on'](_0x11ffec,_0x18af1f,_0x33f26f||this),this;}['onByQuery'](_0x4cef5c,_0x5cb182,_0x5c88de,_0x3c6726){return this['_echartsInstance']['on'](_0x4cef5c,_0x5cb182,_0x5c88de,_0x3c6726||this),this;}['off'](_0x5d6e70,_0x1d8a87,_0x4e2daf){const _0x5598e4={_0xe3a4c6:0x181};function _0x4134de(_0x155f5f,_0x3206b7){return _0x56c395(_0x155f5f- -0x5ac,_0x3206b7);}this[_0x5c5a7c(-_0x5598e4._0xe3a4c6,-0x173)][_0x5c5a7c(-0x18f,-0x1b9)](_0x5d6e70,_0x1d8a87,_0x4e2daf||this);function _0x5c5a7c(_0x2ee4f2,_0x26f01a){return _0x3ebe6d(_0x26f01a- -0x1ab,_0x2ee4f2);}return this;}}mars3d__namespace['LayerUtil']['register']('echarts',EchartsLayer),mars3d__namespace[_0x3ebe6d(0xe,-0x17)][_0x56c395(0x375,0x373)]=EchartsLayer,mars3d__namespace[_0x56c395(0x378,0x399)]=echarts__namespace,exports['EchartsLayer']=EchartsLayer,Object['keys'](echarts)['forEach'](function(_0x4b1014){function _0x4332d4(_0x92b2ea,_0x22c36f){return _0x56c395(_0x22c36f- -0x559,_0x92b2ea);}if(_0x4b1014!=='default'&&!exports['hasOwnProperty'](_0x4b1014))Object[_0x4332d4(-0x1f6,-0x1e6)](exports,_0x4b1014,{'enumerable':!![],'get':function(){return echarts[_0x4b1014];}});});const _0x5db45d={};function _0x3872(_0x4c09f5,_0x540fa9){const _0x51c03d=_0x51c0();return _0x3872=function(_0x387283,_0x414646){_0x387283=_0x387283-0x157;let _0x24d5c9=_0x51c03d[_0x387283];if(_0x3872['aDilzt']===undefined){var _0x365f3b=function(_0x47d8be){const _0x322e19='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x30db04='',_0x1ab183='';for(let _0x4b02cb=0x0,_0x52d6c0,_0x5db45d,_0x4217bb=0x0;_0x5db45d=_0x47d8be['charAt'](_0x4217bb++);~_0x5db45d&&(_0x52d6c0=_0x4b02cb%0x4?_0x52d6c0*0x40+_0x5db45d:_0x5db45d,_0x4b02cb++%0x4)?_0x30db04+=String['fromCharCode'](0xff&_0x52d6c0>>(-0x2*_0x4b02cb&0x6)):0x0){_0x5db45d=_0x322e19['indexOf'](_0x5db45d);}for(let _0x13c3d1=0x0,_0x3f02c9=_0x30db04['length'];_0x13c3d1<_0x3f02c9;_0x13c3d1++){_0x1ab183+='%'+('00'+_0x30db04['charCodeAt'](_0x13c3d1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1ab183);};_0x3872['XhrTSG']=_0x365f3b,_0x4c09f5=arguments,_0x3872['aDilzt']=!![];}const _0x54a689=_0x51c03d[0x0],_0x18187a=_0x387283+_0x54a689,_0x14405d=_0x4c09f5[_0x18187a];return!_0x14405d?(_0x24d5c9=_0x3872['XhrTSG'](_0x24d5c9),_0x4c09f5[_0x18187a]=_0x24d5c9):_0x24d5c9=_0x14405d,_0x24d5c9;},_0x3872(_0x4c09f5,_0x540fa9);}_0x5db45d['value']=!![];function _0x3ebe6d(_0x1e6f60,_0x1e4221){return _0x3872(_0x1e6f60- -0x16c,_0x1e4221);}Object['defineProperty'](exports,_0x56c395(0x397,0x3b4),_0x5db45d);
|
|
14
|
+
'use strict';(function(_0x339e66,_0x33cdbb){const _0x484967={_0x15a3c8:0x30b,_0x51e120:0x310,_0x5ad1d1:0x2ff,_0x52a914:0x316,_0x4b23e7:0x2eb,_0x4ec9d2:0x69,_0x8262e4:0x322,_0x13ea39:0x2fd,_0x376a7b:0x6d,_0x1fdd62:0x63,_0x57f144:0x2da,_0x4601a5:0x73},_0x55a41d={_0x532a4e:0x1a9},_0x2f2c96=_0x339e66();function _0x6fa43d(_0x241727,_0x23c223){return _0x1d81(_0x23c223-_0x55a41d._0x532a4e,_0x241727);}function _0x5bbab7(_0xe738cd,_0x413843){return _0x1d81(_0x413843- -0xc5,_0xe738cd);}while(!![]){try{const _0x46ab23=-parseInt(_0x6fa43d(_0x484967._0x15a3c8,0x318))/0x1+parseInt(_0x6fa43d(_0x484967._0x51e120,_0x484967._0x5ad1d1))/0x2*(parseInt(_0x6fa43d(_0x484967._0x52a914,_0x484967._0x4b23e7))/0x3)+-parseInt(_0x5bbab7(0x43,_0x484967._0x4ec9d2))/0x4+-parseInt(_0x6fa43d(_0x484967._0x8262e4,_0x484967._0x13ea39))/0x5+-parseInt(_0x5bbab7(0x7e,_0x484967._0x376a7b))/0x6+parseInt(_0x5bbab7(0x68,_0x484967._0x1fdd62))/0x7+parseInt(_0x6fa43d(0x2c9,_0x484967._0x57f144))/0x8*(parseInt(_0x5bbab7(0x76,_0x484967._0x4601a5))/0x9);if(_0x46ab23===_0x33cdbb)break;else _0x2f2c96['push'](_0x2f2c96['shift']());}catch(_0x21e8ce){_0x2f2c96['push'](_0x2f2c96['shift']());}}}(_0x15cb,0x82ae6));function _interopNamespace(_0x2f3da0){const _0x166377={_0xf7861c:0x122,_0x2d7a36:0x10c},_0x3983fc={_0x55a00a:0x1a9,_0x13e0ea:0x15a};function _0x17aaf6(_0x18786a,_0x17f3fb){return _0x1d81(_0x18786a- -0x258,_0x17f3fb);}if(_0x2f3da0&&_0x2f3da0['__esModule'])return _0x2f3da0;function _0x53e045(_0x49440f,_0x201236){return _0x1d81(_0x49440f-0x10f,_0x201236);}var _0x3c8821=Object['create'](null);return _0x2f3da0&&Object[_0x17aaf6(-_0x166377._0xf7861c,-0x11a)](_0x2f3da0)['forEach'](function(_0x1ebf3b){const _0x46a08a={_0x29f07a:0x187};function _0x26a891(_0x58fc65,_0x13e884){return _0x17aaf6(_0x13e884- -_0x46a08a._0x29f07a,_0x58fc65);}function _0x4c8811(_0x458ed8,_0x5cfd2e){return _0x17aaf6(_0x458ed8- -0x72,_0x5cfd2e);}if(_0x1ebf3b!==_0x4c8811(-0x19b,-0x1a0)){var _0x1dd750=Object['getOwnPropertyDescriptor'](_0x2f3da0,_0x1ebf3b);Object[_0x4c8811(-0x19f,-_0x3983fc._0x55a00a)](_0x3c8821,_0x1ebf3b,_0x1dd750[_0x4c8811(-_0x3983fc._0x13e0ea,-0x168)]?_0x1dd750:{'enumerable':!![],'get':function(){return _0x2f3da0[_0x1ebf3b];}});}}),_0x3c8821[_0x17aaf6(-0x129,-_0x166377._0x2d7a36)]=_0x2f3da0,_0x3c8821;}function _0x1d81(_0x2f31dd,_0x4dd250){const _0x15cb8d=_0x15cb();return _0x1d81=function(_0x1d810e,_0x2084df){_0x1d810e=_0x1d810e-0x11e;let _0x27b509=_0x15cb8d[_0x1d810e];if(_0x1d81['rYGCPY']===undefined){var _0x13cf90=function(_0x553f27){const _0x1864ab='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x89449='',_0x117dec='';for(let _0x38d5f3=0x0,_0x4fae7c,_0x36c74f,_0x2f3da0=0x0;_0x36c74f=_0x553f27['charAt'](_0x2f3da0++);~_0x36c74f&&(_0x4fae7c=_0x38d5f3%0x4?_0x4fae7c*0x40+_0x36c74f:_0x36c74f,_0x38d5f3++%0x4)?_0x89449+=String['fromCharCode'](0xff&_0x4fae7c>>(-0x2*_0x38d5f3&0x6)):0x0){_0x36c74f=_0x1864ab['indexOf'](_0x36c74f);}for(let _0x3c8821=0x0,_0x1ebf3b=_0x89449['length'];_0x3c8821<_0x1ebf3b;_0x3c8821++){_0x117dec+='%'+('00'+_0x89449['charCodeAt'](_0x3c8821)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x117dec);};_0x1d81['EKzMce']=_0x13cf90,_0x2f31dd=arguments,_0x1d81['rYGCPY']=!![];}const _0x13eaf5=_0x15cb8d[0x0],_0x2c9140=_0x1d810e+_0x13eaf5,_0x4ce6d1=_0x2f31dd[_0x2c9140];return!_0x4ce6d1?(_0x27b509=_0x1d81['EKzMce'](_0x27b509),_0x2f31dd[_0x2c9140]=_0x27b509):_0x27b509=_0x4ce6d1,_0x27b509;},_0x1d81(_0x2f31dd,_0x4dd250);}var echarts__namespace=_interopNamespace(echarts),mars3d__namespace=_interopNamespace(mars3d);function _0x226e0e(_0x3900f9,_0x5b0d47){const _0x3bca88={_0x333ccc:0x272};return _0x1d81(_0x5b0d47-_0x3bca88._0x333ccc,_0x3900f9);}const Cesium$1=mars3d__namespace[_0x4d716c(0x4d6,0x4af)];class CompositeCoordinateSystem{constructor(_0x2240b9,_0x1bd077){const _0x30f6af={_0x47c303:0x301},_0x19dc42={_0x5eddbf:0x1db};function _0x559dc7(_0x4e5e39,_0x18646c){return _0x4d716c(_0x4e5e39- -_0x19dc42._0x5eddbf,_0x18646c);}this[_0x559dc7(0x305,0x309)]=_0x2240b9;function _0x12c168(_0x2b26a1,_0x3a5465){return _0x4d716c(_0x2b26a1- -0x544,_0x3a5465);}this[_0x12c168(-0x6d,-0x8f)]=[_0x559dc7(_0x30f6af._0x47c303,0x2e9),'lat'],this['_mapOffset']=[0x0,0x0],this['_api']=_0x1bd077;}['setMapOffset'](_0xa8a267){this['_mapOffset']=_0xa8a267;}[_0x4d716c(0x4c4,0x4ab)](){function _0x3f1a9e(_0x195e8e,_0x3133ef){return _0x226e0e(_0x195e8e,_0x3133ef- -0x5c5);}return this[_0x3f1a9e(-0x209,-0x20a)];}[_0x4d716c(0x4e3,0x4d9)](_0xae8f69){const _0x14a70e={_0x30d769:0x93,_0x50bb05:0xae,_0x4b0b89:0x78,_0xa9b10:0x4e,_0x551e1d:0x163,_0x404815:0x18c,_0x10cca5:0x8a,_0x275a44:0x7c,_0x3e197b:0x88,_0x2fc1b1:0x79,_0x1c7cc9:0x135,_0x3f3f90:0x155},_0x5c6d0f=this[_0xd5bed9(-_0x14a70e._0x30d769,-0x83)],_0x48ea44=[NaN,NaN];let _0x573f91=_0x5c6d0f[_0xd5bed9(-0x89,-_0x14a70e._0x50bb05)];_0x5c6d0f[_0xd5bed9(-_0x14a70e._0x4b0b89,-_0x14a70e._0xa9b10)]&&(_0x573f91=_0x5c6d0f['getHeight'](Cesium$1[_0xd5bed9(-0xa1,-0x7d)][_0x18ebe6(_0x14a70e._0x551e1d,0x186)](_0xae8f69[0x0],_0xae8f69[0x1])));function _0xd5bed9(_0x1b0d7c,_0x4ac66b){return _0x226e0e(_0x4ac66b,_0x1b0d7c- -0x44e);}const _0x432f84=Cesium$1['Cartesian3'][_0x18ebe6(0x163,_0x14a70e._0x404815)](_0xae8f69[0x0],_0xae8f69[0x1],_0x573f91);if(!_0x432f84)return _0x48ea44;const _0x200b61=mars3d__namespace[_0xd5bed9(-_0x14a70e._0x10cca5,-_0x14a70e._0x275a44)][_0xd5bed9(-0xb8,-0x8d)](_0x5c6d0f,_0x432f84);function _0x18ebe6(_0x579da6,_0x14b28b){return _0x4d716c(_0x579da6- -0x38c,_0x14b28b);}if(!_0x200b61)return _0x48ea44;if(_0x5c6d0f['echartsDepthTest']&&_0x5c6d0f['mode']===Cesium$1[_0xd5bed9(-0x96,-0xa9)]['SCENE3D']){const _0x38622d=new Cesium$1[(_0xd5bed9(-0xac,-_0x14a70e._0x3e197b))](_0x5c6d0f['globe'][_0xd5bed9(-_0x14a70e._0x2fc1b1,-0x58)],_0x5c6d0f['camera']['positionWC']),_0x426d50=_0x38622d[_0x18ebe6(_0x14a70e._0x1c7cc9,_0x14a70e._0x3f3f90)](_0x432f84);if(!_0x426d50)return _0x48ea44;}return[_0x200b61['x']-this[_0xd5bed9(-0x80,-0x7a)][0x0],_0x200b61['y']-this[_0x18ebe6(0x167,0x15c)][0x1]];}[_0x4d716c(0x4f4,0x512)](){const _0x48aa9d={_0x119b2c:0x248};function _0x23556b(_0x6749ae,_0x514802){return _0x226e0e(_0x514802,_0x6749ae- -0x5fd);}const _0x1d6728=this['_api'];function _0x1ced0a(_0x4d44f0,_0x126788){return _0x226e0e(_0x126788,_0x4d44f0- -0x604);}return new echarts__namespace[(_0x1ced0a(-0x24b,-0x243))]['BoundingRect'](0x0,0x0,_0x1d6728['getWidth'](),_0x1d6728[_0x23556b(-0x268,-_0x48aa9d._0x119b2c)]());}['getRoamTransform'](){return echarts__namespace['matrix']['create']();}}CompositeCoordinateSystem['dimensions']=[_0x4d716c(0x4dc,0x4b9),_0x4d716c(0x502,0x518)],CompositeCoordinateSystem['create']=function(_0x881868,_0x12d6d2){let _0x5f55c9;function _0x38799b(_0x231cb0,_0x48596d){return _0x4d716c(_0x231cb0- -0x406,_0x48596d);}const _0x508262=_0x881868['scheduler']['ecInstance']['_mars3d_scene'];_0x881868['eachComponent'](_0x38799b(0xe1,0x10a),function(_0x52660f){const _0x2c76e5=_0x12d6d2['getZr']()['painter'];if(!_0x2c76e5)return;!_0x5f55c9&&(_0x5f55c9=new CompositeCoordinateSystem(_0x508262,_0x12d6d2)),_0x52660f['coordinateSystem']=_0x5f55c9,_0x5f55c9['setMapOffset'](_0x52660f['__mapOffset']||[0x0,0x0]);}),_0x881868['eachSeries'](function(_0x3ed4b5){function _0x16c723(_0x391a78,_0x2f7d01){return _0x38799b(_0x391a78-0x12c,_0x2f7d01);}_0x3ed4b5[_0x16c723(0x22d,0x255)]('coordinateSystem')==='mars3dMap'&&(!_0x5f55c9&&(_0x5f55c9=new CompositeCoordinateSystem(_0x508262,_0x12d6d2)),_0x3ed4b5['coordinateSystem']=_0x5f55c9);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace['init']){echarts__namespace['registerCoordinateSystem']('mars3dMap',CompositeCoordinateSystem);const _0x553f27={};_0x553f27[_0x226e0e(0x3e1,0x3d2)]='mars3dMapRoam',_0x553f27['event']=_0x226e0e(0x39f,0x393),_0x553f27['update']=_0x4d716c(0x505,0x526),echarts__namespace[_0x4d716c(0x4ce,0x4e1)](_0x553f27,function(_0x218602,_0x3eb65b){});const _0x1864ab={};_0x1864ab['roam']=![];const _0x89449={};_0x89449['type']='mars3dMap',_0x89449['getBMap']=function(){function _0x1ffe69(_0x3144b6,_0x37da38){return _0x226e0e(_0x37da38,_0x3144b6- -0x648);}return this[_0x1ffe69(-0x28d,-0x298)];},_0x89449[_0x4d716c(0x4d8,0x4ef)]=_0x1864ab,echarts__namespace[_0x4d716c(0x4b5,0x4b5)](_0x89449),echarts__namespace['extendComponentView']({'type':'mars3dMap','init':function(_0x115840,_0x11be91){const _0x10d91b={_0x243c15:0xaf,_0x458945:0x9c,_0x3cf674:0xd6};function _0x18ef02(_0x13f2ac,_0x18ca40){return _0x4d716c(_0x13f2ac- -0x95,_0x18ca40);}this['api']=_0x11be91,this['scene']=_0x115840[_0x447540(-_0x10d91b._0x243c15,-_0x10d91b._0x458945)]['ecInstance'][_0x447540(-_0x10d91b._0x3cf674,-0xb8)];function _0x447540(_0x40a5d9,_0x52e3cc){return _0x4d716c(_0x52e3cc- -0x598,_0x40a5d9);}this['scene']['postRender'][_0x18ef02(0x44a,0x472)](this[_0x447540(-0xdb,-0xbe)],this);},'moveHandler':function(_0x4c191c,_0x4702ec){const _0x5316e3={_0x3de845:0x30a},_0x17286e={_0x3bb4f0:0x9b};function _0x7c422d(_0x2f17e1,_0x5cff10){return _0x226e0e(_0x2f17e1,_0x5cff10- -_0x17286e._0x3bb4f0);}const _0x512424={};_0x512424['type']='mars3dMapRoam',this['api'][_0x7c422d(0x32a,_0x5316e3._0x3de845)](_0x512424);},'render':function(_0x1375fd,_0x5e6fc0,_0x3c77c7){},'dispose':function(_0x21d0d1){const _0x3bb2eb={_0x2b2efb:0x27a},_0x219af7={_0x41c707:0x62f};function _0x396510(_0x464e1c,_0x20a89a){return _0x226e0e(_0x464e1c,_0x20a89a- -_0x219af7._0x41c707);}function _0x490317(_0x33fe95,_0x267ffe){return _0x226e0e(_0x267ffe,_0x33fe95- -0x219);}this['scene'][_0x490317(0x19d,0x1a1)]['removeEventListener'](this[_0x396510(-0x29d,-_0x3bb2eb._0x2b2efb)],this);}});}else throw new Error('请引入\x20echarts\x20库\x20');const Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace['layer']['BaseLayer'];class EchartsLayer extends BaseLayer{constructor(_0x3b0643={}){const _0x57963e={_0xefae3:0x1b7,_0x467fe1:0x178};super(_0x3b0643);function _0x1b7e13(_0x27f0b3,_0x2040a5){return _0x226e0e(_0x27f0b3,_0x2040a5- -0x550);}function _0x4eefbc(_0xa9024e,_0x579234){return _0x4d716c(_0x579234- -0x710,_0xa9024e);}this[_0x1b7e13(-0x1b6,-_0x57963e._0xefae3)]=this['options'][_0x1b7e13(-0x169,-_0x57963e._0x467fe1)];}get[_0x4d716c(0x4fe,0x4e2)](){const _0x3db951={_0x8b04f4:0x62};function _0x5d6599(_0x52aa9a,_0x172f17){return _0x4d716c(_0x52aa9a- -0x554,_0x172f17);}return this[_0x5d6599(-0x66,-_0x3db951._0x8b04f4)];}get['pointerEvents'](){return this['_pointerEvents'];}set['pointerEvents'](_0x308a0d){const _0x746c10={_0x3deada:0x48c,_0x2dd8a4:0x51d},_0x69db01={_0x2794d2:0xf8};function _0x5ab6e7(_0x3dc796,_0xd5e7a2){return _0x226e0e(_0x3dc796,_0xd5e7a2-_0x69db01._0x2794d2);}function _0x186065(_0x452e37,_0x26f797){return _0x226e0e(_0x26f797,_0x452e37-0x121);}this['_pointerEvents']=_0x308a0d,this[_0x5ab6e7(0x4ac,_0x746c10._0x3deada)]&&(_0x308a0d?this['_echartsContainer']['style'][_0x186065(0x4f9,_0x746c10._0x2dd8a4)]='all':this['_echartsContainer'][_0x5ab6e7(0x4e0,0x4c5)]['pointerEvents']='none');}['_setOptionsHook'](_0x20e99a,_0x2c1ef1){this['setEchartsOption'](_0x20e99a);}['_showHook'](_0x3dc2a8){const _0x20f7d6={_0x4bec37:0x19,_0x3e3439:0x32},_0x2a52d5={_0x53f80a:0x3ca};function _0x4542b8(_0x725b03,_0x3e7420){return _0x4d716c(_0x725b03- -0x4e5,_0x3e7420);}function _0x3f21be(_0x147996,_0x7f9654){return _0x226e0e(_0x7f9654,_0x147996- -_0x2a52d5._0x53f80a);}_0x3dc2a8?this['_echartsContainer']['style'][_0x3f21be(-0x1b,-0xd)]=_0x3f21be(_0x20f7d6._0x4bec37,_0x20f7d6._0x3e3439):this['_echartsContainer']['style']['visibility']='hidden';}['_mountedHook'](){const _0x643cdb={_0x5b27ca:0x256,_0x3dcb7f:0x19d,_0x105865:0x185,_0x280d9b:0x18a,_0x5b2017:0x17a,_0x22b69e:0x155},_0x1313b7={_0x127318:0x641};function _0x49dfeb(_0x2a5b85,_0x1cef05){return _0x226e0e(_0x1cef05,_0x2a5b85- -0x650);}function _0x1234f7(_0x2296e3,_0x401205){return _0x4d716c(_0x401205- -_0x1313b7._0x127318,_0x2296e3);}this['_map']['scene']['echartsDepthTest']=this['options'][_0x49dfeb(-0x274,-_0x643cdb._0x5b27ca)]??!![],this[_0x1234f7(-_0x643cdb._0x3dcb7f,-_0x643cdb._0x105865)]['scene']['echartsAutoHeight']=this[_0x49dfeb(-0x2a4,-0x283)][_0x1234f7(-0x182,-_0x643cdb._0x280d9b)]??![],this[_0x49dfeb(-0x2b9,-0x2c2)][_0x1234f7(-0x157,-0x14c)]['echartsFixedHeight']=this[_0x1234f7(-_0x643cdb._0x5b2017,-0x170)][_0x1234f7(-0x137,-_0x643cdb._0x22b69e)]??0x0;}[_0x226e0e(0x3c8,0x3a6)](){const _0x60fa08={_0x4e9d18:0x278},_0x27a2de={_0x1d3bda:0x51a},_0x149477={_0x20830b:0x62f};function _0x2b680a(_0x1eb3d9,_0x31a4c3){return _0x226e0e(_0x31a4c3,_0x1eb3d9- -_0x149477._0x20830b);}this['_echartsContainer']=this['_createChartOverlay']();function _0x40fe3a(_0x2ccd32,_0x50e17c){return _0x226e0e(_0x50e17c,_0x2ccd32- -_0x27a2de._0x1d3bda);}this['_echartsInstance']=echarts__namespace['init'](this['_echartsContainer']),this[_0x2b680a(-0x266,-_0x60fa08._0x4e9d18)]['_mars3d_scene']=this['_map']['scene'],this[_0x2b680a(-0x250,-0x277)](this['options']);}['_removedHook'](){const _0x4b81e0={_0x2e5ed6:0x7d,_0x2b3c23:0x59},_0x5afc7b={_0x4c91b0:0x35};function _0x2cbc0a(_0x4b158d,_0x1dde9e){return _0x4d716c(_0x4b158d- -0x471,_0x1dde9e);}function _0x2bb3ad(_0x3ec2c9,_0x47c473){return _0x4d716c(_0x3ec2c9-_0x5afc7b._0x4c91b0,_0x47c473);}this[_0x2cbc0a(0x7d,0x69)]&&(this[_0x2cbc0a(_0x4b81e0._0x2e5ed6,_0x4b81e0._0x2b3c23)]['clear'](),this['_echartsInstance']['dispose'](),delete this['_echartsInstance']),this['_echartsContainer']&&(this['_map']['container'][_0x2cbc0a(0x8e,0x6b)](this['_echartsContainer']),delete this['_echartsContainer']);}['_createChartOverlay'](){const _0x2e1b6b={_0x5ab10c:0x8a,_0x2fd675:0x9d,_0x30e03f:0x69,_0x4df3f7:0x182,_0x16c1ea:0x78,_0x37975f:0x45,_0x4cdced:0x18d,_0xc5d279:0x1b0,_0x3d228e:0x19f,_0x240083:0x98,_0x15f6f0:0x82,_0x158f86:0x16b,_0x3bbb48:0x187},_0xac3581=mars3d__namespace['DomUtil'][_0x36243c(_0x2e1b6b._0x5ab10c,0x6d)]('div','mars3d-echarts',this[_0x36243c(0x1a,0x41)]['container']);_0xac3581['id']=this['id'],_0xac3581[_0x36243c(_0x2e1b6b._0x2fd675,0x77)][_0x36243c(_0x2e1b6b._0x30e03f,0x48)]=_0xa25c5b(0x18f,_0x2e1b6b._0x4df3f7),_0xac3581['style']['top']='0px',_0xac3581['style'][_0x36243c(_0x2e1b6b._0x16c1ea,0x76)]=_0x36243c(0x35,0x55);function _0xa25c5b(_0x1d545b,_0x153b85){return _0x4d716c(_0x1d545b- -0x353,_0x153b85);}_0xac3581['style'][_0xa25c5b(0x16d,0x192)]=this['_map']['scene']['canvas'][_0x36243c(_0x2e1b6b._0x37975f,0x6b)]+'px',_0xac3581['style'][_0xa25c5b(0x16a,_0x2e1b6b._0x4cdced)]=this['_map']['scene']['canvas'][_0xa25c5b(_0x2e1b6b._0xc5d279,0x1d4)]+'px',_0xac3581[_0xa25c5b(_0x2e1b6b._0x3d228e,0x19e)][_0x36243c(_0x2e1b6b._0x240083,_0x2e1b6b._0x15f6f0)]=this[_0xa25c5b(_0x2e1b6b._0x158f86,_0x2e1b6b._0x3bbb48)]?'all':'none';function _0x36243c(_0x149063,_0x34fa24){return _0x4d716c(_0x34fa24- -0x47b,_0x149063);}return _0xac3581['style']['zIndex']=this['options']['zIndex']??0x9,_0xac3581;}['resize'](){const _0x14fc31={_0xc41af:0x4e2,_0x48cbe7:0x532,_0x3f9ae7:0x513,_0x235d72:0x7c,_0x4810e9:0x4da,_0x5f1a46:0x522,_0x4b15e4:0x520,_0x5ca703:0x51e,_0x4978ef:0x501,_0x452dc7:0x521};if(!this['_echartsInstance'])return;this['_echartsContainer']['style']['width']=this[_0x21a455(_0x14fc31._0xc41af,0x4da)][_0x21a455(_0x14fc31._0x48cbe7,_0x14fc31._0x3f9ae7)]['canvas'][_0xd23762(-0x70,-_0x14fc31._0x235d72)]+'px';function _0xd23762(_0x3e1dbe,_0x39820b){return _0x4d716c(_0x3e1dbe- -0x556,_0x39820b);}this[_0x21a455(0x4c7,0x4d7)]['style'][_0x21a455(0x4e5,0x4db)]=this[_0x21a455(0x4df,_0x14fc31._0x4810e9)][_0x21a455(_0x14fc31._0x5f1a46,_0x14fc31._0x3f9ae7)][_0x21a455(_0x14fc31._0x4b15e4,_0x14fc31._0x5ca703)][_0x21a455(_0x14fc31._0x4978ef,_0x14fc31._0x452dc7)]+'px';function _0x21a455(_0x411c17,_0x29c72c){return _0x4d716c(_0x29c72c-0x1e,_0x411c17);}this['_echartsInstance']['resize']();}['setEchartsOption'](_0x270ada,_0x2f9007,_0x5b1475){const _0x164951={_0x3a6fc5:0x1ce,_0x41e61a:0x170,_0x194f4e:0xbe,_0x368db1:0xad},_0x5cdd09={_0x367e19:0x4a3},_0x5b0af6={_0x2338a2:0x21b};function _0x38eee0(_0x4c31cc,_0x2921fa){return _0x226e0e(_0x4c31cc,_0x2921fa- -_0x5b0af6._0x2338a2);}function _0x2578e2(_0x27c2a2,_0x2bb093){return _0x226e0e(_0x2bb093,_0x27c2a2- -_0x5cdd09._0x367e19);}if(this[_0x38eee0(_0x164951._0x3a6fc5,0x1ae)]){const _0x149da8={};_0x149da8[_0x38eee0(_0x164951._0x41e61a,0x176)]=!![],_0x270ada={'mars3dMap':{},...mars3d__namespace['Util']['getAttrVal'](_0x270ada,_0x149da8)},delete _0x270ada['eventParent'],this[_0x38eee0(0x1b9,0x1ae)][_0x2578e2(-_0x164951._0x194f4e,-_0x164951._0x368db1)](_0x270ada,_0x2f9007,_0x5b1475);}}[_0x226e0e(0x3ad,0x3c0)](_0x2e2c0b){const _0x1276a2={_0x4531c7:0x475,_0x31d50c:0x495,_0x12faba:0x476,_0x37ebcd:0x3e2},_0x3419be={_0x160d7b:0x132},_0x37a4b0={_0xd9d30c:0x2a4},_0x2865a1={_0x7a4b2:0xad};let _0x2f40cd,_0x423b56,_0x30a2cc,_0x843c77;function _0x40df35(_0xe6073d){function _0x1b6af8(_0x4c04d8,_0x426d85){return _0x1d81(_0x426d85- -0x25e,_0x4c04d8);}if(!Array['isArray'](_0xe6073d))return;const _0x5d95b2=_0xe6073d[0x0]||0x0,_0x3b8bdf=_0xe6073d[0x1]||0x0;function _0x54bd06(_0x5bcb34,_0x27896d){return _0x1d81(_0x5bcb34- -0xa8,_0x27896d);}_0x5d95b2!==0x0&&_0x3b8bdf!==0x0&&(_0x2f40cd===undefined?(_0x2f40cd=_0x5d95b2,_0x423b56=_0x5d95b2,_0x30a2cc=_0x3b8bdf,_0x843c77=_0x3b8bdf):(_0x2f40cd=Math['min'](_0x2f40cd,_0x5d95b2),_0x423b56=Math[_0x54bd06(0xb7,_0x2865a1._0x7a4b2)](_0x423b56,_0x5d95b2),_0x30a2cc=Math[_0x54bd06(0x94,0x6e)](_0x30a2cc,_0x3b8bdf),_0x843c77=Math['max'](_0x843c77,_0x3b8bdf)));}function _0x559749(_0x1d16b8,_0x14cd8e){return _0x4d716c(_0x14cd8e- -0x10d,_0x1d16b8);}const _0x188edb=this['options']['series'];_0x188edb&&_0x188edb['forEach'](_0x2b0ad8=>{function _0x54f51f(_0x38312f,_0x515790){return _0x1d81(_0x38312f- -_0x37a4b0._0xd9d30c,_0x515790);}function _0x2d5dc0(_0x3739e1,_0x1934de){return _0x1d81(_0x1934de-0x1ba,_0x3739e1);}_0x2b0ad8['data']&&_0x2b0ad8[_0x54f51f(-0x16f,-0x18f)][_0x54f51f(-_0x3419be._0x160d7b,-0x13f)](_0x55224e=>{function _0x2b39d7(_0x563541,_0x139b53){return _0x2d5dc0(_0x139b53,_0x563541- -0x45e);}if(_0x55224e['value'])_0x40df35(_0x55224e['value']);else _0x55224e['coords']&&_0x55224e['coords'][_0x2b39d7(-0x132,-0x115)](_0x5303bc=>{_0x40df35(_0x5303bc);});});});if(_0x2f40cd===0x0&&_0x30a2cc===0x0&&_0x423b56===0x0&&_0x843c77===0x0)return null;function _0x3d936d(_0xd57572,_0x5487dd){return _0x4d716c(_0x5487dd- -0x83,_0xd57572);}if(_0x2e2c0b!==null&&_0x2e2c0b!==void 0x0&&_0x2e2c0b[_0x559749(0x3fa,0x3d7)]){const _0x4827fe={};return _0x4827fe['xmin']=_0x2f40cd,_0x4827fe[_0x3d936d(0x44d,_0x1276a2._0x4531c7)]=_0x423b56,_0x4827fe['ymin']=_0x30a2cc,_0x4827fe[_0x3d936d(_0x1276a2._0x31d50c,_0x1276a2._0x12faba)]=_0x843c77,_0x4827fe;}else return Cesium['Rectangle'][_0x559749(0x3d3,_0x1276a2._0x37ebcd)](_0x2f40cd,_0x30a2cc,_0x423b56,_0x843c77);}['on'](_0x49b0e0,_0x392bbd,_0x3de393){const _0x470ab5={_0x31a78e:0x260},_0x605ed2={_0x3eea27:0x169};this[_0x133f5a(0x26f,_0x470ab5._0x31a78e)]['on'](_0x49b0e0,_0x392bbd,_0x3de393||this);function _0x133f5a(_0x21df7f,_0x15d5de){return _0x226e0e(_0x21df7f,_0x15d5de- -_0x605ed2._0x3eea27);}return this;}['onByQuery'](_0x56c062,_0x2f0f88,_0x13deb5,_0x2d7729){return this['_echartsInstance']['on'](_0x56c062,_0x2f0f88,_0x13deb5,_0x2d7729||this),this;}['off'](_0x4c60b3,_0x23f72f,_0x27339b){return this['_echartsInstance']['off'](_0x4c60b3,_0x23f72f,_0x27339b||this),this;}}function _0x4d716c(_0x1c8b3f,_0x488f67){return _0x1d81(_0x1c8b3f-0x397,_0x488f67);}mars3d__namespace['LayerUtil'][_0x226e0e(0x3e8,0x3cb)]('echarts',EchartsLayer),mars3d__namespace['layer'][_0x4d716c(0x4e1,0x4d4)]=EchartsLayer,mars3d__namespace['echarts']=echarts__namespace,exports[_0x226e0e(0x392,0x3bc)]=EchartsLayer,Object['keys'](echarts)[_0x4d716c(0x509,0x504)](function(_0x4e7839){const _0xd85f55={_0x96b218:0x2d1};function _0x54992d(_0xc0e081,_0x2b1fae){return _0x4d716c(_0xc0e081- -0x1f5,_0x2b1fae);}if(_0x4e7839!==_0x54992d(_0xd85f55._0x96b218,0x2c5)&&!exports['hasOwnProperty'](_0x4e7839))Object['defineProperty'](exports,_0x4e7839,{'enumerable':!![],'get':function(){return echarts[_0x4e7839];}});});const _0x36c74f={};function _0x15cb(){const _0x4c20c9=['zgf0yq','A2v5CW','CMvNAxn0zxjby3rPB24','mtiWotG2mxvqrNzUCq','mhb4','B3b0Aw9UCW','q2fYDg9NCMfWAgLJ','BwLU','DMLZAwjPBgL0Eq','DMfSDwu','q2vZAxvT','zgLTzw5ZAw9UCW','zgvMyxvSDe9WDgLVBG','nJu5mZu4whzHuNzf','Bw92zuHHBMrSzxi','Cg9ZDfjLBMrLCG','Bg5N','u2nLBMvnB2rL','z3jHCgHPyW','ywrKrxzLBNrmAxn0zw5LCG','x21HCNmZzf9Zy2vUzq','rwnOyxj0C0XHEwvY','ywjZB2X1Dgu','zgf0yvrVug9PBNq','AxngB3jTyxq','z2v0uMvJDgfUz2XL','y2XPzw50v2LKDgG','BwfYCZnKtwfW','y3jLyxrL','ug9PBNruCMfUCW','zwnOyxj0C0zPEgvKsgvPz2H0','mJKXmJm4nwPAEwXhrq','zML4zwrizwLNAhq','nMXoreHkDG','x2vJAgfYDhnjBNn0yw5Jzq','zNjVBurLz3jLzxm','CMvNAxn0zxi','BgvMDa','C3r5Bgu','x21HCe9MzNnLDa','z2v0vMLLD1jLy3q','C2nLBMu','Bwf4','DhLWzq','Eg1HEa','Ew1HEa','zwXSAxbZB2LK','zwnOyxj0C0f1Dg9izwLNAhq','C2nOzwr1BgvY','Cg9PBNrLCKv2zw50CW','Bgf5zxi','CMvTB3zLq2HPBgq','y2fUDMfZ','zgvWDgHuzxn0','Bgf0','y2XPzw50sgvPz2H0','C2v0rwnOyxj0C09WDgLVBG','DxbKyxrLtgf5B3v0','mtaWntu3mvzgu1vjzW','z2v0','DMLZAwjSzq','zM9YrwfJAa','C2v0t3b0Aw9U','zxH0zw5Kq29TCg9Uzw50tw9KzwW','B25SEvnPBxbSzvr5Cgu','y2XHBxbuB0DYB3vUza','BwfYCZnKtwfWuM9HBq','x2vJAgfYDhndB250ywLUzxi','z2v0sgvPz2H0','Dg9xAw5KB3DdB29YzgLUyxrLCW','x21HCa','AgvPz2H0','x3bVAw50zxjfDMvUDhm','mJiYmda5mNvZuvLODG','D2LKDgG','AxnqB2LUDfzPC2LIBgu','zgvMAw5LuhjVCgvYDhK','Cg9ZAxrPB24','z2v0qK1HCa','mZK2ndm4mg9vtK1fzG','zgvMyxvSDa','rwXSAxbZB2LKywXpy2nSDwrLCG','mti4ufvSANPW','nZC3otbTy1rfu1C','zgLZCgf0y2Hby3rPB24','x2fKzgvKsg9VAW'];_0x15cb=function(){return _0x4c20c9;};return _0x15cb();}_0x36c74f[_0x4d716c(0x4d5,0x4cf)]=!![],Object['defineProperty'](exports,'__esModule',_0x36c74f);
|
|
15
15
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars3d-echarts",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.2",
|
|
4
4
|
"description": "Mars3D平台插件,结合echarts可视化功能插件",
|
|
5
5
|
"main": "dist/mars3d-echarts.js",
|
|
6
6
|
"files": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"echarts": "^5.4.3"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"mars3d": "~3.8.
|
|
13
|
+
"mars3d": "~3.8.2"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|