lg_frontend/static/libs/mars3d/plugins/space/mars3d-space.js

16 lines
304 KiB
JavaScript
Raw Permalink Normal View History

/**
* Mars3D平台插件, 卫星及相关视锥体可视化功能 mars3d-space
*
* 版本信息v3.7.3
* 编译日期2024-02-05 13:29:28
* 版权所有Copyright by 火星科技 http://mars3d.cn
* 使用单位免费公开版 2024-01-15
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mars3d || require('mars3d'))) :
typeof define === 'function' && define.amd ? define(['exports', 'mars3d'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-space"] = {}, global.mars3d));
})(this, (function (exports, mars3d) {
'use strict';var _0x324bcf=_0x439c;(function(_0x577ede,_0xccb7a5){var _0x39d67d=_0x439c,_0x437137=_0x577ede();while(!![]){try{var _0x4f975e=-parseInt(_0x39d67d(0x21a))/0x1*(parseInt(_0x39d67d(0x2e1))/0x2)+-parseInt(_0x39d67d(0x17c))/0x3+-parseInt(_0x39d67d(0x2ed))/0x4*(-parseInt(_0x39d67d(0x156))/0x5)+-parseInt(_0x39d67d(0x18a))/0x6+-parseInt(_0x39d67d(0x1d6))/0x7*(-parseInt(_0x39d67d(0x25d))/0x8)+parseInt(_0x39d67d(0x105))/0x9+-parseInt(_0x39d67d(0x101))/0xa*(-parseInt(_0x39d67d(0x1c8))/0xb);if(_0x4f975e===_0xccb7a5)break;else _0x437137['push'](_0x437137['shift']());}catch(_0x460e77){_0x437137['push'](_0x437137['shift']());}}}(_0x5d7d,0x79eff));function _interopNamespace(_0x1399b9){var _0x9be1b7=_0x439c;if(_0x1399b9&&_0x1399b9[_0x9be1b7(0x219)])return _0x1399b9;var _0x4bd139=Object['create'](null);return _0x1399b9&&Object['keys'](_0x1399b9)['forEach'](function(_0x44ddb3){var _0x30c5d7=_0x9be1b7;if(_0x44ddb3!=='default'){var _0x72c846=Object['getOwnPropertyDescriptor'](_0x1399b9,_0x44ddb3);Object[_0x30c5d7(0x13f)](_0x4bd139,_0x44ddb3,_0x72c846['get']?_0x72c846:{'enumerable':!![],'get':function(){return _0x1399b9[_0x44ddb3];}});}}),_0x4bd139['default']=_0x1399b9,_0x4bd139;}function _mergeNamespaces(_0x4dbf99,_0x106600){return _0x106600['forEach'](function(_0x53a67a){var _0x22b6b3=_0x439c;_0x53a67a&&typeof _0x53a67a!==_0x22b6b3(0x1dc)&&!Array['isArray'](_0x53a67a)&&Object['keys'](_0x53a67a)['forEach'](function(_0x5598e0){var _0x3e4c83=_0x22b6b3;if(_0x5598e0!=='default'&&!(_0x5598e0 in _0x4dbf99)){var _0x44e153=Object[_0x3e4c83(0x19a)](_0x53a67a,_0x5598e0);Object[_0x3e4c83(0x13f)](_0x4dbf99,_0x5598e0,_0x44e153['get']?_0x44e153:{'enumerable':!![],'get':function(){return _0x53a67a[_0x5598e0];}});}});}),_0x4dbf99;}var mars3d__namespace=_interopNamespace(mars3d),pi$1=Math['PI'],twoPi$1=pi$1*0x2,deg2rad$1=pi$1/0xb4,rad2deg$1=0xb4/pi$1,minutesPerDay$1=0x5a0,mu$1=398600.8,earthRadius$1=6378.135,xke$1=0x3c/Math['sqrt'](earthRadius$1*earthRadius$1*earthRadius$1/mu$1),vkmpersec$1=earthRadius$1*xke$1/0x3c,tumin$1=0x1/xke$1,j2$1=0.001082616,j3$1=-0.00000253881,j4$1=-0.00000165597,j3oj2$1=j3$1/j2$1,x2o3$1=0x2/0x3,constants$1=Object['freeze']({'__proto__':null,'deg2rad':deg2rad$1,'earthRadius':earthRadius$1,'j2':j2$1,'j3':j3$1,'j3oj2':j3oj2$1,'j4':j4$1,'minutesPerDay':minutesPerDay$1,'mu':mu$1,'pi':pi$1,'rad2deg':rad2deg$1,'tumin':tumin$1,'twoPi':twoPi$1,'vkmpersec':vkmpersec$1,'x2o3':x2o3$1,'xke':xke$1});function days2mdhms$1(_0x20a019,_0x55322d){var _0x279c5=_0x439c,_0x48f14e=[0x1f,_0x20a019%0x4===0x0?0x1d:0x1c,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f],_0x36e42c=Math[_0x279c5(0x149)](_0x55322d),_0x2c1923=0x1,_0x5a9e94=0x0;while(_0x36e42c>_0x5a9e94+_0x48f14e[_0x2c1923-0x1]&&_0x2c1923<0xc){_0x5a9e94+=_0x48f14e[_0x2c1923-0x1],_0x2c1923+=0x1;}var _0x54497d=_0x2c1923,_0x1f8bd8=_0x36e42c-_0x5a9e94,_0x1174ae=(_0x55322d-_0x36e42c)*0x18,_0x582cbf=Math['floor'](_0x1174ae);_0x1174ae=(_0x1174ae-_0x582cbf)*0x3c;var _0x5e9d5b=Math['floor'](_0x1174ae),_0xd86439=(_0x1174ae-_0x5e9d5b)*0x3c;return{'mon':_0x54497d,'day':_0x1f8bd8,'hr':_0x582cbf,'minute':_0x5e9d5b,'sec':_0xd86439};}function jdayInternal$1(_0x27e1c8,_0x92cdba,_0x4c5592,_0x3e84ee,_0x56098e,_0x2f8e93){var _0x5cc03d=arguments['length']>0x6&&arguments[0x6]!==undefined?arguments[0x6]:0x0;return 0x16f*_0x27e1c8-Math['floor'](0x7*(_0x27e1c8+Math['floor']((_0x92cdba+0x9)/0xc))*0.25)+Math['floor'](0x113*_0x92cdba/0x9)+_0x4c5592+1721013.5+((_0x5cc03d/0xea60+_0x2f8e93/0x3c+_0x56098e)/0x3c+_0x3e84ee)/0x18;}function jday$1(_0x361855,_0xb7d680,_0x235635,_0x26c0bb,_0x2c5bc0,_0x8ef2fb,_0x51dfdd){if(_0x361855 instanceof Date){var _0x23d903=_0x361855;return jdayInternal$1(_0x23d903['getUTCFullYear'](),_0x23d903['getUTCMonth']()+0x1,_0x23d903['getUTCDate'](),_0x23d903['getUTCHours'](),_0x23d903['getUTCMinutes'](),_0x23d903['getUTCSeconds'](),_0x23d903['getUTCMilliseconds']());}return jdayInternal$1(_0x361855,_0xb7d680,_0x235635,_0x26c0bb,_0x2c5bc0,_0x8ef2fb,_0x51dfdd);}function invjday$1(_0x370a19,_0x31fc03){var _0x42a089=_0x439c,_0x4f07c5=_0x370a19-2415019.5,_0x10dba4=_0x4f07c5/365.25,_0x2d7f95=0x
}));