mars3d-echarts 3.10.1 → 3.10.3

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/mars3d-echarts.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Mars3D平台插件,结合echarts可视化功能插件 mars3d-echarts
3
3
  *
4
- * 版本信息:v3.10.1
5
- * 编译日期:2025-08-03 17:26
4
+ * 版本信息:v3.10.3
5
+ * 编译日期:2025-08-22 11:19
6
6
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
7
7
  * 使用单位:火星科技免费公开版 ,2025-07-01
8
8
  */
@@ -11,5 +11,5 @@
11
11
  typeof define === 'function' && define.amd ? define(['exports', 'mars3d', 'echarts'], factory) :
12
12
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-echarts"] = {}, global.mars3d, global.echarts));
13
13
  })(this, (function (exports, mars3d, echarts) {
14
- 'use strict';(function(_0x383e8e,_0x282c84){const _0x44a03a={_0x59238a:0x90,_0x57ce6c:0x28f,_0x2632c8:0x2b1,_0x198ded:0x2ae,_0x1c12df:0x5b,_0x23bb49:0x7d,_0x258752:0x2b0,_0x4d2e73:0xb7};function _0x2509e7(_0x375bd9,_0x5e2f1a){return _0x2ff9(_0x5e2f1a- -0x2aa,_0x375bd9);}const _0x55a00a=_0x383e8e();function _0x40b90d(_0x1e5cc4,_0x50076c){return _0x2ff9(_0x1e5cc4-0x86,_0x50076c);}while(!![]){try{const _0x20f8aa=-parseInt(_0x2509e7(-_0x44a03a._0x59238a,-0x9b))/0x1+-parseInt(_0x40b90d(_0x44a03a._0x57ce6c,0x284))/0x2*(-parseInt(_0x40b90d(0x2ad,0x2cc))/0x3)+parseInt(_0x40b90d(_0x44a03a._0x2632c8,0x2b9))/0x4+-parseInt(_0x40b90d(0x2be,_0x44a03a._0x198ded))/0x5+-parseInt(_0x2509e7(-_0x44a03a._0x1c12df,-_0x44a03a._0x23bb49))/0x6+parseInt(_0x40b90d(_0x44a03a._0x258752,0x2d6))/0x7+parseInt(_0x2509e7(-0xbb,-_0x44a03a._0x4d2e73))/0x8;if(_0x20f8aa===_0x282c84)break;else _0x55a00a['push'](_0x55a00a['shift']());}catch(_0x2f42f1){_0x55a00a['push'](_0x55a00a['shift']());}}}(_0x33b6,0xd328a));function _interopNamespace(_0xde4f28){const _0x323bb5={_0x4b575e:0x85};if(_0xde4f28&&_0xde4f28['__esModule'])return _0xde4f28;var _0xfde219=Object['create'](null);return _0xde4f28&&Object['keys'](_0xde4f28)['forEach'](function(_0x3bc483){function _0x41eb49(_0x149ad3,_0x48dc43){return _0x2ff9(_0x48dc43- -0x17f,_0x149ad3);}if(_0x3bc483!==_0x41eb49(0x74,_0x323bb5._0x4b575e)){var _0x793b5a=Object['getOwnPropertyDescriptor'](_0xde4f28,_0x3bc483);Object['defineProperty'](_0xfde219,_0x3bc483,_0x793b5a['get']?_0x793b5a:{'enumerable':!![],'get':function(){return _0xde4f28[_0x3bc483];}});}}),_0xfde219['default']=_0xde4f28,_0xfde219;}var mars3d__namespace=_interopNamespace(mars3d),echarts__namespace=_interopNamespace(echarts);function _0x33b6(){const _0x52c9ca=['C2v0twfWt2zMC2v0','x3bVAw50zxjfDMvUDhm','A2v5CW','x21HCe9MzNnLDa','zgvWDgHuzxn0','EKLUzgv4','mtaYoda5mJHoAgPuu1u','x21VDw50zwriB29R','CMvZAxPL','Aw5PDa','CMvTB3zLq2HPBgq','DMfSDwu','BwfYCZnKtwfWuM9HBq','zgvMAw5LuhjVCgvYDhK','CMvTB3zLrxzLBNrmAxn0zw5LCG','AgfZt3DUuhjVCgvYDhK','zgL2','DMLZAwjPBgL0Eq','Bwf4','Dg9W','q2fYDg9NCMfWAgLJ','zwfJAfnLCMLLCW','D2LKDgG','zgvMyxvSDa','CM9HBq','C3r5Bgu','zML4zwrizwLNAhq','B3b0Aw9UCW','mMPsALHizG','yxbP','AxngB3jTyxq','x2vJAgfYDhnjBNn0yw5Jzq','zgf0yvrVug9PBNq','x21HCNmZzf9Zy2vUzq','mta5odu0m2jpz3resW','y2fTzxjH','z2v0qK1HCa','B25SEvnPBxbSzvr5Cgu','CgfPBNrLCG','C2vYAwvZ','zwnOyxj0CW','x2fWAq','Eg1PBG','x21HCa','y29VCMrZ','zwnOyxj0C0zPEgvKsgvPz2H0','Dg9xAw5KB3DdB29YzgLUyxrLCW','y2XPzw50v2LKDgG','C2nOzwr1BgvY','q2vZAxvT','y2fUDMfZ','zxH0zw5Kq29TCg9Uzw50vMLLDW','y3jLyxrL','rwXSAxbZB2LKywXpy2nSDwrLCG','uMvJDgfUz2XL','BwfYCZnKtwfW','DhLWzq','BwLU','mtCZndmWm2LptNzHuG','Cg9PBNrLCKv2zw50CW','DxbKyxrL','ndG1otK4og51Bw1yBW','ntaWnJiXnNPtwMr1ta','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','nZKYmJmYog5UueXfwG','Bg5N','zwfJAenVBxbVBMvUDa','z2v0uMvJDgfUz2XL','C2nLBMu','rg9TvxrPBa','Bgf5zxi','Bw92zuHHBMrSzxi','zwnOyxj0C0f1Dg9izwLNAhq','x2vJAgfYDhndB250ywLUzxi','y29VCMrPBMf0zvn5C3rLBq','mJyYnJa5mhbvzMDYtW','Eg1HEa','z2v0sgvPz2H0','C2v0rwnOyxj0C09WDgLVBG','zgLTzw5ZAw9UCW','z2v0v2LKDgG','zgLZCg9Zzq','Cg9ZAxrPB24','ywXS'];_0x33b6=function(){return _0x52c9ca;};return _0x33b6();}const Cesium$1=mars3d__namespace['Cesium'];class CompositeCoordinateSystem{constructor(_0x92f38b,_0x41fa2e){this['_mars3d_scene']=_0x92f38b,this[_0x52b8a5(0x5b7,0x5d2)]=['lng','lat'],this['_mapOffset']=[0x0,0x0];function _0x52b8a5(_0x33b52a,_0x59c52d){return _0x2ff9(_0x59c52d-0x396,_0x33b52a);}this['_api']=_0x41fa2e;}[_0x326c5e(0x213,0x22f)](_0x20e5cf){const _0x403a79={_0xfcc1d:0x1bf},_0x29524e={_0x3907cb:0x2e};function _0x17ee2e(_0x33cb80,_0x31e2e7){return _0x326c5e(_0x31e2e7- -_0x29524e._0x3907cb,_0x33cb80);}this[_0x17ee2e(_0x403a79._0xfcc1d,0x1e8)]=_0x20e5cf;}[_0x326c5e(0x237,0x239)](){return this['_mars3d_scene'];}[_0x326c5e(0x233,0x234)](_0x58d905){const _0x353f9e={_0x44782c:0xf1,_0x2dac2f:0x154,_0x3957ab:0xfb},_0x85348f={_0x136790:0x100};function _0x3e3fb1(_0x23a78d,_0x5dfe9a){return _0x58be30(_0x5dfe9a,_0x23a78d-0xa4);}const _0xda1cc=this['_mars3d_scene'],_0x12b9a9=[NaN,NaN];let _0xbe81df=_0xda1cc[_0x26c684(0x122,0x12d)];_0xda1cc['echartsAutoHeight']&&(_0xbe81df=_0xda1cc[_0x3e3fb1(_0x353f9e._0x44782c,0x108)](Cesium$1[_0x26c684(0x115,0x114)]['fromDegrees'](_0x58d905[0x0],_0x58d905[0x1])));const _0x2d9c9d=Cesium$1['Cartesian3']['fromDegrees'](_0x58d905[0x0],_0x58d905[0x1],_0xbe81df);if(!_0x2d9c9d)return _0x12b9a9;const _0x17e4e3=mars3d__namespace['PointTrans'][_0x26c684(_0x353f9e._0x2dac2f,0x12e)](_0xda1cc,_0x2d9c9d);function _0x26c684(_0x10be9c,_0x4ec26c){return _0x58be30(_0x10be9c,_0x4ec26c-_0x85348f._0x136790);}if(!_0x17e4e3)return _0x12b9a9;if(_0xda1cc['echartsDepthTest']&&_0xda1cc['mode']===Cesium$1['SceneMode']['SCENE3D']){const _0x16e431=new Cesium$1[(_0x3e3fb1(0xd9,0xde))](_0xda1cc['globe']['ellipsoid'],_0xda1cc[_0x26c684(0x146,0x123)]['positionWC']),_0x16785=_0x16e431['isPointVisible'](_0x2d9c9d);if(!_0x16785)return _0x12b9a9;}return[_0x17e4e3['x']-this['_mapOffset'][0x0],_0x17e4e3['y']-this[_0x26c684(_0x353f9e._0x3957ab,0x103)][0x1]];}['getViewRect'](){const _0x3bc85a={_0xbabe3e:0x10c},_0x3178db={_0x398647:0x142},_0x3cd5b1=this[_0x2dc872(-_0x3bc85a._0xbabe3e,-0x119)];function _0x2d49c3(_0x2223ce,_0x47b9d9){return _0x326c5e(_0x47b9d9- -0x339,_0x2223ce);}function _0x2dc872(_0x5a8add,_0x43f631){return _0x58be30(_0x5a8add,_0x43f631- -_0x3178db._0x398647);}return new echarts__namespace['graphic']['BoundingRect'](0x0,0x0,_0x3cd5b1[_0x2dc872(-0x103,-0xf2)](),_0x3cd5b1['getHeight']());}['getRoamTransform'](){const _0x5a0719={_0x41103e:0x11a};function _0x51e679(_0xa32191,_0x28f2dc){return _0x326c5e(_0xa32191- -0x12d,_0x28f2dc);}return echarts__namespace['matrix'][_0x51e679(_0x5a0719._0x41103e,0xf9)]();}}CompositeCoordinateSystem['dimensions']=[_0x326c5e(0x254,0x26c),'lat'],CompositeCoordinateSystem[_0x58be30(0x32,0x34)]=function(_0x15ce66,_0xefc63b){const _0x21a0af={_0x2dc0a3:0x4cf,_0x37e86a:0x4db,_0x59216f:0x4b4},_0x552a43={_0x51610c:0x395},_0x1057e7={_0x317d7e:0x154},_0x7e34a5={_0x55b34b:0x42d,_0xda6617:0x1f,_0x50fbf5:0x3},_0x52d4df={_0x5bf926:0x4ec};let _0x4b6f33;function _0xcd3b44(_0x395835,_0x5c31f0){return _0x326c5e(_0x5c31f0-0x28c,_0x395835);}const _0x583deb=_0x15ce66[_0xcd3b44(0x4d5,_0x21a0af._0x2dc0a3)]['ecInstance']['_mars3d_scene'];_0x15ce66[_0x2fc17a(0x126,0x123)]('mars3dMap',function(_0x4eaae6){function _0x3169f2(_0x35a9b0,_0x198a5a){return _0x2fc17a(_0x198a5a,_0x35a9b0-0x326);}const _0x3bd8c7=_0xefc63b['getZr']()[_0x3169f2(_0x7e34a5._0x55b34b,0x423)];function _0x293017(_0x951d57,_0x196cbf){return _0xcd3b44(_0x951d57,_0x196cbf- -_0x52d4df._0x5bf926);}if(!_0x3bd8c7)return;!_0x4b6f33&&(_0x4b6f33=new CompositeCoordinateSystem(_0x583deb,_0xefc63b)),_0x4eaae6[_0x293017(-_0x7e34a5._0xda6617,-_0x7e34a5._0x50fbf5)]=_0x4b6f33,_0x4b6f33['setMapOffset'](_0x4eaae6['__mapOffset']||[0x0,0x0]);});function _0x2fc17a(_0x27e54e,_0x5dc247){return _0x58be30(_0x27e54e,_0x5dc247-0xe1);}_0x15ce66[_0xcd3b44(_0x21a0af._0x37e86a,_0x21a0af._0x59216f)](function(_0x49eb7c){function _0x3ea136(_0x4fe04d,_0x1a69a2){return _0xcd3b44(_0x1a69a2,_0x4fe04d- -0x1d7);}function _0x2f20c9(_0x374b62,_0x1f44af){return _0xcd3b44(_0x1f44af,_0x374b62- -_0x1057e7._0x317d7e);}_0x49eb7c['get']('coordinateSystem')===_0x2f20c9(0x382,0x35c)&&(!_0x4b6f33&&(_0x4b6f33=new CompositeCoordinateSystem(_0x583deb,_0xefc63b)),_0x49eb7c[_0x2f20c9(_0x552a43._0x51610c,0x39b)]=_0x4b6f33);});};function _0x326c5e(_0xb5c94c,_0x924e30){return _0x2ff9(_0xb5c94c-0x26,_0x924e30);}if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x58be30(-0x21,0x9)]){echarts__namespace[_0x58be30(0x16,0x3f)](_0x326c5e(0x24a,0x241),CompositeCoordinateSystem);const _0x2a4de0={};_0x2a4de0['type']='mars3dMapRoam',_0x2a4de0['event']=_0x58be30(0x10,0xc),_0x2a4de0[_0x326c5e(0x24f,0x276)]='updateLayout',echarts__namespace['registerAction'](_0x2a4de0,function(_0x499c40,_0x5e0a4b){});const _0x3e2487={};_0x3e2487[_0x326c5e(0x22b,0x252)]=![];const _0x504477={};_0x504477[_0x58be30(0x40,0x38)]='mars3dMap',_0x504477[_0x58be30(0x49,0x24)]=function(){const _0x152a5c={_0x5c99e5:0x71};function _0x568add(_0x466465,_0x3f624c){return _0x58be30(_0x3f624c,_0x466465-0x5a);}return this[_0x568add(0x7b,_0x152a5c._0x5c99e5)];},_0x504477['defaultOption']=_0x3e2487,echarts__namespace['extendComponentModel'](_0x504477),echarts__namespace[_0x58be30(0x4c,0x33)]({'type':_0x58be30(0x53,0x37),'init':function(_0x443ada,_0x51d315){const _0x5020e={_0x113537:0x53e};this['api']=_0x51d315;function _0x1306ca(_0x66e0fd,_0x4e0604){return _0x326c5e(_0x4e0604-0x2d6,_0x66e0fd);}this['scene']=_0x443ada['scheduler']['ecInstance']['_mars3d_scene'],this[_0x1306ca(_0x5020e._0x113537,0x52d)]['postRender']['addEventListener'](this['moveHandler'],this);},'moveHandler':function(_0x40e5a5,_0x58c9df){const _0x2ea132={_0x32dbe4:0x258,_0x4b7490:0x3a4,_0x535731:0x3a9},_0x1939c0={_0x5aec17:0x174},_0x554728={_0x54dc5e:0xd};function _0x88d948(_0x3462b1,_0x4d9031){return _0x326c5e(_0x4d9031-_0x554728._0x54dc5e,_0x3462b1);}const _0x24e530={};_0x24e530[_0x88d948(0x23c,_0x2ea132._0x32dbe4)]='mars3dMapRoam';function _0x21ab1b(_0x17275d,_0x303982){return _0x326c5e(_0x17275d-_0x1939c0._0x5aec17,_0x303982);}this[_0x21ab1b(_0x2ea132._0x4b7490,_0x2ea132._0x535731)]['dispatchAction'](_0x24e530);},'render':function(_0x40f68b,_0x36bcbb,_0x34c608){},'dispose':function(_0x484e17){const _0x3c2470={_0x4c4d4e:0x15a},_0x56b248={_0x109bee:0x311},_0xb8dfd0={_0x4f8f10:0x1b7};function _0x1287bc(_0x4d61f9,_0x32543c){return _0x58be30(_0x4d61f9,_0x32543c- -_0xb8dfd0._0x4f8f10);}function _0x5eb59e(_0x3348ae,_0x12e94f){return _0x326c5e(_0x12e94f- -_0x56b248._0x109bee,_0x3348ae);}this['scene']['postRender'][_0x5eb59e(-0xd3,-0xf0)](this[_0x1287bc(-_0x3c2470._0x4c4d4e,-0x170)],this);}});}else throw new Error('请引入\x20echarts\x20库\x20');const Cesium=mars3d__namespace[_0x326c5e(0x244,0x261)];function _0x58be30(_0x30f57a,_0x10f2e1){return _0x2ff9(_0x10f2e1- -0x1ed,_0x30f57a);}const BaseLayer=mars3d__namespace['layer']['BaseLayer'];function _0x2ff9(_0x1335dc,_0x139db6){const _0x33b6c0=_0x33b6();return _0x2ff9=function(_0x2ff97e,_0x220e46){_0x2ff97e=_0x2ff97e-0x1eb;let _0x264f7e=_0x33b6c0[_0x2ff97e];if(_0x2ff9['FXDUme']===undefined){var _0x643c0a=function(_0x2a4de0){const _0x3e2487='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x504477='',_0x288f56='';for(let _0x30323f=0x0,_0x4f39fc,_0x208dac,_0xde4f28=0x0;_0x208dac=_0x2a4de0['charAt'](_0xde4f28++);~_0x208dac&&(_0x4f39fc=_0x30323f%0x4?_0x4f39fc*0x40+_0x208dac:_0x208dac,_0x30323f++%0x4)?_0x504477+=String['fromCharCode'](0xff&_0x4f39fc>>(-0x2*_0x30323f&0x6)):0x0){_0x208dac=_0x3e2487['indexOf'](_0x208dac);}for(let _0xfde219=0x0,_0x3bc483=_0x504477['length'];_0xfde219<_0x3bc483;_0xfde219++){_0x288f56+='%'+('00'+_0x504477['charCodeAt'](_0xfde219)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x288f56);};_0x2ff9['pSmIrL']=_0x643c0a,_0x1335dc=arguments,_0x2ff9['FXDUme']=!![];}const _0x104d3c=_0x33b6c0[0x0],_0x3d30ee=_0x2ff97e+_0x104d3c,_0x55348b=_0x1335dc[_0x3d30ee];return!_0x55348b?(_0x264f7e=_0x2ff9['pSmIrL'](_0x264f7e),_0x1335dc[_0x3d30ee]=_0x264f7e):_0x264f7e=_0x55348b,_0x264f7e;},_0x2ff9(_0x1335dc,_0x139db6);}class EchartsLayer extends BaseLayer{constructor(_0x482e2f={}){const _0x9c352a={_0x1f1e97:0x15f,_0x4a069e:0x129};super(_0x482e2f);function _0x476cac(_0x5f2ddf,_0x28ebfb){return _0x326c5e(_0x5f2ddf- -0x377,_0x28ebfb);}function _0x6d95dd(_0x4d6cf2,_0x211ee4){return _0x326c5e(_0x211ee4-0x2de,_0x4d6cf2);}this[_0x476cac(-0x163,-_0x9c352a._0x1f1e97)]=this['options'][_0x476cac(-_0x9c352a._0x4a069e,-0x13e)];}get[_0x58be30(0x1c,0x46)](){const _0x2bbfbc={_0x9bdb0e:0x47e};function _0x433f19(_0x264555,_0x2cdb32){return _0x58be30(_0x2cdb32,_0x264555-0x486);}return this[_0x433f19(0x4a5,_0x2bbfbc._0x9bdb0e)];}get[_0x58be30(0x5c,0x3b)](){return this['_pointerEvents'];}set['pointerEvents'](_0x4d7339){const _0x321252={_0x2f2346:0x556},_0x4d0720={_0x1d17ae:0xf5};this['_pointerEvents']=_0x4d7339;function _0x32bcfe(_0x222565,_0x1405d3){return _0x58be30(_0x1405d3,_0x222565-_0x4d0720._0x1d17ae);}function _0xb52b32(_0x59e722,_0x15e855){return _0x58be30(_0x59e722,_0x15e855-_0x321252._0x2f2346);}this[_0xb52b32(0x598,0x59f)]&&(_0x4d7339?this['_echartsContainer']['style']['pointerEvents']=_0x32bcfe(0xf4,0xfa):this['_echartsContainer']['style']['pointerEvents']='none');}['_setOptionsHook'](_0x3c1c19,_0x3e3d42){this['setEchartsOption'](_0x3c1c19);}['_showHook'](_0x30f7ef){const _0x1a9845={_0x458fbb:0x17f,_0x257b3a:0x10a,_0x3339d4:0x169,_0x5b1f10:0x1b7};function _0x50dda1(_0x120f51,_0x101b89){return _0x58be30(_0x120f51,_0x101b89- -0x12e);}function _0x362aea(_0x330683,_0x2f9502){return _0x326c5e(_0x2f9502- -0x3db,_0x330683);}_0x30f7ef?this[_0x362aea(-0x1a6,-_0x1a9845._0x458fbb)][_0x50dda1(-_0x1a9845._0x257b3a,-0x115)][_0x362aea(-0x1ba,-0x1b7)]='visible':this[_0x362aea(-_0x1a9845._0x3339d4,-0x17f)]['style'][_0x362aea(-0x1dd,-_0x1a9845._0x5b1f10)]='hidden';}[_0x58be30(-0xe,0x7)](){const _0x5d5778={_0x571e42:0x50b,_0x185ee5:0x503,_0x2ca549:0xe5,_0x22cd8e:0x551,_0x3a18bb:0xe4},_0x2fa5ac={_0x3f4baa:0xca},_0x568a45={_0x5de2d0:0x507};this[_0x28986a(0xdf,0xf5)]['scene']['echartsDepthTest']=this['options'][_0x1c6424(_0x5d5778._0x571e42,_0x5d5778._0x185ee5)]??!![];function _0x1c6424(_0x275db2,_0x3a7307){return _0x58be30(_0x3a7307,_0x275db2-_0x568a45._0x5de2d0);}this['_map']['scene'][_0x1c6424(0x54f,0x534)]=this[_0x28986a(0xf0,_0x5d5778._0x2ca549)]['clampToGround']??![];function _0x28986a(_0x179c97,_0xeb87e5){return _0x58be30(_0x179c97,_0xeb87e5-_0x2fa5ac._0x3f4baa);}this[_0x1c6424(0x532,_0x5d5778._0x22cd8e)][_0x28986a(0x132,0x10e)]['echartsFixedHeight']=this['options'][_0x28986a(0xe4,_0x5d5778._0x3a18bb)]??0x0;}['_addedHook'](){const _0x42de00={_0x305e09:0x4bd,_0x1de1df:0x4d0,_0x11416e:0x599,_0x5d5290:0x5b4};this['_echartsContainer']=this['_createChartOverlay'](),this['_echartsInstance']=echarts__namespace['init'](this['_echartsContainer']),this['_echartsInstance']['_mars3d_scene']=this[_0x31d667(_0x42de00._0x305e09,_0x42de00._0x1de1df)]['scene'];function _0x3282c6(_0xb81838,_0x4b24b6){return _0x326c5e(_0xb81838-0x338,_0x4b24b6);}function _0x31d667(_0x8ce3de,_0x40723e){return _0x326c5e(_0x40723e-0x292,_0x8ce3de);}this[_0x3282c6(_0x42de00._0x11416e,_0x42de00._0x5d5290)](this[_0x3282c6(0x566,0x546)]);}['_removedHook'](){const _0x9406f8={_0x49d006:0xc6,_0xc6a217:0x119,_0x49e781:0x34,_0x17bc32:0xc0,_0x244c19:0xde};this[_0xea7bbe(-0xfd,-0x108)]&&(this['_echartsInstance']['clear'](),this['_echartsInstance'][_0xea7bbe(-0xd7,-0xd6)](),delete this[_0xea7bbe(-0x130,-0x108)]);function _0xea7bbe(_0xc82177,_0x42bb72){return _0x58be30(_0xc82177,_0x42bb72- -0x127);}function _0x410041(_0x3b4403,_0x8ae2cc){return _0x58be30(_0x8ae2cc,_0x3b4403- -0x9e);}this[_0xea7bbe(-_0x9406f8._0x49d006,-0xde)]&&(this[_0xea7bbe(-_0x9406f8._0xc6a217,-0xfc)]['container'][_0xea7bbe(-0x10e,-0x11d)](this[_0x410041(-0x55,-_0x9406f8._0x49e781)]),delete this[_0xea7bbe(-_0x9406f8._0x17bc32,-_0x9406f8._0x244c19)]);}['_createChartOverlay'](){const _0x166826={_0x1e60ef:0x4dc,_0x5083f1:0x5ae,_0x5f4edf:0x4e4,_0x510ad6:0x4f7,_0x40af93:0x595,_0x5563eb:0x5d9,_0x68e9f0:0x522,_0x289ed7:0x4df,_0x1331d6:0x59a,_0x524b94:0x5b0},_0x13aa26={_0x2871aa:0x382},_0x62ad21=mars3d__namespace[_0x402d56(0x523,0x4ff)]['create'](_0x402d56(0x4ee,0x4ef),'mars3d-echarts',this[_0x402d56(0x509,0x519)]['container']);_0x62ad21['id']=this['id'],_0x62ad21['style'][_0x402d56(_0x166826._0x1e60ef,0x4fc)]='absolute',_0x62ad21[_0x66de33(0x5ab,_0x166826._0x5083f1)][_0x402d56(0x4f1,_0x166826._0x5f4edf)]='0px',_0x62ad21[_0x402d56(_0x166826._0x510ad6,0x4f6)]['left']='0px',_0x62ad21[_0x402d56(_0x166826._0x510ad6,0x4f9)][_0x66de33(_0x166826._0x40af93,0x5ab)]=this['_map'][_0x66de33(0x5ea,_0x166826._0x5563eb)]['canvas']['clientWidth']+'px',_0x62ad21[_0x66de33(0x587,0x5ae)]['height']=this[_0x402d56(0x509,0x519)]['scene'][_0x402d56(0x510,_0x166826._0x68e9f0)]['clientHeight']+'px',_0x62ad21['style']['pointerEvents']=this[_0x402d56(_0x166826._0x289ed7,0x508)]?'all':'none',_0x62ad21['style'][_0x66de33(0x5a5,_0x166826._0x1331d6)]=this[_0x66de33(0x5cb,_0x166826._0x524b94)]['zIndex']??0x9;function _0x402d56(_0x58b8db,_0x576e02){return _0x326c5e(_0x58b8db-0x2cb,_0x576e02);}function _0x66de33(_0x677d7e,_0x1b784d){return _0x326c5e(_0x1b784d-_0x13aa26._0x2871aa,_0x677d7e);}return _0x62ad21;}[_0x58be30(0x0,0x8)](){const _0x42bba1={_0x1649d0:0xe3,_0xf723ff:0x46d,_0x294cd3:0x4ae,_0x3ed202:0x489,_0x5f0bcd:0xc2},_0x3c2ab1={_0x3cec24:0x22d};if(!this['_echartsInstance'])return;this['_echartsContainer']['style']['width']=this[_0x7bf212(0xce,_0x42bba1._0x1649d0)]['scene']['canvas'][_0x12d68b(_0x42bba1._0xf723ff,0x46f)]+'px',this[_0x12d68b(_0x42bba1._0x294cd3,_0x42bba1._0x3ed202)]['style']['height']=this['_map']['scene'][_0x7bf212(0xd5,0xda)]['clientHeight']+'px';function _0x12d68b(_0x31d23f,_0x58182a){return _0x326c5e(_0x58182a-_0x3c2ab1._0x3cec24,_0x31d23f);}function _0x7bf212(_0xb52165,_0x21b4d2){return _0x326c5e(_0xb52165- -0x170,_0x21b4d2);}this[_0x7bf212(_0x42bba1._0x5f0bcd,0xdb)]['resize']();}[_0x58be30(0x38,0x4e)](_0x43d325,_0x271588,_0x315da8){const _0x26b0c7={_0x52cce5:0x41d,_0x50b7f9:0x445},_0x290cea={_0x44368c:0x3a2};function _0x2efe1b(_0x4c21ff,_0x5abe78){return _0x326c5e(_0x4c21ff- -_0x290cea._0x44368c,_0x5abe78);}function _0x280a81(_0x42c44c,_0x16affa){return _0x58be30(_0x42c44c,_0x16affa-0x400);}if(this[_0x280a81(_0x26b0c7._0x52cce5,0x41f)]){const _0x239676={};_0x239676[_0x280a81(_0x26b0c7._0x50b7f9,0x425)]=!![],_0x43d325={'mars3dMap':{},...mars3d__namespace['Util']['getAttrVal'](_0x43d325,_0x239676)},delete _0x43d325['eventParent'],this['_echartsInstance']['setOption'](_0x43d325,_0x271588,_0x315da8);}}[_0x58be30(0x51,0x43)](_0x1763ff){const _0x136ea4={_0x58167f:0xcd,_0xc8975c:0xa3,_0x19ddc7:0x94,_0x5d330b:0x73},_0x598ee4={_0x5cef82:0xca},_0x141122={_0x7a6557:0x106},_0x534a81={_0x2d3a73:0x282},_0x4279b8={_0x2dd6f4:0x1ab,_0x394b35:0x184};let _0x4b5c3d,_0x3aa8c8,_0x33a027,_0xad8c51;function _0x43917e(_0x3ac557){const _0x59f879={_0x289983:0x321};if(!Array['isArray'](_0x3ac557))return;const _0x1da2ab=_0x3ac557[0x0]||0x0;function _0x578ccb(_0x3c28ec,_0x49bf23){return _0x2ff9(_0x3c28ec- -0x7b,_0x49bf23);}const _0x43b271=_0x3ac557[0x1]||0x0;function _0x4b4be9(_0x407fb6,_0x288252){return _0x2ff9(_0x407fb6- -_0x59f879._0x289983,_0x288252);}_0x1da2ab!==0x0&&_0x43b271!==0x0&&(_0x4b5c3d===undefined?(_0x4b5c3d=_0x1da2ab,_0x3aa8c8=_0x1da2ab,_0x33a027=_0x43b271,_0xad8c51=_0x43b271):(_0x4b5c3d=Math[_0x578ccb(_0x4279b8._0x2dd6f4,0x1bd)](_0x4b5c3d,_0x1da2ab),_0x3aa8c8=Math[_0x578ccb(_0x4279b8._0x394b35,0x186)](_0x3aa8c8,_0x1da2ab),_0x33a027=Math['min'](_0x33a027,_0x43b271),_0xad8c51=Math['max'](_0xad8c51,_0x43b271)));}const _0x349a73=this[_0x4f3c7e(-0xaf,-_0x136ea4._0x58167f)][_0x4f3c7e(-_0x136ea4._0xc8975c,-0xcc)];function _0x443722(_0x29fba4,_0x57b8b7){return _0x326c5e(_0x57b8b7- -_0x534a81._0x2d3a73,_0x29fba4);}_0x349a73&&_0x349a73['forEach'](_0x38e560=>{_0x38e560['data']&&_0x38e560['data']['forEach'](_0x2a239f=>{const _0x4fc354={_0x49f37b:0x2fe};function _0x2a93d5(_0x2b7aa4,_0x5bf5af){return _0x2ff9(_0x5bf5af- -0x275,_0x2b7aa4);}function _0x4b291d(_0x27d44d,_0x58b4f7){return _0x2ff9(_0x58b4f7- -_0x4fc354._0x49f37b,_0x27d44d);}if(_0x2a239f['value'])_0x43917e(_0x2a239f[_0x4b291d(-0x126,-_0x141122._0x7a6557)]);else _0x2a239f[_0x4b291d(-0xcf,-0xe5)]&&_0x2a239f[_0x2a93d5(-0x4d,-0x5c)]['forEach'](_0xf28dc9=>{_0x43917e(_0xf28dc9);});});});function _0x4f3c7e(_0xdb471,_0x2c8e7d){return _0x58be30(_0x2c8e7d,_0xdb471- -_0x598ee4._0x5cef82);}if(_0x4b5c3d===0x0&&_0x33a027===0x0&&_0x3aa8c8===0x0&&_0xad8c51===0x0)return null;if(_0x1763ff!==null&&_0x1763ff!==void 0x0&&_0x1763ff[_0x443722(-0x59,-0x51)]){const _0x165e14={};return _0x165e14[_0x443722(-0x2f,-0x45)]=_0x4b5c3d,_0x165e14[_0x443722(0x0,-0x23)]=_0x3aa8c8,_0x165e14['ymin']=_0x33a027,_0x165e14['ymax']=_0xad8c51,_0x165e14;}else return Cesium[_0x4f3c7e(-_0x136ea4._0x19ddc7,-_0x136ea4._0x5d330b)]['fromDegrees'](_0x4b5c3d,_0x33a027,_0x3aa8c8,_0xad8c51);}['on'](_0x521707,_0x52ee2f,_0xd7ba9b){return this['_echartsInstance']['on'](_0x521707,_0x52ee2f,_0xd7ba9b||this),this;}['onByQuery'](_0x24d7e3,_0x457dcc,_0x20c045,_0x196ed3){const _0x3ad0ed={_0x2529be:0x505,_0x52c52d:0x509};function _0x49ff97(_0x2a6275,_0x4cec4a){return _0x58be30(_0x4cec4a,_0x2a6275-0x4e6);}return this[_0x49ff97(_0x3ad0ed._0x2529be,_0x3ad0ed._0x52c52d)]['on'](_0x24d7e3,_0x457dcc,_0x20c045,_0x196ed3||this),this;}['off'](_0x3ae6bb,_0x9fe2e1,_0x24a008){const _0x4e98bb={_0x3cb4ab:0x1bc};this[_0x3c258a(-0x1b6,-_0x4e98bb._0x3cb4ab)]['off'](_0x3ae6bb,_0x9fe2e1,_0x24a008||this);function _0x3c258a(_0x5307d8,_0x408332){return _0x58be30(_0x408332,_0x5307d8- -0x1d5);}return this;}}mars3d__namespace['LayerUtil']['register'](_0x326c5e(0x23b,0x253),EchartsLayer),mars3d__namespace['layer']['EchartsLayer']=EchartsLayer,mars3d__namespace['echarts']=echarts__namespace,mars3d__namespace['Log']['logInfo']('mars3d-echarts插件\x20注册成功'),exports['EchartsLayer']=EchartsLayer,Object[_0x58be30(-0xc,0x2)](echarts)['forEach'](function(_0x52c036){const _0xe3f741={_0x3b154a:0x1ae};function _0x2f2eee(_0xc2d869,_0x352dbe){return _0x326c5e(_0x352dbe- -0x3d0,_0xc2d869);}if(_0x52c036!=='default'&&!exports[_0x2f2eee(-0x1d2,-_0xe3f741._0x3b154a)](_0x52c036))Object['defineProperty'](exports,_0x52c036,{'enumerable':!![],'get':function(){return echarts[_0x52c036];}});});const _0x208dac={};_0x208dac[_0x326c5e(0x21e,0x233)]=!![],Object[_0x58be30(-0xd,0xd)](exports,'__esModule',_0x208dac);
14
+ 'use strict';(function(_0xe2c112,_0x153641){const _0x4f763a={_0x38aa69:0xa6,_0x18daee:0x63,_0x5add8e:0xce},_0x580817={_0x2a06b4:0x225};function _0x282001(_0x11297c,_0x2c59ba){return _0x1b0b(_0x2c59ba- -0xdc,_0x11297c);}const _0x2e00d1=_0xe2c112();function _0x46a0bd(_0x4f3233,_0x3e347b){return _0x1b0b(_0x3e347b- -_0x580817._0x2a06b4,_0x4f3233);}while(!![]){try{const _0x243816=parseInt(_0x46a0bd(-_0x4f763a._0x38aa69,-0x8d))/0x1*(parseInt(_0x46a0bd(-0x90,-0xa3))/0x2)+parseInt(_0x282001(0xa2,0xba))/0x3*(parseInt(_0x46a0bd(-_0x4f763a._0x18daee,-0x72))/0x4)+-parseInt(_0x282001(0x71,0x9b))/0x5+-parseInt(_0x282001(0xae,0xa7))/0x6+-parseInt(_0x282001(_0x4f763a._0x5add8e,0xdb))/0x7+-parseInt(_0x46a0bd(-0xb5,-0x8a))/0x8+parseInt(_0x46a0bd(-0x89,-0xa7))/0x9*(parseInt(_0x46a0bd(-0xa6,-0x97))/0xa);if(_0x243816===_0x153641)break;else _0x2e00d1['push'](_0x2e00d1['shift']());}catch(_0x5b0c21){_0x2e00d1['push'](_0x2e00d1['shift']());}}}(_0x1d06,0x1cd04));function _0x492935(_0x571392,_0x126a71){const _0x5a123b={_0xb1689f:0x266};return _0x1b0b(_0x126a71- -_0x5a123b._0xb1689f,_0x571392);}function _interopNamespace(_0x5d0e39){const _0x563a07={_0x2c0a1f:0x1d5},_0x40e7b7={_0x21af31:0x359},_0x32d3c6={_0x87428:0x1a1};if(_0x5d0e39&&_0x5d0e39['__esModule'])return _0x5d0e39;var _0x34f7d4=Object[_0x24f264(0x1c0,0x1c2)](null);function _0x24f264(_0x521b4c,_0xabb299){return _0x1b0b(_0xabb299-0x2f,_0x521b4c);}_0x5d0e39&&Object['keys'](_0x5d0e39)[_0x24f264(0x1ae,_0x563a07._0x2c0a1f)](function(_0xd958b6){function _0x540782(_0x1272f2,_0x56eb6b){return _0x24f264(_0x1272f2,_0x56eb6b- -0x19f);}function _0x383436(_0x287a0b,_0x410e49){return _0x24f264(_0x410e49,_0x287a0b-_0x32d3c6._0x87428);}if(_0xd958b6!==_0x540782(0x28,0x41)){var _0x2b0458=Object['getOwnPropertyDescriptor'](_0x5d0e39,_0xd958b6);Object[_0x540782(0x27,0x52)](_0x34f7d4,_0xd958b6,_0x2b0458[_0x383436(0x34d,_0x40e7b7._0x21af31)]?_0x2b0458:{'enumerable':!![],'get':function(){return _0x5d0e39[_0xd958b6];}});}});_0x34f7d4['default']=_0x5d0e39;function _0x35d01a(_0x4c5995,_0x2c07fc){return _0x1b0b(_0x4c5995- -0x66,_0x2c07fc);}return _0x34f7d4;}function _0x49d06b(_0x38c54c,_0x2ab883){return _0x1b0b(_0x38c54c- -0x80,_0x2ab883);}function _0x1b0b(_0x5beb26,_0xf8c6f1){const _0x1d06e0=_0x1d06();return _0x1b0b=function(_0x1b0b6a,_0x376dd4){_0x1b0b6a=_0x1b0b6a-0x172;let _0x2111a4=_0x1d06e0[_0x1b0b6a];if(_0x1b0b['YJDwjl']===undefined){var _0x351853=function(_0x44361b){const _0x8c6a5b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x186015='',_0x3a7d47='';for(let _0x478a14=0x0,_0x5d7960,_0x55d7fe,_0x5d0e39=0x0;_0x55d7fe=_0x44361b['charAt'](_0x5d0e39++);~_0x55d7fe&&(_0x5d7960=_0x478a14%0x4?_0x5d7960*0x40+_0x55d7fe:_0x55d7fe,_0x478a14++%0x4)?_0x186015+=String['fromCharCode'](0xff&_0x5d7960>>(-0x2*_0x478a14&0x6)):0x0){_0x55d7fe=_0x8c6a5b['indexOf'](_0x55d7fe);}for(let _0x34f7d4=0x0,_0xd958b6=_0x186015['length'];_0x34f7d4<_0xd958b6;_0x34f7d4++){_0x3a7d47+='%'+('00'+_0x186015['charCodeAt'](_0x34f7d4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3a7d47);};_0x1b0b['ymLQXP']=_0x351853,_0x5beb26=arguments,_0x1b0b['YJDwjl']=!![];}const _0x75eecd=_0x1d06e0[0x0],_0x131afa=_0x1b0b6a+_0x75eecd,_0x3f10dc=_0x5beb26[_0x131afa];return!_0x3f10dc?(_0x2111a4=_0x1b0b['ymLQXP'](_0x2111a4),_0x5beb26[_0x131afa]=_0x2111a4):_0x2111a4=_0x3f10dc,_0x2111a4;},_0x1b0b(_0x5beb26,_0xf8c6f1);}var mars3d__namespace=_interopNamespace(mars3d),echarts__namespace=_interopNamespace(echarts);const Cesium$1=mars3d__namespace[_0x492935(-0x90,-0xb0)];class CompositeCoordinateSystem{constructor(_0x308f60,_0x232a41){const _0x4d823f={_0x316f19:0x2df},_0x45fba6={_0x91718f:0x59e};this['_mars3d_scene']=_0x308f60;function _0x4a0b50(_0x394a31,_0x2036e8){return _0x492935(_0x2036e8,_0x394a31-_0x45fba6._0x91718f);}this[_0x4a0b50(0x4c5,0x49e)]=[_0x4a0b50(0x4c3,0x4dc),_0xfea2ff(0x302,_0x4d823f._0x316f19)],this[_0xfea2ff(0x2ef,0x308)]=[0x0,0x0];function _0xfea2ff(_0x4b1b1b,_0x3885f4){return _0x492935(_0x4b1b1b,_0x3885f4-0x3cd);}this[_0xfea2ff(0x2da,0x305)]=_0x232a41;}['setMapOffset'](_0x5ecea4){this['_mapOffset']=_0x5ecea4;}['getBMap'](){const _0x1c9577={_0x2430f5:0x152};function _0x1bb83e(_0x474518,_0xa3234c){return _0x492935(_0xa3234c,_0x474518- -0xb8);}return this[_0x1bb83e(-0x160,-_0x1c9577._0x2430f5)];}['dataToPoint'](_0x3a8554){const _0x4dd927={_0x460685:0x55,_0x50cadd:0x66,_0x1a54e1:0xa8,_0x214acd:0xa6,_0x3c4541:0x8b,_0x85f979:0xad,_0x4e6032:0x5e,_0x26ed54:0xb0,_0x31535f:0xb1,_0x10718c:0x7d,_0xa89904:0x9d,_0xdd4d61:0x8d},_0x513b3c={_0x193c6f:0x152};function _0x486075(_0x4b4bb3,_0x1efd02){return _0x492935(_0x4b4bb3,_0x1efd02-0x216);}const _0x20ccf5=this['_mars3d_scene'],_0xd731dc=[NaN,NaN];let _0x6d71b0=_0x20ccf5[_0x1b4295(_0x4dd927._0x460685,_0x4dd927._0x50cadd)];_0x20ccf5[_0x1b4295(0xb6,0x8c)]&&(_0x6d71b0=_0x20ccf5[_0x1b4295(0xb6,0xab)](Cesium$1['Cartographic']['fromDegrees'](_0x3a8554[0x0],_0x3a8554[0x1])));const _0x103a6e=Cesium$1['Cartesian3'][_0x1b4295(_0x4dd927._0x1a54e1,0x81)](_0x3a8554[0x0],_0x3a8554[0x1],_0x6d71b0);if(!_0x103a6e)return _0xd731dc;const _0x1bfc2e=mars3d__namespace[_0x1b4295(_0x4dd927._0x214acd,_0x4dd927._0x3c4541)][_0x1b4295(0xbb,_0x4dd927._0x85f979)](_0x20ccf5,_0x103a6e);if(!_0x1bfc2e)return _0xd731dc;function _0x1b4295(_0x12f578,_0x251764){return _0x492935(_0x12f578,_0x251764-_0x513b3c._0x193c6f);}if(_0x20ccf5[_0x1b4295(_0x4dd927._0x4e6032,0x86)]&&_0x20ccf5[_0x1b4295(0xa1,_0x4dd927._0x26ed54)]===Cesium$1['SceneMode'][_0x1b4295(0x8e,_0x4dd927._0x31535f)]){const _0x2f0739=new Cesium$1[(_0x1b4295(0x54,_0x4dd927._0x10718c))](_0x20ccf5['globe'][_0x1b4295(_0x4dd927._0xa89904,0x83)],_0x20ccf5['camera']['positionWC']),_0x278358=_0x2f0739['isPointVisible'](_0x103a6e);if(!_0x278358)return _0xd731dc;}return[_0x1bfc2e['x']-this['_mapOffset'][0x0],_0x1bfc2e['y']-this[_0x1b4295(0x7f,_0x4dd927._0xdd4d61)][0x1]];}['getViewRect'](){const _0x595ed7={_0x5a0784:0x4a};function _0x530995(_0x151dfd,_0x580113){return _0x492935(_0x580113,_0x151dfd- -_0x595ed7._0x5a0784);}function _0x515f55(_0x5f0b16,_0x579a67){return _0x492935(_0x579a67,_0x5f0b16- -0x166);}const _0x389f12=this[_0x530995(-0x112,-0xfb)];return new echarts__namespace['graphic'][(_0x530995(-0x13a,-0x13a))](0x0,0x0,_0x389f12['getWidth'](),_0x389f12[_0x530995(-0xf1,-0x10f)]());}['getRoamTransform'](){const _0x9d6466={_0x5e3d19:0x1c7,_0x18c231:0x1b4};function _0x1441aa(_0x538d78,_0x4e580c){return _0x492935(_0x4e580c,_0x538d78-0x49c);}function _0x3cafc3(_0x22dc4b,_0x4728d6){return _0x492935(_0x4728d6,_0x22dc4b- -0xf4);}return echarts__namespace[_0x3cafc3(-0x1a1,-0x1bc)][_0x3cafc3(-_0x9d6466._0x5e3d19,-_0x9d6466._0x18c231)]();}}CompositeCoordinateSystem['dimensions']=[_0x49d06b(0x10b,0xfb),'lat'],CompositeCoordinateSystem['create']=function(_0x5a5984,_0x225dc0){const _0xbe7450={_0x812fe1:0x33c,_0x8cc51b:0x356,_0x9661c9:0x9f,_0x5a06a8:0xcd},_0x73250b={_0x491653:0x81,_0x3aed18:0x96,_0x51b32d:0x4ad},_0x145064={_0x32bd97:0x2e2},_0x43f10e={_0x22bec0:0x224},_0x563da2={_0xade9c5:0x3f9};let _0x32252d;function _0x417657(_0x569f4b,_0x458036){return _0x492935(_0x569f4b,_0x458036-_0x563da2._0xade9c5);}function _0x3deee3(_0x53b703,_0x583d98){return _0x49d06b(_0x583d98- -0x79,_0x53b703);}const _0xc4b595=_0x5a5984[_0x417657(_0xbe7450._0x812fe1,_0xbe7450._0x8cc51b)]['ecInstance'][_0x3deee3(_0xbe7450._0x9661c9,0xc5)];_0x5a5984[_0x3deee3(0xc2,_0xbe7450._0x5a06a8)]('mars3dMap',function(_0x4bd19a){const _0x2caa6e=_0x225dc0[_0x3bb756(_0x145064._0x32bd97,0x2eb)]()['painter'];if(!_0x2caa6e)return;function _0x3bb756(_0x1eb38b,_0x48045b){return _0x3deee3(_0x1eb38b,_0x48045b-_0x43f10e._0x22bec0);}!_0x32252d&&(_0x32252d=new CompositeCoordinateSystem(_0xc4b595,_0x225dc0)),_0x4bd19a['coordinateSystem']=_0x32252d,_0x32252d['setMapOffset'](_0x4bd19a['__mapOffset']||[0x0,0x0]);}),_0x5a5984['eachSeries'](function(_0x13bc4d){const _0x21ce7d={_0x4f7f2d:0x194};function _0x5d2d07(_0x4b7bb5,_0x4238af){return _0x417657(_0x4238af,_0x4b7bb5- -0x391);}function _0x55dbab(_0x5386ec,_0xab8bb5){return _0x417657(_0xab8bb5,_0x5386ec-_0x21ce7d._0x4f7f2d);}_0x13bc4d[_0x5d2d07(-_0x73250b._0x491653,-_0x73250b._0x3aed18)](_0x5d2d07(-0x78,-0x9c))==='mars3dMap'&&(!_0x32252d&&(_0x32252d=new CompositeCoordinateSystem(_0xc4b595,_0x225dc0)),_0x13bc4d[_0x55dbab(_0x73250b._0x51b32d,0x490)]=_0x32252d);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace['init']){echarts__namespace['registerCoordinateSystem'](_0x49d06b(0x134,0x109),CompositeCoordinateSystem);const _0x44361b={};_0x44361b[_0x492935(-0xaf,-0x9e)]='mars3dMapRoam',_0x44361b[_0x49d06b(0xfc,0x10a)]=_0x49d06b(0x12f,0x134),_0x44361b['update']=_0x492935(-0xbc,-0xbd),echarts__namespace['registerAction'](_0x44361b,function(_0x57d7af,_0x290090){});const _0x8c6a5b={};_0x8c6a5b[_0x49d06b(0x108,0x111)]=![];const _0x186015={};_0x186015['type']='mars3dMap',_0x186015['getBMap']=function(){return this['_mars3d_scene'];},_0x186015[_0x49d06b(0x123,0x149)]=_0x8c6a5b,echarts__namespace['extendComponentModel'](_0x186015),echarts__namespace['extendComponentView']({'type':'mars3dMap','init':function(_0x555fed,_0x2d4c54){const _0x3309ba={_0x5859de:0x545},_0x2c069d={_0x4c4804:0x41f};function _0x1567ed(_0x4867cf,_0x386329){return _0x49d06b(_0x386329-0x1fa,_0x4867cf);}this['api']=_0x2d4c54;function _0x1f99e0(_0x5b7d0c,_0x597cb6){return _0x49d06b(_0x5b7d0c-_0x2c069d._0x4c4804,_0x597cb6);}this['scene']=_0x555fed['scheduler']['ecInstance'][_0x1f99e0(0x55d,_0x3309ba._0x5859de)],this['scene']['postRender']['addEventListener'](this[_0x1f99e0(0x51a,0x53a)],this);},'moveHandler':function(_0x143d8c,_0x425b61){const _0x2984e3={_0x373f49:0x169,_0x4c88ab:0x164,_0x47c120:0x159,_0x4b6907:0x16b},_0x17de18={_0x56591c:0x26b},_0x4796f0={_0x17cccd:0x2ac};function _0x385553(_0x505291,_0x1b581a){return _0x49d06b(_0x505291- -_0x4796f0._0x17cccd,_0x1b581a);}const _0x16285f={};function _0x38030b(_0x382ab7,_0x1212b9){return _0x49d06b(_0x1212b9- -_0x17de18._0x56591c,_0x382ab7);}_0x16285f['type']='mars3dMapRoam',this[_0x38030b(-_0x2984e3._0x373f49,-_0x2984e3._0x4c88ab)][_0x38030b(-_0x2984e3._0x47c120,-_0x2984e3._0x4b6907)](_0x16285f);},'render':function(_0x65a880,_0x332bcc,_0x4a9191){},'dispose':function(_0x34ac73){const _0x31d384={_0x1ac940:0x377},_0x4e534b={_0x79c370:0x31d};function _0x30d1d1(_0x1edf74,_0x37aa67){return _0x49d06b(_0x37aa67-0x222,_0x1edf74);}function _0x3e7774(_0x361093,_0x103a07){return _0x492935(_0x103a07,_0x361093-_0x4e534b._0x79c370);}this['scene'][_0x30d1d1(_0x31d384._0x1ac940,0x34d)][_0x3e7774(0x25e,0x26c)](this['moveHandler'],this);}});}else throw new Error('请引入\x20echarts\x20库\x20');const Cesium=mars3d__namespace[_0x49d06b(0x136,0x12b)],BaseLayer=mars3d__namespace['layer'][_0x492935(-0xbc,-0xc4)];class EchartsLayer extends BaseLayer{constructor(_0x353655={}){const _0x189e4f={_0x503af3:0x548,_0x5a748e:0x574,_0x4722ff:0x207},_0x5471c5={_0x1243ac:0x62d};function _0xe44aae(_0x439e5f,_0x135891){return _0x492935(_0x439e5f,_0x135891-_0x5471c5._0x1243ac);}function _0x8f11e5(_0x516d1e,_0x57eefe){return _0x49d06b(_0x516d1e-0xe3,_0x57eefe);}super(_0x353655),this[_0xe44aae(_0x189e4f._0x503af3,_0x189e4f._0x5a748e)]=this[_0x8f11e5(0x1f2,_0x189e4f._0x4722ff)][_0xe44aae(0x5a5,0x581)];}get['layer'](){return this['_echartsInstance'];}get['pointerEvents'](){return this['_pointerEvents'];}set['pointerEvents'](_0x343eb6){const _0x563721={_0x3d44f7:0x1f,_0x2eb637:0x126},_0x20e97d={_0x42670a:0x1};function _0x5755fc(_0x459819,_0x142c0c){return _0x492935(_0x142c0c,_0x459819-0x8d);}function _0x342767(_0x5ced82,_0x1f1bf9){return _0x49d06b(_0x1f1bf9-_0x20e97d._0x42670a,_0x5ced82);}this['_pointerEvents']=_0x343eb6,this[_0x5755fc(-0x40,-0x4f)]&&(_0x343eb6?this['_echartsContainer'][_0x342767(0xfd,0xf3)][_0x5755fc(-_0x563721._0x3d44f7,-0x2e)]='all':this[_0x342767(_0x563721._0x2eb637,0x11a)]['style'][_0x5755fc(-0x1f,-0x10)]='none');}['_setOptionsHook'](_0x5a966f,_0x5f45fb){this['setEchartsOption'](_0x5a966f);}['_showHook'](_0x3b0cf2){const _0x4b0355={_0x21b709:0x48f,_0x37c5e6:0x4c4},_0x3fe50a={_0x546781:0x41e};function _0x5839a2(_0x36d62b,_0x4e1d8f){return _0x49d06b(_0x36d62b-_0x3fe50a._0x546781,_0x4e1d8f);}function _0x4a6086(_0x127006,_0x106599){return _0x492935(_0x106599,_0x127006-0x585);}_0x3b0cf2?this[_0x4a6086(0x4b8,0x4cb)]['style']['visibility']=_0x4a6086(0x4a0,_0x4b0355._0x21b709):this['_echartsContainer']['style']['visibility']=_0x4a6086(_0x4b0355._0x37c5e6,0x4c6);}['_mountedHook'](){const _0x5ccd41={_0x549fe8:0x9d,_0x31a226:0x7e,_0x5ae0b4:0x190,_0x33451e:0x194,_0x5db778:0xbc};function _0x53676e(_0x4026ea,_0x4566c0){return _0x49d06b(_0x4566c0- -0x287,_0x4026ea);}this[_0x53676e(-0x184,-0x194)][_0x286d1e(_0x5ccd41._0x549fe8,0xc8)]['echartsDepthTest']=this[_0x286d1e(_0x5ccd41._0x31a226,0x94)]['depthTest']??!![];function _0x286d1e(_0x48624c,_0x368688){return _0x492935(_0x368688,_0x48624c-0x155);}this['_map']['scene']['echartsAutoHeight']=this['options']['clampToGround']??![],this[_0x53676e(-_0x5ccd41._0x5ae0b4,-_0x5ccd41._0x33451e)][_0x286d1e(0x9d,_0x5ccd41._0x5db778)]['echartsFixedHeight']=this['options']['fixedHeight']??0x0;}['_addedHook'](){const _0xeac25e={_0x4ff7a7:0x54c,_0x3eb891:0x555,_0x8384a9:0x570},_0x2429dd={_0x54808e:0x442};this['_echartsContainer']=this['_createChartOverlay']();function _0x303233(_0x46fa7e,_0x139a57){return _0x49d06b(_0x46fa7e-0x40e,_0x139a57);}function _0x1460e9(_0x5f0584,_0x2d3b92){return _0x49d06b(_0x2d3b92-_0x2429dd._0x54808e,_0x5f0584);}this['_echartsInstance']=echarts__namespace['init'](this['_echartsContainer']),this['_echartsInstance'][_0x303233(_0xeac25e._0x4ff7a7,0x55e)]=this['_map'][_0x1460e9(_0xeac25e._0x3eb891,_0xeac25e._0x8384a9)],this['setEchartsOption'](this[_0x1460e9(0x536,0x551)]);}[_0x492935(-0xa9,-0xaa)](){const _0x38f272={_0x1c4cd4:0x1ce,_0x1e6b7f:0xd8,_0x453a26:0xbf,_0xe73c5e:0x202,_0x46f316:0x1dc};function _0x524b6b(_0x2a282a,_0x3af19b){return _0x49d06b(_0x2a282a- -0x43,_0x3af19b);}function _0x304eec(_0x36b144,_0x39db72){return _0x49d06b(_0x36b144- -0x2f5,_0x39db72);}this['_echartsInstance']&&(this[_0x304eec(-0x1cd,-_0x38f272._0x1c4cd4)][_0x524b6b(0xb1,_0x38f272._0x1e6b7f)](),this['_echartsInstance']['dispose'](),delete this[_0x524b6b(0xe5,_0x38f272._0x453a26)]),this['_echartsContainer']&&(this[_0x304eec(-_0x38f272._0xe73c5e,-0x1d6)]['container']['removeChild'](this['_echartsContainer']),delete this[_0x304eec(-_0x38f272._0x46f316,-0x1df)]);}['_createChartOverlay'](){const _0x3f3494={_0x482778:0xe,_0x567e1c:0x8,_0x2604fc:0x275,_0x3f8891:0x46,_0x1b5076:0x2d5,_0x36e697:0x1d,_0x5199f2:0x3d,_0x1ad033:0x268,_0x2d0a60:0xb,_0x67c162:0x282,_0x1c878e:0x27a,_0x31108a:0x24},_0x1dd4ee={_0x37e098:0x139},_0x413416={_0x4fc837:0x35c},_0x3beb5f=mars3d__namespace[_0x1488d5(_0x3f3494._0x482778,_0x3f3494._0x567e1c)][_0x1488d5(-0x26,-0x21)]('div',_0x54112d(0x299,_0x3f3494._0x2604fc),this[_0x1488d5(-_0x3f3494._0x3f8891,-0x26)][_0x1488d5(-0x27,-0x2c)]);_0x3beb5f['id']=this['id'],_0x3beb5f['style'][_0x54112d(0x284,0x27f)]=_0x54112d(0x2ab,0x286),_0x3beb5f['style'][_0x54112d(_0x3f3494._0x1b5076,0x2bf)]=_0x1488d5(-0x1d,-0x18),_0x3beb5f[_0x1488d5(-0x47,-0x45)]['left']=_0x1488d5(-_0x3f3494._0x36e697,-_0x3f3494._0x5199f2);function _0x54112d(_0x52b899,_0x28608a){return _0x492935(_0x52b899,_0x28608a-_0x413416._0x4fc837);}_0x3beb5f['style']['width']=this['_map'][_0x1488d5(-0xb,0x3)]['canvas'][_0x54112d(0x2d3,0x2ab)]+'px';function _0x1488d5(_0x148b9f,_0x4477bd){return _0x49d06b(_0x148b9f- -_0x1dd4ee._0x37e098,_0x4477bd);}return _0x3beb5f[_0x54112d(0x293,_0x3f3494._0x1ad033)]['height']=this['_map'][_0x1488d5(-_0x3f3494._0x2d0a60,0x9)]['canvas'][_0x54112d(_0x3f3494._0x67c162,_0x3f3494._0x1c878e)]+'px',_0x3beb5f['style']['pointerEvents']=this[_0x1488d5(-0xc,-_0x3f3494._0x31108a)]?'all':_0x54112d(0x29e,0x2a0),_0x3beb5f['style']['zIndex']=this[_0x54112d(0x29e,0x285)]['zIndex']??0x9,_0x3beb5f;}[_0x49d06b(0x10c,0x118)](){const _0x2241f1={_0xf828fe:0x40b,_0x75a3bb:0x420,_0xeaa8e1:0x426,_0xd6d3bb:0x41a};function _0x3dd9fd(_0x30fbe4,_0x5d45fd){return _0x492935(_0x30fbe4,_0x5d45fd-0x495);}if(!this['_echartsInstance'])return;this['_echartsContainer']['style']['width']=this[_0x2c04c7(_0x2241f1._0xf828fe,0x3e5)][_0x2c04c7(0x43c,_0x2241f1._0x75a3bb)]['canvas']['clientWidth']+'px';function _0x2c04c7(_0x22bfed,_0x555e9b){return _0x49d06b(_0x555e9b-0x2f2,_0x22bfed);}this['_echartsContainer']['style']['height']=this[_0x3dd9fd(0x378,0x3a2)]['scene']['canvas']['clientHeight']+'px',this[_0x2c04c7(_0x2241f1._0xeaa8e1,_0x2241f1._0xd6d3bb)]['resize']();}['setEchartsOption'](_0x5cce7f,_0x1036fb,_0x41d69b){const _0x347529={_0x397bd8:0x433};function _0x2e1d2f(_0xb5a40d,_0x2f4011){return _0x492935(_0xb5a40d,_0x2f4011-_0x347529._0x397bd8);}if(this['_echartsInstance']){const _0x2d4b4d={};_0x2d4b4d['onlySimpleType']=!![],_0x5cce7f={'mars3dMap':{},...mars3d__namespace['Util']['getAttrVal'](_0x5cce7f,_0x2d4b4d)},delete _0x5cce7f['eventParent'],this[_0x2e1d2f(0x39d,0x375)]['setOption'](_0x5cce7f,_0x1036fb,_0x41d69b);}}[_0x49d06b(0xf5,0x115)](_0x214835){const _0x32b5d9={_0x49e612:0x232,_0x112214:0x221},_0x57a214={_0x2b2d63:0x234},_0x110f85={_0x4f4c3f:0x159},_0x122508={_0xa23e8a:0x5af,_0x3bcfcd:0x587,_0x1557b1:0x54c,_0x1eb063:0x550},_0x2bf771={_0xa92e07:0x10c};let _0x3805a4,_0x57ccd7,_0x21b6e5,_0xc5b471;function _0x3a2f01(_0x4d891f,_0x9b30e3){return _0x49d06b(_0x9b30e3-_0x2bf771._0xa92e07,_0x4d891f);}function _0x40c026(_0x21887c){const _0x16d2f5={_0x429139:0x290};if(!Array['isArray'](_0x21887c))return;function _0x3dd485(_0x4d887c,_0x105f58){return _0x1b0b(_0x4d887c- -_0x16d2f5._0x429139,_0x105f58);}const _0x353997=_0x21887c[0x0]||0x0;function _0x4068b2(_0x25284b,_0xa8af2e){return _0x1b0b(_0xa8af2e-0x3d7,_0x25284b);}const _0x375ba9=_0x21887c[0x1]||0x0;_0x353997!==0x0&&_0x375ba9!==0x0&&(_0x3805a4===undefined?(_0x3805a4=_0x353997,_0x57ccd7=_0x353997,_0x21b6e5=_0x375ba9,_0xc5b471=_0x375ba9):(_0x3805a4=Math['min'](_0x3805a4,_0x353997),_0x57ccd7=Math[_0x4068b2(_0x122508._0xa23e8a,_0x122508._0x3bcfcd)](_0x57ccd7,_0x353997),_0x21b6e5=Math[_0x4068b2(_0x122508._0x1557b1,_0x122508._0x1eb063)](_0x21b6e5,_0x375ba9),_0xc5b471=Math['max'](_0xc5b471,_0x375ba9)));}const _0x30e3d2=this['options']['series'];_0x30e3d2&&_0x30e3d2[_0x3a2f01(0x238,_0x32b5d9._0x49e612)](_0x245862=>{const _0x24e57b={_0x12f911:0x21b,_0x3ef3a6:0x263,_0x3eab5c:0x251};function _0x2a369e(_0x4f7935,_0x379786){return _0x3a2f01(_0x379786,_0x4f7935- -0xb7);}_0x245862[_0x2a369e(0x169,_0x110f85._0x4f4c3f)]&&_0x245862['data']['forEach'](_0x25276c=>{function _0xb8a333(_0x2d845b,_0x187c0d){return _0x2a369e(_0x187c0d- -0x3b0,_0x2d845b);}function _0x22c301(_0xb21ea7,_0x4324ad){return _0x2a369e(_0x4324ad- -0x24b,_0xb21ea7);}if(_0x25276c['value'])_0x40c026(_0x25276c[_0xb8a333(-_0x24e57b._0x12f911,-0x23e)]);else _0x25276c[_0xb8a333(-_0x24e57b._0x3ef3a6,-_0x24e57b._0x3eab5c)]&&_0x25276c['coords'][_0x22c301(-0xf8,-0xd0)](_0x47a915=>{_0x40c026(_0x47a915);});});});if(_0x3805a4===0x0&&_0x21b6e5===0x0&&_0x57ccd7===0x0&&_0xc5b471===0x0)return null;function _0x16f5b3(_0x3abac0,_0x15e1ae){return _0x49d06b(_0x3abac0- -_0x57a214._0x2b2d63,_0x15e1ae);}if(_0x214835!==null&&_0x214835!==void 0x0&&_0x214835[_0x3a2f01(0x268,0x23e)]){const _0x326d2c={};return _0x326d2c['xmin']=_0x3805a4,_0x326d2c['xmax']=_0x57ccd7,_0x326d2c[_0x3a2f01(0x244,0x244)]=_0x21b6e5,_0x326d2c[_0x16f5b3(-0xf9,-0x107)]=_0xc5b471,_0x326d2c;}else return Cesium['Rectangle'][_0x3a2f01(0x24a,_0x32b5d9._0x112214)](_0x3805a4,_0x21b6e5,_0x57ccd7,_0xc5b471);}['on'](_0x401ba2,_0x2900fe,_0x32cd9b){return this['_echartsInstance']['on'](_0x401ba2,_0x2900fe,_0x32cd9b||this),this;}['onByQuery'](_0x5c7267,_0x543a20,_0x12d1dd,_0x33e28b){const _0x4dfaf8={_0x42ab06:0x1bf},_0x2d3692={_0x25bd6e:0x97};this[_0x4f29a9(_0x4dfaf8._0x42ab06,0x1bd)]['on'](_0x5c7267,_0x543a20,_0x12d1dd,_0x33e28b||this);function _0x4f29a9(_0x39f8be,_0x4f39e0){return _0x49d06b(_0x39f8be-_0x2d3692._0x25bd6e,_0x4f39e0);}return this;}['off'](_0x2b90d2,_0x4da475,_0x85d946){const _0x1d14f0={_0x558e90:0x3c};function _0x2dd1a2(_0x6a802,_0x384b72){return _0x492935(_0x6a802,_0x384b72-0x82);}return this[_0x2dd1a2(-0x34,-_0x1d14f0._0x558e90)]['off'](_0x2b90d2,_0x4da475,_0x85d946||this),this;}}mars3d__namespace['LayerUtil'][_0x49d06b(0x105,0x101)](_0x49d06b(0x13d,0x13c),EchartsLayer),mars3d__namespace['layer']['EchartsLayer']=EchartsLayer,mars3d__namespace['echarts']=echarts__namespace,mars3d__namespace[_0x492935(-0xb8,-0xba)]['logInfo'](_0x492935(-0xa2,-0xc2)),exports['EchartsLayer']=EchartsLayer,Object['keys'](echarts)[_0x492935(-0xdd,-0xc0)](function(_0x508b2d){if(_0x508b2d!=='default'&&!exports['hasOwnProperty'](_0x508b2d))Object['defineProperty'](exports,_0x508b2d,{'enumerable':!![],'get':function(){return echarts[_0x508b2d];}});});const _0x55d7fe={};_0x55d7fe['value']=!![],Object[_0x492935(-0xc4,-0xa4)](exports,'__esModule',_0x55d7fe);function _0x1d06(){const _0x37712d=['yxbP','CM9HBq','Cg9ZAxrPB24','y29VCMrZ','Bg5N','CMvZAxPL','zgLTzw5ZAw9UCW','ndG4ndCXmfHHDfrYDa','B3b0Aw9UCW','ywjZB2X1Dgu','rwXSAxbZB2LKywXpy2nSDwrLCG','y29UDgfPBMvY','y3jLyxrL','zgf0yq','zNjVBurLz3jLzxm','mZeXmwvKCxzTtq','zwXSAxbZB2LK','mvbVufHLzW','x2vJAgfYDhndB250ywLUzxi','zwnOyxj0C0rLChrOvgvZDa','mJC5ntC2r1rkvxrV','mhb4','DMfSDwu','x2fWAq','ug9PBNruCMfUCW','zwnOyxj0C0f1Dg9izwLNAhq','x21HCe9MzNnLDa','qMfZzuXHEwvY','zgvMyxvSDe9WDgLVBG','BwfYCZnKlwvJAgfYDhpMJ5lKU7yG5RoO5yAm5OIq5yQF','AgLKzgvU','zM9YrwfJAa','CMvTB3zLrxzLBNrmAxn0zw5LCG','x2vJAgfYDhnjBNn0yw5Jzq','DxbKyxrLtgf5B3v0','BM9Uzq','Cg9ZDfjLBMrLCG','tg9N','x3bVAw50zxjfDMvUDhm','C2nLBMu','BwfYCZnKtwfWuM9HBq','Bwf4','zgvMyxvSDa','AxngB3jTyxq','ndHwugvHzK0','BwfYCZnKtwfW','y2XPzw50v2LKDgG','q2vZAxvT','mtqYmte0mhnpEgPRCG','Ew1PBG','Bwf0CML4','Cg9PBNrLCKv2zw50CW','Ew1HEa','x3jLBw92zwriB29R','zwnOyxj0CW','x21HCNmZzf9Zy2vUzq','z2v0sgvPz2H0','z2v0wNi','Dg9xAw5KB3DdB29YzgLUyxrLCW','zgvMAw5LuhjVCgvYDhK','C2nOzwr1BgvY','Bw9Kzq','u0nftKuZra','zwfJAenVBxbVBMvUDa','rg9TvxrPBa','DhLWzq','Dg9W','C3r5Bgu','x21HCa','y2XLyxi','z2v0uMvJDgfUz2XL','qM91BMrPBMDszwn0','nZq5mZG1wM5sqvvg','Bgf0','BwLU','zwnOyxj0C0zPEgvKsgvPz2H0','Bw92zuHHBMrSzxi','zxzLBNq','z2v0','ouLIugDOAq','BwfYCZnKlwvJAgfYDhm','zgLZCgf0y2Hby3rPB24','DMLZAwjSzq','mta4mJy4CLjkvevb','mJK1mteWwLPhBfnN','y2XPzw50sgvPz2H0','CMvNAxn0zxi','y29VCMrPBMf0zvn5C3rLBq'];_0x1d06=function(){return _0x37712d;};return _0x1d06();}
15
15
  }));
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "mars3d-echarts",
3
- "version": "3.10.1",
3
+ "version": "3.10.3",
4
4
  "description": "Mars3D平台插件,结合echarts可视化功能插件",
5
5
  "main": "./mars3d-echarts.js",
6
6
  "peerDependencies": {
7
7
  "echarts": "^5.6.0"
8
8
  },
9
9
  "devDependencies": {
10
- "mars3d": "~3.10.1"
10
+ "mars3d": "~3.10.3"
11
11
  },
12
12
  "scripts": {
13
13
  "lint": "eslint ./src/**/*.{js,ts} --fix"