lythreeframe 1.3.4 → 1.3.5
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/bundle.cjs.js +56 -56
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +56 -56
- package/dist/bundle.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -14,120 +14,120 @@ var LensflareNode_js = require('three/examples/jsm/tsl/display/LensflareNode.js'
|
|
|
14
14
|
var gsap = require('gsap');
|
|
15
15
|
var three = require('three');
|
|
16
16
|
var SkyMesh_js = require('three/examples/jsm/objects/SkyMesh.js');
|
|
17
|
-
var
|
|
17
|
+
var _0x2d3ee0 = require('earcut');
|
|
18
18
|
var CSS2DRenderer_js = require('three/examples/jsm/renderers/CSS2DRenderer.js');
|
|
19
19
|
var PointerLockControls_js = require('three/examples/jsm/controls/PointerLockControls.js');
|
|
20
20
|
var TransformControls_js = require('three/examples/jsm/controls/TransformControls.js');
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
const _0x5ead49=_0x80f9;(function(_0xe39757,_0x167dfb){const _0x4e5b50=_0x80f9,_0x357013=_0xe39757();while(!![]){try{const _0x165984=-parseInt(_0x4e5b50(0x7c))/0x1*(parseInt(_0x4e5b50(0x83))/0x2)+parseInt(_0x4e5b50(0x85))/0x3*(-parseInt(_0x4e5b50(0x76))/0x4)+parseInt(_0x4e5b50(0x6f))/0x5*(-parseInt(_0x4e5b50(0x70))/0x6)+-parseInt(_0x4e5b50(0x77))/0x7+-parseInt(_0x4e5b50(0x7a))/0x8*(-parseInt(_0x4e5b50(0x75))/0x9)+parseInt(_0x4e5b50(0x79))/0xa+parseInt(_0x4e5b50(0x87))/0xb*(parseInt(_0x4e5b50(0x81))/0xc);if(_0x165984===_0x167dfb)break;else _0x357013['push'](_0x357013['shift']());}catch(_0x2265fe){_0x357013['push'](_0x357013['shift']());}}}(_0x5cde,0x6462b));function _0x80f9(_0x1e5e3a,_0x218ae2){_0x1e5e3a=_0x1e5e3a-0x6f;const _0x5cde45=_0x5cde();let _0x80f9df=_0x5cde45[_0x1e5e3a];return _0x80f9df;}class BaseObject{get[_0x5ead49(0x72)](){const _0x4e58dd=_0x5ead49;return this[_0x4e58dd(0x82)];}set[_0x5ead49(0x72)](_0x1ffe5e){const _0x563894=_0x5ead49;this[_0x563894(0x82)]=_0x1ffe5e;}get[_0x5ead49(0x74)](){const _0x143ece=_0x5ead49;return this[_0x143ece(0x78)];}constructor(_0x46850b=webgpu.MathUtils['generateUUID']()){const _0x4abb8c=_0x5ead49;this[_0x4abb8c(0x82)]=![],this['tickEvents']=[],this[_0x4abb8c(0x82)]=![],this[_0x4abb8c(0x78)]=_0x46850b;}['tick'](_0x5d9c78){const _0xd572c7=_0x5ead49;if(!this[_0xd572c7(0x82)])return;this['tickEvents'][_0xd572c7(0x73)](_0x2c0270=>{_0x2c0270(_0x5d9c78);});}[_0x5ead49(0x71)](_0x3c872b){const _0x288f1b=_0x5ead49;this['tickEvents'][_0x288f1b(0x7b)](_0x3c872b);}[_0x5ead49(0x80)](_0x56d6d9){const _0x5924d5=_0x5ead49;let _0x575aef=this[_0x5924d5(0x7d)][_0x5924d5(0x84)](_0x56d6d9);_0x575aef!=-1&&this[_0x5924d5(0x7d)][_0x5924d5(0x7f)](_0x575aef,0x1);}[_0x5ead49(0x7e)](){const _0x5aef96=_0x5ead49;this[_0x5aef96(0x7d)]=[];}[_0x5ead49(0x86)](){}}function _0x5cde(){const _0x1e0d44=['1611gAZZBg','58248wKuOtq','2739583sEzWWz','_uuid','7101020dOhjyB','28352crqOOn','push','468851OAjkov','tickEvents','clearTickEvents','splice','removeTickEvent','12mxBaWf','bCanTick','2GcyZEY','indexOf','126EvmHdY','destroy','8580385fIwQQB','50RymHNJ','144906OzpvtW','addTickEvent','isTickEnabled','forEach','uuid'];_0x5cde=function(){return _0x1e0d44;};return _0x5cde();}
|
|
23
23
|
|
|
24
|
-
const
|
|
24
|
+
const _0x28c41e=_0x4a21;(function(_0x2a0d5a,_0x2fb0af){const _0x1b6708=_0x4a21,_0x28e386=_0x2a0d5a();while(!![]){try{const _0x2e6dea=-parseInt(_0x1b6708(0x17f))/0x1+parseInt(_0x1b6708(0x177))/0x2+parseInt(_0x1b6708(0x181))/0x3*(parseInt(_0x1b6708(0x189))/0x4)+parseInt(_0x1b6708(0x17d))/0x5*(parseInt(_0x1b6708(0x180))/0x6)+parseInt(_0x1b6708(0x188))/0x7+parseInt(_0x1b6708(0x17b))/0x8+-parseInt(_0x1b6708(0x18b))/0x9;if(_0x2e6dea===_0x2fb0af)break;else _0x28e386['push'](_0x28e386['shift']());}catch(_0x39c197){_0x28e386['push'](_0x28e386['shift']());}}}(_0x2d4e,0x1a5a4));function _0x4a21(_0x4b3344,_0x1babf5){_0x4b3344=_0x4b3344-0x175;const _0x2d4ec9=_0x2d4e();let _0x4a216a=_0x2d4ec9[_0x4b3344];return _0x4a216a;}function _0x2d4e(){const _0xa5bc77=['725oBmPzi','LYObject','13855ebwgMS','8106SJqIht','3786DQkSaB','threeObject','_parentActor','createDefaultObject','_name','parentActor','destroyObject','974036suTIvI','436ZOjGlq','userData','4504662EcYYeW','destroy','obj','292652FsIoWT','Component','name','type','27088hsSLGZ','generateUUID'];_0x2d4e=function(){return _0xa5bc77;};return _0x2d4e();}class Component extends BaseObject{set[_0x28c41e(0x186)](_0x10538d){this['_parentActor']=_0x10538d;}get[_0x28c41e(0x186)](){const _0x227bca=_0x28c41e;return this[_0x227bca(0x183)];}get['threeObject'](){const _0x841c3d=_0x28c41e;return this[_0x841c3d(0x176)];}set['threeObject'](_0x9f67f6){const _0x554054=_0x28c41e;this[_0x554054(0x176)]=_0x9f67f6,this[_0x554054(0x176)]&&(this[_0x554054(0x176)][_0x554054(0x18a)][_0x554054(0x17e)]=this);}get[_0x28c41e(0x179)](){const _0x37204c=_0x28c41e;return this[_0x37204c(0x185)];}set[_0x28c41e(0x179)](_0x35d72a){const _0x9d831c=_0x28c41e;this[_0x9d831c(0x185)]=_0x35d72a,this[_0x9d831c(0x176)]&&(this[_0x9d831c(0x176)][_0x9d831c(0x179)]=_0x35d72a);}constructor(_0x8fb043){const _0x23396e=_0x28c41e;super(_0x8fb043?_0x8fb043:webgpu.MathUtils[_0x23396e(0x17c)]()),this['obj']=null,this[_0x23396e(0x183)]=null,this['_name']=_0x23396e(0x178),this['_parentActor']=null;let _0x4f0f58=this[_0x23396e(0x184)]();_0x4f0f58?(this[_0x23396e(0x182)]=_0x4f0f58,this['_name']=this[_0x23396e(0x182)][_0x23396e(0x17a)]+_0x23396e(0x178)):console['warn']('Component\x20createDefaultObject\x20return\x20null');}[_0x28c41e(0x184)](_0x4cd5c3){return null;}[_0x28c41e(0x187)](){const _0x2734a5=_0x28c41e;if(!this[_0x2734a5(0x176)])return;}[_0x28c41e(0x175)](){const _0x26996d=_0x28c41e;this[_0x26996d(0x187)]();}}
|
|
25
25
|
|
|
26
|
-
(function(
|
|
26
|
+
(function(_0x4e5ee2,_0x33b97e){var _0x214c11=_0x8b42,_0x59e9fa=_0x4e5ee2();while(!![]){try{var _0x38100d=parseInt(_0x214c11(0x6e))/0x1*(-parseInt(_0x214c11(0x6c))/0x2)+-parseInt(_0x214c11(0x6b))/0x3+parseInt(_0x214c11(0x73))/0x4+parseInt(_0x214c11(0x6f))/0x5*(-parseInt(_0x214c11(0x6a))/0x6)+parseInt(_0x214c11(0x72))/0x7*(parseInt(_0x214c11(0x74))/0x8)+-parseInt(_0x214c11(0x71))/0x9+parseInt(_0x214c11(0x76))/0xa*(parseInt(_0x214c11(0x75))/0xb);if(_0x38100d===_0x33b97e)break;else _0x59e9fa['push'](_0x59e9fa['shift']());}catch(_0x63eff){_0x59e9fa['push'](_0x59e9fa['shift']());}}}(_0x55f5,0x3b4ee));function _0x55f5(){var _0x1263e9=['8DksTtM','4661239CSDmnO','10gkZYPm','2455680eQbBwn','772563Rylllt','6MIGJiB','KeepRelative','73580bYEfGd','5UOCgTe','KeepWorld','464346KUUvlZ','1942899AWkYlN','1923020KlBqNO'];_0x55f5=function(){return _0x1263e9;};return _0x55f5();}exports.AttachmentRules = void 0;function _0x8b42(_0x5bcd5c,_0x340db8){_0x5bcd5c=_0x5bcd5c-0x6a;var _0x55f5c7=_0x55f5();var _0x8b4210=_0x55f5c7[_0x5bcd5c];return _0x8b4210;}(function(_0x1999df){var _0x2adde3=_0x8b42;_0x1999df[_0x1999df['KeepWorld']=0x1]=_0x2adde3(0x70),_0x1999df[_0x1999df['KeepRelative']=0x2]=_0x2adde3(0x6d);}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
const _0x55c6c5=_0x461f;(function(_0x3c8c10,_0x39a4b3){const _0x245dc5=_0x461f,_0x1f565a=_0x3c8c10();while(!![]){try{const _0x550cff=-parseInt(_0x245dc5(0xb7))/0x1+parseInt(_0x245dc5(0xbb))/0x2+parseInt(_0x245dc5(0xbe))/0x3*(-parseInt(_0x245dc5(0xc0))/0x4)+-parseInt(_0x245dc5(0xc1))/0x5+-parseInt(_0x245dc5(0xbc))/0x6+-parseInt(_0x245dc5(0xbd))/0x7+parseInt(_0x245dc5(0xbf))/0x8;if(_0x550cff===_0x39a4b3)break;else _0x1f565a['push'](_0x1f565a['shift']());}catch(_0x115d61){_0x1f565a['push'](_0x1f565a['shift']());}}}(_0x153a,0xc058b));function _0x153a(){const _0x571f8e=['4094427pRzIdD','37000024meVpIk','4kxsiPP','5873770kiyMTM','indexOf','functions','broadcast','add','1339739rmhvUQ','function\x20not\x20found','splice','warn','2894526hQyDnX','6306102AskxPr','2478672KbLQuZ'];_0x153a=function(){return _0x571f8e;};return _0x153a();}function _0x461f(_0x447192,_0x16bccc){_0x447192=_0x447192-0xb7;const _0x153ab5=_0x153a();let _0x461fd4=_0x153ab5[_0x447192];return _0x461fd4;}class Delegate{constructor(){const _0x2b9a16=_0x461f;this[_0x2b9a16(0xc3)]=[];}[_0x55c6c5(0xc4)](..._0x14cca0){const _0x1779ab=_0x55c6c5;this[_0x1779ab(0xc3)]['forEach'](_0x44eca5=>_0x44eca5(..._0x14cca0));}[_0x55c6c5(0xc5)](_0x2f912b){this['functions']['push'](_0x2f912b);}['remove'](_0x189e29){const _0x52a1e7=_0x55c6c5,_0x3da1ac=this[_0x52a1e7(0xc3)][_0x52a1e7(0xc2)](_0x189e29);_0x3da1ac>=0x0?this[_0x52a1e7(0xc3)][_0x52a1e7(0xb9)](_0x3da1ac,0x1):console[_0x52a1e7(0xba)](_0x52a1e7(0xb8));}['clear'](){this['functions']=[];}}
|
|
29
29
|
|
|
30
|
-
function _0x3773(){const _0x19916d=['setFromObject','max','target\x20threeObject\x20is\x20invalid','bCanClick','setPosition','_onHoverEndDelegate','parent','getWorldMatrix','setRotation','getWorldScale','obj','getMatrix','localToWorld','children','threeObject\x20is\x20invalid','tick','getRotation','onClicked','onDoubleClickDelegate','position','detachFromParentActor','48HOWLVz','copy','remove','setMatrix','11AAbdvL','applyQuaternion','markRenderStateDirty','decompose','viewport','onHoverBeginDelegate','bCanHover','updateMatrix','layers','createDefaultObject','uuid','length','735iSUbNc','parentActor','_onHoverBeginDelegate','getPosition','isVector3','isVisible','multiplyMatrices','compose','min','push','getComponentById','rotation','9985810nJaVLr','820939NhndHH','getScale','userData','getCenter','addChildComponent','clone','SceneComponent','childrenComponents','946283tzMhly','invert','onAddedToWorld','getWorldRotation','add','matrixAutoUpdate','removeChildComponent','1083NyaROR','_onClickDelegate','scale','threeObject','getBoundsBottomCenterPositionWS','setFromQuaternion','onClickDelegate','702ACFSZI','onDoubleClicked','quaternion','getBounds','39966pHVkTr','error','worldToLocal','1177479ibfIZe','newComponent\x20threeObject\x20is\x20invalid','targetComponent\x20threeObject\x20is\x20invalid','getBoundsTopCenterPositionWS','isQuaternion','visible','app','forEach','KeepWorld','onHoverEndDelegate','destroy','isHoverEnabled','world','isClickEnabled','_onDoubleClickDelegate','getWorldDirection','setVisible','LYObject','updateMatrixWorld','getWorldForwardDirection','number','matrix','onHorveringEnd','getWorldPosition','destroyObject','2503948IoqUxh','getWorldQuaternion','onHorveringBegin','matrixWorld','_parentActor','parentComponent','getBoundsCenterPositionWS','setQuaternion\x20failed,param\x20is\x20invalid','setWorldMatrix','set','broadcast','detachFromParentComponent'];_0x3773=function(){return _0x19916d;};return _0x3773();}const _0x1cddba=_0x16fa;(function(_0x236fab,_0x17de1c){const _0x12921a=_0x16fa,_0x351bfb=_0x236fab();while(!![]){try{const _0x3855e9=parseInt(_0x12921a(0x130))/0x1+parseInt(_0x12921a(0x13e))/0x2*(parseInt(_0x12921a(0x137))/0x3)+parseInt(_0x12921a(0x15e))/0x4+parseInt(_0x12921a(0x11b))/0x5*(-parseInt(_0x12921a(0x142))/0x6)+parseInt(_0x12921a(0x128))/0x7*(parseInt(_0x12921a(0x17f))/0x8)+parseInt(_0x12921a(0x145))/0x9+parseInt(_0x12921a(0x127))/0xa*(-parseInt(_0x12921a(0x183))/0xb);if(_0x3855e9===_0x17de1c)break;else _0x351bfb['push'](_0x351bfb['shift']());}catch(_0x56feec){_0x351bfb['push'](_0x351bfb['shift']());}}}(_0x3773,0x87ace));function _0x16fa(_0x9ba0a2,_0x305e8f){_0x9ba0a2=_0x9ba0a2-0x116;const _0x3773d4=_0x3773();let _0x16fa87=_0x3773d4[_0x9ba0a2];return _0x16fa87;}class SceneComponent extends Component{set[_0x1cddba(0x11c)](_0x1982f1){const _0x7ae172=_0x1cddba;this[_0x7ae172(0x12f)]['forEach'](_0x5024b9=>{const _0x135e05=_0x7ae172;_0x5024b9[_0x135e05(0x11c)]=_0x1982f1;}),this[_0x7ae172(0x162)]=_0x1982f1;}get[_0x1cddba(0x11c)](){const _0x2922ca=_0x1cddba;return this[_0x2922ca(0x162)];}get[_0x1cddba(0x188)](){const _0x3c2ec3=_0x1cddba;return this[_0x3c2ec3(0x11d)];}get[_0x1cddba(0x14e)](){const _0x5e01de=_0x1cddba;return this[_0x5e01de(0x16f)];}get[_0x1cddba(0x13d)](){return this['_onClickDelegate'];}get[_0x1cddba(0x17c)](){return this['_onDoubleClickDelegate'];}get[_0x1cddba(0x151)](){const _0x4d1c32=_0x1cddba;return this['app'][_0x4d1c32(0x151)];}constructor(_0x452632,_0xad038c){const _0x51b698=_0x1cddba;super(_0xad038c),this['bCanHover']=![],this[_0x51b698(0x16d)]=![],this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x51b698(0x138)]=new Delegate(),this[_0x51b698(0x153)]=new Delegate(),this[_0x51b698(0x14b)]=_0x452632,this['name']=_0x51b698(0x12e);}[_0x1cddba(0x118)](){return new webgpu.Object3D();}[_0x1cddba(0x179)](_0x27c316){const _0x41c8f1=_0x1cddba;super['tick'](_0x27c316),this[_0x41c8f1(0x12f)][_0x41c8f1(0x14c)](_0x5171ea=>{const _0x4d4dfd=_0x41c8f1;_0x5171ea[_0x4d4dfd(0x179)](_0x27c316);});}get[_0x1cddba(0x120)](){const _0xeeca93=_0x1cddba;if(!this[_0xeeca93(0x174)])return ![];return this[_0xeeca93(0x174)][_0xeeca93(0x14a)];}[_0x1cddba(0x155)](_0x4f1251){const _0x3067b1=_0x1cddba;if(!this['obj'])throw Error(_0x3067b1(0x178));this[_0x3067b1(0x174)][_0x3067b1(0x14a)]=_0x4f1251,this[_0x3067b1(0x151)]&&this[_0x3067b1(0x151)][_0x3067b1(0x187)][_0x3067b1(0x185)]();}['setLayers'](_0x217f42){const _0x4747e3=_0x1cddba;if(!this[_0x4747e3(0x174)])throw Error(_0x4747e3(0x178));this[_0x4747e3(0x174)][_0x4747e3(0x117)][_0x4747e3(0x167)](_0x217f42);let _0x9585aa=this[_0x4747e3(0x12f)];_0x9585aa[_0x4747e3(0x14c)](_0x57abd9=>{_0x57abd9['setLayers'](_0x217f42);});}[_0x1cddba(0x125)](_0x112c99,_0xfd2f76=!![]){const _0x23e74c=_0x1cddba;if(this[_0x23e74c(0x119)]===_0x112c99)return this;if(_0xfd2f76){let _0x3a4949=this['childrenComponents'];for(let _0x4aca91=0x0;_0x4aca91<_0x3a4949[_0x23e74c(0x11a)];++_0x4aca91){let _0x357d8b=_0x3a4949[_0x4aca91][_0x23e74c(0x125)](_0x112c99,_0xfd2f76);if(_0x357d8b)return _0x357d8b;}}else {let _0x132f64=this[_0x23e74c(0x12f)];for(let _0x45fdcb=0x0;_0x45fdcb<_0x132f64[_0x23e74c(0x11a)];++_0x45fdcb){let _0x5983ac=_0x132f64[_0x45fdcb];if(_0x5983ac[_0x23e74c(0x119)]===_0x112c99)return _0x5983ac;}}return null;}[_0x1cddba(0x164)](){const _0x5d7a88=_0x1cddba;let _0x1f9632=new webgpu.Vector3();return this[_0x5d7a88(0x141)]()['getCenter'](_0x1f9632),this[_0x5d7a88(0x15c)]();}[_0x1cddba(0x148)](){const _0x34e079=_0x1cddba;let _0x4cfb26=new webgpu.Vector3(),_0x1effb7=this[_0x34e079(0x141)]();return _0x1effb7[_0x34e079(0x12b)](_0x4cfb26),_0x4cfb26['y']=_0x1effb7[_0x34e079(0x16b)]['y'],_0x4cfb26;}[_0x1cddba(0x13b)](){const _0x361aed=_0x1cddba;let _0x409363=new webgpu.Vector3(),_0x3c2d04=this[_0x361aed(0x141)]();return _0x3c2d04[_0x361aed(0x12b)](_0x409363),_0x409363['y']=_0x3c2d04[_0x361aed(0x123)]['y'],_0x409363;}['getBounds'](){const _0x47f791=_0x1cddba;if(!this[_0x47f791(0x174)])throw Error(_0x47f791(0x178));let _0x5ddb73=new webgpu.Box3();return _0x5ddb73[_0x47f791(0x16a)](this[_0x47f791(0x174)],![]),_0x5ddb73['isEmpty']()&&(_0x5ddb73[_0x47f791(0x123)]=_0x5ddb73[_0x47f791(0x16b)]=this[_0x47f791(0x15c)]()),_0x5ddb73;}get[_0x1cddba(0x163)](){const _0x8a9e92=_0x1cddba;var _0x8c7684,_0x39699b;if(!this['obj'])throw Error(_0x8a9e92(0x178));let _0x1595bc=(_0x39699b=(_0x8c7684=this[_0x8a9e92(0x174)])===null||_0x8c7684===void 0?void 0:_0x8c7684[_0x8a9e92(0x170)])===null||_0x39699b===void 0?void 0:_0x39699b['userData'][_0x8a9e92(0x156)];if(!_0x1595bc)return null;if(!(_0x1595bc instanceof SceneComponent))return null;if(_0x1595bc[_0x8a9e92(0x11c)]!==this[_0x8a9e92(0x11c)])return null;return _0x1595bc;}get[_0x1cddba(0x12f)](){const _0x403209=_0x1cddba;if(!this[_0x403209(0x174)])throw Error(_0x403209(0x178));let _0x291d93=[];for(let _0x302db4=0x0;_0x302db4<this[_0x403209(0x174)]['children'][_0x403209(0x11a)];++_0x302db4){if(!this[_0x403209(0x174)]['children'][_0x302db4][_0x403209(0x12a)]['LYObject'])continue;this['obj'][_0x403209(0x177)][_0x302db4][_0x403209(0x12a)][_0x403209(0x156)][_0x403209(0x11c)]===this[_0x403209(0x11c)]&&_0x291d93['push'](this['obj'][_0x403209(0x177)][_0x302db4]['userData'][_0x403209(0x156)]);}return _0x291d93;}[_0x1cddba(0x132)](_0x492ffa){const _0x290ec8=_0x1cddba;let _0x5503d1=this[_0x290ec8(0x12f)];for(let _0x576f52=0x0;_0x576f52<_0x5503d1[_0x290ec8(0x11a)];++_0x576f52){_0x5503d1[_0x576f52]['onAddedToWorld'](_0x492ffa);}}[_0x1cddba(0x14f)](){const _0x20ad15=_0x1cddba;this['isHoverEnabled']=![],this[_0x20ad15(0x152)]=![],this['detachFromParentActor'](),this[_0x20ad15(0x169)](),this['destroyChildren'](),this[_0x20ad15(0x15d)](),this[_0x20ad15(0x151)]&&this['world'][_0x20ad15(0x187)][_0x20ad15(0x185)]();}[_0x1cddba(0x15d)](){const _0x450196=_0x1cddba;if(!this[_0x450196(0x174)])return;this[_0x450196(0x174)][_0x450196(0x170)]&&this[_0x450196(0x174)]['parent'][_0x450196(0x181)](this[_0x450196(0x174)]),super['destroyObject']();}[_0x1cddba(0x11e)](){const _0x3fea45=_0x1cddba;if(!this['obj'])throw Error(_0x3fea45(0x178));if(this['obj']['matrixAutoUpdate'])return this[_0x3fea45(0x174)][_0x3fea45(0x17d)][_0x3fea45(0x12d)]();else {const _0x207aa3=new webgpu.Vector3(),_0x1791d1=new webgpu.Quaternion(),_0x2f60a3=new webgpu.Vector3();return this[_0x3fea45(0x174)][_0x3fea45(0x15a)]['decompose'](_0x207aa3,_0x1791d1,_0x2f60a3),_0x207aa3;}}[_0x1cddba(0x16e)](..._0x5a85da){const _0x23d7b7=_0x1cddba;var _0x2015d0;if(!this[_0x23d7b7(0x174)])throw Error(_0x23d7b7(0x178));let _0x4a4986=null;if(_0x5a85da[_0x23d7b7(0x11a)]===0x1&&((_0x2015d0=_0x5a85da[0x0])===null||_0x2015d0===void 0?void 0:_0x2015d0[_0x23d7b7(0x11f)])){const _0x48b7d5=_0x5a85da[0x0];_0x4a4986=new webgpu.Vector3(_0x48b7d5['x'],_0x48b7d5['y'],_0x48b7d5['z']);}else _0x5a85da[_0x23d7b7(0x11a)]===0x3&&typeof _0x5a85da[0x0]===_0x23d7b7(0x159)&&typeof _0x5a85da[0x1]===_0x23d7b7(0x159)&&typeof _0x5a85da[0x2]===_0x23d7b7(0x159)&&(_0x4a4986=new webgpu.Vector3(_0x5a85da[0x0],_0x5a85da[0x1],_0x5a85da[0x2]));if(!_0x4a4986)return;this[_0x23d7b7(0x174)][_0x23d7b7(0x17d)]['copy'](_0x4a4986),!this[_0x23d7b7(0x174)][_0x23d7b7(0x135)]&&this[_0x23d7b7(0x174)][_0x23d7b7(0x15a)][_0x23d7b7(0x16e)](_0x4a4986['x'],_0x4a4986['y'],_0x4a4986['z']),this['obj'][_0x23d7b7(0x116)](),this[_0x23d7b7(0x174)]['updateMatrixWorld'](!![]),this[_0x23d7b7(0x151)]&&this[_0x23d7b7(0x151)][_0x23d7b7(0x187)][_0x23d7b7(0x185)]();}[_0x1cddba(0x17a)](){const _0x5d86dd=_0x1cddba;if(!this['obj'])throw Error(_0x5d86dd(0x178));if(this[_0x5d86dd(0x174)]['matrixAutoUpdate'])return this[_0x5d86dd(0x174)]['rotation'][_0x5d86dd(0x12d)]();else {const _0x3d0d30=new webgpu.Vector3(),_0xa4c659=new webgpu.Quaternion(),_0x4101f8=new webgpu.Vector3();return this[_0x5d86dd(0x174)][_0x5d86dd(0x15a)][_0x5d86dd(0x186)](_0x3d0d30,_0xa4c659,_0x4101f8),new webgpu.Euler()[_0x5d86dd(0x13c)](_0xa4c659);}}[_0x1cddba(0x172)](..._0x25c8d3){const _0x2f3805=_0x1cddba;var _0x29c63f;if(!this['obj'])throw Error(_0x2f3805(0x178));let _0x16bae9=null;if((_0x29c63f=_0x25c8d3[0x0])===null||_0x29c63f===void 0?void 0:_0x29c63f['isEuler']){const _0x2bde12=_0x25c8d3[0x0];_0x16bae9=new webgpu.Euler(_0x2bde12['x'],_0x2bde12['y'],_0x2bde12['z'],_0x2bde12['order']);}else typeof _0x25c8d3[0x0]===_0x2f3805(0x159)&&typeof _0x25c8d3[0x1]===_0x2f3805(0x159)&&typeof _0x25c8d3[0x2]===_0x2f3805(0x159)&&(_0x16bae9=new webgpu.Euler(_0x25c8d3[0x0],_0x25c8d3[0x1],_0x25c8d3[0x2]));if(!_0x16bae9)return;this[_0x2f3805(0x174)][_0x2f3805(0x126)][_0x2f3805(0x180)](_0x16bae9),this[_0x2f3805(0x174)][_0x2f3805(0x116)](),this[_0x2f3805(0x174)][_0x2f3805(0x157)](!![]),this[_0x2f3805(0x151)]&&this[_0x2f3805(0x151)]['viewport']['markRenderStateDirty']();}['getQuaternion'](){const _0x37d840=_0x1cddba;if(!this[_0x37d840(0x174)])throw Error(_0x37d840(0x178));if(this['obj'][_0x37d840(0x135)])return this[_0x37d840(0x174)][_0x37d840(0x140)]['clone']();else {const _0x59378f=new webgpu.Vector3(),_0x14c11d=new webgpu.Quaternion(),_0x1f622b=new webgpu.Vector3();return this[_0x37d840(0x174)][_0x37d840(0x15a)][_0x37d840(0x186)](_0x59378f,_0x14c11d,_0x1f622b),_0x14c11d;}}['setQuaternion'](..._0x57cbdc){const _0x1dc98f=_0x1cddba;var _0x489c3f;if(!this['obj'])throw Error(_0x1dc98f(0x178));let _0x17af68=null;if((_0x489c3f=_0x57cbdc[0x0])===null||_0x489c3f===void 0?void 0:_0x489c3f[_0x1dc98f(0x149)]){const _0x4b3546=_0x57cbdc[0x0];_0x17af68=new webgpu.Quaternion(_0x4b3546['x'],_0x4b3546['y'],_0x4b3546['z'],_0x4b3546['w']);}else typeof _0x57cbdc[0x0]===_0x1dc98f(0x159)&&typeof _0x57cbdc[0x1]===_0x1dc98f(0x159)&&typeof _0x57cbdc[0x2]==='number'&&typeof _0x57cbdc[0x3]===_0x1dc98f(0x159)&&(_0x17af68=new webgpu.Quaternion(_0x57cbdc[0x0],_0x57cbdc[0x1],_0x57cbdc[0x2],_0x57cbdc[0x3]));if(!_0x17af68){console[_0x1dc98f(0x143)](_0x1dc98f(0x165),_0x57cbdc);return;}this[_0x1dc98f(0x174)]['quaternion'][_0x1dc98f(0x180)](_0x17af68);if(!this[_0x1dc98f(0x174)]['matrixAutoUpdate']){const _0xc049cc=new webgpu.Vector3(),_0x3d8254=new webgpu.Quaternion(),_0x454bbb=new webgpu.Vector3();this[_0x1dc98f(0x174)]['matrix'][_0x1dc98f(0x186)](_0xc049cc,_0x3d8254,_0x454bbb),this[_0x1dc98f(0x174)][_0x1dc98f(0x15a)][_0x1dc98f(0x122)](_0xc049cc,_0x17af68,_0x454bbb);}this[_0x1dc98f(0x151)]&&this['world'][_0x1dc98f(0x187)]['markRenderStateDirty'](),this['obj']['updateMatrix'](),this[_0x1dc98f(0x174)][_0x1dc98f(0x157)](!![]);}[_0x1cddba(0x129)](){const _0x5c2ee6=_0x1cddba;if(!this['obj'])throw Error(_0x5c2ee6(0x178));if(this[_0x5c2ee6(0x174)][_0x5c2ee6(0x135)])return this[_0x5c2ee6(0x174)][_0x5c2ee6(0x139)][_0x5c2ee6(0x12d)]();else {const _0xa07c47=new webgpu.Vector3(),_0x75b33a=new webgpu.Quaternion(),_0x583981=new webgpu.Vector3();return this[_0x5c2ee6(0x174)][_0x5c2ee6(0x15a)][_0x5c2ee6(0x186)](_0xa07c47,_0x75b33a,_0x583981),_0x583981;}}['setScale'](..._0x9c1808){const _0x4cdfd0=_0x1cddba;var _0x1ca530;if(!this['obj'])throw Error(_0x4cdfd0(0x178));let _0x9f8c6f=null;if((_0x1ca530=_0x9c1808[0x0])===null||_0x1ca530===void 0?void 0:_0x1ca530[_0x4cdfd0(0x11f)]){const _0x3973c0=_0x9c1808[0x0];_0x9f8c6f=new webgpu.Vector3(_0x3973c0['x'],_0x3973c0['y'],_0x3973c0['z']);}else typeof _0x9c1808[0x0]===_0x4cdfd0(0x159)&&typeof _0x9c1808[0x1]===_0x4cdfd0(0x159)&&typeof _0x9c1808[0x2]===_0x4cdfd0(0x159)&&(_0x9f8c6f=new webgpu.Vector3(_0x9c1808[0x0],_0x9c1808[0x1],_0x9c1808[0x2]));if(!_0x9f8c6f)return;this[_0x4cdfd0(0x174)][_0x4cdfd0(0x139)][_0x4cdfd0(0x180)](_0x9f8c6f),this[_0x4cdfd0(0x174)]['updateMatrix'](),this[_0x4cdfd0(0x174)][_0x4cdfd0(0x157)](!![]),this['world']&&this[_0x4cdfd0(0x151)][_0x4cdfd0(0x187)][_0x4cdfd0(0x185)]();}[_0x1cddba(0x175)](){const _0x5d7782=_0x1cddba;if(!this['obj'])throw Error(_0x5d7782(0x178));return this[_0x5d7782(0x174)][_0x5d7782(0x15a)];}[_0x1cddba(0x182)](_0x328963){const _0x41f272=_0x1cddba;var _0x1f9c85;if(!this[_0x41f272(0x174)])throw Error(_0x41f272(0x178));_0x328963[_0x41f272(0x186)](this[_0x41f272(0x174)][_0x41f272(0x17d)],this[_0x41f272(0x174)][_0x41f272(0x140)],this[_0x41f272(0x174)][_0x41f272(0x139)]),this[_0x41f272(0x174)]['updateMatrix'](),this['obj'][_0x41f272(0x157)](!![]),(_0x1f9c85=this['world'])===null||_0x1f9c85===void 0?void 0:_0x1f9c85[_0x41f272(0x187)]['markRenderStateDirty']();}[_0x1cddba(0x15c)](){const _0x104713=_0x1cddba;if(!this[_0x104713(0x174)])throw Error(_0x104713(0x178));let _0x286caa=new webgpu.Vector3();return this['obj']['getWorldPosition'](_0x286caa),_0x286caa;}[_0x1cddba(0x133)](){const _0x371f92=_0x1cddba;if(!this[_0x371f92(0x174)])throw Error(_0x371f92(0x178));let _0x480e12=new webgpu.Quaternion();return this[_0x371f92(0x174)][_0x371f92(0x15f)](_0x480e12),new webgpu.Euler()[_0x371f92(0x13c)](_0x480e12);}[_0x1cddba(0x15f)](){const _0x45bfcd=_0x1cddba;if(!this[_0x45bfcd(0x174)])throw Error(_0x45bfcd(0x178));let _0x213eb9=new webgpu.Quaternion();return this[_0x45bfcd(0x174)][_0x45bfcd(0x15f)](_0x213eb9),_0x213eb9;}[_0x1cddba(0x173)](){const _0x3449fe=_0x1cddba;if(!this[_0x3449fe(0x174)])throw Error(_0x3449fe(0x178));let _0x3cf529=new webgpu.Vector3();return this[_0x3449fe(0x174)][_0x3449fe(0x173)](_0x3cf529),_0x3cf529;}['getWorldMatrix'](){const _0x3ef6d8=_0x1cddba;if(!this[_0x3ef6d8(0x174)])throw Error('threeObject\x20is\x20invalid');return this[_0x3ef6d8(0x174)]['updateMatrixWorld'](!![]),this[_0x3ef6d8(0x174)][_0x3ef6d8(0x161)][_0x3ef6d8(0x12d)]();}[_0x1cddba(0x166)](_0x2ccd42){const _0x56dc4b=_0x1cddba;if(!this[_0x56dc4b(0x174)])throw Error(_0x56dc4b(0x178));if(this['obj'][_0x56dc4b(0x170)]){this[_0x56dc4b(0x174)][_0x56dc4b(0x170)][_0x56dc4b(0x157)](!![]);const _0x542d56=this[_0x56dc4b(0x174)][_0x56dc4b(0x170)][_0x56dc4b(0x161)]['clone']()[_0x56dc4b(0x131)](),_0x487038=new webgpu.Matrix4()[_0x56dc4b(0x121)](_0x542d56,_0x2ccd42);this[_0x56dc4b(0x182)](_0x487038);}else this['setMatrix'](_0x2ccd42);this[_0x56dc4b(0x174)][_0x56dc4b(0x157)](!![]),this[_0x56dc4b(0x151)]&&this[_0x56dc4b(0x151)][_0x56dc4b(0x187)][_0x56dc4b(0x185)]();}[_0x1cddba(0x158)](){const _0x4038a7=_0x1cddba;if(!this[_0x4038a7(0x174)])throw Error(_0x4038a7(0x178));let _0x3a810a=new webgpu.Vector3();return this[_0x4038a7(0x174)][_0x4038a7(0x154)](_0x3a810a),_0x3a810a;}['getWorldUpDirection'](){const _0x50358a=_0x1cddba;if(!this[_0x50358a(0x174)])throw Error('threeObject\x20is\x20invalid');let _0x57d7b0=new webgpu.Vector3(0x0,0x1,0x0);return _0x57d7b0[_0x50358a(0x184)](this['getWorldQuaternion']()),_0x57d7b0;}['getWorldRightDirection'](){const _0x7b6107=_0x1cddba;if(!this[_0x7b6107(0x174)])throw Error(_0x7b6107(0x178));let _0xec5acd=new webgpu.Vector3(0x1,0x0,0x0);return _0xec5acd[_0x7b6107(0x184)](this['getWorldQuaternion']()),_0xec5acd;}[_0x1cddba(0x144)](_0x50004e){const _0x1c141d=_0x1cddba;if(!this[_0x1c141d(0x174)])throw Error(_0x1c141d(0x178));return this[_0x1c141d(0x174)][_0x1c141d(0x144)](_0x50004e);}[_0x1cddba(0x176)](_0x5b5b74){const _0x40a588=_0x1cddba;if(!this[_0x40a588(0x174)])throw Error(_0x40a588(0x178));return this[_0x40a588(0x174)][_0x40a588(0x176)](_0x5b5b74);}['attachComponent'](_0x110f64){const _0x6f4609=_0x1cddba;if(!this['obj'])throw Error(_0x6f4609(0x178));if(!_0x110f64[_0x6f4609(0x13a)])throw Error(_0x6f4609(0x146));this['obj'][_0x6f4609(0x134)](_0x110f64[_0x6f4609(0x13a)]),this[_0x6f4609(0x151)]&&_0x110f64[_0x6f4609(0x132)](this['world']);}['detachComponent'](_0x296153){const _0x5bb72d=_0x1cddba;if(!this[_0x5bb72d(0x174)])throw Error(_0x5bb72d(0x178));if(!_0x296153[_0x5bb72d(0x13a)])throw Error(_0x5bb72d(0x16c));this['obj'][_0x5bb72d(0x181)](_0x296153[_0x5bb72d(0x13a)]);}[_0x1cddba(0x12c)](_0x58b634,_0x5a376f=exports.AttachmentRules['KeepRelative']){const _0x1327b7=_0x1cddba;if(!this[_0x1327b7(0x174)])throw Error(_0x1327b7(0x178));if(!_0x58b634[_0x1327b7(0x13a)])throw Error(_0x1327b7(0x146));_0x58b634['parentActor']=this[_0x1327b7(0x11c)];if(_0x5a376f===exports.AttachmentRules[_0x1327b7(0x14d)]){let _0x5d5c08=_0x58b634[_0x1327b7(0x171)]();this[_0x1327b7(0x174)][_0x1327b7(0x134)](_0x58b634[_0x1327b7(0x13a)]),_0x58b634[_0x1327b7(0x166)](_0x5d5c08);}else this[_0x1327b7(0x174)]['add'](_0x58b634['threeObject']);this[_0x1327b7(0x151)]&&_0x58b634[_0x1327b7(0x132)](this[_0x1327b7(0x151)]),this['obj'][_0x1327b7(0x116)](),this['obj'][_0x1327b7(0x157)](!![]);}[_0x1cddba(0x136)](_0x86f6c7){const _0x38fe23=_0x1cddba;if(!this[_0x38fe23(0x174)])throw Error(_0x38fe23(0x178));if(!_0x86f6c7[_0x38fe23(0x13a)])throw Error(_0x38fe23(0x147));this[_0x38fe23(0x174)][_0x38fe23(0x181)](_0x86f6c7[_0x38fe23(0x13a)]);}[_0x1cddba(0x169)](){const _0xcbe4af=_0x1cddba;this['parentComponent']&&this[_0xcbe4af(0x163)][_0xcbe4af(0x136)](this);}[_0x1cddba(0x17e)](){const _0xd5ab65=_0x1cddba;this[_0xd5ab65(0x11c)]&&(this['parentActor']=null);}['destroyChildren'](){const _0x579475=_0x1cddba;var _0x597d1c;if(!this[_0x579475(0x174)])return;let _0x7d2c3b=[];for(let _0x5ba1ee=0x0;_0x5ba1ee<this[_0x579475(0x174)][_0x579475(0x177)][_0x579475(0x11a)];++_0x5ba1ee){let _0x8162a7=(_0x597d1c=this[_0x579475(0x174)][_0x579475(0x177)][_0x5ba1ee][_0x579475(0x12a)])===null||_0x597d1c===void 0?void 0:_0x597d1c[_0x579475(0x156)];_0x8162a7&&_0x7d2c3b[_0x579475(0x124)](_0x8162a7);}_0x7d2c3b[_0x579475(0x14c)](_0x184a3e=>{const _0x37d3b8=_0x579475;_0x184a3e[_0x37d3b8(0x14f)]();}),_0x7d2c3b=[];}set[_0x1cddba(0x150)](_0x43191c){const _0x141576=_0x1cddba;this[_0x141576(0x189)]=_0x43191c;let _0x218eda=this[_0x141576(0x12f)];for(let _0x9f1a7d=0x0;_0x9f1a7d<_0x218eda['length'];++_0x9f1a7d){_0x218eda[_0x9f1a7d][_0x141576(0x150)]=this[_0x141576(0x189)];}}get[_0x1cddba(0x150)](){return this['bCanHover'];}set[_0x1cddba(0x152)](_0x1e1ddc){const _0x4a3eae=_0x1cddba;this['bCanClick']=_0x1e1ddc;let _0x2ef8ee=this['childrenComponents'];for(let _0x433dd3=0x0;_0x433dd3<_0x2ef8ee['length'];++_0x433dd3){_0x2ef8ee[_0x433dd3][_0x4a3eae(0x152)]=this[_0x4a3eae(0x16d)];}}get[_0x1cddba(0x152)](){return this['bCanClick'];}[_0x1cddba(0x160)](){const _0x523986=_0x1cddba;this['_onHoverBeginDelegate'][_0x523986(0x168)]();}[_0x1cddba(0x15b)](){const _0x5bb9d3=_0x1cddba;this[_0x5bb9d3(0x16f)][_0x5bb9d3(0x168)]();}[_0x1cddba(0x17b)](){const _0x444d03=_0x1cddba;this[_0x444d03(0x138)][_0x444d03(0x168)]();}[_0x1cddba(0x13f)](){const _0x24491d=_0x1cddba;this[_0x24491d(0x153)][_0x24491d(0x168)]();}}
|
|
30
|
+
const _0x2164b4=_0x3dc7;function _0x53c9(){const _0x190fdb=['_onHoverBeginDelegate','getWorldDirection','add','isEuler','setPosition','setQuaternion\x20failed,param\x20is\x20invalid','_onDoubleClickDelegate','onClicked','isVector3','length','getBoundsBottomCenterPositionWS','decompose','copy','threeObject','onAddedToWorld','parentComponent','children','LYObject','rotation','set','destroyChildren','userData','isVisible','multiplyMatrices','min','getWorldRotation','forEach','isClickEnabled','setFromQuaternion','matrixAutoUpdate','updateMatrix','926388yuPHyo','applyQuaternion','getBoundsTopCenterPositionWS','setWorldMatrix','world','getBoundsCenterPositionWS','getWorldUpDirection','number','_onHoverEndDelegate','invert','getComponentById','scale','getPosition','21954bYQQxC','getMatrix','455EBpESN','839768fjBcMq','getWorldQuaternion','name','KeepRelative','getBounds','worldToLocal','detachFromParentComponent','target\x20threeObject\x20is\x20invalid','_onClickDelegate','642552zWlNjN','setRotation','getWorldPosition','onHoverBeginDelegate','updateMatrixWorld','detachComponent','tick','detachFromParentActor','onDoubleClicked','getQuaternion','matrixWorld','layers','clone','quaternion','error','newComponent\x20threeObject\x20is\x20invalid','getRotation','getScale','destroyObject','onHorveringEnd','onDoubleClickDelegate','63132dKvasV','markRenderStateDirty','compose','4962915sUtvNO','getWorldScale','getWorldForwardDirection','bCanHover','633536qiYLkU','childrenComponents','SceneComponent','destroy','threeObject\x20is\x20invalid','_parentActor','matrix','276uzZpIF','removeChildComponent','getWorldMatrix','addChildComponent','isHoverEnabled','remove','30uqLXpI','push','max','isQuaternion','visible','setMatrix','setLayers','broadcast','viewport','app','setQuaternion','getWorldRightDirection','onHorveringBegin','isEmpty','parentActor','order','setFromObject','KeepWorld','parent','obj','bCanClick'];_0x53c9=function(){return _0x190fdb;};return _0x53c9();}(function(_0x36290a,_0x716a95){const _0x6742b8=_0x3dc7,_0x4a799e=_0x36290a();while(!![]){try{const _0x5206ff=parseInt(_0x6742b8(0x100))/0x1+-parseInt(_0x6742b8(0xfd))/0x2*(-parseInt(_0x6742b8(0x12c))/0x3)+parseInt(_0x6742b8(0x125))/0x4+-parseInt(_0x6742b8(0x121))/0x5+-parseInt(_0x6742b8(0x11e))/0x6*(parseInt(_0x6742b8(0xff))/0x7)+-parseInt(_0x6742b8(0x109))/0x8+parseInt(_0x6742b8(0xf0))/0x9*(parseInt(_0x6742b8(0x132))/0xa);if(_0x5206ff===_0x716a95)break;else _0x4a799e['push'](_0x4a799e['shift']());}catch(_0x12189c){_0x4a799e['push'](_0x4a799e['shift']());}}}(_0x53c9,0x88b80));function _0x3dc7(_0x485fe1,_0x47aa2a){_0x485fe1=_0x485fe1-0xc6;const _0x53c9f4=_0x53c9();let _0x3dc759=_0x53c9f4[_0x485fe1];return _0x3dc759;}class SceneComponent extends Component{set[_0x2164b4(0xca)](_0x5db9b1){const _0x3bc573=_0x2164b4;this[_0x3bc573(0x126)][_0x3bc573(0xeb)](_0x22e6cc=>{const _0x481848=_0x3bc573;_0x22e6cc[_0x481848(0xca)]=_0x5db9b1;}),this[_0x3bc573(0x12a)]=_0x5db9b1;}get[_0x2164b4(0xca)](){const _0x2606fd=_0x2164b4;return this[_0x2606fd(0x12a)];}get[_0x2164b4(0x10c)](){const _0x3bbe55=_0x2164b4;return this[_0x3bbe55(0xd1)];}get['onHoverEndDelegate'](){return this['_onHoverEndDelegate'];}get['onClickDelegate'](){const _0x1cdb95=_0x2164b4;return this[_0x1cdb95(0x108)];}get[_0x2164b4(0x11d)](){const _0x58aa25=_0x2164b4;return this[_0x58aa25(0xd7)];}get['world'](){const _0x54674e=_0x2164b4;return this[_0x54674e(0x13b)][_0x54674e(0xf4)];}constructor(_0x5b08f2,_0x10691d){const _0x40749c=_0x2164b4;super(_0x10691d),this[_0x40749c(0x124)]=![],this[_0x40749c(0xd0)]=![],this['_onHoverBeginDelegate']=new Delegate(),this[_0x40749c(0xf8)]=new Delegate(),this['_onClickDelegate']=new Delegate(),this[_0x40749c(0xd7)]=new Delegate(),this['app']=_0x5b08f2,this[_0x40749c(0x102)]=_0x40749c(0x127);}['createDefaultObject'](){return new webgpu.Object3D();}[_0x2164b4(0x10f)](_0x18f636){const _0x2000c3=_0x2164b4;super['tick'](_0x18f636),this[_0x2000c3(0x126)]['forEach'](_0x522eb5=>{const _0x4f81cf=_0x2000c3;_0x522eb5[_0x4f81cf(0x10f)](_0x18f636);});}get[_0x2164b4(0xe7)](){const _0xac7f34=_0x2164b4;if(!this['obj'])return ![];return this['obj'][_0xac7f34(0x136)];}['setVisible'](_0x42f02f){const _0x38798d=_0x2164b4;if(!this[_0x38798d(0xcf)])throw Error(_0x38798d(0x129));this[_0x38798d(0xcf)][_0x38798d(0x136)]=_0x42f02f,this[_0x38798d(0xf4)]&&this[_0x38798d(0xf4)][_0x38798d(0x13a)]['markRenderStateDirty']();}['setLayers'](_0x4f82ac){const _0x543662=_0x2164b4;if(!this[_0x543662(0xcf)])throw Error(_0x543662(0x129));this[_0x543662(0xcf)][_0x543662(0x114)][_0x543662(0xe4)](_0x4f82ac);let _0x284ece=this[_0x543662(0x126)];_0x284ece[_0x543662(0xeb)](_0x1a8cec=>{const _0x50dedc=_0x543662;_0x1a8cec[_0x50dedc(0x138)](_0x4f82ac);});}['getComponentById'](_0x3183b8,_0x3d3ce4=!![]){const _0x587d99=_0x2164b4;if(this['uuid']===_0x3183b8)return this;if(_0x3d3ce4){let _0x32c7c1=this[_0x587d99(0x126)];for(let _0x3eb279=0x0;_0x3eb279<_0x32c7c1[_0x587d99(0xda)];++_0x3eb279){let _0x316932=_0x32c7c1[_0x3eb279][_0x587d99(0xfa)](_0x3183b8,_0x3d3ce4);if(_0x316932)return _0x316932;}}else {let _0x4e0f98=this['childrenComponents'];for(let _0x47e089=0x0;_0x47e089<_0x4e0f98['length'];++_0x47e089){let _0x1b2d0b=_0x4e0f98[_0x47e089];if(_0x1b2d0b['uuid']===_0x3183b8)return _0x1b2d0b;}}return null;}[_0x2164b4(0xf5)](){const _0x52a732=_0x2164b4;let _0x574201=new webgpu.Vector3();return this[_0x52a732(0x104)]()['getCenter'](_0x574201),this[_0x52a732(0x10b)]();}[_0x2164b4(0xf2)](){const _0x253181=_0x2164b4;let _0x4896d1=new webgpu.Vector3(),_0x35bfea=this[_0x253181(0x104)]();return _0x35bfea['getCenter'](_0x4896d1),_0x4896d1['y']=_0x35bfea[_0x253181(0x134)]['y'],_0x4896d1;}[_0x2164b4(0xdb)](){const _0x414708=_0x2164b4;let _0x1da871=new webgpu.Vector3(),_0x29c85=this['getBounds']();return _0x29c85['getCenter'](_0x1da871),_0x1da871['y']=_0x29c85[_0x414708(0xe9)]['y'],_0x1da871;}[_0x2164b4(0x104)](){const _0x3ffaec=_0x2164b4;if(!this[_0x3ffaec(0xcf)])throw Error(_0x3ffaec(0x129));let _0x34c2e5=new webgpu.Box3();return _0x34c2e5[_0x3ffaec(0xcc)](this[_0x3ffaec(0xcf)],![]),_0x34c2e5[_0x3ffaec(0xc9)]()&&(_0x34c2e5[_0x3ffaec(0xe9)]=_0x34c2e5['max']=this[_0x3ffaec(0x10b)]()),_0x34c2e5;}get[_0x2164b4(0xe0)](){const _0x176cf8=_0x2164b4;var _0x66555e,_0x2ac6ce;if(!this['obj'])throw Error(_0x176cf8(0x129));let _0x220c3a=(_0x2ac6ce=(_0x66555e=this[_0x176cf8(0xcf)])===null||_0x66555e===void 0?void 0:_0x66555e[_0x176cf8(0xce)])===null||_0x2ac6ce===void 0?void 0:_0x2ac6ce['userData']['LYObject'];if(!_0x220c3a)return null;if(!(_0x220c3a instanceof SceneComponent))return null;if(_0x220c3a[_0x176cf8(0xca)]!==this[_0x176cf8(0xca)])return null;return _0x220c3a;}get[_0x2164b4(0x126)](){const _0x23d3c1=_0x2164b4;if(!this[_0x23d3c1(0xcf)])throw Error(_0x23d3c1(0x129));let _0x1fac43=[];for(let _0x473846=0x0;_0x473846<this[_0x23d3c1(0xcf)][_0x23d3c1(0xe1)][_0x23d3c1(0xda)];++_0x473846){if(!this['obj'][_0x23d3c1(0xe1)][_0x473846][_0x23d3c1(0xe6)]['LYObject'])continue;this[_0x23d3c1(0xcf)][_0x23d3c1(0xe1)][_0x473846][_0x23d3c1(0xe6)][_0x23d3c1(0xe2)][_0x23d3c1(0xca)]===this['parentActor']&&_0x1fac43[_0x23d3c1(0x133)](this[_0x23d3c1(0xcf)][_0x23d3c1(0xe1)][_0x473846][_0x23d3c1(0xe6)]['LYObject']);}return _0x1fac43;}[_0x2164b4(0xdf)](_0x273b46){const _0x46efb1=_0x2164b4;let _0x33153c=this[_0x46efb1(0x126)];for(let _0x4a501a=0x0;_0x4a501a<_0x33153c['length'];++_0x4a501a){_0x33153c[_0x4a501a][_0x46efb1(0xdf)](_0x273b46);}}[_0x2164b4(0x128)](){const _0x3c97b2=_0x2164b4;this[_0x3c97b2(0x130)]=![],this[_0x3c97b2(0xec)]=![],this[_0x3c97b2(0x110)](),this[_0x3c97b2(0x106)](),this['destroyChildren'](),this['destroyObject'](),this[_0x3c97b2(0xf4)]&&this['world']['viewport'][_0x3c97b2(0x11f)]();}['destroyObject'](){const _0x4cd686=_0x2164b4;if(!this[_0x4cd686(0xcf)])return;this[_0x4cd686(0xcf)][_0x4cd686(0xce)]&&this['obj'][_0x4cd686(0xce)][_0x4cd686(0x131)](this['obj']),super[_0x4cd686(0x11b)]();}[_0x2164b4(0xfc)](){const _0x4a4fc2=_0x2164b4;if(!this[_0x4a4fc2(0xcf)])throw Error(_0x4a4fc2(0x129));if(this[_0x4a4fc2(0xcf)][_0x4a4fc2(0xee)])return this[_0x4a4fc2(0xcf)]['position'][_0x4a4fc2(0x115)]();else {const _0x3369f1=new webgpu.Vector3(),_0x19e5ae=new webgpu.Quaternion(),_0x18031a=new webgpu.Vector3();return this[_0x4a4fc2(0xcf)]['matrix'][_0x4a4fc2(0xdc)](_0x3369f1,_0x19e5ae,_0x18031a),_0x3369f1;}}[_0x2164b4(0xd5)](..._0x3ec14e){const _0x163f1a=_0x2164b4;var _0x1760c1;if(!this['obj'])throw Error(_0x163f1a(0x129));let _0x465de6=null;if(_0x3ec14e[_0x163f1a(0xda)]===0x1&&((_0x1760c1=_0x3ec14e[0x0])===null||_0x1760c1===void 0?void 0:_0x1760c1[_0x163f1a(0xd9)])){const _0x26e8d1=_0x3ec14e[0x0];_0x465de6=new webgpu.Vector3(_0x26e8d1['x'],_0x26e8d1['y'],_0x26e8d1['z']);}else _0x3ec14e[_0x163f1a(0xda)]===0x3&&typeof _0x3ec14e[0x0]==='number'&&typeof _0x3ec14e[0x1]===_0x163f1a(0xf7)&&typeof _0x3ec14e[0x2]===_0x163f1a(0xf7)&&(_0x465de6=new webgpu.Vector3(_0x3ec14e[0x0],_0x3ec14e[0x1],_0x3ec14e[0x2]));if(!_0x465de6)return;this[_0x163f1a(0xcf)]['position'][_0x163f1a(0xdd)](_0x465de6),!this[_0x163f1a(0xcf)][_0x163f1a(0xee)]&&this[_0x163f1a(0xcf)]['matrix'][_0x163f1a(0xd5)](_0x465de6['x'],_0x465de6['y'],_0x465de6['z']),this['obj'][_0x163f1a(0xef)](),this[_0x163f1a(0xcf)][_0x163f1a(0x10d)](!![]),this['world']&&this[_0x163f1a(0xf4)][_0x163f1a(0x13a)][_0x163f1a(0x11f)]();}[_0x2164b4(0x119)](){const _0x333d20=_0x2164b4;if(!this[_0x333d20(0xcf)])throw Error(_0x333d20(0x129));if(this['obj'][_0x333d20(0xee)])return this[_0x333d20(0xcf)][_0x333d20(0xe3)][_0x333d20(0x115)]();else {const _0x4fee56=new webgpu.Vector3(),_0x1d777b=new webgpu.Quaternion(),_0x861a16=new webgpu.Vector3();return this['obj']['matrix'][_0x333d20(0xdc)](_0x4fee56,_0x1d777b,_0x861a16),new webgpu.Euler()[_0x333d20(0xed)](_0x1d777b);}}[_0x2164b4(0x10a)](..._0x2c41bb){const _0x42bc9c=_0x2164b4;var _0x50eb8a;if(!this[_0x42bc9c(0xcf)])throw Error(_0x42bc9c(0x129));let _0x8359ef=null;if((_0x50eb8a=_0x2c41bb[0x0])===null||_0x50eb8a===void 0?void 0:_0x50eb8a[_0x42bc9c(0xd4)]){const _0x37f8d8=_0x2c41bb[0x0];_0x8359ef=new webgpu.Euler(_0x37f8d8['x'],_0x37f8d8['y'],_0x37f8d8['z'],_0x37f8d8[_0x42bc9c(0xcb)]);}else typeof _0x2c41bb[0x0]==='number'&&typeof _0x2c41bb[0x1]===_0x42bc9c(0xf7)&&typeof _0x2c41bb[0x2]===_0x42bc9c(0xf7)&&(_0x8359ef=new webgpu.Euler(_0x2c41bb[0x0],_0x2c41bb[0x1],_0x2c41bb[0x2]));if(!_0x8359ef)return;this[_0x42bc9c(0xcf)][_0x42bc9c(0xe3)][_0x42bc9c(0xdd)](_0x8359ef),this['obj'][_0x42bc9c(0xef)](),this[_0x42bc9c(0xcf)][_0x42bc9c(0x10d)](!![]),this[_0x42bc9c(0xf4)]&&this[_0x42bc9c(0xf4)][_0x42bc9c(0x13a)]['markRenderStateDirty']();}[_0x2164b4(0x112)](){const _0x1082e7=_0x2164b4;if(!this[_0x1082e7(0xcf)])throw Error(_0x1082e7(0x129));if(this['obj'][_0x1082e7(0xee)])return this[_0x1082e7(0xcf)]['quaternion'][_0x1082e7(0x115)]();else {const _0x5dae9c=new webgpu.Vector3(),_0x4e2c71=new webgpu.Quaternion(),_0x1aaaa1=new webgpu.Vector3();return this[_0x1082e7(0xcf)][_0x1082e7(0x12b)][_0x1082e7(0xdc)](_0x5dae9c,_0x4e2c71,_0x1aaaa1),_0x4e2c71;}}[_0x2164b4(0xc6)](..._0x1a6c76){const _0x109be2=_0x2164b4;var _0x103a7d;if(!this['obj'])throw Error(_0x109be2(0x129));let _0x3b2678=null;if((_0x103a7d=_0x1a6c76[0x0])===null||_0x103a7d===void 0?void 0:_0x103a7d[_0x109be2(0x135)]){const _0x12f13c=_0x1a6c76[0x0];_0x3b2678=new webgpu.Quaternion(_0x12f13c['x'],_0x12f13c['y'],_0x12f13c['z'],_0x12f13c['w']);}else typeof _0x1a6c76[0x0]==='number'&&typeof _0x1a6c76[0x1]===_0x109be2(0xf7)&&typeof _0x1a6c76[0x2]===_0x109be2(0xf7)&&typeof _0x1a6c76[0x3]===_0x109be2(0xf7)&&(_0x3b2678=new webgpu.Quaternion(_0x1a6c76[0x0],_0x1a6c76[0x1],_0x1a6c76[0x2],_0x1a6c76[0x3]));if(!_0x3b2678){console[_0x109be2(0x117)](_0x109be2(0xd6),_0x1a6c76);return;}this['obj'][_0x109be2(0x116)][_0x109be2(0xdd)](_0x3b2678);if(!this[_0x109be2(0xcf)][_0x109be2(0xee)]){const _0x414a6b=new webgpu.Vector3(),_0x2d99e9=new webgpu.Quaternion(),_0x7264eb=new webgpu.Vector3();this['obj']['matrix'][_0x109be2(0xdc)](_0x414a6b,_0x2d99e9,_0x7264eb),this[_0x109be2(0xcf)][_0x109be2(0x12b)][_0x109be2(0x120)](_0x414a6b,_0x3b2678,_0x7264eb);}this[_0x109be2(0xf4)]&&this[_0x109be2(0xf4)][_0x109be2(0x13a)][_0x109be2(0x11f)](),this[_0x109be2(0xcf)]['updateMatrix'](),this['obj']['updateMatrixWorld'](!![]);}[_0x2164b4(0x11a)](){const _0x49f124=_0x2164b4;if(!this[_0x49f124(0xcf)])throw Error(_0x49f124(0x129));if(this[_0x49f124(0xcf)][_0x49f124(0xee)])return this['obj'][_0x49f124(0xfb)][_0x49f124(0x115)]();else {const _0x164304=new webgpu.Vector3(),_0x1e0add=new webgpu.Quaternion(),_0x1d470f=new webgpu.Vector3();return this[_0x49f124(0xcf)]['matrix'][_0x49f124(0xdc)](_0x164304,_0x1e0add,_0x1d470f),_0x1d470f;}}['setScale'](..._0x48139a){const _0x5ae96f=_0x2164b4;var _0x571ca0;if(!this['obj'])throw Error(_0x5ae96f(0x129));let _0x5c897b=null;if((_0x571ca0=_0x48139a[0x0])===null||_0x571ca0===void 0?void 0:_0x571ca0[_0x5ae96f(0xd9)]){const _0x3bb6be=_0x48139a[0x0];_0x5c897b=new webgpu.Vector3(_0x3bb6be['x'],_0x3bb6be['y'],_0x3bb6be['z']);}else typeof _0x48139a[0x0]===_0x5ae96f(0xf7)&&typeof _0x48139a[0x1]===_0x5ae96f(0xf7)&&typeof _0x48139a[0x2]===_0x5ae96f(0xf7)&&(_0x5c897b=new webgpu.Vector3(_0x48139a[0x0],_0x48139a[0x1],_0x48139a[0x2]));if(!_0x5c897b)return;this[_0x5ae96f(0xcf)]['scale']['copy'](_0x5c897b),this[_0x5ae96f(0xcf)][_0x5ae96f(0xef)](),this[_0x5ae96f(0xcf)][_0x5ae96f(0x10d)](!![]),this[_0x5ae96f(0xf4)]&&this['world'][_0x5ae96f(0x13a)][_0x5ae96f(0x11f)]();}[_0x2164b4(0xfe)](){const _0x31087c=_0x2164b4;if(!this[_0x31087c(0xcf)])throw Error('threeObject\x20is\x20invalid');return this[_0x31087c(0xcf)][_0x31087c(0x12b)];}[_0x2164b4(0x137)](_0x911eda){const _0x2ed2b6=_0x2164b4;var _0x5bb817;if(!this[_0x2ed2b6(0xcf)])throw Error(_0x2ed2b6(0x129));_0x911eda[_0x2ed2b6(0xdc)](this[_0x2ed2b6(0xcf)]['position'],this[_0x2ed2b6(0xcf)][_0x2ed2b6(0x116)],this[_0x2ed2b6(0xcf)][_0x2ed2b6(0xfb)]),this[_0x2ed2b6(0xcf)][_0x2ed2b6(0xef)](),this[_0x2ed2b6(0xcf)][_0x2ed2b6(0x10d)](!![]),(_0x5bb817=this[_0x2ed2b6(0xf4)])===null||_0x5bb817===void 0?void 0:_0x5bb817[_0x2ed2b6(0x13a)]['markRenderStateDirty']();}[_0x2164b4(0x10b)](){const _0x55cb3e=_0x2164b4;if(!this[_0x55cb3e(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x1b7458=new webgpu.Vector3();return this[_0x55cb3e(0xcf)][_0x55cb3e(0x10b)](_0x1b7458),_0x1b7458;}[_0x2164b4(0xea)](){const _0x4a2805=_0x2164b4;if(!this[_0x4a2805(0xcf)])throw Error(_0x4a2805(0x129));let _0x28e5cd=new webgpu.Quaternion();return this[_0x4a2805(0xcf)][_0x4a2805(0x101)](_0x28e5cd),new webgpu.Euler()['setFromQuaternion'](_0x28e5cd);}[_0x2164b4(0x101)](){const _0x11c931=_0x2164b4;if(!this[_0x11c931(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x291779=new webgpu.Quaternion();return this[_0x11c931(0xcf)][_0x11c931(0x101)](_0x291779),_0x291779;}['getWorldScale'](){const _0x4cb418=_0x2164b4;if(!this[_0x4cb418(0xcf)])throw Error(_0x4cb418(0x129));let _0x4ea0d2=new webgpu.Vector3();return this['obj'][_0x4cb418(0x122)](_0x4ea0d2),_0x4ea0d2;}[_0x2164b4(0x12e)](){const _0x3c72f1=_0x2164b4;if(!this[_0x3c72f1(0xcf)])throw Error(_0x3c72f1(0x129));return this['obj'][_0x3c72f1(0x10d)](!![]),this[_0x3c72f1(0xcf)][_0x3c72f1(0x113)][_0x3c72f1(0x115)]();}[_0x2164b4(0xf3)](_0x362cd9){const _0x367ee7=_0x2164b4;if(!this[_0x367ee7(0xcf)])throw Error(_0x367ee7(0x129));if(this['obj'][_0x367ee7(0xce)]){this[_0x367ee7(0xcf)][_0x367ee7(0xce)][_0x367ee7(0x10d)](!![]);const _0x7e8f11=this['obj'][_0x367ee7(0xce)]['matrixWorld'][_0x367ee7(0x115)]()[_0x367ee7(0xf9)](),_0x139eed=new webgpu.Matrix4()[_0x367ee7(0xe8)](_0x7e8f11,_0x362cd9);this[_0x367ee7(0x137)](_0x139eed);}else this[_0x367ee7(0x137)](_0x362cd9);this[_0x367ee7(0xcf)][_0x367ee7(0x10d)](!![]),this[_0x367ee7(0xf4)]&&this[_0x367ee7(0xf4)]['viewport'][_0x367ee7(0x11f)]();}[_0x2164b4(0x123)](){const _0x256383=_0x2164b4;if(!this[_0x256383(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x46c06c=new webgpu.Vector3();return this[_0x256383(0xcf)][_0x256383(0xd2)](_0x46c06c),_0x46c06c;}[_0x2164b4(0xf6)](){const _0x2a8e29=_0x2164b4;if(!this[_0x2a8e29(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x15c8ab=new webgpu.Vector3(0x0,0x1,0x0);return _0x15c8ab[_0x2a8e29(0xf1)](this[_0x2a8e29(0x101)]()),_0x15c8ab;}[_0x2164b4(0xc7)](){const _0x342a51=_0x2164b4;if(!this[_0x342a51(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x4bc533=new webgpu.Vector3(0x1,0x0,0x0);return _0x4bc533[_0x342a51(0xf1)](this[_0x342a51(0x101)]()),_0x4bc533;}[_0x2164b4(0x105)](_0x183e69){const _0x2b6822=_0x2164b4;if(!this[_0x2b6822(0xcf)])throw Error(_0x2b6822(0x129));return this['obj']['worldToLocal'](_0x183e69);}['localToWorld'](_0x2b4281){const _0x49f004=_0x2164b4;if(!this[_0x49f004(0xcf)])throw Error(_0x49f004(0x129));return this['obj']['localToWorld'](_0x2b4281);}['attachComponent'](_0x4d831e){const _0x10d8b3=_0x2164b4;if(!this[_0x10d8b3(0xcf)])throw Error(_0x10d8b3(0x129));if(!_0x4d831e[_0x10d8b3(0xde)])throw Error(_0x10d8b3(0x118));this[_0x10d8b3(0xcf)][_0x10d8b3(0xd3)](_0x4d831e['threeObject']),this['world']&&_0x4d831e['onAddedToWorld'](this[_0x10d8b3(0xf4)]);}[_0x2164b4(0x10e)](_0x511f8d){const _0x142ae8=_0x2164b4;if(!this[_0x142ae8(0xcf)])throw Error('threeObject\x20is\x20invalid');if(!_0x511f8d[_0x142ae8(0xde)])throw Error(_0x142ae8(0x107));this['obj'][_0x142ae8(0x131)](_0x511f8d[_0x142ae8(0xde)]);}[_0x2164b4(0x12f)](_0x4a6d37,_0x571756=exports.AttachmentRules[_0x2164b4(0x103)]){const _0x2b7431=_0x2164b4;if(!this[_0x2b7431(0xcf)])throw Error(_0x2b7431(0x129));if(!_0x4a6d37[_0x2b7431(0xde)])throw Error(_0x2b7431(0x118));_0x4a6d37['parentActor']=this[_0x2b7431(0xca)];if(_0x571756===exports.AttachmentRules[_0x2b7431(0xcd)]){let _0x2ce870=_0x4a6d37['getWorldMatrix']();this[_0x2b7431(0xcf)]['add'](_0x4a6d37['threeObject']),_0x4a6d37[_0x2b7431(0xf3)](_0x2ce870);}else this[_0x2b7431(0xcf)][_0x2b7431(0xd3)](_0x4a6d37[_0x2b7431(0xde)]);this[_0x2b7431(0xf4)]&&_0x4a6d37[_0x2b7431(0xdf)](this[_0x2b7431(0xf4)]),this[_0x2b7431(0xcf)]['updateMatrix'](),this[_0x2b7431(0xcf)]['updateMatrixWorld'](!![]);}[_0x2164b4(0x12d)](_0x9e8352){const _0x56f87a=_0x2164b4;if(!this[_0x56f87a(0xcf)])throw Error(_0x56f87a(0x129));if(!_0x9e8352[_0x56f87a(0xde)])throw Error('targetComponent\x20threeObject\x20is\x20invalid');this[_0x56f87a(0xcf)][_0x56f87a(0x131)](_0x9e8352[_0x56f87a(0xde)]);}[_0x2164b4(0x106)](){const _0x47e621=_0x2164b4;this[_0x47e621(0xe0)]&&this[_0x47e621(0xe0)][_0x47e621(0x12d)](this);}[_0x2164b4(0x110)](){const _0x2f881=_0x2164b4;this[_0x2f881(0xca)]&&(this[_0x2f881(0xca)]=null);}[_0x2164b4(0xe5)](){const _0x154cd7=_0x2164b4;var _0x5383af;if(!this[_0x154cd7(0xcf)])return;let _0x2c7eb6=[];for(let _0x357e7e=0x0;_0x357e7e<this['obj'][_0x154cd7(0xe1)][_0x154cd7(0xda)];++_0x357e7e){let _0x5cc6b6=(_0x5383af=this[_0x154cd7(0xcf)]['children'][_0x357e7e][_0x154cd7(0xe6)])===null||_0x5383af===void 0?void 0:_0x5383af[_0x154cd7(0xe2)];_0x5cc6b6&&_0x2c7eb6[_0x154cd7(0x133)](_0x5cc6b6);}_0x2c7eb6[_0x154cd7(0xeb)](_0x1e3c68=>{_0x1e3c68['destroy']();}),_0x2c7eb6=[];}set[_0x2164b4(0x130)](_0x413455){const _0x41740d=_0x2164b4;this[_0x41740d(0x124)]=_0x413455;let _0x31af1e=this['childrenComponents'];for(let _0x482100=0x0;_0x482100<_0x31af1e[_0x41740d(0xda)];++_0x482100){_0x31af1e[_0x482100][_0x41740d(0x130)]=this[_0x41740d(0x124)];}}get[_0x2164b4(0x130)](){const _0x3a75e7=_0x2164b4;return this[_0x3a75e7(0x124)];}set[_0x2164b4(0xec)](_0x17aee8){const _0x37897a=_0x2164b4;this[_0x37897a(0xd0)]=_0x17aee8;let _0x5e3970=this[_0x37897a(0x126)];for(let _0x2ab979=0x0;_0x2ab979<_0x5e3970[_0x37897a(0xda)];++_0x2ab979){_0x5e3970[_0x2ab979]['isClickEnabled']=this['bCanClick'];}}get[_0x2164b4(0xec)](){const _0x25b4e6=_0x2164b4;return this[_0x25b4e6(0xd0)];}[_0x2164b4(0xc8)](){const _0x4f29ef=_0x2164b4;this[_0x4f29ef(0xd1)][_0x4f29ef(0x139)]();}[_0x2164b4(0x11c)](){this['_onHoverEndDelegate']['broadcast']();}[_0x2164b4(0xd8)](){this['_onClickDelegate']['broadcast']();}[_0x2164b4(0x111)](){const _0x1579a2=_0x2164b4;this[_0x1579a2(0xd7)][_0x1579a2(0x139)]();}}
|
|
31
31
|
|
|
32
|
-
const
|
|
32
|
+
const _0x3c774b=_0x502a;function _0x27ac(){const _0x520d9e=['isArray','material','addRef','min','getBoundsCenterPosition','_geometryPtr','receiveShadow','10GIWzeg','getBounds','addMaterialAsset','getBoundsBottomCenterPosition','materialPtr','396499pLEZFh','368650XwqIpB','_materialPtr','release','146922XxomiC','addGeometryAsset','geometryPtr','geometryPtr\x20is\x20null','1336200JdLWKJ','geometry','assetManager','obj','getBoundsTopCenterPosition','destroyObject','app','threeObject','max','26YQnGiN','userData','castShadow','301mhgivG','218440IotdwM','forEach','getCenter','79446LHIcYR','length','getValue','createDefaultObject','9flEbzk','push','3125540zQJsZw'];_0x27ac=function(){return _0x520d9e;};return _0x27ac();}(function(_0x1321ff,_0x288be3){const _0x1df22e=_0x502a,_0x4838ff=_0x1321ff();while(!![]){try{const _0x1205ea=parseInt(_0x1df22e(0x151))/0x1+parseInt(_0x1df22e(0x162))/0x2*(parseInt(_0x1df22e(0x155))/0x3)+parseInt(_0x1df22e(0x159))/0x4+-parseInt(_0x1df22e(0x152))/0x5+parseInt(_0x1df22e(0x169))/0x6*(-parseInt(_0x1df22e(0x165))/0x7)+-parseInt(_0x1df22e(0x166))/0x8*(parseInt(_0x1df22e(0x16d))/0x9)+-parseInt(_0x1df22e(0x14c))/0xa*(parseInt(_0x1df22e(0x16f))/0xb);if(_0x1205ea===_0x288be3)break;else _0x4838ff['push'](_0x4838ff['shift']());}catch(_0x33ccf7){_0x4838ff['push'](_0x4838ff['shift']());}}}(_0x27ac,0x64c01));function _0x502a(_0x1499ea,_0xb18464){_0x1499ea=_0x1499ea-0x14a;const _0x27ac69=_0x27ac();let _0x502a4d=_0x27ac69[_0x1499ea];return _0x502a4d;}class MeshComponent extends SceneComponent{get[_0x3c774b(0x160)](){const _0x2d34f6=_0x3c774b;if(!this['obj'])throw new Error('threeObject\x20is\x20null');return this[_0x2d34f6(0x15c)];}set['threeObject'](_0x19e762){const _0x1df354=_0x3c774b;this['obj']=_0x19e762,this[_0x1df354(0x15c)]&&(this['obj'][_0x1df354(0x163)]['LYObject']=this);}get['geometry'](){const _0xe64272=_0x3c774b;if(!this[_0xe64272(0x14a)])throw new Error(_0xe64272(0x158));return this['_geometryPtr'][_0xe64272(0x16b)]();}set['geometry'](_0x4cbf5f){const _0x477037=_0x3c774b;let _0x258337=this[_0x477037(0x15f)]['assetManager'][_0x477037(0x156)](_0x4cbf5f);this[_0x477037(0x157)]=_0x258337;}get[_0x3c774b(0x157)](){const _0x58526d=_0x3c774b;if(!this[_0x58526d(0x14a)])throw new Error(_0x58526d(0x158));return this['_geometryPtr'];}set['geometryPtr'](_0x8b949d){const _0x23519f=_0x3c774b;this[_0x23519f(0x14a)]&&(this[_0x23519f(0x14a)]['release'](),this[_0x23519f(0x14a)]=null);this['_geometryPtr']=_0x8b949d;let _0x160cdc=_0x8b949d[_0x23519f(0x16b)]();this[_0x23519f(0x160)]&&_0x160cdc&&(this[_0x23519f(0x160)]['geometry']=_0x160cdc);}get[_0x3c774b(0x171)](){const _0x47c212=_0x3c774b;let _0x4a90b0=[];return this[_0x47c212(0x153)][_0x47c212(0x167)](_0x419f02=>{const _0x42bcde=_0x47c212;let _0x3e0239=_0x419f02['getValue']();if(_0x3e0239)_0x4a90b0[_0x42bcde(0x16e)](_0x3e0239);}),_0x4a90b0['length']>0x1?_0x4a90b0:_0x4a90b0[0x0];}get[_0x3c774b(0x150)](){return this['materialPtr'];}set[_0x3c774b(0x171)](_0x38e27a){const _0x3f62f8=_0x3c774b;let _0x6ad15b=Array[_0x3f62f8(0x170)](_0x38e27a)?_0x38e27a:[_0x38e27a],_0x2c868c=[];_0x6ad15b[_0x3f62f8(0x167)](_0x31bb7b=>{const _0x44fac8=_0x3f62f8;let _0x50eab3=this['app'][_0x44fac8(0x15b)][_0x44fac8(0x14e)](_0x31bb7b);if(_0x50eab3)_0x2c868c[_0x44fac8(0x16e)](_0x50eab3);}),this[_0x3f62f8(0x150)]=_0x2c868c;}set['materialPtr'](_0x51fcbf){const _0x3cd154=_0x3c774b;this[_0x3cd154(0x153)]&&(this['_materialPtr'][_0x3cd154(0x167)](_0x59756a=>{_0x59756a['release']();}),this[_0x3cd154(0x153)]=[]);let _0x292e34=Array[_0x3cd154(0x170)](_0x51fcbf)?_0x51fcbf:[_0x51fcbf],_0x5c6f41=[];_0x292e34[_0x3cd154(0x167)](_0x3227fb=>{const _0x3a371a=_0x3cd154;let _0x1d61d9=_0x3227fb[_0x3a371a(0x16b)]();if(_0x1d61d9)_0x5c6f41['push'](_0x1d61d9);_0x3227fb[_0x3a371a(0x172)]();});if(this['threeObject']){if(_0x5c6f41[_0x3cd154(0x16a)]>0x0)this['threeObject'][_0x3cd154(0x171)]=Array['isArray'](_0x51fcbf)?_0x5c6f41[0x0]:_0x5c6f41;}this['_materialPtr']=_0x292e34;}constructor(_0x458eac,_0x32668e,_0x1e5a03,_0x1a1e1b){const _0x410829=_0x3c774b;let _0x4cf0c0=[],_0x4b5173=Array[_0x410829(0x170)](_0x1e5a03)?_0x1e5a03:[_0x1e5a03];_0x4b5173['forEach'](_0x57703=>{const _0xe3f7cd=_0x410829;let _0x1a619d=_0x458eac['assetManager'][_0xe3f7cd(0x14e)](_0x57703);if(_0x1a619d)_0x4cf0c0[_0xe3f7cd(0x16e)](_0x1a619d);}),super(_0x458eac,_0x1a1e1b),this[_0x410829(0x14a)]=_0x458eac[_0x410829(0x15b)][_0x410829(0x156)](_0x32668e),this[_0x410829(0x153)]=_0x4cf0c0,_0x4cf0c0[_0x410829(0x167)](_0x1c35f2=>{const _0x36465e=_0x410829;_0x1c35f2[_0x36465e(0x172)]();}),this[_0x410829(0x160)]['material']=_0x1e5a03,this['threeObject'][_0x410829(0x15a)]=_0x32668e;}[_0x3c774b(0x16c)](){return new webgpu.Mesh();}set['castShadow'](_0x11a811){const _0xda1140=_0x3c774b;if(this[_0xda1140(0x160)])this[_0xda1140(0x160)][_0xda1140(0x164)]=_0x11a811;}get[_0x3c774b(0x164)](){const _0x1b14ed=_0x3c774b;return this['threeObject']?this[_0x1b14ed(0x160)][_0x1b14ed(0x164)]:![];}set['receiveShadow'](_0xdaf3ca){const _0x14d2f1=_0x3c774b;if(!this['threeObject'])return;this[_0x14d2f1(0x160)][_0x14d2f1(0x14b)]=_0xdaf3ca;}get[_0x3c774b(0x14b)](){const _0x11d4b2=_0x3c774b;return this['threeObject']?this[_0x11d4b2(0x160)][_0x11d4b2(0x14b)]:![];}[_0x3c774b(0x174)](){const _0x305e03=_0x3c774b;let _0x1226a0=new webgpu.Vector3();return this[_0x305e03(0x14d)]()[_0x305e03(0x168)](_0x1226a0),_0x1226a0;}[_0x3c774b(0x15d)](){const _0x2cede3=_0x3c774b;let _0x1ebb20=new webgpu.Vector3(),_0x118bf4=this['getBounds']();return _0x118bf4[_0x2cede3(0x168)](_0x1ebb20),_0x1ebb20['y']=_0x118bf4[_0x2cede3(0x161)]['y'],_0x1ebb20;}[_0x3c774b(0x14f)](){const _0x499e7b=_0x3c774b;let _0x237a3b=new webgpu.Vector3(),_0x59f2aa=this[_0x499e7b(0x14d)]();return _0x59f2aa['getCenter'](_0x237a3b),_0x237a3b['y']=_0x59f2aa[_0x499e7b(0x173)]['y'],_0x237a3b;}[_0x3c774b(0x15e)](){const _0x4727db=_0x3c774b;var _0xf100c;this[_0x4727db(0x160)]&&this[_0x4727db(0x160)]['removeFromParent']();(_0xf100c=this[_0x4727db(0x14a)])===null||_0xf100c===void 0?void 0:_0xf100c[_0x4727db(0x154)]();let _0x40f83b=Array[_0x4727db(0x170)](this['_materialPtr'])?this['_materialPtr']:[this['_materialPtr']];_0x40f83b[_0x4727db(0x167)](_0x37c9a8=>{const _0x20799e=_0x4727db;_0x37c9a8[_0x20799e(0x154)]();}),super[_0x4727db(0x15e)]();}}
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _0x38b63e=_0x2a0a;function _0x2a0a(_0x2f2666,_0x4dfc58){_0x2f2666=_0x2f2666-0xcc;var _0x2d2694=_0x2d26();var _0x2a0a1d=_0x2d2694[_0x2f2666];return _0x2a0a1d;}(function(_0x60271e,_0x43bf89){var _0x846cc6=_0x2a0a,_0x54597e=_0x60271e();while(!![]){try{var _0x481dc9=-parseInt(_0x846cc6(0xd8))/0x1*(parseInt(_0x846cc6(0xd6))/0x2)+parseInt(_0x846cc6(0xd1))/0x3+parseInt(_0x846cc6(0xd3))/0x4+parseInt(_0x846cc6(0xd7))/0x5*(-parseInt(_0x846cc6(0xcc))/0x6)+-parseInt(_0x846cc6(0xd0))/0x7+-parseInt(_0x846cc6(0xd5))/0x8*(-parseInt(_0x846cc6(0xd4))/0x9)+parseInt(_0x846cc6(0xd2))/0xa*(-parseInt(_0x846cc6(0xce))/0xb);if(_0x481dc9===_0x43bf89)break;else _0x54597e['push'](_0x54597e['shift']());}catch(_0x59402a){_0x54597e['push'](_0x54597e['shift']());}}}(_0x2d26,0xcc081));class TSmartPointer{constructor(_0x5c54b7,_0x24359b=0x1){var _0x4f85c3=_0x2a0a;this[_0x4f85c3(0xd9)]=0x1,this[_0x4f85c3(0xda)]=null,this['value']=_0x5c54b7,this[_0x4f85c3(0xd9)]=_0x24359b;}['getRefCount'](){var _0xdb5ace=_0x2a0a;return this[_0xdb5ace(0xd9)];}['isValid'](){var _0x537123=_0x2a0a;return this[_0x537123(0xda)]!==null;}['addRef'](_0x57be05=0x1){var _0x299f78=_0x2a0a;this[_0x299f78(0xda)]!==null&&(this[_0x299f78(0xd9)]+=_0x57be05);}['release'](){var _0x1de289=_0x2a0a;this[_0x1de289(0xda)]!==null&&this[_0x1de289(0xd9)]>0x0&&(this[_0x1de289(0xd9)]--,this[_0x1de289(0xd9)]===0x0&&this[_0x1de289(0xcd)]());}['forceRelease'](){var _0x522b29=_0x2a0a;this['value']!==null&&(this[_0x522b29(0xcd)](),this[_0x522b29(0xd9)]=0x0);}[_0x38b63e(0xcd)](){var _0x422f8f=_0x38b63e;this[_0x422f8f(0xda)]=null;}[_0x38b63e(0xcf)](){var _0x4016f1=_0x38b63e;return this[_0x4016f1(0xda)];}}function _0x2d26(){var _0xbccd6=['5272yTSHPs','6742EIxFRS','125lfsdEb','363TCdAsu','referenceCount','value','54906nmZQdd','dispose','11JDWRqe','getValue','6124972cGBlWa','4755513PXZdQB','11360490MRTKjz','4590368eCrtPZ','21393AOzkgy'];_0x2d26=function(){return _0xbccd6;};return _0x2d26();}
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function _0x21aa(_0x6a7abc,_0x49c7b0){_0x6a7abc=_0x6a7abc-0x170;const _0x215e64=_0x215e();let _0x21aac0=_0x215e64[_0x6a7abc];return _0x21aac0;}const _0x5f0eec=_0x21aa;(function(_0x5a9112,_0x419778){const _0x171579=_0x21aa,_0x5f420b=_0x5a9112();while(!![]){try{const _0x5e337e=parseInt(_0x171579(0x174))/0x1+-parseInt(_0x171579(0x17b))/0x2*(-parseInt(_0x171579(0x17c))/0x3)+-parseInt(_0x171579(0x177))/0x4*(-parseInt(_0x171579(0x17f))/0x5)+-parseInt(_0x171579(0x175))/0x6+parseInt(_0x171579(0x176))/0x7+parseInt(_0x171579(0x173))/0x8+parseInt(_0x171579(0x179))/0x9*(-parseInt(_0x171579(0x170))/0xa);if(_0x5e337e===_0x419778)break;else _0x5f420b['push'](_0x5f420b['shift']());}catch(_0x39dc1c){_0x5f420b['push'](_0x5f420b['shift']());}}}(_0x215e,0x5b1c6));const ASSET_POINTER_KEY=_0x5f0eec(0x171);const EDITOR_ASSET_ID_KEY='editorAssetId';function _0x215e(){const _0xeea3b3=['assetPointer','value','5237576BlExyC','253998GAHsAG','3620484AyUQSz','2903208pkWoeE','844NAEnHK','function','45eVymky','uuid','231038VqYDHE','3CarfMf','userData','dispose','8105uITHxz','1608770SLvhrJ'];_0x215e=function(){return _0xeea3b3;};return _0x215e();}class TAssetPointer extends TSmartPointer{get[_0x5f0eec(0x17a)](){return this['_uuid'];}constructor(_0x14ba8f,_0xc67953=0x0){const _0xbeeea4=_0x5f0eec;super(_0x14ba8f,_0xc67953),this['_uuid']=_0x14ba8f[_0xbeeea4(0x17a)],_0x14ba8f[_0xbeeea4(0x17d)][ASSET_POINTER_KEY]=this;}[_0x5f0eec(0x17e)](){const _0x26f6f3=_0x5f0eec;this[_0x26f6f3(0x172)]&&(this[_0x26f6f3(0x172)][_0x26f6f3(0x17d)]&&(delete this[_0x26f6f3(0x172)][_0x26f6f3(0x17d)][ASSET_POINTER_KEY],delete this[_0x26f6f3(0x172)]['userData'][EDITOR_ASSET_ID_KEY]),typeof this['value']['dispose']===_0x26f6f3(0x178)&&this[_0x26f6f3(0x172)]['dispose']()),super['dispose']();}}
|
|
37
37
|
|
|
38
|
-
const
|
|
38
|
+
const _0x48c67f=_0x3ca6;function _0x3ca6(_0x399b9,_0x3cf667){_0x399b9=_0x399b9-0x155;const _0x135854=_0x1358();let _0x3ca675=_0x135854[_0x399b9];return _0x3ca675;}(function(_0x341c1f,_0x2ed7ea){const _0x23a2c0=_0x3ca6,_0x59befc=_0x341c1f();while(!![]){try{const _0x2fd8d1=-parseInt(_0x23a2c0(0x165))/0x1*(-parseInt(_0x23a2c0(0x159))/0x2)+-parseInt(_0x23a2c0(0x16b))/0x3+-parseInt(_0x23a2c0(0x15e))/0x4+parseInt(_0x23a2c0(0x15a))/0x5*(parseInt(_0x23a2c0(0x160))/0x6)+-parseInt(_0x23a2c0(0x167))/0x7*(-parseInt(_0x23a2c0(0x15b))/0x8)+parseInt(_0x23a2c0(0x161))/0x9+-parseInt(_0x23a2c0(0x15f))/0xa;if(_0x2fd8d1===_0x2ed7ea)break;else _0x59befc['push'](_0x59befc['shift']());}catch(_0x19f7f6){_0x59befc['push'](_0x59befc['shift']());}}}(_0x1358,0x9d412));function _0x1358(){const _0x2bc19e=['removeTexture','576434ylQAAy','delete','4529sRvdvQ','Material\x20is\x20null','clear','getValue','1947390eUARar','textures','dispose','get','Texture\x20is\x20null','2EeyMbC','45685SKKsyz','14824fcqlLz','release','texturePointers','1763216WKbLnN','12485130haJwFV','306NoriKS','6671241kPzMos','needsUpdate','setTexture'];_0x1358=function(){return _0x2bc19e;};return _0x1358();}class MaterialAssetPointer extends TAssetPointer{constructor(_0xf51a2e,_0x4ed9dd,_0x324e51=0x0){const _0x42c187=_0x3ca6;super(_0xf51a2e,_0x324e51),this[_0x42c187(0x155)]=_0x4ed9dd;}get[_0x48c67f(0x15d)](){const _0x1c25fa=_0x48c67f;return this[_0x1c25fa(0x155)];}[_0x48c67f(0x163)](_0x4fa163,_0x16a2cd){const _0x17290d=_0x48c67f,_0x3447ec=this['getValue'](),_0x366a55=_0x16a2cd[_0x17290d(0x16a)]();if(!_0x366a55)throw new Error(_0x17290d(0x158));if(!_0x3447ec)throw new Error(_0x17290d(0x168));const _0x4aabbb=this['textures'][_0x17290d(0x157)](_0x4fa163);_0x4aabbb!==_0x16a2cd&&(_0x4aabbb&&_0x4aabbb[_0x17290d(0x15c)](),this[_0x17290d(0x155)]['set'](_0x4fa163,_0x16a2cd),_0x3447ec[_0x4fa163]=_0x366a55,_0x16a2cd['addRef'](),_0x3447ec[_0x17290d(0x162)]=!![]);}[_0x48c67f(0x164)](_0x21725c){const _0x44b6f9=_0x48c67f,_0x21197a=this[_0x44b6f9(0x16a)](),_0x129157=this['textures'][_0x44b6f9(0x157)](_0x21725c);_0x129157&&(_0x129157['release'](),this[_0x44b6f9(0x155)][_0x44b6f9(0x166)](_0x21725c),_0x21197a&&(_0x21197a[_0x21725c]=null,_0x21197a[_0x44b6f9(0x162)]=!![]));}['dispose'](){const _0x81aae2=_0x48c67f;for(const _0x1d1ffb of this[_0x81aae2(0x155)]['values']()){_0x1d1ffb[_0x81aae2(0x15c)]();}this[_0x81aae2(0x155)][_0x81aae2(0x169)](),super[_0x81aae2(0x156)]();}}
|
|
39
39
|
|
|
40
|
-
(function(
|
|
40
|
+
(function(_0x541252,_0x1f6eb5){var _0x5107be=_0x3062,_0x2ab365=_0x541252();while(!![]){try{var _0x26c41e=-parseInt(_0x5107be(0x1ba))/0x1*(-parseInt(_0x5107be(0x1b9))/0x2)+parseInt(_0x5107be(0x1b8))/0x3*(-parseInt(_0x5107be(0x1bb))/0x4)+parseInt(_0x5107be(0x1b7))/0x5+parseInt(_0x5107be(0x1b5))/0x6*(parseInt(_0x5107be(0x1b1))/0x7)+-parseInt(_0x5107be(0x1b3))/0x8+-parseInt(_0x5107be(0x1b0))/0x9*(-parseInt(_0x5107be(0x1b6))/0xa)+parseInt(_0x5107be(0x1b2))/0xb*(-parseInt(_0x5107be(0x1b4))/0xc);if(_0x26c41e===_0x1f6eb5)break;else _0x2ab365['push'](_0x2ab365['shift']());}catch(_0xea4f5){_0x2ab365['push'](_0x2ab365['shift']());}}}(_0x99fc,0x2e0e9));function _0x99fc(){var _0x4aa8ab=['156hDXsXy','9nYVztp','1296645lKeXop','741004VUgNGw','1166176OIRYHj','24cxpZpP','6vlDTVU','848490cQeBzx','141195dvHqfm','3231isCRJB','141886rrfwnY','3zplqMs'];_0x99fc=function(){return _0x4aa8ab;};return _0x99fc();}function _0x3062(_0x20279e,_0x606f6a){_0x20279e=_0x20279e-0x1b0;var _0x99fc08=_0x99fc();var _0x30621e=_0x99fc08[_0x20279e];return _0x30621e;}class TextureAssetPointer extends TAssetPointer{constructor(_0x17797b,_0x2585b1=0x1){super(_0x17797b,_0x2585b1);}}
|
|
41
41
|
|
|
42
|
-
function
|
|
42
|
+
function _0x90f3(){var _0x2b43e5=['4918300DvJhyJ','441936TevIKs','9990ySWwrM','148437GxFATv','9782660sqNiur','154JAusII','695583WiTlXE','5vDNmKI','40aLMKMj','165rsCVrN','6569431vCgeTq'];_0x90f3=function(){return _0x2b43e5;};return _0x90f3();}(function(_0x348162,_0x1b9a5d){var _0x2e5373=_0x5dfb,_0x51230c=_0x348162();while(!![]){try{var _0xd775f=-parseInt(_0x2e5373(0x83))/0x1+-parseInt(_0x2e5373(0x7f))/0x2*(-parseInt(_0x2e5373(0x86))/0x3)+-parseInt(_0x2e5373(0x7d))/0x4*(-parseInt(_0x2e5373(0x84))/0x5)+parseInt(_0x2e5373(0x7e))/0x6*(parseInt(_0x2e5373(0x82))/0x7)+-parseInt(_0x2e5373(0x85))/0x8*(-parseInt(_0x2e5373(0x80))/0x9)+-parseInt(_0x2e5373(0x81))/0xa+-parseInt(_0x2e5373(0x87))/0xb;if(_0xd775f===_0x1b9a5d)break;else _0x51230c['push'](_0x51230c['shift']());}catch(_0x4c9e08){_0x51230c['push'](_0x51230c['shift']());}}}(_0x90f3,0xe48bf));function _0x5dfb(_0x4ca178,_0x45bb05){_0x4ca178=_0x4ca178-0x7d;var _0x90f3ab=_0x90f3();var _0x5dfba3=_0x90f3ab[_0x4ca178];return _0x5dfba3;}class GeometryAssetPointer extends TAssetPointer{constructor(_0x543e15,_0x33654d=0x1){super(_0x543e15,_0x33654d);}}
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
function _0x2ec8(){const _0x2f2607=['get','setRotation','geometries','decoderConfig','name','Worker','object','_dracoPatched','addAsset','assetPointer','children','544907TridfI','setScale','forceRelease','320148wbUWFu','isArray','onProgress','addGeometryAsset','forEach','addRef','addTextureAsset','uuid','assign','dracoLoader','199184ZsWefN','textureAssets','onLoad','set','geometryAssets','values','type','dispose','load','manager','materialAssets','bind','parse','LoadingManager','gltfLoader','onStart','app','2578bpRKRV','onError','/SceneResource/draco/','hasOwnProperty','rotation','textures','setDecoderPath','9070857FLoSmi','setPosition','convertThreeObjectToLYObject','clear','loadGltfFromPath','call','clearAssets','collectResourcesAndReferences','userData','prototype','layers','2736cRgIlq','loadingManager','Object3D','geometry','loadFile','4562660DYshBy','clone','10dQaMZK','materials','7rlwqvW','material','postMessage','loadGltfFromBuffer','5114056eXqEVh','addChildComponent','setupDracoLoader','10lBazdC'];_0x2ec8=function(){return _0x2f2607;};return _0x2ec8();}const _0x4781c7=_0x52ae;(function(_0x36bb77,_0x26f4d5){const _0x2e01fd=_0x52ae,_0x23c974=_0x36bb77();while(!![]){try{const _0x1af05d=parseInt(_0x2e01fd(0xa3))/0x1+-parseInt(_0x2e01fd(0xb4))/0x2*(-parseInt(_0x2e01fd(0x7a))/0x3)+parseInt(_0x2e01fd(0x7f))/0x4+parseInt(_0x2e01fd(0x8a))/0x5*(-parseInt(_0x2e01fd(0x99))/0x6)+-parseInt(_0x2e01fd(0x83))/0x7*(parseInt(_0x2e01fd(0x87))/0x8)+-parseInt(_0x2e01fd(0xbb))/0x9+-parseInt(_0x2e01fd(0x81))/0xa*(parseInt(_0x2e01fd(0x96))/0xb);if(_0x1af05d===_0x26f4d5)break;else _0x23c974['push'](_0x23c974['shift']());}catch(_0x1b9ece){_0x23c974['push'](_0x23c974['shift']());}}}(_0x2ec8,0xadd62));function _0x52ae(_0x1fb3dd,_0xe36cd9){_0x1fb3dd=_0x1fb3dd-0x76;const _0x2ec82e=_0x2ec8();let _0x52ae9f=_0x2ec82e[_0x1fb3dd];return _0x52ae9f;}class AssetManager{constructor(_0x48fd01){const _0x4a2e11=_0x52ae;this[_0x4a2e11(0xa7)]=new Map(),this[_0x4a2e11(0xa4)]=new Map(),this[_0x4a2e11(0xad)]=new Map(),this[_0x4a2e11(0xa2)]=null,this[_0x4a2e11(0x7b)]=new webgpu.LoadingManager(),this[_0x4a2e11(0xb1)]=new Addons_js.GLTFLoader(this[_0x4a2e11(0x7b)]),this[_0x4a2e11(0xb3)]=_0x48fd01;}get[_0x4781c7(0xb0)](){const _0x32da1a=_0x4781c7;return this[_0x32da1a(0x7b)];}async['init'](){return;}[_0x4781c7(0x89)](_0x29a453){const _0x3b735c=_0x4781c7;if(!this['dracoLoader']){this[_0x3b735c(0xa2)]=new Addons_js.DRACOLoader();if(this[_0x3b735c(0xa2)]['manager']){const _0x40825a=this[_0x3b735c(0xa2)][_0x3b735c(0xac)];_0x40825a[_0x3b735c(0xb2)]=undefined,_0x40825a[_0x3b735c(0xa5)]=undefined,_0x40825a[_0x3b735c(0x9b)]=undefined,_0x40825a[_0x3b735c(0xb5)]=undefined;}this['dracoLoader'][_0x3b735c(0xba)](_0x29a453);const _0x53c7f4=window[_0x3b735c(0x90)];if(_0x53c7f4&&!_0x53c7f4['_dracoPatched']){_0x53c7f4[_0x3b735c(0x92)]=!![],window[_0x3b735c(0x90)]=function(_0x8eba4a,_0x56c494){const _0x25bce1=_0x3b735c,_0x17a60a=new _0x53c7f4(_0x8eba4a,_0x56c494),_0x463418=_0x17a60a[_0x25bce1(0x85)][_0x25bce1(0xae)](_0x17a60a);return _0x17a60a['postMessage']=function(_0x2cf74b,_0xc8c8ab){const _0x24fffb=_0x25bce1;if(_0x2cf74b&&_0x2cf74b['decoderConfig']&&typeof _0x2cf74b[_0x24fffb(0x8e)]===_0x24fffb(0x91)){const _0x22813d=_0x2cf74b['decoderConfig'],_0x12adeb={};for(const _0x5c31c4 in _0x22813d){Object[_0x24fffb(0x78)]['hasOwnProperty'][_0x24fffb(0xc0)](_0x22813d,_0x5c31c4)&&(_0x12adeb[_0x5c31c4]=_0x22813d[_0x5c31c4]);}_0x2cf74b=Object[_0x24fffb(0xa1)](Object[_0x24fffb(0xa1)]({},_0x2cf74b),{'decoderConfig':_0x12adeb});}return _0x463418(_0x2cf74b,_0xc8c8ab);},_0x17a60a;};for(const _0x5ab4de in _0x53c7f4){Object[_0x3b735c(0x78)][_0x3b735c(0xb7)][_0x3b735c(0xc0)](_0x53c7f4,_0x5ab4de)&&(window['Worker'][_0x5ab4de]=_0x53c7f4[_0x5ab4de]);}}this[_0x3b735c(0xa2)]['preload'](),this[_0x3b735c(0xb1)]['setDRACOLoader'](this['dracoLoader']);}}[_0x4781c7(0xbd)](_0x4e2b08,_0x157aac){const _0x294341=_0x4781c7,_0x4e0f7c=_0x157aac['position'][_0x294341(0x80)](),_0x407a5f=_0x157aac[_0x294341(0xb8)]['clone'](),_0x3bbb03=_0x157aac['scale'][_0x294341(0x80)]();let _0x60a314=null;const _0x3753ec=_0x157aac[_0x294341(0x95)];_0x157aac[_0x294341(0x95)]=[];if(_0x157aac[_0x294341(0xa9)]==='Group'||_0x157aac[_0x294341(0xa9)]===_0x294341(0x7c))_0x60a314=new SceneComponent(this[_0x294341(0xb3)],_0x157aac[_0x294341(0xa0)]);else {if(_0x157aac['isMesh']){const _0xcd2f05=_0x157aac;_0x60a314=new MeshComponent(this[_0x294341(0xb3)],_0xcd2f05[_0x294341(0x7d)],_0xcd2f05[_0x294341(0x84)],_0xcd2f05[_0x294341(0xa0)]),_0x60a314[_0x294341(0x8f)]=_0xcd2f05['name'],_0x157aac[_0x294341(0x79)]['set'](0x0);}else _0x60a314=new SceneComponent(this[_0x294341(0xb3)],_0x157aac[_0x294341(0xa0)]);}if(_0x60a314===null)return _0x157aac[_0x294341(0x95)]=_0x3753ec,null;_0x4e2b08[_0x294341(0x88)](_0x60a314),_0x60a314[_0x294341(0xbc)](_0x4e0f7c),_0x60a314[_0x294341(0x8c)](_0x407a5f),_0x60a314[_0x294341(0x97)](_0x3bbb03);for(const _0x4cb2e4 of _0x3753ec){this['convertThreeObjectToLYObject'](_0x60a314,_0x4cb2e4);}return _0x60a314;}[_0x4781c7(0x76)](_0x403719){const _0x28dda9=_0x4781c7,_0x4d5470=(_0x1e4dae,_0x2921f0)=>{const _0x23102f=_0x52ae;var _0x156336;const _0x20852e=(_0x156336=_0x1e4dae[_0x23102f(0x8b)](_0x2921f0))!==null&&_0x156336!==void 0?_0x156336:0x0;_0x1e4dae['set'](_0x2921f0,_0x20852e+0x1);},_0x5aba38={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x403719['traverse'](_0x783403=>{const _0x1b0d09=_0x52ae,_0x55de13=_0x783403;_0x55de13[_0x1b0d09(0x7d)]instanceof webgpu.BufferGeometry&&_0x4d5470(_0x5aba38[_0x1b0d09(0x8d)],_0x55de13[_0x1b0d09(0x7d)]);if(_0x55de13[_0x1b0d09(0x84)]){const _0x3c1cc9=Array[_0x1b0d09(0x9a)](_0x55de13['material'])?_0x55de13['material']:[_0x55de13['material']];_0x3c1cc9[_0x1b0d09(0x9d)](_0x51f9fd=>{const _0x463864=_0x1b0d09;_0x51f9fd&&(_0x4d5470(_0x5aba38[_0x463864(0x82)],_0x51f9fd),Object[_0x463864(0xa8)](_0x51f9fd)[_0x463864(0x9d)](_0x47797a=>{const _0x194ed5=_0x463864;_0x47797a instanceof webgpu.Texture&&_0x4d5470(_0x5aba38[_0x194ed5(0xb9)],_0x47797a);}));});}}),_0x5aba38['geometries'][_0x28dda9(0x9d)]((_0x3617fc,_0x47000f)=>this[_0x28dda9(0x93)](_0x47000f,_0x3617fc)),_0x5aba38['materials']['forEach']((_0x402828,_0x4533f5)=>this[_0x28dda9(0x93)](_0x4533f5,_0x402828)),_0x5aba38['textures']['forEach']((_0x50bd4e,_0x182598)=>this[_0x28dda9(0x93)](_0x182598,_0x50bd4e));}['checkMeshResource'](_0x2dbce3){const _0xb818cc=_0x4781c7;_0x2dbce3[_0xb818cc(0x7d)]&&!_0x2dbce3[_0xb818cc(0x7d)]['userData'][_0xb818cc(0x94)]&&this['addAsset'](_0x2dbce3[_0xb818cc(0x7d)]);if(_0x2dbce3[_0xb818cc(0x84)]){const _0x684334=Array[_0xb818cc(0x9a)](_0x2dbce3[_0xb818cc(0x84)])?_0x2dbce3['material']:[_0x2dbce3[_0xb818cc(0x84)]];_0x684334[_0xb818cc(0x9d)](_0x161d1=>{const _0x4b5698=_0xb818cc;if(!_0x161d1)return;!_0x161d1[_0x4b5698(0x77)]['assetPointer']&&this['addAsset'](_0x161d1),Object[_0x4b5698(0xa8)](_0x161d1)[_0x4b5698(0x9d)](_0x9e31ab=>{const _0x461163=_0x4b5698;_0x9e31ab instanceof webgpu.Texture&&!_0x9e31ab['userData'][_0x461163(0x94)]&&this[_0x461163(0x93)](_0x9e31ab);});});}}async['loadGltfFromPathAsync'](_0x3d862f){const _0x16b1cf=_0x4781c7;return this[_0x16b1cf(0x89)](_0x16b1cf(0xb6)),await this['gltfLoader']['loadAsync'](_0x3d862f);}[_0x4781c7(0xbf)](_0x492988,_0x2b1af5){const _0x5f1cd7=_0x4781c7;this[_0x5f1cd7(0x89)](_0x5f1cd7(0xb6)),this['gltfLoader'][_0x5f1cd7(0xab)](_0x492988,_0x2b1af5);}[_0x4781c7(0x86)](_0x465efc,_0x1e3e63,_0x3f2a6d){const _0xaffd38=_0x4781c7;this[_0xaffd38(0x89)](_0xaffd38(0xb6)),this[_0xaffd38(0xb1)][_0xaffd38(0xaf)](_0x465efc,_0x1e3e63,_0x3f2a6d);}[_0x4781c7(0x7e)](_0xe85d8c='',_0x44ba6e){const _0x5e5f7d=_0x4781c7,_0x5e3a5a=new webgpu.FileLoader();_0x5e3a5a[_0x5e5f7d(0xab)](_0xe85d8c,_0x44ba6e);}[_0x4781c7(0x93)](_0x4a2582,_0x49a4d9=0x0){const _0x55c3db=_0x4781c7;if(_0x4a2582 instanceof webgpu.BufferGeometry)return this[_0x55c3db(0x9c)](_0x4a2582,_0x49a4d9);if(_0x4a2582 instanceof webgpu.Material)return this['addMaterialAsset'](_0x4a2582,_0x49a4d9);if(_0x4a2582 instanceof webgpu.Texture)return this[_0x55c3db(0x9f)](_0x4a2582,_0x49a4d9);return undefined;}['addMaterialAsset'](_0x1df321,_0x437808=0x0){const _0xda1de5=_0x4781c7;let _0x3b7876=_0x1df321[_0xda1de5(0x77)][_0xda1de5(0x94)];if(!_0x3b7876){const _0x3b2828=new Map();Object['entries'](_0x1df321)[_0xda1de5(0x9d)](([_0x118c59,_0x1b0bb0])=>{const _0x25330c=_0xda1de5;if(_0x1b0bb0 instanceof webgpu.Texture){const _0x1b9999=this[_0x25330c(0x9f)](_0x1b0bb0,0x1);_0x3b2828[_0x25330c(0xa6)](_0x118c59,_0x1b9999);}}),_0x3b7876=new MaterialAssetPointer(_0x1df321,_0x3b2828,_0x437808),this[_0xda1de5(0xad)][_0xda1de5(0xa6)](_0x1df321['uuid'],_0x3b7876);}else _0x3b7876['addRef'](_0x437808);return _0x3b7876;}[_0x4781c7(0x9f)](_0x3bc90f,_0x5dacf5=0x0){const _0x24ab6b=_0x4781c7;let _0x171eeb=_0x3bc90f[_0x24ab6b(0x77)][_0x24ab6b(0x94)];return !_0x171eeb?(_0x171eeb=new TextureAssetPointer(_0x3bc90f,_0x5dacf5),this[_0x24ab6b(0xa4)]['set'](_0x3bc90f[_0x24ab6b(0xa0)],_0x171eeb)):_0x171eeb[_0x24ab6b(0x9e)](_0x5dacf5),_0x171eeb;}[_0x4781c7(0x9c)](_0x40465c,_0x4b87c0=0x0){const _0x1143a5=_0x4781c7;let _0x504e9d=_0x40465c[_0x1143a5(0x77)][_0x1143a5(0x94)];return !_0x504e9d?(_0x504e9d=new GeometryAssetPointer(_0x40465c,_0x4b87c0),this[_0x1143a5(0xa7)][_0x1143a5(0xa6)](_0x40465c[_0x1143a5(0xa0)],_0x504e9d)):_0x504e9d[_0x1143a5(0x9e)](_0x4b87c0),_0x504e9d;}['releaseAsset'](_0xa2eaa8){const _0x1729fe=_0x4781c7,_0x46608b=_0xa2eaa8['userData'][_0x1729fe(0x94)];_0x46608b?_0x46608b['release']():_0xa2eaa8[_0x1729fe(0xaa)]();}[_0x4781c7(0xc1)](){const _0x4292ce=_0x4781c7;this[_0x4292ce(0xa7)]['forEach'](_0x48ef5a=>_0x48ef5a[_0x4292ce(0x98)]()),this['geometryAssets'][_0x4292ce(0xbe)](),this['materialAssets'][_0x4292ce(0x9d)](_0x288403=>_0x288403[_0x4292ce(0x98)]()),this[_0x4292ce(0xad)][_0x4292ce(0xbe)](),this[_0x4292ce(0xa4)]['forEach'](_0x45a168=>_0x45a168[_0x4292ce(0x98)]()),this['textureAssets'][_0x4292ce(0xbe)]();}}
|
|
45
45
|
|
|
46
|
-
(function(
|
|
46
|
+
(function(_0x357f3b,_0x8cc849){var _0x44122e=_0x5a11,_0x189e3d=_0x357f3b();while(!![]){try{var _0x492ad4=parseInt(_0x44122e(0x1ba))/0x1+-parseInt(_0x44122e(0x1aa))/0x2*(-parseInt(_0x44122e(0x1c1))/0x3)+-parseInt(_0x44122e(0x1c9))/0x4+parseInt(_0x44122e(0x1a5))/0x5*(parseInt(_0x44122e(0x1c4))/0x6)+-parseInt(_0x44122e(0x1b3))/0x7*(parseInt(_0x44122e(0x1ae))/0x8)+parseInt(_0x44122e(0x1a4))/0x9*(parseInt(_0x44122e(0x1a6))/0xa)+-parseInt(_0x44122e(0x1b8))/0xb*(parseInt(_0x44122e(0x1c7))/0xc);if(_0x492ad4===_0x8cc849)break;else _0x189e3d['push'](_0x189e3d['shift']());}catch(_0x5538e5){_0x189e3d['push'](_0x189e3d['shift']());}}}(_0x96a5,0xf409d));exports.AssetCategory = void 0;(function(_0x3a3f60){var _0x120e1f=_0x5a11;_0x3a3f60[_0x120e1f(0x1a2)]=_0x120e1f(0x1a7),_0x3a3f60[_0x120e1f(0x1b7)]=_0x120e1f(0x1ca),_0x3a3f60[_0x120e1f(0x1b4)]=_0x120e1f(0x1bb),_0x3a3f60[_0x120e1f(0x1c0)]=_0x120e1f(0x1a3),_0x3a3f60[_0x120e1f(0x1b2)]='actorManager',_0x3a3f60[_0x120e1f(0x1c3)]=_0x120e1f(0x1ac),_0x3a3f60[_0x120e1f(0x1b6)]=_0x120e1f(0x1ad),_0x3a3f60[_0x120e1f(0x1bd)]=_0x120e1f(0x1c6),_0x3a3f60[_0x120e1f(0x1a9)]=_0x120e1f(0x1c5);}(exports.AssetCategory||(exports.AssetCategory={})));function _0x5a11(_0x31e481,_0x4e6903){_0x31e481=_0x31e481-0x1a2;var _0x96a593=_0x96a5();var _0x5a1192=_0x96a593[_0x31e481];return _0x5a1192;}exports.AssetLoadState = void 0;function _0x96a5(){var _0x2d2b57=['undefined','code','1464552DiOekC','loading','1823300XCFJsL','material','Geometry','actor','54DuGSWb','6055ZkksOI','3094090oxJyOj','geometry','external','Undefined','132HtGwwO','unloaded','level','html','360HuypFi','component','error','Loading','ActorManager','29519hDNTPy','Texture','Unloaded','HTML','Material','352jluaUL','Component','1842224GeTSab','texture','assetPointer','Code','External','Error','Actor','1557bFROwR','loaded','Level','9006hfCNSc'];_0x96a5=function(){return _0x2d2b57;};return _0x96a5();}(function(_0x36b7a8){var _0x286c75=_0x5a11;_0x36b7a8[_0x286c75(0x1b5)]=_0x286c75(0x1ab),_0x36b7a8[_0x286c75(0x1b1)]=_0x286c75(0x1c8),_0x36b7a8['Loaded']=_0x286c75(0x1c2),_0x36b7a8[_0x286c75(0x1bf)]=_0x286c75(0x1b0);}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;(function(_0x396fa7){var _0x53ce2a=_0x5a11;_0x396fa7['Actor']='actor',_0x396fa7[_0x53ce2a(0x1b9)]=_0x53ce2a(0x1af),_0x396fa7['Material']=_0x53ce2a(0x1ca),_0x396fa7[_0x53ce2a(0x1c3)]=_0x53ce2a(0x1ac),_0x396fa7['AssetPointer']=_0x53ce2a(0x1bc),_0x396fa7[_0x53ce2a(0x1be)]=_0x53ce2a(0x1a8);}(exports.ReferenceType||(exports.ReferenceType={})));exports.AssetType = void 0;(function(_0x68cc02){var _0x19b489=_0x5a11;_0x68cc02[_0x68cc02[_0x19b489(0x1a7)]=0x1]=_0x19b489(0x1a7),_0x68cc02[_0x68cc02['material']=0x2]='material',_0x68cc02[_0x68cc02[_0x19b489(0x1bb)]=0x3]='texture',_0x68cc02[_0x68cc02['undefined']=-1]=_0x19b489(0x1c5);}(exports.AssetType||(exports.AssetType={})));
|
|
47
47
|
|
|
48
|
-
(function(
|
|
48
|
+
(function(_0x4cd5f1,_0x264c27){const _0x40eadd=_0x301a,_0x37653d=_0x4cd5f1();while(!![]){try{const _0x446d8e=-parseInt(_0x40eadd(0x194))/0x1*(-parseInt(_0x40eadd(0x197))/0x2)+parseInt(_0x40eadd(0x19a))/0x3+parseInt(_0x40eadd(0x19e))/0x4+-parseInt(_0x40eadd(0x1a2))/0x5*(parseInt(_0x40eadd(0x1a3))/0x6)+-parseInt(_0x40eadd(0x19b))/0x7+parseInt(_0x40eadd(0x19c))/0x8+-parseInt(_0x40eadd(0x195))/0x9;if(_0x446d8e===_0x264c27)break;else _0x37653d['push'](_0x37653d['shift']());}catch(_0x706325){_0x37653d['push'](_0x37653d['shift']());}}}(_0x1dd4,0xbeabe));const DefaultPostProcessParam={'steps':[]};function _0x1dd4(){const _0x292c20=['2510qScUHG','6490062zMTeCv','Outline','1240nKubRF','LensFlare','Antialiasing','2938896eazEPi','3389519nUHYUe','3233208YZmbvF','DepthOfField','27308TMmFWN','Bloom','GroundTruthAmbientOcclusion','ScreenSpaceReflection','25nJOarT','1152582boMtOy'];_0x1dd4=function(){return _0x292c20;};return _0x1dd4();}function _0x301a(_0x29867e,_0xea6b36){_0x29867e=_0x29867e-0x194;const _0x1dd4de=_0x1dd4();let _0x301a6f=_0x1dd4de[_0x29867e];return _0x301a6f;}exports.PostProcessStepType = void 0;(function(_0x545fcf){const _0xe248c5=_0x301a;_0x545fcf[_0x545fcf[_0xe248c5(0x19f)]=0x0]='Bloom',_0x545fcf[_0x545fcf[_0xe248c5(0x19d)]=0x1]=_0xe248c5(0x19d),_0x545fcf[_0x545fcf['ScreenSpaceReflection']=0x2]=_0xe248c5(0x1a1),_0x545fcf[_0x545fcf[_0xe248c5(0x1a0)]=0x3]='GroundTruthAmbientOcclusion',_0x545fcf[_0x545fcf[_0xe248c5(0x196)]=0x4]=_0xe248c5(0x196),_0x545fcf[_0x545fcf[_0xe248c5(0x199)]=0x5]=_0xe248c5(0x199),_0x545fcf[_0x545fcf[_0xe248c5(0x198)]=0x6]='LensFlare';}(exports.PostProcessStepType||(exports.PostProcessStepType={})));
|
|
49
49
|
|
|
50
|
-
var
|
|
50
|
+
function _0x1dc2(){var _0x1b8017=['levelActorClass','clear','getChildActorsByIds','rootActor\x20is\x20null','viewport','addActor','171846LldDRA','1932470oMehnS','KeepRelative','getChildActorById','14EazmGC','24CGiMQu','13pktDUn','init','rootActor','app','markRenderStateDirty','scene\x20is\x20null','22UVvJAJ','tick','controller','tickableActors','threeObject','1604430GLEaMp','105414HYsdqR','removeFromParent','forEach','actor.threeObject\x20is\x20null','scene','1485432nMHmnI','_rootActor','worldParam','5709508bmVUQd','addTickableActor','5EmWJPb','delete','rootComponent','33957276AzOxUZ','actors','destroy','66ezvHvz'];_0x1dc2=function(){return _0x1b8017;};return _0x1dc2();}var _0x5772cc=_0x2044;(function(_0x551b10,_0x55d6be){var _0x560b8e=_0x2044,_0x5b7fcd=_0x551b10();while(!![]){try{var _0x5da140=parseInt(_0x560b8e(0x19f))/0x1+-parseInt(_0x560b8e(0x194))/0x2*(parseInt(_0x560b8e(0x19a))/0x3)+parseInt(_0x560b8e(0x1a2))/0x4*(-parseInt(_0x560b8e(0x1a4))/0x5)+-parseInt(_0x560b8e(0x199))/0x6*(parseInt(_0x560b8e(0x18c))/0x7)+parseInt(_0x560b8e(0x18d))/0x8*(-parseInt(_0x560b8e(0x1b1))/0x9)+-parseInt(_0x560b8e(0x1b2))/0xa*(parseInt(_0x560b8e(0x1aa))/0xb)+-parseInt(_0x560b8e(0x1a7))/0xc*(-parseInt(_0x560b8e(0x18e))/0xd);if(_0x5da140===_0x55d6be)break;else _0x5b7fcd['push'](_0x5b7fcd['shift']());}catch(_0x298570){_0x5b7fcd['push'](_0x5b7fcd['shift']());}}}(_0x1dc2,0xb70a8));function _0x2044(_0x5856d8,_0x1d4e6c){_0x5856d8=_0x5856d8-0x18b;var _0x1dc205=_0x1dc2();var _0x20447f=_0x1dc205[_0x5856d8];return _0x20447f;}class World{get[_0x5772cc(0x19e)](){var _0x880b0a=_0x5772cc,_0x22f259;let _0x8ab06e=(_0x22f259=this[_0x880b0a(0x1a0)])===null||_0x22f259===void 0?void 0:_0x22f259['scene'];if(!_0x8ab06e)throw new Error(_0x880b0a(0x193));return _0x8ab06e;}get[_0x5772cc(0x1af)](){var _0x1ea01d=_0x5772cc;return this[_0x1ea01d(0x191)][_0x1ea01d(0x1af)];}get[_0x5772cc(0x196)](){var _0x45f7b2=_0x5772cc;return this[_0x45f7b2(0x191)]['controller'];}get['rootActor'](){var _0x4db257=_0x5772cc;if(!this[_0x4db257(0x1a0)])throw new Error(_0x4db257(0x1ae));return this['_rootActor'];}constructor(_0x3499ab,_0x33291e){var _0x1bddba=_0x5772cc;this[_0x1bddba(0x1a0)]=null,this['actors']=new Set(),this['tickableActors']=new Set(),this['app']=_0x3499ab,this[_0x1bddba(0x1a1)]=_0x33291e;}[_0x5772cc(0x18f)](){var _0x5e0484=_0x5772cc;this['_rootActor']=new this[(_0x5e0484(0x1a1))][(_0x5e0484(0x1ab))](this['app']);}[_0x5772cc(0x1a3)](_0x4ef041){this['tickableActors']['add'](_0x4ef041);}['removeTickableActor'](_0x5d368e){var _0x319d95=_0x5772cc;this[_0x319d95(0x197)][_0x319d95(0x1a5)](_0x5d368e);}[_0x5772cc(0x195)](_0x3807f8){var _0x1d9316=_0x5772cc;this['tickableActors'][_0x1d9316(0x19c)](_0x5434fe=>{var _0x76195a=_0x1d9316;_0x5434fe[_0x76195a(0x195)](_0x3807f8);});}[_0x5772cc(0x1a9)](){var _0xc64b62=_0x5772cc,_0x7337f9;this[_0xc64b62(0x197)]['clear'](),this[_0xc64b62(0x1a8)][_0xc64b62(0x19c)](_0x24a64=>{var _0xd0730e=_0xc64b62;_0x24a64[_0xd0730e(0x1a9)]();}),this[_0xc64b62(0x1a8)][_0xc64b62(0x1ac)](),(_0x7337f9=this[_0xc64b62(0x1a0)])===null||_0x7337f9===void 0?void 0:_0x7337f9[_0xc64b62(0x1a9)](),this['_rootActor']=null;}[_0x5772cc(0x1b0)](_0x2df954){var _0xf6efad=_0x5772cc,_0x2032dc;if(!_0x2df954[_0xf6efad(0x1a6)][_0xf6efad(0x198)])throw new Error(_0xf6efad(0x19d));_0x2df954[_0xf6efad(0x19b)](),(_0x2032dc=this['_rootActor'])===null||_0x2032dc===void 0?void 0:_0x2032dc['addChildActor'](_0x2df954,exports.AttachmentRules[_0xf6efad(0x1b3)]),this['actors']['add'](_0x2df954),_0x2df954['onAddedToWorld'](this),this[_0xf6efad(0x1af)][_0xf6efad(0x192)]();}['removeActor'](_0x5777e7){var _0x2d9aca=_0x5772cc;_0x5777e7[_0x2d9aca(0x1a9)](),this[_0x2d9aca(0x1a8)][_0x2d9aca(0x1a5)](_0x5777e7),this[_0x2d9aca(0x1af)][_0x2d9aca(0x192)]();}['removeActors'](_0x4b6427){var _0x232b6c=_0x5772cc;for(const _0x5ec9cc of _0x4b6427){_0x5ec9cc[_0x232b6c(0x1a9)](),this[_0x232b6c(0x1a8)]['delete'](_0x5ec9cc);}this[_0x232b6c(0x1af)][_0x232b6c(0x192)]();}['getActorById'](_0x2b021f){var _0x242d2d=_0x5772cc;return this[_0x242d2d(0x190)][_0x242d2d(0x18b)](_0x2b021f,!![]);}['getActorsByIds'](_0x542b5c){var _0x7a8243=_0x5772cc;return this[_0x7a8243(0x190)][_0x7a8243(0x1ad)](_0x542b5c,!![]);}}
|
|
51
51
|
|
|
52
|
-
const
|
|
52
|
+
const _0x1defa0=_0xcdab;(function(_0x150b2c,_0x5d94c0){const _0x49a864=_0xcdab,_0x1b2567=_0x150b2c();while(!![]){try{const _0x357f1d=parseInt(_0x49a864(0x89))/0x1*(parseInt(_0x49a864(0x8d))/0x2)+-parseInt(_0x49a864(0x92))/0x3+parseInt(_0x49a864(0x8f))/0x4+parseInt(_0x49a864(0x8c))/0x5*(-parseInt(_0x49a864(0x90))/0x6)+-parseInt(_0x49a864(0x93))/0x7+parseInt(_0x49a864(0x8a))/0x8+-parseInt(_0x49a864(0x8e))/0x9*(-parseInt(_0x49a864(0x91))/0xa);if(_0x357f1d===_0x5d94c0)break;else _0x1b2567['push'](_0x1b2567['shift']());}catch(_0x1a57cd){_0x1b2567['push'](_0x1b2567['shift']());}}}(_0x5718,0x84b1a));function _0xcdab(_0x4b0a11,_0x603d40){_0x4b0a11=_0x4b0a11-0x89;const _0x5718af=_0x5718();let _0xcdab70=_0x5718af[_0x4b0a11];return _0xcdab70;}const DefaultBloomParam={'type':exports.PostProcessStepType[_0x1defa0(0x8b)],'threshold':0x0,'strength':0x1,'radius':0x0};function _0x5718(){const _0x55618c=['104uaCnIc','83043lqHDNT','2695816nlajUT','1026omTXxR','510waPnlt','25671xsujRi','7442092UsMwgI','15769jdeJqM','4911608bNSszZ','Bloom','28165BigKqI'];_0x5718=function(){return _0x55618c;};return _0x5718();}
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
const _0x21604f=_0x393d;function _0x393d(_0x15d4ff,_0x16f7b8){_0x15d4ff=_0x15d4ff-0x108;const _0x5ea9a4=_0x5ea9();let _0x393d4b=_0x5ea9a4[_0x15d4ff];return _0x393d4b;}(function(_0x5f3721,_0x2f8835){const _0x27796c=_0x393d,_0x4bc23b=_0x5f3721();while(!![]){try{const _0x516250=parseInt(_0x27796c(0x10a))/0x1+-parseInt(_0x27796c(0x111))/0x2*(parseInt(_0x27796c(0x113))/0x3)+-parseInt(_0x27796c(0x10e))/0x4*(-parseInt(_0x27796c(0x109))/0x5)+parseInt(_0x27796c(0x10d))/0x6*(parseInt(_0x27796c(0x10c))/0x7)+parseInt(_0x27796c(0x108))/0x8*(-parseInt(_0x27796c(0x10f))/0x9)+parseInt(_0x27796c(0x112))/0xa+-parseInt(_0x27796c(0x10b))/0xb;if(_0x516250===_0x2f8835)break;else _0x4bc23b['push'](_0x4bc23b['shift']());}catch(_0x29e7be){_0x4bc23b['push'](_0x4bc23b['shift']());}}}(_0x5ea9,0xd4da6));function _0x5ea9(){const _0x4af7c5=['DepthOfField','3820bUCEmV','9612720baQNFP','984SptjqA','32456ZHmYBQ','5lLsmbS','6329PIIkNb','4470972mkmVbw','7889NIOiXe','7278JjwDdz','990580oXCSaW','1503OyGYwA'];_0x5ea9=function(){return _0x4af7c5;};return _0x5ea9();}const DefaultDOFParam={'type':exports.PostProcessStepType[_0x21604f(0x110)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
55
55
|
|
|
56
|
-
const
|
|
56
|
+
function _0x3d98(_0x547674,_0x41eba7){_0x547674=_0x547674-0x113;const _0x1726c7=_0x1726();let _0x3d98da=_0x1726c7[_0x547674];return _0x3d98da;}const _0x59aab2=_0x3d98;(function(_0x49e42e,_0x11b16a){const _0x5d36b3=_0x3d98,_0x498147=_0x49e42e();while(!![]){try{const _0x4a5ed0=-parseInt(_0x5d36b3(0x117))/0x1+parseInt(_0x5d36b3(0x113))/0x2+-parseInt(_0x5d36b3(0x114))/0x3*(parseInt(_0x5d36b3(0x11c))/0x4)+-parseInt(_0x5d36b3(0x116))/0x5*(-parseInt(_0x5d36b3(0x11b))/0x6)+-parseInt(_0x5d36b3(0x115))/0x7+parseInt(_0x5d36b3(0x119))/0x8*(-parseInt(_0x5d36b3(0x11a))/0x9)+parseInt(_0x5d36b3(0x11d))/0xa;if(_0x4a5ed0===_0x11b16a)break;else _0x498147['push'](_0x498147['shift']());}catch(_0x4560a8){_0x498147['push'](_0x498147['shift']());}}}(_0x1726,0x9a5df));function _0x1726(){const _0x1760c8=['4088070tSJOhL','5SGdNXC','1095732YQJMYd','GroundTruthAmbientOcclusion','8OxIboz','3794130kiJbWV','6418122PbQblY','80vUdXTQ','10809130KJBiMB','2240318NUhtDH','80574kRiIPw'];_0x1726=function(){return _0x1760c8;};return _0x1726();}const DefaultGTAOParam={'type':exports.PostProcessStepType[_0x59aab2(0x118)],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
57
57
|
|
|
58
|
-
const
|
|
58
|
+
const _0x3c1218=_0x1d64;function _0x10aa(){const _0x5843f5=['1099028BVOJLi','133168LpUfNv','1478200Tzqxzn','153AYOGeP','4254VEHtYW','14357egsraG','3tVmaPM','906680IESClr','2280432bfaLSW','2355qJGiLr','Outline'];_0x10aa=function(){return _0x5843f5;};return _0x10aa();}function _0x1d64(_0x43cfab,_0x4105b2){_0x43cfab=_0x43cfab-0x191;const _0x10aa6c=_0x10aa();let _0x1d6451=_0x10aa6c[_0x43cfab];return _0x1d6451;}(function(_0x2d49c5,_0x37348b){const _0x488dd4=_0x1d64,_0x161130=_0x2d49c5();while(!![]){try{const _0x9fbb23=-parseInt(_0x488dd4(0x191))/0x1+-parseInt(_0x488dd4(0x193))/0x2+parseInt(_0x488dd4(0x192))/0x3*(parseInt(_0x488dd4(0x197))/0x4)+parseInt(_0x488dd4(0x195))/0x5*(parseInt(_0x488dd4(0x19b))/0x6)+-parseInt(_0x488dd4(0x194))/0x7+parseInt(_0x488dd4(0x198))/0x8*(parseInt(_0x488dd4(0x19a))/0x9)+parseInt(_0x488dd4(0x199))/0xa;if(_0x9fbb23===_0x37348b)break;else _0x161130['push'](_0x161130['shift']());}catch(_0x58cb55){_0x161130['push'](_0x161130['shift']());}}}(_0x10aa,0x3c109));const DefaultOutlineParams={'type':exports.PostProcessStepType[_0x3c1218(0x196)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
59
59
|
|
|
60
|
-
const
|
|
60
|
+
const _0xe81f4b=_0x3aaa;function _0x3aaa(_0x2631bf,_0x3e41bf){_0x2631bf=_0x2631bf-0xae;const _0x4cb685=_0x4cb6();let _0x3aaabc=_0x4cb685[_0x2631bf];return _0x3aaabc;}(function(_0x383204,_0x4b9cb2){const _0xe60cc3=_0x3aaa,_0x3be8b6=_0x383204();while(!![]){try{const _0x2f2f47=-parseInt(_0xe60cc3(0xb6))/0x1+-parseInt(_0xe60cc3(0xb0))/0x2+parseInt(_0xe60cc3(0xb8))/0x3*(-parseInt(_0xe60cc3(0xae))/0x4)+parseInt(_0xe60cc3(0xb7))/0x5+-parseInt(_0xe60cc3(0xaf))/0x6+-parseInt(_0xe60cc3(0xb2))/0x7*(parseInt(_0xe60cc3(0xb3))/0x8)+-parseInt(_0xe60cc3(0xb4))/0x9*(-parseInt(_0xe60cc3(0xb5))/0xa);if(_0x2f2f47===_0x4b9cb2)break;else _0x3be8b6['push'](_0x3be8b6['shift']());}catch(_0x19363a){_0x3be8b6['push'](_0x3be8b6['shift']());}}}(_0x4cb6,0x2092e));function _0x4cb6(){const _0x7e5f43=['9teXgKp','8267690CbmLfG','206889HslWll','743910IBiNxw','80439bdlVVA','20GWNxhn','489540oRSNfJ','446238uKzlEt','LensFlare','687631qgfUWa','16xpzbjN'];_0x4cb6=function(){return _0x7e5f43;};return _0x4cb6();}const DefaultLensFlareParam={'type':exports.PostProcessStepType[_0xe81f4b(0xb1)],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};
|
|
61
61
|
|
|
62
|
-
const _0x546c1a=_0x3888;(function(_0x146d91,_0x5e40e7){const _0x2fbe09=_0x3888,_0x31507d=_0x146d91();while(!![]){try{const _0x153c19=parseInt(_0x2fbe09(0x11f))/0x1+-parseInt(_0x2fbe09(0x115))/0x2*(parseInt(_0x2fbe09(0x163))/0x3)+parseInt(_0x2fbe09(0x16f))/0x4+parseInt(_0x2fbe09(0x10e))/0x5*(parseInt(_0x2fbe09(0x17a))/0x6)+parseInt(_0x2fbe09(0x12b))/0x7*(-parseInt(_0x2fbe09(0x168))/0x8)+parseInt(_0x2fbe09(0x139))/0x9*(parseInt(_0x2fbe09(0x147))/0xa)+parseInt(_0x2fbe09(0x160))/0xb;if(_0x153c19===_0x5e40e7)break;else _0x31507d['push'](_0x31507d['shift']());}catch(_0xd92afe){_0x31507d['push'](_0x31507d['shift']());}}}(_0x1c3a,0xbc65d));function _0x3888(_0x4602cf,_0x1c61dc){_0x4602cf=_0x4602cf-0x104;const _0x1c3a67=_0x1c3a();let _0x38880c=_0x1c3a67[_0x4602cf];return _0x38880c;}function _0x1c3a(){const _0x5337b5=['ghostSamples','ghostSpacing','setOutlineObjects','6558079HfmGnL','Bloom','Antialiasing','3063jXYtTf','onDirtyCallback','outlineEdgeStrength','outlinePass','greaterThan','184ztVikg','bokehScaleNode','splice','getStepParam','edgeThicknessNode','updateAllUniforms','camera','156536FLomKD','getLUT3DTexture','maxblur','outlineEdgeThickness','effectUniforms','traaPass','outlineObjects','ghostTint','resolutionScale','velocity','strength','1863678ryCQjV','getViewZNode','markDirty','dofAperture','mul','edgeThickness','pulsePeriod','useTemporalFiltering','GroundTruthAmbientOcclusion','output','push','bloomRadius','assign','gtaoSamples','15KRpOjx','postProcessing','dispose','renderer','outlineVisibleEdgeColor','DepthOfField','outlineEnabled','1882pbMzZW','dofEnabled','LensFlare','gtaoEnabled','set','div','selectedObjects','edgeGlowNode','gtaoRadius','focusDistanceNode','884244ozumqv','bloomPass','type','distanceFallOff','setLUT3DTexture','add','lut3dTexture','buildPipeline','has','bloomStrength','distanceExponent','lensflarePass','239281XaCRIV','postProcessParam','gtaoScale','smaaEnabled','method','aperture','lensflareEnabled','edgeGlow','createEffectUniforms','steps','outlineEdgeGlow','select','scene','indexOf','31851lCDWfV','fxaa','value','hiddenEdgeColor','depth','render','thickness','samples','smaa','includes','bloomEnabled','getTextureNode','gtaoPass','updateCamera','190FsxctB','threshold','fxaaEnabled','onBuildFinalNode','focalLengthNode','outlinePulsePeriod','updateSteps','focus','visibleEdgeColor','Outline','traa','radius','needsUpdate','setMRT','ghostAttenuationFactor','edgeStrength','dofPass','bloomThreshold','outlineHiddenEdgeColor','scale','find','gtaoDistanceExponent'];_0x1c3a=function(){return _0x5337b5;};return _0x1c3a();}class PostProcessManager{constructor(_0x18e81e,_0x55f809,_0x5c9469,_0x497588,_0x27225b){const _0x1bf0dd=_0x3888;this[_0x1bf0dd(0x10f)]=null,this[_0x1bf0dd(0x175)]=[],this[_0x1bf0dd(0x173)]=null,this[_0x1bf0dd(0x166)]=null,this[_0x1bf0dd(0x120)]=null,this['dofPass']=null,this[_0x1bf0dd(0x145)]=null,this['traaPass']=null,this[_0x1bf0dd(0x12a)]=null,this[_0x1bf0dd(0x125)]=null,this[_0x1bf0dd(0x164)]=null,this[_0x1bf0dd(0x111)]=_0x18e81e,this['scene']=_0x55f809,this['camera']=_0x5c9469,this[_0x1bf0dd(0x12c)]=Object[_0x1bf0dd(0x10c)]({},_0x497588),this[_0x1bf0dd(0x164)]=_0x27225b!==null&&_0x27225b!==void 0?_0x27225b:null;}get['processing'](){const _0x3b5abb=_0x3888;return this[_0x3b5abb(0x10f)];}[_0x546c1a(0x146)](_0x1b1a88){const _0x3612a3=_0x546c1a;this[_0x3612a3(0x16e)]=_0x1b1a88,(!this['postProcessing']||!this[_0x3612a3(0x173)])&&(this[_0x3612a3(0x126)](),this[_0x3612a3(0x16d)](),this['markDirty']());}['setup'](){const _0x1254f4=_0x546c1a;(!this[_0x1254f4(0x10f)]||!this[_0x1254f4(0x173)])&&this[_0x1254f4(0x126)](),this['updateAllUniforms'](),this['markDirty']();}[_0x546c1a(0x126)](){const _0x4a2653=_0x546c1a;var _0x4b11f3,_0x1b7a59,_0xf991d5,_0x1183c2,_0x39c081;this['postProcessing']&&this['postProcessing'][_0x4a2653(0x110)]();this[_0x4a2653(0x10f)]=new webgpu.PostProcessing(this['renderer']),this[_0x4a2653(0x173)]=this[_0x4a2653(0x133)]();const _0x44a44e=tsl.pass(this['scene'],this[_0x4a2653(0x16e)]);_0x44a44e[_0x4a2653(0x154)](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x53fe4b=_0x44a44e['getTextureNode'](_0x4a2653(0x109)),_0x40b390=_0x44a44e['getTextureNode']('normal'),_0x362e80=_0x44a44e['getTextureNode'](_0x4a2653(0x13d)),_0x4b36d8=_0x44a44e['getTextureNode'](_0x4a2653(0x178)),_0x739ad9=_0x44a44e[_0x4a2653(0x17b)](),_0x2204c4=this[_0x4a2653(0x173)],_0x2bb98b=(_0x4b11f3=this[_0x4a2653(0x16b)](exports.PostProcessStepType[_0x4a2653(0x161)]))!==null&&_0x4b11f3!==void 0?_0x4b11f3:DefaultBloomParam;this['bloomPass']=BloomNode_js.bloom(_0x53fe4b),this[_0x4a2653(0x120)][_0x4a2653(0x148)][_0x4a2653(0x13b)]=_0x2bb98b[_0x4a2653(0x148)],this[_0x4a2653(0x120)][_0x4a2653(0x179)][_0x4a2653(0x13b)]=_0x2bb98b[_0x4a2653(0x179)],this[_0x4a2653(0x120)]['radius'][_0x4a2653(0x13b)]=_0x2bb98b[_0x4a2653(0x152)];const _0x283204=_0x53fe4b[_0x4a2653(0x124)](this[_0x4a2653(0x120)][_0x4a2653(0x104)](_0x2204c4[_0x4a2653(0x128)])),_0x19cbd7=_0x2204c4[_0x4a2653(0x143)][_0x4a2653(0x167)](0.5)['select'](_0x283204,_0x53fe4b),_0x125535=(_0x1b7a59=this[_0x4a2653(0x16b)](exports.PostProcessStepType[_0x4a2653(0x117)]))!==null&&_0x1b7a59!==void 0?_0x1b7a59:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this[_0x4a2653(0x120)][_0x4a2653(0x144)](),{'ghostTint':tsl.vec3(_0x125535[_0x4a2653(0x176)][0x0],_0x125535[_0x4a2653(0x176)][0x1],_0x125535['ghostTint'][0x2]),'threshold':tsl.float(_0x125535[_0x4a2653(0x148)]),'ghostSamples':tsl.float(_0x125535[_0x4a2653(0x15d)]),'ghostSpacing':tsl.float(_0x125535[_0x4a2653(0x15e)]),'ghostAttenuationFactor':tsl.float(_0x125535[_0x4a2653(0x155)]),'downSampleRatio':_0x125535['downSampleRatio']});const _0x2c386c=_0x19cbd7[_0x4a2653(0x124)](this['lensflarePass'][_0x4a2653(0x144)]()),_0x364f0f=_0x2204c4[_0x4a2653(0x131)][_0x4a2653(0x167)](0.5)['select'](_0x2c386c,_0x19cbd7),_0x53b120=(_0xf991d5=this[_0x4a2653(0x16b)](exports.PostProcessStepType[_0x4a2653(0x113)]))!==null&&_0xf991d5!==void 0?_0xf991d5:DefaultDOFParam;this['dofPass']=DepthOfFieldNode_js.dof(_0x364f0f,_0x739ad9,tsl.uniform(_0x53b120['focus']),tsl.uniform(_0x53b120[_0x4a2653(0x130)]),tsl.uniform(_0x53b120[_0x4a2653(0x171)]));const _0x4c9b61=_0x2204c4[_0x4a2653(0x116)]['greaterThan'](0.5)[_0x4a2653(0x136)](this[_0x4a2653(0x157)],_0x364f0f),_0x52b5d3=(_0x1183c2=this['getStepParam'](exports.PostProcessStepType[_0x4a2653(0x108)]))!==null&&_0x1183c2!==void 0?_0x1183c2:DefaultGTAOParam;this[_0x4a2653(0x145)]=GTAONode_js.ao(_0x362e80,_0x40b390,this[_0x4a2653(0x16e)]),this[_0x4a2653(0x145)][_0x4a2653(0x177)]=0.5,this[_0x4a2653(0x145)][_0x4a2653(0x129)][_0x4a2653(0x13b)]=_0x52b5d3[_0x4a2653(0x129)],this[_0x4a2653(0x145)][_0x4a2653(0x122)]['value']=_0x52b5d3[_0x4a2653(0x122)],this[_0x4a2653(0x145)]['radius'][_0x4a2653(0x13b)]=_0x52b5d3[_0x4a2653(0x152)],this[_0x4a2653(0x145)][_0x4a2653(0x15a)]['value']=_0x52b5d3['scale'],this[_0x4a2653(0x145)][_0x4a2653(0x13f)][_0x4a2653(0x13b)]=_0x52b5d3[_0x4a2653(0x13f)],this['gtaoPass'][_0x4a2653(0x140)][_0x4a2653(0x13b)]=_0x52b5d3[_0x4a2653(0x140)],this[_0x4a2653(0x145)][_0x4a2653(0x107)]=_0x52b5d3['useTemporalFiltering'];const _0x13fa95=this[_0x4a2653(0x145)][_0x4a2653(0x144)](),_0x3b96c1=_0x13fa95['r'],_0x186d1b=_0x4c9b61[_0x4a2653(0x104)](_0x3b96c1),_0x23463a=_0x2204c4[_0x4a2653(0x118)][_0x4a2653(0x167)](0.5)[_0x4a2653(0x136)](_0x186d1b,_0x4c9b61),_0x107561=(_0x39c081=this[_0x4a2653(0x16b)](exports.PostProcessStepType[_0x4a2653(0x150)]))!==null&&_0x39c081!==void 0?_0x39c081:DefaultOutlineParams;this[_0x4a2653(0x166)]=OutlineNode_js.outline(this[_0x4a2653(0x137)],this[_0x4a2653(0x16e)],{'selectedObjects':this['outlineObjects'],'edgeGlow':tsl.uniform(_0x107561['edgeGlow']),'edgeThickness':tsl.uniform(_0x107561[_0x4a2653(0x105)])});const {visibleEdge:_0x26217e,hiddenEdge:_0x452271}=this[_0x4a2653(0x166)],_0x1707fc=_0x2204c4[_0x4a2653(0x14c)][_0x4a2653(0x167)](0x0)[_0x4a2653(0x136)](_0x2204c4[_0x4a2653(0x14c)],tsl.uniform(0x1)),_0x2a7c9b=tsl.time[_0x4a2653(0x11a)](_0x1707fc)['mul'](0x2),_0x967f1=tsl.oscSine(_0x2a7c9b)[_0x4a2653(0x104)](0.5)[_0x4a2653(0x124)](0.5),_0x2a9522=_0x26217e['mul'](_0x2204c4[_0x4a2653(0x112)])[_0x4a2653(0x124)](_0x452271[_0x4a2653(0x104)](_0x2204c4['outlineHiddenEdgeColor']))['mul'](_0x2204c4['outlineEdgeStrength']),_0x4cf317=_0x2204c4['outlinePulsePeriod'][_0x4a2653(0x167)](0x0)[_0x4a2653(0x136)](_0x2a9522[_0x4a2653(0x104)](_0x967f1),_0x2a9522),_0x146363=_0x4cf317[_0x4a2653(0x124)](_0x23463a),_0xb941a4=_0x2204c4[_0x4a2653(0x114)][_0x4a2653(0x167)](0.5)[_0x4a2653(0x136)](_0x146363,_0x23463a),_0x299dd1=FXAANode_js.fxaa(_0xb941a4),_0x1b2b58=_0x2204c4[_0x4a2653(0x149)][_0x4a2653(0x167)](0.5)[_0x4a2653(0x136)](_0x299dd1,_0xb941a4),_0x3b89f9=SMAANode_js.smaa(_0x1b2b58),_0x286de9=_0x2204c4[_0x4a2653(0x12e)][_0x4a2653(0x167)](0.5)[_0x4a2653(0x136)](_0x3b89f9,_0x1b2b58),_0x37b398=this[_0x4a2653(0x16b)](exports.PostProcessStepType[_0x4a2653(0x162)]);let _0x31621f=_0x286de9;_0x37b398&&_0x37b398[_0x4a2653(0x12f)]===_0x4a2653(0x151)&&(this[_0x4a2653(0x174)]=TRAANode_js.traa(_0x286de9,_0x362e80,_0x4b36d8,this[_0x4a2653(0x16e)]),_0x31621f=this['traaPass']['getTextureNode']()),_0x31621f=this[_0x4a2653(0x14a)](_0x31621f),this[_0x4a2653(0x10f)]['outputNode']=_0x31621f,this['postProcessing'][_0x4a2653(0x153)]=!![];}['onBuildFinalNode'](_0x4a3904){return _0x4a3904;}['createEffectUniforms'](){const _0x5bf3ce=_0x546c1a;var _0x132dee,_0x590639,_0x21f3ed,_0x3e378e;const _0x4233bb=(_0x132dee=this[_0x5bf3ce(0x16b)](exports.PostProcessStepType['Bloom']))!==null&&_0x132dee!==void 0?_0x132dee:DefaultBloomParam,_0x8b914b=(_0x590639=this[_0x5bf3ce(0x16b)](exports.PostProcessStepType[_0x5bf3ce(0x113)]))!==null&&_0x590639!==void 0?_0x590639:DefaultDOFParam,_0x57462d=(_0x21f3ed=this[_0x5bf3ce(0x16b)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x21f3ed!==void 0?_0x21f3ed:DefaultGTAOParam,_0x14b6b0=(_0x3e378e=this[_0x5bf3ce(0x16b)](exports.PostProcessStepType['Outline']))!==null&&_0x3e378e!==void 0?_0x3e378e:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x4233bb[_0x5bf3ce(0x179)]),'bloomThreshold':tsl.uniform(_0x4233bb[_0x5bf3ce(0x148)]),'bloomRadius':tsl.uniform(_0x4233bb[_0x5bf3ce(0x152)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x8b914b[_0x5bf3ce(0x14e)]),'dofAperture':tsl.uniform(_0x8b914b[_0x5bf3ce(0x130)]),'dofMaxBlur':tsl.uniform(_0x8b914b['maxblur']),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x57462d[_0x5bf3ce(0x15a)]),'gtaoDistanceExponent':tsl.uniform(_0x57462d['distanceExponent']),'gtaoDistanceFallOff':tsl.uniform(_0x57462d['distanceFallOff']),'gtaoRadius':tsl.uniform(_0x57462d[_0x5bf3ce(0x152)]),'gtaoThickness':tsl.uniform(_0x57462d['thickness']),'gtaoSamples':tsl.uniform(_0x57462d[_0x5bf3ce(0x140)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x14b6b0[_0x5bf3ce(0x156)]),'outlineEdgeGlow':tsl.uniform(_0x14b6b0[_0x5bf3ce(0x132)]),'outlineEdgeThickness':tsl.uniform(_0x14b6b0[_0x5bf3ce(0x105)]),'outlinePulsePeriod':tsl.uniform(_0x14b6b0['pulsePeriod']),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x14b6b0[_0x5bf3ce(0x14f)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x14b6b0[_0x5bf3ce(0x13c)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x546c1a(0x16b)](_0x5d44b9){const _0x385b9f=_0x546c1a;var _0x484f3c;return (_0x484f3c=this[_0x385b9f(0x12c)][_0x385b9f(0x134)][_0x385b9f(0x15b)](_0x1b76ec=>_0x1b76ec[_0x385b9f(0x121)]===_0x5d44b9))!==null&&_0x484f3c!==void 0?_0x484f3c:null;}['updateAllUniforms'](){const _0x2b3ac1=_0x546c1a;if(!this[_0x2b3ac1(0x173)])return;const _0x5cd45f=this[_0x2b3ac1(0x173)],_0x2b2d20=new Set(this['postProcessParam'][_0x2b3ac1(0x134)]['map'](_0x4a5627=>_0x4a5627['type']));_0x5cd45f[_0x2b3ac1(0x143)][_0x2b3ac1(0x13b)]=_0x2b2d20[_0x2b3ac1(0x127)](exports.PostProcessStepType[_0x2b3ac1(0x161)])?0x1:0x0,_0x5cd45f[_0x2b3ac1(0x116)][_0x2b3ac1(0x13b)]=_0x2b2d20['has'](exports.PostProcessStepType[_0x2b3ac1(0x113)])?0x1:0x0,_0x5cd45f['gtaoEnabled']['value']=_0x2b2d20[_0x2b3ac1(0x127)](exports.PostProcessStepType[_0x2b3ac1(0x108)])?0x1:0x0,_0x5cd45f[_0x2b3ac1(0x114)][_0x2b3ac1(0x13b)]=_0x2b2d20[_0x2b3ac1(0x127)](exports.PostProcessStepType[_0x2b3ac1(0x150)])?0x1:0x0,_0x5cd45f['lensflareEnabled'][_0x2b3ac1(0x13b)]=_0x2b2d20[_0x2b3ac1(0x127)](exports.PostProcessStepType[_0x2b3ac1(0x117)])?0x1:0x0;const _0x2d22fb=this[_0x2b3ac1(0x16b)](exports.PostProcessStepType[_0x2b3ac1(0x162)]);_0x2d22fb?(_0x5cd45f['fxaaEnabled'][_0x2b3ac1(0x13b)]=_0x2d22fb[_0x2b3ac1(0x12f)]===_0x2b3ac1(0x13a)?0x1:0x0,_0x5cd45f[_0x2b3ac1(0x12e)][_0x2b3ac1(0x13b)]=_0x2d22fb[_0x2b3ac1(0x12f)]===_0x2b3ac1(0x141)?0x1:0x0):(_0x5cd45f[_0x2b3ac1(0x149)][_0x2b3ac1(0x13b)]=0x0,_0x5cd45f[_0x2b3ac1(0x12e)]['value']=0x0);const _0x24cee7=this[_0x2b3ac1(0x16b)](exports.PostProcessStepType['Bloom']);_0x24cee7&&(_0x5cd45f[_0x2b3ac1(0x128)][_0x2b3ac1(0x13b)]=_0x24cee7['strength'],_0x5cd45f[_0x2b3ac1(0x158)][_0x2b3ac1(0x13b)]=_0x24cee7[_0x2b3ac1(0x148)],_0x5cd45f[_0x2b3ac1(0x10b)]['value']=_0x24cee7['radius'],this[_0x2b3ac1(0x120)]&&(this[_0x2b3ac1(0x120)][_0x2b3ac1(0x148)][_0x2b3ac1(0x13b)]=_0x24cee7[_0x2b3ac1(0x148)],this[_0x2b3ac1(0x120)]['strength'][_0x2b3ac1(0x13b)]=_0x24cee7['strength'],this['bloomPass'][_0x2b3ac1(0x152)]['value']=_0x24cee7[_0x2b3ac1(0x152)]));const _0x3a93b5=this[_0x2b3ac1(0x16b)](exports.PostProcessStepType[_0x2b3ac1(0x117)]);if(_0x3a93b5&&this[_0x2b3ac1(0x12a)]);const _0x5f518d=this[_0x2b3ac1(0x16b)](exports.PostProcessStepType[_0x2b3ac1(0x113)]);_0x5f518d&&(_0x5cd45f['dofFocus']['value']=_0x5f518d['focus'],_0x5cd45f[_0x2b3ac1(0x17d)][_0x2b3ac1(0x13b)]=_0x5f518d['aperture'],_0x5cd45f['dofMaxBlur'][_0x2b3ac1(0x13b)]=_0x5f518d[_0x2b3ac1(0x171)],this[_0x2b3ac1(0x157)]&&(this[_0x2b3ac1(0x157)][_0x2b3ac1(0x11e)][_0x2b3ac1(0x13b)]=_0x5f518d[_0x2b3ac1(0x14e)],this[_0x2b3ac1(0x157)][_0x2b3ac1(0x14b)][_0x2b3ac1(0x13b)]=_0x5f518d[_0x2b3ac1(0x130)],this[_0x2b3ac1(0x157)][_0x2b3ac1(0x169)]['value']=_0x5f518d['maxblur']));const _0x32f368=this['getStepParam'](exports.PostProcessStepType[_0x2b3ac1(0x108)]);_0x32f368&&(_0x5cd45f[_0x2b3ac1(0x12d)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x15a)],_0x5cd45f[_0x2b3ac1(0x15c)]['value']=_0x32f368['distanceExponent'],_0x5cd45f['gtaoDistanceFallOff']['value']=_0x32f368[_0x2b3ac1(0x122)],_0x5cd45f[_0x2b3ac1(0x11d)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x152)],_0x5cd45f['gtaoThickness'][_0x2b3ac1(0x13b)]=_0x32f368['thickness'],_0x5cd45f[_0x2b3ac1(0x10d)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x140)],this[_0x2b3ac1(0x145)]&&(this['gtaoPass'][_0x2b3ac1(0x129)][_0x2b3ac1(0x13b)]=_0x32f368['distanceExponent'],this[_0x2b3ac1(0x145)][_0x2b3ac1(0x122)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x122)],this[_0x2b3ac1(0x145)][_0x2b3ac1(0x152)]['value']=_0x32f368[_0x2b3ac1(0x152)],this[_0x2b3ac1(0x145)]['scale']['value']=_0x32f368['scale'],this['gtaoPass'][_0x2b3ac1(0x13f)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x13f)],this[_0x2b3ac1(0x145)][_0x2b3ac1(0x140)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x140)],this['gtaoPass']['useTemporalFiltering']=_0x32f368['useTemporalFiltering']));const _0x1adb17=this['getStepParam'](exports.PostProcessStepType[_0x2b3ac1(0x150)]);_0x1adb17&&(_0x5cd45f[_0x2b3ac1(0x165)][_0x2b3ac1(0x13b)]=_0x1adb17['edgeStrength'],_0x5cd45f[_0x2b3ac1(0x135)][_0x2b3ac1(0x13b)]=_0x1adb17[_0x2b3ac1(0x132)],_0x5cd45f[_0x2b3ac1(0x172)][_0x2b3ac1(0x13b)]=_0x1adb17[_0x2b3ac1(0x105)],_0x5cd45f['outlinePulsePeriod']['value']=_0x1adb17[_0x2b3ac1(0x106)],_0x5cd45f[_0x2b3ac1(0x112)][_0x2b3ac1(0x13b)][_0x2b3ac1(0x119)](_0x1adb17['visibleEdgeColor']),_0x5cd45f[_0x2b3ac1(0x159)]['value'][_0x2b3ac1(0x119)](_0x1adb17[_0x2b3ac1(0x13c)]),this[_0x2b3ac1(0x166)]&&(this[_0x2b3ac1(0x166)][_0x2b3ac1(0x11c)][_0x2b3ac1(0x13b)]=_0x1adb17[_0x2b3ac1(0x132)],this[_0x2b3ac1(0x166)][_0x2b3ac1(0x16c)][_0x2b3ac1(0x13b)]=_0x1adb17[_0x2b3ac1(0x105)],this['outlinePass'][_0x2b3ac1(0x11b)]=this['outlineObjects']));}[_0x546c1a(0x14d)](_0x40ff78){const _0x407b4f=_0x546c1a;this[_0x407b4f(0x12c)][_0x407b4f(0x134)]=_0x40ff78,(!this[_0x407b4f(0x173)]||!this[_0x407b4f(0x10f)])&&this[_0x407b4f(0x126)](),this[_0x407b4f(0x16d)](),this[_0x407b4f(0x17c)]();}['addOutlineObject'](_0x1b052f){const _0x45c38d=_0x546c1a;!this['outlineObjects'][_0x45c38d(0x142)](_0x1b052f)&&(this[_0x45c38d(0x175)][_0x45c38d(0x10a)](_0x1b052f),this[_0x45c38d(0x166)]&&(this[_0x45c38d(0x166)][_0x45c38d(0x11b)]=this[_0x45c38d(0x175)])),this['markDirty']();}[_0x546c1a(0x15f)](_0x4f7cc3){const _0x4574de=_0x546c1a;this[_0x4574de(0x175)]['length']=0x0,this[_0x4574de(0x175)][_0x4574de(0x10a)](..._0x4f7cc3),this['outlinePass']&&(this['outlinePass']['selectedObjects']=this[_0x4574de(0x175)]),this['markDirty']();}['removeOutlineObject'](_0x69ec20){const _0x1fef10=_0x546c1a,_0x562919=this[_0x1fef10(0x175)][_0x1fef10(0x138)](_0x69ec20);_0x562919>-1&&(this['outlineObjects'][_0x1fef10(0x16a)](_0x562919,0x1),this[_0x1fef10(0x166)]&&(this['outlinePass'][_0x1fef10(0x11b)]=this[_0x1fef10(0x175)])),this['markDirty']();}[_0x546c1a(0x123)](_0x10dbc7){const _0x58def0=_0x546c1a;this[_0x58def0(0x125)]=_0x10dbc7,this[_0x58def0(0x126)](),this[_0x58def0(0x16d)](),this[_0x58def0(0x17c)]();}[_0x546c1a(0x170)](){const _0x5b9846=_0x546c1a;return this[_0x5b9846(0x125)];}[_0x546c1a(0x13e)](){const _0x1ff7f1=_0x546c1a;if(this['postProcessing'])return this[_0x1ff7f1(0x10f)][_0x1ff7f1(0x13e)](),!![];return ![];}['destroy'](){const _0x1ee76a=_0x546c1a;this['outlineObjects']=[],this['effectUniforms']=null,this['outlinePass']=null,this[_0x1ee76a(0x120)]=null,this['dofPass']=null,this[_0x1ee76a(0x145)]=null,this['traaPass']=null,this[_0x1ee76a(0x12a)]=null,this[_0x1ee76a(0x125)]=null,this[_0x1ee76a(0x10f)]&&(this[_0x1ee76a(0x10f)][_0x1ee76a(0x110)](),this[_0x1ee76a(0x10f)]=null);}['markDirty'](){const _0x2a8068=_0x546c1a;this[_0x2a8068(0x164)]&&this[_0x2a8068(0x164)]();}}
|
|
62
|
+
const _0xe739a1=_0x4f2a;(function(_0x32e5e0,_0xcf8567){const _0x44eead=_0x4f2a,_0x1517b0=_0x32e5e0();while(!![]){try{const _0x3887a=parseInt(_0x44eead(0xec))/0x1*(parseInt(_0x44eead(0xe7))/0x2)+-parseInt(_0x44eead(0x114))/0x3*(-parseInt(_0x44eead(0x12b))/0x4)+parseInt(_0x44eead(0x12f))/0x5+parseInt(_0x44eead(0xd8))/0x6*(parseInt(_0x44eead(0xd6))/0x7)+-parseInt(_0x44eead(0x121))/0x8+-parseInt(_0x44eead(0xfe))/0x9+-parseInt(_0x44eead(0xe3))/0xa;if(_0x3887a===_0xcf8567)break;else _0x1517b0['push'](_0x1517b0['shift']());}catch(_0x3e5422){_0x1517b0['push'](_0x1517b0['shift']());}}}(_0x141b,0xc45ac));function _0x4f2a(_0x25ed06,_0x5b082b){_0x25ed06=_0x25ed06-0xd0;const _0x141b0f=_0x141b();let _0x4f2a8f=_0x141b0f[_0x25ed06];return _0x4f2a8f;}function _0x141b(){const _0x2c7619=['Bloom','distanceFallOff','pulsePeriod','renderer','bloomStrength','onDirtyCallback','outputNode','updateAllUniforms','markDirty','outlineObjects','dofAperture','needsUpdate','thickness','3coaCRa','bokehScaleNode','indexOf','DepthOfField','traa','updateSteps','outlineEdgeGlow','steps','resolutionScale','outlineEdgeThickness','map','gtaoRadius','threshold','1323232hKxGlf','setOutlineObjects','dispose','scale','gtaoSamples','splice','aperture','normal','postProcessParam','effectUniforms','490436GqRXsn','createEffectUniforms','edgeGlow','destroy','3398440oXaWSj','getStepParam','outlineVisibleEdgeColor','gtaoThickness','render','gtaoDistanceExponent','setup','radius','maxblur','greaterThan','fxaaEnabled','includes','setLUT3DTexture','focus','selectedObjects','processing','strength','updateCamera','buildPipeline','Antialiasing','method','select','removeOutlineObject','focusDistanceNode','hiddenEdgeColor','smaa','getLUT3DTexture','dofEnabled','onBuildFinalNode','postProcessing','addOutlineObject','add','find','ghostTint','set','has','13867UiOiOD','smaaEnabled','1374CnfXAa','LensFlare','bloomThreshold','outlinePulsePeriod','setMRT','gtaoPass','value','push','lensflarePass','dofMaxBlur','outlineEdgeStrength','5784810FWzgeN','div','dofPass','outlineHiddenEdgeColor','20GsStSF','assign','edgeGlowNode','downSampleRatio','getTextureNode','143777jcSAuj','ghostSamples','lensflareEnabled','useTemporalFiltering','length','lut3dTexture','visibleEdgeColor','gtaoEnabled','scene','mul','dofFocus','ghostSpacing','type','camera','traaPass','focalLengthNode','outlinePass','velocity','10310067CIVtcj','bloomPass','samples','distanceExponent','Outline','outlineEnabled','edgeStrength','depth','edgeThickness'];_0x141b=function(){return _0x2c7619;};return _0x141b();}class PostProcessManager{constructor(_0x49f369,_0x2a8fbb,_0x48a4c5,_0x1b6c22,_0x4bb1c1){const _0x3db5e0=_0x4f2a;this['postProcessing']=null,this[_0x3db5e0(0x110)]=[],this[_0x3db5e0(0x12a)]=null,this[_0x3db5e0(0xfc)]=null,this['bloomPass']=null,this[_0x3db5e0(0xe5)]=null,this[_0x3db5e0(0xdd)]=null,this[_0x3db5e0(0xfa)]=null,this[_0x3db5e0(0xe0)]=null,this[_0x3db5e0(0xf1)]=null,this[_0x3db5e0(0x10c)]=null,this[_0x3db5e0(0x10a)]=_0x49f369,this[_0x3db5e0(0xf4)]=_0x2a8fbb,this['camera']=_0x48a4c5,this[_0x3db5e0(0x129)]=Object[_0x3db5e0(0xe8)]({},_0x1b6c22),this[_0x3db5e0(0x10c)]=_0x4bb1c1!==null&&_0x4bb1c1!==void 0?_0x4bb1c1:null;}get[_0xe739a1(0x13e)](){const _0x1e0d05=_0xe739a1;return this[_0x1e0d05(0x14c)];}[_0xe739a1(0x140)](_0x3fb457){const _0x5c026c=_0xe739a1;this[_0x5c026c(0xf9)]=_0x3fb457,(!this['postProcessing']||!this['effectUniforms'])&&(this[_0x5c026c(0x141)](),this[_0x5c026c(0x10e)](),this['markDirty']());}[_0xe739a1(0x135)](){const _0x1a73e5=_0xe739a1;(!this[_0x1a73e5(0x14c)]||!this[_0x1a73e5(0x12a)])&&this['buildPipeline'](),this['updateAllUniforms'](),this['markDirty']();}[_0xe739a1(0x141)](){const _0x3ec172=_0xe739a1;var _0x537a42,_0x25c7f0,_0x57a6a2,_0xfc1fba,_0x4e70c3;this['postProcessing']&&this[_0x3ec172(0x14c)]['dispose']();this['postProcessing']=new webgpu.PostProcessing(this[_0x3ec172(0x10a)]),this['effectUniforms']=this[_0x3ec172(0x12c)]();const _0x5474ae=tsl.pass(this[_0x3ec172(0xf4)],this[_0x3ec172(0xf9)]);_0x5474ae[_0x3ec172(0xdc)](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x17497c=_0x5474ae[_0x3ec172(0xeb)]('output'),_0x52e757=_0x5474ae[_0x3ec172(0xeb)](_0x3ec172(0x128)),_0x23e334=_0x5474ae[_0x3ec172(0xeb)](_0x3ec172(0x105)),_0x2bc321=_0x5474ae[_0x3ec172(0xeb)](_0x3ec172(0xfd)),_0x17c222=_0x5474ae['getViewZNode'](),_0x57e7e5=this[_0x3ec172(0x12a)],_0x31d7f5=(_0x537a42=this[_0x3ec172(0x130)](exports.PostProcessStepType['Bloom']))!==null&&_0x537a42!==void 0?_0x537a42:DefaultBloomParam;this['bloomPass']=BloomNode_js.bloom(_0x17497c),this[_0x3ec172(0xff)][_0x3ec172(0x120)]['value']=_0x31d7f5[_0x3ec172(0x120)],this[_0x3ec172(0xff)][_0x3ec172(0x13f)][_0x3ec172(0xde)]=_0x31d7f5[_0x3ec172(0x13f)],this['bloomPass']['radius'][_0x3ec172(0xde)]=_0x31d7f5[_0x3ec172(0x136)];const _0x1e541b=_0x17497c[_0x3ec172(0xd1)](this['bloomPass'][_0x3ec172(0xf5)](_0x57e7e5[_0x3ec172(0x10b)])),_0x35d2cd=_0x57e7e5['bloomEnabled'][_0x3ec172(0x138)](0.5)[_0x3ec172(0x144)](_0x1e541b,_0x17497c),_0x28a445=(_0x25c7f0=this['getStepParam'](exports.PostProcessStepType[_0x3ec172(0xd9)]))!==null&&_0x25c7f0!==void 0?_0x25c7f0:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this[_0x3ec172(0xff)][_0x3ec172(0xeb)](),{'ghostTint':tsl.vec3(_0x28a445[_0x3ec172(0xd3)][0x0],_0x28a445[_0x3ec172(0xd3)][0x1],_0x28a445[_0x3ec172(0xd3)][0x2]),'threshold':tsl.float(_0x28a445['threshold']),'ghostSamples':tsl.float(_0x28a445[_0x3ec172(0xed)]),'ghostSpacing':tsl.float(_0x28a445[_0x3ec172(0xf7)]),'ghostAttenuationFactor':tsl.float(_0x28a445['ghostAttenuationFactor']),'downSampleRatio':_0x28a445[_0x3ec172(0xea)]});const _0x856b7e=_0x35d2cd[_0x3ec172(0xd1)](this['lensflarePass'][_0x3ec172(0xeb)]()),_0x2e64c9=_0x57e7e5['lensflareEnabled'][_0x3ec172(0x138)](0.5)[_0x3ec172(0x144)](_0x856b7e,_0x35d2cd),_0x1c6bf5=(_0x57a6a2=this[_0x3ec172(0x130)](exports.PostProcessStepType[_0x3ec172(0x117)]))!==null&&_0x57a6a2!==void 0?_0x57a6a2:DefaultDOFParam;this['dofPass']=DepthOfFieldNode_js.dof(_0x2e64c9,_0x17c222,tsl.uniform(_0x1c6bf5[_0x3ec172(0x13c)]),tsl.uniform(_0x1c6bf5[_0x3ec172(0x127)]),tsl.uniform(_0x1c6bf5[_0x3ec172(0x137)]));const _0x47178b=_0x57e7e5[_0x3ec172(0x14a)][_0x3ec172(0x138)](0.5)['select'](this[_0x3ec172(0xe5)],_0x2e64c9),_0xd46321=(_0xfc1fba=this[_0x3ec172(0x130)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0xfc1fba!==void 0?_0xfc1fba:DefaultGTAOParam;this[_0x3ec172(0xdd)]=GTAONode_js.ao(_0x23e334,_0x52e757,this['camera']),this[_0x3ec172(0xdd)][_0x3ec172(0x11c)]=0.5,this[_0x3ec172(0xdd)][_0x3ec172(0x101)][_0x3ec172(0xde)]=_0xd46321['distanceExponent'],this[_0x3ec172(0xdd)][_0x3ec172(0x108)][_0x3ec172(0xde)]=_0xd46321[_0x3ec172(0x108)],this[_0x3ec172(0xdd)][_0x3ec172(0x136)][_0x3ec172(0xde)]=_0xd46321[_0x3ec172(0x136)],this[_0x3ec172(0xdd)][_0x3ec172(0x124)]['value']=_0xd46321['scale'],this[_0x3ec172(0xdd)][_0x3ec172(0x113)][_0x3ec172(0xde)]=_0xd46321[_0x3ec172(0x113)],this[_0x3ec172(0xdd)][_0x3ec172(0x100)][_0x3ec172(0xde)]=_0xd46321[_0x3ec172(0x100)],this['gtaoPass'][_0x3ec172(0xef)]=_0xd46321[_0x3ec172(0xef)];const _0x17a240=this[_0x3ec172(0xdd)][_0x3ec172(0xeb)](),_0x134467=_0x17a240['r'],_0x36d203=_0x47178b[_0x3ec172(0xf5)](_0x134467),_0x3b3542=_0x57e7e5[_0x3ec172(0xf3)][_0x3ec172(0x138)](0.5)['select'](_0x36d203,_0x47178b),_0x531f6e=(_0x4e70c3=this[_0x3ec172(0x130)](exports.PostProcessStepType[_0x3ec172(0x102)]))!==null&&_0x4e70c3!==void 0?_0x4e70c3:DefaultOutlineParams;this[_0x3ec172(0xfc)]=OutlineNode_js.outline(this['scene'],this[_0x3ec172(0xf9)],{'selectedObjects':this[_0x3ec172(0x110)],'edgeGlow':tsl.uniform(_0x531f6e[_0x3ec172(0x12d)]),'edgeThickness':tsl.uniform(_0x531f6e[_0x3ec172(0x106)])});const {visibleEdge:_0x3ffe24,hiddenEdge:_0x21ea93}=this['outlinePass'],_0x385c63=_0x57e7e5[_0x3ec172(0xdb)]['greaterThan'](0x0)[_0x3ec172(0x144)](_0x57e7e5['outlinePulsePeriod'],tsl.uniform(0x1)),_0xe68625=tsl.time[_0x3ec172(0xe4)](_0x385c63)[_0x3ec172(0xf5)](0x2),_0x455b7d=tsl.oscSine(_0xe68625)[_0x3ec172(0xf5)](0.5)[_0x3ec172(0xd1)](0.5),_0x3071ba=_0x3ffe24[_0x3ec172(0xf5)](_0x57e7e5[_0x3ec172(0x131)])[_0x3ec172(0xd1)](_0x21ea93[_0x3ec172(0xf5)](_0x57e7e5[_0x3ec172(0xe6)]))['mul'](_0x57e7e5[_0x3ec172(0xe2)]),_0x2dc315=_0x57e7e5['outlinePulsePeriod'][_0x3ec172(0x138)](0x0)[_0x3ec172(0x144)](_0x3071ba[_0x3ec172(0xf5)](_0x455b7d),_0x3071ba),_0x3351a9=_0x2dc315[_0x3ec172(0xd1)](_0x3b3542),_0x3aaad2=_0x57e7e5[_0x3ec172(0x103)]['greaterThan'](0.5)[_0x3ec172(0x144)](_0x3351a9,_0x3b3542),_0x58971a=FXAANode_js.fxaa(_0x3aaad2),_0x384b81=_0x57e7e5[_0x3ec172(0x139)][_0x3ec172(0x138)](0.5)[_0x3ec172(0x144)](_0x58971a,_0x3aaad2),_0x293f1e=SMAANode_js.smaa(_0x384b81),_0x3e8f8c=_0x57e7e5[_0x3ec172(0xd7)][_0x3ec172(0x138)](0.5)[_0x3ec172(0x144)](_0x293f1e,_0x384b81),_0x4a656b=this[_0x3ec172(0x130)](exports.PostProcessStepType[_0x3ec172(0x142)]);let _0x5b9593=_0x3e8f8c;_0x4a656b&&_0x4a656b[_0x3ec172(0x143)]===_0x3ec172(0x118)&&(this['traaPass']=TRAANode_js.traa(_0x3e8f8c,_0x23e334,_0x2bc321,this[_0x3ec172(0xf9)]),_0x5b9593=this[_0x3ec172(0xfa)][_0x3ec172(0xeb)]()),_0x5b9593=this[_0x3ec172(0x14b)](_0x5b9593),this[_0x3ec172(0x14c)][_0x3ec172(0x10d)]=_0x5b9593,this[_0x3ec172(0x14c)][_0x3ec172(0x112)]=!![];}[_0xe739a1(0x14b)](_0x411808){return _0x411808;}[_0xe739a1(0x12c)](){const _0x5b675c=_0xe739a1;var _0x1f182a,_0x4f4a89,_0x2dc491,_0x2f7f27;const _0x50f6f1=(_0x1f182a=this[_0x5b675c(0x130)](exports.PostProcessStepType['Bloom']))!==null&&_0x1f182a!==void 0?_0x1f182a:DefaultBloomParam,_0x346ccf=(_0x4f4a89=this['getStepParam'](exports.PostProcessStepType[_0x5b675c(0x117)]))!==null&&_0x4f4a89!==void 0?_0x4f4a89:DefaultDOFParam,_0x338384=(_0x2dc491=this[_0x5b675c(0x130)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x2dc491!==void 0?_0x2dc491:DefaultGTAOParam,_0x429572=(_0x2f7f27=this[_0x5b675c(0x130)](exports.PostProcessStepType[_0x5b675c(0x102)]))!==null&&_0x2f7f27!==void 0?_0x2f7f27:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x50f6f1[_0x5b675c(0x13f)]),'bloomThreshold':tsl.uniform(_0x50f6f1['threshold']),'bloomRadius':tsl.uniform(_0x50f6f1[_0x5b675c(0x136)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x346ccf[_0x5b675c(0x13c)]),'dofAperture':tsl.uniform(_0x346ccf[_0x5b675c(0x127)]),'dofMaxBlur':tsl.uniform(_0x346ccf[_0x5b675c(0x137)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x338384['scale']),'gtaoDistanceExponent':tsl.uniform(_0x338384['distanceExponent']),'gtaoDistanceFallOff':tsl.uniform(_0x338384[_0x5b675c(0x108)]),'gtaoRadius':tsl.uniform(_0x338384[_0x5b675c(0x136)]),'gtaoThickness':tsl.uniform(_0x338384[_0x5b675c(0x113)]),'gtaoSamples':tsl.uniform(_0x338384['samples']),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x429572[_0x5b675c(0x104)]),'outlineEdgeGlow':tsl.uniform(_0x429572['edgeGlow']),'outlineEdgeThickness':tsl.uniform(_0x429572['edgeThickness']),'outlinePulsePeriod':tsl.uniform(_0x429572[_0x5b675c(0x109)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x429572[_0x5b675c(0xf2)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x429572[_0x5b675c(0x147)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}['getStepParam'](_0x296edf){const _0x26661a=_0xe739a1;var _0x1972e7;return (_0x1972e7=this[_0x26661a(0x129)][_0x26661a(0x11b)][_0x26661a(0xd2)](_0x217c07=>_0x217c07[_0x26661a(0xf8)]===_0x296edf))!==null&&_0x1972e7!==void 0?_0x1972e7:null;}[_0xe739a1(0x10e)](){const _0x3b76f5=_0xe739a1;if(!this[_0x3b76f5(0x12a)])return;const _0x5b1a1d=this['effectUniforms'],_0x49e47d=new Set(this['postProcessParam'][_0x3b76f5(0x11b)][_0x3b76f5(0x11e)](_0x43c95b=>_0x43c95b['type']));_0x5b1a1d['bloomEnabled'][_0x3b76f5(0xde)]=_0x49e47d[_0x3b76f5(0xd5)](exports.PostProcessStepType[_0x3b76f5(0x107)])?0x1:0x0,_0x5b1a1d[_0x3b76f5(0x14a)][_0x3b76f5(0xde)]=_0x49e47d[_0x3b76f5(0xd5)](exports.PostProcessStepType[_0x3b76f5(0x117)])?0x1:0x0,_0x5b1a1d['gtaoEnabled'][_0x3b76f5(0xde)]=_0x49e47d['has'](exports.PostProcessStepType['GroundTruthAmbientOcclusion'])?0x1:0x0,_0x5b1a1d[_0x3b76f5(0x103)]['value']=_0x49e47d[_0x3b76f5(0xd5)](exports.PostProcessStepType['Outline'])?0x1:0x0,_0x5b1a1d[_0x3b76f5(0xee)][_0x3b76f5(0xde)]=_0x49e47d['has'](exports.PostProcessStepType[_0x3b76f5(0xd9)])?0x1:0x0;const _0x281a55=this[_0x3b76f5(0x130)](exports.PostProcessStepType[_0x3b76f5(0x142)]);_0x281a55?(_0x5b1a1d[_0x3b76f5(0x139)]['value']=_0x281a55[_0x3b76f5(0x143)]==='fxaa'?0x1:0x0,_0x5b1a1d[_0x3b76f5(0xd7)][_0x3b76f5(0xde)]=_0x281a55['method']===_0x3b76f5(0x148)?0x1:0x0):(_0x5b1a1d[_0x3b76f5(0x139)][_0x3b76f5(0xde)]=0x0,_0x5b1a1d[_0x3b76f5(0xd7)][_0x3b76f5(0xde)]=0x0);const _0x4054e7=this[_0x3b76f5(0x130)](exports.PostProcessStepType[_0x3b76f5(0x107)]);_0x4054e7&&(_0x5b1a1d['bloomStrength'][_0x3b76f5(0xde)]=_0x4054e7[_0x3b76f5(0x13f)],_0x5b1a1d[_0x3b76f5(0xda)]['value']=_0x4054e7['threshold'],_0x5b1a1d['bloomRadius'][_0x3b76f5(0xde)]=_0x4054e7[_0x3b76f5(0x136)],this[_0x3b76f5(0xff)]&&(this['bloomPass']['threshold']['value']=_0x4054e7[_0x3b76f5(0x120)],this[_0x3b76f5(0xff)]['strength'][_0x3b76f5(0xde)]=_0x4054e7['strength'],this['bloomPass'][_0x3b76f5(0x136)][_0x3b76f5(0xde)]=_0x4054e7[_0x3b76f5(0x136)]));const _0x5877b9=this[_0x3b76f5(0x130)](exports.PostProcessStepType[_0x3b76f5(0xd9)]);if(_0x5877b9&&this[_0x3b76f5(0xe0)]);const _0x139cd8=this[_0x3b76f5(0x130)](exports.PostProcessStepType['DepthOfField']);_0x139cd8&&(_0x5b1a1d[_0x3b76f5(0xf6)][_0x3b76f5(0xde)]=_0x139cd8[_0x3b76f5(0x13c)],_0x5b1a1d[_0x3b76f5(0x111)]['value']=_0x139cd8[_0x3b76f5(0x127)],_0x5b1a1d[_0x3b76f5(0xe1)][_0x3b76f5(0xde)]=_0x139cd8[_0x3b76f5(0x137)],this[_0x3b76f5(0xe5)]&&(this['dofPass'][_0x3b76f5(0x146)][_0x3b76f5(0xde)]=_0x139cd8[_0x3b76f5(0x13c)],this[_0x3b76f5(0xe5)][_0x3b76f5(0xfb)][_0x3b76f5(0xde)]=_0x139cd8[_0x3b76f5(0x127)],this[_0x3b76f5(0xe5)][_0x3b76f5(0x115)][_0x3b76f5(0xde)]=_0x139cd8[_0x3b76f5(0x137)]));const _0x2748f5=this['getStepParam'](exports.PostProcessStepType['GroundTruthAmbientOcclusion']);_0x2748f5&&(_0x5b1a1d['gtaoScale']['value']=_0x2748f5[_0x3b76f5(0x124)],_0x5b1a1d[_0x3b76f5(0x134)][_0x3b76f5(0xde)]=_0x2748f5['distanceExponent'],_0x5b1a1d['gtaoDistanceFallOff']['value']=_0x2748f5[_0x3b76f5(0x108)],_0x5b1a1d[_0x3b76f5(0x11f)][_0x3b76f5(0xde)]=_0x2748f5['radius'],_0x5b1a1d[_0x3b76f5(0x132)][_0x3b76f5(0xde)]=_0x2748f5['thickness'],_0x5b1a1d[_0x3b76f5(0x125)][_0x3b76f5(0xde)]=_0x2748f5[_0x3b76f5(0x100)],this['gtaoPass']&&(this[_0x3b76f5(0xdd)][_0x3b76f5(0x101)]['value']=_0x2748f5[_0x3b76f5(0x101)],this['gtaoPass'][_0x3b76f5(0x108)][_0x3b76f5(0xde)]=_0x2748f5['distanceFallOff'],this['gtaoPass'][_0x3b76f5(0x136)][_0x3b76f5(0xde)]=_0x2748f5[_0x3b76f5(0x136)],this['gtaoPass'][_0x3b76f5(0x124)][_0x3b76f5(0xde)]=_0x2748f5[_0x3b76f5(0x124)],this['gtaoPass'][_0x3b76f5(0x113)][_0x3b76f5(0xde)]=_0x2748f5[_0x3b76f5(0x113)],this[_0x3b76f5(0xdd)][_0x3b76f5(0x100)][_0x3b76f5(0xde)]=_0x2748f5['samples'],this['gtaoPass'][_0x3b76f5(0xef)]=_0x2748f5[_0x3b76f5(0xef)]));const _0x546f68=this['getStepParam'](exports.PostProcessStepType['Outline']);_0x546f68&&(_0x5b1a1d['outlineEdgeStrength']['value']=_0x546f68['edgeStrength'],_0x5b1a1d[_0x3b76f5(0x11a)][_0x3b76f5(0xde)]=_0x546f68[_0x3b76f5(0x12d)],_0x5b1a1d[_0x3b76f5(0x11d)][_0x3b76f5(0xde)]=_0x546f68['edgeThickness'],_0x5b1a1d[_0x3b76f5(0xdb)][_0x3b76f5(0xde)]=_0x546f68[_0x3b76f5(0x109)],_0x5b1a1d[_0x3b76f5(0x131)][_0x3b76f5(0xde)][_0x3b76f5(0xd4)](_0x546f68[_0x3b76f5(0xf2)]),_0x5b1a1d[_0x3b76f5(0xe6)]['value'][_0x3b76f5(0xd4)](_0x546f68[_0x3b76f5(0x147)]),this[_0x3b76f5(0xfc)]&&(this['outlinePass'][_0x3b76f5(0xe9)]['value']=_0x546f68[_0x3b76f5(0x12d)],this['outlinePass']['edgeThicknessNode'][_0x3b76f5(0xde)]=_0x546f68[_0x3b76f5(0x106)],this[_0x3b76f5(0xfc)][_0x3b76f5(0x13d)]=this[_0x3b76f5(0x110)]));}[_0xe739a1(0x119)](_0x313bf0){const _0x3f05d0=_0xe739a1;this[_0x3f05d0(0x129)][_0x3f05d0(0x11b)]=_0x313bf0,(!this[_0x3f05d0(0x12a)]||!this[_0x3f05d0(0x14c)])&&this[_0x3f05d0(0x141)](),this[_0x3f05d0(0x10e)](),this[_0x3f05d0(0x10f)]();}[_0xe739a1(0xd0)](_0x5c97c2){const _0x1e8db8=_0xe739a1;!this['outlineObjects'][_0x1e8db8(0x13a)](_0x5c97c2)&&(this[_0x1e8db8(0x110)][_0x1e8db8(0xdf)](_0x5c97c2),this[_0x1e8db8(0xfc)]&&(this[_0x1e8db8(0xfc)][_0x1e8db8(0x13d)]=this[_0x1e8db8(0x110)])),this[_0x1e8db8(0x10f)]();}[_0xe739a1(0x122)](_0x4e4901){const _0x493c7b=_0xe739a1;this[_0x493c7b(0x110)][_0x493c7b(0xf0)]=0x0,this['outlineObjects']['push'](..._0x4e4901),this[_0x493c7b(0xfc)]&&(this[_0x493c7b(0xfc)]['selectedObjects']=this[_0x493c7b(0x110)]),this[_0x493c7b(0x10f)]();}[_0xe739a1(0x145)](_0x352a3f){const _0x16ad87=_0xe739a1,_0x5f0110=this['outlineObjects'][_0x16ad87(0x116)](_0x352a3f);_0x5f0110>-1&&(this[_0x16ad87(0x110)][_0x16ad87(0x126)](_0x5f0110,0x1),this[_0x16ad87(0xfc)]&&(this[_0x16ad87(0xfc)][_0x16ad87(0x13d)]=this[_0x16ad87(0x110)])),this[_0x16ad87(0x10f)]();}[_0xe739a1(0x13b)](_0x42a8b6){const _0x28b600=_0xe739a1;this['lut3dTexture']=_0x42a8b6,this[_0x28b600(0x141)](),this[_0x28b600(0x10e)](),this['markDirty']();}[_0xe739a1(0x149)](){return this['lut3dTexture'];}[_0xe739a1(0x133)](){const _0xff0112=_0xe739a1;if(this[_0xff0112(0x14c)])return this['postProcessing'][_0xff0112(0x133)](),!![];return ![];}[_0xe739a1(0x12e)](){const _0x35d837=_0xe739a1;this[_0x35d837(0x110)]=[],this['effectUniforms']=null,this[_0x35d837(0xfc)]=null,this[_0x35d837(0xff)]=null,this[_0x35d837(0xe5)]=null,this[_0x35d837(0xdd)]=null,this['traaPass']=null,this['lensflarePass']=null,this[_0x35d837(0xf1)]=null,this[_0x35d837(0x14c)]&&(this['postProcessing'][_0x35d837(0x123)](),this[_0x35d837(0x14c)]=null);}['markDirty'](){const _0x2a10fa=_0xe739a1;this[_0x2a10fa(0x10c)]&&this['onDirtyCallback']();}}
|
|
63
63
|
|
|
64
|
-
function _0x25ef(_0x25dd92,_0x1f118e){_0x25dd92=_0x25dd92-0x78;const _0x24da44=_0x24da();let _0x25ef47=_0x24da44[_0x25dd92];return _0x25ef47;}const _0xa61c4a=_0x25ef;(function(_0x274d5b,_0x2f2de5){const _0x59c856=_0x25ef,_0x47f5b4=_0x274d5b();while(!![]){try{const _0x12db82=parseInt(_0x59c856(0xb7))/0x1+-parseInt(_0x59c856(0xba))/0x2*(-parseInt(_0x59c856(0x7b))/0x3)+-parseInt(_0x59c856(0xbe))/0x4*(parseInt(_0x59c856(0x9e))/0x5)+-parseInt(_0x59c856(0xb8))/0x6+-parseInt(_0x59c856(0x81))/0x7*(parseInt(_0x59c856(0x8a))/0x8)+parseInt(_0x59c856(0x78))/0x9*(parseInt(_0x59c856(0xe2))/0xa)+parseInt(_0x59c856(0x7f))/0xb;if(_0x12db82===_0x2f2de5)break;else _0x47f5b4['push'](_0x47f5b4['shift']());}catch(_0x3edfdb){_0x47f5b4['push'](_0x47f5b4['shift']());}}}(_0x24da,0xdd991));function _0x24da(){const _0x35436c=['destroyPostProcess','world','25093673dIblZi','position','3688601PaOtBi','resizeObserver','uiDom','setSize','alpha','clientWidth','domElement','observe','createUILayer','16gFGtns','100%','scene','App\x20is\x20not\x20initialized','render','setAlpha','setup','setStencil','markRenderStateDirty','outputBufferType','createRenderer','camera','setToneMappingExposure','renderAsImage','getContext','devicePixelRatio','none','div','scene-uiLayer','image/jpeg','5mNSWai','shadowMapType','_app','setPixelRatio','addOutlineObject','updateSteps','labelRenderer','shadowMapEnabled','createLabelRenderer','toneMapping','setToneMapping','_canvasContainer','logarithmicDepthBuffer','updateCamera','samples','contentBoxSize','querySelector','getElementById','toDataURL','.scene-uiLayer','top','stencil','renderer','remove','setShadowMapEnabled','1627440nVgidv','10072740MXvcnx','app','2euZyPW','clientHeight','removeOutlineObject','setOutlineObjects','5207104rtZbRZ','className','disconnect','Can\x20not\x20create\x20context','dispose','setAnimationLoop','onAfterPostProcessRender','zIndex','appendChild','removeChild','init','forceWebGL','setDepth','postProcessManager','height','style','absolute','onWindowResize','antialias','isLabelRendererNeeded','drawImage','type','setLogarithmicDepthBufferEnabled','updateRendererSettings','enabled','updatePostProcess','setupPostProcess','_uiDom','left','postProcessParam','width','pointerEvents','onCameraChangedDelegate','isRenderStateDirty','shadowMap','scene-labelRenderer','193460HEWBos','_renderer','0px','destroy','canvas','423FtFZWq','_outerContainer','toneMappingExposure','372516gqdddx','depth'];_0x24da=function(){return _0x35436c;};return _0x24da();}class Viewport{get[_0xa61c4a(0x83)](){const _0x2edc1a=_0xa61c4a;return this[_0x2edc1a(0xd9)];}get[_0xa61c4a(0xe6)](){const _0x4a9b49=_0xa61c4a;return this[_0x4a9b49(0xa9)];}get['outer'](){const _0x348eee=_0xa61c4a;return this[_0x348eee(0x79)];}get[_0xa61c4a(0xb4)](){if(!this['_renderer'])throw Error('Renderer\x20is\x20not\x20initialized');return this['_renderer'];}get[_0xa61c4a(0xb9)](){const _0x365938=_0xa61c4a;if(!this[_0x365938(0xa0)])throw Error(_0x365938(0x8d));return this[_0x365938(0xa0)];}constructor(_0x114a0f,_0x3bb55a,_0x1e76fd,_0x23603c){const _0x3d4aa3=_0xa61c4a;this[_0x3d4aa3(0xd9)]=null,this['_renderer']=null,this['labelRenderer']=null,this[_0x3d4aa3(0xa0)]=null,this['resizeObserver']=null,this[_0x3d4aa3(0x79)]=null,this[_0x3d4aa3(0xa9)]=null,this[_0x3d4aa3(0xdf)]=!![],this[_0x3d4aa3(0xcb)]=null,this['postProcessParam']=Object['assign']({},_0x23603c),this[_0x3d4aa3(0xa0)]=_0x114a0f,_0x3bb55a['elementId']&&(this[_0x3d4aa3(0x79)]=document[_0x3d4aa3(0xaf)](_0x3bb55a['elementId'])),this[_0x3d4aa3(0x94)](_0x1e76fd),_0x3bb55a[_0x3d4aa3(0xd1)]&&this[_0x3d4aa3(0xa6)](),_0x3bb55a['isUILayerNeeded']&&this[_0x3d4aa3(0x89)](),this[_0x3d4aa3(0x79)]&&(this[_0x3d4aa3(0x82)]=new ResizeObserver(_0x50c816=>{const _0x475838=_0x3d4aa3;for(let _0xfb3e56 of _0x50c816){_0xfb3e56[_0x475838(0xad)]&&this['onWindowResize']();}}),this[_0x3d4aa3(0x82)][_0x3d4aa3(0x88)](this['_outerContainer'])),this['app'][_0x3d4aa3(0xde)]['add'](()=>{const _0x516a50=_0x3d4aa3;this[_0x516a50(0xcb)]&&(this[_0x516a50(0xcb)][_0x516a50(0xab)](this[_0x516a50(0xb9)][_0x516a50(0x95)]),this[_0x516a50(0xcb)][_0x516a50(0x90)]());});}[_0xa61c4a(0x94)](_0x247fbb){const _0x244d54=_0xa61c4a;this['_outerContainer']&&!this[_0x244d54(0xa9)]&&(this[_0x244d54(0xa9)]=document['createElement'](_0x244d54(0x9b)),this['_canvasContainer'][_0x244d54(0xcd)]['left']=_0x244d54(0xe4),this[_0x244d54(0xa9)][_0x244d54(0xcd)]['top']='0px',this[_0x244d54(0xa9)][_0x244d54(0xcd)][_0x244d54(0xdc)]=_0x244d54(0x8b),this['_canvasContainer'][_0x244d54(0xcd)][_0x244d54(0xcc)]=_0x244d54(0x8b),this[_0x244d54(0x79)][_0x244d54(0xc6)](this[_0x244d54(0xa9)]));const _0x4a8f69=this[_0x244d54(0xa9)];this[_0x244d54(0xe3)]&&(_0x4a8f69&&_0x4a8f69[_0x244d54(0xc7)](this[_0x244d54(0xe3)][_0x244d54(0x87)]),this[_0x244d54(0xe3)][_0x244d54(0xc2)]());let _0x597bbb=_0x4a8f69?_0x4a8f69['clientWidth']:0x200,_0x1a00c7=_0x4a8f69?_0x4a8f69[_0x244d54(0xbb)]:0x200,_0x342ae7={};_0x342ae7[_0x244d54(0xc9)]=_0x247fbb[_0x244d54(0xc9)],_0x342ae7[_0x244d54(0xd0)]=_0x247fbb['antialias'],_0x342ae7[_0x244d54(0x7c)]=_0x247fbb[_0x244d54(0x7c)],_0x342ae7['stencil']=_0x247fbb[_0x244d54(0xb3)],_0x342ae7['alpha']=_0x247fbb[_0x244d54(0x85)],_0x342ae7['logarithmicDepthBuffer']=_0x247fbb['logarithmicDepthBuffer'],_0x342ae7[_0x244d54(0xac)]=_0x247fbb[_0x244d54(0xac)],_0x342ae7[_0x244d54(0x93)]=_0x247fbb[_0x244d54(0x93)],this['_renderer']=new webgpu.WebGPURenderer(_0x342ae7),this[_0x244d54(0xe3)][_0x244d54(0xa1)](window[_0x244d54(0x99)]),this[_0x244d54(0xe3)][_0x244d54(0x84)](_0x597bbb,_0x1a00c7),this[_0x244d54(0xe3)][_0x244d54(0xe0)][_0x244d54(0xd6)]=_0x247fbb[_0x244d54(0xa5)],this[_0x244d54(0xe3)][_0x244d54(0xe0)][_0x244d54(0xd3)]=_0x247fbb[_0x244d54(0x9f)],this[_0x244d54(0xe3)][_0x244d54(0xa7)]=_0x247fbb[_0x244d54(0xa7)],this['_renderer'][_0x244d54(0x7a)]=_0x247fbb[_0x244d54(0x7a)],this[_0x244d54(0xe3)]['setClearAlpha'](0x0),_0x4a8f69&&_0x4a8f69[_0x244d54(0xc6)](this[_0x244d54(0xe3)][_0x244d54(0x87)]);}['createLabelRenderer'](){const _0x3d9c85=_0xa61c4a,_0x228aaa=this[_0x3d9c85(0x79)];this[_0x3d9c85(0xa4)]&&(_0x228aaa&&_0x228aaa[_0x3d9c85(0xc7)](this['labelRenderer'][_0x3d9c85(0x87)]));let _0x46ad20=_0x228aaa?_0x228aaa[_0x3d9c85(0x86)]:0x200,_0x14f40a=_0x228aaa?_0x228aaa[_0x3d9c85(0xbb)]:0x200;this['labelRenderer']=new Addons_js.CSS2DRenderer(),this[_0x3d9c85(0xa4)][_0x3d9c85(0x84)](_0x46ad20,_0x14f40a),this[_0x3d9c85(0xa4)]['domElement']['style'][_0x3d9c85(0xdd)]=_0x3d9c85(0x9a),this[_0x3d9c85(0xa4)][_0x3d9c85(0x87)]['style'][_0x3d9c85(0x80)]=_0x3d9c85(0xce),this[_0x3d9c85(0xa4)][_0x3d9c85(0x87)][_0x3d9c85(0xcd)][_0x3d9c85(0xb2)]=_0x3d9c85(0xe4),this[_0x3d9c85(0xa4)]['domElement'][_0x3d9c85(0xbf)]=_0x3d9c85(0xe1),_0x228aaa&&_0x228aaa['appendChild'](this[_0x3d9c85(0xa4)][_0x3d9c85(0x87)]);}[_0xa61c4a(0x89)](){const _0x12092f=_0xa61c4a;if(!this[_0x12092f(0x79)])return;let _0x5230cc=this[_0x12092f(0x79)][_0x12092f(0xae)](_0x12092f(0xb1));!_0x5230cc&&(_0x5230cc=document['createElement'](_0x12092f(0x9b)),_0x5230cc[_0x12092f(0xbf)]=_0x12092f(0x9c),_0x5230cc['id']=_0x12092f(0x9c),_0x5230cc['style'][_0x12092f(0x80)]=_0x12092f(0xce),_0x5230cc[_0x12092f(0xcd)][_0x12092f(0xda)]='0',_0x5230cc[_0x12092f(0xcd)][_0x12092f(0xb2)]='0',_0x5230cc[_0x12092f(0xcd)]['width']='100%',_0x5230cc[_0x12092f(0xcd)][_0x12092f(0xcc)]='100%',_0x5230cc[_0x12092f(0xcd)][_0x12092f(0xdd)]=_0x12092f(0x9a),_0x5230cc['style'][_0x12092f(0xc5)]='10',this['_outerContainer'][_0x12092f(0xc6)](_0x5230cc),this[_0x12092f(0xd9)]=_0x5230cc);}[_0xa61c4a(0xc8)](){this['setupPostProcess']();}[_0xa61c4a(0xd8)](){const _0x2b34de=_0xa61c4a;!this['postProcessManager']&&(this[_0x2b34de(0xcb)]=this['createPostProcessManager']()),this[_0x2b34de(0xcb)]['setup']();}['createPostProcessManager'](){const _0x4c6f05=_0xa61c4a;return new PostProcessManager(this[_0x4c6f05(0xb4)],this['app'][_0x4c6f05(0x7e)][_0x4c6f05(0x8c)],this['app']['camera'],this[_0x4c6f05(0xdb)],()=>this[_0x4c6f05(0x92)]());}[_0xa61c4a(0xd7)](_0x1cfa58){const _0x23c463=_0xa61c4a;this[_0x23c463(0xcb)]&&this[_0x23c463(0xcb)][_0x23c463(0xa3)](_0x1cfa58);}[_0xa61c4a(0xd5)](_0x23b619){const _0x461bec=_0xa61c4a;this[_0x461bec(0x94)](_0x23b619),this[_0x461bec(0x92)]();}[_0xa61c4a(0xa2)](_0x2fccad){const _0x5f3dc5=_0xa61c4a;this['postProcessManager']&&this[_0x5f3dc5(0xcb)][_0x5f3dc5(0xa2)](_0x2fccad);}[_0xa61c4a(0xbd)](_0x583b09){const _0x434aed=_0xa61c4a;this[_0x434aed(0xcb)]&&this[_0x434aed(0xcb)][_0x434aed(0xbd)](_0x583b09);}['removeOutlineObject'](_0x320802){const _0x532d8c=_0xa61c4a;this[_0x532d8c(0xcb)]&&this[_0x532d8c(0xcb)][_0x532d8c(0xbc)](_0x320802);}[_0xa61c4a(0x7d)](){const _0x536463=_0xa61c4a;this[_0x536463(0xcb)]&&(this[_0x536463(0xcb)][_0x536463(0xe5)](),this['postProcessManager']=null);}[_0xa61c4a(0xcf)](){const _0x4d73cb=_0xa61c4a;let _0x3b58d2=this[_0x4d73cb(0x79)];if(!_0x3b58d2)return;this['app']['onWindowResize'](_0x3b58d2[_0x4d73cb(0x86)],_0x3b58d2[_0x4d73cb(0xbb)]),this[_0x4d73cb(0xb4)][_0x4d73cb(0x84)](_0x3b58d2['clientWidth'],_0x3b58d2[_0x4d73cb(0xbb)]);if(this[_0x4d73cb(0xa4)])this['labelRenderer'][_0x4d73cb(0x84)](_0x3b58d2[_0x4d73cb(0x86)],_0x3b58d2[_0x4d73cb(0xbb)]);this[_0x4d73cb(0x92)]();}[_0xa61c4a(0x92)](){this['isRenderStateDirty']=!![];}[_0xa61c4a(0x8e)](){const _0x39cb4c=_0xa61c4a;if(!this[_0x39cb4c(0xdf)])return;if(this[_0x39cb4c(0xcb)]&&this[_0x39cb4c(0xcb)]['render']());else this[_0x39cb4c(0xb4)]['render'](this[_0x39cb4c(0xb9)][_0x39cb4c(0x7e)]['scene'],this[_0x39cb4c(0xb9)]['camera']);this[_0x39cb4c(0xc4)](),this[_0x39cb4c(0xa4)]&&this[_0x39cb4c(0xa4)][_0x39cb4c(0x8e)](this[_0x39cb4c(0xb9)][_0x39cb4c(0x7e)][_0x39cb4c(0x8c)],this[_0x39cb4c(0xb9)][_0x39cb4c(0x95)]),this['isRenderStateDirty']=![];}[_0xa61c4a(0xc4)](){}async[_0xa61c4a(0x97)](_0x86edf=0x400,_0x2d6944=0x400){const _0x5a6fc3=_0xa61c4a;try{if(this[_0x5a6fc3(0xcb)]&&this[_0x5a6fc3(0xcb)]['render']()){}else await this[_0x5a6fc3(0xb4)][_0x5a6fc3(0x8e)](this['app'][_0x5a6fc3(0x7e)][_0x5a6fc3(0x8c)],this[_0x5a6fc3(0xb9)][_0x5a6fc3(0x95)]);const _0x5629a3=this[_0x5a6fc3(0xb4)]['domElement']['width'],_0x4d7a99=this[_0x5a6fc3(0xb4)][_0x5a6fc3(0x87)][_0x5a6fc3(0xcc)];let _0x8c30f5=_0x5629a3||_0x86edf,_0x583f42=_0x4d7a99||_0x2d6944;(_0x8c30f5<=0x0||_0x583f42<=0x0)&&(_0x8c30f5=_0x86edf,_0x583f42=_0x2d6944);const _0x2f9a13=document['createElement']('canvas');_0x2f9a13[_0x5a6fc3(0xdc)]=_0x86edf,_0x2f9a13[_0x5a6fc3(0xcc)]=_0x2d6944;const _0x595bd9=_0x2f9a13[_0x5a6fc3(0x98)]('2d');if(!_0x595bd9)throw Error(_0x5a6fc3(0xc1));_0x595bd9[_0x5a6fc3(0xd2)](this[_0x5a6fc3(0xb4)][_0x5a6fc3(0x87)],0x0,0x0,_0x8c30f5,_0x583f42,0x0,0x0,_0x86edf,_0x2d6944);const _0x59220e=_0x2f9a13[_0x5a6fc3(0xb0)](_0x5a6fc3(0x9d));return _0x2f9a13[_0x5a6fc3(0xb5)](),_0x59220e;}catch(_0x46c43c){return '';}}[_0xa61c4a(0x8f)](_0x35e6d3){const _0x39f3c8=_0xa61c4a;if(!this['_renderer'])return;this[_0x39f3c8(0xe3)][_0x39f3c8(0x85)]=_0x35e6d3;}[_0xa61c4a(0xb6)](_0x521da3){const _0x358898=_0xa61c4a;if(!this[_0x358898(0xe3)])return;this[_0x358898(0xe3)][_0x358898(0xe0)][_0x358898(0xd6)]=_0x521da3;}['setShadowMapType'](_0xbdbf32){const _0x9b4951=_0xa61c4a;if(!this['_renderer'])return;this[_0x9b4951(0xe3)][_0x9b4951(0xe0)][_0x9b4951(0xd3)]=_0xbdbf32;}[_0xa61c4a(0xa8)](_0x4230bf){const _0xf8a363=_0xa61c4a;if(!this['_renderer'])return;this['_renderer'][_0xf8a363(0xa7)]=_0x4230bf;}[_0xa61c4a(0x96)](_0x4902ac){const _0x52f0eb=_0xa61c4a;if(!this[_0x52f0eb(0xe3)])return;this[_0x52f0eb(0xe3)][_0x52f0eb(0x7a)]=_0x4902ac;}[_0xa61c4a(0xd4)](_0x4a56c2){const _0x25a0cd=_0xa61c4a;if(!this[_0x25a0cd(0xe3)])return;this['_renderer'][_0x25a0cd(0xaa)]=_0x4a56c2;}[_0xa61c4a(0xca)](_0x4cd1a1){const _0x380fce=_0xa61c4a;if(!this['_renderer'])return;this[_0x380fce(0xe3)]['depth']=_0x4cd1a1;}[_0xa61c4a(0x91)](_0x14ab77){const _0x1eb407=_0xa61c4a;if(!this[_0x1eb407(0xe3)])return;this[_0x1eb407(0xe3)]['stencil']=_0x14ab77;}['destroy'](){const _0x29f231=_0xa61c4a;this[_0x29f231(0x7d)](),this[_0x29f231(0xb4)][_0x29f231(0xc3)](null),this[_0x29f231(0x82)]&&(this[_0x29f231(0x82)][_0x29f231(0xc0)](),this[_0x29f231(0x82)]=null),this[_0x29f231(0xa4)]&&(this[_0x29f231(0xa4)]['domElement'][_0x29f231(0xb5)](),this[_0x29f231(0xa4)]=null),this[_0x29f231(0xe3)]&&(this[_0x29f231(0xb4)][_0x29f231(0x87)][_0x29f231(0xb5)](),this['_renderer'][_0x29f231(0xc2)](),this[_0x29f231(0xe3)]=null),this['_canvasContainer']&&(this[_0x29f231(0xa9)][_0x29f231(0xb5)](),this[_0x29f231(0xa9)]=null),this[_0x29f231(0x79)]=null,this[_0x29f231(0xa0)]=null;}}
|
|
64
|
+
const _0x9beb78=_0x6187;(function(_0x58492f,_0x93214f){const _0x529ba6=_0x6187,_0x5ac403=_0x58492f();while(!![]){try{const _0x332335=parseInt(_0x529ba6(0x15c))/0x1*(parseInt(_0x529ba6(0x159))/0x2)+-parseInt(_0x529ba6(0x11e))/0x3*(parseInt(_0x529ba6(0x166))/0x4)+parseInt(_0x529ba6(0x179))/0x5+parseInt(_0x529ba6(0x12e))/0x6*(-parseInt(_0x529ba6(0x158))/0x7)+-parseInt(_0x529ba6(0x139))/0x8+parseInt(_0x529ba6(0x16e))/0x9*(-parseInt(_0x529ba6(0x14f))/0xa)+parseInt(_0x529ba6(0x177))/0xb;if(_0x332335===_0x93214f)break;else _0x5ac403['push'](_0x5ac403['shift']());}catch(_0x41f166){_0x5ac403['push'](_0x5ac403['shift']());}}}(_0x3807,0xc2b2c));class Viewport{get[_0x9beb78(0x11a)](){return this['_uiDom'];}get[_0x9beb78(0x119)](){return this['_canvasContainer'];}get[_0x9beb78(0x165)](){const _0x1b0a0=_0x9beb78;return this[_0x1b0a0(0x169)];}get['renderer'](){const _0x5ac0e2=_0x9beb78;if(!this[_0x5ac0e2(0x124)])throw Error(_0x5ac0e2(0x164));return this[_0x5ac0e2(0x124)];}get['app'](){const _0x25d690=_0x9beb78;if(!this['_app'])throw Error(_0x25d690(0x174));return this[_0x25d690(0x17b)];}constructor(_0x11793a,_0x3a58a6,_0x515ffb,_0xee692d){const _0x418a4f=_0x9beb78;this[_0x418a4f(0x15d)]=null,this[_0x418a4f(0x124)]=null,this['labelRenderer']=null,this[_0x418a4f(0x17b)]=null,this['resizeObserver']=null,this[_0x418a4f(0x169)]=null,this[_0x418a4f(0x11b)]=null,this[_0x418a4f(0x155)]=!![],this[_0x418a4f(0x14c)]=null,this['postProcessParam']=Object['assign']({},_0xee692d),this[_0x418a4f(0x17b)]=_0x11793a,_0x3a58a6['elementId']&&(this[_0x418a4f(0x169)]=document['getElementById'](_0x3a58a6[_0x418a4f(0x15e)])),this[_0x418a4f(0x178)](_0x515ffb),_0x3a58a6[_0x418a4f(0x157)]&&this[_0x418a4f(0x138)](),_0x3a58a6[_0x418a4f(0x149)]&&this[_0x418a4f(0x117)](),this[_0x418a4f(0x169)]&&(this[_0x418a4f(0x12a)]=new ResizeObserver(_0xd187f=>{const _0x1edad5=_0x418a4f;for(let _0x405720 of _0xd187f){_0x405720[_0x1edad5(0x145)]&&this['onWindowResize']();}}),this[_0x418a4f(0x12a)]['observe'](this[_0x418a4f(0x169)])),this[_0x418a4f(0x13e)][_0x418a4f(0x142)][_0x418a4f(0x14e)](()=>{const _0x33a378=_0x418a4f;this[_0x33a378(0x14c)]&&(this['postProcessManager'][_0x33a378(0x137)](this[_0x33a378(0x13e)][_0x33a378(0x125)]),this[_0x33a378(0x14c)][_0x33a378(0x13c)]());});}[_0x9beb78(0x178)](_0x55d997){const _0x80c6e8=_0x9beb78;this['_outerContainer']&&!this['_canvasContainer']&&(this['_canvasContainer']=document[_0x80c6e8(0x16b)](_0x80c6e8(0x135)),this['_canvasContainer']['style']['left']='0px',this[_0x80c6e8(0x11b)][_0x80c6e8(0x147)][_0x80c6e8(0x144)]=_0x80c6e8(0x136),this['_canvasContainer'][_0x80c6e8(0x147)][_0x80c6e8(0x172)]='100%',this[_0x80c6e8(0x11b)][_0x80c6e8(0x147)][_0x80c6e8(0x17a)]=_0x80c6e8(0x151),this['_outerContainer']['appendChild'](this['_canvasContainer']));const _0xa64250=this[_0x80c6e8(0x11b)];this[_0x80c6e8(0x124)]&&(_0xa64250&&_0xa64250[_0x80c6e8(0x13f)](this['_renderer']['domElement']),this[_0x80c6e8(0x124)]['dispose']());let _0x1c938f=_0xa64250?_0xa64250[_0x80c6e8(0x126)]:0x200,_0x3c7b4c=_0xa64250?_0xa64250[_0x80c6e8(0x128)]:0x200,_0x31e28c={};_0x31e28c[_0x80c6e8(0x168)]=_0x55d997[_0x80c6e8(0x168)],_0x31e28c[_0x80c6e8(0x152)]=_0x55d997[_0x80c6e8(0x152)],_0x31e28c[_0x80c6e8(0x161)]=_0x55d997['depth'],_0x31e28c['stencil']=_0x55d997[_0x80c6e8(0x16a)],_0x31e28c[_0x80c6e8(0x15a)]=_0x55d997['alpha'],_0x31e28c[_0x80c6e8(0x148)]=_0x55d997['logarithmicDepthBuffer'],_0x31e28c[_0x80c6e8(0x130)]=_0x55d997[_0x80c6e8(0x130)],_0x31e28c[_0x80c6e8(0x127)]=_0x55d997[_0x80c6e8(0x127)],this[_0x80c6e8(0x124)]=new webgpu.WebGPURenderer(_0x31e28c),this['_renderer'][_0x80c6e8(0x115)](window['devicePixelRatio']),this['_renderer'][_0x80c6e8(0x162)](_0x1c938f,_0x3c7b4c),this[_0x80c6e8(0x124)][_0x80c6e8(0x170)][_0x80c6e8(0x131)]=_0x55d997[_0x80c6e8(0x13a)],this[_0x80c6e8(0x124)][_0x80c6e8(0x170)][_0x80c6e8(0x114)]=_0x55d997[_0x80c6e8(0x14b)],this[_0x80c6e8(0x124)]['toneMapping']=_0x55d997[_0x80c6e8(0x12b)],this[_0x80c6e8(0x124)][_0x80c6e8(0x171)]=_0x55d997[_0x80c6e8(0x171)],this[_0x80c6e8(0x124)][_0x80c6e8(0x16f)](0x0),_0xa64250&&_0xa64250[_0x80c6e8(0x143)](this[_0x80c6e8(0x124)][_0x80c6e8(0x123)]);}[_0x9beb78(0x138)](){const _0x55c3e=_0x9beb78,_0x4b802b=this[_0x55c3e(0x169)];this[_0x55c3e(0x113)]&&(_0x4b802b&&_0x4b802b[_0x55c3e(0x13f)](this[_0x55c3e(0x113)][_0x55c3e(0x123)]));let _0x4c989a=_0x4b802b?_0x4b802b[_0x55c3e(0x126)]:0x200,_0x3bc6bc=_0x4b802b?_0x4b802b[_0x55c3e(0x128)]:0x200;this['labelRenderer']=new Addons_js.CSS2DRenderer(),this[_0x55c3e(0x113)][_0x55c3e(0x162)](_0x4c989a,_0x3bc6bc),this[_0x55c3e(0x113)][_0x55c3e(0x123)][_0x55c3e(0x147)][_0x55c3e(0x14d)]='none',this[_0x55c3e(0x113)][_0x55c3e(0x123)][_0x55c3e(0x147)][_0x55c3e(0x118)]=_0x55c3e(0x12d),this[_0x55c3e(0x113)][_0x55c3e(0x123)]['style'][_0x55c3e(0x144)]=_0x55c3e(0x136),this['labelRenderer'][_0x55c3e(0x123)][_0x55c3e(0x150)]=_0x55c3e(0x15f),_0x4b802b&&_0x4b802b[_0x55c3e(0x143)](this[_0x55c3e(0x113)][_0x55c3e(0x123)]);}[_0x9beb78(0x117)](){const _0x5760c1=_0x9beb78;if(!this[_0x5760c1(0x169)])return;let _0x4a9286=this[_0x5760c1(0x169)][_0x5760c1(0x13d)](_0x5760c1(0x112));!_0x4a9286&&(_0x4a9286=document[_0x5760c1(0x16b)](_0x5760c1(0x135)),_0x4a9286[_0x5760c1(0x150)]=_0x5760c1(0x163),_0x4a9286['id']='scene-uiLayer',_0x4a9286[_0x5760c1(0x147)][_0x5760c1(0x118)]=_0x5760c1(0x12d),_0x4a9286['style']['left']='0',_0x4a9286[_0x5760c1(0x147)][_0x5760c1(0x144)]='0',_0x4a9286['style'][_0x5760c1(0x172)]='100%',_0x4a9286[_0x5760c1(0x147)]['height']='100%',_0x4a9286[_0x5760c1(0x147)][_0x5760c1(0x14d)]=_0x5760c1(0x11d),_0x4a9286[_0x5760c1(0x147)][_0x5760c1(0x153)]='10',this['_outerContainer'][_0x5760c1(0x143)](_0x4a9286),this['_uiDom']=_0x4a9286);}['init'](){this['setupPostProcess']();}['setupPostProcess'](){const _0x9befa=_0x9beb78;!this[_0x9befa(0x14c)]&&(this[_0x9befa(0x14c)]=this['createPostProcessManager']()),this[_0x9befa(0x14c)][_0x9befa(0x13c)]();}[_0x9beb78(0x122)](){const _0x31e3c1=_0x9beb78;return new PostProcessManager(this['renderer'],this['app'][_0x31e3c1(0x141)][_0x31e3c1(0x176)],this[_0x31e3c1(0x13e)][_0x31e3c1(0x125)],this[_0x31e3c1(0x12c)],()=>this[_0x31e3c1(0x17c)]());}[_0x9beb78(0x12f)](_0x43b7a1){const _0x4b504d=_0x9beb78;this['postProcessManager']&&this[_0x4b504d(0x14c)][_0x4b504d(0x154)](_0x43b7a1);}[_0x9beb78(0x175)](_0xdba389){const _0x24305b=_0x9beb78;this[_0x24305b(0x178)](_0xdba389),this[_0x24305b(0x17c)]();}[_0x9beb78(0x167)](_0xcf9a6e){const _0x4f4aa7=_0x9beb78;this[_0x4f4aa7(0x14c)]&&this[_0x4f4aa7(0x14c)]['addOutlineObject'](_0xcf9a6e);}[_0x9beb78(0x173)](_0x49773d){const _0x2c5b46=_0x9beb78;this[_0x2c5b46(0x14c)]&&this[_0x2c5b46(0x14c)]['setOutlineObjects'](_0x49773d);}[_0x9beb78(0x116)](_0x527286){const _0x3109f4=_0x9beb78;this[_0x3109f4(0x14c)]&&this[_0x3109f4(0x14c)][_0x3109f4(0x116)](_0x527286);}[_0x9beb78(0x134)](){const _0x4ff4bd=_0x9beb78;this['postProcessManager']&&(this['postProcessManager'][_0x4ff4bd(0x129)](),this[_0x4ff4bd(0x14c)]=null);}[_0x9beb78(0x120)](){const _0x58a2fc=_0x9beb78;let _0x3282bc=this[_0x58a2fc(0x169)];if(!_0x3282bc)return;this[_0x58a2fc(0x13e)][_0x58a2fc(0x120)](_0x3282bc[_0x58a2fc(0x126)],_0x3282bc[_0x58a2fc(0x128)]),this[_0x58a2fc(0x156)][_0x58a2fc(0x162)](_0x3282bc[_0x58a2fc(0x126)],_0x3282bc[_0x58a2fc(0x128)]);if(this[_0x58a2fc(0x113)])this[_0x58a2fc(0x113)][_0x58a2fc(0x162)](_0x3282bc[_0x58a2fc(0x126)],_0x3282bc[_0x58a2fc(0x128)]);this[_0x58a2fc(0x17c)]();}[_0x9beb78(0x17c)](){const _0x488679=_0x9beb78;this[_0x488679(0x155)]=!![];}['render'](){const _0x5997ac=_0x9beb78;if(!this[_0x5997ac(0x155)])return;if(this[_0x5997ac(0x14c)]&&this[_0x5997ac(0x14c)][_0x5997ac(0x133)]());else this['renderer']['render'](this[_0x5997ac(0x13e)]['world'][_0x5997ac(0x176)],this[_0x5997ac(0x13e)][_0x5997ac(0x125)]);this[_0x5997ac(0x16c)](),this['labelRenderer']&&this['labelRenderer'][_0x5997ac(0x133)](this['app'][_0x5997ac(0x141)][_0x5997ac(0x176)],this['app'][_0x5997ac(0x125)]),this[_0x5997ac(0x155)]=![];}['onAfterPostProcessRender'](){}async[_0x9beb78(0x121)](_0x3556f9=0x400,_0x21f509=0x400){const _0x565463=_0x9beb78;try{if(this['postProcessManager']&&this[_0x565463(0x14c)][_0x565463(0x133)]()){}else await this[_0x565463(0x156)][_0x565463(0x133)](this[_0x565463(0x13e)]['world']['scene'],this[_0x565463(0x13e)]['camera']);const _0x1907de=this[_0x565463(0x156)][_0x565463(0x123)]['width'],_0x54ee9d=this['renderer'][_0x565463(0x123)][_0x565463(0x17a)];let _0x4527eb=_0x1907de||_0x3556f9,_0x268ae5=_0x54ee9d||_0x21f509;(_0x4527eb<=0x0||_0x268ae5<=0x0)&&(_0x4527eb=_0x3556f9,_0x268ae5=_0x21f509);const _0x407a32=document['createElement']('canvas');_0x407a32['width']=_0x3556f9,_0x407a32[_0x565463(0x17a)]=_0x21f509;const _0x1f1ce2=_0x407a32[_0x565463(0x132)]('2d');if(!_0x1f1ce2)throw Error(_0x565463(0x16d));_0x1f1ce2['drawImage'](this[_0x565463(0x156)][_0x565463(0x123)],0x0,0x0,_0x4527eb,_0x268ae5,0x0,0x0,_0x3556f9,_0x21f509);const _0x48ffff=_0x407a32[_0x565463(0x13b)]('image/jpeg');return _0x407a32[_0x565463(0x160)](),_0x48ffff;}catch(_0x5c5b88){return '';}}['setAlpha'](_0x2708d5){const _0xdcfa2f=_0x9beb78;if(!this[_0xdcfa2f(0x124)])return;this[_0xdcfa2f(0x124)][_0xdcfa2f(0x15a)]=_0x2708d5;}[_0x9beb78(0x146)](_0x224355){const _0x26417a=_0x9beb78;if(!this[_0x26417a(0x124)])return;this['_renderer'][_0x26417a(0x170)][_0x26417a(0x131)]=_0x224355;}['setShadowMapType'](_0x49c86b){const _0x1c8a46=_0x9beb78;if(!this[_0x1c8a46(0x124)])return;this[_0x1c8a46(0x124)][_0x1c8a46(0x170)][_0x1c8a46(0x114)]=_0x49c86b;}[_0x9beb78(0x15b)](_0x4efbca){const _0xa9518d=_0x9beb78;if(!this[_0xa9518d(0x124)])return;this[_0xa9518d(0x124)]['toneMapping']=_0x4efbca;}[_0x9beb78(0x11f)](_0x24a360){const _0x28fa81=_0x9beb78;if(!this[_0x28fa81(0x124)])return;this[_0x28fa81(0x124)][_0x28fa81(0x171)]=_0x24a360;}['setLogarithmicDepthBufferEnabled'](_0x449230){const _0x255dac=_0x9beb78;if(!this[_0x255dac(0x124)])return;this['_renderer'][_0x255dac(0x148)]=_0x449230;}[_0x9beb78(0x14a)](_0xf5fb84){const _0x464128=_0x9beb78;if(!this[_0x464128(0x124)])return;this[_0x464128(0x124)]['depth']=_0xf5fb84;}['setStencil'](_0x4354ec){const _0x160442=_0x9beb78;if(!this['_renderer'])return;this[_0x160442(0x124)][_0x160442(0x16a)]=_0x4354ec;}[_0x9beb78(0x129)](){const _0xe91356=_0x9beb78;this['destroyPostProcess'](),this[_0xe91356(0x156)][_0xe91356(0x17d)](null),this[_0xe91356(0x12a)]&&(this[_0xe91356(0x12a)][_0xe91356(0x11c)](),this[_0xe91356(0x12a)]=null),this[_0xe91356(0x113)]&&(this[_0xe91356(0x113)][_0xe91356(0x123)][_0xe91356(0x160)](),this['labelRenderer']=null),this[_0xe91356(0x124)]&&(this[_0xe91356(0x156)][_0xe91356(0x123)][_0xe91356(0x160)](),this[_0xe91356(0x124)][_0xe91356(0x140)](),this[_0xe91356(0x124)]=null),this[_0xe91356(0x11b)]&&(this[_0xe91356(0x11b)]['remove'](),this['_canvasContainer']=null),this[_0xe91356(0x169)]=null,this['_app']=null;}}function _0x6187(_0x3db035,_0x3e2951){_0x3db035=_0x3db035-0x112;const _0x3807de=_0x3807();let _0x618779=_0x3807de[_0x3db035];return _0x618779;}function _0x3807(){const _0x2b1687=['setSize','scene-uiLayer','Renderer\x20is\x20not\x20initialized','outer','4njXGru','addOutlineObject','forceWebGL','_outerContainer','stencil','createElement','onAfterPostProcessRender','Can\x20not\x20create\x20context','99NbLJcf','setClearAlpha','shadowMap','toneMappingExposure','width','setOutlineObjects','App\x20is\x20not\x20initialized','updateRendererSettings','scene','29233105WfihKr','createRenderer','924975gLIOyq','height','_app','markRenderStateDirty','setAnimationLoop','.scene-uiLayer','labelRenderer','type','setPixelRatio','removeOutlineObject','createUILayer','position','canvas','uiDom','_canvasContainer','disconnect','none','4766304xEjRrw','setToneMappingExposure','onWindowResize','renderAsImage','createPostProcessManager','domElement','_renderer','camera','clientWidth','outputBufferType','clientHeight','destroy','resizeObserver','toneMapping','postProcessParam','absolute','7746AGOyZf','updatePostProcess','samples','enabled','getContext','render','destroyPostProcess','div','0px','updateCamera','createLabelRenderer','5798152ypyFCl','shadowMapEnabled','toDataURL','setup','querySelector','app','removeChild','dispose','world','onCameraChangedDelegate','appendChild','top','contentBoxSize','setShadowMapEnabled','style','logarithmicDepthBuffer','isUILayerNeeded','setDepth','shadowMapType','postProcessManager','pointerEvents','add','295790TKCTiE','className','100%','antialias','zIndex','updateSteps','isRenderStateDirty','renderer','isLabelRendererNeeded','861BboQnl','158vLlovC','alpha','setToneMapping','9527ZjPzgs','_uiDom','elementId','scene-labelRenderer','remove','depth'];_0x3807=function(){return _0x2b1687;};return _0x3807();}
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
var _0x565fd1=_0x23a8;(function(_0x2ab9e6,_0x12cc2e){var _0x35698b=_0x23a8,_0x3e730f=_0x2ab9e6();while(!![]){try{var _0x3d0f85=parseInt(_0x35698b(0x139))/0x1*(-parseInt(_0x35698b(0x149))/0x2)+-parseInt(_0x35698b(0x13e))/0x3*(-parseInt(_0x35698b(0x13c))/0x4)+parseInt(_0x35698b(0x148))/0x5+-parseInt(_0x35698b(0x142))/0x6*(parseInt(_0x35698b(0x150))/0x7)+parseInt(_0x35698b(0x147))/0x8*(parseInt(_0x35698b(0x13f))/0x9)+parseInt(_0x35698b(0x14e))/0xa*(parseInt(_0x35698b(0x14f))/0xb)+parseInt(_0x35698b(0x144))/0xc;if(_0x3d0f85===_0x12cc2e)break;else _0x3e730f['push'](_0x3e730f['shift']());}catch(_0x3a3d8f){_0x3e730f['push'](_0x3e730f['shift']());}}}(_0x5eff,0x67196));function _0x23a8(_0x2d305a,_0x2d88f3){_0x2d305a=_0x2d305a-0x137;var _0x5efff5=_0x5eff();var _0x23a876=_0x5efff5[_0x2d305a];return _0x23a876;}class Pawn{get[_0x565fd1(0x146)](){var _0x1c28b4=_0x565fd1;return this['controller'][_0x1c28b4(0x146)];}set[_0x565fd1(0x14d)](_0x67dc9f){var _0x3bc250=_0x565fd1;this[_0x3bc250(0x14a)]['enabled']=_0x67dc9f;}get[_0x565fd1(0x14a)](){var _0x1b502c=_0x565fd1;if(!this[_0x1b502c(0x137)])throw new Error(_0x1b502c(0x140));return this['_control'];}constructor(_0x29cfec){var _0x1a9a47=_0x565fd1;this[_0x1a9a47(0x137)]=null,this[_0x1a9a47(0x13a)]=![],this[_0x1a9a47(0x138)]=_0x29cfec;}[_0x565fd1(0x13d)](_0xc72f88){return;}[_0x565fd1(0x14b)](){}[_0x565fd1(0x13b)](){}[_0x565fd1(0x145)](_0x202923,_0x19a251,_0x30cd91,_0x1e4e59,_0x309b7b=null,_0x230e44=null){}[_0x565fd1(0x143)](){}[_0x565fd1(0x14c)](){return null;}[_0x565fd1(0x141)](){}}function _0x5eff(){var _0x3e2fcc=['_control','controller','265741LScAwN','isTickEnabled','unpossess','108tgYEZn','tick','75354ukEwKO','13572FOZZVP','Control\x20not\x20initialized','destroy','6fAJZJq','stopFocusing','4027788dreWvz','focusTo','camera','1336kWRUkd','812385MnPGHp','6OufUTa','control','possess','getFocuingData','enabled','893730vExBQK','77MhGqIF','5839694aveBsA'];_0x5eff=function(){return _0x3e2fcc;};return _0x5eff();}
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
const _0x52617a=_0x55b3;(function(_0x10476a,_0x363c56){const _0x1785d4=_0x55b3,_0x3e26e0=_0x10476a();while(!![]){try{const _0x5c0f69=parseInt(_0x1785d4(0x1f7))/0x1*(parseInt(_0x1785d4(0x215))/0x2)+parseInt(_0x1785d4(0x202))/0x3*(parseInt(_0x1785d4(0x1fe))/0x4)+parseInt(_0x1785d4(0x1f6))/0x5+parseInt(_0x1785d4(0x213))/0x6+parseInt(_0x1785d4(0x209))/0x7+-parseInt(_0x1785d4(0x1ee))/0x8+parseInt(_0x1785d4(0x207))/0x9*(-parseInt(_0x1785d4(0x20e))/0xa);if(_0x5c0f69===_0x363c56)break;else _0x3e26e0['push'](_0x3e26e0['shift']());}catch(_0x1dc5e8){_0x3e26e0['push'](_0x3e26e0['shift']());}}}(_0x16a9,0x82b8c));function _0x55b3(_0x1f0feb,_0x1c90b3){_0x1f0feb=_0x1f0feb-0x1ed;const _0x16a991=_0x16a9();let _0x55b34e=_0x16a991[_0x1f0feb];return _0x55b34e;}function _0x16a9(){const _0x2abef2=['clone','1668368bcNRTP','possess','subVectors','markRenderStateDirty','onChange','stopFocusing','multiplyScalar','unpossess','730555BXTwsU','19zFcuty','copy','kill','distanceTo','viewPort','Control\x20not\x20initialized','normalize','1119764pEYdbw','applyQuaternion','set','addEventListener','9BOpUvl','quaternion','control','target','removeEventListener','9mDFhkI','length','462707ibtpmr','camera','isEuler','changeEvent','_control','5920570tuXtaH','anim','controller','canvas','position','145302OoGkyF','change','27346NSNZqL'];_0x16a9=function(){return _0x2abef2;};return _0x16a9();}class Orbital extends Pawn{get[_0x52617a(0x204)](){const _0x2a241c=_0x52617a;if(!this[_0x2a241c(0x20d)])throw new Error(_0x2a241c(0x1fc));return this[_0x2a241c(0x20d)];}get[_0x52617a(0x20a)](){const _0xf8f306=_0x52617a;return this[_0xf8f306(0x210)]['camera'];}constructor(_0xcb29eb){const _0x4b4fac=_0x52617a;super(_0xcb29eb),this[_0x4b4fac(0x20f)]=null,this['changeEvent']=()=>{const _0xd70f8f=_0x4b4fac;this[_0xd70f8f(0x1f2)]();},this[_0x4b4fac(0x20d)]=new Addons_js.OrbitControls(_0xcb29eb['camera'],_0xcb29eb[_0x4b4fac(0x1fb)][_0x4b4fac(0x211)]),this['control'][_0x4b4fac(0x205)][_0x4b4fac(0x200)](0x0,0x0,0x0),_0xcb29eb[_0x4b4fac(0x20a)]['position'][_0x4b4fac(0x200)](0x0,0x4,0x4),this[_0x4b4fac(0x204)]['update']();}['possess'](){const _0x410981=_0x52617a;super[_0x410981(0x1ef)](),this[_0x410981(0x204)][_0x410981(0x201)](_0x410981(0x214),this[_0x410981(0x20c)]);}[_0x52617a(0x1f5)](){const _0x38d6df=_0x52617a;super[_0x38d6df(0x1f5)](),this[_0x38d6df(0x204)][_0x38d6df(0x206)](_0x38d6df(0x214),this[_0x38d6df(0x20c)]);}[_0x52617a(0x1f2)](){const _0x51dbd1=_0x52617a;this[_0x51dbd1(0x210)][_0x51dbd1(0x1fb)][_0x51dbd1(0x1f1)]();}['focusTo'](_0x2bbbc3,_0x444d9a,_0x4364fe,_0xf95047,_0x5c8e9b=null,_0x4b85b1=null){const _0x113960=_0x52617a;this[_0x113960(0x1f3)]();let _0x17d490=null;(_0x444d9a===null||_0x444d9a===void 0?void 0:_0x444d9a[_0x113960(0x20b)])?_0x17d490=new webgpu.Quaternion()['setFromEuler'](_0x444d9a):_0x17d490=_0x444d9a;!_0x444d9a&&(_0x17d490=this[_0x113960(0x210)][_0x113960(0x20a)][_0x113960(0x203)]);_0x17d490[_0x113960(0x1fd)]();let _0x4c4878=new webgpu.Vector3(0x0,0x0,0x1);_0x4c4878[_0x113960(0x1ff)](_0x17d490)[_0x113960(0x1f4)](-1),_0x4c4878[_0x113960(0x1fd)]();let _0x159e43=this['camera'][_0x113960(0x212)][_0x113960(0x1ed)](),_0x379c49=new webgpu.Vector3(_0x2bbbc3['x']+_0x4c4878['x']*_0x4364fe*-1,_0x2bbbc3['y']+_0x4c4878['y']*_0x4364fe*-1,_0x2bbbc3['z']+_0x4c4878['z']*_0x4364fe*-1),_0x239929=new webgpu.Vector3()[_0x113960(0x1f0)](_0x379c49,_0x159e43),_0x496830=_0x239929['length']();_0x239929[_0x113960(0x1fd)]();let _0x3ee9a2=this[_0x113960(0x204)][_0x113960(0x205)][_0x113960(0x1ed)](),_0x322446=new webgpu.Vector3()['subVectors'](_0x2bbbc3,_0x3ee9a2),_0x480f07=_0x322446[_0x113960(0x208)]();_0x322446[_0x113960(0x1fd)]();if(_0x496830+_0x480f07<0.1)return;const _0x3a0e16=this;let _0x461479={'alpha':0x0};this[_0x113960(0x20f)]=gsap.gsap['to'](_0x461479,{'duration':_0xf95047,'alpha':0x1,'onUpdate':()=>{const _0x5e1fa8=_0x113960;let _0x1adfae=_0x461479['alpha'],_0x5a3699=new webgpu.Vector3(_0x159e43['x']+_0x239929['x']*_0x1adfae*_0x496830,_0x159e43['y']+_0x239929['y']*_0x1adfae*_0x496830,_0x159e43['z']+_0x239929['z']*_0x1adfae*_0x496830),_0x103b4d=new webgpu.Vector3(_0x3ee9a2['x']+_0x322446['x']*_0x1adfae*_0x480f07,_0x3ee9a2['y']+_0x322446['y']*_0x1adfae*_0x480f07,_0x3ee9a2['z']+_0x322446['z']*_0x1adfae*_0x480f07);_0x3a0e16[_0x5e1fa8(0x204)]['object'][_0x5e1fa8(0x212)][_0x5e1fa8(0x1f8)](_0x5a3699),_0x3a0e16[_0x5e1fa8(0x204)][_0x5e1fa8(0x205)][_0x5e1fa8(0x1f8)](_0x103b4d),_0x3a0e16['control']['update']();_0x5c8e9b&&_0x5c8e9b();if(_0x3a0e16['controller'][_0x5e1fa8(0x1fb)])_0x3a0e16['controller'][_0x5e1fa8(0x1fb)][_0x5e1fa8(0x1f1)]();},'onComplete':function(){const _0x53dea8=_0x113960;_0x4b85b1&&_0x4b85b1();if(_0x3a0e16[_0x53dea8(0x210)][_0x53dea8(0x1fb)])_0x3a0e16[_0x53dea8(0x210)]['viewPort'][_0x53dea8(0x1f1)]();}});}['getFocuingData'](){const _0x57d89c=_0x52617a;if(!this['control']||!this[_0x57d89c(0x20a)])return null;const _0x385981=this['camera'][_0x57d89c(0x212)][_0x57d89c(0x1ed)](),_0x4a9f45=this[_0x57d89c(0x20a)][_0x57d89c(0x203)][_0x57d89c(0x1ed)](),_0x34a0fc=this[_0x57d89c(0x204)]['target'][_0x57d89c(0x1ed)](),_0x7fd03=_0x385981[_0x57d89c(0x1fa)](_0x34a0fc);return {'position':_0x34a0fc,'quaternion':_0x4a9f45,'distance':_0x7fd03};}[_0x52617a(0x1f3)](){const _0x219bc4=_0x52617a;this['anim']&&this[_0x219bc4(0x20f)][_0x219bc4(0x1f9)](),this['anim']=null;}}
|
|
69
69
|
|
|
70
|
-
function _0x4a0a(_0x1da67,_0x19a2f9){_0x1da67=_0x1da67-0x166;const _0x438002=_0x4380();let _0x4a0acc=_0x438002[_0x1da67];return _0x4a0acc;}const _0x34655d=_0x4a0a;(function(_0x139a92,_0x102c4b){const _0x5a6efa=_0x4a0a,_0x54de4c=_0x139a92();while(!![]){try{const _0x35607b=-parseInt(_0x5a6efa(0x193))/0x1*(parseInt(_0x5a6efa(0x168))/0x2)+parseInt(_0x5a6efa(0x18d))/0x3+-parseInt(_0x5a6efa(0x19a))/0x4*(parseInt(_0x5a6efa(0x19c))/0x5)+-parseInt(_0x5a6efa(0x17c))/0x6+parseInt(_0x5a6efa(0x1d6))/0x7*(parseInt(_0x5a6efa(0x1bf))/0x8)+parseInt(_0x5a6efa(0x1b5))/0x9*(parseInt(_0x5a6efa(0x180))/0xa)+parseInt(_0x5a6efa(0x1b2))/0xb;if(_0x35607b===_0x102c4b)break;else _0x54de4c['push'](_0x54de4c['shift']());}catch(_0x548c14){_0x54de4c['push'](_0x54de4c['shift']());}}}(_0x4380,0x7c4ed));function _0x4380(){const _0x275a56=['onActorHoverEnd','enabled','destroy','onPointerEnter','length','top','shiftKey','isHoverEnabled','intersectObjects','_onActorHoverEndDelegate','subVectors','pointerPosition','2353944ApDyde','fireComponentClick','pointerenter','fireComponentHoverBegin','onActorClickDelegate','_onComponentClickDelegate','122522MFhswK','prepareClickHit','_onActorDoubleClickDelegate','isClickEnabled','removeCorePointerListeners','onPointerMove','getHitResultFromScreenPoint','24052FWevop','component','335XNEGHc','assign','onActorHoverEndDelegate','_app','_onClickNothingDelegate','copy','set','pointerleave','onComponentHoverBeginDelegate','add','viewPort','onPointerUp','getAllHitResultFromScreenPoint','onPointerEnterEvent','clientWidth','onActorDoubleClick','hit','_raycastVec2','button','leftClickTimer','pointerup','fireComponentHoverEnd','12842434PyJvSo','size','getBoundingClientRect','9Uxzsuv','fireActorClick','_onComponentHoverEndDelegate','onActorHoverBeginDelegate','canvas','onActorHoverBegin','removeEventListener','tick','_onActorClickDelegate','prepareClickModifiers','16DaKrLU','addEventListener','doubleClickDelay','setFromCamera','scene','fireActorHoverEnd','raycaster','parentActor','onPointerMoveEvent','left','hoveringComponent','children','onPointerDownEvent','fireClickEvents','onClickNothingDelegate','fireActorHoverBegin','_pawn','unpossess','_onComponentHoverBeginDelegate','LYObject','viewport','canvas\x20is\x20null','onPointerLeave','1993803FYlkPH','_pointButtonIsDown','onComponentHoverEndDelegate','_onComponentPointerDownDelegate','object','firePointerDownEvent','addCorePointerListeners','onActorDoubleClickDelegate','hoveringActor','updateCamera','userData','pointerLeftDownPosition','onHorveringBegin','broadcast','onComponentDoubleClickDelegate','_tempVec2','14veMGyy','handleDoubleClick','clientHeight','onPointerDown','getHitResultUnderCursor','pointerdown','_onActorHoverBeginDelegate','_onComponentDoubleClickDelegate','focusTo','prepareClickComponent','handleFirstClick','handled','onClicked','app','pawn','pointermove','clientX','clearClickTimer','clearHovering','delete','5079858suDIUf','camera','onPointerUpEvent','world','945330NHSHrh'];_0x4380=function(){return _0x275a56;};return _0x4380();}class Controller{get[_0x34655d(0x17d)](){const _0x28077c=_0x34655d;return this[_0x28077c(0x19f)][_0x28077c(0x17d)];}get[_0x34655d(0x17f)](){const _0x538ee8=_0x34655d;return this[_0x538ee8(0x19f)][_0x538ee8(0x17f)];}get['viewPort'](){const _0x191eeb=_0x34655d;return this['_app'][_0x191eeb(0x1d3)];}get[_0x34655d(0x175)](){return this['_app'];}get[_0x34655d(0x176)](){const _0x114c41=_0x34655d;if(!this[_0x114c41(0x1cf)])throw Error('pawn\x20is\x20null');return this[_0x114c41(0x1cf)];}get['onComponentClickDelegate'](){const _0x24cc41=_0x34655d;return this[_0x24cc41(0x192)];}get[_0x34655d(0x166)](){const _0x288809=_0x34655d;return this[_0x288809(0x16f)];}get[_0x34655d(0x1a4)](){const _0x590ec6=_0x34655d;return this[_0x590ec6(0x1d1)];}get[_0x34655d(0x1d8)](){return this['_onComponentHoverEndDelegate'];}get['onComponentPointerDownDelegate'](){const _0x588c9b=_0x34655d;return this[_0x588c9b(0x1d9)];}get[_0x34655d(0x191)](){const _0x9f2a21=_0x34655d;return this[_0x9f2a21(0x1bd)];}get[_0x34655d(0x1dd)](){const _0x555de6=_0x34655d;return this[_0x555de6(0x195)];}get[_0x34655d(0x1b8)](){const _0x190553=_0x34655d;return this[_0x190553(0x16e)];}get[_0x34655d(0x19e)](){return this['_onActorHoverEndDelegate'];}get[_0x34655d(0x1cd)](){const _0x1b5b80=_0x34655d;return this[_0x1b5b80(0x1a0)];}constructor(_0x5b51ed){const _0x1a39d3=_0x34655d;this[_0x1a39d3(0x1cf)]=null,this[_0x1a39d3(0x1c9)]=null,this[_0x1a39d3(0x1de)]=null,this[_0x1a39d3(0x171)]=null,this[_0x1a39d3(0x194)]=null,this[_0x1a39d3(0x1be)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x1a39d3(0x1d7)]=new Set(),this[_0x1a39d3(0x192)]=new Delegate(),this[_0x1a39d3(0x16f)]=new Delegate(),this[_0x1a39d3(0x1d1)]=new Delegate(),this[_0x1a39d3(0x1b7)]=new Delegate(),this[_0x1a39d3(0x1d9)]=new Delegate(),this[_0x1a39d3(0x1bd)]=new Delegate(),this[_0x1a39d3(0x195)]=new Delegate(),this[_0x1a39d3(0x16e)]=new Delegate(),this[_0x1a39d3(0x18a)]=new Delegate(),this[_0x1a39d3(0x1a0)]=new Delegate(),this[_0x1a39d3(0x18c)]=new webgpu.Vector2(),this[_0x1a39d3(0x1e1)]=new webgpu.Vector2(),this[_0x1a39d3(0x167)]=new webgpu.Vector2(),this[_0x1a39d3(0x1ad)]=new webgpu.Vector2(),this[_0x1a39d3(0x1c1)]=0xfa,this['leftClickTimer']=null,this[_0x1a39d3(0x198)]=_0x2ca059=>this[_0x1a39d3(0x1c7)](_0x2ca059),this[_0x1a39d3(0x184)]=_0x3c4dd3=>this[_0x1a39d3(0x1a9)](_0x3c4dd3),this['onPointerLeave']=_0x59883c=>this['onPointerLeaveEvent'](_0x59883c),this[_0x1a39d3(0x1a7)]=_0x7edd7a=>this[_0x1a39d3(0x17e)](_0x7edd7a),this[_0x1a39d3(0x16b)]=_0x2dd68e=>this[_0x1a39d3(0x1cb)](_0x2dd68e),this[_0x1a39d3(0x19f)]=_0x5b51ed,this[_0x1a39d3(0x1cf)]=new Orbital(this),this[_0x1a39d3(0x176)]['possess'](),this['raycaster']=new webgpu.Raycaster();}['init'](){const _0x559885=_0x34655d,_0x106f9=this[_0x559885(0x1a6)][_0x559885(0x1b9)];_0x106f9&&(_0x106f9['addEventListener']('pointerenter',this[_0x559885(0x184)]),_0x106f9['addEventListener'](_0x559885(0x1a3),this[_0x559885(0x1d5)]),this[_0x559885(0x1dc)]());}[_0x34655d(0x1df)](){const _0x32e178=_0x34655d;var _0x83a384,_0x1ef458;const _0x36a677=this[_0x32e178(0x176)][_0x32e178(0x182)];(_0x83a384=this[_0x32e178(0x1cf)])===null||_0x83a384===void 0?void 0:_0x83a384[_0x32e178(0x1d0)](),(_0x1ef458=this[_0x32e178(0x1cf)])===null||_0x1ef458===void 0?void 0:_0x1ef458['destroy'](),this[_0x32e178(0x1cf)]=new Orbital(this),this[_0x32e178(0x176)]['possess'](),this[_0x32e178(0x176)][_0x32e178(0x182)]=_0x36a677;}[_0x34655d(0x1bc)](_0x40add5){const _0x29e83f=_0x34655d;this[_0x29e83f(0x176)][_0x29e83f(0x1bc)](_0x40add5);}[_0x34655d(0x183)](){const _0x5da745=_0x34655d;this[_0x5da745(0x179)](),this['clearHovering']();const _0x28f2cc=this['viewPort'][_0x5da745(0x1b9)];_0x28f2cc&&(_0x28f2cc[_0x5da745(0x1bb)](_0x5da745(0x18f),this[_0x5da745(0x184)]),_0x28f2cc[_0x5da745(0x1bb)]('pointerleave',this[_0x5da745(0x1d5)]),this['removeCorePointerListeners']()),this['pawn']['unpossess'](),this[_0x5da745(0x176)]['destroy'](),this[_0x5da745(0x1cf)]=null;}['onPointerMoveEvent'](_0x35fb46){const _0x46ac66=_0x34655d;var _0x50602d,_0x3503c3;const _0x25c184=this[_0x46ac66(0x1a6)][_0x46ac66(0x1b9)];if(!_0x25c184)throw Error(_0x46ac66(0x1d4));const _0x234e57=_0x25c184[_0x46ac66(0x1b4)]();this['pointerPosition'][_0x46ac66(0x1a2)]((_0x35fb46[_0x46ac66(0x178)]-_0x234e57[_0x46ac66(0x1c8)])/_0x25c184[_0x46ac66(0x1aa)]*0x2-0x1,0x1-(_0x35fb46['clientY']-_0x234e57[_0x46ac66(0x186)])/_0x25c184[_0x46ac66(0x16a)]*0x2);if(this[_0x46ac66(0x1d7)][_0x46ac66(0x1b3)]>0x0)return;const _0x472bb2=this['getHitResultUnderCursor'](),_0x46a870=(_0x50602d=_0x472bb2===null||_0x472bb2===void 0?void 0:_0x472bb2['component'])!==null&&_0x50602d!==void 0?_0x50602d:null,_0x59f085=(_0x3503c3=_0x46a870===null||_0x46a870===void 0?void 0:_0x46a870['parentActor'])!==null&&_0x3503c3!==void 0?_0x3503c3:null;_0x46a870!==this['hoveringComponent']&&(this[_0x46ac66(0x1c9)]&&this[_0x46ac66(0x1b1)](this[_0x46ac66(0x1c9)]),_0x46a870&&_0x46a870['isHoverEnabled']&&_0x472bb2&&this['fireComponentHoverBegin'](_0x46a870,_0x472bb2[_0x46ac66(0x1ac)])),_0x59f085!==this['hoveringActor']&&(this[_0x46ac66(0x1de)]&&this[_0x46ac66(0x1c9)]&&this[_0x46ac66(0x1c4)](this['hoveringActor'],this[_0x46ac66(0x1c9)]),_0x59f085&&_0x46a870&&_0x59f085[_0x46ac66(0x188)]&&_0x472bb2&&this[_0x46ac66(0x1ce)](_0x59f085,_0x46a870,_0x472bb2[_0x46ac66(0x1ac)])),this['hoveringComponent']=_0x46a870,this[_0x46ac66(0x1de)]=_0x59f085;}[_0x34655d(0x17a)](){const _0x58a7f8=_0x34655d;this[_0x58a7f8(0x1c9)]&&this['fireComponentHoverEnd'](this[_0x58a7f8(0x1c9)]),this[_0x58a7f8(0x1de)]&&this[_0x58a7f8(0x1c9)]&&this['fireActorHoverEnd'](this[_0x58a7f8(0x1de)],this['hoveringComponent']),this['hoveringComponent']=null,this['hoveringActor']=null;}[_0x34655d(0x17e)](_0x2cc98c){const _0x20201d=_0x34655d;this[_0x20201d(0x1d7)][_0x20201d(0x17b)](_0x2cc98c[_0x20201d(0x1ae)]);if(_0x2cc98c[_0x20201d(0x1ae)]!==0x0)return;const _0x845df5=this[_0x20201d(0x167)][_0x20201d(0x18b)](this[_0x20201d(0x1e1)],this[_0x20201d(0x18c)])[_0x20201d(0x185)]();if(_0x845df5>0.005){this[_0x20201d(0x179)]();return;}this['prepareClickModifiers']={'ctrlKey':_0x2cc98c['ctrlKey'],'shiftKey':_0x2cc98c[_0x20201d(0x187)],'altKey':_0x2cc98c['altKey']},!this[_0x20201d(0x1af)]?this['handleFirstClick']():this[_0x20201d(0x169)]();}[_0x34655d(0x172)](){const _0xc1a577=_0x34655d,_0xed0151=this[_0xc1a577(0x16c)](),_0x2c94de=_0xed0151===null||_0xed0151===void 0?void 0:_0xed0151[_0xc1a577(0x19b)];_0x2c94de instanceof SceneComponent&&_0x2c94de['isClickEnabled']&&_0xed0151?(this[_0xc1a577(0x171)]=_0x2c94de,this[_0xc1a577(0x194)]=_0xed0151[_0xc1a577(0x1ac)],this[_0xc1a577(0x1af)]=window['setTimeout'](()=>{const _0x543c33=_0xc1a577;this[_0x543c33(0x1af)]=null,this[_0x543c33(0x171)]&&this[_0x543c33(0x194)]&&(this[_0x543c33(0x1cc)](this[_0x543c33(0x171)],this[_0x543c33(0x194)],![]),this[_0x543c33(0x171)]=null,this[_0x543c33(0x194)]=null);},this[_0xc1a577(0x1c1)])):this['_onClickNothingDelegate'][_0xc1a577(0x1e3)]();}[_0x34655d(0x169)](){const _0x40cc3c=_0x34655d;this[_0x40cc3c(0x179)](),this[_0x40cc3c(0x171)]&&this[_0x40cc3c(0x194)]?this['fireClickEvents'](this[_0x40cc3c(0x171)],this[_0x40cc3c(0x194)],!![]):this[_0x40cc3c(0x1a0)][_0x40cc3c(0x1e3)](),this[_0x40cc3c(0x171)]=null,this[_0x40cc3c(0x194)]=null;}['onPointerDownEvent'](_0x56ce71){const _0x15ccbe=_0x34655d;this['_pointButtonIsDown'][_0x15ccbe(0x1a5)](_0x56ce71['button']);_0x56ce71[_0x15ccbe(0x1ae)]===0x0&&this[_0x15ccbe(0x1e1)][_0x15ccbe(0x1a1)](this[_0x15ccbe(0x18c)]);const _0x28153c=this[_0x15ccbe(0x16c)](),_0x50b7ce=_0x28153c===null||_0x28153c===void 0?void 0:_0x28153c[_0x15ccbe(0x19b)];_0x50b7ce instanceof SceneComponent&&_0x28153c&&this[_0x15ccbe(0x1db)](_0x50b7ce,_0x28153c['hit'],_0x56ce71[_0x15ccbe(0x1ae)]);}[_0x34655d(0x1a9)](_0x34d5c8){const _0x371ce6=_0x34655d;this[_0x371ce6(0x1dc)]();}['onPointerLeaveEvent'](_0x281367){this['removeCorePointerListeners']();}[_0x34655d(0x190)](_0x328480,_0x533848){const _0x5cd3bf=_0x34655d,_0x7fdc11={'component':_0x328480,'hit':_0x533848,'handled':![]};this[_0x5cd3bf(0x1d1)]['broadcast'](_0x7fdc11),!_0x7fdc11['handled']&&_0x328480[_0x5cd3bf(0x1e2)]();}['fireComponentHoverEnd'](_0x45c52b){const _0x253d65=_0x34655d,_0x97a05c={'component':_0x45c52b,'hit':null,'handled':![]};this[_0x253d65(0x1b7)][_0x253d65(0x1e3)](_0x97a05c),!_0x97a05c[_0x253d65(0x173)]&&_0x45c52b['onHorveringEnd']();}['fireComponentClick'](_0x25d864,_0x3688fc,_0x30a28a){const _0x2d1e27=_0x34655d,_0x4c28de=Object[_0x2d1e27(0x19d)]({'component':_0x25d864,'hit':_0x3688fc,'handled':![]},this[_0x2d1e27(0x1be)]);_0x30a28a?(this[_0x2d1e27(0x16f)]['broadcast'](_0x4c28de),!_0x4c28de[_0x2d1e27(0x173)]&&_0x25d864['onDoubleClicked']()):(this[_0x2d1e27(0x192)][_0x2d1e27(0x1e3)](_0x4c28de),!_0x4c28de['handled']&&_0x25d864[_0x2d1e27(0x174)]());}[_0x34655d(0x1db)](_0xe0f64b,_0x1472bf,_0x13da8f){const _0x4fb03d=_0x34655d,_0x5f50ab={'component':_0xe0f64b,'hit':_0x1472bf,'button':_0x13da8f,'handled':![]};this[_0x4fb03d(0x1d9)]['broadcast'](_0x5f50ab);}[_0x34655d(0x1ce)](_0x43ddc3,_0x2e85c9,_0x55f4ee){const _0x490561=_0x34655d,_0x36bb6f={'actor':_0x43ddc3,'component':_0x2e85c9,'hit':_0x55f4ee,'handled':![]};this[_0x490561(0x16e)][_0x490561(0x1e3)](_0x36bb6f),!_0x36bb6f[_0x490561(0x173)]&&_0x43ddc3[_0x490561(0x1ba)](_0x2e85c9);}['fireActorHoverEnd'](_0x17d636,_0x2b43e4){const _0x1f6a6d=_0x34655d,_0xbaab9d={'actor':_0x17d636,'component':_0x2b43e4,'hit':null,'handled':![]};this[_0x1f6a6d(0x18a)][_0x1f6a6d(0x1e3)](_0xbaab9d),!_0xbaab9d[_0x1f6a6d(0x173)]&&_0x17d636[_0x1f6a6d(0x181)](_0x2b43e4);}[_0x34655d(0x1b6)](_0x185eab,_0x10939a,_0x56994f,_0x2ece24){const _0x194032=_0x34655d,_0x59e508=Object[_0x194032(0x19d)]({'actor':_0x185eab,'component':_0x10939a,'hit':_0x56994f,'handled':![]},this[_0x194032(0x1be)]);_0x2ece24?(this[_0x194032(0x195)][_0x194032(0x1e3)](_0x59e508),!_0x59e508[_0x194032(0x173)]&&_0x185eab[_0x194032(0x1ab)](_0x10939a)):(this['_onActorClickDelegate']['broadcast'](_0x59e508),!_0x59e508[_0x194032(0x173)]&&_0x185eab['onActorClick'](_0x10939a));}[_0x34655d(0x1cc)](_0x31e7bf,_0x297f0c,_0x4cc08d){const _0x1ecf74=_0x34655d;this[_0x1ecf74(0x18e)](_0x31e7bf,_0x297f0c,_0x4cc08d);const _0x455016=_0x31e7bf[_0x1ecf74(0x1c6)];_0x455016&&_0x455016[_0x1ecf74(0x196)]&&this[_0x1ecf74(0x1b6)](_0x455016,_0x31e7bf,_0x297f0c,_0x4cc08d);}[_0x34655d(0x179)](){const _0x479dc8=_0x34655d;this[_0x479dc8(0x1af)]&&(window['clearTimeout'](this[_0x479dc8(0x1af)]),this[_0x479dc8(0x1af)]=null);}[_0x34655d(0x1dc)](){const _0x51e785=_0x34655d,_0x3a2155=this[_0x51e785(0x1a6)]['canvas'];if(!_0x3a2155)return;_0x3a2155[_0x51e785(0x1c0)](_0x51e785(0x177),this[_0x51e785(0x198)]),_0x3a2155[_0x51e785(0x1c0)](_0x51e785(0x1b0),this['onPointerUp']),_0x3a2155[_0x51e785(0x1c0)](_0x51e785(0x16d),this[_0x51e785(0x16b)]);}[_0x34655d(0x197)](){const _0x1dac75=_0x34655d,_0x1dc501=this[_0x1dac75(0x1a6)]['canvas'];if(!_0x1dc501)return;_0x1dc501[_0x1dac75(0x1bb)](_0x1dac75(0x177),this[_0x1dac75(0x198)]),_0x1dc501[_0x1dac75(0x1bb)](_0x1dac75(0x1b0),this[_0x1dac75(0x1a7)]),_0x1dc501[_0x1dac75(0x1bb)](_0x1dac75(0x16d),this['onPointerDown']);}[_0x34655d(0x16c)](){const _0x4cd787=_0x34655d;return this[_0x4cd787(0x199)](this[_0x4cd787(0x18c)]['x'],this[_0x4cd787(0x18c)]['y']);}[_0x34655d(0x199)](_0x33e370,_0x2ac110){const _0x3c0629=_0x34655d;this['_raycastVec2'][_0x3c0629(0x1a2)](_0x33e370,_0x2ac110),this[_0x3c0629(0x1c5)]['setFromCamera'](this['_raycastVec2'],this[_0x3c0629(0x17d)]);const _0x297ba8=this[_0x3c0629(0x1a8)](_0x33e370,_0x2ac110);for(const _0x203b71 of _0x297ba8){const _0x2413ac=_0x203b71[_0x3c0629(0x19b)][_0x3c0629(0x188)]||_0x203b71[_0x3c0629(0x19b)][_0x3c0629(0x196)],_0x164559=_0x203b71[_0x3c0629(0x19b)][_0x3c0629(0x1c6)],_0x1fde7a=_0x164559&&(_0x164559[_0x3c0629(0x188)]||_0x164559[_0x3c0629(0x196)]);if(!_0x2413ac&&!_0x1fde7a)continue;return _0x203b71;}return null;}[_0x34655d(0x1a8)](_0x2dc49e,_0x1b72a1){const _0x124ef7=_0x34655d;this[_0x124ef7(0x1ad)][_0x124ef7(0x1a2)](_0x2dc49e,_0x1b72a1),this[_0x124ef7(0x1c5)][_0x124ef7(0x1c2)](this['_raycastVec2'],this[_0x124ef7(0x17d)]);const _0x110928=this[_0x124ef7(0x1c5)][_0x124ef7(0x189)](this[_0x124ef7(0x17f)][_0x124ef7(0x1c3)][_0x124ef7(0x1ca)],!![]),_0x3f23b7=[];for(const _0x57be94 of _0x110928){if(_0x57be94[_0x124ef7(0x1da)][_0x124ef7(0x1e0)]['rayIgnored'])continue;const _0x503386=_0x57be94[_0x124ef7(0x1da)][_0x124ef7(0x1e0)][_0x124ef7(0x1d2)];if(!_0x503386)continue;_0x3f23b7['push']({'component':_0x503386,'hit':_0x57be94});}return _0x3f23b7;}[_0x34655d(0x170)](_0x1dd93a,_0x3fd797,_0x822773,_0xbcb561,_0x44e808=null,_0x335f2c=null){const _0x213b95=_0x34655d;this['pawn'][_0x213b95(0x170)](_0x1dd93a,_0x3fd797,_0x822773,_0xbcb561,_0x44e808,_0x335f2c);}}
|
|
70
|
+
const _0x4fe182=_0x1148;function _0x1148(_0x620d68,_0x32d323){_0x620d68=_0x620d68-0xa0;const _0x5adc8b=_0x5adc();let _0x114814=_0x5adc8b[_0x620d68];return _0x114814;}function _0x5adc(){const _0x56e54c=['_onComponentPointerDownDelegate','onPointerEnterEvent','onPointerLeave','enabled','onPointerMove','isClickEnabled','onActorHoverEndDelegate','fireComponentClick','world','_onActorClickDelegate','top','removeCorePointerListeners','focusTo','updateCamera','_pawn','set','fireActorHoverEnd','onActorDoubleClick','fireActorClick','getAllHitResultFromScreenPoint','hoveringActor','onPointerEnter','length','pawn','clearHovering','getHitResultFromScreenPoint','_onActorHoverEndDelegate','onComponentPointerDownDelegate','369027RyPaoR','pointerLeftDownPosition','onActorClick','clearTimeout','_onComponentClickDelegate','shiftKey','_onActorHoverBeginDelegate','_onActorDoubleClickDelegate','5INbfez','onActorHoverEnd','canvas\x20is\x20null','possess','prepareClickModifiers','onClickNothingDelegate','clientWidth','hoveringComponent','onComponentClickDelegate','_onComponentDoubleClickDelegate','children','viewPort','pawn\x20is\x20null','onClicked','onPointerDownEvent','setFromCamera','destroy','fireComponentHoverBegin','_onComponentHoverBeginDelegate','onHorveringEnd','userData','ctrlKey','clientHeight','broadcast','_app','prepareClickComponent','onPointerUpEvent','camera','scene','653639yAURMW','tick','3298160YRxSCB','clientX','pointerPosition','init','viewport','pointerdown','handleFirstClick','pointerup','raycaster','copy','handleDoubleClick','object','parentActor','app','button','handled','prepareClickHit','fireComponentHoverEnd','addCorePointerListeners','3ZMegVt','add','getHitResultUnderCursor','onPointerLeaveEvent','onPointerMoveEvent','_pointButtonIsDown','canvas','903520ymzseN','subVectors','_raycastVec2','onPointerDown','leftClickTimer','addEventListener','firePointerDownEvent','pointerenter','onPointerUp','_onComponentHoverEndDelegate','doubleClickDelay','onComponentDoubleClickDelegate','760076yRERdp','_onClickNothingDelegate','6129882WHiPxi','isHoverEnabled','pointermove','pointerleave','fireClickEvents','left','clientY','component','clearClickTimer','fireActorHoverBegin','3663684CPsYBv','push','removeEventListener','rayIgnored','assign','hit','altKey'];_0x5adc=function(){return _0x56e54c;};return _0x5adc();}(function(_0x2571ab,_0x14fbf9){const _0x3e300f=_0x1148,_0x3747d0=_0x2571ab();while(!![]){try{const _0x2d41b0=-parseInt(_0x3e300f(0x101))/0x1+parseInt(_0x3e300f(0xc6))/0x2+parseInt(_0x3e300f(0xbf))/0x3*(-parseInt(_0x3e300f(0xd2))/0x4)+-parseInt(_0x3e300f(0x109))/0x5*(-parseInt(_0x3e300f(0xde))/0x6)+parseInt(_0x3e300f(0xaa))/0x7+parseInt(_0x3e300f(0xac))/0x8+-parseInt(_0x3e300f(0xd4))/0x9;if(_0x2d41b0===_0x14fbf9)break;else _0x3747d0['push'](_0x3747d0['shift']());}catch(_0x315012){_0x3747d0['push'](_0x3747d0['shift']());}}}(_0x5adc,0x500c5));class Controller{get[_0x4fe182(0xa8)](){const _0x4bf70a=_0x4fe182;return this[_0x4bf70a(0xa5)]['camera'];}get[_0x4fe182(0xed)](){const _0x120617=_0x4fe182;return this[_0x120617(0xa5)][_0x120617(0xed)];}get[_0x4fe182(0x114)](){const _0x5d17d7=_0x4fe182;return this[_0x5d17d7(0xa5)][_0x5d17d7(0xb0)];}get[_0x4fe182(0xb9)](){const _0xb56da2=_0x4fe182;return this[_0xb56da2(0xa5)];}get[_0x4fe182(0xfc)](){const _0x3b6515=_0x4fe182;if(!this[_0x3b6515(0xf3)])throw Error(_0x3b6515(0x115));return this[_0x3b6515(0xf3)];}get[_0x4fe182(0x111)](){return this['_onComponentClickDelegate'];}get[_0x4fe182(0xd1)](){const _0x3cbd9b=_0x4fe182;return this[_0x3cbd9b(0x112)];}get['onComponentHoverBeginDelegate'](){const _0x5443e9=_0x4fe182;return this[_0x5443e9(0x11b)];}get['onComponentHoverEndDelegate'](){const _0x1a6b05=_0x4fe182;return this[_0x1a6b05(0xcf)];}get[_0x4fe182(0x100)](){const _0x4c1874=_0x4fe182;return this[_0x4c1874(0xe5)];}get['onActorClickDelegate'](){const _0x580af3=_0x4fe182;return this[_0x580af3(0xee)];}get['onActorDoubleClickDelegate'](){const _0x3cbc53=_0x4fe182;return this[_0x3cbc53(0x108)];}get['onActorHoverBeginDelegate'](){const _0x1711e9=_0x4fe182;return this[_0x1711e9(0x107)];}get[_0x4fe182(0xeb)](){const _0x90471=_0x4fe182;return this[_0x90471(0xff)];}get[_0x4fe182(0x10e)](){const _0x410b15=_0x4fe182;return this[_0x410b15(0xd3)];}constructor(_0x39ed32){const _0x178f47=_0x4fe182;this[_0x178f47(0xf3)]=null,this[_0x178f47(0x110)]=null,this[_0x178f47(0xf9)]=null,this[_0x178f47(0xa6)]=null,this[_0x178f47(0xbc)]=null,this[_0x178f47(0x10d)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x178f47(0xc4)]=new Set(),this['_onComponentClickDelegate']=new Delegate(),this[_0x178f47(0x112)]=new Delegate(),this[_0x178f47(0x11b)]=new Delegate(),this[_0x178f47(0xcf)]=new Delegate(),this[_0x178f47(0xe5)]=new Delegate(),this[_0x178f47(0xee)]=new Delegate(),this[_0x178f47(0x108)]=new Delegate(),this[_0x178f47(0x107)]=new Delegate(),this['_onActorHoverEndDelegate']=new Delegate(),this['_onClickNothingDelegate']=new Delegate(),this[_0x178f47(0xae)]=new webgpu.Vector2(),this[_0x178f47(0x102)]=new webgpu.Vector2(),this['_tempVec2']=new webgpu.Vector2(),this[_0x178f47(0xc8)]=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x178f47(0xca)]=null,this['onPointerMove']=_0x4192c3=>this[_0x178f47(0xc3)](_0x4192c3),this[_0x178f47(0xfa)]=_0x5dea70=>this[_0x178f47(0xe6)](_0x5dea70),this[_0x178f47(0xe7)]=_0x45b544=>this[_0x178f47(0xc2)](_0x45b544),this[_0x178f47(0xce)]=_0x4366df=>this[_0x178f47(0xa7)](_0x4366df),this[_0x178f47(0xc9)]=_0x2d1b64=>this[_0x178f47(0x117)](_0x2d1b64),this[_0x178f47(0xa5)]=_0x39ed32,this[_0x178f47(0xf3)]=new Orbital(this),this[_0x178f47(0xfc)][_0x178f47(0x10c)](),this[_0x178f47(0xb4)]=new webgpu.Raycaster();}[_0x4fe182(0xaf)](){const _0x321cc5=_0x4fe182,_0x3edbbb=this[_0x321cc5(0x114)][_0x321cc5(0xc5)];_0x3edbbb&&(_0x3edbbb[_0x321cc5(0xcb)](_0x321cc5(0xcd),this[_0x321cc5(0xfa)]),_0x3edbbb[_0x321cc5(0xcb)]('pointerleave',this[_0x321cc5(0xe7)]),this['addCorePointerListeners']());}[_0x4fe182(0xf2)](){const _0x4c0be8=_0x4fe182;var _0x3ca9a8,_0x488344;const _0x392ac8=this['pawn'][_0x4c0be8(0xe8)];(_0x3ca9a8=this[_0x4c0be8(0xf3)])===null||_0x3ca9a8===void 0?void 0:_0x3ca9a8['unpossess'](),(_0x488344=this[_0x4c0be8(0xf3)])===null||_0x488344===void 0?void 0:_0x488344[_0x4c0be8(0x119)](),this['_pawn']=new Orbital(this),this[_0x4c0be8(0xfc)]['possess'](),this['pawn'][_0x4c0be8(0xe8)]=_0x392ac8;}[_0x4fe182(0xab)](_0x400127){const _0x53c43d=_0x4fe182;this['pawn'][_0x53c43d(0xab)](_0x400127);}['destroy'](){const _0x2b0f3a=_0x4fe182;this['clearClickTimer'](),this[_0x2b0f3a(0xfd)]();const _0x2516a6=this[_0x2b0f3a(0x114)][_0x2b0f3a(0xc5)];_0x2516a6&&(_0x2516a6['removeEventListener']('pointerenter',this[_0x2b0f3a(0xfa)]),_0x2516a6[_0x2b0f3a(0xe0)](_0x2b0f3a(0xd7),this[_0x2b0f3a(0xe7)]),this['removeCorePointerListeners']()),this[_0x2b0f3a(0xfc)]['unpossess'](),this[_0x2b0f3a(0xfc)][_0x2b0f3a(0x119)](),this[_0x2b0f3a(0xf3)]=null;}['onPointerMoveEvent'](_0x46a257){const _0x321d84=_0x4fe182;var _0x1b8c10,_0x19ab4f;const _0x4836da=this['viewPort']['canvas'];if(!_0x4836da)throw Error(_0x321d84(0x10b));const _0x23a786=_0x4836da['getBoundingClientRect']();this[_0x321d84(0xae)]['set']((_0x46a257[_0x321d84(0xad)]-_0x23a786[_0x321d84(0xd9)])/_0x4836da[_0x321d84(0x10f)]*0x2-0x1,0x1-(_0x46a257[_0x321d84(0xda)]-_0x23a786[_0x321d84(0xef)])/_0x4836da[_0x321d84(0xa3)]*0x2);if(this[_0x321d84(0xc4)]['size']>0x0)return;const _0x8e21c2=this[_0x321d84(0xc1)](),_0x1be647=(_0x1b8c10=_0x8e21c2===null||_0x8e21c2===void 0?void 0:_0x8e21c2['component'])!==null&&_0x1b8c10!==void 0?_0x1b8c10:null,_0x4e537d=(_0x19ab4f=_0x1be647===null||_0x1be647===void 0?void 0:_0x1be647[_0x321d84(0xb8)])!==null&&_0x19ab4f!==void 0?_0x19ab4f:null;_0x1be647!==this['hoveringComponent']&&(this[_0x321d84(0x110)]&&this['fireComponentHoverEnd'](this[_0x321d84(0x110)]),_0x1be647&&_0x1be647['isHoverEnabled']&&_0x8e21c2&&this[_0x321d84(0x11a)](_0x1be647,_0x8e21c2[_0x321d84(0xe3)])),_0x4e537d!==this['hoveringActor']&&(this[_0x321d84(0xf9)]&&this[_0x321d84(0x110)]&&this[_0x321d84(0xf5)](this['hoveringActor'],this[_0x321d84(0x110)]),_0x4e537d&&_0x1be647&&_0x4e537d['isHoverEnabled']&&_0x8e21c2&&this[_0x321d84(0xdd)](_0x4e537d,_0x1be647,_0x8e21c2[_0x321d84(0xe3)])),this['hoveringComponent']=_0x1be647,this[_0x321d84(0xf9)]=_0x4e537d;}['clearHovering'](){const _0x69ba35=_0x4fe182;this['hoveringComponent']&&this[_0x69ba35(0xbd)](this[_0x69ba35(0x110)]),this[_0x69ba35(0xf9)]&&this[_0x69ba35(0x110)]&&this[_0x69ba35(0xf5)](this[_0x69ba35(0xf9)],this['hoveringComponent']),this['hoveringComponent']=null,this[_0x69ba35(0xf9)]=null;}[_0x4fe182(0xa7)](_0x149bce){const _0x2ec986=_0x4fe182;this[_0x2ec986(0xc4)]['delete'](_0x149bce[_0x2ec986(0xba)]);if(_0x149bce[_0x2ec986(0xba)]!==0x0)return;const _0x5f38a5=this['_tempVec2'][_0x2ec986(0xc7)](this['pointerLeftDownPosition'],this['pointerPosition'])[_0x2ec986(0xfb)]();if(_0x5f38a5>0.005){this[_0x2ec986(0xdc)]();return;}this['prepareClickModifiers']={'ctrlKey':_0x149bce[_0x2ec986(0xa2)],'shiftKey':_0x149bce[_0x2ec986(0x106)],'altKey':_0x149bce[_0x2ec986(0xe4)]},!this['leftClickTimer']?this[_0x2ec986(0xb2)]():this[_0x2ec986(0xb6)]();}[_0x4fe182(0xb2)](){const _0x14cc90=_0x4fe182,_0x254e32=this['getHitResultUnderCursor'](),_0x57a4d5=_0x254e32===null||_0x254e32===void 0?void 0:_0x254e32[_0x14cc90(0xdb)];_0x57a4d5 instanceof SceneComponent&&_0x57a4d5[_0x14cc90(0xea)]&&_0x254e32?(this[_0x14cc90(0xa6)]=_0x57a4d5,this['prepareClickHit']=_0x254e32['hit'],this[_0x14cc90(0xca)]=window['setTimeout'](()=>{const _0xb0b5f4=_0x14cc90;this['leftClickTimer']=null,this['prepareClickComponent']&&this[_0xb0b5f4(0xbc)]&&(this[_0xb0b5f4(0xd8)](this[_0xb0b5f4(0xa6)],this[_0xb0b5f4(0xbc)],![]),this[_0xb0b5f4(0xa6)]=null,this['prepareClickHit']=null);},this[_0x14cc90(0xd0)])):this['_onClickNothingDelegate'][_0x14cc90(0xa4)]();}[_0x4fe182(0xb6)](){const _0x194c8f=_0x4fe182;this[_0x194c8f(0xdc)](),this[_0x194c8f(0xa6)]&&this['prepareClickHit']?this[_0x194c8f(0xd8)](this['prepareClickComponent'],this[_0x194c8f(0xbc)],!![]):this[_0x194c8f(0xd3)][_0x194c8f(0xa4)](),this[_0x194c8f(0xa6)]=null,this[_0x194c8f(0xbc)]=null;}[_0x4fe182(0x117)](_0x5010a5){const _0x13be6c=_0x4fe182;this['_pointButtonIsDown'][_0x13be6c(0xc0)](_0x5010a5['button']);_0x5010a5[_0x13be6c(0xba)]===0x0&&this['pointerLeftDownPosition'][_0x13be6c(0xb5)](this[_0x13be6c(0xae)]);const _0x25cbde=this[_0x13be6c(0xc1)](),_0x121020=_0x25cbde===null||_0x25cbde===void 0?void 0:_0x25cbde[_0x13be6c(0xdb)];_0x121020 instanceof SceneComponent&&_0x25cbde&&this[_0x13be6c(0xcc)](_0x121020,_0x25cbde[_0x13be6c(0xe3)],_0x5010a5[_0x13be6c(0xba)]);}[_0x4fe182(0xe6)](_0x1aa89b){const _0x4833ef=_0x4fe182;this[_0x4833ef(0xbe)]();}[_0x4fe182(0xc2)](_0x20cb78){this['removeCorePointerListeners']();}['fireComponentHoverBegin'](_0x3453e4,_0x25825b){const _0x1e9925=_0x4fe182,_0x3cdbdc={'component':_0x3453e4,'hit':_0x25825b,'handled':![]};this[_0x1e9925(0x11b)][_0x1e9925(0xa4)](_0x3cdbdc),!_0x3cdbdc[_0x1e9925(0xbb)]&&_0x3453e4['onHorveringBegin']();}[_0x4fe182(0xbd)](_0x4c9921){const _0x528508=_0x4fe182,_0x21e768={'component':_0x4c9921,'hit':null,'handled':![]};this['_onComponentHoverEndDelegate'][_0x528508(0xa4)](_0x21e768),!_0x21e768[_0x528508(0xbb)]&&_0x4c9921[_0x528508(0xa0)]();}[_0x4fe182(0xec)](_0x1c1e76,_0x2d0c41,_0x4f322b){const _0x5337b9=_0x4fe182,_0xc8b3c=Object[_0x5337b9(0xe2)]({'component':_0x1c1e76,'hit':_0x2d0c41,'handled':![]},this[_0x5337b9(0x10d)]);_0x4f322b?(this['_onComponentDoubleClickDelegate'][_0x5337b9(0xa4)](_0xc8b3c),!_0xc8b3c[_0x5337b9(0xbb)]&&_0x1c1e76['onDoubleClicked']()):(this[_0x5337b9(0x105)]['broadcast'](_0xc8b3c),!_0xc8b3c[_0x5337b9(0xbb)]&&_0x1c1e76[_0x5337b9(0x116)]());}[_0x4fe182(0xcc)](_0x31cf51,_0x1d8176,_0x1706f9){const _0x19f8c5=_0x4fe182,_0x310023={'component':_0x31cf51,'hit':_0x1d8176,'button':_0x1706f9,'handled':![]};this[_0x19f8c5(0xe5)]['broadcast'](_0x310023);}[_0x4fe182(0xdd)](_0x2a1f2a,_0x2a8fd9,_0x1a34ee){const _0x46bb3c=_0x4fe182,_0xb9ac6e={'actor':_0x2a1f2a,'component':_0x2a8fd9,'hit':_0x1a34ee,'handled':![]};this[_0x46bb3c(0x107)]['broadcast'](_0xb9ac6e),!_0xb9ac6e['handled']&&_0x2a1f2a['onActorHoverBegin'](_0x2a8fd9);}['fireActorHoverEnd'](_0x148f48,_0x4609ed){const _0x50b809=_0x4fe182,_0x18e93c={'actor':_0x148f48,'component':_0x4609ed,'hit':null,'handled':![]};this['_onActorHoverEndDelegate']['broadcast'](_0x18e93c),!_0x18e93c['handled']&&_0x148f48[_0x50b809(0x10a)](_0x4609ed);}['fireActorClick'](_0x4f7a31,_0x461616,_0x4b2b70,_0x5aac33){const _0x2ac862=_0x4fe182,_0x27fcfd=Object[_0x2ac862(0xe2)]({'actor':_0x4f7a31,'component':_0x461616,'hit':_0x4b2b70,'handled':![]},this[_0x2ac862(0x10d)]);_0x5aac33?(this['_onActorDoubleClickDelegate'][_0x2ac862(0xa4)](_0x27fcfd),!_0x27fcfd[_0x2ac862(0xbb)]&&_0x4f7a31[_0x2ac862(0xf6)](_0x461616)):(this['_onActorClickDelegate'][_0x2ac862(0xa4)](_0x27fcfd),!_0x27fcfd[_0x2ac862(0xbb)]&&_0x4f7a31[_0x2ac862(0x103)](_0x461616));}[_0x4fe182(0xd8)](_0x5249bc,_0xca7635,_0x52aac7){const _0x35e817=_0x4fe182;this[_0x35e817(0xec)](_0x5249bc,_0xca7635,_0x52aac7);const _0x533fb3=_0x5249bc[_0x35e817(0xb8)];_0x533fb3&&_0x533fb3['isClickEnabled']&&this[_0x35e817(0xf7)](_0x533fb3,_0x5249bc,_0xca7635,_0x52aac7);}['clearClickTimer'](){const _0x18b274=_0x4fe182;this[_0x18b274(0xca)]&&(window[_0x18b274(0x104)](this[_0x18b274(0xca)]),this[_0x18b274(0xca)]=null);}[_0x4fe182(0xbe)](){const _0x4c6edd=_0x4fe182,_0x491d6a=this[_0x4c6edd(0x114)][_0x4c6edd(0xc5)];if(!_0x491d6a)return;_0x491d6a[_0x4c6edd(0xcb)](_0x4c6edd(0xd6),this[_0x4c6edd(0xe9)]),_0x491d6a[_0x4c6edd(0xcb)](_0x4c6edd(0xb3),this['onPointerUp']),_0x491d6a[_0x4c6edd(0xcb)](_0x4c6edd(0xb1),this[_0x4c6edd(0xc9)]);}[_0x4fe182(0xf0)](){const _0x543329=_0x4fe182,_0x33b4f5=this[_0x543329(0x114)][_0x543329(0xc5)];if(!_0x33b4f5)return;_0x33b4f5['removeEventListener'](_0x543329(0xd6),this[_0x543329(0xe9)]),_0x33b4f5['removeEventListener'](_0x543329(0xb3),this[_0x543329(0xce)]),_0x33b4f5[_0x543329(0xe0)](_0x543329(0xb1),this[_0x543329(0xc9)]);}[_0x4fe182(0xc1)](){const _0xe9b5ab=_0x4fe182;return this['getHitResultFromScreenPoint'](this[_0xe9b5ab(0xae)]['x'],this[_0xe9b5ab(0xae)]['y']);}[_0x4fe182(0xfe)](_0x171128,_0x255fb6){const _0x1f610b=_0x4fe182;this[_0x1f610b(0xc8)]['set'](_0x171128,_0x255fb6),this[_0x1f610b(0xb4)][_0x1f610b(0x118)](this[_0x1f610b(0xc8)],this[_0x1f610b(0xa8)]);const _0x373f25=this[_0x1f610b(0xf8)](_0x171128,_0x255fb6);for(const _0x414ac5 of _0x373f25){const _0x2897ba=_0x414ac5['component'][_0x1f610b(0xd5)]||_0x414ac5[_0x1f610b(0xdb)][_0x1f610b(0xea)],_0x16391f=_0x414ac5['component'][_0x1f610b(0xb8)],_0x16d2ed=_0x16391f&&(_0x16391f[_0x1f610b(0xd5)]||_0x16391f[_0x1f610b(0xea)]);if(!_0x2897ba&&!_0x16d2ed)continue;return _0x414ac5;}return null;}[_0x4fe182(0xf8)](_0xd50f64,_0x318170){const _0x273c15=_0x4fe182;this['_raycastVec2'][_0x273c15(0xf4)](_0xd50f64,_0x318170),this['raycaster'][_0x273c15(0x118)](this[_0x273c15(0xc8)],this[_0x273c15(0xa8)]);const _0x50a3fe=this[_0x273c15(0xb4)]['intersectObjects'](this[_0x273c15(0xed)][_0x273c15(0xa9)][_0x273c15(0x113)],!![]),_0x36a847=[];for(const _0x3155fc of _0x50a3fe){if(_0x3155fc[_0x273c15(0xb7)][_0x273c15(0xa1)][_0x273c15(0xe1)])continue;const _0x2a4075=_0x3155fc[_0x273c15(0xb7)]['userData']['LYObject'];if(!_0x2a4075)continue;_0x36a847[_0x273c15(0xdf)]({'component':_0x2a4075,'hit':_0x3155fc});}return _0x36a847;}[_0x4fe182(0xf1)](_0x1299be,_0x2d72f4,_0x3dcc56,_0xeaac2a,_0x21bdc6=null,_0x32d132=null){const _0x200462=_0x4fe182;this[_0x200462(0xfc)]['focusTo'](_0x1299be,_0x2d72f4,_0x3dcc56,_0xeaac2a,_0x21bdc6,_0x32d132);}}
|
|
71
71
|
|
|
72
|
-
function
|
|
72
|
+
const _0x41cc23=_0x43b0;function _0x29c6(){const _0x52e2ee=['[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','aspect','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','203BKvyam','3212Ozqzmb','180426ARiMUS','25690XKUVca','Invalid\x20camera\x20type','67608aBgnYh','bottom','33nhDvWz','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','type','right','40876tQsIFv','5TOZeze','773224iVLcZd','top','far','near','369qDKyWs','Perspective','fov','416380qIMvSK','left','Orthographic','updataCamera','3489840yVJjJJ','warn'];_0x29c6=function(){return _0x52e2ee;};return _0x29c6();}(function(_0x5c3d53,_0x3bfb67){const _0x55e43b=_0x43b0,_0x4a1a03=_0x5c3d53();while(!![]){try{const _0x5a272c=parseInt(_0x55e43b(0x15f))/0x1+-parseInt(_0x55e43b(0x173))/0x2*(-parseInt(_0x55e43b(0x16f))/0x3)+-parseInt(_0x55e43b(0x175))/0x4*(parseInt(_0x55e43b(0x174))/0x5)+-parseInt(_0x55e43b(0x16a))/0x6*(-parseInt(_0x55e43b(0x168))/0x7)+parseInt(_0x55e43b(0x16d))/0x8*(-parseInt(_0x55e43b(0x179))/0x9)+parseInt(_0x55e43b(0x16b))/0xa*(-parseInt(_0x55e43b(0x169))/0xb)+parseInt(_0x55e43b(0x163))/0xc;if(_0x5a272c===_0x3bfb67)break;else _0x4a1a03['push'](_0x4a1a03['shift']());}catch(_0x106634){_0x4a1a03['push'](_0x4a1a03['shift']());}}}(_0x29c6,0x7d854));function _0x43b0(_0x25e847,_0x4e3298){_0x25e847=_0x25e847-0x15f;const _0x29c61=_0x29c6();let _0x43b098=_0x29c61[_0x25e847];return _0x43b098;}class CameraFactory{static['createCamera'](_0x2acf63){const _0x92f68d=_0x43b0;try{switch(_0x2acf63[_0x92f68d(0x171)]){case _0x92f68d(0x17a):{let _0x1900f6=_0x2acf63;return new webgpu.PerspectiveCamera(_0x1900f6[_0x92f68d(0x17b)],_0x1900f6[_0x92f68d(0x166)],_0x1900f6[_0x92f68d(0x178)],_0x1900f6[_0x92f68d(0x177)]);}case 'Orthographic':{let _0x133eda=_0x2acf63;return new webgpu.OrthographicCamera(_0x133eda[_0x92f68d(0x160)],_0x133eda[_0x92f68d(0x172)],_0x133eda[_0x92f68d(0x176)],_0x133eda[_0x92f68d(0x16e)],_0x133eda[_0x92f68d(0x178)],_0x133eda[_0x92f68d(0x177)]);}default:{throw new Error(_0x92f68d(0x16c));}}}catch(_0x961beb){return console[_0x92f68d(0x164)](_0x92f68d(0x167),_0x961beb),console[_0x92f68d(0x164)]('[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead'),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0x41cc23(0x162)](_0xae4be8,_0x36f277){const _0x11a4e8=_0x41cc23;try{switch(_0xae4be8['type']){case _0x11a4e8(0x17a):{let _0x53f8c2=_0xae4be8;if(_0x36f277 instanceof webgpu.PerspectiveCamera)return _0x36f277['near']=_0x53f8c2[_0x11a4e8(0x178)],_0x36f277[_0x11a4e8(0x177)]=_0x53f8c2[_0x11a4e8(0x177)],_0x36f277['fov']=_0x53f8c2[_0x11a4e8(0x17b)],_0x36f277['aspect']=_0x53f8c2[_0x11a4e8(0x166)],_0x36f277;return new webgpu.PerspectiveCamera(_0x53f8c2[_0x11a4e8(0x17b)],_0x53f8c2[_0x11a4e8(0x166)],_0x53f8c2[_0x11a4e8(0x178)],_0x53f8c2[_0x11a4e8(0x177)]);}case _0x11a4e8(0x161):{let _0x5b8b35=_0xae4be8;if(_0x36f277 instanceof webgpu.OrthographicCamera)return _0x36f277[_0x11a4e8(0x178)]=_0x5b8b35[_0x11a4e8(0x178)],_0x36f277[_0x11a4e8(0x177)]=_0x5b8b35['far'],_0x36f277['left']=_0x5b8b35['left'],_0x36f277['right']=_0x5b8b35[_0x11a4e8(0x172)],_0x36f277[_0x11a4e8(0x176)]=_0x5b8b35[_0x11a4e8(0x176)],_0x36f277[_0x11a4e8(0x16e)]=_0x5b8b35['bottom'],_0x36f277;return new webgpu.OrthographicCamera(_0x5b8b35[_0x11a4e8(0x160)],_0x5b8b35[_0x11a4e8(0x172)],_0x5b8b35[_0x11a4e8(0x176)],_0x5b8b35[_0x11a4e8(0x16e)],_0x5b8b35[_0x11a4e8(0x178)],_0x5b8b35[_0x11a4e8(0x177)]);}default:{throw new Error(_0x11a4e8(0x16c));}}}catch(_0x157f28){return console[_0x11a4e8(0x164)](_0x11a4e8(0x165),_0x157f28),console['warn'](_0x11a4e8(0x170)),_0x36f277;}}}
|
|
73
73
|
|
|
74
|
-
const
|
|
74
|
+
function _0xaaf8(){const _0x57c56e=['2179236MHogeJ','parse','8027392vxFYBT','87615ptVpyM','Orthographic','4930710WIAUBd','Perspective','1870101LJbdzv','3806670xturjI','543138lAngRZ','stringify','5GVxlla'];_0xaaf8=function(){return _0x57c56e;};return _0xaaf8();}const _0x4111bd=_0x4db4;(function(_0x5f5bcc,_0x5d93ca){const _0x5a3599=_0x4db4,_0x235306=_0x5f5bcc();while(!![]){try{const _0x46a1bb=parseInt(_0x5a3599(0xf5))/0x1*(parseInt(_0x5a3599(0xff))/0x2)+parseInt(_0x5a3599(0xfd))/0x3+-parseInt(_0x5a3599(0xf6))/0x4+parseInt(_0x5a3599(0xf9))/0x5+parseInt(_0x5a3599(0xfb))/0x6+-parseInt(_0x5a3599(0xfe))/0x7+-parseInt(_0x5a3599(0xf8))/0x8;if(_0x46a1bb===_0x5d93ca)break;else _0x235306['push'](_0x235306['shift']());}catch(_0x1aa113){_0x235306['push'](_0x235306['shift']());}}}(_0xaaf8,0xb1d9d));const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x4111bd(0xfc),'fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0x4111bd(0xfa),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};function _0x4db4(_0x57ec6b,_0xa5b9a1){_0x57ec6b=_0x57ec6b-0xf4;const _0xaaf830=_0xaaf8();let _0x4db4ad=_0xaaf830[_0x57ec6b];return _0x4db4ad;}const DefaultCameraParam=JSON[_0x4111bd(0xf7)](JSON[_0x4111bd(0xf4)](DefaultPerspectiveCameraParam));
|
|
75
75
|
|
|
76
|
-
(function(
|
|
76
|
+
function _0x2e06(){const _0x3f5ec0=['4LaKtAd','2283htIEJR','9204PqKIRV','10693595LqbLjk','665TGZmPe','2192264eLdWFk','2087790HPcwRT','720809NeNEpk','3245425fGyXDn','1668Qphggr','18llMeDC'];_0x2e06=function(){return _0x3f5ec0;};return _0x2e06();}(function(_0x2b9a68,_0x4c0126){const _0x504afe=_0x1859,_0x2eaf30=_0x2b9a68();while(!![]){try{const _0x3a4385=-parseInt(_0x504afe(0x17e))/0x1+parseInt(_0x504afe(0x180))/0x2*(parseInt(_0x504afe(0x178))/0x3)+parseInt(_0x504afe(0x182))/0x4*(parseInt(_0x504afe(0x17f))/0x5)+parseInt(_0x504afe(0x179))/0x6*(parseInt(_0x504afe(0x17b))/0x7)+parseInt(_0x504afe(0x17c))/0x8+-parseInt(_0x504afe(0x181))/0x9*(-parseInt(_0x504afe(0x17d))/0xa)+-parseInt(_0x504afe(0x17a))/0xb;if(_0x3a4385===_0x4c0126)break;else _0x2eaf30['push'](_0x2eaf30['shift']());}catch(_0x5d2b70){_0x2eaf30['push'](_0x2eaf30['shift']());}}}(_0x2e06,0x6885e));function _0x1859(_0x1b22fa,_0x11082e){_0x1b22fa=_0x1b22fa-0x178;const _0x2e06c4=_0x2e06();let _0x18599f=_0x2e06c4[_0x1b22fa];return _0x18599f;}const DefaultViewportParam={'elementId':null,'isLabelRendererNeeded':![],'isUILayerNeeded':![]};
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
(function(_0x227c68,_0x12bdf5){const _0x8a91d1=_0x4cb8,_0x3ce02e=_0x227c68();while(!![]){try{const _0x3eebc8=-parseInt(_0x8a91d1(0xf3))/0x1*(parseInt(_0x8a91d1(0xf0))/0x2)+-parseInt(_0x8a91d1(0xf4))/0x3+-parseInt(_0x8a91d1(0xee))/0x4+-parseInt(_0x8a91d1(0xef))/0x5*(parseInt(_0x8a91d1(0xf1))/0x6)+parseInt(_0x8a91d1(0xf2))/0x7+-parseInt(_0x8a91d1(0xed))/0x8+parseInt(_0x8a91d1(0xf5))/0x9;if(_0x3eebc8===_0x12bdf5)break;else _0x3ce02e['push'](_0x3ce02e['shift']());}catch(_0x1fa4ea){_0x3ce02e['push'](_0x3ce02e['shift']());}}}(_0x46b3,0x6e8ff));function _0x4cb8(_0x48a3ba,_0x58fbef){_0x48a3ba=_0x48a3ba-0xed;const _0x46b35f=_0x46b3();let _0x4cb814=_0x46b35f[_0x48a3ba];return _0x4cb814;}const DefaultRendererParameters={'logarithmicDepthBuffer':![],'alpha':![],'depth':!![],'stencil':![],'antialias':![],'samples':0x1,'forceWebGL':![],'outputBufferType':0x3f8,'toneMapping':0x0,'toneMappingExposure':0x1,'shadowMapEnabled':!![],'shadowMapType':0x1};function _0x46b3(){const _0x4146b8=['3427192iVBNJz','118780eGIcZo','3845pIfnvi','3802oNXwmM','4980fsczOG','3185308rdpCju','34AfJGfA','1574946arCITK','15154191wvdRfB'];_0x46b3=function(){return _0x4146b8;};return _0x46b3();}
|
|
79
79
|
|
|
80
|
-
(function(
|
|
80
|
+
(function(_0x37762a,_0x4a513d){const _0x4b9070=_0x7dbf,_0x260369=_0x37762a();while(!![]){try{const _0x2ac58a=parseInt(_0x4b9070(0x89))/0x1*(-parseInt(_0x4b9070(0x84))/0x2)+-parseInt(_0x4b9070(0x8b))/0x3*(parseInt(_0x4b9070(0x88))/0x4)+parseInt(_0x4b9070(0x8f))/0x5*(-parseInt(_0x4b9070(0x86))/0x6)+-parseInt(_0x4b9070(0x8d))/0x7*(parseInt(_0x4b9070(0x85))/0x8)+parseInt(_0x4b9070(0x8e))/0x9+-parseInt(_0x4b9070(0x87))/0xa+parseInt(_0x4b9070(0x8c))/0xb*(parseInt(_0x4b9070(0x8a))/0xc);if(_0x2ac58a===_0x4a513d)break;else _0x260369['push'](_0x260369['shift']());}catch(_0x1e9676){_0x260369['push'](_0x260369['shift']());}}}(_0x2f51,0xed09f));function _0x2f51(){const _0x510af7=['3132UCCXYQ','11774710YPUIig','1328prazpH','728751UyAMkH','1545132iRXRLr','14721peMyFu','517eJMfVw','5201FFYwyA','1595961foDZqc','2660qBRBwt','2DYWxZQ','15560lkAQDF'];_0x2f51=function(){return _0x510af7;};return _0x2f51();}function _0x7dbf(_0x76a77e,_0x363aca){_0x76a77e=_0x76a77e-0x84;const _0x2f5173=_0x2f51();let _0x7dbf5a=_0x2f5173[_0x76a77e];return _0x7dbf5a;}const DefaultAppParam={'renderParam':DefaultRendererParameters,'cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
81
81
|
|
|
82
|
-
const _0x4135c2=_0x3a93;function _0x3a93(_0x16f8d4,_0x6a052a){_0x16f8d4=_0x16f8d4-0x1c4;const _0x4c95e7=_0x4c95();let _0x3a93c3=_0x4c95e7[_0x16f8d4];return _0x3a93c3;}(function(_0xf66784,_0x4988a6){const _0x1acbb4=_0x3a93,_0x4d28f4=_0xf66784();while(!![]){try{const _0x45b5c1=parseInt(_0x1acbb4(0x216))/0x1*(parseInt(_0x1acbb4(0x1c8))/0x2)+-parseInt(_0x1acbb4(0x1cc))/0x3*(parseInt(_0x1acbb4(0x1cb))/0x4)+-parseInt(_0x1acbb4(0x21f))/0x5+-parseInt(_0x1acbb4(0x220))/0x6*(parseInt(_0x1acbb4(0x1c6))/0x7)+parseInt(_0x1acbb4(0x1fa))/0x8+-parseInt(_0x1acbb4(0x215))/0x9+-parseInt(_0x1acbb4(0x210))/0xa*(-parseInt(_0x1acbb4(0x1d5))/0xb);if(_0x45b5c1===_0x4988a6)break;else _0x4d28f4['push'](_0x4d28f4['shift']());}catch(_0x307949){_0x4d28f4['push'](_0x4d28f4['shift']());}}}(_0x4c95,0x3211b));function _0x4c95(){const _0x389bcd=['markRenderStateDirty','getChildActorsByIds','getCenter','getBoundsCenterPosition','getWorldForwardDirection','forEach','children','onClickDelegate','worldToLocal','onRemovedFromWorld','app','broadcast','_onDoubleClickDelegate','addLocalOffset','_world','threeObject','destroy','onHoverEndDelegate','isVisible','getWorldRightDirection','userData','50mWlEdr','name','getBounds','onAddedToWorld','getWorldPosition','407601CRoLdN','13ZdnBjI','onActorDoubleClick','getWorldUpDirection','isTickEnabled','setVisible','setWorldMatrix','_onHoverBeginDelegate','onDoubleClickDelegate','getChildActorById','1801065SMGNnr','23484aQTOIE','getBoundsBottomCenterPosition','Actor','delete','constructRootComponent','addTickableActor','LYObject','max','KeepRelative','98WmFpmH','push','33740OkkUOn','addChildActor','childActors','794000hZgqwB','3xwvWeN','removeChildActor','has','uuid','tick','sub','size','_name','childrenComponents','1123331vQxROL','_rootComponent','setQuaternion','setRotation','addComponent','isClickEnabled','getWorldMatrix','getQuaternion','_onClickDelegate','setScale','getWorldQuaternion','KeepWorld','rootComponent','localToWorld','removeTickableActor','min','setLayers','rootComponent\x20is\x20invalid','_onHoverEndDelegate','length','getWorldScale','attachComponent','addChildComponent','getPosition','viewport','setPosition','clearComponent','getWorldRotation','onActorClick','error','getRotation','onActorHoverBegin','world','destroyChildren','parentActor','getComponents','isHoverEnabled','1071728JVrsgI'];_0x4c95=function(){return _0x389bcd;};return _0x4c95();}class Actor extends BaseObject{get['world'](){const _0x3e9e47=_0x3a93;return this[_0x3e9e47(0x209)];}get[_0x4135c2(0x211)](){const _0x47cd3f=_0x4135c2;return this[_0x47cd3f(0x1d3)];}set[_0x4135c2(0x211)](_0x59f35b){const _0x51e597=_0x4135c2;this[_0x51e597(0x1d3)]=_0x59f35b;}get['rootComponent'](){const _0x4f1d04=_0x4135c2;if(!this['_rootComponent'])throw Error(_0x4f1d04(0x1e6));return this[_0x4f1d04(0x1d6)];}set['rootComponent'](_0x1d74b3){const _0xdc3a06=_0x4135c2;_0x1d74b3['detachFromParentComponent'](),_0x1d74b3[_0xdc3a06(0x1f7)]=this;if(this[_0xdc3a06(0x1d6)]){let _0x32441f=this[_0xdc3a06(0x1e1)]['childrenComponents'];for(let _0x3225aa=0x0;_0x3225aa<_0x32441f[_0xdc3a06(0x1e8)];++_0x3225aa){_0x1d74b3[_0xdc3a06(0x1eb)](_0x32441f[_0x3225aa]);}this['rootComponent']['destroy']();}this['_rootComponent']=_0x1d74b3;}get[_0x4135c2(0x1d4)](){const _0x3cf914=_0x4135c2;return this[_0x3cf914(0x1e1)][_0x3cf914(0x1d4)];}get[_0x4135c2(0x1ca)](){const _0xb49fab=_0x4135c2;var _0x3eec77;let _0x4e2d93=[];return (_0x3eec77=this[_0xb49fab(0x1e1)][_0xb49fab(0x20a)])===null||_0x3eec77===void 0?void 0:_0x3eec77[_0xb49fab(0x201)][_0xb49fab(0x200)](_0xb9d7d1=>{const _0x54fff7=_0xb49fab;var _0x5aaa05;let _0x36ae3c=(_0x5aaa05=_0xb9d7d1[_0x54fff7(0x20f)]['LYObject'])===null||_0x5aaa05===void 0?void 0:_0x5aaa05['parentActor'];_0x36ae3c!==this&&_0x36ae3c instanceof Actor&&_0x4e2d93[_0x54fff7(0x1c7)](_0x36ae3c);}),_0x4e2d93;}get[_0x4135c2(0x1f7)](){const _0xcbaae8=_0x4135c2;var _0x349c8c,_0x572bd8;let _0x50f863=(_0x572bd8=(_0x349c8c=this[_0xcbaae8(0x1e1)][_0xcbaae8(0x20a)])===null||_0x349c8c===void 0?void 0:_0x349c8c['parent'])===null||_0x572bd8===void 0?void 0:_0x572bd8[_0xcbaae8(0x20f)][_0xcbaae8(0x226)][_0xcbaae8(0x1f7)];return _0x50f863===this?null:_0x50f863;}get[_0x4135c2(0x20d)](){const _0x274f00=_0x4135c2;return this[_0x274f00(0x1e1)]?this[_0x274f00(0x1e1)]['isVisible']:![];}get['isTickEnabled'](){const _0x76b3a1=_0x4135c2;return super[_0x76b3a1(0x219)];}set[_0x4135c2(0x219)](_0x51e6ab){const _0x4467f2=_0x4135c2;super['isTickEnabled']=_0x51e6ab,this[_0x4467f2(0x219)]?this['app'][_0x4467f2(0x1f5)][_0x4467f2(0x225)](this):this[_0x4467f2(0x205)][_0x4467f2(0x1f5)][_0x4467f2(0x1e3)](this);}get['onHoverBeginDelegate'](){return this['_onHoverBeginDelegate'];}get[_0x4135c2(0x20c)](){const _0x5ee257=_0x4135c2;return this[_0x5ee257(0x1e7)];}get[_0x4135c2(0x202)](){const _0x3d26fb=_0x4135c2;return this[_0x3d26fb(0x1dd)];}get[_0x4135c2(0x21d)](){return this['_onDoubleClickDelegate'];}constructor(_0x37f88d,_0x3f15ca){const _0x298d58=_0x4135c2;super(_0x3f15ca),this['_name']=_0x298d58(0x222),this[_0x298d58(0x1d6)]=null,this[_0x298d58(0x209)]=null,this[_0x298d58(0x21c)]=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x298d58(0x1dd)]=new Delegate(),this[_0x298d58(0x207)]=new Delegate(),this['app']=_0x37f88d,this['rootComponent']=this[_0x298d58(0x224)](),this[_0x298d58(0x1e1)]['parentActor']=this;}[_0x4135c2(0x224)](){const _0x552a6e=_0x4135c2;return new SceneComponent(this[_0x552a6e(0x205)]);}[_0x4135c2(0x1fe)](_0x5634c7=!![]){const _0x531d6b=_0x4135c2;let _0x56d263=new webgpu.Vector3();return this[_0x531d6b(0x212)]()['getCenter'](_0x56d263),!_0x5634c7?_0x56d263[_0x531d6b(0x1d1)](this[_0x531d6b(0x1ec)]()):_0x56d263;}[_0x4135c2(0x21e)](_0x377bfa,_0x2ef977=!![]){const _0x33cc48=_0x4135c2,_0x53888f=this[_0x33cc48(0x1ca)];for(const _0x435072 of _0x53888f){if(_0x435072[_0x33cc48(0x1cf)]===_0x377bfa)return _0x435072;}if(_0x2ef977)for(const _0x4c8a7b of _0x53888f){const _0x2d8900=_0x4c8a7b[_0x33cc48(0x21e)](_0x377bfa,!![]);if(_0x2d8900)return _0x2d8900;}return null;}[_0x4135c2(0x1fc)](_0x1951d2,_0x2cdde6=!![]){const _0x1087b0=_0x4135c2,_0x36f2bd=[],_0x5a90ae=new Set(_0x1951d2),_0xdc2439=this['childActors'];for(const _0x484024 of _0xdc2439){_0x5a90ae[_0x1087b0(0x1ce)](_0x484024[_0x1087b0(0x1cf)])&&(_0x36f2bd[_0x1087b0(0x1c7)](_0x484024),_0x5a90ae[_0x1087b0(0x223)](_0x484024['uuid']));}if(_0x2cdde6&&_0x5a90ae[_0x1087b0(0x1d2)]>0x0)for(const _0x16a993 of _0xdc2439){const _0x4ad981=_0x16a993['getChildActorsByIds']([..._0x5a90ae],!![]);for(const _0x2e3b64 of _0x4ad981){_0x36f2bd['push'](_0x2e3b64),_0x5a90ae[_0x1087b0(0x223)](_0x2e3b64[_0x1087b0(0x1cf)]);}if(_0x5a90ae[_0x1087b0(0x1d2)]===0x0)break;}return _0x36f2bd;}['getComponentById'](_0x5ea8ef){const _0x322f8b=_0x4135c2;return this[_0x322f8b(0x1e1)]['getComponentById'](_0x5ea8ef);}['getBoundsTopCenterPosition'](_0xf41770=!![]){const _0x1cba68=_0x4135c2;let _0x58f886=new webgpu.Vector3(),_0x1133cd=this['rootComponent'][_0x1cba68(0x212)]();return _0x1133cd[_0x1cba68(0x1fd)](_0x58f886),_0x58f886['y']=_0x1133cd[_0x1cba68(0x1c4)]['y'],!_0xf41770?_0x58f886[_0x1cba68(0x1d1)](this[_0x1cba68(0x1ec)]()):_0x58f886;}[_0x4135c2(0x221)](_0x4e2f2d=!![]){const _0x2d9eac=_0x4135c2;let _0x428d0b=new webgpu.Vector3(),_0x498ab0=this[_0x2d9eac(0x212)]();return _0x498ab0[_0x2d9eac(0x1fd)](_0x428d0b),_0x428d0b['y']=_0x498ab0[_0x2d9eac(0x1e4)]['y'],!_0x4e2f2d?_0x428d0b[_0x2d9eac(0x1d1)](this[_0x2d9eac(0x1ec)]()):_0x428d0b;}['getBounds'](){const _0x37c7c8=_0x4135c2;return this[_0x37c7c8(0x1e1)][_0x37c7c8(0x212)]();}[_0x4135c2(0x20b)](){const _0x439314=_0x4135c2;let _0x1f46f0=this[_0x439314(0x1ca)];_0x1f46f0[_0x439314(0x200)](_0x829f75=>{const _0x136bf5=_0x439314;_0x829f75[_0x136bf5(0x20b)]();}),this['rootComponent']['destroy']();}[_0x4135c2(0x21a)](_0x1c59a4){const _0x7db9fc=_0x4135c2;this[_0x7db9fc(0x1e1)]['setVisible'](_0x1c59a4);}[_0x4135c2(0x1e5)](_0x213932,_0xa2c9a7=!![]){const _0x447544=_0x4135c2;this[_0x447544(0x1e1)][_0x447544(0x1e5)](_0x213932),_0xa2c9a7&&this['childActors'][_0x447544(0x200)](_0x2d1b9f=>{_0x2d1b9f['setLayers'](_0x213932,_0xa2c9a7);});}[_0x4135c2(0x1d0)](_0x3773f8){const _0x25f05d=_0x4135c2;if(!this[_0x25f05d(0x219)])return;super[_0x25f05d(0x1d0)](_0x3773f8),this['rootComponent'][_0x25f05d(0x1d0)](_0x3773f8);}['getPosition'](){const _0x26d492=_0x4135c2;return this[_0x26d492(0x1e1)]['getPosition']();}[_0x4135c2(0x1ee)](..._0x32db6f){const _0x54c934=_0x4135c2;_0x32db6f['length']===0x1?this['rootComponent'][_0x54c934(0x1ee)](_0x32db6f[0x0]):this[_0x54c934(0x1e1)]['setPosition'](_0x32db6f[0x0],_0x32db6f[0x1],_0x32db6f[0x2]);}[_0x4135c2(0x1f3)](){const _0x2b9974=_0x4135c2;return this[_0x2b9974(0x1e1)][_0x2b9974(0x1f3)]();}['setRotation'](..._0x446346){const _0x523a3c=_0x4135c2;_0x446346[_0x523a3c(0x1e8)]===0x1?this['rootComponent'][_0x523a3c(0x1d8)](_0x446346[0x0]):this[_0x523a3c(0x1e1)][_0x523a3c(0x1d8)](_0x446346[0x0],_0x446346[0x1],_0x446346[0x2]);}[_0x4135c2(0x1dc)](){return this['rootComponent']['getQuaternion']();}[_0x4135c2(0x1d7)](..._0x42939b){const _0x2641cd=_0x4135c2;_0x42939b[_0x2641cd(0x1e8)]===0x1?this[_0x2641cd(0x1e1)][_0x2641cd(0x1d7)](_0x42939b[0x0]):this[_0x2641cd(0x1e1)][_0x2641cd(0x1d7)](_0x42939b[0x0],_0x42939b[0x1],_0x42939b[0x2],_0x42939b[0x3]);}['getScale'](){const _0x345afd=_0x4135c2;return this[_0x345afd(0x1e1)]['getScale']();}['setScale'](..._0x2b98bf){const _0x157e63=_0x4135c2;_0x2b98bf['length']===0x1?this[_0x157e63(0x1e1)][_0x157e63(0x1de)](_0x2b98bf[0x0]):this[_0x157e63(0x1e1)][_0x157e63(0x1de)](_0x2b98bf[0x0],_0x2b98bf[0x1],_0x2b98bf[0x2]);}[_0x4135c2(0x1db)](){const _0x8ef81=_0x4135c2;return this[_0x8ef81(0x1e1)][_0x8ef81(0x1db)]();}[_0x4135c2(0x21b)](_0x3e4c23){const _0x6669fe=_0x4135c2;this[_0x6669fe(0x1e1)]['setWorldMatrix'](_0x3e4c23);}[_0x4135c2(0x214)](){const _0x30d205=_0x4135c2;return this[_0x30d205(0x1e1)]['getWorldPosition']();}[_0x4135c2(0x1f0)](){const _0x2e811c=_0x4135c2;return this[_0x2e811c(0x1e1)]['getWorldRotation']();}[_0x4135c2(0x1df)](){const _0x2dca23=_0x4135c2;return this[_0x2dca23(0x1e1)][_0x2dca23(0x1df)]();}[_0x4135c2(0x1e9)](){const _0x43f2ef=_0x4135c2;return this[_0x43f2ef(0x1e1)][_0x43f2ef(0x1e9)]();}['getWorldForwardDirection'](){const _0x165a15=_0x4135c2;return this[_0x165a15(0x1e1)][_0x165a15(0x1ff)]();}[_0x4135c2(0x218)](){const _0x108cac=_0x4135c2;return this[_0x108cac(0x1e1)][_0x108cac(0x218)]();}[_0x4135c2(0x20e)](){const _0x29c599=_0x4135c2;return this[_0x29c599(0x1e1)]['getWorldRightDirection']();}[_0x4135c2(0x208)](_0x4d83b3,_0x37ade0){const _0xa6ed8f=_0x4135c2;let _0x1a9983=this[_0xa6ed8f(0x1ec)]();this[_0xa6ed8f(0x1ee)](_0x1a9983['x']+_0x4d83b3['x']*_0x37ade0,_0x1a9983['y']+_0x4d83b3['y']*_0x37ade0,_0x1a9983['z']+_0x4d83b3['z']*_0x37ade0);}[_0x4135c2(0x203)](_0x549c05){const _0x42ce6b=_0x4135c2;return this[_0x42ce6b(0x1e1)][_0x42ce6b(0x203)](_0x549c05);}[_0x4135c2(0x1e2)](_0x527f80){const _0x40f0d4=_0x4135c2;return this[_0x40f0d4(0x1e1)][_0x40f0d4(0x1e2)](_0x527f80);}[_0x4135c2(0x1f8)](){const _0x14e3f6=_0x4135c2;return this[_0x14e3f6(0x1e1)][_0x14e3f6(0x1d4)];}[_0x4135c2(0x1d9)](_0x33afa1,_0x25d4c9=exports.AttachmentRules[_0x4135c2(0x1c5)]){const _0x15e86d=_0x4135c2;this[_0x15e86d(0x1e1)][_0x15e86d(0x1eb)](_0x33afa1,_0x25d4c9),this['_world']&&_0x33afa1[_0x15e86d(0x213)](this[_0x15e86d(0x209)]);}['removeComponent'](_0x1c46a3){const _0xbe2fb0=_0x4135c2;if(_0x1c46a3===this['_rootComponent'])return;this[_0xbe2fb0(0x1e1)]['removeChildComponent'](_0x1c46a3);}[_0x4135c2(0x1ef)](){const _0x335be5=_0x4135c2;this[_0x335be5(0x1e1)][_0x335be5(0x1f6)]();}[_0x4135c2(0x1c9)](_0x102864,_0x203f77=exports.AttachmentRules[_0x4135c2(0x1e0)]){const _0x170be0=_0x4135c2;if(!_0x102864['rootComponent']){console[_0x170be0(0x1f2)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0x102864[_0x170be0(0x1f7)]===this)return;_0x203f77===exports.AttachmentRules[_0x170be0(0x1c5)]&&this['rootComponent'][_0x170be0(0x1ea)](_0x102864[_0x170be0(0x1e1)]);if(_0x203f77===exports.AttachmentRules['KeepWorld']){let _0x1a26d3=_0x102864[_0x170be0(0x1db)]();this[_0x170be0(0x1e1)][_0x170be0(0x1ea)](_0x102864[_0x170be0(0x1e1)]),_0x102864['setWorldMatrix'](_0x1a26d3);}this[_0x170be0(0x209)]&&this['_world'][_0x170be0(0x1ed)][_0x170be0(0x1fb)]();}['removeChildActor'](_0x4b64ee){const _0x3bed34=_0x4135c2;let _0x5714f6=_0x4b64ee[_0x3bed34(0x1db)]();this[_0x3bed34(0x1e1)]['detachComponent'](_0x4b64ee[_0x3bed34(0x1e1)]),_0x4b64ee[_0x3bed34(0x21b)](_0x5714f6);}['removeFromParent'](){const _0x4197b9=_0x4135c2;this[_0x4197b9(0x1f7)]&&this[_0x4197b9(0x1f7)][_0x4197b9(0x1cd)](this);}[_0x4135c2(0x213)](_0x41ccc6){const _0x57cd08=_0x4135c2;this[_0x57cd08(0x209)]=_0x41ccc6,this[_0x57cd08(0x1e1)][_0x57cd08(0x213)](this[_0x57cd08(0x209)]),this[_0x57cd08(0x1ca)]['forEach'](_0x3b248c=>{const _0x78ef56=_0x57cd08;_0x3b248c[_0x78ef56(0x213)](_0x41ccc6);});}[_0x4135c2(0x204)](){const _0xd9034=_0x4135c2;this[_0xd9034(0x209)]=null;}get[_0x4135c2(0x1f9)](){const _0x29cd92=_0x4135c2;return this['rootComponent'][_0x29cd92(0x1f9)];}set['isHoverEnabled'](_0x3849f1){const _0x4ef0e5=_0x4135c2;this[_0x4ef0e5(0x1e1)][_0x4ef0e5(0x1f9)]=_0x3849f1;}get[_0x4135c2(0x1da)](){const _0x525d6c=_0x4135c2;return this[_0x525d6c(0x1e1)][_0x525d6c(0x1da)];}set[_0x4135c2(0x1da)](_0x937525){const _0x5c66ba=_0x4135c2;this[_0x5c66ba(0x1e1)][_0x5c66ba(0x1da)]=_0x937525;}[_0x4135c2(0x1f4)](_0x3026d7){const _0x4fda59=_0x4135c2;this[_0x4fda59(0x21c)][_0x4fda59(0x206)](_0x3026d7);}['onActorHoverEnd'](_0x4fad82){const _0x4cc9e8=_0x4135c2;this[_0x4cc9e8(0x1e7)][_0x4cc9e8(0x206)](_0x4fad82);}[_0x4135c2(0x1f1)](_0x3d5317){const _0x51193b=_0x4135c2;this[_0x51193b(0x1dd)][_0x51193b(0x206)](_0x3d5317);}[_0x4135c2(0x217)](_0x3c25a1){const _0x300f7e=_0x4135c2;this[_0x300f7e(0x207)][_0x300f7e(0x206)](_0x3c25a1);}}
|
|
82
|
+
const _0x1849cf=_0x3293;(function(_0x2a6ca4,_0x11813e){const _0x293d32=_0x3293,_0x163693=_0x2a6ca4();while(!![]){try{const _0x310dd6=parseInt(_0x293d32(0x232))/0x1+-parseInt(_0x293d32(0x1f3))/0x2*(-parseInt(_0x293d32(0x20d))/0x3)+parseInt(_0x293d32(0x1fd))/0x4*(-parseInt(_0x293d32(0x23f))/0x5)+-parseInt(_0x293d32(0x21e))/0x6+parseInt(_0x293d32(0x21f))/0x7*(parseInt(_0x293d32(0x247))/0x8)+parseInt(_0x293d32(0x234))/0x9+parseInt(_0x293d32(0x21d))/0xa*(-parseInt(_0x293d32(0x20a))/0xb);if(_0x310dd6===_0x11813e)break;else _0x163693['push'](_0x163693['shift']());}catch(_0x2417d9){_0x163693['push'](_0x163693['shift']());}}}(_0x12ed,0x56289));function _0x3293(_0x58b573,_0x4f0568){_0x58b573=_0x58b573-0x1e8;const _0x12ed4f=_0x12ed();let _0x3293b9=_0x12ed4f[_0x58b573];return _0x3293b9;}function _0x12ed(){const _0x27a8f9=['_onHoverEndDelegate','forEach','getWorldScale','onActorClick','_world','_rootComponent','_onClickDelegate','getWorldForwardDirection','removeComponent','sub','setWorldMatrix','addComponent','getPosition','2iaInbP','getWorldPosition','getBoundsCenterPosition','Actor','max','getComponents','length','destroyChildren','delete','worldToLocal','25196SMTtgA','getWorldRotation','getBoundsTopCenterPosition','_onDoubleClickDelegate','isTickEnabled','onHoverBeginDelegate','onActorDoubleClick','app','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','addChildComponent','onAddedToWorld','attachComponent','destroy','337711OhJZlO','detachComponent','getScale','1312257KLTkjX','getChildActorById','LYObject','threeObject','setPosition','world','setLayers','viewport','isVisible','name','isHoverEnabled','setRotation','setScale','tick','has','setQuaternion','210nvfNWB','2693334piAYIy','105IjBFZc','rootComponent','removeTickableActor','KeepWorld','onDoubleClickDelegate','childrenComponents','_onHoverBeginDelegate','userData','parentActor','addLocalOffset','getChildActorsByIds','_name','onClickDelegate','addChildActor','removeChildActor','isClickEnabled','getCenter','size','getWorldRightDirection','671258GIFdQL','childActors','3854745GCzCIf','getRotation','uuid','getComponentById','getWorldMatrix','push','rootComponent\x20is\x20invalid','error','KeepRelative','getBounds','detachFromParentComponent','515ABxIDX','min','getWorldQuaternion','getBoundsBottomCenterPosition','setVisible','broadcast','getQuaternion','localToWorld','297776QXyxEr','addTickableActor'];_0x12ed=function(){return _0x27a8f9;};return _0x12ed();}class Actor extends BaseObject{get['world'](){return this['_world'];}get[_0x1849cf(0x216)](){return this['_name'];}set[_0x1849cf(0x216)](_0x1db262){const _0x38c64f=_0x1849cf;this[_0x38c64f(0x22a)]=_0x1db262;}get[_0x1849cf(0x220)](){const _0x3dd4ea=_0x1849cf;if(!this[_0x3dd4ea(0x1eb)])throw Error(_0x3dd4ea(0x23a));return this[_0x3dd4ea(0x1eb)];}set['rootComponent'](_0x215c07){const _0x18a043=_0x1849cf;_0x215c07[_0x18a043(0x23e)](),_0x215c07[_0x18a043(0x227)]=this;if(this['_rootComponent']){let _0x1e1c7a=this[_0x18a043(0x220)][_0x18a043(0x224)];for(let _0x37e532=0x0;_0x37e532<_0x1e1c7a[_0x18a043(0x1f9)];++_0x37e532){_0x215c07[_0x18a043(0x206)](_0x1e1c7a[_0x37e532]);}this[_0x18a043(0x220)][_0x18a043(0x209)]();}this[_0x18a043(0x1eb)]=_0x215c07;}get[_0x1849cf(0x224)](){const _0x13c885=_0x1849cf;return this[_0x13c885(0x220)][_0x13c885(0x224)];}get['childActors'](){const _0x477de3=_0x1849cf;var _0x1c70d9;let _0x3cdcbe=[];return (_0x1c70d9=this[_0x477de3(0x220)][_0x477de3(0x210)])===null||_0x1c70d9===void 0?void 0:_0x1c70d9['children']['forEach'](_0x494783=>{const _0x3627f2=_0x477de3;var _0x38af5a;let _0xa294d5=(_0x38af5a=_0x494783[_0x3627f2(0x226)][_0x3627f2(0x20f)])===null||_0x38af5a===void 0?void 0:_0x38af5a['parentActor'];_0xa294d5!==this&&_0xa294d5 instanceof Actor&&_0x3cdcbe[_0x3627f2(0x239)](_0xa294d5);}),_0x3cdcbe;}get[_0x1849cf(0x227)](){const _0x312363=_0x1849cf;var _0x4cb71b,_0x20fb66;let _0x50e7fa=(_0x20fb66=(_0x4cb71b=this[_0x312363(0x220)][_0x312363(0x210)])===null||_0x4cb71b===void 0?void 0:_0x4cb71b['parent'])===null||_0x20fb66===void 0?void 0:_0x20fb66[_0x312363(0x226)][_0x312363(0x20f)][_0x312363(0x227)];return _0x50e7fa===this?null:_0x50e7fa;}get[_0x1849cf(0x215)](){const _0x444d7f=_0x1849cf;return this[_0x444d7f(0x220)]?this[_0x444d7f(0x220)]['isVisible']:![];}get[_0x1849cf(0x201)](){return super['isTickEnabled'];}set[_0x1849cf(0x201)](_0x19402d){const _0x399ee9=_0x1849cf;super[_0x399ee9(0x201)]=_0x19402d,this[_0x399ee9(0x201)]?this['app']['world'][_0x399ee9(0x248)](this):this[_0x399ee9(0x204)][_0x399ee9(0x212)][_0x399ee9(0x221)](this);}get[_0x1849cf(0x202)](){const _0x4c8210=_0x1849cf;return this[_0x4c8210(0x225)];}get['onHoverEndDelegate'](){return this['_onHoverEndDelegate'];}get[_0x1849cf(0x22b)](){const _0x940bb1=_0x1849cf;return this[_0x940bb1(0x1ec)];}get[_0x1849cf(0x223)](){const _0x278691=_0x1849cf;return this[_0x278691(0x200)];}constructor(_0x129111,_0x2d271){const _0x57047d=_0x1849cf;super(_0x2d271),this[_0x57047d(0x22a)]=_0x57047d(0x1f6),this['_rootComponent']=null,this[_0x57047d(0x1ea)]=null,this[_0x57047d(0x225)]=new Delegate(),this[_0x57047d(0x249)]=new Delegate(),this['_onClickDelegate']=new Delegate(),this[_0x57047d(0x200)]=new Delegate(),this[_0x57047d(0x204)]=_0x129111,this[_0x57047d(0x220)]=this['constructRootComponent'](),this['rootComponent'][_0x57047d(0x227)]=this;}['constructRootComponent'](){const _0x499baf=_0x1849cf;return new SceneComponent(this[_0x499baf(0x204)]);}[_0x1849cf(0x1f5)](_0x92d2d8=!![]){const _0x20a167=_0x1849cf;let _0x4f86f8=new webgpu.Vector3();return this[_0x20a167(0x23d)]()['getCenter'](_0x4f86f8),!_0x92d2d8?_0x4f86f8['sub'](this['getPosition']()):_0x4f86f8;}[_0x1849cf(0x20e)](_0x3d2496,_0x3dcaac=!![]){const _0x1864f9=_0x1849cf,_0x7d29e0=this['childActors'];for(const _0x133359 of _0x7d29e0){if(_0x133359['uuid']===_0x3d2496)return _0x133359;}if(_0x3dcaac)for(const _0x313f87 of _0x7d29e0){const _0x20d178=_0x313f87[_0x1864f9(0x20e)](_0x3d2496,!![]);if(_0x20d178)return _0x20d178;}return null;}[_0x1849cf(0x229)](_0x365d0,_0x1a3c00=!![]){const _0x48d823=_0x1849cf,_0x5e0e20=[],_0x197914=new Set(_0x365d0),_0x516c22=this[_0x48d823(0x233)];for(const _0x3866e1 of _0x516c22){_0x197914[_0x48d823(0x21b)](_0x3866e1[_0x48d823(0x236)])&&(_0x5e0e20[_0x48d823(0x239)](_0x3866e1),_0x197914[_0x48d823(0x1fb)](_0x3866e1['uuid']));}if(_0x1a3c00&&_0x197914[_0x48d823(0x230)]>0x0)for(const _0x2e3a6c of _0x516c22){const _0x4c0789=_0x2e3a6c[_0x48d823(0x229)]([..._0x197914],!![]);for(const _0x434bd5 of _0x4c0789){_0x5e0e20[_0x48d823(0x239)](_0x434bd5),_0x197914['delete'](_0x434bd5[_0x48d823(0x236)]);}if(_0x197914[_0x48d823(0x230)]===0x0)break;}return _0x5e0e20;}[_0x1849cf(0x237)](_0x3a11d3){const _0x252371=_0x1849cf;return this[_0x252371(0x220)]['getComponentById'](_0x3a11d3);}[_0x1849cf(0x1ff)](_0x24e3da=!![]){const _0xd4b04=_0x1849cf;let _0x251c82=new webgpu.Vector3(),_0x5b5d31=this[_0xd4b04(0x220)]['getBounds']();return _0x5b5d31[_0xd4b04(0x22f)](_0x251c82),_0x251c82['y']=_0x5b5d31[_0xd4b04(0x1f7)]['y'],!_0x24e3da?_0x251c82[_0xd4b04(0x1ef)](this['getPosition']()):_0x251c82;}[_0x1849cf(0x242)](_0x1b5191=!![]){const _0x139e98=_0x1849cf;let _0x40a6f3=new webgpu.Vector3(),_0x4ddf3b=this['getBounds']();return _0x4ddf3b[_0x139e98(0x22f)](_0x40a6f3),_0x40a6f3['y']=_0x4ddf3b[_0x139e98(0x240)]['y'],!_0x1b5191?_0x40a6f3['sub'](this[_0x139e98(0x1f2)]()):_0x40a6f3;}[_0x1849cf(0x23d)](){const _0x4fefae=_0x1849cf;return this[_0x4fefae(0x220)][_0x4fefae(0x23d)]();}['destroy'](){const _0x8a4272=_0x1849cf;let _0x13611f=this[_0x8a4272(0x233)];_0x13611f['forEach'](_0x323bad=>{const _0x57304e=_0x8a4272;_0x323bad[_0x57304e(0x209)]();}),this[_0x8a4272(0x220)][_0x8a4272(0x209)]();}[_0x1849cf(0x243)](_0x238b7b){const _0x58af9d=_0x1849cf;this['rootComponent'][_0x58af9d(0x243)](_0x238b7b);}[_0x1849cf(0x213)](_0x284df8,_0x9ea4c5=!![]){const _0x2e6f80=_0x1849cf;this['rootComponent'][_0x2e6f80(0x213)](_0x284df8),_0x9ea4c5&&this[_0x2e6f80(0x233)]['forEach'](_0x3051c8=>{const _0x48e163=_0x2e6f80;_0x3051c8[_0x48e163(0x213)](_0x284df8,_0x9ea4c5);});}[_0x1849cf(0x21a)](_0x16129a){const _0x32c38f=_0x1849cf;if(!this[_0x32c38f(0x201)])return;super[_0x32c38f(0x21a)](_0x16129a),this[_0x32c38f(0x220)][_0x32c38f(0x21a)](_0x16129a);}[_0x1849cf(0x1f2)](){const _0x24dc75=_0x1849cf;return this['rootComponent'][_0x24dc75(0x1f2)]();}['setPosition'](..._0x25c829){const _0x5541b1=_0x1849cf;_0x25c829[_0x5541b1(0x1f9)]===0x1?this[_0x5541b1(0x220)]['setPosition'](_0x25c829[0x0]):this[_0x5541b1(0x220)][_0x5541b1(0x211)](_0x25c829[0x0],_0x25c829[0x1],_0x25c829[0x2]);}['getRotation'](){const _0x44066f=_0x1849cf;return this[_0x44066f(0x220)][_0x44066f(0x235)]();}[_0x1849cf(0x218)](..._0x51bb4e){const _0x484fc9=_0x1849cf;_0x51bb4e[_0x484fc9(0x1f9)]===0x1?this[_0x484fc9(0x220)][_0x484fc9(0x218)](_0x51bb4e[0x0]):this['rootComponent'][_0x484fc9(0x218)](_0x51bb4e[0x0],_0x51bb4e[0x1],_0x51bb4e[0x2]);}[_0x1849cf(0x245)](){const _0x3a883a=_0x1849cf;return this[_0x3a883a(0x220)][_0x3a883a(0x245)]();}[_0x1849cf(0x21c)](..._0x45abff){const _0x3f0c4b=_0x1849cf;_0x45abff['length']===0x1?this[_0x3f0c4b(0x220)][_0x3f0c4b(0x21c)](_0x45abff[0x0]):this[_0x3f0c4b(0x220)][_0x3f0c4b(0x21c)](_0x45abff[0x0],_0x45abff[0x1],_0x45abff[0x2],_0x45abff[0x3]);}[_0x1849cf(0x20c)](){const _0x20381b=_0x1849cf;return this[_0x20381b(0x220)][_0x20381b(0x20c)]();}[_0x1849cf(0x219)](..._0x3c8064){const _0x52be0c=_0x1849cf;_0x3c8064[_0x52be0c(0x1f9)]===0x1?this[_0x52be0c(0x220)][_0x52be0c(0x219)](_0x3c8064[0x0]):this[_0x52be0c(0x220)][_0x52be0c(0x219)](_0x3c8064[0x0],_0x3c8064[0x1],_0x3c8064[0x2]);}[_0x1849cf(0x238)](){const _0x409fa0=_0x1849cf;return this[_0x409fa0(0x220)]['getWorldMatrix']();}[_0x1849cf(0x1f0)](_0x42b124){const _0x160a51=_0x1849cf;this[_0x160a51(0x220)][_0x160a51(0x1f0)](_0x42b124);}['getWorldPosition'](){const _0xef4d9c=_0x1849cf;return this[_0xef4d9c(0x220)][_0xef4d9c(0x1f4)]();}[_0x1849cf(0x1fe)](){const _0x4e08f0=_0x1849cf;return this[_0x4e08f0(0x220)][_0x4e08f0(0x1fe)]();}[_0x1849cf(0x241)](){const _0xb473e5=_0x1849cf;return this['rootComponent'][_0xb473e5(0x241)]();}[_0x1849cf(0x1e8)](){const _0x5b8ea6=_0x1849cf;return this[_0x5b8ea6(0x220)][_0x5b8ea6(0x1e8)]();}[_0x1849cf(0x1ed)](){const _0x5f9c7b=_0x1849cf;return this['rootComponent'][_0x5f9c7b(0x1ed)]();}['getWorldUpDirection'](){const _0x349e26=_0x1849cf;return this[_0x349e26(0x220)]['getWorldUpDirection']();}[_0x1849cf(0x231)](){const _0x592d6e=_0x1849cf;return this[_0x592d6e(0x220)]['getWorldRightDirection']();}[_0x1849cf(0x228)](_0x4b5844,_0x1a7e1d){const _0x48a82a=_0x1849cf;let _0x476640=this[_0x48a82a(0x1f2)]();this[_0x48a82a(0x211)](_0x476640['x']+_0x4b5844['x']*_0x1a7e1d,_0x476640['y']+_0x4b5844['y']*_0x1a7e1d,_0x476640['z']+_0x4b5844['z']*_0x1a7e1d);}[_0x1849cf(0x1fc)](_0x76af25){const _0x9053f8=_0x1849cf;return this[_0x9053f8(0x220)]['worldToLocal'](_0x76af25);}[_0x1849cf(0x246)](_0x21774c){const _0x20d55d=_0x1849cf;return this[_0x20d55d(0x220)][_0x20d55d(0x246)](_0x21774c);}[_0x1849cf(0x1f8)](){const _0x48ff30=_0x1849cf;return this[_0x48ff30(0x220)][_0x48ff30(0x224)];}[_0x1849cf(0x1f1)](_0x4c4c29,_0x2b85b3=exports.AttachmentRules[_0x1849cf(0x23c)]){const _0x58e8cf=_0x1849cf;this['rootComponent'][_0x58e8cf(0x206)](_0x4c4c29,_0x2b85b3),this[_0x58e8cf(0x1ea)]&&_0x4c4c29[_0x58e8cf(0x207)](this['_world']);}[_0x1849cf(0x1ee)](_0x4f7c16){const _0x14e0df=_0x1849cf;if(_0x4f7c16===this[_0x14e0df(0x1eb)])return;this[_0x14e0df(0x220)]['removeChildComponent'](_0x4f7c16);}['clearComponent'](){const _0x385097=_0x1849cf;this['rootComponent'][_0x385097(0x1fa)]();}[_0x1849cf(0x22c)](_0x4adcb7,_0x344ed8=exports.AttachmentRules[_0x1849cf(0x222)]){const _0x21d3ec=_0x1849cf;if(!_0x4adcb7[_0x21d3ec(0x220)]){console[_0x21d3ec(0x23b)](_0x21d3ec(0x205));return;}if(_0x4adcb7[_0x21d3ec(0x227)]===this)return;_0x344ed8===exports.AttachmentRules[_0x21d3ec(0x23c)]&&this[_0x21d3ec(0x220)][_0x21d3ec(0x208)](_0x4adcb7[_0x21d3ec(0x220)]);if(_0x344ed8===exports.AttachmentRules['KeepWorld']){let _0x5abf2e=_0x4adcb7['getWorldMatrix']();this[_0x21d3ec(0x220)]['attachComponent'](_0x4adcb7[_0x21d3ec(0x220)]),_0x4adcb7[_0x21d3ec(0x1f0)](_0x5abf2e);}this[_0x21d3ec(0x1ea)]&&this[_0x21d3ec(0x1ea)][_0x21d3ec(0x214)]['markRenderStateDirty']();}['removeChildActor'](_0x3fbcf1){const _0x274cd5=_0x1849cf;let _0x6c994d=_0x3fbcf1['getWorldMatrix']();this[_0x274cd5(0x220)][_0x274cd5(0x20b)](_0x3fbcf1[_0x274cd5(0x220)]),_0x3fbcf1[_0x274cd5(0x1f0)](_0x6c994d);}['removeFromParent'](){const _0x5270e4=_0x1849cf;this['parentActor']&&this[_0x5270e4(0x227)][_0x5270e4(0x22d)](this);}[_0x1849cf(0x207)](_0x33926c){const _0xf455c2=_0x1849cf;this[_0xf455c2(0x1ea)]=_0x33926c,this[_0xf455c2(0x220)][_0xf455c2(0x207)](this[_0xf455c2(0x1ea)]),this[_0xf455c2(0x233)][_0xf455c2(0x24a)](_0x3ca906=>{const _0x54d23f=_0xf455c2;_0x3ca906[_0x54d23f(0x207)](_0x33926c);});}['onRemovedFromWorld'](){const _0x393460=_0x1849cf;this[_0x393460(0x1ea)]=null;}get[_0x1849cf(0x217)](){const _0x42099d=_0x1849cf;return this['rootComponent'][_0x42099d(0x217)];}set[_0x1849cf(0x217)](_0x527471){const _0x53ebe3=_0x1849cf;this[_0x53ebe3(0x220)][_0x53ebe3(0x217)]=_0x527471;}get[_0x1849cf(0x22e)](){const _0x306c22=_0x1849cf;return this[_0x306c22(0x220)][_0x306c22(0x22e)];}set[_0x1849cf(0x22e)](_0x5cd869){const _0x2f65b7=_0x1849cf;this[_0x2f65b7(0x220)][_0x2f65b7(0x22e)]=_0x5cd869;}['onActorHoverBegin'](_0x3e7a94){const _0x409fae=_0x1849cf;this[_0x409fae(0x225)][_0x409fae(0x244)](_0x3e7a94);}['onActorHoverEnd'](_0xac9c1f){const _0x5a4193=_0x1849cf;this[_0x5a4193(0x249)][_0x5a4193(0x244)](_0xac9c1f);}[_0x1849cf(0x1e9)](_0x149ba7){const _0x283a9a=_0x1849cf;this[_0x283a9a(0x1ec)]['broadcast'](_0x149ba7);}[_0x1849cf(0x203)](_0x3ef40f){const _0xb8b2d5=_0x1849cf;this['_onDoubleClickDelegate'][_0xb8b2d5(0x244)](_0x3ef40f);}}
|
|
83
83
|
|
|
84
|
-
const
|
|
84
|
+
const _0x3bafff=_0xd200;(function(_0x4e2a01,_0x5752c2){const _0x8a9ffd=_0xd200,_0x5f1557=_0x4e2a01();while(!![]){try{const _0x4e6df5=-parseInt(_0x8a9ffd(0xae))/0x1*(parseInt(_0x8a9ffd(0xa9))/0x2)+-parseInt(_0x8a9ffd(0xbb))/0x3*(parseInt(_0x8a9ffd(0xac))/0x4)+-parseInt(_0x8a9ffd(0xb1))/0x5*(-parseInt(_0x8a9ffd(0xab))/0x6)+parseInt(_0x8a9ffd(0xb6))/0x7*(-parseInt(_0x8a9ffd(0xba))/0x8)+-parseInt(_0x8a9ffd(0xbe))/0x9*(parseInt(_0x8a9ffd(0xb5))/0xa)+-parseInt(_0x8a9ffd(0xbc))/0xb*(-parseInt(_0x8a9ffd(0xaa))/0xc)+parseInt(_0x8a9ffd(0xbd))/0xd;if(_0x4e6df5===_0x5752c2)break;else _0x5f1557['push'](_0x5f1557['shift']());}catch(_0x249c88){_0x5f1557['push'](_0x5f1557['shift']());}}}(_0x6db5,0xc2b49));function _0xd200(_0x3cd4a8,_0x13744f){_0x3cd4a8=_0x3cd4a8-0xa7;const _0x6db55a=_0x6db5();let _0xd200a0=_0x6db55a[_0x3cd4a8];return _0xd200a0;}class ThreeObjectLibrary{static[_0x3bafff(0xb9)](_0x5e05d3){const _0x50ba4f=_0x3bafff;Object[_0x50ba4f(0xb8)](_0x5e05d3)[_0x50ba4f(0xa7)](_0x4b2f09=>{const _0x23e147=_0x50ba4f,_0x199351=_0x5e05d3[_0x4b2f09];_0x199351&&typeof _0x199351===_0x23e147(0xb3)&&'isTexture'in _0x199351&&_0x199351['dispose']();});}static[_0x3bafff(0xaf)](_0x2a9685){const _0x23d596=_0x3bafff;let _0x15c6ac=Array[_0x23d596(0xad)](_0x2a9685[_0x23d596(0xb7)])?_0x2a9685[_0x23d596(0xb7)]:[_0x2a9685[_0x23d596(0xb7)]];_0x15c6ac[_0x23d596(0xa7)](_0x44dc84=>{const _0x140180=_0x23d596;ThreeObjectLibrary[_0x140180(0xb9)](_0x44dc84),_0x44dc84['dispose']();});}static[_0x3bafff(0xb2)](_0x216fe1,_0x42aae8=![]){const _0x1cc767=_0x3bafff;ThreeObjectLibrary[_0x1cc767(0xaf)](_0x216fe1),_0x216fe1[_0x1cc767(0xb4)][_0x1cc767(0xa8)](),_0x42aae8&&_0x216fe1['children']['forEach'](_0xfb6dcd=>{const _0x42f9c4=_0x1cc767;_0xfb6dcd instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x42f9c4(0xb2)](_0xfb6dcd,!![]);});}static[_0x3bafff(0xb0)](_0x153f4f){_0x153f4f['traverse'](_0x2ad04d=>{const _0x524b92=_0xd200;_0x2ad04d instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x524b92(0xb2)](_0x2ad04d);});}}function _0x6db5(){const _0x2e7470=['disposeMaterialTextures','144752JLWXbM','3sCABIL','397298JTeyvX','7224022boQZzr','957159TDmTCL','forEach','dispose','2lxAHiG','528cMjmKX','114gmdtLV','5110856cgPdvJ','isArray','337009XQnAcv','disposeMeshMaterial','disposeObject3DResource','317375zAPmpf','disposeMeshResource','object','geometry','10hCpklX','322MsQuNB','material','keys'];_0x6db5=function(){return _0x2e7470;};return _0x6db5();}
|
|
85
85
|
|
|
86
|
-
var
|
|
86
|
+
var _0x3199b3=_0x5624;(function(_0x370453,_0x297622){var _0x1dab27=_0x5624,_0x48b006=_0x370453();while(!![]){try{var _0x4b246a=parseInt(_0x1dab27(0x169))/0x1+parseInt(_0x1dab27(0x162))/0x2*(parseInt(_0x1dab27(0x16a))/0x3)+parseInt(_0x1dab27(0x167))/0x4*(-parseInt(_0x1dab27(0x163))/0x5)+parseInt(_0x1dab27(0x165))/0x6+parseInt(_0x1dab27(0x164))/0x7+-parseInt(_0x1dab27(0x16d))/0x8+-parseInt(_0x1dab27(0x168))/0x9*(parseInt(_0x1dab27(0x166))/0xa);if(_0x4b246a===_0x297622)break;else _0x48b006['push'](_0x48b006['shift']());}catch(_0x2fe571){_0x48b006['push'](_0x48b006['shift']());}}}(_0x9ac1,0x461e1));function _0x9ac1(){var _0x20a4de=['314110jArqqA','1704IStjmY','108aPVvHw','544949mKhxst','746979yTLNxk','obj','LYObject','4322952KvTHli','threeObject','userData','three\x20object\x20is\x20invalid','2vzKJGx','2995Brrpon','2279025VOHpCE','2040954YkCJkJ'];_0x9ac1=function(){return _0x20a4de;};return _0x9ac1();}function _0x5624(_0x118377,_0x3f2c31){_0x118377=_0x118377-0x160;var _0x9ac1f5=_0x9ac1();var _0x56244a=_0x9ac1f5[_0x118377];return _0x56244a;}class LevelComponent extends SceneComponent{get[_0x3199b3(0x16e)](){var _0x38028f=_0x3199b3;if(!this[_0x38028f(0x16b)])throw Error(_0x38028f(0x161));return this[_0x38028f(0x16b)];}set[_0x3199b3(0x16e)](_0x51f74b){var _0x22d860=_0x3199b3;this['obj']=_0x51f74b,this[_0x22d860(0x16b)]&&(this[_0x22d860(0x16b)][_0x22d860(0x160)][_0x22d860(0x16c)]=this);}constructor(_0x21d057,_0x4d5c3b){super(_0x21d057,_0x4d5c3b);}['createDefaultObject'](){return new three.Scene();}}
|
|
87
87
|
|
|
88
|
-
var
|
|
88
|
+
var _0x3aced5=_0x225b;(function(_0x50add9,_0x1e9389){var _0x20a35c=_0x225b,_0x1fac28=_0x50add9();while(!![]){try{var _0x418d51=-parseInt(_0x20a35c(0x1b6))/0x1+parseInt(_0x20a35c(0x1be))/0x2+-parseInt(_0x20a35c(0x1a9))/0x3+parseInt(_0x20a35c(0x1b2))/0x4+-parseInt(_0x20a35c(0x1aa))/0x5+-parseInt(_0x20a35c(0x1ba))/0x6+parseInt(_0x20a35c(0x1b1))/0x7;if(_0x418d51===_0x1e9389)break;else _0x1fac28['push'](_0x1fac28['shift']());}catch(_0x47d3cb){_0x1fac28['push'](_0x1fac28['shift']());}}}(_0x3d3d,0xb9be7));function _0x225b(_0x2d4fdf,_0x5ee42c){_0x2d4fdf=_0x2d4fdf-0x1a9;var _0x3d3d66=_0x3d3d();var _0x225bd2=_0x3d3d66[_0x2d4fdf];return _0x225bd2;}function _0x3d3d(){var _0x1af640=['639962sQwfXJ','4056522IQZDWl','3311650StXyGS','rootComponent','scene\x20is\x20null','_scene','clearLevel','isTickEnabled','constructRootComponent','18119556vHLgQr','1577556VGVyvm','scene','disposeMeshResource','tick','386117lOrBRV','app','childActors','forEach','848700deQsXZ','destroy','uuid','threeObject'];_0x3d3d=function(){return _0x1af640;};return _0x3d3d();}class LevelActor extends Actor{get[_0x3aced5(0x1b3)](){var _0x1cc68c=_0x3aced5;if(!this[_0x1cc68c(0x1ad)])throw new Error(_0x1cc68c(0x1ac));return this[_0x1cc68c(0x1ad)];}constructor(_0x413fc2,_0x4a9cd8){var _0x5ee82e=_0x3aced5;super(_0x413fc2,_0x4a9cd8),this[_0x5ee82e(0x1ad)]=null,this[_0x5ee82e(0x1ad)]=this[_0x5ee82e(0x1ab)][_0x5ee82e(0x1bd)],this[_0x5ee82e(0x1af)]=![];}[_0x3aced5(0x1b0)](){var _0x348c97=_0x3aced5;return new LevelComponent(this[_0x348c97(0x1b7)],this[_0x348c97(0x1bc)]);}[_0x3aced5(0x1b5)](_0x1adbbb){var _0x2cc35c=_0x3aced5;if(!this[_0x2cc35c(0x1af)])return;super[_0x2cc35c(0x1b5)](_0x1adbbb);}[_0x3aced5(0x1bb)](){var _0x5861e8=_0x3aced5;this[_0x5861e8(0x1ae)](),super[_0x5861e8(0x1bb)]();}['clearLevel'](){var _0x2e6ccc=_0x3aced5;this[_0x2e6ccc(0x1b8)][_0x2e6ccc(0x1b9)](_0x2691f2=>{_0x2691f2['destroy']();}),this[_0x2e6ccc(0x1b3)]['traverse'](_0x3cf1d5=>{var _0xa592f2=_0x2e6ccc;_0x3cf1d5 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0xa592f2(0x1b4)](_0x3cf1d5);});}}
|
|
89
89
|
|
|
90
|
-
function
|
|
90
|
+
function _0x517c(){const _0x119cef=['7JyPxDj','4IGgBoI','647181gxyzAb','989262IOiewB','7406280xVeddK','1894935ONixfh','169437rwrMwb','30947609dJFJnc','88DzHyQQ','3cAUVjU','2424604wVILtb'];_0x517c=function(){return _0x119cef;};return _0x517c();}function _0x3176(_0x1af51c,_0x543e63){_0x1af51c=_0x1af51c-0x19d;const _0x517c5d=_0x517c();let _0x317653=_0x517c5d[_0x1af51c];return _0x317653;}(function(_0x1f4ca5,_0x90494e){const _0x16a8ef=_0x3176,_0x477a31=_0x1f4ca5();while(!![]){try{const _0x551ae0=parseInt(_0x16a8ef(0x1a6))/0x1*(parseInt(_0x16a8ef(0x1a1))/0x2)+-parseInt(_0x16a8ef(0x19e))/0x3*(parseInt(_0x16a8ef(0x19f))/0x4)+-parseInt(_0x16a8ef(0x1a5))/0x5+parseInt(_0x16a8ef(0x1a3))/0x6*(-parseInt(_0x16a8ef(0x1a0))/0x7)+parseInt(_0x16a8ef(0x19d))/0x8*(-parseInt(_0x16a8ef(0x1a2))/0x9)+-parseInt(_0x16a8ef(0x1a4))/0xa+parseInt(_0x16a8ef(0x1a7))/0xb;if(_0x551ae0===_0x90494e)break;else _0x477a31['push'](_0x477a31['shift']());}catch(_0x4b2dd8){_0x477a31['push'](_0x477a31['shift']());}}}(_0x517c,0x72e7b));const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
91
91
|
|
|
92
|
-
const
|
|
92
|
+
const _0x3bab2b=_0x3b0b;(function(_0x639f54,_0x528b04){const _0x9b72df=_0x3b0b,_0x6b225b=_0x639f54();while(!![]){try{const _0x29a73c=parseInt(_0x9b72df(0x123))/0x1*(-parseInt(_0x9b72df(0x13c))/0x2)+-parseInt(_0x9b72df(0x122))/0x3*(parseInt(_0x9b72df(0x13e))/0x4)+-parseInt(_0x9b72df(0x146))/0x5*(-parseInt(_0x9b72df(0x143))/0x6)+parseInt(_0x9b72df(0x138))/0x7*(-parseInt(_0x9b72df(0x14b))/0x8)+parseInt(_0x9b72df(0x121))/0x9+-parseInt(_0x9b72df(0x13d))/0xa*(-parseInt(_0x9b72df(0x142))/0xb)+parseInt(_0x9b72df(0x14c))/0xc*(parseInt(_0x9b72df(0x133))/0xd);if(_0x29a73c===_0x528b04)break;else _0x6b225b['push'](_0x6b225b['shift']());}catch(_0x22e06e){_0x6b225b['push'](_0x6b225b['shift']());}}}(_0x1ba3,0x2395d));function _0x1ba3(){const _0x83facf=['worldParam','onWindowResize','push','clear','camera','isRenderEveryFrame','1312794OOgKzi','33GePrvX','28277yFONLV','addTickingFunction','cameraParam','_viewport','postConstruct','worldClass','controller','world','indexOf','renderParam','onCameraChangedDelegate','updataCamera','tick','_assetManager','clearAssets','viewport','1807AWJqhz','updateProjectionMatrix','classes','appParam','forEach','91ITmtgh','_onCameraChangedDelegate','updateCamera','_clock','12bvOtBx','636890UyXBsU','85468LTPArd','_appParam','_world','postProcessParam','22BGulce','60fcbjOK','markRenderStateDirty','_controller','135735EjJqoU','viewportParam','assetManager','_camera','init','143336Riqoco','20604rIxTdX','splice','_tickingFunctions','removeTickingFunction','controllerClass','setAnimationLoop','renderAsImage','destroy','render'];_0x1ba3=function(){return _0x83facf;};return _0x1ba3();}function _0x3b0b(_0x27ddb4,_0x370494){_0x27ddb4=_0x27ddb4-0x114;const _0x1ba33a=_0x1ba3();let _0x3b0b8e=_0x1ba33a[_0x27ddb4];return _0x3b0b8e;}class ThreeJsApp{get[_0x3bab2b(0x11f)](){const _0x223ff1=_0x3bab2b;return this[_0x223ff1(0x149)];}get['clock'](){const _0x38fafb=_0x3bab2b;return this[_0x38fafb(0x13b)];}get['world'](){const _0x568644=_0x3bab2b;return this[_0x568644(0x140)];}get[_0x3bab2b(0x132)](){return this['_viewport'];}get[_0x3bab2b(0x129)](){const _0x325de9=_0x3bab2b;return this[_0x325de9(0x145)];}get[_0x3bab2b(0x148)](){const _0x22a69d=_0x3bab2b;return this[_0x22a69d(0x130)];}get[_0x3bab2b(0x136)](){return this['_appParam'];}get[_0x3bab2b(0x12d)](){const _0x45f7a0=_0x3bab2b;return this[_0x45f7a0(0x139)];}constructor(_0x32aee5=DefaultAppParam){const _0x59a0ce=_0x3bab2b;this['_tickingFunctions']=[],this[_0x59a0ce(0x13f)]={'viewportParam':DefaultViewportParam},this[_0x59a0ce(0x139)]=new Delegate(),this[_0x59a0ce(0x13f)][_0x59a0ce(0x125)]=_0x32aee5[_0x59a0ce(0x125)]?_0x32aee5['cameraParam']:DefaultCameraParam,this['_appParam']['renderParam']=_0x32aee5[_0x59a0ce(0x12c)]?_0x32aee5[_0x59a0ce(0x12c)]:DefaultRendererParameters,this[_0x59a0ce(0x13f)][_0x59a0ce(0x141)]=_0x32aee5['postProcessParam']?_0x32aee5['postProcessParam']:DefaultPostProcessParam,this[_0x59a0ce(0x13f)]['viewportParam']=_0x32aee5[_0x59a0ce(0x147)]?_0x32aee5[_0x59a0ce(0x147)]:DefaultViewportParam,this[_0x59a0ce(0x13f)][_0x59a0ce(0x135)]=_0x32aee5[_0x59a0ce(0x135)]?_0x32aee5['classes']:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport},this[_0x59a0ce(0x13f)][_0x59a0ce(0x120)]=_0x32aee5[_0x59a0ce(0x120)],this[_0x59a0ce(0x13b)]=new webgpu.Clock(),this[_0x59a0ce(0x149)]=CameraFactory['createCamera'](this['_appParam'][_0x59a0ce(0x125)]),this[_0x59a0ce(0x140)]=new this[(_0x59a0ce(0x13f))]['classes'][(_0x59a0ce(0x128))](this,this[_0x59a0ce(0x13f)][_0x59a0ce(0x11b)]?this[_0x59a0ce(0x13f)]['worldParam']:DefaultWorldParam),this[_0x59a0ce(0x126)]=new this[(_0x59a0ce(0x13f))][(_0x59a0ce(0x135))]['viewportClass'](this,this[_0x59a0ce(0x13f)][_0x59a0ce(0x147)],this['_appParam'][_0x59a0ce(0x12c)],this[_0x59a0ce(0x13f)][_0x59a0ce(0x141)]),this[_0x59a0ce(0x145)]=new this[(_0x59a0ce(0x13f))][(_0x59a0ce(0x135))][(_0x59a0ce(0x116))](this),this[_0x59a0ce(0x130)]=new this[(_0x59a0ce(0x13f))][(_0x59a0ce(0x135))]['assetManagerClass'](this),this[_0x59a0ce(0x132)]['renderer'][_0x59a0ce(0x117)](()=>{const _0x5bbf29=_0x59a0ce,_0x1eb602=this['_clock']['getDelta']();this[_0x5bbf29(0x12f)](_0x1eb602);}),this[_0x59a0ce(0x127)]();}['postConstruct'](){const _0x4bcfe4=_0x3bab2b;this['controller'][_0x4bcfe4(0x14a)](),this[_0x4bcfe4(0x12a)]['init'](),this[_0x4bcfe4(0x132)][_0x4bcfe4(0x14a)]();}[_0x3bab2b(0x14a)](){}[_0x3bab2b(0x12f)](_0x28d963){const _0x25b1bd=_0x3bab2b;this['_controller'][_0x25b1bd(0x12f)](_0x28d963),this[_0x25b1bd(0x12a)][_0x25b1bd(0x12f)](_0x28d963),this[_0x25b1bd(0x114)][_0x25b1bd(0x137)](_0x47cb5e=>{_0x47cb5e(_0x28d963);}),this[_0x25b1bd(0x13f)][_0x25b1bd(0x120)]&&this[_0x25b1bd(0x132)][_0x25b1bd(0x144)](),this[_0x25b1bd(0x132)][_0x25b1bd(0x11a)]();}[_0x3bab2b(0x124)](_0x5b730e){const _0x3bc656=_0x3bab2b;this[_0x3bc656(0x114)][_0x3bc656(0x11d)](_0x5b730e);}[_0x3bab2b(0x115)](_0x540820){const _0x63e349=_0x3bab2b,_0x4dea34=this['_tickingFunctions'][_0x63e349(0x12b)](_0x540820);_0x4dea34>=0x0&&this[_0x63e349(0x114)][_0x63e349(0x14d)](_0x4dea34,0x1);}[_0x3bab2b(0x119)](){const _0xab8ff7=_0x3bab2b;this[_0xab8ff7(0x12d)][_0xab8ff7(0x11e)](),this['controller'][_0xab8ff7(0x119)](),this[_0xab8ff7(0x12a)]['destroy'](),this[_0xab8ff7(0x132)][_0xab8ff7(0x119)](),this['_assetManager'][_0xab8ff7(0x131)]();}['updateCamera'](_0x446c83){const _0x14c676=_0x3bab2b,_0x396787=this['camera'];this[_0x14c676(0x149)]=CameraFactory[_0x14c676(0x12e)](_0x446c83,this[_0x14c676(0x11f)]),_0x396787!==this[_0x14c676(0x11f)]&&(this[_0x14c676(0x139)]['broadcast'](),this[_0x14c676(0x129)][_0x14c676(0x13a)]()),this['_camera']['updateProjectionMatrix'](),this[_0x14c676(0x132)][_0x14c676(0x144)]();}[_0x3bab2b(0x11c)](_0x507253,_0x56fef5){const _0x498ffa=_0x3bab2b;this[_0x498ffa(0x11f)]instanceof webgpu.PerspectiveCamera&&(this[_0x498ffa(0x11f)]['aspect']=_0x507253/_0x56fef5),this[_0x498ffa(0x11f)][_0x498ffa(0x134)]();}async[_0x3bab2b(0x118)](_0x582042=0x400,_0x42ca19=0x400){const _0x172141=_0x3bab2b;return await this['viewport'][_0x172141(0x118)](_0x582042,_0x42ca19);}}
|
|
93
93
|
|
|
94
|
-
var
|
|
94
|
+
var _0x2976b2=_0x56c1;(function(_0x19eba8,_0x19ec67){var _0x8494c=_0x56c1,_0xdfda45=_0x19eba8();while(!![]){try{var _0x9516d4=-parseInt(_0x8494c(0x18a))/0x1*(-parseInt(_0x8494c(0x17f))/0x2)+-parseInt(_0x8494c(0x182))/0x3*(parseInt(_0x8494c(0x18b))/0x4)+-parseInt(_0x8494c(0x188))/0x5+parseInt(_0x8494c(0x17e))/0x6+parseInt(_0x8494c(0x180))/0x7+parseInt(_0x8494c(0x189))/0x8*(parseInt(_0x8494c(0x185))/0x9)+parseInt(_0x8494c(0x18c))/0xa*(-parseInt(_0x8494c(0x186))/0xb);if(_0x9516d4===_0x19ec67)break;else _0xdfda45['push'](_0xdfda45['shift']());}catch(_0x56ca9a){_0xdfda45['push'](_0xdfda45['shift']());}}}(_0x512b,0x6516a));class LightComponent extends SceneComponent{get['threeObject'](){var _0x161ecd=_0x56c1;if(!this['obj'])throw Error(_0x161ecd(0x181));return this[_0x161ecd(0x187)];}set[_0x2976b2(0x17d)](_0x4f81ed){var _0x56ae07=_0x2976b2;this['obj']=_0x4f81ed,this[_0x56ae07(0x187)]&&(this[_0x56ae07(0x187)][_0x56ae07(0x18e)]['LYObject']=this);}get[_0x2976b2(0x184)](){var _0x24a42c=_0x2976b2;return this[_0x24a42c(0x17d)][_0x24a42c(0x184)][_0x24a42c(0x183)]();}set['color'](_0x500b16){var _0x57f282=_0x2976b2;this[_0x57f282(0x17d)][_0x57f282(0x184)]['set'](_0x500b16);}get[_0x2976b2(0x18d)](){var _0x158b09=_0x2976b2;return this[_0x158b09(0x17d)][_0x158b09(0x18d)];}set['intensity'](_0x2fc418){var _0x46d3bc=_0x2976b2;this[_0x46d3bc(0x17d)][_0x46d3bc(0x18d)]=_0x2fc418;}constructor(_0x27598e,_0x207eef){super(_0x27598e,_0x207eef);}}function _0x56c1(_0xf4f9a0,_0x48b996){_0xf4f9a0=_0xf4f9a0-0x17d;var _0x512bde=_0x512b();var _0x56c155=_0x512bde[_0xf4f9a0];return _0x56c155;}function _0x512b(){var _0x1accfe=['2728JzQxdS','obj','3202275ReWRDR','2905256gNPwOX','728524wSEErR','28pmgWfI','1470hsKYXC','intensity','userData','threeObject','743412oOrDxf','2PNdhXV','1964284jvRjaa','three\x20object\x20is\x20invalid','329307RDeKAd','getHex','color','18cQjcIG'];_0x512b=function(){return _0x1accfe;};return _0x512b();}
|
|
95
95
|
|
|
96
|
-
var
|
|
96
|
+
function _0xceaa(){var _0x1fb85e=['9981FFKToU','2467870TUflGZ','3384LeMmRI','setPosition','3472119HNXqTa','world','542361yIXuIR','4308zwFeOT','826652iwapDy','castShadow','three\x20object\x20is\x20invalid','color','2tZZcdC','length','11ZnXFJl','threeObject','LYObject','2775TFwjFJ','obj','146033TWGchk','destroy','markRenderStateDirty','set','update','viewport'];_0xceaa=function(){return _0x1fb85e;};return _0xceaa();}function _0xfb53(_0x13f97d,_0x2fd384){_0x13f97d=_0x13f97d-0x1c2;var _0xceaa27=_0xceaa();var _0xfb5323=_0xceaa27[_0x13f97d];return _0xfb5323;}var _0x6899fa=_0xfb53;(function(_0x1a2603,_0x3f79bd){var _0x4eb0e7=_0xfb53,_0x26f4d4=_0x1a2603();while(!![]){try{var _0x2cba58=parseInt(_0x4eb0e7(0x1d3))/0x1+parseInt(_0x4eb0e7(0x1cc))/0x2*(-parseInt(_0x4eb0e7(0x1c6))/0x3)+parseInt(_0x4eb0e7(0x1c8))/0x4+-parseInt(_0x4eb0e7(0x1d1))/0x5*(-parseInt(_0x4eb0e7(0x1c7))/0x6)+-parseInt(_0x4eb0e7(0x1c4))/0x7+-parseInt(_0x4eb0e7(0x1c2))/0x8*(-parseInt(_0x4eb0e7(0x1d9))/0x9)+-parseInt(_0x4eb0e7(0x1da))/0xa*(parseInt(_0x4eb0e7(0x1ce))/0xb);if(_0x2cba58===_0x3f79bd)break;else _0x26f4d4['push'](_0x26f4d4['shift']());}catch(_0x1bb708){_0x26f4d4['push'](_0x26f4d4['shift']());}}}(_0xceaa,0x486fe));class DirectionalLightComponent extends LightComponent{get[_0x6899fa(0x1cf)](){var _0xd679a8=_0x6899fa;if(!this[_0xd679a8(0x1d2)])throw Error(_0xd679a8(0x1ca));return this[_0xd679a8(0x1d2)];}set['threeObject'](_0x44ae35){var _0x1d39f5=_0x6899fa;this['obj']=_0x44ae35,this[_0x1d39f5(0x1d2)]&&(this[_0x1d39f5(0x1d2)]['userData'][_0x1d39f5(0x1d0)]=this);}get[_0x6899fa(0x1c9)](){var _0x534459=_0x6899fa;return this[_0x534459(0x1cf)][_0x534459(0x1c9)];}set[_0x6899fa(0x1c9)](_0x48acc3){var _0x494261=_0x6899fa;this[_0x494261(0x1cf)][_0x494261(0x1c9)]=_0x48acc3;}constructor(_0x179713,_0x5ac129=0xffffff,_0x4520a0=0xa,_0x1b20fd){var _0x14e08e=_0x6899fa;super(_0x179713,_0x1b20fd),this['threeObject'][_0x14e08e(0x1cb)][_0x14e08e(0x1d6)](_0x5ac129),this['threeObject']['intensity']=_0x4520a0;}['createDefaultObject'](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0x6899fa(0x1c3)](..._0xd95a61){var _0x58b910=_0x6899fa;_0xd95a61[_0x58b910(0x1cd)]===0x1?super['setPosition'](_0xd95a61[0x0]):super[_0x58b910(0x1c3)](_0xd95a61[0x0],_0xd95a61[0x1],_0xd95a61[0x2]),this[_0x58b910(0x1d7)]();}[_0x6899fa(0x1d7)](){var _0x339a7c=_0x6899fa;if(this['world'])this[_0x339a7c(0x1c5)][_0x339a7c(0x1d8)][_0x339a7c(0x1d5)]();}['onAddedToWorld'](_0x38095b){var _0x1caa71=_0x6899fa;if(!this[_0x1caa71(0x1cf)])throw Error(_0x1caa71(0x1ca));super['onAddedToWorld'](_0x38095b);}[_0x6899fa(0x1d4)](){super['destroy']();}}
|
|
97
97
|
|
|
98
|
-
var
|
|
98
|
+
var _0x2974e2=_0x24ee;(function(_0x10e265,_0x40f731){var _0x17e912=_0x24ee,_0x582a9a=_0x10e265();while(!![]){try{var _0x2f9190=-parseInt(_0x17e912(0x74))/0x1*(-parseInt(_0x17e912(0x6d))/0x2)+-parseInt(_0x17e912(0x66))/0x3*(-parseInt(_0x17e912(0x6c))/0x4)+parseInt(_0x17e912(0x73))/0x5+parseInt(_0x17e912(0x67))/0x6+parseInt(_0x17e912(0x6f))/0x7+parseInt(_0x17e912(0x6a))/0x8*(parseInt(_0x17e912(0x6e))/0x9)+parseInt(_0x17e912(0x70))/0xa*(-parseInt(_0x17e912(0x6b))/0xb);if(_0x2f9190===_0x40f731)break;else _0x582a9a['push'](_0x582a9a['shift']());}catch(_0x50ee31){_0x582a9a['push'](_0x582a9a['shift']());}}}(_0x667d,0xe13f7));function _0x667d(){var _0xf48166=['6950136dlRcAw','intensity','lightComponent','8yyErcz','231OgKcGT','4hGJdOG','407586oVuGuA','12247353wITmKU','10288103QJuvvS','3062080iwUsoo','rootComponent','castShadow','2409505BIhOlG','9KUSZqK','color','constructRootComponent','3144129SAstPk'];_0x667d=function(){return _0xf48166;};return _0x667d();}function _0x24ee(_0x3c4908,_0x577889){_0x3c4908=_0x3c4908-0x64;var _0x667d91=_0x667d();var _0x24eeb6=_0x667d91[_0x3c4908];return _0x24eeb6;}class DirectionalLightActor extends Actor{constructor(_0x20a109,_0xcd4533=0xffffff,_0x5beccc=0x1,_0xc4e4f8){var _0x1f3290=_0x24ee;super(_0x20a109,_0xc4e4f8),this['lightComponent']=null,this['lightComponent']=this[_0x1f3290(0x71)],this['lightComponent']&&(this[_0x1f3290(0x69)][_0x1f3290(0x64)]=_0xcd4533,this[_0x1f3290(0x69)][_0x1f3290(0x68)]=_0x5beccc,this[_0x1f3290(0x69)][_0x1f3290(0x72)]=!![]),this[_0x1f3290(0x69)][_0x1f3290(0x72)]=!![];}[_0x2974e2(0x65)](){return new DirectionalLightComponent(this['app']);}}
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
var _0x24d1d0=_0x98e6;(function(_0x27179a,_0x1f7a4d){var _0x317cb5=_0x98e6,_0x18d94e=_0x27179a();while(!![]){try{var _0x3539d3=-parseInt(_0x317cb5(0x15c))/0x1+-parseInt(_0x317cb5(0x15b))/0x2+-parseInt(_0x317cb5(0x153))/0x3*(-parseInt(_0x317cb5(0x14a))/0x4)+-parseInt(_0x317cb5(0x14b))/0x5+parseInt(_0x317cb5(0x14f))/0x6*(parseInt(_0x317cb5(0x152))/0x7)+-parseInt(_0x317cb5(0x148))/0x8+parseInt(_0x317cb5(0x151))/0x9;if(_0x3539d3===_0x1f7a4d)break;else _0x18d94e['push'](_0x18d94e['shift']());}catch(_0x2020e9){_0x18d94e['push'](_0x18d94e['shift']());}}}(_0x129d,0x191bf));function _0x129d(){var _0x2e2a74=['454648wglWkH','three\x20object\x20is\x20invalid','126388AzVbwg','536605qHYsNC','threeObject','obj','intensity','35562itkRcU','set','2587536iCCnbS','189EDMOGw','6YRnWiN','markRenderStateDirty','update','setPosition','castShadow','viewport','onAddedToWorld','destroy','337846FNqEyl','74805kBvQjQ','world','length'];_0x129d=function(){return _0x2e2a74;};return _0x129d();}function _0x98e6(_0x3e695e,_0x501b64){_0x3e695e=_0x3e695e-0x146;var _0x129ddb=_0x129d();var _0x98e6f7=_0x129ddb[_0x3e695e];return _0x98e6f7;}class AmbientLightComponent extends LightComponent{get[_0x24d1d0(0x14c)](){var _0x2e8708=_0x24d1d0;if(!this[_0x2e8708(0x14d)])throw Error(_0x2e8708(0x149));return this[_0x2e8708(0x14d)];}set['threeObject'](_0x5ce645){var _0x39b66c=_0x24d1d0;this[_0x39b66c(0x14d)]=_0x5ce645,this[_0x39b66c(0x14d)]&&(this[_0x39b66c(0x14d)]['userData']['LYObject']=this);}get[_0x24d1d0(0x157)](){var _0x3b54af=_0x24d1d0;return this[_0x3b54af(0x14c)][_0x3b54af(0x157)];}set[_0x24d1d0(0x157)](_0x56b0a9){var _0x2254e=_0x24d1d0;this[_0x2254e(0x14c)][_0x2254e(0x157)]=_0x56b0a9;}constructor(_0x22008f,_0x2e0663=0xffffff,_0x15fe51=0xa,_0x5235da){var _0x24f280=_0x24d1d0;super(_0x22008f,_0x5235da),this[_0x24f280(0x14c)]['color'][_0x24f280(0x150)](_0x2e0663),this['threeObject'][_0x24f280(0x14e)]=_0x15fe51;}['createDefaultObject'](){return new webgpu.AmbientLight(0xffffff,0xa);}['setPosition'](..._0x546d6e){var _0x9f33ef=_0x24d1d0;_0x546d6e[_0x9f33ef(0x147)]===0x1?super[_0x9f33ef(0x156)](_0x546d6e[0x0]):super[_0x9f33ef(0x156)](_0x546d6e[0x0],_0x546d6e[0x1],_0x546d6e[0x2]),this[_0x9f33ef(0x155)]();}[_0x24d1d0(0x155)](){var _0x57cbd6=_0x24d1d0;if(this['world'])this[_0x57cbd6(0x146)][_0x57cbd6(0x158)][_0x57cbd6(0x154)]();}['onAddedToWorld'](_0xaab9b1){var _0x1e460b=_0x24d1d0;if(!this[_0x1e460b(0x14c)])throw Error(_0x1e460b(0x149));super[_0x1e460b(0x159)](_0xaab9b1);}[_0x24d1d0(0x15a)](){var _0x35f87d=_0x24d1d0;super[_0x35f87d(0x15a)]();}}
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
(function(_0x327ec8,_0x1ab78e){var _0x5cf57f=_0x12bb,_0x98ddca=_0x327ec8();while(!![]){try{var _0x2127b3=parseInt(_0x5cf57f(0x83))/0x1+parseInt(_0x5cf57f(0x86))/0x2+parseInt(_0x5cf57f(0x8e))/0x3*(-parseInt(_0x5cf57f(0x87))/0x4)+parseInt(_0x5cf57f(0x8c))/0x5+-parseInt(_0x5cf57f(0x8f))/0x6+-parseInt(_0x5cf57f(0x82))/0x7*(parseInt(_0x5cf57f(0x88))/0x8)+parseInt(_0x5cf57f(0x8d))/0x9;if(_0x2127b3===_0x1ab78e)break;else _0x98ddca['push'](_0x98ddca['shift']());}catch(_0x1a50c7){_0x98ddca['push'](_0x98ddca['shift']());}}}(_0x2130,0x88f1e));function _0x12bb(_0x3ec6e8,_0x21e62f){_0x3ec6e8=_0x3ec6e8-0x82;var _0x213025=_0x2130();var _0x12bbfe=_0x213025[_0x3ec6e8];return _0x12bbfe;}function _0x2130(){var _0x12f885=['14uPYJul','615050rODpiA','rootComponent','castShadow','1504710QpAWmM','124092Yuqffr','4324952oLoZgm','lightComponent','color','app','868695XZecFv','8747442zqHdYr','30GvQcig','3364128MczcWx'];_0x2130=function(){return _0x12f885;};return _0x2130();}class AmbientLightActor extends Actor{constructor(_0xc438d0,_0x4876c8=0xffffff,_0x1dd5c7=0x1,_0x33bd2f){var _0x5484bd=_0x12bb;super(_0xc438d0,_0x33bd2f),this['lightComponent']=null,this[_0x5484bd(0x89)]=this[_0x5484bd(0x84)],this[_0x5484bd(0x89)]&&(this['lightComponent'][_0x5484bd(0x8a)]=_0x4876c8,this['lightComponent']['intensity']=_0x1dd5c7,this[_0x5484bd(0x89)]['castShadow']=!![]),this['lightComponent'][_0x5484bd(0x85)]=!![];}['constructRootComponent'](){var _0x299771=_0x12bb;return new AmbientLightComponent(this[_0x299771(0x8b)]);}}
|
|
103
103
|
|
|
104
|
-
function
|
|
104
|
+
function _0x2754(_0x38d32b,_0x24f8f2){_0x38d32b=_0x38d32b-0x8f;var _0x478f04=_0x478f();var _0x2754b4=_0x478f04[_0x38d32b];return _0x2754b4;}(function(_0x38ff78,_0x205919){var _0x594b69=_0x2754,_0x38c352=_0x38ff78();while(!![]){try{var _0x1fbfdc=-parseInt(_0x594b69(0x94))/0x1*(-parseInt(_0x594b69(0x8f))/0x2)+-parseInt(_0x594b69(0x91))/0x3+parseInt(_0x594b69(0x93))/0x4+parseInt(_0x594b69(0x92))/0x5*(-parseInt(_0x594b69(0x90))/0x6)+-parseInt(_0x594b69(0x96))/0x7+parseInt(_0x594b69(0x97))/0x8+parseInt(_0x594b69(0x95))/0x9;if(_0x1fbfdc===_0x205919)break;else _0x38c352['push'](_0x38c352['shift']());}catch(_0x2c4332){_0x38c352['push'](_0x38c352['shift']());}}}(_0x478f,0x43082));class BoxComponent extends MeshComponent{constructor(_0x1a9b12,_0x2d2b34=0x1,_0x2664d6=0x1,_0x123280=0x1,_0x338a8f=0x1,_0x1aa847=0x1,_0x5d29db=0x1,_0x17bc68=new webgpu.MeshStandardMaterial(),_0x4769ac){super(_0x1a9b12,new webgpu.BoxGeometry(_0x2d2b34,_0x2664d6,_0x123280,_0x338a8f,_0x1aa847,_0x5d29db),_0x17bc68,_0x4769ac);}}function _0x478f(){var _0x2de601=['9635TRnsyI','1752948CpUWIF','1EXyzNA','6863760cyzCiw','2078412ENneFD','462736rBvFel','216686mskKEp','1458eeFmQO','981969nQJakP'];_0x478f=function(){return _0x2de601;};return _0x478f();}
|
|
105
105
|
|
|
106
|
-
function
|
|
106
|
+
function _0xe275(_0x1c1427,_0x15ec43){_0x1c1427=_0x1c1427-0x177;var _0x33a9ad=_0x33a9();var _0xe275a8=_0x33a9ad[_0x1c1427];return _0xe275a8;}var _0x2a50cd=_0xe275;(function(_0x196d28,_0x2d4fee){var _0x549c1d=_0xe275,_0x1684c0=_0x196d28();while(!![]){try{var _0x17a1be=-parseInt(_0x549c1d(0x17a))/0x1+parseInt(_0x549c1d(0x177))/0x2*(parseInt(_0x549c1d(0x178))/0x3)+parseInt(_0x549c1d(0x179))/0x4*(-parseInt(_0x549c1d(0x17b))/0x5)+parseInt(_0x549c1d(0x181))/0x6+-parseInt(_0x549c1d(0x17d))/0x7*(-parseInt(_0x549c1d(0x17c))/0x8)+-parseInt(_0x549c1d(0x17f))/0x9+parseInt(_0x549c1d(0x182))/0xa;if(_0x17a1be===_0x2d4fee)break;else _0x1684c0['push'](_0x1684c0['shift']());}catch(_0x3f353c){_0x1684c0['push'](_0x1684c0['shift']());}}}(_0x33a9,0xe93e2));function _0x33a9(){var _0x674aea=['13636cOmcIY','315gtuHzT','100BurIlq','413384dKasQN','252790eWCRTG','64HLsrkA','551852lcchkk','app','16353855ZGOakE','constructRootComponent','6803016vpLmOo','19693770GkgcKB','uuid'];_0x33a9=function(){return _0x674aea;};return _0x33a9();}class BoxActor extends Actor{constructor(_0x1c422f,_0x4d1dd7){super(_0x1c422f,_0x4d1dd7);}[_0x2a50cd(0x180)](){var _0x355a5f=_0x2a50cd;return new BoxComponent(this[_0x355a5f(0x17e)],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this[_0x355a5f(0x183)]);}}
|
|
107
107
|
|
|
108
|
-
const
|
|
108
|
+
const _0x287d25=_0x13ec;(function(_0x127bf8,_0x38d44e){const _0x3a9b93=_0x13ec,_0x14686e=_0x127bf8();while(!![]){try{const _0x8650ec=-parseInt(_0x3a9b93(0x16b))/0x1+parseInt(_0x3a9b93(0x170))/0x2*(-parseInt(_0x3a9b93(0x152))/0x3)+-parseInt(_0x3a9b93(0x168))/0x4+-parseInt(_0x3a9b93(0x160))/0x5+parseInt(_0x3a9b93(0x16e))/0x6+parseInt(_0x3a9b93(0x16f))/0x7+parseInt(_0x3a9b93(0x15a))/0x8;if(_0x8650ec===_0x38d44e)break;else _0x14686e['push'](_0x14686e['shift']());}catch(_0x261972){_0x14686e['push'](_0x14686e['shift']());}}}(_0x1e7f,0x1f258));function _0x1e7f(){const _0x36ec48=['170076UsWroQ','userData','azimuth','849732VIAvnO','1139152XaAfSr','4nVYmHm','copy','91551wtJTQx','elevation','degToRad','disposeMeshResource','markRenderStateDirty','destroyObject','world','skyParam','733008aYSzyJ','turbidity','threeObject','mieCoefficient','value','LYObject','158855dQwjFx','three\x20object\x20is\x20invalid','createDefaultObject','updateSky','obj','setFromSphericalCoords','mieDirectionalG','viewport','22108XybAPo','rayleigh','sunPosition'];_0x1e7f=function(){return _0x36ec48;};return _0x1e7f();}function _0x13ec(_0x37c76c,_0xb3e0e3){_0x37c76c=_0x37c76c-0x151;const _0x1e7f2e=_0x1e7f();let _0x13ec06=_0x1e7f2e[_0x37c76c];return _0x13ec06;}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x287d25(0x15c)](){const _0x4f31d6=_0x287d25;if(!this[_0x4f31d6(0x164)])throw Error(_0x4f31d6(0x161));return this[_0x4f31d6(0x164)];}set['threeObject'](_0x598503){const _0x4c6507=_0x287d25;this[_0x4c6507(0x164)]=_0x598503,this[_0x4c6507(0x164)]&&(this[_0x4c6507(0x164)][_0x4c6507(0x16c)][_0x4c6507(0x15f)]=this);}constructor(_0x5601f6,_0x4b4f9e,_0x324e7c){const _0x3a4b01=_0x287d25;super(_0x5601f6,_0x324e7c),this[_0x3a4b01(0x159)]=DefaultSkyParam,this['sunPosition']=new webgpu.Vector3(),_0x4b4f9e&&(this['skyParam']=_0x4b4f9e),this[_0x3a4b01(0x163)]();}[_0x287d25(0x162)](){return new SkyMesh_js.SkyMesh();}['updateSky'](){const _0x297d0e=_0x287d25;var _0x439d5b,_0x4cc789;this[_0x297d0e(0x15c)][_0x297d0e(0x15b)][_0x297d0e(0x15e)]=this[_0x297d0e(0x159)][_0x297d0e(0x15b)],this[_0x297d0e(0x15c)][_0x297d0e(0x169)][_0x297d0e(0x15e)]=this[_0x297d0e(0x159)]['rayleigh'],this[_0x297d0e(0x15c)][_0x297d0e(0x15d)][_0x297d0e(0x15e)]=this['skyParam'][_0x297d0e(0x15d)],this[_0x297d0e(0x15c)][_0x297d0e(0x166)]['value']=this[_0x297d0e(0x159)]['mieDirectionalG'];const _0x5dea6a=webgpu.MathUtils[_0x297d0e(0x154)](0x5a-this['skyParam'][_0x297d0e(0x153)]),_0x593cfc=webgpu.MathUtils[_0x297d0e(0x154)](this[_0x297d0e(0x159)][_0x297d0e(0x16d)]);this['sunPosition'][_0x297d0e(0x165)](0x1,_0x5dea6a,_0x593cfc),this[_0x297d0e(0x15c)][_0x297d0e(0x16a)][_0x297d0e(0x15e)][_0x297d0e(0x151)](this[_0x297d0e(0x16a)]),(_0x4cc789=(_0x439d5b=this[_0x297d0e(0x158)])===null||_0x439d5b===void 0?void 0:_0x439d5b[_0x297d0e(0x167)])===null||_0x4cc789===void 0?void 0:_0x4cc789[_0x297d0e(0x156)]();}[_0x287d25(0x157)](){const _0xbf59c1=_0x287d25;this[_0xbf59c1(0x164)]&&ThreeObjectLibrary[_0xbf59c1(0x155)](this[_0xbf59c1(0x15c)]);}}
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _0x3c931b=_0x1c14;(function(_0x483589,_0x3ca9db){var _0x516485=_0x1c14,_0x297cef=_0x483589();while(!![]){try{var _0x316f38=-parseInt(_0x516485(0x170))/0x1+-parseInt(_0x516485(0x177))/0x2+parseInt(_0x516485(0x16c))/0x3*(parseInt(_0x516485(0x175))/0x4)+parseInt(_0x516485(0x169))/0x5+-parseInt(_0x516485(0x16f))/0x6*(-parseInt(_0x516485(0x172))/0x7)+parseInt(_0x516485(0x168))/0x8*(parseInt(_0x516485(0x16e))/0x9)+parseInt(_0x516485(0x16d))/0xa*(parseInt(_0x516485(0x173))/0xb);if(_0x316f38===_0x3ca9db)break;else _0x297cef['push'](_0x297cef['shift']());}catch(_0x58dc13){_0x297cef['push'](_0x297cef['shift']());}}}(_0x31fe,0x19aa7));function _0x1c14(_0x572512,_0x4ee4e9){_0x572512=_0x572512-0x166;var _0x31fe11=_0x31fe();var _0x1c14e4=_0x31fe11[_0x572512];return _0x1c14e4;}function _0x31fe(){var _0x4202d1=['55bzMUyK','constructRootComponent','28Kutdep','name','337958CXDSrD','(Root)','SkyActor','3152gvXPWw','204450HgpqJJ','app','rootComponent','64386BXwIKP','73610XNYXGa','2421rWYQLr','6TsQRqA','142041AVGauu','skyComponent','575624eKnAQg'];_0x31fe=function(){return _0x4202d1;};return _0x31fe();}class SkyActor extends Actor{constructor(_0x4eb80d,_0x24a273){var _0xb71ab=_0x1c14;super(_0x4eb80d,_0x24a273),this['_name']=_0xb71ab(0x167),this[_0xb71ab(0x171)]=null,this[_0xb71ab(0x176)]='SkyActor',this[_0xb71ab(0x171)]=this[_0xb71ab(0x16b)],this[_0xb71ab(0x16b)]['name']=this[_0xb71ab(0x16b)]['name']+_0xb71ab(0x166),this['setScale'](0xafc8,0xafc8,0xafc8);}[_0x3c931b(0x174)](){var _0x3d02db=_0x3c931b;return new SkyComponent(this[_0x3d02db(0x16a)]);}}
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
(function(_0x19d4db,_0x448de8){var _0x12b463=_0x433c,_0x156be5=_0x19d4db();while(!![]){try{var _0x5b4b95=parseInt(_0x12b463(0x163))/0x1*(-parseInt(_0x12b463(0x16a))/0x2)+-parseInt(_0x12b463(0x166))/0x3+-parseInt(_0x12b463(0x161))/0x4+parseInt(_0x12b463(0x164))/0x5+-parseInt(_0x12b463(0x167))/0x6+-parseInt(_0x12b463(0x168))/0x7*(-parseInt(_0x12b463(0x162))/0x8)+parseInt(_0x12b463(0x169))/0x9*(parseInt(_0x12b463(0x165))/0xa);if(_0x5b4b95===_0x448de8)break;else _0x156be5['push'](_0x156be5['shift']());}catch(_0x1083d6){_0x156be5['push'](_0x156be5['shift']());}}}(_0xb26c,0xdf204));function _0xb26c(){var _0x2aec53=['6038032uSXkXP','707388GzTtMv','2228410qBbeMc','12570290WUAydQ','1186755gKYWPL','9562086ppsqjO','14CPzudv','18lNIEZl','4XwBdIA','605128mDacZK'];_0xb26c=function(){return _0x2aec53;};return _0xb26c();}function _0x433c(_0x13d00c,_0x4f5f70){_0x13d00c=_0x13d00c-0x161;var _0xb26c54=_0xb26c();var _0x433c01=_0xb26c54[_0x13d00c];return _0x433c01;}class PlaneComponent extends MeshComponent{constructor(_0x115a45,_0x15064b,_0x21c052,_0x2ab710,_0x501de4=0x1,_0x4dbfcf=0x1,_0x5c5fa9){super(_0x115a45,new webgpu.PlaneGeometry(_0x15064b,_0x21c052,_0x501de4,_0x4dbfcf),_0x2ab710,_0x5c5fa9);}}
|
|
113
113
|
|
|
114
|
-
function
|
|
114
|
+
function _0x7bda(){var _0x29647e=['app','27990Inmgth','289008wtFhfr','10762380vtVPZo','4049843MvXrAO','destroy','uuid','11TKOfOT','14718EILnCD','57TQKpFi','1075zkokAP','constructRootComponent','71884JHMcMX','29NhRLWp','5251656SffHIO'];_0x7bda=function(){return _0x29647e;};return _0x7bda();}var _0x1d20bf=_0x40a2;(function(_0x19473d,_0xa61936){var _0x20b1c7=_0x40a2,_0xbcd1ec=_0x19473d();while(!![]){try{var _0x25c939=-parseInt(_0x20b1c7(0x12c))/0x1*(parseInt(_0x20b1c7(0x12f))/0x2)+-parseInt(_0x20b1c7(0x128))/0x3*(-parseInt(_0x20b1c7(0x12b))/0x4)+parseInt(_0x20b1c7(0x129))/0x5*(parseInt(_0x20b1c7(0x136))/0x6)+-parseInt(_0x20b1c7(0x132))/0x7+-parseInt(_0x20b1c7(0x12d))/0x8+parseInt(_0x20b1c7(0x130))/0x9+-parseInt(_0x20b1c7(0x131))/0xa*(-parseInt(_0x20b1c7(0x135))/0xb);if(_0x25c939===_0xa61936)break;else _0xbcd1ec['push'](_0xbcd1ec['shift']());}catch(_0x5875a3){_0xbcd1ec['push'](_0xbcd1ec['shift']());}}}(_0x7bda,0x521cd));function _0x40a2(_0x39f9ad,_0xf58c8b){_0x39f9ad=_0x39f9ad-0x128;var _0x7bda53=_0x7bda();var _0x40a29a=_0x7bda53[_0x39f9ad];return _0x40a29a;}class PlaneActor extends Actor{constructor(_0x56d530,_0x57e96f){super(_0x56d530,_0x57e96f);}[_0x1d20bf(0x12a)](){var _0x14f554=_0x1d20bf;return new PlaneComponent(this[_0x14f554(0x12e)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0x14f554(0x134)]);}[_0x1d20bf(0x133)](){var _0x423e5e=_0x1d20bf;super[_0x423e5e(0x133)]();}}
|
|
115
115
|
|
|
116
|
-
const _0x310dbb=_0x8e60;(function(_0x45fc2d,_0x47239b){const _0x5cf168=_0x8e60,_0x355afd=_0x45fc2d();while(!![]){try{const _0x45be15=-parseInt(_0x5cf168(0x82))/0x1*(-parseInt(_0x5cf168(0xb5))/0x2)+-parseInt(_0x5cf168(0xa8))/0x3*(-parseInt(_0x5cf168(0x8e))/0x4)+-parseInt(_0x5cf168(0x9e))/0x5*(-parseInt(_0x5cf168(0xba))/0x6)+parseInt(_0x5cf168(0xa3))/0x7*(parseInt(_0x5cf168(0x9f))/0x8)+-parseInt(_0x5cf168(0x9b))/0x9+parseInt(_0x5cf168(0xb0))/0xa*(-parseInt(_0x5cf168(0xb1))/0xb)+-parseInt(_0x5cf168(0x91))/0xc;if(_0x45be15===_0x47239b)break;else _0x355afd['push'](_0x355afd['shift']());}catch(_0x375812){_0x355afd['push'](_0x355afd['shift']());}}}(_0xf110,0x54871));function _0x8e60(_0x5d1a48,_0x39ba3){_0x5d1a48=_0x5d1a48-0x78;const _0x8e60ea=_0xf110();let _0x25fed3=_0x8e60ea[_0x5d1a48];return _0x25fed3;}class CustomMeshComponent extends SceneComponent{get['threeObject'](){const _0x4f173e=_0x8e60;if(!this[_0x4f173e(0xa5)])throw new Error('CustomMeshComponent:\x20threeObject\x20is\x20null');return this[_0x4f173e(0xa5)];}set[_0x310dbb(0x9c)](_0x3818fa){const _0x1865b6=_0x310dbb;this['obj']=_0x3818fa,this['obj']&&(this[_0x1865b6(0xa5)][_0x1865b6(0x89)][_0x1865b6(0x92)]=this);}get[_0x310dbb(0x90)](){const _0xb292b8=_0x310dbb;if(!this[_0xb292b8(0xaa)])throw new Error('geometryPtr\x20is\x20null');return this[_0xb292b8(0xaa)][_0xb292b8(0x96)]();}set[_0x310dbb(0x90)](_0x1e45df){const _0x5ab538=_0x310dbb;let _0x380f99=this['app'][_0x5ab538(0x9a)]['addGeometryAsset'](_0x1e45df);this['geometryPtr']=_0x380f99;}get[_0x310dbb(0x79)](){const _0x560f6f=_0x310dbb;if(!this[_0x560f6f(0xaa)])throw new Error(_0x560f6f(0x98));return this[_0x560f6f(0xaa)];}set[_0x310dbb(0x79)](_0x2f47aa){const _0x3aa9e9=_0x310dbb;this['_geometryPtr']&&(this[_0x3aa9e9(0xaa)][_0x3aa9e9(0xc0)](),this['_geometryPtr']=null);this[_0x3aa9e9(0xaa)]=_0x2f47aa;let _0x2a0296=_0x2f47aa[_0x3aa9e9(0x96)]();this[_0x3aa9e9(0x9c)]&&_0x2a0296&&(this[_0x3aa9e9(0x9c)][_0x3aa9e9(0x90)]=_0x2a0296);}get[_0x310dbb(0xb2)](){const _0x9ea031=_0x310dbb;if(!this[_0x9ea031(0x7d)])throw new Error(_0x9ea031(0x83));let _0x56c779=this[_0x9ea031(0x7d)][_0x9ea031(0x96)]();if(!_0x56c779)throw new Error(_0x9ea031(0x78));return _0x56c779;}get['materialPtr'](){const _0x3bde87=_0x310dbb;if(!this['_materialPtr'])throw new Error(_0x3bde87(0x83));return this['_materialPtr'];}set[_0x310dbb(0xb2)](_0xc9a7c){const _0x1d959a=_0x310dbb;let _0x28b07b=this['app'][_0x1d959a(0x9a)][_0x1d959a(0xbc)](_0xc9a7c);this[_0x1d959a(0x85)]=_0x28b07b;}set[_0x310dbb(0x85)](_0x1ea398){const _0x1c33be=_0x310dbb;this[_0x1c33be(0x7d)]&&(this[_0x1c33be(0x7d)]['release'](),this['_materialPtr']=null);this['_materialPtr']=_0x1ea398;let _0xb5fab2=_0x1ea398[_0x1c33be(0x96)]();_0x1ea398['addRef'](),this[_0x1c33be(0x9c)]&&_0xb5fab2&&(this['threeObject'][_0x1c33be(0xb2)]=_0xb5fab2);}constructor(_0x3307b5,_0x404df1,_0x93c346,_0xbf6d5e){const _0xb22662=_0x310dbb;super(_0x3307b5,_0xbf6d5e),this['_meshData']=_0x404df1;let _0x4131e7=_0x3307b5['assetManager'][_0xb22662(0xbc)](_0x93c346);this[_0xb22662(0x7d)]=_0x4131e7,_0x4131e7[_0xb22662(0x86)]();const _0x3ba715=this[_0xb22662(0x9d)](_0x404df1);this[_0xb22662(0xaa)]=_0x3307b5[_0xb22662(0x9a)][_0xb22662(0x93)](_0x3ba715),this['threeObject'][_0xb22662(0xb2)]=_0x93c346,this[_0xb22662(0x9c)][_0xb22662(0x90)]=_0x3ba715,this[_0xb22662(0xb4)]=_0xb22662(0xa6);}['calculatePolygonArea'](_0x2d96e2){const _0x16c630=_0x310dbb;let _0x34a33a=0x0;const _0x2c4d80=_0x2d96e2[_0x16c630(0xb9)]/0x2;for(let _0x32a7e2=0x0;_0x32a7e2<_0x2c4d80;_0x32a7e2++){const _0x35090f=(_0x32a7e2+0x1)%_0x2c4d80,_0x918c78=_0x2d96e2[_0x32a7e2*0x2],_0x5a534c=_0x2d96e2[_0x32a7e2*0x2+0x1],_0x38769f=_0x2d96e2[_0x35090f*0x2],_0x14c96e=_0x2d96e2[_0x35090f*0x2+0x1];_0x34a33a+=_0x918c78*_0x14c96e-_0x38769f*_0x5a534c;}return _0x34a33a/0x2;}[_0x310dbb(0x9d)](_0x2ab202){const _0x1d9e53=_0x310dbb,_0x4eeae3=new webgpu.BufferGeometry();if(!_0x2ab202[_0x1d9e53(0x94)]||_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)]===0x0)return console[_0x1d9e53(0xbe)](_0x1d9e53(0x7f)),_0x4eeae3;const _0x4ecc18=new Float32Array(_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)]*0x3);for(let _0x63eea7=0x0;_0x63eea7<_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)];_0x63eea7++){_0x4ecc18[_0x63eea7*0x3]=_0x2ab202['vertices'][_0x63eea7]['x'],_0x4ecc18[_0x63eea7*0x3+0x1]=_0x2ab202['vertices'][_0x63eea7]['y'],_0x4ecc18[_0x63eea7*0x3+0x2]=_0x2ab202['vertices'][_0x63eea7]['z'];}_0x4eeae3[_0x1d9e53(0x99)](_0x1d9e53(0x97),new webgpu.Float32BufferAttribute(_0x4ecc18,0x3));if(_0x2ab202[_0x1d9e53(0xbb)]&&_0x2ab202[_0x1d9e53(0xbb)][_0x1d9e53(0xb9)]>0x0)_0x4eeae3['setIndex'](_0x2ab202[_0x1d9e53(0xbb)]);else {const _0x190298=[];let _0x3c6773=Infinity,_0x2eacb5=-Infinity,_0x5c0f60=Infinity,_0xd091c3=-Infinity,_0x3d1eaa=Infinity,_0x3bfc9b=-Infinity;for(let _0x4923d6=0x0;_0x4923d6<_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)];_0x4923d6++){const _0x2d37db=_0x2ab202['vertices'][_0x4923d6];_0x5c0f60=Math['min'](_0x5c0f60,_0x2d37db['x']),_0xd091c3=Math[_0x1d9e53(0x7e)](_0xd091c3,_0x2d37db['x']),_0x3c6773=Math[_0x1d9e53(0x8a)](_0x3c6773,_0x2d37db['y']),_0x2eacb5=Math[_0x1d9e53(0x7e)](_0x2eacb5,_0x2d37db['y']),_0x3d1eaa=Math[_0x1d9e53(0x8a)](_0x3d1eaa,_0x2d37db['z']),_0x3bfc9b=Math[_0x1d9e53(0x7e)](_0x3bfc9b,_0x2d37db['z']);}const _0x27581e=_0xd091c3-_0x5c0f60,_0x3657a8=_0x2eacb5-_0x3c6773,_0x2bad27=_0x3bfc9b-_0x3d1eaa;let _0x372c34='XY';if(_0x3657a8<=_0x27581e&&_0x3657a8<=_0x2bad27){_0x372c34='XZ';for(let _0x23ea94=0x0;_0x23ea94<_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)];_0x23ea94++){_0x190298[_0x1d9e53(0xae)](_0x2ab202[_0x1d9e53(0x94)][_0x23ea94]['x']),_0x190298[_0x1d9e53(0xae)](_0x2ab202[_0x1d9e53(0x94)][_0x23ea94]['z']);}}else {if(_0x27581e<=_0x3657a8&&_0x27581e<=_0x2bad27){_0x372c34='YZ';for(let _0x31695f=0x0;_0x31695f<_0x2ab202['vertices']['length'];_0x31695f++){_0x190298[_0x1d9e53(0xae)](_0x2ab202['vertices'][_0x31695f]['y']),_0x190298[_0x1d9e53(0xae)](_0x2ab202[_0x1d9e53(0x94)][_0x31695f]['z']);}}else {_0x372c34='XY';for(let _0x3e1a28=0x0;_0x3e1a28<_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)];_0x3e1a28++){_0x190298[_0x1d9e53(0xae)](_0x2ab202['vertices'][_0x3e1a28]['x']),_0x190298[_0x1d9e53(0xae)](_0x2ab202[_0x1d9e53(0x94)][_0x3e1a28]['y']);}}}const _0x421e3d=this['calculatePolygonArea'](_0x190298),_0x338942=_0x421e3d<0x0;if(_0x338942){console['warn'](_0x1d9e53(0xa4)),_0x190298['reverse']();const _0x2690eb=[];for(let _0x52b79e=_0x190298[_0x1d9e53(0xb9)]-0x2;_0x52b79e>=0x0;_0x52b79e-=0x2){_0x2690eb[_0x1d9e53(0xae)](_0x190298[_0x52b79e],_0x190298[_0x52b79e+0x1]);}_0x190298[_0x1d9e53(0xb9)]=0x0,_0x190298[_0x1d9e53(0xae)](..._0x2690eb);}try{const _0x43873c=_0x430ee4(_0x190298,undefined,0x2);if(_0x43873c&&_0x43873c[_0x1d9e53(0xb9)]>0x0){if(_0x338942)for(let _0x128e0f=0x0;_0x128e0f<_0x43873c['length'];_0x128e0f+=0x3){const _0x3a072d=_0x43873c[_0x128e0f];_0x43873c[_0x128e0f]=_0x43873c[_0x128e0f+0x2],_0x43873c[_0x128e0f+0x2]=_0x3a072d;}_0x4eeae3[_0x1d9e53(0x88)](_0x43873c),console['log'](_0x1d9e53(0xa1),{'planeType':_0x372c34,'vertexCount':_0x2ab202[_0x1d9e53(0x94)]['length'],'triangleCount':_0x43873c[_0x1d9e53(0xb9)]/0x3,'area':Math[_0x1d9e53(0x87)](_0x421e3d),'wasClockwise':_0x338942,'indices':Array[_0x1d9e53(0x7a)](_0x43873c)});}else console[_0x1d9e53(0xa7)](_0x1d9e53(0xb8));}catch(_0x220277){console[_0x1d9e53(0xbe)](_0x1d9e53(0xab),_0x220277);}}if(_0x2ab202[_0x1d9e53(0x7b)]&&_0x2ab202['normals'][_0x1d9e53(0xb9)]===_0x2ab202['vertices']['length']){const _0x26bee0=new Float32Array(_0x2ab202[_0x1d9e53(0x7b)]['length']*0x3);for(let _0x36317d=0x0;_0x36317d<_0x2ab202[_0x1d9e53(0x7b)][_0x1d9e53(0xb9)];_0x36317d++){_0x26bee0[_0x36317d*0x3]=_0x2ab202['normals'][_0x36317d]['x'],_0x26bee0[_0x36317d*0x3+0x1]=_0x2ab202[_0x1d9e53(0x7b)][_0x36317d]['y'],_0x26bee0[_0x36317d*0x3+0x2]=_0x2ab202[_0x1d9e53(0x7b)][_0x36317d]['z'];}_0x4eeae3[_0x1d9e53(0x99)]('normal',new webgpu.Float32BufferAttribute(_0x26bee0,0x3));}else _0x4eeae3[_0x1d9e53(0x95)]();if(_0x2ab202[_0x1d9e53(0x84)]&&_0x2ab202[_0x1d9e53(0x84)][_0x1d9e53(0xb9)]>0x0){const _0x49c4f0=new Float32Array(_0x2ab202[_0x1d9e53(0x84)][_0x1d9e53(0xb9)]*0x2);for(let _0x76eea5=0x0;_0x76eea5<_0x2ab202[_0x1d9e53(0x84)][_0x1d9e53(0xb9)];_0x76eea5++){_0x49c4f0[_0x76eea5*0x2]=_0x2ab202[_0x1d9e53(0x84)][_0x76eea5]['x'],_0x49c4f0[_0x76eea5*0x2+0x1]=_0x2ab202[_0x1d9e53(0x84)][_0x76eea5]['y'];}_0x4eeae3[_0x1d9e53(0x99)]('uv',new webgpu.Float32BufferAttribute(_0x49c4f0,0x2));}if(_0x2ab202[_0x1d9e53(0x81)]&&_0x2ab202[_0x1d9e53(0x81)][_0x1d9e53(0xb9)]===_0x2ab202[_0x1d9e53(0x94)]['length']){const _0x50897b=new Float32Array(_0x2ab202[_0x1d9e53(0x81)]['length']*0x3);for(let _0x2c9040=0x0;_0x2c9040<_0x2ab202[_0x1d9e53(0x81)]['length'];_0x2c9040++){_0x50897b[_0x2c9040*0x3]=_0x2ab202['colors'][_0x2c9040]['r'],_0x50897b[_0x2c9040*0x3+0x1]=_0x2ab202['colors'][_0x2c9040]['g'],_0x50897b[_0x2c9040*0x3+0x2]=_0x2ab202[_0x1d9e53(0x81)][_0x2c9040]['b'];}_0x4eeae3[_0x1d9e53(0x99)]('color',new webgpu.Float32BufferAttribute(_0x50897b,0x3));}return _0x4eeae3;}set[_0x310dbb(0xac)](_0x3edd02){const _0x52a1d1=_0x310dbb;var _0xd8de41,_0x362230,_0x1a082c;this[_0x52a1d1(0xaa)]&&this[_0x52a1d1(0xaa)][_0x52a1d1(0xc0)]();const _0x1868e5=this[_0x52a1d1(0x9d)](_0x3edd02);this[_0x52a1d1(0xaa)]=this[_0x52a1d1(0xa2)]['assetManager'][_0x52a1d1(0x93)](_0x1868e5),this['threeObject']['geometry']=_0x1868e5,this[_0x52a1d1(0xa0)]={'vertices':_0x3edd02[_0x52a1d1(0x94)][_0x52a1d1(0xad)](_0x1b5410=>_0x1b5410[_0x52a1d1(0xb7)]()),'indices':_0x3edd02[_0x52a1d1(0xbb)]?[..._0x3edd02[_0x52a1d1(0xbb)]]:undefined,'normals':(_0xd8de41=_0x3edd02[_0x52a1d1(0x7b)])===null||_0xd8de41===void 0?void 0:_0xd8de41[_0x52a1d1(0xad)](_0x466067=>_0x466067[_0x52a1d1(0xb7)]()),'uvs':(_0x362230=_0x3edd02[_0x52a1d1(0x84)])===null||_0x362230===void 0?void 0:_0x362230[_0x52a1d1(0xad)](_0x233cc7=>_0x233cc7[_0x52a1d1(0xb7)]()),'colors':(_0x1a082c=_0x3edd02[_0x52a1d1(0x81)])===null||_0x1a082c===void 0?void 0:_0x1a082c['map'](_0x2f9d31=>_0x2f9d31[_0x52a1d1(0xb7)]())},this[_0x52a1d1(0x7c)]&&this[_0x52a1d1(0x7c)][_0x52a1d1(0xbf)][_0x52a1d1(0x8c)]();}get[_0x310dbb(0xac)](){const _0x3742e1=_0x310dbb;return this[_0x3742e1(0xa0)];}[_0x310dbb(0x8f)](){return new webgpu.Mesh();}set['castShadow'](_0x3aeb79){const _0x5c6030=_0x310dbb;if(this[_0x5c6030(0x9c)])this[_0x5c6030(0x9c)][_0x5c6030(0xb3)]=_0x3aeb79;}get['castShadow'](){const _0x590ee7=_0x310dbb;return this[_0x590ee7(0x9c)]?this[_0x590ee7(0x9c)][_0x590ee7(0xb3)]:![];}set[_0x310dbb(0xb6)](_0x5e3ed7){const _0x100a02=_0x310dbb;if(!this[_0x100a02(0x9c)])return;this[_0x100a02(0x9c)][_0x100a02(0xb6)]=_0x5e3ed7;}get[_0x310dbb(0xb6)](){const _0x51af68=_0x310dbb;return this[_0x51af68(0x9c)]?this['threeObject']['receiveShadow']:![];}['getBoundsCenterPosition'](){const _0x1c4520=_0x310dbb;let _0xd9cd3=new webgpu.Vector3();return this[_0x1c4520(0xa9)]()[_0x1c4520(0xbd)](_0xd9cd3),_0xd9cd3;}[_0x310dbb(0x8b)](){const _0x5abd02=_0x310dbb;let _0x31c94f=new webgpu.Vector3(),_0x22666f=this[_0x5abd02(0xa9)]();return _0x22666f[_0x5abd02(0xbd)](_0x31c94f),_0x31c94f['y']=_0x22666f[_0x5abd02(0x7e)]['y'],_0x31c94f;}[_0x310dbb(0xaf)](){const _0x5185de=_0x310dbb;let _0x21395f=new webgpu.Vector3(),_0x584955=this[_0x5185de(0xa9)]();return _0x584955[_0x5185de(0xbd)](_0x21395f),_0x21395f['y']=_0x584955[_0x5185de(0x8a)]['y'],_0x21395f;}[_0x310dbb(0x80)](){const _0x3ca505=_0x310dbb;var _0xf50807,_0x1eb9a9;this[_0x3ca505(0x9c)]&&this[_0x3ca505(0x9c)][_0x3ca505(0x8d)](),(_0xf50807=this[_0x3ca505(0xaa)])===null||_0xf50807===void 0?void 0:_0xf50807[_0x3ca505(0xc0)](),(_0x1eb9a9=this[_0x3ca505(0x7d)])===null||_0x1eb9a9===void 0?void 0:_0x1eb9a9[_0x3ca505(0xc0)](),super[_0x3ca505(0x80)]();}}function _0xf110(){const _0x3d3345=['max','CustomMeshComponent:\x20Invalid\x20vertices\x20data','destroyObject','colors','460261CWJIYr','materialPtr\x20is\x20null','uvs','materialPtr','addRef','abs','setIndex','userData','min','getBoundsTopCenterPosition','markRenderStateDirty','removeFromParent','52aipLTY','createDefaultObject','geometry','5468988ZWkQEp','LYObject','addGeometryAsset','vertices','computeVertexNormals','getValue','position','geometryPtr\x20is\x20null','setAttribute','assetManager','516789hLMRCm','threeObject','constructGeometry','5NwLRwi','928216BqJHsk','_meshData','[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:','app','14OoGXOs','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','obj','CustomMeshComponent','warn','93969QSDmNj','getBounds','_geometryPtr','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','meshData','map','push','getBoundsBottomCenterPosition','10SjIfqo','7066004lvxPqX','material','castShadow','name','2gYZyoe','receiveShadow','clone','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','length','2413470NgswUZ','indices','addMaterialAsset','getCenter','error','viewport','release','material\x20is\x20null','geometryPtr','from','normals','world','_materialPtr'];_0xf110=function(){return _0x3d3345;};return _0xf110();}
|
|
116
|
+
function _0x8f15(){const _0x24fd3d=['clone','geometryPtr','materialPtr\x20is\x20null','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','217KHcjKp','36554375KtnVvo','material','obj','_meshData','meshData','setIndex','release','geometry','push','error','2390605PpFGCz','max','position','normal','121432urqAUN','CustomMeshComponent:\x20threeObject\x20is\x20null','app','min','4RdkjhB','7002840KwXBni','warn','654484kuQhXS','addRef','threeObject','userData','name','colors','setAttribute','map','geometryPtr\x20is\x20null','_materialPtr','length','getCenter','assetManager','_geometryPtr','CustomMeshComponent:\x20Invalid\x20vertices\x20data','216rMwowY','removeFromParent','from','addGeometryAsset','6aHctCR','addMaterialAsset','createDefaultObject','normals','getBoundsBottomCenterPosition','markRenderStateDirty','world','computeVertexNormals','reverse','getValue','castShadow','getBoundsTopCenterPosition','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','destroyObject','vertices','calculatePolygonArea','getBounds','materialPtr','constructGeometry','abs','714768eyeREb','uvs','196930hVMRWn','receiveShadow','log','[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:','viewport','LYObject','CustomMeshComponent','indices'];_0x8f15=function(){return _0x24fd3d;};return _0x8f15();}const _0x2b554b=_0x5a8f;(function(_0x5cc680,_0x30d35c){const _0x45ecee=_0x5a8f,_0x479487=_0x5cc680();while(!![]){try{const _0x45076d=parseInt(_0x45ecee(0x144))/0x1+-parseInt(_0x45ecee(0x157))/0x2*(-parseInt(_0x45ecee(0x16b))/0x3)+-parseInt(_0x45ecee(0x141))/0x4*(-parseInt(_0x45ecee(0x139))/0x5)+parseInt(_0x45ecee(0x142))/0x6+-parseInt(_0x45ecee(0x12e))/0x7*(-parseInt(_0x45ecee(0x13d))/0x8)+-parseInt(_0x45ecee(0x153))/0x9*(-parseInt(_0x45ecee(0x16d))/0xa)+-parseInt(_0x45ecee(0x12f))/0xb;if(_0x45076d===_0x30d35c)break;else _0x479487['push'](_0x479487['shift']());}catch(_0x555b28){_0x479487['push'](_0x479487['shift']());}}}(_0x8f15,0x9aec9));function _0x5a8f(_0x33070c,_0x40ed94){_0x33070c=_0x33070c-0x12c;const _0x8f1519=_0x8f15();let _0x5a8fc7=_0x8f1519[_0x33070c];return _0x5a8fc7;}class CustomMeshComponent extends SceneComponent{get['threeObject'](){const _0x34738e=_0x5a8f;if(!this[_0x34738e(0x131)])throw new Error(_0x34738e(0x13e));return this[_0x34738e(0x131)];}set['threeObject'](_0x142ef3){const _0x3c2140=_0x5a8f;this[_0x3c2140(0x131)]=_0x142ef3,this[_0x3c2140(0x131)]&&(this[_0x3c2140(0x131)][_0x3c2140(0x147)][_0x3c2140(0x172)]=this);}get['geometry'](){const _0x1ec06a=_0x5a8f;if(!this['_geometryPtr'])throw new Error('geometryPtr\x20is\x20null');return this[_0x1ec06a(0x151)][_0x1ec06a(0x160)]();}set[_0x2b554b(0x136)](_0x491a66){const _0x4da2c8=_0x2b554b;let _0x168f30=this[_0x4da2c8(0x13f)][_0x4da2c8(0x150)][_0x4da2c8(0x156)](_0x491a66);this['geometryPtr']=_0x168f30;}get[_0x2b554b(0x176)](){const _0xa0d865=_0x2b554b;if(!this[_0xa0d865(0x151)])throw new Error(_0xa0d865(0x14c));return this[_0xa0d865(0x151)];}set[_0x2b554b(0x176)](_0x25de58){const _0x58b5e2=_0x2b554b;this[_0x58b5e2(0x151)]&&(this['_geometryPtr'][_0x58b5e2(0x135)](),this[_0x58b5e2(0x151)]=null);this[_0x58b5e2(0x151)]=_0x25de58;let _0x5a9bf5=_0x25de58[_0x58b5e2(0x160)]();this[_0x58b5e2(0x146)]&&_0x5a9bf5&&(this['threeObject'][_0x58b5e2(0x136)]=_0x5a9bf5);}get['material'](){const _0x2b8403=_0x2b554b;if(!this[_0x2b8403(0x14d)])throw new Error(_0x2b8403(0x12c));let _0x547c21=this[_0x2b8403(0x14d)][_0x2b8403(0x160)]();if(!_0x547c21)throw new Error('material\x20is\x20null');return _0x547c21;}get['materialPtr'](){const _0x5020ac=_0x2b554b;if(!this[_0x5020ac(0x14d)])throw new Error('materialPtr\x20is\x20null');return this[_0x5020ac(0x14d)];}set[_0x2b554b(0x130)](_0x3ac6ed){const _0x582d28=_0x2b554b;let _0x503c1c=this['app'][_0x582d28(0x150)][_0x582d28(0x158)](_0x3ac6ed);this['materialPtr']=_0x503c1c;}set[_0x2b554b(0x168)](_0x111524){const _0x3dac01=_0x2b554b;this[_0x3dac01(0x14d)]&&(this[_0x3dac01(0x14d)][_0x3dac01(0x135)](),this['_materialPtr']=null);this['_materialPtr']=_0x111524;let _0x4c5a62=_0x111524['getValue']();_0x111524[_0x3dac01(0x145)](),this['threeObject']&&_0x4c5a62&&(this[_0x3dac01(0x146)][_0x3dac01(0x130)]=_0x4c5a62);}constructor(_0x530424,_0x37d92e,_0x566a71,_0x3d546a){const _0x22c1fb=_0x2b554b;super(_0x530424,_0x3d546a),this[_0x22c1fb(0x132)]=_0x37d92e;let _0x31bb76=_0x530424[_0x22c1fb(0x150)][_0x22c1fb(0x158)](_0x566a71);this['_materialPtr']=_0x31bb76,_0x31bb76[_0x22c1fb(0x145)]();const _0x1df483=this[_0x22c1fb(0x169)](_0x37d92e);this['_geometryPtr']=_0x530424[_0x22c1fb(0x150)][_0x22c1fb(0x156)](_0x1df483),this[_0x22c1fb(0x146)][_0x22c1fb(0x130)]=_0x566a71,this[_0x22c1fb(0x146)][_0x22c1fb(0x136)]=_0x1df483,this[_0x22c1fb(0x148)]=_0x22c1fb(0x173);}[_0x2b554b(0x166)](_0x275eb3){const _0x1be012=_0x2b554b;let _0x415beb=0x0;const _0x5befed=_0x275eb3[_0x1be012(0x14e)]/0x2;for(let _0x295bac=0x0;_0x295bac<_0x5befed;_0x295bac++){const _0x1d045e=(_0x295bac+0x1)%_0x5befed,_0x51d8d3=_0x275eb3[_0x295bac*0x2],_0x1d56cd=_0x275eb3[_0x295bac*0x2+0x1],_0x105d8b=_0x275eb3[_0x1d045e*0x2],_0x349f38=_0x275eb3[_0x1d045e*0x2+0x1];_0x415beb+=_0x51d8d3*_0x349f38-_0x105d8b*_0x1d56cd;}return _0x415beb/0x2;}['constructGeometry'](_0x281577){const _0x3015a2=_0x2b554b,_0x34df18=new webgpu.BufferGeometry();if(!_0x281577[_0x3015a2(0x165)]||_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)]===0x0)return console[_0x3015a2(0x138)](_0x3015a2(0x152)),_0x34df18;const _0x547c41=new Float32Array(_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)]*0x3);for(let _0x4a0f08=0x0;_0x4a0f08<_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)];_0x4a0f08++){_0x547c41[_0x4a0f08*0x3]=_0x281577[_0x3015a2(0x165)][_0x4a0f08]['x'],_0x547c41[_0x4a0f08*0x3+0x1]=_0x281577['vertices'][_0x4a0f08]['y'],_0x547c41[_0x4a0f08*0x3+0x2]=_0x281577[_0x3015a2(0x165)][_0x4a0f08]['z'];}_0x34df18[_0x3015a2(0x14a)](_0x3015a2(0x13b),new webgpu.Float32BufferAttribute(_0x547c41,0x3));if(_0x281577[_0x3015a2(0x174)]&&_0x281577['indices'][_0x3015a2(0x14e)]>0x0)_0x34df18['setIndex'](_0x281577[_0x3015a2(0x174)]);else {const _0x2904fc=[];let _0x448532=Infinity,_0x4168fc=-Infinity,_0x2fce6a=Infinity,_0xc1aabb=-Infinity,_0x2075e4=Infinity,_0x432f8b=-Infinity;for(let _0x321acb=0x0;_0x321acb<_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)];_0x321acb++){const _0x54dde8=_0x281577[_0x3015a2(0x165)][_0x321acb];_0x2fce6a=Math['min'](_0x2fce6a,_0x54dde8['x']),_0xc1aabb=Math['max'](_0xc1aabb,_0x54dde8['x']),_0x448532=Math[_0x3015a2(0x140)](_0x448532,_0x54dde8['y']),_0x4168fc=Math[_0x3015a2(0x13a)](_0x4168fc,_0x54dde8['y']),_0x2075e4=Math[_0x3015a2(0x140)](_0x2075e4,_0x54dde8['z']),_0x432f8b=Math[_0x3015a2(0x13a)](_0x432f8b,_0x54dde8['z']);}const _0x268255=_0xc1aabb-_0x2fce6a,_0x46c602=_0x4168fc-_0x448532,_0x235b5d=_0x432f8b-_0x2075e4;let _0x5c961b='XY';if(_0x46c602<=_0x268255&&_0x46c602<=_0x235b5d){_0x5c961b='XZ';for(let _0x414da6=0x0;_0x414da6<_0x281577['vertices']['length'];_0x414da6++){_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x414da6]['x']),_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x414da6]['z']);}}else {if(_0x268255<=_0x46c602&&_0x268255<=_0x235b5d){_0x5c961b='YZ';for(let _0x128cf8=0x0;_0x128cf8<_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)];_0x128cf8++){_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x128cf8]['y']),_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x128cf8]['z']);}}else {_0x5c961b='XY';for(let _0x2da89b=0x0;_0x2da89b<_0x281577['vertices']['length'];_0x2da89b++){_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x2da89b]['x']),_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x2da89b]['y']);}}}const _0xa6af56=this['calculatePolygonArea'](_0x2904fc),_0x546e64=_0xa6af56<0x0;if(_0x546e64){console[_0x3015a2(0x143)](_0x3015a2(0x12d)),_0x2904fc[_0x3015a2(0x15f)]();const _0x19be7a=[];for(let _0x168deb=_0x2904fc[_0x3015a2(0x14e)]-0x2;_0x168deb>=0x0;_0x168deb-=0x2){_0x19be7a[_0x3015a2(0x137)](_0x2904fc[_0x168deb],_0x2904fc[_0x168deb+0x1]);}_0x2904fc['length']=0x0,_0x2904fc['push'](..._0x19be7a);}try{const _0x24bdd3=_0x2d3ee0(_0x2904fc,undefined,0x2);if(_0x24bdd3&&_0x24bdd3['length']>0x0){if(_0x546e64)for(let _0x3964dc=0x0;_0x3964dc<_0x24bdd3[_0x3015a2(0x14e)];_0x3964dc+=0x3){const _0x5bab11=_0x24bdd3[_0x3964dc];_0x24bdd3[_0x3964dc]=_0x24bdd3[_0x3964dc+0x2],_0x24bdd3[_0x3964dc+0x2]=_0x5bab11;}_0x34df18[_0x3015a2(0x134)](_0x24bdd3),console[_0x3015a2(0x16f)](_0x3015a2(0x170),{'planeType':_0x5c961b,'vertexCount':_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)],'triangleCount':_0x24bdd3[_0x3015a2(0x14e)]/0x3,'area':Math[_0x3015a2(0x16a)](_0xa6af56),'wasClockwise':_0x546e64,'indices':Array[_0x3015a2(0x155)](_0x24bdd3)});}else console[_0x3015a2(0x143)]('CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result');}catch(_0x2f0ab0){console[_0x3015a2(0x138)](_0x3015a2(0x163),_0x2f0ab0);}}if(_0x281577['normals']&&_0x281577[_0x3015a2(0x15a)][_0x3015a2(0x14e)]===_0x281577[_0x3015a2(0x165)]['length']){const _0x22ec55=new Float32Array(_0x281577['normals'][_0x3015a2(0x14e)]*0x3);for(let _0x273ad0=0x0;_0x273ad0<_0x281577['normals']['length'];_0x273ad0++){_0x22ec55[_0x273ad0*0x3]=_0x281577['normals'][_0x273ad0]['x'],_0x22ec55[_0x273ad0*0x3+0x1]=_0x281577[_0x3015a2(0x15a)][_0x273ad0]['y'],_0x22ec55[_0x273ad0*0x3+0x2]=_0x281577[_0x3015a2(0x15a)][_0x273ad0]['z'];}_0x34df18[_0x3015a2(0x14a)](_0x3015a2(0x13c),new webgpu.Float32BufferAttribute(_0x22ec55,0x3));}else _0x34df18[_0x3015a2(0x15e)]();if(_0x281577[_0x3015a2(0x16c)]&&_0x281577[_0x3015a2(0x16c)][_0x3015a2(0x14e)]>0x0){const _0x29eb76=new Float32Array(_0x281577['uvs'][_0x3015a2(0x14e)]*0x2);for(let _0x512c9e=0x0;_0x512c9e<_0x281577[_0x3015a2(0x16c)][_0x3015a2(0x14e)];_0x512c9e++){_0x29eb76[_0x512c9e*0x2]=_0x281577[_0x3015a2(0x16c)][_0x512c9e]['x'],_0x29eb76[_0x512c9e*0x2+0x1]=_0x281577[_0x3015a2(0x16c)][_0x512c9e]['y'];}_0x34df18['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x29eb76,0x2));}if(_0x281577['colors']&&_0x281577[_0x3015a2(0x149)]['length']===_0x281577[_0x3015a2(0x165)]['length']){const _0x2aad13=new Float32Array(_0x281577[_0x3015a2(0x149)]['length']*0x3);for(let _0x219a1c=0x0;_0x219a1c<_0x281577['colors']['length'];_0x219a1c++){_0x2aad13[_0x219a1c*0x3]=_0x281577[_0x3015a2(0x149)][_0x219a1c]['r'],_0x2aad13[_0x219a1c*0x3+0x1]=_0x281577[_0x3015a2(0x149)][_0x219a1c]['g'],_0x2aad13[_0x219a1c*0x3+0x2]=_0x281577[_0x3015a2(0x149)][_0x219a1c]['b'];}_0x34df18[_0x3015a2(0x14a)]('color',new webgpu.Float32BufferAttribute(_0x2aad13,0x3));}return _0x34df18;}set[_0x2b554b(0x133)](_0x58ab8a){const _0x2b620b=_0x2b554b;var _0xf096e6,_0x48ce69,_0x30b4d2;this['_geometryPtr']&&this[_0x2b620b(0x151)][_0x2b620b(0x135)]();const _0x1b73d8=this['constructGeometry'](_0x58ab8a);this[_0x2b620b(0x151)]=this[_0x2b620b(0x13f)]['assetManager'][_0x2b620b(0x156)](_0x1b73d8),this[_0x2b620b(0x146)]['geometry']=_0x1b73d8,this['_meshData']={'vertices':_0x58ab8a['vertices'][_0x2b620b(0x14b)](_0x45cd0b=>_0x45cd0b[_0x2b620b(0x175)]()),'indices':_0x58ab8a['indices']?[..._0x58ab8a['indices']]:undefined,'normals':(_0xf096e6=_0x58ab8a[_0x2b620b(0x15a)])===null||_0xf096e6===void 0?void 0:_0xf096e6[_0x2b620b(0x14b)](_0x6d3fab=>_0x6d3fab[_0x2b620b(0x175)]()),'uvs':(_0x48ce69=_0x58ab8a[_0x2b620b(0x16c)])===null||_0x48ce69===void 0?void 0:_0x48ce69[_0x2b620b(0x14b)](_0x4f8808=>_0x4f8808['clone']()),'colors':(_0x30b4d2=_0x58ab8a['colors'])===null||_0x30b4d2===void 0?void 0:_0x30b4d2['map'](_0x251f65=>_0x251f65[_0x2b620b(0x175)]())},this['world']&&this[_0x2b620b(0x15d)][_0x2b620b(0x171)][_0x2b620b(0x15c)]();}get[_0x2b554b(0x133)](){const _0x1dfa21=_0x2b554b;return this[_0x1dfa21(0x132)];}[_0x2b554b(0x159)](){return new webgpu.Mesh();}set[_0x2b554b(0x161)](_0x41435f){const _0x3dafc7=_0x2b554b;if(this[_0x3dafc7(0x146)])this[_0x3dafc7(0x146)][_0x3dafc7(0x161)]=_0x41435f;}get[_0x2b554b(0x161)](){const _0x1c154a=_0x2b554b;return this[_0x1c154a(0x146)]?this[_0x1c154a(0x146)][_0x1c154a(0x161)]:![];}set[_0x2b554b(0x16e)](_0x14aa00){const _0x5b4edf=_0x2b554b;if(!this[_0x5b4edf(0x146)])return;this[_0x5b4edf(0x146)][_0x5b4edf(0x16e)]=_0x14aa00;}get['receiveShadow'](){const _0x57a156=_0x2b554b;return this[_0x57a156(0x146)]?this[_0x57a156(0x146)][_0x57a156(0x16e)]:![];}['getBoundsCenterPosition'](){const _0x270504=_0x2b554b;let _0x254480=new webgpu.Vector3();return this[_0x270504(0x167)]()[_0x270504(0x14f)](_0x254480),_0x254480;}[_0x2b554b(0x162)](){const _0xb959a7=_0x2b554b;let _0xc72a61=new webgpu.Vector3(),_0x3bed7f=this[_0xb959a7(0x167)]();return _0x3bed7f[_0xb959a7(0x14f)](_0xc72a61),_0xc72a61['y']=_0x3bed7f[_0xb959a7(0x13a)]['y'],_0xc72a61;}[_0x2b554b(0x15b)](){const _0x27689d=_0x2b554b;let _0x44deb6=new webgpu.Vector3(),_0x1ff7d1=this[_0x27689d(0x167)]();return _0x1ff7d1[_0x27689d(0x14f)](_0x44deb6),_0x44deb6['y']=_0x1ff7d1[_0x27689d(0x140)]['y'],_0x44deb6;}[_0x2b554b(0x164)](){const _0x5b4ffa=_0x2b554b;var _0x124fa7,_0x52d40a;this['threeObject']&&this[_0x5b4ffa(0x146)][_0x5b4ffa(0x154)](),(_0x124fa7=this[_0x5b4ffa(0x151)])===null||_0x124fa7===void 0?void 0:_0x124fa7[_0x5b4ffa(0x135)](),(_0x52d40a=this[_0x5b4ffa(0x14d)])===null||_0x52d40a===void 0?void 0:_0x52d40a[_0x5b4ffa(0x135)](),super['destroyObject']();}}
|
|
117
117
|
|
|
118
|
-
(function(
|
|
118
|
+
function _0x1f2e(_0x5bfa44,_0x2058b5){_0x5bfa44=_0x5bfa44-0x11a;var _0x91679f=_0x9167();var _0x1f2e81=_0x91679f[_0x5bfa44];return _0x1f2e81;}(function(_0x19d82e,_0x161dd2){var _0x43637c=_0x1f2e,_0x3e6b85=_0x19d82e();while(!![]){try{var _0x3bcb1c=parseInt(_0x43637c(0x11b))/0x1*(-parseInt(_0x43637c(0x122))/0x2)+-parseInt(_0x43637c(0x120))/0x3*(-parseInt(_0x43637c(0x121))/0x4)+-parseInt(_0x43637c(0x124))/0x5*(-parseInt(_0x43637c(0x11e))/0x6)+-parseInt(_0x43637c(0x11d))/0x7+parseInt(_0x43637c(0x123))/0x8+-parseInt(_0x43637c(0x11f))/0x9+-parseInt(_0x43637c(0x11c))/0xa*(-parseInt(_0x43637c(0x11a))/0xb);if(_0x3bcb1c===_0x161dd2)break;else _0x3e6b85['push'](_0x3e6b85['shift']());}catch(_0x225d84){_0x3e6b85['push'](_0x3e6b85['shift']());}}}(_0x9167,0xf1e82));class SphereComponent extends MeshComponent{constructor(_0x1f8d06,_0x55a624,_0x882356=new webgpu.MeshBasicMaterial(),_0x4395b0=0x20,_0x1e3b75=0x10,_0x52b1ee){super(_0x1f8d06,new webgpu.SphereGeometry(_0x55a624,_0x4395b0,_0x1e3b75),_0x882356,_0x52b1ee);}}function _0x9167(){var _0x31a391=['5280904DodnSn','2533965ztBBEC','358963tfTyje','249542fiTYvR','530ytgJqn','10314591FpthOb','6nqxFmN','7096473iqZDaS','9WUaBWR','1140652bIrWti','4ttdaNI'];_0x9167=function(){return _0x31a391;};return _0x9167();}
|
|
119
119
|
|
|
120
|
-
var
|
|
120
|
+
var _0x5b07d6=_0x1cee;(function(_0x508184,_0x32c064){var _0x2ce62d=_0x1cee,_0x300c1f=_0x508184();while(!![]){try{var _0x5b116c=-parseInt(_0x2ce62d(0x98))/0x1+parseInt(_0x2ce62d(0xa1))/0x2+-parseInt(_0x2ce62d(0xa6))/0x3+-parseInt(_0x2ce62d(0xa0))/0x4*(parseInt(_0x2ce62d(0x9a))/0x5)+-parseInt(_0x2ce62d(0x9d))/0x6*(parseInt(_0x2ce62d(0xa2))/0x7)+-parseInt(_0x2ce62d(0x95))/0x8+parseInt(_0x2ce62d(0x94))/0x9;if(_0x5b116c===_0x32c064)break;else _0x300c1f['push'](_0x300c1f['shift']());}catch(_0x3e586d){_0x300c1f['push'](_0x300c1f['shift']());}}}(_0x5370,0x91c9c));function _0x1cee(_0x641633,_0x37515c){_0x641633=_0x641633-0x94;var _0x5370cf=_0x5370();var _0x1cee2d=_0x5370cf[_0x641633];return _0x1cee2d;}function _0x5370(){var _0x3d8820=['194177jSndjZ','parentNode','9060hKJXxZ','threeObject','innerHTML','3484686csBQlP','element','setVisible','2224VfDFDw','2352248tGNKhR','14ZVfdvc','isClickEnabled','copy','center','899730Udvbbw','obj','20964735nGCYRh','1962160lpMCZf','LYObject','destroy'];_0x5370=function(){return _0x3d8820;};return _0x5370();}class LabelComponent extends SceneComponent{get['threeObject'](){var _0xdb44f4=_0x1cee;return this[_0xdb44f4(0xa7)];}set['threeObject'](_0x105d45){var _0x173335=_0x1cee;this[_0x173335(0xa7)]=_0x105d45,this[_0x173335(0xa7)]&&(this['obj']['userData'][_0x173335(0x96)]=this);}constructor(_0x368119,_0x527e82,_0x2cfa16=new webgpu.Vector2(0.5,0x1),_0xdf27d4){var _0x5cc6ce=_0x1cee;super(_0x368119,_0xdf27d4),this[_0x5cc6ce(0xa7)]=new CSS2DRenderer_js.CSS2DObject(_0x527e82),this[_0x5cc6ce(0xa7)][_0x5cc6ce(0xa5)][_0x5cc6ce(0xa4)](_0x2cfa16);}set['isHoverEnabled'](_0x204c11){return;}set[_0x5b07d6(0xa3)](_0x4434bc){return;}[_0x5b07d6(0x9f)](_0x50a288){super['setVisible'](_0x50a288);}[_0x5b07d6(0x97)](){var _0x1227e1=_0x5b07d6;this[_0x1227e1(0x9b)]['element']&&this[_0x1227e1(0x9b)][_0x1227e1(0x9e)][_0x1227e1(0x99)]&&(this[_0x1227e1(0x9b)][_0x1227e1(0x9e)][_0x1227e1(0x9c)]='',this[_0x1227e1(0x9b)]['element']['remove']()),super['destroy']();}}
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
const _0x5747f1=_0x3ab7;(function(_0xf012b6,_0x2ca6cd){const _0x15b0d9=_0x3ab7,_0xa4f777=_0xf012b6();while(!![]){try{const _0x18f3f5=-parseInt(_0x15b0d9(0xf1))/0x1*(parseInt(_0x15b0d9(0xf7))/0x2)+parseInt(_0x15b0d9(0xf6))/0x3+parseInt(_0x15b0d9(0xee))/0x4+parseInt(_0x15b0d9(0xef))/0x5*(-parseInt(_0x15b0d9(0xf4))/0x6)+parseInt(_0x15b0d9(0xf8))/0x7*(parseInt(_0x15b0d9(0xed))/0x8)+parseInt(_0x15b0d9(0xf2))/0x9*(parseInt(_0x15b0d9(0xec))/0xa)+-parseInt(_0x15b0d9(0xf5))/0xb*(-parseInt(_0x15b0d9(0xf0))/0xc);if(_0x18f3f5===_0x2ca6cd)break;else _0xa4f777['push'](_0xa4f777['shift']());}catch(_0x26c49f){_0xa4f777['push'](_0xa4f777['shift']());}}}(_0xe771,0x97da5));function _0x3ab7(_0x22b884,_0x3544bb){_0x22b884=_0x22b884-0xec;const _0xe77111=_0xe771();let _0x3ab74a=_0xe77111[_0x22b884];return _0x3ab74a;}function _0xe771(){const _0xb66a8e=['25jiwNDI','120YwDMeG','61834BmIInJ','9XqcvVY','ScreenSpaceReflection','1379874xbycaN','1458380zYQPhb','501252dSKYZa','40DQnnlj','2163931vpLiqw','7438450DDyvHn','8GLopuT','1850808jBsjFl'];_0xe771=function(){return _0xb66a8e;};return _0xe771();}const DefaultSSRParam={'type':exports.PostProcessStepType[_0x5747f1(0xf3)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};
|
|
123
123
|
|
|
124
|
-
const
|
|
124
|
+
const _0x32eca2=_0x43d7;(function(_0x210baa,_0x448482){const _0x42f98b=_0x43d7,_0x31a529=_0x210baa();while(!![]){try{const _0x20a7a1=parseInt(_0x42f98b(0x1f8))/0x1+-parseInt(_0x42f98b(0x1f7))/0x2+parseInt(_0x42f98b(0x1f1))/0x3*(parseInt(_0x42f98b(0x1fa))/0x4)+-parseInt(_0x42f98b(0x1f2))/0x5+parseInt(_0x42f98b(0x1f9))/0x6+parseInt(_0x42f98b(0x1f5))/0x7*(parseInt(_0x42f98b(0x1f6))/0x8)+-parseInt(_0x42f98b(0x1f4))/0x9*(parseInt(_0x42f98b(0x1f0))/0xa);if(_0x20a7a1===_0x448482)break;else _0x31a529['push'](_0x31a529['shift']());}catch(_0x5b3eba){_0x31a529['push'](_0x31a529['shift']());}}}(_0x42b1,0x7ebcc));function _0x43d7(_0xadcbcb,_0x2374cc){_0xadcbcb=_0xadcbcb-0x1f0;const _0x42b1bc=_0x42b1();let _0x43d79a=_0x42b1bc[_0xadcbcb];return _0x43d79a;}function _0x42b1(){const _0x2a4a51=['2059385WIIhgL','fxaa','9OAyjqg','37618BvbHPl','608BDuKzW','583404GrZyxu','1010372atdSQn','3213834zSrtZH','2956qQtSFF','Antialiasing','12386940EMgnAI','2058gHBFQx'];_0x42b1=function(){return _0x2a4a51;};return _0x42b1();}const DefaultAAParams={'type':exports.PostProcessStepType[_0x32eca2(0x1fb)],'method':_0x32eca2(0x1f3)};
|
|
125
125
|
|
|
126
|
-
const
|
|
126
|
+
function _0x32b0(_0x5d6b3a,_0x5cb45a){_0x5d6b3a=_0x5d6b3a-0x135;const _0x518bc8=_0x518b();let _0x32b039=_0x518bc8[_0x5d6b3a];return _0x32b039;}const _0x408002=_0x32b0;(function(_0x26c322,_0x27c030){const _0x2b6ae8=_0x32b0,_0x4771f4=_0x26c322();while(!![]){try{const _0x43f715=parseInt(_0x2b6ae8(0x139))/0x1+-parseInt(_0x2b6ae8(0x13e))/0x2*(parseInt(_0x2b6ae8(0x142))/0x3)+parseInt(_0x2b6ae8(0x138))/0x4*(parseInt(_0x2b6ae8(0x13a))/0x5)+parseInt(_0x2b6ae8(0x13f))/0x6+parseInt(_0x2b6ae8(0x145))/0x7*(parseInt(_0x2b6ae8(0x13b))/0x8)+parseInt(_0x2b6ae8(0x141))/0x9*(-parseInt(_0x2b6ae8(0x137))/0xa)+parseInt(_0x2b6ae8(0x147))/0xb;if(_0x43f715===_0x27c030)break;else _0x4771f4['push'](_0x4771f4['shift']());}catch(_0x5b08f4){_0x4771f4['push'](_0x4771f4['shift']());}}}(_0x518b,0xbbb05));function _0x518b(){const _0x33d038=['3349140RBvRWb','1373536Kruvjq','5rdTTsw','351280nRIHMd','_control','getFocuingData','8omAnWG','1826280fgdDEz','viewPort','576StfyuV','1115955QgCbml','clone','position','28serQmp','quaternion','2256144EulpkK','canvas','camera','99880ZVMfWn'];_0x518b=function(){return _0x33d038;};return _0x518b();}class FirstPerson extends Pawn{constructor(_0x21415d){const _0x5bd054=_0x32b0;super(_0x21415d),this[_0x5bd054(0x13c)]=new PointerLockControls_js.PointerLockControls(_0x21415d[_0x5bd054(0x136)],_0x21415d[_0x5bd054(0x140)][_0x5bd054(0x135)]);}[_0x408002(0x13d)](){const _0x47e192=_0x408002;var _0x220a04;if(!this[_0x47e192(0x13c)]||!((_0x220a04=this['controller'])===null||_0x220a04===void 0?void 0:_0x220a04[_0x47e192(0x136)]))return null;const _0x21aeef=this['controller'][_0x47e192(0x136)][_0x47e192(0x144)][_0x47e192(0x143)](),_0x423c2e=this['controller'][_0x47e192(0x136)][_0x47e192(0x146)][_0x47e192(0x143)](),_0x313515=0x0;return {'position':_0x21aeef,'quaternion':_0x423c2e,'distance':_0x313515};}}
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
function _0x46a5(_0x381390,_0x165d55){_0x381390=_0x381390-0x154;const _0x5d7d23=_0x5d7d();let _0x46a56e=_0x5d7d23[_0x381390];return _0x46a56e;}function _0x5d7d(){const _0x4f18c3=['onTransforming','9647197JhaIDw','3390995jdgkET','getTargetScene','enabled','includes','value','rotationSnap','invert','destroy','getRotationnSnap','control','onObjectChanged','updateMatrixWorld','37265706WLPGvf','unpossess','TransformGizmo:Canvas\x20not\x20found','getTranslationSnap','camera','clone','markRenderStateDirty','onObjectChangeEvent','refresh','850888XhaWzt','multiply','helperObject','setScaleSnap','setTranslationSnap','onDraggingChanged','onDraggingChangedEvent','Control\x20not\x20initialized','userData','controller','_control','1579832jnaBmk','possess','position','clear','viewPort','removeEventListener','onChange','showY','remove','quaternion','forEach','onUpdateFunction','setRotationSnap','enable','set','onDraggingFunction','scale','8sYxiBt','addEventListener','traverse','scene','setSpace','getMatrixInWorld','dragging-changed','name','getHelper','attach','isTickEnabled','1zNVaIc','matrixWorld','primaryTarget','add','targetMatrixMap','world','dispose','decompose','scaleSnap','3586434Brdyoz','getScaleSnap','detach','3204090yONRTy','onChangeEvent','showX','change','gizmoScene','setSize','objectChange','targets','helperScene'];_0x5d7d=function(){return _0x4f18c3;};return _0x5d7d();}const _0x5dcfea=_0x46a5;(function(_0x28f32d,_0x4842f2){const _0x20da8d=_0x46a5,_0x1e015e=_0x28f32d();while(!![]){try{const _0x350353=parseInt(_0x20da8d(0x16c))/0x1*(-parseInt(_0x20da8d(0x198))/0x2)+-parseInt(_0x20da8d(0x178))/0x3+parseInt(_0x20da8d(0x161))/0x4*(-parseInt(_0x20da8d(0x183))/0x5)+parseInt(_0x20da8d(0x175))/0x6+-parseInt(_0x20da8d(0x182))/0x7+parseInt(_0x20da8d(0x1a3))/0x8+parseInt(_0x20da8d(0x18f))/0x9;if(_0x350353===_0x4842f2)break;else _0x1e015e['push'](_0x1e015e['shift']());}catch(_0x335116){_0x1e015e['push'](_0x1e015e['shift']());}}}(_0x5d7d,0xacce1));class TransformGizmo extends Pawn{get[_0x5dcfea(0x18c)](){const _0x304e4b=_0x5dcfea;if(!this[_0x304e4b(0x1a2)])throw new Error(_0x304e4b(0x19f));return this[_0x304e4b(0x1a2)];}constructor(_0xaa61eb,_0x1a2881){const _0x179d36=_0x5dcfea;var _0x41f3fc;super(_0xaa61eb),this[_0x179d36(0x1a2)]=null,this['helperObject']=new webgpu.Object3D(),this[_0x179d36(0x17f)]=[],this[_0x179d36(0x16e)]=null,this[_0x179d36(0x170)]=new Map(),this[_0x179d36(0x17c)]=null,this[_0x179d36(0x19e)]=_0x1bf2ba=>{this['onDraggingChanged'](_0x1bf2ba);},this[_0x179d36(0x196)]=()=>{const _0x265287=_0x179d36;this[_0x265287(0x18d)]();},this[_0x179d36(0x179)]=()=>{const _0x332074=_0x179d36;this[_0x332074(0x156)]();},this['onUpdateFunction']=null,this[_0x179d36(0x15f)]=null;let _0x51727a=_0xaa61eb[_0x179d36(0x154)]['canvas'];if(!_0x51727a)throw new Error(_0x179d36(0x191));this['_control']=new TransformControls_js.TransformControls(_0xaa61eb[_0x179d36(0x193)],_0x51727a),this['control'][_0x179d36(0x169)]()[_0x179d36(0x163)](_0x30a73a=>{const _0x564f22=_0x179d36;_0x30a73a[_0x564f22(0x1a0)]['rayIgnored']=!![];}),this['helperObject'][_0x179d36(0x168)]='TransformHelperObject',this[_0x179d36(0x17c)]=(_0x41f3fc=_0x1a2881===null||_0x1a2881===void 0?void 0:_0x1a2881[_0x179d36(0x180)])!==null&&_0x41f3fc!==void 0?_0x41f3fc:null;}['getTargetScene'](){const _0x573f12=_0x5dcfea;var _0x100ae8;return (_0x100ae8=this['gizmoScene'])!==null&&_0x100ae8!==void 0?_0x100ae8:this[_0x573f12(0x1a1)][_0x573f12(0x171)][_0x573f12(0x164)];}[_0x5dcfea(0x1a4)](){const _0x69f351=_0x5dcfea,_0x2100ad=this[_0x69f351(0x184)]();_0x2100ad[_0x69f351(0x16f)](this[_0x69f351(0x19a)]),_0x2100ad['add'](this[_0x69f351(0x18c)]['getHelper']()),this[_0x69f351(0x18c)][_0x69f351(0x16a)](this['helperObject']),this['control'][_0x69f351(0x162)](_0x69f351(0x17b),this[_0x69f351(0x179)]),this[_0x69f351(0x18c)][_0x69f351(0x162)](_0x69f351(0x167),this[_0x69f351(0x19e)]),this[_0x69f351(0x18c)]['addEventListener'](_0x69f351(0x17e),this[_0x69f351(0x196)]);}[_0x5dcfea(0x190)](){const _0x4a0231=_0x5dcfea;this[_0x4a0231(0x18c)][_0x4a0231(0x155)](_0x4a0231(0x17b),this[_0x4a0231(0x179)]),this[_0x4a0231(0x18c)][_0x4a0231(0x155)](_0x4a0231(0x167),this[_0x4a0231(0x19e)]),this[_0x4a0231(0x18c)][_0x4a0231(0x155)]('objectChange',this[_0x4a0231(0x196)]),this[_0x4a0231(0x18c)][_0x4a0231(0x177)]();const _0x3b09be=this[_0x4a0231(0x184)]();_0x3b09be['remove'](this[_0x4a0231(0x19a)]),_0x3b09be[_0x4a0231(0x158)](this[_0x4a0231(0x18c)][_0x4a0231(0x169)]());}[_0x5dcfea(0x197)](){const _0x41bbb4=_0x5dcfea;if(!this[_0x41bbb4(0x16e)])return;this[_0x41bbb4(0x18c)]['detach']();const _0x3f4ccf=this['getTargetScene']();_0x3f4ccf['remove'](this['helperObject']),this[_0x41bbb4(0x170)][_0x41bbb4(0x1a6)]();let _0x9448d9=this['primaryTarget'][_0x41bbb4(0x166)]();_0x9448d9[_0x41bbb4(0x173)](this['helperObject'][_0x41bbb4(0x1a5)],this[_0x41bbb4(0x19a)][_0x41bbb4(0x159)],this[_0x41bbb4(0x19a)][_0x41bbb4(0x160)]),_0x3f4ccf[_0x41bbb4(0x16f)](this[_0x41bbb4(0x18c)][_0x41bbb4(0x169)]()),_0x3f4ccf[_0x41bbb4(0x16f)](this['helperObject']),this['control'][_0x41bbb4(0x16a)](this['helperObject']),this[_0x41bbb4(0x17f)][_0x41bbb4(0x15a)](_0x48157f=>{const _0x28fcc9=_0x41bbb4,_0x5110fa=_0x48157f[_0x28fcc9(0x166)](),_0x5718ab=_0x9448d9['clone']()['invert']()[_0x28fcc9(0x199)](_0x5110fa);this['targetMatrixMap'][_0x28fcc9(0x15e)](_0x48157f,_0x5718ab);});}[_0x5dcfea(0x156)](){const _0x2c04a0=_0x5dcfea;this[_0x2c04a0(0x1a1)][_0x2c04a0(0x154)][_0x2c04a0(0x195)]();}[_0x5dcfea(0x19d)](_0x36a4d1){const _0x529265=_0x5dcfea;if(this[_0x529265(0x16e)]){let _0x178c21=this[_0x529265(0x16e)][_0x529265(0x166)]();_0x178c21[_0x529265(0x173)](this[_0x529265(0x19a)][_0x529265(0x1a5)],this[_0x529265(0x19a)]['quaternion'],this[_0x529265(0x19a)]['scale']);}this[_0x529265(0x15f)]&&this['onDraggingFunction'](_0x36a4d1[_0x529265(0x187)]);}[_0x5dcfea(0x18d)](){const _0x128e3c=_0x5dcfea;if(this[_0x128e3c(0x16e)]){this[_0x128e3c(0x19a)][_0x128e3c(0x18e)](!![]);const _0x176be3=this[_0x128e3c(0x19a)][_0x128e3c(0x16d)]['clone']();this[_0x128e3c(0x16e)]['onTransforming'](_0x176be3),this['targets'][_0x128e3c(0x15a)](_0x3b698d=>{const _0x19a8a9=_0x128e3c,_0x4ad4d8=this[_0x19a8a9(0x170)]['get'](_0x3b698d);if(_0x4ad4d8){const _0x2d30b7=new webgpu.Matrix4()['multiplyMatrices'](_0x176be3,_0x4ad4d8);_0x3b698d[_0x19a8a9(0x181)](_0x2d30b7);}});}this['onUpdateFunction']&&this[_0x128e3c(0x15b)]();}set[_0x5dcfea(0x15d)](_0x2371fc){const _0x443bec=_0x5dcfea;this['control'][_0x443bec(0x185)]=_0x2371fc;}['setTarget'](_0x23e425,_0x57bb43,_0x325136=null,_0x2617d3=null){const _0x4ca81b=_0x5dcfea;this['targetMatrixMap']['clear']();let _0x1b3750=_0x23e425[_0x4ca81b(0x166)]();_0x1b3750[_0x4ca81b(0x173)](this[_0x4ca81b(0x19a)][_0x4ca81b(0x1a5)],this[_0x4ca81b(0x19a)][_0x4ca81b(0x159)],this[_0x4ca81b(0x19a)][_0x4ca81b(0x160)]);const _0x3a151b=this[_0x4ca81b(0x184)]();_0x3a151b[_0x4ca81b(0x16f)](this[_0x4ca81b(0x18c)][_0x4ca81b(0x169)]()),this[_0x4ca81b(0x16e)]=_0x23e425,this[_0x4ca81b(0x17f)]=_0x57bb43,this[_0x4ca81b(0x17f)][_0x4ca81b(0x15a)](_0x1f9189=>{const _0x46917e=_0x4ca81b,_0xa7eb02=_0x1f9189[_0x46917e(0x166)](),_0x374c69=_0x1b3750[_0x46917e(0x194)]()[_0x46917e(0x189)]()[_0x46917e(0x199)](_0xa7eb02);this[_0x46917e(0x170)]['set'](_0x1f9189,_0x374c69);}),_0x325136&&(this[_0x4ca81b(0x15b)]=_0x325136),_0x2617d3&&(this[_0x4ca81b(0x15f)]=_0x2617d3),this[_0x4ca81b(0x16b)]=!![];}['getMode'](){const _0x514ce1=_0x5dcfea;return this[_0x514ce1(0x18c)]['getMode']();}['setMode'](_0x5a0bb6){const _0x363869=_0x5dcfea;this[_0x363869(0x18c)]['setMode'](_0x5a0bb6);}[_0x5dcfea(0x165)](_0x29e361){const _0x95dcde=_0x5dcfea;this[_0x95dcde(0x18c)][_0x95dcde(0x165)](_0x29e361);}['setAxis'](_0xb9328b){const _0xfefbcc=_0x5dcfea;this[_0xfefbcc(0x18c)][_0xfefbcc(0x17a)]=_0xb9328b?_0xb9328b===null||_0xb9328b===void 0?void 0:_0xb9328b[_0xfefbcc(0x186)]('X'):![],this[_0xfefbcc(0x18c)][_0xfefbcc(0x157)]=_0xb9328b?_0xb9328b===null||_0xb9328b===void 0?void 0:_0xb9328b[_0xfefbcc(0x186)]('Y'):![],this['control']['showZ']=_0xb9328b?_0xb9328b===null||_0xb9328b===void 0?void 0:_0xb9328b[_0xfefbcc(0x186)]('Z'):![];}[_0x5dcfea(0x17d)](_0x112bc8){const _0x3cca56=_0x5dcfea;this[_0x3cca56(0x18c)][_0x3cca56(0x17d)](_0x112bc8);}[_0x5dcfea(0x192)](){const _0x3493b0=_0x5dcfea;return this[_0x3493b0(0x18c)]['translationSnap'];}['setTranslationSnap'](_0x589d82){const _0x174e41=_0x5dcfea;this[_0x174e41(0x18c)][_0x174e41(0x19c)](_0x589d82);}[_0x5dcfea(0x18b)](){const _0x385ea1=_0x5dcfea;return this[_0x385ea1(0x18c)][_0x385ea1(0x188)];}[_0x5dcfea(0x15c)](_0x20578e){this['control']['setRotationSnap'](_0x20578e);}[_0x5dcfea(0x176)](){const _0x36b63f=_0x5dcfea;return this['control'][_0x36b63f(0x174)];}[_0x5dcfea(0x19b)](_0x29fae4){const _0xd08a39=_0x5dcfea;this['control'][_0xd08a39(0x19b)](_0x29fae4);}[_0x5dcfea(0x18a)](){const _0x3883fa=_0x5dcfea;var _0x7af84b;this[_0x3883fa(0x16b)]=![],this[_0x3883fa(0x190)](),this[_0x3883fa(0x170)][_0x3883fa(0x1a6)](),this[_0x3883fa(0x17f)]=[],this['primaryTarget']=null,this[_0x3883fa(0x15b)]=null,this['onDraggingFunction']=null,(_0x7af84b=this[_0x3883fa(0x1a2)])===null||_0x7af84b===void 0?void 0:_0x7af84b[_0x3883fa(0x172)](),this[_0x3883fa(0x1a2)]=null,super[_0x3883fa(0x18a)]();}}
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
(function(_0x294a74,_0x4b47fb){var _0x2a8bbe=_0x5bda,_0x36d87b=_0x294a74();while(!![]){try{var _0x582fc3=-parseInt(_0x2a8bbe(0x169))/0x1+parseInt(_0x2a8bbe(0x168))/0x2*(parseInt(_0x2a8bbe(0x16b))/0x3)+parseInt(_0x2a8bbe(0x16f))/0x4+parseInt(_0x2a8bbe(0x170))/0x5*(-parseInt(_0x2a8bbe(0x16d))/0x6)+parseInt(_0x2a8bbe(0x16c))/0x7+parseInt(_0x2a8bbe(0x16e))/0x8+-parseInt(_0x2a8bbe(0x16a))/0x9;if(_0x582fc3===_0x4b47fb)break;else _0x36d87b['push'](_0x36d87b['shift']());}catch(_0x1d9b80){_0x36d87b['push'](_0x36d87b['shift']());}}}(_0x249b,0x7b95e));function _0x5bda(_0x35ee72,_0x4bee4c){_0x35ee72=_0x35ee72-0x168;var _0x249bc0=_0x249b();var _0x5bda4e=_0x249bc0[_0x35ee72];return _0x5bda4e;}function _0x249b(){var _0x2eafe2=['3zvotxH','3452645UhqyBI','30eDfYBf','1222944unCrEq','2673552jEWzRz','466340ltBlQL','883304PZdtfK','436169JZOgGI','3126852ONgJLT'];_0x249b=function(){return _0x2eafe2;};return _0x249b();}
|
|
131
131
|
|
|
132
132
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
133
133
|
exports.Actor = Actor;
|