mars3d-echarts
Advanced tools
Comparing version
/** | ||
* Mars3D平台插件,结合echarts可视化功能插件 mars3d-echarts | ||
* | ||
* 版本信息:v3.9.2 | ||
* 编译日期:2025-03-11 22:37 | ||
* 版本信息:v3.9.3 | ||
* 编译日期:2025-03-18 22:03 | ||
* 版权所有:Copyright by 火星科技 http://mars3d.cn | ||
@@ -14,3 +14,3 @@ * 使用单位:火星科技免费公开版 ,2025-02-01 | ||
})(this, (function (exports, echarts, mars3d) { | ||
'use strict';function _0x3339(){const _0x293cd3=['DxbKyxrLtgf5B3v0','z2v0v2LKDgG','y2XPzw50sgvPz2H0','z2v0wNi','x21HCa','zM9YrwfJAa','zgLZCgf0y2Hby3rPB24','B3b0Aw9UCW','x2fWAq','z2v0vMLLD1jLy3q','Bg5N','mw5puK1WzG','zgLTzw5ZAw9UCW','zxH0zw5Kq29TCg9Uzw50tw9KzwW','Aw5PDa','zxzLBNrqyxjLBNq','z2v0sgvPz2H0','DMLZAwjSzq','ntu0mduYsKLVrhDt','otKZmde0ENfhzw9V','mhb4','z2v0uMvJDgfUz2XL','mtm1mZq4mhPIwLr6Aa','q2fYDg9NCMfWAgLJ','nta2ntbhAKDyChK','zwfJAenVBxbVBMvUDa','zwnjBNn0yw5Jzq','C2nLBMu','DhLWzq','x21HCNmZzf9Zy2vUzq','CMvTB3zLrxzLBNrmAxn0zw5LCG','AgvPz2H0','ywXS','x3bVAw50zxjfDMvUDhm','z3jHCgHPyW','q2vZAxvT','z2v0qK1HCa','CM9HBq','nMjmsxDctG','x2fKzgvKsg9VAW','zxzLBNq','y3jLyxrL','mJCYmtq2nMHLBhbIBW','rwXSAxbZB2LKywXpy2nSDwrLCG','Cg9ZDfjLBMrLCG','y2fTzxjH','x21VDw50zwriB29R','C2v0rwnOyxj0C09WDgLVBG','nejiCuHuwq','zwnOyxj0C0f1Dg9izwLNAhq','nZq3zhLWrgni','x2vJAgfYDhndB250ywLUzxi','y29VCMrPBMf0zvn5C3rLBq','BwfYCZnKtwfW','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','Cg9ZAxrPB24','q2fYDgvZAwfUmW','zgLZCg9Zzq','x21HCe9MzNnLDa','zwnOyxj0C0rLChrOvgvZDa','Cg9PBNrLCKv2zw50CW','C3r5Bgu','mtmZmdyZmhHvwxDJuG','zgvMAw5LuhjVCgvYDhK','x19LC01VzhvSzq','zxH0zw5Kq29TCg9Uzw50vMLLDW','Eg1HEa','mJK5mdq2neHAy0niva','zgvMyxvSDa','x2vJAgfYDhnjBNn0yw5Jzq','C2nOzwr1BgvY','Bw9Kzq','Ew1PBG','x2nYzwf0zunOyxj0t3zLCMXHEq','zgvMyxvSDe9WDgLVBG','z2v0qxr0CLzHBa','DMLZAwjPBgL0Eq','AxnqB2LUDfzPC2LIBgu','CMvZAxPL','CgfPBNrLCG','mtj6r0DHDLu','rg9TvxrPBa','B25cEvf1zxj5'];_0x3339=function(){return _0x293cd3;};return _0x3339();}(function(_0x2e2884,_0xbcafd3){const _0x59aef0={_0x179e22:0x1b,_0x2c115e:0x31,_0x45114e:0x11,_0x18ba3b:0x7f,_0x1f1ab7:0x34,_0x6d6b8b:0x26,_0x4ee960:0x9,_0x24dc2f:0x53,_0x5b470d:0x55},_0x1750ed={_0x442924:0x216},_0x5ec117=_0x2e2884();function _0x1b28ad(_0x103aa1,_0x580b19){return _0x2fcc(_0x580b19- -0x209,_0x103aa1);}function _0x4100bc(_0x47cdaf,_0x42f02b){return _0x2fcc(_0x47cdaf- -_0x1750ed._0x442924,_0x42f02b);}while(!![]){try{const _0x1e86ad=-parseInt(_0x4100bc(-0x45,-_0x59aef0._0x179e22))/0x1*(parseInt(_0x4100bc(-0x3d,-0x31))/0x2)+parseInt(_0x1b28ad(-0x10,-_0x59aef0._0x2c115e))/0x3*(-parseInt(_0x1b28ad(-0x9,-0x13))/0x4)+parseInt(_0x4100bc(-0x3a,-0x28))/0x5*(-parseInt(_0x1b28ad(-_0x59aef0._0x45114e,-0x1d))/0x6)+parseInt(_0x4100bc(-0x65,-_0x59aef0._0x18ba3b))/0x7+parseInt(_0x1b28ad(-0x6d,-0x53))/0x8+parseInt(_0x4100bc(-0x71,-0x77))/0x9*(parseInt(_0x4100bc(-0x38,-_0x59aef0._0x1f1ab7))/0xa)+parseInt(_0x4100bc(-_0x59aef0._0x6d6b8b,-_0x59aef0._0x4ee960))/0xb*(parseInt(_0x4100bc(-_0x59aef0._0x24dc2f,-_0x59aef0._0x5b470d))/0xc);if(_0x1e86ad===_0xbcafd3)break;else _0x5ec117['push'](_0x5ec117['shift']());}catch(_0x56ddc9){_0x5ec117['push'](_0x5ec117['shift']());}}}(_0x3339,0x44504));function _interopNamespace(_0x1b53ca){const _0x3a9f4f={_0x5d6b5c:0x65},_0x1c8f46={_0x2d2700:0x251},_0x3042f9={_0x1a7414:0x152};if(_0x1b53ca&&_0x1b53ca['__esModule'])return _0x1b53ca;var _0x51239c=Object['create'](null);function _0xf4b986(_0x5f3380,_0x25a616){return _0x2fcc(_0x5f3380- -_0x3042f9._0x1a7414,_0x25a616);}return _0x1b53ca&&Object['keys'](_0x1b53ca)['forEach'](function(_0x287ed5){const _0x42853a={_0x3f1be6:0x9a};function _0x3db258(_0x2c792c,_0xd594d7){return _0x2fcc(_0x2c792c-_0x42853a._0x3f1be6,_0xd594d7);}if(_0x287ed5!==_0x3db258(_0x1c8f46._0x2d2700,0x261)){var _0x129fa6=Object['getOwnPropertyDescriptor'](_0x1b53ca,_0x287ed5);Object['defineProperty'](_0x51239c,_0x287ed5,_0x129fa6['get']?_0x129fa6:{'enumerable':!![],'get':function(){return _0x1b53ca[_0x287ed5];}});}}),_0x51239c[_0xf4b986(_0x3a9f4f._0x5d6b5c,0x65)]=_0x1b53ca,_0x51239c;}var echarts__namespace=_interopNamespace(echarts),mars3d__namespace=_interopNamespace(mars3d);function _0x2fcc(_0x2c694b,_0x2992c0){const _0x333907=_0x3339();return _0x2fcc=function(_0x2fcc07,_0x309cd0){_0x2fcc07=_0x2fcc07-0x1a5;let _0x6209aa=_0x333907[_0x2fcc07];if(_0x2fcc['ZsrJXT']===undefined){var _0x137bfa=function(_0xf30aee){const _0x2387ee='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x35e761='',_0xffc272='';for(let _0x1f0416=0x0,_0x3e44c2,_0x3dc59e,_0x1b53ca=0x0;_0x3dc59e=_0xf30aee['charAt'](_0x1b53ca++);~_0x3dc59e&&(_0x3e44c2=_0x1f0416%0x4?_0x3e44c2*0x40+_0x3dc59e:_0x3dc59e,_0x1f0416++%0x4)?_0x35e761+=String['fromCharCode'](0xff&_0x3e44c2>>(-0x2*_0x1f0416&0x6)):0x0){_0x3dc59e=_0x2387ee['indexOf'](_0x3dc59e);}for(let _0x51239c=0x0,_0x287ed5=_0x35e761['length'];_0x51239c<_0x287ed5;_0x51239c++){_0xffc272+='%'+('00'+_0x35e761['charCodeAt'](_0x51239c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xffc272);};_0x2fcc['luHQGh']=_0x137bfa,_0x2c694b=arguments,_0x2fcc['ZsrJXT']=!![];}const _0x6b786a=_0x333907[0x0],_0x8c671a=_0x2fcc07+_0x6b786a,_0x3364dd=_0x2c694b[_0x8c671a];return!_0x3364dd?(_0x6209aa=_0x2fcc['luHQGh'](_0x6209aa),_0x2c694b[_0x8c671a]=_0x6209aa):_0x6209aa=_0x3364dd,_0x6209aa;},_0x2fcc(_0x2c694b,_0x2992c0);}const Cesium$1=mars3d__namespace[_0x2f679d(0x17f,0x1a0)];class CompositeCoordinateSystem{constructor(_0x3756d7,_0x4882bc){const _0x5a3321={_0x31dd52:0x1b6,_0x33e4ab:0x69,_0x538ae5:0xa7};function _0x3f7354(_0x39cb1a,_0x59b48f){return _0x2f679d(_0x39cb1a- -0x1ea,_0x59b48f);}this[_0x4fccd5(-0x1b1,-_0x5a3321._0x31dd52)]=_0x3756d7;function _0x4fccd5(_0x2d5c1c,_0xb63dc4){return _0x2f679d(_0x2d5c1c- -0x32a,_0xb63dc4);}this[_0x4fccd5(-0x1c2,-0x1e4)]=[_0x3f7354(-0x84,-_0x5a3321._0x33e4ab),'lat'],this[_0x3f7354(-_0x5a3321._0x538ae5,-0xc8)]=[0x0,0x0],this['_api']=_0x4882bc;}['setMapOffset'](_0xa4ad9f){this['_mapOffset']=_0xa4ad9f;}['getBMap'](){const _0x558fd3={_0x48f8fc:0x12b};function _0x378051(_0x18a3ab,_0x449d2d){return _0x2f679d(_0x18a3ab- -0x3b,_0x449d2d);}return this[_0x378051(0x13e,_0x558fd3._0x48f8fc)];}['dataToPoint'](_0x4beffc){const _0x8a44e5={_0x54838f:0x358,_0x2df2f6:0xf1,_0x3624c7:0x30f,_0x38e49b:0x30b,_0x388cc3:0x31b,_0x1f9251:0x97,_0x10e503:0xa9,_0x12158f:0xef};function _0x689fed(_0x46cd77,_0x2c320c){return _0x2f679d(_0x46cd77-0x1cb,_0x2c320c);}const _0x2f7df0=this['_mars3d_scene'],_0x39c813=[NaN,NaN];let _0x2ad1c8=_0x2f7df0['echartsFixedHeight'];function _0x137a76(_0x5e6186,_0x2a6213){return _0x2f679d(_0x2a6213- -0x232,_0x5e6186);}_0x2f7df0[_0x689fed(_0x8a44e5._0x54838f,0x32f)]&&(_0x2ad1c8=_0x2f7df0['getHeight'](Cesium$1[_0x137a76(-0xda,-0xbf)]['fromDegrees'](_0x4beffc[0x0],_0x4beffc[0x1])));const _0x2e3135=Cesium$1[_0x137a76(-0x10e,-_0x8a44e5._0x2df2f6)]['fromDegrees'](_0x4beffc[0x0],_0x4beffc[0x1],_0x2ad1c8);if(!_0x2e3135)return _0x39c813;const _0x3a365a=mars3d__namespace['PointTrans']['toWindowCoordinates'](_0x2f7df0,_0x2e3135);if(!_0x3a365a)return _0x39c813;if(_0x2f7df0[_0x689fed(_0x8a44e5._0x3624c7,_0x8a44e5._0x38e49b)]&&_0x2f7df0[_0x689fed(_0x8a44e5._0x388cc3,0x2fb)]===Cesium$1['SceneMode']['SCENE3D']){const _0x121601=new Cesium$1[(_0x689fed(0x352,0x375))](_0x2f7df0['globe']['ellipsoid'],_0x2f7df0[_0x137a76(-_0x8a44e5._0x1f9251,-_0x8a44e5._0x10e503)]['positionWC']),_0x5b0f8d=_0x121601[_0x137a76(-0xb3,-0xdc)](_0x2e3135);if(!_0x5b0f8d)return _0x39c813;}return[_0x3a365a['x']-this[_0x689fed(0x30e,0x319)][0x0],_0x3a365a['y']-this[_0x137a76(-0xf0,-_0x8a44e5._0x12158f)][0x1]];}[_0x2d374d(0x3fa,0x3fc)](){const _0x5bb051={_0x3d1482:0x42c,_0x1b6fc9:0x526,_0x2b9087:0x411},_0x1b618e={_0x17e43f:0x392};function _0x196471(_0x1121f7,_0x164e31){return _0x2f679d(_0x164e31-_0x1b618e._0x17e43f,_0x1121f7);}function _0x4d3d23(_0x53a970,_0x39a5e4){return _0x2d374d(_0x39a5e4,_0x53a970-0x1d);}const _0x1b60ec=this[_0x4d3d23(0x418,_0x5bb051._0x3d1482)];return new echarts__namespace[(_0x196471(_0x5bb051._0x1b6fc9,0x510))]['BoundingRect'](0x0,0x0,_0x1b60ec[_0x4d3d23(_0x5bb051._0x2b9087,0x3f2)](),_0x1b60ec[_0x196471(0x514,0x4fe)]());}['getRoamTransform'](){return echarts__namespace['matrix']['create']();}}CompositeCoordinateSystem[_0x2d374d(0x3f4,0x3ff)]=['lng','lat'],CompositeCoordinateSystem['create']=function(_0x1c066b,_0x2e466a){const _0x44ed1d={_0x2eece9:0x4a7,_0x1aba49:0x186,_0x1a7603:0x15a,_0x2d7606:0x15d},_0x2150c1={_0x288d9e:0x10c},_0x5cad8d={_0x18c003:0xc1};function _0x5bd43f(_0x25a859,_0x58b364){return _0x2d374d(_0x25a859,_0x58b364- -0x2af);}let _0x50b428;const _0x4c7a88=_0x1c066b[_0x7797dc(0x4b2,_0x44ed1d._0x2eece9)][_0x5bd43f(_0x44ed1d._0x1aba49,0x15e)]['_mars3d_scene'];function _0x7797dc(_0x350a6c,_0x167b66){return _0x2d374d(_0x350a6c,_0x167b66-_0x5cad8d._0x18c003);}_0x1c066b[_0x5bd43f(_0x44ed1d._0x1a7603,_0x44ed1d._0x2d7606)]('mars3dMap',function(_0x437c05){const _0x40d5e6=_0x2e466a[_0x40816c(0x25f,0x288)]()[_0x236d57(-0xe6,-_0x2150c1._0x288d9e)];if(!_0x40d5e6)return;!_0x50b428&&(_0x50b428=new CompositeCoordinateSystem(_0x4c7a88,_0x2e466a));function _0x40816c(_0x58a5cb,_0x1a6a9a){return _0x5bd43f(_0x58a5cb,_0x1a6a9a-0x141);}_0x437c05['coordinateSystem']=_0x50b428;function _0x236d57(_0x369601,_0x21283a){return _0x7797dc(_0x21283a,_0x369601- -0x596);}_0x50b428['setMapOffset'](_0x437c05['__mapOffset']||[0x0,0x0]);}),_0x1c066b['eachSeries'](function(_0x49d056){function _0x1b89c8(_0x278cb3,_0x52370b){return _0x5bd43f(_0x278cb3,_0x52370b-0x2c7);}_0x49d056['get'](_0x1b89c8(0x3c3,0x3ec))==='mars3dMap'&&(!_0x50b428&&(_0x50b428=new CompositeCoordinateSystem(_0x4c7a88,_0x2e466a)),_0x49d056['coordinateSystem']=_0x50b428);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x2f679d(0x16a,0x162)]){echarts__namespace[_0x2f679d(0x13f,0x148)](_0x2f679d(0x13e,0x145),CompositeCoordinateSystem);const _0xf30aee={};_0xf30aee['type']='mars3dMapRoam',_0xf30aee[_0x2d374d(0x403,0x41b)]='mars3dMapRoam',_0xf30aee['update']=_0x2d374d(0x3ed,0x3f3),echarts__namespace['registerAction'](_0xf30aee,function(_0x493325,_0x1ca263){});const _0x2387ee={};_0x2387ee[_0x2d374d(0x42f,0x418)]=![];const _0x35e761={};_0x35e761['type']='mars3dMap',_0x35e761[_0x2f679d(0x180,0x19d)]=function(){return this['_mars3d_scene'];},_0x35e761[_0x2d374d(0x3cd,0x3ea)]=_0x2387ee,echarts__namespace[_0x2d374d(0x40d,0x400)](_0x35e761),echarts__namespace[_0x2f679d(0x14a,0x13d)]({'type':_0x2f679d(0x13e,0x148),'init':function(_0x54aa5d,_0x4965b9){const _0x2ca1f8={_0x49b649:0x1cf,_0x453fbb:0x1f1,_0x41183d:0x14e,_0x5f126c:0x166},_0x284339={_0x366f9d:0x567},_0x16898c={_0x3455fd:0x217};this['api']=_0x4965b9;function _0x41395d(_0x221a84,_0x2eab8a){return _0x2d374d(_0x221a84,_0x2eab8a- -_0x16898c._0x3455fd);}function _0x456f2c(_0xc67c22,_0x423996){return _0x2d374d(_0xc67c22,_0x423996- -_0x284339._0x366f9d);}this[_0x41395d(0x1dc,0x1f7)]=_0x54aa5d[_0x41395d(0x1cb,_0x2ca1f8._0x49b649)][_0x41395d(_0x2ca1f8._0x453fbb,0x1f6)][_0x456f2c(-_0x2ca1f8._0x41183d,-0x157)],this[_0x456f2c(-0x14c,-0x159)][_0x456f2c(-_0x2ca1f8._0x5f126c,-0x148)]['addEventListener'](this['moveHandler'],this);},'moveHandler':function(_0x2042d5,_0x5111df){const _0x279c14={_0x49bca3:0x1e7},_0x428538={_0x539c16:0x2b};function _0x560a6a(_0x41577f,_0x5602db){return _0x2d374d(_0x5602db,_0x41577f- -0x228);}function _0xbc8458(_0x2e883c,_0x508cfa){return _0x2d374d(_0x508cfa,_0x2e883c-_0x428538._0x539c16);}const _0x1fa2c2={};_0x1fa2c2[_0x560a6a(_0x279c14._0x49bca3,0x1d5)]='mars3dMapRoam',this['api'][_0x560a6a(0x1d1,0x1d2)](_0x1fa2c2);},'render':function(_0xdba659,_0xc73f49,_0x196770){},'dispose':function(_0x34310e){function _0x4fcbd1(_0x261a05,_0x4fd47e){return _0x2d374d(_0x4fd47e,_0x261a05-0x198);}function _0x3de0e7(_0x209fb9,_0x5b6b7d){return _0x2d374d(_0x209fb9,_0x5b6b7d- -0x11f);}this[_0x3de0e7(0x2ee,0x2ef)]['postRender'][_0x4fcbd1(0x5a9,0x581)](this['moveHandler'],this);}});}else throw new Error('请引入\x20echarts\x20库\x20');const Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace['layer']['BaseLayer'];function _0x2d374d(_0x574dbe,_0x724e41){return _0x2fcc(_0x724e41-0x22d,_0x574dbe);}class EchartsLayer extends BaseLayer{constructor(_0x1b3d37={}){const _0x234160={_0x40816d:0x172,_0x284a2b:0x173},_0x47e426={_0x3fa218:0x2d5};function _0x5e5a2f(_0x28190c,_0x3c43a1){return _0x2f679d(_0x28190c- -_0x47e426._0x3fa218,_0x3c43a1);}super(_0x1b3d37);function _0x4415fd(_0x521ca0,_0x4be277){return _0x2f679d(_0x521ca0- -0x6f,_0x4be277);}this[_0x4415fd(0x10e,0xf8)]=this[_0x5e5a2f(-_0x234160._0x40816d,-_0x234160._0x284a2b)]['pointerEvents'];}get['layer'](){return this['_echartsInstance'];}get['pointerEvents'](){const _0x1fe197={_0x766e6:0x30a},_0x2a62c8={_0x298d82:0x18d};function _0x4945dc(_0x32762f,_0x41fd83){return _0x2f679d(_0x32762f-_0x2a62c8._0x298d82,_0x41fd83);}return this[_0x4945dc(0x30a,_0x1fe197._0x766e6)];}set[_0x2f679d(0x145,0x169)](_0x58152d){const _0x3ae14f={_0x588c9f:0x56a,_0x3e7ada:0x5b8},_0x1db382={_0x3ea7bc:0x33c},_0x41202a={_0x31e0b8:0x452};this['_pointerEvents']=_0x58152d;function _0xb05c95(_0x2c8a03,_0x338295){return _0x2f679d(_0x2c8a03-_0x41202a._0x31e0b8,_0x338295);}function _0x262779(_0xd3dcad,_0xdf3de0){return _0x2f679d(_0xdf3de0-_0x1db382._0x3ea7bc,_0xd3dcad);}this[_0xb05c95(0x58e,_0x3ae14f._0x588c9f)]&&(_0x58152d?this['_echartsContainer']['style']['pointerEvents']=_0xb05c95(0x5ce,_0x3ae14f._0x3e7ada):this['_echartsContainer']['style']['pointerEvents']='none');}['_setOptionsHook'](_0x24fc9c,_0x32d711){function _0x189adb(_0x400e60,_0x279dee){return _0x2f679d(_0x400e60- -0xc,_0x279dee);}this[_0x189adb(0x17f,0x156)](_0x24fc9c);}['_showHook'](_0x1718b5){const _0x2a7011={_0x5339fd:0x53d,_0x39af69:0x54c,_0x2b66c1:0x525,_0x5f0c62:0x50c},_0xa0fa55={_0x3f2ddb:0x148};function _0x42da42(_0x43e533,_0x261619){return _0x2f679d(_0x43e533- -0x2db,_0x261619);}function _0x521825(_0x104e58,_0x237eb7){return _0x2d374d(_0x104e58,_0x237eb7-_0xa0fa55._0x3f2ddb);}_0x1718b5?this['_echartsContainer']['style']['visibility']=_0x521825(_0x2a7011._0x5339fd,_0x2a7011._0x39af69):this['_echartsContainer'][_0x521825(0x4fe,_0x2a7011._0x2b66c1)][_0x521825(_0x2a7011._0x5f0c62,0x534)]='hidden';}[_0x2d374d(0x425,0x421)](){const _0x1292eb={_0x48c5d5:0xdb,_0x53fd50:0xd6},_0x580e0f={_0x591eaf:0x88};function _0x3abec6(_0x529d62,_0x56cce5){return _0x2f679d(_0x56cce5- -0x1c8,_0x529d62);}this['_map']['scene']['echartsDepthTest']=this['options']['depthTest']??!![],this['_map'][_0x33714c(0xef,0x106)][_0x33714c(0x105,0x12c)]=this[_0x33714c(_0x1292eb._0x48c5d5,_0x1292eb._0x53fd50)]['clampToGround']??![];function _0x33714c(_0x612cd3,_0x1a9ae3){return _0x2f679d(_0x612cd3- -_0x580e0f._0x591eaf,_0x1a9ae3);}this['_map']['scene']['echartsFixedHeight']=this[_0x3abec6(-0x8a,-0x65)]['fixedHeight']??0x0;}[_0x2d374d(0x409,0x41a)](){const _0x3b18ee={_0x4529be:0x21f,_0x289a8d:0xbf,_0x309504:0x96,_0x30239b:0xce,_0x8e0350:0xb8,_0x4e869a:0x9b},_0x491fa2={_0x3b45b1:0x342};this[_0x4fbe0c(_0x3b18ee._0x4529be,0x211)]=this[_0x4fbe0c(0x210,0x227)](),this[_0x4fbe0c(0x208,0x223)]=echarts__namespace[_0x5890ba(_0x3b18ee._0x289a8d,_0x3b18ee._0x309504)](this[_0x5890ba(0x91,0x81)]),this['_echartsInstance'][_0x5890ba(_0x3b18ee._0x30239b,0xef)]=this[_0x4fbe0c(0x258,0x235)]['scene'];function _0x5890ba(_0x3055b7,_0xc5efd4){return _0x2d374d(_0xc5efd4,_0x3055b7- -_0x491fa2._0x3b45b1);}function _0x4fbe0c(_0x3f7668,_0x122c87){return _0x2d374d(_0x3f7668,_0x122c87- -0x1c2);}this[_0x5890ba(0xe0,0xd3)](this[_0x5890ba(_0x3b18ee._0x8e0350,_0x3b18ee._0x4e869a)]);}['_removedHook'](){const _0xb64071={_0xf03b30:0x3ba,_0x1dcec3:0x49d,_0x156188:0x3c4,_0x314c04:0x3d0,_0x66816f:0x474};function _0x3f6755(_0x427198,_0xd2146c){return _0x2d374d(_0xd2146c,_0x427198- -0x15);}function _0x599059(_0x63df37,_0x1e9f12){return _0x2d374d(_0x1e9f12,_0x63df37-0xb5);}this[_0x3f6755(0x3d0,_0xb64071._0xf03b30)]&&(this[_0x3f6755(0x3d0,0x3c5)]['clear'](),this[_0x599059(0x49a,_0xb64071._0x1dcec3)][_0x3f6755(_0xb64071._0x156188,0x39e)](),delete this[_0x3f6755(_0xb64071._0x314c04,0x3ba)]),this['_echartsContainer']&&(this['_map']['container']['removeChild'](this[_0x3f6755(0x3be,0x3b6)]),delete this[_0x599059(0x488,_0xb64071._0x66816f)]);}[_0x2f679d(0x152,0x163)](){const _0x35bbe9={_0x5c34b3:0x107,_0x3cb6c4:0xee,_0xd44b5f:0xda,_0x1344b0:0x4a5,_0x2ccd69:0xf9,_0x422e0c:0x104,_0xd57610:0x10b,_0x55c478:0x49d,_0x33f547:0x4a9,_0x401ab9:0xf2,_0x998adf:0x4b6},_0x582bee={_0x16220e:0x303},_0x355c2e=mars3d__namespace[_0x43b2c5(_0x35bbe9._0x5c34b3,_0x35bbe9._0x3cb6c4)][_0x43b2c5(0xfc,0x119)]('div','mars3d-echarts',this[_0x43b2c5(0x111,0xf4)]['container']);_0x355c2e['id']=this['id'],_0x355c2e[_0x43b2c5(0xce,_0x35bbe9._0xd44b5f)][_0x504c26(0x497,_0x35bbe9._0x1344b0)]='absolute',_0x355c2e[_0x504c26(0x49d,0x4a8)]['top']=_0x43b2c5(_0x35bbe9._0x2ccd69,_0x35bbe9._0x422e0c),_0x355c2e['style']['left']='0px';function _0x43b2c5(_0x52f234,_0xcfa1c){return _0x2d374d(_0x52f234,_0xcfa1c- -_0x582bee._0x16220e);}function _0x504c26(_0x30a42b,_0x13048e){return _0x2f679d(_0x30a42b-0x357,_0x13048e);}return _0x355c2e['style']['width']=this['_map'][_0x43b2c5(0xe3,_0x35bbe9._0xd57610)]['canvas']['clientWidth']+'px',_0x355c2e[_0x504c26(_0x35bbe9._0x55c478,0x4c4)][_0x504c26(0x4d2,0x4da)]=this['_map'][_0x504c26(0x4ce,_0x35bbe9._0x33f547)]['canvas'][_0x43b2c5(0x112,_0x35bbe9._0x401ab9)]+'px',_0x355c2e['style']['pointerEvents']=this[_0x504c26(0x4d4,_0x35bbe9._0x998adf)]?'all':'none',_0x355c2e['style']['zIndex']=this['options']['zIndex']??0x9,_0x355c2e;}['resize'](){const _0x3b705c={_0x11fa7b:0x591,_0x1bb58e:0x20b,_0x22ddf1:0x5bc,_0x415d9f:0x5a2},_0x172ead={_0x127a77:0xab};function _0x27f669(_0x463bc7,_0x238d26){return _0x2f679d(_0x238d26-_0x172ead._0x127a77,_0x463bc7);}function _0x92b885(_0x3bed19,_0x53f064){return _0x2d374d(_0x53f064,_0x3bed19-0x1b4);}if(!this['_echartsInstance'])return;this['_echartsContainer'][_0x92b885(_0x3b705c._0x11fa7b,0x5b6)]['width']=this[_0x27f669(0x215,_0x3b705c._0x1bb58e)][_0x92b885(0x5c2,_0x3b705c._0x22ddf1)]['canvas']['clientWidth']+'px',this['_echartsContainer']['style']['height']=this['_map']['scene']['canvas']['clientHeight']+'px',this[_0x27f669(0x1ee,0x1f9)][_0x92b885(_0x3b705c._0x415d9f,0x58b)]();}[_0x2f679d(0x18b,0x184)](_0xcb2fd2,_0x46646f,_0x56eea9){const _0x35e6af={_0x5eeed8:0x222,_0x10cffe:0x25f},_0x399357={_0x1227a2:0xb0};function _0x585863(_0x51200d,_0x1ed047){return _0x2d374d(_0x1ed047,_0x51200d- -_0x399357._0x1227a2);}function _0x1bd150(_0x18d3d2,_0x145571){return _0x2f679d(_0x18d3d2-0xf2,_0x145571);}if(this[_0x585863(0x335,0x347)]){const _0x41dcf7={};_0x41dcf7['onlySimpleType']=!![],_0xcb2fd2={'mars3dMap':{},...mars3d__namespace['Util'][_0x1bd150(0x246,_0x35e6af._0x5eeed8)](_0xcb2fd2,_0x41dcf7)},delete _0xcb2fd2[_0x1bd150(0x25d,0x26e)],this[_0x1bd150(0x240,_0x35e6af._0x10cffe)]['setOption'](_0xcb2fd2,_0x46646f,_0x56eea9);}}[_0x2d374d(0x420,0x408)](_0x579ee6){const _0x493a95={_0x50c224:0x1fd,_0x1cec35:0x1f8,_0x55f35e:0x1f2},_0x4788fd={_0x10b761:0x5da};let _0x5cdd27,_0x262a1e,_0x3d4444,_0x2cf41b;function _0x1dc692(_0x3b9194,_0x3b021d){return _0x2f679d(_0x3b9194-0xe5,_0x3b021d);}function _0x21cb9b(_0x32c8b2){if(!Array['isArray'](_0x32c8b2))return;const _0x430730=_0x32c8b2[0x0]||0x0,_0x202221=_0x32c8b2[0x1]||0x0;_0x430730!==0x0&&_0x202221!==0x0&&(_0x5cdd27===undefined?(_0x5cdd27=_0x430730,_0x262a1e=_0x430730,_0x3d4444=_0x202221,_0x2cf41b=_0x202221):(_0x5cdd27=Math['min'](_0x5cdd27,_0x430730),_0x262a1e=Math['max'](_0x262a1e,_0x430730),_0x3d4444=Math['min'](_0x3d4444,_0x202221),_0x2cf41b=Math['max'](_0x2cf41b,_0x202221)));}function _0x5d97f8(_0x28f194,_0x5d560e){return _0x2d374d(_0x28f194,_0x5d560e- -_0x4788fd._0x10b761);}const _0x1a7c90=this['options']['series'];_0x1a7c90&&_0x1a7c90[_0x5d97f8(-0x207,-0x1e2)](_0x1708f5=>{const _0x2bc387={_0x324510:0x3bb};_0x1708f5['data']&&_0x1708f5['data']['forEach'](_0x18f9b0=>{function _0x4354d3(_0x4a1137,_0x2def00){return _0x2fcc(_0x2def00-0x203,_0x4a1137);}if(_0x18f9b0['value'])_0x21cb9b(_0x18f9b0['value']);else _0x18f9b0['coords']&&_0x18f9b0['coords'][_0x4354d3(_0x2bc387._0x324510,0x3ce)](_0x49bf39=>{_0x21cb9b(_0x49bf39);});});});if(_0x5cdd27===0x0&&_0x3d4444===0x0&&_0x262a1e===0x0&&_0x2cf41b===0x0)return null;if(_0x579ee6!==null&&_0x579ee6!==void 0x0&&_0x579ee6['isFormat']){const _0x4c73e3={};return _0x4c73e3['xmin']=_0x5cdd27,_0x4c73e3[_0x5d97f8(-_0x493a95._0x50c224,-_0x493a95._0x1cec35)]=_0x262a1e,_0x4c73e3[_0x5d97f8(-0x1df,-_0x493a95._0x55f35e)]=_0x3d4444,_0x4c73e3['ymax']=_0x2cf41b,_0x4c73e3;}else return Cesium['Rectangle']['fromDegrees'](_0x5cdd27,_0x3d4444,_0x262a1e,_0x2cf41b);}['on'](_0x1283b4,_0x335918,_0x35a790){function _0x31902e(_0x53f429,_0x111c75){return _0x2d374d(_0x53f429,_0x111c75-0xf1);}return this[_0x31902e(0x4d8,0x4d6)]['on'](_0x1283b4,_0x335918,_0x35a790||this),this;}[_0x2d374d(0x3d9,0x3f2)](_0x2ac27c,_0x504c16,_0x286597,_0x2627b2){return this['_echartsInstance']['on'](_0x2ac27c,_0x504c16,_0x286597,_0x2627b2||this),this;}['off'](_0x564080,_0x128905,_0x484e79){const _0x394ecd={_0x37516c:0xe5};function _0x2e3c00(_0x3cfce1,_0x3a253f){return _0x2d374d(_0x3cfce1,_0x3a253f- -_0x394ecd._0x37516c);}return this[_0x2e3c00(0x316,0x300)]['off'](_0x564080,_0x128905,_0x484e79||this),this;}}function _0x2f679d(_0x2d70ad,_0x18ca8a){const _0x3d84b2={_0x4a13b8:0x6a};return _0x2fcc(_0x2d70ad- -_0x3d84b2._0x4a13b8,_0x18ca8a);}mars3d__namespace['LayerUtil']['register']('echarts',EchartsLayer),mars3d__namespace['layer']['EchartsLayer']=EchartsLayer,mars3d__namespace['echarts']=echarts__namespace,exports['EchartsLayer']=EchartsLayer,Object['keys'](echarts)[_0x2f679d(0x161,0x176)](function(_0x5b9f9f){function _0x5469e0(_0x5a5162,_0x3e2a4e){return _0x2f679d(_0x5a5162-0x2f,_0x3e2a4e);}function _0x52b572(_0x3253ab,_0x2c68a0){return _0x2f679d(_0x2c68a0-0x446,_0x3253ab);}if(_0x5b9f9f!==_0x5469e0(0x17c,0x19e)&&!exports['hasOwnProperty'](_0x5b9f9f))Object[_0x5469e0(0x177,0x15a)](exports,_0x5b9f9f,{'enumerable':!![],'get':function(){return echarts[_0x5b9f9f];}});});const _0x3dc59e={};_0x3dc59e['value']=!![],Object['defineProperty'](exports,_0x2f679d(0x149,0x12d),_0x3dc59e); | ||
'use strict';(function(_0x2f7b63,_0xd552fb){const _0x497c02={_0x4e5686:0x45b,_0x25d16c:0x430,_0x2aece3:0x48d,_0x1411dd:0x423,_0x3e22d1:0x1b6,_0x48d58b:0x445,_0x34e622:0x424},_0x428a86={_0x1e22a2:0xb2},_0x40fb2=_0x2f7b63();function _0x28c548(_0x1822f0,_0x13cdd8){return _0x2d8d(_0x1822f0-_0x428a86._0x1e22a2,_0x13cdd8);}function _0x367309(_0x18caa5,_0x2002bf){return _0x2d8d(_0x2002bf-0x37c,_0x18caa5);}while(!![]){try{const _0x275227=parseInt(_0x28c548(0x1a3,0x1cb))/0x1*(parseInt(_0x367309(_0x497c02._0x4e5686,0x466))/0x2)+parseInt(_0x367309(_0x497c02._0x25d16c,0x45b))/0x3+-parseInt(_0x367309(0x47b,0x45f))/0x4+-parseInt(_0x367309(_0x497c02._0x2aece3,0x465))/0x5*(parseInt(_0x367309(_0x497c02._0x1411dd,0x422))/0x6)+-parseInt(_0x28c548(0x19d,_0x497c02._0x3e22d1))/0x7*(parseInt(_0x367309(0x453,_0x497c02._0x48d58b))/0x8)+parseInt(_0x28c548(0x19f,0x1a9))/0x9+parseInt(_0x367309(0x441,_0x497c02._0x34e622))/0xa;if(_0x275227===_0xd552fb)break;else _0x40fb2['push'](_0x40fb2['shift']());}catch(_0x5df135){_0x40fb2['push'](_0x40fb2['shift']());}}}(_0x4bd7,0x3926e));function _interopNamespace(_0x26cc87){const _0x43c1b1={_0x154cd5:0x4da},_0x3c9f93={_0x419fd9:0x6f};if(_0x26cc87&&_0x26cc87['__esModule'])return _0x26cc87;var _0x359f1a=Object[_0x57f97c(0x474,0x48d)](null);function _0x3627ad(_0x2de402,_0xea5038){return _0x2d8d(_0xea5038- -_0x3c9f93._0x419fd9,_0x2de402);}function _0x57f97c(_0x37f7a0,_0x1d7f88){return _0x2d8d(_0x1d7f88-0x3d0,_0x37f7a0);}return _0x26cc87&&Object['keys'](_0x26cc87)[_0x57f97c(_0x43c1b1._0x154cd5,0x4c5)](function(_0x30a26c){if(_0x30a26c!=='default'){var _0x57d95a=Object['getOwnPropertyDescriptor'](_0x26cc87,_0x30a26c);Object['defineProperty'](_0x359f1a,_0x30a26c,_0x57d95a['get']?_0x57d95a:{'enumerable':!![],'get':function(){return _0x26cc87[_0x30a26c];}});}}),_0x359f1a['default']=_0x26cc87,_0x359f1a;}var echarts__namespace=_interopNamespace(echarts),mars3d__namespace=_interopNamespace(mars3d);const Cesium$1=mars3d__namespace[_0x3f37dd(-0x79,-0x75)];class CompositeCoordinateSystem{constructor(_0x31a3b9,_0x127437){const _0x51c4e0={_0x39e489:0x355,_0x4e1be3:0x373};this[_0x3cac34(_0x51c4e0._0x39e489,0x32d)]=_0x31a3b9;function _0x52c058(_0x542165,_0x8b977c){return _0x3f37dd(_0x8b977c,_0x542165-0x17d);}function _0x3cac34(_0x584c58,_0x2c6587){return _0x3f37dd(_0x584c58,_0x2c6587-0x3d7);}this['dimensions']=['lng',_0x3cac34(0x33f,0x326)],this[_0x3cac34(0x377,_0x51c4e0._0x4e1be3)]=[0x0,0x0],this['_api']=_0x127437;}['setMapOffset'](_0x123280){this['_mapOffset']=_0x123280;}['getBMap'](){return this['_mars3d_scene'];}[_0x18776d(0x29e,0x28e)](_0x4e697d){const _0x2c4532={_0x4f0d8e:0x181,_0x41af91:0x41,_0x3bb364:0x49,_0xfecd1a:0x1b4,_0x21a87b:0x43,_0x16f5d7:0x7,_0x54488b:0x64,_0x3513f9:0x36,_0xa07e4f:0x73},_0x32bb2d=this['_mars3d_scene'],_0x22646c=[NaN,NaN];let _0x138aa4=_0x32bb2d[_0x4d5b8c(-_0x2c4532._0x4f0d8e,-0x179)];_0x32bb2d[_0x1306a8(0x38,0x52)]&&(_0x138aa4=_0x32bb2d['getHeight'](Cesium$1['Cartographic'][_0x1306a8(0x49,_0x2c4532._0x41af91)](_0x4e697d[0x0],_0x4e697d[0x1])));const _0x258335=Cesium$1['Cartesian3'][_0x1306a8(_0x2c4532._0x3bb364,0x75)](_0x4e697d[0x0],_0x4e697d[0x1],_0x138aa4);if(!_0x258335)return _0x22646c;function _0x4d5b8c(_0x566fd8,_0x127fa4){return _0x18776d(_0x566fd8- -0x408,_0x127fa4);}const _0x76eb0f=mars3d__namespace[_0x4d5b8c(-0x186,-_0x2c4532._0xfecd1a)]['toWindowCoordinates'](_0x32bb2d,_0x258335);if(!_0x76eb0f)return _0x22646c;if(_0x32bb2d['echartsDepthTest']&&_0x32bb2d[_0x1306a8(0x6d,0x88)]===Cesium$1[_0x4d5b8c(-0x18f,-0x19e)]['SCENE3D']){const _0x56105f=new Cesium$1[(_0x1306a8(_0x2c4532._0x21a87b,0x64))](_0x32bb2d['globe'][_0x1306a8(0x27,_0x2c4532._0x16f5d7)],_0x32bb2d['camera']['positionWC']),_0x434e4b=_0x56105f[_0x1306a8(_0x2c4532._0x54488b,_0x2c4532._0x3513f9)](_0x258335);if(!_0x434e4b)return _0x22646c;}function _0x1306a8(_0x2636a3,_0x4a1e5c){return _0x18776d(_0x2636a3- -0x256,_0x4a1e5c);}return[_0x76eb0f['x']-this['_mapOffset'][0x0],_0x76eb0f['y']-this[_0x1306a8(_0x2c4532._0xa07e4f,0x51)][0x1]];}[_0x3f37dd(-0x46,-0x60)](){const _0x19345b={_0x2595c5:0x452};function _0xd4ee79(_0x20f4bb,_0x883385){return _0x3f37dd(_0x20f4bb,_0x883385-0x517);}const _0x405416=this[_0xd4ee79(_0x19345b._0x2595c5,0x46a)];return new echarts__namespace['graphic']['BoundingRect'](0x0,0x0,_0x405416['getWidth'](),_0x405416['getHeight']());}[_0x18776d(0x2a6,0x2ca)](){return echarts__namespace['matrix']['create']();}}CompositeCoordinateSystem[_0x3f37dd(-0xa0,-0x86)]=['lng','lat'],CompositeCoordinateSystem['create']=function(_0x21b852,_0x1e6be6){const _0x1c8af8={_0x3b6fa9:0x54,_0x1b7ce1:0x35,_0x5aa55c:0x4f,_0x1a53b9:0x58},_0x41b769={_0x30d924:0x204},_0x506dfd={_0x2ec398:0x38,_0x317156:0x2e},_0x5ea337={_0x51dbdb:0x224};let _0x324928;const _0x547d2e=_0x21b852['scheduler']['ecInstance']['_mars3d_scene'];function _0x25cb91(_0x5298fb,_0x96bc8e){return _0x3f37dd(_0x5298fb,_0x96bc8e-0x49);}function _0x5361d3(_0x474e59,_0x1fd7ac){return _0x18776d(_0x474e59- -_0x5ea337._0x51dbdb,_0x1fd7ac);}_0x21b852[_0x5361d3(_0x1c8af8._0x3b6fa9,0x76)](_0x25cb91(-_0x1c8af8._0x1b7ce1,-0x3f),function(_0x1615ca){function _0x3c2c1d(_0x40bc76,_0x4e28ee){return _0x5361d3(_0x40bc76- -0x30,_0x4e28ee);}const _0x5ba664=_0x1e6be6[_0x3c2c1d(_0x506dfd._0x2ec398,_0x506dfd._0x317156)]()['painter'];if(!_0x5ba664)return;!_0x324928&&(_0x324928=new CompositeCoordinateSystem(_0x547d2e,_0x1e6be6)),_0x1615ca['coordinateSystem']=_0x324928,_0x324928['setMapOffset'](_0x1615ca['__mapOffset']||[0x0,0x0]);}),_0x21b852[_0x5361d3(_0x1c8af8._0x5aa55c,_0x1c8af8._0x1a53b9)](function(_0x30437a){const _0x14fb63={_0x281b1d:0x265};function _0xb8fa75(_0x5a1c7a,_0x4ff595){return _0x5361d3(_0x5a1c7a- -_0x41b769._0x30d924,_0x4ff595);}function _0x307a4a(_0x272c54,_0x1f304f){return _0x25cb91(_0x1f304f,_0x272c54-_0x14fb63._0x281b1d);}_0x30437a[_0x307a4a(0x222,0x1f9)]('coordinateSystem')==='mars3dMap'&&(!_0x324928&&(_0x324928=new CompositeCoordinateSystem(_0x547d2e,_0x1e6be6)),_0x30437a[_0x307a4a(0x219,0x21b)]=_0x324928);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x18776d(0x28b,0x282)]){echarts__namespace[_0x18776d(0x290,0x2a6)]('mars3dMap',CompositeCoordinateSystem);const _0x4a05a8={};_0x4a05a8['type']='mars3dMapRoam',_0x4a05a8['event']='mars3dMapRoam',_0x4a05a8['update']='updateLayout',echarts__namespace['registerAction'](_0x4a05a8,function(_0x24a46e,_0x21ad42){});const _0x21f0fa={};_0x21f0fa[_0x18776d(0x281,0x291)]=![];const _0x542266={};_0x542266['type']=_0x18776d(0x2a5,0x2cb),_0x542266[_0x18776d(0x29d,0x296)]=function(){return this['_mars3d_scene'];},_0x542266[_0x3f37dd(-0x6d,-0x8d)]=_0x21f0fa,echarts__namespace['extendComponentModel'](_0x542266),echarts__namespace['extendComponentView']({'type':_0x18776d(0x2a5,0x2aa),'init':function(_0x1baa16,_0x1ce3a3){const _0x537b68={_0x2f8496:0x104,_0xb0c16e:0x1de,_0x3cb22a:0x191,_0xcb6e51:0x1a1},_0x53cfc5={_0x181676:0x16d},_0x90db3f={_0x4e1a55:0x459};function _0x3da30f(_0x5d8602,_0xc8e60){return _0x18776d(_0x5d8602- -_0x90db3f._0x4e1a55,_0xc8e60);}this['api']=_0x1ce3a3;function _0x5b3cf7(_0x4345f7,_0xb41d76){return _0x3f37dd(_0x4345f7,_0xb41d76-_0x53cfc5._0x181676);}this['scene']=_0x1baa16[_0x5b3cf7(_0x537b68._0x2f8496,0x102)]['ecInstance']['_mars3d_scene'],this[_0x3da30f(-_0x537b68._0xb0c16e,-0x1b4)]['postRender'][_0x3da30f(-_0x537b68._0x3cb22a,-_0x537b68._0xcb6e51)](this[_0x3da30f(-0x192,-0x1aa)],this);},'moveHandler':function(_0x17113c,_0x5afd7a){const _0x3a1836={};function _0xa0c4b2(_0x3dc982,_0x193fd1){return _0x18776d(_0x3dc982- -0x2ed,_0x193fd1);}_0x3a1836[_0xa0c4b2(-0x65,-0x62)]='mars3dMapRoam',this['api']['dispatchAction'](_0x3a1836);},'render':function(_0x9bbd91,_0xe1f3eb,_0x4f1439){},'dispose':function(_0x2e59ca){this['scene']['postRender']['removeEventListener'](this['moveHandler'],this);}});}else throw new Error('请引入\x20echarts\x20库\x20');const Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace['layer']['BaseLayer'];function _0x2d8d(_0xb98025,_0x182b33){const _0x4bd72e=_0x4bd7();return _0x2d8d=function(_0x2d8dc5,_0x46ceaa){_0x2d8dc5=_0x2d8dc5-0xa6;let _0x15b4c3=_0x4bd72e[_0x2d8dc5];if(_0x2d8d['PRMqqd']===undefined){var _0x5ec352=function(_0x4a05a8){const _0x21f0fa='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x542266='',_0x26f507='';for(let _0x22c639=0x0,_0x33e931,_0x441456,_0x26cc87=0x0;_0x441456=_0x4a05a8['charAt'](_0x26cc87++);~_0x441456&&(_0x33e931=_0x22c639%0x4?_0x33e931*0x40+_0x441456:_0x441456,_0x22c639++%0x4)?_0x542266+=String['fromCharCode'](0xff&_0x33e931>>(-0x2*_0x22c639&0x6)):0x0){_0x441456=_0x21f0fa['indexOf'](_0x441456);}for(let _0x359f1a=0x0,_0x30a26c=_0x542266['length'];_0x359f1a<_0x30a26c;_0x359f1a++){_0x26f507+='%'+('00'+_0x542266['charCodeAt'](_0x359f1a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x26f507);};_0x2d8d['rCMNgv']=_0x5ec352,_0xb98025=arguments,_0x2d8d['PRMqqd']=!![];}const _0x3e5297=_0x4bd72e[0x0],_0x561f32=_0x2d8dc5+_0x3e5297,_0x1d07f2=_0xb98025[_0x561f32];return!_0x1d07f2?(_0x15b4c3=_0x2d8d['rCMNgv'](_0x15b4c3),_0xb98025[_0x561f32]=_0x15b4c3):_0x15b4c3=_0x1d07f2,_0x15b4c3;},_0x2d8d(_0xb98025,_0x182b33);}class EchartsLayer extends BaseLayer{constructor(_0x501d7a={}){const _0x24d5a2={_0x35d40e:0x93};function _0x5aa338(_0x13e92c,_0x5f55cb){return _0x3f37dd(_0x5f55cb,_0x13e92c- -_0x24d5a2._0x35d40e);}super(_0x501d7a),this['_pointerEvents']=this['options'][_0x5aa338(-0x149,-0x15d)];}get['layer'](){function _0x2fb264(_0x44e4f,_0x175c9c){return _0x3f37dd(_0x44e4f,_0x175c9c- -0x270);}return this[_0x2fb264(-0x332,-0x30b)];}get['pointerEvents'](){const _0x2d472b={_0x513e7c:0x4f0};function _0x47152e(_0x4fce42,_0x446e4f){return _0x3f37dd(_0x4fce42,_0x446e4f-_0x2d472b._0x513e7c);}return this[_0x47152e(0x474,0x456)];}set[_0x18776d(0x277,0x255)](_0x565ebe){const _0x1ba41f={_0x1e2163:0x3f4,_0x4b354d:0x3e2,_0x4daeda:0x3be,_0x2dbc2f:0x376,_0x1c07f2:0x398,_0x32a648:0x396,_0x2fe6ce:0x394},_0x38639b={_0x122e81:0x161},_0x42ec58={_0x38bbdd:0x42c};function _0xe2340d(_0x187332,_0x549e63){return _0x3f37dd(_0x549e63,_0x187332-_0x42ec58._0x38bbdd);}this[_0x4c7eb2(_0x1ba41f._0x1e2163,_0x1ba41f._0x4b354d)]=_0x565ebe;function _0x4c7eb2(_0x2531a3,_0x267521){return _0x18776d(_0x2531a3-_0x38639b._0x122e81,_0x267521);}this[_0xe2340d(0x3c3,_0x1ba41f._0x4daeda)]&&(_0x565ebe?this['_echartsContainer']['style'][_0xe2340d(_0x1ba41f._0x2dbc2f,_0x1ba41f._0x1c07f2)]=_0xe2340d(_0x1ba41f._0x32a648,_0x1ba41f._0x2fe6ce):this[_0xe2340d(0x3c3,0x3a1)]['style'][_0x4c7eb2(0x3d8,0x3b0)]='none');}[_0x18776d(0x27f,0x280)](_0x5f381f,_0x1cfa88){this['setEchartsOption'](_0x5f381f);}['_showHook'](_0x4dbf3e){const _0x5c8d6e={_0x32a42d:0x326,_0x3283be:0x44d};function _0x5c6f2c(_0x2ce6e6,_0x45f24e){return _0x3f37dd(_0x2ce6e6,_0x45f24e-0x370);}function _0x390158(_0x48da31,_0x106cc8){return _0x18776d(_0x106cc8-0x1be,_0x48da31);}_0x4dbf3e?this['_echartsContainer']['style']['visibility']=_0x5c6f2c(_0x5c8d6e._0x32a42d,0x30d):this['_echartsContainer'][_0x390158(0x473,_0x5c8d6e._0x3283be)]['visibility']='hidden';}[_0x3f37dd(-0x9d,-0x7f)](){const _0x305cfd={_0x25bb31:0x367,_0x3002ca:0x1b,_0x43e106:0x34d};function _0x3a93d5(_0x523fb0,_0x5567fa){return _0x18776d(_0x5567fa-0xc6,_0x523fb0);}this['_map']['scene']['echartsDepthTest']=this['options']['depthTest']??!![];function _0x41a377(_0x329986,_0x222c63){return _0x18776d(_0x329986- -0x296,_0x222c63);}this['_map']['scene'][_0x41a377(-0x8,-0x29)]=this[_0x3a93d5(_0x305cfd._0x25bb31,0x357)][_0x41a377(0x16,0xc)]??![],this['_map'][_0x41a377(-_0x305cfd._0x3002ca,-0x1d)][_0x3a93d5(0x325,_0x305cfd._0x43e106)]=this['options']['fixedHeight']??0x0;}['_addedHook'](){const _0x52e0da={_0x2ddf78:0x16c,_0x4a3a32:0x168,_0x4632d:0x17c,_0x3b100e:0x19b,_0x33bed9:0x1f0,_0x3ddff9:0x166},_0x505674={_0x451c84:0x29a};this['_echartsContainer']=this[_0x5ca084(-_0x52e0da._0x2ddf78,-_0x52e0da._0x4a3a32)](),this['_echartsInstance']=echarts__namespace['init'](this['_echartsContainer']),this[_0x5ca084(-_0x52e0da._0x4632d,-_0x52e0da._0x3b100e)][_0x3b9532(_0x52e0da._0x33bed9,0x1d3)]=this['_map']['scene'];function _0x3b9532(_0xdffc6d,_0x13a390){return _0x3f37dd(_0x13a390,_0xdffc6d-_0x505674._0x451c84);}function _0x5ca084(_0x16d765,_0x5903ce){return _0x18776d(_0x16d765- -0x40e,_0x5903ce);}this[_0x5ca084(-0x18a,-_0x52e0da._0x3ddff9)](this['options']);}[_0x18776d(0x2b2,0x28a)](){const _0x53b556={_0x5e861a:0x35c,_0x243b9c:0xdc,_0x272638:0xd5,_0x424185:0x355,_0x15efb9:0xf9},_0x5ac2bc={_0x20b19a:0x3f7};this[_0x53cbe4(0x362,_0x53b556._0x5e861a)]&&(this['_echartsInstance']['clear'](),this['_echartsInstance']['dispose'](),delete this['_echartsInstance']);function _0x484372(_0x3984d2,_0x4d0a6a){return _0x3f37dd(_0x4d0a6a,_0x3984d2- -0x73);}function _0x53cbe4(_0x406200,_0x435bb9){return _0x3f37dd(_0x406200,_0x435bb9-_0x5ac2bc._0x20b19a);}this[_0x484372(-_0x53b556._0x243b9c,-_0x53b556._0x272638)]&&(this[_0x53cbe4(_0x53b556._0x424185,0x374)][_0x484372(-0xf0,-_0x53b556._0x15efb9)]['removeChild'](this[_0x53cbe4(0x384,0x38e)]),delete this['_echartsContainer']);}[_0x3f37dd(-0xab,-0x8b)](){const _0x2c76f4={_0x3581ca:0x1ef,_0x4dad8f:0x1dd,_0x2dd02c:0x1ba,_0x405632:0x1b8,_0x4fef4a:0x237,_0x217d28:0x23e},_0x1de5aa=mars3d__namespace['DomUtil']['create']('div','mars3d-echarts',this['_map'][_0xf5ae15(0x1a8,0x1ce)]);_0x1de5aa['id']=this['id'],_0x1de5aa[_0xf5ae15(0x1c7,0x1ad)]['position']=_0x2b42d1(-0x24d,-0x263),_0x1de5aa['style'][_0xf5ae15(_0x2c76f4._0x3581ca,0x1d2)]=_0xf5ae15(_0x2c76f4._0x4dad8f,_0x2c76f4._0x2dd02c);function _0xf5ae15(_0x436d89,_0x387902){return _0x18776d(_0x387902- -0xe2,_0x436d89);}_0x1de5aa['style'][_0xf5ae15(0x1b6,0x1cb)]=_0x2b42d1(-0x24f,-0x245);function _0x2b42d1(_0xc44058,_0x1bda0d){return _0x18776d(_0x1bda0d- -0x4e1,_0xc44058);}return _0x1de5aa[_0x2b42d1(-0x266,-0x252)]['width']=this['_map']['scene']['canvas'][_0xf5ae15(0x1d9,_0x2c76f4._0x405632)]+'px',_0x1de5aa['style']['height']=this[_0x2b42d1(-0x243,-_0x2c76f4._0x4fef4a)]['scene']['canvas']['clientHeight']+'px',_0x1de5aa['style']['pointerEvents']=this[_0x2b42d1(-_0x2c76f4._0x217d28,-0x24e)]?'all':'none',_0x1de5aa['style']['zIndex']=this[_0xf5ae15(0x1d9,0x1af)][_0x2b42d1(-0x24b,-0x26b)]??0x9,_0x1de5aa;}['resize'](){const _0x180e63={_0x1015bb:0x499,_0x1ed429:0x63,_0x4cd833:0x7d,_0x2568c0:0x86,_0x5b67a3:0x496,_0x89f14f:0x6d,_0x2fcfe8:0x75},_0x1ddd60={_0x1642ac:0x247};if(!this[_0x376689(_0x180e63._0x1015bb,0x482)])return;this[_0x5b5997(_0x180e63._0x1ed429,_0x180e63._0x4cd833)]['style']['width']=this[_0x5b5997(_0x180e63._0x2568c0,0x63)]['scene'][_0x5b5997(0x9f,0x7e)]['clientWidth']+'px';function _0x376689(_0x32fc5c,_0x5240f1){return _0x3f37dd(_0x5240f1,_0x32fc5c-0x534);}this['_echartsContainer'][_0x376689(_0x180e63._0x5b67a3,0x48b)][_0x5b5997(_0x180e63._0x89f14f,_0x180e63._0x2fcfe8)]=this['_map'][_0x376689(0x482,0x4aa)][_0x376689(0x4cc,0x4b2)]['clientHeight']+'px';function _0x5b5997(_0x182260,_0x4fb191){return _0x18776d(_0x4fb191- -_0x1ddd60._0x1642ac,_0x182260);}this['_echartsInstance'][_0x5b5997(0x5b,0x33)]();}[_0x3f37dd(-0x8d,-0xa9)](_0x4e97b0,_0x418a95,_0x314d66){const _0x53bc07={_0x2df7ab:0x18f,_0xf85bd8:0x19b,_0x18509a:0x183,_0x2a2f12:0x36c,_0x446df0:0x33b},_0x588442={_0x404555:0x3d2},_0x24df27={_0x6b6f32:0x22a};function _0x4b09bb(_0xf05feb,_0x2fefb9){return _0x3f37dd(_0xf05feb,_0x2fefb9-_0x24df27._0x6b6f32);}function _0x50d50c(_0x52df7e,_0x464e47){return _0x3f37dd(_0x52df7e,_0x464e47-_0x588442._0x404555);}if(this[_0x4b09bb(0x197,_0x53bc07._0x2df7ab)]){const _0x5e9ab3={};_0x5e9ab3[_0x4b09bb(0x16b,0x198)]=!![],_0x4e97b0={'mars3dMap':{},...mars3d__namespace[_0x4b09bb(_0x53bc07._0xf85bd8,_0x53bc07._0x18509a)][_0x50d50c(_0x53bc07._0x2a2f12,0x363)](_0x4e97b0,_0x5e9ab3)},delete _0x4e97b0['eventParent'],this['_echartsInstance'][_0x50d50c(0x354,_0x53bc07._0x446df0)](_0x4e97b0,_0x418a95,_0x314d66);}}['getRectangle'](_0x45db8){const _0x2a71da={_0x452ec9:0x38b,_0x5ae41e:0x51,_0x421660:0x37f,_0x57d60c:0x3eb,_0x29474b:0x3a4,_0x3aa494:0x399},_0x5e734f={_0x348182:0xcb},_0x384eb2={_0x395824:0x3bc,_0x25acd3:0x3b6},_0x519d1b={_0x5b6df4:0xe3,_0x250438:0x11e},_0x321483={_0x1dacb2:0x13d,_0x54194e:0x143,_0x3d863b:0x104},_0x30c835={_0x109bac:0x1fe};let _0x2a9c44,_0x128a18,_0x6eced,_0x14863c;function _0x5406df(_0x9e96fa){if(!Array[_0x2b9f29(-_0x321483._0x1dacb2,-_0x321483._0x54194e)](_0x9e96fa))return;const _0x32dd37=_0x9e96fa[0x0]||0x0;function _0x2b9f29(_0x189948,_0x1e7d2d){return _0x2d8d(_0x189948- -_0x30c835._0x109bac,_0x1e7d2d);}function _0x222c48(_0x3f8470,_0x5c9c69){return _0x2d8d(_0x5c9c69-0x304,_0x3f8470);}const _0x4379ed=_0x9e96fa[0x1]||0x0;_0x32dd37!==0x0&&_0x4379ed!==0x0&&(_0x2a9c44===undefined?(_0x2a9c44=_0x32dd37,_0x128a18=_0x32dd37,_0x6eced=_0x4379ed,_0x14863c=_0x4379ed):(_0x2a9c44=Math[_0x2b9f29(-0x10b,-0x105)](_0x2a9c44,_0x32dd37),_0x128a18=Math[_0x2b9f29(-_0x321483._0x3d863b,-0xe7)](_0x128a18,_0x32dd37),_0x6eced=Math['min'](_0x6eced,_0x4379ed),_0x14863c=Math['max'](_0x14863c,_0x4379ed)));}const _0x141591=this[_0x599232(0x391,_0x2a71da._0x452ec9)][_0x5ca077(0x42,0x5b)];_0x141591&&_0x141591[_0x599232(0x3cf,0x3bb)](_0x406591=>{function _0x8d08b3(_0x3c79fe,_0x3483df){return _0x5ca077(_0x3c79fe-0x394,_0x3483df);}function _0x3c89bb(_0x3b42ac,_0x34f042){return _0x599232(_0x3b42ac,_0x34f042-0xb6);}_0x406591[_0x8d08b3(0x3bc,0x3c8)]&&_0x406591[_0x8d08b3(_0x384eb2._0x395824,_0x384eb2._0x25acd3)][_0x3c89bb(0x497,0x471)](_0x35dcf2=>{function _0x100c84(_0x32a49e,_0x4e1335){return _0x8d08b3(_0x32a49e- -0x488,_0x4e1335);}function _0x357995(_0xf2c617,_0xa8b461){return _0x3c89bb(_0xf2c617,_0xa8b461- -0x353);}if(_0x35dcf2['value'])_0x5406df(_0x35dcf2[_0x357995(_0x519d1b._0x5b6df4,0x105)]);else _0x35dcf2['coords']&&_0x35dcf2['coords'][_0x357995(0x11c,_0x519d1b._0x250438)](_0x5ae45c=>{_0x5406df(_0x5ae45c);});});});function _0x5ca077(_0x387917,_0x59d981){return _0x3f37dd(_0x59d981,_0x387917-_0x5e734f._0x348182);}if(_0x2a9c44===0x0&&_0x6eced===0x0&&_0x128a18===0x0&&_0x14863c===0x0)return null;function _0x599232(_0x585aed,_0x4dc8cf){return _0x18776d(_0x4dc8cf-0xfa,_0x585aed);}if(_0x45db8!==null&&_0x45db8!==void 0x0&&_0x45db8['isFormat']){const _0x52401f={};return _0x52401f[_0x5ca077(_0x2a71da._0x5ae41e,0x56)]=_0x2a9c44,_0x52401f['xmax']=_0x128a18,_0x52401f[_0x599232(0x368,_0x2a71da._0x421660)]=_0x6eced,_0x52401f[_0x599232(_0x2a71da._0x57d60c,0x3c5)]=_0x14863c,_0x52401f;}else return Cesium['Rectangle'][_0x599232(_0x2a71da._0x29474b,_0x2a71da._0x3aa494)](_0x2a9c44,_0x6eced,_0x128a18,_0x14863c);}['on'](_0x227f13,_0x2e8ad6,_0x15dc00){return this['_echartsInstance']['on'](_0x227f13,_0x2e8ad6,_0x15dc00||this),this;}[_0x18776d(0x2a9,0x2ac)](_0x16acf4,_0x1fb22e,_0x4b65fc,_0x20b8e4){const _0xcc40d4={_0x1c9658:0x281};this[_0x493cfc(_0xcc40d4._0x1c9658,0x261)]['on'](_0x16acf4,_0x1fb22e,_0x4b65fc,_0x20b8e4||this);function _0x493cfc(_0x1ee073,_0x4891ef){return _0x18776d(_0x1ee073- -0x11,_0x4891ef);}return this;}[_0x18776d(0x2bb,0x29b)](_0x602092,_0x24dec0,_0x5d8a2c){const _0x472c90={_0x5672ff:0x1f};function _0x56e5b8(_0x1ea8d7,_0x4add6d){return _0x3f37dd(_0x1ea8d7,_0x4add6d-0xba);}return this[_0x56e5b8(0x1c,_0x472c90._0x5672ff)]['off'](_0x602092,_0x24dec0,_0x5d8a2c||this),this;}}mars3d__namespace[_0x3f37dd(-0x92,-0x8a)]['register']('echarts',EchartsLayer),mars3d__namespace[_0x3f37dd(-0x3e,-0x61)][_0x3f37dd(-0x99,-0x99)]=EchartsLayer,mars3d__namespace['echarts']=echarts__namespace,exports[_0x3f37dd(-0x79,-0x99)]=EchartsLayer,Object[_0x3f37dd(-0x54,-0x6d)](echarts)[_0x3f37dd(-0x7b,-0x6c)](function(_0x10d854){const _0x1b8929={_0x2f2e50:0x95};function _0x8614b3(_0x17428d,_0x28f512){return _0x3f37dd(_0x17428d,_0x28f512- -0x158);}function _0x26cc93(_0x3a80a9,_0x30ed41){return _0x18776d(_0x3a80a9- -_0x1b8929._0x2f2e50,_0x30ed41);}if(_0x10d854!==_0x8614b3(-0x204,-0x210)&&!exports['hasOwnProperty'](_0x10d854))Object[_0x8614b3(-0x1ed,-0x1d4)](exports,_0x10d854,{'enumerable':!![],'get':function(){return echarts[_0x10d854];}});});function _0x18776d(_0x26f4db,_0x3cfad6){const _0x30d998={_0x25616b:0x1cc};return _0x2d8d(_0x26f4db-_0x30d998._0x25616b,_0x3cfad6);}function _0x4bd7(){const _0x28dee8=['z2v0qxr0CLzHBa','BwLU','A2v5CW','zM9YrwfJAa','C2nOzwr1BgvY','Bw9Kzq','x2vJAgfYDhndB250ywLUzxi','y2fUDMfZ','Bwf4','Bw92zuHHBMrSzxi','ywrKrxzLBNrmAxn0zw5LCG','x21HCe9MzNnLDa','DMLZAwjSzq','Ew1HEa','Bgf5zxi','z2v0vMLLD1jLy3q','mZm5nMDOBwHqua','zwfJAfnLCMLLCW','mtaWnZG2otbovMDJtwu','zgvMyxvSDa','EKLUzgv4','Cg9PBNrLCKv2zw50CW','zwfJAenVBxbVBMvUDa','u2nLBMvnB2rL','CMvZAxPL','C2nLBMu','Bgf0','zwXSAxbZB2LK','ywjZB2X1Dgu','x3nLDe9WDgLVBNniB29R','x2fWAq','CM9HBq','ug9PBNruCMfUCW','x21HCNmZzf9Zy2vUzq','C2v0rwnOyxj0C09WDgLVBG','Ew1PBG','vxrPBa','zwnOyxj0C0zPEgvKsgvPz2H0','DhLWzq','y3jLyxrL','zgf0yq','Aw5PDa','z2v0wNi','AxnbCNjHEq','zwnOyxj0C0f1Dg9izwLNAhq','C3r5Bgu','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','B3b0Aw9UCW','x2vJAgfYDhnjBNn0yw5Jzq','x3bVAw50zxjfDMvUDhm','rwnOyxj0C0XHEwvY','ofriD3rsyG','C2v0t3b0Aw9U','ywXS','y29VCMrPBMf0zvn5C3rLBq','rwXSAxbZB2LKywXpy2nSDwrLCG','y2XPzw50v2LKDgG','B25SEvnPBxbSzvr5Cgu','mhb4','z2v0qK1HCa','zgf0yvrVug9PBNq','zNjVBurLz3jLzxm','zgvMyxvSDe9WDgLVBG','z2v0','x2nYzwf0zunOyxj0t3zLCMXHEq','tgf5zxjvDgLS','C2vYAwvZ','BwfYCZnKtwfW','z2v0uM9HBvrYyw5ZzM9YBq','zgLTzw5ZAw9UCW','DMfSDwu','B25cEvf1zxj5','x21HCa','ntq4odK1tgXqv2v6','y2XHBxbuB0DYB3vUza','BgvMDa','x21VDw50zwriB29R','mty2ndm4me9Qz3rvEq','y29UDgfPBMvY','zgvMAw5LuhjVCgvYDhK','x3jLBw92zwriB29R','Eg1PBG','Dg9W','mZu0nwzlA3rjCq','oduZnZHzsfzSzem','mJm2mZq4n3jJyu1uDa','q2vZAxvT','mtaXnJiWoff0CKDpsG','AxnqB2LUDfzPC2LIBgu','B2zM','AgvPz2H0','mNfPzLjHAG'];_0x4bd7=function(){return _0x28dee8;};return _0x4bd7();}const _0x441456={};function _0x3f37dd(_0x11d6ef,_0x4cda94){return _0x2d8d(_0x4cda94- -0x161,_0x11d6ef);}_0x441456[_0x18776d(0x2a8,0x27f)]=!![],Object[_0x3f37dd(-0x7e,-0x7c)](exports,'__esModule',_0x441456); | ||
})); |
{ | ||
"name": "mars3d-echarts", | ||
"version": "3.9.2", | ||
"version": "3.9.3", | ||
"description": "Mars3D平台插件,结合echarts可视化功能插件", | ||
@@ -10,3 +10,3 @@ "main": "./mars3d-echarts.js", | ||
"devDependencies": { | ||
"mars3d": "~3.9.2" | ||
"mars3d": "~3.9.3" | ||
}, | ||
@@ -13,0 +13,0 @@ "scripts": { |
@@ -33,6 +33,6 @@ | ||
```sh | ||
//安装mars3d主库 | ||
//安装mars3d主库(如果已安装请忽略) | ||
npm install mars3d --save | ||
//安装mars3d插件(按需安装) | ||
//安装mars3d插件 | ||
npm install mars3d-echarts echarts --save | ||
@@ -39,0 +39,0 @@ ``` |
25954
0.68%98
1.03%166
-0.6%3
-25%6
-14.29%0
-100%37
-2.63%