lythreeframe 2.0.8 → 2.0.9
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 +73 -68
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +73 -68
- package/dist/bundle.esm.js.map +1 -1
- package/dist/src/Frame/Parameters/ViewportParameters.d.ts +1 -1
- package/dist/src/Frame/Rendering/PostProcess.d.ts +16 -0
- package/dist/src/Object/PawnV2/Oribital.d.ts +15 -0
- package/dist/src/ThreeJsApp.d.ts +17 -2
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -25,143 +25,148 @@ var ShaderPass_js = require('three/examples/jsm/postprocessing/ShaderPass.js');
|
|
|
25
25
|
var FXAAShader_js = require('three/examples/jsm/shaders/FXAAShader.js');
|
|
26
26
|
var gsap = require('gsap');
|
|
27
27
|
var SkyMesh_js = require('three/examples/jsm/objects/SkyMesh.js');
|
|
28
|
-
var
|
|
28
|
+
var _0x8f7dc4 = require('earcut');
|
|
29
29
|
var CSS2DRenderer_js = require('three/examples/jsm/renderers/CSS2DRenderer.js');
|
|
30
30
|
var TransformControls_js = require('three/examples/jsm/controls/TransformControls.js');
|
|
31
31
|
|
|
32
|
-
const
|
|
32
|
+
const _0x3c6559=_0x3ad0;function _0x3ad0(_0x390ccc,_0x511b99){_0x390ccc=_0x390ccc-0xe5;const _0x3ba3ea=_0x3ba3();let _0x3ad006=_0x3ba3ea[_0x390ccc];return _0x3ad006;}(function(_0x3c3b8e,_0x4a25da){const _0x47d28a=_0x3ad0,_0x38436a=_0x3c3b8e();while(!![]){try{const _0x29dd89=parseInt(_0x47d28a(0xf0))/0x1+parseInt(_0x47d28a(0xea))/0x2+parseInt(_0x47d28a(0xeb))/0x3+parseInt(_0x47d28a(0xe9))/0x4*(-parseInt(_0x47d28a(0xef))/0x5)+-parseInt(_0x47d28a(0xe5))/0x6*(-parseInt(_0x47d28a(0xed))/0x7)+parseInt(_0x47d28a(0xf6))/0x8*(parseInt(_0x47d28a(0xe7))/0x9)+-parseInt(_0x47d28a(0xe6))/0xa;if(_0x29dd89===_0x4a25da)break;else _0x38436a['push'](_0x38436a['shift']());}catch(_0x1efe75){_0x38436a['push'](_0x38436a['shift']());}}}(_0x3ba3,0x5e886));function _0x3ba3(){const _0x4b2006=['8GAhVcz','clearTickEvents','tickEvents','bCanTick','removeTickEvent','addTickEvent','tick','36nbdeeI','14063140oMhWeB','3539439WwYakl','uuid','8SESrfo','808662xNwkOD','1458618kzMrXe','splice','384153qgUjdp','forEach','1300270rqclfa','700546FYOGzm','destroy','indexOf','isTickEnabled','_uuid','push'];_0x3ba3=function(){return _0x4b2006;};return _0x3ba3();}class BaseObject{get[_0x3c6559(0xf3)](){return this['bCanTick'];}set[_0x3c6559(0xf3)](_0x325bb1){const _0x62e7e=_0x3c6559;this[_0x62e7e(0xf9)]=_0x325bb1;}get[_0x3c6559(0xe8)](){const _0x358efc=_0x3c6559;return this[_0x358efc(0xf4)];}constructor(_0x2e3fc2=webgpu.MathUtils['generateUUID']()){const _0x59f996=_0x3c6559;this['bCanTick']=![],this[_0x59f996(0xf8)]=[],this[_0x59f996(0xf9)]=![],this['_uuid']=_0x2e3fc2;}[_0x3c6559(0xfc)](_0x3baf0d){const _0x5d800c=_0x3c6559;if(!this[_0x5d800c(0xf9)])return;this['tickEvents'][_0x5d800c(0xee)](_0x3ca96b=>{_0x3ca96b(_0x3baf0d);});}[_0x3c6559(0xfb)](_0xf1c82){const _0x21946f=_0x3c6559;this[_0x21946f(0xf8)][_0x21946f(0xf5)](_0xf1c82);}[_0x3c6559(0xfa)](_0xe01431){const _0x4d6f6f=_0x3c6559;let _0x4e25ea=this['tickEvents'][_0x4d6f6f(0xf2)](_0xe01431);_0x4e25ea!=-1&&this[_0x4d6f6f(0xf8)][_0x4d6f6f(0xec)](_0x4e25ea,0x1);}[_0x3c6559(0xf7)](){const _0x2407ae=_0x3c6559;this[_0x2407ae(0xf8)]=[];}[_0x3c6559(0xf1)](){}}
|
|
33
33
|
|
|
34
|
-
const
|
|
34
|
+
const _0x3e9450=_0x24ac;(function(_0x3598d1,_0x3000ef){const _0x2c3dd0=_0x24ac,_0x4ae583=_0x3598d1();while(!![]){try{const _0x1bb263=parseInt(_0x2c3dd0(0xac))/0x1+parseInt(_0x2c3dd0(0xb5))/0x2*(parseInt(_0x2c3dd0(0xb7))/0x3)+parseInt(_0x2c3dd0(0xad))/0x4+-parseInt(_0x2c3dd0(0xa4))/0x5+parseInt(_0x2c3dd0(0xa8))/0x6*(parseInt(_0x2c3dd0(0xb0))/0x7)+-parseInt(_0x2c3dd0(0xab))/0x8*(-parseInt(_0x2c3dd0(0xba))/0x9)+-parseInt(_0x2c3dd0(0xaf))/0xa;if(_0x1bb263===_0x3000ef)break;else _0x4ae583['push'](_0x4ae583['shift']());}catch(_0x222bbd){_0x4ae583['push'](_0x4ae583['shift']());}}}(_0x1115,0x441cb));function _0x24ac(_0x14062b,_0x5f28f6){_0x14062b=_0x14062b-0xa4;const _0x1115f0=_0x1115();let _0x24aced=_0x1115f0[_0x14062b];return _0x24aced;}function _0x1115(){const _0x53e2b4=['Component\x20createDefaultObject\x20return\x20null','name','6DrrZYI','_parentActor','Component','24iSRmZs','372030SEIspd','848872Etnbou','_name','5593090ChclKO','818671XGoUdv','obj','destroyObject','destroy','createDefaultObject','600298FYMBro','parentActor','3OHpwLI','type','userData','976716IxfYxx','2443130NzmzZW','threeObject'];_0x1115=function(){return _0x53e2b4;};return _0x1115();}class Component extends BaseObject{set[_0x3e9450(0xb6)](_0x4a40ff){const _0x370865=_0x3e9450;this[_0x370865(0xa9)]=_0x4a40ff;}get[_0x3e9450(0xb6)](){const _0x258bf6=_0x3e9450;return this[_0x258bf6(0xa9)];}get['threeObject'](){const _0x337f7a=_0x3e9450;return this[_0x337f7a(0xb1)];}set[_0x3e9450(0xa5)](_0x43c319){const _0x1941e8=_0x3e9450;this[_0x1941e8(0xb1)]=_0x43c319,this['obj']&&(this[_0x1941e8(0xb1)][_0x1941e8(0xb9)]['LYObject']=this);}get[_0x3e9450(0xa7)](){return this['_name'];}set[_0x3e9450(0xa7)](_0x1b697a){const _0x2cdfa3=_0x3e9450;this[_0x2cdfa3(0xae)]=_0x1b697a,this[_0x2cdfa3(0xb1)]&&(this['obj'][_0x2cdfa3(0xa7)]=_0x1b697a);}constructor(_0x24bf64){const _0x42a161=_0x3e9450;super(_0x24bf64?_0x24bf64:webgpu.MathUtils['generateUUID']()),this[_0x42a161(0xb1)]=null,this[_0x42a161(0xa9)]=null,this['_name']=_0x42a161(0xaa),this[_0x42a161(0xa9)]=null;let _0x54d289=this[_0x42a161(0xb4)]();_0x54d289?(this['obj']=_0x54d289,this['_name']=this[_0x42a161(0xb1)][_0x42a161(0xb8)]+'Component'):console['warn'](_0x42a161(0xa6));}[_0x3e9450(0xb4)](_0x1b36d0){return null;}['destroyObject'](){const _0x413ad3=_0x3e9450;if(!this[_0x413ad3(0xb1)])return;}[_0x3e9450(0xb3)](){const _0x59802d=_0x3e9450;this[_0x59802d(0xb2)]();}}
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function _0x2884(){var _0x472863=['6798011BgfmnW','2902024bxVrAV','7ZduApM','213CuBKPZ','874poLHdL','KeepWorld','24YrfjUC','520770WsxBKI','KeepRelative','1196559jBrYte','5509784dzZmYW','12vlcnTu','6370443UaWpbw','10hEaaha'];_0x2884=function(){return _0x472863;};return _0x2884();}(function(_0x508cb8,_0x1d9652){var _0x182ca9=_0x3529,_0x11a651=_0x508cb8();while(!![]){try{var _0x5b8e86=-parseInt(_0x182ca9(0x132))/0x1*(-parseInt(_0x182ca9(0x133))/0x2)+-parseInt(_0x182ca9(0x138))/0x3+parseInt(_0x182ca9(0x130))/0x4+parseInt(_0x182ca9(0x136))/0x5*(parseInt(_0x182ca9(0x13a))/0x6)+parseInt(_0x182ca9(0x131))/0x7*(-parseInt(_0x182ca9(0x139))/0x8)+-parseInt(_0x182ca9(0x13b))/0x9*(parseInt(_0x182ca9(0x13c))/0xa)+parseInt(_0x182ca9(0x13d))/0xb*(parseInt(_0x182ca9(0x135))/0xc);if(_0x5b8e86===_0x1d9652)break;else _0x11a651['push'](_0x11a651['shift']());}catch(_0x4f36ba){_0x11a651['push'](_0x11a651['shift']());}}}(_0x2884,0x72226));function _0x3529(_0x3ac048,_0x3f2222){_0x3ac048=_0x3ac048-0x130;var _0x2884b0=_0x2884();var _0x352968=_0x2884b0[_0x3ac048];return _0x352968;}exports.AttachmentRules = void 0;(function(_0x2c095f){var _0x17ce93=_0x3529;_0x2c095f[_0x2c095f['KeepWorld']=0x1]=_0x17ce93(0x134),_0x2c095f[_0x2c095f['KeepRelative']=0x2]=_0x17ce93(0x137);}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
37
37
|
|
|
38
|
-
const
|
|
38
|
+
const _0x2428bf=_0x3260;function _0x53cd(){const _0xb73fc5=['add','810126xdQBqs','remove','push','9184716WmHuup','837npeTEj','splice','forEach','1466130gIQYnt','859238XQDtrU','4EPxnEL','indexOf','functions','2303357jHQWia','1107564hMidry','clear','326968roqTPt','broadcast'];_0x53cd=function(){return _0xb73fc5;};return _0x53cd();}function _0x3260(_0x89cfc7,_0x5a7043){_0x89cfc7=_0x89cfc7-0x1ea;const _0x53cdb9=_0x53cd();let _0x32609b=_0x53cdb9[_0x89cfc7];return _0x32609b;}(function(_0x12828c,_0x2f86f3){const _0x56679c=_0x3260,_0x48d3a2=_0x12828c();while(!![]){try{const _0x46410b=-parseInt(_0x56679c(0x1f0))/0x1+-parseInt(_0x56679c(0x1eb))/0x2+parseInt(_0x56679c(0x1f5))/0x3+parseInt(_0x56679c(0x1ec))/0x4*(parseInt(_0x56679c(0x1ea))/0x5)+-parseInt(_0x56679c(0x1f8))/0x6+-parseInt(_0x56679c(0x1ef))/0x7+-parseInt(_0x56679c(0x1f2))/0x8*(-parseInt(_0x56679c(0x1f9))/0x9);if(_0x46410b===_0x2f86f3)break;else _0x48d3a2['push'](_0x48d3a2['shift']());}catch(_0x4238eb){_0x48d3a2['push'](_0x48d3a2['shift']());}}}(_0x53cd,0xec253));class Delegate{constructor(){const _0x19b246=_0x3260;this[_0x19b246(0x1ee)]=[];}[_0x2428bf(0x1f3)](..._0x4cb946){const _0x461ee5=_0x2428bf;this[_0x461ee5(0x1ee)][_0x461ee5(0x1fb)](_0x76ac13=>_0x76ac13(..._0x4cb946));}[_0x2428bf(0x1f4)](_0x40fb00){const _0x454839=_0x2428bf;this[_0x454839(0x1ee)][_0x454839(0x1f7)](_0x40fb00);}[_0x2428bf(0x1f6)](_0x1ce7e4){const _0x45d42c=_0x2428bf,_0x54cbec=this['functions'][_0x45d42c(0x1ed)](_0x1ce7e4);_0x54cbec>=0x0&&this['functions'][_0x45d42c(0x1fa)](_0x54cbec,0x1);}[_0x2428bf(0x1f1)](){this['functions']=[];}}
|
|
39
39
|
|
|
40
|
-
const _0x4029de=_0x2551;(function(_0x8b6f12,_0x27921b){const _0x25c8b1=_0x2551,_0x1196af=_0x8b6f12();while(!![]){try{const _0x82e08f=-parseInt(_0x25c8b1(0x247))/0x1*(parseInt(_0x25c8b1(0x201))/0x2)+-parseInt(_0x25c8b1(0x213))/0x3+parseInt(_0x25c8b1(0x24b))/0x4+parseInt(_0x25c8b1(0x203))/0x5*(parseInt(_0x25c8b1(0x1ee))/0x6)+-parseInt(_0x25c8b1(0x225))/0x7+-parseInt(_0x25c8b1(0x22b))/0x8+parseInt(_0x25c8b1(0x21d))/0x9;if(_0x82e08f===_0x27921b)break;else _0x1196af['push'](_0x1196af['shift']());}catch(_0x3197ec){_0x1196af['push'](_0x1196af['shift']());}}}(_0x528d,0xa8683));function _0x2551(_0x27554e,_0x4cb3a0){_0x27554e=_0x27554e-0x1e5;const _0x528d33=_0x528d();let _0x255149=_0x528d33[_0x27554e];return _0x255149;}class SceneComponent extends Component{set[_0x4029de(0x243)](_0x5bcfa2){const _0x3ddc2a=_0x4029de;this['childrenComponents'][_0x3ddc2a(0x235)](_0x21b6d6=>{const _0x2c9a09=_0x3ddc2a;_0x21b6d6[_0x2c9a09(0x243)]=_0x5bcfa2;}),this[_0x3ddc2a(0x252)]=_0x5bcfa2;}get[_0x4029de(0x243)](){const _0x4596dd=_0x4029de;return this[_0x4596dd(0x252)];}get['onHoverBeginDelegate'](){return this['_onHoverBeginDelegate'];}get['onHoverEndDelegate'](){const _0x2d7166=_0x4029de;return this[_0x2d7166(0x24c)];}get['onClickDelegate'](){return this['_onClickDelegate'];}get[_0x4029de(0x1fc)](){const _0x533d98=_0x4029de;return this[_0x533d98(0x250)];}get['world'](){const _0x179308=_0x4029de;return this[_0x179308(0x226)][_0x179308(0x1ef)];}constructor(_0x4737fd,_0x3b6f24){const _0x18a21b=_0x4029de;super(_0x3b6f24),this[_0x18a21b(0x239)]=![],this[_0x18a21b(0x209)]=![],this[_0x18a21b(0x222)]=new Delegate(),this[_0x18a21b(0x24c)]=new Delegate(),this[_0x18a21b(0x227)]=new Delegate(),this[_0x18a21b(0x250)]=new Delegate(),this[_0x18a21b(0x226)]=_0x4737fd,this[_0x18a21b(0x248)]=_0x18a21b(0x224);}[_0x4029de(0x233)](){return new webgpu.Object3D();}['tick'](_0xe89b68){const _0x4c8eb8=_0x4029de;super[_0x4c8eb8(0x1e8)](_0xe89b68),this[_0x4c8eb8(0x234)][_0x4c8eb8(0x235)](_0x373ecf=>{const _0x2dc870=_0x4c8eb8;_0x373ecf[_0x2dc870(0x1e8)](_0xe89b68);});}get[_0x4029de(0x22d)](){const _0x4e5c76=_0x4029de;if(!this['obj'])return ![];return this[_0x4e5c76(0x24d)][_0x4e5c76(0x1ed)];}[_0x4029de(0x1ff)](_0x542069){const _0x167d36=_0x4029de;if(!this[_0x167d36(0x24d)])throw Error(_0x167d36(0x1f0));this[_0x167d36(0x24d)][_0x167d36(0x1ed)]=_0x542069,this[_0x167d36(0x1ef)]&&this[_0x167d36(0x1ef)][_0x167d36(0x232)]['markRenderStateDirty']();}[_0x4029de(0x256)](_0x3582b3){const _0x329504=_0x4029de;if(!this[_0x329504(0x24d)])throw Error(_0x329504(0x1f0));this[_0x329504(0x24d)][_0x329504(0x22f)][_0x329504(0x245)](_0x3582b3);let _0x268528=this['childrenComponents'];_0x268528[_0x329504(0x235)](_0x2e7d0e=>{_0x2e7d0e['setLayers'](_0x3582b3);});}['getComponentById'](_0x3f1a69,_0x413f92=!![]){const _0x3c8409=_0x4029de;if(this[_0x3c8409(0x1f2)]===_0x3f1a69)return this;if(_0x413f92){let _0x213bff=this[_0x3c8409(0x234)];for(let _0x3e85dc=0x0;_0x3e85dc<_0x213bff[_0x3c8409(0x23b)];++_0x3e85dc){let _0x4639cf=_0x213bff[_0x3e85dc][_0x3c8409(0x236)](_0x3f1a69,_0x413f92);if(_0x4639cf)return _0x4639cf;}}else {let _0x4f88e4=this[_0x3c8409(0x234)];for(let _0x23c264=0x0;_0x23c264<_0x4f88e4[_0x3c8409(0x23b)];++_0x23c264){let _0x47731f=_0x4f88e4[_0x23c264];if(_0x47731f['uuid']===_0x3f1a69)return _0x47731f;}}return null;}['getBoundsCenterPositionWS'](){const _0xad374e=_0x4029de;let _0x13e1e1=new webgpu.Vector3();return this[_0xad374e(0x207)]()[_0xad374e(0x215)](_0x13e1e1),this[_0xad374e(0x1f9)]();}[_0x4029de(0x202)](){const _0x5ea985=_0x4029de;let _0xf88aa1=new webgpu.Vector3(),_0x13f9b4=this[_0x5ea985(0x207)]();return _0x13f9b4[_0x5ea985(0x215)](_0xf88aa1),_0xf88aa1['y']=_0x13f9b4[_0x5ea985(0x24a)]['y'],_0xf88aa1;}[_0x4029de(0x1eb)](){const _0x353090=_0x4029de;let _0x19ccd2=new webgpu.Vector3(),_0xb5f2d3=this['getBounds']();return _0xb5f2d3[_0x353090(0x215)](_0x19ccd2),_0x19ccd2['y']=_0xb5f2d3[_0x353090(0x1fe)]['y'],_0x19ccd2;}[_0x4029de(0x207)](){const _0x424ecc=_0x4029de;if(!this[_0x424ecc(0x24d)])throw Error('threeObject\x20is\x20invalid');let _0xdc8726=new webgpu.Box3();return _0xdc8726[_0x424ecc(0x23e)](this[_0x424ecc(0x24d)],![]),_0xdc8726[_0x424ecc(0x24e)]()&&(_0xdc8726[_0x424ecc(0x1fe)]=_0xdc8726[_0x424ecc(0x24a)]=this[_0x424ecc(0x1f9)]()),_0xdc8726;}get['parentComponent'](){const _0x2a0683=_0x4029de;var _0x4b2ec1,_0x572e7b;if(!this['obj'])throw Error(_0x2a0683(0x1f0));let _0x355426=(_0x572e7b=(_0x4b2ec1=this[_0x2a0683(0x24d)])===null||_0x4b2ec1===void 0?void 0:_0x4b2ec1['parent'])===null||_0x572e7b===void 0?void 0:_0x572e7b[_0x2a0683(0x1f5)][_0x2a0683(0x21e)];if(!_0x355426)return null;if(!(_0x355426 instanceof SceneComponent))return null;if(_0x355426[_0x2a0683(0x243)]!==this[_0x2a0683(0x243)])return null;return _0x355426;}get[_0x4029de(0x234)](){const _0x5430e6=_0x4029de;if(!this[_0x5430e6(0x24d)])throw Error(_0x5430e6(0x1f0));let _0x5caa09=[];for(let _0x2627fc=0x0;_0x2627fc<this['obj']['children'][_0x5430e6(0x23b)];++_0x2627fc){if(!this[_0x5430e6(0x24d)][_0x5430e6(0x21c)][_0x2627fc][_0x5430e6(0x1f5)]['LYObject'])continue;this['obj'][_0x5430e6(0x21c)][_0x2627fc][_0x5430e6(0x1f5)]['LYObject'][_0x5430e6(0x243)]===this[_0x5430e6(0x243)]&&_0x5caa09['push'](this['obj']['children'][_0x2627fc][_0x5430e6(0x1f5)][_0x5430e6(0x21e)]);}return _0x5caa09;}[_0x4029de(0x1f8)](_0x42cbe7){const _0x30662e=_0x4029de;let _0x21efad=this['childrenComponents'];for(let _0x57e92b=0x0;_0x57e92b<_0x21efad[_0x30662e(0x23b)];++_0x57e92b){_0x21efad[_0x57e92b][_0x30662e(0x1f8)](_0x42cbe7);}}[_0x4029de(0x253)](){const _0x5f10ae=_0x4029de;this[_0x5f10ae(0x246)]=![],this['isClickEnabled']=![],this[_0x5f10ae(0x221)](),this[_0x5f10ae(0x216)](),this[_0x5f10ae(0x214)](),this[_0x5f10ae(0x1f6)](),this[_0x5f10ae(0x1ef)]&&this['world'][_0x5f10ae(0x232)][_0x5f10ae(0x254)]();}[_0x4029de(0x1f6)](){const _0x240202=_0x4029de;if(!this[_0x240202(0x24d)])return;this[_0x240202(0x24d)]['parent']&&this[_0x240202(0x24d)]['parent'][_0x240202(0x21a)](this[_0x240202(0x24d)]),super[_0x240202(0x1f6)]();}['getPosition'](){const _0x42e056=_0x4029de;if(!this['obj'])throw Error(_0x42e056(0x1f0));if(this[_0x42e056(0x24d)][_0x42e056(0x22e)])return this[_0x42e056(0x24d)][_0x42e056(0x212)]['clone']();else {const _0x189635=new webgpu.Vector3(),_0x566d7d=new webgpu.Quaternion(),_0x58e2b4=new webgpu.Vector3();return this[_0x42e056(0x24d)][_0x42e056(0x20a)][_0x42e056(0x1f4)](_0x189635,_0x566d7d,_0x58e2b4),_0x189635;}}[_0x4029de(0x1ea)](..._0x3814f7){const _0x49f569=_0x4029de;var _0x5a336f;if(!this['obj'])throw Error(_0x49f569(0x1f0));let _0x55c20b=null;if(_0x3814f7['length']===0x1&&((_0x5a336f=_0x3814f7[0x0])===null||_0x5a336f===void 0?void 0:_0x5a336f['isVector3'])){const _0x255c5f=_0x3814f7[0x0];_0x55c20b=new webgpu.Vector3(_0x255c5f['x'],_0x255c5f['y'],_0x255c5f['z']);}else _0x3814f7[_0x49f569(0x23b)]===0x3&&typeof _0x3814f7[0x0]==='number'&&typeof _0x3814f7[0x1]===_0x49f569(0x238)&&typeof _0x3814f7[0x2]==='number'&&(_0x55c20b=new webgpu.Vector3(_0x3814f7[0x0],_0x3814f7[0x1],_0x3814f7[0x2]));if(!_0x55c20b)return;this[_0x49f569(0x24d)][_0x49f569(0x212)][_0x49f569(0x1e5)](_0x55c20b),!this['obj'][_0x49f569(0x22e)]&&this['obj'][_0x49f569(0x20a)][_0x49f569(0x1ea)](_0x55c20b['x'],_0x55c20b['y'],_0x55c20b['z']),this[_0x49f569(0x24d)][_0x49f569(0x208)](),this[_0x49f569(0x24d)][_0x49f569(0x241)](!![]),this['world']&&this[_0x49f569(0x1ef)][_0x49f569(0x232)][_0x49f569(0x254)]();}['getRotation'](){const _0x46b27d=_0x4029de;if(!this[_0x46b27d(0x24d)])throw Error(_0x46b27d(0x1f0));if(this[_0x46b27d(0x24d)]['matrixAutoUpdate'])return this[_0x46b27d(0x24d)]['rotation']['clone']();else {const _0x17ec11=new webgpu.Vector3(),_0x540597=new webgpu.Quaternion(),_0x445e05=new webgpu.Vector3();return this[_0x46b27d(0x24d)]['matrix'][_0x46b27d(0x1f4)](_0x17ec11,_0x540597,_0x445e05),new webgpu.Euler()[_0x46b27d(0x237)](_0x540597);}}[_0x4029de(0x206)](..._0x108263){const _0x35418d=_0x4029de;var _0x223bfd;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x5122e4=null;if((_0x223bfd=_0x108263[0x0])===null||_0x223bfd===void 0?void 0:_0x223bfd[_0x35418d(0x1ec)]){const _0x42a432=_0x108263[0x0];_0x5122e4=new webgpu.Euler(_0x42a432['x'],_0x42a432['y'],_0x42a432['z'],_0x42a432[_0x35418d(0x23f)]);}else typeof _0x108263[0x0]===_0x35418d(0x238)&&typeof _0x108263[0x1]===_0x35418d(0x238)&&typeof _0x108263[0x2]===_0x35418d(0x238)&&(_0x5122e4=new webgpu.Euler(_0x108263[0x0],_0x108263[0x1],_0x108263[0x2]));if(!_0x5122e4)return;this[_0x35418d(0x24d)]['rotation'][_0x35418d(0x1e5)](_0x5122e4),this[_0x35418d(0x24d)][_0x35418d(0x208)](),this[_0x35418d(0x24d)][_0x35418d(0x241)](!![]),this['world']&&this[_0x35418d(0x1ef)][_0x35418d(0x232)][_0x35418d(0x254)]();}['getQuaternion'](){const _0x16ee68=_0x4029de;if(!this[_0x16ee68(0x24d)])throw Error(_0x16ee68(0x1f0));if(this[_0x16ee68(0x24d)][_0x16ee68(0x22e)])return this[_0x16ee68(0x24d)]['quaternion'][_0x16ee68(0x24f)]();else {const _0x2d4261=new webgpu.Vector3(),_0x336e5a=new webgpu.Quaternion(),_0x2cacd6=new webgpu.Vector3();return this[_0x16ee68(0x24d)][_0x16ee68(0x20a)][_0x16ee68(0x1f4)](_0x2d4261,_0x336e5a,_0x2cacd6),_0x336e5a;}}[_0x4029de(0x220)](..._0x515fa3){const _0x6165ec=_0x4029de;var _0x4fd2a9;if(!this[_0x6165ec(0x24d)])throw Error(_0x6165ec(0x1f0));let _0x6c12f0=null;if((_0x4fd2a9=_0x515fa3[0x0])===null||_0x4fd2a9===void 0?void 0:_0x4fd2a9[_0x6165ec(0x218)]){const _0x18433b=_0x515fa3[0x0];_0x6c12f0=new webgpu.Quaternion(_0x18433b['x'],_0x18433b['y'],_0x18433b['z'],_0x18433b['w']);}else typeof _0x515fa3[0x0]==='number'&&typeof _0x515fa3[0x1]===_0x6165ec(0x238)&&typeof _0x515fa3[0x2]===_0x6165ec(0x238)&&typeof _0x515fa3[0x3]===_0x6165ec(0x238)&&(_0x6c12f0=new webgpu.Quaternion(_0x515fa3[0x0],_0x515fa3[0x1],_0x515fa3[0x2],_0x515fa3[0x3]));if(!_0x6c12f0){console[_0x6165ec(0x223)](_0x6165ec(0x23c),_0x515fa3);return;}this[_0x6165ec(0x24d)][_0x6165ec(0x205)][_0x6165ec(0x1e5)](_0x6c12f0);if(!this[_0x6165ec(0x24d)][_0x6165ec(0x22e)]){const _0x1e406b=new webgpu.Vector3(),_0x239edf=new webgpu.Quaternion(),_0x55986b=new webgpu.Vector3();this[_0x6165ec(0x24d)][_0x6165ec(0x20a)]['decompose'](_0x1e406b,_0x239edf,_0x55986b),this[_0x6165ec(0x24d)][_0x6165ec(0x20a)][_0x6165ec(0x22a)](_0x1e406b,_0x6c12f0,_0x55986b);}this['world']&&this[_0x6165ec(0x1ef)][_0x6165ec(0x232)][_0x6165ec(0x254)](),this[_0x6165ec(0x24d)][_0x6165ec(0x208)](),this[_0x6165ec(0x24d)][_0x6165ec(0x241)](!![]);}[_0x4029de(0x1e6)](){const _0xdbb2ac=_0x4029de;if(!this[_0xdbb2ac(0x24d)])throw Error(_0xdbb2ac(0x1f0));if(this[_0xdbb2ac(0x24d)][_0xdbb2ac(0x22e)])return this['obj'][_0xdbb2ac(0x20b)][_0xdbb2ac(0x24f)]();else {const _0x1fdc9c=new webgpu.Vector3(),_0x4c41c3=new webgpu.Quaternion(),_0x45b3e0=new webgpu.Vector3();return this[_0xdbb2ac(0x24d)][_0xdbb2ac(0x20a)][_0xdbb2ac(0x1f4)](_0x1fdc9c,_0x4c41c3,_0x45b3e0),_0x45b3e0;}}[_0x4029de(0x1fb)](..._0x1f34a2){const _0x445c3a=_0x4029de;var _0xba0e6b;if(!this[_0x445c3a(0x24d)])throw Error(_0x445c3a(0x1f0));let _0x2e01b3=null;if((_0xba0e6b=_0x1f34a2[0x0])===null||_0xba0e6b===void 0?void 0:_0xba0e6b[_0x445c3a(0x1fa)]){const _0x54b50=_0x1f34a2[0x0];_0x2e01b3=new webgpu.Vector3(_0x54b50['x'],_0x54b50['y'],_0x54b50['z']);}else typeof _0x1f34a2[0x0]===_0x445c3a(0x238)&&typeof _0x1f34a2[0x1]===_0x445c3a(0x238)&&typeof _0x1f34a2[0x2]===_0x445c3a(0x238)&&(_0x2e01b3=new webgpu.Vector3(_0x1f34a2[0x0],_0x1f34a2[0x1],_0x1f34a2[0x2]));if(!_0x2e01b3)return;this[_0x445c3a(0x24d)][_0x445c3a(0x20b)]['copy'](_0x2e01b3),this[_0x445c3a(0x24d)]['updateMatrix'](),this[_0x445c3a(0x24d)][_0x445c3a(0x241)](!![]),this['world']&&this['world'][_0x445c3a(0x232)][_0x445c3a(0x254)]();}[_0x4029de(0x22c)](){const _0x2e095f=_0x4029de;if(!this[_0x2e095f(0x24d)])throw Error(_0x2e095f(0x1f0));return this[_0x2e095f(0x24d)][_0x2e095f(0x20a)];}[_0x4029de(0x200)](_0x2ac23f){const _0x17caaf=_0x4029de;var _0x177c06;if(!this['obj'])throw Error(_0x17caaf(0x1f0));_0x2ac23f[_0x17caaf(0x1f4)](this[_0x17caaf(0x24d)][_0x17caaf(0x212)],this[_0x17caaf(0x24d)]['quaternion'],this[_0x17caaf(0x24d)]['scale']),this[_0x17caaf(0x24d)][_0x17caaf(0x208)](),this[_0x17caaf(0x24d)][_0x17caaf(0x241)](!![]),(_0x177c06=this[_0x17caaf(0x1ef)])===null||_0x177c06===void 0?void 0:_0x177c06[_0x17caaf(0x232)][_0x17caaf(0x254)]();}[_0x4029de(0x1f9)](){const _0x533665=_0x4029de;if(!this[_0x533665(0x24d)])throw Error(_0x533665(0x1f0));let _0x3d792a=new webgpu.Vector3();return this[_0x533665(0x24d)][_0x533665(0x1f9)](_0x3d792a),_0x3d792a;}[_0x4029de(0x20d)](){const _0x1bc0c0=_0x4029de;if(!this[_0x1bc0c0(0x24d)])throw Error(_0x1bc0c0(0x1f0));let _0x4c4af4=new webgpu.Quaternion();return this[_0x1bc0c0(0x24d)][_0x1bc0c0(0x228)](_0x4c4af4),new webgpu.Euler()['setFromQuaternion'](_0x4c4af4);}[_0x4029de(0x228)](){const _0x466f28=_0x4029de;if(!this[_0x466f28(0x24d)])throw Error(_0x466f28(0x1f0));let _0x6616d8=new webgpu.Quaternion();return this['obj'][_0x466f28(0x228)](_0x6616d8),_0x6616d8;}[_0x4029de(0x230)](){const _0x327737=_0x4029de;if(!this[_0x327737(0x24d)])throw Error(_0x327737(0x1f0));let _0x32dd82=new webgpu.Vector3();return this[_0x327737(0x24d)]['getWorldScale'](_0x32dd82),_0x32dd82;}['getWorldMatrix'](){const _0x5e2c42=_0x4029de;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');return this[_0x5e2c42(0x24d)]['updateMatrixWorld'](!![]),this[_0x5e2c42(0x24d)]['matrixWorld'][_0x5e2c42(0x24f)]();}[_0x4029de(0x240)](_0x57cf03){const _0x43be6c=_0x4029de;if(!this[_0x43be6c(0x24d)])throw Error(_0x43be6c(0x1f0));if(this[_0x43be6c(0x24d)][_0x43be6c(0x1f3)]){this[_0x43be6c(0x24d)]['parent']['updateMatrixWorld'](!![]);const _0x31980f=this[_0x43be6c(0x24d)][_0x43be6c(0x1f3)]['matrixWorld']['clone']()[_0x43be6c(0x21f)](),_0x3c223=new webgpu.Matrix4()[_0x43be6c(0x231)](_0x31980f,_0x57cf03);this[_0x43be6c(0x200)](_0x3c223);}else this[_0x43be6c(0x200)](_0x57cf03);this[_0x43be6c(0x24d)]['updateMatrixWorld'](!![]),this[_0x43be6c(0x1ef)]&&this[_0x43be6c(0x1ef)][_0x43be6c(0x232)][_0x43be6c(0x254)]();}[_0x4029de(0x1f7)](){const _0x27edeb=_0x4029de;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x43e86c=new webgpu.Vector3();return this[_0x27edeb(0x24d)]['getWorldDirection'](_0x43e86c),_0x43e86c;}['getWorldUpDirection'](){const _0x268f92=_0x4029de;if(!this['obj'])throw Error(_0x268f92(0x1f0));let _0x35e847=new webgpu.Vector3(0x0,0x1,0x0);return _0x35e847[_0x268f92(0x204)](this['getWorldQuaternion']()),_0x35e847;}[_0x4029de(0x229)](){const _0xccf52e=_0x4029de;if(!this[_0xccf52e(0x24d)])throw Error(_0xccf52e(0x1f0));let _0x16946a=new webgpu.Vector3(0x1,0x0,0x0);return _0x16946a[_0xccf52e(0x204)](this[_0xccf52e(0x228)]()),_0x16946a;}['worldToLocal'](_0x9a1a7c){const _0x4f9363=_0x4029de;if(!this[_0x4f9363(0x24d)])throw Error(_0x4f9363(0x1f0));return this[_0x4f9363(0x24d)][_0x4f9363(0x255)](_0x9a1a7c);}['localToWorld'](_0x4c1904){const _0x58763d=_0x4029de;if(!this[_0x58763d(0x24d)])throw Error('threeObject\x20is\x20invalid');return this['obj'][_0x58763d(0x219)](_0x4c1904);}[_0x4029de(0x23d)](_0x383c09){const _0x7eabb6=_0x4029de;if(!this[_0x7eabb6(0x24d)])throw Error(_0x7eabb6(0x1f0));if(!_0x383c09[_0x7eabb6(0x1e9)])throw Error(_0x7eabb6(0x20c));this['obj'][_0x7eabb6(0x20e)](_0x383c09[_0x7eabb6(0x1e9)]),this[_0x7eabb6(0x1ef)]&&_0x383c09['onAddedToWorld'](this[_0x7eabb6(0x1ef)]);}[_0x4029de(0x242)](_0x44e435){const _0x5841d3=_0x4029de;if(!this['obj'])throw Error(_0x5841d3(0x1f0));if(!_0x44e435[_0x5841d3(0x1e9)])throw Error(_0x5841d3(0x211));this['obj'][_0x5841d3(0x21a)](_0x44e435[_0x5841d3(0x1e9)]);}['addChildComponent'](_0xe8ba28,_0x88c23d=exports.AttachmentRules[_0x4029de(0x1fd)]){const _0xa6030d=_0x4029de;if(!this[_0xa6030d(0x24d)])throw Error(_0xa6030d(0x1f0));if(!_0xe8ba28['threeObject'])throw Error('newComponent\x20threeObject\x20is\x20invalid');_0xe8ba28[_0xa6030d(0x243)]=this[_0xa6030d(0x243)];if(_0x88c23d===exports.AttachmentRules[_0xa6030d(0x1f1)]){let _0x4c45c6=_0xe8ba28[_0xa6030d(0x249)]();this[_0xa6030d(0x24d)]['add'](_0xe8ba28[_0xa6030d(0x1e9)]),_0xe8ba28[_0xa6030d(0x240)](_0x4c45c6);}else this[_0xa6030d(0x24d)]['add'](_0xe8ba28[_0xa6030d(0x1e9)]);this[_0xa6030d(0x1ef)]&&_0xe8ba28[_0xa6030d(0x1f8)](this['world']),this[_0xa6030d(0x24d)][_0xa6030d(0x208)](),this[_0xa6030d(0x24d)][_0xa6030d(0x241)](!![]);}[_0x4029de(0x210)](_0x31b9f6){const _0x8f54cc=_0x4029de;if(!this[_0x8f54cc(0x24d)])throw Error('threeObject\x20is\x20invalid');if(!_0x31b9f6[_0x8f54cc(0x1e9)])throw Error(_0x8f54cc(0x1e7));this[_0x8f54cc(0x24d)][_0x8f54cc(0x21a)](_0x31b9f6['threeObject']);}[_0x4029de(0x216)](){const _0x106528=_0x4029de;this[_0x106528(0x21b)]&&this[_0x106528(0x21b)][_0x106528(0x210)](this);}[_0x4029de(0x221)](){const _0x326fcf=_0x4029de;this['parentActor']&&(this[_0x326fcf(0x243)]=null);}[_0x4029de(0x214)](){const _0x442694=_0x4029de;var _0x4f0599;if(!this[_0x442694(0x24d)])return;let _0xb1afb3=[];for(let _0x2b5387=0x0;_0x2b5387<this[_0x442694(0x24d)][_0x442694(0x21c)][_0x442694(0x23b)];++_0x2b5387){let _0x5e0e27=(_0x4f0599=this['obj'][_0x442694(0x21c)][_0x2b5387][_0x442694(0x1f5)])===null||_0x4f0599===void 0?void 0:_0x4f0599[_0x442694(0x21e)];_0x5e0e27&&_0xb1afb3[_0x442694(0x244)](_0x5e0e27);}_0xb1afb3[_0x442694(0x235)](_0x106816=>{_0x106816['destroy']();}),_0xb1afb3=[];}set[_0x4029de(0x246)](_0x475104){const _0x44c51c=_0x4029de;this[_0x44c51c(0x239)]=_0x475104;let _0x150719=this[_0x44c51c(0x234)];for(let _0x45a4c0=0x0;_0x45a4c0<_0x150719[_0x44c51c(0x23b)];++_0x45a4c0){_0x150719[_0x45a4c0][_0x44c51c(0x246)]=this[_0x44c51c(0x239)];}}get['isHoverEnabled'](){const _0x5d3e07=_0x4029de;return this[_0x5d3e07(0x239)];}set[_0x4029de(0x251)](_0x5bd393){const _0x5cc02a=_0x4029de;this[_0x5cc02a(0x209)]=_0x5bd393;let _0x8205f4=this['childrenComponents'];for(let _0x1d20d9=0x0;_0x1d20d9<_0x8205f4[_0x5cc02a(0x23b)];++_0x1d20d9){_0x8205f4[_0x1d20d9]['isClickEnabled']=this[_0x5cc02a(0x209)];}}get[_0x4029de(0x251)](){const _0x5988bb=_0x4029de;return this[_0x5988bb(0x209)];}[_0x4029de(0x23a)](){const _0x56b9cb=_0x4029de;this[_0x56b9cb(0x222)][_0x56b9cb(0x257)]();}[_0x4029de(0x20f)](){const _0x34be21=_0x4029de;this[_0x34be21(0x24c)][_0x34be21(0x257)]();}['onClicked'](){const _0x1f30b4=_0x4029de;this[_0x1f30b4(0x227)][_0x1f30b4(0x257)]();}[_0x4029de(0x217)](){const _0x15468e=_0x4029de;this[_0x15468e(0x250)]['broadcast']();}}function _0x528d(){const _0xbf6c43=['2026120vnyWop','getMatrix','isVisible','matrixAutoUpdate','layers','getWorldScale','multiplyMatrices','viewport','createDefaultObject','childrenComponents','forEach','getComponentById','setFromQuaternion','number','bCanHover','onHorveringBegin','length','setQuaternion\x20failed,param\x20is\x20invalid','attachComponent','setFromObject','order','setWorldMatrix','updateMatrixWorld','detachComponent','parentActor','push','set','isHoverEnabled','430583hrtJny','name','getWorldMatrix','max','1687736BoYGPU','_onHoverEndDelegate','obj','isEmpty','clone','_onDoubleClickDelegate','isClickEnabled','_parentActor','destroy','markRenderStateDirty','worldToLocal','setLayers','broadcast','copy','getScale','targetComponent\x20threeObject\x20is\x20invalid','tick','threeObject','setPosition','getBoundsBottomCenterPositionWS','isEuler','visible','6585234ueQSuS','world','threeObject\x20is\x20invalid','KeepWorld','uuid','parent','decompose','userData','destroyObject','getWorldForwardDirection','onAddedToWorld','getWorldPosition','isVector3','setScale','onDoubleClickDelegate','KeepRelative','min','setVisible','setMatrix','2qKaahu','getBoundsTopCenterPositionWS','5vdQqia','applyQuaternion','quaternion','setRotation','getBounds','updateMatrix','bCanClick','matrix','scale','newComponent\x20threeObject\x20is\x20invalid','getWorldRotation','add','onHorveringEnd','removeChildComponent','target\x20threeObject\x20is\x20invalid','position','3085572REdXXn','destroyChildren','getCenter','detachFromParentComponent','onDoubleClicked','isQuaternion','localToWorld','remove','parentComponent','children','12464667ZHDDAs','LYObject','invert','setQuaternion','detachFromParentActor','_onHoverBeginDelegate','error','SceneComponent','3515883tPcQfZ','app','_onClickDelegate','getWorldQuaternion','getWorldRightDirection','compose'];_0x528d=function(){return _0xbf6c43;};return _0x528d();}
|
|
40
|
+
const _0x71ca0c=_0x17af;function _0x17af(_0x2f7621,_0x11e0ec){_0x2f7621=_0x2f7621-0x1ab;const _0x353070=_0x3530();let _0x17af32=_0x353070[_0x2f7621];return _0x17af32;}(function(_0x57d281,_0x1989bf){const _0x446f20=_0x17af,_0x234aaa=_0x57d281();while(!![]){try{const _0x2855fc=parseInt(_0x446f20(0x20b))/0x1+-parseInt(_0x446f20(0x1ea))/0x2+parseInt(_0x446f20(0x1c6))/0x3*(parseInt(_0x446f20(0x209))/0x4)+parseInt(_0x446f20(0x1b4))/0x5+-parseInt(_0x446f20(0x1fb))/0x6*(parseInt(_0x446f20(0x20d))/0x7)+parseInt(_0x446f20(0x1c8))/0x8*(parseInt(_0x446f20(0x1d4))/0x9)+-parseInt(_0x446f20(0x206))/0xa;if(_0x2855fc===_0x1989bf)break;else _0x234aaa['push'](_0x234aaa['shift']());}catch(_0x34cf36){_0x234aaa['push'](_0x234aaa['shift']());}}}(_0x3530,0x42517));class SceneComponent extends Component{set[_0x71ca0c(0x1db)](_0x3b2017){const _0x44b471=_0x71ca0c;this[_0x44b471(0x1be)][_0x44b471(0x216)](_0xba0d76=>{const _0x7c2cef=_0x44b471;_0xba0d76[_0x7c2cef(0x1db)]=_0x3b2017;}),this['_parentActor']=_0x3b2017;}get[_0x71ca0c(0x1db)](){const _0xd73cc4=_0x71ca0c;return this[_0xd73cc4(0x215)];}get[_0x71ca0c(0x1da)](){const _0x283480=_0x71ca0c;return this[_0x283480(0x1de)];}get['onHoverEndDelegate'](){const _0xe691f6=_0x71ca0c;return this[_0xe691f6(0x1c2)];}get['onClickDelegate'](){const _0x26f288=_0x71ca0c;return this[_0x26f288(0x1c5)];}get[_0x71ca0c(0x1d3)](){const _0x3780b6=_0x71ca0c;return this[_0x3780b6(0x203)];}get[_0x71ca0c(0x1dc)](){const _0x2511dd=_0x71ca0c;return this[_0x2511dd(0x1ca)]['world'];}constructor(_0x4bd438,_0x5804e1){const _0x544658=_0x71ca0c;super(_0x5804e1),this[_0x544658(0x1cf)]=![],this['bCanClick']=![],this[_0x544658(0x1de)]=new Delegate(),this[_0x544658(0x1c2)]=new Delegate(),this['_onClickDelegate']=new Delegate(),this[_0x544658(0x203)]=new Delegate(),this['app']=_0x4bd438,this[_0x544658(0x1f6)]=_0x544658(0x1b8);}[_0x71ca0c(0x1cc)](){return new webgpu.Object3D();}[_0x71ca0c(0x1b7)](_0x558abc){const _0x23256b=_0x71ca0c;super['tick'](_0x558abc),this[_0x23256b(0x1be)][_0x23256b(0x216)](_0x848a2f=>{const _0x35f131=_0x23256b;_0x848a2f[_0x35f131(0x1b7)](_0x558abc);});}get['isVisible'](){const _0x303ee8=_0x71ca0c;if(!this[_0x303ee8(0x1bf)])return ![];return this[_0x303ee8(0x1bf)]['visible'];}[_0x71ca0c(0x212)](_0x3d5959){const _0x5ec84d=_0x71ca0c;if(!this[_0x5ec84d(0x1bf)])throw Error('threeObject\x20is\x20invalid');this[_0x5ec84d(0x1bf)][_0x5ec84d(0x1b3)]=_0x3d5959,this[_0x5ec84d(0x1dc)]&&this[_0x5ec84d(0x1dc)][_0x5ec84d(0x1ee)][_0x5ec84d(0x1c1)]();}[_0x71ca0c(0x1e1)](_0x5b966f){const _0x272910=_0x71ca0c;if(!this[_0x272910(0x1bf)])throw Error(_0x272910(0x1e3));this['obj'][_0x272910(0x207)][_0x272910(0x20c)](_0x5b966f);let _0x356a60=this['childrenComponents'];_0x356a60[_0x272910(0x216)](_0xff6f21=>{const _0x3a8661=_0x272910;_0xff6f21[_0x3a8661(0x1e1)](_0x5b966f);});}[_0x71ca0c(0x214)](_0x21adb3,_0x50c1cf=!![]){const _0x12b520=_0x71ca0c;if(this[_0x12b520(0x1ce)]===_0x21adb3)return this;if(_0x50c1cf){let _0x37be03=this['childrenComponents'];for(let _0x494100=0x0;_0x494100<_0x37be03[_0x12b520(0x1d7)];++_0x494100){let _0x1d6615=_0x37be03[_0x494100]['getComponentById'](_0x21adb3,_0x50c1cf);if(_0x1d6615)return _0x1d6615;}}else {let _0x349c68=this[_0x12b520(0x1be)];for(let _0x17764a=0x0;_0x17764a<_0x349c68[_0x12b520(0x1d7)];++_0x17764a){let _0xb16411=_0x349c68[_0x17764a];if(_0xb16411[_0x12b520(0x1ce)]===_0x21adb3)return _0xb16411;}}return null;}['getBoundsCenterPositionWS'](){const _0x4d9605=_0x71ca0c;let _0x28e24f=new webgpu.Vector3();return this[_0x4d9605(0x1b1)]()[_0x4d9605(0x1f3)](_0x28e24f),this[_0x4d9605(0x1cd)]();}['getBoundsTopCenterPositionWS'](){const _0x2b5f5b=_0x71ca0c;let _0x805741=new webgpu.Vector3(),_0x8c72e1=this[_0x2b5f5b(0x1b1)]();return _0x8c72e1[_0x2b5f5b(0x1f3)](_0x805741),_0x805741['y']=_0x8c72e1[_0x2b5f5b(0x1ba)]['y'],_0x805741;}[_0x71ca0c(0x1df)](){const _0x489805=_0x71ca0c;let _0xdebc35=new webgpu.Vector3(),_0x193711=this[_0x489805(0x1b1)]();return _0x193711[_0x489805(0x1f3)](_0xdebc35),_0xdebc35['y']=_0x193711['min']['y'],_0xdebc35;}[_0x71ca0c(0x1b1)](){const _0x165276=_0x71ca0c;if(!this[_0x165276(0x1bf)])throw Error('threeObject\x20is\x20invalid');let _0xa42aad=new webgpu.Box3();return _0xa42aad['setFromObject'](this[_0x165276(0x1bf)],![]),_0xa42aad[_0x165276(0x1b9)]()&&(_0xa42aad['min']=_0xa42aad['max']=this['getWorldPosition']()),_0xa42aad;}get[_0x71ca0c(0x1c0)](){const _0x2cabb7=_0x71ca0c;var _0x40bf02,_0x6b216c;if(!this[_0x2cabb7(0x1bf)])throw Error(_0x2cabb7(0x1e3));let _0x17b429=(_0x6b216c=(_0x40bf02=this[_0x2cabb7(0x1bf)])===null||_0x40bf02===void 0?void 0:_0x40bf02[_0x2cabb7(0x1f4)])===null||_0x6b216c===void 0?void 0:_0x6b216c[_0x2cabb7(0x1f0)][_0x2cabb7(0x1d5)];if(!_0x17b429)return null;if(!(_0x17b429 instanceof SceneComponent))return null;if(_0x17b429['parentActor']!==this[_0x2cabb7(0x1db)])return null;return _0x17b429;}get['childrenComponents'](){const _0x111cef=_0x71ca0c;if(!this[_0x111cef(0x1bf)])throw Error('threeObject\x20is\x20invalid');let _0x16216e=[];for(let _0x3be238=0x0;_0x3be238<this[_0x111cef(0x1bf)][_0x111cef(0x1e5)][_0x111cef(0x1d7)];++_0x3be238){if(!this[_0x111cef(0x1bf)][_0x111cef(0x1e5)][_0x3be238][_0x111cef(0x1f0)][_0x111cef(0x1d5)])continue;this[_0x111cef(0x1bf)][_0x111cef(0x1e5)][_0x3be238][_0x111cef(0x1f0)][_0x111cef(0x1d5)][_0x111cef(0x1db)]===this[_0x111cef(0x1db)]&&_0x16216e[_0x111cef(0x1bb)](this['obj'][_0x111cef(0x1e5)][_0x3be238][_0x111cef(0x1f0)]['LYObject']);}return _0x16216e;}[_0x71ca0c(0x211)](_0x11fda8){let _0x427672=this['childrenComponents'];for(let _0xc0be4f=0x0;_0xc0be4f<_0x427672['length'];++_0xc0be4f){_0x427672[_0xc0be4f]['onAddedToWorld'](_0x11fda8);}}[_0x71ca0c(0x1c7)](){const _0x11638d=_0x71ca0c;this[_0x11638d(0x1e9)]=![],this['isClickEnabled']=![],this['detachFromParentActor'](),this[_0x11638d(0x1b5)](),this[_0x11638d(0x1ab)](),this[_0x11638d(0x20f)](),this['world']&&this['world'][_0x11638d(0x1ee)][_0x11638d(0x1c1)]();}[_0x71ca0c(0x20f)](){const _0x3e0a62=_0x71ca0c;if(!this[_0x3e0a62(0x1bf)])return;this[_0x3e0a62(0x1bf)][_0x3e0a62(0x1f4)]&&this[_0x3e0a62(0x1bf)]['parent']['remove'](this[_0x3e0a62(0x1bf)]),super[_0x3e0a62(0x20f)]();}[_0x71ca0c(0x202)](){const _0x1c1d33=_0x71ca0c;if(!this[_0x1c1d33(0x1bf)])throw Error('threeObject\x20is\x20invalid');if(this[_0x1c1d33(0x1bf)]['matrixAutoUpdate'])return this['obj']['position']['clone']();else {const _0x4b6013=new webgpu.Vector3(),_0x32e600=new webgpu.Quaternion(),_0x8c460e=new webgpu.Vector3();return this[_0x1c1d33(0x1bf)][_0x1c1d33(0x1e0)][_0x1c1d33(0x1fd)](_0x4b6013,_0x32e600,_0x8c460e),_0x4b6013;}}[_0x71ca0c(0x201)](..._0x331715){const _0x2d2e85=_0x71ca0c;var _0x1b4921;if(!this['obj'])throw Error(_0x2d2e85(0x1e3));let _0x57c5bd=null;if(_0x331715['length']===0x1&&((_0x1b4921=_0x331715[0x0])===null||_0x1b4921===void 0?void 0:_0x1b4921[_0x2d2e85(0x1dd)])){const _0x5dd511=_0x331715[0x0];_0x57c5bd=new webgpu.Vector3(_0x5dd511['x'],_0x5dd511['y'],_0x5dd511['z']);}else _0x331715[_0x2d2e85(0x1d7)]===0x3&&typeof _0x331715[0x0]===_0x2d2e85(0x1ec)&&typeof _0x331715[0x1]===_0x2d2e85(0x1ec)&&typeof _0x331715[0x2]===_0x2d2e85(0x1ec)&&(_0x57c5bd=new webgpu.Vector3(_0x331715[0x0],_0x331715[0x1],_0x331715[0x2]));if(!_0x57c5bd)return;this['obj'][_0x2d2e85(0x1fe)][_0x2d2e85(0x1e7)](_0x57c5bd),!this[_0x2d2e85(0x1bf)][_0x2d2e85(0x1ac)]&&this[_0x2d2e85(0x1bf)][_0x2d2e85(0x1e0)][_0x2d2e85(0x201)](_0x57c5bd['x'],_0x57c5bd['y'],_0x57c5bd['z']),this[_0x2d2e85(0x1bf)][_0x2d2e85(0x1e6)](),this[_0x2d2e85(0x1bf)][_0x2d2e85(0x1e2)](!![]),this[_0x2d2e85(0x1dc)]&&this[_0x2d2e85(0x1dc)][_0x2d2e85(0x1ee)]['markRenderStateDirty']();}[_0x71ca0c(0x217)](){const _0x4bf2dc=_0x71ca0c;if(!this[_0x4bf2dc(0x1bf)])throw Error(_0x4bf2dc(0x1e3));if(this['obj'][_0x4bf2dc(0x1ac)])return this[_0x4bf2dc(0x1bf)][_0x4bf2dc(0x1bd)][_0x4bf2dc(0x213)]();else {const _0x24eb86=new webgpu.Vector3(),_0x5a5d10=new webgpu.Quaternion(),_0xc3baec=new webgpu.Vector3();return this[_0x4bf2dc(0x1bf)][_0x4bf2dc(0x1e0)][_0x4bf2dc(0x1fd)](_0x24eb86,_0x5a5d10,_0xc3baec),new webgpu.Euler()[_0x4bf2dc(0x1eb)](_0x5a5d10);}}[_0x71ca0c(0x1bc)](..._0x469d73){const _0x4ff93e=_0x71ca0c;var _0x19f22c;if(!this[_0x4ff93e(0x1bf)])throw Error(_0x4ff93e(0x1e3));let _0x375df9=null;if((_0x19f22c=_0x469d73[0x0])===null||_0x19f22c===void 0?void 0:_0x19f22c[_0x4ff93e(0x1fa)]){const _0x4943c3=_0x469d73[0x0];_0x375df9=new webgpu.Euler(_0x4943c3['x'],_0x4943c3['y'],_0x4943c3['z'],_0x4943c3['order']);}else typeof _0x469d73[0x0]===_0x4ff93e(0x1ec)&&typeof _0x469d73[0x1]==='number'&&typeof _0x469d73[0x2]===_0x4ff93e(0x1ec)&&(_0x375df9=new webgpu.Euler(_0x469d73[0x0],_0x469d73[0x1],_0x469d73[0x2]));if(!_0x375df9)return;this['obj'][_0x4ff93e(0x1bd)][_0x4ff93e(0x1e7)](_0x375df9),this[_0x4ff93e(0x1bf)][_0x4ff93e(0x1e6)](),this[_0x4ff93e(0x1bf)]['updateMatrixWorld'](!![]),this[_0x4ff93e(0x1dc)]&&this['world'][_0x4ff93e(0x1ee)]['markRenderStateDirty']();}[_0x71ca0c(0x200)](){const _0x3f9d92=_0x71ca0c;if(!this['obj'])throw Error(_0x3f9d92(0x1e3));if(this[_0x3f9d92(0x1bf)][_0x3f9d92(0x1ac)])return this[_0x3f9d92(0x1bf)][_0x3f9d92(0x1c4)][_0x3f9d92(0x213)]();else {const _0x5192d7=new webgpu.Vector3(),_0x58be77=new webgpu.Quaternion(),_0x4d7310=new webgpu.Vector3();return this['obj'][_0x3f9d92(0x1e0)][_0x3f9d92(0x1fd)](_0x5192d7,_0x58be77,_0x4d7310),_0x58be77;}}['setQuaternion'](..._0x22e26e){const _0x4fcffc=_0x71ca0c;var _0x43350d;if(!this[_0x4fcffc(0x1bf)])throw Error(_0x4fcffc(0x1e3));let _0x243b72=null;if((_0x43350d=_0x22e26e[0x0])===null||_0x43350d===void 0?void 0:_0x43350d['isQuaternion']){const _0x348c98=_0x22e26e[0x0];_0x243b72=new webgpu.Quaternion(_0x348c98['x'],_0x348c98['y'],_0x348c98['z'],_0x348c98['w']);}else typeof _0x22e26e[0x0]===_0x4fcffc(0x1ec)&&typeof _0x22e26e[0x1]===_0x4fcffc(0x1ec)&&typeof _0x22e26e[0x2]===_0x4fcffc(0x1ec)&&typeof _0x22e26e[0x3]==='number'&&(_0x243b72=new webgpu.Quaternion(_0x22e26e[0x0],_0x22e26e[0x1],_0x22e26e[0x2],_0x22e26e[0x3]));if(!_0x243b72){console[_0x4fcffc(0x1d0)](_0x4fcffc(0x1b0),_0x22e26e);return;}this['obj']['quaternion'][_0x4fcffc(0x1e7)](_0x243b72);if(!this[_0x4fcffc(0x1bf)][_0x4fcffc(0x1ac)]){const _0x501148=new webgpu.Vector3(),_0x3709ac=new webgpu.Quaternion(),_0x4031dc=new webgpu.Vector3();this[_0x4fcffc(0x1bf)]['matrix'][_0x4fcffc(0x1fd)](_0x501148,_0x3709ac,_0x4031dc),this[_0x4fcffc(0x1bf)][_0x4fcffc(0x1e0)][_0x4fcffc(0x1c3)](_0x501148,_0x243b72,_0x4031dc);}this[_0x4fcffc(0x1dc)]&&this[_0x4fcffc(0x1dc)]['viewport'][_0x4fcffc(0x1c1)](),this[_0x4fcffc(0x1bf)][_0x4fcffc(0x1e6)](),this[_0x4fcffc(0x1bf)][_0x4fcffc(0x1e2)](!![]);}[_0x71ca0c(0x1d1)](){const _0xc9723a=_0x71ca0c;if(!this[_0xc9723a(0x1bf)])throw Error(_0xc9723a(0x1e3));if(this[_0xc9723a(0x1bf)][_0xc9723a(0x1ac)])return this[_0xc9723a(0x1bf)][_0xc9723a(0x1d2)]['clone']();else {const _0x5000d2=new webgpu.Vector3(),_0x179ff0=new webgpu.Quaternion(),_0x9a56e9=new webgpu.Vector3();return this['obj']['matrix'][_0xc9723a(0x1fd)](_0x5000d2,_0x179ff0,_0x9a56e9),_0x9a56e9;}}[_0x71ca0c(0x208)](..._0x22d6f6){const _0x2448c3=_0x71ca0c;var _0x14442a;if(!this[_0x2448c3(0x1bf)])throw Error(_0x2448c3(0x1e3));let _0x166533=null;if((_0x14442a=_0x22d6f6[0x0])===null||_0x14442a===void 0?void 0:_0x14442a[_0x2448c3(0x1dd)]){const _0x55e3e4=_0x22d6f6[0x0];_0x166533=new webgpu.Vector3(_0x55e3e4['x'],_0x55e3e4['y'],_0x55e3e4['z']);}else typeof _0x22d6f6[0x0]===_0x2448c3(0x1ec)&&typeof _0x22d6f6[0x1]===_0x2448c3(0x1ec)&&typeof _0x22d6f6[0x2]===_0x2448c3(0x1ec)&&(_0x166533=new webgpu.Vector3(_0x22d6f6[0x0],_0x22d6f6[0x1],_0x22d6f6[0x2]));if(!_0x166533)return;this[_0x2448c3(0x1bf)][_0x2448c3(0x1d2)][_0x2448c3(0x1e7)](_0x166533),this['obj'][_0x2448c3(0x1e6)](),this[_0x2448c3(0x1bf)][_0x2448c3(0x1e2)](!![]),this[_0x2448c3(0x1dc)]&&this[_0x2448c3(0x1dc)]['viewport']['markRenderStateDirty']();}[_0x71ca0c(0x1b6)](){const _0x1b334b=_0x71ca0c;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');return this[_0x1b334b(0x1bf)][_0x1b334b(0x1e0)];}['setMatrix'](_0x2b60ae){const _0x5c2aaf=_0x71ca0c;var _0x1a2dd5;if(!this[_0x5c2aaf(0x1bf)])throw Error(_0x5c2aaf(0x1e3));_0x2b60ae['decompose'](this['obj'][_0x5c2aaf(0x1fe)],this['obj'][_0x5c2aaf(0x1c4)],this[_0x5c2aaf(0x1bf)][_0x5c2aaf(0x1d2)]),this[_0x5c2aaf(0x1bf)][_0x5c2aaf(0x1e6)](),this['obj'][_0x5c2aaf(0x1e2)](!![]),(_0x1a2dd5=this[_0x5c2aaf(0x1dc)])===null||_0x1a2dd5===void 0?void 0:_0x1a2dd5[_0x5c2aaf(0x1ee)][_0x5c2aaf(0x1c1)]();}['getWorldPosition'](){const _0x378576=_0x71ca0c;if(!this[_0x378576(0x1bf)])throw Error(_0x378576(0x1e3));let _0xd4027c=new webgpu.Vector3();return this['obj'][_0x378576(0x1cd)](_0xd4027c),_0xd4027c;}[_0x71ca0c(0x1ef)](){const _0x48d2eb=_0x71ca0c;if(!this[_0x48d2eb(0x1bf)])throw Error(_0x48d2eb(0x1e3));let _0x4d6a05=new webgpu.Quaternion();return this['obj'][_0x48d2eb(0x1ad)](_0x4d6a05),new webgpu.Euler()[_0x48d2eb(0x1eb)](_0x4d6a05);}[_0x71ca0c(0x1ad)](){const _0x2372ec=_0x71ca0c;if(!this['obj'])throw Error(_0x2372ec(0x1e3));let _0x35abea=new webgpu.Quaternion();return this[_0x2372ec(0x1bf)]['getWorldQuaternion'](_0x35abea),_0x35abea;}['getWorldScale'](){const _0x13198f=_0x71ca0c;if(!this[_0x13198f(0x1bf)])throw Error(_0x13198f(0x1e3));let _0x225ef1=new webgpu.Vector3();return this[_0x13198f(0x1bf)][_0x13198f(0x1d6)](_0x225ef1),_0x225ef1;}[_0x71ca0c(0x1d9)](){const _0x355bdf=_0x71ca0c;if(!this[_0x355bdf(0x1bf)])throw Error(_0x355bdf(0x1e3));return this[_0x355bdf(0x1bf)][_0x355bdf(0x1e2)](!![]),this[_0x355bdf(0x1bf)][_0x355bdf(0x20a)][_0x355bdf(0x213)]();}[_0x71ca0c(0x1f5)](_0x4b9828){const _0x1a8ce7=_0x71ca0c;if(!this['obj'])throw Error(_0x1a8ce7(0x1e3));if(this[_0x1a8ce7(0x1bf)][_0x1a8ce7(0x1f4)]){this[_0x1a8ce7(0x1bf)][_0x1a8ce7(0x1f4)][_0x1a8ce7(0x1e2)](!![]);const _0x49de5f=this[_0x1a8ce7(0x1bf)]['parent'][_0x1a8ce7(0x20a)][_0x1a8ce7(0x213)]()[_0x1a8ce7(0x1af)](),_0x38c4d5=new webgpu.Matrix4()[_0x1a8ce7(0x1cb)](_0x49de5f,_0x4b9828);this[_0x1a8ce7(0x1c9)](_0x38c4d5);}else this[_0x1a8ce7(0x1c9)](_0x4b9828);this[_0x1a8ce7(0x1bf)][_0x1a8ce7(0x1e2)](!![]),this[_0x1a8ce7(0x1dc)]&&this['world'][_0x1a8ce7(0x1ee)]['markRenderStateDirty']();}['getWorldForwardDirection'](){const _0x48403d=_0x71ca0c;if(!this[_0x48403d(0x1bf)])throw Error(_0x48403d(0x1e3));let _0x4264b3=new webgpu.Vector3();return this[_0x48403d(0x1bf)][_0x48403d(0x204)](_0x4264b3),_0x4264b3;}['getWorldUpDirection'](){const _0x49b01b=_0x71ca0c;if(!this[_0x49b01b(0x1bf)])throw Error(_0x49b01b(0x1e3));let _0x4d86a0=new webgpu.Vector3(0x0,0x1,0x0);return _0x4d86a0[_0x49b01b(0x205)](this[_0x49b01b(0x1ad)]()),_0x4d86a0;}['getWorldRightDirection'](){const _0x51b257=_0x71ca0c;if(!this[_0x51b257(0x1bf)])throw Error(_0x51b257(0x1e3));let _0x19e6ed=new webgpu.Vector3(0x1,0x0,0x0);return _0x19e6ed[_0x51b257(0x205)](this[_0x51b257(0x1ad)]()),_0x19e6ed;}['worldToLocal'](_0x30cebd){const _0x2e1378=_0x71ca0c;if(!this[_0x2e1378(0x1bf)])throw Error(_0x2e1378(0x1e3));return this['obj'][_0x2e1378(0x1d8)](_0x30cebd);}['localToWorld'](_0x275fad){const _0x5f25e0=_0x71ca0c;if(!this[_0x5f25e0(0x1bf)])throw Error(_0x5f25e0(0x1e3));return this[_0x5f25e0(0x1bf)]['localToWorld'](_0x275fad);}['attachComponent'](_0x3db127){const _0x2dc6d1=_0x71ca0c;if(!this[_0x2dc6d1(0x1bf)])throw Error(_0x2dc6d1(0x1e3));if(!_0x3db127[_0x2dc6d1(0x210)])throw Error(_0x2dc6d1(0x1fc));this[_0x2dc6d1(0x1bf)][_0x2dc6d1(0x1ff)](_0x3db127[_0x2dc6d1(0x210)]),this[_0x2dc6d1(0x1dc)]&&_0x3db127[_0x2dc6d1(0x211)](this[_0x2dc6d1(0x1dc)]);}['detachComponent'](_0x269d52){const _0x4af53b=_0x71ca0c;if(!this[_0x4af53b(0x1bf)])throw Error(_0x4af53b(0x1e3));if(!_0x269d52[_0x4af53b(0x210)])throw Error(_0x4af53b(0x1f7));this[_0x4af53b(0x1bf)][_0x4af53b(0x1ae)](_0x269d52['threeObject']);}['addChildComponent'](_0x453a8b,_0x44f08e=exports.AttachmentRules['KeepRelative']){const _0x3c7fd2=_0x71ca0c;if(!this[_0x3c7fd2(0x1bf)])throw Error(_0x3c7fd2(0x1e3));if(!_0x453a8b[_0x3c7fd2(0x210)])throw Error(_0x3c7fd2(0x1fc));_0x453a8b['parentActor']=this[_0x3c7fd2(0x1db)];if(_0x44f08e===exports.AttachmentRules[_0x3c7fd2(0x1f1)]){let _0x3881ff=_0x453a8b['getWorldMatrix']();this['obj'][_0x3c7fd2(0x1ff)](_0x453a8b[_0x3c7fd2(0x210)]),_0x453a8b[_0x3c7fd2(0x1f5)](_0x3881ff);}else this[_0x3c7fd2(0x1bf)][_0x3c7fd2(0x1ff)](_0x453a8b[_0x3c7fd2(0x210)]);this[_0x3c7fd2(0x1dc)]&&_0x453a8b[_0x3c7fd2(0x211)](this['world']),this['obj'][_0x3c7fd2(0x1e6)](),this[_0x3c7fd2(0x1bf)][_0x3c7fd2(0x1e2)](!![]);}[_0x71ca0c(0x218)](_0x414373){const _0x3b853f=_0x71ca0c;if(!this[_0x3b853f(0x1bf)])throw Error('threeObject\x20is\x20invalid');if(!_0x414373[_0x3b853f(0x210)])throw Error(_0x3b853f(0x1e4));this[_0x3b853f(0x1bf)][_0x3b853f(0x1ae)](_0x414373[_0x3b853f(0x210)]);}[_0x71ca0c(0x1b5)](){const _0x2050e7=_0x71ca0c;this[_0x2050e7(0x1c0)]&&this[_0x2050e7(0x1c0)][_0x2050e7(0x218)](this);}['detachFromParentActor'](){const _0x30f089=_0x71ca0c;this[_0x30f089(0x1db)]&&(this[_0x30f089(0x1db)]=null);}[_0x71ca0c(0x1ab)](){const _0x5c5e6f=_0x71ca0c;var _0x458d82;if(!this[_0x5c5e6f(0x1bf)])return;let _0x233a13=[];for(let _0x378fbf=0x0;_0x378fbf<this['obj']['children'][_0x5c5e6f(0x1d7)];++_0x378fbf){let _0x3f33ba=(_0x458d82=this['obj'][_0x5c5e6f(0x1e5)][_0x378fbf]['userData'])===null||_0x458d82===void 0?void 0:_0x458d82[_0x5c5e6f(0x1d5)];_0x3f33ba&&_0x233a13[_0x5c5e6f(0x1bb)](_0x3f33ba);}_0x233a13[_0x5c5e6f(0x216)](_0x765ef2=>{const _0x16e382=_0x5c5e6f;_0x765ef2[_0x16e382(0x1c7)]();}),_0x233a13=[];}set[_0x71ca0c(0x1e9)](_0x7997aa){const _0x2dbc97=_0x71ca0c;this['bCanHover']=_0x7997aa;let _0x545bb2=this['childrenComponents'];for(let _0x8138a8=0x0;_0x8138a8<_0x545bb2['length'];++_0x8138a8){_0x545bb2[_0x8138a8]['isHoverEnabled']=this[_0x2dbc97(0x1cf)];}}get[_0x71ca0c(0x1e9)](){return this['bCanHover'];}set[_0x71ca0c(0x1f9)](_0x47be8b){const _0x51a182=_0x71ca0c;this[_0x51a182(0x20e)]=_0x47be8b;let _0x16dbf6=this[_0x51a182(0x1be)];for(let _0x1e6341=0x0;_0x1e6341<_0x16dbf6['length'];++_0x1e6341){_0x16dbf6[_0x1e6341][_0x51a182(0x1f9)]=this['bCanClick'];}}get[_0x71ca0c(0x1f9)](){const _0x259627=_0x71ca0c;return this[_0x259627(0x20e)];}[_0x71ca0c(0x1e8)](){const _0x42c133=_0x71ca0c;this[_0x42c133(0x1de)]['broadcast']();}[_0x71ca0c(0x1b2)](){const _0x585d89=_0x71ca0c;this['_onHoverEndDelegate'][_0x585d89(0x1ed)]();}[_0x71ca0c(0x1f8)](){const _0x45deb3=_0x71ca0c;this['_onClickDelegate'][_0x45deb3(0x1ed)]();}[_0x71ca0c(0x1f2)](){const _0x1ac765=_0x71ca0c;this[_0x1ac765(0x203)]['broadcast']();}}function _0x3530(){const _0x5b83dc=['onClicked','isClickEnabled','isEuler','8220kwhaoQ','newComponent\x20threeObject\x20is\x20invalid','decompose','position','add','getQuaternion','setPosition','getPosition','_onDoubleClickDelegate','getWorldDirection','applyQuaternion','5044380oCMWdY','layers','setScale','4KLvUXJ','matrixWorld','509085zXipuW','set','1834jPeJDz','bCanClick','destroyObject','threeObject','onAddedToWorld','setVisible','clone','getComponentById','_parentActor','forEach','getRotation','removeChildComponent','destroyChildren','matrixAutoUpdate','getWorldQuaternion','remove','invert','setQuaternion\x20failed,param\x20is\x20invalid','getBounds','onHorveringEnd','visible','1882645dulSda','detachFromParentComponent','getMatrix','tick','SceneComponent','isEmpty','max','push','setRotation','rotation','childrenComponents','obj','parentComponent','markRenderStateDirty','_onHoverEndDelegate','compose','quaternion','_onClickDelegate','1584987OFMZXe','destroy','580984AFoQHl','setMatrix','app','multiplyMatrices','createDefaultObject','getWorldPosition','uuid','bCanHover','error','getScale','scale','onDoubleClickDelegate','9KApTaY','LYObject','getWorldScale','length','worldToLocal','getWorldMatrix','onHoverBeginDelegate','parentActor','world','isVector3','_onHoverBeginDelegate','getBoundsBottomCenterPositionWS','matrix','setLayers','updateMatrixWorld','threeObject\x20is\x20invalid','targetComponent\x20threeObject\x20is\x20invalid','children','updateMatrix','copy','onHorveringBegin','isHoverEnabled','703098lflOxl','setFromQuaternion','number','broadcast','viewport','getWorldRotation','userData','KeepWorld','onDoubleClicked','getCenter','parent','setWorldMatrix','name','target\x20threeObject\x20is\x20invalid'];_0x3530=function(){return _0x5b83dc;};return _0x3530();}
|
|
41
41
|
|
|
42
|
-
const
|
|
42
|
+
function _0x48b0$1(_0x36b080,_0x3d99a2){_0x36b080=_0x36b080-0xb1;const _0x187334=_0x1873();let _0x48b0c2=_0x187334[_0x36b080];return _0x48b0c2;}const _0x5b0f50=_0x48b0$1;(function(_0x445ab0,_0x2a08ab){const _0x55cc05=_0x48b0$1,_0x35c8e8=_0x445ab0();while(!![]){try{const _0x3eb6d2=-parseInt(_0x55cc05(0xc4))/0x1+parseInt(_0x55cc05(0xc6))/0x2+-parseInt(_0x55cc05(0xb6))/0x3+parseInt(_0x55cc05(0xbf))/0x4+-parseInt(_0x55cc05(0xb4))/0x5+parseInt(_0x55cc05(0xd3))/0x6+parseInt(_0x55cc05(0xc8))/0x7;if(_0x3eb6d2===_0x2a08ab)break;else _0x35c8e8['push'](_0x35c8e8['shift']());}catch(_0x5b039e){_0x35c8e8['push'](_0x35c8e8['shift']());}}}(_0x1873,0xb9b2c));class MeshComponent extends SceneComponent{get[_0x5b0f50(0xcc)](){const _0x29d979=_0x5b0f50;if(!this[_0x29d979(0xc9)])throw new Error('threeObject\x20is\x20null');return this['obj'];}set[_0x5b0f50(0xcc)](_0x4a068a){const _0x13f4e5=_0x5b0f50;this['obj']=_0x4a068a,this[_0x13f4e5(0xc9)]&&(this[_0x13f4e5(0xc9)]['userData'][_0x13f4e5(0xbd)]=this);}get[_0x5b0f50(0xbb)](){const _0x446317=_0x5b0f50;if(!this[_0x446317(0xb8)])throw new Error('geometryPtr\x20is\x20null');return this[_0x446317(0xb8)][_0x446317(0xcf)]();}set[_0x5b0f50(0xbb)](_0x264795){const _0x18cbbc=_0x5b0f50;let _0x4f5ee3=this[_0x18cbbc(0xcb)][_0x18cbbc(0xc5)][_0x18cbbc(0xb1)](_0x264795);this['geometryPtr']=_0x4f5ee3;}get[_0x5b0f50(0xc7)](){const _0x291d30=_0x5b0f50;if(!this[_0x291d30(0xb8)])throw new Error(_0x291d30(0xc0));return this['_geometryPtr'];}set[_0x5b0f50(0xc7)](_0x274ad6){const _0x3c413b=_0x5b0f50;this[_0x3c413b(0xb8)]&&(this[_0x3c413b(0xb8)]['release'](),this[_0x3c413b(0xb8)]=null);this[_0x3c413b(0xb8)]=_0x274ad6;let _0x4a310c=_0x274ad6[_0x3c413b(0xcf)]();this['threeObject']&&_0x4a310c&&(this['threeObject']['geometry']=_0x4a310c);}get['material'](){const _0x39c466=_0x5b0f50;let _0x449e0e=[];return this[_0x39c466(0xd0)][_0x39c466(0xcd)](_0x4f294a=>{const _0x39294e=_0x39c466;let _0x5f3808=_0x4f294a[_0x39294e(0xcf)]();if(_0x5f3808)_0x449e0e[_0x39294e(0xd5)](_0x5f3808);}),_0x449e0e[_0x39c466(0xb3)]>0x1?_0x449e0e:_0x449e0e[0x0];}get[_0x5b0f50(0xc1)](){const _0x4f5581=_0x5b0f50;return this[_0x4f5581(0xc1)];}set[_0x5b0f50(0xc3)](_0x274fad){const _0x578de4=_0x5b0f50;let _0x485f29=Array[_0x578de4(0xbc)](_0x274fad)?_0x274fad:[_0x274fad],_0x3443fb=[];_0x485f29[_0x578de4(0xcd)](_0x512de4=>{const _0x1239d9=_0x578de4;let _0x1445fa=this[_0x1239d9(0xcb)]['assetManager'][_0x1239d9(0xb9)](_0x512de4);if(_0x1445fa)_0x3443fb[_0x1239d9(0xd5)](_0x1445fa);}),this[_0x578de4(0xc1)]=_0x3443fb;}set[_0x5b0f50(0xc1)](_0x397f88){const _0x2c5fcb=_0x5b0f50;this[_0x2c5fcb(0xd0)]&&(this[_0x2c5fcb(0xd0)][_0x2c5fcb(0xcd)](_0x8977b0=>{const _0x39dc2b=_0x2c5fcb;_0x8977b0[_0x39dc2b(0xb2)]();}),this['_materialPtr']=[]);let _0x5483d3=Array['isArray'](_0x397f88)?_0x397f88:[_0x397f88],_0x50843f=[];_0x5483d3[_0x2c5fcb(0xcd)](_0x47cf16=>{const _0x4cf98c=_0x2c5fcb;let _0x10dda5=_0x47cf16[_0x4cf98c(0xcf)]();if(_0x10dda5)_0x50843f[_0x4cf98c(0xd5)](_0x10dda5);_0x47cf16['addRef']();});if(this['threeObject']){if(_0x50843f[_0x2c5fcb(0xb3)]>0x0)this[_0x2c5fcb(0xcc)][_0x2c5fcb(0xc3)]=Array[_0x2c5fcb(0xbc)](_0x397f88)?_0x50843f[0x0]:_0x50843f;}this['_materialPtr']=_0x5483d3;}constructor(_0x18b298,_0x5bc153,_0x386267,_0x2fe97b){const _0xf9a020=_0x5b0f50;let _0xbd8aa8=[],_0xb25ffb=Array[_0xf9a020(0xbc)](_0x386267)?_0x386267:[_0x386267];_0xb25ffb[_0xf9a020(0xcd)](_0xf9f745=>{const _0x499f2d=_0xf9a020;let _0x4bd2ad=_0x18b298['assetManager'][_0x499f2d(0xb9)](_0xf9f745);if(_0x4bd2ad)_0xbd8aa8['push'](_0x4bd2ad);}),super(_0x18b298,_0x2fe97b),this[_0xf9a020(0xb8)]=_0x18b298[_0xf9a020(0xc5)][_0xf9a020(0xb1)](_0x5bc153),this[_0xf9a020(0xd0)]=_0xbd8aa8,_0xbd8aa8['forEach'](_0x390fb9=>{const _0x4c6025=_0xf9a020;_0x390fb9[_0x4c6025(0xca)]();}),this[_0xf9a020(0xcc)][_0xf9a020(0xc3)]=_0x386267,this['threeObject'][_0xf9a020(0xbb)]=_0x5bc153,this['castShadow']=!![],this[_0xf9a020(0xd1)]=!![];}['createDefaultObject'](){return new webgpu.Mesh();}set['castShadow'](_0x2ad7c1){const _0x3c7832=_0x5b0f50;if(this[_0x3c7832(0xcc)])this[_0x3c7832(0xcc)][_0x3c7832(0xb5)]=_0x2ad7c1;}get[_0x5b0f50(0xb5)](){return this['threeObject']?this['threeObject']['castShadow']:![];}set[_0x5b0f50(0xd1)](_0x2fa7f3){const _0x391f3f=_0x5b0f50;if(!this[_0x391f3f(0xcc)])return;this[_0x391f3f(0xcc)][_0x391f3f(0xd1)]=_0x2fa7f3;}get[_0x5b0f50(0xd1)](){const _0x5aa871=_0x5b0f50;return this[_0x5aa871(0xcc)]?this[_0x5aa871(0xcc)][_0x5aa871(0xd1)]:![];}['getBoundsCenterPosition'](){let _0x5968d3=new webgpu.Vector3();return this['getBounds']()['getCenter'](_0x5968d3),_0x5968d3;}[_0x5b0f50(0xba)](){const _0x176118=_0x5b0f50;let _0x2ac7dd=new webgpu.Vector3(),_0x18ec71=this[_0x176118(0xb7)]();return _0x18ec71[_0x176118(0xce)](_0x2ac7dd),_0x2ac7dd['y']=_0x18ec71[_0x176118(0xc2)]['y'],_0x2ac7dd;}[_0x5b0f50(0xbe)](){const _0x3e273d=_0x5b0f50;let _0x1e8219=new webgpu.Vector3(),_0x121cea=this[_0x3e273d(0xb7)]();return _0x121cea['getCenter'](_0x1e8219),_0x1e8219['y']=_0x121cea[_0x3e273d(0xd4)]['y'],_0x1e8219;}[_0x5b0f50(0xd2)](){const _0x3041f3=_0x5b0f50;var _0x44078b;this[_0x3041f3(0xcc)]&&this['threeObject']['removeFromParent']();(_0x44078b=this[_0x3041f3(0xb8)])===null||_0x44078b===void 0?void 0:_0x44078b[_0x3041f3(0xb2)]();let _0x58a22f=Array[_0x3041f3(0xbc)](this[_0x3041f3(0xd0)])?this[_0x3041f3(0xd0)]:[this[_0x3041f3(0xd0)]];_0x58a22f[_0x3041f3(0xcd)](_0x100ef9=>{_0x100ef9['release']();}),super[_0x3041f3(0xd2)]();}}function _0x1873(){const _0x170db9=['obj','addRef','app','threeObject','forEach','getCenter','getValue','_materialPtr','receiveShadow','destroyObject','3381282xRbXgx','min','push','addGeometryAsset','release','length','6804720rQTRaF','castShadow','1133616nTPaEm','getBounds','_geometryPtr','addMaterialAsset','getBoundsTopCenterPosition','geometry','isArray','LYObject','getBoundsBottomCenterPosition','4995520wMvJZz','geometryPtr\x20is\x20null','materialPtr','max','material','273067lcFfXd','assetManager','1685020EUiRzV','geometryPtr','822962aaDCJE'];_0x1873=function(){return _0x170db9;};return _0x1873();}
|
|
43
43
|
|
|
44
|
-
function
|
|
44
|
+
const _0x5037c4=_0x59f1;function _0x59f1(_0x35bfe9,_0x8b51f3){_0x35bfe9=_0x35bfe9-0x1b6;const _0x3aae7a=_0x3aae();let _0x59f199=_0x3aae7a[_0x35bfe9];return _0x59f199;}function _0x3aae(){const _0xf2f62c=['assetManager','dispose','_geometryPtr','getValue','push','receiveShadow','release','556Ygesva','min','userData','4414144MxHkSj','1857558uxKzgd','obj','isArray','geometry','32344749ifVcFw','count','_materialPtr','destroyObject','978EFYDWz','material','1474215XLxOjP','length','createDefaultObject','13479GROaOM','threeObject','InstanceMeshComponent:\x20threeObject\x20is\x20null','19061ipqUqu','setMatrixAt','castShadow','forEach','getMatrixAt','removeFromParent','instanceMatrix','LYObject','671877jjAsOP'];_0x3aae=function(){return _0xf2f62c;};return _0x3aae();}(function(_0x252ddd,_0x506bee){const _0x34f2f4=_0x59f1,_0x3ecc45=_0x252ddd();while(!![]){try{const _0x43ccf9=-parseInt(_0x34f2f4(0x1cf))/0x1+-parseInt(_0x34f2f4(0x1b7))/0x2+-parseInt(_0x34f2f4(0x1c4))/0x3*(parseInt(_0x34f2f4(0x1d7))/0x4)+parseInt(_0x34f2f4(0x1c1))/0x5+-parseInt(_0x34f2f4(0x1bf))/0x6*(parseInt(_0x34f2f4(0x1c7))/0x7)+-parseInt(_0x34f2f4(0x1b6))/0x8+parseInt(_0x34f2f4(0x1bb))/0x9;if(_0x43ccf9===_0x506bee)break;else _0x3ecc45['push'](_0x3ecc45['shift']());}catch(_0x145078){_0x3ecc45['push'](_0x3ecc45['shift']());}}}(_0x3aae,0xa3100));class InstanceMeshComponent extends SceneComponent{get[_0x5037c4(0x1c5)](){const _0x5c3a28=_0x5037c4;if(!this['obj'])throw new Error(_0x5c3a28(0x1c6));return this[_0x5c3a28(0x1b8)];}set[_0x5037c4(0x1c5)](_0x348f9a){const _0x10d3fb=_0x5037c4;this[_0x10d3fb(0x1b8)]=_0x348f9a,this['obj']&&(this[_0x10d3fb(0x1b8)][_0x10d3fb(0x1d9)][_0x10d3fb(0x1ce)]=this);}get['geometry'](){const _0x198a07=_0x5037c4;var _0x2b3c29,_0x8890f6;return (_0x8890f6=(_0x2b3c29=this[_0x198a07(0x1d2)])===null||_0x2b3c29===void 0?void 0:_0x2b3c29[_0x198a07(0x1d3)]())!==null&&_0x8890f6!==void 0?_0x8890f6:null;}get['material'](){const _0x20e4b1=_0x5037c4,_0x16f5fd=[];return this[_0x20e4b1(0x1bd)][_0x20e4b1(0x1ca)](_0x2bb26a=>{const _0x2cf2fc=_0x20e4b1,_0x5807dd=_0x2bb26a[_0x2cf2fc(0x1d3)]();if(_0x5807dd)_0x16f5fd[_0x2cf2fc(0x1d4)](_0x5807dd);}),_0x16f5fd[_0x20e4b1(0x1c2)]>0x1?_0x16f5fd:_0x16f5fd[0x0];}get[_0x5037c4(0x1bc)](){return this['threeObject']['count'];}set[_0x5037c4(0x1bc)](_0x1376bb){const _0x2d8051=_0x5037c4;this['threeObject'][_0x2d8051(0x1bc)]=_0x1376bb;}set[_0x5037c4(0x1c9)](_0x1d89ab){const _0x591db4=_0x5037c4;if(this[_0x591db4(0x1c5)])this[_0x591db4(0x1c5)][_0x591db4(0x1c9)]=_0x1d89ab;}get[_0x5037c4(0x1c9)](){const _0x124a57=_0x5037c4;return this[_0x124a57(0x1c5)]?this[_0x124a57(0x1c5)][_0x124a57(0x1c9)]:![];}set['receiveShadow'](_0x50306a){const _0x4b4ad1=_0x5037c4;if(!this[_0x4b4ad1(0x1c5)])return;this[_0x4b4ad1(0x1c5)][_0x4b4ad1(0x1d5)]=_0x50306a;}get['receiveShadow'](){const _0x3c7ed3=_0x5037c4;return this[_0x3c7ed3(0x1c5)]?this[_0x3c7ed3(0x1c5)][_0x3c7ed3(0x1d5)]:![];}constructor(_0x54e068,_0x96544c,_0x1bdc1d){const _0x2fb34b=_0x5037c4;super(_0x54e068,_0x1bdc1d),this['_geometryPtr']=null,this['_materialPtr']=[];_0x96544c['geometry']&&(this[_0x2fb34b(0x1d2)]=_0x54e068[_0x2fb34b(0x1d0)]['addGeometryAsset'](_0x96544c[_0x2fb34b(0x1ba)]));const _0x38aef9=Array[_0x2fb34b(0x1b9)](_0x96544c[_0x2fb34b(0x1c0)])?_0x96544c['material']:[_0x96544c[_0x2fb34b(0x1c0)]];_0x38aef9[_0x2fb34b(0x1ca)](_0x261847=>{const _0x2a6f1a=_0x2fb34b,_0x23e31c=_0x54e068[_0x2a6f1a(0x1d0)]['addMaterialAsset'](_0x261847);_0x23e31c&&(_0x23e31c['addRef'](),this['_materialPtr'][_0x2a6f1a(0x1d4)](_0x23e31c));}),this[_0x2fb34b(0x1c5)]=_0x96544c,this['castShadow']=!![],this[_0x2fb34b(0x1d5)]=!![];}[_0x5037c4(0x1c3)](){return new webgpu.InstancedMesh(undefined,undefined,0x0);}[_0x5037c4(0x1cb)](_0x1ebc89,_0x455299){const _0x1c0504=_0x5037c4;this[_0x1c0504(0x1c5)][_0x1c0504(0x1cb)](_0x1ebc89,_0x455299);}[_0x5037c4(0x1c8)](_0x188e63,_0xe57e63){const _0x5ae249=_0x5037c4;this[_0x5ae249(0x1c5)][_0x5ae249(0x1c8)](_0x188e63,_0xe57e63),this['threeObject'][_0x5ae249(0x1cd)]['needsUpdate']=!![];}['updateMatrices'](_0x24a2fd){const _0x259117=_0x5037c4,_0x10aff4=Math[_0x259117(0x1d8)](_0x24a2fd['length'],this[_0x259117(0x1c5)]['count']);for(let _0x44e2f8=0x0;_0x44e2f8<_0x10aff4;_0x44e2f8++){this[_0x259117(0x1c5)][_0x259117(0x1c8)](_0x44e2f8,_0x24a2fd[_0x44e2f8]);}this[_0x259117(0x1c5)][_0x259117(0x1cd)]['needsUpdate']=!![];}[_0x5037c4(0x1be)](){const _0x25989c=_0x5037c4;var _0x39b3f4;this[_0x25989c(0x1c5)]&&(this[_0x25989c(0x1c5)][_0x25989c(0x1cc)](),this[_0x25989c(0x1c5)][_0x25989c(0x1d1)]()),(_0x39b3f4=this['_geometryPtr'])===null||_0x39b3f4===void 0?void 0:_0x39b3f4[_0x25989c(0x1d6)](),this[_0x25989c(0x1d2)]=null,this[_0x25989c(0x1bd)]['forEach'](_0x42b725=>{const _0x513913=_0x25989c;_0x42b725[_0x513913(0x1d6)]();}),this[_0x25989c(0x1bd)]=[],super['destroyObject']();}}
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
var _0x412a0c=_0x170f;(function(_0x5d944e,_0x1534eb){var _0x2ca1e9=_0x170f,_0x572c6c=_0x5d944e();while(!![]){try{var _0x441ef7=parseInt(_0x2ca1e9(0xad))/0x1+-parseInt(_0x2ca1e9(0xb1))/0x2+parseInt(_0x2ca1e9(0xb4))/0x3+parseInt(_0x2ca1e9(0xb0))/0x4*(-parseInt(_0x2ca1e9(0xaf))/0x5)+-parseInt(_0x2ca1e9(0xb2))/0x6+parseInt(_0x2ca1e9(0xb3))/0x7+parseInt(_0x2ca1e9(0xb5))/0x8;if(_0x441ef7===_0x1534eb)break;else _0x572c6c['push'](_0x572c6c['shift']());}catch(_0xb9f8a5){_0x572c6c['push'](_0x572c6c['shift']());}}}(_0x1d8f$1,0x8d2a7));class TSmartPointer{constructor(_0x1d8238,_0x547c14=0x1){var _0x3a7985=_0x170f;this['referenceCount']=0x1,this[_0x3a7985(0xae)]=null,this[_0x3a7985(0xae)]=_0x1d8238,this[_0x3a7985(0xb6)]=_0x547c14;}['getRefCount'](){return this['referenceCount'];}['isValid'](){var _0x6535cd=_0x170f;return this[_0x6535cd(0xae)]!==null;}[_0x412a0c(0xac)](_0x39ada0=0x1){var _0x178585=_0x412a0c;this[_0x178585(0xae)]!==null&&(this[_0x178585(0xb6)]+=_0x39ada0);}['release'](){var _0xf7f420=_0x412a0c;this[_0xf7f420(0xae)]!==null&&this['referenceCount']>0x0&&(this[_0xf7f420(0xb6)]--,this[_0xf7f420(0xb6)]===0x0&&this[_0xf7f420(0xab)]());}['forceRelease'](){var _0x1ac72c=_0x412a0c;this[_0x1ac72c(0xae)]!==null&&(this[_0x1ac72c(0xab)](),this[_0x1ac72c(0xb6)]=0x0);}[_0x412a0c(0xab)](){this['value']=null;}['getValue'](){return this['value'];}}function _0x170f(_0x392521,_0x8cb424){_0x392521=_0x392521-0xab;var _0x1d8f2c=_0x1d8f$1();var _0x170f15=_0x1d8f2c[_0x392521];return _0x170f15;}function _0x1d8f$1(){var _0x1202e0=['340535RkCSwz','value','1461565npPywD','4xMxmgz','1215486YfuGhc','6336180hdqvqk','7545104ScfeDi','491718HDqtYU','7615904CQKuQe','referenceCount','dispose','addRef'];_0x1d8f$1=function(){return _0x1202e0;};return _0x1d8f$1();}
|
|
47
47
|
|
|
48
|
-
const
|
|
48
|
+
function _0x1ed2(_0x3aee8f,_0x4d7523){_0x3aee8f=_0x3aee8f-0xb6;const _0x308e5b=_0x308e();let _0x1ed208=_0x308e5b[_0x3aee8f];return _0x1ed208;}const _0x3927bd=_0x1ed2;(function(_0x45309e,_0x2748a3){const _0x4af99a=_0x1ed2,_0x42ce87=_0x45309e();while(!![]){try{const _0x1979a0=-parseInt(_0x4af99a(0xbe))/0x1*(parseInt(_0x4af99a(0xb6))/0x2)+parseInt(_0x4af99a(0xc3))/0x3+parseInt(_0x4af99a(0xbc))/0x4+-parseInt(_0x4af99a(0xb8))/0x5+parseInt(_0x4af99a(0xba))/0x6+-parseInt(_0x4af99a(0xc6))/0x7*(parseInt(_0x4af99a(0xbb))/0x8)+parseInt(_0x4af99a(0xbf))/0x9;if(_0x1979a0===_0x2748a3)break;else _0x42ce87['push'](_0x42ce87['shift']());}catch(_0x3a0cf6){_0x42ce87['push'](_0x42ce87['shift']());}}}(_0x308e,0x9a3db));function _0x308e(){const _0x2ecbda=['192684YsfFTj','assetPointer','1bVADtO','12919500YTGkoL','function','dispose','uuid','1831308ozpclX','editorAssetId','value','7ESoxZw','1455046iyFrJX','userData','4148250QXvTPR','_uuid','6314130yMFSfH','7660144GDHcHB'];_0x308e=function(){return _0x2ecbda;};return _0x308e();}const ASSET_POINTER_KEY=_0x3927bd(0xbd);const EDITOR_ASSET_ID_KEY=_0x3927bd(0xc4);class TAssetPointer extends TSmartPointer{get[_0x3927bd(0xc2)](){return this['_uuid'];}constructor(_0x37835b,_0x797afe=0x0){const _0x588706=_0x3927bd;super(_0x37835b,_0x797afe),this[_0x588706(0xb9)]=_0x37835b['uuid'],_0x37835b[_0x588706(0xb7)][ASSET_POINTER_KEY]=this;}[_0x3927bd(0xc1)](){const _0x55ded7=_0x3927bd;this['value']&&(this[_0x55ded7(0xc5)]['userData']&&(delete this[_0x55ded7(0xc5)][_0x55ded7(0xb7)][ASSET_POINTER_KEY],delete this[_0x55ded7(0xc5)][_0x55ded7(0xb7)][EDITOR_ASSET_ID_KEY]),typeof this[_0x55ded7(0xc5)][_0x55ded7(0xc1)]===_0x55ded7(0xc0)&&this[_0x55ded7(0xc5)]['dispose']()),super['dispose']();}}
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
const _0x4848ec=_0x22d2;(function(_0x5979a0,_0x81ce81){const _0x257801=_0x22d2,_0xef8284=_0x5979a0();while(!![]){try{const _0x1cce4d=-parseInt(_0x257801(0x158))/0x1*(parseInt(_0x257801(0x16a))/0x2)+parseInt(_0x257801(0x169))/0x3*(parseInt(_0x257801(0x164))/0x4)+-parseInt(_0x257801(0x160))/0x5*(-parseInt(_0x257801(0x162))/0x6)+parseInt(_0x257801(0x15e))/0x7+parseInt(_0x257801(0x159))/0x8+-parseInt(_0x257801(0x16e))/0x9+-parseInt(_0x257801(0x15d))/0xa;if(_0x1cce4d===_0x81ce81)break;else _0xef8284['push'](_0xef8284['shift']());}catch(_0x551a5c){_0xef8284['push'](_0xef8284['shift']());}}}(_0x5069,0x234af));class MaterialAssetPointer extends TAssetPointer{constructor(_0x3f31cb,_0x5c9140,_0x55ca85=0x0){const _0x27e2be=_0x22d2;super(_0x3f31cb,_0x55ca85),this[_0x27e2be(0x16d)]=_0x5c9140;}get[_0x4848ec(0x166)](){const _0x5d6702=_0x4848ec;return this[_0x5d6702(0x16d)];}[_0x4848ec(0x165)](_0xcfa57e,_0x17482f){const _0x5eb035=_0x4848ec,_0x3e1f1c=this[_0x5eb035(0x15a)](),_0x576ec3=_0x17482f[_0x5eb035(0x15a)]();if(!_0x576ec3)throw new Error(_0x5eb035(0x157));if(!_0x3e1f1c)throw new Error(_0x5eb035(0x15f));const _0x176c03=this[_0x5eb035(0x16d)]['get'](_0xcfa57e);_0x176c03!==_0x17482f&&(_0x176c03&&_0x176c03[_0x5eb035(0x168)](),this[_0x5eb035(0x16d)][_0x5eb035(0x15b)](_0xcfa57e,_0x17482f),_0x3e1f1c[_0xcfa57e]=_0x576ec3,_0x17482f[_0x5eb035(0x16c)](),_0x3e1f1c[_0x5eb035(0x167)]=!![]);}['removeTexture'](_0x42e757){const _0x28dbf2=_0x4848ec,_0x3e3fad=this[_0x28dbf2(0x15a)](),_0x2a56ba=this[_0x28dbf2(0x16d)][_0x28dbf2(0x161)](_0x42e757);_0x2a56ba&&(_0x2a56ba[_0x28dbf2(0x168)](),this[_0x28dbf2(0x16d)][_0x28dbf2(0x163)](_0x42e757),_0x3e3fad&&(_0x3e3fad[_0x42e757]=null,_0x3e3fad[_0x28dbf2(0x167)]=!![]));}['dispose'](){const _0x28d011=_0x4848ec;for(const _0x3e7679 of this['textures'][_0x28d011(0x16f)]()){_0x3e7679[_0x28d011(0x168)]();}this[_0x28d011(0x16d)][_0x28d011(0x16b)](),super[_0x28d011(0x15c)]();}}function _0x22d2(_0x4b2655,_0x18921f){_0x4b2655=_0x4b2655-0x157;const _0x5069c9=_0x5069();let _0x22d2b0=_0x5069c9[_0x4b2655];return _0x22d2b0;}function _0x5069(){const _0xa4b245=['needsUpdate','release','91434CwishY','3098GBfJhV','clear','addRef','textures','382014WzOffA','values','Texture\x20is\x20null','16bGVYpk','1454808vZevmN','getValue','set','dispose','4008860vbSmgK','1333199ZYrSkn','Material\x20is\x20null','135105wPCJSk','get','6bQayyE','delete','28xSTNPv','setTexture','texturePointers'];_0x5069=function(){return _0xa4b245;};return _0x5069();}
|
|
51
51
|
|
|
52
|
-
(function(
|
|
52
|
+
(function(_0x3e648f,_0x1c7caa){var _0x2d96fe=_0x5115,_0x17946f=_0x3e648f();while(!![]){try{var _0x29eea0=-parseInt(_0x2d96fe(0x95))/0x1+-parseInt(_0x2d96fe(0x98))/0x2+-parseInt(_0x2d96fe(0x9b))/0x3*(-parseInt(_0x2d96fe(0x9a))/0x4)+-parseInt(_0x2d96fe(0x97))/0x5*(parseInt(_0x2d96fe(0x9c))/0x6)+parseInt(_0x2d96fe(0x99))/0x7*(-parseInt(_0x2d96fe(0x9e))/0x8)+-parseInt(_0x2d96fe(0x9f))/0x9+parseInt(_0x2d96fe(0x96))/0xa*(parseInt(_0x2d96fe(0x9d))/0xb);if(_0x29eea0===_0x1c7caa)break;else _0x17946f['push'](_0x17946f['shift']());}catch(_0x169e6e){_0x17946f['push'](_0x17946f['shift']());}}}(_0x4362,0x348ab));function _0x5115(_0x149161,_0xc9c9a9){_0x149161=_0x149161-0x95;var _0x436216=_0x4362();var _0x5115e7=_0x436216[_0x149161];return _0x5115e7;}class TextureAssetPointer extends TAssetPointer{constructor(_0xa46d1f,_0x1d81d3=0x1){super(_0xa46d1f,_0x1d81d3);}}function _0x4362(){var _0x26c35a=['6QVzMhg','2552eGcPLr','8vvuuAI','707283ckPCFV','55273SvPYiU','12040hcdRjA','154790LsZBwL','265606xZoqHP','283633enuSbl','204mzPrXW','16119SKtpzv'];_0x4362=function(){return _0x26c35a;};return _0x4362();}
|
|
53
53
|
|
|
54
|
-
(function(
|
|
54
|
+
(function(_0x4792fe,_0x5eb689){var _0x54c40f=_0x421a,_0x4685bd=_0x4792fe();while(!![]){try{var _0x46e868=parseInt(_0x54c40f(0x1b2))/0x1*(parseInt(_0x54c40f(0x1b1))/0x2)+parseInt(_0x54c40f(0x1b4))/0x3+-parseInt(_0x54c40f(0x1ae))/0x4+-parseInt(_0x54c40f(0x1af))/0x5*(-parseInt(_0x54c40f(0x1b0))/0x6)+-parseInt(_0x54c40f(0x1b5))/0x7*(-parseInt(_0x54c40f(0x1ac))/0x8)+parseInt(_0x54c40f(0x1b3))/0x9+-parseInt(_0x54c40f(0x1ad))/0xa;if(_0x46e868===_0x5eb689)break;else _0x4685bd['push'](_0x4685bd['shift']());}catch(_0x2d49a2){_0x4685bd['push'](_0x4685bd['shift']());}}}(_0x151b,0x2594a));function _0x151b(){var _0x178bb4=['380933DkUmcN','24WdOylZ','3410390xDdmMk','1193424inmWiR','30fqGdYh','266124nCvhVQ','83362pJagQN','2dfzEIx','690237LTdCMi','611667crguSI'];_0x151b=function(){return _0x178bb4;};return _0x151b();}function _0x421a(_0x59513f,_0x39881c){_0x59513f=_0x59513f-0x1ac;var _0x151bf2=_0x151b();var _0x421a7f=_0x151bf2[_0x59513f];return _0x421a7f;}class GeometryAssetPointer extends TAssetPointer{constructor(_0x2dc227,_0x58622a=0x1){super(_0x2dc227,_0x58622a);}}
|
|
55
55
|
|
|
56
|
-
function _0x4013(){const _0x868d74=['name','addChildComponent','assetPointer','releaseAsset','manager','isArray','992469jnSXCS','forceRelease','onError','setDRACOLoader','init','setKTX2Loader','children','forEach','addMaterialAsset','onLoad','_dracoLoader','clear','6093aCaLTv','isMesh','14296ZXZqVO','loadGltfFromPath','Failed\x20to\x20load\x20gltf','addGeometryAsset','385538lOowvR','geometry','dracoPath','layers','setPosition','clone','position','KTX2Loader','geometries','collectResourcesAndReferences','2655842eFWdtX','textureAssets','isInstancedMesh','2111360IbriGq','addTextureAsset','materials','userData','materialAssets','setScale','parse','190542waQBPW','setupDracoLoader','onProgress','load','preload','release','scale','set','Group','onStart','addRef','140ufqVXY','type','loadFile','addAsset','uuid','get','dispose','geometryAssets','_ktx2Loader','loadAsync','rotation','loadingManager','setRotation','values','entries','app','material','textures','checkMeshResource','656150CALFgN','loadGltfFromBuffer','convertThreeObjectToLYObject','Object3D','setDecoderPath'];_0x4013=function(){return _0x868d74;};return _0x4013();}const _0x2f0845=_0x1bdd;(function(_0x42f2cf,_0x2cbdee){const _0x1bdbbb=_0x1bdd,_0x144022=_0x42f2cf();while(!![]){try{const _0x3a6939=-parseInt(_0x1bdbbb(0xcc))/0x1+parseInt(_0x1bdbbb(0xfe))/0x2+parseInt(_0x1bdbbb(0xba))/0x3+-parseInt(_0x1bdbbb(0xd9))/0x4+parseInt(_0x1bdbbb(0xeb))/0x5*(-parseInt(_0x1bdbbb(0xe0))/0x6)+parseInt(_0x1bdbbb(0xd6))/0x7+-parseInt(_0x1bdbbb(0xc8))/0x8*(-parseInt(_0x1bdbbb(0xc6))/0x9);if(_0x3a6939===_0x2cbdee)break;else _0x144022['push'](_0x144022['shift']());}catch(_0xc1786f){_0x144022['push'](_0x144022['shift']());}}}(_0x4013,0x6cc59));function _0x1bdd(_0x3a6567,_0x58bf2b){_0x3a6567=_0x3a6567-0xb3;const _0x4013a2=_0x4013();let _0x1bdd91=_0x4013a2[_0x3a6567];return _0x1bdd91;}class AssetManager{constructor(_0x19b553,_0xf9056b){const _0x4df269=_0x1bdd;this[_0x4df269(0xf2)]=new Map(),this[_0x4df269(0xd7)]=new Map(),this['materialAssets']=new Map(),this[_0x4df269(0xf6)]=new webgpu.LoadingManager(),this['gltfLoader']=new Addons_js.GLTFLoader(this['loadingManager']),this[_0x4df269(0xfa)]=_0x19b553,this[_0x4df269(0xce)]=_0xf9056b;}get['LoadingManager'](){const _0x355232=_0x1bdd;return this[_0x355232(0xf6)];}get[_0x2f0845(0xd3)](){const _0x10c9ae=_0x2f0845;return AssetManager[_0x10c9ae(0xf3)];}async[_0x2f0845(0xbe)](){return;}['setupDracoLoader'](){const _0x20e2ff=_0x2f0845;if(!AssetManager[_0x20e2ff(0xc4)]){AssetManager[_0x20e2ff(0xc4)]=new Addons_js.DRACOLoader();if(AssetManager[_0x20e2ff(0xc4)][_0x20e2ff(0xb8)]){const _0x12fce9=AssetManager[_0x20e2ff(0xc4)][_0x20e2ff(0xb8)];_0x12fce9[_0x20e2ff(0xe9)]=undefined,_0x12fce9[_0x20e2ff(0xc3)]=undefined,_0x12fce9[_0x20e2ff(0xe2)]=undefined,_0x12fce9[_0x20e2ff(0xbc)]=undefined;}AssetManager[_0x20e2ff(0xc4)][_0x20e2ff(0xb3)](this[_0x20e2ff(0xce)]),AssetManager[_0x20e2ff(0xc4)][_0x20e2ff(0xe4)]();}}[_0x2f0845(0x100)](_0x13928d,_0x2117e4){const _0x4f3304=_0x2f0845,_0x3548b6=_0x2117e4[_0x4f3304(0xd2)][_0x4f3304(0xd1)](),_0x322320=_0x2117e4[_0x4f3304(0xf5)]['clone'](),_0x32834b=_0x2117e4[_0x4f3304(0xe6)][_0x4f3304(0xd1)]();let _0x551dd4=null;const _0x45ae18=_0x2117e4[_0x4f3304(0xc0)];_0x2117e4[_0x4f3304(0xc0)]=[];if(_0x2117e4['type']===_0x4f3304(0xe8)||_0x2117e4[_0x4f3304(0xec)]===_0x4f3304(0x101))_0x551dd4=new SceneComponent(this['app'],_0x2117e4[_0x4f3304(0xef)]);else {if(_0x2117e4[_0x4f3304(0xd8)]){const _0xb0fc61=_0x2117e4;_0x551dd4=new InstanceMeshComponent(this[_0x4f3304(0xfa)],_0xb0fc61,_0xb0fc61[_0x4f3304(0xef)]),_0x551dd4[_0x4f3304(0xb4)]=_0xb0fc61[_0x4f3304(0xb4)],_0x2117e4['layers']['set'](0x0);}else {if(_0x2117e4[_0x4f3304(0xc7)]){const _0x59e35a=_0x2117e4;_0x551dd4=new MeshComponent(this[_0x4f3304(0xfa)],_0x59e35a[_0x4f3304(0xcd)],_0x59e35a[_0x4f3304(0xfb)],_0x59e35a[_0x4f3304(0xef)]),_0x551dd4['name']=_0x59e35a['name'],_0x2117e4[_0x4f3304(0xcf)]['set'](0x0);}else _0x551dd4=new SceneComponent(this['app'],_0x2117e4[_0x4f3304(0xef)]);}}if(_0x551dd4===null)return _0x2117e4[_0x4f3304(0xc0)]=_0x45ae18,null;_0x13928d[_0x4f3304(0xb5)](_0x551dd4),_0x551dd4[_0x4f3304(0xd0)](_0x3548b6),_0x551dd4[_0x4f3304(0xf7)](_0x322320),_0x551dd4[_0x4f3304(0xde)](_0x32834b);for(const _0x1c28a5 of _0x45ae18){this[_0x4f3304(0x100)](_0x551dd4,_0x1c28a5);}return _0x551dd4;}[_0x2f0845(0xd5)](_0x188f8f){const _0x19b280=_0x2f0845,_0x20e5f1=(_0x646490,_0x34070b)=>{const _0x5e3a69=_0x1bdd;var _0x93053;const _0x246ca4=(_0x93053=_0x646490[_0x5e3a69(0xf0)](_0x34070b))!==null&&_0x93053!==void 0?_0x93053:0x0;_0x646490['set'](_0x34070b,_0x246ca4+0x1);},_0x52ed51={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x188f8f['traverse'](_0x11423a=>{const _0x4c29d7=_0x1bdd,_0x3a8e12=_0x11423a;_0x3a8e12[_0x4c29d7(0xcd)]instanceof webgpu.BufferGeometry&&_0x20e5f1(_0x52ed51[_0x4c29d7(0xd4)],_0x3a8e12['geometry']);if(_0x3a8e12['material']){const _0x5a5783=Array['isArray'](_0x3a8e12['material'])?_0x3a8e12[_0x4c29d7(0xfb)]:[_0x3a8e12[_0x4c29d7(0xfb)]];_0x5a5783[_0x4c29d7(0xc1)](_0x339764=>{const _0x461e8b=_0x4c29d7;_0x339764&&(_0x20e5f1(_0x52ed51[_0x461e8b(0xdb)],_0x339764),Object[_0x461e8b(0xf8)](_0x339764)['forEach'](_0x442730=>{const _0x26a469=_0x461e8b;_0x442730 instanceof webgpu.Texture&&_0x20e5f1(_0x52ed51[_0x26a469(0xfc)],_0x442730);}));});}}),_0x52ed51['geometries'][_0x19b280(0xc1)]((_0x11362e,_0x69f52f)=>this[_0x19b280(0xee)](_0x69f52f,_0x11362e)),_0x52ed51[_0x19b280(0xdb)][_0x19b280(0xc1)]((_0x52ac06,_0x3cd684)=>this[_0x19b280(0xee)](_0x3cd684,_0x52ac06)),_0x52ed51[_0x19b280(0xfc)]['forEach']((_0x58c484,_0x556756)=>this['addAsset'](_0x556756,_0x58c484));}[_0x2f0845(0xfd)](_0x3514ac){const _0x386f92=_0x2f0845;_0x3514ac['geometry']&&!_0x3514ac[_0x386f92(0xcd)]['userData'][_0x386f92(0xb6)]&&this['addAsset'](_0x3514ac[_0x386f92(0xcd)]);if(_0x3514ac[_0x386f92(0xfb)]){const _0x45e443=Array[_0x386f92(0xb9)](_0x3514ac[_0x386f92(0xfb)])?_0x3514ac['material']:[_0x3514ac[_0x386f92(0xfb)]];_0x45e443[_0x386f92(0xc1)](_0x45974c=>{const _0x36810a=_0x386f92;if(!_0x45974c)return;!_0x45974c[_0x36810a(0xdc)][_0x36810a(0xb6)]&&this[_0x36810a(0xee)](_0x45974c),Object[_0x36810a(0xf8)](_0x45974c)[_0x36810a(0xc1)](_0xcbd0e1=>{const _0x51604a=_0x36810a;_0xcbd0e1 instanceof webgpu.Texture&&!_0xcbd0e1[_0x51604a(0xdc)]['assetPointer']&&this['addAsset'](_0xcbd0e1);});});}}async['loadGltfFromPathAsync'](_0x367a9b){const _0x16dd71=_0x2f0845;this[_0x16dd71(0xe1)]();const _0x6a89d8=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x16dd71(0xc4)]&&_0x6a89d8[_0x16dd71(0xbd)](AssetManager['_dracoLoader']);AssetManager[_0x16dd71(0xf3)]&&_0x6a89d8[_0x16dd71(0xbf)](AssetManager[_0x16dd71(0xf3)]);try{const _0x1cc023=await _0x6a89d8[_0x16dd71(0xf4)](_0x367a9b);return _0x1cc023;}catch(_0x5be081){console['error'](_0x16dd71(0xca),_0x367a9b,_0x5be081);throw _0x5be081;}}[_0x2f0845(0xc9)](_0x33d933,_0x1d6f10){const _0x309e2e=_0x2f0845;this[_0x309e2e(0xe1)]();const _0x535b11=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x535b11[_0x309e2e(0xbd)](AssetManager[_0x309e2e(0xc4)]),_0x535b11[_0x309e2e(0xe3)](_0x33d933,_0x1d6f10);}[_0x2f0845(0xff)](_0x338801,_0x347fcb,_0x2b0792){const _0x3d9fbe=_0x2f0845;this[_0x3d9fbe(0xe1)]();const _0x113c08=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x113c08[_0x3d9fbe(0xbd)](AssetManager['_dracoLoader']),_0x113c08[_0x3d9fbe(0xdf)](_0x338801,_0x347fcb,_0x2b0792);}[_0x2f0845(0xed)](_0x593b81='',_0x116f63){const _0x501255=_0x2f0845,_0x5204d0=new webgpu.FileLoader();_0x5204d0[_0x501255(0xe3)](_0x593b81,_0x116f63);}[_0x2f0845(0xee)](_0x2eb68d,_0x1fc0d1=0x0){const _0x4cd9e3=_0x2f0845;if(_0x2eb68d instanceof webgpu.BufferGeometry)return this[_0x4cd9e3(0xcb)](_0x2eb68d,_0x1fc0d1);if(_0x2eb68d instanceof webgpu.Material)return this['addMaterialAsset'](_0x2eb68d,_0x1fc0d1);if(_0x2eb68d instanceof webgpu.Texture)return this[_0x4cd9e3(0xda)](_0x2eb68d,_0x1fc0d1);return undefined;}[_0x2f0845(0xc2)](_0x3164dd,_0x189585=0x0){const _0x3ffe9f=_0x2f0845;let _0x24dc80=_0x3164dd[_0x3ffe9f(0xdc)]['assetPointer'];if(!_0x24dc80){const _0x5ab459=new Map();Object[_0x3ffe9f(0xf9)](_0x3164dd)[_0x3ffe9f(0xc1)](([_0x2245cc,_0x58ea89])=>{const _0x21f734=_0x3ffe9f;if(_0x58ea89 instanceof webgpu.Texture){const _0x4df801=this['addTextureAsset'](_0x58ea89,0x1);_0x5ab459[_0x21f734(0xe7)](_0x2245cc,_0x4df801);}}),_0x24dc80=new MaterialAssetPointer(_0x3164dd,_0x5ab459,_0x189585),this[_0x3ffe9f(0xdd)]['set'](_0x3164dd['uuid'],_0x24dc80);}else _0x24dc80[_0x3ffe9f(0xea)](_0x189585);return _0x24dc80;}[_0x2f0845(0xda)](_0x3c6923,_0x46f94a=0x0){const _0x3bd713=_0x2f0845;let _0x48b86e=_0x3c6923[_0x3bd713(0xdc)][_0x3bd713(0xb6)];return !_0x48b86e?(_0x48b86e=new TextureAssetPointer(_0x3c6923,_0x46f94a),this[_0x3bd713(0xd7)][_0x3bd713(0xe7)](_0x3c6923[_0x3bd713(0xef)],_0x48b86e)):_0x48b86e['addRef'](_0x46f94a),_0x48b86e;}[_0x2f0845(0xcb)](_0x515360,_0x109c83=0x0){const _0x3cf832=_0x2f0845;let _0x32d911=_0x515360['userData'][_0x3cf832(0xb6)];return !_0x32d911?(_0x32d911=new GeometryAssetPointer(_0x515360,_0x109c83),this[_0x3cf832(0xf2)]['set'](_0x515360['uuid'],_0x32d911)):_0x32d911[_0x3cf832(0xea)](_0x109c83),_0x32d911;}[_0x2f0845(0xb7)](_0x572d6a){const _0x336d66=_0x2f0845,_0x4eb7a0=_0x572d6a[_0x336d66(0xdc)][_0x336d66(0xb6)];_0x4eb7a0?_0x4eb7a0[_0x336d66(0xe5)]():_0x572d6a['dispose']();}[_0x2f0845(0xf1)](){const _0x4bbf82=_0x2f0845;this['clearAssets'](),AssetManager['_dracoLoader']&&(AssetManager[_0x4bbf82(0xc4)][_0x4bbf82(0xf1)](),AssetManager[_0x4bbf82(0xc4)]=null),AssetManager['_ktx2Loader']&&(AssetManager[_0x4bbf82(0xf3)]['dispose'](),AssetManager[_0x4bbf82(0xf3)]=null);}['clearAssets'](){const _0x45751d=_0x2f0845;this['geometryAssets'][_0x45751d(0xc1)](_0xd82872=>_0xd82872[_0x45751d(0xbb)]()),this['geometryAssets'][_0x45751d(0xc5)](),this['materialAssets']['forEach'](_0x5aa801=>_0x5aa801[_0x45751d(0xbb)]()),this['materialAssets'][_0x45751d(0xc5)](),this[_0x45751d(0xd7)]['forEach'](_0x5ab030=>_0x5ab030['forceRelease']()),this['textureAssets']['clear']();}}AssetManager[_0x2f0845(0xc4)]=null,AssetManager[_0x2f0845(0xf3)]=null;
|
|
56
|
+
const _0x169d24=_0x5b03;(function(_0x5b1db3,_0x464288){const _0x3f448e=_0x5b03,_0x47bfd8=_0x5b1db3();while(!![]){try{const _0x5156f9=parseInt(_0x3f448e(0x121))/0x1+-parseInt(_0x3f448e(0x14b))/0x2*(-parseInt(_0x3f448e(0x148))/0x3)+-parseInt(_0x3f448e(0x158))/0x4*(-parseInt(_0x3f448e(0x14a))/0x5)+parseInt(_0x3f448e(0x133))/0x6+-parseInt(_0x3f448e(0x123))/0x7*(parseInt(_0x3f448e(0x13d))/0x8)+-parseInt(_0x3f448e(0x12d))/0x9*(parseInt(_0x3f448e(0x134))/0xa)+-parseInt(_0x3f448e(0x140))/0xb;if(_0x5156f9===_0x464288)break;else _0x47bfd8['push'](_0x47bfd8['shift']());}catch(_0x27e0c1){_0x47bfd8['push'](_0x47bfd8['shift']());}}}(_0x350e,0x7afbc));function _0x350e(){const _0x25159e=['loadGltfFromBuffer','init','Failed\x20to\x20load\x20gltf','uuid','addMaterialAsset','position','clone','materialAssets','addChildComponent','loadingManager','load','textures','dispose','setRotation','forceRelease','396726NVCtPq','dracoPath','7zxOQLp','isArray','setDecoderPath','onLoad','parse','setScale','addTextureAsset','loadGltfFromPathAsync','material','forEach','3354849wOQYXs','layers','app','clear','addAsset','geometries','3729702YuSeyQ','10KmKjIW','entries','materials','loadGltfFromPath','addRef','releaseAsset','release','gltfLoader','preload','3016432wwMRHE','scale','type','17472532waQnFK','isMesh','geometry','_dracoLoader','collectResourcesAndReferences','setKTX2Loader','assetPointer','checkMeshResource','3nvfqhk','addGeometryAsset','160465rvqAiK','1657482KpLbnM','KTX2Loader','convertThreeObjectToLYObject','isInstancedMesh','children','LoadingManager','onStart','userData','manager','textureAssets','loadFile','setDRACOLoader','setupDracoLoader','124GNILiU','clearAssets','set','error','_ktx2Loader','geometryAssets','Object3D'];_0x350e=function(){return _0x25159e;};return _0x350e();}function _0x5b03(_0x3c37da,_0x42a059){_0x3c37da=_0x3c37da-0x10e;const _0x350e70=_0x350e();let _0x5b0302=_0x350e70[_0x3c37da];return _0x5b0302;}class AssetManager{constructor(_0x460b52,_0x5a2e99){const _0x5ac5ee=_0x5b03;this[_0x5ac5ee(0x110)]=new Map(),this['textureAssets']=new Map(),this[_0x5ac5ee(0x119)]=new Map(),this[_0x5ac5ee(0x11b)]=new webgpu.LoadingManager(),this[_0x5ac5ee(0x13b)]=new Addons_js.GLTFLoader(this[_0x5ac5ee(0x11b)]),this[_0x5ac5ee(0x12f)]=_0x460b52,this['dracoPath']=_0x5a2e99;}get[_0x169d24(0x150)](){const _0x3994e5=_0x169d24;return this[_0x3994e5(0x11b)];}get[_0x169d24(0x14c)](){const _0xa58f3d=_0x169d24;return AssetManager[_0xa58f3d(0x10f)];}async[_0x169d24(0x113)](){return;}[_0x169d24(0x157)](){const _0x4e765b=_0x169d24;if(!AssetManager[_0x4e765b(0x143)]){AssetManager['_dracoLoader']=new Addons_js.DRACOLoader();if(AssetManager['_dracoLoader'][_0x4e765b(0x153)]){const _0x59ee73=AssetManager[_0x4e765b(0x143)]['manager'];_0x59ee73[_0x4e765b(0x151)]=undefined,_0x59ee73[_0x4e765b(0x126)]=undefined,_0x59ee73['onProgress']=undefined,_0x59ee73['onError']=undefined;}AssetManager['_dracoLoader'][_0x4e765b(0x125)](this[_0x4e765b(0x122)]),AssetManager[_0x4e765b(0x143)][_0x4e765b(0x13c)]();}}['convertThreeObjectToLYObject'](_0x2e01ed,_0x56afae){const _0x33f7d6=_0x169d24,_0x45d6cd=_0x56afae[_0x33f7d6(0x117)][_0x33f7d6(0x118)](),_0x25c2d6=_0x56afae['rotation'][_0x33f7d6(0x118)](),_0x1c8e09=_0x56afae[_0x33f7d6(0x13e)][_0x33f7d6(0x118)]();let _0x5ee143=null;const _0x3b0163=_0x56afae[_0x33f7d6(0x14f)];_0x56afae[_0x33f7d6(0x14f)]=[];if(_0x56afae[_0x33f7d6(0x13f)]==='Group'||_0x56afae['type']===_0x33f7d6(0x111))_0x5ee143=new SceneComponent(this['app'],_0x56afae[_0x33f7d6(0x115)]);else {if(_0x56afae[_0x33f7d6(0x14e)]){const _0x50ec88=_0x56afae;_0x5ee143=new InstanceMeshComponent(this[_0x33f7d6(0x12f)],_0x50ec88,_0x50ec88[_0x33f7d6(0x115)]),_0x5ee143['name']=_0x50ec88['name'],_0x56afae[_0x33f7d6(0x12e)][_0x33f7d6(0x15a)](0x0);}else {if(_0x56afae[_0x33f7d6(0x141)]){const _0x262bc1=_0x56afae;_0x5ee143=new MeshComponent(this['app'],_0x262bc1[_0x33f7d6(0x142)],_0x262bc1[_0x33f7d6(0x12b)],_0x262bc1[_0x33f7d6(0x115)]),_0x5ee143['name']=_0x262bc1['name'],_0x56afae['layers'][_0x33f7d6(0x15a)](0x0);}else _0x5ee143=new SceneComponent(this[_0x33f7d6(0x12f)],_0x56afae[_0x33f7d6(0x115)]);}}if(_0x5ee143===null)return _0x56afae['children']=_0x3b0163,null;_0x2e01ed[_0x33f7d6(0x11a)](_0x5ee143),_0x5ee143['setPosition'](_0x45d6cd),_0x5ee143[_0x33f7d6(0x11f)](_0x25c2d6),_0x5ee143[_0x33f7d6(0x128)](_0x1c8e09);for(const _0x51c884 of _0x3b0163){this[_0x33f7d6(0x14d)](_0x5ee143,_0x51c884);}return _0x5ee143;}[_0x169d24(0x144)](_0x145aed){const _0x43a265=_0x169d24,_0x206767=(_0x424884,_0x3ed7d7)=>{const _0x18d8f9=_0x5b03;var _0x352877;const _0x1c02ef=(_0x352877=_0x424884['get'](_0x3ed7d7))!==null&&_0x352877!==void 0?_0x352877:0x0;_0x424884[_0x18d8f9(0x15a)](_0x3ed7d7,_0x1c02ef+0x1);},_0x2e3938={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x145aed['traverse'](_0x66c945=>{const _0x1ac266=_0x5b03,_0xa3daa=_0x66c945;_0xa3daa['geometry']instanceof webgpu.BufferGeometry&&_0x206767(_0x2e3938[_0x1ac266(0x132)],_0xa3daa[_0x1ac266(0x142)]);if(_0xa3daa[_0x1ac266(0x12b)]){const _0x11972b=Array['isArray'](_0xa3daa[_0x1ac266(0x12b)])?_0xa3daa['material']:[_0xa3daa[_0x1ac266(0x12b)]];_0x11972b[_0x1ac266(0x12c)](_0x3707ab=>{const _0x5ca905=_0x1ac266;_0x3707ab&&(_0x206767(_0x2e3938['materials'],_0x3707ab),Object['values'](_0x3707ab)[_0x5ca905(0x12c)](_0x25b8e5=>{const _0x13da35=_0x5ca905;_0x25b8e5 instanceof webgpu.Texture&&_0x206767(_0x2e3938[_0x13da35(0x11d)],_0x25b8e5);}));});}}),_0x2e3938[_0x43a265(0x132)]['forEach']((_0x20f31e,_0x2a037c)=>this[_0x43a265(0x131)](_0x2a037c,_0x20f31e)),_0x2e3938[_0x43a265(0x136)][_0x43a265(0x12c)]((_0x3f0679,_0x414bde)=>this[_0x43a265(0x131)](_0x414bde,_0x3f0679)),_0x2e3938[_0x43a265(0x11d)][_0x43a265(0x12c)]((_0x5aa369,_0x13bce8)=>this['addAsset'](_0x13bce8,_0x5aa369));}[_0x169d24(0x147)](_0xe3a98){const _0x50e066=_0x169d24;_0xe3a98[_0x50e066(0x142)]&&!_0xe3a98[_0x50e066(0x142)][_0x50e066(0x152)]['assetPointer']&&this[_0x50e066(0x131)](_0xe3a98[_0x50e066(0x142)]);if(_0xe3a98[_0x50e066(0x12b)]){const _0x2c0764=Array[_0x50e066(0x124)](_0xe3a98[_0x50e066(0x12b)])?_0xe3a98[_0x50e066(0x12b)]:[_0xe3a98[_0x50e066(0x12b)]];_0x2c0764[_0x50e066(0x12c)](_0x2f4ae5=>{const _0x4a5fa4=_0x50e066;if(!_0x2f4ae5)return;!_0x2f4ae5['userData'][_0x4a5fa4(0x146)]&&this[_0x4a5fa4(0x131)](_0x2f4ae5),Object['values'](_0x2f4ae5)[_0x4a5fa4(0x12c)](_0x424502=>{const _0x382ca8=_0x4a5fa4;_0x424502 instanceof webgpu.Texture&&!_0x424502['userData'][_0x382ca8(0x146)]&&this[_0x382ca8(0x131)](_0x424502);});});}}async[_0x169d24(0x12a)](_0x5c7873){const _0x364450=_0x169d24;this[_0x364450(0x157)]();const _0x15e96a=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x364450(0x143)]&&_0x15e96a['setDRACOLoader'](AssetManager[_0x364450(0x143)]);AssetManager[_0x364450(0x10f)]&&_0x15e96a[_0x364450(0x145)](AssetManager[_0x364450(0x10f)]);try{const _0x2429b7=await _0x15e96a['loadAsync'](_0x5c7873);return _0x2429b7;}catch(_0xebfeac){console[_0x364450(0x10e)](_0x364450(0x114),_0x5c7873,_0xebfeac);throw _0xebfeac;}}[_0x169d24(0x137)](_0x51ad5b,_0x3ca67a){const _0x522d08=_0x169d24;this[_0x522d08(0x157)]();const _0xf299d3=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x522d08(0x143)]&&_0xf299d3[_0x522d08(0x156)](AssetManager['_dracoLoader']),_0xf299d3[_0x522d08(0x11c)](_0x51ad5b,_0x3ca67a);}[_0x169d24(0x112)](_0x1aefbd,_0x20f7be,_0x2b7f2e){const _0x252178=_0x169d24;this[_0x252178(0x157)]();const _0x2dde7a=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x252178(0x143)]&&_0x2dde7a['setDRACOLoader'](AssetManager[_0x252178(0x143)]),_0x2dde7a[_0x252178(0x127)](_0x1aefbd,_0x20f7be,_0x2b7f2e);}[_0x169d24(0x155)](_0x11c95d='',_0x736042){const _0x585762=_0x169d24,_0x4b6f7c=new webgpu.FileLoader();_0x4b6f7c[_0x585762(0x11c)](_0x11c95d,_0x736042);}[_0x169d24(0x131)](_0x5a7c5a,_0x511c7e=0x0){const _0x25c700=_0x169d24;if(_0x5a7c5a instanceof webgpu.BufferGeometry)return this[_0x25c700(0x149)](_0x5a7c5a,_0x511c7e);if(_0x5a7c5a instanceof webgpu.Material)return this['addMaterialAsset'](_0x5a7c5a,_0x511c7e);if(_0x5a7c5a instanceof webgpu.Texture)return this[_0x25c700(0x129)](_0x5a7c5a,_0x511c7e);return undefined;}[_0x169d24(0x116)](_0x485b9d,_0x47f4d1=0x0){const _0xd528e5=_0x169d24;let _0x2e2f6a=_0x485b9d['userData'][_0xd528e5(0x146)];if(!_0x2e2f6a){const _0x4adbbe=new Map();Object[_0xd528e5(0x135)](_0x485b9d)[_0xd528e5(0x12c)](([_0x550290,_0x1563db])=>{const _0x590762=_0xd528e5;if(_0x1563db instanceof webgpu.Texture){const _0x350b5f=this[_0x590762(0x129)](_0x1563db,0x1);_0x4adbbe[_0x590762(0x15a)](_0x550290,_0x350b5f);}}),_0x2e2f6a=new MaterialAssetPointer(_0x485b9d,_0x4adbbe,_0x47f4d1),this[_0xd528e5(0x119)][_0xd528e5(0x15a)](_0x485b9d['uuid'],_0x2e2f6a);}else _0x2e2f6a['addRef'](_0x47f4d1);return _0x2e2f6a;}['addTextureAsset'](_0x4db26f,_0x59fb76=0x0){const _0x2fe55e=_0x169d24;let _0x32f44a=_0x4db26f[_0x2fe55e(0x152)][_0x2fe55e(0x146)];return !_0x32f44a?(_0x32f44a=new TextureAssetPointer(_0x4db26f,_0x59fb76),this['textureAssets'][_0x2fe55e(0x15a)](_0x4db26f['uuid'],_0x32f44a)):_0x32f44a['addRef'](_0x59fb76),_0x32f44a;}['addGeometryAsset'](_0x1a3ea4,_0x48d0da=0x0){const _0x48a076=_0x169d24;let _0x146da1=_0x1a3ea4[_0x48a076(0x152)][_0x48a076(0x146)];return !_0x146da1?(_0x146da1=new GeometryAssetPointer(_0x1a3ea4,_0x48d0da),this[_0x48a076(0x110)][_0x48a076(0x15a)](_0x1a3ea4[_0x48a076(0x115)],_0x146da1)):_0x146da1[_0x48a076(0x138)](_0x48d0da),_0x146da1;}[_0x169d24(0x139)](_0x3c98f7){const _0x4f0aed=_0x169d24,_0x3a853f=_0x3c98f7[_0x4f0aed(0x152)][_0x4f0aed(0x146)];_0x3a853f?_0x3a853f[_0x4f0aed(0x13a)]():_0x3c98f7[_0x4f0aed(0x11e)]();}[_0x169d24(0x11e)](){const _0x24f769=_0x169d24;this['clearAssets'](),AssetManager[_0x24f769(0x143)]&&(AssetManager[_0x24f769(0x143)]['dispose'](),AssetManager[_0x24f769(0x143)]=null),AssetManager[_0x24f769(0x10f)]&&(AssetManager[_0x24f769(0x10f)][_0x24f769(0x11e)](),AssetManager[_0x24f769(0x10f)]=null);}[_0x169d24(0x159)](){const _0x27fed2=_0x169d24;this[_0x27fed2(0x110)][_0x27fed2(0x12c)](_0x448452=>_0x448452[_0x27fed2(0x120)]()),this['geometryAssets'][_0x27fed2(0x130)](),this['materialAssets'][_0x27fed2(0x12c)](_0x54198b=>_0x54198b[_0x27fed2(0x120)]()),this[_0x27fed2(0x119)]['clear'](),this[_0x27fed2(0x154)]['forEach'](_0x52c4a9=>_0x52c4a9[_0x27fed2(0x120)]()),this[_0x27fed2(0x154)][_0x27fed2(0x130)]();}}AssetManager[_0x169d24(0x143)]=null,AssetManager['_ktx2Loader']=null;
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
var AssetManager$1 = /*#__PURE__*/Object.freeze({
|
|
59
|
+
__proto__: null,
|
|
60
|
+
AssetManager: AssetManager
|
|
61
|
+
});
|
|
59
62
|
|
|
60
|
-
(function(
|
|
63
|
+
(function(_0x1e2b14,_0x5dc39b){var _0x13d10b=_0x1f4f,_0x2c024f=_0x1e2b14();while(!![]){try{var _0x1605ae=-parseInt(_0x13d10b(0x13e))/0x1+-parseInt(_0x13d10b(0x12d))/0x2+-parseInt(_0x13d10b(0x126))/0x3+-parseInt(_0x13d10b(0x13d))/0x4*(-parseInt(_0x13d10b(0x123))/0x5)+-parseInt(_0x13d10b(0x13a))/0x6+parseInt(_0x13d10b(0x121))/0x7+-parseInt(_0x13d10b(0x133))/0x8*(-parseInt(_0x13d10b(0x12f))/0x9);if(_0x1605ae===_0x5dc39b)break;else _0x2c024f['push'](_0x2c024f['shift']());}catch(_0x1f02ab){_0x2c024f['push'](_0x2c024f['shift']());}}}(_0x374e,0x96ce0));exports.AssetCategory = void 0;function _0x1f4f(_0x467510,_0x496783){_0x467510=_0x467510-0x11f;var _0x374e28=_0x374e();var _0x1f4f91=_0x374e28[_0x467510];return _0x1f4f91;}(function(_0x5e4ddb){var _0x452e0d=_0x1f4f;_0x5e4ddb[_0x452e0d(0x12a)]=_0x452e0d(0x120),_0x5e4ddb['Material']='material',_0x5e4ddb['Texture']='texture',_0x5e4ddb[_0x452e0d(0x134)]=_0x452e0d(0x128),_0x5e4ddb['ActorManager']=_0x452e0d(0x125),_0x5e4ddb[_0x452e0d(0x12b)]=_0x452e0d(0x12c),_0x5e4ddb[_0x452e0d(0x135)]=_0x452e0d(0x137),_0x5e4ddb[_0x452e0d(0x122)]=_0x452e0d(0x13b),_0x5e4ddb[_0x452e0d(0x124)]='undefined';}(exports.AssetCategory||(exports.AssetCategory={})));exports.AssetLoadState = void 0;(function(_0x573d00){var _0x333ff2=_0x1f4f;_0x573d00[_0x333ff2(0x136)]='unloaded',_0x573d00['Loading']=_0x333ff2(0x129),_0x573d00['Loaded']='loaded',_0x573d00[_0x333ff2(0x12e)]=_0x333ff2(0x132);}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;(function(_0x13c661){var _0x3ec6ff=_0x1f4f;_0x13c661[_0x3ec6ff(0x134)]=_0x3ec6ff(0x128),_0x13c661['Component']=_0x3ec6ff(0x131),_0x13c661['Material']=_0x3ec6ff(0x130),_0x13c661['Level']=_0x3ec6ff(0x12c),_0x13c661['AssetPointer']=_0x3ec6ff(0x11f),_0x13c661[_0x3ec6ff(0x127)]=_0x3ec6ff(0x139);}(exports.ReferenceType||(exports.ReferenceType={})));function _0x374e(){var _0x1522a5=['Unloaded','html','undefined','external','176586eysHDx','code','texture','100fPXcVT','950576seQwCR','assetPointer','geometry','1651104DQiQFz','Code','229110rHlKEe','Undefined','actorManager','601008mDbkhb','External','actor','loading','Geometry','Level','level','2388472Uviwfr','Error','837NTrbNd','material','component','error','138568KewJYG','Actor','HTML'];_0x374e=function(){return _0x1522a5;};return _0x374e();}exports.AssetType = void 0;(function(_0x57a31d){var _0x4d2d0f=_0x1f4f;_0x57a31d[_0x57a31d['geometry']=0x1]=_0x4d2d0f(0x120),_0x57a31d[_0x57a31d[_0x4d2d0f(0x130)]=0x2]='material',_0x57a31d[_0x57a31d[_0x4d2d0f(0x13c)]=0x3]=_0x4d2d0f(0x13c),_0x57a31d[_0x57a31d['undefined']=-1]=_0x4d2d0f(0x138);}(exports.AssetType||(exports.AssetType={})));
|
|
61
64
|
|
|
62
|
-
const _0x3f7616=_0x503f;function _0x234b(){const _0x50044f=['get','980251cVwgnS','getWorldAABB','sign','distance','has','onHitDelegate','push','onEndOverlapDelegate','normal','tick','63txWIqz','raycastAll','Block','onBeginOverlapDelegate','getPairKey','debugDrawEnabled','lineTraceMulti','from','delete','computeAabbHit','add','Visibility','sub','uuid','previousOverlapPairs','Ignore','length','filter','function','set','point','generateHitEvents','sort','Overlap','626845ktmEgJ','clone','lineTraceSingle','20420wVVtOO','3632ZplXnH','generateOverlapEvents','intersectRayAabb','getCenter','multiplyScalar','1050222usRLTA','collisionEnabled','max','registerCollider','_debugDrawEnabled','2356936FwOEPU','penetrationDepth','16155BgqGuh','clear','previousBlockPairs','632534pZELAQ','getMutualResponse','unregisterCollider','colliders','min','6423sNSqih','raycast','intersectsBox','broadcast','getCollisionResponse'];_0x234b=function(){return _0x50044f;};return _0x234b();}(function(_0x1e27e5,_0x2567a5){const _0xe94284=_0x503f,_0x3e1602=_0x1e27e5();while(!![]){try{const _0xf2cb16=parseInt(_0xe94284(0x165))/0x1+parseInt(_0xe94284(0x15a))/0x2+-parseInt(_0xe94284(0x15f))/0x3*(-parseInt(_0xe94284(0x14b))/0x4)+parseInt(_0xe94284(0x147))/0x5+-parseInt(_0xe94284(0x150))/0x6*(-parseInt(_0xe94284(0x16f))/0x7)+-parseInt(_0xe94284(0x155))/0x8+-parseInt(_0xe94284(0x157))/0x9*(parseInt(_0xe94284(0x14a))/0xa);if(_0xf2cb16===_0x2567a5)break;else _0x3e1602['push'](_0x3e1602['shift']());}catch(_0x2434cc){_0x3e1602['push'](_0x3e1602['shift']());}}}(_0x234b,0xef8f9));function _0x503f(_0x4a6169,_0x349765){_0x4a6169=_0x4a6169-0x13b;const _0x234b47=_0x234b();let _0x503fb1=_0x234b47[_0x4a6169];return _0x503fb1;}class PhysicsWorld{constructor(){const _0x2f0cf1=_0x503f;this['colliders']=new Set(),this['previousOverlapPairs']=new Map(),this[_0x2f0cf1(0x159)]=new Map(),this[_0x2f0cf1(0x154)]=![];}get[_0x3f7616(0x174)](){const _0x3260a2=_0x3f7616;return this[_0x3260a2(0x154)];}set[_0x3f7616(0x174)](_0x4f83c1){const _0x1da881=_0x3f7616;if(this[_0x1da881(0x154)]===_0x4f83c1)return;this[_0x1da881(0x154)]=_0x4f83c1;for(const _0x31cde6 of this[_0x1da881(0x15d)]){_0x31cde6['debugEnabled']=_0x4f83c1;}}[_0x3f7616(0x153)](_0x36502d){const _0x250ae2=_0x3f7616;this[_0x250ae2(0x15d)]['add'](_0x36502d),this[_0x250ae2(0x154)]&&(_0x36502d['debugEnabled']=!![]);}[_0x3f7616(0x15c)](_0x2463bd){const _0x578ec1=_0x3f7616;this['colliders']['delete'](_0x2463bd);for(const [_0x1adcdd,_0x3dd653]of this['previousOverlapPairs']){(_0x3dd653[0x0]===_0x2463bd||_0x3dd653[0x1]===_0x2463bd)&&this['previousOverlapPairs'][_0x578ec1(0x177)](_0x1adcdd);}for(const [_0x270b57,_0x350ad2]of this[_0x578ec1(0x159)]){(_0x350ad2[0x0]===_0x2463bd||_0x350ad2[0x1]===_0x2463bd)&&this[_0x578ec1(0x159)][_0x578ec1(0x177)](_0x270b57);}}[_0x3f7616(0x158)](){const _0x59e4c2=_0x3f7616;this['colliders'][_0x59e4c2(0x158)](),this[_0x59e4c2(0x13d)][_0x59e4c2(0x158)](),this['previousBlockPairs'][_0x59e4c2(0x158)]();}[_0x3f7616(0x149)](_0x5d4f6c,_0x355b71,_0x3ecd62=exports.CollisionChannel[_0x3f7616(0x17a)],_0x4965ec){const _0x21b3e6=_0x3f7616,_0x2cba81=_0x355b71['clone']()[_0x21b3e6(0x13b)](_0x5d4f6c),_0x4b02f9=_0x2cba81[_0x21b3e6(0x13f)]();if(_0x4b02f9<=0.000001)return null;const _0x1cb54c=_0x2cba81[_0x21b3e6(0x14f)](0x1/_0x4b02f9);let _0x42c79a=null;for(const _0x172419 of this[_0x21b3e6(0x15d)]){if(_0x172419===_0x4965ec)continue;if(!_0x172419[_0x21b3e6(0x151)])continue;const _0x5ab87e=_0x172419[_0x21b3e6(0x163)](_0x3ecd62);if(_0x5ab87e!==exports.CollisionResponse[_0x21b3e6(0x171)])continue;const _0x4f222d=_0x172419[_0x21b3e6(0x166)](new webgpu.Box3()),_0x1ab76a=this[_0x21b3e6(0x14d)](_0x5d4f6c,_0x1cb54c,_0x4b02f9,_0x4f222d);if(!_0x1ab76a)continue;const _0x49f3ea=_0x172419,_0x96a3bc=typeof _0x49f3ea[_0x21b3e6(0x160)]===_0x21b3e6(0x141)?_0x49f3ea['raycast'](_0x5d4f6c,_0x1cb54c,_0x4b02f9):_0x1ab76a;if(!_0x96a3bc)continue;(!_0x42c79a||_0x96a3bc['distance']<_0x42c79a[_0x21b3e6(0x168)])&&(_0x42c79a={'collider':_0x172419,'point':_0x96a3bc[_0x21b3e6(0x143)],'normal':_0x96a3bc['normal'],'distance':_0x96a3bc[_0x21b3e6(0x168)],'blocking':!![]});}return _0x42c79a;}[_0x3f7616(0x175)](_0x519f62,_0x15ee1c,_0x1d98dd=exports.CollisionChannel[_0x3f7616(0x17a)],_0x504f3c){const _0x1cb0d8=_0x3f7616,_0x15f1cd=_0x15ee1c[_0x1cb0d8(0x148)]()[_0x1cb0d8(0x13b)](_0x519f62),_0x30766a=_0x15f1cd['length']();if(_0x30766a<=0.000001)return [];const _0x139519=_0x15f1cd[_0x1cb0d8(0x14f)](0x1/_0x30766a),_0xd762b4=[];for(const _0x2cc9fe of this['colliders']){if(_0x2cc9fe===_0x504f3c)continue;if(!_0x2cc9fe['collisionEnabled'])continue;const _0x56b20b=_0x2cc9fe[_0x1cb0d8(0x163)](_0x1d98dd);if(_0x56b20b===exports.CollisionResponse[_0x1cb0d8(0x13e)])continue;const _0x20e37d=_0x2cc9fe['getWorldAABB'](new webgpu.Box3()),_0x49d17b=this[_0x1cb0d8(0x14d)](_0x519f62,_0x139519,_0x30766a,_0x20e37d);if(!_0x49d17b)continue;const _0x3c5209=_0x2cc9fe;if(typeof _0x3c5209[_0x1cb0d8(0x170)]===_0x1cb0d8(0x141)){const _0x507e22=_0x3c5209[_0x1cb0d8(0x170)](_0x519f62,_0x139519,_0x30766a);for(const _0x1a4be9 of _0x507e22){_0xd762b4[_0x1cb0d8(0x16b)]({'collider':_0x2cc9fe,'point':_0x1a4be9[_0x1cb0d8(0x143)],'normal':_0x1a4be9['normal'],'distance':_0x1a4be9[_0x1cb0d8(0x168)],'blocking':_0x56b20b===exports.CollisionResponse[_0x1cb0d8(0x171)]});}}else {const _0x2134e0=typeof _0x3c5209[_0x1cb0d8(0x160)]==='function'?_0x3c5209[_0x1cb0d8(0x160)](_0x519f62,_0x139519,_0x30766a):_0x49d17b;if(!_0x2134e0)continue;_0xd762b4[_0x1cb0d8(0x16b)]({'collider':_0x2cc9fe,'point':_0x2134e0['point'],'normal':_0x2134e0[_0x1cb0d8(0x16d)],'distance':_0x2134e0['distance'],'blocking':_0x56b20b===exports.CollisionResponse[_0x1cb0d8(0x171)]});}}return _0xd762b4[_0x1cb0d8(0x145)]((_0x52a0f6,_0x2cd3f3)=>_0x52a0f6[_0x1cb0d8(0x168)]-_0x2cd3f3['distance']);}[_0x3f7616(0x16e)](_0x6b4eba){const _0x39e5ef=_0x3f7616,_0x3b61c9=Array[_0x39e5ef(0x176)](this['colliders'])[_0x39e5ef(0x140)](_0x2b5210=>_0x2b5210[_0x39e5ef(0x151)]),_0x4bff0f=new Map();for(const _0x281248 of _0x3b61c9){_0x4bff0f[_0x39e5ef(0x142)](_0x281248,_0x281248[_0x39e5ef(0x166)](new webgpu.Box3()));}const _0xc017aa=new Map(),_0x116ab6=new Map();for(let _0x363d1d=0x0;_0x363d1d<_0x3b61c9['length'];_0x363d1d++){const _0x27e8b3=_0x3b61c9[_0x363d1d],_0x7d97a3=_0x4bff0f[_0x39e5ef(0x164)](_0x27e8b3);if(!_0x7d97a3)continue;for(let _0x1bc48d=_0x363d1d+0x1;_0x1bc48d<_0x3b61c9['length'];_0x1bc48d++){const _0x223759=_0x3b61c9[_0x1bc48d],_0x57781b=_0x4bff0f['get'](_0x223759);if(!_0x57781b)continue;if(!_0x7d97a3[_0x39e5ef(0x161)](_0x57781b))continue;const _0x423ce4=_0x27e8b3[_0x39e5ef(0x15b)](_0x223759);if(_0x423ce4===exports.CollisionResponse[_0x39e5ef(0x13e)])continue;const _0x178e0b=this[_0x39e5ef(0x173)](_0x27e8b3,_0x223759);_0x423ce4===exports.CollisionResponse[_0x39e5ef(0x146)]?_0xc017aa[_0x39e5ef(0x142)](_0x178e0b,[_0x27e8b3,_0x223759]):_0x116ab6[_0x39e5ef(0x142)](_0x178e0b,[_0x27e8b3,_0x223759]);}}for(const [_0x19c973,_0x2d5c9b]of _0xc017aa){if(this[_0x39e5ef(0x13d)][_0x39e5ef(0x169)](_0x19c973))continue;const [_0x1acb78,_0x56f1b9]=_0x2d5c9b;_0x1acb78['generateOverlapEvents']&&_0x1acb78[_0x39e5ef(0x172)][_0x39e5ef(0x162)](_0x56f1b9),_0x56f1b9[_0x39e5ef(0x14c)]&&_0x56f1b9[_0x39e5ef(0x172)]['broadcast'](_0x1acb78);}for(const [_0x24235f,_0x4efcb8]of this[_0x39e5ef(0x13d)]){if(_0xc017aa[_0x39e5ef(0x169)](_0x24235f))continue;const [_0xe94b78,_0xd60c81]=_0x4efcb8;_0xe94b78[_0x39e5ef(0x14c)]&&_0xe94b78[_0x39e5ef(0x16c)][_0x39e5ef(0x162)](_0xd60c81),_0xd60c81[_0x39e5ef(0x14c)]&&_0xd60c81['onEndOverlapDelegate'][_0x39e5ef(0x162)](_0xe94b78);}for(const [_0x21893d,_0x30a2d3]of _0x116ab6){if(this[_0x39e5ef(0x159)][_0x39e5ef(0x169)](_0x21893d))continue;const [_0x48d9f8,_0x153fb6]=_0x30a2d3,_0x8dce9b=_0x4bff0f[_0x39e5ef(0x164)](_0x48d9f8),_0x55e2ca=_0x4bff0f['get'](_0x153fb6);if(!_0x8dce9b||!_0x55e2ca)continue;const _0x5078af=this[_0x39e5ef(0x178)](_0x48d9f8,_0x153fb6,_0x8dce9b,_0x55e2ca);_0x48d9f8[_0x39e5ef(0x144)]&&_0x48d9f8['onHitDelegate']['broadcast'](_0x5078af);if(_0x153fb6[_0x39e5ef(0x144)]){const _0x4c1818={'self':_0x153fb6,'other':_0x48d9f8,'point':_0x5078af[_0x39e5ef(0x143)][_0x39e5ef(0x148)](),'normal':_0x5078af[_0x39e5ef(0x16d)]['clone']()[_0x39e5ef(0x14f)](-1),'penetrationDepth':_0x5078af[_0x39e5ef(0x156)]};_0x153fb6[_0x39e5ef(0x16a)][_0x39e5ef(0x162)](_0x4c1818);}}this['previousOverlapPairs']=_0xc017aa,this[_0x39e5ef(0x159)]=_0x116ab6;}[_0x3f7616(0x178)](_0x552169,_0x27ba27,_0x26b993,_0x5bcf28){const _0x4abde4=_0x3f7616,_0x58dafb=Math[_0x4abde4(0x15e)](_0x26b993['max']['x'],_0x5bcf28[_0x4abde4(0x152)]['x'])-Math[_0x4abde4(0x152)](_0x26b993[_0x4abde4(0x15e)]['x'],_0x5bcf28['min']['x']),_0x1efc3b=Math[_0x4abde4(0x15e)](_0x26b993[_0x4abde4(0x152)]['y'],_0x5bcf28['max']['y'])-Math[_0x4abde4(0x152)](_0x26b993[_0x4abde4(0x15e)]['y'],_0x5bcf28[_0x4abde4(0x15e)]['y']),_0x36207d=Math[_0x4abde4(0x15e)](_0x26b993[_0x4abde4(0x152)]['z'],_0x5bcf28[_0x4abde4(0x152)]['z'])-Math['max'](_0x26b993[_0x4abde4(0x15e)]['z'],_0x5bcf28['min']['z']);let _0x4cfede=_0x58dafb,_0x139f93='x';_0x1efc3b<_0x4cfede&&(_0x4cfede=_0x1efc3b,_0x139f93='y');_0x36207d<_0x4cfede&&(_0x4cfede=_0x36207d,_0x139f93='z');const _0x5e071c=_0x26b993[_0x4abde4(0x14e)](new webgpu.Vector3()),_0x480787=_0x5bcf28[_0x4abde4(0x14e)](new webgpu.Vector3()),_0x5a2d28=_0x480787[_0x4abde4(0x148)]()[_0x4abde4(0x13b)](_0x5e071c),_0xb9188b=new webgpu.Vector3(0x0,0x0,0x0);if(_0x139f93==='x')_0xb9188b[_0x4abde4(0x142)](Math[_0x4abde4(0x167)](_0x5a2d28['x'])||0x1,0x0,0x0);else _0x139f93==='y'?_0xb9188b[_0x4abde4(0x142)](0x0,Math[_0x4abde4(0x167)](_0x5a2d28['y'])||0x1,0x0):_0xb9188b[_0x4abde4(0x142)](0x0,0x0,Math['sign'](_0x5a2d28['z'])||0x1);const _0x141f6a=new webgpu.Vector3((Math[_0x4abde4(0x152)](_0x26b993[_0x4abde4(0x15e)]['x'],_0x5bcf28[_0x4abde4(0x15e)]['x'])+Math[_0x4abde4(0x15e)](_0x26b993[_0x4abde4(0x152)]['x'],_0x5bcf28[_0x4abde4(0x152)]['x']))*0.5,(Math[_0x4abde4(0x152)](_0x26b993['min']['y'],_0x5bcf28[_0x4abde4(0x15e)]['y'])+Math[_0x4abde4(0x15e)](_0x26b993[_0x4abde4(0x152)]['y'],_0x5bcf28[_0x4abde4(0x152)]['y']))*0.5,(Math['max'](_0x26b993[_0x4abde4(0x15e)]['z'],_0x5bcf28['min']['z'])+Math[_0x4abde4(0x15e)](_0x26b993[_0x4abde4(0x152)]['z'],_0x5bcf28['max']['z']))*0.5);return {'self':_0x552169,'other':_0x27ba27,'point':_0x141f6a,'normal':_0xb9188b,'penetrationDepth':Math[_0x4abde4(0x152)](0x0,_0x4cfede)};}[_0x3f7616(0x173)](_0x5ead9e,_0x59eb74){const _0x5724bb=_0x3f7616;return _0x5ead9e[_0x5724bb(0x13c)]<_0x59eb74[_0x5724bb(0x13c)]?_0x5ead9e[_0x5724bb(0x13c)]+'|'+_0x59eb74[_0x5724bb(0x13c)]:_0x59eb74['uuid']+'|'+_0x5ead9e[_0x5724bb(0x13c)];}[_0x3f7616(0x14d)](_0x15552d,_0x103757,_0x2fbddb,_0x1a3ea8){const _0x3bcf62=_0x3f7616;let _0x2764f5=0x0,_0x346853=_0x2fbddb;const _0x3e7906=new webgpu.Vector3(0x0,0x0,0x0),_0x3f85fa=1e-8,_0x27e201=_0x5cd5a5=>{const _0x42a314=_0x503f,_0x5b66ca=_0x15552d[_0x5cd5a5],_0x4a6a0a=_0x103757[_0x5cd5a5],_0x2639fe=_0x1a3ea8[_0x42a314(0x15e)][_0x5cd5a5],_0x4e04af=_0x1a3ea8['max'][_0x5cd5a5];if(Math['abs'](_0x4a6a0a)<_0x3f85fa){if(_0x5b66ca<_0x2639fe||_0x5b66ca>_0x4e04af)return ![];return !![];}const _0x39c09e=0x1/_0x4a6a0a;let _0x168331,_0x2bb71c;const _0x2a29b7=new webgpu.Vector3(0x0,0x0,0x0);_0x4a6a0a>=0x0?(_0x168331=(_0x2639fe-_0x5b66ca)*_0x39c09e,_0x2bb71c=(_0x4e04af-_0x5b66ca)*_0x39c09e,_0x2a29b7[_0x5cd5a5]=-1):(_0x168331=(_0x4e04af-_0x5b66ca)*_0x39c09e,_0x2bb71c=(_0x2639fe-_0x5b66ca)*_0x39c09e,_0x2a29b7[_0x5cd5a5]=0x1);_0x168331>_0x2764f5&&(_0x2764f5=_0x168331,_0x3e7906['copy'](_0x2a29b7));_0x2bb71c<_0x346853&&(_0x346853=_0x2bb71c);if(_0x2764f5>_0x346853)return ![];return !![];};if(!_0x27e201('x')||!_0x27e201('y')||!_0x27e201('z'))return null;if(_0x346853<0x0)return null;const _0x4172e4=Math[_0x3bcf62(0x152)](0x0,_0x2764f5);if(_0x4172e4>_0x2fbddb)return null;return {'distance':_0x4172e4,'normal':_0x3e7906,'point':_0x15552d[_0x3bcf62(0x148)]()[_0x3bcf62(0x179)](_0x103757['clone']()[_0x3bcf62(0x14f)](_0x4172e4))};}}
|
|
65
|
+
function _0x4545(_0x185feb,_0x196d83){_0x185feb=_0x185feb-0x11f;var _0x54b6df=_0x54b6();var _0x454596=_0x54b6df[_0x185feb];return _0x454596;}(function(_0x40754f,_0x5985ec){var _0x51d7d6=_0x4545,_0x5d24d7=_0x40754f();while(!![]){try{var _0x19df6c=-parseInt(_0x51d7d6(0x121))/0x1+parseInt(_0x51d7d6(0x12b))/0x2*(parseInt(_0x51d7d6(0x12c))/0x3)+parseInt(_0x51d7d6(0x132))/0x4+-parseInt(_0x51d7d6(0x125))/0x5*(-parseInt(_0x51d7d6(0x123))/0x6)+-parseInt(_0x51d7d6(0x12f))/0x7*(-parseInt(_0x51d7d6(0x12d))/0x8)+parseInt(_0x51d7d6(0x120))/0x9+-parseInt(_0x51d7d6(0x11f))/0xa;if(_0x19df6c===_0x5985ec)break;else _0x5d24d7['push'](_0x5d24d7['shift']());}catch(_0x2ead93){_0x5d24d7['push'](_0x5d24d7['shift']());}}}(_0x54b6,0x18734));exports.CollisionResponse = void 0;(function(_0x7ec3f2){var _0x4907e0=_0x4545;_0x7ec3f2[_0x4907e0(0x12e)]=_0x4907e0(0x12e),_0x7ec3f2['Overlap']=_0x4907e0(0x12a),_0x7ec3f2[_0x4907e0(0x126)]=_0x4907e0(0x126);}(exports.CollisionResponse||(exports.CollisionResponse={})));exports.CollisionChannel = void 0;(function(_0x3843d2){var _0x24d904=_0x4545;_0x3843d2[_0x24d904(0x124)]='WorldStatic',_0x3843d2[_0x24d904(0x131)]='WorldDynamic',_0x3843d2[_0x24d904(0x127)]=_0x24d904(0x127),_0x3843d2[_0x24d904(0x129)]=_0x24d904(0x129),_0x3843d2[_0x24d904(0x122)]=_0x24d904(0x122),_0x3843d2[_0x24d904(0x128)]=_0x24d904(0x128);}(exports.CollisionChannel||(exports.CollisionChannel={})));exports.CollisionShapeType = void 0;(function(_0x50880f){var _0x89fb44=_0x4545;_0x50880f[_0x89fb44(0x130)]='Sphere',_0x50880f[_0x89fb44(0x133)]='Box';}(exports.CollisionShapeType||(exports.CollisionShapeType={})));function _0x54b6(){var _0x4e2d2b=['WorldStatic','292565zFXIyR','Block','Pawn','Trigger','Visibility','Overlap','2rGSPSQ','396468HEjcpZ','8giyJyS','Ignore','365603vXfaEd','Sphere','WorldDynamic','720896UkMvgc','Box','4596060aJpTXL','1157508rjBldA','109006kAoJtZ','Camera','18zSalcP'];_0x54b6=function(){return _0x4e2d2b;};return _0x54b6();}
|
|
63
66
|
|
|
64
|
-
var _0x332ff1=_0x1d71;function _0x1d71(_0x4d0050,_0x5bc895){_0x4d0050=_0x4d0050-0x1b3;var _0x1b3f25=_0x1b3f();var _0x1d717b=_0x1b3f25[_0x4d0050];return _0x1d717b;}(function(_0x47b07f,_0x34447b){var _0x3cfa9a=_0x1d71,_0x3bf9d8=_0x47b07f();while(!![]){try{var _0x415779=-parseInt(_0x3cfa9a(0x1d9))/0x1*(-parseInt(_0x3cfa9a(0x1d4))/0x2)+-parseInt(_0x3cfa9a(0x1cf))/0x3+parseInt(_0x3cfa9a(0x1c3))/0x4+parseInt(_0x3cfa9a(0x1da))/0x5+parseInt(_0x3cfa9a(0x1e4))/0x6*(-parseInt(_0x3cfa9a(0x1c0))/0x7)+parseInt(_0x3cfa9a(0x1e3))/0x8+parseInt(_0x3cfa9a(0x1c2))/0x9;if(_0x415779===_0x34447b)break;else _0x3bf9d8['push'](_0x3bf9d8['shift']());}catch(_0x4d012e){_0x3bf9d8['push'](_0x3bf9d8['shift']());}}}(_0x1b3f,0x7de60));function _0x1b3f(){var _0x88b9d2=['_rootActor','57274menURw','app','controller','position','rootActor','1JRyQtg','101230uWsSwq','forEach','addActor','length','markRenderStateDirty','scene','getChildActorById','getActorById','viewport','6925472XApBhj','6owUyvy','add','parent','clear','rootComponent','removeTickableActor','destroy','_clippingGroup','target.threeObject\x20is\x20null','addChildActor','onAddedToWorld','children','addActorClipping','tick','6316233hdyVff','_physics','7164675KfvxOH','1946076KLYLcg','addTickableActor','scene\x20is\x20null','KeepRelative','delete','removeActorClipping','tickableActors','init','remove','actors','threeObject','levelActorClass','2337486ceWkMq','removeFromParent','worldParam','rootActor\x20is\x20null'];_0x1b3f=function(){return _0x88b9d2;};return _0x1b3f();}class World{get[_0x332ff1(0x1df)](){var _0x40260b=_0x332ff1,_0x3f88c7;let _0x3724dc=(_0x3f88c7=this[_0x40260b(0x1d3)])===null||_0x3f88c7===void 0?void 0:_0x3f88c7['scene'];if(!_0x3724dc)throw new Error(_0x40260b(0x1c5));return _0x3724dc;}get[_0x332ff1(0x1e2)](){var _0x22b617=_0x332ff1;return this[_0x22b617(0x1d5)]['viewport'];}get[_0x332ff1(0x1d6)](){var _0x53b520=_0x332ff1;return this[_0x53b520(0x1d5)]['controller'];}get[_0x332ff1(0x1d8)](){var _0x3da19e=_0x332ff1;if(!this[_0x3da19e(0x1d3)])throw new Error(_0x3da19e(0x1d2));return this['_rootActor'];}get['physics'](){return this['_physics'];}constructor(_0x4abc88,_0x555e33){var _0x140896=_0x332ff1;this[_0x140896(0x1d3)]=null,this[_0x140896(0x1cc)]=new Set(),this[_0x140896(0x1c9)]=new Set(),this[_0x140896(0x1b9)]=null,this[_0x140896(0x1d5)]=_0x4abc88,this[_0x140896(0x1d1)]=_0x555e33,this[_0x140896(0x1c1)]=new PhysicsWorld();}[_0x332ff1(0x1ca)](){var _0x5e2bdb=_0x332ff1;this['_rootActor']=new this['worldParam'][(_0x5e2bdb(0x1ce))](this[_0x5e2bdb(0x1d5)]);}[_0x332ff1(0x1c4)](_0x5983c4){var _0xc5292e=_0x332ff1;this[_0xc5292e(0x1c9)][_0xc5292e(0x1b3)](_0x5983c4);}[_0x332ff1(0x1b7)](_0x162763){var _0x1a8648=_0x332ff1;this['tickableActors'][_0x1a8648(0x1c7)](_0x162763);}[_0x332ff1(0x1bf)](_0x3c74ee){var _0x520b64=_0x332ff1;this[_0x520b64(0x1c9)][_0x520b64(0x1db)](_0x5e366e=>{_0x5e366e['tick'](_0x3c74ee);}),this[_0x520b64(0x1c1)][_0x520b64(0x1bf)](_0x3c74ee);}[_0x332ff1(0x1b8)](){var _0x373846=_0x332ff1,_0x33055b;this[_0x373846(0x1c9)][_0x373846(0x1b5)](),this[_0x373846(0x1c1)]['clear'](),this[_0x373846(0x1cc)]['forEach'](_0x3e3288=>{_0x3e3288['destroy']();}),this[_0x373846(0x1cc)][_0x373846(0x1b5)](),(_0x33055b=this['_rootActor'])===null||_0x33055b===void 0?void 0:_0x33055b[_0x373846(0x1b8)](),this[_0x373846(0x1d3)]=null;}[_0x332ff1(0x1dc)](_0x1c0b44){var _0x22868a=_0x332ff1,_0x4e44f8;if(!_0x1c0b44[_0x22868a(0x1b6)][_0x22868a(0x1cd)])throw new Error('actor.threeObject\x20is\x20null');_0x1c0b44[_0x22868a(0x1d0)](),(_0x4e44f8=this[_0x22868a(0x1d3)])===null||_0x4e44f8===void 0?void 0:_0x4e44f8['addChildActor'](_0x1c0b44,exports.AttachmentRules[_0x22868a(0x1c6)]),this['actors']['add'](_0x1c0b44),_0x1c0b44[_0x22868a(0x1bc)](this),this[_0x22868a(0x1e2)][_0x22868a(0x1de)]();}['removeActor'](_0x4dc418){var _0x347ef9=_0x332ff1;_0x4dc418[_0x347ef9(0x1b8)](),this[_0x347ef9(0x1cc)][_0x347ef9(0x1c7)](_0x4dc418),this[_0x347ef9(0x1e2)][_0x347ef9(0x1de)]();}['removeActors'](_0x61258){var _0x5f4844=_0x332ff1;for(const _0x2f9f4c of _0x61258){_0x2f9f4c[_0x5f4844(0x1b8)](),this[_0x5f4844(0x1cc)][_0x5f4844(0x1c7)](_0x2f9f4c);}this[_0x5f4844(0x1e2)][_0x5f4844(0x1de)]();}[_0x332ff1(0x1e1)](_0x16bc52){var _0x10f0c6=_0x332ff1;return this[_0x10f0c6(0x1d8)][_0x10f0c6(0x1e0)](_0x16bc52,!![]);}['getActorsByIds'](_0x39203a){var _0x41f3b8=_0x332ff1;return this[_0x41f3b8(0x1d8)]['getChildActorsByIds'](_0x39203a,!![]);}[_0x332ff1(0x1be)](_0x40a710,_0x19b9f0){var _0x58e9e0=_0x332ff1;if(!_0x40a710[_0x58e9e0(0x1b6)][_0x58e9e0(0x1cd)])throw new Error(_0x58e9e0(0x1ba));!this[_0x58e9e0(0x1b9)]&&(this['_clippingGroup']=new webgpu.ClippingGroup(),this['_clippingGroup'][_0x58e9e0(0x1d7)]['set'](0x0,0x0,0x0)),this[_0x58e9e0(0x1b9)]['clippingPlanes']=_0x19b9f0,this[_0x58e9e0(0x1df)]['add'](this[_0x58e9e0(0x1b9)]),this[_0x58e9e0(0x1b9)][_0x58e9e0(0x1b3)](_0x40a710[_0x58e9e0(0x1b6)][_0x58e9e0(0x1cd)]);}[_0x332ff1(0x1c8)](_0x3d36da,_0x426d79=null){var _0x57fc4e=_0x332ff1,_0x402a19;if(!this['_clippingGroup'])return;if(!_0x3d36da[_0x57fc4e(0x1b6)][_0x57fc4e(0x1cd)])throw new Error(_0x57fc4e(0x1ba));_0x426d79?_0x426d79[_0x57fc4e(0x1bb)](_0x3d36da,exports.AttachmentRules['KeepRelative']):this[_0x57fc4e(0x1dc)](_0x3d36da),this['_clippingGroup'][_0x57fc4e(0x1bd)][_0x57fc4e(0x1dd)]===0x0&&((_0x402a19=this[_0x57fc4e(0x1b9)][_0x57fc4e(0x1b4)])===null||_0x402a19===void 0?void 0:_0x402a19[_0x57fc4e(0x1cb)](this[_0x57fc4e(0x1b9)]),this[_0x57fc4e(0x1b9)]=null);}}
|
|
67
|
+
const _0x10bad6=_0x23b1;(function(_0x2b86f5,_0xd43815){const _0x269baf=_0x23b1,_0x2fcb28=_0x2b86f5();while(!![]){try{const _0x3ec0c9=parseInt(_0x269baf(0xfa))/0x1+parseInt(_0x269baf(0x110))/0x2*(parseInt(_0x269baf(0xf9))/0x3)+-parseInt(_0x269baf(0xf1))/0x4+-parseInt(_0x269baf(0x105))/0x5*(parseInt(_0x269baf(0xf7))/0x6)+parseInt(_0x269baf(0xfd))/0x7*(-parseInt(_0x269baf(0x10b))/0x8)+-parseInt(_0x269baf(0x101))/0x9+parseInt(_0x269baf(0xec))/0xa;if(_0x3ec0c9===_0xd43815)break;else _0x2fcb28['push'](_0x2fcb28['shift']());}catch(_0x56ca58){_0x2fcb28['push'](_0x2fcb28['shift']());}}}(_0x2fb6,0xac2fe));function _0x23b1(_0x32891c,_0x208789){_0x32891c=_0x32891c-0xea;const _0x2fb663=_0x2fb6();let _0x23b191=_0x2fb663[_0x32891c];return _0x23b191;}function _0x2fb6(){const _0x245140=['tick','onHitDelegate','intersectRayAabb','broadcast','function','_debugDrawEnabled','generateOverlapEvents','lineTraceSingle','uuid','10600040TDPVHg','onEndOverlapDelegate','sub','Block','computeAabbHit','1734856wNutkl','getPairKey','set','normal','distance','debugEnabled','6eRhVhE','length','2210979xRerTS','1378040zSBBwB','previousOverlapPairs','registerCollider','7lfyQNR','get','debugDrawEnabled','getCollisionResponse','1839645SHeoEL','max','clone','unregisterCollider','3406145XQJfJU','getCenter','filter','push','onBeginOverlapDelegate','multiplyScalar','9203288ijMhFH','delete','getWorldAABB','previousBlockPairs','point','2jsLYRl','min','raycast','Overlap','collisionEnabled','copy','add','from','clear','sign','Visibility','generateHitEvents','penetrationDepth','has','colliders'];_0x2fb6=function(){return _0x245140;};return _0x2fb6();}class PhysicsWorld{constructor(){const _0x4771e0=_0x23b1;this[_0x4771e0(0x11e)]=new Set(),this[_0x4771e0(0xfb)]=new Map(),this[_0x4771e0(0x10e)]=new Map(),this['_debugDrawEnabled']=![];}get[_0x10bad6(0xff)](){const _0x23e349=_0x10bad6;return this[_0x23e349(0x124)];}set[_0x10bad6(0xff)](_0x23000e){const _0x2d215c=_0x10bad6;if(this[_0x2d215c(0x124)]===_0x23000e)return;this[_0x2d215c(0x124)]=_0x23000e;for(const _0x4348f3 of this[_0x2d215c(0x11e)]){_0x4348f3[_0x2d215c(0xf6)]=_0x23000e;}}[_0x10bad6(0xfc)](_0x39aff8){const _0x7a54eb=_0x10bad6;this['colliders'][_0x7a54eb(0x116)](_0x39aff8),this[_0x7a54eb(0x124)]&&(_0x39aff8[_0x7a54eb(0xf6)]=!![]);}[_0x10bad6(0x104)](_0x374ad1){const _0x3e6eb5=_0x10bad6;this[_0x3e6eb5(0x11e)][_0x3e6eb5(0x10c)](_0x374ad1);for(const [_0x187821,_0x4bd6a2]of this['previousOverlapPairs']){(_0x4bd6a2[0x0]===_0x374ad1||_0x4bd6a2[0x1]===_0x374ad1)&&this[_0x3e6eb5(0xfb)][_0x3e6eb5(0x10c)](_0x187821);}for(const [_0x422791,_0x332329]of this['previousBlockPairs']){(_0x332329[0x0]===_0x374ad1||_0x332329[0x1]===_0x374ad1)&&this[_0x3e6eb5(0x10e)][_0x3e6eb5(0x10c)](_0x422791);}}[_0x10bad6(0x118)](){const _0x5dba5d=_0x10bad6;this[_0x5dba5d(0x11e)][_0x5dba5d(0x118)](),this['previousOverlapPairs']['clear'](),this['previousBlockPairs'][_0x5dba5d(0x118)]();}[_0x10bad6(0xea)](_0xc2dba6,_0x5ed82c,_0x299f0f=exports.CollisionChannel[_0x10bad6(0x11a)],_0x199cc0){const _0x53e0e7=_0x10bad6,_0x5e6c55=_0x5ed82c[_0x53e0e7(0x103)]()[_0x53e0e7(0xee)](_0xc2dba6),_0x2f5e61=_0x5e6c55[_0x53e0e7(0xf8)]();if(_0x2f5e61<=0.000001)return null;const _0x142ddb=_0x5e6c55[_0x53e0e7(0x10a)](0x1/_0x2f5e61);let _0x3a10ba=null;for(const _0x422bf3 of this[_0x53e0e7(0x11e)]){if(_0x422bf3===_0x199cc0)continue;if(!_0x422bf3[_0x53e0e7(0x114)])continue;const _0x8dbd8d=_0x422bf3[_0x53e0e7(0x100)](_0x299f0f);if(_0x8dbd8d!==exports.CollisionResponse[_0x53e0e7(0xef)])continue;const _0x2fcbcb=_0x422bf3[_0x53e0e7(0x10d)](new webgpu.Box3()),_0x260932=this[_0x53e0e7(0x121)](_0xc2dba6,_0x142ddb,_0x2f5e61,_0x2fcbcb);if(!_0x260932)continue;const _0x390cb9=_0x422bf3,_0xa9ae40=typeof _0x390cb9[_0x53e0e7(0x112)]===_0x53e0e7(0x123)?_0x390cb9['raycast'](_0xc2dba6,_0x142ddb,_0x2f5e61):_0x260932;if(!_0xa9ae40)continue;(!_0x3a10ba||_0xa9ae40['distance']<_0x3a10ba['distance'])&&(_0x3a10ba={'collider':_0x422bf3,'point':_0xa9ae40[_0x53e0e7(0x10f)],'normal':_0xa9ae40[_0x53e0e7(0xf4)],'distance':_0xa9ae40['distance'],'blocking':!![]});}return _0x3a10ba;}['lineTraceMulti'](_0x56e603,_0x4e2d79,_0x5dc262=exports.CollisionChannel['Visibility'],_0x19bb5a){const _0x102fa5=_0x10bad6,_0x338092=_0x4e2d79[_0x102fa5(0x103)]()[_0x102fa5(0xee)](_0x56e603),_0x3965df=_0x338092['length']();if(_0x3965df<=0.000001)return [];const _0x2b2241=_0x338092['multiplyScalar'](0x1/_0x3965df),_0x56de6b=[];for(const _0x1b02e3 of this[_0x102fa5(0x11e)]){if(_0x1b02e3===_0x19bb5a)continue;if(!_0x1b02e3[_0x102fa5(0x114)])continue;const _0x3127d0=_0x1b02e3[_0x102fa5(0x100)](_0x5dc262);if(_0x3127d0===exports.CollisionResponse['Ignore'])continue;const _0x2b10bb=_0x1b02e3[_0x102fa5(0x10d)](new webgpu.Box3()),_0x343b85=this['intersectRayAabb'](_0x56e603,_0x2b2241,_0x3965df,_0x2b10bb);if(!_0x343b85)continue;const _0x3365e5=_0x1b02e3;if(typeof _0x3365e5['raycastAll']==='function'){const _0x7a37e7=_0x3365e5['raycastAll'](_0x56e603,_0x2b2241,_0x3965df);for(const _0x380d8f of _0x7a37e7){_0x56de6b[_0x102fa5(0x108)]({'collider':_0x1b02e3,'point':_0x380d8f[_0x102fa5(0x10f)],'normal':_0x380d8f[_0x102fa5(0xf4)],'distance':_0x380d8f[_0x102fa5(0xf5)],'blocking':_0x3127d0===exports.CollisionResponse[_0x102fa5(0xef)]});}}else {const _0x2a4ad6=typeof _0x3365e5[_0x102fa5(0x112)]===_0x102fa5(0x123)?_0x3365e5['raycast'](_0x56e603,_0x2b2241,_0x3965df):_0x343b85;if(!_0x2a4ad6)continue;_0x56de6b['push']({'collider':_0x1b02e3,'point':_0x2a4ad6[_0x102fa5(0x10f)],'normal':_0x2a4ad6['normal'],'distance':_0x2a4ad6[_0x102fa5(0xf5)],'blocking':_0x3127d0===exports.CollisionResponse['Block']});}}return _0x56de6b['sort']((_0x5848eb,_0x187157)=>_0x5848eb[_0x102fa5(0xf5)]-_0x187157['distance']);}[_0x10bad6(0x11f)](_0x32cc1b){const _0x5465ad=_0x10bad6,_0x1aeef2=Array[_0x5465ad(0x117)](this['colliders'])[_0x5465ad(0x107)](_0x248610=>_0x248610[_0x5465ad(0x114)]),_0x50bdea=new Map();for(const _0x5dfff6 of _0x1aeef2){_0x50bdea[_0x5465ad(0xf3)](_0x5dfff6,_0x5dfff6[_0x5465ad(0x10d)](new webgpu.Box3()));}const _0x19259a=new Map(),_0x1e1949=new Map();for(let _0x16ca9d=0x0;_0x16ca9d<_0x1aeef2[_0x5465ad(0xf8)];_0x16ca9d++){const _0x1f357b=_0x1aeef2[_0x16ca9d],_0x59c29a=_0x50bdea[_0x5465ad(0xfe)](_0x1f357b);if(!_0x59c29a)continue;for(let _0xe82845=_0x16ca9d+0x1;_0xe82845<_0x1aeef2[_0x5465ad(0xf8)];_0xe82845++){const _0x3f9910=_0x1aeef2[_0xe82845],_0x44468=_0x50bdea[_0x5465ad(0xfe)](_0x3f9910);if(!_0x44468)continue;if(!_0x59c29a['intersectsBox'](_0x44468))continue;const _0x4630a2=_0x1f357b['getMutualResponse'](_0x3f9910);if(_0x4630a2===exports.CollisionResponse['Ignore'])continue;const _0x27b440=this[_0x5465ad(0xf2)](_0x1f357b,_0x3f9910);_0x4630a2===exports.CollisionResponse[_0x5465ad(0x113)]?_0x19259a[_0x5465ad(0xf3)](_0x27b440,[_0x1f357b,_0x3f9910]):_0x1e1949['set'](_0x27b440,[_0x1f357b,_0x3f9910]);}}for(const [_0x518073,_0x1f48c3]of _0x19259a){if(this[_0x5465ad(0xfb)][_0x5465ad(0x11d)](_0x518073))continue;const [_0x362662,_0x92e68c]=_0x1f48c3;_0x362662[_0x5465ad(0x125)]&&_0x362662[_0x5465ad(0x109)][_0x5465ad(0x122)](_0x92e68c),_0x92e68c[_0x5465ad(0x125)]&&_0x92e68c[_0x5465ad(0x109)]['broadcast'](_0x362662);}for(const [_0x112343,_0x49ccdc]of this[_0x5465ad(0xfb)]){if(_0x19259a[_0x5465ad(0x11d)](_0x112343))continue;const [_0x2a5391,_0x6bc335]=_0x49ccdc;_0x2a5391['generateOverlapEvents']&&_0x2a5391[_0x5465ad(0xed)]['broadcast'](_0x6bc335),_0x6bc335[_0x5465ad(0x125)]&&_0x6bc335[_0x5465ad(0xed)][_0x5465ad(0x122)](_0x2a5391);}for(const [_0x3139ab,_0x5750e7]of _0x1e1949){if(this['previousBlockPairs'][_0x5465ad(0x11d)](_0x3139ab))continue;const [_0x28677d,_0x300ad8]=_0x5750e7,_0x18b651=_0x50bdea['get'](_0x28677d),_0x59adf6=_0x50bdea[_0x5465ad(0xfe)](_0x300ad8);if(!_0x18b651||!_0x59adf6)continue;const _0x30d939=this[_0x5465ad(0xf0)](_0x28677d,_0x300ad8,_0x18b651,_0x59adf6);_0x28677d[_0x5465ad(0x11b)]&&_0x28677d['onHitDelegate']['broadcast'](_0x30d939);if(_0x300ad8['generateHitEvents']){const _0x52fa89={'self':_0x300ad8,'other':_0x28677d,'point':_0x30d939[_0x5465ad(0x10f)][_0x5465ad(0x103)](),'normal':_0x30d939[_0x5465ad(0xf4)]['clone']()[_0x5465ad(0x10a)](-1),'penetrationDepth':_0x30d939[_0x5465ad(0x11c)]};_0x300ad8[_0x5465ad(0x120)][_0x5465ad(0x122)](_0x52fa89);}}this[_0x5465ad(0xfb)]=_0x19259a,this[_0x5465ad(0x10e)]=_0x1e1949;}[_0x10bad6(0xf0)](_0xbcbf51,_0x55fd11,_0x4a060e,_0x4a2a20){const _0x2efc16=_0x10bad6,_0x166fb6=Math[_0x2efc16(0x111)](_0x4a060e[_0x2efc16(0x102)]['x'],_0x4a2a20[_0x2efc16(0x102)]['x'])-Math[_0x2efc16(0x102)](_0x4a060e['min']['x'],_0x4a2a20['min']['x']),_0x17670c=Math['min'](_0x4a060e[_0x2efc16(0x102)]['y'],_0x4a2a20[_0x2efc16(0x102)]['y'])-Math[_0x2efc16(0x102)](_0x4a060e[_0x2efc16(0x111)]['y'],_0x4a2a20[_0x2efc16(0x111)]['y']),_0x522306=Math[_0x2efc16(0x111)](_0x4a060e['max']['z'],_0x4a2a20[_0x2efc16(0x102)]['z'])-Math['max'](_0x4a060e[_0x2efc16(0x111)]['z'],_0x4a2a20['min']['z']);let _0x261c10=_0x166fb6,_0x25d06b='x';_0x17670c<_0x261c10&&(_0x261c10=_0x17670c,_0x25d06b='y');_0x522306<_0x261c10&&(_0x261c10=_0x522306,_0x25d06b='z');const _0x337f19=_0x4a060e[_0x2efc16(0x106)](new webgpu.Vector3()),_0x4c64e6=_0x4a2a20[_0x2efc16(0x106)](new webgpu.Vector3()),_0x2c7546=_0x4c64e6[_0x2efc16(0x103)]()['sub'](_0x337f19),_0x471854=new webgpu.Vector3(0x0,0x0,0x0);if(_0x25d06b==='x')_0x471854[_0x2efc16(0xf3)](Math[_0x2efc16(0x119)](_0x2c7546['x'])||0x1,0x0,0x0);else _0x25d06b==='y'?_0x471854[_0x2efc16(0xf3)](0x0,Math['sign'](_0x2c7546['y'])||0x1,0x0):_0x471854[_0x2efc16(0xf3)](0x0,0x0,Math[_0x2efc16(0x119)](_0x2c7546['z'])||0x1);const _0x389b97=new webgpu.Vector3((Math[_0x2efc16(0x102)](_0x4a060e[_0x2efc16(0x111)]['x'],_0x4a2a20['min']['x'])+Math['min'](_0x4a060e[_0x2efc16(0x102)]['x'],_0x4a2a20['max']['x']))*0.5,(Math[_0x2efc16(0x102)](_0x4a060e[_0x2efc16(0x111)]['y'],_0x4a2a20[_0x2efc16(0x111)]['y'])+Math[_0x2efc16(0x111)](_0x4a060e[_0x2efc16(0x102)]['y'],_0x4a2a20[_0x2efc16(0x102)]['y']))*0.5,(Math[_0x2efc16(0x102)](_0x4a060e[_0x2efc16(0x111)]['z'],_0x4a2a20[_0x2efc16(0x111)]['z'])+Math[_0x2efc16(0x111)](_0x4a060e[_0x2efc16(0x102)]['z'],_0x4a2a20[_0x2efc16(0x102)]['z']))*0.5);return {'self':_0xbcbf51,'other':_0x55fd11,'point':_0x389b97,'normal':_0x471854,'penetrationDepth':Math[_0x2efc16(0x102)](0x0,_0x261c10)};}['getPairKey'](_0x3728e1,_0x349351){const _0x104969=_0x10bad6;return _0x3728e1[_0x104969(0xeb)]<_0x349351[_0x104969(0xeb)]?_0x3728e1['uuid']+'|'+_0x349351[_0x104969(0xeb)]:_0x349351['uuid']+'|'+_0x3728e1[_0x104969(0xeb)];}[_0x10bad6(0x121)](_0x22ddc2,_0xed44e1,_0x29e01a,_0x589382){const _0x2a6aba=_0x10bad6;let _0x5a63d5=0x0,_0x402a56=_0x29e01a;const _0x568ad5=new webgpu.Vector3(0x0,0x0,0x0),_0x25c430=1e-8,_0xd7c107=_0x5ba2ea=>{const _0x5f1be6=_0x23b1,_0x30be1e=_0x22ddc2[_0x5ba2ea],_0x5c4db0=_0xed44e1[_0x5ba2ea],_0x2219b3=_0x589382['min'][_0x5ba2ea],_0x27fd65=_0x589382[_0x5f1be6(0x102)][_0x5ba2ea];if(Math['abs'](_0x5c4db0)<_0x25c430){if(_0x30be1e<_0x2219b3||_0x30be1e>_0x27fd65)return ![];return !![];}const _0x699972=0x1/_0x5c4db0;let _0x50aeed,_0x1e0fed;const _0x589031=new webgpu.Vector3(0x0,0x0,0x0);_0x5c4db0>=0x0?(_0x50aeed=(_0x2219b3-_0x30be1e)*_0x699972,_0x1e0fed=(_0x27fd65-_0x30be1e)*_0x699972,_0x589031[_0x5ba2ea]=-1):(_0x50aeed=(_0x27fd65-_0x30be1e)*_0x699972,_0x1e0fed=(_0x2219b3-_0x30be1e)*_0x699972,_0x589031[_0x5ba2ea]=0x1);_0x50aeed>_0x5a63d5&&(_0x5a63d5=_0x50aeed,_0x568ad5[_0x5f1be6(0x115)](_0x589031));_0x1e0fed<_0x402a56&&(_0x402a56=_0x1e0fed);if(_0x5a63d5>_0x402a56)return ![];return !![];};if(!_0xd7c107('x')||!_0xd7c107('y')||!_0xd7c107('z'))return null;if(_0x402a56<0x0)return null;const _0x302d23=Math[_0x2a6aba(0x102)](0x0,_0x5a63d5);if(_0x302d23>_0x29e01a)return null;return {'distance':_0x302d23,'normal':_0x568ad5,'point':_0x22ddc2[_0x2a6aba(0x103)]()[_0x2a6aba(0x116)](_0xed44e1[_0x2a6aba(0x103)]()[_0x2a6aba(0x10a)](_0x302d23))};}}
|
|
65
68
|
|
|
66
|
-
var
|
|
69
|
+
var _0x1198e2=_0xfa0f;function _0xfa0f(_0x189de4,_0x46a4a6){_0x189de4=_0x189de4-0x8c;var _0x4a87eb=_0x4a87();var _0xfa0f4d=_0x4a87eb[_0x189de4];return _0xfa0f4d;}(function(_0x710b81,_0x33accc){var _0x4d720e=_0xfa0f,_0x45df83=_0x710b81();while(!![]){try{var _0x41d160=-parseInt(_0x4d720e(0x99))/0x1+-parseInt(_0x4d720e(0xa5))/0x2+parseInt(_0x4d720e(0xb4))/0x3+-parseInt(_0x4d720e(0x94))/0x4*(parseInt(_0x4d720e(0x95))/0x5)+parseInt(_0x4d720e(0x90))/0x6+parseInt(_0x4d720e(0xb6))/0x7*(-parseInt(_0x4d720e(0xb1))/0x8)+-parseInt(_0x4d720e(0xac))/0x9*(-parseInt(_0x4d720e(0x98))/0xa);if(_0x41d160===_0x33accc)break;else _0x45df83['push'](_0x45df83['shift']());}catch(_0x26a877){_0x45df83['push'](_0x45df83['shift']());}}}(_0x4a87,0x6bdf2));function _0x4a87(){var _0x24cf34=['getChildActorById','scene\x20is\x20null','parent','clear','controller','1612310hbfWei','destroy','_clippingGroup','removeActor','length','rootActor','addActorClipping','34137isTJsT','_rootActor','target.threeObject\x20is\x20null','add','clippingPlanes','122208kPozjU','worldParam','removeActors','877737heIUAb','rootComponent','196xjICTC','addActor','children','getActorsByIds','_physics','levelActorClass','physics','getChildActorsByIds','threeObject','actors','onAddedToWorld','viewport','5062062LuuqHS','forEach','KeepRelative','scene','236xRAgeH','68510PwchuO','app','tick','3740LLChhb','70695zpkegY','delete','position','tickableActors','init','markRenderStateDirty','removeFromParent'];_0x4a87=function(){return _0x24cf34;};return _0x4a87();}class World{get[_0x1198e2(0x93)](){var _0x15aeb9=_0x1198e2,_0x587c79;let _0x2e1361=(_0x587c79=this['_rootActor'])===null||_0x587c79===void 0?void 0:_0x587c79[_0x15aeb9(0x93)];if(!_0x2e1361)throw new Error(_0x15aeb9(0xa1));return _0x2e1361;}get['viewport'](){var _0x162239=_0x1198e2;return this[_0x162239(0x96)][_0x162239(0x8f)];}get[_0x1198e2(0xa4)](){return this['app']['controller'];}get[_0x1198e2(0xaa)](){if(!this['_rootActor'])throw new Error('rootActor\x20is\x20null');return this['_rootActor'];}get[_0x1198e2(0xbc)](){var _0x15ec1c=_0x1198e2;return this[_0x15ec1c(0xba)];}constructor(_0xb63058,_0x211091){var _0x39e767=_0x1198e2;this[_0x39e767(0xad)]=null,this[_0x39e767(0x8d)]=new Set(),this[_0x39e767(0x9c)]=new Set(),this['_clippingGroup']=null,this[_0x39e767(0x96)]=_0xb63058,this[_0x39e767(0xb2)]=_0x211091,this[_0x39e767(0xba)]=new PhysicsWorld();}[_0x1198e2(0x9d)](){var _0x2af1ac=_0x1198e2;this[_0x2af1ac(0xad)]=new this[(_0x2af1ac(0xb2))][(_0x2af1ac(0xbb))](this[_0x2af1ac(0x96)]);}['addTickableActor'](_0x443543){var _0x19c655=_0x1198e2;this[_0x19c655(0x9c)]['add'](_0x443543);}['removeTickableActor'](_0x432e88){var _0x479c27=_0x1198e2;this[_0x479c27(0x9c)][_0x479c27(0x9a)](_0x432e88);}[_0x1198e2(0x97)](_0x4a87b3){var _0xebbf90=_0x1198e2;this[_0xebbf90(0x9c)][_0xebbf90(0x91)](_0x334b6a=>{_0x334b6a['tick'](_0x4a87b3);}),this[_0xebbf90(0xba)]['tick'](_0x4a87b3);}['destroy'](){var _0x15eafc=_0x1198e2,_0x5a7655;this[_0x15eafc(0x9c)][_0x15eafc(0xa3)](),this['_physics']['clear'](),this[_0x15eafc(0x8d)]['forEach'](_0x39ef34=>{_0x39ef34['destroy']();}),this[_0x15eafc(0x8d)]['clear'](),(_0x5a7655=this['_rootActor'])===null||_0x5a7655===void 0?void 0:_0x5a7655[_0x15eafc(0xa6)](),this[_0x15eafc(0xad)]=null;}[_0x1198e2(0xb7)](_0x43f3fe){var _0x5882fe=_0x1198e2,_0x429c95;if(!_0x43f3fe[_0x5882fe(0xb5)][_0x5882fe(0x8c)])throw new Error('actor.threeObject\x20is\x20null');_0x43f3fe[_0x5882fe(0x9f)](),(_0x429c95=this[_0x5882fe(0xad)])===null||_0x429c95===void 0?void 0:_0x429c95['addChildActor'](_0x43f3fe,exports.AttachmentRules[_0x5882fe(0x92)]),this['actors']['add'](_0x43f3fe),_0x43f3fe[_0x5882fe(0x8e)](this),this[_0x5882fe(0x8f)][_0x5882fe(0x9e)]();}[_0x1198e2(0xa8)](_0x4c036a){var _0x2b0ecc=_0x1198e2;_0x4c036a[_0x2b0ecc(0xa6)](),this[_0x2b0ecc(0x8d)][_0x2b0ecc(0x9a)](_0x4c036a),this[_0x2b0ecc(0x8f)][_0x2b0ecc(0x9e)]();}[_0x1198e2(0xb3)](_0x230c1b){var _0x3950ca=_0x1198e2;for(const _0x4a1155 of _0x230c1b){_0x4a1155[_0x3950ca(0xa6)](),this[_0x3950ca(0x8d)][_0x3950ca(0x9a)](_0x4a1155);}this[_0x3950ca(0x8f)][_0x3950ca(0x9e)]();}['getActorById'](_0x5e2a86){var _0x344a62=_0x1198e2;return this['rootActor'][_0x344a62(0xa0)](_0x5e2a86,!![]);}[_0x1198e2(0xb9)](_0x122651){var _0x13459e=_0x1198e2;return this['rootActor'][_0x13459e(0xbd)](_0x122651,!![]);}[_0x1198e2(0xab)](_0x106f91,_0x10cc01){var _0x416105=_0x1198e2;if(!_0x106f91[_0x416105(0xb5)][_0x416105(0x8c)])throw new Error(_0x416105(0xae));!this[_0x416105(0xa7)]&&(this[_0x416105(0xa7)]=new webgpu.ClippingGroup(),this[_0x416105(0xa7)][_0x416105(0x9b)]['set'](0x0,0x0,0x0)),this[_0x416105(0xa7)][_0x416105(0xb0)]=_0x10cc01,this[_0x416105(0x93)][_0x416105(0xaf)](this['_clippingGroup']),this[_0x416105(0xa7)][_0x416105(0xaf)](_0x106f91[_0x416105(0xb5)]['threeObject']);}['removeActorClipping'](_0x54fcf8,_0x49d829=null){var _0x3ea51a=_0x1198e2,_0x528a30;if(!this[_0x3ea51a(0xa7)])return;if(!_0x54fcf8[_0x3ea51a(0xb5)][_0x3ea51a(0x8c)])throw new Error(_0x3ea51a(0xae));_0x49d829?_0x49d829['addChildActor'](_0x54fcf8,exports.AttachmentRules[_0x3ea51a(0x92)]):this[_0x3ea51a(0xb7)](_0x54fcf8),this['_clippingGroup'][_0x3ea51a(0xb8)][_0x3ea51a(0xa9)]===0x0&&((_0x528a30=this[_0x3ea51a(0xa7)][_0x3ea51a(0xa2)])===null||_0x528a30===void 0?void 0:_0x528a30['remove'](this[_0x3ea51a(0xa7)]),this[_0x3ea51a(0xa7)]=null);}}
|
|
67
70
|
|
|
68
|
-
(function(
|
|
71
|
+
var _0x33ca50=_0xc6d7;(function(_0x1cc370,_0x5cf21c){var _0x57f367=_0xc6d7,_0x3472d2=_0x1cc370();while(!![]){try{var _0x2e18a2=-parseInt(_0x57f367(0xfc))/0x1+parseInt(_0x57f367(0x106))/0x2+parseInt(_0x57f367(0xfd))/0x3+parseInt(_0x57f367(0x101))/0x4*(-parseInt(_0x57f367(0xff))/0x5)+parseInt(_0x57f367(0x107))/0x6*(parseInt(_0x57f367(0x104))/0x7)+parseInt(_0x57f367(0x102))/0x8+parseInt(_0x57f367(0x103))/0x9*(-parseInt(_0x57f367(0x100))/0xa);if(_0x2e18a2===_0x5cf21c)break;else _0x3472d2['push'](_0x3472d2['shift']());}catch(_0x4e11fe){_0x3472d2['push'](_0x3472d2['shift']());}}}(_0x2cf3,0x5d07e));exports.RendererType = void 0;(function(_0x808ed4){var _0x382137=_0xc6d7;_0x808ed4[_0x808ed4[_0x382137(0xfe)]=0x0]=_0x382137(0xfe),_0x808ed4[_0x808ed4[_0x382137(0x105)]=0x1]=_0x382137(0x105);}(exports.RendererType||(exports.RendererType={})));function _0xc6d7(_0x119e86,_0xce72a){_0x119e86=_0x119e86-0xfc;var _0x2cf387=_0x2cf3();var _0xc6d7b=_0x2cf387[_0x119e86];return _0xc6d7b;}const DefaultViewportParam={'elementId':null,'renderer':{'type':exports.RendererType[_0x33ca50(0xfe)]},'isLabelRendererNeeded':![],'isCSS3DRendererNeeded':![],'isUILayerNeeded':![]};function _0x2cf3(){var _0x5a20b8=['7IWaGpn','WebGL','911996adWxSt','2233590yVXzzu','482729gRhnQM','214968mxpVWS','WebGPU','25pAUOWc','3250KuTjgs','572004SdhxLe','5558352nBmNTP','441fPNqes'];_0x2cf3=function(){return _0x5a20b8;};return _0x2cf3();}
|
|
69
72
|
|
|
70
|
-
const
|
|
73
|
+
function _0x2a5b(_0x50d014,_0x2f6c4c){_0x50d014=_0x50d014-0xd7;const _0x31d20f=_0x31d2();let _0x2a5b6e=_0x31d20f[_0x50d014];return _0x2a5b6e;}function _0x31d2(){const _0x586b3b=['42ZcoaWq','Antialiasing','GroundTruthAmbientOcclusion','7058145wSiQYR','17097910fxQDRu','Bloom','10464904HswUWP','3EAJVOq','1565124RaJuRK','9NpKUsf','5291352rFKhXk','LensFlare','DepthOfField','Outline','1120091akYcfM','22yGwKYq','ScreenSpaceReflection','414882PGrktZ'];_0x31d2=function(){return _0x586b3b;};return _0x31d2();}(function(_0x3c5c11,_0x1541da){const _0x328a3b=_0x2a5b,_0x14e3d7=_0x3c5c11();while(!![]){try{const _0x5ed950=-parseInt(_0x328a3b(0xe7))/0x1+-parseInt(_0x328a3b(0xe1))/0x2*(parseInt(_0x328a3b(0xe0))/0x3)+-parseInt(_0x328a3b(0xe3))/0x4+parseInt(_0x328a3b(0xdc))/0x5+-parseInt(_0x328a3b(0xd8))/0x6*(-parseInt(_0x328a3b(0xd9))/0x7)+-parseInt(_0x328a3b(0xdf))/0x8*(parseInt(_0x328a3b(0xe2))/0x9)+-parseInt(_0x328a3b(0xdd))/0xa*(-parseInt(_0x328a3b(0xe8))/0xb);if(_0x5ed950===_0x1541da)break;else _0x14e3d7['push'](_0x14e3d7['shift']());}catch(_0xd722a6){_0x14e3d7['push'](_0x14e3d7['shift']());}}}(_0x31d2,0xadf29));const DefaultPostProcessParam={'steps':[]};exports.PostProcessStepType = void 0;(function(_0x20fb25){const _0x509dae=_0x2a5b;_0x20fb25[_0x20fb25[_0x509dae(0xde)]=0x0]=_0x509dae(0xde),_0x20fb25[_0x20fb25[_0x509dae(0xe5)]=0x1]=_0x509dae(0xe5),_0x20fb25[_0x20fb25[_0x509dae(0xd7)]=0x2]=_0x509dae(0xd7),_0x20fb25[_0x20fb25[_0x509dae(0xdb)]=0x3]=_0x509dae(0xdb),_0x20fb25[_0x20fb25[_0x509dae(0xe6)]=0x4]='Outline',_0x20fb25[_0x20fb25[_0x509dae(0xda)]=0x5]=_0x509dae(0xda),_0x20fb25[_0x20fb25[_0x509dae(0xe4)]=0x6]=_0x509dae(0xe4);}(exports.PostProcessStepType||(exports.PostProcessStepType={})));
|
|
71
74
|
|
|
72
|
-
function
|
|
75
|
+
function _0x499a(){const _0x682e7=['238300OQVcyA','52860RISNsO','302946QYXUGL','Bloom','169954UdJXcz','3220cprrOj','45LZVqmX','232vESKRv','11176FaRXYz','1963LCWjxG','77VLjvkf','4113LhrVTW','21YeHsyo','23852IenJde'];_0x499a=function(){return _0x682e7;};return _0x499a();}function _0x4a93(_0x161d9a,_0x323c79){_0x161d9a=_0x161d9a-0x12f;const _0x499a05=_0x499a();let _0x4a9310=_0x499a05[_0x161d9a];return _0x4a9310;}const _0x507923=_0x4a93;(function(_0x487905,_0x5e58dc){const _0x568dc8=_0x4a93,_0x52ee4c=_0x487905();while(!![]){try{const _0x200c42=parseInt(_0x568dc8(0x131))/0x1+-parseInt(_0x568dc8(0x136))/0x2*(-parseInt(_0x568dc8(0x130))/0x3)+parseInt(_0x568dc8(0x132))/0x4*(-parseInt(_0x568dc8(0x138))/0x5)+parseInt(_0x568dc8(0x134))/0x6*(parseInt(_0x568dc8(0x13c))/0x7)+parseInt(_0x568dc8(0x139))/0x8*(parseInt(_0x568dc8(0x12f))/0x9)+parseInt(_0x568dc8(0x137))/0xa*(parseInt(_0x568dc8(0x13a))/0xb)+-parseInt(_0x568dc8(0x133))/0xc*(parseInt(_0x568dc8(0x13b))/0xd);if(_0x200c42===_0x5e58dc)break;else _0x52ee4c['push'](_0x52ee4c['shift']());}catch(_0x374eb4){_0x52ee4c['push'](_0x52ee4c['shift']());}}}(_0x499a,0x4c74f));const DefaultBloomParam={'type':exports.PostProcessStepType[_0x507923(0x135)],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
73
76
|
|
|
74
|
-
(function(
|
|
77
|
+
function _0x574c(){const _0x5b5b0e=['41823480SIYqPi','967806necLWY','18grQKHh','DepthOfField','5826240FgpFoI','2313561qZBqYb','4wOkOBO','7qqvcrG','1150145sjMQQI','9389104JTNdLT','1513946aevMLJ'];_0x574c=function(){return _0x5b5b0e;};return _0x574c();}const _0xc0edf3=_0x2171;(function(_0x5e63f2,_0x58eae5){const _0x1708c6=_0x2171,_0x1da88e=_0x5e63f2();while(!![]){try{const _0x56428a=-parseInt(_0x1708c6(0x1b1))/0x1+parseInt(_0x1708c6(0x1af))/0x2+-parseInt(_0x1708c6(0x1aa))/0x3*(parseInt(_0x1708c6(0x1ab))/0x4)+-parseInt(_0x1708c6(0x1ad))/0x5*(parseInt(_0x1708c6(0x1a7))/0x6)+-parseInt(_0x1708c6(0x1ac))/0x7*(parseInt(_0x1708c6(0x1ae))/0x8)+-parseInt(_0x1708c6(0x1a9))/0x9+parseInt(_0x1708c6(0x1b0))/0xa;if(_0x56428a===_0x58eae5)break;else _0x1da88e['push'](_0x1da88e['shift']());}catch(_0x51e543){_0x1da88e['push'](_0x1da88e['shift']());}}}(_0x574c,0xa845b));function _0x2171(_0x4ac1c1,_0x41286d){_0x4ac1c1=_0x4ac1c1-0x1a7;const _0x574cbe=_0x574c();let _0x217180=_0x574cbe[_0x4ac1c1];return _0x217180;}const DefaultDOFParam={'type':exports.PostProcessStepType[_0xc0edf3(0x1a8)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
75
78
|
|
|
76
|
-
|
|
79
|
+
function _0x13a8(_0x26f5f1,_0x32f2af){_0x26f5f1=_0x26f5f1-0x6f;const _0x4f59fd=_0x4f59();let _0x13a87f=_0x4f59fd[_0x26f5f1];return _0x13a87f;}function _0x4f59(){const _0x607011=['203piQKqU','7900cqRnuX','50AEHBrN','3365yAwXPd','113224TGtMkx','132622gdtvNu','5948298thOAHq','2159097tZbfXT','1282120YMGKNt','852813DPNzCJ'];_0x4f59=function(){return _0x607011;};return _0x4f59();}(function(_0x5b253f,_0x4b113e){const _0x4e65f7=_0x13a8,_0x238330=_0x5b253f();while(!![]){try{const _0x1df3de=-parseInt(_0x4e65f7(0x71))/0x1+parseInt(_0x4e65f7(0x78))/0x2+parseInt(_0x4e65f7(0x70))/0x3+-parseInt(_0x4e65f7(0x74))/0x4*(-parseInt(_0x4e65f7(0x76))/0x5)+-parseInt(_0x4e65f7(0x6f))/0x6+parseInt(_0x4e65f7(0x73))/0x7*(parseInt(_0x4e65f7(0x77))/0x8)+-parseInt(_0x4e65f7(0x72))/0x9*(-parseInt(_0x4e65f7(0x75))/0xa);if(_0x1df3de===_0x4b113e)break;else _0x238330['push'](_0x238330['shift']());}catch(_0x428104){_0x238330['push'](_0x238330['shift']());}}}(_0x4f59,0xb1390));const DefaultGTAOParam={'type':exports.PostProcessStepType['GroundTruthAmbientOcclusion'],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
77
80
|
|
|
78
|
-
const
|
|
81
|
+
const _0x446cf5=_0x5a93;(function(_0x116a38,_0x17ee17){const _0x1e4668=_0x5a93,_0x3115d4=_0x116a38();while(!![]){try{const _0x2bd81d=parseInt(_0x1e4668(0x158))/0x1+parseInt(_0x1e4668(0x154))/0x2*(-parseInt(_0x1e4668(0x15a))/0x3)+parseInt(_0x1e4668(0x159))/0x4+-parseInt(_0x1e4668(0x15c))/0x5+parseInt(_0x1e4668(0x156))/0x6+-parseInt(_0x1e4668(0x157))/0x7*(parseInt(_0x1e4668(0x15b))/0x8)+parseInt(_0x1e4668(0x153))/0x9;if(_0x2bd81d===_0x17ee17)break;else _0x3115d4['push'](_0x3115d4['shift']());}catch(_0x3582af){_0x3115d4['push'](_0x3115d4['shift']());}}}(_0x48b0,0x38f3c));function _0x5a93(_0x50c646,_0x2e3634){_0x50c646=_0x50c646-0x153;const _0x48b0f1=_0x48b0();let _0x5a939e=_0x48b0f1[_0x50c646];return _0x5a939e;}function _0x48b0(){const _0x3cb592=['7hgcxXY','92205czilzU','247976wzTznz','777eJAZxU','2521384LPWkva','1142110FcWQuR','4971231cezpUx','2388zAHzxm','Outline','2277354lNPoIc'];_0x48b0=function(){return _0x3cb592;};return _0x48b0();}const DefaultOutlineParams={'type':exports.PostProcessStepType[_0x446cf5(0x155)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
79
82
|
|
|
80
|
-
const _0x528aa5=_0x191c;(function(_0xcc42e6,_0x1e2c52){const _0x3454b2=_0x191c,_0x521ec1=_0xcc42e6();while(!![]){try{const _0x3c9641=-parseInt(_0x3454b2(0x1a6))/0x1+-parseInt(_0x3454b2(0x15d))/0x2*(-parseInt(_0x3454b2(0x159))/0x3)+-parseInt(_0x3454b2(0x180))/0x4+-parseInt(_0x3454b2(0x171))/0x5*(parseInt(_0x3454b2(0x189))/0x6)+parseInt(_0x3454b2(0x17c))/0x7+-parseInt(_0x3454b2(0x184))/0x8+-parseInt(_0x3454b2(0x182))/0x9*(-parseInt(_0x3454b2(0x162))/0xa);if(_0x3c9641===_0x1e2c52)break;else _0x521ec1['push'](_0x521ec1['shift']());}catch(_0x152d98){_0x521ec1['push'](_0x521ec1['shift']());}}}(_0x30db,0x3b585));function _0x191c(_0x3c1a76,_0x10d9a7){_0x3c1a76=_0x3c1a76-0x153;const _0x30db65=_0x30db();let _0x191ca7=_0x30db65[_0x3c1a76];return _0x191ca7;}function _0x30db(){const _0x3a56a8=['gtaoScale','normal','resolutionScale','postProcessing','render','updateAllUniforms','onBuildFinalNode','postProcessParam','287112jrIOdN','dofPass','scene','indexOf','1847808GUMfay','strength','3275757fAMZDl','markDirty','2439624xqeyuD','mul','edgeStrength','GroundTruthAmbientOcclusion','createEffectUniforms','276YYPPQV','find','lensflarePass','method','dispose','aperture','edgeGlow','lut3dTexture','length','outlineEdgeThickness','setup','gtaoSamples','fxaa','bloomPass','select','edgeGlowNode','traa','focus','effectUniforms','bokehScaleNode','LensFlare','dofAperture','push','gtaoEnabled','div','outlineObjects','getStepParam','processing','pulsePeriod','274950Ulqbny','visibleEdgeColor','steps','distanceExponent','useTemporalFiltering','distanceFallOff','camera','type','DepthOfField','outlineEnabled','scale','needsUpdate','gtaoPass','hiddenEdgeColor','gtaoThickness','map','splice','setMRT','includes','bloomStrength','has','onDirtyCallback','Antialiasing','samples','ghostTint','outlineVisibleEdgeColor','focusDistanceNode','thickness','outlineHiddenEdgeColor','updateCamera','addOutlineObject','selectedObjects','removeOutlineObject','Bloom','greaterThan','depth','outputNode','threshold','output','16722LNDOlN','downSampleRatio','renderer','value','90aYclrz','bloomEnabled','gtaoDistanceFallOff','outlinePass','ghostSpacing','40OEmNsW','traaPass','add','maxblur','fxaaEnabled','edgeThickness','ghostAttenuationFactor','radius','velocity','outlineEdgeStrength','gtaoDistanceExponent','outlinePulsePeriod','bloomRadius','buildPipeline','getTextureNode','50305prYiAW','Outline','lensflareEnabled'];_0x30db=function(){return _0x3a56a8;};return _0x30db();}class PostProcessManager{constructor(_0xeed77e,_0x41a31b,_0x97ec7b,_0x5e90c2,_0x483fb9){const _0x2d038c=_0x191c;this['postProcessing']=null,this[_0x2d038c(0x1a2)]=[],this[_0x2d038c(0x19b)]=null,this['outlinePass']=null,this[_0x2d038c(0x196)]=null,this[_0x2d038c(0x17d)]=null,this[_0x2d038c(0x1b2)]=null,this[_0x2d038c(0x163)]=null,this[_0x2d038c(0x18b)]=null,this[_0x2d038c(0x190)]=null,this[_0x2d038c(0x1bb)]=null,this['renderer']=_0xeed77e,this[_0x2d038c(0x17e)]=_0x41a31b,this['camera']=_0x97ec7b,this['postProcessParam']=Object['assign']({},_0x5e90c2),this[_0x2d038c(0x1bb)]=_0x483fb9!==null&&_0x483fb9!==void 0?_0x483fb9:null;}get[_0x528aa5(0x1a4)](){const _0x19d887=_0x528aa5;return this[_0x19d887(0x177)];}[_0x528aa5(0x1c3)](_0x14f382){const _0x3c16bd=_0x528aa5;this[_0x3c16bd(0x1ac)]=_0x14f382,(!this[_0x3c16bd(0x177)]||!this[_0x3c16bd(0x19b)])&&(this[_0x3c16bd(0x16f)](),this[_0x3c16bd(0x179)](),this[_0x3c16bd(0x183)]());}[_0x528aa5(0x193)](){const _0x4fe93d=_0x528aa5;(!this[_0x4fe93d(0x177)]||!this['effectUniforms'])&&this[_0x4fe93d(0x16f)](),this[_0x4fe93d(0x179)](),this['markDirty']();}[_0x528aa5(0x16f)](){const _0x5ea636=_0x528aa5;var _0x15c4ff,_0x2f75f1,_0x5cd5dc,_0x5629a0,_0x3126d4;this[_0x5ea636(0x177)]&&this['postProcessing'][_0x5ea636(0x18d)]();this[_0x5ea636(0x177)]=new webgpu.PostProcessing(this[_0x5ea636(0x15b)]),this[_0x5ea636(0x160)]=null,this['bloomPass']=null,this[_0x5ea636(0x17d)]=null,this[_0x5ea636(0x1b2)]=null,this['traaPass']=null,this[_0x5ea636(0x18b)]=null,this['effectUniforms']=this[_0x5ea636(0x188)]();const _0x5571fe=new Set(this[_0x5ea636(0x17b)][_0x5ea636(0x1a8)][_0x5ea636(0x1b5)](_0x2cee47=>_0x2cee47[_0x5ea636(0x1ad)])),_0x2e3b71=this[_0x5ea636(0x1a3)](exports.PostProcessStepType[_0x5ea636(0x1bc)]),_0x543c94=_0x5571fe[_0x5ea636(0x1ba)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']),_0x3c3c3c=(_0x2e3b71===null||_0x2e3b71===void 0?void 0:_0x2e3b71['method'])===_0x5ea636(0x199),_0x71c121=tsl.pass(this[_0x5ea636(0x17e)],this[_0x5ea636(0x1ac)]);if(_0x543c94||_0x3c3c3c){const _0x5c55a4={'output':tsl.output};if(_0x543c94)_0x5c55a4[_0x5ea636(0x175)]=tsl.normalView;if(_0x3c3c3c)_0x5c55a4['velocity']=tsl.velocity;_0x71c121[_0x5ea636(0x1b7)](tsl.mrt(_0x5c55a4));}const _0x3990e5=_0x71c121[_0x5ea636(0x170)](_0x5ea636(0x158)),_0x245708=_0x71c121['getTextureNode'](_0x5ea636(0x155)),_0x17b301=_0x71c121['getViewZNode'](),_0x54aee5=_0x543c94?_0x71c121[_0x5ea636(0x170)](_0x5ea636(0x175)):null,_0x5a9bfc=_0x3c3c3c?_0x71c121[_0x5ea636(0x170)](_0x5ea636(0x16a)):null,_0x5b21c5=this[_0x5ea636(0x19b)];let _0x59c21d=_0x3990e5;const _0x569e10=_0x5571fe[_0x5ea636(0x1ba)](exports.PostProcessStepType[_0x5ea636(0x153)]),_0x5ee98a=_0x5571fe[_0x5ea636(0x1ba)](exports.PostProcessStepType[_0x5ea636(0x19d)]);if(_0x569e10||_0x5ee98a){const _0x5b1d76=(_0x15c4ff=this[_0x5ea636(0x1a3)](exports.PostProcessStepType[_0x5ea636(0x153)]))!==null&&_0x15c4ff!==void 0?_0x15c4ff:DefaultBloomParam;this['bloomPass']=BloomNode_js.bloom(_0x3990e5),this[_0x5ea636(0x196)][_0x5ea636(0x157)][_0x5ea636(0x15c)]=_0x5b1d76[_0x5ea636(0x157)],this[_0x5ea636(0x196)][_0x5ea636(0x181)][_0x5ea636(0x15c)]=_0x5b1d76[_0x5ea636(0x181)],this['bloomPass'][_0x5ea636(0x169)][_0x5ea636(0x15c)]=_0x5b1d76['radius'];if(_0x569e10){const _0x4c2be9=this['bloomPass']['mul'](_0x5b21c5[_0x5ea636(0x1b9)]);_0x59c21d=tsl.vec4(_0x3990e5['r']['add'](_0x4c2be9['r']),_0x3990e5['g']['add'](_0x4c2be9['g']),_0x3990e5['b'][_0x5ea636(0x164)](_0x4c2be9['b']),_0x3990e5['a']);}if(_0x5ee98a){const _0x112ab1=(_0x2f75f1=this[_0x5ea636(0x1a3)](exports.PostProcessStepType[_0x5ea636(0x19d)]))!==null&&_0x2f75f1!==void 0?_0x2f75f1:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this['bloomPass'][_0x5ea636(0x170)](),{'ghostTint':tsl.vec3(_0x112ab1['ghostTint'][0x0],_0x112ab1[_0x5ea636(0x1be)][0x1],_0x112ab1[_0x5ea636(0x1be)][0x2]),'threshold':tsl.float(_0x112ab1[_0x5ea636(0x157)]),'ghostSamples':tsl.float(_0x112ab1['ghostSamples']),'ghostSpacing':tsl.float(_0x112ab1[_0x5ea636(0x161)]),'ghostAttenuationFactor':tsl.float(_0x112ab1[_0x5ea636(0x168)]),'downSampleRatio':_0x112ab1[_0x5ea636(0x15a)]});const _0x36d887=this[_0x5ea636(0x18b)][_0x5ea636(0x170)]();_0x59c21d=tsl.vec4(_0x59c21d['r'][_0x5ea636(0x164)](_0x36d887['r']),_0x59c21d['g']['add'](_0x36d887['g']),_0x59c21d['b'][_0x5ea636(0x164)](_0x36d887['b']),_0x59c21d['a']);}}if(_0x5571fe[_0x5ea636(0x1ba)](exports.PostProcessStepType[_0x5ea636(0x1ae)])){const _0x23feb9=(_0x5cd5dc=this[_0x5ea636(0x1a3)](exports.PostProcessStepType[_0x5ea636(0x1ae)]))!==null&&_0x5cd5dc!==void 0?_0x5cd5dc:DefaultDOFParam;this[_0x5ea636(0x17d)]=DepthOfFieldNode_js.dof(_0x59c21d,_0x17b301,tsl.uniform(_0x23feb9[_0x5ea636(0x19a)]),tsl.uniform(_0x23feb9[_0x5ea636(0x18e)]),tsl.uniform(_0x23feb9[_0x5ea636(0x165)])),_0x59c21d=tsl.vec4(this['dofPass']['r'],this[_0x5ea636(0x17d)]['g'],this[_0x5ea636(0x17d)]['b'],_0x3990e5['a']);}if(_0x543c94&&_0x54aee5){const _0x1c023c=(_0x5629a0=this[_0x5ea636(0x1a3)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x5629a0!==void 0?_0x5629a0:DefaultGTAOParam;this['gtaoPass']=GTAONode_js.ao(_0x245708,_0x54aee5,this[_0x5ea636(0x1ac)]),this[_0x5ea636(0x1b2)][_0x5ea636(0x176)]=0.5,this[_0x5ea636(0x1b2)][_0x5ea636(0x1a9)][_0x5ea636(0x15c)]=_0x1c023c[_0x5ea636(0x1a9)],this[_0x5ea636(0x1b2)][_0x5ea636(0x1ab)]['value']=_0x1c023c[_0x5ea636(0x1ab)],this['gtaoPass'][_0x5ea636(0x169)][_0x5ea636(0x15c)]=_0x1c023c[_0x5ea636(0x169)],this['gtaoPass'][_0x5ea636(0x1b0)][_0x5ea636(0x15c)]=_0x1c023c[_0x5ea636(0x1b0)],this[_0x5ea636(0x1b2)][_0x5ea636(0x1c1)][_0x5ea636(0x15c)]=_0x1c023c[_0x5ea636(0x1c1)],this[_0x5ea636(0x1b2)][_0x5ea636(0x1bd)][_0x5ea636(0x15c)]=_0x1c023c[_0x5ea636(0x1bd)],this[_0x5ea636(0x1b2)][_0x5ea636(0x1aa)]=_0x1c023c[_0x5ea636(0x1aa)];const _0x526e45=this['gtaoPass'][_0x5ea636(0x170)]()['r'];_0x59c21d=tsl.vec4(_0x59c21d['r'][_0x5ea636(0x185)](_0x526e45),_0x59c21d['g'][_0x5ea636(0x185)](_0x526e45),_0x59c21d['b'][_0x5ea636(0x185)](_0x526e45),_0x59c21d['a']);}if(_0x5571fe['has'](exports.PostProcessStepType[_0x5ea636(0x172)])){const _0x2b682e=(_0x3126d4=this[_0x5ea636(0x1a3)](exports.PostProcessStepType[_0x5ea636(0x172)]))!==null&&_0x3126d4!==void 0?_0x3126d4:DefaultOutlineParams;this['outlinePass']=OutlineNode_js.outline(this[_0x5ea636(0x17e)],this['camera'],{'selectedObjects':this[_0x5ea636(0x1a2)],'edgeGlow':tsl.uniform(_0x2b682e['edgeGlow']),'edgeThickness':tsl.uniform(_0x2b682e[_0x5ea636(0x167)])});const {visibleEdge:_0x47fb87,hiddenEdge:_0x4b6241}=this[_0x5ea636(0x160)],_0x1ff6ae=_0x5b21c5[_0x5ea636(0x16d)][_0x5ea636(0x154)](0x0)[_0x5ea636(0x197)](_0x5b21c5['outlinePulsePeriod'],tsl.uniform(0x1)),_0x5db1c2=tsl.time[_0x5ea636(0x1a1)](_0x1ff6ae)[_0x5ea636(0x185)](0x2),_0x5a6426=tsl.oscSine(_0x5db1c2)[_0x5ea636(0x185)](0.5)[_0x5ea636(0x164)](0.5),_0x18e144=_0x47fb87[_0x5ea636(0x185)](_0x5b21c5[_0x5ea636(0x1bf)])[_0x5ea636(0x164)](_0x4b6241['mul'](_0x5b21c5['outlineHiddenEdgeColor']))['mul'](_0x5b21c5[_0x5ea636(0x16b)]),_0x53a19a=_0x5b21c5['outlinePulsePeriod'][_0x5ea636(0x154)](0x0),_0x1d6a06=_0x53a19a[_0x5ea636(0x197)](_0x5a6426,tsl.float(0x1));_0x59c21d=tsl.vec4(_0x59c21d['r']['add'](_0x18e144['r'][_0x5ea636(0x185)](_0x1d6a06)),_0x59c21d['g'][_0x5ea636(0x164)](_0x18e144['g'][_0x5ea636(0x185)](_0x1d6a06)),_0x59c21d['b'][_0x5ea636(0x164)](_0x18e144['b'][_0x5ea636(0x185)](_0x1d6a06)),_0x59c21d['a']);}if(_0x2e3b71){if(_0x2e3b71[_0x5ea636(0x18c)]===_0x5ea636(0x195))_0x59c21d=FXAANode_js.fxaa(_0x59c21d);else {if(_0x2e3b71['method']==='smaa')_0x59c21d=SMAANode_js.smaa(_0x59c21d);else _0x2e3b71[_0x5ea636(0x18c)]==='traa'&&_0x5a9bfc&&(this['traaPass']=TRAANode_js.traa(_0x59c21d,_0x245708,_0x5a9bfc,this[_0x5ea636(0x1ac)]),_0x59c21d=this[_0x5ea636(0x163)][_0x5ea636(0x170)]());}}_0x59c21d=this[_0x5ea636(0x17a)](_0x59c21d),_0x59c21d=tsl.vec4(_0x59c21d['r'],_0x59c21d['g'],_0x59c21d['b'],_0x3990e5['a']),this[_0x5ea636(0x177)][_0x5ea636(0x156)]=_0x59c21d,this[_0x5ea636(0x177)][_0x5ea636(0x1b1)]=!![];}[_0x528aa5(0x17a)](_0x579013){return _0x579013;}[_0x528aa5(0x188)](){const _0x4b4b17=_0x528aa5;var _0x4108e0,_0x31c944,_0x49e877,_0x1af460;const _0x17ae7d=(_0x4108e0=this['getStepParam'](exports.PostProcessStepType[_0x4b4b17(0x153)]))!==null&&_0x4108e0!==void 0?_0x4108e0:DefaultBloomParam,_0x15ec77=(_0x31c944=this[_0x4b4b17(0x1a3)](exports.PostProcessStepType['DepthOfField']))!==null&&_0x31c944!==void 0?_0x31c944:DefaultDOFParam,_0x4bfc35=(_0x49e877=this[_0x4b4b17(0x1a3)](exports.PostProcessStepType[_0x4b4b17(0x187)]))!==null&&_0x49e877!==void 0?_0x49e877:DefaultGTAOParam,_0x159004=(_0x1af460=this[_0x4b4b17(0x1a3)](exports.PostProcessStepType[_0x4b4b17(0x172)]))!==null&&_0x1af460!==void 0?_0x1af460:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x17ae7d[_0x4b4b17(0x181)]),'bloomThreshold':tsl.uniform(_0x17ae7d[_0x4b4b17(0x157)]),'bloomRadius':tsl.uniform(_0x17ae7d[_0x4b4b17(0x169)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x15ec77[_0x4b4b17(0x19a)]),'dofAperture':tsl.uniform(_0x15ec77['aperture']),'dofMaxBlur':tsl.uniform(_0x15ec77[_0x4b4b17(0x165)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x4bfc35[_0x4b4b17(0x1b0)]),'gtaoDistanceExponent':tsl.uniform(_0x4bfc35[_0x4b4b17(0x1a9)]),'gtaoDistanceFallOff':tsl.uniform(_0x4bfc35['distanceFallOff']),'gtaoRadius':tsl.uniform(_0x4bfc35[_0x4b4b17(0x169)]),'gtaoThickness':tsl.uniform(_0x4bfc35[_0x4b4b17(0x1c1)]),'gtaoSamples':tsl.uniform(_0x4bfc35['samples']),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x159004[_0x4b4b17(0x186)]),'outlineEdgeGlow':tsl.uniform(_0x159004[_0x4b4b17(0x18f)]),'outlineEdgeThickness':tsl.uniform(_0x159004[_0x4b4b17(0x167)]),'outlinePulsePeriod':tsl.uniform(_0x159004[_0x4b4b17(0x1a5)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x159004[_0x4b4b17(0x1a7)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x159004[_0x4b4b17(0x1b3)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}['getStepParam'](_0x5eae27){const _0x180192=_0x528aa5;var _0x463ff9;return (_0x463ff9=this[_0x180192(0x17b)][_0x180192(0x1a8)][_0x180192(0x18a)](_0x4efefe=>_0x4efefe[_0x180192(0x1ad)]===_0x5eae27))!==null&&_0x463ff9!==void 0?_0x463ff9:null;}[_0x528aa5(0x179)](){const _0x27ce59=_0x528aa5;if(!this[_0x27ce59(0x19b)])return;const _0x5566ce=this[_0x27ce59(0x19b)],_0x5bd4f0=new Set(this[_0x27ce59(0x17b)][_0x27ce59(0x1a8)][_0x27ce59(0x1b5)](_0x38a68c=>_0x38a68c[_0x27ce59(0x1ad)]));_0x5566ce[_0x27ce59(0x15e)][_0x27ce59(0x15c)]=_0x5bd4f0[_0x27ce59(0x1ba)](exports.PostProcessStepType['Bloom'])?0x1:0x0,_0x5566ce['dofEnabled'][_0x27ce59(0x15c)]=_0x5bd4f0[_0x27ce59(0x1ba)](exports.PostProcessStepType[_0x27ce59(0x1ae)])?0x1:0x0,_0x5566ce[_0x27ce59(0x1a0)][_0x27ce59(0x15c)]=_0x5bd4f0[_0x27ce59(0x1ba)](exports.PostProcessStepType[_0x27ce59(0x187)])?0x1:0x0,_0x5566ce[_0x27ce59(0x1af)]['value']=_0x5bd4f0['has'](exports.PostProcessStepType[_0x27ce59(0x172)])?0x1:0x0,_0x5566ce[_0x27ce59(0x173)][_0x27ce59(0x15c)]=_0x5bd4f0['has'](exports.PostProcessStepType[_0x27ce59(0x19d)])?0x1:0x0;const _0x185d96=this['getStepParam'](exports.PostProcessStepType[_0x27ce59(0x1bc)]);_0x185d96?(_0x5566ce[_0x27ce59(0x166)][_0x27ce59(0x15c)]=_0x185d96[_0x27ce59(0x18c)]===_0x27ce59(0x195)?0x1:0x0,_0x5566ce['smaaEnabled'][_0x27ce59(0x15c)]=_0x185d96[_0x27ce59(0x18c)]==='smaa'?0x1:0x0):(_0x5566ce[_0x27ce59(0x166)][_0x27ce59(0x15c)]=0x0,_0x5566ce['smaaEnabled'][_0x27ce59(0x15c)]=0x0);const _0x5ba249=this[_0x27ce59(0x1a3)](exports.PostProcessStepType[_0x27ce59(0x153)]);_0x5ba249&&(_0x5566ce['bloomStrength'][_0x27ce59(0x15c)]=_0x5ba249[_0x27ce59(0x181)],_0x5566ce['bloomThreshold'][_0x27ce59(0x15c)]=_0x5ba249[_0x27ce59(0x157)],_0x5566ce[_0x27ce59(0x16e)][_0x27ce59(0x15c)]=_0x5ba249[_0x27ce59(0x169)],this[_0x27ce59(0x196)]&&(this['bloomPass']['threshold'][_0x27ce59(0x15c)]=_0x5ba249[_0x27ce59(0x157)],this['bloomPass'][_0x27ce59(0x181)]['value']=_0x5ba249[_0x27ce59(0x181)],this[_0x27ce59(0x196)][_0x27ce59(0x169)][_0x27ce59(0x15c)]=_0x5ba249[_0x27ce59(0x169)]));const _0x1f3cd4=this['getStepParam'](exports.PostProcessStepType[_0x27ce59(0x19d)]);if(_0x1f3cd4&&this[_0x27ce59(0x18b)]);const _0x455d4e=this[_0x27ce59(0x1a3)](exports.PostProcessStepType[_0x27ce59(0x1ae)]);_0x455d4e&&(_0x5566ce['dofFocus'][_0x27ce59(0x15c)]=_0x455d4e[_0x27ce59(0x19a)],_0x5566ce[_0x27ce59(0x19e)][_0x27ce59(0x15c)]=_0x455d4e[_0x27ce59(0x18e)],_0x5566ce['dofMaxBlur']['value']=_0x455d4e[_0x27ce59(0x165)],this['dofPass']&&(this[_0x27ce59(0x17d)][_0x27ce59(0x1c0)]['value']=_0x455d4e[_0x27ce59(0x19a)],this[_0x27ce59(0x17d)]['focalLengthNode'][_0x27ce59(0x15c)]=_0x455d4e[_0x27ce59(0x18e)],this[_0x27ce59(0x17d)][_0x27ce59(0x19c)][_0x27ce59(0x15c)]=_0x455d4e[_0x27ce59(0x165)]));const _0x5e1925=this[_0x27ce59(0x1a3)](exports.PostProcessStepType[_0x27ce59(0x187)]);_0x5e1925&&(_0x5566ce[_0x27ce59(0x174)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1b0)],_0x5566ce[_0x27ce59(0x16c)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1a9)],_0x5566ce[_0x27ce59(0x15f)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1ab)],_0x5566ce['gtaoRadius'][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x169)],_0x5566ce[_0x27ce59(0x1b4)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1c1)],_0x5566ce[_0x27ce59(0x194)][_0x27ce59(0x15c)]=_0x5e1925['samples'],this[_0x27ce59(0x1b2)]&&(this[_0x27ce59(0x1b2)]['distanceExponent']['value']=_0x5e1925[_0x27ce59(0x1a9)],this[_0x27ce59(0x1b2)][_0x27ce59(0x1ab)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1ab)],this[_0x27ce59(0x1b2)][_0x27ce59(0x169)]['value']=_0x5e1925[_0x27ce59(0x169)],this[_0x27ce59(0x1b2)]['scale'][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1b0)],this[_0x27ce59(0x1b2)][_0x27ce59(0x1c1)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1c1)],this[_0x27ce59(0x1b2)][_0x27ce59(0x1bd)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1bd)],this['gtaoPass'][_0x27ce59(0x1aa)]=_0x5e1925['useTemporalFiltering']));const _0x40b20e=this['getStepParam'](exports.PostProcessStepType['Outline']);_0x40b20e&&(_0x5566ce[_0x27ce59(0x16b)][_0x27ce59(0x15c)]=_0x40b20e[_0x27ce59(0x186)],_0x5566ce['outlineEdgeGlow'][_0x27ce59(0x15c)]=_0x40b20e[_0x27ce59(0x18f)],_0x5566ce[_0x27ce59(0x192)]['value']=_0x40b20e[_0x27ce59(0x167)],_0x5566ce[_0x27ce59(0x16d)][_0x27ce59(0x15c)]=_0x40b20e[_0x27ce59(0x1a5)],_0x5566ce[_0x27ce59(0x1bf)][_0x27ce59(0x15c)]['set'](_0x40b20e[_0x27ce59(0x1a7)]),_0x5566ce[_0x27ce59(0x1c2)][_0x27ce59(0x15c)]['set'](_0x40b20e['hiddenEdgeColor']),this[_0x27ce59(0x160)]&&(this[_0x27ce59(0x160)][_0x27ce59(0x198)][_0x27ce59(0x15c)]=_0x40b20e['edgeGlow'],this['outlinePass']['edgeThicknessNode']['value']=_0x40b20e[_0x27ce59(0x167)],this['outlinePass'][_0x27ce59(0x1c5)]=this['outlineObjects']));}['updateSteps'](_0xc1031){const _0x436539=_0x528aa5;this['postProcessParam'][_0x436539(0x1a8)]=_0xc1031,this[_0x436539(0x16f)](),this[_0x436539(0x179)](),this[_0x436539(0x183)]();}[_0x528aa5(0x1c4)](_0x2f8ac6){const _0x35c509=_0x528aa5;!this[_0x35c509(0x1a2)][_0x35c509(0x1b8)](_0x2f8ac6)&&(this[_0x35c509(0x1a2)][_0x35c509(0x19f)](_0x2f8ac6),this['outlinePass']&&(this[_0x35c509(0x160)][_0x35c509(0x1c5)]=this[_0x35c509(0x1a2)])),this[_0x35c509(0x183)]();}['setOutlineObjects'](_0x2859a7){const _0x3f8da1=_0x528aa5;this[_0x3f8da1(0x1a2)][_0x3f8da1(0x191)]=0x0,this[_0x3f8da1(0x1a2)][_0x3f8da1(0x19f)](..._0x2859a7),this[_0x3f8da1(0x160)]&&(this['outlinePass'][_0x3f8da1(0x1c5)]=this[_0x3f8da1(0x1a2)]),this[_0x3f8da1(0x183)]();}[_0x528aa5(0x1c6)](_0x4f29c5){const _0x5f5bf1=_0x528aa5,_0x4482b=this[_0x5f5bf1(0x1a2)][_0x5f5bf1(0x17f)](_0x4f29c5);_0x4482b>-1&&(this[_0x5f5bf1(0x1a2)][_0x5f5bf1(0x1b6)](_0x4482b,0x1),this['outlinePass']&&(this['outlinePass'][_0x5f5bf1(0x1c5)]=this['outlineObjects'])),this[_0x5f5bf1(0x183)]();}['setLUT3DTexture'](_0x54b39c){const _0x2ab45f=_0x528aa5;this[_0x2ab45f(0x190)]=_0x54b39c,this[_0x2ab45f(0x16f)](),this[_0x2ab45f(0x179)](),this[_0x2ab45f(0x183)]();}['getLUT3DTexture'](){const _0x492880=_0x528aa5;return this[_0x492880(0x190)];}['render'](){const _0x4afef6=_0x528aa5;if(this[_0x4afef6(0x177)])return this[_0x4afef6(0x177)][_0x4afef6(0x178)](),!![];return ![];}['destroy'](){const _0x3f221d=_0x528aa5;this[_0x3f221d(0x1a2)]=[],this[_0x3f221d(0x19b)]=null,this[_0x3f221d(0x160)]=null,this[_0x3f221d(0x196)]=null,this[_0x3f221d(0x17d)]=null,this['gtaoPass']=null,this[_0x3f221d(0x163)]=null,this[_0x3f221d(0x18b)]=null,this[_0x3f221d(0x190)]=null,this[_0x3f221d(0x177)]&&(this[_0x3f221d(0x177)][_0x3f221d(0x18d)](),this[_0x3f221d(0x177)]=null);}[_0x528aa5(0x183)](){const _0x36faf2=_0x528aa5;this[_0x36faf2(0x1bb)]&&this[_0x36faf2(0x1bb)]();}}
|
|
83
|
+
const _0x4d7526=_0x1fba;function _0x1fba(_0x458174,_0x42fda4){_0x458174=_0x458174-0xad;const _0x1895c9=_0x1895();let _0x1fba6d=_0x1895c9[_0x458174];return _0x1fba6d;}(function(_0x590578,_0x5411b3){const _0x1906ea=_0x1fba,_0x455195=_0x590578();while(!![]){try{const _0x3678bb=-parseInt(_0x1906ea(0xae))/0x1*(-parseInt(_0x1906ea(0xb4))/0x2)+-parseInt(_0x1906ea(0xb6))/0x3*(parseInt(_0x1906ea(0xb5))/0x4)+parseInt(_0x1906ea(0xaf))/0x5*(-parseInt(_0x1906ea(0xb7))/0x6)+-parseInt(_0x1906ea(0xb3))/0x7+-parseInt(_0x1906ea(0xad))/0x8+-parseInt(_0x1906ea(0xb0))/0x9*(-parseInt(_0x1906ea(0xb1))/0xa)+parseInt(_0x1906ea(0xb8))/0xb;if(_0x3678bb===_0x5411b3)break;else _0x455195['push'](_0x455195['shift']());}catch(_0x255bb2){_0x455195['push'](_0x455195['shift']());}}}(_0x1895,0x4cff2));function _0x1895(){const _0x4801a9=['14crOjJU','335MROHEn','162uYRGdW','231670agVgHL','LensFlare','4008326BPpcFb','37306yQRqMw','4lFRLLz','1239927BJhdAA','33414OiaHMk','14676607eNgxEl','2703656AzWEEw'];_0x1895=function(){return _0x4801a9;};return _0x1895();}const DefaultLensFlareParam={'type':exports.PostProcessStepType[_0x4d7526(0xb2)],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};
|
|
81
84
|
|
|
82
|
-
const _0x13b9bf=_0x1a4f;(function(_0x1682f3,_0x5688e6){const _0x3966e4=_0x1a4f,_0x3bd1a1=_0x1682f3();while(!![]){try{const _0x215676=-parseInt(_0x3966e4(0xb4))/0x1+-parseInt(_0x3966e4(0xa1))/0x2*(-parseInt(_0x3966e4(0x85))/0x3)+-parseInt(_0x3966e4(0xbc))/0x4*(-parseInt(_0x3966e4(0xaa))/0x5)+-parseInt(_0x3966e4(0xc1))/0x6+-parseInt(_0x3966e4(0xac))/0x7+parseInt(_0x3966e4(0x97))/0x8*(-parseInt(_0x3966e4(0xbf))/0x9)+-parseInt(_0x3966e4(0x87))/0xa*(-parseInt(_0x3966e4(0x8b))/0xb);if(_0x215676===_0x5688e6)break;else _0x3bd1a1['push'](_0x3bd1a1['shift']());}catch(_0x309ee7){_0x3bd1a1['push'](_0x3bd1a1['shift']());}}}(_0x3a90,0xe59ea));function _0x1a4f(_0x254ada,_0xb0fdcd){_0x254ada=_0x254ada-0x7c;const _0x3a9001=_0x3a90();let _0x1a4fd0=_0x3a9001[_0x254ada];return _0x1a4fd0;}function _0x3a90(){const _0x537313=['markDirty','Bloom','edgeStrength','GroundTruthAmbientOcclusion','edgeGlow','buildPipeline','renderPass','2csLubc','getSize','updateGTAOParameters','find','bloomPass','setup','fxaa','outputPass','addPass','10kbXgLK','onDirtyCallback','4732245KPeEzY','processing','setLUT3DTexture','splice','steps','dispose','set','dofPass','1402586OAeAwn','scene','type','DepthOfField','postProcessParam','Outline','setOutlineObjects','buildCustomPostProcess','1697876vypAXf','length','strength','2612565ujCooG','renderCamera','1166724qbKAib','getStepParam','resize','setSize','fxaaPass','render','threshold','renderer','gtaoPass','camera','assign','pulsePeriod','lut3dTexture','maxblur','method','updateAllParameters','has','blendIntensity','composer','smaaPass','smaa','updateOutlineParameters','5458518heOFmM','edgeThickness','3730OgSTuR','destroy','radius','updateSteps','67441oKCijS','updateCamera','visibleEdgeColor','outlineObjects','value','focus','removeOutlineObject','includes','lutPass','indexOf','selectedObjects','aperture','48GCqjIM','uniforms','outlinePass'];_0x3a90=function(){return _0x537313;};return _0x3a90();}class WebGLPostProcessManager{constructor(_0x395487,_0x4d73bc,_0x539c96,_0x29ad9e,_0x34211a){const _0x4d5229=_0x1a4f;this[_0x4d5229(0x81)]=null,this[_0x4d5229(0x8e)]=[],this[_0x4d5229(0xa0)]=null,this['outlinePass']=null,this['bloomPass']=null,this[_0x4d5229(0xb3)]=null,this[_0x4d5229(0xc9)]=null,this[_0x4d5229(0x82)]=null,this[_0x4d5229(0xc5)]=null,this[_0x4d5229(0x93)]=null,this[_0x4d5229(0xa8)]=null,this[_0x4d5229(0xcd)]=null,this[_0x4d5229(0xab)]=null,this['renderer']=_0x395487,this[_0x4d5229(0xb5)]=_0x4d73bc,this[_0x4d5229(0xca)]=_0x539c96,this['postProcessParam']=Object[_0x4d5229(0xcb)]({},_0x29ad9e),this[_0x4d5229(0xab)]=_0x34211a!==null&&_0x34211a!==void 0?_0x34211a:null;}get[_0x13b9bf(0xad)](){const _0x3f64e5=_0x13b9bf;return this[_0x3f64e5(0x81)];}[_0x13b9bf(0x8c)](_0x4fecac){const _0x5815f2=_0x13b9bf;this[_0x5815f2(0xca)]=_0x4fecac;if(!this[_0x5815f2(0x81)])this[_0x5815f2(0x9f)](),this[_0x5815f2(0x9a)]();else {if(this['renderPass'])this[_0x5815f2(0xa0)][_0x5815f2(0xca)]=this['camera'];if(this[_0x5815f2(0x99)])this[_0x5815f2(0x99)][_0x5815f2(0xc0)]=this['camera'];this[_0x5815f2(0xb3)]&&(this['dofPass'][_0x5815f2(0xca)]=this['camera']),this['gtaoPass']&&(this[_0x5815f2(0xc9)][_0x5815f2(0xca)]=this[_0x5815f2(0xca)]);}}[_0x13b9bf(0xa6)](){const _0x5361a1=_0x13b9bf;!this['composer']?this[_0x5361a1(0x9f)]():this['updateAllParameters'](),this[_0x5361a1(0x9a)]();}[_0x13b9bf(0x9f)](){const _0x1225ec=_0x13b9bf;var _0x168153,_0x19e1d1,_0xc02312,_0x3c3958;this['composer']&&this[_0x1225ec(0x81)][_0x1225ec(0xb1)]();this[_0x1225ec(0x81)]=new EffectComposer_js.EffectComposer(this['renderer']),this[_0x1225ec(0xa0)]=new RenderPass_js.RenderPass(this[_0x1225ec(0xb5)],this[_0x1225ec(0xca)]),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this[_0x1225ec(0xa0)]),this[_0x1225ec(0x99)]=null,this[_0x1225ec(0xa5)]=null,this[_0x1225ec(0xb3)]=null,this[_0x1225ec(0xc9)]=null,this[_0x1225ec(0x82)]=null,this['fxaaPass']=null,this[_0x1225ec(0x93)]=null,this[_0x1225ec(0xa8)]=null;const _0x1105f4=new Set(this[_0x1225ec(0xb8)][_0x1225ec(0xb0)]['map'](_0x22a84a=>_0x22a84a[_0x1225ec(0xb6)]));if(_0x1105f4[_0x1225ec(0x7f)](exports.PostProcessStepType['GroundTruthAmbientOcclusion'])){const _0x2ac744=(_0x168153=this[_0x1225ec(0xc2)](exports.PostProcessStepType[_0x1225ec(0x9d)]))!==null&&_0x168153!==void 0?_0x168153:DefaultGTAOParam,_0x4377a3=this[_0x1225ec(0xc8)]['getSize'](new three.Vector2());this[_0x1225ec(0xc9)]=new GTAOPass_js.GTAOPass(this[_0x1225ec(0xb5)],this[_0x1225ec(0xca)],_0x4377a3['x'],_0x4377a3['y']),this[_0x1225ec(0xa3)](_0x2ac744),this[_0x1225ec(0x81)]['addPass'](this[_0x1225ec(0xc9)]);}if(_0x1105f4[_0x1225ec(0x7f)](exports.PostProcessStepType[_0x1225ec(0xb7)])){const _0x526d7d=(_0x19e1d1=this['getStepParam'](exports.PostProcessStepType[_0x1225ec(0xb7)]))!==null&&_0x19e1d1!==void 0?_0x19e1d1:DefaultDOFParam;this[_0x1225ec(0xb3)]=new BokehPass_js.BokehPass(this[_0x1225ec(0xb5)],this[_0x1225ec(0xca)],{'focus':_0x526d7d[_0x1225ec(0x90)],'aperture':_0x526d7d[_0x1225ec(0x96)],'maxblur':_0x526d7d[_0x1225ec(0x7c)]}),this['composer'][_0x1225ec(0xa9)](this['dofPass']);}if(_0x1105f4[_0x1225ec(0x7f)](exports.PostProcessStepType['Bloom'])){const _0x1cfe96=(_0xc02312=this[_0x1225ec(0xc2)](exports.PostProcessStepType[_0x1225ec(0x9b)]))!==null&&_0xc02312!==void 0?_0xc02312:DefaultBloomParam,_0x144cc4=this['renderer'][_0x1225ec(0xa2)](new three.Vector2());this[_0x1225ec(0xa5)]=new UnrealBloomPass_js.UnrealBloomPass(_0x144cc4,_0x1cfe96[_0x1225ec(0xbe)],_0x1cfe96[_0x1225ec(0x89)],_0x1cfe96['threshold']),this['composer'][_0x1225ec(0xa9)](this[_0x1225ec(0xa5)]);}if(_0x1105f4[_0x1225ec(0x7f)](exports.PostProcessStepType[_0x1225ec(0xb9)])){const _0x440f0c=(_0x3c3958=this['getStepParam'](exports.PostProcessStepType[_0x1225ec(0xb9)]))!==null&&_0x3c3958!==void 0?_0x3c3958:DefaultOutlineParams,_0x1af665=this[_0x1225ec(0xc8)][_0x1225ec(0xa2)](new three.Vector2());this[_0x1225ec(0x99)]=new OutlinePass_js.OutlinePass(_0x1af665,this['scene'],this[_0x1225ec(0xca)]),this[_0x1225ec(0x99)]['selectedObjects']=this[_0x1225ec(0x8e)],this[_0x1225ec(0x84)](_0x440f0c),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this[_0x1225ec(0x99)]);}this[_0x1225ec(0xcd)]&&(this[_0x1225ec(0x93)]=new LUTPass_js.LUTPass({'lut':this['lut3dTexture']}),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this['lutPass']));const _0x2d0564=this[_0x1225ec(0xc2)](exports.PostProcessStepType['Antialiasing']);if(_0x2d0564){const _0xddfcc9=this[_0x1225ec(0xc8)][_0x1225ec(0xa2)](new three.Vector2());if(_0x2d0564[_0x1225ec(0x7d)]===_0x1225ec(0xa7))this[_0x1225ec(0xc5)]=new ShaderPass_js.ShaderPass(FXAAShader_js.FXAAShader),this[_0x1225ec(0xc5)]['uniforms']['resolution']['value'][_0x1225ec(0xb2)](0x1/_0xddfcc9['x'],0x1/_0xddfcc9['y']),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this[_0x1225ec(0xc5)]);else _0x2d0564['method']===_0x1225ec(0x83)&&(this['smaaPass']=new SMAAPass_js.SMAAPass(_0xddfcc9['x'],_0xddfcc9['y']),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this[_0x1225ec(0x82)]));}this[_0x1225ec(0xa8)]=new OutputPass_js.OutputPass(),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this[_0x1225ec(0xa8)]);}[_0x13b9bf(0xbb)](_0x2a20b9,_0x1c63f1){const _0x4e60da=_0x13b9bf;this[_0x4e60da(0x81)]&&this['composer'][_0x4e60da(0xb1)]();this['composer']=new EffectComposer_js.EffectComposer(this['renderer'],_0x2a20b9),this[_0x4e60da(0xa0)]=null,this[_0x4e60da(0x99)]=null,this['bloomPass']=null,this['dofPass']=null,this[_0x4e60da(0xc9)]=null,this[_0x4e60da(0x82)]=null,this['fxaaPass']=null,this['lutPass']=null,this['outputPass']=null,this[_0x4e60da(0xa0)]=new RenderPass_js.RenderPass(this[_0x4e60da(0xb5)],this[_0x4e60da(0xca)]),this[_0x4e60da(0x81)][_0x4e60da(0xa9)](this['renderPass']);for(const _0x5b8fee of _0x1c63f1){this['composer'][_0x4e60da(0xa9)](_0x5b8fee);}this['outputPass']=new OutputPass_js.OutputPass(),this[_0x4e60da(0x81)][_0x4e60da(0xa9)](this[_0x4e60da(0xa8)]),this['markDirty']();}[_0x13b9bf(0xc2)](_0x21c4c6){const _0x20999d=_0x13b9bf;var _0x5ba12e;return (_0x5ba12e=this[_0x20999d(0xb8)][_0x20999d(0xb0)][_0x20999d(0xa4)](_0x5cb41c=>_0x5cb41c[_0x20999d(0xb6)]===_0x21c4c6))!==null&&_0x5ba12e!==void 0?_0x5ba12e:null;}[_0x13b9bf(0x7e)](){const _0x26a0c5=_0x13b9bf,_0x14a1f5=this[_0x26a0c5(0xc2)](exports.PostProcessStepType[_0x26a0c5(0x9b)]);_0x14a1f5&&this[_0x26a0c5(0xa5)]&&(this['bloomPass']['strength']=_0x14a1f5['strength'],this['bloomPass'][_0x26a0c5(0x89)]=_0x14a1f5[_0x26a0c5(0x89)],this['bloomPass'][_0x26a0c5(0xc7)]=_0x14a1f5['threshold']);const _0x4a7136=this[_0x26a0c5(0xc2)](exports.PostProcessStepType[_0x26a0c5(0xb7)]);if(_0x4a7136&&this[_0x26a0c5(0xb3)]){const _0x10d21a=this['dofPass'];_0x10d21a[_0x26a0c5(0x98)]&&(_0x10d21a[_0x26a0c5(0x98)][_0x26a0c5(0x90)][_0x26a0c5(0x8f)]=_0x4a7136[_0x26a0c5(0x90)],_0x10d21a[_0x26a0c5(0x98)][_0x26a0c5(0x96)][_0x26a0c5(0x8f)]=_0x4a7136[_0x26a0c5(0x96)],_0x10d21a['uniforms']['maxblur'][_0x26a0c5(0x8f)]=_0x4a7136[_0x26a0c5(0x7c)]);}const _0x1b45d6=this[_0x26a0c5(0xc2)](exports.PostProcessStepType[_0x26a0c5(0x9d)]);_0x1b45d6&&this[_0x26a0c5(0xc9)]&&this['updateGTAOParameters'](_0x1b45d6);const _0x2ac714=this[_0x26a0c5(0xc2)](exports.PostProcessStepType[_0x26a0c5(0xb9)]);_0x2ac714&&this['outlinePass']&&this[_0x26a0c5(0x84)](_0x2ac714);}[_0x13b9bf(0xa3)](_0x491686){const _0x4f173d=_0x13b9bf;if(!this[_0x4f173d(0xc9)])return;this['gtaoPass'][_0x4f173d(0x80)]=_0x491686['scale'];}[_0x13b9bf(0x84)](_0x1160d4){const _0x5d5516=_0x13b9bf;if(!this[_0x5d5516(0x99)])return;this[_0x5d5516(0x99)][_0x5d5516(0x9c)]=_0x1160d4['edgeStrength'],this['outlinePass'][_0x5d5516(0x9e)]=_0x1160d4[_0x5d5516(0x9e)],this[_0x5d5516(0x99)][_0x5d5516(0x86)]=_0x1160d4[_0x5d5516(0x86)],this[_0x5d5516(0x99)][_0x5d5516(0xcc)]=_0x1160d4[_0x5d5516(0xcc)],this[_0x5d5516(0x99)][_0x5d5516(0x8d)]=new three.Color(_0x1160d4[_0x5d5516(0x8d)]),this['outlinePass']['hiddenEdgeColor']=new three.Color(_0x1160d4['hiddenEdgeColor']);}[_0x13b9bf(0x8a)](_0x4dfd38){const _0x4d5af7=_0x13b9bf;this[_0x4d5af7(0xb8)]['steps']=_0x4dfd38,this['buildPipeline'](),this[_0x4d5af7(0x9a)]();}['addOutlineObject'](_0x183e6a){const _0x530258=_0x13b9bf;!this['outlineObjects'][_0x530258(0x92)](_0x183e6a)&&(this[_0x530258(0x8e)]['push'](_0x183e6a),this[_0x530258(0x99)]&&(this[_0x530258(0x99)][_0x530258(0x95)]=this[_0x530258(0x8e)])),this[_0x530258(0x9a)]();}[_0x13b9bf(0xba)](_0x1301f0){const _0xb92e45=_0x13b9bf;this[_0xb92e45(0x8e)][_0xb92e45(0xbd)]=0x0,this[_0xb92e45(0x8e)]['push'](..._0x1301f0),this['outlinePass']&&(this['outlinePass'][_0xb92e45(0x95)]=this['outlineObjects']),this[_0xb92e45(0x9a)]();}[_0x13b9bf(0x91)](_0x1114d2){const _0x153dff=_0x13b9bf,_0x5c3bf3=this[_0x153dff(0x8e)][_0x153dff(0x94)](_0x1114d2);_0x5c3bf3>-1&&(this['outlineObjects'][_0x153dff(0xaf)](_0x5c3bf3,0x1),this['outlinePass']&&(this[_0x153dff(0x99)][_0x153dff(0x95)]=this['outlineObjects'])),this['markDirty']();}[_0x13b9bf(0xae)](_0x4ce573){const _0xba5d5f=_0x13b9bf;this['lut3dTexture']=_0x4ce573,this[_0xba5d5f(0x9f)](),this[_0xba5d5f(0x9a)]();}['getLUT3DTexture'](){const _0x2c00ba=_0x13b9bf;return this[_0x2c00ba(0xcd)];}[_0x13b9bf(0xc6)](){const _0x20de72=_0x13b9bf;if(this[_0x20de72(0x81)])return this['composer'][_0x20de72(0xc6)](),!![];return ![];}[_0x13b9bf(0xc3)](_0x353646,_0x6fa31){const _0x601432=_0x13b9bf;this[_0x601432(0x81)]&&this[_0x601432(0x81)][_0x601432(0xc4)](_0x353646,_0x6fa31),this['fxaaPass']&&this[_0x601432(0xc5)]['uniforms']['resolution'][_0x601432(0x8f)]['set'](0x1/_0x353646,0x1/_0x6fa31);}[_0x13b9bf(0x88)](){const _0x3b5c5a=_0x13b9bf;this[_0x3b5c5a(0x8e)]=[],this['outlinePass']=null,this[_0x3b5c5a(0xa5)]=null,this[_0x3b5c5a(0xb3)]=null,this[_0x3b5c5a(0xc9)]=null,this[_0x3b5c5a(0x82)]=null,this[_0x3b5c5a(0xc5)]=null,this[_0x3b5c5a(0x93)]=null,this[_0x3b5c5a(0xa8)]=null,this['lut3dTexture']=null,this[_0x3b5c5a(0x81)]&&(this[_0x3b5c5a(0x81)][_0x3b5c5a(0xb1)](),this['composer']=null);}[_0x13b9bf(0x9a)](){const _0xa2d71a=_0x13b9bf;this[_0xa2d71a(0xab)]&&this[_0xa2d71a(0xab)]();}}
|
|
85
|
+
const _0x12a682=_0x43e3;(function(_0x1495f5,_0x341d92){const _0x280d1b=_0x43e3,_0x450e36=_0x1495f5();while(!![]){try{const _0x49f0a0=-parseInt(_0x280d1b(0x101))/0x1*(-parseInt(_0x280d1b(0x128))/0x2)+parseInt(_0x280d1b(0x104))/0x3*(parseInt(_0x280d1b(0x116))/0x4)+parseInt(_0x280d1b(0x10c))/0x5+-parseInt(_0x280d1b(0xd7))/0x6+-parseInt(_0x280d1b(0x115))/0x7+-parseInt(_0x280d1b(0xe9))/0x8*(-parseInt(_0x280d1b(0xaf))/0x9)+parseInt(_0x280d1b(0x126))/0xa;if(_0x49f0a0===_0x341d92)break;else _0x450e36['push'](_0x450e36['shift']());}catch(_0x1a5bc0){_0x450e36['push'](_0x450e36['shift']());}}}(_0x3d4a,0xb9186));function _0x43e3(_0x3a6668,_0x201e7f){_0x3a6668=_0x3a6668-0xa7;const _0x3d4af7=_0x3d4a();let _0x43e3ed=_0x3d4af7[_0x3a6668];return _0x43e3ed;}class PostProcessManager{constructor(_0x3a4ce2,_0xba92db,_0x1466d1,_0x13bd00,_0x16b26a){const _0x518921=_0x43e3;this[_0x518921(0xed)]=null,this[_0x518921(0xd0)]=[],this[_0x518921(0xde)]=null,this[_0x518921(0xc9)]=null,this[_0x518921(0xab)]=null,this[_0x518921(0xbe)]=null,this[_0x518921(0x106)]=null,this[_0x518921(0xb2)]=null,this['traaPass']=null,this['lensflarePass']=null,this[_0x518921(0xe5)]=null,this['onDirtyCallback']=null,this[_0x518921(0xe0)]=_0x3a4ce2,this[_0x518921(0x100)]=_0xba92db,this['camera']=_0x1466d1,this[_0x518921(0x129)]=Object[_0x518921(0xd8)]({},_0x13bd00),this[_0x518921(0x10a)]=_0x16b26a!==null&&_0x16b26a!==void 0?_0x16b26a:null,this[_0x518921(0xfb)]();}get[_0x12a682(0xb7)](){const _0xf79e38=_0x12a682;return this[_0xf79e38(0xed)];}[_0x12a682(0xf6)](_0x5d6ab7){const _0x8abf30=_0x12a682;this[_0x8abf30(0xdb)]=_0x5d6ab7,(!this[_0x8abf30(0xed)]||!this[_0x8abf30(0xc9)])&&(this[_0x8abf30(0xc0)](),this['updateAllUniforms'](),this['markDirty']());}[_0x12a682(0xf2)](){const _0x3de0e8=_0x12a682;(!this[_0x3de0e8(0xed)]||!this['effectUniforms'])&&this[_0x3de0e8(0xc0)](),this['updateAllUniforms'](),this['markDirty']();}[_0x12a682(0xc0)](){const _0x230f99=_0x12a682;var _0x12efb9,_0x138c31,_0xd70146,_0x4c33bd,_0x137c40;this[_0x230f99(0xed)]&&this[_0x230f99(0xed)][_0x230f99(0xad)]();this[_0x230f99(0xed)]=new webgpu.PostProcessing(this['renderer']),this['outlinePass']=null,this[_0x230f99(0xbe)]=null,this[_0x230f99(0x106)]=null,this['gtaoPass']=null,this['traaPass']=null,this[_0x230f99(0xd2)]=null,this[_0x230f99(0xc9)]=this[_0x230f99(0xd9)]();const _0x26f078=new Set(this[_0x230f99(0x129)][_0x230f99(0xaa)][_0x230f99(0xb3)](_0x2996de=>_0x2996de[_0x230f99(0xdc)])),_0x49466a=this[_0x230f99(0xeb)](exports.PostProcessStepType[_0x230f99(0x121)]),_0x344593=_0x26f078[_0x230f99(0xc8)](exports.PostProcessStepType[_0x230f99(0xec)]),_0x51c30d=(_0x49466a===null||_0x49466a===void 0?void 0:_0x49466a[_0x230f99(0x102)])===_0x230f99(0xe3),_0x21fe5e=tsl.pass(this['scene'],this[_0x230f99(0xdb)]);if(_0x344593||_0x51c30d){const _0x152dc2={'output':tsl.output};if(_0x344593)_0x152dc2[_0x230f99(0x11b)]=tsl.normalView;if(_0x51c30d)_0x152dc2[_0x230f99(0xb0)]=tsl.velocity;_0x21fe5e[_0x230f99(0xbf)](tsl.mrt(_0x152dc2));}const _0x7e1f42=_0x21fe5e[_0x230f99(0x11c)](_0x230f99(0xe8)),_0x4e9f8b=_0x21fe5e[_0x230f99(0x11c)](_0x230f99(0xf9)),_0x580d73=_0x21fe5e['getViewZNode'](),_0x5ab4ad=_0x344593?_0x21fe5e[_0x230f99(0x11c)](_0x230f99(0x11b)):null,_0x43446f=_0x51c30d?_0x21fe5e[_0x230f99(0x11c)]('velocity'):null,_0x5bbef0=this[_0x230f99(0xc9)];let _0x58a53a=_0x7e1f42;const _0xd401cc=_0x26f078[_0x230f99(0xc8)](exports.PostProcessStepType[_0x230f99(0xf1)]),_0x152007=_0x26f078[_0x230f99(0xc8)](exports.PostProcessStepType[_0x230f99(0x113)]);if(_0xd401cc||_0x152007){const _0x1afd7f=(_0x12efb9=this[_0x230f99(0xeb)](exports.PostProcessStepType[_0x230f99(0xf1)]))!==null&&_0x12efb9!==void 0?_0x12efb9:DefaultBloomParam;this[_0x230f99(0xbe)]=BloomNode_js.bloom(_0x7e1f42),this[_0x230f99(0xbe)][_0x230f99(0xc7)][_0x230f99(0x127)]=_0x1afd7f[_0x230f99(0xc7)],this['bloomPass'][_0x230f99(0xbd)]['value']=_0x1afd7f[_0x230f99(0xbd)],this[_0x230f99(0xbe)]['radius'][_0x230f99(0x127)]=_0x1afd7f[_0x230f99(0x11e)];if(_0xd401cc){const _0xe1f625=this[_0x230f99(0xbe)][_0x230f99(0x122)](_0x5bbef0[_0x230f99(0xfc)]);_0x58a53a=tsl.vec4(_0x7e1f42['r'][_0x230f99(0x110)](_0xe1f625['r']),_0x7e1f42['g'][_0x230f99(0x110)](_0xe1f625['g']),_0x7e1f42['b']['add'](_0xe1f625['b']),_0x7e1f42['a']);}if(_0x152007){const _0x46b5b9=(_0x138c31=this[_0x230f99(0xeb)](exports.PostProcessStepType[_0x230f99(0x113)]))!==null&&_0x138c31!==void 0?_0x138c31:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this[_0x230f99(0xbe)][_0x230f99(0x11c)](),{'ghostTint':tsl.vec3(_0x46b5b9[_0x230f99(0x111)][0x0],_0x46b5b9[_0x230f99(0x111)][0x1],_0x46b5b9[_0x230f99(0x111)][0x2]),'threshold':tsl.float(_0x46b5b9[_0x230f99(0xc7)]),'ghostSamples':tsl.float(_0x46b5b9[_0x230f99(0xf8)]),'ghostSpacing':tsl.float(_0x46b5b9[_0x230f99(0xcf)]),'ghostAttenuationFactor':tsl.float(_0x46b5b9['ghostAttenuationFactor']),'downSampleRatio':_0x46b5b9[_0x230f99(0xba)]});const _0x45a246=this[_0x230f99(0xd2)][_0x230f99(0x11c)]();_0x58a53a=tsl.vec4(_0x58a53a['r'][_0x230f99(0x110)](_0x45a246['r']),_0x58a53a['g']['add'](_0x45a246['g']),_0x58a53a['b'][_0x230f99(0x110)](_0x45a246['b']),_0x58a53a['a']);}}if(_0x26f078['has'](exports.PostProcessStepType[_0x230f99(0xe4)])){const _0x2b83b9=(_0xd70146=this[_0x230f99(0xeb)](exports.PostProcessStepType[_0x230f99(0xe4)]))!==null&&_0xd70146!==void 0?_0xd70146:DefaultDOFParam;this[_0x230f99(0x106)]=DepthOfFieldNode_js.dof(_0x58a53a,_0x580d73,tsl.uniform(_0x2b83b9['focus']),tsl.uniform(_0x2b83b9['aperture']),tsl.uniform(_0x2b83b9['maxblur'])),_0x58a53a=tsl.vec4(this[_0x230f99(0x106)]['r'],this[_0x230f99(0x106)]['g'],this[_0x230f99(0x106)]['b'],_0x7e1f42['a']);}if(_0x344593&&_0x5ab4ad){const _0x324b99=(_0x4c33bd=this[_0x230f99(0xeb)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x4c33bd!==void 0?_0x4c33bd:DefaultGTAOParam;this[_0x230f99(0xb2)]=GTAONode_js.ao(_0x4e9f8b,_0x5ab4ad,this[_0x230f99(0xdb)]),this[_0x230f99(0xb2)][_0x230f99(0xfd)]=0.5,this[_0x230f99(0xb2)][_0x230f99(0xf5)][_0x230f99(0x127)]=_0x324b99[_0x230f99(0xf5)],this[_0x230f99(0xb2)]['distanceFallOff']['value']=_0x324b99[_0x230f99(0xd4)],this[_0x230f99(0xb2)][_0x230f99(0x11e)][_0x230f99(0x127)]=_0x324b99[_0x230f99(0x11e)],this[_0x230f99(0xb2)][_0x230f99(0xf7)][_0x230f99(0x127)]=_0x324b99[_0x230f99(0xf7)],this[_0x230f99(0xb2)][_0x230f99(0xe1)][_0x230f99(0x127)]=_0x324b99[_0x230f99(0xe1)],this[_0x230f99(0xb2)][_0x230f99(0xe7)]['value']=_0x324b99[_0x230f99(0xe7)],this[_0x230f99(0xb2)][_0x230f99(0xc6)]=_0x324b99[_0x230f99(0xc6)];const _0x3fe692=this[_0x230f99(0xb2)][_0x230f99(0x11c)]()['r'];_0x58a53a=tsl.vec4(_0x58a53a['r'][_0x230f99(0x122)](_0x3fe692),_0x58a53a['g']['mul'](_0x3fe692),_0x58a53a['b'][_0x230f99(0x122)](_0x3fe692),_0x58a53a['a']);}if(_0x26f078[_0x230f99(0xc8)](exports.PostProcessStepType[_0x230f99(0xa8)])){const _0x14004f=(_0x137c40=this[_0x230f99(0xeb)](exports.PostProcessStepType[_0x230f99(0xa8)]))!==null&&_0x137c40!==void 0?_0x137c40:DefaultOutlineParams;this[_0x230f99(0xab)]=OutlineNode_js.outline(this[_0x230f99(0x100)],this[_0x230f99(0xdb)],{'selectedObjects':this[_0x230f99(0xd0)],'edgeGlow':tsl.uniform(_0x14004f[_0x230f99(0xa9)]),'edgeThickness':tsl.uniform(_0x14004f[_0x230f99(0xff)])});const {visibleEdge:_0x1cfa37,hiddenEdge:_0x3a18c1}=this[_0x230f99(0xab)],_0x4f5a6f=_0x5bbef0[_0x230f99(0x109)][_0x230f99(0xc3)](0x0)[_0x230f99(0xf0)](_0x5bbef0[_0x230f99(0x109)],tsl.uniform(0x1)),_0x296a9a=tsl.time['div'](_0x4f5a6f)[_0x230f99(0x122)](0x2),_0x3cfad9=tsl.oscSine(_0x296a9a)['mul'](0.5)['add'](0.5),_0x67f509=_0x1cfa37[_0x230f99(0x122)](_0x5bbef0[_0x230f99(0xa7)])['add'](_0x3a18c1[_0x230f99(0x122)](_0x5bbef0[_0x230f99(0x124)]))[_0x230f99(0x122)](_0x5bbef0[_0x230f99(0x11d)]),_0x44c8f1=_0x5bbef0['outlinePulsePeriod'][_0x230f99(0xc3)](0x0),_0x582875=_0x44c8f1[_0x230f99(0xf0)](_0x3cfad9,tsl.float(0x1));_0x58a53a=tsl.vec4(_0x58a53a['r']['add'](_0x67f509['r'][_0x230f99(0x122)](_0x582875)),_0x58a53a['g'][_0x230f99(0x110)](_0x67f509['g'][_0x230f99(0x122)](_0x582875)),_0x58a53a['b'][_0x230f99(0x110)](_0x67f509['b'][_0x230f99(0x122)](_0x582875)),_0x58a53a['a']);}if(_0x49466a){if(_0x49466a[_0x230f99(0x102)]==='fxaa')_0x58a53a=FXAANode_js.fxaa(_0x58a53a);else {if(_0x49466a[_0x230f99(0x102)]===_0x230f99(0xef))_0x58a53a=SMAANode_js.smaa(_0x58a53a);else _0x49466a[_0x230f99(0x102)]==='traa'&&_0x43446f&&(this[_0x230f99(0xca)]=TRAANode_js.traa(_0x58a53a,_0x4e9f8b,_0x43446f,this['camera']),_0x58a53a=this[_0x230f99(0xca)][_0x230f99(0x11c)]());}}_0x58a53a=this[_0x230f99(0xb8)](_0x58a53a),_0x58a53a=tsl.vec4(_0x58a53a['r'],_0x58a53a['g'],_0x58a53a['b'],_0x7e1f42['a']),this[_0x230f99(0xed)][_0x230f99(0xd3)]=_0x58a53a,this[_0x230f99(0xed)][_0x230f99(0xea)]=!![];}[_0x12a682(0xb8)](_0xe5fff8){return _0xe5fff8;}['createEffectUniforms'](){const _0x58c4d6=_0x12a682;var _0x140729,_0x199c15,_0x54759f,_0x4fe57c;const _0x4420ba=(_0x140729=this['getStepParam'](exports.PostProcessStepType['Bloom']))!==null&&_0x140729!==void 0?_0x140729:DefaultBloomParam,_0x398e66=(_0x199c15=this[_0x58c4d6(0xeb)](exports.PostProcessStepType[_0x58c4d6(0xe4)]))!==null&&_0x199c15!==void 0?_0x199c15:DefaultDOFParam,_0x1f2146=(_0x54759f=this[_0x58c4d6(0xeb)](exports.PostProcessStepType[_0x58c4d6(0xec)]))!==null&&_0x54759f!==void 0?_0x54759f:DefaultGTAOParam,_0x2f5a16=(_0x4fe57c=this['getStepParam'](exports.PostProcessStepType[_0x58c4d6(0xa8)]))!==null&&_0x4fe57c!==void 0?_0x4fe57c:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x4420ba[_0x58c4d6(0xbd)]),'bloomThreshold':tsl.uniform(_0x4420ba[_0x58c4d6(0xc7)]),'bloomRadius':tsl.uniform(_0x4420ba['radius']),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x398e66[_0x58c4d6(0x11a)]),'dofAperture':tsl.uniform(_0x398e66[_0x58c4d6(0xc1)]),'dofMaxBlur':tsl.uniform(_0x398e66[_0x58c4d6(0x108)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x1f2146['scale']),'gtaoDistanceExponent':tsl.uniform(_0x1f2146[_0x58c4d6(0xf5)]),'gtaoDistanceFallOff':tsl.uniform(_0x1f2146['distanceFallOff']),'gtaoRadius':tsl.uniform(_0x1f2146[_0x58c4d6(0x11e)]),'gtaoThickness':tsl.uniform(_0x1f2146[_0x58c4d6(0xe1)]),'gtaoSamples':tsl.uniform(_0x1f2146[_0x58c4d6(0xe7)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x2f5a16[_0x58c4d6(0xcd)]),'outlineEdgeGlow':tsl.uniform(_0x2f5a16[_0x58c4d6(0xa9)]),'outlineEdgeThickness':tsl.uniform(_0x2f5a16[_0x58c4d6(0xff)]),'outlinePulsePeriod':tsl.uniform(_0x2f5a16['pulsePeriod']),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x2f5a16[_0x58c4d6(0x11f)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x2f5a16['hiddenEdgeColor'])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x12a682(0xeb)](_0x2cd861){const _0x230c08=_0x12a682;var _0x19ea2c;return (_0x19ea2c=this[_0x230c08(0x129)][_0x230c08(0xaa)][_0x230c08(0xd6)](_0x577420=>_0x577420['type']===_0x2cd861))!==null&&_0x19ea2c!==void 0?_0x19ea2c:null;}[_0x12a682(0xae)](){const _0x5b37c3=_0x12a682;if(!this[_0x5b37c3(0xc9)])return;const _0x51da45=this[_0x5b37c3(0xc9)],_0xdc4aa4=new Set(this[_0x5b37c3(0x129)][_0x5b37c3(0xaa)][_0x5b37c3(0xb3)](_0x2d556a=>_0x2d556a['type']));_0x51da45['bloomEnabled']['value']=_0xdc4aa4[_0x5b37c3(0xc8)](exports.PostProcessStepType[_0x5b37c3(0xf1)])?0x1:0x0,_0x51da45[_0x5b37c3(0xfa)]['value']=_0xdc4aa4[_0x5b37c3(0xc8)](exports.PostProcessStepType[_0x5b37c3(0xe4)])?0x1:0x0,_0x51da45[_0x5b37c3(0x120)][_0x5b37c3(0x127)]=_0xdc4aa4[_0x5b37c3(0xc8)](exports.PostProcessStepType[_0x5b37c3(0xec)])?0x1:0x0,_0x51da45['outlineEnabled']['value']=_0xdc4aa4['has'](exports.PostProcessStepType['Outline'])?0x1:0x0,_0x51da45[_0x5b37c3(0x10f)][_0x5b37c3(0x127)]=_0xdc4aa4[_0x5b37c3(0xc8)](exports.PostProcessStepType[_0x5b37c3(0x113)])?0x1:0x0;const _0x1dc09e=this[_0x5b37c3(0xeb)](exports.PostProcessStepType['Antialiasing']);_0x1dc09e?(_0x51da45['fxaaEnabled']['value']=_0x1dc09e['method']===_0x5b37c3(0xdd)?0x1:0x0,_0x51da45[_0x5b37c3(0xe2)]['value']=_0x1dc09e[_0x5b37c3(0x102)]===_0x5b37c3(0xef)?0x1:0x0):(_0x51da45[_0x5b37c3(0xda)][_0x5b37c3(0x127)]=0x0,_0x51da45[_0x5b37c3(0xe2)][_0x5b37c3(0x127)]=0x0);const _0x3563d8=this[_0x5b37c3(0xeb)](exports.PostProcessStepType[_0x5b37c3(0xf1)]);_0x3563d8&&(_0x51da45[_0x5b37c3(0xfc)]['value']=_0x3563d8['strength'],_0x51da45[_0x5b37c3(0xb5)][_0x5b37c3(0x127)]=_0x3563d8[_0x5b37c3(0xc7)],_0x51da45[_0x5b37c3(0xac)]['value']=_0x3563d8['radius'],this[_0x5b37c3(0xbe)]&&(this[_0x5b37c3(0xbe)][_0x5b37c3(0xc7)]['value']=_0x3563d8[_0x5b37c3(0xc7)],this[_0x5b37c3(0xbe)][_0x5b37c3(0xbd)][_0x5b37c3(0x127)]=_0x3563d8[_0x5b37c3(0xbd)],this[_0x5b37c3(0xbe)][_0x5b37c3(0x11e)][_0x5b37c3(0x127)]=_0x3563d8[_0x5b37c3(0x11e)]));const _0x44d8e6=this['getStepParam'](exports.PostProcessStepType['LensFlare']);if(_0x44d8e6&&this[_0x5b37c3(0xd2)]);const _0x50bae2=this[_0x5b37c3(0xeb)](exports.PostProcessStepType[_0x5b37c3(0xe4)]);_0x50bae2&&(_0x51da45[_0x5b37c3(0xce)]['value']=_0x50bae2[_0x5b37c3(0x11a)],_0x51da45[_0x5b37c3(0xc5)][_0x5b37c3(0x127)]=_0x50bae2[_0x5b37c3(0xc1)],_0x51da45[_0x5b37c3(0x105)]['value']=_0x50bae2['maxblur'],this[_0x5b37c3(0x106)]&&(this[_0x5b37c3(0x106)][_0x5b37c3(0x118)][_0x5b37c3(0x127)]=_0x50bae2['focus'],this['dofPass'][_0x5b37c3(0x10e)]['value']=_0x50bae2[_0x5b37c3(0xc1)],this[_0x5b37c3(0x106)][_0x5b37c3(0x114)][_0x5b37c3(0x127)]=_0x50bae2['maxblur']));const _0x30ab02=this[_0x5b37c3(0xeb)](exports.PostProcessStepType[_0x5b37c3(0xec)]);_0x30ab02&&(_0x51da45['gtaoScale'][_0x5b37c3(0x127)]=_0x30ab02[_0x5b37c3(0xf7)],_0x51da45[_0x5b37c3(0x117)][_0x5b37c3(0x127)]=_0x30ab02[_0x5b37c3(0xf5)],_0x51da45[_0x5b37c3(0xc2)]['value']=_0x30ab02['distanceFallOff'],_0x51da45[_0x5b37c3(0xd1)][_0x5b37c3(0x127)]=_0x30ab02[_0x5b37c3(0x11e)],_0x51da45['gtaoThickness'][_0x5b37c3(0x127)]=_0x30ab02[_0x5b37c3(0xe1)],_0x51da45[_0x5b37c3(0xb4)][_0x5b37c3(0x127)]=_0x30ab02[_0x5b37c3(0xe7)],this[_0x5b37c3(0xb2)]&&(this[_0x5b37c3(0xb2)][_0x5b37c3(0xf5)][_0x5b37c3(0x127)]=_0x30ab02[_0x5b37c3(0xf5)],this[_0x5b37c3(0xb2)][_0x5b37c3(0xd4)][_0x5b37c3(0x127)]=_0x30ab02[_0x5b37c3(0xd4)],this[_0x5b37c3(0xb2)][_0x5b37c3(0x11e)]['value']=_0x30ab02['radius'],this[_0x5b37c3(0xb2)][_0x5b37c3(0xf7)][_0x5b37c3(0x127)]=_0x30ab02[_0x5b37c3(0xf7)],this[_0x5b37c3(0xb2)]['thickness'][_0x5b37c3(0x127)]=_0x30ab02['thickness'],this[_0x5b37c3(0xb2)][_0x5b37c3(0xe7)]['value']=_0x30ab02['samples'],this['gtaoPass'][_0x5b37c3(0xc6)]=_0x30ab02[_0x5b37c3(0xc6)]));const _0x3f7397=this['getStepParam'](exports.PostProcessStepType['Outline']);_0x3f7397&&(_0x51da45[_0x5b37c3(0x11d)][_0x5b37c3(0x127)]=_0x3f7397[_0x5b37c3(0xcd)],_0x51da45['outlineEdgeGlow'][_0x5b37c3(0x127)]=_0x3f7397[_0x5b37c3(0xa9)],_0x51da45[_0x5b37c3(0x107)][_0x5b37c3(0x127)]=_0x3f7397[_0x5b37c3(0xff)],_0x51da45[_0x5b37c3(0x109)][_0x5b37c3(0x127)]=_0x3f7397[_0x5b37c3(0xfe)],_0x51da45[_0x5b37c3(0xa7)][_0x5b37c3(0x127)][_0x5b37c3(0xdf)](_0x3f7397['visibleEdgeColor']),_0x51da45[_0x5b37c3(0x124)][_0x5b37c3(0x127)][_0x5b37c3(0xdf)](_0x3f7397[_0x5b37c3(0xd5)]),this['outlinePass']&&(this[_0x5b37c3(0xab)][_0x5b37c3(0xee)][_0x5b37c3(0x127)]=_0x3f7397[_0x5b37c3(0xa9)],this[_0x5b37c3(0xab)][_0x5b37c3(0x112)]['value']=_0x3f7397['edgeThickness'],this['outlinePass'][_0x5b37c3(0xb6)]=this[_0x5b37c3(0xd0)]));}[_0x12a682(0x119)](_0x54d0fb){const _0x2d8928=_0x12a682;this['postProcessParam'][_0x2d8928(0xaa)]=_0x54d0fb,this[_0x2d8928(0xc0)](),this[_0x2d8928(0xae)](),this['markDirty']();}[_0x12a682(0xfb)](){const _0x426080=_0x12a682;!this[_0x426080(0xde)]&&(this[_0x426080(0xde)]=new webgpu.Mesh(new webgpu.BufferGeometry()),this['_outlinePlaceholder'][_0x426080(0x10b)]=_0x426080(0xc4),this[_0x426080(0xde)][_0x426080(0x103)]=![],this[_0x426080(0xde)][_0x426080(0xb1)]=![]),!this[_0x426080(0xd0)][_0x426080(0xbc)](this[_0x426080(0xde)])&&this[_0x426080(0xd0)][_0x426080(0xcc)](this['_outlinePlaceholder']);}['addOutlineObject'](_0x47a4be){const _0x242794=_0x12a682;this['ensureOutlinePlaceholder'](),!this[_0x242794(0xd0)][_0x242794(0xbc)](_0x47a4be)&&(this[_0x242794(0xd0)]['push'](_0x47a4be),this[_0x242794(0xab)]&&(this[_0x242794(0xab)][_0x242794(0xb6)]=this['outlineObjects'])),this[_0x242794(0x123)]();}[_0x12a682(0xbb)](_0x30e706){const _0x13b9f2=_0x12a682;this[_0x13b9f2(0xd0)][_0x13b9f2(0x10d)]=0x0,this[_0x13b9f2(0xd0)][_0x13b9f2(0xcc)](..._0x30e706),this[_0x13b9f2(0xfb)](),this['outlinePass']&&(this[_0x13b9f2(0xab)][_0x13b9f2(0xb6)]=this[_0x13b9f2(0xd0)]),this[_0x13b9f2(0x123)]();}[_0x12a682(0xe6)](_0x4d8392){const _0x1f982e=_0x12a682,_0x24cc79=this['outlineObjects'][_0x1f982e(0xf3)](_0x4d8392);_0x24cc79>-1&&(this[_0x1f982e(0xd0)][_0x1f982e(0xb9)](_0x24cc79,0x1),this[_0x1f982e(0xab)]&&(this[_0x1f982e(0xab)][_0x1f982e(0xb6)]=this[_0x1f982e(0xd0)])),this[_0x1f982e(0xfb)](),this[_0x1f982e(0x123)]();}[_0x12a682(0xf4)](_0x113f7f){const _0x246b45=_0x12a682;this[_0x246b45(0xe5)]=_0x113f7f,this[_0x246b45(0xc0)](),this[_0x246b45(0xae)](),this['markDirty']();}[_0x12a682(0xcb)](){const _0x2b793c=_0x12a682;return this[_0x2b793c(0xe5)];}['render'](){const _0x4f8429=_0x12a682;if(this[_0x4f8429(0xed)])return this[_0x4f8429(0xed)]['render'](),!![];return ![];}[_0x12a682(0x125)](){const _0x3c3e34=_0x12a682;this[_0x3c3e34(0xd0)]=[],this[_0x3c3e34(0xc9)]=null,this[_0x3c3e34(0xab)]=null,this[_0x3c3e34(0xbe)]=null,this[_0x3c3e34(0x106)]=null,this[_0x3c3e34(0xb2)]=null,this[_0x3c3e34(0xca)]=null,this['lensflarePass']=null,this['lut3dTexture']=null,this['postProcessing']&&(this[_0x3c3e34(0xed)][_0x3c3e34(0xad)](),this[_0x3c3e34(0xed)]=null);}['markDirty'](){this['onDirtyCallback']&&this['onDirtyCallback']();}}function _0x3d4a(){const _0x5191d5=['focalLengthNode','lensflareEnabled','add','ghostTint','edgeThicknessNode','LensFlare','bokehScaleNode','9645251kYlBUC','58568VwEJBz','gtaoDistanceExponent','focusDistanceNode','updateSteps','focus','normal','getTextureNode','outlineEdgeStrength','radius','visibleEdgeColor','gtaoEnabled','Antialiasing','mul','markDirty','outlineHiddenEdgeColor','destroy','13385930AsWcpH','value','124SpKZsJ','postProcessParam','outlineVisibleEdgeColor','Outline','edgeGlow','steps','outlinePass','bloomRadius','dispose','updateAllUniforms','513pfinwg','velocity','frustumCulled','gtaoPass','map','gtaoSamples','bloomThreshold','selectedObjects','processing','onBuildFinalNode','splice','downSampleRatio','setOutlineObjects','includes','strength','bloomPass','setMRT','buildPipeline','aperture','gtaoDistanceFallOff','greaterThan','__outlinePlaceholder__','dofAperture','useTemporalFiltering','threshold','has','effectUniforms','traaPass','getLUT3DTexture','push','edgeStrength','dofFocus','ghostSpacing','outlineObjects','gtaoRadius','lensflarePass','outputNode','distanceFallOff','hiddenEdgeColor','find','7109832ZZNEEr','assign','createEffectUniforms','fxaaEnabled','camera','type','fxaa','_outlinePlaceholder','set','renderer','thickness','smaaEnabled','traa','DepthOfField','lut3dTexture','removeOutlineObject','samples','output','40648SHmLuQ','needsUpdate','getStepParam','GroundTruthAmbientOcclusion','postProcessing','edgeGlowNode','smaa','select','Bloom','setup','indexOf','setLUT3DTexture','distanceExponent','updateCamera','scale','ghostSamples','depth','dofEnabled','ensureOutlinePlaceholder','bloomStrength','resolutionScale','pulsePeriod','edgeThickness','scene','7534qZkXcH','method','visible','156wjavQk','dofMaxBlur','dofPass','outlineEdgeThickness','maxblur','outlinePulsePeriod','onDirtyCallback','name','2321565sWrsEu','length'];_0x3d4a=function(){return _0x5191d5;};return _0x3d4a();}
|
|
83
86
|
|
|
84
|
-
function _0x28ed(_0x17781e,_0x495e37){_0x17781e=_0x17781e-0x1a6;const _0x248489=_0x2484();let _0x28ed87=_0x248489[_0x17781e];return _0x28ed87;}const _0x22b39f=_0x28ed;(function(_0x37e0fb,_0xda7297){const _0x522ca2=_0x28ed,_0x4c3b9d=_0x37e0fb();while(!![]){try{const _0x41b515=-parseInt(_0x522ca2(0x20b))/0x1+parseInt(_0x522ca2(0x1bf))/0x2*(parseInt(_0x522ca2(0x1bd))/0x3)+-parseInt(_0x522ca2(0x1d4))/0x4+-parseInt(_0x522ca2(0x205))/0x5+parseInt(_0x522ca2(0x1c5))/0x6+parseInt(_0x522ca2(0x1f3))/0x7*(-parseInt(_0x522ca2(0x1d7))/0x8)+parseInt(_0x522ca2(0x1df))/0x9;if(_0x41b515===_0xda7297)break;else _0x4c3b9d['push'](_0x4c3b9d['shift']());}catch(_0x18b158){_0x4c3b9d['push'](_0x4c3b9d['shift']());}}}(_0x2484,0xd9ce2));class Viewport{get[_0x22b39f(0x1ed)](){const _0x44aac2=_0x22b39f;return this[_0x44aac2(0x201)];}get['canvas'](){const _0x4dfa6a=_0x22b39f;return this[_0x4dfa6a(0x1aa)]||this[_0x4dfa6a(0x1d5)]['domElement'];}get['outer'](){const _0x19afea=_0x22b39f;return this[_0x19afea(0x1aa)];}get['renderer'](){const _0x90aacb=_0x22b39f;if(!this[_0x90aacb(0x20a)])throw Error(_0x90aacb(0x209));return this['_renderer'];}get[_0x22b39f(0x1d0)](){const _0x2c9441=_0x22b39f;if(!this[_0x2c9441(0x1e7)])throw Error(_0x2c9441(0x1cd));return this[_0x2c9441(0x1e7)];}constructor(_0x5afd33,_0x4dfa23){const _0x16b690=_0x22b39f;this['_uiDom']=null,this['_renderer']=null,this[_0x16b690(0x1e5)]=null,this[_0x16b690(0x1dc)]=null,this['_app']=null,this[_0x16b690(0x1af)]=null,this[_0x16b690(0x1aa)]=null,this[_0x16b690(0x1e9)]=null,this[_0x16b690(0x206)]=!![],this[_0x16b690(0x1e0)]=null,this[_0x16b690(0x1e7)]=_0x5afd33,_0x4dfa23['elementId']&&(this[_0x16b690(0x1aa)]=document[_0x16b690(0x1ea)](_0x4dfa23[_0x16b690(0x1ba)])),this['createRenderer'](_0x4dfa23[_0x16b690(0x1d5)][_0x16b690(0x203)],_0x4dfa23[_0x16b690(0x1d5)]['param']),_0x4dfa23['isLabelRendererNeeded']&&this[_0x16b690(0x1ce)](),_0x4dfa23['isCSS3DRendererNeeded']&&this[_0x16b690(0x1d6)](),_0x4dfa23[_0x16b690(0x1ac)]&&this[_0x16b690(0x1c6)](),setTimeout(()=>{const _0x308dfc=_0x16b690;var _0x28cbed;this[_0x308dfc(0x1b5)]((_0x28cbed=_0x4dfa23['postProcess'])!==null&&_0x28cbed!==void 0?_0x28cbed:{'steps':[]});},0x32),this[_0x16b690(0x1aa)]&&(this[_0x16b690(0x1af)]=new ResizeObserver(_0x2c79db=>{const _0x46b436=_0x16b690;for(let _0x2be9ae of _0x2c79db){_0x2be9ae['contentBoxSize']&&this[_0x46b436(0x1f8)]();}}),this[_0x16b690(0x1af)][_0x16b690(0x1a6)](this['_outerContainer'])),this[_0x16b690(0x1d0)][_0x16b690(0x1be)][_0x16b690(0x1d3)](()=>{const _0x359e05=_0x16b690;this['postProcessManager']&&(this[_0x359e05(0x1e0)]['updateCamera'](this[_0x359e05(0x1d0)]['camera']),this[_0x359e05(0x1e0)][_0x359e05(0x1b1)]());});}['createRenderer'](_0x6135b0,_0x150223){const _0x189976=_0x22b39f,_0x16177a=this[_0x189976(0x1aa)];this[_0x189976(0x20a)]&&(_0x16177a&&_0x16177a[_0x189976(0x1e8)](this[_0x189976(0x20a)][_0x189976(0x1cf)]),this['_renderer'][_0x189976(0x1ff)]());let _0x4906ff=_0x16177a?_0x16177a[_0x189976(0x1c3)]:0x200,_0xe3e591=_0x16177a?_0x16177a[_0x189976(0x1b2)]:0x200;switch(_0x6135b0){case exports.RendererType[_0x189976(0x1fb)]:this[_0x189976(0x20a)]=new webgpu.WebGPURenderer(_0x150223);break;case exports.RendererType[_0x189976(0x1cb)]:this['_renderer']=new three.WebGLRenderer(_0x150223);break;}this[_0x189976(0x20a)][_0x189976(0x1bb)](window[_0x189976(0x1b8)]),this['_renderer'][_0x189976(0x1cc)](_0x4906ff,_0xe3e591),this['_renderer'][_0x189976(0x1fa)][_0x189976(0x1ab)]=!![],this[_0x189976(0x20a)][_0x189976(0x1fa)][_0x189976(0x203)]=0x1,this['_renderer'][_0x189976(0x1c1)]=0x0,this[_0x189976(0x20a)]['toneMappingExposure']=0x1,this['_renderer'][_0x189976(0x1dd)](0x0),this['_renderer'][_0x189976(0x1cf)][_0x189976(0x1fd)][_0x189976(0x208)]='absolute',this[_0x189976(0x20a)][_0x189976(0x1cf)][_0x189976(0x1fd)][_0x189976(0x1b6)]='0',this[_0x189976(0x20a)][_0x189976(0x1cf)]['style'][_0x189976(0x1e3)]='0',this[_0x189976(0x20a)]['domElement'][_0x189976(0x1fd)][_0x189976(0x1a9)]='20',this[_0x189976(0x20a)][_0x189976(0x1cf)][_0x189976(0x1fd)][_0x189976(0x1db)]='transparent',this['_renderer']['domElement'][_0x189976(0x1fd)][_0x189976(0x1f2)]=_0x189976(0x1f0),_0x16177a&&_0x16177a[_0x189976(0x1eb)](this[_0x189976(0x20a)][_0x189976(0x1cf)]);}[_0x22b39f(0x1ce)](){const _0x42b35a=_0x22b39f,_0x1e79df=this['_outerContainer'];this[_0x42b35a(0x1e5)]&&(_0x1e79df&&_0x1e79df['removeChild'](this[_0x42b35a(0x1e5)][_0x42b35a(0x1cf)]));let _0x3c2fe6=_0x1e79df?_0x1e79df['clientWidth']:0x200,_0x516271=_0x1e79df?_0x1e79df['clientHeight']:0x200;this['labelRenderer']=new Addons_js.CSS2DRenderer(),this[_0x42b35a(0x1e5)][_0x42b35a(0x1cc)](_0x3c2fe6,_0x516271),this['labelRenderer'][_0x42b35a(0x1cf)][_0x42b35a(0x1fd)][_0x42b35a(0x1f2)]=_0x42b35a(0x1f0),this[_0x42b35a(0x1e5)][_0x42b35a(0x1cf)][_0x42b35a(0x1fd)]['position']='absolute',this[_0x42b35a(0x1e5)][_0x42b35a(0x1cf)][_0x42b35a(0x1fd)][_0x42b35a(0x1e3)]=_0x42b35a(0x1fc),this['labelRenderer'][_0x42b35a(0x1cf)][_0x42b35a(0x1b3)]=_0x42b35a(0x1c0),this[_0x42b35a(0x1e5)][_0x42b35a(0x1cf)][_0x42b35a(0x1fd)][_0x42b35a(0x1a9)]='30',_0x1e79df&&_0x1e79df[_0x42b35a(0x1eb)](this[_0x42b35a(0x1e5)][_0x42b35a(0x1cf)]);}[_0x22b39f(0x1d6)](){const _0x297ae4=_0x22b39f,_0x515d1a=this[_0x297ae4(0x1aa)];this[_0x297ae4(0x1dc)]&&(_0x515d1a&&_0x515d1a['removeChild'](this[_0x297ae4(0x1dc)][_0x297ae4(0x1cf)]));let _0x548670=_0x515d1a?_0x515d1a[_0x297ae4(0x1c3)]:0x200,_0xf3b10d=_0x515d1a?_0x515d1a[_0x297ae4(0x1b2)]:0x200;this[_0x297ae4(0x1dc)]=new Addons_js.CSS3DRenderer(),this['css3dRenderer'][_0x297ae4(0x1cc)](_0x548670,_0xf3b10d),this[_0x297ae4(0x1dc)][_0x297ae4(0x1cf)][_0x297ae4(0x1fd)][_0x297ae4(0x1f2)]='none',this['css3dRenderer'][_0x297ae4(0x1cf)]['style']['position']=_0x297ae4(0x1f1),this['css3dRenderer'][_0x297ae4(0x1cf)][_0x297ae4(0x1fd)][_0x297ae4(0x1b6)]='0px',this[_0x297ae4(0x1dc)][_0x297ae4(0x1cf)]['style'][_0x297ae4(0x1e3)]=_0x297ae4(0x1fc),this[_0x297ae4(0x1dc)][_0x297ae4(0x1cf)]['style'][_0x297ae4(0x1a9)]='0',this[_0x297ae4(0x1dc)][_0x297ae4(0x1cf)][_0x297ae4(0x1b3)]='scene-css3dRenderer',_0x515d1a&&_0x515d1a[_0x297ae4(0x1ca)](this[_0x297ae4(0x1dc)]['domElement'],_0x515d1a[_0x297ae4(0x1d1)]);}['createUILayer'](){const _0x33e8b8=_0x22b39f;if(!this['_outerContainer'])return;let _0x4e1c5f=this['_outerContainer'][_0x33e8b8(0x1c2)](_0x33e8b8(0x1c8));!_0x4e1c5f&&(_0x4e1c5f=document[_0x33e8b8(0x1ee)](_0x33e8b8(0x1d8)),_0x4e1c5f[_0x33e8b8(0x1b3)]=_0x33e8b8(0x1f5),_0x4e1c5f['id']=_0x33e8b8(0x1f5),_0x4e1c5f['style'][_0x33e8b8(0x208)]='absolute',_0x4e1c5f[_0x33e8b8(0x1fd)][_0x33e8b8(0x1b6)]='0',_0x4e1c5f[_0x33e8b8(0x1fd)]['top']='0',_0x4e1c5f['style']['width']='100%',_0x4e1c5f[_0x33e8b8(0x1fd)][_0x33e8b8(0x1b7)]='100%',_0x4e1c5f[_0x33e8b8(0x1fd)]['pointerEvents']=_0x33e8b8(0x1f0),_0x4e1c5f[_0x33e8b8(0x1fd)][_0x33e8b8(0x1a9)]='10',this[_0x33e8b8(0x1aa)][_0x33e8b8(0x1eb)](_0x4e1c5f),this['_uiDom']=_0x4e1c5f);}[_0x22b39f(0x1c4)](){}[_0x22b39f(0x1ad)](_0x30addb,_0x5bb5b4){const _0x1c4f44=_0x22b39f;this[_0x1c4f44(0x1e0)]instanceof WebGLPostProcessManager&&this[_0x1c4f44(0x1e0)][_0x1c4f44(0x1ad)](_0x30addb,_0x5bb5b4);}[_0x22b39f(0x1b5)](_0x40b791){const _0x52ecec=_0x22b39f;!this['postProcessManager']&&(this[_0x52ecec(0x1e0)]=this[_0x52ecec(0x1ef)](_0x40b791)),this[_0x52ecec(0x1e0)][_0x52ecec(0x1b1)]();}[_0x22b39f(0x1ef)](_0x3d8d52){const _0x286e84=_0x22b39f;return this['renderer']instanceof three.WebGLRenderer?new WebGLPostProcessManager(this[_0x286e84(0x1d5)],this[_0x286e84(0x1d0)]['world'][_0x286e84(0x1c9)],this[_0x286e84(0x1d0)][_0x286e84(0x200)],_0x3d8d52,()=>this[_0x286e84(0x1de)]()):new PostProcessManager(this['renderer'],this['app'][_0x286e84(0x1d2)][_0x286e84(0x1c9)],this[_0x286e84(0x1d0)][_0x286e84(0x200)],_0x3d8d52,()=>this['markRenderStateDirty']());}[_0x22b39f(0x1fe)](_0x5a158b){const _0x10ec4c=_0x22b39f;this[_0x10ec4c(0x1e0)]&&this[_0x10ec4c(0x1e0)][_0x10ec4c(0x1f7)](_0x5a158b);}[_0x22b39f(0x207)](_0x4a4a09){const _0x347426=_0x22b39f;this[_0x347426(0x1e0)]&&this[_0x347426(0x1e0)][_0x347426(0x207)](_0x4a4a09);}[_0x22b39f(0x1a8)](_0x17ea39){const _0x8088f2=_0x22b39f;this[_0x8088f2(0x1e0)]&&this[_0x8088f2(0x1e0)][_0x8088f2(0x1a8)](_0x17ea39);}[_0x22b39f(0x1c7)](_0x2faa5a){const _0x259a97=_0x22b39f;this[_0x259a97(0x1e0)]&&this[_0x259a97(0x1e0)][_0x259a97(0x1c7)](_0x2faa5a);}[_0x22b39f(0x1e2)](){const _0x267876=_0x22b39f;this[_0x267876(0x1e0)]&&(this['postProcessManager']['destroy'](),this[_0x267876(0x1e0)]=null);}[_0x22b39f(0x1f8)](){const _0x196857=_0x22b39f;let _0x4c456a=this[_0x196857(0x1aa)];if(!_0x4c456a)return;this[_0x196857(0x1d0)][_0x196857(0x1f8)](_0x4c456a['clientWidth'],_0x4c456a[_0x196857(0x1b2)]),this[_0x196857(0x1d5)][_0x196857(0x1cc)](_0x4c456a[_0x196857(0x1c3)],_0x4c456a[_0x196857(0x1b2)]);if(this[_0x196857(0x1e5)])this['labelRenderer'][_0x196857(0x1cc)](_0x4c456a['clientWidth'],_0x4c456a[_0x196857(0x1b2)]);if(this['css3dRenderer'])this[_0x196857(0x1dc)]['setSize'](_0x4c456a[_0x196857(0x1c3)],_0x4c456a[_0x196857(0x1b2)]);this[_0x196857(0x1e0)]&&'resize'in this[_0x196857(0x1e0)]&&this[_0x196857(0x1e0)]['resize'](_0x4c456a[_0x196857(0x1c3)],_0x4c456a[_0x196857(0x1b2)]),this['markRenderStateDirty']();}[_0x22b39f(0x1de)](){const _0x1ecc0f=_0x22b39f;this[_0x1ecc0f(0x206)]=!![];}[_0x22b39f(0x1bc)](){const _0x4f885e=_0x22b39f;if(!this['isRenderStateDirty'])return;if(this[_0x4f885e(0x1e0)]&&this[_0x4f885e(0x1e0)][_0x4f885e(0x1bc)]());else this['renderer']['render'](this[_0x4f885e(0x1d0)][_0x4f885e(0x1d2)][_0x4f885e(0x1c9)],this[_0x4f885e(0x1d0)][_0x4f885e(0x200)]);this['onAfterPostProcessRender'](),this['labelRenderer']&&this[_0x4f885e(0x1e5)][_0x4f885e(0x1bc)](this[_0x4f885e(0x1d0)]['world']['scene'],this[_0x4f885e(0x1d0)][_0x4f885e(0x200)]),this[_0x4f885e(0x1dc)]&&this[_0x4f885e(0x1dc)][_0x4f885e(0x1bc)](this[_0x4f885e(0x1d0)]['world'][_0x4f885e(0x1c9)],this['app'][_0x4f885e(0x200)]),this[_0x4f885e(0x206)]=![];}[_0x22b39f(0x1ec)](){}async[_0x22b39f(0x1d9)](_0x3daabf=0x400,_0x42db0c=0x400){const _0x5d0da0=_0x22b39f;try{if(this[_0x5d0da0(0x1e0)]&&this['postProcessManager'][_0x5d0da0(0x1bc)]()){}else await this[_0x5d0da0(0x1d5)][_0x5d0da0(0x1bc)](this[_0x5d0da0(0x1d0)]['world'][_0x5d0da0(0x1c9)],this[_0x5d0da0(0x1d0)][_0x5d0da0(0x200)]);const _0x1b5d2b=this[_0x5d0da0(0x1d5)]['domElement'][_0x5d0da0(0x1e4)],_0xf8a51=this[_0x5d0da0(0x1d5)][_0x5d0da0(0x1cf)][_0x5d0da0(0x1b7)];let _0x45b752=_0x1b5d2b||_0x3daabf,_0x16329b=_0xf8a51||_0x42db0c;(_0x45b752<=0x0||_0x16329b<=0x0)&&(_0x45b752=_0x3daabf,_0x16329b=_0x42db0c);const _0x5982af=document[_0x5d0da0(0x1ee)](_0x5d0da0(0x204));_0x5982af[_0x5d0da0(0x1e4)]=_0x3daabf,_0x5982af[_0x5d0da0(0x1b7)]=_0x42db0c;const _0x32a1e9=_0x5982af[_0x5d0da0(0x1e1)]('2d');if(!_0x32a1e9)throw Error(_0x5d0da0(0x202));_0x32a1e9['drawImage'](this[_0x5d0da0(0x1d5)]['domElement'],0x0,0x0,_0x45b752,_0x16329b,0x0,0x0,_0x3daabf,_0x42db0c);const _0x2fb915=_0x5982af['toDataURL'](_0x5d0da0(0x1b4));return _0x5982af[_0x5d0da0(0x1f4)](),_0x2fb915;}catch(_0x34b1bc){return '';}}[_0x22b39f(0x1ae)](_0x153414){const _0x2e698b=_0x22b39f;if(!this[_0x2e698b(0x20a)])return;this[_0x2e698b(0x20a)][_0x2e698b(0x1fa)][_0x2e698b(0x1ab)]=_0x153414;}[_0x22b39f(0x1f6)](_0x253702){const _0x1da021=_0x22b39f;if(!this[_0x1da021(0x20a)])return;this[_0x1da021(0x20a)][_0x1da021(0x1fa)][_0x1da021(0x203)]=_0x253702;}[_0x22b39f(0x1b0)](_0x4ed448){const _0x2ea557=_0x22b39f;if(!this[_0x2ea557(0x20a)])return;this[_0x2ea557(0x20a)]['toneMapping']=_0x4ed448;}[_0x22b39f(0x1f9)](_0x41457e){const _0x3872f8=_0x22b39f;if(!this[_0x3872f8(0x20a)])return;this[_0x3872f8(0x20a)][_0x3872f8(0x1b9)]=_0x41457e;}[_0x22b39f(0x1a7)](){const _0xc9280e=_0x22b39f;this[_0xc9280e(0x1e2)](),this[_0xc9280e(0x1d5)][_0xc9280e(0x1da)](null),this[_0xc9280e(0x1af)]&&(this[_0xc9280e(0x1af)][_0xc9280e(0x1e6)](),this[_0xc9280e(0x1af)]=null),this[_0xc9280e(0x1e5)]&&(this[_0xc9280e(0x1e5)][_0xc9280e(0x1cf)][_0xc9280e(0x1f4)](),this[_0xc9280e(0x1e5)]=null),this[_0xc9280e(0x20a)]&&(this[_0xc9280e(0x1d5)][_0xc9280e(0x1cf)]['remove'](),this[_0xc9280e(0x20a)][_0xc9280e(0x1ff)](),this[_0xc9280e(0x20a)]=null),this[_0xc9280e(0x1e9)]&&(this[_0xc9280e(0x1e9)][_0xc9280e(0x1f4)](),this[_0xc9280e(0x1e9)]=null),this[_0xc9280e(0x1aa)]=null,this[_0xc9280e(0x1e7)]=null;}}function _0x2484(){const _0x483af6=['remove','scene-uiLayer','setShadowMapType','updateSteps','onWindowResize','setToneMappingExposure','shadowMap','WebGPU','0px','style','updatePostProcess','dispose','camera','_uiDom','Can\x20not\x20create\x20context','type','canvas','7732930sDlAuD','isRenderStateDirty','addOutlineObject','position','Renderer\x20is\x20not\x20initialized','_renderer','590713fxLkIc','observe','destroy','setOutlineObjects','zIndex','_outerContainer','enabled','isUILayerNeeded','buildCustomPostProcess','setShadowMapEnabled','resizeObserver','setToneMapping','setup','clientHeight','className','image/jpeg','setupPostProcess','left','height','devicePixelRatio','toneMappingExposure','elementId','setPixelRatio','render','1907517OOoNUx','onCameraChangedDelegate','4GeDmFX','scene-labelRenderer','toneMapping','querySelector','clientWidth','init','7951920QUtNcf','createUILayer','removeOutlineObject','.scene-uiLayer','scene','insertBefore','WebGL','setSize','App\x20is\x20not\x20initialized','createLabelRenderer','domElement','app','firstChild','world','add','5866520JyDZTy','renderer','createCSS3DRenderer','600VxQClN','div','renderAsImage','setAnimationLoop','background','css3dRenderer','setClearAlpha','markRenderStateDirty','22079124uOafzc','postProcessManager','getContext','destroyPostProcess','top','width','labelRenderer','disconnect','_app','removeChild','_canvasContainer','getElementById','appendChild','onAfterPostProcessRender','uiDom','createElement','createPostProcessManager','none','absolute','pointerEvents','51723eiTDXn'];_0x2484=function(){return _0x483af6;};return _0x2484();}
|
|
87
|
+
const _0xd26757=_0x13e1;(function(_0x37a597,_0x53d438){const _0x58cede=_0x13e1,_0x277a77=_0x37a597();while(!![]){try{const _0x5e9128=parseInt(_0x58cede(0x1f2))/0x1+parseInt(_0x58cede(0x20f))/0x2*(-parseInt(_0x58cede(0x204))/0x3)+parseInt(_0x58cede(0x23e))/0x4*(parseInt(_0x58cede(0x203))/0x5)+-parseInt(_0x58cede(0x1f5))/0x6*(-parseInt(_0x58cede(0x1f0))/0x7)+-parseInt(_0x58cede(0x21e))/0x8*(parseInt(_0x58cede(0x235))/0x9)+-parseInt(_0x58cede(0x21b))/0xa+parseInt(_0x58cede(0x223))/0xb*(-parseInt(_0x58cede(0x221))/0xc);if(_0x5e9128===_0x53d438)break;else _0x277a77['push'](_0x277a77['shift']());}catch(_0x3e77e3){_0x277a77['push'](_0x277a77['shift']());}}}(_0x5ef5,0x98e13));function _0x13e1(_0x453f99,_0x204aa7){_0x453f99=_0x453f99-0x1f0;const _0x5ef565=_0x5ef5();let _0x13e1d4=_0x5ef565[_0x453f99];return _0x13e1d4;}function _0x5ef5(){const _0x1b1d7d=['resize','addPass','steps','Bloom','has','outputPass','buildPipeline','856qgKcth','render','uniforms','332430chlOtv','getStepParam','289355YDKMBM','getSize','smaa','108RdprqU','edgeThickness','lut3dTexture','threshold','removeOutlineObject','setOutlineObjects','scene','DepthOfField','set','fxaaPass','selectedObjects','dispose','map','setLUT3DTexture','16895BZmCCb','1383sPdNXS','updateAllParameters','renderPass','strength','value','outlineObjects','Antialiasing','renderCamera','onDirtyCallback','gtaoPass','dofPass','452OIwRsK','updateCamera','setSize','updateSteps','bloomPass','composer','updateGTAOParameters','buildCustomPostProcess','resolution','radius','GroundTruthAmbientOcclusion','blendIntensity','1270450pbIwBA','renderer','setup','6307936oehJQU','lutPass','method','12bfgwUV','pulsePeriod','2434993gjhZIV','includes','markDirty','camera','outlinePass','visibleEdgeColor','hiddenEdgeColor','splice','updateOutlineParameters','postProcessParam','focus','fxaa','assign','type','find','addOutlineObject','maxblur','smaaPass','9KzUGUT','aperture'];_0x5ef5=function(){return _0x1b1d7d;};return _0x5ef5();}class WebGLPostProcessManager{constructor(_0x328d3c,_0x20e629,_0x472d19,_0x4daeba,_0x7cb94d){const _0x24b149=_0x13e1;this['composer']=null,this[_0x24b149(0x209)]=[],this['renderPass']=null,this[_0x24b149(0x227)]=null,this['bloomPass']=null,this[_0x24b149(0x20e)]=null,this[_0x24b149(0x20d)]=null,this['smaaPass']=null,this[_0x24b149(0x1fe)]=null,this['lutPass']=null,this[_0x24b149(0x23c)]=null,this[_0x24b149(0x1f7)]=null,this[_0x24b149(0x20c)]=null,this['renderer']=_0x328d3c,this[_0x24b149(0x1fb)]=_0x20e629,this[_0x24b149(0x226)]=_0x472d19,this[_0x24b149(0x22c)]=Object[_0x24b149(0x22f)]({},_0x4daeba),this[_0x24b149(0x20c)]=_0x7cb94d!==null&&_0x7cb94d!==void 0?_0x7cb94d:null;}get['processing'](){return this['composer'];}[_0xd26757(0x210)](_0x94bfb){const _0x1e9dd4=_0xd26757;this['camera']=_0x94bfb;if(!this['composer'])this['buildPipeline'](),this['markDirty']();else {if(this[_0x1e9dd4(0x206)])this[_0x1e9dd4(0x206)][_0x1e9dd4(0x226)]=this['camera'];if(this[_0x1e9dd4(0x227)])this[_0x1e9dd4(0x227)][_0x1e9dd4(0x20b)]=this['camera'];this[_0x1e9dd4(0x20e)]&&(this[_0x1e9dd4(0x20e)][_0x1e9dd4(0x226)]=this[_0x1e9dd4(0x226)]),this[_0x1e9dd4(0x20d)]&&(this[_0x1e9dd4(0x20d)][_0x1e9dd4(0x226)]=this[_0x1e9dd4(0x226)]);}}[_0xd26757(0x21d)](){const _0x1f5116=_0xd26757;!this['composer']?this[_0x1f5116(0x23d)]():this['updateAllParameters'](),this[_0x1f5116(0x225)]();}['buildPipeline'](){const _0xe0c1c0=_0xd26757;var _0xb1b60f,_0x24fa76,_0x4b2b8f,_0x3b5173;this[_0xe0c1c0(0x214)]&&this[_0xe0c1c0(0x214)][_0xe0c1c0(0x200)]();this[_0xe0c1c0(0x214)]=new EffectComposer_js.EffectComposer(this[_0xe0c1c0(0x21c)]),this['renderPass']=new RenderPass_js.RenderPass(this[_0xe0c1c0(0x1fb)],this[_0xe0c1c0(0x226)]),this[_0xe0c1c0(0x214)]['addPass'](this[_0xe0c1c0(0x206)]),this['outlinePass']=null,this[_0xe0c1c0(0x213)]=null,this[_0xe0c1c0(0x20e)]=null,this['gtaoPass']=null,this[_0xe0c1c0(0x234)]=null,this[_0xe0c1c0(0x1fe)]=null,this[_0xe0c1c0(0x21f)]=null,this['outputPass']=null;const _0x59da85=new Set(this[_0xe0c1c0(0x22c)][_0xe0c1c0(0x239)][_0xe0c1c0(0x201)](_0xca682e=>_0xca682e[_0xe0c1c0(0x230)]));if(_0x59da85[_0xe0c1c0(0x23b)](exports.PostProcessStepType[_0xe0c1c0(0x219)])){const _0x30ccc1=(_0xb1b60f=this[_0xe0c1c0(0x1f1)](exports.PostProcessStepType[_0xe0c1c0(0x219)]))!==null&&_0xb1b60f!==void 0?_0xb1b60f:DefaultGTAOParam,_0x326f20=this[_0xe0c1c0(0x21c)][_0xe0c1c0(0x1f3)](new three.Vector2());this[_0xe0c1c0(0x20d)]=new GTAOPass_js.GTAOPass(this[_0xe0c1c0(0x1fb)],this[_0xe0c1c0(0x226)],_0x326f20['x'],_0x326f20['y']),this[_0xe0c1c0(0x215)](_0x30ccc1),this[_0xe0c1c0(0x214)][_0xe0c1c0(0x238)](this['gtaoPass']);}if(_0x59da85['has'](exports.PostProcessStepType[_0xe0c1c0(0x1fc)])){const _0x3b57e9=(_0x24fa76=this['getStepParam'](exports.PostProcessStepType[_0xe0c1c0(0x1fc)]))!==null&&_0x24fa76!==void 0?_0x24fa76:DefaultDOFParam;this[_0xe0c1c0(0x20e)]=new BokehPass_js.BokehPass(this['scene'],this[_0xe0c1c0(0x226)],{'focus':_0x3b57e9[_0xe0c1c0(0x22d)],'aperture':_0x3b57e9[_0xe0c1c0(0x236)],'maxblur':_0x3b57e9[_0xe0c1c0(0x233)]}),this[_0xe0c1c0(0x214)][_0xe0c1c0(0x238)](this[_0xe0c1c0(0x20e)]);}if(_0x59da85[_0xe0c1c0(0x23b)](exports.PostProcessStepType[_0xe0c1c0(0x23a)])){const _0x3d8465=(_0x4b2b8f=this['getStepParam'](exports.PostProcessStepType[_0xe0c1c0(0x23a)]))!==null&&_0x4b2b8f!==void 0?_0x4b2b8f:DefaultBloomParam,_0x243e70=this['renderer'][_0xe0c1c0(0x1f3)](new three.Vector2());this[_0xe0c1c0(0x213)]=new UnrealBloomPass_js.UnrealBloomPass(_0x243e70,_0x3d8465[_0xe0c1c0(0x207)],_0x3d8465[_0xe0c1c0(0x218)],_0x3d8465['threshold']),this[_0xe0c1c0(0x214)]['addPass'](this['bloomPass']);}if(_0x59da85[_0xe0c1c0(0x23b)](exports.PostProcessStepType['Outline'])){const _0x2f8155=(_0x3b5173=this[_0xe0c1c0(0x1f1)](exports.PostProcessStepType['Outline']))!==null&&_0x3b5173!==void 0?_0x3b5173:DefaultOutlineParams,_0x5e9d22=this['renderer'][_0xe0c1c0(0x1f3)](new three.Vector2());this['outlinePass']=new OutlinePass_js.OutlinePass(_0x5e9d22,this['scene'],this[_0xe0c1c0(0x226)]),this['outlinePass'][_0xe0c1c0(0x1ff)]=this['outlineObjects'],this[_0xe0c1c0(0x22b)](_0x2f8155),this[_0xe0c1c0(0x214)]['addPass'](this['outlinePass']);}this['lut3dTexture']&&(this['lutPass']=new LUTPass_js.LUTPass({'lut':this['lut3dTexture']}),this[_0xe0c1c0(0x214)][_0xe0c1c0(0x238)](this[_0xe0c1c0(0x21f)]));const _0x330330=this[_0xe0c1c0(0x1f1)](exports.PostProcessStepType[_0xe0c1c0(0x20a)]);if(_0x330330){const _0x134526=this['renderer'][_0xe0c1c0(0x1f3)](new three.Vector2());if(_0x330330[_0xe0c1c0(0x220)]===_0xe0c1c0(0x22e))this[_0xe0c1c0(0x1fe)]=new ShaderPass_js.ShaderPass(FXAAShader_js.FXAAShader),this[_0xe0c1c0(0x1fe)][_0xe0c1c0(0x240)]['resolution'][_0xe0c1c0(0x208)][_0xe0c1c0(0x1fd)](0x1/_0x134526['x'],0x1/_0x134526['y']),this[_0xe0c1c0(0x214)][_0xe0c1c0(0x238)](this[_0xe0c1c0(0x1fe)]);else _0x330330[_0xe0c1c0(0x220)]===_0xe0c1c0(0x1f4)&&(this[_0xe0c1c0(0x234)]=new SMAAPass_js.SMAAPass(_0x134526['x'],_0x134526['y']),this['composer'][_0xe0c1c0(0x238)](this['smaaPass']));}this['outputPass']=new OutputPass_js.OutputPass(),this['composer'][_0xe0c1c0(0x238)](this[_0xe0c1c0(0x23c)]);}[_0xd26757(0x216)](_0x5bb2ca,_0x26f645){const _0x1016cb=_0xd26757;this[_0x1016cb(0x214)]&&this['composer'][_0x1016cb(0x200)]();this[_0x1016cb(0x214)]=new EffectComposer_js.EffectComposer(this[_0x1016cb(0x21c)],_0x5bb2ca),this[_0x1016cb(0x206)]=null,this[_0x1016cb(0x227)]=null,this['bloomPass']=null,this[_0x1016cb(0x20e)]=null,this[_0x1016cb(0x20d)]=null,this[_0x1016cb(0x234)]=null,this[_0x1016cb(0x1fe)]=null,this[_0x1016cb(0x21f)]=null,this[_0x1016cb(0x23c)]=null,this[_0x1016cb(0x206)]=new RenderPass_js.RenderPass(this['scene'],this[_0x1016cb(0x226)]),this[_0x1016cb(0x214)][_0x1016cb(0x238)](this[_0x1016cb(0x206)]);for(const _0x414c6e of _0x26f645){this['composer'][_0x1016cb(0x238)](_0x414c6e);}this[_0x1016cb(0x23c)]=new OutputPass_js.OutputPass(),this[_0x1016cb(0x214)][_0x1016cb(0x238)](this[_0x1016cb(0x23c)]),this[_0x1016cb(0x225)]();}['getStepParam'](_0x38b8fa){const _0x42d8c4=_0xd26757;var _0x2c0e4e;return (_0x2c0e4e=this['postProcessParam'][_0x42d8c4(0x239)][_0x42d8c4(0x231)](_0x4f056d=>_0x4f056d['type']===_0x38b8fa))!==null&&_0x2c0e4e!==void 0?_0x2c0e4e:null;}[_0xd26757(0x205)](){const _0x1e6255=_0xd26757,_0x2845dc=this[_0x1e6255(0x1f1)](exports.PostProcessStepType[_0x1e6255(0x23a)]);_0x2845dc&&this['bloomPass']&&(this[_0x1e6255(0x213)]['strength']=_0x2845dc[_0x1e6255(0x207)],this['bloomPass'][_0x1e6255(0x218)]=_0x2845dc[_0x1e6255(0x218)],this[_0x1e6255(0x213)]['threshold']=_0x2845dc[_0x1e6255(0x1f8)]);const _0x452aa4=this[_0x1e6255(0x1f1)](exports.PostProcessStepType[_0x1e6255(0x1fc)]);if(_0x452aa4&&this[_0x1e6255(0x20e)]){const _0x39489d=this[_0x1e6255(0x20e)];_0x39489d[_0x1e6255(0x240)]&&(_0x39489d[_0x1e6255(0x240)][_0x1e6255(0x22d)][_0x1e6255(0x208)]=_0x452aa4[_0x1e6255(0x22d)],_0x39489d[_0x1e6255(0x240)][_0x1e6255(0x236)][_0x1e6255(0x208)]=_0x452aa4[_0x1e6255(0x236)],_0x39489d['uniforms'][_0x1e6255(0x233)][_0x1e6255(0x208)]=_0x452aa4[_0x1e6255(0x233)]);}const _0x2ce171=this[_0x1e6255(0x1f1)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']);_0x2ce171&&this[_0x1e6255(0x20d)]&&this['updateGTAOParameters'](_0x2ce171);const _0x437262=this[_0x1e6255(0x1f1)](exports.PostProcessStepType['Outline']);_0x437262&&this[_0x1e6255(0x227)]&&this[_0x1e6255(0x22b)](_0x437262);}[_0xd26757(0x215)](_0x42f74d){const _0x29ed0d=_0xd26757;if(!this['gtaoPass'])return;this[_0x29ed0d(0x20d)][_0x29ed0d(0x21a)]=_0x42f74d['scale'];}['updateOutlineParameters'](_0x4489f1){const _0x51932e=_0xd26757;if(!this[_0x51932e(0x227)])return;this[_0x51932e(0x227)]['edgeStrength']=_0x4489f1['edgeStrength'],this['outlinePass']['edgeGlow']=_0x4489f1['edgeGlow'],this[_0x51932e(0x227)][_0x51932e(0x1f6)]=_0x4489f1['edgeThickness'],this[_0x51932e(0x227)][_0x51932e(0x222)]=_0x4489f1[_0x51932e(0x222)],this[_0x51932e(0x227)][_0x51932e(0x228)]=new three.Color(_0x4489f1[_0x51932e(0x228)]),this[_0x51932e(0x227)][_0x51932e(0x229)]=new three.Color(_0x4489f1[_0x51932e(0x229)]);}[_0xd26757(0x212)](_0x18c1b2){const _0x2874ab=_0xd26757;this[_0x2874ab(0x22c)][_0x2874ab(0x239)]=_0x18c1b2,this['buildPipeline'](),this[_0x2874ab(0x225)]();}[_0xd26757(0x232)](_0x10bf0a){const _0x442292=_0xd26757;!this['outlineObjects'][_0x442292(0x224)](_0x10bf0a)&&(this[_0x442292(0x209)]['push'](_0x10bf0a),this[_0x442292(0x227)]&&(this[_0x442292(0x227)]['selectedObjects']=this[_0x442292(0x209)])),this[_0x442292(0x225)]();}[_0xd26757(0x1fa)](_0x2e84c0){const _0x261e22=_0xd26757;this['outlineObjects']['length']=0x0,this['outlineObjects']['push'](..._0x2e84c0),this[_0x261e22(0x227)]&&(this[_0x261e22(0x227)][_0x261e22(0x1ff)]=this[_0x261e22(0x209)]),this['markDirty']();}[_0xd26757(0x1f9)](_0x574129){const _0x52c741=_0xd26757,_0x151de8=this[_0x52c741(0x209)]['indexOf'](_0x574129);_0x151de8>-1&&(this[_0x52c741(0x209)][_0x52c741(0x22a)](_0x151de8,0x1),this[_0x52c741(0x227)]&&(this['outlinePass'][_0x52c741(0x1ff)]=this[_0x52c741(0x209)])),this[_0x52c741(0x225)]();}[_0xd26757(0x202)](_0x17bac8){const _0x170e85=_0xd26757;this['lut3dTexture']=_0x17bac8,this['buildPipeline'](),this[_0x170e85(0x225)]();}['getLUT3DTexture'](){const _0x40ddaf=_0xd26757;return this[_0x40ddaf(0x1f7)];}[_0xd26757(0x23f)](){const _0x89fcbe=_0xd26757;if(this[_0x89fcbe(0x214)])return this[_0x89fcbe(0x214)]['render'](),!![];return ![];}[_0xd26757(0x237)](_0x469709,_0x1bbf63){const _0x2626db=_0xd26757;this[_0x2626db(0x214)]&&this[_0x2626db(0x214)][_0x2626db(0x211)](_0x469709,_0x1bbf63),this[_0x2626db(0x1fe)]&&this['fxaaPass'][_0x2626db(0x240)][_0x2626db(0x217)]['value'][_0x2626db(0x1fd)](0x1/_0x469709,0x1/_0x1bbf63);}['destroy'](){const _0x4760a7=_0xd26757;this[_0x4760a7(0x209)]=[],this[_0x4760a7(0x227)]=null,this[_0x4760a7(0x213)]=null,this['dofPass']=null,this[_0x4760a7(0x20d)]=null,this[_0x4760a7(0x234)]=null,this['fxaaPass']=null,this[_0x4760a7(0x21f)]=null,this[_0x4760a7(0x23c)]=null,this[_0x4760a7(0x1f7)]=null,this[_0x4760a7(0x214)]&&(this[_0x4760a7(0x214)]['dispose'](),this[_0x4760a7(0x214)]=null);}['markDirty'](){const _0x61d844=_0xd26757;this[_0x61d844(0x20c)]&&this[_0x61d844(0x20c)]();}}
|
|
85
88
|
|
|
86
|
-
const _0x1b0466=_0x4cd0;(function(_0x1f5a33,_0x55ca54){const _0x3d0f4b=_0x4cd0,_0x2d057e=_0x1f5a33();while(!![]){try{const _0x409685=parseInt(_0x3d0f4b(0x140))/0x1*(-parseInt(_0x3d0f4b(0x19e))/0x2)+parseInt(_0x3d0f4b(0x149))/0x3+parseInt(_0x3d0f4b(0x198))/0x4+parseInt(_0x3d0f4b(0x146))/0x5*(parseInt(_0x3d0f4b(0x162))/0x6)+-parseInt(_0x3d0f4b(0x15f))/0x7*(parseInt(_0x3d0f4b(0x191))/0x8)+-parseInt(_0x3d0f4b(0x195))/0x9+-parseInt(_0x3d0f4b(0x189))/0xa;if(_0x409685===_0x55ca54)break;else _0x2d057e['push'](_0x2d057e['shift']());}catch(_0x3b0698){_0x2d057e['push'](_0x2d057e['shift']());}}}(_0x10b4,0x94d20));function _0x4cd0(_0x25d7a6,_0x4cf07e){_0x25d7a6=_0x25d7a6-0x13e;const _0x10b470=_0x10b4();let _0x4cd07d=_0x10b470[_0x25d7a6];return _0x4cd07d;}class Actor extends BaseObject{get['world'](){const _0x44347d=_0x4cd0;return this[_0x44347d(0x170)];}get[_0x1b0466(0x171)](){const _0x1c2412=_0x1b0466;return this[_0x1c2412(0x17f)];}set[_0x1b0466(0x171)](_0x4b1cc6){const _0x61bed9=_0x1b0466;this[_0x61bed9(0x17f)]=_0x4b1cc6;}get[_0x1b0466(0x141)](){const _0x55df83=_0x1b0466;if(!this[_0x55df83(0x16b)])throw Error('rootComponent\x20is\x20invalid');return this[_0x55df83(0x16b)];}set[_0x1b0466(0x141)](_0x3cf7e2){const _0x231e38=_0x1b0466;_0x3cf7e2['detachFromParentComponent'](),_0x3cf7e2['parentActor']=this;if(this[_0x231e38(0x16b)]){let _0x1bd0c6=this[_0x231e38(0x141)][_0x231e38(0x1a1)];for(let _0x3f0c46=0x0;_0x3f0c46<_0x1bd0c6[_0x231e38(0x15d)];++_0x3f0c46){_0x3cf7e2[_0x231e38(0x148)](_0x1bd0c6[_0x3f0c46]);}this[_0x231e38(0x141)]['destroy']();}this['_rootComponent']=_0x3cf7e2;}get['childrenComponents'](){const _0x299f7f=_0x1b0466;return this[_0x299f7f(0x141)]['childrenComponents'];}get['childActors'](){const _0x362cf5=_0x1b0466;var _0x43f433;let _0x2d897b=[];return (_0x43f433=this[_0x362cf5(0x141)][_0x362cf5(0x18f)])===null||_0x43f433===void 0?void 0:_0x43f433['children'][_0x362cf5(0x15e)](_0x3c935d=>{const _0x39674e=_0x362cf5;var _0x1a2afd;let _0x4c6f8f=(_0x1a2afd=_0x3c935d[_0x39674e(0x167)][_0x39674e(0x1a0)])===null||_0x1a2afd===void 0?void 0:_0x1a2afd[_0x39674e(0x15b)];_0x4c6f8f!==this&&_0x4c6f8f instanceof Actor&&_0x2d897b[_0x39674e(0x168)](_0x4c6f8f);}),_0x2d897b;}get[_0x1b0466(0x15b)](){const _0x26fd47=_0x1b0466;var _0x26b38d,_0x704be2,_0xbe92b;let _0x4dab9e=(_0xbe92b=(_0x704be2=(_0x26b38d=this[_0x26fd47(0x141)][_0x26fd47(0x18f)])===null||_0x26b38d===void 0?void 0:_0x26b38d[_0x26fd47(0x19f)])===null||_0x704be2===void 0?void 0:_0x704be2[_0x26fd47(0x167)]['LYObject'])===null||_0xbe92b===void 0?void 0:_0xbe92b[_0x26fd47(0x15b)];return _0x4dab9e===this?null:_0x4dab9e;}get[_0x1b0466(0x166)](){const _0x385b33=_0x1b0466;return this[_0x385b33(0x141)]?this[_0x385b33(0x141)][_0x385b33(0x166)]:![];}get[_0x1b0466(0x144)](){return super['isTickEnabled'];}set[_0x1b0466(0x144)](_0x5e6c3d){const _0x5f1f93=_0x1b0466;super[_0x5f1f93(0x144)]=_0x5e6c3d,this[_0x5f1f93(0x144)]?this['app'][_0x5f1f93(0x14d)][_0x5f1f93(0x16d)](this):this[_0x5f1f93(0x185)][_0x5f1f93(0x14d)][_0x5f1f93(0x160)](this);}get[_0x1b0466(0x177)](){const _0xd77f06=_0x1b0466;return this[_0xd77f06(0x181)];}get[_0x1b0466(0x150)](){return this['_onHoverEndDelegate'];}get[_0x1b0466(0x145)](){const _0x386fd=_0x1b0466;return this[_0x386fd(0x186)];}get[_0x1b0466(0x178)](){const _0x2ce62d=_0x1b0466;return this[_0x2ce62d(0x18c)];}constructor(_0x4ea7d8,_0x2ce293){const _0x303f9c=_0x1b0466;super(_0x2ce293),this['_name']=_0x303f9c(0x183),this[_0x303f9c(0x16b)]=null,this[_0x303f9c(0x170)]=null,this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x303f9c(0x186)]=new Delegate(),this[_0x303f9c(0x18c)]=new Delegate(),this[_0x303f9c(0x185)]=_0x4ea7d8,this[_0x303f9c(0x141)]=this[_0x303f9c(0x165)](),this[_0x303f9c(0x141)][_0x303f9c(0x15b)]=this;}['constructRootComponent'](){return new SceneComponent(this['app']);}[_0x1b0466(0x16a)](_0x27c0ce=!![]){const _0xa57e91=_0x1b0466;let _0x45b22a=new webgpu.Vector3();return this[_0xa57e91(0x17d)]()[_0xa57e91(0x14f)](_0x45b22a),!_0x27c0ce?_0x45b22a[_0xa57e91(0x157)](this[_0xa57e91(0x180)]()):_0x45b22a;}['getChildActorById'](_0x30f2ea,_0x1aaf65=!![]){const _0x595c51=_0x1b0466,_0x2a0a7e=this[_0x595c51(0x18b)];for(const _0x327a44 of _0x2a0a7e){if(_0x327a44[_0x595c51(0x151)]===_0x30f2ea)return _0x327a44;}if(_0x1aaf65)for(const _0x455388 of _0x2a0a7e){const _0x366823=_0x455388[_0x595c51(0x19d)](_0x30f2ea,!![]);if(_0x366823)return _0x366823;}return null;}[_0x1b0466(0x17e)](_0x4e9c19,_0x53126f=!![]){const _0x1c3866=_0x1b0466,_0x3a143a=[],_0x191414=new Set(_0x4e9c19),_0x2d74bb=this[_0x1c3866(0x18b)];for(const _0x275603 of _0x2d74bb){_0x191414[_0x1c3866(0x143)](_0x275603['uuid'])&&(_0x3a143a[_0x1c3866(0x168)](_0x275603),_0x191414[_0x1c3866(0x196)](_0x275603['uuid']));}if(_0x53126f&&_0x191414[_0x1c3866(0x164)]>0x0)for(const _0x48d65f of _0x2d74bb){const _0x39bb6a=_0x48d65f[_0x1c3866(0x17e)]([..._0x191414],!![]);for(const _0x26d792 of _0x39bb6a){_0x3a143a[_0x1c3866(0x168)](_0x26d792),_0x191414[_0x1c3866(0x196)](_0x26d792[_0x1c3866(0x151)]);}if(_0x191414[_0x1c3866(0x164)]===0x0)break;}return _0x3a143a;}['getComponentById'](_0x24aa7b){const _0x1943ef=_0x1b0466;return this[_0x1943ef(0x141)][_0x1943ef(0x18e)](_0x24aa7b);}[_0x1b0466(0x190)](_0x5c51d8=!![]){const _0x1c1914=_0x1b0466;let _0x2f3982=new webgpu.Vector3(),_0x300be5=this[_0x1c1914(0x141)][_0x1c1914(0x17d)]();return _0x300be5[_0x1c1914(0x14f)](_0x2f3982),_0x2f3982['y']=_0x300be5['max']['y'],!_0x5c51d8?_0x2f3982[_0x1c1914(0x157)](this[_0x1c1914(0x180)]()):_0x2f3982;}[_0x1b0466(0x173)](_0x426dfe=!![]){const _0x18784d=_0x1b0466;let _0x40ac98=new webgpu.Vector3(),_0x425d0f=this[_0x18784d(0x17d)]();return _0x425d0f['getCenter'](_0x40ac98),_0x40ac98['y']=_0x425d0f[_0x18784d(0x147)]['y'],!_0x426dfe?_0x40ac98[_0x18784d(0x157)](this[_0x18784d(0x180)]()):_0x40ac98;}[_0x1b0466(0x17d)](){const _0x3f7b81=_0x1b0466;return this[_0x3f7b81(0x141)][_0x3f7b81(0x17d)]();}[_0x1b0466(0x18d)](){const _0x87761a=_0x1b0466;let _0x510b6d=this[_0x87761a(0x18b)];_0x510b6d[_0x87761a(0x15e)](_0x34fab4=>{_0x34fab4['destroy']();}),this[_0x87761a(0x141)][_0x87761a(0x18d)]();}[_0x1b0466(0x15a)](_0x14f0a0){const _0x2e83a6=_0x1b0466;this['rootComponent'][_0x2e83a6(0x15a)](_0x14f0a0);}[_0x1b0466(0x192)](_0xeede4f,_0xe3d509=!![]){const _0xfd189c=_0x1b0466;this['rootComponent'][_0xfd189c(0x192)](_0xeede4f),_0xe3d509&&this[_0xfd189c(0x18b)][_0xfd189c(0x15e)](_0x7935c9=>{const _0x58ca91=_0xfd189c;_0x7935c9[_0x58ca91(0x192)](_0xeede4f,_0xe3d509);});}['tick'](_0x5245c5){const _0x4f302a=_0x1b0466;if(!this[_0x4f302a(0x144)])return;super['tick'](_0x5245c5),this['rootComponent'][_0x4f302a(0x18a)](_0x5245c5);}[_0x1b0466(0x180)](){const _0x1e1d4=_0x1b0466;return this[_0x1e1d4(0x141)][_0x1e1d4(0x180)]();}[_0x1b0466(0x19b)](..._0x4a2cc3){const _0x108041=_0x1b0466;_0x4a2cc3['length']===0x1?this['rootComponent']['setPosition'](_0x4a2cc3[0x0]):this[_0x108041(0x141)][_0x108041(0x19b)](_0x4a2cc3[0x0],_0x4a2cc3[0x1],_0x4a2cc3[0x2]);}[_0x1b0466(0x158)](){const _0xc48f91=_0x1b0466;return this[_0xc48f91(0x141)]['getRotation']();}[_0x1b0466(0x153)](..._0x57cbb7){const _0xa97aea=_0x1b0466;_0x57cbb7[_0xa97aea(0x15d)]===0x1?this[_0xa97aea(0x141)]['setRotation'](_0x57cbb7[0x0]):this['rootComponent']['setRotation'](_0x57cbb7[0x0],_0x57cbb7[0x1],_0x57cbb7[0x2]);}[_0x1b0466(0x14b)](){const _0x3fed0b=_0x1b0466;return this['rootComponent'][_0x3fed0b(0x14b)]();}['setQuaternion'](..._0x3abbea){const _0x55bac5=_0x1b0466;_0x3abbea[_0x55bac5(0x15d)]===0x1?this[_0x55bac5(0x141)]['setQuaternion'](_0x3abbea[0x0]):this[_0x55bac5(0x141)][_0x55bac5(0x174)](_0x3abbea[0x0],_0x3abbea[0x1],_0x3abbea[0x2],_0x3abbea[0x3]);}[_0x1b0466(0x155)](){const _0x25af71=_0x1b0466;return this[_0x25af71(0x141)][_0x25af71(0x155)]();}[_0x1b0466(0x163)](..._0x194b33){const _0x2fddf9=_0x1b0466;_0x194b33[_0x2fddf9(0x15d)]===0x1?this[_0x2fddf9(0x141)][_0x2fddf9(0x163)](_0x194b33[0x0]):this[_0x2fddf9(0x141)][_0x2fddf9(0x163)](_0x194b33[0x0],_0x194b33[0x1],_0x194b33[0x2]);}['getWorldMatrix'](){const _0x519c14=_0x1b0466;return this[_0x519c14(0x141)][_0x519c14(0x19a)]();}['setWorldMatrix'](_0x4d1cce){const _0x38390f=_0x1b0466;this[_0x38390f(0x141)][_0x38390f(0x161)](_0x4d1cce);}[_0x1b0466(0x13f)](){const _0x37501e=_0x1b0466;return this[_0x37501e(0x141)][_0x37501e(0x13f)]();}[_0x1b0466(0x176)](){const _0x25cbf3=_0x1b0466;return this['rootComponent'][_0x25cbf3(0x176)]();}[_0x1b0466(0x142)](){const _0x11046c=_0x1b0466;return this[_0x11046c(0x141)]['getWorldQuaternion']();}[_0x1b0466(0x17c)](){const _0x1c6015=_0x1b0466;return this[_0x1c6015(0x141)][_0x1c6015(0x17c)]();}['getWorldForwardDirection'](){const _0x180d6a=_0x1b0466;return this[_0x180d6a(0x141)]['getWorldForwardDirection']();}[_0x1b0466(0x187)](){const _0x59cb70=_0x1b0466;return this['rootComponent'][_0x59cb70(0x187)]();}['getWorldRightDirection'](){return this['rootComponent']['getWorldRightDirection']();}[_0x1b0466(0x14c)](_0x5ace58,_0x2893c5){const _0x2b7e36=_0x1b0466;let _0x440206=this['getPosition']();this[_0x2b7e36(0x19b)](_0x440206['x']+_0x5ace58['x']*_0x2893c5,_0x440206['y']+_0x5ace58['y']*_0x2893c5,_0x440206['z']+_0x5ace58['z']*_0x2893c5);}[_0x1b0466(0x175)](_0x48749d){const _0x458b2a=_0x1b0466;return this[_0x458b2a(0x141)][_0x458b2a(0x175)](_0x48749d);}['localToWorld'](_0x1e4a2a){const _0x1753b8=_0x1b0466;return this[_0x1753b8(0x141)][_0x1753b8(0x156)](_0x1e4a2a);}[_0x1b0466(0x16e)](){const _0x4b7d53=_0x1b0466;return this[_0x4b7d53(0x141)][_0x4b7d53(0x1a1)];}[_0x1b0466(0x154)](_0x24e5d5,_0x32ba85=exports.AttachmentRules[_0x1b0466(0x16c)]){const _0x4aa230=_0x1b0466;this[_0x4aa230(0x141)][_0x4aa230(0x148)](_0x24e5d5,_0x32ba85),this['_world']&&_0x24e5d5[_0x4aa230(0x169)](this[_0x4aa230(0x170)]);}[_0x1b0466(0x197)](_0x2d7110){const _0x5f128e=_0x1b0466;if(_0x2d7110===this['_rootComponent'])return;this['rootComponent'][_0x5f128e(0x16f)](_0x2d7110);}[_0x1b0466(0x182)](){const _0x534102=_0x1b0466;this[_0x534102(0x141)][_0x534102(0x179)]();}[_0x1b0466(0x188)](_0x387d5b,_0x332b28=exports.AttachmentRules[_0x1b0466(0x184)]){const _0x4d4ba5=_0x1b0466;if(!_0x387d5b[_0x4d4ba5(0x141)]){console['error'](_0x4d4ba5(0x15c));return;}if(_0x387d5b[_0x4d4ba5(0x15b)]===this)return;_0x332b28===exports.AttachmentRules['KeepRelative']&&this[_0x4d4ba5(0x141)][_0x4d4ba5(0x159)](_0x387d5b[_0x4d4ba5(0x141)]);if(_0x332b28===exports.AttachmentRules['KeepWorld']){let _0x13fa72=_0x387d5b[_0x4d4ba5(0x19a)]();this[_0x4d4ba5(0x141)][_0x4d4ba5(0x159)](_0x387d5b[_0x4d4ba5(0x141)]),_0x387d5b[_0x4d4ba5(0x161)](_0x13fa72);}this[_0x4d4ba5(0x170)]&&this['_world']['viewport'][_0x4d4ba5(0x17b)]();}[_0x1b0466(0x193)](_0xde54c3){const _0x124a9e=_0x1b0466;let _0x365d9c=_0xde54c3[_0x124a9e(0x19a)]();this[_0x124a9e(0x141)]['detachComponent'](_0xde54c3['rootComponent']),_0xde54c3[_0x124a9e(0x161)](_0x365d9c);}[_0x1b0466(0x14a)](){const _0x3d8341=_0x1b0466;this[_0x3d8341(0x15b)]&&this[_0x3d8341(0x15b)][_0x3d8341(0x193)](this);}[_0x1b0466(0x169)](_0x30c483){const _0x50d928=_0x1b0466;this[_0x50d928(0x170)]=_0x30c483,this[_0x50d928(0x141)][_0x50d928(0x169)](this[_0x50d928(0x170)]),this[_0x50d928(0x18b)][_0x50d928(0x15e)](_0x3299cd=>{const _0x416be6=_0x50d928;_0x3299cd[_0x416be6(0x169)](_0x30c483);});}['onRemovedFromWorld'](){const _0x41e321=_0x1b0466;this[_0x41e321(0x170)]=null;}get[_0x1b0466(0x13e)](){const _0x1abd1f=_0x1b0466;return this[_0x1abd1f(0x141)][_0x1abd1f(0x13e)];}set['isHoverEnabled'](_0x570f05){const _0x50e87d=_0x1b0466;this['rootComponent'][_0x50e87d(0x13e)]=_0x570f05;}get['isClickEnabled'](){const _0x3a8ae4=_0x1b0466;return this[_0x3a8ae4(0x141)][_0x3a8ae4(0x14e)];}set['isClickEnabled'](_0x1de71b){const _0x179afe=_0x1b0466;this['rootComponent'][_0x179afe(0x14e)]=_0x1de71b;}[_0x1b0466(0x199)](_0x41f713){const _0x5e02eb=_0x1b0466;this[_0x5e02eb(0x181)][_0x5e02eb(0x152)](_0x41f713);}[_0x1b0466(0x17a)](_0x4dcb31){const _0x5f0b1b=_0x1b0466;this[_0x5f0b1b(0x172)][_0x5f0b1b(0x152)](_0x4dcb31);}[_0x1b0466(0x194)](_0x1b1e23){const _0x56660c=_0x1b0466;this[_0x56660c(0x186)]['broadcast'](_0x1b1e23);}[_0x1b0466(0x19c)](_0x16b916){const _0x3afb2f=_0x1b0466;this['_onDoubleClickDelegate'][_0x3afb2f(0x152)](_0x16b916);}['landToGround'](){}}function _0x10b4(){const _0x1faf4f=['LYObject','childrenComponents','isHoverEnabled','getWorldPosition','234653PdoAHz','rootComponent','getWorldQuaternion','has','isTickEnabled','onClickDelegate','2204750QMLCzd','min','addChildComponent','3298557ezJNlY','removeFromParent','getQuaternion','addLocalOffset','world','isClickEnabled','getCenter','onHoverEndDelegate','uuid','broadcast','setRotation','addComponent','getScale','localToWorld','sub','getRotation','attachComponent','setVisible','parentActor','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','length','forEach','14BdpoKr','removeTickableActor','setWorldMatrix','12cLXcZI','setScale','size','constructRootComponent','isVisible','userData','push','onAddedToWorld','getBoundsCenterPosition','_rootComponent','KeepRelative','addTickableActor','getComponents','removeChildComponent','_world','name','_onHoverEndDelegate','getBoundsBottomCenterPosition','setQuaternion','worldToLocal','getWorldRotation','onHoverBeginDelegate','onDoubleClickDelegate','destroyChildren','onActorHoverEnd','markRenderStateDirty','getWorldScale','getBounds','getChildActorsByIds','_name','getPosition','_onHoverBeginDelegate','clearComponent','Actor','KeepWorld','app','_onClickDelegate','getWorldUpDirection','addChildActor','3738200QShRSV','tick','childActors','_onDoubleClickDelegate','destroy','getComponentById','threeObject','getBoundsTopCenterPosition','933032lNKfHo','setLayers','removeChildActor','onActorClick','6511734Wvtlfm','delete','removeComponent','2650848Xulldp','onActorHoverBegin','getWorldMatrix','setPosition','onActorDoubleClick','getChildActorById','6fIfHFg','parent'];_0x10b4=function(){return _0x1faf4f;};return _0x10b4();}
|
|
89
|
+
const _0x355a08=_0x2eed;(function(_0x24bdfd,_0x5548ee){const _0x406251=_0x2eed,_0x1596be=_0x24bdfd();while(!![]){try{const _0x264360=-parseInt(_0x406251(0x194))/0x1*(parseInt(_0x406251(0x15f))/0x2)+-parseInt(_0x406251(0x17d))/0x3+-parseInt(_0x406251(0x162))/0x4*(-parseInt(_0x406251(0x1a0))/0x5)+parseInt(_0x406251(0x184))/0x6+parseInt(_0x406251(0x193))/0x7+parseInt(_0x406251(0x1b9))/0x8+parseInt(_0x406251(0x179))/0x9;if(_0x264360===_0x5548ee)break;else _0x1596be['push'](_0x1596be['shift']());}catch(_0x4afd6e){_0x1596be['push'](_0x1596be['shift']());}}}(_0x1042,0x6b5b5));function _0x2eed(_0x544b99,_0x3d545e){_0x544b99=_0x544b99-0x158;const _0x104232=_0x1042();let _0x2eedc3=_0x104232[_0x544b99];return _0x2eedc3;}function _0x1042(){const _0x4b951c=['render','position','image/jpeg','isRenderStateDirty','dispose','isUILayerNeeded','createElement','_app','removeChild','markRenderStateDirty','scene-labelRenderer','none','onWindowResize','removeOutlineObject','top','shadowMap','css3dRenderer','createCSS3DRenderer','scene','scene-uiLayer','devicePixelRatio','world','param','3146488Ksvheu','outer','0px','destroyPostProcess','renderer','getElementById','clientWidth','setSize','setShadowMapType','drawImage','updateSteps','toneMapping','querySelector','setAnimationLoop','createPostProcessManager','416yZGhBf','camera','renderAsImage','16AhUmEo','contentBoxSize','_canvasContainer','className','add','Renderer\x20is\x20not\x20initialized','clientHeight','toDataURL','getContext','_renderer','observe','labelRenderer','height','init','setToneMappingExposure','domElement','setToneMapping','background','style','WebGPU','toneMappingExposure','createRenderer','updatePostProcess','4359078thDBOw','resizeObserver','transparent','resize','1499802ppujvg','_uiDom','type','pointerEvents','canvas','postProcessManager','destroy','81060JJtOFW','onAfterPostProcessRender','updateCamera','div','App\x20is\x20not\x20initialized','createUILayer','setShadowMapEnabled','zIndex','buildCustomPostProcess','disconnect','addOutlineObject','setOutlineObjects','remove','enabled','WebGL','548940KijDXi','709trKbdY','width','Can\x20not\x20create\x20context','elementId','appendChild','absolute','app','setupPostProcess','setup','setClearAlpha','left','_outerContainer','146945EYLEWg','createLabelRenderer'];_0x1042=function(){return _0x4b951c;};return _0x1042();}class Viewport{get['uiDom'](){const _0x1720aa=_0x2eed;return this[_0x1720aa(0x17e)];}get[_0x355a08(0x181)](){const _0x3ff53a=_0x355a08;return this['_outerContainer']||this[_0x3ff53a(0x1bd)]['domElement'];}get[_0x355a08(0x1ba)](){const _0x53ded0=_0x355a08;return this[_0x53ded0(0x19f)];}get[_0x355a08(0x1bd)](){const _0x59ec35=_0x355a08;if(!this[_0x59ec35(0x16b)])throw Error(_0x59ec35(0x167));return this[_0x59ec35(0x16b)];}get['app'](){const _0x4c6ab9=_0x355a08;if(!this[_0x4c6ab9(0x1a9)])throw Error(_0x4c6ab9(0x188));return this[_0x4c6ab9(0x1a9)];}constructor(_0x2e2098,_0x85a1b3){const _0xfac3c=_0x355a08;this['_uiDom']=null,this[_0xfac3c(0x16b)]=null,this[_0xfac3c(0x16d)]=null,this['css3dRenderer']=null,this[_0xfac3c(0x1a9)]=null,this['resizeObserver']=null,this[_0xfac3c(0x19f)]=null,this[_0xfac3c(0x164)]=null,this['isRenderStateDirty']=!![],this[_0xfac3c(0x182)]=null,this[_0xfac3c(0x1a9)]=_0x2e2098,_0x85a1b3[_0xfac3c(0x197)]&&(this[_0xfac3c(0x19f)]=document[_0xfac3c(0x1be)](_0x85a1b3[_0xfac3c(0x197)])),this[_0xfac3c(0x177)](_0x85a1b3['renderer'][_0xfac3c(0x17f)],_0x85a1b3['renderer'][_0xfac3c(0x1b8)]),_0x85a1b3['isLabelRendererNeeded']&&this['createLabelRenderer'](),_0x85a1b3['isCSS3DRendererNeeded']&&this['createCSS3DRenderer'](),_0x85a1b3[_0xfac3c(0x1a7)]&&this[_0xfac3c(0x189)](),setTimeout(()=>{var _0x493f9e;this['setupPostProcess']((_0x493f9e=_0x85a1b3['postProcess'])!==null&&_0x493f9e!==void 0?_0x493f9e:{'steps':[]});},0x32),this[_0xfac3c(0x19f)]&&(this['resizeObserver']=new ResizeObserver(_0x4af1e3=>{const _0x3a8bba=_0xfac3c;for(let _0x184a77 of _0x4af1e3){_0x184a77[_0x3a8bba(0x163)]&&this[_0x3a8bba(0x1ae)]();}}),this['resizeObserver'][_0xfac3c(0x16c)](this[_0xfac3c(0x19f)])),this[_0xfac3c(0x19a)]['onCameraChangedDelegate'][_0xfac3c(0x166)](()=>{const _0x1b5de5=_0xfac3c;this[_0x1b5de5(0x182)]&&(this[_0x1b5de5(0x182)][_0x1b5de5(0x186)](this[_0x1b5de5(0x19a)][_0x1b5de5(0x160)]),this[_0x1b5de5(0x182)][_0x1b5de5(0x19c)]());});}[_0x355a08(0x177)](_0x7b6639,_0xedd537){const _0x1cff40=_0x355a08,_0x1acad0=this[_0x1cff40(0x19f)];this[_0x1cff40(0x16b)]&&(_0x1acad0&&_0x1acad0[_0x1cff40(0x1aa)](this[_0x1cff40(0x16b)][_0x1cff40(0x171)]),this[_0x1cff40(0x16b)][_0x1cff40(0x1a6)]());let _0x45cbc9=_0x1acad0?_0x1acad0['clientWidth']:0x200,_0xac1acb=_0x1acad0?_0x1acad0[_0x1cff40(0x168)]:0x200;switch(_0x7b6639){case exports.RendererType[_0x1cff40(0x175)]:this[_0x1cff40(0x16b)]=new webgpu.WebGPURenderer(_0xedd537);break;case exports.RendererType[_0x1cff40(0x192)]:this[_0x1cff40(0x16b)]=new three.WebGLRenderer(_0xedd537);break;}this['_renderer']['setPixelRatio'](window[_0x1cff40(0x1b6)]),this[_0x1cff40(0x16b)][_0x1cff40(0x1c0)](_0x45cbc9,_0xac1acb),this['_renderer'][_0x1cff40(0x1b1)]['enabled']=!![],this['_renderer'][_0x1cff40(0x1b1)][_0x1cff40(0x17f)]=0x1,this[_0x1cff40(0x16b)][_0x1cff40(0x15b)]=0x0,this['_renderer'][_0x1cff40(0x176)]=0x1,this[_0x1cff40(0x16b)][_0x1cff40(0x19d)](0x0),this['_renderer'][_0x1cff40(0x171)][_0x1cff40(0x174)]['position']=_0x1cff40(0x199),this['_renderer']['domElement'][_0x1cff40(0x174)][_0x1cff40(0x19e)]='0',this[_0x1cff40(0x16b)]['domElement']['style'][_0x1cff40(0x1b0)]='0',this[_0x1cff40(0x16b)][_0x1cff40(0x171)]['style']['zIndex']='20',this[_0x1cff40(0x16b)]['domElement'][_0x1cff40(0x174)][_0x1cff40(0x173)]=_0x1cff40(0x17b),this[_0x1cff40(0x16b)][_0x1cff40(0x171)][_0x1cff40(0x174)][_0x1cff40(0x180)]='none',_0x1acad0&&_0x1acad0[_0x1cff40(0x198)](this[_0x1cff40(0x16b)][_0x1cff40(0x171)]);}[_0x355a08(0x1a1)](){const _0x1a776b=_0x355a08,_0x3273e0=this[_0x1a776b(0x19f)];this[_0x1a776b(0x16d)]&&(_0x3273e0&&_0x3273e0[_0x1a776b(0x1aa)](this[_0x1a776b(0x16d)]['domElement']));let _0x45ca92=_0x3273e0?_0x3273e0[_0x1a776b(0x1bf)]:0x200,_0x546b0e=_0x3273e0?_0x3273e0[_0x1a776b(0x168)]:0x200;this[_0x1a776b(0x16d)]=new Addons_js.CSS2DRenderer(),this[_0x1a776b(0x16d)]['setSize'](_0x45ca92,_0x546b0e),this['labelRenderer']['domElement'][_0x1a776b(0x174)][_0x1a776b(0x180)]='none',this['labelRenderer'][_0x1a776b(0x171)][_0x1a776b(0x174)][_0x1a776b(0x1a3)]=_0x1a776b(0x199),this['labelRenderer'][_0x1a776b(0x171)]['style']['top']='0px',this[_0x1a776b(0x16d)]['domElement'][_0x1a776b(0x165)]=_0x1a776b(0x1ac),this[_0x1a776b(0x16d)][_0x1a776b(0x171)][_0x1a776b(0x174)][_0x1a776b(0x18b)]='30',_0x3273e0&&_0x3273e0[_0x1a776b(0x198)](this[_0x1a776b(0x16d)]['domElement']);}[_0x355a08(0x1b3)](){const _0x29f018=_0x355a08,_0x36e818=this['_outerContainer'];this[_0x29f018(0x1b2)]&&(_0x36e818&&_0x36e818['removeChild'](this[_0x29f018(0x1b2)][_0x29f018(0x171)]));let _0x1962d9=_0x36e818?_0x36e818[_0x29f018(0x1bf)]:0x200,_0x3a5efc=_0x36e818?_0x36e818[_0x29f018(0x168)]:0x200;this[_0x29f018(0x1b2)]=new Addons_js.CSS3DRenderer(),this[_0x29f018(0x1b2)][_0x29f018(0x1c0)](_0x1962d9,_0x3a5efc),this[_0x29f018(0x1b2)][_0x29f018(0x171)][_0x29f018(0x174)][_0x29f018(0x180)]=_0x29f018(0x1ad),this['css3dRenderer'][_0x29f018(0x171)][_0x29f018(0x174)]['position']=_0x29f018(0x199),this['css3dRenderer'][_0x29f018(0x171)]['style'][_0x29f018(0x19e)]=_0x29f018(0x1bb),this[_0x29f018(0x1b2)][_0x29f018(0x171)][_0x29f018(0x174)][_0x29f018(0x1b0)]=_0x29f018(0x1bb),this[_0x29f018(0x1b2)]['domElement'][_0x29f018(0x174)][_0x29f018(0x18b)]='0',this[_0x29f018(0x1b2)][_0x29f018(0x171)]['className']='scene-css3dRenderer',_0x36e818&&_0x36e818['insertBefore'](this[_0x29f018(0x1b2)][_0x29f018(0x171)],_0x36e818['firstChild']);}[_0x355a08(0x189)](){const _0x104417=_0x355a08;if(!this['_outerContainer'])return;let _0x297a43=this[_0x104417(0x19f)][_0x104417(0x15c)]('.scene-uiLayer');!_0x297a43&&(_0x297a43=document[_0x104417(0x1a8)](_0x104417(0x187)),_0x297a43[_0x104417(0x165)]='scene-uiLayer',_0x297a43['id']=_0x104417(0x1b5),_0x297a43[_0x104417(0x174)][_0x104417(0x1a3)]='absolute',_0x297a43[_0x104417(0x174)]['left']='0',_0x297a43['style'][_0x104417(0x1b0)]='0',_0x297a43[_0x104417(0x174)][_0x104417(0x195)]='100%',_0x297a43[_0x104417(0x174)][_0x104417(0x16e)]='100%',_0x297a43[_0x104417(0x174)][_0x104417(0x180)]=_0x104417(0x1ad),_0x297a43[_0x104417(0x174)][_0x104417(0x18b)]='10',this['_outerContainer'][_0x104417(0x198)](_0x297a43),this[_0x104417(0x17e)]=_0x297a43);}[_0x355a08(0x16f)](){}[_0x355a08(0x18c)](_0x1fc5d3,_0x2537eb){const _0x31a4c6=_0x355a08;this['postProcessManager']instanceof WebGLPostProcessManager&&this['postProcessManager'][_0x31a4c6(0x18c)](_0x1fc5d3,_0x2537eb);}[_0x355a08(0x19b)](_0xe42129){const _0x44644f=_0x355a08;!this[_0x44644f(0x182)]&&(this[_0x44644f(0x182)]=this['createPostProcessManager'](_0xe42129)),this[_0x44644f(0x182)][_0x44644f(0x19c)]();}[_0x355a08(0x15e)](_0x1c6b09){const _0x56b958=_0x355a08;return this['renderer']instanceof three.WebGLRenderer?new WebGLPostProcessManager(this[_0x56b958(0x1bd)],this[_0x56b958(0x19a)]['world'][_0x56b958(0x1b4)],this[_0x56b958(0x19a)][_0x56b958(0x160)],_0x1c6b09,()=>this[_0x56b958(0x1ab)]()):new PostProcessManager(this['renderer'],this[_0x56b958(0x19a)][_0x56b958(0x1b7)][_0x56b958(0x1b4)],this[_0x56b958(0x19a)][_0x56b958(0x160)],_0x1c6b09,()=>this['markRenderStateDirty']());}[_0x355a08(0x178)](_0x48dae0){const _0x13d29a=_0x355a08;this[_0x13d29a(0x182)]&&this['postProcessManager'][_0x13d29a(0x15a)](_0x48dae0);}[_0x355a08(0x18e)](_0x3752bd){const _0x12173e=_0x355a08;this[_0x12173e(0x182)]&&this[_0x12173e(0x182)]['addOutlineObject'](_0x3752bd);}[_0x355a08(0x18f)](_0x28d11a){const _0x2cd68d=_0x355a08;this[_0x2cd68d(0x182)]&&this[_0x2cd68d(0x182)][_0x2cd68d(0x18f)](_0x28d11a);}[_0x355a08(0x1af)](_0x1295df){const _0x238437=_0x355a08;this[_0x238437(0x182)]&&this[_0x238437(0x182)][_0x238437(0x1af)](_0x1295df);}[_0x355a08(0x1bc)](){const _0x1b3250=_0x355a08;this['postProcessManager']&&(this['postProcessManager'][_0x1b3250(0x183)](),this[_0x1b3250(0x182)]=null);}[_0x355a08(0x1ae)](){const _0x364e0d=_0x355a08;let _0x184f1a=this['_outerContainer'];if(!_0x184f1a)return;this[_0x364e0d(0x19a)][_0x364e0d(0x1ae)](_0x184f1a['clientWidth'],_0x184f1a[_0x364e0d(0x168)]),this['renderer'][_0x364e0d(0x1c0)](_0x184f1a[_0x364e0d(0x1bf)],_0x184f1a[_0x364e0d(0x168)]);if(this[_0x364e0d(0x16d)])this['labelRenderer']['setSize'](_0x184f1a[_0x364e0d(0x1bf)],_0x184f1a[_0x364e0d(0x168)]);if(this['css3dRenderer'])this['css3dRenderer'][_0x364e0d(0x1c0)](_0x184f1a[_0x364e0d(0x1bf)],_0x184f1a['clientHeight']);this[_0x364e0d(0x182)]&&_0x364e0d(0x17c)in this[_0x364e0d(0x182)]&&this[_0x364e0d(0x182)]['resize'](_0x184f1a[_0x364e0d(0x1bf)],_0x184f1a['clientHeight']),this[_0x364e0d(0x1ab)]();}['markRenderStateDirty'](){const _0x3cdf90=_0x355a08;this[_0x3cdf90(0x1a5)]=!![];}['render'](){const _0x1302a6=_0x355a08;if(!this['isRenderStateDirty'])return;if(this[_0x1302a6(0x182)]&&this['postProcessManager'][_0x1302a6(0x1a2)]());else this[_0x1302a6(0x1bd)][_0x1302a6(0x1a2)](this['app'][_0x1302a6(0x1b7)][_0x1302a6(0x1b4)],this[_0x1302a6(0x19a)][_0x1302a6(0x160)]);this[_0x1302a6(0x185)](),this[_0x1302a6(0x16d)]&&this[_0x1302a6(0x16d)]['render'](this[_0x1302a6(0x19a)][_0x1302a6(0x1b7)][_0x1302a6(0x1b4)],this[_0x1302a6(0x19a)][_0x1302a6(0x160)]),this['css3dRenderer']&&this[_0x1302a6(0x1b2)][_0x1302a6(0x1a2)](this[_0x1302a6(0x19a)][_0x1302a6(0x1b7)][_0x1302a6(0x1b4)],this[_0x1302a6(0x19a)][_0x1302a6(0x160)]),this['isRenderStateDirty']=![];}['onAfterPostProcessRender'](){}async[_0x355a08(0x161)](_0x4286ec=0x400,_0x53e610=0x400){const _0x4eb87e=_0x355a08;try{if(this[_0x4eb87e(0x182)]&&this[_0x4eb87e(0x182)]['render']()){}else await this[_0x4eb87e(0x1bd)][_0x4eb87e(0x1a2)](this[_0x4eb87e(0x19a)][_0x4eb87e(0x1b7)][_0x4eb87e(0x1b4)],this[_0x4eb87e(0x19a)][_0x4eb87e(0x160)]);const _0x5f16a7=this['renderer'][_0x4eb87e(0x171)][_0x4eb87e(0x195)],_0x35f5ef=this['renderer'][_0x4eb87e(0x171)][_0x4eb87e(0x16e)];let _0x22f01b=_0x5f16a7||_0x4286ec,_0x424774=_0x35f5ef||_0x53e610;(_0x22f01b<=0x0||_0x424774<=0x0)&&(_0x22f01b=_0x4286ec,_0x424774=_0x53e610);const _0xf92c99=document['createElement'](_0x4eb87e(0x181));_0xf92c99[_0x4eb87e(0x195)]=_0x4286ec,_0xf92c99[_0x4eb87e(0x16e)]=_0x53e610;const _0x2fb1af=_0xf92c99[_0x4eb87e(0x16a)]('2d');if(!_0x2fb1af)throw Error(_0x4eb87e(0x196));_0x2fb1af[_0x4eb87e(0x159)](this[_0x4eb87e(0x1bd)][_0x4eb87e(0x171)],0x0,0x0,_0x22f01b,_0x424774,0x0,0x0,_0x4286ec,_0x53e610);const _0x27d140=_0xf92c99[_0x4eb87e(0x169)](_0x4eb87e(0x1a4));return _0xf92c99[_0x4eb87e(0x190)](),_0x27d140;}catch(_0x53f2d4){return '';}}[_0x355a08(0x18a)](_0x1da65c){const _0x7cb57d=_0x355a08;if(!this[_0x7cb57d(0x16b)])return;this[_0x7cb57d(0x16b)]['shadowMap'][_0x7cb57d(0x191)]=_0x1da65c;}[_0x355a08(0x158)](_0x380ce0){const _0x45a7bc=_0x355a08;if(!this[_0x45a7bc(0x16b)])return;this[_0x45a7bc(0x16b)][_0x45a7bc(0x1b1)]['type']=_0x380ce0;}[_0x355a08(0x172)](_0x466423){const _0x4221a0=_0x355a08;if(!this[_0x4221a0(0x16b)])return;this[_0x4221a0(0x16b)]['toneMapping']=_0x466423;}[_0x355a08(0x170)](_0x450ec4){const _0x2057b1=_0x355a08;if(!this[_0x2057b1(0x16b)])return;this[_0x2057b1(0x16b)]['toneMappingExposure']=_0x450ec4;}[_0x355a08(0x183)](){const _0x576b29=_0x355a08;this[_0x576b29(0x1bc)](),this[_0x576b29(0x1bd)][_0x576b29(0x15d)](null),this[_0x576b29(0x17a)]&&(this[_0x576b29(0x17a)][_0x576b29(0x18d)](),this[_0x576b29(0x17a)]=null),this[_0x576b29(0x16d)]&&(this[_0x576b29(0x16d)]['domElement'][_0x576b29(0x190)](),this['labelRenderer']=null),this[_0x576b29(0x16b)]&&(this['renderer'][_0x576b29(0x171)][_0x576b29(0x190)](),this[_0x576b29(0x16b)]['dispose'](),this[_0x576b29(0x16b)]=null),this[_0x576b29(0x164)]&&(this[_0x576b29(0x164)][_0x576b29(0x190)](),this[_0x576b29(0x164)]=null),this[_0x576b29(0x19f)]=null,this[_0x576b29(0x1a9)]=null;}}
|
|
87
90
|
|
|
88
|
-
var _0x4a93b6=_0x18b2;(function(_0x5c853c,_0x210e5e){var _0x26ce96=_0x18b2,_0x28084f=_0x5c853c();while(!![]){try{var _0x543792=parseInt(_0x26ce96(0x1f3))/0x1*(parseInt(_0x26ce96(0x1ee))/0x2)+parseInt(_0x26ce96(0x1f7))/0x3*(parseInt(_0x26ce96(0x1ef))/0x4)+-parseInt(_0x26ce96(0x1ec))/0x5*(-parseInt(_0x26ce96(0x1f2))/0x6)+parseInt(_0x26ce96(0x1ea))/0x7+parseInt(_0x26ce96(0x1f6))/0x8+parseInt(_0x26ce96(0x1f8))/0x9*(-parseInt(_0x26ce96(0x1e9))/0xa)+parseInt(_0x26ce96(0x1e8))/0xb*(-parseInt(_0x26ce96(0x1ed))/0xc);if(_0x543792===_0x210e5e)break;else _0x28084f['push'](_0x28084f['shift']());}catch(_0x128ba7){_0x28084f['push'](_0x28084f['shift']());}}}(_0x2861,0x7ab0c));function _0x2861(){var _0x4c1b95=['9gZyJbj','unpossess','stopFocusing','_enabled','inputFilter','1969LDwjpw','3688030rVhUHx','6773788ycoWGP','focusTo','10ZOkRgB','175968cTFRfy','642BiLSbP','815788VfXUoG','tick','camera','2703666HozjtK','2143DClGRb','enabled','destroy','5883544MSILmP','3QpTxEB'];_0x2861=function(){return _0x4c1b95;};return _0x2861();}function _0x18b2(_0x112814,_0x37ef0c){_0x112814=_0x112814-0x1e5;var _0x28618c=_0x2861();var _0x18b244=_0x28618c[_0x112814];return _0x18b244;}class Pawn extends Actor{get['camera'](){var _0x115fe2=_0x18b2;return this['app'][_0x115fe2(0x1f1)];}get[_0x4a93b6(0x1f4)](){var _0x321ccf=_0x4a93b6;return this[_0x321ccf(0x1e6)];}set['enabled'](_0x57e862){var _0x22417d=_0x4a93b6;this[_0x22417d(0x1e6)]=_0x57e862;}constructor(_0x39f3f0){var _0x39fce7=_0x4a93b6;super(_0x39f3f0),this[_0x39fce7(0x1e6)]=![],this['controller']=_0x39f3f0['controller'],this['isTickEnabled']=!![];}[_0x4a93b6(0x1f0)](_0x1b2f44){return;}['possess'](){}[_0x4a93b6(0x1f9)](){}[_0x4a93b6(0x1eb)](_0x2e8b2c,_0x406761,_0x30ce9b,_0x5e31d6,_0x1d1fb1=null,_0xb62ab3=null){}[_0x4a93b6(0x1e5)](){}[_0x4a93b6(0x1f5)](){}}Pawn[_0x4a93b6(0x1e7)]=()=>!![];
|
|
91
|
+
const _0xd2bb29=_0x2ca8;(function(_0x3a5b4e,_0x432fc9){const _0x4f7232=_0x2ca8,_0x5913b3=_0x3a5b4e();while(!![]){try{const _0xc77bbc=parseInt(_0x4f7232(0xf6))/0x1+parseInt(_0x4f7232(0x11a))/0x2*(parseInt(_0x4f7232(0x107))/0x3)+parseInt(_0x4f7232(0x103))/0x4+-parseInt(_0x4f7232(0x145))/0x5+-parseInt(_0x4f7232(0x119))/0x6*(parseInt(_0x4f7232(0x134))/0x7)+-parseInt(_0x4f7232(0x129))/0x8+parseInt(_0x4f7232(0xf9))/0x9;if(_0xc77bbc===_0x432fc9)break;else _0x5913b3['push'](_0x5913b3['shift']());}catch(_0x44bff2){_0x5913b3['push'](_0x5913b3['shift']());}}}(_0x4dcd,0x301fc));function _0x4dcd(){const _0x374169=['min','onHoverBeginDelegate','onRemovedFromWorld','clearComponent','world','_world','getWorldQuaternion','getBoundsTopCenterPosition','getWorldMatrix','broadcast','setQuaternion','_onHoverBeginDelegate','245941VxCXfp','landToGround','detachFromParentComponent','378162EhXhIg','getPosition','_onClickDelegate','localToWorld','getCenter','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','threeObject','destroyChildren','attachComponent','getWorldPosition','1275792wIMAQK','setRotation','removeTickableActor','tick','818697OHZFaj','getScale','addChildActor','_onHoverEndDelegate','onActorHoverBegin','isClickEnabled','setPosition','setScale','worldToLocal','onActorClick','onHoverEndDelegate','length','setLayers','Actor','rootComponent\x20is\x20invalid','setVisible','rootComponent','error','1554240gDslZV','2vmkiZC','getWorldScale','removeChildActor','constructRootComponent','onAddedToWorld','_rootComponent','has','LYObject','getWorldUpDirection','isVisible','_name','getQuaternion','setWorldMatrix','uuid','sub','2290168rdAhUh','_onDoubleClickDelegate','getWorldRightDirection','getChildActorsByIds','KeepRelative','getChildActorById','childActors','getComponents','addChildComponent','getWorldRotation','childrenComponents','7mgpBBY','getWorldForwardDirection','removeChildComponent','destroy','isHoverEnabled','removeFromParent','getComponentById','onClickDelegate','app','name','delete','forEach','userData','onDoubleClickDelegate','push','parentActor','detachComponent','686895oLXrEf','addTickableActor','isTickEnabled','getBoundsCenterPosition','getBounds','children','addComponent','size','getRotation','markRenderStateDirty'];_0x4dcd=function(){return _0x374169;};return _0x4dcd();}function _0x2ca8(_0x3ca6e4,_0x1c1df3){_0x3ca6e4=_0x3ca6e4-0xea;const _0x4dcd29=_0x4dcd();let _0x2ca865=_0x4dcd29[_0x3ca6e4];return _0x2ca865;}class Actor extends BaseObject{get['world'](){const _0x357ae8=_0x2ca8;return this[_0x357ae8(0xef)];}get[_0xd2bb29(0x13d)](){const _0x375fbd=_0xd2bb29;return this[_0x375fbd(0x124)];}set[_0xd2bb29(0x13d)](_0x2b5138){const _0x5c6ccf=_0xd2bb29;this[_0x5c6ccf(0x124)]=_0x2b5138;}get['rootComponent'](){const _0x53b888=_0xd2bb29;if(!this[_0x53b888(0x11f)])throw Error(_0x53b888(0x115));return this[_0x53b888(0x11f)];}set[_0xd2bb29(0x117)](_0x39bdda){const _0x399714=_0xd2bb29;_0x39bdda[_0x399714(0xf8)](),_0x39bdda[_0x399714(0x143)]=this;if(this['_rootComponent']){let _0x5998fc=this[_0x399714(0x117)]['childrenComponents'];for(let _0x417ab6=0x0;_0x417ab6<_0x5998fc['length'];++_0x417ab6){_0x39bdda[_0x399714(0x131)](_0x5998fc[_0x417ab6]);}this[_0x399714(0x117)][_0x399714(0x137)]();}this[_0x399714(0x11f)]=_0x39bdda;}get[_0xd2bb29(0x133)](){const _0xc9953d=_0xd2bb29;return this[_0xc9953d(0x117)][_0xc9953d(0x133)];}get[_0xd2bb29(0x12f)](){const _0x2fde7f=_0xd2bb29;var _0x750cd4;let _0x1d43b8=[];return (_0x750cd4=this[_0x2fde7f(0x117)]['threeObject'])===null||_0x750cd4===void 0?void 0:_0x750cd4[_0x2fde7f(0x14a)][_0x2fde7f(0x13f)](_0x5859f4=>{const _0x23609c=_0x2fde7f;var _0xcdc48c;let _0x4991fd=(_0xcdc48c=_0x5859f4[_0x23609c(0x140)][_0x23609c(0x121)])===null||_0xcdc48c===void 0?void 0:_0xcdc48c[_0x23609c(0x143)];_0x4991fd!==this&&_0x4991fd instanceof Actor&&_0x1d43b8[_0x23609c(0x142)](_0x4991fd);}),_0x1d43b8;}get[_0xd2bb29(0x143)](){const _0x539ae8=_0xd2bb29;var _0x1d8b9f,_0x1d6304,_0x401187;let _0x59d164=(_0x401187=(_0x1d6304=(_0x1d8b9f=this[_0x539ae8(0x117)][_0x539ae8(0xff)])===null||_0x1d8b9f===void 0?void 0:_0x1d8b9f['parent'])===null||_0x1d6304===void 0?void 0:_0x1d6304['userData'][_0x539ae8(0x121)])===null||_0x401187===void 0?void 0:_0x401187[_0x539ae8(0x143)];return _0x59d164===this?null:_0x59d164;}get['isVisible'](){const _0x2b226a=_0xd2bb29;return this[_0x2b226a(0x117)]?this['rootComponent'][_0x2b226a(0x123)]:![];}get[_0xd2bb29(0x147)](){const _0x5d9e7e=_0xd2bb29;return super[_0x5d9e7e(0x147)];}set[_0xd2bb29(0x147)](_0x3aac4b){const _0x17029c=_0xd2bb29;super[_0x17029c(0x147)]=_0x3aac4b,this[_0x17029c(0x147)]?this[_0x17029c(0x13c)]['world'][_0x17029c(0x146)](this):this['app'][_0x17029c(0xee)][_0x17029c(0x105)](this);}get[_0xd2bb29(0xeb)](){return this['_onHoverBeginDelegate'];}get[_0xd2bb29(0x111)](){return this['_onHoverEndDelegate'];}get[_0xd2bb29(0x13b)](){return this['_onClickDelegate'];}get[_0xd2bb29(0x141)](){const _0x22bf46=_0xd2bb29;return this[_0x22bf46(0x12a)];}constructor(_0x416b1f,_0x41e7a3){const _0x13a637=_0xd2bb29;super(_0x41e7a3),this['_name']=_0x13a637(0x114),this[_0x13a637(0x11f)]=null,this['_world']=null,this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x13a637(0xfb)]=new Delegate(),this[_0x13a637(0x12a)]=new Delegate(),this[_0x13a637(0x13c)]=_0x416b1f,this[_0x13a637(0x117)]=this[_0x13a637(0x11d)](),this[_0x13a637(0x117)]['parentActor']=this;}[_0xd2bb29(0x11d)](){const _0x1ecbf1=_0xd2bb29;return new SceneComponent(this[_0x1ecbf1(0x13c)]);}[_0xd2bb29(0x148)](_0x4024df=!![]){const _0x1c7b88=_0xd2bb29;let _0x51f5fd=new webgpu.Vector3();return this['getBounds']()[_0x1c7b88(0xfd)](_0x51f5fd),!_0x4024df?_0x51f5fd[_0x1c7b88(0x128)](this[_0x1c7b88(0xfa)]()):_0x51f5fd;}[_0xd2bb29(0x12e)](_0x430035,_0x3160c8=!![]){const _0x55dac8=_0xd2bb29,_0x1a2e1=this[_0x55dac8(0x12f)];for(const _0x5849a4 of _0x1a2e1){if(_0x5849a4[_0x55dac8(0x127)]===_0x430035)return _0x5849a4;}if(_0x3160c8)for(const _0x212fb2 of _0x1a2e1){const _0x52d76f=_0x212fb2[_0x55dac8(0x12e)](_0x430035,!![]);if(_0x52d76f)return _0x52d76f;}return null;}[_0xd2bb29(0x12c)](_0x3300c3,_0x535808=!![]){const _0x278394=_0xd2bb29,_0x2ab190=[],_0x13ab63=new Set(_0x3300c3),_0x598fbf=this[_0x278394(0x12f)];for(const _0x5535e9 of _0x598fbf){_0x13ab63[_0x278394(0x120)](_0x5535e9[_0x278394(0x127)])&&(_0x2ab190[_0x278394(0x142)](_0x5535e9),_0x13ab63[_0x278394(0x13e)](_0x5535e9[_0x278394(0x127)]));}if(_0x535808&&_0x13ab63[_0x278394(0x14c)]>0x0)for(const _0x1abb0c of _0x598fbf){const _0x42e820=_0x1abb0c[_0x278394(0x12c)]([..._0x13ab63],!![]);for(const _0x3f7493 of _0x42e820){_0x2ab190[_0x278394(0x142)](_0x3f7493),_0x13ab63[_0x278394(0x13e)](_0x3f7493['uuid']);}if(_0x13ab63[_0x278394(0x14c)]===0x0)break;}return _0x2ab190;}[_0xd2bb29(0x13a)](_0x5a74fc){const _0x1458b3=_0xd2bb29;return this['rootComponent'][_0x1458b3(0x13a)](_0x5a74fc);}[_0xd2bb29(0xf1)](_0x21d146=!![]){const _0xf1f7ff=_0xd2bb29;let _0x519182=new webgpu.Vector3(),_0x5899f0=this['rootComponent']['getBounds']();return _0x5899f0[_0xf1f7ff(0xfd)](_0x519182),_0x519182['y']=_0x5899f0['max']['y'],!_0x21d146?_0x519182['sub'](this[_0xf1f7ff(0xfa)]()):_0x519182;}['getBoundsBottomCenterPosition'](_0x591a1d=!![]){const _0x34178=_0xd2bb29;let _0x1ee9e9=new webgpu.Vector3(),_0x2716de=this[_0x34178(0x149)]();return _0x2716de[_0x34178(0xfd)](_0x1ee9e9),_0x1ee9e9['y']=_0x2716de[_0x34178(0xea)]['y'],!_0x591a1d?_0x1ee9e9[_0x34178(0x128)](this[_0x34178(0xfa)]()):_0x1ee9e9;}[_0xd2bb29(0x149)](){const _0xc79b64=_0xd2bb29;return this[_0xc79b64(0x117)][_0xc79b64(0x149)]();}[_0xd2bb29(0x137)](){const _0x482ed9=_0xd2bb29;let _0x3929df=this['childActors'];_0x3929df[_0x482ed9(0x13f)](_0x3706eb=>{_0x3706eb['destroy']();}),this[_0x482ed9(0x117)][_0x482ed9(0x137)]();}[_0xd2bb29(0x116)](_0x418925){const _0x1ac39e=_0xd2bb29;this[_0x1ac39e(0x117)][_0x1ac39e(0x116)](_0x418925);}[_0xd2bb29(0x113)](_0xd0640f,_0x52b936=!![]){const _0x46c8ff=_0xd2bb29;this['rootComponent'][_0x46c8ff(0x113)](_0xd0640f),_0x52b936&&this[_0x46c8ff(0x12f)][_0x46c8ff(0x13f)](_0x4c2b36=>{_0x4c2b36['setLayers'](_0xd0640f,_0x52b936);});}[_0xd2bb29(0x106)](_0x59fe48){const _0xe4d833=_0xd2bb29;if(!this[_0xe4d833(0x147)])return;super[_0xe4d833(0x106)](_0x59fe48),this['rootComponent'][_0xe4d833(0x106)](_0x59fe48);}[_0xd2bb29(0xfa)](){const _0x210ef5=_0xd2bb29;return this[_0x210ef5(0x117)][_0x210ef5(0xfa)]();}[_0xd2bb29(0x10d)](..._0x2fd19c){const _0x439f6c=_0xd2bb29;_0x2fd19c[_0x439f6c(0x112)]===0x1?this[_0x439f6c(0x117)][_0x439f6c(0x10d)](_0x2fd19c[0x0]):this[_0x439f6c(0x117)][_0x439f6c(0x10d)](_0x2fd19c[0x0],_0x2fd19c[0x1],_0x2fd19c[0x2]);}[_0xd2bb29(0x14d)](){const _0x540b69=_0xd2bb29;return this[_0x540b69(0x117)]['getRotation']();}[_0xd2bb29(0x104)](..._0x16196d){const _0xc1428a=_0xd2bb29;_0x16196d['length']===0x1?this[_0xc1428a(0x117)]['setRotation'](_0x16196d[0x0]):this['rootComponent'][_0xc1428a(0x104)](_0x16196d[0x0],_0x16196d[0x1],_0x16196d[0x2]);}[_0xd2bb29(0x125)](){const _0x289dfa=_0xd2bb29;return this['rootComponent'][_0x289dfa(0x125)]();}['setQuaternion'](..._0x191095){const _0x4fd1ed=_0xd2bb29;_0x191095[_0x4fd1ed(0x112)]===0x1?this[_0x4fd1ed(0x117)][_0x4fd1ed(0xf4)](_0x191095[0x0]):this[_0x4fd1ed(0x117)][_0x4fd1ed(0xf4)](_0x191095[0x0],_0x191095[0x1],_0x191095[0x2],_0x191095[0x3]);}[_0xd2bb29(0x108)](){const _0x4fb315=_0xd2bb29;return this['rootComponent'][_0x4fb315(0x108)]();}[_0xd2bb29(0x10e)](..._0x171e69){const _0x315e84=_0xd2bb29;_0x171e69[_0x315e84(0x112)]===0x1?this[_0x315e84(0x117)][_0x315e84(0x10e)](_0x171e69[0x0]):this[_0x315e84(0x117)][_0x315e84(0x10e)](_0x171e69[0x0],_0x171e69[0x1],_0x171e69[0x2]);}['getWorldMatrix'](){const _0x1712c9=_0xd2bb29;return this[_0x1712c9(0x117)]['getWorldMatrix']();}[_0xd2bb29(0x126)](_0x3ba9e4){const _0x58a429=_0xd2bb29;this[_0x58a429(0x117)]['setWorldMatrix'](_0x3ba9e4);}[_0xd2bb29(0x102)](){const _0x249ac5=_0xd2bb29;return this['rootComponent'][_0x249ac5(0x102)]();}[_0xd2bb29(0x132)](){const _0xe94d7=_0xd2bb29;return this[_0xe94d7(0x117)][_0xe94d7(0x132)]();}[_0xd2bb29(0xf0)](){const _0x10cc70=_0xd2bb29;return this[_0x10cc70(0x117)][_0x10cc70(0xf0)]();}['getWorldScale'](){const _0x1e045c=_0xd2bb29;return this[_0x1e045c(0x117)][_0x1e045c(0x11b)]();}[_0xd2bb29(0x135)](){const _0x1b3509=_0xd2bb29;return this[_0x1b3509(0x117)][_0x1b3509(0x135)]();}[_0xd2bb29(0x122)](){const _0xef099e=_0xd2bb29;return this['rootComponent'][_0xef099e(0x122)]();}[_0xd2bb29(0x12b)](){const _0x3f6662=_0xd2bb29;return this[_0x3f6662(0x117)]['getWorldRightDirection']();}['addLocalOffset'](_0x4bd168,_0x1de2a8){const _0x284fe3=_0xd2bb29;let _0x3a116c=this[_0x284fe3(0xfa)]();this[_0x284fe3(0x10d)](_0x3a116c['x']+_0x4bd168['x']*_0x1de2a8,_0x3a116c['y']+_0x4bd168['y']*_0x1de2a8,_0x3a116c['z']+_0x4bd168['z']*_0x1de2a8);}[_0xd2bb29(0x10f)](_0x514999){const _0x498c5a=_0xd2bb29;return this[_0x498c5a(0x117)][_0x498c5a(0x10f)](_0x514999);}[_0xd2bb29(0xfc)](_0x3400e2){const _0x4e310f=_0xd2bb29;return this[_0x4e310f(0x117)]['localToWorld'](_0x3400e2);}[_0xd2bb29(0x130)](){const _0x2b60bf=_0xd2bb29;return this[_0x2b60bf(0x117)]['childrenComponents'];}[_0xd2bb29(0x14b)](_0x7dbb1d,_0x1f05b6=exports.AttachmentRules[_0xd2bb29(0x12d)]){const _0x4665bf=_0xd2bb29;this[_0x4665bf(0x117)][_0x4665bf(0x131)](_0x7dbb1d,_0x1f05b6),this[_0x4665bf(0xef)]&&_0x7dbb1d[_0x4665bf(0x11e)](this['_world']);}['removeComponent'](_0x244c3c){const _0x512336=_0xd2bb29;if(_0x244c3c===this[_0x512336(0x11f)])return;this['rootComponent'][_0x512336(0x136)](_0x244c3c);}[_0xd2bb29(0xed)](){const _0x2e77c1=_0xd2bb29;this[_0x2e77c1(0x117)][_0x2e77c1(0x100)]();}[_0xd2bb29(0x109)](_0x10eb54,_0x4b71bc=exports.AttachmentRules['KeepWorld']){const _0x4abc37=_0xd2bb29;if(!_0x10eb54['rootComponent']){console[_0x4abc37(0x118)](_0x4abc37(0xfe));return;}if(_0x10eb54[_0x4abc37(0x143)]===this)return;_0x4b71bc===exports.AttachmentRules[_0x4abc37(0x12d)]&&this['rootComponent'][_0x4abc37(0x101)](_0x10eb54[_0x4abc37(0x117)]);if(_0x4b71bc===exports.AttachmentRules['KeepWorld']){let _0x16c29a=_0x10eb54[_0x4abc37(0xf2)]();this[_0x4abc37(0x117)][_0x4abc37(0x101)](_0x10eb54[_0x4abc37(0x117)]),_0x10eb54[_0x4abc37(0x126)](_0x16c29a);}this[_0x4abc37(0xef)]&&this[_0x4abc37(0xef)]['viewport'][_0x4abc37(0x14e)]();}[_0xd2bb29(0x11c)](_0x511a7c){const _0x3d45ff=_0xd2bb29;let _0x5bc7a5=_0x511a7c[_0x3d45ff(0xf2)]();this[_0x3d45ff(0x117)][_0x3d45ff(0x144)](_0x511a7c[_0x3d45ff(0x117)]),_0x511a7c[_0x3d45ff(0x126)](_0x5bc7a5);}[_0xd2bb29(0x139)](){const _0x189cc9=_0xd2bb29;this[_0x189cc9(0x143)]&&this[_0x189cc9(0x143)][_0x189cc9(0x11c)](this);}[_0xd2bb29(0x11e)](_0x544239){const _0x2605fc=_0xd2bb29;this['_world']=_0x544239,this[_0x2605fc(0x117)]['onAddedToWorld'](this[_0x2605fc(0xef)]),this[_0x2605fc(0x12f)]['forEach'](_0x2a02c8=>{const _0x17a36f=_0x2605fc;_0x2a02c8[_0x17a36f(0x11e)](_0x544239);});}[_0xd2bb29(0xec)](){const _0x1778eb=_0xd2bb29;this[_0x1778eb(0xef)]=null;}get['isHoverEnabled'](){const _0x3d21b9=_0xd2bb29;return this[_0x3d21b9(0x117)][_0x3d21b9(0x138)];}set[_0xd2bb29(0x138)](_0x409856){const _0x3b2c40=_0xd2bb29;this['rootComponent'][_0x3b2c40(0x138)]=_0x409856;}get[_0xd2bb29(0x10c)](){return this['rootComponent']['isClickEnabled'];}set[_0xd2bb29(0x10c)](_0x56dd93){const _0x58b639=_0xd2bb29;this['rootComponent'][_0x58b639(0x10c)]=_0x56dd93;}[_0xd2bb29(0x10b)](_0x5b5d03){const _0x170b9d=_0xd2bb29;this[_0x170b9d(0xf5)][_0x170b9d(0xf3)](_0x5b5d03);}['onActorHoverEnd'](_0x4a51a5){const _0x342bea=_0xd2bb29;this[_0x342bea(0x10a)][_0x342bea(0xf3)](_0x4a51a5);}[_0xd2bb29(0x110)](_0x2fe0a2){const _0x1b3224=_0xd2bb29;this['_onClickDelegate'][_0x1b3224(0xf3)](_0x2fe0a2);}['onActorDoubleClick'](_0x4d3a4f){const _0x2b5c5e=_0xd2bb29;this['_onDoubleClickDelegate'][_0x2b5c5e(0xf3)](_0x4d3a4f);}[_0xd2bb29(0xf7)](){}}
|
|
89
92
|
|
|
90
|
-
function _0xfff3(_0x413e54,_0x5217b6){_0x413e54=_0x413e54-0x19c;const _0x1b1622=_0x1b16();let _0xfff335=_0x1b1622[_0x413e54];return _0xfff335;}const _0x213cf9=_0xfff3;(function(_0x4190ff,_0x231219){const _0x54e68f=_0xfff3,_0xd539d1=_0x4190ff();while(!![]){try{const _0x518624=parseInt(_0x54e68f(0x1a8))/0x1+parseInt(_0x54e68f(0x1f8))/0x2+-parseInt(_0x54e68f(0x19e))/0x3+parseInt(_0x54e68f(0x1bb))/0x4+parseInt(_0x54e68f(0x1b7))/0x5*(-parseInt(_0x54e68f(0x1a2))/0x6)+-parseInt(_0x54e68f(0x19d))/0x7*(-parseInt(_0x54e68f(0x1b0))/0x8)+parseInt(_0x54e68f(0x1c8))/0x9;if(_0x518624===_0x231219)break;else _0xd539d1['push'](_0xd539d1['shift']());}catch(_0x2dbdb3){_0xd539d1['push'](_0xd539d1['shift']());}}}(_0x1b16,0x48870));class Orbital extends Pawn{constructor(_0x585d21){const _0x45036d=_0xfff3;super(_0x585d21),this['distance']=0x5,this[_0x45036d(0x1b8)]=0.1,this[_0x45036d(0x1cd)]=0xf4240,this[_0x45036d(0x1ee)]=0x1,this[_0x45036d(0x1c0)]=0x1,this[_0x45036d(0x1cf)]=0x0,this[_0x45036d(0x1ef)]=Math['PI']*0.5,this['minAzimuthAngle']=-Infinity,this['maxAzimuthAngle']=Infinity,this['enableDamping']=!![],this[_0x45036d(0x1bc)]=0xa,this[_0x45036d(0x1eb)]=![],this[_0x45036d(0x1b6)]=new webgpu.Vector2(),this[_0x45036d(0x1df)]=new webgpu.Vector3(),this[_0x45036d(0x1a7)]=new webgpu.Quaternion(),this['_targetDistance']=0x5,this[_0x45036d(0x1cc)]=null,this[_0x45036d(0x1f3)]=_0x525132=>{const _0x323268=_0x45036d;if(!Pawn[_0x323268(0x1aa)]())return;_0x525132['preventDefault']();},this['onPointerDown']=_0x31dbb6=>{const _0x32a2f1=_0x45036d;if(!this['enabled']||!Pawn[_0x32a2f1(0x1aa)]())return;if(_0x31dbb6['button']===0x0||_0x31dbb6[_0x32a2f1(0x1a0)]===0x2){this[_0x32a2f1(0x1eb)]=!![],this[_0x32a2f1(0x1b6)][_0x32a2f1(0x1be)](_0x31dbb6['clientX'],_0x31dbb6['clientY']),this[_0x32a2f1(0x1ea)](!![]);const _0x32205b=this['app'][_0x32a2f1(0x1e7)][_0x32a2f1(0x1b2)];_0x32205b&&typeof _0x32205b[_0x32a2f1(0x1f7)]===_0x32a2f1(0x1e1)&&_0x32205b['setPointerCapture'](_0x31dbb6[_0x32a2f1(0x1f2)]);}},this[_0x45036d(0x1dd)]=_0x41fd1e=>{const _0x168475=_0x45036d;if(!this[_0x168475(0x1ae)]||!this[_0x168475(0x1eb)]||!Pawn[_0x168475(0x1aa)]())return;if(_0x41fd1e[_0x168475(0x1af)]===0x0){this[_0x168475(0x1eb)]=![],this[_0x168475(0x1ea)](![]);return;}const _0x5efe6d=_0x41fd1e[_0x168475(0x1ad)]-this[_0x168475(0x1b6)]['x'],_0x346766=_0x41fd1e['clientY']-this[_0x168475(0x1b6)]['y'];this['_lastPointerPosition'][_0x168475(0x1be)](_0x41fd1e[_0x168475(0x1ad)],_0x41fd1e['clientY']);const _0x24c34b=this[_0x168475(0x1ab)][_0x168475(0x1e7)]['canvas'];if(!_0x24c34b)return;if(_0x41fd1e[_0x168475(0x1af)]===0x1){const _0x117099=this['rotateSpeed']*0x2*Math['PI'],_0x382b93=new webgpu.Euler(0x0,0x0,0x0,_0x168475(0x1cb))[_0x168475(0x1b1)](this[_0x168475(0x1a7)]);_0x382b93['y']-=_0x5efe6d/_0x24c34b[_0x168475(0x1a9)]*_0x117099,_0x382b93['x']-=_0x346766/_0x24c34b[_0x168475(0x1a9)]*_0x117099;const _0x333011=Math[_0x168475(0x1ca)](this[_0x168475(0x1cf)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x39e225=Math[_0x168475(0x1b5)](this[_0x168475(0x1ef)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x382b93['x']=webgpu.MathUtils[_0x168475(0x1e5)](_0x382b93['x'],_0x333011,_0x39e225),isFinite(this[_0x168475(0x1dc)])&&isFinite(this[_0x168475(0x1f6)])&&(_0x382b93['y']=webgpu.MathUtils[_0x168475(0x1e5)](_0x382b93['y'],this[_0x168475(0x1dc)],this['maxAzimuthAngle'])),_0x382b93['z']=0x0,this[_0x168475(0x1a7)][_0x168475(0x1ba)](_0x382b93),!this['enableDamping']&&this['setQuaternion'](this['_targetQuaternion']);}else {if(_0x41fd1e['buttons']===0x2){const _0x140e69=this[_0x168475(0x1e0)]*0.002,_0x25ba3d=new webgpu.Vector3(0x1,0x0,0x0)['applyQuaternion'](this[_0x168475(0x1a7)])['normalize'](),_0x2b4ab7=new webgpu.Vector3(0x0,0x1,0x0)[_0x168475(0x1c9)](this[_0x168475(0x1a7)])['normalize']();this[_0x168475(0x1df)][_0x168475(0x1d5)](_0x25ba3d,-_0x5efe6d*_0x140e69),this[_0x168475(0x1df)][_0x168475(0x1d5)](_0x2b4ab7,_0x346766*_0x140e69),!this[_0x168475(0x1c6)]&&this[_0x168475(0x1c4)](this[_0x168475(0x1df)]);}}},this['onPointerUp']=_0x45b8f4=>{const _0x1a721c=_0x45036d;var _0x35782e;this[_0x1a721c(0x1eb)]=![],this['setCameraDraggingState'](![]);const _0x1a4ee5=this[_0x1a721c(0x1ab)]['viewport']['canvas'];_0x1a4ee5&&typeof _0x1a4ee5['releasePointerCapture']===_0x1a721c(0x1e1)&&((_0x35782e=_0x1a4ee5[_0x1a721c(0x1a4)])===null||_0x35782e===void 0?void 0:_0x35782e[_0x1a721c(0x1d7)](_0x1a4ee5,_0x45b8f4[_0x1a721c(0x1f2)]))&&_0x1a4ee5[_0x1a721c(0x1a6)](_0x45b8f4[_0x1a721c(0x1f2)]);},this[_0x45036d(0x1e8)]=_0x3247c4=>{const _0x4bb39a=_0x45036d;if(!this[_0x4bb39a(0x1ae)]||!Pawn['inputFilter']())return;const _0x4ac196=0.95;_0x3247c4['deltaY']>0x0?this[_0x4bb39a(0x1e0)]/=_0x4ac196:this['_targetDistance']*=_0x4ac196,this[_0x4bb39a(0x1e0)]=webgpu.MathUtils[_0x4bb39a(0x1e5)](this[_0x4bb39a(0x1e0)],this[_0x4bb39a(0x1b8)],this[_0x4bb39a(0x1cd)]),!this[_0x4bb39a(0x1c6)]&&(this[_0x4bb39a(0x1da)]=this[_0x4bb39a(0x1e0)]);};}[_0x213cf9(0x1d2)](){const _0xdf779=_0x213cf9;super['possess']();this[_0xdf779(0x1a3)]&&this[_0xdf779(0x1a3)]['threeObject']&&(this[_0xdf779(0x1a3)][_0xdf779(0x1e2)][_0xdf779(0x1e9)]['order']='YXZ');this[_0xdf779(0x1df)][_0xdf779(0x1c5)](this['getPosition']());const _0x45f176=this[_0xdf779(0x1d4)](),_0x3afe65=new webgpu.Euler(0x0,0x0,0x0,'YXZ')[_0xdf779(0x1b1)](_0x45f176);Math[_0xdf779(0x1de)](_0x3afe65['z'])>0.00001?(_0x3afe65['z']=0x0,this['_targetQuaternion'][_0xdf779(0x1ba)](_0x3afe65),this[_0xdf779(0x1ec)](this[_0xdf779(0x1a7)])):this[_0xdf779(0x1a7)][_0xdf779(0x1c5)](_0x45f176);this[_0xdf779(0x1e0)]=this['distance'];const _0x2b6d0d=this[_0xdf779(0x1ab)][_0xdf779(0x1f5)];_0x2b6d0d&&(_0x2b6d0d[_0xdf779(0x19c)][_0xdf779(0x1bd)](this['onPointerDown']),_0x2b6d0d[_0xdf779(0x1d9)]['add'](this[_0xdf779(0x1dd)]),_0x2b6d0d[_0xdf779(0x1b3)][_0xdf779(0x1bd)](this[_0xdf779(0x1d6)]),_0x2b6d0d[_0xdf779(0x1f1)][_0xdf779(0x1bd)](this[_0xdf779(0x1d6)]),_0x2b6d0d[_0xdf779(0x1c7)][_0xdf779(0x1bd)](this[_0xdf779(0x1e8)]),_0x2b6d0d[_0xdf779(0x1db)][_0xdf779(0x1bd)](this[_0xdf779(0x1f3)])),this[_0xdf779(0x1d8)]();}[_0x213cf9(0x1d0)](){const _0x5c6920=_0x213cf9,_0x379c89=this['getPosition'](),_0x2e8576=this[_0x5c6920(0x1d4)](),_0x1e53b2=new webgpu.Vector3(0x0,0x0,0x1)[_0x5c6920(0x1c9)](_0x2e8576)[_0x5c6920(0x19f)](this[_0x5c6920(0x1da)]),_0x5c1777=_0x379c89[_0x5c6920(0x1c1)]()[_0x5c6920(0x1bd)](_0x1e53b2),_0x364b91=new webgpu.Matrix4();_0x364b91[_0x5c6920(0x1c3)](_0x5c1777,_0x379c89,this['camera']['up']);const _0x2d3918=new webgpu.Quaternion()['setFromRotationMatrix'](_0x364b91);return {'position':_0x5c1777,'quaternion':_0x2d3918};}[_0x213cf9(0x1d8)](){const _0x500e4a=_0x213cf9;if(!this[_0x500e4a(0x1ae)]||!this[_0x500e4a(0x1f0)])return;const _0x6b4b7e=this[_0x500e4a(0x1f4)](),_0x4f4781=this[_0x500e4a(0x1d4)](),_0x3f2f89=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x4f4781)[_0x500e4a(0x19f)](this[_0x500e4a(0x1da)]);this['camera']['position'][_0x500e4a(0x1c5)](_0x6b4b7e)[_0x500e4a(0x1bd)](_0x3f2f89),this[_0x500e4a(0x1f0)][_0x500e4a(0x1c3)](_0x6b4b7e);}[_0x213cf9(0x1ac)](){const _0x490341=_0x213cf9;super[_0x490341(0x1ac)]();const _0x2706c4=this['app'][_0x490341(0x1f5)];_0x2706c4&&(_0x2706c4[_0x490341(0x19c)][_0x490341(0x1ed)](this['onPointerDown']),_0x2706c4[_0x490341(0x1d9)][_0x490341(0x1ed)](this['onPointerMove']),_0x2706c4['onPointerUpDelegate'][_0x490341(0x1ed)](this[_0x490341(0x1d6)]),_0x2706c4[_0x490341(0x1f1)][_0x490341(0x1ed)](this[_0x490341(0x1d6)]),_0x2706c4[_0x490341(0x1c7)][_0x490341(0x1ed)](this[_0x490341(0x1e8)]),_0x2706c4[_0x490341(0x1db)][_0x490341(0x1ed)](this[_0x490341(0x1f3)])),this['_isDragging']=![],this[_0x490341(0x1ea)](![]),this[_0x490341(0x1cc)]&&(this[_0x490341(0x1cc)]['kill'](),this[_0x490341(0x1cc)]=null);}[_0x213cf9(0x1ea)](_0x55c738){const _0x54c1c5=_0x213cf9,_0x49aed5=this[_0x54c1c5(0x1ab)][_0x54c1c5(0x1e7)][_0x54c1c5(0x1d3)];if(!_0x49aed5)return;_0x55c738?_0x49aed5[_0x54c1c5(0x1a5)][_0x54c1c5(0x1e3)]='1':delete _0x49aed5['dataset'][_0x54c1c5(0x1e3)];}['tick'](_0x9445bb){const _0x803757=_0x213cf9;if(this['enableDamping']){const _0x4f9916=Math[_0x803757(0x1b5)](_0x9445bb,0.1),_0x3319f8=0x1-Math[_0x803757(0x1e4)](-this[_0x803757(0x1bc)]*_0x4f9916);this[_0x803757(0x1da)]=webgpu.MathUtils[_0x803757(0x1b9)](this['distance'],this['_targetDistance'],_0x3319f8);const _0x5b2b01=this[_0x803757(0x1f4)]();_0x5b2b01[_0x803757(0x1b9)](this['_targetPosition'],_0x3319f8),super[_0x803757(0x1c4)](_0x5b2b01);const _0x33203e=this['getQuaternion']();_0x33203e[_0x803757(0x1d1)](this[_0x803757(0x1a7)],_0x3319f8),super[_0x803757(0x1ec)](_0x33203e);}this[_0x803757(0x1d8)]();}['setPosition'](..._0x3bb012){const _0x51e1de=_0x213cf9;super[_0x51e1de(0x1c4)](..._0x3bb012),this['_targetPosition'][_0x51e1de(0x1c5)](this[_0x51e1de(0x1f4)]());}[_0x213cf9(0x1e6)](..._0x1f9108){const _0x31cbdb=_0x213cf9;super[_0x31cbdb(0x1e6)](..._0x1f9108),this[_0x31cbdb(0x1a7)][_0x31cbdb(0x1c5)](this[_0x31cbdb(0x1d4)]());}[_0x213cf9(0x1ec)](..._0x1a3bd9){const _0x343127=_0x213cf9;super[_0x343127(0x1ec)](..._0x1a3bd9),this['_targetQuaternion'][_0x343127(0x1c5)](this['getQuaternion']());}[_0x213cf9(0x1c2)](_0xe5b757,_0x183d1d,_0x5c0b7e,_0x410733,_0xd6a37=null,_0x4d78a3=null){const _0x1ddf34=_0x213cf9;this[_0x1ddf34(0x1cc)]&&this['_focusTween']['kill']();const _0x12e4b3=this[_0x1ddf34(0x1f4)](),_0x38ff84=this[_0x1ddf34(0x1d4)](),_0x5c11fb=this['distance'];let _0xa856f1;_0x183d1d instanceof webgpu.Euler?_0xa856f1=new webgpu.Quaternion()[_0x1ddf34(0x1ba)](_0x183d1d):_0xa856f1=_0x183d1d[_0x1ddf34(0x1c1)]();const _0x3a3a4c=new webgpu.Euler(0x0,0x0,0x0,_0x1ddf34(0x1cb))[_0x1ddf34(0x1b1)](_0xa856f1);Math[_0x1ddf34(0x1de)](_0x3a3a4c['z'])>0.00001&&(_0x3a3a4c['z']=0x0,_0xa856f1['setFromEuler'](_0x3a3a4c));const _0x41b9f7={'alpha':0x0};this[_0x1ddf34(0x1cc)]=gsap.gsap['to'](_0x41b9f7,{'alpha':0x1,'duration':_0x410733,'onUpdate':()=>{const _0x49dc47=_0x1ddf34,_0x537437=_0x41b9f7[_0x49dc47(0x1ce)],_0x5e36c4=new webgpu.Vector3()[_0x49dc47(0x1a1)](_0x12e4b3,_0xe5b757,_0x537437);this[_0x49dc47(0x1c4)](_0x5e36c4),this[_0x49dc47(0x1df)][_0x49dc47(0x1c5)](_0x5e36c4);const _0x3309ab=_0x38ff84[_0x49dc47(0x1c1)]()['slerp'](_0xa856f1,_0x537437);this['setQuaternion'](_0x3309ab),this[_0x49dc47(0x1a7)][_0x49dc47(0x1c5)](_0x3309ab),this[_0x49dc47(0x1da)]=webgpu.MathUtils[_0x49dc47(0x1b9)](_0x5c11fb,_0x5c0b7e,_0x537437),this['_targetDistance']=this['distance'];if(_0xd6a37)_0xd6a37();},'onComplete':()=>{const _0x5de96a=_0x1ddf34;this[_0x5de96a(0x1cc)]=null;if(_0x4d78a3)_0x4d78a3();}});}[_0x213cf9(0x1bf)](){const _0x5eaa63=_0x213cf9;this[_0x5eaa63(0x1cc)]&&(this[_0x5eaa63(0x1cc)][_0x5eaa63(0x1b4)](),this[_0x5eaa63(0x1cc)]=null);}}function _0x1b16(){const _0x15925e=['pointerId','onContextMenu','getPosition','controller','maxAzimuthAngle','setPointerCapture','206082PmkjVQ','onPointerDownDelegate','23163yfGqYv','375930BKnaEf','multiplyScalar','button','lerpVectors','9588wKmbAa','rootComponent','hasPointerCapture','dataset','releasePointerCapture','_targetQuaternion','19486yPPNrt','clientHeight','inputFilter','app','unpossess','clientX','enabled','buttons','984wosdot','setFromQuaternion','canvas','onPointerUpDelegate','kill','min','_lastPointerPosition','1335mOepvx','minDistance','lerp','setFromEuler','1221804WhglDD','dampingFactor','add','set','stopFocusing','zoomSpeed','clone','focusTo','lookAt','setPosition','copy','enableDamping','onWheelDelegate','126567IwIiqH','applyQuaternion','max','YXZ','_focusTween','maxDistance','alpha','minPolarAngle','getTargetCameraState','slerp','possess','outer','getQuaternion','addScaledVector','onPointerUp','call','updateCameraFromPawn','onPointerMoveDelegate','distance','onContextMenuDelegate','minAzimuthAngle','onPointerMove','abs','_targetPosition','_targetDistance','function','threeObject','lyCameraDragging','exp','clamp','setRotation','viewport','onWheel','rotation','setCameraDraggingState','_isDragging','setQuaternion','remove','rotateSpeed','maxPolarAngle','camera','onPointerCancelDelegate'];_0x1b16=function(){return _0x15925e;};return _0x1b16();}
|
|
93
|
+
var _0x4ce25b=_0x50fe;(function(_0x191fbe,_0x513be1){var _0x427303=_0x50fe,_0x45230f=_0x191fbe();while(!![]){try{var _0x52a7e3=parseInt(_0x427303(0x154))/0x1*(parseInt(_0x427303(0x14b))/0x2)+parseInt(_0x427303(0x157))/0x3+parseInt(_0x427303(0x14f))/0x4*(-parseInt(_0x427303(0x149))/0x5)+parseInt(_0x427303(0x155))/0x6*(-parseInt(_0x427303(0x146))/0x7)+parseInt(_0x427303(0x141))/0x8*(parseInt(_0x427303(0x153))/0x9)+parseInt(_0x427303(0x147))/0xa*(-parseInt(_0x427303(0x158))/0xb)+-parseInt(_0x427303(0x14e))/0xc*(-parseInt(_0x427303(0x144))/0xd);if(_0x52a7e3===_0x513be1)break;else _0x45230f['push'](_0x45230f['shift']());}catch(_0x109223){_0x45230f['push'](_0x45230f['shift']());}}}(_0x150e,0x57691));function _0x50fe(_0x859184,_0x3b7fec){_0x859184=_0x859184-0x140;var _0x150e4f=_0x150e();var _0x50fe3c=_0x150e4f[_0x859184];return _0x50fe3c;}function _0x150e(){var _0x5ba483=['destroy','297jAESWj','1LdGreN','377628TZzPSC','controller','385065ccfNxn','4049771wekrZB','enabled','45160UmtjsN','tick','camera','6336434mUKAux','_enabled','70TUlOmc','10tJwnQH','inputFilter','8045VVBIGT','isTickEnabled','1303330OcLwjg','unpossess','app','12ZSMwpD','244YiXNqA','possess','focusTo'];_0x150e=function(){return _0x5ba483;};return _0x150e();}class Pawn extends Actor{get[_0x4ce25b(0x143)](){var _0x3dbc63=_0x4ce25b;return this[_0x3dbc63(0x14d)][_0x3dbc63(0x143)];}get[_0x4ce25b(0x140)](){var _0x13cae1=_0x4ce25b;return this[_0x13cae1(0x145)];}set[_0x4ce25b(0x140)](_0x59129a){var _0x3e39f8=_0x4ce25b;this[_0x3e39f8(0x145)]=_0x59129a;}constructor(_0x485463){var _0xbeb9c6=_0x4ce25b;super(_0x485463),this['_enabled']=![],this[_0xbeb9c6(0x156)]=_0x485463[_0xbeb9c6(0x156)],this[_0xbeb9c6(0x14a)]=!![];}[_0x4ce25b(0x142)](_0x1e5fe4){return;}[_0x4ce25b(0x150)](){}[_0x4ce25b(0x14c)](){}[_0x4ce25b(0x151)](_0x4b93b7,_0x30c21e,_0x28184d,_0x3b4980,_0x4efc6e=null,_0x5923d1=null){}['stopFocusing'](){}[_0x4ce25b(0x152)](){}}Pawn[_0x4ce25b(0x148)]=()=>!![];
|
|
91
94
|
|
|
92
|
-
const _0x1c1d17=_0x8fff;(function(_0x19b4d6,_0x252d68){const _0x5888be=_0x8fff,_0x3a4c44=_0x19b4d6();while(!![]){try{const _0x2c11b1=-parseInt(_0x5888be(0x12d))/0x1*(-parseInt(_0x5888be(0xe7))/0x2)+-parseInt(_0x5888be(0xd0))/0x3*(parseInt(_0x5888be(0x15d))/0x4)+-parseInt(_0x5888be(0xe8))/0x5+parseInt(_0x5888be(0x17b))/0x6+-parseInt(_0x5888be(0x134))/0x7+parseInt(_0x5888be(0x168))/0x8+parseInt(_0x5888be(0x191))/0x9;if(_0x2c11b1===_0x252d68)break;else _0x3a4c44['push'](_0x3a4c44['shift']());}catch(_0x46c862){_0x3a4c44['push'](_0x3a4c44['shift']());}}}(_0x35cf,0x4e9db));function _0x35cf(){const _0x3b0b02=['set','2710710weKmOB','onHorveringBegin','onClicked','pointerPosition','setFromObject','focusTo','onPointerUp','onComponentClickDelegate','isClickEnabled','pointerleave','onComponentHoverBeginDelegate','onPointerCancelEvent','alpha','quaternion','clientHeight','wheel','_onContextMenuDelegate','camera','_onRawClickDelegate','addCorePointerListeners','component','onPointerDownEvent','1627965vbwfOC','position','top','onPointerMoveEvent','setTimeout','size','clearClickTimer','multiplyScalar','_onActorDoubleClickDelegate','onClickEvent','_onPointerLockChangeDelegate','15pSOEgW','onKeyDown','_switchPawnTween','keydown','onWheelEvent','blocking','lineTraceSingle','possess','_onPointerDownDelegate','_onKeyUpDelegate','onComponentDoubleClickDelegate','init','fireComponentHoverBegin','firePointerDownEvent','viewport','pointerLeftDownPosition','clearHovering','hit','getAllHitResultFromScreenPoint','enabled','power2.inOut','prepareClickComponent','canvas','8ctbsrc','2675705TvEkto','_onActorClickDelegate','onPointerDownDelegate','getAllHitResultUnderCursor','keyup','onPointerEnterEvent','ray','addEventListener','getSize','_onPointerMoveDelegate','onPointerUpDelegate','pointermove','handled','max','point','onWindowBlurDelegate','onWindowBlur','focusToObject','button','_onComponentPointerDownDelegate','hoveringActor','_onClickNothingDelegate','_onActorHoverBeginDelegate','raycaster','log','destroy','onPointerMove','fireComponentHoverEnd','onActorClickDelegate','onPointerUpEvent','world','leftClickTimer','onPointerLockChangeEvent','tick','setFromEuler','focusToBounds','distance','onHorveringEnd','_pawn','onPointerLeave','onActorHoverBeginDelegate','subVectors','onKeyDownDelegate','onPointerCancel','prepareClickHit','onKeyDownEvent','add','getHitResultFromScreenPoint','broadcast','onWindowBlurEvent','onWheel','threeObject','clientX','parentActor','onActorHoverBegin','doubleClickDelay','tan','kill','onPointerLockChangeDelegate','onContextMenuEvent','switchPawn','copy','fireActorClick','onPointerLeaveEvent','removeCorePointerListeners','physics','near','unpossess','onPointerLockChange','2809RfDfXE','onClick','_raycastVec2','fov','sqrt','getHitResultUnderCursor','assign','2501765fDtTXT','_pointButtonIsDown','hoveringComponent','lineTraceMulti','onComponentPointerDownDelegate','canvas\x20is\x20null','handleDoubleClick','_onPointerCancelDelegate','app','collider','onActorHoverEnd','pointerlockchange','setFromCamera','_onComponentHoverBeginDelegate','onPointerCancelDelegate','onActorHoverEndDelegate','onKeyUp','addActor','pointerdown','onDoubleClicked','getCenter','_onActorHoverEndDelegate','_onComponentHoverEndDelegate','pawn','fireClickEvents','onPointerEnter','Visibility','clone','onActorClick','push','onClickNothingDelegate','onWheelDelegate','setFromAxisAngle','_onWheelDelegate','onActorDoubleClick','click','blur','fireComponentClick','onKeyUpDelegate','onPointerDown','prepareClickModifiers','57232GjPTiu','removeEventListener','fireActorHoverBegin','left','getTargetCameraState','pointercancel','origin','isPerspectiveCamera','altKey','viewPort','_tempVec2','5137448iRGVaE','onKeyUpEvent','pointerenter','_app','length','_onWindowBlurDelegate','fireActorHoverEnd','onContextMenu','_onComponentDoubleClickDelegate','createInitialPawn','ctrlKey','_onKeyDownDelegate','_onComponentClickDelegate','delete','_onPointerUpDelegate','contextmenu','YXZ','getBoundingClientRect'];_0x35cf=function(){return _0x3b0b02;};return _0x35cf();}function _0x8fff(_0x529a85,_0x1727f0){_0x529a85=_0x529a85-0xd0;const _0x35cf55=_0x35cf();let _0x8fffa6=_0x35cf55[_0x529a85];return _0x8fffa6;}class Controller{get['camera'](){const _0x65e44a=_0x8fff;return this[_0x65e44a(0x16b)]['camera'];}get[_0x1c1d17(0x106)](){const _0x57f80f=_0x1c1d17;return this[_0x57f80f(0x16b)][_0x57f80f(0x106)];}get['viewPort'](){const _0x3e73c3=_0x1c1d17;return this[_0x3e73c3(0x16b)][_0x3e73c3(0xde)];}get[_0x1c1d17(0x13c)](){const _0x120305=_0x1c1d17;return this[_0x120305(0x16b)];}get[_0x1c1d17(0x14b)](){const _0x1c6c68=_0x1c1d17;if(!this['_pawn'])throw Error('pawn\x20is\x20null');return this[_0x1c6c68(0x10e)];}get[_0x1c1d17(0x182)](){const _0x22d773=_0x1c1d17;return this[_0x22d773(0x174)];}get[_0x1c1d17(0xda)](){const _0x156497=_0x1c1d17;return this[_0x156497(0x170)];}get[_0x1c1d17(0x185)](){const _0x34e189=_0x1c1d17;return this[_0x34e189(0x141)];}get['onComponentHoverEndDelegate'](){const _0x5e8435=_0x1c1d17;return this[_0x5e8435(0x14a)];}get[_0x1c1d17(0x138)](){return this['_onComponentPointerDownDelegate'];}get[_0x1c1d17(0x104)](){const _0x15bc28=_0x1c1d17;return this[_0x15bc28(0xe9)];}get['onActorDoubleClickDelegate'](){const _0x5327d9=_0x1c1d17;return this[_0x5327d9(0x199)];}get[_0x1c1d17(0x110)](){const _0x2bb6a8=_0x1c1d17;return this[_0x2bb6a8(0xfe)];}get[_0x1c1d17(0x143)](){const _0x275e5e=_0x1c1d17;return this[_0x275e5e(0x149)];}get[_0x1c1d17(0x152)](){const _0x4a105d=_0x1c1d17;return this[_0x4a105d(0xfd)];}get[_0x1c1d17(0xea)](){const _0x1b70e3=_0x1c1d17;return this[_0x1b70e3(0xd8)];}get[_0x1c1d17(0xf2)](){const _0x1d1c70=_0x1c1d17;return this[_0x1d1c70(0x176)];}get['onPointerMoveDelegate'](){return this['_onPointerMoveDelegate'];}get[_0x1c1d17(0x142)](){const _0x401697=_0x1c1d17;return this[_0x401697(0x13b)];}get[_0x1c1d17(0x153)](){return this['_onWheelDelegate'];}get[_0x1c1d17(0x112)](){return this['_onKeyDownDelegate'];}get[_0x1c1d17(0x15a)](){return this['_onKeyUpDelegate'];}get['onContextMenuDelegate'](){const _0x1e8195=_0x1c1d17;return this[_0x1e8195(0x18b)];}get[_0x1c1d17(0x122)](){const _0x36851a=_0x1c1d17;return this[_0x36851a(0x19b)];}get[_0x1c1d17(0xf7)](){return this['_onWindowBlurDelegate'];}get['onRawClickDelegate'](){const _0x5814f2=_0x1c1d17;return this[_0x5814f2(0x18d)];}constructor(_0x45928a){const _0x4c79c9=_0x1c1d17;this[_0x4c79c9(0x10e)]=null,this[_0x4c79c9(0xd2)]=null,this[_0x4c79c9(0x136)]=null,this[_0x4c79c9(0xfc)]=null,this['prepareClickComponent']=null,this[_0x4c79c9(0x114)]=null,this[_0x4c79c9(0x15c)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x4c79c9(0x135)]=new Set(),this['_onComponentClickDelegate']=new Delegate(),this[_0x4c79c9(0x170)]=new Delegate(),this[_0x4c79c9(0x141)]=new Delegate(),this[_0x4c79c9(0x14a)]=new Delegate(),this['_onComponentPointerDownDelegate']=new Delegate(),this[_0x4c79c9(0xe9)]=new Delegate(),this[_0x4c79c9(0x199)]=new Delegate(),this[_0x4c79c9(0xfe)]=new Delegate(),this['_onActorHoverEndDelegate']=new Delegate(),this[_0x4c79c9(0xfd)]=new Delegate(),this[_0x4c79c9(0xd8)]=new Delegate(),this[_0x4c79c9(0x176)]=new Delegate(),this[_0x4c79c9(0xf1)]=new Delegate(),this['_onPointerCancelDelegate']=new Delegate(),this[_0x4c79c9(0x155)]=new Delegate(),this[_0x4c79c9(0x173)]=new Delegate(),this[_0x4c79c9(0xd9)]=new Delegate(),this[_0x4c79c9(0x18b)]=new Delegate(),this['_onPointerLockChangeDelegate']=new Delegate(),this['_onWindowBlurDelegate']=new Delegate(),this[_0x4c79c9(0x18d)]=new Delegate(),this[_0x4c79c9(0x17e)]=new webgpu.Vector2(),this[_0x4c79c9(0xdf)]=new webgpu.Vector2(),this[_0x4c79c9(0x167)]=new webgpu.Vector2(),this['_raycastVec2']=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x4c79c9(0x107)]=null,this[_0x4c79c9(0x102)]=_0x41b0d6=>this[_0x4c79c9(0x194)](_0x41b0d6),this['onPointerEnter']=_0x259a1a=>this[_0x4c79c9(0xed)](_0x259a1a),this['onPointerLeave']=_0x253e5c=>this['onPointerLeaveEvent'](_0x253e5c),this[_0x4c79c9(0x181)]=_0x16e31c=>this['onPointerUpEvent'](_0x16e31c),this[_0x4c79c9(0x15b)]=_0x5067d2=>this[_0x4c79c9(0x190)](_0x5067d2),this['onPointerCancel']=_0x2bc414=>this[_0x4c79c9(0x186)](_0x2bc414),this[_0x4c79c9(0x11a)]=_0x28c594=>this[_0x4c79c9(0xd4)](_0x28c594),this['onKeyDown']=_0x4e8e29=>this[_0x4c79c9(0x115)](_0x4e8e29),this['onKeyUp']=_0x1f078e=>this[_0x4c79c9(0x169)](_0x1f078e),this[_0x4c79c9(0x16f)]=_0x2a2f2c=>this[_0x4c79c9(0x123)](_0x2a2f2c),this['onPointerLockChange']=_0x50d568=>this[_0x4c79c9(0x108)](_0x50d568),this[_0x4c79c9(0xf8)]=_0x28d448=>this['onWindowBlurEvent'](_0x28d448),this[_0x4c79c9(0x12e)]=_0x10c5aa=>this[_0x4c79c9(0x19a)](_0x10c5aa),this[_0x4c79c9(0x16b)]=_0x45928a,this[_0x4c79c9(0xff)]=new webgpu.Raycaster(),this[_0x4c79c9(0x171)]();}[_0x1c1d17(0x171)](){const _0x1774ee=_0x1c1d17;this[_0x1774ee(0x10e)]=new Orbital(this[_0x1774ee(0x16b)]),this[_0x1774ee(0x14b)]['possess'](),this['pawn']['enabled']=!![];}[_0x1c1d17(0xdb)](){const _0x66c9c=_0x1c1d17,_0x4c0422=this[_0x66c9c(0x166)]['canvas'];console[_0x66c9c(0x100)](_0x66c9c(0xe6),_0x4c0422),_0x4c0422&&(_0x4c0422[_0x66c9c(0xef)](_0x66c9c(0x16a),this[_0x66c9c(0x14d)]),_0x4c0422[_0x66c9c(0xef)](_0x66c9c(0x184),this[_0x66c9c(0x10f)]),_0x4c0422[_0x66c9c(0xef)]('pointercancel',this[_0x66c9c(0x113)]),_0x4c0422[_0x66c9c(0xef)](_0x66c9c(0x18a),this['onWheel']),_0x4c0422['addEventListener'](_0x66c9c(0x177),this[_0x66c9c(0x16f)]),_0x4c0422[_0x66c9c(0xef)](_0x66c9c(0x157),this['onClick']),this[_0x66c9c(0x18e)]()),document['addEventListener'](_0x66c9c(0x13f),this['onPointerLockChange']),document[_0x66c9c(0xef)](_0x66c9c(0xd3),this[_0x66c9c(0xd1)]),document['addEventListener'](_0x66c9c(0xec),this['onKeyUp']),window[_0x66c9c(0xef)](_0x66c9c(0x158),this[_0x66c9c(0xf8)]),this['_pawn']&&(this['_pawn'][_0x66c9c(0x12b)](),this[_0x66c9c(0x10e)]['possess']());}['updateCamera'](){const _0x44e538=_0x1c1d17;var _0x394121,_0x1047bb;const _0x5d18c0=this['pawn'][_0x44e538(0xe3)];(_0x394121=this[_0x44e538(0x10e)])===null||_0x394121===void 0?void 0:_0x394121[_0x44e538(0x12b)](),(_0x1047bb=this[_0x44e538(0x10e)])===null||_0x1047bb===void 0?void 0:_0x1047bb[_0x44e538(0x101)](),this[_0x44e538(0x10e)]=new Orbital(this[_0x44e538(0x16b)]),this[_0x44e538(0x14b)][_0x44e538(0xd7)](),this['pawn'][_0x44e538(0xe3)]=_0x5d18c0;}async[_0x1c1d17(0x124)](_0x25472f,_0x2981cd){const _0x5dd317=_0x1c1d17;!_0x25472f[_0x5dd317(0x106)]&&this['_app'][_0x5dd317(0x106)][_0x5dd317(0x145)](_0x25472f);this['_switchPawnTween']&&(this[_0x5dd317(0xd2)][_0x5dd317(0x121)](),this[_0x5dd317(0xd2)]=null);const _0x1dedfa=this[_0x5dd317(0x10e)];if(_0x1dedfa===_0x25472f)return;if(!_0x2981cd||_0x2981cd<=0x0){_0x1dedfa&&(_0x1dedfa[_0x5dd317(0x12b)](),_0x1dedfa[_0x5dd317(0xe3)]=![]);this[_0x5dd317(0x10e)]=_0x25472f,this['_pawn'][_0x5dd317(0xe3)]=!![],this[_0x5dd317(0x10e)]['possess']();return;}const _0x346906=this[_0x5dd317(0x18c)][_0x5dd317(0x192)][_0x5dd317(0x14f)](),_0x3b115f=this[_0x5dd317(0x18c)][_0x5dd317(0x188)][_0x5dd317(0x14f)]();_0x1dedfa&&(_0x1dedfa[_0x5dd317(0x12b)](),_0x1dedfa[_0x5dd317(0xe3)]=![]);const {position:_0xbfac10,quaternion:_0x57bee7}=_0x25472f[_0x5dd317(0x161)]();return this[_0x5dd317(0x10e)]=_0x25472f,this[_0x5dd317(0x10e)]['enabled']=![],new Promise(_0x5f225b=>{const _0x2f4bca=_0x5dd317,_0x2ff29d={'alpha':0x0};this[_0x2f4bca(0xd2)]=gsap.gsap['to'](_0x2ff29d,{'alpha':0x1,'duration':_0x2981cd,'ease':_0x2f4bca(0xe4),'onUpdate':()=>{const _0xeab228=_0x2f4bca,_0x299e61=_0x2ff29d[_0xeab228(0x187)];this[_0xeab228(0x18c)][_0xeab228(0x192)]['lerpVectors'](_0x346906,_0xbfac10,_0x299e61),this['camera'][_0xeab228(0x188)]['slerpQuaternions'](_0x3b115f,_0x57bee7,_0x299e61);},'onComplete':()=>{const _0x1707ed=_0x2f4bca;this['_switchPawnTween']=null,this['_pawn']===_0x25472f&&(this[_0x1707ed(0x10e)][_0x1707ed(0xd7)](),this[_0x1707ed(0x10e)][_0x1707ed(0xe3)]=!![]),_0x5f225b();}});});}[_0x1c1d17(0x109)](_0x4c030b){const _0x1b5979=_0x1c1d17;!this[_0x1b5979(0x14b)][_0x1b5979(0x106)]&&this[_0x1b5979(0x14b)][_0x1b5979(0x109)](_0x4c030b);}[_0x1c1d17(0x101)](){const _0x441f3e=_0x1c1d17;this[_0x441f3e(0x197)](),this[_0x441f3e(0xe0)]();const _0x1475a0=this[_0x441f3e(0x166)][_0x441f3e(0xe6)];_0x1475a0&&(_0x1475a0[_0x441f3e(0x15e)](_0x441f3e(0x16a),this[_0x441f3e(0x14d)]),_0x1475a0[_0x441f3e(0x15e)](_0x441f3e(0x184),this[_0x441f3e(0x10f)]),_0x1475a0[_0x441f3e(0x15e)](_0x441f3e(0x162),this['onPointerCancel']),_0x1475a0['removeEventListener'](_0x441f3e(0x18a),this['onWheel']),_0x1475a0[_0x441f3e(0x15e)](_0x441f3e(0x177),this[_0x441f3e(0x16f)]),_0x1475a0[_0x441f3e(0x15e)]('click',this[_0x441f3e(0x12e)]),this[_0x441f3e(0x128)]()),document[_0x441f3e(0x15e)]('pointerlockchange',this[_0x441f3e(0x12c)]),document[_0x441f3e(0x15e)]('keydown',this['onKeyDown']),document['removeEventListener'](_0x441f3e(0xec),this[_0x441f3e(0x144)]),window[_0x441f3e(0x15e)]('blur',this['onWindowBlur']),this[_0x441f3e(0x14b)][_0x441f3e(0x12b)](),this[_0x441f3e(0x14b)]['destroy'](),this['_pawn']=null;}[_0x1c1d17(0x194)](_0x338c13){const _0x1f103e=_0x1c1d17;var _0x1f8efa,_0x52c017;this[_0x1f103e(0xf1)][_0x1f103e(0x118)](_0x338c13);const _0x5727dc=this[_0x1f103e(0x166)]['canvas'];if(!_0x5727dc)throw Error(_0x1f103e(0x139));const _0x3a547d=_0x5727dc[_0x1f103e(0x179)]();this['pointerPosition'][_0x1f103e(0x17a)]((_0x338c13[_0x1f103e(0x11c)]-_0x3a547d[_0x1f103e(0x160)])/_0x5727dc['clientWidth']*0x2-0x1,0x1-(_0x338c13['clientY']-_0x3a547d[_0x1f103e(0x193)])/_0x5727dc[_0x1f103e(0x189)]*0x2);if(this[_0x1f103e(0x135)][_0x1f103e(0x196)]>0x0)return;const _0x15320a=this[_0x1f103e(0x132)](),_0x2f7383=(_0x1f8efa=_0x15320a===null||_0x15320a===void 0?void 0:_0x15320a[_0x1f103e(0x18f)])!==null&&_0x1f8efa!==void 0?_0x1f8efa:null,_0x3eaa32=(_0x52c017=_0x2f7383===null||_0x2f7383===void 0?void 0:_0x2f7383['parentActor'])!==null&&_0x52c017!==void 0?_0x52c017:null;_0x2f7383!==this[_0x1f103e(0x136)]&&(this[_0x1f103e(0x136)]&&this['fireComponentHoverEnd'](this[_0x1f103e(0x136)]),_0x2f7383&&_0x15320a&&this[_0x1f103e(0xdc)](_0x2f7383,_0x15320a['hit'])),_0x3eaa32!==this[_0x1f103e(0xfc)]&&(this[_0x1f103e(0xfc)]&&this[_0x1f103e(0x136)]&&this[_0x1f103e(0x16e)](this[_0x1f103e(0xfc)],this[_0x1f103e(0x136)]),_0x3eaa32&&_0x2f7383&&_0x15320a&&this[_0x1f103e(0x15f)](_0x3eaa32,_0x2f7383,_0x15320a[_0x1f103e(0xe1)])),this[_0x1f103e(0x136)]=_0x2f7383,this[_0x1f103e(0xfc)]=_0x3eaa32;}[_0x1c1d17(0xe0)](){const _0x5326f9=_0x1c1d17;this[_0x5326f9(0x136)]&&this['fireComponentHoverEnd'](this['hoveringComponent']),this[_0x5326f9(0xfc)]&&this['hoveringComponent']&&this['fireActorHoverEnd'](this[_0x5326f9(0xfc)],this['hoveringComponent']),this[_0x5326f9(0x136)]=null,this['hoveringActor']=null;}[_0x1c1d17(0x105)](_0x2df85c){const _0x4764bc=_0x1c1d17;this[_0x4764bc(0x176)][_0x4764bc(0x118)](_0x2df85c),this['_pointButtonIsDown'][_0x4764bc(0x175)](_0x2df85c[_0x4764bc(0xfa)]);if(_0x2df85c[_0x4764bc(0xfa)]!==0x0)return;const _0x26d545=this[_0x4764bc(0x167)][_0x4764bc(0x111)](this[_0x4764bc(0xdf)],this[_0x4764bc(0x17e)])[_0x4764bc(0x16c)]();if(_0x26d545>0.005){this[_0x4764bc(0x197)]();return;}this['prepareClickModifiers']={'ctrlKey':_0x2df85c[_0x4764bc(0x172)],'shiftKey':_0x2df85c['shiftKey'],'altKey':_0x2df85c[_0x4764bc(0x165)]},!this[_0x4764bc(0x107)]?this['handleFirstClick']():this[_0x4764bc(0x13a)]();}['handleFirstClick'](){const _0x3b5dbb=_0x1c1d17,_0x43b79c=this[_0x3b5dbb(0x132)](),_0x5ba831=_0x43b79c===null||_0x43b79c===void 0?void 0:_0x43b79c[_0x3b5dbb(0x18f)];_0x5ba831 instanceof SceneComponent&&_0x43b79c?(this[_0x3b5dbb(0xe5)]=_0x5ba831,this[_0x3b5dbb(0x114)]=_0x43b79c[_0x3b5dbb(0xe1)],this[_0x3b5dbb(0x107)]=window[_0x3b5dbb(0x195)](()=>{const _0x58dec3=_0x3b5dbb;this[_0x58dec3(0x107)]=null,this[_0x58dec3(0xe5)]&&this[_0x58dec3(0x114)]&&(this[_0x58dec3(0x14c)](this['prepareClickComponent'],this['prepareClickHit'],![]),this['prepareClickComponent']=null,this[_0x58dec3(0x114)]=null);},this[_0x3b5dbb(0x11f)])):this[_0x3b5dbb(0xfd)][_0x3b5dbb(0x118)]();}[_0x1c1d17(0x13a)](){const _0x32209a=_0x1c1d17;this[_0x32209a(0x197)](),this[_0x32209a(0xe5)]&&this[_0x32209a(0x114)]?this[_0x32209a(0x14c)](this['prepareClickComponent'],this[_0x32209a(0x114)],!![]):this[_0x32209a(0xfd)]['broadcast'](),this['prepareClickComponent']=null,this[_0x32209a(0x114)]=null;}[_0x1c1d17(0x190)](_0x3cffee){const _0x5033cc=_0x1c1d17;this['_onPointerDownDelegate'][_0x5033cc(0x118)](_0x3cffee),this[_0x5033cc(0x135)][_0x5033cc(0x116)](_0x3cffee[_0x5033cc(0xfa)]);_0x3cffee[_0x5033cc(0xfa)]===0x0&&this[_0x5033cc(0xdf)][_0x5033cc(0x125)](this[_0x5033cc(0x17e)]);const _0x309148=this[_0x5033cc(0x132)](),_0x1e0586=_0x309148===null||_0x309148===void 0?void 0:_0x309148[_0x5033cc(0x18f)];_0x1e0586 instanceof SceneComponent&&_0x309148&&this[_0x5033cc(0xdd)](_0x1e0586,_0x309148['hit'],_0x3cffee[_0x5033cc(0xfa)]);}[_0x1c1d17(0xed)](_0x53da11){const _0x342e5c=_0x1c1d17;this[_0x342e5c(0x18e)]();}[_0x1c1d17(0x127)](_0x40c37d){this['removeCorePointerListeners']();}[_0x1c1d17(0x186)](_0x39d653){const _0x54c447=_0x1c1d17;this[_0x54c447(0x13b)][_0x54c447(0x118)](_0x39d653);}[_0x1c1d17(0xd4)](_0x553593){const _0x503b01=_0x1c1d17;this[_0x503b01(0x155)][_0x503b01(0x118)](_0x553593);}[_0x1c1d17(0x115)](_0x5aabda){const _0xb15c31=_0x1c1d17;this[_0xb15c31(0x173)][_0xb15c31(0x118)](_0x5aabda);}[_0x1c1d17(0x169)](_0x3fedc5){const _0x42dbf6=_0x1c1d17;this[_0x42dbf6(0xd9)][_0x42dbf6(0x118)](_0x3fedc5);}['onContextMenuEvent'](_0x108f75){this['_onContextMenuDelegate']['broadcast'](_0x108f75);}[_0x1c1d17(0x108)](_0x3fc314){const _0x2b729f=_0x1c1d17;this['_onPointerLockChangeDelegate'][_0x2b729f(0x118)](_0x3fc314);}[_0x1c1d17(0x119)](_0x175f4d){const _0x4db729=_0x1c1d17;this[_0x4db729(0x16d)][_0x4db729(0x118)](_0x175f4d);}[_0x1c1d17(0x19a)](_0x2641ee){const _0x2763fe=_0x1c1d17;this[_0x2763fe(0x18d)][_0x2763fe(0x118)](_0x2641ee);}[_0x1c1d17(0xdc)](_0x306fa3,_0x122029){const _0x303f34=_0x1c1d17,_0x59d085={'component':_0x306fa3,'hit':_0x122029,'handled':![]};this[_0x303f34(0x141)][_0x303f34(0x118)](_0x59d085),!_0x59d085[_0x303f34(0xf4)]&&_0x306fa3[_0x303f34(0x17c)]();}[_0x1c1d17(0x103)](_0x34df9d){const _0x169d73=_0x1c1d17,_0x53a5ff={'component':_0x34df9d,'hit':null,'handled':![]};this[_0x169d73(0x14a)][_0x169d73(0x118)](_0x53a5ff),!_0x53a5ff[_0x169d73(0xf4)]&&_0x34df9d[_0x169d73(0x10d)]();}[_0x1c1d17(0x159)](_0x29638a,_0xfcc64a,_0x407645){const _0x2fac8c=_0x1c1d17,_0x4a0800=Object[_0x2fac8c(0x133)]({'component':_0x29638a,'hit':_0xfcc64a,'handled':![]},this[_0x2fac8c(0x15c)]);_0x407645?(this[_0x2fac8c(0x170)][_0x2fac8c(0x118)](_0x4a0800),!_0x4a0800[_0x2fac8c(0xf4)]&&_0x29638a[_0x2fac8c(0x147)]()):(this[_0x2fac8c(0x174)][_0x2fac8c(0x118)](_0x4a0800),!_0x4a0800[_0x2fac8c(0xf4)]&&_0x29638a[_0x2fac8c(0x17d)]());}[_0x1c1d17(0xdd)](_0x13c7d3,_0x12b426,_0x35f3c0){const _0x45fc12=_0x1c1d17,_0x2ced3b={'component':_0x13c7d3,'hit':_0x12b426,'button':_0x35f3c0,'handled':![]};this[_0x45fc12(0xfb)][_0x45fc12(0x118)](_0x2ced3b);}[_0x1c1d17(0x15f)](_0x5ef44d,_0x10c342,_0x196f62){const _0x28fa14=_0x1c1d17,_0x3b5219={'actor':_0x5ef44d,'component':_0x10c342,'hit':_0x196f62,'handled':![]};this[_0x28fa14(0xfe)][_0x28fa14(0x118)](_0x3b5219),!_0x3b5219[_0x28fa14(0xf4)]&&_0x5ef44d[_0x28fa14(0x11e)](_0x10c342);}['fireActorHoverEnd'](_0x200a7a,_0x3d5c60){const _0x1c8d44=_0x1c1d17,_0x1eee36={'actor':_0x200a7a,'component':_0x3d5c60,'hit':null,'handled':![]};this['_onActorHoverEndDelegate']['broadcast'](_0x1eee36),!_0x1eee36[_0x1c8d44(0xf4)]&&_0x200a7a[_0x1c8d44(0x13e)](_0x3d5c60);}[_0x1c1d17(0x126)](_0x1d5098,_0xf19a48,_0x29aff0,_0x3cd40a){const _0x310f7c=_0x1c1d17,_0x26fbd5=Object[_0x310f7c(0x133)]({'actor':_0x1d5098,'component':_0xf19a48,'hit':_0x29aff0,'handled':![]},this[_0x310f7c(0x15c)]);_0x3cd40a?(this[_0x310f7c(0x199)][_0x310f7c(0x118)](_0x26fbd5),!_0x26fbd5[_0x310f7c(0xf4)]&&_0x1d5098[_0x310f7c(0x156)](_0xf19a48)):(this['_onActorClickDelegate'][_0x310f7c(0x118)](_0x26fbd5),!_0x26fbd5[_0x310f7c(0xf4)]&&_0x1d5098[_0x310f7c(0x150)](_0xf19a48));}[_0x1c1d17(0x14c)](_0xa8f8b9,_0x793a3d,_0x245812){const _0x2b4f8c=_0x1c1d17;this[_0x2b4f8c(0x159)](_0xa8f8b9,_0x793a3d,_0x245812);const _0x2256f9=_0xa8f8b9[_0x2b4f8c(0x11d)];if(_0x2256f9){if(_0x2256f9['isClickEnabled'])this[_0x2b4f8c(0x126)](_0x2256f9,_0xa8f8b9,_0x793a3d,_0x245812);}}[_0x1c1d17(0x197)](){const _0x2c1560=_0x1c1d17;this[_0x2c1560(0x107)]&&(window['clearTimeout'](this[_0x2c1560(0x107)]),this['leftClickTimer']=null);}[_0x1c1d17(0x18e)](){const _0x10e2ed=_0x1c1d17,_0x56af76=this[_0x10e2ed(0x166)][_0x10e2ed(0xe6)];if(!_0x56af76)return;_0x56af76[_0x10e2ed(0xef)](_0x10e2ed(0xf3),this[_0x10e2ed(0x102)]),_0x56af76[_0x10e2ed(0xef)]('pointerup',this['onPointerUp']),_0x56af76[_0x10e2ed(0xef)](_0x10e2ed(0x146),this['onPointerDown']);}[_0x1c1d17(0x128)](){const _0x4ce9c8=_0x1c1d17,_0x4dc5a4=this[_0x4ce9c8(0x166)][_0x4ce9c8(0xe6)];if(!_0x4dc5a4)return;_0x4dc5a4[_0x4ce9c8(0x15e)](_0x4ce9c8(0xf3),this['onPointerMove']),_0x4dc5a4[_0x4ce9c8(0x15e)]('pointerup',this['onPointerUp']),_0x4dc5a4['removeEventListener'](_0x4ce9c8(0x146),this[_0x4ce9c8(0x15b)]);}['getHitResultUnderCursor'](_0x13429d=!![]){const _0x4316a2=_0x1c1d17;return this[_0x4316a2(0x117)](this[_0x4316a2(0x17e)]['x'],this['pointerPosition']['y'],_0x13429d);}[_0x1c1d17(0x117)](_0x43edd5,_0x37971a,_0x4d9ea9=!![]){const _0x263031=_0x1c1d17;this[_0x263031(0x12f)][_0x263031(0x17a)](_0x43edd5,_0x37971a),this[_0x263031(0xff)][_0x263031(0x140)](this[_0x263031(0x12f)],this[_0x263031(0x18c)]);const _0x3625f6=this[_0x263031(0xe2)](_0x43edd5,_0x37971a);if(!_0x4d9ea9)return _0x3625f6[0x0]||null;for(const _0x48db90 of _0x3625f6){const _0x3841b6=_0x48db90[_0x263031(0x18f)]['isHoverEnabled']||_0x48db90[_0x263031(0x18f)][_0x263031(0x183)],_0x432256=_0x48db90['component'][_0x263031(0x11d)],_0x3f20e7=_0x432256&&(_0x432256['isHoverEnabled']||_0x432256[_0x263031(0x183)]);if(_0x3841b6||_0x3f20e7)return _0x48db90;}return null;}[_0x1c1d17(0xeb)](_0x168704=!![]){const _0x31fcfa=_0x1c1d17;return this[_0x31fcfa(0xe2)](this[_0x31fcfa(0x17e)]['x'],this[_0x31fcfa(0x17e)]['y']);}['getAllHitResultFromScreenPoint'](_0x62e934,_0xd16571){const _0x519ba4=_0x1c1d17;this[_0x519ba4(0x12f)][_0x519ba4(0x17a)](_0x62e934,_0xd16571),this['raycaster'][_0x519ba4(0x140)](this[_0x519ba4(0x12f)],this[_0x519ba4(0x18c)]);const _0x18f7f0=this[_0x519ba4(0xff)]['ray'][_0x519ba4(0x163)],_0x454fdd=this[_0x519ba4(0xff)][_0x519ba4(0xee)]['at'](0x2710,new webgpu.Vector3()),_0x18f0ad=this[_0x519ba4(0x106)][_0x519ba4(0x129)][_0x519ba4(0x137)](_0x18f7f0,_0x454fdd,exports.CollisionChannel['Visibility']),_0x2605e3=[];for(const _0x265cc1 of _0x18f0ad){if(!_0x265cc1[_0x519ba4(0x13d)]||!_0x265cc1['collider'][_0x519ba4(0x11b)])continue;if(this[_0x519ba4(0x18c)]instanceof webgpu.PerspectiveCamera&&_0x265cc1[_0x519ba4(0x10c)]<this[_0x519ba4(0x18c)]['near'])continue;const _0x109454={'distance':_0x265cc1[_0x519ba4(0x10c)],'point':_0x265cc1[_0x519ba4(0xf6)],'object':_0x265cc1[_0x519ba4(0x13d)][_0x519ba4(0x11b)],'uv':new webgpu.Vector2(0x0,0x0)};_0x2605e3[_0x519ba4(0x151)]({'component':_0x265cc1[_0x519ba4(0x13d)],'hit':_0x109454});if(_0x265cc1[_0x519ba4(0xd5)])break;}return _0x2605e3;}[_0x1c1d17(0x180)](_0x5c8b26,_0x362bc2,_0x32294c,_0x403a8c,_0x586938=null,_0x254711=null){const _0x46d184=_0x1c1d17;this[_0x46d184(0x14b)][_0x46d184(0x180)](_0x5c8b26,_0x362bc2,_0x32294c,_0x403a8c,_0x586938,_0x254711);}['focusToBounds'](_0xbc27ec,_0x1b8d4d,_0x2a3394={}){const _0x45e3cf=_0x1c1d17,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math[_0x45e3cf(0x131)](0.5)}=_0x2a3394,_0x903444=new webgpu.Vector3(),_0x5bca7f=new webgpu.Vector3();_0xbc27ec[_0x45e3cf(0x148)](_0x903444),_0xbc27ec[_0x45e3cf(0xf0)](_0x5bca7f);const _0x5646c7=this['app'][_0x45e3cf(0x18c)];if(_0x5646c7&&_0x5646c7[_0x45e3cf(0x164)]){const _0x19dcc2=_0x5646c7[_0x45e3cf(0x130)]*(Math['PI']/0xb4),_0x4dee2d=_0x5bca7f[_0x45e3cf(0x16c)]()*0.5,_0xa488d7=Math[_0x45e3cf(0xf5)](_0x4dee2d/targetScreenRatio/Math[_0x45e3cf(0x120)](_0x19dcc2/0x2),_0x5646c7[_0x45e3cf(0x12a)]*0x2);let _0x36eaa6=_0x5646c7[_0x45e3cf(0x188)][_0x45e3cf(0x14f)]();if(computeOptimalQuat){const _0x5f0fa0=[new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x6,0x0,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,0x0,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x2,0x0,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x3,0x0,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x3,Math['PI'],0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,'YXZ')];let _0x1a9e72=-1;for(const _0xa86d68 of _0x5f0fa0){const _0x497232=new webgpu.Quaternion()[_0x45e3cf(0x10a)](_0xa86d68),_0x4637d5=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x497232),_0x51c9fc=_0x903444[_0x45e3cf(0x14f)]()[_0x45e3cf(0x116)](_0x4637d5[_0x45e3cf(0x198)](_0xa488d7)),_0x4823ec=this['world']['physics'][_0x45e3cf(0xd6)](_0x51c9fc,_0x903444,exports.CollisionChannel[_0x45e3cf(0x14e)]);let _0x575b5d=![],_0x26dcc7=_0xa488d7;_0x4823ec&&_0x4823ec[_0x45e3cf(0xd5)]&&(_0x4823ec[_0x45e3cf(0x10c)]<_0xa488d7-_0x4dee2d*1.2&&(_0x575b5d=!![],_0x26dcc7=_0x4823ec['distance']));if(!_0x575b5d){_0x36eaa6=_0x497232;break;}else _0x26dcc7>_0x1a9e72&&(_0x1a9e72=_0x26dcc7,_0x36eaa6=_0x497232);}}const _0x5b5f55=_0x36eaa6;this['focusTo'](_0x903444,_0x5b5f55,_0xa488d7,_0x1b8d4d,onGoing,onFinished);}else {const _0x4138fd=_0x5bca7f[_0x45e3cf(0x16c)]()*1.5,_0x3af5c8=new webgpu.Quaternion()[_0x45e3cf(0x154)](new webgpu.Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0x45e3cf(0x180)](_0x903444,_0x3af5c8,_0x4138fd,_0x1b8d4d,onGoing,onFinished);}}[_0x1c1d17(0xf9)](_0x5e96df,_0x51072b,_0x113f46={}){const _0x111487=_0x1c1d17,_0x5a1b39=new webgpu.Box3()[_0x111487(0x17f)](_0x5e96df);this[_0x111487(0x10b)](_0x5a1b39,_0x51072b,_0x113f46);}}
|
|
95
|
+
function _0x153f(){const _0x921aa3=['minAzimuthAngle','onPointerMoveDelegate','288bWwhMk','buttons','675741yCThbs','inputFilter','enableRotate','getQuaternion','clientHeight','maxAzimuthAngle','zoomSpeed','multiplyScalar','maxDistance','touchstart','distanceTo','459582gncgvf','position','minPolarAngle','possess','onPointerUpDelegate','applyQuaternion','rotateSpeed','onWheel','enableDamping','canvas','controller','set','distance','addEventListener','removeEventListener','setQuaternion','setFromQuaternion','setPointerCapture','getPosition','maxPolarAngle','lyCameraDragging','onTouchMove','YXZ','viewport','onPointerUp','remove','onPointerDown','Zoom','Rotate','_lastTouchPanCenter','clear','add','call','_targetDistance','clamp','copy','applyRotation','_lastTouchDistance','_lastPointerPosition','setFromRotationMatrix','sqrt','onPointerMove','camera','None','getTargetCameraState','dataset','_targetQuaternion','440vAKjDA','minDistance','_isDragging','_targetPosition','4oyTqrI','updateCameraFromPawn','setCameraDraggingState','touchcancel','exp','170199MqDUci','onContextMenu','unpossess','addScaledVector','preventDefault','hasPointerCapture','abs','touchend','stopFocusing','threeObject','setRotation','tick','30Whyygl','enabled','setFromEuler','lerp','next','onTouchEnd','length','onWheelDelegate','size','touchmove','max','clone','1ROWwNr','_touchGesture','lookAt','changedTouches','button','35224xqWsYX','174348xXJEQY','value','enableZoom','normalize','Pan','delete','896764jYFwih','onTouchStart','identifier','rootComponent','rotation','kill','applyPan','_touches','28785uzhKZt','app','function','from','_touchStartPositions','clientX','setPosition','outer','enablePan','dampingFactor','_focusTween','focusTo','pointerId','min','values','clientY'];_0x153f=function(){return _0x921aa3;};return _0x153f();}const _0x2bbdf4=_0x6743;(function(_0x3015a2,_0xb8b3e3){const _0x12c5a9=_0x6743,_0x37aa7f=_0x3015a2();while(!![]){try{const _0x5915b4=parseInt(_0x12c5a9(0x19d))/0x1*(-parseInt(_0x12c5a9(0x1d0))/0x2)+parseInt(_0x12c5a9(0x1c5))/0x3*(parseInt(_0x12c5a9(0x203))/0x4)+-parseInt(_0x12c5a9(0x1b1))/0x5*(parseInt(_0x12c5a9(0x1c3))/0x6)+parseInt(_0x12c5a9(0x1a2))/0x7*(parseInt(_0x12c5a9(0x1ff))/0x8)+parseInt(_0x12c5a9(0x208))/0x9*(parseInt(_0x12c5a9(0x214))/0xa)+parseInt(_0x12c5a9(0x1a9))/0xb+parseInt(_0x12c5a9(0x1a3))/0xc;if(_0x5915b4===_0xb8b3e3)break;else _0x37aa7f['push'](_0x37aa7f['shift']());}catch(_0x208672){_0x37aa7f['push'](_0x37aa7f['shift']());}}}(_0x153f,0x244ba));function _0x6743(_0x30a25e,_0x56f1f9){_0x30a25e=_0x30a25e-0x198;const _0x153fee=_0x153f();let _0x6743f3=_0x153fee[_0x30a25e];return _0x6743f3;}var TouchGesture;(function(_0x43299a){const _0x1ded33=_0x6743;_0x43299a[_0x43299a[_0x1ded33(0x1fb)]=0x0]=_0x1ded33(0x1fb),_0x43299a[_0x43299a[_0x1ded33(0x1ec)]=0x1]='Rotate',_0x43299a[_0x43299a[_0x1ded33(0x1a7)]=0x2]=_0x1ded33(0x1a7),_0x43299a[_0x43299a['Zoom']=0x3]=_0x1ded33(0x1eb);}(TouchGesture||(TouchGesture={})));class Orbital extends Pawn{constructor(_0x40b7ed){const _0x49d60b=_0x6743;super(_0x40b7ed),this[_0x49d60b(0x1dc)]=0x5,this[_0x49d60b(0x200)]=0.1,this[_0x49d60b(0x1cd)]=0xf4240,this[_0x49d60b(0x1d6)]=0x1,this['zoomSpeed']=0x1,this[_0x49d60b(0x1d2)]=0x0,this[_0x49d60b(0x1e3)]=Math['PI']*0.5,this['minAzimuthAngle']=-Infinity,this['maxAzimuthAngle']=Infinity,this['enableDamping']=!![],this[_0x49d60b(0x1ba)]=0xa,this[_0x49d60b(0x1c7)]=!![],this['enablePan']=!![],this[_0x49d60b(0x1a5)]=!![],this[_0x49d60b(0x201)]=![],this[_0x49d60b(0x1f6)]=new webgpu.Vector2(),this[_0x49d60b(0x202)]=new webgpu.Vector3(),this['_targetQuaternion']=new webgpu.Quaternion(),this['_targetDistance']=0x5,this[_0x49d60b(0x1bb)]=null,this[_0x49d60b(0x19e)]=TouchGesture[_0x49d60b(0x1fb)],this[_0x49d60b(0x1b0)]=new Map(),this[_0x49d60b(0x1f5)]=0x0,this[_0x49d60b(0x1ed)]=new webgpu.Vector2(),this['_touchStartPositions']=new Map(),this[_0x49d60b(0x209)]=_0x420acd=>{const _0x247290=_0x49d60b;if(!Pawn[_0x247290(0x1c6)]())return;_0x420acd[_0x247290(0x20c)]();},this[_0x49d60b(0x1ea)]=_0xb97baa=>{const _0x45ee93=_0x49d60b;if(!this['enabled']||!Pawn[_0x45ee93(0x1c6)]())return;if(_0xb97baa['button']===0x0&&!this[_0x45ee93(0x1c7)])return;if(_0xb97baa[_0x45ee93(0x1a1)]===0x2&&!this[_0x45ee93(0x1b9)])return;if(_0xb97baa['button']===0x0||_0xb97baa[_0x45ee93(0x1a1)]===0x2){this[_0x45ee93(0x201)]=!![],this[_0x45ee93(0x1f6)]['set'](_0xb97baa['clientX'],_0xb97baa[_0x45ee93(0x1c0)]),this['setCameraDraggingState'](!![]);const _0x59375f=this[_0x45ee93(0x1b2)][_0x45ee93(0x1e7)][_0x45ee93(0x1d9)];_0x59375f&&typeof _0x59375f['setPointerCapture']===_0x45ee93(0x1b3)&&_0x59375f[_0x45ee93(0x1e1)](_0xb97baa['pointerId']);}},this['onPointerMove']=_0x51677a=>{const _0x561990=_0x49d60b;if(!this[_0x561990(0x215)]||!this[_0x561990(0x201)]||!Pawn[_0x561990(0x1c6)]())return;if(_0x51677a[_0x561990(0x1c4)]===0x0){this[_0x561990(0x201)]=![],this['setCameraDraggingState'](![]);return;}const _0x298035=_0x51677a[_0x561990(0x1b6)]-this[_0x561990(0x1f6)]['x'],_0x25256c=_0x51677a[_0x561990(0x1c0)]-this[_0x561990(0x1f6)]['y'];this[_0x561990(0x1f6)][_0x561990(0x1db)](_0x51677a[_0x561990(0x1b6)],_0x51677a[_0x561990(0x1c0)]);const _0x1d5e06=this[_0x561990(0x1b2)][_0x561990(0x1e7)][_0x561990(0x1d9)];if(!_0x1d5e06)return;if(_0x51677a['buttons']===0x1){if(!this[_0x561990(0x1c7)])return;const _0x2860a9=this[_0x561990(0x1d6)]*0x2*Math['PI'],_0x350eab=new webgpu.Euler(0x0,0x0,0x0,_0x561990(0x1e6))[_0x561990(0x1e0)](this['_targetQuaternion']);_0x350eab['y']-=_0x298035/_0x1d5e06[_0x561990(0x1c9)]*_0x2860a9,_0x350eab['x']-=_0x25256c/_0x1d5e06[_0x561990(0x1c9)]*_0x2860a9;const _0x313684=Math[_0x561990(0x19b)](this[_0x561990(0x1d2)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x5723f3=Math['min'](this['maxPolarAngle']-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x350eab['x']=webgpu.MathUtils[_0x561990(0x1f2)](_0x350eab['x'],_0x313684,_0x5723f3),isFinite(this['minAzimuthAngle'])&&isFinite(this['maxAzimuthAngle'])&&(_0x350eab['y']=webgpu.MathUtils[_0x561990(0x1f2)](_0x350eab['y'],this[_0x561990(0x1c1)],this['maxAzimuthAngle'])),_0x350eab['z']=0x0,this[_0x561990(0x1fe)][_0x561990(0x216)](_0x350eab),!this[_0x561990(0x1d8)]&&this['setQuaternion'](this[_0x561990(0x1fe)]);}else {if(_0x51677a[_0x561990(0x1c4)]===0x2){if(!this['enablePan'])return;const _0x48fc3f=this['_targetDistance']*0.002,_0x463545=new webgpu.Vector3(0x1,0x0,0x0)['applyQuaternion'](this[_0x561990(0x1fe)])[_0x561990(0x1a6)](),_0x3ad87f=new webgpu.Vector3(0x0,0x1,0x0)['applyQuaternion'](this['_targetQuaternion'])[_0x561990(0x1a6)]();this[_0x561990(0x202)][_0x561990(0x20b)](_0x463545,-_0x298035*_0x48fc3f),this[_0x561990(0x202)]['addScaledVector'](_0x3ad87f,_0x25256c*_0x48fc3f),!this[_0x561990(0x1d8)]&&this[_0x561990(0x1b7)](this[_0x561990(0x202)]);}}},this[_0x49d60b(0x1e8)]=_0x5e71c5=>{const _0x24663a=_0x49d60b;var _0xaf29fc;this[_0x24663a(0x201)]=![],this[_0x24663a(0x205)](![]);const _0x54d5b5=this['app'][_0x24663a(0x1e7)][_0x24663a(0x1d9)];_0x54d5b5&&typeof _0x54d5b5['releasePointerCapture']===_0x24663a(0x1b3)&&((_0xaf29fc=_0x54d5b5[_0x24663a(0x20d)])===null||_0xaf29fc===void 0?void 0:_0xaf29fc[_0x24663a(0x1f0)](_0x54d5b5,_0x5e71c5[_0x24663a(0x1bd)]))&&_0x54d5b5['releasePointerCapture'](_0x5e71c5[_0x24663a(0x1bd)]);},this[_0x49d60b(0x1d7)]=_0x94a0f9=>{const _0x17da31=_0x49d60b;if(!this[_0x17da31(0x215)]||!this[_0x17da31(0x1a5)]||!Pawn['inputFilter']())return;const _0x320c18=0.95;_0x94a0f9['deltaY']>0x0?this[_0x17da31(0x1f1)]/=_0x320c18:this[_0x17da31(0x1f1)]*=_0x320c18,this[_0x17da31(0x1f1)]=webgpu.MathUtils[_0x17da31(0x1f2)](this['_targetDistance'],this['minDistance'],this[_0x17da31(0x1cd)]),!this[_0x17da31(0x1d8)]&&(this[_0x17da31(0x1dc)]=this[_0x17da31(0x1f1)]);},this[_0x49d60b(0x1aa)]=_0x42757b=>{const _0xae171=_0x49d60b;if(!this[_0xae171(0x215)]||!Pawn[_0xae171(0x1c6)]())return;_0x42757b['preventDefault']();const _0x599757=this[_0xae171(0x1b2)][_0xae171(0x1e7)]['canvas'];if(!_0x599757)return;for(let _0x4a4e9a=0x0;_0x4a4e9a<_0x42757b[_0xae171(0x1a0)][_0xae171(0x21a)];_0x4a4e9a++){const _0x4a19b7=_0x42757b[_0xae171(0x1a0)][_0x4a4e9a],_0xbbcd66=new webgpu.Vector2(_0x4a19b7[_0xae171(0x1b6)],_0x4a19b7[_0xae171(0x1c0)]);this[_0xae171(0x1b0)][_0xae171(0x1db)](_0x4a19b7[_0xae171(0x1ab)],_0xbbcd66),this['_touchStartPositions']['set'](_0x4a19b7[_0xae171(0x1ab)],_0xbbcd66[_0xae171(0x19c)]());}if(this[_0xae171(0x1b0)]['size']===0x1&&this[_0xae171(0x1c7)]){this[_0xae171(0x19e)]=TouchGesture[_0xae171(0x1ec)],this[_0xae171(0x201)]=!![];const _0x26d0a8=this['_touches'][_0xae171(0x1bf)]()[_0xae171(0x218)]()[_0xae171(0x1a4)];_0x26d0a8&&this[_0xae171(0x1f6)][_0xae171(0x1f3)](_0x26d0a8),this['setCameraDraggingState'](!![]);}else {if(this['_touches'][_0xae171(0x199)]===0x2){const _0x355949=Array[_0xae171(0x1b4)](this[_0xae171(0x1b0)][_0xae171(0x1bf)]());this[_0xae171(0x1f5)]=_0x355949[0x0][_0xae171(0x1cf)](_0x355949[0x1]),this[_0xae171(0x1ed)][_0xae171(0x1db)]((_0x355949[0x0]['x']+_0x355949[0x1]['x'])/0x2,(_0x355949[0x0]['y']+_0x355949[0x1]['y'])/0x2),this['_isDragging']=!![],this[_0xae171(0x205)](!![]),this[_0xae171(0x19e)]=TouchGesture[_0xae171(0x1eb)];}}},this[_0x49d60b(0x1e5)]=_0x32e414=>{const _0x235c95=_0x49d60b;if(!this[_0x235c95(0x215)]||!Pawn[_0x235c95(0x1c6)]())return;_0x32e414['preventDefault']();const _0x3daeb7=this['app'][_0x235c95(0x1e7)][_0x235c95(0x1d9)];if(!_0x3daeb7)return;for(let _0x223605=0x0;_0x223605<_0x32e414['changedTouches'][_0x235c95(0x21a)];_0x223605++){const _0xc3558c=_0x32e414[_0x235c95(0x1a0)][_0x223605];this[_0x235c95(0x1b0)][_0x235c95(0x1db)](_0xc3558c['identifier'],new webgpu.Vector2(_0xc3558c[_0x235c95(0x1b6)],_0xc3558c[_0x235c95(0x1c0)]));}if(this[_0x235c95(0x1b0)][_0x235c95(0x199)]===0x1&&this[_0x235c95(0x19e)]===TouchGesture[_0x235c95(0x1ec)]&&this['enableRotate']){const _0x24d0b2=this[_0x235c95(0x1b0)][_0x235c95(0x1bf)]()[_0x235c95(0x218)]()[_0x235c95(0x1a4)];if(!_0x24d0b2)return;const _0x4ee13b=_0x24d0b2['x']-this[_0x235c95(0x1f6)]['x'],_0x4ca950=_0x24d0b2['y']-this[_0x235c95(0x1f6)]['y'];this[_0x235c95(0x1f6)][_0x235c95(0x1f3)](_0x24d0b2),this[_0x235c95(0x1f4)](_0x4ee13b,_0x4ca950,_0x3daeb7['clientHeight']);}else {if(this['_touches'][_0x235c95(0x199)]===0x2){const _0x101f21=Array[_0x235c95(0x1b4)](this[_0x235c95(0x1b0)][_0x235c95(0x1bf)]()),_0x3d3a2b=_0x101f21[0x0][_0x235c95(0x1cf)](_0x101f21[0x1]),_0x5667fe=new webgpu.Vector2((_0x101f21[0x0]['x']+_0x101f21[0x1]['x'])/0x2,(_0x101f21[0x0]['y']+_0x101f21[0x1]['y'])/0x2),_0x4fc17b=_0x3d3a2b-this[_0x235c95(0x1f5)],_0x4abab1=_0x5667fe['x']-this[_0x235c95(0x1ed)]['x'],_0x4ce1e9=_0x5667fe['y']-this['_lastTouchPanCenter']['y'],_0x4b683e=Math[_0x235c95(0x20e)](_0x4fc17b)/(this[_0x235c95(0x1f5)]||0x1),_0x398323=Math[_0x235c95(0x1f8)](_0x4abab1*_0x4abab1+_0x4ce1e9*_0x4ce1e9);if(_0x4b683e>0.02&&this[_0x235c95(0x1a5)])this[_0x235c95(0x19e)]=TouchGesture['Zoom'];else _0x398323>0x3&&this[_0x235c95(0x1b9)]&&(this[_0x235c95(0x19e)]=TouchGesture[_0x235c95(0x1a7)]);if(this['_touchGesture']===TouchGesture[_0x235c95(0x1eb)]&&this[_0x235c95(0x1a5)]){const _0x654f8e=0x1+_0x4fc17b*0.01*this[_0x235c95(0x1cb)];this[_0x235c95(0x1f1)]*=_0x654f8e,this[_0x235c95(0x1f1)]=webgpu.MathUtils[_0x235c95(0x1f2)](this[_0x235c95(0x1f1)],this[_0x235c95(0x200)],this['maxDistance']),!this[_0x235c95(0x1d8)]&&(this['distance']=this['_targetDistance']),this['_lastTouchDistance']=_0x3d3a2b;}else this['_touchGesture']===TouchGesture[_0x235c95(0x1a7)]&&this['enablePan']&&(this[_0x235c95(0x1af)](_0x4abab1,_0x4ce1e9),this[_0x235c95(0x1ed)][_0x235c95(0x1f3)](_0x5667fe));}}},this[_0x49d60b(0x219)]=_0x31eeaf=>{const _0x6f6a67=_0x49d60b;for(let _0x43ac24=0x0;_0x43ac24<_0x31eeaf[_0x6f6a67(0x1a0)][_0x6f6a67(0x21a)];_0x43ac24++){const _0x162f1d=_0x31eeaf[_0x6f6a67(0x1a0)][_0x43ac24];this['_touches'][_0x6f6a67(0x1a8)](_0x162f1d[_0x6f6a67(0x1ab)]),this[_0x6f6a67(0x1b5)][_0x6f6a67(0x1a8)](_0x162f1d[_0x6f6a67(0x1ab)]);}if(this[_0x6f6a67(0x1b0)][_0x6f6a67(0x199)]===0x0)this['_touchGesture']=TouchGesture['None'],this[_0x6f6a67(0x201)]=![],this[_0x6f6a67(0x205)](![]);else {if(this[_0x6f6a67(0x1b0)][_0x6f6a67(0x199)]===0x1){this[_0x6f6a67(0x19e)]=TouchGesture['Rotate'];const _0xe5ccd0=this[_0x6f6a67(0x1b0)][_0x6f6a67(0x1bf)]()[_0x6f6a67(0x218)]()[_0x6f6a67(0x1a4)];_0xe5ccd0&&this[_0x6f6a67(0x1f6)][_0x6f6a67(0x1f3)](_0xe5ccd0);}}};}['possess'](){const _0x482ff0=_0x6743;super[_0x482ff0(0x1d3)]();this['rootComponent']&&this['rootComponent'][_0x482ff0(0x211)]&&(this[_0x482ff0(0x1ac)][_0x482ff0(0x211)][_0x482ff0(0x1ad)]['order']='YXZ');this[_0x482ff0(0x202)][_0x482ff0(0x1f3)](this['getPosition']());const _0x51b4d3=this[_0x482ff0(0x1c8)](),_0x157e58=new webgpu.Euler(0x0,0x0,0x0,_0x482ff0(0x1e6))[_0x482ff0(0x1e0)](_0x51b4d3);Math['abs'](_0x157e58['z'])>0.00001?(_0x157e58['z']=0x0,this['_targetQuaternion'][_0x482ff0(0x216)](_0x157e58),this['setQuaternion'](this[_0x482ff0(0x1fe)])):this[_0x482ff0(0x1fe)]['copy'](_0x51b4d3);this['_targetDistance']=this[_0x482ff0(0x1dc)];const _0xf75cb4=this[_0x482ff0(0x1b2)][_0x482ff0(0x1da)];_0xf75cb4&&(_0xf75cb4['onPointerDownDelegate'][_0x482ff0(0x1ef)](this[_0x482ff0(0x1ea)]),_0xf75cb4[_0x482ff0(0x1c2)][_0x482ff0(0x1ef)](this['onPointerMove']),_0xf75cb4[_0x482ff0(0x1d4)]['add'](this[_0x482ff0(0x1e8)]),_0xf75cb4['onPointerCancelDelegate'][_0x482ff0(0x1ef)](this[_0x482ff0(0x1e8)]),_0xf75cb4[_0x482ff0(0x198)][_0x482ff0(0x1ef)](this[_0x482ff0(0x1d7)]),_0xf75cb4['onContextMenuDelegate'][_0x482ff0(0x1ef)](this[_0x482ff0(0x209)]));const _0x596133=this[_0x482ff0(0x1b2)]['viewport'][_0x482ff0(0x1d9)];_0x596133&&(_0x596133['addEventListener']('touchstart',this[_0x482ff0(0x1aa)],{'passive':![]}),_0x596133['addEventListener'](_0x482ff0(0x19a),this['onTouchMove'],{'passive':![]}),_0x596133[_0x482ff0(0x1dd)](_0x482ff0(0x20f),this[_0x482ff0(0x219)],{'passive':![]}),_0x596133[_0x482ff0(0x1dd)](_0x482ff0(0x206),this[_0x482ff0(0x219)],{'passive':![]})),this[_0x482ff0(0x204)]();}[_0x2bbdf4(0x1fc)](){const _0x298e4a=_0x2bbdf4,_0x2ffbc4=this[_0x298e4a(0x1e2)](),_0x207ef1=this[_0x298e4a(0x1c8)](),_0x2d161e=new webgpu.Vector3(0x0,0x0,0x1)[_0x298e4a(0x1d5)](_0x207ef1)['multiplyScalar'](this[_0x298e4a(0x1dc)]),_0x4b4636=_0x2ffbc4['clone']()[_0x298e4a(0x1ef)](_0x2d161e),_0x2836ef=new webgpu.Matrix4();_0x2836ef[_0x298e4a(0x19f)](_0x4b4636,_0x2ffbc4,this[_0x298e4a(0x1fa)]['up']);const _0x4ac20a=new webgpu.Quaternion()[_0x298e4a(0x1f7)](_0x2836ef);return {'position':_0x4b4636,'quaternion':_0x4ac20a};}[_0x2bbdf4(0x204)](){const _0x4d23a0=_0x2bbdf4;if(!this[_0x4d23a0(0x215)]||!this[_0x4d23a0(0x1fa)])return;const _0xdb8fdc=this[_0x4d23a0(0x1e2)](),_0x48c4a9=this[_0x4d23a0(0x1c8)](),_0x542b3e=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x48c4a9)[_0x4d23a0(0x1cc)](this[_0x4d23a0(0x1dc)]);this[_0x4d23a0(0x1fa)][_0x4d23a0(0x1d1)]['copy'](_0xdb8fdc)['add'](_0x542b3e),this[_0x4d23a0(0x1fa)][_0x4d23a0(0x19f)](_0xdb8fdc);}[_0x2bbdf4(0x20a)](){const _0x4046c9=_0x2bbdf4;super['unpossess']();const _0x406212=this[_0x4046c9(0x1b2)]['controller'];_0x406212&&(_0x406212['onPointerDownDelegate'][_0x4046c9(0x1e9)](this['onPointerDown']),_0x406212[_0x4046c9(0x1c2)][_0x4046c9(0x1e9)](this[_0x4046c9(0x1f9)]),_0x406212[_0x4046c9(0x1d4)][_0x4046c9(0x1e9)](this[_0x4046c9(0x1e8)]),_0x406212['onPointerCancelDelegate'][_0x4046c9(0x1e9)](this[_0x4046c9(0x1e8)]),_0x406212[_0x4046c9(0x198)]['remove'](this[_0x4046c9(0x1d7)]),_0x406212['onContextMenuDelegate'][_0x4046c9(0x1e9)](this['onContextMenu']));const _0x221b3a=this[_0x4046c9(0x1b2)]['viewport'][_0x4046c9(0x1d9)];_0x221b3a&&(_0x221b3a[_0x4046c9(0x1de)](_0x4046c9(0x1ce),this[_0x4046c9(0x1aa)]),_0x221b3a[_0x4046c9(0x1de)](_0x4046c9(0x19a),this[_0x4046c9(0x1e5)]),_0x221b3a[_0x4046c9(0x1de)](_0x4046c9(0x20f),this[_0x4046c9(0x219)]),_0x221b3a[_0x4046c9(0x1de)](_0x4046c9(0x206),this[_0x4046c9(0x219)])),this[_0x4046c9(0x201)]=![],this[_0x4046c9(0x19e)]=TouchGesture[_0x4046c9(0x1fb)],this[_0x4046c9(0x1b0)][_0x4046c9(0x1ee)](),this['_touchStartPositions']['clear'](),this[_0x4046c9(0x205)](![]),this['_focusTween']&&(this['_focusTween'][_0x4046c9(0x1ae)](),this['_focusTween']=null);}[_0x2bbdf4(0x205)](_0x39b2e6){const _0x51325f=_0x2bbdf4,_0x32b3d7=this[_0x51325f(0x1b2)]['viewport'][_0x51325f(0x1b8)];if(!_0x32b3d7)return;_0x39b2e6?_0x32b3d7[_0x51325f(0x1fd)][_0x51325f(0x1e4)]='1':delete _0x32b3d7[_0x51325f(0x1fd)]['lyCameraDragging'];}[_0x2bbdf4(0x1f4)](_0xe8ea74,_0x268ff2,_0x16977c){const _0x112c1f=_0x2bbdf4,_0x22f6c3=this[_0x112c1f(0x1d6)]*0x2*Math['PI'],_0x185b12=new webgpu.Euler(0x0,0x0,0x0,'YXZ')[_0x112c1f(0x1e0)](this[_0x112c1f(0x1fe)]);_0x185b12['y']-=_0xe8ea74/_0x16977c*_0x22f6c3,_0x185b12['x']-=_0x268ff2/_0x16977c*_0x22f6c3;const _0x205326=Math['max'](this['minPolarAngle']-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x30f316=Math[_0x112c1f(0x1be)](this[_0x112c1f(0x1e3)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x185b12['x']=webgpu.MathUtils['clamp'](_0x185b12['x'],_0x205326,_0x30f316),isFinite(this[_0x112c1f(0x1c1)])&&isFinite(this[_0x112c1f(0x1ca)])&&(_0x185b12['y']=webgpu.MathUtils['clamp'](_0x185b12['y'],this['minAzimuthAngle'],this['maxAzimuthAngle'])),_0x185b12['z']=0x0,this[_0x112c1f(0x1fe)][_0x112c1f(0x216)](_0x185b12),!this['enableDamping']&&this[_0x112c1f(0x1df)](this[_0x112c1f(0x1fe)]);}[_0x2bbdf4(0x1af)](_0x21a163,_0x1b09b6){const _0x5d4a62=_0x2bbdf4,_0x2fde3b=this[_0x5d4a62(0x1f1)]*0.002,_0x4e0861=new webgpu.Vector3(0x1,0x0,0x0)[_0x5d4a62(0x1d5)](this['_targetQuaternion'])['normalize'](),_0x23648a=new webgpu.Vector3(0x0,0x1,0x0)['applyQuaternion'](this[_0x5d4a62(0x1fe)])[_0x5d4a62(0x1a6)]();this[_0x5d4a62(0x202)][_0x5d4a62(0x20b)](_0x4e0861,-_0x21a163*_0x2fde3b),this['_targetPosition']['addScaledVector'](_0x23648a,_0x1b09b6*_0x2fde3b),!this[_0x5d4a62(0x1d8)]&&this[_0x5d4a62(0x1b7)](this['_targetPosition']);}[_0x2bbdf4(0x213)](_0x41ebc6){const _0x463b16=_0x2bbdf4;if(this[_0x463b16(0x1d8)]){const _0x3456bc=Math['min'](_0x41ebc6,0.1),_0x3d5c6a=0x1-Math[_0x463b16(0x207)](-this[_0x463b16(0x1ba)]*_0x3456bc);this['distance']=webgpu.MathUtils['lerp'](this[_0x463b16(0x1dc)],this[_0x463b16(0x1f1)],_0x3d5c6a);const _0x15063d=this['getPosition']();_0x15063d['lerp'](this[_0x463b16(0x202)],_0x3d5c6a),super[_0x463b16(0x1b7)](_0x15063d);const _0x413405=this[_0x463b16(0x1c8)]();_0x413405['slerp'](this[_0x463b16(0x1fe)],_0x3d5c6a),super[_0x463b16(0x1df)](_0x413405);}this[_0x463b16(0x204)]();}['setPosition'](..._0x507bd4){const _0x401be7=_0x2bbdf4;super[_0x401be7(0x1b7)](..._0x507bd4),this[_0x401be7(0x202)][_0x401be7(0x1f3)](this[_0x401be7(0x1e2)]());}['setRotation'](..._0x8ed196){const _0x290388=_0x2bbdf4;super[_0x290388(0x212)](..._0x8ed196),this[_0x290388(0x1fe)]['copy'](this[_0x290388(0x1c8)]());}['setQuaternion'](..._0x55f98f){const _0x945cab=_0x2bbdf4;super[_0x945cab(0x1df)](..._0x55f98f),this[_0x945cab(0x1fe)][_0x945cab(0x1f3)](this[_0x945cab(0x1c8)]());}[_0x2bbdf4(0x1bc)](_0x197d3b,_0x41bdc6,_0x3341da,_0x346dbd,_0x191396=null,_0x4a44f3=null){const _0x7f8702=_0x2bbdf4;this['_focusTween']&&this[_0x7f8702(0x1bb)][_0x7f8702(0x1ae)]();const _0x1e910a=this[_0x7f8702(0x1e2)](),_0x4ca05e=this['getQuaternion'](),_0x2865bd=this[_0x7f8702(0x1dc)];let _0x2c3851;_0x41bdc6 instanceof webgpu.Euler?_0x2c3851=new webgpu.Quaternion()['setFromEuler'](_0x41bdc6):_0x2c3851=_0x41bdc6[_0x7f8702(0x19c)]();const _0x2465e7=new webgpu.Euler(0x0,0x0,0x0,_0x7f8702(0x1e6))['setFromQuaternion'](_0x4ca05e),_0x21df78=new webgpu.Euler(0x0,0x0,0x0,_0x7f8702(0x1e6))[_0x7f8702(0x1e0)](_0x2c3851);_0x2465e7['z']=0x0,_0x21df78['z']=0x0;let _0x355821=_0x21df78['y']-_0x2465e7['y'];while(_0x355821>Math['PI'])_0x355821-=Math['PI']*0x2;while(_0x355821<-Math['PI'])_0x355821+=Math['PI']*0x2;_0x21df78['y']=_0x2465e7['y']+_0x355821;const _0x2e4747={'alpha':0x0};this[_0x7f8702(0x1bb)]=gsap.gsap['to'](_0x2e4747,{'alpha':0x1,'duration':_0x346dbd,'onUpdate':()=>{const _0x4cb7eb=_0x7f8702,_0x4627cc=_0x2e4747['alpha'],_0x3c82a2=new webgpu.Vector3()['lerpVectors'](_0x1e910a,_0x197d3b,_0x4627cc);this[_0x4cb7eb(0x1b7)](_0x3c82a2),this[_0x4cb7eb(0x202)][_0x4cb7eb(0x1f3)](_0x3c82a2);const _0x5ecf91=new webgpu.Euler(webgpu.MathUtils['lerp'](_0x2465e7['x'],_0x21df78['x'],_0x4627cc),webgpu.MathUtils[_0x4cb7eb(0x217)](_0x2465e7['y'],_0x21df78['y'],_0x4627cc),0x0,_0x4cb7eb(0x1e6)),_0x26c06b=new webgpu.Quaternion()[_0x4cb7eb(0x216)](_0x5ecf91);this[_0x4cb7eb(0x1df)](_0x26c06b),this[_0x4cb7eb(0x1fe)]['copy'](_0x26c06b),this[_0x4cb7eb(0x1dc)]=webgpu.MathUtils[_0x4cb7eb(0x217)](_0x2865bd,_0x3341da,_0x4627cc),this['_targetDistance']=this['distance'];if(_0x191396)_0x191396();},'onComplete':()=>{this['_focusTween']=null;if(_0x4a44f3)_0x4a44f3();}});}[_0x2bbdf4(0x210)](){const _0x5aed8a=_0x2bbdf4;this['_focusTween']&&(this[_0x5aed8a(0x1bb)][_0x5aed8a(0x1ae)](),this[_0x5aed8a(0x1bb)]=null);}}
|
|
93
96
|
|
|
94
|
-
const _0x35fbb9=_0x186b;function _0x186b(_0x791ce8,_0x121cac){_0x791ce8=_0x791ce8-0xa8;const _0x548456=_0x5484();let _0x186b3c=_0x548456[_0x791ce8];return _0x186b3c;}(function(_0x5d1591,_0x2395e6){const _0x4ffad1=_0x186b,_0x4d4dae=_0x5d1591();while(!![]){try{const _0x537f84=parseInt(_0x4ffad1(0xaf))/0x1*(parseInt(_0x4ffad1(0xae))/0x2)+parseInt(_0x4ffad1(0xbf))/0x3*(parseInt(_0x4ffad1(0xab))/0x4)+parseInt(_0x4ffad1(0xb0))/0x5*(-parseInt(_0x4ffad1(0xbe))/0x6)+parseInt(_0x4ffad1(0xb7))/0x7+parseInt(_0x4ffad1(0xa9))/0x8+parseInt(_0x4ffad1(0xac))/0x9+-parseInt(_0x4ffad1(0xb3))/0xa*(parseInt(_0x4ffad1(0xc0))/0xb);if(_0x537f84===_0x2395e6)break;else _0x4d4dae['push'](_0x4d4dae['shift']());}catch(_0x27dcd3){_0x4d4dae['push'](_0x4d4dae['shift']());}}}(_0x5484,0x8aec3));class CameraFactory{static[_0x35fbb9(0xb2)](_0x406353){const _0x400b73=_0x35fbb9;try{switch(_0x406353['type']){case _0x400b73(0xb1):{let _0x19def9=_0x406353;return new webgpu.PerspectiveCamera(_0x19def9[_0x400b73(0xbd)],_0x19def9[_0x400b73(0xc2)],_0x19def9[_0x400b73(0xc4)],_0x19def9[_0x400b73(0xb4)]);}case 'Orthographic':{let _0x564f65=_0x406353;return new webgpu.OrthographicCamera(_0x564f65[_0x400b73(0xbc)],_0x564f65[_0x400b73(0xc3)],_0x564f65[_0x400b73(0xb6)],_0x564f65[_0x400b73(0xc5)],_0x564f65[_0x400b73(0xc4)],_0x564f65[_0x400b73(0xb4)]);}default:{throw new Error(_0x400b73(0xad));}}}catch(_0x9b14ae){return console['warn'](_0x400b73(0xb9),_0x9b14ae),console[_0x400b73(0xb5)](_0x400b73(0xc1)),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0x35fbb9(0xa8)](_0x52f2de,_0xba594c){const _0x224ab2=_0x35fbb9;try{switch(_0x52f2de[_0x224ab2(0xba)]){case _0x224ab2(0xb1):{let _0x4b60fb=_0x52f2de;if(_0xba594c instanceof webgpu.PerspectiveCamera)return _0xba594c['near']=_0x4b60fb[_0x224ab2(0xc4)],_0xba594c[_0x224ab2(0xb4)]=_0x4b60fb['far'],_0xba594c[_0x224ab2(0xbd)]=_0x4b60fb[_0x224ab2(0xbd)],_0xba594c[_0x224ab2(0xc2)]=_0x4b60fb['aspect'],_0xba594c;return new webgpu.PerspectiveCamera(_0x4b60fb[_0x224ab2(0xbd)],_0x4b60fb['aspect'],_0x4b60fb['near'],_0x4b60fb[_0x224ab2(0xb4)]);}case _0x224ab2(0xbb):{let _0x3b5586=_0x52f2de;if(_0xba594c instanceof webgpu.OrthographicCamera)return _0xba594c[_0x224ab2(0xc4)]=_0x3b5586[_0x224ab2(0xc4)],_0xba594c[_0x224ab2(0xb4)]=_0x3b5586[_0x224ab2(0xb4)],_0xba594c[_0x224ab2(0xbc)]=_0x3b5586[_0x224ab2(0xbc)],_0xba594c[_0x224ab2(0xc3)]=_0x3b5586[_0x224ab2(0xc3)],_0xba594c[_0x224ab2(0xb6)]=_0x3b5586[_0x224ab2(0xb6)],_0xba594c[_0x224ab2(0xc5)]=_0x3b5586['bottom'],_0xba594c;return new webgpu.OrthographicCamera(_0x3b5586[_0x224ab2(0xbc)],_0x3b5586['right'],_0x3b5586[_0x224ab2(0xb6)],_0x3b5586[_0x224ab2(0xc5)],_0x3b5586['near'],_0x3b5586[_0x224ab2(0xb4)]);}default:{throw new Error(_0x224ab2(0xad));}}}catch(_0x1d1394){return console[_0x224ab2(0xb5)](_0x224ab2(0xb8),_0x1d1394),console[_0x224ab2(0xb5)](_0x224ab2(0xaa)),_0xba594c;}}}function _0x5484(){const _0x55903a=['fov','36oIjntk','91236LmHdyB','77946XYnKso','[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead','aspect','right','near','bottom','updataCamera','1962392ntnVsi','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','88UXBrzi','716562cCzEEX','Invalid\x20camera\x20type','8482JGLTBo','131PKvUtu','153755idQWdf','Perspective','createCamera','2680xPHZZv','far','warn','top','7721203WZqoFA','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','type','Orthographic','left'];_0x5484=function(){return _0x55903a;};return _0x5484();}
|
|
97
|
+
const _0x387313=_0x2f0d;(function(_0x19bb61,_0x273d06){const _0x39a79d=_0x2f0d,_0x54fb5a=_0x19bb61();while(!![]){try{const _0x500eb7=-parseInt(_0x39a79d(0x124))/0x1*(parseInt(_0x39a79d(0x126))/0x2)+parseInt(_0x39a79d(0x1a0))/0x3+parseInt(_0x39a79d(0x13f))/0x4+-parseInt(_0x39a79d(0x176))/0x5*(parseInt(_0x39a79d(0x11e))/0x6)+-parseInt(_0x39a79d(0x1ab))/0x7+-parseInt(_0x39a79d(0x1b0))/0x8*(-parseInt(_0x39a79d(0x100))/0x9)+parseInt(_0x39a79d(0x147))/0xa*(-parseInt(_0x39a79d(0x11a))/0xb);if(_0x500eb7===_0x273d06)break;else _0x54fb5a['push'](_0x54fb5a['shift']());}catch(_0x38e142){_0x54fb5a['push'](_0x54fb5a['shift']());}}}(_0x1e1b,0x7f48c));function _0x1e1b(){const _0x3ea4a8=['prepareClickModifiers','onActorClick','fov','onWindowBlurDelegate','enabled','top','fireActorHoverEnd','viewPort','position','pointerlockchange','unpossess','pointerup','pointerdown','onPointerEnter','getBoundingClientRect','world','fireClickEvents','onClick','removeCorePointerListeners','onPointerUpDelegate','component','onActorHoverEnd','clearHovering','onActorHoverBeginDelegate','_onPointerDownDelegate','raycaster','onPointerCancelEvent','_app','setFromAxisAngle','clientX','hoveringComponent','onComponentHoverEndDelegate','addActor','lerpVectors','applyQuaternion','onActorHoverBegin','fireActorClick','_onContextMenuDelegate','2714430oFTKzW','parentActor','setTimeout','onContextMenuDelegate','handleFirstClick','blur','blocking','isHoverEnabled','onPointerDownEvent','_pointButtonIsDown','switchPawn','6311095YrPodO','setFromEuler','getHitResultFromScreenPoint','_raycastVec2','onPointerCancelDelegate','3680qTQCNJ','camera','pointerenter','leftClickTimer','power2.inOut','addEventListener','onHorveringEnd','kill','_onActorHoverEndDelegate','onWindowBlur','handled','_onComponentHoverBeginDelegate','_onComponentHoverEndDelegate','onDoubleClicked','_onPointerUpDelegate','_switchPawnTween','onWindowBlurEvent','keydown','ray','onHorveringBegin','contextmenu','pointerLeftDownPosition','sqrt','onClickEvent','onActorDoubleClick','_onActorHoverBeginDelegate','19071WUnxqp','prepareClickComponent','_onPointerMoveDelegate','onPointerUp','init','_onPointerLockChangeDelegate','pointermove','_onActorClickDelegate','onPointerLockChangeEvent','_onWindowBlurDelegate','Visibility','onActorClickDelegate','altKey','_onRawClickDelegate','canvas','onActorDoubleClickDelegate','destroy','_onComponentPointerDownDelegate','physics','hit','addCorePointerListeners','pointercancel','subVectors','near','getSize','onContextMenu','65538pSZmAu','onKeyUpEvent','slerpQuaternions','doubleClickDelay','131562lMTUil','onWheelEvent','_onKeyUpDelegate','pawn\x20is\x20null','length','clone','38404ekUdLV','quaternion','4qGRorC','onPointerCancel','onPointerLockChange','origin','onPointerLockChangeDelegate','removeEventListener','focusToBounds','firePointerDownEvent','_onWheelDelegate','focusTo','onKeyDownDelegate','alpha','max','YXZ','onKeyUp','handleDoubleClick','onComponentDoubleClickDelegate','_onComponentClickDelegate','lineTraceMulti','app','clearTimeout','setFromCamera','add','isPerspectiveCamera','threeObject','431288OfmzNc','onPointerDownDelegate','clientHeight','pointerleave','clientWidth','onPointerMove','onPointerDown','fireComponentHoverEnd','340KDOtNu','_onPointerCancelDelegate','updateCamera','_onKeyDownDelegate','possess','set','onKeyDownEvent','pawn','viewport','onPointerMoveEvent','getAllHitResultFromScreenPoint','getHitResultUnderCursor','onContextMenuEvent','copy','createInitialPawn','onWheelDelegate','_onClickNothingDelegate','isClickEnabled','distance','onWheel','click','broadcast','collider','_onComponentDoubleClickDelegate','clearClickTimer','wheel','ctrlKey','pointerPosition','hoveringActor','onComponentPointerDownDelegate','onClicked','_pawn','_onActorDoubleClickDelegate','onPointerUpEvent','assign','onActorHoverEndDelegate','clientY','fireComponentHoverBegin','prepareClickHit','fireActorHoverBegin','size','button','onPointerLeave','getCenter','left','fireComponentClick','onKeyUpDelegate','65EeUMxx','onPointerEnterEvent','onKeyDown','keyup'];_0x1e1b=function(){return _0x3ea4a8;};return _0x1e1b();}function _0x2f0d(_0x356300,_0x5a7757){_0x356300=_0x356300-0xf8;const _0x1e1b6b=_0x1e1b();let _0x2f0d6e=_0x1e1b6b[_0x356300];return _0x2f0d6e;}class Controller{get[_0x387313(0x1b1)](){const _0x16cc78=_0x387313;return this[_0x16cc78(0x195)]['camera'];}get[_0x387313(0x189)](){const _0x4462cb=_0x387313;return this['_app'][_0x4462cb(0x189)];}get['viewPort'](){const _0x482888=_0x387313;return this[_0x482888(0x195)][_0x482888(0x14f)];}get[_0x387313(0x139)](){const _0x576e06=_0x387313;return this[_0x576e06(0x195)];}get['pawn'](){const _0x47facd=_0x387313;if(!this['_pawn'])throw Error(_0x47facd(0x121));return this[_0x47facd(0x166)];}get['onComponentClickDelegate'](){const _0x243b03=_0x387313;return this[_0x243b03(0x137)];}get[_0x387313(0x136)](){const _0x222025=_0x387313;return this[_0x222025(0x15e)];}get['onComponentHoverBeginDelegate'](){const _0x481e06=_0x387313;return this[_0x481e06(0x1bb)];}get[_0x387313(0x199)](){const _0x198307=_0x387313;return this[_0x198307(0x1bc)];}get[_0x387313(0x164)](){const _0x362896=_0x387313;return this[_0x362896(0x111)];}get[_0x387313(0x10b)](){return this['_onActorClickDelegate'];}get[_0x387313(0x10f)](){const _0x2ee07e=_0x387313;return this[_0x2ee07e(0x167)];}get[_0x387313(0x191)](){const _0x77101f=_0x387313;return this[_0x77101f(0xff)];}get[_0x387313(0x16a)](){return this['_onActorHoverEndDelegate'];}get['onClickNothingDelegate'](){return this['_onClickNothingDelegate'];}get[_0x387313(0x140)](){const _0x397702=_0x387313;return this[_0x397702(0x192)];}get[_0x387313(0x18d)](){return this['_onPointerUpDelegate'];}get['onPointerMoveDelegate'](){const _0x9ae28a=_0x387313;return this[_0x9ae28a(0x102)];}get[_0x387313(0x1af)](){return this['_onPointerCancelDelegate'];}get[_0x387313(0x156)](){const _0x2bafc5=_0x387313;return this[_0x2bafc5(0x12e)];}get[_0x387313(0x130)](){return this['_onKeyDownDelegate'];}get[_0x387313(0x175)](){return this['_onKeyUpDelegate'];}get[_0x387313(0x1a3)](){const _0xb2b9f=_0x387313;return this[_0xb2b9f(0x19f)];}get[_0x387313(0x12a)](){const _0x1fa30b=_0x387313;return this[_0x1fa30b(0x105)];}get[_0x387313(0x17d)](){return this['_onWindowBlurDelegate'];}get['onRawClickDelegate'](){const _0x264092=_0x387313;return this[_0x264092(0x10d)];}constructor(_0x3b5e18){const _0x228506=_0x387313;this[_0x228506(0x166)]=null,this[_0x228506(0x1bf)]=null,this[_0x228506(0x198)]=null,this[_0x228506(0x163)]=null,this[_0x228506(0x101)]=null,this[_0x228506(0x16d)]=null,this[_0x228506(0x17a)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x228506(0x1a9)]=new Set(),this[_0x228506(0x137)]=new Delegate(),this[_0x228506(0x15e)]=new Delegate(),this[_0x228506(0x1bb)]=new Delegate(),this[_0x228506(0x1bc)]=new Delegate(),this['_onComponentPointerDownDelegate']=new Delegate(),this[_0x228506(0x107)]=new Delegate(),this[_0x228506(0x167)]=new Delegate(),this[_0x228506(0xff)]=new Delegate(),this[_0x228506(0x1b8)]=new Delegate(),this[_0x228506(0x157)]=new Delegate(),this[_0x228506(0x192)]=new Delegate(),this[_0x228506(0x1be)]=new Delegate(),this['_onPointerMoveDelegate']=new Delegate(),this[_0x228506(0x148)]=new Delegate(),this[_0x228506(0x12e)]=new Delegate(),this[_0x228506(0x14a)]=new Delegate(),this[_0x228506(0x120)]=new Delegate(),this[_0x228506(0x19f)]=new Delegate(),this[_0x228506(0x105)]=new Delegate(),this[_0x228506(0x109)]=new Delegate(),this[_0x228506(0x10d)]=new Delegate(),this['pointerPosition']=new webgpu.Vector2(),this[_0x228506(0xfb)]=new webgpu.Vector2(),this['_tempVec2']=new webgpu.Vector2(),this['_raycastVec2']=new webgpu.Vector2(),this[_0x228506(0x11d)]=0xfa,this[_0x228506(0x1b3)]=null,this[_0x228506(0x144)]=_0x475d3a=>this[_0x228506(0x150)](_0x475d3a),this[_0x228506(0x187)]=_0x11d7b2=>this[_0x228506(0x177)](_0x11d7b2),this['onPointerLeave']=_0x302bf3=>this['onPointerLeaveEvent'](_0x302bf3),this[_0x228506(0x103)]=_0x5dc9c3=>this['onPointerUpEvent'](_0x5dc9c3),this['onPointerDown']=_0x405145=>this[_0x228506(0x1a8)](_0x405145),this[_0x228506(0x127)]=_0x53b7ee=>this[_0x228506(0x194)](_0x53b7ee),this['onWheel']=_0x4c9e92=>this[_0x228506(0x11f)](_0x4c9e92),this[_0x228506(0x178)]=_0xc612e0=>this[_0x228506(0x14d)](_0xc612e0),this['onKeyUp']=_0x6f6607=>this[_0x228506(0x11b)](_0x6f6607),this[_0x228506(0x119)]=_0x3a4d84=>this[_0x228506(0x153)](_0x3a4d84),this['onPointerLockChange']=_0x1051f2=>this[_0x228506(0x108)](_0x1051f2),this['onWindowBlur']=_0x28c158=>this[_0x228506(0x1c0)](_0x28c158),this['onClick']=_0x286d37=>this[_0x228506(0xfd)](_0x286d37),this['_app']=_0x3b5e18,this['raycaster']=new webgpu.Raycaster(),this[_0x228506(0x155)]();}[_0x387313(0x155)](){const _0x51928e=_0x387313;this[_0x51928e(0x166)]=new Orbital(this[_0x51928e(0x195)]),this[_0x51928e(0x14e)]['possess'](),this['pawn']['enabled']=!![];}[_0x387313(0x104)](){const _0x4d88c1=_0x387313,_0x181b04=this[_0x4d88c1(0x181)][_0x4d88c1(0x10e)];_0x181b04&&(_0x181b04[_0x4d88c1(0x1b5)]('pointerenter',this[_0x4d88c1(0x187)]),_0x181b04[_0x4d88c1(0x1b5)](_0x4d88c1(0x142),this[_0x4d88c1(0x171)]),_0x181b04[_0x4d88c1(0x1b5)](_0x4d88c1(0x115),this[_0x4d88c1(0x127)]),_0x181b04[_0x4d88c1(0x1b5)](_0x4d88c1(0x160),this[_0x4d88c1(0x15a)]),_0x181b04[_0x4d88c1(0x1b5)](_0x4d88c1(0xfa),this[_0x4d88c1(0x119)]),_0x181b04[_0x4d88c1(0x1b5)](_0x4d88c1(0x15b),this[_0x4d88c1(0x18b)]),this[_0x4d88c1(0x114)]()),document[_0x4d88c1(0x1b5)](_0x4d88c1(0x183),this[_0x4d88c1(0x128)]),document[_0x4d88c1(0x1b5)](_0x4d88c1(0x1c1),this[_0x4d88c1(0x178)]),document[_0x4d88c1(0x1b5)](_0x4d88c1(0x179),this['onKeyUp']),window[_0x4d88c1(0x1b5)](_0x4d88c1(0x1a5),this[_0x4d88c1(0x1b9)]),this[_0x4d88c1(0x166)]&&(this[_0x4d88c1(0x166)]['unpossess'](),this[_0x4d88c1(0x166)]['possess']());}[_0x387313(0x149)](){const _0x4a2940=_0x387313;var _0x45ac01,_0x374570;const _0x3c8c69=this[_0x4a2940(0x14e)][_0x4a2940(0x17e)];(_0x45ac01=this['_pawn'])===null||_0x45ac01===void 0?void 0:_0x45ac01[_0x4a2940(0x184)](),(_0x374570=this[_0x4a2940(0x166)])===null||_0x374570===void 0?void 0:_0x374570[_0x4a2940(0x110)](),this[_0x4a2940(0x166)]=new Orbital(this[_0x4a2940(0x195)]),this['pawn'][_0x4a2940(0x14b)](),this[_0x4a2940(0x14e)][_0x4a2940(0x17e)]=_0x3c8c69;}async[_0x387313(0x1aa)](_0x37c4ca,_0x5596f0){const _0x424df1=_0x387313;!_0x37c4ca[_0x424df1(0x189)]&&this[_0x424df1(0x195)][_0x424df1(0x189)][_0x424df1(0x19a)](_0x37c4ca);this[_0x424df1(0x1bf)]&&(this['_switchPawnTween'][_0x424df1(0x1b7)](),this[_0x424df1(0x1bf)]=null);const _0x539be3=this[_0x424df1(0x166)];if(_0x539be3===_0x37c4ca)return;if(!_0x5596f0||_0x5596f0<=0x0){_0x539be3&&(_0x539be3[_0x424df1(0x184)](),_0x539be3[_0x424df1(0x17e)]=![]);this['_pawn']=_0x37c4ca,this[_0x424df1(0x166)][_0x424df1(0x17e)]=!![],this[_0x424df1(0x166)][_0x424df1(0x14b)]();return;}const _0x72c8a6=this[_0x424df1(0x1b1)][_0x424df1(0x182)][_0x424df1(0x123)](),_0x54fe65=this[_0x424df1(0x1b1)][_0x424df1(0x125)][_0x424df1(0x123)]();_0x539be3&&(_0x539be3[_0x424df1(0x184)](),_0x539be3['enabled']=![]);const {position:_0x30ac3d,quaternion:_0x1b3288}=_0x37c4ca['getTargetCameraState']();return this[_0x424df1(0x166)]=_0x37c4ca,this['_pawn']['enabled']=![],new Promise(_0x54ca1a=>{const _0x5a0788=_0x424df1,_0x2660f5={'alpha':0x0};this[_0x5a0788(0x1bf)]=gsap.gsap['to'](_0x2660f5,{'alpha':0x1,'duration':_0x5596f0,'ease':_0x5a0788(0x1b4),'onUpdate':()=>{const _0x191a6f=_0x5a0788,_0x33cb7e=_0x2660f5[_0x191a6f(0x131)];this[_0x191a6f(0x1b1)][_0x191a6f(0x182)][_0x191a6f(0x19b)](_0x72c8a6,_0x30ac3d,_0x33cb7e),this[_0x191a6f(0x1b1)]['quaternion'][_0x191a6f(0x11c)](_0x54fe65,_0x1b3288,_0x33cb7e);},'onComplete':()=>{const _0x5ad5ad=_0x5a0788;this[_0x5ad5ad(0x1bf)]=null,this['_pawn']===_0x37c4ca&&(this['_pawn']['possess'](),this['_pawn'][_0x5ad5ad(0x17e)]=!![]),_0x54ca1a();}});});}['tick'](_0x218e16){const _0x940394=_0x387313;!this['pawn']['world']&&this[_0x940394(0x14e)]['tick'](_0x218e16);}[_0x387313(0x110)](){const _0xff78a6=_0x387313;this[_0xff78a6(0x15f)](),this[_0xff78a6(0x190)]();const _0x2da235=this[_0xff78a6(0x181)][_0xff78a6(0x10e)];_0x2da235&&(_0x2da235['removeEventListener'](_0xff78a6(0x1b2),this['onPointerEnter']),_0x2da235[_0xff78a6(0x12b)]('pointerleave',this[_0xff78a6(0x171)]),_0x2da235[_0xff78a6(0x12b)](_0xff78a6(0x115),this[_0xff78a6(0x127)]),_0x2da235[_0xff78a6(0x12b)]('wheel',this[_0xff78a6(0x15a)]),_0x2da235['removeEventListener'](_0xff78a6(0xfa),this[_0xff78a6(0x119)]),_0x2da235[_0xff78a6(0x12b)](_0xff78a6(0x15b),this[_0xff78a6(0x18b)]),this[_0xff78a6(0x18c)]()),document['removeEventListener'](_0xff78a6(0x183),this[_0xff78a6(0x128)]),document[_0xff78a6(0x12b)](_0xff78a6(0x1c1),this[_0xff78a6(0x178)]),document[_0xff78a6(0x12b)](_0xff78a6(0x179),this[_0xff78a6(0x134)]),window[_0xff78a6(0x12b)](_0xff78a6(0x1a5),this['onWindowBlur']),this['pawn'][_0xff78a6(0x184)](),this[_0xff78a6(0x14e)][_0xff78a6(0x110)](),this['_pawn']=null;}[_0x387313(0x150)](_0x509ff7){const _0x29edfe=_0x387313;var _0x3ace44,_0xc647a7;this[_0x29edfe(0x102)][_0x29edfe(0x15c)](_0x509ff7);const _0x4915e8=this[_0x29edfe(0x181)][_0x29edfe(0x10e)];if(!_0x4915e8)throw Error('canvas\x20is\x20null');const _0x23eb3d=_0x4915e8[_0x29edfe(0x188)]();this[_0x29edfe(0x162)][_0x29edfe(0x14c)]((_0x509ff7[_0x29edfe(0x197)]-_0x23eb3d[_0x29edfe(0x173)])/_0x4915e8[_0x29edfe(0x143)]*0x2-0x1,0x1-(_0x509ff7[_0x29edfe(0x16b)]-_0x23eb3d[_0x29edfe(0x17f)])/_0x4915e8[_0x29edfe(0x141)]*0x2);if(this[_0x29edfe(0x1a9)][_0x29edfe(0x16f)]>0x0)return;const _0x368bdd=this[_0x29edfe(0x152)](),_0xb5c68e=(_0x3ace44=_0x368bdd===null||_0x368bdd===void 0?void 0:_0x368bdd['component'])!==null&&_0x3ace44!==void 0?_0x3ace44:null,_0x51f77c=(_0xc647a7=_0xb5c68e===null||_0xb5c68e===void 0?void 0:_0xb5c68e[_0x29edfe(0x1a1)])!==null&&_0xc647a7!==void 0?_0xc647a7:null;_0xb5c68e!==this[_0x29edfe(0x198)]&&(this[_0x29edfe(0x198)]&&this[_0x29edfe(0x146)](this[_0x29edfe(0x198)]),_0xb5c68e&&_0x368bdd&&this[_0x29edfe(0x16c)](_0xb5c68e,_0x368bdd[_0x29edfe(0x113)])),_0x51f77c!==this[_0x29edfe(0x163)]&&(this[_0x29edfe(0x163)]&&this[_0x29edfe(0x198)]&&this[_0x29edfe(0x180)](this[_0x29edfe(0x163)],this[_0x29edfe(0x198)]),_0x51f77c&&_0xb5c68e&&_0x368bdd&&this[_0x29edfe(0x16e)](_0x51f77c,_0xb5c68e,_0x368bdd['hit'])),this['hoveringComponent']=_0xb5c68e,this[_0x29edfe(0x163)]=_0x51f77c;}['clearHovering'](){const _0x1da8e1=_0x387313;this[_0x1da8e1(0x198)]&&this['fireComponentHoverEnd'](this['hoveringComponent']),this[_0x1da8e1(0x163)]&&this[_0x1da8e1(0x198)]&&this[_0x1da8e1(0x180)](this[_0x1da8e1(0x163)],this['hoveringComponent']),this[_0x1da8e1(0x198)]=null,this[_0x1da8e1(0x163)]=null;}[_0x387313(0x168)](_0x42313b){const _0x35274a=_0x387313;this[_0x35274a(0x1be)]['broadcast'](_0x42313b),this[_0x35274a(0x1a9)]['delete'](_0x42313b[_0x35274a(0x170)]);if(_0x42313b['button']!==0x0)return;const _0x3551f8=this['_tempVec2'][_0x35274a(0x116)](this[_0x35274a(0xfb)],this[_0x35274a(0x162)])[_0x35274a(0x122)]();if(_0x3551f8>0.005){this['clearClickTimer']();return;}this[_0x35274a(0x17a)]={'ctrlKey':_0x42313b[_0x35274a(0x161)],'shiftKey':_0x42313b['shiftKey'],'altKey':_0x42313b[_0x35274a(0x10c)]},!this[_0x35274a(0x1b3)]?this[_0x35274a(0x1a4)]():this[_0x35274a(0x135)]();}[_0x387313(0x1a4)](){const _0x58fad7=_0x387313,_0x3607f1=this[_0x58fad7(0x152)](),_0x42c54e=_0x3607f1===null||_0x3607f1===void 0?void 0:_0x3607f1[_0x58fad7(0x18e)];_0x42c54e instanceof SceneComponent&&_0x3607f1?(this[_0x58fad7(0x101)]=_0x42c54e,this[_0x58fad7(0x16d)]=_0x3607f1['hit'],this[_0x58fad7(0x1b3)]=window[_0x58fad7(0x1a2)](()=>{const _0x2166a8=_0x58fad7;this[_0x2166a8(0x1b3)]=null,this[_0x2166a8(0x101)]&&this[_0x2166a8(0x16d)]&&(this['fireClickEvents'](this[_0x2166a8(0x101)],this[_0x2166a8(0x16d)],![]),this['prepareClickComponent']=null,this['prepareClickHit']=null);},this[_0x58fad7(0x11d)])):this['_onClickNothingDelegate']['broadcast']();}[_0x387313(0x135)](){const _0x3b1308=_0x387313;this[_0x3b1308(0x15f)](),this[_0x3b1308(0x101)]&&this['prepareClickHit']?this['fireClickEvents'](this[_0x3b1308(0x101)],this[_0x3b1308(0x16d)],!![]):this['_onClickNothingDelegate'][_0x3b1308(0x15c)](),this[_0x3b1308(0x101)]=null,this['prepareClickHit']=null;}['onPointerDownEvent'](_0x1ce572){const _0x50e506=_0x387313;this['_onPointerDownDelegate'][_0x50e506(0x15c)](_0x1ce572),this[_0x50e506(0x1a9)][_0x50e506(0x13c)](_0x1ce572[_0x50e506(0x170)]);_0x1ce572[_0x50e506(0x170)]===0x0&&this[_0x50e506(0xfb)][_0x50e506(0x154)](this['pointerPosition']);const _0x236faf=this['getHitResultUnderCursor'](),_0x1451e0=_0x236faf===null||_0x236faf===void 0?void 0:_0x236faf['component'];_0x1451e0 instanceof SceneComponent&&_0x236faf&&this[_0x50e506(0x12d)](_0x1451e0,_0x236faf[_0x50e506(0x113)],_0x1ce572[_0x50e506(0x170)]);}['onPointerEnterEvent'](_0x1246b3){this['addCorePointerListeners']();}['onPointerLeaveEvent'](_0x557677){const _0xd54b9e=_0x387313;this[_0xd54b9e(0x18c)]();}['onPointerCancelEvent'](_0x598178){const _0x288ee8=_0x387313;this[_0x288ee8(0x148)][_0x288ee8(0x15c)](_0x598178);}[_0x387313(0x11f)](_0x36665e){const _0x9ec586=_0x387313;this[_0x9ec586(0x12e)][_0x9ec586(0x15c)](_0x36665e);}[_0x387313(0x14d)](_0x2495e8){const _0x59d180=_0x387313;this['_onKeyDownDelegate'][_0x59d180(0x15c)](_0x2495e8);}[_0x387313(0x11b)](_0x263ca1){const _0x3d0dfd=_0x387313;this['_onKeyUpDelegate'][_0x3d0dfd(0x15c)](_0x263ca1);}[_0x387313(0x153)](_0xdd3fc){const _0x5911b7=_0x387313;this['_onContextMenuDelegate'][_0x5911b7(0x15c)](_0xdd3fc);}[_0x387313(0x108)](_0x4d5ca5){const _0x2f2b0b=_0x387313;this[_0x2f2b0b(0x105)][_0x2f2b0b(0x15c)](_0x4d5ca5);}[_0x387313(0x1c0)](_0x159bf7){const _0x1e074d=_0x387313;this[_0x1e074d(0x109)]['broadcast'](_0x159bf7);}[_0x387313(0xfd)](_0x244dc3){const _0x51ebc3=_0x387313;this['_onRawClickDelegate'][_0x51ebc3(0x15c)](_0x244dc3);}[_0x387313(0x16c)](_0x57d804,_0x3812bc){const _0x15a4c0=_0x387313,_0x484290={'component':_0x57d804,'hit':_0x3812bc,'handled':![]};this[_0x15a4c0(0x1bb)][_0x15a4c0(0x15c)](_0x484290),!_0x484290[_0x15a4c0(0x1ba)]&&_0x57d804[_0x15a4c0(0xf9)]();}[_0x387313(0x146)](_0x2d9c42){const _0x30d12e=_0x387313,_0x3f2428={'component':_0x2d9c42,'hit':null,'handled':![]};this[_0x30d12e(0x1bc)][_0x30d12e(0x15c)](_0x3f2428),!_0x3f2428[_0x30d12e(0x1ba)]&&_0x2d9c42[_0x30d12e(0x1b6)]();}[_0x387313(0x174)](_0xc5cd71,_0x25ceee,_0x2b84c9){const _0x29f761=_0x387313,_0x43d2cc=Object['assign']({'component':_0xc5cd71,'hit':_0x25ceee,'handled':![]},this[_0x29f761(0x17a)]);_0x2b84c9?(this['_onComponentDoubleClickDelegate'][_0x29f761(0x15c)](_0x43d2cc),!_0x43d2cc['handled']&&_0xc5cd71[_0x29f761(0x1bd)]()):(this[_0x29f761(0x137)][_0x29f761(0x15c)](_0x43d2cc),!_0x43d2cc[_0x29f761(0x1ba)]&&_0xc5cd71[_0x29f761(0x165)]());}[_0x387313(0x12d)](_0x3de576,_0x3bb310,_0x3d2bc4){const _0x612983=_0x387313,_0x2225d7={'component':_0x3de576,'hit':_0x3bb310,'button':_0x3d2bc4,'handled':![]};this[_0x612983(0x111)][_0x612983(0x15c)](_0x2225d7);}['fireActorHoverBegin'](_0x2f67da,_0x432f24,_0x4855e9){const _0x8502de=_0x387313,_0xbde916={'actor':_0x2f67da,'component':_0x432f24,'hit':_0x4855e9,'handled':![]};this[_0x8502de(0xff)][_0x8502de(0x15c)](_0xbde916),!_0xbde916[_0x8502de(0x1ba)]&&_0x2f67da[_0x8502de(0x19d)](_0x432f24);}['fireActorHoverEnd'](_0x1d01e4,_0x346645){const _0x178eba=_0x387313,_0x510fac={'actor':_0x1d01e4,'component':_0x346645,'hit':null,'handled':![]};this[_0x178eba(0x1b8)][_0x178eba(0x15c)](_0x510fac),!_0x510fac[_0x178eba(0x1ba)]&&_0x1d01e4[_0x178eba(0x18f)](_0x346645);}[_0x387313(0x19e)](_0x178928,_0x3d3026,_0x5364b4,_0x138c3f){const _0x5027ae=_0x387313,_0x361922=Object[_0x5027ae(0x169)]({'actor':_0x178928,'component':_0x3d3026,'hit':_0x5364b4,'handled':![]},this[_0x5027ae(0x17a)]);_0x138c3f?(this[_0x5027ae(0x167)][_0x5027ae(0x15c)](_0x361922),!_0x361922['handled']&&_0x178928[_0x5027ae(0xfe)](_0x3d3026)):(this[_0x5027ae(0x107)][_0x5027ae(0x15c)](_0x361922),!_0x361922[_0x5027ae(0x1ba)]&&_0x178928[_0x5027ae(0x17b)](_0x3d3026));}[_0x387313(0x18a)](_0x435115,_0x51c089,_0x3e449e){const _0x46f3e1=_0x387313;this[_0x46f3e1(0x174)](_0x435115,_0x51c089,_0x3e449e);const _0x37afee=_0x435115[_0x46f3e1(0x1a1)];if(_0x37afee){if(_0x37afee['isClickEnabled'])this[_0x46f3e1(0x19e)](_0x37afee,_0x435115,_0x51c089,_0x3e449e);}}[_0x387313(0x15f)](){const _0x261e1f=_0x387313;this['leftClickTimer']&&(window[_0x261e1f(0x13a)](this[_0x261e1f(0x1b3)]),this[_0x261e1f(0x1b3)]=null);}[_0x387313(0x114)](){const _0x4c6fa6=_0x387313,_0x2370e0=this[_0x4c6fa6(0x181)]['canvas'];if(!_0x2370e0)return;_0x2370e0[_0x4c6fa6(0x1b5)](_0x4c6fa6(0x106),this[_0x4c6fa6(0x144)]),_0x2370e0['addEventListener'](_0x4c6fa6(0x185),this[_0x4c6fa6(0x103)]),_0x2370e0['addEventListener']('pointerdown',this[_0x4c6fa6(0x145)]);}[_0x387313(0x18c)](){const _0xea6e98=_0x387313,_0x256897=this[_0xea6e98(0x181)][_0xea6e98(0x10e)];if(!_0x256897)return;_0x256897[_0xea6e98(0x12b)](_0xea6e98(0x106),this[_0xea6e98(0x144)]),_0x256897[_0xea6e98(0x12b)]('pointerup',this['onPointerUp']),_0x256897[_0xea6e98(0x12b)](_0xea6e98(0x186),this[_0xea6e98(0x145)]);}[_0x387313(0x152)](_0x1daa0d=!![]){const _0x5f1595=_0x387313;return this[_0x5f1595(0x1ad)](this[_0x5f1595(0x162)]['x'],this['pointerPosition']['y'],_0x1daa0d);}[_0x387313(0x1ad)](_0x598ca5,_0x56059e,_0x56813b=!![]){const _0x2952a1=_0x387313;this[_0x2952a1(0x1ae)][_0x2952a1(0x14c)](_0x598ca5,_0x56059e),this[_0x2952a1(0x193)][_0x2952a1(0x13b)](this[_0x2952a1(0x1ae)],this[_0x2952a1(0x1b1)]);const _0x4f83b4=this[_0x2952a1(0x151)](_0x598ca5,_0x56059e);if(!_0x56813b)return _0x4f83b4[0x0]||null;for(const _0x25a0f2 of _0x4f83b4){const _0x3013ac=_0x25a0f2[_0x2952a1(0x18e)][_0x2952a1(0x1a7)]||_0x25a0f2[_0x2952a1(0x18e)]['isClickEnabled'],_0xe4b9c6=_0x25a0f2[_0x2952a1(0x18e)][_0x2952a1(0x1a1)],_0x874eb3=_0xe4b9c6&&(_0xe4b9c6[_0x2952a1(0x1a7)]||_0xe4b9c6[_0x2952a1(0x158)]);if(_0x3013ac||_0x874eb3)return _0x25a0f2;}return null;}['getAllHitResultUnderCursor'](_0x1640d8=!![]){const _0x2a4e8d=_0x387313;return this[_0x2a4e8d(0x151)](this['pointerPosition']['x'],this['pointerPosition']['y']);}[_0x387313(0x151)](_0x8c53d5,_0x4b942c){const _0x3a89c6=_0x387313;this[_0x3a89c6(0x1ae)][_0x3a89c6(0x14c)](_0x8c53d5,_0x4b942c),this[_0x3a89c6(0x193)][_0x3a89c6(0x13b)](this[_0x3a89c6(0x1ae)],this[_0x3a89c6(0x1b1)]);const _0x437206=this[_0x3a89c6(0x193)][_0x3a89c6(0xf8)][_0x3a89c6(0x129)],_0x483d3a=this['raycaster'][_0x3a89c6(0xf8)]['at'](this[_0x3a89c6(0x1b1)]['far']*0x2,new webgpu.Vector3()),_0x3cb16b=this[_0x3a89c6(0x189)][_0x3a89c6(0x112)][_0x3a89c6(0x138)](_0x437206,_0x483d3a,exports.CollisionChannel[_0x3a89c6(0x10a)]),_0x531f65=[];for(const _0x94f47a of _0x3cb16b){if(!_0x94f47a['collider']||!_0x94f47a[_0x3a89c6(0x15d)]['threeObject'])continue;if(this['camera']instanceof webgpu.PerspectiveCamera&&_0x94f47a[_0x3a89c6(0x159)]<this['camera']['near'])continue;const _0x3eed40={'distance':_0x94f47a[_0x3a89c6(0x159)],'point':_0x94f47a['point'],'object':_0x94f47a['collider'][_0x3a89c6(0x13e)],'uv':new webgpu.Vector2(0x0,0x0)};_0x531f65['push']({'component':_0x94f47a['collider'],'hit':_0x3eed40});if(_0x94f47a[_0x3a89c6(0x1a6)])break;}return _0x531f65;}[_0x387313(0x12f)](_0x24b1d3,_0x5d0207,_0x42b69b,_0x451905,_0xd619e8=null,_0xdc2b93=null){const _0xa018eb=_0x387313;this[_0xa018eb(0x14e)][_0xa018eb(0x12f)](_0x24b1d3,_0x5d0207,_0x42b69b,_0x451905,_0xd619e8,_0xdc2b93);}[_0x387313(0x12c)](_0x28ea33,_0x4f58da,_0x1ffb22={}){const _0xa1e2cd=_0x387313,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math[_0xa1e2cd(0xfc)](0.5)}=_0x1ffb22,_0x410586=new webgpu.Vector3(),_0x48b98a=new webgpu.Vector3();_0x28ea33[_0xa1e2cd(0x172)](_0x410586),_0x28ea33[_0xa1e2cd(0x118)](_0x48b98a);const _0x13b131=this[_0xa1e2cd(0x139)]['camera'];if(_0x13b131&&_0x13b131[_0xa1e2cd(0x13d)]){const _0x49acc8=_0x13b131[_0xa1e2cd(0x17c)]*(Math['PI']/0xb4),_0x477377=_0x48b98a['length']()*0.5,_0x3a3bdf=Math[_0xa1e2cd(0x132)](_0x477377/targetScreenRatio/Math['tan'](_0x49acc8/0x2),_0x13b131[_0xa1e2cd(0x117)]*0x2);let _0x5a0b7f=_0x13b131['quaternion'][_0xa1e2cd(0x123)]();if(computeOptimalQuat){const _0x48e48c=[new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,_0xa1e2cd(0x133)),new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0xa1e2cd(0x133)),new webgpu.Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,_0xa1e2cd(0x133)),new webgpu.Euler(-Math['PI']/0x6,0x0,0x0,_0xa1e2cd(0x133)),new webgpu.Euler(-Math['PI']/0x6,Math['PI'],0x0,_0xa1e2cd(0x133)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,_0xa1e2cd(0x133)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,_0xa1e2cd(0x133)),new webgpu.Euler(-Math['PI']/0x4,0x0,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,Math['PI'],0x0,_0xa1e2cd(0x133)),new webgpu.Euler(-Math['PI']/0x2,0x0,0x0,_0xa1e2cd(0x133)),new webgpu.Euler(-Math['PI']/0x3,0x0,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x3,Math['PI'],0x0,_0xa1e2cd(0x133)),new webgpu.Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,'YXZ')];let _0x2c72f8=-1;for(const _0x25f858 of _0x48e48c){const _0x24db90=new webgpu.Quaternion()[_0xa1e2cd(0x1ac)](_0x25f858),_0x770872=new webgpu.Vector3(0x0,0x0,0x1)[_0xa1e2cd(0x19c)](_0x24db90),_0x247ef3=_0x410586[_0xa1e2cd(0x123)]()['add'](_0x770872['multiplyScalar'](_0x3a3bdf)),_0x331a48=this[_0xa1e2cd(0x189)][_0xa1e2cd(0x112)]['lineTraceSingle'](_0x247ef3,_0x410586,exports.CollisionChannel[_0xa1e2cd(0x10a)]);let _0x514d60=![],_0x10301b=_0x3a3bdf;_0x331a48&&_0x331a48[_0xa1e2cd(0x1a6)]&&(_0x331a48[_0xa1e2cd(0x159)]<_0x3a3bdf-_0x477377*1.2&&(_0x514d60=!![],_0x10301b=_0x331a48['distance']));if(!_0x514d60){_0x5a0b7f=_0x24db90;break;}else _0x10301b>_0x2c72f8&&(_0x2c72f8=_0x10301b,_0x5a0b7f=_0x24db90);}}const _0x88db88=_0x5a0b7f;this[_0xa1e2cd(0x12f)](_0x410586,_0x88db88,_0x3a3bdf,_0x4f58da,onGoing,onFinished);}else {const _0x5d277e=_0x48b98a[_0xa1e2cd(0x122)]()*1.5,_0x2a99ff=new webgpu.Quaternion()[_0xa1e2cd(0x196)](new webgpu.Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0xa1e2cd(0x12f)](_0x410586,_0x2a99ff,_0x5d277e,_0x4f58da,onGoing,onFinished);}}['focusToObject'](_0xd53410,_0x58beb9,_0x29fcb4={}){const _0x1c29b2=_0x387313,_0x410aed=new webgpu.Box3()['setFromObject'](_0xd53410);this[_0x1c29b2(0x12c)](_0x410aed,_0x58beb9,_0x29fcb4);}}
|
|
95
98
|
|
|
96
|
-
|
|
99
|
+
const _0x3900df=_0x1ec5;(function(_0x21939f,_0x28ef13){const _0x1a015e=_0x1ec5,_0x299d10=_0x21939f();while(!![]){try{const _0x1cc326=parseInt(_0x1a015e(0x13f))/0x1+-parseInt(_0x1a015e(0x134))/0x2*(parseInt(_0x1a015e(0x141))/0x3)+-parseInt(_0x1a015e(0x144))/0x4*(parseInt(_0x1a015e(0x13a))/0x5)+parseInt(_0x1a015e(0x137))/0x6+parseInt(_0x1a015e(0x142))/0x7*(-parseInt(_0x1a015e(0x139))/0x8)+-parseInt(_0x1a015e(0x148))/0x9+parseInt(_0x1a015e(0x135))/0xa;if(_0x1cc326===_0x28ef13)break;else _0x299d10['push'](_0x299d10['shift']());}catch(_0x35ad10){_0x299d10['push'](_0x299d10['shift']());}}}(_0x15d9,0x3a0ee));function _0x1ec5(_0x4dee73,_0x19809a){_0x4dee73=_0x4dee73-0x132;const _0x15d990=_0x15d9();let _0x1ec5c4=_0x15d990[_0x4dee73];return _0x1ec5c4;}function _0x15d9(){const _0x5303eb=['10272330pinwAv','aspect','1240620UelHJC','createCamera','128ZfVSdr','655oQNBdH','warn','fov','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','type','259209WuofJI','bottom','3WeykzK','193984DldoGf','Perspective','2708iOAjwB','right','Invalid\x20camera\x20type','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','2794383pIeiyl','updataCamera','top','far','Orthographic','near','left','825680rXtYTx'];_0x15d9=function(){return _0x5303eb;};return _0x15d9();}class CameraFactory{static[_0x3900df(0x138)](_0x477a5a){const _0x472b49=_0x3900df;try{switch(_0x477a5a[_0x472b49(0x13e)]){case _0x472b49(0x143):{let _0x45561c=_0x477a5a;return new webgpu.PerspectiveCamera(_0x45561c['fov'],_0x45561c[_0x472b49(0x136)],_0x45561c[_0x472b49(0x132)],_0x45561c[_0x472b49(0x14b)]);}case _0x472b49(0x14c):{let _0x21e6a1=_0x477a5a;return new webgpu.OrthographicCamera(_0x21e6a1[_0x472b49(0x133)],_0x21e6a1['right'],_0x21e6a1[_0x472b49(0x14a)],_0x21e6a1[_0x472b49(0x140)],_0x21e6a1['near'],_0x21e6a1[_0x472b49(0x14b)]);}default:{throw new Error('Invalid\x20camera\x20type');}}}catch(_0x213410){return console[_0x472b49(0x13b)]('[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20',_0x213410),console[_0x472b49(0x13b)]('[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead'),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0x3900df(0x149)](_0x391f56,_0xd6a9ba){const _0x5129cc=_0x3900df;try{switch(_0x391f56[_0x5129cc(0x13e)]){case _0x5129cc(0x143):{let _0x1ce535=_0x391f56;if(_0xd6a9ba instanceof webgpu.PerspectiveCamera)return _0xd6a9ba[_0x5129cc(0x132)]=_0x1ce535['near'],_0xd6a9ba[_0x5129cc(0x14b)]=_0x1ce535[_0x5129cc(0x14b)],_0xd6a9ba[_0x5129cc(0x13c)]=_0x1ce535[_0x5129cc(0x13c)],_0xd6a9ba[_0x5129cc(0x136)]=_0x1ce535[_0x5129cc(0x136)],_0xd6a9ba;return new webgpu.PerspectiveCamera(_0x1ce535[_0x5129cc(0x13c)],_0x1ce535[_0x5129cc(0x136)],_0x1ce535['near'],_0x1ce535[_0x5129cc(0x14b)]);}case _0x5129cc(0x14c):{let _0x33c017=_0x391f56;if(_0xd6a9ba instanceof webgpu.OrthographicCamera)return _0xd6a9ba[_0x5129cc(0x132)]=_0x33c017['near'],_0xd6a9ba[_0x5129cc(0x14b)]=_0x33c017[_0x5129cc(0x14b)],_0xd6a9ba['left']=_0x33c017[_0x5129cc(0x133)],_0xd6a9ba['right']=_0x33c017[_0x5129cc(0x145)],_0xd6a9ba[_0x5129cc(0x14a)]=_0x33c017[_0x5129cc(0x14a)],_0xd6a9ba[_0x5129cc(0x140)]=_0x33c017[_0x5129cc(0x140)],_0xd6a9ba;return new webgpu.OrthographicCamera(_0x33c017['left'],_0x33c017[_0x5129cc(0x145)],_0x33c017[_0x5129cc(0x14a)],_0x33c017[_0x5129cc(0x140)],_0x33c017[_0x5129cc(0x132)],_0x33c017[_0x5129cc(0x14b)]);}default:{throw new Error(_0x5129cc(0x146));}}}catch(_0xe846d1){return console[_0x5129cc(0x13b)](_0x5129cc(0x13d),_0xe846d1),console['warn'](_0x5129cc(0x147)),_0xd6a9ba;}}}
|
|
97
100
|
|
|
98
|
-
(function(
|
|
101
|
+
const _0x23996b=_0xc028;(function(_0x50ca40,_0x564336){const _0x1b8268=_0xc028,_0x1b1edf=_0x50ca40();while(!![]){try{const _0x53cb83=parseInt(_0x1b8268(0x1f1))/0x1+parseInt(_0x1b8268(0x1f2))/0x2*(-parseInt(_0x1b8268(0x1ef))/0x3)+parseInt(_0x1b8268(0x1e8))/0x4*(-parseInt(_0x1b8268(0x1ee))/0x5)+parseInt(_0x1b8268(0x1ed))/0x6+-parseInt(_0x1b8268(0x1e7))/0x7+-parseInt(_0x1b8268(0x1e9))/0x8+parseInt(_0x1b8268(0x1ea))/0x9*(parseInt(_0x1b8268(0x1eb))/0xa);if(_0x53cb83===_0x564336)break;else _0x1b1edf['push'](_0x1b1edf['shift']());}catch(_0x4dd20e){_0x1b1edf['push'](_0x1b1edf['shift']());}}}(_0x179d,0xc348c));function _0xc028(_0x277732,_0x1f3c38){_0x277732=_0x277732-0x1e7;const _0x179d1d=_0x179d();let _0xc028c2=_0x179d1d[_0x277732];return _0xc028c2;}const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':'Perspective','fov':0x32,'aspect':0x1};function _0x179d(){const _0x451e19=['parse','5707428qXEobq','5oMtJII','157386XBdBhq','stringify','1472051eQYfdN','12qAqbIR','Orthographic','2460990ZjOZwR','3831380HeNvpY','5356080XWlMcM','81522NnZZKI','740ExBTtb'];_0x179d=function(){return _0x451e19;};return _0x179d();}const DefaultOrthographicCameraParam={'type':_0x23996b(0x1f3),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON[_0x23996b(0x1ec)](JSON[_0x23996b(0x1f0)](DefaultPerspectiveCameraParam));
|
|
99
102
|
|
|
100
|
-
|
|
103
|
+
(function(_0x1ebc4d,_0x29d5b8){const _0xc69491=_0x422e,_0x383c92=_0x1ebc4d();while(!![]){try{const _0x147896=-parseInt(_0xc69491(0x11a))/0x1+parseInt(_0xc69491(0x119))/0x2*(-parseInt(_0xc69491(0x11f))/0x3)+-parseInt(_0xc69491(0x122))/0x4*(parseInt(_0xc69491(0x11c))/0x5)+parseInt(_0xc69491(0x120))/0x6*(-parseInt(_0xc69491(0x11b))/0x7)+-parseInt(_0xc69491(0x11d))/0x8+parseInt(_0xc69491(0x11e))/0x9+parseInt(_0xc69491(0x121))/0xa*(parseInt(_0xc69491(0x118))/0xb);if(_0x147896===_0x29d5b8)break;else _0x383c92['push'](_0x383c92['shift']());}catch(_0x5e9afa){_0x383c92['push'](_0x383c92['shift']());}}}(_0x22b2,0x38b1a));function _0x422e(_0x3d3276,_0x4baaf7){_0x3d3276=_0x3d3276-0x118;const _0x22b2a6=_0x22b2();let _0x422e75=_0x22b2a6[_0x3d3276];return _0x422e75;}const DefaultAppParam={'dracoPath':'','cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};function _0x22b2(){const _0x9f04dc=['3tFdTpC','11982XKQvfd','4502950Iiaceq','307636yKBxyG','22mMHluI','844846mBnXxc','103095FZcVyU','21rKXEWs','5nRqigH','648152islsUJ','189585jHmcTQ'];_0x22b2=function(){return _0x9f04dc;};return _0x22b2();}
|
|
101
104
|
|
|
102
|
-
|
|
105
|
+
function _0x2393(_0x52b305,_0xf62f58){_0x52b305=_0x52b305-0x19f;const _0x102c8a=_0x102c();let _0x2393b8=_0x102c8a[_0x52b305];return _0x2393b8;}function _0x102c(){const _0x2780b7=['disposeMaterialTextures','8065xEPqAF','1670102iGfNMi','children','5269944qRydPp','disposeMeshMaterial','dispose','78460WimMsG','778207zrFMJE','744FWfWQm','8juKwDn','16glZtzX','disposeObject3DResource','isObject3D','forEach','material','geometry','130617onjrBo','keys','has','disposeMeshResource','source','isArray','3091yGrXkS','isBufferGeometry','7134507QEGjxO'];_0x102c=function(){return _0x2780b7;};return _0x102c();}const _0x2eb63e=_0x2393;(function(_0x5deb93,_0x87847b){const _0x2b4498=_0x2393,_0x4f5a7c=_0x5deb93();while(!![]){try{const _0xdaec48=-parseInt(_0x2b4498(0x1a7))/0x1+parseInt(_0x2b4498(0x1a9))/0x2*(parseInt(_0x2b4498(0x1b0))/0x3)+-parseInt(_0x2b4498(0x1a3))/0x4+-parseInt(_0x2b4498(0x1a0))/0x5*(-parseInt(_0x2b4498(0x1a8))/0x6)+-parseInt(_0x2b4498(0x1a1))/0x7*(parseInt(_0x2b4498(0x1aa))/0x8)+parseInt(_0x2b4498(0x1b8))/0x9+parseInt(_0x2b4498(0x1a6))/0xa*(parseInt(_0x2b4498(0x1b6))/0xb);if(_0xdaec48===_0x87847b)break;else _0x4f5a7c['push'](_0x4f5a7c['shift']());}catch(_0x30f25a){_0x4f5a7c['push'](_0x4f5a7c['shift']());}}}(_0x102c,0xc3020));class ThreeObjectLibrary{static['disposeMaterialTextures'](_0x2ea876){const _0x268d1b=_0x2393,_0x6112c1=new Set(),_0x582039=new Set(['parent',_0x268d1b(0x1a2),_0x268d1b(0x1af),_0x268d1b(0x1b4)]),_0x5ec688=_0x425fde=>{const _0x5ca93b=_0x268d1b;if(!_0x425fde||typeof _0x425fde!=='object'||_0x6112c1[_0x5ca93b(0x1b2)](_0x425fde))return;if(_0x425fde[_0x5ca93b(0x1ac)]||_0x425fde['isScene']||_0x425fde['isMesh']||_0x425fde[_0x5ca93b(0x1b7)])return;_0x6112c1['add'](_0x425fde);if('isTexture'in _0x425fde){_0x425fde['dispose']();return;}Object['keys'](_0x425fde)[_0x5ca93b(0x1ad)](_0x16ce02=>{const _0xb9e4f4=_0x5ca93b;if(_0x582039[_0xb9e4f4(0x1b2)](_0x16ce02))return;_0x5ec688(_0x425fde[_0x16ce02]);});};Object[_0x268d1b(0x1b1)](_0x2ea876)['forEach'](_0x13fa6f=>{_0x5ec688(_0x2ea876[_0x13fa6f]);});}static[_0x2eb63e(0x1a4)](_0x24dff7){const _0x3309e4=_0x2eb63e;let _0xcc82c0=Array[_0x3309e4(0x1b5)](_0x24dff7[_0x3309e4(0x1ae)])?_0x24dff7[_0x3309e4(0x1ae)]:[_0x24dff7[_0x3309e4(0x1ae)]];_0xcc82c0['forEach'](_0x58124f=>{const _0x3a831f=_0x3309e4;ThreeObjectLibrary[_0x3a831f(0x19f)](_0x58124f),_0x58124f[_0x3a831f(0x1a5)]();});}static[_0x2eb63e(0x1b3)](_0x4082eb,_0x583f98=![]){const _0x5c5d70=_0x2eb63e;ThreeObjectLibrary['disposeMeshMaterial'](_0x4082eb),_0x4082eb[_0x5c5d70(0x1af)][_0x5c5d70(0x1a5)](),_0x583f98&&_0x4082eb[_0x5c5d70(0x1a2)][_0x5c5d70(0x1ad)](_0x471763=>{_0x471763 instanceof webgpu.Mesh&&ThreeObjectLibrary['disposeMeshResource'](_0x471763,!![]);});}static[_0x2eb63e(0x1ab)](_0x4321a8){_0x4321a8['traverse'](_0x230189=>{const _0x1b3ab5=_0x2393;_0x230189 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x1b3ab5(0x1b3)](_0x230189);});}}
|
|
103
106
|
|
|
104
|
-
var
|
|
107
|
+
var _0x108cbc=_0x4b78;function _0x5c8a(){var _0x5b55f1=['649486YmfbdE','10427490XMPkEg','5wsHCWu','obj','LYObject','16bBNyzB','22mfFPSw','threeObject','1382550avKkmH','1132844sTALhF','three\x20object\x20is\x20invalid','1445311OHtpdq','9nLCGcN','879390lmUUDb','4045952lsWLgA'];_0x5c8a=function(){return _0x5b55f1;};return _0x5c8a();}function _0x4b78(_0x4ef3d9,_0x5c8eeb){_0x4ef3d9=_0x4ef3d9-0x198;var _0x5c8a8e=_0x5c8a();var _0x4b7895=_0x5c8a8e[_0x4ef3d9];return _0x4b7895;}(function(_0x155ea2,_0x46d811){var _0x41166a=_0x4b78,_0x3861b5=_0x155ea2();while(!![]){try{var _0x4fb6df=-parseInt(_0x41166a(0x19e))/0x1+parseInt(_0x41166a(0x1a4))/0x2*(-parseInt(_0x41166a(0x1a1))/0x3)+parseInt(_0x41166a(0x1a3))/0x4+-parseInt(_0x41166a(0x1a6))/0x5*(parseInt(_0x41166a(0x1a2))/0x6)+parseInt(_0x41166a(0x1a0))/0x7*(parseInt(_0x41166a(0x19a))/0x8)+parseInt(_0x41166a(0x1a5))/0x9+parseInt(_0x41166a(0x19d))/0xa*(parseInt(_0x41166a(0x19b))/0xb);if(_0x4fb6df===_0x46d811)break;else _0x3861b5['push'](_0x3861b5['shift']());}catch(_0x47b2e5){_0x3861b5['push'](_0x3861b5['shift']());}}}(_0x5c8a,0x93edc));class LevelComponent extends SceneComponent{get[_0x108cbc(0x19c)](){var _0x321ee0=_0x108cbc;if(!this[_0x321ee0(0x198)])throw Error(_0x321ee0(0x19f));return this[_0x321ee0(0x198)];}set[_0x108cbc(0x19c)](_0x10b09f){var _0x45d08b=_0x108cbc;this[_0x45d08b(0x198)]=_0x10b09f,this['obj']&&(this[_0x45d08b(0x198)]['userData'][_0x45d08b(0x199)]=this);}constructor(_0xeee957,_0x1a04a5){super(_0xeee957,_0x1a04a5);}['createDefaultObject'](){return new three.Scene();}}
|
|
105
108
|
|
|
106
|
-
function
|
|
109
|
+
var _0x4bceb4=_0x1432;function _0x30db(){var _0x5d178e=['4453194dyeESx','uuid','493516xMxPzN','4161920hSCHHQ','scene\x20is\x20null','clearLevel','5150pENdjl','tick','disposeMeshResource','isTickEnabled','destroy','rootComponent','42165MgCZJM','childActors','5018304XKUVhL','315893nvOXYN','scene','constructRootComponent','3yxuDpe','traverse','7OuUzKX','threeObject','_scene','forEach','1947060MqhHod'];_0x30db=function(){return _0x5d178e;};return _0x30db();}(function(_0x5ce078,_0x19e673){var _0x42c62d=_0x1432,_0x5231bb=_0x5ce078();while(!![]){try{var _0x9a44c9=-parseInt(_0x42c62d(0xe0))/0x1+parseInt(_0x42c62d(0xd0))/0x2+parseInt(_0x42c62d(0xe3))/0x3*(parseInt(_0x42c62d(0xd3))/0x4)+parseInt(_0x42c62d(0xd4))/0x5+parseInt(_0x42c62d(0xd1))/0x6*(parseInt(_0x42c62d(0xe5))/0x7)+parseInt(_0x42c62d(0xdf))/0x8+-parseInt(_0x42c62d(0xdd))/0x9*(parseInt(_0x42c62d(0xd7))/0xa);if(_0x9a44c9===_0x19e673)break;else _0x5231bb['push'](_0x5231bb['shift']());}catch(_0x1e12d5){_0x5231bb['push'](_0x5231bb['shift']());}}}(_0x30db,0x8b300));function _0x1432(_0x5bf637,_0x417128){_0x5bf637=_0x5bf637-0xce;var _0x30dbbc=_0x30db();var _0x14323c=_0x30dbbc[_0x5bf637];return _0x14323c;}class LevelActor extends Actor{get[_0x4bceb4(0xe1)](){var _0x211091=_0x4bceb4;if(!this[_0x211091(0xce)])throw new Error(_0x211091(0xd5));return this[_0x211091(0xce)];}constructor(_0x2214a1,_0x1db2ff){var _0x1c9618=_0x4bceb4;super(_0x2214a1,_0x1db2ff),this[_0x1c9618(0xce)]=null,this[_0x1c9618(0xce)]=this[_0x1c9618(0xdc)][_0x1c9618(0xe6)],this['isTickEnabled']=![];}[_0x4bceb4(0xe2)](){var _0x17c163=_0x4bceb4;return new LevelComponent(this['app'],this[_0x17c163(0xd2)]);}[_0x4bceb4(0xd8)](_0xb96595){var _0x937a0d=_0x4bceb4;if(!this[_0x937a0d(0xda)])return;super[_0x937a0d(0xd8)](_0xb96595);}[_0x4bceb4(0xdb)](){var _0x3b2686=_0x4bceb4;this[_0x3b2686(0xd6)](),super[_0x3b2686(0xdb)]();}[_0x4bceb4(0xd6)](){var _0x2d9067=_0x4bceb4;this[_0x2d9067(0xde)][_0x2d9067(0xcf)](_0x36f882=>{_0x36f882['destroy']();}),this['scene'][_0x2d9067(0xe4)](_0x183a98=>{var _0x563493=_0x2d9067;_0x183a98 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x563493(0xd9)](_0x183a98);});}}
|
|
107
110
|
|
|
108
|
-
const
|
|
111
|
+
function _0x2f26(){const _0x4ec1aa=['84156aMMiAW','172319oEuglB','1308eKqIgZ','91157UUKpvD','3gQVoRa','5gsTWJe','261228nxlano','20jWbsNJ','97918NLtmeZ','521866iaoXVg','385074rwYisY','8wgmONL'];_0x2f26=function(){return _0x4ec1aa;};return _0x2f26();}(function(_0x36f29a,_0x6d24f8){const _0x2d13ac=_0x1cfa,_0x2424fe=_0x36f29a();while(!![]){try{const _0x1ff14f=-parseInt(_0x2d13ac(0x132))/0x1+-parseInt(_0x2d13ac(0x13d))/0x2*(-parseInt(_0x2d13ac(0x139))/0x3)+-parseInt(_0x2d13ac(0x13b))/0x4*(parseInt(_0x2d13ac(0x13a))/0x5)+parseInt(_0x2d13ac(0x135))/0x6+parseInt(_0x2d13ac(0x136))/0x7*(parseInt(_0x2d13ac(0x134))/0x8)+-parseInt(_0x2d13ac(0x133))/0x9*(parseInt(_0x2d13ac(0x13c))/0xa)+-parseInt(_0x2d13ac(0x138))/0xb*(-parseInt(_0x2d13ac(0x137))/0xc);if(_0x1ff14f===_0x6d24f8)break;else _0x2424fe['push'](_0x2424fe['shift']());}catch(_0x197311){_0x2424fe['push'](_0x2424fe['shift']());}}}(_0x2f26,0x4dabc));function _0x1cfa(_0x14e43c,_0x4bd155){_0x14e43c=_0x14e43c-0x132;const _0x2f26a9=_0x2f26();let _0x1cfae8=_0x2f26a9[_0x14e43c];return _0x1cfae8;}const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
109
112
|
|
|
110
|
-
function
|
|
113
|
+
const _0xfaea6b=_0x2981;(function(_0x332a0b,_0x1c3d81){const _0x1c1b95=_0x2981,_0x4f72f3=_0x332a0b();while(!![]){try{const _0x488751=-parseInt(_0x1c1b95(0x16d))/0x1+parseInt(_0x1c1b95(0x16c))/0x2*(-parseInt(_0x1c1b95(0x16b))/0x3)+-parseInt(_0x1c1b95(0x15e))/0x4+parseInt(_0x1c1b95(0x18f))/0x5+parseInt(_0x1c1b95(0x159))/0x6*(-parseInt(_0x1c1b95(0x17b))/0x7)+parseInt(_0x1c1b95(0x15b))/0x8+parseInt(_0x1c1b95(0x173))/0x9;if(_0x488751===_0x1c3d81)break;else _0x4f72f3['push'](_0x4f72f3['shift']());}catch(_0x32fa53){_0x4f72f3['push'](_0x4f72f3['shift']());}}}(_0x2ffc,0x4d96d));function _0x2ffc(){const _0x2b9756=['getDelta','AssetManager','onCameraChangedDelegate','assetManagerClass','_camera','2799120hDxgnP','[ThreeJsApp]\x20assetManager.dispose\x20失败:','renderAsImage','clear','assetManagerReady','classes','aspect','forEach','viewportClass','push','catch','assetManager','clock','controllerClass','_isTickPaused','AssetManager\x20not\x20initialized\x20yet\x20-\x20await\x20assetManagerReady()\x20first','594kJyXlQ','log','4823904yArPXg','resolve','then','2017612fAmEzK','_clock','camera','update','setTickPaused','dracoPath','[ThreeJsApp]\x20world.destroy\x20失败:','_onCameraChangedDelegate','worldParam','controller','_controller','setAnimationLoop','_destroyed','12pemUNJ','125306gaJdNH','326726QszplA','postConstruct','removeTickingFunction','tick','indexOf','worldClass','4428495sEmTOS','warn','_assetManagerReady','broadcast','markRenderStateDirty','createCamera','_viewport','viewport','18053Ajvcmm','world','_tickingFunctions','render','_disposeAssetManager','init','dispose','destroy','_assetManager','splice','onWindowResize','cameraParam','updateCamera','_world','renderer'];_0x2ffc=function(){return _0x2b9756;};return _0x2ffc();}function _0x2981(_0x134b4f,_0x608acc){_0x134b4f=_0x134b4f-0x151;const _0x2ffc43=_0x2ffc();let _0x2981c2=_0x2ffc43[_0x134b4f];return _0x2981c2;}let _AssetManagerClassPromise=null;function getAssetManagerClassAsync(){const _0x50fcf7=_0x2981;return !_AssetManagerClassPromise&&(_AssetManagerClassPromise=Promise.resolve().then(function () { return AssetManager$1; })[_0x50fcf7(0x15d)](_0x19e914=>_0x19e914[_0x50fcf7(0x18b)])),_AssetManagerClassPromise;}class ThreeJsApp{get['camera'](){const _0x56f092=_0x2981;return this[_0x56f092(0x18e)];}get[_0xfaea6b(0x155)](){return this['_clock'];}get[_0xfaea6b(0x17c)](){const _0x209641=_0xfaea6b;return this[_0x209641(0x188)];}get[_0xfaea6b(0x17a)](){const _0x470297=_0xfaea6b;return this[_0x470297(0x179)];}get['controller'](){const _0x59404d=_0xfaea6b;return this[_0x59404d(0x168)];}get[_0xfaea6b(0x154)](){const _0x13884d=_0xfaea6b;if(!this['_assetManager'])throw new Error(_0x13884d(0x158));return this['_assetManager'];}get[_0xfaea6b(0x193)](){const _0x3c74ab=_0xfaea6b;return this[_0x3c74ab(0x175)];}get[_0xfaea6b(0x18c)](){const _0x53ea65=_0xfaea6b;return this[_0x53ea65(0x165)];}constructor(_0x341292=DefaultAppParam){const _0x256c88=_0xfaea6b;var _0x279a89,_0x1bb3c5,_0x28c1fc,_0x3d65f2;this[_0x256c88(0x183)]=null,this[_0x256c88(0x17d)]=[],this[_0x256c88(0x157)]=![],this[_0x256c88(0x16a)]=![],this[_0x256c88(0x165)]=new Delegate();const _0x3dcefc=(_0x279a89=_0x341292[_0x256c88(0x186)])!==null&&_0x279a89!==void 0?_0x279a89:DefaultCameraParam,_0x3d7f62=(_0x1bb3c5=_0x341292[_0x256c88(0x166)])!==null&&_0x1bb3c5!==void 0?_0x1bb3c5:DefaultWorldParam,_0x37a222=(_0x28c1fc=_0x341292['viewportParam'])!==null&&_0x28c1fc!==void 0?_0x28c1fc:DefaultViewportParam,_0x3cb9d7=(_0x3d65f2=_0x341292[_0x256c88(0x194)])!==null&&_0x3d65f2!==void 0?_0x3d65f2:{'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport};this[_0x256c88(0x15f)]=new webgpu.Timer(),this[_0x256c88(0x18e)]=CameraFactory[_0x256c88(0x178)](_0x3dcefc),this[_0x256c88(0x188)]=new _0x3cb9d7[(_0x256c88(0x172))](this,_0x3d7f62),this[_0x256c88(0x179)]=new _0x3cb9d7[(_0x256c88(0x151))](this,_0x37a222),this[_0x256c88(0x168)]=new _0x3cb9d7[(_0x256c88(0x156))](this),_0x3cb9d7[_0x256c88(0x18d)]?(this[_0x256c88(0x183)]=new _0x3cb9d7[(_0x256c88(0x18d))](this,_0x341292[_0x256c88(0x163)]),this[_0x256c88(0x175)]=Promise[_0x256c88(0x15c)]()):(this[_0x256c88(0x175)]=getAssetManagerClassAsync()[_0x256c88(0x15d)](_0x11f61e=>{const _0x3a0cc6=_0x256c88;if(this[_0x3a0cc6(0x16a)])return;this[_0x3a0cc6(0x183)]=new _0x11f61e(this,_0x341292['dracoPath']);}),void this[_0x256c88(0x175)][_0x256c88(0x153)](()=>{})),this[_0x256c88(0x17a)][_0x256c88(0x189)][_0x256c88(0x169)](()=>{const _0x75fd5=_0x256c88;this['_clock'][_0x75fd5(0x161)]();const _0x2f7471=this[_0x75fd5(0x15f)][_0x75fd5(0x18a)]();this[_0x75fd5(0x170)](_0x2f7471);}),this[_0x256c88(0x16e)]();}[_0xfaea6b(0x16e)](){const _0x402336=_0xfaea6b;this[_0x402336(0x167)][_0x402336(0x180)](),this[_0x402336(0x17c)][_0x402336(0x180)](),this[_0x402336(0x17a)]['init']();}['init'](){}[_0xfaea6b(0x170)](_0x3e932a){const _0x3915a7=_0xfaea6b;if(this['_isTickPaused'])return;this[_0x3915a7(0x168)]['tick'](_0x3e932a),this[_0x3915a7(0x17c)][_0x3915a7(0x170)](_0x3e932a),this[_0x3915a7(0x17d)][_0x3915a7(0x196)](_0x222995=>{_0x222995(_0x3e932a);}),this[_0x3915a7(0x17a)][_0x3915a7(0x177)](),this[_0x3915a7(0x17a)][_0x3915a7(0x17e)]();}[_0xfaea6b(0x162)](_0x1a30e3){const _0x3a4e07=_0xfaea6b;console[_0x3a4e07(0x15a)]('setTickPaused',_0x1a30e3),this[_0x3a4e07(0x157)]=_0x1a30e3;}['addTickingFunction'](_0x21cccb){const _0x361c5f=_0xfaea6b;this[_0x361c5f(0x17d)][_0x361c5f(0x152)](_0x21cccb);}[_0xfaea6b(0x16f)](_0x40826b){const _0x4a7149=_0xfaea6b,_0x5625ed=this[_0x4a7149(0x17d)][_0x4a7149(0x171)](_0x40826b);_0x5625ed>=0x0&&this[_0x4a7149(0x17d)][_0x4a7149(0x184)](_0x5625ed,0x1);}['destroy'](){const _0x362eff=_0xfaea6b;if(this[_0x362eff(0x16a)])return;this[_0x362eff(0x16a)]=!![],this[_0x362eff(0x18c)][_0x362eff(0x192)]();try{this['controller'][_0x362eff(0x182)]();}catch(_0x383f73){console[_0x362eff(0x174)]('[ThreeJsApp]\x20controller.destroy\x20失败:',_0x383f73);}try{this[_0x362eff(0x17c)][_0x362eff(0x182)]();}catch(_0x288169){console[_0x362eff(0x174)](_0x362eff(0x164),_0x288169);}try{this[_0x362eff(0x17f)]();}catch(_0xd53af3){console[_0x362eff(0x174)](_0x362eff(0x190),_0xd53af3);}this[_0x362eff(0x17a)][_0x362eff(0x182)]();}[_0xfaea6b(0x17f)](){const _0x4f1488=_0xfaea6b;if(this[_0x4f1488(0x183)]){this[_0x4f1488(0x183)][_0x4f1488(0x181)]();return;}void this[_0x4f1488(0x175)][_0x4f1488(0x15d)](()=>{const _0x1e6d0f=_0x4f1488;var _0xf07f8f;return (_0xf07f8f=this[_0x1e6d0f(0x183)])===null||_0xf07f8f===void 0?void 0:_0xf07f8f[_0x1e6d0f(0x181)]();})['catch'](()=>{});}[_0xfaea6b(0x187)](_0x4ae9d9){const _0x100f7c=_0xfaea6b,_0x57c756=this[_0x100f7c(0x160)];this['_camera']=CameraFactory['updataCamera'](_0x4ae9d9,this['camera']),_0x57c756!==this[_0x100f7c(0x160)]&&(this[_0x100f7c(0x165)][_0x100f7c(0x176)](),this[_0x100f7c(0x167)]['updateCamera']()),this[_0x100f7c(0x18e)]['updateProjectionMatrix'](),this[_0x100f7c(0x17a)]['markRenderStateDirty']();}[_0xfaea6b(0x185)](_0x1b2e94,_0x566e37){const _0x5b2712=_0xfaea6b;this[_0x5b2712(0x160)]instanceof webgpu.PerspectiveCamera&&(this[_0x5b2712(0x160)][_0x5b2712(0x195)]=_0x1b2e94/_0x566e37),this[_0x5b2712(0x160)]['updateProjectionMatrix']();}async[_0xfaea6b(0x191)](_0x1ef703=0x400,_0x5603d5=0x400){const _0x599fa6=_0xfaea6b;return await this[_0x599fa6(0x17a)]['renderAsImage'](_0x1ef703,_0x5603d5);}}
|
|
111
114
|
|
|
112
|
-
var
|
|
115
|
+
var _0x56ff93=_0x993c;function _0x993c(_0x27f973,_0x158b4a){_0x27f973=_0x27f973-0x13a;var _0x41b61c=_0x41b6();var _0x993c9=_0x41b61c[_0x27f973];return _0x993c9;}(function(_0x2e90ce,_0x48a8e2){var _0x56e187=_0x993c,_0x201f1d=_0x2e90ce();while(!![]){try{var _0x164422=-parseInt(_0x56e187(0x13e))/0x1*(-parseInt(_0x56e187(0x13a))/0x2)+-parseInt(_0x56e187(0x144))/0x3*(-parseInt(_0x56e187(0x14a))/0x4)+parseInt(_0x56e187(0x140))/0x5*(parseInt(_0x56e187(0x147))/0x6)+-parseInt(_0x56e187(0x13d))/0x7*(-parseInt(_0x56e187(0x141))/0x8)+-parseInt(_0x56e187(0x148))/0x9+-parseInt(_0x56e187(0x13c))/0xa+-parseInt(_0x56e187(0x142))/0xb;if(_0x164422===_0x48a8e2)break;else _0x201f1d['push'](_0x201f1d['shift']());}catch(_0x4687cb){_0x201f1d['push'](_0x201f1d['shift']());}}}(_0x41b6,0x8d0b2));class LightComponent extends SceneComponent{get[_0x56ff93(0x14b)](){var _0x25b241=_0x56ff93;if(!this[_0x25b241(0x143)])throw Error(_0x25b241(0x146));return this[_0x25b241(0x143)];}set[_0x56ff93(0x14b)](_0x1853af){var _0x2d73b9=_0x56ff93;this[_0x2d73b9(0x143)]=_0x1853af,this[_0x2d73b9(0x143)]&&(this[_0x2d73b9(0x143)][_0x2d73b9(0x13f)][_0x2d73b9(0x149)]=this);}get[_0x56ff93(0x145)](){var _0x3425e7=_0x56ff93;return this[_0x3425e7(0x14b)][_0x3425e7(0x145)][_0x3425e7(0x14c)]();}set['color'](_0x51bcae){var _0x1594d2=_0x56ff93;this[_0x1594d2(0x14b)]['color']['set'](_0x51bcae);}get[_0x56ff93(0x13b)](){var _0x4300db=_0x56ff93;return this['threeObject'][_0x4300db(0x13b)];}set[_0x56ff93(0x13b)](_0x95bd46){var _0x24765e=_0x56ff93;this[_0x24765e(0x14b)]['intensity']=_0x95bd46;}constructor(_0x1dfdc6,_0x2210be){super(_0x1dfdc6,_0x2210be);}}function _0x41b6(){var _0x22fb9c=['6155ziayeA','2317344cRAylx','1428614uuREeb','obj','3bCEbGS','color','three\x20object\x20is\x20invalid','3804ePUQFl','7437690YFWunT','LYObject','2649032jxSQGl','threeObject','getHex','32790vdbzVA','intensity','10673170TlEcLZ','7iXfvWG','53pswoUE','userData'];_0x41b6=function(){return _0x22fb9c;};return _0x41b6();}
|
|
113
116
|
|
|
114
|
-
var
|
|
117
|
+
var _0x35c90a=_0x4c8c;(function(_0x283822,_0x41aa16){var _0x151951=_0x4c8c,_0x5b9595=_0x283822();while(!![]){try{var _0x4b3798=parseInt(_0x151951(0xab))/0x1+parseInt(_0x151951(0xa8))/0x2+-parseInt(_0x151951(0xb6))/0x3+-parseInt(_0x151951(0xac))/0x4*(-parseInt(_0x151951(0xc1))/0x5)+-parseInt(_0x151951(0xa9))/0x6*(-parseInt(_0x151951(0xbd))/0x7)+parseInt(_0x151951(0xaf))/0x8+-parseInt(_0x151951(0xb5))/0x9;if(_0x4b3798===_0x41aa16)break;else _0x5b9595['push'](_0x5b9595['shift']());}catch(_0xed6744){_0x5b9595['push'](_0x5b9595['shift']());}}}(_0x43f3,0xc6dae));function _0x4c8c(_0x2ea75a,_0xa32b2a){_0x2ea75a=_0x2ea75a-0xa7;var _0x43f301=_0x43f3();var _0x4c8c92=_0x43f301[_0x2ea75a];return _0x4c8c92;}function _0x43f3(){var _0x237ef2=['destroy','intensity','682640JemCRP','castShadow','createDefaultObject','set','threeObject','viewport','21734838WyfyaR','187272whPZFS','three\x20object\x20is\x20invalid','world','setPosition','length','onAddedToWorld','color','28ERNZfv','obj','userData','markRenderStateDirty','1405GBPJrm','update','1227298USvqeP','618330hcRJWZ','LYObject','861422NeMAFm','18780opCHNT'];_0x43f3=function(){return _0x237ef2;};return _0x43f3();}class DirectionalLightComponent extends LightComponent{get[_0x35c90a(0xb3)](){var _0x4bc37c=_0x35c90a;if(!this[_0x4bc37c(0xbe)])throw Error(_0x4bc37c(0xb7));return this[_0x4bc37c(0xbe)];}set[_0x35c90a(0xb3)](_0xda67e7){var _0x48ca5d=_0x35c90a;this[_0x48ca5d(0xbe)]=_0xda67e7,this['obj']&&(this[_0x48ca5d(0xbe)][_0x48ca5d(0xbf)][_0x48ca5d(0xaa)]=this);}get[_0x35c90a(0xb0)](){var _0x551ebe=_0x35c90a;return this[_0x551ebe(0xb3)][_0x551ebe(0xb0)];}set[_0x35c90a(0xb0)](_0x4c4410){var _0x38aeff=_0x35c90a;this[_0x38aeff(0xb3)][_0x38aeff(0xb0)]=_0x4c4410;}constructor(_0x6390b2,_0x1bcef7=0xffffff,_0x632133=0xa,_0x34106d){var _0x327c64=_0x35c90a;super(_0x6390b2,_0x34106d),this['threeObject'][_0x327c64(0xbc)][_0x327c64(0xb2)](_0x1bcef7),this[_0x327c64(0xb3)][_0x327c64(0xae)]=_0x632133;}[_0x35c90a(0xb1)](){return new webgpu.DirectionalLight(0xffffff,0xa);}['setPosition'](..._0x227d8b){var _0x46b73f=_0x35c90a;_0x227d8b[_0x46b73f(0xba)]===0x1?super['setPosition'](_0x227d8b[0x0]):super[_0x46b73f(0xb9)](_0x227d8b[0x0],_0x227d8b[0x1],_0x227d8b[0x2]),this[_0x46b73f(0xa7)]();}[_0x35c90a(0xa7)](){var _0x1cdeb7=_0x35c90a;if(this[_0x1cdeb7(0xb8)])this[_0x1cdeb7(0xb8)][_0x1cdeb7(0xb4)][_0x1cdeb7(0xc0)]();}[_0x35c90a(0xbb)](_0x4035a6){var _0x18e3ad=_0x35c90a;if(!this['threeObject'])throw Error(_0x18e3ad(0xb7));super[_0x18e3ad(0xbb)](_0x4035a6);}[_0x35c90a(0xad)](){var _0x4ef8fa=_0x35c90a;super[_0x4ef8fa(0xad)]();}}
|
|
115
118
|
|
|
116
|
-
|
|
119
|
+
var _0x2c2550=_0x2c8c;(function(_0x1eab6f,_0x212b41){var _0x331b1c=_0x2c8c,_0x5213f2=_0x1eab6f();while(!![]){try{var _0x49fc44=-parseInt(_0x331b1c(0x14d))/0x1+-parseInt(_0x331b1c(0x14b))/0x2*(parseInt(_0x331b1c(0x14e))/0x3)+parseInt(_0x331b1c(0x151))/0x4+-parseInt(_0x331b1c(0x146))/0x5*(-parseInt(_0x331b1c(0x149))/0x6)+parseInt(_0x331b1c(0x144))/0x7*(-parseInt(_0x331b1c(0x14a))/0x8)+parseInt(_0x331b1c(0x150))/0x9*(-parseInt(_0x331b1c(0x148))/0xa)+parseInt(_0x331b1c(0x143))/0xb;if(_0x49fc44===_0x212b41)break;else _0x5213f2['push'](_0x5213f2['shift']());}catch(_0x5660e8){_0x5213f2['push'](_0x5213f2['shift']());}}}(_0x11a1,0x9c1a4));function _0x2c8c(_0x5dbac4,_0x231455){_0x5dbac4=_0x5dbac4-0x140;var _0x11a1ae=_0x11a1();var _0x2c8c21=_0x11a1ae[_0x5dbac4];return _0x2c8c21;}function _0x11a1(){var _0x31da3c=['lightComponent','constructRootComponent','color','9714837IThaix','3115PSYaOs','rootComponent','1060fiEsdN','intensity','570CkqIkn','17742jbFGmX','1944bUQeIi','2Iwyfmo','app','277307ufvLzY','1018254rPHZeu','castShadow','177084jJescx','3902948PSjXQo'];_0x11a1=function(){return _0x31da3c;};return _0x11a1();}class DirectionalLightActor extends Actor{constructor(_0x51663f,_0x53c085=0xffffff,_0x5f5bad=0x1,_0x180e45){var _0x85951=_0x2c8c;super(_0x51663f,_0x180e45),this[_0x85951(0x140)]=null,this['lightComponent']=this[_0x85951(0x145)],this[_0x85951(0x140)]&&(this[_0x85951(0x140)][_0x85951(0x142)]=_0x53c085,this[_0x85951(0x140)][_0x85951(0x147)]=_0x5f5bad,this['lightComponent'][_0x85951(0x14f)]=!![]),this[_0x85951(0x140)][_0x85951(0x14f)]=!![];}[_0x2c2550(0x141)](){var _0x4035b6=_0x2c2550;return new DirectionalLightComponent(this[_0x4035b6(0x14c)]);}}
|
|
117
120
|
|
|
118
|
-
var
|
|
121
|
+
var _0x4cc8d0=_0xc63d;function _0xc63d(_0x3ac43f,_0x443bb7){_0x3ac43f=_0x3ac43f-0x9b;var _0x45eb76=_0x45eb();var _0xc63daf=_0x45eb76[_0x3ac43f];return _0xc63daf;}function _0x45eb(){var _0x42743c=['setPosition','10OhPEGR','set','onAddedToWorld','markRenderStateDirty','856555ooMgiA','castShadow','6MywxGl','LYObject','three\x20object\x20is\x20invalid','5758353YDMsFZ','world','16Broghy','242390tAKmSD','10121364ajCoWc','color','612984iYoiUX','obj','3ukjQOO','1885755yNkfhx','destroy','threeObject','1170700KmYxMh','update'];_0x45eb=function(){return _0x42743c;};return _0x45eb();}(function(_0x1f4563,_0x33e229){var _0x380ce3=_0xc63d,_0x21ee7a=_0x1f4563();while(!![]){try{var _0x30a30d=parseInt(_0x380ce3(0xa0))/0x1+-parseInt(_0x380ce3(0x9d))/0x2*(parseInt(_0x380ce3(0xa2))/0x3)+parseInt(_0x380ce3(0xa6))/0x4+-parseInt(_0x380ce3(0xa3))/0x5*(parseInt(_0x380ce3(0xaf))/0x6)+-parseInt(_0x380ce3(0xad))/0x7*(-parseInt(_0x380ce3(0x9c))/0x8)+parseInt(_0x380ce3(0xb2))/0x9*(parseInt(_0x380ce3(0xa9))/0xa)+-parseInt(_0x380ce3(0x9e))/0xb;if(_0x30a30d===_0x33e229)break;else _0x21ee7a['push'](_0x21ee7a['shift']());}catch(_0xe9df3){_0x21ee7a['push'](_0x21ee7a['shift']());}}}(_0x45eb,0x5ac18));class AmbientLightComponent extends LightComponent{get[_0x4cc8d0(0xa5)](){var _0x36312e=_0x4cc8d0;if(!this[_0x36312e(0xa1)])throw Error(_0x36312e(0xb1));return this[_0x36312e(0xa1)];}set[_0x4cc8d0(0xa5)](_0x29d626){var _0x590d7f=_0x4cc8d0;this[_0x590d7f(0xa1)]=_0x29d626,this[_0x590d7f(0xa1)]&&(this[_0x590d7f(0xa1)]['userData'][_0x590d7f(0xb0)]=this);}get['castShadow'](){var _0x1eafb3=_0x4cc8d0;return this[_0x1eafb3(0xa5)]['castShadow'];}set[_0x4cc8d0(0xae)](_0x2b9727){var _0x1826e3=_0x4cc8d0;this[_0x1826e3(0xa5)][_0x1826e3(0xae)]=_0x2b9727;}constructor(_0x145270,_0x78ef2c=0xffffff,_0x2f4ad6=0xa,_0x29593a){var _0x178144=_0x4cc8d0;super(_0x145270,_0x29593a),this[_0x178144(0xa5)][_0x178144(0x9f)][_0x178144(0xaa)](_0x78ef2c),this[_0x178144(0xa5)]['intensity']=_0x2f4ad6;}['createDefaultObject'](){return new webgpu.AmbientLight(0xffffff,0xa);}[_0x4cc8d0(0xa8)](..._0x28b65a){var _0xc493d9=_0x4cc8d0;_0x28b65a['length']===0x1?super[_0xc493d9(0xa8)](_0x28b65a[0x0]):super[_0xc493d9(0xa8)](_0x28b65a[0x0],_0x28b65a[0x1],_0x28b65a[0x2]),this[_0xc493d9(0xa7)]();}[_0x4cc8d0(0xa7)](){var _0x264472=_0x4cc8d0;if(this[_0x264472(0x9b)])this[_0x264472(0x9b)]['viewport'][_0x264472(0xac)]();}[_0x4cc8d0(0xab)](_0x3b038f){var _0x51c98a=_0x4cc8d0;if(!this[_0x51c98a(0xa5)])throw Error('three\x20object\x20is\x20invalid');super['onAddedToWorld'](_0x3b038f);}[_0x4cc8d0(0xa4)](){super['destroy']();}}
|
|
119
122
|
|
|
120
|
-
(function(
|
|
123
|
+
function _0x38d4(_0x544119,_0x45d49b){_0x544119=_0x544119-0xd0;var _0x35a655=_0x35a6();var _0x38d437=_0x35a655[_0x544119];return _0x38d437;}function _0x35a6(){var _0x533e11=['353946ZAwSYO','42mYQawB','2973906AnPedm','195OkjKrY','app','castShadow','6821568Dwlxhi','constructRootComponent','76564bHIkRc','color','41968kUKadN','lightComponent','48PdBERC','1068725DDlzRG','13924390zTAIjD','intensity'];_0x35a6=function(){return _0x533e11;};return _0x35a6();}var _0x353a8f=_0x38d4;(function(_0x5697cb,_0x369a19){var _0x33661b=_0x38d4,_0x54ab36=_0x5697cb();while(!![]){try{var _0x1dc52b=parseInt(_0x33661b(0xd6))/0x1+-parseInt(_0x33661b(0xd3))/0x2*(parseInt(_0x33661b(0xd5))/0x3)+parseInt(_0x33661b(0xd1))/0x4*(-parseInt(_0x33661b(0xdc))/0x5)+parseInt(_0x33661b(0xd9))/0x6*(parseInt(_0x33661b(0xda))/0x7)+-parseInt(_0x33661b(0xdf))/0x8+-parseInt(_0x33661b(0xdb))/0x9+parseInt(_0x33661b(0xd7))/0xa;if(_0x1dc52b===_0x369a19)break;else _0x54ab36['push'](_0x54ab36['shift']());}catch(_0x2f5530){_0x54ab36['push'](_0x54ab36['shift']());}}}(_0x35a6,0x86369));class AmbientLightActor extends Actor{constructor(_0x28a8b3,_0x7bd62a=0xffffff,_0x3eb9d7=0x1,_0x316d4b){var _0x2da6f0=_0x38d4;super(_0x28a8b3,_0x316d4b),this['lightComponent']=null,this['lightComponent']=this['rootComponent'],this[_0x2da6f0(0xd4)]&&(this[_0x2da6f0(0xd4)][_0x2da6f0(0xd2)]=_0x7bd62a,this[_0x2da6f0(0xd4)][_0x2da6f0(0xd8)]=_0x3eb9d7,this[_0x2da6f0(0xd4)][_0x2da6f0(0xde)]=!![]),this[_0x2da6f0(0xd4)]['castShadow']=!![];}[_0x353a8f(0xd0)](){var _0x30ef74=_0x353a8f;return new AmbientLightComponent(this[_0x30ef74(0xdd)]);}}
|
|
121
124
|
|
|
122
|
-
(function(
|
|
125
|
+
(function(_0x2c49f4,_0x5630f5){var _0x4dcec0=_0x21c6,_0x873722=_0x2c49f4();while(!![]){try{var _0x35af10=parseInt(_0x4dcec0(0x123))/0x1*(-parseInt(_0x4dcec0(0x126))/0x2)+parseInt(_0x4dcec0(0x122))/0x3+-parseInt(_0x4dcec0(0x12a))/0x4*(parseInt(_0x4dcec0(0x129))/0x5)+parseInt(_0x4dcec0(0x12c))/0x6+parseInt(_0x4dcec0(0x127))/0x7*(parseInt(_0x4dcec0(0x12b))/0x8)+-parseInt(_0x4dcec0(0x12d))/0x9*(parseInt(_0x4dcec0(0x128))/0xa)+-parseInt(_0x4dcec0(0x124))/0xb*(-parseInt(_0x4dcec0(0x125))/0xc);if(_0x35af10===_0x5630f5)break;else _0x873722['push'](_0x873722['shift']());}catch(_0x4b9a29){_0x873722['push'](_0x873722['shift']());}}}(_0x263c,0x616d0));function _0x263c(){var _0x4483b5=['640758YvgExo','102403QEUhvU','5690OjngYn','995BaLqHs','12304PTMeda','176rEmJxn','2407074XCEnlh','2439PpqLKr','2262882VGUpTU','1dhvEhj','92917DUhxGL','12DZEcFk'];_0x263c=function(){return _0x4483b5;};return _0x263c();}function _0x21c6(_0x347da9,_0x49c3b4){_0x347da9=_0x347da9-0x122;var _0x263ce5=_0x263c();var _0x21c6a8=_0x263ce5[_0x347da9];return _0x21c6a8;}class BoxComponent extends MeshComponent{constructor(_0x29e831,_0x322d66=0x1,_0x213c49=0x1,_0x1e56b1=0x1,_0x1ed3d9=0x1,_0x106f97=0x1,_0x195d2c=0x1,_0x476448=new webgpu.MeshStandardMaterial(),_0x57da0a){super(_0x29e831,new webgpu.BoxGeometry(_0x322d66,_0x213c49,_0x1e56b1,_0x1ed3d9,_0x106f97,_0x195d2c),_0x476448,_0x57da0a);}}
|
|
123
126
|
|
|
124
|
-
|
|
127
|
+
var _0x42fffe=_0xab30;function _0xab30(_0x4e2e20,_0x3836b1){_0x4e2e20=_0x4e2e20-0x1ef;var _0x34f3fd=_0x34f3();var _0xab306c=_0x34f3fd[_0x4e2e20];return _0xab306c;}(function(_0x449d1d,_0xb66801){var _0x2a4f86=_0xab30,_0x1371e3=_0x449d1d();while(!![]){try{var _0x359378=-parseInt(_0x2a4f86(0x1ef))/0x1*(parseInt(_0x2a4f86(0x1f6))/0x2)+parseInt(_0x2a4f86(0x1f1))/0x3*(-parseInt(_0x2a4f86(0x1f3))/0x4)+-parseInt(_0x2a4f86(0x1f7))/0x5*(parseInt(_0x2a4f86(0x1f0))/0x6)+-parseInt(_0x2a4f86(0x1f9))/0x7+parseInt(_0x2a4f86(0x1f4))/0x8+parseInt(_0x2a4f86(0x1f8))/0x9*(parseInt(_0x2a4f86(0x1f2))/0xa)+parseInt(_0x2a4f86(0x1fa))/0xb;if(_0x359378===_0xb66801)break;else _0x1371e3['push'](_0x1371e3['shift']());}catch(_0xf5ea7d){_0x1371e3['push'](_0x1371e3['shift']());}}}(_0x34f3,0x803dc));function _0x34f3(){var _0x413197=['108SdvqEn','10sJYRok','2239713kbszHO','323113KVWGjW','3007620yHqxsu','constructRootComponent','6216baZRjA','1212072YFfAOD','69MgkYDI','20EqoWNj','72208MhrNvi','7641480SktzzV','app'];_0x34f3=function(){return _0x413197;};return _0x34f3();}class BoxActor extends Actor{constructor(_0x39dacb,_0x4e25d5){super(_0x39dacb,_0x4e25d5);}[_0x42fffe(0x1fb)](){var _0x2350e8=_0x42fffe;return new BoxComponent(this[_0x2350e8(0x1f5)],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this['uuid']);}}
|
|
125
128
|
|
|
126
|
-
|
|
129
|
+
const _0x549340=_0x6856;function _0x14ad(){const _0xf2cec3=['obj','rayleigh','copy','value','3kmjvRi','sunPosition','12773zZbiXA','1365748XFdETw','three\x20object\x20is\x20invalid','1424248qoWuEF','setFromSphericalCoords','11CFLRkG','turbidity','14PEiWXG','mieDirectionalG','destroyObject','world','2123040QvAiyU','azimuth','18EoXLjG','degToRad','createDefaultObject','threeObject','updateSky','userData','3073080YGMUtm','503544lRotEH','LYObject','elevation','394140ZuDjxY','disposeMeshResource','skyParam','mieCoefficient'];_0x14ad=function(){return _0xf2cec3;};return _0x14ad();}(function(_0x55e9b6,_0xfe35f){const _0x34b306=_0x6856,_0x33f044=_0x55e9b6();while(!![]){try{const _0x1bd8a6=parseInt(_0x34b306(0x153))/0x1*(parseInt(_0x34b306(0x15a))/0x2)+parseInt(_0x34b306(0x172))/0x3*(parseInt(_0x34b306(0x154))/0x4)+parseInt(_0x34b306(0x16a))/0x5+-parseInt(_0x34b306(0x15e))/0x6+parseInt(_0x34b306(0x156))/0x7+-parseInt(_0x34b306(0x167))/0x8*(-parseInt(_0x34b306(0x160))/0x9)+parseInt(_0x34b306(0x166))/0xa*(-parseInt(_0x34b306(0x158))/0xb);if(_0x1bd8a6===_0xfe35f)break;else _0x33f044['push'](_0x33f044['shift']());}catch(_0x28f147){_0x33f044['push'](_0x33f044['shift']());}}}(_0x14ad,0x2b6d6));function _0x6856(_0x59d98b,_0x5b73cc){_0x59d98b=_0x59d98b-0x152;const _0x14adc9=_0x14ad();let _0x68561b=_0x14adc9[_0x59d98b];return _0x68561b;}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x549340(0x163)](){const _0x3cf76d=_0x549340;if(!this[_0x3cf76d(0x16e)])throw Error(_0x3cf76d(0x155));return this[_0x3cf76d(0x16e)];}set['threeObject'](_0x1d3c2b){const _0x5b61c4=_0x549340;this[_0x5b61c4(0x16e)]=_0x1d3c2b,this[_0x5b61c4(0x16e)]&&(this[_0x5b61c4(0x16e)][_0x5b61c4(0x165)][_0x5b61c4(0x168)]=this);}constructor(_0x4f3458,_0x36dfb1,_0x281300){const _0x3552f9=_0x549340;super(_0x4f3458,_0x281300),this[_0x3552f9(0x16c)]=DefaultSkyParam,this[_0x3552f9(0x152)]=new webgpu.Vector3(),_0x36dfb1&&(this[_0x3552f9(0x16c)]=_0x36dfb1),this['updateSky']();}[_0x549340(0x162)](){return new SkyMesh_js.SkyMesh();}[_0x549340(0x164)](){const _0x2c7fb7=_0x549340;var _0x249412,_0x19e58f;this[_0x2c7fb7(0x163)][_0x2c7fb7(0x159)][_0x2c7fb7(0x171)]=this[_0x2c7fb7(0x16c)][_0x2c7fb7(0x159)],this[_0x2c7fb7(0x163)][_0x2c7fb7(0x16f)][_0x2c7fb7(0x171)]=this[_0x2c7fb7(0x16c)][_0x2c7fb7(0x16f)],this[_0x2c7fb7(0x163)][_0x2c7fb7(0x16d)][_0x2c7fb7(0x171)]=this[_0x2c7fb7(0x16c)]['mieCoefficient'],this['threeObject'][_0x2c7fb7(0x15b)]['value']=this[_0x2c7fb7(0x16c)][_0x2c7fb7(0x15b)];const _0x8529b2=webgpu.MathUtils['degToRad'](0x5a-this['skyParam'][_0x2c7fb7(0x169)]),_0x21adf9=webgpu.MathUtils[_0x2c7fb7(0x161)](this[_0x2c7fb7(0x16c)][_0x2c7fb7(0x15f)]);this[_0x2c7fb7(0x152)][_0x2c7fb7(0x157)](0x1,_0x8529b2,_0x21adf9),this[_0x2c7fb7(0x163)][_0x2c7fb7(0x152)]['value'][_0x2c7fb7(0x170)](this[_0x2c7fb7(0x152)]),(_0x19e58f=(_0x249412=this[_0x2c7fb7(0x15d)])===null||_0x249412===void 0?void 0:_0x249412['viewport'])===null||_0x19e58f===void 0?void 0:_0x19e58f['markRenderStateDirty']();}[_0x549340(0x15c)](){const _0x203e1a=_0x549340;this[_0x203e1a(0x16e)]&&ThreeObjectLibrary[_0x203e1a(0x16b)](this[_0x203e1a(0x163)]);}}
|
|
127
130
|
|
|
128
|
-
function
|
|
131
|
+
var _0x4c68b8=_0x2621;function _0x1d8f(){var _0x190f6b=['1NmIttM','app','skyComponent','3954980NlUnad','600nGOEiD','1130395tzfpHY','7839beiBuA','setScale','_name','104802oYsOrB','rootComponent','2089521yYTkWw','197460DSJauw','constructRootComponent','SkyActor','8PEbnZA','name','466372xIoMri'];_0x1d8f=function(){return _0x190f6b;};return _0x1d8f();}(function(_0x15cbcd,_0x5b0c9f){var _0x5776e2=_0x2621,_0x3d92c9=_0x15cbcd();while(!![]){try{var _0x1139c5=parseInt(_0x5776e2(0xe3))/0x1*(parseInt(_0x5776e2(0xe2))/0x2)+parseInt(_0x5776e2(0xe9))/0x3*(parseInt(_0x5776e2(0xe7))/0x4)+parseInt(_0x5776e2(0xdd))/0x5+parseInt(_0x5776e2(0xec))/0x6+-parseInt(_0x5776e2(0xe8))/0x7*(-parseInt(_0x5776e2(0xe0))/0x8)+-parseInt(_0x5776e2(0xdc))/0x9+-parseInt(_0x5776e2(0xe6))/0xa;if(_0x1139c5===_0x5b0c9f)break;else _0x3d92c9['push'](_0x3d92c9['shift']());}catch(_0x3c2de4){_0x3d92c9['push'](_0x3d92c9['shift']());}}}(_0x1d8f,0x34b69));function _0x2621(_0x558f88,_0x13f291){_0x558f88=_0x558f88-0xdb;var _0x1d8f3b=_0x1d8f();var _0x26212c=_0x1d8f3b[_0x558f88];return _0x26212c;}class SkyActor extends Actor{constructor(_0x110580,_0x5a0322){var _0x2fe9a2=_0x2621;super(_0x110580,_0x5a0322),this[_0x2fe9a2(0xeb)]=_0x2fe9a2(0xdf),this['skyComponent']=null,this[_0x2fe9a2(0xe1)]=_0x2fe9a2(0xdf),this[_0x2fe9a2(0xe5)]=this[_0x2fe9a2(0xdb)],this[_0x2fe9a2(0xdb)][_0x2fe9a2(0xe1)]=this[_0x2fe9a2(0xdb)][_0x2fe9a2(0xe1)]+'(Root)',this[_0x2fe9a2(0xea)](0xafc8,0xafc8,0xafc8);}[_0x4c68b8(0xde)](){var _0x54b349=_0x4c68b8;return new SkyComponent(this[_0x54b349(0xe4)]);}}
|
|
129
132
|
|
|
130
|
-
var
|
|
133
|
+
function _0x52e4(_0x2082c3,_0x2b03e7){_0x2082c3=_0x2082c3-0x19c;var _0x41ebb5=_0x41eb();var _0x52e41e=_0x41ebb5[_0x2082c3];return _0x52e41e;}(function(_0x45a41c,_0x245808){var _0x238ae7=_0x52e4,_0x4643c6=_0x45a41c();while(!![]){try{var _0x2762cf=-parseInt(_0x238ae7(0x1a6))/0x1+parseInt(_0x238ae7(0x19d))/0x2*(-parseInt(_0x238ae7(0x1a1))/0x3)+parseInt(_0x238ae7(0x19f))/0x4*(-parseInt(_0x238ae7(0x1a3))/0x5)+-parseInt(_0x238ae7(0x1a2))/0x6+-parseInt(_0x238ae7(0x1a4))/0x7+-parseInt(_0x238ae7(0x19c))/0x8*(-parseInt(_0x238ae7(0x1a5))/0x9)+-parseInt(_0x238ae7(0x1a0))/0xa*(-parseInt(_0x238ae7(0x19e))/0xb);if(_0x2762cf===_0x245808)break;else _0x4643c6['push'](_0x4643c6['shift']());}catch(_0x4d24be){_0x4643c6['push'](_0x4643c6['shift']());}}}(_0x41eb,0xf30f6));class PlaneComponent extends MeshComponent{constructor(_0x55f1ff,_0x52059b,_0x1a4adf,_0x30fe73,_0x5c7375=0x1,_0x11afb6=0x1,_0x490d0b){super(_0x55f1ff,new webgpu.PlaneGeometry(_0x52059b,_0x1a4adf,_0x5c7375,_0x11afb6),_0x30fe73,_0x490d0b);}}function _0x41eb(){var _0x239d13=['8833230jwdTei','2571PlXqTN','1380714KkQFzo','5570uDndOj','9927260RIYQii','9BbrnJb','113931bFaryN','3357104CyzSXn','1762iKjtMe','55jOcvJd','4752yxSRDX'];_0x41eb=function(){return _0x239d13;};return _0x41eb();}
|
|
131
134
|
|
|
132
|
-
function _0x8a32(_0x2087b3,_0x394bb1){_0x2087b3=_0x2087b3-0x1d7;const _0x7f63a2=_0x7f63();let _0x8a321b=_0x7f63a2[_0x2087b3];return _0x8a321b;}const _0x5012a5=_0x8a32;(function(_0x5e88f4,_0x255dbc){const _0x1e3ee3=_0x8a32,_0x280a82=_0x5e88f4();while(!![]){try{const _0x3f4c8e=parseInt(_0x1e3ee3(0x202))/0x1*(parseInt(_0x1e3ee3(0x217))/0x2)+parseInt(_0x1e3ee3(0x211))/0x3+-parseInt(_0x1e3ee3(0x1fe))/0x4+-parseInt(_0x1e3ee3(0x204))/0x5*(parseInt(_0x1e3ee3(0x1ea))/0x6)+parseInt(_0x1e3ee3(0x206))/0x7+-parseInt(_0x1e3ee3(0x1ec))/0x8+-parseInt(_0x1e3ee3(0x1db))/0x9*(-parseInt(_0x1e3ee3(0x205))/0xa);if(_0x3f4c8e===_0x255dbc)break;else _0x280a82['push'](_0x280a82['shift']());}catch(_0x4b0e33){_0x280a82['push'](_0x280a82['shift']());}}}(_0x7f63,0x3c0ab));function _0x7f63(){const _0x5c0baa=['min','170IBAFYc','app','computeVertexNormals','_meshData','LYObject','materialPtr\x20is\x20null','_materialPtr','castShadow','clone','userData','2529nHTtlB','geometryPtr\x20is\x20null','setIndex','error','destroyObject','uvs','map','vertices','receiveShadow','colors','materialPtr','push','material\x20is\x20null','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','assetManager','59244AEAqGI','_geometryPtr','3028640YpUuSy','CustomMeshComponent','geometryPtr','getCenter','addMaterialAsset','getBoundsTopCenterPosition','obj','getBounds','removeFromParent','CustomMeshComponent:\x20Invalid\x20vertices\x20data','geometry','world','material','length','name','addGeometryAsset','meshData','setAttribute','287044bsFtvz','color','constructGeometry','getValue','4930GJvEIz','markRenderStateDirty','160sKKjEe','7310GrdBgZ','1853530OcppAV','threeObject','max','calculatePolygonArea','release','computeUVs','normal','warn','normals','viewport','indices','368967AGGpnx','addRef','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','getBoundsCenterPosition','CustomMeshComponent:\x20threeObject\x20is\x20null'];_0x7f63=function(){return _0x5c0baa;};return _0x7f63();}class CustomMeshComponent extends SceneComponent{get[_0x5012a5(0x207)](){const _0x38b165=_0x5012a5;if(!this[_0x38b165(0x1f2)])throw new Error(_0x38b165(0x215));return this['obj'];}set[_0x5012a5(0x207)](_0x512c74){const _0xf51a71=_0x5012a5;this[_0xf51a71(0x1f2)]=_0x512c74,this['obj']&&(this['obj'][_0xf51a71(0x1da)][_0xf51a71(0x21b)]=this);}get[_0x5012a5(0x1f6)](){const _0xe23d6a=_0x5012a5;if(!this[_0xe23d6a(0x1eb)])throw new Error(_0xe23d6a(0x1dc));return this[_0xe23d6a(0x1eb)][_0xe23d6a(0x201)]();}set[_0x5012a5(0x1f6)](_0x3b2a6c){const _0x1f5224=_0x5012a5;let _0x467352=this[_0x1f5224(0x218)][_0x1f5224(0x1e9)][_0x1f5224(0x1fb)](_0x3b2a6c);this[_0x1f5224(0x1ee)]=_0x467352;}get[_0x5012a5(0x1ee)](){const _0x55e7e3=_0x5012a5;if(!this['_geometryPtr'])throw new Error(_0x55e7e3(0x1dc));return this[_0x55e7e3(0x1eb)];}set[_0x5012a5(0x1ee)](_0x563bf3){const _0x356d2b=_0x5012a5;this[_0x356d2b(0x1eb)]&&(this[_0x356d2b(0x1eb)][_0x356d2b(0x20a)](),this['_geometryPtr']=null);this[_0x356d2b(0x1eb)]=_0x563bf3;let _0x53f1c8=_0x563bf3[_0x356d2b(0x201)]();this['threeObject']&&_0x53f1c8&&(this[_0x356d2b(0x207)][_0x356d2b(0x1f6)]=_0x53f1c8);}get[_0x5012a5(0x1f8)](){const _0x585559=_0x5012a5;if(!this[_0x585559(0x1d7)])throw new Error('materialPtr\x20is\x20null');let _0x59d3de=this[_0x585559(0x1d7)]['getValue']();if(!_0x59d3de)throw new Error(_0x585559(0x1e7));return _0x59d3de;}get[_0x5012a5(0x1e5)](){const _0x59df32=_0x5012a5;if(!this[_0x59df32(0x1d7)])throw new Error(_0x59df32(0x21c));return this[_0x59df32(0x1d7)];}set[_0x5012a5(0x1f8)](_0x4249b3){const _0x58b7a2=_0x5012a5;let _0x5e0278=this['app']['assetManager'][_0x58b7a2(0x1f0)](_0x4249b3);this[_0x58b7a2(0x1e5)]=_0x5e0278;}set[_0x5012a5(0x1e5)](_0x4a1916){const _0x55359f=_0x5012a5;this[_0x55359f(0x1d7)]&&(this[_0x55359f(0x1d7)]['release'](),this[_0x55359f(0x1d7)]=null);this[_0x55359f(0x1d7)]=_0x4a1916;let _0x450096=_0x4a1916['getValue']();_0x4a1916[_0x55359f(0x212)](),this[_0x55359f(0x207)]&&_0x450096&&(this[_0x55359f(0x207)][_0x55359f(0x1f8)]=_0x450096);}constructor(_0x54450b,_0x7bc42b,_0x2cd3cd,_0x2a1005){const _0x52c44b=_0x5012a5;super(_0x54450b,_0x2a1005),this[_0x52c44b(0x21a)]=_0x7bc42b;let _0x385663=_0x54450b[_0x52c44b(0x1e9)][_0x52c44b(0x1f0)](_0x2cd3cd);this['_materialPtr']=_0x385663,_0x385663[_0x52c44b(0x212)]();const _0x3f5036=this[_0x52c44b(0x200)](_0x7bc42b);this[_0x52c44b(0x1eb)]=_0x54450b[_0x52c44b(0x1e9)][_0x52c44b(0x1fb)](_0x3f5036),this[_0x52c44b(0x207)][_0x52c44b(0x1f8)]=_0x2cd3cd,this[_0x52c44b(0x207)][_0x52c44b(0x1f6)]=_0x3f5036,this[_0x52c44b(0x1fa)]=_0x52c44b(0x1ed),this[_0x52c44b(0x1d8)]=!![],this[_0x52c44b(0x1e3)]=!![];}[_0x5012a5(0x20b)](_0x457817){const _0x480d72=_0x5012a5,_0x32c744=new Float32Array(_0x457817[_0x480d72(0x1f9)]*0x2);if(_0x457817['length']===0x0)return _0x32c744;let _0x4ac60b=Infinity,_0x501704=-Infinity,_0x23ae9f=Infinity,_0x335e07=-Infinity,_0x4c9236=Infinity,_0xd2bd0c=-Infinity;for(const _0x576ba8 of _0x457817){_0x4ac60b=Math[_0x480d72(0x216)](_0x4ac60b,_0x576ba8['x']),_0x501704=Math[_0x480d72(0x208)](_0x501704,_0x576ba8['x']),_0x23ae9f=Math[_0x480d72(0x216)](_0x23ae9f,_0x576ba8['y']),_0x335e07=Math['max'](_0x335e07,_0x576ba8['y']),_0x4c9236=Math['min'](_0x4c9236,_0x576ba8['z']),_0xd2bd0c=Math[_0x480d72(0x208)](_0xd2bd0c,_0x576ba8['z']);}const _0x247069=_0x501704-_0x4ac60b,_0x97d775=_0x335e07-_0x23ae9f,_0x279acf=_0xd2bd0c-_0x4c9236;let _0x46029d,_0x272e0a,_0x122a98,_0x101595,_0x1d99dd,_0x5dd24b;if(_0x247069<=_0x97d775&&_0x247069<=_0x279acf)_0x46029d='y',_0x272e0a='z',_0x122a98=_0x23ae9f,_0x101595=_0x97d775,_0x1d99dd=_0x4c9236,_0x5dd24b=_0x279acf;else _0x97d775<=_0x247069&&_0x97d775<=_0x279acf?(_0x46029d='x',_0x272e0a='z',_0x122a98=_0x4ac60b,_0x101595=_0x247069,_0x1d99dd=_0x4c9236,_0x5dd24b=_0x279acf):(_0x46029d='x',_0x272e0a='y',_0x122a98=_0x4ac60b,_0x101595=_0x247069,_0x1d99dd=_0x23ae9f,_0x5dd24b=_0x97d775);if(_0x101595===0x0)_0x101595=0x1;if(_0x5dd24b===0x0)_0x5dd24b=0x1;for(let _0x568e89=0x0;_0x568e89<_0x457817[_0x480d72(0x1f9)];_0x568e89++){const _0x20fa96=_0x457817[_0x568e89],_0x8e58d3=(_0x20fa96[_0x46029d]-_0x122a98)/_0x101595,_0x42be97=(_0x20fa96[_0x272e0a]-_0x1d99dd)/_0x5dd24b;_0x32c744[_0x568e89*0x2]=_0x8e58d3,_0x32c744[_0x568e89*0x2+0x1]=_0x42be97;}return _0x32c744;}[_0x5012a5(0x209)](_0x524acf){const _0x14675a=_0x5012a5;let _0x1151d6=0x0;const _0x325e13=_0x524acf[_0x14675a(0x1f9)]/0x2;for(let _0x46bc56=0x0;_0x46bc56<_0x325e13;_0x46bc56++){const _0x195a57=(_0x46bc56+0x1)%_0x325e13,_0x478b1f=_0x524acf[_0x46bc56*0x2],_0x2d94e3=_0x524acf[_0x46bc56*0x2+0x1],_0xecb10f=_0x524acf[_0x195a57*0x2],_0x240980=_0x524acf[_0x195a57*0x2+0x1];_0x1151d6+=_0x478b1f*_0x240980-_0xecb10f*_0x2d94e3;}return _0x1151d6/0x2;}[_0x5012a5(0x200)](_0x4ca257){const _0x44c034=_0x5012a5,_0x3795b1=new webgpu.BufferGeometry();if(!_0x4ca257[_0x44c034(0x1e2)]||_0x4ca257[_0x44c034(0x1e2)][_0x44c034(0x1f9)]===0x0)return console[_0x44c034(0x1de)](_0x44c034(0x1f5)),_0x3795b1;const _0x236bde=new Float32Array(_0x4ca257[_0x44c034(0x1e2)][_0x44c034(0x1f9)]*0x3);for(let _0x2c07a1=0x0;_0x2c07a1<_0x4ca257['vertices'][_0x44c034(0x1f9)];_0x2c07a1++){_0x236bde[_0x2c07a1*0x3]=_0x4ca257[_0x44c034(0x1e2)][_0x2c07a1]['x'],_0x236bde[_0x2c07a1*0x3+0x1]=_0x4ca257['vertices'][_0x2c07a1]['y'],_0x236bde[_0x2c07a1*0x3+0x2]=_0x4ca257['vertices'][_0x2c07a1]['z'];}_0x3795b1[_0x44c034(0x1fd)]('position',new webgpu.Float32BufferAttribute(_0x236bde,0x3));if(_0x4ca257[_0x44c034(0x210)]&&_0x4ca257[_0x44c034(0x210)][_0x44c034(0x1f9)]>0x0)_0x3795b1[_0x44c034(0x1dd)](_0x4ca257[_0x44c034(0x210)]);else {const _0x1b0cde=[];let _0x26c3cc=Infinity,_0xe46831=-Infinity,_0x5a5840=Infinity,_0x45987c=-Infinity,_0x2ff2d9=Infinity,_0x25838d=-Infinity;for(let _0x3299bd=0x0;_0x3299bd<_0x4ca257['vertices'][_0x44c034(0x1f9)];_0x3299bd++){const _0x384c6d=_0x4ca257[_0x44c034(0x1e2)][_0x3299bd];_0x5a5840=Math['min'](_0x5a5840,_0x384c6d['x']),_0x45987c=Math[_0x44c034(0x208)](_0x45987c,_0x384c6d['x']),_0x26c3cc=Math[_0x44c034(0x216)](_0x26c3cc,_0x384c6d['y']),_0xe46831=Math[_0x44c034(0x208)](_0xe46831,_0x384c6d['y']),_0x2ff2d9=Math[_0x44c034(0x216)](_0x2ff2d9,_0x384c6d['z']),_0x25838d=Math[_0x44c034(0x208)](_0x25838d,_0x384c6d['z']);}const _0x475e30=_0x45987c-_0x5a5840,_0x525285=_0xe46831-_0x26c3cc,_0x420dcd=_0x25838d-_0x2ff2d9;if(_0x525285<=_0x475e30&&_0x525285<=_0x420dcd){for(let _0x3d605f=0x0;_0x3d605f<_0x4ca257[_0x44c034(0x1e2)][_0x44c034(0x1f9)];_0x3d605f++){_0x1b0cde[_0x44c034(0x1e6)](_0x4ca257[_0x44c034(0x1e2)][_0x3d605f]['x']),_0x1b0cde[_0x44c034(0x1e6)](_0x4ca257[_0x44c034(0x1e2)][_0x3d605f]['z']);}}else {if(_0x475e30<=_0x525285&&_0x475e30<=_0x420dcd){for(let _0x31e982=0x0;_0x31e982<_0x4ca257['vertices']['length'];_0x31e982++){_0x1b0cde['push'](_0x4ca257[_0x44c034(0x1e2)][_0x31e982]['y']),_0x1b0cde[_0x44c034(0x1e6)](_0x4ca257[_0x44c034(0x1e2)][_0x31e982]['z']);}}else {for(let _0x6e98c8=0x0;_0x6e98c8<_0x4ca257['vertices'][_0x44c034(0x1f9)];_0x6e98c8++){_0x1b0cde['push'](_0x4ca257[_0x44c034(0x1e2)][_0x6e98c8]['x']),_0x1b0cde[_0x44c034(0x1e6)](_0x4ca257[_0x44c034(0x1e2)][_0x6e98c8]['y']);}}}const _0x5481a0=this[_0x44c034(0x209)](_0x1b0cde),_0x13a664=_0x5481a0<0x0;if(_0x13a664){console[_0x44c034(0x20d)](_0x44c034(0x1e8)),_0x1b0cde['reverse']();const _0x4d4a90=[];for(let _0x261698=_0x1b0cde[_0x44c034(0x1f9)]-0x2;_0x261698>=0x0;_0x261698-=0x2){_0x4d4a90[_0x44c034(0x1e6)](_0x1b0cde[_0x261698],_0x1b0cde[_0x261698+0x1]);}_0x1b0cde[_0x44c034(0x1f9)]=0x0,_0x1b0cde['push'](..._0x4d4a90);}try{const _0x320f27=_0x46d913(_0x1b0cde,undefined,0x2);if(_0x320f27&&_0x320f27['length']>0x0){if(_0x13a664)for(let _0x14f103=0x0;_0x14f103<_0x320f27['length'];_0x14f103+=0x3){const _0x46f749=_0x320f27[_0x14f103];_0x320f27[_0x14f103]=_0x320f27[_0x14f103+0x2],_0x320f27[_0x14f103+0x2]=_0x46f749;}_0x3795b1['setIndex'](_0x320f27);}else console[_0x44c034(0x20d)](_0x44c034(0x213));}catch(_0x2d2c18){console[_0x44c034(0x1de)]('CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:',_0x2d2c18);}}if(_0x4ca257['normals']&&_0x4ca257[_0x44c034(0x20e)]['length']===_0x4ca257[_0x44c034(0x1e2)][_0x44c034(0x1f9)]){const _0x3b4d1f=new Float32Array(_0x4ca257[_0x44c034(0x20e)][_0x44c034(0x1f9)]*0x3);for(let _0x27adfb=0x0;_0x27adfb<_0x4ca257[_0x44c034(0x20e)][_0x44c034(0x1f9)];_0x27adfb++){_0x3b4d1f[_0x27adfb*0x3]=_0x4ca257['normals'][_0x27adfb]['x'],_0x3b4d1f[_0x27adfb*0x3+0x1]=_0x4ca257[_0x44c034(0x20e)][_0x27adfb]['y'],_0x3b4d1f[_0x27adfb*0x3+0x2]=_0x4ca257[_0x44c034(0x20e)][_0x27adfb]['z'];}_0x3795b1['setAttribute'](_0x44c034(0x20c),new webgpu.Float32BufferAttribute(_0x3b4d1f,0x3));}else _0x3795b1[_0x44c034(0x219)]();if(_0x4ca257[_0x44c034(0x1e0)]&&_0x4ca257['uvs'][_0x44c034(0x1f9)]>0x0){const _0x462365=new Float32Array(_0x4ca257[_0x44c034(0x1e0)][_0x44c034(0x1f9)]*0x2);for(let _0x50dcc6=0x0;_0x50dcc6<_0x4ca257[_0x44c034(0x1e0)][_0x44c034(0x1f9)];_0x50dcc6++){_0x462365[_0x50dcc6*0x2]=_0x4ca257[_0x44c034(0x1e0)][_0x50dcc6]['x'],_0x462365[_0x50dcc6*0x2+0x1]=_0x4ca257[_0x44c034(0x1e0)][_0x50dcc6]['y'];}_0x3795b1['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x462365,0x2));}else {const _0x385ef2=this[_0x44c034(0x20b)](_0x4ca257[_0x44c034(0x1e2)]);_0x3795b1['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x385ef2,0x2));}if(_0x4ca257[_0x44c034(0x1e4)]&&_0x4ca257[_0x44c034(0x1e4)][_0x44c034(0x1f9)]===_0x4ca257[_0x44c034(0x1e2)][_0x44c034(0x1f9)]){const _0x155b78=new Float32Array(_0x4ca257[_0x44c034(0x1e4)][_0x44c034(0x1f9)]*0x3);for(let _0x17ada9=0x0;_0x17ada9<_0x4ca257['colors'][_0x44c034(0x1f9)];_0x17ada9++){_0x155b78[_0x17ada9*0x3]=_0x4ca257[_0x44c034(0x1e4)][_0x17ada9]['r'],_0x155b78[_0x17ada9*0x3+0x1]=_0x4ca257[_0x44c034(0x1e4)][_0x17ada9]['g'],_0x155b78[_0x17ada9*0x3+0x2]=_0x4ca257[_0x44c034(0x1e4)][_0x17ada9]['b'];}_0x3795b1[_0x44c034(0x1fd)](_0x44c034(0x1ff),new webgpu.Float32BufferAttribute(_0x155b78,0x3));}return _0x3795b1;}set[_0x5012a5(0x1fc)](_0x54b541){const _0x589cc0=_0x5012a5;var _0xab9f87,_0x2c5b6f,_0x21a0c5;this[_0x589cc0(0x1eb)]&&this[_0x589cc0(0x1eb)][_0x589cc0(0x20a)]();const _0x53103d=this[_0x589cc0(0x200)](_0x54b541);this[_0x589cc0(0x1eb)]=this[_0x589cc0(0x218)][_0x589cc0(0x1e9)][_0x589cc0(0x1fb)](_0x53103d),this[_0x589cc0(0x207)][_0x589cc0(0x1f6)]=_0x53103d,this['_meshData']={'vertices':_0x54b541[_0x589cc0(0x1e2)][_0x589cc0(0x1e1)](_0x11a5b1=>_0x11a5b1[_0x589cc0(0x1d9)]()),'indices':_0x54b541[_0x589cc0(0x210)]?[..._0x54b541[_0x589cc0(0x210)]]:undefined,'normals':(_0xab9f87=_0x54b541[_0x589cc0(0x20e)])===null||_0xab9f87===void 0?void 0:_0xab9f87[_0x589cc0(0x1e1)](_0x19148d=>_0x19148d['clone']()),'uvs':(_0x2c5b6f=_0x54b541['uvs'])===null||_0x2c5b6f===void 0?void 0:_0x2c5b6f['map'](_0x24be9e=>_0x24be9e[_0x589cc0(0x1d9)]()),'colors':(_0x21a0c5=_0x54b541['colors'])===null||_0x21a0c5===void 0?void 0:_0x21a0c5['map'](_0x2cfa74=>_0x2cfa74[_0x589cc0(0x1d9)]())},this[_0x589cc0(0x1f7)]&&this['world'][_0x589cc0(0x20f)][_0x589cc0(0x203)]();}get[_0x5012a5(0x1fc)](){return this['_meshData'];}['createDefaultObject'](){return new webgpu.Mesh();}set[_0x5012a5(0x1d8)](_0xdd4888){const _0x4d6223=_0x5012a5;if(this[_0x4d6223(0x207)])this[_0x4d6223(0x207)][_0x4d6223(0x1d8)]=_0xdd4888;}get[_0x5012a5(0x1d8)](){const _0x2f54b3=_0x5012a5;return this['threeObject']?this[_0x2f54b3(0x207)][_0x2f54b3(0x1d8)]:![];}set[_0x5012a5(0x1e3)](_0x3efca2){const _0x3b6262=_0x5012a5;if(!this[_0x3b6262(0x207)])return;this[_0x3b6262(0x207)][_0x3b6262(0x1e3)]=_0x3efca2;}get[_0x5012a5(0x1e3)](){const _0x164966=_0x5012a5;return this[_0x164966(0x207)]?this[_0x164966(0x207)]['receiveShadow']:![];}[_0x5012a5(0x214)](){const _0xb3c652=_0x5012a5;let _0x47015a=new webgpu.Vector3();return this['getBounds']()[_0xb3c652(0x1ef)](_0x47015a),_0x47015a;}[_0x5012a5(0x1f1)](){const _0x4628e9=_0x5012a5;let _0x1499a7=new webgpu.Vector3(),_0x3424aa=this[_0x4628e9(0x1f3)]();return _0x3424aa['getCenter'](_0x1499a7),_0x1499a7['y']=_0x3424aa[_0x4628e9(0x208)]['y'],_0x1499a7;}['getBoundsBottomCenterPosition'](){const _0x8ff534=_0x5012a5;let _0x12bd14=new webgpu.Vector3(),_0x29b95b=this[_0x8ff534(0x1f3)]();return _0x29b95b[_0x8ff534(0x1ef)](_0x12bd14),_0x12bd14['y']=_0x29b95b[_0x8ff534(0x216)]['y'],_0x12bd14;}['destroyObject'](){const _0x3c550c=_0x5012a5;var _0x5baf0d,_0x2e9cd3;this[_0x3c550c(0x207)]&&this[_0x3c550c(0x207)][_0x3c550c(0x1f4)](),(_0x5baf0d=this[_0x3c550c(0x1eb)])===null||_0x5baf0d===void 0?void 0:_0x5baf0d['release'](),(_0x2e9cd3=this[_0x3c550c(0x1d7)])===null||_0x2e9cd3===void 0?void 0:_0x2e9cd3[_0x3c550c(0x20a)](),super[_0x3c550c(0x1df)]();}}
|
|
135
|
+
var _0x5b156a=_0x1085;(function(_0x486a83,_0x3c7f7d){var _0x2f4a66=_0x1085,_0x16a471=_0x486a83();while(!![]){try{var _0x5b47fc=-parseInt(_0x2f4a66(0x179))/0x1*(-parseInt(_0x2f4a66(0x184))/0x2)+parseInt(_0x2f4a66(0x177))/0x3*(parseInt(_0x2f4a66(0x17d))/0x4)+parseInt(_0x2f4a66(0x178))/0x5*(-parseInt(_0x2f4a66(0x17a))/0x6)+-parseInt(_0x2f4a66(0x180))/0x7+-parseInt(_0x2f4a66(0x183))/0x8+parseInt(_0x2f4a66(0x182))/0x9+-parseInt(_0x2f4a66(0x185))/0xa*(parseInt(_0x2f4a66(0x17c))/0xb);if(_0x5b47fc===_0x3c7f7d)break;else _0x16a471['push'](_0x16a471['shift']());}catch(_0x3b0ca7){_0x16a471['push'](_0x16a471['shift']());}}}(_0x2410,0x8a0d1));function _0x1085(_0xa3f61c,_0x5c004f){_0xa3f61c=_0xa3f61c-0x177;var _0x2410a0=_0x2410();var _0x1085c3=_0x2410a0[_0xa3f61c];return _0x1085c3;}function _0x2410(){var _0x277801=['145079csWmmE','20eOQbig','uuid','constructRootComponent','7283626gOXmTx','destroy','9048870BOvjQR','2109664xYCyHI','70pnqtQT','770eHmTrl','571965pOYNVv','15XPhxhh','31159eiaTIt','328068NseCIZ','app'];_0x2410=function(){return _0x277801;};return _0x2410();}class PlaneActor extends Actor{constructor(_0x1b32f2,_0x2cf286){super(_0x1b32f2,_0x2cf286);}[_0x5b156a(0x17f)](){var _0xe3a236=_0x5b156a;return new PlaneComponent(this[_0xe3a236(0x17b)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0xe3a236(0x17e)]);}[_0x5b156a(0x181)](){var _0x2a3138=_0x5b156a;super[_0x2a3138(0x181)]();}}
|
|
133
136
|
|
|
134
|
-
(function(_0x14f18f,_0x4cc978){var _0x463a4c=_0x80ec,_0x287feb=_0x14f18f();while(!![]){try{var _0x18939d=parseInt(_0x463a4c(0xc2))/0x1*(parseInt(_0x463a4c(0xc5))/0x2)+parseInt(_0x463a4c(0xc1))/0x3*(parseInt(_0x463a4c(0xbc))/0x4)+-parseInt(_0x463a4c(0xc3))/0x5+-parseInt(_0x463a4c(0xc4))/0x6*(-parseInt(_0x463a4c(0xbd))/0x7)+parseInt(_0x463a4c(0xc0))/0x8+-parseInt(_0x463a4c(0xbf))/0x9+parseInt(_0x463a4c(0xbe))/0xa;if(_0x18939d===_0x4cc978)break;else _0x287feb['push'](_0x287feb['shift']());}catch(_0x5d24e4){_0x287feb['push'](_0x287feb['shift']());}}}(_0x280e,0x24055));function _0x80ec(_0x7c1eef,_0x5580be){_0x7c1eef=_0x7c1eef-0xbc;var _0x280e9a=_0x280e();var _0x80ecdb=_0x280e9a[_0x7c1eef];return _0x80ecdb;}function _0x280e(){var _0x23ddb6=['37478jvCyCT','1850820iBDDYp','2589795otROAT','269048vpCEUm','1404jlKKOX','1iUohsX','1426410oZLDLa','36lUSfDp','522962jqSroL','1780srAfMg'];_0x280e=function(){return _0x23ddb6;};return _0x280e();}class SphereComponent extends MeshComponent{constructor(_0x569711,_0x5a310e,_0xbe26a0=new webgpu.MeshBasicMaterial(),_0x27962c=0x20,_0x541170=0x10,_0x583cdc){super(_0x569711,new webgpu.SphereGeometry(_0x5a310e,_0x27962c,_0x541170),_0xbe26a0,_0x583cdc);}}
|
|
137
|
+
const _0x17d9e0=_0x3d29;(function(_0x21a747,_0x6abe72){const _0x2be126=_0x3d29,_0x3cfe22=_0x21a747();while(!![]){try{const _0x4a88b0=parseInt(_0x2be126(0xda))/0x1*(parseInt(_0x2be126(0xd1))/0x2)+-parseInt(_0x2be126(0xbf))/0x3*(-parseInt(_0x2be126(0xb7))/0x4)+-parseInt(_0x2be126(0xa4))/0x5*(parseInt(_0x2be126(0xb6))/0x6)+-parseInt(_0x2be126(0x9d))/0x7*(-parseInt(_0x2be126(0xb4))/0x8)+-parseInt(_0x2be126(0xac))/0x9+parseInt(_0x2be126(0xbe))/0xa*(-parseInt(_0x2be126(0xcb))/0xb)+parseInt(_0x2be126(0xc9))/0xc;if(_0x4a88b0===_0x6abe72)break;else _0x3cfe22['push'](_0x3cfe22['shift']());}catch(_0x4efd71){_0x3cfe22['push'](_0x3cfe22['shift']());}}}(_0x3656,0x92ecf));function _0x3d29(_0x4dfd4c,_0x4210d2){_0x4dfd4c=_0x4dfd4c-0x95;const _0x365652=_0x3656();let _0x3d29fa=_0x365652[_0x4dfd4c];return _0x3d29fa;}function _0x3656(){const _0x1eeb02=['CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','removeFromParent','getBoundsTopCenterPosition','assetManager','length','32148hXtmTk','LYObject','CustomMeshComponent:\x20Invalid\x20vertices\x20data','map','addGeometryAsset','indices','color','meshData','getCenter','5044046QNQMoi','name','getBounds','vertices','materialPtr','normals','error','5imdbYo','destroyObject','geometryPtr','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','max','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','constructGeometry','viewport','3766266HsQYgO','position','warn','uvs','castShadow','normal','push','_materialPtr','8CfXWlI','getValue','5847618xqAEii','2030652LITtGu','clone','colors','userData','receiveShadow','getBoundsCenterPosition','reverse','763460lwsjrm','3kOomtH','geometry','min','computeVertexNormals','threeObject','release','_meshData','obj','material','geometryPtr\x20is\x20null','4329228WHZmfB','setAttribute','11QdrOiG','materialPtr\x20is\x20null','calculatePolygonArea','computeUVs','setIndex','addMaterialAsset','30MiFUhI','app','addRef','_geometryPtr'];_0x3656=function(){return _0x1eeb02;};return _0x3656();}class CustomMeshComponent extends SceneComponent{get[_0x17d9e0(0xc3)](){const _0x1338db=_0x17d9e0;if(!this['obj'])throw new Error('CustomMeshComponent:\x20threeObject\x20is\x20null');return this[_0x1338db(0xc6)];}set[_0x17d9e0(0xc3)](_0x1160c0){const _0x5178a5=_0x17d9e0;this[_0x5178a5(0xc6)]=_0x1160c0,this[_0x5178a5(0xc6)]&&(this['obj'][_0x5178a5(0xba)][_0x5178a5(0x95)]=this);}get[_0x17d9e0(0xc0)](){const _0x1be298=_0x17d9e0;if(!this['_geometryPtr'])throw new Error(_0x1be298(0xc8));return this[_0x1be298(0xd4)][_0x1be298(0xb5)]();}set['geometry'](_0x311562){const _0x4e524e=_0x17d9e0;let _0x5a816b=this[_0x4e524e(0xd2)][_0x4e524e(0xd8)][_0x4e524e(0x98)](_0x311562);this[_0x4e524e(0xa6)]=_0x5a816b;}get[_0x17d9e0(0xa6)](){const _0x148305=_0x17d9e0;if(!this[_0x148305(0xd4)])throw new Error('geometryPtr\x20is\x20null');return this[_0x148305(0xd4)];}set[_0x17d9e0(0xa6)](_0x43a53f){const _0x25ddda=_0x17d9e0;this['_geometryPtr']&&(this[_0x25ddda(0xd4)][_0x25ddda(0xc4)](),this[_0x25ddda(0xd4)]=null);this[_0x25ddda(0xd4)]=_0x43a53f;let _0x3ca0aa=_0x43a53f[_0x25ddda(0xb5)]();this['threeObject']&&_0x3ca0aa&&(this[_0x25ddda(0xc3)]['geometry']=_0x3ca0aa);}get[_0x17d9e0(0xc7)](){const _0x540e0d=_0x17d9e0;if(!this[_0x540e0d(0xb3)])throw new Error(_0x540e0d(0xcc));let _0x1ec6ca=this[_0x540e0d(0xb3)][_0x540e0d(0xb5)]();if(!_0x1ec6ca)throw new Error('material\x20is\x20null');return _0x1ec6ca;}get['materialPtr'](){const _0x12e70d=_0x17d9e0;if(!this[_0x12e70d(0xb3)])throw new Error('materialPtr\x20is\x20null');return this[_0x12e70d(0xb3)];}set['material'](_0x4fc9e8){const _0x209a3e=_0x17d9e0;let _0x32c00e=this[_0x209a3e(0xd2)][_0x209a3e(0xd8)][_0x209a3e(0xd0)](_0x4fc9e8);this[_0x209a3e(0xa1)]=_0x32c00e;}set[_0x17d9e0(0xa1)](_0x362ae0){const _0x5ec871=_0x17d9e0;this[_0x5ec871(0xb3)]&&(this[_0x5ec871(0xb3)][_0x5ec871(0xc4)](),this[_0x5ec871(0xb3)]=null);this[_0x5ec871(0xb3)]=_0x362ae0;let _0x3004a8=_0x362ae0['getValue']();_0x362ae0['addRef'](),this[_0x5ec871(0xc3)]&&_0x3004a8&&(this[_0x5ec871(0xc3)][_0x5ec871(0xc7)]=_0x3004a8);}constructor(_0x357726,_0x1ea945,_0x123e92,_0x5bbc98){const _0x5a0131=_0x17d9e0;super(_0x357726,_0x5bbc98),this[_0x5a0131(0xc5)]=_0x1ea945;let _0xe2790d=_0x357726[_0x5a0131(0xd8)][_0x5a0131(0xd0)](_0x123e92);this[_0x5a0131(0xb3)]=_0xe2790d,_0xe2790d[_0x5a0131(0xd3)]();const _0x1653d1=this[_0x5a0131(0xaa)](_0x1ea945);this[_0x5a0131(0xd4)]=_0x357726[_0x5a0131(0xd8)][_0x5a0131(0x98)](_0x1653d1),this[_0x5a0131(0xc3)][_0x5a0131(0xc7)]=_0x123e92,this['threeObject'][_0x5a0131(0xc0)]=_0x1653d1,this[_0x5a0131(0x9e)]='CustomMeshComponent',this[_0x5a0131(0xb0)]=!![],this[_0x5a0131(0xbb)]=!![];}['computeUVs'](_0x234727){const _0x5a41d4=_0x17d9e0,_0x3ded03=new Float32Array(_0x234727[_0x5a41d4(0xd9)]*0x2);if(_0x234727[_0x5a41d4(0xd9)]===0x0)return _0x3ded03;let _0x25e739=Infinity,_0x8502a6=-Infinity,_0x3d8650=Infinity,_0x4f8b3e=-Infinity,_0x322640=Infinity,_0x21696a=-Infinity;for(const _0x1f68bd of _0x234727){_0x25e739=Math[_0x5a41d4(0xc1)](_0x25e739,_0x1f68bd['x']),_0x8502a6=Math[_0x5a41d4(0xa8)](_0x8502a6,_0x1f68bd['x']),_0x3d8650=Math[_0x5a41d4(0xc1)](_0x3d8650,_0x1f68bd['y']),_0x4f8b3e=Math['max'](_0x4f8b3e,_0x1f68bd['y']),_0x322640=Math['min'](_0x322640,_0x1f68bd['z']),_0x21696a=Math[_0x5a41d4(0xa8)](_0x21696a,_0x1f68bd['z']);}const _0x58f551=_0x8502a6-_0x25e739,_0x1511e1=_0x4f8b3e-_0x3d8650,_0x3d313d=_0x21696a-_0x322640;let _0x48695b,_0x56d0df,_0x1acc5d,_0x881505,_0x900909,_0x32578e;if(_0x58f551<=_0x1511e1&&_0x58f551<=_0x3d313d)_0x48695b='y',_0x56d0df='z',_0x1acc5d=_0x3d8650,_0x881505=_0x1511e1,_0x900909=_0x322640,_0x32578e=_0x3d313d;else _0x1511e1<=_0x58f551&&_0x1511e1<=_0x3d313d?(_0x48695b='x',_0x56d0df='z',_0x1acc5d=_0x25e739,_0x881505=_0x58f551,_0x900909=_0x322640,_0x32578e=_0x3d313d):(_0x48695b='x',_0x56d0df='y',_0x1acc5d=_0x25e739,_0x881505=_0x58f551,_0x900909=_0x3d8650,_0x32578e=_0x1511e1);if(_0x881505===0x0)_0x881505=0x1;if(_0x32578e===0x0)_0x32578e=0x1;for(let _0x342927=0x0;_0x342927<_0x234727[_0x5a41d4(0xd9)];_0x342927++){const _0x26892f=_0x234727[_0x342927],_0x1dd4b9=(_0x26892f[_0x48695b]-_0x1acc5d)/_0x881505,_0x1d4b23=(_0x26892f[_0x56d0df]-_0x900909)/_0x32578e;_0x3ded03[_0x342927*0x2]=_0x1dd4b9,_0x3ded03[_0x342927*0x2+0x1]=_0x1d4b23;}return _0x3ded03;}['calculatePolygonArea'](_0x33087b){let _0x3ac4b0=0x0;const _0x9e6a95=_0x33087b['length']/0x2;for(let _0x2c7804=0x0;_0x2c7804<_0x9e6a95;_0x2c7804++){const _0x4b6fda=(_0x2c7804+0x1)%_0x9e6a95,_0x2e6795=_0x33087b[_0x2c7804*0x2],_0x167841=_0x33087b[_0x2c7804*0x2+0x1],_0x540b9a=_0x33087b[_0x4b6fda*0x2],_0x20dc76=_0x33087b[_0x4b6fda*0x2+0x1];_0x3ac4b0+=_0x2e6795*_0x20dc76-_0x540b9a*_0x167841;}return _0x3ac4b0/0x2;}['constructGeometry'](_0x467ee0){const _0x30d1f7=_0x17d9e0,_0x3a536c=new webgpu.BufferGeometry();if(!_0x467ee0[_0x30d1f7(0xa0)]||_0x467ee0[_0x30d1f7(0xa0)]['length']===0x0)return console[_0x30d1f7(0xa3)](_0x30d1f7(0x96)),_0x3a536c;const _0x471a7b=new Float32Array(_0x467ee0['vertices']['length']*0x3);for(let _0x509423=0x0;_0x509423<_0x467ee0[_0x30d1f7(0xa0)][_0x30d1f7(0xd9)];_0x509423++){_0x471a7b[_0x509423*0x3]=_0x467ee0[_0x30d1f7(0xa0)][_0x509423]['x'],_0x471a7b[_0x509423*0x3+0x1]=_0x467ee0[_0x30d1f7(0xa0)][_0x509423]['y'],_0x471a7b[_0x509423*0x3+0x2]=_0x467ee0[_0x30d1f7(0xa0)][_0x509423]['z'];}_0x3a536c['setAttribute'](_0x30d1f7(0xad),new webgpu.Float32BufferAttribute(_0x471a7b,0x3));if(_0x467ee0[_0x30d1f7(0x99)]&&_0x467ee0[_0x30d1f7(0x99)]['length']>0x0)_0x3a536c['setIndex'](_0x467ee0[_0x30d1f7(0x99)]);else {const _0x53be20=[];let _0x2caeae=Infinity,_0x281776=-Infinity,_0x38fb8=Infinity,_0x223c11=-Infinity,_0x49078a=Infinity,_0x466788=-Infinity;for(let _0x38213b=0x0;_0x38213b<_0x467ee0[_0x30d1f7(0xa0)][_0x30d1f7(0xd9)];_0x38213b++){const _0x46ca91=_0x467ee0['vertices'][_0x38213b];_0x38fb8=Math['min'](_0x38fb8,_0x46ca91['x']),_0x223c11=Math[_0x30d1f7(0xa8)](_0x223c11,_0x46ca91['x']),_0x2caeae=Math[_0x30d1f7(0xc1)](_0x2caeae,_0x46ca91['y']),_0x281776=Math['max'](_0x281776,_0x46ca91['y']),_0x49078a=Math[_0x30d1f7(0xc1)](_0x49078a,_0x46ca91['z']),_0x466788=Math[_0x30d1f7(0xa8)](_0x466788,_0x46ca91['z']);}const _0x32a9e8=_0x223c11-_0x38fb8,_0x8a60ae=_0x281776-_0x2caeae,_0xefb54e=_0x466788-_0x49078a;if(_0x8a60ae<=_0x32a9e8&&_0x8a60ae<=_0xefb54e){for(let _0x5d62e7=0x0;_0x5d62e7<_0x467ee0[_0x30d1f7(0xa0)][_0x30d1f7(0xd9)];_0x5d62e7++){_0x53be20[_0x30d1f7(0xb2)](_0x467ee0[_0x30d1f7(0xa0)][_0x5d62e7]['x']),_0x53be20[_0x30d1f7(0xb2)](_0x467ee0[_0x30d1f7(0xa0)][_0x5d62e7]['z']);}}else {if(_0x32a9e8<=_0x8a60ae&&_0x32a9e8<=_0xefb54e){for(let _0x1546f5=0x0;_0x1546f5<_0x467ee0[_0x30d1f7(0xa0)][_0x30d1f7(0xd9)];_0x1546f5++){_0x53be20[_0x30d1f7(0xb2)](_0x467ee0['vertices'][_0x1546f5]['y']),_0x53be20[_0x30d1f7(0xb2)](_0x467ee0[_0x30d1f7(0xa0)][_0x1546f5]['z']);}}else {for(let _0x590af5=0x0;_0x590af5<_0x467ee0[_0x30d1f7(0xa0)][_0x30d1f7(0xd9)];_0x590af5++){_0x53be20[_0x30d1f7(0xb2)](_0x467ee0[_0x30d1f7(0xa0)][_0x590af5]['x']),_0x53be20[_0x30d1f7(0xb2)](_0x467ee0[_0x30d1f7(0xa0)][_0x590af5]['y']);}}}const _0x75f220=this[_0x30d1f7(0xcd)](_0x53be20),_0x49c745=_0x75f220<0x0;if(_0x49c745){console[_0x30d1f7(0xae)](_0x30d1f7(0xd5)),_0x53be20[_0x30d1f7(0xbd)]();const _0x2bab3c=[];for(let _0x10a00b=_0x53be20[_0x30d1f7(0xd9)]-0x2;_0x10a00b>=0x0;_0x10a00b-=0x2){_0x2bab3c[_0x30d1f7(0xb2)](_0x53be20[_0x10a00b],_0x53be20[_0x10a00b+0x1]);}_0x53be20[_0x30d1f7(0xd9)]=0x0,_0x53be20['push'](..._0x2bab3c);}try{const _0x564766=_0x8f7dc4(_0x53be20,undefined,0x2);if(_0x564766&&_0x564766[_0x30d1f7(0xd9)]>0x0){if(_0x49c745)for(let _0x403085=0x0;_0x403085<_0x564766['length'];_0x403085+=0x3){const _0xd52990=_0x564766[_0x403085];_0x564766[_0x403085]=_0x564766[_0x403085+0x2],_0x564766[_0x403085+0x2]=_0xd52990;}_0x3a536c[_0x30d1f7(0xcf)](_0x564766);}else console[_0x30d1f7(0xae)](_0x30d1f7(0xa9));}catch(_0x52922c){console[_0x30d1f7(0xa3)](_0x30d1f7(0xa7),_0x52922c);}}if(_0x467ee0[_0x30d1f7(0xa2)]&&_0x467ee0['normals'][_0x30d1f7(0xd9)]===_0x467ee0[_0x30d1f7(0xa0)]['length']){const _0xeca7c4=new Float32Array(_0x467ee0[_0x30d1f7(0xa2)]['length']*0x3);for(let _0x2e7a9f=0x0;_0x2e7a9f<_0x467ee0[_0x30d1f7(0xa2)][_0x30d1f7(0xd9)];_0x2e7a9f++){_0xeca7c4[_0x2e7a9f*0x3]=_0x467ee0[_0x30d1f7(0xa2)][_0x2e7a9f]['x'],_0xeca7c4[_0x2e7a9f*0x3+0x1]=_0x467ee0[_0x30d1f7(0xa2)][_0x2e7a9f]['y'],_0xeca7c4[_0x2e7a9f*0x3+0x2]=_0x467ee0[_0x30d1f7(0xa2)][_0x2e7a9f]['z'];}_0x3a536c[_0x30d1f7(0xca)](_0x30d1f7(0xb1),new webgpu.Float32BufferAttribute(_0xeca7c4,0x3));}else _0x3a536c[_0x30d1f7(0xc2)]();if(_0x467ee0['uvs']&&_0x467ee0[_0x30d1f7(0xaf)][_0x30d1f7(0xd9)]>0x0){const _0x28346a=new Float32Array(_0x467ee0[_0x30d1f7(0xaf)][_0x30d1f7(0xd9)]*0x2);for(let _0x4d85d0=0x0;_0x4d85d0<_0x467ee0['uvs'][_0x30d1f7(0xd9)];_0x4d85d0++){_0x28346a[_0x4d85d0*0x2]=_0x467ee0[_0x30d1f7(0xaf)][_0x4d85d0]['x'],_0x28346a[_0x4d85d0*0x2+0x1]=_0x467ee0[_0x30d1f7(0xaf)][_0x4d85d0]['y'];}_0x3a536c[_0x30d1f7(0xca)]('uv',new webgpu.Float32BufferAttribute(_0x28346a,0x2));}else {const _0x51be24=this[_0x30d1f7(0xce)](_0x467ee0[_0x30d1f7(0xa0)]);_0x3a536c[_0x30d1f7(0xca)]('uv',new webgpu.Float32BufferAttribute(_0x51be24,0x2));}if(_0x467ee0['colors']&&_0x467ee0[_0x30d1f7(0xb9)]['length']===_0x467ee0[_0x30d1f7(0xa0)][_0x30d1f7(0xd9)]){const _0x436d41=new Float32Array(_0x467ee0['colors'][_0x30d1f7(0xd9)]*0x3);for(let _0x5aa807=0x0;_0x5aa807<_0x467ee0[_0x30d1f7(0xb9)][_0x30d1f7(0xd9)];_0x5aa807++){_0x436d41[_0x5aa807*0x3]=_0x467ee0['colors'][_0x5aa807]['r'],_0x436d41[_0x5aa807*0x3+0x1]=_0x467ee0[_0x30d1f7(0xb9)][_0x5aa807]['g'],_0x436d41[_0x5aa807*0x3+0x2]=_0x467ee0[_0x30d1f7(0xb9)][_0x5aa807]['b'];}_0x3a536c['setAttribute'](_0x30d1f7(0x9a),new webgpu.Float32BufferAttribute(_0x436d41,0x3));}return _0x3a536c;}set[_0x17d9e0(0x9b)](_0x491aab){const _0x2ebe4c=_0x17d9e0;var _0x3c5541,_0x5c9132,_0x4a0df9;this[_0x2ebe4c(0xd4)]&&this[_0x2ebe4c(0xd4)]['release']();const _0xad70a1=this[_0x2ebe4c(0xaa)](_0x491aab);this['_geometryPtr']=this['app'][_0x2ebe4c(0xd8)][_0x2ebe4c(0x98)](_0xad70a1),this[_0x2ebe4c(0xc3)][_0x2ebe4c(0xc0)]=_0xad70a1,this[_0x2ebe4c(0xc5)]={'vertices':_0x491aab['vertices'][_0x2ebe4c(0x97)](_0x22d6b8=>_0x22d6b8[_0x2ebe4c(0xb8)]()),'indices':_0x491aab[_0x2ebe4c(0x99)]?[..._0x491aab[_0x2ebe4c(0x99)]]:undefined,'normals':(_0x3c5541=_0x491aab[_0x2ebe4c(0xa2)])===null||_0x3c5541===void 0?void 0:_0x3c5541[_0x2ebe4c(0x97)](_0x1cbc82=>_0x1cbc82[_0x2ebe4c(0xb8)]()),'uvs':(_0x5c9132=_0x491aab[_0x2ebe4c(0xaf)])===null||_0x5c9132===void 0?void 0:_0x5c9132['map'](_0x4bdcc0=>_0x4bdcc0[_0x2ebe4c(0xb8)]()),'colors':(_0x4a0df9=_0x491aab['colors'])===null||_0x4a0df9===void 0?void 0:_0x4a0df9[_0x2ebe4c(0x97)](_0x5d80de=>_0x5d80de['clone']())},this['world']&&this['world'][_0x2ebe4c(0xab)]['markRenderStateDirty']();}get[_0x17d9e0(0x9b)](){const _0x6d3e5d=_0x17d9e0;return this[_0x6d3e5d(0xc5)];}['createDefaultObject'](){return new webgpu.Mesh();}set['castShadow'](_0x46b46e){const _0x4e5f0c=_0x17d9e0;if(this[_0x4e5f0c(0xc3)])this[_0x4e5f0c(0xc3)][_0x4e5f0c(0xb0)]=_0x46b46e;}get['castShadow'](){const _0x48914b=_0x17d9e0;return this['threeObject']?this[_0x48914b(0xc3)]['castShadow']:![];}set[_0x17d9e0(0xbb)](_0x5975b8){const _0x42a942=_0x17d9e0;if(!this[_0x42a942(0xc3)])return;this['threeObject'][_0x42a942(0xbb)]=_0x5975b8;}get['receiveShadow'](){const _0x135db3=_0x17d9e0;return this[_0x135db3(0xc3)]?this['threeObject'][_0x135db3(0xbb)]:![];}[_0x17d9e0(0xbc)](){const _0xcf10d1=_0x17d9e0;let _0x2ca815=new webgpu.Vector3();return this[_0xcf10d1(0x9f)]()['getCenter'](_0x2ca815),_0x2ca815;}[_0x17d9e0(0xd7)](){const _0x3f9b55=_0x17d9e0;let _0x5e8ac6=new webgpu.Vector3(),_0x453686=this['getBounds']();return _0x453686['getCenter'](_0x5e8ac6),_0x5e8ac6['y']=_0x453686[_0x3f9b55(0xa8)]['y'],_0x5e8ac6;}['getBoundsBottomCenterPosition'](){const _0x56aec7=_0x17d9e0;let _0x37e150=new webgpu.Vector3(),_0x29248e=this[_0x56aec7(0x9f)]();return _0x29248e[_0x56aec7(0x9c)](_0x37e150),_0x37e150['y']=_0x29248e['min']['y'],_0x37e150;}[_0x17d9e0(0xa5)](){const _0x5f5027=_0x17d9e0;var _0x17c068,_0x1b3bdb;this[_0x5f5027(0xc3)]&&this[_0x5f5027(0xc3)][_0x5f5027(0xd6)](),(_0x17c068=this['_geometryPtr'])===null||_0x17c068===void 0?void 0:_0x17c068['release'](),(_0x1b3bdb=this['_materialPtr'])===null||_0x1b3bdb===void 0?void 0:_0x1b3bdb[_0x5f5027(0xc4)](),super[_0x5f5027(0xa5)]();}}
|
|
135
138
|
|
|
136
|
-
|
|
139
|
+
(function(_0x1d631d,_0x39840d){var _0x37f29f=_0x4390,_0x14e366=_0x1d631d();while(!![]){try{var _0x3a8574=parseInt(_0x37f29f(0xc6))/0x1+parseInt(_0x37f29f(0xc3))/0x2+parseInt(_0x37f29f(0xc4))/0x3*(-parseInt(_0x37f29f(0xc1))/0x4)+parseInt(_0x37f29f(0xbf))/0x5*(parseInt(_0x37f29f(0xbe))/0x6)+parseInt(_0x37f29f(0xc5))/0x7+-parseInt(_0x37f29f(0xc7))/0x8+-parseInt(_0x37f29f(0xc0))/0x9*(parseInt(_0x37f29f(0xc2))/0xa);if(_0x3a8574===_0x39840d)break;else _0x14e366['push'](_0x14e366['shift']());}catch(_0x46caec){_0x14e366['push'](_0x14e366['shift']());}}}(_0x3f19,0x46576));function _0x3f19(){var _0x5c33cb=['255VBUhgB','3575761pSCeII','425537TWhcTP','1699736jKMVbA','7494AIIqOo','1080yfqwTg','22158ksUClR','12464moyiix','3470VGBfIn','827230OMbDAi'];_0x3f19=function(){return _0x5c33cb;};return _0x3f19();}function _0x4390(_0x17fec5,_0x3f0eca){_0x17fec5=_0x17fec5-0xbe;var _0x3f19fb=_0x3f19();var _0x4390d9=_0x3f19fb[_0x17fec5];return _0x4390d9;}class SphereComponent extends MeshComponent{constructor(_0x136d71,_0x38e738,_0x2fe519=new webgpu.MeshBasicMaterial(),_0x1de54e=0x20,_0x195e57=0x10,_0x149005){super(_0x136d71,new webgpu.SphereGeometry(_0x38e738,_0x1de54e,_0x195e57),_0x2fe519,_0x149005);}}
|
|
137
140
|
|
|
138
|
-
function _0x2a68(){const _0x1e6788=['colorWrite','3173208IDAYNL','targetMesh','fromBufferAttribute','add','crossVectors','object','isArray','40lPYcVD','appendChild','parent','371vkxSwd','raycaster','tickFunc','about:blank','setAttribute','opacity','__alpha_punch','wrapper','length','addTickingFunction','auto','allow','createDefaultObject','height','floor','toneMapped','getX','getIndex','occlusionCandidates','createElement','div','cameraWorldPos','3359570nfugto','receiveShadow','src','threeObject\x20is\x20null','position','background','getAttribute','computeBoundingBox','push','rayDir','trim','backfaceVisibility','9QUNqJd','getWorldPosition','lengthSq','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','sort','boundingBox','name','visible','allowfullscreen','hidden','blendSrc','blending','threeObject','depthTest','alphaPunchMeshes','includes','dispose','distance','depthMaskMeshes','polygonOffsetFactor','fog','793250tFlABS','material','depthWrite','abs','quaternion','app','66yFouIW','pointerEvents','1438882GfhFvo','count','setFromUnitVectors','setupMasks','100%','subVectors','style','userData','getSize','none','rayIgnored','dataset','iframe','polygonOffset','filter','setupOcclusionTick','normalize','blendDstAlpha','3SuVgMS','lazy','panelWorldPos','normal','outer','257772MRiWVQ','removeFromParent','canvas','scale','CSS3DWebPanelComponent','min','width','231905PHlxqX','transparent','startsWith','traverse','viewport','removeTickingFunction','obj','meshes','polygonOffsetUnits','LYObject','intersectObjects','max','remove','37768MaWOsR','camera','renderOrder','world','set','destroy','round'];_0x2a68=function(){return _0x1e6788;};return _0x2a68();}const _0x968241=_0x5986;(function(_0x1b7630,_0x383b5b){const _0xe7ccc4=_0x5986,_0xe638c=_0x1b7630();while(!![]){try{const _0x10a665=-parseInt(_0xe7ccc4(0x98))/0x1+parseInt(_0xe7ccc4(0xa0))/0x2*(parseInt(_0xe7ccc4(0xb2))/0x3)+-parseInt(_0xe7ccc4(0xda))/0x4*(parseInt(_0xe7ccc4(0xbe))/0x5)+parseInt(_0xe7ccc4(0xd3))/0x6+-parseInt(_0xe7ccc4(0xdd))/0x7*(-parseInt(_0xe7ccc4(0xcb))/0x8)+parseInt(_0xe7ccc4(0xff))/0x9*(parseInt(_0xe7ccc4(0xf3))/0xa)+-parseInt(_0xe7ccc4(0x9e))/0xb*(parseInt(_0xe7ccc4(0xb7))/0xc);if(_0x10a665===_0x383b5b)break;else _0xe638c['push'](_0xe638c['shift']());}catch(_0x2a7da3){_0xe638c['push'](_0xe638c['shift']());}}}(_0x2a68,0x6d815));function _0x5986(_0x45073f,_0x1eee5e){_0x45073f=_0x45073f-0x96;const _0x2a684c=_0x2a68();let _0x59868b=_0x2a684c[_0x45073f];return _0x59868b;}function normalizeAssetUrl(_0x9e7b25){const _0x3c3c1e=_0x5986,_0x12e04f=String(_0x9e7b25!==null&&_0x9e7b25!==void 0?_0x9e7b25:'')[_0x3c3c1e(0xfd)]();if(!_0x12e04f)return '';if(/^https?:\/\//i['test'](_0x12e04f))return _0x12e04f;if(_0x12e04f[_0x3c3c1e(0xc0)]('/'))return _0x12e04f;return '/'+_0x12e04f;}function getMeshPlaneLocalSize(_0x179daf){const _0x403e6c=_0x5986,_0x42d7e4=_0x179daf['geometry'];if(!_0x42d7e4)return {'width':0x1,'height':0x1};if(!_0x42d7e4[_0x403e6c(0x104)])_0x42d7e4[_0x403e6c(0xfa)]();const _0x1ed771=_0x42d7e4[_0x403e6c(0x104)];if(!_0x1ed771)return {'width':0x1,'height':0x1};const _0x4f7a67=_0x1ed771[_0x403e6c(0xa8)](new three.Vector3()),_0x17942f=[Math[_0x403e6c(0x9b)](_0x4f7a67['x']),Math['abs'](_0x4f7a67['y']),Math[_0x403e6c(0x9b)](_0x4f7a67['z'])][_0x403e6c(0x103)]((_0x2c0115,_0x579236)=>_0x579236-_0x2c0115),_0x573a24=Math[_0x403e6c(0xc9)](0.0001,_0x17942f[0x0]||0x1),_0x5a34eb=Math[_0x403e6c(0xc9)](0.0001,_0x17942f[0x1]||_0x573a24);return {'width':_0x573a24,'height':_0x5a34eb};}function getMeshLocalNormal(_0xc2f5b6){const _0x1d7878=_0x5986,_0x25c0e6=_0xc2f5b6['geometry'];if(!_0x25c0e6)return new three.Vector3(0x0,0x0,0x1);const _0x5623c8=_0x25c0e6[_0x1d7878(0xf9)](_0x1d7878(0xb5));if(_0x5623c8&&_0x5623c8[_0x1d7878(0xa1)]>0x0){const _0x231519=new three.Vector3(),_0x30073e=new three.Vector3();for(let _0x5cbdbc=0x0;_0x5cbdbc<_0x5623c8[_0x1d7878(0xa1)];_0x5cbdbc++){_0x30073e[_0x1d7878(0xd5)](_0x5623c8,_0x5cbdbc),_0x231519['add'](_0x30073e);}if(_0x231519[_0x1d7878(0x101)]()>1e-12)return _0x231519[_0x1d7878(0xb0)]();}const _0x83c1f8=_0x25c0e6[_0x1d7878(0xf9)](_0x1d7878(0xf7));if(!_0x83c1f8||_0x83c1f8[_0x1d7878(0xa1)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x28e2d6=_0x25c0e6[_0x1d7878(0xee)](),_0x22857d=new three.Vector3(),_0x6f2a2e=new three.Vector3(),_0x323189=new three.Vector3(),_0x25bbb0=new three.Vector3(),_0x6c0e7f=new three.Vector3(),_0x430955=new three.Vector3(),_0x53f78a=new three.Vector3(),_0x318a23=_0x28e2d6?Math[_0x1d7878(0xeb)](_0x28e2d6[_0x1d7878(0xa1)]/0x3):Math[_0x1d7878(0xeb)](_0x83c1f8[_0x1d7878(0xa1)]/0x3);for(let _0x43ae08=0x0;_0x43ae08<_0x318a23;_0x43ae08++){const _0x16c101=_0x28e2d6?_0x28e2d6[_0x1d7878(0xed)](_0x43ae08*0x3+0x0):_0x43ae08*0x3+0x0,_0x144d2f=_0x28e2d6?_0x28e2d6['getX'](_0x43ae08*0x3+0x1):_0x43ae08*0x3+0x1,_0xb95af7=_0x28e2d6?_0x28e2d6[_0x1d7878(0xed)](_0x43ae08*0x3+0x2):_0x43ae08*0x3+0x2;_0x22857d['fromBufferAttribute'](_0x83c1f8,_0x16c101),_0x6f2a2e[_0x1d7878(0xd5)](_0x83c1f8,_0x144d2f),_0x323189[_0x1d7878(0xd5)](_0x83c1f8,_0xb95af7),_0x25bbb0[_0x1d7878(0xa5)](_0x6f2a2e,_0x22857d),_0x6c0e7f['subVectors'](_0x323189,_0x22857d),_0x53f78a[_0x1d7878(0xd7)](_0x25bbb0,_0x6c0e7f);if(_0x53f78a[_0x1d7878(0x101)]()<1e-14)continue;_0x430955[_0x1d7878(0xd6)](_0x53f78a);}if(_0x430955[_0x1d7878(0x101)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x430955['normalize']();}function collectOcclusionMeshes(_0x212d86){const _0x1da7bc=_0x5986,_0x3ac4a8=[];return _0x212d86[_0x1da7bc(0xc1)](_0x524798=>{const _0x16321b=_0x1da7bc;var _0x170a59;const _0x425e8f=_0x524798;if(!(_0x425e8f===null||_0x425e8f===void 0?void 0:_0x425e8f['isMesh']))return;if(!_0x524798[_0x16321b(0x106)])return;if((_0x170a59=_0x524798[_0x16321b(0xa7)])===null||_0x170a59===void 0?void 0:_0x170a59[_0x16321b(0xaa)])return;_0x3ac4a8['push'](_0x524798);}),_0x3ac4a8;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x968241(0x10b)](){const _0x2f2443=_0x968241;if(!this['obj'])throw new Error(_0x2f2443(0xf6));return this['obj'];}set[_0x968241(0x10b)](_0x4ed607){const _0x2e97e7=_0x968241;this[_0x2e97e7(0xc4)]=_0x4ed607,this[_0x2e97e7(0xc4)]&&(this[_0x2e97e7(0xc4)]['userData'][_0x2e97e7(0xc7)]=this);}constructor(_0x2d0435,_0x26be45,_0xbe4480,_0xf3f050){const _0x2d950c=_0x968241;super(_0x2d0435,_0xf3f050),this[_0x2d950c(0xe4)]=null,this[_0x2d950c(0xac)]=null,this[_0x2d950c(0xd4)]=null,this[_0x2d950c(0x111)]=[],this[_0x2d950c(0x10d)]=[],this['tickFunc']=null,this[_0x2d950c(0xf2)]=new three.Vector3(),this['panelWorldPos']=new three.Vector3(),this[_0x2d950c(0xfc)]=new three.Vector3(),this[_0x2d950c(0xde)]=new three.Raycaster(),this[_0x2d950c(0xef)]=[],this[_0x2d950c(0x105)]=_0x2d950c(0xbb),this[_0x2d950c(0xc5)]=_0x26be45[_0x2d950c(0xae)](_0x289949=>!!_0x289949);const _0x11bbc3=normalizeAssetUrl(_0xbe4480);if(!_0x11bbc3||!this[_0x2d950c(0xc5)][_0x2d950c(0xe5)])return;this['targetMesh']=this[_0x2d950c(0xc5)][0x0];const _0x23fb7b=getMeshPlaneLocalSize(this[_0x2d950c(0xd4)]),_0x5291dc=0x4b0,_0x496f72=Math['max'](0x200,Math[_0x2d950c(0xbc)](0x1000,Math['round'](_0x23fb7b[_0x2d950c(0xbd)]*_0x5291dc))),_0x44b0fd=Math['max'](0x200,Math[_0x2d950c(0xbc)](0x1000,Math[_0x2d950c(0xd1)](_0x23fb7b[_0x2d950c(0xea)]*_0x5291dc))),_0x5dd884=document['createElement']('div');_0x5dd884[_0x2d950c(0xa6)][_0x2d950c(0xbd)]=_0x496f72+'px',_0x5dd884[_0x2d950c(0xa6)][_0x2d950c(0xea)]=_0x44b0fd+'px',_0x5dd884[_0x2d950c(0xa6)][_0x2d950c(0x9f)]='auto',_0x5dd884['style']['overflow']='hidden',_0x5dd884[_0x2d950c(0xa6)][_0x2d950c(0xf8)]='transparent',_0x5dd884[_0x2d950c(0xa6)][_0x2d950c(0xfe)]=_0x2d950c(0x108),this[_0x2d950c(0xe4)]=_0x5dd884;const _0x2c24d6=document[_0x2d950c(0xf0)](_0x2d950c(0xac));_0x2c24d6[_0x2d950c(0xf5)]=_0x11bbc3,_0x2c24d6['style'][_0x2d950c(0xbd)]='100%',_0x2c24d6[_0x2d950c(0xa6)][_0x2d950c(0xea)]=_0x2d950c(0xa4),_0x2c24d6[_0x2d950c(0xa6)]['border']='0',_0x2c24d6[_0x2d950c(0xa6)][_0x2d950c(0xf8)]=_0x2d950c(0xbf),_0x2c24d6[_0x2d950c(0xa6)][_0x2d950c(0x9f)]='auto',_0x2c24d6['style'][_0x2d950c(0xfe)]=_0x2d950c(0x108),_0x2c24d6[_0x2d950c(0xe1)](_0x2d950c(0xe8),_0x2d950c(0x102)),_0x2c24d6[_0x2d950c(0xe1)](_0x2d950c(0x107),'true'),_0x2c24d6[_0x2d950c(0xe1)]('loading',_0x2d950c(0xb3)),_0x5dd884[_0x2d950c(0xdb)](_0x2c24d6),this['iframe']=_0x2c24d6;const _0xa65ff7=new Addons_js.CSS3DObject(_0x5dd884);_0xa65ff7['name']=(this[_0x2d950c(0xd4)]['name']||'wallboard')+'__css3d_web',_0xa65ff7['position'][_0x2d950c(0xcf)](0x0,0x0,0.001),_0xa65ff7[_0x2d950c(0x9c)][_0x2d950c(0xa2)](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this['targetMesh'])),_0xa65ff7['scale'][_0x2d950c(0xcf)](_0x23fb7b['width']/_0x496f72,_0x23fb7b['height']/_0x44b0fd,0x1),this['threeObject']=_0xa65ff7,this['targetMesh'][_0x2d950c(0xd6)](_0xa65ff7),this[_0x2d950c(0xa3)](),this[_0x2d950c(0xef)]=collectOcclusionMeshes(this[_0x2d950c(0x9d)][_0x2d950c(0xce)]['scene']),this[_0x2d950c(0xaf)]();}[_0x968241(0xe9)](){const _0x1d2d16=_0x968241;return new Addons_js.CSS3DObject(document['createElement'](_0x1d2d16(0xf1)));}[_0x968241(0xa3)](){const _0x574fa2=_0x968241;var _0x42a933;for(const _0xc70a75 of this[_0x574fa2(0xc5)]){_0xc70a75[_0x574fa2(0xcd)]=Math[_0x574fa2(0xbc)]((_0x42a933=_0xc70a75[_0x574fa2(0xcd)])!==null&&_0x42a933!==void 0?_0x42a933:0x0,-1e3),_0xc70a75['castShadow']=![],_0xc70a75[_0x574fa2(0xf4)]=![];const _0x28e5c5=Array[_0x574fa2(0xd9)](_0xc70a75[_0x574fa2(0x99)])?_0xc70a75[_0x574fa2(0x99)]:[_0xc70a75[_0x574fa2(0x99)]];for(const _0x587128 of _0x28e5c5){const _0x46f464=_0x587128;if(!_0x46f464)continue;_0x46f464['transparent']=!![],_0x46f464[_0x574fa2(0xe2)]=0x0,_0x46f464[_0x574fa2(0xd2)]=![],_0x46f464[_0x574fa2(0x10c)]=![],_0x46f464[_0x574fa2(0x9a)]=![],_0x46f464['needsUpdate']=!![];}const _0x379e48=_0xc70a75['geometry'];if(!_0x379e48)continue;const _0x3eb2ff=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x3eb2ff[_0x574fa2(0xd2)]=![],_0x3eb2ff[_0x574fa2(0xec)]=![],_0x3eb2ff[_0x574fa2(0x97)]=![],_0x3eb2ff[_0x574fa2(0x10a)]=three.NoBlending,_0x3eb2ff[_0x574fa2(0xad)]=!![],_0x3eb2ff[_0x574fa2(0x96)]=-4,_0x3eb2ff[_0x574fa2(0xc6)]=-4;const _0x30d503=new three.Mesh(_0x379e48,_0x3eb2ff);_0x30d503[_0x574fa2(0x105)]=(_0xc70a75[_0x574fa2(0x105)]||_0x574fa2(0xb9))+'__depth_mask',_0x30d503['userData']['rayIgnored']=!![],_0x30d503['renderOrder']=Math[_0x574fa2(0xbc)](_0xc70a75['renderOrder']-0x1,-2e3),_0x30d503[_0x574fa2(0xf7)]['set'](0x0,0x0,0x0),_0x30d503[_0x574fa2(0x9c)][_0x574fa2(0xcf)](0x0,0x0,0x0,0x1),_0x30d503[_0x574fa2(0xba)]['set'](0x1,0x1,0x1),_0xc70a75[_0x574fa2(0xd6)](_0x30d503),this[_0x574fa2(0x111)][_0x574fa2(0xfb)](_0x30d503);const _0x510e3f=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x510e3f[_0x574fa2(0xec)]=![],_0x510e3f[_0x574fa2(0x97)]=![],_0x510e3f['blendEquation']=three.AddEquation,_0x510e3f[_0x574fa2(0x109)]=three.ZeroFactor,_0x510e3f['blendDst']=three.OneFactor,_0x510e3f['blendSrcAlpha']=three.ZeroFactor,_0x510e3f[_0x574fa2(0xb1)]=three.ZeroFactor;const _0x5d1c78=new three.Mesh(_0x379e48,_0x510e3f);_0x5d1c78[_0x574fa2(0x105)]=(_0xc70a75[_0x574fa2(0x105)]||'canvas')+_0x574fa2(0xe3),_0x5d1c78[_0x574fa2(0xa7)][_0x574fa2(0xaa)]=!![],_0x5d1c78[_0x574fa2(0xcd)]=Math['max'](_0xc70a75[_0x574fa2(0xcd)]+0x3e8,0x3e8),_0x5d1c78[_0x574fa2(0xf7)][_0x574fa2(0xcf)](0x0,0x0,0x0),_0x5d1c78[_0x574fa2(0x9c)][_0x574fa2(0xcf)](0x0,0x0,0x0,0x1),_0x5d1c78['scale'][_0x574fa2(0xcf)](0x1,0x1,0x1),_0xc70a75[_0x574fa2(0xd6)](_0x5d1c78),this[_0x574fa2(0x10d)][_0x574fa2(0xfb)](_0x5d1c78);}}[_0x968241(0xaf)](){const _0x364040=_0x968241;let _0xdc1fb1=0x0;this[_0x364040(0xdf)]=_0x1d1065=>{const _0x13de33=_0x364040;var _0x191a63;if(!this['targetMesh']||!this[_0x13de33(0xe4)]||!this[_0x13de33(0xac)])return;_0xdc1fb1+=_0x1d1065;if(_0xdc1fb1<0.05)return;_0xdc1fb1=0x0;const _0x197bfe=this[_0x13de33(0x9d)][_0x13de33(0xcc)];_0x197bfe[_0x13de33(0x100)](this[_0x13de33(0xf2)]),this[_0x13de33(0xd4)][_0x13de33(0x100)](this[_0x13de33(0xb4)]),this['rayDir']['subVectors'](this[_0x13de33(0xb4)],this[_0x13de33(0xf2)]);const _0x43cb0b=this[_0x13de33(0xfc)][_0x13de33(0xe5)]();if(_0x43cb0b<=0.00001)return;this[_0x13de33(0xfc)]['divideScalar'](_0x43cb0b),this[_0x13de33(0xde)][_0x13de33(0xcf)](this[_0x13de33(0xf2)],this[_0x13de33(0xfc)]);const _0x2bd013=this[_0x13de33(0xde)][_0x13de33(0xc8)](this[_0x13de33(0xef)],!![]);let _0x2cc64a=![];const _0x2599f7=_0x43cb0b-0.02;for(const _0x113419 of _0x2bd013){if(_0x113419[_0x13de33(0x110)]>=_0x2599f7)break;let _0x1f51db=_0x113419[_0x13de33(0xd8)],_0x2f09a6=!![];while(_0x1f51db){if(!_0x1f51db['visible']){_0x2f09a6=![];break;}_0x1f51db=_0x1f51db[_0x13de33(0xdc)];}if(!_0x2f09a6)continue;_0x1f51db=_0x113419[_0x13de33(0xd8)];let _0x187baf=![];while(_0x1f51db){if(this['meshes'][_0x13de33(0x10e)](_0x1f51db)){_0x187baf=!![];break;}_0x1f51db=_0x1f51db['parent'];}if(_0x187baf)continue;_0x2cc64a=!![];break;}const _0x141498=((_0x191a63=this['app'][_0x13de33(0xc2)][_0x13de33(0xb6)])===null||_0x191a63===void 0?void 0:_0x191a63[_0x13de33(0xab)]['lyCameraDragging'])==='1',_0x5085ab=_0x141498||_0x2cc64a?_0x13de33(0xa9):_0x13de33(0xe7);this['wrapper']['style'][_0x13de33(0x9f)]!==_0x5085ab&&(this[_0x13de33(0xe4)][_0x13de33(0xa6)][_0x13de33(0x9f)]=_0x5085ab),this['iframe']['style'][_0x13de33(0x9f)]!==_0x5085ab&&(this[_0x13de33(0xac)]['style']['pointerEvents']=_0x5085ab);},this['app'][_0x364040(0xe6)](this['tickFunc']);}['destroy'](){const _0x18c2a8=_0x968241;this[_0x18c2a8(0xdf)]&&(this[_0x18c2a8(0x9d)][_0x18c2a8(0xc3)](this[_0x18c2a8(0xdf)]),this[_0x18c2a8(0xdf)]=null);for(const _0x43d549 of this[_0x18c2a8(0x111)]){_0x43d549[_0x18c2a8(0xb8)]();const _0x28f6c8=_0x43d549[_0x18c2a8(0x99)];if(Array[_0x18c2a8(0xd9)](_0x28f6c8)){for(const _0x416b29 of _0x28f6c8)_0x416b29===null||_0x416b29===void 0?void 0:_0x416b29['dispose']();}else _0x28f6c8===null||_0x28f6c8===void 0?void 0:_0x28f6c8['dispose']();}this[_0x18c2a8(0x111)][_0x18c2a8(0xe5)]=0x0;for(const _0xf1fb41 of this[_0x18c2a8(0x10d)]){_0xf1fb41['removeFromParent']();const _0x5e04e6=_0xf1fb41[_0x18c2a8(0x99)];if(Array[_0x18c2a8(0xd9)](_0x5e04e6)){for(const _0x3fe529 of _0x5e04e6)_0x3fe529===null||_0x3fe529===void 0?void 0:_0x3fe529[_0x18c2a8(0x10f)]();}else _0x5e04e6===null||_0x5e04e6===void 0?void 0:_0x5e04e6[_0x18c2a8(0x10f)]();}this['alphaPunchMeshes']['length']=0x0,this[_0x18c2a8(0xac)]&&(this[_0x18c2a8(0xac)][_0x18c2a8(0xf5)]=_0x18c2a8(0xe0),this[_0x18c2a8(0xac)]=null),this[_0x18c2a8(0xe4)]&&(this[_0x18c2a8(0xe4)][_0x18c2a8(0xca)](),this[_0x18c2a8(0xe4)]=null),this['targetMesh']=null,this[_0x18c2a8(0xef)]=[],super[_0x18c2a8(0xd0)]();}}
|
|
141
|
+
function _0x3713(){const _0x4f77ee=['335324OgYMov','isClickEnabled','remove','enablePointerEvents','2871071DPYisN','1232104hjYIeF','center','parentNode','isHoverEnabled','5471304WnQmbb','obj','style','212856vrfBdG','threeObject','destroy','setVisible','auto','userData','copy','innerHTML','12GXsOou','pointerdown','element','709955egvlUm','691194qBVRiw'];_0x3713=function(){return _0x4f77ee;};return _0x3713();}const _0x5843ee=_0x5a96;(function(_0x2a5155,_0x1c7efa){const _0x314028=_0x5a96,_0x47f3cc=_0x2a5155();while(!![]){try{const _0x55fa22=-parseInt(_0x314028(0x11f))/0x1+parseInt(_0x314028(0x11e))/0x2+-parseInt(_0x314028(0x112))/0x3+parseInt(_0x314028(0x124))/0x4+-parseInt(_0x314028(0x11d))/0x5*(parseInt(_0x314028(0x11a))/0x6)+-parseInt(_0x314028(0x123))/0x7+parseInt(_0x314028(0x128))/0x8;if(_0x55fa22===_0x1c7efa)break;else _0x47f3cc['push'](_0x47f3cc['shift']());}catch(_0x45237a){_0x47f3cc['push'](_0x47f3cc['shift']());}}}(_0x3713,0x39e45));function _0x5a96(_0x10b77e,_0x96195f){_0x10b77e=_0x10b77e-0x111;const _0x371391=_0x3713();let _0x5a96e0=_0x371391[_0x10b77e];return _0x5a96e0;}class LabelComponent extends SceneComponent{get[_0x5843ee(0x113)](){const _0x228842=_0x5843ee;return this[_0x228842(0x129)];}set[_0x5843ee(0x113)](_0x81bca){const _0x4926d6=_0x5843ee;this['obj']=_0x81bca,this['obj']&&(this['obj'][_0x4926d6(0x117)]['LYObject']=this);}constructor(_0x195120,_0x54583d,_0x33b844={},_0x11d4e7){const _0x4b64aa=_0x5843ee;super(_0x195120,_0x11d4e7),this['obj']=new CSS2DRenderer_js.CSS2DObject(_0x54583d);const _0x67c19d=_0x33b844[_0x4b64aa(0x125)]||new webgpu.Vector2(0.5,0x1);_0x33b844[_0x4b64aa(0x122)]&&(_0x54583d[_0x4b64aa(0x111)]['pointerEvents']=_0x4b64aa(0x116),_0x54583d['addEventListener'](_0x4b64aa(0x11b),_0x30bd9e=>{_0x30bd9e['stopPropagation']();})),this['obj'][_0x4b64aa(0x125)][_0x4b64aa(0x118)](_0x67c19d);}set[_0x5843ee(0x127)](_0x55a022){return;}set[_0x5843ee(0x120)](_0x1c26bf){return;}[_0x5843ee(0x115)](_0x3acd40){const _0x4a7acc=_0x5843ee;super[_0x4a7acc(0x115)](_0x3acd40);}[_0x5843ee(0x114)](){const _0x2de164=_0x5843ee;this['threeObject'][_0x2de164(0x11c)]&&this['threeObject'][_0x2de164(0x11c)][_0x2de164(0x126)]&&(this['threeObject']['element'][_0x2de164(0x119)]='',this[_0x2de164(0x113)][_0x2de164(0x11c)][_0x2de164(0x121)]()),super[_0x2de164(0x114)]();}}
|
|
139
142
|
|
|
140
|
-
const _0x3ed01d=_0x4d11;(function(_0x16f4da,_0x2a7495){const _0x25c7bb=_0x4d11,_0x3d1653=_0x16f4da();while(!![]){try{const _0x4ff5b0=parseInt(_0x25c7bb(0x153))/0x1+parseInt(_0x25c7bb(0x15a))/0x2*(-parseInt(_0x25c7bb(0x14c))/0x3)+parseInt(_0x25c7bb(0x123))/0x4*(parseInt(_0x25c7bb(0x121))/0x5)+-parseInt(_0x25c7bb(0x11d))/0x6+-parseInt(_0x25c7bb(0x140))/0x7*(parseInt(_0x25c7bb(0x159))/0x8)+-parseInt(_0x25c7bb(0x12a))/0x9+parseInt(_0x25c7bb(0x152))/0xa;if(_0x4ff5b0===_0x2a7495)break;else _0x3d1653['push'](_0x3d1653['shift']());}catch(_0x2b8438){_0x3d1653['push'](_0x3d1653['shift']());}}}(_0x1ee0,0xd9f1c));class Text3DComponent extends SceneComponent{constructor(_0x4c0481,_0x1b243e,_0x5c3389){const _0x27c9a7=_0x4d11;super(_0x4c0481,_0x5c3389),this[_0x27c9a7(0x13a)]=_0x27c9a7(0x14f),this['_fontUrl']=_0x27c9a7(0x129),this[_0x27c9a7(0x12e)]=0x1,this['_height']=0.2,this[_0x27c9a7(0x115)]=0xc,this[_0x27c9a7(0x114)]=![],this[_0x27c9a7(0x146)]=0.03,this[_0x27c9a7(0x13d)]=0.02,this[_0x27c9a7(0x149)]=0x0,this['_bevelSegments']=0x5,this[_0x27c9a7(0x143)]=_0x27c9a7(0x142),this[_0x27c9a7(0x158)]=_0x27c9a7(0x142),this[_0x27c9a7(0x135)]=!![],this[_0x27c9a7(0x14a)]=null,this[_0x27c9a7(0x14e)]=null,this[_0x27c9a7(0x13e)]=this[_0x27c9a7(0x155)];if(_0x1b243e){if(_0x1b243e['text']!==undefined)this['_text']=_0x1b243e[_0x27c9a7(0x12d)];if(_0x1b243e[_0x27c9a7(0x124)]!==undefined)this[_0x27c9a7(0x14d)]=_0x1b243e[_0x27c9a7(0x124)];if(_0x1b243e[_0x27c9a7(0x11a)]!==undefined)this[_0x27c9a7(0x12e)]=_0x1b243e['size'];if(_0x1b243e[_0x27c9a7(0x134)]!==undefined)this[_0x27c9a7(0x127)]=_0x1b243e[_0x27c9a7(0x134)];if(_0x1b243e[_0x27c9a7(0x117)]!==undefined)this[_0x27c9a7(0x115)]=_0x1b243e[_0x27c9a7(0x117)];if(_0x1b243e['bevelEnabled']!==undefined)this[_0x27c9a7(0x114)]=_0x1b243e[_0x27c9a7(0x141)];if(_0x1b243e[_0x27c9a7(0x131)]!==undefined)this[_0x27c9a7(0x146)]=_0x1b243e[_0x27c9a7(0x131)];if(_0x1b243e['bevelSize']!==undefined)this[_0x27c9a7(0x13d)]=_0x1b243e[_0x27c9a7(0x11c)];if(_0x1b243e['bevelOffset']!==undefined)this[_0x27c9a7(0x149)]=_0x1b243e[_0x27c9a7(0x150)];if(_0x1b243e[_0x27c9a7(0x125)]!==undefined)this[_0x27c9a7(0x139)]=_0x1b243e[_0x27c9a7(0x125)];_0x1b243e[_0x27c9a7(0x144)]!==undefined&&(this[_0x27c9a7(0x143)]=_0x1b243e[_0x27c9a7(0x144)],this[_0x27c9a7(0x158)]=_0x1b243e['color']);if(_0x1b243e[_0x27c9a7(0x11e)]!==undefined)this[_0x27c9a7(0x158)]=_0x1b243e[_0x27c9a7(0x11e)];if(_0x1b243e['isUnlit']!==undefined)this[_0x27c9a7(0x135)]=_0x1b243e[_0x27c9a7(0x116)];}this[_0x27c9a7(0x12c)]();}[_0x3ed01d(0x118)](){return new webgpu.Group();}get[_0x3ed01d(0x12d)](){return this['_text'];}set[_0x3ed01d(0x12d)](_0x27454){const _0x431e08=_0x3ed01d;this['_text']!==_0x27454&&(this[_0x431e08(0x13a)]=_0x27454,this[_0x431e08(0x157)]());}get[_0x3ed01d(0x144)](){const _0x28bb72=_0x3ed01d;return this[_0x28bb72(0x143)];}set[_0x3ed01d(0x144)](_0xa0f636){const _0x876525=_0x3ed01d;this['_color']!==_0xa0f636&&(this[_0x876525(0x143)]=_0xa0f636,this[_0x876525(0x148)]());}get[_0x3ed01d(0x11e)](){const _0x2b13b7=_0x3ed01d;return this[_0x2b13b7(0x158)];}set[_0x3ed01d(0x11e)](_0x69c3de){const _0x11bd54=_0x3ed01d;this[_0x11bd54(0x158)]!==_0x69c3de&&(this['_sideColor']=_0x69c3de,this[_0x11bd54(0x148)]());}get['size'](){const _0x1da4c1=_0x3ed01d;return this[_0x1da4c1(0x12e)];}set[_0x3ed01d(0x11a)](_0x46ca10){const _0x29b3e6=_0x3ed01d;this[_0x29b3e6(0x12e)]!==_0x46ca10&&(this[_0x29b3e6(0x12e)]=_0x46ca10,this['refreshGeometry']());}get['height'](){const _0xc05bb3=_0x3ed01d;return this[_0xc05bb3(0x127)];}set[_0x3ed01d(0x134)](_0x3812ea){const _0x5a4995=_0x3ed01d;this['_height']!==_0x3812ea&&(this[_0x5a4995(0x127)]=_0x3812ea,this[_0x5a4995(0x157)]());}get[_0x3ed01d(0x124)](){const _0x4adb2=_0x3ed01d;return this[_0x4adb2(0x14d)];}set['fontUrl'](_0x5da1a9){const _0x4f5de4=_0x3ed01d;this[_0x4f5de4(0x14d)]!==_0x5da1a9&&(this['_fontUrl']=_0x5da1a9,this[_0x4f5de4(0x12c)]());}async[_0x3ed01d(0x12c)](){const _0x3e9ee7=_0x3ed01d;if(Text3DComponent[_0x3e9ee7(0x147)][_0x3e9ee7(0x145)](this['_fontUrl'])){this['_font']=Text3DComponent[_0x3e9ee7(0x147)][_0x3e9ee7(0x13b)](this[_0x3e9ee7(0x14d)]),this[_0x3e9ee7(0x157)]();return;}try{const _0x414198=await Text3DComponent['_fontLoader']['loadAsync'](this[_0x3e9ee7(0x14d)]);Text3DComponent[_0x3e9ee7(0x147)]['set'](this[_0x3e9ee7(0x14d)],_0x414198),this['_font']=_0x414198,this[_0x3e9ee7(0x157)]();}catch(_0x45182e){console[_0x3e9ee7(0x156)](_0x3e9ee7(0x126)+this[_0x3e9ee7(0x14d)]+':',_0x45182e);}}['refreshGeometry'](){const _0x3c6b9a=_0x3ed01d;if(!this['_font'])return;if(this['_mesh']){if(this[_0x3c6b9a(0x14e)][_0x3c6b9a(0x120)])this['_mesh'][_0x3c6b9a(0x120)][_0x3c6b9a(0x14b)]();this['_group'][_0x3c6b9a(0x151)](this['_mesh']);}const _0x41c843=new Addons_js.TextGeometry(this[_0x3c6b9a(0x13a)],{'font':this[_0x3c6b9a(0x14a)],'size':this['_size'],'depth':this[_0x3c6b9a(0x127)],'curveSegments':this[_0x3c6b9a(0x115)],'bevelEnabled':this[_0x3c6b9a(0x114)],'bevelThickness':this[_0x3c6b9a(0x146)],'bevelSize':this[_0x3c6b9a(0x13d)],'bevelOffset':this[_0x3c6b9a(0x149)],'bevelSegments':this['_bevelSegments']});_0x41c843[_0x3c6b9a(0x13f)]();if(_0x41c843[_0x3c6b9a(0x11f)]){const _0x530843=-0.5*(_0x41c843[_0x3c6b9a(0x11f)][_0x3c6b9a(0x113)]['x']-_0x41c843[_0x3c6b9a(0x11f)]['min']['x']),_0x1e41ae=-0.5*(_0x41c843[_0x3c6b9a(0x11f)][_0x3c6b9a(0x113)]['y']-_0x41c843[_0x3c6b9a(0x11f)][_0x3c6b9a(0x154)]['y']);_0x41c843[_0x3c6b9a(0x12f)](_0x530843,_0x1e41ae,0x0);}let _0x48895c;this[_0x3c6b9a(0x135)]?_0x48895c=[new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x3c6b9a(0x143)]),'side':webgpu.DoubleSide}),new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x3c6b9a(0x158)]),'side':webgpu.DoubleSide})]:_0x48895c=[new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x3c6b9a(0x143)]),'side':webgpu.DoubleSide}),new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x3c6b9a(0x158)]),'side':webgpu.DoubleSide})],this['_mesh']=new webgpu.Mesh(_0x41c843,_0x48895c),this[_0x3c6b9a(0x14e)][_0x3c6b9a(0x136)][_0x3c6b9a(0x11b)]=this,this[_0x3c6b9a(0x13e)][_0x3c6b9a(0x138)](this[_0x3c6b9a(0x14e)]),this[_0x3c6b9a(0x13c)]&&this[_0x3c6b9a(0x13c)][_0x3c6b9a(0x122)]['markRenderStateDirty']();}[_0x3ed01d(0x148)](){const _0x32e7b8=_0x3ed01d;if(!this[_0x32e7b8(0x14e)])return;if(Array['isArray'](this['_mesh'][_0x32e7b8(0x130)])){const _0x10a773=this[_0x32e7b8(0x14e)][_0x32e7b8(0x130)];_0x10a773[_0x32e7b8(0x133)]>=0x2&&(_0x10a773[0x0][_0x32e7b8(0x144)][_0x32e7b8(0x128)](this[_0x32e7b8(0x143)]),_0x10a773[0x1][_0x32e7b8(0x144)][_0x32e7b8(0x128)](this[_0x32e7b8(0x158)]));}else {const _0x33b65a=this[_0x32e7b8(0x14e)][_0x32e7b8(0x130)];_0x33b65a[_0x32e7b8(0x144)][_0x32e7b8(0x128)](this['_color']);}this[_0x32e7b8(0x13c)]&&this[_0x32e7b8(0x13c)][_0x32e7b8(0x122)][_0x32e7b8(0x132)]();}[_0x3ed01d(0x12b)](){const _0x56e290=_0x3ed01d;if(this[_0x56e290(0x14e)]){if(this[_0x56e290(0x14e)][_0x56e290(0x120)])this['_mesh'][_0x56e290(0x120)][_0x56e290(0x14b)]();Array[_0x56e290(0x119)](this[_0x56e290(0x14e)][_0x56e290(0x130)])?this[_0x56e290(0x14e)][_0x56e290(0x130)][_0x56e290(0x137)](_0x2de6d5=>_0x2de6d5[_0x56e290(0x14b)]()):this[_0x56e290(0x14e)][_0x56e290(0x130)][_0x56e290(0x14b)]();}super[_0x56e290(0x12b)]();}}Text3DComponent['_fontLoader']=new Addons_js.FontLoader(),Text3DComponent[_0x3ed01d(0x147)]=new Map();function _0x4d11(_0x53abc9,_0x28f82c){_0x53abc9=_0x53abc9-0x113;const _0x1ee09d=_0x1ee0();let _0x4d1174=_0x1ee09d[_0x53abc9];return _0x4d1174;}function _0x1ee0(){const _0xd9cc91=['_bevelSegments','_text','get','world','_bevelSize','_group','computeBoundingBox','3382505qUtMod','bevelEnabled','#ffffff','_color','color','has','_bevelThickness','_fontCache','updateMaterial','_bevelOffset','_font','dispose','588eqgDTa','_fontUrl','_mesh','Text','bevelOffset','remove','29010880Canafe','1262786BgvFBB','min','obj','error','refreshGeometry','_sideColor','24qkPTMe','13920CDMMOP','max','_bevelEnabled','_curveSegments','isUnlit','curveSegments','createDefaultObject','isArray','size','LYObject','bevelSize','3412824JVtnKI','sideColor','boundingBox','geometry','186515oUSfcZ','viewport','104PGQCBp','fontUrl','bevelSegments','Failed\x20to\x20load\x20font\x20from\x20','_height','set','https://threejs.org/examples/fonts/helvetiker_regular.typeface.json','7725987KksvXL','destroy','loadFontAndRefresh','text','_size','translate','material','bevelThickness','markRenderStateDirty','length','height','_isUnlit','userData','forEach','add'];_0x1ee0=function(){return _0xd9cc91;};return _0x1ee0();}
|
|
143
|
+
function _0x2cf9(){const _0x4debe9=['1119848zbayNa','destroy','normalize','about:blank','count','hidden','blendSrcAlpha','max','depthWrite','object','3811053DEWyYK','receiveShadow','obj','blendDstAlpha','setupMasks','parent','isArray','alphaPunchMeshes','threeObject\x20is\x20null','__alpha_punch','viewport','length','border','test','pointerEvents','transparent','2yKmRXB','castShadow','height','387950BbnMLr','cameraWorldPos','blendEquation','scene','position','blending','polygonOffsetUnits','add','subVectors','198unCihe','background','7950492OjXvlR','4467132ZVjfJr','isMesh','floor','startsWith','lazy','getX','iframe','dataset','meshes','depthTest','name','blendDst','setAttribute','getAttribute','threeObject','setupOcclusionTick','createElement','removeFromParent','occlusionCandidates','camera','computeBoundingBox','dispose','quaternion','outer','polygonOffsetFactor','wrapper','setFromUnitVectors','raycaster','geometry','renderOrder','includes','__css3d_web','scale','abs','world','7OIdXkU','divideScalar','CSS3DWebPanelComponent','userData','canvas','appendChild','LYObject','width','boundingBox','targetMesh','allow','remove','auto','panelWorldPos','src','depthMaskMeshes','addTickingFunction','tickFunc','style','sort','createDefaultObject','__depth_mask','app','lengthSq','rayIgnored','removeTickingFunction','set','1656662OKoMRY','colorWrite','allowfullscreen','getIndex','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','trim','15KUCVwX','material','min','visible','none','needsUpdate','1871226mHrJpI','fog','toneMapped','intersectObjects','backfaceVisibility','lyCameraDragging','opacity','fromBufferAttribute','rayDir','getWorldPosition','100%'];_0x2cf9=function(){return _0x4debe9;};return _0x2cf9();}const _0x4ef344=_0x504f;(function(_0x3c6b9a,_0x4955b7){const _0xdfd319=_0x504f,_0x35f4f2=_0x3c6b9a();while(!![]){try{const _0x50bc3f=parseInt(_0xdfd319(0x1e8))/0x1+-parseInt(_0xdfd319(0x219))/0x2*(parseInt(_0xdfd319(0x209))/0x3)+parseInt(_0xdfd319(0x228))/0x4+parseInt(_0xdfd319(0x1ee))/0x5*(-parseInt(_0xdfd319(0x1f4))/0x6)+parseInt(_0xdfd319(0x24b))/0x7*(parseInt(_0xdfd319(0x1ff))/0x8)+parseInt(_0xdfd319(0x225))/0x9*(parseInt(_0xdfd319(0x21c))/0xa)+-parseInt(_0xdfd319(0x227))/0xb;if(_0x50bc3f===_0x4955b7)break;else _0x35f4f2['push'](_0x35f4f2['shift']());}catch(_0x2fd96d){_0x35f4f2['push'](_0x35f4f2['shift']());}}}(_0x2cf9,0xcca24));function _0x504f(_0xe5996a,_0x5bbaba){_0xe5996a=_0xe5996a-0x1e3;const _0x2cf985=_0x2cf9();let _0x504f69=_0x2cf985[_0xe5996a];return _0x504f69;}function normalizeAssetUrl(_0x508ef3){const _0x478ec4=_0x504f,_0x3afee7=String(_0x508ef3!==null&&_0x508ef3!==void 0?_0x508ef3:'')[_0x478ec4(0x1ed)]();if(!_0x3afee7)return '';if(/^https?:\/\//i[_0x478ec4(0x216)](_0x3afee7))return _0x3afee7;if(_0x3afee7[_0x478ec4(0x22b)]('/'))return _0x3afee7;return '/'+_0x3afee7;}function getMeshPlaneLocalSize(_0x5ce33b){const _0x1f487f=_0x504f,_0x3529b1=_0x5ce33b['geometry'];if(!_0x3529b1)return {'width':0x1,'height':0x1};if(!_0x3529b1[_0x1f487f(0x253)])_0x3529b1[_0x1f487f(0x23c)]();const _0x136d7d=_0x3529b1[_0x1f487f(0x253)];if(!_0x136d7d)return {'width':0x1,'height':0x1};const _0x48bbe3=_0x136d7d['getSize'](new three.Vector3()),_0x576002=[Math['abs'](_0x48bbe3['x']),Math['abs'](_0x48bbe3['y']),Math[_0x1f487f(0x249)](_0x48bbe3['z'])][_0x1f487f(0x25e)]((_0x5ba320,_0x1e5fe9)=>_0x1e5fe9-_0x5ba320),_0x285f53=Math[_0x1f487f(0x206)](0.0001,_0x576002[0x0]||0x1),_0x5525fe=Math[_0x1f487f(0x206)](0.0001,_0x576002[0x1]||_0x285f53);return {'width':_0x285f53,'height':_0x5525fe};}function getMeshLocalNormal(_0x24a4d5){const _0x37a6d2=_0x504f,_0x314502=_0x24a4d5[_0x37a6d2(0x244)];if(!_0x314502)return new three.Vector3(0x0,0x0,0x1);const _0x555cb3=_0x314502[_0x37a6d2(0x235)]('normal');if(_0x555cb3&&_0x555cb3[_0x37a6d2(0x203)]>0x0){const _0x2e6a78=new three.Vector3(),_0x341626=new three.Vector3();for(let _0x40b75b=0x0;_0x40b75b<_0x555cb3['count'];_0x40b75b++){_0x341626['fromBufferAttribute'](_0x555cb3,_0x40b75b),_0x2e6a78[_0x37a6d2(0x223)](_0x341626);}if(_0x2e6a78['lengthSq']()>1e-12)return _0x2e6a78[_0x37a6d2(0x201)]();}const _0x3a414d=_0x314502[_0x37a6d2(0x235)](_0x37a6d2(0x220));if(!_0x3a414d||_0x3a414d[_0x37a6d2(0x203)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x3a0c85=_0x314502[_0x37a6d2(0x1eb)](),_0x3cc854=new three.Vector3(),_0x2af7bf=new three.Vector3(),_0x35631d=new three.Vector3(),_0x4e090f=new three.Vector3(),_0x333822=new three.Vector3(),_0x176715=new three.Vector3(),_0x6445ea=new three.Vector3(),_0x2677f9=_0x3a0c85?Math[_0x37a6d2(0x22a)](_0x3a0c85[_0x37a6d2(0x203)]/0x3):Math['floor'](_0x3a414d[_0x37a6d2(0x203)]/0x3);for(let _0x49dbc0=0x0;_0x49dbc0<_0x2677f9;_0x49dbc0++){const _0x95bdb0=_0x3a0c85?_0x3a0c85[_0x37a6d2(0x22d)](_0x49dbc0*0x3+0x0):_0x49dbc0*0x3+0x0,_0x19a1ad=_0x3a0c85?_0x3a0c85[_0x37a6d2(0x22d)](_0x49dbc0*0x3+0x1):_0x49dbc0*0x3+0x1,_0xd27d14=_0x3a0c85?_0x3a0c85[_0x37a6d2(0x22d)](_0x49dbc0*0x3+0x2):_0x49dbc0*0x3+0x2;_0x3cc854[_0x37a6d2(0x1fb)](_0x3a414d,_0x95bdb0),_0x2af7bf[_0x37a6d2(0x1fb)](_0x3a414d,_0x19a1ad),_0x35631d['fromBufferAttribute'](_0x3a414d,_0xd27d14),_0x4e090f['subVectors'](_0x2af7bf,_0x3cc854),_0x333822[_0x37a6d2(0x224)](_0x35631d,_0x3cc854),_0x6445ea['crossVectors'](_0x4e090f,_0x333822);if(_0x6445ea[_0x37a6d2(0x1e4)]()<1e-14)continue;_0x176715[_0x37a6d2(0x223)](_0x6445ea);}if(_0x176715[_0x37a6d2(0x1e4)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x176715['normalize']();}function collectOcclusionMeshes(_0x23bf33){const _0xa5ab39=[];return _0x23bf33['traverse'](_0x465112=>{const _0x1964da=_0x504f;var _0x416f3e;const _0x5577d1=_0x465112;if(!(_0x5577d1===null||_0x5577d1===void 0?void 0:_0x5577d1[_0x1964da(0x229)]))return;if(!_0x465112[_0x1964da(0x1f1)])return;if((_0x416f3e=_0x465112[_0x1964da(0x24e)])===null||_0x416f3e===void 0?void 0:_0x416f3e[_0x1964da(0x1e5)])return;_0xa5ab39['push'](_0x465112);}),_0xa5ab39;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x4ef344(0x236)](){const _0x8a0619=_0x4ef344;if(!this['obj'])throw new Error(_0x8a0619(0x211));return this['obj'];}set[_0x4ef344(0x236)](_0x2563c9){const _0x5ab9ad=_0x4ef344;this[_0x5ab9ad(0x20b)]=_0x2563c9,this[_0x5ab9ad(0x20b)]&&(this[_0x5ab9ad(0x20b)]['userData'][_0x5ab9ad(0x251)]=this);}constructor(_0x5576be,_0x18d2c5,_0x29c551,_0x38ba69){const _0x12c0ad=_0x4ef344;super(_0x5576be,_0x38ba69),this[_0x12c0ad(0x241)]=null,this['iframe']=null,this[_0x12c0ad(0x254)]=null,this['depthMaskMeshes']=[],this[_0x12c0ad(0x210)]=[],this[_0x12c0ad(0x25c)]=null,this['cameraWorldPos']=new three.Vector3(),this[_0x12c0ad(0x258)]=new three.Vector3(),this[_0x12c0ad(0x1fc)]=new three.Vector3(),this[_0x12c0ad(0x243)]=new three.Raycaster(),this[_0x12c0ad(0x23a)]=[],this[_0x12c0ad(0x232)]=_0x12c0ad(0x24d),this['meshes']=_0x18d2c5['filter'](_0x3f40c4=>!!_0x3f40c4);const _0x53f446=normalizeAssetUrl(_0x29c551);if(!_0x53f446||!this[_0x12c0ad(0x230)][_0x12c0ad(0x214)])return;this[_0x12c0ad(0x254)]=this[_0x12c0ad(0x230)][0x0];const _0x35bdd1=getMeshPlaneLocalSize(this[_0x12c0ad(0x254)]),_0x2e4663=0x4b0,_0xc8a2f9=Math[_0x12c0ad(0x206)](0x200,Math[_0x12c0ad(0x1f0)](0x1000,Math['round'](_0x35bdd1[_0x12c0ad(0x252)]*_0x2e4663))),_0x162d3c=Math['max'](0x200,Math[_0x12c0ad(0x1f0)](0x1000,Math['round'](_0x35bdd1[_0x12c0ad(0x21b)]*_0x2e4663))),_0x4ecd7e=document[_0x12c0ad(0x238)]('div');_0x4ecd7e[_0x12c0ad(0x25d)][_0x12c0ad(0x252)]=_0xc8a2f9+'px',_0x4ecd7e[_0x12c0ad(0x25d)]['height']=_0x162d3c+'px',_0x4ecd7e[_0x12c0ad(0x25d)][_0x12c0ad(0x217)]=_0x12c0ad(0x257),_0x4ecd7e['style']['overflow']=_0x12c0ad(0x204),_0x4ecd7e[_0x12c0ad(0x25d)][_0x12c0ad(0x226)]=_0x12c0ad(0x218),_0x4ecd7e['style'][_0x12c0ad(0x1f8)]=_0x12c0ad(0x204),this[_0x12c0ad(0x241)]=_0x4ecd7e;const _0x18a81f=document[_0x12c0ad(0x238)](_0x12c0ad(0x22e));_0x18a81f['src']=_0x53f446,_0x18a81f[_0x12c0ad(0x25d)][_0x12c0ad(0x252)]=_0x12c0ad(0x1fe),_0x18a81f['style'][_0x12c0ad(0x21b)]='100%',_0x18a81f[_0x12c0ad(0x25d)][_0x12c0ad(0x215)]='0',_0x18a81f[_0x12c0ad(0x25d)][_0x12c0ad(0x226)]=_0x12c0ad(0x218),_0x18a81f['style']['pointerEvents']=_0x12c0ad(0x257),_0x18a81f[_0x12c0ad(0x25d)]['backfaceVisibility']=_0x12c0ad(0x204),_0x18a81f['setAttribute'](_0x12c0ad(0x255),_0x12c0ad(0x1ec)),_0x18a81f[_0x12c0ad(0x234)](_0x12c0ad(0x1ea),'true'),_0x18a81f[_0x12c0ad(0x234)]('loading',_0x12c0ad(0x22c)),_0x4ecd7e[_0x12c0ad(0x250)](_0x18a81f),this['iframe']=_0x18a81f;const _0x1abe76=new Addons_js.CSS3DObject(_0x4ecd7e);_0x1abe76[_0x12c0ad(0x232)]=(this[_0x12c0ad(0x254)][_0x12c0ad(0x232)]||'wallboard')+_0x12c0ad(0x247),_0x1abe76[_0x12c0ad(0x220)]['set'](0x0,0x0,0.001),_0x1abe76[_0x12c0ad(0x23e)][_0x12c0ad(0x242)](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this['targetMesh'])),_0x1abe76[_0x12c0ad(0x248)][_0x12c0ad(0x1e7)](_0x35bdd1[_0x12c0ad(0x252)]/_0xc8a2f9,_0x35bdd1['height']/_0x162d3c,0x1),this[_0x12c0ad(0x236)]=_0x1abe76,this[_0x12c0ad(0x254)][_0x12c0ad(0x223)](_0x1abe76),this[_0x12c0ad(0x20d)](),this[_0x12c0ad(0x23a)]=collectOcclusionMeshes(this[_0x12c0ad(0x1e3)][_0x12c0ad(0x24a)][_0x12c0ad(0x21f)]),this[_0x12c0ad(0x237)]();}[_0x4ef344(0x25f)](){const _0x584fbb=_0x4ef344;return new Addons_js.CSS3DObject(document[_0x584fbb(0x238)]('div'));}[_0x4ef344(0x20d)](){const _0x4502ed=_0x4ef344;var _0x5c6421;for(const _0x3a99ae of this[_0x4502ed(0x230)]){_0x3a99ae[_0x4502ed(0x245)]=Math['min']((_0x5c6421=_0x3a99ae[_0x4502ed(0x245)])!==null&&_0x5c6421!==void 0?_0x5c6421:0x0,-1e3),_0x3a99ae[_0x4502ed(0x21a)]=![],_0x3a99ae[_0x4502ed(0x20a)]=![];const _0x1a4251=Array[_0x4502ed(0x20f)](_0x3a99ae[_0x4502ed(0x1ef)])?_0x3a99ae[_0x4502ed(0x1ef)]:[_0x3a99ae[_0x4502ed(0x1ef)]];for(const _0x42c13d of _0x1a4251){const _0x20eb2b=_0x42c13d;if(!_0x20eb2b)continue;_0x20eb2b['transparent']=!![],_0x20eb2b[_0x4502ed(0x1fa)]=0x0,_0x20eb2b[_0x4502ed(0x1e9)]=![],_0x20eb2b[_0x4502ed(0x231)]=![],_0x20eb2b[_0x4502ed(0x207)]=![],_0x20eb2b[_0x4502ed(0x1f3)]=!![];}const _0x49ebae=_0x3a99ae['geometry'];if(!_0x49ebae)continue;const _0x5699bf=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x5699bf[_0x4502ed(0x1e9)]=![],_0x5699bf[_0x4502ed(0x1f6)]=![],_0x5699bf['fog']=![],_0x5699bf[_0x4502ed(0x221)]=three.NoBlending,_0x5699bf['polygonOffset']=!![],_0x5699bf[_0x4502ed(0x240)]=-4,_0x5699bf[_0x4502ed(0x222)]=-4;const _0x187a77=new three.Mesh(_0x49ebae,_0x5699bf);_0x187a77[_0x4502ed(0x232)]=(_0x3a99ae[_0x4502ed(0x232)]||_0x4502ed(0x24f))+_0x4502ed(0x260),_0x187a77[_0x4502ed(0x24e)][_0x4502ed(0x1e5)]=!![],_0x187a77[_0x4502ed(0x245)]=Math[_0x4502ed(0x1f0)](_0x3a99ae[_0x4502ed(0x245)]-0x1,-2e3),_0x187a77[_0x4502ed(0x220)][_0x4502ed(0x1e7)](0x0,0x0,0x0),_0x187a77[_0x4502ed(0x23e)]['set'](0x0,0x0,0x0,0x1),_0x187a77[_0x4502ed(0x248)]['set'](0x1,0x1,0x1),_0x3a99ae[_0x4502ed(0x223)](_0x187a77),this['depthMaskMeshes']['push'](_0x187a77);const _0x3d02ce=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x3d02ce[_0x4502ed(0x1f6)]=![],_0x3d02ce[_0x4502ed(0x1f5)]=![],_0x3d02ce[_0x4502ed(0x21e)]=three.AddEquation,_0x3d02ce['blendSrc']=three.ZeroFactor,_0x3d02ce[_0x4502ed(0x233)]=three.OneFactor,_0x3d02ce[_0x4502ed(0x205)]=three.ZeroFactor,_0x3d02ce[_0x4502ed(0x20c)]=three.ZeroFactor;const _0x5a915a=new three.Mesh(_0x49ebae,_0x3d02ce);_0x5a915a['name']=(_0x3a99ae[_0x4502ed(0x232)]||_0x4502ed(0x24f))+_0x4502ed(0x212),_0x5a915a['userData'][_0x4502ed(0x1e5)]=!![],_0x5a915a[_0x4502ed(0x245)]=Math[_0x4502ed(0x206)](_0x3a99ae[_0x4502ed(0x245)]+0x3e8,0x3e8),_0x5a915a[_0x4502ed(0x220)][_0x4502ed(0x1e7)](0x0,0x0,0x0),_0x5a915a[_0x4502ed(0x23e)][_0x4502ed(0x1e7)](0x0,0x0,0x0,0x1),_0x5a915a[_0x4502ed(0x248)]['set'](0x1,0x1,0x1),_0x3a99ae[_0x4502ed(0x223)](_0x5a915a),this['alphaPunchMeshes']['push'](_0x5a915a);}}['setupOcclusionTick'](){const _0x10ab76=_0x4ef344;let _0x467b5c=0x0;this[_0x10ab76(0x25c)]=_0x5259c7=>{const _0x5903dc=_0x10ab76;var _0x2fc47d;if(!this[_0x5903dc(0x254)]||!this[_0x5903dc(0x241)]||!this[_0x5903dc(0x22e)])return;_0x467b5c+=_0x5259c7;if(_0x467b5c<0.05)return;_0x467b5c=0x0;const _0x1006a4=this['app'][_0x5903dc(0x23b)];_0x1006a4[_0x5903dc(0x1fd)](this[_0x5903dc(0x21d)]),this[_0x5903dc(0x254)][_0x5903dc(0x1fd)](this[_0x5903dc(0x258)]),this['rayDir'][_0x5903dc(0x224)](this['panelWorldPos'],this[_0x5903dc(0x21d)]);const _0x14e256=this[_0x5903dc(0x1fc)][_0x5903dc(0x214)]();if(_0x14e256<=0.00001)return;this[_0x5903dc(0x1fc)][_0x5903dc(0x24c)](_0x14e256),this[_0x5903dc(0x243)][_0x5903dc(0x1e7)](this[_0x5903dc(0x21d)],this['rayDir']);const _0x11c04c=this['raycaster'][_0x5903dc(0x1f7)](this[_0x5903dc(0x23a)],!![]);let _0x47ed82=![];const _0xd89458=_0x14e256-0.02;for(const _0x19ecab of _0x11c04c){if(_0x19ecab['distance']>=_0xd89458)break;let _0x3b86b1=_0x19ecab[_0x5903dc(0x208)],_0x32e094=!![];while(_0x3b86b1){if(!_0x3b86b1[_0x5903dc(0x1f1)]){_0x32e094=![];break;}_0x3b86b1=_0x3b86b1[_0x5903dc(0x20e)];}if(!_0x32e094)continue;_0x3b86b1=_0x19ecab[_0x5903dc(0x208)];let _0x3c57ab=![];while(_0x3b86b1){if(this[_0x5903dc(0x230)][_0x5903dc(0x246)](_0x3b86b1)){_0x3c57ab=!![];break;}_0x3b86b1=_0x3b86b1[_0x5903dc(0x20e)];}if(_0x3c57ab)continue;_0x47ed82=!![];break;}const _0x527f9c=((_0x2fc47d=this[_0x5903dc(0x1e3)][_0x5903dc(0x213)][_0x5903dc(0x23f)])===null||_0x2fc47d===void 0?void 0:_0x2fc47d[_0x5903dc(0x22f)][_0x5903dc(0x1f9)])==='1',_0x4fe001=_0x527f9c||_0x47ed82?_0x5903dc(0x1f2):_0x5903dc(0x257);this['wrapper']['style'][_0x5903dc(0x217)]!==_0x4fe001&&(this['wrapper']['style'][_0x5903dc(0x217)]=_0x4fe001),this[_0x5903dc(0x22e)]['style'][_0x5903dc(0x217)]!==_0x4fe001&&(this[_0x5903dc(0x22e)]['style'][_0x5903dc(0x217)]=_0x4fe001);},this['app'][_0x10ab76(0x25b)](this['tickFunc']);}['destroy'](){const _0x3a7bd6=_0x4ef344;this[_0x3a7bd6(0x25c)]&&(this['app'][_0x3a7bd6(0x1e6)](this['tickFunc']),this['tickFunc']=null);for(const _0x1646b7 of this['depthMaskMeshes']){_0x1646b7[_0x3a7bd6(0x239)]();const _0x5a6b46=_0x1646b7[_0x3a7bd6(0x1ef)];if(Array[_0x3a7bd6(0x20f)](_0x5a6b46)){for(const _0x159681 of _0x5a6b46)_0x159681===null||_0x159681===void 0?void 0:_0x159681[_0x3a7bd6(0x23d)]();}else _0x5a6b46===null||_0x5a6b46===void 0?void 0:_0x5a6b46[_0x3a7bd6(0x23d)]();}this[_0x3a7bd6(0x25a)][_0x3a7bd6(0x214)]=0x0;for(const _0x5e24f2 of this['alphaPunchMeshes']){_0x5e24f2[_0x3a7bd6(0x239)]();const _0x451b37=_0x5e24f2[_0x3a7bd6(0x1ef)];if(Array[_0x3a7bd6(0x20f)](_0x451b37)){for(const _0x241f13 of _0x451b37)_0x241f13===null||_0x241f13===void 0?void 0:_0x241f13['dispose']();}else _0x451b37===null||_0x451b37===void 0?void 0:_0x451b37['dispose']();}this[_0x3a7bd6(0x210)]['length']=0x0,this[_0x3a7bd6(0x22e)]&&(this[_0x3a7bd6(0x22e)][_0x3a7bd6(0x259)]=_0x3a7bd6(0x202),this[_0x3a7bd6(0x22e)]=null),this[_0x3a7bd6(0x241)]&&(this[_0x3a7bd6(0x241)][_0x3a7bd6(0x256)](),this['wrapper']=null),this[_0x3a7bd6(0x254)]=null,this[_0x3a7bd6(0x23a)]=[],super[_0x3a7bd6(0x200)]();}}
|
|
141
144
|
|
|
142
|
-
(function(
|
|
145
|
+
const _0x5568b3=_0x5b7d;(function(_0xca6cf1,_0x403e1b){const _0x28d93a=_0x5b7d,_0x4b3d1e=_0xca6cf1();while(!![]){try{const _0x2c7fe9=-parseInt(_0x28d93a(0xd4))/0x1+parseInt(_0x28d93a(0x10f))/0x2*(-parseInt(_0x28d93a(0xe2))/0x3)+-parseInt(_0x28d93a(0xf2))/0x4*(parseInt(_0x28d93a(0x111))/0x5)+-parseInt(_0x28d93a(0x110))/0x6+-parseInt(_0x28d93a(0xec))/0x7+parseInt(_0x28d93a(0x109))/0x8+-parseInt(_0x28d93a(0xdb))/0x9*(-parseInt(_0x28d93a(0xf3))/0xa);if(_0x2c7fe9===_0x403e1b)break;else _0x4b3d1e['push'](_0x4b3d1e['shift']());}catch(_0x413157){_0x4b3d1e['push'](_0x4b3d1e['shift']());}}}(_0x7678,0x89d35));function _0x5b7d(_0x53fc96,_0x20fdb4){_0x53fc96=_0x53fc96-0xd2;const _0x76786c=_0x7678();let _0x5b7d97=_0x76786c[_0x53fc96];return _0x5b7d97;}function _0x7678(){const _0x403797=['min','_curveSegments','bevelOffset','301883DPrSSD','remove','_bevelThickness','markRenderStateDirty','_fontUrl','sideColor','_bevelSize','1917342ReEWlI','dispose','_bevelOffset','bevelSize','bevelThickness','isArray','world','1215qSPeNQ','Failed\x20to\x20load\x20font\x20from\x20','bevelSegments','translate','_bevelSegments','_height','length','text','material','_fontLoader','6641670gZDAAx','error','_color','max','loadFontAndRefresh','add','4tPSDVH','100maZBxl','_fontCache','userData','has','#ffffff','viewport','_isUnlit','_group','_mesh','computeBoundingBox','destroy','forEach','set','color','size','bevelEnabled','isUnlit','_text','boundingBox','_size','get','refreshGeometry','8765784lOidpO','curveSegments','_font','height','fontUrl','_bevelEnabled','554OOEGnj','1064766RaMsGC','5606155haGSFt','_sideColor','geometry'];_0x7678=function(){return _0x403797;};return _0x7678();}class Text3DComponent extends SceneComponent{constructor(_0x47e9d1,_0x523ebd,_0x1d9add){const _0x3a5095=_0x5b7d;super(_0x47e9d1,_0x1d9add),this[_0x3a5095(0x104)]='Text',this[_0x3a5095(0xd8)]='https://threejs.org/examples/fonts/helvetiker_regular.typeface.json',this['_size']=0x1,this[_0x3a5095(0xe7)]=0.2,this[_0x3a5095(0xd2)]=0xc,this[_0x3a5095(0x10e)]=![],this[_0x3a5095(0xd6)]=0.03,this[_0x3a5095(0xda)]=0.02,this['_bevelOffset']=0x0,this[_0x3a5095(0xe6)]=0x5,this['_color']=_0x3a5095(0xf7),this['_sideColor']=_0x3a5095(0xf7),this[_0x3a5095(0xf9)]=!![],this[_0x3a5095(0x10b)]=null,this['_mesh']=null,this[_0x3a5095(0xfa)]=this['obj'];if(_0x523ebd){if(_0x523ebd[_0x3a5095(0xe9)]!==undefined)this['_text']=_0x523ebd['text'];if(_0x523ebd[_0x3a5095(0x10d)]!==undefined)this['_fontUrl']=_0x523ebd['fontUrl'];if(_0x523ebd['size']!==undefined)this[_0x3a5095(0x106)]=_0x523ebd[_0x3a5095(0x101)];if(_0x523ebd[_0x3a5095(0x10c)]!==undefined)this[_0x3a5095(0xe7)]=_0x523ebd[_0x3a5095(0x10c)];if(_0x523ebd['curveSegments']!==undefined)this[_0x3a5095(0xd2)]=_0x523ebd[_0x3a5095(0x10a)];if(_0x523ebd['bevelEnabled']!==undefined)this[_0x3a5095(0x10e)]=_0x523ebd[_0x3a5095(0x102)];if(_0x523ebd[_0x3a5095(0xdf)]!==undefined)this['_bevelThickness']=_0x523ebd[_0x3a5095(0xdf)];if(_0x523ebd[_0x3a5095(0xde)]!==undefined)this[_0x3a5095(0xda)]=_0x523ebd['bevelSize'];if(_0x523ebd[_0x3a5095(0xd3)]!==undefined)this[_0x3a5095(0xdd)]=_0x523ebd['bevelOffset'];if(_0x523ebd[_0x3a5095(0xe4)]!==undefined)this[_0x3a5095(0xe6)]=_0x523ebd[_0x3a5095(0xe4)];_0x523ebd[_0x3a5095(0x100)]!==undefined&&(this['_color']=_0x523ebd[_0x3a5095(0x100)],this[_0x3a5095(0x112)]=_0x523ebd['color']);if(_0x523ebd['sideColor']!==undefined)this[_0x3a5095(0x112)]=_0x523ebd[_0x3a5095(0xd9)];if(_0x523ebd[_0x3a5095(0x103)]!==undefined)this[_0x3a5095(0xf9)]=_0x523ebd[_0x3a5095(0x103)];}this[_0x3a5095(0xf0)]();}['createDefaultObject'](){return new webgpu.Group();}get[_0x5568b3(0xe9)](){const _0xf366f8=_0x5568b3;return this[_0xf366f8(0x104)];}set['text'](_0x458f85){const _0x2ad951=_0x5568b3;this[_0x2ad951(0x104)]!==_0x458f85&&(this[_0x2ad951(0x104)]=_0x458f85,this[_0x2ad951(0x108)]());}get[_0x5568b3(0x100)](){const _0x224092=_0x5568b3;return this[_0x224092(0xee)];}set[_0x5568b3(0x100)](_0x5a9da9){const _0x53f008=_0x5568b3;this[_0x53f008(0xee)]!==_0x5a9da9&&(this[_0x53f008(0xee)]=_0x5a9da9,this['updateMaterial']());}get[_0x5568b3(0xd9)](){const _0x4e38b8=_0x5568b3;return this[_0x4e38b8(0x112)];}set[_0x5568b3(0xd9)](_0x177326){const _0x40ad87=_0x5568b3;this[_0x40ad87(0x112)]!==_0x177326&&(this[_0x40ad87(0x112)]=_0x177326,this['updateMaterial']());}get['size'](){const _0x3e77e6=_0x5568b3;return this[_0x3e77e6(0x106)];}set[_0x5568b3(0x101)](_0x1580dd){const _0x1734c4=_0x5568b3;this['_size']!==_0x1580dd&&(this[_0x1734c4(0x106)]=_0x1580dd,this[_0x1734c4(0x108)]());}get[_0x5568b3(0x10c)](){const _0x306319=_0x5568b3;return this[_0x306319(0xe7)];}set['height'](_0x251f5c){const _0x17229b=_0x5568b3;this[_0x17229b(0xe7)]!==_0x251f5c&&(this['_height']=_0x251f5c,this[_0x17229b(0x108)]());}get['fontUrl'](){const _0x1d3f97=_0x5568b3;return this[_0x1d3f97(0xd8)];}set[_0x5568b3(0x10d)](_0x479a34){const _0x2e5783=_0x5568b3;this[_0x2e5783(0xd8)]!==_0x479a34&&(this['_fontUrl']=_0x479a34,this[_0x2e5783(0xf0)]());}async[_0x5568b3(0xf0)](){const _0x1a1d8f=_0x5568b3;if(Text3DComponent[_0x1a1d8f(0xf4)][_0x1a1d8f(0xf6)](this[_0x1a1d8f(0xd8)])){this[_0x1a1d8f(0x10b)]=Text3DComponent[_0x1a1d8f(0xf4)][_0x1a1d8f(0x107)](this['_fontUrl']),this[_0x1a1d8f(0x108)]();return;}try{const _0x3d9774=await Text3DComponent[_0x1a1d8f(0xeb)]['loadAsync'](this['_fontUrl']);Text3DComponent[_0x1a1d8f(0xf4)][_0x1a1d8f(0xff)](this[_0x1a1d8f(0xd8)],_0x3d9774),this[_0x1a1d8f(0x10b)]=_0x3d9774,this['refreshGeometry']();}catch(_0x2d8467){console[_0x1a1d8f(0xed)](_0x1a1d8f(0xe3)+this[_0x1a1d8f(0xd8)]+':',_0x2d8467);}}['refreshGeometry'](){const _0x536fa2=_0x5568b3;if(!this[_0x536fa2(0x10b)])return;if(this[_0x536fa2(0xfb)]){if(this['_mesh'][_0x536fa2(0x113)])this[_0x536fa2(0xfb)]['geometry'][_0x536fa2(0xdc)]();this['_group'][_0x536fa2(0xd5)](this['_mesh']);}const _0x8e150a=new Addons_js.TextGeometry(this['_text'],{'font':this[_0x536fa2(0x10b)],'size':this[_0x536fa2(0x106)],'depth':this[_0x536fa2(0xe7)],'curveSegments':this['_curveSegments'],'bevelEnabled':this['_bevelEnabled'],'bevelThickness':this[_0x536fa2(0xd6)],'bevelSize':this['_bevelSize'],'bevelOffset':this[_0x536fa2(0xdd)],'bevelSegments':this[_0x536fa2(0xe6)]});_0x8e150a[_0x536fa2(0xfc)]();if(_0x8e150a[_0x536fa2(0x105)]){const _0x1015d2=-0.5*(_0x8e150a[_0x536fa2(0x105)]['max']['x']-_0x8e150a[_0x536fa2(0x105)][_0x536fa2(0x114)]['x']),_0x285b9a=-0.5*(_0x8e150a[_0x536fa2(0x105)][_0x536fa2(0xef)]['y']-_0x8e150a[_0x536fa2(0x105)][_0x536fa2(0x114)]['y']);_0x8e150a[_0x536fa2(0xe5)](_0x1015d2,_0x285b9a,0x0);}let _0x58b907;this[_0x536fa2(0xf9)]?_0x58b907=[new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x536fa2(0xee)]),'side':webgpu.DoubleSide}),new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x536fa2(0x112)]),'side':webgpu.DoubleSide})]:_0x58b907=[new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x536fa2(0xee)]),'side':webgpu.DoubleSide}),new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x536fa2(0x112)]),'side':webgpu.DoubleSide})],this[_0x536fa2(0xfb)]=new webgpu.Mesh(_0x8e150a,_0x58b907),this[_0x536fa2(0xfb)][_0x536fa2(0xf5)]['LYObject']=this,this[_0x536fa2(0xfa)][_0x536fa2(0xf1)](this[_0x536fa2(0xfb)]),this[_0x536fa2(0xe1)]&&this[_0x536fa2(0xe1)][_0x536fa2(0xf8)][_0x536fa2(0xd7)]();}['updateMaterial'](){const _0x4f2a43=_0x5568b3;if(!this[_0x4f2a43(0xfb)])return;if(Array[_0x4f2a43(0xe0)](this[_0x4f2a43(0xfb)][_0x4f2a43(0xea)])){const _0x5548c2=this[_0x4f2a43(0xfb)][_0x4f2a43(0xea)];_0x5548c2[_0x4f2a43(0xe8)]>=0x2&&(_0x5548c2[0x0][_0x4f2a43(0x100)][_0x4f2a43(0xff)](this[_0x4f2a43(0xee)]),_0x5548c2[0x1]['color'][_0x4f2a43(0xff)](this[_0x4f2a43(0x112)]));}else {const _0x1fba74=this[_0x4f2a43(0xfb)][_0x4f2a43(0xea)];_0x1fba74[_0x4f2a43(0x100)][_0x4f2a43(0xff)](this[_0x4f2a43(0xee)]);}this[_0x4f2a43(0xe1)]&&this[_0x4f2a43(0xe1)][_0x4f2a43(0xf8)][_0x4f2a43(0xd7)]();}[_0x5568b3(0xfd)](){const _0x4d2a38=_0x5568b3;if(this[_0x4d2a38(0xfb)]){if(this[_0x4d2a38(0xfb)][_0x4d2a38(0x113)])this[_0x4d2a38(0xfb)][_0x4d2a38(0x113)][_0x4d2a38(0xdc)]();Array[_0x4d2a38(0xe0)](this['_mesh']['material'])?this['_mesh'][_0x4d2a38(0xea)][_0x4d2a38(0xfe)](_0x3431f7=>_0x3431f7[_0x4d2a38(0xdc)]()):this[_0x4d2a38(0xfb)][_0x4d2a38(0xea)][_0x4d2a38(0xdc)]();}super[_0x4d2a38(0xfd)]();}}Text3DComponent[_0x5568b3(0xeb)]=new Addons_js.FontLoader(),Text3DComponent['_fontCache']=new Map();
|
|
143
146
|
|
|
144
|
-
const
|
|
147
|
+
const _0x70d24b=_0x372f;(function(_0xa9bd91,_0x1a2089){const _0x19ceae=_0x372f,_0x28a4d8=_0xa9bd91();while(!![]){try{const _0x1d67bc=-parseInt(_0x19ceae(0x113))/0x1+parseInt(_0x19ceae(0x11a))/0x2*(parseInt(_0x19ceae(0x117))/0x3)+-parseInt(_0x19ceae(0x115))/0x4*(parseInt(_0x19ceae(0x11c))/0x5)+parseInt(_0x19ceae(0x114))/0x6+-parseInt(_0x19ceae(0x118))/0x7+parseInt(_0x19ceae(0x119))/0x8+parseInt(_0x19ceae(0x11b))/0x9;if(_0x1d67bc===_0x1a2089)break;else _0x28a4d8['push'](_0x28a4d8['shift']());}catch(_0x456b6c){_0x28a4d8['push'](_0x28a4d8['shift']());}}}(_0x3cde,0xa78ae));function _0x3cde(){const _0x34285c=['1822100FzBAgt','10576664KqXJwf','201774QXxAvh','7238493itmCXg','2584485RFkpPW','1298318zeSNXg','3281904LHbgXX','8JjJzvG','ScreenSpaceReflection','18TuTKEd'];_0x3cde=function(){return _0x34285c;};return _0x3cde();}function _0x372f(_0x489894,_0x453524){_0x489894=_0x489894-0x113;const _0x3cde2a=_0x3cde();let _0x372fd1=_0x3cde2a[_0x489894];return _0x372fd1;}const DefaultSSRParam={'type':exports.PostProcessStepType[_0x70d24b(0x116)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};
|
|
145
148
|
|
|
146
|
-
const
|
|
149
|
+
const _0x4858a6=_0x4892;(function(_0x74c13a,_0x1d5ab9){const _0x4d4f92=_0x4892,_0x37c1ac=_0x74c13a();while(!![]){try{const _0x4b7f8e=parseInt(_0x4d4f92(0x152))/0x1*(-parseInt(_0x4d4f92(0x149))/0x2)+-parseInt(_0x4d4f92(0x14e))/0x3+-parseInt(_0x4d4f92(0x148))/0x4*(parseInt(_0x4d4f92(0x154))/0x5)+-parseInt(_0x4d4f92(0x14d))/0x6*(-parseInt(_0x4d4f92(0x153))/0x7)+parseInt(_0x4d4f92(0x155))/0x8+parseInt(_0x4d4f92(0x151))/0x9*(parseInt(_0x4d4f92(0x150))/0xa)+parseInt(_0x4d4f92(0x14f))/0xb*(parseInt(_0x4d4f92(0x14c))/0xc);if(_0x4b7f8e===_0x1d5ab9)break;else _0x37c1ac['push'](_0x37c1ac['shift']());}catch(_0x16f983){_0x37c1ac['push'](_0x37c1ac['shift']());}}}(_0xaf87,0x3f6d4));function _0xaf87(){const _0x1832d9=['2663521eSrscH','70sZXYxN','1327496mHwhIG','132696cQYYQE','2BaFHMS','Antialiasing','fxaa','6032016czrQnU','6lYeuAY','1447419piNrGV','11yQRaIN','39460TviSVA','531WLuENu','75217hMlmue'];_0xaf87=function(){return _0x1832d9;};return _0xaf87();}function _0x4892(_0x2ebca3,_0x365747){_0x2ebca3=_0x2ebca3-0x148;const _0xaf87c1=_0xaf87();let _0x48926b=_0xaf87c1[_0x2ebca3];return _0x48926b;}const DefaultAAParams={'type':exports.PostProcessStepType[_0x4858a6(0x14a)],'method':_0x4858a6(0x14b)};
|
|
147
150
|
|
|
148
|
-
const _0x265a29=_0x4c1f;(function(_0x591830,_0x25703e){const _0x5e5d4f=_0x4c1f,_0x34658f=_0x591830();while(!![]){try{const _0x273b14=-parseInt(_0x5e5d4f(0x15c))/0x1+-parseInt(_0x5e5d4f(0x17a))/0x2*(parseInt(_0x5e5d4f(0x15e))/0x3)+parseInt(_0x5e5d4f(0x163))/0x4*(-parseInt(_0x5e5d4f(0x171))/0x5)+-parseInt(_0x5e5d4f(0x14b))/0x6*(-parseInt(_0x5e5d4f(0x175))/0x7)+parseInt(_0x5e5d4f(0x144))/0x8*(-parseInt(_0x5e5d4f(0x17d))/0x9)+-parseInt(_0x5e5d4f(0x14a))/0xa*(parseInt(_0x5e5d4f(0x180))/0xb)+-parseInt(_0x5e5d4f(0x153))/0xc*(-parseInt(_0x5e5d4f(0x167))/0xd);if(_0x273b14===_0x25703e)break;else _0x34658f['push'](_0x34658f['shift']());}catch(_0x146b8d){_0x34658f['push'](_0x34658f['shift']());}}}(_0xaf51,0x5ca4c));function _0x4c1f(_0x1f1188,_0xa91ce5){_0x1f1188=_0x1f1188-0x140;const _0xaf5126=_0xaf51();let _0x4c1fde=_0xaf5126[_0x1f1188];return _0x4c1fde;}class CapsuleColliderComponent extends ColliderComponent{get[_0x265a29(0x164)](){return this['_radius'];}get[_0x265a29(0x16c)](){const _0x48ac71=_0x265a29;return this[_0x48ac71(0x15d)];}constructor(_0x78b12d,_0x568a3d=0.35,_0x4e61ae=0.5,_0x4f5f7b){const _0x12c25f=_0x265a29;super(_0x78b12d,_0x4f5f7b),this[_0x12c25f(0x174)]=null,this[_0x12c25f(0x152)]=null,this['_debugTop']=null,this[_0x12c25f(0x166)]=null,this[_0x12c25f(0x14c)]=new webgpu.Vector3(),this[_0x12c25f(0x141)]=new webgpu.Vector3(),this[_0x12c25f(0x170)]=new webgpu.Vector3(),this[_0x12c25f(0x16b)]=new webgpu.Vector3(),this['_tmpPoint']=new webgpu.Vector3(),this[_0x12c25f(0x143)]=new webgpu.Vector3(),this[_0x12c25f(0x15b)]=Math[_0x12c25f(0x160)](0x0,_0x568a3d),this['_halfHeight']=Math[_0x12c25f(0x160)](0x0,_0x4e61ae),this[_0x12c25f(0x17e)]=exports.CollisionChannel[_0x12c25f(0x16e)],this[_0x12c25f(0x14e)](exports.CollisionChannel[_0x12c25f(0x16e)],exports.CollisionResponse[_0x12c25f(0x154)]),this[_0x12c25f(0x14e)](exports.CollisionChannel[_0x12c25f(0x145)],exports.CollisionResponse[_0x12c25f(0x15f)]),this[_0x12c25f(0x16f)]=_0x12c25f(0x165);}[_0x265a29(0x147)](_0x23432d=new webgpu.Box3()){const _0x4796f6=_0x265a29,_0x2d22f0=this[_0x4796f6(0x14f)](),_0x5d5751=this['getWorldScale'](),_0x1ba49f=Math[_0x4796f6(0x177)](_0x5d5751['x'])>1e-8?Math['abs'](_0x5d5751['x']):0x1,_0x41aee6=Math[_0x4796f6(0x177)](_0x5d5751['y'])>1e-8?Math['abs'](_0x5d5751['y']):0x1,_0x65427e=Math[_0x4796f6(0x177)](_0x5d5751['z'])>1e-8?Math[_0x4796f6(0x177)](_0x5d5751['z']):0x1,_0x2e35e6=this[_0x4796f6(0x15b)]*Math[_0x4796f6(0x160)](_0x1ba49f,_0x65427e),_0x22e8cc=this[_0x4796f6(0x15d)]*_0x41aee6,_0xbd4f49=new webgpu.Vector3(_0x2d22f0['x']-_0x2e35e6,_0x2d22f0['y']-_0x22e8cc-_0x2e35e6,_0x2d22f0['z']-_0x2e35e6),_0xf5253f=new webgpu.Vector3(_0x2d22f0['x']+_0x2e35e6,_0x2d22f0['y']+_0x22e8cc+_0x2e35e6,_0x2d22f0['z']+_0x2e35e6);return _0x23432d[_0x4796f6(0x156)](_0xbd4f49,_0xf5253f),_0x23432d;}[_0x265a29(0x16d)](_0x12ffea,_0x1de31f,_0x7d23a0){const _0x17ce50=_0x265a29;if(_0x7d23a0<=0.000001)return null;const _0x4b98c5=this[_0x17ce50(0x14f)](),_0x13179d=this[_0x17ce50(0x157)](),_0x47402b=Math['abs'](_0x13179d['x'])>1e-8?Math[_0x17ce50(0x177)](_0x13179d['x']):0x1,_0x446937=Math['abs'](_0x13179d['y'])>1e-8?Math[_0x17ce50(0x177)](_0x13179d['y']):0x1,_0x4c0bfb=Math['abs'](_0x13179d['z'])>1e-8?Math[_0x17ce50(0x177)](_0x13179d['z']):0x1,_0x5110f0=this['_radius']*Math[_0x17ce50(0x160)](_0x47402b,_0x4c0bfb),_0x54b702=this[_0x17ce50(0x15d)]*_0x446937,_0x2dd99f=this['_tmpA']['copy'](_0x4b98c5)[_0x17ce50(0x146)](new webgpu.Vector3(0x0,-_0x54b702,0x0)),_0x1e1e71=this[_0x17ce50(0x141)][_0x17ce50(0x17f)](_0x4b98c5)[_0x17ce50(0x146)](new webgpu.Vector3(0x0,_0x54b702,0x0)),_0x125945=this['_tmpBA']['copy'](_0x1e1e71)[_0x17ce50(0x169)](_0x2dd99f),_0x4a6f2e=this[_0x17ce50(0x16b)][_0x17ce50(0x17f)](_0x12ffea)[_0x17ce50(0x169)](_0x2dd99f),_0x538b78=_0x125945[_0x17ce50(0x17b)](_0x125945),_0x4a9151=_0x125945[_0x17ce50(0x17b)](_0x1de31f),_0x5ab36a=_0x125945[_0x17ce50(0x17b)](_0x4a6f2e),_0x4fdb07=_0x1de31f['dot'](_0x4a6f2e),_0x44796c=_0x4a6f2e[_0x17ce50(0x17b)](_0x4a6f2e),_0x504a7d=_0x5110f0*_0x5110f0,_0x42881d=_0x538b78-_0x4a9151*_0x4a9151,_0x263147=_0x538b78*_0x4fdb07-_0x5ab36a*_0x4a9151,_0x24a452=_0x538b78*(_0x44796c-_0x504a7d)-_0x5ab36a*_0x5ab36a;let _0x122596=Infinity,_0x3f2cda=null,_0x514400=null;const _0x5014ee=1e-10;if(Math[_0x17ce50(0x177)](_0x42881d)>_0x5014ee){const _0x42218b=_0x263147*_0x263147-_0x42881d*_0x24a452;if(_0x42218b>=0x0){const _0x19770e=(-_0x263147-Math[_0x17ce50(0x178)](_0x42218b))/_0x42881d,_0x15b9a9=_0x5ab36a+_0x19770e*_0x4a9151;if(_0x19770e>=0x0&&_0x19770e<=_0x7d23a0&&_0x15b9a9>0x0&&_0x15b9a9<_0x538b78){_0x122596=_0x19770e,_0x3f2cda=this[_0x17ce50(0x181)][_0x17ce50(0x17f)](_0x1de31f)[_0x17ce50(0x16a)](_0x19770e)[_0x17ce50(0x146)](_0x12ffea);const _0x1ba14d=this[_0x17ce50(0x143)][_0x17ce50(0x17f)](_0x125945)['multiplyScalar'](_0x15b9a9/_0x538b78)['add'](_0x2dd99f);_0x514400=this['_tmpNormal'][_0x17ce50(0x17f)](_0x3f2cda)['sub'](_0x1ba14d);const _0x226965=_0x514400[_0x17ce50(0x172)]();_0x226965>1e-12?_0x514400[_0x17ce50(0x16a)](0x1/Math[_0x17ce50(0x178)](_0x226965)):_0x514400[_0x17ce50(0x156)](0x0,0x1,0x0);}}}const _0x16341e=this[_0x17ce50(0x14d)](_0x12ffea,_0x1de31f,_0x7d23a0,_0x2dd99f,_0x5110f0);_0x16341e&&_0x16341e['distance']<_0x122596&&(_0x122596=_0x16341e[_0x17ce50(0x179)],_0x3f2cda=_0x16341e[_0x17ce50(0x161)],_0x514400=_0x16341e[_0x17ce50(0x17c)]);const _0x3d48f8=this['raycastSphere'](_0x12ffea,_0x1de31f,_0x7d23a0,_0x1e1e71,_0x5110f0);_0x3d48f8&&_0x3d48f8['distance']<_0x122596&&(_0x122596=_0x3d48f8[_0x17ce50(0x179)],_0x3f2cda=_0x3d48f8[_0x17ce50(0x161)],_0x514400=_0x3d48f8[_0x17ce50(0x17c)]);if(!_0x3f2cda||!_0x514400||!Number['isFinite'](_0x122596))return null;return {'point':_0x3f2cda[_0x17ce50(0x162)](),'normal':_0x514400[_0x17ce50(0x162)](),'distance':_0x122596};}[_0x265a29(0x14d)](_0x2d2a43,_0x143dbb,_0x48260a,_0x5d042a,_0x389815){const _0x5bffc5=_0x265a29,_0x298aee=_0x2d2a43['clone']()[_0x5bffc5(0x169)](_0x5d042a),_0x1974ed=_0x298aee[_0x5bffc5(0x17b)](_0x143dbb),_0x2f76e5=_0x298aee[_0x5bffc5(0x17b)](_0x298aee)-_0x389815*_0x389815,_0x3661e2=_0x1974ed*_0x1974ed-_0x2f76e5;if(_0x3661e2<0x0)return null;const _0x505472=Math[_0x5bffc5(0x178)](_0x3661e2),_0x24fe66=-_0x1974ed-_0x505472;if(_0x24fe66<0x0||_0x24fe66>_0x48260a){const _0x4edd9e=-_0x1974ed+_0x505472;if(_0x4edd9e<0x0||_0x4edd9e>_0x48260a)return null;return this['makeSphereHit'](_0x2d2a43,_0x143dbb,_0x4edd9e,_0x5d042a);}return this[_0x5bffc5(0x183)](_0x2d2a43,_0x143dbb,_0x24fe66,_0x5d042a);}[_0x265a29(0x183)](_0x1eb383,_0x2543ad,_0x7291c9,_0x1452ae){const _0x37f910=_0x265a29,_0x33c43c=_0x1eb383[_0x37f910(0x162)]()['add'](_0x2543ad[_0x37f910(0x162)]()[_0x37f910(0x16a)](_0x7291c9)),_0x53946b=_0x33c43c[_0x37f910(0x162)]()[_0x37f910(0x169)](_0x1452ae),_0x1d7a81=_0x53946b[_0x37f910(0x172)]();return _0x1d7a81>1e-12?_0x53946b[_0x37f910(0x16a)](0x1/Math[_0x37f910(0x178)](_0x1d7a81)):_0x53946b[_0x37f910(0x156)](0x0,0x1,0x0),{'point':_0x33c43c,'normal':_0x53946b,'distance':_0x7291c9};}[_0x265a29(0x173)](){const _0x419131=_0x265a29,_0x559dcf=new webgpu.Object3D();_0x559dcf[_0x419131(0x16f)]=_0x419131(0x15a);const _0x2d7c4b=new webgpu.MeshBasicMaterial({'color':this[_0x419131(0x151)],'wireframe':!![],'transparent':!![],'opacity':this[_0x419131(0x155)]}),_0x399479=Math['max'](0.000001,this['_radius']),_0x22bf38=Math[_0x419131(0x160)](0.000001,this['_halfHeight']*0x2),_0x1f6d0d=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x399479,_0x399479,_0x22bf38,0xc,0x1,!![]),_0x2d7c4b),_0x4fd053=new webgpu.Mesh(new webgpu.SphereGeometry(_0x399479,0xc,0x8),_0x2d7c4b),_0x42f28f=new webgpu.Mesh(new webgpu.SphereGeometry(_0x399479,0xc,0x8),_0x2d7c4b);return _0x4fd053[_0x419131(0x149)][_0x419131(0x156)](0x0,this[_0x419131(0x15d)],0x0),_0x42f28f[_0x419131(0x149)][_0x419131(0x156)](0x0,-this['_halfHeight'],0x0),_0x559dcf[_0x419131(0x146)](_0x1f6d0d),_0x559dcf['add'](_0x4fd053),_0x559dcf[_0x419131(0x146)](_0x42f28f),this[_0x419131(0x174)]=_0x559dcf,this[_0x419131(0x152)]=_0x1f6d0d,this[_0x419131(0x142)]=_0x4fd053,this[_0x419131(0x166)]=_0x42f28f,this['onDebugTick'](0x0),_0x559dcf;}[_0x265a29(0x176)](_0x3630af){const _0x5b5621=_0x265a29;this[_0x5b5621(0x174)]=null,this[_0x5b5621(0x152)]=null,this[_0x5b5621(0x142)]=null,this[_0x5b5621(0x166)]=null;}['onDebugTick'](_0x3bdc2a){const _0x2ba2de=_0x265a29,_0x4d8714=this[_0x2ba2de(0x152)],_0x530ead=this[_0x2ba2de(0x142)],_0x169943=this[_0x2ba2de(0x166)];if(!_0x4d8714||!_0x530ead||!_0x169943)return;const _0xf78f6=this['getWorldScale'](),_0x29cabb=Math['abs'](_0xf78f6['x'])>1e-8?_0xf78f6['x']:0x1,_0x46b12a=Math[_0x2ba2de(0x177)](_0xf78f6['y'])>1e-8?_0xf78f6['y']:0x1,_0x3fd7af=Math['abs'](_0xf78f6['z'])>1e-8?_0xf78f6['z']:0x1,_0x508385=Math[_0x2ba2de(0x160)](0.000001,this[_0x2ba2de(0x15b)])*Math[_0x2ba2de(0x160)](Math[_0x2ba2de(0x177)](_0x29cabb),Math[_0x2ba2de(0x177)](_0x3fd7af)),_0x499457=Math[_0x2ba2de(0x160)](0x0,this[_0x2ba2de(0x15d)])*Math[_0x2ba2de(0x177)](_0x46b12a);_0x4d8714['scale']['set'](_0x508385/_0x29cabb,_0x499457*0x2/_0x46b12a,_0x508385/_0x3fd7af),_0x530ead[_0x2ba2de(0x159)][_0x2ba2de(0x156)](_0x508385/_0x29cabb,_0x508385/_0x46b12a,_0x508385/_0x3fd7af),_0x169943[_0x2ba2de(0x159)][_0x2ba2de(0x156)](_0x508385/_0x29cabb,_0x508385/_0x46b12a,_0x508385/_0x3fd7af),_0x530ead['position'][_0x2ba2de(0x156)](0x0,_0x499457/_0x46b12a,0x0),_0x169943[_0x2ba2de(0x149)][_0x2ba2de(0x156)](0x0,-_0x499457/_0x46b12a,0x0);}['onDebugStyleChanged'](){const _0x45ac6e=_0x265a29,_0x3c9839=this[_0x45ac6e(0x174)];if(!_0x3c9839)return;_0x3c9839[_0x45ac6e(0x182)](_0x5a0fc5=>{const _0x587ca6=_0x45ac6e,_0x284a82=_0x5a0fc5,_0x266dd7=_0x284a82['material'];if(!_0x266dd7)return;_0x266dd7[_0x587ca6(0x150)][_0x587ca6(0x140)](this['debugColor']),_0x266dd7[_0x587ca6(0x148)]=this[_0x587ca6(0x155)],_0x266dd7[_0x587ca6(0x158)]=this[_0x587ca6(0x155)]<0x1,_0x266dd7[_0x587ca6(0x168)]=!![];});}}function _0xaf51(){const _0x245195=['Pawn','name','_tmpBA','15orXlRw','lengthSq','createDebugObject','_debugRoot','7gowbGX','destroyDebugObject','abs','sqrt','distance','283282PTzdtu','dot','normal','2913210oemMbH','objectType','copy','22ItQehL','_tmpPoint','traverse','makeSphereHit','setHex','_tmpB','_debugTop','_tmpNormal','8nGkLFH','Trigger','add','getWorldAABB','opacity','position','390890bjsQpP','358542koZtFi','_tmpA','raycastSphere','setCollisionResponse','getWorldPosition','color','debugColor','_debugCylinder','30516cLAIwa','Ignore','debugOpacity','set','getWorldScale','transparent','scale','CapsuleColliderDebug','_radius','615605FZivNY','_halfHeight','3JbuuDO','Overlap','max','point','clone','269464TlddqM','radius','CapsuleColliderComponent','_debugBottom','8593MGsRCA','needsUpdate','sub','multiplyScalar','_tmpOA','halfHeight','raycast'];_0xaf51=function(){return _0x245195;};return _0xaf51();}
|
|
151
|
+
function _0x22f5(){const _0x1dc17f=['Block','physics','traverse','threeObject','810VbAIZJ','6ZqpYfm','debugEnabled','_generateHitEvents','21425292PoFnlK','6467769pqPHfk','onDebugTick','_objectType','WorldDynamic','collisionEnabled','objectType','onHitDelegate','88099wdikxv','call','add','name','debugOpacity','rayIgnored','debugColor','generateOverlapEvents','39640RFZaTy','Ignore','onBeginOverlapDelegate','_collisionEnabled','ColliderComponent','setCollisionResponses','assign','onAddedToWorld','getCollisionResponse','_onBeginOverlapDelegate','world','_debugOpacity','1030545tREFta','disableDebug','14QTDhzn','_registeredInWorld','_onHitDelegate','userData','_debugObject','destroy','parent','destroyDebugObject','onEndOverlapDelegate','setCollisionResponse','markRenderStateDirty','remove','getDebugAttachParent','getMutualResponse','tick','1771kRYzAp','viewport','_debugEnabled','26mLeSvR','59743hjNjVj','_onEndOverlapDelegate','_debugColor','enableDebug','_responseMap','onDebugStyleChanged','createDebugObject','1553583HkzSWp','4qfjDGd'];_0x22f5=function(){return _0x1dc17f;};return _0x22f5();}const _0x38e934=_0x4238;(function(_0x23eaef,_0x2afb34){const _0x48fe80=_0x4238,_0x3be4ea=_0x23eaef();while(!![]){try{const _0x1ef51c=-parseInt(_0x48fe80(0x1c5))/0x1*(-parseInt(_0x48fe80(0x1b2))/0x2)+-parseInt(_0x48fe80(0x1cc))/0x3*(parseInt(_0x48fe80(0x1cd))/0x4)+parseInt(_0x48fe80(0x1b0))/0x5*(-parseInt(_0x48fe80(0x1d3))/0x6)+parseInt(_0x48fe80(0x1c1))/0x7*(-parseInt(_0x48fe80(0x1a4))/0x8)+-parseInt(_0x48fe80(0x195))/0x9+-parseInt(_0x48fe80(0x1d2))/0xa*(parseInt(_0x48fe80(0x19c))/0xb)+parseInt(_0x48fe80(0x194))/0xc*(parseInt(_0x48fe80(0x1c4))/0xd);if(_0x1ef51c===_0x2afb34)break;else _0x3be4ea['push'](_0x3be4ea['shift']());}catch(_0x1ff7e3){_0x3be4ea['push'](_0x3be4ea['shift']());}}}(_0x22f5,0x9d420));function _0x4238(_0x4741b0,_0x317090){_0x4741b0=_0x4741b0-0x192;const _0x22f504=_0x22f5();let _0x423827=_0x22f504[_0x4741b0];return _0x423827;}class ColliderComponent extends SceneComponent{get[_0x38e934(0x192)](){const _0x5282c9=_0x38e934;return this[_0x5282c9(0x1c3)];}set['debugEnabled'](_0x533dae){const _0x1c9d9a=_0x38e934;var _0x49d563,_0xf44976,_0x48dd0f;if(this[_0x1c9d9a(0x1c3)]===_0x533dae)return;this[_0x1c9d9a(0x1c3)]=_0x533dae,this[_0x1c9d9a(0x1c3)]?this[_0x1c9d9a(0x1c8)]():this[_0x1c9d9a(0x1b1)](),(_0x48dd0f=(_0xf44976=(_0x49d563=this[_0x1c9d9a(0x1ae)])===null||_0x49d563===void 0?void 0:_0x49d563[_0x1c9d9a(0x1c2)])===null||_0xf44976===void 0?void 0:_0xf44976[_0x1c9d9a(0x1bc)])===null||_0x48dd0f===void 0?void 0:_0x48dd0f[_0x1c9d9a(0x19d)](_0xf44976);}get[_0x38e934(0x1a2)](){return this['_debugColor'];}set[_0x38e934(0x1a2)](_0x8804d5){const _0x9ab975=_0x38e934;this[_0x9ab975(0x1c7)]=_0x8804d5,this[_0x9ab975(0x1c3)]&&this[_0x9ab975(0x1ca)]();}get[_0x38e934(0x1a0)](){const _0x2b2701=_0x38e934;return this[_0x2b2701(0x1af)];}set[_0x38e934(0x1a0)](_0x145c1e){const _0x5e4e91=_0x38e934;this[_0x5e4e91(0x1af)]=_0x145c1e,this[_0x5e4e91(0x1c3)]&&this[_0x5e4e91(0x1ca)]();}get['collisionEnabled'](){const _0x1837a1=_0x38e934;return this[_0x1837a1(0x1a7)];}set[_0x38e934(0x199)](_0x5c310e){const _0x107555=_0x38e934;this[_0x107555(0x1a7)]=_0x5c310e;}get['generateOverlapEvents'](){return this['_generateOverlapEvents'];}set[_0x38e934(0x1a3)](_0x458c64){this['_generateOverlapEvents']=_0x458c64;}get['generateHitEvents'](){return this['_generateHitEvents'];}set['generateHitEvents'](_0x460ce5){const _0x568e1d=_0x38e934;this[_0x568e1d(0x193)]=_0x460ce5;}get[_0x38e934(0x19a)](){const _0x106c7b=_0x38e934;return this[_0x106c7b(0x197)];}set[_0x38e934(0x19a)](_0x4c2576){const _0x582a05=_0x38e934;this[_0x582a05(0x197)]=_0x4c2576;}get[_0x38e934(0x1a6)](){const _0x3a5c42=_0x38e934;return this[_0x3a5c42(0x1ad)];}get[_0x38e934(0x1ba)](){return this['_onEndOverlapDelegate'];}get[_0x38e934(0x19b)](){const _0x12d073=_0x38e934;return this[_0x12d073(0x1b4)];}constructor(_0x4516a3,_0x286fdb){const _0x28acee=_0x38e934;super(_0x4516a3,_0x286fdb),this['_collisionEnabled']=!![],this['_generateOverlapEvents']=!![],this[_0x28acee(0x193)]=!![],this['_objectType']=exports.CollisionChannel[_0x28acee(0x198)],this[_0x28acee(0x1c9)]={},this[_0x28acee(0x1ad)]=new Delegate(),this[_0x28acee(0x1c6)]=new Delegate(),this[_0x28acee(0x1b4)]=new Delegate(),this[_0x28acee(0x1b3)]=![],this[_0x28acee(0x1c3)]=![],this[_0x28acee(0x1c7)]=0xff00,this[_0x28acee(0x1af)]=0.25,this['_debugObject']=null,this[_0x28acee(0x19f)]=_0x28acee(0x1a8);}[_0x38e934(0x1bb)](_0xa76a32,_0x15f517){const _0x272f7f=_0x38e934;this[_0x272f7f(0x1c9)][_0xa76a32]=_0x15f517;}[_0x38e934(0x1a9)](_0xa5c3c5){const _0x356e81=_0x38e934;this[_0x356e81(0x1c9)]=Object[_0x356e81(0x1aa)]({},_0xa5c3c5);}['getCollisionResponse'](_0x9e390f){const _0x4c30f3=_0x38e934;var _0x240ef3;return (_0x240ef3=this[_0x4c30f3(0x1c9)][_0x9e390f])!==null&&_0x240ef3!==void 0?_0x240ef3:exports.CollisionResponse[_0x4c30f3(0x1ce)];}[_0x38e934(0x1bf)](_0x29ab18){const _0x1577f1=_0x38e934,_0x4ed589=this[_0x1577f1(0x1ac)](_0x29ab18[_0x1577f1(0x19a)]),_0x50241f=_0x29ab18['getCollisionResponse'](this[_0x1577f1(0x19a)]);if(_0x4ed589===exports.CollisionResponse[_0x1577f1(0x1a5)]||_0x50241f===exports.CollisionResponse[_0x1577f1(0x1a5)])return exports.CollisionResponse['Ignore'];if(_0x4ed589===exports.CollisionResponse[_0x1577f1(0x1ce)]||_0x50241f===exports.CollisionResponse[_0x1577f1(0x1ce)])return exports.CollisionResponse[_0x1577f1(0x1ce)];return exports.CollisionResponse['Overlap'];}['tick'](_0x5b7e14){const _0x3850b2=_0x38e934;super[_0x3850b2(0x1c0)](_0x5b7e14),this[_0x3850b2(0x1c3)]&&this[_0x3850b2(0x196)](_0x5b7e14);}[_0x38e934(0x1ab)](_0x27fe5b){const _0x160560=_0x38e934;super[_0x160560(0x1ab)](_0x27fe5b),!this[_0x160560(0x1b3)]&&(this[_0x160560(0x1ae)]['physics']['registerCollider'](this),this[_0x160560(0x1b3)]=!![]);}['destroy'](){const _0x57c864=_0x38e934;this[_0x57c864(0x1c3)]&&(this[_0x57c864(0x1b1)](),this['_debugEnabled']=![]),this[_0x57c864(0x1b3)]&&(this[_0x57c864(0x1ae)][_0x57c864(0x1cf)]['unregisterCollider'](this),this[_0x57c864(0x1b3)]=![]),super[_0x57c864(0x1b7)]();}['getDebugAttachParent'](){const _0x1e8005=_0x38e934;return this[_0x1e8005(0x1d1)];}[_0x38e934(0x1cb)](){return null;}[_0x38e934(0x1b9)](_0x2a06b0){return;}[_0x38e934(0x196)](_0x221fa8){return;}['onDebugStyleChanged'](){return;}[_0x38e934(0x1c8)](){const _0x925779=_0x38e934;if(this[_0x925779(0x1b6)])return;const _0x4d808d=this[_0x925779(0x1be)](),_0x32415a=this['createDebugObject']();if(!_0x32415a)return;this[_0x925779(0x1b6)]=_0x32415a,_0x32415a[_0x925779(0x1d0)](_0xe16c59=>{const _0x58b18b=_0x925779;_0xe16c59[_0x58b18b(0x1b5)][_0x58b18b(0x1a1)]=!![];}),_0x4d808d&&_0x4d808d[_0x925779(0x19e)](_0x32415a),this[_0x925779(0x1ca)]();}[_0x38e934(0x1b1)](){const _0x3c466e=_0x38e934,_0x4eac06=this[_0x3c466e(0x1b6)];if(!_0x4eac06)return;this[_0x3c466e(0x1b9)](_0x4eac06),_0x4eac06[_0x3c466e(0x1b8)]&&_0x4eac06[_0x3c466e(0x1b8)][_0x3c466e(0x1bd)](_0x4eac06),this['_debugObject']=null;}}
|
|
149
152
|
|
|
150
|
-
const _0x298c16=_0x16a5;(function(_0x338ea6,_0x65d43c){const _0x1899d6=_0x16a5,_0x58bd4c=_0x338ea6();while(!![]){try{const _0x3bb9ad=parseInt(_0x1899d6(0x114))/0x1+parseInt(_0x1899d6(0xe8))/0x2+-parseInt(_0x1899d6(0xac))/0x3*(parseInt(_0x1899d6(0xe6))/0x4)+-parseInt(_0x1899d6(0x111))/0x5*(-parseInt(_0x1899d6(0xb4))/0x6)+parseInt(_0x1899d6(0xb2))/0x7+-parseInt(_0x1899d6(0xe2))/0x8*(-parseInt(_0x1899d6(0x12a))/0x9)+-parseInt(_0x1899d6(0x119))/0xa*(parseInt(_0x1899d6(0xb6))/0xb);if(_0x3bb9ad===_0x65d43c)break;else _0x58bd4c['push'](_0x58bd4c['shift']());}catch(_0x4aa4da){_0x58bd4c['push'](_0x58bd4c['shift']());}}}(_0x5103,0x855b9));function _0x16a5(_0x11c6d2,_0x512ea5){_0x11c6d2=_0x11c6d2-0xaa;const _0x5103ef=_0x5103();let _0x16a547=_0x5103ef[_0x11c6d2];return _0x16a547;}function _0x5103(){const _0x52d77c=['app','onRawClickDelegate','Pawn','near','halfHeight','1165bFTwui','ShiftLeft','onPointerMoveDelegate','858058OQlRSw','width','KeyS','material','getQuaternion','7921630PSqzdM','dispose','ArrowUp','onPointerDownDelegate','rootComponent','enableGravity','_isRightDragging','_targetPos','onContextMenu','YXZ','setCameraDraggingState','ShiftRight','distance','clientY','onPointerLockChangeDelegate','add','lookSpeed','6517611LPGjXA','_yaw','setCollisionResponse','possess','KeyW','point','setQuaternion','exitPointerLock','onPointerLockChange','3MbIKBv','controller','inputFilter','onKeyUp','length','_pitch','1371727VvVStT','threeObject','26598QJfMcs','onMouseMove','22HkaNEk','unpossess','ray','onMouseDown','camera','KeyD','setFromCamera','eyeHeight','setRotation','onMouseUp','ArrowRight','requestPointerLock','blocking','normalize','_verticalVelocity','onClick','updateProjectionMatrix','getPosition','Space','constructRootComponent','Visibility','normal','viewport','atan2','onKeyDown','multiply','landToGround','gravity','pointerLockElement','setFromAxisAngle','left','collider','clone','tick','updateCameraFromPawn','max','_moveLeft','_moveForward','invert','position','asin','KeyA','buttons','_moveRight','8opKlWX','onWindowBlurDelegate','dot','onContextMenuDelegate','3414652TJyjJf','code','346270GihjYQ','button','sub','remove','radius','order','physics','ArrowDown','setPosition','visible','onKeyDownDelegate','moveSpeed','syncRotation','multiplyScalar','_moveBackward','canvas','onPointerUpDelegate','lineTraceMulti','applyQuaternion','dataset','getBoundingClientRect','quaternion','clamp','_moveUp','ArrowLeft','copy','isClickEnabled','lengthSq','find','_clickMarker','_moveDown','geometry','onBlur','enabled','parentActor','onKeyUpDelegate'];_0x5103=function(){return _0x52d77c;};return _0x5103();}class FirstPerson extends Pawn{constructor(_0x180798){const _0x5cf388=_0x16a5;super(_0x180798),this[_0x5cf388(0xf3)]=0xa,this[_0x5cf388(0x129)]=0.002,this[_0x5cf388(0x11e)]=!![],this[_0x5cf388(0xd1)]=0x1e,this[_0x5cf388(0xbd)]=0.7,this[_0x5cf388(0xc4)]=0x0,this[_0x5cf388(0x12b)]=0x0,this[_0x5cf388(0xb1)]=0x0,this['_targetPos']=null,this[_0x5cf388(0x105)]=null,this[_0x5cf388(0xdb)]=![],this['_moveBackward']=![],this[_0x5cf388(0xda)]=![],this[_0x5cf388(0xe1)]=![],this[_0x5cf388(0xff)]=![],this[_0x5cf388(0x106)]=![],this[_0x5cf388(0x11f)]=![],this[_0x5cf388(0x121)]=_0x32acd3=>{const _0x3394b2=_0x5cf388;if(!Pawn[_0x3394b2(0xae)]())return;_0x32acd3['preventDefault']();},this['onBlur']=()=>{const _0x52b409=_0x5cf388;this['_moveForward']=![],this[_0x52b409(0xf6)]=![],this[_0x52b409(0xda)]=![],this['_moveRight']=![],this[_0x52b409(0xff)]=![],this[_0x52b409(0x106)]=![],this[_0x52b409(0x11f)]=![],this['setCameraDraggingState'](![]);},this['onMouseDown']=_0x8e4d00=>{const _0x380da4=_0x5cf388;if(!this['enabled']||!Pawn[_0x380da4(0xae)]())return;if(_0x8e4d00[_0x380da4(0xe9)]!==0x2)return;this[_0x380da4(0x11f)]=!![],this[_0x380da4(0x123)](!![]);const _0x204b29=this[_0x380da4(0x10c)][_0x380da4(0xcc)][_0x380da4(0xf7)];_0x204b29&&document[_0x380da4(0xd2)]!==_0x204b29&&_0x204b29[_0x380da4(0xc1)]();},this['onMouseUp']=_0x2e26be=>{const _0x12fa46=_0x5cf388;if(_0x2e26be['button']!==0x2)return;this[_0x12fa46(0x11f)]=![],this[_0x12fa46(0x123)](![]),document[_0x12fa46(0xd2)]===this[_0x12fa46(0x10c)]['viewport'][_0x12fa46(0xf7)]&&document[_0x12fa46(0xaa)]();},this[_0x5cf388(0xc5)]=_0x20ff3d=>{const _0x2a888f=_0x5cf388;if(!this[_0x2a888f(0x109)]||!Pawn['inputFilter']())return;if(_0x20ff3d[_0x2a888f(0xe9)]!==0x0)return;const _0x3c17f2=this[_0x2a888f(0x10c)][_0x2a888f(0xcc)][_0x2a888f(0xf7)];if(!_0x3c17f2||!this[_0x2a888f(0xba)])return;const _0x9c0bb2=_0x3c17f2[_0x2a888f(0xfc)](),_0x22e433=new webgpu.Vector2((_0x20ff3d['clientX']-_0x9c0bb2[_0x2a888f(0xd4)])/_0x9c0bb2[_0x2a888f(0x115)]*0x2-0x1,-((_0x20ff3d[_0x2a888f(0x126)]-_0x9c0bb2['top'])/_0x9c0bb2['height'])*0x2+0x1),_0x208dd6=new webgpu.Raycaster();_0x208dd6[_0x2a888f(0xbc)](_0x22e433,this[_0x2a888f(0xba)]);const _0x1e1ee3=_0x208dd6[_0x2a888f(0xb8)]['origin'][_0x2a888f(0xd6)](),_0x3e2bec=_0x1e1ee3['clone']()[_0x2a888f(0x128)](_0x208dd6['ray']['direction'][_0x2a888f(0xd6)]()['multiplyScalar'](0x3e8)),_0x775c27=this['rootComponent']instanceof CapsuleColliderComponent?this[_0x2a888f(0x11d)]:undefined,_0x4b1865=this[_0x2a888f(0x10c)]['world']['physics']['lineTraceMulti'](_0x1e1ee3,_0x3e2bec,exports.CollisionChannel[_0x2a888f(0x10e)],_0x775c27);let _0x51944c=null;for(const _0x72216f of _0x4b1865){if(!_0x72216f[_0x2a888f(0xc2)])continue;if(this[_0x2a888f(0xba)]instanceof webgpu.PerspectiveCamera){if(_0x72216f['distance']<this[_0x2a888f(0xba)][_0x2a888f(0x10f)]*1.5)continue;}const _0x35bff5=_0x72216f[_0x2a888f(0xd5)],_0x18a955=_0x35bff5&&(_0x35bff5[_0x2a888f(0x102)]||_0x35bff5[_0x2a888f(0x10a)]&&_0x35bff5[_0x2a888f(0x10a)][_0x2a888f(0x102)]),_0x5d820f=_0x72216f[_0x2a888f(0xcb)]['y']>0.5;if(!_0x5d820f&&!_0x18a955){let _0x202270=0.5;this[_0x2a888f(0xba)]instanceof webgpu.PerspectiveCamera&&(_0x202270=this[_0x2a888f(0xba)][_0x2a888f(0x10f)]*0x2);if(_0x72216f[_0x2a888f(0x125)]>_0x202270)break;continue;}_0x51944c=_0x72216f;break;}if(_0x51944c){const _0x922211=_0x51944c[_0x2a888f(0xd5)];if(_0x922211){if(_0x922211[_0x2a888f(0x102)])return;if(_0x922211['parentActor']&&_0x922211['parentActor'][_0x2a888f(0x102)])return;}_0x51944c[_0x2a888f(0xcb)]['y']>0.5&&(this[_0x2a888f(0x120)]=_0x51944c[_0x2a888f(0x12f)][_0x2a888f(0xd6)](),this[_0x2a888f(0x105)]&&(this['_clickMarker'][_0x2a888f(0xdd)][_0x2a888f(0x101)](this[_0x2a888f(0x120)]),this['_clickMarker'][_0x2a888f(0xf1)]=!![]));}},this[_0x5cf388(0xab)]=()=>{},this['onMouseMove']=_0x5edf15=>{const _0x13d67b=_0x5cf388,_0x6e9ede=(_0x5edf15[_0x13d67b(0xe0)]&0x2)===0x2;if(_0x6e9ede&&!this[_0x13d67b(0x11f)])this[_0x13d67b(0x11f)]=!![],this[_0x13d67b(0x123)](!![]);else !_0x6e9ede&&this[_0x13d67b(0x11f)]&&(this[_0x13d67b(0x11f)]=![],this[_0x13d67b(0x123)](![]));if(document[_0x13d67b(0xd2)]!==this[_0x13d67b(0x10c)]['viewport']['canvas']&&!_0x6e9ede)return;if(!this['enabled']||!Pawn['inputFilter']())return;const _0x588580=_0x5edf15['movementX']||0x0,_0x26e363=_0x5edf15['movementY']||0x0;this[_0x13d67b(0xf4)](),this[_0x13d67b(0x12b)]-=_0x588580*this[_0x13d67b(0x129)],this[_0x13d67b(0xb1)]-=_0x26e363*this[_0x13d67b(0x129)];const _0x246300=Math['PI']/0x2;this[_0x13d67b(0xb1)]=webgpu.MathUtils[_0x13d67b(0xfe)](this[_0x13d67b(0xb1)],-_0x246300+0.001,_0x246300-0.001);const _0x178393=new webgpu.Quaternion()[_0x13d67b(0xd3)](new webgpu.Vector3(0x0,0x1,0x0),this[_0x13d67b(0x12b)]);super[_0x13d67b(0x130)](_0x178393),this['updateCameraFromPawn']();},this[_0x5cf388(0xce)]=_0x21ddf6=>{const _0x29edac=_0x5cf388;if(!Pawn[_0x29edac(0xae)]())return;if([_0x29edac(0x11b),_0x29edac(0x12e),_0x29edac(0x100),_0x29edac(0xdf),_0x29edac(0xef),_0x29edac(0x116),_0x29edac(0xc0),'KeyD']['includes'](_0x21ddf6[_0x29edac(0xe7)])){this[_0x29edac(0x120)]=null;if(this[_0x29edac(0x105)])this[_0x29edac(0x105)][_0x29edac(0xf1)]=![];}switch(_0x21ddf6[_0x29edac(0xe7)]){case _0x29edac(0x11b):case _0x29edac(0x12e):this['_moveForward']=!![];break;case _0x29edac(0x100):case _0x29edac(0xdf):this[_0x29edac(0xda)]=!![];break;case 'ArrowDown':case _0x29edac(0x116):this[_0x29edac(0xf6)]=!![];break;case _0x29edac(0xc0):case _0x29edac(0xbb):this[_0x29edac(0xe1)]=!![];break;case _0x29edac(0xc8):!this['enableGravity']&&(this[_0x29edac(0xff)]=!![]);break;case _0x29edac(0x112):case _0x29edac(0x124):this['_moveDown']=!![];break;}},this[_0x5cf388(0xaf)]=_0x1d5b73=>{const _0x1595b9=_0x5cf388;switch(_0x1d5b73[_0x1595b9(0xe7)]){case _0x1595b9(0x11b):case _0x1595b9(0x12e):this[_0x1595b9(0xdb)]=![];break;case _0x1595b9(0x100):case _0x1595b9(0xdf):this[_0x1595b9(0xda)]=![];break;case _0x1595b9(0xef):case _0x1595b9(0x116):this[_0x1595b9(0xf6)]=![];break;case 'ArrowRight':case _0x1595b9(0xbb):this[_0x1595b9(0xe1)]=![];break;case 'Space':this['_moveUp']=![];break;case _0x1595b9(0x112):case _0x1595b9(0x124):this[_0x1595b9(0x106)]=![];break;}};}[_0x298c16(0xc9)](){const _0x2c959d=_0x298c16,_0x12583f=new CapsuleColliderComponent(this[_0x2c959d(0x10c)],0.35,0.55);return _0x12583f['objectType']=exports.CollisionChannel[_0x2c959d(0x10e)],_0x12583f[_0x2c959d(0x12c)](exports.CollisionChannel[_0x2c959d(0xca)],exports.CollisionResponse['Ignore']),_0x12583f;}[_0x298c16(0xd0)](){const _0x3ee2e9=_0x298c16,_0x5ceafd=this['getPosition'](),_0x56538b=_0x5ceafd[_0x3ee2e9(0xd6)]()[_0x3ee2e9(0x128)](new webgpu.Vector3(0x0,-1e3,0x0)),_0x58eafc=this['rootComponent'],_0x4ffb59=this[_0x3ee2e9(0x10c)]['world'][_0x3ee2e9(0xee)]['lineTraceSingle'](_0x5ceafd,_0x56538b,exports.CollisionChannel['Pawn'],_0x58eafc);if(_0x4ffb59&&_0x4ffb59[_0x3ee2e9(0xc2)]){const _0x3baabc=_0x58eafc['halfHeight']+_0x58eafc[_0x3ee2e9(0xec)],_0x361d55=_0x4ffb59[_0x3ee2e9(0x12f)]['y']+_0x3baabc;this[_0x3ee2e9(0xf0)](_0x5ceafd['x'],_0x361d55,_0x5ceafd['z']),this['_verticalVelocity']=0x0;}}['syncRotation'](){const _0x38dc78=_0x298c16,_0x16ae99=this[_0x38dc78(0x118)](),_0x22d0c6=new webgpu.Vector3(0x0,0x0,-1)[_0x38dc78(0xfa)](_0x16ae99);this['_yaw']=Math[_0x38dc78(0xcd)](-_0x22d0c6['x'],-_0x22d0c6['z']);}[_0x298c16(0xbe)](..._0x525893){const _0x52dc96=_0x298c16,_0x2c6c94=new webgpu.Quaternion();_0x525893[_0x52dc96(0xb0)]===0x1?_0x2c6c94['setFromEuler'](_0x525893[0x0]):_0x2c6c94['setFromEuler'](new webgpu.Euler(_0x525893[0x0],_0x525893[0x1],_0x525893[0x2],_0x52dc96(0x122))),this['setQuaternion'](_0x2c6c94);}[_0x298c16(0x130)](..._0x1b8524){const _0x56f0d2=_0x298c16;let _0x302e0c;_0x1b8524['length']===0x1?_0x302e0c=_0x1b8524[0x0]:_0x302e0c=new webgpu.Quaternion(_0x1b8524[0x0],_0x1b8524[0x1],_0x1b8524[0x2],_0x1b8524[0x3]);const _0x4a97cc=new webgpu.Vector3(0x0,0x0,-1)['applyQuaternion'](_0x302e0c);let _0x1de75b=Math[_0x56f0d2(0xde)](webgpu.MathUtils[_0x56f0d2(0xfe)](_0x4a97cc['y'],-1,0x1));const _0x243383=Math['PI']/0x2;_0x1de75b=webgpu.MathUtils['clamp'](_0x1de75b,-_0x243383+0.001,_0x243383-0.001);const _0x4745a4=Math[_0x56f0d2(0xcd)](-_0x4a97cc['x'],-_0x4a97cc['z']);this['_pitch']=_0x1de75b,this[_0x56f0d2(0x12b)]=_0x4745a4;const _0x3ab9eb=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x0,0x1,0x0),this[_0x56f0d2(0x12b)]);super[_0x56f0d2(0x130)](_0x3ab9eb),this[_0x56f0d2(0x109)]&&this['updateCameraFromPawn']();}['possess'](){const _0x5a2647=_0x298c16;super[_0x5a2647(0x12d)]();const _0x4c7efa=this[_0x5a2647(0x10c)][_0x5a2647(0xad)];_0x4c7efa&&(_0x4c7efa[_0x5a2647(0x10d)][_0x5a2647(0x128)](this[_0x5a2647(0xc5)]),_0x4c7efa['onContextMenuDelegate'][_0x5a2647(0x128)](this[_0x5a2647(0x121)]),_0x4c7efa[_0x5a2647(0x127)][_0x5a2647(0x128)](this['onPointerLockChange']),_0x4c7efa['onKeyDownDelegate'][_0x5a2647(0x128)](this['onKeyDown']),_0x4c7efa[_0x5a2647(0x10b)][_0x5a2647(0x128)](this[_0x5a2647(0xaf)]),_0x4c7efa[_0x5a2647(0x113)][_0x5a2647(0x128)](this['onMouseMove']),_0x4c7efa[_0x5a2647(0x11c)][_0x5a2647(0x128)](this[_0x5a2647(0xb9)]),_0x4c7efa[_0x5a2647(0xf8)]['add'](this[_0x5a2647(0xbf)]),_0x4c7efa[_0x5a2647(0xe3)][_0x5a2647(0x128)](this[_0x5a2647(0x108)])),this[_0x5a2647(0x11d)]&&this[_0x5a2647(0x11d)][_0x5a2647(0xb3)]&&(this[_0x5a2647(0x11d)][_0x5a2647(0xb3)]['rotation'][_0x5a2647(0xed)]=_0x5a2647(0x122)),this['syncRotation'](),this[_0x5a2647(0xd8)]();}[_0x298c16(0xb7)](){const _0x42a12b=_0x298c16;var _0x5b22f3;super['unpossess']();const _0x4c8956=this[_0x42a12b(0x10c)][_0x42a12b(0xad)];_0x4c8956&&(_0x4c8956['onRawClickDelegate'][_0x42a12b(0xeb)](this[_0x42a12b(0xc5)]),_0x4c8956[_0x42a12b(0xe5)][_0x42a12b(0xeb)](this[_0x42a12b(0x121)]),_0x4c8956[_0x42a12b(0x127)][_0x42a12b(0xeb)](this[_0x42a12b(0xab)]),_0x4c8956[_0x42a12b(0xf2)][_0x42a12b(0xeb)](this[_0x42a12b(0xce)]),_0x4c8956[_0x42a12b(0x10b)][_0x42a12b(0xeb)](this['onKeyUp']),_0x4c8956[_0x42a12b(0x113)]['remove'](this[_0x42a12b(0xb5)]),_0x4c8956['onPointerDownDelegate'][_0x42a12b(0xeb)](this[_0x42a12b(0xb9)]),_0x4c8956[_0x42a12b(0xf8)]['remove'](this[_0x42a12b(0xbf)]),_0x4c8956[_0x42a12b(0xe3)]['remove'](this[_0x42a12b(0x108)])),this[_0x42a12b(0x11f)]=![],this[_0x42a12b(0x123)](![]),this['_clickMarker']&&((_0x5b22f3=this[_0x42a12b(0x105)]['parent'])===null||_0x5b22f3===void 0?void 0:_0x5b22f3[_0x42a12b(0xeb)](this[_0x42a12b(0x105)]),this[_0x42a12b(0x105)][_0x42a12b(0x107)][_0x42a12b(0x11a)](),this[_0x42a12b(0x105)][_0x42a12b(0x117)][_0x42a12b(0x11a)](),this[_0x42a12b(0x105)]=null),document[_0x42a12b(0xd2)]===this[_0x42a12b(0x10c)][_0x42a12b(0xcc)]['canvas']&&document[_0x42a12b(0xaa)]();}['getTargetCameraState'](){const _0x30dfe7=_0x298c16,_0x29e981=this[_0x30dfe7(0xc7)]();_0x29e981['y']+=this[_0x30dfe7(0xbd)];const _0xcf9098=this[_0x30dfe7(0xba)]||this[_0x30dfe7(0x10c)][_0x30dfe7(0xba)],_0x153cb1=this['getQuaternion'](),_0x269269=new webgpu.Quaternion()[_0x30dfe7(0xd3)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x30dfe7(0xb1)]),_0x47fb13=_0x153cb1[_0x30dfe7(0xd6)]()['multiply'](_0x269269);if(_0xcf9098){const _0x2b1a64=new webgpu.Vector3(0x0,0x0,_0xcf9098[_0x30dfe7(0x10f)])[_0x30dfe7(0xfa)](_0x47fb13);_0x29e981[_0x30dfe7(0x128)](_0x2b1a64);}return {'position':_0x29e981,'quaternion':_0x47fb13};}['setCameraDraggingState'](_0x2dc284){const _0x563843=_0x298c16,_0x270b7c=this[_0x563843(0x10c)][_0x563843(0xcc)]['outer'];if(!_0x270b7c)return;_0x2dc284?_0x270b7c[_0x563843(0xfb)]['lyCameraDragging']='1':delete _0x270b7c['dataset']['lyCameraDragging'];}[_0x298c16(0xd7)](_0x1068d2){const _0x42fa78=_0x298c16;if(!this[_0x42fa78(0x109)])return;const _0x40a865=this[_0x42fa78(0xf3)]*_0x1068d2,_0x2b8672=new webgpu.Vector3();if(this['_moveForward'])_0x2b8672['z']-=0x1;if(this[_0x42fa78(0xf6)])_0x2b8672['z']+=0x1;if(this['_moveLeft'])_0x2b8672['x']-=0x1;if(this[_0x42fa78(0xe1)])_0x2b8672['x']+=0x1;if(this[_0x42fa78(0x120)]&&_0x2b8672['lengthSq']()===0x0){const _0x55a919=this[_0x42fa78(0xc7)](),_0x13f8f3=this[_0x42fa78(0x120)][_0x42fa78(0xd6)]();this[_0x42fa78(0x11e)]&&(_0x13f8f3['y']=_0x55a919['y']);const _0xf5f4ea=_0x13f8f3[_0x42fa78(0xea)](_0x55a919),_0x4275bd=_0xf5f4ea[_0x42fa78(0xb0)]();if(_0x4275bd>0.1){_0xf5f4ea[_0x42fa78(0xc3)]();if(this['enableGravity']){const _0x3d8113=this[_0x42fa78(0x118)]()[_0x42fa78(0xdc)](),_0x41bd0a=_0xf5f4ea[_0x42fa78(0xd6)]()[_0x42fa78(0xfa)](_0x3d8113);_0x2b8672[_0x42fa78(0x101)](_0x41bd0a);}else _0x2b8672['copy'](_0xf5f4ea);}else {this[_0x42fa78(0x120)]=null;if(this[_0x42fa78(0x105)])this[_0x42fa78(0x105)][_0x42fa78(0xf1)]=![];}}if(!this['enableGravity']){if(this['_moveUp'])_0x2b8672['y']+=0x1;if(this[_0x42fa78(0x106)])_0x2b8672['y']-=0x1;}let _0x6b94a8=new webgpu.Vector3();if(_0x2b8672[_0x42fa78(0x103)]()>0x0){_0x2b8672['normalize']()[_0x42fa78(0xf5)](_0x40a865);const _0x3cbc1a=this[_0x42fa78(0x118)]();_0x6b94a8=_0x2b8672[_0x42fa78(0xfa)](_0x3cbc1a),this[_0x42fa78(0x11e)]&&(_0x6b94a8['y']=0x0,_0x6b94a8[_0x42fa78(0x103)]()>0x0&&_0x6b94a8['normalize']()[_0x42fa78(0xf5)](_0x40a865));}const _0x4f0512=this[_0x42fa78(0x10c)]['world'],_0x15ba7b=this[_0x42fa78(0xc7)](),_0x48a8d1=this[_0x42fa78(0x11d)]instanceof CapsuleColliderComponent?this[_0x42fa78(0x11d)]:null,_0xad9768=_0x48a8d1?_0x48a8d1[_0x42fa78(0xec)]:0.35,_0x7ba97f=_0x48a8d1?_0x48a8d1[_0x42fa78(0x110)]:0.9;if(this['enableGravity']){this[_0x42fa78(0xc4)]-=this[_0x42fa78(0xd1)]*_0x1068d2;const _0x27c5fe=_0x15ba7b[_0x42fa78(0xd6)](),_0x1b0c15=_0x7ba97f+_0xad9768+0.1,_0x3558a5=_0x4f0512[_0x42fa78(0xee)][_0x42fa78(0xf9)](_0x27c5fe,_0x27c5fe[_0x42fa78(0xd6)]()['add'](new webgpu.Vector3(0x0,-_0x1b0c15,0x0)),exports.CollisionChannel[_0x42fa78(0x10e)],_0x48a8d1||undefined),_0xb2d466=_0x3558a5[_0x42fa78(0x104)](_0x3359be=>_0x3359be[_0x42fa78(0xc2)]);_0xb2d466&&(this[_0x42fa78(0xc4)]<=0x0&&(this[_0x42fa78(0xc4)]=Math['max'](0x0,this['_verticalVelocity']))),_0x6b94a8['y']+=this[_0x42fa78(0xc4)]*_0x1068d2;}let _0x2a4ff2=_0x6b94a8;if(_0x4f0512&&_0x4f0512[_0x42fa78(0xee)]&&_0x6b94a8[_0x42fa78(0x103)]()>0.000001){const _0x1a5b03=_0x15ba7b['clone'](),_0x17894e=_0x6b94a8['length']()+_0xad9768+0.1,_0x7df8b2=_0x1a5b03[_0x42fa78(0xd6)]()['add'](_0x6b94a8[_0x42fa78(0xd6)]()[_0x42fa78(0xc3)]()[_0x42fa78(0xf5)](_0x17894e)),_0x1264f6=_0x4f0512[_0x42fa78(0xee)]['lineTraceMulti'](_0x1a5b03,_0x7df8b2,exports.CollisionChannel[_0x42fa78(0x10e)],_0x48a8d1||undefined),_0x3b5307=_0x1264f6['find'](_0x3174c5=>_0x3174c5['blocking']);if(_0x3b5307&&_0x3b5307[_0x42fa78(0xc2)]){const _0x57a251=_0x3b5307['distance'],_0x4afd75=Math[_0x42fa78(0xd9)](0x0,_0x57a251-_0xad9768-0.001);if(_0x4afd75<_0x6b94a8[_0x42fa78(0xb0)]()){const _0x116bd8=_0x6b94a8[_0x42fa78(0xd6)]()[_0x42fa78(0xc3)](),_0x22bdd6=_0x116bd8[_0x42fa78(0xd6)]()['multiplyScalar'](_0x4afd75),_0x28afbb=_0x6b94a8['clone']()['sub'](_0x22bdd6),_0x3108c6=_0x3b5307[_0x42fa78(0xcb)],_0xa14890=_0x28afbb[_0x42fa78(0xe4)](_0x3108c6);let _0x137041=new webgpu.Vector3();_0xa14890<0x0?_0x137041=_0x28afbb['clone']()[_0x42fa78(0xea)](_0x3108c6[_0x42fa78(0xd6)]()[_0x42fa78(0xf5)](_0xa14890)):_0x137041=_0x28afbb;const _0x194424=_0x137041[_0x42fa78(0xb0)]();if(_0x194424>0.001){const _0x1d5ef6=_0x1a5b03[_0x42fa78(0xd6)]()[_0x42fa78(0x128)](_0x22bdd6),_0x2026bc=_0x194424+_0xad9768+0.1,_0x348a16=_0x1d5ef6[_0x42fa78(0xd6)]()[_0x42fa78(0x128)](_0x137041[_0x42fa78(0xd6)]()[_0x42fa78(0xc3)]()[_0x42fa78(0xf5)](_0x2026bc)),_0x23c656=_0x4f0512['physics'][_0x42fa78(0xf9)](_0x1d5ef6,_0x348a16,exports.CollisionChannel[_0x42fa78(0x10e)],_0x48a8d1||undefined),_0x109f25=_0x23c656['find'](_0x245e15=>_0x245e15['blocking']);if(_0x109f25&&_0x109f25[_0x42fa78(0xc2)]){const _0x5c02be=_0x109f25[_0x42fa78(0x125)],_0x3654d6=Math[_0x42fa78(0xd9)](0x0,_0x5c02be-_0xad9768-0.001);_0x3654d6<_0x194424&&_0x137041[_0x42fa78(0xc3)]()[_0x42fa78(0xf5)](_0x3654d6);}}_0x2a4ff2=_0x22bdd6[_0x42fa78(0x128)](_0x137041);}}}_0x2a4ff2[_0x42fa78(0x103)]()>0x0&&(_0x15ba7b[_0x42fa78(0x128)](_0x2a4ff2),this[_0x42fa78(0xf0)](_0x15ba7b)),this['updateCameraFromPawn']();}[_0x298c16(0xd8)](){const _0x774f41=_0x298c16;if(!this[_0x774f41(0x109)]||!this[_0x774f41(0xba)])return;const _0x320b75=this['getPosition']();_0x320b75['y']+=this[_0x774f41(0xbd)];const _0x9833aa=this[_0x774f41(0x118)](),_0x3ec47d=new webgpu.Quaternion()[_0x774f41(0xd3)](new webgpu.Vector3(0x1,0x0,0x0),this['_pitch']),_0x2e0405=_0x9833aa[_0x774f41(0xd6)]()[_0x774f41(0xcf)](_0x3ec47d),_0x536c8a=new webgpu.Vector3(0x0,0x0,this['camera'][_0x774f41(0x10f)])[_0x774f41(0xfa)](_0x2e0405);_0x320b75[_0x774f41(0x128)](_0x536c8a),this[_0x774f41(0xba)]['position']['copy'](_0x320b75),this[_0x774f41(0xba)][_0x774f41(0xfd)]['copy'](_0x2e0405),this[_0x774f41(0xba)][_0x774f41(0xc6)]();}}
|
|
153
|
+
const _0x1b512b=_0x2b13;(function(_0x52a5ef,_0x4e1d0d){const _0x525931=_0x2b13,_0x5155b7=_0x52a5ef();while(!![]){try{const _0x275013=-parseInt(_0x525931(0x1ab))/0x1*(parseInt(_0x525931(0x189))/0x2)+-parseInt(_0x525931(0x1a6))/0x3*(parseInt(_0x525931(0x17a))/0x4)+parseInt(_0x525931(0x197))/0x5*(-parseInt(_0x525931(0x186))/0x6)+parseInt(_0x525931(0x19e))/0x7*(parseInt(_0x525931(0x1a4))/0x8)+-parseInt(_0x525931(0x188))/0x9*(parseInt(_0x525931(0x183))/0xa)+parseInt(_0x525931(0x18c))/0xb+parseInt(_0x525931(0x187))/0xc;if(_0x275013===_0x4e1d0d)break;else _0x5155b7['push'](_0x5155b7['shift']());}catch(_0x11db32){_0x5155b7['push'](_0x5155b7['shift']());}}}(_0xb4e1,0xa852f));function _0x2b13(_0x504bef,_0x1c94ab){_0x504bef=_0x504bef-0x176;const _0xb4e16f=_0xb4e1();let _0x2b13d9=_0xb4e16f[_0x504bef];return _0x2b13d9;}function _0xb4e1(){const _0x3a1d1d=['445958kbMXIt','_tmpA','lengthSq','clone','opacity','debugOpacity','getWorldScale','sqrt','_halfHeight','position','setCollisionResponse','halfHeight','20BEnpjB','_debugTop','getWorldAABB','dot','radius','getWorldPosition','normal','add','_tmpOA','50CWVnmt','material','CapsuleColliderComponent','6TJJrqm','23243316CFkZOM','774342OyOzvC','4VFDPvR','color','set','11867581wYYQjW','Trigger','distance','Overlap','_debugCylinder','makeSphereHit','copy','max','raycast','sub','_tmpPoint','6278875VVkYuy','needsUpdate','scale','onDebugTick','Pawn','_debugRoot','point','119qONzIO','multiplyScalar','transparent','raycastSphere','debugColor','onDebugStyleChanged','579688jsLLQG','abs','588189GrqKWf','_debugBottom','_radius','_tmpBA','_tmpNormal'];_0xb4e1=function(){return _0x3a1d1d;};return _0xb4e1();}class CapsuleColliderComponent extends ColliderComponent{get[_0x1b512b(0x17e)](){const _0x52f18a=_0x1b512b;return this[_0x52f18a(0x1a8)];}get[_0x1b512b(0x179)](){const _0x95a855=_0x1b512b;return this[_0x95a855(0x176)];}constructor(_0x2f46bb,_0xc1c6b5=0.35,_0xe7bafe=0.5,_0x2f3300){const _0xd8a9a1=_0x1b512b;super(_0x2f46bb,_0x2f3300),this[_0xd8a9a1(0x19c)]=null,this[_0xd8a9a1(0x190)]=null,this['_debugTop']=null,this[_0xd8a9a1(0x1a7)]=null,this[_0xd8a9a1(0x1ac)]=new webgpu.Vector3(),this['_tmpB']=new webgpu.Vector3(),this[_0xd8a9a1(0x1a9)]=new webgpu.Vector3(),this[_0xd8a9a1(0x182)]=new webgpu.Vector3(),this['_tmpPoint']=new webgpu.Vector3(),this[_0xd8a9a1(0x1aa)]=new webgpu.Vector3(),this[_0xd8a9a1(0x1a8)]=Math[_0xd8a9a1(0x193)](0x0,_0xc1c6b5),this[_0xd8a9a1(0x176)]=Math[_0xd8a9a1(0x193)](0x0,_0xe7bafe),this['objectType']=exports.CollisionChannel[_0xd8a9a1(0x19b)],this[_0xd8a9a1(0x178)](exports.CollisionChannel[_0xd8a9a1(0x19b)],exports.CollisionResponse['Ignore']),this[_0xd8a9a1(0x178)](exports.CollisionChannel[_0xd8a9a1(0x18d)],exports.CollisionResponse[_0xd8a9a1(0x18f)]),this['name']=_0xd8a9a1(0x185);}[_0x1b512b(0x17c)](_0x301c51=new webgpu.Box3()){const _0x256264=_0x1b512b,_0x4465f9=this[_0x256264(0x17f)](),_0x126897=this[_0x256264(0x1b1)](),_0x5bf14f=Math[_0x256264(0x1a5)](_0x126897['x'])>1e-8?Math[_0x256264(0x1a5)](_0x126897['x']):0x1,_0x1fd693=Math['abs'](_0x126897['y'])>1e-8?Math['abs'](_0x126897['y']):0x1,_0x1e1c30=Math['abs'](_0x126897['z'])>1e-8?Math[_0x256264(0x1a5)](_0x126897['z']):0x1,_0x3c48c2=this[_0x256264(0x1a8)]*Math[_0x256264(0x193)](_0x5bf14f,_0x1e1c30),_0x210f37=this['_halfHeight']*_0x1fd693,_0x568ea7=new webgpu.Vector3(_0x4465f9['x']-_0x3c48c2,_0x4465f9['y']-_0x210f37-_0x3c48c2,_0x4465f9['z']-_0x3c48c2),_0x1dc20a=new webgpu.Vector3(_0x4465f9['x']+_0x3c48c2,_0x4465f9['y']+_0x210f37+_0x3c48c2,_0x4465f9['z']+_0x3c48c2);return _0x301c51['set'](_0x568ea7,_0x1dc20a),_0x301c51;}[_0x1b512b(0x194)](_0x5c6245,_0x4e4d0a,_0x274d4c){const _0x197ed9=_0x1b512b;if(_0x274d4c<=0.000001)return null;const _0x56fe3c=this[_0x197ed9(0x17f)](),_0x46b747=this[_0x197ed9(0x1b1)](),_0x53451d=Math[_0x197ed9(0x1a5)](_0x46b747['x'])>1e-8?Math[_0x197ed9(0x1a5)](_0x46b747['x']):0x1,_0x856a3a=Math[_0x197ed9(0x1a5)](_0x46b747['y'])>1e-8?Math['abs'](_0x46b747['y']):0x1,_0x174688=Math['abs'](_0x46b747['z'])>1e-8?Math[_0x197ed9(0x1a5)](_0x46b747['z']):0x1,_0xdc5aeb=this['_radius']*Math['max'](_0x53451d,_0x174688),_0x1edb16=this[_0x197ed9(0x176)]*_0x856a3a,_0x521235=this[_0x197ed9(0x1ac)][_0x197ed9(0x192)](_0x56fe3c)[_0x197ed9(0x181)](new webgpu.Vector3(0x0,-_0x1edb16,0x0)),_0x527c51=this['_tmpB']['copy'](_0x56fe3c)[_0x197ed9(0x181)](new webgpu.Vector3(0x0,_0x1edb16,0x0)),_0x5049b6=this[_0x197ed9(0x1a9)][_0x197ed9(0x192)](_0x527c51)['sub'](_0x521235),_0x4484c2=this[_0x197ed9(0x182)][_0x197ed9(0x192)](_0x5c6245)[_0x197ed9(0x195)](_0x521235),_0x150489=_0x5049b6[_0x197ed9(0x17d)](_0x5049b6),_0xfb30e0=_0x5049b6[_0x197ed9(0x17d)](_0x4e4d0a),_0x28c823=_0x5049b6[_0x197ed9(0x17d)](_0x4484c2),_0x496c4e=_0x4e4d0a[_0x197ed9(0x17d)](_0x4484c2),_0x96167d=_0x4484c2[_0x197ed9(0x17d)](_0x4484c2),_0x1dd91c=_0xdc5aeb*_0xdc5aeb,_0x3c48a7=_0x150489-_0xfb30e0*_0xfb30e0,_0x5c12fe=_0x150489*_0x496c4e-_0x28c823*_0xfb30e0,_0x44c504=_0x150489*(_0x96167d-_0x1dd91c)-_0x28c823*_0x28c823;let _0x456ccb=Infinity,_0x592bda=null,_0x26c202=null;const _0xb1e959=1e-10;if(Math[_0x197ed9(0x1a5)](_0x3c48a7)>_0xb1e959){const _0x4e0aca=_0x5c12fe*_0x5c12fe-_0x3c48a7*_0x44c504;if(_0x4e0aca>=0x0){const _0x591ddb=(-_0x5c12fe-Math[_0x197ed9(0x1b2)](_0x4e0aca))/_0x3c48a7,_0x5cf182=_0x28c823+_0x591ddb*_0xfb30e0;if(_0x591ddb>=0x0&&_0x591ddb<=_0x274d4c&&_0x5cf182>0x0&&_0x5cf182<_0x150489){_0x456ccb=_0x591ddb,_0x592bda=this[_0x197ed9(0x196)]['copy'](_0x4e4d0a)[_0x197ed9(0x19f)](_0x591ddb)[_0x197ed9(0x181)](_0x5c6245);const _0x46329a=this[_0x197ed9(0x1aa)][_0x197ed9(0x192)](_0x5049b6)['multiplyScalar'](_0x5cf182/_0x150489)[_0x197ed9(0x181)](_0x521235);_0x26c202=this[_0x197ed9(0x1aa)][_0x197ed9(0x192)](_0x592bda)[_0x197ed9(0x195)](_0x46329a);const _0x1b9341=_0x26c202['lengthSq']();_0x1b9341>1e-12?_0x26c202[_0x197ed9(0x19f)](0x1/Math[_0x197ed9(0x1b2)](_0x1b9341)):_0x26c202[_0x197ed9(0x18b)](0x0,0x1,0x0);}}}const _0x2c240f=this[_0x197ed9(0x1a1)](_0x5c6245,_0x4e4d0a,_0x274d4c,_0x521235,_0xdc5aeb);_0x2c240f&&_0x2c240f['distance']<_0x456ccb&&(_0x456ccb=_0x2c240f[_0x197ed9(0x18e)],_0x592bda=_0x2c240f[_0x197ed9(0x19d)],_0x26c202=_0x2c240f[_0x197ed9(0x180)]);const _0x158406=this[_0x197ed9(0x1a1)](_0x5c6245,_0x4e4d0a,_0x274d4c,_0x527c51,_0xdc5aeb);_0x158406&&_0x158406[_0x197ed9(0x18e)]<_0x456ccb&&(_0x456ccb=_0x158406[_0x197ed9(0x18e)],_0x592bda=_0x158406[_0x197ed9(0x19d)],_0x26c202=_0x158406['normal']);if(!_0x592bda||!_0x26c202||!Number['isFinite'](_0x456ccb))return null;return {'point':_0x592bda[_0x197ed9(0x1ae)](),'normal':_0x26c202[_0x197ed9(0x1ae)](),'distance':_0x456ccb};}[_0x1b512b(0x1a1)](_0x471efd,_0x291a3d,_0x2d9f1a,_0x332cff,_0x5f31ae){const _0x368357=_0x1b512b,_0x485883=_0x471efd[_0x368357(0x1ae)]()[_0x368357(0x195)](_0x332cff),_0x29d76e=_0x485883[_0x368357(0x17d)](_0x291a3d),_0x3887da=_0x485883[_0x368357(0x17d)](_0x485883)-_0x5f31ae*_0x5f31ae,_0x1bcb18=_0x29d76e*_0x29d76e-_0x3887da;if(_0x1bcb18<0x0)return null;const _0x219b8f=Math[_0x368357(0x1b2)](_0x1bcb18),_0x38d217=-_0x29d76e-_0x219b8f;if(_0x38d217<0x0||_0x38d217>_0x2d9f1a){const _0x786342=-_0x29d76e+_0x219b8f;if(_0x786342<0x0||_0x786342>_0x2d9f1a)return null;return this[_0x368357(0x191)](_0x471efd,_0x291a3d,_0x786342,_0x332cff);}return this[_0x368357(0x191)](_0x471efd,_0x291a3d,_0x38d217,_0x332cff);}[_0x1b512b(0x191)](_0x3b4127,_0x305acc,_0xd913b2,_0x45f670){const _0x670033=_0x1b512b,_0x568926=_0x3b4127[_0x670033(0x1ae)]()[_0x670033(0x181)](_0x305acc[_0x670033(0x1ae)]()[_0x670033(0x19f)](_0xd913b2)),_0x1faca8=_0x568926[_0x670033(0x1ae)]()[_0x670033(0x195)](_0x45f670),_0x2f1b87=_0x1faca8[_0x670033(0x1ad)]();return _0x2f1b87>1e-12?_0x1faca8[_0x670033(0x19f)](0x1/Math['sqrt'](_0x2f1b87)):_0x1faca8[_0x670033(0x18b)](0x0,0x1,0x0),{'point':_0x568926,'normal':_0x1faca8,'distance':_0xd913b2};}['createDebugObject'](){const _0x3b932b=_0x1b512b,_0x20ab17=new webgpu.Object3D();_0x20ab17['name']='CapsuleColliderDebug';const _0x43812d=new webgpu.MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x3b932b(0x1b0)]}),_0x3647a9=Math['max'](0.000001,this[_0x3b932b(0x1a8)]),_0x933ce0=Math[_0x3b932b(0x193)](0.000001,this['_halfHeight']*0x2),_0x21a3ff=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x3647a9,_0x3647a9,_0x933ce0,0xc,0x1,!![]),_0x43812d),_0x23d6d0=new webgpu.Mesh(new webgpu.SphereGeometry(_0x3647a9,0xc,0x8),_0x43812d),_0x25a9c3=new webgpu.Mesh(new webgpu.SphereGeometry(_0x3647a9,0xc,0x8),_0x43812d);return _0x23d6d0[_0x3b932b(0x177)][_0x3b932b(0x18b)](0x0,this[_0x3b932b(0x176)],0x0),_0x25a9c3[_0x3b932b(0x177)][_0x3b932b(0x18b)](0x0,-this['_halfHeight'],0x0),_0x20ab17['add'](_0x21a3ff),_0x20ab17[_0x3b932b(0x181)](_0x23d6d0),_0x20ab17[_0x3b932b(0x181)](_0x25a9c3),this[_0x3b932b(0x19c)]=_0x20ab17,this[_0x3b932b(0x190)]=_0x21a3ff,this[_0x3b932b(0x17b)]=_0x23d6d0,this[_0x3b932b(0x1a7)]=_0x25a9c3,this[_0x3b932b(0x19a)](0x0),_0x20ab17;}['destroyDebugObject'](_0x1ae0df){const _0x5e6a70=_0x1b512b;this[_0x5e6a70(0x19c)]=null,this['_debugCylinder']=null,this[_0x5e6a70(0x17b)]=null,this['_debugBottom']=null;}['onDebugTick'](_0x583418){const _0x290a11=_0x1b512b,_0x111a07=this[_0x290a11(0x190)],_0x4fd1a4=this[_0x290a11(0x17b)],_0x2255a8=this[_0x290a11(0x1a7)];if(!_0x111a07||!_0x4fd1a4||!_0x2255a8)return;const _0x2b3bfb=this[_0x290a11(0x1b1)](),_0xeebaa6=Math[_0x290a11(0x1a5)](_0x2b3bfb['x'])>1e-8?_0x2b3bfb['x']:0x1,_0x1f5221=Math['abs'](_0x2b3bfb['y'])>1e-8?_0x2b3bfb['y']:0x1,_0x1325a9=Math['abs'](_0x2b3bfb['z'])>1e-8?_0x2b3bfb['z']:0x1,_0x11d10b=Math[_0x290a11(0x193)](0.000001,this[_0x290a11(0x1a8)])*Math[_0x290a11(0x193)](Math[_0x290a11(0x1a5)](_0xeebaa6),Math['abs'](_0x1325a9)),_0x23cc80=Math[_0x290a11(0x193)](0x0,this[_0x290a11(0x176)])*Math[_0x290a11(0x1a5)](_0x1f5221);_0x111a07[_0x290a11(0x199)][_0x290a11(0x18b)](_0x11d10b/_0xeebaa6,_0x23cc80*0x2/_0x1f5221,_0x11d10b/_0x1325a9),_0x4fd1a4[_0x290a11(0x199)][_0x290a11(0x18b)](_0x11d10b/_0xeebaa6,_0x11d10b/_0x1f5221,_0x11d10b/_0x1325a9),_0x2255a8[_0x290a11(0x199)][_0x290a11(0x18b)](_0x11d10b/_0xeebaa6,_0x11d10b/_0x1f5221,_0x11d10b/_0x1325a9),_0x4fd1a4[_0x290a11(0x177)][_0x290a11(0x18b)](0x0,_0x23cc80/_0x1f5221,0x0),_0x2255a8[_0x290a11(0x177)]['set'](0x0,-_0x23cc80/_0x1f5221,0x0);}[_0x1b512b(0x1a3)](){const _0x4f32e5=_0x1b512b,_0x1a9482=this[_0x4f32e5(0x19c)];if(!_0x1a9482)return;_0x1a9482['traverse'](_0x4fa18a=>{const _0x503458=_0x4f32e5,_0x65e640=_0x4fa18a,_0x30f0d8=_0x65e640[_0x503458(0x184)];if(!_0x30f0d8)return;_0x30f0d8[_0x503458(0x18a)]['setHex'](this[_0x503458(0x1a2)]),_0x30f0d8[_0x503458(0x1af)]=this[_0x503458(0x1b0)],_0x30f0d8[_0x503458(0x1a0)]=this[_0x503458(0x1b0)]<0x1,_0x30f0d8[_0x503458(0x198)]=!![];});}}
|
|
151
154
|
|
|
152
|
-
const _0x18fb2d=_0x2a66;function _0x21ea(){const _0x12c335=['order','tick','rotation','5507360TOwrXE','copy','23298QWYdoo','threeObject','camera','2AMFpZO','constructRootComponent','viewport','57852RrXgMG','897795VMNzNQ','rootComponent','lookSpeed','YXZ','368ejuCsn','getTargetCameraState','updateCameraFromPawn','enabled','1895113EwvwVc','12SObrPc','getPosition','exitPointerLock','103883fcLeOI','4UXRYoM','1601698sCyzBa','possess','canvas','app','position','moveSpeed','eyeHeight','unpossess'];_0x21ea=function(){return _0x12c335;};return _0x21ea();}(function(_0x514a2a,_0x5c8f83){const _0x2f51bb=_0x2a66,_0x59d0f0=_0x514a2a();while(!![]){try{const _0x11ad2b=-parseInt(_0x2f51bb(0xbf))/0x1+-parseInt(_0x2f51bb(0xaf))/0x2*(parseInt(_0x2f51bb(0xce))/0x3)+-parseInt(_0x2f51bb(0xc0))/0x4*(-parseInt(_0x2f51bb(0xb3))/0x5)+-parseInt(_0x2f51bb(0xbc))/0x6*(parseInt(_0x2f51bb(0xc1))/0x7)+-parseInt(_0x2f51bb(0xb7))/0x8*(-parseInt(_0x2f51bb(0xb2))/0x9)+parseInt(_0x2f51bb(0xcc))/0xa+-parseInt(_0x2f51bb(0xbb))/0xb;if(_0x11ad2b===_0x5c8f83)break;else _0x59d0f0['push'](_0x59d0f0['shift']());}catch(_0x21066e){_0x59d0f0['push'](_0x59d0f0['shift']());}}}(_0x21ea,0x45707));function _0x2a66(_0xc93ae8,_0x11a4da){_0xc93ae8=_0xc93ae8-0xae;const _0x21ea41=_0x21ea();let _0x2a66a6=_0x21ea41[_0xc93ae8];return _0x2a66a6;}class Spectator extends Pawn{constructor(_0x42ffeb){const _0x1b0776=_0x2a66;super(_0x42ffeb),this[_0x1b0776(0xc6)]=0xa,this[_0x1b0776(0xb5)]=0.002,this[_0x1b0776(0xc7)]=0.7;}[_0x18fb2d(0xb0)](){return new SceneComponent(this['app']);}[_0x18fb2d(0xc2)](){const _0x10f3d0=_0x18fb2d;super['possess'](),this[_0x10f3d0(0xb4)]&&this[_0x10f3d0(0xb4)][_0x10f3d0(0xcf)]&&(this[_0x10f3d0(0xb4)][_0x10f3d0(0xcf)][_0x10f3d0(0xcb)][_0x10f3d0(0xc9)]=_0x10f3d0(0xb6)),this[_0x10f3d0(0xb9)]();}['unpossess'](){const _0x2d9ea5=_0x18fb2d;super[_0x2d9ea5(0xc8)](),document['pointerLockElement']===this[_0x2d9ea5(0xc4)][_0x2d9ea5(0xb1)][_0x2d9ea5(0xc3)]&&document[_0x2d9ea5(0xbe)]();}[_0x18fb2d(0xb8)](){const _0x103c3d=_0x18fb2d,_0x3bea41=this[_0x103c3d(0xbd)]();return _0x3bea41['y']+=this[_0x103c3d(0xc7)],{'position':_0x3bea41,'quaternion':this['getQuaternion']()['clone']()};}[_0x18fb2d(0xca)](_0x530e80){const _0x55ab29=_0x18fb2d;if(!this[_0x55ab29(0xba)])return;this[_0x55ab29(0xb9)]();}[_0x18fb2d(0xb9)](){const _0x368e2f=_0x18fb2d;if(!this[_0x368e2f(0xba)]||!this[_0x368e2f(0xae)])return;const _0x23cff9=this[_0x368e2f(0xbd)]();_0x23cff9['y']+=this['eyeHeight'],this[_0x368e2f(0xae)][_0x368e2f(0xc5)][_0x368e2f(0xcd)](_0x23cff9),this['camera'][_0x368e2f(0xcb)][_0x368e2f(0xcd)](this['getRotation']());}}
|
|
155
|
+
const _0x9bcea9=_0x534e;(function(_0x5787ee,_0x4eca50){const _0x2d4fab=_0x534e,_0x26e788=_0x5787ee();while(!![]){try{const _0x4495a1=parseInt(_0x2d4fab(0x16a))/0x1*(parseInt(_0x2d4fab(0x1df))/0x2)+parseInt(_0x2d4fab(0x1ac))/0x3+parseInt(_0x2d4fab(0x1be))/0x4*(parseInt(_0x2d4fab(0x1e9))/0x5)+parseInt(_0x2d4fab(0x1bb))/0x6*(-parseInt(_0x2d4fab(0x1f6))/0x7)+-parseInt(_0x2d4fab(0x197))/0x8*(parseInt(_0x2d4fab(0x171))/0x9)+parseInt(_0x2d4fab(0x1c7))/0xa*(parseInt(_0x2d4fab(0x1e1))/0xb)+parseInt(_0x2d4fab(0x1ee))/0xc*(-parseInt(_0x2d4fab(0x1e8))/0xd);if(_0x4495a1===_0x4eca50)break;else _0x26e788['push'](_0x26e788['shift']());}catch(_0x1b885d){_0x26e788['push'](_0x26e788['shift']());}}}(_0x1762,0x98ff2));function _0x534e(_0x576a54,_0xac329c){_0x576a54=_0x576a54-0x16a;const _0x176295=_0x1762();let _0x534e92=_0x176295[_0x576a54];return _0x534e92;}function _0x1762(){const _0x3858e6=['enabled','_moveRight','21JpoGgh','1MfmQdk','onContextMenu','add','onKeyUp','button','point','dataset','9atRdIl','normal','copy','_moveForward','onRawClickDelegate','gravity','rootComponent','onKeyUpDelegate','setFromAxisAngle','onMouseUp','atan2','camera','setFromCamera','dot','KeyW','lineTraceMulti','inputFilter','normalize','onMouseDown','viewport','app','onPointerMoveDelegate','_targetPos','halfHeight','pointerLockElement','onClick','ArrowDown','syncRotation','setRotation','getQuaternion','radius','KeyA','movementY','buttons','onContextMenuDelegate','lookSpeed','ShiftRight','length','4194264stwIGZ','_moveUp','possess','eyeHeight','sub','threeObject','_pitch','ArrowLeft','height','_verticalVelocity','applyQuaternion','updateCameraFromPawn','quaternion','dispose','setQuaternion','controller','Ignore','KeyS','Space','getPosition','distance','2580183TtyOfN','setPosition','physics','left','outer','onPointerUpDelegate','setCameraDraggingState','setFromEuler','onWindowBlurDelegate','_moveDown','ArrowUp','exitPointerLock','moveSpeed','visible','KeyD','2130768irWLKp','ArrowRight','onKeyDownDelegate','1196VqpUoB','top','lengthSq','preventDefault','multiplyScalar','includes','constructRootComponent','onMouseMove','ray','112070yXbZsc','movementX','position','blocking','near','lineTraceSingle','lyCameraDragging','YXZ','unpossess','max','invert','rotation','code','order','clamp','onPointerLockChangeDelegate','requestPointerLock','isClickEnabled','_isRightDragging','_moveLeft','width','parentActor','onKeyDown','clone','909650BIRNMN','_clickMarker','242TUoOwC','_moveBackward','remove','onBlur','Pawn','material','multiply','2197jnLloM','17915VubmqH','enableGravity','canvas','_yaw','collider','29568AzssiR','direction','onPointerLockChange','find','parent','world'];_0x1762=function(){return _0x3858e6;};return _0x1762();}class FirstPerson extends Pawn{constructor(_0x20035e){const _0x4380de=_0x534e;super(_0x20035e),this[_0x4380de(0x1b8)]=0xa,this[_0x4380de(0x194)]=0.002,this['enableGravity']=!![],this[_0x4380de(0x176)]=0x1e,this[_0x4380de(0x19a)]=0.7,this[_0x4380de(0x1a0)]=0x0,this[_0x4380de(0x1ec)]=0x0,this[_0x4380de(0x19d)]=0x0,this[_0x4380de(0x187)]=null,this[_0x4380de(0x1e0)]=null,this['_moveForward']=![],this[_0x4380de(0x1e2)]=![],this['_moveLeft']=![],this[_0x4380de(0x1f5)]=![],this['_moveUp']=![],this[_0x4380de(0x1b5)]=![],this[_0x4380de(0x1d9)]=![],this[_0x4380de(0x16b)]=_0x53d12c=>{const _0x482e01=_0x4380de;if(!Pawn[_0x482e01(0x181)]())return;_0x53d12c[_0x482e01(0x1c1)]();},this['onBlur']=()=>{const _0x2fae40=_0x4380de;this[_0x2fae40(0x174)]=![],this[_0x2fae40(0x1e2)]=![],this['_moveLeft']=![],this[_0x2fae40(0x1f5)]=![],this[_0x2fae40(0x198)]=![],this[_0x2fae40(0x1b5)]=![],this['_isRightDragging']=![],this[_0x2fae40(0x1b2)](![]);},this[_0x4380de(0x183)]=_0x18386d=>{const _0xc4e028=_0x4380de;if(!this[_0xc4e028(0x1f4)]||!Pawn[_0xc4e028(0x181)]())return;if(_0x18386d[_0xc4e028(0x16e)]!==0x2)return;this['_isRightDragging']=!![],this[_0xc4e028(0x1b2)](!![]);const _0x434144=this[_0xc4e028(0x185)]['viewport'][_0xc4e028(0x1eb)];_0x434144&&document['pointerLockElement']!==_0x434144&&_0x434144[_0xc4e028(0x1d7)]();},this['onMouseUp']=_0x74924a=>{const _0x210b9f=_0x4380de;if(_0x74924a[_0x210b9f(0x16e)]!==0x2)return;this[_0x210b9f(0x1d9)]=![],this[_0x210b9f(0x1b2)](![]),document[_0x210b9f(0x189)]===this[_0x210b9f(0x185)][_0x210b9f(0x184)][_0x210b9f(0x1eb)]&&document[_0x210b9f(0x1b7)]();},this[_0x4380de(0x18a)]=_0x19dfc7=>{const _0x2441e5=_0x4380de;if(!this[_0x2441e5(0x1f4)]||!Pawn[_0x2441e5(0x181)]())return;if(_0x19dfc7[_0x2441e5(0x16e)]!==0x0)return;const _0x1e57ed=this[_0x2441e5(0x185)][_0x2441e5(0x184)][_0x2441e5(0x1eb)];if(!_0x1e57ed||!this[_0x2441e5(0x17c)])return;const _0x3a9c46=_0x1e57ed['getBoundingClientRect'](),_0x3b0e6c=new webgpu.Vector2((_0x19dfc7['clientX']-_0x3a9c46[_0x2441e5(0x1af)])/_0x3a9c46[_0x2441e5(0x1db)]*0x2-0x1,-((_0x19dfc7['clientY']-_0x3a9c46[_0x2441e5(0x1bf)])/_0x3a9c46[_0x2441e5(0x19f)])*0x2+0x1),_0x6ba056=new webgpu.Raycaster();_0x6ba056[_0x2441e5(0x17d)](_0x3b0e6c,this[_0x2441e5(0x17c)]);const _0x2b9d8d=_0x6ba056[_0x2441e5(0x1c6)]['origin'][_0x2441e5(0x1de)](),_0x1d84d8=_0x2b9d8d[_0x2441e5(0x1de)]()[_0x2441e5(0x16c)](_0x6ba056[_0x2441e5(0x1c6)][_0x2441e5(0x1ef)][_0x2441e5(0x1de)]()[_0x2441e5(0x1c2)](0x3e8)),_0x34886f=this[_0x2441e5(0x177)]instanceof CapsuleColliderComponent?this[_0x2441e5(0x177)]:undefined,_0x45ea39=this[_0x2441e5(0x185)][_0x2441e5(0x1f3)][_0x2441e5(0x1ae)]['lineTraceMulti'](_0x2b9d8d,_0x1d84d8,exports.CollisionChannel[_0x2441e5(0x1e5)],_0x34886f);let _0x44330b=null;for(const _0x530a52 of _0x45ea39){if(!_0x530a52[_0x2441e5(0x1ca)])continue;if(this[_0x2441e5(0x17c)]instanceof webgpu.PerspectiveCamera){if(_0x530a52[_0x2441e5(0x1ab)]<this['camera']['near']*1.5)continue;}const _0x468eff=_0x530a52[_0x2441e5(0x1ed)],_0x5b1e34=_0x468eff&&(_0x468eff[_0x2441e5(0x1d8)]||_0x468eff[_0x2441e5(0x1dc)]&&_0x468eff[_0x2441e5(0x1dc)][_0x2441e5(0x1d8)]),_0x7036c3=_0x530a52[_0x2441e5(0x172)]['y']>0.5;if(!_0x7036c3&&!_0x5b1e34){let _0x2c5722=0.5;this['camera']instanceof webgpu.PerspectiveCamera&&(_0x2c5722=this[_0x2441e5(0x17c)]['near']*0x2);if(_0x530a52[_0x2441e5(0x1ab)]>_0x2c5722)break;continue;}_0x44330b=_0x530a52;break;}if(_0x44330b){const _0x3b772b=_0x44330b['collider'];if(_0x3b772b){if(_0x3b772b['isClickEnabled'])return;if(_0x3b772b[_0x2441e5(0x1dc)]&&_0x3b772b[_0x2441e5(0x1dc)]['isClickEnabled'])return;}_0x44330b[_0x2441e5(0x172)]['y']>0.5&&(this[_0x2441e5(0x187)]=_0x44330b[_0x2441e5(0x16f)][_0x2441e5(0x1de)](),this[_0x2441e5(0x1e0)]&&(this['_clickMarker']['position'][_0x2441e5(0x173)](this[_0x2441e5(0x187)]),this[_0x2441e5(0x1e0)]['visible']=!![]));}},this[_0x4380de(0x1f0)]=()=>{},this[_0x4380de(0x1c5)]=_0x1ba848=>{const _0x16f001=_0x4380de,_0x39f775=(_0x1ba848[_0x16f001(0x192)]&0x2)===0x2;if(_0x39f775&&!this[_0x16f001(0x1d9)])this[_0x16f001(0x1d9)]=!![],this[_0x16f001(0x1b2)](!![]);else !_0x39f775&&this[_0x16f001(0x1d9)]&&(this['_isRightDragging']=![],this['setCameraDraggingState'](![]));if(document[_0x16f001(0x189)]!==this['app']['viewport'][_0x16f001(0x1eb)]&&!_0x39f775)return;if(!this[_0x16f001(0x1f4)]||!Pawn['inputFilter']())return;const _0x591632=_0x1ba848[_0x16f001(0x1c8)]||0x0,_0x483cba=_0x1ba848[_0x16f001(0x191)]||0x0;this[_0x16f001(0x18c)](),this[_0x16f001(0x1ec)]-=_0x591632*this[_0x16f001(0x194)],this['_pitch']-=_0x483cba*this[_0x16f001(0x194)];const _0xf2337c=Math['PI']/0x2;this[_0x16f001(0x19d)]=webgpu.MathUtils[_0x16f001(0x1d5)](this[_0x16f001(0x19d)],-_0xf2337c+0.001,_0xf2337c-0.001);const _0x2500b5=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x0,0x1,0x0),this[_0x16f001(0x1ec)]);super['setQuaternion'](_0x2500b5),this[_0x16f001(0x1a2)]();},this[_0x4380de(0x1dd)]=_0x2288af=>{const _0x15ccd8=_0x4380de;if(!Pawn[_0x15ccd8(0x181)]())return;if([_0x15ccd8(0x1b6),'KeyW',_0x15ccd8(0x19e),_0x15ccd8(0x190),_0x15ccd8(0x18b),_0x15ccd8(0x1a8),_0x15ccd8(0x1bc),_0x15ccd8(0x1ba)][_0x15ccd8(0x1c3)](_0x2288af[_0x15ccd8(0x1d3)])){this[_0x15ccd8(0x187)]=null;if(this['_clickMarker'])this[_0x15ccd8(0x1e0)]['visible']=![];}switch(_0x2288af[_0x15ccd8(0x1d3)]){case _0x15ccd8(0x1b6):case 'KeyW':this[_0x15ccd8(0x174)]=!![];break;case _0x15ccd8(0x19e):case _0x15ccd8(0x190):this[_0x15ccd8(0x1da)]=!![];break;case _0x15ccd8(0x18b):case _0x15ccd8(0x1a8):this[_0x15ccd8(0x1e2)]=!![];break;case _0x15ccd8(0x1bc):case _0x15ccd8(0x1ba):this[_0x15ccd8(0x1f5)]=!![];break;case _0x15ccd8(0x1a9):!this[_0x15ccd8(0x1ea)]&&(this['_moveUp']=!![]);break;case 'ShiftLeft':case _0x15ccd8(0x195):this[_0x15ccd8(0x1b5)]=!![];break;}},this[_0x4380de(0x16d)]=_0xc2ff6b=>{const _0xa70bf0=_0x4380de;switch(_0xc2ff6b[_0xa70bf0(0x1d3)]){case _0xa70bf0(0x1b6):case _0xa70bf0(0x17f):this[_0xa70bf0(0x174)]=![];break;case 'ArrowLeft':case 'KeyA':this['_moveLeft']=![];break;case 'ArrowDown':case 'KeyS':this[_0xa70bf0(0x1e2)]=![];break;case _0xa70bf0(0x1bc):case _0xa70bf0(0x1ba):this[_0xa70bf0(0x1f5)]=![];break;case _0xa70bf0(0x1a9):this[_0xa70bf0(0x198)]=![];break;case 'ShiftLeft':case 'ShiftRight':this['_moveDown']=![];break;}};}[_0x9bcea9(0x1c4)](){const _0x44c76e=_0x9bcea9,_0x53fbc3=new CapsuleColliderComponent(this[_0x44c76e(0x185)],0.35,0.55);return _0x53fbc3['objectType']=exports.CollisionChannel[_0x44c76e(0x1e5)],_0x53fbc3['setCollisionResponse'](exports.CollisionChannel['Visibility'],exports.CollisionResponse[_0x44c76e(0x1a7)]),_0x53fbc3;}['landToGround'](){const _0x18d102=_0x9bcea9,_0x4df1dc=this['getPosition'](),_0x5c82d4=_0x4df1dc[_0x18d102(0x1de)]()['add'](new webgpu.Vector3(0x0,-1e3,0x0)),_0x5dad9d=this[_0x18d102(0x177)],_0x3a6093=this['app'][_0x18d102(0x1f3)][_0x18d102(0x1ae)][_0x18d102(0x1cc)](_0x4df1dc,_0x5c82d4,exports.CollisionChannel['Pawn'],_0x5dad9d);if(_0x3a6093&&_0x3a6093['blocking']){const _0x114a70=_0x5dad9d[_0x18d102(0x188)]+_0x5dad9d[_0x18d102(0x18f)],_0xd448c2=_0x3a6093[_0x18d102(0x16f)]['y']+_0x114a70;this[_0x18d102(0x1ad)](_0x4df1dc['x'],_0xd448c2,_0x4df1dc['z']),this[_0x18d102(0x1a0)]=0x0;}}['syncRotation'](){const _0x112d39=_0x9bcea9,_0x4d482e=this[_0x112d39(0x18e)](),_0x3d36d4=new webgpu.Vector3(0x0,0x0,-1)[_0x112d39(0x1a1)](_0x4d482e);this[_0x112d39(0x1ec)]=Math[_0x112d39(0x17b)](-_0x3d36d4['x'],-_0x3d36d4['z']);}[_0x9bcea9(0x18d)](..._0x3490fb){const _0x3178d5=_0x9bcea9,_0x51e993=new webgpu.Quaternion();_0x3490fb[_0x3178d5(0x196)]===0x1?_0x51e993[_0x3178d5(0x1b3)](_0x3490fb[0x0]):_0x51e993[_0x3178d5(0x1b3)](new webgpu.Euler(_0x3490fb[0x0],_0x3490fb[0x1],_0x3490fb[0x2],_0x3178d5(0x1ce))),this[_0x3178d5(0x1a5)](_0x51e993);}[_0x9bcea9(0x1a5)](..._0x398b65){const _0x42a348=_0x9bcea9;let _0x6f5dd4;_0x398b65['length']===0x1?_0x6f5dd4=_0x398b65[0x0]:_0x6f5dd4=new webgpu.Quaternion(_0x398b65[0x0],_0x398b65[0x1],_0x398b65[0x2],_0x398b65[0x3]);const _0x2b6e83=new webgpu.Vector3(0x0,0x0,-1)[_0x42a348(0x1a1)](_0x6f5dd4);let _0x2b78f4=Math['asin'](webgpu.MathUtils[_0x42a348(0x1d5)](_0x2b6e83['y'],-1,0x1));const _0x27405f=Math['PI']/0x2;_0x2b78f4=webgpu.MathUtils['clamp'](_0x2b78f4,-_0x27405f+0.001,_0x27405f-0.001);const _0x44c248=Math[_0x42a348(0x17b)](-_0x2b6e83['x'],-_0x2b6e83['z']);this['_pitch']=_0x2b78f4,this['_yaw']=_0x44c248;const _0x57d4d1=new webgpu.Quaternion()[_0x42a348(0x179)](new webgpu.Vector3(0x0,0x1,0x0),this['_yaw']);super['setQuaternion'](_0x57d4d1),this[_0x42a348(0x1f4)]&&this[_0x42a348(0x1a2)]();}['possess'](){const _0x32e98b=_0x9bcea9;super[_0x32e98b(0x199)]();const _0x3e4444=this['app'][_0x32e98b(0x1a6)];_0x3e4444&&(_0x3e4444[_0x32e98b(0x175)][_0x32e98b(0x16c)](this[_0x32e98b(0x18a)]),_0x3e4444[_0x32e98b(0x193)][_0x32e98b(0x16c)](this[_0x32e98b(0x16b)]),_0x3e4444[_0x32e98b(0x1d6)][_0x32e98b(0x16c)](this[_0x32e98b(0x1f0)]),_0x3e4444[_0x32e98b(0x1bd)]['add'](this[_0x32e98b(0x1dd)]),_0x3e4444[_0x32e98b(0x178)][_0x32e98b(0x16c)](this[_0x32e98b(0x16d)]),_0x3e4444[_0x32e98b(0x186)]['add'](this[_0x32e98b(0x1c5)]),_0x3e4444['onPointerDownDelegate'][_0x32e98b(0x16c)](this[_0x32e98b(0x183)]),_0x3e4444[_0x32e98b(0x1b1)][_0x32e98b(0x16c)](this[_0x32e98b(0x17a)]),_0x3e4444[_0x32e98b(0x1b4)][_0x32e98b(0x16c)](this['onBlur'])),this[_0x32e98b(0x177)]&&this['rootComponent'][_0x32e98b(0x19c)]&&(this['rootComponent']['threeObject'][_0x32e98b(0x1d2)][_0x32e98b(0x1d4)]=_0x32e98b(0x1ce)),this[_0x32e98b(0x18c)](),this[_0x32e98b(0x1a2)]();}[_0x9bcea9(0x1cf)](){const _0x17acf2=_0x9bcea9;var _0x16233d;super['unpossess']();const _0x4e0b90=this[_0x17acf2(0x185)][_0x17acf2(0x1a6)];_0x4e0b90&&(_0x4e0b90[_0x17acf2(0x175)][_0x17acf2(0x1e3)](this[_0x17acf2(0x18a)]),_0x4e0b90['onContextMenuDelegate'][_0x17acf2(0x1e3)](this[_0x17acf2(0x16b)]),_0x4e0b90[_0x17acf2(0x1d6)][_0x17acf2(0x1e3)](this[_0x17acf2(0x1f0)]),_0x4e0b90[_0x17acf2(0x1bd)][_0x17acf2(0x1e3)](this[_0x17acf2(0x1dd)]),_0x4e0b90[_0x17acf2(0x178)][_0x17acf2(0x1e3)](this[_0x17acf2(0x16d)]),_0x4e0b90['onPointerMoveDelegate'][_0x17acf2(0x1e3)](this[_0x17acf2(0x1c5)]),_0x4e0b90['onPointerDownDelegate']['remove'](this[_0x17acf2(0x183)]),_0x4e0b90[_0x17acf2(0x1b1)]['remove'](this['onMouseUp']),_0x4e0b90[_0x17acf2(0x1b4)]['remove'](this[_0x17acf2(0x1e4)])),this['_isRightDragging']=![],this[_0x17acf2(0x1b2)](![]),this[_0x17acf2(0x1e0)]&&((_0x16233d=this['_clickMarker'][_0x17acf2(0x1f2)])===null||_0x16233d===void 0?void 0:_0x16233d[_0x17acf2(0x1e3)](this[_0x17acf2(0x1e0)]),this['_clickMarker']['geometry'][_0x17acf2(0x1a4)](),this['_clickMarker'][_0x17acf2(0x1e6)][_0x17acf2(0x1a4)](),this[_0x17acf2(0x1e0)]=null),document[_0x17acf2(0x189)]===this['app'][_0x17acf2(0x184)]['canvas']&&document[_0x17acf2(0x1b7)]();}['getTargetCameraState'](){const _0x11be33=_0x9bcea9,_0x1a4aec=this[_0x11be33(0x1aa)]();_0x1a4aec['y']+=this[_0x11be33(0x19a)];const _0x48b6d=this[_0x11be33(0x17c)]||this[_0x11be33(0x185)][_0x11be33(0x17c)],_0x4e04bb=this[_0x11be33(0x18e)](),_0x1aef5d=new webgpu.Quaternion()[_0x11be33(0x179)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x11be33(0x19d)]),_0x293e61=_0x4e04bb[_0x11be33(0x1de)]()['multiply'](_0x1aef5d);if(_0x48b6d){const _0x33a64f=new webgpu.Vector3(0x0,0x0,_0x48b6d[_0x11be33(0x1cb)])['applyQuaternion'](_0x293e61);_0x1a4aec['add'](_0x33a64f);}return {'position':_0x1a4aec,'quaternion':_0x293e61};}[_0x9bcea9(0x1b2)](_0x5a4aea){const _0x3f18ed=_0x9bcea9,_0x341484=this[_0x3f18ed(0x185)][_0x3f18ed(0x184)][_0x3f18ed(0x1b0)];if(!_0x341484)return;_0x5a4aea?_0x341484[_0x3f18ed(0x170)][_0x3f18ed(0x1cd)]='1':delete _0x341484[_0x3f18ed(0x170)][_0x3f18ed(0x1cd)];}['tick'](_0x3d5fb4){const _0xb07a45=_0x9bcea9;if(!this[_0xb07a45(0x1f4)])return;const _0x3503bb=this['moveSpeed']*_0x3d5fb4,_0x172e44=new webgpu.Vector3();if(this[_0xb07a45(0x174)])_0x172e44['z']-=0x1;if(this[_0xb07a45(0x1e2)])_0x172e44['z']+=0x1;if(this['_moveLeft'])_0x172e44['x']-=0x1;if(this[_0xb07a45(0x1f5)])_0x172e44['x']+=0x1;if(this[_0xb07a45(0x187)]&&_0x172e44[_0xb07a45(0x1c0)]()===0x0){const _0x97a364=this['getPosition'](),_0x241b55=this[_0xb07a45(0x187)][_0xb07a45(0x1de)]();this[_0xb07a45(0x1ea)]&&(_0x241b55['y']=_0x97a364['y']);const _0xff1e04=_0x241b55[_0xb07a45(0x19b)](_0x97a364),_0x4a4d44=_0xff1e04[_0xb07a45(0x196)]();if(_0x4a4d44>0.1){_0xff1e04['normalize']();if(this[_0xb07a45(0x1ea)]){const _0xef92f8=this[_0xb07a45(0x18e)]()[_0xb07a45(0x1d1)](),_0x41cbd0=_0xff1e04[_0xb07a45(0x1de)]()[_0xb07a45(0x1a1)](_0xef92f8);_0x172e44[_0xb07a45(0x173)](_0x41cbd0);}else _0x172e44[_0xb07a45(0x173)](_0xff1e04);}else {this[_0xb07a45(0x187)]=null;if(this[_0xb07a45(0x1e0)])this['_clickMarker'][_0xb07a45(0x1b9)]=![];}}if(!this['enableGravity']){if(this[_0xb07a45(0x198)])_0x172e44['y']+=0x1;if(this[_0xb07a45(0x1b5)])_0x172e44['y']-=0x1;}let _0xc22bfc=new webgpu.Vector3();if(_0x172e44[_0xb07a45(0x1c0)]()>0x0){_0x172e44['normalize']()[_0xb07a45(0x1c2)](_0x3503bb);const _0x35c11a=this[_0xb07a45(0x18e)]();_0xc22bfc=_0x172e44[_0xb07a45(0x1a1)](_0x35c11a),this[_0xb07a45(0x1ea)]&&(_0xc22bfc['y']=0x0,_0xc22bfc[_0xb07a45(0x1c0)]()>0x0&&_0xc22bfc[_0xb07a45(0x182)]()[_0xb07a45(0x1c2)](_0x3503bb));}const _0x2eec94=this['app'][_0xb07a45(0x1f3)],_0x58d767=this[_0xb07a45(0x1aa)](),_0x26915f=this[_0xb07a45(0x177)]instanceof CapsuleColliderComponent?this['rootComponent']:null,_0xde9d21=_0x26915f?_0x26915f[_0xb07a45(0x18f)]:0.35,_0x30f444=_0x26915f?_0x26915f[_0xb07a45(0x188)]:0.9;if(this['enableGravity']){this[_0xb07a45(0x1a0)]-=this[_0xb07a45(0x176)]*_0x3d5fb4;const _0x411ccd=_0x58d767[_0xb07a45(0x1de)](),_0xb7182e=_0x30f444+_0xde9d21+0.1,_0x1f383d=_0x2eec94[_0xb07a45(0x1ae)][_0xb07a45(0x180)](_0x411ccd,_0x411ccd['clone']()[_0xb07a45(0x16c)](new webgpu.Vector3(0x0,-_0xb7182e,0x0)),exports.CollisionChannel['Pawn'],_0x26915f||undefined),_0x4870d4=_0x1f383d[_0xb07a45(0x1f1)](_0x271ec8=>_0x271ec8['blocking']);_0x4870d4&&(this[_0xb07a45(0x1a0)]<=0x0&&(this[_0xb07a45(0x1a0)]=Math[_0xb07a45(0x1d0)](0x0,this['_verticalVelocity']))),_0xc22bfc['y']+=this[_0xb07a45(0x1a0)]*_0x3d5fb4;}let _0x30c768=_0xc22bfc;if(_0x2eec94&&_0x2eec94[_0xb07a45(0x1ae)]&&_0xc22bfc[_0xb07a45(0x1c0)]()>0.000001){const _0x4b4340=_0x58d767['clone'](),_0x5d80db=_0xc22bfc[_0xb07a45(0x196)]()+_0xde9d21+0.1,_0x42e7eb=_0x4b4340[_0xb07a45(0x1de)]()['add'](_0xc22bfc['clone']()[_0xb07a45(0x182)]()[_0xb07a45(0x1c2)](_0x5d80db)),_0x3cafce=_0x2eec94[_0xb07a45(0x1ae)][_0xb07a45(0x180)](_0x4b4340,_0x42e7eb,exports.CollisionChannel['Pawn'],_0x26915f||undefined),_0x69e7c5=_0x3cafce[_0xb07a45(0x1f1)](_0x22fe18=>_0x22fe18[_0xb07a45(0x1ca)]);if(_0x69e7c5&&_0x69e7c5['blocking']){const _0x14bced=_0x69e7c5[_0xb07a45(0x1ab)],_0x289fc9=Math['max'](0x0,_0x14bced-_0xde9d21-0.001);if(_0x289fc9<_0xc22bfc['length']()){const _0x3ea8b6=_0xc22bfc[_0xb07a45(0x1de)]()[_0xb07a45(0x182)](),_0x4ef749=_0x3ea8b6[_0xb07a45(0x1de)]()[_0xb07a45(0x1c2)](_0x289fc9),_0x58ea38=_0xc22bfc[_0xb07a45(0x1de)]()[_0xb07a45(0x19b)](_0x4ef749),_0x3b774d=_0x69e7c5['normal'],_0x1373c6=_0x58ea38[_0xb07a45(0x17e)](_0x3b774d);let _0x24353a=new webgpu.Vector3();_0x1373c6<0x0?_0x24353a=_0x58ea38[_0xb07a45(0x1de)]()[_0xb07a45(0x19b)](_0x3b774d['clone']()[_0xb07a45(0x1c2)](_0x1373c6)):_0x24353a=_0x58ea38;const _0x464c72=_0x24353a['length']();if(_0x464c72>0.001){const _0x3f30db=_0x4b4340[_0xb07a45(0x1de)]()[_0xb07a45(0x16c)](_0x4ef749),_0x633cd9=_0x464c72+_0xde9d21+0.1,_0x21729d=_0x3f30db[_0xb07a45(0x1de)]()['add'](_0x24353a[_0xb07a45(0x1de)]()['normalize']()[_0xb07a45(0x1c2)](_0x633cd9)),_0xf456f1=_0x2eec94[_0xb07a45(0x1ae)][_0xb07a45(0x180)](_0x3f30db,_0x21729d,exports.CollisionChannel[_0xb07a45(0x1e5)],_0x26915f||undefined),_0x38ed48=_0xf456f1['find'](_0x53fe1e=>_0x53fe1e[_0xb07a45(0x1ca)]);if(_0x38ed48&&_0x38ed48[_0xb07a45(0x1ca)]){const _0xeb96d0=_0x38ed48['distance'],_0x29d528=Math['max'](0x0,_0xeb96d0-_0xde9d21-0.001);_0x29d528<_0x464c72&&_0x24353a[_0xb07a45(0x182)]()[_0xb07a45(0x1c2)](_0x29d528);}}_0x30c768=_0x4ef749[_0xb07a45(0x16c)](_0x24353a);}}}_0x30c768[_0xb07a45(0x1c0)]()>0x0&&(_0x58d767[_0xb07a45(0x16c)](_0x30c768),this['setPosition'](_0x58d767)),this['updateCameraFromPawn']();}[_0x9bcea9(0x1a2)](){const _0x5df3a5=_0x9bcea9;if(!this[_0x5df3a5(0x1f4)]||!this[_0x5df3a5(0x17c)])return;const _0x4ee4e8=this[_0x5df3a5(0x1aa)]();_0x4ee4e8['y']+=this['eyeHeight'];const _0xd3b8ba=this[_0x5df3a5(0x18e)](),_0x541468=new webgpu.Quaternion()[_0x5df3a5(0x179)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x5df3a5(0x19d)]),_0x172693=_0xd3b8ba[_0x5df3a5(0x1de)]()[_0x5df3a5(0x1e7)](_0x541468),_0x1bc155=new webgpu.Vector3(0x0,0x0,this[_0x5df3a5(0x17c)]['near'])[_0x5df3a5(0x1a1)](_0x172693);_0x4ee4e8[_0x5df3a5(0x16c)](_0x1bc155),this['camera'][_0x5df3a5(0x1c9)][_0x5df3a5(0x173)](_0x4ee4e8),this[_0x5df3a5(0x17c)][_0x5df3a5(0x1a3)][_0x5df3a5(0x173)](_0x172693),this[_0x5df3a5(0x17c)]['updateProjectionMatrix']();}}
|
|
153
156
|
|
|
154
|
-
const
|
|
157
|
+
const _0x3e8bb9=_0xe1e7;(function(_0x370bcb,_0x3f3e09){const _0x3b16e6=_0xe1e7,_0x17f9cc=_0x370bcb();while(!![]){try{const _0x4e0afd=parseInt(_0x3b16e6(0xdf))/0x1+-parseInt(_0x3b16e6(0xcd))/0x2*(-parseInt(_0x3b16e6(0xdb))/0x3)+parseInt(_0x3b16e6(0xde))/0x4*(-parseInt(_0x3b16e6(0xd3))/0x5)+-parseInt(_0x3b16e6(0xd8))/0x6+-parseInt(_0x3b16e6(0xd5))/0x7*(parseInt(_0x3b16e6(0xdc))/0x8)+-parseInt(_0x3b16e6(0xd1))/0x9+parseInt(_0x3b16e6(0xc2))/0xa;if(_0x4e0afd===_0x3f3e09)break;else _0x17f9cc['push'](_0x17f9cc['shift']());}catch(_0x8f0b0f){_0x17f9cc['push'](_0x17f9cc['shift']());}}}(_0x4bbb,0x72726));function _0xe1e7(_0x1d727a,_0x166ae1){_0x1d727a=_0x1d727a-0xbe;const _0x4bbbc2=_0x4bbb();let _0xe1e742=_0x4bbbc2[_0x1d727a];return _0xe1e742;}function _0x4bbb(){const _0x100be6=['getTargetCameraState','position','eyeHeight','tick','updateCameraFromPawn','getPosition','app','rootComponent','enabled','284EunQwG','pointerLockElement','order','rotation','1939266WXdlpb','possess','25gclrUr','moveSpeed','2016RoiwxT','unpossess','YXZ','3181410UogIhI','clone','copy','1779LVOHbm','7064lqyHLg','camera','373300IRyEOy','611644lTOsrt','constructRootComponent','lookSpeed','viewport','threeObject','12395620aFCNau','getQuaternion'];_0x4bbb=function(){return _0x100be6;};return _0x4bbb();}class Spectator extends Pawn{constructor(_0x5e9ceb){const _0x363751=_0xe1e7;super(_0x5e9ceb),this[_0x363751(0xd4)]=0xa,this[_0x363751(0xbf)]=0.002,this[_0x363751(0xc6)]=0.7;}[_0x3e8bb9(0xbe)](){return new SceneComponent(this['app']);}[_0x3e8bb9(0xd2)](){const _0x358f51=_0x3e8bb9;super[_0x358f51(0xd2)](),this[_0x358f51(0xcb)]&&this[_0x358f51(0xcb)][_0x358f51(0xc1)]&&(this[_0x358f51(0xcb)][_0x358f51(0xc1)][_0x358f51(0xd0)][_0x358f51(0xcf)]=_0x358f51(0xd7)),this[_0x358f51(0xc8)]();}[_0x3e8bb9(0xd6)](){const _0x32f35b=_0x3e8bb9;super['unpossess'](),document[_0x32f35b(0xce)]===this[_0x32f35b(0xca)][_0x32f35b(0xc0)]['canvas']&&document['exitPointerLock']();}[_0x3e8bb9(0xc4)](){const _0x3aad49=_0x3e8bb9,_0x43e66b=this[_0x3aad49(0xc9)]();return _0x43e66b['y']+=this[_0x3aad49(0xc6)],{'position':_0x43e66b,'quaternion':this[_0x3aad49(0xc3)]()[_0x3aad49(0xd9)]()};}[_0x3e8bb9(0xc7)](_0x5d2e1f){const _0x5e75b1=_0x3e8bb9;if(!this['enabled'])return;this[_0x5e75b1(0xc8)]();}['updateCameraFromPawn'](){const _0xa3bbbc=_0x3e8bb9;if(!this[_0xa3bbbc(0xcc)]||!this['camera'])return;const _0x50d8fd=this[_0xa3bbbc(0xc9)]();_0x50d8fd['y']+=this[_0xa3bbbc(0xc6)],this['camera'][_0xa3bbbc(0xc5)][_0xa3bbbc(0xda)](_0x50d8fd),this[_0xa3bbbc(0xdd)][_0xa3bbbc(0xd0)][_0xa3bbbc(0xda)](this['getRotation']());}}
|
|
155
158
|
|
|
156
|
-
function
|
|
159
|
+
const _0x354cf5=_0x8c8d;function _0x2199(){const _0xf23392=['objectChange','_control','setMode','translationSnap','getTranslationSnap','3721500gouXyH','quaternion','getHelper','6PJwSsM','canvas','forEach','controller','removeEventListener','viewPort','dispose','markRenderStateDirty','change','enabled','control','9647xNoJop','setScaleSnap','showY','position','56976XVAlWa','helperObject','attach','addEventListener','showX','world','scaleSnap','includes','name','gizmoScene','1089ztcnqq','setRotationSnap','add','onObjectChangeEvent','showZ','setAxis','enable','multiply','onDraggingChanged','multiplyMatrices','4838010RynVEX','traverse','setSize','refresh','getMatrixInWorld','targetMatrixMap','setTarget','onUpdateFunction','isTickEnabled','clone','getScaleSnap','97101kWkeFV','unpossess','TransformHelperObject','value','invert','get','getTargetScene','remove','onChangeEvent','11hrzOfA','targets','decompose','rayIgnored','onDraggingFunction','getRotationnSnap','onObjectChanged','userData','rotationSnap','helperScene','onDraggingChangedEvent','setSpace','dragging-changed','42UdmoON','onTransforming','4QYgKED','detach','4436677MaSFGZ','clear','destroy','setTranslationSnap','scale','onChange','primaryTarget','viewport','8720124XmRVll','set','getMode'];_0x2199=function(){return _0xf23392;};return _0x2199();}(function(_0x4681b8,_0x2dcdb3){const _0x377fa0=_0x8c8d,_0x5abf30=_0x4681b8();while(!![]){try{const _0x359a29=parseInt(_0x377fa0(0x1e1))/0x1+-parseInt(_0x377fa0(0x1bf))/0x2*(-parseInt(_0x377fa0(0x204))/0x3)+parseInt(_0x377fa0(0x1c1))/0x4*(parseInt(_0x377fa0(0x1d3))/0x5)+parseInt(_0x377fa0(0x1d6))/0x6*(-parseInt(_0x377fa0(0x1c3))/0x7)+-parseInt(_0x377fa0(0x1e5))/0x8*(-parseInt(_0x377fa0(0x1ef))/0x9)+-parseInt(_0x377fa0(0x1f9))/0xa+-parseInt(_0x377fa0(0x1b2))/0xb*(parseInt(_0x377fa0(0x1cb))/0xc);if(_0x359a29===_0x2dcdb3)break;else _0x5abf30['push'](_0x5abf30['shift']());}catch(_0x214362){_0x5abf30['push'](_0x5abf30['shift']());}}}(_0x2199,0x6e237));function _0x8c8d(_0x51f2e7,_0x250d4e){_0x51f2e7=_0x51f2e7-0x1ac;const _0x2199b2=_0x2199();let _0x8c8dec=_0x2199b2[_0x51f2e7];return _0x8c8dec;}class TransformGizmo extends Pawn{get[_0x354cf5(0x1e0)](){const _0xb6960=_0x354cf5;if(!this['_control'])throw new Error('Control\x20not\x20initialized');return this[_0xb6960(0x1cf)];}constructor(_0x1775a1,_0x3751ca){const _0x4f01ec=_0x354cf5;var _0x3e4cdc;super(_0x1775a1),this[_0x4f01ec(0x1cf)]=null,this[_0x4f01ec(0x1e6)]=new webgpu.Object3D(),this['targets']=[],this['primaryTarget']=null,this[_0x4f01ec(0x1fe)]=new Map(),this[_0x4f01ec(0x1ee)]=null,this['onDraggingChangedEvent']=_0x444b1a=>{this['onDraggingChanged'](_0x444b1a);},this[_0x4f01ec(0x1f2)]=()=>{const _0x25214e=_0x4f01ec;this[_0x25214e(0x1b8)]();},this['onChangeEvent']=()=>{const _0xaa37b3=_0x4f01ec;this[_0xaa37b3(0x1c8)]();},this['onUpdateFunction']=null,this['onDraggingFunction']=null;let _0x35e2f9=_0x1775a1[_0x4f01ec(0x1ca)][_0x4f01ec(0x1d7)];if(!_0x35e2f9)throw new Error('TransformGizmo:Canvas\x20not\x20found');this['_control']=new TransformControls_js.TransformControls(_0x1775a1['camera'],_0x35e2f9),this[_0x4f01ec(0x1e0)][_0x4f01ec(0x1d5)]()[_0x4f01ec(0x1fa)](_0x1d1d90=>{const _0x5f0cbe=_0x4f01ec;_0x1d1d90[_0x5f0cbe(0x1b9)][_0x5f0cbe(0x1b5)]=!![];}),this['helperObject'][_0x4f01ec(0x1ed)]=_0x4f01ec(0x206),this[_0x4f01ec(0x1ee)]=(_0x3e4cdc=_0x3751ca===null||_0x3751ca===void 0?void 0:_0x3751ca[_0x4f01ec(0x1bb)])!==null&&_0x3e4cdc!==void 0?_0x3e4cdc:null;}['getTargetScene'](){const _0x41e796=_0x354cf5;var _0x5ef2c3;return (_0x5ef2c3=this[_0x41e796(0x1ee)])!==null&&_0x5ef2c3!==void 0?_0x5ef2c3:this[_0x41e796(0x1d9)][_0x41e796(0x1ea)]['scene'];}['possess'](){const _0x3660ef=_0x354cf5,_0x448c18=this[_0x3660ef(0x1af)]();_0x448c18[_0x3660ef(0x1f1)](this['helperObject']),_0x448c18[_0x3660ef(0x1f1)](this[_0x3660ef(0x1e0)][_0x3660ef(0x1d5)]()),this[_0x3660ef(0x1e0)][_0x3660ef(0x1e7)](this[_0x3660ef(0x1e6)]),this[_0x3660ef(0x1e0)][_0x3660ef(0x1e8)](_0x3660ef(0x1de),this[_0x3660ef(0x1b1)]),this['control'][_0x3660ef(0x1e8)](_0x3660ef(0x1be),this['onDraggingChangedEvent']),this[_0x3660ef(0x1e0)][_0x3660ef(0x1e8)](_0x3660ef(0x1ce),this[_0x3660ef(0x1f2)]);}[_0x354cf5(0x205)](){const _0xee6123=_0x354cf5;this[_0xee6123(0x1e0)][_0xee6123(0x1da)](_0xee6123(0x1de),this[_0xee6123(0x1b1)]),this[_0xee6123(0x1e0)][_0xee6123(0x1da)](_0xee6123(0x1be),this[_0xee6123(0x1bc)]),this[_0xee6123(0x1e0)][_0xee6123(0x1da)](_0xee6123(0x1ce),this[_0xee6123(0x1f2)]),this[_0xee6123(0x1e0)]['detach']();const _0x183d3a=this[_0xee6123(0x1af)]();_0x183d3a['remove'](this[_0xee6123(0x1e6)]),_0x183d3a[_0xee6123(0x1b0)](this[_0xee6123(0x1e0)]['getHelper']());}['getTargetCameraState'](){const _0x8381c0=_0x354cf5;return {'position':this['camera'][_0x8381c0(0x1e4)][_0x8381c0(0x202)](),'quaternion':this['camera'][_0x8381c0(0x1d4)]['clone']()};}[_0x354cf5(0x1fc)](){const _0x1ae8e7=_0x354cf5;if(!this[_0x1ae8e7(0x1c9)])return;this[_0x1ae8e7(0x1e0)][_0x1ae8e7(0x1c2)]();const _0x428e16=this[_0x1ae8e7(0x1af)]();_0x428e16[_0x1ae8e7(0x1b0)](this[_0x1ae8e7(0x1e6)]),this[_0x1ae8e7(0x1fe)]['clear']();let _0x1402d8=this[_0x1ae8e7(0x1c9)][_0x1ae8e7(0x1fd)]();_0x1402d8[_0x1ae8e7(0x1b4)](this[_0x1ae8e7(0x1e6)][_0x1ae8e7(0x1e4)],this[_0x1ae8e7(0x1e6)][_0x1ae8e7(0x1d4)],this[_0x1ae8e7(0x1e6)][_0x1ae8e7(0x1c7)]),_0x428e16['add'](this[_0x1ae8e7(0x1e0)][_0x1ae8e7(0x1d5)]()),_0x428e16['add'](this[_0x1ae8e7(0x1e6)]),this[_0x1ae8e7(0x1e0)]['attach'](this['helperObject']),this[_0x1ae8e7(0x1b3)][_0x1ae8e7(0x1d8)](_0x3f502d=>{const _0x12171a=_0x1ae8e7,_0x50ead5=_0x3f502d[_0x12171a(0x1fd)](),_0x199641=_0x1402d8[_0x12171a(0x202)]()[_0x12171a(0x1ad)]()[_0x12171a(0x1f6)](_0x50ead5);this['targetMatrixMap'][_0x12171a(0x1cc)](_0x3f502d,_0x199641);});}[_0x354cf5(0x1c8)](){const _0x1079d1=_0x354cf5;this[_0x1079d1(0x1d9)][_0x1079d1(0x1db)][_0x1079d1(0x1dd)]();}[_0x354cf5(0x1f7)](_0x56aa86){const _0x3efa68=_0x354cf5;if(this[_0x3efa68(0x1c9)]){let _0x57fe7f=this[_0x3efa68(0x1c9)]['getMatrixInWorld']();_0x57fe7f['decompose'](this[_0x3efa68(0x1e6)][_0x3efa68(0x1e4)],this['helperObject'][_0x3efa68(0x1d4)],this[_0x3efa68(0x1e6)][_0x3efa68(0x1c7)]);}this['onDraggingFunction']&&this[_0x3efa68(0x1b6)](_0x56aa86[_0x3efa68(0x1ac)]);}[_0x354cf5(0x1b8)](){const _0x2620eb=_0x354cf5;if(this[_0x2620eb(0x1c9)]){this[_0x2620eb(0x1e6)]['updateMatrixWorld'](!![]);const _0x3cee7e=this[_0x2620eb(0x1e6)]['matrixWorld']['clone']();this[_0x2620eb(0x1c9)][_0x2620eb(0x1c0)](_0x3cee7e),this[_0x2620eb(0x1b3)][_0x2620eb(0x1d8)](_0x362823=>{const _0x54aac1=_0x2620eb,_0x3a9619=this['targetMatrixMap'][_0x54aac1(0x1ae)](_0x362823);if(_0x3a9619){const _0x2b3f99=new webgpu.Matrix4()[_0x54aac1(0x1f8)](_0x3cee7e,_0x3a9619);_0x362823[_0x54aac1(0x1c0)](_0x2b3f99);}});}this[_0x2620eb(0x200)]&&this[_0x2620eb(0x200)]();}set[_0x354cf5(0x1f5)](_0xa7354f){const _0x44f588=_0x354cf5;this['control'][_0x44f588(0x1df)]=_0xa7354f;}[_0x354cf5(0x1ff)](_0x48059f,_0x50a4b0,_0x35c96a=null,_0x43552e=null){const _0x45426b=_0x354cf5;this[_0x45426b(0x1fe)][_0x45426b(0x1c4)]();let _0x2b36a8=_0x48059f[_0x45426b(0x1fd)]();_0x2b36a8[_0x45426b(0x1b4)](this[_0x45426b(0x1e6)][_0x45426b(0x1e4)],this['helperObject']['quaternion'],this[_0x45426b(0x1e6)][_0x45426b(0x1c7)]);const _0x2e0654=this[_0x45426b(0x1af)]();_0x2e0654['add'](this['control'][_0x45426b(0x1d5)]()),this[_0x45426b(0x1c9)]=_0x48059f,this[_0x45426b(0x1b3)]=_0x50a4b0,this[_0x45426b(0x1b3)][_0x45426b(0x1d8)](_0x4195af=>{const _0x41ea09=_0x45426b,_0x3c6858=_0x4195af['getMatrixInWorld'](),_0x473384=_0x2b36a8[_0x41ea09(0x202)]()[_0x41ea09(0x1ad)]()['multiply'](_0x3c6858);this[_0x41ea09(0x1fe)][_0x41ea09(0x1cc)](_0x4195af,_0x473384);}),_0x35c96a&&(this['onUpdateFunction']=_0x35c96a),_0x43552e&&(this[_0x45426b(0x1b6)]=_0x43552e),this[_0x45426b(0x201)]=!![];}[_0x354cf5(0x1cd)](){const _0x41b1a4=_0x354cf5;return this[_0x41b1a4(0x1e0)][_0x41b1a4(0x1cd)]();}[_0x354cf5(0x1d0)](_0x4fce02){const _0x13bc01=_0x354cf5;this[_0x13bc01(0x1e0)][_0x13bc01(0x1d0)](_0x4fce02);}[_0x354cf5(0x1bd)](_0x4d5707){const _0x2b2ef1=_0x354cf5;this[_0x2b2ef1(0x1e0)][_0x2b2ef1(0x1bd)](_0x4d5707);}[_0x354cf5(0x1f4)](_0x51301a){const _0x154613=_0x354cf5;this[_0x154613(0x1e0)][_0x154613(0x1e9)]=_0x51301a?_0x51301a===null||_0x51301a===void 0?void 0:_0x51301a[_0x154613(0x1ec)]('X'):![],this['control'][_0x154613(0x1e3)]=_0x51301a?_0x51301a===null||_0x51301a===void 0?void 0:_0x51301a[_0x154613(0x1ec)]('Y'):![],this[_0x154613(0x1e0)][_0x154613(0x1f3)]=_0x51301a?_0x51301a===null||_0x51301a===void 0?void 0:_0x51301a['includes']('Z'):![];}[_0x354cf5(0x1fb)](_0x28fb10){const _0x126bc4=_0x354cf5;this[_0x126bc4(0x1e0)][_0x126bc4(0x1fb)](_0x28fb10);}[_0x354cf5(0x1d2)](){const _0x3c0fb7=_0x354cf5;return this[_0x3c0fb7(0x1e0)][_0x3c0fb7(0x1d1)];}[_0x354cf5(0x1c6)](_0xc8988){const _0x2776a6=_0x354cf5;this[_0x2776a6(0x1e0)][_0x2776a6(0x1c6)](_0xc8988);}[_0x354cf5(0x1b7)](){const _0x4a0c33=_0x354cf5;return this['control'][_0x4a0c33(0x1ba)];}[_0x354cf5(0x1f0)](_0x551c04){const _0x12f2d3=_0x354cf5;this[_0x12f2d3(0x1e0)][_0x12f2d3(0x1f0)](_0x551c04);}[_0x354cf5(0x203)](){const _0x4e68d8=_0x354cf5;return this[_0x4e68d8(0x1e0)][_0x4e68d8(0x1eb)];}[_0x354cf5(0x1e2)](_0x538b2d){const _0x21951e=_0x354cf5;this[_0x21951e(0x1e0)][_0x21951e(0x1e2)](_0x538b2d);}['destroy'](){const _0x344c84=_0x354cf5;var _0x37d05c;this[_0x344c84(0x201)]=![],this['unpossess'](),this[_0x344c84(0x1fe)][_0x344c84(0x1c4)](),this['targets']=[],this['primaryTarget']=null,this[_0x344c84(0x200)]=null,this[_0x344c84(0x1b6)]=null,(_0x37d05c=this[_0x344c84(0x1cf)])===null||_0x37d05c===void 0?void 0:_0x37d05c[_0x344c84(0x1dc)](),this['_control']=null,super[_0x344c84(0x1c5)]();}}
|
|
157
160
|
|
|
158
|
-
|
|
161
|
+
const _0x5f3131=_0x5c5f;(function(_0x51f62a,_0x44e691){const _0x533484=_0x5c5f,_0x3eb141=_0x51f62a();while(!![]){try{const _0x31d94e=-parseInt(_0x533484(0x82))/0x1*(parseInt(_0x533484(0x7e))/0x2)+parseInt(_0x533484(0x79))/0x3*(-parseInt(_0x533484(0x8a))/0x4)+parseInt(_0x533484(0x93))/0x5*(parseInt(_0x533484(0x91))/0x6)+parseInt(_0x533484(0x95))/0x7+parseInt(_0x533484(0x9d))/0x8+-parseInt(_0x533484(0x7c))/0x9+-parseInt(_0x533484(0x8e))/0xa*(-parseInt(_0x533484(0x98))/0xb);if(_0x31d94e===_0x44e691)break;else _0x3eb141['push'](_0x3eb141['shift']());}catch(_0x456a1c){_0x3eb141['push'](_0x3eb141['shift']());}}}(_0x59f5,0x94632));function _0x5c5f(_0x828d97,_0x142d84){_0x828d97=_0x828d97-0x78;const _0x59f505=_0x59f5();let _0x5c5fc5=_0x59f505[_0x828d97];return _0x5c5fc5;}class BoxColliderComponent extends ColliderComponent{get[_0x5f3131(0x8d)](){const _0x5689f4=_0x5f3131;return this[_0x5689f4(0x9a)];}constructor(_0x20fba5,_0x536fcf=new webgpu.Vector3(0.5,0.5,0.5),_0x3dce46){const _0x359c04=_0x5f3131;super(_0x20fba5,_0x3dce46),this['_debugMesh']=null,this[_0x359c04(0x9a)]=new webgpu.Vector3(_0x536fcf['x'],_0x536fcf['y'],_0x536fcf['z']),this['name']='BoxColliderComponent';}[_0x5f3131(0x78)](_0x31a853=new webgpu.Box3()){const _0x22d93a=_0x5f3131,_0x9d432a=this[_0x22d93a(0x92)](),_0x1ecf91=this[_0x22d93a(0x9a)]['x'],_0x89d6d3=this['_halfExtents']['y'],_0x3c80c0=this[_0x22d93a(0x9a)]['z'];_0x31a853[_0x22d93a(0x7a)]();const _0x53b80d=[new webgpu.Vector3(-_0x1ecf91,-_0x89d6d3,-_0x3c80c0),new webgpu.Vector3(-_0x1ecf91,-_0x89d6d3,_0x3c80c0),new webgpu.Vector3(-_0x1ecf91,_0x89d6d3,-_0x3c80c0),new webgpu.Vector3(-_0x1ecf91,_0x89d6d3,_0x3c80c0),new webgpu.Vector3(_0x1ecf91,-_0x89d6d3,-_0x3c80c0),new webgpu.Vector3(_0x1ecf91,-_0x89d6d3,_0x3c80c0),new webgpu.Vector3(_0x1ecf91,_0x89d6d3,-_0x3c80c0),new webgpu.Vector3(_0x1ecf91,_0x89d6d3,_0x3c80c0)];for(const _0x1415a3 of _0x53b80d){_0x1415a3[_0x22d93a(0x84)](_0x9d432a),_0x31a853[_0x22d93a(0x7f)](_0x1415a3);}return _0x31a853;}[_0x5f3131(0x80)](){const _0x1261bb=_0x5f3131,_0x113967=new webgpu.Object3D();_0x113967[_0x1261bb(0x88)]=_0x1261bb(0xa0);const _0x38e174=new webgpu.BoxGeometry(0x1,0x1,0x1),_0xc34c66=new webgpu.MeshBasicMaterial({'color':this[_0x1261bb(0x9e)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']}),_0x354770=new webgpu.Mesh(_0x38e174,_0xc34c66);return _0x354770[_0x1261bb(0x88)]='BoxColliderDebugMesh',_0x113967[_0x1261bb(0x86)](_0x354770),this[_0x1261bb(0x96)]=_0x354770,this[_0x1261bb(0x8c)](0x0),_0x113967;}['destroyDebugObject'](_0x392e59){const _0x375b02=_0x5f3131;this[_0x375b02(0x96)]=null;}[_0x5f3131(0x8c)](_0x37a13c){const _0x219526=_0x5f3131;if(!this['_debugMesh'])return;this['_debugMesh'][_0x219526(0x97)][_0x219526(0x8f)](this[_0x219526(0x9a)]['x']*0x2,this[_0x219526(0x9a)]['y']*0x2,this['_halfExtents']['z']*0x2);}[_0x5f3131(0x87)](_0x26d855,_0x557413,_0x505cfd){const _0x266ff8=_0x5f3131;if(!this[_0x266ff8(0x7b)])return null;const _0x522f99=this[_0x266ff8(0x7b)]['matrixWorld'][_0x266ff8(0x9b)]()[_0x266ff8(0x7d)](),_0x4a047e=_0x26d855[_0x266ff8(0x9b)]()['applyMatrix4'](_0x522f99),_0x54c6cc=_0x557413[_0x266ff8(0x9b)]()[_0x266ff8(0x9f)](_0x522f99),_0x206a88=_0x26d855['clone']()['add'](_0x557413),_0x4c2833=_0x206a88[_0x266ff8(0x84)](_0x522f99);_0x54c6cc[_0x266ff8(0x83)](_0x4c2833,_0x4a047e);const _0x5ee1db=this['_halfExtents']['clone']()[_0x266ff8(0x99)](),_0x26d691=this[_0x266ff8(0x9a)][_0x266ff8(0x9b)](),_0x9828fc=this[_0x266ff8(0x9c)](_0x4a047e,_0x54c6cc,_0x5ee1db,_0x26d691);if(!_0x9828fc)return null;if(_0x9828fc['t']>_0x505cfd)return null;const _0x30a763=_0x26d855['clone']()[_0x266ff8(0x86)](_0x557413['clone']()[_0x266ff8(0x85)](_0x9828fc['t'])),_0x512724=_0x9828fc[_0x266ff8(0x8b)],_0x55d7d6=new webgpu.Matrix4()['copy'](this[_0x266ff8(0x7b)][_0x266ff8(0x81)])['invert']()[_0x266ff8(0x90)](),_0x164827=_0x512724[_0x266ff8(0x84)](_0x55d7d6)['normalize']();return {'point':_0x30a763,'normal':_0x164827,'distance':_0x9828fc['t']};}[_0x5f3131(0x9c)](_0x503f07,_0x11f6ae,_0x44d471,_0x5e2f6f){const _0xde5e28=_0x5f3131;let _0x24f29a=-Infinity,_0x16c499=Infinity;const _0x178248=new webgpu.Vector3(),_0x537c8e=1e-8,_0x494c3c=_0x8be4ff=>{const _0x3767b6=_0x5c5f,_0x11cb96=_0x503f07[_0x8be4ff],_0x2b19a0=_0x11f6ae[_0x8be4ff],_0x3472df=_0x44d471[_0x8be4ff],_0x434db1=_0x5e2f6f[_0x8be4ff];if(Math[_0x3767b6(0x94)](_0x2b19a0)<_0x537c8e){if(_0x11cb96<_0x3472df||_0x11cb96>_0x434db1)return ![];return !![];}const _0x2beb65=0x1/_0x2b19a0;let _0x17dc0a=(_0x3472df-_0x11cb96)*_0x2beb65,_0x516bf8=(_0x434db1-_0x11cb96)*_0x2beb65;if(_0x17dc0a>_0x516bf8){const _0x13bbcb=_0x17dc0a;_0x17dc0a=_0x516bf8,_0x516bf8=_0x13bbcb;}if(_0x17dc0a>_0x24f29a){_0x24f29a=_0x17dc0a,_0x178248['set'](0x0,0x0,0x0),_0x178248[_0x8be4ff]=_0x2b19a0<0x0?0x1:-1;if(_0x2b19a0>0x0)_0x178248[_0x8be4ff]=-1;else _0x178248[_0x8be4ff]=0x1;}_0x516bf8<_0x16c499&&(_0x16c499=_0x516bf8);if(_0x24f29a>_0x16c499)return ![];return !![];};if(!_0x494c3c('x')||!_0x494c3c('y')||!_0x494c3c('z'))return null;if(_0x16c499<0x0)return null;if(_0x24f29a<0x0)return {'t':0x0,'normal':_0x11f6ae[_0xde5e28(0x9b)]()[_0xde5e28(0x99)]()[_0xde5e28(0x89)]()};return {'t':_0x24f29a,'normal':_0x178248};}}function _0x59f5(){const _0x4b2d32=['onDebugTick','halfExtents','22164590SXvZeT','set','transpose','23586ikKBUm','getWorldMatrix','955FVPqGf','abs','1398348BbOasB','_debugMesh','scale','11RLXPnX','negate','_halfExtents','clone','intersectRayAabbRaw','784376eINUXr','debugColor','transformDirection','BoxColliderDebug','getWorldAABB','81OVItsU','makeEmpty','threeObject','9229014zxvHlJ','invert','73844WRRDAy','expandByPoint','createDebugObject','matrixWorld','31pZlFnq','subVectors','applyMatrix4','multiplyScalar','add','raycast','name','normalize','72188NwvQFN','normal'];_0x59f5=function(){return _0x4b2d32;};return _0x59f5();}
|
|
159
162
|
|
|
160
|
-
const _0x100273=_0x2296;(function(_0x39ceb,_0x10246d){const _0x2be566=_0x2296,_0x20d60d=_0x39ceb();while(!![]){try{const _0x3279e8=parseInt(_0x2be566(0x173))/0x1*(parseInt(_0x2be566(0x192))/0x2)+-parseInt(_0x2be566(0x1a9))/0x3+parseInt(_0x2be566(0x171))/0x4*(parseInt(_0x2be566(0x1a7))/0x5)+-parseInt(_0x2be566(0x198))/0x6+-parseInt(_0x2be566(0x19f))/0x7+parseInt(_0x2be566(0x19e))/0x8+parseInt(_0x2be566(0x1a2))/0x9;if(_0x3279e8===_0x10246d)break;else _0x20d60d['push'](_0x20d60d['shift']());}catch(_0x394099){_0x20d60d['push'](_0x20d60d['shift']());}}}(_0x391b,0x447ff));function _0x391b(){const _0x1f6ea6=['_tmpMat','distance','destroyDebugObject','length','4314544omkglP','3580472HnDWjd','parent','raycast','5940117ZRCjJR','_debugMaterial','sqrt','from','_tmpT','505RVYaRG','setHex','1588857RISRtm','makeEmpty','isMesh','floor','max','addScaledVector','dispose','sub','_tmpEdge2','updateWorldMatrix','debugColor','_sourceObject','threeObject','MeshColliderDebug','_tmpAabb','_debugEntries','_tmpC','boundingBox','raycastAll','array','dot','_tmpN','matrixWorld','getZ','position','getWorldAABB','getY','remove','_tmpCorner','_tmpBoxCorner','multiplyScalar','needsUpdate','sourceObject','10408SzztyM','expandByPoint','139zizOko','point','clone','crossVectors','getX','min','destroy','_tmpA','MeshColliderComponent','name','intersectRayAabb','opacity','setIndex','debugEnabled','_tmpB','count','getDebugAttachParent','mergeGeometries','traverse','lengthSq','applyMatrix4','push','attributes','computeBoundingBox','copy','abs','geometry','index','_mesh','set','add','1766gKrWBF','getIndex','_tmpP','intersectRayTriangle','getAttribute','_tmpEdge1','1579080SgajSf','debugOpacity'];_0x391b=function(){return _0x1f6ea6;};return _0x391b();}function _0x2296(_0x1e4704,_0xab5279){_0x1e4704=_0x1e4704-0x167;const _0x391b91=_0x391b();let _0x2296a4=_0x391b91[_0x1e4704];return _0x2296a4;}class MeshColliderComponent extends ColliderComponent{get[_0x100273(0x170)](){const _0x5c8823=_0x100273;return this[_0x5c8823(0x1b4)];}constructor(_0x3c0ccf,_0x138db6=null,_0xda0f0c){const _0x1ab8b4=_0x100273;super(_0x3c0ccf,_0xda0f0c),this[_0x1ab8b4(0x1b4)]=null,this['_mesh']=null,this[_0x1ab8b4(0x1b8)]=[],this[_0x1ab8b4(0x1a3)]=null,this['_tmpAabb']=new webgpu.Box3(),this[_0x1ab8b4(0x19a)]=new webgpu.Matrix4(),this['_tmpCorner']=new webgpu.Vector3(),this['_tmpBoxCorner']=Array[_0x1ab8b4(0x1a5)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x1ab8b4(0x17a)]=new webgpu.Vector3(),this['_tmpB']=new webgpu.Vector3(),this[_0x1ab8b4(0x1b9)]=new webgpu.Vector3(),this[_0x1ab8b4(0x197)]=new webgpu.Vector3(),this[_0x1ab8b4(0x1b1)]=new webgpu.Vector3(),this[_0x1ab8b4(0x194)]=new webgpu.Vector3(),this[_0x1ab8b4(0x1a6)]=new webgpu.Vector3(),this['_tmpQ']=new webgpu.Vector3(),this[_0x1ab8b4(0x1be)]=new webgpu.Vector3(),this['name']=_0x1ab8b4(0x17b),this['setSourceObject'](_0x138db6);}['setSourceObject'](_0x54dfc8){const _0x41d28e=_0x100273,_0x7a35e8=this['debugEnabled'];_0x7a35e8&&(this[_0x41d28e(0x180)]=![]);this['_sourceObject']=_0x54dfc8;this[_0x41d28e(0x18f)]&&(this[_0x41d28e(0x18f)][_0x41d28e(0x18d)][_0x41d28e(0x1af)](),this[_0x41d28e(0x18f)]=null);if(!_0x54dfc8){_0x7a35e8&&(this[_0x41d28e(0x180)]=!![]);return;}const _0x2ba4a5=[];_0x54dfc8[_0x41d28e(0x1b2)](!![],!![]);const _0x2335ce=_0x54dfc8[_0x41d28e(0x1bf)][_0x41d28e(0x175)]()['invert']();_0x54dfc8[_0x41d28e(0x185)](_0xe4096b=>{const _0x4ec513=_0x41d28e;if(_0xe4096b[_0x4ec513(0x1ab)]){const _0x5871b8=_0xe4096b;if(_0x5871b8[_0x4ec513(0x18d)]){const _0x1e2851=_0x5871b8[_0x4ec513(0x18d)][_0x4ec513(0x175)](),_0x4b25e7=_0x2335ce['clone']()['multiply'](_0x5871b8[_0x4ec513(0x1bf)]);_0x1e2851[_0x4ec513(0x187)](_0x4b25e7),_0x2ba4a5[_0x4ec513(0x188)](_0x1e2851);}}});if(_0x2ba4a5[_0x41d28e(0x19d)]>0x0){const _0x388ccd=this[_0x41d28e(0x184)](_0x2ba4a5);if(_0x388ccd){const _0x157e8c=new webgpu.Mesh(_0x388ccd);this[_0x41d28e(0x18f)]=_0x157e8c;}}_0x7a35e8&&(this[_0x41d28e(0x180)]=!![]);}[_0x100273(0x184)](_0x54dd03){const _0x505baf=_0x100273;if(_0x54dd03[_0x505baf(0x19d)]===0x0)return null;if(_0x54dd03[_0x505baf(0x19d)]===0x1)return _0x54dd03[0x0];let _0x4b509a=0x0,_0x268f95=0x0;for(const _0x55ec0e of _0x54dd03){_0x4b509a+=_0x55ec0e[_0x505baf(0x189)][_0x505baf(0x168)]['count'],_0x55ec0e[_0x505baf(0x18e)]?_0x268f95+=_0x55ec0e['index']['count']:_0x268f95+=_0x55ec0e[_0x505baf(0x189)]['position'][_0x505baf(0x182)];}const _0x251a5e=new Float32Array(_0x4b509a*0x3),_0x7d9642=new Uint32Array(_0x268f95);let _0x24970b=0x0,_0x27929c=0x0;for(const _0x1f579 of _0x54dd03){const _0x2a8650=_0x1f579['attributes']['position'][_0x505baf(0x1bc)],_0x54ed5a=_0x1f579[_0x505baf(0x189)][_0x505baf(0x168)][_0x505baf(0x182)];for(let _0x52c24b=0x0;_0x52c24b<_0x54ed5a*0x3;_0x52c24b++){_0x251a5e[_0x24970b*0x3+_0x52c24b]=_0x2a8650[_0x52c24b];}if(_0x1f579[_0x505baf(0x18e)]){const _0x1f0dbe=_0x1f579[_0x505baf(0x18e)][_0x505baf(0x1bc)];for(let _0x9fee49=0x0;_0x9fee49<_0x1f579['index']['count'];_0x9fee49++){_0x7d9642[_0x27929c+_0x9fee49]=_0x1f0dbe[_0x9fee49]+_0x24970b;}_0x27929c+=_0x1f579['index'][_0x505baf(0x182)];}else {for(let _0x71b609=0x0;_0x71b609<_0x54ed5a;_0x71b609++){_0x7d9642[_0x27929c+_0x71b609]=_0x71b609+_0x24970b;}_0x27929c+=_0x54ed5a;}_0x24970b+=_0x54ed5a;}const _0x57e41c=new webgpu.BufferGeometry();return _0x57e41c['setAttribute'](_0x505baf(0x168),new webgpu.BufferAttribute(_0x251a5e,0x3)),_0x57e41c[_0x505baf(0x17f)](new webgpu.BufferAttribute(_0x7d9642,0x1)),_0x57e41c;}[_0x100273(0x179)](){const _0x2bd6de=_0x100273;this['debugEnabled']=![],this[_0x2bd6de(0x18f)]&&(this[_0x2bd6de(0x18f)]['geometry']['dispose'](),this['_mesh']=null),this['_sourceObject']=null,super['destroy']();}[_0x100273(0x169)](_0x5b8623=new webgpu.Box3()){const _0x55ccd2=_0x100273;_0x5b8623[_0x55ccd2(0x1aa)]();if(!this[_0x55ccd2(0x1b4)])return _0x5b8623;this['_sourceObject']['updateWorldMatrix'](!![],!![]);const _0x5c18c2=this[_0x55ccd2(0x16d)];if(this[_0x55ccd2(0x18f)]){const _0x6b9041=this[_0x55ccd2(0x18f)];_0x6b9041[_0x55ccd2(0x1bf)][_0x55ccd2(0x18b)](this['_sourceObject'][_0x55ccd2(0x1bf)]);const _0x183921=_0x6b9041['geometry'];if(_0x183921){!_0x183921['boundingBox']&&_0x183921[_0x55ccd2(0x18a)]();const _0x1af857=_0x183921[_0x55ccd2(0x1ba)];if(_0x1af857){this[_0x55ccd2(0x19a)]['copy'](_0x6b9041[_0x55ccd2(0x1bf)]);const _0x37f5b7=_0x1af857[_0x55ccd2(0x178)],_0x20ce99=_0x1af857[_0x55ccd2(0x1ad)];_0x5c18c2[0x0]['set'](_0x37f5b7['x'],_0x37f5b7['y'],_0x37f5b7['z']),_0x5c18c2[0x1]['set'](_0x37f5b7['x'],_0x37f5b7['y'],_0x20ce99['z']),_0x5c18c2[0x2][_0x55ccd2(0x190)](_0x37f5b7['x'],_0x20ce99['y'],_0x37f5b7['z']),_0x5c18c2[0x3]['set'](_0x37f5b7['x'],_0x20ce99['y'],_0x20ce99['z']),_0x5c18c2[0x4][_0x55ccd2(0x190)](_0x20ce99['x'],_0x37f5b7['y'],_0x37f5b7['z']),_0x5c18c2[0x5][_0x55ccd2(0x190)](_0x20ce99['x'],_0x37f5b7['y'],_0x20ce99['z']),_0x5c18c2[0x6]['set'](_0x20ce99['x'],_0x20ce99['y'],_0x37f5b7['z']),_0x5c18c2[0x7][_0x55ccd2(0x190)](_0x20ce99['x'],_0x20ce99['y'],_0x20ce99['z']);for(const _0x24bf55 of _0x5c18c2){_0x24bf55[_0x55ccd2(0x187)](this['_tmpMat']),_0x5b8623[_0x55ccd2(0x172)](_0x24bf55);}}}}return _0x5b8623;}['raycastAll'](_0x53b347,_0x252fc9,_0x425815){const _0x891f93=_0x100273;if(!this[_0x891f93(0x1b4)])return [];this['_sourceObject'][_0x891f93(0x1b2)](!![],!![]);const _0x386576=[];if(this[_0x891f93(0x18f)]){const _0x2c173e=this[_0x891f93(0x18f)];_0x2c173e[_0x891f93(0x1bf)][_0x891f93(0x18b)](this['_sourceObject']['matrixWorld']);const _0x6220be=_0x2c173e[_0x891f93(0x18d)];if(_0x6220be){!_0x6220be['boundingBox']&&_0x6220be['computeBoundingBox']();const _0x3777d4=_0x6220be['boundingBox'];if(_0x3777d4){const _0x96e350=this[_0x891f93(0x1b7)][_0x891f93(0x18b)](_0x3777d4)[_0x891f93(0x187)](_0x2c173e[_0x891f93(0x1bf)]);if(this['intersectRayAabb'](_0x53b347,_0x252fc9,_0x425815,_0x96e350)){const _0x43c754=_0x6220be[_0x891f93(0x196)](_0x891f93(0x168));if(_0x43c754){const _0x41657b=_0x6220be[_0x891f93(0x193)](),_0xc07493=_0x41657b?Math[_0x891f93(0x1ac)](_0x41657b['count']/0x3):Math[_0x891f93(0x1ac)](_0x43c754[_0x891f93(0x182)]/0x3);for(let _0x3f1ed9=0x0;_0x3f1ed9<_0xc07493;_0x3f1ed9++){const _0x5c2125=_0x41657b?_0x41657b[_0x891f93(0x177)](_0x3f1ed9*0x3+0x0):_0x3f1ed9*0x3+0x0,_0x3a2210=_0x41657b?_0x41657b[_0x891f93(0x177)](_0x3f1ed9*0x3+0x1):_0x3f1ed9*0x3+0x1,_0x2990f8=_0x41657b?_0x41657b[_0x891f93(0x177)](_0x3f1ed9*0x3+0x2):_0x3f1ed9*0x3+0x2;this[_0x891f93(0x17a)][_0x891f93(0x190)](_0x43c754['getX'](_0x5c2125),_0x43c754[_0x891f93(0x16a)](_0x5c2125),_0x43c754[_0x891f93(0x167)](_0x5c2125))[_0x891f93(0x187)](_0x2c173e[_0x891f93(0x1bf)]),this['_tmpB'][_0x891f93(0x190)](_0x43c754[_0x891f93(0x177)](_0x3a2210),_0x43c754[_0x891f93(0x16a)](_0x3a2210),_0x43c754[_0x891f93(0x167)](_0x3a2210))[_0x891f93(0x187)](_0x2c173e[_0x891f93(0x1bf)]),this['_tmpC']['set'](_0x43c754[_0x891f93(0x177)](_0x2990f8),_0x43c754[_0x891f93(0x16a)](_0x2990f8),_0x43c754[_0x891f93(0x167)](_0x2990f8))['applyMatrix4'](_0x2c173e[_0x891f93(0x1bf)]);const _0xd01e0e=this['intersectRayTriangle'](_0x53b347,_0x252fc9,this[_0x891f93(0x17a)],this[_0x891f93(0x181)],this['_tmpC'],_0x425815);_0xd01e0e&&_0x386576[_0x891f93(0x188)]({'distance':_0xd01e0e[_0x891f93(0x19b)],'point':_0xd01e0e[_0x891f93(0x174)][_0x891f93(0x175)](),'normal':_0xd01e0e['normal']['clone']()});}}}}}}return _0x386576['sort']((_0x21ab7f,_0x30895f)=>_0x21ab7f[_0x891f93(0x19b)]-_0x30895f[_0x891f93(0x19b)]);}[_0x100273(0x1a1)](_0x3397ad,_0x244655,_0x2fe8f3){const _0x494d35=_0x100273,_0x5daef0=this[_0x494d35(0x1bb)](_0x3397ad,_0x244655,_0x2fe8f3);if(_0x5daef0['length']>0x0)return _0x5daef0[0x0];return null;}[_0x100273(0x17d)](_0x398584,_0x408fe4,_0x6007a1,_0x54f03e){const _0x16f04b=_0x100273;let _0x4c445f=0x0,_0x425765=_0x6007a1;const _0x4024cf=1e-8,_0x331cd3=_0x4b325c=>{const _0x513d14=_0x2296,_0x51ca7e=_0x398584[_0x4b325c],_0x2fe8b9=_0x408fe4[_0x4b325c],_0x5174b4=_0x54f03e[_0x513d14(0x178)][_0x4b325c],_0x5afc18=_0x54f03e['max'][_0x4b325c];if(Math[_0x513d14(0x18c)](_0x2fe8b9)<_0x4024cf)return _0x51ca7e>=_0x5174b4&&_0x51ca7e<=_0x5afc18;const _0x21d685=0x1/_0x2fe8b9;let _0x5b57e,_0x40fae0;return _0x2fe8b9>=0x0?(_0x5b57e=(_0x5174b4-_0x51ca7e)*_0x21d685,_0x40fae0=(_0x5afc18-_0x51ca7e)*_0x21d685):(_0x5b57e=(_0x5afc18-_0x51ca7e)*_0x21d685,_0x40fae0=(_0x5174b4-_0x51ca7e)*_0x21d685),_0x5b57e>_0x4c445f&&(_0x4c445f=_0x5b57e),_0x40fae0<_0x425765&&(_0x425765=_0x40fae0),_0x4c445f<=_0x425765;};if(!_0x331cd3('x')||!_0x331cd3('y')||!_0x331cd3('z'))return ![];const _0x3abebe=Math[_0x16f04b(0x1ad)](0x0,_0x4c445f);return _0x3abebe<=_0x6007a1;}[_0x100273(0x195)](_0x393b51,_0x2e3239,_0x3f62e2,_0x4f5333,_0x2b4313,_0x5f2e51){const _0x8def1d=_0x100273,_0x1d5b89=1e-8,_0x46febb=this[_0x8def1d(0x197)][_0x8def1d(0x18b)](_0x4f5333)[_0x8def1d(0x1b0)](_0x3f62e2),_0x29a5a0=this[_0x8def1d(0x1b1)][_0x8def1d(0x18b)](_0x2b4313)[_0x8def1d(0x1b0)](_0x3f62e2),_0xd97555=this['_tmpP'][_0x8def1d(0x176)](_0x2e3239,_0x29a5a0),_0x5ee86d=_0x46febb[_0x8def1d(0x1bd)](_0xd97555);if(Math[_0x8def1d(0x18c)](_0x5ee86d)<_0x1d5b89)return null;const _0x959625=0x1/_0x5ee86d,_0x53554a=this['_tmpT'][_0x8def1d(0x18b)](_0x393b51)['sub'](_0x3f62e2),_0x173c72=_0x53554a['dot'](_0xd97555)*_0x959625;if(_0x173c72<0x0||_0x173c72>0x1)return null;const _0x4b70d3=this['_tmpQ'][_0x8def1d(0x176)](_0x53554a,_0x46febb),_0x5b91f9=_0x2e3239[_0x8def1d(0x1bd)](_0x4b70d3)*_0x959625;if(_0x5b91f9<0x0||_0x173c72+_0x5b91f9>0x1)return null;const _0x558e77=_0x29a5a0[_0x8def1d(0x1bd)](_0x4b70d3)*_0x959625;if(_0x558e77<0x0||_0x558e77>_0x5f2e51)return null;const _0x26cd47=this[_0x8def1d(0x1be)]['crossVectors'](_0x46febb,_0x29a5a0),_0x29dd20=_0x26cd47[_0x8def1d(0x186)]();_0x29dd20>_0x1d5b89&&_0x26cd47['multiplyScalar'](0x1/Math[_0x8def1d(0x1a4)](_0x29dd20));_0x26cd47[_0x8def1d(0x1bd)](_0x2e3239)>0x0&&_0x26cd47[_0x8def1d(0x16e)](-1);const _0x1ae455=this[_0x8def1d(0x16c)][_0x8def1d(0x18b)](_0x393b51)[_0x8def1d(0x1ae)](_0x2e3239,_0x558e77);return {'point':_0x1ae455,'normal':_0x26cd47,'distance':_0x558e77};}[_0x100273(0x183)](){const _0x488aa3=_0x100273;return this[_0x488aa3(0x1b5)];}['createDebugObject'](){const _0x166b32=_0x100273;if(!this[_0x166b32(0x1b4)])return null;const _0x52bc4e=new webgpu.Object3D();_0x52bc4e[_0x166b32(0x17c)]=_0x166b32(0x1b6),this[_0x166b32(0x1b8)]=[],this[_0x166b32(0x1a3)]=new webgpu.MeshBasicMaterial({'color':this[_0x166b32(0x1b3)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']});if(this[_0x166b32(0x18f)]){const _0x1b4ee9=this[_0x166b32(0x18f)],_0x11d9c2=_0x1b4ee9[_0x166b32(0x18d)];if(_0x11d9c2){const _0x178705=new webgpu.Mesh(_0x11d9c2,this[_0x166b32(0x1a3)]);_0x52bc4e[_0x166b32(0x191)](_0x178705),this[_0x166b32(0x1b8)]['push']({'parent':_0x52bc4e,'obj':_0x178705});}}return _0x52bc4e;}[_0x100273(0x19c)](_0x48a2f9){const _0x7c7d84=_0x100273;for(const _0x2eb76a of this[_0x7c7d84(0x1b8)]){_0x2eb76a[_0x7c7d84(0x1a0)][_0x7c7d84(0x16b)](_0x2eb76a['obj']);}this['_debugEntries']=[],this[_0x7c7d84(0x1a3)]=null;}['onDebugStyleChanged'](){const _0x6b2901=_0x100273;if(!this['_debugMaterial'])return;this[_0x6b2901(0x1a3)]['color'][_0x6b2901(0x1a8)](this[_0x6b2901(0x1b3)]),this['_debugMaterial'][_0x6b2901(0x17e)]=this['debugOpacity'],this['_debugMaterial']['transparent']=this[_0x6b2901(0x199)]<0x1,this['_debugMaterial'][_0x6b2901(0x16f)]=!![];}}
|
|
163
|
+
const _0x300730=_0xe239;function _0x2194(){const _0x26c3c1=['SphereColliderDebugMesh','set','_radius','2231634zrBeLH','onDebugTick','debugOpacity','abs','transparent','_debugMesh','setHex','max','28049ZnUWaG','name','material','color','add','destroyDebugObject','9446139mUkIWo','1105976EgKWdI','getWorldScale','95770kwrxxK','needsUpdate','setFromCenterAndSize','radius','SphereColliderComponent','SphereColliderDebug','294FedZim','116GbYuzd','2677808beaLGQ','242248RMtNRY'];_0x2194=function(){return _0x26c3c1;};return _0x2194();}function _0xe239(_0x376874,_0x405af0){_0x376874=_0x376874-0x1af;const _0x2194f0=_0x2194();let _0xe239b8=_0x2194f0[_0x376874];return _0xe239b8;}(function(_0x309ed3,_0x5755be){const _0x214726=_0xe239,_0x5d87b8=_0x309ed3();while(!![]){try{const _0x150d6b=parseInt(_0x214726(0x1c6))/0x1+parseInt(_0x214726(0x1bb))/0x2+-parseInt(_0x214726(0x1ca))/0x3+-parseInt(_0x214726(0x1c4))/0x4*(parseInt(_0x214726(0x1bd))/0x5)+parseInt(_0x214726(0x1c3))/0x6*(parseInt(_0x214726(0x1b4))/0x7)+-parseInt(_0x214726(0x1c5))/0x8+parseInt(_0x214726(0x1ba))/0x9;if(_0x150d6b===_0x5755be)break;else _0x5d87b8['push'](_0x5d87b8['shift']());}catch(_0x4aea92){_0x5d87b8['push'](_0x5d87b8['shift']());}}}(_0x2194,0x63628));class SphereColliderComponent extends ColliderComponent{get[_0x300730(0x1c0)](){const _0x2ec316=_0x300730;return this[_0x2ec316(0x1c9)];}constructor(_0x226eae,_0x3caa5f=0.5,_0x5414c3){const _0x1dbf04=_0x300730;super(_0x226eae,_0x5414c3),this[_0x1dbf04(0x1b1)]=null,this[_0x1dbf04(0x1c9)]=_0x3caa5f,this['name']=_0x1dbf04(0x1c1);}['getWorldAABB'](_0x376aa6=new webgpu.Box3()){const _0x4c817f=_0x300730,_0x4d7633=this['getWorldPosition'](),_0x34851f=this[_0x4c817f(0x1bc)](),_0x838df3=Math[_0x4c817f(0x1b3)](Math[_0x4c817f(0x1af)](_0x34851f['x']),Math[_0x4c817f(0x1af)](_0x34851f['y']),Math[_0x4c817f(0x1af)](_0x34851f['z'])),_0x523369=Math[_0x4c817f(0x1b3)](0x0,this[_0x4c817f(0x1c9)])*_0x838df3,_0x3097a4=new webgpu.Vector3(_0x523369*0x2,_0x523369*0x2,_0x523369*0x2);return _0x376aa6[_0x4c817f(0x1bf)](_0x4d7633,_0x3097a4),_0x376aa6;}['createDebugObject'](){const _0x186a53=_0x300730,_0x5654bb=new webgpu.Object3D();_0x5654bb[_0x186a53(0x1b5)]=_0x186a53(0x1c2);const _0x2029f0=new webgpu.SphereGeometry(0x1,0x18,0x10),_0x7b6f18=new webgpu.MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x186a53(0x1cc)]}),_0x47722a=new webgpu.Mesh(_0x2029f0,_0x7b6f18);return _0x47722a['name']=_0x186a53(0x1c7),_0x5654bb[_0x186a53(0x1b8)](_0x47722a),this[_0x186a53(0x1b1)]=_0x47722a,this['onDebugTick'](0x0),_0x5654bb;}[_0x300730(0x1b9)](_0x175d2d){const _0x55e604=_0x300730;this[_0x55e604(0x1b1)]=null;}[_0x300730(0x1cb)](_0x3bb307){const _0x2fc270=_0x300730,_0x1f0aad=this[_0x2fc270(0x1b1)];if(!_0x1f0aad)return;const _0x59e976=this[_0x2fc270(0x1bc)](),_0x46140b=Math['abs'](_0x59e976['x'])>1e-8?_0x59e976['x']:0x1,_0x288d70=Math[_0x2fc270(0x1af)](_0x59e976['y'])>1e-8?_0x59e976['y']:0x1,_0x9a5fbf=Math['abs'](_0x59e976['z'])>1e-8?_0x59e976['z']:0x1,_0x29f2f0=Math[_0x2fc270(0x1b3)](Math[_0x2fc270(0x1af)](_0x46140b),Math['abs'](_0x288d70),Math[_0x2fc270(0x1af)](_0x9a5fbf)),_0x2c1e0f=Math['max'](0x0,this[_0x2fc270(0x1c9)])*_0x29f2f0;_0x1f0aad['scale'][_0x2fc270(0x1c8)](_0x2c1e0f/_0x46140b,_0x2c1e0f/_0x288d70,_0x2c1e0f/_0x9a5fbf);}['onDebugStyleChanged'](){const _0x1ad107=_0x300730,_0x333526=this[_0x1ad107(0x1b1)];if(!_0x333526)return;const _0x3b485d=_0x333526[_0x1ad107(0x1b6)];_0x3b485d[_0x1ad107(0x1b7)][_0x1ad107(0x1b2)](this['debugColor']),_0x3b485d['opacity']=this[_0x1ad107(0x1cc)],_0x3b485d[_0x1ad107(0x1b0)]=this[_0x1ad107(0x1cc)]<0x1,_0x3b485d[_0x1ad107(0x1be)]=!![];}}
|
|
161
164
|
|
|
162
|
-
(function(_0x275cb4,_0x55199f){var _0x1458db=_0x1697,_0x3812b9=_0x275cb4();while(!![]){try{var _0x37851a=parseInt(_0x1458db(0x138))/0x1+-parseInt(_0x1458db(0x140))/0x2*(parseInt(_0x1458db(0x137))/0x3)+-parseInt(_0x1458db(0x13c))/0x4*(-parseInt(_0x1458db(0x13e))/0x5)+-parseInt(_0x1458db(0x13f))/0x6+parseInt(_0x1458db(0x139))/0x7+-parseInt(_0x1458db(0x141))/0x8*(-parseInt(_0x1458db(0x13a))/0x9)+-parseInt(_0x1458db(0x13d))/0xa*(parseInt(_0x1458db(0x13b))/0xb);if(_0x37851a===_0x55199f)break;else _0x3812b9['push'](_0x3812b9['shift']());}catch(_0x82dc99){_0x3812b9['push'](_0x3812b9['shift']());}}}(_0x47eb,0x27582));function _0x47eb(){var _0x14f664=['61855nLqwRf','762104UNTSSW','1031418jeSzFn','33NnTilA','468PQeCCg','241970oseVfC','11615bRGeTd','431658cqxFxp','424DleOre','8LWGDeu','3558Ynqojp'];_0x47eb=function(){return _0x14f664;};return _0x47eb();}function _0x1697(_0x3c3e46,_0x1d92b){_0x3c3e46=_0x3c3e46-0x137;var _0x47ebb1=_0x47eb();var _0x1697c7=_0x47ebb1[_0x3c3e46];return _0x1697c7;}
|
|
165
|
+
function _0x1273(_0x6b27b9,_0x43f9e1){_0x6b27b9=_0x6b27b9-0x164;const _0x1ea5a5=_0x1ea5();let _0x1273ce=_0x1ea5a5[_0x6b27b9];return _0x1273ce;}const _0x967c0c=_0x1273;(function(_0x2c83ac,_0x39c784){const _0x4191a7=_0x1273,_0x59e063=_0x2c83ac();while(!![]){try{const _0x42bd5b=parseInt(_0x4191a7(0x1a6))/0x1*(-parseInt(_0x4191a7(0x189))/0x2)+parseInt(_0x4191a7(0x1b0))/0x3*(-parseInt(_0x4191a7(0x190))/0x4)+-parseInt(_0x4191a7(0x17b))/0x5+-parseInt(_0x4191a7(0x1b6))/0x6*(parseInt(_0x4191a7(0x1b8))/0x7)+-parseInt(_0x4191a7(0x197))/0x8+parseInt(_0x4191a7(0x1a2))/0x9*(parseInt(_0x4191a7(0x173))/0xa)+parseInt(_0x4191a7(0x168))/0xb;if(_0x42bd5b===_0x39c784)break;else _0x59e063['push'](_0x59e063['shift']());}catch(_0x38917f){_0x59e063['push'](_0x59e063['shift']());}}}(_0x1ea5,0xc54f6));function _0x1ea5(){const _0x2c04bc=['min','_debugEntries','computeBoundingBox','from','multiply','raycastAll','push','25920752TAoVwN','destroy','boundingBox','setHex','mergeGeometries','normal','crossVectors','name','_sourceObject','point','floor','230uxKeby','parent','getZ','_tmpBoxCorner','abs','raycast','index','intersectRayTriangle','1780420HDVVLS','_mesh','sourceObject','_tmpQ','_tmpEdge1','geometry','setIndex','multiplyScalar','expandByPoint','distance','needsUpdate','setSourceObject','debugColor','lengthSq','5618AmlELl','position','array','_debugMaterial','_tmpAabb','clone','_tmpCorner','190648GmJhan','_tmpN','getWorldAABB','attributes','isMesh','length','debugEnabled','5831248mkmzSE','transparent','opacity','getIndex','copy','makeEmpty','max','_tmpP','destroyDebugObject','setAttribute','_tmpEdge2','312462uvtPwB','remove','getX','_tmpC','347xpigKO','_tmpB','obj','add','applyMatrix4','color','set','updateWorldMatrix','MeshColliderDebug','sub','6tEagYv','sort','_tmpT','intersectRayAabb','count','getY','383454MveuYK','threeObject','21afmjvq','addScaledVector','_tmpMat','createDebugObject','dispose','matrixWorld','_tmpA','dot','debugOpacity'];_0x1ea5=function(){return _0x2c04bc;};return _0x1ea5();}class MeshColliderComponent extends ColliderComponent{get[_0x967c0c(0x17d)](){const _0x2ca140=_0x967c0c;return this[_0x2ca140(0x170)];}constructor(_0x324fde,_0x1a8c86=null,_0x524153){const _0x1193b3=_0x967c0c;super(_0x324fde,_0x524153),this[_0x1193b3(0x170)]=null,this[_0x1193b3(0x17c)]=null,this['_debugEntries']=[],this[_0x1193b3(0x18c)]=null,this[_0x1193b3(0x18d)]=new webgpu.Box3(),this['_tmpMat']=new webgpu.Matrix4(),this[_0x1193b3(0x18f)]=new webgpu.Vector3(),this['_tmpBoxCorner']=Array[_0x1193b3(0x164)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x1193b3(0x1be)]=new webgpu.Vector3(),this['_tmpB']=new webgpu.Vector3(),this[_0x1193b3(0x1a5)]=new webgpu.Vector3(),this[_0x1193b3(0x17f)]=new webgpu.Vector3(),this[_0x1193b3(0x1a1)]=new webgpu.Vector3(),this[_0x1193b3(0x19e)]=new webgpu.Vector3(),this[_0x1193b3(0x1b2)]=new webgpu.Vector3(),this['_tmpQ']=new webgpu.Vector3(),this[_0x1193b3(0x191)]=new webgpu.Vector3(),this[_0x1193b3(0x16f)]='MeshColliderComponent',this['setSourceObject'](_0x1a8c86);}[_0x967c0c(0x186)](_0x29e285){const _0x41dbaa=_0x967c0c,_0x5461e5=this[_0x41dbaa(0x196)];_0x5461e5&&(this[_0x41dbaa(0x196)]=![]);this[_0x41dbaa(0x170)]=_0x29e285;this[_0x41dbaa(0x17c)]&&(this[_0x41dbaa(0x17c)][_0x41dbaa(0x180)][_0x41dbaa(0x1bc)](),this[_0x41dbaa(0x17c)]=null);if(!_0x29e285){_0x5461e5&&(this[_0x41dbaa(0x196)]=!![]);return;}const _0x479724=[];_0x29e285[_0x41dbaa(0x1ad)](!![],!![]);const _0x413254=_0x29e285[_0x41dbaa(0x1bd)][_0x41dbaa(0x18e)]()['invert']();_0x29e285['traverse'](_0x3857cb=>{const _0x123b1d=_0x41dbaa;if(_0x3857cb[_0x123b1d(0x194)]){const _0x220a19=_0x3857cb;if(_0x220a19[_0x123b1d(0x180)]){const _0x550d8b=_0x220a19[_0x123b1d(0x180)]['clone'](),_0x338b0e=_0x413254[_0x123b1d(0x18e)]()[_0x123b1d(0x165)](_0x220a19[_0x123b1d(0x1bd)]);_0x550d8b[_0x123b1d(0x1aa)](_0x338b0e),_0x479724['push'](_0x550d8b);}}});if(_0x479724[_0x41dbaa(0x195)]>0x0){const _0x1aede7=this[_0x41dbaa(0x16c)](_0x479724);if(_0x1aede7){const _0x4b7e79=new webgpu.Mesh(_0x1aede7);this[_0x41dbaa(0x17c)]=_0x4b7e79;}}_0x5461e5&&(this[_0x41dbaa(0x196)]=!![]);}['mergeGeometries'](_0x5d4069){const _0x25d5be=_0x967c0c;if(_0x5d4069[_0x25d5be(0x195)]===0x0)return null;if(_0x5d4069['length']===0x1)return _0x5d4069[0x0];let _0x3365c2=0x0,_0xba7af3=0x0;for(const _0x403ceb of _0x5d4069){_0x3365c2+=_0x403ceb[_0x25d5be(0x193)][_0x25d5be(0x18a)][_0x25d5be(0x1b4)],_0x403ceb[_0x25d5be(0x179)]?_0xba7af3+=_0x403ceb[_0x25d5be(0x179)]['count']:_0xba7af3+=_0x403ceb[_0x25d5be(0x193)][_0x25d5be(0x18a)][_0x25d5be(0x1b4)];}const _0x168b00=new Float32Array(_0x3365c2*0x3),_0x296bc8=new Uint32Array(_0xba7af3);let _0x26bdd1=0x0,_0x25b3bd=0x0;for(const _0xd531d1 of _0x5d4069){const _0x22abbe=_0xd531d1[_0x25d5be(0x193)][_0x25d5be(0x18a)][_0x25d5be(0x18b)],_0x328c55=_0xd531d1[_0x25d5be(0x193)][_0x25d5be(0x18a)][_0x25d5be(0x1b4)];for(let _0x15465d=0x0;_0x15465d<_0x328c55*0x3;_0x15465d++){_0x168b00[_0x26bdd1*0x3+_0x15465d]=_0x22abbe[_0x15465d];}if(_0xd531d1[_0x25d5be(0x179)]){const _0x1e3db8=_0xd531d1[_0x25d5be(0x179)][_0x25d5be(0x18b)];for(let _0x2f6454=0x0;_0x2f6454<_0xd531d1[_0x25d5be(0x179)]['count'];_0x2f6454++){_0x296bc8[_0x25b3bd+_0x2f6454]=_0x1e3db8[_0x2f6454]+_0x26bdd1;}_0x25b3bd+=_0xd531d1[_0x25d5be(0x179)][_0x25d5be(0x1b4)];}else {for(let _0x4bba1f=0x0;_0x4bba1f<_0x328c55;_0x4bba1f++){_0x296bc8[_0x25b3bd+_0x4bba1f]=_0x4bba1f+_0x26bdd1;}_0x25b3bd+=_0x328c55;}_0x26bdd1+=_0x328c55;}const _0x3d6dc6=new webgpu.BufferGeometry();return _0x3d6dc6[_0x25d5be(0x1a0)]('position',new webgpu.BufferAttribute(_0x168b00,0x3)),_0x3d6dc6[_0x25d5be(0x181)](new webgpu.BufferAttribute(_0x296bc8,0x1)),_0x3d6dc6;}[_0x967c0c(0x169)](){const _0x4800c9=_0x967c0c;this[_0x4800c9(0x196)]=![],this[_0x4800c9(0x17c)]&&(this[_0x4800c9(0x17c)][_0x4800c9(0x180)]['dispose'](),this['_mesh']=null),this[_0x4800c9(0x170)]=null,super[_0x4800c9(0x169)]();}[_0x967c0c(0x192)](_0xaf6483=new webgpu.Box3()){const _0x5c9c04=_0x967c0c;_0xaf6483[_0x5c9c04(0x19c)]();if(!this[_0x5c9c04(0x170)])return _0xaf6483;this[_0x5c9c04(0x170)][_0x5c9c04(0x1ad)](!![],!![]);const _0x508cfe=this[_0x5c9c04(0x176)];if(this['_mesh']){const _0x1cdecd=this[_0x5c9c04(0x17c)];_0x1cdecd[_0x5c9c04(0x1bd)][_0x5c9c04(0x19b)](this[_0x5c9c04(0x170)][_0x5c9c04(0x1bd)]);const _0x1c0c0d=_0x1cdecd['geometry'];if(_0x1c0c0d){!_0x1c0c0d[_0x5c9c04(0x16a)]&&_0x1c0c0d[_0x5c9c04(0x1c3)]();const _0x2fd31e=_0x1c0c0d['boundingBox'];if(_0x2fd31e){this[_0x5c9c04(0x1ba)][_0x5c9c04(0x19b)](_0x1cdecd[_0x5c9c04(0x1bd)]);const _0xc9b0bd=_0x2fd31e[_0x5c9c04(0x1c1)],_0x30118=_0x2fd31e[_0x5c9c04(0x19d)];_0x508cfe[0x0][_0x5c9c04(0x1ac)](_0xc9b0bd['x'],_0xc9b0bd['y'],_0xc9b0bd['z']),_0x508cfe[0x1][_0x5c9c04(0x1ac)](_0xc9b0bd['x'],_0xc9b0bd['y'],_0x30118['z']),_0x508cfe[0x2][_0x5c9c04(0x1ac)](_0xc9b0bd['x'],_0x30118['y'],_0xc9b0bd['z']),_0x508cfe[0x3][_0x5c9c04(0x1ac)](_0xc9b0bd['x'],_0x30118['y'],_0x30118['z']),_0x508cfe[0x4][_0x5c9c04(0x1ac)](_0x30118['x'],_0xc9b0bd['y'],_0xc9b0bd['z']),_0x508cfe[0x5][_0x5c9c04(0x1ac)](_0x30118['x'],_0xc9b0bd['y'],_0x30118['z']),_0x508cfe[0x6][_0x5c9c04(0x1ac)](_0x30118['x'],_0x30118['y'],_0xc9b0bd['z']),_0x508cfe[0x7]['set'](_0x30118['x'],_0x30118['y'],_0x30118['z']);for(const _0x26cf87 of _0x508cfe){_0x26cf87[_0x5c9c04(0x1aa)](this['_tmpMat']),_0xaf6483[_0x5c9c04(0x183)](_0x26cf87);}}}}return _0xaf6483;}[_0x967c0c(0x166)](_0x17ed39,_0x42a0e0,_0x1cd41d){const _0x5c0942=_0x967c0c;if(!this[_0x5c0942(0x170)])return [];this['_sourceObject'][_0x5c0942(0x1ad)](!![],!![]);const _0x132826=[];if(this[_0x5c0942(0x17c)]){const _0x4379aa=this[_0x5c0942(0x17c)];_0x4379aa[_0x5c0942(0x1bd)][_0x5c0942(0x19b)](this[_0x5c0942(0x170)]['matrixWorld']);const _0x24e1c7=_0x4379aa['geometry'];if(_0x24e1c7){!_0x24e1c7[_0x5c0942(0x16a)]&&_0x24e1c7['computeBoundingBox']();const _0x1547b4=_0x24e1c7[_0x5c0942(0x16a)];if(_0x1547b4){const _0x3180b0=this[_0x5c0942(0x18d)][_0x5c0942(0x19b)](_0x1547b4)[_0x5c0942(0x1aa)](_0x4379aa[_0x5c0942(0x1bd)]);if(this[_0x5c0942(0x1b3)](_0x17ed39,_0x42a0e0,_0x1cd41d,_0x3180b0)){const _0x23dc38=_0x24e1c7['getAttribute'](_0x5c0942(0x18a));if(_0x23dc38){const _0x5d1668=_0x24e1c7[_0x5c0942(0x19a)](),_0x345b1c=_0x5d1668?Math[_0x5c0942(0x172)](_0x5d1668[_0x5c0942(0x1b4)]/0x3):Math[_0x5c0942(0x172)](_0x23dc38[_0x5c0942(0x1b4)]/0x3);for(let _0x4c4960=0x0;_0x4c4960<_0x345b1c;_0x4c4960++){const _0x103ac4=_0x5d1668?_0x5d1668[_0x5c0942(0x1a4)](_0x4c4960*0x3+0x0):_0x4c4960*0x3+0x0,_0x135b16=_0x5d1668?_0x5d1668[_0x5c0942(0x1a4)](_0x4c4960*0x3+0x1):_0x4c4960*0x3+0x1,_0x49521c=_0x5d1668?_0x5d1668[_0x5c0942(0x1a4)](_0x4c4960*0x3+0x2):_0x4c4960*0x3+0x2;this[_0x5c0942(0x1be)][_0x5c0942(0x1ac)](_0x23dc38['getX'](_0x103ac4),_0x23dc38[_0x5c0942(0x1b5)](_0x103ac4),_0x23dc38[_0x5c0942(0x175)](_0x103ac4))[_0x5c0942(0x1aa)](_0x4379aa['matrixWorld']),this[_0x5c0942(0x1a7)][_0x5c0942(0x1ac)](_0x23dc38[_0x5c0942(0x1a4)](_0x135b16),_0x23dc38[_0x5c0942(0x1b5)](_0x135b16),_0x23dc38[_0x5c0942(0x175)](_0x135b16))[_0x5c0942(0x1aa)](_0x4379aa[_0x5c0942(0x1bd)]),this['_tmpC'][_0x5c0942(0x1ac)](_0x23dc38[_0x5c0942(0x1a4)](_0x49521c),_0x23dc38[_0x5c0942(0x1b5)](_0x49521c),_0x23dc38[_0x5c0942(0x175)](_0x49521c))[_0x5c0942(0x1aa)](_0x4379aa[_0x5c0942(0x1bd)]);const _0x573fc6=this[_0x5c0942(0x17a)](_0x17ed39,_0x42a0e0,this[_0x5c0942(0x1be)],this[_0x5c0942(0x1a7)],this[_0x5c0942(0x1a5)],_0x1cd41d);_0x573fc6&&_0x132826[_0x5c0942(0x167)]({'distance':_0x573fc6['distance'],'point':_0x573fc6[_0x5c0942(0x171)]['clone'](),'normal':_0x573fc6[_0x5c0942(0x16d)][_0x5c0942(0x18e)]()});}}}}}}return _0x132826[_0x5c0942(0x1b1)]((_0x28ab5e,_0x3bac9d)=>_0x28ab5e['distance']-_0x3bac9d[_0x5c0942(0x184)]);}[_0x967c0c(0x178)](_0x579655,_0x174aec,_0x36c15c){const _0xf86cba=_0x967c0c,_0x557311=this[_0xf86cba(0x166)](_0x579655,_0x174aec,_0x36c15c);if(_0x557311[_0xf86cba(0x195)]>0x0)return _0x557311[0x0];return null;}['intersectRayAabb'](_0x4cd6d0,_0x491d34,_0x25d659,_0x3775dd){const _0x28159b=_0x967c0c;let _0x1ed6c8=0x0,_0x2b2d1d=_0x25d659;const _0x4d081f=1e-8,_0x453969=_0x45a64e=>{const _0x2d66f7=_0x1273,_0x356050=_0x4cd6d0[_0x45a64e],_0x270184=_0x491d34[_0x45a64e],_0x4a4aff=_0x3775dd[_0x2d66f7(0x1c1)][_0x45a64e],_0x459e70=_0x3775dd['max'][_0x45a64e];if(Math[_0x2d66f7(0x177)](_0x270184)<_0x4d081f)return _0x356050>=_0x4a4aff&&_0x356050<=_0x459e70;const _0xf047c0=0x1/_0x270184;let _0x4b2622,_0x310e47;return _0x270184>=0x0?(_0x4b2622=(_0x4a4aff-_0x356050)*_0xf047c0,_0x310e47=(_0x459e70-_0x356050)*_0xf047c0):(_0x4b2622=(_0x459e70-_0x356050)*_0xf047c0,_0x310e47=(_0x4a4aff-_0x356050)*_0xf047c0),_0x4b2622>_0x1ed6c8&&(_0x1ed6c8=_0x4b2622),_0x310e47<_0x2b2d1d&&(_0x2b2d1d=_0x310e47),_0x1ed6c8<=_0x2b2d1d;};if(!_0x453969('x')||!_0x453969('y')||!_0x453969('z'))return ![];const _0x433d10=Math[_0x28159b(0x19d)](0x0,_0x1ed6c8);return _0x433d10<=_0x25d659;}[_0x967c0c(0x17a)](_0x4252b2,_0x2dadf1,_0x830c46,_0x1f9ebb,_0x2156c4,_0x44acce){const _0x5713ce=_0x967c0c,_0x3733df=1e-12,_0x32302b=this[_0x5713ce(0x17f)][_0x5713ce(0x19b)](_0x1f9ebb)['sub'](_0x830c46),_0x36ac96=this[_0x5713ce(0x1a1)][_0x5713ce(0x19b)](_0x2156c4)[_0x5713ce(0x1af)](_0x830c46),_0x46077d=this['_tmpP'][_0x5713ce(0x16e)](_0x2dadf1,_0x36ac96),_0x4b97af=_0x32302b[_0x5713ce(0x1bf)](_0x46077d);if(Math[_0x5713ce(0x177)](_0x4b97af)<_0x3733df)return null;const _0x55a5d3=0x1/_0x4b97af,_0x3bd206=this[_0x5713ce(0x1b2)][_0x5713ce(0x19b)](_0x4252b2)[_0x5713ce(0x1af)](_0x830c46),_0x18f054=_0x3bd206[_0x5713ce(0x1bf)](_0x46077d)*_0x55a5d3;if(_0x18f054<0x0||_0x18f054>0x1)return null;const _0x3eebb0=this[_0x5713ce(0x17e)]['crossVectors'](_0x3bd206,_0x32302b),_0xc8c6b0=_0x2dadf1[_0x5713ce(0x1bf)](_0x3eebb0)*_0x55a5d3;if(_0xc8c6b0<0x0||_0x18f054+_0xc8c6b0>0x1)return null;const _0x5b0e81=_0x36ac96['dot'](_0x3eebb0)*_0x55a5d3;if(_0x5b0e81<0x0||_0x5b0e81>_0x44acce)return null;const _0x32dc09=this[_0x5713ce(0x191)][_0x5713ce(0x16e)](_0x32302b,_0x36ac96),_0x57d200=_0x32dc09[_0x5713ce(0x188)]();_0x57d200>_0x3733df&&_0x32dc09[_0x5713ce(0x182)](0x1/Math['sqrt'](_0x57d200));_0x32dc09[_0x5713ce(0x1bf)](_0x2dadf1)>0x0&&_0x32dc09[_0x5713ce(0x182)](-1);const _0x47f595=this[_0x5713ce(0x18f)][_0x5713ce(0x19b)](_0x4252b2)[_0x5713ce(0x1b9)](_0x2dadf1,_0x5b0e81);return {'point':_0x47f595,'normal':_0x32dc09,'distance':_0x5b0e81};}['getDebugAttachParent'](){const _0x5baf75=_0x967c0c;return this[_0x5baf75(0x1b7)];}[_0x967c0c(0x1bb)](){const _0x4d654d=_0x967c0c;if(!this[_0x4d654d(0x170)])return null;const _0x4473ba=new webgpu.Object3D();_0x4473ba[_0x4d654d(0x16f)]=_0x4d654d(0x1ae),this['_debugEntries']=[],this[_0x4d654d(0x18c)]=new webgpu.MeshBasicMaterial({'color':this[_0x4d654d(0x187)],'wireframe':!![],'transparent':!![],'opacity':this[_0x4d654d(0x1c0)]});if(this[_0x4d654d(0x17c)]){const _0x442a56=this[_0x4d654d(0x17c)],_0x51f624=_0x442a56[_0x4d654d(0x180)];if(_0x51f624){const _0x3ca6e4=new webgpu.Mesh(_0x51f624,this[_0x4d654d(0x18c)]);_0x4473ba[_0x4d654d(0x1a9)](_0x3ca6e4),this[_0x4d654d(0x1c2)][_0x4d654d(0x167)]({'parent':_0x4473ba,'obj':_0x3ca6e4});}}return _0x4473ba;}[_0x967c0c(0x19f)](_0x1377d6){const _0x5684b9=_0x967c0c;for(const _0x457064 of this[_0x5684b9(0x1c2)]){_0x457064[_0x5684b9(0x174)][_0x5684b9(0x1a3)](_0x457064[_0x5684b9(0x1a8)]);}this[_0x5684b9(0x1c2)]=[],this[_0x5684b9(0x18c)]=null;}['onDebugStyleChanged'](){const _0x5dc263=_0x967c0c;if(!this[_0x5dc263(0x18c)])return;this[_0x5dc263(0x18c)][_0x5dc263(0x1ab)][_0x5dc263(0x16b)](this[_0x5dc263(0x187)]),this['_debugMaterial'][_0x5dc263(0x199)]=this[_0x5dc263(0x1c0)],this[_0x5dc263(0x18c)][_0x5dc263(0x198)]=this[_0x5dc263(0x1c0)]<0x1,this[_0x5dc263(0x18c)][_0x5dc263(0x185)]=!![];}}
|
|
163
166
|
|
|
164
|
-
(function(
|
|
167
|
+
(function(_0x17b927,_0x5badfa){var _0x10f5f9=_0x5ddd,_0x5c3bd4=_0x17b927();while(!![]){try{var _0x13e3b9=-parseInt(_0x10f5f9(0x192))/0x1*(parseInt(_0x10f5f9(0x19a))/0x2)+-parseInt(_0x10f5f9(0x197))/0x3+-parseInt(_0x10f5f9(0x199))/0x4*(-parseInt(_0x10f5f9(0x190))/0x5)+parseInt(_0x10f5f9(0x195))/0x6*(parseInt(_0x10f5f9(0x196))/0x7)+parseInt(_0x10f5f9(0x19c))/0x8*(parseInt(_0x10f5f9(0x19b))/0x9)+-parseInt(_0x10f5f9(0x191))/0xa*(parseInt(_0x10f5f9(0x193))/0xb)+parseInt(_0x10f5f9(0x198))/0xc*(parseInt(_0x10f5f9(0x194))/0xd);if(_0x13e3b9===_0x5badfa)break;else _0x5c3bd4['push'](_0x5c3bd4['shift']());}catch(_0x155b51){_0x5c3bd4['push'](_0x5c3bd4['shift']());}}}(_0x2ba2,0xccb12));function _0x2ba2(){var _0x40bb0a=['108tVYAOX','291928TSLwMx','20CWvFat','30kJuobA','95nYvjBH','811107DqhOZg','1160939fXAPSu','29418qPQKNg','959YWngvn','3048321CLOFuL','132VOaiEw','1208540KIdBzy','25784bWBmgD'];_0x2ba2=function(){return _0x40bb0a;};return _0x2ba2();}function _0x5ddd(_0x33a4e4,_0x33a249){_0x33a4e4=_0x33a4e4-0x190;var _0x2ba2f4=_0x2ba2();var _0x5ddd75=_0x2ba2f4[_0x33a4e4];return _0x5ddd75;}
|
|
168
|
+
|
|
169
|
+
(function(_0x2d2fe1,_0x16400b){var _0x417f34=_0x2850,_0x3b73d2=_0x2d2fe1();while(!![]){try{var _0xbe25c1=-parseInt(_0x417f34(0x115))/0x1+parseInt(_0x417f34(0x117))/0x2*(-parseInt(_0x417f34(0x113))/0x3)+parseInt(_0x417f34(0x118))/0x4+-parseInt(_0x417f34(0x11a))/0x5*(parseInt(_0x417f34(0x114))/0x6)+-parseInt(_0x417f34(0x116))/0x7+-parseInt(_0x417f34(0x119))/0x8+parseInt(_0x417f34(0x112))/0x9;if(_0xbe25c1===_0x16400b)break;else _0x3b73d2['push'](_0x3b73d2['shift']());}catch(_0x197561){_0x3b73d2['push'](_0x3b73d2['shift']());}}}(_0x5230,0xc88bf));function _0x2850(_0x2aa24c,_0x3bb215){_0x2aa24c=_0x2aa24c-0x112;var _0x52305d=_0x5230();var _0x285066=_0x52305d[_0x2aa24c];return _0x285066;}function _0x5230(){var _0x1a7bff=['10340616qnzMPe','95nHzmuJ','43114563HxSlHI','721290EZBTXk','229974yghrow','277931ePrGqD','8555673KddpuR','10kysLAX','3016320CMikMl'];_0x5230=function(){return _0x1a7bff;};return _0x5230();}
|
|
165
170
|
|
|
166
171
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
167
172
|
exports.Actor = Actor;
|