mars3d-heatmap
Advanced tools
Comparing version 3.7.2 to 3.7.3
/** | ||
* Mars3D平台插件,结合heatmap可视化功能插件 mars3d-heatmap | ||
* | ||
* 版本信息:v3.7.2 | ||
* 编译日期:2024-01-29 17:17:23 | ||
* 版本信息:v3.7.3 | ||
* 编译日期:2024-02-05 15:49:49 | ||
* 版权所有:Copyright by 火星科技 http://mars3d.cn | ||
@@ -14,3 +14,3 @@ * 使用单位:免费公开版 ,2024-01-15 | ||
})(this, (function (exports, mars3d) { | ||
'use strict';var _0x3eb2ff=_0x2fe8;(function(_0x4c9aa0,_0x226cbf){var _0x546a7d={_0x3f9e94:0x240,_0x49c300:0x205,_0x4d670c:0x255,_0xe85bf1:0x264},_0x469542=_0x2fe8,_0x5e79ff=_0x4c9aa0();while(!![]){try{var _0x590a59=parseInt(_0x469542(0x1d4))/0x1+-parseInt(_0x469542(_0x546a7d._0x3f9e94))/0x2*(parseInt(_0x469542(0x24e))/0x3)+-parseInt(_0x469542(0x1dc))/0x4+parseInt(_0x469542(_0x546a7d._0x49c300))/0x5+parseInt(_0x469542(0x251))/0x6*(parseInt(_0x469542(0x1d7))/0x7)+-parseInt(_0x469542(_0x546a7d._0x4d670c))/0x8*(parseInt(_0x469542(0x24c))/0x9)+parseInt(_0x469542(_0x546a7d._0xe85bf1))/0xa;if(_0x590a59===_0x226cbf)break;else _0x5e79ff['push'](_0x5e79ff['shift']());}catch(_0x5a04ba){_0x5e79ff['push'](_0x5e79ff['shift']());}}}(_0x9956,0x64dd2));function _interopNamespace(_0x5da4ad){var _0x34c27d={_0x2eeb79:0x23e},_0x4ece92=_0x2fe8;if(_0x5da4ad&&_0x5da4ad['__esModule'])return _0x5da4ad;var _0x525cc9=Object[_0x4ece92(0x21c)](null);return _0x5da4ad&&Object['keys'](_0x5da4ad)['forEach'](function(_0x2a11d9){var _0x1ed98f=_0x4ece92;if(_0x2a11d9!=='default'){var _0x376ba9=Object[_0x1ed98f(_0x34c27d._0x2eeb79)](_0x5da4ad,_0x2a11d9);Object['defineProperty'](_0x525cc9,_0x2a11d9,_0x376ba9[_0x1ed98f(0x1f2)]?_0x376ba9:{'enumerable':!![],'get':function(){return _0x5da4ad[_0x2a11d9];}});}}),_0x525cc9['default']=_0x5da4ad,_0x525cc9;}function _mergeNamespaces(_0x44cccb,_0x30276a){var _0x17f3dc={_0x39bca8:0x262};return _0x30276a['forEach'](function(_0x517703){var _0x5776c7=_0x2fe8;_0x517703&&typeof _0x517703!=='string'&&!Array[_0x5776c7(0x1e9)](_0x517703)&&Object[_0x5776c7(_0x17f3dc._0x39bca8)](_0x517703)['forEach'](function(_0x5b2a28){var _0x253523=_0x5776c7;if(_0x5b2a28!=='default'&&!(_0x5b2a28 in _0x44cccb)){var _0x415d17=Object[_0x253523(0x23e)](_0x517703,_0x5b2a28);Object['defineProperty'](_0x44cccb,_0x5b2a28,_0x415d17['get']?_0x415d17:{'enumerable':!![],'get':function(){return _0x517703[_0x5b2a28];}});}});}),_0x44cccb;}var mars3d__namespace=_interopNamespace(mars3d),commonjsGlobal=typeof globalThis!=='undefined'?globalThis:typeof window!=='undefined'?window:typeof global!=='undefined'?global:typeof self!=='undefined'?self:{},heatmap$1={'exports':{}};(function(_0x27d397){var _0x3296f1={_0x3f3fc4:0x20a},_0x45d29b={_0x1ca625:0x21a},_0x18b4df={_0x4fe982:0x23f},_0x23e31d={_0x4ad7f8:0x231},_0x145041=_0x2fe8;(function(_0x2bdcaf,_0x5e751e,_0x28223e){var _0x44817f=_0x2fe8;_0x27d397['exports']?_0x27d397[_0x44817f(_0x23e31d._0x4ad7f8)]=_0x28223e():_0x5e751e[_0x2bdcaf]=_0x28223e();}(_0x145041(0x210),commonjsGlobal,function(){var _0x411b0d={_0x3b5d8c:0x24d},_0x38938e={_0x5aea2c:0x24b},_0x16407c={_0x8b8cb9:0x22b,_0x3004aa:0x1f6},_0x3bb51c={_0x4672ae:0x24b},_0x3c00ee={_0x3b9a5a:0x25c,_0x1a4fbc:0x25a},_0x579cd5={_0x2f794:0x219},_0x21cb72={_0x1236a6:0x22e},_0x594ec9={_0x3c5a0d:0x23a},_0x4b01a3={_0x3ef462:0x252},_0x6ebfa2={_0x2f2d41:0x201,_0x5691c5:0x1ef,_0x4608f3:0x260,_0x487e5f:0x1e4},_0x36aa4c={_0x52a8a4:0x1fa,_0x427a70:0x219,_0xc6e8e2:0x262},_0x16e6bb={_0x52faff:0x243,_0x452490:0x24a,_0x2491e5:0x1e5},_0x36c7ce={_0x428b3d:0x1ee,_0x57d997:0x1ef},_0x45678c={_0xc44ec8:0x254,_0xfda890:0x25e},_0x5d9a75={_0xe9ecbd:0x233},_0x2545e6=_0x145041,_0x2d7e54={'defaultRadius':0x28,'defaultRenderer':'canvas2d','defaultGradient':{0.25:'rgb(0,0,255)',0.55:_0x2545e6(_0x3296f1._0x3f3fc4),0.85:'yellow',0x1:'rgb(255,0,0)'},'defaultMaxOpacity':0x1,'defaultMinOpacity':0x0,'defaultBlur':0.85,'defaultXField':'x','defaultYField':'y','defaultValueField':'value','plugins':{}},_0x39690e=function _0x475150(){var _0x3a865d={_0x3a9ecd:0x225},_0x45d840={_0x2c0630:0x233,_0x8fb379:0x1f6},_0x16dd56={_0x5605ae:0x216},_0x1d7852={_0x8f727a:0x246},_0x20773f={_0x5737ce:0x246},_0xbff21f={_0x358296:0x246,_0x5d55d0:0x1d5,_0x39adab:0x229,_0x56c18a:0x20e},_0x350291=function _0x319d7f(_0x504b1d){var _0x3f1d0f=_0x2fe8;this['_coordinator']={},this['_data']=[],this['_radi']=[],this[_0x3f1d0f(_0xbff21f._0x358296)]=0xa,this['_max']=0x1,this['_xField']=_0x504b1d[_0x3f1d0f(_0xbff21f._0x5d55d0)]||_0x504b1d['defaultXField'],this['_yField']=_0x504b1d['yField']||_0x504b1d['defaultYField'],this['_valueField']=_0x504b1d[_0x3f1d0f(_0xbff21f._0x39adab)]||_0x504b1d['defaultValueField'],_0x504b1d[_0x3f1d0f(_0xbff21f._0x56c18a)]&&(this['_cfgRadius']=_0x504b1d[_0x3f1d0f(0x20e)]);},_0x229a83=_0x2d7e54['defaultRadius'];return _0x350291['prototype']={'_organiseData':function(_0x3188f2,_0x29f58e){var _0x12159a=_0x2fe8,_0x307880=_0x3188f2[this['_xField']],_0x9d10e9=_0x3188f2[this['_yField']],_0x3c9e58=this[_0x12159a(0x1d6)],_0x3cfa09=this['_data'],_0x20cc21=this[_0x12159a(_0x5d9a75._0xe9ecbd)],_0x5ef69a=this['_min'],_0x38eabc=_0x3188f2[this[_0x12159a(0x242)]]||0x1,_0x4a7200=_0x3188f2[_0x12159a(0x20e)]||this['_cfgRadius']||_0x229a83;!_0x3cfa09[_0x307880]&&(_0x3cfa09[_0x307880]=[],_0x3c9e58[_0x307880]=[]);!_0x3cfa09[_0x307880][_0x9d10e9]?(_0x3cfa09[_0x307880][_0x9d10e9]=_0x38eabc,_0x3c9e58[_0x307880][_0x9d10e9]=_0x4a7200):_0x3cfa09[_0x307880][_0x9d10e9]+=_0x38eabc;var _0x42971e=_0x3cfa09[_0x307880][_0x9d10e9];if(_0x42971e>_0x20cc21)return!_0x29f58e?this['_max']=_0x42971e:this['setDataMax'](_0x42971e),![];else return _0x42971e<_0x5ef69a?(!_0x29f58e?this['_min']=_0x42971e:this['setDataMin'](_0x42971e),![]):{'x':_0x307880,'y':_0x9d10e9,'value':_0x38eabc,'radius':_0x4a7200,'min':_0x5ef69a,'max':_0x20cc21};},'_unOrganizeData':function(){var _0x2bf0d2=_0x2fe8,_0x4c3496=[],_0x461751=this['_data'],_0x193923=this['_radi'];for(var _0x359e29 in _0x461751){for(var _0x37306f in _0x461751[_0x359e29]){_0x4c3496['push']({'x':_0x359e29,'y':_0x37306f,'radius':_0x193923[_0x359e29][_0x37306f],'value':_0x461751[_0x359e29][_0x37306f]});}}return{'min':this[_0x2bf0d2(_0x20773f._0x5737ce)],'max':this['_max'],'data':_0x4c3496};},'_onExtremaChange':function(){var _0xc4adff=_0x2fe8;this['_coordinator']['emit']('extremachange',{'min':this[_0xc4adff(_0x1d7852._0x8f727a)],'max':this['_max']});},'addData':function(){var _0x1c2899=_0x2fe8;if(arguments[0x0]['length']>0x0){var _0x516416=arguments[0x0],_0x4613f1=_0x516416['length'];while(_0x4613f1--){this['addData']['call'](this,_0x516416[_0x4613f1]);}}else{var _0x2f8893=this['_organiseData'](arguments[0x0],!![]);_0x2f8893&&(this['_data']['length']===0x0&&(this['_min']=this['_max']=_0x2f8893['value']),this['_coordinator']['emit'](_0x1c2899(_0x16dd56._0x5605ae),{'min':this[_0x1c2899(0x246)],'max':this[_0x1c2899(0x233)],'data':[_0x2f8893]}));}return this;},'setData':function(_0x3b4c76){var _0x1496cc=_0x2fe8,_0x2b34b0=_0x3b4c76['data'],_0x1d4e0b=_0x2b34b0['length'];this['_data']=[],this['_radi']=[];for(var _0x365c32=0x0;_0x365c32<_0x1d4e0b;_0x365c32++){this['_organiseData'](_0x2b34b0[_0x365c32],![]);}return this['_max']=_0x3b4c76[_0x1496cc(0x1fa)],this['_min']=_0x3b4c76[_0x1496cc(_0x45678c._0xc44ec8)]||0x0,this[_0x1496cc(0x1f9)](),this[_0x1496cc(_0x45678c._0xfda890)]['emit']('renderall',this['_getInternalData']()),this;},'removeData':function(){},'setDataMax':function(_0x32972d){var _0x17ad3c=_0x2fe8;return this[_0x17ad3c(_0x45d840._0x2c0630)]=_0x32972d,this['_onExtremaChange'](),this['_coordinator']['emit']('renderall',this[_0x17ad3c(_0x45d840._0x8fb379)]()),this;},'setDataMin':function(_0x176f7f){var _0x14b14f=_0x2fe8;return this['_min']=_0x176f7f,this['_onExtremaChange'](),this['_coordinator'][_0x14b14f(0x22b)]('renderall',this['_getInternalData']()),this;},'setCoordinator':function(_0x279e0f){this['_coordinator']=_0x279e0f;},'_getInternalData':function(){var _0x3007b8=_0x2fe8;return{'max':this['_max'],'min':this['_min'],'data':this[_0x3007b8(_0x3a865d._0x3a9ecd)],'radi':this['_radi']};},'getData':function(){return this['_unOrganizeData']();}},_0x350291;}(),_0x7afbec=function _0x8e83b5(){var _0x8f0f80={_0x2b757f:0x1ef},_0x16c157={_0x2ba2fd:0x265,_0xcbe509:0x1f7},_0x27d335={_0x59557a:0x258},_0x21a866={_0x4af68c:0x223,_0x261535:0x243,_0x154629:0x22e,_0x599746:0x23d},_0x1e2b9c={_0xc111ae:0x220},_0x59e04d=_0x2545e6,_0x4cbea7=function(_0x212508){var _0x259876=_0x2fe8,_0x2c5d65=_0x212508['gradient']||_0x212508[_0x259876(_0x36c7ce._0x428b3d)],_0xcc5f7e=document['createElement'](_0x259876(_0x36c7ce._0x57d997)),_0x2d1be7=_0xcc5f7e[_0x259876(0x211)]('2d',{'willReadFrequently':!![]});_0xcc5f7e['width']=0x100,_0xcc5f7e['height']=0x1;var _0x824ad8=_0x2d1be7[_0x259876(0x1ec)](0x0,0x0,0x100,0x1);for(var _0x20db54 in _0x2c5d65){_0x824ad8['addColorStop'](_0x20db54,_0x2c5d65[_0x20db54]);}return _0x2d1be7['fillStyle']=_0x824ad8,_0x2d1be7['fillRect'](0x0,0x0,0x100,0x1),_0x2d1be7['getImageData'](0x0,0x0,0x100,0x1)['data'];},_0x336eab=function(_0x45e2d3,_0x218f87){var _0xc2328d=_0x2fe8,_0x5e4e48=document['createElement']('canvas'),_0x3e1043=_0x5e4e48['getContext']('2d',{'willReadFrequently':!![]}),_0x14d884=_0x45e2d3,_0x4d1099=_0x45e2d3;_0x5e4e48['width']=_0x5e4e48[_0xc2328d(_0x16e6bb._0x52faff)]=_0x45e2d3*0x2;if(_0x218f87==0x1)_0x3e1043[_0xc2328d(_0x16e6bb._0x452490)](),_0x3e1043['arc'](_0x14d884,_0x4d1099,_0x45e2d3,0x0,0x2*Math['PI'],![]),_0x3e1043['fillStyle']='rgba(0,0,0,1)',_0x3e1043['fill']();else{var _0x3eb0ce=_0x3e1043['createRadialGradient'](_0x14d884,_0x4d1099,_0x45e2d3*_0x218f87,_0x14d884,_0x4d1099,_0x45e2d3);_0x3eb0ce[_0xc2328d(0x263)](0x0,'rgba(0,0,0,1)'),_0x3eb0ce['addColorStop'](0x1,'rgba(0,0,0,0)'),_0x3e1043[_0xc2328d(_0x16e6bb._0x2491e5)]=_0x3eb0ce,_0x3e1043['fillRect'](0x0,0x0,0x2*_0x45e2d3,0x2*_0x45e2d3);}return _0x5e4e48;},_0xb05077=function(_0x14a2d5){var _0x4c8548=_0x2fe8,_0x140478=[],_0x32e9f4=_0x14a2d5['min'],_0x5afc6c=_0x14a2d5[_0x4c8548(_0x36aa4c._0x52a8a4)],_0x127ea9=_0x14a2d5['radi'],_0x14a2d5=_0x14a2d5['data'],_0x1dac1e=Object['keys'](_0x14a2d5),_0x2b6862=_0x1dac1e[_0x4c8548(_0x36aa4c._0x427a70)];while(_0x2b6862--){var _0x2be735=_0x1dac1e[_0x2b6862],_0x5db789=Object[_0x4c8548(_0x36aa4c._0xc6e8e2)](_0x14a2d5[_0x2be735]),_0xbd6b26=_0x5db789['length'];while(_0xbd6b26--){var _0x40eba0=_0x5db789[_0xbd6b26],_0x401aca=_0x14a2d5[_0x2be735][_0x40eba0],_0x5f05f6=_0x127ea9[_0x2be735][_0x40eba0];_0x140478[_0x4c8548(0x20c)]({'x':_0x2be735,'y':_0x40eba0,'value':_0x401aca,'radius':_0x5f05f6});}}return{'min':_0x32e9f4,'max':_0x5afc6c,'data':_0x140478};};function _0x389711(_0x28ccf0){var _0x26c8d9=_0x2fe8,_0x459ae4=_0x28ccf0[_0x26c8d9(0x1f4)],_0x378489=this[_0x26c8d9(0x22e)]=document[_0x26c8d9(_0x6ebfa2._0x2f2d41)](_0x26c8d9(0x1ef)),_0x37ded2=this[_0x26c8d9(_0x6ebfa2._0x5691c5)]=_0x28ccf0['canvas']||document['createElement']('canvas');this['_renderBoundaries']=[0x2710,0x2710,0x0,0x0];var _0x3ecf15=getComputedStyle(_0x28ccf0['container'])||{};_0x37ded2['className']=_0x26c8d9(0x1ff),this['_width']=_0x37ded2[_0x26c8d9(_0x6ebfa2._0x4608f3)]=_0x378489['width']=_0x28ccf0['width']||+_0x3ecf15['width']['replace'](/px/,''),this[_0x26c8d9(0x25b)]=_0x37ded2['height']=_0x378489['height']=_0x28ccf0['height']||+_0x3ecf15['height'][_0x26c8d9(0x226)](/px/,''),this['shadowCtx']=_0x378489['getContext']('2d',{'willReadFrequently':!![]}),this['ctx']=_0x37ded2[_0x26c8d9(0x211)]('2d',{'willReadFrequently':!![]}),_0x37ded2['style']['cssText']=_0x378489['style'][_0x26c8d9(_0x6ebfa2._0x487e5f)]=_0x26c8d9(0x209),_0x459ae4['style']['position']='relative',_0x459ae4['appendChild'](_0x37ded2),this['_palette']=_0x4cbea7(_0x28ccf0),this['_templates']={},this['_setStyles'](_0x28ccf0);}return _0x389711[_0x59e04d(_0x18b4df._0x4fe982)]={'renderPartial':function(_0x379c1a){var _0x59a76f=_0x59e04d;_0x379c1a[_0x59a76f(_0x4b01a3._0x3ef462)][_0x59a76f(0x219)]>0x0&&(this['_drawAlpha'](_0x379c1a),this['_colorize']());},'renderAll':function(_0x83995){var _0x5cc947=_0x59e04d;this['_clear'](),_0x83995[_0x5cc947(0x252)]['length']>0x0&&(this[_0x5cc947(_0x594ec9._0x3c5a0d)](_0xb05077(_0x83995)),this['_colorize']());},'_updateGradient':function(_0x4fb322){this['_palette']=_0x4cbea7(_0x4fb322);},'updateConfig':function(_0x4546d2){_0x4546d2['gradient']&&this['_updateGradient'](_0x4546d2),this['_setStyles'](_0x4546d2);},'setDimensions':function(_0x46b5e1,_0x3342ee){var _0x1f32a7=_0x59e04d;this[_0x1f32a7(0x220)]=_0x46b5e1,this['_height']=_0x3342ee,this['canvas'][_0x1f32a7(0x260)]=this[_0x1f32a7(_0x21cb72._0x1236a6)][_0x1f32a7(0x260)]=_0x46b5e1,this['canvas']['height']=this['shadowCanvas']['height']=_0x3342ee;},'_clear':function(){var _0x10cdfe=_0x59e04d;this['shadowCtx']['clearRect'](0x0,0x0,this[_0x10cdfe(_0x1e2b9c._0xc111ae)],this[_0x10cdfe(0x25b)]),this['ctx'][_0x10cdfe(0x232)](0x0,0x0,this['_width'],this['_height']);},'_setStyles':function(_0x12e4ea){var _0x382271=_0x59e04d;this['_blur']=_0x12e4ea['blur']==0x0?0x0:_0x12e4ea[_0x382271(0x1d9)]||_0x12e4ea[_0x382271(_0x21a866._0x4af68c)],_0x12e4ea['backgroundColor']&&(this['canvas']['style'][_0x382271(0x1f8)]=_0x12e4ea[_0x382271(0x1f8)]),this['_width']=this['canvas'][_0x382271(0x260)]=this['shadowCanvas']['width']=_0x12e4ea['width']||this[_0x382271(0x220)],this['_height']=this['canvas'][_0x382271(_0x21a866._0x261535)]=this[_0x382271(_0x21a866._0x154629)]['height']=_0x12e4ea['height']||this['_height'],this['_opacity']=(_0x12e4ea['opacity']||0x0)*0xff,this['_maxOpacity']=(_0x12e4ea['maxOpacity']||_0x12e4ea['defaultMaxOpacity'])*0xff,this['_minOpacity']=(_0x12e4ea['minOpacity']||_0x12e4ea['defaultMinOpacity'])*0xff,this['_useGradientOpacity']=!!_0x12e4ea[_0x382271(_0x21a866._0x599746)];},'_drawAlpha':function(_0x387734){var _0x876260=_0x59e04d,_0x53e87a=this[_0x876260(0x246)]=_0x387734['min'],_0x3cbaff=this['_max']=_0x387734['max'],_0x387734=_0x387734['data']||[],_0x216093=_0x387734['length'],_0x417d42=0x1-this[_0x876260(_0x27d335._0x59557a)];while(_0x216093--){var _0x17e06d=_0x387734[_0x216093],_0x547573=_0x17e06d['x'],_0x267fbe=_0x17e06d['y'],_0x2c513e=_0x17e06d['radius'],_0x5e1cf5=Math[_0x876260(0x254)](_0x17e06d['value'],_0x3cbaff),_0x10a616=_0x547573-_0x2c513e,_0x377b6f=_0x267fbe-_0x2c513e,_0x233745=this[_0x876260(0x200)],_0x22545b;!this['_templates'][_0x2c513e]?this['_templates'][_0x2c513e]=_0x22545b=_0x336eab(_0x2c513e,_0x417d42):_0x22545b=this['_templates'][_0x2c513e];var _0x5f3284=(_0x5e1cf5-_0x53e87a)/(_0x3cbaff-_0x53e87a);_0x233745['globalAlpha']=_0x5f3284<0.01?0.01:_0x5f3284,_0x233745['drawImage'](_0x22545b,_0x10a616,_0x377b6f),_0x10a616<this['_renderBoundaries'][0x0]&&(this['_renderBoundaries'][0x0]=_0x10a616),_0x377b6f<this[_0x876260(0x265)][0x1]&&(this['_renderBoundaries'][0x1]=_0x377b6f),_0x10a616+0x2*_0x2c513e>this['_renderBoundaries'][0x2]&&(this['_renderBoundaries'][0x2]=_0x10a616+0x2*_0x2c513e),_0x377b6f+0x2*_0x2c513e>this['_renderBoundaries'][0x3]&&(this['_renderBoundaries'][0x3]=_0x377b6f+0x2*_0x2c513e);}},'_colorize':function(){var _0x297078=_0x59e04d,_0x57bfbd=this[_0x297078(_0x16c157._0x2ba2fd)][0x0],_0x3c65eb=this['_renderBoundaries'][0x1],_0x11b3f7=this[_0x297078(0x265)][0x2]-_0x57bfbd,_0x4fd5cd=this['_renderBoundaries'][0x3]-_0x3c65eb,_0xeb9899=this['_width'],_0x4a716e=this[_0x297078(0x25b)],_0x7a8581=this['_opacity'],_0x35a539=this[_0x297078(0x206)],_0x100bd2=this['_minOpacity'],_0xaefcae=this['_useGradientOpacity'];_0x57bfbd<0x0&&(_0x57bfbd=0x0);_0x3c65eb<0x0&&(_0x3c65eb=0x0);_0x57bfbd+_0x11b3f7>_0xeb9899&&(_0x11b3f7=_0xeb9899-_0x57bfbd);_0x3c65eb+_0x4fd5cd>_0x4a716e&&(_0x4fd5cd=_0x4a716e-_0x3c65eb);var _0x35a356=this['shadowCtx'][_0x297078(_0x16c157._0xcbe509)](_0x57bfbd,_0x3c65eb,_0x11b3f7,_0x4fd5cd),_0x6dd68d=_0x35a356[_0x297078(0x252)],_0x4a80bc=_0x6dd68d['length'],_0xec6bbb=this['_palette'];for(var _0x48798a=0x3;_0x48798a<_0x4a80bc;_0x48798a+=0x4){var _0x28e2fd=_0x6dd68d[_0x48798a],_0x581253=_0x28e2fd*0x4;if(!_0x581253)continue;var _0xd08200;_0x7a8581>0x0?_0xd08200=_0x7a8581:_0x28e2fd<_0x35a539?_0x28e2fd<_0x100bd2?_0xd08200=_0x100bd2:_0xd08200=_0x28e2fd:_0xd08200=_0x35a539,_0x6dd68d[_0x48798a-0x3]=_0xec6bbb[_0x581253],_0x6dd68d[_0x48798a-0x2]=_0xec6bbb[_0x581253+0x1],_0x6dd68d[_0x48798a-0x1]=_0xec6bbb[_0x581253+0x2],_0x6dd68d[_0x48798a]=_0xaefcae?_0xec6bbb[_0x581253+0x3]:_0xd08200;}this[_0x297078(0x23c)]['putImageData'](_0x35a356,_0x57bfbd,_0x3c65eb),this[_0x297078(_0x16c157._0x2ba2fd)]=[0x3e8,0x3e8,0x0,0x0];},'getValueAt':function(_0x520816){var _0x1ab0f0=_0x59e04d,_0x257e88,_0x193a8d=this['shadowCtx'],_0x91f777=_0x193a8d['getImageData'](_0x520816['x'],_0x520816['y'],0x1,0x1),_0x1c1348=_0x91f777['data'][0x3],_0x15f8fe=this['_max'],_0x566062=this[_0x1ab0f0(0x246)];return _0x257e88=Math['abs'](_0x15f8fe-_0x566062)*(_0x1c1348/0xff)>>0x0,_0x257e88;},'getDataURL':function(){var _0x152300=_0x59e04d;return this[_0x152300(_0x8f0f80._0x2b757f)]['toDataURL']();}},_0x389711;}(),_0x5af0db=function _0x19d2a3(){var _0x2ab6dd=_0x2545e6,_0x3e0fcb=![];return _0x2d7e54[_0x2ab6dd(_0x45d29b._0x1ca625)]==='canvas2d'&&(_0x3e0fcb=_0x7afbec),_0x3e0fcb;}(),_0x458701={'merge':function(){var _0x174e97=_0x2545e6,_0x555f70={},_0xe9e718=arguments[_0x174e97(_0x579cd5._0x2f794)];for(var _0x43f326=0x0;_0x43f326<_0xe9e718;_0x43f326++){var _0xcbbdb2=arguments[_0x43f326];for(var _0x50af4e in _0xcbbdb2){_0x555f70[_0x50af4e]=_0xcbbdb2[_0x50af4e];}}return _0x555f70;}},_0x266d51=function _0x29c342(){var _0x41288d={_0x3a0cb5:0x22b,_0x17b8d6:0x24b},_0x884fdc={_0x3932b3:0x24b},_0x5923da={_0x1135fb:0x25e,_0x28586b:0x22a},_0x3dfa4c=function _0x1e7396(){function _0x468617(){this['cStore']={};}return _0x468617['prototype']={'on':function(_0x243148,_0x473ad2,_0x33b967){var _0x6ad823=this['cStore'];!_0x6ad823[_0x243148]&&(_0x6ad823[_0x243148]=[]),_0x6ad823[_0x243148]['push'](function(_0x203002){return _0x473ad2['call'](_0x33b967,_0x203002);});},'emit':function(_0x83ee7f,_0x52e344){var _0x4c7894=_0x2fe8,_0x1edfa6=this[_0x4c7894(0x207)];if(_0x1edfa6[_0x83ee7f]){var _0x59f1af=_0x1edfa6[_0x83ee7f]['length'];for(var _0x69a965=0x0;_0x69a965<_0x59f1af;_0x69a965++){var _0x1549c8=_0x1edfa6[_0x83ee7f][_0x69a965];_0x1549c8(_0x52e344);}}}},_0x468617;}(),_0x156423=function(_0x23c797){var _0x331d9b={_0x5cccb5:0x1e2},_0x227f33=_0x2fe8,_0x19fbe7=_0x23c797['_renderer'],_0x324850=_0x23c797[_0x227f33(0x25e)],_0xf5cbf1=_0x23c797['_store'];_0x324850['on'](_0x227f33(0x216),_0x19fbe7['renderPartial'],_0x19fbe7),_0x324850['on'](_0x227f33(_0x3c00ee._0x3b9a5a),_0x19fbe7[_0x227f33(_0x3c00ee._0x1a4fbc)],_0x19fbe7),_0x324850['on']('extremachange',function(_0x4832af){var _0x25960a=_0x227f33;_0x23c797['_config']['onExtremaChange']&&_0x23c797['_config']['onExtremaChange']({'min':_0x4832af['min'],'max':_0x4832af['max'],'gradient':_0x23c797['_config'][_0x25960a(_0x331d9b._0x5cccb5)]||_0x23c797[_0x25960a(0x204)]['defaultGradient']});}),_0xf5cbf1[_0x227f33(0x266)](_0x324850);};function _0x5ad960(){var _0x4f0450=_0x2fe8,_0x4a3285=this['_config']=_0x458701[_0x4f0450(0x230)](_0x2d7e54,arguments[0x0]||{});this[_0x4f0450(_0x5923da._0x1135fb)]=new _0x3dfa4c();if(_0x4a3285['plugin']){var _0x515099=_0x4a3285['plugin'];if(!_0x2d7e54['plugins'][_0x515099])throw new Error('Plugin\x20\x27'+_0x515099+_0x4f0450(_0x5923da._0x28586b));else{var _0xf71fed=_0x2d7e54['plugins'][_0x515099];this['_renderer']=new _0xf71fed[(_0x4f0450(0x25f))](_0x4a3285),this['_store']=new _0xf71fed['store'](_0x4a3285);}}else this['_renderer']=new _0x5af0db(_0x4a3285),this['_store']=new _0x39690e(_0x4a3285);_0x156423(this);}return _0x5ad960['prototype']={'addData':function(){return this['_store']['addData']['apply'](this['_store'],arguments),this;},'removeData':function(){return this['_store']['removeData']&&this['_store']['removeData']['apply'](this['_store'],arguments),this;},'setData':function(){var _0x4f455c=_0x2fe8;return this['_store']['setData']['apply'](this[_0x4f455c(0x24b)],arguments),this;},'setDataMax':function(){var _0x1bbd91=_0x2fe8;return this[_0x1bbd91(_0x3bb51c._0x4672ae)]['setDataMax']['apply'](this['_store'],arguments),this;},'setDataMin':function(){var _0x34fcac=_0x2fe8;return this[_0x34fcac(_0x884fdc._0x3932b3)]['setDataMin'][_0x34fcac(0x202)](this['_store'],arguments),this;},'configure':function(_0x270620){var _0x3c7706=_0x2fe8;return this['_config']=_0x458701['merge'](this['_config'],_0x270620),this['_renderer']['updateConfig'](this['_config']),this['_coordinator'][_0x3c7706(_0x41288d._0x3a0cb5)]('renderall',this[_0x3c7706(_0x41288d._0x17b8d6)][_0x3c7706(0x1f6)]()),this;},'repaint':function(){var _0x816694=_0x2fe8;return this['_coordinator'][_0x816694(_0x16407c._0x8b8cb9)]('renderall',this['_store'][_0x816694(_0x16407c._0x3004aa)]()),this;},'getData':function(){var _0x1efcc8=_0x2fe8;return this[_0x1efcc8(_0x38938e._0x5aea2c)][_0x1efcc8(0x1e8)]();},'getDataURL':function(){var _0x5b999e=_0x2fe8;return this['_renderer'][_0x5b999e(0x235)]();},'getValueAt':function(_0xb22fc5){var _0x31cbc7=_0x2fe8;if(this['_store']['getValueAt'])return this['_store']['getValueAt'](_0xb22fc5);else return this['_renderer']['getValueAt']?this[_0x31cbc7(_0x411b0d._0x3b5d8c)]['getValueAt'](_0xb22fc5):null;}},_0x5ad960;}(),_0x3ffa5d={'create':function(_0x342cd6){return new _0x266d51(_0x342cd6);},'register':function(_0x3794e6,_0x5c9e47){_0x2d7e54['plugins'][_0x3794e6]=_0x5c9e47;}};return _0x3ffa5d;}));}(heatmap$1));var heatmap=heatmap$1[_0x3eb2ff(0x231)],h337=_mergeNamespaces({'__proto__':null,'default':heatmap},[heatmap$1[_0x3eb2ff(0x231)]]),HeatMaterial='uniform\x20sampler2D\x20image;\x0a\x0aczm_material\x20czm_getMaterial(czm_materialInput\x20materialInput)\x20{\x0a\x20\x20czm_material\x20material\x20=\x20czm_getDefaultMaterial(materialInput);\x0a\x20\x20vec2\x20st\x20=\x20materialInput.st;\x0a\x20\x20vec4\x20colorImage\x20=\x20texture(image,\x20st);\x0a\x20\x20if(colorImage.rgb\x20==\x20vec3(1.0)\x20||\x20colorImage.rgb\x20==\x20vec3(0.0))\x20{\x0a\x20\x20\x20\x20discard;\x0a\x20\x20}\x0a\x20\x20material.diffuse\x20=\x20colorImage.rgb;\x0a\x20\x20material.alpha\x20=\x20colorImage.a;\x0a\x20\x20return\x20material;\x0a}\x0a';function _0x9956(){var _0x811d30=['RenderState','rgb(255,255,255)','heatmap-canvas','shadowCtx','createElement','apply','lat','_config','3842110cKQedw','_maxOpacity','cStore','_graphic','position:absolute;left:0;top:0;','rgb(0,255,0)','image','push','removeLayer','radius','_scale','h337','getContext','style','positions','_last_mBounds','blue','renderpartial','graphic','removeGraphic','length','defaultRenderer','_rectangle','create','floor','lonlat2mercator','value','_width','configure','_heat','defaultBlur','RectanglePrimitive','_data','replace','diffHeight','gradientArc','valueField','\x27\x20not\x20found.\x20Maybe\x20it\x20was\x20not\x20registered.','emit','KEEP','xmax','shadowCanvas','parse','merge','exports','clearRect','_max','uniforms','getDataURL','PointTrans','REPLACE','_container','isFormat','_drawAlpha','HeatLayer','ctx','useGradientOpacity','getOwnPropertyDescriptor','prototype','420098VXYedH','addGraphic','_valueField','height','_getHeatCanvas','_map','_min','addLayer','toDataURL','VERTEX_FORMAT','beginPath','_store','21447RCBlMy','_renderer','6CIDXLm','rgb(0,0,0)','options','978324asJeST','data','setOptions','min','1928WmziHS','__esModule','remove','_blur','rectangle','renderAll','_height','renderall','maxCanvasSize','_coordinator','renderer','width','DomUtil','keys','addColorStop','6025560eOLDgZ','_renderBoundaries','setCoordinator','_updatePositionsHook','EPSG:3857','round','image/png','minCanvasSize','opacity','_addedHook','15235rLtjJV','xField','_radi','14krQmXG','arcBlurScale','blur','px;height:','clear','1219128GChRQO','arcDirection','PolyUtil','_layer','xmin','lng','gradient','heatStyle','cssText','fillStyle','_graphic2','_createArcGraphic','getData','isArray','green','ymin','createLinearGradient','Cesium','defaultGradient','canvas','getRectangle','show','get','width:','container','ymax','_getInternalData','getImageData','backgroundColor','_onExtremaChange','max','layer','div'];_0x9956=function(){return _0x811d30;};return _0x9956();}if(!heatmap$1['exports']['create'])throw new Error('请引入\x20heatmap.js\x20库\x20');const Cesium=mars3d__namespace[_0x3eb2ff(0x1ed)],BaseLayer=mars3d__namespace['layer']['BaseLayer'],DEF_HEATSTYLE={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:_0x3eb2ff(0x215),0.6:_0x3eb2ff(0x1ea),0.8:'yellow',0.9:'red'}},DEF_STYLE={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':Cesium['EllipsoidSurfaceAppearance'][_0x3eb2ff(0x249)]};class HeatLayer extends BaseLayer{constructor(_0x8a2d95={}){var _0x2dd648={_0x101f4d:0x25d,_0x40f6ec:0x1d1,_0x50b004:0x1fa,_0x6bf3d0:0x250},_0x5009b5=_0x3eb2ff;super(_0x8a2d95),this[_0x5009b5(0x250)][_0x5009b5(_0x2dd648._0x101f4d)]=this['options']['maxCanvasSize']??document['body']['clientWidth'],this['options']['maxCanvasSize']=Math['min'](this['options']['maxCanvasSize'],0x1388),this['options'][_0x5009b5(_0x2dd648._0x40f6ec)]=this['options']['minCanvasSize']??document['body']['clientHeight'],this['options'][_0x5009b5(0x1d1)]=Math[_0x5009b5(_0x2dd648._0x50b004)](this['options']['minCanvasSize'],0x2bc),this[_0x5009b5(0x250)][_0x5009b5(0x1e3)]={...DEF_HEATSTYLE,...this['options']['heatStyle']},this['options']['style']={...DEF_STYLE,...this[_0x5009b5(_0x2dd648._0x6bf3d0)]['style']};}get[_0x3eb2ff(0x1fb)](){return this['_layer'];}get[_0x3eb2ff(0x1e3)](){return this['options']['heatStyle'];}set['heatStyle'](_0x91f303){var _0x1deb25={_0x361bdf:0x1e3,_0xca2e91:0x230,_0x5299a6:0x221,_0x2db1b4:0x1e3,_0x52ab18:0x267},_0x584036=_0x3eb2ff;this[_0x584036(0x250)][_0x584036(_0x1deb25._0x361bdf)]=mars3d__namespace['Util'][_0x584036(_0x1deb25._0xca2e91)](this['options']['heatStyle'],_0x91f303),this['_heat']&&(this['_heat'][_0x584036(_0x1deb25._0x5299a6)](this[_0x584036(0x250)][_0x584036(_0x1deb25._0x2db1b4)]),this[_0x584036(_0x1deb25._0x52ab18)](!![]));}get['style'](){var _0x21dc67=_0x3eb2ff;return this['options'][_0x21dc67(0x212)];}set['style'](_0x1d098d){var _0x1b7716=_0x3eb2ff;this['options'][_0x1b7716(0x212)]=mars3d__namespace['Util']['merge'](this['options']['style'],_0x1d098d);}get[_0x3eb2ff(0x213)](){return this['_positions'];}set['positions'](_0x400c81){this['setPositions'](_0x400c81);}get['coordinates'](){const _0x49c664=[];return this['points']['forEach'](_0x457781=>{_0x49c664['push'](_0x457781['toArray']());}),_0x49c664;}get[_0x3eb2ff(0x259)](){var _0x22fcfa={_0x415ba0:0x21b},_0x339594=_0x3eb2ff;return this[_0x339594(_0x22fcfa._0x415ba0)];}['_setOptionsHook'](_0x2e5b98,_0x12443d){var _0x1abab5={_0x72142f:0x213},_0x5679d6=_0x3eb2ff;_0x2e5b98[_0x5679d6(0x213)]&&(this['positions']=_0x2e5b98[_0x5679d6(_0x1abab5._0x72142f)]);}['_mountedHook'](){var _0x1c8b46={_0x5397df:0x212,_0xf3ed7d:0x268},_0x597203=_0x3eb2ff;this[_0x597203(_0x1c8b46._0x5397df)]['type']===_0x597203(0x20b)?this['_layer']=new mars3d__namespace[(_0x597203(0x1fb))]['ImageLayer']({'crs':_0x597203(_0x1c8b46._0xf3ed7d),'private':!![]}):this['_layer']=new mars3d__namespace['layer']['GraphicLayer']({'private':!![]});}[_0x3eb2ff(0x1d3)](){var _0x2be1e6={_0x111d5c:0x247,_0x1628d8:0x261,_0x230ff6:0x1fc},_0x1dd961=_0x3eb2ff;this[_0x1dd961(0x245)][_0x1dd961(_0x2be1e6._0x111d5c)](this[_0x1dd961(0x1df)]),this['_container']=mars3d__namespace[_0x1dd961(_0x2be1e6._0x1628d8)]['create'](_0x1dd961(_0x2be1e6._0x230ff6),'mars3d-heatmap\x20mars3d-hideDiv',this['_map']['container']),this['options']['positions']&&(this['positions']=this['options'][_0x1dd961(0x213)]),this['options']['flyTo']&&this['flyToByAnimationEnd']();}['_removedHook'](){var _0x5032aa={_0x5c6083:0x261,_0x2aec29:0x257,_0x1a6fdd:0x1db,_0x154ffe:0x20d,_0x328a1a:0x1df},_0x5d00be=_0x3eb2ff;this[_0x5d00be(0x238)]&&(mars3d__namespace[_0x5d00be(_0x5032aa._0x5c6083)][_0x5d00be(_0x5032aa._0x2aec29)](this['_container']),delete this['_container']),this[_0x5d00be(_0x5032aa._0x1a6fdd)](),this[_0x5d00be(0x245)][_0x5d00be(_0x5032aa._0x154ffe)](this[_0x5d00be(_0x5032aa._0x328a1a)]);}['addPosition'](_0x12d3c4,_0xc34c2d){var _0x43533c=_0x3eb2ff;this['_positions']=this['_positions']||[],this['_positions'][_0x43533c(0x20c)](_0x12d3c4),this['_updatePositionsHook'](_0xc34c2d);}['setPositions'](_0x285f0b,_0x195831){this['_positions']=_0x285f0b,this['_updatePositionsHook'](_0x195831);}['clear'](){var _0x2649e9={_0x1d3625:0x218,_0x349b7f:0x208,_0x5a2156:0x1df},_0x1c3ad8=_0x3eb2ff;this[_0x1c3ad8(0x208)]&&(this['_layer'][_0x1c3ad8(_0x2649e9._0x1d3625)](this[_0x1c3ad8(_0x2649e9._0x349b7f)],!![]),delete this['_graphic']),this['_graphic2']&&(this[_0x1c3ad8(_0x2649e9._0x5a2156)]['removeGraphic'](this['_graphic2'],!![]),delete this['_graphic2']);}['_updatePositionsHook'](_0x20f19c){var _0x2d627a={_0x18eb34:0x1f1,_0x35bd8e:0x20b,_0x2dc29a:0x253,_0x11343f:0x1d0,_0x47e326:0x1e7},_0x2b27b9=_0x3eb2ff;if(!this[_0x2b27b9(_0x2d627a._0x18eb34)]||!this['_map']||!this['positions']||this['positions']['length']===0x0)return this;const _0x385fa4=this[_0x2b27b9(0x244)]();if(this['style']['type']===_0x2b27b9(_0x2d627a._0x35bd8e))this[_0x2b27b9(0x1df)][_0x2b27b9(_0x2d627a._0x2dc29a)]({'url':_0x385fa4[_0x2b27b9(0x248)](_0x2b27b9(_0x2d627a._0x11343f),0x1),'rectangle':this['_rectangle'],'opacity':this['style'][_0x2b27b9(0x1d2)]});else this[_0x2b27b9(0x212)]['arc']?this['_graphic']&&_0x20f19c?(this['_graphic']['uniforms']['image']=_0x385fa4,this['_graphic']['uniforms']['bumpMap']=this['_getArcHeatCanvas'](),this['_graphic2']&&(this['_graphic2']['uniforms']['image']=_0x385fa4,this[_0x2b27b9(0x1e6)][_0x2b27b9(0x234)]['bumpMap']=this['_graphic'][_0x2b27b9(0x234)]['bumpMap'])):this[_0x2b27b9(_0x2d627a._0x47e326)](_0x385fa4):this['_graphic']&&_0x20f19c?this['_graphic']['uniforms']['image']=_0x385fa4:this['_createGraphic'](_0x385fa4);return this;}['_createGraphic'](_0x2238d5){var _0x369569={_0x43be1e:0x250,_0x324666:0x241},_0x39b56=_0x3eb2ff;this['clear'](),this[_0x39b56(0x208)]=new mars3d__namespace['graphic'][(_0x39b56(0x224))]({...this[_0x39b56(_0x369569._0x43be1e)],'rectangle':this[_0x39b56(0x21b)],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'material':new Cesium['Material']({'fabric':{'uniforms':{'image':_0x2238d5},'source':HeatMaterial},'translucent':!![]}),'flat':!![]})}),this[_0x39b56(0x1df)][_0x39b56(_0x369569._0x324666)](this['_graphic']);}['_createArcGraphic'](_0x203d8f){var _0x1225bf={_0x40ade8:0x1db,_0x4692e2:0x1fd,_0x1e6a9c:0x22c,_0x400906:0x21d,_0x335577:0x227,_0x5b46d7:0x212,_0x1f39e9:0x212,_0x51e362:0x21b,_0x57e6bf:0x243,_0x18726b:0x241,_0x566323:0x250,_0x2a2f89:0x1df},_0x509315=_0x3eb2ff;this[_0x509315(_0x1225bf._0x40ade8)]();const _0x8ecf02=Cesium[_0x509315(_0x1225bf._0x4692e2)]['fromCache']({'cull':{'enabled':!![]},'depthTest':{'enabled':!![]},'stencilTest':{'enabled':!![],'frontFunction':Cesium['StencilFunction']['ALWAYS'],'frontOperation':{'fail':Cesium['StencilOperation'][_0x509315(_0x1225bf._0x1e6a9c)],'zFail':Cesium['StencilOperation']['KEEP'],'zPass':Cesium['StencilOperation'][_0x509315(0x237)]},'backFunction':Cesium['StencilFunction']['ALWAYS'],'backOperation':{'fail':Cesium['StencilOperation'][_0x509315(0x22c)],'zFail':Cesium['StencilOperation'][_0x509315(0x22c)],'zPass':Cesium['StencilOperation']['REPLACE']},'reference':0x2,'mask':0x2},'blending':Cesium['BlendingState']['ALPHA_BLEND']}),_0x531133=Math[_0x509315(_0x1225bf._0x400906)](this[_0x509315(0x212)][_0x509315(_0x1225bf._0x335577)]??this['_mBoundsMax']*0.02)+0.1;this[_0x509315(_0x1225bf._0x5b46d7)]['diffHeight']&&delete this[_0x509315(_0x1225bf._0x1f39e9)]['diffHeight'];const _0xd95633=(this['style']['splitNum'],0x64);let _0x2a0662=Math['max'](this[_0x509315(_0x1225bf._0x51e362)][_0x509315(_0x1225bf._0x57e6bf)],this['_rectangle']['width']);this[_0x509315(0x212)]['granularity']=_0x2a0662/=_0xd95633;const _0x5eba14=new Cesium['Material']({'fabric':{'uniforms':{'image':_0x203d8f,'repeat':new Cesium['Cartesian2'](0x1,0x1),'color':new Cesium['Color'](0x1,0x1,0x1,0x0),'bumpMap':this['_getArcHeatCanvas']()},'source':HeatMaterial},'translucent':!![]}),_0x1ea04f=this['style'][_0x509315(0x1dd)]||0x1;this['_graphic']=new mars3d__namespace['graphic']['RectanglePrimitive']({...this['options'],'rectangle':this['_rectangle'],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'flat':!![],'aboveGround':!![],'renderState':_0x8ecf02,'material':_0x5eba14,'vertexShaderSource':getVertexShaderSource(_0x531133*_0x1ea04f)})}),this['_layer'][_0x509315(_0x1225bf._0x18726b)](this['_graphic']),this[_0x509315(0x212)]['arcDirection']===0x0&&(this['_graphic2']=new mars3d__namespace[(_0x509315(0x217))]['RectanglePrimitive']({...this[_0x509315(_0x1225bf._0x566323)],'rectangle':this['_rectangle'],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'flat':!![],'aboveGround':!![],'renderState':_0x8ecf02,'material':_0x5eba14,'vertexShaderSource':getVertexShaderSource(-_0x531133)})}),this[_0x509315(_0x1225bf._0x2a2f89)][_0x509315(0x241)](this['_graphic2']));}[_0x3eb2ff(0x1f0)](_0x51ac65){var _0x3346f6={_0x2bc128:0x1de},_0x31ef99=_0x3eb2ff;return _0x51ac65!==null&&_0x51ac65!==void 0x0&&_0x51ac65[_0x31ef99(0x239)]&&this['_rectangle']?mars3d__namespace[_0x31ef99(_0x3346f6._0x2bc128)]['formatRectangle'](this['_rectangle']):this['_rectangle'];}[_0x3eb2ff(0x244)](){var _0x2ef897={_0x52e58d:0x1e0,_0x198b04:0x21f,_0x201f95:0x1e0,_0xe61dab:0x22d,_0x340a7d:0x214,_0x1d0819:0x214,_0x2fbed4:0x1f3,_0x16a215:0x222,_0x3e8011:0x1ef},_0xdd2b12={_0x32f334:0x21e,_0x4b0c4f:0x203,_0x1802a7:0x1e0},_0x7f70f8={_0x18e3ee:0x22f,_0x538894:0x1e1,_0x110bcc:0x1e1,_0x292c12:0x20c},_0xe725dc=_0x3eb2ff;const _0x5f14fa=this['_positions'],_0x4b1bf3=[];let _0x122593,_0x481afb,_0x4235e6,_0x323767;_0x5f14fa['forEach'](_0x469b48=>{var _0x24022d=_0x2fe8;const _0x43f1f0=mars3d__namespace['LngLatPoint'][_0x24022d(_0x7f70f8._0x18e3ee)](_0x469b48);if(!_0x43f1f0)return;_0x43f1f0['value']=_0x469b48['value']||0x1,!this[_0x24022d(0x250)]['rectangle']&&(_0x122593===undefined?(_0x122593=_0x43f1f0[_0x24022d(0x1e1)],_0x481afb=_0x43f1f0[_0x24022d(_0x7f70f8._0x538894)],_0x4235e6=_0x43f1f0[_0x24022d(0x203)],_0x323767=_0x43f1f0[_0x24022d(0x203)]):(_0x122593=Math['min'](_0x122593,_0x43f1f0[_0x24022d(_0x7f70f8._0x110bcc)]),_0x481afb=Math['max'](_0x481afb,_0x43f1f0[_0x24022d(0x1e1)]),_0x4235e6=Math['min'](_0x4235e6,_0x43f1f0['lat']),_0x323767=Math['max'](_0x323767,_0x43f1f0['lat']))),_0x4b1bf3[_0x24022d(_0x7f70f8._0x292c12)](_0x43f1f0);});_0x122593===_0x481afb&&(_0x122593-=0.000001,_0x481afb+=0.000001);_0x4235e6===_0x323767&&(_0x4235e6-=0.000001,_0x323767+=0.000001);let _0xd72220=this['options']['rectangle']||{'xmin':_0x122593,'xmax':_0x481afb,'ymin':_0x4235e6,'ymax':_0x323767};const _0x1b6c09=getMercatorBounds(_0xd72220),_0x40966d=Math['abs'](_0x1b6c09['xmax']-_0x1b6c09[_0xe725dc(0x1e0)]),_0x5aa1ca=Math['abs'](_0x1b6c09['ymax']-_0x1b6c09[_0xe725dc(0x1eb)]),_0xfd264c=Math['max'](_0x40966d,_0x5aa1ca),_0x18af41=Math[_0xe725dc(0x254)](_0x40966d,_0x5aa1ca);this['_mBoundsMax']=_0xfd264c;let _0x3b6b28=0x1;if(_0xfd264c>this['options']['maxCanvasSize'])_0x3b6b28=_0xfd264c/this['options']['maxCanvasSize'],_0x18af41/_0x3b6b28<this[_0xe725dc(0x250)]['minCanvasSize']&&(_0x3b6b28=_0x18af41/this['options']['minCanvasSize']);else _0x18af41<this[_0xe725dc(0x250)]['minCanvasSize']&&(_0x3b6b28=_0x18af41/this['options']['minCanvasSize'],_0xfd264c/_0x3b6b28>this['options']['maxCanvasSize']&&(_0x3b6b28=_0xfd264c/this[_0xe725dc(0x250)]['maxCanvasSize']));const _0x214433=this['heatStyle'][_0xe725dc(0x20e)]*1.5,_0x18a8ea=_0x40966d/_0x3b6b28+_0x214433*0x2,_0x24803a=_0x5aa1ca/_0x3b6b28+_0x214433*0x2,_0x1732b8=_0x214433*_0x3b6b28;_0x1b6c09[_0xe725dc(_0x2ef897._0x52e58d)]-=_0x1732b8,_0x1b6c09['ymin']-=_0x1732b8,_0x1b6c09['xmax']+=_0x1732b8,_0x1b6c09[_0xe725dc(0x1f5)]+=_0x1732b8,this['_scale']=_0x3b6b28,_0xd72220=geLatLngBounds(_0x1b6c09),this['_rectangle']=Cesium['Rectangle']['fromDegrees'](_0xd72220[_0xe725dc(_0x2ef897._0x52e58d)],_0xd72220['ymin'],_0xd72220['xmax'],_0xd72220['ymax']);let _0x5613fa=_0x4b1bf3[0x0][_0xe725dc(_0x2ef897._0x198b04)]??0x1,_0x20ab96=_0x4b1bf3[0x0]['value']??0x0;const _0x44a425=[];_0x4b1bf3['forEach'](_0x17a559=>{var _0x26e8cb=_0xe725dc;const _0x2d1055=mars3d__namespace['PointTrans'][_0x26e8cb(_0xdd2b12._0x32f334)]([_0x17a559['lng'],_0x17a559[_0x26e8cb(_0xdd2b12._0x4b0c4f)]]),_0x4b756f=_0x17a559['value']||0x1,_0x4e01df=Math[_0x26e8cb(0x1cf)]((_0x2d1055[0x0]-_0x1b6c09[_0x26e8cb(_0xdd2b12._0x1802a7)])/_0x3b6b28),_0x33f70c=Math['round']((_0x1b6c09['ymax']-_0x2d1055[0x1])/_0x3b6b28);_0x5613fa=Math['max'](_0x5613fa,_0x4b756f),_0x20ab96=Math['min'](_0x20ab96,_0x4b756f),_0x44a425['push']({'x':_0x4e01df,'y':_0x33f70c,'value':_0x4b756f});});const _0x3af336={'min':this['options']['min']??_0x20ab96,'max':this['options']['max']??_0x5613fa,'data':_0x44a425};this['_last_heatData']=_0x3af336;if(!this['_last_mBounds']||_0x1b6c09[_0xe725dc(_0x2ef897._0x201f95)]!==this['_last_mBounds']['xmin']||_0x1b6c09['ymin']!==this['_last_mBounds']['ymin']||_0x1b6c09[_0xe725dc(_0x2ef897._0xe61dab)]!==this[_0xe725dc(_0x2ef897._0x340a7d)]['xmax']||_0x1b6c09['ymax']!==this[_0xe725dc(_0x2ef897._0x1d0819)]['ymax']){this['_last_mBounds']=_0x1b6c09,this[_0xe725dc(0x238)]['style']['cssText']=_0xe725dc(_0x2ef897._0x2fbed4)+_0x18a8ea+_0xe725dc(0x1da)+_0x24803a+'px;';const _0x268b91={...this['heatStyle'],'container':this['_container']};!this['_heat']?this['_heat']=heatmap$1['exports']['create'](_0x268b91):this[_0xe725dc(_0x2ef897._0x16a215)]['configure'](_0x268b91);}this['_heat']['setData'](_0x3af336);const _0x2d0324=mars3d__namespace['DomUtil']['copyCanvas'](this['_heat']['_renderer'][_0xe725dc(_0x2ef897._0x3e8011)]);return _0x2d0324;}['_getArcHeatCanvas'](){var _0xaba88b={_0x31a524:0x1e3,_0xbe6e7:0x1d8,_0x304a86:0x1ef,_0x2ec934:0x222},_0x4b2e01=_0x3eb2ff;this[_0x4b2e01(0x222)]['configure']({'radius':this[_0x4b2e01(_0xaba88b._0x31a524)]['radius']*this['style']['arcRadiusScale'],'blur':this['heatStyle']['blur']*this[_0x4b2e01(0x212)][_0x4b2e01(_0xaba88b._0xbe6e7)],'gradient':this[_0x4b2e01(_0xaba88b._0x31a524)][_0x4b2e01(0x228)]||{0.25:_0x4b2e01(0x24f),0.55:'rgb(140,140,140)',0.85:'rgb(216,216,216)',0x1:_0x4b2e01(0x1fe)}});const _0x19d8ea=mars3d__namespace[_0x4b2e01(0x261)]['copyCanvas'](this['_heat']['_renderer'][_0x4b2e01(_0xaba88b._0x304a86)]);return this[_0x4b2e01(_0xaba88b._0x2ec934)]['configure'](this['options']['heatStyle']),_0x19d8ea;}['getPointData'](_0x4555a8){var _0x2dc69c={_0x42a3b2:0x21e,_0x2fcd2b:0x1e0},_0x24caa2=_0x3eb2ff;const _0x3948ce=mars3d__namespace['LngLatPoint']['parse'](_0x4555a8);if(!_0x3948ce)return{};const _0x2953f2=mars3d__namespace['PointTrans'][_0x24caa2(_0x2dc69c._0x42a3b2)]([_0x3948ce[_0x24caa2(0x1e1)],_0x3948ce['lat']]),_0x3e0cec=this['_last_mBounds'],_0x4a487c=Math[_0x24caa2(0x1cf)]((_0x2953f2[0x0]-_0x3e0cec[_0x24caa2(_0x2dc69c._0x2fcd2b)])/this[_0x24caa2(0x20f)]),_0xa5bcfe=Math[_0x24caa2(0x1cf)]((_0x3e0cec['ymax']-_0x2953f2[0x1])/this['_scale']),_0x367ac6=this['_heat']['getValueAt']({'x':_0x4a487c,'y':_0xa5bcfe}),_0x5011c7=this['_heat']['_renderer']['ctx']['getImageData'](_0x4a487c-0x1,_0xa5bcfe-0x1,0x1,0x1)['data'];return{'x':_0x4a487c,'y':_0xa5bcfe,'value':_0x367ac6,'color':'rgba('+_0x5011c7[0x0]+','+_0x5011c7[0x1]+','+_0x5011c7[0x2]+','+_0x5011c7[0x3]+')'};}}mars3d__namespace['LayerUtil']['register']('heat',HeatLayer),mars3d__namespace['layer'][_0x3eb2ff(0x23b)]=HeatLayer,mars3d__namespace['h337']=h337;function getMercatorBounds(_0x1c6ce0){var _0x26506a=_0x3eb2ff;const _0x4da95a=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x1c6ce0['xmin'],_0x1c6ce0[_0x26506a(0x1eb)]]),_0x4d06c0=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x1c6ce0['xmax'],_0x1c6ce0['ymax']]);return{'xmin':_0x4da95a[0x0],'ymin':_0x4da95a[0x1],'xmax':_0x4d06c0[0x0],'ymax':_0x4d06c0[0x1]};}function geLatLngBounds(_0x2f952e){var _0x352078={_0x37dc02:0x236,_0x4204c8:0x22d},_0x4beddf=_0x3eb2ff;const _0x366d75=mars3d__namespace['PointTrans']['mercator2lonlat']([_0x2f952e['xmin'],_0x2f952e[_0x4beddf(0x1eb)]]),_0x55c157=mars3d__namespace[_0x4beddf(_0x352078._0x37dc02)]['mercator2lonlat']([_0x2f952e[_0x4beddf(_0x352078._0x4204c8)],_0x2f952e['ymax']]);return{'xmin':_0x366d75[0x0],'ymin':_0x366d75[0x1],'xmax':_0x55c157[0x0],'ymax':_0x55c157[0x1]};}function _0x2fe8(_0x3f2c4a,_0x20dc0e){var _0x99568f=_0x9956();return _0x2fe8=function(_0x2fe8f8,_0x390ed9){_0x2fe8f8=_0x2fe8f8-0x1cf;var _0x29c820=_0x99568f[_0x2fe8f8];return _0x29c820;},_0x2fe8(_0x3f2c4a,_0x20dc0e);}function getVertexShaderSource(_0x2365da){return'in\x20vec3\x20position3DHigh;\x0a\x20\x20in\x20vec3\x20position3DLow;\x0a\x20\x20in\x20vec2\x20st;\x0a\x20\x20in\x20float\x20batchId;\x0a\x20\x20uniform\x20sampler2D\x20bumpMap_3;\x0a\x20\x20out\x20vec3\x20v_positionMC;\x0a\x20\x20out\x20vec3\x20v_positionEC;\x0a\x20\x20out\x20vec2\x20v_st;\x0a\x0a\x20\x20void\x20main()\x0a\x20\x20{\x0a\x20\x20\x20\x20vec4\x20p\x20=\x20czm_computePosition();\x0a\x20\x20\x20\x20v_positionMC\x20=\x20position3DHigh\x20+\x20position3DLow;\x0a\x20\x20\x20\x20v_positionEC\x20=\x20(czm_modelViewRelativeToEye\x20*\x20p).xyz;\x0a\x20\x20\x20\x20v_st\x20=\x20st;\x0a\x20\x20\x20\x20vec4\x20color\x20=\x20texture(bumpMap_3,\x20v_st);\x0a\x20\x20\x20\x20float\x20centerBump\x20=\x20distance(vec3(0.0),color.rgb);\x0a\x20\x20\x20\x20vec3\x20upDir\x20=\x20normalize(v_positionMC.xyz);\x0a\x20\x20\x20\x20vec3\x20disPos\x20=\x20upDir\x20*\x20centerBump\x20*\x20'+_0x2365da+';\x0a\x20\x20\x20\x20p\x20+=vec4(disPos,0.0);\x0a\x20\x20\x20\x20gl_Position\x20=\x20czm_modelViewProjectionRelativeToEye\x20*\x20p;\x0a\x20\x20}\x0a';}exports[_0x3eb2ff(0x23b)]=HeatLayer,Object['defineProperty'](exports,_0x3eb2ff(0x256),{'value':!![]}); | ||
'use strict';var _0x4f42ab=_0x2bd6;(function(_0x11e7f2,_0x315b15){var _0x317206={_0x3bf8d6:0xd4,_0x133898:0xf8,_0x166447:0x139,_0x50500e:0x116},_0x5e4dca=_0x2bd6,_0x3f797c=_0x11e7f2();while(!![]){try{var _0x509c42=parseInt(_0x5e4dca(0x13a))/0x1*(-parseInt(_0x5e4dca(0x117))/0x2)+-parseInt(_0x5e4dca(0x13b))/0x3+-parseInt(_0x5e4dca(_0x317206._0x3bf8d6))/0x4*(-parseInt(_0x5e4dca(0x14f))/0x5)+parseInt(_0x5e4dca(_0x317206._0x133898))/0x6*(parseInt(_0x5e4dca(0xe4))/0x7)+-parseInt(_0x5e4dca(_0x317206._0x166447))/0x8+parseInt(_0x5e4dca(0x110))/0x9+parseInt(_0x5e4dca(_0x317206._0x50500e))/0xa;if(_0x509c42===_0x315b15)break;else _0x3f797c['push'](_0x3f797c['shift']());}catch(_0x36a527){_0x3f797c['push'](_0x3f797c['shift']());}}}(_0x2f38,0x22977));function _0x2f38(){var _0x96855c=['165443gKPtag','791997zrQgjq','defaultGradient','radi','_config','options','_maxOpacity','GraphicLayer','_getInternalData','ymin','style','rgb(255,255,255)','className','fillStyle','copyCanvas','_drawAlpha','_organiseData','height','defaultBlur','clear','getContext','5dxaiJa','putImageData','arcDirection','forEach','_palette','renderall','points','rgb(140,140,140)','maxCanvasSize','_rectangle','getOwnPropertyDescriptor','width','__esModule','_width','length','DomUtil','cssText','_store','_min','_valueField','defineProperty','_renderBoundaries','_container','addLayer','lng','gradient','_clear','_addedHook','RenderState','addColorStop','_renderer','xField','_last_mBounds','configure','942148vBptCZ','BlendingState','fill','_data','_blur','getValueAt','HeatLayer','ctx','canvas','undefined','_coordinator','xmin','_updatePositionsHook','create','createLinearGradient','_map','35567vEsmJw','cStore','_templates','isFormat','setDataMax','graphic','yellow','_layer','_getArcHeatCanvas','setDataMin','fromDegrees','defaultValueField','_height','min','rectangle','globalAlpha','_positions','rgba(0,0,0,0)','KEEP','_graphic2','138iLwxZr','arcBlurScale','uniforms','clientWidth','setPositions','minCanvasSize','_mBoundsMax','_colorize','请引入\x20heatmap.js\x20库\x20','mars3d-heatmap\x20mars3d-hideDiv','ymax','xmax','parse','_cfgRadius','_max','shadowCanvas','StencilFunction','_setStyles','value','ImageLayer','remove','setData','emit','apply','225927UOhvQO','Plugin\x20\x27','_graphic','backgroundColor','lat','push','2347380VIEjbi','2tjabyI','getImageData','plugin','keys','_xField','merge','_opacity','_scale','register','max','data','clearRect','_unOrganizeData','bumpMap','type','rgb(0,255,0)','plugins','heatStyle','flyToByAnimationEnd','shadowCtx','exports','round','_heat','prototype','RectanglePrimitive','removeGraphic','Util','splitNum','clientHeight','blur','radius','renderer','positions','createMaterial','328896QBWZVf'];_0x2f38=function(){return _0x96855c;};return _0x2f38();}function _interopNamespace(_0x3d2201){var _0xbf608b={_0xf3e500:0x163},_0x3a5fe3=_0x2bd6;if(_0x3d2201&&_0x3d2201[_0x3a5fe3(0x15b)])return _0x3d2201;var _0x94c1ea=Object['create'](null);return _0x3d2201&&Object['keys'](_0x3d2201)['forEach'](function(_0x47c177){var _0xf02d05=_0x3a5fe3;if(_0x47c177!=='default'){var _0x2317d6=Object['getOwnPropertyDescriptor'](_0x3d2201,_0x47c177);Object[_0xf02d05(_0xbf608b._0xf3e500)](_0x94c1ea,_0x47c177,_0x2317d6['get']?_0x2317d6:{'enumerable':!![],'get':function(){return _0x3d2201[_0x47c177];}});}}),_0x94c1ea['default']=_0x3d2201,_0x94c1ea;}function _mergeNamespaces(_0x4830cc,_0x4d91eb){var _0x6d6474={_0x47e89b:0x159};return _0x4d91eb['forEach'](function(_0x3ea70f){var _0x59d149=_0x2bd6;_0x3ea70f&&typeof _0x3ea70f!=='string'&&!Array['isArray'](_0x3ea70f)&&Object[_0x59d149(0x11a)](_0x3ea70f)[_0x59d149(0x152)](function(_0x5e7a94){var _0x2e3a55=_0x59d149;if(_0x5e7a94!=='default'&&!(_0x5e7a94 in _0x4830cc)){var _0xad3f22=Object[_0x2e3a55(_0x6d6474._0x47e89b)](_0x3ea70f,_0x5e7a94);Object['defineProperty'](_0x4830cc,_0x5e7a94,_0xad3f22['get']?_0xad3f22:{'enumerable':!![],'get':function(){return _0x3ea70f[_0x5e7a94];}});}});}),_0x4830cc;}var mars3d__namespace=_interopNamespace(mars3d),commonjsGlobal=typeof globalThis!=='undefined'?globalThis:typeof window!==_0x4f42ab(0xdd)?window:typeof global!==_0x4f42ab(0xdd)?global:typeof self!=='undefined'?self:{},heatmap$1={'exports':{}};(function(_0x195a70){var _0x2c5c38={_0x102e7a:0xea},_0xbb41c0={_0x160af8:0x12e},_0x56e562={_0xe0842e:0x12e};(function(_0x232368,_0x3ef2f0,_0x2f9170){var _0x36da5c=_0x2bd6;_0x195a70['exports']?_0x195a70[_0x36da5c(0x12b)]=_0x2f9170():_0x3ef2f0[_0x232368]=_0x2f9170();}('h337',commonjsGlobal,function(){var _0x3ce41a={_0x1581e5:0xd0},_0x31c761={_0x240938:0xde},_0x512d28={_0x4d6344:0x12a},_0x205c71={_0x12d30a:0xcc,_0x6c1638:0xff},_0x4ff6b4={_0x507302:0x13d,_0x3dea21:0x11a,_0x4576fb:0x15d},_0x30df8d={_0x6a0cb4:0x14b},_0xe4a705={_0x240c48:0x15a,_0x3383fb:0xe2,_0x4d85c5:0xcf,_0xaabc61:0x147},_0x2115ac={_0x4804a3:0x123},_0x77773={_0x140009:0x10e,_0x306d7e:0x161},_0x5a1461={_0x1aa65f:0xd7},_0x3a6e01=_0x2bd6,_0x174b23={'defaultRadius':0x28,'defaultRenderer':'canvas2d','defaultGradient':{0.25:'rgb(0,0,255)',0.55:_0x3a6e01(0x126),0.85:_0x3a6e01(_0x2c5c38._0x102e7a),0x1:'rgb(255,0,0)'},'defaultMaxOpacity':0x1,'defaultMinOpacity':0x0,'defaultBlur':0.85,'defaultXField':'x','defaultYField':'y','defaultValueField':'value','plugins':{}},_0x59210b=function _0x540884(){var _0x3954e1={_0x5ca0e2:0xd7,_0x4e747a:0x106},_0x57e32a={_0x18272b:0xde},_0x48e805={_0x58cb3c:0x11b,_0x520624:0x162,_0x254938:0xed},_0x42a9ec={_0x4f6ed0:0x106,_0xe4f1fb:0xd1,_0x259c8d:0xef},_0x59dc4f=_0x3a6e01,_0x4861a0=function _0x10c432(_0x1e7b92){var _0x39cfa4=_0x2bd6;this[_0x39cfa4(0xde)]={},this[_0x39cfa4(0xd7)]=[],this['_radi']=[],this['_min']=0xa,this[_0x39cfa4(_0x42a9ec._0x4f6ed0)]=0x1,this['_xField']=_0x1e7b92[_0x39cfa4(_0x42a9ec._0xe4f1fb)]||_0x1e7b92['defaultXField'],this['_yField']=_0x1e7b92['yField']||_0x1e7b92['defaultYField'],this['_valueField']=_0x1e7b92['valueField']||_0x1e7b92[_0x39cfa4(_0x42a9ec._0x259c8d)],_0x1e7b92['radius']&&(this['_cfgRadius']=_0x1e7b92['radius']);},_0x563995=_0x174b23['defaultRadius'];return _0x4861a0[_0x59dc4f(0x12e)]={'_organiseData':function(_0x1ffd55,_0x5d4812){var _0x307e88=_0x59dc4f,_0xb2a022=_0x1ffd55[this[_0x307e88(_0x48e805._0x58cb3c)]],_0x3be2da=_0x1ffd55[this['_yField']],_0x17bc36=this['_radi'],_0x5406ef=this[_0x307e88(0xd7)],_0x18d61a=this['_max'],_0x5db621=this['_min'],_0x452940=_0x1ffd55[this[_0x307e88(_0x48e805._0x520624)]]||0x1,_0x47878b=_0x1ffd55['radius']||this[_0x307e88(0x105)]||_0x563995;!_0x5406ef[_0xb2a022]&&(_0x5406ef[_0xb2a022]=[],_0x17bc36[_0xb2a022]=[]);!_0x5406ef[_0xb2a022][_0x3be2da]?(_0x5406ef[_0xb2a022][_0x3be2da]=_0x452940,_0x17bc36[_0xb2a022][_0x3be2da]=_0x47878b):_0x5406ef[_0xb2a022][_0x3be2da]+=_0x452940;var _0x466310=_0x5406ef[_0xb2a022][_0x3be2da];if(_0x466310>_0x18d61a)return!_0x5d4812?this['_max']=_0x466310:this['setDataMax'](_0x466310),![];else return _0x466310<_0x5db621?(!_0x5d4812?this['_min']=_0x466310:this[_0x307e88(_0x48e805._0x254938)](_0x466310),![]):{'x':_0xb2a022,'y':_0x3be2da,'value':_0x452940,'radius':_0x47878b,'min':_0x5db621,'max':_0x18d61a};},'_unOrganizeData':function(){var _0x45bb2a=_0x59dc4f,_0x5efbcf=[],_0xaaccd2=this[_0x45bb2a(_0x5a1461._0x1aa65f)],_0x1deb6a=this['_radi'];for(var _0x4f6731 in _0xaaccd2){for(var _0x32ea13 in _0xaaccd2[_0x4f6731]){_0x5efbcf[_0x45bb2a(0x115)]({'x':_0x4f6731,'y':_0x32ea13,'radius':_0x1deb6a[_0x4f6731][_0x32ea13],'value':_0xaaccd2[_0x4f6731][_0x32ea13]});}}return{'min':this['_min'],'max':this['_max'],'data':_0x5efbcf};},'_onExtremaChange':function(){var _0x1bb278=_0x59dc4f;this[_0x1bb278(_0x57e32a._0x18272b)]['emit']('extremachange',{'min':this[_0x1bb278(0x161)],'max':this['_max']});},'addData':function(){var _0x23c688=_0x59dc4f;if(arguments[0x0]['length']>0x0){var _0x421360=arguments[0x0],_0x5afb21=_0x421360['length'];while(_0x5afb21--){this['addData']['call'](this,_0x421360[_0x5afb21]);}}else{var _0x32a8ab=this[_0x23c688(0x14a)](arguments[0x0],!![]);_0x32a8ab&&(this['_data'][_0x23c688(0x15d)]===0x0&&(this['_min']=this['_max']=_0x32a8ab['value']),this[_0x23c688(0xde)][_0x23c688(_0x77773._0x140009)]('renderpartial',{'min':this[_0x23c688(_0x77773._0x306d7e)],'max':this['_max'],'data':[_0x32a8ab]}));}return this;},'setData':function(_0x4bf88c){var _0x1173f1=_0x59dc4f,_0x349803=_0x4bf88c['data'],_0x474cc7=_0x349803['length'];this[_0x1173f1(_0x3954e1._0x5ca0e2)]=[],this['_radi']=[];for(var _0x219866=0x0;_0x219866<_0x474cc7;_0x219866++){this['_organiseData'](_0x349803[_0x219866],![]);}return this[_0x1173f1(_0x3954e1._0x4e747a)]=_0x4bf88c[_0x1173f1(0x120)],this['_min']=_0x4bf88c['min']||0x0,this['_onExtremaChange'](),this['_coordinator'][_0x1173f1(0x10e)]('renderall',this['_getInternalData']()),this;},'removeData':function(){},'setDataMax':function(_0x3b1e07){var _0x230c56=_0x59dc4f;return this[_0x230c56(0x106)]=_0x3b1e07,this['_onExtremaChange'](),this['_coordinator']['emit']('renderall',this[_0x230c56(0x142)]()),this;},'setDataMin':function(_0x1654ea){var _0x5a7622=_0x59dc4f;return this['_min']=_0x1654ea,this['_onExtremaChange'](),this['_coordinator']['emit'](_0x5a7622(0x154),this['_getInternalData']()),this;},'setCoordinator':function(_0x1aa1a6){this['_coordinator']=_0x1aa1a6;},'_getInternalData':function(){return{'max':this['_max'],'min':this['_min'],'data':this['_data'],'radi':this['_radi']};},'getData':function(){var _0x3031e2=_0x59dc4f;return this[_0x3031e2(_0x2115ac._0x4804a3)]();}},_0x4861a0;}(),_0x167a0a=function _0x140110(){var _0x3a91dd={_0x232f27:0x161},_0xd70877={_0x19e465:0x121,_0x4a59e8:0x153,_0x3b422c:0xdb,_0x5e1714:0x150},_0x50c4cd={_0xf1c202:0xf1,_0x2b969e:0xf1,_0x2bc4a9:0xe6,_0x4152ce:0xe6,_0x4781f4:0x164,_0x4578ad:0x164,_0x1aa42d:0x164},_0x534c87={_0x7e60a:0x134,_0xf591ab:0x113,_0x570c5b:0x15c,_0x1f3080:0xdc,_0x56524e:0x107,_0x158c23:0xf0},_0x412850={_0x390c16:0x15a,_0x4faa59:0x107},_0x21f994={_0x470bff:0x107,_0x1a91d2:0xdc,_0x35c936:0x164,_0x30b548:0xf0,_0x215a80:0x14b,_0x5ebfab:0x14e,_0x1930fe:0x109},_0x1c4e52=_0x3a6e01,_0x2027fa=function(_0x38cfbd){var _0x59eed7=_0x2bd6,_0x59510c=_0x38cfbd[_0x59eed7(0xcb)]||_0x38cfbd[_0x59eed7(0x13c)],_0x2e152f=document['createElement']('canvas'),_0x22c984=_0x2e152f[_0x59eed7(0x14e)]('2d',{'willReadFrequently':!![]});_0x2e152f[_0x59eed7(_0xe4a705._0x240c48)]=0x100,_0x2e152f[_0x59eed7(0x14b)]=0x1;var _0x11d85a=_0x22c984[_0x59eed7(_0xe4a705._0x3383fb)](0x0,0x0,0x100,0x1);for(var _0x2f3215 in _0x59510c){_0x11d85a[_0x59eed7(_0xe4a705._0x4d85c5)](_0x2f3215,_0x59510c[_0x2f3215]);}return _0x22c984[_0x59eed7(_0xe4a705._0xaabc61)]=_0x11d85a,_0x22c984['fillRect'](0x0,0x0,0x100,0x1),_0x22c984['getImageData'](0x0,0x0,0x100,0x1)['data'];},_0x47a2ac=function(_0x29e4dc,_0x3e1a0e){var _0x5a0c0d=_0x2bd6,_0x4e985a=document['createElement']('canvas'),_0x267f0b=_0x4e985a['getContext']('2d',{'willReadFrequently':!![]}),_0x3568bc=_0x29e4dc,_0x35b0da=_0x29e4dc;_0x4e985a[_0x5a0c0d(0x15a)]=_0x4e985a[_0x5a0c0d(_0x30df8d._0x6a0cb4)]=_0x29e4dc*0x2;if(_0x3e1a0e==0x1)_0x267f0b['beginPath'](),_0x267f0b['arc'](_0x3568bc,_0x35b0da,_0x29e4dc,0x0,0x2*Math['PI'],![]),_0x267f0b['fillStyle']='rgba(0,0,0,1)',_0x267f0b[_0x5a0c0d(0xd6)]();else{var _0x251f23=_0x267f0b['createRadialGradient'](_0x3568bc,_0x35b0da,_0x29e4dc*_0x3e1a0e,_0x3568bc,_0x35b0da,_0x29e4dc);_0x251f23['addColorStop'](0x0,'rgba(0,0,0,1)'),_0x251f23['addColorStop'](0x1,_0x5a0c0d(0xf5)),_0x267f0b['fillStyle']=_0x251f23,_0x267f0b['fillRect'](0x0,0x0,0x2*_0x29e4dc,0x2*_0x29e4dc);}return _0x4e985a;},_0x22ce9c=function(_0x5c2ad1){var _0x2c0cb0=_0x2bd6,_0x262d07=[],_0x480822=_0x5c2ad1['min'],_0xd4bbc9=_0x5c2ad1['max'],_0x5a0052=_0x5c2ad1[_0x2c0cb0(_0x4ff6b4._0x507302)],_0x5c2ad1=_0x5c2ad1['data'],_0x584f60=Object[_0x2c0cb0(_0x4ff6b4._0x3dea21)](_0x5c2ad1),_0x3869e7=_0x584f60['length'];while(_0x3869e7--){var _0x2456e2=_0x584f60[_0x3869e7],_0x5d9b3f=Object[_0x2c0cb0(0x11a)](_0x5c2ad1[_0x2456e2]),_0x1bade4=_0x5d9b3f[_0x2c0cb0(_0x4ff6b4._0x4576fb)];while(_0x1bade4--){var _0x48c8d8=_0x5d9b3f[_0x1bade4],_0x55826e=_0x5c2ad1[_0x2456e2][_0x48c8d8],_0x16b642=_0x5a0052[_0x2456e2][_0x48c8d8];_0x262d07[_0x2c0cb0(0x115)]({'x':_0x2456e2,'y':_0x48c8d8,'value':_0x55826e,'radius':_0x16b642});}}return{'min':_0x480822,'max':_0xd4bbc9,'data':_0x262d07};};function _0x44d94d(_0x36c0ea){var _0x5ed850=_0x2bd6,_0x300dd3=_0x36c0ea['container'],_0x5ac6da=this[_0x5ed850(_0x21f994._0x470bff)]=document['createElement']('canvas'),_0x282ece=this['canvas']=_0x36c0ea[_0x5ed850(_0x21f994._0x1a91d2)]||document['createElement']('canvas');this[_0x5ed850(_0x21f994._0x35c936)]=[0x2710,0x2710,0x0,0x0];var _0x1c178f=getComputedStyle(_0x36c0ea['container'])||{};_0x282ece[_0x5ed850(0x146)]='heatmap-canvas',this['_width']=_0x282ece['width']=_0x5ac6da['width']=_0x36c0ea[_0x5ed850(0x15a)]||+_0x1c178f['width']['replace'](/px/,''),this[_0x5ed850(_0x21f994._0x30b548)]=_0x282ece['height']=_0x5ac6da['height']=_0x36c0ea['height']||+_0x1c178f[_0x5ed850(_0x21f994._0x215a80)]['replace'](/px/,''),this['shadowCtx']=_0x5ac6da[_0x5ed850(0x14e)]('2d',{'willReadFrequently':!![]}),this['ctx']=_0x282ece[_0x5ed850(_0x21f994._0x5ebfab)]('2d',{'willReadFrequently':!![]}),_0x282ece[_0x5ed850(0x144)]['cssText']=_0x5ac6da[_0x5ed850(0x144)][_0x5ed850(0x15f)]='position:absolute;left:0;top:0;',_0x300dd3['style']['position']='relative',_0x300dd3['appendChild'](_0x282ece),this['_palette']=_0x2027fa(_0x36c0ea),this['_templates']={},this[_0x5ed850(_0x21f994._0x1930fe)](_0x36c0ea);}return _0x44d94d[_0x1c4e52(_0x56e562._0xe0842e)]={'renderPartial':function(_0x247635){var _0x28fd61=_0x1c4e52;_0x247635['data']['length']>0x0&&(this[_0x28fd61(0x149)](_0x247635),this['_colorize']());},'renderAll':function(_0x5118e3){var _0x5475a8=_0x1c4e52;this[_0x5475a8(_0x205c71._0x12d30a)](),_0x5118e3['data']['length']>0x0&&(this['_drawAlpha'](_0x22ce9c(_0x5118e3)),this[_0x5475a8(_0x205c71._0x6c1638)]());},'_updateGradient':function(_0xb67984){this['_palette']=_0x2027fa(_0xb67984);},'updateConfig':function(_0x538263){var _0x4bf006=_0x1c4e52;_0x538263['gradient']&&this['_updateGradient'](_0x538263),this[_0x4bf006(0x109)](_0x538263);},'setDimensions':function(_0x1ee30f,_0x158cfe){var _0x38f071=_0x1c4e52;this['_width']=_0x1ee30f,this[_0x38f071(0xf0)]=_0x158cfe,this['canvas'][_0x38f071(_0x412850._0x390c16)]=this['shadowCanvas']['width']=_0x1ee30f,this['canvas']['height']=this[_0x38f071(_0x412850._0x4faa59)]['height']=_0x158cfe;},'_clear':function(){var _0x1fd03e=_0x1c4e52;this[_0x1fd03e(_0x512d28._0x4d6344)]['clearRect'](0x0,0x0,this['_width'],this['_height']),this['ctx'][_0x1fd03e(0x122)](0x0,0x0,this['_width'],this['_height']);},'_setStyles':function(_0x7b5f62){var _0xd21ae7=_0x1c4e52;this[_0xd21ae7(0xd8)]=_0x7b5f62[_0xd21ae7(_0x534c87._0x7e60a)]==0x0?0x0:_0x7b5f62[_0xd21ae7(_0x534c87._0x7e60a)]||_0x7b5f62[_0xd21ae7(0x14c)],_0x7b5f62['backgroundColor']&&(this['canvas']['style']['backgroundColor']=_0x7b5f62[_0xd21ae7(_0x534c87._0xf591ab)]),this[_0xd21ae7(_0x534c87._0x570c5b)]=this[_0xd21ae7(_0x534c87._0x1f3080)]['width']=this[_0xd21ae7(0x107)]['width']=_0x7b5f62['width']||this['_width'],this['_height']=this['canvas']['height']=this[_0xd21ae7(_0x534c87._0x56524e)]['height']=_0x7b5f62['height']||this[_0xd21ae7(_0x534c87._0x158c23)],this[_0xd21ae7(0x11d)]=(_0x7b5f62['opacity']||0x0)*0xff,this['_maxOpacity']=(_0x7b5f62['maxOpacity']||_0x7b5f62['defaultMaxOpacity'])*0xff,this['_minOpacity']=(_0x7b5f62['minOpacity']||_0x7b5f62['defaultMinOpacity'])*0xff,this['_useGradientOpacity']=!!_0x7b5f62['useGradientOpacity'];},'_drawAlpha':function(_0x7a7b6f){var _0x1805d4=_0x1c4e52,_0x204cdd=this['_min']=_0x7a7b6f[_0x1805d4(_0x50c4cd._0xf1c202)],_0x3a3581=this['_max']=_0x7a7b6f['max'],_0x7a7b6f=_0x7a7b6f['data']||[],_0x4c07fd=_0x7a7b6f['length'],_0x1d6b6e=0x1-this['_blur'];while(_0x4c07fd--){var _0x2373d0=_0x7a7b6f[_0x4c07fd],_0x2fb9ea=_0x2373d0['x'],_0x2a7c72=_0x2373d0['y'],_0x37ca58=_0x2373d0[_0x1805d4(0x135)],_0x4e39af=Math[_0x1805d4(_0x50c4cd._0x2b969e)](_0x2373d0['value'],_0x3a3581),_0x425b9f=_0x2fb9ea-_0x37ca58,_0x2d0219=_0x2a7c72-_0x37ca58,_0x3316df=this['shadowCtx'],_0x110671;!this['_templates'][_0x37ca58]?this[_0x1805d4(_0x50c4cd._0x2bc4a9)][_0x37ca58]=_0x110671=_0x47a2ac(_0x37ca58,_0x1d6b6e):_0x110671=this[_0x1805d4(_0x50c4cd._0x4152ce)][_0x37ca58];var _0x5103d3=(_0x4e39af-_0x204cdd)/(_0x3a3581-_0x204cdd);_0x3316df[_0x1805d4(0xf3)]=_0x5103d3<0.01?0.01:_0x5103d3,_0x3316df['drawImage'](_0x110671,_0x425b9f,_0x2d0219),_0x425b9f<this[_0x1805d4(_0x50c4cd._0x4781f4)][0x0]&&(this['_renderBoundaries'][0x0]=_0x425b9f),_0x2d0219<this[_0x1805d4(_0x50c4cd._0x4781f4)][0x1]&&(this[_0x1805d4(_0x50c4cd._0x4578ad)][0x1]=_0x2d0219),_0x425b9f+0x2*_0x37ca58>this['_renderBoundaries'][0x2]&&(this[_0x1805d4(0x164)][0x2]=_0x425b9f+0x2*_0x37ca58),_0x2d0219+0x2*_0x37ca58>this[_0x1805d4(0x164)][0x3]&&(this[_0x1805d4(_0x50c4cd._0x1aa42d)][0x3]=_0x2d0219+0x2*_0x37ca58);}},'_colorize':function(){var _0x141ae3=_0x1c4e52,_0x5340f3=this[_0x141ae3(0x164)][0x0],_0x42b7de=this['_renderBoundaries'][0x1],_0x3b6dc8=this['_renderBoundaries'][0x2]-_0x5340f3,_0x51f41c=this['_renderBoundaries'][0x3]-_0x42b7de,_0x31b9d7=this['_width'],_0x28adce=this['_height'],_0x1e3b69=this['_opacity'],_0x5329bf=this[_0x141ae3(0x140)],_0x1eab76=this['_minOpacity'],_0x445ce9=this['_useGradientOpacity'];_0x5340f3<0x0&&(_0x5340f3=0x0);_0x42b7de<0x0&&(_0x42b7de=0x0);_0x5340f3+_0x3b6dc8>_0x31b9d7&&(_0x3b6dc8=_0x31b9d7-_0x5340f3);_0x42b7de+_0x51f41c>_0x28adce&&(_0x51f41c=_0x28adce-_0x42b7de);var _0x219f45=this['shadowCtx']['getImageData'](_0x5340f3,_0x42b7de,_0x3b6dc8,_0x51f41c),_0xde785c=_0x219f45[_0x141ae3(_0xd70877._0x19e465)],_0x39e9cd=_0xde785c['length'],_0x7ac2b7=this[_0x141ae3(_0xd70877._0x4a59e8)];for(var _0x34e1f8=0x3;_0x34e1f8<_0x39e9cd;_0x34e1f8+=0x4){var _0x410cdd=_0xde785c[_0x34e1f8],_0x4004cf=_0x410cdd*0x4;if(!_0x4004cf)continue;var _0x54f86c;_0x1e3b69>0x0?_0x54f86c=_0x1e3b69:_0x410cdd<_0x5329bf?_0x410cdd<_0x1eab76?_0x54f86c=_0x1eab76:_0x54f86c=_0x410cdd:_0x54f86c=_0x5329bf,_0xde785c[_0x34e1f8-0x3]=_0x7ac2b7[_0x4004cf],_0xde785c[_0x34e1f8-0x2]=_0x7ac2b7[_0x4004cf+0x1],_0xde785c[_0x34e1f8-0x1]=_0x7ac2b7[_0x4004cf+0x2],_0xde785c[_0x34e1f8]=_0x445ce9?_0x7ac2b7[_0x4004cf+0x3]:_0x54f86c;}this[_0x141ae3(_0xd70877._0x3b422c)][_0x141ae3(_0xd70877._0x5e1714)](_0x219f45,_0x5340f3,_0x42b7de),this['_renderBoundaries']=[0x3e8,0x3e8,0x0,0x0];},'getValueAt':function(_0x47d273){var _0x5f2df1=_0x1c4e52,_0x4dd4e2,_0x1b43b6=this['shadowCtx'],_0x483f9a=_0x1b43b6['getImageData'](_0x47d273['x'],_0x47d273['y'],0x1,0x1),_0x521b41=_0x483f9a['data'][0x3],_0x4880f2=this['_max'],_0x4344e1=this[_0x5f2df1(_0x3a91dd._0x232f27)];return _0x4dd4e2=Math['abs'](_0x4880f2-_0x4344e1)*(_0x521b41/0xff)>>0x0,_0x4dd4e2;},'getDataURL':function(){return this['canvas']['toDataURL']();}},_0x44d94d;}(),_0x59710c=function _0x122255(){var _0x484c3d=![];return _0x174b23['defaultRenderer']==='canvas2d'&&(_0x484c3d=_0x167a0a),_0x484c3d;}(),_0x2e3700={'merge':function(){var _0x506789=_0x3a6e01,_0x500fcf={},_0x9e1bb1=arguments[_0x506789(0x15d)];for(var _0x4e6947=0x0;_0x4e6947<_0x9e1bb1;_0x4e6947++){var _0x1edbcc=arguments[_0x4e6947];for(var _0x27d99b in _0x1edbcc){_0x500fcf[_0x27d99b]=_0x1edbcc[_0x27d99b];}}return _0x500fcf;}},_0x5dc17e=function _0x47445e(){var _0xf47443={_0x335a64:0x13e,_0x567b7f:0x13e,_0x2c174c:0x160},_0x1869db={_0x2b318a:0x160},_0x5a9d52={_0x1fff1b:0x119,_0x45e2ca:0x136},_0x151acf={_0x4af4ff:0x120},_0x41142b={_0x1ad556:0xe5},_0x4537a9=_0x3a6e01,_0x59cbfa=function _0x2818ee(){function _0x3d3bf0(){var _0x13b336=_0x2bd6;this[_0x13b336(_0x41142b._0x1ad556)]={};}return _0x3d3bf0['prototype']={'on':function(_0x1c383e,_0xea396e,_0x100a8f){var _0x13473f=this['cStore'];!_0x13473f[_0x1c383e]&&(_0x13473f[_0x1c383e]=[]),_0x13473f[_0x1c383e]['push'](function(_0x2704d0){return _0xea396e['call'](_0x100a8f,_0x2704d0);});},'emit':function(_0x23a45b,_0x23ce81){var _0x48ddb9=this['cStore'];if(_0x48ddb9[_0x23a45b]){var _0x46d1ac=_0x48ddb9[_0x23a45b]['length'];for(var _0x421401=0x0;_0x421401<_0x46d1ac;_0x421401++){var _0x326294=_0x48ddb9[_0x23a45b][_0x421401];_0x326294(_0x23ce81);}}}},_0x3d3bf0;}(),_0x2d0040=function(_0x4efbec){var _0x3acbff=_0x2bd6,_0x5e3402=_0x4efbec[_0x3acbff(0xd0)],_0x5b14d3=_0x4efbec['_coordinator'],_0x1cee5a=_0x4efbec[_0x3acbff(0x160)];_0x5b14d3['on']('renderpartial',_0x5e3402['renderPartial'],_0x5e3402),_0x5b14d3['on'](_0x3acbff(0x154),_0x5e3402['renderAll'],_0x5e3402),_0x5b14d3['on']('extremachange',function(_0x2ce256){var _0x349604=_0x3acbff;_0x4efbec['_config']['onExtremaChange']&&_0x4efbec[_0x349604(0x13e)]['onExtremaChange']({'min':_0x2ce256['min'],'max':_0x2ce256[_0x349604(_0x151acf._0x4af4ff)],'gradient':_0x4efbec['_config']['gradient']||_0x4efbec[_0x349604(0x13e)][_0x349604(0x13c)]});}),_0x1cee5a['setCoordinator'](_0x5b14d3);};function _0x4e4c9e(){var _0x36b9d4=_0x2bd6,_0x2514c5=this['_config']=_0x2e3700[_0x36b9d4(0x11c)](_0x174b23,arguments[0x0]||{});this['_coordinator']=new _0x59cbfa();if(_0x2514c5[_0x36b9d4(_0x5a9d52._0x1fff1b)]){var _0x5507de=_0x2514c5['plugin'];if(!_0x174b23[_0x36b9d4(0x127)][_0x5507de])throw new Error(_0x36b9d4(0x111)+_0x5507de+'\x27\x20not\x20found.\x20Maybe\x20it\x20was\x20not\x20registered.');else{var _0x3e23d6=_0x174b23['plugins'][_0x5507de];this['_renderer']=new _0x3e23d6[(_0x36b9d4(_0x5a9d52._0x45e2ca))](_0x2514c5),this['_store']=new _0x3e23d6['store'](_0x2514c5);}}else this['_renderer']=new _0x59710c(_0x2514c5),this['_store']=new _0x59210b(_0x2514c5);_0x2d0040(this);}return _0x4e4c9e[_0x4537a9(_0xbb41c0._0x160af8)]={'addData':function(){var _0x5c5840=_0x4537a9;return this['_store']['addData']['apply'](this[_0x5c5840(0x160)],arguments),this;},'removeData':function(){var _0xe43840=_0x4537a9;return this['_store']['removeData']&&this['_store']['removeData'][_0xe43840(0x10f)](this['_store'],arguments),this;},'setData':function(){var _0x1497e6=_0x4537a9;return this['_store'][_0x1497e6(0x10d)]['apply'](this['_store'],arguments),this;},'setDataMax':function(){var _0x6c840c=_0x4537a9;return this[_0x6c840c(0x160)][_0x6c840c(0xe8)]['apply'](this[_0x6c840c(0x160)],arguments),this;},'setDataMin':function(){var _0x1e37e4=_0x4537a9;return this['_store']['setDataMin'][_0x1e37e4(0x10f)](this[_0x1e37e4(_0x1869db._0x2b318a)],arguments),this;},'configure':function(_0x306527){var _0x41c724=_0x4537a9;return this[_0x41c724(_0xf47443._0x335a64)]=_0x2e3700['merge'](this[_0x41c724(_0xf47443._0x567b7f)],_0x306527),this['_renderer']['updateConfig'](this[_0x41c724(0x13e)]),this['_coordinator']['emit']('renderall',this[_0x41c724(_0xf47443._0x2c174c)]['_getInternalData']()),this;},'repaint':function(){var _0x188309=_0x4537a9;return this[_0x188309(_0x31c761._0x240938)]['emit']('renderall',this[_0x188309(0x160)]['_getInternalData']()),this;},'getData':function(){return this['_store']['getData']();},'getDataURL':function(){return this['_renderer']['getDataURL']();},'getValueAt':function(_0x578a8c){var _0x3160b9=_0x4537a9;if(this['_store']['getValueAt'])return this['_store']['getValueAt'](_0x578a8c);else return this['_renderer']['getValueAt']?this[_0x3160b9(_0x3ce41a._0x1581e5)]['getValueAt'](_0x578a8c):null;}},_0x4e4c9e;}(),_0x31675d={'create':function(_0x44dd16){return new _0x5dc17e(_0x44dd16);},'register':function(_0x3d667e,_0x4fdd29){_0x174b23['plugins'][_0x3d667e]=_0x4fdd29;}};return _0x31675d;}));}(heatmap$1));var heatmap=heatmap$1['exports'],h337=_mergeNamespaces({'__proto__':null,'default':heatmap},[heatmap$1['exports']]),HeatMaterial='uniform\x20sampler2D\x20image;\x0a\x0aczm_material\x20czm_getMaterial(czm_materialInput\x20materialInput)\x20{\x0a\x20\x20czm_material\x20material\x20=\x20czm_getDefaultMaterial(materialInput);\x0a\x20\x20vec2\x20st\x20=\x20materialInput.st;\x0a\x20\x20vec4\x20colorImage\x20=\x20texture(image,\x20st);\x0a\x20\x20if(colorImage.rgb\x20==\x20vec3(1.0)\x20||\x20colorImage.rgb\x20==\x20vec3(0.0))\x20{\x0a\x20\x20\x20\x20discard;\x0a\x20\x20}\x0a\x20\x20material.diffuse\x20=\x20colorImage.rgb;\x0a\x20\x20material.alpha\x20=\x20colorImage.a;\x0a\x20\x20return\x20material;\x0a}\x0a';if(!heatmap$1['exports']['create'])throw new Error(_0x4f42ab(0x100));const Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace['layer']['BaseLayer'],DEF_HEATSTYLE={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:'blue',0.6:'green',0.8:_0x4f42ab(0xea),0.9:'red'}},DEF_STYLE={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':Cesium['EllipsoidSurfaceAppearance']['VERTEX_FORMAT']};class HeatLayer extends BaseLayer{constructor(_0x597ea2={}){var _0x554c71={_0x15f90e:0x13f,_0x2d531d:0x157,_0x186934:0xfd,_0x398213:0x133,_0x41a0f1:0x128,_0x261ac9:0x13f,_0x5a474a:0x144},_0x310e13=_0x4f42ab;super(_0x597ea2),this[_0x310e13(_0x554c71._0x15f90e)][_0x310e13(_0x554c71._0x2d531d)]=this[_0x310e13(_0x554c71._0x15f90e)]['maxCanvasSize']??document['body'][_0x310e13(0xfb)],this['options']['maxCanvasSize']=Math[_0x310e13(0xf1)](this['options']['maxCanvasSize'],0x1388),this['options']['minCanvasSize']=this['options'][_0x310e13(_0x554c71._0x186934)]??document['body'][_0x310e13(_0x554c71._0x398213)],this[_0x310e13(0x13f)]['minCanvasSize']=Math[_0x310e13(0x120)](this['options']['minCanvasSize'],0x2bc),this['options'][_0x310e13(_0x554c71._0x41a0f1)]={...DEF_HEATSTYLE,...this['options']['heatStyle']},this[_0x310e13(_0x554c71._0x261ac9)][_0x310e13(_0x554c71._0x5a474a)]={...DEF_STYLE,...this['options']['style']};}get['layer'](){return this['_layer'];}get['heatStyle'](){return this['options']['heatStyle'];}set['heatStyle'](_0xc6e691){var _0x17dbc9={_0x5a0697:0x128,_0x2225b6:0x12d,_0x29053a:0x13f},_0x5e34e9=_0x4f42ab;this[_0x5e34e9(0x13f)][_0x5e34e9(_0x17dbc9._0x5a0697)]=mars3d__namespace[_0x5e34e9(0x131)][_0x5e34e9(0x11c)](this['options'][_0x5e34e9(0x128)],_0xc6e691),this[_0x5e34e9(0x12d)]&&(this[_0x5e34e9(_0x17dbc9._0x2225b6)][_0x5e34e9(0xd3)](this[_0x5e34e9(_0x17dbc9._0x29053a)]['heatStyle']),this[_0x5e34e9(0xe0)](!![]));}get['style'](){var _0x2d8e27=_0x4f42ab;return this[_0x2d8e27(0x13f)][_0x2d8e27(0x144)];}set['style'](_0x24ab4b){var _0x18c8da={_0x178241:0x131},_0x19eb9e=_0x4f42ab;this['options'][_0x19eb9e(0x144)]=mars3d__namespace[_0x19eb9e(_0x18c8da._0x178241)]['merge'](this['options']['style'],_0x24ab4b);}get[_0x4f42ab(0x137)](){return this['_positions'];}set['positions'](_0x2ad59a){var _0x9bf09a={_0x49c4e2:0xfc},_0x3ceeea=_0x4f42ab;this[_0x3ceeea(_0x9bf09a._0x49c4e2)](_0x2ad59a);}get['coordinates'](){var _0x152009={_0x26fbf2:0x155},_0x254b96=_0x4f42ab;const _0x5cad5a=[];return this[_0x254b96(_0x152009._0x26fbf2)]['forEach'](_0x30c798=>{_0x5cad5a['push'](_0x30c798['toArray']());}),_0x5cad5a;}get[_0x4f42ab(0xf2)](){var _0x22b394=_0x4f42ab;return this[_0x22b394(0x158)];}['_setOptionsHook'](_0x2fdf6c,_0x343e5d){var _0x13fe11=_0x4f42ab;_0x2fdf6c[_0x13fe11(0x137)]&&(this['positions']=_0x2fdf6c['positions']);}['_mountedHook'](){var _0x47e566={_0x1518ac:0x125,_0x48cd13:0xeb,_0x2a90bf:0x10b},_0x52be40=_0x4f42ab;this['style'][_0x52be40(_0x47e566._0x1518ac)]==='image'?this[_0x52be40(_0x47e566._0x48cd13)]=new mars3d__namespace['layer'][(_0x52be40(_0x47e566._0x2a90bf))]({'crs':'EPSG:3857','private':!![]}):this['_layer']=new mars3d__namespace['layer'][(_0x52be40(0x141))]({'private':!![]});}[_0x4f42ab(0xcd)](){var _0x51a82f={_0x5dcd19:0x101,_0x245245:0x13f,_0x56f795:0x129},_0x455f56=_0x4f42ab;this['_map'][_0x455f56(0x166)](this[_0x455f56(0xeb)]),this['_container']=mars3d__namespace[_0x455f56(0x15e)]['create']('div',_0x455f56(_0x51a82f._0x5dcd19),this['_map']['container']),this[_0x455f56(_0x51a82f._0x245245)][_0x455f56(0x137)]&&(this[_0x455f56(0x137)]=this['options']['positions']),this['options']['flyTo']&&this[_0x455f56(_0x51a82f._0x56f795)]();}['_removedHook'](){var _0x45281c={_0x41d403:0x165,_0x5a5eaa:0x165,_0x54e85e:0x14d,_0x26f27c:0xe3},_0xfb546e=_0x4f42ab;this[_0xfb546e(_0x45281c._0x41d403)]&&(mars3d__namespace['DomUtil'][_0xfb546e(0x10c)](this[_0xfb546e(_0x45281c._0x5a5eaa)]),delete this[_0xfb546e(0x165)]),this[_0xfb546e(_0x45281c._0x54e85e)](),this[_0xfb546e(_0x45281c._0x26f27c)]['removeLayer'](this[_0xfb546e(0xeb)]);}['addPosition'](_0x7559c1,_0x55e6cc){var _0x569d22=_0x4f42ab;this[_0x569d22(0xf4)]=this['_positions']||[],this['_positions']['push'](_0x7559c1),this['_updatePositionsHook'](_0x55e6cc);}['setPositions'](_0x3d8f12,_0x4ae4aa){this['_positions']=_0x3d8f12,this['_updatePositionsHook'](_0x4ae4aa);}['clear'](){var _0x218ba3={_0x195595:0x130,_0x5a2229:0x112,_0x139609:0xf7},_0x55a037=_0x4f42ab;this['_graphic']&&(this['_layer'][_0x55a037(_0x218ba3._0x195595)](this[_0x55a037(0x112)],!![]),delete this[_0x55a037(_0x218ba3._0x5a2229)]),this['_graphic2']&&(this['_layer'][_0x55a037(_0x218ba3._0x195595)](this[_0x55a037(_0x218ba3._0x139609)],!![]),delete this['_graphic2']);}['_updatePositionsHook'](_0x56f403){var _0x1b1077={_0x3b9625:0x158,_0x44aa46:0xec,_0x508187:0xf7,_0x28a152:0xfa,_0x5492ad:0x124},_0x12d0a2=_0x4f42ab;if(!this['show']||!this['_map']||!this[_0x12d0a2(0x137)]||this['positions']['length']===0x0)return this;const _0x89b324=this['_getHeatCanvas']();if(this['style']['type']==='image')this['_layer']['setOptions']({'url':_0x89b324['toDataURL']('image/png',0x1),'rectangle':this[_0x12d0a2(_0x1b1077._0x3b9625)],'opacity':this['style']['opacity']});else this[_0x12d0a2(0x144)]['arc']?this['_graphic']&&_0x56f403?(this['_graphic']['uniforms']['image']=_0x89b324,this['_graphic']['uniforms']['bumpMap']=this[_0x12d0a2(_0x1b1077._0x44aa46)](),this[_0x12d0a2(0xf7)]&&(this[_0x12d0a2(_0x1b1077._0x508187)]['uniforms']['image']=_0x89b324,this['_graphic2']['uniforms'][_0x12d0a2(0x124)]=this['_graphic'][_0x12d0a2(_0x1b1077._0x28a152)][_0x12d0a2(_0x1b1077._0x5492ad)])):this['_createArcGraphic'](_0x89b324):this['_graphic']&&_0x56f403?this['_graphic'][_0x12d0a2(_0x1b1077._0x28a152)]['image']=_0x89b324:this['_createGraphic'](_0x89b324);return this;}['_createGraphic'](_0x1b3e9b){var _0xf993c={_0x1db02b:0x12f,_0x5dd7b0:0x158,_0x367b3d:0xeb},_0x4c31d7=_0x4f42ab;this['clear'](),this[_0x4c31d7(0x112)]=new mars3d__namespace[(_0x4c31d7(0xe9))][(_0x4c31d7(_0xf993c._0x1db02b))]({...this[_0x4c31d7(0x13f)],'rectangle':this[_0x4c31d7(_0xf993c._0x5dd7b0)],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'material':mars3d__namespace['MaterialUtil'][_0x4c31d7(0x138)](mars3d__namespace['MaterialType']['Image2'],{'image':_0x1b3e9b}),'flat':!![]})}),this[_0x4c31d7(_0xf993c._0x367b3d)]['addGraphic'](this[_0x4c31d7(0x112)]);}['_createArcGraphic'](_0x47f7f7){var _0x148324={_0x41b72e:0xce,_0x3ec3cf:0x108,_0x932e3a:0xd5,_0x3b5066:0x144,_0x2d032f:0x144,_0x335864:0x151},_0x54925b=_0x4f42ab;this['clear']();const _0x5556a0=Cesium[_0x54925b(_0x148324._0x41b72e)]['fromCache']({'cull':{'enabled':!![]},'depthTest':{'enabled':!![]},'stencilTest':{'enabled':!![],'frontFunction':Cesium[_0x54925b(0x108)]['ALWAYS'],'frontOperation':{'fail':Cesium['StencilOperation'][_0x54925b(0xf6)],'zFail':Cesium['StencilOperation'][_0x54925b(0xf6)],'zPass':Cesium['StencilOperation']['REPLACE']},'backFunction':Cesium[_0x54925b(_0x148324._0x3ec3cf)]['ALWAYS'],'backOperation':{'fail':Cesium['StencilOperation']['KEEP'],'zFail':Cesium['StencilOperation']['KEEP'],'zPass':Cesium['StencilOperation']['REPLACE']},'reference':0x2,'mask':0x2},'blending':Cesium[_0x54925b(_0x148324._0x932e3a)]['ALPHA_BLEND']}),_0x328f39=Math['floor'](this[_0x54925b(_0x148324._0x3b5066)]['diffHeight']??this[_0x54925b(0xfe)]*0.02)+0.1;this[_0x54925b(0x144)]['diffHeight']&&delete this['style']['diffHeight'];const _0x42f986=(this[_0x54925b(_0x148324._0x2d032f)][_0x54925b(0x132)],0x64);let _0x491a66=Math['max'](this['_rectangle']['height'],this['_rectangle']['width']);this['style']['granularity']=_0x491a66/=_0x42f986;const _0x4bfb1d=new Cesium['Material']({'fabric':{'uniforms':{'image':_0x47f7f7,'repeat':new Cesium['Cartesian2'](0x1,0x1),'color':new Cesium['Color'](0x1,0x1,0x1,0x0),'bumpMap':this['_getArcHeatCanvas']()},'source':HeatMaterial},'translucent':!![]}),_0x1bab21=this['style'][_0x54925b(_0x148324._0x335864)]||0x1;this['_graphic']=new mars3d__namespace['graphic']['RectanglePrimitive']({...this[_0x54925b(0x13f)],'rectangle':this[_0x54925b(0x158)],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'flat':!![],'aboveGround':!![],'renderState':_0x5556a0,'material':_0x4bfb1d,'vertexShaderSource':getVertexShaderSource(_0x328f39*_0x1bab21)})}),this['_layer']['addGraphic'](this['_graphic']),this['style'][_0x54925b(0x151)]===0x0&&(this[_0x54925b(0xf7)]=new mars3d__namespace['graphic']['RectanglePrimitive']({...this['options'],'rectangle':this['_rectangle'],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'flat':!![],'aboveGround':!![],'renderState':_0x5556a0,'material':_0x4bfb1d,'vertexShaderSource':getVertexShaderSource(-_0x328f39)})}),this['_layer']['addGraphic'](this['_graphic2']));}['getRectangle'](_0x322315){var _0x50be3b={_0x10d4d1:0xe7},_0x420474=_0x4f42ab;return _0x322315!==null&&_0x322315!==void 0x0&&_0x322315[_0x420474(_0x50be3b._0x10d4d1)]&&this['_rectangle']?mars3d__namespace['PolyUtil']['formatRectangle'](this['_rectangle']):this['_rectangle'];}['_getHeatCanvas'](){var _0x57e71a={_0xbdce32:0x152,_0x1cfc3a:0x143,_0x181391:0x120,_0x361dc9:0xf1,_0x3c63fe:0xfe,_0x2f2af8:0x157,_0xc6b183:0xfd,_0x6c9ff1:0x158,_0x452717:0xee,_0x51cc8a:0x143,_0xb62560:0x120,_0x4d5c1d:0xd2,_0x506356:0x102,_0x5e63d8:0x15f,_0xd81ea2:0xe1,_0x23313e:0xd3,_0x53a6b2:0x15e},_0x3092ea={_0x535328:0x114,_0x57f32c:0x12c,_0x10dd9b:0x102,_0x5b5487:0x120},_0x1cbd5b={_0x5699d5:0x104,_0x1720b6:0xf2,_0x2534c7:0xca,_0xd307be:0xf1,_0xee869c:0x114},_0x3998eb=_0x4f42ab;const _0x3aefd3=this['_positions'],_0x25eb20=[];let _0x42359d,_0x5393bb,_0x353f70,_0x3839f9;_0x3aefd3[_0x3998eb(_0x57e71a._0xbdce32)](_0x1ab40d=>{var _0x15d5b5=_0x3998eb;const _0x418428=mars3d__namespace['LngLatPoint'][_0x15d5b5(_0x1cbd5b._0x5699d5)](_0x1ab40d);if(!_0x418428)return;_0x418428['value']=_0x1ab40d['value']||0x1,!this['options'][_0x15d5b5(_0x1cbd5b._0x1720b6)]&&(_0x42359d===undefined?(_0x42359d=_0x418428['lng'],_0x5393bb=_0x418428['lng'],_0x353f70=_0x418428['lat'],_0x3839f9=_0x418428[_0x15d5b5(0x114)]):(_0x42359d=Math['min'](_0x42359d,_0x418428[_0x15d5b5(_0x1cbd5b._0x2534c7)]),_0x5393bb=Math['max'](_0x5393bb,_0x418428['lng']),_0x353f70=Math[_0x15d5b5(_0x1cbd5b._0xd307be)](_0x353f70,_0x418428[_0x15d5b5(_0x1cbd5b._0xee869c)]),_0x3839f9=Math['max'](_0x3839f9,_0x418428[_0x15d5b5(0x114)]))),_0x25eb20['push'](_0x418428);});_0x42359d===_0x5393bb&&(_0x42359d-=0.000001,_0x5393bb+=0.000001);_0x353f70===_0x3839f9&&(_0x353f70-=0.000001,_0x3839f9+=0.000001);let _0x1c5082=this['options']['rectangle']||{'xmin':_0x42359d,'xmax':_0x5393bb,'ymin':_0x353f70,'ymax':_0x3839f9};const _0x43fcda=getMercatorBounds(_0x1c5082),_0x1f9193=Math['abs'](_0x43fcda['xmax']-_0x43fcda['xmin']),_0x5bed29=Math['abs'](_0x43fcda['ymax']-_0x43fcda[_0x3998eb(_0x57e71a._0x1cfc3a)]),_0x16b69b=Math[_0x3998eb(_0x57e71a._0x181391)](_0x1f9193,_0x5bed29),_0x48a713=Math[_0x3998eb(_0x57e71a._0x361dc9)](_0x1f9193,_0x5bed29);this[_0x3998eb(_0x57e71a._0x3c63fe)]=_0x16b69b;let _0x1277c0=0x1;if(_0x16b69b>this['options'][_0x3998eb(_0x57e71a._0x2f2af8)])_0x1277c0=_0x16b69b/this['options']['maxCanvasSize'],_0x48a713/_0x1277c0<this['options'][_0x3998eb(_0x57e71a._0xc6b183)]&&(_0x1277c0=_0x48a713/this['options']['minCanvasSize']);else _0x48a713<this['options'][_0x3998eb(0xfd)]&&(_0x1277c0=_0x48a713/this[_0x3998eb(0x13f)]['minCanvasSize'],_0x16b69b/_0x1277c0>this['options']['maxCanvasSize']&&(_0x1277c0=_0x16b69b/this['options']['maxCanvasSize']));const _0x5151d8=this['heatStyle'][_0x3998eb(0x135)]*1.5,_0x3234ed=_0x1f9193/_0x1277c0+_0x5151d8*0x2,_0x2207e6=_0x5bed29/_0x1277c0+_0x5151d8*0x2,_0xa5de29=_0x5151d8*_0x1277c0;_0x43fcda[_0x3998eb(0xdf)]-=_0xa5de29,_0x43fcda['ymin']-=_0xa5de29,_0x43fcda['xmax']+=_0xa5de29,_0x43fcda['ymax']+=_0xa5de29,this['_scale']=_0x1277c0,_0x1c5082=geLatLngBounds(_0x43fcda),this[_0x3998eb(_0x57e71a._0x6c9ff1)]=Cesium['Rectangle'][_0x3998eb(_0x57e71a._0x452717)](_0x1c5082['xmin'],_0x1c5082[_0x3998eb(_0x57e71a._0x51cc8a)],_0x1c5082['xmax'],_0x1c5082['ymax']);let _0x591f71=_0x25eb20[0x0]['value']??0x1,_0x204fbc=_0x25eb20[0x0]['value']??0x0;const _0x58e72e=[];_0x25eb20['forEach'](_0x169019=>{var _0x3ff62c=_0x3998eb;const _0x1bd15c=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x169019['lng'],_0x169019[_0x3ff62c(_0x3092ea._0x535328)]]),_0x3004d9=_0x169019[_0x3ff62c(0x10a)]||0x1,_0x1d1bca=Math[_0x3ff62c(_0x3092ea._0x57f32c)]((_0x1bd15c[0x0]-_0x43fcda['xmin'])/_0x1277c0),_0x41c760=Math['round']((_0x43fcda[_0x3ff62c(_0x3092ea._0x10dd9b)]-_0x1bd15c[0x1])/_0x1277c0);_0x591f71=Math[_0x3ff62c(_0x3092ea._0x5b5487)](_0x591f71,_0x3004d9),_0x204fbc=Math['min'](_0x204fbc,_0x3004d9),_0x58e72e['push']({'x':_0x1d1bca,'y':_0x41c760,'value':_0x3004d9});});const _0x35167d={'min':this['options']['min']??_0x204fbc,'max':this['options'][_0x3998eb(_0x57e71a._0xb62560)]??_0x591f71,'data':_0x58e72e};this['_last_heatData']=_0x35167d;if(!this['_last_mBounds']||_0x43fcda['xmin']!==this['_last_mBounds']['xmin']||_0x43fcda[_0x3998eb(0x143)]!==this[_0x3998eb(0xd2)]['ymin']||_0x43fcda['xmax']!==this[_0x3998eb(_0x57e71a._0x4d5c1d)][_0x3998eb(0x103)]||_0x43fcda[_0x3998eb(_0x57e71a._0x506356)]!==this[_0x3998eb(0xd2)]['ymax']){this['_last_mBounds']=_0x43fcda,this['_container']['style'][_0x3998eb(_0x57e71a._0x5e63d8)]='width:'+_0x3234ed+'px;height:'+_0x2207e6+'px;';const _0x36ed39={...this['heatStyle'],'container':this['_container']};!this['_heat']?this['_heat']=heatmap$1['exports'][_0x3998eb(_0x57e71a._0xd81ea2)](_0x36ed39):this['_heat'][_0x3998eb(_0x57e71a._0x23313e)](_0x36ed39);}this['_heat']['setData'](_0x35167d);const _0x186163=mars3d__namespace[_0x3998eb(_0x57e71a._0x53a6b2)]['copyCanvas'](this['_heat']['_renderer']['canvas']);return _0x186163;}['_getArcHeatCanvas'](){var _0x408c7b={_0x32123a:0x134,_0xf35795:0x156,_0x26dc89:0x145},_0x7ba375=_0x4f42ab;this[_0x7ba375(0x12d)]['configure']({'radius':this['heatStyle']['radius']*this['style']['arcRadiusScale'],'blur':this['heatStyle'][_0x7ba375(_0x408c7b._0x32123a)]*this[_0x7ba375(0x144)][_0x7ba375(0xf9)],'gradient':this['heatStyle']['gradientArc']||{0.25:'rgb(0,0,0)',0.55:_0x7ba375(_0x408c7b._0xf35795),0.85:'rgb(216,216,216)',0x1:_0x7ba375(_0x408c7b._0x26dc89)}});const _0x1203a0=mars3d__namespace['DomUtil'][_0x7ba375(0x148)](this['_heat'][_0x7ba375(0xd0)]['canvas']);return this['_heat'][_0x7ba375(0xd3)](this['options']['heatStyle']),_0x1203a0;}['getPointData'](_0x222d97){var _0x1ce1fa={_0x3d6299:0x12c,_0x46408a:0x11e,_0x3d453f:0x118},_0x34cda8=_0x4f42ab;const _0x2c5b0d=mars3d__namespace['LngLatPoint']['parse'](_0x222d97);if(!_0x2c5b0d)return{};const _0x4901c5=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x2c5b0d['lng'],_0x2c5b0d['lat']]),_0xe0735d=this['_last_mBounds'],_0x25e68a=Math[_0x34cda8(_0x1ce1fa._0x3d6299)]((_0x4901c5[0x0]-_0xe0735d['xmin'])/this['_scale']),_0x57cd30=Math['round']((_0xe0735d['ymax']-_0x4901c5[0x1])/this[_0x34cda8(_0x1ce1fa._0x46408a)]),_0x248631=this['_heat'][_0x34cda8(0xd9)]({'x':_0x25e68a,'y':_0x57cd30}),_0x5453f2=this['_heat']['_renderer']['ctx'][_0x34cda8(_0x1ce1fa._0x3d453f)](_0x25e68a-0x1,_0x57cd30-0x1,0x1,0x1)['data'];return{'x':_0x25e68a,'y':_0x57cd30,'value':_0x248631,'color':'rgba('+_0x5453f2[0x0]+','+_0x5453f2[0x1]+','+_0x5453f2[0x2]+','+_0x5453f2[0x3]+')'};}}mars3d__namespace['LayerUtil'][_0x4f42ab(0x11f)]('heat',HeatLayer),mars3d__namespace['layer']['HeatLayer']=HeatLayer,mars3d__namespace['h337']=h337;function _0x2bd6(_0x4aaac2,_0x146579){var _0x2f38be=_0x2f38();return _0x2bd6=function(_0x2bd6c3,_0x1930d0){_0x2bd6c3=_0x2bd6c3-0xca;var _0x44ae76=_0x2f38be[_0x2bd6c3];return _0x44ae76;},_0x2bd6(_0x4aaac2,_0x146579);}function getMercatorBounds(_0x4b480a){var _0x50415a={_0x49a979:0x143},_0x1048c1=_0x4f42ab;const _0x4d185b=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x4b480a['xmin'],_0x4b480a[_0x1048c1(_0x50415a._0x49a979)]]),_0x40a170=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x4b480a['xmax'],_0x4b480a['ymax']]);return{'xmin':_0x4d185b[0x0],'ymin':_0x4d185b[0x1],'xmax':_0x40a170[0x0],'ymax':_0x40a170[0x1]};}function geLatLngBounds(_0x4b6841){var _0x2e93b9=_0x4f42ab;const _0x510572=mars3d__namespace['PointTrans']['mercator2lonlat']([_0x4b6841['xmin'],_0x4b6841[_0x2e93b9(0x143)]]),_0x49650=mars3d__namespace['PointTrans']['mercator2lonlat']([_0x4b6841['xmax'],_0x4b6841['ymax']]);return{'xmin':_0x510572[0x0],'ymin':_0x510572[0x1],'xmax':_0x49650[0x0],'ymax':_0x49650[0x1]};}function getVertexShaderSource(_0x18afeb){return'in\x20vec3\x20position3DHigh;\x0a\x20\x20in\x20vec3\x20position3DLow;\x0a\x20\x20in\x20vec2\x20st;\x0a\x20\x20in\x20float\x20batchId;\x0a\x20\x20uniform\x20sampler2D\x20bumpMap_3;\x0a\x20\x20out\x20vec3\x20v_positionMC;\x0a\x20\x20out\x20vec3\x20v_positionEC;\x0a\x20\x20out\x20vec2\x20v_st;\x0a\x0a\x20\x20void\x20main()\x0a\x20\x20{\x0a\x20\x20\x20\x20vec4\x20p\x20=\x20czm_computePosition();\x0a\x20\x20\x20\x20v_positionMC\x20=\x20position3DHigh\x20+\x20position3DLow;\x0a\x20\x20\x20\x20v_positionEC\x20=\x20(czm_modelViewRelativeToEye\x20*\x20p).xyz;\x0a\x20\x20\x20\x20v_st\x20=\x20st;\x0a\x20\x20\x20\x20vec4\x20color\x20=\x20texture(bumpMap_3,\x20v_st);\x0a\x20\x20\x20\x20float\x20centerBump\x20=\x20distance(vec3(0.0),color.rgb);\x0a\x20\x20\x20\x20vec3\x20upDir\x20=\x20normalize(v_positionMC.xyz);\x0a\x20\x20\x20\x20vec3\x20disPos\x20=\x20upDir\x20*\x20centerBump\x20*\x20'+_0x18afeb+';\x0a\x20\x20\x20\x20p\x20+=vec4(disPos,0.0);\x0a\x20\x20\x20\x20gl_Position\x20=\x20czm_modelViewProjectionRelativeToEye\x20*\x20p;\x0a\x20\x20}\x0a';}exports[_0x4f42ab(0xda)]=HeatLayer,Object['defineProperty'](exports,'__esModule',{'value':!![]}); | ||
})); |
{ | ||
"name": "mars3d-heatmap", | ||
"version": "3.7.2", | ||
"version": "3.7.3", | ||
"description": "Mars3D平台插件,结合heatmap可视化功能插件", | ||
@@ -11,3 +11,3 @@ "main": "dist/mars3d-heatmap.js", | ||
"devDependencies": { | ||
"mars3d": "~3.7.2" | ||
"mars3d": "~3.7.3" | ||
}, | ||
@@ -14,0 +14,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
45561
175