mars3d-wind 3.1.19 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mars3d-wind.js +3 -3
- package/package.json +2 -5
package/dist/mars3d-wind.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Mars3D平台插件,支持气象 风向图 功能插件
|
|
3
|
-
* 版本信息:v3.
|
|
4
|
-
* 编译日期:2022-01-
|
|
3
|
+
* 版本信息:v3.2.0
|
|
4
|
+
* 编译日期:2022-01-28 14:22:33
|
|
5
5
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
6
6
|
*/
|
|
7
7
|
(function webpackUniversalModuleDefinition(window) {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var a0_0x54e0cc=a0_0x3080;(function(_0x451ae5,_0x41d121){var _0x1dcc05=a0_0x3080,_0x246404=_0x451ae5();while(!![]){try{var _0x3973ec=-parseInt(_0x1dcc05(0xd6))/0x1*(parseInt(_0x1dcc05(0x216))/0x2)+-parseInt(_0x1dcc05(0x121))/0x3*(-parseInt(_0x1dcc05(0x157))/0x4)+-parseInt(_0x1dcc05(0xda))/0x5+-parseInt(_0x1dcc05(0x22a))/0x6*(parseInt(_0x1dcc05(0x179))/0x7)+parseInt(_0x1dcc05(0x185))/0x8*(-parseInt(_0x1dcc05(0x21e))/0x9)+-parseInt(_0x1dcc05(0xf7))/0xa+parseInt(_0x1dcc05(0x14f))/0xb*(parseInt(_0x1dcc05(0x1a1))/0xc);if(_0x3973ec===_0x41d121)break;else _0x246404['push'](_0x246404['shift']());}catch(_0x19d2d9){_0x246404['push'](_0x246404['shift']());}}}(a0_0x1d56,0x5b726),window[a0_0x54e0cc(0x1fe)]=function(_0x1425e0){var _0x213a61={};function _0x3de898(_0x2d8cfe){var _0x203820=a0_0x3080;if(_0x213a61[_0x2d8cfe])return _0x213a61[_0x2d8cfe][_0x203820(0x1e5)];var _0x5d8d2d=_0x213a61[_0x2d8cfe]={'i':_0x2d8cfe,'l':!0x1,'exports':{}};return _0x1425e0[_0x2d8cfe][_0x203820(0x1e8)](_0x5d8d2d[_0x203820(0x1e5)],_0x5d8d2d,_0x5d8d2d[_0x203820(0x1e5)],_0x3de898),_0x5d8d2d['l']=!0x0,_0x5d8d2d['exports'];}return _0x3de898['m']=_0x1425e0,_0x3de898['c']=_0x213a61,_0x3de898['d']=function(_0x3ae9c1,_0x2f75b0,_0x112493){var _0x474a5a=a0_0x3080;_0x3de898['o'](_0x3ae9c1,_0x2f75b0)||Object[_0x474a5a(0x210)](_0x3ae9c1,_0x2f75b0,{'enumerable':!0x0,'get':_0x112493});},_0x3de898['r']=function(_0x2c2a60){var _0x19b337=a0_0x3080;'undefined'!=typeof Symbol&&Symbol[_0x19b337(0x154)]&&Object[_0x19b337(0x210)](_0x2c2a60,Symbol[_0x19b337(0x154)],{'value':_0x19b337(0x181)}),Object['defineProperty'](_0x2c2a60,'__esModule',{'value':!0x0});},_0x3de898['t']=function(_0x414f50,_0x3e4460){var _0x1cb93b=a0_0x3080;if(0x1&_0x3e4460&&(_0x414f50=_0x3de898(_0x414f50)),0x8&_0x3e4460)return _0x414f50;if(0x4&_0x3e4460&&'object'==typeof _0x414f50&&_0x414f50&&_0x414f50[_0x1cb93b(0x18c)])return _0x414f50;var _0x1eef90=Object[_0x1cb93b(0x1d6)](null);if(_0x3de898['r'](_0x1eef90),Object[_0x1cb93b(0x210)](_0x1eef90,'default',{'enumerable':!0x0,'value':_0x414f50}),0x2&_0x3e4460&&_0x1cb93b(0xe5)!=typeof _0x414f50){for(var _0x26a953 in _0x414f50)_0x3de898['d'](_0x1eef90,_0x26a953,function(_0x432b56){return _0x414f50[_0x432b56];}[_0x1cb93b(0x146)](null,_0x26a953));}return _0x1eef90;},_0x3de898['n']=function(_0x3a75e7){var _0x168f55=a0_0x3080,_0x37d727=_0x3a75e7&&_0x3a75e7[_0x168f55(0x18c)]?function(){var _0x133ca4=_0x168f55;return _0x3a75e7[_0x133ca4(0xd1)];}:function(){return _0x3a75e7;};return _0x3de898['d'](_0x37d727,'a',_0x37d727),_0x37d727;},_0x3de898['o']=function(_0x3bdb7f,_0x5bbb56){var _0x1cad62=a0_0x3080;return Object[_0x1cad62(0x212)][_0x1cad62(0x19a)]['call'](_0x3bdb7f,_0x5bbb56);},_0x3de898['p']='',_0x3de898(_0x3de898['s']=0x14);}([function(_0x56e1d3,_0x2a1f05){var _0x30fa66=a0_0x54e0cc;_0x56e1d3[_0x30fa66(0x1e5)]=window[_0x30fa66(0xeb)];},function(_0x19f279,_0x24c0bf){var _0x55b8b5=a0_0x54e0cc;_0x19f279[_0x55b8b5(0x1e5)]=window[_0x55b8b5(0x17c)];},function(_0x31e6e3,_0x1ef86e){var _0x433154=a0_0x54e0cc;_0x31e6e3[_0x433154(0x1e5)]=function(_0x2bd549,_0x4f53e9){if(!(_0x2bd549 instanceof _0x4f53e9))throw new TypeError('Cannot\x20call\x20a\x20class\x20as\x20a\x20function');},_0x31e6e3[_0x433154(0x1e5)][_0x433154(0x18c)]=!0x0,_0x31e6e3[_0x433154(0x1e5)][_0x433154(0xd1)]=_0x31e6e3[_0x433154(0x1e5)];},function(_0x4c2f58,_0x95482c){var _0x7a33ac=a0_0x54e0cc;function _0x4e454d(_0x10b926,_0x24bdc2){var _0x52d1ad=a0_0x3080;for(var _0x3600f6=0x0;_0x3600f6<_0x24bdc2[_0x52d1ad(0x110)];_0x3600f6++){var _0x3a6ca2=_0x24bdc2[_0x3600f6];_0x3a6ca2[_0x52d1ad(0x1c5)]=_0x3a6ca2[_0x52d1ad(0x1c5)]||!0x1,_0x3a6ca2['configurable']=!0x0,_0x52d1ad(0x1bd)in _0x3a6ca2&&(_0x3a6ca2[_0x52d1ad(0x1e9)]=!0x0),Object[_0x52d1ad(0x210)](_0x10b926,_0x3a6ca2['key'],_0x3a6ca2);}}_0x4c2f58[_0x7a33ac(0x1e5)]=function(_0x2a8c62,_0x5279d7,_0x51419b){var _0x4f853f=_0x7a33ac;return _0x5279d7&&_0x4e454d(_0x2a8c62[_0x4f853f(0x212)],_0x5279d7),_0x51419b&&_0x4e454d(_0x2a8c62,_0x51419b),Object[_0x4f853f(0x210)](_0x2a8c62,_0x4f853f(0x212),{'writable':!0x1}),_0x2a8c62;},_0x4c2f58[_0x7a33ac(0x1e5)][_0x7a33ac(0x18c)]=!0x0,_0x4c2f58[_0x7a33ac(0x1e5)][_0x7a33ac(0xd1)]=_0x4c2f58[_0x7a33ac(0x1e5)];},function(_0x29831e,_0x3e620e){var _0x302193=a0_0x54e0cc;function _0x36f89f(_0x5aab0b){var _0x1973d5=a0_0x3080;return _0x29831e[_0x1973d5(0x1e5)]=_0x36f89f=Object[_0x1973d5(0x194)]?Object['getPrototypeOf']:function(_0xf876e8){var _0x3c50f2=_0x1973d5;return _0xf876e8[_0x3c50f2(0x177)]||Object[_0x3c50f2(0x186)](_0xf876e8);},_0x29831e[_0x1973d5(0x1e5)]['__esModule']=!0x0,_0x29831e[_0x1973d5(0x1e5)][_0x1973d5(0xd1)]=_0x29831e['exports'],_0x36f89f(_0x5aab0b);}_0x29831e[_0x302193(0x1e5)]=_0x36f89f,_0x29831e[_0x302193(0x1e5)][_0x302193(0x18c)]=!0x0,_0x29831e[_0x302193(0x1e5)][_0x302193(0xd1)]=_0x29831e[_0x302193(0x1e5)];},function(_0x29c9f2,_0x4bdb6b,_0x2f6936){var _0xcb85b=a0_0x54e0cc,_0x524936=_0x2f6936(0x11);_0x29c9f2[_0xcb85b(0x1e5)]=function(_0x34cac6,_0x10cd3f){var _0x1a73b8=_0xcb85b;if(_0x1a73b8(0x148)!=typeof _0x10cd3f&&null!==_0x10cd3f)throw new TypeError(_0x1a73b8(0x1a6));Object[_0x1a73b8(0x210)](_0x34cac6,'prototype',{'value':Object[_0x1a73b8(0x1d6)](_0x10cd3f&&_0x10cd3f[_0x1a73b8(0x212)],{'constructor':{'value':_0x34cac6,'writable':!0x0,'configurable':!0x0}}),'writable':!0x1}),_0x10cd3f&&_0x524936(_0x34cac6,_0x10cd3f);},_0x29c9f2[_0xcb85b(0x1e5)][_0xcb85b(0x18c)]=!0x0,_0x29c9f2[_0xcb85b(0x1e5)][_0xcb85b(0xd1)]=_0x29c9f2[_0xcb85b(0x1e5)];},function(_0x3daf07,_0x4fbbfe,_0x4b1512){var _0x374375=a0_0x54e0cc,_0x40f444=_0x4b1512(0x12)[_0x374375(0xd1)],_0x21bb16=_0x4b1512(0x13);_0x3daf07[_0x374375(0x1e5)]=function(_0xd2f540,_0x135a57){var _0x4631ed=_0x374375;if(_0x135a57&&(_0x4631ed(0x12f)===_0x40f444(_0x135a57)||'function'==typeof _0x135a57))return _0x135a57;if(void 0x0!==_0x135a57)throw new TypeError(_0x4631ed(0x125));return _0x21bb16(_0xd2f540);},_0x3daf07[_0x374375(0x1e5)]['__esModule']=!0x0,_0x3daf07[_0x374375(0x1e5)][_0x374375(0xd1)]=_0x3daf07[_0x374375(0x1e5)];},function(_0x15b131,_0x198ff8){_0x15b131['exports']='attribute\x20vec3\x20position;\x0d\x0aattribute\x20vec2\x20st;\x0d\x0a\x0d\x0avarying\x20vec2\x20textureCoordinate;\x0d\x0a\x0d\x0avoid\x20main()\x20{\x0d\x0a\x20\x20\x20\x20textureCoordinate\x20=\x20st;\x0d\x0a\x20\x20\x20\x20gl_Position\x20=\x20vec4(position,\x201.0);\x0d\x0a}';},function(_0x2be0dc,_0x1e9125){var _0x3a6940=a0_0x54e0cc;_0x2be0dc[_0x3a6940(0x1e5)]=_0x3a6940(0xf1);},function(_0x6bd342,_0x14a499){var _0x4804cc=a0_0x54e0cc;_0x6bd342[_0x4804cc(0x1e5)]='uniform\x20sampler2D\x20colorTable;\x0a\x0avarying\x20float\x20speedNormalization;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20texture2D(colorTable,\x20vec2(speedNormalization,\x200.0));\x0a}';},function(_0x4e2590,_0x5554f1){var _0x47b9eb=a0_0x54e0cc;_0x4e2590['exports']=_0x47b9eb(0x1e7);},function(_0x1c2187,_0x466e33){var _0x35125a=a0_0x54e0cc;_0x1c2187[_0x35125a(0x1e5)]='uniform\x20sampler2D\x20trailsColorTexture;\x0d\x0auniform\x20sampler2D\x20trailsDepthTexture;\x0d\x0a\x0d\x0avarying\x20vec2\x20textureCoordinate;\x0d\x0a\x0d\x0avoid\x20main()\x20{\x0d\x0a\x20\x20\x20\x20vec4\x20trailsColor\x20=\x20texture2D(trailsColorTexture,\x20textureCoordinate);\x0d\x0a\x20\x20\x20\x20float\x20trailsDepth\x20=\x20texture2D(trailsDepthTexture,\x20textureCoordinate).r;\x0d\x0a\x20\x20\x20\x20float\x20globeDepth\x20=\x20czm_unpackDepth(texture2D(czm_globeDepthTexture,\x20textureCoordinate));\x0d\x0a\x0d\x0a\x20\x20\x20\x20if\x20(trailsDepth\x20<\x20globeDepth)\x20{\x0d\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20trailsColor;\x0d\x0a\x20\x20\x20\x20}\x20else\x20{\x0d\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(0.0);\x0d\x0a\x20\x20\x20\x20}\x0d\x0a}';},function(_0xd7e6a7,_0x208be4){var _0x4790a8=a0_0x54e0cc;_0xd7e6a7[_0x4790a8(0x1e5)]=_0x4790a8(0x200);},function(_0x397b7e,_0x2f3197){var _0x2b4616=a0_0x54e0cc;_0x397b7e[_0x2b4616(0x1e5)]=_0x2b4616(0x1ce);},function(_0x425440,_0x2670cd){var _0x1c1b8b=a0_0x54e0cc;_0x425440[_0x1c1b8b(0x1e5)]='uniform\x20sampler2D\x20currentParticlesPosition;\x20//\x20(lon,\x20lat,\x20lev)\x0auniform\x20sampler2D\x20currentParticlesSpeed;\x20//\x20(u,\x20v,\x20w,\x20normalization)\x0a\x0avarying\x20vec2\x20v_textureCoordinates;\x0a\x0avec2\x20lengthOfLonLat(vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20//\x20unit\x20conversion:\x20meters\x20->\x20longitude\x20latitude\x20degrees\x0a\x20\x20\x20\x20//\x20see\x20https://en.wikipedia.org/wiki/Geographic_coordinate_system#Length_of_a_degree\x20for\x20detail\x0a\x0a\x20\x20\x20\x20//\x20Calculate\x20the\x20length\x20of\x20a\x20degree\x20of\x20latitude\x20and\x20longitude\x20in\x20meters\x0a\x20\x20\x20\x20float\x20latitude\x20=\x20radians(lonLatLev.y);\x0a\x0a\x20\x20\x20\x20float\x20term1\x20=\x20111132.92;\x0a\x20\x20\x20\x20float\x20term2\x20=\x20559.82\x20*\x20cos(2.0\x20*\x20latitude);\x0a\x20\x20\x20\x20float\x20term3\x20=\x201.175\x20*\x20cos(4.0\x20*\x20latitude);\x0a\x20\x20\x20\x20float\x20term4\x20=\x200.0023\x20*\x20cos(6.0\x20*\x20latitude);\x0a\x20\x20\x20\x20float\x20latLength\x20=\x20term1\x20-\x20term2\x20+\x20term3\x20-\x20term4;\x0a\x0a\x20\x20\x20\x20float\x20term5\x20=\x20111412.84\x20*\x20cos(latitude);\x0a\x20\x20\x20\x20float\x20term6\x20=\x2093.5\x20*\x20cos(3.0\x20*\x20latitude);\x0a\x20\x20\x20\x20float\x20term7\x20=\x200.118\x20*\x20cos(5.0\x20*\x20latitude);\x0a\x20\x20\x20\x20float\x20longLength\x20=\x20term5\x20-\x20term6\x20+\x20term7;\x0a\x0a\x20\x20\x20\x20return\x20vec2(longLength,\x20latLength);\x0a}\x0a\x0avoid\x20updatePosition(vec3\x20lonLatLev,\x20vec3\x20speed)\x20{\x0a\x20\x20\x20\x20vec2\x20lonLatLength\x20=\x20lengthOfLonLat(lonLatLev);\x0a\x20\x20\x20\x20float\x20u\x20=\x20speed.x\x20/\x20lonLatLength.x;\x0a\x20\x20\x20\x20float\x20v\x20=\x20speed.y\x20/\x20lonLatLength.y;\x0a\x20\x20\x20\x20float\x20w\x20=\x200.0;\x0a\x20\x20\x20\x20vec3\x20windVectorInLonLatLev\x20=\x20vec3(u,\x20v,\x20w);\x0a\x0a\x20\x20\x20\x20vec3\x20nextParticle\x20=\x20lonLatLev\x20+\x20windVectorInLonLatLev;\x0a\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(nextParticle,\x200.0);\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20//\x20texture\x20coordinate\x20must\x20be\x20normalized\x0a\x20\x20\x20\x20vec3\x20lonLatLev\x20=\x20texture2D(currentParticlesPosition,\x20v_textureCoordinates).rgb;\x0a\x20\x20\x20\x20vec3\x20speed\x20=\x20texture2D(currentParticlesSpeed,\x20v_textureCoordinates).rgb;\x0a\x0a\x20\x20\x20\x20updatePosition(lonLatLev,\x20speed);\x0a}';},function(_0x363513,_0x4377dd){var _0x295367=a0_0x54e0cc;_0x363513[_0x295367(0x1e5)]='uniform\x20sampler2D\x20nextParticlesPosition;\x0auniform\x20sampler2D\x20nextParticlesSpeed;\x20//\x20(u,\x20v,\x20w,\x20normalization)\x0a\x0a//\x20range\x20(min,\x20max)\x0auniform\x20vec2\x20lonRange;\x0auniform\x20vec2\x20latRange;\x0a\x0auniform\x20float\x20randomCoefficient;\x20//\x20use\x20to\x20improve\x20the\x20pseudo-random\x20generator\x0auniform\x20float\x20dropRate;\x20//\x20drop\x20rate\x20is\x20a\x20chance\x20a\x20particle\x20will\x20restart\x20at\x20random\x20position\x20to\x20avoid\x20degeneration\x0auniform\x20float\x20dropRateBump;\x0a\x0avarying\x20vec2\x20v_textureCoordinates;\x0a\x0a//\x20pseudo-random\x20generator\x0aconst\x20vec3\x20randomConstants\x20=\x20vec3(12.9898,\x2078.233,\x204375.85453);\x0aconst\x20vec2\x20normalRange\x20=\x20vec2(0.0,\x201.0);\x0afloat\x20rand(vec2\x20seed,\x20vec2\x20range)\x20{\x0a\x20\x20\x20\x20vec2\x20randomSeed\x20=\x20randomCoefficient\x20*\x20seed;\x0a\x20\x20\x20\x20float\x20temp\x20=\x20dot(randomConstants.xy,\x20randomSeed);\x0a\x20\x20\x20\x20temp\x20=\x20fract(sin(temp)\x20*\x20(randomConstants.z\x20+\x20temp));\x0a\x20\x20\x20\x20return\x20temp\x20*\x20(range.y\x20-\x20range.x)\x20+\x20range.x;\x0a}\x0a\x0avec3\x20generateRandomParticle(vec2\x20seed,\x20float\x20lev)\x20{\x0a\x20\x20\x20\x20//\x20ensure\x20the\x20longitude\x20is\x20in\x20[0,\x20360]\x0a\x20\x20\x20\x20float\x20randomLon\x20=\x20mod(rand(seed,\x20lonRange),\x20360.0);\x0a\x20\x20\x20\x20float\x20randomLat\x20=\x20rand(-seed,\x20latRange);\x0a\x0a\x20\x20\x20\x20return\x20vec3(randomLon,\x20randomLat,\x20lev);\x0a}\x0a\x0abool\x20particleOutbound(vec3\x20particle)\x20{\x0a\x20\x20\x20\x20return\x20particle.y\x20<\x20-90.0\x20||\x20particle.y\x20>\x2090.0;\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20vec3\x20nextParticle\x20=\x20texture2D(nextParticlesPosition,\x20v_textureCoordinates).rgb;\x0a\x20\x20\x20\x20vec4\x20nextSpeed\x20=\x20texture2D(nextParticlesSpeed,\x20v_textureCoordinates);\x0a\x20\x20\x20\x20float\x20particleDropRate\x20=\x20dropRate\x20+\x20dropRateBump\x20*\x20nextSpeed.a;\x0a\x0a\x20\x20\x20\x20vec2\x20seed1\x20=\x20nextParticle.xy\x20+\x20v_textureCoordinates;\x0a\x20\x20\x20\x20vec2\x20seed2\x20=\x20nextSpeed.xy\x20+\x20v_textureCoordinates;\x0a\x20\x20\x20\x20vec3\x20randomParticle\x20=\x20generateRandomParticle(seed1,\x20nextParticle.z);\x0a\x20\x20\x20\x20float\x20randomNumber\x20=\x20rand(seed2,\x20normalRange);\x0a\x0a\x20\x20\x20\x20if\x20(randomNumber\x20<\x20particleDropRate\x20||\x20particleOutbound(nextParticle))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(randomParticle,\x201.0);\x20//\x201.0\x20means\x20this\x20is\x20a\x20random\x20particle\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(nextParticle,\x200.0);\x0a\x20\x20\x20\x20}\x0a}';},function(_0x31b8c9,_0x3d4686){var _0x2ce27a=a0_0x54e0cc;_0x31b8c9[_0x2ce27a(0x1e5)]=_0x2ce27a(0x142);},function(_0x14a1be,_0xba49fe){var _0x2f665e=a0_0x54e0cc;function _0x5b5344(_0x16383f,_0x2cb941){var _0x2e3b48=a0_0x3080;return _0x14a1be[_0x2e3b48(0x1e5)]=_0x5b5344=Object[_0x2e3b48(0x194)]||function(_0x5b5672,_0x4eb9a3){return _0x5b5672['__proto__']=_0x4eb9a3,_0x5b5672;},_0x14a1be[_0x2e3b48(0x1e5)][_0x2e3b48(0x18c)]=!0x0,_0x14a1be['exports'][_0x2e3b48(0xd1)]=_0x14a1be[_0x2e3b48(0x1e5)],_0x5b5344(_0x16383f,_0x2cb941);}_0x14a1be['exports']=_0x5b5344,_0x14a1be[_0x2f665e(0x1e5)]['__esModule']=!0x0,_0x14a1be[_0x2f665e(0x1e5)][_0x2f665e(0xd1)]=_0x14a1be[_0x2f665e(0x1e5)];},function(_0x56e51a,_0x44716d){var _0x5835d4=a0_0x54e0cc;function _0x26d5ef(_0x3f0aea){var _0x476b8a=a0_0x3080;return _0x56e51a['exports']=_0x26d5ef=_0x476b8a(0x148)==typeof Symbol&&_0x476b8a(0x162)==typeof Symbol[_0x476b8a(0x1bf)]?function(_0x4ae63f){return typeof _0x4ae63f;}:function(_0x42eba4){var _0x4456af=_0x476b8a;return _0x42eba4&&_0x4456af(0x148)==typeof Symbol&&_0x42eba4[_0x4456af(0x1ae)]===Symbol&&_0x42eba4!==Symbol['prototype']?'symbol':typeof _0x42eba4;},_0x56e51a['exports']['__esModule']=!0x0,_0x56e51a[_0x476b8a(0x1e5)]['default']=_0x56e51a[_0x476b8a(0x1e5)],_0x26d5ef(_0x3f0aea);}_0x56e51a[_0x5835d4(0x1e5)]=_0x26d5ef,_0x56e51a[_0x5835d4(0x1e5)]['__esModule']=!0x0,_0x56e51a[_0x5835d4(0x1e5)][_0x5835d4(0xd1)]=_0x56e51a[_0x5835d4(0x1e5)];},function(_0x55058a,_0x4095c5){var _0x123d2b=a0_0x54e0cc;_0x55058a[_0x123d2b(0x1e5)]=function(_0x5df09c){var _0x53b286=_0x123d2b;if(void 0x0===_0x5df09c)throw new ReferenceError(_0x53b286(0x10e));return _0x5df09c;},_0x55058a['exports'][_0x123d2b(0x18c)]=!0x0,_0x55058a[_0x123d2b(0x1e5)][_0x123d2b(0xd1)]=_0x55058a[_0x123d2b(0x1e5)];},function(_0x554609,_0x49761f,_0xb5204c){'use strict';var _0x3a7e93=a0_0x54e0cc;_0xb5204c['r'](_0x49761f),_0xb5204c['d'](_0x49761f,_0x3a7e93(0xd3),function(){return _0xef4d27;}),_0xb5204c['d'](_0x49761f,'CanvasWindLayer',function(){return _0x23a533;}),_0xb5204c['d'](_0x49761f,_0x3a7e93(0x1fd),function(){return _0x4b17ad;});var _0x4b17ad={};_0xb5204c['r'](_0x4b17ad),_0xb5204c['d'](_0x4b17ad,_0x3a7e93(0xe4),function(){return _0x1285d4;}),_0xb5204c['d'](_0x4b17ad,_0x3a7e93(0xcf),function(){return _0x14defd;}),_0xb5204c['d'](_0x4b17ad,_0x3a7e93(0x1ab),function(){return _0x2206a4;}),_0xb5204c['d'](_0x4b17ad,_0x3a7e93(0xc6),function(){return _0xf9eb2e;});var _0x528b06=_0xb5204c(0x1),_0x5aea29=_0xb5204c(0x2),_0x58aa3b=_0xb5204c['n'](_0x5aea29),_0x3b5779=_0xb5204c(0x3),_0x35c165=_0xb5204c['n'](_0x3b5779),_0x15223b=_0xb5204c(0x5),_0x358492=_0xb5204c['n'](_0x15223b),_0x185886=_0xb5204c(0x6),_0x617ddc=_0xb5204c['n'](_0x185886),_0x4ccd39=_0xb5204c(0x4),_0x631931=_0xb5204c['n'](_0x4ccd39),_0x2bfd05=_0xb5204c(0x0),_0x1748b0=(function(){var _0x340991=_0x3a7e93;function _0x5efbe6(_0x53a065){var _0x101468=a0_0x3080;_0x58aa3b()(this,_0x5efbe6),this['commandType']=_0x53a065[_0x101468(0x199)],this[_0x101468(0xfd)]=_0x53a065[_0x101468(0xfd)],this[_0x101468(0x174)]=_0x53a065[_0x101468(0x174)],this[_0x101468(0x1b4)]=_0x53a065[_0x101468(0x1b4)],this[_0x101468(0x100)]=_0x53a065['uniformMap'],this[_0x101468(0x21d)]=_0x53a065['vertexShaderSource'],this[_0x101468(0xd0)]=_0x53a065[_0x101468(0xd0)],this['rawRenderState']=_0x53a065[_0x101468(0xfa)],this['framebuffer']=_0x53a065[_0x101468(0x10a)],this[_0x101468(0x1f7)]=_0x53a065['outputTexture'],this[_0x101468(0x172)]=_0x2bfd05[_0x101468(0x20b)](_0x53a065['autoClear'],!0x1),this[_0x101468(0x156)]=_0x53a065[_0x101468(0x156)],this[_0x101468(0x187)]=!0x0,this[_0x101468(0x17e)]=void 0x0,this['clearCommand']=void 0x0,this[_0x101468(0x172)]&&(this[_0x101468(0xd8)]=new _0x2bfd05[(_0x101468(0x1cf))]({'color':new _0x2bfd05[(_0x101468(0x226))](0x0,0x0,0x0,0x0),'depth':0x1,'framebuffer':this[_0x101468(0x10a)],'pass':_0x2bfd05[_0x101468(0xf8)][_0x101468(0x22f)]}));}return _0x35c165()(_0x5efbe6,[{'key':_0x340991(0x1be),'value':function(_0x38b4ed){var _0x26f918=_0x340991;switch(this['commandType']){case _0x26f918(0xe7):var _0x308c82=_0x2bfd05[_0x26f918(0x1d1)]['fromGeometry']({'context':_0x38b4ed,'geometry':this[_0x26f918(0xfd)],'attributeLocations':this[_0x26f918(0x174)],'bufferUsage':_0x2bfd05['BufferUsage']['STATIC_DRAW']}),_0x2c0d42=_0x2bfd05[_0x26f918(0x222)][_0x26f918(0xc5)]({'context':_0x38b4ed,'attributeLocations':this[_0x26f918(0x174)],'vertexShaderSource':this[_0x26f918(0x21d)],'fragmentShaderSource':this[_0x26f918(0xd0)]}),_0x51a1df=_0x2bfd05[_0x26f918(0x19e)][_0x26f918(0xc5)](this[_0x26f918(0xfa)]);return new _0x2bfd05[(_0x26f918(0x1b1))]({'owner':this,'vertexArray':_0x308c82,'primitiveType':this['primitiveType'],'uniformMap':this[_0x26f918(0x100)],'modelMatrix':_0x2bfd05['Matrix4']['IDENTITY'],'shaderProgram':_0x2c0d42,'framebuffer':this[_0x26f918(0x10a)],'renderState':_0x51a1df,'pass':_0x2bfd05['Pass'][_0x26f918(0x22f)]});case _0x26f918(0x21c):return new _0x2bfd05[(_0x26f918(0x104))]({'owner':this,'fragmentShaderSource':this[_0x26f918(0xd0)],'uniformMap':this[_0x26f918(0x100)],'outputTexture':this[_0x26f918(0x1f7)],'persists':!0x0});}}},{'key':_0x340991(0x140),'value':function(_0x36715b,_0x5278e2){var _0x2fbd45=_0x340991;this[_0x2fbd45(0xfd)]=_0x5278e2;var _0x4800e7=_0x2bfd05[_0x2fbd45(0x1d1)][_0x2fbd45(0x127)]({'context':_0x36715b,'geometry':this[_0x2fbd45(0xfd)],'attributeLocations':this['attributeLocations'],'bufferUsage':_0x2bfd05[_0x2fbd45(0x234)][_0x2fbd45(0x103)]});this[_0x2fbd45(0x17e)][_0x2fbd45(0xff)]=_0x4800e7;}},{'key':'update','value':function(_0x10a300){var _0x190461=_0x340991;this[_0x190461(0x187)]&&_0x10a300[_0x190461(0x18a)]==_0x2bfd05[_0x190461(0x1f8)][_0x190461(0x184)]&&(_0x2bfd05[_0x190461(0x183)](this[_0x190461(0x17e)])||(this['commandToExecute']=this[_0x190461(0x1be)](_0x10a300[_0x190461(0x15e)])),_0x2bfd05[_0x190461(0x183)](this[_0x190461(0x156)])&&this[_0x190461(0x156)](),_0x2bfd05['defined'](this[_0x190461(0xd8)])&&_0x10a300[_0x190461(0x20a)][_0x190461(0x15b)](this[_0x190461(0xd8)]),_0x10a300[_0x190461(0x20a)]['push'](this['commandToExecute']));}},{'key':_0x340991(0x14b),'value':function(){return!0x1;}},{'key':_0x340991(0x175),'value':function(){var _0x3f5b61=_0x340991;return _0x2bfd05['defined'](this[_0x3f5b61(0x17e)])&&(this[_0x3f5b61(0x17e)][_0x3f5b61(0xfe)]=this[_0x3f5b61(0x17e)][_0x3f5b61(0xfe)]&&this[_0x3f5b61(0x17e)]['shaderProgram'][_0x3f5b61(0x175)]()),_0x2bfd05[_0x3f5b61(0x129)](this);}}]),_0x5efbe6;}()),_0x5cc9ad={'getFullscreenQuad':function(){var _0xda2e55=_0x3a7e93;return new _0x2bfd05[(_0xda2e55(0x1cc))]({'attributes':new _0x2bfd05[(_0xda2e55(0x1cb))]({'position':new _0x2bfd05[(_0xda2e55(0xed))]({'componentDatatype':_0x2bfd05[_0xda2e55(0x133)][_0xda2e55(0x1ef)],'componentsPerAttribute':0x3,'values':new Float32Array([-0x1,-0x1,0x0,0x1,-0x1,0x0,0x1,0x1,0x0,-0x1,0x1,0x0])}),'st':new _0x2bfd05[(_0xda2e55(0xed))]({'componentDatatype':_0x2bfd05['ComponentDatatype'][_0xda2e55(0x1ef)],'componentsPerAttribute':0x2,'values':new Float32Array([0x0,0x0,0x1,0x0,0x1,0x1,0x0,0x1])})}),'indices':new Uint32Array([0x3,0x2,0x0,0x0,0x2,0x1])});},'createTexture':function(_0x185994,_0x402f44){var _0x17568b=_0x3a7e93;if(_0x2bfd05[_0x17568b(0x183)](_0x402f44)){var _0xe707b9={};_0xe707b9[_0x17568b(0x101)]=_0x402f44,_0x185994['source']=_0xe707b9;}return new _0x2bfd05[(_0x17568b(0x218))](_0x185994);},'createFramebuffer':function(_0x48dc9e,_0x12436e,_0x495aec){var _0x27f526=_0x3a7e93;return new _0x2bfd05[(_0x27f526(0x102))]({'context':_0x48dc9e,'colorTextures':[_0x12436e],'depthTexture':_0x495aec});},'createRawRenderState':function(_0x46350b){var _0x50b721=_0x3a7e93,_0x3c9f5a={'viewport':_0x46350b[_0x50b721(0x163)],'depthTest':_0x46350b['depthTest'],'depthMask':_0x46350b[_0x50b721(0x112)],'blending':_0x46350b[_0x50b721(0xcd)]};return _0x2bfd05[_0x50b721(0x11c)][_0x50b721(0x131)](!0x0,!0x1,_0x3c9f5a);},'viewRectangleToLonLatRange':function(_0x58e9ab){var _0x1eb5ee=_0x3a7e93,_0x505939,_0x2eea13,_0x1cc738={},_0x106c73=_0x2bfd05[_0x1eb5ee(0x1d2)][_0x1eb5ee(0x229)](_0x58e9ab[_0x1eb5ee(0x13c)],_0x2bfd05[_0x1eb5ee(0x1d2)][_0x1eb5ee(0x1f9)]),_0xb31007=_0x2bfd05['Math'][_0x1eb5ee(0x229)](_0x58e9ab['east'],_0x2bfd05[_0x1eb5ee(0x1d2)][_0x1eb5ee(0x1f9)]),_0x453f8e=_0x58e9ab[_0x1eb5ee(0x16d)];_0x453f8e>_0x2bfd05[_0x1eb5ee(0x1d2)]['THREE_PI_OVER_TWO']?(_0x505939=0x0,_0x2eea13=_0x2bfd05['Math'][_0x1eb5ee(0x1f9)]):_0xb31007-_0x106c73<_0x453f8e?(_0x505939=_0x106c73,_0x2eea13=_0x106c73+_0x453f8e):(_0x505939=_0x106c73,_0x2eea13=_0xb31007),_0x1cc738[_0x1eb5ee(0x189)]={'min':_0x2bfd05[_0x1eb5ee(0x1d2)]['toDegrees'](_0x505939),'max':_0x2bfd05[_0x1eb5ee(0x1d2)]['toDegrees'](_0x2eea13)};var _0x5aa5a7=_0x58e9ab['south'],_0x329db1=_0x58e9ab[_0x1eb5ee(0xc9)],_0x175474=_0x58e9ab[_0x1eb5ee(0x228)],_0x14ac69=_0x175474>_0x2bfd05[_0x1eb5ee(0x1d2)]['PI']/0xc?_0x175474/0x2:0x0,_0x1bce4d=_0x2bfd05[_0x1eb5ee(0x1d2)][_0x1eb5ee(0xcc)](_0x5aa5a7-_0x14ac69),_0x17cc06=_0x2bfd05[_0x1eb5ee(0x1d2)]['clampToLatitudeRange'](_0x329db1+_0x14ac69);return _0x1bce4d<-_0x2bfd05['Math'][_0x1eb5ee(0x171)]&&(_0x1bce4d=-_0x2bfd05[_0x1eb5ee(0x1d2)][_0x1eb5ee(0xec)]),_0x17cc06>_0x2bfd05[_0x1eb5ee(0x1d2)][_0x1eb5ee(0x171)]&&(_0x17cc06=_0x2bfd05[_0x1eb5ee(0x1d2)]['PI_OVER_TWO']),_0x1cc738['lat']={'min':_0x2bfd05[_0x1eb5ee(0x1d2)][_0x1eb5ee(0x11a)](_0x1bce4d),'max':_0x2bfd05[_0x1eb5ee(0x1d2)][_0x1eb5ee(0x11a)](_0x17cc06)},_0x1cc738;}},_0x438c65=_0xb5204c(0x8),_0x164117=_0xb5204c['n'](_0x438c65),_0x26910d=_0xb5204c(0x9),_0x191d4c=_0xb5204c['n'](_0x26910d),_0x3cd3ed=_0xb5204c(0x7),_0x4b4ad2=_0xb5204c['n'](_0x3cd3ed),_0x34f28d=_0xb5204c(0xa),_0x91304f=_0xb5204c['n'](_0x34f28d),_0x2228e2=_0xb5204c(0xb),_0x5687f0=_0xb5204c['n'](_0x2228e2),_0xb2ff=(function(){var _0x2a3d67=_0x3a7e93;function _0x30b0bc(_0x3e114a,_0x127aff,_0x2a225d,_0x35d355,_0x484b1e){var _0x22a004=a0_0x3080;_0x58aa3b()(this,_0x30b0bc),this[_0x22a004(0x1c6)](_0x3e114a,_0x127aff),this[_0x22a004(0x1a3)](_0x3e114a),this[_0x22a004(0x155)](_0x3e114a,_0x2a225d,_0x35d355,_0x484b1e);}return _0x35c165()(_0x30b0bc,[{'key':'createRenderingTextures','value':function(_0x15d44d,_0x93af7){var _0x12e844=a0_0x3080,_0x5ccab8={'context':_0x15d44d,'width':_0x15d44d['drawingBufferWidth'],'height':_0x15d44d[_0x12e844(0x16c)],'pixelFormat':_0x2bfd05['PixelFormat'][_0x12e844(0x16a)],'pixelDatatype':_0x2bfd05[_0x12e844(0xd4)][_0x12e844(0x13e)]},_0x1e760f={'context':_0x15d44d,'width':_0x15d44d[_0x12e844(0x17a)],'height':_0x15d44d[_0x12e844(0x16c)],'pixelFormat':_0x2bfd05['PixelFormat'][_0x12e844(0x1c7)],'pixelDatatype':_0x2bfd05['PixelDatatype'][_0x12e844(0xe0)]},_0x212c46={'context':_0x15d44d,'width':_0x93af7['colorTable'][_0x12e844(0x13b)],'height':0x1,'pixelFormat':_0x2bfd05[_0x12e844(0xdf)][_0x12e844(0x113)],'pixelDatatype':_0x2bfd05[_0x12e844(0xd4)][_0x12e844(0x1ef)],'sampler':new _0x2bfd05[(_0x12e844(0x1d9))]({'minificationFilter':_0x2bfd05['TextureMinificationFilter'][_0x12e844(0x1eb)],'magnificationFilter':_0x2bfd05['TextureMagnificationFilter'][_0x12e844(0x1eb)]})};this[_0x12e844(0x223)]={'segmentsColor':_0x5cc9ad[_0x12e844(0x1da)](_0x5ccab8),'segmentsDepth':_0x5cc9ad[_0x12e844(0x1da)](_0x1e760f),'currentTrailsColor':_0x5cc9ad[_0x12e844(0x1da)](_0x5ccab8),'currentTrailsDepth':_0x5cc9ad[_0x12e844(0x1da)](_0x1e760f),'nextTrailsColor':_0x5cc9ad['createTexture'](_0x5ccab8),'nextTrailsDepth':_0x5cc9ad['createTexture'](_0x1e760f),'colorTable':_0x5cc9ad['createTexture'](_0x212c46,_0x93af7[_0x12e844(0x1de)][_0x12e844(0x15f)])};}},{'key':_0x2a3d67(0x1a3),'value':function(_0x5ac3c0){var _0x5c0fa5=_0x2a3d67;this['framebuffers']={'segments':_0x5cc9ad[_0x5c0fa5(0x1e0)](_0x5ac3c0,this[_0x5c0fa5(0x223)][_0x5c0fa5(0x1b0)],this[_0x5c0fa5(0x223)]['segmentsDepth']),'currentTrails':_0x5cc9ad[_0x5c0fa5(0x1e0)](_0x5ac3c0,this[_0x5c0fa5(0x223)][_0x5c0fa5(0x1af)],this[_0x5c0fa5(0x223)]['currentTrailsDepth']),'nextTrails':_0x5cc9ad['createFramebuffer'](_0x5ac3c0,this[_0x5c0fa5(0x223)]['nextTrailsColor'],this[_0x5c0fa5(0x223)][_0x5c0fa5(0x219)])};}},{'key':'createSegmentsGeometry','value':function(_0x1137ee){var _0x58d540=_0x2a3d67;for(var _0x408537=[],_0x1098d0=0x0;_0x1098d0<_0x1137ee[_0x58d540(0x130)];_0x1098d0++)for(var _0x57f759=0x0;_0x57f759<_0x1137ee['particlesTextureSize'];_0x57f759++)for(var _0x189550=0x0;_0x189550<0x4;_0x189550++)_0x408537[_0x58d540(0x15b)](_0x1098d0/_0x1137ee[_0x58d540(0x130)]),_0x408537[_0x58d540(0x15b)](_0x57f759/_0x1137ee[_0x58d540(0x130)]);_0x408537=new Float32Array(_0x408537);for(var _0x465ad3=[],_0x2ed2e3=[-0x1,0x1],_0x5b096e=[-0x1,0x1],_0x1429ad=0x0;_0x1429ad<_0x1137ee['maxParticles'];_0x1429ad++)for(var _0x167b66=0x0;_0x167b66<0x2;_0x167b66++)for(var _0x38f321=0x0;_0x38f321<0x2;_0x38f321++)_0x465ad3[_0x58d540(0x15b)](_0x2ed2e3[_0x167b66]),_0x465ad3[_0x58d540(0x15b)](_0x5b096e[_0x38f321]),_0x465ad3[_0x58d540(0x15b)](0x0);_0x465ad3=new Float32Array(_0x465ad3);for(var _0x4d6954=0x6*_0x1137ee[_0x58d540(0x178)],_0x25641b=new Uint32Array(_0x4d6954),_0x2d27d2=0x0,_0x113849=0x0,_0x707b8d=0x0;_0x2d27d2<_0x1137ee[_0x58d540(0x178)];_0x2d27d2++)_0x25641b[_0x113849++]=_0x707b8d+0x0,_0x25641b[_0x113849++]=_0x707b8d+0x1,_0x25641b[_0x113849++]=_0x707b8d+0x2,_0x25641b[_0x113849++]=_0x707b8d+0x2,_0x25641b[_0x113849++]=_0x707b8d+0x1,_0x25641b[_0x113849++]=_0x707b8d+0x3,_0x707b8d+=0x4;return new _0x2bfd05[(_0x58d540(0x1cc))]({'attributes':new _0x2bfd05['GeometryAttributes']({'st':new _0x2bfd05['GeometryAttribute']({'componentDatatype':_0x2bfd05[_0x58d540(0x133)][_0x58d540(0x1ef)],'componentsPerAttribute':0x2,'values':_0x408537}),'normal':new _0x2bfd05[(_0x58d540(0xed))]({'componentDatatype':_0x2bfd05[_0x58d540(0x133)][_0x58d540(0x1ef)],'componentsPerAttribute':0x3,'values':_0x465ad3})}),'indices':_0x25641b});}},{'key':'createRenderingPrimitives','value':function(_0x18b0e4,_0x9a8ae0,_0x4b13a9,_0x307a34){var _0x5e6579=_0x2a3d67,_0x1f6e6f=this;this[_0x5e6579(0x12d)]={'segments':new _0x1748b0({'commandType':_0x5e6579(0xe7),'attributeLocations':{'st':0x0,'normal':0x1},'geometry':this['createSegmentsGeometry'](_0x9a8ae0),'primitiveType':_0x2bfd05[_0x5e6579(0x224)][_0x5e6579(0x193)],'uniformMap':{'currentParticlesPosition':function(){return _0x307a34['particlesTextures']['currentParticlesPosition'];},'postProcessingPosition':function(){var _0x26b842=_0x5e6579;return _0x307a34[_0x26b842(0x1d5)]['postProcessingPosition'];},'postProcessingSpeed':function(){var _0x220291=_0x5e6579;return _0x307a34[_0x220291(0x1d5)]['postProcessingSpeed'];},'colorTable':function(){var _0x41dd8c=_0x5e6579;return _0x1f6e6f['textures'][_0x41dd8c(0x1de)];},'aspect':function(){var _0x40f8b2=_0x5e6579;return _0x18b0e4[_0x40f8b2(0x17a)]/_0x18b0e4['drawingBufferHeight'];},'pixelSize':function(){return _0x4b13a9['pixelSize'];},'lineWidth':function(){var _0x179f9b=_0x5e6579;return _0x9a8ae0[_0x179f9b(0x1a9)];},'particleHeight':function(){var _0x358b91=_0x5e6579;return _0x9a8ae0[_0x358b91(0x1f3)];}},'vertexShaderSource':new _0x2bfd05[(_0x5e6579(0x19f))]({'sources':[_0x164117['a']]}),'fragmentShaderSource':new _0x2bfd05[(_0x5e6579(0x19f))]({'sources':[_0x191d4c['a']]}),'rawRenderState':_0x5cc9ad['createRawRenderState']({'viewport':void 0x0,'depthTest':{'enabled':!0x0},'depthMask':!0x0}),'framebuffer':this[_0x5e6579(0xe6)][_0x5e6579(0x173)],'autoClear':!0x0}),'trails':new _0x1748b0({'commandType':_0x5e6579(0xe7),'attributeLocations':{'position':0x0,'st':0x1},'geometry':_0x5cc9ad[_0x5e6579(0x147)](),'primitiveType':_0x2bfd05[_0x5e6579(0x224)][_0x5e6579(0x193)],'uniformMap':{'segmentsColorTexture':function(){var _0x4c980d=_0x5e6579;return _0x1f6e6f[_0x4c980d(0x223)][_0x4c980d(0x1b0)];},'segmentsDepthTexture':function(){var _0xc0cf81=_0x5e6579;return _0x1f6e6f['textures'][_0xc0cf81(0x16e)];},'currentTrailsColor':function(){var _0x21afdf=_0x5e6579;return _0x1f6e6f['framebuffers'][_0x21afdf(0x14d)][_0x21afdf(0x10d)](0x0);},'trailsDepthTexture':function(){var _0x3b1ad3=_0x5e6579;return _0x1f6e6f[_0x3b1ad3(0xe6)][_0x3b1ad3(0x14d)][_0x3b1ad3(0x1cd)];},'fadeOpacity':function(){var _0x4be037=_0x5e6579;return _0x9a8ae0[_0x4be037(0x1bb)];}},'vertexShaderSource':new _0x2bfd05[(_0x5e6579(0x19f))]({'defines':[_0x5e6579(0x22b)],'sources':[_0x4b4ad2['a']]}),'fragmentShaderSource':new _0x2bfd05[(_0x5e6579(0x19f))]({'defines':[_0x5e6579(0x190)],'sources':[_0x91304f['a']]}),'rawRenderState':_0x5cc9ad[_0x5e6579(0x12a)]({'viewport':void 0x0,'depthTest':{'enabled':!0x0,'func':_0x2bfd05[_0x5e6579(0x1f4)][_0x5e6579(0x124)]},'depthMask':!0x0}),'framebuffer':this['framebuffers']['nextTrails'],'autoClear':!0x0,'preExecute':function(){var _0x935fe5=_0x5e6579,_0x2e3429;_0x2e3429=_0x1f6e6f['framebuffers'][_0x935fe5(0x14d)],_0x1f6e6f['framebuffers'][_0x935fe5(0x14d)]=_0x1f6e6f[_0x935fe5(0xe6)][_0x935fe5(0x1b6)],_0x1f6e6f[_0x935fe5(0xe6)][_0x935fe5(0x1b6)]=_0x2e3429,_0x1f6e6f[_0x935fe5(0x12d)][_0x935fe5(0xce)][_0x935fe5(0x17e)][_0x935fe5(0x10a)]=_0x1f6e6f[_0x935fe5(0xe6)][_0x935fe5(0x1b6)],_0x1f6e6f['primitives'][_0x935fe5(0xce)][_0x935fe5(0xd8)][_0x935fe5(0x10a)]=_0x1f6e6f[_0x935fe5(0xe6)][_0x935fe5(0x1b6)];}}),'screen':new _0x1748b0({'commandType':'Draw','attributeLocations':{'position':0x0,'st':0x1},'geometry':_0x5cc9ad[_0x5e6579(0x147)](),'primitiveType':_0x2bfd05['PrimitiveType'][_0x5e6579(0x193)],'uniformMap':{'trailsColorTexture':function(){var _0x3ba1bd=_0x5e6579;return _0x1f6e6f[_0x3ba1bd(0xe6)]['nextTrails']['getColorTexture'](0x0);},'trailsDepthTexture':function(){var _0x54e138=_0x5e6579;return _0x1f6e6f[_0x54e138(0xe6)][_0x54e138(0x1b6)][_0x54e138(0x1cd)];}},'vertexShaderSource':new _0x2bfd05[(_0x5e6579(0x19f))]({'defines':['DISABLE_GL_POSITION_LOG_DEPTH'],'sources':[_0x4b4ad2['a']]}),'fragmentShaderSource':new _0x2bfd05[(_0x5e6579(0x19f))]({'defines':[_0x5e6579(0x190)],'sources':[_0x5687f0['a']]}),'rawRenderState':_0x5cc9ad['createRawRenderState']({'viewport':void 0x0,'depthTest':{'enabled':!0x1},'depthMask':!0x0,'blending':{'enabled':!0x0}}),'framebuffer':void 0x0})};}}]),_0x30b0bc;}()),_0x4426a6=_0xb5204c(0xc),_0x380f26=_0xb5204c['n'](_0x4426a6),_0x1b5d66=_0xb5204c(0xd),_0x2059ec=_0xb5204c['n'](_0x1b5d66),_0x2d0dd6=_0xb5204c(0xe),_0x3b6065=_0xb5204c['n'](_0x2d0dd6),_0x5e5c93=_0xb5204c(0xf),_0x2a6000=_0xb5204c['n'](_0x5e5c93),_0x526e9f=_0xb5204c(0x10),_0x33e00e=_0xb5204c['n'](_0x526e9f),_0x1b228f=(function(){var _0x263c88=_0x3a7e93;function _0x3399db(_0x59a31e,_0x398d2a,_0x9fe831,_0x1abe13){var _0x29cfbe=a0_0x3080;_0x58aa3b()(this,_0x3399db),this[_0x29cfbe(0xcb)]=_0x398d2a,this[_0x29cfbe(0x13d)](_0x59a31e,_0x398d2a),this[_0x29cfbe(0x169)](_0x59a31e,_0x9fe831,_0x1abe13),this[_0x29cfbe(0x19d)](_0x398d2a,_0x9fe831,_0x1abe13);}return _0x35c165()(_0x3399db,[{'key':_0x263c88(0x13d),'value':function(_0x2d2d20,_0x4fe61d){var _0x50cff9=_0x263c88,_0x2da0d2={'context':_0x2d2d20,'width':_0x4fe61d[_0x50cff9(0x1f6)][_0x50cff9(0x189)],'height':_0x4fe61d['dimensions'][_0x50cff9(0x107)]*_0x4fe61d['dimensions']['lev'],'pixelFormat':_0x2bfd05[_0x50cff9(0xdf)][_0x50cff9(0x1b7)],'pixelDatatype':_0x2bfd05[_0x50cff9(0xd4)][_0x50cff9(0x1ef)],'flipY':!0x1,'sampler':new _0x2bfd05[(_0x50cff9(0x1d9))]({'minificationFilter':_0x2bfd05[_0x50cff9(0x1c1)]['NEAREST'],'magnificationFilter':_0x2bfd05[_0x50cff9(0x1fb)]['NEAREST']})};this['windTextures']={'U':_0x5cc9ad[_0x50cff9(0x1da)](_0x2da0d2,_0x4fe61d['U'][_0x50cff9(0x15f)]),'V':_0x5cc9ad[_0x50cff9(0x1da)](_0x2da0d2,_0x4fe61d['V'][_0x50cff9(0x15f)])};}},{'key':_0x263c88(0x169),'value':function(_0x3c3a86,_0x404f20,_0xee5143){var _0x1e252f=_0x263c88,_0x1865a7={'context':_0x3c3a86,'width':_0x404f20[_0x1e252f(0x130)],'height':_0x404f20[_0x1e252f(0x130)],'pixelFormat':_0x2bfd05[_0x1e252f(0xdf)][_0x1e252f(0x16a)],'pixelDatatype':_0x2bfd05[_0x1e252f(0xd4)][_0x1e252f(0x1ef)],'flipY':!0x1,'sampler':new _0x2bfd05['Sampler']({'minificationFilter':_0x2bfd05[_0x1e252f(0x1c1)][_0x1e252f(0x111)],'magnificationFilter':_0x2bfd05['TextureMagnificationFilter']['NEAREST']})},_0x7fae27=this[_0x1e252f(0x195)](_0x404f20[_0x1e252f(0x178)],_0xee5143),_0x1bfea7=new Float32Array(0x4*_0x404f20[_0x1e252f(0x178)])[_0x1e252f(0x10c)](0x0);this[_0x1e252f(0x1d5)]={'particlesWind':_0x5cc9ad[_0x1e252f(0x1da)](_0x1865a7),'currentParticlesPosition':_0x5cc9ad[_0x1e252f(0x1da)](_0x1865a7,_0x7fae27),'nextParticlesPosition':_0x5cc9ad[_0x1e252f(0x1da)](_0x1865a7,_0x7fae27),'currentParticlesSpeed':_0x5cc9ad[_0x1e252f(0x1da)](_0x1865a7,_0x1bfea7),'nextParticlesSpeed':_0x5cc9ad['createTexture'](_0x1865a7,_0x1bfea7),'postProcessingPosition':_0x5cc9ad[_0x1e252f(0x1da)](_0x1865a7,_0x7fae27),'postProcessingSpeed':_0x5cc9ad[_0x1e252f(0x1da)](_0x1865a7,_0x1bfea7)};}},{'key':_0x263c88(0x195),'value':function(_0x293d17,_0x51b49f){var _0xee2219=_0x263c88;for(var _0x18e6d4=new Float32Array(0x4*_0x293d17),_0x401bc8=0x0;_0x401bc8<_0x293d17;_0x401bc8++)_0x18e6d4[0x4*_0x401bc8]=_0x2bfd05['Math']['randomBetween'](_0x51b49f[_0xee2219(0x1ac)]['x'],_0x51b49f['lonRange']['y']),_0x18e6d4[0x4*_0x401bc8+0x1]=_0x2bfd05['Math'][_0xee2219(0xf2)](_0x51b49f[_0xee2219(0x10f)]['x'],_0x51b49f[_0xee2219(0x10f)]['y']),_0x18e6d4[0x4*_0x401bc8+0x2]=_0x2bfd05[_0xee2219(0x1d2)][_0xee2219(0xf2)](this['data'][_0xee2219(0x160)]['min'],this[_0xee2219(0xcb)]['lev']['max']),_0x18e6d4[0x4*_0x401bc8+0x3]=0x0;return _0x18e6d4;}},{'key':_0x263c88(0xe2),'value':function(){var _0x253dfb=_0x263c88,_0x284a77=this;Object[_0x253dfb(0x196)](this[_0x253dfb(0x1d5)])['forEach'](function(_0x39e029){var _0x60386a=_0x253dfb;_0x284a77['particlesTextures'][_0x39e029][_0x60386a(0x175)]();});}},{'key':_0x263c88(0x19d),'value':function(_0xaf038e,_0x254fed,_0x561679){var _0x56e609=_0x263c88,_0x220060=new _0x2bfd05[(_0x56e609(0x16b))](_0xaf038e[_0x56e609(0x1f6)]['lon'],_0xaf038e[_0x56e609(0x1f6)][_0x56e609(0x107)],_0xaf038e[_0x56e609(0x1f6)][_0x56e609(0x160)]),_0x4bade3=new _0x2bfd05[(_0x56e609(0x16b))](_0xaf038e[_0x56e609(0x189)][_0x56e609(0x117)],_0xaf038e[_0x56e609(0x107)][_0x56e609(0x117)],_0xaf038e[_0x56e609(0x160)][_0x56e609(0x117)]),_0x53e75d=new _0x2bfd05[(_0x56e609(0x16b))](_0xaf038e[_0x56e609(0x189)][_0x56e609(0x167)],_0xaf038e['lat'][_0x56e609(0x167)],_0xaf038e[_0x56e609(0x160)]['max']),_0x2e1c93=new _0x2bfd05['Cartesian3']((_0x53e75d['x']-_0x4bade3['x'])/(_0x220060['x']-0x1),(_0x53e75d['y']-_0x4bade3['y'])/(_0x220060['y']-0x1),_0x220060['z']>0x1?(_0x53e75d['z']-_0x4bade3['z'])/(_0x220060['z']-0x1):0x1),_0xfc4843=new _0x2bfd05[(_0x56e609(0x202))](_0xaf038e['U'][_0x56e609(0x117)],_0xaf038e['U'][_0x56e609(0x167)]),_0xccb9d6=new _0x2bfd05[(_0x56e609(0x202))](_0xaf038e['V'][_0x56e609(0x117)],_0xaf038e['V'][_0x56e609(0x167)]),_0x56c9ad=this;this[_0x56e609(0x12d)]={'getWind':new _0x1748b0({'commandType':_0x56e609(0x21c),'uniformMap':{'U':function(){var _0x452719=_0x56e609;return _0x56c9ad[_0x452719(0xfb)]['U'];},'V':function(){var _0x4acbec=_0x56e609;return _0x56c9ad[_0x4acbec(0xfb)]['V'];},'currentParticlesPosition':function(){var _0x33f657=_0x56e609;return _0x56c9ad[_0x33f657(0x1d5)]['currentParticlesPosition'];},'dimension':function(){return _0x220060;},'minimum':function(){return _0x4bade3;},'maximum':function(){return _0x53e75d;},'interval':function(){return _0x2e1c93;}},'fragmentShaderSource':new _0x2bfd05[(_0x56e609(0x19f))]({'sources':[_0x380f26['a']]}),'outputTexture':this['particlesTextures'][_0x56e609(0x161)],'preExecute':function(){var _0x401272=_0x56e609;_0x56c9ad['primitives'][_0x401272(0x1d4)]['commandToExecute'][_0x401272(0x1f7)]=_0x56c9ad['particlesTextures'][_0x401272(0x161)];}}),'updateSpeed':new _0x1748b0({'commandType':_0x56e609(0x21c),'uniformMap':{'currentParticlesSpeed':function(){var _0x4b93fe=_0x56e609;return _0x56c9ad[_0x4b93fe(0x1d5)][_0x4b93fe(0x211)];},'particlesWind':function(){var _0x516715=_0x56e609;return _0x56c9ad[_0x516715(0x1d5)]['particlesWind'];},'uSpeedRange':function(){return _0xfc4843;},'vSpeedRange':function(){return _0xccb9d6;},'pixelSize':function(){var _0x19892c=_0x56e609;return _0x561679[_0x19892c(0x141)];},'speedFactor':function(){var _0xe7be46=_0x56e609;return _0x254fed[_0xe7be46(0x236)];}},'fragmentShaderSource':new _0x2bfd05['ShaderSource']({'sources':[_0x2059ec['a']]}),'outputTexture':this[_0x56e609(0x1d5)][_0x56e609(0xe9)],'preExecute':function(){var _0x275c14=_0x56e609,_0x2765e2;_0x2765e2=_0x56c9ad[_0x275c14(0x1d5)][_0x275c14(0x211)],_0x56c9ad[_0x275c14(0x1d5)]['currentParticlesSpeed']=_0x56c9ad[_0x275c14(0x1d5)][_0x275c14(0xf6)],_0x56c9ad[_0x275c14(0x1d5)][_0x275c14(0xf6)]=_0x2765e2,_0x56c9ad[_0x275c14(0x12d)][_0x275c14(0x188)][_0x275c14(0x17e)][_0x275c14(0x1f7)]=_0x56c9ad[_0x275c14(0x1d5)][_0x275c14(0xe9)];}}),'updatePosition':new _0x1748b0({'commandType':'Compute','uniformMap':{'currentParticlesPosition':function(){var _0x33965a=_0x56e609;return _0x56c9ad['particlesTextures'][_0x33965a(0x14c)];},'currentParticlesSpeed':function(){var _0x3c4938=_0x56e609;return _0x56c9ad[_0x3c4938(0x1d5)][_0x3c4938(0x211)];}},'fragmentShaderSource':new _0x2bfd05[(_0x56e609(0x19f))]({'sources':[_0x3b6065['a']]}),'outputTexture':this[_0x56e609(0x1d5)][_0x56e609(0x12e)],'preExecute':function(){var _0x562c5e=_0x56e609,_0x46ef50;_0x46ef50=_0x56c9ad['particlesTextures'][_0x562c5e(0x14c)],_0x56c9ad[_0x562c5e(0x1d5)][_0x562c5e(0x14c)]=_0x56c9ad[_0x562c5e(0x1d5)][_0x562c5e(0x230)],_0x56c9ad['particlesTextures'][_0x562c5e(0x230)]=_0x46ef50,_0x56c9ad[_0x562c5e(0x12d)]['updatePosition']['commandToExecute'][_0x562c5e(0x1f7)]=_0x56c9ad[_0x562c5e(0x1d5)][_0x562c5e(0x12e)];}}),'postProcessingPosition':new _0x1748b0({'commandType':'Compute','uniformMap':{'nextParticlesPosition':function(){var _0x1222d6=_0x56e609;return _0x56c9ad[_0x1222d6(0x1d5)][_0x1222d6(0x12e)];},'nextParticlesSpeed':function(){var _0x5435b9=_0x56e609;return _0x56c9ad[_0x5435b9(0x1d5)][_0x5435b9(0xe9)];},'lonRange':function(){return _0x561679['lonRange'];},'latRange':function(){return _0x561679['latRange'];},'randomCoefficient':function(){var _0x32e2dd=Math['random']();return _0x32e2dd;},'dropRate':function(){return _0x254fed['dropRate'];},'dropRateBump':function(){var _0x20159c=_0x56e609;return _0x254fed[_0x20159c(0x151)];}},'fragmentShaderSource':new _0x2bfd05[(_0x56e609(0x19f))]({'sources':[_0x2a6000['a']]}),'outputTexture':this[_0x56e609(0x1d5)][_0x56e609(0x230)],'preExecute':function(){var _0x3b2696=_0x56e609;_0x56c9ad[_0x3b2696(0x12d)][_0x3b2696(0x230)]['commandToExecute'][_0x3b2696(0x1f7)]=_0x56c9ad['particlesTextures']['postProcessingPosition'];}}),'postProcessingSpeed':new _0x1748b0({'commandType':_0x56e609(0x21c),'uniformMap':{'postProcessingPosition':function(){var _0x1ff7e5=_0x56e609;return _0x56c9ad[_0x1ff7e5(0x1d5)][_0x1ff7e5(0x230)];},'nextParticlesSpeed':function(){var _0x1989c3=_0x56e609;return _0x56c9ad[_0x1989c3(0x1d5)]['nextParticlesSpeed'];}},'fragmentShaderSource':new _0x2bfd05[(_0x56e609(0x19f))]({'sources':[_0x33e00e['a']]}),'outputTexture':this[_0x56e609(0x1d5)]['postProcessingSpeed'],'preExecute':function(){var _0x5cd12c=_0x56e609;_0x56c9ad[_0x5cd12c(0x12d)][_0x5cd12c(0xf6)]['commandToExecute']['outputTexture']=_0x56c9ad['particlesTextures'][_0x5cd12c(0xf6)];}})};}}]),_0x3399db;}()),_0x5465c4=(function(){var _0x3823cc=_0x3a7e93;function _0x43cae1(_0x138be7,_0x5cc322,_0x7ef3bf,_0x4074fd){var _0x4a41d5=a0_0x3080;_0x58aa3b()(this,_0x43cae1),this[_0x4a41d5(0x15e)]=_0x138be7,this[_0x4a41d5(0xcb)]=_0x5cc322,this[_0x4a41d5(0xf9)]=_0x7ef3bf,this['viewerParameters']=_0x4074fd,this[_0x4a41d5(0x1b5)]=new _0x1b228f(this[_0x4a41d5(0x15e)],this[_0x4a41d5(0xcb)],this['userInput'],this[_0x4a41d5(0x1bc)]),this[_0x4a41d5(0x18b)]=new _0xb2ff(this[_0x4a41d5(0x15e)],this[_0x4a41d5(0xcb)],this[_0x4a41d5(0xf9)],this[_0x4a41d5(0x1bc)],this[_0x4a41d5(0x1b5)]);}return _0x35c165()(_0x43cae1,[{'key':'canvasResize','value':function(_0x3af723){var _0xfee043=a0_0x3080,_0x1b6e1d=this;this['particlesComputing']['destroyParticlesTextures'](),Object[_0xfee043(0x196)](this[_0xfee043(0x1b5)][_0xfee043(0xfb)])[_0xfee043(0x233)](function(_0x32b86d){var _0x56da51=_0xfee043;_0x1b6e1d[_0x56da51(0x1b5)][_0x56da51(0xfb)][_0x32b86d][_0x56da51(0x175)]();}),this[_0xfee043(0x18b)][_0xfee043(0x223)][_0xfee043(0x1de)][_0xfee043(0x175)](),Object['keys'](this[_0xfee043(0x18b)][_0xfee043(0xe6)])[_0xfee043(0x233)](function(_0x2b6b68){var _0x9bd81e=_0xfee043;_0x1b6e1d[_0x9bd81e(0x18b)][_0x9bd81e(0xe6)][_0x2b6b68][_0x9bd81e(0x175)]();}),this[_0xfee043(0x15e)]=_0x3af723,this[_0xfee043(0x1b5)]=new _0x1b228f(this[_0xfee043(0x15e)],this[_0xfee043(0xcb)],this['userInput'],this['viewerParameters']),this[_0xfee043(0x18b)]=new _0xb2ff(this['context'],this[_0xfee043(0xcb)],this[_0xfee043(0xf9)],this['viewerParameters'],this['particlesComputing']);}},{'key':_0x3823cc(0x116),'value':function(){var _0xbd994c=_0x3823cc,_0x371eae=this,_0x216456=new _0x2bfd05[(_0xbd994c(0x1cf))]({'color':new _0x2bfd05[(_0xbd994c(0x226))](0x0,0x0,0x0,0x0),'depth':0x1,'framebuffer':void 0x0,'pass':_0x2bfd05[_0xbd994c(0xf8)][_0xbd994c(0x22f)]});Object['keys'](this['particlesRendering'][_0xbd994c(0xe6)])[_0xbd994c(0x233)](function(_0xed97e0){var _0x528df2=_0xbd994c;_0x216456[_0x528df2(0x10a)]=_0x371eae[_0x528df2(0x18b)]['framebuffers'][_0xed97e0],_0x216456[_0x528df2(0xc4)](_0x371eae[_0x528df2(0x15e)]);});}},{'key':'refreshParticles','value':function(_0x3313e4){var _0x3db9d3=_0x3823cc;if(this[_0x3db9d3(0x116)](),this[_0x3db9d3(0x1b5)][_0x3db9d3(0xe2)](),this[_0x3db9d3(0x1b5)]['createParticlesTextures'](this['context'],this['userInput'],this[_0x3db9d3(0x1bc)]),_0x3313e4){var _0xb3ef69=this[_0x3db9d3(0x18b)]['createSegmentsGeometry'](this[_0x3db9d3(0xf9)]);this[_0x3db9d3(0x18b)]['primitives'][_0x3db9d3(0x173)][_0x3db9d3(0xfd)]=_0xb3ef69;var _0x29bf9d=_0x2bfd05[_0x3db9d3(0x1d1)]['fromGeometry']({'context':this[_0x3db9d3(0x15e)],'geometry':_0xb3ef69,'attributeLocations':this['particlesRendering']['primitives']['segments'][_0x3db9d3(0x174)],'bufferUsage':_0x2bfd05[_0x3db9d3(0x234)][_0x3db9d3(0x103)]});this[_0x3db9d3(0x18b)]['primitives']['segments'][_0x3db9d3(0x17e)][_0x3db9d3(0xff)]=_0x29bf9d;}}},{'key':_0x3823cc(0xd7),'value':function(_0x3f0911){var _0x3724ad=_0x3823cc,_0x1f5503=this,_0x3ba320=!0x1;this[_0x3724ad(0xf9)][_0x3724ad(0x178)]!=_0x3f0911[_0x3724ad(0x178)]&&(_0x3ba320=!0x0),Object[_0x3724ad(0x196)](_0x3f0911)[_0x3724ad(0x233)](function(_0x45ba3f){var _0xfe4958=_0x3724ad;_0x1f5503[_0xfe4958(0xf9)][_0x45ba3f]=_0x3f0911[_0x45ba3f];}),this['refreshParticles'](_0x3ba320);}},{'key':_0x3823cc(0x11f),'value':function(_0x42f6de){var _0x101ac6=_0x3823cc,_0x211857=this;Object[_0x101ac6(0x196)](_0x42f6de)[_0x101ac6(0x233)](function(_0x3137ee){var _0x4283fc=_0x101ac6;_0x211857[_0x4283fc(0x1bc)][_0x3137ee]=_0x42f6de[_0x3137ee];}),this[_0x101ac6(0x1a4)](!0x1);}}]),_0x43cae1;}());function _0x4d0f76(_0x316328){var _0x13f9c0=(function(){var _0x58c525=a0_0x3080;if('undefined'==typeof Reflect||!Reflect[_0x58c525(0xca)])return!0x1;if(Reflect[_0x58c525(0xca)][_0x58c525(0x118)])return!0x1;if(_0x58c525(0x148)==typeof Proxy)return!0x0;try{return Boolean[_0x58c525(0x212)][_0x58c525(0x144)][_0x58c525(0x1e8)](Reflect['construct'](Boolean,[],function(){})),!0x0;}catch(_0x253a83){return!0x1;}}());return function(){var _0xe2ded6=a0_0x3080,_0x48e7dc,_0x18023c=_0x631931()(_0x316328);if(_0x13f9c0){var _0x2e2206=_0x631931()(this)['constructor'];_0x48e7dc=Reflect[_0xe2ded6(0xca)](_0x18023c,arguments,_0x2e2206);}else _0x48e7dc=_0x18023c[_0xe2ded6(0x1f5)](this,arguments);return _0x617ddc()(this,_0x48e7dc);};}var _0x89b45=_0x528b06[_0x3a7e93(0x1b8)]['BaseLayer'],_0x168639=0x1000,_0x316b84=0x64,_0x118188=0.996,_0x593085=0.003,_0x3ec5ad=0.01,_0x151f1c=0.5,_0x2efbb9=0x2,_0xef4d27=function(_0x403c67){var _0xe09481=_0x3a7e93;_0x358492()(_0x469438,_0x403c67);var _0x32c316=_0x4d0f76(_0x469438);function _0x469438(){var _0x4f1d6=a0_0x3080,_0xe11d9d,_0x360230=arguments[_0x4f1d6(0x110)]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};if(_0x58aa3b()(this,_0x469438),(_0xe11d9d=_0x32c316['call'](this,_0x360230))[_0x4f1d6(0x178)]=_0x168639,_0xe11d9d['particleHeight']=_0x316b84,_0xe11d9d['fadeOpacity']=_0x118188,_0xe11d9d[_0x4f1d6(0x201)]=_0x593085,_0xe11d9d['dropRateBump']=_0x3ec5ad,_0xe11d9d[_0x4f1d6(0x236)]=_0x151f1c,_0xe11d9d['lineWidth']=_0x2efbb9,_0x360230){for(var _0x305918 in _0x360230)_0xe11d9d[_0x305918]=_0x360230[_0x305918];}return _0xe11d9d;}return _0x35c165()(_0x469438,[{'key':_0xe09481(0x1b8),'get':function(){return this['primitives'];}},{'key':_0xe09481(0x1c3),'value':function(){}},{'key':'_addedHook','value':function(){var _0x43d1cb=_0xe09481;this['scene']=this['_map'][_0x43d1cb(0x18e)],this[_0x43d1cb(0xf5)]=this['_map']['camera'],this['primitives']=new _0x2bfd05[(_0x43d1cb(0x1c8))](),this[_0x43d1cb(0x106)]['scene'][_0x43d1cb(0x12d)][_0x43d1cb(0x10b)](this[_0x43d1cb(0x12d)]),this[_0x43d1cb(0x1bc)]={'lonRange':new _0x2bfd05[(_0x43d1cb(0x202))](),'latRange':new _0x2bfd05[(_0x43d1cb(0x202))](),'pixelSize':0x0},this[_0x43d1cb(0x204)]=new _0x2bfd05['BoundingSphere'](_0x2bfd05['Cartesian3'][_0x43d1cb(0x1df)],6314355.63),this[_0x43d1cb(0x1f0)](),window[_0x43d1cb(0x126)](_0x43d1cb(0x1c0),this[_0x43d1cb(0x1c0)][_0x43d1cb(0x146)](this),!0x1),this[_0x43d1cb(0x12b)]=!0x1,this['mouse_move']=!0x1,this[_0x43d1cb(0x106)]['on'](_0x528b06[_0x43d1cb(0x18f)][_0x43d1cb(0x1d8)],this[_0x43d1cb(0x105)],this),this[_0x43d1cb(0x106)]['on'](_0x528b06[_0x43d1cb(0x18f)][_0x43d1cb(0xfc)],this[_0x43d1cb(0x1c4)],this),this[_0x43d1cb(0x106)]['on'](_0x528b06[_0x43d1cb(0x18f)]['mouseUp'],this['_onMouseUpEvent'],this),this[_0x43d1cb(0x106)]['on'](_0x528b06[_0x43d1cb(0x18f)]['mouseMove'],this[_0x43d1cb(0x13f)],this);}},{'key':_0xe09481(0x225),'value':function(){var _0x49b97f=_0xe09481;window[_0x49b97f(0x21a)](_0x49b97f(0x1c0),this[_0x49b97f(0x1c0)]),this[_0x49b97f(0x106)]['off'](_0x528b06[_0x49b97f(0x18f)][_0x49b97f(0x17b)],this['_onMap_preRenderEvent'],this),this[_0x49b97f(0x106)][_0x49b97f(0x108)](_0x528b06[_0x49b97f(0x18f)][_0x49b97f(0x1d8)],this[_0x49b97f(0x105)],this),this[_0x49b97f(0x106)]['off'](_0x528b06['EventType'][_0x49b97f(0xfc)],this[_0x49b97f(0x1c4)],this),this['_map'][_0x49b97f(0x108)](_0x528b06['EventType'][_0x49b97f(0xde)],this[_0x49b97f(0x134)],this),this[_0x49b97f(0x106)][_0x49b97f(0x108)](_0x528b06[_0x49b97f(0x18f)][_0x49b97f(0x1dc)],this['_onMouseMoveEvent'],this),this[_0x49b97f(0x12d)][_0x49b97f(0x12c)](),this[_0x49b97f(0x106)]['scene'][_0x49b97f(0x12d)][_0x49b97f(0x1ee)](this['primitives']);}},{'key':_0xe09481(0x1c0),'value':function(){var _0x1679b3=_0xe09481;this[_0x1679b3(0x187)]&&this[_0x1679b3(0x122)]&&(this[_0x1679b3(0x12d)][_0x1679b3(0x187)]=!0x1,this['primitives']['removeAll'](),this[_0x1679b3(0x106)][_0x1679b3(0x1a2)](_0x528b06[_0x1679b3(0x18f)][_0x1679b3(0x17b)],this[_0x1679b3(0x14a)],this));}},{'key':_0xe09481(0x14a),'value':function(_0x3c6327){var _0x4c0e78=_0xe09481;this[_0x4c0e78(0x122)]['canvasResize'](this[_0x4c0e78(0x18e)][_0x4c0e78(0x15e)]),this[_0x4c0e78(0x120)](),this[_0x4c0e78(0x12d)]['show']=!0x0;}},{'key':_0xe09481(0x105),'value':function(_0x4fe284){var _0x33c7d9=_0xe09481,_0x48fd55=this;clearTimeout(this[_0x33c7d9(0x1d7)]),this[_0x33c7d9(0x187)]&&this['particleSystem']&&(this['primitives'][_0x33c7d9(0x187)]=!0x1,this[_0x33c7d9(0x1d7)]=setTimeout(function(){_0x48fd55['show']&&_0x48fd55['redraw']();},0xc8));}},{'key':'_onMouseDownEvent','value':function(_0x3019a5){var _0x32715b=_0xe09481;this[_0x32715b(0x12b)]=!0x0;}},{'key':'_onMouseMoveEvent','value':function(_0x5a0af5){var _0x333126=_0xe09481;this['show']&&this['particleSystem']&&this[_0x333126(0x12b)]&&(this[_0x333126(0x12d)][_0x333126(0x187)]=!0x1,this[_0x333126(0x20d)]=!0x0);}},{'key':_0xe09481(0x134),'value':function(_0x5647e2){var _0x5100a0=_0xe09481;this['show']&&this[_0x5100a0(0x122)]&&(this['mouse_down']&&this['mouse_move']&&this[_0x5100a0(0x159)](),this[_0x5100a0(0x12d)][_0x5100a0(0x187)]=!0x0,this[_0x5100a0(0x12b)]=!0x1,this[_0x5100a0(0x20d)]=!0x1);}},{'key':_0xe09481(0x159),'value':function(){var _0xea968e=_0xe09481;this['_map']&&this[_0xea968e(0x187)]&&(this[_0xea968e(0x1f0)](),this[_0xea968e(0x122)][_0xea968e(0x11f)](this['viewerParameters']),this['primitives']['show']=!0x0);}},{'key':'setData','value':function(_0x2c4f8f){var _0xff4642=_0xe09481;this[_0xff4642(0x122)]=new _0x5465c4(this[_0xff4642(0x18e)][_0xff4642(0x15e)],_0x2c4f8f,this[_0xff4642(0x13a)](),this[_0xff4642(0x1bc)]),this[_0xff4642(0x120)]();}},{'key':_0xe09481(0x1dd),'value':function(_0x4075a0){var _0x24bcbd=_0xe09481;if(_0x4075a0){for(var _0x4da1d7 in _0x4075a0)this[_0x4da1d7]=_0x4075a0[_0x4da1d7];}return this[_0x24bcbd(0x122)]&&this[_0x24bcbd(0x122)]['applyUserInput'](this[_0x24bcbd(0x13a)]()),this;}},{'key':'getUserInput','value':function(){var _0x50a036=_0xe09481,_0x363bb5=Math[_0x50a036(0x14e)](Math['sqrt'](this[_0x50a036(0x178)]));return this['maxParticles']=_0x363bb5*_0x363bb5,{'particlesTextureSize':_0x363bb5,'maxParticles':this[_0x50a036(0x178)],'particleHeight':this[_0x50a036(0x1f3)],'fadeOpacity':this[_0x50a036(0x1bb)],'dropRate':this[_0x50a036(0x201)],'dropRateBump':this[_0x50a036(0x151)],'speedFactor':this['speedFactor'],'lineWidth':this[_0x50a036(0x1a9)],'globeLayer':this[_0x50a036(0x109)],'WMS_URL':this['WMS_URL']};}},{'key':_0xe09481(0x120),'value':function(){var _0x1b370d=_0xe09481;this[_0x1b370d(0x12d)][_0x1b370d(0x10b)](this['particleSystem'][_0x1b370d(0x1b5)][_0x1b370d(0x12d)][_0x1b370d(0x1d4)]),this['primitives'][_0x1b370d(0x10b)](this[_0x1b370d(0x122)][_0x1b370d(0x1b5)]['primitives'][_0x1b370d(0x188)]),this['primitives'][_0x1b370d(0x10b)](this['particleSystem'][_0x1b370d(0x1b5)]['primitives'][_0x1b370d(0x143)]),this[_0x1b370d(0x12d)][_0x1b370d(0x10b)](this[_0x1b370d(0x122)]['particlesComputing']['primitives'][_0x1b370d(0x230)]),this[_0x1b370d(0x12d)]['add'](this[_0x1b370d(0x122)][_0x1b370d(0x1b5)]['primitives'][_0x1b370d(0xf6)]),this['primitives'][_0x1b370d(0x10b)](this[_0x1b370d(0x122)]['particlesRendering']['primitives'][_0x1b370d(0x173)]),this['primitives'][_0x1b370d(0x10b)](this[_0x1b370d(0x122)][_0x1b370d(0x18b)][_0x1b370d(0x12d)][_0x1b370d(0xce)]),this[_0x1b370d(0x12d)][_0x1b370d(0x10b)](this[_0x1b370d(0x122)]['particlesRendering'][_0x1b370d(0x12d)][_0x1b370d(0x1e3)]);}},{'key':'updateViewerParameters','value':function(){var _0x4f1ac0=_0xe09481,_0x300ca7=this[_0x4f1ac0(0xf5)][_0x4f1ac0(0x209)](this[_0x4f1ac0(0x18e)]['globe'][_0x4f1ac0(0x1fc)]);if(!_0x300ca7){var _0x355ed5=this['_map'][_0x4f1ac0(0x158)]();_0x300ca7=_0x2bfd05[_0x4f1ac0(0xc7)][_0x4f1ac0(0x15a)](_0x355ed5[_0x4f1ac0(0x15c)],_0x355ed5[_0x4f1ac0(0x165)],_0x355ed5['xmax'],_0x355ed5['ymax']);}var _0x30e6af=_0x5cc9ad[_0x4f1ac0(0x1ec)](_0x300ca7);this[_0x4f1ac0(0x1bc)][_0x4f1ac0(0x1ac)]['x']=_0x30e6af[_0x4f1ac0(0x189)][_0x4f1ac0(0x117)],this['viewerParameters'][_0x4f1ac0(0x1ac)]['y']=_0x30e6af[_0x4f1ac0(0x189)][_0x4f1ac0(0x167)],this['viewerParameters'][_0x4f1ac0(0x10f)]['x']=_0x30e6af[_0x4f1ac0(0x107)]['min'],this[_0x4f1ac0(0x1bc)][_0x4f1ac0(0x10f)]['y']=_0x30e6af[_0x4f1ac0(0x107)]['max'];var _0x177044=this[_0x4f1ac0(0xf5)][_0x4f1ac0(0x137)](this[_0x4f1ac0(0x204)],this[_0x4f1ac0(0x18e)][_0x4f1ac0(0x17a)],this[_0x4f1ac0(0x18e)][_0x4f1ac0(0x16c)]);_0x177044>0x0&&(this[_0x4f1ac0(0x1bc)]['pixelSize']=_0x177044);}}]),_0x469438;}(_0x89b45);_0x528b06['LayerUtil'][_0x3a7e93(0x1e1)](_0x3a7e93(0x1a7),_0xef4d27),_0x528b06['layer']['WindLayer']=_0xef4d27;var _0x45dfcc=_0x35c165()(function _0x404344(){var _0x23cc0a=_0x3a7e93;_0x58aa3b()(this,_0x404344),this['lng']=null,this[_0x23cc0a(0x107)]=null,this[_0x23cc0a(0x217)]=null,this['tlat']=null,this[_0x23cc0a(0x237)]=null;}),_0x216551=(function(){var _0x3a30fd=_0x3a7e93;function _0x33b273(_0x373ba4,_0x30c633){var _0x1b42b0=a0_0x3080;_0x58aa3b()(this,_0x33b273),this[_0x1b42b0(0x1ea)]=_0x373ba4[_0x1b42b0(0x1ea)],this[_0x1b42b0(0xe8)]=_0x373ba4[_0x1b42b0(0xe8)],this['xmin']=_0x373ba4[_0x1b42b0(0x15c)],this['xmax']=_0x373ba4['xmax'],this[_0x1b42b0(0x165)]=_0x373ba4[_0x1b42b0(0x165)],this[_0x1b42b0(0x180)]=_0x373ba4[_0x1b42b0(0x180)],this['grid']=[];var _0x9dd483=_0x373ba4[_0x1b42b0(0x203)],_0x464f75=_0x373ba4[_0x1b42b0(0xd2)],_0x239c45=!0x1;_0x9dd483[_0x1b42b0(0x110)]===this[_0x1b42b0(0x1ea)]&&_0x9dd483[0x0][_0x1b42b0(0x110)]===this['cols']&&(_0x239c45=!0x0);for(var _0x4ec2b8=0x0,_0x106088=null,_0x4626cc=null,_0x569ed7=0x0;_0x569ed7<this[_0x1b42b0(0x1ea)];_0x569ed7++){_0x106088=[];for(var _0x2a13c7=0x0;_0x2a13c7<this['cols'];_0x2a13c7++,_0x4ec2b8++)_0x4626cc=_0x239c45?this[_0x1b42b0(0x132)](_0x9dd483[_0x569ed7][_0x2a13c7],_0x464f75[_0x569ed7][_0x2a13c7]):this[_0x1b42b0(0x132)](_0x9dd483[_0x4ec2b8],_0x464f75[_0x4ec2b8]),_0x106088['push'](_0x4626cc);this['grid'][_0x1b42b0(0x15b)](_0x106088);}_0x30c633&&this[_0x1b42b0(0x128)][_0x1b42b0(0x207)]();}return _0x35c165()(_0x33b273,[{'key':_0x3a30fd(0x1a5),'value':function(_0x23c8e9,_0x4b7b28){var _0x580043=_0x3a30fd;return{'x':(_0x23c8e9-this[_0x580043(0x15c)])/(this[_0x580043(0xf3)]-this[_0x580043(0x15c)])*(this[_0x580043(0xe8)]-0x1),'y':(this[_0x580043(0x180)]-_0x4b7b28)/(this[_0x580043(0x180)]-this[_0x580043(0x165)])*(this['rows']-0x1)};}},{'key':_0x3a30fd(0xc8),'value':function(_0x257cf5,_0x5d3cff){var _0xaf312b=_0x3a30fd;if(_0x257cf5<0x0||_0x257cf5>=this['cols']||_0x5d3cff>=this[_0xaf312b(0x1ea)])return[0x0,0x0,0x0];var _0x4dc32d,_0x55b482,_0x41e582=Math[_0xaf312b(0xf4)](_0x257cf5),_0x5c2f36=Math[_0xaf312b(0xf4)](_0x5d3cff);if(_0x41e582===_0x257cf5&&_0x5c2f36===_0x5d3cff)return this[_0xaf312b(0x128)][_0x5d3cff][_0x257cf5];_0x4dc32d=_0x41e582+0x1,_0x55b482=_0x5c2f36+0x1;var _0x289cbb=this[_0xaf312b(0xc8)](_0x41e582,_0x5c2f36),_0x35b87c=this[_0xaf312b(0xc8)](_0x4dc32d,_0x5c2f36),_0x48355e=this[_0xaf312b(0xc8)](_0x41e582,_0x55b482),_0x471058=this[_0xaf312b(0xc8)](_0x4dc32d,_0x55b482),_0x217fff=null;try{_0x217fff=this[_0xaf312b(0x19b)](_0x257cf5-_0x41e582,_0x5d3cff-_0x5c2f36,_0x289cbb,_0x35b87c,_0x48355e,_0x471058);}catch(_0x32e9d6){console[_0xaf312b(0x11e)](_0x257cf5,_0x5d3cff);}return _0x217fff;}},{'key':_0x3a30fd(0x19b),'value':function(_0x2b0726,_0x3bd5f0,_0x42ac21,_0x58be9f,_0x572851,_0x39ecb6){var _0x1bbb3c=_0x3a30fd,_0x38ed39=0x1-_0x2b0726,_0x2fccbd=0x1-_0x3bd5f0,_0x1670a=_0x38ed39*_0x2fccbd,_0x6c71b1=_0x2b0726*_0x2fccbd,_0x80d435=_0x38ed39*_0x3bd5f0,_0x15a95d=_0x2b0726*_0x3bd5f0,_0x3c30c6=_0x42ac21[0x0]*_0x1670a+_0x58be9f[0x0]*_0x6c71b1+_0x572851[0x0]*_0x80d435+_0x39ecb6[0x0]*_0x15a95d,_0x3e91bf=_0x42ac21[0x1]*_0x1670a+_0x58be9f[0x1]*_0x6c71b1+_0x572851[0x1]*_0x80d435+_0x39ecb6[0x1]*_0x15a95d;return this[_0x1bbb3c(0x132)](_0x3c30c6,_0x3e91bf);}},{'key':_0x3a30fd(0x132),'value':function(_0x500f0d,_0x5a4a78){return[+_0x500f0d,+_0x5a4a78,Math['sqrt'](_0x500f0d*_0x500f0d+_0x5a4a78*_0x5a4a78)];}},{'key':_0x3a30fd(0x213),'value':function(_0xd80af8,_0x2d9bdc){var _0x433ca9=_0x3a30fd;if(!this[_0x433ca9(0x1a8)](_0xd80af8,_0x2d9bdc))return null;var _0x5d7ebd=this[_0x433ca9(0x1a5)](_0xd80af8,_0x2d9bdc);return this[_0x433ca9(0xc8)](_0x5d7ebd['x'],_0x5d7ebd['y']);}},{'key':_0x3a30fd(0x1a8),'value':function(_0x4f2511,_0x1d07d2){var _0x1d3a0a=_0x3a30fd;return _0x4f2511>=this[_0x1d3a0a(0x15c)]&&_0x4f2511<=this[_0x1d3a0a(0xf3)]&&_0x1d07d2>=this[_0x1d3a0a(0x165)]&&_0x1d07d2<=this[_0x1d3a0a(0x180)];}},{'key':'getRandomLatLng','value':function(){var _0x244765=_0x3a30fd,_0x2db888=_0x132d0c(this[_0x244765(0x15c)],this['xmax']);return{'lat':_0x132d0c(this[_0x244765(0x165)],this[_0x244765(0x180)]),'lng':_0x2db888};}}]),_0x33b273;}());function _0x132d0c(_0x5d14ea,_0x2008c2){var _0x53f81f=_0x3a7e93;return _0x5d14ea+Math[_0x53f81f(0x1e6)]()*(_0x2008c2-_0x5d14ea);}function _0x59c747(_0x590cb9){var _0x3dc76f=(function(){var _0x55dcb8=a0_0x3080;if(_0x55dcb8(0x176)==typeof Reflect||!Reflect[_0x55dcb8(0xca)])return!0x1;if(Reflect[_0x55dcb8(0xca)][_0x55dcb8(0x118)])return!0x1;if(_0x55dcb8(0x148)==typeof Proxy)return!0x0;try{return Boolean[_0x55dcb8(0x212)][_0x55dcb8(0x144)][_0x55dcb8(0x1e8)](Reflect['construct'](Boolean,[],function(){})),!0x0;}catch(_0x290935){return!0x1;}}());return function(){var _0x181d0d=a0_0x3080,_0x247358,_0x2fe819=_0x631931()(_0x590cb9);if(_0x3dc76f){var _0x381acf=_0x631931()(this)[_0x181d0d(0x1ae)];_0x247358=Reflect[_0x181d0d(0xca)](_0x2fe819,arguments,_0x381acf);}else _0x247358=_0x2fe819[_0x181d0d(0x1f5)](this,arguments);return _0x617ddc()(this,_0x247358);};}var _0x23a533=function(_0x4a3d43){var _0x2bb60e=_0x3a7e93;_0x358492()(_0x3b07fd,_0x4a3d43);var _0x5e79c9=_0x59c747(_0x3b07fd);function _0x3b07fd(){var _0xab74c7=a0_0x3080,_0x4d3021,_0x33d95d=arguments[_0xab74c7(0x110)]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return _0x58aa3b()(this,_0x3b07fd),(_0x4d3021=_0x5e79c9[_0xab74c7(0x1e8)](this,_0x33d95d))[_0xab74c7(0x1fa)]=[0x0,0x0],_0x4d3021[_0xab74c7(0x205)]=[],_0x4d3021[_0xab74c7(0x22e)]=_0x33d95d[_0xab74c7(0x22e)]||0x32,_0x4d3021['_particlesNumber']=_0x33d95d['particlesNumber']||0x4e20,_0x4d3021[_0xab74c7(0x1e4)]=_0x33d95d[_0xab74c7(0xef)]||0x78,_0x4d3021[_0xab74c7(0x149)]=0x3e8/(_0x33d95d[_0xab74c7(0x182)]||0xa),_0x4d3021[_0xab74c7(0x197)]=_0x2bfd05[_0xab74c7(0x20b)](_0x4d3021[_0xab74c7(0xdb)][_0xab74c7(0x17d)],!0x1),_0x4d3021[_0xab74c7(0x17f)]=_0x33d95d[_0xab74c7(0x17f)]||'#ffffff',_0x4d3021['lineWidth']=_0x33d95d[_0xab74c7(0x1a9)]||0x1,_0x4d3021['fixedHeight']=_0x2bfd05[_0xab74c7(0x20b)](_0x33d95d[_0xab74c7(0xdd)],0x0),_0x4d3021['reverseY']=_0x2bfd05[_0xab74c7(0x20b)](_0x33d95d['reverseY'],!0x1),_0x4d3021[_0xab74c7(0x18d)]=null,_0x4d3021;}return _0x35c165()(_0x3b07fd,[{'key':'layer','get':function(){var _0x3dc52f=a0_0x3080;return this[_0x3dc52f(0x18d)];}},{'key':_0x2bb60e(0x164),'get':function(){var _0x1c98d0=_0x2bb60e;return this[_0x1c98d0(0x106)][_0x1c98d0(0x18e)][_0x1c98d0(0x18d)][_0x1c98d0(0x145)];}},{'key':_0x2bb60e(0x22c),'get':function(){var _0x591784=_0x2bb60e;return this['_map'][_0x591784(0x18e)][_0x591784(0x18d)][_0x591784(0x1b9)];}},{'key':_0x2bb60e(0x17d),'get':function(){return this['_pointerEvents'];},'set':function(_0x20c1be){var _0x53e5a9=_0x2bb60e;this[_0x53e5a9(0x197)]=_0x20c1be,this[_0x53e5a9(0x18d)]&&(this['canvas'][_0x53e5a9(0x1ed)]['pointer-events']=_0x20c1be?_0x53e5a9(0x123):'none');}},{'key':_0x2bb60e(0x22e),'get':function(){return this['_speedRate'];},'set':function(_0x59c0fb){this['_speedRate']=0x64*(0x64-(_0x59c0fb>0x63?0x63:_0x59c0fb)),this['_calcStep']();}},{'key':_0x2bb60e(0x150),'get':function(){return this['_particlesNumber'];},'set':function(_0x53c5bc){var _0x3c292b=_0x2bb60e,_0x1d6ec3=this;this[_0x3c292b(0x1ba)]=_0x53c5bc,clearTimeout(this[_0x3c292b(0x119)]),this[_0x3c292b(0x119)]=setTimeout(function(){_0x1d6ec3['redraw']();},0x1f4);}},{'key':_0x2bb60e(0xef),'get':function(){return this['_maxAge'];},'set':function(_0x54367e){var _0x40a63b=_0x2bb60e,_0x3df53c=this;this[_0x40a63b(0x1e4)]=_0x54367e,clearTimeout(this[_0x40a63b(0x119)]),this[_0x40a63b(0x119)]=setTimeout(function(){var _0x4d7cc1=_0x40a63b;_0x3df53c[_0x4d7cc1(0x159)]();},0x1f4);}},{'key':_0x2bb60e(0xcb),'get':function(){var _0x2668a6=_0x2bb60e;return this[_0x2668a6(0x115)];},'set':function(_0x40549a){this['updateDate'](_0x40549a);}},{'key':_0x2bb60e(0x220),'value':function(_0x222d32){var _0x374cfe=_0x2bb60e;_0x222d32?this[_0x374cfe(0x235)]():(this[_0x374cfe(0x115)]&&(this[_0x374cfe(0xdb)]['data']=this[_0x374cfe(0x115)]),this[_0x374cfe(0x225)]());}},{'key':'_mountedHook','value':function(){}},{'key':_0x2bb60e(0x235),'value':function(){var _0x3a531b=_0x2bb60e;this['canvas']=this[_0x3a531b(0x11b)](),this['canvasContext']=this[_0x3a531b(0x18d)]['getContext']('2d'),this[_0x3a531b(0x1d0)](),this[_0x3a531b(0xdb)][_0x3a531b(0xcb)]&&this[_0x3a531b(0x22d)](this[_0x3a531b(0xdb)][_0x3a531b(0xcb)]);}},{'key':_0x2bb60e(0x225),'value':function(){var _0x210f91=_0x2bb60e;this['clear'](),this['unbindEvent'](),this['canvas']&&(this[_0x210f91(0x106)][_0x210f91(0x11d)][_0x210f91(0x21f)](this[_0x210f91(0x18d)]),delete this['canvas']);}},{'key':'_createCanvas','value':function(){var _0x1c4631=_0x2bb60e,_0x5b6d2e=document[_0x1c4631(0xf0)](_0x1c4631(0x18d));_0x5b6d2e[_0x1c4631(0x1ed)]['position']='absolute',_0x5b6d2e[_0x1c4631(0x1ed)][_0x1c4631(0xd9)]='0px',_0x5b6d2e[_0x1c4631(0x1ed)][_0x1c4631(0x214)]='0px',_0x5b6d2e[_0x1c4631(0x1ed)][_0x1c4631(0x16d)]='100%',_0x5b6d2e[_0x1c4631(0x1ed)][_0x1c4631(0x228)]=_0x1c4631(0x191),_0x5b6d2e[_0x1c4631(0x1ed)]['pointerEvents']=this[_0x1c4631(0x197)]?_0x1c4631(0x221):_0x1c4631(0xe1),_0x5b6d2e['style'][_0x1c4631(0xd5)]=0xa,_0x5b6d2e[_0x1c4631(0x231)]('id',_0x1c4631(0x206)),_0x5b6d2e[_0x1c4631(0x231)](_0x1c4631(0x139),_0x1c4631(0x206)),this[_0x1c4631(0x106)][_0x1c4631(0x11d)]['appendChild'](_0x5b6d2e);var _0x2d54af=this[_0x1c4631(0x106)][_0x1c4631(0x18e)];return _0x5b6d2e[_0x1c4631(0x16d)]=_0x2d54af[_0x1c4631(0x18d)][_0x1c4631(0x145)],_0x5b6d2e['height']=_0x2d54af[_0x1c4631(0x18d)][_0x1c4631(0x1b9)],_0x5b6d2e;}},{'key':_0x2bb60e(0x1c0),'value':function(){var _0x2c6302=_0x2bb60e;this[_0x2c6302(0x18d)]&&(this[_0x2c6302(0x18d)][_0x2c6302(0x16d)]=this[_0x2c6302(0x164)],this['canvas'][_0x2c6302(0x228)]=this[_0x2c6302(0x22c)]);}},{'key':_0x2bb60e(0x1d0),'value':function(){var _0x12cd20=_0x2bb60e,_0x38ead0=this,_0x27c830=Date[_0x12cd20(0x19c)]();!function _0x1c6298(){var _0x1675a0=_0x12cd20;_0x38ead0[_0x1675a0(0x1aa)]=window[_0x1675a0(0x114)](_0x1c6298);var _0x34bcbd=Date[_0x1675a0(0x19c)](),_0x487e48=_0x34bcbd-_0x27c830;_0x487e48>_0x38ead0[_0x1675a0(0x149)]&&(_0x27c830=_0x34bcbd-_0x487e48%_0x38ead0[_0x1675a0(0x149)],_0x38ead0['update']());}(),window[_0x12cd20(0x126)]('resize',this['resize'][_0x12cd20(0x146)](this),!0x1),this[_0x12cd20(0x12b)]=!0x1,this['mouse_move']=!0x1,this['_map']['on'](_0x528b06[_0x12cd20(0x18f)]['wheel'],this[_0x12cd20(0x105)],this),this[_0x12cd20(0x106)]['on'](_0x528b06['EventType'][_0x12cd20(0xfc)],this[_0x12cd20(0x1c4)],this),this[_0x12cd20(0x106)]['on'](_0x528b06[_0x12cd20(0x18f)][_0x12cd20(0xde)],this[_0x12cd20(0x134)],this),this[_0x12cd20(0x106)]['on'](_0x528b06['EventType']['mouseMove'],this[_0x12cd20(0x13f)],this);}},{'key':'unbindEvent','value':function(){var _0x36fc26=_0x2bb60e;window['cancelAnimationFrame'](this[_0x36fc26(0x1aa)]),delete this[_0x36fc26(0x1aa)],window[_0x36fc26(0x21a)]('resize',this[_0x36fc26(0x1c0)]),this[_0x36fc26(0x106)][_0x36fc26(0x108)](_0x528b06[_0x36fc26(0x18f)]['wheel'],this[_0x36fc26(0x105)],this),this[_0x36fc26(0x106)][_0x36fc26(0x108)](_0x528b06[_0x36fc26(0x18f)][_0x36fc26(0xfc)],this[_0x36fc26(0x1c4)],this),this[_0x36fc26(0x106)][_0x36fc26(0x108)](_0x528b06[_0x36fc26(0x18f)][_0x36fc26(0xde)],this[_0x36fc26(0x134)],this),this[_0x36fc26(0x106)][_0x36fc26(0x108)](_0x528b06['EventType']['mouseMove'],this[_0x36fc26(0x13f)],this);}},{'key':_0x2bb60e(0x105),'value':function(_0x708569){var _0x2f9651=_0x2bb60e,_0x2c9fa3=this;clearTimeout(this['refreshTimer']),this[_0x2f9651(0x187)]&&this[_0x2f9651(0x18d)]&&(this[_0x2f9651(0x18d)][_0x2f9651(0x1ed)][_0x2f9651(0x232)]=_0x2f9651(0x1b2),this[_0x2f9651(0x1d7)]=setTimeout(function(){var _0x3fc187=_0x2f9651;_0x2c9fa3[_0x3fc187(0x187)]&&(_0x2c9fa3['redraw'](),_0x2c9fa3[_0x3fc187(0x18d)][_0x3fc187(0x1ed)][_0x3fc187(0x232)]=_0x3fc187(0x192));},0xc8));}},{'key':_0x2bb60e(0x1c4),'value':function(_0x4e2b92){var _0x5b8495=_0x2bb60e;this[_0x5b8495(0x12b)]=!0x0;}},{'key':_0x2bb60e(0x13f),'value':function(_0x9a4ea7){var _0x270518=_0x2bb60e;this[_0x270518(0x187)]&&this['canvas']&&this[_0x270518(0x12b)]&&(this['canvas'][_0x270518(0x1ed)]['visibility']='hidden',this['mouse_move']=!0x0);}},{'key':'_onMouseUpEvent','value':function(_0x4881a4){var _0x5cc88e=_0x2bb60e;this[_0x5cc88e(0x187)]&&this[_0x5cc88e(0x18d)]&&(this[_0x5cc88e(0x12b)]&&this[_0x5cc88e(0x20d)]&&this[_0x5cc88e(0x159)](),this[_0x5cc88e(0x18d)][_0x5cc88e(0x1ed)][_0x5cc88e(0x232)]=_0x5cc88e(0x192),this[_0x5cc88e(0x12b)]=!0x1,this[_0x5cc88e(0x20d)]=!0x1);}},{'key':_0x2bb60e(0x159),'value':function(){var _0x1bf113=_0x2bb60e;this[_0x1bf113(0x187)]&&this[_0x1bf113(0x15d)]&&(this[_0x1bf113(0x205)]=[],this[_0x1bf113(0x20c)]());}},{'key':_0x2bb60e(0x22d),'value':function(_0xcf191f){var _0xca7944=_0x2bb60e;this[_0xca7944(0xee)](),this[_0xca7944(0x115)]=_0xcf191f,this[_0xca7944(0x15d)]=new _0x216551(this[_0xca7944(0x115)],this[_0xca7944(0x152)]),this[_0xca7944(0x20c)]();}},{'key':'drawWind','value':function(){var _0x4f0e3a=_0x2bb60e;this[_0x4f0e3a(0x168)]();for(var _0x29467b=0x0;_0x29467b<this[_0x4f0e3a(0x150)];_0x29467b++){var _0x2325a0=this[_0x4f0e3a(0x1e2)](new _0x45dfcc());this[_0x4f0e3a(0x205)][_0x4f0e3a(0x15b)](_0x2325a0);}this[_0x4f0e3a(0x136)]['fillStyle']=_0x4f0e3a(0x215),this[_0x4f0e3a(0x136)]['globalAlpha']=0.6,this['update']();}},{'key':'_calcStep','value':function(){var _0x4229a1=_0x2bb60e;this['windField']&&(this[_0x4229a1(0x1fa)]=[(this['windField'][_0x4229a1(0xf3)]-this[_0x4229a1(0x15d)]['xmin'])/this['speedRate'],(this[_0x4229a1(0x15d)][_0x4229a1(0x180)]-this[_0x4229a1(0x15d)][_0x4229a1(0x165)])/this[_0x4229a1(0x22e)]]);}},{'key':'update','value':function(){var _0x4fd571=_0x2bb60e,_0x5aee21=this;if(this[_0x4fd571(0x187)]&&!(this['particles'][_0x4fd571(0x110)]<=0x0)){var _0x5d1d09=null,_0x1a01d3=null,_0x563edb=null;this['particles']['forEach'](function(_0x55ac7b){var _0x219af4=_0x4fd571;if(_0x55ac7b[_0x219af4(0x237)]<=0x0&&_0x5aee21['randomParticle'](_0x55ac7b),_0x55ac7b['age']>0x0){var _0x3be823=_0x55ac7b['tlng'],_0x4d0ba8=_0x55ac7b['tlat'];(_0x563edb=_0x5aee21[_0x219af4(0x15d)][_0x219af4(0x213)](_0x3be823,_0x4d0ba8))?(_0x5d1d09=_0x3be823+_0x5aee21['calc_speedRate'][0x0]*_0x563edb[0x0],_0x1a01d3=_0x4d0ba8+_0x5aee21[_0x219af4(0x1fa)][0x1]*_0x563edb[0x1],_0x55ac7b[_0x219af4(0x1f1)]=_0x3be823,_0x55ac7b['lat']=_0x4d0ba8,_0x55ac7b[_0x219af4(0x217)]=_0x5d1d09,_0x55ac7b[_0x219af4(0x1d3)]=_0x1a01d3,_0x55ac7b['age']--):_0x55ac7b[_0x219af4(0x237)]=0x0;}}),this[_0x4fd571(0x1ad)]();}}},{'key':_0x2bb60e(0xea),'value':function(_0x5872c7,_0x166009,_0x7f05c2){var _0x2fd2b9=_0x2bb60e,_0x5c42ed=_0x2bfd05[_0x2fd2b9(0x16b)][_0x2fd2b9(0x15a)](_0x5872c7,_0x166009,this[_0x2fd2b9(0xdd)]),_0x3a874a=this[_0x2fd2b9(0x106)][_0x2fd2b9(0x18e)];if(_0x3a874a[_0x2fd2b9(0x18a)]===_0x2bfd05[_0x2fd2b9(0x1f8)][_0x2fd2b9(0x184)]&&!new _0x2bfd05[(_0x2fd2b9(0xdc))](_0x3a874a[_0x2fd2b9(0x20f)][_0x2fd2b9(0x1fc)],_0x3a874a[_0x2fd2b9(0xf5)]['positionWC'])[_0x2fd2b9(0x1ff)](_0x5c42ed))return _0x7f05c2['age']=0x0,null;var _0x2924e3=_0x2bfd05[_0x2fd2b9(0x208)][_0x2fd2b9(0x166)](this['_map'][_0x2fd2b9(0x18e)],_0x5c42ed);return _0x2924e3?[_0x2924e3['x'],_0x2924e3['y']]:null;}},{'key':_0x2bb60e(0x1ad),'value':function(){var _0x122ff4=_0x2bb60e,_0xeb8bdf=this,_0x197a05=this[_0x122ff4(0x205)];this[_0x122ff4(0x136)][_0x122ff4(0x1a9)]=_0xeb8bdf[_0x122ff4(0x1a9)],this[_0x122ff4(0x136)]['globalCompositeOperation']=_0x122ff4(0x21b),this[_0x122ff4(0x136)]['fillRect'](0x0,0x0,this['canvasWidth'],this[_0x122ff4(0x22c)]),this[_0x122ff4(0x136)]['globalCompositeOperation']=_0x122ff4(0x1b3),this['canvasContext'][_0x122ff4(0x170)]=0.9,this[_0x122ff4(0x136)][_0x122ff4(0x1f2)](),this[_0x122ff4(0x136)]['strokeStyle']=this['color'];var _0x2362f2=this[_0x122ff4(0x106)][_0x122ff4(0x18e)][_0x122ff4(0x18a)]!==_0x2bfd05[_0x122ff4(0x1f8)]['SCENE3D'];_0x197a05[_0x122ff4(0x233)](function(_0x49ed0c){var _0x2239f9=_0x122ff4,_0x154490=_0xeb8bdf['_tomap'](_0x49ed0c[_0x2239f9(0x1f1)],_0x49ed0c['lat'],_0x49ed0c),_0x160fa3=_0xeb8bdf[_0x2239f9(0xea)](_0x49ed0c[_0x2239f9(0x217)],_0x49ed0c[_0x2239f9(0x1d3)],_0x49ed0c);if(null!=_0x154490&&null!=_0x160fa3){var _0x27b15d=Math['abs'](_0x154490[0x0]-_0x160fa3[0x0]);_0x2362f2&&_0x27b15d>=_0xeb8bdf[_0x2239f9(0x164)]||(_0xeb8bdf[_0x2239f9(0x136)][_0x2239f9(0x227)](_0x154490[0x0],_0x154490[0x1]),_0xeb8bdf[_0x2239f9(0x136)][_0x2239f9(0x198)](_0x160fa3[0x0],_0x160fa3[0x1]));}}),this[_0x122ff4(0x136)][_0x122ff4(0x138)]();}},{'key':_0x2bb60e(0x1e2),'value':function(_0x28b181){var _0x3f0536=_0x2bb60e;for(var _0x112e4d,_0x24142e,_0xd87b2c=0x0;_0xd87b2c<0x1e&&(_0x112e4d=this[_0x3f0536(0x15d)][_0x3f0536(0x1c9)](),!((_0x24142e=this[_0x3f0536(0x15d)][_0x3f0536(0x213)](_0x112e4d[_0x3f0536(0x1f1)],_0x112e4d[_0x3f0536(0x107)]))&&_0x24142e[0x2]>0x0));_0xd87b2c++);if(!_0x24142e)return _0x28b181;var _0x558914=_0x112e4d[_0x3f0536(0x1f1)]+this['calc_speedRate'][0x0]*_0x24142e[0x0],_0x207c58=_0x112e4d[_0x3f0536(0x107)]+this[_0x3f0536(0x1fa)][0x1]*_0x24142e[0x1];return _0x28b181['lng']=_0x112e4d[_0x3f0536(0x1f1)],_0x28b181[_0x3f0536(0x107)]=_0x112e4d['lat'],_0x28b181['tlng']=_0x558914,_0x28b181[_0x3f0536(0x1d3)]=_0x207c58,_0x28b181[_0x3f0536(0x237)]=Math[_0x3f0536(0x135)](Math[_0x3f0536(0x1e6)]()*this[_0x3f0536(0xef)]),_0x28b181;}},{'key':_0x2bb60e(0xee),'value':function(){var _0x2f81bc=_0x2bb60e;this[_0x2f81bc(0x205)]=[],delete this[_0x2f81bc(0x15d)],delete this[_0x2f81bc(0x115)];}}]),_0x3b07fd;}(_0x528b06[_0x3a7e93(0x1b8)][_0x3a7e93(0xe3)]);function _0x1285d4(_0x59686b,_0x241aa1){var _0x25ec95=_0x3a7e93;return _0x59686b*Math[_0x25ec95(0x1a0)](_0x2bfd05[_0x25ec95(0x1d2)]['toRadians'](_0x241aa1));}function _0x14defd(_0x24478a,_0x2ce4e7){var _0x4850ed=_0x3a7e93;return _0x24478a*Math['sin'](_0x2bfd05[_0x4850ed(0x1d2)][_0x4850ed(0x20e)](_0x2ce4e7));}function _0x2206a4(_0x2c18f2,_0x58fe56){var _0x32009d=_0x3a7e93;return Math[_0x32009d(0x1c2)](Math['pow'](_0x2c18f2,0x2)+Math[_0x32009d(0x16f)](_0x58fe56,0x2));}function _0xf9eb2e(_0x5d6d2c,_0x3d9f38){var _0x5726ea=_0x3a7e93,_0xdfdc9e=_0x2bfd05[_0x5726ea(0x1d2)][_0x5726ea(0x11a)](Math[_0x5726ea(0x153)](_0x3d9f38,_0x5d6d2c));return _0xdfdc9e+=_0xdfdc9e<0x0?0x168:0x0;}_0x528b06[_0x3a7e93(0x1ca)][_0x3a7e93(0x1e1)](_0x3a7e93(0x1db),_0x23a533),_0x528b06[_0x3a7e93(0x1b8)]['CanvasWindLayer']=_0x23a533,_0x528b06[_0x3a7e93(0x1fd)]=_0x4b17ad;}]));function a0_0x3080(_0x2d55d2,_0x975919){var _0x1d563c=a0_0x1d56();return a0_0x3080=function(_0x3080ad,_0x5989a2){_0x3080ad=_0x3080ad-0xc4;var _0x1c0502=_0x1d563c[_0x3080ad];return _0x1c0502;},a0_0x3080(_0x2d55d2,_0x975919);}function a0_0x1d56(){var _0x4ed441=['round','canvasContext','getPixelSize','stroke','class','getUserInput','colorNum','west','createWindTextures','UNSIGNED_BYTE','_onMouseMoveEvent','setGeometry','pixelSize','uniform\x20sampler2D\x20postProcessingPosition;\x0auniform\x20sampler2D\x20nextParticlesSpeed;\x0a\x0avarying\x20vec2\x20v_textureCoordinates;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20vec4\x20randomParticle\x20=\x20texture2D(postProcessingPosition,\x20v_textureCoordinates);\x0a\x20\x20\x20\x20vec4\x20particleSpeed\x20=\x20texture2D(nextParticlesSpeed,\x20v_textureCoordinates);\x0a\x0a\x20\x20\x20\x20if\x20(randomParticle.a\x20>\x200.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(0.0);\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20particleSpeed;\x0a\x20\x20\x20\x20}\x0a}','updatePosition','valueOf','clientWidth','bind','getFullscreenQuad','function','frameTime','_onMap_preRenderEvent','isDestroyed','currentParticlesPosition','currentTrails','ceil','17876903tHfdWU','particlesNumber','dropRateBump','reverseY','atan2','toStringTag','createRenderingPrimitives','preExecute','7036maAdTE','getExtent','redraw','fromDegrees','push','xmin','windField','context','array','lev','particlesWind','symbol','viewport','canvasWidth','ymin','wgs84ToWindowCoordinates','max','_calcStep','createParticlesTextures','RGBA','Cartesian3','drawingBufferHeight','width','segmentsDepth','pow','globalAlpha','PI_OVER_THREE','autoClear','segments','attributeLocations','destroy','undefined','__proto__','maxParticles','1379zyZgtN','drawingBufferWidth','preRender','mars3d','pointerEvents','commandToExecute','color','ymax','Module','frameRate','defined','SCENE3D','120MTvqKA','getPrototypeOf','show','updateSpeed','lon','mode','particlesRendering','__esModule','canvas','scene','EventType','DISABLE_LOG_DEPTH_FRAGMENT_WRITE','100%','visible','TRIANGLES','setPrototypeOf','randomizeParticles','keys','_pointerEvents','lineTo','commandType','hasOwnProperty','_bilinearInterpolation','now','createComputingPrimitives','RenderState','ShaderSource','cos','12QWZAZM','once','createRenderingFramebuffers','refreshParticles','toGridXY','Super\x20expression\x20must\x20either\x20be\x20null\x20or\x20a\x20function','wind','isInExtent','lineWidth','animateFrame','getSpeed','lonRange','_drawLines','constructor','currentTrailsColor','segmentsColor','DrawCommand','hidden','lighter','primitiveType','particlesComputing','nextTrails','LUMINANCE','layer','clientHeight','_particlesNumber','fadeOpacity','viewerParameters','value','createCommand','iterator','resize','TextureMinificationFilter','sqrt','_mountedHook','_onMouseDownEvent','enumerable','createRenderingTextures','DEPTH_COMPONENT','PrimitiveCollection','getRandomLatLng','LayerUtil','GeometryAttributes','Geometry','depthTexture','uniform\x20sampler2D\x20currentParticlesSpeed;\x20//\x20(u,\x20v,\x20w,\x20normalization)\x0auniform\x20sampler2D\x20particlesWind;\x0a\x0a//\x20used\x20to\x20calculate\x20the\x20wind\x20norm\x0auniform\x20vec2\x20uSpeedRange;\x20//\x20(min,\x20max);\x0auniform\x20vec2\x20vSpeedRange;\x0auniform\x20float\x20pixelSize;\x0auniform\x20float\x20speedFactor;\x0a\x0avarying\x20vec2\x20v_textureCoordinates;\x0a\x0afloat\x20calculateWindNorm(vec3\x20speed)\x20{\x0a\x20\x20\x20\x20vec3\x20percent\x20=\x20vec3(0.0);\x0a\x20\x20\x20\x20percent.x\x20=\x20(speed.x\x20-\x20uSpeedRange.x)\x20/\x20(uSpeedRange.y\x20-\x20uSpeedRange.x);\x0a\x20\x20\x20\x20percent.y\x20=\x20(speed.y\x20-\x20vSpeedRange.x)\x20/\x20(vSpeedRange.y\x20-\x20vSpeedRange.x);\x0a\x20\x20\x20\x20float\x20normalization\x20=\x20length(percent);\x0a\x0a\x20\x20\x20\x20return\x20normalization;\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20//\x20texture\x20coordinate\x20must\x20be\x20normalized\x0a\x20\x20\x20\x20vec3\x20currentSpeed\x20=\x20texture2D(currentParticlesSpeed,\x20v_textureCoordinates).rgb;\x0a\x20\x20\x20\x20vec3\x20windVector\x20=\x20texture2D(particlesWind,\x20v_textureCoordinates).rgb;\x0a\x0a\x20\x20\x20\x20vec4\x20nextSpeed\x20=\x20vec4(speedFactor\x20*\x20pixelSize\x20*\x20windVector,\x20calculateWindNorm(windVector));\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20nextSpeed;\x0a}','ClearCommand','bindEvent','VertexArray','Math','tlat','getWind','particlesTextures','create','refreshTimer','wheel','Sampler','createTexture','canvasWind','mouseMove','setOptions','colorTable','ZERO','createFramebuffer','register','randomParticle','screen','_maxAge','exports','random','uniform\x20sampler2D\x20segmentsColorTexture;\x0d\x0auniform\x20sampler2D\x20segmentsDepthTexture;\x0d\x0a\x0d\x0auniform\x20sampler2D\x20currentTrailsColor;\x0d\x0auniform\x20sampler2D\x20trailsDepthTexture;\x0d\x0a\x0d\x0auniform\x20float\x20fadeOpacity;\x0d\x0a\x0d\x0avarying\x20vec2\x20textureCoordinate;\x0d\x0a\x0d\x0avoid\x20main()\x20{\x0d\x0a\x20\x20\x20\x20vec4\x20pointsColor\x20=\x20texture2D(segmentsColorTexture,\x20textureCoordinate);\x0d\x0a\x20\x20\x20\x20vec4\x20trailsColor\x20=\x20texture2D(currentTrailsColor,\x20textureCoordinate);\x0d\x0a\x0d\x0a\x20\x20\x20\x20trailsColor\x20=\x20floor(fadeOpacity\x20*\x20255.0\x20*\x20trailsColor)\x20/\x20255.0;\x20//\x20make\x20sure\x20the\x20trailsColor\x20will\x20be\x20strictly\x20decreased\x0d\x0a\x0d\x0a\x20\x20\x20\x20float\x20pointsDepth\x20=\x20texture2D(segmentsDepthTexture,\x20textureCoordinate).r;\x0d\x0a\x20\x20\x20\x20float\x20trailsDepth\x20=\x20texture2D(trailsDepthTexture,\x20textureCoordinate).r;\x0d\x0a\x20\x20\x20\x20float\x20globeDepth\x20=\x20czm_unpackDepth(texture2D(czm_globeDepthTexture,\x20textureCoordinate));\x0d\x0a\x0d\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(0.0);\x0d\x0a\x20\x20\x20\x20if\x20(pointsDepth\x20<\x20globeDepth)\x20{\x0d\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20gl_FragColor\x20+\x20pointsColor;\x0d\x0a\x20\x20\x20\x20}\x0d\x0a\x20\x20\x20\x20if\x20(trailsDepth\x20<\x20globeDepth)\x20{\x0d\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20gl_FragColor\x20+\x20trailsColor;\x0d\x0a\x20\x20\x20\x20}\x0d\x0a\x20\x20\x20\x20gl_FragDepthEXT\x20=\x20min(pointsDepth,\x20trailsDepth);\x0d\x0a}','call','writable','rows','LINEAR','viewRectangleToLonLatRange','style','remove','FLOAT','updateViewerParameters','lng','beginPath','particleHeight','DepthFunction','apply','dimensions','outputTexture','SceneMode','TWO_PI','calc_speedRate','TextureMagnificationFilter','ellipsoid','WindUtil','mars3dWind','isPointVisible','//\x20the\x20size\x20of\x20UV\x20textures:\x20width\x20=\x20lon,\x20height\x20=\x20lat*lev\x0auniform\x20sampler2D\x20U;\x20//\x20eastward\x20wind\x20\x0auniform\x20sampler2D\x20V;\x20//\x20northward\x20wind\x0a\x0auniform\x20sampler2D\x20currentParticlesPosition;\x20//\x20(lon,\x20lat,\x20lev)\x0a\x0auniform\x20vec3\x20dimension;\x20//\x20(lon,\x20lat,\x20lev)\x0auniform\x20vec3\x20minimum;\x20//\x20minimum\x20of\x20each\x20dimension\x0auniform\x20vec3\x20maximum;\x20//\x20maximum\x20of\x20each\x20dimension\x0auniform\x20vec3\x20interval;\x20//\x20interval\x20of\x20each\x20dimension\x0a\x0avarying\x20vec2\x20v_textureCoordinates;\x0a\x0avec2\x20mapPositionToNormalizedIndex2D(vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20//\x20ensure\x20the\x20range\x20of\x20longitude\x20and\x20latitude\x0a\x20\x20\x20\x20lonLatLev.x\x20=\x20mod(lonLatLev.x,\x20360.0);\x0a\x20\x20\x20\x20lonLatLev.y\x20=\x20clamp(lonLatLev.y,\x20-90.0,\x2090.0);\x0a\x0a\x20\x20\x20\x20vec3\x20index3D\x20=\x20vec3(0.0);\x0a\x20\x20\x20\x20index3D.x\x20=\x20(lonLatLev.x\x20-\x20minimum.x)\x20/\x20interval.x;\x0a\x20\x20\x20\x20index3D.y\x20=\x20(lonLatLev.y\x20-\x20minimum.y)\x20/\x20interval.y;\x0a\x20\x20\x20\x20index3D.z\x20=\x20(lonLatLev.z\x20-\x20minimum.z)\x20/\x20interval.z;\x0a\x0a\x20\x20\x20\x20//\x20the\x20st\x20texture\x20coordinate\x20corresponding\x20to\x20(col,\x20row)\x20index\x0a\x20\x20\x20\x20//\x20example\x0a\x20\x20\x20\x20//\x20data\x20array\x20is\x20[0,\x201,\x202,\x203,\x204,\x205],\x20width\x20=\x203,\x20height\x20=\x202\x0a\x20\x20\x20\x20//\x20the\x20content\x20of\x20texture\x20will\x20be\x0a\x20\x20\x20\x20//\x20t\x201.0\x0a\x20\x20\x20\x20//\x20\x20\x20\x20|\x20\x203\x204\x205\x0a\x20\x20\x20\x20//\x20\x20\x20\x20|\x0a\x20\x20\x20\x20//\x20\x20\x20\x20|\x20\x200\x201\x202\x0a\x20\x20\x20\x20//\x20\x20\x200.0------1.0\x20s\x0a\x0a\x20\x20\x20\x20vec2\x20index2D\x20=\x20vec2(index3D.x,\x20index3D.z\x20*\x20dimension.y\x20+\x20index3D.y);\x0a\x20\x20\x20\x20vec2\x20normalizedIndex2D\x20=\x20vec2(index2D.x\x20/\x20dimension.x,\x20index2D.y\x20/\x20(dimension.y\x20*\x20dimension.z));\x0a\x20\x20\x20\x20return\x20normalizedIndex2D;\x0a}\x0a\x0afloat\x20getWind(sampler2D\x20windTexture,\x20vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20vec2\x20normalizedIndex2D\x20=\x20mapPositionToNormalizedIndex2D(lonLatLev);\x0a\x20\x20\x20\x20float\x20result\x20=\x20texture2D(windTexture,\x20normalizedIndex2D).r;\x0a\x20\x20\x20\x20return\x20result;\x0a}\x0a\x0aconst\x20mat4\x20kernelMatrix\x20=\x20mat4(\x0a\x20\x20\x20\x200.0,\x20-1.0,\x202.0,\x20-1.0,\x20//\x20first\x20column\x0a\x20\x20\x20\x202.0,\x200.0,\x20-5.0,\x203.0,\x20//\x20second\x20column\x0a\x20\x20\x20\x200.0,\x201.0,\x204.0,\x20-3.0,\x20//\x20third\x20column\x0a\x20\x20\x20\x200.0,\x200.0,\x20-1.0,\x201.0\x20//\x20fourth\x20column\x0a);\x0afloat\x20oneDimensionInterpolation(float\x20t,\x20float\x20p0,\x20float\x20p1,\x20float\x20p2,\x20float\x20p3)\x20{\x0a\x20\x20\x20\x20vec4\x20tVec4\x20=\x20vec4(1.0,\x20t,\x20t\x20*\x20t,\x20t\x20*\x20t\x20*\x20t);\x0a\x20\x20\x20\x20tVec4\x20=\x20tVec4\x20/\x202.0;\x0a\x20\x20\x20\x20vec4\x20pVec4\x20=\x20vec4(p0,\x20p1,\x20p2,\x20p3);\x0a\x20\x20\x20\x20return\x20dot((tVec4\x20*\x20kernelMatrix),\x20pVec4);\x0a}\x0a\x0afloat\x20calculateB(sampler2D\x20windTexture,\x20float\x20t,\x20float\x20lon,\x20float\x20lat,\x20float\x20lev)\x20{\x0a\x20\x20\x20\x20float\x20lon0\x20=\x20floor(lon)\x20-\x201.0\x20*\x20interval.x;\x0a\x20\x20\x20\x20float\x20lon1\x20=\x20floor(lon);\x0a\x20\x20\x20\x20float\x20lon2\x20=\x20floor(lon)\x20+\x201.0\x20*\x20interval.x;\x0a\x20\x20\x20\x20float\x20lon3\x20=\x20floor(lon)\x20+\x202.0\x20*\x20interval.x;\x0a\x0a\x20\x20\x20\x20float\x20p0\x20=\x20getWind(windTexture,\x20vec3(lon0,\x20lat,\x20lev));\x0a\x20\x20\x20\x20float\x20p1\x20=\x20getWind(windTexture,\x20vec3(lon1,\x20lat,\x20lev));\x0a\x20\x20\x20\x20float\x20p2\x20=\x20getWind(windTexture,\x20vec3(lon2,\x20lat,\x20lev));\x0a\x20\x20\x20\x20float\x20p3\x20=\x20getWind(windTexture,\x20vec3(lon3,\x20lat,\x20lev));\x0a\x0a\x20\x20\x20\x20return\x20oneDimensionInterpolation(t,\x20p0,\x20p1,\x20p2,\x20p3);\x0a}\x0a\x0afloat\x20interpolateOneTexture(sampler2D\x20windTexture,\x20vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20float\x20lon\x20=\x20lonLatLev.x;\x0a\x20\x20\x20\x20float\x20lat\x20=\x20lonLatLev.y;\x0a\x20\x20\x20\x20float\x20lev\x20=\x20lonLatLev.z;\x0a\x0a\x20\x20\x20\x20float\x20lat0\x20=\x20floor(lat)\x20-\x201.0\x20*\x20interval.y;\x0a\x20\x20\x20\x20float\x20lat1\x20=\x20floor(lat);\x0a\x20\x20\x20\x20float\x20lat2\x20=\x20floor(lat)\x20+\x201.0\x20*\x20interval.y;\x0a\x20\x20\x20\x20float\x20lat3\x20=\x20floor(lat)\x20+\x202.0\x20*\x20interval.y;\x0a\x0a\x20\x20\x20\x20vec2\x20coefficient\x20=\x20lonLatLev.xy\x20-\x20floor(lonLatLev.xy);\x0a\x20\x20\x20\x20float\x20b0\x20=\x20calculateB(windTexture,\x20coefficient.x,\x20lon,\x20lat0,\x20lev);\x0a\x20\x20\x20\x20float\x20b1\x20=\x20calculateB(windTexture,\x20coefficient.x,\x20lon,\x20lat1,\x20lev);\x0a\x20\x20\x20\x20float\x20b2\x20=\x20calculateB(windTexture,\x20coefficient.x,\x20lon,\x20lat2,\x20lev);\x0a\x20\x20\x20\x20float\x20b3\x20=\x20calculateB(windTexture,\x20coefficient.x,\x20lon,\x20lat3,\x20lev);\x0a\x0a\x20\x20\x20\x20return\x20oneDimensionInterpolation(coefficient.y,\x20b0,\x20b1,\x20b2,\x20b3);\x0a}\x0a\x0avec3\x20bicubic(vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20//\x20https://en.wikipedia.org/wiki/Bicubic_interpolation#Bicubic_convolution_algorithm\x0a\x20\x20\x20\x20float\x20u\x20=\x20interpolateOneTexture(U,\x20lonLatLev);\x0a\x20\x20\x20\x20float\x20v\x20=\x20interpolateOneTexture(V,\x20lonLatLev);\x0a\x20\x20\x20\x20float\x20w\x20=\x200.0;\x0a\x20\x20\x20\x20return\x20vec3(u,\x20v,\x20w);\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20//\x20texture\x20coordinate\x20must\x20be\x20normalized\x0a\x20\x20\x20\x20vec3\x20lonLatLev\x20=\x20texture2D(currentParticlesPosition,\x20v_textureCoordinates).rgb;\x0a\x20\x20\x20\x20vec3\x20windVector\x20=\x20bicubic(lonLatLev);\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(windVector,\x200.0);\x0a}','dropRate','Cartesian2','udata','globeBoundingSphere','particles','canvasWindy','reverse','SceneTransforms','computeViewRectangle','commandList','defaultValue','drawWind','mouse_move','toRadians','globe','defineProperty','currentParticlesSpeed','prototype','getUVByPoint','left','rgba(0,\x200,\x200,\x200.97)','101754bdCKxC','tlng','Texture','nextTrailsDepth','removeEventListener','destination-in','Compute','vertexShaderSource','108063pXbWVn','removeChild','_showHook','auto','ShaderProgram','textures','PrimitiveType','_removedHook','Color','moveTo','height','mod','11274GZDTnA','DISABLE_GL_POSITION_LOG_DEPTH','canvasHeight','updateDate','speedRate','OPAQUE','postProcessingPosition','setAttribute','visibility','forEach','BufferUsage','_addedHook','speedFactor','age','execute','fromCache','getDirection','Rectangle','getUVByXY','north','construct','data','clampToLatitudeRange','blending','trails','getV','fragmentShaderSource','default','vdata','WindLayer','PixelDatatype','zIndex','5vlKjfT','applyUserInput','clearCommand','top','3215510vESLnA','options','EllipsoidalOccluder','fixedHeight','mouseUp','PixelFormat','UNSIGNED_INT','none','destroyParticlesTextures','BaseLayer','getU','string','framebuffers','Draw','cols','nextParticlesSpeed','_tomap','Cesium','PI_OVER_TWO','GeometryAttribute','clear','maxAge','createElement','attribute\x20vec2\x20st;\x0a//\x20it\x20is\x20not\x20normal\x20itself,\x20but\x20used\x20to\x20control\x20normal\x0aattribute\x20vec3\x20normal;\x20//\x20(point\x20to\x20use,\x20offset\x20sign,\x20not\x20used\x20component)\x0a\x0auniform\x20sampler2D\x20currentParticlesPosition;\x0auniform\x20sampler2D\x20postProcessingPosition;\x0auniform\x20sampler2D\x20postProcessingSpeed;\x0a\x0auniform\x20float\x20particleHeight;\x0a\x0auniform\x20float\x20aspect;\x0auniform\x20float\x20pixelSize;\x0auniform\x20float\x20lineWidth;\x0a\x0avarying\x20float\x20speedNormalization;\x0a\x0avec3\x20convertCoordinate(vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20//\x20WGS84\x20(lon,\x20lat,\x20lev)\x20->\x20ECEF\x20(x,\x20y,\x20z)\x0a\x20\x20\x20\x20//\x20see\x20https://en.wikipedia.org/wiki/Geographic_coordinate_conversion#From_geodetic_to_ECEF_coordinates\x20for\x20detail\x0a\x0a\x20\x20\x20\x20//\x20WGS\x2084\x20geometric\x20constants\x20\x0a\x20\x20\x20\x20float\x20a\x20=\x206378137.0;\x20//\x20Semi-major\x20axis\x20\x0a\x20\x20\x20\x20float\x20b\x20=\x206356752.3142;\x20//\x20Semi-minor\x20axis\x20\x0a\x20\x20\x20\x20float\x20e2\x20=\x206.69437999014e-3;\x20//\x20First\x20eccentricity\x20squared\x0a\x0a\x20\x20\x20\x20float\x20latitude\x20=\x20radians(lonLatLev.y);\x0a\x20\x20\x20\x20float\x20longitude\x20=\x20radians(lonLatLev.x);\x0a\x0a\x20\x20\x20\x20float\x20cosLat\x20=\x20cos(latitude);\x0a\x20\x20\x20\x20float\x20sinLat\x20=\x20sin(latitude);\x0a\x20\x20\x20\x20float\x20cosLon\x20=\x20cos(longitude);\x0a\x20\x20\x20\x20float\x20sinLon\x20=\x20sin(longitude);\x0a\x0a\x20\x20\x20\x20float\x20N_Phi\x20=\x20a\x20/\x20sqrt(1.0\x20-\x20e2\x20*\x20sinLat\x20*\x20sinLat);\x0a\x20\x20\x20\x20float\x20h\x20=\x20particleHeight;\x20//\x20it\x20should\x20be\x20high\x20enough\x20otherwise\x20the\x20particle\x20may\x20not\x20pass\x20the\x20terrain\x20depth\x20test\x0a\x0a\x20\x20\x20\x20vec3\x20cartesian\x20=\x20vec3(0.0);\x0a\x20\x20\x20\x20cartesian.x\x20=\x20(N_Phi\x20+\x20h)\x20*\x20cosLat\x20*\x20cosLon;\x0a\x20\x20\x20\x20cartesian.y\x20=\x20(N_Phi\x20+\x20h)\x20*\x20cosLat\x20*\x20sinLon;\x0a\x20\x20\x20\x20cartesian.z\x20=\x20((b\x20*\x20b)\x20/\x20(a\x20*\x20a)\x20*\x20N_Phi\x20+\x20h)\x20*\x20sinLat;\x0a\x20\x20\x20\x20return\x20cartesian;\x0a}\x0a\x0avec4\x20calcProjectedCoordinate(vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20//\x20the\x20range\x20of\x20longitude\x20in\x20Cesium\x20is\x20[-180,\x20180]\x20but\x20the\x20range\x20of\x20longitude\x20in\x20the\x20NetCDF\x20file\x20is\x20[0,\x20360]\x0a\x20\x20\x20\x20//\x20[0,\x20180]\x20is\x20corresponding\x20to\x20[0,\x20180]\x20and\x20[180,\x20360]\x20is\x20corresponding\x20to\x20[-180,\x200]\x0a\x20\x20\x20\x20lonLatLev.x\x20=\x20mod(lonLatLev.x\x20+\x20180.0,\x20360.0)\x20-\x20180.0;\x0a\x20\x20\x20\x20vec3\x20particlePosition\x20=\x20convertCoordinate(lonLatLev);\x0a\x20\x20\x20\x20vec4\x20projectedCoordinate\x20=\x20czm_modelViewProjection\x20*\x20vec4(particlePosition,\x201.0);\x0a\x20\x20\x20\x20return\x20projectedCoordinate;\x0a}\x0a\x0avec4\x20calcOffset(vec4\x20currentProjectedCoordinate,\x20vec4\x20nextProjectedCoordinate,\x20float\x20offsetSign)\x20{\x0a\x20\x20\x20\x20vec2\x20aspectVec2\x20=\x20vec2(aspect,\x201.0);\x0a\x20\x20\x20\x20vec2\x20currentXY\x20=\x20(currentProjectedCoordinate.xy\x20/\x20currentProjectedCoordinate.w)\x20*\x20aspectVec2;\x0a\x20\x20\x20\x20vec2\x20nextXY\x20=\x20(nextProjectedCoordinate.xy\x20/\x20nextProjectedCoordinate.w)\x20*\x20aspectVec2;\x0a\x0a\x20\x20\x20\x20float\x20offsetLength\x20=\x20lineWidth\x20/\x202.0;\x0a\x20\x20\x20\x20vec2\x20direction\x20=\x20normalize(nextXY\x20-\x20currentXY);\x0a\x20\x20\x20\x20vec2\x20normalVector\x20=\x20vec2(-direction.y,\x20direction.x);\x0a\x20\x20\x20\x20normalVector.x\x20=\x20normalVector.x\x20/\x20aspect;\x0a\x20\x20\x20\x20normalVector\x20=\x20offsetLength\x20*\x20normalVector;\x0a\x0a\x20\x20\x20\x20vec4\x20offset\x20=\x20vec4(offsetSign\x20*\x20normalVector,\x200.0,\x200.0);\x0a\x20\x20\x20\x20return\x20offset;\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20vec2\x20particleIndex\x20=\x20st;\x0a\x0a\x20\x20\x20\x20vec3\x20currentPosition\x20=\x20texture2D(currentParticlesPosition,\x20particleIndex).rgb;\x0a\x20\x20\x20\x20vec4\x20nextPosition\x20=\x20texture2D(postProcessingPosition,\x20particleIndex);\x0a\x0a\x20\x20\x20\x20vec4\x20currentProjectedCoordinate\x20=\x20vec4(0.0);\x0a\x20\x20\x20\x20vec4\x20nextProjectedCoordinate\x20=\x20vec4(0.0);\x0a\x20\x20\x20\x20if\x20(nextPosition.w\x20>\x200.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20currentProjectedCoordinate\x20=\x20calcProjectedCoordinate(currentPosition);\x0a\x20\x20\x20\x20\x20\x20\x20\x20nextProjectedCoordinate\x20=\x20calcProjectedCoordinate(currentPosition);\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20currentProjectedCoordinate\x20=\x20calcProjectedCoordinate(currentPosition);\x0a\x20\x20\x20\x20\x20\x20\x20\x20nextProjectedCoordinate\x20=\x20calcProjectedCoordinate(nextPosition.xyz);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20float\x20pointToUse\x20=\x20normal.x;\x20//\x20-1\x20is\x20currentProjectedCoordinate\x20and\x20+1\x20is\x20nextProjectedCoordinate\x0a\x20\x20\x20\x20float\x20offsetSign\x20=\x20normal.y;\x0a\x0a\x20\x20\x20\x20vec4\x20offset\x20=\x20pixelSize\x20*\x20calcOffset(currentProjectedCoordinate,\x20nextProjectedCoordinate,\x20offsetSign);\x0a\x20\x20\x20\x20if\x20(pointToUse\x20<\x200.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_Position\x20=\x20currentProjectedCoordinate\x20+\x20offset;\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_Position\x20=\x20nextProjectedCoordinate\x20+\x20offset;\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20speedNormalization\x20=\x20texture2D(postProcessingSpeed,\x20particleIndex).a;\x0a}','randomBetween','xmax','floor','camera','postProcessingSpeed','2900950gduWku','Pass','userInput','rawRenderState','windTextures','mouseDown','geometry','shaderProgram','vertexArray','uniformMap','arrayBufferView','Framebuffer','STATIC_DRAW','ComputeCommand','_onMapWhellEvent','_map','lat','off','globeLayer','framebuffer','add','fill','getColorTexture','this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called','latRange','length','NEAREST','depthMask','RGB','requestAnimationFrame','windData','clearFramebuffers','min','sham','canrefresh','toDegrees','_createCanvas','Appearance','container','log','applyViewerParameters','addPrimitives','831GjLcam','particleSystem','all','ALWAYS','Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined','addEventListener','fromGeometry','grid','destroyObject','createRawRenderState','mouse_down','removeAll','primitives','nextParticlesPosition','object','particlesTextureSize','getDefaultRenderState','_calcUV','ComponentDatatype','_onMouseUpEvent'];a0_0x1d56=function(){return _0x4ed441;};return a0_0x1d56();}
|
|
30
|
+
function a0_0x555b(){var _0x54b19a=['dropRateBump','speedFactor','fixedHeight','Color','fromDegrees','tlat','visible','currentParticlesPosition','userInput','uniform\x20sampler2D\x20segmentsColorTexture;\x0d\x0auniform\x20sampler2D\x20segmentsDepthTexture;\x0d\x0a\x0d\x0auniform\x20sampler2D\x20currentTrailsColor;\x0d\x0auniform\x20sampler2D\x20trailsDepthTexture;\x0d\x0a\x0d\x0auniform\x20float\x20fadeOpacity;\x0d\x0a\x0d\x0avarying\x20vec2\x20textureCoordinate;\x0d\x0a\x0d\x0avoid\x20main()\x20{\x0d\x0a\x20\x20\x20\x20vec4\x20pointsColor\x20=\x20texture2D(segmentsColorTexture,\x20textureCoordinate);\x0d\x0a\x20\x20\x20\x20vec4\x20trailsColor\x20=\x20texture2D(currentTrailsColor,\x20textureCoordinate);\x0d\x0a\x0d\x0a\x20\x20\x20\x20trailsColor\x20=\x20floor(fadeOpacity\x20*\x20255.0\x20*\x20trailsColor)\x20/\x20255.0;\x20//\x20make\x20sure\x20the\x20trailsColor\x20will\x20be\x20strictly\x20decreased\x0d\x0a\x0d\x0a\x20\x20\x20\x20float\x20pointsDepth\x20=\x20texture2D(segmentsDepthTexture,\x20textureCoordinate).r;\x0d\x0a\x20\x20\x20\x20float\x20trailsDepth\x20=\x20texture2D(trailsDepthTexture,\x20textureCoordinate).r;\x0d\x0a\x20\x20\x20\x20float\x20globeDepth\x20=\x20czm_unpackDepth(texture2D(czm_globeDepthTexture,\x20textureCoordinate));\x0d\x0a\x0d\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(0.0);\x0d\x0a\x20\x20\x20\x20if\x20(pointsDepth\x20<\x20globeDepth)\x20{\x0d\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20gl_FragColor\x20+\x20pointsColor;\x0d\x0a\x20\x20\x20\x20}\x0d\x0a\x20\x20\x20\x20if\x20(trailsDepth\x20<\x20globeDepth)\x20{\x0d\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20gl_FragColor\x20+\x20trailsColor;\x0d\x0a\x20\x20\x20\x20}\x0d\x0a\x20\x20\x20\x20gl_FragDepthEXT\x20=\x20min(pointsDepth,\x20trailsDepth);\x0d\x0a}','getUVByPoint','requestAnimationFrame','once','Set','80gKjdRb','xmin','getUserInput','reverse','calc_speedRate','pointerEvents','green','__proto__','call','iterator','WMS_URL','mouseUp','_particlesNumber','addEventListener','colors','DISABLE_GL_POSITION_LOG_DEPTH','function','DEPTH_COMPONENT','canvasWidth','key','PI_OVER_THREE','_onMouseDownEvent','lighter','ymin','FLOAT','ShaderSource','Object','TRIANGLES','random','container','fromCssColorString','setData','construct','4kEkyVU','all','layer','clampToLatitudeRange','createComputingPrimitives','array','133925HWOpdc','positionWC','_calcStep','STATIC_DRAW','WindLayer','maxParticles','viewRectangleToLonLatRange','toRadians','2CANiAZ','mod','globe','TWO_PI','length','_onMouseUpEvent','canvasContext','globalAlpha','Cartesian3','color','BaseLayer','DrawCommand','particlesComputing','UNSIGNED_INT','reverseY','bind','min','globalCompositeOperation','getContext','createFramebuffer','lineTo','none','_calcUV','fragmentShaderSource','422587vdHqQD','filter','fadeOpacity','uniform\x20sampler2D\x20trailsColorTexture;\x0d\x0auniform\x20sampler2D\x20trailsDepthTexture;\x0d\x0a\x0d\x0avarying\x20vec2\x20textureCoordinate;\x0d\x0a\x0d\x0avoid\x20main()\x20{\x0d\x0a\x20\x20\x20\x20vec4\x20trailsColor\x20=\x20texture2D(trailsColorTexture,\x20textureCoordinate);\x0d\x0a\x20\x20\x20\x20float\x20trailsDepth\x20=\x20texture2D(trailsDepthTexture,\x20textureCoordinate).r;\x0d\x0a\x20\x20\x20\x20float\x20globeDepth\x20=\x20czm_unpackDepth(texture2D(czm_globeDepthTexture,\x20textureCoordinate));\x0d\x0a\x0d\x0a\x20\x20\x20\x20if\x20(trailsDepth\x20<\x20globeDepth)\x20{\x0d\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20trailsColor;\x0d\x0a\x20\x20\x20\x20}\x20else\x20{\x0d\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(0.0);\x0d\x0a\x20\x20\x20\x20}\x0d\x0a}','updateViewerParameters','particlesRendering','toStringTag','canvasResize','clearFramebuffers','Cannot\x20call\x20a\x20class\x20as\x20a\x20function','getColorTexture','ClearCommand','pixelSize','default','keys','colorNum','isDestroyed','RGBA','object','options','Math','colorTable','getUVByXY','sin','vertexShaderSource','this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called','uniform\x20sampler2D\x20postProcessingPosition;\x0auniform\x20sampler2D\x20nextParticlesSpeed;\x0a\x0avarying\x20vec2\x20v_textureCoordinates;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20vec4\x20randomParticle\x20=\x20texture2D(postProcessingPosition,\x20v_textureCoordinates);\x0a\x20\x20\x20\x20vec4\x20particleSpeed\x20=\x20texture2D(nextParticlesSpeed,\x20v_textureCoordinates);\x0a\x0a\x20\x20\x20\x20if\x20(randomParticle.a\x20>\x200.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(0.0);\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20particleSpeed;\x0a\x20\x20\x20\x20}\x0a}','attribute\x20vec2\x20st;\x0a//\x20it\x20is\x20not\x20normal\x20itself,\x20but\x20used\x20to\x20control\x20normal\x0aattribute\x20vec3\x20normal;\x20//\x20(point\x20to\x20use,\x20offset\x20sign,\x20not\x20used\x20component)\x0a\x0auniform\x20sampler2D\x20currentParticlesPosition;\x0auniform\x20sampler2D\x20postProcessingPosition;\x0auniform\x20sampler2D\x20postProcessingSpeed;\x0a\x0auniform\x20float\x20particleHeight;\x0a\x0auniform\x20float\x20aspect;\x0auniform\x20float\x20pixelSize;\x0auniform\x20float\x20lineWidth;\x0a\x0avarying\x20float\x20speedNormalization;\x0a\x0avec3\x20convertCoordinate(vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20//\x20WGS84\x20(lon,\x20lat,\x20lev)\x20->\x20ECEF\x20(x,\x20y,\x20z)\x0a\x20\x20\x20\x20//\x20see\x20https://en.wikipedia.org/wiki/Geographic_coordinate_conversion#From_geodetic_to_ECEF_coordinates\x20for\x20detail\x0a\x0a\x20\x20\x20\x20//\x20WGS\x2084\x20geometric\x20constants\x20\x0a\x20\x20\x20\x20float\x20a\x20=\x206378137.0;\x20//\x20Semi-major\x20axis\x20\x0a\x20\x20\x20\x20float\x20b\x20=\x206356752.3142;\x20//\x20Semi-minor\x20axis\x20\x0a\x20\x20\x20\x20float\x20e2\x20=\x206.69437999014e-3;\x20//\x20First\x20eccentricity\x20squared\x0a\x0a\x20\x20\x20\x20float\x20latitude\x20=\x20radians(lonLatLev.y);\x0a\x20\x20\x20\x20float\x20longitude\x20=\x20radians(lonLatLev.x);\x0a\x0a\x20\x20\x20\x20float\x20cosLat\x20=\x20cos(latitude);\x0a\x20\x20\x20\x20float\x20sinLat\x20=\x20sin(latitude);\x0a\x20\x20\x20\x20float\x20cosLon\x20=\x20cos(longitude);\x0a\x20\x20\x20\x20float\x20sinLon\x20=\x20sin(longitude);\x0a\x0a\x20\x20\x20\x20float\x20N_Phi\x20=\x20a\x20/\x20sqrt(1.0\x20-\x20e2\x20*\x20sinLat\x20*\x20sinLat);\x0a\x20\x20\x20\x20float\x20h\x20=\x20particleHeight;\x20//\x20it\x20should\x20be\x20high\x20enough\x20otherwise\x20the\x20particle\x20may\x20not\x20pass\x20the\x20terrain\x20depth\x20test\x0a\x0a\x20\x20\x20\x20vec3\x20cartesian\x20=\x20vec3(0.0);\x0a\x20\x20\x20\x20cartesian.x\x20=\x20(N_Phi\x20+\x20h)\x20*\x20cosLat\x20*\x20cosLon;\x0a\x20\x20\x20\x20cartesian.y\x20=\x20(N_Phi\x20+\x20h)\x20*\x20cosLat\x20*\x20sinLon;\x0a\x20\x20\x20\x20cartesian.z\x20=\x20((b\x20*\x20b)\x20/\x20(a\x20*\x20a)\x20*\x20N_Phi\x20+\x20h)\x20*\x20sinLat;\x0a\x20\x20\x20\x20return\x20cartesian;\x0a}\x0a\x0avec4\x20calcProjectedCoordinate(vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20//\x20the\x20range\x20of\x20longitude\x20in\x20Cesium\x20is\x20[-180,\x20180]\x20but\x20the\x20range\x20of\x20longitude\x20in\x20the\x20NetCDF\x20file\x20is\x20[0,\x20360]\x0a\x20\x20\x20\x20//\x20[0,\x20180]\x20is\x20corresponding\x20to\x20[0,\x20180]\x20and\x20[180,\x20360]\x20is\x20corresponding\x20to\x20[-180,\x200]\x0a\x20\x20\x20\x20lonLatLev.x\x20=\x20mod(lonLatLev.x\x20+\x20180.0,\x20360.0)\x20-\x20180.0;\x0a\x20\x20\x20\x20vec3\x20particlePosition\x20=\x20convertCoordinate(lonLatLev);\x0a\x20\x20\x20\x20vec4\x20projectedCoordinate\x20=\x20czm_modelViewProjection\x20*\x20vec4(particlePosition,\x201.0);\x0a\x20\x20\x20\x20return\x20projectedCoordinate;\x0a}\x0a\x0avec4\x20calcOffset(vec4\x20currentProjectedCoordinate,\x20vec4\x20nextProjectedCoordinate,\x20float\x20offsetSign)\x20{\x0a\x20\x20\x20\x20vec2\x20aspectVec2\x20=\x20vec2(aspect,\x201.0);\x0a\x20\x20\x20\x20vec2\x20currentXY\x20=\x20(currentProjectedCoordinate.xy\x20/\x20currentProjectedCoordinate.w)\x20*\x20aspectVec2;\x0a\x20\x20\x20\x20vec2\x20nextXY\x20=\x20(nextProjectedCoordinate.xy\x20/\x20nextProjectedCoordinate.w)\x20*\x20aspectVec2;\x0a\x0a\x20\x20\x20\x20float\x20offsetLength\x20=\x20lineWidth\x20/\x202.0;\x0a\x20\x20\x20\x20vec2\x20direction\x20=\x20normalize(nextXY\x20-\x20currentXY);\x0a\x20\x20\x20\x20vec2\x20normalVector\x20=\x20vec2(-direction.y,\x20direction.x);\x0a\x20\x20\x20\x20normalVector.x\x20=\x20normalVector.x\x20/\x20aspect;\x0a\x20\x20\x20\x20normalVector\x20=\x20offsetLength\x20*\x20normalVector;\x0a\x0a\x20\x20\x20\x20vec4\x20offset\x20=\x20vec4(offsetSign\x20*\x20normalVector,\x200.0,\x200.0);\x0a\x20\x20\x20\x20return\x20offset;\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20vec2\x20particleIndex\x20=\x20st;\x0a\x0a\x20\x20\x20\x20vec3\x20currentPosition\x20=\x20texture2D(currentParticlesPosition,\x20particleIndex).rgb;\x0a\x20\x20\x20\x20vec4\x20nextPosition\x20=\x20texture2D(postProcessingPosition,\x20particleIndex);\x0a\x0a\x20\x20\x20\x20vec4\x20currentProjectedCoordinate\x20=\x20vec4(0.0);\x0a\x20\x20\x20\x20vec4\x20nextProjectedCoordinate\x20=\x20vec4(0.0);\x0a\x20\x20\x20\x20if\x20(nextPosition.w\x20>\x200.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20currentProjectedCoordinate\x20=\x20calcProjectedCoordinate(currentPosition);\x0a\x20\x20\x20\x20\x20\x20\x20\x20nextProjectedCoordinate\x20=\x20calcProjectedCoordinate(currentPosition);\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20currentProjectedCoordinate\x20=\x20calcProjectedCoordinate(currentPosition);\x0a\x20\x20\x20\x20\x20\x20\x20\x20nextProjectedCoordinate\x20=\x20calcProjectedCoordinate(nextPosition.xyz);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20float\x20pointToUse\x20=\x20normal.x;\x20//\x20-1\x20is\x20currentProjectedCoordinate\x20and\x20+1\x20is\x20nextProjectedCoordinate\x0a\x20\x20\x20\x20float\x20offsetSign\x20=\x20normal.y;\x0a\x0a\x20\x20\x20\x20vec4\x20offset\x20=\x20pixelSize\x20*\x20calcOffset(currentProjectedCoordinate,\x20nextProjectedCoordinate,\x20offsetSign);\x0a\x20\x20\x20\x20if\x20(pointToUse\x20<\x200.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_Position\x20=\x20currentProjectedCoordinate\x20+\x20offset;\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_Position\x20=\x20nextProjectedCoordinate\x20+\x20offset;\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20speedNormalization\x20=\x20texture2D(postProcessingSpeed,\x20particleIndex).a;\x0a}','getPrototypeOf','mode','uniformMap','update','randomBetween','Geometry','frameTime','round','createWindTextures','destroyParticlesTextures','height','particles','speedRate','createElement','ceil','50GsJKWg','windField','particlesTextureSize','max','fillRect','canrefresh','wgs84ToWindowCoordinates','sham','applyUserInput','test','constructor','xmax','52551rmkONb','fillStyle','_bilinearInterpolation','ymax','lon','red','framebuffer','width','attributeLocations','pow','clientWidth','getOwnPropertyDescriptors','Pass','shaderProgram','symbol','RenderState','removeEventListener','refreshParticles','add','defined','Framebuffer','lonRange','textures','beginPath','visibility','TextureMinificationFilter','segmentsColor','now','destroyObject','clearCommand','apply','destination-in','bindEvent','animateFrame','Sampler','updateSpeed','depthTexture','moveTo','Map','nextTrailsDepth','lng','Matrix4','frameRate','writable','preExecute','LUMINANCE','currentTrails','nextTrailsColor','canvasHeight','getFullscreenQuad','remove','randomParticle','depthTest','nextParticlesPosition','153318dcMsZR','windData','viewerParameters','framebuffers','_mountedHook','left','WindUtil','blue','clientHeight','globeBoundingSphere','LayerUtil','screen','EllipsoidalOccluder','PrimitiveCollection','cancelAnimationFrame','@@iterator','create','Appearance','commandList','lat','defineProperties','windTextures','DISABLE_LOG_DEPTH_FRAGMENT_WRITE','autoClear','scene','removeAll','NEAREST','string','clear','commandToExecute','_tomap','dropRate','vmax','age','//\x20the\x20size\x20of\x20UV\x20textures:\x20width\x20=\x20lon,\x20height\x20=\x20lat*lev\x0auniform\x20sampler2D\x20U;\x20//\x20eastward\x20wind\x20\x0auniform\x20sampler2D\x20V;\x20//\x20northward\x20wind\x0a\x0auniform\x20sampler2D\x20currentParticlesPosition;\x20//\x20(lon,\x20lat,\x20lev)\x0a\x0auniform\x20vec3\x20dimension;\x20//\x20(lon,\x20lat,\x20lev)\x0auniform\x20vec3\x20minimum;\x20//\x20minimum\x20of\x20each\x20dimension\x0auniform\x20vec3\x20maximum;\x20//\x20maximum\x20of\x20each\x20dimension\x0auniform\x20vec3\x20interval;\x20//\x20interval\x20of\x20each\x20dimension\x0a\x0avarying\x20vec2\x20v_textureCoordinates;\x0a\x0avec2\x20mapPositionToNormalizedIndex2D(vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20//\x20ensure\x20the\x20range\x20of\x20longitude\x20and\x20latitude\x0a\x20\x20\x20\x20lonLatLev.x\x20=\x20mod(lonLatLev.x,\x20360.0);\x0a\x20\x20\x20\x20lonLatLev.y\x20=\x20clamp(lonLatLev.y,\x20-90.0,\x2090.0);\x0a\x0a\x20\x20\x20\x20vec3\x20index3D\x20=\x20vec3(0.0);\x0a\x20\x20\x20\x20index3D.x\x20=\x20(lonLatLev.x\x20-\x20minimum.x)\x20/\x20interval.x;\x0a\x20\x20\x20\x20index3D.y\x20=\x20(lonLatLev.y\x20-\x20minimum.y)\x20/\x20interval.y;\x0a\x20\x20\x20\x20index3D.z\x20=\x20(lonLatLev.z\x20-\x20minimum.z)\x20/\x20interval.z;\x0a\x0a\x20\x20\x20\x20//\x20the\x20st\x20texture\x20coordinate\x20corresponding\x20to\x20(col,\x20row)\x20index\x0a\x20\x20\x20\x20//\x20example\x0a\x20\x20\x20\x20//\x20data\x20array\x20is\x20[0,\x201,\x202,\x203,\x204,\x205],\x20width\x20=\x203,\x20height\x20=\x202\x0a\x20\x20\x20\x20//\x20the\x20content\x20of\x20texture\x20will\x20be\x0a\x20\x20\x20\x20//\x20t\x201.0\x0a\x20\x20\x20\x20//\x20\x20\x20\x20|\x20\x203\x204\x205\x0a\x20\x20\x20\x20//\x20\x20\x20\x20|\x0a\x20\x20\x20\x20//\x20\x20\x20\x20|\x20\x200\x201\x202\x0a\x20\x20\x20\x20//\x20\x20\x200.0------1.0\x20s\x0a\x0a\x20\x20\x20\x20vec2\x20index2D\x20=\x20vec2(index3D.x,\x20index3D.z\x20*\x20dimension.y\x20+\x20index3D.y);\x0a\x20\x20\x20\x20vec2\x20normalizedIndex2D\x20=\x20vec2(index2D.x\x20/\x20dimension.x,\x20index2D.y\x20/\x20(dimension.y\x20*\x20dimension.z));\x0a\x20\x20\x20\x20return\x20normalizedIndex2D;\x0a}\x0a\x0afloat\x20getWind(sampler2D\x20windTexture,\x20vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20vec2\x20normalizedIndex2D\x20=\x20mapPositionToNormalizedIndex2D(lonLatLev);\x0a\x20\x20\x20\x20float\x20result\x20=\x20texture2D(windTexture,\x20normalizedIndex2D).r;\x0a\x20\x20\x20\x20return\x20result;\x0a}\x0a\x0aconst\x20mat4\x20kernelMatrix\x20=\x20mat4(\x0a\x20\x20\x20\x200.0,\x20-1.0,\x202.0,\x20-1.0,\x20//\x20first\x20column\x0a\x20\x20\x20\x202.0,\x200.0,\x20-5.0,\x203.0,\x20//\x20second\x20column\x0a\x20\x20\x20\x200.0,\x201.0,\x204.0,\x20-3.0,\x20//\x20third\x20column\x0a\x20\x20\x20\x200.0,\x200.0,\x20-1.0,\x201.0\x20//\x20fourth\x20column\x0a);\x0afloat\x20oneDimensionInterpolation(float\x20t,\x20float\x20p0,\x20float\x20p1,\x20float\x20p2,\x20float\x20p3)\x20{\x0a\x20\x20\x20\x20vec4\x20tVec4\x20=\x20vec4(1.0,\x20t,\x20t\x20*\x20t,\x20t\x20*\x20t\x20*\x20t);\x0a\x20\x20\x20\x20tVec4\x20=\x20tVec4\x20/\x202.0;\x0a\x20\x20\x20\x20vec4\x20pVec4\x20=\x20vec4(p0,\x20p1,\x20p2,\x20p3);\x0a\x20\x20\x20\x20return\x20dot((tVec4\x20*\x20kernelMatrix),\x20pVec4);\x0a}\x0a\x0afloat\x20calculateB(sampler2D\x20windTexture,\x20float\x20t,\x20float\x20lon,\x20float\x20lat,\x20float\x20lev)\x20{\x0a\x20\x20\x20\x20float\x20lon0\x20=\x20floor(lon)\x20-\x201.0\x20*\x20interval.x;\x0a\x20\x20\x20\x20float\x20lon1\x20=\x20floor(lon);\x0a\x20\x20\x20\x20float\x20lon2\x20=\x20floor(lon)\x20+\x201.0\x20*\x20interval.x;\x0a\x20\x20\x20\x20float\x20lon3\x20=\x20floor(lon)\x20+\x202.0\x20*\x20interval.x;\x0a\x0a\x20\x20\x20\x20float\x20p0\x20=\x20getWind(windTexture,\x20vec3(lon0,\x20lat,\x20lev));\x0a\x20\x20\x20\x20float\x20p1\x20=\x20getWind(windTexture,\x20vec3(lon1,\x20lat,\x20lev));\x0a\x20\x20\x20\x20float\x20p2\x20=\x20getWind(windTexture,\x20vec3(lon2,\x20lat,\x20lev));\x0a\x20\x20\x20\x20float\x20p3\x20=\x20getWind(windTexture,\x20vec3(lon3,\x20lat,\x20lev));\x0a\x0a\x20\x20\x20\x20return\x20oneDimensionInterpolation(t,\x20p0,\x20p1,\x20p2,\x20p3);\x0a}\x0a\x0afloat\x20interpolateOneTexture(sampler2D\x20windTexture,\x20vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20float\x20lon\x20=\x20lonLatLev.x;\x0a\x20\x20\x20\x20float\x20lat\x20=\x20lonLatLev.y;\x0a\x20\x20\x20\x20float\x20lev\x20=\x20lonLatLev.z;\x0a\x0a\x20\x20\x20\x20float\x20lat0\x20=\x20floor(lat)\x20-\x201.0\x20*\x20interval.y;\x0a\x20\x20\x20\x20float\x20lat1\x20=\x20floor(lat);\x0a\x20\x20\x20\x20float\x20lat2\x20=\x20floor(lat)\x20+\x201.0\x20*\x20interval.y;\x0a\x20\x20\x20\x20float\x20lat3\x20=\x20floor(lat)\x20+\x202.0\x20*\x20interval.y;\x0a\x0a\x20\x20\x20\x20vec2\x20coefficient\x20=\x20lonLatLev.xy\x20-\x20floor(lonLatLev.xy);\x0a\x20\x20\x20\x20float\x20b0\x20=\x20calculateB(windTexture,\x20coefficient.x,\x20lon,\x20lat0,\x20lev);\x0a\x20\x20\x20\x20float\x20b1\x20=\x20calculateB(windTexture,\x20coefficient.x,\x20lon,\x20lat1,\x20lev);\x0a\x20\x20\x20\x20float\x20b2\x20=\x20calculateB(windTexture,\x20coefficient.x,\x20lon,\x20lat2,\x20lev);\x0a\x20\x20\x20\x20float\x20b3\x20=\x20calculateB(windTexture,\x20coefficient.x,\x20lon,\x20lat3,\x20lev);\x0a\x0a\x20\x20\x20\x20return\x20oneDimensionInterpolation(coefficient.y,\x20b0,\x20b1,\x20b2,\x20b3);\x0a}\x0a\x0avec3\x20bicubic(vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20//\x20https://en.wikipedia.org/wiki/Bicubic_interpolation#Bicubic_convolution_algorithm\x0a\x20\x20\x20\x20float\x20u\x20=\x20interpolateOneTexture(U,\x20lonLatLev);\x0a\x20\x20\x20\x20float\x20v\x20=\x20interpolateOneTexture(V,\x20lonLatLev);\x0a\x20\x20\x20\x20float\x20w\x20=\x200.0;\x0a\x20\x20\x20\x20return\x20vec3(u,\x20v,\x20w);\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20//\x20texture\x20coordinate\x20must\x20be\x20normalized\x0a\x20\x20\x20\x20vec3\x20lonLatLev\x20=\x20texture2D(currentParticlesPosition,\x20v_textureCoordinates).rgb;\x0a\x20\x20\x20\x20vec3\x20windVector\x20=\x20bicubic(lonLatLev);\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(windVector,\x200.0);\x0a}','dimensions','createRawRenderState','cos','umin','absolute','abs','particleSystem','_setOptionsHook','name','geometry','context','hidden','rows','zIndex','particlesTextures','floor','PixelFormat','randomizeParticles','off','PrimitiveType','stroke','RGB','destroy','IDENTITY','mouseDown','setOptions','toDegrees','mars3d','unbindEvent','VertexArray','__esModule','Super\x20expression\x20must\x20either\x20be\x20null\x20or\x20a\x20function','style','ZERO','1157ovvNDL','defaultValue','_addedHook','_map','position','slice','particlesWind','defineProperty','TextureMagnificationFilter','createSegmentsGeometry','push','log','18nQnpCA','setPrototypeOf','EventType','BufferUsage','viewport','SceneMode','PI_OVER_TWO','refreshTimer','top','getPixelSize','getU','ellipsoid','applyViewerParameters','LINEAR','forEach','_onMouseMoveEvent','drawingBufferHeight','removeChild','rawRenderState','undefined','PixelDatatype','canvasWind','currentParticlesSpeed','mouse_down','maxAge','from','execute','_speedRate','Texture','toGridXY','fromCache','CanvasWindLayer','_showHook','globeLayer','getSpeed','Compute','rgba(0,\x200,\x200,\x200.97)','mouse_move','computeViewRectangle','mouseMove','uniform\x20sampler2D\x20currentParticlesSpeed;\x20//\x20(u,\x20v,\x20w,\x20normalization)\x0auniform\x20sampler2D\x20particlesWind;\x0a\x0a//\x20used\x20to\x20calculate\x20the\x20wind\x20norm\x0auniform\x20vec2\x20uSpeedRange;\x20//\x20(min,\x20max);\x0auniform\x20vec2\x20vSpeedRange;\x0auniform\x20float\x20pixelSize;\x0auniform\x20float\x20speedFactor;\x0a\x0avarying\x20vec2\x20v_textureCoordinates;\x0a\x0afloat\x20calculateWindNorm(vec3\x20speed)\x20{\x0a\x20\x20\x20\x20vec3\x20percent\x20=\x20vec3(0.0);\x0a\x20\x20\x20\x20percent.x\x20=\x20(speed.x\x20-\x20uSpeedRange.x)\x20/\x20(uSpeedRange.y\x20-\x20uSpeedRange.x);\x0a\x20\x20\x20\x20percent.y\x20=\x20(speed.y\x20-\x20vSpeedRange.x)\x20/\x20(vSpeedRange.y\x20-\x20vSpeedRange.x);\x0a\x20\x20\x20\x20float\x20normalization\x20=\x20length(percent);\x0a\x0a\x20\x20\x20\x20return\x20normalization;\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20//\x20texture\x20coordinate\x20must\x20be\x20normalized\x0a\x20\x20\x20\x20vec3\x20currentSpeed\x20=\x20texture2D(currentParticlesSpeed,\x20v_textureCoordinates).rgb;\x0a\x20\x20\x20\x20vec3\x20windVector\x20=\x20texture2D(particlesWind,\x20v_textureCoordinates).rgb;\x0a\x0a\x20\x20\x20\x20vec4\x20nextSpeed\x20=\x20vec4(speedFactor\x20*\x20pixelSize\x20*\x20windVector,\x20calculateWindNorm(windVector));\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20nextSpeed;\x0a}','getWind','prototype','drawWind','Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined','outputTexture','tlng','GeometryAttribute','currentTrailsDepth','createTexture','mars3dWind','OPAQUE','32220HeiZUW','postProcessingPosition','arrayBufferView','isInExtent','latRange','lev','register','_maxAge','enumerable','value','THREE_PI_OVER_TWO','primitiveType','grid','704135EYtirr','getDirection','primitives','data','resize','Rectangle','exports','south','SceneTransforms','createParticlesTextures','ALWAYS','trails','wheel','nextTrails','toString','uniform\x20sampler2D\x20currentParticlesPosition;\x20//\x20(lon,\x20lat,\x20lev)\x0auniform\x20sampler2D\x20currentParticlesSpeed;\x20//\x20(u,\x20v,\x20w,\x20normalization)\x0a\x0avarying\x20vec2\x20v_textureCoordinates;\x0a\x0avec2\x20lengthOfLonLat(vec3\x20lonLatLev)\x20{\x0a\x20\x20\x20\x20//\x20unit\x20conversion:\x20meters\x20->\x20longitude\x20latitude\x20degrees\x0a\x20\x20\x20\x20//\x20see\x20https://en.wikipedia.org/wiki/Geographic_coordinate_system#Length_of_a_degree\x20for\x20detail\x0a\x0a\x20\x20\x20\x20//\x20Calculate\x20the\x20length\x20of\x20a\x20degree\x20of\x20latitude\x20and\x20longitude\x20in\x20meters\x0a\x20\x20\x20\x20float\x20latitude\x20=\x20radians(lonLatLev.y);\x0a\x0a\x20\x20\x20\x20float\x20term1\x20=\x20111132.92;\x0a\x20\x20\x20\x20float\x20term2\x20=\x20559.82\x20*\x20cos(2.0\x20*\x20latitude);\x0a\x20\x20\x20\x20float\x20term3\x20=\x201.175\x20*\x20cos(4.0\x20*\x20latitude);\x0a\x20\x20\x20\x20float\x20term4\x20=\x200.0023\x20*\x20cos(6.0\x20*\x20latitude);\x0a\x20\x20\x20\x20float\x20latLength\x20=\x20term1\x20-\x20term2\x20+\x20term3\x20-\x20term4;\x0a\x0a\x20\x20\x20\x20float\x20term5\x20=\x20111412.84\x20*\x20cos(latitude);\x0a\x20\x20\x20\x20float\x20term6\x20=\x2093.5\x20*\x20cos(3.0\x20*\x20latitude);\x0a\x20\x20\x20\x20float\x20term7\x20=\x200.118\x20*\x20cos(5.0\x20*\x20latitude);\x0a\x20\x20\x20\x20float\x20longLength\x20=\x20term5\x20-\x20term6\x20+\x20term7;\x0a\x0a\x20\x20\x20\x20return\x20vec2(longLength,\x20latLength);\x0a}\x0a\x0avoid\x20updatePosition(vec3\x20lonLatLev,\x20vec3\x20speed)\x20{\x0a\x20\x20\x20\x20vec2\x20lonLatLength\x20=\x20lengthOfLonLat(lonLatLev);\x0a\x20\x20\x20\x20float\x20u\x20=\x20speed.x\x20/\x20lonLatLength.x;\x0a\x20\x20\x20\x20float\x20v\x20=\x20speed.y\x20/\x20lonLatLength.y;\x0a\x20\x20\x20\x20float\x20w\x20=\x200.0;\x0a\x20\x20\x20\x20vec3\x20windVectorInLonLatLev\x20=\x20vec3(u,\x20v,\x20w);\x0a\x0a\x20\x20\x20\x20vec3\x20nextParticle\x20=\x20lonLatLev\x20+\x20windVectorInLonLatLev;\x0a\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(nextParticle,\x200.0);\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20//\x20texture\x20coordinate\x20must\x20be\x20normalized\x0a\x20\x20\x20\x20vec3\x20lonLatLev\x20=\x20texture2D(currentParticlesPosition,\x20v_textureCoordinates).rgb;\x0a\x20\x20\x20\x20vec3\x20speed\x20=\x20texture2D(currentParticlesSpeed,\x20v_textureCoordinates).rgb;\x0a\x0a\x20\x20\x20\x20updatePosition(lonLatLev,\x20speed);\x0a}','_drawLines','configurable','west','drawingBufferWidth','show','474733bmeFpb','source','nextParticlesSpeed','vdata','fromGeometry','preRender','setGeometry','Draw','auto','lineWidth','valueOf','createCommand','getExtent','SCENE3D','redraw','commandType','_onMapWhellEvent','Cartesian2','_onMap_preRenderEvent','postProcessingSpeed','setAttribute','getOwnPropertySymbols','uniform\x20sampler2D\x20nextParticlesPosition;\x0auniform\x20sampler2D\x20nextParticlesSpeed;\x20//\x20(u,\x20v,\x20w,\x20normalization)\x0a\x0a//\x20range\x20(min,\x20max)\x0auniform\x20vec2\x20lonRange;\x0auniform\x20vec2\x20latRange;\x0a\x0auniform\x20float\x20randomCoefficient;\x20//\x20use\x20to\x20improve\x20the\x20pseudo-random\x20generator\x0auniform\x20float\x20dropRate;\x20//\x20drop\x20rate\x20is\x20a\x20chance\x20a\x20particle\x20will\x20restart\x20at\x20random\x20position\x20to\x20avoid\x20degeneration\x0auniform\x20float\x20dropRateBump;\x0a\x0avarying\x20vec2\x20v_textureCoordinates;\x0a\x0a//\x20pseudo-random\x20generator\x0aconst\x20vec3\x20randomConstants\x20=\x20vec3(12.9898,\x2078.233,\x204375.85453);\x0aconst\x20vec2\x20normalRange\x20=\x20vec2(0.0,\x201.0);\x0afloat\x20rand(vec2\x20seed,\x20vec2\x20range)\x20{\x0a\x20\x20\x20\x20vec2\x20randomSeed\x20=\x20randomCoefficient\x20*\x20seed;\x0a\x20\x20\x20\x20float\x20temp\x20=\x20dot(randomConstants.xy,\x20randomSeed);\x0a\x20\x20\x20\x20temp\x20=\x20fract(sin(temp)\x20*\x20(randomConstants.z\x20+\x20temp));\x0a\x20\x20\x20\x20return\x20temp\x20*\x20(range.y\x20-\x20range.x)\x20+\x20range.x;\x0a}\x0a\x0avec3\x20generateRandomParticle(vec2\x20seed,\x20float\x20lev)\x20{\x0a\x20\x20\x20\x20//\x20ensure\x20the\x20longitude\x20is\x20in\x20[0,\x20360]\x0a\x20\x20\x20\x20float\x20randomLon\x20=\x20mod(rand(seed,\x20lonRange),\x20360.0);\x0a\x20\x20\x20\x20float\x20randomLat\x20=\x20rand(-seed,\x20latRange);\x0a\x0a\x20\x20\x20\x20return\x20vec3(randomLon,\x20randomLat,\x20lev);\x0a}\x0a\x0abool\x20particleOutbound(vec3\x20particle)\x20{\x0a\x20\x20\x20\x20return\x20particle.y\x20<\x20-90.0\x20||\x20particle.y\x20>\x2090.0;\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20vec3\x20nextParticle\x20=\x20texture2D(nextParticlesPosition,\x20v_textureCoordinates).rgb;\x0a\x20\x20\x20\x20vec4\x20nextSpeed\x20=\x20texture2D(nextParticlesSpeed,\x20v_textureCoordinates);\x0a\x20\x20\x20\x20float\x20particleDropRate\x20=\x20dropRate\x20+\x20dropRateBump\x20*\x20nextSpeed.a;\x0a\x0a\x20\x20\x20\x20vec2\x20seed1\x20=\x20nextParticle.xy\x20+\x20v_textureCoordinates;\x0a\x20\x20\x20\x20vec2\x20seed2\x20=\x20nextSpeed.xy\x20+\x20v_textureCoordinates;\x0a\x20\x20\x20\x20vec3\x20randomParticle\x20=\x20generateRandomParticle(seed1,\x20nextParticle.z);\x0a\x20\x20\x20\x20float\x20randomNumber\x20=\x20rand(seed2,\x20normalRange);\x0a\x0a\x20\x20\x20\x20if\x20(randomNumber\x20<\x20particleDropRate\x20||\x20particleOutbound(nextParticle))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(randomParticle,\x201.0);\x20//\x201.0\x20means\x20this\x20is\x20a\x20random\x20particle\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(nextParticle,\x200.0);\x0a\x20\x20\x20\x20}\x0a}','class','canvasWindy','vertexArray','attribute\x20vec3\x20position;\x0d\x0aattribute\x20vec2\x20st;\x0d\x0a\x0d\x0avarying\x20vec2\x20textureCoordinate;\x0d\x0a\x0d\x0avoid\x20main()\x20{\x0d\x0a\x20\x20\x20\x20textureCoordinate\x20=\x20st;\x0d\x0a\x20\x20\x20\x20gl_Position\x20=\x20vec4(position,\x201.0);\x0d\x0a}','BoundingSphere','getRandomLatLng','0px','GeometryAttributes','sqrt','getOwnPropertyDescriptor','canvas','addPrimitives','ComponentDatatype','segments','udata','strokeStyle','_pointerEvents','updatePosition','particlesNumber','cols','camera','_removedHook','UNSIGNED_BYTE'];a0_0x555b=function(){return _0x54b19a;};return a0_0x555b();}var a0_0x22ad39=a0_0x21a7;function a0_0x21a7(_0x182db7,_0x408eb6){var _0x555b88=a0_0x555b();return a0_0x21a7=function(_0x21a7a8,_0x1d28d9){_0x21a7a8=_0x21a7a8-0x1f4;var _0x5ee470=_0x555b88[_0x21a7a8];return _0x5ee470;},a0_0x21a7(_0x182db7,_0x408eb6);}(function(_0x2b3f57,_0x56545d){var _0x765f94=a0_0x21a7,_0x43d01b=_0x2b3f57();while(!![]){try{var _0xf5797c=parseInt(_0x765f94(0x252))/0x1+-parseInt(_0x765f94(0x25a))/0x2*(-parseInt(_0x765f94(0x2df))/0x3)+parseInt(_0x765f94(0x24c))/0x4*(-parseInt(_0x765f94(0x371))/0x5)+parseInt(_0x765f94(0x330))/0x6*(parseInt(_0x765f94(0x386))/0x7)+-parseInt(_0x765f94(0x22b))/0x8*(parseInt(_0x765f94(0x2a9))/0x9)+parseInt(_0x765f94(0x29d))/0xa*(parseInt(_0x765f94(0x272))/0xb)+-parseInt(_0x765f94(0x364))/0xc*(parseInt(_0x765f94(0x324))/0xd);if(_0xf5797c===_0x56545d)break;else _0x43d01b['push'](_0x43d01b['shift']());}catch(_0x534636){_0x43d01b['push'](_0x43d01b['shift']());}}}(a0_0x555b,0x22c37),window[a0_0x22ad39(0x362)]=function(_0x5bd776){var _0x3a66ca={};function _0x38d1c7(_0x52ea8e){var _0x10e8f3=a0_0x21a7;if(_0x3a66ca[_0x52ea8e])return _0x3a66ca[_0x52ea8e]['exports'];var _0x5af9e0=_0x3a66ca[_0x52ea8e]={'i':_0x52ea8e,'l':!0x1,'exports':{}};return _0x5bd776[_0x52ea8e][_0x10e8f3(0x233)](_0x5af9e0['exports'],_0x5af9e0,_0x5af9e0[_0x10e8f3(0x377)],_0x38d1c7),_0x5af9e0['l']=!0x0,_0x5af9e0[_0x10e8f3(0x377)];}return _0x38d1c7['m']=_0x5bd776,_0x38d1c7['c']=_0x3a66ca,_0x38d1c7['d']=function(_0x352524,_0x14ec15,_0x14d574){var _0x556d7c=a0_0x21a7;_0x38d1c7['o'](_0x352524,_0x14ec15)||Object[_0x556d7c(0x32b)](_0x352524,_0x14ec15,{'enumerable':!0x0,'get':_0x14d574});},_0x38d1c7['r']=function(_0xd07f1a){var _0x2a3936=a0_0x21a7;_0x2a3936(0x343)!=typeof Symbol&&Symbol[_0x2a3936(0x278)]&&Object[_0x2a3936(0x32b)](_0xd07f1a,Symbol[_0x2a3936(0x278)],{'value':'Module'}),Object[_0x2a3936(0x32b)](_0xd07f1a,'__esModule',{'value':!0x0});},_0x38d1c7['t']=function(_0x2d4d63,_0x15cba7){var _0x367ff3=a0_0x21a7;if(0x1&_0x15cba7&&(_0x2d4d63=_0x38d1c7(_0x2d4d63)),0x8&_0x15cba7)return _0x2d4d63;if(0x4&_0x15cba7&&_0x367ff3(0x284)==typeof _0x2d4d63&&_0x2d4d63&&_0x2d4d63[_0x367ff3(0x320)])return _0x2d4d63;var _0x205602=Object[_0x367ff3(0x2ef)](null);if(_0x38d1c7['r'](_0x205602),Object[_0x367ff3(0x32b)](_0x205602,_0x367ff3(0x27f),{'enumerable':!0x0,'value':_0x2d4d63}),0x2&_0x15cba7&&_0x367ff3(0x2fa)!=typeof _0x2d4d63){for(var _0x244cfb in _0x2d4d63)_0x38d1c7['d'](_0x205602,_0x244cfb,function(_0x1e63a4){return _0x2d4d63[_0x1e63a4];}[_0x367ff3(0x269)](null,_0x244cfb));}return _0x205602;},_0x38d1c7['n']=function(_0x383d3a){var _0x34bfc4=a0_0x21a7,_0x2f421b=_0x383d3a&&_0x383d3a[_0x34bfc4(0x320)]?function(){return _0x383d3a['default'];}:function(){return _0x383d3a;};return _0x38d1c7['d'](_0x2f421b,'a',_0x2f421b),_0x2f421b;},_0x38d1c7['o']=function(_0x2dbdff,_0x254fe1){var _0x55589c=a0_0x21a7;return Object[_0x55589c(0x35a)]['hasOwnProperty'][_0x55589c(0x233)](_0x2dbdff,_0x254fe1);},_0x38d1c7['p']='',_0x38d1c7(_0x38d1c7['s']=0x1b);}([function(_0x2a2696,_0x9d1e11){_0x2a2696['exports']=window['Cesium'];},function(_0x153235,_0x1210e3){var _0x169a56=a0_0x22ad39;_0x153235[_0x169a56(0x377)]=window[_0x169a56(0x31d)];},function(_0x48736f,_0xb1e14e){var _0x5822ee=a0_0x22ad39;_0x48736f[_0x5822ee(0x377)]=function(_0x3d78ca,_0x803921){var _0x1e50b0=_0x5822ee;if(!(_0x3d78ca instanceof _0x803921))throw new TypeError(_0x1e50b0(0x27b));},_0x48736f[_0x5822ee(0x377)][_0x5822ee(0x320)]=!0x0,_0x48736f[_0x5822ee(0x377)][_0x5822ee(0x27f)]=_0x48736f[_0x5822ee(0x377)];},function(_0x375d1a,_0x157596){var _0x51c937=a0_0x22ad39;function _0x4f2ac2(_0x3efa46,_0x5d3a76){var _0x63ba76=a0_0x21a7;for(var _0x1d089b=0x0;_0x1d089b<_0x5d3a76[_0x63ba76(0x25e)];_0x1d089b++){var _0x5d2a2f=_0x5d3a76[_0x1d089b];_0x5d2a2f[_0x63ba76(0x36c)]=_0x5d2a2f[_0x63ba76(0x36c)]||!0x1,_0x5d2a2f[_0x63ba76(0x382)]=!0x0,_0x63ba76(0x36d)in _0x5d2a2f&&(_0x5d2a2f[_0x63ba76(0x2d4)]=!0x0),Object[_0x63ba76(0x32b)](_0x3efa46,_0x5d2a2f[_0x63ba76(0x23e)],_0x5d2a2f);}}_0x375d1a[_0x51c937(0x377)]=function(_0x402908,_0x18cc30,_0x502f48){var _0x4258f4=_0x51c937;return _0x18cc30&&_0x4f2ac2(_0x402908[_0x4258f4(0x35a)],_0x18cc30),_0x502f48&&_0x4f2ac2(_0x402908,_0x502f48),Object[_0x4258f4(0x32b)](_0x402908,_0x4258f4(0x35a),{'writable':!0x1}),_0x402908;},_0x375d1a['exports']['__esModule']=!0x0,_0x375d1a[_0x51c937(0x377)][_0x51c937(0x27f)]=_0x375d1a[_0x51c937(0x377)];},function(_0x3660de,_0x15d78f){var _0xa21b74=a0_0x22ad39;function _0x105a14(_0x2935d2){var _0xc55514=a0_0x21a7;return _0x3660de[_0xc55514(0x377)]=_0x105a14=Object['setPrototypeOf']?Object[_0xc55514(0x28e)]:function(_0x9312c5){var _0x3f1a97=_0xc55514;return _0x9312c5[_0x3f1a97(0x232)]||Object[_0x3f1a97(0x28e)](_0x9312c5);},_0x3660de[_0xc55514(0x377)]['__esModule']=!0x0,_0x3660de['exports'][_0xc55514(0x27f)]=_0x3660de[_0xc55514(0x377)],_0x105a14(_0x2935d2);}_0x3660de[_0xa21b74(0x377)]=_0x105a14,_0x3660de[_0xa21b74(0x377)]['__esModule']=!0x0,_0x3660de[_0xa21b74(0x377)]['default']=_0x3660de[_0xa21b74(0x377)];},function(_0x420b15,_0x2fd29f,_0x43897b){var _0x41c31a=a0_0x22ad39,_0x367dec=_0x43897b(0x17),_0x42ed39=_0x43897b(0x18),_0x1cfcfa=_0x43897b(0x19),_0xe527a3=_0x43897b(0x1a);_0x420b15[_0x41c31a(0x377)]=function(_0x32fc6a){return _0x367dec(_0x32fc6a)||_0x42ed39(_0x32fc6a)||_0x1cfcfa(_0x32fc6a)||_0xe527a3();},_0x420b15['exports'][_0x41c31a(0x320)]=!0x0,_0x420b15[_0x41c31a(0x377)]['default']=_0x420b15['exports'];},function(_0x357910,_0x204345,_0x2cea84){var _0x362310=a0_0x22ad39,_0x109609=_0x2cea84(0x14);_0x357910[_0x362310(0x377)]=function(_0x5d4092,_0xbe6e3){var _0x40df5b=_0x362310;if(_0x40df5b(0x23b)!=typeof _0xbe6e3&&null!==_0xbe6e3)throw new TypeError(_0x40df5b(0x321));Object[_0x40df5b(0x32b)](_0x5d4092,'prototype',{'value':Object['create'](_0xbe6e3&&_0xbe6e3[_0x40df5b(0x35a)],{'constructor':{'value':_0x5d4092,'writable':!0x0,'configurable':!0x0}}),'writable':!0x1}),_0xbe6e3&&_0x109609(_0x5d4092,_0xbe6e3);},_0x357910[_0x362310(0x377)][_0x362310(0x320)]=!0x0,_0x357910[_0x362310(0x377)][_0x362310(0x27f)]=_0x357910[_0x362310(0x377)];},function(_0x2b1adf,_0x57d5be,_0x31607b){var _0xc3e2fe=a0_0x22ad39,_0xacb74d=_0x31607b(0x15)[_0xc3e2fe(0x27f)],_0x24b590=_0x31607b(0x16);_0x2b1adf[_0xc3e2fe(0x377)]=function(_0x1b4415,_0x3615b5){var _0x4c38e8=_0xc3e2fe;if(_0x3615b5&&(_0x4c38e8(0x284)===_0xacb74d(_0x3615b5)||_0x4c38e8(0x23b)==typeof _0x3615b5))return _0x3615b5;if(void 0x0!==_0x3615b5)throw new TypeError(_0x4c38e8(0x35c));return _0x24b590(_0x1b4415);},_0x2b1adf[_0xc3e2fe(0x377)][_0xc3e2fe(0x320)]=!0x0,_0x2b1adf[_0xc3e2fe(0x377)][_0xc3e2fe(0x27f)]=_0x2b1adf[_0xc3e2fe(0x377)];},function(_0x439952,_0x3a20df){var _0x81e259=a0_0x22ad39;_0x439952['exports']=_0x81e259(0x209);},function(_0x3f31bc,_0x1da4d7){var _0x20002c=a0_0x22ad39;_0x3f31bc[_0x20002c(0x377)]=function(_0x21a860,_0x32daf3){var _0x1ecc06=_0x20002c;(null==_0x32daf3||_0x32daf3>_0x21a860[_0x1ecc06(0x25e)])&&(_0x32daf3=_0x21a860[_0x1ecc06(0x25e)]);for(var _0x376758=0x0,_0x2a802c=new Array(_0x32daf3);_0x376758<_0x32daf3;_0x376758++)_0x2a802c[_0x376758]=_0x21a860[_0x376758];return _0x2a802c;},_0x3f31bc[_0x20002c(0x377)][_0x20002c(0x320)]=!0x0,_0x3f31bc[_0x20002c(0x377)][_0x20002c(0x27f)]=_0x3f31bc[_0x20002c(0x377)];},function(_0x52c726,_0x364e88){var _0x3d8efd=a0_0x22ad39;_0x52c726[_0x3d8efd(0x377)]=function(_0x24a001,_0x50ab94,_0x3e358){var _0x363ef4=_0x3d8efd;return _0x50ab94 in _0x24a001?Object[_0x363ef4(0x32b)](_0x24a001,_0x50ab94,{'value':_0x3e358,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x24a001[_0x50ab94]=_0x3e358,_0x24a001;},_0x52c726[_0x3d8efd(0x377)][_0x3d8efd(0x320)]=!0x0,_0x52c726['exports'][_0x3d8efd(0x27f)]=_0x52c726[_0x3d8efd(0x377)];},function(_0x45fc61,_0xd8a6a5){var _0x21aac6=a0_0x22ad39;_0x45fc61['exports']=_0x21aac6(0x28d);},function(_0x8f9759,_0x148d2d){_0x8f9759['exports']='uniform\x20sampler2D\x20colorTable;\x0a\x0avarying\x20float\x20speedNormalization;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20texture2D(colorTable,\x20vec2(speedNormalization,\x200.0));\x0a}';},function(_0x228973,_0x2683cb){var _0x53d97c=a0_0x22ad39;_0x228973['exports']=_0x53d97c(0x226);},function(_0x35a437,_0x5e6c61){var _0x427367=a0_0x22ad39;_0x35a437['exports']=_0x427367(0x275);},function(_0x1458bc,_0x33ae33){var _0x4737af=a0_0x22ad39;_0x1458bc[_0x4737af(0x377)]=_0x4737af(0x301);},function(_0x1d8e8e,_0x1eecf2){var _0x615af0=a0_0x22ad39;_0x1d8e8e[_0x615af0(0x377)]=_0x615af0(0x358);},function(_0x582dfb,_0x4604ff){var _0x357ebd=a0_0x22ad39;_0x582dfb[_0x357ebd(0x377)]=_0x357ebd(0x380);},function(_0x3a3b3f,_0x317ad0){var _0x2b1609=a0_0x22ad39;_0x3a3b3f[_0x2b1609(0x377)]=_0x2b1609(0x205);},function(_0x87802d,_0x2dbce9){var _0x3fccc9=a0_0x22ad39;_0x87802d[_0x3fccc9(0x377)]=_0x3fccc9(0x28c);},function(_0x5af8ea,_0x1d34d6){var _0x336864=a0_0x22ad39;function _0x2fc06e(_0xc12f,_0x2f9f55){var _0x125dfa=a0_0x21a7;return _0x5af8ea[_0x125dfa(0x377)]=_0x2fc06e=Object[_0x125dfa(0x331)]||function(_0x14d023,_0x392f71){var _0x4671ee=_0x125dfa;return _0x14d023[_0x4671ee(0x232)]=_0x392f71,_0x14d023;},_0x5af8ea['exports'][_0x125dfa(0x320)]=!0x0,_0x5af8ea['exports'][_0x125dfa(0x27f)]=_0x5af8ea[_0x125dfa(0x377)],_0x2fc06e(_0xc12f,_0x2f9f55);}_0x5af8ea['exports']=_0x2fc06e,_0x5af8ea[_0x336864(0x377)][_0x336864(0x320)]=!0x0,_0x5af8ea[_0x336864(0x377)][_0x336864(0x27f)]=_0x5af8ea[_0x336864(0x377)];},function(_0x2f5480,_0x43c803){var _0x4a6dfa=a0_0x22ad39;function _0x181a58(_0x19f5e8){var _0x4c6e09=a0_0x21a7;return _0x2f5480[_0x4c6e09(0x377)]=_0x181a58=_0x4c6e09(0x23b)==typeof Symbol&&_0x4c6e09(0x2b7)==typeof Symbol[_0x4c6e09(0x234)]?function(_0x4f6153){return typeof _0x4f6153;}:function(_0x7fa91f){var _0xeac021=_0x4c6e09;return _0x7fa91f&&_0xeac021(0x23b)==typeof Symbol&&_0x7fa91f[_0xeac021(0x2a7)]===Symbol&&_0x7fa91f!==Symbol[_0xeac021(0x35a)]?'symbol':typeof _0x7fa91f;},_0x2f5480['exports'][_0x4c6e09(0x320)]=!0x0,_0x2f5480[_0x4c6e09(0x377)]['default']=_0x2f5480[_0x4c6e09(0x377)],_0x181a58(_0x19f5e8);}_0x2f5480[_0x4a6dfa(0x377)]=_0x181a58,_0x2f5480[_0x4a6dfa(0x377)]['__esModule']=!0x0,_0x2f5480[_0x4a6dfa(0x377)]['default']=_0x2f5480[_0x4a6dfa(0x377)];},function(_0xc51956,_0x31cbc2){var _0x51b029=a0_0x22ad39;_0xc51956[_0x51b029(0x377)]=function(_0x221459){var _0x33389b=_0x51b029;if(void 0x0===_0x221459)throw new ReferenceError(_0x33389b(0x28b));return _0x221459;},_0xc51956[_0x51b029(0x377)][_0x51b029(0x320)]=!0x0,_0xc51956[_0x51b029(0x377)]['default']=_0xc51956[_0x51b029(0x377)];},function(_0x4ccf58,_0x5e38cd,_0x18a613){var _0x559653=a0_0x22ad39,_0x383933=_0x18a613(0x9);_0x4ccf58[_0x559653(0x377)]=function(_0x17808d){if(Array['isArray'](_0x17808d))return _0x383933(_0x17808d);},_0x4ccf58[_0x559653(0x377)][_0x559653(0x320)]=!0x0,_0x4ccf58[_0x559653(0x377)]['default']=_0x4ccf58[_0x559653(0x377)];},function(_0x20dbbb,_0x525fa1){var _0x5b9eab=a0_0x22ad39;_0x20dbbb[_0x5b9eab(0x377)]=function(_0x111f50){var _0x15f9f5=_0x5b9eab;if('undefined'!=typeof Symbol&&null!=_0x111f50[Symbol['iterator']]||null!=_0x111f50[_0x15f9f5(0x2ee)])return Array[_0x15f9f5(0x349)](_0x111f50);},_0x20dbbb[_0x5b9eab(0x377)][_0x5b9eab(0x320)]=!0x0,_0x20dbbb['exports']['default']=_0x20dbbb[_0x5b9eab(0x377)];},function(_0x3412c3,_0x4c3812,_0x118a6d){var _0x233b22=a0_0x22ad39,_0x52a5ed=_0x118a6d(0x9);_0x3412c3['exports']=function(_0x534d57,_0x1f9efa){var _0x2e13f2=a0_0x21a7;if(_0x534d57){if(_0x2e13f2(0x2fa)==typeof _0x534d57)return _0x52a5ed(_0x534d57,_0x1f9efa);var _0xcbb481=Object['prototype'][_0x2e13f2(0x37f)][_0x2e13f2(0x233)](_0x534d57)[_0x2e13f2(0x329)](0x8,-0x1);return _0x2e13f2(0x245)===_0xcbb481&&_0x534d57['constructor']&&(_0xcbb481=_0x534d57[_0x2e13f2(0x2a7)][_0x2e13f2(0x30a)]),_0x2e13f2(0x2cf)===_0xcbb481||_0x2e13f2(0x22a)===_0xcbb481?Array[_0x2e13f2(0x349)](_0x534d57):'Arguments'===_0xcbb481||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[_0x2e13f2(0x2a6)](_0xcbb481)?_0x52a5ed(_0x534d57,_0x1f9efa):void 0x0;}},_0x3412c3[_0x233b22(0x377)][_0x233b22(0x320)]=!0x0,_0x3412c3[_0x233b22(0x377)]['default']=_0x3412c3[_0x233b22(0x377)];},function(_0x22bb5e,_0x4efe80){var _0x46d893=a0_0x22ad39;_0x22bb5e[_0x46d893(0x377)]=function(){throw new TypeError('Invalid\x20attempt\x20to\x20spread\x20non-iterable\x20instance.\x0aIn\x20order\x20to\x20be\x20iterable,\x20non-array\x20objects\x20must\x20have\x20a\x20[Symbol.iterator]()\x20method.');},_0x22bb5e[_0x46d893(0x377)][_0x46d893(0x320)]=!0x0,_0x22bb5e[_0x46d893(0x377)][_0x46d893(0x27f)]=_0x22bb5e[_0x46d893(0x377)];},function(_0x52fbb0,_0x1b862f,_0x4c1724){'use strict';var _0x3aa2d6=a0_0x22ad39;_0x4c1724['r'](_0x1b862f),_0x4c1724['d'](_0x1b862f,_0x3aa2d6(0x256),function(){return _0x109e9d;}),_0x4c1724['d'](_0x1b862f,'CanvasWindLayer',function(){return _0x474354;}),_0x4c1724['d'](_0x1b862f,_0x3aa2d6(0x2e5),function(){return _0x4f5185;});var _0x4f5185={};_0x4c1724['r'](_0x4f5185),_0x4c1724['d'](_0x4f5185,_0x3aa2d6(0x33a),function(){return _0x146062;}),_0x4c1724['d'](_0x4f5185,'getV',function(){return _0x1f06e2;}),_0x4c1724['d'](_0x4f5185,_0x3aa2d6(0x352),function(){return _0x450f3f;}),_0x4c1724['d'](_0x4f5185,_0x3aa2d6(0x372),function(){return _0x2cf9c1;});var _0x11e886=_0x4c1724(0x1),_0x212881=_0x4c1724(0x2),_0x2bde55=_0x4c1724['n'](_0x212881),_0x4876a0=_0x4c1724(0x3),_0x17f393=_0x4c1724['n'](_0x4876a0),_0x5e1c11=_0x4c1724(0x6),_0x5d1b83=_0x4c1724['n'](_0x5e1c11),_0x1a9282=_0x4c1724(0x7),_0x4d18bd=_0x4c1724['n'](_0x1a9282),_0x192d63=_0x4c1724(0x4),_0x3bd9d4=_0x4c1724['n'](_0x192d63),_0x49bd3c=_0x4c1724(0x0),_0x3f9b09=_0x4c1724(0x5),_0xdfd249=_0x4c1724['n'](_0x3f9b09),_0x3f1616=_0x4c1724(0xa),_0x32db15=_0x4c1724['n'](_0x3f1616),_0x13b2e7=(function(){var _0x4fe6ae=_0x3aa2d6;function _0x3fab20(_0x1aca49){var _0x2a45bd=a0_0x21a7;_0x2bde55()(this,_0x3fab20),this[_0x2a45bd(0x1fe)]=_0x1aca49[_0x2a45bd(0x1fe)],this[_0x2a45bd(0x30b)]=_0x1aca49['geometry'],this[_0x2a45bd(0x2b1)]=_0x1aca49[_0x2a45bd(0x2b1)],this[_0x2a45bd(0x36f)]=_0x1aca49['primitiveType'],this[_0x2a45bd(0x290)]=_0x1aca49['uniformMap'],this[_0x2a45bd(0x28a)]=_0x1aca49[_0x2a45bd(0x28a)],this[_0x2a45bd(0x271)]=_0x1aca49['fragmentShaderSource'],this['rawRenderState']=_0x1aca49[_0x2a45bd(0x342)],this[_0x2a45bd(0x2af)]=_0x1aca49['framebuffer'],this['outputTexture']=_0x1aca49[_0x2a45bd(0x35d)],this[_0x2a45bd(0x2f6)]=_0x49bd3c['defaultValue'](_0x1aca49[_0x2a45bd(0x2f6)],!0x1),this[_0x2a45bd(0x2d5)]=_0x1aca49[_0x2a45bd(0x2d5)],this[_0x2a45bd(0x385)]=!0x0,this[_0x2a45bd(0x2fc)]=void 0x0,this['clearCommand']=void 0x0,this[_0x2a45bd(0x2f6)]&&(this[_0x2a45bd(0x2c6)]=new _0x49bd3c[(_0x2a45bd(0x27d))]({'color':new _0x49bd3c[(_0x2a45bd(0x220))](0x0,0x0,0x0,0x0),'depth':0x1,'framebuffer':this[_0x2a45bd(0x2af)],'pass':_0x49bd3c['Pass'][_0x2a45bd(0x363)]}));}return _0x17f393()(_0x3fab20,[{'key':_0x4fe6ae(0x1fa),'value':function(_0x30e6f7){var _0x2c4f68=_0x4fe6ae;switch(this[_0x2c4f68(0x1fe)]){case _0x2c4f68(0x1f6):var _0x104e09=_0x49bd3c[_0x2c4f68(0x31f)]['fromGeometry']({'context':_0x30e6f7,'geometry':this[_0x2c4f68(0x30b)],'attributeLocations':this['attributeLocations'],'bufferUsage':_0x49bd3c[_0x2c4f68(0x333)][_0x2c4f68(0x255)]}),_0x3b7522=_0x49bd3c['ShaderProgram']['fromCache']({'context':_0x30e6f7,'attributeLocations':this[_0x2c4f68(0x2b1)],'vertexShaderSource':this['vertexShaderSource'],'fragmentShaderSource':this[_0x2c4f68(0x271)]}),_0x1074db=_0x49bd3c[_0x2c4f68(0x2b8)][_0x2c4f68(0x34e)](this[_0x2c4f68(0x342)]);return new _0x49bd3c[(_0x2c4f68(0x265))]({'owner':this,'vertexArray':_0x104e09,'primitiveType':this[_0x2c4f68(0x36f)],'uniformMap':this[_0x2c4f68(0x290)],'modelMatrix':_0x49bd3c[_0x2c4f68(0x2d2)][_0x2c4f68(0x319)],'shaderProgram':_0x3b7522,'framebuffer':this[_0x2c4f68(0x2af)],'renderState':_0x1074db,'pass':_0x49bd3c[_0x2c4f68(0x2b5)][_0x2c4f68(0x363)]});case _0x2c4f68(0x353):return new _0x49bd3c['ComputeCommand']({'owner':this,'fragmentShaderSource':this[_0x2c4f68(0x271)],'uniformMap':this[_0x2c4f68(0x290)],'outputTexture':this['outputTexture'],'persists':!0x0});default:return;}}},{'key':_0x4fe6ae(0x1f5),'value':function(_0xaa8bab,_0x36426b){var _0x1b65b1=_0x4fe6ae;this['geometry']=_0x36426b;var _0x5a0eb8=_0x49bd3c['VertexArray'][_0x1b65b1(0x38a)]({'context':_0xaa8bab,'geometry':this[_0x1b65b1(0x30b)],'attributeLocations':this[_0x1b65b1(0x2b1)],'bufferUsage':_0x49bd3c[_0x1b65b1(0x333)][_0x1b65b1(0x255)]});this['commandToExecute']['vertexArray']=_0x5a0eb8;}},{'key':'update','value':function(_0x1a317e){var _0x2af391=_0x4fe6ae;this[_0x2af391(0x385)]&&_0x1a317e[_0x2af391(0x28f)]==_0x49bd3c[_0x2af391(0x335)]['SCENE3D']&&(_0x49bd3c['defined'](this[_0x2af391(0x2fc)])||(this['commandToExecute']=this[_0x2af391(0x1fa)](_0x1a317e[_0x2af391(0x30c)])),_0x49bd3c[_0x2af391(0x2bc)](this['preExecute'])&&this['preExecute'](),_0x49bd3c[_0x2af391(0x2bc)](this[_0x2af391(0x2c6)])&&_0x1a317e[_0x2af391(0x2f1)][_0x2af391(0x32e)](this[_0x2af391(0x2c6)]),_0x1a317e[_0x2af391(0x2f1)]['push'](this[_0x2af391(0x2fc)]));}},{'key':_0x4fe6ae(0x282),'value':function(){return!0x1;}},{'key':_0x4fe6ae(0x318),'value':function(){var _0x3e42c0=_0x4fe6ae;return _0x49bd3c[_0x3e42c0(0x2bc)](this['commandToExecute'])&&(this[_0x3e42c0(0x2fc)][_0x3e42c0(0x2b6)]=this['commandToExecute'][_0x3e42c0(0x2b6)]&&this[_0x3e42c0(0x2fc)][_0x3e42c0(0x2b6)]['destroy']()),_0x49bd3c[_0x3e42c0(0x2c5)](this);}}]),_0x3fab20;}()),_0x415184={'getFullscreenQuad':function(){var _0x1563cc=_0x3aa2d6;return new _0x49bd3c[(_0x1563cc(0x293))]({'attributes':new _0x49bd3c[(_0x1563cc(0x20d))]({'position':new _0x49bd3c[(_0x1563cc(0x35f))]({'componentDatatype':_0x49bd3c[_0x1563cc(0x212)]['FLOAT'],'componentsPerAttribute':0x3,'values':new Float32Array([-0x1,-0x1,0x0,0x1,-0x1,0x0,0x1,0x1,0x0,-0x1,0x1,0x0])}),'st':new _0x49bd3c['GeometryAttribute']({'componentDatatype':_0x49bd3c[_0x1563cc(0x212)][_0x1563cc(0x243)],'componentsPerAttribute':0x2,'values':new Float32Array([0x0,0x0,0x1,0x0,0x1,0x1,0x0,0x1])})}),'indices':new Uint32Array([0x3,0x2,0x0,0x0,0x2,0x1])});},'createTexture':function(_0xbaeb9f,_0x440cbd){var _0x53a201=_0x3aa2d6;if(_0x49bd3c[_0x53a201(0x2bc)](_0x440cbd)){var _0x44c999={};_0x44c999[_0x53a201(0x366)]=_0x440cbd,_0xbaeb9f[_0x53a201(0x387)]=_0x44c999;}return new _0x49bd3c[(_0x53a201(0x34c))](_0xbaeb9f);},'createFramebuffer':function(_0x13fe06,_0x455d91,_0x5f3430){var _0xd41d65=_0x3aa2d6;return new _0x49bd3c[(_0xd41d65(0x2bd))]({'context':_0x13fe06,'colorTextures':[_0x455d91],'depthTexture':_0x5f3430});},'createRawRenderState':function(_0x4a5c60){var _0x7b8c9f=_0x3aa2d6,_0x2c45d7={'viewport':_0x4a5c60[_0x7b8c9f(0x334)],'depthTest':_0x4a5c60[_0x7b8c9f(0x2dd)],'depthMask':_0x4a5c60['depthMask'],'blending':_0x4a5c60['blending']};return _0x49bd3c[_0x7b8c9f(0x2f0)]['getDefaultRenderState'](!0x0,!0x1,_0x2c45d7);},'viewRectangleToLonLatRange':function(_0x37889e){var _0x1e0652=_0x3aa2d6,_0x6feaf4,_0x4374b8,_0x8a9258={},_0x277b70=_0x49bd3c[_0x1e0652(0x286)][_0x1e0652(0x25b)](_0x37889e[_0x1e0652(0x383)],_0x49bd3c['Math'][_0x1e0652(0x25d)]),_0x31e6b3=_0x49bd3c[_0x1e0652(0x286)][_0x1e0652(0x25b)](_0x37889e['east'],_0x49bd3c[_0x1e0652(0x286)]['TWO_PI']),_0x322920=_0x37889e['width'];_0x322920>_0x49bd3c[_0x1e0652(0x286)][_0x1e0652(0x36e)]?(_0x6feaf4=0x0,_0x4374b8=_0x49bd3c['Math'][_0x1e0652(0x25d)]):_0x31e6b3-_0x277b70<_0x322920?(_0x6feaf4=_0x277b70,_0x4374b8=_0x277b70+_0x322920):(_0x6feaf4=_0x277b70,_0x4374b8=_0x31e6b3),_0x8a9258[_0x1e0652(0x2ad)]={'min':_0x49bd3c['Math']['toDegrees'](_0x6feaf4),'max':_0x49bd3c[_0x1e0652(0x286)]['toDegrees'](_0x4374b8)};var _0x197cef=_0x37889e[_0x1e0652(0x378)],_0x44894e=_0x37889e['north'],_0xbc55b7=_0x37889e['height'],_0x44446e=_0xbc55b7>_0x49bd3c['Math']['PI']/0xc?_0xbc55b7/0x2:0x0,_0xfeaad5=_0x49bd3c['Math'][_0x1e0652(0x24f)](_0x197cef-_0x44446e),_0x436e36=_0x49bd3c[_0x1e0652(0x286)][_0x1e0652(0x24f)](_0x44894e+_0x44446e);return _0xfeaad5<-_0x49bd3c[_0x1e0652(0x286)][_0x1e0652(0x23f)]&&(_0xfeaad5=-_0x49bd3c['Math']['PI_OVER_TWO']),_0x436e36>_0x49bd3c[_0x1e0652(0x286)]['PI_OVER_THREE']&&(_0x436e36=_0x49bd3c[_0x1e0652(0x286)][_0x1e0652(0x336)]),_0x8a9258[_0x1e0652(0x2f2)]={'min':_0x49bd3c[_0x1e0652(0x286)][_0x1e0652(0x31c)](_0xfeaad5),'max':_0x49bd3c['Math']['toDegrees'](_0x436e36)},_0x8a9258;}},_0x1e37b2=_0x4c1724(0xb),_0x1592af=_0x4c1724['n'](_0x1e37b2),_0x549a9e=_0x4c1724(0xc),_0x44a7a8=_0x4c1724['n'](_0x549a9e),_0x332e1f=_0x4c1724(0x8),_0x1b3430=_0x4c1724['n'](_0x332e1f),_0x34b864=_0x4c1724(0xd),_0x4803df=_0x4c1724['n'](_0x34b864),_0x3bca52=_0x4c1724(0xe),_0x1fe10e=_0x4c1724['n'](_0x3bca52),_0x46ed5e=(function(){var _0x2f1bee=_0x3aa2d6;function _0x2d8d2d(_0x1c1128,_0xcbcadf,_0x3cc501,_0x5db30c,_0x347327){_0x2bde55()(this,_0x2d8d2d),this['createRenderingTextures'](_0x1c1128,_0xcbcadf),this['createRenderingFramebuffers'](_0x1c1128),this['createRenderingPrimitives'](_0x1c1128,_0x3cc501,_0x5db30c,_0x347327);}return _0x17f393()(_0x2d8d2d,[{'key':'createRenderingTextures','value':function(_0xa254f1,_0x2925f6){var _0x395f52=a0_0x21a7,_0x24055a={'context':_0xa254f1,'width':_0xa254f1[_0x395f52(0x384)],'height':_0xa254f1['drawingBufferHeight'],'pixelFormat':_0x49bd3c[_0x395f52(0x312)][_0x395f52(0x283)],'pixelDatatype':_0x49bd3c[_0x395f52(0x344)][_0x395f52(0x21c)]},_0x260386={'context':_0xa254f1,'width':_0xa254f1[_0x395f52(0x384)],'height':_0xa254f1[_0x395f52(0x340)],'pixelFormat':_0x49bd3c['PixelFormat'][_0x395f52(0x23c)],'pixelDatatype':_0x49bd3c[_0x395f52(0x344)][_0x395f52(0x267)]},_0x13a012={'context':_0xa254f1,'width':_0x2925f6['colorTable'][_0x395f52(0x281)],'height':0x1,'pixelFormat':_0x49bd3c[_0x395f52(0x312)][_0x395f52(0x317)],'pixelDatatype':_0x49bd3c[_0x395f52(0x344)][_0x395f52(0x243)],'sampler':new _0x49bd3c[(_0x395f52(0x2cb))]({'minificationFilter':_0x49bd3c[_0x395f52(0x2c2)][_0x395f52(0x33d)],'magnificationFilter':_0x49bd3c[_0x395f52(0x32c)][_0x395f52(0x33d)]})};this[_0x395f52(0x2bf)]={'segmentsColor':_0x415184['createTexture'](_0x24055a),'segmentsDepth':_0x415184['createTexture'](_0x260386),'currentTrailsColor':_0x415184['createTexture'](_0x24055a),'currentTrailsDepth':_0x415184[_0x395f52(0x361)](_0x260386),'nextTrailsColor':_0x415184[_0x395f52(0x361)](_0x24055a),'nextTrailsDepth':_0x415184[_0x395f52(0x361)](_0x260386),'colorTable':_0x415184['createTexture'](_0x13a012,_0x2925f6[_0x395f52(0x287)][_0x395f52(0x251)])};}},{'key':'createRenderingFramebuffers','value':function(_0x54c1bd){var _0x2618ce=a0_0x21a7;this[_0x2618ce(0x2e2)]={'segments':_0x415184[_0x2618ce(0x26d)](_0x54c1bd,this['textures'][_0x2618ce(0x2c3)],this[_0x2618ce(0x2bf)]['segmentsDepth']),'currentTrails':_0x415184['createFramebuffer'](_0x54c1bd,this[_0x2618ce(0x2bf)]['currentTrailsColor'],this['textures'][_0x2618ce(0x360)]),'nextTrails':_0x415184[_0x2618ce(0x26d)](_0x54c1bd,this[_0x2618ce(0x2bf)][_0x2618ce(0x2d8)],this[_0x2618ce(0x2bf)][_0x2618ce(0x2d0)])};}},{'key':_0x2f1bee(0x32d),'value':function(_0x8b890c){var _0x3b3f9e=_0x2f1bee;for(var _0x312617=[],_0x5ab250=0x0;_0x5ab250<_0x8b890c[_0x3b3f9e(0x29f)];_0x5ab250++)for(var _0xd549c=0x0;_0xd549c<_0x8b890c[_0x3b3f9e(0x29f)];_0xd549c++)for(var _0x3ef7d0=0x0;_0x3ef7d0<0x4;_0x3ef7d0++)_0x312617['push'](_0x5ab250/_0x8b890c[_0x3b3f9e(0x29f)]),_0x312617['push'](_0xd549c/_0x8b890c[_0x3b3f9e(0x29f)]);_0x312617=new Float32Array(_0x312617);for(var _0x2c09b7=[],_0x3be118=[-0x1,0x1],_0xd799b4=[-0x1,0x1],_0x2f727b=0x0;_0x2f727b<_0x8b890c['maxParticles'];_0x2f727b++)for(var _0x7f0e8d=0x0;_0x7f0e8d<0x2;_0x7f0e8d++)for(var _0x3f09b0=0x0;_0x3f09b0<0x2;_0x3f09b0++)_0x2c09b7[_0x3b3f9e(0x32e)](_0x3be118[_0x7f0e8d]),_0x2c09b7[_0x3b3f9e(0x32e)](_0xd799b4[_0x3f09b0]),_0x2c09b7[_0x3b3f9e(0x32e)](0x0);_0x2c09b7=new Float32Array(_0x2c09b7);for(var _0x224b06=0x6*_0x8b890c[_0x3b3f9e(0x257)],_0x520b01=new Uint32Array(_0x224b06),_0x5bfb40=0x0,_0xd3b1c1=0x0,_0x5cfa82=0x0;_0x5bfb40<_0x8b890c[_0x3b3f9e(0x257)];_0x5bfb40++)_0x520b01[_0xd3b1c1++]=_0x5cfa82+0x0,_0x520b01[_0xd3b1c1++]=_0x5cfa82+0x1,_0x520b01[_0xd3b1c1++]=_0x5cfa82+0x2,_0x520b01[_0xd3b1c1++]=_0x5cfa82+0x2,_0x520b01[_0xd3b1c1++]=_0x5cfa82+0x1,_0x520b01[_0xd3b1c1++]=_0x5cfa82+0x3,_0x5cfa82+=0x4;return new _0x49bd3c[(_0x3b3f9e(0x293))]({'attributes':new _0x49bd3c['GeometryAttributes']({'st':new _0x49bd3c[(_0x3b3f9e(0x35f))]({'componentDatatype':_0x49bd3c[_0x3b3f9e(0x212)][_0x3b3f9e(0x243)],'componentsPerAttribute':0x2,'values':_0x312617}),'normal':new _0x49bd3c[(_0x3b3f9e(0x35f))]({'componentDatatype':_0x49bd3c[_0x3b3f9e(0x212)]['FLOAT'],'componentsPerAttribute':0x3,'values':_0x2c09b7})}),'indices':_0x520b01});}},{'key':'createRenderingPrimitives','value':function(_0x51c6d0,_0x40d571,_0x7e9bf4,_0x51033f){var _0x2dfd38=_0x2f1bee,_0x211d20=this;this[_0x2dfd38(0x373)]={'segments':new _0x13b2e7({'commandType':_0x2dfd38(0x1f6),'attributeLocations':{'st':0x0,'normal':0x1},'geometry':this[_0x2dfd38(0x32d)](_0x40d571),'primitiveType':_0x49bd3c['PrimitiveType'][_0x2dfd38(0x246)],'uniformMap':{'currentParticlesPosition':function(){var _0x3d1fbf=_0x2dfd38;return _0x51033f[_0x3d1fbf(0x310)][_0x3d1fbf(0x224)];},'postProcessingPosition':function(){var _0x4cf192=_0x2dfd38;return _0x51033f[_0x4cf192(0x310)]['postProcessingPosition'];},'postProcessingSpeed':function(){var _0x5ad94a=_0x2dfd38;return _0x51033f[_0x5ad94a(0x310)][_0x5ad94a(0x202)];},'colorTable':function(){var _0x5dece5=_0x2dfd38;return _0x211d20[_0x5dece5(0x2bf)]['colorTable'];},'aspect':function(){var _0x529ba5=_0x2dfd38;return _0x51c6d0[_0x529ba5(0x384)]/_0x51c6d0[_0x529ba5(0x340)];},'pixelSize':function(){return _0x7e9bf4['pixelSize'];},'lineWidth':function(){var _0x27721c=_0x2dfd38;return _0x40d571[_0x27721c(0x1f8)];},'particleHeight':function(){return _0x40d571['particleHeight'];}},'vertexShaderSource':new _0x49bd3c['ShaderSource']({'sources':[_0x1592af['a']]}),'fragmentShaderSource':new _0x49bd3c[(_0x2dfd38(0x244))]({'sources':[_0x44a7a8['a']]}),'rawRenderState':_0x415184['createRawRenderState']({'viewport':void 0x0,'depthTest':{'enabled':!0x0},'depthMask':!0x0}),'framebuffer':this[_0x2dfd38(0x2e2)][_0x2dfd38(0x213)],'autoClear':!0x0}),'trails':new _0x13b2e7({'commandType':'Draw','attributeLocations':{'position':0x0,'st':0x1},'geometry':_0x415184[_0x2dfd38(0x2da)](),'primitiveType':_0x49bd3c[_0x2dfd38(0x315)][_0x2dfd38(0x246)],'uniformMap':{'segmentsColorTexture':function(){var _0x5afd7c=_0x2dfd38;return _0x211d20[_0x5afd7c(0x2bf)]['segmentsColor'];},'segmentsDepthTexture':function(){return _0x211d20['textures']['segmentsDepth'];},'currentTrailsColor':function(){var _0x3320e1=_0x2dfd38;return _0x211d20[_0x3320e1(0x2e2)][_0x3320e1(0x2d7)][_0x3320e1(0x27c)](0x0);},'trailsDepthTexture':function(){var _0x58a877=_0x2dfd38;return _0x211d20[_0x58a877(0x2e2)][_0x58a877(0x2d7)][_0x58a877(0x2cd)];},'fadeOpacity':function(){var _0x1cae86=_0x2dfd38;return _0x40d571[_0x1cae86(0x274)];}},'vertexShaderSource':new _0x49bd3c[(_0x2dfd38(0x244))]({'defines':[_0x2dfd38(0x23a)],'sources':[_0x1b3430['a']]}),'fragmentShaderSource':new _0x49bd3c[(_0x2dfd38(0x244))]({'defines':[_0x2dfd38(0x2f5)],'sources':[_0x4803df['a']]}),'rawRenderState':_0x415184[_0x2dfd38(0x303)]({'viewport':void 0x0,'depthTest':{'enabled':!0x0,'func':_0x49bd3c['DepthFunction'][_0x2dfd38(0x37b)]},'depthMask':!0x0}),'framebuffer':this['framebuffers'][_0x2dfd38(0x37e)],'autoClear':!0x0,'preExecute':function(){var _0x1a9da7=_0x2dfd38,_0x2281e0;_0x2281e0=_0x211d20[_0x1a9da7(0x2e2)][_0x1a9da7(0x2d7)],_0x211d20[_0x1a9da7(0x2e2)][_0x1a9da7(0x2d7)]=_0x211d20['framebuffers'][_0x1a9da7(0x37e)],_0x211d20[_0x1a9da7(0x2e2)][_0x1a9da7(0x37e)]=_0x2281e0,_0x211d20[_0x1a9da7(0x373)][_0x1a9da7(0x37c)][_0x1a9da7(0x2fc)][_0x1a9da7(0x2af)]=_0x211d20['framebuffers'][_0x1a9da7(0x37e)],_0x211d20[_0x1a9da7(0x373)][_0x1a9da7(0x37c)][_0x1a9da7(0x2c6)][_0x1a9da7(0x2af)]=_0x211d20[_0x1a9da7(0x2e2)][_0x1a9da7(0x37e)];}}),'screen':new _0x13b2e7({'commandType':'Draw','attributeLocations':{'position':0x0,'st':0x1},'geometry':_0x415184[_0x2dfd38(0x2da)](),'primitiveType':_0x49bd3c[_0x2dfd38(0x315)][_0x2dfd38(0x246)],'uniformMap':{'trailsColorTexture':function(){var _0x544443=_0x2dfd38;return _0x211d20['framebuffers'][_0x544443(0x37e)]['getColorTexture'](0x0);},'trailsDepthTexture':function(){var _0xd9aef2=_0x2dfd38;return _0x211d20[_0xd9aef2(0x2e2)][_0xd9aef2(0x37e)][_0xd9aef2(0x2cd)];}},'vertexShaderSource':new _0x49bd3c[(_0x2dfd38(0x244))]({'defines':[_0x2dfd38(0x23a)],'sources':[_0x1b3430['a']]}),'fragmentShaderSource':new _0x49bd3c[(_0x2dfd38(0x244))]({'defines':['DISABLE_LOG_DEPTH_FRAGMENT_WRITE'],'sources':[_0x1fe10e['a']]}),'rawRenderState':_0x415184[_0x2dfd38(0x303)]({'viewport':void 0x0,'depthTest':{'enabled':!0x1},'depthMask':!0x0,'blending':{'enabled':!0x0}}),'framebuffer':void 0x0})};}}]),_0x2d8d2d;}()),_0xc6a47a=_0x4c1724(0xf),_0x3100e8=_0x4c1724['n'](_0xc6a47a),_0x572056=_0x4c1724(0x10),_0x36a91e=_0x4c1724['n'](_0x572056),_0x15d130=_0x4c1724(0x11),_0x1c448e=_0x4c1724['n'](_0x15d130),_0x488534=_0x4c1724(0x12),_0x1bd355=_0x4c1724['n'](_0x488534),_0x1b8ac4=_0x4c1724(0x13),_0x3a09d1=_0x4c1724['n'](_0x1b8ac4),_0x4cbc19=(function(){var _0xf580dd=_0x3aa2d6;function _0xa09625(_0x18c5c7,_0x10228a,_0x317464,_0x17e307){var _0x9716bb=a0_0x21a7;_0x2bde55()(this,_0xa09625),this[_0x9716bb(0x374)]=_0x10228a,this[_0x9716bb(0x296)](_0x18c5c7,_0x10228a),this[_0x9716bb(0x37a)](_0x18c5c7,_0x317464,_0x17e307),this[_0x9716bb(0x250)](_0x10228a,_0x317464,_0x17e307);}return _0x17f393()(_0xa09625,[{'key':_0xf580dd(0x296),'value':function(_0x2883b5,_0x1c0e99){var _0x492a76=_0xf580dd,_0x1d71c2={'context':_0x2883b5,'width':_0x1c0e99['dimensions'][_0x492a76(0x2ad)],'height':_0x1c0e99['dimensions']['lat']*(_0x1c0e99[_0x492a76(0x302)]['lev']||0x1),'pixelFormat':_0x49bd3c['PixelFormat'][_0x492a76(0x2d6)],'pixelDatatype':_0x49bd3c[_0x492a76(0x344)][_0x492a76(0x243)],'flipY':!0x1,'sampler':new _0x49bd3c[(_0x492a76(0x2cb))]({'minificationFilter':_0x49bd3c['TextureMinificationFilter']['NEAREST'],'magnificationFilter':_0x49bd3c[_0x492a76(0x32c)][_0x492a76(0x2f9)]})};this[_0x492a76(0x2f4)]={'U':_0x415184['createTexture'](_0x1d71c2,_0x1c0e99['U']['array']),'V':_0x415184[_0x492a76(0x361)](_0x1d71c2,_0x1c0e99['V'][_0x492a76(0x251)])};}},{'key':_0xf580dd(0x37a),'value':function(_0x292fc8,_0x3e52b4,_0x160c47){var _0x1f59f4=_0xf580dd,_0xc9fe8b={'context':_0x292fc8,'width':_0x3e52b4[_0x1f59f4(0x29f)],'height':_0x3e52b4[_0x1f59f4(0x29f)],'pixelFormat':_0x49bd3c[_0x1f59f4(0x312)]['RGBA'],'pixelDatatype':_0x49bd3c[_0x1f59f4(0x344)]['FLOAT'],'flipY':!0x1,'sampler':new _0x49bd3c[(_0x1f59f4(0x2cb))]({'minificationFilter':_0x49bd3c['TextureMinificationFilter'][_0x1f59f4(0x2f9)],'magnificationFilter':_0x49bd3c[_0x1f59f4(0x32c)]['NEAREST']})},_0xa58a1f=this[_0x1f59f4(0x313)](_0x3e52b4[_0x1f59f4(0x257)],_0x160c47),_0xc73d5e=new Float32Array(0x4*_0x3e52b4[_0x1f59f4(0x257)])['fill'](0x0);this[_0x1f59f4(0x310)]={'particlesWind':_0x415184['createTexture'](_0xc9fe8b),'currentParticlesPosition':_0x415184[_0x1f59f4(0x361)](_0xc9fe8b,_0xa58a1f),'nextParticlesPosition':_0x415184[_0x1f59f4(0x361)](_0xc9fe8b,_0xa58a1f),'currentParticlesSpeed':_0x415184[_0x1f59f4(0x361)](_0xc9fe8b,_0xc73d5e),'nextParticlesSpeed':_0x415184['createTexture'](_0xc9fe8b,_0xc73d5e),'postProcessingPosition':_0x415184[_0x1f59f4(0x361)](_0xc9fe8b,_0xa58a1f),'postProcessingSpeed':_0x415184[_0x1f59f4(0x361)](_0xc9fe8b,_0xc73d5e)};}},{'key':_0xf580dd(0x313),'value':function(_0x2c0461,_0x1686b3){var _0x420bc7=_0xf580dd;for(var _0x15e3d9=new Float32Array(0x4*_0x2c0461),_0x39e6b6=0x0;_0x39e6b6<_0x2c0461;_0x39e6b6++)_0x15e3d9[0x4*_0x39e6b6]=_0x49bd3c[_0x420bc7(0x286)][_0x420bc7(0x292)](_0x1686b3['lonRange']['x'],_0x1686b3[_0x420bc7(0x2be)]['y']),_0x15e3d9[0x4*_0x39e6b6+0x1]=_0x49bd3c[_0x420bc7(0x286)][_0x420bc7(0x292)](_0x1686b3[_0x420bc7(0x368)]['x'],_0x1686b3[_0x420bc7(0x368)]['y']),_0x15e3d9[0x4*_0x39e6b6+0x2]=_0x49bd3c[_0x420bc7(0x286)][_0x420bc7(0x292)](this[_0x420bc7(0x374)][_0x420bc7(0x369)][_0x420bc7(0x26a)],this['data']['lev'][_0x420bc7(0x2a0)]),_0x15e3d9[0x4*_0x39e6b6+0x3]=0x0;return _0x15e3d9;}},{'key':_0xf580dd(0x297),'value':function(){var _0x169d7d=_0xf580dd,_0x1283aa=this;Object[_0x169d7d(0x280)](this[_0x169d7d(0x310)])['forEach'](function(_0x4aba6b){_0x1283aa['particlesTextures'][_0x4aba6b]['destroy']();});}},{'key':_0xf580dd(0x250),'value':function(_0x5dabb9,_0x24d957,_0x3923c4){var _0x33cdd7=_0xf580dd,_0x1da96d=new _0x49bd3c[(_0x33cdd7(0x262))](_0x5dabb9[_0x33cdd7(0x302)][_0x33cdd7(0x2ad)],_0x5dabb9[_0x33cdd7(0x302)][_0x33cdd7(0x2f2)],_0x5dabb9[_0x33cdd7(0x302)][_0x33cdd7(0x369)]),_0xf608c2=new _0x49bd3c[(_0x33cdd7(0x262))](_0x5dabb9[_0x33cdd7(0x2ad)][_0x33cdd7(0x26a)],_0x5dabb9[_0x33cdd7(0x2f2)][_0x33cdd7(0x26a)],_0x5dabb9['lev'][_0x33cdd7(0x26a)]),_0x348e67=new _0x49bd3c[(_0x33cdd7(0x262))](_0x5dabb9[_0x33cdd7(0x2ad)][_0x33cdd7(0x2a0)],_0x5dabb9['lat'][_0x33cdd7(0x2a0)],_0x5dabb9[_0x33cdd7(0x369)]['max']),_0x1e5186=new _0x49bd3c[(_0x33cdd7(0x262))]((_0x348e67['x']-_0xf608c2['x'])/(_0x1da96d['x']-0x1),(_0x348e67['y']-_0xf608c2['y'])/(_0x1da96d['y']-0x1),_0x1da96d['z']>0x1?(_0x348e67['z']-_0xf608c2['z'])/(_0x1da96d['z']-0x1):0x1),_0x304660=new _0x49bd3c[(_0x33cdd7(0x200))](_0x5dabb9['U'][_0x33cdd7(0x26a)],_0x5dabb9['U'][_0x33cdd7(0x2a0)]),_0x1096bc=new _0x49bd3c[(_0x33cdd7(0x200))](_0x5dabb9['V']['min'],_0x5dabb9['V'][_0x33cdd7(0x2a0)]),_0x477848=this;this[_0x33cdd7(0x373)]={'getWind':new _0x13b2e7({'commandType':'Compute','uniformMap':{'U':function(){return _0x477848['windTextures']['U'];},'V':function(){var _0x498dea=_0x33cdd7;return _0x477848[_0x498dea(0x2f4)]['V'];},'currentParticlesPosition':function(){var _0xb299f8=_0x33cdd7;return _0x477848['particlesTextures'][_0xb299f8(0x224)];},'dimension':function(){return _0x1da96d;},'minimum':function(){return _0xf608c2;},'maximum':function(){return _0x348e67;},'interval':function(){return _0x1e5186;}},'fragmentShaderSource':new _0x49bd3c[(_0x33cdd7(0x244))]({'sources':[_0x3100e8['a']]}),'outputTexture':this[_0x33cdd7(0x310)][_0x33cdd7(0x32a)],'preExecute':function(){var _0x4c6204=_0x33cdd7;_0x477848['primitives'][_0x4c6204(0x359)][_0x4c6204(0x2fc)][_0x4c6204(0x35d)]=_0x477848[_0x4c6204(0x310)][_0x4c6204(0x32a)];}}),'updateSpeed':new _0x13b2e7({'commandType':_0x33cdd7(0x353),'uniformMap':{'currentParticlesSpeed':function(){return _0x477848['particlesTextures']['currentParticlesSpeed'];},'particlesWind':function(){var _0xed1ffe=_0x33cdd7;return _0x477848[_0xed1ffe(0x310)][_0xed1ffe(0x32a)];},'uSpeedRange':function(){return _0x304660;},'vSpeedRange':function(){return _0x1096bc;},'pixelSize':function(){return _0x3923c4['pixelSize'];},'speedFactor':function(){return _0x24d957['speedFactor'];}},'fragmentShaderSource':new _0x49bd3c['ShaderSource']({'sources':[_0x36a91e['a']]}),'outputTexture':this[_0x33cdd7(0x310)]['nextParticlesSpeed'],'preExecute':function(){var _0xb572e9=_0x33cdd7,_0x2abe4d;_0x2abe4d=_0x477848[_0xb572e9(0x310)][_0xb572e9(0x346)],_0x477848[_0xb572e9(0x310)][_0xb572e9(0x346)]=_0x477848[_0xb572e9(0x310)]['postProcessingSpeed'],_0x477848['particlesTextures']['postProcessingSpeed']=_0x2abe4d,_0x477848[_0xb572e9(0x373)][_0xb572e9(0x2cc)]['commandToExecute']['outputTexture']=_0x477848[_0xb572e9(0x310)][_0xb572e9(0x388)];}}),'updatePosition':new _0x13b2e7({'commandType':'Compute','uniformMap':{'currentParticlesPosition':function(){var _0x43331e=_0x33cdd7;return _0x477848['particlesTextures'][_0x43331e(0x224)];},'currentParticlesSpeed':function(){var _0x3f9461=_0x33cdd7;return _0x477848[_0x3f9461(0x310)][_0x3f9461(0x346)];}},'fragmentShaderSource':new _0x49bd3c[(_0x33cdd7(0x244))]({'sources':[_0x1c448e['a']]}),'outputTexture':this[_0x33cdd7(0x310)][_0x33cdd7(0x2de)],'preExecute':function(){var _0x153e35=_0x33cdd7,_0x1b4e5c;_0x1b4e5c=_0x477848['particlesTextures'][_0x153e35(0x224)],_0x477848[_0x153e35(0x310)]['currentParticlesPosition']=_0x477848['particlesTextures'][_0x153e35(0x365)],_0x477848[_0x153e35(0x310)][_0x153e35(0x365)]=_0x1b4e5c,_0x477848[_0x153e35(0x373)][_0x153e35(0x217)]['commandToExecute']['outputTexture']=_0x477848[_0x153e35(0x310)][_0x153e35(0x2de)];}}),'postProcessingPosition':new _0x13b2e7({'commandType':_0x33cdd7(0x353),'uniformMap':{'nextParticlesPosition':function(){var _0x2c1422=_0x33cdd7;return _0x477848[_0x2c1422(0x310)][_0x2c1422(0x2de)];},'nextParticlesSpeed':function(){var _0x369c57=_0x33cdd7;return _0x477848[_0x369c57(0x310)][_0x369c57(0x388)];},'lonRange':function(){var _0x52edc0=_0x33cdd7;return _0x3923c4[_0x52edc0(0x2be)];},'latRange':function(){var _0x3b4b53=_0x33cdd7;return _0x3923c4[_0x3b4b53(0x368)];},'randomCoefficient':function(){var _0x4c7c96=Math['random']();return _0x4c7c96;},'dropRate':function(){var _0x427549=_0x33cdd7;return _0x24d957[_0x427549(0x2fe)];},'dropRateBump':function(){var _0x7fec4e=_0x33cdd7;return _0x24d957[_0x7fec4e(0x21d)];}},'fragmentShaderSource':new _0x49bd3c[(_0x33cdd7(0x244))]({'sources':[_0x1bd355['a']]}),'outputTexture':this[_0x33cdd7(0x310)][_0x33cdd7(0x365)],'preExecute':function(){var _0x69846f=_0x33cdd7;_0x477848['primitives'][_0x69846f(0x365)][_0x69846f(0x2fc)][_0x69846f(0x35d)]=_0x477848['particlesTextures'][_0x69846f(0x365)];}}),'postProcessingSpeed':new _0x13b2e7({'commandType':_0x33cdd7(0x353),'uniformMap':{'postProcessingPosition':function(){var _0x2f5de7=_0x33cdd7;return _0x477848[_0x2f5de7(0x310)]['postProcessingPosition'];},'nextParticlesSpeed':function(){var _0xb63d73=_0x33cdd7;return _0x477848[_0xb63d73(0x310)][_0xb63d73(0x388)];}},'fragmentShaderSource':new _0x49bd3c[(_0x33cdd7(0x244))]({'sources':[_0x3a09d1['a']]}),'outputTexture':this[_0x33cdd7(0x310)]['postProcessingSpeed'],'preExecute':function(){var _0x423bd1=_0x33cdd7;_0x477848[_0x423bd1(0x373)][_0x423bd1(0x202)][_0x423bd1(0x2fc)][_0x423bd1(0x35d)]=_0x477848['particlesTextures'][_0x423bd1(0x202)];}})};}}]),_0xa09625;}());function _0x2610f9(_0x476270,_0x527594){var _0x1d444e=_0x3aa2d6,_0x223edb=Object[_0x1d444e(0x280)](_0x476270);if(Object[_0x1d444e(0x204)]){var _0x134765=Object[_0x1d444e(0x204)](_0x476270);_0x527594&&(_0x134765=_0x134765[_0x1d444e(0x273)](function(_0x5d648a){var _0x58eea7=_0x1d444e;return Object[_0x58eea7(0x20f)](_0x476270,_0x5d648a)['enumerable'];})),_0x223edb[_0x1d444e(0x32e)][_0x1d444e(0x2c7)](_0x223edb,_0x134765);}return _0x223edb;}var _0x46798b=(function(){var _0x58e098=_0x3aa2d6;function _0x3f751f(_0x39b07d,_0x962225,_0x57352e,_0x331ba6){var _0x2eb100=a0_0x21a7,_0x260b2b,_0x418759,_0x7a1b7f,_0xd37657,_0xf354a5,_0x13fc76;(_0x2bde55()(this,_0x3f751f),this[_0x2eb100(0x30c)]=_0x39b07d,(_0x962225=function(_0x39d7ab){var _0x5d6773=_0x2eb100;for(var _0xdc8790=0x1;_0xdc8790<arguments[_0x5d6773(0x25e)];_0xdc8790++){var _0x3f66cd=null!=arguments[_0xdc8790]?arguments[_0xdc8790]:{};_0xdc8790%0x2?_0x2610f9(Object(_0x3f66cd),!0x0)[_0x5d6773(0x33e)](function(_0x1810ac){_0x32db15()(_0x39d7ab,_0x1810ac,_0x3f66cd[_0x1810ac]);}):Object[_0x5d6773(0x2b4)]?Object[_0x5d6773(0x2f3)](_0x39d7ab,Object[_0x5d6773(0x2b4)](_0x3f66cd)):_0x2610f9(Object(_0x3f66cd))[_0x5d6773(0x33e)](function(_0x52a2ec){var _0x37a2bf=_0x5d6773;Object[_0x37a2bf(0x32b)](_0x39d7ab,_0x52a2ec,Object[_0x37a2bf(0x20f)](_0x3f66cd,_0x52a2ec));});}return _0x39d7ab;}({},_0x962225))[_0x2eb100(0x214)]&&_0x962225[_0x2eb100(0x389)])&&(_0x962225['dimensions']={},_0x962225[_0x2eb100(0x302)]['lon']=_0x962225[_0x2eb100(0x219)],_0x962225['dimensions']['lat']=_0x962225[_0x2eb100(0x30e)],_0x962225[_0x2eb100(0x302)][_0x2eb100(0x369)]=_0x962225[_0x2eb100(0x369)]||0x1,_0x962225[_0x2eb100(0x2ad)]={},_0x962225[_0x2eb100(0x2ad)]['min']=_0x962225[_0x2eb100(0x22c)],_0x962225[_0x2eb100(0x2ad)][_0x2eb100(0x2a0)]=_0x962225['xmax'],_0x962225[_0x2eb100(0x2f2)]={},_0x962225[_0x2eb100(0x2f2)][_0x2eb100(0x26a)]=_0x962225[_0x2eb100(0x242)],_0x962225['lat'][_0x2eb100(0x2a0)]=_0x962225[_0x2eb100(0x2ac)],_0x962225[_0x2eb100(0x369)]={},_0x962225[_0x2eb100(0x369)]['min']=null!==(_0x260b2b=_0x962225['levmin'])&&void 0x0!==_0x260b2b?_0x260b2b:0x1,_0x962225[_0x2eb100(0x369)][_0x2eb100(0x2a0)]=null!==(_0x418759=_0x962225['levmax'])&&void 0x0!==_0x418759?_0x418759:0x1,_0x962225['U']={},_0x962225['U'][_0x2eb100(0x251)]=new Float32Array(_0x962225['udata']),_0x962225['U'][_0x2eb100(0x26a)]=null!==(_0x7a1b7f=_0x962225[_0x2eb100(0x305)])&&void 0x0!==_0x7a1b7f?_0x7a1b7f:Math['min']['apply'](Math,_0xdfd249()(_0x962225[_0x2eb100(0x214)])),_0x962225['U'][_0x2eb100(0x2a0)]=null!==(_0xd37657=_0x962225['umax'])&&void 0x0!==_0xd37657?_0xd37657:Math[_0x2eb100(0x2a0)][_0x2eb100(0x2c7)](Math,_0xdfd249()(_0x962225[_0x2eb100(0x214)])),_0x962225['V']={},_0x962225['V'][_0x2eb100(0x251)]=new Float32Array(_0x962225[_0x2eb100(0x389)]),_0x962225['V']['min']=null!==(_0xf354a5=_0x962225['vmin'])&&void 0x0!==_0xf354a5?_0xf354a5:Math[_0x2eb100(0x26a)][_0x2eb100(0x2c7)](Math,_0xdfd249()(_0x962225[_0x2eb100(0x389)])),_0x962225['V'][_0x2eb100(0x2a0)]=null!==(_0x13fc76=_0x962225[_0x2eb100(0x2ff)])&&void 0x0!==_0x13fc76?_0x13fc76:Math[_0x2eb100(0x2a0)][_0x2eb100(0x2c7)](Math,_0xdfd249()(_0x962225[_0x2eb100(0x389)])));if(_0x962225['colorTable']||_0x962225[_0x2eb100(0x239)]||(_0x962225['colors']=['rgb(206,255,255)']),_0x962225[_0x2eb100(0x239)]){for(var _0x3bd2ae=_0x962225['colors'][_0x2eb100(0x25e)],_0x2c669c=new Float32Array(0x3*_0x3bd2ae),_0x3d60ea=0x0;_0x3d60ea<_0x3bd2ae;_0x3d60ea++){var _0x4e7ce4=_0x49bd3c[_0x2eb100(0x220)][_0x2eb100(0x249)](_0x962225['colors'][_0x3d60ea]);_0x2c669c[0x3*_0x3d60ea]=_0x4e7ce4[_0x2eb100(0x2ae)],_0x2c669c[0x3*_0x3d60ea+0x1]=_0x4e7ce4[_0x2eb100(0x231)],_0x2c669c[0x3*_0x3d60ea+0x2]=_0x4e7ce4[_0x2eb100(0x2e6)];}_0x962225['colorTable']={'colorNum':_0x3bd2ae,'array':_0x2c669c};}this[_0x2eb100(0x374)]=_0x962225,this[_0x2eb100(0x225)]=_0x57352e,this['viewerParameters']=_0x331ba6,this[_0x2eb100(0x266)]=new _0x4cbc19(this[_0x2eb100(0x30c)],this['data'],this[_0x2eb100(0x225)],this[_0x2eb100(0x2e1)]),this[_0x2eb100(0x277)]=new _0x46ed5e(this['context'],this['data'],this[_0x2eb100(0x225)],this['viewerParameters'],this[_0x2eb100(0x266)]);}return _0x17f393()(_0x3f751f,[{'key':_0x58e098(0x279),'value':function(_0x29711e){var _0x16b12c=_0x58e098,_0x2feb5a=this;this[_0x16b12c(0x266)][_0x16b12c(0x297)](),Object[_0x16b12c(0x280)](this[_0x16b12c(0x266)]['windTextures'])[_0x16b12c(0x33e)](function(_0x4936f6){var _0xb6edae=_0x16b12c;_0x2feb5a[_0xb6edae(0x266)][_0xb6edae(0x2f4)][_0x4936f6][_0xb6edae(0x318)]();}),this[_0x16b12c(0x277)][_0x16b12c(0x2bf)]['colorTable'][_0x16b12c(0x318)](),Object[_0x16b12c(0x280)](this[_0x16b12c(0x277)][_0x16b12c(0x2e2)])[_0x16b12c(0x33e)](function(_0xe3014c){_0x2feb5a['particlesRendering']['framebuffers'][_0xe3014c]['destroy']();}),this[_0x16b12c(0x30c)]=_0x29711e,this[_0x16b12c(0x266)]=new _0x4cbc19(this[_0x16b12c(0x30c)],this['data'],this[_0x16b12c(0x225)],this[_0x16b12c(0x2e1)]),this[_0x16b12c(0x277)]=new _0x46ed5e(this[_0x16b12c(0x30c)],this['data'],this[_0x16b12c(0x225)],this[_0x16b12c(0x2e1)],this[_0x16b12c(0x266)]);}},{'key':_0x58e098(0x27a),'value':function(){var _0x188cce=_0x58e098,_0x54d298=this,_0x3bc277=new _0x49bd3c[(_0x188cce(0x27d))]({'color':new _0x49bd3c[(_0x188cce(0x220))](0x0,0x0,0x0,0x0),'depth':0x1,'framebuffer':void 0x0,'pass':_0x49bd3c[_0x188cce(0x2b5)][_0x188cce(0x363)]});Object['keys'](this[_0x188cce(0x277)][_0x188cce(0x2e2)])[_0x188cce(0x33e)](function(_0x152193){var _0x448cba=_0x188cce;_0x3bc277['framebuffer']=_0x54d298[_0x448cba(0x277)]['framebuffers'][_0x152193],_0x3bc277[_0x448cba(0x34a)](_0x54d298['context']);});}},{'key':_0x58e098(0x2ba),'value':function(_0x120627){var _0x1af004=_0x58e098;if(this[_0x1af004(0x27a)](),this['particlesComputing']['destroyParticlesTextures'](),this['particlesComputing'][_0x1af004(0x37a)](this[_0x1af004(0x30c)],this[_0x1af004(0x225)],this[_0x1af004(0x2e1)]),_0x120627){var _0x1a7804=this[_0x1af004(0x277)][_0x1af004(0x32d)](this[_0x1af004(0x225)]);this[_0x1af004(0x277)]['primitives']['segments'][_0x1af004(0x30b)]=_0x1a7804;var _0x563016=_0x49bd3c[_0x1af004(0x31f)][_0x1af004(0x38a)]({'context':this[_0x1af004(0x30c)],'geometry':_0x1a7804,'attributeLocations':this['particlesRendering']['primitives'][_0x1af004(0x213)]['attributeLocations'],'bufferUsage':_0x49bd3c['BufferUsage']['STATIC_DRAW']});this[_0x1af004(0x277)][_0x1af004(0x373)][_0x1af004(0x213)][_0x1af004(0x2fc)][_0x1af004(0x208)]=_0x563016;}}},{'key':_0x58e098(0x2a5),'value':function(_0x27338b){var _0x1cf2df=_0x58e098,_0x49cf5b=this,_0x5d620f=!0x1;this['userInput']['maxParticles']!=_0x27338b[_0x1cf2df(0x257)]&&(_0x5d620f=!0x0),Object['keys'](_0x27338b)[_0x1cf2df(0x33e)](function(_0x3b6a82){var _0x1aa04c=_0x1cf2df;_0x49cf5b[_0x1aa04c(0x225)][_0x3b6a82]=_0x27338b[_0x3b6a82];}),this[_0x1cf2df(0x2ba)](_0x5d620f);}},{'key':_0x58e098(0x33c),'value':function(_0x390951){var _0x377226=_0x58e098,_0x5e3412=this;Object[_0x377226(0x280)](_0x390951)[_0x377226(0x33e)](function(_0x39d25b){var _0x47a4cb=_0x377226;_0x5e3412[_0x47a4cb(0x2e1)][_0x39d25b]=_0x390951[_0x39d25b];}),this['refreshParticles'](!0x1);}}]),_0x3f751f;}());function _0x22bae2(_0x2dfc0f){var _0x69ac29=(function(){var _0x17d972=a0_0x21a7;if(_0x17d972(0x343)==typeof Reflect||!Reflect[_0x17d972(0x24b)])return!0x1;if(Reflect['construct'][_0x17d972(0x2a4)])return!0x1;if(_0x17d972(0x23b)==typeof Proxy)return!0x0;try{return Boolean[_0x17d972(0x35a)][_0x17d972(0x1f9)][_0x17d972(0x233)](Reflect[_0x17d972(0x24b)](Boolean,[],function(){})),!0x0;}catch(_0x464514){return!0x1;}}());return function(){var _0x10110f=a0_0x21a7,_0x3d155c,_0x2e1f5=_0x3bd9d4()(_0x2dfc0f);if(_0x69ac29){var _0x225dd7=_0x3bd9d4()(this)[_0x10110f(0x2a7)];_0x3d155c=Reflect['construct'](_0x2e1f5,arguments,_0x225dd7);}else _0x3d155c=_0x2e1f5['apply'](this,arguments);return _0x4d18bd()(this,_0x3d155c);};}var _0x5e8848=_0x11e886[_0x3aa2d6(0x24e)][_0x3aa2d6(0x264)],_0x3bcfa4=0x1000,_0x1c5814=0x0,_0xf9563c=0.996,_0x10b685=0.003,_0x2d3df9=0.01,_0x3cc49c=0.5,_0x57aefa=0x2,_0x109e9d=function(_0x1bca73){var _0x5843da=_0x3aa2d6;_0x5d1b83()(_0x48e9d3,_0x1bca73);var _0x1486e2=_0x22bae2(_0x48e9d3);function _0x48e9d3(){var _0x1eb31c=a0_0x21a7,_0x2237a7,_0x1a3784=arguments['length']>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return _0x2bde55()(this,_0x48e9d3),(_0x2237a7=_0x1486e2[_0x1eb31c(0x233)](this,_0x1a3784))[_0x1eb31c(0x218)]=_0x3bcfa4,_0x2237a7[_0x1eb31c(0x21f)]=_0x1c5814,_0x2237a7[_0x1eb31c(0x274)]=_0xf9563c,_0x2237a7[_0x1eb31c(0x2fe)]=_0x10b685,_0x2237a7[_0x1eb31c(0x21d)]=_0x2d3df9,_0x2237a7[_0x1eb31c(0x21e)]=_0x3cc49c,_0x2237a7[_0x1eb31c(0x1f8)]=_0x57aefa,_0x2237a7[_0x1eb31c(0x309)](_0x1a3784),_0x2237a7;}return _0x17f393()(_0x48e9d3,[{'key':_0x5843da(0x24e),'get':function(){return this['primitives'];}},{'key':_0x5843da(0x374),'get':function(){var _0x11c502=_0x5843da;return this[_0x11c502(0x285)]['data'];},'set':function(_0x163587){var _0x5e81dc=_0x5843da;this[_0x5e81dc(0x24a)](_0x163587);}},{'key':_0x5843da(0x309),'value':function(_0x556715){if(_0x556715){for(var _0x2b1774 in _0x556715)this[_0x2b1774]=_0x556715[_0x2b1774];}}},{'key':_0x5843da(0x2e3),'value':function(){}},{'key':_0x5843da(0x326),'value':function(){var _0xa1ddc=_0x5843da;this[_0xa1ddc(0x2f7)]=this[_0xa1ddc(0x327)][_0xa1ddc(0x2f7)],this['camera']=this[_0xa1ddc(0x327)][_0xa1ddc(0x21a)],this['primitives']=new _0x49bd3c[(_0xa1ddc(0x2ec))](),this[_0xa1ddc(0x327)][_0xa1ddc(0x2f7)][_0xa1ddc(0x373)]['add'](this['primitives']),this[_0xa1ddc(0x2e1)]={'lonRange':new _0x49bd3c[(_0xa1ddc(0x200))](),'latRange':new _0x49bd3c[(_0xa1ddc(0x200))](),'pixelSize':0x0},this[_0xa1ddc(0x2e8)]=new _0x49bd3c[(_0xa1ddc(0x20a))](_0x49bd3c[_0xa1ddc(0x262)][_0xa1ddc(0x323)],6314355.63),this[_0xa1ddc(0x276)](),window[_0xa1ddc(0x238)](_0xa1ddc(0x375),this['resize']['bind'](this),!0x1),this['mouse_down']=!0x1,this[_0xa1ddc(0x355)]=!0x1,this[_0xa1ddc(0x327)]['on'](_0x11e886[_0xa1ddc(0x332)][_0xa1ddc(0x37d)],this['_onMapWhellEvent'],this),this[_0xa1ddc(0x327)]['on'](_0x11e886[_0xa1ddc(0x332)][_0xa1ddc(0x31a)],this[_0xa1ddc(0x240)],this),this['_map']['on'](_0x11e886[_0xa1ddc(0x332)][_0xa1ddc(0x236)],this['_onMouseUpEvent'],this),this['_map']['on'](_0x11e886[_0xa1ddc(0x332)][_0xa1ddc(0x357)],this[_0xa1ddc(0x33f)],this),this[_0xa1ddc(0x285)][_0xa1ddc(0x374)]&&this[_0xa1ddc(0x24a)](this[_0xa1ddc(0x285)]['data']);}},{'key':_0x5843da(0x21b),'value':function(){var _0x37ca91=_0x5843da;window[_0x37ca91(0x2b9)]('resize',this[_0x37ca91(0x375)]),this['_map'][_0x37ca91(0x314)](_0x11e886[_0x37ca91(0x332)][_0x37ca91(0x1f4)],this[_0x37ca91(0x201)],this),this[_0x37ca91(0x327)][_0x37ca91(0x314)](_0x11e886[_0x37ca91(0x332)]['wheel'],this['_onMapWhellEvent'],this),this[_0x37ca91(0x327)]['off'](_0x11e886[_0x37ca91(0x332)][_0x37ca91(0x31a)],this['_onMouseDownEvent'],this),this['_map']['off'](_0x11e886[_0x37ca91(0x332)][_0x37ca91(0x236)],this[_0x37ca91(0x25f)],this),this['_map'][_0x37ca91(0x314)](_0x11e886[_0x37ca91(0x332)][_0x37ca91(0x357)],this[_0x37ca91(0x33f)],this),this[_0x37ca91(0x373)][_0x37ca91(0x2f8)](),this['_map'][_0x37ca91(0x2f7)]['primitives'][_0x37ca91(0x2db)](this[_0x37ca91(0x373)]);}},{'key':'resize','value':function(){var _0x2cfb9f=_0x5843da;this['show']&&this[_0x2cfb9f(0x308)]&&(this[_0x2cfb9f(0x373)][_0x2cfb9f(0x385)]=!0x1,this['primitives']['removeAll'](),this[_0x2cfb9f(0x327)][_0x2cfb9f(0x229)](_0x11e886[_0x2cfb9f(0x332)][_0x2cfb9f(0x1f4)],this['_onMap_preRenderEvent'],this));}},{'key':_0x5843da(0x201),'value':function(_0x510f59){var _0x51a8e5=_0x5843da;this[_0x51a8e5(0x308)][_0x51a8e5(0x279)](this['scene'][_0x51a8e5(0x30c)]),this[_0x51a8e5(0x211)](),this['primitives']['show']=!0x0;}},{'key':_0x5843da(0x1ff),'value':function(_0x12e869){var _0x442909=_0x5843da,_0x5dd0bf=this;clearTimeout(this[_0x442909(0x337)]),this['show']&&this[_0x442909(0x308)]&&(this[_0x442909(0x373)][_0x442909(0x385)]=!0x1,this[_0x442909(0x337)]=setTimeout(function(){var _0x2f0d4d=_0x442909;_0x5dd0bf[_0x2f0d4d(0x385)]&&_0x5dd0bf[_0x2f0d4d(0x1fd)]();},0xc8));}},{'key':_0x5843da(0x240),'value':function(_0x1f678e){var _0x1e78fd=_0x5843da;this[_0x1e78fd(0x347)]=!0x0;}},{'key':_0x5843da(0x33f),'value':function(_0x2393a2){var _0x1e6148=_0x5843da;this[_0x1e6148(0x385)]&&this[_0x1e6148(0x308)]&&this[_0x1e6148(0x347)]&&(this[_0x1e6148(0x373)][_0x1e6148(0x385)]=!0x1,this[_0x1e6148(0x355)]=!0x0);}},{'key':_0x5843da(0x25f),'value':function(_0x4c9097){var _0x50c3e7=_0x5843da;this[_0x50c3e7(0x385)]&&this[_0x50c3e7(0x308)]&&(this[_0x50c3e7(0x347)]&&this[_0x50c3e7(0x355)]&&this[_0x50c3e7(0x1fd)](),this[_0x50c3e7(0x373)][_0x50c3e7(0x385)]=!0x0,this['mouse_down']=!0x1,this[_0x50c3e7(0x355)]=!0x1);}},{'key':_0x5843da(0x1fd),'value':function(){var _0x49c718=_0x5843da;this['_map']&&this[_0x49c718(0x385)]&&(this[_0x49c718(0x276)](),this[_0x49c718(0x308)][_0x49c718(0x33c)](this[_0x49c718(0x2e1)]),this[_0x49c718(0x373)]['show']=!0x0);}},{'key':_0x5843da(0x24a),'value':function(_0x5761ff){var _0x137cb3=_0x5843da;this['options'][_0x137cb3(0x374)]=_0x5761ff,this[_0x137cb3(0x308)]=new _0x46798b(this['scene']['context'],_0x5761ff,this[_0x137cb3(0x22d)](),this['viewerParameters']),this[_0x137cb3(0x211)]();}},{'key':_0x5843da(0x31b),'value':function(_0x2fb88c){var _0x19481e=_0x5843da;if(_0x2fb88c){for(var _0x20f5ef in _0x2fb88c)this[_0x20f5ef]=_0x2fb88c[_0x20f5ef];}return this['particleSystem']&&this[_0x19481e(0x308)][_0x19481e(0x2a5)](this[_0x19481e(0x22d)]()),this;}},{'key':_0x5843da(0x22d),'value':function(){var _0x19b07b=_0x5843da,_0xfe9076=Math[_0x19b07b(0x29c)](Math['sqrt'](this['particlesNumber']));return this[_0x19b07b(0x218)]=_0xfe9076*_0xfe9076,{'particlesTextureSize':_0xfe9076,'maxParticles':this[_0x19b07b(0x218)],'particleHeight':this['fixedHeight'],'fadeOpacity':this[_0x19b07b(0x274)],'dropRate':this[_0x19b07b(0x2fe)],'dropRateBump':this[_0x19b07b(0x21d)],'speedFactor':this[_0x19b07b(0x21e)],'lineWidth':this[_0x19b07b(0x1f8)],'globeLayer':this[_0x19b07b(0x351)],'WMS_URL':this[_0x19b07b(0x235)]};}},{'key':'addPrimitives','value':function(){var _0x45fc4c=_0x5843da;this[_0x45fc4c(0x373)][_0x45fc4c(0x2bb)](this['particleSystem'][_0x45fc4c(0x266)]['primitives']['getWind']),this[_0x45fc4c(0x373)][_0x45fc4c(0x2bb)](this[_0x45fc4c(0x308)][_0x45fc4c(0x266)][_0x45fc4c(0x373)][_0x45fc4c(0x2cc)]),this[_0x45fc4c(0x373)]['add'](this['particleSystem']['particlesComputing'][_0x45fc4c(0x373)]['updatePosition']),this[_0x45fc4c(0x373)][_0x45fc4c(0x2bb)](this['particleSystem']['particlesComputing'][_0x45fc4c(0x373)][_0x45fc4c(0x365)]),this[_0x45fc4c(0x373)][_0x45fc4c(0x2bb)](this[_0x45fc4c(0x308)][_0x45fc4c(0x266)][_0x45fc4c(0x373)]['postProcessingSpeed']),this[_0x45fc4c(0x373)][_0x45fc4c(0x2bb)](this[_0x45fc4c(0x308)]['particlesRendering'][_0x45fc4c(0x373)][_0x45fc4c(0x213)]),this[_0x45fc4c(0x373)][_0x45fc4c(0x2bb)](this[_0x45fc4c(0x308)][_0x45fc4c(0x277)][_0x45fc4c(0x373)][_0x45fc4c(0x37c)]),this[_0x45fc4c(0x373)][_0x45fc4c(0x2bb)](this[_0x45fc4c(0x308)]['particlesRendering'][_0x45fc4c(0x373)][_0x45fc4c(0x2ea)]);}},{'key':'updateViewerParameters','value':function(){var _0x9e4a2e=_0x5843da,_0x4c5ab8=this['camera'][_0x9e4a2e(0x356)](this['scene'][_0x9e4a2e(0x25c)][_0x9e4a2e(0x33b)]);if(!_0x4c5ab8){var _0x35eee3=this[_0x9e4a2e(0x327)][_0x9e4a2e(0x1fb)]();_0x4c5ab8=_0x49bd3c[_0x9e4a2e(0x376)][_0x9e4a2e(0x221)](_0x35eee3[_0x9e4a2e(0x22c)],_0x35eee3[_0x9e4a2e(0x242)],_0x35eee3['xmax'],_0x35eee3[_0x9e4a2e(0x2ac)]);}var _0x38fbab=_0x415184[_0x9e4a2e(0x258)](_0x4c5ab8);this[_0x9e4a2e(0x2e1)][_0x9e4a2e(0x2be)]['x']=_0x38fbab['lon'][_0x9e4a2e(0x26a)],this[_0x9e4a2e(0x2e1)][_0x9e4a2e(0x2be)]['y']=_0x38fbab['lon'][_0x9e4a2e(0x2a0)],this['viewerParameters']['latRange']['x']=_0x38fbab[_0x9e4a2e(0x2f2)][_0x9e4a2e(0x26a)],this[_0x9e4a2e(0x2e1)]['latRange']['y']=_0x38fbab['lat'][_0x9e4a2e(0x2a0)];var _0x9d66a=this[_0x9e4a2e(0x21a)][_0x9e4a2e(0x339)](this['globeBoundingSphere'],this[_0x9e4a2e(0x2f7)][_0x9e4a2e(0x384)],this[_0x9e4a2e(0x2f7)][_0x9e4a2e(0x340)]);_0x9d66a>0x0&&(this[_0x9e4a2e(0x2e1)][_0x9e4a2e(0x27e)]=_0x9d66a);}}]),_0x48e9d3;}(_0x5e8848);_0x11e886[_0x3aa2d6(0x2e9)][_0x3aa2d6(0x36a)]('wind',_0x109e9d),_0x11e886[_0x3aa2d6(0x24e)][_0x3aa2d6(0x256)]=_0x109e9d;var _0x50ea5e=_0x17f393()(function _0x2322c6(){var _0x8f79b9=_0x3aa2d6;_0x2bde55()(this,_0x2322c6),this[_0x8f79b9(0x2d1)]=null,this['lat']=null,this[_0x8f79b9(0x35e)]=null,this[_0x8f79b9(0x222)]=null,this[_0x8f79b9(0x300)]=null;}),_0xf36a12=(function(){var _0x23d3b2=_0x3aa2d6;function _0x4d6956(_0x13ca1c,_0x142c3c){var _0x225fb3=a0_0x21a7;_0x2bde55()(this,_0x4d6956),this['rows']=_0x13ca1c[_0x225fb3(0x30e)],this[_0x225fb3(0x219)]=_0x13ca1c['cols'],this[_0x225fb3(0x22c)]=_0x13ca1c['xmin'],this[_0x225fb3(0x2a8)]=_0x13ca1c[_0x225fb3(0x2a8)],this[_0x225fb3(0x242)]=_0x13ca1c['ymin'],this[_0x225fb3(0x2ac)]=_0x13ca1c[_0x225fb3(0x2ac)],this[_0x225fb3(0x370)]=[];var _0x589c01=_0x13ca1c[_0x225fb3(0x214)],_0x2eb19a=_0x13ca1c[_0x225fb3(0x389)],_0x418298=!0x1;_0x589c01['length']===this[_0x225fb3(0x30e)]&&_0x589c01[0x0][_0x225fb3(0x25e)]===this[_0x225fb3(0x219)]&&(_0x418298=!0x0);for(var _0x30b18e=0x0,_0x398762=null,_0x4d0004=null,_0x1dade6=0x0;_0x1dade6<this['rows'];_0x1dade6++){_0x398762=[];for(var _0x549153=0x0;_0x549153<this[_0x225fb3(0x219)];_0x549153++,_0x30b18e++)_0x4d0004=_0x418298?this[_0x225fb3(0x270)](_0x589c01[_0x1dade6][_0x549153],_0x2eb19a[_0x1dade6][_0x549153]):this['_calcUV'](_0x589c01[_0x30b18e],_0x2eb19a[_0x30b18e]),_0x398762[_0x225fb3(0x32e)](_0x4d0004);this[_0x225fb3(0x370)][_0x225fb3(0x32e)](_0x398762);}_0x142c3c&&this[_0x225fb3(0x370)][_0x225fb3(0x22e)]();}return _0x17f393()(_0x4d6956,[{'key':_0x23d3b2(0x34d),'value':function(_0x17c5a9,_0x29f27a){var _0x7d6ab2=_0x23d3b2;return{'x':(_0x17c5a9-this['xmin'])/(this[_0x7d6ab2(0x2a8)]-this[_0x7d6ab2(0x22c)])*(this[_0x7d6ab2(0x219)]-0x1),'y':(this[_0x7d6ab2(0x2ac)]-_0x29f27a)/(this[_0x7d6ab2(0x2ac)]-this[_0x7d6ab2(0x242)])*(this[_0x7d6ab2(0x30e)]-0x1)};}},{'key':_0x23d3b2(0x288),'value':function(_0x30af43,_0x33ec97){var _0x4530d6=_0x23d3b2;if(_0x30af43<0x0||_0x30af43>=this[_0x4530d6(0x219)]||_0x33ec97>=this['rows'])return[0x0,0x0,0x0];var _0x47232e,_0x2c6375,_0x29ccde=Math['floor'](_0x30af43),_0x46c62c=Math[_0x4530d6(0x311)](_0x33ec97);if(_0x29ccde===_0x30af43&&_0x46c62c===_0x33ec97)return this['grid'][_0x33ec97][_0x30af43];_0x47232e=_0x29ccde+0x1,_0x2c6375=_0x46c62c+0x1;var _0x51ef94=this[_0x4530d6(0x288)](_0x29ccde,_0x46c62c),_0x3d020d=this[_0x4530d6(0x288)](_0x47232e,_0x46c62c),_0x278ac1=this[_0x4530d6(0x288)](_0x29ccde,_0x2c6375),_0x39db09=this[_0x4530d6(0x288)](_0x47232e,_0x2c6375),_0x35c375=null;try{_0x35c375=this['_bilinearInterpolation'](_0x30af43-_0x29ccde,_0x33ec97-_0x46c62c,_0x51ef94,_0x3d020d,_0x278ac1,_0x39db09);}catch(_0x4ab9d8){console[_0x4530d6(0x32f)](_0x30af43,_0x33ec97);}return _0x35c375;}},{'key':_0x23d3b2(0x2ab),'value':function(_0xacf4e2,_0x246a18,_0x49c873,_0x305892,_0x16cdca,_0x4ef959){var _0x5795f6=0x1-_0xacf4e2,_0x588984=0x1-_0x246a18,_0x4dfbfb=_0x5795f6*_0x588984,_0x13335e=_0xacf4e2*_0x588984,_0x507aaa=_0x5795f6*_0x246a18,_0x1066f8=_0xacf4e2*_0x246a18,_0x335020=_0x49c873[0x0]*_0x4dfbfb+_0x305892[0x0]*_0x13335e+_0x16cdca[0x0]*_0x507aaa+_0x4ef959[0x0]*_0x1066f8,_0x397919=_0x49c873[0x1]*_0x4dfbfb+_0x305892[0x1]*_0x13335e+_0x16cdca[0x1]*_0x507aaa+_0x4ef959[0x1]*_0x1066f8;return this['_calcUV'](_0x335020,_0x397919);}},{'key':'_calcUV','value':function(_0x93eb03,_0x12908a){var _0x5c7e79=_0x23d3b2;return[+_0x93eb03,+_0x12908a,Math[_0x5c7e79(0x20e)](_0x93eb03*_0x93eb03+_0x12908a*_0x12908a)];}},{'key':_0x23d3b2(0x227),'value':function(_0x3e83b0,_0x5a0c0b){var _0x5da210=_0x23d3b2;if(!this['isInExtent'](_0x3e83b0,_0x5a0c0b))return null;var _0x420c06=this[_0x5da210(0x34d)](_0x3e83b0,_0x5a0c0b);return this[_0x5da210(0x288)](_0x420c06['x'],_0x420c06['y']);}},{'key':_0x23d3b2(0x367),'value':function(_0xa2ab37,_0x5817a8){var _0x4b0472=_0x23d3b2;return _0xa2ab37>=this[_0x4b0472(0x22c)]&&_0xa2ab37<=this[_0x4b0472(0x2a8)]&&_0x5817a8>=this[_0x4b0472(0x242)]&&_0x5817a8<=this['ymax'];}},{'key':_0x23d3b2(0x20b),'value':function(){var _0x347bf9=_0x23d3b2,_0x53415a=_0x414b7b(this[_0x347bf9(0x22c)],this[_0x347bf9(0x2a8)]);return{'lat':_0x414b7b(this[_0x347bf9(0x242)],this['ymax']),'lng':_0x53415a};}}]),_0x4d6956;}());function _0x414b7b(_0x33277a,_0x4545c0){var _0x1973b1=_0x3aa2d6;return _0x33277a+Math[_0x1973b1(0x247)]()*(_0x4545c0-_0x33277a);}function _0x2d9405(_0x3a6b57){var _0x4f002e=(function(){var _0x3e0c7b=a0_0x21a7;if('undefined'==typeof Reflect||!Reflect[_0x3e0c7b(0x24b)])return!0x1;if(Reflect[_0x3e0c7b(0x24b)][_0x3e0c7b(0x2a4)])return!0x1;if(_0x3e0c7b(0x23b)==typeof Proxy)return!0x0;try{return Boolean[_0x3e0c7b(0x35a)][_0x3e0c7b(0x1f9)][_0x3e0c7b(0x233)](Reflect[_0x3e0c7b(0x24b)](Boolean,[],function(){})),!0x0;}catch(_0x56183c){return!0x1;}}());return function(){var _0x5effc9=a0_0x21a7,_0x155841,_0x41f2a4=_0x3bd9d4()(_0x3a6b57);if(_0x4f002e){var _0x2ac49c=_0x3bd9d4()(this)[_0x5effc9(0x2a7)];_0x155841=Reflect['construct'](_0x41f2a4,arguments,_0x2ac49c);}else _0x155841=_0x41f2a4[_0x5effc9(0x2c7)](this,arguments);return _0x4d18bd()(this,_0x155841);};}var _0x474354=function(_0x43a5da){var _0x240bf6=_0x3aa2d6;_0x5d1b83()(_0x14762d,_0x43a5da);var _0x13f217=_0x2d9405(_0x14762d);function _0x14762d(){var _0x5152da=a0_0x21a7,_0x55a131,_0x531bd6=arguments['length']>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return _0x2bde55()(this,_0x14762d),(_0x55a131=_0x13f217['call'](this,_0x531bd6))[_0x5152da(0x309)](_0x531bd6),_0x55a131[_0x5152da(0x210)]=null,_0x55a131;}return _0x17f393()(_0x14762d,[{'key':_0x240bf6(0x309),'value':function(_0x1694bd){var _0x3cdfe7=_0x240bf6;this[_0x3cdfe7(0x22f)]=[0x0,0x0],this[_0x3cdfe7(0x299)]=[],this['speedRate']=_0x1694bd[_0x3cdfe7(0x29a)]||0x32,this[_0x3cdfe7(0x237)]=_0x1694bd[_0x3cdfe7(0x218)]||0x1000,this['_maxAge']=_0x1694bd[_0x3cdfe7(0x348)]||0x78,this[_0x3cdfe7(0x294)]=0x3e8/(_0x1694bd[_0x3cdfe7(0x2d3)]||0xa),this[_0x3cdfe7(0x216)]=_0x49bd3c[_0x3cdfe7(0x325)](this[_0x3cdfe7(0x285)][_0x3cdfe7(0x230)],!0x1),this[_0x3cdfe7(0x263)]=_0x1694bd[_0x3cdfe7(0x263)]||'#ffffff',this[_0x3cdfe7(0x1f8)]=_0x1694bd['lineWidth']||0x1,this[_0x3cdfe7(0x21f)]=_0x49bd3c['defaultValue'](_0x1694bd[_0x3cdfe7(0x21f)],0x0),this[_0x3cdfe7(0x268)]=_0x49bd3c[_0x3cdfe7(0x325)](_0x1694bd[_0x3cdfe7(0x268)],!0x1);}},{'key':_0x240bf6(0x24e),'get':function(){var _0xb42536=_0x240bf6;return this[_0xb42536(0x210)];}},{'key':_0x240bf6(0x23d),'get':function(){var _0x10918a=_0x240bf6;return this[_0x10918a(0x327)][_0x10918a(0x2f7)][_0x10918a(0x210)][_0x10918a(0x2b3)];}},{'key':'canvasHeight','get':function(){var _0x15412=_0x240bf6;return this[_0x15412(0x327)][_0x15412(0x2f7)]['canvas']['clientHeight'];}},{'key':_0x240bf6(0x230),'get':function(){var _0x1d6e56=_0x240bf6;return this[_0x1d6e56(0x216)];},'set':function(_0x1cf2fc){var _0x4a6886=_0x240bf6;this[_0x4a6886(0x216)]=_0x1cf2fc,this[_0x4a6886(0x210)]&&(this[_0x4a6886(0x210)][_0x4a6886(0x322)]['pointer-events']=_0x1cf2fc?_0x4a6886(0x24d):_0x4a6886(0x26f));}},{'key':_0x240bf6(0x29a),'get':function(){var _0x5f3d72=_0x240bf6;return this[_0x5f3d72(0x34b)];},'set':function(_0x53fa7d){var _0xdbfa1f=_0x240bf6;this[_0xdbfa1f(0x34b)]=0x64*(0x64-(_0x53fa7d>0x63?0x63:_0x53fa7d)),this[_0xdbfa1f(0x254)]();}},{'key':_0x240bf6(0x218),'get':function(){var _0x1e8c9c=_0x240bf6;return this[_0x1e8c9c(0x237)];},'set':function(_0x4e6975){var _0x1de0aa=_0x240bf6,_0x357024=this;this[_0x1de0aa(0x237)]=_0x4e6975,clearTimeout(this[_0x1de0aa(0x2a2)]),this[_0x1de0aa(0x2a2)]=setTimeout(function(){var _0x4d5985=_0x1de0aa;_0x357024[_0x4d5985(0x1fd)]();},0x1f4);}},{'key':'maxAge','get':function(){return this['_maxAge'];},'set':function(_0x24ce8c){var _0x5b4ecd=_0x240bf6,_0x190d28=this;this[_0x5b4ecd(0x36b)]=_0x24ce8c,clearTimeout(this[_0x5b4ecd(0x2a2)]),this[_0x5b4ecd(0x2a2)]=setTimeout(function(){var _0x102933=_0x5b4ecd;_0x190d28[_0x102933(0x1fd)]();},0x1f4);}},{'key':'data','get':function(){var _0x2479c5=_0x240bf6;return this[_0x2479c5(0x2e0)];},'set':function(_0x1b3e89){var _0x445232=_0x240bf6;this[_0x445232(0x24a)](_0x1b3e89);}},{'key':_0x240bf6(0x350),'value':function(_0x12133b){var _0x1056aa=_0x240bf6;_0x12133b?this[_0x1056aa(0x326)]():(this[_0x1056aa(0x2e0)]&&(this['options'][_0x1056aa(0x374)]=this[_0x1056aa(0x2e0)]),this['_removedHook']());}},{'key':'_mountedHook','value':function(){}},{'key':_0x240bf6(0x326),'value':function(){var _0x3622c1=_0x240bf6;this[_0x3622c1(0x210)]=this['_createCanvas'](),this['canvasContext']=this['canvas'][_0x3622c1(0x26c)]('2d'),this[_0x3622c1(0x2c9)](),this[_0x3622c1(0x285)][_0x3622c1(0x374)]&&this[_0x3622c1(0x24a)](this[_0x3622c1(0x285)][_0x3622c1(0x374)]);}},{'key':_0x240bf6(0x21b),'value':function(){var _0x5d3f91=_0x240bf6;this['clear'](),this[_0x5d3f91(0x31e)](),this[_0x5d3f91(0x210)]&&(this[_0x5d3f91(0x327)][_0x5d3f91(0x248)][_0x5d3f91(0x341)](this['canvas']),delete this[_0x5d3f91(0x210)]);}},{'key':'_createCanvas','value':function(){var _0x3536d7=_0x240bf6,_0x4fed28=document[_0x3536d7(0x29b)](_0x3536d7(0x210));_0x4fed28['style'][_0x3536d7(0x328)]=_0x3536d7(0x306),_0x4fed28[_0x3536d7(0x322)][_0x3536d7(0x338)]='0px',_0x4fed28[_0x3536d7(0x322)][_0x3536d7(0x2e4)]=_0x3536d7(0x20c),_0x4fed28[_0x3536d7(0x322)][_0x3536d7(0x2b0)]='100%',_0x4fed28[_0x3536d7(0x322)]['height']='100%',_0x4fed28['style']['pointerEvents']=this['_pointerEvents']?_0x3536d7(0x1f7):_0x3536d7(0x26f),_0x4fed28[_0x3536d7(0x322)][_0x3536d7(0x30f)]=0xa,_0x4fed28[_0x3536d7(0x203)]('id',_0x3536d7(0x207)),_0x4fed28[_0x3536d7(0x203)](_0x3536d7(0x206),'canvasWindy'),this['_map'][_0x3536d7(0x248)]['appendChild'](_0x4fed28);var _0x1d7617=this['_map'][_0x3536d7(0x2f7)];return _0x4fed28[_0x3536d7(0x2b0)]=_0x1d7617['canvas'][_0x3536d7(0x2b3)],_0x4fed28[_0x3536d7(0x298)]=_0x1d7617[_0x3536d7(0x210)][_0x3536d7(0x2e7)],_0x4fed28;}},{'key':'resize','value':function(){var _0x2d3bfe=_0x240bf6;this['canvas']&&(this[_0x2d3bfe(0x210)][_0x2d3bfe(0x2b0)]=this[_0x2d3bfe(0x23d)],this[_0x2d3bfe(0x210)][_0x2d3bfe(0x298)]=this[_0x2d3bfe(0x2d9)]);}},{'key':_0x240bf6(0x2c9),'value':function(){var _0x56d7c3=_0x240bf6,_0x4a3aaf=this,_0x59fe90=Date[_0x56d7c3(0x2c4)]();!function _0x3e652e(){var _0x2fba39=_0x56d7c3;_0x4a3aaf[_0x2fba39(0x2ca)]=window[_0x2fba39(0x228)](_0x3e652e);var _0x2f72a0=Date['now'](),_0x26e4bc=_0x2f72a0-_0x59fe90;_0x26e4bc>_0x4a3aaf[_0x2fba39(0x294)]&&(_0x59fe90=_0x2f72a0-_0x26e4bc%_0x4a3aaf[_0x2fba39(0x294)],_0x4a3aaf[_0x2fba39(0x291)]());}(),window[_0x56d7c3(0x238)](_0x56d7c3(0x375),this[_0x56d7c3(0x375)][_0x56d7c3(0x269)](this),!0x1),this[_0x56d7c3(0x347)]=!0x1,this[_0x56d7c3(0x355)]=!0x1,this[_0x56d7c3(0x327)]['on'](_0x11e886[_0x56d7c3(0x332)][_0x56d7c3(0x37d)],this[_0x56d7c3(0x1ff)],this),this[_0x56d7c3(0x327)]['on'](_0x11e886[_0x56d7c3(0x332)]['mouseDown'],this[_0x56d7c3(0x240)],this),this[_0x56d7c3(0x327)]['on'](_0x11e886['EventType']['mouseUp'],this[_0x56d7c3(0x25f)],this),this[_0x56d7c3(0x327)]['on'](_0x11e886['EventType'][_0x56d7c3(0x357)],this[_0x56d7c3(0x33f)],this);}},{'key':'unbindEvent','value':function(){var _0x405b80=_0x240bf6;window[_0x405b80(0x2ed)](this[_0x405b80(0x2ca)]),delete this[_0x405b80(0x2ca)],window[_0x405b80(0x2b9)](_0x405b80(0x375),this[_0x405b80(0x375)]),this[_0x405b80(0x327)][_0x405b80(0x314)](_0x11e886[_0x405b80(0x332)][_0x405b80(0x37d)],this[_0x405b80(0x1ff)],this),this[_0x405b80(0x327)][_0x405b80(0x314)](_0x11e886[_0x405b80(0x332)][_0x405b80(0x31a)],this[_0x405b80(0x240)],this),this['_map'][_0x405b80(0x314)](_0x11e886[_0x405b80(0x332)]['mouseUp'],this[_0x405b80(0x25f)],this),this['_map'][_0x405b80(0x314)](_0x11e886[_0x405b80(0x332)][_0x405b80(0x357)],this[_0x405b80(0x33f)],this);}},{'key':'_onMapWhellEvent','value':function(_0x4a261e){var _0x8bad1a=_0x240bf6,_0x58b16c=this;clearTimeout(this['refreshTimer']),this[_0x8bad1a(0x385)]&&this['canvas']&&(this[_0x8bad1a(0x210)]['style'][_0x8bad1a(0x2c1)]=_0x8bad1a(0x30d),this['refreshTimer']=setTimeout(function(){var _0x5f5d2a=_0x8bad1a;_0x58b16c['show']&&(_0x58b16c[_0x5f5d2a(0x1fd)](),_0x58b16c[_0x5f5d2a(0x210)]['style']['visibility']=_0x5f5d2a(0x223));},0xc8));}},{'key':_0x240bf6(0x240),'value':function(_0x2220e3){var _0xf7f6f2=_0x240bf6;this[_0xf7f6f2(0x347)]=!0x0;}},{'key':'_onMouseMoveEvent','value':function(_0x21f0d7){var _0x5b8b1e=_0x240bf6;this[_0x5b8b1e(0x385)]&&this[_0x5b8b1e(0x210)]&&this['mouse_down']&&(this['canvas']['style']['visibility']=_0x5b8b1e(0x30d),this[_0x5b8b1e(0x355)]=!0x0);}},{'key':_0x240bf6(0x25f),'value':function(_0x36cc10){var _0x36d877=_0x240bf6;this[_0x36d877(0x385)]&&this[_0x36d877(0x210)]&&(this['mouse_down']&&this['mouse_move']&&this['redraw'](),this[_0x36d877(0x210)][_0x36d877(0x322)]['visibility']=_0x36d877(0x223),this[_0x36d877(0x347)]=!0x1,this[_0x36d877(0x355)]=!0x1);}},{'key':_0x240bf6(0x1fd),'value':function(){var _0x20c837=_0x240bf6;this[_0x20c837(0x385)]&&this['windField']&&(this[_0x20c837(0x299)]=[],this[_0x20c837(0x35b)]());}},{'key':_0x240bf6(0x24a),'value':function(_0x5d2b53){var _0x3e63e9=_0x240bf6;this['clear'](),this['windData']=_0x5d2b53,this[_0x3e63e9(0x29e)]=new _0xf36a12(this[_0x3e63e9(0x2e0)],this['reverseY']),this['drawWind']();}},{'key':_0x240bf6(0x35b),'value':function(){var _0xac3499=_0x240bf6;this[_0xac3499(0x254)]();for(var _0x1ba65d=0x0;_0x1ba65d<this['particlesNumber'];_0x1ba65d++){var _0x405220=this[_0xac3499(0x2dc)](new _0x50ea5e());this[_0xac3499(0x299)][_0xac3499(0x32e)](_0x405220);}this[_0xac3499(0x260)][_0xac3499(0x2aa)]=_0xac3499(0x354),this['canvasContext'][_0xac3499(0x261)]=0.6,this['update']();}},{'key':_0x240bf6(0x254),'value':function(){var _0x32f32e=_0x240bf6;this[_0x32f32e(0x29e)]&&(this[_0x32f32e(0x22f)]=[(this[_0x32f32e(0x29e)]['xmax']-this[_0x32f32e(0x29e)][_0x32f32e(0x22c)])/this[_0x32f32e(0x29a)],(this[_0x32f32e(0x29e)][_0x32f32e(0x2ac)]-this[_0x32f32e(0x29e)][_0x32f32e(0x242)])/this[_0x32f32e(0x29a)]]);}},{'key':_0x240bf6(0x291),'value':function(){var _0x436e2a=_0x240bf6,_0x35ffad=this;if(this[_0x436e2a(0x385)]&&!(this[_0x436e2a(0x299)][_0x436e2a(0x25e)]<=0x0)){var _0x3b71f3=null,_0x61f3b7=null,_0x359ab5=null;this[_0x436e2a(0x299)][_0x436e2a(0x33e)](function(_0x461b22){var _0xaa24bd=_0x436e2a;if(_0x461b22[_0xaa24bd(0x300)]<=0x0&&_0x35ffad[_0xaa24bd(0x2dc)](_0x461b22),_0x461b22['age']>0x0){var _0x2f2637=_0x461b22[_0xaa24bd(0x35e)],_0x5950ff=_0x461b22[_0xaa24bd(0x222)];(_0x359ab5=_0x35ffad[_0xaa24bd(0x29e)][_0xaa24bd(0x227)](_0x2f2637,_0x5950ff))?(_0x3b71f3=_0x2f2637+_0x35ffad[_0xaa24bd(0x22f)][0x0]*_0x359ab5[0x0],_0x61f3b7=_0x5950ff+_0x35ffad['calc_speedRate'][0x1]*_0x359ab5[0x1],_0x461b22[_0xaa24bd(0x2d1)]=_0x2f2637,_0x461b22[_0xaa24bd(0x2f2)]=_0x5950ff,_0x461b22['tlng']=_0x3b71f3,_0x461b22[_0xaa24bd(0x222)]=_0x61f3b7,_0x461b22['age']--):_0x461b22[_0xaa24bd(0x300)]=0x0;}}),this[_0x436e2a(0x381)]();}}},{'key':'_tomap','value':function(_0x58e964,_0x1e2afe,_0x58e445){var _0x55fbaf=_0x240bf6,_0x548159=_0x49bd3c[_0x55fbaf(0x262)][_0x55fbaf(0x221)](_0x58e964,_0x1e2afe,this[_0x55fbaf(0x21f)]),_0xc9ca21=this[_0x55fbaf(0x327)]['scene'];if(_0xc9ca21[_0x55fbaf(0x28f)]===_0x49bd3c['SceneMode'][_0x55fbaf(0x1fc)]&&!new _0x49bd3c[(_0x55fbaf(0x2eb))](_0xc9ca21[_0x55fbaf(0x25c)][_0x55fbaf(0x33b)],_0xc9ca21[_0x55fbaf(0x21a)][_0x55fbaf(0x253)])['isPointVisible'](_0x548159))return _0x58e445[_0x55fbaf(0x300)]=0x0,null;var _0xb25c37=_0x49bd3c[_0x55fbaf(0x379)][_0x55fbaf(0x2a3)](this[_0x55fbaf(0x327)][_0x55fbaf(0x2f7)],_0x548159);return _0xb25c37?[_0xb25c37['x'],_0xb25c37['y']]:null;}},{'key':_0x240bf6(0x381),'value':function(){var _0x3df1c5=_0x240bf6,_0x47ffbd=this,_0x6691f9=this['particles'];this[_0x3df1c5(0x260)]['lineWidth']=_0x47ffbd['lineWidth'],this['canvasContext'][_0x3df1c5(0x26b)]=_0x3df1c5(0x2c8),this[_0x3df1c5(0x260)][_0x3df1c5(0x2a1)](0x0,0x0,this[_0x3df1c5(0x23d)],this['canvasHeight']),this[_0x3df1c5(0x260)][_0x3df1c5(0x26b)]=_0x3df1c5(0x241),this[_0x3df1c5(0x260)][_0x3df1c5(0x261)]=0.9,this['canvasContext'][_0x3df1c5(0x2c0)](),this['canvasContext'][_0x3df1c5(0x215)]=this[_0x3df1c5(0x263)];var _0x55ddd6=this[_0x3df1c5(0x327)]['scene'][_0x3df1c5(0x28f)]!==_0x49bd3c[_0x3df1c5(0x335)][_0x3df1c5(0x1fc)];_0x6691f9[_0x3df1c5(0x33e)](function(_0x42c3f2){var _0x332587=_0x3df1c5,_0x518f05=_0x47ffbd['_tomap'](_0x42c3f2['lng'],_0x42c3f2[_0x332587(0x2f2)],_0x42c3f2),_0xb6408c=_0x47ffbd[_0x332587(0x2fd)](_0x42c3f2[_0x332587(0x35e)],_0x42c3f2[_0x332587(0x222)],_0x42c3f2);if(null!=_0x518f05&&null!=_0xb6408c){var _0x10b990=Math[_0x332587(0x307)](_0x518f05[0x0]-_0xb6408c[0x0]);_0x55ddd6&&_0x10b990>=_0x47ffbd[_0x332587(0x23d)]||(_0x47ffbd[_0x332587(0x260)][_0x332587(0x2ce)](_0x518f05[0x0],_0x518f05[0x1]),_0x47ffbd[_0x332587(0x260)][_0x332587(0x26e)](_0xb6408c[0x0],_0xb6408c[0x1]));}}),this['canvasContext'][_0x3df1c5(0x316)]();}},{'key':'randomParticle','value':function(_0x377e99){var _0x103cdb=_0x240bf6;for(var _0x422556,_0x2b41ca,_0x36c53b=0x0;_0x36c53b<0x1e&&(_0x422556=this['windField'][_0x103cdb(0x20b)](),!((_0x2b41ca=this[_0x103cdb(0x29e)]['getUVByPoint'](_0x422556[_0x103cdb(0x2d1)],_0x422556['lat']))&&_0x2b41ca[0x2]>0x0));_0x36c53b++);if(!_0x2b41ca)return _0x377e99;var _0x5d0e80=_0x422556[_0x103cdb(0x2d1)]+this[_0x103cdb(0x22f)][0x0]*_0x2b41ca[0x0],_0x532da2=_0x422556[_0x103cdb(0x2f2)]+this[_0x103cdb(0x22f)][0x1]*_0x2b41ca[0x1];return _0x377e99['lng']=_0x422556['lng'],_0x377e99[_0x103cdb(0x2f2)]=_0x422556[_0x103cdb(0x2f2)],_0x377e99[_0x103cdb(0x35e)]=_0x5d0e80,_0x377e99[_0x103cdb(0x222)]=_0x532da2,_0x377e99[_0x103cdb(0x300)]=Math[_0x103cdb(0x295)](Math[_0x103cdb(0x247)]()*this[_0x103cdb(0x348)]),_0x377e99;}},{'key':_0x240bf6(0x2fb),'value':function(){var _0x30bf82=_0x240bf6;this[_0x30bf82(0x299)]=[],delete this['windField'],delete this[_0x30bf82(0x2e0)];}}]),_0x14762d;}(_0x11e886[_0x3aa2d6(0x24e)][_0x3aa2d6(0x264)]);function _0x146062(_0x500405,_0xa1c99b){var _0x47b36d=_0x3aa2d6;return _0x500405*Math[_0x47b36d(0x304)](_0x49bd3c[_0x47b36d(0x286)][_0x47b36d(0x259)](_0xa1c99b));}function _0x1f06e2(_0x263c10,_0x3bf9d8){var _0x26520c=_0x3aa2d6;return _0x263c10*Math[_0x26520c(0x289)](_0x49bd3c['Math'][_0x26520c(0x259)](_0x3bf9d8));}function _0x450f3f(_0x46a39f,_0x27ce16){var _0x233f36=_0x3aa2d6;return Math[_0x233f36(0x20e)](Math[_0x233f36(0x2b2)](_0x46a39f,0x2)+Math[_0x233f36(0x2b2)](_0x27ce16,0x2));}function _0x2cf9c1(_0x5dbc55,_0x42831c){var _0x41f051=_0x3aa2d6,_0x33f960=_0x49bd3c[_0x41f051(0x286)][_0x41f051(0x31c)](Math['atan2'](_0x42831c,_0x5dbc55));return _0x33f960+=_0x33f960<0x0?0x168:0x0;}_0x11e886[_0x3aa2d6(0x2e9)]['register'](_0x3aa2d6(0x345),_0x474354),_0x11e886[_0x3aa2d6(0x24e)][_0x3aa2d6(0x34f)]=_0x474354,_0x11e886[_0x3aa2d6(0x2e5)]=_0x4f5185;}]));
|
|
31
31
|
|
|
32
32
|
})(window);
|
|
33
33
|
|
package/package.json
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars3d-wind",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Mars3D平台插件,支持气象 风向图 功能插件",
|
|
5
5
|
"main": "dist/mars3d-wind.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"mars3d": "^3.1.19",
|
|
11
|
-
"mars3d-cesium": "^1.88.2"
|
|
12
|
-
},
|
|
9
|
+
"dependencies": {},
|
|
13
10
|
"devDependencies": {},
|
|
14
11
|
"scripts": {
|
|
15
12
|
"test": "echo \"Error: no test specified\" && exit 1",
|