lythreeframe 2.0.0 → 2.0.1
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 +80 -70
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +82 -71
- package/dist/bundle.esm.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/src/Frame/Controller.d.ts +53 -11
- package/dist/src/Frame/Parameters/AppParameter.d.ts +0 -2
- package/dist/src/Frame/Parameters/ViewportParameters.d.ts +14 -2
- package/dist/src/Frame/Rendering/WebGLPostProcess.d.ts +41 -0
- package/dist/src/Frame/Viewport.d.ts +10 -13
- package/dist/src/Frame/World.d.ts +4 -1
- package/dist/src/Object/Actor.d.ts +1 -0
- package/dist/src/Object/Components/2D/2DComponent.d.ts +5 -1
- package/dist/src/Object/Components/2D/SpiriteComponent.d.ts +15 -0
- package/dist/src/Object/Components/Mesh/Line/CurveComponent.d.ts +6 -1
- package/dist/src/Object/PawnV2/FirstPerson.d.ts +14 -1
- package/dist/src/Object/PawnV2/TopDown.d.ts +56 -0
- package/dist/src/Physics/MeshColliderComponent.d.ts +3 -5
- package/dist/src/Physics/PhysicsWorld.d.ts +5 -0
- package/dist/src/ThreeJsApp.d.ts +5 -5
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -11,146 +11,157 @@ var OutlineNode_js = require('three/examples/jsm/tsl/display/OutlineNode.js');
|
|
|
11
11
|
var SMAANode_js = require('three/examples/jsm/tsl/display/SMAANode.js');
|
|
12
12
|
var TRAANode_js = require('three/examples/jsm/tsl/display/TRAANode.js');
|
|
13
13
|
var LensflareNode_js = require('three/examples/jsm/tsl/display/LensflareNode.js');
|
|
14
|
-
var gsap = require('gsap');
|
|
15
14
|
var three = require('three');
|
|
15
|
+
var EffectComposer_js = require('three/examples/jsm/postprocessing/EffectComposer.js');
|
|
16
|
+
var RenderPass_js = require('three/examples/jsm/postprocessing/RenderPass.js');
|
|
17
|
+
var UnrealBloomPass_js = require('three/examples/jsm/postprocessing/UnrealBloomPass.js');
|
|
18
|
+
var BokehPass_js = require('three/examples/jsm/postprocessing/BokehPass.js');
|
|
19
|
+
var GTAOPass_js = require('three/examples/jsm/postprocessing/GTAOPass.js');
|
|
20
|
+
var OutlinePass_js = require('three/examples/jsm/postprocessing/OutlinePass.js');
|
|
21
|
+
var SMAAPass_js = require('three/examples/jsm/postprocessing/SMAAPass.js');
|
|
22
|
+
var LUTPass_js = require('three/examples/jsm/postprocessing/LUTPass.js');
|
|
23
|
+
var OutputPass_js = require('three/examples/jsm/postprocessing/OutputPass.js');
|
|
24
|
+
var ShaderPass_js = require('three/examples/jsm/postprocessing/ShaderPass.js');
|
|
25
|
+
var FXAAShader_js = require('three/examples/jsm/shaders/FXAAShader.js');
|
|
26
|
+
var gsap = require('gsap');
|
|
16
27
|
var SkyMesh_js = require('three/examples/jsm/objects/SkyMesh.js');
|
|
17
|
-
var
|
|
28
|
+
var _0x1be597 = require('earcut');
|
|
18
29
|
var CSS2DRenderer_js = require('three/examples/jsm/renderers/CSS2DRenderer.js');
|
|
19
30
|
var TransformControls_js = require('three/examples/jsm/controls/TransformControls.js');
|
|
20
31
|
|
|
21
|
-
|
|
32
|
+
const _0x544c71=_0x5466;(function(_0x3142d0,_0x424e79){const _0x3914a5=_0x5466,_0x26e839=_0x3142d0();while(!![]){try{const _0x123530=parseInt(_0x3914a5(0x1ec))/0x1+-parseInt(_0x3914a5(0x1e9))/0x2*(-parseInt(_0x3914a5(0x1f2))/0x3)+parseInt(_0x3914a5(0x1ef))/0x4+parseInt(_0x3914a5(0x1e3))/0x5*(-parseInt(_0x3914a5(0x1df))/0x6)+parseInt(_0x3914a5(0x1ea))/0x7+parseInt(_0x3914a5(0x1ed))/0x8+parseInt(_0x3914a5(0x1dc))/0x9*(-parseInt(_0x3914a5(0x1eb))/0xa);if(_0x123530===_0x424e79)break;else _0x26e839['push'](_0x26e839['shift']());}catch(_0x527cc9){_0x26e839['push'](_0x26e839['shift']());}}}(_0x430f,0xd4c4a));class BaseObject{get[_0x544c71(0x1f0)](){const _0x1f9e72=_0x544c71;return this[_0x1f9e72(0x1e1)];}set[_0x544c71(0x1f0)](_0x570ceb){const _0x4b9b1a=_0x544c71;this[_0x4b9b1a(0x1e1)]=_0x570ceb;}get[_0x544c71(0x1e2)](){const _0x2fe529=_0x544c71;return this[_0x2fe529(0x1ee)];}constructor(_0x501a3e=webgpu.MathUtils[_0x544c71(0x1e5)]()){const _0xe79285=_0x544c71;this['bCanTick']=![],this[_0xe79285(0x1e8)]=[],this[_0xe79285(0x1e1)]=![],this['_uuid']=_0x501a3e;}['tick'](_0x4e9d1f){const _0x40cb69=_0x544c71;if(!this[_0x40cb69(0x1e1)])return;this[_0x40cb69(0x1e8)][_0x40cb69(0x1de)](_0x499751=>{_0x499751(_0x4e9d1f);});}[_0x544c71(0x1e4)](_0x2068ee){const _0x251149=_0x544c71;this['tickEvents'][_0x251149(0x1e0)](_0x2068ee);}[_0x544c71(0x1dd)](_0x1fab57){const _0x1b1552=_0x544c71;let _0x50bf15=this[_0x1b1552(0x1e8)]['indexOf'](_0x1fab57);_0x50bf15!=-1&&this[_0x1b1552(0x1e8)][_0x1b1552(0x1e6)](_0x50bf15,0x1);}[_0x544c71(0x1f1)](){const _0x21cb86=_0x544c71;this[_0x21cb86(0x1e8)]=[];}[_0x544c71(0x1e7)](){}}function _0x5466(_0x2d1664,_0x59a493){_0x2d1664=_0x2d1664-0x1dc;const _0x430ff2=_0x430f();let _0x546618=_0x430ff2[_0x2d1664];return _0x546618;}function _0x430f(){const _0x21fa81=['3021KqzvLn','153HIcUie','removeTickEvent','forEach','3108954aSOoMy','push','bCanTick','uuid','5uypOAL','addTickEvent','generateUUID','splice','destroy','tickEvents','1780HQFVCG','4203787MLKTxm','1890260beCiua','1074408vIMaQH','10668336OKSIQM','_uuid','2793512TTNUwQ','isTickEnabled','clearTickEvents'];_0x430f=function(){return _0x21fa81;};return _0x430f();}
|
|
22
33
|
|
|
23
|
-
const
|
|
34
|
+
const _0x11853c=_0x1261;function _0x1261(_0x123161,_0x3405af){_0x123161=_0x123161-0x84;const _0x352995=_0x3529();let _0x12612a=_0x352995[_0x123161];return _0x12612a;}(function(_0x1a142a,_0x85e383){const _0x5296f6=_0x1261,_0x5832c4=_0x1a142a();while(!![]){try{const _0x2d7bed=parseInt(_0x5296f6(0x8f))/0x1*(-parseInt(_0x5296f6(0x98))/0x2)+-parseInt(_0x5296f6(0x92))/0x3+-parseInt(_0x5296f6(0x96))/0x4*(parseInt(_0x5296f6(0x90))/0x5)+-parseInt(_0x5296f6(0x8e))/0x6+parseInt(_0x5296f6(0x84))/0x7+parseInt(_0x5296f6(0x99))/0x8+parseInt(_0x5296f6(0x85))/0x9*(parseInt(_0x5296f6(0x95))/0xa);if(_0x2d7bed===_0x85e383)break;else _0x5832c4['push'](_0x5832c4['shift']());}catch(_0x285f94){_0x5832c4['push'](_0x5832c4['shift']());}}}(_0x3529,0x4f52e));class Component extends BaseObject{set[_0x11853c(0x8d)](_0xcda11f){this['_parentActor']=_0xcda11f;}get['parentActor'](){return this['_parentActor'];}get[_0x11853c(0x94)](){const _0x178b7a=_0x11853c;return this[_0x178b7a(0x88)];}set['threeObject'](_0x45b1c5){const _0x5ead6d=_0x11853c;this[_0x5ead6d(0x88)]=_0x45b1c5,this[_0x5ead6d(0x88)]&&(this[_0x5ead6d(0x88)]['userData'][_0x5ead6d(0x8b)]=this);}get[_0x11853c(0x93)](){const _0x5104d5=_0x11853c;return this[_0x5104d5(0x87)];}set['name'](_0x4b69eb){const _0x316939=_0x11853c;this['_name']=_0x4b69eb,this[_0x316939(0x88)]&&(this['obj']['name']=_0x4b69eb);}constructor(_0x3e6cf4){const _0x299bec=_0x11853c;super(_0x3e6cf4?_0x3e6cf4:webgpu.MathUtils[_0x299bec(0x97)]()),this['obj']=null,this[_0x299bec(0x91)]=null,this[_0x299bec(0x87)]=_0x299bec(0x86),this[_0x299bec(0x91)]=null;let _0x505494=this['createDefaultObject']();_0x505494?(this['obj']=_0x505494,this[_0x299bec(0x87)]=this['obj']['type']+_0x299bec(0x86)):console['warn']('Component\x20createDefaultObject\x20return\x20null');}[_0x11853c(0x8a)](_0x1e8c0e){return null;}[_0x11853c(0x8c)](){const _0x284658=_0x11853c;if(!this[_0x284658(0x88)])return;}[_0x11853c(0x89)](){this['destroyObject']();}}function _0x3529(){const _0x1519b7=['createDefaultObject','LYObject','destroyObject','parentActor','2004762irpJrS','5vclHcg','48265tYOJef','_parentActor','1400739ijtsbm','name','threeObject','10aQkAGW','4HjAvWt','generateUUID','89146eRTLCN','2052888LrJkew','3776052NFpmEd','5061789nBMssy','Component','_name','obj','destroy'];_0x3529=function(){return _0x1519b7;};return _0x3529();}
|
|
24
35
|
|
|
25
|
-
(function(
|
|
36
|
+
function _0x4542(){var _0x49a32a=['2315298KThgpZ','7470695nmcVxm','335080TKuqdR','3933iZPplA','58CQkGOG','4837020LMmsDn','4987716NsvjeO','42923yALvmy','KeepRelative','203gXXBAa','15010RJoOLV','KeepWorld'];_0x4542=function(){return _0x49a32a;};return _0x4542();}(function(_0x8fefa3,_0x5030fd){var _0x147ec9=_0x3cae,_0x5cf31a=_0x8fefa3();while(!![]){try{var _0x3087f7=parseInt(_0x147ec9(0x72))/0x1*(-parseInt(_0x147ec9(0x6f))/0x2)+parseInt(_0x147ec9(0x70))/0x3+parseInt(_0x147ec9(0x71))/0x4+parseInt(_0x147ec9(0x6c))/0x5+-parseInt(_0x147ec9(0x6b))/0x6+-parseInt(_0x147ec9(0x68))/0x7*(parseInt(_0x147ec9(0x6d))/0x8)+-parseInt(_0x147ec9(0x6e))/0x9*(parseInt(_0x147ec9(0x69))/0xa);if(_0x3087f7===_0x5030fd)break;else _0x5cf31a['push'](_0x5cf31a['shift']());}catch(_0x53f027){_0x5cf31a['push'](_0x5cf31a['shift']());}}}(_0x4542,0xd00bc));exports.AttachmentRules = void 0;function _0x3cae(_0x3fbd58,_0x6241b){_0x3fbd58=_0x3fbd58-0x68;var _0x454287=_0x4542();var _0x3cae02=_0x454287[_0x3fbd58];return _0x3cae02;}(function(_0x37222f){var _0x590306=_0x3cae;_0x37222f[_0x37222f[_0x590306(0x6a)]=0x1]='KeepWorld',_0x37222f[_0x37222f[_0x590306(0x73)]=0x2]=_0x590306(0x73);}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
26
37
|
|
|
27
|
-
const
|
|
38
|
+
function _0x58b6(){const _0x982263=['11909469bjPlVX','15486eLttYy','72xVLgSo','indexOf','227682uVJvDQ','functions','207992jIJUog','648Auvkci','clear','942yxbmme','24wdILwY','35460408HblbgX','push','9gJoBET','add','34950tEtUgd','splice','18290HVTaVg','forEach'];_0x58b6=function(){return _0x982263;};return _0x58b6();}function _0x261d(_0x26a19b,_0x17b732){_0x26a19b=_0x26a19b-0xf2;const _0x58b685=_0x58b6();let _0x261da2=_0x58b685[_0x26a19b];return _0x261da2;}const _0x5f164e=_0x261d;(function(_0x11a89a,_0x254619){const _0x1e571c=_0x261d,_0x1a2833=_0x11a89a();while(!![]){try{const _0x291e52=-parseInt(_0x1e571c(0xf6))/0x1*(parseInt(_0x1e571c(0x100))/0x2)+parseInt(_0x1e571c(0xf9))/0x3*(-parseInt(_0x1e571c(0xf2))/0x4)+-parseInt(_0x1e571c(0xfb))/0x5*(parseInt(_0x1e571c(0xf5))/0x6)+parseInt(_0x1e571c(0x103))/0x7*(parseInt(_0x1e571c(0x101))/0x8)+parseInt(_0x1e571c(0xf3))/0x9*(-parseInt(_0x1e571c(0xfd))/0xa)+-parseInt(_0x1e571c(0xff))/0xb+parseInt(_0x1e571c(0xf7))/0xc;if(_0x291e52===_0x254619)break;else _0x1a2833['push'](_0x1a2833['shift']());}catch(_0x4ea2d){_0x1a2833['push'](_0x1a2833['shift']());}}}(_0x58b6,0x910e1));class Delegate{constructor(){this['functions']=[];}['broadcast'](..._0x16717d){const _0x31d42b=_0x261d;this['functions'][_0x31d42b(0xfe)](_0x247089=>_0x247089(..._0x16717d));}[_0x5f164e(0xfa)](_0x5ea29f){const _0x5810ad=_0x5f164e;this[_0x5810ad(0x104)][_0x5810ad(0xf8)](_0x5ea29f);}['remove'](_0x48e4bc){const _0x18595b=_0x5f164e,_0x5bbdaf=this[_0x18595b(0x104)][_0x18595b(0x102)](_0x48e4bc);_0x5bbdaf>=0x0&&this['functions'][_0x18595b(0xfc)](_0x5bbdaf,0x1);}[_0x5f164e(0xf4)](){const _0x4d99d3=_0x5f164e;this[_0x4d99d3(0x104)]=[];}}
|
|
28
39
|
|
|
29
|
-
const _0x328346=_0xbe1f;(function(_0x24dc47,_0x255f25){const _0xa85f3=_0xbe1f,_0x72b999=_0x24dc47();while(!![]){try{const _0x4d1d4c=parseInt(_0xa85f3(0x9d))/0x1*(-parseInt(_0xa85f3(0x88))/0x2)+-parseInt(_0xa85f3(0x73))/0x3+parseInt(_0xa85f3(0xa9))/0x4+-parseInt(_0xa85f3(0x92))/0x5*(-parseInt(_0xa85f3(0xc3))/0x6)+parseInt(_0xa85f3(0x72))/0x7*(parseInt(_0xa85f3(0xb9))/0x8)+parseInt(_0xa85f3(0xac))/0x9*(-parseInt(_0xa85f3(0xa6))/0xa)+-parseInt(_0xa85f3(0xa8))/0xb*(-parseInt(_0xa85f3(0x95))/0xc);if(_0x4d1d4c===_0x255f25)break;else _0x72b999['push'](_0x72b999['shift']());}catch(_0x57118f){_0x72b999['push'](_0x72b999['shift']());}}}(_0x2810,0x2ea18));function _0xbe1f(_0x3f1ab1,_0x593bb3){_0x3f1ab1=_0x3f1ab1-0x6a;const _0x28105e=_0x2810();let _0xbe1f2c=_0x28105e[_0x3f1ab1];return _0xbe1f2c;}function _0x2810(){const _0x29f62b=['isClickEnabled','world','children','threeObject','visible','1310aSWVsU','broadcast','407ptcvpv','622452czcEsb','decompose','bCanClick','6309aDaeNf','isHoverEnabled','threeObject\x20is\x20invalid','quaternion','isEuler','name','getWorldMatrix','add','tick','matrixWorld','_onHoverBeginDelegate','scale','getRotation','46216bMuAZq','_onHoverEndDelegate','matrix','getMatrix','setMatrix','onHoverBeginDelegate','getWorldDirection','newComponent\x20threeObject\x20is\x20invalid','compose','detachFromParentComponent','1338lpZzaq','parentComponent','KeepRelative','LYObject','push','getPosition','parent','getCenter','setFromObject','getWorldRightDirection','length','removeChildComponent','attachComponent','_parentActor','error','onHorveringEnd','KeepWorld','setRotation','number','onAddedToWorld','destroyObject','_onDoubleClickDelegate','onDoubleClickDelegate','addChildComponent','setQuaternion','onClicked','app','childrenComponents','copy','min','setPosition','userData','getWorldForwardDirection','max','position','7ZfbQQM','28176AtiQET','detachComponent','getScale','detachFromParentActor','forEach','destroyChildren','getWorldUpDirection','onDoubleClicked','isVisible','getComponentById','setWorldMatrix','SceneComponent','getWorldScale','bCanHover','obj','isVector3','applyQuaternion','targetComponent\x20threeObject\x20is\x20invalid','setLayers','clone','uuid','24IgyyTp','getBounds','setQuaternion\x20failed,param\x20is\x20invalid','markRenderStateDirty','matrixAutoUpdate','parentActor','updateMatrix','isQuaternion','getBoundsBottomCenterPositionWS','onHorveringBegin','6100tLvuZo','getWorldQuaternion','getWorldRotation','39324HxaOhI','updateMatrixWorld','destroy','onHoverEndDelegate','setFromQuaternion','localToWorld','viewport','getWorldPosition','21873Enmhfj','_onClickDelegate','isEmpty','remove'];_0x2810=function(){return _0x29f62b;};return _0x2810();}class SceneComponent extends Component{set[_0x328346(0x8d)](_0x3a2ee7){const _0x1e14c2=_0x328346;this[_0x1e14c2(0x6a)][_0x1e14c2(0x77)](_0x49408a=>{_0x49408a['parentActor']=_0x3a2ee7;}),this[_0x1e14c2(0xd0)]=_0x3a2ee7;}get[_0x328346(0x8d)](){const _0x459b92=_0x328346;return this[_0x459b92(0xd0)];}get[_0x328346(0xbe)](){const _0xf27ec8=_0x328346;return this[_0xf27ec8(0xb6)];}get[_0x328346(0x98)](){const _0x20a0b9=_0x328346;return this[_0x20a0b9(0xba)];}get['onClickDelegate'](){return this['_onClickDelegate'];}get[_0x328346(0xd9)](){return this['_onDoubleClickDelegate'];}get['world'](){const _0xc6ca7c=_0x328346;return this[_0xc6ca7c(0xdd)][_0xc6ca7c(0xa2)];}constructor(_0x3a224f,_0x149b88){const _0x3e6c53=_0x328346;super(_0x149b88),this[_0x3e6c53(0x80)]=![],this[_0x3e6c53(0xab)]=![],this[_0x3e6c53(0xb6)]=new Delegate(),this[_0x3e6c53(0xba)]=new Delegate(),this[_0x3e6c53(0x9e)]=new Delegate(),this[_0x3e6c53(0xd8)]=new Delegate(),this[_0x3e6c53(0xdd)]=_0x3a224f,this[_0x3e6c53(0xb1)]=_0x3e6c53(0x7e);}['createDefaultObject'](){return new webgpu.Object3D();}[_0x328346(0xb4)](_0x466e58){const _0xc0bee9=_0x328346;super['tick'](_0x466e58),this[_0xc0bee9(0x6a)]['forEach'](_0x3124b0=>{const _0x4f7ec7=_0xc0bee9;_0x3124b0[_0x4f7ec7(0xb4)](_0x466e58);});}get[_0x328346(0x7b)](){const _0x29393a=_0x328346;if(!this[_0x29393a(0x81)])return ![];return this[_0x29393a(0x81)][_0x29393a(0xa5)];}['setVisible'](_0xb9b0cc){const _0x380fb2=_0x328346;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');this[_0x380fb2(0x81)][_0x380fb2(0xa5)]=_0xb9b0cc,this[_0x380fb2(0xa2)]&&this['world'][_0x380fb2(0x9b)][_0x380fb2(0x8b)]();}[_0x328346(0x85)](_0x134871){const _0x3ecbe4=_0x328346;if(!this[_0x3ecbe4(0x81)])throw Error('threeObject\x20is\x20invalid');this[_0x3ecbe4(0x81)]['layers']['set'](_0x134871);let _0xdb05a4=this[_0x3ecbe4(0x6a)];_0xdb05a4[_0x3ecbe4(0x77)](_0x193a9c=>{_0x193a9c['setLayers'](_0x134871);});}['getComponentById'](_0x1d186f,_0x50ddba=!![]){const _0x13d6d5=_0x328346;if(this[_0x13d6d5(0x87)]===_0x1d186f)return this;if(_0x50ddba){let _0x5d9686=this['childrenComponents'];for(let _0x470633=0x0;_0x470633<_0x5d9686[_0x13d6d5(0xcd)];++_0x470633){let _0x30cf0e=_0x5d9686[_0x470633][_0x13d6d5(0x7c)](_0x1d186f,_0x50ddba);if(_0x30cf0e)return _0x30cf0e;}}else {let _0xff3d52=this[_0x13d6d5(0x6a)];for(let _0x3f03a0=0x0;_0x3f03a0<_0xff3d52[_0x13d6d5(0xcd)];++_0x3f03a0){let _0x17346a=_0xff3d52[_0x3f03a0];if(_0x17346a['uuid']===_0x1d186f)return _0x17346a;}}return null;}['getBoundsCenterPositionWS'](){const _0x5bb8e4=_0x328346;let _0x201d83=new webgpu.Vector3();return this[_0x5bb8e4(0x89)]()[_0x5bb8e4(0xca)](_0x201d83),this[_0x5bb8e4(0x9c)]();}['getBoundsTopCenterPositionWS'](){const _0x2947e0=_0x328346;let _0x542e21=new webgpu.Vector3(),_0x191d84=this[_0x2947e0(0x89)]();return _0x191d84[_0x2947e0(0xca)](_0x542e21),_0x542e21['y']=_0x191d84[_0x2947e0(0x70)]['y'],_0x542e21;}[_0x328346(0x90)](){const _0x358e69=_0x328346;let _0x521e40=new webgpu.Vector3(),_0x535964=this[_0x358e69(0x89)]();return _0x535964[_0x358e69(0xca)](_0x521e40),_0x521e40['y']=_0x535964[_0x358e69(0x6c)]['y'],_0x521e40;}['getBounds'](){const _0x580ee0=_0x328346;if(!this[_0x580ee0(0x81)])throw Error('threeObject\x20is\x20invalid');let _0x173245=new webgpu.Box3();return _0x173245[_0x580ee0(0xcb)](this[_0x580ee0(0x81)],![]),_0x173245[_0x580ee0(0x9f)]()&&(_0x173245[_0x580ee0(0x6c)]=_0x173245[_0x580ee0(0x70)]=this[_0x580ee0(0x9c)]()),_0x173245;}get[_0x328346(0xc4)](){const _0x391c3b=_0x328346;var _0x2ab44c,_0x137446;if(!this[_0x391c3b(0x81)])throw Error(_0x391c3b(0xae));let _0x4517a2=(_0x137446=(_0x2ab44c=this[_0x391c3b(0x81)])===null||_0x2ab44c===void 0?void 0:_0x2ab44c['parent'])===null||_0x137446===void 0?void 0:_0x137446[_0x391c3b(0x6e)][_0x391c3b(0xc6)];if(!_0x4517a2)return null;if(!(_0x4517a2 instanceof SceneComponent))return null;if(_0x4517a2['parentActor']!==this[_0x391c3b(0x8d)])return null;return _0x4517a2;}get['childrenComponents'](){const _0x563e3c=_0x328346;if(!this[_0x563e3c(0x81)])throw Error(_0x563e3c(0xae));let _0x1f7faf=[];for(let _0x2253b8=0x0;_0x2253b8<this[_0x563e3c(0x81)]['children'][_0x563e3c(0xcd)];++_0x2253b8){if(!this[_0x563e3c(0x81)][_0x563e3c(0xa3)][_0x2253b8]['userData']['LYObject'])continue;this['obj'][_0x563e3c(0xa3)][_0x2253b8][_0x563e3c(0x6e)][_0x563e3c(0xc6)][_0x563e3c(0x8d)]===this[_0x563e3c(0x8d)]&&_0x1f7faf[_0x563e3c(0xc7)](this[_0x563e3c(0x81)][_0x563e3c(0xa3)][_0x2253b8][_0x563e3c(0x6e)]['LYObject']);}return _0x1f7faf;}['onAddedToWorld'](_0xe058a){let _0x398f25=this['childrenComponents'];for(let _0x36794b=0x0;_0x36794b<_0x398f25['length'];++_0x36794b){_0x398f25[_0x36794b]['onAddedToWorld'](_0xe058a);}}['destroy'](){const _0x13897c=_0x328346;this[_0x13897c(0xad)]=![],this[_0x13897c(0xa1)]=![],this[_0x13897c(0x76)](),this[_0x13897c(0xc2)](),this[_0x13897c(0x78)](),this[_0x13897c(0xd7)](),this[_0x13897c(0xa2)]&&this['world'][_0x13897c(0x9b)][_0x13897c(0x8b)]();}[_0x328346(0xd7)](){const _0x454d9a=_0x328346;if(!this[_0x454d9a(0x81)])return;this[_0x454d9a(0x81)][_0x454d9a(0xc9)]&&this[_0x454d9a(0x81)][_0x454d9a(0xc9)][_0x454d9a(0xa0)](this[_0x454d9a(0x81)]),super[_0x454d9a(0xd7)]();}[_0x328346(0xc8)](){const _0x5bc185=_0x328346;if(!this[_0x5bc185(0x81)])throw Error(_0x5bc185(0xae));if(this[_0x5bc185(0x81)][_0x5bc185(0x8c)])return this[_0x5bc185(0x81)][_0x5bc185(0x71)][_0x5bc185(0x86)]();else {const _0x2f7c96=new webgpu.Vector3(),_0x4b265b=new webgpu.Quaternion(),_0x5b8c52=new webgpu.Vector3();return this[_0x5bc185(0x81)][_0x5bc185(0xbb)][_0x5bc185(0xaa)](_0x2f7c96,_0x4b265b,_0x5b8c52),_0x2f7c96;}}[_0x328346(0x6d)](..._0x2e853d){const _0x3fbb4f=_0x328346;var _0x2f6d26;if(!this['obj'])throw Error(_0x3fbb4f(0xae));let _0x5fda19=null;if(_0x2e853d[_0x3fbb4f(0xcd)]===0x1&&((_0x2f6d26=_0x2e853d[0x0])===null||_0x2f6d26===void 0?void 0:_0x2f6d26[_0x3fbb4f(0x82)])){const _0x321584=_0x2e853d[0x0];_0x5fda19=new webgpu.Vector3(_0x321584['x'],_0x321584['y'],_0x321584['z']);}else _0x2e853d[_0x3fbb4f(0xcd)]===0x3&&typeof _0x2e853d[0x0]===_0x3fbb4f(0xd5)&&typeof _0x2e853d[0x1]==='number'&&typeof _0x2e853d[0x2]==='number'&&(_0x5fda19=new webgpu.Vector3(_0x2e853d[0x0],_0x2e853d[0x1],_0x2e853d[0x2]));if(!_0x5fda19)return;this['obj'][_0x3fbb4f(0x71)][_0x3fbb4f(0x6b)](_0x5fda19),!this['obj'][_0x3fbb4f(0x8c)]&&this[_0x3fbb4f(0x81)][_0x3fbb4f(0xbb)][_0x3fbb4f(0x6d)](_0x5fda19['x'],_0x5fda19['y'],_0x5fda19['z']),this[_0x3fbb4f(0x81)][_0x3fbb4f(0x8e)](),this[_0x3fbb4f(0x81)][_0x3fbb4f(0x96)](!![]),this[_0x3fbb4f(0xa2)]&&this[_0x3fbb4f(0xa2)][_0x3fbb4f(0x9b)][_0x3fbb4f(0x8b)]();}[_0x328346(0xb8)](){const _0x39cc16=_0x328346;if(!this[_0x39cc16(0x81)])throw Error('threeObject\x20is\x20invalid');if(this[_0x39cc16(0x81)][_0x39cc16(0x8c)])return this['obj']['rotation']['clone']();else {const _0x3f967f=new webgpu.Vector3(),_0x244942=new webgpu.Quaternion(),_0x96b29d=new webgpu.Vector3();return this[_0x39cc16(0x81)]['matrix'][_0x39cc16(0xaa)](_0x3f967f,_0x244942,_0x96b29d),new webgpu.Euler()[_0x39cc16(0x99)](_0x244942);}}[_0x328346(0xd4)](..._0x14e19d){const _0x66484e=_0x328346;var _0x1df84c;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x5e44dc=null;if((_0x1df84c=_0x14e19d[0x0])===null||_0x1df84c===void 0?void 0:_0x1df84c[_0x66484e(0xb0)]){const _0x45a409=_0x14e19d[0x0];_0x5e44dc=new webgpu.Euler(_0x45a409['x'],_0x45a409['y'],_0x45a409['z'],_0x45a409['order']);}else typeof _0x14e19d[0x0]===_0x66484e(0xd5)&&typeof _0x14e19d[0x1]===_0x66484e(0xd5)&&typeof _0x14e19d[0x2]===_0x66484e(0xd5)&&(_0x5e44dc=new webgpu.Euler(_0x14e19d[0x0],_0x14e19d[0x1],_0x14e19d[0x2]));if(!_0x5e44dc)return;this[_0x66484e(0x81)]['rotation'][_0x66484e(0x6b)](_0x5e44dc),this[_0x66484e(0x81)][_0x66484e(0x8e)](),this[_0x66484e(0x81)]['updateMatrixWorld'](!![]),this[_0x66484e(0xa2)]&&this['world'][_0x66484e(0x9b)]['markRenderStateDirty']();}['getQuaternion'](){const _0x436960=_0x328346;if(!this[_0x436960(0x81)])throw Error(_0x436960(0xae));if(this[_0x436960(0x81)][_0x436960(0x8c)])return this[_0x436960(0x81)][_0x436960(0xaf)][_0x436960(0x86)]();else {const _0xb4fa30=new webgpu.Vector3(),_0x13c4c0=new webgpu.Quaternion(),_0x5c76c4=new webgpu.Vector3();return this[_0x436960(0x81)][_0x436960(0xbb)]['decompose'](_0xb4fa30,_0x13c4c0,_0x5c76c4),_0x13c4c0;}}[_0x328346(0xdb)](..._0x3bd82f){const _0x3bc0c7=_0x328346;var _0x15fca4;if(!this[_0x3bc0c7(0x81)])throw Error(_0x3bc0c7(0xae));let _0x597bcd=null;if((_0x15fca4=_0x3bd82f[0x0])===null||_0x15fca4===void 0?void 0:_0x15fca4[_0x3bc0c7(0x8f)]){const _0xab860=_0x3bd82f[0x0];_0x597bcd=new webgpu.Quaternion(_0xab860['x'],_0xab860['y'],_0xab860['z'],_0xab860['w']);}else typeof _0x3bd82f[0x0]===_0x3bc0c7(0xd5)&&typeof _0x3bd82f[0x1]===_0x3bc0c7(0xd5)&&typeof _0x3bd82f[0x2]===_0x3bc0c7(0xd5)&&typeof _0x3bd82f[0x3]===_0x3bc0c7(0xd5)&&(_0x597bcd=new webgpu.Quaternion(_0x3bd82f[0x0],_0x3bd82f[0x1],_0x3bd82f[0x2],_0x3bd82f[0x3]));if(!_0x597bcd){console[_0x3bc0c7(0xd1)](_0x3bc0c7(0x8a),_0x3bd82f);return;}this[_0x3bc0c7(0x81)]['quaternion'][_0x3bc0c7(0x6b)](_0x597bcd);if(!this[_0x3bc0c7(0x81)]['matrixAutoUpdate']){const _0x1095d3=new webgpu.Vector3(),_0x57623c=new webgpu.Quaternion(),_0x41eebe=new webgpu.Vector3();this[_0x3bc0c7(0x81)]['matrix'][_0x3bc0c7(0xaa)](_0x1095d3,_0x57623c,_0x41eebe),this[_0x3bc0c7(0x81)][_0x3bc0c7(0xbb)][_0x3bc0c7(0xc1)](_0x1095d3,_0x597bcd,_0x41eebe);}this[_0x3bc0c7(0xa2)]&&this['world'][_0x3bc0c7(0x9b)]['markRenderStateDirty'](),this['obj'][_0x3bc0c7(0x8e)](),this[_0x3bc0c7(0x81)]['updateMatrixWorld'](!![]);}[_0x328346(0x75)](){const _0x3a3b0f=_0x328346;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(this[_0x3a3b0f(0x81)][_0x3a3b0f(0x8c)])return this[_0x3a3b0f(0x81)][_0x3a3b0f(0xb7)][_0x3a3b0f(0x86)]();else {const _0x23ccc0=new webgpu.Vector3(),_0x174e5b=new webgpu.Quaternion(),_0x3fe4b3=new webgpu.Vector3();return this['obj'][_0x3a3b0f(0xbb)][_0x3a3b0f(0xaa)](_0x23ccc0,_0x174e5b,_0x3fe4b3),_0x3fe4b3;}}['setScale'](..._0x3edb04){const _0x3e0e15=_0x328346;var _0x11a9de;if(!this[_0x3e0e15(0x81)])throw Error(_0x3e0e15(0xae));let _0x52391a=null;if((_0x11a9de=_0x3edb04[0x0])===null||_0x11a9de===void 0?void 0:_0x11a9de[_0x3e0e15(0x82)]){const _0x5e6276=_0x3edb04[0x0];_0x52391a=new webgpu.Vector3(_0x5e6276['x'],_0x5e6276['y'],_0x5e6276['z']);}else typeof _0x3edb04[0x0]===_0x3e0e15(0xd5)&&typeof _0x3edb04[0x1]==='number'&&typeof _0x3edb04[0x2]==='number'&&(_0x52391a=new webgpu.Vector3(_0x3edb04[0x0],_0x3edb04[0x1],_0x3edb04[0x2]));if(!_0x52391a)return;this['obj'][_0x3e0e15(0xb7)][_0x3e0e15(0x6b)](_0x52391a),this['obj'][_0x3e0e15(0x8e)](),this[_0x3e0e15(0x81)][_0x3e0e15(0x96)](!![]),this[_0x3e0e15(0xa2)]&&this[_0x3e0e15(0xa2)]['viewport']['markRenderStateDirty']();}[_0x328346(0xbc)](){const _0x57897e=_0x328346;if(!this[_0x57897e(0x81)])throw Error('threeObject\x20is\x20invalid');return this['obj']['matrix'];}[_0x328346(0xbd)](_0x1623a3){const _0x1aeaa8=_0x328346;var _0x5f4dfa;if(!this[_0x1aeaa8(0x81)])throw Error(_0x1aeaa8(0xae));_0x1623a3['decompose'](this[_0x1aeaa8(0x81)]['position'],this[_0x1aeaa8(0x81)][_0x1aeaa8(0xaf)],this[_0x1aeaa8(0x81)][_0x1aeaa8(0xb7)]),this['obj'][_0x1aeaa8(0x8e)](),this[_0x1aeaa8(0x81)][_0x1aeaa8(0x96)](!![]),(_0x5f4dfa=this[_0x1aeaa8(0xa2)])===null||_0x5f4dfa===void 0?void 0:_0x5f4dfa[_0x1aeaa8(0x9b)][_0x1aeaa8(0x8b)]();}[_0x328346(0x9c)](){const _0x261fdd=_0x328346;if(!this[_0x261fdd(0x81)])throw Error(_0x261fdd(0xae));let _0x512d15=new webgpu.Vector3();return this[_0x261fdd(0x81)]['getWorldPosition'](_0x512d15),_0x512d15;}[_0x328346(0x94)](){const _0x566c4f=_0x328346;if(!this[_0x566c4f(0x81)])throw Error(_0x566c4f(0xae));let _0x1fac80=new webgpu.Quaternion();return this[_0x566c4f(0x81)][_0x566c4f(0x93)](_0x1fac80),new webgpu.Euler()[_0x566c4f(0x99)](_0x1fac80);}[_0x328346(0x93)](){const _0x27c574=_0x328346;if(!this[_0x27c574(0x81)])throw Error('threeObject\x20is\x20invalid');let _0x5d2c39=new webgpu.Quaternion();return this[_0x27c574(0x81)][_0x27c574(0x93)](_0x5d2c39),_0x5d2c39;}[_0x328346(0x7f)](){const _0x5b7f90=_0x328346;if(!this[_0x5b7f90(0x81)])throw Error(_0x5b7f90(0xae));let _0x1623c3=new webgpu.Vector3();return this[_0x5b7f90(0x81)]['getWorldScale'](_0x1623c3),_0x1623c3;}[_0x328346(0xb2)](){const _0xce3297=_0x328346;if(!this[_0xce3297(0x81)])throw Error('threeObject\x20is\x20invalid');return this['obj']['updateMatrixWorld'](!![]),this['obj']['matrixWorld'][_0xce3297(0x86)]();}[_0x328346(0x7d)](_0xdbcfa0){const _0x2b01ee=_0x328346;if(!this[_0x2b01ee(0x81)])throw Error(_0x2b01ee(0xae));if(this['obj']['parent']){this[_0x2b01ee(0x81)][_0x2b01ee(0xc9)][_0x2b01ee(0x96)](!![]);const _0x3a3a8c=this['obj'][_0x2b01ee(0xc9)][_0x2b01ee(0xb5)]['clone']()['invert'](),_0x45be12=new webgpu.Matrix4()['multiplyMatrices'](_0x3a3a8c,_0xdbcfa0);this[_0x2b01ee(0xbd)](_0x45be12);}else this[_0x2b01ee(0xbd)](_0xdbcfa0);this[_0x2b01ee(0x81)]['updateMatrixWorld'](!![]),this['world']&&this[_0x2b01ee(0xa2)][_0x2b01ee(0x9b)][_0x2b01ee(0x8b)]();}[_0x328346(0x6f)](){const _0x31ba21=_0x328346;if(!this[_0x31ba21(0x81)])throw Error(_0x31ba21(0xae));let _0x2938da=new webgpu.Vector3();return this[_0x31ba21(0x81)][_0x31ba21(0xbf)](_0x2938da),_0x2938da;}[_0x328346(0x79)](){const _0x3783af=_0x328346;if(!this[_0x3783af(0x81)])throw Error('threeObject\x20is\x20invalid');let _0x45cb88=new webgpu.Vector3(0x0,0x1,0x0);return _0x45cb88['applyQuaternion'](this[_0x3783af(0x93)]()),_0x45cb88;}[_0x328346(0xcc)](){const _0x22a297=_0x328346;if(!this[_0x22a297(0x81)])throw Error('threeObject\x20is\x20invalid');let _0x516c68=new webgpu.Vector3(0x1,0x0,0x0);return _0x516c68[_0x22a297(0x83)](this[_0x22a297(0x93)]()),_0x516c68;}['worldToLocal'](_0x1ec9b5){const _0x46e809=_0x328346;if(!this['obj'])throw Error(_0x46e809(0xae));return this[_0x46e809(0x81)]['worldToLocal'](_0x1ec9b5);}[_0x328346(0x9a)](_0x4c81e4){const _0xf3bd93=_0x328346;if(!this['obj'])throw Error(_0xf3bd93(0xae));return this[_0xf3bd93(0x81)]['localToWorld'](_0x4c81e4);}[_0x328346(0xcf)](_0x6cc529){const _0x3e5209=_0x328346;if(!this[_0x3e5209(0x81)])throw Error('threeObject\x20is\x20invalid');if(!_0x6cc529['threeObject'])throw Error(_0x3e5209(0xc0));this[_0x3e5209(0x81)][_0x3e5209(0xb3)](_0x6cc529['threeObject']),this[_0x3e5209(0xa2)]&&_0x6cc529['onAddedToWorld'](this[_0x3e5209(0xa2)]);}[_0x328346(0x74)](_0x576ca8){const _0x2bd1ae=_0x328346;if(!this[_0x2bd1ae(0x81)])throw Error('threeObject\x20is\x20invalid');if(!_0x576ca8[_0x2bd1ae(0xa4)])throw Error('target\x20threeObject\x20is\x20invalid');this[_0x2bd1ae(0x81)][_0x2bd1ae(0xa0)](_0x576ca8['threeObject']);}[_0x328346(0xda)](_0x1b55f4,_0x386a23=exports.AttachmentRules[_0x328346(0xc5)]){const _0xfe866=_0x328346;if(!this[_0xfe866(0x81)])throw Error(_0xfe866(0xae));if(!_0x1b55f4[_0xfe866(0xa4)])throw Error(_0xfe866(0xc0));_0x1b55f4['parentActor']=this[_0xfe866(0x8d)];if(_0x386a23===exports.AttachmentRules[_0xfe866(0xd3)]){let _0x4e2b64=_0x1b55f4[_0xfe866(0xb2)]();this['obj'][_0xfe866(0xb3)](_0x1b55f4[_0xfe866(0xa4)]),_0x1b55f4[_0xfe866(0x7d)](_0x4e2b64);}else this[_0xfe866(0x81)][_0xfe866(0xb3)](_0x1b55f4[_0xfe866(0xa4)]);this[_0xfe866(0xa2)]&&_0x1b55f4[_0xfe866(0xd6)](this['world']),this[_0xfe866(0x81)][_0xfe866(0x8e)](),this[_0xfe866(0x81)][_0xfe866(0x96)](!![]);}[_0x328346(0xce)](_0x572bb7){const _0x2f6f80=_0x328346;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(!_0x572bb7['threeObject'])throw Error(_0x2f6f80(0x84));this[_0x2f6f80(0x81)]['remove'](_0x572bb7[_0x2f6f80(0xa4)]);}[_0x328346(0xc2)](){const _0x23731b=_0x328346;this['parentComponent']&&this[_0x23731b(0xc4)]['removeChildComponent'](this);}['detachFromParentActor'](){const _0x4ba48=_0x328346;this[_0x4ba48(0x8d)]&&(this[_0x4ba48(0x8d)]=null);}[_0x328346(0x78)](){const _0x1a4e14=_0x328346;var _0x4732de;if(!this[_0x1a4e14(0x81)])return;let _0x40bbe5=[];for(let _0x5d5878=0x0;_0x5d5878<this[_0x1a4e14(0x81)][_0x1a4e14(0xa3)][_0x1a4e14(0xcd)];++_0x5d5878){let _0x3374bc=(_0x4732de=this[_0x1a4e14(0x81)][_0x1a4e14(0xa3)][_0x5d5878][_0x1a4e14(0x6e)])===null||_0x4732de===void 0?void 0:_0x4732de[_0x1a4e14(0xc6)];_0x3374bc&&_0x40bbe5[_0x1a4e14(0xc7)](_0x3374bc);}_0x40bbe5[_0x1a4e14(0x77)](_0x1e2eb2=>{const _0x897d34=_0x1a4e14;_0x1e2eb2[_0x897d34(0x97)]();}),_0x40bbe5=[];}set['isHoverEnabled'](_0x474c54){const _0x1609d2=_0x328346;this[_0x1609d2(0x80)]=_0x474c54;let _0x80ef36=this[_0x1609d2(0x6a)];for(let _0x1e81b0=0x0;_0x1e81b0<_0x80ef36[_0x1609d2(0xcd)];++_0x1e81b0){_0x80ef36[_0x1e81b0][_0x1609d2(0xad)]=this['bCanHover'];}}get[_0x328346(0xad)](){return this['bCanHover'];}set[_0x328346(0xa1)](_0x2c1e95){const _0x538f1d=_0x328346;this[_0x538f1d(0xab)]=_0x2c1e95;let _0x242941=this['childrenComponents'];for(let _0x217815=0x0;_0x217815<_0x242941[_0x538f1d(0xcd)];++_0x217815){_0x242941[_0x217815][_0x538f1d(0xa1)]=this[_0x538f1d(0xab)];}}get[_0x328346(0xa1)](){const _0x43fd5c=_0x328346;return this[_0x43fd5c(0xab)];}[_0x328346(0x91)](){const _0x9bf37a=_0x328346;this[_0x9bf37a(0xb6)][_0x9bf37a(0xa7)]();}[_0x328346(0xd2)](){const _0x28480d=_0x328346;this[_0x28480d(0xba)][_0x28480d(0xa7)]();}[_0x328346(0xdc)](){const _0x5c3d30=_0x328346;this[_0x5c3d30(0x9e)][_0x5c3d30(0xa7)]();}[_0x328346(0x7a)](){const _0x506160=_0x328346;this[_0x506160(0xd8)]['broadcast']();}}
|
|
40
|
+
const _0x47226d=_0x2b4e;(function(_0x5eed73,_0x5e07bc){const _0xeabaeb=_0x2b4e,_0x5e465c=_0x5eed73();while(!![]){try{const _0x42a273=parseInt(_0xeabaeb(0xa3))/0x1*(parseInt(_0xeabaeb(0xb4))/0x2)+parseInt(_0xeabaeb(0xd2))/0x3+-parseInt(_0xeabaeb(0xa2))/0x4*(parseInt(_0xeabaeb(0xf4))/0x5)+parseInt(_0xeabaeb(0xbc))/0x6*(parseInt(_0xeabaeb(0xb9))/0x7)+-parseInt(_0xeabaeb(0xf5))/0x8+parseInt(_0xeabaeb(0x108))/0x9+-parseInt(_0xeabaeb(0xea))/0xa;if(_0x42a273===_0x5e07bc)break;else _0x5e465c['push'](_0x5e465c['shift']());}catch(_0x3cf01e){_0x5e465c['push'](_0x5e465c['shift']());}}}(_0x1023,0x57156));function _0x1023(){const _0x1c3306=['markRenderStateDirty','1542960fLuqqi','children','setScale','childrenComponents','obj','viewport','destroy','order','onHorveringEnd','onAddedToWorld','getWorldRotation','getQuaternion','scale','remove','max','compose','matrix','setPosition','getWorldMatrix','getWorldQuaternion','getWorldPosition','push','matrixAutoUpdate','detachFromParentActor','10349740UjklAQ','getCenter','destroyObject','setRotation','isClickEnabled','onClickDelegate','quaternion','targetComponent\x20threeObject\x20is\x20invalid','updateMatrixWorld','getWorldForwardDirection','255WQNjCS','2315952rUHAje','_onDoubleClickDelegate','length','bCanHover','updateMatrix','detachComponent','app','getWorldRightDirection','position','getMatrix','forEach','onClicked','getComponentById','KeepWorld','layers','_onHoverEndDelegate','detachFromParentComponent','isQuaternion','number','5958918fOPcty','matrixWorld','broadcast','_parentActor','setMatrix','threeObject\x20is\x20invalid','invert','decompose','threeObject','getWorldDirection','copy','parent','tick','isHoverEnabled','22276tGpWpT','652354KfojNb','_onHoverBeginDelegate','isEuler','applyQuaternion','setQuaternion','attachComponent','getBounds','_onClickDelegate','visible','setQuaternion\x20failed,param\x20is\x20invalid','getBoundsCenterPositionWS','isVector3','getBoundsBottomCenterPositionWS','newComponent\x20threeObject\x20is\x20invalid','onDoubleClicked','destroyChildren','isVisible','2wogVtu','parentActor','localToWorld','worldToLocal','setFromObject','7hPnRvk','getScale','getPosition','818430FOKUuv','setVisible','uuid','LYObject','getRotation','setWorldMatrix','addChildComponent','getWorldUpDirection','userData','getWorldScale','setLayers','setFromQuaternion','bCanClick','world','add','set','createDefaultObject','removeChildComponent','SceneComponent','clone','parentComponent'];_0x1023=function(){return _0x1c3306;};return _0x1023();}function _0x2b4e(_0x3a750e,_0x57a45c){_0x3a750e=_0x3a750e-0x9a;const _0x102397=_0x1023();let _0x2b4ef1=_0x102397[_0x3a750e];return _0x2b4ef1;}class SceneComponent extends Component{set[_0x47226d(0xb5)](_0x41710d){const _0x4258f8=_0x47226d;this[_0x4258f8(0xd5)][_0x4258f8(0xff)](_0x496b84=>{const _0x5eebdf=_0x4258f8;_0x496b84[_0x5eebdf(0xb5)]=_0x41710d;}),this['_parentActor']=_0x41710d;}get[_0x47226d(0xb5)](){const _0x30b30c=_0x47226d;return this[_0x30b30c(0x10b)];}get['onHoverBeginDelegate'](){return this['_onHoverBeginDelegate'];}get['onHoverEndDelegate'](){const _0x3f02e3=_0x47226d;return this[_0x3f02e3(0x104)];}get[_0x47226d(0xef)](){const _0x3f8190=_0x47226d;return this[_0x3f8190(0xaa)];}get['onDoubleClickDelegate'](){const _0x3cd539=_0x47226d;return this[_0x3cd539(0xf6)];}get[_0x47226d(0xc9)](){const _0x532f27=_0x47226d;return this[_0x532f27(0xfb)][_0x532f27(0xc9)];}constructor(_0x21c91c,_0x146b4a){const _0x2165a7=_0x47226d;super(_0x146b4a),this[_0x2165a7(0xf8)]=![],this[_0x2165a7(0xc8)]=![],this[_0x2165a7(0xa4)]=new Delegate(),this[_0x2165a7(0x104)]=new Delegate(),this[_0x2165a7(0xaa)]=new Delegate(),this['_onDoubleClickDelegate']=new Delegate(),this['app']=_0x21c91c,this['name']=_0x2165a7(0xce);}[_0x47226d(0xcc)](){return new webgpu.Object3D();}[_0x47226d(0xa0)](_0x1e0e36){const _0x5defc9=_0x47226d;super[_0x5defc9(0xa0)](_0x1e0e36),this[_0x5defc9(0xd5)]['forEach'](_0x2b2454=>{const _0x55ac9e=_0x5defc9;_0x2b2454[_0x55ac9e(0xa0)](_0x1e0e36);});}get[_0x47226d(0xb3)](){const _0x5d5baa=_0x47226d;if(!this[_0x5d5baa(0xd6)])return ![];return this[_0x5d5baa(0xd6)][_0x5d5baa(0xab)];}[_0x47226d(0xbd)](_0x3c2cb8){const _0x238b61=_0x47226d;if(!this[_0x238b61(0xd6)])throw Error(_0x238b61(0x10d));this[_0x238b61(0xd6)][_0x238b61(0xab)]=_0x3c2cb8,this[_0x238b61(0xc9)]&&this[_0x238b61(0xc9)][_0x238b61(0xd7)][_0x238b61(0xd1)]();}[_0x47226d(0xc6)](_0x5de6f2){const _0xef2d38=_0x47226d;if(!this[_0xef2d38(0xd6)])throw Error(_0xef2d38(0x10d));this[_0xef2d38(0xd6)][_0xef2d38(0x103)][_0xef2d38(0xcb)](_0x5de6f2);let _0x5072ac=this[_0xef2d38(0xd5)];_0x5072ac[_0xef2d38(0xff)](_0x36071d=>{const _0x3bafca=_0xef2d38;_0x36071d[_0x3bafca(0xc6)](_0x5de6f2);});}['getComponentById'](_0x5f40ba,_0x1bf3e8=!![]){const _0x58b73d=_0x47226d;if(this['uuid']===_0x5f40ba)return this;if(_0x1bf3e8){let _0x2f1aef=this[_0x58b73d(0xd5)];for(let _0x54419d=0x0;_0x54419d<_0x2f1aef[_0x58b73d(0xf7)];++_0x54419d){let _0x335487=_0x2f1aef[_0x54419d][_0x58b73d(0x101)](_0x5f40ba,_0x1bf3e8);if(_0x335487)return _0x335487;}}else {let _0x482397=this[_0x58b73d(0xd5)];for(let _0x4d7d37=0x0;_0x4d7d37<_0x482397[_0x58b73d(0xf7)];++_0x4d7d37){let _0x453875=_0x482397[_0x4d7d37];if(_0x453875[_0x58b73d(0xbe)]===_0x5f40ba)return _0x453875;}}return null;}[_0x47226d(0xad)](){const _0x21fb9d=_0x47226d;let _0xf8ac54=new webgpu.Vector3();return this['getBounds']()[_0x21fb9d(0xeb)](_0xf8ac54),this[_0x21fb9d(0xe6)]();}['getBoundsTopCenterPositionWS'](){const _0x876fbc=_0x47226d;let _0x11f5ad=new webgpu.Vector3(),_0xcca359=this[_0x876fbc(0xa9)]();return _0xcca359['getCenter'](_0x11f5ad),_0x11f5ad['y']=_0xcca359[_0x876fbc(0xe0)]['y'],_0x11f5ad;}[_0x47226d(0xaf)](){const _0x4e7224=_0x47226d;let _0x116bbc=new webgpu.Vector3(),_0x46d7b2=this[_0x4e7224(0xa9)]();return _0x46d7b2[_0x4e7224(0xeb)](_0x116bbc),_0x116bbc['y']=_0x46d7b2['min']['y'],_0x116bbc;}[_0x47226d(0xa9)](){const _0x1ca1e2=_0x47226d;if(!this[_0x1ca1e2(0xd6)])throw Error(_0x1ca1e2(0x10d));let _0x6ef54f=new webgpu.Box3();return _0x6ef54f[_0x1ca1e2(0xb8)](this[_0x1ca1e2(0xd6)],![]),_0x6ef54f['isEmpty']()&&(_0x6ef54f['min']=_0x6ef54f[_0x1ca1e2(0xe0)]=this[_0x1ca1e2(0xe6)]()),_0x6ef54f;}get[_0x47226d(0xd0)](){const _0x470a2c=_0x47226d;var _0x2be5c4,_0x1b2b22;if(!this['obj'])throw Error(_0x470a2c(0x10d));let _0x435247=(_0x1b2b22=(_0x2be5c4=this[_0x470a2c(0xd6)])===null||_0x2be5c4===void 0?void 0:_0x2be5c4['parent'])===null||_0x1b2b22===void 0?void 0:_0x1b2b22['userData']['LYObject'];if(!_0x435247)return null;if(!(_0x435247 instanceof SceneComponent))return null;if(_0x435247['parentActor']!==this[_0x470a2c(0xb5)])return null;return _0x435247;}get['childrenComponents'](){const _0x4583dc=_0x47226d;if(!this[_0x4583dc(0xd6)])throw Error('threeObject\x20is\x20invalid');let _0x287c42=[];for(let _0xf4b414=0x0;_0xf4b414<this['obj'][_0x4583dc(0xd3)][_0x4583dc(0xf7)];++_0xf4b414){if(!this[_0x4583dc(0xd6)][_0x4583dc(0xd3)][_0xf4b414][_0x4583dc(0xc4)][_0x4583dc(0xbf)])continue;this[_0x4583dc(0xd6)][_0x4583dc(0xd3)][_0xf4b414][_0x4583dc(0xc4)]['LYObject'][_0x4583dc(0xb5)]===this['parentActor']&&_0x287c42[_0x4583dc(0xe7)](this[_0x4583dc(0xd6)][_0x4583dc(0xd3)][_0xf4b414][_0x4583dc(0xc4)][_0x4583dc(0xbf)]);}return _0x287c42;}[_0x47226d(0xdb)](_0x4827e4){const _0x52f7dc=_0x47226d;let _0x7c75f=this[_0x52f7dc(0xd5)];for(let _0xf81ec0=0x0;_0xf81ec0<_0x7c75f[_0x52f7dc(0xf7)];++_0xf81ec0){_0x7c75f[_0xf81ec0]['onAddedToWorld'](_0x4827e4);}}[_0x47226d(0xd8)](){const _0x4cec5f=_0x47226d;this[_0x4cec5f(0xa1)]=![],this[_0x4cec5f(0xee)]=![],this['detachFromParentActor'](),this[_0x4cec5f(0x105)](),this[_0x4cec5f(0xb2)](),this[_0x4cec5f(0xec)](),this[_0x4cec5f(0xc9)]&&this['world'][_0x4cec5f(0xd7)][_0x4cec5f(0xd1)]();}[_0x47226d(0xec)](){const _0xed417d=_0x47226d;if(!this[_0xed417d(0xd6)])return;this[_0xed417d(0xd6)][_0xed417d(0x9f)]&&this[_0xed417d(0xd6)][_0xed417d(0x9f)]['remove'](this[_0xed417d(0xd6)]),super[_0xed417d(0xec)]();}[_0x47226d(0xbb)](){const _0x2fcd55=_0x47226d;if(!this[_0x2fcd55(0xd6)])throw Error(_0x2fcd55(0x10d));if(this[_0x2fcd55(0xd6)]['matrixAutoUpdate'])return this['obj'][_0x2fcd55(0xfd)][_0x2fcd55(0xcf)]();else {const _0x5a734c=new webgpu.Vector3(),_0x3aee8b=new webgpu.Quaternion(),_0x24bb41=new webgpu.Vector3();return this['obj'][_0x2fcd55(0xe2)][_0x2fcd55(0x9b)](_0x5a734c,_0x3aee8b,_0x24bb41),_0x5a734c;}}[_0x47226d(0xe3)](..._0x14bbeb){const _0x43e6e5=_0x47226d;var _0x266e8c;if(!this['obj'])throw Error(_0x43e6e5(0x10d));let _0x837e9c=null;if(_0x14bbeb['length']===0x1&&((_0x266e8c=_0x14bbeb[0x0])===null||_0x266e8c===void 0?void 0:_0x266e8c[_0x43e6e5(0xae)])){const _0x1a609e=_0x14bbeb[0x0];_0x837e9c=new webgpu.Vector3(_0x1a609e['x'],_0x1a609e['y'],_0x1a609e['z']);}else _0x14bbeb[_0x43e6e5(0xf7)]===0x3&&typeof _0x14bbeb[0x0]==='number'&&typeof _0x14bbeb[0x1]===_0x43e6e5(0x107)&&typeof _0x14bbeb[0x2]===_0x43e6e5(0x107)&&(_0x837e9c=new webgpu.Vector3(_0x14bbeb[0x0],_0x14bbeb[0x1],_0x14bbeb[0x2]));if(!_0x837e9c)return;this['obj'][_0x43e6e5(0xfd)][_0x43e6e5(0x9e)](_0x837e9c),!this[_0x43e6e5(0xd6)][_0x43e6e5(0xe8)]&&this[_0x43e6e5(0xd6)][_0x43e6e5(0xe2)][_0x43e6e5(0xe3)](_0x837e9c['x'],_0x837e9c['y'],_0x837e9c['z']),this['obj'][_0x43e6e5(0xf9)](),this[_0x43e6e5(0xd6)][_0x43e6e5(0xf2)](!![]),this[_0x43e6e5(0xc9)]&&this[_0x43e6e5(0xc9)][_0x43e6e5(0xd7)][_0x43e6e5(0xd1)]();}[_0x47226d(0xc0)](){const _0x332604=_0x47226d;if(!this[_0x332604(0xd6)])throw Error(_0x332604(0x10d));if(this[_0x332604(0xd6)]['matrixAutoUpdate'])return this['obj']['rotation'][_0x332604(0xcf)]();else {const _0x5bbd84=new webgpu.Vector3(),_0x55d236=new webgpu.Quaternion(),_0x10fda2=new webgpu.Vector3();return this['obj'][_0x332604(0xe2)]['decompose'](_0x5bbd84,_0x55d236,_0x10fda2),new webgpu.Euler()[_0x332604(0xc7)](_0x55d236);}}[_0x47226d(0xed)](..._0x5deb09){const _0x161263=_0x47226d;var _0x3b7d3e;if(!this[_0x161263(0xd6)])throw Error(_0x161263(0x10d));let _0x40e2d3=null;if((_0x3b7d3e=_0x5deb09[0x0])===null||_0x3b7d3e===void 0?void 0:_0x3b7d3e[_0x161263(0xa5)]){const _0x17f559=_0x5deb09[0x0];_0x40e2d3=new webgpu.Euler(_0x17f559['x'],_0x17f559['y'],_0x17f559['z'],_0x17f559[_0x161263(0xd9)]);}else typeof _0x5deb09[0x0]==='number'&&typeof _0x5deb09[0x1]===_0x161263(0x107)&&typeof _0x5deb09[0x2]===_0x161263(0x107)&&(_0x40e2d3=new webgpu.Euler(_0x5deb09[0x0],_0x5deb09[0x1],_0x5deb09[0x2]));if(!_0x40e2d3)return;this[_0x161263(0xd6)]['rotation'][_0x161263(0x9e)](_0x40e2d3),this['obj'][_0x161263(0xf9)](),this[_0x161263(0xd6)][_0x161263(0xf2)](!![]),this[_0x161263(0xc9)]&&this[_0x161263(0xc9)]['viewport'][_0x161263(0xd1)]();}[_0x47226d(0xdd)](){const _0x163600=_0x47226d;if(!this['obj'])throw Error(_0x163600(0x10d));if(this['obj'][_0x163600(0xe8)])return this['obj']['quaternion'][_0x163600(0xcf)]();else {const _0x41559e=new webgpu.Vector3(),_0x181a3a=new webgpu.Quaternion(),_0x1d8ebb=new webgpu.Vector3();return this['obj'][_0x163600(0xe2)][_0x163600(0x9b)](_0x41559e,_0x181a3a,_0x1d8ebb),_0x181a3a;}}[_0x47226d(0xa7)](..._0x3ae795){const _0x16e011=_0x47226d;var _0x5ab688;if(!this[_0x16e011(0xd6)])throw Error(_0x16e011(0x10d));let _0x2e2a43=null;if((_0x5ab688=_0x3ae795[0x0])===null||_0x5ab688===void 0?void 0:_0x5ab688[_0x16e011(0x106)]){const _0x488d6b=_0x3ae795[0x0];_0x2e2a43=new webgpu.Quaternion(_0x488d6b['x'],_0x488d6b['y'],_0x488d6b['z'],_0x488d6b['w']);}else typeof _0x3ae795[0x0]===_0x16e011(0x107)&&typeof _0x3ae795[0x1]===_0x16e011(0x107)&&typeof _0x3ae795[0x2]==='number'&&typeof _0x3ae795[0x3]==='number'&&(_0x2e2a43=new webgpu.Quaternion(_0x3ae795[0x0],_0x3ae795[0x1],_0x3ae795[0x2],_0x3ae795[0x3]));if(!_0x2e2a43){console['error'](_0x16e011(0xac),_0x3ae795);return;}this[_0x16e011(0xd6)]['quaternion'][_0x16e011(0x9e)](_0x2e2a43);if(!this['obj'][_0x16e011(0xe8)]){const _0x19376c=new webgpu.Vector3(),_0x465a70=new webgpu.Quaternion(),_0x34b677=new webgpu.Vector3();this['obj'][_0x16e011(0xe2)]['decompose'](_0x19376c,_0x465a70,_0x34b677),this[_0x16e011(0xd6)][_0x16e011(0xe2)][_0x16e011(0xe1)](_0x19376c,_0x2e2a43,_0x34b677);}this[_0x16e011(0xc9)]&&this[_0x16e011(0xc9)][_0x16e011(0xd7)][_0x16e011(0xd1)](),this[_0x16e011(0xd6)]['updateMatrix'](),this[_0x16e011(0xd6)]['updateMatrixWorld'](!![]);}[_0x47226d(0xba)](){const _0xda08c9=_0x47226d;if(!this['obj'])throw Error(_0xda08c9(0x10d));if(this['obj'][_0xda08c9(0xe8)])return this[_0xda08c9(0xd6)][_0xda08c9(0xde)]['clone']();else {const _0x48fcba=new webgpu.Vector3(),_0x27116e=new webgpu.Quaternion(),_0x1fa64c=new webgpu.Vector3();return this[_0xda08c9(0xd6)]['matrix']['decompose'](_0x48fcba,_0x27116e,_0x1fa64c),_0x1fa64c;}}[_0x47226d(0xd4)](..._0x558692){const _0x296528=_0x47226d;var _0x7e5725;if(!this[_0x296528(0xd6)])throw Error('threeObject\x20is\x20invalid');let _0x209c7d=null;if((_0x7e5725=_0x558692[0x0])===null||_0x7e5725===void 0?void 0:_0x7e5725[_0x296528(0xae)]){const _0x1960c8=_0x558692[0x0];_0x209c7d=new webgpu.Vector3(_0x1960c8['x'],_0x1960c8['y'],_0x1960c8['z']);}else typeof _0x558692[0x0]===_0x296528(0x107)&&typeof _0x558692[0x1]===_0x296528(0x107)&&typeof _0x558692[0x2]===_0x296528(0x107)&&(_0x209c7d=new webgpu.Vector3(_0x558692[0x0],_0x558692[0x1],_0x558692[0x2]));if(!_0x209c7d)return;this[_0x296528(0xd6)]['scale'][_0x296528(0x9e)](_0x209c7d),this['obj'][_0x296528(0xf9)](),this[_0x296528(0xd6)]['updateMatrixWorld'](!![]),this[_0x296528(0xc9)]&&this[_0x296528(0xc9)]['viewport'][_0x296528(0xd1)]();}[_0x47226d(0xfe)](){const _0x424e01=_0x47226d;if(!this[_0x424e01(0xd6)])throw Error(_0x424e01(0x10d));return this[_0x424e01(0xd6)][_0x424e01(0xe2)];}[_0x47226d(0x10c)](_0x6e7b71){const _0x1dc383=_0x47226d;var _0xa1ed9a;if(!this['obj'])throw Error(_0x1dc383(0x10d));_0x6e7b71[_0x1dc383(0x9b)](this[_0x1dc383(0xd6)][_0x1dc383(0xfd)],this[_0x1dc383(0xd6)][_0x1dc383(0xf0)],this[_0x1dc383(0xd6)][_0x1dc383(0xde)]),this[_0x1dc383(0xd6)][_0x1dc383(0xf9)](),this[_0x1dc383(0xd6)]['updateMatrixWorld'](!![]),(_0xa1ed9a=this[_0x1dc383(0xc9)])===null||_0xa1ed9a===void 0?void 0:_0xa1ed9a['viewport'][_0x1dc383(0xd1)]();}['getWorldPosition'](){const _0x59ab6d=_0x47226d;if(!this['obj'])throw Error(_0x59ab6d(0x10d));let _0xf117fa=new webgpu.Vector3();return this[_0x59ab6d(0xd6)][_0x59ab6d(0xe6)](_0xf117fa),_0xf117fa;}[_0x47226d(0xdc)](){const _0x43d3dd=_0x47226d;if(!this['obj'])throw Error(_0x43d3dd(0x10d));let _0xe2460b=new webgpu.Quaternion();return this[_0x43d3dd(0xd6)][_0x43d3dd(0xe5)](_0xe2460b),new webgpu.Euler()[_0x43d3dd(0xc7)](_0xe2460b);}[_0x47226d(0xe5)](){const _0x2ef608=_0x47226d;if(!this[_0x2ef608(0xd6)])throw Error(_0x2ef608(0x10d));let _0x21e79b=new webgpu.Quaternion();return this[_0x2ef608(0xd6)][_0x2ef608(0xe5)](_0x21e79b),_0x21e79b;}[_0x47226d(0xc5)](){const _0x5330e0=_0x47226d;if(!this['obj'])throw Error(_0x5330e0(0x10d));let _0xd5a041=new webgpu.Vector3();return this[_0x5330e0(0xd6)][_0x5330e0(0xc5)](_0xd5a041),_0xd5a041;}[_0x47226d(0xe4)](){const _0x4872fe=_0x47226d;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');return this['obj']['updateMatrixWorld'](!![]),this[_0x4872fe(0xd6)][_0x4872fe(0x109)][_0x4872fe(0xcf)]();}['setWorldMatrix'](_0x136d42){const _0x57fe7d=_0x47226d;if(!this[_0x57fe7d(0xd6)])throw Error(_0x57fe7d(0x10d));if(this[_0x57fe7d(0xd6)][_0x57fe7d(0x9f)]){this[_0x57fe7d(0xd6)][_0x57fe7d(0x9f)][_0x57fe7d(0xf2)](!![]);const _0x420452=this[_0x57fe7d(0xd6)]['parent'][_0x57fe7d(0x109)]['clone']()[_0x57fe7d(0x9a)](),_0x2c00db=new webgpu.Matrix4()['multiplyMatrices'](_0x420452,_0x136d42);this[_0x57fe7d(0x10c)](_0x2c00db);}else this[_0x57fe7d(0x10c)](_0x136d42);this[_0x57fe7d(0xd6)]['updateMatrixWorld'](!![]),this[_0x57fe7d(0xc9)]&&this[_0x57fe7d(0xc9)][_0x57fe7d(0xd7)][_0x57fe7d(0xd1)]();}[_0x47226d(0xf3)](){const _0x520406=_0x47226d;if(!this['obj'])throw Error(_0x520406(0x10d));let _0x3aaa0c=new webgpu.Vector3();return this[_0x520406(0xd6)][_0x520406(0x9d)](_0x3aaa0c),_0x3aaa0c;}[_0x47226d(0xc3)](){const _0x2bcae9=_0x47226d;if(!this[_0x2bcae9(0xd6)])throw Error(_0x2bcae9(0x10d));let _0x46898a=new webgpu.Vector3(0x0,0x1,0x0);return _0x46898a['applyQuaternion'](this[_0x2bcae9(0xe5)]()),_0x46898a;}[_0x47226d(0xfc)](){const _0xe3a3e4=_0x47226d;if(!this[_0xe3a3e4(0xd6)])throw Error(_0xe3a3e4(0x10d));let _0x3ae7e9=new webgpu.Vector3(0x1,0x0,0x0);return _0x3ae7e9[_0xe3a3e4(0xa6)](this[_0xe3a3e4(0xe5)]()),_0x3ae7e9;}['worldToLocal'](_0x3ad0a0){const _0x1e080e=_0x47226d;if(!this[_0x1e080e(0xd6)])throw Error(_0x1e080e(0x10d));return this[_0x1e080e(0xd6)][_0x1e080e(0xb7)](_0x3ad0a0);}[_0x47226d(0xb6)](_0x4712ca){const _0x5ee808=_0x47226d;if(!this[_0x5ee808(0xd6)])throw Error(_0x5ee808(0x10d));return this[_0x5ee808(0xd6)][_0x5ee808(0xb6)](_0x4712ca);}[_0x47226d(0xa8)](_0x267c13){const _0x4290b2=_0x47226d;if(!this[_0x4290b2(0xd6)])throw Error('threeObject\x20is\x20invalid');if(!_0x267c13[_0x4290b2(0x9c)])throw Error('newComponent\x20threeObject\x20is\x20invalid');this[_0x4290b2(0xd6)][_0x4290b2(0xca)](_0x267c13['threeObject']),this[_0x4290b2(0xc9)]&&_0x267c13[_0x4290b2(0xdb)](this[_0x4290b2(0xc9)]);}[_0x47226d(0xfa)](_0x2e84f4){const _0x23cd26=_0x47226d;if(!this['obj'])throw Error(_0x23cd26(0x10d));if(!_0x2e84f4[_0x23cd26(0x9c)])throw Error('target\x20threeObject\x20is\x20invalid');this['obj'][_0x23cd26(0xdf)](_0x2e84f4[_0x23cd26(0x9c)]);}[_0x47226d(0xc2)](_0x59e1dd,_0xdb8864=exports.AttachmentRules['KeepRelative']){const _0x559512=_0x47226d;if(!this[_0x559512(0xd6)])throw Error(_0x559512(0x10d));if(!_0x59e1dd['threeObject'])throw Error(_0x559512(0xb0));_0x59e1dd[_0x559512(0xb5)]=this[_0x559512(0xb5)];if(_0xdb8864===exports.AttachmentRules[_0x559512(0x102)]){let _0x2628e0=_0x59e1dd['getWorldMatrix']();this[_0x559512(0xd6)][_0x559512(0xca)](_0x59e1dd[_0x559512(0x9c)]),_0x59e1dd[_0x559512(0xc1)](_0x2628e0);}else this[_0x559512(0xd6)][_0x559512(0xca)](_0x59e1dd[_0x559512(0x9c)]);this[_0x559512(0xc9)]&&_0x59e1dd['onAddedToWorld'](this[_0x559512(0xc9)]),this[_0x559512(0xd6)][_0x559512(0xf9)](),this['obj']['updateMatrixWorld'](!![]);}[_0x47226d(0xcd)](_0x22964e){const _0x2721eb=_0x47226d;if(!this[_0x2721eb(0xd6)])throw Error('threeObject\x20is\x20invalid');if(!_0x22964e[_0x2721eb(0x9c)])throw Error(_0x2721eb(0xf1));this[_0x2721eb(0xd6)][_0x2721eb(0xdf)](_0x22964e['threeObject']);}[_0x47226d(0x105)](){const _0x5d19d9=_0x47226d;this[_0x5d19d9(0xd0)]&&this['parentComponent'][_0x5d19d9(0xcd)](this);}[_0x47226d(0xe9)](){const _0x381398=_0x47226d;this[_0x381398(0xb5)]&&(this[_0x381398(0xb5)]=null);}[_0x47226d(0xb2)](){const _0x20f360=_0x47226d;var _0x2a38a;if(!this[_0x20f360(0xd6)])return;let _0x5567f8=[];for(let _0x22b5ed=0x0;_0x22b5ed<this['obj']['children'][_0x20f360(0xf7)];++_0x22b5ed){let _0x3ddbf4=(_0x2a38a=this[_0x20f360(0xd6)]['children'][_0x22b5ed][_0x20f360(0xc4)])===null||_0x2a38a===void 0?void 0:_0x2a38a[_0x20f360(0xbf)];_0x3ddbf4&&_0x5567f8['push'](_0x3ddbf4);}_0x5567f8[_0x20f360(0xff)](_0x530672=>{_0x530672['destroy']();}),_0x5567f8=[];}set[_0x47226d(0xa1)](_0x465a0a){const _0x19fc11=_0x47226d;this[_0x19fc11(0xf8)]=_0x465a0a;let _0x1cf5ba=this[_0x19fc11(0xd5)];for(let _0x236713=0x0;_0x236713<_0x1cf5ba[_0x19fc11(0xf7)];++_0x236713){_0x1cf5ba[_0x236713][_0x19fc11(0xa1)]=this[_0x19fc11(0xf8)];}}get[_0x47226d(0xa1)](){return this['bCanHover'];}set[_0x47226d(0xee)](_0x530502){const _0x54c3c4=_0x47226d;this['bCanClick']=_0x530502;let _0x10a74b=this[_0x54c3c4(0xd5)];for(let _0x18c6d8=0x0;_0x18c6d8<_0x10a74b[_0x54c3c4(0xf7)];++_0x18c6d8){_0x10a74b[_0x18c6d8][_0x54c3c4(0xee)]=this[_0x54c3c4(0xc8)];}}get['isClickEnabled'](){const _0x363898=_0x47226d;return this[_0x363898(0xc8)];}['onHorveringBegin'](){const _0x5520e3=_0x47226d;this[_0x5520e3(0xa4)][_0x5520e3(0x10a)]();}[_0x47226d(0xda)](){const _0x4ebfa1=_0x47226d;this[_0x4ebfa1(0x104)]['broadcast']();}[_0x47226d(0x100)](){const _0x25db0f=_0x47226d;this[_0x25db0f(0xaa)]['broadcast']();}[_0x47226d(0xb1)](){const _0xd1bb0=_0x47226d;this[_0xd1bb0(0xf6)]['broadcast']();}}
|
|
30
41
|
|
|
31
|
-
const
|
|
42
|
+
const _0x369ca6=_0x4f78;(function(_0x2d7f62,_0x3de499){const _0x4b65bb=_0x4f78,_0x12c3f3=_0x2d7f62();while(!![]){try{const _0x51343d=-parseInt(_0x4b65bb(0x19f))/0x1+-parseInt(_0x4b65bb(0x1ab))/0x2*(parseInt(_0x4b65bb(0x1b4))/0x3)+parseInt(_0x4b65bb(0x1c3))/0x4+-parseInt(_0x4b65bb(0x1a6))/0x5+-parseInt(_0x4b65bb(0x1b3))/0x6*(parseInt(_0x4b65bb(0x1c1))/0x7)+parseInt(_0x4b65bb(0x1a7))/0x8*(-parseInt(_0x4b65bb(0x1bf))/0x9)+parseInt(_0x4b65bb(0x1c5))/0xa*(parseInt(_0x4b65bb(0x1a1))/0xb);if(_0x51343d===_0x3de499)break;else _0x12c3f3['push'](_0x12c3f3['shift']());}catch(_0x574182){_0x12c3f3['push'](_0x12c3f3['shift']());}}}(_0x3c9a,0xbbcc8));function _0x4f78(_0x1e5b50,_0x2507b4){_0x1e5b50=_0x1e5b50-0x19e;const _0x3c9aae=_0x3c9a();let _0x4f78bc=_0x3c9aae[_0x1e5b50];return _0x4f78bc;}function _0x3c9a(){const _0x28dc7c=['threeObject\x20is\x20null','forEach','length','receiveShadow','geometry','30483sACNrU','materialPtr','106897VEwEWJ','app','4414300zXFyRS','getValue','10ycMyIV','getBoundsBottomCenterPosition','_materialPtr','release','createDefaultObject','551622zObJGx','destroyObject','32430189CAnySq','castShadow','addRef','obj','addMaterialAsset','6913785UPlOii','872UOlSai','getBounds','threeObject','_geometryPtr','7962BEpkAM','removeFromParent','getCenter','addGeometryAsset','push','geometryPtr','assetManager','material','186LHbuOu','381EkOzdF','max','getBoundsTopCenterPosition','isArray','LYObject','getBoundsCenterPosition'];_0x3c9a=function(){return _0x28dc7c;};return _0x3c9a();}class MeshComponent extends SceneComponent{get[_0x369ca6(0x1a9)](){const _0x4a915d=_0x369ca6;if(!this[_0x4a915d(0x1a4)])throw new Error(_0x4a915d(0x1ba));return this['obj'];}set[_0x369ca6(0x1a9)](_0x37c323){const _0xe0def=_0x369ca6;this[_0xe0def(0x1a4)]=_0x37c323,this['obj']&&(this[_0xe0def(0x1a4)]['userData'][_0xe0def(0x1b8)]=this);}get['geometry'](){const _0x3e092c=_0x369ca6;if(!this[_0x3e092c(0x1aa)])throw new Error('geometryPtr\x20is\x20null');return this[_0x3e092c(0x1aa)][_0x3e092c(0x1c4)]();}set[_0x369ca6(0x1be)](_0x22ad8c){const _0x598adf=_0x369ca6;let _0x5ddbe3=this[_0x598adf(0x1c2)][_0x598adf(0x1b1)][_0x598adf(0x1ae)](_0x22ad8c);this['geometryPtr']=_0x5ddbe3;}get[_0x369ca6(0x1b0)](){const _0x13d0cf=_0x369ca6;if(!this[_0x13d0cf(0x1aa)])throw new Error('geometryPtr\x20is\x20null');return this[_0x13d0cf(0x1aa)];}set[_0x369ca6(0x1b0)](_0x306097){const _0x56f35e=_0x369ca6;this[_0x56f35e(0x1aa)]&&(this[_0x56f35e(0x1aa)]['release'](),this[_0x56f35e(0x1aa)]=null);this['_geometryPtr']=_0x306097;let _0x4e8323=_0x306097[_0x56f35e(0x1c4)]();this[_0x56f35e(0x1a9)]&&_0x4e8323&&(this[_0x56f35e(0x1a9)][_0x56f35e(0x1be)]=_0x4e8323);}get[_0x369ca6(0x1b2)](){const _0xb52022=_0x369ca6;let _0x1e4e18=[];return this[_0xb52022(0x1c7)][_0xb52022(0x1bb)](_0x4ffba9=>{const _0x31d9f3=_0xb52022;let _0x1e2ddc=_0x4ffba9['getValue']();if(_0x1e2ddc)_0x1e4e18[_0x31d9f3(0x1af)](_0x1e2ddc);}),_0x1e4e18[_0xb52022(0x1bc)]>0x1?_0x1e4e18:_0x1e4e18[0x0];}get[_0x369ca6(0x1c0)](){const _0x242656=_0x369ca6;return this[_0x242656(0x1c0)];}set[_0x369ca6(0x1b2)](_0x303274){const _0x2e6491=_0x369ca6;let _0x3fbb20=Array[_0x2e6491(0x1b7)](_0x303274)?_0x303274:[_0x303274],_0x2087c8=[];_0x3fbb20[_0x2e6491(0x1bb)](_0x5234c3=>{const _0x5afbf7=_0x2e6491;let _0x167d33=this[_0x5afbf7(0x1c2)][_0x5afbf7(0x1b1)]['addMaterialAsset'](_0x5234c3);if(_0x167d33)_0x2087c8[_0x5afbf7(0x1af)](_0x167d33);}),this['materialPtr']=_0x2087c8;}set[_0x369ca6(0x1c0)](_0x580472){const _0x41f3e1=_0x369ca6;this[_0x41f3e1(0x1c7)]&&(this['_materialPtr'][_0x41f3e1(0x1bb)](_0x2fdb83=>{const _0x507d2a=_0x41f3e1;_0x2fdb83[_0x507d2a(0x1c8)]();}),this[_0x41f3e1(0x1c7)]=[]);let _0x2af4cf=Array[_0x41f3e1(0x1b7)](_0x580472)?_0x580472:[_0x580472],_0x819559=[];_0x2af4cf[_0x41f3e1(0x1bb)](_0x1a3918=>{const _0x7690a0=_0x41f3e1;let _0x50592b=_0x1a3918['getValue']();if(_0x50592b)_0x819559[_0x7690a0(0x1af)](_0x50592b);_0x1a3918[_0x7690a0(0x1a3)]();});if(this[_0x41f3e1(0x1a9)]){if(_0x819559['length']>0x0)this['threeObject']['material']=Array[_0x41f3e1(0x1b7)](_0x580472)?_0x819559[0x0]:_0x819559;}this[_0x41f3e1(0x1c7)]=_0x2af4cf;}constructor(_0x139ede,_0x29d649,_0xc55e72,_0x5f0ad5){const _0x2363bf=_0x369ca6;let _0x4e203e=[],_0x458634=Array[_0x2363bf(0x1b7)](_0xc55e72)?_0xc55e72:[_0xc55e72];_0x458634[_0x2363bf(0x1bb)](_0x3c5a26=>{const _0xf3fb1=_0x2363bf;let _0xa641e4=_0x139ede[_0xf3fb1(0x1b1)][_0xf3fb1(0x1a5)](_0x3c5a26);if(_0xa641e4)_0x4e203e['push'](_0xa641e4);}),super(_0x139ede,_0x5f0ad5),this[_0x2363bf(0x1aa)]=_0x139ede[_0x2363bf(0x1b1)][_0x2363bf(0x1ae)](_0x29d649),this[_0x2363bf(0x1c7)]=_0x4e203e,_0x4e203e[_0x2363bf(0x1bb)](_0x30d633=>{const _0x10ac5d=_0x2363bf;_0x30d633[_0x10ac5d(0x1a3)]();}),this[_0x2363bf(0x1a9)][_0x2363bf(0x1b2)]=_0xc55e72,this[_0x2363bf(0x1a9)][_0x2363bf(0x1be)]=_0x29d649,this[_0x2363bf(0x1a2)]=!![],this[_0x2363bf(0x1bd)]=!![];}[_0x369ca6(0x19e)](){return new webgpu.Mesh();}set[_0x369ca6(0x1a2)](_0x328c36){const _0x4c6e57=_0x369ca6;if(this[_0x4c6e57(0x1a9)])this['threeObject'][_0x4c6e57(0x1a2)]=_0x328c36;}get[_0x369ca6(0x1a2)](){const _0x509b7e=_0x369ca6;return this[_0x509b7e(0x1a9)]?this[_0x509b7e(0x1a9)][_0x509b7e(0x1a2)]:![];}set[_0x369ca6(0x1bd)](_0x531b15){const _0x2464e1=_0x369ca6;if(!this[_0x2464e1(0x1a9)])return;this[_0x2464e1(0x1a9)]['receiveShadow']=_0x531b15;}get[_0x369ca6(0x1bd)](){const _0x2db205=_0x369ca6;return this[_0x2db205(0x1a9)]?this[_0x2db205(0x1a9)][_0x2db205(0x1bd)]:![];}[_0x369ca6(0x1b9)](){const _0x4b6863=_0x369ca6;let _0x57f7df=new webgpu.Vector3();return this[_0x4b6863(0x1a8)]()[_0x4b6863(0x1ad)](_0x57f7df),_0x57f7df;}[_0x369ca6(0x1b6)](){const _0x352c51=_0x369ca6;let _0x27d2fa=new webgpu.Vector3(),_0x479006=this[_0x352c51(0x1a8)]();return _0x479006[_0x352c51(0x1ad)](_0x27d2fa),_0x27d2fa['y']=_0x479006[_0x352c51(0x1b5)]['y'],_0x27d2fa;}[_0x369ca6(0x1c6)](){const _0x11e361=_0x369ca6;let _0x5f3be3=new webgpu.Vector3(),_0x530ed7=this['getBounds']();return _0x530ed7[_0x11e361(0x1ad)](_0x5f3be3),_0x5f3be3['y']=_0x530ed7['min']['y'],_0x5f3be3;}[_0x369ca6(0x1a0)](){const _0x4d61b4=_0x369ca6;var _0x3bf20e;this[_0x4d61b4(0x1a9)]&&this[_0x4d61b4(0x1a9)][_0x4d61b4(0x1ac)]();(_0x3bf20e=this[_0x4d61b4(0x1aa)])===null||_0x3bf20e===void 0?void 0:_0x3bf20e[_0x4d61b4(0x1c8)]();let _0x3b06fb=Array['isArray'](this[_0x4d61b4(0x1c7)])?this[_0x4d61b4(0x1c7)]:[this[_0x4d61b4(0x1c7)]];_0x3b06fb['forEach'](_0xa2c4f8=>{_0xa2c4f8['release']();}),super['destroyObject']();}}
|
|
32
43
|
|
|
33
|
-
const
|
|
44
|
+
const _0x2a69de=_0x551c;(function(_0x1b5fdd,_0x203057){const _0x39f8d2=_0x551c,_0x2d3d16=_0x1b5fdd();while(!![]){try{const _0xa0d656=parseInt(_0x39f8d2(0xc1))/0x1+parseInt(_0x39f8d2(0xa0))/0x2*(parseInt(_0x39f8d2(0xa5))/0x3)+-parseInt(_0x39f8d2(0xa4))/0x4*(parseInt(_0x39f8d2(0xb0))/0x5)+-parseInt(_0x39f8d2(0xc4))/0x6*(parseInt(_0x39f8d2(0xa9))/0x7)+parseInt(_0x39f8d2(0xb3))/0x8+parseInt(_0x39f8d2(0xaf))/0x9+parseInt(_0x39f8d2(0xba))/0xa*(-parseInt(_0x39f8d2(0xa3))/0xb);if(_0xa0d656===_0x203057)break;else _0x2d3d16['push'](_0x2d3d16['shift']());}catch(_0x2cf470){_0x2d3d16['push'](_0x2d3d16['shift']());}}}(_0x3e33,0x78134));function _0x3e33(){const _0x40b710=['destroyObject','length','userData','11990nKVJDh','threeObject','push','assetManager','_materialPtr','InstanceMeshComponent:\x20threeObject\x20is\x20null','removeFromParent','515947ibdhXX','castShadow','dispose','6dwkGQn','getMatrixAt','obj','52NxnBdq','LYObject','updateMatrices','10285oHmbBf','2055532VYMzdu','35025FdtlRq','_geometryPtr','addMaterialAsset','min','24703xKTiYb','setMatrixAt','release','material','isArray','needsUpdate','8500527CveRic','5hXoQAH','geometry','forEach','2930440sFFvoW','getValue','receiveShadow','instanceMatrix'];_0x3e33=function(){return _0x40b710;};return _0x3e33();}function _0x551c(_0x164e47,_0x2583bf){_0x164e47=_0x164e47-0x9f;const _0x3e3387=_0x3e33();let _0x551c10=_0x3e3387[_0x164e47];return _0x551c10;}class InstanceMeshComponent extends SceneComponent{get['threeObject'](){const _0x19a940=_0x551c;if(!this['obj'])throw new Error(_0x19a940(0xbf));return this[_0x19a940(0x9f)];}set['threeObject'](_0x5321e6){const _0x11c868=_0x551c;this['obj']=_0x5321e6,this[_0x11c868(0x9f)]&&(this['obj'][_0x11c868(0xb9)][_0x11c868(0xa1)]=this);}get[_0x2a69de(0xb1)](){const _0x4f0aa8=_0x2a69de;var _0x9159cd,_0x475914;return (_0x475914=(_0x9159cd=this[_0x4f0aa8(0xa6)])===null||_0x9159cd===void 0?void 0:_0x9159cd[_0x4f0aa8(0xb4)]())!==null&&_0x475914!==void 0?_0x475914:null;}get[_0x2a69de(0xac)](){const _0x2ed25c=_0x2a69de,_0x42296e=[];return this['_materialPtr'][_0x2ed25c(0xb2)](_0x31b056=>{const _0x22e54a=_0x2ed25c,_0x2c32fc=_0x31b056[_0x22e54a(0xb4)]();if(_0x2c32fc)_0x42296e[_0x22e54a(0xbc)](_0x2c32fc);}),_0x42296e[_0x2ed25c(0xb8)]>0x1?_0x42296e:_0x42296e[0x0];}get['count'](){const _0x1be8b6=_0x2a69de;return this[_0x1be8b6(0xbb)]['count'];}set['count'](_0x21c547){const _0x3cbe69=_0x2a69de;this[_0x3cbe69(0xbb)]['count']=_0x21c547;}set[_0x2a69de(0xc2)](_0x3d4ac1){const _0x22e462=_0x2a69de;if(this['threeObject'])this[_0x22e462(0xbb)]['castShadow']=_0x3d4ac1;}get[_0x2a69de(0xc2)](){const _0x2e2de2=_0x2a69de;return this[_0x2e2de2(0xbb)]?this['threeObject'][_0x2e2de2(0xc2)]:![];}set[_0x2a69de(0xb5)](_0x2f6d48){const _0x52c51a=_0x2a69de;if(!this[_0x52c51a(0xbb)])return;this[_0x52c51a(0xbb)][_0x52c51a(0xb5)]=_0x2f6d48;}get[_0x2a69de(0xb5)](){const _0x5e44c3=_0x2a69de;return this['threeObject']?this['threeObject'][_0x5e44c3(0xb5)]:![];}constructor(_0x97829d,_0x560c74,_0x1a6d0b){const _0x39527a=_0x2a69de;super(_0x97829d,_0x1a6d0b),this[_0x39527a(0xa6)]=null,this[_0x39527a(0xbe)]=[];_0x560c74[_0x39527a(0xb1)]&&(this[_0x39527a(0xa6)]=_0x97829d[_0x39527a(0xbd)]['addGeometryAsset'](_0x560c74['geometry']));const _0x302157=Array[_0x39527a(0xad)](_0x560c74[_0x39527a(0xac)])?_0x560c74[_0x39527a(0xac)]:[_0x560c74['material']];_0x302157['forEach'](_0x1da81c=>{const _0x3e94b4=_0x39527a,_0x9cdf4b=_0x97829d[_0x3e94b4(0xbd)][_0x3e94b4(0xa7)](_0x1da81c);_0x9cdf4b&&(_0x9cdf4b['addRef'](),this[_0x3e94b4(0xbe)][_0x3e94b4(0xbc)](_0x9cdf4b));}),this[_0x39527a(0xbb)]=_0x560c74,this[_0x39527a(0xc2)]=!![],this['receiveShadow']=!![];}['createDefaultObject'](){return new webgpu.InstancedMesh(undefined,undefined,0x0);}[_0x2a69de(0xc5)](_0x1589eb,_0xe3fd2a){const _0x243647=_0x2a69de;this['threeObject'][_0x243647(0xc5)](_0x1589eb,_0xe3fd2a);}['setMatrixAt'](_0x3fc424,_0x139bc4){const _0x1b63ce=_0x2a69de;this[_0x1b63ce(0xbb)][_0x1b63ce(0xaa)](_0x3fc424,_0x139bc4),this[_0x1b63ce(0xbb)]['instanceMatrix'][_0x1b63ce(0xae)]=!![];}[_0x2a69de(0xa2)](_0x22dd4f){const _0x14f929=_0x2a69de,_0x27d115=Math[_0x14f929(0xa8)](_0x22dd4f[_0x14f929(0xb8)],this[_0x14f929(0xbb)]['count']);for(let _0x32259a=0x0;_0x32259a<_0x27d115;_0x32259a++){this[_0x14f929(0xbb)][_0x14f929(0xaa)](_0x32259a,_0x22dd4f[_0x32259a]);}this[_0x14f929(0xbb)][_0x14f929(0xb6)][_0x14f929(0xae)]=!![];}[_0x2a69de(0xb7)](){const _0x189ce0=_0x2a69de;var _0x1926c5;this[_0x189ce0(0xbb)]&&(this['threeObject'][_0x189ce0(0xc0)](),this[_0x189ce0(0xbb)][_0x189ce0(0xc3)]()),(_0x1926c5=this[_0x189ce0(0xa6)])===null||_0x1926c5===void 0?void 0:_0x1926c5[_0x189ce0(0xab)](),this[_0x189ce0(0xa6)]=null,this[_0x189ce0(0xbe)][_0x189ce0(0xb2)](_0x3ba777=>{_0x3ba777['release']();}),this[_0x189ce0(0xbe)]=[],super[_0x189ce0(0xb7)]();}}
|
|
34
45
|
|
|
35
|
-
|
|
46
|
+
var _0x9f5cb=_0x48f6;(function(_0x12d452,_0x379989){var _0x4a72e6=_0x48f6,_0x20f601=_0x12d452();while(!![]){try{var _0x38e3c5=parseInt(_0x4a72e6(0x89))/0x1+parseInt(_0x4a72e6(0x84))/0x2+parseInt(_0x4a72e6(0x8a))/0x3*(-parseInt(_0x4a72e6(0x7f))/0x4)+parseInt(_0x4a72e6(0x87))/0x5+parseInt(_0x4a72e6(0x81))/0x6+-parseInt(_0x4a72e6(0x85))/0x7*(parseInt(_0x4a72e6(0x83))/0x8)+parseInt(_0x4a72e6(0x80))/0x9*(-parseInt(_0x4a72e6(0x88))/0xa);if(_0x38e3c5===_0x379989)break;else _0x20f601['push'](_0x20f601['shift']());}catch(_0x34c3a9){_0x20f601['push'](_0x20f601['shift']());}}}(_0x449c,0x99ae4));class TSmartPointer{constructor(_0x5520ae,_0x3b0a88=0x1){var _0x489635=_0x48f6;this[_0x489635(0x7d)]=0x1,this[_0x489635(0x82)]=null,this[_0x489635(0x82)]=_0x5520ae,this['referenceCount']=_0x3b0a88;}['getRefCount'](){var _0x13e847=_0x48f6;return this[_0x13e847(0x7d)];}[_0x9f5cb(0x86)](){var _0x43a942=_0x9f5cb;return this[_0x43a942(0x82)]!==null;}['addRef'](_0x1b88fe=0x1){var _0x37d397=_0x9f5cb;this[_0x37d397(0x82)]!==null&&(this[_0x37d397(0x7d)]+=_0x1b88fe);}['release'](){var _0x29b166=_0x9f5cb;this[_0x29b166(0x82)]!==null&&this[_0x29b166(0x7d)]>0x0&&(this['referenceCount']--,this[_0x29b166(0x7d)]===0x0&&this[_0x29b166(0x7c)]());}[_0x9f5cb(0x7e)](){var _0x58747b=_0x9f5cb;this[_0x58747b(0x82)]!==null&&(this[_0x58747b(0x7c)](),this[_0x58747b(0x7d)]=0x0);}[_0x9f5cb(0x7c)](){this['value']=null;}['getValue'](){return this['value'];}}function _0x48f6(_0x4971d4,_0x163cc9){_0x4971d4=_0x4971d4-0x7c;var _0x449ce8=_0x449c();var _0x48f6c3=_0x449ce8[_0x4971d4];return _0x48f6c3;}function _0x449c(){var _0x267e1e=['4560275cnIpor','10640670hFDXtm','1229412uFIVgy','543hpgVOL','dispose','referenceCount','forceRelease','13252VbSmrb','18wymtnq','7162284FZzWlk','value','8xhqIUr','2339454tBWFWh','8033515wdJNyd','isValid'];_0x449c=function(){return _0x267e1e;};return _0x449c();}
|
|
36
47
|
|
|
37
|
-
const
|
|
48
|
+
const _0x581a87=_0x5ebf;(function(_0x575036,_0x5bf908){const _0x1e05d0=_0x5ebf,_0x2c1b87=_0x575036();while(!![]){try{const _0x26fd11=-parseInt(_0x1e05d0(0xba))/0x1*(parseInt(_0x1e05d0(0xb3))/0x2)+-parseInt(_0x1e05d0(0xbe))/0x3*(parseInt(_0x1e05d0(0xbb))/0x4)+-parseInt(_0x1e05d0(0xb7))/0x5+parseInt(_0x1e05d0(0xc4))/0x6*(-parseInt(_0x1e05d0(0xbc))/0x7)+-parseInt(_0x1e05d0(0xb2))/0x8+parseInt(_0x1e05d0(0xbd))/0x9*(-parseInt(_0x1e05d0(0xc5))/0xa)+-parseInt(_0x1e05d0(0xc1))/0xb*(-parseInt(_0x1e05d0(0xb5))/0xc);if(_0x26fd11===_0x5bf908)break;else _0x2c1b87['push'](_0x2c1b87['shift']());}catch(_0x5e8e3e){_0x2c1b87['push'](_0x2c1b87['shift']());}}}(_0x4669,0xa0284));function _0x4669(){const _0x300663=['editorAssetId','2359845cBWDsE','userData','uuid','401937GIowlJ','7848znrCfv','7aXiXZx','99iNpCna','1836PAXqcQ','function','assetPointer','1243lKCAhs','dispose','_uuid','4940070gqgyLH','433010hQBggL','5236456NfOnNB','2FINSkk','value','497508rIBcsb'];_0x4669=function(){return _0x300663;};return _0x4669();}function _0x5ebf(_0x42aba9,_0x374c05){_0x42aba9=_0x42aba9-0xb2;const _0x466926=_0x4669();let _0x5ebf7b=_0x466926[_0x42aba9];return _0x5ebf7b;}const ASSET_POINTER_KEY=_0x581a87(0xc0);const EDITOR_ASSET_ID_KEY=_0x581a87(0xb6);class TAssetPointer extends TSmartPointer{get[_0x581a87(0xb9)](){const _0x5a8894=_0x581a87;return this[_0x5a8894(0xc3)];}constructor(_0x4d2f2f,_0x43be12=0x0){const _0x2a1002=_0x581a87;super(_0x4d2f2f,_0x43be12),this[_0x2a1002(0xc3)]=_0x4d2f2f[_0x2a1002(0xb9)],_0x4d2f2f['userData'][ASSET_POINTER_KEY]=this;}[_0x581a87(0xc2)](){const _0x4a796=_0x581a87;this[_0x4a796(0xb4)]&&(this[_0x4a796(0xb4)][_0x4a796(0xb8)]&&(delete this['value'][_0x4a796(0xb8)][ASSET_POINTER_KEY],delete this[_0x4a796(0xb4)][_0x4a796(0xb8)][EDITOR_ASSET_ID_KEY]),typeof this[_0x4a796(0xb4)][_0x4a796(0xc2)]===_0x4a796(0xbf)&&this[_0x4a796(0xb4)][_0x4a796(0xc2)]()),super[_0x4a796(0xc2)]();}}
|
|
38
49
|
|
|
39
|
-
const
|
|
50
|
+
const _0x410648=_0x14b9;function _0x14b9(_0x82a19a,_0x53bb5a){_0x82a19a=_0x82a19a-0x188;const _0x55c707=_0x55c7();let _0x14b93f=_0x55c707[_0x82a19a];return _0x14b93f;}(function(_0x46b53a,_0x1cb1bf){const _0xa86eee=_0x14b9,_0x567ccd=_0x46b53a();while(!![]){try{const _0x5bd79=parseInt(_0xa86eee(0x1a0))/0x1*(-parseInt(_0xa86eee(0x18d))/0x2)+-parseInt(_0xa86eee(0x19d))/0x3*(-parseInt(_0xa86eee(0x18e))/0x4)+parseInt(_0xa86eee(0x192))/0x5+parseInt(_0xa86eee(0x189))/0x6*(parseInt(_0xa86eee(0x190))/0x7)+parseInt(_0xa86eee(0x195))/0x8+-parseInt(_0xa86eee(0x19b))/0x9+-parseInt(_0xa86eee(0x194))/0xa*(parseInt(_0xa86eee(0x19a))/0xb);if(_0x5bd79===_0x1cb1bf)break;else _0x567ccd['push'](_0x567ccd['shift']());}catch(_0x59367f){_0x567ccd['push'](_0x567ccd['shift']());}}}(_0x55c7,0x4f520));function _0x55c7(){const _0x32d79a=['removeTexture','55QiEKup','1785573nwUJKq','set','3PFfzpC','setTexture','get','108619mBAMga','textures','clear','102wYFlLX','dispose','getValue','release','2bLELBs','938324GiRbhu','needsUpdate','226541YouUtL','delete','715200OtuhQC','Texture\x20is\x20null','917650NgRmfz','1303560bvAXWA','values','texturePointers','addRef'];_0x55c7=function(){return _0x32d79a;};return _0x55c7();}class MaterialAssetPointer extends TAssetPointer{constructor(_0x9ca89c,_0x4dec44,_0x198531=0x0){const _0x5311af=_0x14b9;super(_0x9ca89c,_0x198531),this[_0x5311af(0x1a1)]=_0x4dec44;}get[_0x410648(0x197)](){return this['textures'];}[_0x410648(0x19e)](_0x59788a,_0x515052){const _0x5ca0c7=_0x410648,_0x42b92e=this[_0x5ca0c7(0x18b)](),_0x5b9c14=_0x515052[_0x5ca0c7(0x18b)]();if(!_0x5b9c14)throw new Error(_0x5ca0c7(0x193));if(!_0x42b92e)throw new Error('Material\x20is\x20null');const _0x30a43b=this[_0x5ca0c7(0x1a1)][_0x5ca0c7(0x19f)](_0x59788a);_0x30a43b!==_0x515052&&(_0x30a43b&&_0x30a43b[_0x5ca0c7(0x18c)](),this[_0x5ca0c7(0x1a1)][_0x5ca0c7(0x19c)](_0x59788a,_0x515052),_0x42b92e[_0x59788a]=_0x5b9c14,_0x515052[_0x5ca0c7(0x198)](),_0x42b92e[_0x5ca0c7(0x18f)]=!![]);}[_0x410648(0x199)](_0xdbd355){const _0x3a6124=_0x410648,_0x141d69=this[_0x3a6124(0x18b)](),_0x5f1e91=this[_0x3a6124(0x1a1)][_0x3a6124(0x19f)](_0xdbd355);_0x5f1e91&&(_0x5f1e91[_0x3a6124(0x18c)](),this['textures'][_0x3a6124(0x191)](_0xdbd355),_0x141d69&&(_0x141d69[_0xdbd355]=null,_0x141d69[_0x3a6124(0x18f)]=!![]));}['dispose'](){const _0x58f5b6=_0x410648;for(const _0x44dacc of this[_0x58f5b6(0x1a1)][_0x58f5b6(0x196)]()){_0x44dacc['release']();}this[_0x58f5b6(0x1a1)][_0x58f5b6(0x188)](),super[_0x58f5b6(0x18a)]();}}
|
|
40
51
|
|
|
41
|
-
(function(
|
|
52
|
+
function _0x3cfa(){var _0x4384f7=['520472PrJVtj','3918zywEpN','6ppbLXu','963549iZAYOm','20ZyPhbY','1275624nuefMF','186hkVavl','133127xnhlun','52190dDXIqt','367800MDDAzm'];_0x3cfa=function(){return _0x4384f7;};return _0x3cfa();}function _0x3311(_0x1f6223,_0x236f1e){_0x1f6223=_0x1f6223-0x117;var _0x3cfa0f=_0x3cfa();var _0x33119a=_0x3cfa0f[_0x1f6223];return _0x33119a;}(function(_0x274916,_0x1b0941){var _0x2d56d3=_0x3311,_0x2ad6f9=_0x274916();while(!![]){try{var _0x1c046e=-parseInt(_0x2d56d3(0x11d))/0x1+parseInt(_0x2d56d3(0x11c))/0x2*(parseInt(_0x2d56d3(0x117))/0x3)+parseInt(_0x2d56d3(0x120))/0x4+parseInt(_0x2d56d3(0x11e))/0x5*(parseInt(_0x2d56d3(0x118))/0x6)+-parseInt(_0x2d56d3(0x11b))/0x7+-parseInt(_0x2d56d3(0x11f))/0x8+parseInt(_0x2d56d3(0x119))/0x9*(parseInt(_0x2d56d3(0x11a))/0xa);if(_0x1c046e===_0x1b0941)break;else _0x2ad6f9['push'](_0x2ad6f9['shift']());}catch(_0x5badbe){_0x2ad6f9['push'](_0x2ad6f9['shift']());}}}(_0x3cfa,0x1c072));class TextureAssetPointer extends TAssetPointer{constructor(_0x4c4097,_0x7e839a=0x1){super(_0x4c4097,_0x7e839a);}}
|
|
42
53
|
|
|
43
|
-
function
|
|
54
|
+
function _0x5496(_0x2d6ee2,_0x5cd722){_0x2d6ee2=_0x2d6ee2-0x170;var _0x40f4d0=_0x40f4();var _0x5496c7=_0x40f4d0[_0x2d6ee2];return _0x5496c7;}(function(_0x4fbfac,_0x16dcd4){var _0x397b84=_0x5496,_0xc15eda=_0x4fbfac();while(!![]){try{var _0x23786d=parseInt(_0x397b84(0x175))/0x1*(-parseInt(_0x397b84(0x171))/0x2)+parseInt(_0x397b84(0x174))/0x3+parseInt(_0x397b84(0x176))/0x4+parseInt(_0x397b84(0x170))/0x5+-parseInt(_0x397b84(0x173))/0x6*(-parseInt(_0x397b84(0x179))/0x7)+parseInt(_0x397b84(0x17a))/0x8*(parseInt(_0x397b84(0x172))/0x9)+parseInt(_0x397b84(0x178))/0xa*(-parseInt(_0x397b84(0x177))/0xb);if(_0x23786d===_0x16dcd4)break;else _0xc15eda['push'](_0xc15eda['shift']());}catch(_0x3f2fd8){_0xc15eda['push'](_0xc15eda['shift']());}}}(_0x40f4,0x46918));class GeometryAssetPointer extends TAssetPointer{constructor(_0x55f150,_0x3c03ec=0x1){super(_0x55f150,_0x3c03ec);}}function _0x40f4(){var _0x586db4=['310rcZGoI','17801QbitGM','175144PvkLYn','421570DlnumP','460058IAeiQD','117uGUJoC','642UIfgYB','1439652cJruUC','1kFZLTx','1892872WaerxE','381469ALrPjU'];_0x40f4=function(){return _0x586db4;};return _0x40f4();}
|
|
44
55
|
|
|
45
|
-
const _0x514329=_0x5a62;function _0x2a7a(){const _0x2e3418=['detectSupport','AssetManager:\x20Renderer\x20not\x20available\x20for\x20KTX2Loader\x20detection.','materials','clearAssets','geometries','3001260WHoAxA','7yfGpyw','loadGltfFromPathAsync','load','KTX2Loader','_ktx2Loader','init','traverse','_dracoLoader','isArray','setDRACOLoader','564811NTxbCR','get','forEach','renderer','userData','assetPointer','11nTgxHR','release','materialAssets','addAsset','scale','viewport','loadGltfFromPath','type','loadAsync','setupDracoLoader','setRotation','setPosition','addMaterialAsset','position','geometry','129bEoDWl','53420DQhXnc','uuid','addGeometryAsset','app','Failed\x20to\x20load\x20gltf','rotation','clone','1424838jiBxhi','convertThreeObjectToLYObject','onLoad','manager','LoadingManager','isInstancedMesh','values','parse','dispose','error','onError','addTextureAsset','textureAssets','loadingManager','setScale','set','5911956wbPwIj','loadGltfFromBuffer','warn','773916sfVKGT','layers','preload','checkMeshResource','addRef','geometryAssets','setKTX2Loader','clear','name','textures','setupKTX2Loader','Object3D','5bgFKwE','material','27vPpEEw','158664OowXyn','forceRelease','Group','./draco/','entries'];_0x2a7a=function(){return _0x2e3418;};return _0x2a7a();}(function(_0x3f612b,_0x5b08cb){const _0x3d3e07=_0x5a62,_0x1d9bbc=_0x3f612b();while(!![]){try{const _0x11753b=-parseInt(_0x3d3e07(0xd3))/0x1+parseInt(_0x3d3e07(0xe9))/0x2*(parseInt(_0x3d3e07(0xe8))/0x3)+parseInt(_0x3d3e07(0x103))/0x4*(parseInt(_0x3d3e07(0xbb))/0x5)+parseInt(_0x3d3e07(0xf0))/0x6*(-parseInt(_0x3d3e07(0xc9))/0x7)+-parseInt(_0x3d3e07(0xbe))/0x8*(-parseInt(_0x3d3e07(0xbd))/0x9)+-parseInt(_0x3d3e07(0xc8))/0xa+parseInt(_0x3d3e07(0xd9))/0xb*(parseInt(_0x3d3e07(0x100))/0xc);if(_0x11753b===_0x5b08cb)break;else _0x1d9bbc['push'](_0x1d9bbc['shift']());}catch(_0x13d346){_0x1d9bbc['push'](_0x1d9bbc['shift']());}}}(_0x2a7a,0xc14d1));class AssetManager{constructor(_0x247d2d){const _0x499359=_0x5a62;this[_0x499359(0x108)]=new Map(),this[_0x499359(0xfc)]=new Map(),this['materialAssets']=new Map(),this['loadingManager']=new webgpu.LoadingManager(),this['gltfLoader']=new Addons_js.GLTFLoader(this[_0x499359(0xfd)]),this[_0x499359(0xec)]=_0x247d2d;}get[_0x514329(0xf4)](){const _0x1a59b4=_0x514329;return this[_0x1a59b4(0xfd)];}get[_0x514329(0xcc)](){const _0x1ca657=_0x514329;return AssetManager[_0x1ca657(0xcd)];}async[_0x514329(0xce)](){return;}async[_0x514329(0x10d)](_0x45f267){const _0x38f376=_0x514329;!AssetManager[_0x38f376(0xcd)]&&(AssetManager[_0x38f376(0xcd)]=new Addons_js.KTX2Loader(),AssetManager[_0x38f376(0xcd)]['setTranscoderPath'](_0x45f267),this[_0x38f376(0xec)][_0x38f376(0xde)]&&this['app'][_0x38f376(0xde)][_0x38f376(0xd6)]?(await this[_0x38f376(0xec)]['viewport']['renderer'][_0x38f376(0xce)](),AssetManager['_ktx2Loader'][_0x38f376(0xc3)](this[_0x38f376(0xec)]['viewport'][_0x38f376(0xd6)])):console[_0x38f376(0x102)](_0x38f376(0xc4)));}[_0x514329(0xe2)](_0x2eafe1){const _0x57f59d=_0x514329;if(!AssetManager[_0x57f59d(0xd0)]){AssetManager[_0x57f59d(0xd0)]=new Addons_js.DRACOLoader();if(AssetManager[_0x57f59d(0xd0)][_0x57f59d(0xf3)]){const _0x187871=AssetManager[_0x57f59d(0xd0)][_0x57f59d(0xf3)];_0x187871['onStart']=undefined,_0x187871[_0x57f59d(0xf2)]=undefined,_0x187871['onProgress']=undefined,_0x187871[_0x57f59d(0xfa)]=undefined;}AssetManager[_0x57f59d(0xd0)]['setDecoderPath'](_0x2eafe1),AssetManager[_0x57f59d(0xd0)][_0x57f59d(0x105)]();}}['convertThreeObjectToLYObject'](_0x578ee2,_0x2741f2){const _0x762b44=_0x514329,_0x144a03=_0x2741f2[_0x762b44(0xe6)]['clone'](),_0x318eb9=_0x2741f2[_0x762b44(0xee)]['clone'](),_0x594151=_0x2741f2[_0x762b44(0xdd)][_0x762b44(0xef)]();let _0x21c8e1=null;const _0x58c1dd=_0x2741f2['children'];_0x2741f2['children']=[];if(_0x2741f2['type']===_0x762b44(0xc0)||_0x2741f2[_0x762b44(0xe0)]===_0x762b44(0x10e))_0x21c8e1=new SceneComponent(this['app'],_0x2741f2[_0x762b44(0xea)]);else {if(_0x2741f2[_0x762b44(0xf5)]){const _0x3f2704=_0x2741f2;_0x21c8e1=new InstanceMeshComponent(this[_0x762b44(0xec)],_0x3f2704,_0x3f2704[_0x762b44(0xea)]),_0x21c8e1['name']=_0x3f2704[_0x762b44(0x10b)],_0x2741f2['layers'][_0x762b44(0xff)](0x0);}else {if(_0x2741f2['isMesh']){const _0x52e049=_0x2741f2;_0x21c8e1=new MeshComponent(this[_0x762b44(0xec)],_0x52e049[_0x762b44(0xe7)],_0x52e049[_0x762b44(0xbc)],_0x52e049[_0x762b44(0xea)]),_0x21c8e1[_0x762b44(0x10b)]=_0x52e049[_0x762b44(0x10b)],_0x2741f2[_0x762b44(0x104)][_0x762b44(0xff)](0x0);}else _0x21c8e1=new SceneComponent(this[_0x762b44(0xec)],_0x2741f2[_0x762b44(0xea)]);}}if(_0x21c8e1===null)return _0x2741f2['children']=_0x58c1dd,null;_0x578ee2['addChildComponent'](_0x21c8e1),_0x21c8e1[_0x762b44(0xe4)](_0x144a03),_0x21c8e1[_0x762b44(0xe3)](_0x318eb9),_0x21c8e1[_0x762b44(0xfe)](_0x594151);for(const _0x2a6e10 of _0x58c1dd){this[_0x762b44(0xf1)](_0x21c8e1,_0x2a6e10);}return _0x21c8e1;}['collectResourcesAndReferences'](_0x45371f){const _0x210fe3=_0x514329,_0x31291f=(_0x404550,_0x111707)=>{const _0x2706da=_0x5a62;var _0x40cb58;const _0x1b37aa=(_0x40cb58=_0x404550[_0x2706da(0xd4)](_0x111707))!==null&&_0x40cb58!==void 0?_0x40cb58:0x0;_0x404550['set'](_0x111707,_0x1b37aa+0x1);},_0x49a828={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x45371f[_0x210fe3(0xcf)](_0x235317=>{const _0xb6ac38=_0x210fe3,_0x3374ff=_0x235317;_0x3374ff[_0xb6ac38(0xe7)]instanceof webgpu.BufferGeometry&&_0x31291f(_0x49a828[_0xb6ac38(0xc7)],_0x3374ff[_0xb6ac38(0xe7)]);if(_0x3374ff[_0xb6ac38(0xbc)]){const _0x2bd3a8=Array[_0xb6ac38(0xd1)](_0x3374ff['material'])?_0x3374ff[_0xb6ac38(0xbc)]:[_0x3374ff['material']];_0x2bd3a8[_0xb6ac38(0xd5)](_0x3e7a1f=>{const _0x4c933e=_0xb6ac38;_0x3e7a1f&&(_0x31291f(_0x49a828[_0x4c933e(0xc5)],_0x3e7a1f),Object[_0x4c933e(0xf6)](_0x3e7a1f)[_0x4c933e(0xd5)](_0x2e9ca1=>{_0x2e9ca1 instanceof webgpu.Texture&&_0x31291f(_0x49a828['textures'],_0x2e9ca1);}));});}}),_0x49a828[_0x210fe3(0xc7)]['forEach']((_0x4669ce,_0x306928)=>this[_0x210fe3(0xdc)](_0x306928,_0x4669ce)),_0x49a828['materials'][_0x210fe3(0xd5)]((_0x5159e5,_0xcf3a19)=>this['addAsset'](_0xcf3a19,_0x5159e5)),_0x49a828[_0x210fe3(0x10c)][_0x210fe3(0xd5)]((_0xafa44b,_0x4852a2)=>this['addAsset'](_0x4852a2,_0xafa44b));}[_0x514329(0x106)](_0x491511){const _0x22b9cc=_0x514329;_0x491511[_0x22b9cc(0xe7)]&&!_0x491511[_0x22b9cc(0xe7)][_0x22b9cc(0xd7)][_0x22b9cc(0xd8)]&&this[_0x22b9cc(0xdc)](_0x491511[_0x22b9cc(0xe7)]);if(_0x491511[_0x22b9cc(0xbc)]){const _0x49c588=Array[_0x22b9cc(0xd1)](_0x491511[_0x22b9cc(0xbc)])?_0x491511[_0x22b9cc(0xbc)]:[_0x491511[_0x22b9cc(0xbc)]];_0x49c588['forEach'](_0x26e558=>{const _0x15727c=_0x22b9cc;if(!_0x26e558)return;!_0x26e558[_0x15727c(0xd7)][_0x15727c(0xd8)]&&this[_0x15727c(0xdc)](_0x26e558),Object['values'](_0x26e558)[_0x15727c(0xd5)](_0x100e7c=>{const _0x4f7ed1=_0x15727c;_0x100e7c instanceof webgpu.Texture&&!_0x100e7c[_0x4f7ed1(0xd7)][_0x4f7ed1(0xd8)]&&this[_0x4f7ed1(0xdc)](_0x100e7c);});});}}async[_0x514329(0xca)](_0x4b3ef7){const _0x3e080c=_0x514329;this[_0x3e080c(0xe2)](_0x3e080c(0xc1)),await this['setupKTX2Loader']('./basis/');const _0x4bb71d=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x3e080c(0xd0)]&&_0x4bb71d[_0x3e080c(0xd2)](AssetManager[_0x3e080c(0xd0)]);AssetManager[_0x3e080c(0xcd)]&&_0x4bb71d[_0x3e080c(0x109)](AssetManager['_ktx2Loader']);try{const _0x5927fb=await _0x4bb71d[_0x3e080c(0xe1)](_0x4b3ef7);return _0x5927fb;}catch(_0x283f56){console[_0x3e080c(0xf9)](_0x3e080c(0xed),_0x4b3ef7,_0x283f56);throw _0x283f56;}}[_0x514329(0xdf)](_0xc26cf0,_0x314776){const _0x227cfa=_0x514329;this[_0x227cfa(0xe2)](_0x227cfa(0xc1));const _0x5d2fb6=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x227cfa(0xd0)]&&_0x5d2fb6[_0x227cfa(0xd2)](AssetManager[_0x227cfa(0xd0)]),_0x5d2fb6[_0x227cfa(0xcb)](_0xc26cf0,_0x314776);}[_0x514329(0x101)](_0x46d2fe,_0x577155,_0x5be688){const _0x3419cd=_0x514329;this[_0x3419cd(0xe2)](_0x3419cd(0xc1));const _0x4d4b3=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x3419cd(0xd0)]&&_0x4d4b3['setDRACOLoader'](AssetManager[_0x3419cd(0xd0)]),_0x4d4b3[_0x3419cd(0xf7)](_0x46d2fe,_0x577155,_0x5be688);}['loadFile'](_0x3a4405='',_0x140ba4){const _0x3a8a13=_0x514329,_0xbf6a24=new webgpu.FileLoader();_0xbf6a24[_0x3a8a13(0xcb)](_0x3a4405,_0x140ba4);}[_0x514329(0xdc)](_0x42d8da,_0x25018f=0x0){const _0x22b78f=_0x514329;if(_0x42d8da instanceof webgpu.BufferGeometry)return this['addGeometryAsset'](_0x42d8da,_0x25018f);if(_0x42d8da instanceof webgpu.Material)return this[_0x22b78f(0xe5)](_0x42d8da,_0x25018f);if(_0x42d8da instanceof webgpu.Texture)return this['addTextureAsset'](_0x42d8da,_0x25018f);return undefined;}[_0x514329(0xe5)](_0x48ae48,_0x1ca3b7=0x0){const _0x3e91b1=_0x514329;let _0x50dfad=_0x48ae48[_0x3e91b1(0xd7)]['assetPointer'];if(!_0x50dfad){const _0xed9b6e=new Map();Object[_0x3e91b1(0xc2)](_0x48ae48)[_0x3e91b1(0xd5)](([_0x189491,_0x46ae5f])=>{const _0x188138=_0x3e91b1;if(_0x46ae5f instanceof webgpu.Texture){const _0x59e89e=this[_0x188138(0xfb)](_0x46ae5f,0x1);_0xed9b6e[_0x188138(0xff)](_0x189491,_0x59e89e);}}),_0x50dfad=new MaterialAssetPointer(_0x48ae48,_0xed9b6e,_0x1ca3b7),this[_0x3e91b1(0xdb)][_0x3e91b1(0xff)](_0x48ae48[_0x3e91b1(0xea)],_0x50dfad);}else _0x50dfad['addRef'](_0x1ca3b7);return _0x50dfad;}[_0x514329(0xfb)](_0x5005c7,_0x45feeb=0x0){const _0x3935a6=_0x514329;let _0x8073e2=_0x5005c7[_0x3935a6(0xd7)][_0x3935a6(0xd8)];return !_0x8073e2?(_0x8073e2=new TextureAssetPointer(_0x5005c7,_0x45feeb),this[_0x3935a6(0xfc)][_0x3935a6(0xff)](_0x5005c7[_0x3935a6(0xea)],_0x8073e2)):_0x8073e2[_0x3935a6(0x107)](_0x45feeb),_0x8073e2;}[_0x514329(0xeb)](_0x1877eb,_0x1af47f=0x0){const _0x2043fe=_0x514329;let _0xdc0534=_0x1877eb[_0x2043fe(0xd7)][_0x2043fe(0xd8)];return !_0xdc0534?(_0xdc0534=new GeometryAssetPointer(_0x1877eb,_0x1af47f),this[_0x2043fe(0x108)][_0x2043fe(0xff)](_0x1877eb[_0x2043fe(0xea)],_0xdc0534)):_0xdc0534[_0x2043fe(0x107)](_0x1af47f),_0xdc0534;}['releaseAsset'](_0x5929b4){const _0x14d3a9=_0x514329,_0x47daa6=_0x5929b4[_0x14d3a9(0xd7)]['assetPointer'];_0x47daa6?_0x47daa6[_0x14d3a9(0xda)]():_0x5929b4[_0x14d3a9(0xf8)]();}[_0x514329(0xf8)](){const _0x2f90ee=_0x514329;this['clearAssets'](),AssetManager[_0x2f90ee(0xd0)]&&(AssetManager[_0x2f90ee(0xd0)][_0x2f90ee(0xf8)](),AssetManager[_0x2f90ee(0xd0)]=null),AssetManager['_ktx2Loader']&&(AssetManager[_0x2f90ee(0xcd)][_0x2f90ee(0xf8)](),AssetManager['_ktx2Loader']=null);}[_0x514329(0xc6)](){const _0x257a39=_0x514329;this[_0x257a39(0x108)]['forEach'](_0x5121c8=>_0x5121c8['forceRelease']()),this['geometryAssets'][_0x257a39(0x10a)](),this['materialAssets'][_0x257a39(0xd5)](_0x474b30=>_0x474b30[_0x257a39(0xbf)]()),this[_0x257a39(0xdb)]['clear'](),this[_0x257a39(0xfc)][_0x257a39(0xd5)](_0x2e8268=>_0x2e8268[_0x257a39(0xbf)]()),this[_0x257a39(0xfc)][_0x257a39(0x10a)]();}}function _0x5a62(_0x222338,_0x56487c){_0x222338=_0x222338-0xbb;const _0x2a7a47=_0x2a7a();let _0x5a6289=_0x2a7a47[_0x222338];return _0x5a6289;}AssetManager[_0x514329(0xd0)]=null,AssetManager[_0x514329(0xcd)]=null;
|
|
56
|
+
function _0x2fbb(){const _0x376fa0=['layers','onProgress','6176324HUJVpi','release','textures','setTranscoderPath','clear','position','clearAssets','addMaterialAsset','isArray','onStart','setKTX2Loader','preload','geometries','convertThreeObjectToLYObject','7121744xrlTEi','211366xjVEMF','./SceneResource/draco/','entries','forEach','27oAKCrY','uuid','3108918DjUSDa','loadingManager','_dracoLoader','addRef','11381755mEUksm','get','addTextureAsset','materialAssets','isMesh','AssetManager:\x20Renderer\x20not\x20available\x20for\x20KTX2Loader\x20detection.','init','onLoad','16iVKIDb','isInstancedMesh','setupDracoLoader','Failed\x20to\x20load\x20gltf','addAsset','warn','LoadingManager','setupKTX2Loader','setDRACOLoader','collectResourcesAndReferences','loadGltfFromPathAsync','526059kJsjDL','textureAssets','parse','children','scale','gltfLoader','setScale','set','userData','manager','5AqcMVH','geometryAssets','clone','_ktx2Loader','setDecoderPath','checkMeshResource','type','renderer','loadAsync','addGeometryAsset','viewport','geometry','KTX2Loader','addChildComponent','forceRelease','name','2XAUiLT','dispose','material','app','releaseAsset','materials','loadGltfFromBuffer','setPosition','Object3D','1312260KpCeCV','assetPointer'];_0x2fbb=function(){return _0x376fa0;};return _0x2fbb();}const _0x10c4eb=_0x3d17;(function(_0x4c1e1a,_0x3d484e){const _0x15ecc9=_0x3d17,_0x1a3d4d=_0x4c1e1a();while(!![]){try{const _0x1ab30f=-parseInt(_0x15ecc9(0x185))/0x1*(parseInt(_0x15ecc9(0x1bc))/0x2)+parseInt(_0x15ecc9(0x1a2))/0x3*(parseInt(_0x15ecc9(0x197))/0x4)+-parseInt(_0x15ecc9(0x1ac))/0x5*(parseInt(_0x15ecc9(0x18b))/0x6)+parseInt(_0x15ecc9(0x1c9))/0x7+-parseInt(_0x15ecc9(0x184))/0x8+parseInt(_0x15ecc9(0x189))/0x9*(-parseInt(_0x15ecc9(0x1c5))/0xa)+parseInt(_0x15ecc9(0x18f))/0xb;if(_0x1ab30f===_0x3d484e)break;else _0x1a3d4d['push'](_0x1a3d4d['shift']());}catch(_0x467fd9){_0x1a3d4d['push'](_0x1a3d4d['shift']());}}}(_0x2fbb,0x93b6a));function _0x3d17(_0x468784,_0x3ac98a){_0x468784=_0x468784-0x17d;const _0x2fbb26=_0x2fbb();let _0x3d177f=_0x2fbb26[_0x468784];return _0x3d177f;}class AssetManager{constructor(_0x377214){const _0x878682=_0x3d17;this[_0x878682(0x1ad)]=new Map(),this[_0x878682(0x1a3)]=new Map(),this['materialAssets']=new Map(),this[_0x878682(0x18c)]=new webgpu.LoadingManager(),this[_0x878682(0x1a7)]=new Addons_js.GLTFLoader(this[_0x878682(0x18c)]),this[_0x878682(0x1bf)]=_0x377214;}get[_0x10c4eb(0x19d)](){const _0x50506e=_0x10c4eb;return this[_0x50506e(0x18c)];}get[_0x10c4eb(0x1b8)](){const _0x4c377b=_0x10c4eb;return AssetManager[_0x4c377b(0x1af)];}async[_0x10c4eb(0x195)](){return;}async[_0x10c4eb(0x19e)](_0x35bc9b){const _0x4d7234=_0x10c4eb;!AssetManager[_0x4d7234(0x1af)]&&(AssetManager[_0x4d7234(0x1af)]=new Addons_js.KTX2Loader(),AssetManager['_ktx2Loader'][_0x4d7234(0x1cc)](_0x35bc9b),this['app'][_0x4d7234(0x1b6)]&&this[_0x4d7234(0x1bf)][_0x4d7234(0x1b6)][_0x4d7234(0x1b3)]?(await this[_0x4d7234(0x1bf)][_0x4d7234(0x1b6)][_0x4d7234(0x1b3)]['init'](),AssetManager[_0x4d7234(0x1af)]['detectSupport'](this[_0x4d7234(0x1bf)]['viewport'][_0x4d7234(0x1b3)])):console[_0x4d7234(0x19c)](_0x4d7234(0x194)));}[_0x10c4eb(0x199)](_0x41c23d){const _0x5c2666=_0x10c4eb;if(!AssetManager[_0x5c2666(0x18d)]){AssetManager['_dracoLoader']=new Addons_js.DRACOLoader();if(AssetManager['_dracoLoader'][_0x5c2666(0x1ab)]){const _0x4c4897=AssetManager[_0x5c2666(0x18d)][_0x5c2666(0x1ab)];_0x4c4897[_0x5c2666(0x17f)]=undefined,_0x4c4897[_0x5c2666(0x196)]=undefined,_0x4c4897[_0x5c2666(0x1c8)]=undefined,_0x4c4897['onError']=undefined;}AssetManager[_0x5c2666(0x18d)][_0x5c2666(0x1b0)](_0x41c23d),AssetManager[_0x5c2666(0x18d)][_0x5c2666(0x181)]();}}[_0x10c4eb(0x183)](_0x2da6ed,_0x35ec57){const _0x5e9cd0=_0x10c4eb,_0x144324=_0x35ec57[_0x5e9cd0(0x1ce)][_0x5e9cd0(0x1ae)](),_0x534fab=_0x35ec57['rotation'][_0x5e9cd0(0x1ae)](),_0x3880b0=_0x35ec57[_0x5e9cd0(0x1a6)][_0x5e9cd0(0x1ae)]();let _0x196134=null;const _0x545ccf=_0x35ec57['children'];_0x35ec57[_0x5e9cd0(0x1a5)]=[];if(_0x35ec57[_0x5e9cd0(0x1b2)]==='Group'||_0x35ec57['type']===_0x5e9cd0(0x1c4))_0x196134=new SceneComponent(this[_0x5e9cd0(0x1bf)],_0x35ec57[_0x5e9cd0(0x18a)]);else {if(_0x35ec57[_0x5e9cd0(0x198)]){const _0x200231=_0x35ec57;_0x196134=new InstanceMeshComponent(this[_0x5e9cd0(0x1bf)],_0x200231,_0x200231['uuid']),_0x196134[_0x5e9cd0(0x1bb)]=_0x200231[_0x5e9cd0(0x1bb)],_0x35ec57[_0x5e9cd0(0x1c7)][_0x5e9cd0(0x1a9)](0x0);}else {if(_0x35ec57[_0x5e9cd0(0x193)]){const _0x476105=_0x35ec57;_0x196134=new MeshComponent(this[_0x5e9cd0(0x1bf)],_0x476105[_0x5e9cd0(0x1b7)],_0x476105[_0x5e9cd0(0x1be)],_0x476105[_0x5e9cd0(0x18a)]),_0x196134[_0x5e9cd0(0x1bb)]=_0x476105[_0x5e9cd0(0x1bb)],_0x35ec57[_0x5e9cd0(0x1c7)]['set'](0x0);}else _0x196134=new SceneComponent(this['app'],_0x35ec57[_0x5e9cd0(0x18a)]);}}if(_0x196134===null)return _0x35ec57[_0x5e9cd0(0x1a5)]=_0x545ccf,null;_0x2da6ed[_0x5e9cd0(0x1b9)](_0x196134),_0x196134[_0x5e9cd0(0x1c3)](_0x144324),_0x196134['setRotation'](_0x534fab),_0x196134[_0x5e9cd0(0x1a8)](_0x3880b0);for(const _0x4e44ea of _0x545ccf){this['convertThreeObjectToLYObject'](_0x196134,_0x4e44ea);}return _0x196134;}[_0x10c4eb(0x1a0)](_0x412710){const _0x39c999=_0x10c4eb,_0xc0005d=(_0x645968,_0x241c2b)=>{const _0x4c68d0=_0x3d17;var _0x351600;const _0x3d2b15=(_0x351600=_0x645968[_0x4c68d0(0x190)](_0x241c2b))!==null&&_0x351600!==void 0?_0x351600:0x0;_0x645968['set'](_0x241c2b,_0x3d2b15+0x1);},_0x156437={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x412710['traverse'](_0x42e6d9=>{const _0x26a207=_0x3d17,_0x32a4e2=_0x42e6d9;_0x32a4e2[_0x26a207(0x1b7)]instanceof webgpu.BufferGeometry&&_0xc0005d(_0x156437[_0x26a207(0x182)],_0x32a4e2[_0x26a207(0x1b7)]);if(_0x32a4e2[_0x26a207(0x1be)]){const _0x3b7b8a=Array[_0x26a207(0x17e)](_0x32a4e2['material'])?_0x32a4e2[_0x26a207(0x1be)]:[_0x32a4e2[_0x26a207(0x1be)]];_0x3b7b8a[_0x26a207(0x188)](_0x153f07=>{const _0x267eef=_0x26a207;_0x153f07&&(_0xc0005d(_0x156437['materials'],_0x153f07),Object['values'](_0x153f07)[_0x267eef(0x188)](_0x1ccb5a=>{const _0x36ceb2=_0x267eef;_0x1ccb5a instanceof webgpu.Texture&&_0xc0005d(_0x156437[_0x36ceb2(0x1cb)],_0x1ccb5a);}));});}}),_0x156437['geometries'][_0x39c999(0x188)]((_0x467c21,_0x240f27)=>this[_0x39c999(0x19b)](_0x240f27,_0x467c21)),_0x156437[_0x39c999(0x1c1)][_0x39c999(0x188)]((_0x1bcd9e,_0x2023ae)=>this['addAsset'](_0x2023ae,_0x1bcd9e)),_0x156437[_0x39c999(0x1cb)]['forEach']((_0x2a0ea9,_0x2368a4)=>this[_0x39c999(0x19b)](_0x2368a4,_0x2a0ea9));}[_0x10c4eb(0x1b1)](_0x31110b){const _0xd8ea25=_0x10c4eb;_0x31110b[_0xd8ea25(0x1b7)]&&!_0x31110b[_0xd8ea25(0x1b7)][_0xd8ea25(0x1aa)][_0xd8ea25(0x1c6)]&&this[_0xd8ea25(0x19b)](_0x31110b[_0xd8ea25(0x1b7)]);if(_0x31110b[_0xd8ea25(0x1be)]){const _0x2de34c=Array['isArray'](_0x31110b['material'])?_0x31110b[_0xd8ea25(0x1be)]:[_0x31110b[_0xd8ea25(0x1be)]];_0x2de34c[_0xd8ea25(0x188)](_0x2348e5=>{const _0x1cdd67=_0xd8ea25;if(!_0x2348e5)return;!_0x2348e5[_0x1cdd67(0x1aa)][_0x1cdd67(0x1c6)]&&this['addAsset'](_0x2348e5),Object['values'](_0x2348e5)['forEach'](_0x44dff1=>{const _0xf4a88b=_0x1cdd67;_0x44dff1 instanceof webgpu.Texture&&!_0x44dff1['userData'][_0xf4a88b(0x1c6)]&&this[_0xf4a88b(0x19b)](_0x44dff1);});});}}async[_0x10c4eb(0x1a1)](_0x3e6e8e){const _0x3a95e6=_0x10c4eb;this[_0x3a95e6(0x199)](_0x3a95e6(0x186)),await this[_0x3a95e6(0x19e)]('./basis/');const _0x17fc43=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x3a95e6(0x18d)]&&_0x17fc43[_0x3a95e6(0x19f)](AssetManager[_0x3a95e6(0x18d)]);AssetManager[_0x3a95e6(0x1af)]&&_0x17fc43[_0x3a95e6(0x180)](AssetManager[_0x3a95e6(0x1af)]);try{const _0xe14263=await _0x17fc43[_0x3a95e6(0x1b4)](_0x3e6e8e);return _0xe14263;}catch(_0x5d2ef3){console['error'](_0x3a95e6(0x19a),_0x3e6e8e,_0x5d2ef3);throw _0x5d2ef3;}}['loadGltfFromPath'](_0x2868df,_0x4b818d){const _0x2b1ce1=_0x10c4eb;this['setupDracoLoader'](_0x2b1ce1(0x186));const _0x53eb53=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x2b1ce1(0x18d)]&&_0x53eb53[_0x2b1ce1(0x19f)](AssetManager[_0x2b1ce1(0x18d)]),_0x53eb53['load'](_0x2868df,_0x4b818d);}[_0x10c4eb(0x1c2)](_0x53ace8,_0x1ea5aa,_0x10e14b){const _0x531f3b=_0x10c4eb;this[_0x531f3b(0x199)](_0x531f3b(0x186));const _0x63d88b=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x63d88b['setDRACOLoader'](AssetManager[_0x531f3b(0x18d)]),_0x63d88b[_0x531f3b(0x1a4)](_0x53ace8,_0x1ea5aa,_0x10e14b);}['loadFile'](_0x4ed2ae='',_0x3bf53d){const _0x7ab722=new webgpu.FileLoader();_0x7ab722['load'](_0x4ed2ae,_0x3bf53d);}[_0x10c4eb(0x19b)](_0x2b7b8f,_0x580967=0x0){const _0x4da7fd=_0x10c4eb;if(_0x2b7b8f instanceof webgpu.BufferGeometry)return this[_0x4da7fd(0x1b5)](_0x2b7b8f,_0x580967);if(_0x2b7b8f instanceof webgpu.Material)return this['addMaterialAsset'](_0x2b7b8f,_0x580967);if(_0x2b7b8f instanceof webgpu.Texture)return this['addTextureAsset'](_0x2b7b8f,_0x580967);return undefined;}[_0x10c4eb(0x17d)](_0x49ae69,_0x105a70=0x0){const _0x91c329=_0x10c4eb;let _0x472d1b=_0x49ae69[_0x91c329(0x1aa)][_0x91c329(0x1c6)];if(!_0x472d1b){const _0x1b9c4d=new Map();Object[_0x91c329(0x187)](_0x49ae69)[_0x91c329(0x188)](([_0x200d8d,_0x492cc4])=>{const _0x186b55=_0x91c329;if(_0x492cc4 instanceof webgpu.Texture){const _0x21e2da=this[_0x186b55(0x191)](_0x492cc4,0x1);_0x1b9c4d[_0x186b55(0x1a9)](_0x200d8d,_0x21e2da);}}),_0x472d1b=new MaterialAssetPointer(_0x49ae69,_0x1b9c4d,_0x105a70),this[_0x91c329(0x192)][_0x91c329(0x1a9)](_0x49ae69['uuid'],_0x472d1b);}else _0x472d1b['addRef'](_0x105a70);return _0x472d1b;}[_0x10c4eb(0x191)](_0x14fcc9,_0x489b58=0x0){const _0x3a69f8=_0x10c4eb;let _0x168e16=_0x14fcc9[_0x3a69f8(0x1aa)][_0x3a69f8(0x1c6)];return !_0x168e16?(_0x168e16=new TextureAssetPointer(_0x14fcc9,_0x489b58),this[_0x3a69f8(0x1a3)][_0x3a69f8(0x1a9)](_0x14fcc9[_0x3a69f8(0x18a)],_0x168e16)):_0x168e16['addRef'](_0x489b58),_0x168e16;}['addGeometryAsset'](_0x15b816,_0x44e19c=0x0){const _0x34640a=_0x10c4eb;let _0x4d4265=_0x15b816[_0x34640a(0x1aa)][_0x34640a(0x1c6)];return !_0x4d4265?(_0x4d4265=new GeometryAssetPointer(_0x15b816,_0x44e19c),this[_0x34640a(0x1ad)][_0x34640a(0x1a9)](_0x15b816['uuid'],_0x4d4265)):_0x4d4265[_0x34640a(0x18e)](_0x44e19c),_0x4d4265;}[_0x10c4eb(0x1c0)](_0xe1ee32){const _0x22bee3=_0x10c4eb,_0x4203d6=_0xe1ee32['userData'][_0x22bee3(0x1c6)];_0x4203d6?_0x4203d6[_0x22bee3(0x1ca)]():_0xe1ee32[_0x22bee3(0x1bd)]();}[_0x10c4eb(0x1bd)](){const _0x39b82b=_0x10c4eb;this[_0x39b82b(0x1cf)](),AssetManager[_0x39b82b(0x18d)]&&(AssetManager[_0x39b82b(0x18d)][_0x39b82b(0x1bd)](),AssetManager[_0x39b82b(0x18d)]=null),AssetManager[_0x39b82b(0x1af)]&&(AssetManager[_0x39b82b(0x1af)][_0x39b82b(0x1bd)](),AssetManager[_0x39b82b(0x1af)]=null);}['clearAssets'](){const _0x278866=_0x10c4eb;this[_0x278866(0x1ad)][_0x278866(0x188)](_0x39e30b=>_0x39e30b['forceRelease']()),this[_0x278866(0x1ad)][_0x278866(0x1cd)](),this[_0x278866(0x192)][_0x278866(0x188)](_0x5cace7=>_0x5cace7[_0x278866(0x1ba)]()),this[_0x278866(0x192)][_0x278866(0x1cd)](),this[_0x278866(0x1a3)]['forEach'](_0x5be232=>_0x5be232[_0x278866(0x1ba)]()),this[_0x278866(0x1a3)]['clear']();}}AssetManager[_0x10c4eb(0x18d)]=null,AssetManager['_ktx2Loader']=null;
|
|
46
57
|
|
|
47
|
-
(function(
|
|
58
|
+
function _0x18f3(){var _0x347c85=['code','13974770uiSinF','Geometry','Texture','loaded','Loaded','ActorManager','loading','External','16130lqyWOa','undefined','assetPointer','Code','9muGeAm','2635452icSRUv','5349496jLvwUE','unloaded','error','actorManager','Material','Error','material','5758083YJXFxJ','166575bRwUmK','7xQZyXC','HTML','actor','Component','11TVQYBx','geometry','174hHsYIb','Actor','texture','93865lVUoHV','html','Loading','Level','external'];_0x18f3=function(){return _0x347c85;};return _0x18f3();}(function(_0x29f5d4,_0xce9d48){var _0x1f8bc5=_0x8723,_0x159d96=_0x29f5d4();while(!![]){try{var _0x2507e3=-parseInt(_0x1f8bc5(0x11d))/0x1*(-parseInt(_0x1f8bc5(0x119))/0x2)+parseInt(_0x1f8bc5(0x101))/0x3+-parseInt(_0x1f8bc5(0x11e))/0x4+parseInt(_0x1f8bc5(0x10b))/0x5*(-parseInt(_0x1f8bc5(0x108))/0x6)+parseInt(_0x1f8bc5(0x102))/0x7*(parseInt(_0x1f8bc5(0x11f))/0x8)+-parseInt(_0x1f8bc5(0x100))/0x9+parseInt(_0x1f8bc5(0x111))/0xa*(parseInt(_0x1f8bc5(0x106))/0xb);if(_0x2507e3===_0xce9d48)break;else _0x159d96['push'](_0x159d96['shift']());}catch(_0x559fca){_0x159d96['push'](_0x159d96['shift']());}}}(_0x18f3,0x55be7));exports.AssetCategory = void 0;(function(_0x1ba247){var _0x110df3=_0x8723;_0x1ba247[_0x110df3(0x112)]='geometry',_0x1ba247[_0x110df3(0x123)]=_0x110df3(0xff),_0x1ba247[_0x110df3(0x113)]=_0x110df3(0x10a),_0x1ba247['Actor']=_0x110df3(0x104),_0x1ba247[_0x110df3(0x116)]=_0x110df3(0x122),_0x1ba247[_0x110df3(0x10e)]='level',_0x1ba247[_0x110df3(0x103)]=_0x110df3(0x10c),_0x1ba247[_0x110df3(0x11c)]=_0x110df3(0x110),_0x1ba247['Undefined']=_0x110df3(0x11a);}(exports.AssetCategory||(exports.AssetCategory={})));exports.AssetLoadState = void 0;(function(_0x232030){var _0x4db0db=_0x8723;_0x232030['Unloaded']=_0x4db0db(0x120),_0x232030[_0x4db0db(0x10d)]=_0x4db0db(0x117),_0x232030[_0x4db0db(0x115)]=_0x4db0db(0x114),_0x232030[_0x4db0db(0xfe)]=_0x4db0db(0x121);}(exports.AssetLoadState||(exports.AssetLoadState={})));function _0x8723(_0xc1a72c,_0x1946b9){_0xc1a72c=_0xc1a72c-0xfe;var _0x18f3ac=_0x18f3();var _0x872317=_0x18f3ac[_0xc1a72c];return _0x872317;}exports.ReferenceType = void 0;(function(_0x424943){var _0x4b3259=_0x8723;_0x424943[_0x4b3259(0x109)]=_0x4b3259(0x104),_0x424943[_0x4b3259(0x105)]='component',_0x424943[_0x4b3259(0x123)]=_0x4b3259(0xff),_0x424943['Level']='level',_0x424943['AssetPointer']=_0x4b3259(0x11b),_0x424943[_0x4b3259(0x118)]=_0x4b3259(0x10f);}(exports.ReferenceType||(exports.ReferenceType={})));exports.AssetType = void 0;(function(_0x7b19c1){var _0x5c4323=_0x8723;_0x7b19c1[_0x7b19c1['geometry']=0x1]=_0x5c4323(0x107),_0x7b19c1[_0x7b19c1[_0x5c4323(0xff)]=0x2]=_0x5c4323(0xff),_0x7b19c1[_0x7b19c1[_0x5c4323(0x10a)]=0x3]=_0x5c4323(0x10a),_0x7b19c1[_0x7b19c1['undefined']=-1]=_0x5c4323(0x11a);}(exports.AssetType||(exports.AssetType={})));
|
|
48
59
|
|
|
49
|
-
|
|
60
|
+
(function(_0x5e89cc,_0x5bba29){var _0x901ec4=_0x55f5,_0x30a907=_0x5e89cc();while(!![]){try{var _0x2ab7fd=parseInt(_0x901ec4(0xe6))/0x1*(-parseInt(_0x901ec4(0xe3))/0x2)+parseInt(_0x901ec4(0xe7))/0x3*(-parseInt(_0x901ec4(0xe5))/0x4)+parseInt(_0x901ec4(0xe2))/0x5+parseInt(_0x901ec4(0xf1))/0x6+-parseInt(_0x901ec4(0xea))/0x7*(-parseInt(_0x901ec4(0xf2))/0x8)+parseInt(_0x901ec4(0xe4))/0x9*(-parseInt(_0x901ec4(0xf5))/0xa)+-parseInt(_0x901ec4(0xeb))/0xb*(-parseInt(_0x901ec4(0xf3))/0xc);if(_0x2ab7fd===_0x5bba29)break;else _0x30a907['push'](_0x30a907['shift']());}catch(_0xc229d3){_0x30a907['push'](_0x30a907['shift']());}}}(_0x102a,0xe7b87));exports.CollisionResponse = void 0;(function(_0x480db0){var _0x2d11c5=_0x55f5;_0x480db0['Ignore']=_0x2d11c5(0xe0),_0x480db0['Overlap']=_0x2d11c5(0xee),_0x480db0[_0x2d11c5(0xe8)]=_0x2d11c5(0xe8);}(exports.CollisionResponse||(exports.CollisionResponse={})));exports.CollisionChannel = void 0;(function(_0x2445d3){var _0xf49624=_0x55f5;_0x2445d3['WorldStatic']=_0xf49624(0xf0),_0x2445d3[_0xf49624(0xed)]=_0xf49624(0xed),_0x2445d3['Pawn']=_0xf49624(0xf4),_0x2445d3['Visibility']=_0xf49624(0xdf),_0x2445d3[_0xf49624(0xe9)]='Camera',_0x2445d3[_0xf49624(0xec)]=_0xf49624(0xec);}(exports.CollisionChannel||(exports.CollisionChannel={})));exports.CollisionShapeType = void 0;function _0x55f5(_0x3801d5,_0xaded1f){_0x3801d5=_0x3801d5-0xdf;var _0x102a71=_0x102a();var _0x55f51b=_0x102a71[_0x3801d5];return _0x55f51b;}function _0x102a(){var _0x7b046b=['Visibility','Ignore','Box','4677405WXheFf','38422sQIicF','63ouQFON','68ffJfcj','18UmGcVK','226374jIlZXB','Block','Camera','7UMPDyn','2295117PkcyUt','Trigger','WorldDynamic','Overlap','Sphere','WorldStatic','2484264jejGTc','886632ejSJJO','108LezUZB','Pawn','1086380uxYFRD'];_0x102a=function(){return _0x7b046b;};return _0x102a();}(function(_0x518874){var _0xa11005=_0x55f5;_0x518874[_0xa11005(0xef)]=_0xa11005(0xef),_0x518874[_0xa11005(0xe1)]=_0xa11005(0xe1);}(exports.CollisionShapeType||(exports.CollisionShapeType={})));
|
|
50
61
|
|
|
51
|
-
(function(_0x4fb43d,_0x3e66e5){var _0x538a1d=_0x2309,_0x3cbb97=_0x4fb43d();while(!![]){try{var _0x1afddd=-parseInt(_0x538a1d(0x85))/0x1*(parseInt(_0x538a1d(0x87))/0x2)+-parseInt(_0x538a1d(0x88))/0x3*(parseInt(_0x538a1d(0x83))/0x4)+parseInt(_0x538a1d(0x8b))/0x5+parseInt(_0x538a1d(0x8c))/0x6+parseInt(_0x538a1d(0x8e))/0x7+parseInt(_0x538a1d(0x8d))/0x8*(parseInt(_0x538a1d(0x84))/0x9)+parseInt(_0x538a1d(0x90))/0xa;if(_0x1afddd===_0x3e66e5)break;else _0x3cbb97['push'](_0x3cbb97['shift']());}catch(_0x2ef06d){_0x3cbb97['push'](_0x3cbb97['shift']());}}}(_0x5661,0x2b854));function _0x2309(_0x1ed854,_0x3d6f61){_0x1ed854=_0x1ed854-0x80;var _0x56617d=_0x5661();var _0x230937=_0x56617d[_0x1ed854];return _0x230937;}exports.CollisionResponse = void 0;(function(_0x55a993){var _0x142965=_0x2309;_0x55a993[_0x142965(0x93)]='Ignore',_0x55a993['Overlap']='Overlap',_0x55a993[_0x142965(0x92)]='Block';}(exports.CollisionResponse||(exports.CollisionResponse={})));exports.CollisionChannel = void 0;(function(_0xc20c4f){var _0x21dab6=_0x2309;_0xc20c4f[_0x21dab6(0x89)]=_0x21dab6(0x89),_0xc20c4f['WorldDynamic']=_0x21dab6(0x91),_0xc20c4f[_0x21dab6(0x8a)]='Pawn',_0xc20c4f[_0x21dab6(0x81)]=_0x21dab6(0x81),_0xc20c4f[_0x21dab6(0x8f)]=_0x21dab6(0x8f),_0xc20c4f['Trigger']=_0x21dab6(0x86);}(exports.CollisionChannel||(exports.CollisionChannel={})));exports.CollisionShapeType = void 0;(function(_0x41c067){var _0x395e3f=_0x2309;_0x41c067[_0x395e3f(0x82)]=_0x395e3f(0x82),_0x41c067['Box']=_0x395e3f(0x80);}(exports.CollisionShapeType||(exports.CollisionShapeType={})));function _0x5661(){var _0x687e8=['Visibility','Sphere','668shatiu','9927rxAczP','2suHweH','Trigger','122994mowUIP','6207NJBLqH','WorldStatic','Pawn','291200fthILC','371988YyWnjt','728nuBrnS','263298zVUiGJ','Camera','3885520clqvpp','WorldDynamic','Block','Ignore','Box'];_0x5661=function(){return _0x687e8;};return _0x5661();}
|
|
62
|
+
const _0x411446=_0x2c80;(function(_0x5600f7,_0x9540ca){const _0x45df00=_0x2c80,_0x1a0955=_0x5600f7();while(!![]){try{const _0x510c10=parseInt(_0x45df00(0x1d2))/0x1*(parseInt(_0x45df00(0x1f3))/0x2)+-parseInt(_0x45df00(0x1d0))/0x3+-parseInt(_0x45df00(0x1e5))/0x4+parseInt(_0x45df00(0x1ce))/0x5+-parseInt(_0x45df00(0x208))/0x6+parseInt(_0x45df00(0x1e8))/0x7+-parseInt(_0x45df00(0x1d9))/0x8;if(_0x510c10===_0x9540ca)break;else _0x1a0955['push'](_0x1a0955['shift']());}catch(_0x4fcef3){_0x1a0955['push'](_0x1a0955['shift']());}}}(_0x24ab,0x91fe4));function _0x24ab(){const _0x3338cb=['get','Visibility','sign','min','collisionEnabled','onHitDelegate','add','clone','getWorldAABB','set','461094rCLUwb','Block','generateHitEvents','intersectsBox','debugDrawEnabled','raycastAll','push','colliders','point','getCollisionResponse','getCenter','previousBlockPairs','clear','computeAabbHit','getPairKey','Overlap','_debugDrawEnabled','function','delete','normal','uuid','6061140BlTgaF','1976555oweaoL','max','389829inBwaE','multiplyScalar','4DynvrE','debugEnabled','raycast','length','intersectRayAabb','previousOverlapPairs','onBeginOverlapDelegate','1326816FXMdoh','copy','filter','distance','generateOverlapEvents','lineTraceMulti','onEndOverlapDelegate','broadcast','abs','registerCollider','sub','has','508316GAWcub','Ignore','unregisterCollider','4994871etoReY'];_0x24ab=function(){return _0x3338cb;};return _0x24ab();}function _0x2c80(_0xf42670,_0x54a81d){_0xf42670=_0xf42670-0x1ce;const _0x24ab5e=_0x24ab();let _0x2c806a=_0x24ab5e[_0xf42670];return _0x2c806a;}class PhysicsWorld{constructor(){const _0x24c942=_0x2c80;this['colliders']=new Set(),this[_0x24c942(0x1d7)]=new Map(),this[_0x24c942(0x1fe)]=new Map(),this[_0x24c942(0x203)]=![];}get['debugDrawEnabled'](){return this['_debugDrawEnabled'];}set[_0x411446(0x1f7)](_0x292f32){const _0x1a5d69=_0x411446;if(this[_0x1a5d69(0x203)]===_0x292f32)return;this[_0x1a5d69(0x203)]=_0x292f32;for(const _0x543704 of this[_0x1a5d69(0x1fa)]){_0x543704[_0x1a5d69(0x1d3)]=_0x292f32;}}[_0x411446(0x1e2)](_0x4ff802){const _0x55b52c=_0x411446;this['colliders'][_0x55b52c(0x1ef)](_0x4ff802),this[_0x55b52c(0x203)]&&(_0x4ff802['debugEnabled']=!![]);}[_0x411446(0x1e7)](_0x3b4f08){const _0x23de3b=_0x411446;this[_0x23de3b(0x1fa)][_0x23de3b(0x205)](_0x3b4f08);for(const [_0x46bf4f,_0x20218d]of this[_0x23de3b(0x1d7)]){(_0x20218d[0x0]===_0x3b4f08||_0x20218d[0x1]===_0x3b4f08)&&this[_0x23de3b(0x1d7)][_0x23de3b(0x205)](_0x46bf4f);}for(const [_0x1910a7,_0x4a61bd]of this[_0x23de3b(0x1fe)]){(_0x4a61bd[0x0]===_0x3b4f08||_0x4a61bd[0x1]===_0x3b4f08)&&this[_0x23de3b(0x1fe)][_0x23de3b(0x205)](_0x1910a7);}}[_0x411446(0x1ff)](){const _0x346d5b=_0x411446;this['colliders'][_0x346d5b(0x1ff)](),this['previousOverlapPairs'][_0x346d5b(0x1ff)](),this[_0x346d5b(0x1fe)][_0x346d5b(0x1ff)]();}['lineTraceSingle'](_0x3322a3,_0xc9ef1e,_0x2e30c0=exports.CollisionChannel[_0x411446(0x1ea)],_0x56691f){const _0x6ad5a=_0x411446,_0x4c3faa=_0xc9ef1e[_0x6ad5a(0x1f0)]()[_0x6ad5a(0x1e3)](_0x3322a3),_0xdb475f=_0x4c3faa[_0x6ad5a(0x1d5)]();if(_0xdb475f<=0.000001)return null;const _0x3fb71e=_0x4c3faa['multiplyScalar'](0x1/_0xdb475f);let _0x253bc6=null;for(const _0x3331db of this[_0x6ad5a(0x1fa)]){if(_0x3331db===_0x56691f)continue;if(!_0x3331db[_0x6ad5a(0x1ed)])continue;const _0x34ff6b=_0x3331db[_0x6ad5a(0x1fc)](_0x2e30c0);if(_0x34ff6b!==exports.CollisionResponse[_0x6ad5a(0x1f4)])continue;const _0x5265e4=_0x3331db[_0x6ad5a(0x1f1)](new webgpu.Box3()),_0x18bdef=this['intersectRayAabb'](_0x3322a3,_0x3fb71e,_0xdb475f,_0x5265e4);if(!_0x18bdef)continue;const _0x311fc4=_0x3331db,_0x7f13a5=typeof _0x311fc4[_0x6ad5a(0x1d4)]===_0x6ad5a(0x204)?_0x311fc4['raycast'](_0x3322a3,_0x3fb71e,_0xdb475f):_0x18bdef;if(!_0x7f13a5)continue;(!_0x253bc6||_0x7f13a5['distance']<_0x253bc6[_0x6ad5a(0x1dc)])&&(_0x253bc6={'collider':_0x3331db,'point':_0x7f13a5[_0x6ad5a(0x1fb)],'normal':_0x7f13a5['normal'],'distance':_0x7f13a5[_0x6ad5a(0x1dc)],'blocking':!![]});}return _0x253bc6;}[_0x411446(0x1de)](_0x36677b,_0x4ef316,_0x53d30e=exports.CollisionChannel['Visibility'],_0x5ae947){const _0x2a9c88=_0x411446,_0x5cf2f7=_0x4ef316['clone']()[_0x2a9c88(0x1e3)](_0x36677b),_0x26655b=_0x5cf2f7[_0x2a9c88(0x1d5)]();if(_0x26655b<=0.000001)return [];const _0x2219ef=_0x5cf2f7[_0x2a9c88(0x1d1)](0x1/_0x26655b),_0x29f127=[];for(const _0x1e32a5 of this[_0x2a9c88(0x1fa)]){if(_0x1e32a5===_0x5ae947)continue;if(!_0x1e32a5[_0x2a9c88(0x1ed)])continue;const _0x4c11ba=_0x1e32a5['getCollisionResponse'](_0x53d30e);if(_0x4c11ba===exports.CollisionResponse['Ignore'])continue;const _0x282e99=_0x1e32a5[_0x2a9c88(0x1f1)](new webgpu.Box3()),_0x4f9465=this[_0x2a9c88(0x1d6)](_0x36677b,_0x2219ef,_0x26655b,_0x282e99);if(!_0x4f9465)continue;const _0x2523a1=_0x1e32a5;if(typeof _0x2523a1[_0x2a9c88(0x1f8)]===_0x2a9c88(0x204)){const _0x404482=_0x2523a1[_0x2a9c88(0x1f8)](_0x36677b,_0x2219ef,_0x26655b);for(const _0x1bb08d of _0x404482){_0x29f127[_0x2a9c88(0x1f9)]({'collider':_0x1e32a5,'point':_0x1bb08d['point'],'normal':_0x1bb08d[_0x2a9c88(0x206)],'distance':_0x1bb08d[_0x2a9c88(0x1dc)],'blocking':_0x4c11ba===exports.CollisionResponse['Block']});}}else {const _0x20cd4f=typeof _0x2523a1[_0x2a9c88(0x1d4)]==='function'?_0x2523a1[_0x2a9c88(0x1d4)](_0x36677b,_0x2219ef,_0x26655b):_0x4f9465;if(!_0x20cd4f)continue;_0x29f127[_0x2a9c88(0x1f9)]({'collider':_0x1e32a5,'point':_0x20cd4f['point'],'normal':_0x20cd4f['normal'],'distance':_0x20cd4f[_0x2a9c88(0x1dc)],'blocking':_0x4c11ba===exports.CollisionResponse[_0x2a9c88(0x1f4)]});}}return _0x29f127['sort']((_0x298cfb,_0x4eb996)=>_0x298cfb['distance']-_0x4eb996[_0x2a9c88(0x1dc)]);}['tick'](_0x31b612){const _0xffa6a9=_0x411446,_0x4c69de=Array['from'](this['colliders'])[_0xffa6a9(0x1db)](_0x1f71ef=>_0x1f71ef[_0xffa6a9(0x1ed)]),_0x8a618d=new Map();for(const _0x5b0f99 of _0x4c69de){_0x8a618d[_0xffa6a9(0x1f2)](_0x5b0f99,_0x5b0f99[_0xffa6a9(0x1f1)](new webgpu.Box3()));}const _0x50ca76=new Map(),_0x462f5f=new Map();for(let _0x176be0=0x0;_0x176be0<_0x4c69de[_0xffa6a9(0x1d5)];_0x176be0++){const _0x1db7e0=_0x4c69de[_0x176be0],_0x3eb211=_0x8a618d[_0xffa6a9(0x1e9)](_0x1db7e0);if(!_0x3eb211)continue;for(let _0x532d81=_0x176be0+0x1;_0x532d81<_0x4c69de[_0xffa6a9(0x1d5)];_0x532d81++){const _0x15ada3=_0x4c69de[_0x532d81],_0x1fc692=_0x8a618d['get'](_0x15ada3);if(!_0x1fc692)continue;if(!_0x3eb211[_0xffa6a9(0x1f6)](_0x1fc692))continue;const _0x1e8cf4=_0x1db7e0['getMutualResponse'](_0x15ada3);if(_0x1e8cf4===exports.CollisionResponse[_0xffa6a9(0x1e6)])continue;const _0x1dcf65=this[_0xffa6a9(0x201)](_0x1db7e0,_0x15ada3);_0x1e8cf4===exports.CollisionResponse[_0xffa6a9(0x202)]?_0x50ca76[_0xffa6a9(0x1f2)](_0x1dcf65,[_0x1db7e0,_0x15ada3]):_0x462f5f[_0xffa6a9(0x1f2)](_0x1dcf65,[_0x1db7e0,_0x15ada3]);}}for(const [_0x578d0a,_0x4c0c70]of _0x50ca76){if(this[_0xffa6a9(0x1d7)][_0xffa6a9(0x1e4)](_0x578d0a))continue;const [_0x262ba6,_0x515747]=_0x4c0c70;_0x262ba6[_0xffa6a9(0x1dd)]&&_0x262ba6[_0xffa6a9(0x1d8)][_0xffa6a9(0x1e0)](_0x515747),_0x515747[_0xffa6a9(0x1dd)]&&_0x515747['onBeginOverlapDelegate'][_0xffa6a9(0x1e0)](_0x262ba6);}for(const [_0x40f6f1,_0x4e1ec6]of this['previousOverlapPairs']){if(_0x50ca76[_0xffa6a9(0x1e4)](_0x40f6f1))continue;const [_0x27f7e9,_0x3069cf]=_0x4e1ec6;_0x27f7e9[_0xffa6a9(0x1dd)]&&_0x27f7e9[_0xffa6a9(0x1df)][_0xffa6a9(0x1e0)](_0x3069cf),_0x3069cf[_0xffa6a9(0x1dd)]&&_0x3069cf[_0xffa6a9(0x1df)][_0xffa6a9(0x1e0)](_0x27f7e9);}for(const [_0x18e97d,_0x3ab5ce]of _0x462f5f){if(this[_0xffa6a9(0x1fe)][_0xffa6a9(0x1e4)](_0x18e97d))continue;const [_0x11f42c,_0xbd9690]=_0x3ab5ce,_0x32409a=_0x8a618d[_0xffa6a9(0x1e9)](_0x11f42c),_0x1f49f4=_0x8a618d[_0xffa6a9(0x1e9)](_0xbd9690);if(!_0x32409a||!_0x1f49f4)continue;const _0x3c0c61=this[_0xffa6a9(0x200)](_0x11f42c,_0xbd9690,_0x32409a,_0x1f49f4);_0x11f42c[_0xffa6a9(0x1f5)]&&_0x11f42c['onHitDelegate'][_0xffa6a9(0x1e0)](_0x3c0c61);if(_0xbd9690[_0xffa6a9(0x1f5)]){const _0x91bbae={'self':_0xbd9690,'other':_0x11f42c,'point':_0x3c0c61[_0xffa6a9(0x1fb)]['clone'](),'normal':_0x3c0c61[_0xffa6a9(0x206)]['clone']()['multiplyScalar'](-1),'penetrationDepth':_0x3c0c61['penetrationDepth']};_0xbd9690[_0xffa6a9(0x1ee)]['broadcast'](_0x91bbae);}}this[_0xffa6a9(0x1d7)]=_0x50ca76,this[_0xffa6a9(0x1fe)]=_0x462f5f;}[_0x411446(0x200)](_0x3530ae,_0x4c2631,_0x400748,_0x4f2355){const _0x3add5b=_0x411446,_0x2c8e17=Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['x'],_0x4f2355[_0x3add5b(0x1cf)]['x'])-Math[_0x3add5b(0x1cf)](_0x400748['min']['x'],_0x4f2355[_0x3add5b(0x1ec)]['x']),_0x3baae9=Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['y'],_0x4f2355[_0x3add5b(0x1cf)]['y'])-Math[_0x3add5b(0x1cf)](_0x400748[_0x3add5b(0x1ec)]['y'],_0x4f2355[_0x3add5b(0x1ec)]['y']),_0x4aed27=Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['z'],_0x4f2355[_0x3add5b(0x1cf)]['z'])-Math[_0x3add5b(0x1cf)](_0x400748[_0x3add5b(0x1ec)]['z'],_0x4f2355[_0x3add5b(0x1ec)]['z']);let _0x486fb2=_0x2c8e17,_0x4d6adc='x';_0x3baae9<_0x486fb2&&(_0x486fb2=_0x3baae9,_0x4d6adc='y');_0x4aed27<_0x486fb2&&(_0x486fb2=_0x4aed27,_0x4d6adc='z');const _0x4b9765=_0x400748['getCenter'](new webgpu.Vector3()),_0x529ca1=_0x4f2355[_0x3add5b(0x1fd)](new webgpu.Vector3()),_0x5823ad=_0x529ca1[_0x3add5b(0x1f0)]()[_0x3add5b(0x1e3)](_0x4b9765),_0x3b1aa5=new webgpu.Vector3(0x0,0x0,0x0);if(_0x4d6adc==='x')_0x3b1aa5[_0x3add5b(0x1f2)](Math[_0x3add5b(0x1eb)](_0x5823ad['x'])||0x1,0x0,0x0);else _0x4d6adc==='y'?_0x3b1aa5['set'](0x0,Math[_0x3add5b(0x1eb)](_0x5823ad['y'])||0x1,0x0):_0x3b1aa5[_0x3add5b(0x1f2)](0x0,0x0,Math['sign'](_0x5823ad['z'])||0x1);const _0x33d041=new webgpu.Vector3((Math[_0x3add5b(0x1cf)](_0x400748[_0x3add5b(0x1ec)]['x'],_0x4f2355['min']['x'])+Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['x'],_0x4f2355[_0x3add5b(0x1cf)]['x']))*0.5,(Math[_0x3add5b(0x1cf)](_0x400748[_0x3add5b(0x1ec)]['y'],_0x4f2355[_0x3add5b(0x1ec)]['y'])+Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['y'],_0x4f2355[_0x3add5b(0x1cf)]['y']))*0.5,(Math['max'](_0x400748['min']['z'],_0x4f2355[_0x3add5b(0x1ec)]['z'])+Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['z'],_0x4f2355[_0x3add5b(0x1cf)]['z']))*0.5);return {'self':_0x3530ae,'other':_0x4c2631,'point':_0x33d041,'normal':_0x3b1aa5,'penetrationDepth':Math[_0x3add5b(0x1cf)](0x0,_0x486fb2)};}['getPairKey'](_0x584b6a,_0x57e145){const _0x25b4a7=_0x411446;return _0x584b6a[_0x25b4a7(0x207)]<_0x57e145[_0x25b4a7(0x207)]?_0x584b6a[_0x25b4a7(0x207)]+'|'+_0x57e145[_0x25b4a7(0x207)]:_0x57e145[_0x25b4a7(0x207)]+'|'+_0x584b6a[_0x25b4a7(0x207)];}[_0x411446(0x1d6)](_0x23f5c0,_0x427f57,_0x2a3ee8,_0x5f03fe){const _0x3aa33d=_0x411446;let _0x43c21e=0x0,_0x4f25fb=_0x2a3ee8;const _0x5a55b9=new webgpu.Vector3(0x0,0x0,0x0),_0x5d496e=1e-8,_0x5a4b9f=_0x33da9a=>{const _0x27a383=_0x2c80,_0x37876d=_0x23f5c0[_0x33da9a],_0x2a8c8a=_0x427f57[_0x33da9a],_0x478d4e=_0x5f03fe[_0x27a383(0x1ec)][_0x33da9a],_0xe6a9f=_0x5f03fe[_0x27a383(0x1cf)][_0x33da9a];if(Math[_0x27a383(0x1e1)](_0x2a8c8a)<_0x5d496e){if(_0x37876d<_0x478d4e||_0x37876d>_0xe6a9f)return ![];return !![];}const _0x498c7a=0x1/_0x2a8c8a;let _0x1a4480,_0x5d9eb3;const _0x1aa08a=new webgpu.Vector3(0x0,0x0,0x0);_0x2a8c8a>=0x0?(_0x1a4480=(_0x478d4e-_0x37876d)*_0x498c7a,_0x5d9eb3=(_0xe6a9f-_0x37876d)*_0x498c7a,_0x1aa08a[_0x33da9a]=-1):(_0x1a4480=(_0xe6a9f-_0x37876d)*_0x498c7a,_0x5d9eb3=(_0x478d4e-_0x37876d)*_0x498c7a,_0x1aa08a[_0x33da9a]=0x1);_0x1a4480>_0x43c21e&&(_0x43c21e=_0x1a4480,_0x5a55b9[_0x27a383(0x1da)](_0x1aa08a));_0x5d9eb3<_0x4f25fb&&(_0x4f25fb=_0x5d9eb3);if(_0x43c21e>_0x4f25fb)return ![];return !![];};if(!_0x5a4b9f('x')||!_0x5a4b9f('y')||!_0x5a4b9f('z'))return null;if(_0x4f25fb<0x0)return null;const _0x2093e6=Math['max'](0x0,_0x43c21e);if(_0x2093e6>_0x2a3ee8)return null;return {'distance':_0x2093e6,'normal':_0x5a55b9,'point':_0x23f5c0[_0x3aa33d(0x1f0)]()[_0x3aa33d(0x1ef)](_0x427f57[_0x3aa33d(0x1f0)]()['multiplyScalar'](_0x2093e6))};}}
|
|
52
63
|
|
|
53
|
-
const _0xfe29c8=_0x286f;(function(_0x1275c3,_0x52365c){const _0xdb624c=_0x286f,_0x409e24=_0x1275c3();while(!![]){try{const _0x2866d0=parseInt(_0xdb624c(0xe0))/0x1*(-parseInt(_0xdb624c(0xf1))/0x2)+parseInt(_0xdb624c(0xc0))/0x3*(parseInt(_0xdb624c(0xec))/0x4)+-parseInt(_0xdb624c(0xc4))/0x5*(parseInt(_0xdb624c(0xef))/0x6)+-parseInt(_0xdb624c(0xdd))/0x7*(-parseInt(_0xdb624c(0xd7))/0x8)+parseInt(_0xdb624c(0xea))/0x9*(parseInt(_0xdb624c(0xe7))/0xa)+parseInt(_0xdb624c(0xf3))/0xb+-parseInt(_0xdb624c(0xe2))/0xc*(parseInt(_0xdb624c(0xf2))/0xd);if(_0x2866d0===_0x52365c)break;else _0x409e24['push'](_0x409e24['shift']());}catch(_0x420dc4){_0x409e24['push'](_0x409e24['shift']());}}}(_0x4e62,0xa2247));function _0x286f(_0x3eaabe,_0x4e1738){_0x3eaabe=_0x3eaabe-0xb9;const _0x4e623b=_0x4e62();let _0x286f25=_0x4e623b[_0x3eaabe];return _0x286f25;}function _0x4e62(){const _0x263ba0=['clear','previousOverlapPairs','from','get','collisionEnabled','lineTraceMulti','add','clone','colliders','onEndOverlapDelegate','multiplyScalar','intersectRayAabb','filter','point','getCollisionResponse','has','16WulHjS','Overlap','broadcast','sub','Visibility','set','1560727EWPcsF','unregisterCollider','_debugDrawEnabled','321OwLtuO','delete','12NYjVvv','debugDrawEnabled','debugEnabled','lineTraceSingle','function','3390jhXyMs','uuid','generateOverlapEvents','14985xIJvHW','getWorldAABB','144fJGFJo','min','length','6DqAFdk','push','6158vjXUmO','2145533oJIwvX','9573861yGZiXU','normal','onHitDelegate','Ignore','max','distance','previousBlockPairs','computeAabbHit','sign','9369qBrRnO','intersectsBox','getPairKey','getMutualResponse','878005ZAqKeA','getCenter','raycast'];_0x4e62=function(){return _0x263ba0;};return _0x4e62();}class PhysicsWorld{constructor(){const _0x3cacae=_0x286f;this['colliders']=new Set(),this[_0x3cacae(0xc8)]=new Map(),this['previousBlockPairs']=new Map(),this['_debugDrawEnabled']=![];}get['debugDrawEnabled'](){return this['_debugDrawEnabled'];}set[_0xfe29c8(0xe3)](_0x1537b2){const _0x527a72=_0xfe29c8;if(this[_0x527a72(0xdf)]===_0x1537b2)return;this[_0x527a72(0xdf)]=_0x1537b2;for(const _0x2658f2 of this[_0x527a72(0xcf)]){_0x2658f2['debugEnabled']=_0x1537b2;}}['registerCollider'](_0x5c1e27){const _0x2c2ef4=_0xfe29c8;this[_0x2c2ef4(0xcf)][_0x2c2ef4(0xcd)](_0x5c1e27),this['_debugDrawEnabled']&&(_0x5c1e27[_0x2c2ef4(0xe4)]=!![]);}[_0xfe29c8(0xde)](_0x4da900){const _0x3e6839=_0xfe29c8;this['colliders']['delete'](_0x4da900);for(const [_0x880406,_0x9e756d]of this[_0x3e6839(0xc8)]){(_0x9e756d[0x0]===_0x4da900||_0x9e756d[0x1]===_0x4da900)&&this[_0x3e6839(0xc8)][_0x3e6839(0xe1)](_0x880406);}for(const [_0x12fcab,_0x46cd29]of this[_0x3e6839(0xbd)]){(_0x46cd29[0x0]===_0x4da900||_0x46cd29[0x1]===_0x4da900)&&this[_0x3e6839(0xbd)][_0x3e6839(0xe1)](_0x12fcab);}}[_0xfe29c8(0xc7)](){const _0x13d888=_0xfe29c8;this['colliders'][_0x13d888(0xc7)](),this[_0x13d888(0xc8)]['clear'](),this[_0x13d888(0xbd)][_0x13d888(0xc7)]();}[_0xfe29c8(0xe5)](_0x1038ee,_0xf3938b,_0x5db09f=exports.CollisionChannel[_0xfe29c8(0xdb)],_0x2dcc5e){const _0x3d382b=_0xfe29c8,_0x139176=_0xf3938b[_0x3d382b(0xce)]()[_0x3d382b(0xda)](_0x1038ee),_0x28a055=_0x139176[_0x3d382b(0xee)]();if(_0x28a055<=0.000001)return null;const _0x2958f1=_0x139176[_0x3d382b(0xd1)](0x1/_0x28a055);let _0x57584a=null;for(const _0x210f55 of this['colliders']){if(_0x210f55===_0x2dcc5e)continue;if(!_0x210f55[_0x3d382b(0xcb)])continue;const _0x88113d=_0x210f55[_0x3d382b(0xd5)](_0x5db09f);if(_0x88113d!==exports.CollisionResponse['Block'])continue;const _0x3c0e98=_0x210f55[_0x3d382b(0xeb)](new webgpu.Box3()),_0x1230bd=this['intersectRayAabb'](_0x1038ee,_0x2958f1,_0x28a055,_0x3c0e98);if(!_0x1230bd)continue;const _0x48fed6=_0x210f55,_0x24996=typeof _0x48fed6[_0x3d382b(0xc6)]==='function'?_0x48fed6['raycast'](_0x1038ee,_0x2958f1,_0x28a055):_0x1230bd;if(!_0x24996)continue;(!_0x57584a||_0x24996['distance']<_0x57584a[_0x3d382b(0xbc)])&&(_0x57584a={'collider':_0x210f55,'point':_0x24996[_0x3d382b(0xd4)],'normal':_0x24996[_0x3d382b(0xf4)],'distance':_0x24996[_0x3d382b(0xbc)],'blocking':!![]});}return _0x57584a;}[_0xfe29c8(0xcc)](_0x37c229,_0x42f247,_0xd661b2=exports.CollisionChannel[_0xfe29c8(0xdb)],_0x34c122){const _0x24dae7=_0xfe29c8,_0x37ca4b=_0x42f247[_0x24dae7(0xce)]()['sub'](_0x37c229),_0x2c66e0=_0x37ca4b['length']();if(_0x2c66e0<=0.000001)return [];const _0x3208fd=_0x37ca4b[_0x24dae7(0xd1)](0x1/_0x2c66e0),_0x17c5a4=[];for(const _0x140ddc of this['colliders']){if(_0x140ddc===_0x34c122)continue;if(!_0x140ddc[_0x24dae7(0xcb)])continue;const _0x41dc53=_0x140ddc[_0x24dae7(0xd5)](_0xd661b2);if(_0x41dc53===exports.CollisionResponse[_0x24dae7(0xba)])continue;const _0x2808fb=_0x140ddc[_0x24dae7(0xeb)](new webgpu.Box3()),_0xe61859=this[_0x24dae7(0xd2)](_0x37c229,_0x3208fd,_0x2c66e0,_0x2808fb);if(!_0xe61859)continue;const _0x19fd6e=_0x140ddc,_0x517a17=typeof _0x19fd6e['raycast']===_0x24dae7(0xe6)?_0x19fd6e[_0x24dae7(0xc6)](_0x37c229,_0x3208fd,_0x2c66e0):_0xe61859;if(!_0x517a17)continue;_0x17c5a4[_0x24dae7(0xf0)]({'collider':_0x140ddc,'point':_0x517a17[_0x24dae7(0xd4)],'normal':_0x517a17[_0x24dae7(0xf4)],'distance':_0x517a17[_0x24dae7(0xbc)],'blocking':_0x41dc53===exports.CollisionResponse['Block']});}return _0x17c5a4['sort']((_0x327d4a,_0xa0335e)=>_0x327d4a[_0x24dae7(0xbc)]-_0xa0335e[_0x24dae7(0xbc)]);}['tick'](_0x24c9a8){const _0x5d1207=_0xfe29c8,_0x6a51fe=Array[_0x5d1207(0xc9)](this[_0x5d1207(0xcf)])[_0x5d1207(0xd3)](_0x504fc8=>_0x504fc8['collisionEnabled']),_0x1094f7=new Map();for(const _0x5a2593 of _0x6a51fe){_0x1094f7[_0x5d1207(0xdc)](_0x5a2593,_0x5a2593['getWorldAABB'](new webgpu.Box3()));}const _0x85f60f=new Map(),_0x5bc352=new Map();for(let _0x506835=0x0;_0x506835<_0x6a51fe['length'];_0x506835++){const _0x12d74e=_0x6a51fe[_0x506835],_0x2926ce=_0x1094f7[_0x5d1207(0xca)](_0x12d74e);if(!_0x2926ce)continue;for(let _0x4803ea=_0x506835+0x1;_0x4803ea<_0x6a51fe['length'];_0x4803ea++){const _0x24d7a3=_0x6a51fe[_0x4803ea],_0x18504e=_0x1094f7[_0x5d1207(0xca)](_0x24d7a3);if(!_0x18504e)continue;if(!_0x2926ce[_0x5d1207(0xc1)](_0x18504e))continue;const _0x646cd5=_0x12d74e[_0x5d1207(0xc3)](_0x24d7a3);if(_0x646cd5===exports.CollisionResponse[_0x5d1207(0xba)])continue;const _0x2625e2=this[_0x5d1207(0xc2)](_0x12d74e,_0x24d7a3);_0x646cd5===exports.CollisionResponse[_0x5d1207(0xd8)]?_0x85f60f['set'](_0x2625e2,[_0x12d74e,_0x24d7a3]):_0x5bc352[_0x5d1207(0xdc)](_0x2625e2,[_0x12d74e,_0x24d7a3]);}}for(const [_0x1f11dc,_0x19d94c]of _0x85f60f){if(this[_0x5d1207(0xc8)][_0x5d1207(0xd6)](_0x1f11dc))continue;const [_0x3aaf2b,_0x17b0b7]=_0x19d94c;_0x3aaf2b[_0x5d1207(0xe9)]&&_0x3aaf2b['onBeginOverlapDelegate'][_0x5d1207(0xd9)](_0x17b0b7),_0x17b0b7[_0x5d1207(0xe9)]&&_0x17b0b7['onBeginOverlapDelegate']['broadcast'](_0x3aaf2b);}for(const [_0x1264c9,_0x869a08]of this[_0x5d1207(0xc8)]){if(_0x85f60f[_0x5d1207(0xd6)](_0x1264c9))continue;const [_0x505e92,_0x5dfe9c]=_0x869a08;_0x505e92[_0x5d1207(0xe9)]&&_0x505e92[_0x5d1207(0xd0)]['broadcast'](_0x5dfe9c),_0x5dfe9c[_0x5d1207(0xe9)]&&_0x5dfe9c[_0x5d1207(0xd0)][_0x5d1207(0xd9)](_0x505e92);}for(const [_0x2f02c3,_0x405548]of _0x5bc352){if(this[_0x5d1207(0xbd)]['has'](_0x2f02c3))continue;const [_0x32a55d,_0x6da2a3]=_0x405548,_0x659f63=_0x1094f7[_0x5d1207(0xca)](_0x32a55d),_0x4dda40=_0x1094f7[_0x5d1207(0xca)](_0x6da2a3);if(!_0x659f63||!_0x4dda40)continue;const _0x10243b=this[_0x5d1207(0xbe)](_0x32a55d,_0x6da2a3,_0x659f63,_0x4dda40);_0x32a55d['generateHitEvents']&&_0x32a55d[_0x5d1207(0xb9)][_0x5d1207(0xd9)](_0x10243b);if(_0x6da2a3['generateHitEvents']){const _0x3a0a0a={'self':_0x6da2a3,'other':_0x32a55d,'point':_0x10243b['point'][_0x5d1207(0xce)](),'normal':_0x10243b[_0x5d1207(0xf4)][_0x5d1207(0xce)]()['multiplyScalar'](-1),'penetrationDepth':_0x10243b['penetrationDepth']};_0x6da2a3['onHitDelegate'][_0x5d1207(0xd9)](_0x3a0a0a);}}this['previousOverlapPairs']=_0x85f60f,this[_0x5d1207(0xbd)]=_0x5bc352;}['computeAabbHit'](_0x59f576,_0x25a212,_0x544fd7,_0x367000){const _0x2ff651=_0xfe29c8,_0x3faf76=Math[_0x2ff651(0xed)](_0x544fd7['max']['x'],_0x367000[_0x2ff651(0xbb)]['x'])-Math['max'](_0x544fd7[_0x2ff651(0xed)]['x'],_0x367000[_0x2ff651(0xed)]['x']),_0x55d361=Math[_0x2ff651(0xed)](_0x544fd7[_0x2ff651(0xbb)]['y'],_0x367000[_0x2ff651(0xbb)]['y'])-Math[_0x2ff651(0xbb)](_0x544fd7[_0x2ff651(0xed)]['y'],_0x367000[_0x2ff651(0xed)]['y']),_0x1ee3ce=Math[_0x2ff651(0xed)](_0x544fd7[_0x2ff651(0xbb)]['z'],_0x367000[_0x2ff651(0xbb)]['z'])-Math[_0x2ff651(0xbb)](_0x544fd7[_0x2ff651(0xed)]['z'],_0x367000[_0x2ff651(0xed)]['z']);let _0x532872=_0x3faf76,_0x4e1031='x';_0x55d361<_0x532872&&(_0x532872=_0x55d361,_0x4e1031='y');_0x1ee3ce<_0x532872&&(_0x532872=_0x1ee3ce,_0x4e1031='z');const _0x2e329d=_0x544fd7[_0x2ff651(0xc5)](new webgpu.Vector3()),_0x3f5e93=_0x367000[_0x2ff651(0xc5)](new webgpu.Vector3()),_0x157154=_0x3f5e93[_0x2ff651(0xce)]()[_0x2ff651(0xda)](_0x2e329d),_0x73be09=new webgpu.Vector3(0x0,0x0,0x0);if(_0x4e1031==='x')_0x73be09[_0x2ff651(0xdc)](Math[_0x2ff651(0xbf)](_0x157154['x'])||0x1,0x0,0x0);else _0x4e1031==='y'?_0x73be09[_0x2ff651(0xdc)](0x0,Math[_0x2ff651(0xbf)](_0x157154['y'])||0x1,0x0):_0x73be09[_0x2ff651(0xdc)](0x0,0x0,Math[_0x2ff651(0xbf)](_0x157154['z'])||0x1);const _0x495a85=new webgpu.Vector3((Math[_0x2ff651(0xbb)](_0x544fd7['min']['x'],_0x367000[_0x2ff651(0xed)]['x'])+Math['min'](_0x544fd7[_0x2ff651(0xbb)]['x'],_0x367000['max']['x']))*0.5,(Math[_0x2ff651(0xbb)](_0x544fd7[_0x2ff651(0xed)]['y'],_0x367000['min']['y'])+Math[_0x2ff651(0xed)](_0x544fd7[_0x2ff651(0xbb)]['y'],_0x367000[_0x2ff651(0xbb)]['y']))*0.5,(Math[_0x2ff651(0xbb)](_0x544fd7['min']['z'],_0x367000[_0x2ff651(0xed)]['z'])+Math['min'](_0x544fd7[_0x2ff651(0xbb)]['z'],_0x367000[_0x2ff651(0xbb)]['z']))*0.5);return {'self':_0x59f576,'other':_0x25a212,'point':_0x495a85,'normal':_0x73be09,'penetrationDepth':Math[_0x2ff651(0xbb)](0x0,_0x532872)};}['getPairKey'](_0x2fc505,_0x36955c){const _0x19d814=_0xfe29c8;return _0x2fc505[_0x19d814(0xe8)]<_0x36955c[_0x19d814(0xe8)]?_0x2fc505[_0x19d814(0xe8)]+'|'+_0x36955c[_0x19d814(0xe8)]:_0x36955c[_0x19d814(0xe8)]+'|'+_0x2fc505[_0x19d814(0xe8)];}[_0xfe29c8(0xd2)](_0x421986,_0xde4321,_0x548e71,_0x4aa221){const _0x1bc2fd=_0xfe29c8;let _0x2ec00f=0x0,_0x679f10=_0x548e71;const _0x4e12b3=new webgpu.Vector3(0x0,0x0,0x0),_0x13f47=1e-8,_0x43bebd=_0x12b0cb=>{const _0xf940ca=_0x286f,_0x41f0b1=_0x421986[_0x12b0cb],_0x1f4e1c=_0xde4321[_0x12b0cb],_0x10d274=_0x4aa221[_0xf940ca(0xed)][_0x12b0cb],_0x2dc8b2=_0x4aa221[_0xf940ca(0xbb)][_0x12b0cb];if(Math['abs'](_0x1f4e1c)<_0x13f47){if(_0x41f0b1<_0x10d274||_0x41f0b1>_0x2dc8b2)return ![];return !![];}const _0x471c19=0x1/_0x1f4e1c;let _0x166813,_0x36ce11;const _0x4dd18b=new webgpu.Vector3(0x0,0x0,0x0);_0x1f4e1c>=0x0?(_0x166813=(_0x10d274-_0x41f0b1)*_0x471c19,_0x36ce11=(_0x2dc8b2-_0x41f0b1)*_0x471c19,_0x4dd18b[_0x12b0cb]=-1):(_0x166813=(_0x2dc8b2-_0x41f0b1)*_0x471c19,_0x36ce11=(_0x10d274-_0x41f0b1)*_0x471c19,_0x4dd18b[_0x12b0cb]=0x1);_0x166813>_0x2ec00f&&(_0x2ec00f=_0x166813,_0x4e12b3['copy'](_0x4dd18b));_0x36ce11<_0x679f10&&(_0x679f10=_0x36ce11);if(_0x2ec00f>_0x679f10)return ![];return !![];};if(!_0x43bebd('x')||!_0x43bebd('y')||!_0x43bebd('z'))return null;const _0x83cce3=Math[_0x1bc2fd(0xbb)](0x0,_0x2ec00f);if(_0x83cce3>_0x548e71)return null;return {'distance':_0x83cce3,'normal':_0x4e12b3,'point':_0x421986['clone']()['add'](_0xde4321['clone']()[_0x1bc2fd(0xd1)](_0x83cce3))};}}
|
|
64
|
+
var _0x8d7fff=_0x489d;(function(_0x3410c3,_0xda8340){var _0x5ef6d3=_0x489d,_0x368c45=_0x3410c3();while(!![]){try{var _0x26443c=parseInt(_0x5ef6d3(0x15a))/0x1*(parseInt(_0x5ef6d3(0x161))/0x2)+parseInt(_0x5ef6d3(0x164))/0x3+parseInt(_0x5ef6d3(0x15f))/0x4+-parseInt(_0x5ef6d3(0x150))/0x5+parseInt(_0x5ef6d3(0x13a))/0x6+-parseInt(_0x5ef6d3(0x14a))/0x7+parseInt(_0x5ef6d3(0x154))/0x8;if(_0x26443c===_0xda8340)break;else _0x368c45['push'](_0x368c45['shift']());}catch(_0x316a3c){_0x368c45['push'](_0x368c45['shift']());}}}(_0x4bdc,0xc8f51));function _0x4bdc(){var _0x3d1ccd=['actors','viewport','1630344xVrpTL','addActor','10wkLvyH','tickableActors','threeObject','3771564PEYTZm','_rootActor','controller','rootActor','addChildActor','9720fGNrUI','removeFromParent','set','destroy','markRenderStateDirty','addTickableActor','onAddedToWorld','position','removeActor','clippingPlanes','length','add','rootComponent','physics','removeActors','getActorById','6894825djXoJr','scene','getChildActorsByIds','KeepRelative','forEach','parent','8200765DiEsjT','getActorsByIds','children','removeTickableActor','2526000bZzSis','_clippingGroup','delete','target.threeObject\x20is\x20null','clear','_physics','293221AQPDbL','worldParam','app'];_0x4bdc=function(){return _0x3d1ccd;};return _0x4bdc();}function _0x489d(_0x224d8c,_0x17322a){_0x224d8c=_0x224d8c-0x137;var _0x4bdcd5=_0x4bdc();var _0x489da5=_0x4bdcd5[_0x224d8c];return _0x489da5;}class World{get['scene'](){var _0x3af48c=_0x489d,_0x316cc7;let _0x14af3d=(_0x316cc7=this[_0x3af48c(0x165)])===null||_0x316cc7===void 0?void 0:_0x316cc7[_0x3af48c(0x14b)];if(!_0x14af3d)throw new Error('scene\x20is\x20null');return _0x14af3d;}get[_0x8d7fff(0x15e)](){return this['app']['viewport'];}get[_0x8d7fff(0x137)](){var _0x310d50=_0x8d7fff;return this[_0x310d50(0x15c)][_0x310d50(0x137)];}get[_0x8d7fff(0x138)](){var _0x22eab0=_0x8d7fff;if(!this[_0x22eab0(0x165)])throw new Error('rootActor\x20is\x20null');return this[_0x22eab0(0x165)];}get[_0x8d7fff(0x147)](){var _0x7763bf=_0x8d7fff;return this[_0x7763bf(0x159)];}constructor(_0x2c873d,_0x43b6cd){var _0x25e88f=_0x8d7fff;this['_rootActor']=null,this['actors']=new Set(),this['tickableActors']=new Set(),this[_0x25e88f(0x155)]=null,this[_0x25e88f(0x15c)]=_0x2c873d,this[_0x25e88f(0x15b)]=_0x43b6cd,this[_0x25e88f(0x159)]=new PhysicsWorld();}['init'](){var _0x498c11=_0x8d7fff;this[_0x498c11(0x165)]=new this[(_0x498c11(0x15b))]['levelActorClass'](this[_0x498c11(0x15c)]);}[_0x8d7fff(0x13f)](_0x3713d9){var _0x208d70=_0x8d7fff;this[_0x208d70(0x162)][_0x208d70(0x145)](_0x3713d9);}[_0x8d7fff(0x153)](_0x375b99){var _0x1eb34a=_0x8d7fff;this[_0x1eb34a(0x162)]['delete'](_0x375b99);}['tick'](_0xf88b99){var _0x213ff6=_0x8d7fff;this[_0x213ff6(0x162)][_0x213ff6(0x14e)](_0x1054d3=>{_0x1054d3['tick'](_0xf88b99);}),this[_0x213ff6(0x159)]['tick'](_0xf88b99);}[_0x8d7fff(0x13d)](){var _0x18d1bf=_0x8d7fff,_0x554659;this[_0x18d1bf(0x162)]['clear'](),this[_0x18d1bf(0x159)][_0x18d1bf(0x158)](),this[_0x18d1bf(0x15d)]['forEach'](_0x474b11=>{var _0x30ffed=_0x18d1bf;_0x474b11[_0x30ffed(0x13d)]();}),this[_0x18d1bf(0x15d)][_0x18d1bf(0x158)](),(_0x554659=this['_rootActor'])===null||_0x554659===void 0?void 0:_0x554659['destroy'](),this[_0x18d1bf(0x165)]=null;}[_0x8d7fff(0x160)](_0x157619){var _0x5ebabe=_0x8d7fff,_0xc7452b;if(!_0x157619['rootComponent'][_0x5ebabe(0x163)])throw new Error('actor.threeObject\x20is\x20null');_0x157619[_0x5ebabe(0x13b)](),(_0xc7452b=this[_0x5ebabe(0x165)])===null||_0xc7452b===void 0?void 0:_0xc7452b[_0x5ebabe(0x139)](_0x157619,exports.AttachmentRules[_0x5ebabe(0x14d)]),this['actors'][_0x5ebabe(0x145)](_0x157619),_0x157619[_0x5ebabe(0x140)](this),this[_0x5ebabe(0x15e)][_0x5ebabe(0x13e)]();}[_0x8d7fff(0x142)](_0x4333be){var _0x23e2de=_0x8d7fff;_0x4333be[_0x23e2de(0x13d)](),this['actors']['delete'](_0x4333be),this[_0x23e2de(0x15e)][_0x23e2de(0x13e)]();}[_0x8d7fff(0x148)](_0x558963){var _0x317abb=_0x8d7fff;for(const _0x171b57 of _0x558963){_0x171b57[_0x317abb(0x13d)](),this[_0x317abb(0x15d)][_0x317abb(0x156)](_0x171b57);}this[_0x317abb(0x15e)][_0x317abb(0x13e)]();}[_0x8d7fff(0x149)](_0x141581){return this['rootActor']['getChildActorById'](_0x141581,!![]);}[_0x8d7fff(0x151)](_0x199133){var _0x13e73a=_0x8d7fff;return this[_0x13e73a(0x138)][_0x13e73a(0x14c)](_0x199133,!![]);}['addActorClipping'](_0x561b34,_0x230871){var _0x266a0d=_0x8d7fff;if(!_0x561b34[_0x266a0d(0x146)]['threeObject'])throw new Error(_0x266a0d(0x157));!this[_0x266a0d(0x155)]&&(this['_clippingGroup']=new webgpu.ClippingGroup(),this['_clippingGroup'][_0x266a0d(0x141)][_0x266a0d(0x13c)](0x0,0x0,0x0)),this['_clippingGroup'][_0x266a0d(0x143)]=_0x230871,this[_0x266a0d(0x14b)][_0x266a0d(0x145)](this['_clippingGroup']),this[_0x266a0d(0x155)][_0x266a0d(0x145)](_0x561b34[_0x266a0d(0x146)][_0x266a0d(0x163)]);}['removeActorClipping'](_0x39c0f2,_0x3d3a0d=null){var _0x2df4d2=_0x8d7fff,_0xac87ee;if(!this[_0x2df4d2(0x155)])return;if(!_0x39c0f2[_0x2df4d2(0x146)][_0x2df4d2(0x163)])throw new Error('target.threeObject\x20is\x20null');_0x3d3a0d?_0x3d3a0d[_0x2df4d2(0x139)](_0x39c0f2,exports.AttachmentRules[_0x2df4d2(0x14d)]):this['addActor'](_0x39c0f2),this[_0x2df4d2(0x155)][_0x2df4d2(0x152)][_0x2df4d2(0x144)]===0x0&&((_0xac87ee=this[_0x2df4d2(0x155)][_0x2df4d2(0x14f)])===null||_0xac87ee===void 0?void 0:_0xac87ee['remove'](this[_0x2df4d2(0x155)]),this[_0x2df4d2(0x155)]=null);}}
|
|
54
65
|
|
|
55
|
-
var
|
|
66
|
+
function _0x1413(){var _0x2f0a27=['22IXhpoH','25645hBweZS','22023ZZCarv','293308vOGiuP','137624DtQtkT','975304rIuCev','79870RkjhKe','27VDPKiZ','WebGPU','14ratQrb','690eFvLIC','304116jPWTSf','WebGL','786rXMfzS'];_0x1413=function(){return _0x2f0a27;};return _0x1413();}var _0x48372=_0x45c8;(function(_0x5350c8,_0x3909c2){var _0x2138f3=_0x45c8,_0x549c4b=_0x5350c8();while(!![]){try{var _0xea416=-parseInt(_0x2138f3(0x7b))/0x1+parseInt(_0x2138f3(0x7a))/0x2+parseInt(_0x2138f3(0x7c))/0x3*(-parseInt(_0x2138f3(0x78))/0x4)+parseInt(_0x2138f3(0x84))/0x5*(parseInt(_0x2138f3(0x82))/0x6)+-parseInt(_0x2138f3(0x7e))/0x7*(-parseInt(_0x2138f3(0x79))/0x8)+-parseInt(_0x2138f3(0x77))/0x9*(parseInt(_0x2138f3(0x7f))/0xa)+parseInt(_0x2138f3(0x83))/0xb*(parseInt(_0x2138f3(0x80))/0xc);if(_0xea416===_0x3909c2)break;else _0x549c4b['push'](_0x549c4b['shift']());}catch(_0x2e94a9){_0x549c4b['push'](_0x549c4b['shift']());}}}(_0x1413,0x52073));exports.RendererType = void 0;(function(_0x6ccfe5){var _0x5bf42c=_0x45c8;_0x6ccfe5[_0x6ccfe5['WebGPU']=0x0]='WebGPU',_0x6ccfe5[_0x6ccfe5[_0x5bf42c(0x81)]=0x1]=_0x5bf42c(0x81);}(exports.RendererType||(exports.RendererType={})));function _0x45c8(_0x2634f9,_0x429c87){_0x2634f9=_0x2634f9-0x77;var _0x1413e5=_0x1413();var _0x45c842=_0x1413e5[_0x2634f9];return _0x45c842;}const DefaultViewportParam={'elementId':null,'renderer':{'type':exports.RendererType[_0x48372(0x7d)]},'isLabelRendererNeeded':![],'isCSS3DRendererNeeded':![],'isUILayerNeeded':![]};
|
|
56
67
|
|
|
57
|
-
|
|
68
|
+
function _0x5d4e(){const _0x1b7665=['6805RyOZph','153048xXZVBx','GroundTruthAmbientOcclusion','Bloom','28UpXhyk','8397540rNpZnC','ScreenSpaceReflection','153AJBJjE','Outline','138984qPTkKT','311047GAIkot','Antialiasing','2036ukLLWE','LensFlare','DepthOfField','132LWfwZc','319648gpXKlW','3gYRBCm','584434iulkUj'];_0x5d4e=function(){return _0x1b7665;};return _0x5d4e();}(function(_0x2f02cc,_0x229a5d){const _0x145704=_0x5a01,_0x461263=_0x2f02cc();while(!![]){try{const _0x4eb21b=parseInt(_0x145704(0x19e))/0x1+-parseInt(_0x145704(0x19c))/0x2*(parseInt(_0x145704(0x19d))/0x3)+-parseInt(_0x145704(0x1ab))/0x4*(parseInt(_0x145704(0x19f))/0x5)+-parseInt(_0x145704(0x1a0))/0x6*(parseInt(_0x145704(0x1a3))/0x7)+parseInt(_0x145704(0x1a8))/0x8*(parseInt(_0x145704(0x1a6))/0x9)+parseInt(_0x145704(0x1a4))/0xa+parseInt(_0x145704(0x1a9))/0xb*(-parseInt(_0x145704(0x1ae))/0xc);if(_0x4eb21b===_0x229a5d)break;else _0x461263['push'](_0x461263['shift']());}catch(_0x502aab){_0x461263['push'](_0x461263['shift']());}}}(_0x5d4e,0x6ecf5));function _0x5a01(_0x332dfa,_0x2322a2){_0x332dfa=_0x332dfa-0x19c;const _0x5d4e48=_0x5d4e();let _0x5a01e9=_0x5d4e48[_0x332dfa];return _0x5a01e9;}const DefaultPostProcessParam={'steps':[]};exports.PostProcessStepType = void 0;(function(_0x5412e2){const _0x32e923=_0x5a01;_0x5412e2[_0x5412e2[_0x32e923(0x1a2)]=0x0]=_0x32e923(0x1a2),_0x5412e2[_0x5412e2[_0x32e923(0x1ad)]=0x1]='DepthOfField',_0x5412e2[_0x5412e2[_0x32e923(0x1a5)]=0x2]='ScreenSpaceReflection',_0x5412e2[_0x5412e2[_0x32e923(0x1a1)]=0x3]='GroundTruthAmbientOcclusion',_0x5412e2[_0x5412e2[_0x32e923(0x1a7)]=0x4]='Outline',_0x5412e2[_0x5412e2[_0x32e923(0x1aa)]=0x5]=_0x32e923(0x1aa),_0x5412e2[_0x5412e2[_0x32e923(0x1ac)]=0x6]=_0x32e923(0x1ac);}(exports.PostProcessStepType||(exports.PostProcessStepType={})));
|
|
58
69
|
|
|
59
|
-
function
|
|
70
|
+
function _0x5733(_0x2df51d,_0x22f350){_0x2df51d=_0x2df51d-0x151;const _0x5d0293=_0x5d02();let _0x573326=_0x5d0293[_0x2df51d];return _0x573326;}(function(_0x388307,_0x4891f2){const _0x1d893a=_0x5733,_0x7d800c=_0x388307();while(!![]){try{const _0x3a05b7=parseInt(_0x1d893a(0x159))/0x1+parseInt(_0x1d893a(0x158))/0x2+-parseInt(_0x1d893a(0x152))/0x3*(-parseInt(_0x1d893a(0x157))/0x4)+parseInt(_0x1d893a(0x155))/0x5*(-parseInt(_0x1d893a(0x153))/0x6)+parseInt(_0x1d893a(0x154))/0x7*(parseInt(_0x1d893a(0x151))/0x8)+parseInt(_0x1d893a(0x15a))/0x9+parseInt(_0x1d893a(0x15b))/0xa*(-parseInt(_0x1d893a(0x156))/0xb);if(_0x3a05b7===_0x4891f2)break;else _0x7d800c['push'](_0x7d800c['shift']());}catch(_0x53b7d0){_0x7d800c['push'](_0x7d800c['shift']());}}}(_0x5d02,0x88847));function _0x5d02(){const _0x3ca534=['2102356iyzgkC','136268oxHnSO','1080909GmcngO','1630gUpaqn','3736664vylaRp','2240703qgutnL','37524Ifwmxi','14MXbBvK','700eAgYRM','104863ECycGi','4peTuxo'];_0x5d02=function(){return _0x3ca534;};return _0x5d02();}const DefaultBloomParam={'type':exports.PostProcessStepType['Bloom'],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
60
71
|
|
|
61
|
-
(function(
|
|
72
|
+
const _0x585f25=_0x59b5;(function(_0x16c1e1,_0x42f853){const _0x1024b7=_0x59b5,_0x260527=_0x16c1e1();while(!![]){try{const _0x10846c=parseInt(_0x1024b7(0x101))/0x1*(-parseInt(_0x1024b7(0x102))/0x2)+-parseInt(_0x1024b7(0xfc))/0x3+-parseInt(_0x1024b7(0xfd))/0x4+parseInt(_0x1024b7(0x103))/0x5*(parseInt(_0x1024b7(0x100))/0x6)+parseInt(_0x1024b7(0xfa))/0x7*(parseInt(_0x1024b7(0xfb))/0x8)+parseInt(_0x1024b7(0xfe))/0x9+parseInt(_0x1024b7(0xff))/0xa;if(_0x10846c===_0x42f853)break;else _0x260527['push'](_0x260527['shift']());}catch(_0x25505f){_0x260527['push'](_0x260527['shift']());}}}(_0x150b,0xa5eca));function _0x150b(){const _0xf85b1f=['1879066TUyPOT','273295cESWAy','DepthOfField','17633pDrEeM','1072wUEmBP','3928872qXBjCh','2436756hpMOoe','11859084slUJmN','5709340xnAyFr','144FovMjC','1DOPQTI'];_0x150b=function(){return _0xf85b1f;};return _0x150b();}function _0x59b5(_0xa11d13,_0x48a392){_0xa11d13=_0xa11d13-0xfa;const _0x150b75=_0x150b();let _0x59b5e2=_0x150b75[_0xa11d13];return _0x59b5e2;}const DefaultDOFParam={'type':exports.PostProcessStepType[_0x585f25(0x104)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
62
73
|
|
|
63
|
-
function
|
|
74
|
+
function _0x17ba(){const _0x18836e=['6950hvNdrE','974471upPCyJ','290CqtUWg','3cbYxtI','60dhVbua','1638178mQBvVX','12249UUCvCE','1706078LZIzBJ','1187316OJmDza','1754291XqHjvP','16JcVyhc','114594CDXCfV'];_0x17ba=function(){return _0x18836e;};return _0x17ba();}(function(_0x3f692e,_0x25dade){const _0x521db9=_0x3079,_0x5bf80d=_0x3f692e();while(!![]){try{const _0x4ae723=parseInt(_0x521db9(0x14e))/0x1+-parseInt(_0x521db9(0x152))/0x2*(parseInt(_0x521db9(0x150))/0x3)+parseInt(_0x521db9(0x155))/0x4+-parseInt(_0x521db9(0x14f))/0x5*(parseInt(_0x521db9(0x14c))/0x6)+parseInt(_0x521db9(0x14a))/0x7*(-parseInt(_0x521db9(0x14b))/0x8)+-parseInt(_0x521db9(0x153))/0x9*(-parseInt(_0x521db9(0x14d))/0xa)+parseInt(_0x521db9(0x154))/0xb*(parseInt(_0x521db9(0x151))/0xc);if(_0x4ae723===_0x25dade)break;else _0x5bf80d['push'](_0x5bf80d['shift']());}catch(_0x2bf063){_0x5bf80d['push'](_0x5bf80d['shift']());}}}(_0x17ba,0x89d94));function _0x3079(_0x3d8b69,_0x2af49f){_0x3d8b69=_0x3d8b69-0x14a;const _0x17bacf=_0x17ba();let _0x307926=_0x17bacf[_0x3d8b69];return _0x307926;}const DefaultGTAOParam={'type':exports.PostProcessStepType['GroundTruthAmbientOcclusion'],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
64
75
|
|
|
65
|
-
|
|
76
|
+
(function(_0x38fa6c,_0x51f2e1){const _0x5a9c9d=_0x4b20,_0x29d272=_0x38fa6c();while(!![]){try{const _0x264703=parseInt(_0x5a9c9d(0x137))/0x1+parseInt(_0x5a9c9d(0x139))/0x2*(parseInt(_0x5a9c9d(0x133))/0x3)+parseInt(_0x5a9c9d(0x130))/0x4*(parseInt(_0x5a9c9d(0x12f))/0x5)+parseInt(_0x5a9c9d(0x131))/0x6*(-parseInt(_0x5a9c9d(0x138))/0x7)+parseInt(_0x5a9c9d(0x135))/0x8*(-parseInt(_0x5a9c9d(0x134))/0x9)+-parseInt(_0x5a9c9d(0x136))/0xa+-parseInt(_0x5a9c9d(0x13a))/0xb*(-parseInt(_0x5a9c9d(0x132))/0xc);if(_0x264703===_0x51f2e1)break;else _0x29d272['push'](_0x29d272['shift']());}catch(_0xe0810d){_0x29d272['push'](_0x29d272['shift']());}}}(_0x4d75,0xb2362));const DefaultOutlineParams={'type':exports.PostProcessStepType['Outline'],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};function _0x4b20(_0x2dae13,_0xf397e){_0x2dae13=_0x2dae13-0x12f;const _0x4d7582=_0x4d75();let _0x4b20ad=_0x4d7582[_0x2dae13];return _0x4b20ad;}function _0x4d75(){const _0x3999df=['9FFwrTD','3292480LPScoP','2378600VvfFFA','502038DYENvp','7IecwyD','178hyEzQR','264VvwyZT','94540jfVgyx','48wMyByT','7296186DHtCiC','859944uajBVp','4941UBwYPJ'];_0x4d75=function(){return _0x3999df;};return _0x4d75();}
|
|
66
77
|
|
|
67
|
-
const _0x149a7b=_0x4503;(function(_0x317e6f,_0x2b5f00){const _0xa59948=_0x4503,_0x9006d3=_0x317e6f();while(!![]){try{const _0x5496c1=parseInt(_0xa59948(0xbc))/0x1*(-parseInt(_0xa59948(0x107))/0x2)+parseInt(_0xa59948(0x106))/0x3*(parseInt(_0xa59948(0xd8))/0x4)+-parseInt(_0xa59948(0x100))/0x5*(-parseInt(_0xa59948(0xf3))/0x6)+parseInt(_0xa59948(0x108))/0x7+-parseInt(_0xa59948(0x93))/0x8*(parseInt(_0xa59948(0x90))/0x9)+-parseInt(_0xa59948(0xf0))/0xa*(parseInt(_0xa59948(0x9d))/0xb)+-parseInt(_0xa59948(0xd6))/0xc*(-parseInt(_0xa59948(0x8e))/0xd);if(_0x5496c1===_0x2b5f00)break;else _0x9006d3['push'](_0x9006d3['shift']());}catch(_0x258c3c){_0x9006d3['push'](_0x9006d3['shift']());}}}(_0x53a4,0x9336d));function _0x4503(_0x422f0f,_0x3b93ef){_0x422f0f=_0x422f0f-0x8c;const _0x53a496=_0x53a4();let _0x45031c=_0x53a496[_0x422f0f];return _0x45031c;}function _0x53a4(){const _0x3b7698=['outputNode','edgeThickness','greaterThan','velocity','distanceFallOff','smaaEnabled','output','lensflarePass','gtaoThickness','render','lensflareEnabled','Antialiasing','find','ghostAttenuationFactor','onDirtyCallback','removeOutlineObject','selectedObjects','outlineHiddenEdgeColor','createEffectUniforms','aperture','postProcessing','focus','bloomThreshold','outlineObjects','add','202800gCIMcZ','fxaa','1836124wyFAWx','splice','traa','getTextureNode','postProcessParam','map','addOutlineObject','dofFocus','gtaoPass','steps','renderer','updateCamera','camera','GroundTruthAmbientOcclusion','outlineEdgeStrength','LensFlare','bloomRadius','gtaoDistanceExponent','focusDistanceNode','value','onBuildFinalNode','edgeGlow','scene','markDirty','80YNGSSa','outlineVisibleEdgeColor','push','572142DsLUwp','edgeStrength','downSampleRatio','dofMaxBlur','visibleEdgeColor','gtaoEnabled','edgeGlowNode','hiddenEdgeColor','outlinePulsePeriod','bloomEnabled','includes','pulsePeriod','focalLengthNode','5YgwRQt','updateSteps','type','effectUniforms','depth','normal','3ktyroO','4HnIIZD','3539697ycJFmK','set','setup','1495QnuuoA','getLUT3DTexture','36wmzcYD','mul','traaPass','2283136POAXTB','radius','needsUpdate','fxaaEnabled','maxblur','lut3dTexture','setOutlineObjects','bokehScaleNode','gtaoRadius','div','1474242lvAddn','DepthOfField','bloomPass','outlinePass','ghostTint','has','thickness','rgb','destroy','samples','outlineEnabled','distanceExponent','updateAllUniforms','method','dispose','buildPipeline','edgeThicknessNode','strength','select','Bloom','scale','ghostSamples','getStepParam','dofPass','assign','Outline','getViewZNode','threshold','smaa','bloomStrength','useTemporalFiltering','93413aTRHWZ'];_0x53a4=function(){return _0x3b7698;};return _0x53a4();}class PostProcessManager{constructor(_0x27eb85,_0x4387b9,_0x23cc18,_0x9fc022,_0x11fdc9){const _0x2c9188=_0x4503;this[_0x2c9188(0xd1)]=null,this[_0x2c9188(0xd4)]=[],this[_0x2c9188(0x103)]=null,this['outlinePass']=null,this[_0x2c9188(0x9f)]=null,this[_0x2c9188(0xb4)]=null,this[_0x2c9188(0xe0)]=null,this[_0x2c9188(0x92)]=null,this['lensflarePass']=null,this[_0x2c9188(0x98)]=null,this[_0x2c9188(0xcb)]=null,this['renderer']=_0x27eb85,this['scene']=_0x4387b9,this[_0x2c9188(0xe4)]=_0x23cc18,this['postProcessParam']=Object[_0x2c9188(0xb5)]({},_0x9fc022),this[_0x2c9188(0xcb)]=_0x11fdc9!==null&&_0x11fdc9!==void 0?_0x11fdc9:null;}get['processing'](){const _0x5578c2=_0x4503;return this[_0x5578c2(0xd1)];}[_0x149a7b(0xe3)](_0x42570a){const _0x5d9e62=_0x149a7b;this[_0x5d9e62(0xe4)]=_0x42570a,(!this[_0x5d9e62(0xd1)]||!this[_0x5d9e62(0x103)])&&(this[_0x5d9e62(0xac)](),this[_0x5d9e62(0xa9)](),this['markDirty']());}[_0x149a7b(0x8d)](){const _0x53db2e=_0x149a7b;(!this[_0x53db2e(0xd1)]||!this[_0x53db2e(0x103)])&&this['buildPipeline'](),this[_0x53db2e(0xa9)](),this[_0x53db2e(0xef)]();}['buildPipeline'](){const _0x2654ad=_0x149a7b;var _0x5deb6b,_0x2a0fa0,_0x4e374c,_0x417fbe,_0xd77eee;this[_0x2654ad(0xd1)]&&this[_0x2654ad(0xd1)][_0x2654ad(0xab)]();this['postProcessing']=new webgpu.PostProcessing(this[_0x2654ad(0xe2)]),this[_0x2654ad(0xa0)]=null,this[_0x2654ad(0x9f)]=null,this[_0x2654ad(0xb4)]=null,this[_0x2654ad(0xe0)]=null,this['traaPass']=null,this['lensflarePass']=null,this[_0x2654ad(0x103)]=this['createEffectUniforms']();const _0xe935dd=new Set(this[_0x2654ad(0xdc)][_0x2654ad(0xe1)]['map'](_0x4a0b1c=>_0x4a0b1c[_0x2654ad(0x102)])),_0x5f04b9=this['getStepParam'](exports.PostProcessStepType[_0x2654ad(0xc8)]),_0x5049f3=_0xe935dd[_0x2654ad(0xa2)](exports.PostProcessStepType[_0x2654ad(0xe5)]),_0xb794e0=(_0x5f04b9===null||_0x5f04b9===void 0?void 0:_0x5f04b9[_0x2654ad(0xaa)])==='traa',_0x2f34db=tsl.pass(this[_0x2654ad(0xee)],this[_0x2654ad(0xe4)]);if(_0x5049f3||_0xb794e0){const _0x5669ce={'output':tsl.output};if(_0x5049f3)_0x5669ce[_0x2654ad(0x105)]=tsl.normalView;if(_0xb794e0)_0x5669ce[_0x2654ad(0xc0)]=tsl.velocity;_0x2f34db['setMRT'](tsl.mrt(_0x5669ce));}const _0x346913=_0x2f34db[_0x2654ad(0xdb)](_0x2654ad(0xc3)),_0x2bcb8b=_0x2f34db['getTextureNode'](_0x2654ad(0x104)),_0x4752ce=_0x2f34db[_0x2654ad(0xb7)](),_0x28e514=_0x5049f3?_0x2f34db[_0x2654ad(0xdb)]('normal'):null,_0x5201ea=_0xb794e0?_0x2f34db[_0x2654ad(0xdb)](_0x2654ad(0xc0)):null,_0x7f72c=this[_0x2654ad(0x103)];let _0x54637a=_0x346913;const _0x494b3a=_0xe935dd[_0x2654ad(0xa2)](exports.PostProcessStepType[_0x2654ad(0xb0)]),_0x4401ab=_0xe935dd['has'](exports.PostProcessStepType[_0x2654ad(0xe7)]);if(_0x494b3a||_0x4401ab){const _0x36cd20=(_0x5deb6b=this[_0x2654ad(0xb3)](exports.PostProcessStepType['Bloom']))!==null&&_0x5deb6b!==void 0?_0x5deb6b:DefaultBloomParam;this['bloomPass']=BloomNode_js.bloom(_0x346913),this['bloomPass'][_0x2654ad(0xb8)][_0x2654ad(0xeb)]=_0x36cd20[_0x2654ad(0xb8)],this[_0x2654ad(0x9f)][_0x2654ad(0xae)]['value']=_0x36cd20[_0x2654ad(0xae)],this[_0x2654ad(0x9f)]['radius'][_0x2654ad(0xeb)]=_0x36cd20[_0x2654ad(0x94)];if(_0x494b3a){const _0x37d956=this[_0x2654ad(0x9f)][_0x2654ad(0x91)](_0x7f72c[_0x2654ad(0xba)]);_0x54637a=tsl.vec4(_0x346913[_0x2654ad(0xa4)][_0x2654ad(0xd5)](_0x37d956),_0x346913['a']);}if(_0x4401ab){const _0x1f7ac3=(_0x2a0fa0=this[_0x2654ad(0xb3)](exports.PostProcessStepType[_0x2654ad(0xe7)]))!==null&&_0x2a0fa0!==void 0?_0x2a0fa0:DefaultLensFlareParam;this[_0x2654ad(0xc4)]=LensflareNode_js.lensflare(this['bloomPass'][_0x2654ad(0xdb)](),{'ghostTint':tsl.vec3(_0x1f7ac3[_0x2654ad(0xa1)][0x0],_0x1f7ac3[_0x2654ad(0xa1)][0x1],_0x1f7ac3[_0x2654ad(0xa1)][0x2]),'threshold':tsl.float(_0x1f7ac3['threshold']),'ghostSamples':tsl.float(_0x1f7ac3[_0x2654ad(0xb2)]),'ghostSpacing':tsl.float(_0x1f7ac3['ghostSpacing']),'ghostAttenuationFactor':tsl.float(_0x1f7ac3[_0x2654ad(0xca)]),'downSampleRatio':_0x1f7ac3[_0x2654ad(0xf5)]});const _0x36804d=this['lensflarePass'][_0x2654ad(0xdb)]();_0x54637a=tsl.vec4(_0x54637a[_0x2654ad(0xa4)][_0x2654ad(0xd5)](_0x36804d),_0x54637a['a']);}}if(_0xe935dd[_0x2654ad(0xa2)](exports.PostProcessStepType['DepthOfField'])){const _0x5e0e68=(_0x4e374c=this['getStepParam'](exports.PostProcessStepType['DepthOfField']))!==null&&_0x4e374c!==void 0?_0x4e374c:DefaultDOFParam;this[_0x2654ad(0xb4)]=DepthOfFieldNode_js.dof(_0x54637a,_0x4752ce,tsl.uniform(_0x5e0e68[_0x2654ad(0xd2)]),tsl.uniform(_0x5e0e68['aperture']),tsl.uniform(_0x5e0e68[_0x2654ad(0x97)])),_0x54637a=tsl.vec4(this[_0x2654ad(0xb4)][_0x2654ad(0xa4)],_0x346913['a']);}if(_0x5049f3&&_0x28e514){const _0x2e5e6b=(_0x417fbe=this['getStepParam'](exports.PostProcessStepType[_0x2654ad(0xe5)]))!==null&&_0x417fbe!==void 0?_0x417fbe:DefaultGTAOParam;this[_0x2654ad(0xe0)]=GTAONode_js.ao(_0x2bcb8b,_0x28e514,this[_0x2654ad(0xe4)]),this[_0x2654ad(0xe0)]['resolutionScale']=0.5,this[_0x2654ad(0xe0)][_0x2654ad(0xa8)]['value']=_0x2e5e6b[_0x2654ad(0xa8)],this['gtaoPass'][_0x2654ad(0xc1)][_0x2654ad(0xeb)]=_0x2e5e6b[_0x2654ad(0xc1)],this[_0x2654ad(0xe0)][_0x2654ad(0x94)]['value']=_0x2e5e6b[_0x2654ad(0x94)],this[_0x2654ad(0xe0)]['scale'][_0x2654ad(0xeb)]=_0x2e5e6b['scale'],this[_0x2654ad(0xe0)][_0x2654ad(0xa3)][_0x2654ad(0xeb)]=_0x2e5e6b['thickness'],this['gtaoPass'][_0x2654ad(0xa6)][_0x2654ad(0xeb)]=_0x2e5e6b['samples'],this[_0x2654ad(0xe0)]['useTemporalFiltering']=_0x2e5e6b[_0x2654ad(0xbb)],_0x54637a=tsl.vec4(_0x54637a['rgb']['mul'](this[_0x2654ad(0xe0)][_0x2654ad(0xdb)]()['r']),_0x54637a['a']);}if(_0xe935dd['has'](exports.PostProcessStepType[_0x2654ad(0xb6)])){const _0x23bbd5=(_0xd77eee=this[_0x2654ad(0xb3)](exports.PostProcessStepType[_0x2654ad(0xb6)]))!==null&&_0xd77eee!==void 0?_0xd77eee:DefaultOutlineParams;this['outlinePass']=OutlineNode_js.outline(this[_0x2654ad(0xee)],this[_0x2654ad(0xe4)],{'selectedObjects':this[_0x2654ad(0xd4)],'edgeGlow':tsl.uniform(_0x23bbd5[_0x2654ad(0xed)]),'edgeThickness':tsl.uniform(_0x23bbd5[_0x2654ad(0xbe)])});const {visibleEdge:_0x15cc27,hiddenEdge:_0x21030a}=this[_0x2654ad(0xa0)],_0x4216a6=_0x7f72c[_0x2654ad(0xfb)]['greaterThan'](0x0)['select'](_0x7f72c['outlinePulsePeriod'],tsl.uniform(0x1)),_0x346559=tsl.time[_0x2654ad(0x9c)](_0x4216a6)[_0x2654ad(0x91)](0x2),_0x522b3a=tsl.oscSine(_0x346559)['mul'](0.5)['add'](0.5),_0x5c3186=_0x15cc27[_0x2654ad(0x91)](_0x7f72c['outlineVisibleEdgeColor'])[_0x2654ad(0xd5)](_0x21030a['mul'](_0x7f72c[_0x2654ad(0xce)]))[_0x2654ad(0x91)](_0x7f72c[_0x2654ad(0xe6)]),_0x2c2b77=_0x7f72c[_0x2654ad(0xfb)][_0x2654ad(0xbf)](0x0)[_0x2654ad(0xaf)](_0x5c3186[_0x2654ad(0x91)](_0x522b3a),_0x5c3186);_0x54637a=tsl.vec4(_0x54637a[_0x2654ad(0xa4)][_0x2654ad(0xd5)](_0x2c2b77),_0x54637a['a']);}if(_0x5f04b9){if(_0x5f04b9['method']===_0x2654ad(0xd7))_0x54637a=FXAANode_js.fxaa(_0x54637a);else {if(_0x5f04b9[_0x2654ad(0xaa)]==='smaa')_0x54637a=SMAANode_js.smaa(_0x54637a);else _0x5f04b9[_0x2654ad(0xaa)]===_0x2654ad(0xda)&&_0x5201ea&&(this[_0x2654ad(0x92)]=TRAANode_js.traa(_0x54637a,_0x2bcb8b,_0x5201ea,this[_0x2654ad(0xe4)]),_0x54637a=this[_0x2654ad(0x92)][_0x2654ad(0xdb)]());}}_0x54637a=this[_0x2654ad(0xec)](_0x54637a),_0x54637a=tsl.vec4(_0x54637a[_0x2654ad(0xa4)],_0x346913['a']),this['postProcessing'][_0x2654ad(0xbd)]=_0x54637a,this['postProcessing'][_0x2654ad(0x95)]=!![];}[_0x149a7b(0xec)](_0x551c0f){return _0x551c0f;}[_0x149a7b(0xcf)](){const _0x4857f2=_0x149a7b;var _0x47406c,_0x3751ee,_0x6b57c3,_0x235e5e;const _0x33e75c=(_0x47406c=this[_0x4857f2(0xb3)](exports.PostProcessStepType[_0x4857f2(0xb0)]))!==null&&_0x47406c!==void 0?_0x47406c:DefaultBloomParam,_0x5b7f4d=(_0x3751ee=this[_0x4857f2(0xb3)](exports.PostProcessStepType[_0x4857f2(0x9e)]))!==null&&_0x3751ee!==void 0?_0x3751ee:DefaultDOFParam,_0x21781f=(_0x6b57c3=this[_0x4857f2(0xb3)](exports.PostProcessStepType[_0x4857f2(0xe5)]))!==null&&_0x6b57c3!==void 0?_0x6b57c3:DefaultGTAOParam,_0x50b7f0=(_0x235e5e=this[_0x4857f2(0xb3)](exports.PostProcessStepType[_0x4857f2(0xb6)]))!==null&&_0x235e5e!==void 0?_0x235e5e:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x33e75c[_0x4857f2(0xae)]),'bloomThreshold':tsl.uniform(_0x33e75c['threshold']),'bloomRadius':tsl.uniform(_0x33e75c['radius']),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x5b7f4d[_0x4857f2(0xd2)]),'dofAperture':tsl.uniform(_0x5b7f4d[_0x4857f2(0xd0)]),'dofMaxBlur':tsl.uniform(_0x5b7f4d[_0x4857f2(0x97)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x21781f['scale']),'gtaoDistanceExponent':tsl.uniform(_0x21781f[_0x4857f2(0xa8)]),'gtaoDistanceFallOff':tsl.uniform(_0x21781f[_0x4857f2(0xc1)]),'gtaoRadius':tsl.uniform(_0x21781f[_0x4857f2(0x94)]),'gtaoThickness':tsl.uniform(_0x21781f[_0x4857f2(0xa3)]),'gtaoSamples':tsl.uniform(_0x21781f[_0x4857f2(0xa6)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x50b7f0[_0x4857f2(0xf4)]),'outlineEdgeGlow':tsl.uniform(_0x50b7f0['edgeGlow']),'outlineEdgeThickness':tsl.uniform(_0x50b7f0['edgeThickness']),'outlinePulsePeriod':tsl.uniform(_0x50b7f0[_0x4857f2(0xfe)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x50b7f0['visibleEdgeColor'])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x50b7f0[_0x4857f2(0xfa)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x149a7b(0xb3)](_0x1e1dc0){const _0x5b5c97=_0x149a7b;var _0x5fb079;return (_0x5fb079=this[_0x5b5c97(0xdc)]['steps'][_0x5b5c97(0xc9)](_0x8cff32=>_0x8cff32[_0x5b5c97(0x102)]===_0x1e1dc0))!==null&&_0x5fb079!==void 0?_0x5fb079:null;}[_0x149a7b(0xa9)](){const _0x41fb49=_0x149a7b;if(!this['effectUniforms'])return;const _0x2cee31=this[_0x41fb49(0x103)],_0x474241=new Set(this[_0x41fb49(0xdc)][_0x41fb49(0xe1)][_0x41fb49(0xdd)](_0x13efa8=>_0x13efa8[_0x41fb49(0x102)]));_0x2cee31[_0x41fb49(0xfc)][_0x41fb49(0xeb)]=_0x474241[_0x41fb49(0xa2)](exports.PostProcessStepType[_0x41fb49(0xb0)])?0x1:0x0,_0x2cee31['dofEnabled'][_0x41fb49(0xeb)]=_0x474241[_0x41fb49(0xa2)](exports.PostProcessStepType['DepthOfField'])?0x1:0x0,_0x2cee31[_0x41fb49(0xf8)][_0x41fb49(0xeb)]=_0x474241['has'](exports.PostProcessStepType['GroundTruthAmbientOcclusion'])?0x1:0x0,_0x2cee31[_0x41fb49(0xa7)][_0x41fb49(0xeb)]=_0x474241['has'](exports.PostProcessStepType['Outline'])?0x1:0x0,_0x2cee31[_0x41fb49(0xc7)][_0x41fb49(0xeb)]=_0x474241['has'](exports.PostProcessStepType['LensFlare'])?0x1:0x0;const _0x255fba=this['getStepParam'](exports.PostProcessStepType[_0x41fb49(0xc8)]);_0x255fba?(_0x2cee31[_0x41fb49(0x96)][_0x41fb49(0xeb)]=_0x255fba[_0x41fb49(0xaa)]===_0x41fb49(0xd7)?0x1:0x0,_0x2cee31[_0x41fb49(0xc2)]['value']=_0x255fba['method']===_0x41fb49(0xb9)?0x1:0x0):(_0x2cee31[_0x41fb49(0x96)][_0x41fb49(0xeb)]=0x0,_0x2cee31[_0x41fb49(0xc2)]['value']=0x0);const _0x3aa654=this[_0x41fb49(0xb3)](exports.PostProcessStepType[_0x41fb49(0xb0)]);_0x3aa654&&(_0x2cee31[_0x41fb49(0xba)][_0x41fb49(0xeb)]=_0x3aa654[_0x41fb49(0xae)],_0x2cee31[_0x41fb49(0xd3)]['value']=_0x3aa654[_0x41fb49(0xb8)],_0x2cee31[_0x41fb49(0xe8)][_0x41fb49(0xeb)]=_0x3aa654[_0x41fb49(0x94)],this[_0x41fb49(0x9f)]&&(this[_0x41fb49(0x9f)][_0x41fb49(0xb8)]['value']=_0x3aa654['threshold'],this[_0x41fb49(0x9f)][_0x41fb49(0xae)][_0x41fb49(0xeb)]=_0x3aa654[_0x41fb49(0xae)],this['bloomPass'][_0x41fb49(0x94)]['value']=_0x3aa654['radius']));const _0x41ead3=this['getStepParam'](exports.PostProcessStepType[_0x41fb49(0xe7)]);if(_0x41ead3&&this[_0x41fb49(0xc4)]);const _0x2a4a67=this[_0x41fb49(0xb3)](exports.PostProcessStepType[_0x41fb49(0x9e)]);_0x2a4a67&&(_0x2cee31[_0x41fb49(0xdf)]['value']=_0x2a4a67['focus'],_0x2cee31['dofAperture']['value']=_0x2a4a67[_0x41fb49(0xd0)],_0x2cee31[_0x41fb49(0xf6)]['value']=_0x2a4a67[_0x41fb49(0x97)],this['dofPass']&&(this['dofPass'][_0x41fb49(0xea)][_0x41fb49(0xeb)]=_0x2a4a67['focus'],this[_0x41fb49(0xb4)][_0x41fb49(0xff)][_0x41fb49(0xeb)]=_0x2a4a67[_0x41fb49(0xd0)],this[_0x41fb49(0xb4)][_0x41fb49(0x9a)][_0x41fb49(0xeb)]=_0x2a4a67['maxblur']));const _0x45f90d=this[_0x41fb49(0xb3)](exports.PostProcessStepType[_0x41fb49(0xe5)]);_0x45f90d&&(_0x2cee31['gtaoScale'][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xb1)],_0x2cee31[_0x41fb49(0xe9)][_0x41fb49(0xeb)]=_0x45f90d['distanceExponent'],_0x2cee31['gtaoDistanceFallOff']['value']=_0x45f90d[_0x41fb49(0xc1)],_0x2cee31[_0x41fb49(0x9b)][_0x41fb49(0xeb)]=_0x45f90d['radius'],_0x2cee31[_0x41fb49(0xc5)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xa3)],_0x2cee31['gtaoSamples'][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xa6)],this[_0x41fb49(0xe0)]&&(this['gtaoPass'][_0x41fb49(0xa8)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xa8)],this[_0x41fb49(0xe0)][_0x41fb49(0xc1)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xc1)],this[_0x41fb49(0xe0)][_0x41fb49(0x94)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0x94)],this[_0x41fb49(0xe0)][_0x41fb49(0xb1)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xb1)],this[_0x41fb49(0xe0)][_0x41fb49(0xa3)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xa3)],this['gtaoPass']['samples'][_0x41fb49(0xeb)]=_0x45f90d['samples'],this[_0x41fb49(0xe0)]['useTemporalFiltering']=_0x45f90d['useTemporalFiltering']));const _0x24654a=this[_0x41fb49(0xb3)](exports.PostProcessStepType[_0x41fb49(0xb6)]);_0x24654a&&(_0x2cee31[_0x41fb49(0xe6)][_0x41fb49(0xeb)]=_0x24654a[_0x41fb49(0xf4)],_0x2cee31['outlineEdgeGlow']['value']=_0x24654a['edgeGlow'],_0x2cee31['outlineEdgeThickness'][_0x41fb49(0xeb)]=_0x24654a[_0x41fb49(0xbe)],_0x2cee31[_0x41fb49(0xfb)]['value']=_0x24654a[_0x41fb49(0xfe)],_0x2cee31[_0x41fb49(0xf1)][_0x41fb49(0xeb)]['set'](_0x24654a[_0x41fb49(0xf7)]),_0x2cee31[_0x41fb49(0xce)]['value'][_0x41fb49(0x8c)](_0x24654a[_0x41fb49(0xfa)]),this[_0x41fb49(0xa0)]&&(this[_0x41fb49(0xa0)][_0x41fb49(0xf9)][_0x41fb49(0xeb)]=_0x24654a[_0x41fb49(0xed)],this['outlinePass'][_0x41fb49(0xad)]['value']=_0x24654a[_0x41fb49(0xbe)],this[_0x41fb49(0xa0)][_0x41fb49(0xcd)]=this['outlineObjects']));}[_0x149a7b(0x101)](_0xbe5ad1){const _0x53264f=_0x149a7b;this[_0x53264f(0xdc)]['steps']=_0xbe5ad1,this[_0x53264f(0xac)](),this[_0x53264f(0xa9)](),this['markDirty']();}[_0x149a7b(0xde)](_0x30301a){const _0x4f327b=_0x149a7b;!this['outlineObjects'][_0x4f327b(0xfd)](_0x30301a)&&(this[_0x4f327b(0xd4)][_0x4f327b(0xf2)](_0x30301a),this[_0x4f327b(0xa0)]&&(this[_0x4f327b(0xa0)][_0x4f327b(0xcd)]=this['outlineObjects'])),this[_0x4f327b(0xef)]();}[_0x149a7b(0x99)](_0x3064fc){const _0x50e64d=_0x149a7b;this[_0x50e64d(0xd4)]['length']=0x0,this[_0x50e64d(0xd4)]['push'](..._0x3064fc),this[_0x50e64d(0xa0)]&&(this[_0x50e64d(0xa0)][_0x50e64d(0xcd)]=this[_0x50e64d(0xd4)]),this['markDirty']();}[_0x149a7b(0xcc)](_0x1433d5){const _0x161b50=_0x149a7b,_0x5d1475=this[_0x161b50(0xd4)]['indexOf'](_0x1433d5);_0x5d1475>-1&&(this[_0x161b50(0xd4)][_0x161b50(0xd9)](_0x5d1475,0x1),this[_0x161b50(0xa0)]&&(this['outlinePass'][_0x161b50(0xcd)]=this[_0x161b50(0xd4)])),this[_0x161b50(0xef)]();}['setLUT3DTexture'](_0x3d606f){const _0x18e80d=_0x149a7b;this[_0x18e80d(0x98)]=_0x3d606f,this[_0x18e80d(0xac)](),this[_0x18e80d(0xa9)](),this[_0x18e80d(0xef)]();}[_0x149a7b(0x8f)](){const _0xa016b5=_0x149a7b;return this[_0xa016b5(0x98)];}['render'](){const _0x4abb81=_0x149a7b;if(this[_0x4abb81(0xd1)])return this[_0x4abb81(0xd1)][_0x4abb81(0xc6)](),!![];return ![];}[_0x149a7b(0xa5)](){const _0x19923c=_0x149a7b;this[_0x19923c(0xd4)]=[],this[_0x19923c(0x103)]=null,this[_0x19923c(0xa0)]=null,this[_0x19923c(0x9f)]=null,this['dofPass']=null,this[_0x19923c(0xe0)]=null,this[_0x19923c(0x92)]=null,this['lensflarePass']=null,this[_0x19923c(0x98)]=null,this[_0x19923c(0xd1)]&&(this[_0x19923c(0xd1)][_0x19923c(0xab)](),this[_0x19923c(0xd1)]=null);}[_0x149a7b(0xef)](){const _0x6f5794=_0x149a7b;this[_0x6f5794(0xcb)]&&this['onDirtyCallback']();}}
|
|
78
|
+
function _0x42d4(){const _0x4d2a90=['21023rSwjDL','7914UKZhnu','935649ZhppRh','58qmTcRj','20xlaobm','4uSdlUi','12996852UPHHqW','3742674qNzgGu','11qiqhZD','518920Jvvipf','27270EXFQlY','49lJOufF','115DaEWBd'];_0x42d4=function(){return _0x4d2a90;};return _0x42d4();}function _0x19e8(_0x161893,_0x33ce27){_0x161893=_0x161893-0x95;const _0x42d4b7=_0x42d4();let _0x19e88d=_0x42d4b7[_0x161893];return _0x19e88d;}(function(_0x1d563b,_0x47dabb){const _0x80479d=_0x19e8,_0x59eb41=_0x1d563b();while(!![]){try{const _0x12998c=-parseInt(_0x80479d(0x9f))/0x1*(parseInt(_0x80479d(0x95))/0x2)+parseInt(_0x80479d(0xa1))/0x3*(parseInt(_0x80479d(0x97))/0x4)+parseInt(_0x80479d(0x9e))/0x5*(parseInt(_0x80479d(0xa0))/0x6)+parseInt(_0x80479d(0x9d))/0x7*(-parseInt(_0x80479d(0x9b))/0x8)+parseInt(_0x80479d(0x9c))/0x9*(-parseInt(_0x80479d(0x96))/0xa)+parseInt(_0x80479d(0x9a))/0xb*(parseInt(_0x80479d(0x98))/0xc)+parseInt(_0x80479d(0x99))/0xd;if(_0x12998c===_0x47dabb)break;else _0x59eb41['push'](_0x59eb41['shift']());}catch(_0x52fa61){_0x59eb41['push'](_0x59eb41['shift']());}}}(_0x42d4,0x9d14f));const DefaultLensFlareParam={'type':exports.PostProcessStepType['LensFlare'],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};
|
|
68
79
|
|
|
69
|
-
function _0x3e51(){const _0x3af2ab=['domElement','257946vUGTNY','_renderer','css3dRenderer','style','top','setDepth','disconnect','clientHeight','height','setStencil','setClearAlpha','div','dispose','_canvasContainer','outer','app','100%','6117234JvWhmI','destroy','Can\x20not\x20create\x20context','removeChild','removeOutlineObject','width','shadowMap','162798zkIBnT','isRenderStateDirty','onWindowResize','type','createLabelRenderer','postProcessParam','init','camera','insertBefore','markRenderStateDirty','appendChild','onCameraChangedDelegate','none','setAlpha','updateCamera','setupPostProcess','setToneMapping','scene-uiLayer','transparent','elementId','world','forceWebGL','firstChild','onAfterPostProcessRender','0px','renderer','clientWidth','createCSS3DRenderer','createElement','getElementById','setOutlineObjects','renderAsImage','postProcessManager','remove','drawImage','destroyPostProcess','className','getContext','pointerEvents','isUILayerNeeded','5wvUTEc','samples','createRenderer','contentBoxSize','addOutlineObject','6483953dNXcZK','setup','antialias','absolute','12291030iasocu','App\x20is\x20not\x20initialized','492894RWuiHF','observe','_outerContainer','logarithmicDepthBuffer','2065436LqhkXo','background','enabled','toneMapping','depth','uiDom','_uiDom','scene-css3dRenderer','resizeObserver','stencil','labelRenderer','setShadowMapEnabled','setSize','position','isLabelRendererNeeded','updateRendererSettings','setToneMappingExposure','outputBufferType','createPostProcessManager','toDataURL','devicePixelRatio','image/jpeg','updateSteps','_app','render','zIndex','toneMappingExposure','scene','add','isCSS3DRendererNeeded','canvas','shadowMapEnabled','left','setAnimationLoop','Renderer\x20is\x20not\x20initialized','8OqVOkj'];_0x3e51=function(){return _0x3af2ab;};return _0x3e51();}function _0x3937(_0x429cd3,_0x557184){_0x429cd3=_0x429cd3-0x95;const _0x3e5178=_0x3e51();let _0x3937b3=_0x3e5178[_0x429cd3];return _0x3937b3;}const _0x61cb66=_0x3937;(function(_0x47ffd1,_0x20aa1b){const _0x3e42bd=_0x3937,_0x48c87f=_0x47ffd1();while(!![]){try{const _0x329486=parseInt(_0x3e42bd(0x108))/0x1+parseInt(_0x3e42bd(0xdf))/0x2+-parseInt(_0x3e42bd(0xac))/0x3+parseInt(_0x3e42bd(0xe3))/0x4*(-parseInt(_0x3e42bd(0xd4))/0x5)+parseInt(_0x3e42bd(0xa5))/0x6+parseInt(_0x3e42bd(0xd9))/0x7*(parseInt(_0x3e42bd(0x106))/0x8)+-parseInt(_0x3e42bd(0xdd))/0x9;if(_0x329486===_0x20aa1b)break;else _0x48c87f['push'](_0x48c87f['shift']());}catch(_0x504379){_0x48c87f['push'](_0x48c87f['shift']());}}}(_0x3e51,0x7d77c));class Viewport{get[_0x61cb66(0xe8)](){const _0x5a56a1=_0x61cb66;return this[_0x5a56a1(0xe9)];}get['canvas'](){const _0x15a463=_0x61cb66;return this[_0x15a463(0xe1)]||this['_canvasContainer'];}get[_0x61cb66(0xa2)](){const _0xa6b160=_0x61cb66;return this[_0xa6b160(0xe1)];}get[_0x61cb66(0xc5)](){const _0x57707b=_0x61cb66;if(!this[_0x57707b(0x95)])throw Error(_0x57707b(0x105));return this[_0x57707b(0x95)];}get['app'](){const _0x2e89c6=_0x61cb66;if(!this[_0x2e89c6(0xfa)])throw Error(_0x2e89c6(0xde));return this[_0x2e89c6(0xfa)];}constructor(_0x11095c,_0x5f34ca,_0x1484ba,_0x2c668b){const _0x395bf5=_0x61cb66;this['_uiDom']=null,this[_0x395bf5(0x95)]=null,this[_0x395bf5(0xed)]=null,this[_0x395bf5(0x96)]=null,this[_0x395bf5(0xfa)]=null,this['resizeObserver']=null,this[_0x395bf5(0xe1)]=null,this[_0x395bf5(0xa1)]=null,this[_0x395bf5(0xad)]=!![],this['postProcessManager']=null,this['postProcessParam']=Object['assign']({},_0x2c668b),this[_0x395bf5(0xfa)]=_0x11095c,_0x5f34ca['elementId']&&(this['_outerContainer']=document[_0x395bf5(0xc9)](_0x5f34ca[_0x395bf5(0xbf)])),this['createRenderer'](_0x1484ba),_0x5f34ca[_0x395bf5(0xf1)]&&this['createLabelRenderer'](),_0x5f34ca[_0x395bf5(0x100)]&&this[_0x395bf5(0xc7)](),_0x5f34ca[_0x395bf5(0xd3)]&&this['createUILayer'](),this[_0x395bf5(0xe1)]&&(this[_0x395bf5(0xeb)]=new ResizeObserver(_0x37be35=>{const _0x147b7a=_0x395bf5;for(let _0x6980f1 of _0x37be35){_0x6980f1[_0x147b7a(0xd7)]&&this[_0x147b7a(0xae)]();}}),this[_0x395bf5(0xeb)][_0x395bf5(0xe0)](this[_0x395bf5(0xe1)])),this[_0x395bf5(0xa3)][_0x395bf5(0xb7)][_0x395bf5(0xff)](()=>{const _0x3aa2a7=_0x395bf5;this[_0x3aa2a7(0xcc)]&&(this['postProcessManager'][_0x3aa2a7(0xba)](this[_0x3aa2a7(0xa3)]['camera']),this['postProcessManager'][_0x3aa2a7(0xda)]());});}[_0x61cb66(0xd6)](_0x1928d7){const _0x59d115=_0x61cb66;var _0x89e497;const _0x5e855c=this[_0x59d115(0xe1)];this['_renderer']&&(_0x5e855c&&_0x5e855c[_0x59d115(0xa8)](this[_0x59d115(0x95)][_0x59d115(0x107)]),this[_0x59d115(0x95)]['dispose']());let _0x5e896f=_0x5e855c?_0x5e855c[_0x59d115(0xc6)]:0x200,_0x4d77b9=_0x5e855c?_0x5e855c['clientHeight']:0x200,_0x554e02={};_0x554e02[_0x59d115(0xc1)]=_0x1928d7['forceWebGL'],_0x554e02[_0x59d115(0xdb)]=_0x1928d7[_0x59d115(0xdb)],_0x554e02['depth']=_0x1928d7[_0x59d115(0xe7)],_0x554e02[_0x59d115(0xec)]=_0x1928d7[_0x59d115(0xec)],_0x554e02['alpha']=!![],_0x554e02[_0x59d115(0xe2)]=_0x1928d7[_0x59d115(0xe2)],_0x554e02[_0x59d115(0xd5)]=_0x1928d7['samples'],_0x554e02['outputBufferType']=_0x1928d7[_0x59d115(0xf4)],this[_0x59d115(0x95)]=new webgpu.WebGPURenderer(_0x554e02),this[_0x59d115(0x95)]['setPixelRatio'](window[_0x59d115(0xf7)]),this[_0x59d115(0x95)][_0x59d115(0xef)](_0x5e896f,_0x4d77b9),this[_0x59d115(0x95)][_0x59d115(0xab)][_0x59d115(0xe5)]=_0x1928d7[_0x59d115(0x102)],this[_0x59d115(0x95)]['shadowMap'][_0x59d115(0xaf)]=(_0x89e497=_0x1928d7['shadowMapType'])!==null&&_0x89e497!==void 0?_0x89e497:0x1,this[_0x59d115(0x95)][_0x59d115(0xe6)]=_0x1928d7[_0x59d115(0xe6)],this['_renderer'][_0x59d115(0xfd)]=_0x1928d7['toneMappingExposure'],this['_renderer'][_0x59d115(0x9e)](0x0),this['_renderer'][_0x59d115(0x107)]['style']['position']=_0x59d115(0xdc),this[_0x59d115(0x95)][_0x59d115(0x107)]['style'][_0x59d115(0x103)]='0',this['_renderer'][_0x59d115(0x107)][_0x59d115(0x97)][_0x59d115(0x98)]='0',this['_renderer']['domElement'][_0x59d115(0x97)][_0x59d115(0xfc)]='20',this['_renderer']['domElement'][_0x59d115(0x97)][_0x59d115(0xe4)]=_0x59d115(0xbe),this[_0x59d115(0x95)][_0x59d115(0x107)][_0x59d115(0x97)]['pointerEvents']=_0x59d115(0xb8),_0x5e855c&&_0x5e855c['appendChild'](this[_0x59d115(0x95)][_0x59d115(0x107)]);}[_0x61cb66(0xb0)](){const _0x4b600a=_0x61cb66,_0x42054c=this[_0x4b600a(0xe1)];this[_0x4b600a(0xed)]&&(_0x42054c&&_0x42054c[_0x4b600a(0xa8)](this['labelRenderer'][_0x4b600a(0x107)]));let _0x1b9ed0=_0x42054c?_0x42054c[_0x4b600a(0xc6)]:0x200,_0x5f0cfd=_0x42054c?_0x42054c[_0x4b600a(0x9b)]:0x200;this[_0x4b600a(0xed)]=new Addons_js.CSS2DRenderer(),this['labelRenderer'][_0x4b600a(0xef)](_0x1b9ed0,_0x5f0cfd),this[_0x4b600a(0xed)]['domElement']['style'][_0x4b600a(0xd2)]=_0x4b600a(0xb8),this['labelRenderer'][_0x4b600a(0x107)][_0x4b600a(0x97)][_0x4b600a(0xf0)]=_0x4b600a(0xdc),this[_0x4b600a(0xed)][_0x4b600a(0x107)]['style'][_0x4b600a(0x98)]=_0x4b600a(0xc4),this[_0x4b600a(0xed)][_0x4b600a(0x107)][_0x4b600a(0xd0)]='scene-labelRenderer',this[_0x4b600a(0xed)][_0x4b600a(0x107)][_0x4b600a(0x97)]['zIndex']='30',_0x42054c&&_0x42054c[_0x4b600a(0xb6)](this[_0x4b600a(0xed)][_0x4b600a(0x107)]);}[_0x61cb66(0xc7)](){const _0x2faa4e=_0x61cb66,_0x167387=this[_0x2faa4e(0xe1)];this[_0x2faa4e(0x96)]&&(_0x167387&&_0x167387[_0x2faa4e(0xa8)](this['css3dRenderer'][_0x2faa4e(0x107)]));let _0x394f30=_0x167387?_0x167387[_0x2faa4e(0xc6)]:0x200,_0x37303d=_0x167387?_0x167387[_0x2faa4e(0x9b)]:0x200;this[_0x2faa4e(0x96)]=new Addons_js.CSS3DRenderer(),this['css3dRenderer'][_0x2faa4e(0xef)](_0x394f30,_0x37303d),this[_0x2faa4e(0x96)][_0x2faa4e(0x107)]['style'][_0x2faa4e(0xd2)]='none',this[_0x2faa4e(0x96)]['domElement'][_0x2faa4e(0x97)]['position']=_0x2faa4e(0xdc),this[_0x2faa4e(0x96)][_0x2faa4e(0x107)][_0x2faa4e(0x97)][_0x2faa4e(0x103)]=_0x2faa4e(0xc4),this[_0x2faa4e(0x96)][_0x2faa4e(0x107)][_0x2faa4e(0x97)][_0x2faa4e(0x98)]='0px',this[_0x2faa4e(0x96)][_0x2faa4e(0x107)][_0x2faa4e(0x97)][_0x2faa4e(0xfc)]='0',this[_0x2faa4e(0x96)][_0x2faa4e(0x107)]['className']=_0x2faa4e(0xea),_0x167387&&_0x167387[_0x2faa4e(0xb4)](this['css3dRenderer'][_0x2faa4e(0x107)],_0x167387[_0x2faa4e(0xc2)]);}['createUILayer'](){const _0xe2a239=_0x61cb66;if(!this['_outerContainer'])return;let _0x4720b8=this[_0xe2a239(0xe1)]['querySelector']('.scene-uiLayer');!_0x4720b8&&(_0x4720b8=document['createElement'](_0xe2a239(0x9f)),_0x4720b8[_0xe2a239(0xd0)]=_0xe2a239(0xbd),_0x4720b8['id']=_0xe2a239(0xbd),_0x4720b8[_0xe2a239(0x97)]['position']=_0xe2a239(0xdc),_0x4720b8['style'][_0xe2a239(0x103)]='0',_0x4720b8[_0xe2a239(0x97)]['top']='0',_0x4720b8['style'][_0xe2a239(0xaa)]=_0xe2a239(0xa4),_0x4720b8[_0xe2a239(0x97)][_0xe2a239(0x9c)]=_0xe2a239(0xa4),_0x4720b8[_0xe2a239(0x97)][_0xe2a239(0xd2)]=_0xe2a239(0xb8),_0x4720b8['style'][_0xe2a239(0xfc)]='10',this[_0xe2a239(0xe1)][_0xe2a239(0xb6)](_0x4720b8),this[_0xe2a239(0xe9)]=_0x4720b8);}[_0x61cb66(0xb2)](){const _0x5cdf03=_0x61cb66;this[_0x5cdf03(0xbb)]();}[_0x61cb66(0xbb)](){const _0x135745=_0x61cb66;!this[_0x135745(0xcc)]&&(this['postProcessManager']=this[_0x135745(0xf5)]()),this[_0x135745(0xcc)][_0x135745(0xda)]();}[_0x61cb66(0xf5)](){const _0x1bc2e1=_0x61cb66;return new PostProcessManager(this['renderer'],this[_0x1bc2e1(0xa3)]['world'][_0x1bc2e1(0xfe)],this['app']['camera'],this[_0x1bc2e1(0xb1)],()=>this[_0x1bc2e1(0xb5)]());}['updatePostProcess'](_0xc8b74f){const _0x1c887=_0x61cb66;this[_0x1c887(0xcc)]&&this['postProcessManager'][_0x1c887(0xf9)](_0xc8b74f);}[_0x61cb66(0xf2)](_0x1f8e80){const _0xebeda6=_0x61cb66;this['createRenderer'](_0x1f8e80),this[_0xebeda6(0xb5)]();}[_0x61cb66(0xd8)](_0x20f464){this['postProcessManager']&&this['postProcessManager']['addOutlineObject'](_0x20f464);}[_0x61cb66(0xca)](_0x24f3dc){const _0x28dca7=_0x61cb66;this['postProcessManager']&&this[_0x28dca7(0xcc)]['setOutlineObjects'](_0x24f3dc);}[_0x61cb66(0xa9)](_0xc90e41){const _0x27bedb=_0x61cb66;this['postProcessManager']&&this['postProcessManager'][_0x27bedb(0xa9)](_0xc90e41);}[_0x61cb66(0xcf)](){const _0x22dd03=_0x61cb66;this['postProcessManager']&&(this['postProcessManager']['destroy'](),this[_0x22dd03(0xcc)]=null);}[_0x61cb66(0xae)](){const _0x424fc7=_0x61cb66;let _0x4aff36=this['_outerContainer'];if(!_0x4aff36)return;this[_0x424fc7(0xa3)][_0x424fc7(0xae)](_0x4aff36[_0x424fc7(0xc6)],_0x4aff36[_0x424fc7(0x9b)]),this[_0x424fc7(0xc5)][_0x424fc7(0xef)](_0x4aff36[_0x424fc7(0xc6)],_0x4aff36[_0x424fc7(0x9b)]);if(this[_0x424fc7(0xed)])this[_0x424fc7(0xed)][_0x424fc7(0xef)](_0x4aff36['clientWidth'],_0x4aff36[_0x424fc7(0x9b)]);if(this[_0x424fc7(0x96)])this[_0x424fc7(0x96)]['setSize'](_0x4aff36[_0x424fc7(0xc6)],_0x4aff36[_0x424fc7(0x9b)]);this[_0x424fc7(0xb5)]();}[_0x61cb66(0xb5)](){const _0x350343=_0x61cb66;this[_0x350343(0xad)]=!![];}[_0x61cb66(0xfb)](){const _0x5f121f=_0x61cb66;if(!this['isRenderStateDirty'])return;if(this[_0x5f121f(0xcc)]&&this[_0x5f121f(0xcc)]['render']());else this[_0x5f121f(0xc5)][_0x5f121f(0xfb)](this[_0x5f121f(0xa3)][_0x5f121f(0xc0)][_0x5f121f(0xfe)],this[_0x5f121f(0xa3)][_0x5f121f(0xb3)]);this['onAfterPostProcessRender'](),this[_0x5f121f(0xed)]&&this['labelRenderer']['render'](this[_0x5f121f(0xa3)][_0x5f121f(0xc0)][_0x5f121f(0xfe)],this[_0x5f121f(0xa3)][_0x5f121f(0xb3)]),this['css3dRenderer']&&this[_0x5f121f(0x96)][_0x5f121f(0xfb)](this[_0x5f121f(0xa3)]['world'][_0x5f121f(0xfe)],this[_0x5f121f(0xa3)][_0x5f121f(0xb3)]),this[_0x5f121f(0xad)]=![];}[_0x61cb66(0xc3)](){}async[_0x61cb66(0xcb)](_0x21a564=0x400,_0x54953c=0x400){const _0x2901ee=_0x61cb66;try{if(this[_0x2901ee(0xcc)]&&this[_0x2901ee(0xcc)][_0x2901ee(0xfb)]()){}else await this[_0x2901ee(0xc5)][_0x2901ee(0xfb)](this[_0x2901ee(0xa3)][_0x2901ee(0xc0)][_0x2901ee(0xfe)],this[_0x2901ee(0xa3)][_0x2901ee(0xb3)]);const _0x482fab=this['renderer'][_0x2901ee(0x107)][_0x2901ee(0xaa)],_0x128744=this['renderer'][_0x2901ee(0x107)][_0x2901ee(0x9c)];let _0x150db5=_0x482fab||_0x21a564,_0x482bb2=_0x128744||_0x54953c;(_0x150db5<=0x0||_0x482bb2<=0x0)&&(_0x150db5=_0x21a564,_0x482bb2=_0x54953c);const _0x50477b=document[_0x2901ee(0xc8)](_0x2901ee(0x101));_0x50477b[_0x2901ee(0xaa)]=_0x21a564,_0x50477b[_0x2901ee(0x9c)]=_0x54953c;const _0x4d4785=_0x50477b[_0x2901ee(0xd1)]('2d');if(!_0x4d4785)throw Error(_0x2901ee(0xa7));_0x4d4785[_0x2901ee(0xce)](this['renderer'][_0x2901ee(0x107)],0x0,0x0,_0x150db5,_0x482bb2,0x0,0x0,_0x21a564,_0x54953c);const _0x315d5d=_0x50477b[_0x2901ee(0xf6)](_0x2901ee(0xf8));return _0x50477b['remove'](),_0x315d5d;}catch(_0x3f481f){return '';}}[_0x61cb66(0xb9)](_0x18a533){const _0x234e21=_0x61cb66;if(!this['_renderer'])return;this[_0x234e21(0x95)]['alpha']=_0x18a533;}[_0x61cb66(0xee)](_0xebb26c){const _0x28f1f6=_0x61cb66;if(!this[_0x28f1f6(0x95)])return;this[_0x28f1f6(0x95)]['shadowMap'][_0x28f1f6(0xe5)]=_0xebb26c;}['setShadowMapType'](_0x14f880){const _0x46506b=_0x61cb66;if(!this[_0x46506b(0x95)])return;this[_0x46506b(0x95)][_0x46506b(0xab)][_0x46506b(0xaf)]=_0x14f880;}[_0x61cb66(0xbc)](_0x564edc){const _0x358a40=_0x61cb66;if(!this[_0x358a40(0x95)])return;this[_0x358a40(0x95)]['toneMapping']=_0x564edc;}[_0x61cb66(0xf3)](_0x154117){const _0x26206a=_0x61cb66;if(!this[_0x26206a(0x95)])return;this['_renderer']['toneMappingExposure']=_0x154117;}[_0x61cb66(0x99)](_0x5ef49d){const _0xc3c888=_0x61cb66;if(!this[_0xc3c888(0x95)])return;this[_0xc3c888(0x95)][_0xc3c888(0xe7)]=_0x5ef49d;}[_0x61cb66(0x9d)](_0x36f486){const _0x765df9=_0x61cb66;if(!this['_renderer'])return;this[_0x765df9(0x95)][_0x765df9(0xec)]=_0x36f486;}[_0x61cb66(0xa6)](){const _0x1f3340=_0x61cb66;this[_0x1f3340(0xcf)](),this[_0x1f3340(0xc5)][_0x1f3340(0x104)](null),this[_0x1f3340(0xeb)]&&(this[_0x1f3340(0xeb)][_0x1f3340(0x9a)](),this['resizeObserver']=null),this[_0x1f3340(0xed)]&&(this['labelRenderer'][_0x1f3340(0x107)][_0x1f3340(0xcd)](),this['labelRenderer']=null),this[_0x1f3340(0x95)]&&(this[_0x1f3340(0xc5)][_0x1f3340(0x107)][_0x1f3340(0xcd)](),this[_0x1f3340(0x95)][_0x1f3340(0xa0)](),this[_0x1f3340(0x95)]=null),this['_canvasContainer']&&(this[_0x1f3340(0xa1)][_0x1f3340(0xcd)](),this['_canvasContainer']=null),this[_0x1f3340(0xe1)]=null,this['_app']=null;}}
|
|
80
|
+
function _0x5f09(){const _0x589e50=['postProcessing','lensflareEnabled','includes','length','visibleEdgeColor','markDirty','add','push','outlineHiddenEdgeColor','outlineEdgeStrength','onBuildFinalNode','edgeThickness','effectUniforms','traaPass','GroundTruthAmbientOcclusion','samples','outlineEdgeThickness','updateSteps','destroy','greaterThan','assign','dofEnabled','updateAllUniforms','695488mhHUrZ','21264ZITAGY','edgeStrength','gtaoDistanceFallOff','camera','splice','focus','addOutlineObject','distanceExponent','threshold','bloomRadius','aperture','output','2228110kUgfot','outlineEnabled','ghostSamples','focalLengthNode','ghostSpacing','value','mul','traa','364qtukJy','getStepParam','lut3dTexture','edgeGlow','gtaoDistanceExponent','268353PDhPrd','1215926nnQTIi','Outline','thickness','maxblur','fxaaEnabled','outlinePulsePeriod','hiddenEdgeColor','onDirtyCallback','ghostTint','outlineVisibleEdgeColor','10056SDcSGz','outputNode','fxaa','removeOutlineObject','gtaoPass','dofPass','indexOf','getViewZNode','select','normal','map','method','updateCamera','LensFlare','bloomThreshold','outlineObjects','distanceFallOff','radius','renderer','scene','gtaoScale','pulsePeriod','find','useTemporalFiltering','ghostAttenuationFactor','gtaoSamples','bloomEnabled','getLUT3DTexture','resolutionScale','outlinePass','1387680rJbTiq','buildPipeline','gtaoRadius','setMRT','gtaoThickness','scale','dofFocus','selectedObjects','strength','steps','setOutlineObjects','smaa','needsUpdate','outlineEdgeGlow','has','1HQgsen','render','Bloom','postProcessParam','bloomPass','type','dispose','DepthOfField','edgeGlowNode','smaaEnabled','createEffectUniforms','Antialiasing','837UrolWL','processing','getTextureNode','lensflarePass','bokehScaleNode'];_0x5f09=function(){return _0x589e50;};return _0x5f09();}const _0x58f04c=_0x15fa;(function(_0x3ebabb,_0x3d84bd){const _0x58d906=_0x15fa,_0x5e4e3c=_0x3ebabb();while(!![]){try{const _0x2a1bab=-parseInt(_0x58d906(0xe9))/0x1*(-parseInt(_0x58d906(0xb2))/0x2)+parseInt(_0x58d906(0xb1))/0x3+-parseInt(_0x58d906(0x111))/0x4+-parseInt(_0x58d906(0xda))/0x5+parseInt(_0x58d906(0xbc))/0x6*(parseInt(_0x58d906(0xac))/0x7)+-parseInt(_0x58d906(0x112))/0x8*(parseInt(_0x58d906(0xf5))/0x9)+parseInt(_0x58d906(0xa4))/0xa;if(_0x2a1bab===_0x3d84bd)break;else _0x5e4e3c['push'](_0x5e4e3c['shift']());}catch(_0x3a7b33){_0x5e4e3c['push'](_0x5e4e3c['shift']());}}}(_0x5f09,0x4b627));function _0x15fa(_0x131e00,_0x95f00b){_0x131e00=_0x131e00-0x99;const _0x5f0961=_0x5f09();let _0x15fa70=_0x5f0961[_0x131e00];return _0x15fa70;}class PostProcessManager{constructor(_0xf20dc9,_0x5e99c5,_0x5c1dda,_0x28d16f,_0x144dba){const _0x31a837=_0x15fa;this[_0x31a837(0xfa)]=null,this[_0x31a837(0xcb)]=[],this[_0x31a837(0x106)]=null,this[_0x31a837(0xd9)]=null,this['bloomPass']=null,this['dofPass']=null,this[_0x31a837(0xc0)]=null,this[_0x31a837(0x107)]=null,this[_0x31a837(0xf8)]=null,this['lut3dTexture']=null,this[_0x31a837(0xb9)]=null,this[_0x31a837(0xce)]=_0xf20dc9,this['scene']=_0x5e99c5,this[_0x31a837(0x9b)]=_0x5c1dda,this[_0x31a837(0xec)]=Object[_0x31a837(0x10e)]({},_0x28d16f),this[_0x31a837(0xb9)]=_0x144dba!==null&&_0x144dba!==void 0?_0x144dba:null;}get[_0x58f04c(0xf6)](){const _0x35ec26=_0x58f04c;return this[_0x35ec26(0xfa)];}[_0x58f04c(0xc8)](_0x88527a){const _0x3e5259=_0x58f04c;this[_0x3e5259(0x9b)]=_0x88527a,(!this[_0x3e5259(0xfa)]||!this[_0x3e5259(0x106)])&&(this[_0x3e5259(0xdb)](),this[_0x3e5259(0x110)](),this['markDirty']());}['setup'](){const _0x3f7463=_0x58f04c;(!this['postProcessing']||!this[_0x3f7463(0x106)])&&this[_0x3f7463(0xdb)](),this[_0x3f7463(0x110)](),this[_0x3f7463(0xff)]();}[_0x58f04c(0xdb)](){const _0x275abd=_0x58f04c;var _0x449412,_0x57d98b,_0x291156,_0x29b58d,_0x3b57f8;this['postProcessing']&&this[_0x275abd(0xfa)][_0x275abd(0xef)]();this[_0x275abd(0xfa)]=new webgpu.PostProcessing(this[_0x275abd(0xce)]),this[_0x275abd(0xd9)]=null,this[_0x275abd(0xed)]=null,this[_0x275abd(0xc1)]=null,this['gtaoPass']=null,this[_0x275abd(0x107)]=null,this[_0x275abd(0xf8)]=null,this[_0x275abd(0x106)]=this[_0x275abd(0xf3)]();const _0xa68cc0=new Set(this[_0x275abd(0xec)]['steps']['map'](_0x5b7903=>_0x5b7903[_0x275abd(0xee)])),_0x188acd=this[_0x275abd(0xad)](exports.PostProcessStepType[_0x275abd(0xf4)]),_0x184c87=_0xa68cc0[_0x275abd(0xe8)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']),_0x242980=(_0x188acd===null||_0x188acd===void 0?void 0:_0x188acd['method'])===_0x275abd(0xab),_0x2ac4d9=tsl.pass(this['scene'],this['camera']);if(_0x184c87||_0x242980){const _0x523027={'output':tsl.output};if(_0x184c87)_0x523027[_0x275abd(0xc5)]=tsl.normalView;if(_0x242980)_0x523027['velocity']=tsl.velocity;_0x2ac4d9[_0x275abd(0xdd)](tsl.mrt(_0x523027));}const _0x46d4f1=_0x2ac4d9[_0x275abd(0xf7)](_0x275abd(0xa3)),_0x2ca52d=_0x2ac4d9[_0x275abd(0xf7)]('depth'),_0x48047b=_0x2ac4d9[_0x275abd(0xc3)](),_0x91643=_0x184c87?_0x2ac4d9[_0x275abd(0xf7)](_0x275abd(0xc5)):null,_0x4110=_0x242980?_0x2ac4d9[_0x275abd(0xf7)]('velocity'):null,_0x5565fb=this[_0x275abd(0x106)];let _0x2cf251=_0x46d4f1;const _0x10712f=_0xa68cc0['has'](exports.PostProcessStepType[_0x275abd(0xeb)]),_0x33686b=_0xa68cc0[_0x275abd(0xe8)](exports.PostProcessStepType[_0x275abd(0xc9)]);if(_0x10712f||_0x33686b){const _0x235c33=(_0x449412=this[_0x275abd(0xad)](exports.PostProcessStepType[_0x275abd(0xeb)]))!==null&&_0x449412!==void 0?_0x449412:DefaultBloomParam;this[_0x275abd(0xed)]=BloomNode_js.bloom(_0x46d4f1),this['bloomPass']['threshold'][_0x275abd(0xa9)]=_0x235c33[_0x275abd(0xa0)],this[_0x275abd(0xed)][_0x275abd(0xe2)][_0x275abd(0xa9)]=_0x235c33[_0x275abd(0xe2)],this[_0x275abd(0xed)][_0x275abd(0xcd)][_0x275abd(0xa9)]=_0x235c33[_0x275abd(0xcd)];if(_0x10712f){const _0x1e3593=this[_0x275abd(0xed)][_0x275abd(0xaa)](_0x5565fb['bloomStrength']);_0x2cf251=tsl.vec4(_0x46d4f1['r'][_0x275abd(0x100)](_0x1e3593['r']),_0x46d4f1['g']['add'](_0x1e3593['g']),_0x46d4f1['b'][_0x275abd(0x100)](_0x1e3593['b']),_0x46d4f1['a']);}if(_0x33686b){const _0x5479a7=(_0x57d98b=this['getStepParam'](exports.PostProcessStepType[_0x275abd(0xc9)]))!==null&&_0x57d98b!==void 0?_0x57d98b:DefaultLensFlareParam;this[_0x275abd(0xf8)]=LensflareNode_js.lensflare(this[_0x275abd(0xed)][_0x275abd(0xf7)](),{'ghostTint':tsl.vec3(_0x5479a7[_0x275abd(0xba)][0x0],_0x5479a7['ghostTint'][0x1],_0x5479a7[_0x275abd(0xba)][0x2]),'threshold':tsl.float(_0x5479a7['threshold']),'ghostSamples':tsl.float(_0x5479a7[_0x275abd(0xa6)]),'ghostSpacing':tsl.float(_0x5479a7[_0x275abd(0xa8)]),'ghostAttenuationFactor':tsl.float(_0x5479a7[_0x275abd(0xd4)]),'downSampleRatio':_0x5479a7['downSampleRatio']});const _0x37ee3b=this[_0x275abd(0xf8)][_0x275abd(0xf7)]();_0x2cf251=tsl.vec4(_0x2cf251['r']['add'](_0x37ee3b['r']),_0x2cf251['g']['add'](_0x37ee3b['g']),_0x2cf251['b'][_0x275abd(0x100)](_0x37ee3b['b']),_0x2cf251['a']);}}if(_0xa68cc0['has'](exports.PostProcessStepType[_0x275abd(0xf0)])){const _0x16742f=(_0x291156=this[_0x275abd(0xad)](exports.PostProcessStepType['DepthOfField']))!==null&&_0x291156!==void 0?_0x291156:DefaultDOFParam;this[_0x275abd(0xc1)]=DepthOfFieldNode_js.dof(_0x2cf251,_0x48047b,tsl.uniform(_0x16742f['focus']),tsl.uniform(_0x16742f['aperture']),tsl.uniform(_0x16742f[_0x275abd(0xb5)])),_0x2cf251=tsl.vec4(this['dofPass']['r'],this[_0x275abd(0xc1)]['g'],this['dofPass']['b'],_0x46d4f1['a']);}if(_0x184c87&&_0x91643){const _0x5b2fca=(_0x29b58d=this['getStepParam'](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x29b58d!==void 0?_0x29b58d:DefaultGTAOParam;this[_0x275abd(0xc0)]=GTAONode_js.ao(_0x2ca52d,_0x91643,this[_0x275abd(0x9b)]),this[_0x275abd(0xc0)][_0x275abd(0xd8)]=0.5,this['gtaoPass']['distanceExponent']['value']=_0x5b2fca['distanceExponent'],this[_0x275abd(0xc0)]['distanceFallOff']['value']=_0x5b2fca[_0x275abd(0xcc)],this[_0x275abd(0xc0)][_0x275abd(0xcd)]['value']=_0x5b2fca[_0x275abd(0xcd)],this['gtaoPass'][_0x275abd(0xdf)][_0x275abd(0xa9)]=_0x5b2fca['scale'],this[_0x275abd(0xc0)][_0x275abd(0xb4)]['value']=_0x5b2fca[_0x275abd(0xb4)],this['gtaoPass']['samples']['value']=_0x5b2fca[_0x275abd(0x109)],this['gtaoPass'][_0x275abd(0xd3)]=_0x5b2fca[_0x275abd(0xd3)];const _0xde10c9=this[_0x275abd(0xc0)]['getTextureNode']()['r'];_0x2cf251=tsl.vec4(_0x2cf251['r'][_0x275abd(0xaa)](_0xde10c9),_0x2cf251['g']['mul'](_0xde10c9),_0x2cf251['b']['mul'](_0xde10c9),_0x2cf251['a']);}if(_0xa68cc0[_0x275abd(0xe8)](exports.PostProcessStepType[_0x275abd(0xb3)])){const _0x2701e4=(_0x3b57f8=this[_0x275abd(0xad)](exports.PostProcessStepType['Outline']))!==null&&_0x3b57f8!==void 0?_0x3b57f8:DefaultOutlineParams;this['outlinePass']=OutlineNode_js.outline(this[_0x275abd(0xcf)],this[_0x275abd(0x9b)],{'selectedObjects':this[_0x275abd(0xcb)],'edgeGlow':tsl.uniform(_0x2701e4['edgeGlow']),'edgeThickness':tsl.uniform(_0x2701e4['edgeThickness'])});const {visibleEdge:_0x34ad12,hiddenEdge:_0x4448fd}=this['outlinePass'],_0x25acf1=_0x5565fb[_0x275abd(0xb7)][_0x275abd(0x10d)](0x0)[_0x275abd(0xc4)](_0x5565fb[_0x275abd(0xb7)],tsl.uniform(0x1)),_0x3ef4a3=tsl.time['div'](_0x25acf1)[_0x275abd(0xaa)](0x2),_0x57e1eb=tsl.oscSine(_0x3ef4a3)[_0x275abd(0xaa)](0.5)[_0x275abd(0x100)](0.5),_0x2b051c=_0x34ad12[_0x275abd(0xaa)](_0x5565fb[_0x275abd(0xbb)])[_0x275abd(0x100)](_0x4448fd['mul'](_0x5565fb[_0x275abd(0x102)]))['mul'](_0x5565fb[_0x275abd(0x103)]),_0x5043f3=_0x5565fb[_0x275abd(0xb7)]['greaterThan'](0x0),_0x367f6a=_0x5043f3[_0x275abd(0xc4)](_0x57e1eb,tsl.float(0x1));_0x2cf251=tsl.vec4(_0x2cf251['r'][_0x275abd(0x100)](_0x2b051c['r']['mul'](_0x367f6a)),_0x2cf251['g'][_0x275abd(0x100)](_0x2b051c['g'][_0x275abd(0xaa)](_0x367f6a)),_0x2cf251['b'][_0x275abd(0x100)](_0x2b051c['b']['mul'](_0x367f6a)),_0x2cf251['a']);}if(_0x188acd){if(_0x188acd['method']===_0x275abd(0xbe))_0x2cf251=FXAANode_js.fxaa(_0x2cf251);else {if(_0x188acd[_0x275abd(0xc7)]===_0x275abd(0xe5))_0x2cf251=SMAANode_js.smaa(_0x2cf251);else _0x188acd['method']===_0x275abd(0xab)&&_0x4110&&(this[_0x275abd(0x107)]=TRAANode_js.traa(_0x2cf251,_0x2ca52d,_0x4110,this['camera']),_0x2cf251=this[_0x275abd(0x107)][_0x275abd(0xf7)]());}}_0x2cf251=this[_0x275abd(0x104)](_0x2cf251),_0x2cf251=tsl.vec4(_0x2cf251['r'],_0x2cf251['g'],_0x2cf251['b'],_0x46d4f1['a']),this[_0x275abd(0xfa)][_0x275abd(0xbd)]=_0x2cf251,this[_0x275abd(0xfa)][_0x275abd(0xe6)]=!![];}[_0x58f04c(0x104)](_0x2dfc34){return _0x2dfc34;}['createEffectUniforms'](){const _0x57e161=_0x58f04c;var _0x502ccb,_0x59b602,_0x51f6df,_0x43b8cb;const _0x20416a=(_0x502ccb=this['getStepParam'](exports.PostProcessStepType[_0x57e161(0xeb)]))!==null&&_0x502ccb!==void 0?_0x502ccb:DefaultBloomParam,_0x4269dc=(_0x59b602=this['getStepParam'](exports.PostProcessStepType[_0x57e161(0xf0)]))!==null&&_0x59b602!==void 0?_0x59b602:DefaultDOFParam,_0x106681=(_0x51f6df=this['getStepParam'](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x51f6df!==void 0?_0x51f6df:DefaultGTAOParam,_0x566e37=(_0x43b8cb=this[_0x57e161(0xad)](exports.PostProcessStepType[_0x57e161(0xb3)]))!==null&&_0x43b8cb!==void 0?_0x43b8cb:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x20416a['strength']),'bloomThreshold':tsl.uniform(_0x20416a[_0x57e161(0xa0)]),'bloomRadius':tsl.uniform(_0x20416a['radius']),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x4269dc[_0x57e161(0x9d)]),'dofAperture':tsl.uniform(_0x4269dc[_0x57e161(0xa2)]),'dofMaxBlur':tsl.uniform(_0x4269dc[_0x57e161(0xb5)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x106681[_0x57e161(0xdf)]),'gtaoDistanceExponent':tsl.uniform(_0x106681[_0x57e161(0x9f)]),'gtaoDistanceFallOff':tsl.uniform(_0x106681[_0x57e161(0xcc)]),'gtaoRadius':tsl.uniform(_0x106681[_0x57e161(0xcd)]),'gtaoThickness':tsl.uniform(_0x106681[_0x57e161(0xb4)]),'gtaoSamples':tsl.uniform(_0x106681[_0x57e161(0x109)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x566e37['edgeStrength']),'outlineEdgeGlow':tsl.uniform(_0x566e37[_0x57e161(0xaf)]),'outlineEdgeThickness':tsl.uniform(_0x566e37[_0x57e161(0x105)]),'outlinePulsePeriod':tsl.uniform(_0x566e37[_0x57e161(0xd1)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x566e37['visibleEdgeColor'])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x566e37[_0x57e161(0xb8)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x58f04c(0xad)](_0x3faf7b){const _0x37553d=_0x58f04c;var _0x2d909f;return (_0x2d909f=this['postProcessParam']['steps'][_0x37553d(0xd2)](_0x31b56b=>_0x31b56b['type']===_0x3faf7b))!==null&&_0x2d909f!==void 0?_0x2d909f:null;}[_0x58f04c(0x110)](){const _0x3f6850=_0x58f04c;if(!this[_0x3f6850(0x106)])return;const _0x3df089=this[_0x3f6850(0x106)],_0x2fbeb3=new Set(this[_0x3f6850(0xec)][_0x3f6850(0xe3)][_0x3f6850(0xc6)](_0x46205b=>_0x46205b[_0x3f6850(0xee)]));_0x3df089[_0x3f6850(0xd6)][_0x3f6850(0xa9)]=_0x2fbeb3[_0x3f6850(0xe8)](exports.PostProcessStepType['Bloom'])?0x1:0x0,_0x3df089[_0x3f6850(0x10f)]['value']=_0x2fbeb3[_0x3f6850(0xe8)](exports.PostProcessStepType[_0x3f6850(0xf0)])?0x1:0x0,_0x3df089['gtaoEnabled'][_0x3f6850(0xa9)]=_0x2fbeb3[_0x3f6850(0xe8)](exports.PostProcessStepType[_0x3f6850(0x108)])?0x1:0x0,_0x3df089[_0x3f6850(0xa5)][_0x3f6850(0xa9)]=_0x2fbeb3['has'](exports.PostProcessStepType['Outline'])?0x1:0x0,_0x3df089[_0x3f6850(0xfb)][_0x3f6850(0xa9)]=_0x2fbeb3[_0x3f6850(0xe8)](exports.PostProcessStepType[_0x3f6850(0xc9)])?0x1:0x0;const _0x360bb3=this[_0x3f6850(0xad)](exports.PostProcessStepType[_0x3f6850(0xf4)]);_0x360bb3?(_0x3df089[_0x3f6850(0xb6)]['value']=_0x360bb3[_0x3f6850(0xc7)]==='fxaa'?0x1:0x0,_0x3df089['smaaEnabled']['value']=_0x360bb3[_0x3f6850(0xc7)]==='smaa'?0x1:0x0):(_0x3df089['fxaaEnabled']['value']=0x0,_0x3df089[_0x3f6850(0xf2)]['value']=0x0);const _0x4221f0=this[_0x3f6850(0xad)](exports.PostProcessStepType[_0x3f6850(0xeb)]);_0x4221f0&&(_0x3df089['bloomStrength']['value']=_0x4221f0[_0x3f6850(0xe2)],_0x3df089[_0x3f6850(0xca)][_0x3f6850(0xa9)]=_0x4221f0[_0x3f6850(0xa0)],_0x3df089[_0x3f6850(0xa1)]['value']=_0x4221f0['radius'],this['bloomPass']&&(this['bloomPass'][_0x3f6850(0xa0)][_0x3f6850(0xa9)]=_0x4221f0[_0x3f6850(0xa0)],this[_0x3f6850(0xed)]['strength'][_0x3f6850(0xa9)]=_0x4221f0['strength'],this[_0x3f6850(0xed)]['radius'][_0x3f6850(0xa9)]=_0x4221f0[_0x3f6850(0xcd)]));const _0x24c181=this[_0x3f6850(0xad)](exports.PostProcessStepType[_0x3f6850(0xc9)]);if(_0x24c181&&this[_0x3f6850(0xf8)]);const _0x1659d8=this[_0x3f6850(0xad)](exports.PostProcessStepType[_0x3f6850(0xf0)]);_0x1659d8&&(_0x3df089[_0x3f6850(0xe0)][_0x3f6850(0xa9)]=_0x1659d8[_0x3f6850(0x9d)],_0x3df089['dofAperture'][_0x3f6850(0xa9)]=_0x1659d8[_0x3f6850(0xa2)],_0x3df089['dofMaxBlur'][_0x3f6850(0xa9)]=_0x1659d8[_0x3f6850(0xb5)],this[_0x3f6850(0xc1)]&&(this[_0x3f6850(0xc1)]['focusDistanceNode'][_0x3f6850(0xa9)]=_0x1659d8['focus'],this[_0x3f6850(0xc1)][_0x3f6850(0xa7)][_0x3f6850(0xa9)]=_0x1659d8[_0x3f6850(0xa2)],this[_0x3f6850(0xc1)][_0x3f6850(0xf9)]['value']=_0x1659d8[_0x3f6850(0xb5)]));const _0x318834=this[_0x3f6850(0xad)](exports.PostProcessStepType[_0x3f6850(0x108)]);_0x318834&&(_0x3df089[_0x3f6850(0xd0)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0xdf)],_0x3df089[_0x3f6850(0xb0)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0x9f)],_0x3df089[_0x3f6850(0x9a)][_0x3f6850(0xa9)]=_0x318834['distanceFallOff'],_0x3df089[_0x3f6850(0xdc)][_0x3f6850(0xa9)]=_0x318834['radius'],_0x3df089[_0x3f6850(0xde)][_0x3f6850(0xa9)]=_0x318834['thickness'],_0x3df089[_0x3f6850(0xd5)]['value']=_0x318834[_0x3f6850(0x109)],this[_0x3f6850(0xc0)]&&(this[_0x3f6850(0xc0)][_0x3f6850(0x9f)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0x9f)],this[_0x3f6850(0xc0)][_0x3f6850(0xcc)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0xcc)],this[_0x3f6850(0xc0)][_0x3f6850(0xcd)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0xcd)],this[_0x3f6850(0xc0)][_0x3f6850(0xdf)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0xdf)],this['gtaoPass'][_0x3f6850(0xb4)]['value']=_0x318834['thickness'],this[_0x3f6850(0xc0)][_0x3f6850(0x109)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0x109)],this[_0x3f6850(0xc0)][_0x3f6850(0xd3)]=_0x318834[_0x3f6850(0xd3)]));const _0xe40ed=this['getStepParam'](exports.PostProcessStepType[_0x3f6850(0xb3)]);_0xe40ed&&(_0x3df089['outlineEdgeStrength']['value']=_0xe40ed[_0x3f6850(0x99)],_0x3df089[_0x3f6850(0xe7)]['value']=_0xe40ed[_0x3f6850(0xaf)],_0x3df089[_0x3f6850(0x10a)][_0x3f6850(0xa9)]=_0xe40ed[_0x3f6850(0x105)],_0x3df089['outlinePulsePeriod'][_0x3f6850(0xa9)]=_0xe40ed['pulsePeriod'],_0x3df089['outlineVisibleEdgeColor'][_0x3f6850(0xa9)]['set'](_0xe40ed[_0x3f6850(0xfe)]),_0x3df089[_0x3f6850(0x102)][_0x3f6850(0xa9)]['set'](_0xe40ed['hiddenEdgeColor']),this[_0x3f6850(0xd9)]&&(this['outlinePass'][_0x3f6850(0xf1)][_0x3f6850(0xa9)]=_0xe40ed['edgeGlow'],this[_0x3f6850(0xd9)]['edgeThicknessNode']['value']=_0xe40ed[_0x3f6850(0x105)],this[_0x3f6850(0xd9)]['selectedObjects']=this[_0x3f6850(0xcb)]));}[_0x58f04c(0x10b)](_0x1dec0f){const _0x27ed46=_0x58f04c;this['postProcessParam'][_0x27ed46(0xe3)]=_0x1dec0f,this[_0x27ed46(0xdb)](),this[_0x27ed46(0x110)](),this[_0x27ed46(0xff)]();}[_0x58f04c(0x9e)](_0xc8197){const _0x5a3994=_0x58f04c;!this[_0x5a3994(0xcb)][_0x5a3994(0xfc)](_0xc8197)&&(this[_0x5a3994(0xcb)][_0x5a3994(0x101)](_0xc8197),this[_0x5a3994(0xd9)]&&(this[_0x5a3994(0xd9)][_0x5a3994(0xe1)]=this[_0x5a3994(0xcb)])),this[_0x5a3994(0xff)]();}[_0x58f04c(0xe4)](_0x4c66ad){const _0x1546e5=_0x58f04c;this[_0x1546e5(0xcb)][_0x1546e5(0xfd)]=0x0,this[_0x1546e5(0xcb)]['push'](..._0x4c66ad),this[_0x1546e5(0xd9)]&&(this['outlinePass']['selectedObjects']=this[_0x1546e5(0xcb)]),this[_0x1546e5(0xff)]();}[_0x58f04c(0xbf)](_0x399b09){const _0x25dedf=_0x58f04c,_0x4cca85=this[_0x25dedf(0xcb)][_0x25dedf(0xc2)](_0x399b09);_0x4cca85>-1&&(this['outlineObjects'][_0x25dedf(0x9c)](_0x4cca85,0x1),this[_0x25dedf(0xd9)]&&(this[_0x25dedf(0xd9)][_0x25dedf(0xe1)]=this[_0x25dedf(0xcb)])),this[_0x25dedf(0xff)]();}['setLUT3DTexture'](_0x434fb7){const _0x11d937=_0x58f04c;this[_0x11d937(0xae)]=_0x434fb7,this[_0x11d937(0xdb)](),this[_0x11d937(0x110)](),this[_0x11d937(0xff)]();}[_0x58f04c(0xd7)](){const _0x28bb54=_0x58f04c;return this[_0x28bb54(0xae)];}[_0x58f04c(0xea)](){const _0x5b81ba=_0x58f04c;if(this[_0x5b81ba(0xfa)])return this[_0x5b81ba(0xfa)][_0x5b81ba(0xea)](),!![];return ![];}[_0x58f04c(0x10c)](){const _0x9cdda7=_0x58f04c;this['outlineObjects']=[],this[_0x9cdda7(0x106)]=null,this[_0x9cdda7(0xd9)]=null,this[_0x9cdda7(0xed)]=null,this[_0x9cdda7(0xc1)]=null,this[_0x9cdda7(0xc0)]=null,this['traaPass']=null,this[_0x9cdda7(0xf8)]=null,this[_0x9cdda7(0xae)]=null,this[_0x9cdda7(0xfa)]&&(this['postProcessing']['dispose'](),this[_0x9cdda7(0xfa)]=null);}['markDirty'](){const _0x4d2dcd=_0x58f04c;this[_0x4d2dcd(0xb9)]&&this[_0x4d2dcd(0xb9)]();}}
|
|
70
81
|
|
|
71
|
-
function _0x23b8$1(){const _0x55f207=['3895129TaEpme','getWorldRightDirection','markRenderStateDirty','worldToLocal','removeComponent','getPosition','name','onClickDelegate','min','attachComponent','app','tick','5bNjdgi','forEach','clearComponent','onHoverEndDelegate','rootComponent\x20is\x20invalid','userData','setRotation','23CeVihA','uuid','_world','children','broadcast','onActorHoverBegin','detachFromParentComponent','17079804BEIuRY','setScale','childrenComponents','isClickEnabled','localToWorld','length','constructRootComponent','removeTickableActor','getScale','_onHoverBeginDelegate','rootComponent','getWorldMatrix','addComponent','setWorldMatrix','getWorldUpDirection','parentActor','push','getCenter','_name','delete','getRotation','setQuaternion','destroy','setVisible','KeepWorld','getBoundsCenterPosition','getQuaternion','setLayers','63340qNAfLQ','onAddedToWorld','parent','onActorDoubleClick','addChildActor','removeChildComponent','2773179XwiFds','removeChildActor','_onHoverEndDelegate','2155600obkvkz','error','isHoverEnabled','getWorldRotation','getBoundsTopCenterPosition','onDoubleClickDelegate','setPosition','getWorldPosition','getChildActorsByIds','Actor','size','_onClickDelegate','addChildComponent','_rootComponent','isTickEnabled','678512reugOt','LYObject','getWorldScale','isVisible','detachComponent','_onDoubleClickDelegate','world','getChildActorById','onHoverBeginDelegate','getBounds','onActorClick','662994cgQwQG','KeepRelative','onRemovedFromWorld','sub','childActors','getComponentById'];_0x23b8$1=function(){return _0x55f207;};return _0x23b8$1();}const _0x165e2a=_0x1ae4;(function(_0x364ef9,_0x52283f){const _0x5433c6=_0x1ae4,_0x291bd7=_0x364ef9();while(!![]){try{const _0x280e76=parseInt(_0x5433c6(0x206))/0x1*(parseInt(_0x5433c6(0x229))/0x2)+-parseInt(_0x5433c6(0x22f))/0x3+-parseInt(_0x5433c6(0x232))/0x4*(parseInt(_0x5433c6(0x1ff))/0x5)+-parseInt(_0x5433c6(0x1ed))/0x6+-parseInt(_0x5433c6(0x1f3))/0x7+parseInt(_0x5433c6(0x1e2))/0x8+parseInt(_0x5433c6(0x20d))/0x9;if(_0x280e76===_0x52283f)break;else _0x291bd7['push'](_0x291bd7['shift']());}catch(_0x56c069){_0x291bd7['push'](_0x291bd7['shift']());}}}(_0x23b8$1,0x8dc85));function _0x1ae4(_0x267f0c,_0x318d70){_0x267f0c=_0x267f0c-0x1d5;const _0x23b8cf=_0x23b8$1();let _0x1ae437=_0x23b8cf[_0x267f0c];return _0x1ae437;}class Actor extends BaseObject{get[_0x165e2a(0x1e8)](){const _0x54477b=_0x165e2a;return this[_0x54477b(0x208)];}get[_0x165e2a(0x1f9)](){const _0x466126=_0x165e2a;return this[_0x466126(0x21f)];}set[_0x165e2a(0x1f9)](_0x260103){const _0x24645b=_0x165e2a;this[_0x24645b(0x21f)]=_0x260103;}get[_0x165e2a(0x217)](){const _0x54d5e9=_0x165e2a;if(!this[_0x54d5e9(0x1e0)])throw Error(_0x54d5e9(0x203));return this[_0x54d5e9(0x1e0)];}set[_0x165e2a(0x217)](_0x305a99){const _0x53642f=_0x165e2a;_0x305a99[_0x53642f(0x20c)](),_0x305a99[_0x53642f(0x21c)]=this;if(this[_0x53642f(0x1e0)]){let _0x34cacc=this[_0x53642f(0x217)][_0x53642f(0x20f)];for(let _0x588af7=0x0;_0x588af7<_0x34cacc[_0x53642f(0x212)];++_0x588af7){_0x305a99[_0x53642f(0x1df)](_0x34cacc[_0x588af7]);}this['rootComponent'][_0x53642f(0x223)]();}this[_0x53642f(0x1e0)]=_0x305a99;}get[_0x165e2a(0x20f)](){const _0x37c3cf=_0x165e2a;return this['rootComponent'][_0x37c3cf(0x20f)];}get['childActors'](){const _0xfdc78f=_0x165e2a;var _0x3aa2ef;let _0x5ed12b=[];return (_0x3aa2ef=this[_0xfdc78f(0x217)]['threeObject'])===null||_0x3aa2ef===void 0?void 0:_0x3aa2ef[_0xfdc78f(0x209)][_0xfdc78f(0x200)](_0x43a5f6=>{const _0x33cb71=_0xfdc78f;var _0x508a8c;let _0x20c4c8=(_0x508a8c=_0x43a5f6[_0x33cb71(0x204)][_0x33cb71(0x1e3)])===null||_0x508a8c===void 0?void 0:_0x508a8c[_0x33cb71(0x21c)];_0x20c4c8!==this&&_0x20c4c8 instanceof Actor&&_0x5ed12b['push'](_0x20c4c8);}),_0x5ed12b;}get[_0x165e2a(0x21c)](){const _0xabdfaa=_0x165e2a;var _0x5f47ac,_0x276e73;let _0x1cd350=(_0x276e73=(_0x5f47ac=this[_0xabdfaa(0x217)]['threeObject'])===null||_0x5f47ac===void 0?void 0:_0x5f47ac[_0xabdfaa(0x22b)])===null||_0x276e73===void 0?void 0:_0x276e73[_0xabdfaa(0x204)][_0xabdfaa(0x1e3)][_0xabdfaa(0x21c)];return _0x1cd350===this?null:_0x1cd350;}get[_0x165e2a(0x1e5)](){const _0x58ce58=_0x165e2a;return this['rootComponent']?this[_0x58ce58(0x217)][_0x58ce58(0x1e5)]:![];}get['isTickEnabled'](){const _0x1feaf2=_0x165e2a;return super[_0x1feaf2(0x1e1)];}set['isTickEnabled'](_0x38f50c){const _0x49aaaf=_0x165e2a;super[_0x49aaaf(0x1e1)]=_0x38f50c,this[_0x49aaaf(0x1e1)]?this[_0x49aaaf(0x1fd)][_0x49aaaf(0x1e8)]['addTickableActor'](this):this[_0x49aaaf(0x1fd)][_0x49aaaf(0x1e8)][_0x49aaaf(0x214)](this);}get[_0x165e2a(0x1ea)](){const _0x5d8cf9=_0x165e2a;return this[_0x5d8cf9(0x216)];}get[_0x165e2a(0x202)](){const _0x12e646=_0x165e2a;return this[_0x12e646(0x231)];}get[_0x165e2a(0x1fa)](){const _0x3c42f1=_0x165e2a;return this[_0x3c42f1(0x1de)];}get[_0x165e2a(0x1d8)](){const _0x301404=_0x165e2a;return this[_0x301404(0x1e7)];}constructor(_0x59a7ff,_0x25ef29){const _0x112940=_0x165e2a;super(_0x25ef29),this[_0x112940(0x21f)]=_0x112940(0x1dc),this['_rootComponent']=null,this[_0x112940(0x208)]=null,this[_0x112940(0x216)]=new Delegate(),this[_0x112940(0x231)]=new Delegate(),this[_0x112940(0x1de)]=new Delegate(),this[_0x112940(0x1e7)]=new Delegate(),this[_0x112940(0x1fd)]=_0x59a7ff,this[_0x112940(0x217)]=this[_0x112940(0x213)](),this[_0x112940(0x217)][_0x112940(0x21c)]=this;}[_0x165e2a(0x213)](){const _0x4a0ef3=_0x165e2a;return new SceneComponent(this[_0x4a0ef3(0x1fd)]);}[_0x165e2a(0x226)](_0x1f6424=!![]){const _0x4de5df=_0x165e2a;let _0x59f720=new webgpu.Vector3();return this['getBounds']()['getCenter'](_0x59f720),!_0x1f6424?_0x59f720['sub'](this[_0x4de5df(0x1f8)]()):_0x59f720;}[_0x165e2a(0x1e9)](_0x404df4,_0x48fd56=!![]){const _0x243bef=_0x165e2a,_0x2b6a5d=this[_0x243bef(0x1f1)];for(const _0x4d60ad of _0x2b6a5d){if(_0x4d60ad[_0x243bef(0x207)]===_0x404df4)return _0x4d60ad;}if(_0x48fd56)for(const _0x4275ab of _0x2b6a5d){const _0x5f5243=_0x4275ab[_0x243bef(0x1e9)](_0x404df4,!![]);if(_0x5f5243)return _0x5f5243;}return null;}[_0x165e2a(0x1db)](_0x14d745,_0x407e4c=!![]){const _0x56f874=_0x165e2a,_0x139e55=[],_0x32be3d=new Set(_0x14d745),_0x44631d=this[_0x56f874(0x1f1)];for(const _0x3fd78b of _0x44631d){_0x32be3d['has'](_0x3fd78b[_0x56f874(0x207)])&&(_0x139e55[_0x56f874(0x21d)](_0x3fd78b),_0x32be3d[_0x56f874(0x220)](_0x3fd78b['uuid']));}if(_0x407e4c&&_0x32be3d[_0x56f874(0x1dd)]>0x0)for(const _0xcb8a89 of _0x44631d){const _0x26dc86=_0xcb8a89[_0x56f874(0x1db)]([..._0x32be3d],!![]);for(const _0xb23b7c of _0x26dc86){_0x139e55[_0x56f874(0x21d)](_0xb23b7c),_0x32be3d[_0x56f874(0x220)](_0xb23b7c[_0x56f874(0x207)]);}if(_0x32be3d[_0x56f874(0x1dd)]===0x0)break;}return _0x139e55;}[_0x165e2a(0x1f2)](_0x47c460){const _0x2785a7=_0x165e2a;return this[_0x2785a7(0x217)][_0x2785a7(0x1f2)](_0x47c460);}[_0x165e2a(0x1d7)](_0x3fd02c=!![]){const _0x56d953=_0x165e2a;let _0x4b5e50=new webgpu.Vector3(),_0x1bcfa9=this[_0x56d953(0x217)][_0x56d953(0x1eb)]();return _0x1bcfa9[_0x56d953(0x21e)](_0x4b5e50),_0x4b5e50['y']=_0x1bcfa9['max']['y'],!_0x3fd02c?_0x4b5e50[_0x56d953(0x1f0)](this[_0x56d953(0x1f8)]()):_0x4b5e50;}['getBoundsBottomCenterPosition'](_0x59c218=!![]){const _0x51fe9b=_0x165e2a;let _0x581468=new webgpu.Vector3(),_0x320dd7=this[_0x51fe9b(0x1eb)]();return _0x320dd7['getCenter'](_0x581468),_0x581468['y']=_0x320dd7[_0x51fe9b(0x1fb)]['y'],!_0x59c218?_0x581468[_0x51fe9b(0x1f0)](this[_0x51fe9b(0x1f8)]()):_0x581468;}[_0x165e2a(0x1eb)](){const _0xc3011f=_0x165e2a;return this[_0xc3011f(0x217)][_0xc3011f(0x1eb)]();}[_0x165e2a(0x223)](){const _0x1db1f9=_0x165e2a;let _0x537262=this['childActors'];_0x537262[_0x1db1f9(0x200)](_0xc88f87=>{const _0x1c3671=_0x1db1f9;_0xc88f87[_0x1c3671(0x223)]();}),this[_0x1db1f9(0x217)][_0x1db1f9(0x223)]();}[_0x165e2a(0x224)](_0x45ffc9){const _0x4a793c=_0x165e2a;this[_0x4a793c(0x217)][_0x4a793c(0x224)](_0x45ffc9);}[_0x165e2a(0x228)](_0x2de4bb,_0x23461a=!![]){const _0x49cf60=_0x165e2a;this['rootComponent'][_0x49cf60(0x228)](_0x2de4bb),_0x23461a&&this['childActors']['forEach'](_0x16d237=>{_0x16d237['setLayers'](_0x2de4bb,_0x23461a);});}[_0x165e2a(0x1fe)](_0x275b10){const _0x5d3707=_0x165e2a;if(!this[_0x5d3707(0x1e1)])return;super[_0x5d3707(0x1fe)](_0x275b10),this[_0x5d3707(0x217)][_0x5d3707(0x1fe)](_0x275b10);}[_0x165e2a(0x1f8)](){const _0x4732e0=_0x165e2a;return this[_0x4732e0(0x217)][_0x4732e0(0x1f8)]();}[_0x165e2a(0x1d9)](..._0x3da8e0){const _0x50f802=_0x165e2a;_0x3da8e0[_0x50f802(0x212)]===0x1?this[_0x50f802(0x217)][_0x50f802(0x1d9)](_0x3da8e0[0x0]):this[_0x50f802(0x217)][_0x50f802(0x1d9)](_0x3da8e0[0x0],_0x3da8e0[0x1],_0x3da8e0[0x2]);}[_0x165e2a(0x221)](){const _0x18fe76=_0x165e2a;return this[_0x18fe76(0x217)]['getRotation']();}[_0x165e2a(0x205)](..._0x229113){const _0x2c646c=_0x165e2a;_0x229113[_0x2c646c(0x212)]===0x1?this[_0x2c646c(0x217)]['setRotation'](_0x229113[0x0]):this[_0x2c646c(0x217)][_0x2c646c(0x205)](_0x229113[0x0],_0x229113[0x1],_0x229113[0x2]);}[_0x165e2a(0x227)](){const _0x47a316=_0x165e2a;return this[_0x47a316(0x217)][_0x47a316(0x227)]();}[_0x165e2a(0x222)](..._0x4e6c5c){const _0x37c956=_0x165e2a;_0x4e6c5c['length']===0x1?this['rootComponent'][_0x37c956(0x222)](_0x4e6c5c[0x0]):this[_0x37c956(0x217)][_0x37c956(0x222)](_0x4e6c5c[0x0],_0x4e6c5c[0x1],_0x4e6c5c[0x2],_0x4e6c5c[0x3]);}[_0x165e2a(0x215)](){const _0xa99f6f=_0x165e2a;return this[_0xa99f6f(0x217)]['getScale']();}[_0x165e2a(0x20e)](..._0x4e3bc0){const _0x8fa9cd=_0x165e2a;_0x4e3bc0[_0x8fa9cd(0x212)]===0x1?this[_0x8fa9cd(0x217)]['setScale'](_0x4e3bc0[0x0]):this[_0x8fa9cd(0x217)]['setScale'](_0x4e3bc0[0x0],_0x4e3bc0[0x1],_0x4e3bc0[0x2]);}[_0x165e2a(0x218)](){return this['rootComponent']['getWorldMatrix']();}[_0x165e2a(0x21a)](_0x3e4e11){const _0x220d3b=_0x165e2a;this[_0x220d3b(0x217)][_0x220d3b(0x21a)](_0x3e4e11);}[_0x165e2a(0x1da)](){const _0x224347=_0x165e2a;return this[_0x224347(0x217)][_0x224347(0x1da)]();}[_0x165e2a(0x1d6)](){const _0x352c91=_0x165e2a;return this['rootComponent'][_0x352c91(0x1d6)]();}['getWorldQuaternion'](){return this['rootComponent']['getWorldQuaternion']();}[_0x165e2a(0x1e4)](){const _0x22e46e=_0x165e2a;return this['rootComponent'][_0x22e46e(0x1e4)]();}['getWorldForwardDirection'](){const _0xfa3629=_0x165e2a;return this[_0xfa3629(0x217)]['getWorldForwardDirection']();}[_0x165e2a(0x21b)](){const _0x183f05=_0x165e2a;return this['rootComponent'][_0x183f05(0x21b)]();}[_0x165e2a(0x1f4)](){const _0x2036ad=_0x165e2a;return this['rootComponent'][_0x2036ad(0x1f4)]();}['addLocalOffset'](_0x56ceb9,_0x55b7ac){const _0x1fc4b6=_0x165e2a;let _0x954a7=this[_0x1fc4b6(0x1f8)]();this[_0x1fc4b6(0x1d9)](_0x954a7['x']+_0x56ceb9['x']*_0x55b7ac,_0x954a7['y']+_0x56ceb9['y']*_0x55b7ac,_0x954a7['z']+_0x56ceb9['z']*_0x55b7ac);}[_0x165e2a(0x1f6)](_0x55471e){const _0x25a9e1=_0x165e2a;return this[_0x25a9e1(0x217)][_0x25a9e1(0x1f6)](_0x55471e);}[_0x165e2a(0x211)](_0x2acadd){const _0x5da6bd=_0x165e2a;return this[_0x5da6bd(0x217)][_0x5da6bd(0x211)](_0x2acadd);}['getComponents'](){return this['rootComponent']['childrenComponents'];}[_0x165e2a(0x219)](_0x3fe5ab,_0xdfb5fc=exports.AttachmentRules[_0x165e2a(0x1ee)]){const _0x1c0b69=_0x165e2a;this[_0x1c0b69(0x217)][_0x1c0b69(0x1df)](_0x3fe5ab,_0xdfb5fc),this['_world']&&_0x3fe5ab[_0x1c0b69(0x22a)](this[_0x1c0b69(0x208)]);}[_0x165e2a(0x1f7)](_0x35067b){const _0x2db6b4=_0x165e2a;if(_0x35067b===this[_0x2db6b4(0x1e0)])return;this[_0x2db6b4(0x217)][_0x2db6b4(0x22e)](_0x35067b);}[_0x165e2a(0x201)](){const _0x4ce79c=_0x165e2a;this[_0x4ce79c(0x217)]['destroyChildren']();}[_0x165e2a(0x22d)](_0x5053db,_0x2328e7=exports.AttachmentRules[_0x165e2a(0x225)]){const _0x3dd6d1=_0x165e2a;if(!_0x5053db['rootComponent']){console[_0x3dd6d1(0x233)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0x5053db[_0x3dd6d1(0x21c)]===this)return;_0x2328e7===exports.AttachmentRules[_0x3dd6d1(0x1ee)]&&this[_0x3dd6d1(0x217)][_0x3dd6d1(0x1fc)](_0x5053db[_0x3dd6d1(0x217)]);if(_0x2328e7===exports.AttachmentRules['KeepWorld']){let _0x3efaac=_0x5053db[_0x3dd6d1(0x218)]();this[_0x3dd6d1(0x217)]['attachComponent'](_0x5053db[_0x3dd6d1(0x217)]),_0x5053db[_0x3dd6d1(0x21a)](_0x3efaac);}this['_world']&&this[_0x3dd6d1(0x208)]['viewport'][_0x3dd6d1(0x1f5)]();}['removeChildActor'](_0x481633){const _0x3d1bc6=_0x165e2a;let _0x440339=_0x481633[_0x3d1bc6(0x218)]();this[_0x3d1bc6(0x217)][_0x3d1bc6(0x1e6)](_0x481633[_0x3d1bc6(0x217)]),_0x481633[_0x3d1bc6(0x21a)](_0x440339);}['removeFromParent'](){const _0x4c8505=_0x165e2a;this[_0x4c8505(0x21c)]&&this[_0x4c8505(0x21c)][_0x4c8505(0x230)](this);}[_0x165e2a(0x22a)](_0x4a3bb4){const _0x595d0c=_0x165e2a;this[_0x595d0c(0x208)]=_0x4a3bb4,this[_0x595d0c(0x217)][_0x595d0c(0x22a)](this[_0x595d0c(0x208)]),this[_0x595d0c(0x1f1)][_0x595d0c(0x200)](_0xe84551=>{_0xe84551['onAddedToWorld'](_0x4a3bb4);});}[_0x165e2a(0x1ef)](){const _0x266844=_0x165e2a;this[_0x266844(0x208)]=null;}get[_0x165e2a(0x1d5)](){const _0x362785=_0x165e2a;return this['rootComponent'][_0x362785(0x1d5)];}set[_0x165e2a(0x1d5)](_0x4b17a2){const _0x3ae7f6=_0x165e2a;this['rootComponent'][_0x3ae7f6(0x1d5)]=_0x4b17a2;}get[_0x165e2a(0x210)](){const _0x419dde=_0x165e2a;return this[_0x419dde(0x217)][_0x419dde(0x210)];}set[_0x165e2a(0x210)](_0x1b88cf){const _0x1354b8=_0x165e2a;this['rootComponent'][_0x1354b8(0x210)]=_0x1b88cf;}[_0x165e2a(0x20b)](_0x50c9e5){const _0x4de79a=_0x165e2a;this[_0x4de79a(0x216)][_0x4de79a(0x20a)](_0x50c9e5);}['onActorHoverEnd'](_0x48196a){const _0x395dcc=_0x165e2a;this[_0x395dcc(0x231)][_0x395dcc(0x20a)](_0x48196a);}[_0x165e2a(0x1ec)](_0x2d0538){const _0xed05a1=_0x165e2a;this[_0xed05a1(0x1de)]['broadcast'](_0x2d0538);}[_0x165e2a(0x22c)](_0x54bf22){const _0x1496c2=_0x165e2a;this[_0x1496c2(0x1e7)]['broadcast'](_0x54bf22);}}
|
|
82
|
+
const _0xb46d85=_0x507e;(function(_0x55fee5,_0x1fd7e0){const _0x47b30f=_0x507e,_0x23b9ce=_0x55fee5();while(!![]){try{const _0x360c86=parseInt(_0x47b30f(0x1cb))/0x1*(-parseInt(_0x47b30f(0x200))/0x2)+-parseInt(_0x47b30f(0x211))/0x3*(-parseInt(_0x47b30f(0x1d7))/0x4)+parseInt(_0x47b30f(0x20a))/0x5*(parseInt(_0x47b30f(0x1d3))/0x6)+parseInt(_0x47b30f(0x1db))/0x7+-parseInt(_0x47b30f(0x202))/0x8+-parseInt(_0x47b30f(0x1e3))/0x9+parseInt(_0x47b30f(0x1f4))/0xa*(parseInt(_0x47b30f(0x20f))/0xb);if(_0x360c86===_0x1fd7e0)break;else _0x23b9ce['push'](_0x23b9ce['shift']());}catch(_0x586dac){_0x23b9ce['push'](_0x23b9ce['shift']());}}}(_0x58ef,0xd97ba));function _0x507e(_0x1db20c,_0x18cbe5){_0x1db20c=_0x1db20c-0x1c3;const _0x58efd9=_0x58ef();let _0x507e34=_0x58efd9[_0x1db20c];return _0x507e34;}function _0x58ef(){const _0x34dbce=['threshold','scene','248465BnDMTO','focus','updateOutlineParameters','buildPipeline','map','33vOlTgM','length','24BSXOMw','steps','getLUT3DTexture','DepthOfField','getSize','value','outputPass','visibleEdgeColor','maxblur','renderer','Outline','destroy','dispose','17502UYdJCx','assign','gtaoPass','setSize','fxaaPass','smaaPass','markDirty','strength','24laKCxJ','selectedObjects','Antialiasing','updateCamera','536612ANbNuA','setup','render','bloomPass','6340698mlRRlw','addOutlineObject','camera','lutPass','smaa','renderPass','fxaa','outlineObjects','13520997zrbXLW','pulsePeriod','postProcessParam','uniforms','updateAllParameters','GroundTruthAmbientOcclusion','setOutlineObjects','setLUT3DTexture','dofPass','set','indexOf','resolution','updateGTAOParameters','push','includes','aperture','edgeThickness','5710340TUjjHh','blendIntensity','processing','hiddenEdgeColor','renderCamera','onDirtyCallback','edgeStrength','lut3dTexture','composer','resize','radius','Bloom','144NjZaSs','type','1901000HlYEpw','getStepParam','outlinePass','addPass','has','edgeGlow'];_0x58ef=function(){return _0x34dbce;};return _0x58ef();}class WebGLPostProcessManager{constructor(_0x53c8b1,_0x2d5862,_0x3db9e0,_0x1ab8f1,_0x3815f5){const _0x1d78f9=_0x507e;this[_0x1d78f9(0x1fc)]=null,this[_0x1d78f9(0x1e2)]=[],this[_0x1d78f9(0x1e0)]=null,this[_0x1d78f9(0x204)]=null,this[_0x1d78f9(0x1da)]=null,this[_0x1d78f9(0x1eb)]=null,this[_0x1d78f9(0x1cd)]=null,this[_0x1d78f9(0x1d0)]=null,this[_0x1d78f9(0x1cf)]=null,this[_0x1d78f9(0x1de)]=null,this[_0x1d78f9(0x1c4)]=null,this[_0x1d78f9(0x1fb)]=null,this[_0x1d78f9(0x1f9)]=null,this[_0x1d78f9(0x1c7)]=_0x53c8b1,this[_0x1d78f9(0x209)]=_0x2d5862,this['camera']=_0x3db9e0,this['postProcessParam']=Object[_0x1d78f9(0x1cc)]({},_0x1ab8f1),this[_0x1d78f9(0x1f9)]=_0x3815f5!==null&&_0x3815f5!==void 0?_0x3815f5:null;}get[_0xb46d85(0x1f6)](){const _0xd7628f=_0xb46d85;return this[_0xd7628f(0x1fc)];}[_0xb46d85(0x1d6)](_0xb15cd2){const _0x364797=_0xb46d85;this[_0x364797(0x1dd)]=_0xb15cd2;if(!this[_0x364797(0x1fc)])this['buildPipeline'](),this[_0x364797(0x1d1)]();else {if(this[_0x364797(0x1e0)])this[_0x364797(0x1e0)]['camera']=this[_0x364797(0x1dd)];if(this[_0x364797(0x204)])this[_0x364797(0x204)][_0x364797(0x1f8)]=this[_0x364797(0x1dd)];this[_0x364797(0x1eb)]&&(this['dofPass']['camera']=this[_0x364797(0x1dd)]),this[_0x364797(0x1cd)]&&(this[_0x364797(0x1cd)][_0x364797(0x1dd)]=this[_0x364797(0x1dd)]);}}[_0xb46d85(0x1d8)](){const _0x2e1a71=_0xb46d85;!this[_0x2e1a71(0x1fc)]?this[_0x2e1a71(0x20d)]():this[_0x2e1a71(0x1e7)](),this[_0x2e1a71(0x1d1)]();}[_0xb46d85(0x20d)](){const _0x4e5e08=_0xb46d85;var _0x5239df,_0x5f1a8b,_0x252219,_0x2f69be;this[_0x4e5e08(0x1fc)]&&this[_0x4e5e08(0x1fc)][_0x4e5e08(0x1ca)]();this[_0x4e5e08(0x1fc)]=new EffectComposer_js.EffectComposer(this[_0x4e5e08(0x1c7)]),this[_0x4e5e08(0x1e0)]=new RenderPass_js.RenderPass(this[_0x4e5e08(0x209)],this[_0x4e5e08(0x1dd)]),this['composer'][_0x4e5e08(0x205)](this['renderPass']),this[_0x4e5e08(0x204)]=null,this[_0x4e5e08(0x1da)]=null,this[_0x4e5e08(0x1eb)]=null,this[_0x4e5e08(0x1cd)]=null,this['smaaPass']=null,this['fxaaPass']=null,this[_0x4e5e08(0x1de)]=null,this[_0x4e5e08(0x1c4)]=null;const _0x2c7737=new Set(this[_0x4e5e08(0x1e5)][_0x4e5e08(0x212)][_0x4e5e08(0x20e)](_0x4fe8ba=>_0x4fe8ba[_0x4e5e08(0x201)]));if(_0x2c7737[_0x4e5e08(0x206)](exports.PostProcessStepType[_0x4e5e08(0x1e8)])){const _0x4380d7=(_0x5239df=this[_0x4e5e08(0x203)](exports.PostProcessStepType[_0x4e5e08(0x1e8)]))!==null&&_0x5239df!==void 0?_0x5239df:DefaultGTAOParam,_0x401853=this[_0x4e5e08(0x1c7)][_0x4e5e08(0x215)](new three.Vector2());this[_0x4e5e08(0x1cd)]=new GTAOPass_js.GTAOPass(this[_0x4e5e08(0x209)],this[_0x4e5e08(0x1dd)],_0x401853['x'],_0x401853['y']),this['updateGTAOParameters'](_0x4380d7),this[_0x4e5e08(0x1fc)][_0x4e5e08(0x205)](this[_0x4e5e08(0x1cd)]);}if(_0x2c7737['has'](exports.PostProcessStepType[_0x4e5e08(0x214)])){const _0x33c167=(_0x5f1a8b=this[_0x4e5e08(0x203)](exports.PostProcessStepType[_0x4e5e08(0x214)]))!==null&&_0x5f1a8b!==void 0?_0x5f1a8b:DefaultDOFParam;this['dofPass']=new BokehPass_js.BokehPass(this[_0x4e5e08(0x209)],this[_0x4e5e08(0x1dd)],{'focus':_0x33c167[_0x4e5e08(0x20b)],'aperture':_0x33c167[_0x4e5e08(0x1f2)],'maxblur':_0x33c167[_0x4e5e08(0x1c6)]}),this[_0x4e5e08(0x1fc)][_0x4e5e08(0x205)](this['dofPass']);}if(_0x2c7737['has'](exports.PostProcessStepType['Bloom'])){const _0x9b5ffb=(_0x252219=this[_0x4e5e08(0x203)](exports.PostProcessStepType[_0x4e5e08(0x1ff)]))!==null&&_0x252219!==void 0?_0x252219:DefaultBloomParam,_0x46e010=this[_0x4e5e08(0x1c7)][_0x4e5e08(0x215)](new three.Vector2());this[_0x4e5e08(0x1da)]=new UnrealBloomPass_js.UnrealBloomPass(_0x46e010,_0x9b5ffb[_0x4e5e08(0x1d2)],_0x9b5ffb[_0x4e5e08(0x1fe)],_0x9b5ffb['threshold']),this[_0x4e5e08(0x1fc)]['addPass'](this[_0x4e5e08(0x1da)]);}if(_0x2c7737['has'](exports.PostProcessStepType['Outline'])){const _0x49c6b7=(_0x2f69be=this[_0x4e5e08(0x203)](exports.PostProcessStepType[_0x4e5e08(0x1c8)]))!==null&&_0x2f69be!==void 0?_0x2f69be:DefaultOutlineParams,_0x5d8e49=this[_0x4e5e08(0x1c7)]['getSize'](new three.Vector2());this['outlinePass']=new OutlinePass_js.OutlinePass(_0x5d8e49,this[_0x4e5e08(0x209)],this[_0x4e5e08(0x1dd)]),this[_0x4e5e08(0x204)]['selectedObjects']=this['outlineObjects'],this[_0x4e5e08(0x20c)](_0x49c6b7),this[_0x4e5e08(0x1fc)]['addPass'](this[_0x4e5e08(0x204)]);}this[_0x4e5e08(0x1fb)]&&(this[_0x4e5e08(0x1de)]=new LUTPass_js.LUTPass({'lut':this[_0x4e5e08(0x1fb)]}),this['composer'][_0x4e5e08(0x205)](this[_0x4e5e08(0x1de)]));const _0x3bba23=this[_0x4e5e08(0x203)](exports.PostProcessStepType[_0x4e5e08(0x1d5)]);if(_0x3bba23){const _0xd66f0b=this[_0x4e5e08(0x1c7)][_0x4e5e08(0x215)](new three.Vector2());if(_0x3bba23['method']===_0x4e5e08(0x1e1))this['fxaaPass']=new ShaderPass_js.ShaderPass(FXAAShader_js.FXAAShader),this[_0x4e5e08(0x1cf)]['uniforms'][_0x4e5e08(0x1ee)][_0x4e5e08(0x1c3)][_0x4e5e08(0x1ec)](0x1/_0xd66f0b['x'],0x1/_0xd66f0b['y']),this[_0x4e5e08(0x1fc)][_0x4e5e08(0x205)](this[_0x4e5e08(0x1cf)]);else _0x3bba23['method']===_0x4e5e08(0x1df)&&(this[_0x4e5e08(0x1d0)]=new SMAAPass_js.SMAAPass(_0xd66f0b['x'],_0xd66f0b['y']),this[_0x4e5e08(0x1fc)][_0x4e5e08(0x205)](this[_0x4e5e08(0x1d0)]));}this[_0x4e5e08(0x1c4)]=new OutputPass_js.OutputPass(),this['composer'][_0x4e5e08(0x205)](this['outputPass']);}[_0xb46d85(0x203)](_0x4de9cd){const _0x41e559=_0xb46d85;var _0x553f8f;return (_0x553f8f=this['postProcessParam'][_0x41e559(0x212)]['find'](_0x3f73bb=>_0x3f73bb[_0x41e559(0x201)]===_0x4de9cd))!==null&&_0x553f8f!==void 0?_0x553f8f:null;}[_0xb46d85(0x1e7)](){const _0x2e27d4=_0xb46d85,_0xf182b2=this[_0x2e27d4(0x203)](exports.PostProcessStepType['Bloom']);_0xf182b2&&this['bloomPass']&&(this[_0x2e27d4(0x1da)][_0x2e27d4(0x1d2)]=_0xf182b2[_0x2e27d4(0x1d2)],this[_0x2e27d4(0x1da)][_0x2e27d4(0x1fe)]=_0xf182b2[_0x2e27d4(0x1fe)],this[_0x2e27d4(0x1da)][_0x2e27d4(0x208)]=_0xf182b2['threshold']);const _0x3f2df1=this['getStepParam'](exports.PostProcessStepType[_0x2e27d4(0x214)]);if(_0x3f2df1&&this[_0x2e27d4(0x1eb)]){const _0x20343c=this['dofPass'];_0x20343c[_0x2e27d4(0x1e6)]&&(_0x20343c[_0x2e27d4(0x1e6)][_0x2e27d4(0x20b)][_0x2e27d4(0x1c3)]=_0x3f2df1[_0x2e27d4(0x20b)],_0x20343c[_0x2e27d4(0x1e6)][_0x2e27d4(0x1f2)][_0x2e27d4(0x1c3)]=_0x3f2df1['aperture'],_0x20343c[_0x2e27d4(0x1e6)][_0x2e27d4(0x1c6)][_0x2e27d4(0x1c3)]=_0x3f2df1['maxblur']);}const _0xd6c3b3=this[_0x2e27d4(0x203)](exports.PostProcessStepType[_0x2e27d4(0x1e8)]);_0xd6c3b3&&this['gtaoPass']&&this[_0x2e27d4(0x1ef)](_0xd6c3b3);const _0x69dc8f=this[_0x2e27d4(0x203)](exports.PostProcessStepType[_0x2e27d4(0x1c8)]);_0x69dc8f&&this[_0x2e27d4(0x204)]&&this['updateOutlineParameters'](_0x69dc8f);}[_0xb46d85(0x1ef)](_0x27dfc6){const _0x1e091f=_0xb46d85;if(!this[_0x1e091f(0x1cd)])return;this[_0x1e091f(0x1cd)][_0x1e091f(0x1f5)]=_0x27dfc6['scale'];}['updateOutlineParameters'](_0x25f540){const _0x431f19=_0xb46d85;if(!this[_0x431f19(0x204)])return;this[_0x431f19(0x204)][_0x431f19(0x1fa)]=_0x25f540[_0x431f19(0x1fa)],this['outlinePass'][_0x431f19(0x207)]=_0x25f540['edgeGlow'],this['outlinePass']['edgeThickness']=_0x25f540[_0x431f19(0x1f3)],this[_0x431f19(0x204)][_0x431f19(0x1e4)]=_0x25f540[_0x431f19(0x1e4)],this['outlinePass'][_0x431f19(0x1c5)]=new three.Color(_0x25f540[_0x431f19(0x1c5)]),this[_0x431f19(0x204)][_0x431f19(0x1f7)]=new three.Color(_0x25f540[_0x431f19(0x1f7)]);}['updateSteps'](_0xc0d21e){const _0x2b63e4=_0xb46d85;this['postProcessParam']['steps']=_0xc0d21e,this[_0x2b63e4(0x20d)](),this[_0x2b63e4(0x1d1)]();}[_0xb46d85(0x1dc)](_0x20866d){const _0x401ef0=_0xb46d85;!this['outlineObjects'][_0x401ef0(0x1f1)](_0x20866d)&&(this[_0x401ef0(0x1e2)][_0x401ef0(0x1f0)](_0x20866d),this[_0x401ef0(0x204)]&&(this[_0x401ef0(0x204)]['selectedObjects']=this[_0x401ef0(0x1e2)])),this[_0x401ef0(0x1d1)]();}[_0xb46d85(0x1e9)](_0x2e6e48){const _0x427e16=_0xb46d85;this[_0x427e16(0x1e2)][_0x427e16(0x210)]=0x0,this[_0x427e16(0x1e2)][_0x427e16(0x1f0)](..._0x2e6e48),this[_0x427e16(0x204)]&&(this[_0x427e16(0x204)][_0x427e16(0x1d4)]=this['outlineObjects']),this['markDirty']();}['removeOutlineObject'](_0x25ad77){const _0x5f16d4=_0xb46d85,_0x4cbd6c=this[_0x5f16d4(0x1e2)][_0x5f16d4(0x1ed)](_0x25ad77);_0x4cbd6c>-1&&(this[_0x5f16d4(0x1e2)]['splice'](_0x4cbd6c,0x1),this[_0x5f16d4(0x204)]&&(this[_0x5f16d4(0x204)]['selectedObjects']=this[_0x5f16d4(0x1e2)])),this['markDirty']();}[_0xb46d85(0x1ea)](_0x481f13){const _0x594091=_0xb46d85;this[_0x594091(0x1fb)]=_0x481f13,this[_0x594091(0x20d)](),this[_0x594091(0x1d1)]();}[_0xb46d85(0x213)](){return this['lut3dTexture'];}[_0xb46d85(0x1d9)](){const _0x41e6c5=_0xb46d85;if(this[_0x41e6c5(0x1fc)])return this[_0x41e6c5(0x1fc)][_0x41e6c5(0x1d9)](),!![];return ![];}[_0xb46d85(0x1fd)](_0x2b7b0e,_0x42e172){const _0x82f697=_0xb46d85;this[_0x82f697(0x1fc)]&&this[_0x82f697(0x1fc)][_0x82f697(0x1ce)](_0x2b7b0e,_0x42e172),this[_0x82f697(0x1cf)]&&this['fxaaPass']['uniforms'][_0x82f697(0x1ee)][_0x82f697(0x1c3)]['set'](0x1/_0x2b7b0e,0x1/_0x42e172);}[_0xb46d85(0x1c9)](){const _0x531653=_0xb46d85;this[_0x531653(0x1e2)]=[],this[_0x531653(0x204)]=null,this['bloomPass']=null,this['dofPass']=null,this[_0x531653(0x1cd)]=null,this['smaaPass']=null,this[_0x531653(0x1cf)]=null,this[_0x531653(0x1de)]=null,this[_0x531653(0x1c4)]=null,this[_0x531653(0x1fb)]=null,this[_0x531653(0x1fc)]&&(this[_0x531653(0x1fc)][_0x531653(0x1ca)](),this[_0x531653(0x1fc)]=null);}[_0xb46d85(0x1d1)](){const _0x1396a4=_0xb46d85;this['onDirtyCallback']&&this[_0x1396a4(0x1f9)]();}}
|
|
72
83
|
|
|
73
|
-
var _0x110b3e=_0xa6d6;(function(_0xbe5156,_0x4f90eb){var _0xf549d=_0xa6d6,_0x36c01f=_0xbe5156();while(!![]){try{var _0xf8c68b=-parseInt(_0xf549d(0x119))/0x1+parseInt(_0xf549d(0x111))/0x2+parseInt(_0xf549d(0x113))/0x3+-parseInt(_0xf549d(0x114))/0x4+-parseInt(_0xf549d(0x109))/0x5*(-parseInt(_0xf549d(0x115))/0x6)+parseInt(_0xf549d(0x10b))/0x7*(parseInt(_0xf549d(0x10f))/0x8)+parseInt(_0xf549d(0x117))/0x9*(-parseInt(_0xf549d(0x10c))/0xa);if(_0xf8c68b===_0x4f90eb)break;else _0x36c01f['push'](_0x36c01f['shift']());}catch(_0xc502b2){_0x36c01f['push'](_0x36c01f['shift']());}}}(_0x2822,0x9b00f));function _0x2822(){var _0x382dac=['484660aOprUJ','possess','inputFilter','200zWDJev','app','2170424gBsvPp','stopFocusing','1157706DVlpYg','2421200NrKHnu','12TIEXnK','isTickEnabled','342JfpLWZ','tick','270607gQTUeu','enabled','camera','3046865jxqknp','_enabled','185542fmoXsu'];_0x2822=function(){return _0x382dac;};return _0x2822();}function _0xa6d6(_0x2318a6,_0x3191f4){_0x2318a6=_0x2318a6-0x109;var _0x28220c=_0x2822();var _0xa6d6e9=_0x28220c[_0x2318a6];return _0xa6d6e9;}class Pawn extends Actor{get[_0x110b3e(0x11b)](){var _0x2532de=_0x110b3e;return this[_0x2532de(0x110)][_0x2532de(0x11b)];}get[_0x110b3e(0x11a)](){return this['_enabled'];}set[_0x110b3e(0x11a)](_0x46071){var _0x4cf7ed=_0x110b3e;this[_0x4cf7ed(0x10a)]=_0x46071;}constructor(_0x487490){var _0x543006=_0x110b3e;super(_0x487490),this[_0x543006(0x10a)]=![],this['controller']=_0x487490['controller'],this[_0x543006(0x116)]=!![];}[_0x110b3e(0x118)](_0x3506a0){return;}[_0x110b3e(0x10d)](){}['unpossess'](){}['focusTo'](_0x166ae9,_0x581886,_0x1b8c74,_0x1c2ee4,_0xf49c13=null,_0x2f7ef8=null){}[_0x110b3e(0x112)](){}['destroy'](){}}Pawn[_0x110b3e(0x10e)]=()=>!![];
|
|
84
|
+
const _0x5b07a0=_0x4765;(function(_0x4b15cd,_0x27be4b){const _0x2b9815=_0x4765,_0x337037=_0x4b15cd();while(!![]){try{const _0x5a784d=-parseInt(_0x2b9815(0x17c))/0x1+-parseInt(_0x2b9815(0x180))/0x2*(parseInt(_0x2b9815(0x161))/0x3)+-parseInt(_0x2b9815(0x151))/0x4*(parseInt(_0x2b9815(0x164))/0x5)+parseInt(_0x2b9815(0x199))/0x6*(parseInt(_0x2b9815(0x154))/0x7)+-parseInt(_0x2b9815(0x168))/0x8*(parseInt(_0x2b9815(0x17d))/0x9)+-parseInt(_0x2b9815(0x17f))/0xa+parseInt(_0x2b9815(0x150))/0xb*(parseInt(_0x2b9815(0x16f))/0xc);if(_0x5a784d===_0x27be4b)break;else _0x337037['push'](_0x337037['shift']());}catch(_0x4e1e0f){_0x337037['push'](_0x337037['shift']());}}}(_0x3ce3,0x720ef));function _0x4765(_0x4453b0,_0x47f801){_0x4453b0=_0x4453b0-0x14c;const _0x3ce393=_0x3ce3();let _0x476568=_0x3ce393[_0x4453b0];return _0x476568;}function _0x3ce3(){const _0x1b8d76=['clientHeight','Can\x20not\x20create\x20context','width','render','isCSS3DRendererNeeded','toneMapping','pointerEvents','scene-uiLayer','_canvasContainer','createCSS3DRenderer','removeOutlineObject','6NagVhG','onWindowResize','param','10GybecW','image/jpeg','div','setToneMappingExposure','125000JLijdD','_outerContainer','createLabelRenderer','add','resizeObserver','outer','destroy','300MMnSAS','className','observe','.scene-uiLayer','zIndex','onCameraChangedDelegate','disconnect','addOutlineObject','getContext','markRenderStateDirty','appendChild','isUILayerNeeded','top','141192mHKbQa','171LOQlZi','setShadowMapType','1306700WXvHNS','107518raArTA','camera','scene','firstChild','setup','setAnimationLoop','domElement','remove','destroyPostProcess','0px','position','_app','toDataURL','onAfterPostProcessRender','background','_renderer','style','css3dRenderer','setClearAlpha','WebGL','shadowMap','setOutlineObjects','absolute','postProcessManager','clientWidth','1758cwChBf','100%','resize','dispose','uiDom','none','removeChild','_uiDom','createUILayer','updateSteps','canvas','world','app','enabled','querySelector','createElement','insertBefore','type','updatePostProcess','contentBoxSize','elementId','toneMappingExposure','setPixelRatio','isLabelRendererNeeded','height','setShadowMapEnabled','updateCamera','renderer','WebGPU','setupPostProcess','isRenderStateDirty','setSize','labelRenderer','681571EhPzKj','1703652ThyIJn','createRenderer','createPostProcessManager','10661UmdOzL','drawImage'];_0x3ce3=function(){return _0x1b8d76;};return _0x3ce3();}class Viewport{get[_0x5b07a0(0x19d)](){const _0x22e4ee=_0x5b07a0;return this[_0x22e4ee(0x1a0)];}get[_0x5b07a0(0x1a3)](){const _0x180202=_0x5b07a0;return this[_0x180202(0x169)]||this[_0x180202(0x1b4)][_0x180202(0x186)];}get[_0x5b07a0(0x16d)](){const _0xe185eb=_0x5b07a0;return this[_0xe185eb(0x169)];}get[_0x5b07a0(0x1b4)](){const _0x2f89f8=_0x5b07a0;if(!this['_renderer'])throw Error('Renderer\x20is\x20not\x20initialized');return this[_0x2f89f8(0x18f)];}get['app'](){const _0xa4192b=_0x5b07a0;if(!this[_0xa4192b(0x18b)])throw Error('App\x20is\x20not\x20initialized');return this['_app'];}constructor(_0x4249ef,_0x3c897a){const _0xbd40a3=_0x5b07a0;this[_0xbd40a3(0x1a0)]=null,this[_0xbd40a3(0x18f)]=null,this[_0xbd40a3(0x14f)]=null,this[_0xbd40a3(0x191)]=null,this[_0xbd40a3(0x18b)]=null,this[_0xbd40a3(0x16c)]=null,this[_0xbd40a3(0x169)]=null,this['_canvasContainer']=null,this[_0xbd40a3(0x14d)]=!![],this['postProcessManager']=null,this[_0xbd40a3(0x18b)]=_0x4249ef,_0x3c897a[_0xbd40a3(0x1ad)]&&(this[_0xbd40a3(0x169)]=document['getElementById'](_0x3c897a[_0xbd40a3(0x1ad)])),this['createRenderer'](_0x3c897a[_0xbd40a3(0x1b4)][_0xbd40a3(0x1aa)],_0x3c897a[_0xbd40a3(0x1b4)][_0xbd40a3(0x163)]),_0x3c897a[_0xbd40a3(0x1b0)]&&this[_0xbd40a3(0x16a)](),_0x3c897a[_0xbd40a3(0x15a)]&&this[_0xbd40a3(0x15f)](),_0x3c897a[_0xbd40a3(0x17a)]&&this['createUILayer'](),setTimeout(()=>{const _0x42fe00=_0xbd40a3;var _0x4a1e71;this[_0x42fe00(0x14c)]((_0x4a1e71=_0x3c897a['postProcess'])!==null&&_0x4a1e71!==void 0?_0x4a1e71:{'steps':[]});},0x32),this[_0xbd40a3(0x169)]&&(this[_0xbd40a3(0x16c)]=new ResizeObserver(_0x2fba4b=>{const _0xdb44c6=_0xbd40a3;for(let _0x3a6c7c of _0x2fba4b){_0x3a6c7c[_0xdb44c6(0x1ac)]&&this[_0xdb44c6(0x162)]();}}),this[_0xbd40a3(0x16c)][_0xbd40a3(0x171)](this[_0xbd40a3(0x169)])),this[_0xbd40a3(0x1a5)][_0xbd40a3(0x174)][_0xbd40a3(0x16b)](()=>{const _0x2b936f=_0xbd40a3;this['postProcessManager']&&(this['postProcessManager'][_0x2b936f(0x1b3)](this[_0x2b936f(0x1a5)][_0x2b936f(0x181)]),this[_0x2b936f(0x197)][_0x2b936f(0x184)]());});}[_0x5b07a0(0x152)](_0x2379a0,_0x243fe4){const _0x1e88de=_0x5b07a0,_0x97b651=this[_0x1e88de(0x169)];this[_0x1e88de(0x18f)]&&(_0x97b651&&_0x97b651['removeChild'](this[_0x1e88de(0x18f)][_0x1e88de(0x186)]),this[_0x1e88de(0x18f)][_0x1e88de(0x19c)]());let _0x2a40db=_0x97b651?_0x97b651[_0x1e88de(0x198)]:0x200,_0x3dca5d=_0x97b651?_0x97b651[_0x1e88de(0x156)]:0x200;switch(_0x2379a0){case exports.RendererType[_0x1e88de(0x1b5)]:this[_0x1e88de(0x18f)]=new webgpu.WebGPURenderer(_0x243fe4);break;case exports.RendererType[_0x1e88de(0x193)]:this[_0x1e88de(0x18f)]=new three.WebGLRenderer(_0x243fe4);break;}this[_0x1e88de(0x18f)][_0x1e88de(0x1af)](window['devicePixelRatio']),this[_0x1e88de(0x18f)][_0x1e88de(0x14e)](_0x2a40db,_0x3dca5d),this[_0x1e88de(0x18f)][_0x1e88de(0x194)][_0x1e88de(0x1a6)]=!![],this[_0x1e88de(0x18f)][_0x1e88de(0x194)][_0x1e88de(0x1aa)]=0x1,this[_0x1e88de(0x18f)][_0x1e88de(0x15b)]=0x0,this[_0x1e88de(0x18f)][_0x1e88de(0x1ae)]=0x1,this[_0x1e88de(0x18f)][_0x1e88de(0x192)](0x0),this[_0x1e88de(0x18f)][_0x1e88de(0x186)][_0x1e88de(0x190)][_0x1e88de(0x18a)]='absolute',this[_0x1e88de(0x18f)][_0x1e88de(0x186)][_0x1e88de(0x190)]['left']='0',this[_0x1e88de(0x18f)][_0x1e88de(0x186)]['style'][_0x1e88de(0x17b)]='0',this[_0x1e88de(0x18f)][_0x1e88de(0x186)][_0x1e88de(0x190)][_0x1e88de(0x173)]='20',this[_0x1e88de(0x18f)][_0x1e88de(0x186)][_0x1e88de(0x190)][_0x1e88de(0x18e)]='transparent',this[_0x1e88de(0x18f)][_0x1e88de(0x186)][_0x1e88de(0x190)]['pointerEvents']=_0x1e88de(0x19e),_0x97b651&&_0x97b651['appendChild'](this['_renderer']['domElement']);}[_0x5b07a0(0x16a)](){const _0x4b820c=_0x5b07a0,_0x23104c=this['_outerContainer'];this['labelRenderer']&&(_0x23104c&&_0x23104c[_0x4b820c(0x19f)](this[_0x4b820c(0x14f)][_0x4b820c(0x186)]));let _0x4ce366=_0x23104c?_0x23104c[_0x4b820c(0x198)]:0x200,_0x2a9886=_0x23104c?_0x23104c[_0x4b820c(0x156)]:0x200;this[_0x4b820c(0x14f)]=new Addons_js.CSS2DRenderer(),this[_0x4b820c(0x14f)][_0x4b820c(0x14e)](_0x4ce366,_0x2a9886),this[_0x4b820c(0x14f)][_0x4b820c(0x186)][_0x4b820c(0x190)][_0x4b820c(0x15c)]='none',this[_0x4b820c(0x14f)][_0x4b820c(0x186)][_0x4b820c(0x190)][_0x4b820c(0x18a)]='absolute',this[_0x4b820c(0x14f)][_0x4b820c(0x186)]['style'][_0x4b820c(0x17b)]='0px',this[_0x4b820c(0x14f)][_0x4b820c(0x186)][_0x4b820c(0x170)]='scene-labelRenderer',this[_0x4b820c(0x14f)][_0x4b820c(0x186)][_0x4b820c(0x190)][_0x4b820c(0x173)]='30',_0x23104c&&_0x23104c[_0x4b820c(0x179)](this[_0x4b820c(0x14f)]['domElement']);}[_0x5b07a0(0x15f)](){const _0x4f8a20=_0x5b07a0,_0x5ae72d=this[_0x4f8a20(0x169)];this[_0x4f8a20(0x191)]&&(_0x5ae72d&&_0x5ae72d[_0x4f8a20(0x19f)](this[_0x4f8a20(0x191)][_0x4f8a20(0x186)]));let _0x54c44c=_0x5ae72d?_0x5ae72d[_0x4f8a20(0x198)]:0x200,_0xa5c2db=_0x5ae72d?_0x5ae72d[_0x4f8a20(0x156)]:0x200;this[_0x4f8a20(0x191)]=new Addons_js.CSS3DRenderer(),this['css3dRenderer']['setSize'](_0x54c44c,_0xa5c2db),this[_0x4f8a20(0x191)][_0x4f8a20(0x186)]['style'][_0x4f8a20(0x15c)]='none',this[_0x4f8a20(0x191)][_0x4f8a20(0x186)][_0x4f8a20(0x190)][_0x4f8a20(0x18a)]=_0x4f8a20(0x196),this[_0x4f8a20(0x191)][_0x4f8a20(0x186)]['style']['left']=_0x4f8a20(0x189),this[_0x4f8a20(0x191)][_0x4f8a20(0x186)][_0x4f8a20(0x190)][_0x4f8a20(0x17b)]=_0x4f8a20(0x189),this[_0x4f8a20(0x191)][_0x4f8a20(0x186)][_0x4f8a20(0x190)][_0x4f8a20(0x173)]='0',this[_0x4f8a20(0x191)][_0x4f8a20(0x186)]['className']='scene-css3dRenderer',_0x5ae72d&&_0x5ae72d[_0x4f8a20(0x1a9)](this[_0x4f8a20(0x191)]['domElement'],_0x5ae72d[_0x4f8a20(0x183)]);}[_0x5b07a0(0x1a1)](){const _0x48c5d9=_0x5b07a0;if(!this[_0x48c5d9(0x169)])return;let _0x59a2ca=this['_outerContainer'][_0x48c5d9(0x1a7)](_0x48c5d9(0x172));!_0x59a2ca&&(_0x59a2ca=document[_0x48c5d9(0x1a8)](_0x48c5d9(0x166)),_0x59a2ca[_0x48c5d9(0x170)]=_0x48c5d9(0x15d),_0x59a2ca['id']=_0x48c5d9(0x15d),_0x59a2ca[_0x48c5d9(0x190)][_0x48c5d9(0x18a)]=_0x48c5d9(0x196),_0x59a2ca[_0x48c5d9(0x190)]['left']='0',_0x59a2ca[_0x48c5d9(0x190)][_0x48c5d9(0x17b)]='0',_0x59a2ca['style'][_0x48c5d9(0x158)]=_0x48c5d9(0x19a),_0x59a2ca['style']['height']=_0x48c5d9(0x19a),_0x59a2ca[_0x48c5d9(0x190)][_0x48c5d9(0x15c)]=_0x48c5d9(0x19e),_0x59a2ca[_0x48c5d9(0x190)][_0x48c5d9(0x173)]='10',this[_0x48c5d9(0x169)]['appendChild'](_0x59a2ca),this[_0x48c5d9(0x1a0)]=_0x59a2ca);}['init'](){}[_0x5b07a0(0x14c)](_0x3c2187){const _0x3f2a30=_0x5b07a0;!this[_0x3f2a30(0x197)]&&(this[_0x3f2a30(0x197)]=this[_0x3f2a30(0x153)](_0x3c2187)),this[_0x3f2a30(0x197)][_0x3f2a30(0x184)]();}[_0x5b07a0(0x153)](_0x370e2a){const _0x285551=_0x5b07a0;return this[_0x285551(0x1b4)]instanceof three.WebGLRenderer?new WebGLPostProcessManager(this[_0x285551(0x1b4)],this[_0x285551(0x1a5)][_0x285551(0x1a4)]['scene'],this[_0x285551(0x1a5)]['camera'],_0x370e2a,()=>this[_0x285551(0x178)]()):new PostProcessManager(this[_0x285551(0x1b4)],this[_0x285551(0x1a5)][_0x285551(0x1a4)][_0x285551(0x182)],this[_0x285551(0x1a5)][_0x285551(0x181)],_0x370e2a,()=>this[_0x285551(0x178)]());}[_0x5b07a0(0x1ab)](_0x8587e9){const _0x39849a=_0x5b07a0;this[_0x39849a(0x197)]&&this[_0x39849a(0x197)][_0x39849a(0x1a2)](_0x8587e9);}[_0x5b07a0(0x176)](_0x223e5d){const _0x1dcea9=_0x5b07a0;this[_0x1dcea9(0x197)]&&this[_0x1dcea9(0x197)]['addOutlineObject'](_0x223e5d);}['setOutlineObjects'](_0x146222){const _0x5c211b=_0x5b07a0;this[_0x5c211b(0x197)]&&this[_0x5c211b(0x197)][_0x5c211b(0x195)](_0x146222);}[_0x5b07a0(0x160)](_0xebcf2f){const _0x5f574f=_0x5b07a0;this[_0x5f574f(0x197)]&&this[_0x5f574f(0x197)][_0x5f574f(0x160)](_0xebcf2f);}[_0x5b07a0(0x188)](){const _0x4446f6=_0x5b07a0;this['postProcessManager']&&(this['postProcessManager'][_0x4446f6(0x16e)](),this['postProcessManager']=null);}[_0x5b07a0(0x162)](){const _0x1641c6=_0x5b07a0;let _0x4a9244=this['_outerContainer'];if(!_0x4a9244)return;this['app']['onWindowResize'](_0x4a9244[_0x1641c6(0x198)],_0x4a9244[_0x1641c6(0x156)]),this[_0x1641c6(0x1b4)][_0x1641c6(0x14e)](_0x4a9244['clientWidth'],_0x4a9244['clientHeight']);if(this['labelRenderer'])this[_0x1641c6(0x14f)][_0x1641c6(0x14e)](_0x4a9244[_0x1641c6(0x198)],_0x4a9244['clientHeight']);if(this['css3dRenderer'])this[_0x1641c6(0x191)]['setSize'](_0x4a9244[_0x1641c6(0x198)],_0x4a9244['clientHeight']);this[_0x1641c6(0x197)]&&_0x1641c6(0x19b)in this[_0x1641c6(0x197)]&&this[_0x1641c6(0x197)][_0x1641c6(0x19b)](_0x4a9244[_0x1641c6(0x198)],_0x4a9244[_0x1641c6(0x156)]),this['markRenderStateDirty']();}[_0x5b07a0(0x178)](){this['isRenderStateDirty']=!![];}[_0x5b07a0(0x159)](){const _0x371c47=_0x5b07a0;if(!this['isRenderStateDirty'])return;if(this[_0x371c47(0x197)]&&this[_0x371c47(0x197)][_0x371c47(0x159)]());else this[_0x371c47(0x1b4)][_0x371c47(0x159)](this[_0x371c47(0x1a5)][_0x371c47(0x1a4)][_0x371c47(0x182)],this[_0x371c47(0x1a5)][_0x371c47(0x181)]);this['onAfterPostProcessRender'](),this[_0x371c47(0x14f)]&&this[_0x371c47(0x14f)]['render'](this[_0x371c47(0x1a5)][_0x371c47(0x1a4)][_0x371c47(0x182)],this['app'][_0x371c47(0x181)]),this[_0x371c47(0x191)]&&this[_0x371c47(0x191)][_0x371c47(0x159)](this[_0x371c47(0x1a5)]['world'][_0x371c47(0x182)],this[_0x371c47(0x1a5)]['camera']),this['isRenderStateDirty']=![];}[_0x5b07a0(0x18d)](){}async['renderAsImage'](_0x47e356=0x400,_0x406608=0x400){const _0x48d530=_0x5b07a0;try{if(this[_0x48d530(0x197)]&&this[_0x48d530(0x197)][_0x48d530(0x159)]()){}else await this[_0x48d530(0x1b4)][_0x48d530(0x159)](this[_0x48d530(0x1a5)][_0x48d530(0x1a4)]['scene'],this[_0x48d530(0x1a5)][_0x48d530(0x181)]);const _0x3fcd44=this[_0x48d530(0x1b4)][_0x48d530(0x186)][_0x48d530(0x158)],_0x3d8984=this[_0x48d530(0x1b4)][_0x48d530(0x186)][_0x48d530(0x1b1)];let _0x3fb38a=_0x3fcd44||_0x47e356,_0x2ec211=_0x3d8984||_0x406608;(_0x3fb38a<=0x0||_0x2ec211<=0x0)&&(_0x3fb38a=_0x47e356,_0x2ec211=_0x406608);const _0x58882f=document[_0x48d530(0x1a8)]('canvas');_0x58882f[_0x48d530(0x158)]=_0x47e356,_0x58882f['height']=_0x406608;const _0x2a1e46=_0x58882f[_0x48d530(0x177)]('2d');if(!_0x2a1e46)throw Error(_0x48d530(0x157));_0x2a1e46[_0x48d530(0x155)](this[_0x48d530(0x1b4)][_0x48d530(0x186)],0x0,0x0,_0x3fb38a,_0x2ec211,0x0,0x0,_0x47e356,_0x406608);const _0x5e7863=_0x58882f[_0x48d530(0x18c)](_0x48d530(0x165));return _0x58882f['remove'](),_0x5e7863;}catch(_0x190f8a){return '';}}[_0x5b07a0(0x1b2)](_0x420518){const _0x4f4d42=_0x5b07a0;if(!this[_0x4f4d42(0x18f)])return;this[_0x4f4d42(0x18f)][_0x4f4d42(0x194)][_0x4f4d42(0x1a6)]=_0x420518;}[_0x5b07a0(0x17e)](_0x2acbe6){const _0x585cd1=_0x5b07a0;if(!this[_0x585cd1(0x18f)])return;this[_0x585cd1(0x18f)][_0x585cd1(0x194)]['type']=_0x2acbe6;}['setToneMapping'](_0x29c482){const _0x5f12b5=_0x5b07a0;if(!this[_0x5f12b5(0x18f)])return;this[_0x5f12b5(0x18f)][_0x5f12b5(0x15b)]=_0x29c482;}[_0x5b07a0(0x167)](_0x427976){const _0x4f8b30=_0x5b07a0;if(!this[_0x4f8b30(0x18f)])return;this[_0x4f8b30(0x18f)]['toneMappingExposure']=_0x427976;}[_0x5b07a0(0x16e)](){const _0x44c98d=_0x5b07a0;this[_0x44c98d(0x188)](),this[_0x44c98d(0x1b4)][_0x44c98d(0x185)](null),this[_0x44c98d(0x16c)]&&(this[_0x44c98d(0x16c)][_0x44c98d(0x175)](),this[_0x44c98d(0x16c)]=null),this[_0x44c98d(0x14f)]&&(this[_0x44c98d(0x14f)][_0x44c98d(0x186)][_0x44c98d(0x187)](),this['labelRenderer']=null),this[_0x44c98d(0x18f)]&&(this['renderer'][_0x44c98d(0x186)][_0x44c98d(0x187)](),this['_renderer'][_0x44c98d(0x19c)](),this[_0x44c98d(0x18f)]=null),this['_canvasContainer']&&(this[_0x44c98d(0x15e)]['remove'](),this[_0x44c98d(0x15e)]=null),this[_0x44c98d(0x169)]=null,this[_0x44c98d(0x18b)]=null;}}
|
|
74
85
|
|
|
75
|
-
const _0x545455=_0xf6a6;(function(_0x189aa2,_0x33fbae){const _0x342577=_0xf6a6,_0x4b48aa=_0x189aa2();while(!![]){try{const _0x2845c7=-parseInt(_0x342577(0xbd))/0x1+parseInt(_0x342577(0x9b))/0x2*(parseInt(_0x342577(0x67))/0x3)+-parseInt(_0x342577(0xa8))/0x4+parseInt(_0x342577(0xb3))/0x5*(parseInt(_0x342577(0xad))/0x6)+-parseInt(_0x342577(0x97))/0x7+parseInt(_0x342577(0x83))/0x8+-parseInt(_0x342577(0xc0))/0x9*(-parseInt(_0x342577(0x8a))/0xa);if(_0x2845c7===_0x33fbae)break;else _0x4b48aa['push'](_0x4b48aa['shift']());}catch(_0x82c620){_0x4b48aa['push'](_0x4b48aa['shift']());}}}(_0x521d,0x7740f));function _0x521d(){const _0x519ff8=['normalize','minDistance','outer','clientHeight','enableDamping','pointerId','onPointerMove','exp','zoomSpeed','getQuaternion','dataset','copy','3806278KPmZvy','add','lerpVectors','contextmenu','6jmPXVj','min','addEventListener','pointercancel','canvas','app','clientX','stopFocusing','viewport','deltaY','pointerup','unpossess','onPointerUp','293892BWoCgW','distance','_focusTween','setPosition','rootComponent','2617572MZyaZB','lookAt','call','setFromRotationMatrix','setQuaternion','maxDistance','5DkZIhC','setRotation','_targetQuaternion','clone','releasePointerCapture','updateCameraFromPawn','function','lerp','inputFilter','minPolarAngle','865551YQDnNv','kill','removeEventListener','1197EPNMFw','rotateSpeed','button','526041yqqcom','getTargetCameraState','_targetDistance','enabled','camera','setCameraDraggingState','position','buttons','preventDefault','dampingFactor','wheel','getPosition','order','addScaledVector','clientY','alpha','lyCameraDragging','setPointerCapture','onContextMenu','_targetPosition','pointermove','rotation','YXZ','applyQuaternion','_lastPointerPosition','maxAzimuthAngle','slerp','_isDragging','6170136nQqzZn','clamp','setFromQuaternion','onWheel','threeObject','max','minAzimuthAngle','17870PEZVgz'];_0x521d=function(){return _0x519ff8;};return _0x521d();}function _0xf6a6(_0x1848c3,_0x187151){_0x1848c3=_0x1848c3-0x66;const _0x521dad=_0x521d();let _0xf6a631=_0x521dad[_0x1848c3];return _0xf6a631;}class Orbital extends Pawn{constructor(_0x26e6d9){const _0x276186=_0xf6a6;super(_0x26e6d9),this['distance']=0x5,this[_0x276186(0x8c)]=0.1,this[_0x276186(0xb2)]=0x3e8,this[_0x276186(0xc1)]=0x1,this[_0x276186(0x93)]=0x1,this[_0x276186(0xbc)]=0x0,this['maxPolarAngle']=Math['PI']*0.5,this['minAzimuthAngle']=-Infinity,this['maxAzimuthAngle']=Infinity,this[_0x276186(0x8f)]=!![],this[_0x276186(0x70)]=0xa,this['_isDragging']=![],this[_0x276186(0x7f)]=new webgpu.Vector2(),this[_0x276186(0x7a)]=new webgpu.Vector3(),this[_0x276186(0xb5)]=new webgpu.Quaternion(),this[_0x276186(0x69)]=0x5,this[_0x276186(0xaa)]=null,this[_0x276186(0x79)]=_0x11edd7=>{const _0x21c3e9=_0x276186;if(!Pawn[_0x21c3e9(0xbb)]())return;_0x11edd7[_0x21c3e9(0x6f)]();},this['onPointerDown']=_0x11039f=>{const _0x52fcdf=_0x276186;if(!this[_0x52fcdf(0x6a)]||!Pawn[_0x52fcdf(0xbb)]())return;if(_0x11039f[_0x52fcdf(0x66)]===0x0||_0x11039f['button']===0x2){this[_0x52fcdf(0x82)]=!![],this[_0x52fcdf(0x7f)]['set'](_0x11039f[_0x52fcdf(0xa1)],_0x11039f[_0x52fcdf(0x75)]),this[_0x52fcdf(0x6c)](!![]);const _0x732565=this['app']['viewport'][_0x52fcdf(0x9f)];_0x732565&&typeof _0x732565[_0x52fcdf(0x78)]===_0x52fcdf(0xb9)&&_0x732565[_0x52fcdf(0x78)](_0x11039f[_0x52fcdf(0x90)]);}},this[_0x276186(0x91)]=_0x4b9dea=>{const _0x399116=_0x276186;if(!this[_0x399116(0x6a)]||!this[_0x399116(0x82)]||!Pawn[_0x399116(0xbb)]())return;if(_0x4b9dea['buttons']===0x0){this['_isDragging']=![],this[_0x399116(0x6c)](![]);return;}const _0x171afc=_0x4b9dea['clientX']-this[_0x399116(0x7f)]['x'],_0x3288d6=_0x4b9dea[_0x399116(0x75)]-this[_0x399116(0x7f)]['y'];this[_0x399116(0x7f)]['set'](_0x4b9dea[_0x399116(0xa1)],_0x4b9dea[_0x399116(0x75)]);const _0x4ce3ba=this[_0x399116(0xa0)][_0x399116(0xa3)][_0x399116(0x9f)];if(!_0x4ce3ba)return;if(_0x4b9dea[_0x399116(0x6e)]===0x1){const _0x29cab9=this[_0x399116(0xc1)]*0x2*Math['PI'],_0x1d4875=new webgpu.Euler(0x0,0x0,0x0,_0x399116(0x7d))[_0x399116(0x85)](this['_targetQuaternion']);_0x1d4875['y']-=_0x171afc/_0x4ce3ba[_0x399116(0x8e)]*_0x29cab9,_0x1d4875['x']-=_0x3288d6/_0x4ce3ba[_0x399116(0x8e)]*_0x29cab9;const _0x4c82e6=Math[_0x399116(0x88)](this['minPolarAngle']-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x1a0e1a=Math[_0x399116(0x9c)](this['maxPolarAngle']-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x1d4875['x']=webgpu.MathUtils[_0x399116(0x84)](_0x1d4875['x'],_0x4c82e6,_0x1a0e1a),isFinite(this[_0x399116(0x89)])&&isFinite(this[_0x399116(0x80)])&&(_0x1d4875['y']=webgpu.MathUtils[_0x399116(0x84)](_0x1d4875['y'],this[_0x399116(0x89)],this[_0x399116(0x80)])),this[_0x399116(0xb5)]['setFromEuler'](_0x1d4875),!this[_0x399116(0x8f)]&&this['setQuaternion'](this[_0x399116(0xb5)]);}else {if(_0x4b9dea[_0x399116(0x6e)]===0x2){const _0x50da07=this[_0x399116(0x69)]*0.002,_0x3e48a8=new webgpu.Vector3(0x1,0x0,0x0)[_0x399116(0x7e)](this[_0x399116(0xb5)])[_0x399116(0x8b)](),_0x1c758e=new webgpu.Vector3(0x0,0x1,0x0)[_0x399116(0x7e)](this['_targetQuaternion'])['normalize']();this[_0x399116(0x7a)][_0x399116(0x74)](_0x3e48a8,-_0x171afc*_0x50da07),this['_targetPosition']['addScaledVector'](_0x1c758e,_0x3288d6*_0x50da07),!this['enableDamping']&&this[_0x399116(0xab)](this[_0x399116(0x7a)]);}}},this[_0x276186(0xa7)]=_0x320741=>{const _0x408be1=_0x276186;var _0x5a9fd2;this[_0x408be1(0x82)]=![],this[_0x408be1(0x6c)](![]);const _0x460e1f=this[_0x408be1(0xa0)]['viewport'][_0x408be1(0x9f)];_0x460e1f&&typeof _0x460e1f[_0x408be1(0xb7)]==='function'&&((_0x5a9fd2=_0x460e1f['hasPointerCapture'])===null||_0x5a9fd2===void 0?void 0:_0x5a9fd2[_0x408be1(0xaf)](_0x460e1f,_0x320741[_0x408be1(0x90)]))&&_0x460e1f['releasePointerCapture'](_0x320741[_0x408be1(0x90)]);},this[_0x276186(0x86)]=_0x27ca35=>{const _0x31cffc=_0x276186;if(!this[_0x31cffc(0x6a)]||!Pawn[_0x31cffc(0xbb)]())return;const _0x533c17=0.95;_0x27ca35[_0x31cffc(0xa4)]>0x0?this[_0x31cffc(0x69)]/=_0x533c17:this[_0x31cffc(0x69)]*=_0x533c17,this['_targetDistance']=webgpu.MathUtils[_0x31cffc(0x84)](this[_0x31cffc(0x69)],this['minDistance'],this[_0x31cffc(0xb2)]),!this[_0x31cffc(0x8f)]&&(this[_0x31cffc(0xa9)]=this['_targetDistance']);};}['possess'](){const _0x2787ea=_0xf6a6;super['possess']();this[_0x2787ea(0xac)]&&this[_0x2787ea(0xac)][_0x2787ea(0x87)]&&(this[_0x2787ea(0xac)][_0x2787ea(0x87)][_0x2787ea(0x7c)][_0x2787ea(0x73)]=_0x2787ea(0x7d));this[_0x2787ea(0x7a)]['copy'](this[_0x2787ea(0x72)]()),this[_0x2787ea(0xb5)][_0x2787ea(0x96)](this[_0x2787ea(0x94)]()),this[_0x2787ea(0x69)]=this[_0x2787ea(0xa9)];const _0x188633=this[_0x2787ea(0xa0)][_0x2787ea(0xa3)][_0x2787ea(0x9f)];_0x188633&&(_0x188633['addEventListener']('pointerdown',this['onPointerDown']),_0x188633[_0x2787ea(0x9d)](_0x2787ea(0x7b),this['onPointerMove']),_0x188633[_0x2787ea(0x9d)]('pointerup',this[_0x2787ea(0xa7)]),_0x188633[_0x2787ea(0x9d)](_0x2787ea(0x9e),this[_0x2787ea(0xa7)]),_0x188633[_0x2787ea(0x9d)](_0x2787ea(0x71),this['onWheel']),_0x188633[_0x2787ea(0x9d)](_0x2787ea(0x9a),this[_0x2787ea(0x79)])),this['updateCameraFromPawn']();}[_0x545455(0x68)](){const _0x3c21e0=_0x545455,_0x382815=this[_0x3c21e0(0x72)](),_0x451345=this['getQuaternion'](),_0x5d1ef0=new webgpu.Vector3(0x0,0x0,0x1)[_0x3c21e0(0x7e)](_0x451345)['multiplyScalar'](this[_0x3c21e0(0xa9)]),_0xbbdb20=_0x382815[_0x3c21e0(0xb6)]()[_0x3c21e0(0x98)](_0x5d1ef0),_0x1bc81e=new webgpu.Matrix4();_0x1bc81e[_0x3c21e0(0xae)](_0xbbdb20,_0x382815,this[_0x3c21e0(0x6b)]['up']);const _0x458ac7=new webgpu.Quaternion()[_0x3c21e0(0xb0)](_0x1bc81e);return {'position':_0xbbdb20,'quaternion':_0x458ac7};}[_0x545455(0xb8)](){const _0x1e9549=_0x545455;if(!this[_0x1e9549(0x6a)]||!this[_0x1e9549(0x6b)])return;const _0x41da5a=this['getPosition'](),_0x55c269=this[_0x1e9549(0x94)](),_0x45ac91=new webgpu.Vector3(0x0,0x0,0x1)[_0x1e9549(0x7e)](_0x55c269)['multiplyScalar'](this[_0x1e9549(0xa9)]);this[_0x1e9549(0x6b)][_0x1e9549(0x6d)]['copy'](_0x41da5a)[_0x1e9549(0x98)](_0x45ac91),this[_0x1e9549(0x6b)]['lookAt'](_0x41da5a);}[_0x545455(0xa6)](){const _0x5b946d=_0x545455;super[_0x5b946d(0xa6)]();const _0x1dc6cb=this[_0x5b946d(0xa0)][_0x5b946d(0xa3)][_0x5b946d(0x9f)];_0x1dc6cb&&(_0x1dc6cb[_0x5b946d(0xbf)]('pointerdown',this['onPointerDown']),_0x1dc6cb['removeEventListener'](_0x5b946d(0x7b),this['onPointerMove']),_0x1dc6cb[_0x5b946d(0xbf)](_0x5b946d(0xa5),this[_0x5b946d(0xa7)]),_0x1dc6cb['removeEventListener'](_0x5b946d(0x9e),this['onPointerUp']),_0x1dc6cb['removeEventListener'](_0x5b946d(0x71),this[_0x5b946d(0x86)]),_0x1dc6cb[_0x5b946d(0xbf)](_0x5b946d(0x9a),this[_0x5b946d(0x79)])),this[_0x5b946d(0x82)]=![],this[_0x5b946d(0x6c)](![]),this['_focusTween']&&(this['_focusTween'][_0x5b946d(0xbe)](),this[_0x5b946d(0xaa)]=null);}[_0x545455(0x6c)](_0x371ac8){const _0x17c819=_0x545455,_0x506ba2=this[_0x17c819(0xa0)][_0x17c819(0xa3)][_0x17c819(0x8d)];if(!_0x506ba2)return;_0x371ac8?_0x506ba2['dataset'][_0x17c819(0x77)]='1':delete _0x506ba2[_0x17c819(0x95)][_0x17c819(0x77)];}['tick'](_0xe3298f){const _0x2c13a6=_0x545455;if(this[_0x2c13a6(0x8f)]){const _0x457cb2=Math[_0x2c13a6(0x9c)](_0xe3298f,0.1),_0x4b79f5=0x1-Math[_0x2c13a6(0x92)](-this[_0x2c13a6(0x70)]*_0x457cb2);this[_0x2c13a6(0xa9)]=webgpu.MathUtils[_0x2c13a6(0xba)](this['distance'],this[_0x2c13a6(0x69)],_0x4b79f5);const _0x579846=this[_0x2c13a6(0x72)]();_0x579846[_0x2c13a6(0xba)](this[_0x2c13a6(0x7a)],_0x4b79f5),super[_0x2c13a6(0xab)](_0x579846);const _0x1f4eeb=this['getQuaternion']();_0x1f4eeb[_0x2c13a6(0x81)](this['_targetQuaternion'],_0x4b79f5),super[_0x2c13a6(0xb1)](_0x1f4eeb);}this[_0x2c13a6(0xb8)]();}['setPosition'](..._0x2406e6){const _0x52574e=_0x545455;super[_0x52574e(0xab)](..._0x2406e6),this[_0x52574e(0x7a)][_0x52574e(0x96)](this['getPosition']());}[_0x545455(0xb4)](..._0x4f89d4){const _0x560b3b=_0x545455;super[_0x560b3b(0xb4)](..._0x4f89d4),this['_targetQuaternion'][_0x560b3b(0x96)](this['getQuaternion']());}[_0x545455(0xb1)](..._0x4b7f7c){const _0x4c18a3=_0x545455;super[_0x4c18a3(0xb1)](..._0x4b7f7c),this[_0x4c18a3(0xb5)][_0x4c18a3(0x96)](this[_0x4c18a3(0x94)]());}['focusTo'](_0x47e32b,_0x1e0bbe,_0x122832,_0x245833,_0x1fe399=null,_0x38ccb2=null){const _0x192c97=_0x545455;this[_0x192c97(0xaa)]&&this[_0x192c97(0xaa)]['kill']();const _0x4fa206=this[_0x192c97(0x72)](),_0x55f05f=this[_0x192c97(0x94)](),_0xba38e7=this[_0x192c97(0xa9)];let _0x495aa7;_0x1e0bbe instanceof webgpu.Euler?_0x495aa7=new webgpu.Quaternion()['setFromEuler'](_0x1e0bbe):_0x495aa7=_0x1e0bbe;const _0x5a1e73={'alpha':0x0};this['_focusTween']=gsap.gsap['to'](_0x5a1e73,{'alpha':0x1,'duration':_0x245833,'onUpdate':()=>{const _0x42996f=_0x192c97,_0x4014e2=_0x5a1e73[_0x42996f(0x76)],_0x2630ab=new webgpu.Vector3()[_0x42996f(0x99)](_0x4fa206,_0x47e32b,_0x4014e2);this[_0x42996f(0xab)](_0x2630ab),this[_0x42996f(0x7a)][_0x42996f(0x96)](_0x2630ab);const _0x41d1d1=_0x55f05f['clone']()['slerp'](_0x495aa7,_0x4014e2);this[_0x42996f(0xb1)](_0x41d1d1),this[_0x42996f(0xb5)]['copy'](_0x41d1d1),this[_0x42996f(0xa9)]=webgpu.MathUtils[_0x42996f(0xba)](_0xba38e7,_0x122832,_0x4014e2),this[_0x42996f(0x69)]=this[_0x42996f(0xa9)];if(_0x1fe399)_0x1fe399();},'onComplete':()=>{const _0x29f4d9=_0x192c97;this[_0x29f4d9(0xaa)]=null;if(_0x38ccb2)_0x38ccb2();}});}[_0x545455(0xa2)](){const _0x3de063=_0x545455;this[_0x3de063(0xaa)]&&(this[_0x3de063(0xaa)][_0x3de063(0xbe)](),this[_0x3de063(0xaa)]=null);}}
|
|
86
|
+
function _0x4a13(){const _0x19563e=['getWorldRotation','onRemovedFromWorld','6003MVwqaD','onActorHoverBegin','getQuaternion','216192cpMzhP','setQuaternion','getWorldForwardDirection','KeepRelative','getWorldPosition','removeTickableActor','landToGround','_rootComponent','isTickEnabled','setPosition','getBoundsTopCenterPosition','sub','clearComponent','setScale','world','1591428EGLgeY','getWorldMatrix','tick','addComponent','childActors','setLayers','getChildActorById','getChildActorsByIds','push','308SgbbBE','60220pqchjA','uuid','error','14glVnen','getPosition','parentActor','threeObject','385497qwAdll','3770BQPPVJ','onHoverBeginDelegate','_onDoubleClickDelegate','6BFJhiy','rootComponent','markRenderStateDirty','name','destroy','onDoubleClickDelegate','viewport','rootComponent\x20is\x20invalid','worldToLocal','onActorHoverEnd','_onClickDelegate','broadcast','getWorldUpDirection','getScale','setRotation','onAddedToWorld','delete','removeFromParent','KeepWorld','_onHoverBeginDelegate','getCenter','attachComponent','removeComponent','isVisible','getWorldQuaternion','localToWorld','onClickDelegate','_name','constructRootComponent','isClickEnabled','addChildActor','setWorldMatrix','getRotation','getBoundsCenterPosition','getBounds','removeChildComponent','forEach','_onHoverEndDelegate','getWorldScale','8tHPMXT','onActorDoubleClick','removeChildActor','addChildComponent','app','1952260LdIVnm','detachComponent','getBoundsBottomCenterPosition','getWorldRightDirection','LYObject','setVisible','childrenComponents','_world','size','length','onActorClick','getComponentById','isHoverEnabled','2034396usambA','max'];_0x4a13=function(){return _0x19563e;};return _0x4a13();}const _0x3d63e1=_0x3c27;(function(_0x31824f,_0x2dee02){const _0x59842b=_0x3c27,_0x34262a=_0x31824f();while(!![]){try{const _0xa8a4ad=parseInt(_0x59842b(0x18c))/0x1*(-parseInt(_0x59842b(0x18f))/0x2)+parseInt(_0x59842b(0x182))/0x3+-parseInt(_0x59842b(0x16c))/0x4+-parseInt(_0x59842b(0x1c3))/0x5*(-parseInt(_0x59842b(0x197))/0x6)+parseInt(_0x59842b(0x193))/0x7*(parseInt(_0x59842b(0x1be))/0x8)+-parseInt(_0x59842b(0x170))/0x9*(parseInt(_0x59842b(0x194))/0xa)+-parseInt(_0x59842b(0x18b))/0xb*(-parseInt(_0x59842b(0x173))/0xc);if(_0xa8a4ad===_0x2dee02)break;else _0x34262a['push'](_0x34262a['shift']());}catch(_0x40a950){_0x34262a['push'](_0x34262a['shift']());}}}(_0x4a13,0x48f61));function _0x3c27(_0x22a8dd,_0x5986f9){_0x22a8dd=_0x22a8dd-0x16c;const _0x4a131a=_0x4a13();let _0x3c2740=_0x4a131a[_0x22a8dd];return _0x3c2740;}class Actor extends BaseObject{get[_0x3d63e1(0x181)](){const _0x4e46a5=_0x3d63e1;return this[_0x4e46a5(0x1ca)];}get[_0x3d63e1(0x19a)](){const _0x1478e5=_0x3d63e1;return this[_0x1478e5(0x1b2)];}set['name'](_0x440054){const _0x42269b=_0x3d63e1;this[_0x42269b(0x1b2)]=_0x440054;}get[_0x3d63e1(0x198)](){const _0x568c61=_0x3d63e1;if(!this['_rootComponent'])throw Error(_0x568c61(0x19e));return this[_0x568c61(0x17a)];}set[_0x3d63e1(0x198)](_0x47f1e7){const _0x4d81c4=_0x3d63e1;_0x47f1e7['detachFromParentComponent'](),_0x47f1e7['parentActor']=this;if(this['_rootComponent']){let _0x42e64c=this[_0x4d81c4(0x198)][_0x4d81c4(0x1c9)];for(let _0x252fd3=0x0;_0x252fd3<_0x42e64c['length'];++_0x252fd3){_0x47f1e7[_0x4d81c4(0x1c1)](_0x42e64c[_0x252fd3]);}this[_0x4d81c4(0x198)][_0x4d81c4(0x19b)]();}this['_rootComponent']=_0x47f1e7;}get['childrenComponents'](){const _0x55d0c6=_0x3d63e1;return this[_0x55d0c6(0x198)][_0x55d0c6(0x1c9)];}get['childActors'](){const _0xfb7688=_0x3d63e1;var _0x45769a;let _0x6e6316=[];return (_0x45769a=this[_0xfb7688(0x198)]['threeObject'])===null||_0x45769a===void 0?void 0:_0x45769a['children'][_0xfb7688(0x1bb)](_0x13e90e=>{const _0xaf0b03=_0xfb7688;var _0x3997f4;let _0x5b824b=(_0x3997f4=_0x13e90e['userData'][_0xaf0b03(0x1c7)])===null||_0x3997f4===void 0?void 0:_0x3997f4[_0xaf0b03(0x191)];_0x5b824b!==this&&_0x5b824b instanceof Actor&&_0x6e6316[_0xaf0b03(0x18a)](_0x5b824b);}),_0x6e6316;}get[_0x3d63e1(0x191)](){const _0x3fc6a2=_0x3d63e1;var _0x7c5e04,_0x4e58d4,_0xdfa8ca;let _0x193136=(_0xdfa8ca=(_0x4e58d4=(_0x7c5e04=this['rootComponent'][_0x3fc6a2(0x192)])===null||_0x7c5e04===void 0?void 0:_0x7c5e04['parent'])===null||_0x4e58d4===void 0?void 0:_0x4e58d4['userData'][_0x3fc6a2(0x1c7)])===null||_0xdfa8ca===void 0?void 0:_0xdfa8ca[_0x3fc6a2(0x191)];return _0x193136===this?null:_0x193136;}get[_0x3d63e1(0x1ae)](){const _0x311947=_0x3d63e1;return this[_0x311947(0x198)]?this[_0x311947(0x198)][_0x311947(0x1ae)]:![];}get[_0x3d63e1(0x17b)](){return super['isTickEnabled'];}set[_0x3d63e1(0x17b)](_0x47ea41){const _0xe0207e=_0x3d63e1;super[_0xe0207e(0x17b)]=_0x47ea41,this[_0xe0207e(0x17b)]?this[_0xe0207e(0x1c2)][_0xe0207e(0x181)]['addTickableActor'](this):this[_0xe0207e(0x1c2)][_0xe0207e(0x181)][_0xe0207e(0x178)](this);}get[_0x3d63e1(0x195)](){const _0xc286ab=_0x3d63e1;return this[_0xc286ab(0x1aa)];}get['onHoverEndDelegate'](){return this['_onHoverEndDelegate'];}get[_0x3d63e1(0x1b1)](){return this['_onClickDelegate'];}get[_0x3d63e1(0x19c)](){const _0x5596b9=_0x3d63e1;return this[_0x5596b9(0x196)];}constructor(_0x25f5ee,_0xae75dc){const _0x64a24b=_0x3d63e1;super(_0xae75dc),this['_name']='Actor',this['_rootComponent']=null,this['_world']=null,this[_0x64a24b(0x1aa)]=new Delegate(),this[_0x64a24b(0x1bc)]=new Delegate(),this[_0x64a24b(0x1a1)]=new Delegate(),this[_0x64a24b(0x196)]=new Delegate(),this['app']=_0x25f5ee,this[_0x64a24b(0x198)]=this['constructRootComponent'](),this['rootComponent'][_0x64a24b(0x191)]=this;}[_0x3d63e1(0x1b3)](){const _0x35f7c5=_0x3d63e1;return new SceneComponent(this[_0x35f7c5(0x1c2)]);}[_0x3d63e1(0x1b8)](_0x8f2801=!![]){const _0x5ce16b=_0x3d63e1;let _0x5a43c1=new webgpu.Vector3();return this['getBounds']()[_0x5ce16b(0x1ab)](_0x5a43c1),!_0x8f2801?_0x5a43c1['sub'](this[_0x5ce16b(0x190)]()):_0x5a43c1;}[_0x3d63e1(0x188)](_0x649e9b,_0x1867e9=!![]){const _0x1d2c20=_0x3d63e1,_0xc0239f=this[_0x1d2c20(0x186)];for(const _0x53b035 of _0xc0239f){if(_0x53b035[_0x1d2c20(0x18d)]===_0x649e9b)return _0x53b035;}if(_0x1867e9)for(const _0x1be194 of _0xc0239f){const _0x1c71e4=_0x1be194[_0x1d2c20(0x188)](_0x649e9b,!![]);if(_0x1c71e4)return _0x1c71e4;}return null;}[_0x3d63e1(0x189)](_0x5c630a,_0x3140d6=!![]){const _0x52af8c=_0x3d63e1,_0x1c6af5=[],_0x3f0807=new Set(_0x5c630a),_0x288540=this['childActors'];for(const _0x2d60e0 of _0x288540){_0x3f0807['has'](_0x2d60e0['uuid'])&&(_0x1c6af5['push'](_0x2d60e0),_0x3f0807[_0x52af8c(0x1a7)](_0x2d60e0['uuid']));}if(_0x3140d6&&_0x3f0807[_0x52af8c(0x1cb)]>0x0)for(const _0x5ca8d8 of _0x288540){const _0x2f4258=_0x5ca8d8['getChildActorsByIds']([..._0x3f0807],!![]);for(const _0x11a7aa of _0x2f4258){_0x1c6af5['push'](_0x11a7aa),_0x3f0807['delete'](_0x11a7aa[_0x52af8c(0x18d)]);}if(_0x3f0807[_0x52af8c(0x1cb)]===0x0)break;}return _0x1c6af5;}[_0x3d63e1(0x1ce)](_0x9c25b7){const _0x518711=_0x3d63e1;return this[_0x518711(0x198)]['getComponentById'](_0x9c25b7);}[_0x3d63e1(0x17d)](_0x126ca4=!![]){const _0x3f092b=_0x3d63e1;let _0x4eb4e9=new webgpu.Vector3(),_0x402915=this[_0x3f092b(0x198)]['getBounds']();return _0x402915[_0x3f092b(0x1ab)](_0x4eb4e9),_0x4eb4e9['y']=_0x402915[_0x3f092b(0x16d)]['y'],!_0x126ca4?_0x4eb4e9[_0x3f092b(0x17e)](this[_0x3f092b(0x190)]()):_0x4eb4e9;}[_0x3d63e1(0x1c5)](_0x5f2dc0=!![]){const _0x5b3557=_0x3d63e1;let _0x395181=new webgpu.Vector3(),_0x317296=this[_0x5b3557(0x1b9)]();return _0x317296[_0x5b3557(0x1ab)](_0x395181),_0x395181['y']=_0x317296['min']['y'],!_0x5f2dc0?_0x395181[_0x5b3557(0x17e)](this[_0x5b3557(0x190)]()):_0x395181;}[_0x3d63e1(0x1b9)](){const _0x38fe7b=_0x3d63e1;return this['rootComponent'][_0x38fe7b(0x1b9)]();}[_0x3d63e1(0x19b)](){const _0x56f799=_0x3d63e1;let _0x21a524=this[_0x56f799(0x186)];_0x21a524[_0x56f799(0x1bb)](_0x122dce=>{const _0x56e81d=_0x56f799;_0x122dce[_0x56e81d(0x19b)]();}),this[_0x56f799(0x198)][_0x56f799(0x19b)]();}[_0x3d63e1(0x1c8)](_0x359aa3){this['rootComponent']['setVisible'](_0x359aa3);}[_0x3d63e1(0x187)](_0x10c92e,_0x19224f=!![]){const _0x5e936d=_0x3d63e1;this[_0x5e936d(0x198)]['setLayers'](_0x10c92e),_0x19224f&&this[_0x5e936d(0x186)][_0x5e936d(0x1bb)](_0x3b099d=>{_0x3b099d['setLayers'](_0x10c92e,_0x19224f);});}[_0x3d63e1(0x184)](_0x23b9de){const _0xf6aee3=_0x3d63e1;if(!this[_0xf6aee3(0x17b)])return;super['tick'](_0x23b9de),this[_0xf6aee3(0x198)][_0xf6aee3(0x184)](_0x23b9de);}['getPosition'](){const _0x470466=_0x3d63e1;return this[_0x470466(0x198)][_0x470466(0x190)]();}[_0x3d63e1(0x17c)](..._0x41c662){const _0x528b8a=_0x3d63e1;_0x41c662[_0x528b8a(0x1cc)]===0x1?this[_0x528b8a(0x198)][_0x528b8a(0x17c)](_0x41c662[0x0]):this[_0x528b8a(0x198)][_0x528b8a(0x17c)](_0x41c662[0x0],_0x41c662[0x1],_0x41c662[0x2]);}['getRotation'](){const _0x3f3829=_0x3d63e1;return this[_0x3f3829(0x198)][_0x3f3829(0x1b7)]();}[_0x3d63e1(0x1a5)](..._0x1c2294){const _0x4a23fe=_0x3d63e1;_0x1c2294['length']===0x1?this['rootComponent'][_0x4a23fe(0x1a5)](_0x1c2294[0x0]):this[_0x4a23fe(0x198)]['setRotation'](_0x1c2294[0x0],_0x1c2294[0x1],_0x1c2294[0x2]);}['getQuaternion'](){const _0x2f66c0=_0x3d63e1;return this[_0x2f66c0(0x198)][_0x2f66c0(0x172)]();}[_0x3d63e1(0x174)](..._0x4ab1cf){const _0x74b2c3=_0x3d63e1;_0x4ab1cf[_0x74b2c3(0x1cc)]===0x1?this[_0x74b2c3(0x198)]['setQuaternion'](_0x4ab1cf[0x0]):this[_0x74b2c3(0x198)][_0x74b2c3(0x174)](_0x4ab1cf[0x0],_0x4ab1cf[0x1],_0x4ab1cf[0x2],_0x4ab1cf[0x3]);}['getScale'](){const _0x4d0b0d=_0x3d63e1;return this[_0x4d0b0d(0x198)][_0x4d0b0d(0x1a4)]();}[_0x3d63e1(0x180)](..._0x5305a8){const _0x40dd04=_0x3d63e1;_0x5305a8[_0x40dd04(0x1cc)]===0x1?this[_0x40dd04(0x198)][_0x40dd04(0x180)](_0x5305a8[0x0]):this[_0x40dd04(0x198)][_0x40dd04(0x180)](_0x5305a8[0x0],_0x5305a8[0x1],_0x5305a8[0x2]);}['getWorldMatrix'](){const _0xb547d9=_0x3d63e1;return this[_0xb547d9(0x198)][_0xb547d9(0x183)]();}[_0x3d63e1(0x1b6)](_0x42fd9b){const _0x405982=_0x3d63e1;this[_0x405982(0x198)][_0x405982(0x1b6)](_0x42fd9b);}[_0x3d63e1(0x177)](){const _0x1ab6da=_0x3d63e1;return this[_0x1ab6da(0x198)][_0x1ab6da(0x177)]();}[_0x3d63e1(0x16e)](){const _0x5c40ee=_0x3d63e1;return this[_0x5c40ee(0x198)][_0x5c40ee(0x16e)]();}[_0x3d63e1(0x1af)](){const _0x7ccab6=_0x3d63e1;return this[_0x7ccab6(0x198)][_0x7ccab6(0x1af)]();}[_0x3d63e1(0x1bd)](){const _0x19be0d=_0x3d63e1;return this[_0x19be0d(0x198)][_0x19be0d(0x1bd)]();}[_0x3d63e1(0x175)](){const _0x4226eb=_0x3d63e1;return this[_0x4226eb(0x198)][_0x4226eb(0x175)]();}['getWorldUpDirection'](){const _0x1c1fce=_0x3d63e1;return this[_0x1c1fce(0x198)][_0x1c1fce(0x1a3)]();}[_0x3d63e1(0x1c6)](){const _0x16293b=_0x3d63e1;return this[_0x16293b(0x198)]['getWorldRightDirection']();}['addLocalOffset'](_0x896c2e,_0x18b68e){const _0x18dbf3=_0x3d63e1;let _0x28de55=this[_0x18dbf3(0x190)]();this[_0x18dbf3(0x17c)](_0x28de55['x']+_0x896c2e['x']*_0x18b68e,_0x28de55['y']+_0x896c2e['y']*_0x18b68e,_0x28de55['z']+_0x896c2e['z']*_0x18b68e);}[_0x3d63e1(0x19f)](_0x39ee55){const _0x1b71b3=_0x3d63e1;return this[_0x1b71b3(0x198)][_0x1b71b3(0x19f)](_0x39ee55);}[_0x3d63e1(0x1b0)](_0x3b14d1){const _0x378c4d=_0x3d63e1;return this[_0x378c4d(0x198)][_0x378c4d(0x1b0)](_0x3b14d1);}['getComponents'](){const _0x2c88c4=_0x3d63e1;return this[_0x2c88c4(0x198)][_0x2c88c4(0x1c9)];}[_0x3d63e1(0x185)](_0x4a2f39,_0x57b75c=exports.AttachmentRules[_0x3d63e1(0x176)]){const _0x2ce49f=_0x3d63e1;this['rootComponent'][_0x2ce49f(0x1c1)](_0x4a2f39,_0x57b75c),this[_0x2ce49f(0x1ca)]&&_0x4a2f39[_0x2ce49f(0x1a6)](this[_0x2ce49f(0x1ca)]);}[_0x3d63e1(0x1ad)](_0x435fa0){const _0xfb4282=_0x3d63e1;if(_0x435fa0===this[_0xfb4282(0x17a)])return;this['rootComponent'][_0xfb4282(0x1ba)](_0x435fa0);}[_0x3d63e1(0x17f)](){const _0xaec27c=_0x3d63e1;this[_0xaec27c(0x198)]['destroyChildren']();}[_0x3d63e1(0x1b5)](_0x6dc9dd,_0x59aaf1=exports.AttachmentRules[_0x3d63e1(0x1a9)]){const _0x49a5ee=_0x3d63e1;if(!_0x6dc9dd[_0x49a5ee(0x198)]){console[_0x49a5ee(0x18e)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0x6dc9dd[_0x49a5ee(0x191)]===this)return;_0x59aaf1===exports.AttachmentRules[_0x49a5ee(0x176)]&&this[_0x49a5ee(0x198)][_0x49a5ee(0x1ac)](_0x6dc9dd[_0x49a5ee(0x198)]);if(_0x59aaf1===exports.AttachmentRules[_0x49a5ee(0x1a9)]){let _0x219665=_0x6dc9dd[_0x49a5ee(0x183)]();this[_0x49a5ee(0x198)][_0x49a5ee(0x1ac)](_0x6dc9dd[_0x49a5ee(0x198)]),_0x6dc9dd['setWorldMatrix'](_0x219665);}this[_0x49a5ee(0x1ca)]&&this[_0x49a5ee(0x1ca)][_0x49a5ee(0x19d)][_0x49a5ee(0x199)]();}[_0x3d63e1(0x1c0)](_0xe8a2b7){const _0x39b15d=_0x3d63e1;let _0x3dd7f5=_0xe8a2b7['getWorldMatrix']();this[_0x39b15d(0x198)][_0x39b15d(0x1c4)](_0xe8a2b7[_0x39b15d(0x198)]),_0xe8a2b7[_0x39b15d(0x1b6)](_0x3dd7f5);}[_0x3d63e1(0x1a8)](){const _0x318d9d=_0x3d63e1;this[_0x318d9d(0x191)]&&this[_0x318d9d(0x191)][_0x318d9d(0x1c0)](this);}[_0x3d63e1(0x1a6)](_0x5be1f5){const _0x2ffc4a=_0x3d63e1;this[_0x2ffc4a(0x1ca)]=_0x5be1f5,this[_0x2ffc4a(0x198)][_0x2ffc4a(0x1a6)](this[_0x2ffc4a(0x1ca)]),this['childActors']['forEach'](_0x8238bd=>{const _0x312880=_0x2ffc4a;_0x8238bd[_0x312880(0x1a6)](_0x5be1f5);});}[_0x3d63e1(0x16f)](){const _0x404f6f=_0x3d63e1;this[_0x404f6f(0x1ca)]=null;}get[_0x3d63e1(0x1cf)](){const _0x5273ad=_0x3d63e1;return this['rootComponent'][_0x5273ad(0x1cf)];}set[_0x3d63e1(0x1cf)](_0x3b6188){const _0x13278a=_0x3d63e1;this[_0x13278a(0x198)][_0x13278a(0x1cf)]=_0x3b6188;}get[_0x3d63e1(0x1b4)](){const _0x112bb3=_0x3d63e1;return this[_0x112bb3(0x198)]['isClickEnabled'];}set[_0x3d63e1(0x1b4)](_0x16b271){const _0x3787e3=_0x3d63e1;this[_0x3787e3(0x198)][_0x3787e3(0x1b4)]=_0x16b271;}[_0x3d63e1(0x171)](_0x3b2926){const _0x11f0c5=_0x3d63e1;this[_0x11f0c5(0x1aa)]['broadcast'](_0x3b2926);}[_0x3d63e1(0x1a0)](_0x5467a7){const _0x5c4771=_0x3d63e1;this[_0x5c4771(0x1bc)][_0x5c4771(0x1a2)](_0x5467a7);}[_0x3d63e1(0x1cd)](_0x4a5218){const _0x2ca6b3=_0x3d63e1;this[_0x2ca6b3(0x1a1)][_0x2ca6b3(0x1a2)](_0x4a5218);}[_0x3d63e1(0x1bf)](_0x2819f3){const _0x428120=_0x3d63e1;this['_onDoubleClickDelegate'][_0x428120(0x1a2)](_0x2819f3);}[_0x3d63e1(0x179)](){}}
|
|
76
87
|
|
|
77
|
-
function _0x5379(_0x411f34,_0x307ab4){_0x411f34=_0x411f34-0x16e;const _0x239caa=_0x239c();let _0x5379d9=_0x239caa[_0x411f34];return _0x5379d9;}const _0x199886=_0x5379;(function(_0xc4d782,_0x3566af){const _0x454701=_0x5379,_0x300bcf=_0xc4d782();while(!![]){try{const _0xe62a36=parseInt(_0x454701(0x1b4))/0x1+parseInt(_0x454701(0x191))/0x2+parseInt(_0x454701(0x17e))/0x3+parseInt(_0x454701(0x1e4))/0x4*(-parseInt(_0x454701(0x184))/0x5)+-parseInt(_0x454701(0x176))/0x6*(-parseInt(_0x454701(0x1a7))/0x7)+-parseInt(_0x454701(0x17d))/0x8*(parseInt(_0x454701(0x175))/0x9)+-parseInt(_0x454701(0x1cc))/0xa*(parseInt(_0x454701(0x1d4))/0xb);if(_0xe62a36===_0x3566af)break;else _0x300bcf['push'](_0x300bcf['shift']());}catch(_0x3374f3){_0x300bcf['push'](_0x300bcf['shift']());}}}(_0x239c,0x18a0b));function _0x239c(){const _0x18c27d=['onActorHoverBegin','getHitResultFromScreenPoint','fireClickEvents','focusTo','onPointerDown','onPointerEnterEvent','clone','_app','handleDoubleClick','collider','getAllHitResultFromScreenPoint','alpha','63jtBTiC','1314EwxUpb','kill','clearClickTimer','_onComponentPointerDownDelegate','addActor','prepareClickModifiers','ray','126952oQJxhf','448104SALDnN','onPointerLeaveEvent','clientY','onPointerMoveEvent','subVectors','addCorePointerListeners','14150wwPhrY','hoveringActor','altKey','pointerup','_pawn','unpossess','top','pointerdown','world','onComponentHoverEndDelegate','onComponentDoubleClickDelegate','onHorveringBegin','hoveringComponent','236924ZIyxap','clearHovering','onActorHoverEnd','fireComponentHoverEnd','onPointerUpEvent','left','onPointerMove','size','quaternion','onClicked','tick','setTimeout','onDoubleClicked','onComponentClickDelegate','threeObject','clearTimeout','copy','isHoverEnabled','handleFirstClick','leftClickTimer','fireActorClick','getBoundingClientRect','6132QsPhQt','isClickEnabled','lineTraceMulti','hit','pointerleave','push','parentActor','button','_onActorClickDelegate','_onComponentHoverBeginDelegate','app','_raycastVec2','updateCamera','108114lbWIrT','viewPort','prepareClickComponent','_tempVec2','lerpVectors','physics','component','raycaster','pointerLeftDownPosition','fireComponentClick','_pointButtonIsDown','getTargetCameraState','_onClickNothingDelegate','onHorveringEnd','onClickNothingDelegate','_onActorHoverBeginDelegate','onPointerLeave','pointermove','_onActorDoubleClickDelegate','removeCorePointerListeners','_onComponentClickDelegate','camera','set','position','12940hCUCPX','_onComponentHoverEndDelegate','distance','pawn','fireActorHoverEnd','onPointerUp','_switchPawnTween','onActorHoverBeginDelegate','2255LKOxsl','pointerPosition','onPointerDownEvent','switchPawn','destroy','slerpQuaternions','canvas','pawn\x20is\x20null','handled','_onActorHoverEndDelegate','fireActorHoverBegin','removeEventListener','prepareClickHit','power2.inOut','onPointerEnter','getHitResultUnderCursor','128ugPwks','onComponentHoverBeginDelegate','onActorHoverEndDelegate','fireComponentHoverBegin','pointerenter','_onComponentDoubleClickDelegate','firePointerDownEvent','viewport','enabled','possess','doubleClickDelay','addEventListener','Visibility','broadcast','clientX'];_0x239c=function(){return _0x18c27d;};return _0x239c();}class Controller{get[_0x199886(0x1c9)](){const _0x452338=_0x199886;return this[_0x452338(0x170)][_0x452338(0x1c9)];}get[_0x199886(0x18c)](){const _0xe47313=_0x199886;return this[_0xe47313(0x170)][_0xe47313(0x18c)];}get[_0x199886(0x1b5)](){const _0x4b980f=_0x199886;return this[_0x4b980f(0x170)][_0x4b980f(0x1eb)];}get[_0x199886(0x1b1)](){const _0x4af158=_0x199886;return this[_0x4af158(0x170)];}get[_0x199886(0x1cf)](){const _0x4a8ab5=_0x199886;if(!this['_pawn'])throw Error(_0x4a8ab5(0x1db));return this[_0x4a8ab5(0x188)];}get[_0x199886(0x19e)](){const _0x43df90=_0x199886;return this[_0x43df90(0x1c8)];}get[_0x199886(0x18e)](){return this['_onComponentDoubleClickDelegate'];}get[_0x199886(0x1e5)](){const _0x406ea9=_0x199886;return this[_0x406ea9(0x1b0)];}get[_0x199886(0x18d)](){const _0x388cb4=_0x199886;return this[_0x388cb4(0x1cd)];}get['onComponentPointerDownDelegate'](){const _0x4f9038=_0x199886;return this[_0x4f9038(0x179)];}get['onActorClickDelegate'](){const _0x551225=_0x199886;return this[_0x551225(0x1af)];}get['onActorDoubleClickDelegate'](){const _0x19687f=_0x199886;return this[_0x19687f(0x1c6)];}get[_0x199886(0x1d3)](){const _0x41e439=_0x199886;return this[_0x41e439(0x1c3)];}get[_0x199886(0x1e6)](){const _0x56b6d2=_0x199886;return this[_0x56b6d2(0x1dd)];}get[_0x199886(0x1c2)](){const _0x2bbf27=_0x199886;return this[_0x2bbf27(0x1c0)];}constructor(_0xbbcb05){const _0x1d7c8c=_0x199886;this['_pawn']=null,this[_0x1d7c8c(0x1d2)]=null,this['hoveringComponent']=null,this[_0x1d7c8c(0x185)]=null,this[_0x1d7c8c(0x1b6)]=null,this[_0x1d7c8c(0x1e0)]=null,this['prepareClickModifiers']={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x1d7c8c(0x1be)]=new Set(),this[_0x1d7c8c(0x1c8)]=new Delegate(),this[_0x1d7c8c(0x1e9)]=new Delegate(),this[_0x1d7c8c(0x1b0)]=new Delegate(),this[_0x1d7c8c(0x1cd)]=new Delegate(),this[_0x1d7c8c(0x179)]=new Delegate(),this[_0x1d7c8c(0x1af)]=new Delegate(),this['_onActorDoubleClickDelegate']=new Delegate(),this['_onActorHoverBeginDelegate']=new Delegate(),this[_0x1d7c8c(0x1dd)]=new Delegate(),this[_0x1d7c8c(0x1c0)]=new Delegate(),this[_0x1d7c8c(0x1d5)]=new webgpu.Vector2(),this[_0x1d7c8c(0x1bc)]=new webgpu.Vector2(),this[_0x1d7c8c(0x1b7)]=new webgpu.Vector2(),this[_0x1d7c8c(0x1b2)]=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x1d7c8c(0x1a4)]=null,this[_0x1d7c8c(0x197)]=_0x58b9db=>this[_0x1d7c8c(0x181)](_0x58b9db),this[_0x1d7c8c(0x1e2)]=_0x1f3e5f=>this[_0x1d7c8c(0x16e)](_0x1f3e5f),this[_0x1d7c8c(0x1c4)]=_0x1f35b2=>this[_0x1d7c8c(0x17f)](_0x1f35b2),this['onPointerUp']=_0x5e38f3=>this[_0x1d7c8c(0x195)](_0x5e38f3),this[_0x1d7c8c(0x1f7)]=_0x4173b1=>this[_0x1d7c8c(0x1d6)](_0x4173b1),this[_0x1d7c8c(0x170)]=_0xbbcb05,this[_0x1d7c8c(0x188)]=new Orbital(_0xbbcb05),this[_0x1d7c8c(0x1cf)][_0x1d7c8c(0x1ed)](),this[_0x1d7c8c(0x1cf)][_0x1d7c8c(0x1ec)]=!![],this[_0x1d7c8c(0x1bb)]=new webgpu.Raycaster();}['init'](){const _0x5d8fa6=_0x199886,_0x6692aa=this[_0x5d8fa6(0x1b5)][_0x5d8fa6(0x1da)];_0x6692aa&&(_0x6692aa[_0x5d8fa6(0x1ef)](_0x5d8fa6(0x1e8),this['onPointerEnter']),_0x6692aa[_0x5d8fa6(0x1ef)](_0x5d8fa6(0x1ab),this['onPointerLeave']),this[_0x5d8fa6(0x183)]());}[_0x199886(0x1b3)](){const _0x332402=_0x199886;var _0x15c133,_0x4a0e5a;const _0x1c362a=this[_0x332402(0x1cf)][_0x332402(0x1ec)];(_0x15c133=this[_0x332402(0x188)])===null||_0x15c133===void 0?void 0:_0x15c133[_0x332402(0x189)](),(_0x4a0e5a=this[_0x332402(0x188)])===null||_0x4a0e5a===void 0?void 0:_0x4a0e5a[_0x332402(0x1d8)](),this[_0x332402(0x188)]=new Orbital(this[_0x332402(0x170)]),this[_0x332402(0x1cf)][_0x332402(0x1ed)](),this[_0x332402(0x1cf)]['enabled']=_0x1c362a;}async[_0x199886(0x1d7)](_0x44be02,_0x1e8f82){const _0x301b40=_0x199886;!_0x44be02[_0x301b40(0x18c)]&&this[_0x301b40(0x170)][_0x301b40(0x18c)][_0x301b40(0x17a)](_0x44be02);this[_0x301b40(0x1d2)]&&(this[_0x301b40(0x1d2)][_0x301b40(0x177)](),this[_0x301b40(0x1d2)]=null);const _0x1038bd=this[_0x301b40(0x188)];if(!_0x1e8f82||_0x1e8f82<=0x0){_0x1038bd&&(_0x1038bd['unpossess'](),_0x1038bd[_0x301b40(0x1ec)]=![]);this['_pawn']=_0x44be02,this['_pawn'][_0x301b40(0x1ec)]=!![],this['_pawn'][_0x301b40(0x1ed)]();return;}const _0x16aa56=this[_0x301b40(0x1c9)][_0x301b40(0x1cb)][_0x301b40(0x16f)](),_0x9ff7da=this[_0x301b40(0x1c9)][_0x301b40(0x199)][_0x301b40(0x16f)]();_0x1038bd&&(_0x1038bd[_0x301b40(0x189)](),_0x1038bd[_0x301b40(0x1ec)]=![]);const {position:_0x52ab08,quaternion:_0x380840}=_0x44be02[_0x301b40(0x1bf)]();return this[_0x301b40(0x188)]=_0x44be02,this['_pawn'][_0x301b40(0x1ec)]=![],new Promise(_0x4f0c64=>{const _0x10591a=_0x301b40,_0x163a01={'alpha':0x0};this[_0x10591a(0x1d2)]=gsap.gsap['to'](_0x163a01,{'alpha':0x1,'duration':_0x1e8f82,'ease':_0x10591a(0x1e1),'onUpdate':()=>{const _0x564c31=_0x10591a,_0x1d122f=_0x163a01[_0x564c31(0x174)];this[_0x564c31(0x1c9)]['position'][_0x564c31(0x1b8)](_0x16aa56,_0x52ab08,_0x1d122f),this[_0x564c31(0x1c9)][_0x564c31(0x199)][_0x564c31(0x1d9)](_0x9ff7da,_0x380840,_0x1d122f);},'onComplete':()=>{const _0x23e0bc=_0x10591a;this[_0x23e0bc(0x1d2)]=null,this[_0x23e0bc(0x188)]===_0x44be02&&(this[_0x23e0bc(0x188)]['possess'](),this['_pawn'][_0x23e0bc(0x1ec)]=!![]),_0x4f0c64();}});});}[_0x199886(0x19b)](_0x4d1b){const _0x58cbe4=_0x199886;!this[_0x58cbe4(0x1cf)]['world']&&this[_0x58cbe4(0x1cf)]['tick'](_0x4d1b);}[_0x199886(0x1d8)](){const _0x45e143=_0x199886;this[_0x45e143(0x178)](),this['clearHovering']();const _0x29af09=this[_0x45e143(0x1b5)]['canvas'];_0x29af09&&(_0x29af09['removeEventListener'](_0x45e143(0x1e8),this[_0x45e143(0x1e2)]),_0x29af09[_0x45e143(0x1df)](_0x45e143(0x1ab),this[_0x45e143(0x1c4)]),this['removeCorePointerListeners']()),this[_0x45e143(0x1cf)][_0x45e143(0x189)](),this[_0x45e143(0x1cf)][_0x45e143(0x1d8)](),this[_0x45e143(0x188)]=null;}['onPointerMoveEvent'](_0x394b5b){const _0x1abbc4=_0x199886;var _0x395e83,_0x2c9a49;const _0x29dc0d=this['viewPort']['canvas'];if(!_0x29dc0d)throw Error('canvas\x20is\x20null');const _0x3cf56b=_0x29dc0d[_0x1abbc4(0x1a6)]();this['pointerPosition'][_0x1abbc4(0x1ca)]((_0x394b5b[_0x1abbc4(0x1f2)]-_0x3cf56b[_0x1abbc4(0x196)])/_0x29dc0d['clientWidth']*0x2-0x1,0x1-(_0x394b5b[_0x1abbc4(0x180)]-_0x3cf56b[_0x1abbc4(0x18a)])/_0x29dc0d['clientHeight']*0x2);if(this[_0x1abbc4(0x1be)][_0x1abbc4(0x198)]>0x0)return;const _0x34d6cb=this[_0x1abbc4(0x1e3)](),_0x45085c=(_0x395e83=_0x34d6cb===null||_0x34d6cb===void 0?void 0:_0x34d6cb['component'])!==null&&_0x395e83!==void 0?_0x395e83:null,_0x4fb577=(_0x2c9a49=_0x45085c===null||_0x45085c===void 0?void 0:_0x45085c[_0x1abbc4(0x1ad)])!==null&&_0x2c9a49!==void 0?_0x2c9a49:null;_0x45085c!==this['hoveringComponent']&&(this[_0x1abbc4(0x190)]&&this[_0x1abbc4(0x194)](this[_0x1abbc4(0x190)]),_0x45085c&&_0x34d6cb&&this[_0x1abbc4(0x1e7)](_0x45085c,_0x34d6cb['hit'])),_0x4fb577!==this[_0x1abbc4(0x185)]&&(this[_0x1abbc4(0x185)]&&this[_0x1abbc4(0x190)]&&this[_0x1abbc4(0x1d0)](this[_0x1abbc4(0x185)],this[_0x1abbc4(0x190)]),_0x4fb577&&_0x45085c&&_0x34d6cb&&this[_0x1abbc4(0x1de)](_0x4fb577,_0x45085c,_0x34d6cb[_0x1abbc4(0x1aa)])),this[_0x1abbc4(0x190)]=_0x45085c,this[_0x1abbc4(0x185)]=_0x4fb577;}[_0x199886(0x192)](){const _0x593eb9=_0x199886;this[_0x593eb9(0x190)]&&this[_0x593eb9(0x194)](this[_0x593eb9(0x190)]),this[_0x593eb9(0x185)]&&this['hoveringComponent']&&this[_0x593eb9(0x1d0)](this[_0x593eb9(0x185)],this[_0x593eb9(0x190)]),this[_0x593eb9(0x190)]=null,this[_0x593eb9(0x185)]=null;}[_0x199886(0x195)](_0x266b07){const _0x2eaf2a=_0x199886;this[_0x2eaf2a(0x1be)]['delete'](_0x266b07[_0x2eaf2a(0x1ae)]);if(_0x266b07[_0x2eaf2a(0x1ae)]!==0x0)return;const _0x2fe16b=this['_tempVec2'][_0x2eaf2a(0x182)](this[_0x2eaf2a(0x1bc)],this[_0x2eaf2a(0x1d5)])['length']();if(_0x2fe16b>0.005){this[_0x2eaf2a(0x178)]();return;}this[_0x2eaf2a(0x17b)]={'ctrlKey':_0x266b07['ctrlKey'],'shiftKey':_0x266b07['shiftKey'],'altKey':_0x266b07[_0x2eaf2a(0x186)]},!this[_0x2eaf2a(0x1a4)]?this[_0x2eaf2a(0x1a3)]():this[_0x2eaf2a(0x171)]();}['handleFirstClick'](){const _0x1fa15a=_0x199886,_0x4c60ab=this[_0x1fa15a(0x1e3)](),_0x36a9b1=_0x4c60ab===null||_0x4c60ab===void 0?void 0:_0x4c60ab['component'];_0x36a9b1 instanceof SceneComponent&&_0x4c60ab?(this[_0x1fa15a(0x1b6)]=_0x36a9b1,this[_0x1fa15a(0x1e0)]=_0x4c60ab['hit'],this[_0x1fa15a(0x1a4)]=window[_0x1fa15a(0x19c)](()=>{const _0x143217=_0x1fa15a;this['leftClickTimer']=null,this['prepareClickComponent']&&this['prepareClickHit']&&(this['fireClickEvents'](this[_0x143217(0x1b6)],this[_0x143217(0x1e0)],![]),this[_0x143217(0x1b6)]=null,this[_0x143217(0x1e0)]=null);},this[_0x1fa15a(0x1ee)])):this[_0x1fa15a(0x1c0)][_0x1fa15a(0x1f1)]();}[_0x199886(0x171)](){const _0x2e0b46=_0x199886;this[_0x2e0b46(0x178)](),this['prepareClickComponent']&&this['prepareClickHit']?this['fireClickEvents'](this['prepareClickComponent'],this[_0x2e0b46(0x1e0)],!![]):this[_0x2e0b46(0x1c0)][_0x2e0b46(0x1f1)](),this[_0x2e0b46(0x1b6)]=null,this[_0x2e0b46(0x1e0)]=null;}[_0x199886(0x1d6)](_0x4470ce){const _0x5a405c=_0x199886;this['_pointButtonIsDown']['add'](_0x4470ce[_0x5a405c(0x1ae)]);_0x4470ce[_0x5a405c(0x1ae)]===0x0&&this[_0x5a405c(0x1bc)][_0x5a405c(0x1a1)](this['pointerPosition']);const _0x1dbede=this[_0x5a405c(0x1e3)](),_0x43f60c=_0x1dbede===null||_0x1dbede===void 0?void 0:_0x1dbede[_0x5a405c(0x1ba)];_0x43f60c instanceof SceneComponent&&_0x1dbede&&this['firePointerDownEvent'](_0x43f60c,_0x1dbede[_0x5a405c(0x1aa)],_0x4470ce['button']);}['onPointerEnterEvent'](_0x54569f){const _0x951cd5=_0x199886;this[_0x951cd5(0x183)]();}[_0x199886(0x17f)](_0x489137){this['removeCorePointerListeners']();}['fireComponentHoverBegin'](_0x5e8330,_0x3c6d54){const _0x1f31f7=_0x199886,_0x5698a6={'component':_0x5e8330,'hit':_0x3c6d54,'handled':![]};this[_0x1f31f7(0x1b0)][_0x1f31f7(0x1f1)](_0x5698a6),!_0x5698a6[_0x1f31f7(0x1dc)]&&_0x5e8330[_0x1f31f7(0x18f)]();}[_0x199886(0x194)](_0x52ba28){const _0x163a68=_0x199886,_0xba4e38={'component':_0x52ba28,'hit':null,'handled':![]};this['_onComponentHoverEndDelegate'][_0x163a68(0x1f1)](_0xba4e38),!_0xba4e38[_0x163a68(0x1dc)]&&_0x52ba28[_0x163a68(0x1c1)]();}[_0x199886(0x1bd)](_0x536420,_0x3bc5f4,_0x196ad5){const _0x13d940=_0x199886,_0x4d28fb=Object['assign']({'component':_0x536420,'hit':_0x3bc5f4,'handled':![]},this['prepareClickModifiers']);_0x196ad5?(this[_0x13d940(0x1e9)][_0x13d940(0x1f1)](_0x4d28fb),!_0x4d28fb[_0x13d940(0x1dc)]&&_0x536420[_0x13d940(0x19d)]()):(this[_0x13d940(0x1c8)][_0x13d940(0x1f1)](_0x4d28fb),!_0x4d28fb[_0x13d940(0x1dc)]&&_0x536420[_0x13d940(0x19a)]());}[_0x199886(0x1ea)](_0x4f8570,_0x44810f,_0xa47bae){const _0x3688b3=_0x199886,_0x4d2d50={'component':_0x4f8570,'hit':_0x44810f,'button':_0xa47bae,'handled':![]};this[_0x3688b3(0x179)]['broadcast'](_0x4d2d50);}[_0x199886(0x1de)](_0xea923d,_0x57da44,_0x4bbd65){const _0x639e27=_0x199886,_0x530c95={'actor':_0xea923d,'component':_0x57da44,'hit':_0x4bbd65,'handled':![]};this[_0x639e27(0x1c3)][_0x639e27(0x1f1)](_0x530c95),!_0x530c95[_0x639e27(0x1dc)]&&_0xea923d[_0x639e27(0x1f3)](_0x57da44);}[_0x199886(0x1d0)](_0x1101a7,_0x45c14c){const _0xb02e4=_0x199886,_0x584e29={'actor':_0x1101a7,'component':_0x45c14c,'hit':null,'handled':![]};this[_0xb02e4(0x1dd)][_0xb02e4(0x1f1)](_0x584e29),!_0x584e29[_0xb02e4(0x1dc)]&&_0x1101a7[_0xb02e4(0x193)](_0x45c14c);}[_0x199886(0x1a5)](_0x2ca8a9,_0x5194f3,_0x140450,_0x2a6898){const _0x3b4e69=_0x199886,_0x458504=Object['assign']({'actor':_0x2ca8a9,'component':_0x5194f3,'hit':_0x140450,'handled':![]},this['prepareClickModifiers']);_0x2a6898?(this[_0x3b4e69(0x1c6)][_0x3b4e69(0x1f1)](_0x458504),!_0x458504[_0x3b4e69(0x1dc)]&&_0x2ca8a9['onActorDoubleClick'](_0x5194f3)):(this['_onActorClickDelegate'][_0x3b4e69(0x1f1)](_0x458504),!_0x458504[_0x3b4e69(0x1dc)]&&_0x2ca8a9['onActorClick'](_0x5194f3));}[_0x199886(0x1f5)](_0x32031c,_0x3404cc,_0x30a13c){const _0x6fdda4=_0x199886;this[_0x6fdda4(0x1bd)](_0x32031c,_0x3404cc,_0x30a13c);const _0x49455b=_0x32031c[_0x6fdda4(0x1ad)];if(_0x49455b){if(_0x49455b[_0x6fdda4(0x1a8)])this[_0x6fdda4(0x1a5)](_0x49455b,_0x32031c,_0x3404cc,_0x30a13c);}}['clearClickTimer'](){const _0x30eb39=_0x199886;this[_0x30eb39(0x1a4)]&&(window[_0x30eb39(0x1a0)](this[_0x30eb39(0x1a4)]),this[_0x30eb39(0x1a4)]=null);}['addCorePointerListeners'](){const _0x308517=_0x199886,_0x4a0ad8=this[_0x308517(0x1b5)][_0x308517(0x1da)];if(!_0x4a0ad8)return;_0x4a0ad8[_0x308517(0x1ef)](_0x308517(0x1c5),this[_0x308517(0x197)]),_0x4a0ad8[_0x308517(0x1ef)]('pointerup',this['onPointerUp']),_0x4a0ad8[_0x308517(0x1ef)](_0x308517(0x18b),this[_0x308517(0x1f7)]);}[_0x199886(0x1c7)](){const _0x513092=_0x199886,_0x419069=this[_0x513092(0x1b5)][_0x513092(0x1da)];if(!_0x419069)return;_0x419069[_0x513092(0x1df)](_0x513092(0x1c5),this[_0x513092(0x197)]),_0x419069[_0x513092(0x1df)](_0x513092(0x187),this[_0x513092(0x1d1)]),_0x419069[_0x513092(0x1df)](_0x513092(0x18b),this[_0x513092(0x1f7)]);}[_0x199886(0x1e3)](_0x413e7c=!![]){const _0x33774c=_0x199886;return this[_0x33774c(0x1f4)](this[_0x33774c(0x1d5)]['x'],this['pointerPosition']['y'],_0x413e7c);}[_0x199886(0x1f4)](_0x3b2995,_0x23fee0,_0x649eea=!![]){const _0x1b91be=_0x199886;this[_0x1b91be(0x1b2)][_0x1b91be(0x1ca)](_0x3b2995,_0x23fee0),this['raycaster']['setFromCamera'](this[_0x1b91be(0x1b2)],this['camera']);const _0x297c28=this[_0x1b91be(0x173)](_0x3b2995,_0x23fee0);if(!_0x649eea)return _0x297c28[0x0]||null;for(const _0x125149 of _0x297c28){const _0x50074b=_0x125149[_0x1b91be(0x1ba)][_0x1b91be(0x1a2)]||_0x125149[_0x1b91be(0x1ba)][_0x1b91be(0x1a8)],_0x5f3da3=_0x125149['component']['parentActor'],_0x18e05f=_0x5f3da3&&(_0x5f3da3[_0x1b91be(0x1a2)]||_0x5f3da3[_0x1b91be(0x1a8)]);if(_0x50074b||_0x18e05f)return _0x125149;}return null;}[_0x199886(0x173)](_0x1afc08,_0x36774b){const _0x5d0cb4=_0x199886;this[_0x5d0cb4(0x1b2)][_0x5d0cb4(0x1ca)](_0x1afc08,_0x36774b),this[_0x5d0cb4(0x1bb)]['setFromCamera'](this[_0x5d0cb4(0x1b2)],this[_0x5d0cb4(0x1c9)]);const _0x61a3a4=this['raycaster'][_0x5d0cb4(0x17c)]['origin'],_0x41e5a4=this[_0x5d0cb4(0x1bb)][_0x5d0cb4(0x17c)]['at'](0x2710,new webgpu.Vector3()),_0x1d65e3=this[_0x5d0cb4(0x18c)][_0x5d0cb4(0x1b9)][_0x5d0cb4(0x1a9)](_0x61a3a4,_0x41e5a4,exports.CollisionChannel[_0x5d0cb4(0x1f0)]),_0x408aaf=[];for(const _0x11c548 of _0x1d65e3){if(!_0x11c548[_0x5d0cb4(0x172)]||!_0x11c548[_0x5d0cb4(0x172)][_0x5d0cb4(0x19f)])continue;const _0x41a5d0={'distance':_0x11c548[_0x5d0cb4(0x1ce)],'point':_0x11c548['point'],'object':_0x11c548[_0x5d0cb4(0x172)][_0x5d0cb4(0x19f)],'uv':new webgpu.Vector2(0x0,0x0)};_0x408aaf[_0x5d0cb4(0x1ac)]({'component':_0x11c548[_0x5d0cb4(0x172)],'hit':_0x41a5d0});if(_0x11c548['blocking'])break;}return _0x408aaf;}[_0x199886(0x1f6)](_0x59bee9,_0x3cf339,_0x4019fd,_0x32ebb6,_0x284fa5=null,_0x42eee4=null){const _0x33d250=_0x199886;this['pawn'][_0x33d250(0x1f6)](_0x59bee9,_0x3cf339,_0x4019fd,_0x32ebb6,_0x284fa5,_0x42eee4);}}
|
|
88
|
+
var _0x31d316=_0x1612;function _0x1612(_0x5b9f5a,_0x4e51dd){_0x5b9f5a=_0x5b9f5a-0x1a9;var _0x5e0542=_0x5e05();var _0x161286=_0x5e0542[_0x5b9f5a];return _0x161286;}(function(_0x5ca196,_0x177d1a){var _0x3732ae=_0x1612,_0x5dbdd1=_0x5ca196();while(!![]){try{var _0x47bf17=parseInt(_0x3732ae(0x1ad))/0x1*(parseInt(_0x3732ae(0x1b6))/0x2)+parseInt(_0x3732ae(0x1b2))/0x3+-parseInt(_0x3732ae(0x1ae))/0x4*(parseInt(_0x3732ae(0x1b5))/0x5)+-parseInt(_0x3732ae(0x1be))/0x6*(-parseInt(_0x3732ae(0x1bc))/0x7)+-parseInt(_0x3732ae(0x1ab))/0x8*(parseInt(_0x3732ae(0x1b8))/0x9)+-parseInt(_0x3732ae(0x1af))/0xa+-parseInt(_0x3732ae(0x1bb))/0xb;if(_0x47bf17===_0x177d1a)break;else _0x5dbdd1['push'](_0x5dbdd1['shift']());}catch(_0x26d755){_0x5dbdd1['push'](_0x5dbdd1['shift']());}}}(_0x5e05,0xadfd3));function _0x5e05(){var _0xdf2a3d=['3807620pWqpUZ','16CUtZvq','isTickEnabled','9596115AvSsJo','tick','camera','2737823olRdTr','7RTIQwW','enabled','5231022LCVyto','possess','stopFocusing','8bdpXPq','app','173634vwyjZn','4icvmfD','2012230NsYVdQ','_enabled','controller','2188875VmKSuS','destroy','focusTo'];_0x5e05=function(){return _0xdf2a3d;};return _0x5e05();}class Pawn extends Actor{get[_0x31d316(0x1ba)](){var _0x239659=_0x31d316;return this[_0x239659(0x1ac)][_0x239659(0x1ba)];}get[_0x31d316(0x1bd)](){var _0x21243c=_0x31d316;return this[_0x21243c(0x1b0)];}set['enabled'](_0x255e94){var _0x28e424=_0x31d316;this[_0x28e424(0x1b0)]=_0x255e94;}constructor(_0x2dcb02){var _0x5dd226=_0x31d316;super(_0x2dcb02),this[_0x5dd226(0x1b0)]=![],this[_0x5dd226(0x1b1)]=_0x2dcb02['controller'],this[_0x5dd226(0x1b7)]=!![];}[_0x31d316(0x1b9)](_0xf58b58){return;}[_0x31d316(0x1a9)](){}['unpossess'](){}[_0x31d316(0x1b4)](_0x2bffb3,_0x7f3d9b,_0x437f2d,_0x38454e,_0x242c80=null,_0x401b95=null){}[_0x31d316(0x1aa)](){}[_0x31d316(0x1b3)](){}}Pawn['inputFilter']=()=>!![];
|
|
78
89
|
|
|
79
|
-
const _0x35e1d5=_0x3863;(function(_0x1b51ec,_0x1920f0){const _0x369099=_0x3863,_0x1f6624=_0x1b51ec();while(!![]){try{const _0x2aaf2d=-parseInt(_0x369099(0xd6))/0x1*(parseInt(_0x369099(0xe0))/0x2)+parseInt(_0x369099(0xd7))/0x3+-parseInt(_0x369099(0xd8))/0x4+-parseInt(_0x369099(0xda))/0x5+-parseInt(_0x369099(0xe3))/0x6+-parseInt(_0x369099(0xd2))/0x7*(-parseInt(_0x369099(0xcb))/0x8)+-parseInt(_0x369099(0xe2))/0x9*(-parseInt(_0x369099(0xcc))/0xa);if(_0x2aaf2d===_0x1920f0)break;else _0x1f6624['push'](_0x1f6624['shift']());}catch(_0x1da6e1){_0x1f6624['push'](_0x1f6624['shift']());}}}(_0x29be,0x5a1fc));function _0x3863(_0x3bdc5b,_0x2bade0){_0x3bdc5b=_0x3bdc5b-0xc9;const _0x29be87=_0x29be();let _0x386307=_0x29be87[_0x3bdc5b];return _0x386307;}function _0x29be(){const _0x316bae=['57DzpgaS','1346577BrEDJX','2421576Trjkdk','type','2007695ymymSm','[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead','Perspective','far','bottom','fov','20494oeCfEd','left','1005489SGPuWO','3946350UTugtl','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','near','610384fxiGqf','160aUsdMB','top','Invalid\x20camera\x20type','createCamera','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','right','35zygqFv','warn','aspect','updataCamera'];_0x29be=function(){return _0x316bae;};return _0x29be();}class CameraFactory{static[_0x35e1d5(0xcf)](_0x46b088){const _0x7118ab=_0x35e1d5;try{switch(_0x46b088[_0x7118ab(0xd9)]){case _0x7118ab(0xdc):{let _0x637fa8=_0x46b088;return new webgpu.PerspectiveCamera(_0x637fa8[_0x7118ab(0xdf)],_0x637fa8[_0x7118ab(0xd4)],_0x637fa8[_0x7118ab(0xca)],_0x637fa8[_0x7118ab(0xdd)]);}case 'Orthographic':{let _0x16a13b=_0x46b088;return new webgpu.OrthographicCamera(_0x16a13b[_0x7118ab(0xe1)],_0x16a13b[_0x7118ab(0xd1)],_0x16a13b[_0x7118ab(0xcd)],_0x16a13b[_0x7118ab(0xde)],_0x16a13b[_0x7118ab(0xca)],_0x16a13b[_0x7118ab(0xdd)]);}default:{throw new Error(_0x7118ab(0xce));}}}catch(_0x4c4602){return console[_0x7118ab(0xd3)](_0x7118ab(0xc9),_0x4c4602),console[_0x7118ab(0xd3)](_0x7118ab(0xdb)),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0x35e1d5(0xd5)](_0x415461,_0x2ce9a4){const _0xc9db73=_0x35e1d5;try{switch(_0x415461[_0xc9db73(0xd9)]){case _0xc9db73(0xdc):{let _0x43ddef=_0x415461;if(_0x2ce9a4 instanceof webgpu.PerspectiveCamera)return _0x2ce9a4['near']=_0x43ddef[_0xc9db73(0xca)],_0x2ce9a4[_0xc9db73(0xdd)]=_0x43ddef[_0xc9db73(0xdd)],_0x2ce9a4[_0xc9db73(0xdf)]=_0x43ddef['fov'],_0x2ce9a4[_0xc9db73(0xd4)]=_0x43ddef[_0xc9db73(0xd4)],_0x2ce9a4;return new webgpu.PerspectiveCamera(_0x43ddef['fov'],_0x43ddef[_0xc9db73(0xd4)],_0x43ddef['near'],_0x43ddef[_0xc9db73(0xdd)]);}case 'Orthographic':{let _0x186d67=_0x415461;if(_0x2ce9a4 instanceof webgpu.OrthographicCamera)return _0x2ce9a4[_0xc9db73(0xca)]=_0x186d67[_0xc9db73(0xca)],_0x2ce9a4[_0xc9db73(0xdd)]=_0x186d67['far'],_0x2ce9a4[_0xc9db73(0xe1)]=_0x186d67[_0xc9db73(0xe1)],_0x2ce9a4['right']=_0x186d67[_0xc9db73(0xd1)],_0x2ce9a4[_0xc9db73(0xcd)]=_0x186d67[_0xc9db73(0xcd)],_0x2ce9a4[_0xc9db73(0xde)]=_0x186d67['bottom'],_0x2ce9a4;return new webgpu.OrthographicCamera(_0x186d67[_0xc9db73(0xe1)],_0x186d67['right'],_0x186d67[_0xc9db73(0xcd)],_0x186d67[_0xc9db73(0xde)],_0x186d67['near'],_0x186d67['far']);}default:{throw new Error(_0xc9db73(0xce));}}}catch(_0x256a84){return console[_0xc9db73(0xd3)]('[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20',_0x256a84),console['warn'](_0xc9db73(0xd0)),_0x2ce9a4;}}}
|
|
90
|
+
const _0x36e878=_0x1a2f;(function(_0x1b86cf,_0x1c6fde){const _0x60cfd2=_0x1a2f,_0x937026=_0x1b86cf();while(!![]){try{const _0x16cabb=parseInt(_0x60cfd2(0x1de))/0x1+-parseInt(_0x60cfd2(0x205))/0x2+parseInt(_0x60cfd2(0x200))/0x3*(-parseInt(_0x60cfd2(0x1bb))/0x4)+parseInt(_0x60cfd2(0x1df))/0x5+-parseInt(_0x60cfd2(0x1f0))/0x6+parseInt(_0x60cfd2(0x1c6))/0x7*(parseInt(_0x60cfd2(0x1da))/0x8)+-parseInt(_0x60cfd2(0x208))/0x9;if(_0x16cabb===_0x1c6fde)break;else _0x937026['push'](_0x937026['shift']());}catch(_0x273e96){_0x937026['push'](_0x937026['shift']());}}}(_0x1f4c,0x5ae87));function _0x1f4c(){const _0x3f9a29=['exp','1365021FzGtvv','_targetPosition','canvas','_targetDistance','slerp','_lastPointerPosition','threeObject','app','add','clamp','pointerId','onPointerUpDelegate','onWheelDelegate','hasPointerCapture','setFromRotationMatrix','enabled','abs','8sTcHgV','setCameraDraggingState','normalize','minDistance','rootComponent','multiplyScalar','lyCameraDragging','inputFilter','minAzimuthAngle','_focusTween','onPointerCancelDelegate','208159AAdNCk','clientY','preventDefault','zoomSpeed','applyQuaternion','clone','setQuaternion','clientHeight','releasePointerCapture','deltaY','stopFocusing','outer','setPosition','onWheel','dampingFactor','rotateSpeed','lerp','remove','lookAt','maxAzimuthAngle','136PEwnnw','onContextMenu','min','button','665511EvCurd','2802265ClUddC','onPointerDownDelegate','clientX','camera','onContextMenuDelegate','onPointerMoveDelegate','copy','function','maxDistance','alpha','setRotation','call','onPointerDown','updateCameraFromPawn','enableDamping','tick','_isDragging','1539234ZNojoX','getPosition','setFromEuler','maxPolarAngle','setPointerCapture','possess','setFromQuaternion','onPointerUp','distance','onPointerMove','kill','_targetQuaternion','getQuaternion','dataset','minPolarAngle','unpossess','358212IJILAq','YXZ','position','viewport','set','1424236xjMbkq','focusTo'];_0x1f4c=function(){return _0x3f9a29;};return _0x1f4c();}function _0x1a2f(_0x493d7a,_0x24703f){_0x493d7a=_0x493d7a-0x1b1;const _0x1f4cc8=_0x1f4c();let _0x1a2f80=_0x1f4cc8[_0x493d7a];return _0x1a2f80;}class Orbital extends Pawn{constructor(_0x13360e){const _0x583681=_0x1a2f;super(_0x13360e),this['distance']=0x5,this[_0x583681(0x1be)]=0.1,this['maxDistance']=0xf4240,this['rotateSpeed']=0x1,this[_0x583681(0x1c9)]=0x1,this['minPolarAngle']=0x0,this[_0x583681(0x1f3)]=Math['PI']*0.5,this['minAzimuthAngle']=-Infinity,this[_0x583681(0x1d9)]=Infinity,this['enableDamping']=!![],this[_0x583681(0x1d4)]=0xa,this[_0x583681(0x1ef)]=![],this['_lastPointerPosition']=new webgpu.Vector2(),this[_0x583681(0x209)]=new webgpu.Vector3(),this[_0x583681(0x1fb)]=new webgpu.Quaternion(),this[_0x583681(0x20b)]=0x5,this[_0x583681(0x1c4)]=null,this[_0x583681(0x1db)]=_0x450799=>{const _0x3d95ca=_0x583681;if(!Pawn[_0x3d95ca(0x1c2)]())return;_0x450799[_0x3d95ca(0x1c8)]();},this[_0x583681(0x1eb)]=_0x4149a4=>{const _0x167c16=_0x583681;if(!this['enabled']||!Pawn[_0x167c16(0x1c2)]())return;if(_0x4149a4['button']===0x0||_0x4149a4[_0x167c16(0x1dd)]===0x2){this[_0x167c16(0x1ef)]=!![],this[_0x167c16(0x20d)][_0x167c16(0x204)](_0x4149a4['clientX'],_0x4149a4[_0x167c16(0x1c7)]),this[_0x167c16(0x1bc)](!![]);const _0x25cb0e=this[_0x167c16(0x1b1)]['viewport'][_0x167c16(0x20a)];_0x25cb0e&&typeof _0x25cb0e['setPointerCapture']===_0x167c16(0x1e6)&&_0x25cb0e[_0x167c16(0x1f4)](_0x4149a4['pointerId']);}},this[_0x583681(0x1f9)]=_0x41d8ed=>{const _0x3ee082=_0x583681;if(!this['enabled']||!this['_isDragging']||!Pawn[_0x3ee082(0x1c2)]())return;if(_0x41d8ed['buttons']===0x0){this[_0x3ee082(0x1ef)]=![],this[_0x3ee082(0x1bc)](![]);return;}const _0x34a77a=_0x41d8ed[_0x3ee082(0x1e1)]-this['_lastPointerPosition']['x'],_0x150a27=_0x41d8ed[_0x3ee082(0x1c7)]-this[_0x3ee082(0x20d)]['y'];this[_0x3ee082(0x20d)][_0x3ee082(0x204)](_0x41d8ed[_0x3ee082(0x1e1)],_0x41d8ed['clientY']);const _0x267e3e=this[_0x3ee082(0x1b1)][_0x3ee082(0x203)][_0x3ee082(0x20a)];if(!_0x267e3e)return;if(_0x41d8ed['buttons']===0x1){const _0x26b41b=this[_0x3ee082(0x1d5)]*0x2*Math['PI'],_0x4e37c6=new webgpu.Euler(0x0,0x0,0x0,_0x3ee082(0x201))[_0x3ee082(0x1f6)](this['_targetQuaternion']);_0x4e37c6['y']-=_0x34a77a/_0x267e3e[_0x3ee082(0x1cd)]*_0x26b41b,_0x4e37c6['x']-=_0x150a27/_0x267e3e[_0x3ee082(0x1cd)]*_0x26b41b;const _0x2b8440=Math['max'](this[_0x3ee082(0x1fe)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x1d62d0=Math['min'](this[_0x3ee082(0x1f3)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x4e37c6['x']=webgpu.MathUtils[_0x3ee082(0x1b3)](_0x4e37c6['x'],_0x2b8440,_0x1d62d0),isFinite(this['minAzimuthAngle'])&&isFinite(this['maxAzimuthAngle'])&&(_0x4e37c6['y']=webgpu.MathUtils[_0x3ee082(0x1b3)](_0x4e37c6['y'],this[_0x3ee082(0x1c3)],this[_0x3ee082(0x1d9)])),_0x4e37c6['z']=0x0,this['_targetQuaternion'][_0x3ee082(0x1f2)](_0x4e37c6),!this[_0x3ee082(0x1ed)]&&this[_0x3ee082(0x1cc)](this[_0x3ee082(0x1fb)]);}else {if(_0x41d8ed['buttons']===0x2){const _0xda795e=this[_0x3ee082(0x20b)]*0.002,_0x4d857b=new webgpu.Vector3(0x1,0x0,0x0)[_0x3ee082(0x1ca)](this[_0x3ee082(0x1fb)])[_0x3ee082(0x1bd)](),_0x150c18=new webgpu.Vector3(0x0,0x1,0x0)[_0x3ee082(0x1ca)](this['_targetQuaternion'])[_0x3ee082(0x1bd)]();this['_targetPosition']['addScaledVector'](_0x4d857b,-_0x34a77a*_0xda795e),this[_0x3ee082(0x209)]['addScaledVector'](_0x150c18,_0x150a27*_0xda795e),!this[_0x3ee082(0x1ed)]&&this[_0x3ee082(0x1d2)](this[_0x3ee082(0x209)]);}}},this[_0x583681(0x1f7)]=_0x1ca1af=>{const _0x23b258=_0x583681;var _0x393e07;this[_0x23b258(0x1ef)]=![],this[_0x23b258(0x1bc)](![]);const _0x353e83=this['app'][_0x23b258(0x203)][_0x23b258(0x20a)];_0x353e83&&typeof _0x353e83[_0x23b258(0x1ce)]===_0x23b258(0x1e6)&&((_0x393e07=_0x353e83[_0x23b258(0x1b7)])===null||_0x393e07===void 0?void 0:_0x393e07[_0x23b258(0x1ea)](_0x353e83,_0x1ca1af[_0x23b258(0x1b4)]))&&_0x353e83[_0x23b258(0x1ce)](_0x1ca1af[_0x23b258(0x1b4)]);},this['onWheel']=_0x457ab3=>{const _0x43b8ee=_0x583681;if(!this[_0x43b8ee(0x1b9)]||!Pawn[_0x43b8ee(0x1c2)]())return;const _0x58fd97=0.95;_0x457ab3[_0x43b8ee(0x1cf)]>0x0?this['_targetDistance']/=_0x58fd97:this['_targetDistance']*=_0x58fd97,this['_targetDistance']=webgpu.MathUtils[_0x43b8ee(0x1b3)](this[_0x43b8ee(0x20b)],this['minDistance'],this[_0x43b8ee(0x1e7)]),!this[_0x43b8ee(0x1ed)]&&(this[_0x43b8ee(0x1f8)]=this[_0x43b8ee(0x20b)]);};}[_0x36e878(0x1f5)](){const _0x506f58=_0x36e878;super[_0x506f58(0x1f5)]();this[_0x506f58(0x1bf)]&&this[_0x506f58(0x1bf)][_0x506f58(0x20e)]&&(this[_0x506f58(0x1bf)][_0x506f58(0x20e)]['rotation']['order']=_0x506f58(0x201));this[_0x506f58(0x209)][_0x506f58(0x1e5)](this[_0x506f58(0x1f1)]());const _0x33d13c=this[_0x506f58(0x1fc)](),_0x4236f6=new webgpu.Euler(0x0,0x0,0x0,_0x506f58(0x201))[_0x506f58(0x1f6)](_0x33d13c);Math['abs'](_0x4236f6['z'])>0.00001?(_0x4236f6['z']=0x0,this['_targetQuaternion'][_0x506f58(0x1f2)](_0x4236f6),this[_0x506f58(0x1cc)](this['_targetQuaternion'])):this[_0x506f58(0x1fb)]['copy'](_0x33d13c);this[_0x506f58(0x20b)]=this[_0x506f58(0x1f8)];const _0x547b65=this[_0x506f58(0x1b1)]['controller'];_0x547b65&&(_0x547b65['onPointerDownDelegate'][_0x506f58(0x1b2)](this[_0x506f58(0x1eb)]),_0x547b65[_0x506f58(0x1e4)][_0x506f58(0x1b2)](this['onPointerMove']),_0x547b65[_0x506f58(0x1b5)][_0x506f58(0x1b2)](this[_0x506f58(0x1f7)]),_0x547b65[_0x506f58(0x1c5)][_0x506f58(0x1b2)](this[_0x506f58(0x1f7)]),_0x547b65[_0x506f58(0x1b6)][_0x506f58(0x1b2)](this[_0x506f58(0x1d3)]),_0x547b65[_0x506f58(0x1e3)][_0x506f58(0x1b2)](this[_0x506f58(0x1db)])),this[_0x506f58(0x1ec)]();}['getTargetCameraState'](){const _0x1d7488=_0x36e878,_0x15e747=this[_0x1d7488(0x1f1)](),_0x272793=this['getQuaternion'](),_0x441954=new webgpu.Vector3(0x0,0x0,0x1)[_0x1d7488(0x1ca)](_0x272793)[_0x1d7488(0x1c0)](this['distance']),_0x391994=_0x15e747[_0x1d7488(0x1cb)]()[_0x1d7488(0x1b2)](_0x441954),_0x5a5f67=new webgpu.Matrix4();_0x5a5f67['lookAt'](_0x391994,_0x15e747,this['camera']['up']);const _0x46d081=new webgpu.Quaternion()[_0x1d7488(0x1b8)](_0x5a5f67);return {'position':_0x391994,'quaternion':_0x46d081};}[_0x36e878(0x1ec)](){const _0x34dcc9=_0x36e878;if(!this['enabled']||!this[_0x34dcc9(0x1e2)])return;const _0x48c9e3=this[_0x34dcc9(0x1f1)](),_0x92d4e=this[_0x34dcc9(0x1fc)](),_0x34f2ce=new webgpu.Vector3(0x0,0x0,0x1)[_0x34dcc9(0x1ca)](_0x92d4e)['multiplyScalar'](this[_0x34dcc9(0x1f8)]);this[_0x34dcc9(0x1e2)][_0x34dcc9(0x202)][_0x34dcc9(0x1e5)](_0x48c9e3)[_0x34dcc9(0x1b2)](_0x34f2ce),this[_0x34dcc9(0x1e2)][_0x34dcc9(0x1d8)](_0x48c9e3);}[_0x36e878(0x1ff)](){const _0x2e6242=_0x36e878;super[_0x2e6242(0x1ff)]();const _0x242bfa=this[_0x2e6242(0x1b1)]['controller'];_0x242bfa&&(_0x242bfa[_0x2e6242(0x1e0)][_0x2e6242(0x1d7)](this[_0x2e6242(0x1eb)]),_0x242bfa['onPointerMoveDelegate'][_0x2e6242(0x1d7)](this[_0x2e6242(0x1f9)]),_0x242bfa[_0x2e6242(0x1b5)][_0x2e6242(0x1d7)](this[_0x2e6242(0x1f7)]),_0x242bfa[_0x2e6242(0x1c5)][_0x2e6242(0x1d7)](this[_0x2e6242(0x1f7)]),_0x242bfa[_0x2e6242(0x1b6)][_0x2e6242(0x1d7)](this['onWheel']),_0x242bfa['onContextMenuDelegate'][_0x2e6242(0x1d7)](this['onContextMenu'])),this[_0x2e6242(0x1ef)]=![],this[_0x2e6242(0x1bc)](![]),this[_0x2e6242(0x1c4)]&&(this['_focusTween']['kill'](),this['_focusTween']=null);}[_0x36e878(0x1bc)](_0x4d3778){const _0xc52045=_0x36e878,_0x4bfaee=this[_0xc52045(0x1b1)][_0xc52045(0x203)][_0xc52045(0x1d1)];if(!_0x4bfaee)return;_0x4d3778?_0x4bfaee[_0xc52045(0x1fd)][_0xc52045(0x1c1)]='1':delete _0x4bfaee[_0xc52045(0x1fd)][_0xc52045(0x1c1)];}[_0x36e878(0x1ee)](_0x220472){const _0x9db928=_0x36e878;if(this[_0x9db928(0x1ed)]){const _0x962585=Math[_0x9db928(0x1dc)](_0x220472,0.1),_0x96a551=0x1-Math[_0x9db928(0x207)](-this['dampingFactor']*_0x962585);this[_0x9db928(0x1f8)]=webgpu.MathUtils[_0x9db928(0x1d6)](this['distance'],this[_0x9db928(0x20b)],_0x96a551);const _0x3240e4=this[_0x9db928(0x1f1)]();_0x3240e4[_0x9db928(0x1d6)](this[_0x9db928(0x209)],_0x96a551),super['setPosition'](_0x3240e4);const _0x5a3397=this[_0x9db928(0x1fc)]();_0x5a3397[_0x9db928(0x20c)](this[_0x9db928(0x1fb)],_0x96a551),super['setQuaternion'](_0x5a3397);}this[_0x9db928(0x1ec)]();}[_0x36e878(0x1d2)](..._0xf23e99){const _0x2f14f7=_0x36e878;super['setPosition'](..._0xf23e99),this[_0x2f14f7(0x209)][_0x2f14f7(0x1e5)](this[_0x2f14f7(0x1f1)]());}[_0x36e878(0x1e9)](..._0x55bafb){const _0x204c63=_0x36e878;super[_0x204c63(0x1e9)](..._0x55bafb),this['_targetQuaternion']['copy'](this[_0x204c63(0x1fc)]());}[_0x36e878(0x1cc)](..._0x29727d){const _0x17b96b=_0x36e878;super[_0x17b96b(0x1cc)](..._0x29727d),this['_targetQuaternion'][_0x17b96b(0x1e5)](this[_0x17b96b(0x1fc)]());}[_0x36e878(0x206)](_0x473e4e,_0x1cc5e3,_0x38b921,_0x3f7125,_0x3f55f0=null,_0x25a356=null){const _0x6ffcb1=_0x36e878;this[_0x6ffcb1(0x1c4)]&&this[_0x6ffcb1(0x1c4)][_0x6ffcb1(0x1fa)]();const _0x437fb2=this[_0x6ffcb1(0x1f1)](),_0x3add6d=this['getQuaternion'](),_0x469d9a=this['distance'];let _0x2eacab;_0x1cc5e3 instanceof webgpu.Euler?_0x2eacab=new webgpu.Quaternion()[_0x6ffcb1(0x1f2)](_0x1cc5e3):_0x2eacab=_0x1cc5e3[_0x6ffcb1(0x1cb)]();const _0x1100fb=new webgpu.Euler(0x0,0x0,0x0,_0x6ffcb1(0x201))[_0x6ffcb1(0x1f6)](_0x2eacab);Math[_0x6ffcb1(0x1ba)](_0x1100fb['z'])>0.00001&&(_0x1100fb['z']=0x0,_0x2eacab[_0x6ffcb1(0x1f2)](_0x1100fb));const _0x332d5a={'alpha':0x0};this['_focusTween']=gsap.gsap['to'](_0x332d5a,{'alpha':0x1,'duration':_0x3f7125,'onUpdate':()=>{const _0x1fc892=_0x6ffcb1,_0x31b162=_0x332d5a[_0x1fc892(0x1e8)],_0x1b3b80=new webgpu.Vector3()['lerpVectors'](_0x437fb2,_0x473e4e,_0x31b162);this[_0x1fc892(0x1d2)](_0x1b3b80),this[_0x1fc892(0x209)][_0x1fc892(0x1e5)](_0x1b3b80);const _0xe2de59=_0x3add6d[_0x1fc892(0x1cb)]()[_0x1fc892(0x20c)](_0x2eacab,_0x31b162);this[_0x1fc892(0x1cc)](_0xe2de59),this[_0x1fc892(0x1fb)][_0x1fc892(0x1e5)](_0xe2de59),this[_0x1fc892(0x1f8)]=webgpu.MathUtils[_0x1fc892(0x1d6)](_0x469d9a,_0x38b921,_0x31b162),this['_targetDistance']=this[_0x1fc892(0x1f8)];if(_0x3f55f0)_0x3f55f0();},'onComplete':()=>{const _0x276a43=_0x6ffcb1;this[_0x276a43(0x1c4)]=null;if(_0x25a356)_0x25a356();}});}[_0x36e878(0x1d0)](){const _0x166356=_0x36e878;this[_0x166356(0x1c4)]&&(this[_0x166356(0x1c4)][_0x166356(0x1fa)](),this['_focusTween']=null);}}
|
|
80
91
|
|
|
81
|
-
const _0x347c78=_0x84da;(function(_0x472ad5,_0x18388b){const _0x1f6586=_0x84da,_0x4db445=_0x472ad5();while(!![]){try{const _0x41c56f=-parseInt(_0x1f6586(0x180))/0x1*(parseInt(_0x1f6586(0x184))/0x2)+-parseInt(_0x1f6586(0x187))/0x3*(-parseInt(_0x1f6586(0x183))/0x4)+-parseInt(_0x1f6586(0x185))/0x5+parseInt(_0x1f6586(0x17f))/0x6*(parseInt(_0x1f6586(0x181))/0x7)+-parseInt(_0x1f6586(0x188))/0x8+parseInt(_0x1f6586(0x186))/0x9+parseInt(_0x1f6586(0x17e))/0xa;if(_0x41c56f===_0x18388b)break;else _0x4db445['push'](_0x4db445['shift']());}catch(_0x550f3d){_0x4db445['push'](_0x4db445['shift']());}}}(_0xa6db,0x573da));const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':'Perspective','fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0x347c78(0x182),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON['parse'](JSON['stringify'](DefaultPerspectiveCameraParam));function _0x84da(_0x361de9,_0x1b6190){_0x361de9=_0x361de9-0x17e;const _0xa6db05=_0xa6db();let _0x84da4a=_0xa6db05[_0x361de9];return _0x84da4a;}function _0xa6db(){const _0x3baf91=['993514qZqUba','606065oCierr','4435056pDGdmD','93ftdyje','2718904RqfMeT','1475870oikytG','6pIhbfv','1GpQpfD','1196699swkiCn','Orthographic','65012UysiIG'];_0xa6db=function(){return _0x3baf91;};return _0xa6db();}
|
|
92
|
+
const _0x1f3e58=_0x5e89;(function(_0x520a85,_0x481176){const _0x44e48b=_0x5e89,_0x4ca32c=_0x520a85();while(!![]){try{const _0x122577=parseInt(_0x44e48b(0x250))/0x1*(parseInt(_0x44e48b(0x24e))/0x2)+-parseInt(_0x44e48b(0x299))/0x3*(parseInt(_0x44e48b(0x25e))/0x4)+parseInt(_0x44e48b(0x1fd))/0x5*(parseInt(_0x44e48b(0x2a6))/0x6)+-parseInt(_0x44e48b(0x244))/0x7*(parseInt(_0x44e48b(0x200))/0x8)+-parseInt(_0x44e48b(0x215))/0x9*(-parseInt(_0x44e48b(0x224))/0xa)+-parseInt(_0x44e48b(0x229))/0xb*(parseInt(_0x44e48b(0x29a))/0xc)+parseInt(_0x44e48b(0x265))/0xd;if(_0x122577===_0x481176)break;else _0x4ca32c['push'](_0x4ca32c['shift']());}catch(_0x2e7afe){_0x4ca32c['push'](_0x4ca32c['shift']());}}}(_0xa589,0x87022));function _0xa589(){const _0x445f95=['handled','altKey','_onContextMenuDelegate','_onWheelDelegate','onActorDoubleClick','_raycastVec2','handleDoubleClick','onComponentPointerDownDelegate','_pawn','onPointerMove','origin','onPointerDownEvent','onPointerUpDelegate','_onClickNothingDelegate','fireClickEvents','top','blur','onKeyDownEvent','4197lbZCHT','76740qmZpRo','tan','removeEventListener','world','pawn\x20is\x20null','clientWidth','_onPointerUpDelegate','pointerPosition','distance','hit','_pointButtonIsDown','onPointerEnter','1050NdmppK','pointerdown','_onActorHoverBeginDelegate','onPointerEnterEvent','onClicked','getAllHitResultUnderCursor','createInitialPawn','lerpVectors','component','_onComponentClickDelegate','clearHovering','addEventListener','setFromAxisAngle','fireActorHoverBegin','_onPointerDownDelegate','_app','pointercancel','onActorClick','getHitResultUnderCursor','position','clearTimeout','focusToBounds','_onComponentHoverBeginDelegate','lineTraceSingle','setFromObject','_tempVec2','handleFirstClick','_onPointerLockChangeDelegate','onKeyDown','_onWindowBlurDelegate','860bKxJJx','assign','getAllHitResultFromScreenPoint','2479048pBhcng','button','hoveringActor','addActor','firePointerDownEvent','onWheel','set','pointerLeftDownPosition','onPointerLockChangeDelegate','onClick','leftClickTimer','onKeyUp','unpossess','onHorveringEnd','onWindowBlurEvent','_onComponentDoubleClickDelegate','viewPort','fireComponentClick','YXZ','shiftKey','getHitResultFromScreenPoint','204084ivakhm','onHorveringBegin','_onKeyDownDelegate','onContextMenu','fov','add','onPointerLockChangeEvent','parentActor','isHoverEnabled','canvas','onClickEvent','focusTo','_onActorHoverEndDelegate','clone','prepareClickComponent','240tDxmXM','onWheelEvent','onPointerLeaveEvent','pointerlockchange','onWindowBlur','1045QjbdpN','Visibility','collider','keydown','lineTraceMulti','focusToObject','prepareClickModifiers','onComponentDoubleClickDelegate','onPointerDownDelegate','_onComponentPointerDownDelegate','pointerenter','onPointerMoveEvent','getSize','sqrt','ctrlKey','removeCorePointerListeners','onActorHoverBeginDelegate','fireActorHoverEnd','app','blocking','threeObject','onPointerUpEvent','onPointerLeave','pointerup','quaternion','setFromEuler','fireComponentHoverBegin','14MMLgIX','onPointerMoveDelegate','getBoundingClientRect','onContextMenuEvent','ray','raycaster','onActorHoverEndDelegate','kill','onPointerUp','onActorHoverBegin','66JCnZlX','pointermove','8072RHsqNM','onPointerLockChange','_onPointerMoveDelegate','broadcast','camera','prepareClickHit','isClickEnabled','pawn','contextmenu','_onActorDoubleClickDelegate','onPointerDown','onDoubleClicked','addCorePointerListeners','wheel','2844RCEFfJ','onWindowBlurDelegate','enabled','power2.inOut','keyup','onPointerCancel','fireActorClick','25145510OJQfxc','onComponentClickDelegate','setFromCamera','onKeyUpEvent','_onKeyUpDelegate','onRawClickDelegate','physics','onComponentHoverEndDelegate','_onPointerCancelDelegate','_onComponentHoverEndDelegate','possess','destroy','_switchPawnTween','hoveringComponent','click','push','onActorClickDelegate','switchPawn','alpha','fireComponentHoverEnd','_onRawClickDelegate','_onActorClickDelegate','clientHeight','subVectors','length','onPointerCancelEvent','near','doubleClickDelay','onKeyUpDelegate','tick','onActorHoverEnd','onActorDoubleClickDelegate','onPointerCancelDelegate','init'];_0xa589=function(){return _0x445f95;};return _0xa589();}function _0x5e89(_0x4a93bf,_0x1ecbdf){_0x4a93bf=_0x4a93bf-0x1f4;const _0xa589f1=_0xa589();let _0x5e89e4=_0xa589f1[_0x4a93bf];return _0x5e89e4;}class Controller{get[_0x1f3e58(0x254)](){const _0xcf00ba=_0x1f3e58;return this[_0xcf00ba(0x2b5)]['camera'];}get['world'](){const _0x5dacba=_0x1f3e58;return this[_0x5dacba(0x2b5)][_0x5dacba(0x29d)];}get['viewPort'](){return this['_app']['viewport'];}get[_0x1f3e58(0x23b)](){const _0x1b6be0=_0x1f3e58;return this[_0x1b6be0(0x2b5)];}get['pawn'](){const _0x4a6840=_0x1f3e58;if(!this[_0x4a6840(0x28f)])throw Error(_0x4a6840(0x29e));return this[_0x4a6840(0x28f)];}get[_0x1f3e58(0x266)](){const _0x5cf576=_0x1f3e58;return this[_0x5cf576(0x2af)];}get[_0x1f3e58(0x230)](){return this['_onComponentDoubleClickDelegate'];}get['onComponentHoverBeginDelegate'](){const _0xdb54f4=_0x1f3e58;return this[_0xdb54f4(0x1f5)];}get[_0x1f3e58(0x26c)](){const _0x4d74af=_0x1f3e58;return this[_0x4d74af(0x26e)];}get[_0x1f3e58(0x28e)](){const _0x1eb71e=_0x1f3e58;return this[_0x1eb71e(0x232)];}get[_0x1f3e58(0x275)](){return this['_onActorClickDelegate'];}get[_0x1f3e58(0x284)](){const _0x472ab8=_0x1f3e58;return this[_0x472ab8(0x259)];}get[_0x1f3e58(0x239)](){const _0x278cd5=_0x1f3e58;return this[_0x278cd5(0x2a8)];}get[_0x1f3e58(0x24a)](){const _0x57c22c=_0x1f3e58;return this[_0x57c22c(0x221)];}get['onClickNothingDelegate'](){const _0x4ad4cc=_0x1f3e58;return this[_0x4ad4cc(0x294)];}get[_0x1f3e58(0x231)](){return this['_onPointerDownDelegate'];}get[_0x1f3e58(0x293)](){return this['_onPointerUpDelegate'];}get[_0x1f3e58(0x245)](){const _0x13aa0f=_0x1f3e58;return this[_0x13aa0f(0x252)];}get[_0x1f3e58(0x285)](){return this['_onPointerCancelDelegate'];}get['onWheelDelegate'](){const _0x6a9f1e=_0x1f3e58;return this[_0x6a9f1e(0x28a)];}get['onKeyDownDelegate'](){const _0x4d25b7=_0x1f3e58;return this[_0x4d25b7(0x217)];}get[_0x1f3e58(0x281)](){const _0x52e549=_0x1f3e58;return this[_0x52e549(0x269)];}get['onContextMenuDelegate'](){const _0x46e0c2=_0x1f3e58;return this[_0x46e0c2(0x289)];}get[_0x1f3e58(0x208)](){const _0xeac904=_0x1f3e58;return this[_0xeac904(0x1fa)];}get[_0x1f3e58(0x25f)](){const _0x2e696a=_0x1f3e58;return this[_0x2e696a(0x1fc)];}get[_0x1f3e58(0x26a)](){const _0x4f3c50=_0x1f3e58;return this[_0x4f3c50(0x279)];}constructor(_0x196f5b){const _0x57f811=_0x1f3e58;this[_0x57f811(0x28f)]=null,this[_0x57f811(0x271)]=null,this[_0x57f811(0x272)]=null,this[_0x57f811(0x202)]=null,this[_0x57f811(0x223)]=null,this[_0x57f811(0x255)]=null,this[_0x57f811(0x22f)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x57f811(0x2a4)]=new Set(),this[_0x57f811(0x2af)]=new Delegate(),this[_0x57f811(0x20f)]=new Delegate(),this[_0x57f811(0x1f5)]=new Delegate(),this['_onComponentHoverEndDelegate']=new Delegate(),this[_0x57f811(0x232)]=new Delegate(),this[_0x57f811(0x27a)]=new Delegate(),this[_0x57f811(0x259)]=new Delegate(),this[_0x57f811(0x2a8)]=new Delegate(),this[_0x57f811(0x221)]=new Delegate(),this[_0x57f811(0x294)]=new Delegate(),this[_0x57f811(0x2b4)]=new Delegate(),this[_0x57f811(0x2a0)]=new Delegate(),this[_0x57f811(0x252)]=new Delegate(),this[_0x57f811(0x26d)]=new Delegate(),this[_0x57f811(0x28a)]=new Delegate(),this['_onKeyDownDelegate']=new Delegate(),this[_0x57f811(0x269)]=new Delegate(),this[_0x57f811(0x289)]=new Delegate(),this['_onPointerLockChangeDelegate']=new Delegate(),this[_0x57f811(0x1fc)]=new Delegate(),this[_0x57f811(0x279)]=new Delegate(),this[_0x57f811(0x2a1)]=new webgpu.Vector2(),this[_0x57f811(0x207)]=new webgpu.Vector2(),this[_0x57f811(0x1f8)]=new webgpu.Vector2(),this['_raycastVec2']=new webgpu.Vector2(),this[_0x57f811(0x280)]=0xfa,this[_0x57f811(0x20a)]=null,this[_0x57f811(0x290)]=_0x5f26d8=>this[_0x57f811(0x234)](_0x5f26d8),this[_0x57f811(0x2a5)]=_0x310ab7=>this[_0x57f811(0x2a9)](_0x310ab7),this['onPointerLeave']=_0xb9f645=>this[_0x57f811(0x226)](_0xb9f645),this[_0x57f811(0x24c)]=_0x388b33=>this['onPointerUpEvent'](_0x388b33),this['onPointerDown']=_0x1d518d=>this[_0x57f811(0x292)](_0x1d518d),this[_0x57f811(0x263)]=_0x3dd06=>this[_0x57f811(0x27e)](_0x3dd06),this[_0x57f811(0x205)]=_0x59a687=>this['onWheelEvent'](_0x59a687),this[_0x57f811(0x1fb)]=_0x5e77d0=>this[_0x57f811(0x298)](_0x5e77d0),this[_0x57f811(0x20b)]=_0x5a46e0=>this[_0x57f811(0x268)](_0x5a46e0),this[_0x57f811(0x218)]=_0x98674a=>this['onContextMenuEvent'](_0x98674a),this[_0x57f811(0x251)]=_0x2a7ba0=>this[_0x57f811(0x21b)](_0x2a7ba0),this[_0x57f811(0x228)]=_0x696ddc=>this['onWindowBlurEvent'](_0x696ddc),this[_0x57f811(0x209)]=_0x5e93ba=>this[_0x57f811(0x21f)](_0x5e93ba),this[_0x57f811(0x2b5)]=_0x196f5b,this['raycaster']=new webgpu.Raycaster(),this[_0x57f811(0x2ac)]();}[_0x1f3e58(0x2ac)](){const _0x1168ad=_0x1f3e58;this[_0x1168ad(0x28f)]=new Orbital(this['_app']),this[_0x1168ad(0x257)][_0x1168ad(0x26f)](),this[_0x1168ad(0x257)]['enabled']=!![];}[_0x1f3e58(0x286)](){const _0x1843c4=_0x1f3e58,_0x100d90=this[_0x1843c4(0x210)][_0x1843c4(0x21e)];console['log'](_0x1843c4(0x21e),_0x100d90),_0x100d90&&(_0x100d90['addEventListener']('pointerenter',this[_0x1843c4(0x2a5)]),_0x100d90[_0x1843c4(0x2b1)]('pointerleave',this[_0x1843c4(0x23f)]),_0x100d90['addEventListener'](_0x1843c4(0x2b6),this[_0x1843c4(0x263)]),_0x100d90['addEventListener'](_0x1843c4(0x25d),this[_0x1843c4(0x205)]),_0x100d90[_0x1843c4(0x2b1)](_0x1843c4(0x258),this[_0x1843c4(0x218)]),_0x100d90[_0x1843c4(0x2b1)](_0x1843c4(0x273),this[_0x1843c4(0x209)]),this[_0x1843c4(0x25c)]()),document[_0x1843c4(0x2b1)](_0x1843c4(0x227),this[_0x1843c4(0x251)]),document[_0x1843c4(0x2b1)]('keydown',this['onKeyDown']),document[_0x1843c4(0x2b1)](_0x1843c4(0x262),this['onKeyUp']),window[_0x1843c4(0x2b1)]('blur',this[_0x1843c4(0x228)]),this[_0x1843c4(0x28f)]&&(this['_pawn'][_0x1843c4(0x20c)](),this[_0x1843c4(0x28f)][_0x1843c4(0x26f)]());}['updateCamera'](){const _0x4c2834=_0x1f3e58;var _0x56b1c1,_0xf711e4;const _0x34b08f=this[_0x4c2834(0x257)][_0x4c2834(0x260)];(_0x56b1c1=this['_pawn'])===null||_0x56b1c1===void 0?void 0:_0x56b1c1['unpossess'](),(_0xf711e4=this[_0x4c2834(0x28f)])===null||_0xf711e4===void 0?void 0:_0xf711e4[_0x4c2834(0x270)](),this[_0x4c2834(0x28f)]=new Orbital(this[_0x4c2834(0x2b5)]),this[_0x4c2834(0x257)]['possess'](),this[_0x4c2834(0x257)][_0x4c2834(0x260)]=_0x34b08f;}async[_0x1f3e58(0x276)](_0x48e16c,_0x46a13b){const _0x1628c3=_0x1f3e58;!_0x48e16c[_0x1628c3(0x29d)]&&this['_app'][_0x1628c3(0x29d)][_0x1628c3(0x203)](_0x48e16c);this[_0x1628c3(0x271)]&&(this[_0x1628c3(0x271)][_0x1628c3(0x24b)](),this['_switchPawnTween']=null);const _0xf9eda9=this[_0x1628c3(0x28f)];if(_0xf9eda9===_0x48e16c)return;if(!_0x46a13b||_0x46a13b<=0x0){_0xf9eda9&&(_0xf9eda9['unpossess'](),_0xf9eda9[_0x1628c3(0x260)]=![]);this['_pawn']=_0x48e16c,this['_pawn'][_0x1628c3(0x260)]=!![],this[_0x1628c3(0x28f)][_0x1628c3(0x26f)]();return;}const _0x27d7d1=this[_0x1628c3(0x254)][_0x1628c3(0x2b9)]['clone'](),_0xe9f988=this[_0x1628c3(0x254)]['quaternion']['clone']();_0xf9eda9&&(_0xf9eda9[_0x1628c3(0x20c)](),_0xf9eda9[_0x1628c3(0x260)]=![]);const {position:_0xf734cd,quaternion:_0x399091}=_0x48e16c['getTargetCameraState']();return this[_0x1628c3(0x28f)]=_0x48e16c,this[_0x1628c3(0x28f)][_0x1628c3(0x260)]=![],new Promise(_0x1b9b7f=>{const _0x2e2511=_0x1628c3,_0x53f49c={'alpha':0x0};this['_switchPawnTween']=gsap.gsap['to'](_0x53f49c,{'alpha':0x1,'duration':_0x46a13b,'ease':_0x2e2511(0x261),'onUpdate':()=>{const _0x333249=_0x2e2511,_0x4de9ce=_0x53f49c[_0x333249(0x277)];this['camera']['position'][_0x333249(0x2ad)](_0x27d7d1,_0xf734cd,_0x4de9ce),this[_0x333249(0x254)][_0x333249(0x241)]['slerpQuaternions'](_0xe9f988,_0x399091,_0x4de9ce);},'onComplete':()=>{const _0x1796bb=_0x2e2511;this[_0x1796bb(0x271)]=null,this[_0x1796bb(0x28f)]===_0x48e16c&&(this[_0x1796bb(0x28f)]['possess'](),this[_0x1796bb(0x28f)][_0x1796bb(0x260)]=!![]),_0x1b9b7f();}});});}[_0x1f3e58(0x282)](_0x4a1f94){const _0x529a2a=_0x1f3e58;!this[_0x529a2a(0x257)][_0x529a2a(0x29d)]&&this[_0x529a2a(0x257)]['tick'](_0x4a1f94);}['destroy'](){const _0x534b47=_0x1f3e58;this['clearClickTimer'](),this['clearHovering']();const _0x228cb3=this[_0x534b47(0x210)][_0x534b47(0x21e)];_0x228cb3&&(_0x228cb3['removeEventListener'](_0x534b47(0x233),this[_0x534b47(0x2a5)]),_0x228cb3[_0x534b47(0x29c)]('pointerleave',this['onPointerLeave']),_0x228cb3[_0x534b47(0x29c)](_0x534b47(0x2b6),this['onPointerCancel']),_0x228cb3[_0x534b47(0x29c)](_0x534b47(0x25d),this['onWheel']),_0x228cb3['removeEventListener'](_0x534b47(0x258),this[_0x534b47(0x218)]),_0x228cb3['removeEventListener'](_0x534b47(0x273),this['onClick']),this[_0x534b47(0x238)]()),document[_0x534b47(0x29c)](_0x534b47(0x227),this['onPointerLockChange']),document[_0x534b47(0x29c)](_0x534b47(0x22c),this[_0x534b47(0x1fb)]),document[_0x534b47(0x29c)](_0x534b47(0x262),this[_0x534b47(0x20b)]),window[_0x534b47(0x29c)](_0x534b47(0x297),this['onWindowBlur']),this[_0x534b47(0x257)][_0x534b47(0x20c)](),this[_0x534b47(0x257)][_0x534b47(0x270)](),this[_0x534b47(0x28f)]=null;}['onPointerMoveEvent'](_0x86f1cb){const _0x502acb=_0x1f3e58;var _0x3782ec,_0x4024c3;this[_0x502acb(0x252)][_0x502acb(0x253)](_0x86f1cb);const _0x3b542b=this[_0x502acb(0x210)][_0x502acb(0x21e)];if(!_0x3b542b)throw Error('canvas\x20is\x20null');const _0x4780f7=_0x3b542b[_0x502acb(0x246)]();this[_0x502acb(0x2a1)]['set']((_0x86f1cb['clientX']-_0x4780f7['left'])/_0x3b542b[_0x502acb(0x29f)]*0x2-0x1,0x1-(_0x86f1cb['clientY']-_0x4780f7[_0x502acb(0x296)])/_0x3b542b[_0x502acb(0x27b)]*0x2);if(this['_pointButtonIsDown']['size']>0x0)return;const _0x3c7fef=this[_0x502acb(0x2b8)](),_0x25b28f=(_0x3782ec=_0x3c7fef===null||_0x3c7fef===void 0?void 0:_0x3c7fef['component'])!==null&&_0x3782ec!==void 0?_0x3782ec:null,_0x37c814=(_0x4024c3=_0x25b28f===null||_0x25b28f===void 0?void 0:_0x25b28f[_0x502acb(0x21c)])!==null&&_0x4024c3!==void 0?_0x4024c3:null;_0x25b28f!==this[_0x502acb(0x272)]&&(this[_0x502acb(0x272)]&&this[_0x502acb(0x278)](this[_0x502acb(0x272)]),_0x25b28f&&_0x3c7fef&&this[_0x502acb(0x243)](_0x25b28f,_0x3c7fef[_0x502acb(0x2a3)])),_0x37c814!==this[_0x502acb(0x202)]&&(this[_0x502acb(0x202)]&&this['hoveringComponent']&&this[_0x502acb(0x23a)](this[_0x502acb(0x202)],this['hoveringComponent']),_0x37c814&&_0x25b28f&&_0x3c7fef&&this[_0x502acb(0x2b3)](_0x37c814,_0x25b28f,_0x3c7fef[_0x502acb(0x2a3)])),this[_0x502acb(0x272)]=_0x25b28f,this['hoveringActor']=_0x37c814;}[_0x1f3e58(0x2b0)](){const _0x19a23e=_0x1f3e58;this[_0x19a23e(0x272)]&&this['fireComponentHoverEnd'](this[_0x19a23e(0x272)]),this[_0x19a23e(0x202)]&&this['hoveringComponent']&&this[_0x19a23e(0x23a)](this[_0x19a23e(0x202)],this[_0x19a23e(0x272)]),this[_0x19a23e(0x272)]=null,this[_0x19a23e(0x202)]=null;}[_0x1f3e58(0x23e)](_0x268714){const _0x3934a3=_0x1f3e58;this['_onPointerUpDelegate'][_0x3934a3(0x253)](_0x268714),this[_0x3934a3(0x2a4)]['delete'](_0x268714[_0x3934a3(0x201)]);if(_0x268714[_0x3934a3(0x201)]!==0x0)return;const _0x484685=this['_tempVec2'][_0x3934a3(0x27c)](this[_0x3934a3(0x207)],this[_0x3934a3(0x2a1)])['length']();if(_0x484685>0.005){this['clearClickTimer']();return;}this['prepareClickModifiers']={'ctrlKey':_0x268714[_0x3934a3(0x237)],'shiftKey':_0x268714[_0x3934a3(0x213)],'altKey':_0x268714[_0x3934a3(0x288)]},!this[_0x3934a3(0x20a)]?this[_0x3934a3(0x1f9)]():this[_0x3934a3(0x28d)]();}['handleFirstClick'](){const _0x133fab=_0x1f3e58,_0x5a6e30=this[_0x133fab(0x2b8)](),_0x4aae50=_0x5a6e30===null||_0x5a6e30===void 0?void 0:_0x5a6e30[_0x133fab(0x2ae)];_0x4aae50 instanceof SceneComponent&&_0x5a6e30?(this['prepareClickComponent']=_0x4aae50,this['prepareClickHit']=_0x5a6e30[_0x133fab(0x2a3)],this['leftClickTimer']=window['setTimeout'](()=>{const _0x2f617b=_0x133fab;this[_0x2f617b(0x20a)]=null,this[_0x2f617b(0x223)]&&this[_0x2f617b(0x255)]&&(this[_0x2f617b(0x295)](this[_0x2f617b(0x223)],this[_0x2f617b(0x255)],![]),this[_0x2f617b(0x223)]=null,this[_0x2f617b(0x255)]=null);},this[_0x133fab(0x280)])):this[_0x133fab(0x294)][_0x133fab(0x253)]();}[_0x1f3e58(0x28d)](){const _0x51bcb3=_0x1f3e58;this['clearClickTimer'](),this['prepareClickComponent']&&this[_0x51bcb3(0x255)]?this[_0x51bcb3(0x295)](this[_0x51bcb3(0x223)],this[_0x51bcb3(0x255)],!![]):this[_0x51bcb3(0x294)][_0x51bcb3(0x253)](),this[_0x51bcb3(0x223)]=null,this[_0x51bcb3(0x255)]=null;}[_0x1f3e58(0x292)](_0x2510bd){const _0x895e0c=_0x1f3e58;this[_0x895e0c(0x2b4)][_0x895e0c(0x253)](_0x2510bd),this['_pointButtonIsDown'][_0x895e0c(0x21a)](_0x2510bd[_0x895e0c(0x201)]);_0x2510bd[_0x895e0c(0x201)]===0x0&&this[_0x895e0c(0x207)]['copy'](this['pointerPosition']);const _0x355d0a=this['getHitResultUnderCursor'](),_0x35ba1e=_0x355d0a===null||_0x355d0a===void 0?void 0:_0x355d0a[_0x895e0c(0x2ae)];_0x35ba1e instanceof SceneComponent&&_0x355d0a&&this[_0x895e0c(0x204)](_0x35ba1e,_0x355d0a[_0x895e0c(0x2a3)],_0x2510bd[_0x895e0c(0x201)]);}[_0x1f3e58(0x2a9)](_0x5d3184){this['addCorePointerListeners']();}['onPointerLeaveEvent'](_0x4ed693){const _0xe190d3=_0x1f3e58;this[_0xe190d3(0x238)]();}[_0x1f3e58(0x27e)](_0x383990){const _0x5ef25f=_0x1f3e58;this[_0x5ef25f(0x26d)][_0x5ef25f(0x253)](_0x383990);}[_0x1f3e58(0x225)](_0x31e0b8){const _0x2f515b=_0x1f3e58;this[_0x2f515b(0x28a)][_0x2f515b(0x253)](_0x31e0b8);}[_0x1f3e58(0x298)](_0x1e7149){const _0x476a4c=_0x1f3e58;this[_0x476a4c(0x217)][_0x476a4c(0x253)](_0x1e7149);}['onKeyUpEvent'](_0x2379c7){const _0x59725b=_0x1f3e58;this[_0x59725b(0x269)]['broadcast'](_0x2379c7);}[_0x1f3e58(0x247)](_0x16c875){const _0xc17968=_0x1f3e58;this['_onContextMenuDelegate'][_0xc17968(0x253)](_0x16c875);}[_0x1f3e58(0x21b)](_0xb58559){const _0x2ef7b4=_0x1f3e58;this['_onPointerLockChangeDelegate'][_0x2ef7b4(0x253)](_0xb58559);}[_0x1f3e58(0x20e)](_0x3db85d){const _0x107c03=_0x1f3e58;this[_0x107c03(0x1fc)][_0x107c03(0x253)](_0x3db85d);}[_0x1f3e58(0x21f)](_0x595986){const _0x5437a1=_0x1f3e58;this['_onRawClickDelegate'][_0x5437a1(0x253)](_0x595986);}[_0x1f3e58(0x243)](_0xbc5ea4,_0x44f6bb){const _0x2521c5=_0x1f3e58,_0x44d95a={'component':_0xbc5ea4,'hit':_0x44f6bb,'handled':![]};this['_onComponentHoverBeginDelegate'][_0x2521c5(0x253)](_0x44d95a),!_0x44d95a[_0x2521c5(0x287)]&&_0xbc5ea4[_0x2521c5(0x216)]();}[_0x1f3e58(0x278)](_0x219712){const _0x398c37=_0x1f3e58,_0x315ef3={'component':_0x219712,'hit':null,'handled':![]};this['_onComponentHoverEndDelegate'][_0x398c37(0x253)](_0x315ef3),!_0x315ef3['handled']&&_0x219712[_0x398c37(0x20d)]();}['fireComponentClick'](_0x49a74a,_0x48e868,_0x352b21){const _0x20ffe1=_0x1f3e58,_0x386f22=Object['assign']({'component':_0x49a74a,'hit':_0x48e868,'handled':![]},this[_0x20ffe1(0x22f)]);_0x352b21?(this[_0x20ffe1(0x20f)][_0x20ffe1(0x253)](_0x386f22),!_0x386f22[_0x20ffe1(0x287)]&&_0x49a74a[_0x20ffe1(0x25b)]()):(this[_0x20ffe1(0x2af)][_0x20ffe1(0x253)](_0x386f22),!_0x386f22[_0x20ffe1(0x287)]&&_0x49a74a[_0x20ffe1(0x2aa)]());}[_0x1f3e58(0x204)](_0x42e78e,_0x4f295c,_0x5f03a1){const _0xfa1788=_0x1f3e58,_0xfbb68c={'component':_0x42e78e,'hit':_0x4f295c,'button':_0x5f03a1,'handled':![]};this[_0xfa1788(0x232)][_0xfa1788(0x253)](_0xfbb68c);}['fireActorHoverBegin'](_0x470a73,_0x2688db,_0x49faa0){const _0x109d31=_0x1f3e58,_0x5d119a={'actor':_0x470a73,'component':_0x2688db,'hit':_0x49faa0,'handled':![]};this[_0x109d31(0x2a8)][_0x109d31(0x253)](_0x5d119a),!_0x5d119a[_0x109d31(0x287)]&&_0x470a73[_0x109d31(0x24d)](_0x2688db);}['fireActorHoverEnd'](_0x343bf6,_0x630ace){const _0x3c31a6=_0x1f3e58,_0x424a38={'actor':_0x343bf6,'component':_0x630ace,'hit':null,'handled':![]};this[_0x3c31a6(0x221)][_0x3c31a6(0x253)](_0x424a38),!_0x424a38['handled']&&_0x343bf6[_0x3c31a6(0x283)](_0x630ace);}[_0x1f3e58(0x264)](_0x205373,_0x17e529,_0xc97792,_0x533d96){const _0x664189=_0x1f3e58,_0x33dae1=Object[_0x664189(0x1fe)]({'actor':_0x205373,'component':_0x17e529,'hit':_0xc97792,'handled':![]},this[_0x664189(0x22f)]);_0x533d96?(this[_0x664189(0x259)][_0x664189(0x253)](_0x33dae1),!_0x33dae1[_0x664189(0x287)]&&_0x205373[_0x664189(0x28b)](_0x17e529)):(this[_0x664189(0x27a)][_0x664189(0x253)](_0x33dae1),!_0x33dae1[_0x664189(0x287)]&&_0x205373[_0x664189(0x2b7)](_0x17e529));}[_0x1f3e58(0x295)](_0x14b0e0,_0x14e0a1,_0x25752a){const _0x57adf0=_0x1f3e58;this[_0x57adf0(0x211)](_0x14b0e0,_0x14e0a1,_0x25752a);const _0x2bc027=_0x14b0e0[_0x57adf0(0x21c)];if(_0x2bc027){if(_0x2bc027['isClickEnabled'])this['fireActorClick'](_0x2bc027,_0x14b0e0,_0x14e0a1,_0x25752a);}}['clearClickTimer'](){const _0x540cb8=_0x1f3e58;this[_0x540cb8(0x20a)]&&(window[_0x540cb8(0x2ba)](this[_0x540cb8(0x20a)]),this['leftClickTimer']=null);}[_0x1f3e58(0x25c)](){const _0x5eea13=_0x1f3e58,_0x1c18e5=this[_0x5eea13(0x210)][_0x5eea13(0x21e)];if(!_0x1c18e5)return;_0x1c18e5[_0x5eea13(0x2b1)](_0x5eea13(0x24f),this[_0x5eea13(0x290)]),_0x1c18e5[_0x5eea13(0x2b1)](_0x5eea13(0x240),this[_0x5eea13(0x24c)]),_0x1c18e5[_0x5eea13(0x2b1)](_0x5eea13(0x2a7),this[_0x5eea13(0x25a)]);}[_0x1f3e58(0x238)](){const _0x523dfd=_0x1f3e58,_0x1f6b6b=this[_0x523dfd(0x210)][_0x523dfd(0x21e)];if(!_0x1f6b6b)return;_0x1f6b6b[_0x523dfd(0x29c)](_0x523dfd(0x24f),this[_0x523dfd(0x290)]),_0x1f6b6b[_0x523dfd(0x29c)](_0x523dfd(0x240),this[_0x523dfd(0x24c)]),_0x1f6b6b[_0x523dfd(0x29c)]('pointerdown',this[_0x523dfd(0x25a)]);}[_0x1f3e58(0x2b8)](_0x296885=!![]){const _0xf924b3=_0x1f3e58;return this[_0xf924b3(0x214)](this[_0xf924b3(0x2a1)]['x'],this[_0xf924b3(0x2a1)]['y'],_0x296885);}[_0x1f3e58(0x214)](_0x918af6,_0x3709c6,_0x8e99eb=!![]){const _0x1e3e72=_0x1f3e58;this[_0x1e3e72(0x28c)]['set'](_0x918af6,_0x3709c6),this[_0x1e3e72(0x249)]['setFromCamera'](this[_0x1e3e72(0x28c)],this['camera']);const _0x1a365d=this['getAllHitResultFromScreenPoint'](_0x918af6,_0x3709c6);if(!_0x8e99eb)return _0x1a365d[0x0]||null;for(const _0x2645e0 of _0x1a365d){const _0x406f99=_0x2645e0[_0x1e3e72(0x2ae)]['isHoverEnabled']||_0x2645e0['component']['isClickEnabled'],_0x2653f5=_0x2645e0[_0x1e3e72(0x2ae)][_0x1e3e72(0x21c)],_0x3c8640=_0x2653f5&&(_0x2653f5[_0x1e3e72(0x21d)]||_0x2653f5[_0x1e3e72(0x256)]);if(_0x406f99||_0x3c8640)return _0x2645e0;}return null;}[_0x1f3e58(0x2ab)](_0x3a1340=!![]){const _0x373dbd=_0x1f3e58;return this[_0x373dbd(0x1ff)](this['pointerPosition']['x'],this[_0x373dbd(0x2a1)]['y']);}['getAllHitResultFromScreenPoint'](_0x20f9d5,_0x35e6e6){const _0x1b745e=_0x1f3e58;this[_0x1b745e(0x28c)][_0x1b745e(0x206)](_0x20f9d5,_0x35e6e6),this[_0x1b745e(0x249)][_0x1b745e(0x267)](this[_0x1b745e(0x28c)],this[_0x1b745e(0x254)]);const _0x50940a=this[_0x1b745e(0x249)][_0x1b745e(0x248)][_0x1b745e(0x291)],_0x54d442=this[_0x1b745e(0x249)][_0x1b745e(0x248)]['at'](0x2710,new webgpu.Vector3()),_0x30bdb0=this[_0x1b745e(0x29d)][_0x1b745e(0x26b)][_0x1b745e(0x22d)](_0x50940a,_0x54d442,exports.CollisionChannel[_0x1b745e(0x22a)]),_0xc9dfb2=[];for(const _0x47053d of _0x30bdb0){if(!_0x47053d[_0x1b745e(0x22b)]||!_0x47053d[_0x1b745e(0x22b)][_0x1b745e(0x23d)])continue;if(this['camera']instanceof webgpu.PerspectiveCamera&&_0x47053d[_0x1b745e(0x2a2)]<this[_0x1b745e(0x254)][_0x1b745e(0x27f)])continue;const _0x3d034b={'distance':_0x47053d['distance'],'point':_0x47053d['point'],'object':_0x47053d[_0x1b745e(0x22b)][_0x1b745e(0x23d)],'uv':new webgpu.Vector2(0x0,0x0)};_0xc9dfb2[_0x1b745e(0x274)]({'component':_0x47053d[_0x1b745e(0x22b)],'hit':_0x3d034b});if(_0x47053d['blocking'])break;}return _0xc9dfb2;}['focusTo'](_0x3d4a8b,_0x3a9e43,_0x4e4bed,_0x4736fa,_0x186bc3=null,_0xbbe15c=null){const _0x446135=_0x1f3e58;this[_0x446135(0x257)][_0x446135(0x220)](_0x3d4a8b,_0x3a9e43,_0x4e4bed,_0x4736fa,_0x186bc3,_0xbbe15c);}[_0x1f3e58(0x1f4)](_0x3f4247,_0x50978e,_0x20a6cb=![],_0x26d2ce=null,_0x54eb4f=null){const _0x52cc80=_0x1f3e58,_0x47c353=new webgpu.Vector3(),_0x592ce2=new webgpu.Vector3();_0x3f4247['getCenter'](_0x47c353),_0x3f4247[_0x52cc80(0x235)](_0x592ce2);const _0x12439f=this[_0x52cc80(0x23b)]['camera'];if(_0x12439f&&_0x12439f['isPerspectiveCamera']){const _0x2d97f9=_0x12439f[_0x52cc80(0x219)]*(Math['PI']/0xb4),_0x52a3da=Math[_0x52cc80(0x236)](0.5),_0x580fda=_0x592ce2[_0x52cc80(0x27d)]()*0.5,_0x513521=Math['max'](_0x580fda/_0x52a3da/Math[_0x52cc80(0x29b)](_0x2d97f9/0x2),_0x12439f[_0x52cc80(0x27f)]*0x2);let _0x1b295b=_0x12439f['quaternion'][_0x52cc80(0x222)]();if(_0x20a6cb){const _0x27b54a=[new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,0x0,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x4,0x0,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x2,0x0,0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x3,0x0,0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x3,Math['PI'],0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,'YXZ')];let _0x461f5b=-1;for(const _0x5ae339 of _0x27b54a){const _0x11d71f=new webgpu.Quaternion()[_0x52cc80(0x242)](_0x5ae339),_0x5721c6=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x11d71f),_0x4773e2=_0x47c353[_0x52cc80(0x222)]()['add'](_0x5721c6['multiplyScalar'](_0x513521)),_0x5180bc=this[_0x52cc80(0x29d)]['physics'][_0x52cc80(0x1f6)](_0x4773e2,_0x47c353,exports.CollisionChannel['Visibility']);let _0x2fcef5=![],_0x537b51=_0x513521;_0x5180bc&&_0x5180bc[_0x52cc80(0x23c)]&&(_0x5180bc[_0x52cc80(0x2a2)]<_0x513521-_0x580fda*1.2&&(_0x2fcef5=!![],_0x537b51=_0x5180bc[_0x52cc80(0x2a2)]));if(!_0x2fcef5){_0x1b295b=_0x11d71f;break;}else _0x537b51>_0x461f5b&&(_0x461f5b=_0x537b51,_0x1b295b=_0x11d71f);}}const _0x2c4d96=_0x1b295b;this[_0x52cc80(0x220)](_0x47c353,_0x2c4d96,_0x513521,_0x50978e,_0x26d2ce,_0x54eb4f);}else {const _0x94b806=_0x592ce2[_0x52cc80(0x27d)]()*1.5,_0x34c534=new webgpu.Quaternion()[_0x52cc80(0x2b2)](new webgpu.Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0x52cc80(0x220)](_0x47c353,_0x34c534,_0x94b806,_0x50978e,_0x26d2ce,_0x54eb4f);}}[_0x1f3e58(0x22e)](_0x33f630,_0x39d52a,_0x3acc94=![],_0x536f58=null,_0x43ba20=null){const _0x4a573e=_0x1f3e58,_0x51cd5a=new webgpu.Box3()[_0x4a573e(0x1f7)](_0x33f630);this['focusToBounds'](_0x51cd5a,_0x39d52a,_0x3acc94,_0x536f58,_0x43ba20);}}
|
|
82
93
|
|
|
83
|
-
function
|
|
94
|
+
const _0x5b2de1=_0x1aec;function _0x1aec(_0x3f91ca,_0x13f1cf){_0x3f91ca=_0x3f91ca-0x66;const _0x4a12a0=_0x4a12();let _0x1aeccf=_0x4a12a0[_0x3f91ca];return _0x1aeccf;}(function(_0xfff761,_0x50884f){const _0x25d5b3=_0x1aec,_0x11a48c=_0xfff761();while(!![]){try{const _0x3469e1=parseInt(_0x25d5b3(0x66))/0x1*(parseInt(_0x25d5b3(0x67))/0x2)+parseInt(_0x25d5b3(0x71))/0x3*(parseInt(_0x25d5b3(0x76))/0x4)+parseInt(_0x25d5b3(0x6d))/0x5+parseInt(_0x25d5b3(0x7d))/0x6*(parseInt(_0x25d5b3(0x7a))/0x7)+parseInt(_0x25d5b3(0x75))/0x8*(-parseInt(_0x25d5b3(0x68))/0x9)+parseInt(_0x25d5b3(0x78))/0xa+-parseInt(_0x25d5b3(0x6f))/0xb*(parseInt(_0x25d5b3(0x72))/0xc);if(_0x3469e1===_0x50884f)break;else _0x11a48c['push'](_0x11a48c['shift']());}catch(_0x2775af){_0x11a48c['push'](_0x11a48c['shift']());}}}(_0x4a12,0x7a858));class CameraFactory{static[_0x5b2de1(0x6e)](_0x18bf86){const _0x454efe=_0x5b2de1;try{switch(_0x18bf86['type']){case _0x454efe(0x70):{let _0x1f4b0f=_0x18bf86;return new webgpu.PerspectiveCamera(_0x1f4b0f['fov'],_0x1f4b0f[_0x454efe(0x73)],_0x1f4b0f[_0x454efe(0x81)],_0x1f4b0f[_0x454efe(0x6c)]);}case _0x454efe(0x77):{let _0x1c0e7d=_0x18bf86;return new webgpu.OrthographicCamera(_0x1c0e7d[_0x454efe(0x74)],_0x1c0e7d['right'],_0x1c0e7d['top'],_0x1c0e7d[_0x454efe(0x69)],_0x1c0e7d[_0x454efe(0x81)],_0x1c0e7d['far']);}default:{throw new Error('Invalid\x20camera\x20type');}}}catch(_0x425689){return console[_0x454efe(0x7c)](_0x454efe(0x6b),_0x425689),console[_0x454efe(0x7c)](_0x454efe(0x79)),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static['updataCamera'](_0x5b49b4,_0x5bfecc){const _0x4011e2=_0x5b2de1;try{switch(_0x5b49b4['type']){case _0x4011e2(0x70):{let _0x3da3a9=_0x5b49b4;if(_0x5bfecc instanceof webgpu.PerspectiveCamera)return _0x5bfecc[_0x4011e2(0x81)]=_0x3da3a9[_0x4011e2(0x81)],_0x5bfecc[_0x4011e2(0x6c)]=_0x3da3a9[_0x4011e2(0x6c)],_0x5bfecc[_0x4011e2(0x82)]=_0x3da3a9[_0x4011e2(0x82)],_0x5bfecc[_0x4011e2(0x73)]=_0x3da3a9['aspect'],_0x5bfecc;return new webgpu.PerspectiveCamera(_0x3da3a9['fov'],_0x3da3a9[_0x4011e2(0x73)],_0x3da3a9[_0x4011e2(0x81)],_0x3da3a9[_0x4011e2(0x6c)]);}case _0x4011e2(0x77):{let _0x38d995=_0x5b49b4;if(_0x5bfecc instanceof webgpu.OrthographicCamera)return _0x5bfecc['near']=_0x38d995['near'],_0x5bfecc[_0x4011e2(0x6c)]=_0x38d995[_0x4011e2(0x6c)],_0x5bfecc['left']=_0x38d995['left'],_0x5bfecc[_0x4011e2(0x7b)]=_0x38d995['right'],_0x5bfecc['top']=_0x38d995['top'],_0x5bfecc[_0x4011e2(0x69)]=_0x38d995[_0x4011e2(0x69)],_0x5bfecc;return new webgpu.OrthographicCamera(_0x38d995[_0x4011e2(0x74)],_0x38d995[_0x4011e2(0x7b)],_0x38d995[_0x4011e2(0x6a)],_0x38d995['bottom'],_0x38d995['near'],_0x38d995['far']);}default:{throw new Error(_0x4011e2(0x80));}}}catch(_0x37a2f5){return console[_0x4011e2(0x7c)](_0x4011e2(0x7e),_0x37a2f5),console[_0x4011e2(0x7c)](_0x4011e2(0x7f)),_0x5bfecc;}}}function _0x4a12(){const _0x4562ba=['warn','77946PnLpaV','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','Invalid\x20camera\x20type','near','fov','9OxyxkD','151812LwkzKw','1925298ySwswP','bottom','top','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','far','3513075ntuSvz','createCamera','341EZMvqn','Perspective','12kEAKnr','691644sMkyBc','aspect','left','16oWYBOk','485476EnRRZI','Orthographic','8192120XsEvgD','[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead','14PBmgWb','right'];_0x4a12=function(){return _0x4562ba;};return _0x4a12();}
|
|
84
95
|
|
|
85
|
-
function
|
|
96
|
+
function _0x2137(){const _0x47616f=['parse','87770MmjBVy','Perspective','stringify','5nZxqfQ','146783HhRWUR','973818UmBurD','3188878cmDBvG','Orthographic','15673YwCzhh','4120tqJBSj','2fRIJos','7353ZqxOUk','1908412jWQxQM','978hOxhgx'];_0x2137=function(){return _0x47616f;};return _0x2137();}function _0xf991(_0x383d62,_0x480c9a){_0x383d62=_0x383d62-0x107;const _0x213734=_0x2137();let _0xf99140=_0x213734[_0x383d62];return _0xf99140;}const _0x3cd659=_0xf991;(function(_0x43ef62,_0x4ecf94){const _0x14d23b=_0xf991,_0x18aa14=_0x43ef62();while(!![]){try{const _0x304ca4=parseInt(_0x14d23b(0x115))/0x1*(-parseInt(_0x14d23b(0x10c))/0x2)+parseInt(_0x14d23b(0x107))/0x3+parseInt(_0x14d23b(0x10e))/0x4*(parseInt(_0x14d23b(0x114))/0x5)+-parseInt(_0x14d23b(0x10f))/0x6*(-parseInt(_0x14d23b(0x10a))/0x7)+-parseInt(_0x14d23b(0x10b))/0x8*(parseInt(_0x14d23b(0x10d))/0x9)+parseInt(_0x14d23b(0x111))/0xa+-parseInt(_0x14d23b(0x108))/0xb;if(_0x304ca4===_0x4ecf94)break;else _0x18aa14['push'](_0x18aa14['shift']());}catch(_0x23cfef){_0x18aa14['push'](_0x18aa14['shift']());}}}(_0x2137,0x4da37));const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x3cd659(0x112),'fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0x3cd659(0x109),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON[_0x3cd659(0x110)](JSON[_0x3cd659(0x113)](DefaultPerspectiveCameraParam));
|
|
86
97
|
|
|
87
|
-
(function(
|
|
98
|
+
(function(_0x4725c7,_0x564a8e){const _0x3c6ccc=_0x179d,_0x4e8dec=_0x4725c7();while(!![]){try{const _0x53fedf=-parseInt(_0x3c6ccc(0xd5))/0x1+parseInt(_0x3c6ccc(0xcd))/0x2+parseInt(_0x3c6ccc(0xd4))/0x3+parseInt(_0x3c6ccc(0xd3))/0x4*(-parseInt(_0x3c6ccc(0xd0))/0x5)+parseInt(_0x3c6ccc(0xce))/0x6*(-parseInt(_0x3c6ccc(0xcf))/0x7)+parseInt(_0x3c6ccc(0xd1))/0x8+parseInt(_0x3c6ccc(0xd2))/0x9;if(_0x53fedf===_0x564a8e)break;else _0x4e8dec['push'](_0x4e8dec['shift']());}catch(_0x342719){_0x4e8dec['push'](_0x4e8dec['shift']());}}}(_0x5d01,0x7c9d0));function _0x5d01(){const _0x10fd05=['3486215yxFXLH','1514472fUFqws','12552075wGvCLW','4ESuRPE','1034133wEhQWA','203927oDdxsK','278810JpWTRO','1969542ZnUdAR','14IHGqaN'];_0x5d01=function(){return _0x10fd05;};return _0x5d01();}function _0x179d(_0x1d633b,_0x2cdd83){_0x1d633b=_0x1d633b-0xcd;const _0x5d01a7=_0x5d01();let _0x179dd3=_0x5d01a7[_0x1d633b];return _0x179dd3;}const DefaultAppParam={'cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
88
99
|
|
|
89
|
-
const
|
|
100
|
+
const _0x355ccb=_0x5080;(function(_0x462570,_0x136b6c){const _0x28a1d1=_0x5080,_0x992654=_0x462570();while(!![]){try{const _0x3ba544=-parseInt(_0x28a1d1(0x12b))/0x1+-parseInt(_0x28a1d1(0x12c))/0x2+-parseInt(_0x28a1d1(0x12f))/0x3*(parseInt(_0x28a1d1(0x135))/0x4)+-parseInt(_0x28a1d1(0x134))/0x5+-parseInt(_0x28a1d1(0x126))/0x6+parseInt(_0x28a1d1(0x130))/0x7*(-parseInt(_0x28a1d1(0x138))/0x8)+-parseInt(_0x28a1d1(0x123))/0x9*(-parseInt(_0x28a1d1(0x121))/0xa);if(_0x3ba544===_0x136b6c)break;else _0x992654['push'](_0x992654['shift']());}catch(_0x539164){_0x992654['push'](_0x992654['shift']());}}}(_0x311e,0x5f480));function _0x5080(_0x38ce8d,_0x8002c9){_0x38ce8d=_0x38ce8d-0x11f;const _0x311e45=_0x311e();let _0x508001=_0x311e45[_0x38ce8d];return _0x508001;}function _0x311e(){const _0x2971e1=['dispose','isArray','parent','3200625awefwV','592SnOVAv','material','children','144UWTZhf','disposeMaterialTextures','isTexture','24928270nJRurc','disposeObject3DResource','9oBZItG','isBufferGeometry','isObject3D','236256EjMGnc','disposeMeshMaterial','geometry','forEach','keys','548364VIMSmP','580008cjQJsc','disposeMeshResource','isScene','1074KSoFFs','206773yOVQzw'];_0x311e=function(){return _0x2971e1;};return _0x311e();}class ThreeObjectLibrary{static['disposeMaterialTextures'](_0x463861){const _0x2c86dd=_0x5080,_0x1e280b=new Set(),_0x3d2345=new Set([_0x2c86dd(0x133),_0x2c86dd(0x137),_0x2c86dd(0x128),'source']),_0x438d0d=_0x51444c=>{const _0x395912=_0x2c86dd;if(!_0x51444c||typeof _0x51444c!=='object'||_0x1e280b['has'](_0x51444c))return;if(_0x51444c[_0x395912(0x125)]||_0x51444c[_0x395912(0x12e)]||_0x51444c['isMesh']||_0x51444c[_0x395912(0x124)])return;_0x1e280b['add'](_0x51444c);if(_0x395912(0x120)in _0x51444c){_0x51444c[_0x395912(0x131)]();return;}Object[_0x395912(0x12a)](_0x51444c)[_0x395912(0x129)](_0x34312c=>{if(_0x3d2345['has'](_0x34312c))return;_0x438d0d(_0x51444c[_0x34312c]);});};Object[_0x2c86dd(0x12a)](_0x463861)[_0x2c86dd(0x129)](_0x2ca9f2=>{_0x438d0d(_0x463861[_0x2ca9f2]);});}static[_0x355ccb(0x127)](_0x181660){const _0x5d6180=_0x355ccb;let _0x235a01=Array[_0x5d6180(0x132)](_0x181660[_0x5d6180(0x136)])?_0x181660[_0x5d6180(0x136)]:[_0x181660['material']];_0x235a01[_0x5d6180(0x129)](_0x1b5fab=>{const _0x4da2fc=_0x5d6180;ThreeObjectLibrary[_0x4da2fc(0x11f)](_0x1b5fab),_0x1b5fab[_0x4da2fc(0x131)]();});}static['disposeMeshResource'](_0xda612a,_0x3b433e=![]){const _0x125315=_0x355ccb;ThreeObjectLibrary[_0x125315(0x127)](_0xda612a),_0xda612a[_0x125315(0x128)]['dispose'](),_0x3b433e&&_0xda612a['children']['forEach'](_0x1d122b=>{const _0x53de27=_0x125315;_0x1d122b instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x53de27(0x12d)](_0x1d122b,!![]);});}static[_0x355ccb(0x122)](_0x411250){_0x411250['traverse'](_0x29e08e=>{const _0x1dda9a=_0x5080;_0x29e08e instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x1dda9a(0x12d)](_0x29e08e);});}}
|
|
90
101
|
|
|
91
|
-
function
|
|
102
|
+
function _0x3d9e(_0xcd3ee1,_0x5d7b35){_0xcd3ee1=_0xcd3ee1-0x12b;var _0x58c131=_0x58c1();var _0x3d9e75=_0x58c131[_0xcd3ee1];return _0x3d9e75;}var _0x683ffc=_0x3d9e;(function(_0x3d0e4d,_0x53b91c){var _0x12895c=_0x3d9e,_0x3cd855=_0x3d0e4d();while(!![]){try{var _0x1fc1dc=parseInt(_0x12895c(0x137))/0x1*(parseInt(_0x12895c(0x12b))/0x2)+parseInt(_0x12895c(0x12d))/0x3*(-parseInt(_0x12895c(0x13b))/0x4)+parseInt(_0x12895c(0x131))/0x5*(-parseInt(_0x12895c(0x133))/0x6)+-parseInt(_0x12895c(0x136))/0x7*(-parseInt(_0x12895c(0x139))/0x8)+parseInt(_0x12895c(0x130))/0x9+parseInt(_0x12895c(0x134))/0xa*(parseInt(_0x12895c(0x135))/0xb)+-parseInt(_0x12895c(0x13a))/0xc;if(_0x1fc1dc===_0x53b91c)break;else _0x3cd855['push'](_0x3cd855['shift']());}catch(_0x45e75e){_0x3cd855['push'](_0x3cd855['shift']());}}}(_0x58c1,0x2ad20));function _0x58c1(){var _0x49a69f=['229321WdLnzx','threeObject','32fbkMIp','2992848xPwKLt','84JseLEl','2gjywZz','three\x20object\x20is\x20invalid','49329kujWho','createDefaultObject','userData','1223010DCHUtG','5NmsrOS','obj','431196ZOtPwM','10QgApKz','1424126mlQxWV','607754TWMJaJ'];_0x58c1=function(){return _0x49a69f;};return _0x58c1();}class LevelComponent extends SceneComponent{get[_0x683ffc(0x138)](){var _0x1286ba=_0x683ffc;if(!this[_0x1286ba(0x132)])throw Error(_0x1286ba(0x12c));return this[_0x1286ba(0x132)];}set[_0x683ffc(0x138)](_0x2c7b75){var _0x3baa35=_0x683ffc;this[_0x3baa35(0x132)]=_0x2c7b75,this['obj']&&(this[_0x3baa35(0x132)][_0x3baa35(0x12f)]['LYObject']=this);}constructor(_0xce94b1,_0x2d749e){super(_0xce94b1,_0x2d749e);}[_0x683ffc(0x12e)](){return new three.Scene();}}
|
|
92
103
|
|
|
93
|
-
var
|
|
104
|
+
var _0x3f7c0e=_0x2075;function _0x407c(){var _0x37ac9c=['destroy','292406AKbrMp','disposeMeshResource','8ewFHbf','tick','scene','rootComponent','563230qNBpRw','forEach','2456679KAVWbl','_scene','isTickEnabled','childActors','25242498yTUfNb','4106188qoAPKj','clearLevel','397275ifPxLI','uuid','11166hWCLeo','traverse','3703nsOugm','threeObject','app'];_0x407c=function(){return _0x37ac9c;};return _0x407c();}(function(_0x1821d0,_0x46bdb7){var _0xf75d6d=_0x2075,_0x38984f=_0x1821d0();while(!![]){try{var _0x3b75ee=parseInt(_0xf75d6d(0x100))/0x1+parseInt(_0xf75d6d(0x106))/0x2+parseInt(_0xf75d6d(0x108))/0x3+parseInt(_0xf75d6d(0xf6))/0x4+-parseInt(_0xf75d6d(0xf8))/0x5+parseInt(_0xf75d6d(0xfa))/0x6*(parseInt(_0xf75d6d(0xfc))/0x7)+parseInt(_0xf75d6d(0x102))/0x8*(-parseInt(_0xf75d6d(0xf5))/0x9);if(_0x3b75ee===_0x46bdb7)break;else _0x38984f['push'](_0x38984f['shift']());}catch(_0x3670c8){_0x38984f['push'](_0x38984f['shift']());}}}(_0x407c,0x7ee49));function _0x2075(_0x236255,_0x4202c2){_0x236255=_0x236255-0xf5;var _0x407c6c=_0x407c();var _0x207533=_0x407c6c[_0x236255];return _0x207533;}class LevelActor extends Actor{get[_0x3f7c0e(0x104)](){var _0x46c479=_0x3f7c0e;if(!this['_scene'])throw new Error('scene\x20is\x20null');return this[_0x46c479(0x109)];}constructor(_0x4bc2e1,_0x3ec009){var _0x37942e=_0x3f7c0e;super(_0x4bc2e1,_0x3ec009),this[_0x37942e(0x109)]=null,this[_0x37942e(0x109)]=this[_0x37942e(0x105)][_0x37942e(0xfd)],this[_0x37942e(0x10a)]=![];}['constructRootComponent'](){var _0x41eee8=_0x3f7c0e;return new LevelComponent(this[_0x41eee8(0xfe)],this[_0x41eee8(0xf9)]);}[_0x3f7c0e(0x103)](_0x1131b8){var _0x35fb49=_0x3f7c0e;if(!this[_0x35fb49(0x10a)])return;super[_0x35fb49(0x103)](_0x1131b8);}['destroy'](){var _0x127c9e=_0x3f7c0e;this[_0x127c9e(0xf7)](),super[_0x127c9e(0xff)]();}[_0x3f7c0e(0xf7)](){var _0x110454=_0x3f7c0e;this[_0x110454(0x10b)][_0x110454(0x107)](_0x1c87e6=>{var _0x25d1f2=_0x110454;_0x1c87e6[_0x25d1f2(0xff)]();}),this[_0x110454(0x104)][_0x110454(0xfb)](_0x1f5b8d=>{var _0x45d64b=_0x110454;_0x1f5b8d instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x45d64b(0x101)](_0x1f5b8d);});}}
|
|
94
105
|
|
|
95
|
-
(function(
|
|
106
|
+
function _0x40e6(){const _0x2efc89=['468972ugVNja','120LlnRxt','109386FEYxGi','280jQnusu','4fCxrox','4177180ojCZjt','1EJgtgG','583498spEXnE','88sLrkBV','3465759KkHLmZ','5846126shzGoV','50BKfjVd','3942279kzbmxO'];_0x40e6=function(){return _0x2efc89;};return _0x40e6();}function _0x16fb(_0x35e8c3,_0xbbe0df){_0x35e8c3=_0x35e8c3-0x158;const _0x40e6e4=_0x40e6();let _0x16fba9=_0x40e6e4[_0x35e8c3];return _0x16fba9;}(function(_0x37ccc3,_0x19ece5){const _0x335e5b=_0x16fb,_0x46068b=_0x37ccc3();while(!![]){try{const _0x5ecd5a=-parseInt(_0x335e5b(0x15c))/0x1*(-parseInt(_0x335e5b(0x15d))/0x2)+-parseInt(_0x335e5b(0x162))/0x3*(-parseInt(_0x335e5b(0x15a))/0x4)+parseInt(_0x335e5b(0x159))/0x5*(parseInt(_0x335e5b(0x158))/0x6)+parseInt(_0x335e5b(0x15b))/0x7+-parseInt(_0x335e5b(0x15e))/0x8*(-parseInt(_0x335e5b(0x163))/0x9)+parseInt(_0x335e5b(0x161))/0xa*(parseInt(_0x335e5b(0x15f))/0xb)+parseInt(_0x335e5b(0x164))/0xc*(-parseInt(_0x335e5b(0x160))/0xd);if(_0x5ecd5a===_0x19ece5)break;else _0x46068b['push'](_0x46068b['shift']());}catch(_0x1074fd){_0x46068b['push'](_0x46068b['shift']());}}}(_0x40e6,0xd5a17));const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
96
107
|
|
|
97
|
-
const
|
|
108
|
+
const _0x3f94e4=_0x1c07;(function(_0x5badc4,_0x1c1d49){const _0x3cd545=_0x1c07,_0x5c088e=_0x5badc4();while(!![]){try{const _0x1a2afe=parseInt(_0x3cd545(0x137))/0x1+parseInt(_0x3cd545(0x158))/0x2*(-parseInt(_0x3cd545(0x14b))/0x3)+-parseInt(_0x3cd545(0x153))/0x4+parseInt(_0x3cd545(0x132))/0x5+-parseInt(_0x3cd545(0x13e))/0x6*(-parseInt(_0x3cd545(0x130))/0x7)+-parseInt(_0x3cd545(0x159))/0x8*(parseInt(_0x3cd545(0x150))/0x9)+-parseInt(_0x3cd545(0x138))/0xa;if(_0x1a2afe===_0x1c1d49)break;else _0x5c088e['push'](_0x5c088e['shift']());}catch(_0x8238b1){_0x5c088e['push'](_0x5c088e['shift']());}}}(_0x431c,0x6b882));function _0x431c(){const _0x4a431e=['destroy','onCameraChangedDelegate','viewport','log','27nEaZoL','setTickPaused','getDelta','247084MrTLPU','tick','clear','push','markRenderStateDirty','4070IGwSTC','1304664npwLdw','world','controllerClass','classes','updateCamera','viewportParam','updataCamera','indexOf','worldClass','_tickingFunctions','update','setAnimationLoop','removeTickingFunction','controller','7kVkuig','cameraParam','1405595HqTcLt','postConstruct','_isTickPaused','broadcast','createCamera','12312mXyHtU','1416580fNBmTB','_onCameraChangedDelegate','assetManagerClass','splice','init','_controller','5196912xOKhjK','_viewport','_camera','renderAsImage','worldParam','dispose','updateProjectionMatrix','_clock','render','_assetManager','camera','_world','forEach','39IcVGLl'];_0x431c=function(){return _0x4a431e;};return _0x431c();}function _0x1c07(_0x501ee6,_0x3d44b6){_0x501ee6=_0x501ee6-0x12c;const _0x431c67=_0x431c();let _0x1c071a=_0x431c67[_0x501ee6];return _0x1c071a;}class ThreeJsApp{get[_0x3f94e4(0x148)](){const _0x343ccf=_0x3f94e4;return this[_0x343ccf(0x140)];}get['clock'](){const _0x564d18=_0x3f94e4;return this[_0x564d18(0x145)];}get[_0x3f94e4(0x15a)](){const _0x5a1935=_0x3f94e4;return this[_0x5a1935(0x149)];}get[_0x3f94e4(0x14e)](){const _0x27b0b6=_0x3f94e4;return this[_0x27b0b6(0x13f)];}get[_0x3f94e4(0x12f)](){const _0x3a06e0=_0x3f94e4;return this[_0x3a06e0(0x13d)];}get['assetManager'](){const _0x5f26a2=_0x3f94e4;return this[_0x5f26a2(0x147)];}get[_0x3f94e4(0x14d)](){const _0x45fbec=_0x3f94e4;return this[_0x45fbec(0x139)];}constructor(_0x3c90e8=DefaultAppParam){const _0x595ee1=_0x3f94e4;var _0x51b963,_0x5ba95c,_0x31aae9,_0x505767;this[_0x595ee1(0x162)]=[],this[_0x595ee1(0x134)]=![],this['_onCameraChangedDelegate']=new Delegate();const _0x3319e7=(_0x51b963=_0x3c90e8[_0x595ee1(0x131)])!==null&&_0x51b963!==void 0?_0x51b963:DefaultCameraParam,_0x20040b=(_0x5ba95c=_0x3c90e8[_0x595ee1(0x142)])!==null&&_0x5ba95c!==void 0?_0x5ba95c:DefaultWorldParam,_0x18325e=(_0x31aae9=_0x3c90e8[_0x595ee1(0x15e)])!==null&&_0x31aae9!==void 0?_0x31aae9:DefaultViewportParam,_0xa59462=(_0x505767=_0x3c90e8[_0x595ee1(0x15c)])!==null&&_0x505767!==void 0?_0x505767:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport};this[_0x595ee1(0x145)]=new webgpu.Timer(),this[_0x595ee1(0x140)]=CameraFactory[_0x595ee1(0x136)](_0x3319e7),this['_world']=new _0xa59462[(_0x595ee1(0x161))](this,_0x20040b),this[_0x595ee1(0x13f)]=new _0xa59462['viewportClass'](this,_0x18325e),this['_controller']=new _0xa59462[(_0x595ee1(0x15b))](this),this['_assetManager']=new _0xa59462[(_0x595ee1(0x13a))](this),this[_0x595ee1(0x14e)]['renderer'][_0x595ee1(0x12d)](()=>{const _0x4bd768=_0x595ee1;this[_0x4bd768(0x145)][_0x4bd768(0x12c)]();const _0x225343=this[_0x4bd768(0x145)][_0x4bd768(0x152)]();this[_0x4bd768(0x154)](_0x225343);}),this['postConstruct']();}[_0x3f94e4(0x133)](){const _0x2699bd=_0x3f94e4;this[_0x2699bd(0x12f)][_0x2699bd(0x13c)](),this['world'][_0x2699bd(0x13c)](),this[_0x2699bd(0x14e)][_0x2699bd(0x13c)]();}['init'](){}[_0x3f94e4(0x154)](_0x529de2){const _0x34f285=_0x3f94e4;if(this['_isTickPaused'])return;this[_0x34f285(0x13d)]['tick'](_0x529de2),this[_0x34f285(0x15a)][_0x34f285(0x154)](_0x529de2),this['_tickingFunctions'][_0x34f285(0x14a)](_0x3be239=>{_0x3be239(_0x529de2);}),this[_0x34f285(0x14e)][_0x34f285(0x157)](),this[_0x34f285(0x14e)][_0x34f285(0x146)]();}[_0x3f94e4(0x151)](_0x144418){const _0x519acd=_0x3f94e4;console[_0x519acd(0x14f)](_0x519acd(0x151),_0x144418),this['_isTickPaused']=_0x144418;}['addTickingFunction'](_0xcaf44d){const _0x2821d4=_0x3f94e4;this[_0x2821d4(0x162)][_0x2821d4(0x156)](_0xcaf44d);}[_0x3f94e4(0x12e)](_0x2847aa){const _0x5eb07f=_0x3f94e4,_0x1a3f4d=this['_tickingFunctions'][_0x5eb07f(0x160)](_0x2847aa);_0x1a3f4d>=0x0&&this[_0x5eb07f(0x162)][_0x5eb07f(0x13b)](_0x1a3f4d,0x1);}['destroy'](){const _0x2c8b26=_0x3f94e4;this['onCameraChangedDelegate'][_0x2c8b26(0x155)](),this[_0x2c8b26(0x12f)]['destroy'](),this['world'][_0x2c8b26(0x14c)](),this[_0x2c8b26(0x147)][_0x2c8b26(0x143)](),this[_0x2c8b26(0x14e)]['destroy']();}[_0x3f94e4(0x15d)](_0x5cb2ec){const _0x6acd4c=_0x3f94e4,_0x41e4d5=this[_0x6acd4c(0x148)];this[_0x6acd4c(0x140)]=CameraFactory[_0x6acd4c(0x15f)](_0x5cb2ec,this[_0x6acd4c(0x148)]),_0x41e4d5!==this[_0x6acd4c(0x148)]&&(this[_0x6acd4c(0x139)][_0x6acd4c(0x135)](),this[_0x6acd4c(0x12f)][_0x6acd4c(0x15d)]()),this['_camera']['updateProjectionMatrix'](),this[_0x6acd4c(0x14e)][_0x6acd4c(0x157)]();}['onWindowResize'](_0x5c8f7d,_0x291f96){const _0x522ea3=_0x3f94e4;this[_0x522ea3(0x148)]instanceof webgpu.PerspectiveCamera&&(this[_0x522ea3(0x148)]['aspect']=_0x5c8f7d/_0x291f96),this[_0x522ea3(0x148)][_0x522ea3(0x144)]();}async[_0x3f94e4(0x141)](_0x4225f3=0x400,_0x2c7e3c=0x400){const _0xd7a068=_0x3f94e4;return await this[_0xd7a068(0x14e)][_0xd7a068(0x141)](_0x4225f3,_0x2c7e3c);}}
|
|
98
109
|
|
|
99
|
-
|
|
110
|
+
var _0x5a9edf=_0x27c3;(function(_0x437cf7,_0x33acd8){var _0x3701de=_0x27c3,_0x2c4f22=_0x437cf7();while(!![]){try{var _0x2037fc=parseInt(_0x3701de(0x100))/0x1+-parseInt(_0x3701de(0xf9))/0x2*(-parseInt(_0x3701de(0xfb))/0x3)+-parseInt(_0x3701de(0xf8))/0x4+-parseInt(_0x3701de(0xff))/0x5+-parseInt(_0x3701de(0xf3))/0x6+-parseInt(_0x3701de(0xfe))/0x7*(parseInt(_0x3701de(0x101))/0x8)+parseInt(_0x3701de(0xfc))/0x9;if(_0x2037fc===_0x33acd8)break;else _0x2c4f22['push'](_0x2c4f22['shift']());}catch(_0x1c46e5){_0x2c4f22['push'](_0x2c4f22['shift']());}}}(_0x3da7,0xc5655));function _0x27c3(_0x14a2af,_0x54cefc){_0x14a2af=_0x14a2af-0xf2;var _0x3da7bb=_0x3da7();var _0x27c347=_0x3da7bb[_0x14a2af];return _0x27c347;}class LightComponent extends SceneComponent{get[_0x5a9edf(0xf7)](){var _0x38b1b6=_0x5a9edf;if(!this[_0x38b1b6(0xfa)])throw Error(_0x38b1b6(0xf2));return this[_0x38b1b6(0xfa)];}set[_0x5a9edf(0xf7)](_0xae7fbc){var _0x4277b9=_0x5a9edf;this[_0x4277b9(0xfa)]=_0xae7fbc,this[_0x4277b9(0xfa)]&&(this['obj'][_0x4277b9(0x102)]['LYObject']=this);}get[_0x5a9edf(0xf6)](){var _0x120b21=_0x5a9edf;return this[_0x120b21(0xf7)][_0x120b21(0xf6)][_0x120b21(0xf4)]();}set[_0x5a9edf(0xf6)](_0x586529){var _0x3db9f7=_0x5a9edf;this['threeObject']['color'][_0x3db9f7(0xfd)](_0x586529);}get[_0x5a9edf(0xf5)](){var _0x3d4602=_0x5a9edf;return this[_0x3d4602(0xf7)][_0x3d4602(0xf5)];}set[_0x5a9edf(0xf5)](_0x142854){var _0x3d1d11=_0x5a9edf;this[_0x3d1d11(0xf7)][_0x3d1d11(0xf5)]=_0x142854;}constructor(_0x4dde25,_0x3c1051){super(_0x4dde25,_0x3c1051);}}function _0x3da7(){var _0x25b034=['686158LpQLqj','8BmxgQO','userData','three\x20object\x20is\x20invalid','6627792APCkwQ','getHex','intensity','color','threeObject','2954220mYPbCE','2PHfDYF','obj','2350164PmYmSR','22673844OsDntD','set','6012363VyRMEv','2391165ovJsTj'];_0x3da7=function(){return _0x25b034;};return _0x3da7();}
|
|
100
111
|
|
|
101
|
-
var
|
|
112
|
+
function _0x5807(){var _0x1bd4e5=['setPosition','castShadow','userData','threeObject','intensity','set','color','5999tTmYql','2363688ZVKFgb','three\x20object\x20is\x20invalid','createDefaultObject','4187505GFKaFt','45458586nqlrMM','world','1451240ZQvqNH','obj','LYObject','39ITJiAQ','onAddedToWorld','3752888IskYLp','update','markRenderStateDirty','8814jvmRcF','destroy','492344bkAHrl'];_0x5807=function(){return _0x1bd4e5;};return _0x5807();}var _0x3376e1=_0x1291;(function(_0x14baac,_0xe38e1b){var _0x489d83=_0x1291,_0x344a00=_0x14baac();while(!![]){try{var _0x8b6e3f=parseInt(_0x489d83(0xfb))/0x1+parseInt(_0x489d83(0x10e))/0x2+parseInt(_0x489d83(0xfe))/0x3*(parseInt(_0x489d83(0x105))/0x4)+parseInt(_0x489d83(0xf8))/0x5+parseInt(_0x489d83(0x103))/0x6*(parseInt(_0x489d83(0x10d))/0x7)+-parseInt(_0x489d83(0x100))/0x8+-parseInt(_0x489d83(0xf9))/0x9;if(_0x8b6e3f===_0xe38e1b)break;else _0x344a00['push'](_0x344a00['shift']());}catch(_0x168bb5){_0x344a00['push'](_0x344a00['shift']());}}}(_0x5807,0xc5a63));function _0x1291(_0x352258,_0x421cf5){_0x352258=_0x352258-0xf8;var _0x5807ac=_0x5807();var _0x12917c=_0x5807ac[_0x352258];return _0x12917c;}class DirectionalLightComponent extends LightComponent{get['threeObject'](){var _0x125364=_0x1291;if(!this[_0x125364(0xfc)])throw Error(_0x125364(0x10f));return this[_0x125364(0xfc)];}set[_0x3376e1(0x109)](_0x2f2987){var _0x46484f=_0x3376e1;this[_0x46484f(0xfc)]=_0x2f2987,this[_0x46484f(0xfc)]&&(this[_0x46484f(0xfc)][_0x46484f(0x108)][_0x46484f(0xfd)]=this);}get[_0x3376e1(0x107)](){var _0x26e39a=_0x3376e1;return this[_0x26e39a(0x109)][_0x26e39a(0x107)];}set[_0x3376e1(0x107)](_0x568dda){var _0x398aa6=_0x3376e1;this[_0x398aa6(0x109)][_0x398aa6(0x107)]=_0x568dda;}constructor(_0x3e2383,_0x35b5d8=0xffffff,_0x530f97=0xa,_0x28e1d3){var _0x45c0d9=_0x3376e1;super(_0x3e2383,_0x28e1d3),this[_0x45c0d9(0x109)][_0x45c0d9(0x10c)][_0x45c0d9(0x10b)](_0x35b5d8),this['threeObject'][_0x45c0d9(0x10a)]=_0x530f97;}[_0x3376e1(0x110)](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0x3376e1(0x106)](..._0x56d052){var _0x2649e2=_0x3376e1;_0x56d052['length']===0x1?super[_0x2649e2(0x106)](_0x56d052[0x0]):super[_0x2649e2(0x106)](_0x56d052[0x0],_0x56d052[0x1],_0x56d052[0x2]),this['update']();}[_0x3376e1(0x101)](){var _0x21d780=_0x3376e1;if(this[_0x21d780(0xfa)])this['world']['viewport'][_0x21d780(0x102)]();}[_0x3376e1(0xff)](_0x3cdcee){var _0x2c505f=_0x3376e1;if(!this[_0x2c505f(0x109)])throw Error(_0x2c505f(0x10f));super[_0x2c505f(0xff)](_0x3cdcee);}[_0x3376e1(0x104)](){super['destroy']();}}
|
|
102
113
|
|
|
103
|
-
var
|
|
114
|
+
var _0x4c44d1=_0x3497;(function(_0x271247,_0x1c18aa){var _0x5a2bd8=_0x3497,_0x3fdfad=_0x271247();while(!![]){try{var _0x22f589=-parseInt(_0x5a2bd8(0x156))/0x1*(parseInt(_0x5a2bd8(0x155))/0x2)+-parseInt(_0x5a2bd8(0x14d))/0x3+parseInt(_0x5a2bd8(0x157))/0x4+parseInt(_0x5a2bd8(0x14b))/0x5+parseInt(_0x5a2bd8(0x158))/0x6*(parseInt(_0x5a2bd8(0x14f))/0x7)+parseInt(_0x5a2bd8(0x14e))/0x8*(parseInt(_0x5a2bd8(0x154))/0x9)+parseInt(_0x5a2bd8(0x151))/0xa;if(_0x22f589===_0x1c18aa)break;else _0x3fdfad['push'](_0x3fdfad['shift']());}catch(_0x51a3b3){_0x3fdfad['push'](_0x3fdfad['shift']());}}}(_0x5d30,0x7ee79));function _0x3497(_0x471fce,_0x77c12a){_0x471fce=_0x471fce-0x14b;var _0x5d3056=_0x5d30();var _0x34970a=_0x5d3056[_0x471fce];return _0x34970a;}function _0x5d30(){var _0x586444=['724iAKEBb','2801khEeCn','593164elYQcE','870540ZSiuuO','906795QCAasx','lightComponent','347679AvoiiZ','706032CkTucH','7YIwZuM','castShadow','6453920hXkQPF','constructRootComponent','color','54GDBLFs'];_0x5d30=function(){return _0x586444;};return _0x5d30();}class DirectionalLightActor extends Actor{constructor(_0x57ac14,_0xe6b8fd=0xffffff,_0x5a372c=0x1,_0x55dd61){var _0x34547f=_0x3497;super(_0x57ac14,_0x55dd61),this[_0x34547f(0x14c)]=null,this['lightComponent']=this['rootComponent'],this[_0x34547f(0x14c)]&&(this['lightComponent'][_0x34547f(0x153)]=_0xe6b8fd,this[_0x34547f(0x14c)]['intensity']=_0x5a372c,this['lightComponent'][_0x34547f(0x150)]=!![]),this[_0x34547f(0x14c)][_0x34547f(0x150)]=!![];}[_0x4c44d1(0x152)](){return new DirectionalLightComponent(this['app']);}}
|
|
104
115
|
|
|
105
|
-
var
|
|
116
|
+
var _0x2defa8=_0x4633;(function(_0x3f9768,_0xaf7804){var _0x619e04=_0x4633,_0x88ea88=_0x3f9768();while(!![]){try{var _0x4ed702=-parseInt(_0x619e04(0xcb))/0x1+parseInt(_0x619e04(0xc4))/0x2+-parseInt(_0x619e04(0xd2))/0x3+-parseInt(_0x619e04(0xc5))/0x4*(-parseInt(_0x619e04(0xcc))/0x5)+-parseInt(_0x619e04(0xd4))/0x6*(-parseInt(_0x619e04(0xdc))/0x7)+-parseInt(_0x619e04(0xd9))/0x8+-parseInt(_0x619e04(0xc6))/0x9*(-parseInt(_0x619e04(0xcf))/0xa);if(_0x4ed702===_0xaf7804)break;else _0x88ea88['push'](_0x88ea88['shift']());}catch(_0x514e25){_0x88ea88['push'](_0x88ea88['shift']());}}}(_0xb245,0x86487));function _0xb245(){var _0x5179a5=['world','viewport','color','6588944pMykBn','three\x20object\x20is\x20invalid','threeObject','132818tQUfYM','793278mJKHdT','2100008jNQNNb','13977CatIqj','intensity','obj','set','length','364350FnKbrn','5NdoHse','userData','onAddedToWorld','10610vSxbjj','castShadow','destroy','2551071SzhEhk','setPosition','6JOnsZW','update'];_0xb245=function(){return _0x5179a5;};return _0xb245();}function _0x4633(_0x462b96,_0x13c471){_0x462b96=_0x462b96-0xc4;var _0xb245e7=_0xb245();var _0x463306=_0xb245e7[_0x462b96];return _0x463306;}class AmbientLightComponent extends LightComponent{get[_0x2defa8(0xdb)](){var _0x3adbc9=_0x2defa8;if(!this[_0x3adbc9(0xc8)])throw Error(_0x3adbc9(0xda));return this[_0x3adbc9(0xc8)];}set[_0x2defa8(0xdb)](_0x48389f){var _0xd8554b=_0x2defa8;this[_0xd8554b(0xc8)]=_0x48389f,this['obj']&&(this[_0xd8554b(0xc8)][_0xd8554b(0xcd)]['LYObject']=this);}get['castShadow'](){return this['threeObject']['castShadow'];}set[_0x2defa8(0xd0)](_0x734f8){var _0x27efdf=_0x2defa8;this[_0x27efdf(0xdb)]['castShadow']=_0x734f8;}constructor(_0xf89369,_0x4cd699=0xffffff,_0x185361=0xa,_0x4ebc48){var _0x1f8766=_0x2defa8;super(_0xf89369,_0x4ebc48),this[_0x1f8766(0xdb)][_0x1f8766(0xd8)][_0x1f8766(0xc9)](_0x4cd699),this[_0x1f8766(0xdb)][_0x1f8766(0xc7)]=_0x185361;}['createDefaultObject'](){return new webgpu.AmbientLight(0xffffff,0xa);}[_0x2defa8(0xd3)](..._0x2180ab){var _0x222306=_0x2defa8;_0x2180ab[_0x222306(0xca)]===0x1?super['setPosition'](_0x2180ab[0x0]):super[_0x222306(0xd3)](_0x2180ab[0x0],_0x2180ab[0x1],_0x2180ab[0x2]),this[_0x222306(0xd5)]();}[_0x2defa8(0xd5)](){var _0x6b0e11=_0x2defa8;if(this[_0x6b0e11(0xd6)])this['world'][_0x6b0e11(0xd7)]['markRenderStateDirty']();}[_0x2defa8(0xce)](_0x26d463){var _0x57d94b=_0x2defa8;if(!this[_0x57d94b(0xdb)])throw Error(_0x57d94b(0xda));super['onAddedToWorld'](_0x26d463);}[_0x2defa8(0xd1)](){var _0x1a787c=_0x2defa8;super[_0x1a787c(0xd1)]();}}
|
|
106
117
|
|
|
107
|
-
var
|
|
118
|
+
var _0x50686e=_0x387d;(function(_0x430bee,_0x1a8d73){var _0x5d6f96=_0x387d,_0x13232a=_0x430bee();while(!![]){try{var _0x5efc58=-parseInt(_0x5d6f96(0x11c))/0x1*(-parseInt(_0x5d6f96(0x123))/0x2)+parseInt(_0x5d6f96(0x122))/0x3+-parseInt(_0x5d6f96(0x11a))/0x4+parseInt(_0x5d6f96(0x120))/0x5+parseInt(_0x5d6f96(0x11f))/0x6+-parseInt(_0x5d6f96(0x11d))/0x7*(-parseInt(_0x5d6f96(0x11e))/0x8)+-parseInt(_0x5d6f96(0x118))/0x9*(parseInt(_0x5d6f96(0x11b))/0xa);if(_0x5efc58===_0x1a8d73)break;else _0x13232a['push'](_0x13232a['shift']());}catch(_0x2ae979){_0x13232a['push'](_0x13232a['shift']());}}}(_0x5507,0x6530b));function _0x5507(){var _0x3a0cfa=['3104172ycFcmA','2497210iqHWmJ','constructRootComponent','50862VSOERs','844XbeQbo','castShadow','color','app','63fzuUPs','lightComponent','1459748ROxkJY','1353470kcLJWJ','321lrZOcI','3903347aPtELg','8tylLGQ'];_0x5507=function(){return _0x3a0cfa;};return _0x5507();}function _0x387d(_0xa72099,_0x15e5e9){_0xa72099=_0xa72099-0x117;var _0x550783=_0x5507();var _0x387da0=_0x550783[_0xa72099];return _0x387da0;}class AmbientLightActor extends Actor{constructor(_0x33d0b6,_0x4c9c94=0xffffff,_0x3b6b09=0x1,_0xdcf7ab){var _0x65fb80=_0x387d;super(_0x33d0b6,_0xdcf7ab),this[_0x65fb80(0x119)]=null,this['lightComponent']=this['rootComponent'],this[_0x65fb80(0x119)]&&(this[_0x65fb80(0x119)][_0x65fb80(0x125)]=_0x4c9c94,this[_0x65fb80(0x119)]['intensity']=_0x3b6b09,this['lightComponent'][_0x65fb80(0x124)]=!![]),this[_0x65fb80(0x119)][_0x65fb80(0x124)]=!![];}[_0x50686e(0x121)](){var _0x595545=_0x50686e;return new AmbientLightComponent(this[_0x595545(0x117)]);}}
|
|
108
119
|
|
|
109
|
-
(function(
|
|
120
|
+
(function(_0x3b636e,_0x18444f){var _0x379e9e=_0xd6b5,_0xd0d920=_0x3b636e();while(!![]){try{var _0x452559=-parseInt(_0x379e9e(0x154))/0x1+-parseInt(_0x379e9e(0x150))/0x2+-parseInt(_0x379e9e(0x153))/0x3*(-parseInt(_0x379e9e(0x155))/0x4)+parseInt(_0x379e9e(0x152))/0x5*(-parseInt(_0x379e9e(0x14e))/0x6)+parseInt(_0x379e9e(0x14f))/0x7+-parseInt(_0x379e9e(0x151))/0x8+parseInt(_0x379e9e(0x156))/0x9;if(_0x452559===_0x18444f)break;else _0xd0d920['push'](_0xd0d920['shift']());}catch(_0x1fbbad){_0xd0d920['push'](_0xd0d920['shift']());}}}(_0x2cce,0x3a53a));function _0x2cce(){var _0x38aa49=['14586LPRHwH','142558bUggbV','196VedPPV','5057055BbDWNk','24lKTJoY','541611zqufFq','188650eKuMgb','2279496PoCVhB','145975uvfFAv'];_0x2cce=function(){return _0x38aa49;};return _0x2cce();}function _0xd6b5(_0x3ac93c,_0x1477f7){_0x3ac93c=_0x3ac93c-0x14e;var _0x2cce17=_0x2cce();var _0xd6b56a=_0x2cce17[_0x3ac93c];return _0xd6b56a;}class BoxComponent extends MeshComponent{constructor(_0x425530,_0x3cb4eb=0x1,_0x3f5208=0x1,_0x1d4dd6=0x1,_0x2f8c6b=0x1,_0x559847=0x1,_0x4bd93d=0x1,_0x40807a=new webgpu.MeshStandardMaterial(),_0x1ab74d){super(_0x425530,new webgpu.BoxGeometry(_0x3cb4eb,_0x3f5208,_0x1d4dd6,_0x2f8c6b,_0x559847,_0x4bd93d),_0x40807a,_0x1ab74d);}}
|
|
110
121
|
|
|
111
|
-
var
|
|
122
|
+
var _0x1813e1=_0x2c67;(function(_0x5d57c0,_0x4e3e59){var _0x2c704a=_0x2c67,_0x1e61f8=_0x5d57c0();while(!![]){try{var _0x285293=-parseInt(_0x2c704a(0x1cd))/0x1*(-parseInt(_0x2c704a(0x1c3))/0x2)+parseInt(_0x2c704a(0x1cc))/0x3+-parseInt(_0x2c704a(0x1ce))/0x4+parseInt(_0x2c704a(0x1cb))/0x5*(parseInt(_0x2c704a(0x1cf))/0x6)+-parseInt(_0x2c704a(0x1c6))/0x7*(-parseInt(_0x2c704a(0x1c4))/0x8)+-parseInt(_0x2c704a(0x1c9))/0x9*(-parseInt(_0x2c704a(0x1c8))/0xa)+-parseInt(_0x2c704a(0x1ca))/0xb;if(_0x285293===_0x4e3e59)break;else _0x1e61f8['push'](_0x1e61f8['shift']());}catch(_0x5c5640){_0x1e61f8['push'](_0x1e61f8['shift']());}}}(_0x10e2,0x523f4));function _0x10e2(){var _0x27953c=['8470110KVUNTU','3970LYtKKY','1207374dRmiSh','376lGFQgK','1448112mKnkYt','2136LwZScx','app','858uEOxRa','16JeBDAs','uuid','1942444SijvfP','constructRootComponent','11640RNSchL','522dhAYse'];_0x10e2=function(){return _0x27953c;};return _0x10e2();}function _0x2c67(_0x4dacaf,_0x4b9591){_0x4dacaf=_0x4dacaf-0x1c2;var _0x10e215=_0x10e2();var _0x2c670e=_0x10e215[_0x4dacaf];return _0x2c670e;}class BoxActor extends Actor{constructor(_0x486471,_0x21dce1){super(_0x486471,_0x21dce1);}[_0x1813e1(0x1c7)](){var _0x1d30ff=_0x1813e1;return new BoxComponent(this[_0x1d30ff(0x1c2)],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this[_0x1d30ff(0x1c5)]);}}
|
|
112
123
|
|
|
113
|
-
const
|
|
124
|
+
const _0x41c0d3=_0x5412;(function(_0x596ec9,_0x340e15){const _0x43be7c=_0x5412,_0x5a9401=_0x596ec9();while(!![]){try{const _0x139030=-parseInt(_0x43be7c(0x142))/0x1+parseInt(_0x43be7c(0x139))/0x2*(parseInt(_0x43be7c(0x135))/0x3)+parseInt(_0x43be7c(0x13b))/0x4+parseInt(_0x43be7c(0x131))/0x5+parseInt(_0x43be7c(0x13d))/0x6+-parseInt(_0x43be7c(0x137))/0x7+-parseInt(_0x43be7c(0x147))/0x8;if(_0x139030===_0x340e15)break;else _0x5a9401['push'](_0x5a9401['shift']());}catch(_0xc31855){_0x5a9401['push'](_0x5a9401['shift']());}}}(_0x288f,0x322ad));function _0x5412(_0x147615,_0x4af8c7){_0x147615=_0x147615-0x131;const _0x288f36=_0x288f();let _0x54123a=_0x288f36[_0x147615];return _0x54123a;}function _0x288f(){const _0x333207=['value','179120KhpaJm','sunPosition','mieDirectionalG','createDefaultObject','markRenderStateDirty','4034160OdtMaI','skyParam','1907490vlHnwy','threeObject','obj','degToRad','230490ghesew','elevation','875147ZWKHVE','three\x20object\x20is\x20invalid','2hppgwV','azimuth','590756bIsYCs','updateSky','2447274cktYeX','rayleigh','mieCoefficient','disposeMeshResource'];_0x288f=function(){return _0x333207;};return _0x288f();}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x41c0d3(0x132)](){const _0x27ef21=_0x41c0d3;if(!this[_0x27ef21(0x133)])throw Error(_0x27ef21(0x138));return this[_0x27ef21(0x133)];}set[_0x41c0d3(0x132)](_0x3cefa1){const _0x2d7c92=_0x41c0d3;this['obj']=_0x3cefa1,this[_0x2d7c92(0x133)]&&(this[_0x2d7c92(0x133)]['userData']['LYObject']=this);}constructor(_0x376a7b,_0x56398f,_0x50ac96){const _0x3c3fd4=_0x41c0d3;super(_0x376a7b,_0x50ac96),this[_0x3c3fd4(0x148)]=DefaultSkyParam,this['sunPosition']=new webgpu.Vector3(),_0x56398f&&(this[_0x3c3fd4(0x148)]=_0x56398f),this[_0x3c3fd4(0x13c)]();}[_0x41c0d3(0x145)](){return new SkyMesh_js.SkyMesh();}[_0x41c0d3(0x13c)](){const _0x151412=_0x41c0d3;var _0x1be7cb,_0x305ea4;this['threeObject']['turbidity'][_0x151412(0x141)]=this[_0x151412(0x148)]['turbidity'],this[_0x151412(0x132)][_0x151412(0x13e)][_0x151412(0x141)]=this[_0x151412(0x148)][_0x151412(0x13e)],this[_0x151412(0x132)][_0x151412(0x13f)][_0x151412(0x141)]=this[_0x151412(0x148)][_0x151412(0x13f)],this[_0x151412(0x132)][_0x151412(0x144)]['value']=this[_0x151412(0x148)][_0x151412(0x144)];const _0x24c6c4=webgpu.MathUtils[_0x151412(0x134)](0x5a-this[_0x151412(0x148)][_0x151412(0x136)]),_0xc75ff0=webgpu.MathUtils[_0x151412(0x134)](this['skyParam'][_0x151412(0x13a)]);this[_0x151412(0x143)]['setFromSphericalCoords'](0x1,_0x24c6c4,_0xc75ff0),this[_0x151412(0x132)][_0x151412(0x143)][_0x151412(0x141)]['copy'](this['sunPosition']),(_0x305ea4=(_0x1be7cb=this['world'])===null||_0x1be7cb===void 0?void 0:_0x1be7cb['viewport'])===null||_0x305ea4===void 0?void 0:_0x305ea4[_0x151412(0x146)]();}['destroyObject'](){const _0x1c4af0=_0x41c0d3;this[_0x1c4af0(0x133)]&&ThreeObjectLibrary[_0x1c4af0(0x140)](this['threeObject']);}}
|
|
114
125
|
|
|
115
|
-
var
|
|
126
|
+
var _0x5c3c60=_0x2d2d;(function(_0x50867a,_0x197c40){var _0x14224a=_0x2d2d,_0x3ac5c5=_0x50867a();while(!![]){try{var _0x1ea80b=parseInt(_0x14224a(0x80))/0x1+-parseInt(_0x14224a(0x79))/0x2+-parseInt(_0x14224a(0x7a))/0x3+parseInt(_0x14224a(0x7e))/0x4*(-parseInt(_0x14224a(0x77))/0x5)+parseInt(_0x14224a(0x7d))/0x6+parseInt(_0x14224a(0x82))/0x7*(parseInt(_0x14224a(0x86))/0x8)+parseInt(_0x14224a(0x7c))/0x9;if(_0x1ea80b===_0x197c40)break;else _0x3ac5c5['push'](_0x3ac5c5['shift']());}catch(_0x5e73e8){_0x3ac5c5['push'](_0x3ac5c5['shift']());}}}(_0x4b2b,0x81c9c));function _0x2d2d(_0x7eacba,_0x32ced9){_0x7eacba=_0x7eacba-0x75;var _0x4b2b14=_0x4b2b();var _0x2d2d7d=_0x4b2b14[_0x7eacba];return _0x2d2d7d;}class SkyActor extends Actor{constructor(_0x1cf5be,_0x36225a){var _0x15f028=_0x2d2d;super(_0x1cf5be,_0x36225a),this[_0x15f028(0x84)]='SkyActor',this[_0x15f028(0x83)]=null,this[_0x15f028(0x7b)]=_0x15f028(0x81),this[_0x15f028(0x83)]=this[_0x15f028(0x75)],this[_0x15f028(0x75)]['name']=this[_0x15f028(0x75)][_0x15f028(0x7b)]+_0x15f028(0x7f),this[_0x15f028(0x85)](0xafc8,0xafc8,0xafc8);}[_0x5c3c60(0x76)](){var _0x57263c=_0x5c3c60;return new SkyComponent(this[_0x57263c(0x78)]);}}function _0x4b2b(){var _0x6d6840=['1149048CJHXhR','(Root)','484877vlxWfU','SkyActor','492905adNCvc','skyComponent','_name','setScale','80dOQZQc','rootComponent','constructRootComponent','15mQTAFa','app','584602DzwkGD','642435ouGNQQ','name','1968354JmOgiM','2952666TEkgAF'];_0x4b2b=function(){return _0x6d6840;};return _0x4b2b();}
|
|
116
127
|
|
|
117
|
-
(function(
|
|
128
|
+
function _0x2100(_0x450171,_0x2a9876){_0x450171=_0x450171-0x8b;var _0x5be837=_0x5be8();var _0x210068=_0x5be837[_0x450171];return _0x210068;}function _0x5be8(){var _0x1c00ea=['6660QNFmmH','1542GYPFmR','19358388vXnVrS','360494nabqef','2600790VGBqTu','2aXplmo','4745846Heaxch','5722648ogmKep','4858030SKNnCZ'];_0x5be8=function(){return _0x1c00ea;};return _0x5be8();}(function(_0x48a6bc,_0x319d00){var _0x2a0365=_0x2100,_0xd5455d=_0x48a6bc();while(!![]){try{var _0x39abe0=-parseInt(_0x2a0365(0x8e))/0x1*(parseInt(_0x2a0365(0x8c))/0x2)+-parseInt(_0x2a0365(0x93))/0x3*(-parseInt(_0x2a0365(0x92))/0x4)+-parseInt(_0x2a0365(0x91))/0x5+parseInt(_0x2a0365(0x8d))/0x6+-parseInt(_0x2a0365(0x8f))/0x7+-parseInt(_0x2a0365(0x90))/0x8+parseInt(_0x2a0365(0x8b))/0x9;if(_0x39abe0===_0x319d00)break;else _0xd5455d['push'](_0xd5455d['shift']());}catch(_0x58b7b7){_0xd5455d['push'](_0xd5455d['shift']());}}}(_0x5be8,0xae82e));class PlaneComponent extends MeshComponent{constructor(_0x252b20,_0x5b69b8,_0x25f5ac,_0x491d0b,_0x10537a=0x1,_0x51bed6=0x1,_0x4d938f){super(_0x252b20,new webgpu.PlaneGeometry(_0x5b69b8,_0x25f5ac,_0x10537a,_0x51bed6),_0x491d0b,_0x4d938f);}}
|
|
118
129
|
|
|
119
|
-
|
|
130
|
+
var _0x14fa0e=_0xddf4;(function(_0x416f8d,_0x2795af){var _0x45f1c4=_0xddf4,_0x1c53f2=_0x416f8d();while(!![]){try{var _0x358d4b=-parseInt(_0x45f1c4(0x7b))/0x1+parseInt(_0x45f1c4(0x85))/0x2*(parseInt(_0x45f1c4(0x83))/0x3)+parseInt(_0x45f1c4(0x84))/0x4*(parseInt(_0x45f1c4(0x7e))/0x5)+parseInt(_0x45f1c4(0x7d))/0x6*(parseInt(_0x45f1c4(0x82))/0x7)+parseInt(_0x45f1c4(0x7a))/0x8+parseInt(_0x45f1c4(0x81))/0x9*(parseInt(_0x45f1c4(0x79))/0xa)+-parseInt(_0x45f1c4(0x7f))/0xb;if(_0x358d4b===_0x2795af)break;else _0x1c53f2['push'](_0x1c53f2['shift']());}catch(_0x31b14){_0x1c53f2['push'](_0x1c53f2['shift']());}}}(_0x4b24,0x5cbb7));function _0xddf4(_0x1f5bad,_0x19781d){_0x1f5bad=_0x1f5bad-0x77;var _0x4b244a=_0x4b24();var _0xddf4f7=_0x4b244a[_0x1f5bad];return _0xddf4f7;}function _0x4b24(){var _0x3c6409=['19858003qGEqQB','constructRootComponent','39915IctVaI','7LsMfFh','4380YqYTrG','5548enfWSS','608Afhntf','app','uuid','1030QbyVVr','4672184ZhaEUE','674240qExPLM','destroy','4028802obHySZ','2535dBRyEB'];_0x4b24=function(){return _0x3c6409;};return _0x4b24();}class PlaneActor extends Actor{constructor(_0x1539ba,_0x19b355){super(_0x1539ba,_0x19b355);}[_0x14fa0e(0x80)](){var _0x4a03f4=_0x14fa0e;return new PlaneComponent(this[_0x4a03f4(0x77)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0x4a03f4(0x78)]);}[_0x14fa0e(0x7c)](){super['destroy']();}}
|
|
120
131
|
|
|
121
|
-
const _0x2030bf=_0x593b;function _0x593b(_0x47d5a3,_0x151d40){_0x47d5a3=_0x47d5a3-0x1d5;const _0x6df5a9=_0x6df5();let _0x593bc8=_0x6df5a9[_0x47d5a3];return _0x593bc8;}function _0x6df5(){const _0x3b71bb=['14230cHftki','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','reverse','meshData','addMaterialAsset','calculatePolygonArea','getCenter','1023666sHhUWR','getValue','warn','name','destroyObject','viewport','_geometryPtr','geometry','addRef','1581933WPTavf','113316hxzOQX','5sGERcc','252GTizYV','colors','material','geometryPtr\x20is\x20null','castShadow','LYObject','1382ZeScRk','CustomMeshComponent','threeObject','world','setAttribute','min','indices','97UxhFdP','vertices','error','setIndex','normals','max','push','_meshData','135616uiFTmd','CustomMeshComponent:\x20Invalid\x20vertices\x20data','map','_materialPtr','length','getBoundsTopCenterPosition','receiveShadow','6160lMChUK','createDefaultObject','app','materialPtr\x20is\x20null','position','material\x20is\x20null','assetManager','markRenderStateDirty','getBoundsBottomCenterPosition','1677180sVjZsr','getBoundsCenterPosition','geometryPtr','obj','clone','getBounds','removeFromParent','CustomMeshComponent:\x20threeObject\x20is\x20null','uvs','addGeometryAsset','constructGeometry','release','computeUVs','materialPtr'];_0x6df5=function(){return _0x3b71bb;};return _0x6df5();}(function(_0x33264b,_0x590281){const _0x1cf2a0=_0x593b,_0x39acd0=_0x33264b();while(!![]){try{const _0x31ead7=-parseInt(_0x1cf2a0(0x1d7))/0x1*(-parseInt(_0x1cf2a0(0x216))/0x2)+parseInt(_0x1cf2a0(0x20d))/0x3+parseInt(_0x1cf2a0(0x20e))/0x4+-parseInt(_0x1cf2a0(0x20f))/0x5*(-parseInt(_0x1cf2a0(0x1ef))/0x6)+-parseInt(_0x1cf2a0(0x204))/0x7+-parseInt(_0x1cf2a0(0x1df))/0x8*(-parseInt(_0x1cf2a0(0x210))/0x9)+parseInt(_0x1cf2a0(0x1fd))/0xa*(-parseInt(_0x1cf2a0(0x1e6))/0xb);if(_0x31ead7===_0x590281)break;else _0x39acd0['push'](_0x39acd0['shift']());}catch(_0x4c5a3){_0x39acd0['push'](_0x39acd0['shift']());}}}(_0x6df5,0x69e47));class CustomMeshComponent extends SceneComponent{get[_0x2030bf(0x218)](){const _0x4ffebf=_0x2030bf;if(!this[_0x4ffebf(0x1f2)])throw new Error(_0x4ffebf(0x1f6));return this[_0x4ffebf(0x1f2)];}set['threeObject'](_0x27a65e){const _0x350b7=_0x2030bf;this['obj']=_0x27a65e,this[_0x350b7(0x1f2)]&&(this[_0x350b7(0x1f2)]['userData'][_0x350b7(0x215)]=this);}get['geometry'](){const _0x41b4ab=_0x2030bf;if(!this['_geometryPtr'])throw new Error(_0x41b4ab(0x213));return this[_0x41b4ab(0x20a)][_0x41b4ab(0x205)]();}set[_0x2030bf(0x20b)](_0x22401b){const _0x2de2d4=_0x2030bf;let _0x26456d=this['app'][_0x2de2d4(0x1ec)][_0x2de2d4(0x1f8)](_0x22401b);this['geometryPtr']=_0x26456d;}get[_0x2030bf(0x1f1)](){const _0x32b7b2=_0x2030bf;if(!this[_0x32b7b2(0x20a)])throw new Error('geometryPtr\x20is\x20null');return this[_0x32b7b2(0x20a)];}set['geometryPtr'](_0x3f82da){const _0x141b3c=_0x2030bf;this[_0x141b3c(0x20a)]&&(this[_0x141b3c(0x20a)][_0x141b3c(0x1fa)](),this[_0x141b3c(0x20a)]=null);this[_0x141b3c(0x20a)]=_0x3f82da;let _0x55068f=_0x3f82da[_0x141b3c(0x205)]();this[_0x141b3c(0x218)]&&_0x55068f&&(this[_0x141b3c(0x218)][_0x141b3c(0x20b)]=_0x55068f);}get[_0x2030bf(0x212)](){const _0xfba6af=_0x2030bf;if(!this[_0xfba6af(0x1e2)])throw new Error(_0xfba6af(0x1e9));let _0x2a8274=this[_0xfba6af(0x1e2)][_0xfba6af(0x205)]();if(!_0x2a8274)throw new Error(_0xfba6af(0x1eb));return _0x2a8274;}get[_0x2030bf(0x1fc)](){const _0x40245b=_0x2030bf;if(!this[_0x40245b(0x1e2)])throw new Error(_0x40245b(0x1e9));return this['_materialPtr'];}set[_0x2030bf(0x212)](_0x4bba58){const _0x13c725=_0x2030bf;let _0x9fae09=this[_0x13c725(0x1e8)][_0x13c725(0x1ec)][_0x13c725(0x201)](_0x4bba58);this[_0x13c725(0x1fc)]=_0x9fae09;}set[_0x2030bf(0x1fc)](_0x423830){const _0x1638bc=_0x2030bf;this[_0x1638bc(0x1e2)]&&(this[_0x1638bc(0x1e2)][_0x1638bc(0x1fa)](),this[_0x1638bc(0x1e2)]=null);this[_0x1638bc(0x1e2)]=_0x423830;let _0xaecf59=_0x423830[_0x1638bc(0x205)]();_0x423830[_0x1638bc(0x20c)](),this[_0x1638bc(0x218)]&&_0xaecf59&&(this[_0x1638bc(0x218)][_0x1638bc(0x212)]=_0xaecf59);}constructor(_0x1e0fd2,_0x510e71,_0x59f817,_0x5da1dc){const _0x41dc1f=_0x2030bf;super(_0x1e0fd2,_0x5da1dc),this[_0x41dc1f(0x1de)]=_0x510e71;let _0x203345=_0x1e0fd2[_0x41dc1f(0x1ec)]['addMaterialAsset'](_0x59f817);this[_0x41dc1f(0x1e2)]=_0x203345,_0x203345[_0x41dc1f(0x20c)]();const _0x4b6ef7=this[_0x41dc1f(0x1f9)](_0x510e71);this['_geometryPtr']=_0x1e0fd2['assetManager'][_0x41dc1f(0x1f8)](_0x4b6ef7),this[_0x41dc1f(0x218)][_0x41dc1f(0x212)]=_0x59f817,this[_0x41dc1f(0x218)]['geometry']=_0x4b6ef7,this[_0x41dc1f(0x207)]=_0x41dc1f(0x217),this[_0x41dc1f(0x214)]=!![],this[_0x41dc1f(0x1e5)]=!![];}[_0x2030bf(0x1fb)](_0x4fca14){const _0x4324d4=_0x2030bf,_0xc1ff65=new Float32Array(_0x4fca14['length']*0x2);if(_0x4fca14['length']===0x0)return _0xc1ff65;let _0x10d505=Infinity,_0x4fbeb8=-Infinity,_0x1da623=Infinity,_0x56d518=-Infinity,_0x4b769b=Infinity,_0x582690=-Infinity;for(const _0x5a7d24 of _0x4fca14){_0x10d505=Math['min'](_0x10d505,_0x5a7d24['x']),_0x4fbeb8=Math[_0x4324d4(0x1dc)](_0x4fbeb8,_0x5a7d24['x']),_0x1da623=Math[_0x4324d4(0x1d5)](_0x1da623,_0x5a7d24['y']),_0x56d518=Math[_0x4324d4(0x1dc)](_0x56d518,_0x5a7d24['y']),_0x4b769b=Math[_0x4324d4(0x1d5)](_0x4b769b,_0x5a7d24['z']),_0x582690=Math['max'](_0x582690,_0x5a7d24['z']);}const _0x10d13e=_0x4fbeb8-_0x10d505,_0xa598d3=_0x56d518-_0x1da623,_0x4c15e4=_0x582690-_0x4b769b;let _0x26d469,_0xddca47,_0x3319cb,_0x24e726,_0x2e3af6,_0xe73bc6;if(_0x10d13e<=_0xa598d3&&_0x10d13e<=_0x4c15e4)_0x26d469='y',_0xddca47='z',_0x3319cb=_0x1da623,_0x24e726=_0xa598d3,_0x2e3af6=_0x4b769b,_0xe73bc6=_0x4c15e4;else _0xa598d3<=_0x10d13e&&_0xa598d3<=_0x4c15e4?(_0x26d469='x',_0xddca47='z',_0x3319cb=_0x10d505,_0x24e726=_0x10d13e,_0x2e3af6=_0x4b769b,_0xe73bc6=_0x4c15e4):(_0x26d469='x',_0xddca47='y',_0x3319cb=_0x10d505,_0x24e726=_0x10d13e,_0x2e3af6=_0x1da623,_0xe73bc6=_0xa598d3);if(_0x24e726===0x0)_0x24e726=0x1;if(_0xe73bc6===0x0)_0xe73bc6=0x1;for(let _0x5c976d=0x0;_0x5c976d<_0x4fca14[_0x4324d4(0x1e3)];_0x5c976d++){const _0x5d6c0c=_0x4fca14[_0x5c976d],_0x12290f=(_0x5d6c0c[_0x26d469]-_0x3319cb)/_0x24e726,_0x37c25a=(_0x5d6c0c[_0xddca47]-_0x2e3af6)/_0xe73bc6;_0xc1ff65[_0x5c976d*0x2]=_0x12290f,_0xc1ff65[_0x5c976d*0x2+0x1]=_0x37c25a;}return _0xc1ff65;}[_0x2030bf(0x202)](_0x10731d){const _0x180b73=_0x2030bf;let _0x3527bd=0x0;const _0x326d7a=_0x10731d[_0x180b73(0x1e3)]/0x2;for(let _0x58f7c3=0x0;_0x58f7c3<_0x326d7a;_0x58f7c3++){const _0x792467=(_0x58f7c3+0x1)%_0x326d7a,_0x14a70a=_0x10731d[_0x58f7c3*0x2],_0x364f1b=_0x10731d[_0x58f7c3*0x2+0x1],_0x2555a2=_0x10731d[_0x792467*0x2],_0x52bf2e=_0x10731d[_0x792467*0x2+0x1];_0x3527bd+=_0x14a70a*_0x52bf2e-_0x2555a2*_0x364f1b;}return _0x3527bd/0x2;}[_0x2030bf(0x1f9)](_0xa52866){const _0x838299=_0x2030bf,_0x227a6b=new webgpu.BufferGeometry();if(!_0xa52866[_0x838299(0x1d8)]||_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)]===0x0)return console[_0x838299(0x1d9)](_0x838299(0x1e0)),_0x227a6b;const _0x17de79=new Float32Array(_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)]*0x3);for(let _0x54ad53=0x0;_0x54ad53<_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)];_0x54ad53++){_0x17de79[_0x54ad53*0x3]=_0xa52866['vertices'][_0x54ad53]['x'],_0x17de79[_0x54ad53*0x3+0x1]=_0xa52866[_0x838299(0x1d8)][_0x54ad53]['y'],_0x17de79[_0x54ad53*0x3+0x2]=_0xa52866['vertices'][_0x54ad53]['z'];}_0x227a6b[_0x838299(0x21a)](_0x838299(0x1ea),new webgpu.Float32BufferAttribute(_0x17de79,0x3));if(_0xa52866['indices']&&_0xa52866[_0x838299(0x1d6)][_0x838299(0x1e3)]>0x0)_0x227a6b[_0x838299(0x1da)](_0xa52866[_0x838299(0x1d6)]);else {const _0x9cb9be=[];let _0x1aac3c=Infinity,_0x184f05=-Infinity,_0x5733ae=Infinity,_0x2de9d4=-Infinity,_0x5bcad0=Infinity,_0x38814b=-Infinity;for(let _0x160d0a=0x0;_0x160d0a<_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)];_0x160d0a++){const _0x537f6f=_0xa52866[_0x838299(0x1d8)][_0x160d0a];_0x5733ae=Math[_0x838299(0x1d5)](_0x5733ae,_0x537f6f['x']),_0x2de9d4=Math['max'](_0x2de9d4,_0x537f6f['x']),_0x1aac3c=Math[_0x838299(0x1d5)](_0x1aac3c,_0x537f6f['y']),_0x184f05=Math['max'](_0x184f05,_0x537f6f['y']),_0x5bcad0=Math[_0x838299(0x1d5)](_0x5bcad0,_0x537f6f['z']),_0x38814b=Math[_0x838299(0x1dc)](_0x38814b,_0x537f6f['z']);}const _0x5d5d84=_0x2de9d4-_0x5733ae,_0x48bdcb=_0x184f05-_0x1aac3c,_0x28477f=_0x38814b-_0x5bcad0;if(_0x48bdcb<=_0x5d5d84&&_0x48bdcb<=_0x28477f){for(let _0x24848c=0x0;_0x24848c<_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)];_0x24848c++){_0x9cb9be[_0x838299(0x1dd)](_0xa52866[_0x838299(0x1d8)][_0x24848c]['x']),_0x9cb9be[_0x838299(0x1dd)](_0xa52866[_0x838299(0x1d8)][_0x24848c]['z']);}}else {if(_0x5d5d84<=_0x48bdcb&&_0x5d5d84<=_0x28477f){for(let _0xf790e0=0x0;_0xf790e0<_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)];_0xf790e0++){_0x9cb9be[_0x838299(0x1dd)](_0xa52866[_0x838299(0x1d8)][_0xf790e0]['y']),_0x9cb9be['push'](_0xa52866[_0x838299(0x1d8)][_0xf790e0]['z']);}}else {for(let _0x1a14e5=0x0;_0x1a14e5<_0xa52866[_0x838299(0x1d8)]['length'];_0x1a14e5++){_0x9cb9be['push'](_0xa52866[_0x838299(0x1d8)][_0x1a14e5]['x']),_0x9cb9be[_0x838299(0x1dd)](_0xa52866['vertices'][_0x1a14e5]['y']);}}}const _0x478aca=this['calculatePolygonArea'](_0x9cb9be),_0x38ca5d=_0x478aca<0x0;if(_0x38ca5d){console[_0x838299(0x206)]('CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...'),_0x9cb9be[_0x838299(0x1ff)]();const _0x3edb93=[];for(let _0x5d6988=_0x9cb9be[_0x838299(0x1e3)]-0x2;_0x5d6988>=0x0;_0x5d6988-=0x2){_0x3edb93['push'](_0x9cb9be[_0x5d6988],_0x9cb9be[_0x5d6988+0x1]);}_0x9cb9be[_0x838299(0x1e3)]=0x0,_0x9cb9be[_0x838299(0x1dd)](..._0x3edb93);}try{const _0x27c075=_0x6b09cc(_0x9cb9be,undefined,0x2);if(_0x27c075&&_0x27c075['length']>0x0){if(_0x38ca5d)for(let _0x186cf1=0x0;_0x186cf1<_0x27c075[_0x838299(0x1e3)];_0x186cf1+=0x3){const _0x4c1ed9=_0x27c075[_0x186cf1];_0x27c075[_0x186cf1]=_0x27c075[_0x186cf1+0x2],_0x27c075[_0x186cf1+0x2]=_0x4c1ed9;}_0x227a6b[_0x838299(0x1da)](_0x27c075);}else console[_0x838299(0x206)]('CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result');}catch(_0x48e4fd){console[_0x838299(0x1d9)](_0x838299(0x1fe),_0x48e4fd);}}if(_0xa52866[_0x838299(0x1db)]&&_0xa52866[_0x838299(0x1db)][_0x838299(0x1e3)]===_0xa52866['vertices']['length']){const _0x4a26b6=new Float32Array(_0xa52866['normals'][_0x838299(0x1e3)]*0x3);for(let _0x4dd05e=0x0;_0x4dd05e<_0xa52866[_0x838299(0x1db)][_0x838299(0x1e3)];_0x4dd05e++){_0x4a26b6[_0x4dd05e*0x3]=_0xa52866['normals'][_0x4dd05e]['x'],_0x4a26b6[_0x4dd05e*0x3+0x1]=_0xa52866[_0x838299(0x1db)][_0x4dd05e]['y'],_0x4a26b6[_0x4dd05e*0x3+0x2]=_0xa52866[_0x838299(0x1db)][_0x4dd05e]['z'];}_0x227a6b[_0x838299(0x21a)]('normal',new webgpu.Float32BufferAttribute(_0x4a26b6,0x3));}else _0x227a6b['computeVertexNormals']();if(_0xa52866[_0x838299(0x1f7)]&&_0xa52866[_0x838299(0x1f7)][_0x838299(0x1e3)]>0x0){const _0x5b6559=new Float32Array(_0xa52866['uvs'][_0x838299(0x1e3)]*0x2);for(let _0x18fad0=0x0;_0x18fad0<_0xa52866['uvs']['length'];_0x18fad0++){_0x5b6559[_0x18fad0*0x2]=_0xa52866['uvs'][_0x18fad0]['x'],_0x5b6559[_0x18fad0*0x2+0x1]=_0xa52866[_0x838299(0x1f7)][_0x18fad0]['y'];}_0x227a6b[_0x838299(0x21a)]('uv',new webgpu.Float32BufferAttribute(_0x5b6559,0x2));}else {const _0x3dd851=this[_0x838299(0x1fb)](_0xa52866['vertices']);_0x227a6b[_0x838299(0x21a)]('uv',new webgpu.Float32BufferAttribute(_0x3dd851,0x2));}if(_0xa52866[_0x838299(0x211)]&&_0xa52866[_0x838299(0x211)][_0x838299(0x1e3)]===_0xa52866['vertices']['length']){const _0x30b74e=new Float32Array(_0xa52866['colors']['length']*0x3);for(let _0x37d376=0x0;_0x37d376<_0xa52866[_0x838299(0x211)]['length'];_0x37d376++){_0x30b74e[_0x37d376*0x3]=_0xa52866[_0x838299(0x211)][_0x37d376]['r'],_0x30b74e[_0x37d376*0x3+0x1]=_0xa52866['colors'][_0x37d376]['g'],_0x30b74e[_0x37d376*0x3+0x2]=_0xa52866[_0x838299(0x211)][_0x37d376]['b'];}_0x227a6b[_0x838299(0x21a)]('color',new webgpu.Float32BufferAttribute(_0x30b74e,0x3));}return _0x227a6b;}set[_0x2030bf(0x200)](_0x57922b){const _0x2ee89b=_0x2030bf;var _0x2e8f99,_0x2adb2d,_0x46b69c;this[_0x2ee89b(0x20a)]&&this['_geometryPtr']['release']();const _0x3fa558=this['constructGeometry'](_0x57922b);this[_0x2ee89b(0x20a)]=this[_0x2ee89b(0x1e8)][_0x2ee89b(0x1ec)][_0x2ee89b(0x1f8)](_0x3fa558),this[_0x2ee89b(0x218)]['geometry']=_0x3fa558,this[_0x2ee89b(0x1de)]={'vertices':_0x57922b[_0x2ee89b(0x1d8)][_0x2ee89b(0x1e1)](_0x4e9ac0=>_0x4e9ac0[_0x2ee89b(0x1f3)]()),'indices':_0x57922b[_0x2ee89b(0x1d6)]?[..._0x57922b[_0x2ee89b(0x1d6)]]:undefined,'normals':(_0x2e8f99=_0x57922b['normals'])===null||_0x2e8f99===void 0?void 0:_0x2e8f99[_0x2ee89b(0x1e1)](_0x3377f7=>_0x3377f7[_0x2ee89b(0x1f3)]()),'uvs':(_0x2adb2d=_0x57922b[_0x2ee89b(0x1f7)])===null||_0x2adb2d===void 0?void 0:_0x2adb2d['map'](_0x1407d4=>_0x1407d4['clone']()),'colors':(_0x46b69c=_0x57922b[_0x2ee89b(0x211)])===null||_0x46b69c===void 0?void 0:_0x46b69c['map'](_0x192db3=>_0x192db3[_0x2ee89b(0x1f3)]())},this['world']&&this[_0x2ee89b(0x219)][_0x2ee89b(0x209)][_0x2ee89b(0x1ed)]();}get[_0x2030bf(0x200)](){const _0x1f02b5=_0x2030bf;return this[_0x1f02b5(0x1de)];}[_0x2030bf(0x1e7)](){return new webgpu.Mesh();}set[_0x2030bf(0x214)](_0x37cc1a){const _0x47200d=_0x2030bf;if(this[_0x47200d(0x218)])this['threeObject'][_0x47200d(0x214)]=_0x37cc1a;}get[_0x2030bf(0x214)](){const _0x4c378c=_0x2030bf;return this[_0x4c378c(0x218)]?this[_0x4c378c(0x218)][_0x4c378c(0x214)]:![];}set[_0x2030bf(0x1e5)](_0x50e3be){const _0x49f9e9=_0x2030bf;if(!this[_0x49f9e9(0x218)])return;this[_0x49f9e9(0x218)][_0x49f9e9(0x1e5)]=_0x50e3be;}get[_0x2030bf(0x1e5)](){const _0x1ba4de=_0x2030bf;return this['threeObject']?this[_0x1ba4de(0x218)]['receiveShadow']:![];}[_0x2030bf(0x1f0)](){const _0xdf7e95=_0x2030bf;let _0x9770ae=new webgpu.Vector3();return this[_0xdf7e95(0x1f4)]()[_0xdf7e95(0x203)](_0x9770ae),_0x9770ae;}[_0x2030bf(0x1e4)](){const _0xb26f0=_0x2030bf;let _0x3c6102=new webgpu.Vector3(),_0x5d3750=this['getBounds']();return _0x5d3750[_0xb26f0(0x203)](_0x3c6102),_0x3c6102['y']=_0x5d3750[_0xb26f0(0x1dc)]['y'],_0x3c6102;}[_0x2030bf(0x1ee)](){const _0x229fba=_0x2030bf;let _0x3f9381=new webgpu.Vector3(),_0x1dd317=this['getBounds']();return _0x1dd317[_0x229fba(0x203)](_0x3f9381),_0x3f9381['y']=_0x1dd317[_0x229fba(0x1d5)]['y'],_0x3f9381;}[_0x2030bf(0x208)](){const _0x41f944=_0x2030bf;var _0x4ea405,_0x2b1b12;this['threeObject']&&this[_0x41f944(0x218)][_0x41f944(0x1f5)](),(_0x4ea405=this[_0x41f944(0x20a)])===null||_0x4ea405===void 0?void 0:_0x4ea405[_0x41f944(0x1fa)](),(_0x2b1b12=this['_materialPtr'])===null||_0x2b1b12===void 0?void 0:_0x2b1b12[_0x41f944(0x1fa)](),super[_0x41f944(0x208)]();}}
|
|
132
|
+
const _0x2b479a=_0x2064;(function(_0x519bf2,_0x24d784){const _0x4508cc=_0x2064,_0x5d95e2=_0x519bf2();while(!![]){try{const _0xf13978=parseInt(_0x4508cc(0xcc))/0x1+-parseInt(_0x4508cc(0xcb))/0x2*(-parseInt(_0x4508cc(0xb5))/0x3)+-parseInt(_0x4508cc(0xeb))/0x4*(-parseInt(_0x4508cc(0xb8))/0x5)+parseInt(_0x4508cc(0xbf))/0x6*(-parseInt(_0x4508cc(0xaf))/0x7)+parseInt(_0x4508cc(0xc1))/0x8*(parseInt(_0x4508cc(0xa8))/0x9)+-parseInt(_0x4508cc(0xd3))/0xa+parseInt(_0x4508cc(0xb6))/0xb*(-parseInt(_0x4508cc(0xc6))/0xc);if(_0xf13978===_0x24d784)break;else _0x5d95e2['push'](_0x5d95e2['shift']());}catch(_0x3af1f1){_0x5d95e2['push'](_0x5d95e2['shift']());}}}(_0x5142,0x1f182));function _0x2064(_0x1bbc12,_0x1fb21a){_0x1bbc12=_0x1bbc12-0xa7;const _0x5142fe=_0x5142();let _0x20641b=_0x5142fe[_0x1bbc12];return _0x20641b;}function _0x5142(){const _0x160513=['setIndex','27HAosFS','position','threeObject','addRef','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','computeUVs','meshData','1104845Wjbjju','reverse','assetManager','getCenter','name','warn','12xftyUb','110737PhqILr','addGeometryAsset','41275wSRVtk','world','removeFromParent','getBounds','normal','normals','calculatePolygonArea','6mWZdjw','min','400024oQJjKo','setAttribute','getValue','getBoundsTopCenterPosition','uvs','60GAPeuQ','materialPtr','constructGeometry','color','createDefaultObject','67910peSAFr','39337nVaQZz','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','_geometryPtr','markRenderStateDirty','max','clone','materialPtr\x20is\x20null','1217140qJwAom','push','release','addMaterialAsset','destroyObject','material','getBoundsBottomCenterPosition','map','castShadow','viewport','colors','computeVertexNormals','obj','vertices','_meshData','material\x20is\x20null','indices','CustomMeshComponent','geometry','app','geometryPtr\x20is\x20null','_materialPtr','length','receiveShadow','64rEVaWM','geometryPtr','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','error'];_0x5142=function(){return _0x160513;};return _0x5142();}class CustomMeshComponent extends SceneComponent{get[_0x2b479a(0xaa)](){const _0x58b1bd=_0x2b479a;if(!this[_0x58b1bd(0xdf)])throw new Error('CustomMeshComponent:\x20threeObject\x20is\x20null');return this[_0x58b1bd(0xdf)];}set[_0x2b479a(0xaa)](_0x4b873e){const _0x4b8641=_0x2b479a;this[_0x4b8641(0xdf)]=_0x4b873e,this[_0x4b8641(0xdf)]&&(this[_0x4b8641(0xdf)]['userData']['LYObject']=this);}get['geometry'](){const _0xa490fa=_0x2b479a;if(!this['_geometryPtr'])throw new Error(_0xa490fa(0xe7));return this[_0xa490fa(0xce)]['getValue']();}set[_0x2b479a(0xe5)](_0x1606be){const _0x3eae9f=_0x2b479a;let _0x95b7db=this[_0x3eae9f(0xe6)][_0x3eae9f(0xb1)][_0x3eae9f(0xb7)](_0x1606be);this[_0x3eae9f(0xec)]=_0x95b7db;}get[_0x2b479a(0xec)](){const _0x4e038a=_0x2b479a;if(!this[_0x4e038a(0xce)])throw new Error(_0x4e038a(0xe7));return this[_0x4e038a(0xce)];}set['geometryPtr'](_0x11ecf5){const _0x125bc1=_0x2b479a;this[_0x125bc1(0xce)]&&(this['_geometryPtr'][_0x125bc1(0xd5)](),this[_0x125bc1(0xce)]=null);this[_0x125bc1(0xce)]=_0x11ecf5;let _0x3698ef=_0x11ecf5['getValue']();this[_0x125bc1(0xaa)]&&_0x3698ef&&(this[_0x125bc1(0xaa)][_0x125bc1(0xe5)]=_0x3698ef);}get['material'](){const _0x10e212=_0x2b479a;if(!this['_materialPtr'])throw new Error(_0x10e212(0xd2));let _0x45f06f=this[_0x10e212(0xe8)][_0x10e212(0xc3)]();if(!_0x45f06f)throw new Error(_0x10e212(0xe2));return _0x45f06f;}get[_0x2b479a(0xc7)](){const _0x183164=_0x2b479a;if(!this['_materialPtr'])throw new Error(_0x183164(0xd2));return this['_materialPtr'];}set[_0x2b479a(0xd8)](_0x4cdc98){const _0x3200f5=_0x2b479a;let _0x52ad93=this[_0x3200f5(0xe6)][_0x3200f5(0xb1)]['addMaterialAsset'](_0x4cdc98);this[_0x3200f5(0xc7)]=_0x52ad93;}set[_0x2b479a(0xc7)](_0x3be799){const _0x593a2c=_0x2b479a;this[_0x593a2c(0xe8)]&&(this[_0x593a2c(0xe8)][_0x593a2c(0xd5)](),this[_0x593a2c(0xe8)]=null);this[_0x593a2c(0xe8)]=_0x3be799;let _0xf570b0=_0x3be799[_0x593a2c(0xc3)]();_0x3be799['addRef'](),this['threeObject']&&_0xf570b0&&(this['threeObject']['material']=_0xf570b0);}constructor(_0x3be4c4,_0x1fbc8b,_0x2b7359,_0x136c4a){const _0x55a3ae=_0x2b479a;super(_0x3be4c4,_0x136c4a),this[_0x55a3ae(0xe1)]=_0x1fbc8b;let _0x20864e=_0x3be4c4['assetManager'][_0x55a3ae(0xd6)](_0x2b7359);this[_0x55a3ae(0xe8)]=_0x20864e,_0x20864e[_0x55a3ae(0xab)]();const _0x34410d=this[_0x55a3ae(0xc8)](_0x1fbc8b);this[_0x55a3ae(0xce)]=_0x3be4c4[_0x55a3ae(0xb1)][_0x55a3ae(0xb7)](_0x34410d),this[_0x55a3ae(0xaa)][_0x55a3ae(0xd8)]=_0x2b7359,this[_0x55a3ae(0xaa)][_0x55a3ae(0xe5)]=_0x34410d,this[_0x55a3ae(0xb3)]=_0x55a3ae(0xe4),this['castShadow']=!![],this[_0x55a3ae(0xea)]=!![];}['computeUVs'](_0x88480c){const _0x2d67ec=_0x2b479a,_0x5d4754=new Float32Array(_0x88480c[_0x2d67ec(0xe9)]*0x2);if(_0x88480c[_0x2d67ec(0xe9)]===0x0)return _0x5d4754;let _0x5aafdc=Infinity,_0x4b7c9f=-Infinity,_0x5153ea=Infinity,_0x139873=-Infinity,_0x3e684d=Infinity,_0x120d31=-Infinity;for(const _0x4add9d of _0x88480c){_0x5aafdc=Math[_0x2d67ec(0xc0)](_0x5aafdc,_0x4add9d['x']),_0x4b7c9f=Math[_0x2d67ec(0xd0)](_0x4b7c9f,_0x4add9d['x']),_0x5153ea=Math['min'](_0x5153ea,_0x4add9d['y']),_0x139873=Math[_0x2d67ec(0xd0)](_0x139873,_0x4add9d['y']),_0x3e684d=Math[_0x2d67ec(0xc0)](_0x3e684d,_0x4add9d['z']),_0x120d31=Math['max'](_0x120d31,_0x4add9d['z']);}const _0x49003c=_0x4b7c9f-_0x5aafdc,_0x3ad644=_0x139873-_0x5153ea,_0x577649=_0x120d31-_0x3e684d;let _0x425cb2,_0x42e049,_0x325318,_0x179244,_0x5c6ef4,_0x557554;if(_0x49003c<=_0x3ad644&&_0x49003c<=_0x577649)_0x425cb2='y',_0x42e049='z',_0x325318=_0x5153ea,_0x179244=_0x3ad644,_0x5c6ef4=_0x3e684d,_0x557554=_0x577649;else _0x3ad644<=_0x49003c&&_0x3ad644<=_0x577649?(_0x425cb2='x',_0x42e049='z',_0x325318=_0x5aafdc,_0x179244=_0x49003c,_0x5c6ef4=_0x3e684d,_0x557554=_0x577649):(_0x425cb2='x',_0x42e049='y',_0x325318=_0x5aafdc,_0x179244=_0x49003c,_0x5c6ef4=_0x5153ea,_0x557554=_0x3ad644);if(_0x179244===0x0)_0x179244=0x1;if(_0x557554===0x0)_0x557554=0x1;for(let _0x472431=0x0;_0x472431<_0x88480c['length'];_0x472431++){const _0x411324=_0x88480c[_0x472431],_0x6f6bfa=(_0x411324[_0x425cb2]-_0x325318)/_0x179244,_0x407493=(_0x411324[_0x42e049]-_0x5c6ef4)/_0x557554;_0x5d4754[_0x472431*0x2]=_0x6f6bfa,_0x5d4754[_0x472431*0x2+0x1]=_0x407493;}return _0x5d4754;}[_0x2b479a(0xbe)](_0x592cb7){const _0x480d37=_0x2b479a;let _0x2f16b3=0x0;const _0x441fac=_0x592cb7[_0x480d37(0xe9)]/0x2;for(let _0xac4c14=0x0;_0xac4c14<_0x441fac;_0xac4c14++){const _0x25ccab=(_0xac4c14+0x1)%_0x441fac,_0x2cc8a3=_0x592cb7[_0xac4c14*0x2],_0x181f52=_0x592cb7[_0xac4c14*0x2+0x1],_0x535747=_0x592cb7[_0x25ccab*0x2],_0x3e5d51=_0x592cb7[_0x25ccab*0x2+0x1];_0x2f16b3+=_0x2cc8a3*_0x3e5d51-_0x535747*_0x181f52;}return _0x2f16b3/0x2;}[_0x2b479a(0xc8)](_0xec62b4){const _0x5c8092=_0x2b479a,_0x3f5e6c=new webgpu.BufferGeometry();if(!_0xec62b4[_0x5c8092(0xe0)]||_0xec62b4[_0x5c8092(0xe0)][_0x5c8092(0xe9)]===0x0)return console[_0x5c8092(0xee)]('CustomMeshComponent:\x20Invalid\x20vertices\x20data'),_0x3f5e6c;const _0x249ffc=new Float32Array(_0xec62b4[_0x5c8092(0xe0)][_0x5c8092(0xe9)]*0x3);for(let _0x2cf65f=0x0;_0x2cf65f<_0xec62b4[_0x5c8092(0xe0)][_0x5c8092(0xe9)];_0x2cf65f++){_0x249ffc[_0x2cf65f*0x3]=_0xec62b4[_0x5c8092(0xe0)][_0x2cf65f]['x'],_0x249ffc[_0x2cf65f*0x3+0x1]=_0xec62b4[_0x5c8092(0xe0)][_0x2cf65f]['y'],_0x249ffc[_0x2cf65f*0x3+0x2]=_0xec62b4['vertices'][_0x2cf65f]['z'];}_0x3f5e6c[_0x5c8092(0xc2)](_0x5c8092(0xa9),new webgpu.Float32BufferAttribute(_0x249ffc,0x3));if(_0xec62b4[_0x5c8092(0xe3)]&&_0xec62b4['indices']['length']>0x0)_0x3f5e6c[_0x5c8092(0xa7)](_0xec62b4[_0x5c8092(0xe3)]);else {const _0x56bbf2=[];let _0x67c597=Infinity,_0x2b5719=-Infinity,_0x2eeb15=Infinity,_0x30245b=-Infinity,_0x2d9de7=Infinity,_0x1f8059=-Infinity;for(let _0x1a9e8c=0x0;_0x1a9e8c<_0xec62b4[_0x5c8092(0xe0)]['length'];_0x1a9e8c++){const _0x21b09f=_0xec62b4['vertices'][_0x1a9e8c];_0x2eeb15=Math[_0x5c8092(0xc0)](_0x2eeb15,_0x21b09f['x']),_0x30245b=Math[_0x5c8092(0xd0)](_0x30245b,_0x21b09f['x']),_0x67c597=Math[_0x5c8092(0xc0)](_0x67c597,_0x21b09f['y']),_0x2b5719=Math[_0x5c8092(0xd0)](_0x2b5719,_0x21b09f['y']),_0x2d9de7=Math[_0x5c8092(0xc0)](_0x2d9de7,_0x21b09f['z']),_0x1f8059=Math['max'](_0x1f8059,_0x21b09f['z']);}const _0x95950c=_0x30245b-_0x2eeb15,_0x5c82ae=_0x2b5719-_0x67c597,_0x4c3076=_0x1f8059-_0x2d9de7;if(_0x5c82ae<=_0x95950c&&_0x5c82ae<=_0x4c3076){for(let _0xf2cc51=0x0;_0xf2cc51<_0xec62b4['vertices']['length'];_0xf2cc51++){_0x56bbf2['push'](_0xec62b4['vertices'][_0xf2cc51]['x']),_0x56bbf2[_0x5c8092(0xd4)](_0xec62b4[_0x5c8092(0xe0)][_0xf2cc51]['z']);}}else {if(_0x95950c<=_0x5c82ae&&_0x95950c<=_0x4c3076){for(let _0x2953d1=0x0;_0x2953d1<_0xec62b4['vertices'][_0x5c8092(0xe9)];_0x2953d1++){_0x56bbf2[_0x5c8092(0xd4)](_0xec62b4['vertices'][_0x2953d1]['y']),_0x56bbf2[_0x5c8092(0xd4)](_0xec62b4[_0x5c8092(0xe0)][_0x2953d1]['z']);}}else {for(let _0x1aa8b1=0x0;_0x1aa8b1<_0xec62b4[_0x5c8092(0xe0)][_0x5c8092(0xe9)];_0x1aa8b1++){_0x56bbf2[_0x5c8092(0xd4)](_0xec62b4['vertices'][_0x1aa8b1]['x']),_0x56bbf2['push'](_0xec62b4['vertices'][_0x1aa8b1]['y']);}}}const _0x251608=this['calculatePolygonArea'](_0x56bbf2),_0x314eb0=_0x251608<0x0;if(_0x314eb0){console[_0x5c8092(0xb4)](_0x5c8092(0xcd)),_0x56bbf2[_0x5c8092(0xb0)]();const _0x4056d2=[];for(let _0x3aa1cb=_0x56bbf2[_0x5c8092(0xe9)]-0x2;_0x3aa1cb>=0x0;_0x3aa1cb-=0x2){_0x4056d2['push'](_0x56bbf2[_0x3aa1cb],_0x56bbf2[_0x3aa1cb+0x1]);}_0x56bbf2[_0x5c8092(0xe9)]=0x0,_0x56bbf2[_0x5c8092(0xd4)](..._0x4056d2);}try{const _0x58a403=_0x1be597(_0x56bbf2,undefined,0x2);if(_0x58a403&&_0x58a403[_0x5c8092(0xe9)]>0x0){if(_0x314eb0)for(let _0x5e47bf=0x0;_0x5e47bf<_0x58a403[_0x5c8092(0xe9)];_0x5e47bf+=0x3){const _0x3831e3=_0x58a403[_0x5e47bf];_0x58a403[_0x5e47bf]=_0x58a403[_0x5e47bf+0x2],_0x58a403[_0x5e47bf+0x2]=_0x3831e3;}_0x3f5e6c[_0x5c8092(0xa7)](_0x58a403);}else console[_0x5c8092(0xb4)](_0x5c8092(0xac));}catch(_0x258d2a){console[_0x5c8092(0xee)](_0x5c8092(0xed),_0x258d2a);}}if(_0xec62b4[_0x5c8092(0xbd)]&&_0xec62b4[_0x5c8092(0xbd)][_0x5c8092(0xe9)]===_0xec62b4['vertices'][_0x5c8092(0xe9)]){const _0x2df910=new Float32Array(_0xec62b4['normals']['length']*0x3);for(let _0x356adf=0x0;_0x356adf<_0xec62b4[_0x5c8092(0xbd)][_0x5c8092(0xe9)];_0x356adf++){_0x2df910[_0x356adf*0x3]=_0xec62b4['normals'][_0x356adf]['x'],_0x2df910[_0x356adf*0x3+0x1]=_0xec62b4[_0x5c8092(0xbd)][_0x356adf]['y'],_0x2df910[_0x356adf*0x3+0x2]=_0xec62b4[_0x5c8092(0xbd)][_0x356adf]['z'];}_0x3f5e6c[_0x5c8092(0xc2)](_0x5c8092(0xbc),new webgpu.Float32BufferAttribute(_0x2df910,0x3));}else _0x3f5e6c[_0x5c8092(0xde)]();if(_0xec62b4['uvs']&&_0xec62b4[_0x5c8092(0xc5)][_0x5c8092(0xe9)]>0x0){const _0x23dfef=new Float32Array(_0xec62b4[_0x5c8092(0xc5)][_0x5c8092(0xe9)]*0x2);for(let _0x4f7b2f=0x0;_0x4f7b2f<_0xec62b4[_0x5c8092(0xc5)][_0x5c8092(0xe9)];_0x4f7b2f++){_0x23dfef[_0x4f7b2f*0x2]=_0xec62b4[_0x5c8092(0xc5)][_0x4f7b2f]['x'],_0x23dfef[_0x4f7b2f*0x2+0x1]=_0xec62b4['uvs'][_0x4f7b2f]['y'];}_0x3f5e6c[_0x5c8092(0xc2)]('uv',new webgpu.Float32BufferAttribute(_0x23dfef,0x2));}else {const _0x4609a9=this[_0x5c8092(0xad)](_0xec62b4[_0x5c8092(0xe0)]);_0x3f5e6c['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x4609a9,0x2));}if(_0xec62b4[_0x5c8092(0xdd)]&&_0xec62b4['colors'][_0x5c8092(0xe9)]===_0xec62b4[_0x5c8092(0xe0)][_0x5c8092(0xe9)]){const _0xca2f89=new Float32Array(_0xec62b4[_0x5c8092(0xdd)][_0x5c8092(0xe9)]*0x3);for(let _0x209c1a=0x0;_0x209c1a<_0xec62b4[_0x5c8092(0xdd)]['length'];_0x209c1a++){_0xca2f89[_0x209c1a*0x3]=_0xec62b4[_0x5c8092(0xdd)][_0x209c1a]['r'],_0xca2f89[_0x209c1a*0x3+0x1]=_0xec62b4[_0x5c8092(0xdd)][_0x209c1a]['g'],_0xca2f89[_0x209c1a*0x3+0x2]=_0xec62b4[_0x5c8092(0xdd)][_0x209c1a]['b'];}_0x3f5e6c[_0x5c8092(0xc2)](_0x5c8092(0xc9),new webgpu.Float32BufferAttribute(_0xca2f89,0x3));}return _0x3f5e6c;}set[_0x2b479a(0xae)](_0x3949d2){const _0x10809=_0x2b479a;var _0x52e8c9,_0x4e48b9,_0xc5c27a;this[_0x10809(0xce)]&&this[_0x10809(0xce)][_0x10809(0xd5)]();const _0x206d5d=this[_0x10809(0xc8)](_0x3949d2);this[_0x10809(0xce)]=this[_0x10809(0xe6)][_0x10809(0xb1)][_0x10809(0xb7)](_0x206d5d),this['threeObject'][_0x10809(0xe5)]=_0x206d5d,this[_0x10809(0xe1)]={'vertices':_0x3949d2[_0x10809(0xe0)][_0x10809(0xda)](_0x138835=>_0x138835[_0x10809(0xd1)]()),'indices':_0x3949d2['indices']?[..._0x3949d2[_0x10809(0xe3)]]:undefined,'normals':(_0x52e8c9=_0x3949d2[_0x10809(0xbd)])===null||_0x52e8c9===void 0?void 0:_0x52e8c9[_0x10809(0xda)](_0x4c2bae=>_0x4c2bae[_0x10809(0xd1)]()),'uvs':(_0x4e48b9=_0x3949d2[_0x10809(0xc5)])===null||_0x4e48b9===void 0?void 0:_0x4e48b9['map'](_0xd7581b=>_0xd7581b[_0x10809(0xd1)]()),'colors':(_0xc5c27a=_0x3949d2[_0x10809(0xdd)])===null||_0xc5c27a===void 0?void 0:_0xc5c27a[_0x10809(0xda)](_0x185669=>_0x185669['clone']())},this[_0x10809(0xb9)]&&this[_0x10809(0xb9)][_0x10809(0xdc)][_0x10809(0xcf)]();}get[_0x2b479a(0xae)](){const _0x413c47=_0x2b479a;return this[_0x413c47(0xe1)];}[_0x2b479a(0xca)](){return new webgpu.Mesh();}set[_0x2b479a(0xdb)](_0x33f404){const _0x263f1b=_0x2b479a;if(this[_0x263f1b(0xaa)])this['threeObject'][_0x263f1b(0xdb)]=_0x33f404;}get[_0x2b479a(0xdb)](){const _0x353511=_0x2b479a;return this[_0x353511(0xaa)]?this['threeObject']['castShadow']:![];}set[_0x2b479a(0xea)](_0x581e67){const _0xa6b94e=_0x2b479a;if(!this[_0xa6b94e(0xaa)])return;this[_0xa6b94e(0xaa)][_0xa6b94e(0xea)]=_0x581e67;}get[_0x2b479a(0xea)](){const _0x1ebec9=_0x2b479a;return this[_0x1ebec9(0xaa)]?this['threeObject'][_0x1ebec9(0xea)]:![];}['getBoundsCenterPosition'](){const _0x2f9381=_0x2b479a;let _0x31e3fe=new webgpu.Vector3();return this[_0x2f9381(0xbb)]()[_0x2f9381(0xb2)](_0x31e3fe),_0x31e3fe;}[_0x2b479a(0xc4)](){const _0x106c29=_0x2b479a;let _0x1b6d11=new webgpu.Vector3(),_0xa9b384=this[_0x106c29(0xbb)]();return _0xa9b384[_0x106c29(0xb2)](_0x1b6d11),_0x1b6d11['y']=_0xa9b384[_0x106c29(0xd0)]['y'],_0x1b6d11;}[_0x2b479a(0xd9)](){const _0x56a2fe=_0x2b479a;let _0x1fad3c=new webgpu.Vector3(),_0x2b5234=this[_0x56a2fe(0xbb)]();return _0x2b5234['getCenter'](_0x1fad3c),_0x1fad3c['y']=_0x2b5234[_0x56a2fe(0xc0)]['y'],_0x1fad3c;}[_0x2b479a(0xd7)](){const _0x2bbbd5=_0x2b479a;var _0x1dced3,_0x37bf5f;this[_0x2bbbd5(0xaa)]&&this[_0x2bbbd5(0xaa)][_0x2bbbd5(0xba)](),(_0x1dced3=this[_0x2bbbd5(0xce)])===null||_0x1dced3===void 0?void 0:_0x1dced3[_0x2bbbd5(0xd5)](),(_0x37bf5f=this[_0x2bbbd5(0xe8)])===null||_0x37bf5f===void 0?void 0:_0x37bf5f[_0x2bbbd5(0xd5)](),super[_0x2bbbd5(0xd7)]();}}
|
|
122
133
|
|
|
123
|
-
(function(
|
|
134
|
+
function _0x7903(_0x57e729,_0x5a3c48){_0x57e729=_0x57e729-0x1ba;var _0x45f31a=_0x45f3();var _0x790337=_0x45f31a[_0x57e729];return _0x790337;}(function(_0x20bfd0,_0x5c27c3){var _0x41c47f=_0x7903,_0x3311e9=_0x20bfd0();while(!![]){try{var _0x25d1e7=parseInt(_0x41c47f(0x1c5))/0x1*(parseInt(_0x41c47f(0x1be))/0x2)+-parseInt(_0x41c47f(0x1bc))/0x3*(parseInt(_0x41c47f(0x1bf))/0x4)+-parseInt(_0x41c47f(0x1c4))/0x5*(parseInt(_0x41c47f(0x1c3))/0x6)+parseInt(_0x41c47f(0x1c0))/0x7*(parseInt(_0x41c47f(0x1c2))/0x8)+parseInt(_0x41c47f(0x1bd))/0x9*(parseInt(_0x41c47f(0x1ba))/0xa)+parseInt(_0x41c47f(0x1bb))/0xb+-parseInt(_0x41c47f(0x1c1))/0xc;if(_0x25d1e7===_0x5c27c3)break;else _0x3311e9['push'](_0x3311e9['shift']());}catch(_0x453a8b){_0x3311e9['push'](_0x3311e9['shift']());}}}(_0x45f3,0x7c9ee));function _0x45f3(){var _0x1b24fd=['21924108gHMpQu','3470296iJDLgz','24114IbLohg','195GPbjIQ','11925YvxoPG','7059710ZIRpVm','1182236AzrqtI','150dJLYlO','9kzDooY','142aPcmov','2680TvoYfu','14zyAoxY'];_0x45f3=function(){return _0x1b24fd;};return _0x45f3();}class SphereComponent extends MeshComponent{constructor(_0x4a8cba,_0x284e83,_0x2f05b4=new webgpu.MeshBasicMaterial(),_0x5d6565=0x20,_0x4b765d=0x10,_0xb93663){super(_0x4a8cba,new webgpu.SphereGeometry(_0x284e83,_0x5d6565,_0x4b765d),_0x2f05b4,_0xb93663);}}
|
|
124
135
|
|
|
125
|
-
|
|
136
|
+
const _0x1e8590=_0x4feb;(function(_0x23a8e4,_0x44e59a){const _0x1172bc=_0x4feb,_0x4afd9a=_0x23a8e4();while(!![]){try{const _0x327b21=-parseInt(_0x1172bc(0x1f1))/0x1+parseInt(_0x1172bc(0x1f5))/0x2+parseInt(_0x1172bc(0x1f6))/0x3*(-parseInt(_0x1172bc(0x1ef))/0x4)+-parseInt(_0x1172bc(0x1f2))/0x5+parseInt(_0x1172bc(0x203))/0x6*(-parseInt(_0x1172bc(0x1ed))/0x7)+parseInt(_0x1172bc(0x1f8))/0x8*(-parseInt(_0x1172bc(0x1fb))/0x9)+parseInt(_0x1172bc(0x204))/0xa;if(_0x327b21===_0x44e59a)break;else _0x4afd9a['push'](_0x4afd9a['shift']());}catch(_0x30caaf){_0x4afd9a['push'](_0x4afd9a['shift']());}}}(_0x1995,0x7c7b5));function _0x1995(){const _0x4db523=['threeObject','addEventListener','destroy','366XvXmJZ','27177140BziQpU','stopPropagation','center','setVisible','element','93016ROEzIc','parentNode','84028INbfQF','obj','636162grirXT','2307760tfBCnQ','style','remove','194016qrOJjR','9sKfAGF','auto','16AifzLv','userData','isClickEnabled','1500939dPrTfT','LYObject','innerHTML','pointerdown','isHoverEnabled'];_0x1995=function(){return _0x4db523;};return _0x1995();}function _0x4feb(_0x3046f0,_0x1d6748){_0x3046f0=_0x3046f0-0x1ed;const _0x19956e=_0x1995();let _0x4feb1d=_0x19956e[_0x3046f0];return _0x4feb1d;}class LabelComponent extends SceneComponent{get['threeObject'](){const _0x4bb44c=_0x4feb;return this[_0x4bb44c(0x1f0)];}set['threeObject'](_0x66d408){const _0x368e3b=_0x4feb;this[_0x368e3b(0x1f0)]=_0x66d408,this[_0x368e3b(0x1f0)]&&(this[_0x368e3b(0x1f0)][_0x368e3b(0x1f9)][_0x368e3b(0x1fc)]=this);}constructor(_0x24e0f6,_0x4211b7,_0x3e7249={},_0x2b1d2a){const _0xb9a607=_0x4feb;super(_0x24e0f6,_0x2b1d2a),this[_0xb9a607(0x1f0)]=new CSS2DRenderer_js.CSS2DObject(_0x4211b7);const _0x10e20d=_0x3e7249[_0xb9a607(0x206)]||new webgpu.Vector2(0.5,0x1);_0x3e7249['enablePointerEvents']&&(_0x4211b7[_0xb9a607(0x1f3)]['pointerEvents']=_0xb9a607(0x1f7),_0x4211b7[_0xb9a607(0x201)](_0xb9a607(0x1fe),_0x1cdf2c=>{const _0x36f8f9=_0xb9a607;_0x1cdf2c[_0x36f8f9(0x205)]();})),this['obj'][_0xb9a607(0x206)]['copy'](_0x10e20d);}set[_0x1e8590(0x1ff)](_0x537dcf){return;}set[_0x1e8590(0x1fa)](_0x489daa){return;}[_0x1e8590(0x207)](_0x3d634c){super['setVisible'](_0x3d634c);}[_0x1e8590(0x202)](){const _0x4df143=_0x1e8590;this[_0x4df143(0x200)][_0x4df143(0x208)]&&this[_0x4df143(0x200)]['element'][_0x4df143(0x1ee)]&&(this[_0x4df143(0x200)][_0x4df143(0x208)][_0x4df143(0x1fd)]='',this[_0x4df143(0x200)][_0x4df143(0x208)][_0x4df143(0x1f4)]()),super[_0x4df143(0x202)]();}}
|
|
126
137
|
|
|
127
|
-
function _0x39ea(){const _0x55aefc=['scale','raycaster','__alpha_punch','getSize','floor','polygonOffsetFactor','max','width','destroy','position','blendSrc','sort','startsWith','fromBufferAttribute','setAttribute','parent','1859417hVPUuV','includes','5xdGWrx','loading','receiveShadow','lyCameraDragging','userData','canvas','crossVectors','createDefaultObject','traverse','isArray','needsUpdate','alphaPunchMeshes','pointerEvents','threeObject','backfaceVisibility','lengthSq','cameraWorldPos','dataset','getIndex','src','occlusionCandidates','depthMaskMeshes','push','overflow','outer','meshes','10EalDcZ','set','add','wrapper','boundingBox','normalize','object','getWorldPosition','toneMapped','abs','blendEquation','distance','__depth_mask','count','__css3d_web','LYObject','2971542LnEEwf','tickFunc','setupMasks','allow','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','obj','24ojKMbv','polygonOffset','removeFromParent','blendDstAlpha','2341562VAtFNl','targetMesh','wallboard','visible','rayDir','name','subVectors','527658MGCSaT','min','remove','isMesh','computeBoundingBox','world','iframe','depthTest','getX','allowfullscreen','material','appendChild','background','setupOcclusionTick','scene','27454995OPnFQu','createElement','renderOrder','blendSrcAlpha','divideScalar','blendDst','style','castShadow','height','normal','blending','geometry','auto','panelWorldPos','3251772GQhKcF','quaternion','depthWrite','hidden','getAttribute','true','transparent','about:blank','dispose','colorWrite','app','polygonOffsetUnits','rayIgnored','test','167741DNeyHW','div','length','round','opacity','100%','CSS3DWebPanelComponent','fog','addTickingFunction'];_0x39ea=function(){return _0x55aefc;};return _0x39ea();}const _0x51863c=_0x59cf;(function(_0x1175f8,_0x1decc9){const _0x600550=_0x59cf,_0x3fc2a0=_0x1175f8();while(!![]){try{const _0x409f0c=-parseInt(_0x600550(0xdb))/0x1+parseInt(_0x600550(0xa9))/0x2+parseInt(_0x600550(0x9f))/0x3+parseInt(_0x600550(0xcd))/0x4+-parseInt(_0x600550(0xf6))/0x5*(-parseInt(_0x600550(0xb0))/0x6)+parseInt(_0x600550(0xf4))/0x7*(parseInt(_0x600550(0xa5))/0x8)+-parseInt(_0x600550(0xbf))/0x9*(parseInt(_0x600550(0x110))/0xa);if(_0x409f0c===_0x1decc9)break;else _0x3fc2a0['push'](_0x3fc2a0['shift']());}catch(_0x5be63a){_0x3fc2a0['push'](_0x3fc2a0['shift']());}}}(_0x39ea,0x9c70a));function _0x59cf(_0x492630,_0x10d838){_0x492630=_0x492630-0x96;const _0x39ea1b=_0x39ea();let _0x59cf1e=_0x39ea1b[_0x492630];return _0x59cf1e;}function normalizeAssetUrl(_0x53dcc2){const _0x9f95ec=_0x59cf,_0x5ad3ce=String(_0x53dcc2!==null&&_0x53dcc2!==void 0?_0x53dcc2:'')['trim']();if(!_0x5ad3ce)return '';if(/^https?:\/\//i[_0x9f95ec(0xda)](_0x5ad3ce))return _0x5ad3ce;if(_0x5ad3ce[_0x9f95ec(0xf0)]('/'))return _0x5ad3ce;return '/'+_0x5ad3ce;}function getMeshPlaneLocalSize(_0x5572cc){const _0x48dbfd=_0x59cf,_0x4cb8c0=_0x5572cc[_0x48dbfd(0xca)];if(!_0x4cb8c0)return {'width':0x1,'height':0x1};if(!_0x4cb8c0[_0x48dbfd(0x114)])_0x4cb8c0[_0x48dbfd(0xb4)]();const _0x42e169=_0x4cb8c0[_0x48dbfd(0x114)];if(!_0x42e169)return {'width':0x1,'height':0x1};const _0x3fa747=_0x42e169[_0x48dbfd(0xe7)](new three.Vector3()),_0x1c4fdc=[Math['abs'](_0x3fa747['x']),Math[_0x48dbfd(0x98)](_0x3fa747['y']),Math[_0x48dbfd(0x98)](_0x3fa747['z'])][_0x48dbfd(0xef)]((_0x2cf0e4,_0xe6df76)=>_0xe6df76-_0x2cf0e4),_0x33c81e=Math[_0x48dbfd(0xea)](0.0001,_0x1c4fdc[0x0]||0x1),_0x27a8df=Math['max'](0.0001,_0x1c4fdc[0x1]||_0x33c81e);return {'width':_0x33c81e,'height':_0x27a8df};}function getMeshLocalNormal(_0x334107){const _0x528c89=_0x59cf,_0x35a068=_0x334107[_0x528c89(0xca)];if(!_0x35a068)return new three.Vector3(0x0,0x0,0x1);const _0x10b2eb=_0x35a068[_0x528c89(0xd1)](_0x528c89(0xc8));if(_0x10b2eb&&_0x10b2eb[_0x528c89(0x9c)]>0x0){const _0x44f39d=new three.Vector3(),_0x1a7399=new three.Vector3();for(let _0x46250d=0x0;_0x46250d<_0x10b2eb[_0x528c89(0x9c)];_0x46250d++){_0x1a7399[_0x528c89(0xf1)](_0x10b2eb,_0x46250d),_0x44f39d[_0x528c89(0x112)](_0x1a7399);}if(_0x44f39d[_0x528c89(0x105)]()>1e-12)return _0x44f39d['normalize']();}const _0x383157=_0x35a068[_0x528c89(0xd1)](_0x528c89(0xed));if(!_0x383157||_0x383157[_0x528c89(0x9c)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x19e16d=_0x35a068[_0x528c89(0x108)](),_0x336ead=new three.Vector3(),_0x5a52f8=new three.Vector3(),_0x881ff3=new three.Vector3(),_0x3b7f21=new three.Vector3(),_0x526f24=new three.Vector3(),_0x168fe3=new three.Vector3(),_0x116b4d=new three.Vector3(),_0x1d6a41=_0x19e16d?Math[_0x528c89(0xe8)](_0x19e16d['count']/0x3):Math[_0x528c89(0xe8)](_0x383157[_0x528c89(0x9c)]/0x3);for(let _0x2059c5=0x0;_0x2059c5<_0x1d6a41;_0x2059c5++){const _0xf04394=_0x19e16d?_0x19e16d[_0x528c89(0xb8)](_0x2059c5*0x3+0x0):_0x2059c5*0x3+0x0,_0x51d4e0=_0x19e16d?_0x19e16d['getX'](_0x2059c5*0x3+0x1):_0x2059c5*0x3+0x1,_0x18dc8d=_0x19e16d?_0x19e16d[_0x528c89(0xb8)](_0x2059c5*0x3+0x2):_0x2059c5*0x3+0x2;_0x336ead['fromBufferAttribute'](_0x383157,_0xf04394),_0x5a52f8[_0x528c89(0xf1)](_0x383157,_0x51d4e0),_0x881ff3[_0x528c89(0xf1)](_0x383157,_0x18dc8d),_0x3b7f21[_0x528c89(0xaf)](_0x5a52f8,_0x336ead),_0x526f24[_0x528c89(0xaf)](_0x881ff3,_0x336ead),_0x116b4d[_0x528c89(0xfc)](_0x3b7f21,_0x526f24);if(_0x116b4d[_0x528c89(0x105)]()<1e-14)continue;_0x168fe3['add'](_0x116b4d);}if(_0x168fe3[_0x528c89(0x105)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x168fe3[_0x528c89(0x115)]();}function collectOcclusionMeshes(_0xac99){const _0x3afd16=_0x59cf,_0x576f8f=[];return _0xac99[_0x3afd16(0xfe)](_0x2a41c0=>{const _0x3995f3=_0x3afd16;var _0x140b55;const _0x97fa17=_0x2a41c0;if(!(_0x97fa17===null||_0x97fa17===void 0?void 0:_0x97fa17[_0x3995f3(0xb3)]))return;if(!_0x2a41c0['visible'])return;if((_0x140b55=_0x2a41c0[_0x3995f3(0xfa)])===null||_0x140b55===void 0?void 0:_0x140b55['rayIgnored'])return;_0x576f8f[_0x3995f3(0x10c)](_0x2a41c0);}),_0x576f8f;}class CSS3DWebPanelComponent extends SceneComponent{get['threeObject'](){const _0x2bfdbd=_0x59cf;if(!this[_0x2bfdbd(0xa4)])throw new Error('threeObject\x20is\x20null');return this['obj'];}set['threeObject'](_0x1da485){const _0x466015=_0x59cf;this[_0x466015(0xa4)]=_0x1da485,this[_0x466015(0xa4)]&&(this[_0x466015(0xa4)][_0x466015(0xfa)][_0x466015(0x9e)]=this);}constructor(_0x1a1180,_0x39b848,_0x2698ec,_0x1dd29e){const _0x561fe5=_0x59cf;super(_0x1a1180,_0x1dd29e),this[_0x561fe5(0x113)]=null,this['iframe']=null,this[_0x561fe5(0xaa)]=null,this[_0x561fe5(0x10b)]=[],this['alphaPunchMeshes']=[],this[_0x561fe5(0xa0)]=null,this[_0x561fe5(0x106)]=new three.Vector3(),this['panelWorldPos']=new three.Vector3(),this[_0x561fe5(0xad)]=new three.Vector3(),this[_0x561fe5(0xe5)]=new three.Raycaster(),this['occlusionCandidates']=[],this[_0x561fe5(0xae)]=_0x561fe5(0xe1),this[_0x561fe5(0x10f)]=_0x39b848['filter'](_0x2faa2f=>!!_0x2faa2f);const _0x53580a=normalizeAssetUrl(_0x2698ec);if(!_0x53580a||!this['meshes']['length'])return;this['targetMesh']=this[_0x561fe5(0x10f)][0x0];const _0x2a62e2=getMeshPlaneLocalSize(this[_0x561fe5(0xaa)]),_0x5659c5=0x4b0,_0x487b04=Math['max'](0x200,Math[_0x561fe5(0xb1)](0x1000,Math[_0x561fe5(0xde)](_0x2a62e2[_0x561fe5(0xeb)]*_0x5659c5))),_0x50a758=Math[_0x561fe5(0xea)](0x200,Math[_0x561fe5(0xb1)](0x1000,Math[_0x561fe5(0xde)](_0x2a62e2['height']*_0x5659c5))),_0x38ea3d=document[_0x561fe5(0xc0)](_0x561fe5(0xdc));_0x38ea3d[_0x561fe5(0xc5)][_0x561fe5(0xeb)]=_0x487b04+'px',_0x38ea3d[_0x561fe5(0xc5)]['height']=_0x50a758+'px',_0x38ea3d[_0x561fe5(0xc5)][_0x561fe5(0x102)]='auto',_0x38ea3d[_0x561fe5(0xc5)][_0x561fe5(0x10d)]=_0x561fe5(0xd0),_0x38ea3d[_0x561fe5(0xc5)][_0x561fe5(0xbc)]=_0x561fe5(0xd3),_0x38ea3d['style'][_0x561fe5(0x104)]=_0x561fe5(0xd0),this[_0x561fe5(0x113)]=_0x38ea3d;const _0x37169a=document[_0x561fe5(0xc0)](_0x561fe5(0xb6));_0x37169a[_0x561fe5(0x109)]=_0x53580a,_0x37169a[_0x561fe5(0xc5)][_0x561fe5(0xeb)]=_0x561fe5(0xe0),_0x37169a[_0x561fe5(0xc5)][_0x561fe5(0xc7)]=_0x561fe5(0xe0),_0x37169a[_0x561fe5(0xc5)]['border']='0',_0x37169a[_0x561fe5(0xc5)]['background']=_0x561fe5(0xd3),_0x37169a[_0x561fe5(0xc5)]['pointerEvents']=_0x561fe5(0xcb),_0x37169a[_0x561fe5(0xc5)]['backfaceVisibility']=_0x561fe5(0xd0),_0x37169a[_0x561fe5(0xf2)](_0x561fe5(0xa2),_0x561fe5(0xa3)),_0x37169a[_0x561fe5(0xf2)](_0x561fe5(0xb9),_0x561fe5(0xd2)),_0x37169a[_0x561fe5(0xf2)](_0x561fe5(0xf7),'lazy'),_0x38ea3d[_0x561fe5(0xbb)](_0x37169a),this[_0x561fe5(0xb6)]=_0x37169a;const _0x210196=new Addons_js.CSS3DObject(_0x38ea3d);_0x210196[_0x561fe5(0xae)]=(this[_0x561fe5(0xaa)]['name']||_0x561fe5(0xab))+_0x561fe5(0x9d),_0x210196[_0x561fe5(0xed)]['set'](0x0,0x0,0.001),_0x210196[_0x561fe5(0xce)]['setFromUnitVectors'](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this[_0x561fe5(0xaa)])),_0x210196[_0x561fe5(0xe4)][_0x561fe5(0x111)](_0x2a62e2['width']/_0x487b04,_0x2a62e2[_0x561fe5(0xc7)]/_0x50a758,0x1),this[_0x561fe5(0x103)]=_0x210196,this[_0x561fe5(0xaa)][_0x561fe5(0x112)](_0x210196),this[_0x561fe5(0xa1)](),this[_0x561fe5(0x10a)]=collectOcclusionMeshes(this[_0x561fe5(0xd7)][_0x561fe5(0xb5)][_0x561fe5(0xbe)]),this[_0x561fe5(0xbd)]();}[_0x51863c(0xfd)](){const _0x427e1d=_0x51863c;return new Addons_js.CSS3DObject(document[_0x427e1d(0xc0)](_0x427e1d(0xdc)));}[_0x51863c(0xa1)](){const _0x451c79=_0x51863c;var _0x20aaa0;for(const _0x20f505 of this[_0x451c79(0x10f)]){_0x20f505[_0x451c79(0xc1)]=Math['min']((_0x20aaa0=_0x20f505['renderOrder'])!==null&&_0x20aaa0!==void 0?_0x20aaa0:0x0,-1e3),_0x20f505[_0x451c79(0xc6)]=![],_0x20f505[_0x451c79(0xf8)]=![];const _0x2882fa=Array[_0x451c79(0xff)](_0x20f505['material'])?_0x20f505[_0x451c79(0xba)]:[_0x20f505[_0x451c79(0xba)]];for(const _0x1258ad of _0x2882fa){const _0x44e172=_0x1258ad;if(!_0x44e172)continue;_0x44e172[_0x451c79(0xd3)]=!![],_0x44e172[_0x451c79(0xdf)]=0x0,_0x44e172[_0x451c79(0xd6)]=![],_0x44e172[_0x451c79(0xb7)]=![],_0x44e172[_0x451c79(0xcf)]=![],_0x44e172[_0x451c79(0x100)]=!![];}const _0xabea1d=_0x20f505[_0x451c79(0xca)];if(!_0xabea1d)continue;const _0x137861=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x137861['colorWrite']=![],_0x137861[_0x451c79(0x97)]=![],_0x137861[_0x451c79(0xe2)]=![],_0x137861[_0x451c79(0xc9)]=three.NoBlending,_0x137861[_0x451c79(0xa6)]=!![],_0x137861[_0x451c79(0xe9)]=-4,_0x137861[_0x451c79(0xd8)]=-4;const _0xbd3944=new three.Mesh(_0xabea1d,_0x137861);_0xbd3944[_0x451c79(0xae)]=(_0x20f505[_0x451c79(0xae)]||_0x451c79(0xfb))+_0x451c79(0x9b),_0xbd3944[_0x451c79(0xfa)][_0x451c79(0xd9)]=!![],_0xbd3944['renderOrder']=Math[_0x451c79(0xb1)](_0x20f505[_0x451c79(0xc1)]-0x1,-2e3),_0xbd3944[_0x451c79(0xed)][_0x451c79(0x111)](0x0,0x0,0x0),_0xbd3944[_0x451c79(0xce)]['set'](0x0,0x0,0x0,0x1),_0xbd3944['scale']['set'](0x1,0x1,0x1),_0x20f505[_0x451c79(0x112)](_0xbd3944),this['depthMaskMeshes'][_0x451c79(0x10c)](_0xbd3944);const _0x1eb229=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x1eb229[_0x451c79(0x97)]=![],_0x1eb229[_0x451c79(0xe2)]=![],_0x1eb229[_0x451c79(0x99)]=three.AddEquation,_0x1eb229[_0x451c79(0xee)]=three.ZeroFactor,_0x1eb229[_0x451c79(0xc4)]=three.OneFactor,_0x1eb229[_0x451c79(0xc2)]=three.ZeroFactor,_0x1eb229[_0x451c79(0xa8)]=three.ZeroFactor;const _0x3cca93=new three.Mesh(_0xabea1d,_0x1eb229);_0x3cca93[_0x451c79(0xae)]=(_0x20f505[_0x451c79(0xae)]||_0x451c79(0xfb))+_0x451c79(0xe6),_0x3cca93[_0x451c79(0xfa)]['rayIgnored']=!![],_0x3cca93[_0x451c79(0xc1)]=Math[_0x451c79(0xea)](_0x20f505[_0x451c79(0xc1)]+0x3e8,0x3e8),_0x3cca93[_0x451c79(0xed)][_0x451c79(0x111)](0x0,0x0,0x0),_0x3cca93[_0x451c79(0xce)][_0x451c79(0x111)](0x0,0x0,0x0,0x1),_0x3cca93[_0x451c79(0xe4)][_0x451c79(0x111)](0x1,0x1,0x1),_0x20f505[_0x451c79(0x112)](_0x3cca93),this[_0x451c79(0x101)][_0x451c79(0x10c)](_0x3cca93);}}[_0x51863c(0xbd)](){const _0x37144a=_0x51863c;let _0x5280d5=0x0;this['tickFunc']=_0x4a87a5=>{const _0x4e7f4b=_0x59cf;var _0x1d0885;if(!this['targetMesh']||!this[_0x4e7f4b(0x113)]||!this['iframe'])return;_0x5280d5+=_0x4a87a5;if(_0x5280d5<0.05)return;_0x5280d5=0x0;const _0x3bb9ac=this[_0x4e7f4b(0xd7)]['camera'];_0x3bb9ac[_0x4e7f4b(0x96)](this[_0x4e7f4b(0x106)]),this[_0x4e7f4b(0xaa)][_0x4e7f4b(0x96)](this['panelWorldPos']),this[_0x4e7f4b(0xad)][_0x4e7f4b(0xaf)](this[_0x4e7f4b(0xcc)],this[_0x4e7f4b(0x106)]);const _0x3a3fb0=this[_0x4e7f4b(0xad)][_0x4e7f4b(0xdd)]();if(_0x3a3fb0<=0.00001)return;this['rayDir'][_0x4e7f4b(0xc3)](_0x3a3fb0),this['raycaster']['set'](this[_0x4e7f4b(0x106)],this[_0x4e7f4b(0xad)]);const _0x2b7144=this['raycaster']['intersectObjects'](this[_0x4e7f4b(0x10a)],!![]);let _0x47d9e0=![];const _0x1ff65d=_0x3a3fb0-0.02;for(const _0x2b8f09 of _0x2b7144){if(_0x2b8f09[_0x4e7f4b(0x9a)]>=_0x1ff65d)break;let _0x3f3362=_0x2b8f09['object'],_0x36f501=!![];while(_0x3f3362){if(!_0x3f3362[_0x4e7f4b(0xac)]){_0x36f501=![];break;}_0x3f3362=_0x3f3362[_0x4e7f4b(0xf3)];}if(!_0x36f501)continue;_0x3f3362=_0x2b8f09[_0x4e7f4b(0x116)];let _0x4fc4a9=![];while(_0x3f3362){if(this[_0x4e7f4b(0x10f)][_0x4e7f4b(0xf5)](_0x3f3362)){_0x4fc4a9=!![];break;}_0x3f3362=_0x3f3362[_0x4e7f4b(0xf3)];}if(_0x4fc4a9)continue;_0x47d9e0=!![];break;}const _0x1503e3=((_0x1d0885=this[_0x4e7f4b(0xd7)]['viewport'][_0x4e7f4b(0x10e)])===null||_0x1d0885===void 0?void 0:_0x1d0885[_0x4e7f4b(0x107)][_0x4e7f4b(0xf9)])==='1',_0x54296a=_0x1503e3||_0x47d9e0?'none':_0x4e7f4b(0xcb);this[_0x4e7f4b(0x113)]['style'][_0x4e7f4b(0x102)]!==_0x54296a&&(this[_0x4e7f4b(0x113)][_0x4e7f4b(0xc5)]['pointerEvents']=_0x54296a),this['iframe'][_0x4e7f4b(0xc5)][_0x4e7f4b(0x102)]!==_0x54296a&&(this[_0x4e7f4b(0xb6)]['style'][_0x4e7f4b(0x102)]=_0x54296a);},this['app'][_0x37144a(0xe3)](this[_0x37144a(0xa0)]);}[_0x51863c(0xec)](){const _0x50c84e=_0x51863c;this[_0x50c84e(0xa0)]&&(this[_0x50c84e(0xd7)]['removeTickingFunction'](this['tickFunc']),this[_0x50c84e(0xa0)]=null);for(const _0x56e23 of this['depthMaskMeshes']){_0x56e23[_0x50c84e(0xa7)]();const _0x3ec089=_0x56e23[_0x50c84e(0xba)];if(Array['isArray'](_0x3ec089)){for(const _0x57f61a of _0x3ec089)_0x57f61a===null||_0x57f61a===void 0?void 0:_0x57f61a[_0x50c84e(0xd5)]();}else _0x3ec089===null||_0x3ec089===void 0?void 0:_0x3ec089['dispose']();}this['depthMaskMeshes'][_0x50c84e(0xdd)]=0x0;for(const _0x1e82aa of this[_0x50c84e(0x101)]){_0x1e82aa[_0x50c84e(0xa7)]();const _0x317bb7=_0x1e82aa[_0x50c84e(0xba)];if(Array['isArray'](_0x317bb7)){for(const _0x2f603a of _0x317bb7)_0x2f603a===null||_0x2f603a===void 0?void 0:_0x2f603a['dispose']();}else _0x317bb7===null||_0x317bb7===void 0?void 0:_0x317bb7[_0x50c84e(0xd5)]();}this[_0x50c84e(0x101)][_0x50c84e(0xdd)]=0x0,this[_0x50c84e(0xb6)]&&(this[_0x50c84e(0xb6)][_0x50c84e(0x109)]=_0x50c84e(0xd4),this[_0x50c84e(0xb6)]=null),this['wrapper']&&(this[_0x50c84e(0x113)][_0x50c84e(0xb2)](),this['wrapper']=null),this[_0x50c84e(0xaa)]=null,this[_0x50c84e(0x10a)]=[],super[_0x50c84e(0xec)]();}}
|
|
138
|
+
const _0x3c48af=_0xa366;(function(_0x1901dc,_0x44abbd){const _0x370fc5=_0xa366,_0x2b1ada=_0x1901dc();while(!![]){try{const _0x222a52=-parseInt(_0x370fc5(0x18c))/0x1+-parseInt(_0x370fc5(0x1ac))/0x2*(-parseInt(_0x370fc5(0x1d9))/0x3)+-parseInt(_0x370fc5(0x19f))/0x4+-parseInt(_0x370fc5(0x1e6))/0x5*(-parseInt(_0x370fc5(0x1e3))/0x6)+-parseInt(_0x370fc5(0x1de))/0x7*(parseInt(_0x370fc5(0x1e1))/0x8)+-parseInt(_0x370fc5(0x1db))/0x9+-parseInt(_0x370fc5(0x1bb))/0xa*(-parseInt(_0x370fc5(0x1ba))/0xb);if(_0x222a52===_0x44abbd)break;else _0x2b1ada['push'](_0x2b1ada['shift']());}catch(_0xed2710){_0x2b1ada['push'](_0x2b1ada['shift']());}}}(_0x4527,0x7a031));function _0x4527(){const _0x285640=['polygonOffsetFactor','normal','setAttribute','floor','parent','src','about:blank','transparent','object','isArray','alphaPunchMeshes','meshes','subVectors','100%','normalize','receiveShadow','lazy','removeFromParent','opacity','position','push','hidden','depthMaskMeshes','includes','getAttribute','blendSrcAlpha','abs','setFromUnitVectors','3hqtVTR','getX','123777umPuuM','lyCameraDragging','canvas','4780468CHfwCg','polygonOffset','boundingBox','8oJlllm','true','174BnGkRe','getWorldPosition','castShadow','34245jVtvEF','lengthSq','set','auto','depthTest','material','app','threeObject','setupMasks','removeTickingFunction','rayDir','fromBufferAttribute','scale','userData','iframe','wallboard','threeObject\x20is\x20null','add','__alpha_punch','scene','polygonOffsetUnits','obj','wrapper','tickFunc','border','visible','panelWorldPos','intersectObjects','distance','height','toneMapped','count','overflow','setupOcclusionTick','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','651299LYhgCf','renderOrder','div','blendEquation','name','startsWith','blendDst','min','destroy','divideScalar','quaternion','needsUpdate','backfaceVisibility','geometry','world','viewport','test','background','sort','1143488lWofgy','createElement','crossVectors','allow','__css3d_web','remove','style','targetMesh','CSS3DWebPanelComponent','getSize','none','addTickingFunction','dispose','757546RkjmLn','loading','createDefaultObject','max','filter','round','width','occlusionCandidates','raycaster','rayIgnored','cameraWorldPos','pointerEvents','computeBoundingBox','getIndex','11vmxNom','15562150vQxhHY','length'];_0x4527=function(){return _0x285640;};return _0x4527();}function normalizeAssetUrl(_0x4355ac){const _0x559ffb=_0xa366,_0x5b80e5=String(_0x4355ac!==null&&_0x4355ac!==void 0?_0x4355ac:'')['trim']();if(!_0x5b80e5)return '';if(/^https?:\/\//i[_0x559ffb(0x19c)](_0x5b80e5))return _0x5b80e5;if(_0x5b80e5[_0x559ffb(0x191)]('/'))return _0x5b80e5;return '/'+_0x5b80e5;}function getMeshPlaneLocalSize(_0x17aaf5){const _0xb5a2f4=_0xa366,_0xb707e2=_0x17aaf5[_0xb5a2f4(0x199)];if(!_0xb707e2)return {'width':0x1,'height':0x1};if(!_0xb707e2[_0xb5a2f4(0x1e0)])_0xb707e2[_0xb5a2f4(0x1b8)]();const _0x5c6166=_0xb707e2[_0xb5a2f4(0x1e0)];if(!_0x5c6166)return {'width':0x1,'height':0x1};const _0x2cf31e=_0x5c6166[_0xb5a2f4(0x1a8)](new three.Vector3()),_0x425acc=[Math[_0xb5a2f4(0x1d7)](_0x2cf31e['x']),Math[_0xb5a2f4(0x1d7)](_0x2cf31e['y']),Math[_0xb5a2f4(0x1d7)](_0x2cf31e['z'])][_0xb5a2f4(0x19e)]((_0x55cc20,_0x4a2626)=>_0x4a2626-_0x55cc20),_0xae156b=Math[_0xb5a2f4(0x1af)](0.0001,_0x425acc[0x0]||0x1),_0x2452e7=Math['max'](0.0001,_0x425acc[0x1]||_0xae156b);return {'width':_0xae156b,'height':_0x2452e7};}function getMeshLocalNormal(_0xaacef2){const _0x5ac4a7=_0xa366,_0x20827b=_0xaacef2[_0x5ac4a7(0x199)];if(!_0x20827b)return new three.Vector3(0x0,0x0,0x1);const _0x2db6b5=_0x20827b[_0x5ac4a7(0x1d5)](_0x5ac4a7(0x1be));if(_0x2db6b5&&_0x2db6b5['count']>0x0){const _0x40bc00=new three.Vector3(),_0x35dcf4=new three.Vector3();for(let _0x4ff842=0x0;_0x4ff842<_0x2db6b5['count'];_0x4ff842++){_0x35dcf4[_0x5ac4a7(0x1f1)](_0x2db6b5,_0x4ff842),_0x40bc00[_0x5ac4a7(0x1f7)](_0x35dcf4);}if(_0x40bc00[_0x5ac4a7(0x1e7)]()>1e-12)return _0x40bc00['normalize']();}const _0x377612=_0x20827b[_0x5ac4a7(0x1d5)](_0x5ac4a7(0x1d0));if(!_0x377612||_0x377612[_0x5ac4a7(0x188)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x462a71=_0x20827b[_0x5ac4a7(0x1b9)](),_0x5ac825=new three.Vector3(),_0x24fc29=new three.Vector3(),_0x24b81d=new three.Vector3(),_0x43d825=new three.Vector3(),_0x14e07f=new three.Vector3(),_0x4d6e8e=new three.Vector3(),_0x1608af=new three.Vector3(),_0x3f5c53=_0x462a71?Math[_0x5ac4a7(0x1c0)](_0x462a71[_0x5ac4a7(0x188)]/0x3):Math[_0x5ac4a7(0x1c0)](_0x377612[_0x5ac4a7(0x188)]/0x3);for(let _0x374a52=0x0;_0x374a52<_0x3f5c53;_0x374a52++){const _0x3c001=_0x462a71?_0x462a71[_0x5ac4a7(0x1da)](_0x374a52*0x3+0x0):_0x374a52*0x3+0x0,_0x4307bd=_0x462a71?_0x462a71['getX'](_0x374a52*0x3+0x1):_0x374a52*0x3+0x1,_0x2c5c5d=_0x462a71?_0x462a71['getX'](_0x374a52*0x3+0x2):_0x374a52*0x3+0x2;_0x5ac825[_0x5ac4a7(0x1f1)](_0x377612,_0x3c001),_0x24fc29[_0x5ac4a7(0x1f1)](_0x377612,_0x4307bd),_0x24b81d[_0x5ac4a7(0x1f1)](_0x377612,_0x2c5c5d),_0x43d825[_0x5ac4a7(0x1c9)](_0x24fc29,_0x5ac825),_0x14e07f[_0x5ac4a7(0x1c9)](_0x24b81d,_0x5ac825),_0x1608af[_0x5ac4a7(0x1a1)](_0x43d825,_0x14e07f);if(_0x1608af[_0x5ac4a7(0x1e7)]()<1e-14)continue;_0x4d6e8e['add'](_0x1608af);}if(_0x4d6e8e[_0x5ac4a7(0x1e7)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x4d6e8e[_0x5ac4a7(0x1cb)]();}function collectOcclusionMeshes(_0x4b6e69){const _0xcd4487=[];return _0x4b6e69['traverse'](_0x163bee=>{const _0x52a58c=_0xa366;var _0x348350;const _0x4ea1c8=_0x163bee;if(!(_0x4ea1c8===null||_0x4ea1c8===void 0?void 0:_0x4ea1c8['isMesh']))return;if(!_0x163bee[_0x52a58c(0x1ff)])return;if((_0x348350=_0x163bee[_0x52a58c(0x1f3)])===null||_0x348350===void 0?void 0:_0x348350[_0x52a58c(0x1b5)])return;_0xcd4487[_0x52a58c(0x1d1)](_0x163bee);}),_0xcd4487;}function _0xa366(_0x2b31f9,_0xc3fef1){_0x2b31f9=_0x2b31f9-0x183;const _0x4527c3=_0x4527();let _0xa3667a=_0x4527c3[_0x2b31f9];return _0xa3667a;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x3c48af(0x1ed)](){const _0x14b188=_0x3c48af;if(!this[_0x14b188(0x1fb)])throw new Error(_0x14b188(0x1f6));return this[_0x14b188(0x1fb)];}set['threeObject'](_0x522817){const _0x89d9f4=_0x3c48af;this['obj']=_0x522817,this['obj']&&(this[_0x89d9f4(0x1fb)][_0x89d9f4(0x1f3)]['LYObject']=this);}constructor(_0x5bb53d,_0xd9ff92,_0x578ae9,_0x2b734e){const _0x3990c8=_0x3c48af;super(_0x5bb53d,_0x2b734e),this[_0x3990c8(0x1fc)]=null,this[_0x3990c8(0x1f4)]=null,this['targetMesh']=null,this[_0x3990c8(0x1d3)]=[],this[_0x3990c8(0x1c7)]=[],this[_0x3990c8(0x1fd)]=null,this[_0x3990c8(0x1b6)]=new three.Vector3(),this[_0x3990c8(0x183)]=new three.Vector3(),this[_0x3990c8(0x1f0)]=new three.Vector3(),this[_0x3990c8(0x1b4)]=new three.Raycaster(),this[_0x3990c8(0x1b3)]=[],this[_0x3990c8(0x190)]=_0x3990c8(0x1a7),this[_0x3990c8(0x1c8)]=_0xd9ff92[_0x3990c8(0x1b0)](_0xc4f3de=>!!_0xc4f3de);const _0x31ff64=normalizeAssetUrl(_0x578ae9);if(!_0x31ff64||!this[_0x3990c8(0x1c8)][_0x3990c8(0x1bc)])return;this[_0x3990c8(0x1a6)]=this[_0x3990c8(0x1c8)][0x0];const _0x54278f=getMeshPlaneLocalSize(this[_0x3990c8(0x1a6)]),_0x109a5a=0x4b0,_0x564b30=Math['max'](0x200,Math['min'](0x1000,Math[_0x3990c8(0x1b1)](_0x54278f['width']*_0x109a5a))),_0x299f83=Math[_0x3990c8(0x1af)](0x200,Math[_0x3990c8(0x193)](0x1000,Math[_0x3990c8(0x1b1)](_0x54278f['height']*_0x109a5a))),_0x53b433=document[_0x3990c8(0x1a0)](_0x3990c8(0x18e));_0x53b433[_0x3990c8(0x1a5)][_0x3990c8(0x1b2)]=_0x564b30+'px',_0x53b433[_0x3990c8(0x1a5)][_0x3990c8(0x186)]=_0x299f83+'px',_0x53b433[_0x3990c8(0x1a5)][_0x3990c8(0x1b7)]=_0x3990c8(0x1e9),_0x53b433[_0x3990c8(0x1a5)][_0x3990c8(0x189)]=_0x3990c8(0x1d2),_0x53b433[_0x3990c8(0x1a5)]['background']=_0x3990c8(0x1c4),_0x53b433[_0x3990c8(0x1a5)]['backfaceVisibility']='hidden',this['wrapper']=_0x53b433;const _0x32f4d0=document[_0x3990c8(0x1a0)](_0x3990c8(0x1f4));_0x32f4d0[_0x3990c8(0x1c2)]=_0x31ff64,_0x32f4d0['style'][_0x3990c8(0x1b2)]='100%',_0x32f4d0['style'][_0x3990c8(0x186)]=_0x3990c8(0x1ca),_0x32f4d0[_0x3990c8(0x1a5)][_0x3990c8(0x1fe)]='0',_0x32f4d0[_0x3990c8(0x1a5)][_0x3990c8(0x19d)]='transparent',_0x32f4d0[_0x3990c8(0x1a5)][_0x3990c8(0x1b7)]=_0x3990c8(0x1e9),_0x32f4d0[_0x3990c8(0x1a5)][_0x3990c8(0x198)]=_0x3990c8(0x1d2),_0x32f4d0['setAttribute'](_0x3990c8(0x1a2),_0x3990c8(0x18b)),_0x32f4d0[_0x3990c8(0x1bf)]('allowfullscreen',_0x3990c8(0x1e2)),_0x32f4d0[_0x3990c8(0x1bf)](_0x3990c8(0x1ad),_0x3990c8(0x1cd)),_0x53b433['appendChild'](_0x32f4d0),this[_0x3990c8(0x1f4)]=_0x32f4d0;const _0x16eae1=new Addons_js.CSS3DObject(_0x53b433);_0x16eae1[_0x3990c8(0x190)]=(this[_0x3990c8(0x1a6)][_0x3990c8(0x190)]||_0x3990c8(0x1f5))+_0x3990c8(0x1a3),_0x16eae1[_0x3990c8(0x1d0)][_0x3990c8(0x1e8)](0x0,0x0,0.001),_0x16eae1[_0x3990c8(0x196)][_0x3990c8(0x1d8)](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this['targetMesh'])),_0x16eae1[_0x3990c8(0x1f2)][_0x3990c8(0x1e8)](_0x54278f[_0x3990c8(0x1b2)]/_0x564b30,_0x54278f[_0x3990c8(0x186)]/_0x299f83,0x1),this['threeObject']=_0x16eae1,this[_0x3990c8(0x1a6)][_0x3990c8(0x1f7)](_0x16eae1),this[_0x3990c8(0x1ee)](),this[_0x3990c8(0x1b3)]=collectOcclusionMeshes(this[_0x3990c8(0x1ec)][_0x3990c8(0x19a)][_0x3990c8(0x1f9)]),this[_0x3990c8(0x18a)]();}[_0x3c48af(0x1ae)](){const _0x5924c4=_0x3c48af;return new Addons_js.CSS3DObject(document[_0x5924c4(0x1a0)]('div'));}[_0x3c48af(0x1ee)](){const _0x492bee=_0x3c48af;var _0x46c747;for(const _0x147d64 of this[_0x492bee(0x1c8)]){_0x147d64['renderOrder']=Math[_0x492bee(0x193)]((_0x46c747=_0x147d64['renderOrder'])!==null&&_0x46c747!==void 0?_0x46c747:0x0,-1e3),_0x147d64[_0x492bee(0x1e5)]=![],_0x147d64[_0x492bee(0x1cc)]=![];const _0xd2e044=Array[_0x492bee(0x1c6)](_0x147d64[_0x492bee(0x1eb)])?_0x147d64['material']:[_0x147d64['material']];for(const _0x592935 of _0xd2e044){const _0x51d948=_0x592935;if(!_0x51d948)continue;_0x51d948[_0x492bee(0x1c4)]=!![],_0x51d948[_0x492bee(0x1cf)]=0x0,_0x51d948['colorWrite']=![],_0x51d948[_0x492bee(0x1ea)]=![],_0x51d948['depthWrite']=![],_0x51d948[_0x492bee(0x197)]=!![];}const _0x22c655=_0x147d64[_0x492bee(0x199)];if(!_0x22c655)continue;const _0x2cf5a5=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x2cf5a5['colorWrite']=![],_0x2cf5a5[_0x492bee(0x187)]=![],_0x2cf5a5['fog']=![],_0x2cf5a5['blending']=three.NoBlending,_0x2cf5a5[_0x492bee(0x1df)]=!![],_0x2cf5a5[_0x492bee(0x1bd)]=-4,_0x2cf5a5[_0x492bee(0x1fa)]=-4;const _0x4903f3=new three.Mesh(_0x22c655,_0x2cf5a5);_0x4903f3[_0x492bee(0x190)]=(_0x147d64[_0x492bee(0x190)]||'canvas')+'__depth_mask',_0x4903f3[_0x492bee(0x1f3)][_0x492bee(0x1b5)]=!![],_0x4903f3[_0x492bee(0x18d)]=Math[_0x492bee(0x193)](_0x147d64['renderOrder']-0x1,-2e3),_0x4903f3['position']['set'](0x0,0x0,0x0),_0x4903f3['quaternion'][_0x492bee(0x1e8)](0x0,0x0,0x0,0x1),_0x4903f3['scale'][_0x492bee(0x1e8)](0x1,0x1,0x1),_0x147d64['add'](_0x4903f3),this[_0x492bee(0x1d3)][_0x492bee(0x1d1)](_0x4903f3);const _0x16841a=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x16841a['toneMapped']=![],_0x16841a['fog']=![],_0x16841a[_0x492bee(0x18f)]=three.AddEquation,_0x16841a['blendSrc']=three.ZeroFactor,_0x16841a[_0x492bee(0x192)]=three.OneFactor,_0x16841a[_0x492bee(0x1d6)]=three.ZeroFactor,_0x16841a['blendDstAlpha']=three.ZeroFactor;const _0x496f5d=new three.Mesh(_0x22c655,_0x16841a);_0x496f5d['name']=(_0x147d64[_0x492bee(0x190)]||_0x492bee(0x1dd))+_0x492bee(0x1f8),_0x496f5d['userData'][_0x492bee(0x1b5)]=!![],_0x496f5d[_0x492bee(0x18d)]=Math[_0x492bee(0x1af)](_0x147d64[_0x492bee(0x18d)]+0x3e8,0x3e8),_0x496f5d[_0x492bee(0x1d0)][_0x492bee(0x1e8)](0x0,0x0,0x0),_0x496f5d[_0x492bee(0x196)][_0x492bee(0x1e8)](0x0,0x0,0x0,0x1),_0x496f5d[_0x492bee(0x1f2)]['set'](0x1,0x1,0x1),_0x147d64['add'](_0x496f5d),this['alphaPunchMeshes'][_0x492bee(0x1d1)](_0x496f5d);}}[_0x3c48af(0x18a)](){const _0xa574ba=_0x3c48af;let _0x39565e=0x0;this[_0xa574ba(0x1fd)]=_0x4cdc97=>{const _0x39ef80=_0xa574ba;var _0x3c808a;if(!this[_0x39ef80(0x1a6)]||!this[_0x39ef80(0x1fc)]||!this['iframe'])return;_0x39565e+=_0x4cdc97;if(_0x39565e<0.05)return;_0x39565e=0x0;const _0xbe4aa=this[_0x39ef80(0x1ec)]['camera'];_0xbe4aa['getWorldPosition'](this[_0x39ef80(0x1b6)]),this['targetMesh'][_0x39ef80(0x1e4)](this[_0x39ef80(0x183)]),this['rayDir'][_0x39ef80(0x1c9)](this[_0x39ef80(0x183)],this[_0x39ef80(0x1b6)]);const _0x3e1397=this['rayDir'][_0x39ef80(0x1bc)]();if(_0x3e1397<=0.00001)return;this[_0x39ef80(0x1f0)][_0x39ef80(0x195)](_0x3e1397),this[_0x39ef80(0x1b4)][_0x39ef80(0x1e8)](this[_0x39ef80(0x1b6)],this[_0x39ef80(0x1f0)]);const _0x338994=this[_0x39ef80(0x1b4)][_0x39ef80(0x184)](this[_0x39ef80(0x1b3)],!![]);let _0x64d7d9=![];const _0x459d8a=_0x3e1397-0.02;for(const _0x348037 of _0x338994){if(_0x348037[_0x39ef80(0x185)]>=_0x459d8a)break;let _0x4e3e5d=_0x348037['object'],_0x309198=!![];while(_0x4e3e5d){if(!_0x4e3e5d['visible']){_0x309198=![];break;}_0x4e3e5d=_0x4e3e5d[_0x39ef80(0x1c1)];}if(!_0x309198)continue;_0x4e3e5d=_0x348037[_0x39ef80(0x1c5)];let _0x44cf3a=![];while(_0x4e3e5d){if(this['meshes'][_0x39ef80(0x1d4)](_0x4e3e5d)){_0x44cf3a=!![];break;}_0x4e3e5d=_0x4e3e5d[_0x39ef80(0x1c1)];}if(_0x44cf3a)continue;_0x64d7d9=!![];break;}const _0x4d4c6b=((_0x3c808a=this[_0x39ef80(0x1ec)][_0x39ef80(0x19b)]['outer'])===null||_0x3c808a===void 0?void 0:_0x3c808a['dataset'][_0x39ef80(0x1dc)])==='1',_0x4dc13f=_0x4d4c6b||_0x64d7d9?_0x39ef80(0x1a9):_0x39ef80(0x1e9);this[_0x39ef80(0x1fc)][_0x39ef80(0x1a5)]['pointerEvents']!==_0x4dc13f&&(this[_0x39ef80(0x1fc)]['style'][_0x39ef80(0x1b7)]=_0x4dc13f),this[_0x39ef80(0x1f4)]['style'][_0x39ef80(0x1b7)]!==_0x4dc13f&&(this[_0x39ef80(0x1f4)][_0x39ef80(0x1a5)][_0x39ef80(0x1b7)]=_0x4dc13f);},this['app'][_0xa574ba(0x1aa)](this['tickFunc']);}[_0x3c48af(0x194)](){const _0x515cb2=_0x3c48af;this[_0x515cb2(0x1fd)]&&(this['app'][_0x515cb2(0x1ef)](this[_0x515cb2(0x1fd)]),this[_0x515cb2(0x1fd)]=null);for(const _0x14796d of this[_0x515cb2(0x1d3)]){_0x14796d['removeFromParent']();const _0x31c96c=_0x14796d[_0x515cb2(0x1eb)];if(Array['isArray'](_0x31c96c)){for(const _0x5d5f03 of _0x31c96c)_0x5d5f03===null||_0x5d5f03===void 0?void 0:_0x5d5f03['dispose']();}else _0x31c96c===null||_0x31c96c===void 0?void 0:_0x31c96c[_0x515cb2(0x1ab)]();}this[_0x515cb2(0x1d3)][_0x515cb2(0x1bc)]=0x0;for(const _0x5be33a of this[_0x515cb2(0x1c7)]){_0x5be33a[_0x515cb2(0x1ce)]();const _0x19c3eb=_0x5be33a[_0x515cb2(0x1eb)];if(Array['isArray'](_0x19c3eb)){for(const _0x4e5a3b of _0x19c3eb)_0x4e5a3b===null||_0x4e5a3b===void 0?void 0:_0x4e5a3b[_0x515cb2(0x1ab)]();}else _0x19c3eb===null||_0x19c3eb===void 0?void 0:_0x19c3eb['dispose']();}this[_0x515cb2(0x1c7)][_0x515cb2(0x1bc)]=0x0,this[_0x515cb2(0x1f4)]&&(this[_0x515cb2(0x1f4)][_0x515cb2(0x1c2)]=_0x515cb2(0x1c3),this['iframe']=null),this[_0x515cb2(0x1fc)]&&(this[_0x515cb2(0x1fc)][_0x515cb2(0x1a4)](),this['wrapper']=null),this[_0x515cb2(0x1a6)]=null,this[_0x515cb2(0x1b3)]=[],super[_0x515cb2(0x194)]();}}
|
|
128
139
|
|
|
129
|
-
|
|
140
|
+
function _0x54db(){const _0x380653=['max','refreshGeometry','geometry','loadAsync','markRenderStateDirty','_height','updateMaterial','bevelEnabled','_fontCache','_mesh','330dfQenU','bevelSegments','isArray','text','get','world','_bevelSize','_size','_sideColor','Text','set','obj','1043twGjZZ','2744384nCkaLP','loadFontAndRefresh','_fontUrl','25497bGZXKB','24oSoVLt','size','361236eNHLAT','boundingBox','_curveSegments','8890607rNqBLD','viewport','2636845GfdnDx','12LXPGLJ','_text','userData','error','dispose','bevelSize','sideColor','material','11478KimYlq','_font','height','computeBoundingBox','bevelThickness','LYObject','bevelOffset','_fontLoader','3170JNZIDq','_bevelThickness','has','min','_bevelSegments','fontUrl','Failed\x20to\x20load\x20font\x20from\x20','3386fKIQrj','_isUnlit','color','_color','destroy','curveSegments','_bevelEnabled','isUnlit','forEach','_bevelOffset','translate','_group'];_0x54db=function(){return _0x380653;};return _0x54db();}const _0x16cceb=_0x263b;(function(_0x20a9ec,_0x5f175a){const _0x985fb4=_0x263b,_0x202c2e=_0x20a9ec();while(!![]){try{const _0x387ab6=-parseInt(_0x985fb4(0x14d))/0x1*(-parseInt(_0x985fb4(0x163))/0x2)+parseInt(_0x985fb4(0x130))/0x3*(parseInt(_0x985fb4(0x136))/0x4)+-parseInt(_0x985fb4(0x135))/0x5+-parseInt(_0x985fb4(0x13e))/0x6*(parseInt(_0x985fb4(0x129))/0x7)+-parseInt(_0x985fb4(0x12a))/0x8+parseInt(_0x985fb4(0x12d))/0x9*(-parseInt(_0x985fb4(0x146))/0xa)+parseInt(_0x985fb4(0x133))/0xb*(parseInt(_0x985fb4(0x12e))/0xc);if(_0x387ab6===_0x5f175a)break;else _0x202c2e['push'](_0x202c2e['shift']());}catch(_0x130777){_0x202c2e['push'](_0x202c2e['shift']());}}}(_0x54db,0x75e45));function _0x263b(_0x2d91d3,_0x3fbfe6){_0x2d91d3=_0x2d91d3-0x126;const _0x54db23=_0x54db();let _0x263b56=_0x54db23[_0x2d91d3];return _0x263b56;}class Text3DComponent extends SceneComponent{constructor(_0x11f362,_0x55592b,_0x23f143){const _0x519fc9=_0x263b;super(_0x11f362,_0x23f143),this[_0x519fc9(0x137)]=_0x519fc9(0x126),this[_0x519fc9(0x12c)]='https://threejs.org/examples/fonts/helvetiker_regular.typeface.json',this[_0x519fc9(0x16a)]=0x1,this[_0x519fc9(0x15e)]=0.2,this[_0x519fc9(0x132)]=0xc,this[_0x519fc9(0x153)]=![],this['_bevelThickness']=0.03,this['_bevelSize']=0.02,this['_bevelOffset']=0x0,this['_bevelSegments']=0x5,this[_0x519fc9(0x150)]='#ffffff',this['_sideColor']='#ffffff',this['_isUnlit']=!![],this[_0x519fc9(0x13f)]=null,this[_0x519fc9(0x162)]=null,this[_0x519fc9(0x158)]=this[_0x519fc9(0x128)];if(_0x55592b){if(_0x55592b[_0x519fc9(0x166)]!==undefined)this['_text']=_0x55592b[_0x519fc9(0x166)];if(_0x55592b[_0x519fc9(0x14b)]!==undefined)this[_0x519fc9(0x12c)]=_0x55592b[_0x519fc9(0x14b)];if(_0x55592b[_0x519fc9(0x12f)]!==undefined)this[_0x519fc9(0x16a)]=_0x55592b['size'];if(_0x55592b[_0x519fc9(0x140)]!==undefined)this['_height']=_0x55592b[_0x519fc9(0x140)];if(_0x55592b[_0x519fc9(0x152)]!==undefined)this[_0x519fc9(0x132)]=_0x55592b[_0x519fc9(0x152)];if(_0x55592b[_0x519fc9(0x160)]!==undefined)this[_0x519fc9(0x153)]=_0x55592b[_0x519fc9(0x160)];if(_0x55592b[_0x519fc9(0x142)]!==undefined)this['_bevelThickness']=_0x55592b[_0x519fc9(0x142)];if(_0x55592b[_0x519fc9(0x13b)]!==undefined)this[_0x519fc9(0x169)]=_0x55592b['bevelSize'];if(_0x55592b[_0x519fc9(0x144)]!==undefined)this[_0x519fc9(0x156)]=_0x55592b[_0x519fc9(0x144)];if(_0x55592b['bevelSegments']!==undefined)this[_0x519fc9(0x14a)]=_0x55592b[_0x519fc9(0x164)];_0x55592b[_0x519fc9(0x14f)]!==undefined&&(this[_0x519fc9(0x150)]=_0x55592b['color'],this['_sideColor']=_0x55592b['color']);if(_0x55592b[_0x519fc9(0x13c)]!==undefined)this['_sideColor']=_0x55592b['sideColor'];if(_0x55592b[_0x519fc9(0x154)]!==undefined)this[_0x519fc9(0x14e)]=_0x55592b[_0x519fc9(0x154)];}this['loadFontAndRefresh']();}['createDefaultObject'](){return new webgpu.Group();}get['text'](){const _0x5e2fad=_0x263b;return this[_0x5e2fad(0x137)];}set[_0x16cceb(0x166)](_0x421707){const _0x1e6815=_0x16cceb;this[_0x1e6815(0x137)]!==_0x421707&&(this[_0x1e6815(0x137)]=_0x421707,this[_0x1e6815(0x15a)]());}get[_0x16cceb(0x14f)](){const _0x53e596=_0x16cceb;return this[_0x53e596(0x150)];}set['color'](_0x49eb01){const _0x280f80=_0x16cceb;this[_0x280f80(0x150)]!==_0x49eb01&&(this[_0x280f80(0x150)]=_0x49eb01,this[_0x280f80(0x15f)]());}get[_0x16cceb(0x13c)](){const _0x4197ca=_0x16cceb;return this[_0x4197ca(0x16b)];}set[_0x16cceb(0x13c)](_0x266ab3){const _0x2f2d8e=_0x16cceb;this['_sideColor']!==_0x266ab3&&(this[_0x2f2d8e(0x16b)]=_0x266ab3,this[_0x2f2d8e(0x15f)]());}get[_0x16cceb(0x12f)](){return this['_size'];}set['size'](_0x2fd5fb){const _0x184afb=_0x16cceb;this[_0x184afb(0x16a)]!==_0x2fd5fb&&(this[_0x184afb(0x16a)]=_0x2fd5fb,this['refreshGeometry']());}get[_0x16cceb(0x140)](){return this['_height'];}set[_0x16cceb(0x140)](_0x156d62){const _0x343584=_0x16cceb;this[_0x343584(0x15e)]!==_0x156d62&&(this[_0x343584(0x15e)]=_0x156d62,this[_0x343584(0x15a)]());}get['fontUrl'](){const _0x59c627=_0x16cceb;return this[_0x59c627(0x12c)];}set[_0x16cceb(0x14b)](_0x49e626){const _0x3807ea=_0x16cceb;this[_0x3807ea(0x12c)]!==_0x49e626&&(this[_0x3807ea(0x12c)]=_0x49e626,this[_0x3807ea(0x12b)]());}async['loadFontAndRefresh'](){const _0xdbb44e=_0x16cceb;if(Text3DComponent[_0xdbb44e(0x161)][_0xdbb44e(0x148)](this[_0xdbb44e(0x12c)])){this[_0xdbb44e(0x13f)]=Text3DComponent[_0xdbb44e(0x161)][_0xdbb44e(0x167)](this[_0xdbb44e(0x12c)]),this['refreshGeometry']();return;}try{const _0x4c750d=await Text3DComponent['_fontLoader'][_0xdbb44e(0x15c)](this[_0xdbb44e(0x12c)]);Text3DComponent['_fontCache'][_0xdbb44e(0x127)](this['_fontUrl'],_0x4c750d),this[_0xdbb44e(0x13f)]=_0x4c750d,this[_0xdbb44e(0x15a)]();}catch(_0x2d7047){console[_0xdbb44e(0x139)](_0xdbb44e(0x14c)+this[_0xdbb44e(0x12c)]+':',_0x2d7047);}}[_0x16cceb(0x15a)](){const _0x1092c4=_0x16cceb;if(!this[_0x1092c4(0x13f)])return;if(this[_0x1092c4(0x162)]){if(this['_mesh'][_0x1092c4(0x15b)])this['_mesh'][_0x1092c4(0x15b)][_0x1092c4(0x13a)]();this[_0x1092c4(0x158)]['remove'](this['_mesh']);}const _0x2f66a9=new Addons_js.TextGeometry(this[_0x1092c4(0x137)],{'font':this[_0x1092c4(0x13f)],'size':this[_0x1092c4(0x16a)],'depth':this[_0x1092c4(0x15e)],'curveSegments':this[_0x1092c4(0x132)],'bevelEnabled':this[_0x1092c4(0x153)],'bevelThickness':this[_0x1092c4(0x147)],'bevelSize':this[_0x1092c4(0x169)],'bevelOffset':this[_0x1092c4(0x156)],'bevelSegments':this[_0x1092c4(0x14a)]});_0x2f66a9[_0x1092c4(0x141)]();if(_0x2f66a9['boundingBox']){const _0xaff345=-0.5*(_0x2f66a9['boundingBox'][_0x1092c4(0x159)]['x']-_0x2f66a9[_0x1092c4(0x131)][_0x1092c4(0x149)]['x']),_0x517017=-0.5*(_0x2f66a9['boundingBox'][_0x1092c4(0x159)]['y']-_0x2f66a9[_0x1092c4(0x131)]['min']['y']);_0x2f66a9[_0x1092c4(0x157)](_0xaff345,_0x517017,0x0);}let _0x49844b;this[_0x1092c4(0x14e)]?_0x49844b=[new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this['_color']),'side':webgpu.DoubleSide}),new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x1092c4(0x16b)]),'side':webgpu.DoubleSide})]:_0x49844b=[new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x1092c4(0x150)]),'side':webgpu.DoubleSide}),new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x1092c4(0x16b)]),'side':webgpu.DoubleSide})],this[_0x1092c4(0x162)]=new webgpu.Mesh(_0x2f66a9,_0x49844b),this[_0x1092c4(0x162)][_0x1092c4(0x138)][_0x1092c4(0x143)]=this,this[_0x1092c4(0x158)]['add'](this[_0x1092c4(0x162)]),this[_0x1092c4(0x168)]&&this['world']['viewport'][_0x1092c4(0x15d)]();}[_0x16cceb(0x15f)](){const _0x6f8240=_0x16cceb;if(!this[_0x6f8240(0x162)])return;if(Array[_0x6f8240(0x165)](this[_0x6f8240(0x162)][_0x6f8240(0x13d)])){const _0x4395ed=this[_0x6f8240(0x162)][_0x6f8240(0x13d)];_0x4395ed['length']>=0x2&&(_0x4395ed[0x0][_0x6f8240(0x14f)][_0x6f8240(0x127)](this['_color']),_0x4395ed[0x1][_0x6f8240(0x14f)][_0x6f8240(0x127)](this[_0x6f8240(0x16b)]));}else {const _0x3eaa1e=this[_0x6f8240(0x162)][_0x6f8240(0x13d)];_0x3eaa1e['color'][_0x6f8240(0x127)](this['_color']);}this['world']&&this['world'][_0x6f8240(0x134)]['markRenderStateDirty']();}[_0x16cceb(0x151)](){const _0x19119a=_0x16cceb;if(this['_mesh']){if(this[_0x19119a(0x162)]['geometry'])this[_0x19119a(0x162)][_0x19119a(0x15b)][_0x19119a(0x13a)]();Array[_0x19119a(0x165)](this[_0x19119a(0x162)][_0x19119a(0x13d)])?this[_0x19119a(0x162)][_0x19119a(0x13d)][_0x19119a(0x155)](_0xd2f749=>_0xd2f749['dispose']()):this[_0x19119a(0x162)][_0x19119a(0x13d)][_0x19119a(0x13a)]();}super['destroy']();}}Text3DComponent[_0x16cceb(0x145)]=new Addons_js.FontLoader(),Text3DComponent[_0x16cceb(0x161)]=new Map();
|
|
130
141
|
|
|
131
|
-
|
|
142
|
+
const _0x1d5e3c=_0x2259;(function(_0x1d3d03,_0x8d319){const _0x14ac71=_0x2259,_0xfdf7bb=_0x1d3d03();while(!![]){try{const _0x457175=-parseInt(_0x14ac71(0xc9))/0x1+parseInt(_0x14ac71(0xca))/0x2*(parseInt(_0x14ac71(0xc7))/0x3)+-parseInt(_0x14ac71(0xc4))/0x4*(parseInt(_0x14ac71(0xc3))/0x5)+parseInt(_0x14ac71(0xbf))/0x6*(parseInt(_0x14ac71(0xc2))/0x7)+-parseInt(_0x14ac71(0xc6))/0x8*(-parseInt(_0x14ac71(0xc0))/0x9)+-parseInt(_0x14ac71(0xc8))/0xa+parseInt(_0x14ac71(0xc5))/0xb;if(_0x457175===_0x8d319)break;else _0xfdf7bb['push'](_0xfdf7bb['shift']());}catch(_0x1462c8){_0xfdf7bb['push'](_0xfdf7bb['shift']());}}}(_0x439c,0x96a4d));const DefaultSSRParam={'type':exports.PostProcessStepType[_0x1d5e3c(0xc1)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};function _0x2259(_0x54214b,_0x4d0460){_0x54214b=_0x54214b-0xbf;const _0x439c1b=_0x439c();let _0x225938=_0x439c1b[_0x54214b];return _0x225938;}function _0x439c(){const _0x2b7cf0=['4RwioWn','6028396NgCOXD','13232vuxqSK','8589AuuxUQ','11430680MwXkCn','225180ymqsPd','22ddirTW','6DqezAW','2538AZrpri','ScreenSpaceReflection','6710263sjBivP','96405qNgrQb'];_0x439c=function(){return _0x2b7cf0;};return _0x439c();}
|
|
132
143
|
|
|
133
|
-
|
|
144
|
+
(function(_0x3daf07,_0x3142b5){const _0x2e3744=_0x341a,_0x34bb8f=_0x3daf07();while(!![]){try{const _0x1d3f80=-parseInt(_0x2e3744(0x87))/0x1*(parseInt(_0x2e3744(0x86))/0x2)+parseInt(_0x2e3744(0x88))/0x3*(-parseInt(_0x2e3744(0x8a))/0x4)+-parseInt(_0x2e3744(0x89))/0x5*(parseInt(_0x2e3744(0x8d))/0x6)+parseInt(_0x2e3744(0x84))/0x7*(parseInt(_0x2e3744(0x85))/0x8)+parseInt(_0x2e3744(0x8b))/0x9*(-parseInt(_0x2e3744(0x83))/0xa)+-parseInt(_0x2e3744(0x8c))/0xb*(-parseInt(_0x2e3744(0x82))/0xc)+parseInt(_0x2e3744(0x8e))/0xd;if(_0x1d3f80===_0x3142b5)break;else _0x34bb8f['push'](_0x34bb8f['shift']());}catch(_0x2b72c0){_0x34bb8f['push'](_0x34bb8f['shift']());}}}(_0x9cd5,0xa8c65));function _0x341a(_0xb8d5a5,_0x49dc96){_0xb8d5a5=_0xb8d5a5-0x82;const _0x9cd53a=_0x9cd5();let _0x341a9d=_0x9cd53a[_0xb8d5a5];return _0x341a9d;}function _0x9cd5(){const _0x4be2c6=['349242CgSKkZ','39624650bVgECF','480lqmNln','4277170IxnwwF','1353107MyHFlw','40ZHVZUw','12PrXQFx','118399dlbJUz','1125MxCVSe','35cYqLOi','14512bahUdE','27GLXrAQ','120516flruMQ'];_0x9cd5=function(){return _0x4be2c6;};return _0x9cd5();}const DefaultAAParams={'type':exports.PostProcessStepType['Antialiasing'],'method':'fxaa'};
|
|
134
145
|
|
|
135
|
-
const
|
|
146
|
+
const _0xd41e62=_0x4e7f;(function(_0x343845,_0xc535c5){const _0x37569f=_0x4e7f,_0x53edf2=_0x343845();while(!![]){try{const _0x4a186f=-parseInt(_0x37569f(0x1a8))/0x1+parseInt(_0x37569f(0x1b0))/0x2+-parseInt(_0x37569f(0x1c6))/0x3*(-parseInt(_0x37569f(0x1b3))/0x4)+-parseInt(_0x37569f(0x1d7))/0x5+-parseInt(_0x37569f(0x1da))/0x6*(-parseInt(_0x37569f(0x1dc))/0x7)+-parseInt(_0x37569f(0x1ad))/0x8+-parseInt(_0x37569f(0x1b8))/0x9*(parseInt(_0x37569f(0x1ca))/0xa);if(_0x4a186f===_0xc535c5)break;else _0x53edf2['push'](_0x53edf2['shift']());}catch(_0x4f652e){_0x53edf2['push'](_0x53edf2['shift']());}}}(_0x35c9,0x1e6dd));function _0x4e7f(_0x4b86e6,_0x8cc08c){_0x4b86e6=_0x4b86e6-0x19d;const _0x35c9e3=_0x35c9();let _0x4e7f88=_0x35c9e3[_0x4b86e6];return _0x4e7f88;}function _0x35c9(){const _0x331a1a=['3520vbecny','ColliderComponent','disableDebug','add','_debugEnabled','world','remove','getCollisionResponse','physics','markRenderStateDirty','unregisterCollider','_debugOpacity','setCollisionResponse','331770NGNLCu','onDebugStyleChanged','Ignore','94002AjZdqJ','_collisionEnabled','35eDpfUH','tick','onHitDelegate','_generateHitEvents','_responseMap','generateOverlapEvents','createDebugObject','Overlap','objectType','_debugObject','getMutualResponse','setCollisionResponses','19268BawkAZ','generateHitEvents','name','WorldDynamic','_registeredInWorld','1469264ZuXELw','debugEnabled','_generateOverlapEvents','246822yjviWA','collisionEnabled','getDebugAttachParent','20mxtvvH','userData','_onHitDelegate','onAddedToWorld','debugOpacity','603ckIEIK','_debugColor','registerCollider','rayIgnored','assign','onDebugTick','Block','enableDebug','destroy','call','_onEndOverlapDelegate','destroyDebugObject','debugColor','onBeginOverlapDelegate','129453WsRfCU','parent','_objectType','_onBeginOverlapDelegate'];_0x35c9=function(){return _0x331a1a;};return _0x35c9();}class ColliderComponent extends SceneComponent{get[_0xd41e62(0x1ae)](){const _0x1e295c=_0xd41e62;return this[_0x1e295c(0x1ce)];}set['debugEnabled'](_0x2151fd){const _0x41ed64=_0xd41e62;var _0x3ccb66,_0x3a7704,_0x3c0364;if(this['_debugEnabled']===_0x2151fd)return;this[_0x41ed64(0x1ce)]=_0x2151fd,this[_0x41ed64(0x1ce)]?this[_0x41ed64(0x1bf)]():this[_0x41ed64(0x1cc)](),(_0x3c0364=(_0x3a7704=(_0x3ccb66=this['world'])===null||_0x3ccb66===void 0?void 0:_0x3ccb66['viewport'])===null||_0x3a7704===void 0?void 0:_0x3a7704[_0x41ed64(0x1d3)])===null||_0x3c0364===void 0?void 0:_0x3c0364[_0x41ed64(0x1c1)](_0x3a7704);}get[_0xd41e62(0x1c4)](){return this['_debugColor'];}set[_0xd41e62(0x1c4)](_0x4a42ae){const _0x5388f2=_0xd41e62;this['_debugColor']=_0x4a42ae,this[_0x5388f2(0x1ce)]&&this[_0x5388f2(0x1d8)]();}get[_0xd41e62(0x1b7)](){const _0x439ea1=_0xd41e62;return this[_0x439ea1(0x1d5)];}set[_0xd41e62(0x1b7)](_0x2bd5b8){const _0x374ac0=_0xd41e62;this[_0x374ac0(0x1d5)]=_0x2bd5b8,this[_0x374ac0(0x1ce)]&&this[_0x374ac0(0x1d8)]();}get['collisionEnabled'](){const _0x1701a4=_0xd41e62;return this[_0x1701a4(0x1db)];}set[_0xd41e62(0x1b1)](_0x4a51b6){const _0x1f3e8d=_0xd41e62;this[_0x1f3e8d(0x1db)]=_0x4a51b6;}get[_0xd41e62(0x1a1)](){const _0xe1731d=_0xd41e62;return this[_0xe1731d(0x1af)];}set[_0xd41e62(0x1a1)](_0x260316){this['_generateOverlapEvents']=_0x260316;}get['generateHitEvents'](){const _0x15e220=_0xd41e62;return this[_0x15e220(0x19f)];}set[_0xd41e62(0x1a9)](_0x385180){const _0x1284ec=_0xd41e62;this[_0x1284ec(0x19f)]=_0x385180;}get[_0xd41e62(0x1a4)](){const _0x1770ca=_0xd41e62;return this[_0x1770ca(0x1c8)];}set['objectType'](_0x388e3c){this['_objectType']=_0x388e3c;}get[_0xd41e62(0x1c5)](){const _0x11630a=_0xd41e62;return this[_0x11630a(0x1c9)];}get['onEndOverlapDelegate'](){const _0x30d886=_0xd41e62;return this[_0x30d886(0x1c2)];}get[_0xd41e62(0x19e)](){const _0x2bcaa0=_0xd41e62;return this[_0x2bcaa0(0x1b5)];}constructor(_0x54fa53,_0x471211){const _0x18ad36=_0xd41e62;super(_0x54fa53,_0x471211),this['_collisionEnabled']=!![],this[_0x18ad36(0x1af)]=!![],this[_0x18ad36(0x19f)]=!![],this[_0x18ad36(0x1c8)]=exports.CollisionChannel[_0x18ad36(0x1ab)],this[_0x18ad36(0x1a0)]={},this[_0x18ad36(0x1c9)]=new Delegate(),this[_0x18ad36(0x1c2)]=new Delegate(),this[_0x18ad36(0x1b5)]=new Delegate(),this['_registeredInWorld']=![],this[_0x18ad36(0x1ce)]=![],this[_0x18ad36(0x1b9)]=0xff00,this[_0x18ad36(0x1d5)]=0.25,this[_0x18ad36(0x1a5)]=null,this[_0x18ad36(0x1aa)]=_0x18ad36(0x1cb);}[_0xd41e62(0x1d6)](_0x332a32,_0x5c4da2){const _0x5b1198=_0xd41e62;this[_0x5b1198(0x1a0)][_0x332a32]=_0x5c4da2;}[_0xd41e62(0x1a7)](_0x4b34be){const _0x1322dc=_0xd41e62;this[_0x1322dc(0x1a0)]=Object[_0x1322dc(0x1bc)]({},_0x4b34be);}[_0xd41e62(0x1d1)](_0x4fc357){const _0x19080=_0xd41e62;var _0x4ada22;return (_0x4ada22=this[_0x19080(0x1a0)][_0x4fc357])!==null&&_0x4ada22!==void 0?_0x4ada22:exports.CollisionResponse['Block'];}[_0xd41e62(0x1a6)](_0x395c82){const _0x3ff86a=_0xd41e62,_0x4615e8=this[_0x3ff86a(0x1d1)](_0x395c82[_0x3ff86a(0x1a4)]),_0x3f70f7=_0x395c82['getCollisionResponse'](this[_0x3ff86a(0x1a4)]);if(_0x4615e8===exports.CollisionResponse[_0x3ff86a(0x1d9)]||_0x3f70f7===exports.CollisionResponse[_0x3ff86a(0x1d9)])return exports.CollisionResponse[_0x3ff86a(0x1d9)];if(_0x4615e8===exports.CollisionResponse[_0x3ff86a(0x1be)]||_0x3f70f7===exports.CollisionResponse['Block'])return exports.CollisionResponse[_0x3ff86a(0x1be)];return exports.CollisionResponse[_0x3ff86a(0x1a3)];}[_0xd41e62(0x19d)](_0x28013e){const _0x59ede8=_0xd41e62;super[_0x59ede8(0x19d)](_0x28013e),this[_0x59ede8(0x1ce)]&&this[_0x59ede8(0x1bd)](_0x28013e);}['onAddedToWorld'](_0x59822a){const _0x4bd6f1=_0xd41e62;super[_0x4bd6f1(0x1b6)](_0x59822a),!this[_0x4bd6f1(0x1ac)]&&(this['world'][_0x4bd6f1(0x1d2)][_0x4bd6f1(0x1ba)](this),this['_registeredInWorld']=!![]);}[_0xd41e62(0x1c0)](){const _0x5ec33e=_0xd41e62;this[_0x5ec33e(0x1ce)]&&(this[_0x5ec33e(0x1cc)](),this[_0x5ec33e(0x1ce)]=![]),this['_registeredInWorld']&&(this[_0x5ec33e(0x1cf)][_0x5ec33e(0x1d2)][_0x5ec33e(0x1d4)](this),this[_0x5ec33e(0x1ac)]=![]),super[_0x5ec33e(0x1c0)]();}[_0xd41e62(0x1b2)](){return this['threeObject'];}[_0xd41e62(0x1a2)](){return null;}[_0xd41e62(0x1c3)](_0x36c6d3){return;}[_0xd41e62(0x1bd)](_0x166b10){return;}['onDebugStyleChanged'](){return;}[_0xd41e62(0x1bf)](){const _0x1f4475=_0xd41e62;if(this[_0x1f4475(0x1a5)])return;const _0x4ffc80=this[_0x1f4475(0x1b2)](),_0x4abcbc=this[_0x1f4475(0x1a2)]();if(!_0x4abcbc)return;this[_0x1f4475(0x1a5)]=_0x4abcbc,_0x4abcbc['traverse'](_0x36a08a=>{const _0x5872cc=_0x1f4475;_0x36a08a[_0x5872cc(0x1b4)][_0x5872cc(0x1bb)]=!![];}),_0x4ffc80&&_0x4ffc80[_0x1f4475(0x1cd)](_0x4abcbc),this[_0x1f4475(0x1d8)]();}['disableDebug'](){const _0x260a83=_0xd41e62,_0x527a4c=this['_debugObject'];if(!_0x527a4c)return;this[_0x260a83(0x1c3)](_0x527a4c),_0x527a4c[_0x260a83(0x1c7)]&&_0x527a4c[_0x260a83(0x1c7)][_0x260a83(0x1d0)](_0x527a4c),this[_0x260a83(0x1a5)]=null;}}
|
|
136
147
|
|
|
137
|
-
function _0x4e86(_0x11c3be,_0x59328b){_0x11c3be=_0x11c3be-0x1d1;const _0x489ba4=_0x489b();let _0x4e865c=_0x489ba4[_0x11c3be];return _0x4e865c;}const _0x3c2ed3=_0x4e86;(function(_0x1d0221,_0x3637a5){const _0x4e4a77=_0x4e86,_0x18fb28=_0x1d0221();while(!![]){try{const _0x3baf2e=parseInt(_0x4e4a77(0x20c))/0x1+-parseInt(_0x4e4a77(0x1d7))/0x2*(parseInt(_0x4e4a77(0x1fc))/0x3)+parseInt(_0x4e4a77(0x1e2))/0x4*(parseInt(_0x4e4a77(0x1f5))/0x5)+parseInt(_0x4e4a77(0x1dc))/0x6+parseInt(_0x4e4a77(0x1ee))/0x7+parseInt(_0x4e4a77(0x1dd))/0x8+-parseInt(_0x4e4a77(0x1f8))/0x9;if(_0x3baf2e===_0x3637a5)break;else _0x18fb28['push'](_0x18fb28['shift']());}catch(_0x3412f0){_0x18fb28['push'](_0x18fb28['shift']());}}}(_0x489b,0x6b086));function _0x489b(){const _0x1138ae=['27464jRruqG','_tmpNormal','CapsuleColliderDebug','normal','dot','lengthSq','CapsuleColliderComponent','debugColor','name','Trigger','needsUpdate','getWorldAABB','96054qelZPw','position','traverse','_tmpB','clone','opacity','_halfHeight','615QzfQVY','_tmpBA','getWorldScale','11370798CdWeNj','_debugBottom','transparent','makeSphereHit','132XQzYQW','onDebugTick','copy','_tmpPoint','color','_debugTop','add','max','sub','abs','objectType','createDebugObject','point','_radius','onDebugStyleChanged','raycastSphere','773787cdeUTD','multiplyScalar','Overlap','_tmpA','halfHeight','isFinite','scale','sqrt','getWorldPosition','setHex','Pawn','_tmpOA','raycast','31244Iincgu','set','_debugCylinder','_debugRoot','destroyDebugObject','989106fMKEma','4738544OawELz','setCollisionResponse','distance','material','debugOpacity'];_0x489b=function(){return _0x1138ae;};return _0x489b();}class CapsuleColliderComponent extends ColliderComponent{get['radius'](){const _0x4bfee6=_0x4e86;return this[_0x4bfee6(0x209)];}get[_0x3c2ed3(0x210)](){const _0x38639b=_0x3c2ed3;return this[_0x38639b(0x1f4)];}constructor(_0x3aa65b,_0x387254=0.35,_0x5db3be=0.5,_0x24096a){const _0x2fd53a=_0x3c2ed3;super(_0x3aa65b,_0x24096a),this[_0x2fd53a(0x1da)]=null,this[_0x2fd53a(0x1d9)]=null,this['_debugTop']=null,this[_0x2fd53a(0x1f9)]=null,this[_0x2fd53a(0x20f)]=new webgpu.Vector3(),this[_0x2fd53a(0x1f1)]=new webgpu.Vector3(),this[_0x2fd53a(0x1f6)]=new webgpu.Vector3(),this[_0x2fd53a(0x1d5)]=new webgpu.Vector3(),this[_0x2fd53a(0x1ff)]=new webgpu.Vector3(),this[_0x2fd53a(0x1e3)]=new webgpu.Vector3(),this[_0x2fd53a(0x209)]=Math[_0x2fd53a(0x203)](0x0,_0x387254),this[_0x2fd53a(0x1f4)]=Math[_0x2fd53a(0x203)](0x0,_0x5db3be),this[_0x2fd53a(0x206)]=exports.CollisionChannel['Pawn'],this[_0x2fd53a(0x1de)](exports.CollisionChannel[_0x2fd53a(0x1d4)],exports.CollisionResponse['Ignore']),this['setCollisionResponse'](exports.CollisionChannel[_0x2fd53a(0x1eb)],exports.CollisionResponse[_0x2fd53a(0x20e)]),this[_0x2fd53a(0x1ea)]=_0x2fd53a(0x1e8);}[_0x3c2ed3(0x1ed)](_0x439e89=new webgpu.Box3()){const _0x350558=_0x3c2ed3,_0x52cfa8=this[_0x350558(0x1d2)](),_0x1dce97=this[_0x350558(0x1f7)](),_0x1888b1=Math[_0x350558(0x205)](_0x1dce97['x'])>1e-8?Math[_0x350558(0x205)](_0x1dce97['x']):0x1,_0x2ffc27=Math[_0x350558(0x205)](_0x1dce97['y'])>1e-8?Math['abs'](_0x1dce97['y']):0x1,_0xc270f1=Math[_0x350558(0x205)](_0x1dce97['z'])>1e-8?Math['abs'](_0x1dce97['z']):0x1,_0x698f7=this[_0x350558(0x209)]*Math[_0x350558(0x203)](_0x1888b1,_0xc270f1),_0x6134cf=this[_0x350558(0x1f4)]*_0x2ffc27,_0x2aa9eb=new webgpu.Vector3(_0x52cfa8['x']-_0x698f7,_0x52cfa8['y']-_0x6134cf-_0x698f7,_0x52cfa8['z']-_0x698f7),_0x416744=new webgpu.Vector3(_0x52cfa8['x']+_0x698f7,_0x52cfa8['y']+_0x6134cf+_0x698f7,_0x52cfa8['z']+_0x698f7);return _0x439e89[_0x350558(0x1d8)](_0x2aa9eb,_0x416744),_0x439e89;}[_0x3c2ed3(0x1d6)](_0x304930,_0x36ac8c,_0x57e4f7){const _0x417dc3=_0x3c2ed3;if(_0x57e4f7<=0.000001)return null;const _0xc09dcf=this['getWorldPosition'](),_0x3f49e6=this[_0x417dc3(0x1f7)](),_0x45d3d9=Math['abs'](_0x3f49e6['x'])>1e-8?Math[_0x417dc3(0x205)](_0x3f49e6['x']):0x1,_0x4c5d57=Math[_0x417dc3(0x205)](_0x3f49e6['y'])>1e-8?Math[_0x417dc3(0x205)](_0x3f49e6['y']):0x1,_0xb2dabb=Math[_0x417dc3(0x205)](_0x3f49e6['z'])>1e-8?Math[_0x417dc3(0x205)](_0x3f49e6['z']):0x1,_0x205dfb=this[_0x417dc3(0x209)]*Math[_0x417dc3(0x203)](_0x45d3d9,_0xb2dabb),_0x1b52a5=this[_0x417dc3(0x1f4)]*_0x4c5d57,_0x29eef6=this['_tmpA'][_0x417dc3(0x1fe)](_0xc09dcf)['add'](new webgpu.Vector3(0x0,-_0x1b52a5,0x0)),_0x13dc6e=this['_tmpB']['copy'](_0xc09dcf)[_0x417dc3(0x202)](new webgpu.Vector3(0x0,_0x1b52a5,0x0)),_0xb62cfb=this['_tmpBA']['copy'](_0x13dc6e)['sub'](_0x29eef6),_0x355e6a=this[_0x417dc3(0x1d5)][_0x417dc3(0x1fe)](_0x304930)[_0x417dc3(0x204)](_0x29eef6),_0x5a3f53=_0xb62cfb['dot'](_0xb62cfb),_0x545cd2=_0xb62cfb[_0x417dc3(0x1e6)](_0x36ac8c),_0x435fb1=_0xb62cfb[_0x417dc3(0x1e6)](_0x355e6a),_0x3000ae=_0x36ac8c[_0x417dc3(0x1e6)](_0x355e6a),_0x5e3157=_0x355e6a['dot'](_0x355e6a),_0x596ee3=_0x205dfb*_0x205dfb,_0x1391b5=_0x5a3f53-_0x545cd2*_0x545cd2,_0x39f7c8=_0x5a3f53*_0x3000ae-_0x435fb1*_0x545cd2,_0x2189e7=_0x5a3f53*(_0x5e3157-_0x596ee3)-_0x435fb1*_0x435fb1;let _0x475631=Infinity,_0x20c0a2=null,_0x351cb1=null;const _0x9af961=1e-10;if(Math[_0x417dc3(0x205)](_0x1391b5)>_0x9af961){const _0x44d3a0=_0x39f7c8*_0x39f7c8-_0x1391b5*_0x2189e7;if(_0x44d3a0>=0x0){const _0x68576b=(-_0x39f7c8-Math[_0x417dc3(0x1d1)](_0x44d3a0))/_0x1391b5,_0x3290cf=_0x435fb1+_0x68576b*_0x545cd2;if(_0x68576b>=0x0&&_0x68576b<=_0x57e4f7&&_0x3290cf>0x0&&_0x3290cf<_0x5a3f53){_0x475631=_0x68576b,_0x20c0a2=this[_0x417dc3(0x1ff)]['copy'](_0x36ac8c)[_0x417dc3(0x20d)](_0x68576b)[_0x417dc3(0x202)](_0x304930);const _0x5f5252=this[_0x417dc3(0x1e3)][_0x417dc3(0x1fe)](_0xb62cfb)[_0x417dc3(0x20d)](_0x3290cf/_0x5a3f53)[_0x417dc3(0x202)](_0x29eef6);_0x351cb1=this[_0x417dc3(0x1e3)][_0x417dc3(0x1fe)](_0x20c0a2)[_0x417dc3(0x204)](_0x5f5252);const _0x126cc0=_0x351cb1[_0x417dc3(0x1e7)]();_0x126cc0>1e-12?_0x351cb1[_0x417dc3(0x20d)](0x1/Math[_0x417dc3(0x1d1)](_0x126cc0)):_0x351cb1[_0x417dc3(0x1d8)](0x0,0x1,0x0);}}}const _0x4322cb=this[_0x417dc3(0x20b)](_0x304930,_0x36ac8c,_0x57e4f7,_0x29eef6,_0x205dfb);_0x4322cb&&_0x4322cb[_0x417dc3(0x1df)]<_0x475631&&(_0x475631=_0x4322cb[_0x417dc3(0x1df)],_0x20c0a2=_0x4322cb['point'],_0x351cb1=_0x4322cb[_0x417dc3(0x1e5)]);const _0xe0ed51=this[_0x417dc3(0x20b)](_0x304930,_0x36ac8c,_0x57e4f7,_0x13dc6e,_0x205dfb);_0xe0ed51&&_0xe0ed51[_0x417dc3(0x1df)]<_0x475631&&(_0x475631=_0xe0ed51[_0x417dc3(0x1df)],_0x20c0a2=_0xe0ed51[_0x417dc3(0x208)],_0x351cb1=_0xe0ed51[_0x417dc3(0x1e5)]);if(!_0x20c0a2||!_0x351cb1||!Number[_0x417dc3(0x211)](_0x475631))return null;return {'point':_0x20c0a2['clone'](),'normal':_0x351cb1[_0x417dc3(0x1f2)](),'distance':_0x475631};}[_0x3c2ed3(0x20b)](_0x5f905f,_0x373dc4,_0x3856f5,_0x48e33b,_0x12d28d){const _0x58bdcc=_0x3c2ed3,_0x8c964d=_0x5f905f[_0x58bdcc(0x1f2)]()[_0x58bdcc(0x204)](_0x48e33b),_0xf9058f=_0x8c964d[_0x58bdcc(0x1e6)](_0x373dc4),_0x399b05=_0x8c964d[_0x58bdcc(0x1e6)](_0x8c964d)-_0x12d28d*_0x12d28d,_0x7b879a=_0xf9058f*_0xf9058f-_0x399b05;if(_0x7b879a<0x0)return null;const _0x3a327b=Math[_0x58bdcc(0x1d1)](_0x7b879a),_0x3d1fb8=-_0xf9058f-_0x3a327b;if(_0x3d1fb8<0x0||_0x3d1fb8>_0x3856f5){const _0x28e2ae=-_0xf9058f+_0x3a327b;if(_0x28e2ae<0x0||_0x28e2ae>_0x3856f5)return null;return this[_0x58bdcc(0x1fb)](_0x5f905f,_0x373dc4,_0x28e2ae,_0x48e33b);}return this[_0x58bdcc(0x1fb)](_0x5f905f,_0x373dc4,_0x3d1fb8,_0x48e33b);}[_0x3c2ed3(0x1fb)](_0x4a8c5c,_0x422fb7,_0x4cbf74,_0x57439a){const _0x2d5662=_0x3c2ed3,_0x3053be=_0x4a8c5c[_0x2d5662(0x1f2)]()[_0x2d5662(0x202)](_0x422fb7[_0x2d5662(0x1f2)]()[_0x2d5662(0x20d)](_0x4cbf74)),_0x436121=_0x3053be[_0x2d5662(0x1f2)]()[_0x2d5662(0x204)](_0x57439a),_0x1b8eff=_0x436121[_0x2d5662(0x1e7)]();return _0x1b8eff>1e-12?_0x436121['multiplyScalar'](0x1/Math[_0x2d5662(0x1d1)](_0x1b8eff)):_0x436121[_0x2d5662(0x1d8)](0x0,0x1,0x0),{'point':_0x3053be,'normal':_0x436121,'distance':_0x4cbf74};}[_0x3c2ed3(0x207)](){const _0x5a4bd3=_0x3c2ed3,_0x2198a9=new webgpu.Object3D();_0x2198a9[_0x5a4bd3(0x1ea)]=_0x5a4bd3(0x1e4);const _0x5867b1=new webgpu.MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x5a4bd3(0x1e1)]}),_0x35d780=Math[_0x5a4bd3(0x203)](0.000001,this[_0x5a4bd3(0x209)]),_0x41756c=Math[_0x5a4bd3(0x203)](0.000001,this[_0x5a4bd3(0x1f4)]*0x2),_0xdf8247=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x35d780,_0x35d780,_0x41756c,0xc,0x1,!![]),_0x5867b1),_0x4f3257=new webgpu.Mesh(new webgpu.SphereGeometry(_0x35d780,0xc,0x8),_0x5867b1),_0x4c0d0d=new webgpu.Mesh(new webgpu.SphereGeometry(_0x35d780,0xc,0x8),_0x5867b1);return _0x4f3257[_0x5a4bd3(0x1ef)][_0x5a4bd3(0x1d8)](0x0,this[_0x5a4bd3(0x1f4)],0x0),_0x4c0d0d[_0x5a4bd3(0x1ef)][_0x5a4bd3(0x1d8)](0x0,-this[_0x5a4bd3(0x1f4)],0x0),_0x2198a9[_0x5a4bd3(0x202)](_0xdf8247),_0x2198a9[_0x5a4bd3(0x202)](_0x4f3257),_0x2198a9[_0x5a4bd3(0x202)](_0x4c0d0d),this['_debugRoot']=_0x2198a9,this[_0x5a4bd3(0x1d9)]=_0xdf8247,this[_0x5a4bd3(0x201)]=_0x4f3257,this[_0x5a4bd3(0x1f9)]=_0x4c0d0d,this[_0x5a4bd3(0x1fd)](0x0),_0x2198a9;}[_0x3c2ed3(0x1db)](_0x2fc694){const _0x20eab1=_0x3c2ed3;this['_debugRoot']=null,this['_debugCylinder']=null,this[_0x20eab1(0x201)]=null,this['_debugBottom']=null;}[_0x3c2ed3(0x1fd)](_0x2eff70){const _0x523ceb=_0x3c2ed3,_0x283a36=this[_0x523ceb(0x1d9)],_0x277316=this['_debugTop'],_0xd7535c=this['_debugBottom'];if(!_0x283a36||!_0x277316||!_0xd7535c)return;const _0x47cfaf=this[_0x523ceb(0x1f7)](),_0x31951f=Math[_0x523ceb(0x205)](_0x47cfaf['x'])>1e-8?_0x47cfaf['x']:0x1,_0x479d71=Math[_0x523ceb(0x205)](_0x47cfaf['y'])>1e-8?_0x47cfaf['y']:0x1,_0xb39c42=Math[_0x523ceb(0x205)](_0x47cfaf['z'])>1e-8?_0x47cfaf['z']:0x1,_0x1de9de=Math[_0x523ceb(0x203)](0.000001,this[_0x523ceb(0x209)])*Math[_0x523ceb(0x203)](Math['abs'](_0x31951f),Math[_0x523ceb(0x205)](_0xb39c42)),_0x1aeab2=Math['max'](0x0,this['_halfHeight'])*Math[_0x523ceb(0x205)](_0x479d71);_0x283a36[_0x523ceb(0x212)]['set'](_0x1de9de/_0x31951f,_0x1aeab2*0x2/_0x479d71,_0x1de9de/_0xb39c42),_0x277316['scale'][_0x523ceb(0x1d8)](_0x1de9de/_0x31951f,_0x1de9de/_0x479d71,_0x1de9de/_0xb39c42),_0xd7535c['scale'][_0x523ceb(0x1d8)](_0x1de9de/_0x31951f,_0x1de9de/_0x479d71,_0x1de9de/_0xb39c42),_0x277316['position']['set'](0x0,_0x1aeab2/_0x479d71,0x0),_0xd7535c['position'][_0x523ceb(0x1d8)](0x0,-_0x1aeab2/_0x479d71,0x0);}[_0x3c2ed3(0x20a)](){const _0x71b0b5=_0x3c2ed3,_0x1bb947=this[_0x71b0b5(0x1da)];if(!_0x1bb947)return;_0x1bb947[_0x71b0b5(0x1f0)](_0x27878a=>{const _0x541167=_0x71b0b5,_0x2d794b=_0x27878a,_0xa76ba9=_0x2d794b[_0x541167(0x1e0)];if(!_0xa76ba9)return;_0xa76ba9[_0x541167(0x200)][_0x541167(0x1d3)](this[_0x541167(0x1e9)]),_0xa76ba9[_0x541167(0x1f3)]=this[_0x541167(0x1e1)],_0xa76ba9[_0x541167(0x1fa)]=this['debugOpacity']<0x1,_0xa76ba9[_0x541167(0x1ec)]=!![];});}}
|
|
148
|
+
const _0x1ec302=_0x4650;(function(_0x3629cd,_0x1b8ab4){const _0x264bdd=_0x4650,_0x44a5c6=_0x3629cd();while(!![]){try{const _0x5f8e06=parseInt(_0x264bdd(0x182))/0x1*(-parseInt(_0x264bdd(0x17c))/0x2)+parseInt(_0x264bdd(0x168))/0x3+parseInt(_0x264bdd(0x186))/0x4*(parseInt(_0x264bdd(0x17b))/0x5)+-parseInt(_0x264bdd(0x16c))/0x6+parseInt(_0x264bdd(0x181))/0x7*(parseInt(_0x264bdd(0x189))/0x8)+parseInt(_0x264bdd(0x169))/0x9*(-parseInt(_0x264bdd(0x192))/0xa)+-parseInt(_0x264bdd(0x178))/0xb;if(_0x5f8e06===_0x1b8ab4)break;else _0x44a5c6['push'](_0x44a5c6['shift']());}catch(_0x4262bc){_0x44a5c6['push'](_0x44a5c6['shift']());}}}(_0x3a2f,0x821f9));function _0x4650(_0x9f0d6d,_0x41e00b){_0x9f0d6d=_0x9f0d6d-0x15b;const _0x3a2fbe=_0x3a2f();let _0x465011=_0x3a2fbe[_0x9f0d6d];return _0x465011;}class CapsuleColliderComponent extends ColliderComponent{get['radius'](){return this['_radius'];}get[_0x1ec302(0x180)](){const _0x2ef02d=_0x1ec302;return this[_0x2ef02d(0x162)];}constructor(_0x518aff,_0x4e79c2=0.35,_0x1c7fd2=0.5,_0x29ae8e){const _0x23d27e=_0x1ec302;super(_0x518aff,_0x29ae8e),this[_0x23d27e(0x173)]=null,this[_0x23d27e(0x163)]=null,this[_0x23d27e(0x18d)]=null,this[_0x23d27e(0x175)]=null,this['_tmpA']=new webgpu.Vector3(),this['_tmpB']=new webgpu.Vector3(),this['_tmpBA']=new webgpu.Vector3(),this[_0x23d27e(0x166)]=new webgpu.Vector3(),this[_0x23d27e(0x17d)]=new webgpu.Vector3(),this[_0x23d27e(0x18a)]=new webgpu.Vector3(),this[_0x23d27e(0x188)]=Math[_0x23d27e(0x164)](0x0,_0x4e79c2),this[_0x23d27e(0x162)]=Math[_0x23d27e(0x164)](0x0,_0x1c7fd2),this[_0x23d27e(0x15b)]=exports.CollisionChannel['Pawn'],this[_0x23d27e(0x18f)](exports.CollisionChannel[_0x23d27e(0x172)],exports.CollisionResponse[_0x23d27e(0x177)]),this['setCollisionResponse'](exports.CollisionChannel[_0x23d27e(0x17f)],exports.CollisionResponse[_0x23d27e(0x16d)]),this[_0x23d27e(0x15c)]='CapsuleColliderComponent';}['getWorldAABB'](_0x1fdb16=new webgpu.Box3()){const _0x12907e=_0x1ec302,_0x57f482=this[_0x12907e(0x185)](),_0x41ff82=this[_0x12907e(0x165)](),_0x5ab0be=Math[_0x12907e(0x183)](_0x41ff82['x'])>1e-8?Math['abs'](_0x41ff82['x']):0x1,_0x22ae6e=Math['abs'](_0x41ff82['y'])>1e-8?Math[_0x12907e(0x183)](_0x41ff82['y']):0x1,_0x402957=Math['abs'](_0x41ff82['z'])>1e-8?Math[_0x12907e(0x183)](_0x41ff82['z']):0x1,_0x34ba40=this['_radius']*Math['max'](_0x5ab0be,_0x402957),_0x2fc5a=this['_halfHeight']*_0x22ae6e,_0x2116e4=new webgpu.Vector3(_0x57f482['x']-_0x34ba40,_0x57f482['y']-_0x2fc5a-_0x34ba40,_0x57f482['z']-_0x34ba40),_0xf7736a=new webgpu.Vector3(_0x57f482['x']+_0x34ba40,_0x57f482['y']+_0x2fc5a+_0x34ba40,_0x57f482['z']+_0x34ba40);return _0x1fdb16[_0x12907e(0x170)](_0x2116e4,_0xf7736a),_0x1fdb16;}[_0x1ec302(0x174)](_0xe50e1d,_0x1504c4,_0x228ee3){const _0x17a9bd=_0x1ec302;if(_0x228ee3<=0.000001)return null;const _0x36f190=this[_0x17a9bd(0x185)](),_0x9bc662=this[_0x17a9bd(0x165)](),_0x29aa03=Math['abs'](_0x9bc662['x'])>1e-8?Math[_0x17a9bd(0x183)](_0x9bc662['x']):0x1,_0x360dad=Math[_0x17a9bd(0x183)](_0x9bc662['y'])>1e-8?Math[_0x17a9bd(0x183)](_0x9bc662['y']):0x1,_0x3f1be7=Math[_0x17a9bd(0x183)](_0x9bc662['z'])>1e-8?Math['abs'](_0x9bc662['z']):0x1,_0x2d9d39=this['_radius']*Math[_0x17a9bd(0x164)](_0x29aa03,_0x3f1be7),_0x56e9da=this['_halfHeight']*_0x360dad,_0x5daa26=this[_0x17a9bd(0x15f)][_0x17a9bd(0x15e)](_0x36f190)[_0x17a9bd(0x18b)](new webgpu.Vector3(0x0,-_0x56e9da,0x0)),_0x17daaa=this['_tmpB'][_0x17a9bd(0x15e)](_0x36f190)['add'](new webgpu.Vector3(0x0,_0x56e9da,0x0)),_0x3af8a6=this['_tmpBA'][_0x17a9bd(0x15e)](_0x17daaa)['sub'](_0x5daa26),_0x3d92a1=this[_0x17a9bd(0x166)][_0x17a9bd(0x15e)](_0xe50e1d)[_0x17a9bd(0x16e)](_0x5daa26),_0x1ee50e=_0x3af8a6[_0x17a9bd(0x184)](_0x3af8a6),_0x138e35=_0x3af8a6['dot'](_0x1504c4),_0x1aaca8=_0x3af8a6[_0x17a9bd(0x184)](_0x3d92a1),_0x14c96c=_0x1504c4['dot'](_0x3d92a1),_0x49dbef=_0x3d92a1['dot'](_0x3d92a1),_0x27d931=_0x2d9d39*_0x2d9d39,_0x2bb7a4=_0x1ee50e-_0x138e35*_0x138e35,_0x9f1b3=_0x1ee50e*_0x14c96c-_0x1aaca8*_0x138e35,_0x3a501c=_0x1ee50e*(_0x49dbef-_0x27d931)-_0x1aaca8*_0x1aaca8;let _0x16824d=Infinity,_0x2920a5=null,_0x579c0b=null;const _0x30b403=1e-10;if(Math[_0x17a9bd(0x183)](_0x2bb7a4)>_0x30b403){const _0x462345=_0x9f1b3*_0x9f1b3-_0x2bb7a4*_0x3a501c;if(_0x462345>=0x0){const _0x5a0cea=(-_0x9f1b3-Math['sqrt'](_0x462345))/_0x2bb7a4,_0x536f0d=_0x1aaca8+_0x5a0cea*_0x138e35;if(_0x5a0cea>=0x0&&_0x5a0cea<=_0x228ee3&&_0x536f0d>0x0&&_0x536f0d<_0x1ee50e){_0x16824d=_0x5a0cea,_0x2920a5=this[_0x17a9bd(0x17d)][_0x17a9bd(0x15e)](_0x1504c4)[_0x17a9bd(0x18c)](_0x5a0cea)[_0x17a9bd(0x18b)](_0xe50e1d);const _0x2db316=this[_0x17a9bd(0x18a)][_0x17a9bd(0x15e)](_0x3af8a6)[_0x17a9bd(0x18c)](_0x536f0d/_0x1ee50e)[_0x17a9bd(0x18b)](_0x5daa26);_0x579c0b=this[_0x17a9bd(0x18a)][_0x17a9bd(0x15e)](_0x2920a5)[_0x17a9bd(0x16e)](_0x2db316);const _0x39291b=_0x579c0b[_0x17a9bd(0x16f)]();_0x39291b>1e-12?_0x579c0b['multiplyScalar'](0x1/Math[_0x17a9bd(0x16b)](_0x39291b)):_0x579c0b[_0x17a9bd(0x170)](0x0,0x1,0x0);}}}const _0xc19be2=this[_0x17a9bd(0x191)](_0xe50e1d,_0x1504c4,_0x228ee3,_0x5daa26,_0x2d9d39);_0xc19be2&&_0xc19be2['distance']<_0x16824d&&(_0x16824d=_0xc19be2[_0x17a9bd(0x17e)],_0x2920a5=_0xc19be2[_0x17a9bd(0x167)],_0x579c0b=_0xc19be2[_0x17a9bd(0x176)]);const _0x2c90c9=this[_0x17a9bd(0x191)](_0xe50e1d,_0x1504c4,_0x228ee3,_0x17daaa,_0x2d9d39);_0x2c90c9&&_0x2c90c9[_0x17a9bd(0x17e)]<_0x16824d&&(_0x16824d=_0x2c90c9[_0x17a9bd(0x17e)],_0x2920a5=_0x2c90c9[_0x17a9bd(0x167)],_0x579c0b=_0x2c90c9['normal']);if(!_0x2920a5||!_0x579c0b||!Number['isFinite'](_0x16824d))return null;return {'point':_0x2920a5['clone'](),'normal':_0x579c0b['clone'](),'distance':_0x16824d};}[_0x1ec302(0x191)](_0x3fe8c7,_0x310205,_0x38ecb7,_0x192afe,_0xaea558){const _0x466a3d=_0x1ec302,_0x11898b=_0x3fe8c7[_0x466a3d(0x195)]()[_0x466a3d(0x16e)](_0x192afe),_0x4115df=_0x11898b[_0x466a3d(0x184)](_0x310205),_0x30469f=_0x11898b[_0x466a3d(0x184)](_0x11898b)-_0xaea558*_0xaea558,_0x5043be=_0x4115df*_0x4115df-_0x30469f;if(_0x5043be<0x0)return null;const _0x482ea7=Math[_0x466a3d(0x16b)](_0x5043be),_0x29cb00=-_0x4115df-_0x482ea7;if(_0x29cb00<0x0||_0x29cb00>_0x38ecb7){const _0x5bc1e7=-_0x4115df+_0x482ea7;if(_0x5bc1e7<0x0||_0x5bc1e7>_0x38ecb7)return null;return this['makeSphereHit'](_0x3fe8c7,_0x310205,_0x5bc1e7,_0x192afe);}return this[_0x466a3d(0x194)](_0x3fe8c7,_0x310205,_0x29cb00,_0x192afe);}[_0x1ec302(0x194)](_0x261ef0,_0x5b00e3,_0x21945f,_0x564df){const _0x3b60c1=_0x1ec302,_0x75720f=_0x261ef0[_0x3b60c1(0x195)]()[_0x3b60c1(0x18b)](_0x5b00e3[_0x3b60c1(0x195)]()[_0x3b60c1(0x18c)](_0x21945f)),_0x3ca3fc=_0x75720f[_0x3b60c1(0x195)]()[_0x3b60c1(0x16e)](_0x564df),_0x5d82e7=_0x3ca3fc[_0x3b60c1(0x16f)]();return _0x5d82e7>1e-12?_0x3ca3fc[_0x3b60c1(0x18c)](0x1/Math[_0x3b60c1(0x16b)](_0x5d82e7)):_0x3ca3fc[_0x3b60c1(0x170)](0x0,0x1,0x0),{'point':_0x75720f,'normal':_0x3ca3fc,'distance':_0x21945f};}['createDebugObject'](){const _0x1119e9=_0x1ec302,_0xeafad7=new webgpu.Object3D();_0xeafad7[_0x1119e9(0x15c)]=_0x1119e9(0x179);const _0x4ac0fb=new webgpu.MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x1119e9(0x193)]}),_0x4e4e3e=Math[_0x1119e9(0x164)](0.000001,this[_0x1119e9(0x188)]),_0x26194f=Math['max'](0.000001,this[_0x1119e9(0x162)]*0x2),_0x385494=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x4e4e3e,_0x4e4e3e,_0x26194f,0xc,0x1,!![]),_0x4ac0fb),_0xfbfd55=new webgpu.Mesh(new webgpu.SphereGeometry(_0x4e4e3e,0xc,0x8),_0x4ac0fb),_0x2c87bf=new webgpu.Mesh(new webgpu.SphereGeometry(_0x4e4e3e,0xc,0x8),_0x4ac0fb);return _0xfbfd55['position'][_0x1119e9(0x170)](0x0,this['_halfHeight'],0x0),_0x2c87bf[_0x1119e9(0x171)]['set'](0x0,-this[_0x1119e9(0x162)],0x0),_0xeafad7[_0x1119e9(0x18b)](_0x385494),_0xeafad7[_0x1119e9(0x18b)](_0xfbfd55),_0xeafad7[_0x1119e9(0x18b)](_0x2c87bf),this[_0x1119e9(0x173)]=_0xeafad7,this[_0x1119e9(0x163)]=_0x385494,this['_debugTop']=_0xfbfd55,this[_0x1119e9(0x175)]=_0x2c87bf,this[_0x1119e9(0x187)](0x0),_0xeafad7;}['destroyDebugObject'](_0x1765bc){const _0x149f14=_0x1ec302;this[_0x149f14(0x173)]=null,this[_0x149f14(0x163)]=null,this['_debugTop']=null,this[_0x149f14(0x175)]=null;}['onDebugTick'](_0x3fdb5e){const _0x5e135a=_0x1ec302,_0x379b7f=this['_debugCylinder'],_0x3d5d0e=this['_debugTop'],_0x5b9048=this[_0x5e135a(0x175)];if(!_0x379b7f||!_0x3d5d0e||!_0x5b9048)return;const _0x37f42e=this[_0x5e135a(0x165)](),_0x21f497=Math['abs'](_0x37f42e['x'])>1e-8?_0x37f42e['x']:0x1,_0x2aa6b0=Math['abs'](_0x37f42e['y'])>1e-8?_0x37f42e['y']:0x1,_0x35e1a4=Math[_0x5e135a(0x183)](_0x37f42e['z'])>1e-8?_0x37f42e['z']:0x1,_0x350f33=Math[_0x5e135a(0x164)](0.000001,this[_0x5e135a(0x188)])*Math[_0x5e135a(0x164)](Math[_0x5e135a(0x183)](_0x21f497),Math[_0x5e135a(0x183)](_0x35e1a4)),_0x583f72=Math[_0x5e135a(0x164)](0x0,this[_0x5e135a(0x162)])*Math[_0x5e135a(0x183)](_0x2aa6b0);_0x379b7f['scale'][_0x5e135a(0x170)](_0x350f33/_0x21f497,_0x583f72*0x2/_0x2aa6b0,_0x350f33/_0x35e1a4),_0x3d5d0e[_0x5e135a(0x160)]['set'](_0x350f33/_0x21f497,_0x350f33/_0x2aa6b0,_0x350f33/_0x35e1a4),_0x5b9048[_0x5e135a(0x160)]['set'](_0x350f33/_0x21f497,_0x350f33/_0x2aa6b0,_0x350f33/_0x35e1a4),_0x3d5d0e[_0x5e135a(0x171)][_0x5e135a(0x170)](0x0,_0x583f72/_0x2aa6b0,0x0),_0x5b9048['position'][_0x5e135a(0x170)](0x0,-_0x583f72/_0x2aa6b0,0x0);}[_0x1ec302(0x190)](){const _0x495109=_0x1ec302,_0xbdc540=this[_0x495109(0x173)];if(!_0xbdc540)return;_0xbdc540['traverse'](_0x9c41e6=>{const _0x3e5a9a=_0x495109,_0x173c37=_0x9c41e6,_0x2d63d6=_0x173c37['material'];if(!_0x2d63d6)return;_0x2d63d6[_0x3e5a9a(0x15d)][_0x3e5a9a(0x161)](this['debugColor']),_0x2d63d6[_0x3e5a9a(0x16a)]=this[_0x3e5a9a(0x193)],_0x2d63d6[_0x3e5a9a(0x18e)]=this[_0x3e5a9a(0x193)]<0x1,_0x2d63d6[_0x3e5a9a(0x17a)]=!![];});}}function _0x3a2f(){const _0x4d6137=['getWorldPosition','4rEHXqX','onDebugTick','_radius','24HFNHra','_tmpNormal','add','multiplyScalar','_debugTop','transparent','setCollisionResponse','onDebugStyleChanged','raycastSphere','10lTMBIE','debugOpacity','makeSphereHit','clone','objectType','name','color','copy','_tmpA','scale','setHex','_halfHeight','_debugCylinder','max','getWorldScale','_tmpOA','point','1931475zVLXXD','1071783uidKyO','opacity','sqrt','2955672HjbvbY','Overlap','sub','lengthSq','set','position','Pawn','_debugRoot','raycast','_debugBottom','normal','Ignore','5620791gYDLyN','CapsuleColliderDebug','needsUpdate','3575855JUrCcB','6632rQvKPj','_tmpPoint','distance','Trigger','halfHeight','1257053TeNZhT','73LKCtPp','abs','dot'];_0x3a2f=function(){return _0x4d6137;};return _0x3a2f();}
|
|
138
149
|
|
|
139
|
-
const _0x5bb79d=_0x6ace;(function(_0x321f05,_0x5d907a){const _0x27a74=_0x6ace,_0x46ee15=_0x321f05();while(!![]){try{const _0x1e8cfa=-parseInt(_0x27a74(0x154))/0x1+parseInt(_0x27a74(0x11a))/0x2*(parseInt(_0x27a74(0x124))/0x3)+parseInt(_0x27a74(0x135))/0x4*(-parseInt(_0x27a74(0x144))/0x5)+-parseInt(_0x27a74(0xf8))/0x6+parseInt(_0x27a74(0x12c))/0x7*(parseInt(_0x27a74(0x134))/0x8)+-parseInt(_0x27a74(0x133))/0x9*(-parseInt(_0x27a74(0x10a))/0xa)+-parseInt(_0x27a74(0x16f))/0xb*(-parseInt(_0x27a74(0x12f))/0xc);if(_0x1e8cfa===_0x5d907a)break;else _0x46ee15['push'](_0x46ee15['shift']());}catch(_0x248368){_0x46ee15['push'](_0x46ee15['shift']());}}}(_0x33ae,0x806c2));function _0x33ae(){const _0x1e3b8d=['ray','material','movementY','getTargetCameraState','addEventListener','onKeyUp','exitPointerLock','preventDefault','multiply','remove','threeObject','asin','applyQuaternion','lyCameraDragging','blocking','1784GDYAew','onMouseUp','_moveLeft','onKeyDown','getQuaternion','ShiftRight','point','app','_targetPos','click','870GAEwxm','onBlur','possess','distance','length','inputFilter','onMouseDown','visible','3122TUAKla','viewport','Space','372RXqAQB','parentActor','updateCameraFromPawn','rotation','54xXifSl','8336HonptT','8KDQjlV','_clickMarker','_moveForward','copy','KeyD','YXZ','setPosition','multiplyScalar','radius','removeEventListener','clientX','_moveUp','movementX','rootComponent','ArrowDown','933690UUTbFH','max','sub','setFromCamera','Pawn','landToGround','onPointerLockChange','top','KeyW','ArrowRight','getRotation','getPosition','clamp','_moveDown','mouseup','unpossess','809901VRfQMw','normalize','eyeHeight','Ignore','setFromAxisAngle','dataset','onContextMenu','dot','ArrowLeft','KeyS','clone','ShiftLeft','parent','height','enabled','position','_isRightDragging','code','left','setCameraDraggingState','tick','_yaw','lengthSq','includes','halfHeight','collider','contextmenu','120318ErRDkD','near','getBoundingClientRect','KeyA','ArrowUp','camera','onClick','gravity','pointerlockchange','pointerLockElement','enableGravity','invert','onMouseMove','scene','dispose','blur','lookSpeed','isClickEnabled','lineTraceSingle','mousemove','Visibility','96138TNbAMG','normal','moveSpeed','button','mousedown','world','_pitch','keydown','lineTraceMulti','atan2','_moveRight','objectType','canvas','_moveBackward','physics','_verticalVelocity','add','find','1104880xEVOPT'];_0x33ae=function(){return _0x1e3b8d;};return _0x33ae();}function _0x6ace(_0x505642,_0xf45613){_0x505642=_0x505642-0xf1;const _0x33ae31=_0x33ae();let _0x6acedc=_0x33ae31[_0x505642];return _0x6acedc;}class FirstPerson extends Pawn{constructor(_0x2b27bf){const _0x22d12b=_0x6ace;super(_0x2b27bf),this[_0x22d12b(0xfa)]=0xa,this[_0x22d12b(0xf3)]=0.002,this['enableGravity']=!![],this[_0x22d12b(0x176)]=0x1e,this[_0x22d12b(0x156)]=0.7,this[_0x22d12b(0x107)]=0x0,this[_0x22d12b(0x169)]=0x0,this[_0x22d12b(0xfe)]=0x0,this['_targetPos']=null,this[_0x22d12b(0x136)]=null,this['_moveForward']=![],this[_0x22d12b(0x105)]=![],this[_0x22d12b(0x11c)]=![],this['_moveRight']=![],this['_moveUp']=![],this[_0x22d12b(0x151)]=![],this[_0x22d12b(0x164)]=![],this[_0x22d12b(0x15a)]=_0x3d6328=>{const _0x3638dc=_0x22d12b;if(!Pawn[_0x3638dc(0x129)]())return;_0x3d6328[_0x3638dc(0x112)]();},this[_0x22d12b(0x125)]=()=>{const _0x25eded=_0x22d12b;this[_0x25eded(0x137)]=![],this[_0x25eded(0x105)]=![],this[_0x25eded(0x11c)]=![],this[_0x25eded(0x102)]=![],this[_0x25eded(0x140)]=![],this['_moveDown']=![],this[_0x25eded(0x164)]=![],this[_0x25eded(0x167)](![]);},this[_0x22d12b(0x12a)]=_0x1d6795=>{const _0x20bfd3=_0x22d12b;if(!this[_0x20bfd3(0x162)]||!Pawn['inputFilter']())return;if(_0x1d6795[_0x20bfd3(0xfb)]!==0x2)return;this[_0x20bfd3(0x164)]=!![],this[_0x20bfd3(0x167)](!![]);},this['onMouseUp']=_0x22d17e=>{const _0x2a69b7=_0x22d12b;if(_0x22d17e['button']!==0x2)return;this['_isRightDragging']=![],this[_0x2a69b7(0x167)](![]);},this[_0x22d12b(0x175)]=_0x5137a6=>{const _0x4564fa=_0x22d12b;if(!this[_0x4564fa(0x162)]||!Pawn['inputFilter']())return;if(_0x5137a6['button']!==0x0)return;const _0x442c62=this[_0x4564fa(0x121)][_0x4564fa(0x12d)][_0x4564fa(0x104)];if(!_0x442c62||!this[_0x4564fa(0x174)])return;const _0x5f23cc=_0x442c62[_0x4564fa(0x171)](),_0x430d89=new webgpu.Vector2((_0x5137a6[_0x4564fa(0x13f)]-_0x5f23cc[_0x4564fa(0x166)])/_0x5f23cc['width']*0x2-0x1,-((_0x5137a6['clientY']-_0x5f23cc[_0x4564fa(0x14b)])/_0x5f23cc[_0x4564fa(0x161)])*0x2+0x1),_0x534fd4=new webgpu.Raycaster();_0x534fd4[_0x4564fa(0x147)](_0x430d89,this[_0x4564fa(0x174)]);const _0x3aba8b=_0x534fd4[_0x4564fa(0x10b)]['origin']['clone'](),_0x2c50a4=_0x3aba8b[_0x4564fa(0x15e)]()['add'](_0x534fd4[_0x4564fa(0x10b)]['direction']['clone']()['multiplyScalar'](0x3e8)),_0x441af0=this['rootComponent']instanceof CapsuleColliderComponent?this[_0x4564fa(0x142)]:undefined,_0x53a517=this['app']['world'][_0x4564fa(0x106)][_0x4564fa(0xf5)](_0x3aba8b,_0x2c50a4,exports.CollisionChannel[_0x4564fa(0x148)],_0x441af0);if(_0x53a517&&_0x53a517['blocking']){const _0x492566=_0x53a517[_0x4564fa(0x16d)];if(_0x492566){if(_0x492566['isClickEnabled'])return;if(_0x492566[_0x4564fa(0x130)]&&_0x492566[_0x4564fa(0x130)][_0x4564fa(0xf4)])return;}_0x53a517[_0x4564fa(0xf9)]['y']>0.5&&(this['_targetPos']=_0x53a517[_0x4564fa(0x120)][_0x4564fa(0x15e)](),this[_0x4564fa(0x136)]&&(this[_0x4564fa(0x136)][_0x4564fa(0x163)][_0x4564fa(0x138)](this[_0x4564fa(0x122)]),this[_0x4564fa(0x136)]['visible']=!![]));}},this[_0x22d12b(0x14a)]=()=>{},this[_0x22d12b(0x17b)]=_0x4c519c=>{const _0x491ed6=_0x22d12b,_0x5170c9=(_0x4c519c['buttons']&0x2)===0x2;if(_0x5170c9&&!this[_0x491ed6(0x164)])this[_0x491ed6(0x164)]=!![],this['setCameraDraggingState'](!![]);else !_0x5170c9&&this[_0x491ed6(0x164)]&&(this[_0x491ed6(0x164)]=![],this[_0x491ed6(0x167)](![]));if(document[_0x491ed6(0x178)]!==this[_0x491ed6(0x121)][_0x491ed6(0x12d)][_0x491ed6(0x104)]&&!_0x5170c9)return;if(!this[_0x491ed6(0x162)]||!Pawn[_0x491ed6(0x129)]())return;const _0x3d4eee=_0x4c519c[_0x491ed6(0x141)]||0x0,_0x303be6=_0x4c519c[_0x491ed6(0x10d)]||0x0;this[_0x491ed6(0x169)]-=_0x3d4eee*this[_0x491ed6(0xf3)],this[_0x491ed6(0xfe)]-=_0x303be6*this['lookSpeed'];const _0x4bd522=Math['PI']/0x2;this['_pitch']=webgpu.MathUtils[_0x491ed6(0x150)](this[_0x491ed6(0xfe)],-_0x4bd522+0.001,_0x4bd522-0.001);const _0x2362a5=new webgpu.Quaternion()[_0x491ed6(0x158)](new webgpu.Vector3(0x0,0x1,0x0),this[_0x491ed6(0x169)]),_0x54f252=new webgpu.Quaternion()[_0x491ed6(0x158)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x491ed6(0xfe)]),_0x36eb04=_0x2362a5[_0x491ed6(0x113)](_0x54f252);this['setQuaternion'](_0x36eb04);},this[_0x22d12b(0x11d)]=_0x4c0786=>{const _0x96ceae=_0x22d12b;if(!Pawn[_0x96ceae(0x129)]())return;if([_0x96ceae(0x173),_0x96ceae(0x14c),_0x96ceae(0x15c),_0x96ceae(0x172),_0x96ceae(0x143),_0x96ceae(0x15d),'ArrowRight',_0x96ceae(0x139)][_0x96ceae(0x16b)](_0x4c0786[_0x96ceae(0x165)])){this[_0x96ceae(0x122)]=null;if(this[_0x96ceae(0x136)])this[_0x96ceae(0x136)][_0x96ceae(0x12b)]=![];}switch(_0x4c0786[_0x96ceae(0x165)]){case 'ArrowUp':case _0x96ceae(0x14c):this['_moveForward']=!![];break;case _0x96ceae(0x15c):case 'KeyA':this[_0x96ceae(0x11c)]=!![];break;case 'ArrowDown':case _0x96ceae(0x15d):this[_0x96ceae(0x105)]=!![];break;case _0x96ceae(0x14d):case _0x96ceae(0x139):this[_0x96ceae(0x102)]=!![];break;case _0x96ceae(0x12e):!this['enableGravity']&&(this[_0x96ceae(0x140)]=!![]);break;case _0x96ceae(0x15f):case _0x96ceae(0x11f):this[_0x96ceae(0x151)]=!![];break;}},this[_0x22d12b(0x110)]=_0x16dc65=>{const _0x5dfeee=_0x22d12b;switch(_0x16dc65[_0x5dfeee(0x165)]){case 'ArrowUp':case 'KeyW':this[_0x5dfeee(0x137)]=![];break;case 'ArrowLeft':case _0x5dfeee(0x172):this[_0x5dfeee(0x11c)]=![];break;case _0x5dfeee(0x143):case _0x5dfeee(0x15d):this[_0x5dfeee(0x105)]=![];break;case _0x5dfeee(0x14d):case _0x5dfeee(0x139):this[_0x5dfeee(0x102)]=![];break;case _0x5dfeee(0x12e):this[_0x5dfeee(0x140)]=![];break;case _0x5dfeee(0x15f):case _0x5dfeee(0x11f):this[_0x5dfeee(0x151)]=![];break;}};}['constructRootComponent'](){const _0x4763d1=_0x6ace,_0x103807=new CapsuleColliderComponent(this[_0x4763d1(0x121)],0.35,0.55);return _0x103807[_0x4763d1(0x103)]=exports.CollisionChannel[_0x4763d1(0x148)],_0x103807['setCollisionResponse'](exports.CollisionChannel[_0x4763d1(0xf7)],exports.CollisionResponse[_0x4763d1(0x157)]),_0x103807;}[_0x5bb79d(0x149)](){const _0xc69263=_0x5bb79d,_0x5dc938=this['getPosition'](),_0x1ba194=_0x5dc938[_0xc69263(0x15e)]()[_0xc69263(0x108)](new webgpu.Vector3(0x0,-1e3,0x0)),_0x17cb71=this[_0xc69263(0x142)],_0x213b39=this[_0xc69263(0x121)][_0xc69263(0xfd)]['physics'][_0xc69263(0xf5)](_0x5dc938,_0x1ba194,exports.CollisionChannel[_0xc69263(0x148)],_0x17cb71);if(_0x213b39&&_0x213b39[_0xc69263(0x119)]){const _0x4ed68d=_0x17cb71[_0xc69263(0x16c)]+_0x17cb71[_0xc69263(0x13d)],_0x284b9b=_0x213b39[_0xc69263(0x120)]['y']+_0x4ed68d;this[_0xc69263(0x13b)](_0x5dc938['x'],_0x284b9b,_0x5dc938['z']),this[_0xc69263(0x107)]=0x0;}}['possess'](){const _0x34d640=_0x5bb79d;super[_0x34d640(0x126)]();const _0x168f2f=this[_0x34d640(0x121)][_0x34d640(0x12d)]['canvas'];_0x168f2f&&(_0x168f2f['addEventListener'](_0x34d640(0x123),this[_0x34d640(0x175)]),_0x168f2f[_0x34d640(0x10f)](_0x34d640(0x16e),this[_0x34d640(0x15a)]),document[_0x34d640(0x10f)](_0x34d640(0x177),this[_0x34d640(0x14a)]),document[_0x34d640(0x10f)](_0x34d640(0xff),this[_0x34d640(0x11d)]),document['addEventListener']('keyup',this[_0x34d640(0x110)]),document[_0x34d640(0x10f)](_0x34d640(0xf6),this[_0x34d640(0x17b)]),document['addEventListener'](_0x34d640(0xfc),this[_0x34d640(0x12a)],!![]),document[_0x34d640(0x10f)]('mouseup',this[_0x34d640(0x11b)],!![]),window[_0x34d640(0x10f)](_0x34d640(0xf2),this[_0x34d640(0x125)]));this[_0x34d640(0x142)]&&this[_0x34d640(0x142)][_0x34d640(0x115)]&&(this[_0x34d640(0x142)]['threeObject'][_0x34d640(0x132)]['order']=_0x34d640(0x13a));const _0x2ca54d=new webgpu.SphereGeometry(0.2,0x10,0x10),_0x1003fe=new webgpu.MeshBasicMaterial({'color':0xff00,'transparent':!![],'opacity':0.8});this[_0x34d640(0x136)]=new webgpu.Mesh(_0x2ca54d,_0x1003fe),this['_clickMarker'][_0x34d640(0x12b)]=![],this[_0x34d640(0x121)][_0x34d640(0xfd)][_0x34d640(0x17c)][_0x34d640(0x108)](this['_clickMarker']);const _0x4e0f64=this[_0x34d640(0x11e)](),_0x2f64d5=new webgpu.Vector3(0x0,0x0,-1)[_0x34d640(0x117)](_0x4e0f64);this[_0x34d640(0xfe)]=Math[_0x34d640(0x116)](webgpu.MathUtils[_0x34d640(0x150)](_0x2f64d5['y'],-1,0x1)),this[_0x34d640(0x169)]=Math[_0x34d640(0x101)](-_0x2f64d5['x'],-_0x2f64d5['z']),this['updateCameraFromPawn']();}['unpossess'](){const _0x1faa95=_0x5bb79d;var _0x48be01;super[_0x1faa95(0x153)]();const _0x308201=this[_0x1faa95(0x121)][_0x1faa95(0x12d)][_0x1faa95(0x104)];_0x308201&&(_0x308201['removeEventListener']('click',this[_0x1faa95(0x175)]),_0x308201['removeEventListener'](_0x1faa95(0x16e),this[_0x1faa95(0x15a)])),document['removeEventListener'](_0x1faa95(0x177),this[_0x1faa95(0x14a)]),document[_0x1faa95(0x13e)](_0x1faa95(0xff),this['onKeyDown']),document['removeEventListener']('keyup',this[_0x1faa95(0x110)]),document['removeEventListener']('mousemove',this[_0x1faa95(0x17b)]),document[_0x1faa95(0x13e)](_0x1faa95(0xfc),this[_0x1faa95(0x12a)],!![]),document[_0x1faa95(0x13e)](_0x1faa95(0x152),this[_0x1faa95(0x11b)],!![]),window[_0x1faa95(0x13e)](_0x1faa95(0xf2),this[_0x1faa95(0x125)]),this[_0x1faa95(0x164)]=![],this[_0x1faa95(0x167)](![]),this[_0x1faa95(0x136)]&&((_0x48be01=this[_0x1faa95(0x136)][_0x1faa95(0x160)])===null||_0x48be01===void 0?void 0:_0x48be01[_0x1faa95(0x114)](this['_clickMarker']),this[_0x1faa95(0x136)]['geometry']['dispose'](),this[_0x1faa95(0x136)][_0x1faa95(0x10c)][_0x1faa95(0xf1)](),this['_clickMarker']=null),document[_0x1faa95(0x178)]===this[_0x1faa95(0x121)]['viewport'][_0x1faa95(0x104)]&&document[_0x1faa95(0x111)]();}[_0x5bb79d(0x10e)](){const _0x26113f=_0x5bb79d,_0x430e8b=this[_0x26113f(0x14f)]();_0x430e8b['y']+=this[_0x26113f(0x156)];const _0xe10851=this[_0x26113f(0x174)]||this[_0x26113f(0x121)][_0x26113f(0x174)];if(_0xe10851){const _0x486341=new webgpu.Vector3(0x0,0x0,_0xe10851[_0x26113f(0x170)])['applyQuaternion'](this['getQuaternion']());_0x430e8b[_0x26113f(0x108)](_0x486341);}return {'position':_0x430e8b,'quaternion':this['getQuaternion']()[_0x26113f(0x15e)]()};}['setCameraDraggingState'](_0x29c994){const _0x440d54=_0x5bb79d,_0x28fc68=this[_0x440d54(0x121)][_0x440d54(0x12d)]['outer'];if(!_0x28fc68)return;_0x29c994?_0x28fc68[_0x440d54(0x159)][_0x440d54(0x118)]='1':delete _0x28fc68['dataset']['lyCameraDragging'];}[_0x5bb79d(0x168)](_0x4ed0be){const _0x1e8b28=_0x5bb79d;if(!this[_0x1e8b28(0x162)])return;const _0x56378a=this[_0x1e8b28(0xfa)]*_0x4ed0be,_0x53f83c=new webgpu.Vector3();if(this[_0x1e8b28(0x137)])_0x53f83c['z']-=0x1;if(this[_0x1e8b28(0x105)])_0x53f83c['z']+=0x1;if(this[_0x1e8b28(0x11c)])_0x53f83c['x']-=0x1;if(this[_0x1e8b28(0x102)])_0x53f83c['x']+=0x1;if(this['_targetPos']&&_0x53f83c[_0x1e8b28(0x16a)]()===0x0){const _0x484889=this[_0x1e8b28(0x14f)](),_0x29fb4f=this[_0x1e8b28(0x122)]['clone']();this['enableGravity']&&(_0x29fb4f['y']=_0x484889['y']);const _0x4a5595=_0x29fb4f[_0x1e8b28(0x146)](_0x484889),_0x431cd2=_0x4a5595[_0x1e8b28(0x128)]();if(_0x431cd2>0.1){_0x4a5595[_0x1e8b28(0x155)]();if(this['enableGravity']){const _0x483563=this['getQuaternion']()[_0x1e8b28(0x17a)](),_0x23a9cd=_0x4a5595[_0x1e8b28(0x15e)]()[_0x1e8b28(0x117)](_0x483563);_0x53f83c[_0x1e8b28(0x138)](_0x23a9cd);}else _0x53f83c[_0x1e8b28(0x138)](_0x4a5595);}else {this[_0x1e8b28(0x122)]=null;if(this[_0x1e8b28(0x136)])this[_0x1e8b28(0x136)][_0x1e8b28(0x12b)]=![];}}if(!this[_0x1e8b28(0x179)]){if(this[_0x1e8b28(0x140)])_0x53f83c['y']+=0x1;if(this[_0x1e8b28(0x151)])_0x53f83c['y']-=0x1;}let _0x58457e=new webgpu.Vector3();if(_0x53f83c[_0x1e8b28(0x16a)]()>0x0){_0x53f83c[_0x1e8b28(0x155)]()[_0x1e8b28(0x13c)](_0x56378a);const _0x286415=_0x53f83c[_0x1e8b28(0x15e)](),_0x4ccbaa=this[_0x1e8b28(0x11e)]();_0x58457e=_0x53f83c[_0x1e8b28(0x117)](_0x4ccbaa);if(this['enableGravity']){_0x58457e['y']=0x0;const _0x4d51b0=new webgpu.Quaternion()[_0x1e8b28(0x158)](new webgpu.Vector3(0x0,0x1,0x0),this['_yaw']),_0x462a67=_0x286415[_0x1e8b28(0x117)](_0x4d51b0);_0x58457e['x']=_0x462a67['x'],_0x58457e['z']=_0x462a67['z'];}}const _0x2855f1=this[_0x1e8b28(0x121)][_0x1e8b28(0xfd)],_0x2f15eb=this['getPosition'](),_0x2e4108=this[_0x1e8b28(0x142)]instanceof CapsuleColliderComponent?this[_0x1e8b28(0x142)]:null,_0x399a64=_0x2e4108?_0x2e4108[_0x1e8b28(0x13d)]:0.35,_0x4570d6=_0x2e4108?_0x2e4108['halfHeight']:0.9;if(this[_0x1e8b28(0x179)]){this[_0x1e8b28(0x107)]-=this[_0x1e8b28(0x176)]*_0x4ed0be;const _0x3a1246=_0x2f15eb[_0x1e8b28(0x15e)](),_0x3fec2d=_0x4570d6+_0x399a64+0.1,_0x36c68d=_0x2855f1[_0x1e8b28(0x106)]['lineTraceMulti'](_0x3a1246,_0x3a1246[_0x1e8b28(0x15e)]()[_0x1e8b28(0x108)](new webgpu.Vector3(0x0,-_0x3fec2d,0x0)),exports.CollisionChannel[_0x1e8b28(0x148)],_0x2e4108||undefined),_0x27e8f6=_0x36c68d[_0x1e8b28(0x109)](_0x4fc62c=>_0x4fc62c[_0x1e8b28(0x119)]);_0x27e8f6&&(this['_verticalVelocity']<=0x0&&(this[_0x1e8b28(0x107)]=Math[_0x1e8b28(0x145)](0x0,this[_0x1e8b28(0x107)]))),_0x58457e['y']+=this[_0x1e8b28(0x107)]*_0x4ed0be;}let _0x23d0cd=_0x58457e;if(_0x2855f1&&_0x2855f1[_0x1e8b28(0x106)]&&_0x58457e[_0x1e8b28(0x16a)]()>0.000001){const _0x4ce00f=_0x2f15eb[_0x1e8b28(0x15e)](),_0x219f56=_0x58457e[_0x1e8b28(0x128)]()+_0x399a64+0.1,_0x62b74a=_0x4ce00f[_0x1e8b28(0x15e)]()[_0x1e8b28(0x108)](_0x58457e[_0x1e8b28(0x15e)]()[_0x1e8b28(0x155)]()[_0x1e8b28(0x13c)](_0x219f56)),_0x3d274e=_0x2855f1[_0x1e8b28(0x106)]['lineTraceMulti'](_0x4ce00f,_0x62b74a,exports.CollisionChannel['Pawn'],_0x2e4108||undefined),_0x2de20b=_0x3d274e['find'](_0x3b293d=>_0x3b293d[_0x1e8b28(0x119)]);if(_0x2de20b&&_0x2de20b['blocking']){const _0x17ff77=_0x2de20b[_0x1e8b28(0x127)],_0x473c7c=Math['max'](0x0,_0x17ff77-_0x399a64-0.001);if(_0x473c7c<_0x58457e['length']()){const _0x4d9029=_0x58457e[_0x1e8b28(0x15e)]()[_0x1e8b28(0x155)](),_0x3c3879=_0x4d9029['clone']()['multiplyScalar'](_0x473c7c),_0x5a8424=_0x58457e[_0x1e8b28(0x15e)]()[_0x1e8b28(0x146)](_0x3c3879),_0x163f6f=_0x2de20b[_0x1e8b28(0xf9)],_0x56c93f=_0x5a8424[_0x1e8b28(0x15b)](_0x163f6f);let _0x58e37c=new webgpu.Vector3();_0x56c93f<0x0?_0x58e37c=_0x5a8424[_0x1e8b28(0x15e)]()[_0x1e8b28(0x146)](_0x163f6f[_0x1e8b28(0x15e)]()['multiplyScalar'](_0x56c93f)):_0x58e37c=_0x5a8424;const _0x1b1af3=_0x58e37c['length']();if(_0x1b1af3>0.001){const _0x10cad0=_0x4ce00f['clone']()['add'](_0x3c3879),_0x47740a=_0x1b1af3+_0x399a64+0.1,_0x34fec7=_0x10cad0[_0x1e8b28(0x15e)]()[_0x1e8b28(0x108)](_0x58e37c[_0x1e8b28(0x15e)]()['normalize']()['multiplyScalar'](_0x47740a)),_0x2c0629=_0x2855f1['physics'][_0x1e8b28(0x100)](_0x10cad0,_0x34fec7,exports.CollisionChannel[_0x1e8b28(0x148)],_0x2e4108||undefined),_0x2d7882=_0x2c0629[_0x1e8b28(0x109)](_0x48e82c=>_0x48e82c[_0x1e8b28(0x119)]);if(_0x2d7882&&_0x2d7882[_0x1e8b28(0x119)]){const _0x2ad131=_0x2d7882['distance'],_0x4d0ad6=Math[_0x1e8b28(0x145)](0x0,_0x2ad131-_0x399a64-0.001);_0x4d0ad6<_0x1b1af3&&_0x58e37c[_0x1e8b28(0x155)]()[_0x1e8b28(0x13c)](_0x4d0ad6);}}_0x23d0cd=_0x3c3879[_0x1e8b28(0x108)](_0x58e37c);}}}_0x23d0cd[_0x1e8b28(0x16a)]()>0x0&&(_0x2f15eb[_0x1e8b28(0x108)](_0x23d0cd),this[_0x1e8b28(0x13b)](_0x2f15eb)),this[_0x1e8b28(0x131)]();}[_0x5bb79d(0x131)](){const _0x427f9f=_0x5bb79d;if(!this[_0x427f9f(0x162)]||!this[_0x427f9f(0x174)])return;const _0xd8d535=this[_0x427f9f(0x14f)]();_0xd8d535['y']+=this[_0x427f9f(0x156)];const _0x151405=new webgpu.Vector3(0x0,0x0,this[_0x427f9f(0x174)][_0x427f9f(0x170)])[_0x427f9f(0x117)](this['getQuaternion']());_0xd8d535['add'](_0x151405),this[_0x427f9f(0x174)]['position'][_0x427f9f(0x138)](_0xd8d535),this['camera']['rotation']['copy'](this[_0x427f9f(0x14e)]());}}
|
|
150
|
+
const _0x19319d=_0x4c55;(function(_0x1450ec,_0x5eb60f){const _0x4c0431=_0x4c55,_0x2526b7=_0x1450ec();while(!![]){try{const _0x262953=parseInt(_0x4c0431(0x167))/0x1*(-parseInt(_0x4c0431(0x14e))/0x2)+parseInt(_0x4c0431(0x148))/0x3+-parseInt(_0x4c0431(0x16b))/0x4*(-parseInt(_0x4c0431(0xf8))/0x5)+parseInt(_0x4c0431(0x139))/0x6*(parseInt(_0x4c0431(0x108))/0x7)+parseInt(_0x4c0431(0x117))/0x8*(-parseInt(_0x4c0431(0x126))/0x9)+-parseInt(_0x4c0431(0x118))/0xa+parseInt(_0x4c0431(0x100))/0xb;if(_0x262953===_0x5eb60f)break;else _0x2526b7['push'](_0x2526b7['shift']());}catch(_0xdc11d7){_0x2526b7['push'](_0x2526b7['shift']());}}}(_0x3844,0xe1af7));function _0x3844(){const _0x1e5eb0=['halfHeight','parent','eyeHeight','onKeyUpDelegate','onPointerDownDelegate','pointerLockElement','updateCameraFromPawn','onWindowBlurDelegate','ArrowRight','outer','direction','_verticalVelocity','onKeyUp','5370372qzASaO','near','onBlur','_targetPos','onClick','viewport','351974EzFdCC','setQuaternion','setRotation','constructRootComponent','ShiftLeft','onPointerLockChange','KeyD','code','scene','Ignore','quaternion','buttons','rootComponent','multiply','ArrowDown','physics','lineTraceMulti','ShiftRight','collider','onPointerUpDelegate','ArrowLeft','lineTraceSingle','distance','moveSpeed','width','8mbYftx','onPointerMoveDelegate','length','exitPointerLock','312ltWXvm','normal','_moveRight','blocking','setPosition','enableGravity','sub','onKeyDownDelegate','world','syncRotation','onRawClickDelegate','remove','Pawn','getQuaternion','atan2','clientY','onContextMenu','_moveDown','enabled','onKeyDown','possess','add','button','normalize','asin','65165wWreLW','setFromAxisAngle','order','_moveBackward','onMouseUp','threeObject','dataset','_moveUp','15071232fJhjMS','_moveLeft','inputFilter','camera','KeyW','onContextMenuDelegate','requestPointerLock','visible','7gYNzyq','onPointerLockChangeDelegate','point','find','applyQuaternion','onMouseDown','setFromEuler','KeyA','copy','_isRightDragging','ArrowUp','unpossess','position','invert','movementY','732336ghviVh','10269100QVfcSO','material','clone','_yaw','geometry','dot','onMouseMove','max','clientX','Space','YXZ','app','getTargetCameraState','landToGround','81ATNEtF','setCollisionResponse','KeyS','_pitch','dispose','gravity','isClickEnabled','radius','controller','clamp','_moveForward','_clickMarker','lengthSq','parentActor','multiplyScalar','getPosition','ray','setCameraDraggingState','canvas','37686MeNbLE','lookSpeed'];_0x3844=function(){return _0x1e5eb0;};return _0x3844();}function _0x4c55(_0x2b5ed1,_0x239ecf){_0x2b5ed1=_0x2b5ed1-0xed;const _0x384450=_0x3844();let _0x4c558c=_0x384450[_0x2b5ed1];return _0x4c558c;}class FirstPerson extends Pawn{constructor(_0x22d617){const _0x57f0cf=_0x4c55;super(_0x22d617),this[_0x57f0cf(0x165)]=0xa,this[_0x57f0cf(0x13a)]=0.002,this[_0x57f0cf(0x170)]=!![],this[_0x57f0cf(0x12b)]=0x1e,this[_0x57f0cf(0x13d)]=0.7,this[_0x57f0cf(0x146)]=0x0,this[_0x57f0cf(0x11b)]=0x0,this[_0x57f0cf(0x129)]=0x0,this['_targetPos']=null,this[_0x57f0cf(0x131)]=null,this['_moveForward']=![],this['_moveBackward']=![],this[_0x57f0cf(0x101)]=![],this[_0x57f0cf(0x16d)]=![],this[_0x57f0cf(0xff)]=![],this[_0x57f0cf(0xf0)]=![],this['_isRightDragging']=![],this[_0x57f0cf(0xef)]=_0x39597a=>{const _0xd315c4=_0x57f0cf;if(!Pawn[_0xd315c4(0x102)]())return;_0x39597a['preventDefault']();},this[_0x57f0cf(0x14a)]=()=>{const _0x33a295=_0x57f0cf;this['_moveForward']=![],this['_moveBackward']=![],this[_0x33a295(0x101)]=![],this[_0x33a295(0x16d)]=![],this[_0x33a295(0xff)]=![],this[_0x33a295(0xf0)]=![],this['_isRightDragging']=![],this['setCameraDraggingState'](![]);},this[_0x57f0cf(0x10d)]=_0x503ef8=>{const _0x45c0a9=_0x57f0cf;if(!this[_0x45c0a9(0xf1)]||!Pawn[_0x45c0a9(0x102)]())return;if(_0x503ef8[_0x45c0a9(0xf5)]!==0x2)return;this[_0x45c0a9(0x111)]=!![],this[_0x45c0a9(0x137)](!![]);const _0x4569ca=this[_0x45c0a9(0x123)][_0x45c0a9(0x14d)][_0x45c0a9(0x138)];_0x4569ca&&document['pointerLockElement']!==_0x4569ca&&_0x4569ca[_0x45c0a9(0x106)]();},this[_0x57f0cf(0xfc)]=_0x139826=>{const _0x2128b7=_0x57f0cf;if(_0x139826['button']!==0x2)return;this['_isRightDragging']=![],this[_0x2128b7(0x137)](![]),document[_0x2128b7(0x140)]===this[_0x2128b7(0x123)][_0x2128b7(0x14d)][_0x2128b7(0x138)]&&document['exitPointerLock']();},this[_0x57f0cf(0x14c)]=_0x6f0e7e=>{const _0x5ddc82=_0x57f0cf;if(!this['enabled']||!Pawn[_0x5ddc82(0x102)]())return;if(_0x6f0e7e[_0x5ddc82(0xf5)]!==0x0)return;const _0x4076e3=this[_0x5ddc82(0x123)][_0x5ddc82(0x14d)]['canvas'];if(!_0x4076e3||!this[_0x5ddc82(0x103)])return;const _0x4aea79=_0x4076e3['getBoundingClientRect'](),_0x124beb=new webgpu.Vector2((_0x6f0e7e[_0x5ddc82(0x120)]-_0x4aea79['left'])/_0x4aea79[_0x5ddc82(0x166)]*0x2-0x1,-((_0x6f0e7e[_0x5ddc82(0xee)]-_0x4aea79['top'])/_0x4aea79['height'])*0x2+0x1),_0x311ee3=new webgpu.Raycaster();_0x311ee3['setFromCamera'](_0x124beb,this['camera']);const _0x4effa2=_0x311ee3[_0x5ddc82(0x136)]['origin']['clone'](),_0x4c0827=_0x4effa2['clone']()[_0x5ddc82(0xf4)](_0x311ee3[_0x5ddc82(0x136)][_0x5ddc82(0x145)][_0x5ddc82(0x11a)]()[_0x5ddc82(0x134)](0x3e8)),_0x34c6a0=this[_0x5ddc82(0x15a)]instanceof CapsuleColliderComponent?this[_0x5ddc82(0x15a)]:undefined,_0x3cd81a=this['app'][_0x5ddc82(0x173)][_0x5ddc82(0x15d)][_0x5ddc82(0x15e)](_0x4effa2,_0x4c0827,exports.CollisionChannel[_0x5ddc82(0x177)],_0x34c6a0);let _0x1fa424=null;for(const _0x3b951b of _0x3cd81a){if(!_0x3b951b[_0x5ddc82(0x16e)])continue;if(this[_0x5ddc82(0x103)]instanceof webgpu.PerspectiveCamera){if(_0x3b951b[_0x5ddc82(0x164)]<this[_0x5ddc82(0x103)][_0x5ddc82(0x149)]*1.5)continue;}const _0x4dc6f5=_0x3b951b[_0x5ddc82(0x160)],_0x470c77=_0x4dc6f5&&(_0x4dc6f5[_0x5ddc82(0x12c)]||_0x4dc6f5['parentActor']&&_0x4dc6f5[_0x5ddc82(0x133)][_0x5ddc82(0x12c)]),_0x211eb6=_0x3b951b['normal']['y']>0.5;if(!_0x211eb6&&!_0x470c77){let _0x5610fd=0.5;this['camera']instanceof webgpu.PerspectiveCamera&&(_0x5610fd=this[_0x5ddc82(0x103)][_0x5ddc82(0x149)]*0x2);if(_0x3b951b['distance']>_0x5610fd)break;continue;}_0x1fa424=_0x3b951b;break;}if(_0x1fa424){const _0x3a1fe1=_0x1fa424[_0x5ddc82(0x160)];if(_0x3a1fe1){if(_0x3a1fe1[_0x5ddc82(0x12c)])return;if(_0x3a1fe1['parentActor']&&_0x3a1fe1[_0x5ddc82(0x133)]['isClickEnabled'])return;}_0x1fa424[_0x5ddc82(0x16c)]['y']>0.5&&(this[_0x5ddc82(0x14b)]=_0x1fa424[_0x5ddc82(0x10a)]['clone'](),this[_0x5ddc82(0x131)]&&(this[_0x5ddc82(0x131)][_0x5ddc82(0x114)][_0x5ddc82(0x110)](this[_0x5ddc82(0x14b)]),this[_0x5ddc82(0x131)][_0x5ddc82(0x107)]=!![]));}},this[_0x57f0cf(0x153)]=()=>{},this[_0x57f0cf(0x11e)]=_0x52ecef=>{const _0x2251ba=_0x57f0cf,_0x3f3f31=(_0x52ecef[_0x2251ba(0x159)]&0x2)===0x2;if(_0x3f3f31&&!this[_0x2251ba(0x111)])this[_0x2251ba(0x111)]=!![],this[_0x2251ba(0x137)](!![]);else !_0x3f3f31&&this[_0x2251ba(0x111)]&&(this[_0x2251ba(0x111)]=![],this[_0x2251ba(0x137)](![]));if(document[_0x2251ba(0x140)]!==this[_0x2251ba(0x123)][_0x2251ba(0x14d)]['canvas']&&!_0x3f3f31)return;if(!this[_0x2251ba(0xf1)]||!Pawn[_0x2251ba(0x102)]())return;const _0x7b054=_0x52ecef['movementX']||0x0,_0x46df03=_0x52ecef[_0x2251ba(0x116)]||0x0;this[_0x2251ba(0x174)](),this[_0x2251ba(0x11b)]-=_0x7b054*this[_0x2251ba(0x13a)],this[_0x2251ba(0x129)]-=_0x46df03*this[_0x2251ba(0x13a)];const _0x3b5330=Math['PI']/0x2;this[_0x2251ba(0x129)]=webgpu.MathUtils[_0x2251ba(0x12f)](this[_0x2251ba(0x129)],-_0x3b5330+0.001,_0x3b5330-0.001);const _0x2bab48=new webgpu.Quaternion()[_0x2251ba(0xf9)](new webgpu.Vector3(0x0,0x1,0x0),this[_0x2251ba(0x11b)]);super[_0x2251ba(0x14f)](_0x2bab48),this[_0x2251ba(0x141)]();},this[_0x57f0cf(0xf2)]=_0x179a9d=>{const _0x2ef1f7=_0x57f0cf;if(!Pawn[_0x2ef1f7(0x102)]())return;if([_0x2ef1f7(0x112),_0x2ef1f7(0x104),_0x2ef1f7(0x162),_0x2ef1f7(0x10f),_0x2ef1f7(0x15c),_0x2ef1f7(0x128),'ArrowRight','KeyD']['includes'](_0x179a9d[_0x2ef1f7(0x155)])){this[_0x2ef1f7(0x14b)]=null;if(this[_0x2ef1f7(0x131)])this[_0x2ef1f7(0x131)][_0x2ef1f7(0x107)]=![];}switch(_0x179a9d[_0x2ef1f7(0x155)]){case _0x2ef1f7(0x112):case _0x2ef1f7(0x104):this[_0x2ef1f7(0x130)]=!![];break;case 'ArrowLeft':case _0x2ef1f7(0x10f):this[_0x2ef1f7(0x101)]=!![];break;case 'ArrowDown':case 'KeyS':this[_0x2ef1f7(0xfb)]=!![];break;case _0x2ef1f7(0x143):case 'KeyD':this['_moveRight']=!![];break;case _0x2ef1f7(0x121):!this[_0x2ef1f7(0x170)]&&(this[_0x2ef1f7(0xff)]=!![]);break;case _0x2ef1f7(0x152):case _0x2ef1f7(0x15f):this[_0x2ef1f7(0xf0)]=!![];break;}},this[_0x57f0cf(0x147)]=_0x337965=>{const _0x49bdd4=_0x57f0cf;switch(_0x337965[_0x49bdd4(0x155)]){case _0x49bdd4(0x112):case _0x49bdd4(0x104):this['_moveForward']=![];break;case _0x49bdd4(0x162):case _0x49bdd4(0x10f):this[_0x49bdd4(0x101)]=![];break;case 'ArrowDown':case _0x49bdd4(0x128):this[_0x49bdd4(0xfb)]=![];break;case _0x49bdd4(0x143):case _0x49bdd4(0x154):this[_0x49bdd4(0x16d)]=![];break;case 'Space':this[_0x49bdd4(0xff)]=![];break;case _0x49bdd4(0x152):case _0x49bdd4(0x15f):this[_0x49bdd4(0xf0)]=![];break;}};}[_0x19319d(0x151)](){const _0x228da5=_0x19319d,_0x1721d4=new CapsuleColliderComponent(this[_0x228da5(0x123)],0.35,0.55);return _0x1721d4['objectType']=exports.CollisionChannel[_0x228da5(0x177)],_0x1721d4[_0x228da5(0x127)](exports.CollisionChannel['Visibility'],exports.CollisionResponse[_0x228da5(0x157)]),_0x1721d4;}[_0x19319d(0x125)](){const _0x7af579=_0x19319d,_0xbeb3e4=this[_0x7af579(0x135)](),_0x475962=_0xbeb3e4[_0x7af579(0x11a)]()[_0x7af579(0xf4)](new webgpu.Vector3(0x0,-1e3,0x0)),_0x1b7878=this[_0x7af579(0x15a)],_0x9e79bf=this[_0x7af579(0x123)][_0x7af579(0x173)]['physics'][_0x7af579(0x163)](_0xbeb3e4,_0x475962,exports.CollisionChannel[_0x7af579(0x177)],_0x1b7878);if(_0x9e79bf&&_0x9e79bf[_0x7af579(0x16e)]){const _0x3f09e5=_0x1b7878[_0x7af579(0x13b)]+_0x1b7878[_0x7af579(0x12d)],_0x437015=_0x9e79bf[_0x7af579(0x10a)]['y']+_0x3f09e5;this['setPosition'](_0xbeb3e4['x'],_0x437015,_0xbeb3e4['z']),this[_0x7af579(0x146)]=0x0;}}['syncRotation'](){const _0x3737a2=_0x19319d,_0x1d5196=this['getQuaternion'](),_0x3ce588=new webgpu.Vector3(0x0,0x0,-1)['applyQuaternion'](_0x1d5196);this[_0x3737a2(0x11b)]=Math[_0x3737a2(0xed)](-_0x3ce588['x'],-_0x3ce588['z']);}[_0x19319d(0x150)](..._0x9542ab){const _0xcdbf44=_0x19319d,_0x3ff0e0=new webgpu.Quaternion();_0x9542ab[_0xcdbf44(0x169)]===0x1?_0x3ff0e0[_0xcdbf44(0x10e)](_0x9542ab[0x0]):_0x3ff0e0[_0xcdbf44(0x10e)](new webgpu.Euler(_0x9542ab[0x0],_0x9542ab[0x1],_0x9542ab[0x2],_0xcdbf44(0x122))),this[_0xcdbf44(0x14f)](_0x3ff0e0);}[_0x19319d(0x14f)](..._0x3a641c){const _0x16adc7=_0x19319d;let _0x25854d;_0x3a641c[_0x16adc7(0x169)]===0x1?_0x25854d=_0x3a641c[0x0]:_0x25854d=new webgpu.Quaternion(_0x3a641c[0x0],_0x3a641c[0x1],_0x3a641c[0x2],_0x3a641c[0x3]);const _0x4559cc=new webgpu.Vector3(0x0,0x0,-1)['applyQuaternion'](_0x25854d);let _0x1d4d03=Math[_0x16adc7(0xf7)](webgpu.MathUtils['clamp'](_0x4559cc['y'],-1,0x1));const _0x617b4=Math['PI']/0x2;_0x1d4d03=webgpu.MathUtils['clamp'](_0x1d4d03,-_0x617b4+0.001,_0x617b4-0.001);const _0x1bd35b=Math['atan2'](-_0x4559cc['x'],-_0x4559cc['z']);this[_0x16adc7(0x129)]=_0x1d4d03,this[_0x16adc7(0x11b)]=_0x1bd35b;const _0xcf42e7=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x0,0x1,0x0),this[_0x16adc7(0x11b)]);super[_0x16adc7(0x14f)](_0xcf42e7),this[_0x16adc7(0xf1)]&&this[_0x16adc7(0x141)]();}[_0x19319d(0xf3)](){const _0x467e29=_0x19319d;super[_0x467e29(0xf3)]();const _0x6a5160=this[_0x467e29(0x123)][_0x467e29(0x12e)];_0x6a5160&&(_0x6a5160['onRawClickDelegate']['add'](this['onClick']),_0x6a5160[_0x467e29(0x105)]['add'](this[_0x467e29(0xef)]),_0x6a5160[_0x467e29(0x109)][_0x467e29(0xf4)](this['onPointerLockChange']),_0x6a5160[_0x467e29(0x172)][_0x467e29(0xf4)](this[_0x467e29(0xf2)]),_0x6a5160[_0x467e29(0x13e)]['add'](this[_0x467e29(0x147)]),_0x6a5160[_0x467e29(0x168)]['add'](this[_0x467e29(0x11e)]),_0x6a5160[_0x467e29(0x13f)][_0x467e29(0xf4)](this['onMouseDown']),_0x6a5160[_0x467e29(0x161)]['add'](this[_0x467e29(0xfc)]),_0x6a5160[_0x467e29(0x142)][_0x467e29(0xf4)](this[_0x467e29(0x14a)]));this['rootComponent']&&this[_0x467e29(0x15a)][_0x467e29(0xfd)]&&(this[_0x467e29(0x15a)][_0x467e29(0xfd)]['rotation'][_0x467e29(0xfa)]=_0x467e29(0x122));const _0x1c1887=new webgpu.SphereGeometry(0.2,0x10,0x10),_0x9ae699=new webgpu.MeshBasicMaterial({'color':0xff00,'transparent':!![],'opacity':0.8});this[_0x467e29(0x131)]=new webgpu.Mesh(_0x1c1887,_0x9ae699),this[_0x467e29(0x131)][_0x467e29(0x107)]=![],this[_0x467e29(0x123)][_0x467e29(0x173)][_0x467e29(0x156)]['add'](this['_clickMarker']),this[_0x467e29(0x174)](),this[_0x467e29(0x141)]();}['unpossess'](){const _0x11d150=_0x19319d;var _0x313509;super[_0x11d150(0x113)]();const _0x1b260a=this[_0x11d150(0x123)][_0x11d150(0x12e)];_0x1b260a&&(_0x1b260a[_0x11d150(0x175)]['remove'](this[_0x11d150(0x14c)]),_0x1b260a[_0x11d150(0x105)][_0x11d150(0x176)](this[_0x11d150(0xef)]),_0x1b260a[_0x11d150(0x109)]['remove'](this[_0x11d150(0x153)]),_0x1b260a[_0x11d150(0x172)][_0x11d150(0x176)](this[_0x11d150(0xf2)]),_0x1b260a[_0x11d150(0x13e)][_0x11d150(0x176)](this[_0x11d150(0x147)]),_0x1b260a['onPointerMoveDelegate'][_0x11d150(0x176)](this['onMouseMove']),_0x1b260a['onPointerDownDelegate'][_0x11d150(0x176)](this['onMouseDown']),_0x1b260a[_0x11d150(0x161)][_0x11d150(0x176)](this[_0x11d150(0xfc)]),_0x1b260a['onWindowBlurDelegate'][_0x11d150(0x176)](this['onBlur'])),this[_0x11d150(0x111)]=![],this[_0x11d150(0x137)](![]),this[_0x11d150(0x131)]&&((_0x313509=this[_0x11d150(0x131)][_0x11d150(0x13c)])===null||_0x313509===void 0?void 0:_0x313509['remove'](this['_clickMarker']),this[_0x11d150(0x131)][_0x11d150(0x11c)][_0x11d150(0x12a)](),this['_clickMarker'][_0x11d150(0x119)]['dispose'](),this[_0x11d150(0x131)]=null),document[_0x11d150(0x140)]===this[_0x11d150(0x123)]['viewport'][_0x11d150(0x138)]&&document[_0x11d150(0x16a)]();}[_0x19319d(0x124)](){const _0x3d3020=_0x19319d,_0x4d1d53=this[_0x3d3020(0x135)]();_0x4d1d53['y']+=this[_0x3d3020(0x13d)];const _0x532b6d=this[_0x3d3020(0x103)]||this[_0x3d3020(0x123)][_0x3d3020(0x103)],_0x1810b6=this[_0x3d3020(0x178)](),_0x1054be=new webgpu.Quaternion()[_0x3d3020(0xf9)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x3d3020(0x129)]),_0x1e698a=_0x1810b6['clone']()[_0x3d3020(0x15b)](_0x1054be);if(_0x532b6d){const _0x5d8225=new webgpu.Vector3(0x0,0x0,_0x532b6d['near'])[_0x3d3020(0x10c)](_0x1e698a);_0x4d1d53[_0x3d3020(0xf4)](_0x5d8225);}return {'position':_0x4d1d53,'quaternion':_0x1e698a};}[_0x19319d(0x137)](_0xbedae){const _0x1a9d93=_0x19319d,_0x2311d5=this['app'][_0x1a9d93(0x14d)][_0x1a9d93(0x144)];if(!_0x2311d5)return;_0xbedae?_0x2311d5[_0x1a9d93(0xfe)]['lyCameraDragging']='1':delete _0x2311d5[_0x1a9d93(0xfe)]['lyCameraDragging'];}['tick'](_0x4a51f2){const _0x13638a=_0x19319d;if(!this[_0x13638a(0xf1)])return;const _0x5f4a28=this['moveSpeed']*_0x4a51f2,_0x4c29f5=new webgpu.Vector3();if(this[_0x13638a(0x130)])_0x4c29f5['z']-=0x1;if(this[_0x13638a(0xfb)])_0x4c29f5['z']+=0x1;if(this[_0x13638a(0x101)])_0x4c29f5['x']-=0x1;if(this[_0x13638a(0x16d)])_0x4c29f5['x']+=0x1;if(this[_0x13638a(0x14b)]&&_0x4c29f5['lengthSq']()===0x0){const _0x38aff8=this['getPosition'](),_0x151c8a=this[_0x13638a(0x14b)][_0x13638a(0x11a)]();this[_0x13638a(0x170)]&&(_0x151c8a['y']=_0x38aff8['y']);const _0x3d645c=_0x151c8a['sub'](_0x38aff8),_0x467be5=_0x3d645c[_0x13638a(0x169)]();if(_0x467be5>0.1){_0x3d645c[_0x13638a(0xf6)]();if(this[_0x13638a(0x170)]){const _0xe9ffb8=this['getQuaternion']()[_0x13638a(0x115)](),_0xec35ec=_0x3d645c[_0x13638a(0x11a)]()[_0x13638a(0x10c)](_0xe9ffb8);_0x4c29f5['copy'](_0xec35ec);}else _0x4c29f5[_0x13638a(0x110)](_0x3d645c);}else {this[_0x13638a(0x14b)]=null;if(this[_0x13638a(0x131)])this[_0x13638a(0x131)][_0x13638a(0x107)]=![];}}if(!this[_0x13638a(0x170)]){if(this[_0x13638a(0xff)])_0x4c29f5['y']+=0x1;if(this[_0x13638a(0xf0)])_0x4c29f5['y']-=0x1;}let _0x587255=new webgpu.Vector3();if(_0x4c29f5[_0x13638a(0x132)]()>0x0){_0x4c29f5['normalize']()[_0x13638a(0x134)](_0x5f4a28);const _0x4fc108=this[_0x13638a(0x178)]();_0x587255=_0x4c29f5['applyQuaternion'](_0x4fc108),this['enableGravity']&&(_0x587255['y']=0x0,_0x587255[_0x13638a(0x132)]()>0x0&&_0x587255['normalize']()[_0x13638a(0x134)](_0x5f4a28));}const _0x24994e=this[_0x13638a(0x123)][_0x13638a(0x173)],_0x39e8c0=this[_0x13638a(0x135)](),_0x588817=this[_0x13638a(0x15a)]instanceof CapsuleColliderComponent?this[_0x13638a(0x15a)]:null,_0x187a30=_0x588817?_0x588817[_0x13638a(0x12d)]:0.35,_0x2ed61e=_0x588817?_0x588817[_0x13638a(0x13b)]:0.9;if(this['enableGravity']){this[_0x13638a(0x146)]-=this['gravity']*_0x4a51f2;const _0x363eae=_0x39e8c0['clone'](),_0x240ae6=_0x2ed61e+_0x187a30+0.1,_0x2adf7f=_0x24994e['physics'][_0x13638a(0x15e)](_0x363eae,_0x363eae[_0x13638a(0x11a)]()[_0x13638a(0xf4)](new webgpu.Vector3(0x0,-_0x240ae6,0x0)),exports.CollisionChannel[_0x13638a(0x177)],_0x588817||undefined),_0x5e8fef=_0x2adf7f[_0x13638a(0x10b)](_0x86eb6d=>_0x86eb6d[_0x13638a(0x16e)]);_0x5e8fef&&(this['_verticalVelocity']<=0x0&&(this[_0x13638a(0x146)]=Math[_0x13638a(0x11f)](0x0,this[_0x13638a(0x146)]))),_0x587255['y']+=this[_0x13638a(0x146)]*_0x4a51f2;}let _0x54c109=_0x587255;if(_0x24994e&&_0x24994e[_0x13638a(0x15d)]&&_0x587255[_0x13638a(0x132)]()>0.000001){const _0xd08d77=_0x39e8c0[_0x13638a(0x11a)](),_0x230850=_0x587255[_0x13638a(0x169)]()+_0x187a30+0.1,_0x1b1884=_0xd08d77[_0x13638a(0x11a)]()[_0x13638a(0xf4)](_0x587255[_0x13638a(0x11a)]()[_0x13638a(0xf6)]()[_0x13638a(0x134)](_0x230850)),_0x5c8613=_0x24994e[_0x13638a(0x15d)][_0x13638a(0x15e)](_0xd08d77,_0x1b1884,exports.CollisionChannel[_0x13638a(0x177)],_0x588817||undefined),_0x139fdf=_0x5c8613['find'](_0x2644be=>_0x2644be['blocking']);if(_0x139fdf&&_0x139fdf[_0x13638a(0x16e)]){const _0x3bc404=_0x139fdf[_0x13638a(0x164)],_0x5ee8fd=Math['max'](0x0,_0x3bc404-_0x187a30-0.001);if(_0x5ee8fd<_0x587255[_0x13638a(0x169)]()){const _0x4205f1=_0x587255[_0x13638a(0x11a)]()['normalize'](),_0x2f1307=_0x4205f1[_0x13638a(0x11a)]()['multiplyScalar'](_0x5ee8fd),_0x3488bb=_0x587255['clone']()['sub'](_0x2f1307),_0x32159e=_0x139fdf[_0x13638a(0x16c)],_0x19fd07=_0x3488bb[_0x13638a(0x11d)](_0x32159e);let _0xb04d1f=new webgpu.Vector3();_0x19fd07<0x0?_0xb04d1f=_0x3488bb[_0x13638a(0x11a)]()[_0x13638a(0x171)](_0x32159e[_0x13638a(0x11a)]()[_0x13638a(0x134)](_0x19fd07)):_0xb04d1f=_0x3488bb;const _0x39ce4d=_0xb04d1f[_0x13638a(0x169)]();if(_0x39ce4d>0.001){const _0x4fe970=_0xd08d77['clone']()[_0x13638a(0xf4)](_0x2f1307),_0x52abab=_0x39ce4d+_0x187a30+0.1,_0x1563ba=_0x4fe970[_0x13638a(0x11a)]()[_0x13638a(0xf4)](_0xb04d1f[_0x13638a(0x11a)]()[_0x13638a(0xf6)]()['multiplyScalar'](_0x52abab)),_0xc009eb=_0x24994e[_0x13638a(0x15d)]['lineTraceMulti'](_0x4fe970,_0x1563ba,exports.CollisionChannel[_0x13638a(0x177)],_0x588817||undefined),_0x3f633e=_0xc009eb[_0x13638a(0x10b)](_0x312e6a=>_0x312e6a[_0x13638a(0x16e)]);if(_0x3f633e&&_0x3f633e[_0x13638a(0x16e)]){const _0x2587f6=_0x3f633e[_0x13638a(0x164)],_0x35a2d1=Math[_0x13638a(0x11f)](0x0,_0x2587f6-_0x187a30-0.001);_0x35a2d1<_0x39ce4d&&_0xb04d1f[_0x13638a(0xf6)]()[_0x13638a(0x134)](_0x35a2d1);}}_0x54c109=_0x2f1307[_0x13638a(0xf4)](_0xb04d1f);}}}_0x54c109[_0x13638a(0x132)]()>0x0&&(_0x39e8c0[_0x13638a(0xf4)](_0x54c109),this[_0x13638a(0x16f)](_0x39e8c0)),this[_0x13638a(0x141)]();}[_0x19319d(0x141)](){const _0x1c6f6d=_0x19319d;if(!this[_0x1c6f6d(0xf1)]||!this[_0x1c6f6d(0x103)])return;const _0x4bc464=this[_0x1c6f6d(0x135)]();_0x4bc464['y']+=this[_0x1c6f6d(0x13d)];const _0x4c589b=this[_0x1c6f6d(0x178)](),_0x4001bc=new webgpu.Quaternion()[_0x1c6f6d(0xf9)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x1c6f6d(0x129)]),_0x1b95bd=_0x4c589b[_0x1c6f6d(0x11a)]()[_0x1c6f6d(0x15b)](_0x4001bc),_0x16c4e9=new webgpu.Vector3(0x0,0x0,this[_0x1c6f6d(0x103)][_0x1c6f6d(0x149)])[_0x1c6f6d(0x10c)](_0x1b95bd);_0x4bc464[_0x1c6f6d(0xf4)](_0x16c4e9),this[_0x1c6f6d(0x103)][_0x1c6f6d(0x114)][_0x1c6f6d(0x110)](_0x4bc464),this[_0x1c6f6d(0x103)][_0x1c6f6d(0x158)][_0x1c6f6d(0x110)](_0x1b95bd),this[_0x1c6f6d(0x103)]['updateProjectionMatrix']();}}
|
|
140
151
|
|
|
141
|
-
|
|
152
|
+
const _0x32159a=_0x4b8a;(function(_0x4ba10c,_0x5ef916){const _0x1f6f96=_0x4b8a,_0x41858f=_0x4ba10c();while(!![]){try{const _0xa12f21=-parseInt(_0x1f6f96(0x109))/0x1*(parseInt(_0x1f6f96(0x117))/0x2)+parseInt(_0x1f6f96(0x124))/0x3*(-parseInt(_0x1f6f96(0x108))/0x4)+-parseInt(_0x1f6f96(0x128))/0x5*(-parseInt(_0x1f6f96(0x126))/0x6)+-parseInt(_0x1f6f96(0x120))/0x7*(parseInt(_0x1f6f96(0x112))/0x8)+-parseInt(_0x1f6f96(0x111))/0x9*(-parseInt(_0x1f6f96(0x110))/0xa)+parseInt(_0x1f6f96(0x118))/0xb*(-parseInt(_0x1f6f96(0x10f))/0xc)+parseInt(_0x1f6f96(0x11f))/0xd*(parseInt(_0x1f6f96(0x113))/0xe);if(_0xa12f21===_0x5ef916)break;else _0x41858f['push'](_0x41858f['shift']());}catch(_0x2260ad){_0x41858f['push'](_0x41858f['shift']());}}}(_0x4492,0xc6d36));function _0x4492(){const _0x96fb8a=['1988553KaYfnl','eyeHeight','1063386JzAuoc','updateCameraFromPawn','35tiPpHV','pointerLockElement','getRotation','clone','4mtmVZT','467rjhTvJ','moveSpeed','YXZ','position','rootComponent','unpossess','1095252jNfQWe','20ViVVAo','4732632hjgemc','576KXAVkN','322OulnvU','app','getTargetCameraState','copy','6432IMBORf','88WvddOY','threeObject','getPosition','camera','order','possess','constructRootComponent','815464qEXPeC','2506egnpvE','rotation','tick','viewport'];_0x4492=function(){return _0x96fb8a;};return _0x4492();}function _0x4b8a(_0x54c80e,_0x50e03b){_0x54c80e=_0x54c80e-0x107;const _0x4492f9=_0x4492();let _0x4b8a4a=_0x4492f9[_0x54c80e];return _0x4b8a4a;}class Spectator extends Pawn{constructor(_0x53084f){const _0x2869ad=_0x4b8a;super(_0x53084f),this[_0x2869ad(0x10a)]=0xa,this['lookSpeed']=0.002,this['eyeHeight']=0.7;}[_0x32159a(0x11e)](){return new SceneComponent(this['app']);}[_0x32159a(0x11d)](){const _0x2c3d1c=_0x32159a;super['possess'](),this['rootComponent']&&this[_0x2c3d1c(0x10d)]['threeObject']&&(this[_0x2c3d1c(0x10d)][_0x2c3d1c(0x119)][_0x2c3d1c(0x121)][_0x2c3d1c(0x11c)]=_0x2c3d1c(0x10b)),this[_0x2c3d1c(0x127)]();}[_0x32159a(0x10e)](){const _0x5c8a08=_0x32159a;super[_0x5c8a08(0x10e)](),document[_0x5c8a08(0x129)]===this[_0x5c8a08(0x114)][_0x5c8a08(0x123)]['canvas']&&document['exitPointerLock']();}[_0x32159a(0x115)](){const _0x580067=_0x32159a,_0x3cfffb=this[_0x580067(0x11a)]();return _0x3cfffb['y']+=this['eyeHeight'],{'position':_0x3cfffb,'quaternion':this['getQuaternion']()[_0x580067(0x107)]()};}[_0x32159a(0x122)](_0x5a490a){const _0x227cea=_0x32159a;if(!this['enabled'])return;this[_0x227cea(0x127)]();}[_0x32159a(0x127)](){const _0x3d08b7=_0x32159a;if(!this['enabled']||!this[_0x3d08b7(0x11b)])return;const _0x48be33=this[_0x3d08b7(0x11a)]();_0x48be33['y']+=this[_0x3d08b7(0x125)],this['camera'][_0x3d08b7(0x10c)][_0x3d08b7(0x116)](_0x48be33),this['camera'][_0x3d08b7(0x121)]['copy'](this[_0x3d08b7(0x12a)]());}}
|
|
142
153
|
|
|
143
|
-
const
|
|
154
|
+
function _0x144e(){const _0x4d83c9=['camera','controller','scale','destroy','forEach','onChangeEvent','detach','getMatrixInWorld','onTransforming','scaleSnap','decompose','getTargetScene','setTarget','unpossess','attach','value','removeEventListener','11574BQSehg','primaryTarget','matrixWorld','1744VpdFCx','control','quaternion','_control','enabled','900186txbLpm','showZ','3199IosrAg','onUpdateFunction','name','multiply','setSize','helperObject','onObjectChangeEvent','setSpace','onChange','markRenderStateDirty','setTranslationSnap','getMode','objectChange','onDraggingChanged','addEventListener','1778031NTJMmC','setAxis','getTranslationSnap','position','world','add','onDraggingChangedEvent','change','set','translationSnap','updateMatrixWorld','includes','targetMatrixMap','getHelper','setMode','4wMBPkQ','viewport','traverse','368525zGYxAt','694020SawRUu','getScaleSnap','TransformGizmo:Canvas\x20not\x20found','clear','onDraggingFunction','get','showX','enable','setScaleSnap','gizmoScene','targets','userData','clone','scene','setRotationSnap','Control\x20not\x20initialized','refresh','remove','2636442tIeXZR','isTickEnabled','invert','getRotationnSnap'];_0x144e=function(){return _0x4d83c9;};return _0x144e();}function _0x3109(_0x29708b,_0x1669ae){_0x29708b=_0x29708b-0x12a;const _0x144e1c=_0x144e();let _0x310946=_0x144e1c[_0x29708b];return _0x310946;}const _0x36a260=_0x3109;(function(_0x18204d,_0x59a5c3){const _0x49a4d5=_0x3109,_0x4e98b3=_0x18204d();while(!![]){try{const _0x4f45ad=-parseInt(_0x49a4d5(0x13f))/0x1+parseInt(_0x49a4d5(0x16b))/0x2+parseInt(_0x49a4d5(0x147))/0x3*(-parseInt(_0x49a4d5(0x167))/0x4)+-parseInt(_0x49a4d5(0x16a))/0x5+parseInt(_0x49a4d5(0x12a))/0x6+parseInt(_0x49a4d5(0x149))/0x7*(parseInt(_0x49a4d5(0x142))/0x8)+-parseInt(_0x49a4d5(0x158))/0x9;if(_0x4f45ad===_0x59a5c3)break;else _0x4e98b3['push'](_0x4e98b3['shift']());}catch(_0x43c5a7){_0x4e98b3['push'](_0x4e98b3['shift']());}}}(_0x144e,0x4a027));class TransformGizmo extends Pawn{get['control'](){const _0xd6d60d=_0x3109;if(!this[_0xd6d60d(0x145)])throw new Error(_0xd6d60d(0x17a));return this[_0xd6d60d(0x145)];}constructor(_0x52e252,_0x4c15bb){const _0x45e2a1=_0x3109;var _0x42033a;super(_0x52e252),this['_control']=null,this['helperObject']=new webgpu.Object3D(),this[_0x45e2a1(0x175)]=[],this[_0x45e2a1(0x140)]=null,this[_0x45e2a1(0x164)]=new Map(),this[_0x45e2a1(0x174)]=null,this['onDraggingChangedEvent']=_0x221f71=>{const _0x3a6c96=_0x45e2a1;this[_0x3a6c96(0x156)](_0x221f71);},this[_0x45e2a1(0x14f)]=()=>{this['onObjectChanged']();},this[_0x45e2a1(0x133)]=()=>{const _0x454fe1=_0x45e2a1;this[_0x454fe1(0x151)]();},this[_0x45e2a1(0x14a)]=null,this[_0x45e2a1(0x16f)]=null;let _0x2d97c1=_0x52e252[_0x45e2a1(0x168)]['canvas'];if(!_0x2d97c1)throw new Error(_0x45e2a1(0x16d));this['_control']=new TransformControls_js.TransformControls(_0x52e252[_0x45e2a1(0x12e)],_0x2d97c1),this[_0x45e2a1(0x143)][_0x45e2a1(0x165)]()[_0x45e2a1(0x169)](_0xb0d457=>{const _0x46a121=_0x45e2a1;_0xb0d457[_0x46a121(0x176)]['rayIgnored']=!![];}),this[_0x45e2a1(0x14e)][_0x45e2a1(0x14b)]='TransformHelperObject',this['gizmoScene']=(_0x42033a=_0x4c15bb===null||_0x4c15bb===void 0?void 0:_0x4c15bb['helperScene'])!==null&&_0x42033a!==void 0?_0x42033a:null;}[_0x36a260(0x139)](){const _0x4cc18d=_0x36a260;var _0x34e92e;return (_0x34e92e=this[_0x4cc18d(0x174)])!==null&&_0x34e92e!==void 0?_0x34e92e:this['controller'][_0x4cc18d(0x15c)][_0x4cc18d(0x178)];}['possess'](){const _0x35a64d=_0x36a260,_0x20bb18=this[_0x35a64d(0x139)]();_0x20bb18['add'](this['helperObject']),_0x20bb18[_0x35a64d(0x15d)](this[_0x35a64d(0x143)][_0x35a64d(0x165)]()),this['control'][_0x35a64d(0x13c)](this[_0x35a64d(0x14e)]),this[_0x35a64d(0x143)][_0x35a64d(0x157)]('change',this['onChangeEvent']),this[_0x35a64d(0x143)][_0x35a64d(0x157)]('dragging-changed',this[_0x35a64d(0x15e)]),this[_0x35a64d(0x143)][_0x35a64d(0x157)](_0x35a64d(0x155),this[_0x35a64d(0x14f)]);}[_0x36a260(0x13b)](){const _0x149bfd=_0x36a260;this[_0x149bfd(0x143)][_0x149bfd(0x13e)](_0x149bfd(0x15f),this['onChangeEvent']),this[_0x149bfd(0x143)][_0x149bfd(0x13e)]('dragging-changed',this['onDraggingChangedEvent']),this['control'][_0x149bfd(0x13e)](_0x149bfd(0x155),this['onObjectChangeEvent']),this[_0x149bfd(0x143)][_0x149bfd(0x134)]();const _0x586287=this[_0x149bfd(0x139)]();_0x586287[_0x149bfd(0x17c)](this['helperObject']),_0x586287[_0x149bfd(0x17c)](this[_0x149bfd(0x143)][_0x149bfd(0x165)]());}['getTargetCameraState'](){const _0x57e143=_0x36a260;return {'position':this['camera'][_0x57e143(0x15b)][_0x57e143(0x177)](),'quaternion':this[_0x57e143(0x12e)][_0x57e143(0x144)][_0x57e143(0x177)]()};}[_0x36a260(0x17b)](){const _0x3664dd=_0x36a260;if(!this[_0x3664dd(0x140)])return;this[_0x3664dd(0x143)][_0x3664dd(0x134)]();const _0x4f366d=this['getTargetScene']();_0x4f366d[_0x3664dd(0x17c)](this['helperObject']),this[_0x3664dd(0x164)][_0x3664dd(0x16e)]();let _0x5db814=this['primaryTarget'][_0x3664dd(0x135)]();_0x5db814[_0x3664dd(0x138)](this[_0x3664dd(0x14e)][_0x3664dd(0x15b)],this['helperObject'][_0x3664dd(0x144)],this['helperObject']['scale']),_0x4f366d['add'](this[_0x3664dd(0x143)][_0x3664dd(0x165)]()),_0x4f366d['add'](this[_0x3664dd(0x14e)]),this[_0x3664dd(0x143)]['attach'](this['helperObject']),this['targets'][_0x3664dd(0x132)](_0x4502ea=>{const _0x111d6e=_0x3664dd,_0x5ae9d9=_0x4502ea[_0x111d6e(0x135)](),_0xf4552=_0x5db814[_0x111d6e(0x177)]()[_0x111d6e(0x12c)]()[_0x111d6e(0x14c)](_0x5ae9d9);this[_0x111d6e(0x164)][_0x111d6e(0x160)](_0x4502ea,_0xf4552);});}[_0x36a260(0x151)](){const _0xeb83c0=_0x36a260;this[_0xeb83c0(0x12f)]['viewPort'][_0xeb83c0(0x152)]();}[_0x36a260(0x156)](_0x551844){const _0x17be21=_0x36a260;if(this[_0x17be21(0x140)]){let _0xeafe72=this['primaryTarget'][_0x17be21(0x135)]();_0xeafe72['decompose'](this[_0x17be21(0x14e)][_0x17be21(0x15b)],this['helperObject']['quaternion'],this[_0x17be21(0x14e)][_0x17be21(0x130)]);}this[_0x17be21(0x16f)]&&this[_0x17be21(0x16f)](_0x551844[_0x17be21(0x13d)]);}['onObjectChanged'](){const _0x6bb531=_0x36a260;if(this['primaryTarget']){this[_0x6bb531(0x14e)][_0x6bb531(0x162)](!![]);const _0x564386=this[_0x6bb531(0x14e)][_0x6bb531(0x141)][_0x6bb531(0x177)]();this[_0x6bb531(0x140)]['onTransforming'](_0x564386),this[_0x6bb531(0x175)][_0x6bb531(0x132)](_0x53453f=>{const _0x3dbd08=_0x6bb531,_0x4a3fa9=this['targetMatrixMap'][_0x3dbd08(0x170)](_0x53453f);if(_0x4a3fa9){const _0x3a7d13=new webgpu.Matrix4()['multiplyMatrices'](_0x564386,_0x4a3fa9);_0x53453f[_0x3dbd08(0x136)](_0x3a7d13);}});}this[_0x6bb531(0x14a)]&&this[_0x6bb531(0x14a)]();}set[_0x36a260(0x172)](_0x112ab9){const _0x331674=_0x36a260;this[_0x331674(0x143)][_0x331674(0x146)]=_0x112ab9;}[_0x36a260(0x13a)](_0x3c71f5,_0x32f1ec,_0x414858=null,_0x40dde0=null){const _0x5764b8=_0x36a260;this[_0x5764b8(0x164)][_0x5764b8(0x16e)]();let _0x4c685b=_0x3c71f5[_0x5764b8(0x135)]();_0x4c685b[_0x5764b8(0x138)](this[_0x5764b8(0x14e)]['position'],this[_0x5764b8(0x14e)]['quaternion'],this['helperObject'][_0x5764b8(0x130)]);const _0x30353d=this['getTargetScene']();_0x30353d[_0x5764b8(0x15d)](this[_0x5764b8(0x143)][_0x5764b8(0x165)]()),this[_0x5764b8(0x140)]=_0x3c71f5,this[_0x5764b8(0x175)]=_0x32f1ec,this[_0x5764b8(0x175)][_0x5764b8(0x132)](_0x3c19e0=>{const _0x21a3ec=_0x5764b8,_0x4f795a=_0x3c19e0['getMatrixInWorld'](),_0xac6a5a=_0x4c685b[_0x21a3ec(0x177)]()[_0x21a3ec(0x12c)]()[_0x21a3ec(0x14c)](_0x4f795a);this[_0x21a3ec(0x164)][_0x21a3ec(0x160)](_0x3c19e0,_0xac6a5a);}),_0x414858&&(this[_0x5764b8(0x14a)]=_0x414858),_0x40dde0&&(this['onDraggingFunction']=_0x40dde0),this['isTickEnabled']=!![];}[_0x36a260(0x154)](){const _0x4ab88c=_0x36a260;return this['control'][_0x4ab88c(0x154)]();}[_0x36a260(0x166)](_0x1bde8a){const _0x37f0bd=_0x36a260;this[_0x37f0bd(0x143)][_0x37f0bd(0x166)](_0x1bde8a);}[_0x36a260(0x150)](_0x52b59c){const _0x348e9c=_0x36a260;this['control'][_0x348e9c(0x150)](_0x52b59c);}[_0x36a260(0x159)](_0x2665a7){const _0x50f81d=_0x36a260;this[_0x50f81d(0x143)][_0x50f81d(0x171)]=_0x2665a7?_0x2665a7===null||_0x2665a7===void 0?void 0:_0x2665a7[_0x50f81d(0x163)]('X'):![],this[_0x50f81d(0x143)]['showY']=_0x2665a7?_0x2665a7===null||_0x2665a7===void 0?void 0:_0x2665a7['includes']('Y'):![],this[_0x50f81d(0x143)][_0x50f81d(0x148)]=_0x2665a7?_0x2665a7===null||_0x2665a7===void 0?void 0:_0x2665a7[_0x50f81d(0x163)]('Z'):![];}[_0x36a260(0x14d)](_0x3951e7){const _0x88faa3=_0x36a260;this[_0x88faa3(0x143)]['setSize'](_0x3951e7);}[_0x36a260(0x15a)](){const _0x580443=_0x36a260;return this[_0x580443(0x143)][_0x580443(0x161)];}[_0x36a260(0x153)](_0x172174){const _0x1e897e=_0x36a260;this[_0x1e897e(0x143)]['setTranslationSnap'](_0x172174);}[_0x36a260(0x12d)](){const _0x156847=_0x36a260;return this[_0x156847(0x143)]['rotationSnap'];}[_0x36a260(0x179)](_0x58a2d3){const _0xec6e18=_0x36a260;this[_0xec6e18(0x143)][_0xec6e18(0x179)](_0x58a2d3);}[_0x36a260(0x16c)](){const _0x652749=_0x36a260;return this[_0x652749(0x143)][_0x652749(0x137)];}['setScaleSnap'](_0x530933){const _0x1b1063=_0x36a260;this[_0x1b1063(0x143)][_0x1b1063(0x173)](_0x530933);}[_0x36a260(0x131)](){const _0x2eaec5=_0x36a260;var _0x5b8c7e;this[_0x2eaec5(0x12b)]=![],this[_0x2eaec5(0x13b)](),this[_0x2eaec5(0x164)][_0x2eaec5(0x16e)](),this['targets']=[],this['primaryTarget']=null,this[_0x2eaec5(0x14a)]=null,this['onDraggingFunction']=null,(_0x5b8c7e=this[_0x2eaec5(0x145)])===null||_0x5b8c7e===void 0?void 0:_0x5b8c7e['dispose'](),this[_0x2eaec5(0x145)]=null,super[_0x2eaec5(0x131)]();}}
|
|
144
155
|
|
|
145
|
-
const
|
|
156
|
+
const _0x402ded=_0x3392;(function(_0x3e10dc,_0x6d58ab){const _0x1084b4=_0x3392,_0x1b3fb2=_0x3e10dc();while(!![]){try{const _0x459553=-parseInt(_0x1084b4(0x186))/0x1+-parseInt(_0x1084b4(0x190))/0x2+parseInt(_0x1084b4(0x1a2))/0x3+-parseInt(_0x1084b4(0x17f))/0x4+parseInt(_0x1084b4(0x183))/0x5*(parseInt(_0x1084b4(0x18b))/0x6)+-parseInt(_0x1084b4(0x18a))/0x7+parseInt(_0x1084b4(0x19b))/0x8;if(_0x459553===_0x6d58ab)break;else _0x1b3fb2['push'](_0x1b3fb2['shift']());}catch(_0x392e7b){_0x1b3fb2['push'](_0x1b3fb2['shift']());}}}(_0x3e79,0x641f2));function _0x3e79(){const _0x1a25cf=['negate','abs','2088135CjAaFX','28614TMkSpX','expandByPoint','name','invert','BoxColliderDebug','565974AZRSqK','subVectors','add','makeEmpty','matrixWorld','applyMatrix4','debugOpacity','copy','onDebugTick','destroyDebugObject','halfExtents','12159832taocBh','BoxColliderDebugMesh','_debugMesh','debugColor','scale','normalize','multiplyScalar','1562943sMimQe','BoxColliderComponent','set','2061584FXGnMa','createDebugObject','raycast','_halfExtents','75TETuke','intersectRayAabbRaw','threeObject','605709CaTGUP','clone'];_0x3e79=function(){return _0x1a25cf;};return _0x3e79();}function _0x3392(_0x3feea3,_0x5c0dea){_0x3feea3=_0x3feea3-0x17d;const _0x3e7936=_0x3e79();let _0x33922a=_0x3e7936[_0x3feea3];return _0x33922a;}class BoxColliderComponent extends ColliderComponent{get[_0x402ded(0x19a)](){const _0x3ae70a=_0x402ded;return this[_0x3ae70a(0x182)];}constructor(_0x2d0af3,_0x12cf8a=new webgpu.Vector3(0.5,0.5,0.5),_0x450b7b){const _0x500755=_0x402ded;super(_0x2d0af3,_0x450b7b),this[_0x500755(0x19d)]=null,this[_0x500755(0x182)]=new webgpu.Vector3(_0x12cf8a['x'],_0x12cf8a['y'],_0x12cf8a['z']),this['name']=_0x500755(0x17d);}['getWorldAABB'](_0xee065e=new webgpu.Box3()){const _0x567813=_0x402ded,_0x35c293=this['getWorldMatrix'](),_0x2f02b1=this[_0x567813(0x182)]['x'],_0x34fba6=this[_0x567813(0x182)]['y'],_0x2128c0=this[_0x567813(0x182)]['z'];_0xee065e[_0x567813(0x193)]();const _0x129856=[new webgpu.Vector3(-_0x2f02b1,-_0x34fba6,-_0x2128c0),new webgpu.Vector3(-_0x2f02b1,-_0x34fba6,_0x2128c0),new webgpu.Vector3(-_0x2f02b1,_0x34fba6,-_0x2128c0),new webgpu.Vector3(-_0x2f02b1,_0x34fba6,_0x2128c0),new webgpu.Vector3(_0x2f02b1,-_0x34fba6,-_0x2128c0),new webgpu.Vector3(_0x2f02b1,-_0x34fba6,_0x2128c0),new webgpu.Vector3(_0x2f02b1,_0x34fba6,-_0x2128c0),new webgpu.Vector3(_0x2f02b1,_0x34fba6,_0x2128c0)];for(const _0x1ca876 of _0x129856){_0x1ca876[_0x567813(0x195)](_0x35c293),_0xee065e[_0x567813(0x18c)](_0x1ca876);}return _0xee065e;}[_0x402ded(0x180)](){const _0x48cf7c=_0x402ded,_0x12d528=new webgpu.Object3D();_0x12d528['name']=_0x48cf7c(0x18f);const _0x14e886=new webgpu.BoxGeometry(0x1,0x1,0x1),_0x28876b=new webgpu.MeshBasicMaterial({'color':this[_0x48cf7c(0x19e)],'wireframe':!![],'transparent':!![],'opacity':this[_0x48cf7c(0x196)]}),_0x34e50e=new webgpu.Mesh(_0x14e886,_0x28876b);return _0x34e50e[_0x48cf7c(0x18d)]=_0x48cf7c(0x19c),_0x12d528['add'](_0x34e50e),this[_0x48cf7c(0x19d)]=_0x34e50e,this[_0x48cf7c(0x198)](0x0),_0x12d528;}[_0x402ded(0x199)](_0x2b2802){const _0x2696a8=_0x402ded;this[_0x2696a8(0x19d)]=null;}[_0x402ded(0x198)](_0xaaa6ca){const _0x4ba787=_0x402ded;if(!this[_0x4ba787(0x19d)])return;this[_0x4ba787(0x19d)][_0x4ba787(0x19f)][_0x4ba787(0x17e)](this['_halfExtents']['x']*0x2,this[_0x4ba787(0x182)]['y']*0x2,this['_halfExtents']['z']*0x2);}[_0x402ded(0x181)](_0x4227f3,_0x5f42df,_0x568ac9){const _0x22c591=_0x402ded;if(!this['threeObject'])return null;const _0x15f568=this[_0x22c591(0x185)][_0x22c591(0x194)][_0x22c591(0x187)]()[_0x22c591(0x18e)](),_0x2b5e72=_0x4227f3['clone']()[_0x22c591(0x195)](_0x15f568),_0x448c69=_0x5f42df[_0x22c591(0x187)]()['transformDirection'](_0x15f568),_0x41f97a=_0x4227f3[_0x22c591(0x187)]()[_0x22c591(0x192)](_0x5f42df),_0x1ecf09=_0x41f97a[_0x22c591(0x195)](_0x15f568);_0x448c69[_0x22c591(0x191)](_0x1ecf09,_0x2b5e72);const _0x2de1a0=this[_0x22c591(0x182)][_0x22c591(0x187)]()[_0x22c591(0x188)](),_0x3b63b5=this[_0x22c591(0x182)][_0x22c591(0x187)](),_0x38c560=this[_0x22c591(0x184)](_0x2b5e72,_0x448c69,_0x2de1a0,_0x3b63b5);if(!_0x38c560)return null;if(_0x38c560['t']>_0x568ac9)return null;const _0x4ecfef=_0x4227f3['clone']()[_0x22c591(0x192)](_0x5f42df[_0x22c591(0x187)]()[_0x22c591(0x1a1)](_0x38c560['t'])),_0x2c0d41=_0x38c560['normal'],_0x32288f=new webgpu.Matrix4()[_0x22c591(0x197)](this['threeObject'][_0x22c591(0x194)])[_0x22c591(0x18e)]()['transpose'](),_0x45a11b=_0x2c0d41[_0x22c591(0x195)](_0x32288f)[_0x22c591(0x1a0)]();return {'point':_0x4ecfef,'normal':_0x45a11b,'distance':_0x38c560['t']};}[_0x402ded(0x184)](_0x601e8e,_0x5c45cd,_0x445394,_0xe0e98a){const _0x81e76f=_0x402ded;let _0x22801a=-Infinity,_0x885803=Infinity;const _0x5c3151=new webgpu.Vector3(),_0x31f52f=1e-8,_0x51151c=_0x4ef0a2=>{const _0x192977=_0x3392,_0x17d521=_0x601e8e[_0x4ef0a2],_0x5824a1=_0x5c45cd[_0x4ef0a2],_0x48c6f9=_0x445394[_0x4ef0a2],_0x224b33=_0xe0e98a[_0x4ef0a2];if(Math[_0x192977(0x189)](_0x5824a1)<_0x31f52f){if(_0x17d521<_0x48c6f9||_0x17d521>_0x224b33)return ![];return !![];}const _0x14127a=0x1/_0x5824a1;let _0x55e09e=(_0x48c6f9-_0x17d521)*_0x14127a,_0x74e771=(_0x224b33-_0x17d521)*_0x14127a;if(_0x55e09e>_0x74e771){const _0x92f6e0=_0x55e09e;_0x55e09e=_0x74e771,_0x74e771=_0x92f6e0;}if(_0x55e09e>_0x22801a){_0x22801a=_0x55e09e,_0x5c3151[_0x192977(0x17e)](0x0,0x0,0x0),_0x5c3151[_0x4ef0a2]=_0x5824a1<0x0?0x1:-1;if(_0x5824a1>0x0)_0x5c3151[_0x4ef0a2]=-1;else _0x5c3151[_0x4ef0a2]=0x1;}_0x74e771<_0x885803&&(_0x885803=_0x74e771);if(_0x22801a>_0x885803)return ![];return !![];};if(!_0x51151c('x')||!_0x51151c('y')||!_0x51151c('z'))return null;if(_0x885803<0x0)return null;if(_0x22801a<0x0)return {'t':0x0,'normal':_0x5c45cd['clone']()[_0x81e76f(0x188)]()[_0x81e76f(0x1a0)]()};return {'t':_0x22801a,'normal':_0x5c3151};}}
|
|
146
157
|
|
|
147
|
-
function
|
|
158
|
+
function _0x5ea2(){const _0x562b61=['destroyDebugObject','946176lUPYWF','123UtUaqX','debugOpacity','debugColor','max','SphereColliderDebug','13322757NzfbGX','set','onDebugTick','add','51660oImoBh','2257890HshCXj','SphereColliderDebugMesh','_debugMesh','27hXaKCs','color','radius','material','createDebugObject','1780476QIajHC','1320471BtTvAg','abs','opacity','6mqWpFP','name','_radius','transparent','scale','setFromCenterAndSize','setHex','7836755dgBJWJ'];_0x5ea2=function(){return _0x562b61;};return _0x5ea2();}const _0x440436=_0x4983;(function(_0x50fd74,_0xff83b1){const _0xedea06=_0x4983,_0x303999=_0x50fd74();while(!![]){try{const _0x81c350=-parseInt(_0xedea06(0x135))/0x1+-parseInt(_0xedea06(0x134))/0x2+-parseInt(_0xedea06(0x142))/0x3*(-parseInt(_0xedea06(0x14b))/0x4)+parseInt(_0xedea06(0x13f))/0x5+-parseInt(_0xedea06(0x138))/0x6*(-parseInt(_0xedea06(0x147))/0x7)+-parseInt(_0xedea06(0x141))/0x8+parseInt(_0xedea06(0x14f))/0x9*(-parseInt(_0xedea06(0x14c))/0xa);if(_0x81c350===_0xff83b1)break;else _0x303999['push'](_0x303999['shift']());}catch(_0x194872){_0x303999['push'](_0x303999['shift']());}}}(_0x5ea2,0xf29e9));function _0x4983(_0xb70c6,_0x125365){_0xb70c6=_0xb70c6-0x131;const _0x5ea2ff=_0x5ea2();let _0x49834e=_0x5ea2ff[_0xb70c6];return _0x49834e;}class SphereColliderComponent extends ColliderComponent{get[_0x440436(0x131)](){const _0x55f061=_0x440436;return this[_0x55f061(0x13a)];}constructor(_0x1e26b3,_0x40759e=0.5,_0x2a6c08){const _0x4e77be=_0x440436;super(_0x1e26b3,_0x2a6c08),this[_0x4e77be(0x14e)]=null,this[_0x4e77be(0x13a)]=_0x40759e,this[_0x4e77be(0x139)]='SphereColliderComponent';}['getWorldAABB'](_0x438552=new webgpu.Box3()){const _0x29d28f=_0x440436,_0x4caf89=this['getWorldPosition'](),_0x4aa2da=this['getWorldScale'](),_0x3c07c3=Math['max'](Math['abs'](_0x4aa2da['x']),Math[_0x29d28f(0x136)](_0x4aa2da['y']),Math[_0x29d28f(0x136)](_0x4aa2da['z'])),_0x3058f6=Math['max'](0x0,this['_radius'])*_0x3c07c3,_0x230a4b=new webgpu.Vector3(_0x3058f6*0x2,_0x3058f6*0x2,_0x3058f6*0x2);return _0x438552[_0x29d28f(0x13d)](_0x4caf89,_0x230a4b),_0x438552;}[_0x440436(0x133)](){const _0x47cb63=_0x440436,_0x5e3d6a=new webgpu.Object3D();_0x5e3d6a[_0x47cb63(0x139)]=_0x47cb63(0x146);const _0x6b5f63=new webgpu.SphereGeometry(0x1,0x18,0x10),_0x427672=new webgpu.MeshBasicMaterial({'color':this[_0x47cb63(0x144)],'wireframe':!![],'transparent':!![],'opacity':this[_0x47cb63(0x143)]}),_0xef8d49=new webgpu.Mesh(_0x6b5f63,_0x427672);return _0xef8d49[_0x47cb63(0x139)]=_0x47cb63(0x14d),_0x5e3d6a[_0x47cb63(0x14a)](_0xef8d49),this[_0x47cb63(0x14e)]=_0xef8d49,this[_0x47cb63(0x149)](0x0),_0x5e3d6a;}[_0x440436(0x140)](_0x27e1fe){const _0x3124c5=_0x440436;this[_0x3124c5(0x14e)]=null;}[_0x440436(0x149)](_0x44be48){const _0x5b8e8a=_0x440436,_0x49f96f=this[_0x5b8e8a(0x14e)];if(!_0x49f96f)return;const _0xf74a57=this['getWorldScale'](),_0x5bf0a9=Math[_0x5b8e8a(0x136)](_0xf74a57['x'])>1e-8?_0xf74a57['x']:0x1,_0x150a80=Math[_0x5b8e8a(0x136)](_0xf74a57['y'])>1e-8?_0xf74a57['y']:0x1,_0x3d7008=Math['abs'](_0xf74a57['z'])>1e-8?_0xf74a57['z']:0x1,_0x3f3d8c=Math[_0x5b8e8a(0x145)](Math[_0x5b8e8a(0x136)](_0x5bf0a9),Math[_0x5b8e8a(0x136)](_0x150a80),Math['abs'](_0x3d7008)),_0x478716=Math[_0x5b8e8a(0x145)](0x0,this[_0x5b8e8a(0x13a)])*_0x3f3d8c;_0x49f96f[_0x5b8e8a(0x13c)][_0x5b8e8a(0x148)](_0x478716/_0x5bf0a9,_0x478716/_0x150a80,_0x478716/_0x3d7008);}['onDebugStyleChanged'](){const _0x372a4d=_0x440436,_0x2305ee=this[_0x372a4d(0x14e)];if(!_0x2305ee)return;const _0x1add35=_0x2305ee[_0x372a4d(0x132)];_0x1add35[_0x372a4d(0x150)][_0x372a4d(0x13e)](this[_0x372a4d(0x144)]),_0x1add35[_0x372a4d(0x137)]=this[_0x372a4d(0x143)],_0x1add35[_0x372a4d(0x13b)]=this[_0x372a4d(0x143)]<0x1,_0x1add35['needsUpdate']=!![];}}
|
|
148
159
|
|
|
149
|
-
const _0x1d35fc=_0x4383;(function(_0x39cfa8,_0x1e89d5){const _0x492f3e=_0x4383,_0x503e37=_0x39cfa8();while(!![]){try{const _0x1b32b9=parseInt(_0x492f3e(0x14a))/0x1+parseInt(_0x492f3e(0x16a))/0x2+parseInt(_0x492f3e(0x15f))/0x3*(parseInt(_0x492f3e(0x1a1))/0x4)+-parseInt(_0x492f3e(0x194))/0x5*(parseInt(_0x492f3e(0x175))/0x6)+parseInt(_0x492f3e(0x168))/0x7*(-parseInt(_0x492f3e(0x163))/0x8)+-parseInt(_0x492f3e(0x165))/0x9*(parseInt(_0x492f3e(0x17d))/0xa)+parseInt(_0x492f3e(0x16b))/0xb*(parseInt(_0x492f3e(0x198))/0xc);if(_0x1b32b9===_0x1e89d5)break;else _0x503e37['push'](_0x503e37['shift']());}catch(_0x400f84){_0x503e37['push'](_0x503e37['shift']());}}}(_0x1a86,0xd286c));function _0x1a86(){const _0x2ffa26=['obj','_tmpAabb','min','_tmpN','length','getX','_debugEntries','threeObject','count','remove','sub','getDebugAttachParent','normal','_tmpC','isMesh','set','_tmpCorner','MeshColliderComponent','add','777cxGcjX','_tmpBoxCorner','color','setSourceObject','16srQEtr','multiplyScalar','1017xgzJSq','index','getZ','5472355AFmZAh','_tmpA','1759364LUAQBg','99lKpNwg','_tmpMat','destroy','clone','getWorldAABB','_tmpB','dot','raycast','crossVectors','name','327642bMDnof','max','from','distance','intersectRayAabb','makeEmpty','onDebugStyleChanged','_tmpT','89840iRPkCE','attributes','intersectRayTriangle','geometry','push','sourceObject','destroyDebugObject','setHex','position','debugEnabled','addScaledVector','computeBoundingBox','setIndex','transparent','matrixWorld','MeshColliderDebug','setAttribute','_mesh','floor','_tmpEdge2','sqrt','_tmpQ','updateWorldMatrix','15dKULgw','expandByPoint','array','_debugMaterial','1872972YCJyPx','invert','_sourceObject','debugColor','opacity','dispose','applyMatrix4','needsUpdate','getY','9332UhIUmA','traverse','abs','copy','multiply','_tmpP','716201kZAMHk','boundingBox'];_0x1a86=function(){return _0x2ffa26;};return _0x1a86();}function _0x4383(_0x3dca76,_0x1ac651){_0x3dca76=_0x3dca76-0x149;const _0x1a8602=_0x1a86();let _0x43836d=_0x1a8602[_0x3dca76];return _0x43836d;}class MeshColliderComponent extends ColliderComponent{get[_0x1d35fc(0x182)](){const _0x72ad4d=_0x1d35fc;return this[_0x72ad4d(0x19a)];}constructor(_0x33cc04,_0x308b1a=null,_0x2557fd){const _0x45167c=_0x1d35fc;super(_0x33cc04,_0x2557fd),this[_0x45167c(0x19a)]=null,this[_0x45167c(0x18e)]=null,this[_0x45167c(0x152)]=[],this['_debugMaterial']=null,this['_tmpAabb']=new webgpu.Box3(),this['_tmpMat']=new webgpu.Matrix4(),this['_tmpCorner']=new webgpu.Vector3(),this['_tmpBoxCorner']=Array[_0x45167c(0x177)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x45167c(0x169)]=new webgpu.Vector3(),this[_0x45167c(0x170)]=new webgpu.Vector3(),this[_0x45167c(0x159)]=new webgpu.Vector3(),this['_tmpEdge1']=new webgpu.Vector3(),this[_0x45167c(0x190)]=new webgpu.Vector3(),this[_0x45167c(0x149)]=new webgpu.Vector3(),this[_0x45167c(0x17c)]=new webgpu.Vector3(),this[_0x45167c(0x192)]=new webgpu.Vector3(),this[_0x45167c(0x14f)]=new webgpu.Vector3(),this[_0x45167c(0x174)]=_0x45167c(0x15d),this[_0x45167c(0x162)](_0x308b1a);}['setSourceObject'](_0x39c1d4){const _0x8a8a21=_0x1d35fc,_0x261140=this[_0x8a8a21(0x186)];_0x261140&&(this[_0x8a8a21(0x186)]=![]);this[_0x8a8a21(0x19a)]=_0x39c1d4;this[_0x8a8a21(0x18e)]&&(this[_0x8a8a21(0x18e)]['geometry'][_0x8a8a21(0x19d)](),this['_mesh']=null);if(!_0x39c1d4){_0x261140&&(this['debugEnabled']=!![]);return;}const _0x4cf500=[];_0x39c1d4[_0x8a8a21(0x193)](!![],!![]);const _0x1b87f4=_0x39c1d4[_0x8a8a21(0x18b)]['clone']()[_0x8a8a21(0x199)]();_0x39c1d4[_0x8a8a21(0x1a2)](_0x40ca52=>{const _0x1e7d69=_0x8a8a21;if(_0x40ca52[_0x1e7d69(0x15a)]){const _0x130251=_0x40ca52;if(_0x130251[_0x1e7d69(0x180)]){const _0x4607a1=_0x130251['geometry'][_0x1e7d69(0x16e)](),_0x37a795=_0x1b87f4[_0x1e7d69(0x16e)]()[_0x1e7d69(0x1a5)](_0x130251[_0x1e7d69(0x18b)]);_0x4607a1[_0x1e7d69(0x19e)](_0x37a795),_0x4cf500[_0x1e7d69(0x181)](_0x4607a1);}}});if(_0x4cf500[_0x8a8a21(0x150)]>0x0){const _0x4d2494=this['mergeGeometries'](_0x4cf500);if(_0x4d2494){const _0x93732=new webgpu.Mesh(_0x4d2494);this[_0x8a8a21(0x18e)]=_0x93732;}}_0x261140&&(this[_0x8a8a21(0x186)]=!![]);}['mergeGeometries'](_0x5efbd6){const _0x55824d=_0x1d35fc;if(_0x5efbd6['length']===0x0)return null;if(_0x5efbd6[_0x55824d(0x150)]===0x1)return _0x5efbd6[0x0];let _0x2e1736=0x0,_0x41f524=0x0;for(const _0x1dccd4 of _0x5efbd6){_0x2e1736+=_0x1dccd4[_0x55824d(0x17e)]['position'][_0x55824d(0x154)],_0x1dccd4[_0x55824d(0x166)]?_0x41f524+=_0x1dccd4[_0x55824d(0x166)][_0x55824d(0x154)]:_0x41f524+=_0x1dccd4['attributes'][_0x55824d(0x185)]['count'];}const _0x21ef26=new Float32Array(_0x2e1736*0x3),_0x354551=new Uint32Array(_0x41f524);let _0x215b1c=0x0,_0x3c96ae=0x0;for(const _0x4a54f9 of _0x5efbd6){const _0x5e541f=_0x4a54f9[_0x55824d(0x17e)]['position'][_0x55824d(0x196)],_0xc6f547=_0x4a54f9['attributes']['position'][_0x55824d(0x154)];for(let _0x2a1ba6=0x0;_0x2a1ba6<_0xc6f547*0x3;_0x2a1ba6++){_0x21ef26[_0x215b1c*0x3+_0x2a1ba6]=_0x5e541f[_0x2a1ba6];}if(_0x4a54f9[_0x55824d(0x166)]){const _0xb04f6d=_0x4a54f9[_0x55824d(0x166)][_0x55824d(0x196)];for(let _0x1d1baf=0x0;_0x1d1baf<_0x4a54f9[_0x55824d(0x166)][_0x55824d(0x154)];_0x1d1baf++){_0x354551[_0x3c96ae+_0x1d1baf]=_0xb04f6d[_0x1d1baf]+_0x215b1c;}_0x3c96ae+=_0x4a54f9[_0x55824d(0x166)][_0x55824d(0x154)];}else {for(let _0x1362a8=0x0;_0x1362a8<_0xc6f547;_0x1362a8++){_0x354551[_0x3c96ae+_0x1362a8]=_0x1362a8+_0x215b1c;}_0x3c96ae+=_0xc6f547;}_0x215b1c+=_0xc6f547;}const _0x2525c3=new webgpu.BufferGeometry();return _0x2525c3[_0x55824d(0x18d)](_0x55824d(0x185),new webgpu.BufferAttribute(_0x21ef26,0x3)),_0x2525c3[_0x55824d(0x189)](new webgpu.BufferAttribute(_0x354551,0x1)),_0x2525c3;}[_0x1d35fc(0x16d)](){const _0x1d88d6=_0x1d35fc;this[_0x1d88d6(0x186)]=![],this[_0x1d88d6(0x18e)]&&(this[_0x1d88d6(0x18e)][_0x1d88d6(0x180)][_0x1d88d6(0x19d)](),this[_0x1d88d6(0x18e)]=null),this[_0x1d88d6(0x19a)]=null,super['destroy']();}[_0x1d35fc(0x16f)](_0x3364ce=new webgpu.Box3()){const _0x3be304=_0x1d35fc;_0x3364ce[_0x3be304(0x17a)]();if(!this[_0x3be304(0x19a)])return _0x3364ce;this[_0x3be304(0x19a)][_0x3be304(0x193)](!![],!![]);const _0x30417c=this[_0x3be304(0x160)];if(this[_0x3be304(0x18e)]){const _0x7fe3bd=this[_0x3be304(0x18e)];_0x7fe3bd[_0x3be304(0x18b)][_0x3be304(0x1a4)](this[_0x3be304(0x19a)][_0x3be304(0x18b)]);const _0x44481a=_0x7fe3bd[_0x3be304(0x180)];if(_0x44481a){!_0x44481a[_0x3be304(0x14b)]&&_0x44481a[_0x3be304(0x188)]();const _0x190288=_0x44481a[_0x3be304(0x14b)];if(_0x190288){this[_0x3be304(0x16c)][_0x3be304(0x1a4)](_0x7fe3bd[_0x3be304(0x18b)]);const _0x271f2c=_0x190288[_0x3be304(0x14e)],_0x2d1a7d=_0x190288['max'];_0x30417c[0x0][_0x3be304(0x15b)](_0x271f2c['x'],_0x271f2c['y'],_0x271f2c['z']),_0x30417c[0x1][_0x3be304(0x15b)](_0x271f2c['x'],_0x271f2c['y'],_0x2d1a7d['z']),_0x30417c[0x2]['set'](_0x271f2c['x'],_0x2d1a7d['y'],_0x271f2c['z']),_0x30417c[0x3][_0x3be304(0x15b)](_0x271f2c['x'],_0x2d1a7d['y'],_0x2d1a7d['z']),_0x30417c[0x4]['set'](_0x2d1a7d['x'],_0x271f2c['y'],_0x271f2c['z']),_0x30417c[0x5][_0x3be304(0x15b)](_0x2d1a7d['x'],_0x271f2c['y'],_0x2d1a7d['z']),_0x30417c[0x6][_0x3be304(0x15b)](_0x2d1a7d['x'],_0x2d1a7d['y'],_0x271f2c['z']),_0x30417c[0x7][_0x3be304(0x15b)](_0x2d1a7d['x'],_0x2d1a7d['y'],_0x2d1a7d['z']);for(const _0x3c5db3 of _0x30417c){_0x3c5db3[_0x3be304(0x19e)](this['_tmpMat']),_0x3364ce[_0x3be304(0x195)](_0x3c5db3);}}}}return _0x3364ce;}[_0x1d35fc(0x172)](_0x569a05,_0x9d355a,_0x28a038){const _0xf72af=_0x1d35fc;if(!this[_0xf72af(0x19a)])return null;this['_sourceObject'][_0xf72af(0x193)](!![],!![]);let _0x475498=Infinity;const _0x261884=new webgpu.Vector3(),_0x18ba8d=new webgpu.Vector3();if(this[_0xf72af(0x18e)]){const _0x47b36e=this[_0xf72af(0x18e)];_0x47b36e[_0xf72af(0x18b)][_0xf72af(0x1a4)](this[_0xf72af(0x19a)]['matrixWorld']);const _0x244f2d=_0x47b36e[_0xf72af(0x180)];if(_0x244f2d){!_0x244f2d[_0xf72af(0x14b)]&&_0x244f2d[_0xf72af(0x188)]();const _0x13d724=_0x244f2d[_0xf72af(0x14b)];if(_0x13d724){const _0x335729=this[_0xf72af(0x14d)][_0xf72af(0x1a4)](_0x13d724)[_0xf72af(0x19e)](_0x47b36e[_0xf72af(0x18b)]);if(this[_0xf72af(0x179)](_0x569a05,_0x9d355a,Math['min'](_0x28a038,_0x475498),_0x335729)){const _0x2d0d40=_0x244f2d['getAttribute'](_0xf72af(0x185));if(_0x2d0d40){const _0x23de59=_0x244f2d['getIndex'](),_0xeb25fd=_0x23de59?Math[_0xf72af(0x18f)](_0x23de59[_0xf72af(0x154)]/0x3):Math[_0xf72af(0x18f)](_0x2d0d40[_0xf72af(0x154)]/0x3);for(let _0x51ec49=0x0;_0x51ec49<_0xeb25fd;_0x51ec49++){const _0x161127=_0x23de59?_0x23de59['getX'](_0x51ec49*0x3+0x0):_0x51ec49*0x3+0x0,_0x305d29=_0x23de59?_0x23de59[_0xf72af(0x151)](_0x51ec49*0x3+0x1):_0x51ec49*0x3+0x1,_0x1b7b46=_0x23de59?_0x23de59[_0xf72af(0x151)](_0x51ec49*0x3+0x2):_0x51ec49*0x3+0x2;this[_0xf72af(0x169)]['set'](_0x2d0d40[_0xf72af(0x151)](_0x161127),_0x2d0d40[_0xf72af(0x1a0)](_0x161127),_0x2d0d40['getZ'](_0x161127))[_0xf72af(0x19e)](_0x47b36e[_0xf72af(0x18b)]),this[_0xf72af(0x170)][_0xf72af(0x15b)](_0x2d0d40[_0xf72af(0x151)](_0x305d29),_0x2d0d40[_0xf72af(0x1a0)](_0x305d29),_0x2d0d40[_0xf72af(0x167)](_0x305d29))[_0xf72af(0x19e)](_0x47b36e[_0xf72af(0x18b)]),this['_tmpC'][_0xf72af(0x15b)](_0x2d0d40[_0xf72af(0x151)](_0x1b7b46),_0x2d0d40['getY'](_0x1b7b46),_0x2d0d40['getZ'](_0x1b7b46))[_0xf72af(0x19e)](_0x47b36e[_0xf72af(0x18b)]);const _0x2d8918=this[_0xf72af(0x17f)](_0x569a05,_0x9d355a,this[_0xf72af(0x169)],this['_tmpB'],this[_0xf72af(0x159)],Math[_0xf72af(0x14e)](_0x28a038,_0x475498));if(!_0x2d8918)continue;_0x2d8918[_0xf72af(0x178)]<_0x475498&&(_0x475498=_0x2d8918[_0xf72af(0x178)],_0x261884[_0xf72af(0x1a4)](_0x2d8918['point']),_0x18ba8d['copy'](_0x2d8918[_0xf72af(0x158)]));}}}}}}if(!Number['isFinite'](_0x475498))return null;return {'point':_0x261884,'normal':_0x18ba8d,'distance':_0x475498};}[_0x1d35fc(0x179)](_0x4608be,_0x932ff6,_0x2d6fb5,_0xdeb86b){const _0x507626=_0x1d35fc;let _0x56c183=0x0,_0x1c46dc=_0x2d6fb5;const _0x406ce=1e-8,_0x5a48cf=_0x3b9194=>{const _0x21ddcc=_0x4383,_0x46b099=_0x4608be[_0x3b9194],_0x3aed23=_0x932ff6[_0x3b9194],_0x1d0c1f=_0xdeb86b[_0x21ddcc(0x14e)][_0x3b9194],_0xf7a03c=_0xdeb86b[_0x21ddcc(0x176)][_0x3b9194];if(Math[_0x21ddcc(0x1a3)](_0x3aed23)<_0x406ce)return _0x46b099>=_0x1d0c1f&&_0x46b099<=_0xf7a03c;const _0xc60739=0x1/_0x3aed23;let _0x569b47,_0x6032a5;return _0x3aed23>=0x0?(_0x569b47=(_0x1d0c1f-_0x46b099)*_0xc60739,_0x6032a5=(_0xf7a03c-_0x46b099)*_0xc60739):(_0x569b47=(_0xf7a03c-_0x46b099)*_0xc60739,_0x6032a5=(_0x1d0c1f-_0x46b099)*_0xc60739),_0x569b47>_0x56c183&&(_0x56c183=_0x569b47),_0x6032a5<_0x1c46dc&&(_0x1c46dc=_0x6032a5),_0x56c183<=_0x1c46dc;};if(!_0x5a48cf('x')||!_0x5a48cf('y')||!_0x5a48cf('z'))return ![];const _0x3552d2=Math[_0x507626(0x176)](0x0,_0x56c183);return _0x3552d2<=_0x2d6fb5;}[_0x1d35fc(0x17f)](_0x138fb9,_0x57dece,_0x4131c3,_0x339fad,_0x1904ac,_0x28867c){const _0x540e5a=_0x1d35fc,_0x40669d=1e-8,_0x409ea8=this['_tmpEdge1']['copy'](_0x339fad)['sub'](_0x4131c3),_0x2e9ae6=this[_0x540e5a(0x190)]['copy'](_0x1904ac)[_0x540e5a(0x156)](_0x4131c3),_0x382174=this[_0x540e5a(0x149)][_0x540e5a(0x173)](_0x57dece,_0x2e9ae6),_0x20e0f3=_0x409ea8[_0x540e5a(0x171)](_0x382174);if(Math['abs'](_0x20e0f3)<_0x40669d)return null;const _0x272694=0x1/_0x20e0f3,_0xc5f28d=this[_0x540e5a(0x17c)]['copy'](_0x138fb9)['sub'](_0x4131c3),_0x3a727a=_0xc5f28d['dot'](_0x382174)*_0x272694;if(_0x3a727a<0x0||_0x3a727a>0x1)return null;const _0x2ca638=this['_tmpQ'][_0x540e5a(0x173)](_0xc5f28d,_0x409ea8),_0x45489e=_0x57dece[_0x540e5a(0x171)](_0x2ca638)*_0x272694;if(_0x45489e<0x0||_0x3a727a+_0x45489e>0x1)return null;const _0x76db83=_0x2e9ae6[_0x540e5a(0x171)](_0x2ca638)*_0x272694;if(_0x76db83<0x0||_0x76db83>_0x28867c)return null;const _0x1d9785=this['_tmpN'][_0x540e5a(0x173)](_0x409ea8,_0x2e9ae6),_0x56c36d=_0x1d9785['lengthSq']();_0x56c36d>_0x40669d&&_0x1d9785['multiplyScalar'](0x1/Math[_0x540e5a(0x191)](_0x56c36d));_0x1d9785[_0x540e5a(0x171)](_0x57dece)>0x0&&_0x1d9785[_0x540e5a(0x164)](-1);const _0x48180f=this[_0x540e5a(0x15c)][_0x540e5a(0x1a4)](_0x138fb9)[_0x540e5a(0x187)](_0x57dece,_0x76db83);return {'point':_0x48180f,'normal':_0x1d9785,'distance':_0x76db83};}[_0x1d35fc(0x157)](){const _0x273c7b=_0x1d35fc;return this[_0x273c7b(0x153)];}['createDebugObject'](){const _0xabbff=_0x1d35fc;if(!this[_0xabbff(0x19a)])return null;const _0x30a4f3=new webgpu.Object3D();_0x30a4f3[_0xabbff(0x174)]=_0xabbff(0x18c),this[_0xabbff(0x152)]=[],this[_0xabbff(0x197)]=new webgpu.MeshBasicMaterial({'color':this[_0xabbff(0x19b)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']});if(this['_mesh']){const _0x567fe4=this['_mesh'],_0x4c18a8=_0x567fe4['geometry'];if(_0x4c18a8){const _0x4b8a65=new webgpu.Mesh(_0x4c18a8,this[_0xabbff(0x197)]);_0x30a4f3[_0xabbff(0x15e)](_0x4b8a65),this[_0xabbff(0x152)]['push']({'parent':_0x30a4f3,'obj':_0x4b8a65});}}return _0x30a4f3;}[_0x1d35fc(0x183)](_0x4868a7){const _0x2887f9=_0x1d35fc;for(const _0x1b4832 of this['_debugEntries']){_0x1b4832['parent'][_0x2887f9(0x155)](_0x1b4832[_0x2887f9(0x14c)]);}this[_0x2887f9(0x152)]=[],this[_0x2887f9(0x197)]=null;}[_0x1d35fc(0x17b)](){const _0x11c0e0=_0x1d35fc;if(!this['_debugMaterial'])return;this[_0x11c0e0(0x197)][_0x11c0e0(0x161)][_0x11c0e0(0x184)](this[_0x11c0e0(0x19b)]),this[_0x11c0e0(0x197)][_0x11c0e0(0x19c)]=this['debugOpacity'],this[_0x11c0e0(0x197)][_0x11c0e0(0x18a)]=this['debugOpacity']<0x1,this[_0x11c0e0(0x197)][_0x11c0e0(0x19f)]=!![];}}
|
|
160
|
+
const _0x155f48=_0xf1b7;function _0x2c33(){const _0x9c647c=['4954722mVSMaN','intersectRayAabb','index','count','addScaledVector','matrixWorld','sqrt','dot','attributes','setSourceObject','sub','setAttribute','add','color','getX','_tmpBoxCorner','opacity','max','destroy','needsUpdate','_debugMaterial','setHex','getAttribute','979270JQqyeH','floor','sourceObject','_sourceObject','boundingBox','mergeGeometries','48942cxRIpO','getZ','name','_tmpB','parent','normal','applyMatrix4','_tmpEdge2','computeBoundingBox','_debugEntries','setIndex','_tmpEdge1','copy','array','getIndex','9100630ZYWGSH','multiplyScalar','55eHpewc','abs','updateWorldMatrix','_mesh','675IeUwHd','geometry','crossVectors','getWorldAABB','_tmpT','_tmpAabb','_tmpQ','raycast','onDebugStyleChanged','isMesh','position','min','traverse','threeObject','getDebugAttachParent','push','length','debugOpacity','set','debugEnabled','_tmpN','createDebugObject','debugColor','MeshColliderDebug','1135278SjSotj','_tmpA','invert','destroyDebugObject','obj','171032TmQjTS','from','_tmpC','makeEmpty','distance','multiply','getY','34swVoGu','_tmpP','intersectRayTriangle','_tmpCorner','_tmpMat','transparent','4YQKIXM','dispose','raycastAll','6881343JecUwd','clone','point'];_0x2c33=function(){return _0x9c647c;};return _0x2c33();}(function(_0x23fdc7,_0x1df6a0){const _0x48db29=_0xf1b7,_0x17fbbb=_0x23fdc7();while(!![]){try{const _0x814b9c=-parseInt(_0x48db29(0x120))/0x1*(-parseInt(_0x48db29(0x159))/0x2)+parseInt(_0x48db29(0x165))/0x3*(-parseInt(_0x48db29(0x15f))/0x4)+parseInt(_0x48db29(0x12f))/0x5+-parseInt(_0x48db29(0x14d))/0x6+-parseInt(_0x48db29(0x162))/0x7+parseInt(_0x48db29(0x152))/0x8*(parseInt(_0x48db29(0x135))/0x9)+parseInt(_0x48db29(0x11a))/0xa*(-parseInt(_0x48db29(0x131))/0xb);if(_0x814b9c===_0x1df6a0)break;else _0x17fbbb['push'](_0x17fbbb['shift']());}catch(_0x365bd9){_0x17fbbb['push'](_0x17fbbb['shift']());}}}(_0x2c33,0xe600e));function _0xf1b7(_0x490e6b,_0x231174){_0x490e6b=_0x490e6b-0x115;const _0x2c33f5=_0x2c33();let _0xf1b71e=_0x2c33f5[_0x490e6b];return _0xf1b71e;}class MeshColliderComponent extends ColliderComponent{get[_0x155f48(0x11c)](){return this['_sourceObject'];}constructor(_0x3acdd7,_0x327c10=null,_0x4ca1c6){const _0x5638dc=_0x155f48;super(_0x3acdd7,_0x4ca1c6),this[_0x5638dc(0x11d)]=null,this[_0x5638dc(0x134)]=null,this[_0x5638dc(0x129)]=[],this['_debugMaterial']=null,this[_0x5638dc(0x13a)]=new webgpu.Box3(),this['_tmpMat']=new webgpu.Matrix4(),this[_0x5638dc(0x15c)]=new webgpu.Vector3(),this[_0x5638dc(0x174)]=Array[_0x5638dc(0x153)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x5638dc(0x14e)]=new webgpu.Vector3(),this[_0x5638dc(0x123)]=new webgpu.Vector3(),this[_0x5638dc(0x154)]=new webgpu.Vector3(),this[_0x5638dc(0x12b)]=new webgpu.Vector3(),this[_0x5638dc(0x127)]=new webgpu.Vector3(),this[_0x5638dc(0x15a)]=new webgpu.Vector3(),this[_0x5638dc(0x139)]=new webgpu.Vector3(),this[_0x5638dc(0x13b)]=new webgpu.Vector3(),this[_0x5638dc(0x149)]=new webgpu.Vector3(),this[_0x5638dc(0x122)]='MeshColliderComponent',this['setSourceObject'](_0x327c10);}[_0x155f48(0x16e)](_0x405d18){const _0x1b0283=_0x155f48,_0x171327=this[_0x1b0283(0x148)];_0x171327&&(this['debugEnabled']=![]);this[_0x1b0283(0x11d)]=_0x405d18;this[_0x1b0283(0x134)]&&(this[_0x1b0283(0x134)][_0x1b0283(0x136)][_0x1b0283(0x160)](),this['_mesh']=null);if(!_0x405d18){_0x171327&&(this['debugEnabled']=!![]);return;}const _0x24b3b2=[];_0x405d18[_0x1b0283(0x133)](!![],!![]);const _0x15c739=_0x405d18[_0x1b0283(0x16a)][_0x1b0283(0x163)]()[_0x1b0283(0x14f)]();_0x405d18[_0x1b0283(0x141)](_0x5bd97c=>{const _0x10eaeb=_0x1b0283;if(_0x5bd97c[_0x10eaeb(0x13e)]){const _0x116799=_0x5bd97c;if(_0x116799[_0x10eaeb(0x136)]){const _0x58a54f=_0x116799[_0x10eaeb(0x136)][_0x10eaeb(0x163)](),_0x4086c8=_0x15c739['clone']()[_0x10eaeb(0x157)](_0x116799['matrixWorld']);_0x58a54f[_0x10eaeb(0x126)](_0x4086c8),_0x24b3b2['push'](_0x58a54f);}}});if(_0x24b3b2[_0x1b0283(0x145)]>0x0){const _0xa55ee3=this[_0x1b0283(0x11f)](_0x24b3b2);if(_0xa55ee3){const _0x5b91f2=new webgpu.Mesh(_0xa55ee3);this[_0x1b0283(0x134)]=_0x5b91f2;}}_0x171327&&(this[_0x1b0283(0x148)]=!![]);}[_0x155f48(0x11f)](_0x1321f5){const _0x465158=_0x155f48;if(_0x1321f5[_0x465158(0x145)]===0x0)return null;if(_0x1321f5[_0x465158(0x145)]===0x1)return _0x1321f5[0x0];let _0x447664=0x0,_0x48ac23=0x0;for(const _0xb4e7cd of _0x1321f5){_0x447664+=_0xb4e7cd[_0x465158(0x16d)][_0x465158(0x13f)]['count'],_0xb4e7cd[_0x465158(0x167)]?_0x48ac23+=_0xb4e7cd[_0x465158(0x167)]['count']:_0x48ac23+=_0xb4e7cd[_0x465158(0x16d)][_0x465158(0x13f)][_0x465158(0x168)];}const _0x103889=new Float32Array(_0x447664*0x3),_0x485928=new Uint32Array(_0x48ac23);let _0x103219=0x0,_0x58cfca=0x0;for(const _0x29917c of _0x1321f5){const _0x2b8e9f=_0x29917c[_0x465158(0x16d)]['position'][_0x465158(0x12d)],_0x4ca275=_0x29917c[_0x465158(0x16d)][_0x465158(0x13f)][_0x465158(0x168)];for(let _0x4f5394=0x0;_0x4f5394<_0x4ca275*0x3;_0x4f5394++){_0x103889[_0x103219*0x3+_0x4f5394]=_0x2b8e9f[_0x4f5394];}if(_0x29917c['index']){const _0xf812a2=_0x29917c[_0x465158(0x167)][_0x465158(0x12d)];for(let _0x3fc87c=0x0;_0x3fc87c<_0x29917c[_0x465158(0x167)][_0x465158(0x168)];_0x3fc87c++){_0x485928[_0x58cfca+_0x3fc87c]=_0xf812a2[_0x3fc87c]+_0x103219;}_0x58cfca+=_0x29917c[_0x465158(0x167)][_0x465158(0x168)];}else {for(let _0xa999d7=0x0;_0xa999d7<_0x4ca275;_0xa999d7++){_0x485928[_0x58cfca+_0xa999d7]=_0xa999d7+_0x103219;}_0x58cfca+=_0x4ca275;}_0x103219+=_0x4ca275;}const _0xf4230=new webgpu.BufferGeometry();return _0xf4230[_0x465158(0x170)](_0x465158(0x13f),new webgpu.BufferAttribute(_0x103889,0x3)),_0xf4230[_0x465158(0x12a)](new webgpu.BufferAttribute(_0x485928,0x1)),_0xf4230;}[_0x155f48(0x115)](){const _0x150288=_0x155f48;this[_0x150288(0x148)]=![],this[_0x150288(0x134)]&&(this['_mesh'][_0x150288(0x136)][_0x150288(0x160)](),this[_0x150288(0x134)]=null),this[_0x150288(0x11d)]=null,super['destroy']();}[_0x155f48(0x138)](_0x3dffa9=new webgpu.Box3()){const _0x5d0076=_0x155f48;_0x3dffa9[_0x5d0076(0x155)]();if(!this[_0x5d0076(0x11d)])return _0x3dffa9;this['_sourceObject'][_0x5d0076(0x133)](!![],!![]);const _0x4bea68=this[_0x5d0076(0x174)];if(this['_mesh']){const _0x1b0c33=this[_0x5d0076(0x134)];_0x1b0c33[_0x5d0076(0x16a)][_0x5d0076(0x12c)](this[_0x5d0076(0x11d)][_0x5d0076(0x16a)]);const _0x3a94e7=_0x1b0c33[_0x5d0076(0x136)];if(_0x3a94e7){!_0x3a94e7[_0x5d0076(0x11e)]&&_0x3a94e7['computeBoundingBox']();const _0x383d96=_0x3a94e7[_0x5d0076(0x11e)];if(_0x383d96){this[_0x5d0076(0x15d)][_0x5d0076(0x12c)](_0x1b0c33['matrixWorld']);const _0x25ae58=_0x383d96[_0x5d0076(0x140)],_0x312c5c=_0x383d96[_0x5d0076(0x176)];_0x4bea68[0x0][_0x5d0076(0x147)](_0x25ae58['x'],_0x25ae58['y'],_0x25ae58['z']),_0x4bea68[0x1]['set'](_0x25ae58['x'],_0x25ae58['y'],_0x312c5c['z']),_0x4bea68[0x2][_0x5d0076(0x147)](_0x25ae58['x'],_0x312c5c['y'],_0x25ae58['z']),_0x4bea68[0x3][_0x5d0076(0x147)](_0x25ae58['x'],_0x312c5c['y'],_0x312c5c['z']),_0x4bea68[0x4][_0x5d0076(0x147)](_0x312c5c['x'],_0x25ae58['y'],_0x25ae58['z']),_0x4bea68[0x5][_0x5d0076(0x147)](_0x312c5c['x'],_0x25ae58['y'],_0x312c5c['z']),_0x4bea68[0x6][_0x5d0076(0x147)](_0x312c5c['x'],_0x312c5c['y'],_0x25ae58['z']),_0x4bea68[0x7][_0x5d0076(0x147)](_0x312c5c['x'],_0x312c5c['y'],_0x312c5c['z']);for(const _0x342227 of _0x4bea68){_0x342227[_0x5d0076(0x126)](this[_0x5d0076(0x15d)]),_0x3dffa9['expandByPoint'](_0x342227);}}}}return _0x3dffa9;}[_0x155f48(0x161)](_0x3fd447,_0xe5e4c,_0x435e3c){const _0x531332=_0x155f48;if(!this[_0x531332(0x11d)])return [];this[_0x531332(0x11d)]['updateWorldMatrix'](!![],!![]);const _0x552f1f=[];if(this['_mesh']){const _0x32bb22=this[_0x531332(0x134)];_0x32bb22['matrixWorld']['copy'](this['_sourceObject'][_0x531332(0x16a)]);const _0x3e9471=_0x32bb22[_0x531332(0x136)];if(_0x3e9471){!_0x3e9471['boundingBox']&&_0x3e9471[_0x531332(0x128)]();const _0x2b0b20=_0x3e9471[_0x531332(0x11e)];if(_0x2b0b20){const _0x289529=this[_0x531332(0x13a)][_0x531332(0x12c)](_0x2b0b20)[_0x531332(0x126)](_0x32bb22[_0x531332(0x16a)]);if(this[_0x531332(0x166)](_0x3fd447,_0xe5e4c,_0x435e3c,_0x289529)){const _0x54fcba=_0x3e9471[_0x531332(0x119)](_0x531332(0x13f));if(_0x54fcba){const _0x276110=_0x3e9471[_0x531332(0x12e)](),_0x234c58=_0x276110?Math[_0x531332(0x11b)](_0x276110[_0x531332(0x168)]/0x3):Math[_0x531332(0x11b)](_0x54fcba[_0x531332(0x168)]/0x3);for(let _0x447d2d=0x0;_0x447d2d<_0x234c58;_0x447d2d++){const _0x48ed7b=_0x276110?_0x276110[_0x531332(0x173)](_0x447d2d*0x3+0x0):_0x447d2d*0x3+0x0,_0x15725f=_0x276110?_0x276110['getX'](_0x447d2d*0x3+0x1):_0x447d2d*0x3+0x1,_0x2a4b44=_0x276110?_0x276110['getX'](_0x447d2d*0x3+0x2):_0x447d2d*0x3+0x2;this[_0x531332(0x14e)][_0x531332(0x147)](_0x54fcba['getX'](_0x48ed7b),_0x54fcba[_0x531332(0x158)](_0x48ed7b),_0x54fcba[_0x531332(0x121)](_0x48ed7b))['applyMatrix4'](_0x32bb22[_0x531332(0x16a)]),this[_0x531332(0x123)]['set'](_0x54fcba[_0x531332(0x173)](_0x15725f),_0x54fcba['getY'](_0x15725f),_0x54fcba['getZ'](_0x15725f))[_0x531332(0x126)](_0x32bb22['matrixWorld']),this[_0x531332(0x154)][_0x531332(0x147)](_0x54fcba[_0x531332(0x173)](_0x2a4b44),_0x54fcba[_0x531332(0x158)](_0x2a4b44),_0x54fcba[_0x531332(0x121)](_0x2a4b44))[_0x531332(0x126)](_0x32bb22[_0x531332(0x16a)]);const _0x551cc6=this[_0x531332(0x15b)](_0x3fd447,_0xe5e4c,this[_0x531332(0x14e)],this['_tmpB'],this[_0x531332(0x154)],_0x435e3c);_0x551cc6&&_0x552f1f[_0x531332(0x144)]({'distance':_0x551cc6[_0x531332(0x156)],'point':_0x551cc6[_0x531332(0x164)][_0x531332(0x163)](),'normal':_0x551cc6[_0x531332(0x125)][_0x531332(0x163)]()});}}}}}}return _0x552f1f['sort']((_0x14fd8f,_0x80160d)=>_0x14fd8f[_0x531332(0x156)]-_0x80160d[_0x531332(0x156)]);}[_0x155f48(0x13c)](_0x3a9474,_0xef6897,_0x356ee0){const _0x748ea5=this['raycastAll'](_0x3a9474,_0xef6897,_0x356ee0);if(_0x748ea5['length']>0x0)return _0x748ea5[0x0];return null;}['intersectRayAabb'](_0x2759b8,_0x329deb,_0x8f83b8,_0x57d73e){const _0x60fd8a=_0x155f48;let _0x256bfd=0x0,_0x377c2f=_0x8f83b8;const _0x5d1b77=1e-8,_0x177b7a=_0x249b24=>{const _0x674d99=_0xf1b7,_0x5e2489=_0x2759b8[_0x249b24],_0x303136=_0x329deb[_0x249b24],_0x1212e1=_0x57d73e[_0x674d99(0x140)][_0x249b24],_0x20d9aa=_0x57d73e['max'][_0x249b24];if(Math[_0x674d99(0x132)](_0x303136)<_0x5d1b77)return _0x5e2489>=_0x1212e1&&_0x5e2489<=_0x20d9aa;const _0x1be261=0x1/_0x303136;let _0x369c8f,_0x1b07ba;return _0x303136>=0x0?(_0x369c8f=(_0x1212e1-_0x5e2489)*_0x1be261,_0x1b07ba=(_0x20d9aa-_0x5e2489)*_0x1be261):(_0x369c8f=(_0x20d9aa-_0x5e2489)*_0x1be261,_0x1b07ba=(_0x1212e1-_0x5e2489)*_0x1be261),_0x369c8f>_0x256bfd&&(_0x256bfd=_0x369c8f),_0x1b07ba<_0x377c2f&&(_0x377c2f=_0x1b07ba),_0x256bfd<=_0x377c2f;};if(!_0x177b7a('x')||!_0x177b7a('y')||!_0x177b7a('z'))return ![];const _0x14c0ed=Math[_0x60fd8a(0x176)](0x0,_0x256bfd);return _0x14c0ed<=_0x8f83b8;}[_0x155f48(0x15b)](_0x524876,_0x303802,_0x6678b,_0x171d19,_0x4223e4,_0x6a079e){const _0x44c67a=_0x155f48,_0x4ad31a=1e-8,_0x205eaa=this[_0x44c67a(0x12b)][_0x44c67a(0x12c)](_0x171d19)[_0x44c67a(0x16f)](_0x6678b),_0x3db241=this[_0x44c67a(0x127)][_0x44c67a(0x12c)](_0x4223e4)[_0x44c67a(0x16f)](_0x6678b),_0x2eebfd=this['_tmpP'][_0x44c67a(0x137)](_0x303802,_0x3db241),_0xce6841=_0x205eaa[_0x44c67a(0x16c)](_0x2eebfd);if(Math[_0x44c67a(0x132)](_0xce6841)<_0x4ad31a)return null;const _0x4505b6=0x1/_0xce6841,_0x2e0430=this[_0x44c67a(0x139)]['copy'](_0x524876)[_0x44c67a(0x16f)](_0x6678b),_0x47add0=_0x2e0430[_0x44c67a(0x16c)](_0x2eebfd)*_0x4505b6;if(_0x47add0<0x0||_0x47add0>0x1)return null;const _0x101e91=this[_0x44c67a(0x13b)][_0x44c67a(0x137)](_0x2e0430,_0x205eaa),_0x1c1b3e=_0x303802['dot'](_0x101e91)*_0x4505b6;if(_0x1c1b3e<0x0||_0x47add0+_0x1c1b3e>0x1)return null;const _0x454cdb=_0x3db241[_0x44c67a(0x16c)](_0x101e91)*_0x4505b6;if(_0x454cdb<0x0||_0x454cdb>_0x6a079e)return null;const _0xbd50af=this[_0x44c67a(0x149)]['crossVectors'](_0x205eaa,_0x3db241),_0x3d4db6=_0xbd50af['lengthSq']();_0x3d4db6>_0x4ad31a&&_0xbd50af[_0x44c67a(0x130)](0x1/Math[_0x44c67a(0x16b)](_0x3d4db6));_0xbd50af['dot'](_0x303802)>0x0&&_0xbd50af[_0x44c67a(0x130)](-1);const _0x16fc67=this['_tmpCorner']['copy'](_0x524876)[_0x44c67a(0x169)](_0x303802,_0x454cdb);return {'point':_0x16fc67,'normal':_0xbd50af,'distance':_0x454cdb};}[_0x155f48(0x143)](){const _0x5c1e5d=_0x155f48;return this[_0x5c1e5d(0x142)];}[_0x155f48(0x14a)](){const _0x5b7abe=_0x155f48;if(!this[_0x5b7abe(0x11d)])return null;const _0x4a5b51=new webgpu.Object3D();_0x4a5b51['name']=_0x5b7abe(0x14c),this['_debugEntries']=[],this['_debugMaterial']=new webgpu.MeshBasicMaterial({'color':this[_0x5b7abe(0x14b)],'wireframe':!![],'transparent':!![],'opacity':this[_0x5b7abe(0x146)]});if(this[_0x5b7abe(0x134)]){const _0x442b6d=this['_mesh'],_0xd24dea=_0x442b6d[_0x5b7abe(0x136)];if(_0xd24dea){const _0x43c1d5=new webgpu.Mesh(_0xd24dea,this[_0x5b7abe(0x117)]);_0x4a5b51[_0x5b7abe(0x171)](_0x43c1d5),this[_0x5b7abe(0x129)][_0x5b7abe(0x144)]({'parent':_0x4a5b51,'obj':_0x43c1d5});}}return _0x4a5b51;}[_0x155f48(0x150)](_0x669152){const _0x394544=_0x155f48;for(const _0x99d3e7 of this[_0x394544(0x129)]){_0x99d3e7[_0x394544(0x124)]['remove'](_0x99d3e7[_0x394544(0x151)]);}this[_0x394544(0x129)]=[],this['_debugMaterial']=null;}[_0x155f48(0x13d)](){const _0x4a7c70=_0x155f48;if(!this[_0x4a7c70(0x117)])return;this[_0x4a7c70(0x117)][_0x4a7c70(0x172)][_0x4a7c70(0x118)](this[_0x4a7c70(0x14b)]),this[_0x4a7c70(0x117)][_0x4a7c70(0x175)]=this[_0x4a7c70(0x146)],this[_0x4a7c70(0x117)][_0x4a7c70(0x15e)]=this[_0x4a7c70(0x146)]<0x1,this[_0x4a7c70(0x117)][_0x4a7c70(0x116)]=!![];}}
|
|
150
161
|
|
|
151
|
-
(function(
|
|
162
|
+
(function(_0x160e1d,_0x466c6e){var _0x1c304f=_0x367d,_0xa37355=_0x160e1d();while(!![]){try{var _0x4df4e2=parseInt(_0x1c304f(0x71))/0x1+parseInt(_0x1c304f(0x78))/0x2+-parseInt(_0x1c304f(0x75))/0x3+-parseInt(_0x1c304f(0x76))/0x4*(-parseInt(_0x1c304f(0x74))/0x5)+-parseInt(_0x1c304f(0x73))/0x6+parseInt(_0x1c304f(0x77))/0x7+parseInt(_0x1c304f(0x72))/0x8*(-parseInt(_0x1c304f(0x70))/0x9);if(_0x4df4e2===_0x466c6e)break;else _0xa37355['push'](_0xa37355['shift']());}catch(_0x349cf5){_0xa37355['push'](_0xa37355['shift']());}}}(_0x4477,0xb1603));function _0x4477(){var _0x47fdad=['27yGDNPb','394444FrcERV','1351704SGFYyT','4953744UKUMfL','25pMxhPW','20646ikdhKG','330476kRnfFA','7063357UYhYwT','498672uErMyC'];_0x4477=function(){return _0x47fdad;};return _0x4477();}function _0x367d(_0x43ccba,_0x32ee9e){_0x43ccba=_0x43ccba-0x70;var _0x447702=_0x4477();var _0x367d1b=_0x447702[_0x43ccba];return _0x367d1b;}
|
|
152
163
|
|
|
153
|
-
(function(
|
|
164
|
+
(function(_0x5eb301,_0x39648b){var _0x1d20ea=_0x2ad9,_0xdd8da5=_0x5eb301();while(!![]){try{var _0x163ccc=-parseInt(_0x1d20ea(0x155))/0x1*(-parseInt(_0x1d20ea(0x158))/0x2)+parseInt(_0x1d20ea(0x150))/0x3+parseInt(_0x1d20ea(0x153))/0x4*(-parseInt(_0x1d20ea(0x14e))/0x5)+-parseInt(_0x1d20ea(0x156))/0x6*(parseInt(_0x1d20ea(0x151))/0x7)+-parseInt(_0x1d20ea(0x152))/0x8*(-parseInt(_0x1d20ea(0x157))/0x9)+-parseInt(_0x1d20ea(0x14f))/0xa+parseInt(_0x1d20ea(0x154))/0xb;if(_0x163ccc===_0x39648b)break;else _0xdd8da5['push'](_0xdd8da5['shift']());}catch(_0x3b4844){_0xdd8da5['push'](_0xdd8da5['shift']());}}}(_0x5ecb,0xc16ea));function _0x2ad9(_0x423123,_0x5d97b8){_0x423123=_0x423123-0x14e;var _0x5ecb53=_0x5ecb();var _0x2ad99d=_0x5ecb53[_0x423123];return _0x2ad99d;}function _0x5ecb(){var _0xb8ba98=['12185oFSpeY','13271930CNMwhY','2300490cfxMNV','1725752hkPcKF','3948432xOouar','28Qivmmb','10249723eJgMOU','437445lzKenP','12YBPnDO','9cYClAz','2rHjilK'];_0x5ecb=function(){return _0xb8ba98;};return _0x5ecb();}
|
|
154
165
|
|
|
155
166
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
156
167
|
exports.Actor = Actor;
|
|
@@ -176,7 +187,6 @@ exports.DefaultOrthographicCameraParam = DefaultOrthographicCameraParam;
|
|
|
176
187
|
exports.DefaultOutlineParams = DefaultOutlineParams;
|
|
177
188
|
exports.DefaultPerspectiveCameraParam = DefaultPerspectiveCameraParam;
|
|
178
189
|
exports.DefaultPostProcessParam = DefaultPostProcessParam;
|
|
179
|
-
exports.DefaultRendererParameters = DefaultRendererParameters;
|
|
180
190
|
exports.DefaultSSRParam = DefaultSSRParam;
|
|
181
191
|
exports.DefaultSkyParam = DefaultSkyParam;
|
|
182
192
|
exports.DefaultViewportParam = DefaultViewportParam;
|