lythreeframe 2.0.6 → 2.0.8
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 +68 -68
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +68 -68
- package/dist/bundle.esm.js.map +1 -1
- package/dist/src/AssetManagement/AssetManager.d.ts +2 -2
- package/dist/src/Factory/CameraFactory.d.ts +1 -1
- package/dist/src/Frame/Controller.d.ts +2 -2
- package/dist/src/Frame/Parameters/AppParameter.d.ts +6 -6
- package/dist/src/Frame/Parameters/ViewportParameters.d.ts +3 -3
- package/dist/src/Frame/Rendering/PostProcess.d.ts +1 -1
- package/dist/src/Frame/Rendering/WebGLPostProcess.d.ts +1 -1
- package/dist/src/Frame/Viewport.d.ts +5 -5
- package/dist/src/Frame/World.d.ts +1 -1
- package/dist/src/Object/Actor.d.ts +1 -1
- package/dist/src/Object/Actors/Light/AmbientLightActor.d.ts +1 -1
- package/dist/src/Object/Actors/Light/DirectionalLightActor.d.ts +1 -1
- package/dist/src/Object/Components/Component.d.ts +1 -1
- package/dist/src/Object/Components/Light/AmbientLight/AmbientLightComponent.d.ts +1 -1
- package/dist/src/Object/Components/Light/DirectionalLight/DirectionalLightComponent.d.ts +1 -1
- package/dist/src/Object/Components/Light/LightComponent.d.ts +1 -1
- package/dist/src/Object/Components/SceneComponent.d.ts +3 -3
- package/dist/src/Physics/MeshColliderComponent.d.ts +1 -1
- package/dist/src/Physics/PhysicsWorld.d.ts +1 -1
- package/dist/src/PostProcess/Param/AAParam.d.ts +1 -1
- package/dist/src/PostProcess/Param/Bloom.d.ts +1 -1
- package/dist/src/PostProcess/Param/DOF.d.ts +1 -1
- package/dist/src/PostProcess/Param/GTAO.d.ts +1 -1
- package/dist/src/PostProcess/Param/LensFlare.d.ts +1 -1
- package/dist/src/PostProcess/Param/Outline.d.ts +2 -2
- package/dist/src/PostProcess/Param/SSR.d.ts +1 -1
- package/dist/src/ThreeJsApp.d.ts +7 -4
- package/package.json +1 -1
package/dist/bundle.esm.js
CHANGED
|
@@ -23,143 +23,143 @@ import { ShaderPass } from 'three/examples/jsm/postprocessing/ShaderPass.js';
|
|
|
23
23
|
import { FXAAShader } from 'three/examples/jsm/shaders/FXAAShader.js';
|
|
24
24
|
import { gsap } from 'gsap';
|
|
25
25
|
import { SkyMesh } from 'three/examples/jsm/objects/SkyMesh.js';
|
|
26
|
-
import
|
|
26
|
+
import _0x46d913 from 'earcut';
|
|
27
27
|
import { CSS2DObject } from 'three/examples/jsm/renderers/CSS2DRenderer.js';
|
|
28
28
|
import { TransformControls } from 'three/examples/jsm/controls/TransformControls.js';
|
|
29
29
|
|
|
30
|
-
function
|
|
30
|
+
const _0x2bf41c=_0x1e1f;function _0x1e1f(_0x397ed2,_0x5435cb){_0x397ed2=_0x397ed2-0xed;const _0x86d5eb=_0x86d5();let _0x1e1fd8=_0x86d5eb[_0x397ed2];return _0x1e1fd8;}(function(_0x5218bc,_0x1b3fa2){const _0x233351=_0x1e1f,_0xe24e51=_0x5218bc();while(!![]){try{const _0x5a0e1f=-parseInt(_0x233351(0xfa))/0x1*(parseInt(_0x233351(0xfb))/0x2)+parseInt(_0x233351(0xf2))/0x3*(-parseInt(_0x233351(0xf8))/0x4)+-parseInt(_0x233351(0xf5))/0x5+parseInt(_0x233351(0xfc))/0x6+parseInt(_0x233351(0xf0))/0x7+-parseInt(_0x233351(0xf1))/0x8+parseInt(_0x233351(0xfd))/0x9*(parseInt(_0x233351(0xf7))/0xa);if(_0x5a0e1f===_0x1b3fa2)break;else _0xe24e51['push'](_0xe24e51['shift']());}catch(_0x27ae8f){_0xe24e51['push'](_0xe24e51['shift']());}}}(_0x86d5,0xdeec7));function _0x86d5(){const _0x26a282=['10930432isJrzB','474423ZCVyZQ','bCanTick','uuid','9110225VpRrny','addTickEvent','10nIQWcw','32QKNLGo','tick','1354cWlVyB','418PxtqIU','3566340uETUWa','37180809OlMKDg','removeTickEvent','_uuid','isTickEnabled','push','indexOf','tickEvents','generateUUID','destroy','6467769RVjNDF'];_0x86d5=function(){return _0x26a282;};return _0x86d5();}class BaseObject{get[_0x2bf41c(0x100)](){return this['bCanTick'];}set[_0x2bf41c(0x100)](_0x22891e){const _0x392247=_0x2bf41c;this[_0x392247(0xf3)]=_0x22891e;}get[_0x2bf41c(0xf4)](){return this['_uuid'];}constructor(_0x3bafed=MathUtils[_0x2bf41c(0xee)]()){const _0x2f3360=_0x2bf41c;this[_0x2f3360(0xf3)]=![],this[_0x2f3360(0xed)]=[],this[_0x2f3360(0xf3)]=![],this[_0x2f3360(0xff)]=_0x3bafed;}[_0x2bf41c(0xf9)](_0x5e37c7){const _0x5442ee=_0x2bf41c;if(!this[_0x5442ee(0xf3)])return;this['tickEvents']['forEach'](_0x402155=>{_0x402155(_0x5e37c7);});}[_0x2bf41c(0xf6)](_0x2d280f){const _0x439e55=_0x2bf41c;this[_0x439e55(0xed)][_0x439e55(0x101)](_0x2d280f);}[_0x2bf41c(0xfe)](_0x1ecf40){const _0x58b0e6=_0x2bf41c;let _0x535ef1=this[_0x58b0e6(0xed)][_0x58b0e6(0x102)](_0x1ecf40);_0x535ef1!=-1&&this[_0x58b0e6(0xed)]['splice'](_0x535ef1,0x1);}['clearTickEvents'](){const _0x20c67f=_0x2bf41c;this[_0x20c67f(0xed)]=[];}[_0x2bf41c(0xef)](){}}
|
|
31
31
|
|
|
32
|
-
const
|
|
32
|
+
const _0x417ec7=_0x9a21;function _0x9a21(_0xefb23c,_0xe76a55){_0xefb23c=_0xefb23c-0x173;const _0x4d57ce=_0x4d57();let _0x9a21bc=_0x4d57ce[_0xefb23c];return _0x9a21bc;}(function(_0x381115,_0x31d575){const _0x51c40a=_0x9a21,_0xfb4c0e=_0x381115();while(!![]){try{const _0x371847=parseInt(_0x51c40a(0x184))/0x1*(parseInt(_0x51c40a(0x180))/0x2)+-parseInt(_0x51c40a(0x188))/0x3+-parseInt(_0x51c40a(0x186))/0x4*(parseInt(_0x51c40a(0x182))/0x5)+-parseInt(_0x51c40a(0x174))/0x6+-parseInt(_0x51c40a(0x181))/0x7+-parseInt(_0x51c40a(0x17f))/0x8+-parseInt(_0x51c40a(0x17e))/0x9*(-parseInt(_0x51c40a(0x17d))/0xa);if(_0x371847===_0x31d575)break;else _0xfb4c0e['push'](_0xfb4c0e['shift']());}catch(_0x47a2a0){_0xfb4c0e['push'](_0xfb4c0e['shift']());}}}(_0x4d57,0x5fdd8));class Component extends BaseObject{set['parentActor'](_0x553457){this['_parentActor']=_0x553457;}get[_0x417ec7(0x183)](){const _0x3ef5d0=_0x417ec7;return this[_0x3ef5d0(0x189)];}get[_0x417ec7(0x187)](){const _0xc6716b=_0x417ec7;return this[_0xc6716b(0x173)];}set['threeObject'](_0x3dfdf3){const _0x2305d2=_0x417ec7;this[_0x2305d2(0x173)]=_0x3dfdf3,this[_0x2305d2(0x173)]&&(this[_0x2305d2(0x173)][_0x2305d2(0x175)]['LYObject']=this);}get[_0x417ec7(0x177)](){const _0x555dad=_0x417ec7;return this[_0x555dad(0x17a)];}set[_0x417ec7(0x177)](_0x135a46){const _0x19130b=_0x417ec7;this[_0x19130b(0x17a)]=_0x135a46,this[_0x19130b(0x173)]&&(this['obj'][_0x19130b(0x177)]=_0x135a46);}constructor(_0x3b6185){const _0xe4b164=_0x417ec7;super(_0x3b6185?_0x3b6185:MathUtils['generateUUID']()),this['obj']=null,this['_parentActor']=null,this['_name']=_0xe4b164(0x17c),this[_0xe4b164(0x189)]=null;let _0x20fb86=this[_0xe4b164(0x179)]();_0x20fb86?(this[_0xe4b164(0x173)]=_0x20fb86,this[_0xe4b164(0x17a)]=this[_0xe4b164(0x173)][_0xe4b164(0x185)]+_0xe4b164(0x17c)):console[_0xe4b164(0x178)]('Component\x20createDefaultObject\x20return\x20null');}['createDefaultObject'](_0x5619cf){return null;}[_0x417ec7(0x176)](){const _0x12998d=_0x417ec7;if(!this[_0x12998d(0x173)])return;}[_0x417ec7(0x17b)](){const _0x375d75=_0x417ec7;this[_0x375d75(0x176)]();}}function _0x4d57(){const _0xe9d970=['type','33876mftvey','threeObject','2159676EjoxNX','_parentActor','obj','446256iEhFSi','userData','destroyObject','name','warn','createDefaultObject','_name','destroy','Component','220Aukpfs','808173uasfKr','3708032KQjsdx','6jaBjoL','2350278BGSpVi','145tliCxg','parentActor','85419ARqEVS'];_0x4d57=function(){return _0xe9d970;};return _0x4d57();}
|
|
33
33
|
|
|
34
|
-
function
|
|
34
|
+
function _0x2dab(_0x2d8e4f,_0x3a80ae){_0x2d8e4f=_0x2d8e4f-0x1ef;var _0x2257d0=_0x2257();var _0x2dabd1=_0x2257d0[_0x2d8e4f];return _0x2dabd1;}(function(_0x838e8a,_0x3ff58b){var _0x36c166=_0x2dab,_0x46a35d=_0x838e8a();while(!![]){try{var _0x16079e=-parseInt(_0x36c166(0x1f0))/0x1+-parseInt(_0x36c166(0x1f6))/0x2*(-parseInt(_0x36c166(0x1f3))/0x3)+parseInt(_0x36c166(0x1f5))/0x4+parseInt(_0x36c166(0x1ef))/0x5+-parseInt(_0x36c166(0x1f4))/0x6+-parseInt(_0x36c166(0x1f8))/0x7+parseInt(_0x36c166(0x1f1))/0x8;if(_0x16079e===_0x3ff58b)break;else _0x46a35d['push'](_0x46a35d['shift']());}catch(_0x1b5f8b){_0x46a35d['push'](_0x46a35d['shift']());}}}(_0x2257,0xe073a));var AttachmentRules;(function(_0x4a68ca){var _0x5749a3=_0x2dab;_0x4a68ca[_0x4a68ca[_0x5749a3(0x1f7)]=0x1]=_0x5749a3(0x1f7),_0x4a68ca[_0x4a68ca['KeepRelative']=0x2]=_0x5749a3(0x1f2);}(AttachmentRules||(AttachmentRules={})));function _0x2257(){var _0x4bfce2=['814395yDApeT','17254144MHShxZ','KeepRelative','3697167XdjSCL','6696708PAhHCx','1282892uZGmpz','2qPDorK','KeepWorld','6234858WmUSav','153405HHBGrX'];_0x2257=function(){return _0x4bfce2;};return _0x2257();}
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
const _0x3afa67=_0x1aae;(function(_0x164e2c,_0x1a4c77){const _0x2a4cb9=_0x1aae,_0x75948b=_0x164e2c();while(!![]){try{const _0x547fa4=parseInt(_0x2a4cb9(0x11f))/0x1+-parseInt(_0x2a4cb9(0x116))/0x2*(-parseInt(_0x2a4cb9(0x10d))/0x3)+-parseInt(_0x2a4cb9(0x114))/0x4*(-parseInt(_0x2a4cb9(0x118))/0x5)+-parseInt(_0x2a4cb9(0x11b))/0x6+parseInt(_0x2a4cb9(0x11e))/0x7+parseInt(_0x2a4cb9(0x110))/0x8*(parseInt(_0x2a4cb9(0x119))/0x9)+parseInt(_0x2a4cb9(0x10f))/0xa*(-parseInt(_0x2a4cb9(0x112))/0xb);if(_0x547fa4===_0x1a4c77)break;else _0x75948b['push'](_0x75948b['shift']());}catch(_0x50a447){_0x75948b['push'](_0x75948b['shift']());}}}(_0x2f2e,0x7c5b3));function _0x2f2e(){const _0x3be2d8=['43590sgbwUj','29936mgUMbb','forEach','6798bSXbXA','clear','2248JyEgaW','push','20XwZrMK','indexOf','6610HhLzIh','1863JtVSEp','functions','973944lipoEj','splice','add','1270619PoMfqc','765654KAaxST','270246JEgEfz','remove'];_0x2f2e=function(){return _0x3be2d8;};return _0x2f2e();}function _0x1aae(_0x463224,_0x1d7b31){_0x463224=_0x463224-0x10d;const _0x2f2ee5=_0x2f2e();let _0x1aae0d=_0x2f2ee5[_0x463224];return _0x1aae0d;}class Delegate{constructor(){const _0x1d7985=_0x1aae;this[_0x1d7985(0x11a)]=[];}['broadcast'](..._0x28191a){const _0x4ddfc5=_0x1aae;this[_0x4ddfc5(0x11a)][_0x4ddfc5(0x111)](_0x25ef96=>_0x25ef96(..._0x28191a));}[_0x3afa67(0x11d)](_0x35b881){const _0x37345b=_0x3afa67;this[_0x37345b(0x11a)][_0x37345b(0x115)](_0x35b881);}[_0x3afa67(0x10e)](_0x34de0c){const _0x39e768=_0x3afa67,_0x52a9dc=this[_0x39e768(0x11a)][_0x39e768(0x117)](_0x34de0c);_0x52a9dc>=0x0&&this['functions'][_0x39e768(0x11c)](_0x52a9dc,0x1);}[_0x3afa67(0x113)](){this['functions']=[];}}
|
|
37
37
|
|
|
38
|
-
function _0x5a6a(_0x4c6c3a,_0x43fbfa){_0x4c6c3a=_0x4c6c3a-0x10b;const _0x3f153d=_0x3f15();let _0x5a6a65=_0x3f153d[_0x4c6c3a];return _0x5a6a65;}const _0x3896a0=_0x5a6a;(function(_0x4be23d,_0x545150){const _0x4db581=_0x5a6a,_0x57ebda=_0x4be23d();while(!![]){try{const _0x1fb603=parseInt(_0x4db581(0x11a))/0x1+parseInt(_0x4db581(0x15f))/0x2+-parseInt(_0x4db581(0x128))/0x3*(-parseInt(_0x4db581(0x11e))/0x4)+parseInt(_0x4db581(0x171))/0x5+-parseInt(_0x4db581(0x130))/0x6+parseInt(_0x4db581(0x120))/0x7*(parseInt(_0x4db581(0x145))/0x8)+-parseInt(_0x4db581(0x124))/0x9*(parseInt(_0x4db581(0x161))/0xa);if(_0x1fb603===_0x545150)break;else _0x57ebda['push'](_0x57ebda['shift']());}catch(_0x1caebd){_0x57ebda['push'](_0x57ebda['shift']());}}}(_0x3f15,0x98e9e));class SceneComponent extends Component{set['parentActor'](_0x500358){const _0x21df5f=_0x5a6a;this[_0x21df5f(0x117)][_0x21df5f(0x15d)](_0x33f46b=>{const _0x3307ed=_0x21df5f;_0x33f46b[_0x3307ed(0x122)]=_0x500358;}),this[_0x21df5f(0x163)]=_0x500358;}get['parentActor'](){return this['_parentActor'];}get[_0x3896a0(0x152)](){const _0x55c564=_0x3896a0;return this[_0x55c564(0x12a)];}get[_0x3896a0(0x12b)](){const _0x1d2992=_0x3896a0;return this[_0x1d2992(0x14a)];}get['onClickDelegate'](){const _0x516fbb=_0x3896a0;return this[_0x516fbb(0x164)];}get['onDoubleClickDelegate'](){const _0x475535=_0x3896a0;return this[_0x475535(0x174)];}get['world'](){const _0x32b913=_0x3896a0;return this['app'][_0x32b913(0x172)];}constructor(_0x29a296,_0x4233e1){const _0x5a7ff6=_0x3896a0;super(_0x4233e1),this[_0x5a7ff6(0x16c)]=![],this['bCanClick']=![],this[_0x5a7ff6(0x12a)]=new Delegate(),this[_0x5a7ff6(0x14a)]=new Delegate(),this[_0x5a7ff6(0x164)]=new Delegate(),this[_0x5a7ff6(0x174)]=new Delegate(),this[_0x5a7ff6(0x14c)]=_0x29a296,this[_0x5a7ff6(0x178)]='SceneComponent';}[_0x3896a0(0x115)](){return new Object3D();}[_0x3896a0(0x13b)](_0xb0731e){const _0x5045e0=_0x3896a0;super[_0x5045e0(0x13b)](_0xb0731e),this[_0x5045e0(0x117)][_0x5045e0(0x15d)](_0xcc723c=>{const _0x1cd5a2=_0x5045e0;_0xcc723c[_0x1cd5a2(0x13b)](_0xb0731e);});}get[_0x3896a0(0x150)](){const _0x569f51=_0x3896a0;if(!this[_0x569f51(0x138)])return ![];return this['obj'][_0x569f51(0x173)];}[_0x3896a0(0x15e)](_0x57c862){const _0x10054d=_0x3896a0;if(!this['obj'])throw Error(_0x10054d(0x15c));this[_0x10054d(0x138)]['visible']=_0x57c862,this['world']&&this[_0x10054d(0x172)][_0x10054d(0x16a)][_0x10054d(0x10d)]();}[_0x3896a0(0x125)](_0x5e78a4){const _0x343c44=_0x3896a0;if(!this[_0x343c44(0x138)])throw Error('threeObject\x20is\x20invalid');this[_0x343c44(0x138)][_0x343c44(0x126)][_0x343c44(0x11c)](_0x5e78a4);let _0x268e0e=this['childrenComponents'];_0x268e0e[_0x343c44(0x15d)](_0x4efac8=>{_0x4efac8['setLayers'](_0x5e78a4);});}[_0x3896a0(0x159)](_0x26be6e,_0x374681=!![]){const _0x2d760e=_0x3896a0;if(this[_0x2d760e(0x12c)]===_0x26be6e)return this;if(_0x374681){let _0x36699f=this[_0x2d760e(0x117)];for(let _0xd172e3=0x0;_0xd172e3<_0x36699f['length'];++_0xd172e3){let _0x1efb20=_0x36699f[_0xd172e3][_0x2d760e(0x159)](_0x26be6e,_0x374681);if(_0x1efb20)return _0x1efb20;}}else {let _0x2172b1=this['childrenComponents'];for(let _0xd762d8=0x0;_0xd762d8<_0x2172b1[_0x2d760e(0x12e)];++_0xd762d8){let _0x29095d=_0x2172b1[_0xd762d8];if(_0x29095d[_0x2d760e(0x12c)]===_0x26be6e)return _0x29095d;}}return null;}[_0x3896a0(0x13d)](){const _0x101243=_0x3896a0;let _0x154466=new Vector3();return this[_0x101243(0x135)]()[_0x101243(0x10b)](_0x154466),this['getWorldPosition']();}['getBoundsTopCenterPositionWS'](){const _0x4d436d=_0x3896a0;let _0x572815=new Vector3(),_0x54f914=this[_0x4d436d(0x135)]();return _0x54f914['getCenter'](_0x572815),_0x572815['y']=_0x54f914['max']['y'],_0x572815;}['getBoundsBottomCenterPositionWS'](){const _0x10a276=_0x3896a0;let _0xce79c8=new Vector3(),_0x1aacb7=this[_0x10a276(0x135)]();return _0x1aacb7['getCenter'](_0xce79c8),_0xce79c8['y']=_0x1aacb7[_0x10a276(0x137)]['y'],_0xce79c8;}[_0x3896a0(0x135)](){const _0x49ba73=_0x3896a0;if(!this[_0x49ba73(0x138)])throw Error(_0x49ba73(0x15c));let _0x11d638=new Box3();return _0x11d638[_0x49ba73(0x168)](this['obj'],![]),_0x11d638[_0x49ba73(0x134)]()&&(_0x11d638['min']=_0x11d638[_0x49ba73(0x139)]=this[_0x49ba73(0x147)]()),_0x11d638;}get[_0x3896a0(0x14f)](){const _0x9f0859=_0x3896a0;var _0x217471,_0x42f50c;if(!this[_0x9f0859(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x381e31=(_0x42f50c=(_0x217471=this[_0x9f0859(0x138)])===null||_0x217471===void 0?void 0:_0x217471[_0x9f0859(0x148)])===null||_0x42f50c===void 0?void 0:_0x42f50c[_0x9f0859(0x170)]['LYObject'];if(!_0x381e31)return null;if(!(_0x381e31 instanceof SceneComponent))return null;if(_0x381e31[_0x9f0859(0x122)]!==this[_0x9f0859(0x122)])return null;return _0x381e31;}get[_0x3896a0(0x117)](){const _0x32e0ec=_0x3896a0;if(!this[_0x32e0ec(0x138)])throw Error(_0x32e0ec(0x15c));let _0x5e8a8f=[];for(let _0x20da0c=0x0;_0x20da0c<this[_0x32e0ec(0x138)][_0x32e0ec(0x10c)]['length'];++_0x20da0c){if(!this['obj'][_0x32e0ec(0x10c)][_0x20da0c][_0x32e0ec(0x170)][_0x32e0ec(0x13a)])continue;this['obj'][_0x32e0ec(0x10c)][_0x20da0c][_0x32e0ec(0x170)][_0x32e0ec(0x13a)][_0x32e0ec(0x122)]===this[_0x32e0ec(0x122)]&&_0x5e8a8f[_0x32e0ec(0x14b)](this[_0x32e0ec(0x138)]['children'][_0x20da0c][_0x32e0ec(0x170)][_0x32e0ec(0x13a)]);}return _0x5e8a8f;}[_0x3896a0(0x12d)](_0x5d9a46){const _0x3e3b22=_0x3896a0;let _0x6c9abc=this[_0x3e3b22(0x117)];for(let _0x23169b=0x0;_0x23169b<_0x6c9abc['length'];++_0x23169b){_0x6c9abc[_0x23169b][_0x3e3b22(0x12d)](_0x5d9a46);}}[_0x3896a0(0x12f)](){const _0x1f204b=_0x3896a0;this[_0x1f204b(0x158)]=![],this[_0x1f204b(0x155)]=![],this['detachFromParentActor'](),this[_0x1f204b(0x144)](),this[_0x1f204b(0x15b)](),this[_0x1f204b(0x15a)](),this[_0x1f204b(0x172)]&&this[_0x1f204b(0x172)][_0x1f204b(0x16a)]['markRenderStateDirty']();}[_0x3896a0(0x15a)](){const _0x3357ba=_0x3896a0;if(!this[_0x3357ba(0x138)])return;this[_0x3357ba(0x138)][_0x3357ba(0x148)]&&this[_0x3357ba(0x138)][_0x3357ba(0x148)][_0x3357ba(0x14d)](this[_0x3357ba(0x138)]),super[_0x3357ba(0x15a)]();}['getPosition'](){const _0x3fbb1f=_0x3896a0;if(!this[_0x3fbb1f(0x138)])throw Error('threeObject\x20is\x20invalid');if(this[_0x3fbb1f(0x138)][_0x3fbb1f(0x157)])return this['obj'][_0x3fbb1f(0x116)][_0x3fbb1f(0x179)]();else {const _0x3525fc=new Vector3(),_0x3f599f=new Quaternion(),_0x317384=new Vector3();return this['obj'][_0x3fbb1f(0x175)][_0x3fbb1f(0x112)](_0x3525fc,_0x3f599f,_0x317384),_0x3525fc;}}['setPosition'](..._0x4333d6){const _0x2151a3=_0x3896a0;var _0x40d44e;if(!this[_0x2151a3(0x138)])throw Error(_0x2151a3(0x15c));let _0x4ea973=null;if(_0x4333d6['length']===0x1&&((_0x40d44e=_0x4333d6[0x0])===null||_0x40d44e===void 0?void 0:_0x40d44e[_0x2151a3(0x176)])){const _0x1db6b4=_0x4333d6[0x0];_0x4ea973=new Vector3(_0x1db6b4['x'],_0x1db6b4['y'],_0x1db6b4['z']);}else _0x4333d6[_0x2151a3(0x12e)]===0x3&&typeof _0x4333d6[0x0]==='number'&&typeof _0x4333d6[0x1]===_0x2151a3(0x153)&&typeof _0x4333d6[0x2]==='number'&&(_0x4ea973=new Vector3(_0x4333d6[0x0],_0x4333d6[0x1],_0x4333d6[0x2]));if(!_0x4ea973)return;this['obj'][_0x2151a3(0x116)][_0x2151a3(0x13c)](_0x4ea973),!this[_0x2151a3(0x138)][_0x2151a3(0x157)]&&this['obj'][_0x2151a3(0x175)]['setPosition'](_0x4ea973['x'],_0x4ea973['y'],_0x4ea973['z']),this[_0x2151a3(0x138)][_0x2151a3(0x142)](),this[_0x2151a3(0x138)]['updateMatrixWorld'](!![]),this['world']&&this[_0x2151a3(0x172)]['viewport']['markRenderStateDirty']();}['getRotation'](){const _0x1256ec=_0x3896a0;if(!this[_0x1256ec(0x138)])throw Error(_0x1256ec(0x15c));if(this[_0x1256ec(0x138)]['matrixAutoUpdate'])return this[_0x1256ec(0x138)]['rotation'][_0x1256ec(0x179)]();else {const _0x252c64=new Vector3(),_0x3d1d01=new Quaternion(),_0x44387c=new Vector3();return this[_0x1256ec(0x138)][_0x1256ec(0x175)][_0x1256ec(0x112)](_0x252c64,_0x3d1d01,_0x44387c),new Euler()[_0x1256ec(0x16b)](_0x3d1d01);}}['setRotation'](..._0x3af035){const _0x24bbed=_0x3896a0;var _0x712505;if(!this[_0x24bbed(0x138)])throw Error(_0x24bbed(0x15c));let _0x45f031=null;if((_0x712505=_0x3af035[0x0])===null||_0x712505===void 0?void 0:_0x712505[_0x24bbed(0x129)]){const _0x3886ef=_0x3af035[0x0];_0x45f031=new Euler(_0x3886ef['x'],_0x3886ef['y'],_0x3886ef['z'],_0x3886ef[_0x24bbed(0x165)]);}else typeof _0x3af035[0x0]===_0x24bbed(0x153)&&typeof _0x3af035[0x1]===_0x24bbed(0x153)&&typeof _0x3af035[0x2]==='number'&&(_0x45f031=new Euler(_0x3af035[0x0],_0x3af035[0x1],_0x3af035[0x2]));if(!_0x45f031)return;this[_0x24bbed(0x138)]['rotation']['copy'](_0x45f031),this['obj'][_0x24bbed(0x142)](),this[_0x24bbed(0x138)][_0x24bbed(0x110)](!![]),this[_0x24bbed(0x172)]&&this[_0x24bbed(0x172)][_0x24bbed(0x16a)][_0x24bbed(0x10d)]();}['getQuaternion'](){const _0x194432=_0x3896a0;if(!this[_0x194432(0x138)])throw Error(_0x194432(0x15c));if(this[_0x194432(0x138)][_0x194432(0x157)])return this[_0x194432(0x138)][_0x194432(0x166)][_0x194432(0x179)]();else {const _0x5b0623=new Vector3(),_0x1f8347=new Quaternion(),_0x1ffb3e=new Vector3();return this[_0x194432(0x138)]['matrix'][_0x194432(0x112)](_0x5b0623,_0x1f8347,_0x1ffb3e),_0x1f8347;}}['setQuaternion'](..._0x9a54b8){const _0x2aa641=_0x3896a0;var _0x386970;if(!this[_0x2aa641(0x138)])throw Error(_0x2aa641(0x15c));let _0x43a5af=null;if((_0x386970=_0x9a54b8[0x0])===null||_0x386970===void 0?void 0:_0x386970['isQuaternion']){const _0x486251=_0x9a54b8[0x0];_0x43a5af=new Quaternion(_0x486251['x'],_0x486251['y'],_0x486251['z'],_0x486251['w']);}else typeof _0x9a54b8[0x0]===_0x2aa641(0x153)&&typeof _0x9a54b8[0x1]===_0x2aa641(0x153)&&typeof _0x9a54b8[0x2]===_0x2aa641(0x153)&&typeof _0x9a54b8[0x3]===_0x2aa641(0x153)&&(_0x43a5af=new Quaternion(_0x9a54b8[0x0],_0x9a54b8[0x1],_0x9a54b8[0x2],_0x9a54b8[0x3]));if(!_0x43a5af){console[_0x2aa641(0x14e)](_0x2aa641(0x121),_0x9a54b8);return;}this['obj'][_0x2aa641(0x166)][_0x2aa641(0x13c)](_0x43a5af);if(!this[_0x2aa641(0x138)][_0x2aa641(0x157)]){const _0x52051a=new Vector3(),_0x299809=new Quaternion(),_0x3aacbe=new Vector3();this[_0x2aa641(0x138)][_0x2aa641(0x175)]['decompose'](_0x52051a,_0x299809,_0x3aacbe),this[_0x2aa641(0x138)]['matrix']['compose'](_0x52051a,_0x43a5af,_0x3aacbe);}this[_0x2aa641(0x172)]&&this[_0x2aa641(0x172)][_0x2aa641(0x16a)]['markRenderStateDirty'](),this[_0x2aa641(0x138)][_0x2aa641(0x142)](),this['obj'][_0x2aa641(0x110)](!![]);}[_0x3896a0(0x10f)](){const _0x2c55a8=_0x3896a0;if(!this[_0x2c55a8(0x138)])throw Error('threeObject\x20is\x20invalid');if(this['obj'][_0x2c55a8(0x157)])return this[_0x2c55a8(0x138)][_0x2c55a8(0x114)]['clone']();else {const _0x12a30d=new Vector3(),_0x146ec8=new Quaternion(),_0x59ea56=new Vector3();return this[_0x2c55a8(0x138)]['matrix']['decompose'](_0x12a30d,_0x146ec8,_0x59ea56),_0x59ea56;}}[_0x3896a0(0x119)](..._0xc5489){const _0x1ee0a5=_0x3896a0;var _0x1e78dc;if(!this[_0x1ee0a5(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x1986cb=null;if((_0x1e78dc=_0xc5489[0x0])===null||_0x1e78dc===void 0?void 0:_0x1e78dc[_0x1ee0a5(0x176)]){const _0x34339f=_0xc5489[0x0];_0x1986cb=new Vector3(_0x34339f['x'],_0x34339f['y'],_0x34339f['z']);}else typeof _0xc5489[0x0]===_0x1ee0a5(0x153)&&typeof _0xc5489[0x1]===_0x1ee0a5(0x153)&&typeof _0xc5489[0x2]===_0x1ee0a5(0x153)&&(_0x1986cb=new Vector3(_0xc5489[0x0],_0xc5489[0x1],_0xc5489[0x2]));if(!_0x1986cb)return;this['obj'][_0x1ee0a5(0x114)]['copy'](_0x1986cb),this[_0x1ee0a5(0x138)][_0x1ee0a5(0x142)](),this[_0x1ee0a5(0x138)]['updateMatrixWorld'](!![]),this['world']&&this[_0x1ee0a5(0x172)]['viewport']['markRenderStateDirty']();}['getMatrix'](){const _0x513543=_0x3896a0;if(!this['obj'])throw Error(_0x513543(0x15c));return this['obj'][_0x513543(0x175)];}[_0x3896a0(0x11b)](_0x5190bd){const _0x45dc61=_0x3896a0;var _0x31cf6e;if(!this[_0x45dc61(0x138)])throw Error(_0x45dc61(0x15c));_0x5190bd['decompose'](this[_0x45dc61(0x138)][_0x45dc61(0x116)],this[_0x45dc61(0x138)][_0x45dc61(0x166)],this[_0x45dc61(0x138)]['scale']),this[_0x45dc61(0x138)][_0x45dc61(0x142)](),this[_0x45dc61(0x138)]['updateMatrixWorld'](!![]),(_0x31cf6e=this[_0x45dc61(0x172)])===null||_0x31cf6e===void 0?void 0:_0x31cf6e[_0x45dc61(0x16a)][_0x45dc61(0x10d)]();}['getWorldPosition'](){const _0x4f67ee=_0x3896a0;if(!this[_0x4f67ee(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x273b9b=new Vector3();return this[_0x4f67ee(0x138)]['getWorldPosition'](_0x273b9b),_0x273b9b;}[_0x3896a0(0x16f)](){const _0x36131e=_0x3896a0;if(!this[_0x36131e(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x175791=new Quaternion();return this[_0x36131e(0x138)][_0x36131e(0x156)](_0x175791),new Euler()[_0x36131e(0x16b)](_0x175791);}[_0x3896a0(0x156)](){const _0x39bc52=_0x3896a0;if(!this[_0x39bc52(0x138)])throw Error(_0x39bc52(0x15c));let _0x139672=new Quaternion();return this[_0x39bc52(0x138)][_0x39bc52(0x156)](_0x139672),_0x139672;}[_0x3896a0(0x169)](){const _0x2583f3=_0x3896a0;if(!this['obj'])throw Error(_0x2583f3(0x15c));let _0x109faa=new Vector3();return this[_0x2583f3(0x138)][_0x2583f3(0x169)](_0x109faa),_0x109faa;}[_0x3896a0(0x123)](){const _0x1e4b8e=_0x3896a0;if(!this[_0x1e4b8e(0x138)])throw Error('threeObject\x20is\x20invalid');return this[_0x1e4b8e(0x138)][_0x1e4b8e(0x110)](!![]),this[_0x1e4b8e(0x138)][_0x1e4b8e(0x127)][_0x1e4b8e(0x179)]();}[_0x3896a0(0x143)](_0x6a36bc){const _0x594370=_0x3896a0;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(this[_0x594370(0x138)][_0x594370(0x148)]){this['obj']['parent']['updateMatrixWorld'](!![]);const _0x34eee5=this['obj'][_0x594370(0x148)]['matrixWorld'][_0x594370(0x179)]()[_0x594370(0x136)](),_0x435fe3=new Matrix4()['multiplyMatrices'](_0x34eee5,_0x6a36bc);this[_0x594370(0x11b)](_0x435fe3);}else this[_0x594370(0x11b)](_0x6a36bc);this['obj'][_0x594370(0x110)](!![]),this[_0x594370(0x172)]&&this[_0x594370(0x172)][_0x594370(0x16a)][_0x594370(0x10d)]();}[_0x3896a0(0x111)](){const _0x8f9e13=_0x3896a0;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0xf90bb1=new Vector3();return this[_0x8f9e13(0x138)][_0x8f9e13(0x118)](_0xf90bb1),_0xf90bb1;}[_0x3896a0(0x160)](){const _0x28d127=_0x3896a0;if(!this[_0x28d127(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x10557e=new Vector3(0x0,0x1,0x0);return _0x10557e[_0x28d127(0x132)](this[_0x28d127(0x156)]()),_0x10557e;}[_0x3896a0(0x167)](){const _0x41cce8=_0x3896a0;if(!this[_0x41cce8(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x507722=new Vector3(0x1,0x0,0x0);return _0x507722['applyQuaternion'](this[_0x41cce8(0x156)]()),_0x507722;}[_0x3896a0(0x13e)](_0x337cc6){const _0x3b2f8e=_0x3896a0;if(!this[_0x3b2f8e(0x138)])throw Error(_0x3b2f8e(0x15c));return this[_0x3b2f8e(0x138)][_0x3b2f8e(0x13e)](_0x337cc6);}[_0x3896a0(0x154)](_0x48eeaa){const _0x34a945=_0x3896a0;if(!this['obj'])throw Error(_0x34a945(0x15c));return this[_0x34a945(0x138)]['localToWorld'](_0x48eeaa);}[_0x3896a0(0x16d)](_0x455569){const _0x3c6c3c=_0x3896a0;if(!this['obj'])throw Error(_0x3c6c3c(0x15c));if(!_0x455569[_0x3c6c3c(0x10e)])throw Error(_0x3c6c3c(0x11f));this[_0x3c6c3c(0x138)][_0x3c6c3c(0x177)](_0x455569[_0x3c6c3c(0x10e)]),this[_0x3c6c3c(0x172)]&&_0x455569[_0x3c6c3c(0x12d)](this[_0x3c6c3c(0x172)]);}[_0x3896a0(0x151)](_0x443674){const _0x1768d8=_0x3896a0;if(!this['obj'])throw Error(_0x1768d8(0x15c));if(!_0x443674['threeObject'])throw Error('target\x20threeObject\x20is\x20invalid');this[_0x1768d8(0x138)][_0x1768d8(0x14d)](_0x443674[_0x1768d8(0x10e)]);}[_0x3896a0(0x16e)](_0x1dde08,_0x42096c=AttachmentRules[_0x3896a0(0x149)]){const _0x4bedb4=_0x3896a0;if(!this[_0x4bedb4(0x138)])throw Error('threeObject\x20is\x20invalid');if(!_0x1dde08[_0x4bedb4(0x10e)])throw Error(_0x4bedb4(0x11f));_0x1dde08['parentActor']=this[_0x4bedb4(0x122)];if(_0x42096c===AttachmentRules[_0x4bedb4(0x140)]){let _0x5d0364=_0x1dde08[_0x4bedb4(0x123)]();this[_0x4bedb4(0x138)][_0x4bedb4(0x177)](_0x1dde08[_0x4bedb4(0x10e)]),_0x1dde08[_0x4bedb4(0x143)](_0x5d0364);}else this[_0x4bedb4(0x138)]['add'](_0x1dde08['threeObject']);this[_0x4bedb4(0x172)]&&_0x1dde08['onAddedToWorld'](this[_0x4bedb4(0x172)]),this[_0x4bedb4(0x138)][_0x4bedb4(0x142)](),this[_0x4bedb4(0x138)][_0x4bedb4(0x110)](!![]);}[_0x3896a0(0x11d)](_0x296693){const _0x4e7279=_0x3896a0;if(!this[_0x4e7279(0x138)])throw Error('threeObject\x20is\x20invalid');if(!_0x296693[_0x4e7279(0x10e)])throw Error('targetComponent\x20threeObject\x20is\x20invalid');this[_0x4e7279(0x138)]['remove'](_0x296693[_0x4e7279(0x10e)]);}['detachFromParentComponent'](){const _0x185c4b=_0x3896a0;this[_0x185c4b(0x14f)]&&this[_0x185c4b(0x14f)][_0x185c4b(0x11d)](this);}[_0x3896a0(0x131)](){const _0xffe11c=_0x3896a0;this[_0xffe11c(0x122)]&&(this[_0xffe11c(0x122)]=null);}['destroyChildren'](){const _0x3876da=_0x3896a0;var _0x162705;if(!this['obj'])return;let _0x1da009=[];for(let _0x43f38c=0x0;_0x43f38c<this[_0x3876da(0x138)][_0x3876da(0x10c)][_0x3876da(0x12e)];++_0x43f38c){let _0x42ea81=(_0x162705=this['obj'][_0x3876da(0x10c)][_0x43f38c][_0x3876da(0x170)])===null||_0x162705===void 0?void 0:_0x162705[_0x3876da(0x13a)];_0x42ea81&&_0x1da009[_0x3876da(0x14b)](_0x42ea81);}_0x1da009[_0x3876da(0x15d)](_0x4f60a9=>{_0x4f60a9['destroy']();}),_0x1da009=[];}set[_0x3896a0(0x158)](_0x351a57){const _0x27f86b=_0x3896a0;this[_0x27f86b(0x16c)]=_0x351a57;let _0x2ae9c4=this[_0x27f86b(0x117)];for(let _0x5ae6a8=0x0;_0x5ae6a8<_0x2ae9c4[_0x27f86b(0x12e)];++_0x5ae6a8){_0x2ae9c4[_0x5ae6a8][_0x27f86b(0x158)]=this[_0x27f86b(0x16c)];}}get[_0x3896a0(0x158)](){const _0x189259=_0x3896a0;return this[_0x189259(0x16c)];}set['isClickEnabled'](_0x1295af){const _0x3eeae9=_0x3896a0;this['bCanClick']=_0x1295af;let _0x571210=this[_0x3eeae9(0x117)];for(let _0x22a2cf=0x0;_0x22a2cf<_0x571210[_0x3eeae9(0x12e)];++_0x22a2cf){_0x571210[_0x22a2cf][_0x3eeae9(0x155)]=this[_0x3eeae9(0x146)];}}get[_0x3896a0(0x155)](){return this['bCanClick'];}[_0x3896a0(0x141)](){const _0x52e1a1=_0x3896a0;this['_onHoverBeginDelegate'][_0x52e1a1(0x133)]();}[_0x3896a0(0x113)](){const _0x298ce1=_0x3896a0;this[_0x298ce1(0x14a)][_0x298ce1(0x133)]();}[_0x3896a0(0x13f)](){const _0x6a605d=_0x3896a0;this['_onClickDelegate'][_0x6a605d(0x133)]();}[_0x3896a0(0x162)](){const _0x1dfe5a=_0x3896a0;this[_0x1dfe5a(0x174)][_0x1dfe5a(0x133)]();}}function _0x3f15(){const _0x1dacd9=['children','markRenderStateDirty','threeObject','getScale','updateMatrixWorld','getWorldForwardDirection','decompose','onHorveringEnd','scale','createDefaultObject','position','childrenComponents','getWorldDirection','setScale','78346bzJGEj','setMatrix','set','removeChildComponent','1788rPsuLs','newComponent\x20threeObject\x20is\x20invalid','119pBzKkG','setQuaternion\x20failed,param\x20is\x20invalid','parentActor','getWorldMatrix','18nUkxFK','setLayers','layers','matrixWorld','6393zzreUs','isEuler','_onHoverBeginDelegate','onHoverEndDelegate','uuid','onAddedToWorld','length','destroy','4052250vyPROx','detachFromParentActor','applyQuaternion','broadcast','isEmpty','getBounds','invert','min','obj','max','LYObject','tick','copy','getBoundsCenterPositionWS','worldToLocal','onClicked','KeepWorld','onHorveringBegin','updateMatrix','setWorldMatrix','detachFromParentComponent','132136PTfpNr','bCanClick','getWorldPosition','parent','KeepRelative','_onHoverEndDelegate','push','app','remove','error','parentComponent','isVisible','detachComponent','onHoverBeginDelegate','number','localToWorld','isClickEnabled','getWorldQuaternion','matrixAutoUpdate','isHoverEnabled','getComponentById','destroyObject','destroyChildren','threeObject\x20is\x20invalid','forEach','setVisible','730578DfwTDs','getWorldUpDirection','4669510CRlsUB','onDoubleClicked','_parentActor','_onClickDelegate','order','quaternion','getWorldRightDirection','setFromObject','getWorldScale','viewport','setFromQuaternion','bCanHover','attachComponent','addChildComponent','getWorldRotation','userData','2793150KfLqbd','world','visible','_onDoubleClickDelegate','matrix','isVector3','add','name','clone','getCenter'];_0x3f15=function(){return _0x1dacd9;};return _0x3f15();}
|
|
38
|
+
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 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 Vector3();return this[_0xad374e(0x207)]()[_0xad374e(0x215)](_0x13e1e1),this[_0xad374e(0x1f9)]();}[_0x4029de(0x202)](){const _0x5ea985=_0x4029de;let _0xf88aa1=new 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 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 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 Vector3(),_0x566d7d=new Quaternion(),_0x58e2b4=new 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 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 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 Vector3(),_0x540597=new Quaternion(),_0x445e05=new Vector3();return this[_0x46b27d(0x24d)]['matrix'][_0x46b27d(0x1f4)](_0x17ec11,_0x540597,_0x445e05),new 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 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 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 Vector3(),_0x336e5a=new Quaternion(),_0x2cacd6=new 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 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 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 Vector3(),_0x239edf=new Quaternion(),_0x55986b=new 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 Vector3(),_0x4c41c3=new Quaternion(),_0x45b3e0=new 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 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 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 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 Quaternion();return this[_0x1bc0c0(0x24d)][_0x1bc0c0(0x228)](_0x4c4af4),new Euler()['setFromQuaternion'](_0x4c4af4);}[_0x4029de(0x228)](){const _0x466f28=_0x4029de;if(!this[_0x466f28(0x24d)])throw Error(_0x466f28(0x1f0));let _0x6616d8=new Quaternion();return this['obj'][_0x466f28(0x228)](_0x6616d8),_0x6616d8;}[_0x4029de(0x230)](){const _0x327737=_0x4029de;if(!this[_0x327737(0x24d)])throw Error(_0x327737(0x1f0));let _0x32dd82=new 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 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 Vector3();return this[_0x27edeb(0x24d)]['getWorldDirection'](_0x43e86c),_0x43e86c;}['getWorldUpDirection'](){const _0x268f92=_0x4029de;if(!this['obj'])throw Error(_0x268f92(0x1f0));let _0x35e847=new 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 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=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===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();}
|
|
39
39
|
|
|
40
|
-
const
|
|
40
|
+
const _0x5f308f=_0x2042;(function(_0x2f886f,_0x4060e3){const _0x4092ce=_0x2042,_0x12d551=_0x2f886f();while(!![]){try{const _0x31752a=-parseInt(_0x4092ce(0x86))/0x1+-parseInt(_0x4092ce(0x95))/0x2+-parseInt(_0x4092ce(0x9c))/0x3*(-parseInt(_0x4092ce(0x8c))/0x4)+-parseInt(_0x4092ce(0x80))/0x5*(parseInt(_0x4092ce(0x9e))/0x6)+parseInt(_0x4092ce(0x87))/0x7+parseInt(_0x4092ce(0x97))/0x8+parseInt(_0x4092ce(0xa3))/0x9*(parseInt(_0x4092ce(0x94))/0xa);if(_0x31752a===_0x4060e3)break;else _0x12d551['push'](_0x12d551['shift']());}catch(_0x54224a){_0x12d551['push'](_0x12d551['shift']());}}}(_0x4f88,0xcebc6));function _0x2042(_0x3ebc95,_0x5384e3){_0x3ebc95=_0x3ebc95-0x79;const _0x4f880b=_0x4f88();let _0x2042c0=_0x4f880b[_0x3ebc95];return _0x2042c0;}function _0x4f88(){const _0x30182f=['castShadow','getBounds','50RXWNos','478058yBbOvt','receiveShadow','3082296TcrQYy','obj','material','_materialPtr','addMaterialAsset','196743etWZZo','release','24SGqvam','geometryPtr\x20is\x20null','length','materialPtr','threeObject','1342188VeAWbV','min','getValue','getBoundsBottomCenterPosition','addGeometryAsset','addRef','destroyObject','assetManager','1213745ycfDaE','getCenter','isArray','push','_geometryPtr','geometry','370795BYzleB','8158507iWZsLx','forEach','geometryPtr','LYObject','getBoundsTopCenterPosition','8gBAKta','getBoundsCenterPosition','removeFromParent','max','app','createDefaultObject'];_0x4f88=function(){return _0x30182f;};return _0x4f88();}class MeshComponent extends SceneComponent{get['threeObject'](){const _0x410a65=_0x2042;if(!this['obj'])throw new Error('threeObject\x20is\x20null');return this[_0x410a65(0x98)];}set[_0x5f308f(0xa2)](_0x293775){const _0x537e0a=_0x5f308f;this[_0x537e0a(0x98)]=_0x293775,this[_0x537e0a(0x98)]&&(this['obj']['userData'][_0x537e0a(0x8a)]=this);}get[_0x5f308f(0x85)](){const _0x485710=_0x5f308f;if(!this['_geometryPtr'])throw new Error(_0x485710(0x9f));return this[_0x485710(0x84)][_0x485710(0x7a)]();}set['geometry'](_0x47531d){const _0x3eef39=_0x5f308f;let _0x5b262f=this[_0x3eef39(0x90)][_0x3eef39(0x7f)][_0x3eef39(0x7c)](_0x47531d);this[_0x3eef39(0x89)]=_0x5b262f;}get['geometryPtr'](){const _0xcf5c50=_0x5f308f;if(!this[_0xcf5c50(0x84)])throw new Error(_0xcf5c50(0x9f));return this['_geometryPtr'];}set['geometryPtr'](_0x1f7a05){const _0x19414b=_0x5f308f;this[_0x19414b(0x84)]&&(this[_0x19414b(0x84)][_0x19414b(0x9d)](),this[_0x19414b(0x84)]=null);this[_0x19414b(0x84)]=_0x1f7a05;let _0x141199=_0x1f7a05['getValue']();this[_0x19414b(0xa2)]&&_0x141199&&(this[_0x19414b(0xa2)][_0x19414b(0x85)]=_0x141199);}get[_0x5f308f(0x99)](){const _0xfcb616=_0x5f308f;let _0x3529ad=[];return this[_0xfcb616(0x9a)][_0xfcb616(0x88)](_0x2079c2=>{const _0x5204e7=_0xfcb616;let _0x45697f=_0x2079c2[_0x5204e7(0x7a)]();if(_0x45697f)_0x3529ad['push'](_0x45697f);}),_0x3529ad[_0xfcb616(0xa0)]>0x1?_0x3529ad:_0x3529ad[0x0];}get['materialPtr'](){const _0x2ee6fe=_0x5f308f;return this[_0x2ee6fe(0xa1)];}set['material'](_0x11c2fa){const _0x100815=_0x5f308f;let _0x147aec=Array[_0x100815(0x82)](_0x11c2fa)?_0x11c2fa:[_0x11c2fa],_0x2eb542=[];_0x147aec['forEach'](_0x4aa139=>{const _0x2ebb56=_0x100815;let _0x1f4c29=this[_0x2ebb56(0x90)][_0x2ebb56(0x7f)][_0x2ebb56(0x9b)](_0x4aa139);if(_0x1f4c29)_0x2eb542[_0x2ebb56(0x83)](_0x1f4c29);}),this[_0x100815(0xa1)]=_0x2eb542;}set[_0x5f308f(0xa1)](_0x31aea8){const _0x433ffd=_0x5f308f;this[_0x433ffd(0x9a)]&&(this[_0x433ffd(0x9a)]['forEach'](_0x1bed00=>{const _0x223101=_0x433ffd;_0x1bed00[_0x223101(0x9d)]();}),this[_0x433ffd(0x9a)]=[]);let _0x4782b4=Array[_0x433ffd(0x82)](_0x31aea8)?_0x31aea8:[_0x31aea8],_0x258a97=[];_0x4782b4[_0x433ffd(0x88)](_0xbf4ac8=>{const _0x24b97f=_0x433ffd;let _0xed33c1=_0xbf4ac8[_0x24b97f(0x7a)]();if(_0xed33c1)_0x258a97[_0x24b97f(0x83)](_0xed33c1);_0xbf4ac8[_0x24b97f(0x7d)]();});if(this[_0x433ffd(0xa2)]){if(_0x258a97[_0x433ffd(0xa0)]>0x0)this[_0x433ffd(0xa2)][_0x433ffd(0x99)]=Array[_0x433ffd(0x82)](_0x31aea8)?_0x258a97[0x0]:_0x258a97;}this[_0x433ffd(0x9a)]=_0x4782b4;}constructor(_0x2ede27,_0x5274c0,_0x185f01,_0x63894){const _0x1cde6a=_0x5f308f;let _0x29df18=[],_0x22b626=Array[_0x1cde6a(0x82)](_0x185f01)?_0x185f01:[_0x185f01];_0x22b626[_0x1cde6a(0x88)](_0x9588e8=>{const _0xff93b0=_0x1cde6a;let _0x840f2e=_0x2ede27[_0xff93b0(0x7f)][_0xff93b0(0x9b)](_0x9588e8);if(_0x840f2e)_0x29df18[_0xff93b0(0x83)](_0x840f2e);}),super(_0x2ede27,_0x63894),this[_0x1cde6a(0x84)]=_0x2ede27[_0x1cde6a(0x7f)]['addGeometryAsset'](_0x5274c0),this[_0x1cde6a(0x9a)]=_0x29df18,_0x29df18['forEach'](_0x2a1c6c=>{const _0x199bb2=_0x1cde6a;_0x2a1c6c[_0x199bb2(0x7d)]();}),this['threeObject'][_0x1cde6a(0x99)]=_0x185f01,this[_0x1cde6a(0xa2)][_0x1cde6a(0x85)]=_0x5274c0,this[_0x1cde6a(0x92)]=!![],this[_0x1cde6a(0x96)]=!![];}[_0x5f308f(0x91)](){return new Mesh();}set[_0x5f308f(0x92)](_0x127694){const _0x32886d=_0x5f308f;if(this[_0x32886d(0xa2)])this[_0x32886d(0xa2)][_0x32886d(0x92)]=_0x127694;}get[_0x5f308f(0x92)](){const _0x4e7921=_0x5f308f;return this['threeObject']?this[_0x4e7921(0xa2)][_0x4e7921(0x92)]:![];}set[_0x5f308f(0x96)](_0x192292){const _0x5e9a70=_0x5f308f;if(!this['threeObject'])return;this[_0x5e9a70(0xa2)][_0x5e9a70(0x96)]=_0x192292;}get[_0x5f308f(0x96)](){const _0x5309aa=_0x5f308f;return this[_0x5309aa(0xa2)]?this[_0x5309aa(0xa2)][_0x5309aa(0x96)]:![];}[_0x5f308f(0x8d)](){const _0x3c8c6e=_0x5f308f;let _0x570d8e=new Vector3();return this[_0x3c8c6e(0x93)]()[_0x3c8c6e(0x81)](_0x570d8e),_0x570d8e;}[_0x5f308f(0x8b)](){const _0x1d03ad=_0x5f308f;let _0x2495d8=new Vector3(),_0xe347f9=this[_0x1d03ad(0x93)]();return _0xe347f9[_0x1d03ad(0x81)](_0x2495d8),_0x2495d8['y']=_0xe347f9[_0x1d03ad(0x8f)]['y'],_0x2495d8;}[_0x5f308f(0x7b)](){const _0xfe9502=_0x5f308f;let _0x27b0ac=new Vector3(),_0x74b2b8=this[_0xfe9502(0x93)]();return _0x74b2b8[_0xfe9502(0x81)](_0x27b0ac),_0x27b0ac['y']=_0x74b2b8[_0xfe9502(0x79)]['y'],_0x27b0ac;}['destroyObject'](){const _0xb1ab=_0x5f308f;var _0x4b395c;this[_0xb1ab(0xa2)]&&this[_0xb1ab(0xa2)][_0xb1ab(0x8e)]();(_0x4b395c=this[_0xb1ab(0x84)])===null||_0x4b395c===void 0?void 0:_0x4b395c[_0xb1ab(0x9d)]();let _0xc50fe3=Array['isArray'](this[_0xb1ab(0x9a)])?this[_0xb1ab(0x9a)]:[this[_0xb1ab(0x9a)]];_0xc50fe3[_0xb1ab(0x88)](_0x254e4d=>{const _0x5894f0=_0xb1ab;_0x254e4d[_0x5894f0(0x9d)]();}),super[_0xb1ab(0x7e)]();}}
|
|
41
41
|
|
|
42
|
-
function
|
|
42
|
+
function _0x49ba(_0xd67400,_0xae0435){_0xd67400=_0xd67400-0x15d;const _0x345530=_0x3455();let _0x49baa7=_0x345530[_0xd67400];return _0x49baa7;}const _0x470145=_0x49ba;(function(_0xb5edc9,_0xa5a95){const _0x4f95d2=_0x49ba,_0x1d9a22=_0xb5edc9();while(!![]){try{const _0xc54546=parseInt(_0x4f95d2(0x166))/0x1+-parseInt(_0x4f95d2(0x17a))/0x2*(parseInt(_0x4f95d2(0x161))/0x3)+parseInt(_0x4f95d2(0x176))/0x4*(parseInt(_0x4f95d2(0x169))/0x5)+parseInt(_0x4f95d2(0x160))/0x6+-parseInt(_0x4f95d2(0x17b))/0x7+-parseInt(_0x4f95d2(0x181))/0x8*(-parseInt(_0x4f95d2(0x168))/0x9)+-parseInt(_0x4f95d2(0x17e))/0xa*(parseInt(_0x4f95d2(0x17f))/0xb);if(_0xc54546===_0xa5a95)break;else _0x1d9a22['push'](_0x1d9a22['shift']());}catch(_0x48f09a){_0x1d9a22['push'](_0x1d9a22['shift']());}}}(_0x3455,0x9a3a2));function _0x3455(){const _0x48b733=['needsUpdate','getMatrixAt','push','getValue','1048073WhzFXk','addGeometryAsset','9pkDiza','123675uBURjW','removeFromParent','threeObject','length','forEach','geometry','createDefaultObject','addMaterialAsset','castShadow','userData','_materialPtr','material','receiveShadow','184JMVumA','addRef','instanceMatrix','_geometryPtr','1040aLQOJm','4930842ugGCoH','InstanceMeshComponent:\x20threeObject\x20is\x20null','count','17194670ESPEhK','11DohsaE','obj','5302256xnvJgE','release','setMatrixAt','isArray','destroyObject','assetManager','4710972aKEIhq','3336pNnUTb'];_0x3455=function(){return _0x48b733;};return _0x3455();}class InstanceMeshComponent extends SceneComponent{get[_0x470145(0x16b)](){const _0x30008a=_0x470145;if(!this['obj'])throw new Error(_0x30008a(0x17c));return this[_0x30008a(0x180)];}set[_0x470145(0x16b)](_0x10aa51){const _0x2d664f=_0x470145;this[_0x2d664f(0x180)]=_0x10aa51,this['obj']&&(this[_0x2d664f(0x180)][_0x2d664f(0x172)]['LYObject']=this);}get['geometry'](){const _0x412632=_0x470145;var _0x16bc44,_0x1a4696;return (_0x1a4696=(_0x16bc44=this[_0x412632(0x179)])===null||_0x16bc44===void 0?void 0:_0x16bc44[_0x412632(0x165)]())!==null&&_0x1a4696!==void 0?_0x1a4696:null;}get[_0x470145(0x174)](){const _0x5dcd60=_0x470145,_0x1a969f=[];return this[_0x5dcd60(0x173)]['forEach'](_0x3db442=>{const _0x258e97=_0x5dcd60,_0x42942b=_0x3db442[_0x258e97(0x165)]();if(_0x42942b)_0x1a969f[_0x258e97(0x164)](_0x42942b);}),_0x1a969f[_0x5dcd60(0x16c)]>0x1?_0x1a969f:_0x1a969f[0x0];}get['count'](){return this['threeObject']['count'];}set[_0x470145(0x17d)](_0x186883){const _0x508384=_0x470145;this[_0x508384(0x16b)]['count']=_0x186883;}set[_0x470145(0x171)](_0xe43c6b){const _0x3d25eb=_0x470145;if(this[_0x3d25eb(0x16b)])this[_0x3d25eb(0x16b)][_0x3d25eb(0x171)]=_0xe43c6b;}get['castShadow'](){const _0x3cf33d=_0x470145;return this[_0x3cf33d(0x16b)]?this[_0x3cf33d(0x16b)][_0x3cf33d(0x171)]:![];}set[_0x470145(0x175)](_0x47fc6f){const _0x3e745f=_0x470145;if(!this[_0x3e745f(0x16b)])return;this[_0x3e745f(0x16b)][_0x3e745f(0x175)]=_0x47fc6f;}get[_0x470145(0x175)](){const _0x10116d=_0x470145;return this[_0x10116d(0x16b)]?this[_0x10116d(0x16b)][_0x10116d(0x175)]:![];}constructor(_0xfc87ce,_0x13cc3d,_0x2dc0d4){const _0x176f11=_0x470145;super(_0xfc87ce,_0x2dc0d4),this[_0x176f11(0x179)]=null,this[_0x176f11(0x173)]=[];_0x13cc3d[_0x176f11(0x16e)]&&(this[_0x176f11(0x179)]=_0xfc87ce['assetManager'][_0x176f11(0x167)](_0x13cc3d[_0x176f11(0x16e)]));const _0x164cb8=Array[_0x176f11(0x15d)](_0x13cc3d[_0x176f11(0x174)])?_0x13cc3d['material']:[_0x13cc3d[_0x176f11(0x174)]];_0x164cb8[_0x176f11(0x16d)](_0x366cf8=>{const _0x139281=_0x176f11,_0xa51809=_0xfc87ce[_0x139281(0x15f)][_0x139281(0x170)](_0x366cf8);_0xa51809&&(_0xa51809[_0x139281(0x177)](),this[_0x139281(0x173)][_0x139281(0x164)](_0xa51809));}),this['threeObject']=_0x13cc3d,this['castShadow']=!![],this['receiveShadow']=!![];}[_0x470145(0x16f)](){return new InstancedMesh(undefined,undefined,0x0);}[_0x470145(0x163)](_0x26a10c,_0x1cdcec){const _0x2184dc=_0x470145;this[_0x2184dc(0x16b)][_0x2184dc(0x163)](_0x26a10c,_0x1cdcec);}[_0x470145(0x183)](_0x3600f7,_0x479797){const _0x468fb8=_0x470145;this[_0x468fb8(0x16b)][_0x468fb8(0x183)](_0x3600f7,_0x479797),this[_0x468fb8(0x16b)][_0x468fb8(0x178)][_0x468fb8(0x162)]=!![];}['updateMatrices'](_0x28a275){const _0x7f3ff=_0x470145,_0x3db350=Math['min'](_0x28a275['length'],this[_0x7f3ff(0x16b)][_0x7f3ff(0x17d)]);for(let _0x3baec6=0x0;_0x3baec6<_0x3db350;_0x3baec6++){this[_0x7f3ff(0x16b)][_0x7f3ff(0x183)](_0x3baec6,_0x28a275[_0x3baec6]);}this[_0x7f3ff(0x16b)]['instanceMatrix'][_0x7f3ff(0x162)]=!![];}[_0x470145(0x15e)](){const _0x5abe56=_0x470145;var _0x37d1eb;this[_0x5abe56(0x16b)]&&(this['threeObject'][_0x5abe56(0x16a)](),this[_0x5abe56(0x16b)]['dispose']()),(_0x37d1eb=this[_0x5abe56(0x179)])===null||_0x37d1eb===void 0?void 0:_0x37d1eb['release'](),this['_geometryPtr']=null,this[_0x5abe56(0x173)][_0x5abe56(0x16d)](_0x1cbfca=>{const _0x3a0bdb=_0x5abe56;_0x1cbfca[_0x3a0bdb(0x182)]();}),this['_materialPtr']=[],super[_0x5abe56(0x15e)]();}}
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
function _0x2aea(){var _0x491645=['4398FbsswX','7keSUwx','734968tfpFKK','value','29804FGoOpG','1306350wjyuTV','forceRelease','186561YFBRNO','dispose','referenceCount','isValid','948222FGRPAq','addRef','92lOVVro','314025rYRfbQ','release','getRefCount'];_0x2aea=function(){return _0x491645;};return _0x2aea();}var _0x295212=_0x456e;(function(_0x464611,_0x4f1ece){var _0x15c277=_0x456e,_0x6e4302=_0x464611();while(!![]){try{var _0x113d26=-parseInt(_0x15c277(0x15b))/0x1*(-parseInt(_0x15c277(0x168))/0x2)+parseInt(_0x15c277(0x162))/0x3+parseInt(_0x15c277(0x15f))/0x4+-parseInt(_0x15c277(0x169))/0x5+parseInt(_0x15c277(0x166))/0x6*(-parseInt(_0x15c277(0x15c))/0x7)+-parseInt(_0x15c277(0x15d))/0x8+parseInt(_0x15c277(0x160))/0x9;if(_0x113d26===_0x4f1ece)break;else _0x6e4302['push'](_0x6e4302['shift']());}catch(_0x33b3d2){_0x6e4302['push'](_0x6e4302['shift']());}}}(_0x2aea,0x197bf));function _0x456e(_0x22a08b,_0x2a8542){_0x22a08b=_0x22a08b-0x159;var _0x2aea13=_0x2aea();var _0x456e76=_0x2aea13[_0x22a08b];return _0x456e76;}class TSmartPointer{constructor(_0x1849b1,_0x5eefca=0x1){var _0x21280e=_0x456e;this[_0x21280e(0x164)]=0x1,this[_0x21280e(0x15e)]=null,this['value']=_0x1849b1,this[_0x21280e(0x164)]=_0x5eefca;}[_0x295212(0x15a)](){var _0x480f40=_0x295212;return this[_0x480f40(0x164)];}[_0x295212(0x165)](){var _0x19175e=_0x295212;return this[_0x19175e(0x15e)]!==null;}[_0x295212(0x167)](_0x53b07e=0x1){var _0x5a9c6f=_0x295212;this[_0x5a9c6f(0x15e)]!==null&&(this[_0x5a9c6f(0x164)]+=_0x53b07e);}[_0x295212(0x159)](){var _0x5997e0=_0x295212;this[_0x5997e0(0x15e)]!==null&&this[_0x5997e0(0x164)]>0x0&&(this[_0x5997e0(0x164)]--,this['referenceCount']===0x0&&this[_0x5997e0(0x163)]());}[_0x295212(0x161)](){var _0x24ed57=_0x295212;this[_0x24ed57(0x15e)]!==null&&(this[_0x24ed57(0x163)](),this[_0x24ed57(0x164)]=0x0);}[_0x295212(0x163)](){var _0x16aa34=_0x295212;this[_0x16aa34(0x15e)]=null;}['getValue'](){var _0x131251=_0x295212;return this[_0x131251(0x15e)];}}
|
|
45
45
|
|
|
46
|
-
const
|
|
46
|
+
const _0x41e641=_0x405f;(function(_0xa207da,_0x210b3c){const _0x2b1324=_0x405f,_0x2be33f=_0xa207da();while(!![]){try{const _0x499841=parseInt(_0x2b1324(0x1c4))/0x1+-parseInt(_0x2b1324(0x1cc))/0x2*(-parseInt(_0x2b1324(0x1c9))/0x3)+-parseInt(_0x2b1324(0x1cf))/0x4+-parseInt(_0x2b1324(0x1d0))/0x5*(-parseInt(_0x2b1324(0x1ca))/0x6)+-parseInt(_0x2b1324(0x1c7))/0x7+parseInt(_0x2b1324(0x1cd))/0x8+parseInt(_0x2b1324(0x1cb))/0x9*(-parseInt(_0x2b1324(0x1c5))/0xa);if(_0x499841===_0x210b3c)break;else _0x2be33f['push'](_0x2be33f['shift']());}catch(_0x1257db){_0x2be33f['push'](_0x2be33f['shift']());}}}(_0x88c6,0x994df));const ASSET_POINTER_KEY=_0x41e641(0x1c8);const EDITOR_ASSET_ID_KEY=_0x41e641(0x1d1);class TAssetPointer extends TSmartPointer{get[_0x41e641(0x1ce)](){const _0xf67790=_0x41e641;return this[_0xf67790(0x1c3)];}constructor(_0x6f01b6,_0x42e1b6=0x0){const _0x2af558=_0x41e641;super(_0x6f01b6,_0x42e1b6),this['_uuid']=_0x6f01b6[_0x2af558(0x1ce)],_0x6f01b6[_0x2af558(0x1c2)][ASSET_POINTER_KEY]=this;}['dispose'](){const _0x492e3a=_0x41e641;this[_0x492e3a(0x1c6)]&&(this['value'][_0x492e3a(0x1c2)]&&(delete this['value'][_0x492e3a(0x1c2)][ASSET_POINTER_KEY],delete this[_0x492e3a(0x1c6)][_0x492e3a(0x1c2)][EDITOR_ASSET_ID_KEY]),typeof this[_0x492e3a(0x1c6)]['dispose']==='function'&&this[_0x492e3a(0x1c6)]['dispose']()),super['dispose']();}}function _0x405f(_0x3fbed5,_0x1a0468){_0x3fbed5=_0x3fbed5-0x1c2;const _0x88c6a3=_0x88c6();let _0x405f67=_0x88c6a3[_0x3fbed5];return _0x405f67;}function _0x88c6(){const _0xa3ff87=['assetPointer','861549fyXsSi','102hrZwAv','14645907bIUuXH','8noGFdi','8383520isMAtH','uuid','1447128FGPsuw','296230rqcREh','editorAssetId','userData','_uuid','667412rsAusN','10zowbou','value','8779582WrfSMJ'];_0x88c6=function(){return _0xa3ff87;};return _0x88c6();}
|
|
47
47
|
|
|
48
|
-
function
|
|
48
|
+
function _0x5f46(_0xa8878c,_0x340484){_0xa8878c=_0xa8878c-0x88;const _0x3f9ef9=_0x3f9e();let _0x5f46d0=_0x3f9ef9[_0xa8878c];return _0x5f46d0;}const _0x314778=_0x5f46;function _0x3f9e(){const _0x1f2603=['needsUpdate','432117LpyNAH','get','3194156PkhvAx','5365168Dlasth','release','textures','327LNXrfu','delete','914cumJNE','texturePointers','dispose','clear','addRef','values','setTexture','66kDSjal','3397855PKUOXP','getValue','set','23732181TdwHUS','778949dbPAyi'];_0x3f9e=function(){return _0x1f2603;};return _0x3f9e();}(function(_0xdcbab4,_0x8d68e8){const _0x3a6238=_0x5f46,_0x5067bf=_0xdcbab4();while(!![]){try{const _0x13fe91=-parseInt(_0x3a6238(0x88))/0x1+-parseInt(_0x3a6238(0x92))/0x2*(-parseInt(_0x3a6238(0x90))/0x3)+-parseInt(_0x3a6238(0x8c))/0x4+-parseInt(_0x3a6238(0x9a))/0x5+-parseInt(_0x3a6238(0x99))/0x6*(-parseInt(_0x3a6238(0x8a))/0x7)+-parseInt(_0x3a6238(0x8d))/0x8+parseInt(_0x3a6238(0x9d))/0x9;if(_0x13fe91===_0x8d68e8)break;else _0x5067bf['push'](_0x5067bf['shift']());}catch(_0x283422){_0x5067bf['push'](_0x5067bf['shift']());}}}(_0x3f9e,0x6af2a));class MaterialAssetPointer extends TAssetPointer{constructor(_0x1d6e59,_0x316025,_0x536c7c=0x0){const _0x5dfb2b=_0x5f46;super(_0x1d6e59,_0x536c7c),this[_0x5dfb2b(0x8f)]=_0x316025;}get[_0x314778(0x93)](){const _0x18c397=_0x314778;return this[_0x18c397(0x8f)];}[_0x314778(0x98)](_0x1cff9c,_0xbe3482){const _0x58a706=_0x314778,_0x38d7fb=this[_0x58a706(0x9b)](),_0x2c6330=_0xbe3482[_0x58a706(0x9b)]();if(!_0x2c6330)throw new Error('Texture\x20is\x20null');if(!_0x38d7fb)throw new Error('Material\x20is\x20null');const _0x3aab40=this[_0x58a706(0x8f)][_0x58a706(0x8b)](_0x1cff9c);_0x3aab40!==_0xbe3482&&(_0x3aab40&&_0x3aab40['release'](),this[_0x58a706(0x8f)][_0x58a706(0x9c)](_0x1cff9c,_0xbe3482),_0x38d7fb[_0x1cff9c]=_0x2c6330,_0xbe3482[_0x58a706(0x96)](),_0x38d7fb['needsUpdate']=!![]);}['removeTexture'](_0x4e4841){const _0x48f964=_0x314778,_0x25b47e=this[_0x48f964(0x9b)](),_0xe98186=this[_0x48f964(0x8f)][_0x48f964(0x8b)](_0x4e4841);_0xe98186&&(_0xe98186[_0x48f964(0x8e)](),this[_0x48f964(0x8f)][_0x48f964(0x91)](_0x4e4841),_0x25b47e&&(_0x25b47e[_0x4e4841]=null,_0x25b47e[_0x48f964(0x89)]=!![]));}[_0x314778(0x94)](){const _0x1c336c=_0x314778;for(const _0x393e22 of this['textures'][_0x1c336c(0x97)]()){_0x393e22[_0x1c336c(0x8e)]();}this['textures'][_0x1c336c(0x95)](),super['dispose']();}}
|
|
49
49
|
|
|
50
|
-
(function(
|
|
50
|
+
(function(_0x45308e,_0x23f754){var _0x1f68c2=_0x15e7,_0x582553=_0x45308e();while(!![]){try{var _0x11693f=parseInt(_0x1f68c2(0x99))/0x1*(-parseInt(_0x1f68c2(0x96))/0x2)+parseInt(_0x1f68c2(0xa0))/0x3*(-parseInt(_0x1f68c2(0x97))/0x4)+parseInt(_0x1f68c2(0x9e))/0x5*(-parseInt(_0x1f68c2(0x9d))/0x6)+-parseInt(_0x1f68c2(0x95))/0x7*(-parseInt(_0x1f68c2(0x9f))/0x8)+parseInt(_0x1f68c2(0x9a))/0x9*(-parseInt(_0x1f68c2(0x94))/0xa)+parseInt(_0x1f68c2(0x9c))/0xb*(-parseInt(_0x1f68c2(0x98))/0xc)+parseInt(_0x1f68c2(0x9b))/0xd;if(_0x11693f===_0x23f754)break;else _0x582553['push'](_0x582553['shift']());}catch(_0x5df6a0){_0x582553['push'](_0x582553['shift']());}}}(_0x5691,0x362f0));function _0x15e7(_0xa21f53,_0x14927a){_0xa21f53=_0xa21f53-0x94;var _0x5691c4=_0x5691();var _0x15e7fb=_0x5691c4[_0xa21f53];return _0x15e7fb;}class TextureAssetPointer extends TAssetPointer{constructor(_0x18b331,_0x408792=0x1){super(_0x18b331,_0x408792);}}function _0x5691(){var _0x39f70d=['32549rhbbkE','8634HgCdue','690DUdoNd','2328ujFjQM','6078gpnMMR','39050DnkfDx','7147rlksWI','163774ujKlyA','116zVAsRs','516XOBgJm','3YDJsmi','207kDNQbl','8383362TbvGoW'];_0x5691=function(){return _0x39f70d;};return _0x5691();}
|
|
51
51
|
|
|
52
|
-
(function(
|
|
52
|
+
(function(_0x20f1eb,_0x2ef0a3){var _0x1d4dcd=_0x1930,_0x542e43=_0x20f1eb();while(!![]){try{var _0x2a9e6e=parseInt(_0x1d4dcd(0x10d))/0x1+-parseInt(_0x1d4dcd(0x10b))/0x2*(parseInt(_0x1d4dcd(0x110))/0x3)+parseInt(_0x1d4dcd(0x10e))/0x4*(-parseInt(_0x1d4dcd(0x108))/0x5)+parseInt(_0x1d4dcd(0x10f))/0x6+parseInt(_0x1d4dcd(0x10c))/0x7+parseInt(_0x1d4dcd(0x109))/0x8+-parseInt(_0x1d4dcd(0x10a))/0x9;if(_0x2a9e6e===_0x2ef0a3)break;else _0x542e43['push'](_0x542e43['shift']());}catch(_0x125f9e){_0x542e43['push'](_0x542e43['shift']());}}}(_0xe244,0xe8f5e));class GeometryAssetPointer extends TAssetPointer{constructor(_0x5c1000,_0x530c39=0x1){super(_0x5c1000,_0x530c39);}}function _0x1930(_0x48e017,_0x5870fe){_0x48e017=_0x48e017-0x108;var _0xe24458=_0xe244();var _0x19300e=_0xe24458[_0x48e017];return _0x19300e;}function _0xe244(){var _0x42b706=['1656817bmWMQG','128mHoBgE','10013874FGHEic','32478zBLsdn','232790bqXCoL','2029552ovSenD','6784344vUyoiK','260oBJDUN','7180376BEeCum'];_0xe244=function(){return _0x42b706;};return _0xe244();}
|
|
53
53
|
|
|
54
|
-
const
|
|
54
|
+
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 LoadingManager(),this['gltfLoader']=new 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 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 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 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 Texture&&!_0xcbd0e1[_0x51604a(0xdc)]['assetPointer']&&this['addAsset'](_0xcbd0e1);});});}}async['loadGltfFromPathAsync'](_0x367a9b){const _0x16dd71=_0x2f0845;this[_0x16dd71(0xe1)]();const _0x6a89d8=new GLTFLoader(new 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 GLTFLoader(new 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 GLTFLoader(new LoadingManager());AssetManager['_dracoLoader']&&_0x113c08[_0x3d9fbe(0xbd)](AssetManager['_dracoLoader']),_0x113c08[_0x3d9fbe(0xdf)](_0x338801,_0x347fcb,_0x2b0792);}[_0x2f0845(0xed)](_0x593b81='',_0x116f63){const _0x501255=_0x2f0845,_0x5204d0=new FileLoader();_0x5204d0[_0x501255(0xe3)](_0x593b81,_0x116f63);}[_0x2f0845(0xee)](_0x2eb68d,_0x1fc0d1=0x0){const _0x4cd9e3=_0x2f0845;if(_0x2eb68d instanceof BufferGeometry)return this[_0x4cd9e3(0xcb)](_0x2eb68d,_0x1fc0d1);if(_0x2eb68d instanceof Material)return this['addMaterialAsset'](_0x2eb68d,_0x1fc0d1);if(_0x2eb68d instanceof 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 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;
|
|
55
55
|
|
|
56
|
-
(function(
|
|
56
|
+
(function(_0x4a2128,_0x46b5f1){var _0x46702a=_0xea49,_0x2d9432=_0x4a2128();while(!![]){try{var _0xe99a5d=-parseInt(_0x46702a(0x199))/0x1*(-parseInt(_0x46702a(0x19d))/0x2)+-parseInt(_0x46702a(0x186))/0x3+-parseInt(_0x46702a(0x19a))/0x4+-parseInt(_0x46702a(0x18c))/0x5+-parseInt(_0x46702a(0x189))/0x6*(-parseInt(_0x46702a(0x19e))/0x7)+parseInt(_0x46702a(0x198))/0x8*(-parseInt(_0x46702a(0x19f))/0x9)+parseInt(_0x46702a(0x197))/0xa;if(_0xe99a5d===_0x46b5f1)break;else _0x2d9432['push'](_0x2d9432['shift']());}catch(_0x53e4e4){_0x2d9432['push'](_0x2d9432['shift']());}}}(_0x17ca,0x8937b));var AssetCategory;(function(_0x150a60){var _0xeaf862=_0xea49;_0x150a60[_0xeaf862(0x196)]=_0xeaf862(0x194),_0x150a60[_0xeaf862(0x1a2)]=_0xeaf862(0x18f),_0x150a60[_0xeaf862(0x191)]=_0xeaf862(0x190),_0x150a60['Actor']=_0xeaf862(0x185),_0x150a60[_0xeaf862(0x187)]='actorManager',_0x150a60[_0xeaf862(0x18a)]=_0xeaf862(0x18e),_0x150a60['HTML']='html',_0x150a60[_0xeaf862(0x184)]=_0xeaf862(0x188),_0x150a60[_0xeaf862(0x18d)]=_0xeaf862(0x1a4);}(AssetCategory||(AssetCategory={})));var AssetLoadState;(function(_0x29f12c){var _0x24bebf=_0xea49;_0x29f12c[_0x24bebf(0x18b)]=_0x24bebf(0x1a0),_0x29f12c['Loading']=_0x24bebf(0x195),_0x29f12c[_0x24bebf(0x1a3)]=_0x24bebf(0x19c),_0x29f12c[_0x24bebf(0x19b)]='error';}(AssetLoadState||(AssetLoadState={})));var ReferenceType;(function(_0x2f5803){var _0x4198c5=_0xea49;_0x2f5803['Actor']=_0x4198c5(0x185),_0x2f5803['Component']='component',_0x2f5803['Material']='material',_0x2f5803[_0x4198c5(0x18a)]=_0x4198c5(0x18e),_0x2f5803[_0x4198c5(0x193)]=_0x4198c5(0x1a1),_0x2f5803[_0x4198c5(0x192)]='external';}(ReferenceType||(ReferenceType={})));var AssetType;function _0xea49(_0xd9f412,_0xac234b){_0xd9f412=_0xd9f412-0x184;var _0x17ca14=_0x17ca();var _0xea49b3=_0x17ca14[_0xd9f412];return _0xea49b3;}(function(_0x5a7a41){var _0x349295=_0xea49;_0x5a7a41[_0x5a7a41[_0x349295(0x194)]=0x1]=_0x349295(0x194),_0x5a7a41[_0x5a7a41['material']=0x2]='material',_0x5a7a41[_0x5a7a41[_0x349295(0x190)]=0x3]='texture',_0x5a7a41[_0x5a7a41[_0x349295(0x1a4)]=-1]=_0x349295(0x1a4);}(AssetType||(AssetType={})));function _0x17ca(){var _0x5ed5e4=['actor','1693158AcBGbz','ActorManager','code','3094356jnhHMh','Level','Unloaded','4917825iqdrYP','Undefined','level','material','texture','Texture','External','AssetPointer','geometry','loading','Geometry','16136220KNOmxt','608OuDWwI','2000gDZbCW','3541176CbQaNf','Error','loaded','1032xqsEvU','7UenhCN','19665MImSxj','unloaded','assetPointer','Material','Loaded','undefined','Code'];_0x17ca=function(){return _0x5ed5e4;};return _0x17ca();}
|
|
57
57
|
|
|
58
|
-
(function(
|
|
58
|
+
(function(_0x53f7a1,_0x4b9025){var _0x2c7ed8=_0x1088,_0x25510b=_0x53f7a1();while(!![]){try{var _0x453ed6=-parseInt(_0x2c7ed8(0x7d))/0x1*(parseInt(_0x2c7ed8(0x7b))/0x2)+-parseInt(_0x2c7ed8(0x6e))/0x3+-parseInt(_0x2c7ed8(0x78))/0x4+parseInt(_0x2c7ed8(0x6c))/0x5*(parseInt(_0x2c7ed8(0x79))/0x6)+parseInt(_0x2c7ed8(0x7a))/0x7+parseInt(_0x2c7ed8(0x77))/0x8*(parseInt(_0x2c7ed8(0x75))/0x9)+parseInt(_0x2c7ed8(0x6a))/0xa*(parseInt(_0x2c7ed8(0x74))/0xb);if(_0x453ed6===_0x4b9025)break;else _0x25510b['push'](_0x25510b['shift']());}catch(_0x5f1a85){_0x25510b['push'](_0x25510b['shift']());}}}(_0x3a97,0xe4b5a));var CollisionResponse;(function(_0x43d286){var _0x102c10=_0x1088;_0x43d286['Ignore']=_0x102c10(0x6b),_0x43d286[_0x102c10(0x72)]='Overlap',_0x43d286['Block']=_0x102c10(0x73);}(CollisionResponse||(CollisionResponse={})));function _0x1088(_0x383c11,_0x4c6150){_0x383c11=_0x383c11-0x69;var _0x3a975b=_0x3a97();var _0x10884c=_0x3a975b[_0x383c11];return _0x10884c;}function _0x3a97(){var _0x579abe=['Pawn','Visibility','Overlap','Block','2827qYcUMi','5038992WjDHZo','Sphere','8XkzuTo','2402268iRKSNz','2261484LjmVtC','10605868hZAmjg','1738112uRLiBE','Trigger','1bvpwxE','WorldDynamic','Camera','13810CcvkuQ','Ignore','20saLBNZ','WorldStatic','4593504ApcKTb','Box'];_0x3a97=function(){return _0x579abe;};return _0x3a97();}var CollisionChannel;(function(_0x52c518){var _0x532a95=_0x1088;_0x52c518[_0x532a95(0x6d)]=_0x532a95(0x6d),_0x52c518[_0x532a95(0x7e)]=_0x532a95(0x7e),_0x52c518[_0x532a95(0x70)]=_0x532a95(0x70),_0x52c518[_0x532a95(0x71)]=_0x532a95(0x71),_0x52c518[_0x532a95(0x69)]='Camera',_0x52c518[_0x532a95(0x7c)]=_0x532a95(0x7c);}(CollisionChannel||(CollisionChannel={})));var CollisionShapeType;(function(_0x33b0b4){var _0x449b63=_0x1088;_0x33b0b4[_0x449b63(0x76)]=_0x449b63(0x76),_0x33b0b4[_0x449b63(0x6f)]=_0x449b63(0x6f);}(CollisionShapeType||(CollisionShapeType={})));
|
|
59
59
|
|
|
60
|
-
const _0xd4ede4=_0xa177;function _0xa177(_0x3ce6fe,_0xba0343){_0x3ce6fe=_0x3ce6fe-0x19e;const _0x648bf8=_0x648b();let _0xa1777a=_0x648bf8[_0x3ce6fe];return _0xa1777a;}function _0x648b(){const _0x2152bc=['470FAUYGX','clone','delete','length','728811cofcSX','add','sub','onHitDelegate','point','colliders','tick','548581pDsyJM','sort','Visibility','from','Overlap','sign','filter','onBeginOverlapDelegate','previousOverlapPairs','24944QdroUu','onEndOverlapDelegate','registerCollider','has','135tdOKee','2157302mlUxkW','unregisterCollider','function','debugDrawEnabled','generateOverlapEvents','getCollisionResponse','Block','debugEnabled','lineTraceSingle','intersectRayAabb','120039iHIRYr','computeAabbHit','collisionEnabled','raycastAll','generateHitEvents','uuid','broadcast','raycast','penetrationDepth','1656kEQlWn','min','getCenter','get','16OYyYsP','multiplyScalar','intersectsBox','previousBlockPairs','max','153984RYWCvQ','normal','getMutualResponse','distance','getWorldAABB','push','set','lineTraceMulti','158758tBkSkH','_debugDrawEnabled','clear'];_0x648b=function(){return _0x2152bc;};return _0x648b();}(function(_0x5ed717,_0x540c67){const _0xa49003=_0xa177,_0xf5d42b=_0x5ed717();while(!![]){try{const _0x2e85b9=-parseInt(_0xa49003(0x1ca))/0x1+-parseInt(_0xa49003(0x1c3))/0x2+-parseInt(_0xa49003(0x1a9))/0x3*(-parseInt(_0xa49003(0x1b6))/0x4)+parseInt(_0xa49003(0x19e))/0x5*(-parseInt(_0xa49003(0x1bb))/0x6)+parseInt(_0xa49003(0x19f))/0x7+parseInt(_0xa49003(0x1da))/0x8*(-parseInt(_0xa49003(0x1b2))/0x9)+-parseInt(_0xa49003(0x1c6))/0xa*(-parseInt(_0xa49003(0x1d1))/0xb);if(_0x2e85b9===_0x540c67)break;else _0xf5d42b['push'](_0xf5d42b['shift']());}catch(_0x332d1d){_0xf5d42b['push'](_0xf5d42b['shift']());}}}(_0x648b,0xb4041));class PhysicsWorld{constructor(){const _0x171c52=_0xa177;this[_0x171c52(0x1cf)]=new Set(),this[_0x171c52(0x1d9)]=new Map(),this[_0x171c52(0x1b9)]=new Map(),this[_0x171c52(0x1c4)]=![];}get['debugDrawEnabled'](){const _0x55f30f=_0xa177;return this[_0x55f30f(0x1c4)];}set[_0xd4ede4(0x1a2)](_0x1c5371){const _0x4d822c=_0xd4ede4;if(this[_0x4d822c(0x1c4)]===_0x1c5371)return;this[_0x4d822c(0x1c4)]=_0x1c5371;for(const _0x5e8c86 of this[_0x4d822c(0x1cf)]){_0x5e8c86[_0x4d822c(0x1a6)]=_0x1c5371;}}[_0xd4ede4(0x1dc)](_0x1519fa){const _0x11792d=_0xd4ede4;this[_0x11792d(0x1cf)][_0x11792d(0x1cb)](_0x1519fa),this['_debugDrawEnabled']&&(_0x1519fa[_0x11792d(0x1a6)]=!![]);}[_0xd4ede4(0x1a0)](_0x3c49cf){const _0x3dd054=_0xd4ede4;this[_0x3dd054(0x1cf)][_0x3dd054(0x1c8)](_0x3c49cf);for(const [_0xd1b1d3,_0x38452c]of this[_0x3dd054(0x1d9)]){(_0x38452c[0x0]===_0x3c49cf||_0x38452c[0x1]===_0x3c49cf)&&this['previousOverlapPairs'][_0x3dd054(0x1c8)](_0xd1b1d3);}for(const [_0x5ab112,_0x1cc425]of this[_0x3dd054(0x1b9)]){(_0x1cc425[0x0]===_0x3c49cf||_0x1cc425[0x1]===_0x3c49cf)&&this[_0x3dd054(0x1b9)][_0x3dd054(0x1c8)](_0x5ab112);}}[_0xd4ede4(0x1c5)](){const _0x41957c=_0xd4ede4;this[_0x41957c(0x1cf)]['clear'](),this['previousOverlapPairs']['clear'](),this[_0x41957c(0x1b9)][_0x41957c(0x1c5)]();}[_0xd4ede4(0x1a7)](_0x16ff9f,_0x5b6753,_0x1f65e1=CollisionChannel[_0xd4ede4(0x1d3)],_0x5a3895){const _0x3c56eb=_0xd4ede4,_0x1e108f=_0x5b6753[_0x3c56eb(0x1c7)]()[_0x3c56eb(0x1cc)](_0x16ff9f),_0x56c78b=_0x1e108f[_0x3c56eb(0x1c9)]();if(_0x56c78b<=0.000001)return null;const _0x49ca6f=_0x1e108f['multiplyScalar'](0x1/_0x56c78b);let _0x24031a=null;for(const _0x17aad6 of this[_0x3c56eb(0x1cf)]){if(_0x17aad6===_0x5a3895)continue;if(!_0x17aad6[_0x3c56eb(0x1ab)])continue;const _0x508bf3=_0x17aad6[_0x3c56eb(0x1a4)](_0x1f65e1);if(_0x508bf3!==CollisionResponse['Block'])continue;const _0x18407d=_0x17aad6[_0x3c56eb(0x1bf)](new Box3()),_0x33bccd=this[_0x3c56eb(0x1a8)](_0x16ff9f,_0x49ca6f,_0x56c78b,_0x18407d);if(!_0x33bccd)continue;const _0x28f923=_0x17aad6,_0x53469e=typeof _0x28f923[_0x3c56eb(0x1b0)]===_0x3c56eb(0x1a1)?_0x28f923[_0x3c56eb(0x1b0)](_0x16ff9f,_0x49ca6f,_0x56c78b):_0x33bccd;if(!_0x53469e)continue;(!_0x24031a||_0x53469e[_0x3c56eb(0x1be)]<_0x24031a[_0x3c56eb(0x1be)])&&(_0x24031a={'collider':_0x17aad6,'point':_0x53469e['point'],'normal':_0x53469e['normal'],'distance':_0x53469e[_0x3c56eb(0x1be)],'blocking':!![]});}return _0x24031a;}[_0xd4ede4(0x1c2)](_0x3d0831,_0x580e9a,_0x4203cb=CollisionChannel[_0xd4ede4(0x1d3)],_0xec325){const _0x3efb1c=_0xd4ede4,_0x10789c=_0x580e9a[_0x3efb1c(0x1c7)]()[_0x3efb1c(0x1cc)](_0x3d0831),_0x12a645=_0x10789c[_0x3efb1c(0x1c9)]();if(_0x12a645<=0.000001)return [];const _0x7bb0dd=_0x10789c[_0x3efb1c(0x1b7)](0x1/_0x12a645),_0x11ff1d=[];for(const _0x4f672c of this['colliders']){if(_0x4f672c===_0xec325)continue;if(!_0x4f672c[_0x3efb1c(0x1ab)])continue;const _0x46a94c=_0x4f672c[_0x3efb1c(0x1a4)](_0x4203cb);if(_0x46a94c===CollisionResponse['Ignore'])continue;const _0x56ff4e=_0x4f672c[_0x3efb1c(0x1bf)](new Box3()),_0x4588b4=this[_0x3efb1c(0x1a8)](_0x3d0831,_0x7bb0dd,_0x12a645,_0x56ff4e);if(!_0x4588b4)continue;const _0x16f6af=_0x4f672c;if(typeof _0x16f6af[_0x3efb1c(0x1ac)]===_0x3efb1c(0x1a1)){const _0x8d742a=_0x16f6af[_0x3efb1c(0x1ac)](_0x3d0831,_0x7bb0dd,_0x12a645);for(const _0x377897 of _0x8d742a){_0x11ff1d[_0x3efb1c(0x1c0)]({'collider':_0x4f672c,'point':_0x377897['point'],'normal':_0x377897['normal'],'distance':_0x377897['distance'],'blocking':_0x46a94c===CollisionResponse[_0x3efb1c(0x1a5)]});}}else {const _0x2138f6=typeof _0x16f6af[_0x3efb1c(0x1b0)]===_0x3efb1c(0x1a1)?_0x16f6af['raycast'](_0x3d0831,_0x7bb0dd,_0x12a645):_0x4588b4;if(!_0x2138f6)continue;_0x11ff1d['push']({'collider':_0x4f672c,'point':_0x2138f6[_0x3efb1c(0x1ce)],'normal':_0x2138f6[_0x3efb1c(0x1bc)],'distance':_0x2138f6[_0x3efb1c(0x1be)],'blocking':_0x46a94c===CollisionResponse[_0x3efb1c(0x1a5)]});}}return _0x11ff1d[_0x3efb1c(0x1d2)]((_0x1f641c,_0x1719cb)=>_0x1f641c[_0x3efb1c(0x1be)]-_0x1719cb[_0x3efb1c(0x1be)]);}[_0xd4ede4(0x1d0)](_0x933a31){const _0x1d2764=_0xd4ede4,_0x120d93=Array[_0x1d2764(0x1d4)](this['colliders'])[_0x1d2764(0x1d7)](_0x24f860=>_0x24f860[_0x1d2764(0x1ab)]),_0x3f6f5e=new Map();for(const _0x2299c5 of _0x120d93){_0x3f6f5e[_0x1d2764(0x1c1)](_0x2299c5,_0x2299c5[_0x1d2764(0x1bf)](new Box3()));}const _0x597e7c=new Map(),_0x49590f=new Map();for(let _0x5a37d=0x0;_0x5a37d<_0x120d93[_0x1d2764(0x1c9)];_0x5a37d++){const _0x1731c8=_0x120d93[_0x5a37d],_0x37cb9a=_0x3f6f5e[_0x1d2764(0x1b5)](_0x1731c8);if(!_0x37cb9a)continue;for(let _0x41ee67=_0x5a37d+0x1;_0x41ee67<_0x120d93[_0x1d2764(0x1c9)];_0x41ee67++){const _0xc596f1=_0x120d93[_0x41ee67],_0x5084a8=_0x3f6f5e[_0x1d2764(0x1b5)](_0xc596f1);if(!_0x5084a8)continue;if(!_0x37cb9a[_0x1d2764(0x1b8)](_0x5084a8))continue;const _0x28c3e6=_0x1731c8[_0x1d2764(0x1bd)](_0xc596f1);if(_0x28c3e6===CollisionResponse['Ignore'])continue;const _0x361987=this['getPairKey'](_0x1731c8,_0xc596f1);_0x28c3e6===CollisionResponse[_0x1d2764(0x1d5)]?_0x597e7c[_0x1d2764(0x1c1)](_0x361987,[_0x1731c8,_0xc596f1]):_0x49590f['set'](_0x361987,[_0x1731c8,_0xc596f1]);}}for(const [_0x24b6a5,_0x58a2a4]of _0x597e7c){if(this[_0x1d2764(0x1d9)][_0x1d2764(0x1dd)](_0x24b6a5))continue;const [_0xb3647d,_0x2e4f66]=_0x58a2a4;_0xb3647d[_0x1d2764(0x1a3)]&&_0xb3647d[_0x1d2764(0x1d8)][_0x1d2764(0x1af)](_0x2e4f66),_0x2e4f66[_0x1d2764(0x1a3)]&&_0x2e4f66[_0x1d2764(0x1d8)][_0x1d2764(0x1af)](_0xb3647d);}for(const [_0x70d4ae,_0x5762e0]of this[_0x1d2764(0x1d9)]){if(_0x597e7c[_0x1d2764(0x1dd)](_0x70d4ae))continue;const [_0x37097a,_0xe43c68]=_0x5762e0;_0x37097a[_0x1d2764(0x1a3)]&&_0x37097a[_0x1d2764(0x1db)][_0x1d2764(0x1af)](_0xe43c68),_0xe43c68[_0x1d2764(0x1a3)]&&_0xe43c68[_0x1d2764(0x1db)][_0x1d2764(0x1af)](_0x37097a);}for(const [_0x34eb31,_0x429ac5]of _0x49590f){if(this[_0x1d2764(0x1b9)]['has'](_0x34eb31))continue;const [_0x2d777f,_0x2e9daa]=_0x429ac5,_0x32d41e=_0x3f6f5e[_0x1d2764(0x1b5)](_0x2d777f),_0x241c03=_0x3f6f5e[_0x1d2764(0x1b5)](_0x2e9daa);if(!_0x32d41e||!_0x241c03)continue;const _0x24c51c=this[_0x1d2764(0x1aa)](_0x2d777f,_0x2e9daa,_0x32d41e,_0x241c03);_0x2d777f['generateHitEvents']&&_0x2d777f[_0x1d2764(0x1cd)][_0x1d2764(0x1af)](_0x24c51c);if(_0x2e9daa[_0x1d2764(0x1ad)]){const _0x1ca056={'self':_0x2e9daa,'other':_0x2d777f,'point':_0x24c51c[_0x1d2764(0x1ce)][_0x1d2764(0x1c7)](),'normal':_0x24c51c[_0x1d2764(0x1bc)][_0x1d2764(0x1c7)]()['multiplyScalar'](-1),'penetrationDepth':_0x24c51c[_0x1d2764(0x1b1)]};_0x2e9daa[_0x1d2764(0x1cd)][_0x1d2764(0x1af)](_0x1ca056);}}this[_0x1d2764(0x1d9)]=_0x597e7c,this['previousBlockPairs']=_0x49590f;}['computeAabbHit'](_0x4a35e9,_0x234e69,_0x53668e,_0x425f46){const _0x174261=_0xd4ede4,_0xca7e1c=Math[_0x174261(0x1b3)](_0x53668e[_0x174261(0x1ba)]['x'],_0x425f46[_0x174261(0x1ba)]['x'])-Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['x'],_0x425f46[_0x174261(0x1b3)]['x']),_0x22d67c=Math[_0x174261(0x1b3)](_0x53668e['max']['y'],_0x425f46[_0x174261(0x1ba)]['y'])-Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['y'],_0x425f46['min']['y']),_0x14fe3c=Math[_0x174261(0x1b3)](_0x53668e[_0x174261(0x1ba)]['z'],_0x425f46[_0x174261(0x1ba)]['z'])-Math[_0x174261(0x1ba)](_0x53668e['min']['z'],_0x425f46['min']['z']);let _0x37f955=_0xca7e1c,_0xb27ff0='x';_0x22d67c<_0x37f955&&(_0x37f955=_0x22d67c,_0xb27ff0='y');_0x14fe3c<_0x37f955&&(_0x37f955=_0x14fe3c,_0xb27ff0='z');const _0x58c2f1=_0x53668e[_0x174261(0x1b4)](new Vector3()),_0x4869c8=_0x425f46[_0x174261(0x1b4)](new Vector3()),_0x197af1=_0x4869c8[_0x174261(0x1c7)]()[_0x174261(0x1cc)](_0x58c2f1),_0x28caae=new Vector3(0x0,0x0,0x0);if(_0xb27ff0==='x')_0x28caae['set'](Math[_0x174261(0x1d6)](_0x197af1['x'])||0x1,0x0,0x0);else _0xb27ff0==='y'?_0x28caae[_0x174261(0x1c1)](0x0,Math[_0x174261(0x1d6)](_0x197af1['y'])||0x1,0x0):_0x28caae[_0x174261(0x1c1)](0x0,0x0,Math['sign'](_0x197af1['z'])||0x1);const _0x3b48c4=new Vector3((Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['x'],_0x425f46['min']['x'])+Math[_0x174261(0x1b3)](_0x53668e['max']['x'],_0x425f46[_0x174261(0x1ba)]['x']))*0.5,(Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['y'],_0x425f46[_0x174261(0x1b3)]['y'])+Math['min'](_0x53668e['max']['y'],_0x425f46[_0x174261(0x1ba)]['y']))*0.5,(Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['z'],_0x425f46['min']['z'])+Math[_0x174261(0x1b3)](_0x53668e[_0x174261(0x1ba)]['z'],_0x425f46[_0x174261(0x1ba)]['z']))*0.5);return {'self':_0x4a35e9,'other':_0x234e69,'point':_0x3b48c4,'normal':_0x28caae,'penetrationDepth':Math[_0x174261(0x1ba)](0x0,_0x37f955)};}['getPairKey'](_0x38eee4,_0x32439c){const _0x41b8b1=_0xd4ede4;return _0x38eee4[_0x41b8b1(0x1ae)]<_0x32439c[_0x41b8b1(0x1ae)]?_0x38eee4[_0x41b8b1(0x1ae)]+'|'+_0x32439c[_0x41b8b1(0x1ae)]:_0x32439c[_0x41b8b1(0x1ae)]+'|'+_0x38eee4[_0x41b8b1(0x1ae)];}[_0xd4ede4(0x1a8)](_0x28f655,_0x39ab80,_0x50e074,_0x3b7ce2){const _0x3d8a2e=_0xd4ede4;let _0x3d5da8=0x0,_0x1ddcbb=_0x50e074;const _0x3823ae=new Vector3(0x0,0x0,0x0),_0x9a1dd2=1e-8,_0x7402d3=_0x1843a3=>{const _0x1b1327=_0xa177,_0x28fa46=_0x28f655[_0x1843a3],_0xa20c9b=_0x39ab80[_0x1843a3],_0x44515a=_0x3b7ce2[_0x1b1327(0x1b3)][_0x1843a3],_0x140432=_0x3b7ce2[_0x1b1327(0x1ba)][_0x1843a3];if(Math['abs'](_0xa20c9b)<_0x9a1dd2){if(_0x28fa46<_0x44515a||_0x28fa46>_0x140432)return ![];return !![];}const _0x2f68c4=0x1/_0xa20c9b;let _0x590f6f,_0xed64d9;const _0x5c941f=new Vector3(0x0,0x0,0x0);_0xa20c9b>=0x0?(_0x590f6f=(_0x44515a-_0x28fa46)*_0x2f68c4,_0xed64d9=(_0x140432-_0x28fa46)*_0x2f68c4,_0x5c941f[_0x1843a3]=-1):(_0x590f6f=(_0x140432-_0x28fa46)*_0x2f68c4,_0xed64d9=(_0x44515a-_0x28fa46)*_0x2f68c4,_0x5c941f[_0x1843a3]=0x1);_0x590f6f>_0x3d5da8&&(_0x3d5da8=_0x590f6f,_0x3823ae['copy'](_0x5c941f));_0xed64d9<_0x1ddcbb&&(_0x1ddcbb=_0xed64d9);if(_0x3d5da8>_0x1ddcbb)return ![];return !![];};if(!_0x7402d3('x')||!_0x7402d3('y')||!_0x7402d3('z'))return null;if(_0x1ddcbb<0x0)return null;const _0x4401f6=Math[_0x3d8a2e(0x1ba)](0x0,_0x3d5da8);if(_0x4401f6>_0x50e074)return null;return {'distance':_0x4401f6,'normal':_0x3823ae,'point':_0x28f655[_0x3d8a2e(0x1c7)]()[_0x3d8a2e(0x1cb)](_0x39ab80['clone']()[_0x3d8a2e(0x1b7)](_0x4401f6))};}}
|
|
60
|
+
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=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!==CollisionResponse[_0x21b3e6(0x171)])continue;const _0x4f222d=_0x172419[_0x21b3e6(0x166)](new 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=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===CollisionResponse[_0x1cb0d8(0x13e)])continue;const _0x20e37d=_0x2cc9fe['getWorldAABB'](new 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===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===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 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===CollisionResponse[_0x39e5ef(0x13e)])continue;const _0x178e0b=this[_0x39e5ef(0x173)](_0x27e8b3,_0x223759);_0x423ce4===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 Vector3()),_0x480787=_0x5bcf28[_0x4abde4(0x14e)](new Vector3()),_0x5a2d28=_0x480787[_0x4abde4(0x148)]()[_0x4abde4(0x13b)](_0x5e071c),_0xb9188b=new 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 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 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 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))};}}
|
|
61
61
|
|
|
62
|
-
var
|
|
62
|
+
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,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 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,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);}}
|
|
63
63
|
|
|
64
|
-
(function(
|
|
64
|
+
var _0x2a178f=_0x316e;function _0x3e7f(){var _0x4d7dcd=['2548516UGHCZA','WebGL','1510095wDdNjV','16eijgTz','WebGPU','3399802zgOGQI','996562xnrCYb','969237yKNnRg','334428VwEIPf','9807822VTWLaV','8CxnNjL'];_0x3e7f=function(){return _0x4d7dcd;};return _0x3e7f();}function _0x316e(_0x4fdb34,_0x3ff002){_0x4fdb34=_0x4fdb34-0xdf;var _0x3e7f0c=_0x3e7f();var _0x316e13=_0x3e7f0c[_0x4fdb34];return _0x316e13;}(function(_0x3fdad2,_0x2f84a1){var _0x4867ac=_0x316e,_0x39b6bb=_0x3fdad2();while(!![]){try{var _0x8c531d=parseInt(_0x4867ac(0xe7))/0x1+parseInt(_0x4867ac(0xe1))/0x2+parseInt(_0x4867ac(0xe8))/0x3+-parseInt(_0x4867ac(0xe4))/0x4*(parseInt(_0x4867ac(0xe3))/0x5)+parseInt(_0x4867ac(0xe9))/0x6+parseInt(_0x4867ac(0xe6))/0x7+-parseInt(_0x4867ac(0xe0))/0x8*(parseInt(_0x4867ac(0xdf))/0x9);if(_0x8c531d===_0x2f84a1)break;else _0x39b6bb['push'](_0x39b6bb['shift']());}catch(_0x5e31f9){_0x39b6bb['push'](_0x39b6bb['shift']());}}}(_0x3e7f,0xcc771));var RendererType;(function(_0x407065){var _0x15d68b=_0x316e;_0x407065[_0x407065['WebGPU']=0x0]=_0x15d68b(0xe5),_0x407065[_0x407065['WebGL']=0x1]=_0x15d68b(0xe2);}(RendererType||(RendererType={})));const DefaultViewportParam={'elementId':null,'renderer':{'type':RendererType[_0x2a178f(0xe5)]},'isLabelRendererNeeded':![],'isCSS3DRendererNeeded':![],'isUILayerNeeded':![]};
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
(function(_0x49fac7,_0x3fde51){const _0x329b61=_0x11f1,_0x338b2b=_0x49fac7();while(!![]){try{const _0x1b01a4=-parseInt(_0x329b61(0x112))/0x1+-parseInt(_0x329b61(0x107))/0x2*(-parseInt(_0x329b61(0x10b))/0x3)+parseInt(_0x329b61(0x113))/0x4*(-parseInt(_0x329b61(0x114))/0x5)+parseInt(_0x329b61(0x10c))/0x6+-parseInt(_0x329b61(0x10e))/0x7+parseInt(_0x329b61(0x116))/0x8+parseInt(_0x329b61(0x10d))/0x9;if(_0x1b01a4===_0x3fde51)break;else _0x338b2b['push'](_0x338b2b['shift']());}catch(_0x236ea1){_0x338b2b['push'](_0x338b2b['shift']());}}}(_0x5386,0x2a1af));const DefaultPostProcessParam={'steps':[]};var PostProcessStepType;function _0x11f1(_0x6c9e1e,_0x5c63bc){_0x6c9e1e=_0x6c9e1e-0x107;const _0x538647=_0x5386();let _0x11f110=_0x538647[_0x6c9e1e];return _0x11f110;}function _0x5386(){const _0x2734ab=['ScreenSpaceReflection','Antialiasing','9687mMKZaT','890508ohOHlR','3629610JKiIte','345142MClSPD','Outline','GroundTruthAmbientOcclusion','DepthOfField','290691xAKlnZ','4oKTwUP','1431475DTVzyT','Bloom','1485568UnttNu','38Nxpgxf','LensFlare'];_0x5386=function(){return _0x2734ab;};return _0x5386();}(function(_0x826142){const _0x5ba151=_0x11f1;_0x826142[_0x826142[_0x5ba151(0x115)]=0x0]=_0x5ba151(0x115),_0x826142[_0x826142[_0x5ba151(0x111)]=0x1]='DepthOfField',_0x826142[_0x826142[_0x5ba151(0x109)]=0x2]=_0x5ba151(0x109),_0x826142[_0x826142[_0x5ba151(0x110)]=0x3]='GroundTruthAmbientOcclusion',_0x826142[_0x826142[_0x5ba151(0x10f)]=0x4]=_0x5ba151(0x10f),_0x826142[_0x826142[_0x5ba151(0x10a)]=0x5]='Antialiasing',_0x826142[_0x826142[_0x5ba151(0x108)]=0x6]='LensFlare';}(PostProcessStepType||(PostProcessStepType={})));
|
|
67
67
|
|
|
68
|
-
const
|
|
68
|
+
const _0x7c2747=_0xc883;function _0x3600(){const _0x3b8543=['4scVKmA','967594uoSoUc','Bloom','21595GVycMT','32Reuavu','356594lsTeaF','517715AdxpyT','2214549iEOimH','814710VESpgm','350THGsSe','5930055HixSrS','1074lllNeF'];_0x3600=function(){return _0x3b8543;};return _0x3600();}(function(_0x1d4a5a,_0x370385){const _0x1ec226=_0xc883,_0x823d8d=_0x1d4a5a();while(!![]){try{const _0x58f614=-parseInt(_0x1ec226(0xf7))/0x1+-parseInt(_0x1ec226(0xf2))/0x2+-parseInt(_0x1ec226(0xf1))/0x3*(-parseInt(_0x1ec226(0xf6))/0x4)+-parseInt(_0x1ec226(0xf9))/0x5*(parseInt(_0x1ec226(0xf5))/0x6)+parseInt(_0x1ec226(0xef))/0x7*(-parseInt(_0x1ec226(0xfa))/0x8)+parseInt(_0x1ec226(0xf4))/0x9+parseInt(_0x1ec226(0xf3))/0xa*(parseInt(_0x1ec226(0xf0))/0xb);if(_0x58f614===_0x370385)break;else _0x823d8d['push'](_0x823d8d['shift']());}catch(_0x43e072){_0x823d8d['push'](_0x823d8d['shift']());}}}(_0x3600,0xa9137));function _0xc883(_0xbf6190,_0x222ef6){_0xbf6190=_0xbf6190-0xef;const _0x360009=_0x3600();let _0xc8830d=_0x360009[_0xbf6190];return _0xc8830d;}const DefaultBloomParam={'type':PostProcessStepType[_0x7c2747(0xf8)],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
69
69
|
|
|
70
|
-
const
|
|
70
|
+
function _0x1c3d(){const _0x140405=['15LzLbjj','30670ickkpU','333JOmROz','3179110Ebiqqj','1003450GoKtUR','3844305bzREdT','708OlvWCa','80inxfVf','1361SmFNzN','DepthOfField','218316afqalv','5744328MVAmbG'];_0x1c3d=function(){return _0x140405;};return _0x1c3d();}const _0x201e56=_0x4b9e;(function(_0x4bcb2b,_0x436119){const _0x3b22ba=_0x4b9e,_0x45da25=_0x4bcb2b();while(!![]){try{const _0x207813=parseInt(_0x3b22ba(0x10e))/0x1*(parseInt(_0x3b22ba(0x10c))/0x2)+-parseInt(_0x3b22ba(0x112))/0x3*(parseInt(_0x3b22ba(0x110))/0x4)+parseInt(_0x3b22ba(0x10b))/0x5+parseInt(_0x3b22ba(0x111))/0x6+parseInt(_0x3b22ba(0x10a))/0x7*(-parseInt(_0x3b22ba(0x10d))/0x8)+parseInt(_0x3b22ba(0x114))/0x9*(parseInt(_0x3b22ba(0x113))/0xa)+parseInt(_0x3b22ba(0x115))/0xb;if(_0x207813===_0x436119)break;else _0x45da25['push'](_0x45da25['shift']());}catch(_0x9c89b7){_0x45da25['push'](_0x45da25['shift']());}}}(_0x1c3d,0xdcbc9));function _0x4b9e(_0x31be39,_0xd4fb19){_0x31be39=_0x31be39-0x10a;const _0x1c3df9=_0x1c3d();let _0x4b9e33=_0x1c3df9[_0x31be39];return _0x4b9e33;}const DefaultDOFParam={'type':PostProcessStepType[_0x201e56(0x10f)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
(function(_0x4a0571,_0x98a840){const _0x23f477=_0x6a99,_0x3d3d09=_0x4a0571();while(!![]){try{const _0x3258e7=-parseInt(_0x23f477(0x1c4))/0x1+parseInt(_0x23f477(0x1c2))/0x2*(parseInt(_0x23f477(0x1bf))/0x3)+parseInt(_0x23f477(0x1c3))/0x4*(-parseInt(_0x23f477(0x1c6))/0x5)+parseInt(_0x23f477(0x1bd))/0x6+-parseInt(_0x23f477(0x1c1))/0x7+-parseInt(_0x23f477(0x1c5))/0x8*(-parseInt(_0x23f477(0x1be))/0x9)+parseInt(_0x23f477(0x1c0))/0xa;if(_0x3258e7===_0x98a840)break;else _0x3d3d09['push'](_0x3d3d09['shift']());}catch(_0x536559){_0x3d3d09['push'](_0x3d3d09['shift']());}}}(_0x4394,0xe6fc1));function _0x6a99(_0x26b674,_0xf7d43){_0x26b674=_0x26b674-0x1bd;const _0x43941d=_0x4394();let _0x6a994d=_0x43941d[_0x26b674];return _0x6a994d;}function _0x4394(){const _0x5ed8fa=['1425245IzUyor','8927028GXutGH','639MygCLc','1968618fGJaWj','11596580dFyOCA','5809363qgSwQO','2FpigcM','20jVnIsQ','1238293dIbrCh','127984oePxYg'];_0x4394=function(){return _0x5ed8fa;};return _0x4394();}const DefaultGTAOParam={'type':PostProcessStepType['GroundTruthAmbientOcclusion'],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
73
73
|
|
|
74
|
-
const
|
|
74
|
+
const _0x165b5e=_0x9a7e;function _0x9a7e(_0x45853f,_0x72f8e4){_0x45853f=_0x45853f-0x94;const _0x517075=_0x5170();let _0x9a7ed9=_0x517075[_0x45853f];return _0x9a7ed9;}(function(_0xb2fa26,_0x2425cf){const _0x1be814=_0x9a7e,_0x29e420=_0xb2fa26();while(!![]){try{const _0x214380=parseInt(_0x1be814(0x9f))/0x1*(-parseInt(_0x1be814(0x9b))/0x2)+-parseInt(_0x1be814(0x9d))/0x3+-parseInt(_0x1be814(0x9a))/0x4*(parseInt(_0x1be814(0x9e))/0x5)+parseInt(_0x1be814(0x97))/0x6+parseInt(_0x1be814(0x95))/0x7+-parseInt(_0x1be814(0x99))/0x8*(-parseInt(_0x1be814(0x9c))/0x9)+parseInt(_0x1be814(0x94))/0xa*(parseInt(_0x1be814(0x98))/0xb);if(_0x214380===_0x2425cf)break;else _0x29e420['push'](_0x29e420['shift']());}catch(_0x25821a){_0x29e420['push'](_0x29e420['shift']());}}}(_0x5170,0x4cc17));function _0x5170(){const _0x425deb=['1009HlgyjH','380TjHDtI','4014556sdtYkw','Outline','2015754QSqLGj','148918BQTFED','5608MyTmIJ','4fHQDJW','50seAgxH','261vqkkPE','1842945gyMFSc','2451545elmrDV'];_0x5170=function(){return _0x425deb;};return _0x5170();}const DefaultOutlineParams={'type':PostProcessStepType[_0x165b5e(0x96)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
75
75
|
|
|
76
|
-
const
|
|
76
|
+
const _0x16b52b=_0x5c24;(function(_0x15104b,_0x3be50c){const _0x13aa53=_0x5c24,_0x3bb4ba=_0x15104b();while(!![]){try{const _0x40db36=-parseInt(_0x13aa53(0x8a))/0x1*(parseInt(_0x13aa53(0x84))/0x2)+parseInt(_0x13aa53(0x7f))/0x3*(-parseInt(_0x13aa53(0x80))/0x4)+parseInt(_0x13aa53(0x89))/0x5*(parseInt(_0x13aa53(0x88))/0x6)+-parseInt(_0x13aa53(0x82))/0x7*(-parseInt(_0x13aa53(0x86))/0x8)+-parseInt(_0x13aa53(0x81))/0x9+-parseInt(_0x13aa53(0x8b))/0xa*(parseInt(_0x13aa53(0x85))/0xb)+parseInt(_0x13aa53(0x83))/0xc;if(_0x40db36===_0x3be50c)break;else _0x3bb4ba['push'](_0x3bb4ba['shift']());}catch(_0x41d90){_0x3bb4ba['push'](_0x3bb4ba['shift']());}}}(_0xae04,0x9c4b9));const DefaultLensFlareParam={'type':PostProcessStepType[_0x16b52b(0x87)],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};function _0x5c24(_0x5a3ed1,_0x15dd76){_0x5a3ed1=_0x5a3ed1-0x7f;const _0xae0410=_0xae04();let _0x5c2421=_0xae0410[_0x5a3ed1];return _0x5c2421;}function _0xae04(){const _0x2d506f=['1467rFhstn','3620clDXdd','5618349UGxtrJ','70483DDQssc','36083160TGdcYw','30036zkpsKh','132YfCGIu','688ZbnyJE','LensFlare','509766BPOIpM','5mpwUJs','71JtyiTY','987130uHMXBh'];_0xae04=function(){return _0x2d506f;};return _0xae04();}
|
|
77
77
|
|
|
78
|
-
const _0x12530e=_0x16fa;(function(_0x383beb,_0x5831cc){const _0x14526b=_0x16fa,_0x5e8715=_0x383beb();while(!![]){try{const _0x44b595=parseInt(_0x14526b(0x170))/0x1+parseInt(_0x14526b(0x17f))/0x2*(parseInt(_0x14526b(0x110))/0x3)+-parseInt(_0x14526b(0x14e))/0x4*(parseInt(_0x14526b(0x151))/0x5)+-parseInt(_0x14526b(0x17c))/0x6+parseInt(_0x14526b(0x12e))/0x7*(parseInt(_0x14526b(0x15f))/0x8)+parseInt(_0x14526b(0x158))/0x9*(-parseInt(_0x14526b(0x125))/0xa)+parseInt(_0x14526b(0x156))/0xb*(parseInt(_0x14526b(0x12d))/0xc);if(_0x44b595===_0x5831cc)break;else _0x5e8715['push'](_0x5e8715['shift']());}catch(_0x584b22){_0x5e8715['push'](_0x5e8715['shift']());}}}(_0x4603,0x50aa9));function _0x16fa(_0x18f16b,_0x1e865a){_0x18f16b=_0x18f16b-0x10a;const _0x460352=_0x4603();let _0x16fab5=_0x460352[_0x18f16b];return _0x16fab5;}function _0x4603(){const _0x1700a6=['useTemporalFiltering','samples','Antialiasing','selectedObjects','setup','normal','output','gtaoThickness','push','outlineEnabled','focusDistanceNode','set','steps','scale','Bloom','lensflarePass','add','2212396lcATgx','addOutlineObject','has','5CZkbdD','outlineVisibleEdgeColor','dispose','aperture','renderer','73018covwDn','outputNode','9WWAlms','outlineEdgeThickness','maxblur','bokehScaleNode','updateSteps','outlineHiddenEdgeColor','value','2973304kWOfqE','edgeGlow','bloomThreshold','outlinePass','dofFocus','getViewZNode','camera','ghostSpacing','buildPipeline','removeOutlineObject','distanceFallOff','gtaoPass','DepthOfField','setOutlineObjects','ghostSamples','updateAllUniforms','outlineEdgeGlow','407202BXRbDt','distanceExponent','pulsePeriod','bloomRadius','lensflareEnabled','ghostTint','hiddenEdgeColor','resolutionScale','setMRT','type','dofAperture','markDirty','2831874ORKFhI','method','onDirtyCallback','146HLUwuk','getStepParam','lut3dTexture','processing','getLUT3DTexture','fxaa','onBuildFinalNode','11082XyKOWq','visibleEdgeColor','postProcessParam','assign','smaaEnabled','velocity','setLUT3DTexture','edgeStrength','gtaoDistanceExponent','scene','outlinePulsePeriod','gtaoScale','edgeThicknessNode','strength','render','bloomPass','traaPass','edgeThickness','dofPass','mul','select','3966680dSiUQZ','thickness','focus','bloomStrength','div','threshold','getTextureNode','LensFlare','1272OgGZbO','7vSWWAa','smaa','gtaoEnabled','createEffectUniforms','postProcessing','radius','Outline','depth','map','effectUniforms','updateCamera','GroundTruthAmbientOcclusion','outlineObjects','bloomEnabled','greaterThan'];_0x4603=function(){return _0x1700a6;};return _0x4603();}class PostProcessManager{constructor(_0x1f4195,_0x41d384,_0x5f7369,_0x10ba5d,_0x3b58d9){const _0x33e2c0=_0x16fa;this[_0x33e2c0(0x132)]=null,this['outlineObjects']=[],this[_0x33e2c0(0x137)]=null,this[_0x33e2c0(0x162)]=null,this['bloomPass']=null,this[_0x33e2c0(0x122)]=null,this['gtaoPass']=null,this['traaPass']=null,this[_0x33e2c0(0x14c)]=null,this[_0x33e2c0(0x10b)]=null,this['onDirtyCallback']=null,this[_0x33e2c0(0x155)]=_0x1f4195,this[_0x33e2c0(0x119)]=_0x41d384,this[_0x33e2c0(0x165)]=_0x5f7369,this[_0x33e2c0(0x112)]=Object[_0x33e2c0(0x113)]({},_0x10ba5d),this[_0x33e2c0(0x17e)]=_0x3b58d9!==null&&_0x3b58d9!==void 0?_0x3b58d9:null;}get[_0x12530e(0x10c)](){return this['postProcessing'];}[_0x12530e(0x138)](_0x1e21a4){const _0x5b6935=_0x12530e;this[_0x5b6935(0x165)]=_0x1e21a4,(!this[_0x5b6935(0x132)]||!this[_0x5b6935(0x137)])&&(this[_0x5b6935(0x167)](),this['updateAllUniforms'](),this[_0x5b6935(0x17b)]());}[_0x12530e(0x141)](){const _0xaca417=_0x12530e;(!this['postProcessing']||!this['effectUniforms'])&&this['buildPipeline'](),this[_0xaca417(0x16e)](),this[_0xaca417(0x17b)]();}[_0x12530e(0x167)](){const _0x4c7e68=_0x12530e;var _0x349467,_0x28fdb7,_0x3a92b7,_0x2a5d06,_0x58d8f6;this['postProcessing']&&this[_0x4c7e68(0x132)][_0x4c7e68(0x153)]();this[_0x4c7e68(0x132)]=new PostProcessing(this[_0x4c7e68(0x155)]),this[_0x4c7e68(0x162)]=null,this[_0x4c7e68(0x11f)]=null,this[_0x4c7e68(0x122)]=null,this[_0x4c7e68(0x16a)]=null,this[_0x4c7e68(0x120)]=null,this['lensflarePass']=null,this[_0x4c7e68(0x137)]=this[_0x4c7e68(0x131)]();const _0x56a2b7=new Set(this[_0x4c7e68(0x112)][_0x4c7e68(0x149)][_0x4c7e68(0x136)](_0x23aa15=>_0x23aa15[_0x4c7e68(0x179)])),_0x614a94=this[_0x4c7e68(0x10a)](PostProcessStepType[_0x4c7e68(0x13f)]),_0x449c37=_0x56a2b7['has'](PostProcessStepType['GroundTruthAmbientOcclusion']),_0x4a4313=(_0x614a94===null||_0x614a94===void 0?void 0:_0x614a94[_0x4c7e68(0x17d)])==='traa',_0x5d4dca=pass(this[_0x4c7e68(0x119)],this[_0x4c7e68(0x165)]);if(_0x449c37||_0x4a4313){const _0x27b0fa={'output':output};if(_0x449c37)_0x27b0fa[_0x4c7e68(0x142)]=normalView;if(_0x4a4313)_0x27b0fa[_0x4c7e68(0x115)]=velocity;_0x5d4dca[_0x4c7e68(0x178)](mrt(_0x27b0fa));}const _0xed37dd=_0x5d4dca[_0x4c7e68(0x12b)](_0x4c7e68(0x143)),_0x47469d=_0x5d4dca[_0x4c7e68(0x12b)](_0x4c7e68(0x135)),_0x586ef0=_0x5d4dca[_0x4c7e68(0x164)](),_0x2285b3=_0x449c37?_0x5d4dca['getTextureNode']('normal'):null,_0xbd280f=_0x4a4313?_0x5d4dca[_0x4c7e68(0x12b)](_0x4c7e68(0x115)):null,_0x1d5b49=this[_0x4c7e68(0x137)];let _0x1121ce=_0xed37dd;const _0xd907c2=_0x56a2b7['has'](PostProcessStepType['Bloom']),_0x54f1e6=_0x56a2b7[_0x4c7e68(0x150)](PostProcessStepType[_0x4c7e68(0x12c)]);if(_0xd907c2||_0x54f1e6){const _0x2e5976=(_0x349467=this[_0x4c7e68(0x10a)](PostProcessStepType[_0x4c7e68(0x14b)]))!==null&&_0x349467!==void 0?_0x349467:DefaultBloomParam;this[_0x4c7e68(0x11f)]=bloom(_0xed37dd),this['bloomPass'][_0x4c7e68(0x12a)][_0x4c7e68(0x15e)]=_0x2e5976[_0x4c7e68(0x12a)],this[_0x4c7e68(0x11f)][_0x4c7e68(0x11d)][_0x4c7e68(0x15e)]=_0x2e5976['strength'],this[_0x4c7e68(0x11f)][_0x4c7e68(0x133)][_0x4c7e68(0x15e)]=_0x2e5976[_0x4c7e68(0x133)];if(_0xd907c2){const _0x1d198f=this[_0x4c7e68(0x11f)][_0x4c7e68(0x123)](_0x1d5b49[_0x4c7e68(0x128)]);_0x1121ce=vec4(_0xed37dd['r'][_0x4c7e68(0x14d)](_0x1d198f['r']),_0xed37dd['g'][_0x4c7e68(0x14d)](_0x1d198f['g']),_0xed37dd['b'][_0x4c7e68(0x14d)](_0x1d198f['b']),_0xed37dd['a']);}if(_0x54f1e6){const _0xaedfb6=(_0x28fdb7=this[_0x4c7e68(0x10a)](PostProcessStepType['LensFlare']))!==null&&_0x28fdb7!==void 0?_0x28fdb7:DefaultLensFlareParam;this[_0x4c7e68(0x14c)]=lensflare(this[_0x4c7e68(0x11f)][_0x4c7e68(0x12b)](),{'ghostTint':vec3(_0xaedfb6[_0x4c7e68(0x175)][0x0],_0xaedfb6[_0x4c7e68(0x175)][0x1],_0xaedfb6['ghostTint'][0x2]),'threshold':float(_0xaedfb6[_0x4c7e68(0x12a)]),'ghostSamples':float(_0xaedfb6[_0x4c7e68(0x16d)]),'ghostSpacing':float(_0xaedfb6[_0x4c7e68(0x166)]),'ghostAttenuationFactor':float(_0xaedfb6['ghostAttenuationFactor']),'downSampleRatio':_0xaedfb6['downSampleRatio']});const _0x25530b=this[_0x4c7e68(0x14c)][_0x4c7e68(0x12b)]();_0x1121ce=vec4(_0x1121ce['r'][_0x4c7e68(0x14d)](_0x25530b['r']),_0x1121ce['g']['add'](_0x25530b['g']),_0x1121ce['b'][_0x4c7e68(0x14d)](_0x25530b['b']),_0x1121ce['a']);}}if(_0x56a2b7['has'](PostProcessStepType[_0x4c7e68(0x16b)])){const _0x4dba5a=(_0x3a92b7=this[_0x4c7e68(0x10a)](PostProcessStepType[_0x4c7e68(0x16b)]))!==null&&_0x3a92b7!==void 0?_0x3a92b7:DefaultDOFParam;this['dofPass']=dof(_0x1121ce,_0x586ef0,uniform(_0x4dba5a[_0x4c7e68(0x127)]),uniform(_0x4dba5a[_0x4c7e68(0x154)]),uniform(_0x4dba5a[_0x4c7e68(0x15a)])),_0x1121ce=vec4(this['dofPass']['r'],this[_0x4c7e68(0x122)]['g'],this[_0x4c7e68(0x122)]['b'],_0xed37dd['a']);}if(_0x449c37&&_0x2285b3){const _0xb9dc60=(_0x2a5d06=this[_0x4c7e68(0x10a)](PostProcessStepType[_0x4c7e68(0x139)]))!==null&&_0x2a5d06!==void 0?_0x2a5d06:DefaultGTAOParam;this[_0x4c7e68(0x16a)]=ao(_0x47469d,_0x2285b3,this['camera']),this['gtaoPass'][_0x4c7e68(0x177)]=0.5,this[_0x4c7e68(0x16a)]['distanceExponent']['value']=_0xb9dc60['distanceExponent'],this[_0x4c7e68(0x16a)]['distanceFallOff'][_0x4c7e68(0x15e)]=_0xb9dc60[_0x4c7e68(0x169)],this[_0x4c7e68(0x16a)][_0x4c7e68(0x133)][_0x4c7e68(0x15e)]=_0xb9dc60[_0x4c7e68(0x133)],this[_0x4c7e68(0x16a)][_0x4c7e68(0x14a)][_0x4c7e68(0x15e)]=_0xb9dc60['scale'],this[_0x4c7e68(0x16a)][_0x4c7e68(0x126)][_0x4c7e68(0x15e)]=_0xb9dc60['thickness'],this[_0x4c7e68(0x16a)][_0x4c7e68(0x13e)][_0x4c7e68(0x15e)]=_0xb9dc60[_0x4c7e68(0x13e)],this[_0x4c7e68(0x16a)]['useTemporalFiltering']=_0xb9dc60[_0x4c7e68(0x13d)];const _0x2441ef=this[_0x4c7e68(0x16a)][_0x4c7e68(0x12b)]()['r'];_0x1121ce=vec4(_0x1121ce['r']['mul'](_0x2441ef),_0x1121ce['g'][_0x4c7e68(0x123)](_0x2441ef),_0x1121ce['b'][_0x4c7e68(0x123)](_0x2441ef),_0x1121ce['a']);}if(_0x56a2b7['has'](PostProcessStepType[_0x4c7e68(0x134)])){const _0xa3df34=(_0x58d8f6=this[_0x4c7e68(0x10a)](PostProcessStepType[_0x4c7e68(0x134)]))!==null&&_0x58d8f6!==void 0?_0x58d8f6:DefaultOutlineParams;this['outlinePass']=outline(this[_0x4c7e68(0x119)],this[_0x4c7e68(0x165)],{'selectedObjects':this[_0x4c7e68(0x13a)],'edgeGlow':uniform(_0xa3df34[_0x4c7e68(0x160)]),'edgeThickness':uniform(_0xa3df34[_0x4c7e68(0x121)])});const {visibleEdge:_0x42c592,hiddenEdge:_0x25a80e}=this[_0x4c7e68(0x162)],_0xe30db=_0x1d5b49[_0x4c7e68(0x11a)][_0x4c7e68(0x13c)](0x0)[_0x4c7e68(0x124)](_0x1d5b49[_0x4c7e68(0x11a)],uniform(0x1)),_0x2fe893=time[_0x4c7e68(0x129)](_0xe30db)[_0x4c7e68(0x123)](0x2),_0x35c374=oscSine(_0x2fe893)[_0x4c7e68(0x123)](0.5)[_0x4c7e68(0x14d)](0.5),_0x37646e=_0x42c592['mul'](_0x1d5b49[_0x4c7e68(0x152)])[_0x4c7e68(0x14d)](_0x25a80e['mul'](_0x1d5b49[_0x4c7e68(0x15d)]))[_0x4c7e68(0x123)](_0x1d5b49['outlineEdgeStrength']),_0x1feb31=_0x1d5b49['outlinePulsePeriod'][_0x4c7e68(0x13c)](0x0),_0x2a315a=_0x1feb31[_0x4c7e68(0x124)](_0x35c374,float(0x1));_0x1121ce=vec4(_0x1121ce['r']['add'](_0x37646e['r'][_0x4c7e68(0x123)](_0x2a315a)),_0x1121ce['g']['add'](_0x37646e['g'][_0x4c7e68(0x123)](_0x2a315a)),_0x1121ce['b']['add'](_0x37646e['b'][_0x4c7e68(0x123)](_0x2a315a)),_0x1121ce['a']);}if(_0x614a94){if(_0x614a94[_0x4c7e68(0x17d)]===_0x4c7e68(0x10e))_0x1121ce=fxaa(_0x1121ce);else {if(_0x614a94[_0x4c7e68(0x17d)]===_0x4c7e68(0x12f))_0x1121ce=smaa(_0x1121ce);else _0x614a94[_0x4c7e68(0x17d)]==='traa'&&_0xbd280f&&(this[_0x4c7e68(0x120)]=traa(_0x1121ce,_0x47469d,_0xbd280f,this['camera']),_0x1121ce=this['traaPass'][_0x4c7e68(0x12b)]());}}_0x1121ce=this[_0x4c7e68(0x10f)](_0x1121ce),_0x1121ce=vec4(_0x1121ce['r'],_0x1121ce['g'],_0x1121ce['b'],_0xed37dd['a']),this[_0x4c7e68(0x132)][_0x4c7e68(0x157)]=_0x1121ce,this[_0x4c7e68(0x132)]['needsUpdate']=!![];}[_0x12530e(0x10f)](_0x378259){return _0x378259;}['createEffectUniforms'](){const _0x509ad1=_0x12530e;var _0x393516,_0x24daaa,_0x20a2e2,_0x1d1b02;const _0x13b0b6=(_0x393516=this[_0x509ad1(0x10a)](PostProcessStepType[_0x509ad1(0x14b)]))!==null&&_0x393516!==void 0?_0x393516:DefaultBloomParam,_0x1602df=(_0x24daaa=this[_0x509ad1(0x10a)](PostProcessStepType[_0x509ad1(0x16b)]))!==null&&_0x24daaa!==void 0?_0x24daaa:DefaultDOFParam,_0x21ecf6=(_0x20a2e2=this['getStepParam'](PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x20a2e2!==void 0?_0x20a2e2:DefaultGTAOParam,_0x2d5a80=(_0x1d1b02=this[_0x509ad1(0x10a)](PostProcessStepType[_0x509ad1(0x134)]))!==null&&_0x1d1b02!==void 0?_0x1d1b02:DefaultOutlineParams;return {'bloomEnabled':uniform(0x0),'bloomStrength':uniform(_0x13b0b6[_0x509ad1(0x11d)]),'bloomThreshold':uniform(_0x13b0b6[_0x509ad1(0x12a)]),'bloomRadius':uniform(_0x13b0b6[_0x509ad1(0x133)]),'dofEnabled':uniform(0x0),'dofFocus':uniform(_0x1602df[_0x509ad1(0x127)]),'dofAperture':uniform(_0x1602df[_0x509ad1(0x154)]),'dofMaxBlur':uniform(_0x1602df[_0x509ad1(0x15a)]),'gtaoEnabled':uniform(0x0),'gtaoScale':uniform(_0x21ecf6['scale']),'gtaoDistanceExponent':uniform(_0x21ecf6['distanceExponent']),'gtaoDistanceFallOff':uniform(_0x21ecf6['distanceFallOff']),'gtaoRadius':uniform(_0x21ecf6[_0x509ad1(0x133)]),'gtaoThickness':uniform(_0x21ecf6[_0x509ad1(0x126)]),'gtaoSamples':uniform(_0x21ecf6[_0x509ad1(0x13e)]),'outlineEnabled':uniform(0x0),'outlineEdgeStrength':uniform(_0x2d5a80[_0x509ad1(0x117)]),'outlineEdgeGlow':uniform(_0x2d5a80[_0x509ad1(0x160)]),'outlineEdgeThickness':uniform(_0x2d5a80['edgeThickness']),'outlinePulsePeriod':uniform(_0x2d5a80[_0x509ad1(0x172)]),'outlineVisibleEdgeColor':uniform(new Color(_0x2d5a80[_0x509ad1(0x111)])),'outlineHiddenEdgeColor':uniform(new Color(_0x2d5a80['hiddenEdgeColor'])),'fxaaEnabled':uniform(0x0),'smaaEnabled':uniform(0x0),'lensflareEnabled':uniform(0x0)};}[_0x12530e(0x10a)](_0x55377c){const _0x1283f6=_0x12530e;var _0x2162b3;return (_0x2162b3=this[_0x1283f6(0x112)][_0x1283f6(0x149)]['find'](_0x16032b=>_0x16032b[_0x1283f6(0x179)]===_0x55377c))!==null&&_0x2162b3!==void 0?_0x2162b3:null;}[_0x12530e(0x16e)](){const _0x456871=_0x12530e;if(!this[_0x456871(0x137)])return;const _0x1be7c5=this[_0x456871(0x137)],_0x2eb15a=new Set(this[_0x456871(0x112)][_0x456871(0x149)]['map'](_0x1befdf=>_0x1befdf[_0x456871(0x179)]));_0x1be7c5[_0x456871(0x13b)][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](PostProcessStepType['Bloom'])?0x1:0x0,_0x1be7c5['dofEnabled'][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](PostProcessStepType['DepthOfField'])?0x1:0x0,_0x1be7c5[_0x456871(0x130)][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](PostProcessStepType[_0x456871(0x139)])?0x1:0x0,_0x1be7c5[_0x456871(0x146)][_0x456871(0x15e)]=_0x2eb15a['has'](PostProcessStepType['Outline'])?0x1:0x0,_0x1be7c5[_0x456871(0x174)][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](PostProcessStepType[_0x456871(0x12c)])?0x1:0x0;const _0x20ccde=this[_0x456871(0x10a)](PostProcessStepType[_0x456871(0x13f)]);_0x20ccde?(_0x1be7c5['fxaaEnabled'][_0x456871(0x15e)]=_0x20ccde[_0x456871(0x17d)]===_0x456871(0x10e)?0x1:0x0,_0x1be7c5[_0x456871(0x114)][_0x456871(0x15e)]=_0x20ccde[_0x456871(0x17d)]===_0x456871(0x12f)?0x1:0x0):(_0x1be7c5['fxaaEnabled'][_0x456871(0x15e)]=0x0,_0x1be7c5['smaaEnabled'][_0x456871(0x15e)]=0x0);const _0x2e9434=this[_0x456871(0x10a)](PostProcessStepType[_0x456871(0x14b)]);_0x2e9434&&(_0x1be7c5[_0x456871(0x128)]['value']=_0x2e9434[_0x456871(0x11d)],_0x1be7c5[_0x456871(0x161)][_0x456871(0x15e)]=_0x2e9434['threshold'],_0x1be7c5[_0x456871(0x173)][_0x456871(0x15e)]=_0x2e9434[_0x456871(0x133)],this[_0x456871(0x11f)]&&(this[_0x456871(0x11f)][_0x456871(0x12a)][_0x456871(0x15e)]=_0x2e9434['threshold'],this['bloomPass']['strength'][_0x456871(0x15e)]=_0x2e9434[_0x456871(0x11d)],this[_0x456871(0x11f)][_0x456871(0x133)][_0x456871(0x15e)]=_0x2e9434[_0x456871(0x133)]));const _0x4b1324=this[_0x456871(0x10a)](PostProcessStepType['LensFlare']);if(_0x4b1324&&this[_0x456871(0x14c)]);const _0x18afab=this['getStepParam'](PostProcessStepType[_0x456871(0x16b)]);_0x18afab&&(_0x1be7c5[_0x456871(0x163)][_0x456871(0x15e)]=_0x18afab['focus'],_0x1be7c5[_0x456871(0x17a)]['value']=_0x18afab[_0x456871(0x154)],_0x1be7c5['dofMaxBlur'][_0x456871(0x15e)]=_0x18afab[_0x456871(0x15a)],this[_0x456871(0x122)]&&(this[_0x456871(0x122)][_0x456871(0x147)][_0x456871(0x15e)]=_0x18afab[_0x456871(0x127)],this['dofPass']['focalLengthNode'][_0x456871(0x15e)]=_0x18afab['aperture'],this[_0x456871(0x122)][_0x456871(0x15b)][_0x456871(0x15e)]=_0x18afab['maxblur']));const _0x4f0bb8=this[_0x456871(0x10a)](PostProcessStepType[_0x456871(0x139)]);_0x4f0bb8&&(_0x1be7c5[_0x456871(0x11b)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x14a)],_0x1be7c5[_0x456871(0x118)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x171)],_0x1be7c5['gtaoDistanceFallOff'][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x169)],_0x1be7c5['gtaoRadius']['value']=_0x4f0bb8[_0x456871(0x133)],_0x1be7c5[_0x456871(0x144)][_0x456871(0x15e)]=_0x4f0bb8['thickness'],_0x1be7c5['gtaoSamples']['value']=_0x4f0bb8['samples'],this[_0x456871(0x16a)]&&(this[_0x456871(0x16a)][_0x456871(0x171)][_0x456871(0x15e)]=_0x4f0bb8['distanceExponent'],this['gtaoPass']['distanceFallOff']['value']=_0x4f0bb8[_0x456871(0x169)],this[_0x456871(0x16a)][_0x456871(0x133)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x133)],this[_0x456871(0x16a)][_0x456871(0x14a)]['value']=_0x4f0bb8[_0x456871(0x14a)],this[_0x456871(0x16a)][_0x456871(0x126)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x126)],this[_0x456871(0x16a)][_0x456871(0x13e)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x13e)],this[_0x456871(0x16a)]['useTemporalFiltering']=_0x4f0bb8[_0x456871(0x13d)]));const _0x45f972=this['getStepParam'](PostProcessStepType[_0x456871(0x134)]);_0x45f972&&(_0x1be7c5['outlineEdgeStrength']['value']=_0x45f972[_0x456871(0x117)],_0x1be7c5[_0x456871(0x16f)]['value']=_0x45f972[_0x456871(0x160)],_0x1be7c5[_0x456871(0x159)][_0x456871(0x15e)]=_0x45f972[_0x456871(0x121)],_0x1be7c5['outlinePulsePeriod'][_0x456871(0x15e)]=_0x45f972[_0x456871(0x172)],_0x1be7c5[_0x456871(0x152)]['value']['set'](_0x45f972['visibleEdgeColor']),_0x1be7c5['outlineHiddenEdgeColor'][_0x456871(0x15e)][_0x456871(0x148)](_0x45f972[_0x456871(0x176)]),this[_0x456871(0x162)]&&(this[_0x456871(0x162)]['edgeGlowNode']['value']=_0x45f972[_0x456871(0x160)],this[_0x456871(0x162)][_0x456871(0x11c)][_0x456871(0x15e)]=_0x45f972['edgeThickness'],this[_0x456871(0x162)][_0x456871(0x140)]=this[_0x456871(0x13a)]));}[_0x12530e(0x15c)](_0x4739d4){const _0x4e3ced=_0x12530e;this[_0x4e3ced(0x112)][_0x4e3ced(0x149)]=_0x4739d4,this['buildPipeline'](),this[_0x4e3ced(0x16e)](),this['markDirty']();}[_0x12530e(0x14f)](_0x2f384f){const _0x417771=_0x12530e;!this[_0x417771(0x13a)]['includes'](_0x2f384f)&&(this[_0x417771(0x13a)]['push'](_0x2f384f),this[_0x417771(0x162)]&&(this[_0x417771(0x162)][_0x417771(0x140)]=this[_0x417771(0x13a)])),this['markDirty']();}[_0x12530e(0x16c)](_0x20e60d){const _0x2fbf62=_0x12530e;this['outlineObjects']['length']=0x0,this[_0x2fbf62(0x13a)][_0x2fbf62(0x145)](..._0x20e60d),this[_0x2fbf62(0x162)]&&(this['outlinePass'][_0x2fbf62(0x140)]=this[_0x2fbf62(0x13a)]),this['markDirty']();}[_0x12530e(0x168)](_0x13fb18){const _0x6a8f2e=_0x12530e,_0x49cf2b=this[_0x6a8f2e(0x13a)]['indexOf'](_0x13fb18);_0x49cf2b>-1&&(this[_0x6a8f2e(0x13a)]['splice'](_0x49cf2b,0x1),this['outlinePass']&&(this[_0x6a8f2e(0x162)][_0x6a8f2e(0x140)]=this[_0x6a8f2e(0x13a)])),this[_0x6a8f2e(0x17b)]();}[_0x12530e(0x116)](_0x4fb2e9){const _0x4a9ec7=_0x12530e;this[_0x4a9ec7(0x10b)]=_0x4fb2e9,this[_0x4a9ec7(0x167)](),this['updateAllUniforms'](),this[_0x4a9ec7(0x17b)]();}[_0x12530e(0x10d)](){return this['lut3dTexture'];}['render'](){const _0x58c4d2=_0x12530e;if(this[_0x58c4d2(0x132)])return this[_0x58c4d2(0x132)][_0x58c4d2(0x11e)](),!![];return ![];}['destroy'](){const _0x54d6dd=_0x12530e;this[_0x54d6dd(0x13a)]=[],this[_0x54d6dd(0x137)]=null,this[_0x54d6dd(0x162)]=null,this['bloomPass']=null,this[_0x54d6dd(0x122)]=null,this[_0x54d6dd(0x16a)]=null,this[_0x54d6dd(0x120)]=null,this[_0x54d6dd(0x14c)]=null,this[_0x54d6dd(0x10b)]=null,this['postProcessing']&&(this[_0x54d6dd(0x132)][_0x54d6dd(0x153)](),this[_0x54d6dd(0x132)]=null);}[_0x12530e(0x17b)](){const _0x4b22bf=_0x12530e;this[_0x4b22bf(0x17e)]&&this[_0x4b22bf(0x17e)]();}}
|
|
78
|
+
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 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)](PostProcessStepType[_0x5ea636(0x1bc)]),_0x543c94=_0x5571fe[_0x5ea636(0x1ba)](PostProcessStepType['GroundTruthAmbientOcclusion']),_0x3c3c3c=(_0x2e3b71===null||_0x2e3b71===void 0?void 0:_0x2e3b71['method'])===_0x5ea636(0x199),_0x71c121=pass(this[_0x5ea636(0x17e)],this[_0x5ea636(0x1ac)]);if(_0x543c94||_0x3c3c3c){const _0x5c55a4={'output':output};if(_0x543c94)_0x5c55a4[_0x5ea636(0x175)]=normalView;if(_0x3c3c3c)_0x5c55a4['velocity']=velocity;_0x71c121[_0x5ea636(0x1b7)](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)](PostProcessStepType[_0x5ea636(0x153)]),_0x5ee98a=_0x5571fe[_0x5ea636(0x1ba)](PostProcessStepType[_0x5ea636(0x19d)]);if(_0x569e10||_0x5ee98a){const _0x5b1d76=(_0x15c4ff=this[_0x5ea636(0x1a3)](PostProcessStepType[_0x5ea636(0x153)]))!==null&&_0x15c4ff!==void 0?_0x15c4ff:DefaultBloomParam;this['bloomPass']=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=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)](PostProcessStepType[_0x5ea636(0x19d)]))!==null&&_0x2f75f1!==void 0?_0x2f75f1:DefaultLensFlareParam;this['lensflarePass']=lensflare(this['bloomPass'][_0x5ea636(0x170)](),{'ghostTint':vec3(_0x112ab1['ghostTint'][0x0],_0x112ab1[_0x5ea636(0x1be)][0x1],_0x112ab1[_0x5ea636(0x1be)][0x2]),'threshold':float(_0x112ab1[_0x5ea636(0x157)]),'ghostSamples':float(_0x112ab1['ghostSamples']),'ghostSpacing':float(_0x112ab1[_0x5ea636(0x161)]),'ghostAttenuationFactor':float(_0x112ab1[_0x5ea636(0x168)]),'downSampleRatio':_0x112ab1[_0x5ea636(0x15a)]});const _0x36d887=this[_0x5ea636(0x18b)][_0x5ea636(0x170)]();_0x59c21d=vec4(_0x59c21d['r'][_0x5ea636(0x164)](_0x36d887['r']),_0x59c21d['g']['add'](_0x36d887['g']),_0x59c21d['b'][_0x5ea636(0x164)](_0x36d887['b']),_0x59c21d['a']);}}if(_0x5571fe[_0x5ea636(0x1ba)](PostProcessStepType[_0x5ea636(0x1ae)])){const _0x23feb9=(_0x5cd5dc=this[_0x5ea636(0x1a3)](PostProcessStepType[_0x5ea636(0x1ae)]))!==null&&_0x5cd5dc!==void 0?_0x5cd5dc:DefaultDOFParam;this[_0x5ea636(0x17d)]=dof(_0x59c21d,_0x17b301,uniform(_0x23feb9[_0x5ea636(0x19a)]),uniform(_0x23feb9[_0x5ea636(0x18e)]),uniform(_0x23feb9[_0x5ea636(0x165)])),_0x59c21d=vec4(this['dofPass']['r'],this[_0x5ea636(0x17d)]['g'],this[_0x5ea636(0x17d)]['b'],_0x3990e5['a']);}if(_0x543c94&&_0x54aee5){const _0x1c023c=(_0x5629a0=this[_0x5ea636(0x1a3)](PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x5629a0!==void 0?_0x5629a0:DefaultGTAOParam;this['gtaoPass']=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=vec4(_0x59c21d['r'][_0x5ea636(0x185)](_0x526e45),_0x59c21d['g'][_0x5ea636(0x185)](_0x526e45),_0x59c21d['b'][_0x5ea636(0x185)](_0x526e45),_0x59c21d['a']);}if(_0x5571fe['has'](PostProcessStepType[_0x5ea636(0x172)])){const _0x2b682e=(_0x3126d4=this[_0x5ea636(0x1a3)](PostProcessStepType[_0x5ea636(0x172)]))!==null&&_0x3126d4!==void 0?_0x3126d4:DefaultOutlineParams;this['outlinePass']=outline(this[_0x5ea636(0x17e)],this['camera'],{'selectedObjects':this[_0x5ea636(0x1a2)],'edgeGlow':uniform(_0x2b682e['edgeGlow']),'edgeThickness':uniform(_0x2b682e[_0x5ea636(0x167)])});const {visibleEdge:_0x47fb87,hiddenEdge:_0x4b6241}=this[_0x5ea636(0x160)],_0x1ff6ae=_0x5b21c5[_0x5ea636(0x16d)][_0x5ea636(0x154)](0x0)[_0x5ea636(0x197)](_0x5b21c5['outlinePulsePeriod'],uniform(0x1)),_0x5db1c2=time[_0x5ea636(0x1a1)](_0x1ff6ae)[_0x5ea636(0x185)](0x2),_0x5a6426=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,float(0x1));_0x59c21d=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=fxaa(_0x59c21d);else {if(_0x2e3b71['method']==='smaa')_0x59c21d=smaa(_0x59c21d);else _0x2e3b71[_0x5ea636(0x18c)]==='traa'&&_0x5a9bfc&&(this['traaPass']=traa(_0x59c21d,_0x245708,_0x5a9bfc,this[_0x5ea636(0x1ac)]),_0x59c21d=this[_0x5ea636(0x163)][_0x5ea636(0x170)]());}}_0x59c21d=this[_0x5ea636(0x17a)](_0x59c21d),_0x59c21d=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'](PostProcessStepType[_0x4b4b17(0x153)]))!==null&&_0x4108e0!==void 0?_0x4108e0:DefaultBloomParam,_0x15ec77=(_0x31c944=this[_0x4b4b17(0x1a3)](PostProcessStepType['DepthOfField']))!==null&&_0x31c944!==void 0?_0x31c944:DefaultDOFParam,_0x4bfc35=(_0x49e877=this[_0x4b4b17(0x1a3)](PostProcessStepType[_0x4b4b17(0x187)]))!==null&&_0x49e877!==void 0?_0x49e877:DefaultGTAOParam,_0x159004=(_0x1af460=this[_0x4b4b17(0x1a3)](PostProcessStepType[_0x4b4b17(0x172)]))!==null&&_0x1af460!==void 0?_0x1af460:DefaultOutlineParams;return {'bloomEnabled':uniform(0x0),'bloomStrength':uniform(_0x17ae7d[_0x4b4b17(0x181)]),'bloomThreshold':uniform(_0x17ae7d[_0x4b4b17(0x157)]),'bloomRadius':uniform(_0x17ae7d[_0x4b4b17(0x169)]),'dofEnabled':uniform(0x0),'dofFocus':uniform(_0x15ec77[_0x4b4b17(0x19a)]),'dofAperture':uniform(_0x15ec77['aperture']),'dofMaxBlur':uniform(_0x15ec77[_0x4b4b17(0x165)]),'gtaoEnabled':uniform(0x0),'gtaoScale':uniform(_0x4bfc35[_0x4b4b17(0x1b0)]),'gtaoDistanceExponent':uniform(_0x4bfc35[_0x4b4b17(0x1a9)]),'gtaoDistanceFallOff':uniform(_0x4bfc35['distanceFallOff']),'gtaoRadius':uniform(_0x4bfc35[_0x4b4b17(0x169)]),'gtaoThickness':uniform(_0x4bfc35[_0x4b4b17(0x1c1)]),'gtaoSamples':uniform(_0x4bfc35['samples']),'outlineEnabled':uniform(0x0),'outlineEdgeStrength':uniform(_0x159004[_0x4b4b17(0x186)]),'outlineEdgeGlow':uniform(_0x159004[_0x4b4b17(0x18f)]),'outlineEdgeThickness':uniform(_0x159004[_0x4b4b17(0x167)]),'outlinePulsePeriod':uniform(_0x159004[_0x4b4b17(0x1a5)]),'outlineVisibleEdgeColor':uniform(new Color(_0x159004[_0x4b4b17(0x1a7)])),'outlineHiddenEdgeColor':uniform(new Color(_0x159004[_0x4b4b17(0x1b3)])),'fxaaEnabled':uniform(0x0),'smaaEnabled':uniform(0x0),'lensflareEnabled':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)](PostProcessStepType['Bloom'])?0x1:0x0,_0x5566ce['dofEnabled'][_0x27ce59(0x15c)]=_0x5bd4f0[_0x27ce59(0x1ba)](PostProcessStepType[_0x27ce59(0x1ae)])?0x1:0x0,_0x5566ce[_0x27ce59(0x1a0)][_0x27ce59(0x15c)]=_0x5bd4f0[_0x27ce59(0x1ba)](PostProcessStepType[_0x27ce59(0x187)])?0x1:0x0,_0x5566ce[_0x27ce59(0x1af)]['value']=_0x5bd4f0['has'](PostProcessStepType[_0x27ce59(0x172)])?0x1:0x0,_0x5566ce[_0x27ce59(0x173)][_0x27ce59(0x15c)]=_0x5bd4f0['has'](PostProcessStepType[_0x27ce59(0x19d)])?0x1:0x0;const _0x185d96=this['getStepParam'](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)](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'](PostProcessStepType[_0x27ce59(0x19d)]);if(_0x1f3cd4&&this[_0x27ce59(0x18b)]);const _0x455d4e=this[_0x27ce59(0x1a3)](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)](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'](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)]();}}
|
|
79
79
|
|
|
80
|
-
const _0x3b2bff=_0x228b;(function(_0x4147ef,_0x19aa97){const _0x4c2502=_0x228b,_0x4ba3cb=_0x4147ef();while(!![]){try{const _0x1aca80=parseInt(_0x4c2502(0xb9))/0x1+-parseInt(_0x4c2502(0x73))/0x2*(-parseInt(_0x4c2502(0x91))/0x3)+parseInt(_0x4c2502(0x77))/0x4*(parseInt(_0x4c2502(0xa8))/0x5)+parseInt(_0x4c2502(0x6a))/0x6*(parseInt(_0x4c2502(0xb4))/0x7)+parseInt(_0x4c2502(0x74))/0x8*(-parseInt(_0x4c2502(0x9a))/0x9)+-parseInt(_0x4c2502(0x89))/0xa*(-parseInt(_0x4c2502(0xa4))/0xb)+-parseInt(_0x4c2502(0x67))/0xc*(parseInt(_0x4c2502(0x7d))/0xd);if(_0x1aca80===_0x19aa97)break;else _0x4ba3cb['push'](_0x4ba3cb['shift']());}catch(_0x170f88){_0x4ba3cb['push'](_0x4ba3cb['shift']());}}}(_0x349a,0x4de69));function _0x228b(_0x422567,_0x316e50){_0x422567=_0x422567-0x66;const _0x349acc=_0x349a();let _0x228b37=_0x349acc[_0x422567];return _0x228b37;}function _0x349a(){const _0x11c67e=['getSize','updateSteps','156220DSCjpp','addPass','render','scene','hiddenEdgeColor','1138908bbMSfI','outlineObjects','pulsePeriod','234TrnXbd','Outline','dofPass','buildCustomPostProcess','lut3dTexture','scale','setLUT3DTexture','outputPass','blendIntensity','1243552wplJHj','261368ZmqqUJ','destroy','fxaa','12dleHvS','smaaPass','getStepParam','maxblur','gtaoPass','processing','117pcdSWn','DepthOfField','updateAllParameters','value','dispose','edgeThickness','resize','onDirtyCallback','renderCamera','steps','camera','set','110ojKfwz','bloomPass','updateCamera','renderer','aperture','buildPipeline','postProcessParam','visibleEdgeColor','3ScjPrf','smaa','addOutlineObject','GroundTruthAmbientOcclusion','indexOf','splice','setup','threshold','Bloom','81kpvWtQ','markDirty','find','updateOutlineParameters','resolution','map','outlinePass','push','composer','radius','375001NFQnaS','removeOutlineObject','edgeGlow','fxaaPass','306415bePhkm','setSize','method','focus','has','setOutlineObjects','strength','selectedObjects','lutPass','renderPass','type','uniforms','23415cVoQXq','length','includes'];_0x349a=function(){return _0x11c67e;};return _0x349a();}class WebGLPostProcessManager{constructor(_0x26f11d,_0x29521d,_0x4a9f50,_0x5d968d,_0x338cf9){const _0x17945f=_0x228b;this[_0x17945f(0xa2)]=null,this[_0x17945f(0x68)]=[],this[_0x17945f(0xb1)]=null,this['outlinePass']=null,this[_0x17945f(0x8a)]=null,this[_0x17945f(0x6c)]=null,this[_0x17945f(0x7b)]=null,this[_0x17945f(0x78)]=null,this[_0x17945f(0xa7)]=null,this[_0x17945f(0xb0)]=null,this[_0x17945f(0x71)]=null,this[_0x17945f(0x6e)]=null,this['onDirtyCallback']=null,this['renderer']=_0x26f11d,this[_0x17945f(0xbc)]=_0x29521d,this[_0x17945f(0x87)]=_0x4a9f50,this[_0x17945f(0x8f)]=Object['assign']({},_0x5d968d),this['onDirtyCallback']=_0x338cf9!==null&&_0x338cf9!==void 0?_0x338cf9:null;}get[_0x3b2bff(0x7c)](){return this['composer'];}[_0x3b2bff(0x8b)](_0x120f0c){const _0xcf8de1=_0x3b2bff;this[_0xcf8de1(0x87)]=_0x120f0c;if(!this[_0xcf8de1(0xa2)])this[_0xcf8de1(0x8e)](),this[_0xcf8de1(0x9b)]();else {if(this[_0xcf8de1(0xb1)])this[_0xcf8de1(0xb1)][_0xcf8de1(0x87)]=this[_0xcf8de1(0x87)];if(this[_0xcf8de1(0xa0)])this[_0xcf8de1(0xa0)][_0xcf8de1(0x85)]=this['camera'];this[_0xcf8de1(0x6c)]&&(this[_0xcf8de1(0x6c)][_0xcf8de1(0x87)]=this[_0xcf8de1(0x87)]),this[_0xcf8de1(0x7b)]&&(this['gtaoPass'][_0xcf8de1(0x87)]=this[_0xcf8de1(0x87)]);}}[_0x3b2bff(0x97)](){const _0x29f2a7=_0x3b2bff;!this[_0x29f2a7(0xa2)]?this[_0x29f2a7(0x8e)]():this[_0x29f2a7(0x7f)](),this[_0x29f2a7(0x9b)]();}[_0x3b2bff(0x8e)](){const _0x4161cf=_0x3b2bff;var _0x2b5bb9,_0x58ad83,_0x1ae22c,_0x1120d0;this[_0x4161cf(0xa2)]&&this[_0x4161cf(0xa2)][_0x4161cf(0x81)]();this[_0x4161cf(0xa2)]=new EffectComposer(this['renderer']),this['renderPass']=new RenderPass(this[_0x4161cf(0xbc)],this[_0x4161cf(0x87)]),this['composer'][_0x4161cf(0xba)](this['renderPass']),this[_0x4161cf(0xa0)]=null,this[_0x4161cf(0x8a)]=null,this[_0x4161cf(0x6c)]=null,this[_0x4161cf(0x7b)]=null,this[_0x4161cf(0x78)]=null,this[_0x4161cf(0xa7)]=null,this['lutPass']=null,this['outputPass']=null;const _0x39dff5=new Set(this[_0x4161cf(0x8f)]['steps'][_0x4161cf(0x9f)](_0x50675c=>_0x50675c[_0x4161cf(0xb2)]));if(_0x39dff5['has'](PostProcessStepType[_0x4161cf(0x94)])){const _0x59f8a7=(_0x2b5bb9=this['getStepParam'](PostProcessStepType[_0x4161cf(0x94)]))!==null&&_0x2b5bb9!==void 0?_0x2b5bb9:DefaultGTAOParam,_0x101e98=this['renderer'][_0x4161cf(0xb7)](new Vector2());this[_0x4161cf(0x7b)]=new GTAOPass(this[_0x4161cf(0xbc)],this[_0x4161cf(0x87)],_0x101e98['x'],_0x101e98['y']),this['updateGTAOParameters'](_0x59f8a7),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this[_0x4161cf(0x7b)]);}if(_0x39dff5[_0x4161cf(0xac)](PostProcessStepType['DepthOfField'])){const _0x5b611c=(_0x58ad83=this[_0x4161cf(0x79)](PostProcessStepType[_0x4161cf(0x7e)]))!==null&&_0x58ad83!==void 0?_0x58ad83:DefaultDOFParam;this[_0x4161cf(0x6c)]=new BokehPass(this[_0x4161cf(0xbc)],this[_0x4161cf(0x87)],{'focus':_0x5b611c[_0x4161cf(0xab)],'aperture':_0x5b611c[_0x4161cf(0x8d)],'maxblur':_0x5b611c['maxblur']}),this['composer']['addPass'](this['dofPass']);}if(_0x39dff5[_0x4161cf(0xac)](PostProcessStepType[_0x4161cf(0x99)])){const _0x5a6598=(_0x1ae22c=this[_0x4161cf(0x79)](PostProcessStepType[_0x4161cf(0x99)]))!==null&&_0x1ae22c!==void 0?_0x1ae22c:DefaultBloomParam,_0x156d56=this[_0x4161cf(0x8c)][_0x4161cf(0xb7)](new Vector2());this[_0x4161cf(0x8a)]=new UnrealBloomPass(_0x156d56,_0x5a6598['strength'],_0x5a6598[_0x4161cf(0xa3)],_0x5a6598[_0x4161cf(0x98)]),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this['bloomPass']);}if(_0x39dff5[_0x4161cf(0xac)](PostProcessStepType[_0x4161cf(0x6b)])){const _0x2cfb84=(_0x1120d0=this[_0x4161cf(0x79)](PostProcessStepType['Outline']))!==null&&_0x1120d0!==void 0?_0x1120d0:DefaultOutlineParams,_0x928b5d=this[_0x4161cf(0x8c)][_0x4161cf(0xb7)](new Vector2());this[_0x4161cf(0xa0)]=new OutlinePass(_0x928b5d,this[_0x4161cf(0xbc)],this['camera']),this[_0x4161cf(0xa0)]['selectedObjects']=this[_0x4161cf(0x68)],this['updateOutlineParameters'](_0x2cfb84),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this['outlinePass']);}this[_0x4161cf(0x6e)]&&(this['lutPass']=new LUTPass({'lut':this[_0x4161cf(0x6e)]}),this[_0x4161cf(0xa2)]['addPass'](this[_0x4161cf(0xb0)]));const _0x47e69b=this[_0x4161cf(0x79)](PostProcessStepType['Antialiasing']);if(_0x47e69b){const _0x45993e=this[_0x4161cf(0x8c)][_0x4161cf(0xb7)](new Vector2());if(_0x47e69b[_0x4161cf(0xaa)]===_0x4161cf(0x76))this['fxaaPass']=new ShaderPass(FXAAShader),this['fxaaPass']['uniforms'][_0x4161cf(0x9e)][_0x4161cf(0x80)][_0x4161cf(0x88)](0x1/_0x45993e['x'],0x1/_0x45993e['y']),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this[_0x4161cf(0xa7)]);else _0x47e69b[_0x4161cf(0xaa)]===_0x4161cf(0x92)&&(this[_0x4161cf(0x78)]=new SMAAPass(_0x45993e['x'],_0x45993e['y']),this['composer'][_0x4161cf(0xba)](this[_0x4161cf(0x78)]));}this[_0x4161cf(0x71)]=new OutputPass(),this[_0x4161cf(0xa2)]['addPass'](this[_0x4161cf(0x71)]);}[_0x3b2bff(0x6d)](_0x2d55a2,_0x46a266){const _0x22058e=_0x3b2bff;this['composer']&&this['composer'][_0x22058e(0x81)]();this[_0x22058e(0xa2)]=new EffectComposer(this[_0x22058e(0x8c)],_0x2d55a2),this[_0x22058e(0xb1)]=null,this[_0x22058e(0xa0)]=null,this[_0x22058e(0x8a)]=null,this[_0x22058e(0x6c)]=null,this[_0x22058e(0x7b)]=null,this['smaaPass']=null,this['fxaaPass']=null,this[_0x22058e(0xb0)]=null,this['outputPass']=null,this[_0x22058e(0xb1)]=new RenderPass(this[_0x22058e(0xbc)],this[_0x22058e(0x87)]),this[_0x22058e(0xa2)][_0x22058e(0xba)](this['renderPass']);for(const _0x1c3cd3 of _0x46a266){this[_0x22058e(0xa2)][_0x22058e(0xba)](_0x1c3cd3);}this['outputPass']=new OutputPass(),this['composer']['addPass'](this['outputPass']),this['markDirty']();}[_0x3b2bff(0x79)](_0x2a6c23){const _0x5623d4=_0x3b2bff;var _0x343f3a;return (_0x343f3a=this[_0x5623d4(0x8f)][_0x5623d4(0x86)][_0x5623d4(0x9c)](_0x5de278=>_0x5de278[_0x5623d4(0xb2)]===_0x2a6c23))!==null&&_0x343f3a!==void 0?_0x343f3a:null;}[_0x3b2bff(0x7f)](){const _0x5b0b8c=_0x3b2bff,_0x53ec3d=this['getStepParam'](PostProcessStepType[_0x5b0b8c(0x99)]);_0x53ec3d&&this[_0x5b0b8c(0x8a)]&&(this[_0x5b0b8c(0x8a)][_0x5b0b8c(0xae)]=_0x53ec3d['strength'],this[_0x5b0b8c(0x8a)][_0x5b0b8c(0xa3)]=_0x53ec3d[_0x5b0b8c(0xa3)],this[_0x5b0b8c(0x8a)][_0x5b0b8c(0x98)]=_0x53ec3d[_0x5b0b8c(0x98)]);const _0x2e7514=this['getStepParam'](PostProcessStepType[_0x5b0b8c(0x7e)]);if(_0x2e7514&&this['dofPass']){const _0x366999=this['dofPass'];_0x366999[_0x5b0b8c(0xb3)]&&(_0x366999[_0x5b0b8c(0xb3)]['focus'][_0x5b0b8c(0x80)]=_0x2e7514[_0x5b0b8c(0xab)],_0x366999[_0x5b0b8c(0xb3)][_0x5b0b8c(0x8d)][_0x5b0b8c(0x80)]=_0x2e7514['aperture'],_0x366999[_0x5b0b8c(0xb3)][_0x5b0b8c(0x7a)][_0x5b0b8c(0x80)]=_0x2e7514[_0x5b0b8c(0x7a)]);}const _0x1a90ae=this['getStepParam'](PostProcessStepType[_0x5b0b8c(0x94)]);_0x1a90ae&&this['gtaoPass']&&this['updateGTAOParameters'](_0x1a90ae);const _0x5c4093=this[_0x5b0b8c(0x79)](PostProcessStepType[_0x5b0b8c(0x6b)]);_0x5c4093&&this[_0x5b0b8c(0xa0)]&&this[_0x5b0b8c(0x9d)](_0x5c4093);}['updateGTAOParameters'](_0x37045e){const _0x11d451=_0x3b2bff;if(!this[_0x11d451(0x7b)])return;this['gtaoPass'][_0x11d451(0x72)]=_0x37045e[_0x11d451(0x6f)];}[_0x3b2bff(0x9d)](_0x3fd1a8){const _0x358472=_0x3b2bff;if(!this[_0x358472(0xa0)])return;this[_0x358472(0xa0)]['edgeStrength']=_0x3fd1a8['edgeStrength'],this[_0x358472(0xa0)][_0x358472(0xa6)]=_0x3fd1a8[_0x358472(0xa6)],this[_0x358472(0xa0)][_0x358472(0x82)]=_0x3fd1a8[_0x358472(0x82)],this[_0x358472(0xa0)][_0x358472(0x69)]=_0x3fd1a8[_0x358472(0x69)],this[_0x358472(0xa0)]['visibleEdgeColor']=new Color$1(_0x3fd1a8[_0x358472(0x90)]),this[_0x358472(0xa0)][_0x358472(0x66)]=new Color$1(_0x3fd1a8[_0x358472(0x66)]);}[_0x3b2bff(0xb8)](_0x14ef1a){const _0x1a7c9e=_0x3b2bff;this[_0x1a7c9e(0x8f)][_0x1a7c9e(0x86)]=_0x14ef1a,this[_0x1a7c9e(0x8e)](),this[_0x1a7c9e(0x9b)]();}[_0x3b2bff(0x93)](_0x5068f7){const _0x35376c=_0x3b2bff;!this[_0x35376c(0x68)][_0x35376c(0xb6)](_0x5068f7)&&(this[_0x35376c(0x68)][_0x35376c(0xa1)](_0x5068f7),this[_0x35376c(0xa0)]&&(this['outlinePass'][_0x35376c(0xaf)]=this[_0x35376c(0x68)])),this[_0x35376c(0x9b)]();}[_0x3b2bff(0xad)](_0x32a7c0){const _0x168b70=_0x3b2bff;this[_0x168b70(0x68)][_0x168b70(0xb5)]=0x0,this[_0x168b70(0x68)][_0x168b70(0xa1)](..._0x32a7c0),this['outlinePass']&&(this[_0x168b70(0xa0)][_0x168b70(0xaf)]=this['outlineObjects']),this[_0x168b70(0x9b)]();}[_0x3b2bff(0xa5)](_0x21c07a){const _0x14a203=_0x3b2bff,_0x4fa2b7=this[_0x14a203(0x68)][_0x14a203(0x95)](_0x21c07a);_0x4fa2b7>-1&&(this[_0x14a203(0x68)][_0x14a203(0x96)](_0x4fa2b7,0x1),this['outlinePass']&&(this[_0x14a203(0xa0)][_0x14a203(0xaf)]=this[_0x14a203(0x68)])),this['markDirty']();}[_0x3b2bff(0x70)](_0x22d041){const _0x538880=_0x3b2bff;this[_0x538880(0x6e)]=_0x22d041,this['buildPipeline'](),this[_0x538880(0x9b)]();}['getLUT3DTexture'](){return this['lut3dTexture'];}[_0x3b2bff(0xbb)](){const _0x4675b1=_0x3b2bff;if(this[_0x4675b1(0xa2)])return this['composer'][_0x4675b1(0xbb)](),!![];return ![];}[_0x3b2bff(0x83)](_0x2bb1e7,_0x4c9703){const _0x583df=_0x3b2bff;this[_0x583df(0xa2)]&&this[_0x583df(0xa2)][_0x583df(0xa9)](_0x2bb1e7,_0x4c9703),this['fxaaPass']&&this[_0x583df(0xa7)][_0x583df(0xb3)][_0x583df(0x9e)][_0x583df(0x80)]['set'](0x1/_0x2bb1e7,0x1/_0x4c9703);}[_0x3b2bff(0x75)](){const _0x33a4ca=_0x3b2bff;this[_0x33a4ca(0x68)]=[],this[_0x33a4ca(0xa0)]=null,this['bloomPass']=null,this[_0x33a4ca(0x6c)]=null,this[_0x33a4ca(0x7b)]=null,this[_0x33a4ca(0x78)]=null,this[_0x33a4ca(0xa7)]=null,this[_0x33a4ca(0xb0)]=null,this[_0x33a4ca(0x71)]=null,this[_0x33a4ca(0x6e)]=null,this[_0x33a4ca(0xa2)]&&(this['composer'][_0x33a4ca(0x81)](),this['composer']=null);}[_0x3b2bff(0x9b)](){const _0x598200=_0x3b2bff;this['onDirtyCallback']&&this[_0x598200(0x84)]();}}
|
|
80
|
+
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(this['renderer']),this[_0x1225ec(0xa0)]=new 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)](PostProcessStepType['GroundTruthAmbientOcclusion'])){const _0x2ac744=(_0x168153=this[_0x1225ec(0xc2)](PostProcessStepType[_0x1225ec(0x9d)]))!==null&&_0x168153!==void 0?_0x168153:DefaultGTAOParam,_0x4377a3=this[_0x1225ec(0xc8)]['getSize'](new Vector2());this[_0x1225ec(0xc9)]=new 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)](PostProcessStepType[_0x1225ec(0xb7)])){const _0x526d7d=(_0x19e1d1=this['getStepParam'](PostProcessStepType[_0x1225ec(0xb7)]))!==null&&_0x19e1d1!==void 0?_0x19e1d1:DefaultDOFParam;this[_0x1225ec(0xb3)]=new 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)](PostProcessStepType['Bloom'])){const _0x1cfe96=(_0xc02312=this[_0x1225ec(0xc2)](PostProcessStepType[_0x1225ec(0x9b)]))!==null&&_0xc02312!==void 0?_0xc02312:DefaultBloomParam,_0x144cc4=this['renderer'][_0x1225ec(0xa2)](new Vector2());this[_0x1225ec(0xa5)]=new UnrealBloomPass(_0x144cc4,_0x1cfe96[_0x1225ec(0xbe)],_0x1cfe96[_0x1225ec(0x89)],_0x1cfe96['threshold']),this['composer'][_0x1225ec(0xa9)](this[_0x1225ec(0xa5)]);}if(_0x1105f4[_0x1225ec(0x7f)](PostProcessStepType[_0x1225ec(0xb9)])){const _0x440f0c=(_0x3c3958=this['getStepParam'](PostProcessStepType[_0x1225ec(0xb9)]))!==null&&_0x3c3958!==void 0?_0x3c3958:DefaultOutlineParams,_0x1af665=this[_0x1225ec(0xc8)][_0x1225ec(0xa2)](new Vector2());this[_0x1225ec(0x99)]=new 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({'lut':this['lut3dTexture']}),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this['lutPass']));const _0x2d0564=this[_0x1225ec(0xc2)](PostProcessStepType['Antialiasing']);if(_0x2d0564){const _0xddfcc9=this[_0x1225ec(0xc8)][_0x1225ec(0xa2)](new Vector2());if(_0x2d0564[_0x1225ec(0x7d)]===_0x1225ec(0xa7))this[_0x1225ec(0xc5)]=new ShaderPass(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(_0xddfcc9['x'],_0xddfcc9['y']),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this[_0x1225ec(0x82)]));}this[_0x1225ec(0xa8)]=new 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(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(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(),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)](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)](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)](PostProcessStepType[_0x26a0c5(0x9d)]);_0x1b45d6&&this[_0x26a0c5(0xc9)]&&this['updateGTAOParameters'](_0x1b45d6);const _0x2ac714=this[_0x26a0c5(0xc2)](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 Color$1(_0x1160d4[_0x5d5516(0x8d)]),this['outlinePass']['hiddenEdgeColor']=new Color$1(_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)]();}}
|
|
81
81
|
|
|
82
|
-
const _0x2e46b6=_0x258f;function _0x2d6f(){const _0x1ab8db=['clientHeight','getContext','createCSS3DRenderer','absolute','_renderer','className','top','6939736UdlsdQ','clientWidth','Renderer\x20is\x20not\x20initialized','world','resizeObserver','9LBijJJ','labelRenderer','background','51110uVXTMb','createUILayer','_app','render','setupPostProcess','type','isLabelRendererNeeded','969858DSDprR','pointerEvents','10OkRPbB','scene','devicePixelRatio','elementId','WebGL','setup','WebGPU','markRenderStateDirty','setToneMappingExposure','position','isUILayerNeeded','width','updateSteps','removeChild','onAfterPostProcessRender','style','100%','outer','enabled','433736mGedii','app','appendChild','createPostProcessManager','scene-css3dRenderer','isRenderStateDirty','resize','height','getElementById','remove','addOutlineObject','removeOutlineObject','setAnimationLoop','1836316gQFtuQ','1275974elRVaF','disconnect','destroyPostProcess','none','postProcessManager','_uiDom','buildCustomPostProcess','createRenderer','onWindowResize','renderer','image/jpeg','setToneMapping','zIndex','scene-labelRenderer','contentBoxSize','2343XVCXVP','updatePostProcess','803468JXFAWC','transparent','isCSS3DRendererNeeded','updateCamera','shadowMap','createElement','css3dRenderer','setShadowMapType','destroy','toneMapping','left','toneMappingExposure','setOutlineObjects','0px','_canvasContainer','9peXAiC','setClearAlpha','domElement','scene-uiLayer','div','toDataURL','_outerContainer','createLabelRenderer','canvas','setSize','querySelector','camera','.scene-uiLayer','firstChild'];_0x2d6f=function(){return _0x1ab8db;};return _0x2d6f();}function _0x258f(_0x30d2f9,_0x5340be){_0x30d2f9=_0x30d2f9-0x1f0;const _0x2d6f63=_0x2d6f();let _0x258f88=_0x2d6f63[_0x30d2f9];return _0x258f88;}(function(_0x1b2d8b,_0x15ccf3){const _0x126949=_0x258f,_0x53a654=_0x1b2d8b();while(!![]){try{const _0xaee437=parseInt(_0x126949(0x1fa))/0x1+parseInt(_0x126949(0x207))/0x2+-parseInt(_0x126949(0x242))/0x3*(parseInt(_0x126949(0x219))/0x4)+parseInt(_0x126949(0x24e))/0x5*(-parseInt(_0x126949(0x24c))/0x6)+-parseInt(_0x126949(0x208))/0x7+parseInt(_0x126949(0x23d))/0x8*(-parseInt(_0x126949(0x228))/0x9)+parseInt(_0x126949(0x245))/0xa*(parseInt(_0x126949(0x217))/0xb);if(_0xaee437===_0x15ccf3)break;else _0x53a654['push'](_0x53a654['shift']());}catch(_0x477739){_0x53a654['push'](_0x53a654['shift']());}}}(_0x2d6f,0x71805));class Viewport{get['uiDom'](){const _0x2c32e4=_0x258f;return this[_0x2c32e4(0x20d)];}get['canvas'](){const _0xf4bc7d=_0x258f;return this[_0xf4bc7d(0x22e)]||this['renderer'][_0xf4bc7d(0x22a)];}get[_0x2e46b6(0x1f8)](){const _0x2b4102=_0x2e46b6;return this[_0x2b4102(0x22e)];}get['renderer'](){const _0x404c51=_0x2e46b6;if(!this[_0x404c51(0x23a)])throw Error(_0x404c51(0x23f));return this[_0x404c51(0x23a)];}get[_0x2e46b6(0x1fb)](){const _0x4cdd12=_0x2e46b6;if(!this[_0x4cdd12(0x247)])throw Error('App\x20is\x20not\x20initialized');return this['_app'];}constructor(_0x3b3f57,_0x365e49){const _0xadaa81=_0x2e46b6;this['_uiDom']=null,this[_0xadaa81(0x23a)]=null,this[_0xadaa81(0x243)]=null,this['css3dRenderer']=null,this[_0xadaa81(0x247)]=null,this['resizeObserver']=null,this[_0xadaa81(0x22e)]=null,this[_0xadaa81(0x227)]=null,this['isRenderStateDirty']=!![],this[_0xadaa81(0x20c)]=null,this[_0xadaa81(0x247)]=_0x3b3f57,_0x365e49[_0xadaa81(0x251)]&&(this['_outerContainer']=document[_0xadaa81(0x202)](_0x365e49['elementId'])),this[_0xadaa81(0x20f)](_0x365e49['renderer'][_0xadaa81(0x24a)],_0x365e49[_0xadaa81(0x211)]['param']),_0x365e49[_0xadaa81(0x24b)]&&this['createLabelRenderer'](),_0x365e49[_0xadaa81(0x21b)]&&this[_0xadaa81(0x238)](),_0x365e49[_0xadaa81(0x1f1)]&&this['createUILayer'](),setTimeout(()=>{const _0x36c9d0=_0xadaa81;var _0x4e39c0;this[_0x36c9d0(0x249)]((_0x4e39c0=_0x365e49['postProcess'])!==null&&_0x4e39c0!==void 0?_0x4e39c0:{'steps':[]});},0x32),this['_outerContainer']&&(this[_0xadaa81(0x241)]=new ResizeObserver(_0x13135a=>{const _0xb42b64=_0xadaa81;for(let _0x37ab04 of _0x13135a){_0x37ab04[_0xb42b64(0x216)]&&this[_0xb42b64(0x210)]();}}),this[_0xadaa81(0x241)]['observe'](this[_0xadaa81(0x22e)])),this[_0xadaa81(0x1fb)]['onCameraChangedDelegate']['add'](()=>{const _0x36eefe=_0xadaa81;this[_0x36eefe(0x20c)]&&(this[_0x36eefe(0x20c)][_0x36eefe(0x21c)](this[_0x36eefe(0x1fb)][_0x36eefe(0x233)]),this['postProcessManager'][_0x36eefe(0x253)]());});}['createRenderer'](_0xce95ca,_0x4d0ff6){const _0x525de4=_0x2e46b6,_0x29e272=this[_0x525de4(0x22e)];this[_0x525de4(0x23a)]&&(_0x29e272&&_0x29e272['removeChild'](this['_renderer'][_0x525de4(0x22a)]),this[_0x525de4(0x23a)]['dispose']());let _0x430018=_0x29e272?_0x29e272[_0x525de4(0x23e)]:0x200,_0xdead9=_0x29e272?_0x29e272['clientHeight']:0x200;switch(_0xce95ca){case RendererType[_0x525de4(0x254)]:this[_0x525de4(0x23a)]=new WebGPURenderer(_0x4d0ff6);break;case RendererType[_0x525de4(0x252)]:this[_0x525de4(0x23a)]=new WebGLRenderer(_0x4d0ff6);break;}this[_0x525de4(0x23a)]['setPixelRatio'](window[_0x525de4(0x250)]),this[_0x525de4(0x23a)][_0x525de4(0x231)](_0x430018,_0xdead9),this['_renderer']['shadowMap'][_0x525de4(0x1f9)]=!![],this[_0x525de4(0x23a)][_0x525de4(0x21d)][_0x525de4(0x24a)]=0x1,this['_renderer'][_0x525de4(0x222)]=0x0,this[_0x525de4(0x23a)][_0x525de4(0x224)]=0x1,this['_renderer'][_0x525de4(0x229)](0x0),this['_renderer']['domElement'][_0x525de4(0x1f6)]['position']=_0x525de4(0x239),this['_renderer'][_0x525de4(0x22a)][_0x525de4(0x1f6)]['left']='0',this['_renderer']['domElement'][_0x525de4(0x1f6)]['top']='0',this['_renderer'][_0x525de4(0x22a)]['style'][_0x525de4(0x214)]='20',this[_0x525de4(0x23a)]['domElement'][_0x525de4(0x1f6)][_0x525de4(0x244)]=_0x525de4(0x21a),this[_0x525de4(0x23a)][_0x525de4(0x22a)]['style']['pointerEvents']='none',_0x29e272&&_0x29e272[_0x525de4(0x1fc)](this[_0x525de4(0x23a)]['domElement']);}[_0x2e46b6(0x22f)](){const _0x1163bb=_0x2e46b6,_0x596c5c=this[_0x1163bb(0x22e)];this[_0x1163bb(0x243)]&&(_0x596c5c&&_0x596c5c[_0x1163bb(0x1f4)](this[_0x1163bb(0x243)][_0x1163bb(0x22a)]));let _0x4f1321=_0x596c5c?_0x596c5c[_0x1163bb(0x23e)]:0x200,_0x4a5748=_0x596c5c?_0x596c5c[_0x1163bb(0x236)]:0x200;this[_0x1163bb(0x243)]=new CSS2DRenderer(),this[_0x1163bb(0x243)]['setSize'](_0x4f1321,_0x4a5748),this['labelRenderer']['domElement'][_0x1163bb(0x1f6)][_0x1163bb(0x24d)]='none',this[_0x1163bb(0x243)]['domElement']['style'][_0x1163bb(0x1f0)]=_0x1163bb(0x239),this['labelRenderer']['domElement'][_0x1163bb(0x1f6)][_0x1163bb(0x23c)]=_0x1163bb(0x226),this[_0x1163bb(0x243)][_0x1163bb(0x22a)]['className']=_0x1163bb(0x215),this[_0x1163bb(0x243)][_0x1163bb(0x22a)][_0x1163bb(0x1f6)]['zIndex']='30',_0x596c5c&&_0x596c5c[_0x1163bb(0x1fc)](this[_0x1163bb(0x243)][_0x1163bb(0x22a)]);}[_0x2e46b6(0x238)](){const _0x2deb1a=_0x2e46b6,_0x4d429e=this[_0x2deb1a(0x22e)];this[_0x2deb1a(0x21f)]&&(_0x4d429e&&_0x4d429e[_0x2deb1a(0x1f4)](this[_0x2deb1a(0x21f)]['domElement']));let _0x3753f4=_0x4d429e?_0x4d429e[_0x2deb1a(0x23e)]:0x200,_0x25eb12=_0x4d429e?_0x4d429e[_0x2deb1a(0x236)]:0x200;this['css3dRenderer']=new CSS3DRenderer(),this[_0x2deb1a(0x21f)][_0x2deb1a(0x231)](_0x3753f4,_0x25eb12),this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)]['style'][_0x2deb1a(0x24d)]=_0x2deb1a(0x20b),this['css3dRenderer']['domElement'][_0x2deb1a(0x1f6)][_0x2deb1a(0x1f0)]=_0x2deb1a(0x239),this['css3dRenderer'][_0x2deb1a(0x22a)]['style'][_0x2deb1a(0x223)]=_0x2deb1a(0x226),this['css3dRenderer'][_0x2deb1a(0x22a)][_0x2deb1a(0x1f6)][_0x2deb1a(0x23c)]=_0x2deb1a(0x226),this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)][_0x2deb1a(0x1f6)][_0x2deb1a(0x214)]='0',this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)][_0x2deb1a(0x23b)]=_0x2deb1a(0x1fe),_0x4d429e&&_0x4d429e['insertBefore'](this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)],_0x4d429e[_0x2deb1a(0x235)]);}[_0x2e46b6(0x246)](){const _0x583716=_0x2e46b6;if(!this['_outerContainer'])return;let _0x14b369=this[_0x583716(0x22e)][_0x583716(0x232)](_0x583716(0x234));!_0x14b369&&(_0x14b369=document[_0x583716(0x21e)](_0x583716(0x22c)),_0x14b369[_0x583716(0x23b)]=_0x583716(0x22b),_0x14b369['id']=_0x583716(0x22b),_0x14b369[_0x583716(0x1f6)][_0x583716(0x1f0)]=_0x583716(0x239),_0x14b369[_0x583716(0x1f6)]['left']='0',_0x14b369[_0x583716(0x1f6)][_0x583716(0x23c)]='0',_0x14b369[_0x583716(0x1f6)]['width']=_0x583716(0x1f7),_0x14b369[_0x583716(0x1f6)][_0x583716(0x201)]=_0x583716(0x1f7),_0x14b369[_0x583716(0x1f6)][_0x583716(0x24d)]='none',_0x14b369[_0x583716(0x1f6)][_0x583716(0x214)]='10',this['_outerContainer'][_0x583716(0x1fc)](_0x14b369),this[_0x583716(0x20d)]=_0x14b369);}['init'](){}[_0x2e46b6(0x20e)](_0x3ab089,_0x27e4a9){const _0x8dbda0=_0x2e46b6;this[_0x8dbda0(0x20c)]instanceof WebGLPostProcessManager&&this[_0x8dbda0(0x20c)][_0x8dbda0(0x20e)](_0x3ab089,_0x27e4a9);}[_0x2e46b6(0x249)](_0x344936){const _0x4c8af2=_0x2e46b6;!this[_0x4c8af2(0x20c)]&&(this[_0x4c8af2(0x20c)]=this[_0x4c8af2(0x1fd)](_0x344936)),this[_0x4c8af2(0x20c)][_0x4c8af2(0x253)]();}[_0x2e46b6(0x1fd)](_0x2bf228){const _0xda926d=_0x2e46b6;return this['renderer']instanceof WebGLRenderer?new WebGLPostProcessManager(this['renderer'],this[_0xda926d(0x1fb)][_0xda926d(0x240)][_0xda926d(0x24f)],this[_0xda926d(0x1fb)][_0xda926d(0x233)],_0x2bf228,()=>this[_0xda926d(0x255)]()):new PostProcessManager(this[_0xda926d(0x211)],this['app'][_0xda926d(0x240)][_0xda926d(0x24f)],this['app'][_0xda926d(0x233)],_0x2bf228,()=>this[_0xda926d(0x255)]());}[_0x2e46b6(0x218)](_0x5933a5){const _0x28e12e=_0x2e46b6;this[_0x28e12e(0x20c)]&&this['postProcessManager'][_0x28e12e(0x1f3)](_0x5933a5);}[_0x2e46b6(0x204)](_0x4b9cf6){const _0x268558=_0x2e46b6;this[_0x268558(0x20c)]&&this[_0x268558(0x20c)][_0x268558(0x204)](_0x4b9cf6);}[_0x2e46b6(0x225)](_0x18d7ff){const _0x237572=_0x2e46b6;this['postProcessManager']&&this[_0x237572(0x20c)]['setOutlineObjects'](_0x18d7ff);}[_0x2e46b6(0x205)](_0x22c1d3){const _0x544277=_0x2e46b6;this[_0x544277(0x20c)]&&this[_0x544277(0x20c)][_0x544277(0x205)](_0x22c1d3);}[_0x2e46b6(0x20a)](){const _0x553a15=_0x2e46b6;this[_0x553a15(0x20c)]&&(this[_0x553a15(0x20c)][_0x553a15(0x221)](),this[_0x553a15(0x20c)]=null);}[_0x2e46b6(0x210)](){const _0x1e7c58=_0x2e46b6;let _0x52ef1c=this[_0x1e7c58(0x22e)];if(!_0x52ef1c)return;this[_0x1e7c58(0x1fb)]['onWindowResize'](_0x52ef1c['clientWidth'],_0x52ef1c[_0x1e7c58(0x236)]),this['renderer']['setSize'](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c['clientHeight']);if(this[_0x1e7c58(0x243)])this[_0x1e7c58(0x243)][_0x1e7c58(0x231)](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c[_0x1e7c58(0x236)]);if(this['css3dRenderer'])this[_0x1e7c58(0x21f)][_0x1e7c58(0x231)](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c[_0x1e7c58(0x236)]);this['postProcessManager']&&_0x1e7c58(0x200)in this[_0x1e7c58(0x20c)]&&this['postProcessManager']['resize'](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c[_0x1e7c58(0x236)]),this[_0x1e7c58(0x255)]();}[_0x2e46b6(0x255)](){const _0x185fd8=_0x2e46b6;this[_0x185fd8(0x1ff)]=!![];}[_0x2e46b6(0x248)](){const _0x30b937=_0x2e46b6;if(!this[_0x30b937(0x1ff)])return;if(this['postProcessManager']&&this[_0x30b937(0x20c)][_0x30b937(0x248)]());else this[_0x30b937(0x211)][_0x30b937(0x248)](this[_0x30b937(0x1fb)]['world'][_0x30b937(0x24f)],this[_0x30b937(0x1fb)]['camera']);this[_0x30b937(0x1f5)](),this['labelRenderer']&&this['labelRenderer'][_0x30b937(0x248)](this[_0x30b937(0x1fb)]['world'][_0x30b937(0x24f)],this['app'][_0x30b937(0x233)]),this[_0x30b937(0x21f)]&&this[_0x30b937(0x21f)][_0x30b937(0x248)](this[_0x30b937(0x1fb)][_0x30b937(0x240)][_0x30b937(0x24f)],this[_0x30b937(0x1fb)][_0x30b937(0x233)]),this[_0x30b937(0x1ff)]=![];}['onAfterPostProcessRender'](){}async['renderAsImage'](_0x50923b=0x400,_0x1f54a3=0x400){const _0x2a5960=_0x2e46b6;try{if(this[_0x2a5960(0x20c)]&&this[_0x2a5960(0x20c)][_0x2a5960(0x248)]()){}else await this['renderer'][_0x2a5960(0x248)](this[_0x2a5960(0x1fb)]['world'][_0x2a5960(0x24f)],this[_0x2a5960(0x1fb)][_0x2a5960(0x233)]);const _0x3ca7be=this['renderer'][_0x2a5960(0x22a)][_0x2a5960(0x1f2)],_0x251b65=this['renderer'][_0x2a5960(0x22a)]['height'];let _0x31e41f=_0x3ca7be||_0x50923b,_0x2f006f=_0x251b65||_0x1f54a3;(_0x31e41f<=0x0||_0x2f006f<=0x0)&&(_0x31e41f=_0x50923b,_0x2f006f=_0x1f54a3);const _0x40c450=document[_0x2a5960(0x21e)](_0x2a5960(0x230));_0x40c450[_0x2a5960(0x1f2)]=_0x50923b,_0x40c450[_0x2a5960(0x201)]=_0x1f54a3;const _0x56bb18=_0x40c450[_0x2a5960(0x237)]('2d');if(!_0x56bb18)throw Error('Can\x20not\x20create\x20context');_0x56bb18['drawImage'](this[_0x2a5960(0x211)][_0x2a5960(0x22a)],0x0,0x0,_0x31e41f,_0x2f006f,0x0,0x0,_0x50923b,_0x1f54a3);const _0x224ae5=_0x40c450[_0x2a5960(0x22d)](_0x2a5960(0x212));return _0x40c450['remove'](),_0x224ae5;}catch(_0x4a14c3){return '';}}['setShadowMapEnabled'](_0x36243e){const _0x239d13=_0x2e46b6;if(!this[_0x239d13(0x23a)])return;this[_0x239d13(0x23a)]['shadowMap'][_0x239d13(0x1f9)]=_0x36243e;}[_0x2e46b6(0x220)](_0x546d95){const _0x12c195=_0x2e46b6;if(!this[_0x12c195(0x23a)])return;this[_0x12c195(0x23a)][_0x12c195(0x21d)][_0x12c195(0x24a)]=_0x546d95;}[_0x2e46b6(0x213)](_0x3cdbfc){const _0xe533b9=_0x2e46b6;if(!this['_renderer'])return;this[_0xe533b9(0x23a)]['toneMapping']=_0x3cdbfc;}[_0x2e46b6(0x256)](_0x3682b7){const _0x475908=_0x2e46b6;if(!this[_0x475908(0x23a)])return;this[_0x475908(0x23a)][_0x475908(0x224)]=_0x3682b7;}['destroy'](){const _0xb31388=_0x2e46b6;this[_0xb31388(0x20a)](),this[_0xb31388(0x211)][_0xb31388(0x206)](null),this[_0xb31388(0x241)]&&(this[_0xb31388(0x241)][_0xb31388(0x209)](),this[_0xb31388(0x241)]=null),this[_0xb31388(0x243)]&&(this[_0xb31388(0x243)][_0xb31388(0x22a)][_0xb31388(0x203)](),this['labelRenderer']=null),this[_0xb31388(0x23a)]&&(this[_0xb31388(0x211)][_0xb31388(0x22a)][_0xb31388(0x203)](),this[_0xb31388(0x23a)]['dispose'](),this[_0xb31388(0x23a)]=null),this[_0xb31388(0x227)]&&(this[_0xb31388(0x227)]['remove'](),this[_0xb31388(0x227)]=null),this[_0xb31388(0x22e)]=null,this['_app']=null;}}
|
|
82
|
+
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 RendererType[_0x189976(0x1fb)]:this[_0x189976(0x20a)]=new WebGPURenderer(_0x150223);break;case RendererType[_0x189976(0x1cb)]:this['_renderer']=new 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 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 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 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();}
|
|
83
83
|
|
|
84
|
-
const _0x367bac=_0x3bc6;function _0x4e0a(){const _0x1f408e=['3228705ryBPaG','childActors','setQuaternion','detachComponent','KeepWorld','userData','9279pIgbfO','onAddedToWorld','delete','onClickDelegate','rootComponent','getChildActorsByIds','forEach','6111370sGxxEp','Actor','max','markRenderStateDirty','_rootComponent','addChildComponent','attachComponent','getBoundsCenterPosition','setRotation','parentActor','getPosition','48DlDPkA','setWorldMatrix','push','getWorldQuaternion','onActorClick','85194OsLToc','setScale','getWorldRightDirection','uuid','getComponentById','isHoverEnabled','getBounds','getBoundsTopCenterPosition','getCenter','getBoundsBottomCenterPosition','onRemovedFromWorld','destroyChildren','world','_name','getWorldMatrix','_onClickDelegate','size','setPosition','getScale','getWorldUpDirection','detachFromParentComponent','setLayers','setVisible','broadcast','length','onActorDoubleClick','app','tick','4eastHJ','sub','threeObject','onHoverEndDelegate','16624BEdzsX','_world','onActorHoverBegin','constructRootComponent','name','landToGround','parent','getWorldForwardDirection','error','addChildActor','9448iGovvh','21047587vKJBGg','min','localToWorld','childrenComponents','clearComponent','isClickEnabled','119nQCaWR','addTickableActor','destroy','KeepRelative','isVisible','worldToLocal','_onHoverBeginDelegate','getWorldRotation','getRotation','removeChildComponent','getWorldPosition','removeTickableActor','viewport','_onDoubleClickDelegate','isTickEnabled','removeComponent','onActorHoverEnd','removeChildActor','getChildActorById','3606710zjBKCy','getQuaternion','children','LYObject'];_0x4e0a=function(){return _0x1f408e;};return _0x4e0a();}(function(_0x314484,_0x35e3ba){const _0x265fa7=_0x3bc6,_0x3963ea=_0x314484();while(!![]){try{const _0x2f8ef2=parseInt(_0x265fa7(0x208))/0x1*(-parseInt(_0x265fa7(0x1e3))/0x2)+parseInt(_0x265fa7(0x1cb))/0x3+-parseInt(_0x265fa7(0x204))/0x4*(parseInt(_0x265fa7(0x1d8))/0x5)+parseInt(_0x265fa7(0x1e8))/0x6*(parseInt(_0x265fa7(0x1b4))/0x7)+parseInt(_0x265fa7(0x1ad))/0x8*(-parseInt(_0x265fa7(0x1d1))/0x9)+parseInt(_0x265fa7(0x1c7))/0xa+parseInt(_0x265fa7(0x1ae))/0xb;if(_0x2f8ef2===_0x35e3ba)break;else _0x3963ea['push'](_0x3963ea['shift']());}catch(_0x520fae){_0x3963ea['push'](_0x3963ea['shift']());}}}(_0x4e0a,0xb7ccd));function _0x3bc6(_0x589e78,_0x13d059){_0x589e78=_0x589e78-0x1a6;const _0x4e0ab9=_0x4e0a();let _0x3bc61e=_0x4e0ab9[_0x589e78];return _0x3bc61e;}class Actor extends BaseObject{get[_0x367bac(0x1f4)](){const _0x101d74=_0x367bac;return this[_0x101d74(0x209)];}get['name'](){return this['_name'];}set[_0x367bac(0x1a7)](_0x973e7d){const _0x5644af=_0x367bac;this[_0x5644af(0x1f5)]=_0x973e7d;}get[_0x367bac(0x1d5)](){const _0x4cdfc5=_0x367bac;if(!this[_0x4cdfc5(0x1dc)])throw Error('rootComponent\x20is\x20invalid');return this[_0x4cdfc5(0x1dc)];}set[_0x367bac(0x1d5)](_0x1aa32d){const _0xb8d95=_0x367bac;_0x1aa32d[_0xb8d95(0x1fc)](),_0x1aa32d[_0xb8d95(0x1e1)]=this;if(this['_rootComponent']){let _0x466e70=this[_0xb8d95(0x1d5)][_0xb8d95(0x1b1)];for(let _0x24d9dd=0x0;_0x24d9dd<_0x466e70[_0xb8d95(0x200)];++_0x24d9dd){_0x1aa32d['addChildComponent'](_0x466e70[_0x24d9dd]);}this[_0xb8d95(0x1d5)][_0xb8d95(0x1b6)]();}this[_0xb8d95(0x1dc)]=_0x1aa32d;}get[_0x367bac(0x1b1)](){const _0x3db0bf=_0x367bac;return this[_0x3db0bf(0x1d5)][_0x3db0bf(0x1b1)];}get[_0x367bac(0x1cc)](){const _0x489875=_0x367bac;var _0x3d9ec9;let _0x4d65f7=[];return (_0x3d9ec9=this[_0x489875(0x1d5)][_0x489875(0x206)])===null||_0x3d9ec9===void 0?void 0:_0x3d9ec9[_0x489875(0x1c9)][_0x489875(0x1d7)](_0xc9b174=>{const _0x358350=_0x489875;var _0x51bf8e;let _0x1078fc=(_0x51bf8e=_0xc9b174[_0x358350(0x1d0)][_0x358350(0x1ca)])===null||_0x51bf8e===void 0?void 0:_0x51bf8e['parentActor'];_0x1078fc!==this&&_0x1078fc instanceof Actor&&_0x4d65f7[_0x358350(0x1e5)](_0x1078fc);}),_0x4d65f7;}get[_0x367bac(0x1e1)](){const _0x480531=_0x367bac;var _0x1d6216,_0x5034c5,_0x4dfb86;let _0x1b7acf=(_0x4dfb86=(_0x5034c5=(_0x1d6216=this[_0x480531(0x1d5)]['threeObject'])===null||_0x1d6216===void 0?void 0:_0x1d6216[_0x480531(0x1a9)])===null||_0x5034c5===void 0?void 0:_0x5034c5[_0x480531(0x1d0)][_0x480531(0x1ca)])===null||_0x4dfb86===void 0?void 0:_0x4dfb86[_0x480531(0x1e1)];return _0x1b7acf===this?null:_0x1b7acf;}get[_0x367bac(0x1b8)](){const _0xe64132=_0x367bac;return this[_0xe64132(0x1d5)]?this['rootComponent']['isVisible']:![];}get[_0x367bac(0x1c2)](){return super['isTickEnabled'];}set['isTickEnabled'](_0x5217b7){const _0x575261=_0x367bac;super[_0x575261(0x1c2)]=_0x5217b7,this['isTickEnabled']?this[_0x575261(0x202)][_0x575261(0x1f4)][_0x575261(0x1b5)](this):this[_0x575261(0x202)][_0x575261(0x1f4)][_0x575261(0x1bf)](this);}get['onHoverBeginDelegate'](){return this['_onHoverBeginDelegate'];}get[_0x367bac(0x207)](){return this['_onHoverEndDelegate'];}get[_0x367bac(0x1d4)](){const _0x143b88=_0x367bac;return this[_0x143b88(0x1f7)];}get['onDoubleClickDelegate'](){const _0x42fdd6=_0x367bac;return this[_0x42fdd6(0x1c1)];}constructor(_0x1db6b6,_0x37b1fc){const _0x236c96=_0x367bac;super(_0x37b1fc),this[_0x236c96(0x1f5)]=_0x236c96(0x1d9),this[_0x236c96(0x1dc)]=null,this[_0x236c96(0x209)]=null,this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x236c96(0x1f7)]=new Delegate(),this[_0x236c96(0x1c1)]=new Delegate(),this[_0x236c96(0x202)]=_0x1db6b6,this[_0x236c96(0x1d5)]=this['constructRootComponent'](),this[_0x236c96(0x1d5)]['parentActor']=this;}[_0x367bac(0x1a6)](){const _0x6c20cd=_0x367bac;return new SceneComponent(this[_0x6c20cd(0x202)]);}[_0x367bac(0x1df)](_0x3d16e8=!![]){const _0x5174af=_0x367bac;let _0x187e97=new Vector3();return this['getBounds']()['getCenter'](_0x187e97),!_0x3d16e8?_0x187e97[_0x5174af(0x205)](this[_0x5174af(0x1e2)]()):_0x187e97;}[_0x367bac(0x1c6)](_0x59e826,_0x292f82=!![]){const _0x2f1fe1=_0x367bac,_0x4584e1=this['childActors'];for(const _0x4b96c2 of _0x4584e1){if(_0x4b96c2[_0x2f1fe1(0x1eb)]===_0x59e826)return _0x4b96c2;}if(_0x292f82)for(const _0x5deac0 of _0x4584e1){const _0x917c56=_0x5deac0[_0x2f1fe1(0x1c6)](_0x59e826,!![]);if(_0x917c56)return _0x917c56;}return null;}['getChildActorsByIds'](_0x381063,_0x32f036=!![]){const _0x4154df=_0x367bac,_0x1f8113=[],_0x24d019=new Set(_0x381063),_0x996647=this[_0x4154df(0x1cc)];for(const _0x49d0a0 of _0x996647){_0x24d019['has'](_0x49d0a0[_0x4154df(0x1eb)])&&(_0x1f8113[_0x4154df(0x1e5)](_0x49d0a0),_0x24d019['delete'](_0x49d0a0['uuid']));}if(_0x32f036&&_0x24d019[_0x4154df(0x1f8)]>0x0)for(const _0x29bb9b of _0x996647){const _0x442ddc=_0x29bb9b[_0x4154df(0x1d6)]([..._0x24d019],!![]);for(const _0xab0373 of _0x442ddc){_0x1f8113[_0x4154df(0x1e5)](_0xab0373),_0x24d019[_0x4154df(0x1d3)](_0xab0373[_0x4154df(0x1eb)]);}if(_0x24d019[_0x4154df(0x1f8)]===0x0)break;}return _0x1f8113;}[_0x367bac(0x1ec)](_0x4b3477){const _0x1e6585=_0x367bac;return this['rootComponent'][_0x1e6585(0x1ec)](_0x4b3477);}[_0x367bac(0x1ef)](_0x574931=!![]){const _0x100c8d=_0x367bac;let _0x81c248=new Vector3(),_0x3c6aad=this[_0x100c8d(0x1d5)][_0x100c8d(0x1ee)]();return _0x3c6aad[_0x100c8d(0x1f0)](_0x81c248),_0x81c248['y']=_0x3c6aad[_0x100c8d(0x1da)]['y'],!_0x574931?_0x81c248[_0x100c8d(0x205)](this['getPosition']()):_0x81c248;}[_0x367bac(0x1f1)](_0x47f899=!![]){const _0x48ff89=_0x367bac;let _0x4f1985=new Vector3(),_0x5a87cb=this[_0x48ff89(0x1ee)]();return _0x5a87cb[_0x48ff89(0x1f0)](_0x4f1985),_0x4f1985['y']=_0x5a87cb[_0x48ff89(0x1af)]['y'],!_0x47f899?_0x4f1985[_0x48ff89(0x205)](this[_0x48ff89(0x1e2)]()):_0x4f1985;}[_0x367bac(0x1ee)](){return this['rootComponent']['getBounds']();}['destroy'](){const _0x20a7c1=_0x367bac;let _0x3a9321=this[_0x20a7c1(0x1cc)];_0x3a9321[_0x20a7c1(0x1d7)](_0xa1f0f6=>{const _0x452fce=_0x20a7c1;_0xa1f0f6[_0x452fce(0x1b6)]();}),this[_0x20a7c1(0x1d5)][_0x20a7c1(0x1b6)]();}[_0x367bac(0x1fe)](_0x3ff690){const _0x304b0c=_0x367bac;this[_0x304b0c(0x1d5)]['setVisible'](_0x3ff690);}[_0x367bac(0x1fd)](_0x3ff2fa,_0x40f621=!![]){const _0x4f69ec=_0x367bac;this[_0x4f69ec(0x1d5)][_0x4f69ec(0x1fd)](_0x3ff2fa),_0x40f621&&this[_0x4f69ec(0x1cc)]['forEach'](_0xf88447=>{const _0x5d6bcd=_0x4f69ec;_0xf88447[_0x5d6bcd(0x1fd)](_0x3ff2fa,_0x40f621);});}[_0x367bac(0x203)](_0x12236e){const _0x4409df=_0x367bac;if(!this[_0x4409df(0x1c2)])return;super[_0x4409df(0x203)](_0x12236e),this[_0x4409df(0x1d5)][_0x4409df(0x203)](_0x12236e);}[_0x367bac(0x1e2)](){const _0x59b266=_0x367bac;return this[_0x59b266(0x1d5)][_0x59b266(0x1e2)]();}[_0x367bac(0x1f9)](..._0x598420){const _0xecdeb1=_0x367bac;_0x598420[_0xecdeb1(0x200)]===0x1?this['rootComponent'][_0xecdeb1(0x1f9)](_0x598420[0x0]):this[_0xecdeb1(0x1d5)][_0xecdeb1(0x1f9)](_0x598420[0x0],_0x598420[0x1],_0x598420[0x2]);}[_0x367bac(0x1bc)](){const _0x29a211=_0x367bac;return this[_0x29a211(0x1d5)][_0x29a211(0x1bc)]();}[_0x367bac(0x1e0)](..._0x4d5ba1){const _0x5c38f1=_0x367bac;_0x4d5ba1[_0x5c38f1(0x200)]===0x1?this[_0x5c38f1(0x1d5)][_0x5c38f1(0x1e0)](_0x4d5ba1[0x0]):this[_0x5c38f1(0x1d5)][_0x5c38f1(0x1e0)](_0x4d5ba1[0x0],_0x4d5ba1[0x1],_0x4d5ba1[0x2]);}[_0x367bac(0x1c8)](){const _0x5ce53e=_0x367bac;return this[_0x5ce53e(0x1d5)][_0x5ce53e(0x1c8)]();}[_0x367bac(0x1cd)](..._0x4e832e){const _0x52c58a=_0x367bac;_0x4e832e[_0x52c58a(0x200)]===0x1?this[_0x52c58a(0x1d5)]['setQuaternion'](_0x4e832e[0x0]):this[_0x52c58a(0x1d5)][_0x52c58a(0x1cd)](_0x4e832e[0x0],_0x4e832e[0x1],_0x4e832e[0x2],_0x4e832e[0x3]);}[_0x367bac(0x1fa)](){const _0x470bb2=_0x367bac;return this[_0x470bb2(0x1d5)][_0x470bb2(0x1fa)]();}[_0x367bac(0x1e9)](..._0x197e96){const _0x5a8f26=_0x367bac;_0x197e96[_0x5a8f26(0x200)]===0x1?this['rootComponent'][_0x5a8f26(0x1e9)](_0x197e96[0x0]):this['rootComponent'][_0x5a8f26(0x1e9)](_0x197e96[0x0],_0x197e96[0x1],_0x197e96[0x2]);}['getWorldMatrix'](){const _0x4fead4=_0x367bac;return this[_0x4fead4(0x1d5)][_0x4fead4(0x1f6)]();}[_0x367bac(0x1e4)](_0x44e1b7){const _0x2a6869=_0x367bac;this[_0x2a6869(0x1d5)][_0x2a6869(0x1e4)](_0x44e1b7);}[_0x367bac(0x1be)](){const _0x1dc22a=_0x367bac;return this[_0x1dc22a(0x1d5)]['getWorldPosition']();}[_0x367bac(0x1bb)](){const _0x12516f=_0x367bac;return this[_0x12516f(0x1d5)][_0x12516f(0x1bb)]();}[_0x367bac(0x1e6)](){const _0x2c8010=_0x367bac;return this[_0x2c8010(0x1d5)][_0x2c8010(0x1e6)]();}['getWorldScale'](){const _0x4032f5=_0x367bac;return this[_0x4032f5(0x1d5)]['getWorldScale']();}[_0x367bac(0x1aa)](){const _0xcacb72=_0x367bac;return this[_0xcacb72(0x1d5)]['getWorldForwardDirection']();}[_0x367bac(0x1fb)](){const _0x3e4c3d=_0x367bac;return this['rootComponent'][_0x3e4c3d(0x1fb)]();}[_0x367bac(0x1ea)](){const _0x3a625c=_0x367bac;return this[_0x3a625c(0x1d5)]['getWorldRightDirection']();}['addLocalOffset'](_0x478675,_0x2cd16a){const _0x1212fb=_0x367bac;let _0x75639b=this[_0x1212fb(0x1e2)]();this[_0x1212fb(0x1f9)](_0x75639b['x']+_0x478675['x']*_0x2cd16a,_0x75639b['y']+_0x478675['y']*_0x2cd16a,_0x75639b['z']+_0x478675['z']*_0x2cd16a);}[_0x367bac(0x1b9)](_0x54d743){const _0x25ec52=_0x367bac;return this[_0x25ec52(0x1d5)]['worldToLocal'](_0x54d743);}['localToWorld'](_0x33100d){const _0x1334c8=_0x367bac;return this[_0x1334c8(0x1d5)][_0x1334c8(0x1b0)](_0x33100d);}['getComponents'](){const _0x27d5df=_0x367bac;return this[_0x27d5df(0x1d5)][_0x27d5df(0x1b1)];}['addComponent'](_0x1a310c,_0x40894c=AttachmentRules[_0x367bac(0x1b7)]){const _0x440a58=_0x367bac;this[_0x440a58(0x1d5)][_0x440a58(0x1dd)](_0x1a310c,_0x40894c),this[_0x440a58(0x209)]&&_0x1a310c['onAddedToWorld'](this[_0x440a58(0x209)]);}[_0x367bac(0x1c3)](_0x101885){const _0x240708=_0x367bac;if(_0x101885===this[_0x240708(0x1dc)])return;this[_0x240708(0x1d5)][_0x240708(0x1bd)](_0x101885);}[_0x367bac(0x1b2)](){const _0x3baa94=_0x367bac;this[_0x3baa94(0x1d5)][_0x3baa94(0x1f3)]();}[_0x367bac(0x1ac)](_0x15e55a,_0x543eca=AttachmentRules[_0x367bac(0x1cf)]){const _0x5d2a95=_0x367bac;if(!_0x15e55a['rootComponent']){console[_0x5d2a95(0x1ab)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0x15e55a['parentActor']===this)return;_0x543eca===AttachmentRules['KeepRelative']&&this[_0x5d2a95(0x1d5)]['attachComponent'](_0x15e55a[_0x5d2a95(0x1d5)]);if(_0x543eca===AttachmentRules[_0x5d2a95(0x1cf)]){let _0x850b2f=_0x15e55a[_0x5d2a95(0x1f6)]();this['rootComponent'][_0x5d2a95(0x1de)](_0x15e55a['rootComponent']),_0x15e55a[_0x5d2a95(0x1e4)](_0x850b2f);}this[_0x5d2a95(0x209)]&&this[_0x5d2a95(0x209)][_0x5d2a95(0x1c0)][_0x5d2a95(0x1db)]();}[_0x367bac(0x1c5)](_0x1b7350){const _0x352f05=_0x367bac;let _0x3a53e6=_0x1b7350[_0x352f05(0x1f6)]();this['rootComponent'][_0x352f05(0x1ce)](_0x1b7350[_0x352f05(0x1d5)]),_0x1b7350[_0x352f05(0x1e4)](_0x3a53e6);}['removeFromParent'](){const _0xd0e705=_0x367bac;this[_0xd0e705(0x1e1)]&&this[_0xd0e705(0x1e1)][_0xd0e705(0x1c5)](this);}[_0x367bac(0x1d2)](_0x13b83e){const _0x3d3a0e=_0x367bac;this[_0x3d3a0e(0x209)]=_0x13b83e,this[_0x3d3a0e(0x1d5)][_0x3d3a0e(0x1d2)](this[_0x3d3a0e(0x209)]),this[_0x3d3a0e(0x1cc)][_0x3d3a0e(0x1d7)](_0xcaab1=>{const _0x2020f7=_0x3d3a0e;_0xcaab1[_0x2020f7(0x1d2)](_0x13b83e);});}[_0x367bac(0x1f2)](){const _0x50e813=_0x367bac;this[_0x50e813(0x209)]=null;}get[_0x367bac(0x1ed)](){const _0x5d050c=_0x367bac;return this[_0x5d050c(0x1d5)][_0x5d050c(0x1ed)];}set[_0x367bac(0x1ed)](_0x15caad){const _0x1f023a=_0x367bac;this[_0x1f023a(0x1d5)][_0x1f023a(0x1ed)]=_0x15caad;}get[_0x367bac(0x1b3)](){const _0x2f6bca=_0x367bac;return this[_0x2f6bca(0x1d5)][_0x2f6bca(0x1b3)];}set[_0x367bac(0x1b3)](_0x294952){const _0xaee372=_0x367bac;this[_0xaee372(0x1d5)][_0xaee372(0x1b3)]=_0x294952;}[_0x367bac(0x20a)](_0x2b17df){const _0x545a8e=_0x367bac;this[_0x545a8e(0x1ba)][_0x545a8e(0x1ff)](_0x2b17df);}[_0x367bac(0x1c4)](_0x18e88d){this['_onHoverEndDelegate']['broadcast'](_0x18e88d);}[_0x367bac(0x1e7)](_0x2d6035){this['_onClickDelegate']['broadcast'](_0x2d6035);}[_0x367bac(0x201)](_0x17b3af){const _0xa9962b=_0x367bac;this['_onDoubleClickDelegate'][_0xa9962b(0x1ff)](_0x17b3af);}[_0x367bac(0x1a8)](){}}
|
|
84
|
+
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 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 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 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=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=AttachmentRules[_0x1b0466(0x184)]){const _0x4d4ba5=_0x1b0466;if(!_0x387d5b[_0x4d4ba5(0x141)]){console['error'](_0x4d4ba5(0x15c));return;}if(_0x387d5b[_0x4d4ba5(0x15b)]===this)return;_0x332b28===AttachmentRules['KeepRelative']&&this[_0x4d4ba5(0x141)][_0x4d4ba5(0x159)](_0x387d5b[_0x4d4ba5(0x141)]);if(_0x332b28===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();}
|
|
85
85
|
|
|
86
|
-
var
|
|
86
|
+
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)]=()=>!![];
|
|
87
87
|
|
|
88
|
-
function _0x3a4d(){const _0x484c06=['enableDamping','clone','setCameraDraggingState','kill','onPointerUp','lerpVectors','20907asDwff','getPosition','setQuaternion','rotation','7elBywd','stopFocusing','setRotation','setFromRotationMatrix','onPointerDown','multiplyScalar','set','controller','tick','button','canvas','minPolarAngle','minDistance','clientY','onContextMenu','dataset','dampingFactor','releasePointerCapture','onPointerDownDelegate','camera','maxDistance','getQuaternion','clamp','_targetQuaternion','onPointerMoveDelegate','min','inputFilter','app','maxAzimuthAngle','possess','lerp','9279190BHdGPN','onContextMenuDelegate','rootComponent','preventDefault','viewport','setFromQuaternion','onPointerMove','exp','onPointerCancelDelegate','10472560tJOfWp','threeObject','copy','enabled','setPosition','minAzimuthAngle','onWheelDelegate','clientX','9AflsWb','clientHeight','1501858iOJKdh','onWheel','distance','remove','maxPolarAngle','_lastPointerPosition','updateCameraFromPawn','116iWpiyn','setPointerCapture','6381438cmQyKd','applyQuaternion','rotateSpeed','pointerId','_isDragging','deltaY','add','slerp','_targetPosition','2630440lvSBcB','onPointerUpDelegate','setFromEuler','unpossess','_focusTween','order','function','buttons','YXZ','focusTo','_targetDistance','addScaledVector','max','1169318UxLvsl','lyCameraDragging','outer','lookAt','normalize'];_0x3a4d=function(){return _0x484c06;};return _0x3a4d();}const _0x5df7f5=_0x1ce2;(function(_0x54b6f5,_0x52bd50){const _0x3be9ea=_0x1ce2,_0x3fd670=_0x54b6f5();while(!![]){try{const _0xd8a803=-parseInt(_0x3be9ea(0x1b3))/0x1+parseInt(_0x3be9ea(0x1d2))/0x2+-parseInt(_0x3be9ea(0x1dd))/0x3*(parseInt(_0x3be9ea(0x1ba))/0x4)+parseInt(_0x3be9ea(0x1c5))/0x5+-parseInt(_0x3be9ea(0x1bc))/0x6*(-parseInt(_0x3be9ea(0x1e1))/0x7)+parseInt(_0x3be9ea(0x1a9))/0x8+parseInt(_0x3be9ea(0x1b1))/0x9*(-parseInt(_0x3be9ea(0x1a0))/0xa);if(_0xd8a803===_0x52bd50)break;else _0x3fd670['push'](_0x3fd670['shift']());}catch(_0x4b7931){_0x3fd670['push'](_0x3fd670['shift']());}}}(_0x3a4d,0xcfe38));function _0x1ce2(_0x58cfcf,_0x42a171){_0x58cfcf=_0x58cfcf-0x19e;const _0x3a4d48=_0x3a4d();let _0x1ce230=_0x3a4d48[_0x58cfcf];return _0x1ce230;}class Orbital extends Pawn{constructor(_0x19985f){const _0x94eb20=_0x1ce2;super(_0x19985f),this['distance']=0x5,this[_0x94eb20(0x1ed)]=0.1,this['maxDistance']=0xf4240,this[_0x94eb20(0x1be)]=0x1,this['zoomSpeed']=0x1,this['minPolarAngle']=0x0,this['maxPolarAngle']=Math['PI']*0.5,this[_0x94eb20(0x1ae)]=-Infinity,this[_0x94eb20(0x1fd)]=Infinity,this[_0x94eb20(0x1d7)]=!![],this[_0x94eb20(0x1f1)]=0xa,this[_0x94eb20(0x1c0)]=![],this[_0x94eb20(0x1b8)]=new Vector2$1(),this['_targetPosition']=new Vector3(),this['_targetQuaternion']=new Quaternion(),this[_0x94eb20(0x1cf)]=0x5,this['_focusTween']=null,this[_0x94eb20(0x1ef)]=_0x510380=>{const _0x4c0eef=_0x94eb20;if(!Pawn[_0x4c0eef(0x1fb)]())return;_0x510380[_0x4c0eef(0x1a3)]();},this[_0x94eb20(0x1e5)]=_0x485593=>{const _0x5af8f4=_0x94eb20;if(!this[_0x5af8f4(0x1ac)]||!Pawn['inputFilter']())return;if(_0x485593['button']===0x0||_0x485593[_0x5af8f4(0x1ea)]===0x2){this['_isDragging']=!![],this['_lastPointerPosition'][_0x5af8f4(0x1e7)](_0x485593[_0x5af8f4(0x1b0)],_0x485593[_0x5af8f4(0x1ee)]),this[_0x5af8f4(0x1d9)](!![]);const _0x3d4922=this[_0x5af8f4(0x1fc)][_0x5af8f4(0x1a4)]['canvas'];_0x3d4922&&typeof _0x3d4922[_0x5af8f4(0x1bb)]===_0x5af8f4(0x1cb)&&_0x3d4922[_0x5af8f4(0x1bb)](_0x485593[_0x5af8f4(0x1bf)]);}},this[_0x94eb20(0x1a6)]=_0x275593=>{const _0x482546=_0x94eb20;if(!this['enabled']||!this['_isDragging']||!Pawn[_0x482546(0x1fb)]())return;if(_0x275593[_0x482546(0x1cc)]===0x0){this[_0x482546(0x1c0)]=![],this['setCameraDraggingState'](![]);return;}const _0x4f7ed1=_0x275593[_0x482546(0x1b0)]-this['_lastPointerPosition']['x'],_0x527f7e=_0x275593[_0x482546(0x1ee)]-this[_0x482546(0x1b8)]['y'];this[_0x482546(0x1b8)][_0x482546(0x1e7)](_0x275593[_0x482546(0x1b0)],_0x275593[_0x482546(0x1ee)]);const _0x3653d6=this['app'][_0x482546(0x1a4)][_0x482546(0x1eb)];if(!_0x3653d6)return;if(_0x275593[_0x482546(0x1cc)]===0x1){const _0x8afb58=this[_0x482546(0x1be)]*0x2*Math['PI'],_0x2ad5bb=new Euler(0x0,0x0,0x0,'YXZ')[_0x482546(0x1a5)](this[_0x482546(0x1f8)]);_0x2ad5bb['y']-=_0x4f7ed1/_0x3653d6[_0x482546(0x1b2)]*_0x8afb58,_0x2ad5bb['x']-=_0x527f7e/_0x3653d6[_0x482546(0x1b2)]*_0x8afb58;const _0x40fa8f=Math[_0x482546(0x1d1)](this[_0x482546(0x1ec)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x3a00b3=Math[_0x482546(0x1fa)](this[_0x482546(0x1b7)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x2ad5bb['x']=MathUtils[_0x482546(0x1f7)](_0x2ad5bb['x'],_0x40fa8f,_0x3a00b3),isFinite(this[_0x482546(0x1ae)])&&isFinite(this[_0x482546(0x1fd)])&&(_0x2ad5bb['y']=MathUtils['clamp'](_0x2ad5bb['y'],this[_0x482546(0x1ae)],this[_0x482546(0x1fd)])),_0x2ad5bb['z']=0x0,this['_targetQuaternion'][_0x482546(0x1c7)](_0x2ad5bb),!this[_0x482546(0x1d7)]&&this[_0x482546(0x1df)](this[_0x482546(0x1f8)]);}else {if(_0x275593[_0x482546(0x1cc)]===0x2){const _0x222f06=this['_targetDistance']*0.002,_0x27b94b=new Vector3(0x1,0x0,0x0)[_0x482546(0x1bd)](this[_0x482546(0x1f8)])['normalize'](),_0xc98b93=new Vector3(0x0,0x1,0x0)[_0x482546(0x1bd)](this['_targetQuaternion'])[_0x482546(0x1d6)]();this['_targetPosition'][_0x482546(0x1d0)](_0x27b94b,-_0x4f7ed1*_0x222f06),this[_0x482546(0x1c4)]['addScaledVector'](_0xc98b93,_0x527f7e*_0x222f06),!this['enableDamping']&&this[_0x482546(0x1ad)](this[_0x482546(0x1c4)]);}}},this[_0x94eb20(0x1db)]=_0x1a87bd=>{const _0x26d116=_0x94eb20;var _0xce8fa7;this[_0x26d116(0x1c0)]=![],this[_0x26d116(0x1d9)](![]);const _0x30ab03=this['app'][_0x26d116(0x1a4)][_0x26d116(0x1eb)];_0x30ab03&&typeof _0x30ab03[_0x26d116(0x1f2)]==='function'&&((_0xce8fa7=_0x30ab03['hasPointerCapture'])===null||_0xce8fa7===void 0?void 0:_0xce8fa7['call'](_0x30ab03,_0x1a87bd['pointerId']))&&_0x30ab03[_0x26d116(0x1f2)](_0x1a87bd[_0x26d116(0x1bf)]);},this[_0x94eb20(0x1b4)]=_0x5f5676=>{const _0x5f49fb=_0x94eb20;if(!this[_0x5f49fb(0x1ac)]||!Pawn[_0x5f49fb(0x1fb)]())return;const _0x5809d8=0.95;_0x5f5676[_0x5f49fb(0x1c1)]>0x0?this[_0x5f49fb(0x1cf)]/=_0x5809d8:this[_0x5f49fb(0x1cf)]*=_0x5809d8,this['_targetDistance']=MathUtils[_0x5f49fb(0x1f7)](this[_0x5f49fb(0x1cf)],this['minDistance'],this[_0x5f49fb(0x1f5)]),!this[_0x5f49fb(0x1d7)]&&(this[_0x5f49fb(0x1b5)]=this[_0x5f49fb(0x1cf)]);};}['possess'](){const _0xd78508=_0x1ce2;super[_0xd78508(0x19e)]();this[_0xd78508(0x1a2)]&&this[_0xd78508(0x1a2)][_0xd78508(0x1aa)]&&(this[_0xd78508(0x1a2)][_0xd78508(0x1aa)][_0xd78508(0x1e0)][_0xd78508(0x1ca)]=_0xd78508(0x1cd));this[_0xd78508(0x1c4)][_0xd78508(0x1ab)](this['getPosition']());const _0x1c5b64=this[_0xd78508(0x1f6)](),_0x149b27=new Euler(0x0,0x0,0x0,_0xd78508(0x1cd))['setFromQuaternion'](_0x1c5b64);Math['abs'](_0x149b27['z'])>0.00001?(_0x149b27['z']=0x0,this[_0xd78508(0x1f8)][_0xd78508(0x1c7)](_0x149b27),this[_0xd78508(0x1df)](this[_0xd78508(0x1f8)])):this[_0xd78508(0x1f8)][_0xd78508(0x1ab)](_0x1c5b64);this[_0xd78508(0x1cf)]=this[_0xd78508(0x1b5)];const _0x5eaa42=this[_0xd78508(0x1fc)][_0xd78508(0x1e8)];_0x5eaa42&&(_0x5eaa42[_0xd78508(0x1f3)][_0xd78508(0x1c2)](this[_0xd78508(0x1e5)]),_0x5eaa42[_0xd78508(0x1f9)][_0xd78508(0x1c2)](this[_0xd78508(0x1a6)]),_0x5eaa42['onPointerUpDelegate'][_0xd78508(0x1c2)](this['onPointerUp']),_0x5eaa42[_0xd78508(0x1a8)][_0xd78508(0x1c2)](this['onPointerUp']),_0x5eaa42['onWheelDelegate']['add'](this['onWheel']),_0x5eaa42[_0xd78508(0x1a1)][_0xd78508(0x1c2)](this['onContextMenu'])),this[_0xd78508(0x1b9)]();}['getTargetCameraState'](){const _0x500fad=_0x1ce2,_0x5b0e81=this[_0x500fad(0x1de)](),_0x4e3a81=this[_0x500fad(0x1f6)](),_0x24b3df=new Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x4e3a81)[_0x500fad(0x1e6)](this[_0x500fad(0x1b5)]),_0x599e79=_0x5b0e81[_0x500fad(0x1d8)]()[_0x500fad(0x1c2)](_0x24b3df),_0x48d2ec=new Matrix4();_0x48d2ec[_0x500fad(0x1d5)](_0x599e79,_0x5b0e81,this[_0x500fad(0x1f4)]['up']);const _0x532f98=new Quaternion()[_0x500fad(0x1e4)](_0x48d2ec);return {'position':_0x599e79,'quaternion':_0x532f98};}['updateCameraFromPawn'](){const _0x44832d=_0x1ce2;if(!this[_0x44832d(0x1ac)]||!this[_0x44832d(0x1f4)])return;const _0x368d58=this[_0x44832d(0x1de)](),_0xe15af7=this[_0x44832d(0x1f6)](),_0x21069e=new Vector3(0x0,0x0,0x1)[_0x44832d(0x1bd)](_0xe15af7)[_0x44832d(0x1e6)](this[_0x44832d(0x1b5)]);this['camera']['position']['copy'](_0x368d58)[_0x44832d(0x1c2)](_0x21069e),this[_0x44832d(0x1f4)][_0x44832d(0x1d5)](_0x368d58);}[_0x5df7f5(0x1c8)](){const _0x339e3d=_0x5df7f5;super[_0x339e3d(0x1c8)]();const _0x33699b=this[_0x339e3d(0x1fc)][_0x339e3d(0x1e8)];_0x33699b&&(_0x33699b['onPointerDownDelegate']['remove'](this['onPointerDown']),_0x33699b[_0x339e3d(0x1f9)]['remove'](this[_0x339e3d(0x1a6)]),_0x33699b[_0x339e3d(0x1c6)][_0x339e3d(0x1b6)](this['onPointerUp']),_0x33699b['onPointerCancelDelegate'][_0x339e3d(0x1b6)](this['onPointerUp']),_0x33699b[_0x339e3d(0x1af)][_0x339e3d(0x1b6)](this[_0x339e3d(0x1b4)]),_0x33699b[_0x339e3d(0x1a1)][_0x339e3d(0x1b6)](this[_0x339e3d(0x1ef)])),this[_0x339e3d(0x1c0)]=![],this[_0x339e3d(0x1d9)](![]),this['_focusTween']&&(this['_focusTween'][_0x339e3d(0x1da)](),this[_0x339e3d(0x1c9)]=null);}[_0x5df7f5(0x1d9)](_0x5bc42c){const _0x5f127b=_0x5df7f5,_0x2fc6a3=this[_0x5f127b(0x1fc)][_0x5f127b(0x1a4)][_0x5f127b(0x1d4)];if(!_0x2fc6a3)return;_0x5bc42c?_0x2fc6a3['dataset'][_0x5f127b(0x1d3)]='1':delete _0x2fc6a3[_0x5f127b(0x1f0)][_0x5f127b(0x1d3)];}[_0x5df7f5(0x1e9)](_0x587b6d){const _0x10d0ce=_0x5df7f5;if(this['enableDamping']){const _0x495a02=Math['min'](_0x587b6d,0.1),_0x5ec077=0x1-Math[_0x10d0ce(0x1a7)](-this[_0x10d0ce(0x1f1)]*_0x495a02);this[_0x10d0ce(0x1b5)]=MathUtils[_0x10d0ce(0x19f)](this['distance'],this[_0x10d0ce(0x1cf)],_0x5ec077);const _0x34d6a7=this[_0x10d0ce(0x1de)]();_0x34d6a7['lerp'](this['_targetPosition'],_0x5ec077),super[_0x10d0ce(0x1ad)](_0x34d6a7);const _0x18c56d=this['getQuaternion']();_0x18c56d[_0x10d0ce(0x1c3)](this['_targetQuaternion'],_0x5ec077),super['setQuaternion'](_0x18c56d);}this[_0x10d0ce(0x1b9)]();}[_0x5df7f5(0x1ad)](..._0x968d17){const _0x2bd9a8=_0x5df7f5;super['setPosition'](..._0x968d17),this['_targetPosition'][_0x2bd9a8(0x1ab)](this[_0x2bd9a8(0x1de)]());}[_0x5df7f5(0x1e3)](..._0x5d912e){const _0x567a18=_0x5df7f5;super[_0x567a18(0x1e3)](..._0x5d912e),this[_0x567a18(0x1f8)][_0x567a18(0x1ab)](this['getQuaternion']());}[_0x5df7f5(0x1df)](..._0x59cf36){const _0x49ae52=_0x5df7f5;super['setQuaternion'](..._0x59cf36),this[_0x49ae52(0x1f8)][_0x49ae52(0x1ab)](this[_0x49ae52(0x1f6)]());}[_0x5df7f5(0x1ce)](_0x39ab30,_0x5143bb,_0x4f26c6,_0x47342c,_0x44417c=null,_0x4c856c=null){const _0x52ac01=_0x5df7f5;this[_0x52ac01(0x1c9)]&&this['_focusTween'][_0x52ac01(0x1da)]();const _0x25bb2f=this[_0x52ac01(0x1de)](),_0x593acc=this[_0x52ac01(0x1f6)](),_0x45bbe7=this[_0x52ac01(0x1b5)];let _0x4ac9d0;_0x5143bb instanceof Euler?_0x4ac9d0=new Quaternion()['setFromEuler'](_0x5143bb):_0x4ac9d0=_0x5143bb[_0x52ac01(0x1d8)]();const _0xa71d3b=new Euler(0x0,0x0,0x0,'YXZ')[_0x52ac01(0x1a5)](_0x4ac9d0);Math['abs'](_0xa71d3b['z'])>0.00001&&(_0xa71d3b['z']=0x0,_0x4ac9d0[_0x52ac01(0x1c7)](_0xa71d3b));const _0x1002d7={'alpha':0x0};this['_focusTween']=gsap['to'](_0x1002d7,{'alpha':0x1,'duration':_0x47342c,'onUpdate':()=>{const _0x5b4aa6=_0x52ac01,_0x2117ee=_0x1002d7['alpha'],_0x4d1eb6=new Vector3()[_0x5b4aa6(0x1dc)](_0x25bb2f,_0x39ab30,_0x2117ee);this['setPosition'](_0x4d1eb6),this[_0x5b4aa6(0x1c4)][_0x5b4aa6(0x1ab)](_0x4d1eb6);const _0x425083=_0x593acc['clone']()[_0x5b4aa6(0x1c3)](_0x4ac9d0,_0x2117ee);this['setQuaternion'](_0x425083),this[_0x5b4aa6(0x1f8)]['copy'](_0x425083),this[_0x5b4aa6(0x1b5)]=MathUtils['lerp'](_0x45bbe7,_0x4f26c6,_0x2117ee),this[_0x5b4aa6(0x1cf)]=this[_0x5b4aa6(0x1b5)];if(_0x44417c)_0x44417c();},'onComplete':()=>{this['_focusTween']=null;if(_0x4c856c)_0x4c856c();}});}[_0x5df7f5(0x1e2)](){const _0x9992b2=_0x5df7f5;this[_0x9992b2(0x1c9)]&&(this[_0x9992b2(0x1c9)]['kill'](),this['_focusTween']=null);}}
|
|
88
|
+
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 Vector2$1(),this[_0x45036d(0x1df)]=new Vector3(),this[_0x45036d(0x1a7)]=new 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 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']=MathUtils[_0x168475(0x1e5)](_0x382b93['x'],_0x333011,_0x39e225),isFinite(this[_0x168475(0x1dc)])&&isFinite(this[_0x168475(0x1f6)])&&(_0x382b93['y']=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 Vector3(0x1,0x0,0x0)['applyQuaternion'](this[_0x168475(0x1a7)])['normalize'](),_0x2b4ab7=new 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)]=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 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 Vector3(0x0,0x0,0x1)[_0x5c6920(0x1c9)](_0x2e8576)[_0x5c6920(0x19f)](this[_0x5c6920(0x1da)]),_0x5c1777=_0x379c89[_0x5c6920(0x1c1)]()[_0x5c6920(0x1bd)](_0x1e53b2),_0x364b91=new Matrix4();_0x364b91[_0x5c6920(0x1c3)](_0x5c1777,_0x379c89,this['camera']['up']);const _0x2d3918=new 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 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)]=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 Euler?_0xa856f1=new Quaternion()[_0x1ddf34(0x1ba)](_0x183d1d):_0xa856f1=_0x183d1d[_0x1ddf34(0x1c1)]();const _0x3a3a4c=new 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['to'](_0x41b9f7,{'alpha':0x1,'duration':_0x410733,'onUpdate':()=>{const _0x49dc47=_0x1ddf34,_0x537437=_0x41b9f7[_0x49dc47(0x1ce)],_0x5e36c4=new 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)]=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();}
|
|
89
89
|
|
|
90
|
-
const _0x50374f=_0x1c2a;(function(_0x3c9899,_0x4db24e){const _0xfaefb5=_0x1c2a,_0x459c27=_0x3c9899();while(!![]){try{const _0x37344c=-parseInt(_0xfaefb5(0x9b))/0x1+parseInt(_0xfaefb5(0x9c))/0x2*(parseInt(_0xfaefb5(0x156))/0x3)+parseInt(_0xfaefb5(0xe6))/0x4+parseInt(_0xfaefb5(0x142))/0x5*(parseInt(_0xfaefb5(0x144))/0x6)+parseInt(_0xfaefb5(0x116))/0x7*(parseInt(_0xfaefb5(0xf4))/0x8)+-parseInt(_0xfaefb5(0x122))/0x9*(parseInt(_0xfaefb5(0xe9))/0xa)+-parseInt(_0xfaefb5(0x13f))/0xb;if(_0x37344c===_0x4db24e)break;else _0x459c27['push'](_0x459c27['shift']());}catch(_0x1a0863){_0x459c27['push'](_0x459c27['shift']());}}}(_0x342a,0x64b43));function _0x342a(){const _0x42c7ee=['onContextMenuDelegate','YXZ','onKeyDownEvent','focusTo','onPointerDown','onPointerUp','_onComponentClickDelegate','setTimeout','collider','_onComponentPointerDownDelegate','handled','onClicked','onPointerUpEvent','onWindowBlurEvent','_onComponentHoverEndDelegate','onWindowBlurDelegate','clientWidth','viewPort','getHitResultUnderCursor','add','onKeyUp','_onComponentDoubleClickDelegate','onPointerDownEvent','pointerdown','handleDoubleClick','possess','onPointerUpDelegate','point','onKeyDown','onPointerCancelEvent','onPointerEnterEvent','_onKeyDownDelegate','world','clearHovering','onRawClickDelegate','near','viewport','onComponentDoubleClickDelegate','clearClickTimer','onPointerEnter','onClickEvent','clone','kill','_onPointerLockChangeDelegate','_onActorHoverBeginDelegate','pointerup','pawn','_onActorHoverEndDelegate','onWindowBlur','onContextMenu','onContextMenuEvent','left','onActorDoubleClick','_onPointerDownDelegate','blur','init','click','onHorveringBegin','onPointerMoveDelegate','top','2456348FjJYgd','isHoverEnabled','prepareClickComponent','10srSuqA','lineTraceMulti','_onPointerMoveDelegate','origin','_onActorClickDelegate','delete','pointerLeftDownPosition','onActorDoubleClickDelegate','isClickEnabled','pointerenter','switchPawn','64bfgeQu','focusToBounds','Visibility','hit','ray','onActorClick','fireClickEvents','leftClickTimer','enabled','isPerspectiveCamera','fireComponentHoverEnd','pointerlockchange','onPointerCancel','onPointerLockChangeEvent','distance','prepareClickHit','_tempVec2','canvas','getTargetCameraState','physics','_app','_raycastVec2','onWheelEvent','_onKeyUpDelegate','subVectors','_pawn','pawn\x20is\x20null','setFromAxisAngle','clientX','_onContextMenuDelegate','raycaster','onPointerDownDelegate','component','_onPointerUpDelegate','42665KsWauR','addEventListener','onActorHoverEndDelegate','copy','fireActorHoverBegin','onClickNothingDelegate','clearTimeout','tan','removeCorePointerListeners','position','createInitialPawn','push','730233QEjCft','keydown','contextmenu','onComponentHoverBeginDelegate','handleFirstClick','_onWheelDelegate','fireActorClick','setFromEuler','altKey','keyup','onPointerLockChangeDelegate','onPointerLeave','setFromObject','max','hoveringComponent','updateCamera','length','onPointerMove','onWheel','removeEventListener','pointercancel','_onActorDoubleClickDelegate','getSize','lineTraceSingle','onClick','getAllHitResultFromScreenPoint','blocking','_switchPawnTween','onKeyUpEvent','4067085gIqTmj','prepareClickModifiers','doubleClickDelay','3136470LoDTeD','_onWindowBlurDelegate','6joVTuY','parentActor','focusToObject','firePointerDownEvent','app','hoveringActor','addCorePointerListeners','onPointerLeaveEvent','sqrt','multiplyScalar','pointerleave','broadcast','assign','onActorClickDelegate','threeObject','onPointerMoveEvent','fov','pointerPosition','63OJlTtv','fireActorHoverEnd','fireComponentHoverBegin','addActor','quaternion','onHorveringEnd','_onRawClickDelegate','wheel','onPointerLockChange','getHitResultFromScreenPoint','tick','camera','clientY','_onClickNothingDelegate','setFromCamera','fireComponentClick','728157iWyPlJ','28702oxYBio','button','size','onComponentHoverEndDelegate','set','_onComponentHoverBeginDelegate','canvas\x20is\x20null','power2.inOut','unpossess','_pointButtonIsDown','_onPointerCancelDelegate','onActorHoverEnd','destroy','pointermove'];_0x342a=function(){return _0x42c7ee;};return _0x342a();}function _0x1c2a(_0x428298,_0x5eae1e){_0x428298=_0x428298-0x92;const _0x342a31=_0x342a();let _0x1c2ae6=_0x342a31[_0x428298];return _0x1c2ae6;}class Controller{get[_0x50374f(0x96)](){const _0x128ff6=_0x50374f;return this[_0x128ff6(0x108)][_0x128ff6(0x96)];}get[_0x50374f(0xca)](){const _0x1ab0e2=_0x50374f;return this[_0x1ab0e2(0x108)][_0x1ab0e2(0xca)];}get[_0x50374f(0xbb)](){const _0x57bfe8=_0x50374f;return this['_app'][_0x57bfe8(0xce)];}get[_0x50374f(0x148)](){const _0x59bf9f=_0x50374f;return this[_0x59bf9f(0x108)];}get['pawn'](){const _0x27c454=_0x50374f;if(!this[_0x27c454(0x10d)])throw Error(_0x27c454(0x10e));return this['_pawn'];}get['onComponentClickDelegate'](){return this['_onComponentClickDelegate'];}get[_0x50374f(0xcf)](){const _0x1bd9cd=_0x50374f;return this[_0x1bd9cd(0xbf)];}get[_0x50374f(0x125)](){return this['_onComponentHoverBeginDelegate'];}get[_0x50374f(0x9f)](){const _0x59d9a1=_0x50374f;return this[_0x59d9a1(0xb8)];}get['onComponentPointerDownDelegate'](){const _0x3503ce=_0x50374f;return this[_0x3503ce(0xb3)];}get[_0x50374f(0x151)](){const _0x84f61a=_0x50374f;return this[_0x84f61a(0xed)];}get[_0x50374f(0xf0)](){const _0x37602d=_0x50374f;return this[_0x37602d(0x137)];}get['onActorHoverBeginDelegate'](){const _0x59ec87=_0x50374f;return this[_0x59ec87(0xd6)];}get[_0x50374f(0x118)](){const _0x7697c3=_0x50374f;return this[_0x7697c3(0xd9)];}get[_0x50374f(0x11b)](){const _0x5edda1=_0x50374f;return this[_0x5edda1(0x98)];}get[_0x50374f(0x113)](){const _0x33c15d=_0x50374f;return this[_0x33c15d(0xdf)];}get[_0x50374f(0xc4)](){const _0x14b34e=_0x50374f;return this[_0x14b34e(0x115)];}get[_0x50374f(0xe4)](){return this['_onPointerMoveDelegate'];}get['onPointerCancelDelegate'](){return this['_onPointerCancelDelegate'];}get['onWheelDelegate'](){return this['_onWheelDelegate'];}get['onKeyDownDelegate'](){const _0x2dd643=_0x50374f;return this[_0x2dd643(0xc9)];}get['onKeyUpDelegate'](){const _0x200a71=_0x50374f;return this[_0x200a71(0x10b)];}get[_0x50374f(0xaa)](){const _0xcfbc8a=_0x50374f;return this[_0xcfbc8a(0x111)];}get[_0x50374f(0x12c)](){return this['_onPointerLockChangeDelegate'];}get[_0x50374f(0xb9)](){const _0x20a18=_0x50374f;return this[_0x20a18(0x143)];}get[_0x50374f(0xcc)](){return this['_onRawClickDelegate'];}constructor(_0x1537cf){const _0x1fdbac=_0x50374f;this[_0x1fdbac(0x10d)]=null,this[_0x1fdbac(0x13d)]=null,this[_0x1fdbac(0x130)]=null,this[_0x1fdbac(0x149)]=null,this[_0x1fdbac(0xe8)]=null,this[_0x1fdbac(0x103)]=null,this[_0x1fdbac(0x140)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x1fdbac(0xa5)]=new Set(),this[_0x1fdbac(0xb0)]=new Delegate(),this[_0x1fdbac(0xbf)]=new Delegate(),this[_0x1fdbac(0xa1)]=new Delegate(),this['_onComponentHoverEndDelegate']=new Delegate(),this[_0x1fdbac(0xb3)]=new Delegate(),this[_0x1fdbac(0xed)]=new Delegate(),this[_0x1fdbac(0x137)]=new Delegate(),this[_0x1fdbac(0xd6)]=new Delegate(),this[_0x1fdbac(0xd9)]=new Delegate(),this['_onClickNothingDelegate']=new Delegate(),this['_onPointerDownDelegate']=new Delegate(),this[_0x1fdbac(0x115)]=new Delegate(),this[_0x1fdbac(0xeb)]=new Delegate(),this[_0x1fdbac(0xa6)]=new Delegate(),this[_0x1fdbac(0x127)]=new Delegate(),this[_0x1fdbac(0xc9)]=new Delegate(),this[_0x1fdbac(0x10b)]=new Delegate(),this['_onContextMenuDelegate']=new Delegate(),this[_0x1fdbac(0xd5)]=new Delegate(),this['_onWindowBlurDelegate']=new Delegate(),this['_onRawClickDelegate']=new Delegate(),this[_0x1fdbac(0x155)]=new Vector2$1(),this['pointerLeftDownPosition']=new Vector2$1(),this[_0x1fdbac(0x104)]=new Vector2$1(),this[_0x1fdbac(0x109)]=new Vector2$1(),this[_0x1fdbac(0x141)]=0xfa,this['leftClickTimer']=null,this[_0x1fdbac(0x133)]=_0x3e1987=>this[_0x1fdbac(0x153)](_0x3e1987),this[_0x1fdbac(0xd1)]=_0x38f4ea=>this[_0x1fdbac(0xc8)](_0x38f4ea),this['onPointerLeave']=_0xc80f26=>this[_0x1fdbac(0x14b)](_0xc80f26),this[_0x1fdbac(0xaf)]=_0x5e9ccb=>this[_0x1fdbac(0xb6)](_0x5e9ccb),this['onPointerDown']=_0x3acc6b=>this[_0x1fdbac(0xc0)](_0x3acc6b),this[_0x1fdbac(0x100)]=_0x2d59a8=>this[_0x1fdbac(0xc7)](_0x2d59a8),this[_0x1fdbac(0x134)]=_0x29db68=>this[_0x1fdbac(0x10a)](_0x29db68),this['onKeyDown']=_0x5b7125=>this[_0x1fdbac(0xac)](_0x5b7125),this[_0x1fdbac(0xbe)]=_0x375668=>this[_0x1fdbac(0x13e)](_0x375668),this[_0x1fdbac(0xdb)]=_0x262aa2=>this[_0x1fdbac(0xdc)](_0x262aa2),this[_0x1fdbac(0x93)]=_0x2697d0=>this[_0x1fdbac(0x101)](_0x2697d0),this[_0x1fdbac(0xda)]=_0x3f6dba=>this[_0x1fdbac(0xb7)](_0x3f6dba),this[_0x1fdbac(0x13a)]=_0x32821a=>this[_0x1fdbac(0xd2)](_0x32821a),this['_app']=_0x1537cf,this[_0x1fdbac(0x112)]=new Raycaster(),this['createInitialPawn']();}[_0x50374f(0x120)](){const _0x2099b5=_0x50374f;this[_0x2099b5(0x10d)]=new Orbital(this[_0x2099b5(0x108)]),this[_0x2099b5(0xd8)]['possess'](),this[_0x2099b5(0xd8)][_0x2099b5(0xfc)]=!![];}[_0x50374f(0xe1)](){const _0x460ebc=_0x50374f,_0x4706a2=this[_0x460ebc(0xbb)][_0x460ebc(0x105)];console['log'](_0x460ebc(0x105),_0x4706a2),_0x4706a2&&(_0x4706a2[_0x460ebc(0x117)](_0x460ebc(0xf2),this[_0x460ebc(0xd1)]),_0x4706a2['addEventListener'](_0x460ebc(0x14e),this['onPointerLeave']),_0x4706a2[_0x460ebc(0x117)](_0x460ebc(0x136),this[_0x460ebc(0x100)]),_0x4706a2['addEventListener']('wheel',this[_0x460ebc(0x134)]),_0x4706a2[_0x460ebc(0x117)](_0x460ebc(0x124),this[_0x460ebc(0xdb)]),_0x4706a2[_0x460ebc(0x117)]('click',this[_0x460ebc(0x13a)]),this['addCorePointerListeners']()),document[_0x460ebc(0x117)](_0x460ebc(0xff),this[_0x460ebc(0x93)]),document['addEventListener']('keydown',this[_0x460ebc(0xc6)]),document['addEventListener']('keyup',this[_0x460ebc(0xbe)]),window[_0x460ebc(0x117)](_0x460ebc(0xe0),this[_0x460ebc(0xda)]),this[_0x460ebc(0x10d)]&&(this[_0x460ebc(0x10d)][_0x460ebc(0xa4)](),this[_0x460ebc(0x10d)][_0x460ebc(0xc3)]());}[_0x50374f(0x131)](){const _0x9e9af8=_0x50374f;var _0x5ceab8,_0x48b7dc;const _0x49850c=this[_0x9e9af8(0xd8)][_0x9e9af8(0xfc)];(_0x5ceab8=this[_0x9e9af8(0x10d)])===null||_0x5ceab8===void 0?void 0:_0x5ceab8['unpossess'](),(_0x48b7dc=this['_pawn'])===null||_0x48b7dc===void 0?void 0:_0x48b7dc[_0x9e9af8(0xa8)](),this['_pawn']=new Orbital(this[_0x9e9af8(0x108)]),this['pawn'][_0x9e9af8(0xc3)](),this[_0x9e9af8(0xd8)][_0x9e9af8(0xfc)]=_0x49850c;}async[_0x50374f(0xf3)](_0x53fcaf,_0x464304){const _0x3206aa=_0x50374f;!_0x53fcaf[_0x3206aa(0xca)]&&this[_0x3206aa(0x108)]['world'][_0x3206aa(0x159)](_0x53fcaf);this[_0x3206aa(0x13d)]&&(this['_switchPawnTween'][_0x3206aa(0xd4)](),this[_0x3206aa(0x13d)]=null);const _0x4ff537=this['_pawn'];if(_0x4ff537===_0x53fcaf)return;if(!_0x464304||_0x464304<=0x0){_0x4ff537&&(_0x4ff537['unpossess'](),_0x4ff537['enabled']=![]);this[_0x3206aa(0x10d)]=_0x53fcaf,this[_0x3206aa(0x10d)][_0x3206aa(0xfc)]=!![],this['_pawn'][_0x3206aa(0xc3)]();return;}const _0x5181fa=this[_0x3206aa(0x96)]['position'][_0x3206aa(0xd3)](),_0x425d79=this[_0x3206aa(0x96)][_0x3206aa(0x15a)][_0x3206aa(0xd3)]();_0x4ff537&&(_0x4ff537[_0x3206aa(0xa4)](),_0x4ff537[_0x3206aa(0xfc)]=![]);const {position:_0x14bcfa,quaternion:_0x41c3b1}=_0x53fcaf[_0x3206aa(0x106)]();return this[_0x3206aa(0x10d)]=_0x53fcaf,this[_0x3206aa(0x10d)][_0x3206aa(0xfc)]=![],new Promise(_0x1bf647=>{const _0x3fe40e=_0x3206aa,_0x235eb9={'alpha':0x0};this[_0x3fe40e(0x13d)]=gsap['to'](_0x235eb9,{'alpha':0x1,'duration':_0x464304,'ease':_0x3fe40e(0xa3),'onUpdate':()=>{const _0x45a7c3=_0x3fe40e,_0x7f0202=_0x235eb9['alpha'];this[_0x45a7c3(0x96)][_0x45a7c3(0x11f)]['lerpVectors'](_0x5181fa,_0x14bcfa,_0x7f0202),this['camera'][_0x45a7c3(0x15a)]['slerpQuaternions'](_0x425d79,_0x41c3b1,_0x7f0202);},'onComplete':()=>{const _0x5bd1e4=_0x3fe40e;this[_0x5bd1e4(0x13d)]=null,this[_0x5bd1e4(0x10d)]===_0x53fcaf&&(this[_0x5bd1e4(0x10d)][_0x5bd1e4(0xc3)](),this['_pawn']['enabled']=!![]),_0x1bf647();}});});}[_0x50374f(0x95)](_0x2ed90c){const _0x7ed540=_0x50374f;!this[_0x7ed540(0xd8)]['world']&&this[_0x7ed540(0xd8)][_0x7ed540(0x95)](_0x2ed90c);}[_0x50374f(0xa8)](){const _0x32cd3f=_0x50374f;this[_0x32cd3f(0xd0)](),this[_0x32cd3f(0xcb)]();const _0x2ca16f=this[_0x32cd3f(0xbb)]['canvas'];_0x2ca16f&&(_0x2ca16f[_0x32cd3f(0x135)]('pointerenter',this[_0x32cd3f(0xd1)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x14e),this[_0x32cd3f(0x12d)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x136),this[_0x32cd3f(0x100)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x92),this[_0x32cd3f(0x134)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x124),this[_0x32cd3f(0xdb)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0xe2),this[_0x32cd3f(0x13a)]),this[_0x32cd3f(0x11e)]()),document[_0x32cd3f(0x135)](_0x32cd3f(0xff),this[_0x32cd3f(0x93)]),document[_0x32cd3f(0x135)](_0x32cd3f(0x123),this[_0x32cd3f(0xc6)]),document[_0x32cd3f(0x135)](_0x32cd3f(0x12b),this[_0x32cd3f(0xbe)]),window[_0x32cd3f(0x135)](_0x32cd3f(0xe0),this[_0x32cd3f(0xda)]),this[_0x32cd3f(0xd8)][_0x32cd3f(0xa4)](),this[_0x32cd3f(0xd8)][_0x32cd3f(0xa8)](),this['_pawn']=null;}[_0x50374f(0x153)](_0x211aa2){const _0x3aae54=_0x50374f;var _0x4cd1d6,_0x4665f4;this[_0x3aae54(0xeb)][_0x3aae54(0x14f)](_0x211aa2);const _0x52cb9b=this[_0x3aae54(0xbb)][_0x3aae54(0x105)];if(!_0x52cb9b)throw Error(_0x3aae54(0xa2));const _0x10fad7=_0x52cb9b['getBoundingClientRect']();this[_0x3aae54(0x155)][_0x3aae54(0xa0)]((_0x211aa2[_0x3aae54(0x110)]-_0x10fad7[_0x3aae54(0xdd)])/_0x52cb9b[_0x3aae54(0xba)]*0x2-0x1,0x1-(_0x211aa2[_0x3aae54(0x97)]-_0x10fad7[_0x3aae54(0xe5)])/_0x52cb9b['clientHeight']*0x2);if(this['_pointButtonIsDown'][_0x3aae54(0x9e)]>0x0)return;const _0x1967c7=this[_0x3aae54(0xbc)](),_0x17d897=(_0x4cd1d6=_0x1967c7===null||_0x1967c7===void 0?void 0:_0x1967c7[_0x3aae54(0x114)])!==null&&_0x4cd1d6!==void 0?_0x4cd1d6:null,_0x7dd5f3=(_0x4665f4=_0x17d897===null||_0x17d897===void 0?void 0:_0x17d897[_0x3aae54(0x145)])!==null&&_0x4665f4!==void 0?_0x4665f4:null;_0x17d897!==this['hoveringComponent']&&(this[_0x3aae54(0x130)]&&this[_0x3aae54(0xfe)](this['hoveringComponent']),_0x17d897&&_0x1967c7&&this[_0x3aae54(0x158)](_0x17d897,_0x1967c7[_0x3aae54(0xf7)])),_0x7dd5f3!==this[_0x3aae54(0x149)]&&(this[_0x3aae54(0x149)]&&this[_0x3aae54(0x130)]&&this['fireActorHoverEnd'](this[_0x3aae54(0x149)],this[_0x3aae54(0x130)]),_0x7dd5f3&&_0x17d897&&_0x1967c7&&this[_0x3aae54(0x11a)](_0x7dd5f3,_0x17d897,_0x1967c7[_0x3aae54(0xf7)])),this[_0x3aae54(0x130)]=_0x17d897,this[_0x3aae54(0x149)]=_0x7dd5f3;}['clearHovering'](){const _0x3557d2=_0x50374f;this[_0x3557d2(0x130)]&&this[_0x3557d2(0xfe)](this[_0x3557d2(0x130)]),this['hoveringActor']&&this[_0x3557d2(0x130)]&&this['fireActorHoverEnd'](this[_0x3557d2(0x149)],this['hoveringComponent']),this['hoveringComponent']=null,this['hoveringActor']=null;}['onPointerUpEvent'](_0x4a0f2a){const _0x4e6efd=_0x50374f;this[_0x4e6efd(0x115)][_0x4e6efd(0x14f)](_0x4a0f2a),this[_0x4e6efd(0xa5)][_0x4e6efd(0xee)](_0x4a0f2a[_0x4e6efd(0x9d)]);if(_0x4a0f2a[_0x4e6efd(0x9d)]!==0x0)return;const _0x3e2c23=this[_0x4e6efd(0x104)][_0x4e6efd(0x10c)](this[_0x4e6efd(0xef)],this['pointerPosition'])['length']();if(_0x3e2c23>0.005){this[_0x4e6efd(0xd0)]();return;}this[_0x4e6efd(0x140)]={'ctrlKey':_0x4a0f2a['ctrlKey'],'shiftKey':_0x4a0f2a['shiftKey'],'altKey':_0x4a0f2a[_0x4e6efd(0x12a)]},!this[_0x4e6efd(0xfb)]?this[_0x4e6efd(0x126)]():this[_0x4e6efd(0xc2)]();}[_0x50374f(0x126)](){const _0x54c9cd=_0x50374f,_0x195343=this[_0x54c9cd(0xbc)](),_0x2b14b2=_0x195343===null||_0x195343===void 0?void 0:_0x195343[_0x54c9cd(0x114)];_0x2b14b2 instanceof SceneComponent&&_0x195343?(this['prepareClickComponent']=_0x2b14b2,this['prepareClickHit']=_0x195343[_0x54c9cd(0xf7)],this['leftClickTimer']=window[_0x54c9cd(0xb1)](()=>{const _0xccd82=_0x54c9cd;this[_0xccd82(0xfb)]=null,this[_0xccd82(0xe8)]&&this['prepareClickHit']&&(this[_0xccd82(0xfa)](this['prepareClickComponent'],this['prepareClickHit'],![]),this[_0xccd82(0xe8)]=null,this[_0xccd82(0x103)]=null);},this[_0x54c9cd(0x141)])):this[_0x54c9cd(0x98)][_0x54c9cd(0x14f)]();}[_0x50374f(0xc2)](){const _0x4dbbcc=_0x50374f;this['clearClickTimer'](),this[_0x4dbbcc(0xe8)]&&this[_0x4dbbcc(0x103)]?this[_0x4dbbcc(0xfa)](this['prepareClickComponent'],this[_0x4dbbcc(0x103)],!![]):this[_0x4dbbcc(0x98)]['broadcast'](),this[_0x4dbbcc(0xe8)]=null,this['prepareClickHit']=null;}['onPointerDownEvent'](_0x117632){const _0x1d1a55=_0x50374f;this[_0x1d1a55(0xdf)][_0x1d1a55(0x14f)](_0x117632),this[_0x1d1a55(0xa5)][_0x1d1a55(0xbd)](_0x117632['button']);_0x117632[_0x1d1a55(0x9d)]===0x0&&this['pointerLeftDownPosition'][_0x1d1a55(0x119)](this[_0x1d1a55(0x155)]);const _0x7c0fcc=this[_0x1d1a55(0xbc)](),_0x5c943f=_0x7c0fcc===null||_0x7c0fcc===void 0?void 0:_0x7c0fcc[_0x1d1a55(0x114)];_0x5c943f instanceof SceneComponent&&_0x7c0fcc&&this[_0x1d1a55(0x147)](_0x5c943f,_0x7c0fcc['hit'],_0x117632[_0x1d1a55(0x9d)]);}['onPointerEnterEvent'](_0xcc03c2){const _0x56d0dd=_0x50374f;this[_0x56d0dd(0x14a)]();}[_0x50374f(0x14b)](_0x4e446f){this['removeCorePointerListeners']();}[_0x50374f(0xc7)](_0x1ee8cc){const _0x42e094=_0x50374f;this[_0x42e094(0xa6)][_0x42e094(0x14f)](_0x1ee8cc);}[_0x50374f(0x10a)](_0xbccee9){const _0x2f3952=_0x50374f;this['_onWheelDelegate'][_0x2f3952(0x14f)](_0xbccee9);}[_0x50374f(0xac)](_0x2414dc){const _0x5aa345=_0x50374f;this[_0x5aa345(0xc9)][_0x5aa345(0x14f)](_0x2414dc);}['onKeyUpEvent'](_0x54c92b){const _0x2418ba=_0x50374f;this['_onKeyUpDelegate'][_0x2418ba(0x14f)](_0x54c92b);}[_0x50374f(0xdc)](_0x1e6ec6){const _0x255539=_0x50374f;this[_0x255539(0x111)]['broadcast'](_0x1e6ec6);}[_0x50374f(0x101)](_0xcdd3d5){const _0x11d063=_0x50374f;this[_0x11d063(0xd5)]['broadcast'](_0xcdd3d5);}[_0x50374f(0xb7)](_0x7a6662){const _0x5260d0=_0x50374f;this[_0x5260d0(0x143)][_0x5260d0(0x14f)](_0x7a6662);}[_0x50374f(0xd2)](_0x36200b){const _0x561a5d=_0x50374f;this[_0x561a5d(0x15c)][_0x561a5d(0x14f)](_0x36200b);}[_0x50374f(0x158)](_0xea677d,_0x21af6f){const _0xc211c6=_0x50374f,_0x33e1c0={'component':_0xea677d,'hit':_0x21af6f,'handled':![]};this[_0xc211c6(0xa1)][_0xc211c6(0x14f)](_0x33e1c0),!_0x33e1c0[_0xc211c6(0xb4)]&&_0xea677d[_0xc211c6(0xe3)]();}[_0x50374f(0xfe)](_0x495dba){const _0x29c28f=_0x50374f,_0x58f496={'component':_0x495dba,'hit':null,'handled':![]};this[_0x29c28f(0xb8)][_0x29c28f(0x14f)](_0x58f496),!_0x58f496[_0x29c28f(0xb4)]&&_0x495dba[_0x29c28f(0x15b)]();}[_0x50374f(0x9a)](_0x5d7108,_0x4f2803,_0x4d1e1a){const _0x39dbfb=_0x50374f,_0xea861b=Object['assign']({'component':_0x5d7108,'hit':_0x4f2803,'handled':![]},this[_0x39dbfb(0x140)]);_0x4d1e1a?(this[_0x39dbfb(0xbf)][_0x39dbfb(0x14f)](_0xea861b),!_0xea861b[_0x39dbfb(0xb4)]&&_0x5d7108['onDoubleClicked']()):(this['_onComponentClickDelegate'][_0x39dbfb(0x14f)](_0xea861b),!_0xea861b[_0x39dbfb(0xb4)]&&_0x5d7108[_0x39dbfb(0xb5)]());}['firePointerDownEvent'](_0xcf9796,_0xe54dcc,_0x28cfc8){const _0x2a1bbd=_0x50374f,_0x53e1da={'component':_0xcf9796,'hit':_0xe54dcc,'button':_0x28cfc8,'handled':![]};this[_0x2a1bbd(0xb3)][_0x2a1bbd(0x14f)](_0x53e1da);}[_0x50374f(0x11a)](_0xa0c191,_0x11299f,_0x159467){const _0x53ea9c=_0x50374f,_0x3f513e={'actor':_0xa0c191,'component':_0x11299f,'hit':_0x159467,'handled':![]};this[_0x53ea9c(0xd6)][_0x53ea9c(0x14f)](_0x3f513e),!_0x3f513e['handled']&&_0xa0c191['onActorHoverBegin'](_0x11299f);}[_0x50374f(0x157)](_0x6b1b2,_0x3038af){const _0x303e5a=_0x50374f,_0x1d2c59={'actor':_0x6b1b2,'component':_0x3038af,'hit':null,'handled':![]};this['_onActorHoverEndDelegate']['broadcast'](_0x1d2c59),!_0x1d2c59[_0x303e5a(0xb4)]&&_0x6b1b2[_0x303e5a(0xa7)](_0x3038af);}[_0x50374f(0x128)](_0x263516,_0x17da8a,_0x3e4477,_0x2eeb03){const _0x4078e3=_0x50374f,_0x48c492=Object[_0x4078e3(0x150)]({'actor':_0x263516,'component':_0x17da8a,'hit':_0x3e4477,'handled':![]},this['prepareClickModifiers']);_0x2eeb03?(this[_0x4078e3(0x137)][_0x4078e3(0x14f)](_0x48c492),!_0x48c492[_0x4078e3(0xb4)]&&_0x263516[_0x4078e3(0xde)](_0x17da8a)):(this[_0x4078e3(0xed)][_0x4078e3(0x14f)](_0x48c492),!_0x48c492[_0x4078e3(0xb4)]&&_0x263516[_0x4078e3(0xf9)](_0x17da8a));}[_0x50374f(0xfa)](_0x23b6aa,_0x47fadc,_0x190661){const _0x5c06d6=_0x50374f;this[_0x5c06d6(0x9a)](_0x23b6aa,_0x47fadc,_0x190661);const _0xe8f092=_0x23b6aa[_0x5c06d6(0x145)];if(_0xe8f092){if(_0xe8f092[_0x5c06d6(0xf1)])this['fireActorClick'](_0xe8f092,_0x23b6aa,_0x47fadc,_0x190661);}}[_0x50374f(0xd0)](){const _0x26c2fc=_0x50374f;this[_0x26c2fc(0xfb)]&&(window[_0x26c2fc(0x11c)](this[_0x26c2fc(0xfb)]),this[_0x26c2fc(0xfb)]=null);}['addCorePointerListeners'](){const _0x2bac7c=_0x50374f,_0x5dabdd=this[_0x2bac7c(0xbb)]['canvas'];if(!_0x5dabdd)return;_0x5dabdd[_0x2bac7c(0x117)](_0x2bac7c(0xa9),this[_0x2bac7c(0x133)]),_0x5dabdd[_0x2bac7c(0x117)](_0x2bac7c(0xd7),this[_0x2bac7c(0xaf)]),_0x5dabdd[_0x2bac7c(0x117)](_0x2bac7c(0xc1),this[_0x2bac7c(0xae)]);}[_0x50374f(0x11e)](){const _0x3774fb=_0x50374f,_0x15078f=this[_0x3774fb(0xbb)]['canvas'];if(!_0x15078f)return;_0x15078f[_0x3774fb(0x135)](_0x3774fb(0xa9),this['onPointerMove']),_0x15078f[_0x3774fb(0x135)](_0x3774fb(0xd7),this[_0x3774fb(0xaf)]),_0x15078f[_0x3774fb(0x135)](_0x3774fb(0xc1),this[_0x3774fb(0xae)]);}[_0x50374f(0xbc)](_0x22965=!![]){const _0xff8bd5=_0x50374f;return this[_0xff8bd5(0x94)](this[_0xff8bd5(0x155)]['x'],this[_0xff8bd5(0x155)]['y'],_0x22965);}[_0x50374f(0x94)](_0x5ea373,_0x5b0dd3,_0x3d3aeb=!![]){const _0x3f1243=_0x50374f;this[_0x3f1243(0x109)]['set'](_0x5ea373,_0x5b0dd3),this[_0x3f1243(0x112)][_0x3f1243(0x99)](this['_raycastVec2'],this['camera']);const _0x2ad3ef=this[_0x3f1243(0x13b)](_0x5ea373,_0x5b0dd3);if(!_0x3d3aeb)return _0x2ad3ef[0x0]||null;for(const _0x441e86 of _0x2ad3ef){const _0x23e238=_0x441e86['component'][_0x3f1243(0xe7)]||_0x441e86[_0x3f1243(0x114)]['isClickEnabled'],_0x170b90=_0x441e86[_0x3f1243(0x114)][_0x3f1243(0x145)],_0x16aa05=_0x170b90&&(_0x170b90[_0x3f1243(0xe7)]||_0x170b90[_0x3f1243(0xf1)]);if(_0x23e238||_0x16aa05)return _0x441e86;}return null;}['getAllHitResultUnderCursor'](_0x115b4a=!![]){const _0x79a4cf=_0x50374f;return this[_0x79a4cf(0x13b)](this[_0x79a4cf(0x155)]['x'],this[_0x79a4cf(0x155)]['y']);}[_0x50374f(0x13b)](_0x4e7bf9,_0x41567c){const _0x551f48=_0x50374f;this[_0x551f48(0x109)][_0x551f48(0xa0)](_0x4e7bf9,_0x41567c),this[_0x551f48(0x112)][_0x551f48(0x99)](this[_0x551f48(0x109)],this['camera']);const _0x52f71c=this[_0x551f48(0x112)][_0x551f48(0xf8)][_0x551f48(0xec)],_0x42839d=this[_0x551f48(0x112)][_0x551f48(0xf8)]['at'](0x2710,new Vector3()),_0x9c6c51=this[_0x551f48(0xca)][_0x551f48(0x107)][_0x551f48(0xea)](_0x52f71c,_0x42839d,CollisionChannel['Visibility']),_0x4e3f45=[];for(const _0x3cb4f3 of _0x9c6c51){if(!_0x3cb4f3[_0x551f48(0xb2)]||!_0x3cb4f3[_0x551f48(0xb2)][_0x551f48(0x152)])continue;if(this[_0x551f48(0x96)]instanceof PerspectiveCamera&&_0x3cb4f3[_0x551f48(0x102)]<this[_0x551f48(0x96)][_0x551f48(0xcd)])continue;const _0x52a347={'distance':_0x3cb4f3[_0x551f48(0x102)],'point':_0x3cb4f3[_0x551f48(0xc5)],'object':_0x3cb4f3[_0x551f48(0xb2)][_0x551f48(0x152)],'uv':new Vector2$1(0x0,0x0)};_0x4e3f45[_0x551f48(0x121)]({'component':_0x3cb4f3[_0x551f48(0xb2)],'hit':_0x52a347});if(_0x3cb4f3[_0x551f48(0x13c)])break;}return _0x4e3f45;}[_0x50374f(0xad)](_0x5e2ba4,_0x3f9a3a,_0x377c2c,_0x2c8ed0,_0x164066=null,_0x1ea48e=null){const _0x5c27bf=_0x50374f;this[_0x5c27bf(0xd8)][_0x5c27bf(0xad)](_0x5e2ba4,_0x3f9a3a,_0x377c2c,_0x2c8ed0,_0x164066,_0x1ea48e);}[_0x50374f(0xf5)](_0x36aa26,_0x13956a,_0x34eb70={}){const _0x1e35ca=_0x50374f,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math[_0x1e35ca(0x14c)](0.5)}=_0x34eb70,_0x223ce4=new Vector3(),_0x455619=new Vector3();_0x36aa26['getCenter'](_0x223ce4),_0x36aa26[_0x1e35ca(0x138)](_0x455619);const _0x412a4d=this[_0x1e35ca(0x148)][_0x1e35ca(0x96)];if(_0x412a4d&&_0x412a4d[_0x1e35ca(0xfd)]){const _0x48044f=_0x412a4d[_0x1e35ca(0x154)]*(Math['PI']/0xb4),_0x81d230=_0x455619[_0x1e35ca(0x132)]()*0.5,_0x36f1ec=Math[_0x1e35ca(0x12f)](_0x81d230/targetScreenRatio/Math[_0x1e35ca(0x11d)](_0x48044f/0x2),_0x412a4d[_0x1e35ca(0xcd)]*0x2);let _0x5e9aa8=_0x412a4d['quaternion'][_0x1e35ca(0xd3)]();if(computeOptimalQuat){const _0x59b7be=[new Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,'YXZ'),new Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,'YXZ'),new Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,'YXZ'),new Euler(-Math['PI']/0x6,0x0,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,'YXZ'),new Euler(-Math['PI']/0x4,0x0,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x2,0x0,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x3,0x0,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,'YXZ'),new Euler(-Math['PI']/0x3,Math['PI'],0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,_0x1e35ca(0xab))];let _0x5ced2c=-1;for(const _0x832447 of _0x59b7be){const _0x5ad164=new Quaternion()[_0x1e35ca(0x129)](_0x832447),_0x2dd1df=new Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x5ad164),_0x34e9e5=_0x223ce4[_0x1e35ca(0xd3)]()[_0x1e35ca(0xbd)](_0x2dd1df[_0x1e35ca(0x14d)](_0x36f1ec)),_0x2ad18e=this[_0x1e35ca(0xca)]['physics'][_0x1e35ca(0x139)](_0x34e9e5,_0x223ce4,CollisionChannel[_0x1e35ca(0xf6)]);let _0x4c47aa=![],_0x4b89cd=_0x36f1ec;_0x2ad18e&&_0x2ad18e[_0x1e35ca(0x13c)]&&(_0x2ad18e[_0x1e35ca(0x102)]<_0x36f1ec-_0x81d230*1.2&&(_0x4c47aa=!![],_0x4b89cd=_0x2ad18e[_0x1e35ca(0x102)]));if(!_0x4c47aa){_0x5e9aa8=_0x5ad164;break;}else _0x4b89cd>_0x5ced2c&&(_0x5ced2c=_0x4b89cd,_0x5e9aa8=_0x5ad164);}}const _0x5f3cc3=_0x5e9aa8;this[_0x1e35ca(0xad)](_0x223ce4,_0x5f3cc3,_0x36f1ec,_0x13956a,onGoing,onFinished);}else {const _0x5c7d07=_0x455619['length']()*1.5,_0x1bb9f5=new Quaternion()[_0x1e35ca(0x10f)](new Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this['focusTo'](_0x223ce4,_0x1bb9f5,_0x5c7d07,_0x13956a,onGoing,onFinished);}}[_0x50374f(0x146)](_0x266b08,_0x3b9b6b,_0x216332={}){const _0x124b6e=_0x50374f,_0x32b27b=new Box3()[_0x124b6e(0x12e)](_0x266b08);this[_0x124b6e(0xf5)](_0x32b27b,_0x3b9b6b,_0x216332);}}
|
|
90
|
+
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 Vector2$1(),this[_0x4c79c9(0xdf)]=new Vector2$1(),this[_0x4c79c9(0x167)]=new Vector2$1(),this['_raycastVec2']=new Vector2$1(),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 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['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 Vector3()),_0x18f0ad=this[_0x519ba4(0x106)][_0x519ba4(0x129)][_0x519ba4(0x137)](_0x18f7f0,_0x454fdd,CollisionChannel['Visibility']),_0x2605e3=[];for(const _0x265cc1 of _0x18f0ad){if(!_0x265cc1[_0x519ba4(0x13d)]||!_0x265cc1['collider'][_0x519ba4(0x11b)])continue;if(this[_0x519ba4(0x18c)]instanceof 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 Vector2$1(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 Vector3(),_0x5bca7f=new 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 Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,'YXZ'),new Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new Euler(-Math['PI']/0x6,0x0,0x0,'YXZ'),new Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x45e3cf(0x178)),new Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,_0x45e3cf(0x178)),new Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,'YXZ'),new Euler(-Math['PI']/0x4,0x0,0x0,_0x45e3cf(0x178)),new Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x45e3cf(0x178)),new Euler(-Math['PI']/0x2,0x0,0x0,_0x45e3cf(0x178)),new Euler(-Math['PI']/0x3,0x0,0x0,_0x45e3cf(0x178)),new Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new Euler(-Math['PI']/0x3,Math['PI'],0x0,_0x45e3cf(0x178)),new Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,'YXZ')];let _0x1a9e72=-1;for(const _0xa86d68 of _0x5f0fa0){const _0x497232=new Quaternion()[_0x45e3cf(0x10a)](_0xa86d68),_0x4637d5=new Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x497232),_0x51c9fc=_0x903444[_0x45e3cf(0x14f)]()[_0x45e3cf(0x116)](_0x4637d5[_0x45e3cf(0x198)](_0xa488d7)),_0x4823ec=this['world']['physics'][_0x45e3cf(0xd6)](_0x51c9fc,_0x903444,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 Quaternion()[_0x45e3cf(0x154)](new 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 Box3()[_0x111487(0x17f)](_0x5e96df);this[_0x111487(0x10b)](_0x5a1b39,_0x51072b,_0x113f46);}}
|
|
91
91
|
|
|
92
|
-
const
|
|
92
|
+
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 PerspectiveCamera(_0x19def9[_0x400b73(0xbd)],_0x19def9[_0x400b73(0xc2)],_0x19def9[_0x400b73(0xc4)],_0x19def9[_0x400b73(0xb4)]);}case 'Orthographic':{let _0x564f65=_0x406353;return new 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 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 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 PerspectiveCamera(_0x4b60fb[_0x224ab2(0xbd)],_0x4b60fb['aspect'],_0x4b60fb['near'],_0x4b60fb[_0x224ab2(0xb4)]);}case _0x224ab2(0xbb):{let _0x3b5586=_0x52f2de;if(_0xba594c instanceof 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 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();}
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
function _0x5209(_0x1e44f2,_0x23c79b){_0x1e44f2=_0x1e44f2-0x1b4;const _0x3e48a9=_0x3e48();let _0x520999=_0x3e48a9[_0x1e44f2];return _0x520999;}const _0x1755cf=_0x5209;(function(_0x327e6e,_0x31f2d1){const _0x5070e0=_0x5209,_0x500974=_0x327e6e();while(!![]){try{const _0x185fc5=-parseInt(_0x5070e0(0x1bc))/0x1+parseInt(_0x5070e0(0x1bd))/0x2*(-parseInt(_0x5070e0(0x1b6))/0x3)+-parseInt(_0x5070e0(0x1b4))/0x4*(parseInt(_0x5070e0(0x1b5))/0x5)+parseInt(_0x5070e0(0x1b7))/0x6*(-parseInt(_0x5070e0(0x1b8))/0x7)+-parseInt(_0x5070e0(0x1bf))/0x8*(parseInt(_0x5070e0(0x1be))/0x9)+parseInt(_0x5070e0(0x1b9))/0xa+parseInt(_0x5070e0(0x1c1))/0xb;if(_0x185fc5===_0x31f2d1)break;else _0x500974['push'](_0x500974['shift']());}catch(_0x7a8633){_0x500974['push'](_0x500974['shift']());}}}(_0x3e48,0x929f4));const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x1755cf(0x1bb),'fov':0x32,'aspect':0x1};function _0x3e48(){const _0x5036af=['4juKGuR','3451290UegSar','84165hPlSmV','668574UWRPIN','49bvDOhz','8367200mhczKM','Orthographic','Perspective','267881zmRpQA','6knxQna','243ChyUOf','311352ewAHoI','stringify','29006604jqgCQz'];_0x3e48=function(){return _0x5036af;};return _0x3e48();}const DefaultOrthographicCameraParam={'type':_0x1755cf(0x1ba),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON['parse'](JSON[_0x1755cf(0x1c0)](DefaultPerspectiveCameraParam));
|
|
95
95
|
|
|
96
|
-
(function(
|
|
96
|
+
(function(_0x368ab3,_0x5473c7){const _0x580a9b=_0x342c,_0x591acf=_0x368ab3();while(!![]){try{const _0x259f68=parseInt(_0x580a9b(0x1d8))/0x1+-parseInt(_0x580a9b(0x1dc))/0x2+-parseInt(_0x580a9b(0x1d9))/0x3*(-parseInt(_0x580a9b(0x1db))/0x4)+parseInt(_0x580a9b(0x1d5))/0x5*(-parseInt(_0x580a9b(0x1d6))/0x6)+parseInt(_0x580a9b(0x1dd))/0x7*(parseInt(_0x580a9b(0x1d7))/0x8)+-parseInt(_0x580a9b(0x1df))/0x9+parseInt(_0x580a9b(0x1de))/0xa*(parseInt(_0x580a9b(0x1da))/0xb);if(_0x259f68===_0x5473c7)break;else _0x591acf['push'](_0x591acf['shift']());}catch(_0x3491e6){_0x591acf['push'](_0x591acf['shift']());}}}(_0x40e3,0x9dae8));function _0x40e3(){const _0x176582=['483426YDyMiZ','184sfIpVO','17949XUxWIA','90sqesFK','12991eafhKA','112036BQYTOU','1459944JUlRGy','246701nwNNcc','9580XfjfNo','6293079GBxEvR','45IBejsJ'];_0x40e3=function(){return _0x176582;};return _0x40e3();}function _0x342c(_0x2223c2,_0x1049b6){_0x2223c2=_0x2223c2-0x1d5;const _0x40e354=_0x40e3();let _0x342c67=_0x40e354[_0x2223c2];return _0x342c67;}const DefaultAppParam={'dracoPath':'','cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
97
97
|
|
|
98
|
-
const
|
|
98
|
+
const _0x1dfc23=_0x4a39;function _0x4a39(_0x4fd15b,_0x4cd4d3){_0x4fd15b=_0x4fd15b-0x1dc;const _0x5dc2db=_0x5dc2();let _0x4a3967=_0x5dc2db[_0x4fd15b];return _0x4a3967;}function _0x5dc2(){const _0x2e3e51=['45fvnQar','isTexture','source','has','isScene','add','keys','1118385XuheaQ','148071ByglPW','disposeMaterialTextures','1537260bOlpyB','347157TmXvGr','material','2NyPYEu','disposeMeshResource','4PSDoCF','object','forEach','1016900wtctzo','dispose','isBufferGeometry','children','394504UxiMwZ','377776VvnZJE','geometry','isArray'];_0x5dc2=function(){return _0x2e3e51;};return _0x5dc2();}(function(_0x3e6903,_0x2e04e1){const _0x11c91c=_0x4a39,_0x2b4e32=_0x3e6903();while(!![]){try{const _0x2068bc=parseInt(_0x11c91c(0x1e1))/0x1+-parseInt(_0x11c91c(0x1e6))/0x2*(-parseInt(_0x11c91c(0x1e4))/0x3)+parseInt(_0x11c91c(0x1e8))/0x4*(parseInt(_0x11c91c(0x1e0))/0x5)+-parseInt(_0x11c91c(0x1e3))/0x6+parseInt(_0x11c91c(0x1f0))/0x7+-parseInt(_0x11c91c(0x1ef))/0x8*(parseInt(_0x11c91c(0x1f3))/0x9)+parseInt(_0x11c91c(0x1eb))/0xa;if(_0x2068bc===_0x2e04e1)break;else _0x2b4e32['push'](_0x2b4e32['shift']());}catch(_0x37d101){_0x2b4e32['push'](_0x2b4e32['shift']());}}}(_0x5dc2,0x2243e));class ThreeObjectLibrary{static[_0x1dfc23(0x1e2)](_0x24c45d){const _0x16a04c=_0x1dfc23,_0x8b649b=new Set(),_0x20752c=new Set(['parent',_0x16a04c(0x1ee),_0x16a04c(0x1f1),_0x16a04c(0x1f5)]),_0x2411fc=_0x567bc6=>{const _0x47323f=_0x16a04c;if(!_0x567bc6||typeof _0x567bc6!==_0x47323f(0x1e9)||_0x8b649b[_0x47323f(0x1dc)](_0x567bc6))return;if(_0x567bc6['isObject3D']||_0x567bc6[_0x47323f(0x1dd)]||_0x567bc6['isMesh']||_0x567bc6[_0x47323f(0x1ed)])return;_0x8b649b[_0x47323f(0x1de)](_0x567bc6);if(_0x47323f(0x1f4)in _0x567bc6){_0x567bc6[_0x47323f(0x1ec)]();return;}Object[_0x47323f(0x1df)](_0x567bc6)['forEach'](_0xb5317e=>{const _0x264fc2=_0x47323f;if(_0x20752c[_0x264fc2(0x1dc)](_0xb5317e))return;_0x2411fc(_0x567bc6[_0xb5317e]);});};Object['keys'](_0x24c45d)['forEach'](_0x3bced1=>{_0x2411fc(_0x24c45d[_0x3bced1]);});}static['disposeMeshMaterial'](_0x1c6bc9){const _0x54d464=_0x1dfc23;let _0x3763b7=Array[_0x54d464(0x1f2)](_0x1c6bc9[_0x54d464(0x1e5)])?_0x1c6bc9['material']:[_0x1c6bc9[_0x54d464(0x1e5)]];_0x3763b7[_0x54d464(0x1ea)](_0x265923=>{const _0x3f1e9c=_0x54d464;ThreeObjectLibrary[_0x3f1e9c(0x1e2)](_0x265923),_0x265923['dispose']();});}static[_0x1dfc23(0x1e7)](_0x99c3bc,_0x443660=![]){const _0x2d4236=_0x1dfc23;ThreeObjectLibrary['disposeMeshMaterial'](_0x99c3bc),_0x99c3bc[_0x2d4236(0x1f1)][_0x2d4236(0x1ec)](),_0x443660&&_0x99c3bc[_0x2d4236(0x1ee)][_0x2d4236(0x1ea)](_0x454868=>{const _0x93a112=_0x2d4236;_0x454868 instanceof Mesh&&ThreeObjectLibrary[_0x93a112(0x1e7)](_0x454868,!![]);});}static['disposeObject3DResource'](_0xd5ff9f){_0xd5ff9f['traverse'](_0x255869=>{_0x255869 instanceof Mesh&&ThreeObjectLibrary['disposeMeshResource'](_0x255869);});}}
|
|
99
99
|
|
|
100
|
-
var
|
|
100
|
+
var _0x3fd700=_0x58d8;(function(_0x25fdfd,_0x5b64e6){var _0x27b84b=_0x58d8,_0x47e62e=_0x25fdfd();while(!![]){try{var _0x48522d=-parseInt(_0x27b84b(0x91))/0x1*(-parseInt(_0x27b84b(0x92))/0x2)+parseInt(_0x27b84b(0x8d))/0x3*(parseInt(_0x27b84b(0x94))/0x4)+parseInt(_0x27b84b(0x90))/0x5+-parseInt(_0x27b84b(0x8c))/0x6*(-parseInt(_0x27b84b(0x89))/0x7)+-parseInt(_0x27b84b(0x96))/0x8*(parseInt(_0x27b84b(0x95))/0x9)+parseInt(_0x27b84b(0x8f))/0xa+-parseInt(_0x27b84b(0x8b))/0xb*(parseInt(_0x27b84b(0x98))/0xc);if(_0x48522d===_0x5b64e6)break;else _0x47e62e['push'](_0x47e62e['shift']());}catch(_0x50c208){_0x47e62e['push'](_0x47e62e['shift']());}}}(_0x340e,0x5606f));function _0x58d8(_0x176d87,_0x5d2a9d){_0x176d87=_0x176d87-0x89;var _0x340ec3=_0x340e();var _0x58d83b=_0x340ec3[_0x176d87];return _0x58d83b;}function _0x340e(){var _0x39d1f9=['11KWkUBb','3858ksvQbK','846HshSzz','three\x20object\x20is\x20invalid','406560vcRxgC','906430GIXZaV','4HvbAUq','37468aQStmL','LYObject','9584HhPCQF','139014qclttM','72oOSXmD','threeObject','7502412FwXVyR','1568zerwAu','obj'];_0x340e=function(){return _0x39d1f9;};return _0x340e();}class LevelComponent extends SceneComponent{get[_0x3fd700(0x97)](){var _0x28f734=_0x3fd700;if(!this[_0x28f734(0x8a)])throw Error(_0x28f734(0x8e));return this[_0x28f734(0x8a)];}set[_0x3fd700(0x97)](_0x29465b){var _0x12ddef=_0x3fd700;this[_0x12ddef(0x8a)]=_0x29465b,this[_0x12ddef(0x8a)]&&(this['obj']['userData'][_0x12ddef(0x93)]=this);}constructor(_0x153137,_0xbe11f8){super(_0x153137,_0xbe11f8);}['createDefaultObject'](){return new Scene();}}
|
|
101
101
|
|
|
102
|
-
var
|
|
102
|
+
var _0x23fcdc=_0xac17;(function(_0x15659c,_0x364110){var _0x19c58c=_0xac17,_0x4132c4=_0x15659c();while(!![]){try{var _0x5bdb8c=parseInt(_0x19c58c(0x164))/0x1*(parseInt(_0x19c58c(0x154))/0x2)+-parseInt(_0x19c58c(0x151))/0x3*(parseInt(_0x19c58c(0x14f))/0x4)+parseInt(_0x19c58c(0x157))/0x5+parseInt(_0x19c58c(0x14d))/0x6+parseInt(_0x19c58c(0x15b))/0x7*(-parseInt(_0x19c58c(0x156))/0x8)+-parseInt(_0x19c58c(0x15c))/0x9*(-parseInt(_0x19c58c(0x14e))/0xa)+parseInt(_0x19c58c(0x153))/0xb*(parseInt(_0x19c58c(0x162))/0xc);if(_0x5bdb8c===_0x364110)break;else _0x4132c4['push'](_0x4132c4['shift']());}catch(_0x2fe40b){_0x4132c4['push'](_0x4132c4['shift']());}}}(_0x2071,0xa498c));function _0x2071(){var _0x47a0d5=['1698474SyqTyJ','destroy','517FOXIGZ','14LswgAw','clearLevel','65368qKVaLA','2096480zWIWcX','isTickEnabled','scene\x20is\x20null','traverse','994wzXjUM','1674wKsjwl','uuid','tick','_scene','threeObject','constructRootComponent','134448IroKWH','rootComponent','167653uIpcBx','childActors','scene','1310946IsbmLU','3370LzfEBU','4scRQbZ','forEach'];_0x2071=function(){return _0x47a0d5;};return _0x2071();}function _0xac17(_0x25ac7,_0x3fd203){_0x25ac7=_0x25ac7-0x14d;var _0x207163=_0x2071();var _0xac17f=_0x207163[_0x25ac7];return _0xac17f;}class LevelActor extends Actor{get[_0x23fcdc(0x166)](){var _0x595db1=_0x23fcdc;if(!this[_0x595db1(0x15f)])throw new Error(_0x595db1(0x159));return this[_0x595db1(0x15f)];}constructor(_0x16616f,_0x107e11){var _0x2f923f=_0x23fcdc;super(_0x16616f,_0x107e11),this[_0x2f923f(0x15f)]=null,this[_0x2f923f(0x15f)]=this[_0x2f923f(0x163)][_0x2f923f(0x160)],this[_0x2f923f(0x158)]=![];}[_0x23fcdc(0x161)](){var _0x5986a7=_0x23fcdc;return new LevelComponent(this['app'],this[_0x5986a7(0x15d)]);}[_0x23fcdc(0x15e)](_0x1e6308){var _0x31e215=_0x23fcdc;if(!this[_0x31e215(0x158)])return;super[_0x31e215(0x15e)](_0x1e6308);}[_0x23fcdc(0x152)](){var _0x5d7c73=_0x23fcdc;this[_0x5d7c73(0x155)](),super[_0x5d7c73(0x152)]();}[_0x23fcdc(0x155)](){var _0x1a7ba1=_0x23fcdc;this[_0x1a7ba1(0x165)][_0x1a7ba1(0x150)](_0x48e837=>{_0x48e837['destroy']();}),this['scene'][_0x1a7ba1(0x15a)](_0x3dac7a=>{_0x3dac7a instanceof Mesh&&ThreeObjectLibrary['disposeMeshResource'](_0x3dac7a);});}}
|
|
103
103
|
|
|
104
|
-
(function(
|
|
104
|
+
function _0x1fa9(_0x56dc06,_0x58733a){_0x56dc06=_0x56dc06-0x133;const _0x2731fc=_0x2731();let _0x1fa995=_0x2731fc[_0x56dc06];return _0x1fa995;}(function(_0x40a630,_0x437aa1){const _0x4c8c3b=_0x1fa9,_0x3fff22=_0x40a630();while(!![]){try{const _0x451305=parseInt(_0x4c8c3b(0x135))/0x1*(-parseInt(_0x4c8c3b(0x133))/0x2)+parseInt(_0x4c8c3b(0x137))/0x3*(-parseInt(_0x4c8c3b(0x13d))/0x4)+-parseInt(_0x4c8c3b(0x134))/0x5+parseInt(_0x4c8c3b(0x136))/0x6*(parseInt(_0x4c8c3b(0x13a))/0x7)+parseInt(_0x4c8c3b(0x139))/0x8*(parseInt(_0x4c8c3b(0x13b))/0x9)+-parseInt(_0x4c8c3b(0x138))/0xa+parseInt(_0x4c8c3b(0x13c))/0xb;if(_0x451305===_0x437aa1)break;else _0x3fff22['push'](_0x3fff22['shift']());}catch(_0x2979f6){_0x3fff22['push'](_0x3fff22['shift']());}}}(_0x2731,0x7b971));function _0x2731(){const _0x24c116=['260001NnquQj','858elVZDo','249Grshcj','1650610XKhCnQ','16LGehVI','29939vssiuk','1709847KoMwde','11425469ZKgVnS','16816sOEmti','2oVVqqY','3750185JeycDa'];_0x2731=function(){return _0x24c116;};return _0x2731();}const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
105
105
|
|
|
106
|
-
const
|
|
106
|
+
const _0x51f8d0=_0x20a1;(function(_0x2ff697,_0xc21b0a){const _0x586381=_0x20a1,_0x1612c5=_0x2ff697();while(!![]){try{const _0x43e3f5=parseInt(_0x586381(0xaa))/0x1+-parseInt(_0x586381(0xc0))/0x2*(-parseInt(_0x586381(0xcd))/0x3)+parseInt(_0x586381(0xba))/0x4*(-parseInt(_0x586381(0xcf))/0x5)+parseInt(_0x586381(0x9c))/0x6*(-parseInt(_0x586381(0xc6))/0x7)+-parseInt(_0x586381(0x9a))/0x8*(-parseInt(_0x586381(0xd0))/0x9)+-parseInt(_0x586381(0x9d))/0xa*(parseInt(_0x586381(0xa6))/0xb)+parseInt(_0x586381(0xd2))/0xc;if(_0x43e3f5===_0xc21b0a)break;else _0x1612c5['push'](_0x1612c5['shift']());}catch(_0xdbb3d6){_0x1612c5['push'](_0x1612c5['shift']());}}}(_0x5bef,0x5e6dd));function _0x5bef(){const _0x371dff=['_onCameraChangedDelegate','viewportClass','cameraParam','then','viewport','142456OpTNyG','init','worldClass','resolve','updateCamera','tick','597398ssvXgS','controller','assetManagerClass','./AssetManagement/AssetManager','splice','AssetManager\x20not\x20initialized\x20yet\x20-\x20await\x20assetManagerReady()\x20first','90685WVcsEl','aspect','world','render','_assetManagerReady','_tickingFunctions','onCameraChangedDelegate','3cetzBp','controllerClass','65nvPszO','9MIAxYc','assetManager','5926224mjcOPN','createCamera','setTickPaused','camera','updateProjectionMatrix','dracoPath','assetManagerReady','_clock','_assetManager','setAnimationLoop','indexOf','4599992WvqwbH','_viewport','240xKLVep','30irRJDt','_controller','update','worldParam','_world','addTickingFunction','_isTickPaused','postConstruct','removeTickingFunction','433554ZlEteo','log','onWindowResize','classes','118655wjKWzX','destroy','renderAsImage','dispose','clock','clear','_camera','AssetManager','broadcast','viewportParam','markRenderStateDirty'];_0x5bef=function(){return _0x371dff;};return _0x5bef();}let _AssetManagerClassPromise=null;function getAssetManagerClassAsync(){const _0x19ed99=_0x20a1;return !_AssetManagerClassPromise&&(_AssetManagerClassPromise=import(_0x19ed99(0xc3))[_0x19ed99(0xb8)](_0x27c8fe=>_0x27c8fe[_0x19ed99(0xb1)])),_AssetManagerClassPromise;}function _0x20a1(_0x233768,_0x6a19eb){_0x233768=_0x233768-0x92;const _0x5befe3=_0x5bef();let _0x20a1db=_0x5befe3[_0x233768];return _0x20a1db;}class ThreeJsApp{get['camera'](){const _0x2cb611=_0x20a1;return this[_0x2cb611(0xb0)];}get[_0x51f8d0(0xae)](){const _0x19d77f=_0x51f8d0;return this[_0x19d77f(0x96)];}get[_0x51f8d0(0xc8)](){const _0x4c2cd8=_0x51f8d0;return this[_0x4c2cd8(0xa1)];}get['viewport'](){const _0x7a01ab=_0x51f8d0;return this[_0x7a01ab(0x9b)];}get[_0x51f8d0(0xc1)](){const _0x53fd40=_0x51f8d0;return this[_0x53fd40(0x9e)];}get[_0x51f8d0(0xd1)](){const _0x11995c=_0x51f8d0;if(!this['_assetManager'])throw new Error(_0x11995c(0xc5));return this['_assetManager'];}get[_0x51f8d0(0x95)](){return this['_assetManagerReady'];}get[_0x51f8d0(0xcc)](){return this['_onCameraChangedDelegate'];}constructor(_0x184942=DefaultAppParam){const _0x87d138=_0x51f8d0;var _0x2c16d0,_0x208a79,_0x321321,_0x4b2486;this[_0x87d138(0xcb)]=[],this[_0x87d138(0xa3)]=![],this[_0x87d138(0xb5)]=new Delegate();const _0x26a41d=(_0x2c16d0=_0x184942[_0x87d138(0xb7)])!==null&&_0x2c16d0!==void 0?_0x2c16d0:DefaultCameraParam,_0x564807=(_0x208a79=_0x184942[_0x87d138(0xa0)])!==null&&_0x208a79!==void 0?_0x208a79:DefaultWorldParam,_0x17af7e=(_0x321321=_0x184942[_0x87d138(0xb3)])!==null&&_0x321321!==void 0?_0x321321:DefaultViewportParam,_0x3e4217=(_0x4b2486=_0x184942[_0x87d138(0xa9)])!==null&&_0x4b2486!==void 0?_0x4b2486:{'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport};this['_clock']=new Timer(),this['_camera']=CameraFactory[_0x87d138(0xd3)](_0x26a41d),this['_world']=new _0x3e4217[(_0x87d138(0xbc))](this,_0x564807),this['_viewport']=new _0x3e4217[(_0x87d138(0xb6))](this,_0x17af7e),this[_0x87d138(0x9e)]=new _0x3e4217[(_0x87d138(0xce))](this),_0x3e4217[_0x87d138(0xc2)]?(this[_0x87d138(0x97)]=new _0x3e4217[(_0x87d138(0xc2))](this,_0x184942[_0x87d138(0x94)]),this[_0x87d138(0xca)]=Promise[_0x87d138(0xbd)]()):this[_0x87d138(0xca)]=getAssetManagerClassAsync()[_0x87d138(0xb8)](_0x3bf43c=>{this['_assetManager']=new _0x3bf43c(this,_0x184942['dracoPath']);}),this[_0x87d138(0xb9)]['renderer'][_0x87d138(0x98)](()=>{const _0x55c071=_0x87d138;this[_0x55c071(0x96)][_0x55c071(0x9f)]();const _0x16211b=this['_clock']['getDelta']();this[_0x55c071(0xbf)](_0x16211b);}),this[_0x87d138(0xa4)]();}[_0x51f8d0(0xa4)](){const _0x11d275=_0x51f8d0;this[_0x11d275(0xc1)][_0x11d275(0xbb)](),this[_0x11d275(0xc8)][_0x11d275(0xbb)](),this[_0x11d275(0xb9)][_0x11d275(0xbb)]();}['init'](){}['tick'](_0x5dc7ba){const _0x2003a8=_0x51f8d0;if(this['_isTickPaused'])return;this[_0x2003a8(0x9e)]['tick'](_0x5dc7ba),this['world'][_0x2003a8(0xbf)](_0x5dc7ba),this[_0x2003a8(0xcb)]['forEach'](_0x4dba8a=>{_0x4dba8a(_0x5dc7ba);}),this[_0x2003a8(0xb9)][_0x2003a8(0xb4)](),this[_0x2003a8(0xb9)][_0x2003a8(0xc9)]();}[_0x51f8d0(0xd4)](_0x137801){const _0x373a1a=_0x51f8d0;console[_0x373a1a(0xa7)]('setTickPaused',_0x137801),this[_0x373a1a(0xa3)]=_0x137801;}[_0x51f8d0(0xa2)](_0x5a2123){const _0x4f91c0=_0x51f8d0;this[_0x4f91c0(0xcb)]['push'](_0x5a2123);}[_0x51f8d0(0xa5)](_0x3472c1){const _0x5ab9aa=_0x51f8d0,_0x2a1ced=this[_0x5ab9aa(0xcb)][_0x5ab9aa(0x99)](_0x3472c1);_0x2a1ced>=0x0&&this[_0x5ab9aa(0xcb)][_0x5ab9aa(0xc4)](_0x2a1ced,0x1);}async[_0x51f8d0(0xab)](){const _0x428505=_0x51f8d0;var _0x4711de;await this[_0x428505(0xca)],this[_0x428505(0xcc)][_0x428505(0xaf)](),this['controller']['destroy'](),this[_0x428505(0xc8)]['destroy'](),(_0x4711de=this['_assetManager'])===null||_0x4711de===void 0?void 0:_0x4711de[_0x428505(0xad)](),this[_0x428505(0xb9)][_0x428505(0xab)]();}[_0x51f8d0(0xbe)](_0x51d068){const _0x214698=_0x51f8d0,_0x2f8df2=this[_0x214698(0x92)];this[_0x214698(0xb0)]=CameraFactory['updataCamera'](_0x51d068,this[_0x214698(0x92)]),_0x2f8df2!==this[_0x214698(0x92)]&&(this['_onCameraChangedDelegate'][_0x214698(0xb2)](),this[_0x214698(0xc1)][_0x214698(0xbe)]()),this[_0x214698(0xb0)][_0x214698(0x93)](),this[_0x214698(0xb9)]['markRenderStateDirty']();}[_0x51f8d0(0xa8)](_0x4604b8,_0x5dc71a){const _0x229ae7=_0x51f8d0;this[_0x229ae7(0x92)]instanceof PerspectiveCamera&&(this[_0x229ae7(0x92)][_0x229ae7(0xc7)]=_0x4604b8/_0x5dc71a),this[_0x229ae7(0x92)][_0x229ae7(0x93)]();}async[_0x51f8d0(0xac)](_0x4085b2=0x400,_0x19a460=0x400){const _0x5f0d2d=_0x51f8d0;return await this[_0x5f0d2d(0xb9)]['renderAsImage'](_0x4085b2,_0x19a460);}}
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
function _0x2a95(){var _0x4a1d88=['36PbGDnT','getHex','66sIipgA','208792wNGXDh','5847950kaSYlL','2704493PIyjbz','5781839xXRUZY','threeObject','45Llmvvp','LYObject','color','intensity','24eoRJya','20798oGRgRo','197013BVydFI','obj','307495zWGfxp','three\x20object\x20is\x20invalid','userData'];_0x2a95=function(){return _0x4a1d88;};return _0x2a95();}var _0x2ac3b8=_0x2654;(function(_0x44265f,_0x3185d4){var _0x146c77=_0x2654,_0x25eaaa=_0x44265f();while(!![]){try{var _0x44e966=-parseInt(_0x146c77(0x1c7))/0x1*(parseInt(_0x146c77(0x1bf))/0x2)+-parseInt(_0x146c77(0x1c0))/0x3*(parseInt(_0x146c77(0x1c5))/0x4)+parseInt(_0x146c77(0x1c2))/0x5*(parseInt(_0x146c77(0x1be))/0x6)+parseInt(_0x146c77(0x1b8))/0x7+parseInt(_0x146c77(0x1c8))/0x8*(-parseInt(_0x146c77(0x1ba))/0x9)+parseInt(_0x146c77(0x1c9))/0xa+parseInt(_0x146c77(0x1b7))/0xb;if(_0x44e966===_0x3185d4)break;else _0x25eaaa['push'](_0x25eaaa['shift']());}catch(_0x47e9bb){_0x25eaaa['push'](_0x25eaaa['shift']());}}}(_0x2a95,0x78cab));function _0x2654(_0x40c0e8,_0x411ab6){_0x40c0e8=_0x40c0e8-0x1b7;var _0x2a95a9=_0x2a95();var _0x265404=_0x2a95a9[_0x40c0e8];return _0x265404;}class LightComponent extends SceneComponent{get[_0x2ac3b8(0x1b9)](){var _0x2bcb36=_0x2ac3b8;if(!this[_0x2bcb36(0x1c1)])throw Error(_0x2bcb36(0x1c3));return this[_0x2bcb36(0x1c1)];}set[_0x2ac3b8(0x1b9)](_0x54d426){var _0x5db0a4=_0x2ac3b8;this[_0x5db0a4(0x1c1)]=_0x54d426,this['obj']&&(this['obj'][_0x5db0a4(0x1c4)][_0x5db0a4(0x1bb)]=this);}get[_0x2ac3b8(0x1bc)](){var _0x239ed2=_0x2ac3b8;return this['threeObject'][_0x239ed2(0x1bc)][_0x239ed2(0x1c6)]();}set[_0x2ac3b8(0x1bc)](_0x28059d){var _0x5002e8=_0x2ac3b8;this[_0x5002e8(0x1b9)][_0x5002e8(0x1bc)]['set'](_0x28059d);}get[_0x2ac3b8(0x1bd)](){var _0x8e1821=_0x2ac3b8;return this[_0x8e1821(0x1b9)][_0x8e1821(0x1bd)];}set[_0x2ac3b8(0x1bd)](_0x45c6f9){var _0x57cd82=_0x2ac3b8;this[_0x57cd82(0x1b9)][_0x57cd82(0x1bd)]=_0x45c6f9;}constructor(_0x57df6b,_0x3f5d75){super(_0x57df6b,_0x3f5d75);}}
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _0x2869ca=_0x47ec;(function(_0x1ee42d,_0x43a695){var _0x465ff9=_0x47ec,_0x5dd682=_0x1ee42d();while(!![]){try{var _0x4bab14=-parseInt(_0x465ff9(0x104))/0x1+-parseInt(_0x465ff9(0xf5))/0x2+-parseInt(_0x465ff9(0xf0))/0x3+-parseInt(_0x465ff9(0x102))/0x4*(-parseInt(_0x465ff9(0xf9))/0x5)+-parseInt(_0x465ff9(0x105))/0x6+-parseInt(_0x465ff9(0xf8))/0x7*(parseInt(_0x465ff9(0xf1))/0x8)+parseInt(_0x465ff9(0x101))/0x9;if(_0x4bab14===_0x43a695)break;else _0x5dd682['push'](_0x5dd682['shift']());}catch(_0x1d900a){_0x5dd682['push'](_0x5dd682['shift']());}}}(_0x52e3,0x9258b));function _0x52e3(){var _0x359341=['userData','world','1657882vzwiya','createDefaultObject','length','1071OMyGhV','308705vEpGNZ','markRenderStateDirty','update','color','LYObject','viewport','castShadow','threeObject','27719505tVwjVv','32gxsfCR','obj','1184314FnaBPr','526944YVuxsD','destroy','three\x20object\x20is\x20invalid','setPosition','1631391ayWqNp','17232LhELXU','onAddedToWorld'];_0x52e3=function(){return _0x359341;};return _0x52e3();}function _0x47ec(_0x43c466,_0x127312){_0x43c466=_0x43c466-0xee;var _0x52e340=_0x52e3();var _0x47ec5b=_0x52e340[_0x43c466];return _0x47ec5b;}class DirectionalLightComponent extends LightComponent{get[_0x2869ca(0x100)](){var _0x3a5a65=_0x2869ca;if(!this[_0x3a5a65(0x103)])throw Error('three\x20object\x20is\x20invalid');return this[_0x3a5a65(0x103)];}set['threeObject'](_0x4ffa4f){var _0x334295=_0x2869ca;this[_0x334295(0x103)]=_0x4ffa4f,this['obj']&&(this[_0x334295(0x103)][_0x334295(0xf3)][_0x334295(0xfd)]=this);}get[_0x2869ca(0xff)](){var _0x356db5=_0x2869ca;return this[_0x356db5(0x100)][_0x356db5(0xff)];}set[_0x2869ca(0xff)](_0x5e8468){var _0x117627=_0x2869ca;this[_0x117627(0x100)][_0x117627(0xff)]=_0x5e8468;}constructor(_0x13663d,_0x11b9c4=0xffffff,_0x36a530=0xa,_0xee4a6a){var _0x402614=_0x2869ca;super(_0x13663d,_0xee4a6a),this[_0x402614(0x100)][_0x402614(0xfc)]['set'](_0x11b9c4),this['threeObject']['intensity']=_0x36a530;}[_0x2869ca(0xf6)](){return new DirectionalLight(0xffffff,0xa);}[_0x2869ca(0xef)](..._0x2ba81a){var _0x56017b=_0x2869ca;_0x2ba81a[_0x56017b(0xf7)]===0x1?super[_0x56017b(0xef)](_0x2ba81a[0x0]):super[_0x56017b(0xef)](_0x2ba81a[0x0],_0x2ba81a[0x1],_0x2ba81a[0x2]),this['update']();}[_0x2869ca(0xfb)](){var _0x37928f=_0x2869ca;if(this[_0x37928f(0xf4)])this[_0x37928f(0xf4)][_0x37928f(0xfe)][_0x37928f(0xfa)]();}['onAddedToWorld'](_0x2370bc){var _0x47eed5=_0x2869ca;if(!this[_0x47eed5(0x100)])throw Error(_0x47eed5(0xee));super[_0x47eed5(0xf2)](_0x2370bc);}[_0x2869ca(0x106)](){var _0x2ac892=_0x2869ca;super[_0x2ac892(0x106)]();}}
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _0x573bac=_0xe5f4;(function(_0x186cac,_0x406426){var _0x2ac9df=_0xe5f4,_0x499374=_0x186cac();while(!![]){try{var _0xc7143d=parseInt(_0x2ac9df(0x116))/0x1*(-parseInt(_0x2ac9df(0x119))/0x2)+-parseInt(_0x2ac9df(0x10f))/0x3+-parseInt(_0x2ac9df(0x11b))/0x4*(parseInt(_0x2ac9df(0x111))/0x5)+-parseInt(_0x2ac9df(0x11d))/0x6*(parseInt(_0x2ac9df(0x11e))/0x7)+parseInt(_0x2ac9df(0x115))/0x8*(parseInt(_0x2ac9df(0x11c))/0x9)+parseInt(_0x2ac9df(0x118))/0xa+parseInt(_0x2ac9df(0x110))/0xb;if(_0xc7143d===_0x406426)break;else _0x499374['push'](_0x499374['shift']());}catch(_0x28d630){_0x499374['push'](_0x499374['shift']());}}}(_0x18ec,0x83b5b));function _0x18ec(){var _0x62105b=['intensity','988320uPDpRk','18375852twOhfm','736740UZXzeJ','rootComponent','castShadow','lightComponent','96uDiwWK','14599bKXNLT','color','7777600fjDlLs','64VeCqVf','constructRootComponent','16DVQKAR','69309MbLxSk','3691326SxLMYP','7BCLgeq'];_0x18ec=function(){return _0x62105b;};return _0x18ec();}function _0xe5f4(_0x23eb6e,_0x36d605){_0x23eb6e=_0x23eb6e-0x10e;var _0x18ec65=_0x18ec();var _0xe5f4e6=_0x18ec65[_0x23eb6e];return _0xe5f4e6;}class DirectionalLightActor extends Actor{constructor(_0x89d0eb,_0x23a323=0xffffff,_0x5c0dce=0x1,_0x15d2b1){var _0x59de6a=_0xe5f4;super(_0x89d0eb,_0x15d2b1),this[_0x59de6a(0x114)]=null,this[_0x59de6a(0x114)]=this[_0x59de6a(0x112)],this[_0x59de6a(0x114)]&&(this[_0x59de6a(0x114)][_0x59de6a(0x117)]=_0x23a323,this[_0x59de6a(0x114)][_0x59de6a(0x10e)]=_0x5c0dce,this['lightComponent'][_0x59de6a(0x113)]=!![]),this[_0x59de6a(0x114)][_0x59de6a(0x113)]=!![];}[_0x573bac(0x11a)](){return new DirectionalLightComponent(this['app']);}}
|
|
113
113
|
|
|
114
|
-
var
|
|
114
|
+
function _0x147d(_0x13b040,_0x4002b7){_0x13b040=_0x13b040-0xcb;var _0xdbdfa6=_0xdbdf();var _0x147d8c=_0xdbdfa6[_0x13b040];return _0x147d8c;}var _0x2d8ce1=_0x147d;(function(_0x727c0e,_0x2217f7){var _0x1800b3=_0x147d,_0xdb75e7=_0x727c0e();while(!![]){try{var _0xb03cee=-parseInt(_0x1800b3(0xdf))/0x1+parseInt(_0x1800b3(0xcb))/0x2+-parseInt(_0x1800b3(0xcc))/0x3+-parseInt(_0x1800b3(0xe1))/0x4*(parseInt(_0x1800b3(0xd8))/0x5)+parseInt(_0x1800b3(0xd9))/0x6*(-parseInt(_0x1800b3(0xda))/0x7)+-parseInt(_0x1800b3(0xcd))/0x8+parseInt(_0x1800b3(0xdb))/0x9*(parseInt(_0x1800b3(0xd7))/0xa);if(_0xb03cee===_0x2217f7)break;else _0xdb75e7['push'](_0xdb75e7['shift']());}catch(_0x28ebe9){_0xdb75e7['push'](_0xdb75e7['shift']());}}}(_0xdbdf,0x63ed5));function _0xdbdf(){var _0x4c340e=['color','obj','LYObject','setPosition','onAddedToWorld','castShadow','threeObject','viewport','1203110BklBOa','35835tfFKkA','377088kMiTvS','21ACKQMY','99hHzGOT','destroy','world','createDefaultObject','493679uMEdig','userData','204mZjvpB','update','1563336qKAchj','1289466vcKTAy','1745808ILASYo','intensity'];_0xdbdf=function(){return _0x4c340e;};return _0xdbdf();}class AmbientLightComponent extends LightComponent{get[_0x2d8ce1(0xd5)](){var _0x5ae1c5=_0x2d8ce1;if(!this[_0x5ae1c5(0xd0)])throw Error('three\x20object\x20is\x20invalid');return this['obj'];}set[_0x2d8ce1(0xd5)](_0x2fb0b3){var _0x3cdd34=_0x2d8ce1;this[_0x3cdd34(0xd0)]=_0x2fb0b3,this[_0x3cdd34(0xd0)]&&(this[_0x3cdd34(0xd0)][_0x3cdd34(0xe0)][_0x3cdd34(0xd1)]=this);}get['castShadow'](){return this['threeObject']['castShadow'];}set['castShadow'](_0x566d58){var _0x323746=_0x2d8ce1;this['threeObject'][_0x323746(0xd4)]=_0x566d58;}constructor(_0x344f73,_0x24863c=0xffffff,_0x588bf9=0xa,_0x148f49){var _0x4090fc=_0x2d8ce1;super(_0x344f73,_0x148f49),this[_0x4090fc(0xd5)][_0x4090fc(0xcf)]['set'](_0x24863c),this[_0x4090fc(0xd5)][_0x4090fc(0xce)]=_0x588bf9;}[_0x2d8ce1(0xde)](){return new AmbientLight(0xffffff,0xa);}[_0x2d8ce1(0xd2)](..._0x3ab381){var _0x155889=_0x2d8ce1;_0x3ab381['length']===0x1?super['setPosition'](_0x3ab381[0x0]):super[_0x155889(0xd2)](_0x3ab381[0x0],_0x3ab381[0x1],_0x3ab381[0x2]),this[_0x155889(0xe2)]();}[_0x2d8ce1(0xe2)](){var _0xfdd8c7=_0x2d8ce1;if(this['world'])this[_0xfdd8c7(0xdd)][_0xfdd8c7(0xd6)]['markRenderStateDirty']();}[_0x2d8ce1(0xd3)](_0x2db516){var _0x2beb98=_0x2d8ce1;if(!this['threeObject'])throw Error('three\x20object\x20is\x20invalid');super[_0x2beb98(0xd3)](_0x2db516);}[_0x2d8ce1(0xdc)](){var _0x3b72d1=_0x2d8ce1;super[_0x3b72d1(0xdc)]();}}
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
var _0x39918a=_0xb615;(function(_0x664cd0,_0x33204b){var _0x57a2f2=_0xb615,_0x110295=_0x664cd0();while(!![]){try{var _0x1ce9d1=-parseInt(_0x57a2f2(0x181))/0x1+-parseInt(_0x57a2f2(0x188))/0x2*(-parseInt(_0x57a2f2(0x182))/0x3)+parseInt(_0x57a2f2(0x17e))/0x4+parseInt(_0x57a2f2(0x187))/0x5*(-parseInt(_0x57a2f2(0x189))/0x6)+-parseInt(_0x57a2f2(0x17f))/0x7*(parseInt(_0x57a2f2(0x183))/0x8)+-parseInt(_0x57a2f2(0x18a))/0x9+parseInt(_0x57a2f2(0x18b))/0xa*(parseInt(_0x57a2f2(0x186))/0xb);if(_0x1ce9d1===_0x33204b)break;else _0x110295['push'](_0x110295['shift']());}catch(_0x2177f0){_0x110295['push'](_0x110295['shift']());}}}(_0x5295,0xb8a58));function _0xb615(_0x5cb57f,_0x259578){_0x5cb57f=_0x5cb57f-0x17e;var _0x5295a0=_0x5295();var _0xb6151c=_0x5295a0[_0x5cb57f];return _0xb6151c;}function _0x5295(){var _0x5b4930=['app','lightComponent','319qKAvCs','567310tgoncx','2952932IGyBIQ','6KrXhCR','1569861VhdMfw','297070MkBsyF','castShadow','5569048knrdfV','7bktSNC','constructRootComponent','1404118WHUZTh','3WbxfSB','10255280xLBDyM'];_0x5295=function(){return _0x5b4930;};return _0x5295();}class AmbientLightActor extends Actor{constructor(_0x1f3221,_0x282bf7=0xffffff,_0x5e799e=0x1,_0xe72d65){var _0x1c0082=_0xb615;super(_0x1f3221,_0xe72d65),this[_0x1c0082(0x185)]=null,this[_0x1c0082(0x185)]=this['rootComponent'],this[_0x1c0082(0x185)]&&(this[_0x1c0082(0x185)]['color']=_0x282bf7,this[_0x1c0082(0x185)]['intensity']=_0x5e799e,this['lightComponent'][_0x1c0082(0x18c)]=!![]),this['lightComponent']['castShadow']=!![];}[_0x39918a(0x180)](){var _0x5ecb6d=_0x39918a;return new AmbientLightComponent(this[_0x5ecb6d(0x184)]);}}
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
(function(_0x1d8c9c,_0x140c68){var _0x307b24=_0x10f5,_0x1d9dc4=_0x1d8c9c();while(!![]){try{var _0x12bed3=parseInt(_0x307b24(0x1be))/0x1+-parseInt(_0x307b24(0x1c2))/0x2+-parseInt(_0x307b24(0x1c0))/0x3*(parseInt(_0x307b24(0x1c7))/0x4)+-parseInt(_0x307b24(0x1c4))/0x5*(parseInt(_0x307b24(0x1bf))/0x6)+-parseInt(_0x307b24(0x1c6))/0x7+parseInt(_0x307b24(0x1c3))/0x8+-parseInt(_0x307b24(0x1c1))/0x9*(-parseInt(_0x307b24(0x1c5))/0xa);if(_0x12bed3===_0x140c68)break;else _0x1d9dc4['push'](_0x1d9dc4['shift']());}catch(_0x2bafee){_0x1d9dc4['push'](_0x1d9dc4['shift']());}}}(_0x552c,0xec2ab));function _0x552c(){var _0x34be89=['2106684HIzeUc','1091117yyYwFS','54HkVCig','6uMvONu','72dyVrWe','3701460WCsYLb','3816952OOPocS','228835bHEFpY','5810380OAdlRI','13532582bvVIPN'];_0x552c=function(){return _0x34be89;};return _0x552c();}function _0x10f5(_0x3d0fe0,_0x2dd940){_0x3d0fe0=_0x3d0fe0-0x1be;var _0x552c24=_0x552c();var _0x10f5dd=_0x552c24[_0x3d0fe0];return _0x10f5dd;}class BoxComponent extends MeshComponent{constructor(_0xf10df0,_0x3cd6f6=0x1,_0x3c4155=0x1,_0x246346=0x1,_0x4a0608=0x1,_0x133da9=0x1,_0x2a0868=0x1,_0x14466a=new MeshStandardMaterial(),_0x490f28){super(_0xf10df0,new BoxGeometry(_0x3cd6f6,_0x3c4155,_0x246346,_0x4a0608,_0x133da9,_0x2a0868),_0x14466a,_0x490f28);}}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
(function(_0x31a295,_0x257987){var _0x7af1f1=_0x591c,_0x1dbe70=_0x31a295();while(!![]){try{var _0x41376e=parseInt(_0x7af1f1(0x177))/0x1*(-parseInt(_0x7af1f1(0x173))/0x2)+-parseInt(_0x7af1f1(0x179))/0x3*(-parseInt(_0x7af1f1(0x17b))/0x4)+-parseInt(_0x7af1f1(0x174))/0x5+parseInt(_0x7af1f1(0x17e))/0x6+parseInt(_0x7af1f1(0x176))/0x7*(parseInt(_0x7af1f1(0x175))/0x8)+-parseInt(_0x7af1f1(0x17c))/0x9+-parseInt(_0x7af1f1(0x178))/0xa*(-parseInt(_0x7af1f1(0x17d))/0xb);if(_0x41376e===_0x257987)break;else _0x1dbe70['push'](_0x1dbe70['shift']());}catch(_0x1c9e7f){_0x1dbe70['push'](_0x1dbe70['shift']());}}}(_0x1fa4,0xaf6ad));function _0x1fa4(){var _0x37ed20=['6471ghNLbT','app','432syBLLd','4120884pXiwdG','5879577dFPNqi','7649430jNTRxc','2DkUMdi','6293870IbdFNt','117616qpoMki','217LbLkoT','597478httoNP','20EmXOHq'];_0x1fa4=function(){return _0x37ed20;};return _0x1fa4();}function _0x591c(_0x135815,_0x154bc8){_0x135815=_0x135815-0x173;var _0x1fa4ef=_0x1fa4();var _0x591c35=_0x1fa4ef[_0x135815];return _0x591c35;}class BoxActor extends Actor{constructor(_0x3c4e36,_0x1e9859){super(_0x3c4e36,_0x1e9859);}['constructRootComponent'](){var _0x4fe117=_0x591c;return new BoxComponent(this[_0x4fe117(0x17a)],0x1,0x1,0x1,0x1,0x1,0x1,new MeshBasicMaterial(),this['uuid']);}}
|
|
121
121
|
|
|
122
|
-
function
|
|
122
|
+
const _0x91d515=_0x3799;function _0x4f7b(){const _0x37ed93=['turbidity','disposeMeshResource','value','4903236bAuKPB','7677520kBeviU','elevation','copy','mieDirectionalG','threeObject','5VWodav','obj','2TcfYEa','11XRBuqm','198rEpsOO','1659303TwStsI','skyParam','world','8QzmWpG','updateSky','mieCoefficient','three\x20object\x20is\x20invalid','4782177CcpRVF','1632084mkRMjb','sunPosition','258839ZsrqwL','1814719fOaRaf','degToRad'];_0x4f7b=function(){return _0x37ed93;};return _0x4f7b();}function _0x3799(_0x3f3311,_0x7a03b6){_0x3f3311=_0x3f3311-0x132;const _0x4f7b2b=_0x4f7b();let _0x3799f6=_0x4f7b2b[_0x3f3311];return _0x3799f6;}(function(_0x5b6ba9,_0x2c7680){const _0x59bd74=_0x3799,_0x423945=_0x5b6ba9();while(!![]){try{const _0x2c7c95=-parseInt(_0x59bd74(0x148))/0x1*(-parseInt(_0x59bd74(0x13a))/0x2)+parseInt(_0x59bd74(0x13d))/0x3+parseInt(_0x59bd74(0x145))/0x4*(-parseInt(_0x59bd74(0x138))/0x5)+-parseInt(_0x59bd74(0x13c))/0x6*(parseInt(_0x59bd74(0x147))/0x7)+-parseInt(_0x59bd74(0x140))/0x8*(-parseInt(_0x59bd74(0x144))/0x9)+parseInt(_0x59bd74(0x133))/0xa*(-parseInt(_0x59bd74(0x13b))/0xb)+parseInt(_0x59bd74(0x132))/0xc;if(_0x2c7c95===_0x2c7680)break;else _0x423945['push'](_0x423945['shift']());}catch(_0x36ccb0){_0x423945['push'](_0x423945['shift']());}}}(_0x4f7b,0xde992));const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x91d515(0x137)](){const _0x2789d4=_0x91d515;if(!this[_0x2789d4(0x139)])throw Error(_0x2789d4(0x143));return this[_0x2789d4(0x139)];}set[_0x91d515(0x137)](_0x424e98){const _0x1ee761=_0x91d515;this[_0x1ee761(0x139)]=_0x424e98,this['obj']&&(this[_0x1ee761(0x139)]['userData']['LYObject']=this);}constructor(_0x3992b9,_0x484c71,_0x194bc9){const _0x2e2892=_0x91d515;super(_0x3992b9,_0x194bc9),this[_0x2e2892(0x13e)]=DefaultSkyParam,this[_0x2e2892(0x146)]=new Vector3(),_0x484c71&&(this[_0x2e2892(0x13e)]=_0x484c71),this[_0x2e2892(0x141)]();}['createDefaultObject'](){return new SkyMesh();}['updateSky'](){const _0x2b45cc=_0x91d515;var _0x287ced,_0x5561d2;this[_0x2b45cc(0x137)]['turbidity']['value']=this['skyParam'][_0x2b45cc(0x14a)],this['threeObject']['rayleigh'][_0x2b45cc(0x14c)]=this[_0x2b45cc(0x13e)]['rayleigh'],this[_0x2b45cc(0x137)][_0x2b45cc(0x142)][_0x2b45cc(0x14c)]=this['skyParam'][_0x2b45cc(0x142)],this[_0x2b45cc(0x137)][_0x2b45cc(0x136)][_0x2b45cc(0x14c)]=this[_0x2b45cc(0x13e)][_0x2b45cc(0x136)];const _0x44e509=MathUtils[_0x2b45cc(0x149)](0x5a-this['skyParam'][_0x2b45cc(0x134)]),_0x5ae687=MathUtils['degToRad'](this[_0x2b45cc(0x13e)]['azimuth']);this['sunPosition']['setFromSphericalCoords'](0x1,_0x44e509,_0x5ae687),this['threeObject'][_0x2b45cc(0x146)][_0x2b45cc(0x14c)][_0x2b45cc(0x135)](this[_0x2b45cc(0x146)]),(_0x5561d2=(_0x287ced=this[_0x2b45cc(0x13f)])===null||_0x287ced===void 0?void 0:_0x287ced['viewport'])===null||_0x5561d2===void 0?void 0:_0x5561d2['markRenderStateDirty']();}['destroyObject'](){const _0x4410c0=_0x91d515;this[_0x4410c0(0x139)]&&ThreeObjectLibrary[_0x4410c0(0x14b)](this[_0x4410c0(0x137)]);}}
|
|
123
123
|
|
|
124
|
-
var
|
|
124
|
+
var _0x5788b7=_0xb816;(function(_0x169e8f,_0x1c977a){var _0x4ebbb5=_0xb816,_0x10ba62=_0x169e8f();while(!![]){try{var _0x3bbc99=parseInt(_0x4ebbb5(0x85))/0x1*(parseInt(_0x4ebbb5(0x91))/0x2)+-parseInt(_0x4ebbb5(0x8f))/0x3+parseInt(_0x4ebbb5(0x8c))/0x4*(parseInt(_0x4ebbb5(0x89))/0x5)+-parseInt(_0x4ebbb5(0x8a))/0x6+-parseInt(_0x4ebbb5(0x8d))/0x7+parseInt(_0x4ebbb5(0x88))/0x8+parseInt(_0x4ebbb5(0x90))/0x9;if(_0x3bbc99===_0x1c977a)break;else _0x10ba62['push'](_0x10ba62['shift']());}catch(_0x35b436){_0x10ba62['push'](_0x10ba62['shift']());}}}(_0x5daa,0x21035));function _0x5daa(){var _0xc1444f=['656595zWAGdS','477558CpYegQ','3386WudeJT','rootComponent','117vLzfeY','skyComponent','name','1923928HbLcEh','9965DaZLcp','1347972lCBaEC','constructRootComponent','364PNZfRk','659743rFQMTp','SkyActor'];_0x5daa=function(){return _0xc1444f;};return _0x5daa();}function _0xb816(_0xcbe66,_0x21260b){_0xcbe66=_0xcbe66-0x85;var _0x5daa51=_0x5daa();var _0xb8161d=_0x5daa51[_0xcbe66];return _0xb8161d;}class SkyActor extends Actor{constructor(_0x444430,_0x486935){var _0x1e7814=_0xb816;super(_0x444430,_0x486935),this['_name']=_0x1e7814(0x8e),this[_0x1e7814(0x86)]=null,this['name']=_0x1e7814(0x8e),this['skyComponent']=this['rootComponent'],this[_0x1e7814(0x92)][_0x1e7814(0x87)]=this[_0x1e7814(0x92)][_0x1e7814(0x87)]+'(Root)',this['setScale'](0xafc8,0xafc8,0xafc8);}[_0x5788b7(0x8b)](){return new SkyComponent(this['app']);}}
|
|
125
125
|
|
|
126
|
-
(function(
|
|
126
|
+
function _0x5d4f(){var _0x4ace89=['314496KFouTB','1397810RMPTEk','557836BOIJbP','12WOoSrn','1vQIiFs','25BMjjbS','773186ULQNeL','9nMZUXF','1523601qIKrqG','42mkoqUE','15519339XGCzsB','163793ZsuByj'];_0x5d4f=function(){return _0x4ace89;};return _0x5d4f();}function _0x2e45(_0x33127c,_0x211c6f){_0x33127c=_0x33127c-0x100;var _0x5d4fd6=_0x5d4f();var _0x2e4523=_0x5d4fd6[_0x33127c];return _0x2e4523;}(function(_0x515cf2,_0x369622){var _0x4908b8=_0x2e45,_0x41e941=_0x515cf2();while(!![]){try{var _0x53af14=parseInt(_0x4908b8(0x108))/0x1*(parseInt(_0x4908b8(0x10a))/0x2)+parseInt(_0x4908b8(0x100))/0x3+-parseInt(_0x4908b8(0x106))/0x4*(-parseInt(_0x4908b8(0x109))/0x5)+-parseInt(_0x4908b8(0x101))/0x6*(-parseInt(_0x4908b8(0x103))/0x7)+parseInt(_0x4908b8(0x104))/0x8+-parseInt(_0x4908b8(0x10b))/0x9*(-parseInt(_0x4908b8(0x105))/0xa)+parseInt(_0x4908b8(0x102))/0xb*(-parseInt(_0x4908b8(0x107))/0xc);if(_0x53af14===_0x369622)break;else _0x41e941['push'](_0x41e941['shift']());}catch(_0x212313){_0x41e941['push'](_0x41e941['shift']());}}}(_0x5d4f,0x7fe10));class PlaneComponent extends MeshComponent{constructor(_0x1de4ca,_0x4a8a65,_0x2e95cc,_0x10f743,_0x543d03=0x1,_0x1d64ea=0x1,_0xb74918){super(_0x1de4ca,new PlaneGeometry(_0x4a8a65,_0x2e95cc,_0x543d03,_0x1d64ea),_0x10f743,_0xb74918);}}
|
|
127
127
|
|
|
128
|
-
var
|
|
128
|
+
var _0x27deb9=_0x4c64;(function(_0x184231,_0x459359){var _0x598c71=_0x4c64,_0x1ed159=_0x184231();while(!![]){try{var _0x90cd12=parseInt(_0x598c71(0x1b5))/0x1+-parseInt(_0x598c71(0x1b4))/0x2+parseInt(_0x598c71(0x1b0))/0x3+parseInt(_0x598c71(0x1b1))/0x4+-parseInt(_0x598c71(0x1ac))/0x5+-parseInt(_0x598c71(0x1af))/0x6+parseInt(_0x598c71(0x1b2))/0x7*(parseInt(_0x598c71(0x1b6))/0x8);if(_0x90cd12===_0x459359)break;else _0x1ed159['push'](_0x1ed159['shift']());}catch(_0x1f98c4){_0x1ed159['push'](_0x1ed159['shift']());}}}(_0x14c8,0x89e51));function _0x14c8(){var _0x224553=['destroy','2679120wmrAvO','1355802vbvZsI','272356VwzJks','56EzNEus','uuid','1757156dkgzAz','216VvEehL','2431576erdnDb','5309500RiDUok','app'];_0x14c8=function(){return _0x224553;};return _0x14c8();}function _0x4c64(_0x2c06bf,_0x376815){_0x2c06bf=_0x2c06bf-0x1ac;var _0x14c8d3=_0x14c8();var _0x4c64e9=_0x14c8d3[_0x2c06bf];return _0x4c64e9;}class PlaneActor extends Actor{constructor(_0x3fcf9f,_0x249953){super(_0x3fcf9f,_0x249953);}['constructRootComponent'](){var _0x2317e7=_0x4c64;return new PlaneComponent(this[_0x2317e7(0x1ad)],0x1,0x1,new MeshBasicMaterial(),0x1,0x1,this[_0x2317e7(0x1b3)]);}[_0x27deb9(0x1ae)](){var _0x4eeaa1=_0x27deb9;super[_0x4eeaa1(0x1ae)]();}}
|
|
129
129
|
|
|
130
|
-
const _0x4612ce=_0x24c5;(function(_0x5781c2,_0x32a7b3){const _0x2b0396=_0x24c5,_0x8c9e44=_0x5781c2();while(!![]){try{const _0x569d3a=-parseInt(_0x2b0396(0xf9))/0x1*(parseInt(_0x2b0396(0x11d))/0x2)+parseInt(_0x2b0396(0x118))/0x3*(-parseInt(_0x2b0396(0xed))/0x4)+-parseInt(_0x2b0396(0x123))/0x5*(parseInt(_0x2b0396(0x106))/0x6)+-parseInt(_0x2b0396(0xe8))/0x7+parseInt(_0x2b0396(0x101))/0x8+parseInt(_0x2b0396(0xf4))/0x9*(-parseInt(_0x2b0396(0x120))/0xa)+parseInt(_0x2b0396(0x103))/0xb*(parseInt(_0x2b0396(0x127))/0xc);if(_0x569d3a===_0x32a7b3)break;else _0x8c9e44['push'](_0x8c9e44['shift']());}catch(_0xad24c7){_0x8c9e44['push'](_0x8c9e44['shift']());}}}(_0x578b,0xf35bc));function _0x578b(){const _0x4834d6=['constructGeometry','_geometryPtr','clone','setAttribute','material','error','CustomMeshComponent','addGeometryAsset','geometry','max','getValue','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','reverse','computeVertexNormals','obj','2044308qEgSdz','app','geometryPtr','computeUVs','destroyObject','47584nmpLHD','colors','normals','20gfUhLN','release','receiveShadow','5NLXJhj','castShadow','length','vertices','283032VtrPfx','getBounds','meshData','uvs','1404466HTwxto','CustomMeshComponent:\x20threeObject\x20is\x20null','warn','getBoundsTopCenterPosition','materialPtr','4Cdlubh','viewport','CustomMeshComponent:\x20Invalid\x20vertices\x20data','min','map','assetManager','geometryPtr\x20is\x20null','2426337ROdjZp','calculatePolygonArea','indices','getCenter','world','25YYkUpO','materialPtr\x20is\x20null','push','_meshData','addMaterialAsset','getBoundsCenterPosition','color','threeObject','10965360lIazOv','name','880HzdZTH','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','addRef','1468164bZTUJc','_materialPtr','setIndex'];_0x578b=function(){return _0x4834d6;};return _0x578b();}function _0x24c5(_0x187d29,_0x5c027f){_0x187d29=_0x187d29-0xe7;const _0x578b87=_0x578b();let _0x24c597=_0x578b87[_0x187d29];return _0x24c597;}class CustomMeshComponent extends SceneComponent{get[_0x4612ce(0x100)](){const _0x18deb3=_0x4612ce;if(!this[_0x18deb3(0x117)])throw new Error(_0x18deb3(0xe9));return this[_0x18deb3(0x117)];}set[_0x4612ce(0x100)](_0x394943){const _0xe8c38e=_0x4612ce;this[_0xe8c38e(0x117)]=_0x394943,this[_0xe8c38e(0x117)]&&(this[_0xe8c38e(0x117)]['userData']['LYObject']=this);}get[_0x4612ce(0x111)](){const _0x5cac32=_0x4612ce;if(!this[_0x5cac32(0x10a)])throw new Error(_0x5cac32(0xf3));return this[_0x5cac32(0x10a)][_0x5cac32(0x113)]();}set[_0x4612ce(0x111)](_0x1cc18b){const _0x3e5a68=_0x4612ce;let _0x4feda8=this[_0x3e5a68(0x119)][_0x3e5a68(0xf2)][_0x3e5a68(0x110)](_0x1cc18b);this[_0x3e5a68(0x11a)]=_0x4feda8;}get[_0x4612ce(0x11a)](){const _0x20420b=_0x4612ce;if(!this[_0x20420b(0x10a)])throw new Error(_0x20420b(0xf3));return this[_0x20420b(0x10a)];}set[_0x4612ce(0x11a)](_0x341867){const _0xcb41fb=_0x4612ce;this[_0xcb41fb(0x10a)]&&(this[_0xcb41fb(0x10a)]['release'](),this[_0xcb41fb(0x10a)]=null);this['_geometryPtr']=_0x341867;let _0x29fae6=_0x341867[_0xcb41fb(0x113)]();this['threeObject']&&_0x29fae6&&(this[_0xcb41fb(0x100)][_0xcb41fb(0x111)]=_0x29fae6);}get['material'](){const _0x4d0766=_0x4612ce;if(!this[_0x4d0766(0x107)])throw new Error(_0x4d0766(0xfa));let _0x2fc189=this[_0x4d0766(0x107)][_0x4d0766(0x113)]();if(!_0x2fc189)throw new Error('material\x20is\x20null');return _0x2fc189;}get['materialPtr'](){const _0x2742aa=_0x4612ce;if(!this[_0x2742aa(0x107)])throw new Error(_0x2742aa(0xfa));return this[_0x2742aa(0x107)];}set[_0x4612ce(0x10d)](_0xa95b17){const _0x42d296=_0x4612ce;let _0x1469c4=this['app']['assetManager']['addMaterialAsset'](_0xa95b17);this[_0x42d296(0xec)]=_0x1469c4;}set[_0x4612ce(0xec)](_0x20f4be){const _0x3f2839=_0x4612ce;this[_0x3f2839(0x107)]&&(this[_0x3f2839(0x107)]['release'](),this[_0x3f2839(0x107)]=null);this[_0x3f2839(0x107)]=_0x20f4be;let _0xd5e0c7=_0x20f4be[_0x3f2839(0x113)]();_0x20f4be[_0x3f2839(0x105)](),this[_0x3f2839(0x100)]&&_0xd5e0c7&&(this[_0x3f2839(0x100)][_0x3f2839(0x10d)]=_0xd5e0c7);}constructor(_0x2edaea,_0xe202e3,_0x21e42f,_0x13e5d8){const _0x44e3b7=_0x4612ce;super(_0x2edaea,_0x13e5d8),this[_0x44e3b7(0xfc)]=_0xe202e3;let _0x24493d=_0x2edaea[_0x44e3b7(0xf2)][_0x44e3b7(0xfd)](_0x21e42f);this['_materialPtr']=_0x24493d,_0x24493d['addRef']();const _0x4740e7=this[_0x44e3b7(0x109)](_0xe202e3);this[_0x44e3b7(0x10a)]=_0x2edaea[_0x44e3b7(0xf2)][_0x44e3b7(0x110)](_0x4740e7),this[_0x44e3b7(0x100)]['material']=_0x21e42f,this[_0x44e3b7(0x100)]['geometry']=_0x4740e7,this[_0x44e3b7(0x102)]=_0x44e3b7(0x10f),this[_0x44e3b7(0x124)]=!![],this[_0x44e3b7(0x122)]=!![];}[_0x4612ce(0x11b)](_0x52addb){const _0x2e21fb=_0x4612ce,_0x66ebcb=new Float32Array(_0x52addb['length']*0x2);if(_0x52addb[_0x2e21fb(0x125)]===0x0)return _0x66ebcb;let _0x5104b4=Infinity,_0x26087a=-Infinity,_0x286060=Infinity,_0x1c714c=-Infinity,_0x459236=Infinity,_0x2cd6e0=-Infinity;for(const _0x19de4e of _0x52addb){_0x5104b4=Math[_0x2e21fb(0xf0)](_0x5104b4,_0x19de4e['x']),_0x26087a=Math['max'](_0x26087a,_0x19de4e['x']),_0x286060=Math[_0x2e21fb(0xf0)](_0x286060,_0x19de4e['y']),_0x1c714c=Math[_0x2e21fb(0x112)](_0x1c714c,_0x19de4e['y']),_0x459236=Math[_0x2e21fb(0xf0)](_0x459236,_0x19de4e['z']),_0x2cd6e0=Math['max'](_0x2cd6e0,_0x19de4e['z']);}const _0x448998=_0x26087a-_0x5104b4,_0x1765fc=_0x1c714c-_0x286060,_0x39d58b=_0x2cd6e0-_0x459236;let _0x3c3faf,_0x129e64,_0x59f134,_0x312333,_0x24716d,_0x25400a;if(_0x448998<=_0x1765fc&&_0x448998<=_0x39d58b)_0x3c3faf='y',_0x129e64='z',_0x59f134=_0x286060,_0x312333=_0x1765fc,_0x24716d=_0x459236,_0x25400a=_0x39d58b;else _0x1765fc<=_0x448998&&_0x1765fc<=_0x39d58b?(_0x3c3faf='x',_0x129e64='z',_0x59f134=_0x5104b4,_0x312333=_0x448998,_0x24716d=_0x459236,_0x25400a=_0x39d58b):(_0x3c3faf='x',_0x129e64='y',_0x59f134=_0x5104b4,_0x312333=_0x448998,_0x24716d=_0x286060,_0x25400a=_0x1765fc);if(_0x312333===0x0)_0x312333=0x1;if(_0x25400a===0x0)_0x25400a=0x1;for(let _0x15fee7=0x0;_0x15fee7<_0x52addb[_0x2e21fb(0x125)];_0x15fee7++){const _0x2cce60=_0x52addb[_0x15fee7],_0x3bff3e=(_0x2cce60[_0x3c3faf]-_0x59f134)/_0x312333,_0x2d28ce=(_0x2cce60[_0x129e64]-_0x24716d)/_0x25400a;_0x66ebcb[_0x15fee7*0x2]=_0x3bff3e,_0x66ebcb[_0x15fee7*0x2+0x1]=_0x2d28ce;}return _0x66ebcb;}[_0x4612ce(0xf5)](_0x379ec7){const _0x4c9a23=_0x4612ce;let _0x479de6=0x0;const _0xcc8eb2=_0x379ec7[_0x4c9a23(0x125)]/0x2;for(let _0x36534f=0x0;_0x36534f<_0xcc8eb2;_0x36534f++){const _0x42807a=(_0x36534f+0x1)%_0xcc8eb2,_0x4e1659=_0x379ec7[_0x36534f*0x2],_0x3614d3=_0x379ec7[_0x36534f*0x2+0x1],_0x53393d=_0x379ec7[_0x42807a*0x2],_0x4de158=_0x379ec7[_0x42807a*0x2+0x1];_0x479de6+=_0x4e1659*_0x4de158-_0x53393d*_0x3614d3;}return _0x479de6/0x2;}[_0x4612ce(0x109)](_0x2935ee){const _0x396e50=_0x4612ce,_0x27813c=new BufferGeometry();if(!_0x2935ee[_0x396e50(0x126)]||_0x2935ee[_0x396e50(0x126)]['length']===0x0)return console[_0x396e50(0x10e)](_0x396e50(0xef)),_0x27813c;const _0x8dd569=new Float32Array(_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)]*0x3);for(let _0x1c0b96=0x0;_0x1c0b96<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0x1c0b96++){_0x8dd569[_0x1c0b96*0x3]=_0x2935ee['vertices'][_0x1c0b96]['x'],_0x8dd569[_0x1c0b96*0x3+0x1]=_0x2935ee['vertices'][_0x1c0b96]['y'],_0x8dd569[_0x1c0b96*0x3+0x2]=_0x2935ee[_0x396e50(0x126)][_0x1c0b96]['z'];}_0x27813c[_0x396e50(0x10c)]('position',new Float32BufferAttribute(_0x8dd569,0x3));if(_0x2935ee['indices']&&_0x2935ee[_0x396e50(0xf6)][_0x396e50(0x125)]>0x0)_0x27813c[_0x396e50(0x108)](_0x2935ee[_0x396e50(0xf6)]);else {const _0x51f279=[];let _0x139b44=Infinity,_0x2aaef7=-Infinity,_0x2798c1=Infinity,_0x29a9f4=-Infinity,_0x6d45f4=Infinity,_0x433e8d=-Infinity;for(let _0x5f426e=0x0;_0x5f426e<_0x2935ee['vertices'][_0x396e50(0x125)];_0x5f426e++){const _0x12141a=_0x2935ee[_0x396e50(0x126)][_0x5f426e];_0x2798c1=Math[_0x396e50(0xf0)](_0x2798c1,_0x12141a['x']),_0x29a9f4=Math['max'](_0x29a9f4,_0x12141a['x']),_0x139b44=Math[_0x396e50(0xf0)](_0x139b44,_0x12141a['y']),_0x2aaef7=Math[_0x396e50(0x112)](_0x2aaef7,_0x12141a['y']),_0x6d45f4=Math[_0x396e50(0xf0)](_0x6d45f4,_0x12141a['z']),_0x433e8d=Math[_0x396e50(0x112)](_0x433e8d,_0x12141a['z']);}const _0x3f0c79=_0x29a9f4-_0x2798c1,_0x3171e9=_0x2aaef7-_0x139b44,_0x3aba82=_0x433e8d-_0x6d45f4;if(_0x3171e9<=_0x3f0c79&&_0x3171e9<=_0x3aba82){for(let _0x4fd388=0x0;_0x4fd388<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0x4fd388++){_0x51f279['push'](_0x2935ee[_0x396e50(0x126)][_0x4fd388]['x']),_0x51f279[_0x396e50(0xfb)](_0x2935ee[_0x396e50(0x126)][_0x4fd388]['z']);}}else {if(_0x3f0c79<=_0x3171e9&&_0x3f0c79<=_0x3aba82){for(let _0xf45de6=0x0;_0xf45de6<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0xf45de6++){_0x51f279['push'](_0x2935ee['vertices'][_0xf45de6]['y']),_0x51f279[_0x396e50(0xfb)](_0x2935ee[_0x396e50(0x126)][_0xf45de6]['z']);}}else {for(let _0x3134c6=0x0;_0x3134c6<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0x3134c6++){_0x51f279[_0x396e50(0xfb)](_0x2935ee[_0x396e50(0x126)][_0x3134c6]['x']),_0x51f279[_0x396e50(0xfb)](_0x2935ee['vertices'][_0x3134c6]['y']);}}}const _0x48fa2d=this[_0x396e50(0xf5)](_0x51f279),_0x45c210=_0x48fa2d<0x0;if(_0x45c210){console[_0x396e50(0xea)]('CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...'),_0x51f279[_0x396e50(0x115)]();const _0x28b366=[];for(let _0x56647f=_0x51f279['length']-0x2;_0x56647f>=0x0;_0x56647f-=0x2){_0x28b366[_0x396e50(0xfb)](_0x51f279[_0x56647f],_0x51f279[_0x56647f+0x1]);}_0x51f279['length']=0x0,_0x51f279[_0x396e50(0xfb)](..._0x28b366);}try{const _0x12c453=_0xc27732(_0x51f279,undefined,0x2);if(_0x12c453&&_0x12c453[_0x396e50(0x125)]>0x0){if(_0x45c210)for(let _0x2fdd58=0x0;_0x2fdd58<_0x12c453[_0x396e50(0x125)];_0x2fdd58+=0x3){const _0x5ac192=_0x12c453[_0x2fdd58];_0x12c453[_0x2fdd58]=_0x12c453[_0x2fdd58+0x2],_0x12c453[_0x2fdd58+0x2]=_0x5ac192;}_0x27813c[_0x396e50(0x108)](_0x12c453);}else console['warn'](_0x396e50(0x114));}catch(_0x506457){console[_0x396e50(0x10e)](_0x396e50(0x104),_0x506457);}}if(_0x2935ee['normals']&&_0x2935ee[_0x396e50(0x11f)][_0x396e50(0x125)]===_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)]){const _0x1e9563=new Float32Array(_0x2935ee['normals'][_0x396e50(0x125)]*0x3);for(let _0x17d88e=0x0;_0x17d88e<_0x2935ee[_0x396e50(0x11f)][_0x396e50(0x125)];_0x17d88e++){_0x1e9563[_0x17d88e*0x3]=_0x2935ee[_0x396e50(0x11f)][_0x17d88e]['x'],_0x1e9563[_0x17d88e*0x3+0x1]=_0x2935ee[_0x396e50(0x11f)][_0x17d88e]['y'],_0x1e9563[_0x17d88e*0x3+0x2]=_0x2935ee[_0x396e50(0x11f)][_0x17d88e]['z'];}_0x27813c['setAttribute']('normal',new Float32BufferAttribute(_0x1e9563,0x3));}else _0x27813c[_0x396e50(0x116)]();if(_0x2935ee['uvs']&&_0x2935ee[_0x396e50(0xe7)][_0x396e50(0x125)]>0x0){const _0x4466b4=new Float32Array(_0x2935ee[_0x396e50(0xe7)]['length']*0x2);for(let _0x25565f=0x0;_0x25565f<_0x2935ee[_0x396e50(0xe7)][_0x396e50(0x125)];_0x25565f++){_0x4466b4[_0x25565f*0x2]=_0x2935ee['uvs'][_0x25565f]['x'],_0x4466b4[_0x25565f*0x2+0x1]=_0x2935ee[_0x396e50(0xe7)][_0x25565f]['y'];}_0x27813c[_0x396e50(0x10c)]('uv',new Float32BufferAttribute(_0x4466b4,0x2));}else {const _0x2fdf55=this['computeUVs'](_0x2935ee['vertices']);_0x27813c['setAttribute']('uv',new Float32BufferAttribute(_0x2fdf55,0x2));}if(_0x2935ee[_0x396e50(0x11e)]&&_0x2935ee[_0x396e50(0x11e)][_0x396e50(0x125)]===_0x2935ee[_0x396e50(0x126)]['length']){const _0xc36b3=new Float32Array(_0x2935ee[_0x396e50(0x11e)][_0x396e50(0x125)]*0x3);for(let _0x549a0d=0x0;_0x549a0d<_0x2935ee[_0x396e50(0x11e)][_0x396e50(0x125)];_0x549a0d++){_0xc36b3[_0x549a0d*0x3]=_0x2935ee['colors'][_0x549a0d]['r'],_0xc36b3[_0x549a0d*0x3+0x1]=_0x2935ee['colors'][_0x549a0d]['g'],_0xc36b3[_0x549a0d*0x3+0x2]=_0x2935ee[_0x396e50(0x11e)][_0x549a0d]['b'];}_0x27813c[_0x396e50(0x10c)](_0x396e50(0xff),new Float32BufferAttribute(_0xc36b3,0x3));}return _0x27813c;}set[_0x4612ce(0x129)](_0x10125c){const _0x4275bf=_0x4612ce;var _0xd7b9a3,_0x2f7dd9,_0x599216;this[_0x4275bf(0x10a)]&&this[_0x4275bf(0x10a)][_0x4275bf(0x121)]();const _0x8a7ea3=this['constructGeometry'](_0x10125c);this[_0x4275bf(0x10a)]=this[_0x4275bf(0x119)][_0x4275bf(0xf2)][_0x4275bf(0x110)](_0x8a7ea3),this[_0x4275bf(0x100)]['geometry']=_0x8a7ea3,this[_0x4275bf(0xfc)]={'vertices':_0x10125c[_0x4275bf(0x126)][_0x4275bf(0xf1)](_0x119b0f=>_0x119b0f[_0x4275bf(0x10b)]()),'indices':_0x10125c['indices']?[..._0x10125c['indices']]:undefined,'normals':(_0xd7b9a3=_0x10125c[_0x4275bf(0x11f)])===null||_0xd7b9a3===void 0?void 0:_0xd7b9a3['map'](_0x36e0ef=>_0x36e0ef[_0x4275bf(0x10b)]()),'uvs':(_0x2f7dd9=_0x10125c[_0x4275bf(0xe7)])===null||_0x2f7dd9===void 0?void 0:_0x2f7dd9[_0x4275bf(0xf1)](_0x2880d6=>_0x2880d6[_0x4275bf(0x10b)]()),'colors':(_0x599216=_0x10125c[_0x4275bf(0x11e)])===null||_0x599216===void 0?void 0:_0x599216[_0x4275bf(0xf1)](_0x3dfd47=>_0x3dfd47[_0x4275bf(0x10b)]())},this[_0x4275bf(0xf8)]&&this['world'][_0x4275bf(0xee)]['markRenderStateDirty']();}get['meshData'](){const _0x264831=_0x4612ce;return this[_0x264831(0xfc)];}['createDefaultObject'](){return new Mesh();}set[_0x4612ce(0x124)](_0x37b900){const _0x53b00d=_0x4612ce;if(this['threeObject'])this[_0x53b00d(0x100)][_0x53b00d(0x124)]=_0x37b900;}get[_0x4612ce(0x124)](){const _0x4e93d6=_0x4612ce;return this[_0x4e93d6(0x100)]?this[_0x4e93d6(0x100)][_0x4e93d6(0x124)]:![];}set[_0x4612ce(0x122)](_0x539556){const _0x2e25b4=_0x4612ce;if(!this[_0x2e25b4(0x100)])return;this[_0x2e25b4(0x100)][_0x2e25b4(0x122)]=_0x539556;}get[_0x4612ce(0x122)](){const _0x239541=_0x4612ce;return this[_0x239541(0x100)]?this[_0x239541(0x100)][_0x239541(0x122)]:![];}[_0x4612ce(0xfe)](){const _0xf1f4a2=_0x4612ce;let _0x4a6e7f=new Vector3();return this['getBounds']()[_0xf1f4a2(0xf7)](_0x4a6e7f),_0x4a6e7f;}[_0x4612ce(0xeb)](){const _0x4db57d=_0x4612ce;let _0x3c77d9=new Vector3(),_0x404613=this[_0x4db57d(0x128)]();return _0x404613[_0x4db57d(0xf7)](_0x3c77d9),_0x3c77d9['y']=_0x404613[_0x4db57d(0x112)]['y'],_0x3c77d9;}['getBoundsBottomCenterPosition'](){const _0x2e53fc=_0x4612ce;let _0x1637f7=new Vector3(),_0x5496c0=this[_0x2e53fc(0x128)]();return _0x5496c0[_0x2e53fc(0xf7)](_0x1637f7),_0x1637f7['y']=_0x5496c0[_0x2e53fc(0xf0)]['y'],_0x1637f7;}['destroyObject'](){const _0x1e1e77=_0x4612ce;var _0x17b729,_0x2b54b6;this[_0x1e1e77(0x100)]&&this['threeObject']['removeFromParent'](),(_0x17b729=this[_0x1e1e77(0x10a)])===null||_0x17b729===void 0?void 0:_0x17b729[_0x1e1e77(0x121)](),(_0x2b54b6=this['_materialPtr'])===null||_0x2b54b6===void 0?void 0:_0x2b54b6[_0x1e1e77(0x121)](),super[_0x1e1e77(0x11c)]();}}
|
|
130
|
+
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 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 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 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 Float32BufferAttribute(_0x462365,0x2));}else {const _0x385ef2=this[_0x44c034(0x20b)](_0x4ca257[_0x44c034(0x1e2)]);_0x3795b1['setAttribute']('uv',new 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 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 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 Vector3();return this['getBounds']()[_0xb3c652(0x1ef)](_0x47015a),_0x47015a;}[_0x5012a5(0x1f1)](){const _0x4628e9=_0x5012a5;let _0x1499a7=new Vector3(),_0x3424aa=this[_0x4628e9(0x1f3)]();return _0x3424aa['getCenter'](_0x1499a7),_0x1499a7['y']=_0x3424aa[_0x4628e9(0x208)]['y'],_0x1499a7;}['getBoundsBottomCenterPosition'](){const _0x8ff534=_0x5012a5;let _0x12bd14=new 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)]();}}
|
|
131
131
|
|
|
132
|
-
|
|
132
|
+
(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 MeshBasicMaterial(),_0x27962c=0x20,_0x541170=0x10,_0x583cdc){super(_0x569711,new SphereGeometry(_0x5a310e,_0x27962c,_0x541170),_0xbe26a0,_0x583cdc);}}
|
|
133
133
|
|
|
134
|
-
function
|
|
134
|
+
function _0x4582(_0x2edfa8,_0x29432f){_0x2edfa8=_0x2edfa8-0x188;const _0x51b638=_0x51b6();let _0x458231=_0x51b638[_0x2edfa8];return _0x458231;}const _0x442c13=_0x4582;(function(_0x40cd0c,_0x423807){const _0x395c57=_0x4582,_0x210830=_0x40cd0c();while(!![]){try{const _0x131d84=-parseInt(_0x395c57(0x196))/0x1*(parseInt(_0x395c57(0x191))/0x2)+-parseInt(_0x395c57(0x193))/0x3*(-parseInt(_0x395c57(0x1a0))/0x4)+parseInt(_0x395c57(0x195))/0x5*(parseInt(_0x395c57(0x199))/0x6)+parseInt(_0x395c57(0x192))/0x7*(-parseInt(_0x395c57(0x197))/0x8)+parseInt(_0x395c57(0x19b))/0x9+-parseInt(_0x395c57(0x18f))/0xa+parseInt(_0x395c57(0x18e))/0xb;if(_0x131d84===_0x423807)break;else _0x210830['push'](_0x210830['shift']());}catch(_0x32ecb0){_0x210830['push'](_0x210830['shift']());}}}(_0x51b6,0xabc0b));function _0x51b6(){const _0x1feba0=['pointerdown','52758jyTSza','parentNode','11282670ICnCoy','threeObject','element','remove','isHoverEnabled','1308WzFkuk','LYObject','innerHTML','stopPropagation','obj','destroy','pointerEvents','27945786LShAMx','8946980zrRmTQ','setVisible','2KxetFV','7qNoTki','258gjcRnL','isClickEnabled','55lCgnBx','1301267NUSqoq','8156296SKIjQz'];_0x51b6=function(){return _0x1feba0;};return _0x51b6();}class LabelComponent extends SceneComponent{get['threeObject'](){const _0x311972=_0x4582;return this[_0x311972(0x18b)];}set['threeObject'](_0x189207){const _0x39e330=_0x4582;this[_0x39e330(0x18b)]=_0x189207,this['obj']&&(this[_0x39e330(0x18b)]['userData'][_0x39e330(0x188)]=this);}constructor(_0x5a53f6,_0x1a08c3,_0x54b7e0={},_0x3af52d){const _0x41184f=_0x4582;super(_0x5a53f6,_0x3af52d),this[_0x41184f(0x18b)]=new CSS2DObject(_0x1a08c3);const _0x282d12=_0x54b7e0['center']||new Vector2$1(0.5,0x1);_0x54b7e0['enablePointerEvents']&&(_0x1a08c3['style'][_0x41184f(0x18d)]='auto',_0x1a08c3['addEventListener'](_0x41184f(0x198),_0x2214bc=>{const _0x4a0b32=_0x41184f;_0x2214bc[_0x4a0b32(0x18a)]();})),this[_0x41184f(0x18b)]['center']['copy'](_0x282d12);}set[_0x442c13(0x19f)](_0xefa008){return;}set[_0x442c13(0x194)](_0x3e0361){return;}['setVisible'](_0x3e75c4){const _0x2abded=_0x442c13;super[_0x2abded(0x190)](_0x3e75c4);}[_0x442c13(0x18c)](){const _0x199fd4=_0x442c13;this[_0x199fd4(0x19c)][_0x199fd4(0x19d)]&&this[_0x199fd4(0x19c)][_0x199fd4(0x19d)][_0x199fd4(0x19a)]&&(this[_0x199fd4(0x19c)][_0x199fd4(0x19d)][_0x199fd4(0x189)]='',this[_0x199fd4(0x19c)][_0x199fd4(0x19d)][_0x199fd4(0x19e)]()),super[_0x199fd4(0x18c)]();}}
|
|
135
135
|
|
|
136
|
-
function _0x7ce3(_0x313e71,_0x1700b3){_0x313e71=_0x313e71-0xcc;const _0x314361=_0x3143();let _0x7ce3f4=_0x314361[_0x313e71];return _0x7ce3f4;}const _0x2276d1=_0x7ce3;(function(_0x19621e,_0x25229a){const _0x3ba4b7=_0x7ce3,_0x4f5fb8=_0x19621e();while(!![]){try{const _0x140f41=parseInt(_0x3ba4b7(0xe4))/0x1*(-parseInt(_0x3ba4b7(0xe9))/0x2)+-parseInt(_0x3ba4b7(0xf5))/0x3*(-parseInt(_0x3ba4b7(0x13b))/0x4)+-parseInt(_0x3ba4b7(0x128))/0x5+parseInt(_0x3ba4b7(0xdc))/0x6+-parseInt(_0x3ba4b7(0xf8))/0x7*(-parseInt(_0x3ba4b7(0xf6))/0x8)+-parseInt(_0x3ba4b7(0x102))/0x9+parseInt(_0x3ba4b7(0xd0))/0xa;if(_0x140f41===_0x25229a)break;else _0x4f5fb8['push'](_0x4f5fb8['shift']());}catch(_0x1689ed){_0x4f5fb8['push'](_0x4f5fb8['shift']());}}}(_0x3143,0x2f975));function _0x3143(){const _0x2e5d3d=['fog','count','name','fromBufferAttribute','obj','getIndex','startsWith','100%','destroy','1877694KLPtTw','threeObject','test','pointerEvents','hidden','height','none','cameraWorldPos','321031rrJiGI','setupOcclusionTick','background','remove','CSS3DWebPanelComponent','2xQRAkX','polygonOffset','auto','depthWrite','panelWorldPos','backfaceVisibility','depthMaskMeshes','lyCameraDragging','blendDstAlpha','setFromUnitVectors','toneMapped','abs','237BRnTGu','568IIyyju','receiveShadow','17465fYFtas','geometry','src','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','position','world','LYObject','tickFunc','crossVectors','opacity','366795uCIDGP','floor','push','wrapper','round','threeObject\x20is\x20null','setAttribute','isArray','blendSrcAlpha','normal','loading','style','canvas','set','app','occlusionCandidates','boundingBox','material','wallboard','__alpha_punch','div','parent','__css3d_web','traverse','isMesh','rayIgnored','__depth_mask','viewport','subVectors','meshes','length','camera','polygonOffsetFactor','targetMesh','divideScalar','depthTest','removeFromParent','allowfullscreen','1883775LFmWhh','lengthSq','transparent','scene','width','min','raycaster','blendDst','intersectObjects','colorWrite','iframe','overflow','lazy','quaternion','filter','needsUpdate','setupMasks','true','rayDir','18488HIVdqy','blendSrc','scale','outer','getSize','distance','getWorldPosition','computeBoundingBox','blending','createDefaultObject','dispose','add','createElement','polygonOffsetUnits','addTickingFunction','renderOrder','userData','alphaPunchMeshes','max','dataset','normalize','trim','782420EMofNW','castShadow','getAttribute'];_0x3143=function(){return _0x2e5d3d;};return _0x3143();}function normalizeAssetUrl(_0x4d9c2a){const _0x2c07c3=_0x7ce3,_0x55f765=String(_0x4d9c2a!==null&&_0x4d9c2a!==void 0?_0x4d9c2a:'')[_0x2c07c3(0xcf)]();if(!_0x55f765)return '';if(/^https?:\/\//i[_0x2c07c3(0xde)](_0x55f765))return _0x55f765;if(_0x55f765[_0x2c07c3(0xd9)]('/'))return _0x55f765;return '/'+_0x55f765;}function getMeshPlaneLocalSize(_0x5e5e9c){const _0x314eeb=_0x7ce3,_0x1a91df=_0x5e5e9c['geometry'];if(!_0x1a91df)return {'width':0x1,'height':0x1};if(!_0x1a91df['boundingBox'])_0x1a91df[_0x314eeb(0x142)]();const _0xcbb44d=_0x1a91df[_0x314eeb(0x112)];if(!_0xcbb44d)return {'width':0x1,'height':0x1};const _0x247ffe=_0xcbb44d[_0x314eeb(0x13f)](new Vector3$1()),_0x7b40f7=[Math['abs'](_0x247ffe['x']),Math[_0x314eeb(0xf4)](_0x247ffe['y']),Math[_0x314eeb(0xf4)](_0x247ffe['z'])]['sort']((_0x1625d7,_0x44b377)=>_0x44b377-_0x1625d7),_0x78f2cb=Math['max'](0.0001,_0x7b40f7[0x0]||0x1),_0x3e6df2=Math[_0x314eeb(0xcc)](0.0001,_0x7b40f7[0x1]||_0x78f2cb);return {'width':_0x78f2cb,'height':_0x3e6df2};}function getMeshLocalNormal(_0x4ac840){const _0x1e9cf1=_0x7ce3,_0x2d3263=_0x4ac840['geometry'];if(!_0x2d3263)return new Vector3$1(0x0,0x0,0x1);const _0x59ace2=_0x2d3263[_0x1e9cf1(0xd2)](_0x1e9cf1(0x10b));if(_0x59ace2&&_0x59ace2[_0x1e9cf1(0xd4)]>0x0){const _0x902589=new Vector3$1(),_0x14ab46=new Vector3$1();for(let _0x480164=0x0;_0x480164<_0x59ace2[_0x1e9cf1(0xd4)];_0x480164++){_0x14ab46['fromBufferAttribute'](_0x59ace2,_0x480164),_0x902589[_0x1e9cf1(0x146)](_0x14ab46);}if(_0x902589[_0x1e9cf1(0x129)]()>1e-12)return _0x902589['normalize']();}const _0x32ba2a=_0x2d3263[_0x1e9cf1(0xd2)]('position');if(!_0x32ba2a||_0x32ba2a[_0x1e9cf1(0xd4)]<0x3)return new Vector3$1(0x0,0x0,0x1);const _0x2327bd=_0x2d3263[_0x1e9cf1(0xd8)](),_0x3b1c56=new Vector3$1(),_0x3c1306=new Vector3$1(),_0x248c0c=new Vector3$1(),_0xf105fc=new Vector3$1(),_0x24c588=new Vector3$1(),_0x3d0b6d=new Vector3$1(),_0x103423=new Vector3$1(),_0x254b9c=_0x2327bd?Math[_0x1e9cf1(0x103)](_0x2327bd[_0x1e9cf1(0xd4)]/0x3):Math[_0x1e9cf1(0x103)](_0x32ba2a[_0x1e9cf1(0xd4)]/0x3);for(let _0x1d41eb=0x0;_0x1d41eb<_0x254b9c;_0x1d41eb++){const _0x170af4=_0x2327bd?_0x2327bd['getX'](_0x1d41eb*0x3+0x0):_0x1d41eb*0x3+0x0,_0x389efd=_0x2327bd?_0x2327bd['getX'](_0x1d41eb*0x3+0x1):_0x1d41eb*0x3+0x1,_0x36022a=_0x2327bd?_0x2327bd['getX'](_0x1d41eb*0x3+0x2):_0x1d41eb*0x3+0x2;_0x3b1c56[_0x1e9cf1(0xd6)](_0x32ba2a,_0x170af4),_0x3c1306['fromBufferAttribute'](_0x32ba2a,_0x389efd),_0x248c0c[_0x1e9cf1(0xd6)](_0x32ba2a,_0x36022a),_0xf105fc[_0x1e9cf1(0x11e)](_0x3c1306,_0x3b1c56),_0x24c588[_0x1e9cf1(0x11e)](_0x248c0c,_0x3b1c56),_0x103423[_0x1e9cf1(0x100)](_0xf105fc,_0x24c588);if(_0x103423[_0x1e9cf1(0x129)]()<1e-14)continue;_0x3d0b6d['add'](_0x103423);}if(_0x3d0b6d[_0x1e9cf1(0x129)]()<1e-12)return new Vector3$1(0x0,0x0,0x1);return _0x3d0b6d[_0x1e9cf1(0xce)]();}function collectOcclusionMeshes(_0xe85836){const _0x1f324b=_0x7ce3,_0x335124=[];return _0xe85836[_0x1f324b(0x119)](_0x360648=>{const _0x12afcb=_0x1f324b;var _0x18ea18;const _0x29b5ff=_0x360648;if(!(_0x29b5ff===null||_0x29b5ff===void 0?void 0:_0x29b5ff[_0x12afcb(0x11a)]))return;if(!_0x360648['visible'])return;if((_0x18ea18=_0x360648['userData'])===null||_0x18ea18===void 0?void 0:_0x18ea18['rayIgnored'])return;_0x335124[_0x12afcb(0x104)](_0x360648);}),_0x335124;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x2276d1(0xdd)](){const _0x48d413=_0x2276d1;if(!this[_0x48d413(0xd7)])throw new Error(_0x48d413(0x107));return this[_0x48d413(0xd7)];}set[_0x2276d1(0xdd)](_0x5ece2a){const _0x4adaed=_0x2276d1;this[_0x4adaed(0xd7)]=_0x5ece2a,this[_0x4adaed(0xd7)]&&(this[_0x4adaed(0xd7)][_0x4adaed(0x14b)][_0x4adaed(0xfe)]=this);}constructor(_0x1b60e0,_0x13e720,_0x1091bd,_0x163af0){const _0x4e10ab=_0x2276d1;super(_0x1b60e0,_0x163af0),this['wrapper']=null,this['iframe']=null,this[_0x4e10ab(0x123)]=null,this[_0x4e10ab(0xef)]=[],this['alphaPunchMeshes']=[],this['tickFunc']=null,this['cameraWorldPos']=new Vector3$1(),this[_0x4e10ab(0xed)]=new Vector3$1(),this[_0x4e10ab(0x13a)]=new Vector3$1(),this[_0x4e10ab(0x12e)]=new Raycaster$1(),this['occlusionCandidates']=[],this[_0x4e10ab(0xd5)]=_0x4e10ab(0xe8),this[_0x4e10ab(0x11f)]=_0x13e720[_0x4e10ab(0x136)](_0x18cebc=>!!_0x18cebc);const _0x51186e=normalizeAssetUrl(_0x1091bd);if(!_0x51186e||!this[_0x4e10ab(0x11f)][_0x4e10ab(0x120)])return;this[_0x4e10ab(0x123)]=this[_0x4e10ab(0x11f)][0x0];const _0x506598=getMeshPlaneLocalSize(this['targetMesh']),_0xcacadc=0x4b0,_0x2412b9=Math[_0x4e10ab(0xcc)](0x200,Math[_0x4e10ab(0x12d)](0x1000,Math[_0x4e10ab(0x106)](_0x506598[_0x4e10ab(0x12c)]*_0xcacadc))),_0x1104f8=Math[_0x4e10ab(0xcc)](0x200,Math[_0x4e10ab(0x12d)](0x1000,Math[_0x4e10ab(0x106)](_0x506598[_0x4e10ab(0xe1)]*_0xcacadc))),_0x4d7c5a=document[_0x4e10ab(0x147)]('div');_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0x12c)]=_0x2412b9+'px',_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0xe1)]=_0x1104f8+'px',_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0xdf)]=_0x4e10ab(0xeb),_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0x133)]=_0x4e10ab(0xe0),_0x4d7c5a['style']['background']='transparent',_0x4d7c5a[_0x4e10ab(0x10d)]['backfaceVisibility']=_0x4e10ab(0xe0),this['wrapper']=_0x4d7c5a;const _0xab1122=document['createElement'](_0x4e10ab(0x132));_0xab1122['src']=_0x51186e,_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0x12c)]=_0x4e10ab(0xda),_0xab1122[_0x4e10ab(0x10d)]['height']='100%',_0xab1122[_0x4e10ab(0x10d)]['border']='0',_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0xe6)]=_0x4e10ab(0x12a),_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0xdf)]=_0x4e10ab(0xeb),_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0xee)]='hidden',_0xab1122[_0x4e10ab(0x108)]('allow',_0x4e10ab(0xfb)),_0xab1122[_0x4e10ab(0x108)](_0x4e10ab(0x127),_0x4e10ab(0x139)),_0xab1122['setAttribute'](_0x4e10ab(0x10c),_0x4e10ab(0x134)),_0x4d7c5a['appendChild'](_0xab1122),this[_0x4e10ab(0x132)]=_0xab1122;const _0x28e750=new CSS3DObject(_0x4d7c5a);_0x28e750[_0x4e10ab(0xd5)]=(this[_0x4e10ab(0x123)]['name']||_0x4e10ab(0x114))+_0x4e10ab(0x118),_0x28e750[_0x4e10ab(0xfc)][_0x4e10ab(0x10f)](0x0,0x0,0.001),_0x28e750[_0x4e10ab(0x135)][_0x4e10ab(0xf2)](new Vector3$1(0x0,0x0,0x1),getMeshLocalNormal(this[_0x4e10ab(0x123)])),_0x28e750[_0x4e10ab(0x13d)][_0x4e10ab(0x10f)](_0x506598[_0x4e10ab(0x12c)]/_0x2412b9,_0x506598[_0x4e10ab(0xe1)]/_0x1104f8,0x1),this[_0x4e10ab(0xdd)]=_0x28e750,this[_0x4e10ab(0x123)][_0x4e10ab(0x146)](_0x28e750),this[_0x4e10ab(0x138)](),this['occlusionCandidates']=collectOcclusionMeshes(this[_0x4e10ab(0x110)][_0x4e10ab(0xfd)][_0x4e10ab(0x12b)]),this['setupOcclusionTick']();}[_0x2276d1(0x144)](){const _0x26ccd2=_0x2276d1;return new CSS3DObject(document[_0x26ccd2(0x147)](_0x26ccd2(0x116)));}[_0x2276d1(0x138)](){const _0x3b3ecc=_0x2276d1;var _0x6ee9b4;for(const _0x1af290 of this['meshes']){_0x1af290[_0x3b3ecc(0x14a)]=Math['min']((_0x6ee9b4=_0x1af290[_0x3b3ecc(0x14a)])!==null&&_0x6ee9b4!==void 0?_0x6ee9b4:0x0,-1e3),_0x1af290[_0x3b3ecc(0xd1)]=![],_0x1af290[_0x3b3ecc(0xf7)]=![];const _0xad8f54=Array[_0x3b3ecc(0x109)](_0x1af290[_0x3b3ecc(0x113)])?_0x1af290['material']:[_0x1af290['material']];for(const _0x493f85 of _0xad8f54){const _0x3be746=_0x493f85;if(!_0x3be746)continue;_0x3be746[_0x3b3ecc(0x12a)]=!![],_0x3be746[_0x3b3ecc(0x101)]=0x0,_0x3be746[_0x3b3ecc(0x131)]=![],_0x3be746[_0x3b3ecc(0x125)]=![],_0x3be746[_0x3b3ecc(0xec)]=![],_0x3be746[_0x3b3ecc(0x137)]=!![];}const _0x349c9b=_0x1af290[_0x3b3ecc(0xf9)];if(!_0x349c9b)continue;const _0x44ecb8=new MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x44ecb8['colorWrite']=![],_0x44ecb8[_0x3b3ecc(0xf3)]=![],_0x44ecb8[_0x3b3ecc(0xd3)]=![],_0x44ecb8[_0x3b3ecc(0x143)]=NoBlending,_0x44ecb8[_0x3b3ecc(0xea)]=!![],_0x44ecb8[_0x3b3ecc(0x122)]=-4,_0x44ecb8[_0x3b3ecc(0x148)]=-4;const _0xe1d513=new Mesh$1(_0x349c9b,_0x44ecb8);_0xe1d513[_0x3b3ecc(0xd5)]=(_0x1af290[_0x3b3ecc(0xd5)]||_0x3b3ecc(0x10e))+_0x3b3ecc(0x11c),_0xe1d513[_0x3b3ecc(0x14b)][_0x3b3ecc(0x11b)]=!![],_0xe1d513[_0x3b3ecc(0x14a)]=Math['min'](_0x1af290['renderOrder']-0x1,-2e3),_0xe1d513[_0x3b3ecc(0xfc)][_0x3b3ecc(0x10f)](0x0,0x0,0x0),_0xe1d513[_0x3b3ecc(0x135)][_0x3b3ecc(0x10f)](0x0,0x0,0x0,0x1),_0xe1d513[_0x3b3ecc(0x13d)]['set'](0x1,0x1,0x1),_0x1af290[_0x3b3ecc(0x146)](_0xe1d513),this[_0x3b3ecc(0xef)][_0x3b3ecc(0x104)](_0xe1d513);const _0x1e1740=new MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':CustomBlending});_0x1e1740['toneMapped']=![],_0x1e1740[_0x3b3ecc(0xd3)]=![],_0x1e1740['blendEquation']=AddEquation,_0x1e1740[_0x3b3ecc(0x13c)]=ZeroFactor,_0x1e1740[_0x3b3ecc(0x12f)]=OneFactor,_0x1e1740[_0x3b3ecc(0x10a)]=ZeroFactor,_0x1e1740[_0x3b3ecc(0xf1)]=ZeroFactor;const _0x11502f=new Mesh$1(_0x349c9b,_0x1e1740);_0x11502f[_0x3b3ecc(0xd5)]=(_0x1af290[_0x3b3ecc(0xd5)]||_0x3b3ecc(0x10e))+_0x3b3ecc(0x115),_0x11502f['userData'][_0x3b3ecc(0x11b)]=!![],_0x11502f['renderOrder']=Math[_0x3b3ecc(0xcc)](_0x1af290[_0x3b3ecc(0x14a)]+0x3e8,0x3e8),_0x11502f['position'][_0x3b3ecc(0x10f)](0x0,0x0,0x0),_0x11502f['quaternion'][_0x3b3ecc(0x10f)](0x0,0x0,0x0,0x1),_0x11502f[_0x3b3ecc(0x13d)][_0x3b3ecc(0x10f)](0x1,0x1,0x1),_0x1af290['add'](_0x11502f),this['alphaPunchMeshes']['push'](_0x11502f);}}[_0x2276d1(0xe5)](){const _0x5d4f20=_0x2276d1;let _0x1d6923=0x0;this[_0x5d4f20(0xff)]=_0x496598=>{const _0x2ed046=_0x5d4f20;var _0x1b99d;if(!this[_0x2ed046(0x123)]||!this[_0x2ed046(0x105)]||!this[_0x2ed046(0x132)])return;_0x1d6923+=_0x496598;if(_0x1d6923<0.05)return;_0x1d6923=0x0;const _0x44dcb9=this['app'][_0x2ed046(0x121)];_0x44dcb9['getWorldPosition'](this[_0x2ed046(0xe3)]),this[_0x2ed046(0x123)][_0x2ed046(0x141)](this[_0x2ed046(0xed)]),this[_0x2ed046(0x13a)][_0x2ed046(0x11e)](this[_0x2ed046(0xed)],this[_0x2ed046(0xe3)]);const _0x42aea9=this[_0x2ed046(0x13a)]['length']();if(_0x42aea9<=0.00001)return;this['rayDir'][_0x2ed046(0x124)](_0x42aea9),this[_0x2ed046(0x12e)][_0x2ed046(0x10f)](this[_0x2ed046(0xe3)],this[_0x2ed046(0x13a)]);const _0x65e613=this['raycaster'][_0x2ed046(0x130)](this[_0x2ed046(0x111)],!![]);let _0x36b598=![];const _0x3f0d03=_0x42aea9-0.02;for(const _0x5b4cf7 of _0x65e613){if(_0x5b4cf7[_0x2ed046(0x140)]>=_0x3f0d03)break;let _0x66c960=_0x5b4cf7['object'],_0x4a375b=!![];while(_0x66c960){if(!_0x66c960['visible']){_0x4a375b=![];break;}_0x66c960=_0x66c960[_0x2ed046(0x117)];}if(!_0x4a375b)continue;_0x66c960=_0x5b4cf7['object'];let _0x232bce=![];while(_0x66c960){if(this[_0x2ed046(0x11f)]['includes'](_0x66c960)){_0x232bce=!![];break;}_0x66c960=_0x66c960['parent'];}if(_0x232bce)continue;_0x36b598=!![];break;}const _0x2e135b=((_0x1b99d=this['app'][_0x2ed046(0x11d)][_0x2ed046(0x13e)])===null||_0x1b99d===void 0?void 0:_0x1b99d[_0x2ed046(0xcd)][_0x2ed046(0xf0)])==='1',_0x5707ea=_0x2e135b||_0x36b598?_0x2ed046(0xe2):_0x2ed046(0xeb);this[_0x2ed046(0x105)][_0x2ed046(0x10d)]['pointerEvents']!==_0x5707ea&&(this['wrapper'][_0x2ed046(0x10d)][_0x2ed046(0xdf)]=_0x5707ea),this[_0x2ed046(0x132)][_0x2ed046(0x10d)]['pointerEvents']!==_0x5707ea&&(this[_0x2ed046(0x132)][_0x2ed046(0x10d)][_0x2ed046(0xdf)]=_0x5707ea);},this[_0x5d4f20(0x110)][_0x5d4f20(0x149)](this[_0x5d4f20(0xff)]);}['destroy'](){const _0x5c5a55=_0x2276d1;this[_0x5c5a55(0xff)]&&(this[_0x5c5a55(0x110)]['removeTickingFunction'](this[_0x5c5a55(0xff)]),this['tickFunc']=null);for(const _0x2fceba of this[_0x5c5a55(0xef)]){_0x2fceba['removeFromParent']();const _0x1d33a3=_0x2fceba['material'];if(Array[_0x5c5a55(0x109)](_0x1d33a3)){for(const _0x5c32f4 of _0x1d33a3)_0x5c32f4===null||_0x5c32f4===void 0?void 0:_0x5c32f4[_0x5c5a55(0x145)]();}else _0x1d33a3===null||_0x1d33a3===void 0?void 0:_0x1d33a3['dispose']();}this[_0x5c5a55(0xef)]['length']=0x0;for(const _0x58dd46 of this[_0x5c5a55(0x14c)]){_0x58dd46[_0x5c5a55(0x126)]();const _0x268dbc=_0x58dd46[_0x5c5a55(0x113)];if(Array[_0x5c5a55(0x109)](_0x268dbc)){for(const _0x45e219 of _0x268dbc)_0x45e219===null||_0x45e219===void 0?void 0:_0x45e219[_0x5c5a55(0x145)]();}else _0x268dbc===null||_0x268dbc===void 0?void 0:_0x268dbc['dispose']();}this[_0x5c5a55(0x14c)][_0x5c5a55(0x120)]=0x0,this[_0x5c5a55(0x132)]&&(this['iframe'][_0x5c5a55(0xfa)]='about:blank',this['iframe']=null),this[_0x5c5a55(0x105)]&&(this[_0x5c5a55(0x105)][_0x5c5a55(0xe7)](),this['wrapper']=null),this[_0x5c5a55(0x123)]=null,this[_0x5c5a55(0x111)]=[],super[_0x5c5a55(0xdb)]();}}
|
|
136
|
+
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 Vector3$1()),_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 Vector3$1(0x0,0x0,0x1);const _0x5623c8=_0x25c0e6[_0x1d7878(0xf9)](_0x1d7878(0xb5));if(_0x5623c8&&_0x5623c8[_0x1d7878(0xa1)]>0x0){const _0x231519=new Vector3$1(),_0x30073e=new Vector3$1();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 Vector3$1(0x0,0x0,0x1);const _0x28e2d6=_0x25c0e6[_0x1d7878(0xee)](),_0x22857d=new Vector3$1(),_0x6f2a2e=new Vector3$1(),_0x323189=new Vector3$1(),_0x25bbb0=new Vector3$1(),_0x6c0e7f=new Vector3$1(),_0x430955=new Vector3$1(),_0x53f78a=new Vector3$1(),_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 Vector3$1(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 Vector3$1(),this['panelWorldPos']=new Vector3$1(),this[_0x2d950c(0xfc)]=new Vector3$1(),this[_0x2d950c(0xde)]=new Raycaster$1(),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 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 Vector3$1(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 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 MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x3eb2ff[_0x574fa2(0xd2)]=![],_0x3eb2ff[_0x574fa2(0xec)]=![],_0x3eb2ff[_0x574fa2(0x97)]=![],_0x3eb2ff[_0x574fa2(0x10a)]=NoBlending,_0x3eb2ff[_0x574fa2(0xad)]=!![],_0x3eb2ff[_0x574fa2(0x96)]=-4,_0x3eb2ff[_0x574fa2(0xc6)]=-4;const _0x30d503=new Mesh$1(_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 MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':CustomBlending});_0x510e3f[_0x574fa2(0xec)]=![],_0x510e3f[_0x574fa2(0x97)]=![],_0x510e3f['blendEquation']=AddEquation,_0x510e3f[_0x574fa2(0x109)]=ZeroFactor,_0x510e3f['blendDst']=OneFactor,_0x510e3f['blendSrcAlpha']=ZeroFactor,_0x510e3f[_0x574fa2(0xb1)]=ZeroFactor;const _0x5d1c78=new Mesh$1(_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)]();}}
|
|
137
137
|
|
|
138
|
-
const
|
|
138
|
+
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 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 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 MeshBasicMaterial({'color':new Color(this[_0x3c6b9a(0x143)]),'side':DoubleSide$1}),new MeshBasicMaterial({'color':new Color(this[_0x3c6b9a(0x158)]),'side':DoubleSide$1})]:_0x48895c=[new MeshStandardMaterial({'color':new Color(this[_0x3c6b9a(0x143)]),'side':DoubleSide$1}),new MeshStandardMaterial({'color':new Color(this[_0x3c6b9a(0x158)]),'side':DoubleSide$1})],this['_mesh']=new 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 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();}
|
|
139
139
|
|
|
140
|
-
(function(
|
|
140
|
+
(function(_0x2a2b24,_0x129333){const _0x1e7025=_0x454b,_0x7a6086=_0x2a2b24();while(!![]){try{const _0x4a0e38=-parseInt(_0x1e7025(0x1d7))/0x1+-parseInt(_0x1e7025(0x1d8))/0x2+-parseInt(_0x1e7025(0x1da))/0x3*(-parseInt(_0x1e7025(0x1d3))/0x4)+-parseInt(_0x1e7025(0x1d9))/0x5*(parseInt(_0x1e7025(0x1d0))/0x6)+parseInt(_0x1e7025(0x1d6))/0x7*(-parseInt(_0x1e7025(0x1d4))/0x8)+-parseInt(_0x1e7025(0x1d5))/0x9*(parseInt(_0x1e7025(0x1d1))/0xa)+-parseInt(_0x1e7025(0x1d2))/0xb*(-parseInt(_0x1e7025(0x1cf))/0xc);if(_0x4a0e38===_0x129333)break;else _0x7a6086['push'](_0x7a6086['shift']());}catch(_0x5a7f83){_0x7a6086['push'](_0x7a6086['shift']());}}}(_0x142d,0x90b28));function _0x454b(_0x3ddf33,_0x45c504){_0x3ddf33=_0x3ddf33-0x1cf;const _0x142dc3=_0x142d();let _0x454b49=_0x142dc3[_0x3ddf33];return _0x454b49;}const DefaultSSRParam={'type':PostProcessStepType['ScreenSpaceReflection'],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};function _0x142d(){const _0x33916b=['703368BoMGhr','63sgzRNa','235739FklzXv','2254944IKBKjF','745595QBgksc','39UqcNPt','15718272ZXxqMH','6wrkRTI','40duCcLO','22qcWuFQ','239068QxnnFM','870280hClNVF'];_0x142d=function(){return _0x33916b;};return _0x142d();}
|
|
141
141
|
|
|
142
|
-
function
|
|
142
|
+
const _0x599b2e=_0x513f;function _0x513f(_0x4d9c69,_0x4c14f4){_0x4d9c69=_0x4d9c69-0x147;const _0x53540a=_0x5354();let _0x513f77=_0x53540a[_0x4d9c69];return _0x513f77;}function _0x5354(){const _0x30a15f=['324987lCNAhB','1270362mGnKbm','1987349WKdyHW','596568mIWnyp','133004FAXlJO','5vQNltR','970026zWrMqA','Antialiasing','940160DOzEFg'];_0x5354=function(){return _0x30a15f;};return _0x5354();}(function(_0x2a7081,_0x4728d8){const _0x42b98c=_0x513f,_0x17b793=_0x2a7081();while(!![]){try{const _0x369715=parseInt(_0x42b98c(0x14b))/0x1+-parseInt(_0x42b98c(0x14e))/0x2+parseInt(_0x42b98c(0x148))/0x3+-parseInt(_0x42b98c(0x14f))/0x4+-parseInt(_0x42b98c(0x147))/0x5*(parseInt(_0x42b98c(0x14c))/0x6)+parseInt(_0x42b98c(0x14d))/0x7+-parseInt(_0x42b98c(0x14a))/0x8;if(_0x369715===_0x4728d8)break;else _0x17b793['push'](_0x17b793['shift']());}catch(_0x490d6f){_0x17b793['push'](_0x17b793['shift']());}}}(_0x5354,0x4245e));const DefaultAAParams={'type':PostProcessStepType[_0x599b2e(0x149)],'method':'fxaa'};
|
|
143
143
|
|
|
144
|
-
const
|
|
144
|
+
const _0x242984=_0x235e;function _0x3432(){const _0x1f06ba=['57769987mrrHkO','name','138Saifhb','360306SeJOti','2981640CXlaNU','rayIgnored','10440VVzSZa','WorldDynamic','world','destroyDebugObject','threeObject','parent','debugColor','_onEndOverlapDelegate','_debugEnabled','userData','675hWpiDf','onAddedToWorld','Block','ColliderComponent','collisionEnabled','disableDebug','createDebugObject','_onHitDelegate','assign','_responseMap','remove','call','Ignore','onDebugTick','31805fWxrMX','unregisterCollider','getCollisionResponse','debugOpacity','7RBsThN','setCollisionResponses','generateHitEvents','debugEnabled','_generateHitEvents','generateOverlapEvents','getMutualResponse','physics','_collisionEnabled','8TYSkjT','_registeredInWorld','enableDebug','objectType','_debugObject','onHitDelegate','4365939JvMWlx','traverse','tick','viewport','onDebugStyleChanged','6518984reMpXo','_objectType','_debugColor','_generateOverlapEvents','registerCollider','_onBeginOverlapDelegate'];_0x3432=function(){return _0x1f06ba;};return _0x3432();}(function(_0x1ab28b,_0x355060){const _0x4806bf=_0x235e,_0x5c3d76=_0x1ab28b();while(!![]){try{const _0x2173fe=-parseInt(_0x4806bf(0x9f))/0x1*(parseInt(_0x4806bf(0xb3))/0x2)+-parseInt(_0x4806bf(0xa5))/0x3+-parseInt(_0x4806bf(0xb4))/0x4+parseInt(_0x4806bf(0x92))/0x5*(parseInt(_0x4806bf(0xb2))/0x6)+-parseInt(_0x4806bf(0x96))/0x7*(parseInt(_0x4806bf(0xaa))/0x8)+parseInt(_0x4806bf(0xc0))/0x9*(-parseInt(_0x4806bf(0xb6))/0xa)+parseInt(_0x4806bf(0xb0))/0xb;if(_0x2173fe===_0x355060)break;else _0x5c3d76['push'](_0x5c3d76['shift']());}catch(_0x38438a){_0x5c3d76['push'](_0x5c3d76['shift']());}}}(_0x3432,0xd2b18));function _0x235e(_0x21e008,_0x5dbb78){_0x21e008=_0x21e008-0x8c;const _0x3432e0=_0x3432();let _0x235e1b=_0x3432e0[_0x21e008];return _0x235e1b;}class ColliderComponent extends SceneComponent{get[_0x242984(0x99)](){const _0x327e1b=_0x242984;return this[_0x327e1b(0xbe)];}set[_0x242984(0x99)](_0x40d2ec){const _0x5a99d6=_0x242984;var _0x1c7456,_0x1665b2,_0x3c7a6d;if(this['_debugEnabled']===_0x40d2ec)return;this['_debugEnabled']=_0x40d2ec,this[_0x5a99d6(0xbe)]?this[_0x5a99d6(0xa1)]():this[_0x5a99d6(0xc5)](),(_0x3c7a6d=(_0x1665b2=(_0x1c7456=this['world'])===null||_0x1c7456===void 0?void 0:_0x1c7456[_0x5a99d6(0xa8)])===null||_0x1665b2===void 0?void 0:_0x1665b2['markRenderStateDirty'])===null||_0x3c7a6d===void 0?void 0:_0x3c7a6d[_0x5a99d6(0x8f)](_0x1665b2);}get[_0x242984(0xbc)](){const _0x41f134=_0x242984;return this[_0x41f134(0xac)];}set['debugColor'](_0x5714c1){const _0x50f0fa=_0x242984;this[_0x50f0fa(0xac)]=_0x5714c1,this[_0x50f0fa(0xbe)]&&this[_0x50f0fa(0xa9)]();}get[_0x242984(0x95)](){return this['_debugOpacity'];}set[_0x242984(0x95)](_0x3766d9){const _0x67efa0=_0x242984;this['_debugOpacity']=_0x3766d9,this[_0x67efa0(0xbe)]&&this[_0x67efa0(0xa9)]();}get['collisionEnabled'](){const _0xcde405=_0x242984;return this[_0xcde405(0x9e)];}set[_0x242984(0xc4)](_0x3c7644){this['_collisionEnabled']=_0x3c7644;}get[_0x242984(0x9b)](){return this['_generateOverlapEvents'];}set[_0x242984(0x9b)](_0x363cbc){const _0x1b38c7=_0x242984;this[_0x1b38c7(0xad)]=_0x363cbc;}get[_0x242984(0x98)](){const _0x5f211f=_0x242984;return this[_0x5f211f(0x9a)];}set[_0x242984(0x98)](_0x58aa1f){const _0x43baae=_0x242984;this[_0x43baae(0x9a)]=_0x58aa1f;}get[_0x242984(0xa2)](){const _0x383eff=_0x242984;return this[_0x383eff(0xab)];}set['objectType'](_0x471157){this['_objectType']=_0x471157;}get['onBeginOverlapDelegate'](){const _0x1a0e6f=_0x242984;return this[_0x1a0e6f(0xaf)];}get['onEndOverlapDelegate'](){const _0x331cbb=_0x242984;return this[_0x331cbb(0xbd)];}get[_0x242984(0xa4)](){return this['_onHitDelegate'];}constructor(_0x3af4bb,_0xdc9866){const _0xa6f604=_0x242984;super(_0x3af4bb,_0xdc9866),this[_0xa6f604(0x9e)]=!![],this[_0xa6f604(0xad)]=!![],this['_generateHitEvents']=!![],this[_0xa6f604(0xab)]=CollisionChannel[_0xa6f604(0xb7)],this['_responseMap']={},this['_onBeginOverlapDelegate']=new Delegate(),this[_0xa6f604(0xbd)]=new Delegate(),this[_0xa6f604(0xc7)]=new Delegate(),this[_0xa6f604(0xa0)]=![],this[_0xa6f604(0xbe)]=![],this[_0xa6f604(0xac)]=0xff00,this['_debugOpacity']=0.25,this[_0xa6f604(0xa3)]=null,this[_0xa6f604(0xb1)]=_0xa6f604(0xc3);}['setCollisionResponse'](_0x24e20f,_0x318e62){this['_responseMap'][_0x24e20f]=_0x318e62;}[_0x242984(0x97)](_0xe2c26f){const _0x46f410=_0x242984;this[_0x46f410(0x8d)]=Object[_0x46f410(0x8c)]({},_0xe2c26f);}['getCollisionResponse'](_0x207bc2){const _0x1ca6f9=_0x242984;var _0x4a4a0d;return (_0x4a4a0d=this[_0x1ca6f9(0x8d)][_0x207bc2])!==null&&_0x4a4a0d!==void 0?_0x4a4a0d:CollisionResponse[_0x1ca6f9(0xc2)];}[_0x242984(0x9c)](_0xaaab6b){const _0x5ab787=_0x242984,_0x207bdf=this[_0x5ab787(0x94)](_0xaaab6b[_0x5ab787(0xa2)]),_0x5b0910=_0xaaab6b['getCollisionResponse'](this[_0x5ab787(0xa2)]);if(_0x207bdf===CollisionResponse['Ignore']||_0x5b0910===CollisionResponse[_0x5ab787(0x90)])return CollisionResponse[_0x5ab787(0x90)];if(_0x207bdf===CollisionResponse['Block']||_0x5b0910===CollisionResponse['Block'])return CollisionResponse[_0x5ab787(0xc2)];return CollisionResponse['Overlap'];}[_0x242984(0xa7)](_0x370dbc){const _0x1f81ce=_0x242984;super[_0x1f81ce(0xa7)](_0x370dbc),this['_debugEnabled']&&this[_0x1f81ce(0x91)](_0x370dbc);}[_0x242984(0xc1)](_0x2beb6d){const _0x5e2deb=_0x242984;super[_0x5e2deb(0xc1)](_0x2beb6d),!this[_0x5e2deb(0xa0)]&&(this['world'][_0x5e2deb(0x9d)][_0x5e2deb(0xae)](this),this[_0x5e2deb(0xa0)]=!![]);}['destroy'](){const _0x1ed0eb=_0x242984;this['_debugEnabled']&&(this[_0x1ed0eb(0xc5)](),this[_0x1ed0eb(0xbe)]=![]),this[_0x1ed0eb(0xa0)]&&(this[_0x1ed0eb(0xb8)][_0x1ed0eb(0x9d)][_0x1ed0eb(0x93)](this),this['_registeredInWorld']=![]),super['destroy']();}['getDebugAttachParent'](){const _0x1404ea=_0x242984;return this[_0x1404ea(0xba)];}[_0x242984(0xc6)](){return null;}[_0x242984(0xb9)](_0x29ef8b){return;}['onDebugTick'](_0x1fa74f){return;}[_0x242984(0xa9)](){return;}[_0x242984(0xa1)](){const _0x4d4128=_0x242984;if(this[_0x4d4128(0xa3)])return;const _0x43bd7c=this['getDebugAttachParent'](),_0x319452=this['createDebugObject']();if(!_0x319452)return;this[_0x4d4128(0xa3)]=_0x319452,_0x319452[_0x4d4128(0xa6)](_0x1fe6ef=>{const _0xeb8399=_0x4d4128;_0x1fe6ef[_0xeb8399(0xbf)][_0xeb8399(0xb5)]=!![];}),_0x43bd7c&&_0x43bd7c['add'](_0x319452),this[_0x4d4128(0xa9)]();}['disableDebug'](){const _0x5604bb=_0x242984,_0x1bb142=this['_debugObject'];if(!_0x1bb142)return;this[_0x5604bb(0xb9)](_0x1bb142),_0x1bb142['parent']&&_0x1bb142[_0x5604bb(0xbb)][_0x5604bb(0x8e)](_0x1bb142),this['_debugObject']=null;}}
|
|
145
145
|
|
|
146
|
-
function _0x72b6(_0x2c6aae,_0xfdaa9a){_0x2c6aae=_0x2c6aae-0x170;const _0x2a6d7c=_0x2a6d();let _0x72b6f1=_0x2a6d7c[_0x2c6aae];return _0x72b6f1;}const _0x297f72=_0x72b6;(function(_0x17f0b6,_0xc2ea18){const _0x2adf36=_0x72b6,_0x3c1625=_0x17f0b6();while(!![]){try{const _0x29e98f=-parseInt(_0x2adf36(0x1a1))/0x1+parseInt(_0x2adf36(0x1ac))/0x2*(parseInt(_0x2adf36(0x184))/0x3)+parseInt(_0x2adf36(0x18a))/0x4*(-parseInt(_0x2adf36(0x17e))/0x5)+parseInt(_0x2adf36(0x185))/0x6*(parseInt(_0x2adf36(0x180))/0x7)+-parseInt(_0x2adf36(0x18f))/0x8*(parseInt(_0x2adf36(0x1a9))/0x9)+-parseInt(_0x2adf36(0x19c))/0xa+parseInt(_0x2adf36(0x1a6))/0xb;if(_0x29e98f===_0xc2ea18)break;else _0x3c1625['push'](_0x3c1625['shift']());}catch(_0x247297){_0x3c1625['push'](_0x3c1625['shift']());}}}(_0x2a6d,0x5e06b));function _0x2a6d(){const _0xfe411b=['onDebugTick','add','837141xcuMmJ','138SyVyuS','Pawn','distance','debugColor','_debugRoot','4bfBMpO','objectType','getWorldPosition','CapsuleColliderComponent','getWorldAABB','8NDrHzu','multiplyScalar','raycast','_debugTop','needsUpdate','clone','_tmpPoint','_tmpB','normal','_tmpBA','_tmpNormal','lengthSq','isFinite','304150Vilmcg','sub','name','makeSphereHit','scale','254504hudeUZ','_debugBottom','max','copy','Ignore','4736985hQIijT','transparent','_tmpA','3326238dBmHis','halfHeight','getWorldScale','2gdsgui','setCollisionResponse','_radius','Overlap','destroyDebugObject','opacity','debugOpacity','_halfHeight','_debugCylinder','abs','traverse','onDebugStyleChanged','radius','sqrt','raycastSphere','dot','createDebugObject','point','1777595nXfUoN','position','208621KFIIKT','set'];_0x2a6d=function(){return _0xfe411b;};return _0x2a6d();}class CapsuleColliderComponent extends ColliderComponent{get[_0x297f72(0x178)](){const _0x36c2cc=_0x297f72;return this[_0x36c2cc(0x1ae)];}get[_0x297f72(0x1aa)](){return this['_halfHeight'];}constructor(_0x250ee1,_0x5b3aa0=0.35,_0x325f72=0.5,_0x49fbf8){const _0x24aeab=_0x297f72;super(_0x250ee1,_0x49fbf8),this[_0x24aeab(0x189)]=null,this[_0x24aeab(0x174)]=null,this['_debugTop']=null,this['_debugBottom']=null,this['_tmpA']=new Vector3(),this['_tmpB']=new Vector3(),this[_0x24aeab(0x198)]=new Vector3(),this['_tmpOA']=new Vector3(),this[_0x24aeab(0x195)]=new Vector3(),this[_0x24aeab(0x199)]=new Vector3(),this[_0x24aeab(0x1ae)]=Math[_0x24aeab(0x1a3)](0x0,_0x5b3aa0),this[_0x24aeab(0x173)]=Math[_0x24aeab(0x1a3)](0x0,_0x325f72),this[_0x24aeab(0x18b)]=CollisionChannel[_0x24aeab(0x186)],this[_0x24aeab(0x1ad)](CollisionChannel[_0x24aeab(0x186)],CollisionResponse[_0x24aeab(0x1a5)]),this['setCollisionResponse'](CollisionChannel['Trigger'],CollisionResponse[_0x24aeab(0x1af)]),this[_0x24aeab(0x19e)]=_0x24aeab(0x18d);}[_0x297f72(0x18e)](_0x538a97=new Box3()){const _0x3c1f74=_0x297f72,_0x503e53=this[_0x3c1f74(0x18c)](),_0x1c9e29=this[_0x3c1f74(0x1ab)](),_0x4e0402=Math[_0x3c1f74(0x175)](_0x1c9e29['x'])>1e-8?Math[_0x3c1f74(0x175)](_0x1c9e29['x']):0x1,_0x575522=Math['abs'](_0x1c9e29['y'])>1e-8?Math[_0x3c1f74(0x175)](_0x1c9e29['y']):0x1,_0x45bda0=Math[_0x3c1f74(0x175)](_0x1c9e29['z'])>1e-8?Math[_0x3c1f74(0x175)](_0x1c9e29['z']):0x1,_0x51ed9a=this[_0x3c1f74(0x1ae)]*Math[_0x3c1f74(0x1a3)](_0x4e0402,_0x45bda0),_0x3b3ed6=this[_0x3c1f74(0x173)]*_0x575522,_0xc9130b=new Vector3(_0x503e53['x']-_0x51ed9a,_0x503e53['y']-_0x3b3ed6-_0x51ed9a,_0x503e53['z']-_0x51ed9a),_0xd8526b=new Vector3(_0x503e53['x']+_0x51ed9a,_0x503e53['y']+_0x3b3ed6+_0x51ed9a,_0x503e53['z']+_0x51ed9a);return _0x538a97[_0x3c1f74(0x181)](_0xc9130b,_0xd8526b),_0x538a97;}[_0x297f72(0x191)](_0xca879c,_0x48fa26,_0x2628a3){const _0x487692=_0x297f72;if(_0x2628a3<=0.000001)return null;const _0x1afccd=this[_0x487692(0x18c)](),_0x4386d7=this[_0x487692(0x1ab)](),_0x47a406=Math[_0x487692(0x175)](_0x4386d7['x'])>1e-8?Math[_0x487692(0x175)](_0x4386d7['x']):0x1,_0x3ad9e8=Math['abs'](_0x4386d7['y'])>1e-8?Math[_0x487692(0x175)](_0x4386d7['y']):0x1,_0x90872a=Math[_0x487692(0x175)](_0x4386d7['z'])>1e-8?Math['abs'](_0x4386d7['z']):0x1,_0x405bc5=this[_0x487692(0x1ae)]*Math[_0x487692(0x1a3)](_0x47a406,_0x90872a),_0x33513b=this[_0x487692(0x173)]*_0x3ad9e8,_0x149ea3=this[_0x487692(0x1a8)][_0x487692(0x1a4)](_0x1afccd)[_0x487692(0x183)](new Vector3(0x0,-_0x33513b,0x0)),_0x19ae9e=this[_0x487692(0x196)]['copy'](_0x1afccd)[_0x487692(0x183)](new Vector3(0x0,_0x33513b,0x0)),_0x13f4eb=this[_0x487692(0x198)][_0x487692(0x1a4)](_0x19ae9e)['sub'](_0x149ea3),_0x50c270=this['_tmpOA']['copy'](_0xca879c)['sub'](_0x149ea3),_0x14d678=_0x13f4eb[_0x487692(0x17b)](_0x13f4eb),_0x5deaf2=_0x13f4eb['dot'](_0x48fa26),_0x136f7e=_0x13f4eb[_0x487692(0x17b)](_0x50c270),_0x57beb3=_0x48fa26[_0x487692(0x17b)](_0x50c270),_0x5e16cd=_0x50c270[_0x487692(0x17b)](_0x50c270),_0x3194c6=_0x405bc5*_0x405bc5,_0x527759=_0x14d678-_0x5deaf2*_0x5deaf2,_0x255fc9=_0x14d678*_0x57beb3-_0x136f7e*_0x5deaf2,_0x1a6a47=_0x14d678*(_0x5e16cd-_0x3194c6)-_0x136f7e*_0x136f7e;let _0x47aa17=Infinity,_0x20326b=null,_0x30c8c4=null;const _0x6e8a62=1e-10;if(Math[_0x487692(0x175)](_0x527759)>_0x6e8a62){const _0x301619=_0x255fc9*_0x255fc9-_0x527759*_0x1a6a47;if(_0x301619>=0x0){const _0x223f78=(-_0x255fc9-Math[_0x487692(0x179)](_0x301619))/_0x527759,_0x20c329=_0x136f7e+_0x223f78*_0x5deaf2;if(_0x223f78>=0x0&&_0x223f78<=_0x2628a3&&_0x20c329>0x0&&_0x20c329<_0x14d678){_0x47aa17=_0x223f78,_0x20326b=this[_0x487692(0x195)][_0x487692(0x1a4)](_0x48fa26)[_0x487692(0x190)](_0x223f78)[_0x487692(0x183)](_0xca879c);const _0x39cf78=this[_0x487692(0x199)][_0x487692(0x1a4)](_0x13f4eb)[_0x487692(0x190)](_0x20c329/_0x14d678)['add'](_0x149ea3);_0x30c8c4=this[_0x487692(0x199)][_0x487692(0x1a4)](_0x20326b)['sub'](_0x39cf78);const _0x2d72d1=_0x30c8c4['lengthSq']();_0x2d72d1>1e-12?_0x30c8c4['multiplyScalar'](0x1/Math[_0x487692(0x179)](_0x2d72d1)):_0x30c8c4[_0x487692(0x181)](0x0,0x1,0x0);}}}const _0x5efa9c=this[_0x487692(0x17a)](_0xca879c,_0x48fa26,_0x2628a3,_0x149ea3,_0x405bc5);_0x5efa9c&&_0x5efa9c['distance']<_0x47aa17&&(_0x47aa17=_0x5efa9c[_0x487692(0x187)],_0x20326b=_0x5efa9c[_0x487692(0x17d)],_0x30c8c4=_0x5efa9c[_0x487692(0x197)]);const _0x1fbd0d=this[_0x487692(0x17a)](_0xca879c,_0x48fa26,_0x2628a3,_0x19ae9e,_0x405bc5);_0x1fbd0d&&_0x1fbd0d['distance']<_0x47aa17&&(_0x47aa17=_0x1fbd0d[_0x487692(0x187)],_0x20326b=_0x1fbd0d['point'],_0x30c8c4=_0x1fbd0d[_0x487692(0x197)]);if(!_0x20326b||!_0x30c8c4||!Number[_0x487692(0x19b)](_0x47aa17))return null;return {'point':_0x20326b[_0x487692(0x194)](),'normal':_0x30c8c4[_0x487692(0x194)](),'distance':_0x47aa17};}[_0x297f72(0x17a)](_0x4a6191,_0xbb14f9,_0x558c28,_0x1bf00f,_0x41277f){const _0x3ea487=_0x297f72,_0x7b27ef=_0x4a6191[_0x3ea487(0x194)]()[_0x3ea487(0x19d)](_0x1bf00f),_0x11b82c=_0x7b27ef['dot'](_0xbb14f9),_0x355a24=_0x7b27ef[_0x3ea487(0x17b)](_0x7b27ef)-_0x41277f*_0x41277f,_0x360a37=_0x11b82c*_0x11b82c-_0x355a24;if(_0x360a37<0x0)return null;const _0x4db62e=Math[_0x3ea487(0x179)](_0x360a37),_0x4a6058=-_0x11b82c-_0x4db62e;if(_0x4a6058<0x0||_0x4a6058>_0x558c28){const _0x97feeb=-_0x11b82c+_0x4db62e;if(_0x97feeb<0x0||_0x97feeb>_0x558c28)return null;return this['makeSphereHit'](_0x4a6191,_0xbb14f9,_0x97feeb,_0x1bf00f);}return this[_0x3ea487(0x19f)](_0x4a6191,_0xbb14f9,_0x4a6058,_0x1bf00f);}[_0x297f72(0x19f)](_0x3777d9,_0x4d76b7,_0xe011e8,_0x53f3ba){const _0x3dc0de=_0x297f72,_0x4da4c5=_0x3777d9['clone']()[_0x3dc0de(0x183)](_0x4d76b7[_0x3dc0de(0x194)]()[_0x3dc0de(0x190)](_0xe011e8)),_0x313d05=_0x4da4c5[_0x3dc0de(0x194)]()[_0x3dc0de(0x19d)](_0x53f3ba),_0x2627a3=_0x313d05[_0x3dc0de(0x19a)]();return _0x2627a3>1e-12?_0x313d05[_0x3dc0de(0x190)](0x1/Math[_0x3dc0de(0x179)](_0x2627a3)):_0x313d05[_0x3dc0de(0x181)](0x0,0x1,0x0),{'point':_0x4da4c5,'normal':_0x313d05,'distance':_0xe011e8};}[_0x297f72(0x17c)](){const _0x32165a=_0x297f72,_0x430c97=new Object3D();_0x430c97[_0x32165a(0x19e)]='CapsuleColliderDebug';const _0x6e2dd0=new MeshBasicMaterial({'color':this[_0x32165a(0x188)],'wireframe':!![],'transparent':!![],'opacity':this[_0x32165a(0x172)]}),_0x116355=Math[_0x32165a(0x1a3)](0.000001,this['_radius']),_0x2470b3=Math[_0x32165a(0x1a3)](0.000001,this['_halfHeight']*0x2),_0x8bb255=new Mesh(new CylinderGeometry(_0x116355,_0x116355,_0x2470b3,0xc,0x1,!![]),_0x6e2dd0),_0x1aca0e=new Mesh(new SphereGeometry(_0x116355,0xc,0x8),_0x6e2dd0),_0x4b237d=new Mesh(new SphereGeometry(_0x116355,0xc,0x8),_0x6e2dd0);return _0x1aca0e[_0x32165a(0x17f)][_0x32165a(0x181)](0x0,this['_halfHeight'],0x0),_0x4b237d['position'][_0x32165a(0x181)](0x0,-this[_0x32165a(0x173)],0x0),_0x430c97[_0x32165a(0x183)](_0x8bb255),_0x430c97[_0x32165a(0x183)](_0x1aca0e),_0x430c97['add'](_0x4b237d),this[_0x32165a(0x189)]=_0x430c97,this[_0x32165a(0x174)]=_0x8bb255,this[_0x32165a(0x192)]=_0x1aca0e,this[_0x32165a(0x1a2)]=_0x4b237d,this[_0x32165a(0x182)](0x0),_0x430c97;}[_0x297f72(0x170)](_0x54df0d){const _0x281a3b=_0x297f72;this[_0x281a3b(0x189)]=null,this[_0x281a3b(0x174)]=null,this[_0x281a3b(0x192)]=null,this[_0x281a3b(0x1a2)]=null;}[_0x297f72(0x182)](_0x5d1d61){const _0x1f4573=_0x297f72,_0x50b251=this[_0x1f4573(0x174)],_0x559371=this[_0x1f4573(0x192)],_0xf4cace=this[_0x1f4573(0x1a2)];if(!_0x50b251||!_0x559371||!_0xf4cace)return;const _0x28ce9a=this['getWorldScale'](),_0x334c15=Math[_0x1f4573(0x175)](_0x28ce9a['x'])>1e-8?_0x28ce9a['x']:0x1,_0x14ab7f=Math[_0x1f4573(0x175)](_0x28ce9a['y'])>1e-8?_0x28ce9a['y']:0x1,_0x49f438=Math[_0x1f4573(0x175)](_0x28ce9a['z'])>1e-8?_0x28ce9a['z']:0x1,_0x25142d=Math[_0x1f4573(0x1a3)](0.000001,this['_radius'])*Math[_0x1f4573(0x1a3)](Math[_0x1f4573(0x175)](_0x334c15),Math[_0x1f4573(0x175)](_0x49f438)),_0x4da431=Math[_0x1f4573(0x1a3)](0x0,this[_0x1f4573(0x173)])*Math[_0x1f4573(0x175)](_0x14ab7f);_0x50b251['scale']['set'](_0x25142d/_0x334c15,_0x4da431*0x2/_0x14ab7f,_0x25142d/_0x49f438),_0x559371[_0x1f4573(0x1a0)]['set'](_0x25142d/_0x334c15,_0x25142d/_0x14ab7f,_0x25142d/_0x49f438),_0xf4cace['scale'][_0x1f4573(0x181)](_0x25142d/_0x334c15,_0x25142d/_0x14ab7f,_0x25142d/_0x49f438),_0x559371['position'][_0x1f4573(0x181)](0x0,_0x4da431/_0x14ab7f,0x0),_0xf4cace['position']['set'](0x0,-_0x4da431/_0x14ab7f,0x0);}[_0x297f72(0x177)](){const _0x34ec46=_0x297f72,_0x1291c5=this[_0x34ec46(0x189)];if(!_0x1291c5)return;_0x1291c5[_0x34ec46(0x176)](_0x55c4f3=>{const _0x14700d=_0x34ec46,_0x21bc4d=_0x55c4f3,_0x52c966=_0x21bc4d['material'];if(!_0x52c966)return;_0x52c966['color']['setHex'](this['debugColor']),_0x52c966[_0x14700d(0x171)]=this[_0x14700d(0x172)],_0x52c966[_0x14700d(0x1a7)]=this[_0x14700d(0x172)]<0x1,_0x52c966[_0x14700d(0x193)]=!![];});}}
|
|
146
|
+
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 Vector3(),this[_0x12c25f(0x141)]=new Vector3(),this[_0x12c25f(0x170)]=new Vector3(),this[_0x12c25f(0x16b)]=new Vector3(),this['_tmpPoint']=new Vector3(),this[_0x12c25f(0x143)]=new Vector3(),this[_0x12c25f(0x15b)]=Math[_0x12c25f(0x160)](0x0,_0x568a3d),this['_halfHeight']=Math[_0x12c25f(0x160)](0x0,_0x4e61ae),this[_0x12c25f(0x17e)]=CollisionChannel[_0x12c25f(0x16e)],this[_0x12c25f(0x14e)](CollisionChannel[_0x12c25f(0x16e)],CollisionResponse[_0x12c25f(0x154)]),this[_0x12c25f(0x14e)](CollisionChannel[_0x12c25f(0x145)],CollisionResponse[_0x12c25f(0x15f)]),this[_0x12c25f(0x16f)]=_0x12c25f(0x165);}[_0x265a29(0x147)](_0x23432d=new 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 Vector3(_0x2d22f0['x']-_0x2e35e6,_0x2d22f0['y']-_0x22e8cc-_0x2e35e6,_0x2d22f0['z']-_0x2e35e6),_0xf5253f=new 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 Vector3(0x0,-_0x54b702,0x0)),_0x1e1e71=this[_0x17ce50(0x141)][_0x17ce50(0x17f)](_0x4b98c5)[_0x17ce50(0x146)](new 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 Object3D();_0x559dcf[_0x419131(0x16f)]=_0x419131(0x15a);const _0x2d7c4b=new 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 Mesh(new CylinderGeometry(_0x399479,_0x399479,_0x22bf38,0xc,0x1,!![]),_0x2d7c4b),_0x4fd053=new Mesh(new SphereGeometry(_0x399479,0xc,0x8),_0x2d7c4b),_0x42f28f=new Mesh(new 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();}
|
|
147
147
|
|
|
148
|
-
const _0x49f63a=_0x41aa;(function(_0x4a15e3,_0x2e9b05){const _0xe4cafe=_0x41aa,_0x75bdba=_0x4a15e3();while(!![]){try{const _0x463a46=-parseInt(_0xe4cafe(0x233))/0x1*(-parseInt(_0xe4cafe(0x20e))/0x2)+-parseInt(_0xe4cafe(0x20d))/0x3*(parseInt(_0xe4cafe(0x224))/0x4)+-parseInt(_0xe4cafe(0x211))/0x5*(-parseInt(_0xe4cafe(0x1e3))/0x6)+parseInt(_0xe4cafe(0x1c8))/0x7+-parseInt(_0xe4cafe(0x1f2))/0x8+-parseInt(_0xe4cafe(0x1d4))/0x9*(parseInt(_0xe4cafe(0x22e))/0xa)+parseInt(_0xe4cafe(0x1ec))/0xb;if(_0x463a46===_0x2e9b05)break;else _0x75bdba['push'](_0x75bdba['shift']());}catch(_0x1a69ca){_0x75bdba['push'](_0x75bdba['shift']());}}}(_0x5469,0x9e42e));function _0x41aa(_0x32eef8,_0x172ed3){_0x32eef8=_0x32eef8-0x1c1;const _0x5469bc=_0x5469();let _0x41aa8b=_0x5469bc[_0x32eef8];return _0x41aa8b;}function _0x5469(){const _0x585e56=['593055TrkLfC','ArrowUp','setRotation','KeyA','physics','clamp','button','isClickEnabled','rotation','includes','_moveUp','blocking','outer','lineTraceMulti','Visibility','6sIwbEB','constructRootComponent','lengthSq','distance','onClick','_yaw','_targetPos','Ignore','canvas','14569500qyTbyO','onKeyDown','lyCameraDragging','lineTraceSingle','remove','_moveRight','10369256BqXFaT','onKeyUpDelegate','updateProjectionMatrix','unpossess','pointerLockElement','KeyW','ArrowDown','parentActor','radius','requestPointerLock','width','normalize','max','KeyS','enabled','getQuaternion','buttons','ArrowLeft','rootComponent','syncRotation','_moveLeft','find','_pitch','setFromEuler','ArrowRight','onBlur','ray','3gMkYEl','6cAWolc','onContextMenu','clientY','5858890rtfsGb','app','copy','length','near','sub','onWindowBlurDelegate','point','updateCameraFromPawn','possess','eyeHeight','halfHeight','onContextMenuDelegate','order','onRawClickDelegate','position','setPosition','onKeyUp','exitPointerLock','1228224MjWgxi','asin','getPosition','landToGround','code','onPointerLockChange','onPointerMoveDelegate','dataset','_moveForward','inputFilter','180vPtetM','setCollisionResponse','enableGravity','normal','setCameraDraggingState','108127PzEXuf','material','Pawn','direction','setFromCamera','getBoundingClientRect','multiplyScalar','dispose','onPointerLockChangeDelegate','camera','collider','onMouseDown','Space','_verticalVelocity','world','_isRightDragging','_clickMarker','viewport','applyQuaternion','_moveBackward','controller','visible','setFromAxisAngle','onMouseUp','movementY','onPointerUpDelegate','moveSpeed','movementX','dot','setQuaternion','KeyD','YXZ','4318314LFvWZC','_moveDown','onPointerDownDelegate','threeObject','quaternion','onMouseMove','height','add','ShiftLeft','clone','onKeyDownDelegate','parent'];_0x5469=function(){return _0x585e56;};return _0x5469();}class FirstPerson extends Pawn{constructor(_0x5e5c1f){const _0xe83995=_0x41aa;super(_0x5e5c1f),this[_0xe83995(0x1c2)]=0xa,this['lookSpeed']=0.002,this['enableGravity']=!![],this['gravity']=0x1e,this[_0xe83995(0x21b)]=0.7,this['_verticalVelocity']=0x0,this['_yaw']=0x0,this[_0xe83995(0x208)]=0x0,this[_0xe83995(0x1e9)]=null,this[_0xe83995(0x243)]=null,this[_0xe83995(0x22c)]=![],this[_0xe83995(0x246)]=![],this['_moveLeft']=![],this[_0xe83995(0x1f1)]=![],this[_0xe83995(0x1de)]=![],this['_moveDown']=![],this[_0xe83995(0x242)]=![],this[_0xe83995(0x20f)]=_0x13860c=>{const _0x182b89=_0xe83995;if(!Pawn[_0x182b89(0x22d)]())return;_0x13860c['preventDefault']();},this[_0xe83995(0x20b)]=()=>{const _0xb66153=_0xe83995;this[_0xb66153(0x22c)]=![],this['_moveBackward']=![],this[_0xb66153(0x206)]=![],this[_0xb66153(0x1f1)]=![],this['_moveUp']=![],this[_0xb66153(0x1c9)]=![],this[_0xb66153(0x242)]=![],this[_0xb66153(0x232)](![]);},this['onMouseDown']=_0x1cd4bc=>{const _0x135441=_0xe83995;if(!this['enabled']||!Pawn[_0x135441(0x22d)]())return;if(_0x1cd4bc['button']!==0x2)return;this[_0x135441(0x242)]=!![],this[_0x135441(0x232)](!![]);const _0x1cf656=this[_0x135441(0x212)]['viewport'][_0x135441(0x1eb)];_0x1cf656&&document[_0x135441(0x1f6)]!==_0x1cf656&&_0x1cf656[_0x135441(0x1fb)]();},this[_0xe83995(0x24a)]=_0x1083ad=>{const _0x401b06=_0xe83995;if(_0x1083ad[_0x401b06(0x1da)]!==0x2)return;this['_isRightDragging']=![],this[_0x401b06(0x232)](![]),document[_0x401b06(0x1f6)]===this[_0x401b06(0x212)][_0x401b06(0x244)]['canvas']&&document['exitPointerLock']();},this[_0xe83995(0x1e7)]=_0x5a40e5=>{const _0x3eac73=_0xe83995;if(!this['enabled']||!Pawn[_0x3eac73(0x22d)]())return;if(_0x5a40e5['button']!==0x0)return;const _0x521a87=this[_0x3eac73(0x212)][_0x3eac73(0x244)][_0x3eac73(0x1eb)];if(!_0x521a87||!this['camera'])return;const _0x31b7b9=_0x521a87[_0x3eac73(0x238)](),_0x3bcfef=new Vector2$1((_0x5a40e5['clientX']-_0x31b7b9['left'])/_0x31b7b9[_0x3eac73(0x1fc)]*0x2-0x1,-((_0x5a40e5[_0x3eac73(0x210)]-_0x31b7b9['top'])/_0x31b7b9[_0x3eac73(0x1ce)])*0x2+0x1),_0x3fb08c=new Raycaster();_0x3fb08c[_0x3eac73(0x237)](_0x3bcfef,this[_0x3eac73(0x23c)]);const _0x331df2=_0x3fb08c[_0x3eac73(0x20c)]['origin'][_0x3eac73(0x1d1)](),_0x1511f2=_0x331df2[_0x3eac73(0x1d1)]()[_0x3eac73(0x1cf)](_0x3fb08c[_0x3eac73(0x20c)][_0x3eac73(0x236)][_0x3eac73(0x1d1)]()['multiplyScalar'](0x3e8)),_0x41309d=this[_0x3eac73(0x204)]instanceof CapsuleColliderComponent?this[_0x3eac73(0x204)]:undefined,_0x1eae32=this[_0x3eac73(0x212)][_0x3eac73(0x241)]['physics'][_0x3eac73(0x1e1)](_0x331df2,_0x1511f2,CollisionChannel['Pawn'],_0x41309d);let _0x2a7118=null;for(const _0x90031c of _0x1eae32){if(!_0x90031c['blocking'])continue;if(this['camera']instanceof PerspectiveCamera){if(_0x90031c[_0x3eac73(0x1e6)]<this[_0x3eac73(0x23c)][_0x3eac73(0x215)]*1.5)continue;}const _0x1887b2=_0x90031c[_0x3eac73(0x23d)],_0x9d4fa8=_0x1887b2&&(_0x1887b2[_0x3eac73(0x1db)]||_0x1887b2[_0x3eac73(0x1f9)]&&_0x1887b2[_0x3eac73(0x1f9)][_0x3eac73(0x1db)]),_0x428464=_0x90031c[_0x3eac73(0x231)]['y']>0.5;if(!_0x428464&&!_0x9d4fa8){let _0x43a118=0.5;this[_0x3eac73(0x23c)]instanceof PerspectiveCamera&&(_0x43a118=this[_0x3eac73(0x23c)][_0x3eac73(0x215)]*0x2);if(_0x90031c[_0x3eac73(0x1e6)]>_0x43a118)break;continue;}_0x2a7118=_0x90031c;break;}if(_0x2a7118){const _0x595bd3=_0x2a7118[_0x3eac73(0x23d)];if(_0x595bd3){if(_0x595bd3[_0x3eac73(0x1db)])return;if(_0x595bd3[_0x3eac73(0x1f9)]&&_0x595bd3['parentActor'][_0x3eac73(0x1db)])return;}_0x2a7118['normal']['y']>0.5&&(this[_0x3eac73(0x1e9)]=_0x2a7118[_0x3eac73(0x218)]['clone'](),this[_0x3eac73(0x243)]&&(this[_0x3eac73(0x243)][_0x3eac73(0x220)][_0x3eac73(0x213)](this[_0x3eac73(0x1e9)]),this[_0x3eac73(0x243)][_0x3eac73(0x248)]=!![]));}},this['onPointerLockChange']=()=>{},this[_0xe83995(0x1cd)]=_0x38378e=>{const _0x14f129=_0xe83995,_0x3273d9=(_0x38378e[_0x14f129(0x202)]&0x2)===0x2;if(_0x3273d9&&!this[_0x14f129(0x242)])this['_isRightDragging']=!![],this['setCameraDraggingState'](!![]);else !_0x3273d9&&this['_isRightDragging']&&(this[_0x14f129(0x242)]=![],this[_0x14f129(0x232)](![]));if(document[_0x14f129(0x1f6)]!==this[_0x14f129(0x212)][_0x14f129(0x244)][_0x14f129(0x1eb)]&&!_0x3273d9)return;if(!this[_0x14f129(0x200)]||!Pawn['inputFilter']())return;const _0x20e632=_0x38378e[_0x14f129(0x1c3)]||0x0,_0x46d104=_0x38378e[_0x14f129(0x24b)]||0x0;this[_0x14f129(0x205)](),this['_yaw']-=_0x20e632*this['lookSpeed'],this[_0x14f129(0x208)]-=_0x46d104*this['lookSpeed'];const _0x461258=Math['PI']/0x2;this[_0x14f129(0x208)]=MathUtils[_0x14f129(0x1d9)](this[_0x14f129(0x208)],-_0x461258+0.001,_0x461258-0.001);const _0x5a222f=new Quaternion()[_0x14f129(0x249)](new Vector3(0x0,0x1,0x0),this['_yaw']);super[_0x14f129(0x1c5)](_0x5a222f),this[_0x14f129(0x219)]();},this[_0xe83995(0x1ed)]=_0x5356cc=>{const _0x39dda6=_0xe83995;if(!Pawn[_0x39dda6(0x22d)]())return;if([_0x39dda6(0x1d5),'KeyW','ArrowLeft',_0x39dda6(0x1d7),_0x39dda6(0x1f8),_0x39dda6(0x1ff),_0x39dda6(0x20a),_0x39dda6(0x1c6)][_0x39dda6(0x1dd)](_0x5356cc['code'])){this[_0x39dda6(0x1e9)]=null;if(this['_clickMarker'])this['_clickMarker']['visible']=![];}switch(_0x5356cc['code']){case _0x39dda6(0x1d5):case _0x39dda6(0x1f7):this[_0x39dda6(0x22c)]=!![];break;case _0x39dda6(0x203):case 'KeyA':this['_moveLeft']=!![];break;case 'ArrowDown':case _0x39dda6(0x1ff):this['_moveBackward']=!![];break;case _0x39dda6(0x20a):case _0x39dda6(0x1c6):this[_0x39dda6(0x1f1)]=!![];break;case _0x39dda6(0x23f):!this[_0x39dda6(0x230)]&&(this['_moveUp']=!![]);break;case _0x39dda6(0x1d0):case 'ShiftRight':this['_moveDown']=!![];break;}},this[_0xe83995(0x222)]=_0x17e382=>{const _0x3117ae=_0xe83995;switch(_0x17e382[_0x3117ae(0x228)]){case _0x3117ae(0x1d5):case 'KeyW':this['_moveForward']=![];break;case _0x3117ae(0x203):case _0x3117ae(0x1d7):this[_0x3117ae(0x206)]=![];break;case _0x3117ae(0x1f8):case _0x3117ae(0x1ff):this[_0x3117ae(0x246)]=![];break;case _0x3117ae(0x20a):case _0x3117ae(0x1c6):this[_0x3117ae(0x1f1)]=![];break;case 'Space':this['_moveUp']=![];break;case _0x3117ae(0x1d0):case 'ShiftRight':this[_0x3117ae(0x1c9)]=![];break;}};}[_0x49f63a(0x1e4)](){const _0x3f69f5=_0x49f63a,_0x209e7d=new CapsuleColliderComponent(this['app'],0.35,0.55);return _0x209e7d['objectType']=CollisionChannel[_0x3f69f5(0x235)],_0x209e7d[_0x3f69f5(0x22f)](CollisionChannel[_0x3f69f5(0x1e2)],CollisionResponse[_0x3f69f5(0x1ea)]),_0x209e7d;}[_0x49f63a(0x227)](){const _0x2fa298=_0x49f63a,_0x52d284=this[_0x2fa298(0x226)](),_0x441cb9=_0x52d284[_0x2fa298(0x1d1)]()[_0x2fa298(0x1cf)](new Vector3(0x0,-1e3,0x0)),_0x3a1516=this[_0x2fa298(0x204)],_0x3998a4=this[_0x2fa298(0x212)]['world'][_0x2fa298(0x1d8)][_0x2fa298(0x1ef)](_0x52d284,_0x441cb9,CollisionChannel[_0x2fa298(0x235)],_0x3a1516);if(_0x3998a4&&_0x3998a4['blocking']){const _0x4fd3a4=_0x3a1516['halfHeight']+_0x3a1516[_0x2fa298(0x1fa)],_0x10e376=_0x3998a4['point']['y']+_0x4fd3a4;this[_0x2fa298(0x221)](_0x52d284['x'],_0x10e376,_0x52d284['z']),this[_0x2fa298(0x240)]=0x0;}}[_0x49f63a(0x205)](){const _0x133b87=_0x49f63a,_0x4cc412=this[_0x133b87(0x201)](),_0x3da3ca=new Vector3(0x0,0x0,-1)['applyQuaternion'](_0x4cc412);this['_yaw']=Math['atan2'](-_0x3da3ca['x'],-_0x3da3ca['z']);}[_0x49f63a(0x1d6)](..._0x1a8628){const _0x92deca=_0x49f63a,_0x528ffd=new Quaternion();_0x1a8628['length']===0x1?_0x528ffd[_0x92deca(0x209)](_0x1a8628[0x0]):_0x528ffd[_0x92deca(0x209)](new Euler(_0x1a8628[0x0],_0x1a8628[0x1],_0x1a8628[0x2],_0x92deca(0x1c7))),this[_0x92deca(0x1c5)](_0x528ffd);}[_0x49f63a(0x1c5)](..._0x2f37f4){const _0x4b48ee=_0x49f63a;let _0x5904d2;_0x2f37f4[_0x4b48ee(0x214)]===0x1?_0x5904d2=_0x2f37f4[0x0]:_0x5904d2=new Quaternion(_0x2f37f4[0x0],_0x2f37f4[0x1],_0x2f37f4[0x2],_0x2f37f4[0x3]);const _0x4cd5c9=new Vector3(0x0,0x0,-1)['applyQuaternion'](_0x5904d2);let _0x5ab5f8=Math[_0x4b48ee(0x225)](MathUtils[_0x4b48ee(0x1d9)](_0x4cd5c9['y'],-1,0x1));const _0x2e716b=Math['PI']/0x2;_0x5ab5f8=MathUtils[_0x4b48ee(0x1d9)](_0x5ab5f8,-_0x2e716b+0.001,_0x2e716b-0.001);const _0x5bf73a=Math['atan2'](-_0x4cd5c9['x'],-_0x4cd5c9['z']);this[_0x4b48ee(0x208)]=_0x5ab5f8,this[_0x4b48ee(0x1e8)]=_0x5bf73a;const _0xef3c29=new Quaternion()[_0x4b48ee(0x249)](new Vector3(0x0,0x1,0x0),this[_0x4b48ee(0x1e8)]);super[_0x4b48ee(0x1c5)](_0xef3c29),this[_0x4b48ee(0x200)]&&this[_0x4b48ee(0x219)]();}[_0x49f63a(0x21a)](){const _0x478c35=_0x49f63a;super[_0x478c35(0x21a)]();const _0x3bd1e0=this[_0x478c35(0x212)][_0x478c35(0x247)];_0x3bd1e0&&(_0x3bd1e0[_0x478c35(0x21f)][_0x478c35(0x1cf)](this[_0x478c35(0x1e7)]),_0x3bd1e0[_0x478c35(0x21d)]['add'](this[_0x478c35(0x20f)]),_0x3bd1e0[_0x478c35(0x23b)][_0x478c35(0x1cf)](this[_0x478c35(0x229)]),_0x3bd1e0['onKeyDownDelegate'][_0x478c35(0x1cf)](this[_0x478c35(0x1ed)]),_0x3bd1e0[_0x478c35(0x1f3)][_0x478c35(0x1cf)](this[_0x478c35(0x222)]),_0x3bd1e0[_0x478c35(0x22a)][_0x478c35(0x1cf)](this[_0x478c35(0x1cd)]),_0x3bd1e0[_0x478c35(0x1ca)][_0x478c35(0x1cf)](this[_0x478c35(0x23e)]),_0x3bd1e0[_0x478c35(0x1c1)][_0x478c35(0x1cf)](this[_0x478c35(0x24a)]),_0x3bd1e0[_0x478c35(0x217)][_0x478c35(0x1cf)](this[_0x478c35(0x20b)])),this[_0x478c35(0x204)]&&this[_0x478c35(0x204)][_0x478c35(0x1cb)]&&(this[_0x478c35(0x204)]['threeObject'][_0x478c35(0x1dc)][_0x478c35(0x21e)]=_0x478c35(0x1c7)),this[_0x478c35(0x205)](),this[_0x478c35(0x219)]();}[_0x49f63a(0x1f5)](){const _0xe4519a=_0x49f63a;var _0x337842;super['unpossess']();const _0x3d7e4a=this[_0xe4519a(0x212)][_0xe4519a(0x247)];_0x3d7e4a&&(_0x3d7e4a[_0xe4519a(0x21f)][_0xe4519a(0x1f0)](this[_0xe4519a(0x1e7)]),_0x3d7e4a[_0xe4519a(0x21d)]['remove'](this[_0xe4519a(0x20f)]),_0x3d7e4a[_0xe4519a(0x23b)][_0xe4519a(0x1f0)](this[_0xe4519a(0x229)]),_0x3d7e4a[_0xe4519a(0x1d2)]['remove'](this['onKeyDown']),_0x3d7e4a[_0xe4519a(0x1f3)][_0xe4519a(0x1f0)](this[_0xe4519a(0x222)]),_0x3d7e4a[_0xe4519a(0x22a)]['remove'](this[_0xe4519a(0x1cd)]),_0x3d7e4a[_0xe4519a(0x1ca)][_0xe4519a(0x1f0)](this[_0xe4519a(0x23e)]),_0x3d7e4a[_0xe4519a(0x1c1)][_0xe4519a(0x1f0)](this[_0xe4519a(0x24a)]),_0x3d7e4a[_0xe4519a(0x217)]['remove'](this[_0xe4519a(0x20b)])),this[_0xe4519a(0x242)]=![],this[_0xe4519a(0x232)](![]),this[_0xe4519a(0x243)]&&((_0x337842=this[_0xe4519a(0x243)][_0xe4519a(0x1d3)])===null||_0x337842===void 0?void 0:_0x337842['remove'](this[_0xe4519a(0x243)]),this[_0xe4519a(0x243)]['geometry'][_0xe4519a(0x23a)](),this['_clickMarker'][_0xe4519a(0x234)][_0xe4519a(0x23a)](),this[_0xe4519a(0x243)]=null),document[_0xe4519a(0x1f6)]===this[_0xe4519a(0x212)][_0xe4519a(0x244)][_0xe4519a(0x1eb)]&&document[_0xe4519a(0x223)]();}['getTargetCameraState'](){const _0x5af2e8=_0x49f63a,_0x5c364b=this[_0x5af2e8(0x226)]();_0x5c364b['y']+=this[_0x5af2e8(0x21b)];const _0x2002d6=this[_0x5af2e8(0x23c)]||this[_0x5af2e8(0x212)]['camera'],_0x1c3770=this['getQuaternion'](),_0x1e5141=new Quaternion()[_0x5af2e8(0x249)](new Vector3(0x1,0x0,0x0),this[_0x5af2e8(0x208)]),_0x3454a4=_0x1c3770[_0x5af2e8(0x1d1)]()['multiply'](_0x1e5141);if(_0x2002d6){const _0x16a09d=new Vector3(0x0,0x0,_0x2002d6[_0x5af2e8(0x215)])[_0x5af2e8(0x245)](_0x3454a4);_0x5c364b[_0x5af2e8(0x1cf)](_0x16a09d);}return {'position':_0x5c364b,'quaternion':_0x3454a4};}[_0x49f63a(0x232)](_0x1b0884){const _0x2dcf4d=_0x49f63a,_0xff1d59=this[_0x2dcf4d(0x212)][_0x2dcf4d(0x244)][_0x2dcf4d(0x1e0)];if(!_0xff1d59)return;_0x1b0884?_0xff1d59[_0x2dcf4d(0x22b)][_0x2dcf4d(0x1ee)]='1':delete _0xff1d59['dataset']['lyCameraDragging'];}['tick'](_0x37ce10){const _0x3a6593=_0x49f63a;if(!this['enabled'])return;const _0x38a161=this[_0x3a6593(0x1c2)]*_0x37ce10,_0x507ea9=new Vector3();if(this[_0x3a6593(0x22c)])_0x507ea9['z']-=0x1;if(this['_moveBackward'])_0x507ea9['z']+=0x1;if(this[_0x3a6593(0x206)])_0x507ea9['x']-=0x1;if(this['_moveRight'])_0x507ea9['x']+=0x1;if(this['_targetPos']&&_0x507ea9['lengthSq']()===0x0){const _0x3066e5=this['getPosition'](),_0x364b1b=this[_0x3a6593(0x1e9)]['clone']();this['enableGravity']&&(_0x364b1b['y']=_0x3066e5['y']);const _0x10c51c=_0x364b1b[_0x3a6593(0x216)](_0x3066e5),_0x22dee9=_0x10c51c[_0x3a6593(0x214)]();if(_0x22dee9>0.1){_0x10c51c[_0x3a6593(0x1fd)]();if(this[_0x3a6593(0x230)]){const _0x55aab4=this[_0x3a6593(0x201)]()['invert'](),_0x20c4a3=_0x10c51c[_0x3a6593(0x1d1)]()['applyQuaternion'](_0x55aab4);_0x507ea9[_0x3a6593(0x213)](_0x20c4a3);}else _0x507ea9['copy'](_0x10c51c);}else {this[_0x3a6593(0x1e9)]=null;if(this[_0x3a6593(0x243)])this[_0x3a6593(0x243)][_0x3a6593(0x248)]=![];}}if(!this['enableGravity']){if(this['_moveUp'])_0x507ea9['y']+=0x1;if(this[_0x3a6593(0x1c9)])_0x507ea9['y']-=0x1;}let _0xa97122=new Vector3();if(_0x507ea9['lengthSq']()>0x0){_0x507ea9[_0x3a6593(0x1fd)]()[_0x3a6593(0x239)](_0x38a161);const _0xd3c58e=this['getQuaternion']();_0xa97122=_0x507ea9[_0x3a6593(0x245)](_0xd3c58e),this[_0x3a6593(0x230)]&&(_0xa97122['y']=0x0,_0xa97122[_0x3a6593(0x1e5)]()>0x0&&_0xa97122[_0x3a6593(0x1fd)]()[_0x3a6593(0x239)](_0x38a161));}const _0x5dc72b=this[_0x3a6593(0x212)][_0x3a6593(0x241)],_0x3d6e06=this[_0x3a6593(0x226)](),_0x374502=this[_0x3a6593(0x204)]instanceof CapsuleColliderComponent?this[_0x3a6593(0x204)]:null,_0x1f3680=_0x374502?_0x374502[_0x3a6593(0x1fa)]:0.35,_0x402801=_0x374502?_0x374502[_0x3a6593(0x21c)]:0.9;if(this[_0x3a6593(0x230)]){this['_verticalVelocity']-=this['gravity']*_0x37ce10;const _0xf3540b=_0x3d6e06['clone'](),_0x28f90d=_0x402801+_0x1f3680+0.1,_0x23d4f4=_0x5dc72b['physics']['lineTraceMulti'](_0xf3540b,_0xf3540b['clone']()[_0x3a6593(0x1cf)](new Vector3(0x0,-_0x28f90d,0x0)),CollisionChannel[_0x3a6593(0x235)],_0x374502||undefined),_0x2e90c8=_0x23d4f4[_0x3a6593(0x207)](_0x2d1760=>_0x2d1760[_0x3a6593(0x1df)]);_0x2e90c8&&(this[_0x3a6593(0x240)]<=0x0&&(this[_0x3a6593(0x240)]=Math[_0x3a6593(0x1fe)](0x0,this[_0x3a6593(0x240)]))),_0xa97122['y']+=this[_0x3a6593(0x240)]*_0x37ce10;}let _0x44e456=_0xa97122;if(_0x5dc72b&&_0x5dc72b['physics']&&_0xa97122[_0x3a6593(0x1e5)]()>0.000001){const _0x525168=_0x3d6e06['clone'](),_0x15894a=_0xa97122[_0x3a6593(0x214)]()+_0x1f3680+0.1,_0xf53010=_0x525168[_0x3a6593(0x1d1)]()[_0x3a6593(0x1cf)](_0xa97122[_0x3a6593(0x1d1)]()[_0x3a6593(0x1fd)]()['multiplyScalar'](_0x15894a)),_0x37b22c=_0x5dc72b[_0x3a6593(0x1d8)][_0x3a6593(0x1e1)](_0x525168,_0xf53010,CollisionChannel[_0x3a6593(0x235)],_0x374502||undefined),_0xe734f=_0x37b22c[_0x3a6593(0x207)](_0x3341fa=>_0x3341fa['blocking']);if(_0xe734f&&_0xe734f[_0x3a6593(0x1df)]){const _0x2eac88=_0xe734f[_0x3a6593(0x1e6)],_0x6a8f22=Math[_0x3a6593(0x1fe)](0x0,_0x2eac88-_0x1f3680-0.001);if(_0x6a8f22<_0xa97122[_0x3a6593(0x214)]()){const _0x29e26f=_0xa97122[_0x3a6593(0x1d1)]()[_0x3a6593(0x1fd)](),_0x28b3ee=_0x29e26f[_0x3a6593(0x1d1)]()[_0x3a6593(0x239)](_0x6a8f22),_0xbd66e5=_0xa97122[_0x3a6593(0x1d1)]()['sub'](_0x28b3ee),_0x13042e=_0xe734f[_0x3a6593(0x231)],_0x26751c=_0xbd66e5[_0x3a6593(0x1c4)](_0x13042e);let _0x262ee2=new Vector3();_0x26751c<0x0?_0x262ee2=_0xbd66e5[_0x3a6593(0x1d1)]()['sub'](_0x13042e['clone']()['multiplyScalar'](_0x26751c)):_0x262ee2=_0xbd66e5;const _0x182e36=_0x262ee2[_0x3a6593(0x214)]();if(_0x182e36>0.001){const _0x494be4=_0x525168['clone']()[_0x3a6593(0x1cf)](_0x28b3ee),_0x3fe01a=_0x182e36+_0x1f3680+0.1,_0x5b6eef=_0x494be4[_0x3a6593(0x1d1)]()[_0x3a6593(0x1cf)](_0x262ee2[_0x3a6593(0x1d1)]()[_0x3a6593(0x1fd)]()['multiplyScalar'](_0x3fe01a)),_0xfb7e62=_0x5dc72b['physics'][_0x3a6593(0x1e1)](_0x494be4,_0x5b6eef,CollisionChannel[_0x3a6593(0x235)],_0x374502||undefined),_0x4e28af=_0xfb7e62[_0x3a6593(0x207)](_0x647eeb=>_0x647eeb[_0x3a6593(0x1df)]);if(_0x4e28af&&_0x4e28af['blocking']){const _0x5b87e2=_0x4e28af[_0x3a6593(0x1e6)],_0x10912f=Math['max'](0x0,_0x5b87e2-_0x1f3680-0.001);_0x10912f<_0x182e36&&_0x262ee2[_0x3a6593(0x1fd)]()[_0x3a6593(0x239)](_0x10912f);}}_0x44e456=_0x28b3ee[_0x3a6593(0x1cf)](_0x262ee2);}}}_0x44e456['lengthSq']()>0x0&&(_0x3d6e06['add'](_0x44e456),this['setPosition'](_0x3d6e06)),this[_0x3a6593(0x219)]();}[_0x49f63a(0x219)](){const _0x5c62b6=_0x49f63a;if(!this['enabled']||!this['camera'])return;const _0x22ef87=this[_0x5c62b6(0x226)]();_0x22ef87['y']+=this[_0x5c62b6(0x21b)];const _0x5030fc=this['getQuaternion'](),_0x1e6530=new Quaternion()[_0x5c62b6(0x249)](new Vector3(0x1,0x0,0x0),this[_0x5c62b6(0x208)]),_0x283e7d=_0x5030fc[_0x5c62b6(0x1d1)]()['multiply'](_0x1e6530),_0x37845a=new Vector3(0x0,0x0,this[_0x5c62b6(0x23c)][_0x5c62b6(0x215)])[_0x5c62b6(0x245)](_0x283e7d);_0x22ef87[_0x5c62b6(0x1cf)](_0x37845a),this[_0x5c62b6(0x23c)]['position'][_0x5c62b6(0x213)](_0x22ef87),this['camera'][_0x5c62b6(0x1cc)][_0x5c62b6(0x213)](_0x283e7d),this[_0x5c62b6(0x23c)][_0x5c62b6(0x1f4)]();}}
|
|
148
|
+
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 Vector2$1((_0x20ff3d['clientX']-_0x9c0bb2[_0x2a888f(0xd4)])/_0x9c0bb2[_0x2a888f(0x115)]*0x2-0x1,-((_0x20ff3d[_0x2a888f(0x126)]-_0x9c0bb2['top'])/_0x9c0bb2['height'])*0x2+0x1),_0x208dd6=new 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,CollisionChannel[_0x2a888f(0x10e)],_0x775c27);let _0x51944c=null;for(const _0x72216f of _0x4b1865){if(!_0x72216f[_0x2a888f(0xc2)])continue;if(this[_0x2a888f(0xba)]instanceof 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 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)]=MathUtils[_0x13d67b(0xfe)](this[_0x13d67b(0xb1)],-_0x246300+0.001,_0x246300-0.001);const _0x178393=new Quaternion()[_0x13d67b(0xd3)](new 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']=CollisionChannel[_0x2c959d(0x10e)],_0x12583f[_0x2c959d(0x12c)](CollisionChannel[_0x2c959d(0xca)],CollisionResponse['Ignore']),_0x12583f;}[_0x298c16(0xd0)](){const _0x3ee2e9=_0x298c16,_0x5ceafd=this['getPosition'](),_0x56538b=_0x5ceafd[_0x3ee2e9(0xd6)]()[_0x3ee2e9(0x128)](new Vector3(0x0,-1e3,0x0)),_0x58eafc=this['rootComponent'],_0x4ffb59=this[_0x3ee2e9(0x10c)]['world'][_0x3ee2e9(0xee)]['lineTraceSingle'](_0x5ceafd,_0x56538b,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 Vector3(0x0,0x0,-1)[_0x38dc78(0xfa)](_0x16ae99);this['_yaw']=Math[_0x38dc78(0xcd)](-_0x22d0c6['x'],-_0x22d0c6['z']);}[_0x298c16(0xbe)](..._0x525893){const _0x52dc96=_0x298c16,_0x2c6c94=new Quaternion();_0x525893[_0x52dc96(0xb0)]===0x1?_0x2c6c94['setFromEuler'](_0x525893[0x0]):_0x2c6c94['setFromEuler'](new 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 Quaternion(_0x1b8524[0x0],_0x1b8524[0x1],_0x1b8524[0x2],_0x1b8524[0x3]);const _0x4a97cc=new Vector3(0x0,0x0,-1)['applyQuaternion'](_0x302e0c);let _0x1de75b=Math[_0x56f0d2(0xde)](MathUtils[_0x56f0d2(0xfe)](_0x4a97cc['y'],-1,0x1));const _0x243383=Math['PI']/0x2;_0x1de75b=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 Quaternion()['setFromAxisAngle'](new 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 Quaternion()[_0x30dfe7(0xd3)](new Vector3(0x1,0x0,0x0),this[_0x30dfe7(0xb1)]),_0x47fb13=_0x153cb1[_0x30dfe7(0xd6)]()['multiply'](_0x269269);if(_0xcf9098){const _0x2b1a64=new 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 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 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 Vector3(0x0,-_0x1b0c15,0x0)),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,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 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,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 Quaternion()[_0x774f41(0xd3)](new Vector3(0x1,0x0,0x0),this['_pitch']),_0x2e0405=_0x9833aa[_0x774f41(0xd6)]()[_0x774f41(0xcf)](_0x3ec47d),_0x536c8a=new 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)]();}}
|
|
149
149
|
|
|
150
|
-
const
|
|
150
|
+
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']());}}
|
|
151
151
|
|
|
152
|
-
|
|
152
|
+
const _0x2ed821=_0x2aec;(function(_0x4832dd,_0x532df9){const _0x2ba190=_0x2aec,_0x3b2602=_0x4832dd();while(!![]){try{const _0x2e01e7=parseInt(_0x2ba190(0x1da))/0x1*(-parseInt(_0x2ba190(0x1d0))/0x2)+parseInt(_0x2ba190(0x1ea))/0x3+-parseInt(_0x2ba190(0x1c6))/0x4+parseInt(_0x2ba190(0x1e5))/0x5*(parseInt(_0x2ba190(0x1cb))/0x6)+parseInt(_0x2ba190(0x1ed))/0x7+parseInt(_0x2ba190(0x1ac))/0x8+parseInt(_0x2ba190(0x1b1))/0x9*(-parseInt(_0x2ba190(0x1d7))/0xa);if(_0x2e01e7===_0x532df9)break;else _0x3b2602['push'](_0x3b2602['shift']());}catch(_0xec040d){_0x3b2602['push'](_0x3b2602['shift']());}}}(_0x5c29,0xf0730));function _0x5c29(){const _0x16a480=['addEventListener','quaternion','camera','unpossess','targetMatrixMap','isTickEnabled','detach','5CMnjxm','world','setScaleSnap','possess','TransformHelperObject','3608697IRxucW','onDraggingChanged','helperObject','11227440YCXTmV','dragging-changed','scene','onDraggingChangedEvent','position','forEach','includes','markRenderStateDirty','remove','onDraggingFunction','viewPort','onObjectChanged','getScaleSnap','matrixWorld','getMatrixInWorld','canvas','onChange','14237960MhqzFB','multiplyMatrices','onObjectChangeEvent','objectChange','destroy','441uyKYdu','getTranslationSnap','updateMatrixWorld','add','set','userData','enable','translationSnap','control','setRotationSnap','helperScene','setSize','gizmoScene','scale','clone','getHelper','setTranslationSnap','viewport','targets','enabled','getRotationnSnap','5660356mDxtDY','primaryTarget','getTargetScene','change','decompose','10048008OPrbgI','clear','get','controller','getMode','11046GLBlWI','refresh','onChangeEvent','setMode','_control','setSpace','multiply','678680AcLrAI','onTransforming','rotationSnap','97OvFTPn','invert','onUpdateFunction','Control\x20not\x20initialized'];_0x5c29=function(){return _0x16a480;};return _0x5c29();}function _0x2aec(_0x36ed41,_0x2433ed){_0x36ed41=_0x36ed41-0x1a7;const _0x5c29c8=_0x5c29();let _0x2aec88=_0x5c29c8[_0x36ed41];return _0x2aec88;}class TransformGizmo extends Pawn{get['control'](){const _0x42a9ea=_0x2aec;if(!this[_0x42a9ea(0x1d4)])throw new Error(_0x42a9ea(0x1dd));return this[_0x42a9ea(0x1d4)];}constructor(_0x209d4f,_0x4762c3){const _0x4c930f=_0x2aec;var _0x4d331e;super(_0x209d4f),this[_0x4c930f(0x1d4)]=null,this[_0x4c930f(0x1ec)]=new Object3D(),this[_0x4c930f(0x1c3)]=[],this[_0x4c930f(0x1c7)]=null,this['targetMatrixMap']=new Map(),this[_0x4c930f(0x1bd)]=null,this[_0x4c930f(0x1f0)]=_0x530da4=>{const _0x2ea3f6=_0x4c930f;this[_0x2ea3f6(0x1eb)](_0x530da4);},this[_0x4c930f(0x1ae)]=()=>{const _0x4e8850=_0x4c930f;this[_0x4e8850(0x1f8)]();},this['onChangeEvent']=()=>{const _0x3a5da0=_0x4c930f;this[_0x3a5da0(0x1ab)]();},this[_0x4c930f(0x1dc)]=null,this[_0x4c930f(0x1f6)]=null;let _0x205507=_0x209d4f[_0x4c930f(0x1c2)][_0x4c930f(0x1aa)];if(!_0x205507)throw new Error('TransformGizmo:Canvas\x20not\x20found');this[_0x4c930f(0x1d4)]=new TransformControls(_0x209d4f['camera'],_0x205507),this['control'][_0x4c930f(0x1c0)]()['traverse'](_0x59b83a=>{const _0x4b94a1=_0x4c930f;_0x59b83a[_0x4b94a1(0x1b6)]['rayIgnored']=!![];}),this['helperObject']['name']=_0x4c930f(0x1e9),this[_0x4c930f(0x1bd)]=(_0x4d331e=_0x4762c3===null||_0x4762c3===void 0?void 0:_0x4762c3[_0x4c930f(0x1bb)])!==null&&_0x4d331e!==void 0?_0x4d331e:null;}[_0x2ed821(0x1c8)](){const _0x226701=_0x2ed821;var _0x5fc225;return (_0x5fc225=this['gizmoScene'])!==null&&_0x5fc225!==void 0?_0x5fc225:this['controller'][_0x226701(0x1e6)][_0x226701(0x1ef)];}[_0x2ed821(0x1e8)](){const _0x1248d9=_0x2ed821,_0x35415c=this[_0x1248d9(0x1c8)]();_0x35415c['add'](this[_0x1248d9(0x1ec)]),_0x35415c['add'](this[_0x1248d9(0x1b9)][_0x1248d9(0x1c0)]()),this['control']['attach'](this[_0x1248d9(0x1ec)]),this[_0x1248d9(0x1b9)][_0x1248d9(0x1de)](_0x1248d9(0x1c9),this[_0x1248d9(0x1d2)]),this[_0x1248d9(0x1b9)][_0x1248d9(0x1de)](_0x1248d9(0x1ee),this[_0x1248d9(0x1f0)]),this['control'][_0x1248d9(0x1de)](_0x1248d9(0x1af),this[_0x1248d9(0x1ae)]);}[_0x2ed821(0x1e1)](){const _0x5b48b8=_0x2ed821;this[_0x5b48b8(0x1b9)]['removeEventListener'](_0x5b48b8(0x1c9),this[_0x5b48b8(0x1d2)]),this[_0x5b48b8(0x1b9)]['removeEventListener'](_0x5b48b8(0x1ee),this['onDraggingChangedEvent']),this[_0x5b48b8(0x1b9)]['removeEventListener'](_0x5b48b8(0x1af),this[_0x5b48b8(0x1ae)]),this[_0x5b48b8(0x1b9)]['detach']();const _0x2c3ec2=this[_0x5b48b8(0x1c8)]();_0x2c3ec2[_0x5b48b8(0x1f5)](this[_0x5b48b8(0x1ec)]),_0x2c3ec2[_0x5b48b8(0x1f5)](this[_0x5b48b8(0x1b9)]['getHelper']());}['getTargetCameraState'](){const _0x587c2a=_0x2ed821;return {'position':this['camera'][_0x587c2a(0x1f1)][_0x587c2a(0x1bf)](),'quaternion':this[_0x587c2a(0x1e0)][_0x587c2a(0x1df)][_0x587c2a(0x1bf)]()};}[_0x2ed821(0x1d1)](){const _0x591536=_0x2ed821;if(!this[_0x591536(0x1c7)])return;this[_0x591536(0x1b9)][_0x591536(0x1e4)]();const _0x2052cd=this['getTargetScene']();_0x2052cd[_0x591536(0x1f5)](this[_0x591536(0x1ec)]),this['targetMatrixMap'][_0x591536(0x1cc)]();let _0x3028db=this['primaryTarget'][_0x591536(0x1a9)]();_0x3028db[_0x591536(0x1ca)](this[_0x591536(0x1ec)][_0x591536(0x1f1)],this[_0x591536(0x1ec)][_0x591536(0x1df)],this[_0x591536(0x1ec)][_0x591536(0x1be)]),_0x2052cd['add'](this[_0x591536(0x1b9)][_0x591536(0x1c0)]()),_0x2052cd[_0x591536(0x1b4)](this[_0x591536(0x1ec)]),this[_0x591536(0x1b9)]['attach'](this[_0x591536(0x1ec)]),this[_0x591536(0x1c3)][_0x591536(0x1f2)](_0x3b6496=>{const _0x397d26=_0x591536,_0x5841ac=_0x3b6496[_0x397d26(0x1a9)](),_0x58408e=_0x3028db[_0x397d26(0x1bf)]()['invert']()[_0x397d26(0x1d6)](_0x5841ac);this[_0x397d26(0x1e2)][_0x397d26(0x1b5)](_0x3b6496,_0x58408e);});}['onChange'](){const _0x1fe5d6=_0x2ed821;this[_0x1fe5d6(0x1ce)][_0x1fe5d6(0x1f7)][_0x1fe5d6(0x1f4)]();}['onDraggingChanged'](_0x8d7fb3){const _0x3d027c=_0x2ed821;if(this[_0x3d027c(0x1c7)]){let _0x208855=this[_0x3d027c(0x1c7)][_0x3d027c(0x1a9)]();_0x208855[_0x3d027c(0x1ca)](this['helperObject'][_0x3d027c(0x1f1)],this['helperObject'][_0x3d027c(0x1df)],this[_0x3d027c(0x1ec)][_0x3d027c(0x1be)]);}this[_0x3d027c(0x1f6)]&&this[_0x3d027c(0x1f6)](_0x8d7fb3['value']);}[_0x2ed821(0x1f8)](){const _0x4c61c1=_0x2ed821;if(this[_0x4c61c1(0x1c7)]){this['helperObject'][_0x4c61c1(0x1b3)](!![]);const _0x536bd1=this[_0x4c61c1(0x1ec)][_0x4c61c1(0x1a8)]['clone']();this[_0x4c61c1(0x1c7)][_0x4c61c1(0x1d8)](_0x536bd1),this['targets']['forEach'](_0x464ba0=>{const _0x53b4de=_0x4c61c1,_0x1e1f17=this[_0x53b4de(0x1e2)][_0x53b4de(0x1cd)](_0x464ba0);if(_0x1e1f17){const _0x424630=new Matrix4()[_0x53b4de(0x1ad)](_0x536bd1,_0x1e1f17);_0x464ba0['onTransforming'](_0x424630);}});}this['onUpdateFunction']&&this[_0x4c61c1(0x1dc)]();}set[_0x2ed821(0x1b7)](_0x49916f){const _0x262166=_0x2ed821;this[_0x262166(0x1b9)][_0x262166(0x1c4)]=_0x49916f;}['setTarget'](_0x126ae9,_0x46a9b0,_0x28aa2c=null,_0x469a69=null){const _0x2e062d=_0x2ed821;this[_0x2e062d(0x1e2)][_0x2e062d(0x1cc)]();let _0x340e61=_0x126ae9[_0x2e062d(0x1a9)]();_0x340e61[_0x2e062d(0x1ca)](this[_0x2e062d(0x1ec)][_0x2e062d(0x1f1)],this[_0x2e062d(0x1ec)][_0x2e062d(0x1df)],this[_0x2e062d(0x1ec)][_0x2e062d(0x1be)]);const _0x512915=this[_0x2e062d(0x1c8)]();_0x512915[_0x2e062d(0x1b4)](this['control']['getHelper']()),this['primaryTarget']=_0x126ae9,this[_0x2e062d(0x1c3)]=_0x46a9b0,this[_0x2e062d(0x1c3)][_0x2e062d(0x1f2)](_0x445e7f=>{const _0x172399=_0x2e062d,_0x555249=_0x445e7f['getMatrixInWorld'](),_0x418784=_0x340e61['clone']()[_0x172399(0x1db)]()[_0x172399(0x1d6)](_0x555249);this[_0x172399(0x1e2)][_0x172399(0x1b5)](_0x445e7f,_0x418784);}),_0x28aa2c&&(this[_0x2e062d(0x1dc)]=_0x28aa2c),_0x469a69&&(this[_0x2e062d(0x1f6)]=_0x469a69),this[_0x2e062d(0x1e3)]=!![];}['getMode'](){const _0x2eee12=_0x2ed821;return this['control'][_0x2eee12(0x1cf)]();}[_0x2ed821(0x1d3)](_0xe31deb){const _0x3e9a3a=_0x2ed821;this[_0x3e9a3a(0x1b9)][_0x3e9a3a(0x1d3)](_0xe31deb);}[_0x2ed821(0x1d5)](_0x307f1c){const _0x518c6c=_0x2ed821;this[_0x518c6c(0x1b9)]['setSpace'](_0x307f1c);}['setAxis'](_0x499384){const _0x3950fe=_0x2ed821;this['control']['showX']=_0x499384?_0x499384===null||_0x499384===void 0?void 0:_0x499384[_0x3950fe(0x1f3)]('X'):![],this[_0x3950fe(0x1b9)]['showY']=_0x499384?_0x499384===null||_0x499384===void 0?void 0:_0x499384[_0x3950fe(0x1f3)]('Y'):![],this['control']['showZ']=_0x499384?_0x499384===null||_0x499384===void 0?void 0:_0x499384[_0x3950fe(0x1f3)]('Z'):![];}[_0x2ed821(0x1bc)](_0x314ab1){const _0x4b79fd=_0x2ed821;this['control'][_0x4b79fd(0x1bc)](_0x314ab1);}[_0x2ed821(0x1b2)](){const _0x15ec10=_0x2ed821;return this['control'][_0x15ec10(0x1b8)];}[_0x2ed821(0x1c1)](_0x39231b){this['control']['setTranslationSnap'](_0x39231b);}[_0x2ed821(0x1c5)](){const _0x454abd=_0x2ed821;return this[_0x454abd(0x1b9)][_0x454abd(0x1d9)];}[_0x2ed821(0x1ba)](_0x442083){const _0x2a67d7=_0x2ed821;this[_0x2a67d7(0x1b9)][_0x2a67d7(0x1ba)](_0x442083);}[_0x2ed821(0x1a7)](){const _0x3e0aec=_0x2ed821;return this[_0x3e0aec(0x1b9)]['scaleSnap'];}['setScaleSnap'](_0x116b35){const _0x388fee=_0x2ed821;this[_0x388fee(0x1b9)][_0x388fee(0x1e7)](_0x116b35);}[_0x2ed821(0x1b0)](){const _0x419063=_0x2ed821;var _0x4fedcc;this[_0x419063(0x1e3)]=![],this[_0x419063(0x1e1)](),this['targetMatrixMap'][_0x419063(0x1cc)](),this[_0x419063(0x1c3)]=[],this['primaryTarget']=null,this[_0x419063(0x1dc)]=null,this[_0x419063(0x1f6)]=null,(_0x4fedcc=this[_0x419063(0x1d4)])===null||_0x4fedcc===void 0?void 0:_0x4fedcc['dispose'](),this[_0x419063(0x1d4)]=null,super[_0x419063(0x1b0)]();}}
|
|
153
153
|
|
|
154
|
-
const
|
|
154
|
+
function _0x116f(){const _0x55d058=['926238vMezCN','multiplyScalar','invert','add','28aZBmOU','intersectRayAabbRaw','BoxColliderDebug','125766KHIuaG','negate','copy','name','_debugMesh','applyMatrix4','510HGuRZh','raycast','normalize','135148yffUno','destroyDebugObject','transpose','threeObject','debugOpacity','makeEmpty','matrixWorld','12838952ohgjui','abs','9702570CjGVaq','expandByPoint','createDebugObject','getWorldAABB','subVectors','getWorldMatrix','clone','39428WWRJIr','transformDirection','_halfExtents','6NCsrJC','58364471whHaJc','9XKnAcg','halfExtents','set','BoxColliderComponent','onDebugTick'];_0x116f=function(){return _0x55d058;};return _0x116f();}function _0x2197(_0x51360b,_0x395c75){_0x51360b=_0x51360b-0xd8;const _0x116f74=_0x116f();let _0x2197bf=_0x116f74[_0x51360b];return _0x2197bf;}const _0x4718bf=_0x2197;(function(_0x39fa77,_0x1b23b4){const _0x4a81a0=_0x2197,_0xe0a8ff=_0x39fa77();while(!![]){try{const _0x429239=-parseInt(_0x4a81a0(0xdb))/0x1+-parseInt(_0x4a81a0(0xe4))/0x2*(parseInt(_0x4a81a0(0xf7))/0x3)+-parseInt(_0x4a81a0(0xf4))/0x4*(parseInt(_0x4a81a0(0xe1))/0x5)+-parseInt(_0x4a81a0(0xfe))/0x6*(parseInt(_0x4a81a0(0xd8))/0x7)+-parseInt(_0x4a81a0(0xeb))/0x8*(parseInt(_0x4a81a0(0xf9))/0x9)+-parseInt(_0x4a81a0(0xed))/0xa+parseInt(_0x4a81a0(0xf8))/0xb;if(_0x429239===_0x1b23b4)break;else _0xe0a8ff['push'](_0xe0a8ff['shift']());}catch(_0x5d70af){_0xe0a8ff['push'](_0xe0a8ff['shift']());}}}(_0x116f,0xcec43));class BoxColliderComponent extends ColliderComponent{get[_0x4718bf(0xfa)](){const _0x3dfb33=_0x4718bf;return this[_0x3dfb33(0xf6)];}constructor(_0x654673,_0x9b9d36=new Vector3(0.5,0.5,0.5),_0x2007ed){const _0x44276f=_0x4718bf;super(_0x654673,_0x2007ed),this[_0x44276f(0xdf)]=null,this[_0x44276f(0xf6)]=new Vector3(_0x9b9d36['x'],_0x9b9d36['y'],_0x9b9d36['z']),this[_0x44276f(0xde)]=_0x44276f(0xfc);}[_0x4718bf(0xf0)](_0xbba875=new Box3()){const _0x55011e=_0x4718bf,_0x15041a=this[_0x55011e(0xf2)](),_0x1d858e=this[_0x55011e(0xf6)]['x'],_0x3adafe=this[_0x55011e(0xf6)]['y'],_0x3d6ee1=this['_halfExtents']['z'];_0xbba875[_0x55011e(0xe9)]();const _0x1c2c38=[new Vector3(-_0x1d858e,-_0x3adafe,-_0x3d6ee1),new Vector3(-_0x1d858e,-_0x3adafe,_0x3d6ee1),new Vector3(-_0x1d858e,_0x3adafe,-_0x3d6ee1),new Vector3(-_0x1d858e,_0x3adafe,_0x3d6ee1),new Vector3(_0x1d858e,-_0x3adafe,-_0x3d6ee1),new Vector3(_0x1d858e,-_0x3adafe,_0x3d6ee1),new Vector3(_0x1d858e,_0x3adafe,-_0x3d6ee1),new Vector3(_0x1d858e,_0x3adafe,_0x3d6ee1)];for(const _0x346188 of _0x1c2c38){_0x346188[_0x55011e(0xe0)](_0x15041a),_0xbba875[_0x55011e(0xee)](_0x346188);}return _0xbba875;}[_0x4718bf(0xef)](){const _0x1416ec=_0x4718bf,_0xb75447=new Object3D();_0xb75447[_0x1416ec(0xde)]=_0x1416ec(0xda);const _0x5bd609=new BoxGeometry(0x1,0x1,0x1),_0x14d2e8=new MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x1416ec(0xe8)]}),_0x4c5b70=new Mesh(_0x5bd609,_0x14d2e8);return _0x4c5b70[_0x1416ec(0xde)]='BoxColliderDebugMesh',_0xb75447[_0x1416ec(0x101)](_0x4c5b70),this[_0x1416ec(0xdf)]=_0x4c5b70,this[_0x1416ec(0xfd)](0x0),_0xb75447;}[_0x4718bf(0xe5)](_0x408d7f){this['_debugMesh']=null;}[_0x4718bf(0xfd)](_0x3ff73f){const _0x1a2f49=_0x4718bf;if(!this[_0x1a2f49(0xdf)])return;this[_0x1a2f49(0xdf)]['scale'][_0x1a2f49(0xfb)](this[_0x1a2f49(0xf6)]['x']*0x2,this[_0x1a2f49(0xf6)]['y']*0x2,this[_0x1a2f49(0xf6)]['z']*0x2);}[_0x4718bf(0xe2)](_0x9ca9bf,_0x37dc3f,_0x464b6c){const _0x58a32a=_0x4718bf;if(!this[_0x58a32a(0xe7)])return null;const _0x4213b8=this[_0x58a32a(0xe7)][_0x58a32a(0xea)][_0x58a32a(0xf3)]()['invert'](),_0x539151=_0x9ca9bf[_0x58a32a(0xf3)]()[_0x58a32a(0xe0)](_0x4213b8),_0x50be29=_0x37dc3f['clone']()[_0x58a32a(0xf5)](_0x4213b8),_0x324169=_0x9ca9bf[_0x58a32a(0xf3)]()[_0x58a32a(0x101)](_0x37dc3f),_0x202bbd=_0x324169[_0x58a32a(0xe0)](_0x4213b8);_0x50be29[_0x58a32a(0xf1)](_0x202bbd,_0x539151);const _0x1a5cfb=this['_halfExtents']['clone']()[_0x58a32a(0xdc)](),_0x52bfc1=this[_0x58a32a(0xf6)][_0x58a32a(0xf3)](),_0x11cccc=this[_0x58a32a(0xd9)](_0x539151,_0x50be29,_0x1a5cfb,_0x52bfc1);if(!_0x11cccc)return null;if(_0x11cccc['t']>_0x464b6c)return null;const _0x2bd02c=_0x9ca9bf[_0x58a32a(0xf3)]()[_0x58a32a(0x101)](_0x37dc3f[_0x58a32a(0xf3)]()[_0x58a32a(0xff)](_0x11cccc['t'])),_0x123019=_0x11cccc['normal'],_0x2e86c6=new Matrix4()[_0x58a32a(0xdd)](this[_0x58a32a(0xe7)][_0x58a32a(0xea)])[_0x58a32a(0x100)]()[_0x58a32a(0xe6)](),_0x158cb3=_0x123019[_0x58a32a(0xe0)](_0x2e86c6)[_0x58a32a(0xe3)]();return {'point':_0x2bd02c,'normal':_0x158cb3,'distance':_0x11cccc['t']};}['intersectRayAabbRaw'](_0x5ba1f7,_0x51f329,_0x5d981b,_0x3df302){const _0x4b8500=_0x4718bf;let _0x384d06=-Infinity,_0x2d0012=Infinity;const _0x17e864=new Vector3(),_0x1e1bdb=1e-8,_0x4859e7=_0x160561=>{const _0x29fa06=_0x2197,_0x1c9198=_0x5ba1f7[_0x160561],_0xf5d738=_0x51f329[_0x160561],_0x3f4f67=_0x5d981b[_0x160561],_0x37e9a1=_0x3df302[_0x160561];if(Math[_0x29fa06(0xec)](_0xf5d738)<_0x1e1bdb){if(_0x1c9198<_0x3f4f67||_0x1c9198>_0x37e9a1)return ![];return !![];}const _0x237a19=0x1/_0xf5d738;let _0x4c8413=(_0x3f4f67-_0x1c9198)*_0x237a19,_0x3ac7e9=(_0x37e9a1-_0x1c9198)*_0x237a19;if(_0x4c8413>_0x3ac7e9){const _0x28c946=_0x4c8413;_0x4c8413=_0x3ac7e9,_0x3ac7e9=_0x28c946;}if(_0x4c8413>_0x384d06){_0x384d06=_0x4c8413,_0x17e864['set'](0x0,0x0,0x0),_0x17e864[_0x160561]=_0xf5d738<0x0?0x1:-1;if(_0xf5d738>0x0)_0x17e864[_0x160561]=-1;else _0x17e864[_0x160561]=0x1;}_0x3ac7e9<_0x2d0012&&(_0x2d0012=_0x3ac7e9);if(_0x384d06>_0x2d0012)return ![];return !![];};if(!_0x4859e7('x')||!_0x4859e7('y')||!_0x4859e7('z'))return null;if(_0x2d0012<0x0)return null;if(_0x384d06<0x0)return {'t':0x0,'normal':_0x51f329[_0x4b8500(0xf3)]()['negate']()[_0x4b8500(0xe3)]()};return {'t':_0x384d06,'normal':_0x17e864};}}
|
|
155
155
|
|
|
156
|
-
function
|
|
156
|
+
function _0x56b6(_0x2f8375,_0x3a679f){_0x2f8375=_0x2f8375-0x6d;const _0x4b5028=_0x4b50();let _0x56b6c2=_0x4b5028[_0x2f8375];return _0x56b6c2;}function _0x4b50(){const _0x202500=['_radius','136270lIMFSa','4052twMldW','set','scale','abs','SphereColliderDebug','material','getWorldPosition','add','SphereColliderComponent','16196FpvwRo','11703593btEpVN','_debugMesh','destroyDebugObject','getWorldScale','3402GUxFUI','needsUpdate','2100fYBFkz','430000CVGyzH','380BWQmxM','debugOpacity','transparent','261CRVrSK','debugColor','911022klDBkE','setHex','setFromCenterAndSize','onDebugStyleChanged','onDebugTick','opacity','radius','max','81CJkNHd'];_0x4b50=function(){return _0x202500;};return _0x4b50();}const _0x539359=_0x56b6;(function(_0x370b6f,_0x3a8c2f){const _0x1b424c=_0x56b6,_0x400aaa=_0x370b6f();while(!![]){try{const _0x2ffba5=parseInt(_0x1b424c(0x78))/0x1*(parseInt(_0x1b424c(0x7b))/0x2)+parseInt(_0x1b424c(0x70))/0x3+parseInt(_0x1b424c(0x84))/0x4*(parseInt(_0x1b424c(0x8d))/0x5)+-parseInt(_0x1b424c(0x8b))/0x6*(-parseInt(_0x1b424c(0x89))/0x7)+parseInt(_0x1b424c(0x8c))/0x8+-parseInt(_0x1b424c(0x6e))/0x9*(-parseInt(_0x1b424c(0x7a))/0xa)+-parseInt(_0x1b424c(0x85))/0xb;if(_0x2ffba5===_0x3a8c2f)break;else _0x400aaa['push'](_0x400aaa['shift']());}catch(_0x154a24){_0x400aaa['push'](_0x400aaa['shift']());}}}(_0x4b50,0x50b4e));class SphereColliderComponent extends ColliderComponent{get[_0x539359(0x76)](){const _0x1af267=_0x539359;return this[_0x1af267(0x79)];}constructor(_0x5cdf50,_0x444102=0.5,_0x3f8f87){const _0x27b662=_0x539359;super(_0x5cdf50,_0x3f8f87),this['_debugMesh']=null,this['_radius']=_0x444102,this['name']=_0x27b662(0x83);}['getWorldAABB'](_0x22b61d=new Box3()){const _0x4fc3bf=_0x539359,_0x1fc1d9=this[_0x4fc3bf(0x81)](),_0x3be77f=this[_0x4fc3bf(0x88)](),_0xd3761b=Math[_0x4fc3bf(0x77)](Math['abs'](_0x3be77f['x']),Math[_0x4fc3bf(0x7e)](_0x3be77f['y']),Math[_0x4fc3bf(0x7e)](_0x3be77f['z'])),_0x52120d=Math[_0x4fc3bf(0x77)](0x0,this[_0x4fc3bf(0x79)])*_0xd3761b,_0x31a0e6=new Vector3(_0x52120d*0x2,_0x52120d*0x2,_0x52120d*0x2);return _0x22b61d[_0x4fc3bf(0x72)](_0x1fc1d9,_0x31a0e6),_0x22b61d;}['createDebugObject'](){const _0x59573c=_0x539359,_0x4feafd=new Object3D();_0x4feafd['name']=_0x59573c(0x7f);const _0x16d5e3=new SphereGeometry(0x1,0x18,0x10),_0x3d66f7=new MeshBasicMaterial({'color':this[_0x59573c(0x6f)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']}),_0x180764=new Mesh(_0x16d5e3,_0x3d66f7);return _0x180764['name']='SphereColliderDebugMesh',_0x4feafd[_0x59573c(0x82)](_0x180764),this['_debugMesh']=_0x180764,this['onDebugTick'](0x0),_0x4feafd;}[_0x539359(0x87)](_0x18f5a4){const _0x326604=_0x539359;this[_0x326604(0x86)]=null;}[_0x539359(0x74)](_0x22594f){const _0x221262=_0x539359,_0xc466f0=this['_debugMesh'];if(!_0xc466f0)return;const _0x54af66=this[_0x221262(0x88)](),_0x4fe4fa=Math['abs'](_0x54af66['x'])>1e-8?_0x54af66['x']:0x1,_0x356cc7=Math[_0x221262(0x7e)](_0x54af66['y'])>1e-8?_0x54af66['y']:0x1,_0x237e3e=Math[_0x221262(0x7e)](_0x54af66['z'])>1e-8?_0x54af66['z']:0x1,_0xe735af=Math['max'](Math['abs'](_0x4fe4fa),Math['abs'](_0x356cc7),Math['abs'](_0x237e3e)),_0x54a4fb=Math[_0x221262(0x77)](0x0,this[_0x221262(0x79)])*_0xe735af;_0xc466f0[_0x221262(0x7d)][_0x221262(0x7c)](_0x54a4fb/_0x4fe4fa,_0x54a4fb/_0x356cc7,_0x54a4fb/_0x237e3e);}[_0x539359(0x73)](){const _0x35c3db=_0x539359,_0xe66dac=this[_0x35c3db(0x86)];if(!_0xe66dac)return;const _0x2e835f=_0xe66dac[_0x35c3db(0x80)];_0x2e835f['color'][_0x35c3db(0x71)](this[_0x35c3db(0x6f)]),_0x2e835f[_0x35c3db(0x75)]=this['debugOpacity'],_0x2e835f[_0x35c3db(0x6d)]=this[_0x35c3db(0x8e)]<0x1,_0x2e835f[_0x35c3db(0x8a)]=!![];}}
|
|
157
157
|
|
|
158
|
-
const _0x3f8d97=_0x3942;(function(_0x3293f4,_0x269b46){const _0x369bed=_0x3942,_0x2fb167=_0x3293f4();while(!![]){try{const _0x31cc8d=parseInt(_0x369bed(0x1fd))/0x1+parseInt(_0x369bed(0x1d2))/0x2+-parseInt(_0x369bed(0x1d4))/0x3+parseInt(_0x369bed(0x20e))/0x4*(-parseInt(_0x369bed(0x215))/0x5)+parseInt(_0x369bed(0x213))/0x6*(-parseInt(_0x369bed(0x1d6))/0x7)+parseInt(_0x369bed(0x1f7))/0x8+parseInt(_0x369bed(0x1c8))/0x9*(parseInt(_0x369bed(0x1e7))/0xa);if(_0x31cc8d===_0x269b46)break;else _0x2fb167['push'](_0x2fb167['shift']());}catch(_0x43872c){_0x2fb167['push'](_0x2fb167['shift']());}}}(_0x49e7,0xa2bd4));class MeshColliderComponent extends ColliderComponent{get[_0x3f8d97(0x1d8)](){const _0x4c379a=_0x3f8d97;return this[_0x4c379a(0x1eb)];}constructor(_0x4a5480,_0x200d20=null,_0x23571b){const _0x2b49af=_0x3f8d97;super(_0x4a5480,_0x23571b),this[_0x2b49af(0x1eb)]=null,this[_0x2b49af(0x1c5)]=null,this[_0x2b49af(0x1ff)]=[],this['_debugMaterial']=null,this['_tmpAabb']=new Box3(),this['_tmpMat']=new Matrix4(),this[_0x2b49af(0x1e3)]=new Vector3(),this[_0x2b49af(0x21f)]=Array[_0x2b49af(0x1ce)]({'length':0x8},()=>new Vector3()),this[_0x2b49af(0x202)]=new Vector3(),this[_0x2b49af(0x1f1)]=new Vector3(),this[_0x2b49af(0x1ed)]=new Vector3(),this[_0x2b49af(0x1c9)]=new Vector3(),this[_0x2b49af(0x1f5)]=new Vector3(),this[_0x2b49af(0x1cc)]=new Vector3(),this[_0x2b49af(0x1f3)]=new Vector3(),this[_0x2b49af(0x1e2)]=new Vector3(),this[_0x2b49af(0x1da)]=new Vector3(),this[_0x2b49af(0x1f9)]='MeshColliderComponent',this[_0x2b49af(0x1d3)](_0x200d20);}[_0x3f8d97(0x1d3)](_0x46e3f7){const _0x48d5ee=_0x3f8d97,_0x529030=this['debugEnabled'];_0x529030&&(this[_0x48d5ee(0x205)]=![]);this[_0x48d5ee(0x1eb)]=_0x46e3f7;this[_0x48d5ee(0x1c5)]&&(this[_0x48d5ee(0x1c5)]['geometry']['dispose'](),this[_0x48d5ee(0x1c5)]=null);if(!_0x46e3f7){_0x529030&&(this[_0x48d5ee(0x205)]=!![]);return;}const _0x49b0b5=[];_0x46e3f7[_0x48d5ee(0x1e1)](!![],!![]);const _0x5353ff=_0x46e3f7[_0x48d5ee(0x21e)]['clone']()[_0x48d5ee(0x201)]();_0x46e3f7[_0x48d5ee(0x1db)](_0x11f154=>{const _0x179c32=_0x48d5ee;if(_0x11f154[_0x179c32(0x1d1)]){const _0x4e704b=_0x11f154;if(_0x4e704b['geometry']){const _0x2fd5e5=_0x4e704b[_0x179c32(0x204)][_0x179c32(0x212)](),_0xc43f0c=_0x5353ff[_0x179c32(0x212)]()[_0x179c32(0x1cb)](_0x4e704b[_0x179c32(0x21e)]);_0x2fd5e5[_0x179c32(0x1e4)](_0xc43f0c),_0x49b0b5['push'](_0x2fd5e5);}}});if(_0x49b0b5[_0x48d5ee(0x1e5)]>0x0){const _0x45ee50=this['mergeGeometries'](_0x49b0b5);if(_0x45ee50){const _0x560148=new Mesh(_0x45ee50);this[_0x48d5ee(0x1c5)]=_0x560148;}}_0x529030&&(this[_0x48d5ee(0x205)]=!![]);}[_0x3f8d97(0x1d9)](_0x56301c){const _0x530435=_0x3f8d97;if(_0x56301c['length']===0x0)return null;if(_0x56301c[_0x530435(0x1e5)]===0x1)return _0x56301c[0x0];let _0x2b0991=0x0,_0x2a7247=0x0;for(const _0x28d193 of _0x56301c){_0x2b0991+=_0x28d193[_0x530435(0x1fb)]['position'][_0x530435(0x1f2)],_0x28d193[_0x530435(0x206)]?_0x2a7247+=_0x28d193['index'][_0x530435(0x1f2)]:_0x2a7247+=_0x28d193['attributes']['position'][_0x530435(0x1f2)];}const _0x14390b=new Float32Array(_0x2b0991*0x3),_0x91df97=new Uint32Array(_0x2a7247);let _0x5ce29f=0x0,_0xc0a00c=0x0;for(const _0x379cc4 of _0x56301c){const _0x2b4ea5=_0x379cc4[_0x530435(0x1fb)][_0x530435(0x1d7)][_0x530435(0x1f4)],_0x2d5f0e=_0x379cc4[_0x530435(0x1fb)]['position'][_0x530435(0x1f2)];for(let _0x5e32b5=0x0;_0x5e32b5<_0x2d5f0e*0x3;_0x5e32b5++){_0x14390b[_0x5ce29f*0x3+_0x5e32b5]=_0x2b4ea5[_0x5e32b5];}if(_0x379cc4[_0x530435(0x206)]){const _0x471b51=_0x379cc4[_0x530435(0x206)][_0x530435(0x1f4)];for(let _0x90a9aa=0x0;_0x90a9aa<_0x379cc4[_0x530435(0x206)][_0x530435(0x1f2)];_0x90a9aa++){_0x91df97[_0xc0a00c+_0x90a9aa]=_0x471b51[_0x90a9aa]+_0x5ce29f;}_0xc0a00c+=_0x379cc4[_0x530435(0x206)][_0x530435(0x1f2)];}else {for(let _0x131d64=0x0;_0x131d64<_0x2d5f0e;_0x131d64++){_0x91df97[_0xc0a00c+_0x131d64]=_0x131d64+_0x5ce29f;}_0xc0a00c+=_0x2d5f0e;}_0x5ce29f+=_0x2d5f0e;}const _0x1eeb56=new BufferGeometry();return _0x1eeb56['setAttribute']('position',new BufferAttribute(_0x14390b,0x3)),_0x1eeb56['setIndex'](new BufferAttribute(_0x91df97,0x1)),_0x1eeb56;}[_0x3f8d97(0x208)](){const _0xb646fa=_0x3f8d97;this[_0xb646fa(0x205)]=![],this[_0xb646fa(0x1c5)]&&(this['_mesh']['geometry'][_0xb646fa(0x217)](),this[_0xb646fa(0x1c5)]=null),this['_sourceObject']=null,super[_0xb646fa(0x208)]();}[_0x3f8d97(0x210)](_0xb531d5=new Box3()){const _0x40a04c=_0x3f8d97;_0xb531d5[_0x40a04c(0x1fc)]();if(!this[_0x40a04c(0x1eb)])return _0xb531d5;this[_0x40a04c(0x1eb)][_0x40a04c(0x1e1)](!![],!![]);const _0x5d80f7=this[_0x40a04c(0x21f)];if(this[_0x40a04c(0x1c5)]){const _0x485218=this['_mesh'];_0x485218[_0x40a04c(0x21e)]['copy'](this[_0x40a04c(0x1eb)][_0x40a04c(0x21e)]);const _0x498be2=_0x485218['geometry'];if(_0x498be2){!_0x498be2['boundingBox']&&_0x498be2[_0x40a04c(0x1c6)]();const _0x2b20db=_0x498be2['boundingBox'];if(_0x2b20db){this[_0x40a04c(0x1e8)][_0x40a04c(0x1ec)](_0x485218[_0x40a04c(0x21e)]);const _0x5c2e7e=_0x2b20db['min'],_0x464202=_0x2b20db['max'];_0x5d80f7[0x0][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x5c2e7e['y'],_0x5c2e7e['z']),_0x5d80f7[0x1][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x5c2e7e['y'],_0x464202['z']),_0x5d80f7[0x2][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x464202['y'],_0x5c2e7e['z']),_0x5d80f7[0x3][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x464202['y'],_0x464202['z']),_0x5d80f7[0x4][_0x40a04c(0x1ea)](_0x464202['x'],_0x5c2e7e['y'],_0x5c2e7e['z']),_0x5d80f7[0x5][_0x40a04c(0x1ea)](_0x464202['x'],_0x5c2e7e['y'],_0x464202['z']),_0x5d80f7[0x6][_0x40a04c(0x1ea)](_0x464202['x'],_0x464202['y'],_0x5c2e7e['z']),_0x5d80f7[0x7][_0x40a04c(0x1ea)](_0x464202['x'],_0x464202['y'],_0x464202['z']);for(const _0x138c7c of _0x5d80f7){_0x138c7c[_0x40a04c(0x1e4)](this['_tmpMat']),_0xb531d5['expandByPoint'](_0x138c7c);}}}}return _0xb531d5;}[_0x3f8d97(0x21d)](_0x394e58,_0x3bdbcf,_0x258673){const _0x13728b=_0x3f8d97;if(!this[_0x13728b(0x1eb)])return [];this['_sourceObject'][_0x13728b(0x1e1)](!![],!![]);const _0x3fe3bd=[];if(this[_0x13728b(0x1c5)]){const _0x9b0e04=this['_mesh'];_0x9b0e04['matrixWorld'][_0x13728b(0x1ec)](this[_0x13728b(0x1eb)]['matrixWorld']);const _0x5a0722=_0x9b0e04['geometry'];if(_0x5a0722){!_0x5a0722[_0x13728b(0x20a)]&&_0x5a0722['computeBoundingBox']();const _0x8c03ef=_0x5a0722['boundingBox'];if(_0x8c03ef){const _0x2c485e=this['_tmpAabb'][_0x13728b(0x1ec)](_0x8c03ef)['applyMatrix4'](_0x9b0e04['matrixWorld']);if(this['intersectRayAabb'](_0x394e58,_0x3bdbcf,_0x258673,_0x2c485e)){const _0x4f9f5f=_0x5a0722[_0x13728b(0x200)](_0x13728b(0x1d7));if(_0x4f9f5f){const _0x5db1d5=_0x5a0722[_0x13728b(0x20c)](),_0x2e497e=_0x5db1d5?Math[_0x13728b(0x203)](_0x5db1d5[_0x13728b(0x1f2)]/0x3):Math['floor'](_0x4f9f5f[_0x13728b(0x1f2)]/0x3);for(let _0x50bd6b=0x0;_0x50bd6b<_0x2e497e;_0x50bd6b++){const _0x319cf5=_0x5db1d5?_0x5db1d5['getX'](_0x50bd6b*0x3+0x0):_0x50bd6b*0x3+0x0,_0x2ef062=_0x5db1d5?_0x5db1d5['getX'](_0x50bd6b*0x3+0x1):_0x50bd6b*0x3+0x1,_0x31dc83=_0x5db1d5?_0x5db1d5[_0x13728b(0x1ee)](_0x50bd6b*0x3+0x2):_0x50bd6b*0x3+0x2;this[_0x13728b(0x202)][_0x13728b(0x1ea)](_0x4f9f5f[_0x13728b(0x1ee)](_0x319cf5),_0x4f9f5f[_0x13728b(0x1ca)](_0x319cf5),_0x4f9f5f[_0x13728b(0x209)](_0x319cf5))['applyMatrix4'](_0x9b0e04['matrixWorld']),this['_tmpB'][_0x13728b(0x1ea)](_0x4f9f5f[_0x13728b(0x1ee)](_0x2ef062),_0x4f9f5f['getY'](_0x2ef062),_0x4f9f5f[_0x13728b(0x209)](_0x2ef062))[_0x13728b(0x1e4)](_0x9b0e04[_0x13728b(0x21e)]),this['_tmpC']['set'](_0x4f9f5f[_0x13728b(0x1ee)](_0x31dc83),_0x4f9f5f[_0x13728b(0x1ca)](_0x31dc83),_0x4f9f5f['getZ'](_0x31dc83))['applyMatrix4'](_0x9b0e04[_0x13728b(0x21e)]);const _0x1933f8=this[_0x13728b(0x211)](_0x394e58,_0x3bdbcf,this[_0x13728b(0x202)],this[_0x13728b(0x1f1)],this[_0x13728b(0x1ed)],_0x258673);_0x1933f8&&_0x3fe3bd[_0x13728b(0x1dc)]({'distance':_0x1933f8['distance'],'point':_0x1933f8[_0x13728b(0x1dd)]['clone'](),'normal':_0x1933f8[_0x13728b(0x21b)][_0x13728b(0x212)]()});}}}}}}return _0x3fe3bd[_0x13728b(0x216)]((_0x1ff16e,_0x92f31e)=>_0x1ff16e[_0x13728b(0x207)]-_0x92f31e['distance']);}[_0x3f8d97(0x220)](_0x4a20cf,_0x45d8f0,_0x123cbf){const _0x3a3953=_0x3f8d97,_0x33fc3f=this['raycastAll'](_0x4a20cf,_0x45d8f0,_0x123cbf);if(_0x33fc3f[_0x3a3953(0x1e5)]>0x0)return _0x33fc3f[0x0];return null;}[_0x3f8d97(0x1c7)](_0x43610e,_0x3cd090,_0x978ac8,_0x5c02a1){const _0x5a9111=_0x3f8d97;let _0x2f9e57=0x0,_0x5886d2=_0x978ac8;const _0x32bf5f=1e-8,_0x482245=_0x2ef47f=>{const _0x4964b6=_0x3942,_0x3a4c0a=_0x43610e[_0x2ef47f],_0x5b0376=_0x3cd090[_0x2ef47f],_0x52a4af=_0x5c02a1['min'][_0x2ef47f],_0x81dfbf=_0x5c02a1['max'][_0x2ef47f];if(Math[_0x4964b6(0x21c)](_0x5b0376)<_0x32bf5f)return _0x3a4c0a>=_0x52a4af&&_0x3a4c0a<=_0x81dfbf;const _0x3ed79d=0x1/_0x5b0376;let _0x448a0d,_0x15341f;return _0x5b0376>=0x0?(_0x448a0d=(_0x52a4af-_0x3a4c0a)*_0x3ed79d,_0x15341f=(_0x81dfbf-_0x3a4c0a)*_0x3ed79d):(_0x448a0d=(_0x81dfbf-_0x3a4c0a)*_0x3ed79d,_0x15341f=(_0x52a4af-_0x3a4c0a)*_0x3ed79d),_0x448a0d>_0x2f9e57&&(_0x2f9e57=_0x448a0d),_0x15341f<_0x5886d2&&(_0x5886d2=_0x15341f),_0x2f9e57<=_0x5886d2;};if(!_0x482245('x')||!_0x482245('y')||!_0x482245('z'))return ![];const _0x4bc2b2=Math[_0x5a9111(0x20b)](0x0,_0x2f9e57);return _0x4bc2b2<=_0x978ac8;}['intersectRayTriangle'](_0x6a5eb6,_0x4db4d5,_0x35db45,_0x28d60c,_0x46ace6,_0x3837aa){const _0x49a5d9=_0x3f8d97,_0x537cd9=1e-8,_0x53b149=this['_tmpEdge1']['copy'](_0x28d60c)['sub'](_0x35db45),_0x26749c=this[_0x49a5d9(0x1f5)][_0x49a5d9(0x1ec)](_0x46ace6)['sub'](_0x35db45),_0x4a13de=this[_0x49a5d9(0x1cc)][_0x49a5d9(0x1cd)](_0x4db4d5,_0x26749c),_0x1c7a7=_0x53b149[_0x49a5d9(0x1f6)](_0x4a13de);if(Math['abs'](_0x1c7a7)<_0x537cd9)return null;const _0x49c7a3=0x1/_0x1c7a7,_0x12261b=this[_0x49a5d9(0x1f3)][_0x49a5d9(0x1ec)](_0x6a5eb6)[_0x49a5d9(0x21a)](_0x35db45),_0x332d4e=_0x12261b['dot'](_0x4a13de)*_0x49c7a3;if(_0x332d4e<0x0||_0x332d4e>0x1)return null;const _0x109003=this[_0x49a5d9(0x1e2)][_0x49a5d9(0x1cd)](_0x12261b,_0x53b149),_0x62fccc=_0x4db4d5[_0x49a5d9(0x1f6)](_0x109003)*_0x49c7a3;if(_0x62fccc<0x0||_0x332d4e+_0x62fccc>0x1)return null;const _0x5398af=_0x26749c[_0x49a5d9(0x1f6)](_0x109003)*_0x49c7a3;if(_0x5398af<0x0||_0x5398af>_0x3837aa)return null;const _0x3123f6=this[_0x49a5d9(0x1da)][_0x49a5d9(0x1cd)](_0x53b149,_0x26749c),_0x588134=_0x3123f6[_0x49a5d9(0x1fa)]();_0x588134>_0x537cd9&&_0x3123f6[_0x49a5d9(0x1f8)](0x1/Math[_0x49a5d9(0x214)](_0x588134));_0x3123f6[_0x49a5d9(0x1f6)](_0x4db4d5)>0x0&&_0x3123f6[_0x49a5d9(0x1f8)](-1);const _0x699ffd=this[_0x49a5d9(0x1e3)][_0x49a5d9(0x1ec)](_0x6a5eb6)[_0x49a5d9(0x218)](_0x4db4d5,_0x5398af);return {'point':_0x699ffd,'normal':_0x3123f6,'distance':_0x5398af};}[_0x3f8d97(0x1e6)](){const _0x28a317=_0x3f8d97;return this[_0x28a317(0x1df)];}[_0x3f8d97(0x1e0)](){const _0x79a70c=_0x3f8d97;if(!this[_0x79a70c(0x1eb)])return null;const _0x4b88ec=new Object3D();_0x4b88ec[_0x79a70c(0x1f9)]=_0x79a70c(0x20f),this[_0x79a70c(0x1ff)]=[],this[_0x79a70c(0x219)]=new MeshBasicMaterial({'color':this[_0x79a70c(0x1d0)],'wireframe':!![],'transparent':!![],'opacity':this[_0x79a70c(0x1ef)]});if(this[_0x79a70c(0x1c5)]){const _0x55afca=this[_0x79a70c(0x1c5)],_0x391b4e=_0x55afca[_0x79a70c(0x204)];if(_0x391b4e){const _0x2c9c29=new Mesh(_0x391b4e,this[_0x79a70c(0x219)]);_0x4b88ec[_0x79a70c(0x1fe)](_0x2c9c29),this[_0x79a70c(0x1ff)][_0x79a70c(0x1dc)]({'parent':_0x4b88ec,'obj':_0x2c9c29});}}return _0x4b88ec;}[_0x3f8d97(0x1d5)](_0x15b64b){const _0x836c9d=_0x3f8d97;for(const _0x1b5bb6 of this['_debugEntries']){_0x1b5bb6[_0x836c9d(0x1de)]['remove'](_0x1b5bb6['obj']);}this['_debugEntries']=[],this[_0x836c9d(0x219)]=null;}[_0x3f8d97(0x1e9)](){const _0x2e1988=_0x3f8d97;if(!this[_0x2e1988(0x219)])return;this[_0x2e1988(0x219)]['color'][_0x2e1988(0x1cf)](this[_0x2e1988(0x1d0)]),this[_0x2e1988(0x219)][_0x2e1988(0x20d)]=this['debugOpacity'],this[_0x2e1988(0x219)][_0x2e1988(0x1f0)]=this[_0x2e1988(0x1ef)]<0x1,this[_0x2e1988(0x219)]['needsUpdate']=!![];}}function _0x3942(_0x298890,_0x1678ab){_0x298890=_0x298890-0x1c5;const _0x49e7ae=_0x49e7();let _0x39421c=_0x49e7ae[_0x298890];return _0x39421c;}function _0x49e7(){const _0x3036d9=['_tmpBoxCorner','raycast','_mesh','computeBoundingBox','intersectRayAabb','2601fGxtas','_tmpEdge1','getY','multiply','_tmpP','crossVectors','from','setHex','debugColor','isMesh','2602968jSneiE','setSourceObject','794124CMXVvV','destroyDebugObject','1696303qawulo','position','sourceObject','mergeGeometries','_tmpN','traverse','push','point','parent','threeObject','createDebugObject','updateWorldMatrix','_tmpQ','_tmpCorner','applyMatrix4','length','getDebugAttachParent','7990XWEcTe','_tmpMat','onDebugStyleChanged','set','_sourceObject','copy','_tmpC','getX','debugOpacity','transparent','_tmpB','count','_tmpT','array','_tmpEdge2','dot','1863360eTYDJk','multiplyScalar','name','lengthSq','attributes','makeEmpty','731498LhBaLh','add','_debugEntries','getAttribute','invert','_tmpA','floor','geometry','debugEnabled','index','distance','destroy','getZ','boundingBox','max','getIndex','opacity','12nfRjKs','MeshColliderDebug','getWorldAABB','intersectRayTriangle','clone','12RhodlS','sqrt','1801445pRFHcH','sort','dispose','addScaledVector','_debugMaterial','sub','normal','abs','raycastAll','matrixWorld'];_0x49e7=function(){return _0x3036d9;};return _0x49e7();}
|
|
158
|
+
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 Box3(),this[_0x1ab8b4(0x19a)]=new Matrix4(),this['_tmpCorner']=new Vector3(),this['_tmpBoxCorner']=Array[_0x1ab8b4(0x1a5)]({'length':0x8},()=>new Vector3()),this[_0x1ab8b4(0x17a)]=new Vector3(),this['_tmpB']=new Vector3(),this[_0x1ab8b4(0x1b9)]=new Vector3(),this[_0x1ab8b4(0x197)]=new Vector3(),this[_0x1ab8b4(0x1b1)]=new Vector3(),this[_0x1ab8b4(0x194)]=new Vector3(),this[_0x1ab8b4(0x1a6)]=new Vector3(),this['_tmpQ']=new Vector3(),this[_0x1ab8b4(0x1be)]=new 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 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 BufferGeometry();return _0x57e41c['setAttribute'](_0x505baf(0x168),new BufferAttribute(_0x251a5e,0x3)),_0x57e41c[_0x505baf(0x17f)](new 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 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 Object3D();_0x52bc4e[_0x166b32(0x17c)]=_0x166b32(0x1b6),this[_0x166b32(0x1b8)]=[],this[_0x166b32(0x1a3)]=new 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 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)]=!![];}}
|
|
159
159
|
|
|
160
|
-
(function(
|
|
160
|
+
(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;}
|
|
161
161
|
|
|
162
|
-
(function(
|
|
162
|
+
(function(_0x26d166,_0x29c57c){var _0x353ea1=_0x12fe,_0x3160ff=_0x26d166();while(!![]){try{var _0x5859e3=parseInt(_0x353ea1(0x144))/0x1+parseInt(_0x353ea1(0x13d))/0x2+-parseInt(_0x353ea1(0x140))/0x3*(parseInt(_0x353ea1(0x141))/0x4)+-parseInt(_0x353ea1(0x142))/0x5+parseInt(_0x353ea1(0x13c))/0x6+-parseInt(_0x353ea1(0x13e))/0x7*(parseInt(_0x353ea1(0x13f))/0x8)+parseInt(_0x353ea1(0x143))/0x9;if(_0x5859e3===_0x29c57c)break;else _0x3160ff['push'](_0x3160ff['shift']());}catch(_0x3f3ba2){_0x3160ff['push'](_0x3160ff['shift']());}}}(_0x1bfd,0xcde9b));function _0x1bfd(){var _0x41eff5=['8TpiXjV','6891ZlhxLm','2884XITffB','6511985xySuMU','8561070wTdlxQ','1628880kgOlhp','6824346IVQHMH','2731056AXoUCK','8967532ZbwrKV'];_0x1bfd=function(){return _0x41eff5;};return _0x1bfd();}function _0x12fe(_0x25bab0,_0x3280df){_0x25bab0=_0x25bab0-0x13c;var _0x1bfdf9=_0x1bfd();var _0x12fe21=_0x1bfdf9[_0x25bab0];return _0x12fe21;}
|
|
163
163
|
|
|
164
164
|
export { ASSET_POINTER_KEY, Actor, AmbientLightActor, AmbientLightComponent, AssetCategory, AssetLoadState, AssetManager, AssetType, AttachmentRules, BoxActor, BoxColliderComponent, BoxComponent, CSS3DWebPanelComponent, CapsuleColliderComponent, ColliderComponent, CollisionChannel, CollisionResponse, CollisionShapeType, Controller, CustomMeshComponent, DefaultAAParams, DefaultAppParam, DefaultBloomParam, DefaultCameraParam, DefaultDOFParam, DefaultGTAOParam, DefaultLensFlareParam, DefaultOrthographicCameraParam, DefaultOutlineParams, DefaultPerspectiveCameraParam, DefaultPostProcessParam, DefaultSSRParam, DefaultSkyParam, DefaultViewportParam, DefaultWorldParam, Delegate, DirectionalLightActor, DirectionalLightComponent, EDITOR_ASSET_ID_KEY, FirstPerson, GeometryAssetPointer, InstanceMeshComponent, LabelComponent, LevelActor, LevelComponent, MaterialAssetPointer, MeshColliderComponent, MeshComponent, Orbital, Pawn, PhysicsWorld, PlaneActor, PlaneComponent, PostProcessManager, PostProcessStepType, ReferenceType, RendererType, SceneComponent, SkyActor, SkyComponent, Spectator, SphereColliderComponent, SphereComponent, TAssetPointer, TSmartPointer, Text3DComponent, TextureAssetPointer, ThreeJsApp, ThreeObjectLibrary, TransformGizmo, Viewport, World };
|
|
165
165
|
//# sourceMappingURL=bundle.esm.js.map
|