lythreeframe 2.0.0 → 2.0.2
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 +83 -72
- package/dist/bundle.esm.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/src/AssetManagement/AssetManager.d.ts +3 -3
- package/dist/src/Frame/Controller.d.ts +53 -11
- package/dist/src/Frame/Parameters/AppParameter.d.ts +1 -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 _0x41fda6 = 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 _0x39183c=_0x4f69;(function(_0x1a8cc3,_0x42ed57){const _0x1681f4=_0x4f69,_0x370f7e=_0x1a8cc3();while(!![]){try{const _0x4ebffd=-parseInt(_0x1681f4(0x9c))/0x1*(-parseInt(_0x1681f4(0x93))/0x2)+-parseInt(_0x1681f4(0x9a))/0x3+parseInt(_0x1681f4(0x92))/0x4*(parseInt(_0x1681f4(0x9b))/0x5)+-parseInt(_0x1681f4(0x99))/0x6*(-parseInt(_0x1681f4(0xa4))/0x7)+-parseInt(_0x1681f4(0xa1))/0x8*(parseInt(_0x1681f4(0x8e))/0x9)+-parseInt(_0x1681f4(0x9d))/0xa+parseInt(_0x1681f4(0xa2))/0xb*(parseInt(_0x1681f4(0x90))/0xc);if(_0x4ebffd===_0x42ed57)break;else _0x370f7e['push'](_0x370f7e['shift']());}catch(_0x30d244){_0x370f7e['push'](_0x370f7e['shift']());}}}(_0x14ba,0x5a879));function _0x14ba(){const _0x2bdbb8=['10WcQPGj','1462FOBiBI','4113840uzgruF','splice','bCanTick','removeTickEvent','1223944YljDBe','1484219xMqgwJ','forEach','261891JpFDqc','destroy','36lDKsaP','tickEvents','60BEpdgA','indexOf','404636RWOlEz','956LksVOx','tick','isTickEnabled','push','addTickEvent','_uuid','72QTWsMz','1891770JsWgQu'];_0x14ba=function(){return _0x2bdbb8;};return _0x14ba();}function _0x4f69(_0x1cea46,_0x47bfac){_0x1cea46=_0x1cea46-0x8d;const _0x14ba9e=_0x14ba();let _0x4f69e1=_0x14ba9e[_0x1cea46];return _0x4f69e1;}class BaseObject{get['isTickEnabled'](){const _0x2e41f3=_0x4f69;return this[_0x2e41f3(0x9f)];}set[_0x39183c(0x95)](_0x25d6db){const _0x2f973f=_0x39183c;this[_0x2f973f(0x9f)]=_0x25d6db;}get['uuid'](){const _0x3f67a7=_0x39183c;return this[_0x3f67a7(0x98)];}constructor(_0x4cbb23=webgpu.MathUtils['generateUUID']()){const _0x4d8cae=_0x39183c;this['bCanTick']=![],this['tickEvents']=[],this['bCanTick']=![],this[_0x4d8cae(0x98)]=_0x4cbb23;}[_0x39183c(0x94)](_0x249576){const _0x5365f7=_0x39183c;if(!this[_0x5365f7(0x9f)])return;this['tickEvents'][_0x5365f7(0xa3)](_0x37365f=>{_0x37365f(_0x249576);});}[_0x39183c(0x97)](_0x52c309){const _0x3c16f8=_0x39183c;this[_0x3c16f8(0x8f)][_0x3c16f8(0x96)](_0x52c309);}[_0x39183c(0xa0)](_0x46da4f){const _0x433966=_0x39183c;let _0x181037=this[_0x433966(0x8f)][_0x433966(0x91)](_0x46da4f);_0x181037!=-1&&this[_0x433966(0x8f)][_0x433966(0x9e)](_0x181037,0x1);}['clearTickEvents'](){const _0x22f810=_0x39183c;this[_0x22f810(0x8f)]=[];}[_0x39183c(0x8d)](){}}
|
|
22
33
|
|
|
23
|
-
const
|
|
34
|
+
const _0x18e1fe=_0x569e;function _0x2bda(){const _0xa7c6f9=['destroyObject','obj','_name','Component\x20createDefaultObject\x20return\x20null','threeObject','154SxWpqg','3440HfcNuu','name','407062AypBWx','_parentActor','2997HzaWUN','3788880uCcLrk','parentActor','generateUUID','createDefaultObject','Component','60611cNaeod','472505cYxUGa','434488bEbGdb','destroy','LYObject','type','userData','30786vKcSFM','3pgtjQh'];_0x2bda=function(){return _0xa7c6f9;};return _0x2bda();}(function(_0x30791f,_0x598d7f){const _0x446710=_0x569e,_0x52d877=_0x30791f();while(!![]){try{const _0x147ba7=parseInt(_0x446710(0x1a4))/0x1+-parseInt(_0x446710(0x1b5))/0x2*(-parseInt(_0x446710(0x1ac))/0x3)+parseInt(_0x446710(0x1a6))/0x4+parseInt(_0x446710(0x1a5))/0x5+parseInt(_0x446710(0x1ab))/0x6*(-parseInt(_0x446710(0x1b2))/0x7)+parseInt(_0x446710(0x1b3))/0x8*(parseInt(_0x446710(0x1b7))/0x9)+-parseInt(_0x446710(0x19f))/0xa;if(_0x147ba7===_0x598d7f)break;else _0x52d877['push'](_0x52d877['shift']());}catch(_0x44b087){_0x52d877['push'](_0x52d877['shift']());}}}(_0x2bda,0x1cf9d));function _0x569e(_0x1cfef5,_0x58884f){_0x1cfef5=_0x1cfef5-0x19f;const _0x2bda02=_0x2bda();let _0x569ed4=_0x2bda02[_0x1cfef5];return _0x569ed4;}class Component extends BaseObject{set[_0x18e1fe(0x1a0)](_0x4e3b8e){const _0x333181=_0x18e1fe;this[_0x333181(0x1b6)]=_0x4e3b8e;}get[_0x18e1fe(0x1a0)](){const _0x12b73d=_0x18e1fe;return this[_0x12b73d(0x1b6)];}get[_0x18e1fe(0x1b1)](){const _0x212b14=_0x18e1fe;return this[_0x212b14(0x1ae)];}set[_0x18e1fe(0x1b1)](_0x24734e){const _0x36a83e=_0x18e1fe;this['obj']=_0x24734e,this['obj']&&(this[_0x36a83e(0x1ae)][_0x36a83e(0x1aa)][_0x36a83e(0x1a8)]=this);}get[_0x18e1fe(0x1b4)](){const _0x5f5d90=_0x18e1fe;return this[_0x5f5d90(0x1af)];}set[_0x18e1fe(0x1b4)](_0x3a801f){const _0x3755fb=_0x18e1fe;this[_0x3755fb(0x1af)]=_0x3a801f,this[_0x3755fb(0x1ae)]&&(this[_0x3755fb(0x1ae)][_0x3755fb(0x1b4)]=_0x3a801f);}constructor(_0x2fb0af){const _0x55d39d=_0x18e1fe;super(_0x2fb0af?_0x2fb0af:webgpu.MathUtils[_0x55d39d(0x1a1)]()),this[_0x55d39d(0x1ae)]=null,this['_parentActor']=null,this[_0x55d39d(0x1af)]=_0x55d39d(0x1a3),this[_0x55d39d(0x1b6)]=null;let _0x54af77=this[_0x55d39d(0x1a2)]();_0x54af77?(this[_0x55d39d(0x1ae)]=_0x54af77,this['_name']=this[_0x55d39d(0x1ae)][_0x55d39d(0x1a9)]+'Component'):console['warn'](_0x55d39d(0x1b0));}[_0x18e1fe(0x1a2)](_0x5c0d55){return null;}[_0x18e1fe(0x1ad)](){if(!this['obj'])return;}[_0x18e1fe(0x1a7)](){const _0x44278b=_0x18e1fe;this[_0x44278b(0x1ad)]();}}
|
|
24
35
|
|
|
25
|
-
(function(
|
|
36
|
+
function _0x3d3a(){var _0x4b6296=['52368ZmRBFt','107506Jbdvpz','839164LnpVbx','KeepWorld','603PRKhaR','KeepRelative','1819962ZwbEQl','829443wkxWFq','106XqYTZz','2914jLSApU','867570UYDTZf'];_0x3d3a=function(){return _0x4b6296;};return _0x3d3a();}function _0x565f(_0x4aeb2a,_0x3bdda0){_0x4aeb2a=_0x4aeb2a-0xb9;var _0x3d3a44=_0x3d3a();var _0x565f38=_0x3d3a44[_0x4aeb2a];return _0x565f38;}(function(_0x61e51d,_0x35aa73){var _0x5b3038=_0x565f,_0x420d4f=_0x61e51d();while(!![]){try{var _0x223411=-parseInt(_0x5b3038(0xc0))/0x1*(-parseInt(_0x5b3038(0xbf))/0x2)+parseInt(_0x5b3038(0xbe))/0x3+-parseInt(_0x5b3038(0xb9))/0x4+-parseInt(_0x5b3038(0xc1))/0x5+-parseInt(_0x5b3038(0xbd))/0x6+-parseInt(_0x5b3038(0xc3))/0x7+parseInt(_0x5b3038(0xc2))/0x8*(parseInt(_0x5b3038(0xbb))/0x9);if(_0x223411===_0x35aa73)break;else _0x420d4f['push'](_0x420d4f['shift']());}catch(_0x319620){_0x420d4f['push'](_0x420d4f['shift']());}}}(_0x3d3a,0x28e5b));exports.AttachmentRules = void 0;(function(_0x505c6b){var _0x416e36=_0x565f;_0x505c6b[_0x505c6b[_0x416e36(0xba)]=0x1]='KeepWorld',_0x505c6b[_0x505c6b[_0x416e36(0xbc)]=0x2]='KeepRelative';}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
26
37
|
|
|
27
|
-
const
|
|
38
|
+
const _0x55d1a2=_0xc95e;function _0xc95e(_0x3b1eab,_0x360f45){_0x3b1eab=_0x3b1eab-0x7b;const _0x5e983a=_0x5e98();let _0xc95eaa=_0x5e983a[_0x3b1eab];return _0xc95eaa;}function _0x5e98(){const _0x448788=['6OfBYCA','36642ifacwC','indexOf','15169187ENzteB','1146272jHWYZN','3626065SLvKrA','58ivswno','splice','remove','24FXNTly','6oUCuRz','functions','17322080rfTODi','421896PzIxJK','13308903Txdzox','push','119zmUhlz','forEach'];_0x5e98=function(){return _0x448788;};return _0x5e98();}(function(_0x31c51b,_0x12db9e){const _0x45b34d=_0xc95e,_0xd66d69=_0x31c51b();while(!![]){try{const _0x1faa4e=-parseInt(_0x45b34d(0x8b))/0x1*(parseInt(_0x45b34d(0x86))/0x2)+-parseInt(_0x45b34d(0x7d))/0x3*(-parseInt(_0x45b34d(0x89))/0x4)+parseInt(_0x45b34d(0x8a))/0x5*(-parseInt(_0x45b34d(0x85))/0x6)+-parseInt(_0x45b34d(0x83))/0x7*(parseInt(_0x45b34d(0x80))/0x8)+-parseInt(_0x45b34d(0x81))/0x9+parseInt(_0x45b34d(0x7f))/0xa+-parseInt(_0x45b34d(0x88))/0xb*(-parseInt(_0x45b34d(0x7c))/0xc);if(_0x1faa4e===_0x12db9e)break;else _0xd66d69['push'](_0xd66d69['shift']());}catch(_0x2ffdc8){_0xd66d69['push'](_0xd66d69['shift']());}}}(_0x5e98,0xdbc9b));class Delegate{constructor(){const _0x544cc1=_0xc95e;this[_0x544cc1(0x7e)]=[];}['broadcast'](..._0x2199af){const _0x839569=_0xc95e;this['functions'][_0x839569(0x84)](_0x58953f=>_0x58953f(..._0x2199af));}['add'](_0x27c9da){const _0x4f3d2e=_0xc95e;this['functions'][_0x4f3d2e(0x82)](_0x27c9da);}[_0x55d1a2(0x7b)](_0x3a55fa){const _0x43e837=_0x55d1a2,_0x3147bf=this['functions'][_0x43e837(0x87)](_0x3a55fa);_0x3147bf>=0x0&&this['functions'][_0x43e837(0x8c)](_0x3147bf,0x1);}['clear'](){const _0x320e7a=_0x55d1a2;this[_0x320e7a(0x7e)]=[];}}
|
|
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 _0x3b02b1=_0x1a21;(function(_0x251803,_0x533679){const _0x4c1714=_0x1a21,_0x1d3f03=_0x251803();while(!![]){try{const _0x4239cf=parseInt(_0x4c1714(0xb0))/0x1*(parseInt(_0x4c1714(0xc5))/0x2)+-parseInt(_0x4c1714(0x89))/0x3+parseInt(_0x4c1714(0x98))/0x4*(-parseInt(_0x4c1714(0x88))/0x5)+parseInt(_0x4c1714(0x7c))/0x6*(parseInt(_0x4c1714(0xc1))/0x7)+-parseInt(_0x4c1714(0xb2))/0x8*(parseInt(_0x4c1714(0x92))/0x9)+parseInt(_0x4c1714(0x76))/0xa+parseInt(_0x4c1714(0xc9))/0xb*(-parseInt(_0x4c1714(0x8e))/0xc);if(_0x4239cf===_0x533679)break;else _0x1d3f03['push'](_0x1d3f03['shift']());}catch(_0x35f5aa){_0x1d3f03['push'](_0x1d3f03['shift']());}}}(_0x50e5,0x20f76));function _0x1a21(_0x52403a,_0x55464a){_0x52403a=_0x52403a-0x74;const _0x50e5fa=_0x50e5();let _0x1a216a=_0x50e5fa[_0x52403a];return _0x1a216a;}function _0x50e5(){const _0x32de8a=['min','_onDoubleClickDelegate','onDoubleClickDelegate','getWorldUpDirection','18UCCrhR','bCanHover','number','copy','matrixAutoUpdate','_parentActor','setLayers','addChildComponent','setFromObject','decompose','worldToLocal','getWorldQuaternion','45VTmRNB','241440qPElJs','length','setQuaternion','max','onClicked','956136FEwSdZ','getPosition','position','LYObject','1095363ymxdQk','setMatrix','_onHoverEndDelegate','detachFromParentActor','setPosition','getMatrix','33584gKfKQi','matrix','getWorldForwardDirection','isClickEnabled','updateMatrixWorld','getWorldScale','compose','destroy','visible','quaternion','userData','newComponent\x20threeObject\x20is\x20invalid','getQuaternion','app','setQuaternion\x20failed,param\x20is\x20invalid','applyQuaternion','getWorldDirection','viewport','_onHoverBeginDelegate','invert','getCenter','SceneComponent','destroyChildren','tick','2VNqbLK','forEach','8NbwZxR','bCanClick','isVector3','broadcast','children','markRenderStateDirty','uuid','getBounds','obj','onClickDelegate','multiplyMatrices','remove','parent','_onClickDelegate','getScale','520961bBPRCS','set','onAddedToWorld','getWorldRotation','49384ASePbm','getBoundsTopCenterPositionWS','parentActor','getComponentById','11yLpZHK','getWorldMatrix','setScale','error','detachFromParentComponent','setWorldMatrix','clone','scale','threeObject\x20is\x20invalid','removeChildComponent','world','KeepRelative','parentComponent','setFromQuaternion','isQuaternion','push','childrenComponents','threeObject','destroyObject','onHoverEndDelegate','rotation','matrixWorld','add','updateMatrix','onHoverBeginDelegate','2198060oAVFdD','getWorldPosition'];_0x50e5=function(){return _0x32de8a;};return _0x50e5();}class SceneComponent extends Component{set['parentActor'](_0x40d5d8){const _0x26c11e=_0x1a21;this[_0x26c11e(0xd9)][_0x26c11e(0xb1)](_0xacdabe=>{const _0x503547=_0x26c11e;_0xacdabe[_0x503547(0xc7)]=_0x40d5d8;}),this[_0x26c11e(0x81)]=_0x40d5d8;}get[_0x3b02b1(0xc7)](){const _0x2520a0=_0x3b02b1;return this[_0x2520a0(0x81)];}get[_0x3b02b1(0x75)](){const _0x53d708=_0x3b02b1;return this[_0x53d708(0xaa)];}get[_0x3b02b1(0xdc)](){const _0x10ae28=_0x3b02b1;return this[_0x10ae28(0x94)];}get[_0x3b02b1(0xbb)](){const _0x7fb452=_0x3b02b1;return this[_0x7fb452(0xbf)];}get[_0x3b02b1(0x7a)](){const _0xb45abd=_0x3b02b1;return this[_0xb45abd(0x79)];}get[_0x3b02b1(0xd3)](){const _0x136610=_0x3b02b1;return this['app'][_0x136610(0xd3)];}constructor(_0x4ccaff,_0x58cb7b){const _0xb27b7f=_0x3b02b1;super(_0x58cb7b),this['bCanHover']=![],this[_0xb27b7f(0xb3)]=![],this[_0xb27b7f(0xaa)]=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this['_onClickDelegate']=new Delegate(),this[_0xb27b7f(0x79)]=new Delegate(),this[_0xb27b7f(0xa5)]=_0x4ccaff,this['name']=_0xb27b7f(0xad);}['createDefaultObject'](){return new webgpu.Object3D();}[_0x3b02b1(0xaf)](_0x5b0542){const _0x18b516=_0x3b02b1;super[_0x18b516(0xaf)](_0x5b0542),this['childrenComponents'][_0x18b516(0xb1)](_0x18414e=>{const _0x1c00a0=_0x18b516;_0x18414e[_0x1c00a0(0xaf)](_0x5b0542);});}get['isVisible'](){const _0x217090=_0x3b02b1;if(!this[_0x217090(0xba)])return ![];return this[_0x217090(0xba)][_0x217090(0xa0)];}['setVisible'](_0x3bc1da){const _0x322455=_0x3b02b1;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');this['obj'][_0x322455(0xa0)]=_0x3bc1da,this[_0x322455(0xd3)]&&this['world'][_0x322455(0xa9)]['markRenderStateDirty']();}[_0x3b02b1(0x82)](_0x644b69){const _0x1cb3aa=_0x3b02b1;if(!this['obj'])throw Error(_0x1cb3aa(0xd1));this[_0x1cb3aa(0xba)]['layers'][_0x1cb3aa(0xc2)](_0x644b69);let _0x503deb=this[_0x1cb3aa(0xd9)];_0x503deb[_0x1cb3aa(0xb1)](_0x2a546a=>{_0x2a546a['setLayers'](_0x644b69);});}['getComponentById'](_0x4ecddb,_0x216ab7=!![]){const _0xab0759=_0x3b02b1;if(this['uuid']===_0x4ecddb)return this;if(_0x216ab7){let _0x490b05=this[_0xab0759(0xd9)];for(let _0x2049aa=0x0;_0x2049aa<_0x490b05[_0xab0759(0x8a)];++_0x2049aa){let _0x571969=_0x490b05[_0x2049aa][_0xab0759(0xc8)](_0x4ecddb,_0x216ab7);if(_0x571969)return _0x571969;}}else {let _0x2c4173=this[_0xab0759(0xd9)];for(let _0x46be96=0x0;_0x46be96<_0x2c4173[_0xab0759(0x8a)];++_0x46be96){let _0x56ce41=_0x2c4173[_0x46be96];if(_0x56ce41[_0xab0759(0xb8)]===_0x4ecddb)return _0x56ce41;}}return null;}['getBoundsCenterPositionWS'](){const _0x479c9b=_0x3b02b1;let _0x1350e6=new webgpu.Vector3();return this[_0x479c9b(0xb9)]()[_0x479c9b(0xac)](_0x1350e6),this[_0x479c9b(0x77)]();}[_0x3b02b1(0xc6)](){const _0x296ea0=_0x3b02b1;let _0x131040=new webgpu.Vector3(),_0x3bef89=this[_0x296ea0(0xb9)]();return _0x3bef89[_0x296ea0(0xac)](_0x131040),_0x131040['y']=_0x3bef89['max']['y'],_0x131040;}['getBoundsBottomCenterPositionWS'](){const _0x5a378e=_0x3b02b1;let _0xdd8670=new webgpu.Vector3(),_0x269151=this[_0x5a378e(0xb9)]();return _0x269151[_0x5a378e(0xac)](_0xdd8670),_0xdd8670['y']=_0x269151[_0x5a378e(0x78)]['y'],_0xdd8670;}[_0x3b02b1(0xb9)](){const _0x183f0c=_0x3b02b1;if(!this[_0x183f0c(0xba)])throw Error(_0x183f0c(0xd1));let _0x32fba2=new webgpu.Box3();return _0x32fba2[_0x183f0c(0x84)](this[_0x183f0c(0xba)],![]),_0x32fba2['isEmpty']()&&(_0x32fba2[_0x183f0c(0x78)]=_0x32fba2[_0x183f0c(0x8c)]=this[_0x183f0c(0x77)]()),_0x32fba2;}get['parentComponent'](){const _0x4d0b6f=_0x3b02b1;var _0x3a366a,_0x2b02d8;if(!this[_0x4d0b6f(0xba)])throw Error(_0x4d0b6f(0xd1));let _0x182466=(_0x2b02d8=(_0x3a366a=this[_0x4d0b6f(0xba)])===null||_0x3a366a===void 0?void 0:_0x3a366a[_0x4d0b6f(0xbe)])===null||_0x2b02d8===void 0?void 0:_0x2b02d8[_0x4d0b6f(0xa2)][_0x4d0b6f(0x91)];if(!_0x182466)return null;if(!(_0x182466 instanceof SceneComponent))return null;if(_0x182466[_0x4d0b6f(0xc7)]!==this[_0x4d0b6f(0xc7)])return null;return _0x182466;}get[_0x3b02b1(0xd9)](){const _0x33bb98=_0x3b02b1;if(!this[_0x33bb98(0xba)])throw Error('threeObject\x20is\x20invalid');let _0x1ff2da=[];for(let _0x1f3ce0=0x0;_0x1f3ce0<this[_0x33bb98(0xba)][_0x33bb98(0xb6)][_0x33bb98(0x8a)];++_0x1f3ce0){if(!this[_0x33bb98(0xba)][_0x33bb98(0xb6)][_0x1f3ce0][_0x33bb98(0xa2)][_0x33bb98(0x91)])continue;this[_0x33bb98(0xba)][_0x33bb98(0xb6)][_0x1f3ce0][_0x33bb98(0xa2)]['LYObject'][_0x33bb98(0xc7)]===this[_0x33bb98(0xc7)]&&_0x1ff2da[_0x33bb98(0xd8)](this[_0x33bb98(0xba)]['children'][_0x1f3ce0]['userData'][_0x33bb98(0x91)]);}return _0x1ff2da;}[_0x3b02b1(0xc3)](_0x1d40bc){const _0x10381c=_0x3b02b1;let _0x137af2=this[_0x10381c(0xd9)];for(let _0x4f4ba7=0x0;_0x4f4ba7<_0x137af2[_0x10381c(0x8a)];++_0x4f4ba7){_0x137af2[_0x4f4ba7]['onAddedToWorld'](_0x1d40bc);}}[_0x3b02b1(0x9f)](){const _0x57b987=_0x3b02b1;this['isHoverEnabled']=![],this[_0x57b987(0x9b)]=![],this[_0x57b987(0x95)](),this[_0x57b987(0xcd)](),this['destroyChildren'](),this[_0x57b987(0xdb)](),this['world']&&this[_0x57b987(0xd3)][_0x57b987(0xa9)][_0x57b987(0xb7)]();}[_0x3b02b1(0xdb)](){const _0x4a2236=_0x3b02b1;if(!this['obj'])return;this[_0x4a2236(0xba)]['parent']&&this[_0x4a2236(0xba)][_0x4a2236(0xbe)][_0x4a2236(0xbd)](this['obj']),super[_0x4a2236(0xdb)]();}[_0x3b02b1(0x8f)](){const _0x1e2ace=_0x3b02b1;if(!this['obj'])throw Error(_0x1e2ace(0xd1));if(this[_0x1e2ace(0xba)][_0x1e2ace(0x80)])return this['obj'][_0x1e2ace(0x90)][_0x1e2ace(0xcf)]();else {const _0x5b43fd=new webgpu.Vector3(),_0x5c9963=new webgpu.Quaternion(),_0x1e83c2=new webgpu.Vector3();return this['obj']['matrix'][_0x1e2ace(0x85)](_0x5b43fd,_0x5c9963,_0x1e83c2),_0x5b43fd;}}[_0x3b02b1(0x96)](..._0x4fb5ea){const _0x2a86a1=_0x3b02b1;var _0x1ec86c;if(!this[_0x2a86a1(0xba)])throw Error(_0x2a86a1(0xd1));let _0x19c202=null;if(_0x4fb5ea['length']===0x1&&((_0x1ec86c=_0x4fb5ea[0x0])===null||_0x1ec86c===void 0?void 0:_0x1ec86c['isVector3'])){const _0x1a7027=_0x4fb5ea[0x0];_0x19c202=new webgpu.Vector3(_0x1a7027['x'],_0x1a7027['y'],_0x1a7027['z']);}else _0x4fb5ea[_0x2a86a1(0x8a)]===0x3&&typeof _0x4fb5ea[0x0]==='number'&&typeof _0x4fb5ea[0x1]==='number'&&typeof _0x4fb5ea[0x2]===_0x2a86a1(0x7e)&&(_0x19c202=new webgpu.Vector3(_0x4fb5ea[0x0],_0x4fb5ea[0x1],_0x4fb5ea[0x2]));if(!_0x19c202)return;this[_0x2a86a1(0xba)][_0x2a86a1(0x90)][_0x2a86a1(0x7f)](_0x19c202),!this['obj']['matrixAutoUpdate']&&this['obj']['matrix'][_0x2a86a1(0x96)](_0x19c202['x'],_0x19c202['y'],_0x19c202['z']),this['obj'][_0x2a86a1(0x74)](),this[_0x2a86a1(0xba)]['updateMatrixWorld'](!![]),this[_0x2a86a1(0xd3)]&&this[_0x2a86a1(0xd3)][_0x2a86a1(0xa9)][_0x2a86a1(0xb7)]();}['getRotation'](){const _0x59568a=_0x3b02b1;if(!this[_0x59568a(0xba)])throw Error(_0x59568a(0xd1));if(this['obj'][_0x59568a(0x80)])return this['obj'][_0x59568a(0xdd)][_0x59568a(0xcf)]();else {const _0x2ab27f=new webgpu.Vector3(),_0x39906a=new webgpu.Quaternion(),_0x5bb72b=new webgpu.Vector3();return this[_0x59568a(0xba)]['matrix'][_0x59568a(0x85)](_0x2ab27f,_0x39906a,_0x5bb72b),new webgpu.Euler()[_0x59568a(0xd6)](_0x39906a);}}['setRotation'](..._0x2cf436){const _0x1abd0c=_0x3b02b1;var _0x39d6d3;if(!this[_0x1abd0c(0xba)])throw Error('threeObject\x20is\x20invalid');let _0x35a658=null;if((_0x39d6d3=_0x2cf436[0x0])===null||_0x39d6d3===void 0?void 0:_0x39d6d3['isEuler']){const _0xbbd0b=_0x2cf436[0x0];_0x35a658=new webgpu.Euler(_0xbbd0b['x'],_0xbbd0b['y'],_0xbbd0b['z'],_0xbbd0b['order']);}else typeof _0x2cf436[0x0]===_0x1abd0c(0x7e)&&typeof _0x2cf436[0x1]===_0x1abd0c(0x7e)&&typeof _0x2cf436[0x2]===_0x1abd0c(0x7e)&&(_0x35a658=new webgpu.Euler(_0x2cf436[0x0],_0x2cf436[0x1],_0x2cf436[0x2]));if(!_0x35a658)return;this[_0x1abd0c(0xba)][_0x1abd0c(0xdd)]['copy'](_0x35a658),this[_0x1abd0c(0xba)][_0x1abd0c(0x74)](),this[_0x1abd0c(0xba)][_0x1abd0c(0x9c)](!![]),this['world']&&this[_0x1abd0c(0xd3)][_0x1abd0c(0xa9)][_0x1abd0c(0xb7)]();}[_0x3b02b1(0xa4)](){const _0x441daf=_0x3b02b1;if(!this[_0x441daf(0xba)])throw Error(_0x441daf(0xd1));if(this[_0x441daf(0xba)]['matrixAutoUpdate'])return this['obj']['quaternion'][_0x441daf(0xcf)]();else {const _0x471ec8=new webgpu.Vector3(),_0x2b876e=new webgpu.Quaternion(),_0xe63604=new webgpu.Vector3();return this[_0x441daf(0xba)][_0x441daf(0x99)][_0x441daf(0x85)](_0x471ec8,_0x2b876e,_0xe63604),_0x2b876e;}}[_0x3b02b1(0x8b)](..._0x49cb28){const _0x5e7054=_0x3b02b1;var _0x28a842;if(!this['obj'])throw Error(_0x5e7054(0xd1));let _0x1ad9a3=null;if((_0x28a842=_0x49cb28[0x0])===null||_0x28a842===void 0?void 0:_0x28a842[_0x5e7054(0xd7)]){const _0x369014=_0x49cb28[0x0];_0x1ad9a3=new webgpu.Quaternion(_0x369014['x'],_0x369014['y'],_0x369014['z'],_0x369014['w']);}else typeof _0x49cb28[0x0]==='number'&&typeof _0x49cb28[0x1]===_0x5e7054(0x7e)&&typeof _0x49cb28[0x2]===_0x5e7054(0x7e)&&typeof _0x49cb28[0x3]===_0x5e7054(0x7e)&&(_0x1ad9a3=new webgpu.Quaternion(_0x49cb28[0x0],_0x49cb28[0x1],_0x49cb28[0x2],_0x49cb28[0x3]));if(!_0x1ad9a3){console[_0x5e7054(0xcc)](_0x5e7054(0xa6),_0x49cb28);return;}this['obj'][_0x5e7054(0xa1)][_0x5e7054(0x7f)](_0x1ad9a3);if(!this[_0x5e7054(0xba)][_0x5e7054(0x80)]){const _0x1373f3=new webgpu.Vector3(),_0x52a905=new webgpu.Quaternion(),_0x48c3dd=new webgpu.Vector3();this[_0x5e7054(0xba)][_0x5e7054(0x99)][_0x5e7054(0x85)](_0x1373f3,_0x52a905,_0x48c3dd),this[_0x5e7054(0xba)][_0x5e7054(0x99)][_0x5e7054(0x9e)](_0x1373f3,_0x1ad9a3,_0x48c3dd);}this[_0x5e7054(0xd3)]&&this['world'][_0x5e7054(0xa9)][_0x5e7054(0xb7)](),this[_0x5e7054(0xba)]['updateMatrix'](),this[_0x5e7054(0xba)][_0x5e7054(0x9c)](!![]);}[_0x3b02b1(0xc0)](){const _0x4d181e=_0x3b02b1;if(!this[_0x4d181e(0xba)])throw Error('threeObject\x20is\x20invalid');if(this['obj'][_0x4d181e(0x80)])return this['obj'][_0x4d181e(0xd0)][_0x4d181e(0xcf)]();else {const _0x56b51f=new webgpu.Vector3(),_0x41efce=new webgpu.Quaternion(),_0x2f1d5b=new webgpu.Vector3();return this['obj'][_0x4d181e(0x99)][_0x4d181e(0x85)](_0x56b51f,_0x41efce,_0x2f1d5b),_0x2f1d5b;}}[_0x3b02b1(0xcb)](..._0x3660f7){const _0x171af9=_0x3b02b1;var _0x3d13b6;if(!this[_0x171af9(0xba)])throw Error(_0x171af9(0xd1));let _0x3cfd85=null;if((_0x3d13b6=_0x3660f7[0x0])===null||_0x3d13b6===void 0?void 0:_0x3d13b6[_0x171af9(0xb4)]){const _0x16d033=_0x3660f7[0x0];_0x3cfd85=new webgpu.Vector3(_0x16d033['x'],_0x16d033['y'],_0x16d033['z']);}else typeof _0x3660f7[0x0]===_0x171af9(0x7e)&&typeof _0x3660f7[0x1]===_0x171af9(0x7e)&&typeof _0x3660f7[0x2]===_0x171af9(0x7e)&&(_0x3cfd85=new webgpu.Vector3(_0x3660f7[0x0],_0x3660f7[0x1],_0x3660f7[0x2]));if(!_0x3cfd85)return;this[_0x171af9(0xba)][_0x171af9(0xd0)][_0x171af9(0x7f)](_0x3cfd85),this[_0x171af9(0xba)][_0x171af9(0x74)](),this[_0x171af9(0xba)][_0x171af9(0x9c)](!![]),this[_0x171af9(0xd3)]&&this[_0x171af9(0xd3)][_0x171af9(0xa9)][_0x171af9(0xb7)]();}[_0x3b02b1(0x97)](){const _0x3c542e=_0x3b02b1;if(!this[_0x3c542e(0xba)])throw Error(_0x3c542e(0xd1));return this[_0x3c542e(0xba)][_0x3c542e(0x99)];}[_0x3b02b1(0x93)](_0x5d7d0e){const _0x3bad89=_0x3b02b1;var _0x28c915;if(!this['obj'])throw Error(_0x3bad89(0xd1));_0x5d7d0e['decompose'](this[_0x3bad89(0xba)][_0x3bad89(0x90)],this['obj']['quaternion'],this[_0x3bad89(0xba)]['scale']),this[_0x3bad89(0xba)][_0x3bad89(0x74)](),this[_0x3bad89(0xba)][_0x3bad89(0x9c)](!![]),(_0x28c915=this[_0x3bad89(0xd3)])===null||_0x28c915===void 0?void 0:_0x28c915[_0x3bad89(0xa9)][_0x3bad89(0xb7)]();}[_0x3b02b1(0x77)](){const _0x36efeb=_0x3b02b1;if(!this[_0x36efeb(0xba)])throw Error('threeObject\x20is\x20invalid');let _0x56565f=new webgpu.Vector3();return this[_0x36efeb(0xba)][_0x36efeb(0x77)](_0x56565f),_0x56565f;}[_0x3b02b1(0xc4)](){const _0x927fa9=_0x3b02b1;if(!this[_0x927fa9(0xba)])throw Error('threeObject\x20is\x20invalid');let _0x1ec341=new webgpu.Quaternion();return this[_0x927fa9(0xba)][_0x927fa9(0x87)](_0x1ec341),new webgpu.Euler()[_0x927fa9(0xd6)](_0x1ec341);}['getWorldQuaternion'](){const _0x1da24f=_0x3b02b1;if(!this[_0x1da24f(0xba)])throw Error(_0x1da24f(0xd1));let _0x1852bb=new webgpu.Quaternion();return this[_0x1da24f(0xba)][_0x1da24f(0x87)](_0x1852bb),_0x1852bb;}[_0x3b02b1(0x9d)](){const _0x2a5546=_0x3b02b1;if(!this[_0x2a5546(0xba)])throw Error(_0x2a5546(0xd1));let _0x5ec334=new webgpu.Vector3();return this[_0x2a5546(0xba)]['getWorldScale'](_0x5ec334),_0x5ec334;}[_0x3b02b1(0xca)](){const _0x4bb58e=_0x3b02b1;if(!this[_0x4bb58e(0xba)])throw Error(_0x4bb58e(0xd1));return this[_0x4bb58e(0xba)][_0x4bb58e(0x9c)](!![]),this['obj']['matrixWorld'][_0x4bb58e(0xcf)]();}[_0x3b02b1(0xce)](_0x111809){const _0x20a238=_0x3b02b1;if(!this[_0x20a238(0xba)])throw Error(_0x20a238(0xd1));if(this[_0x20a238(0xba)][_0x20a238(0xbe)]){this[_0x20a238(0xba)][_0x20a238(0xbe)][_0x20a238(0x9c)](!![]);const _0x321635=this[_0x20a238(0xba)][_0x20a238(0xbe)][_0x20a238(0xde)][_0x20a238(0xcf)]()[_0x20a238(0xab)](),_0x23d8e5=new webgpu.Matrix4()[_0x20a238(0xbc)](_0x321635,_0x111809);this['setMatrix'](_0x23d8e5);}else this[_0x20a238(0x93)](_0x111809);this['obj'][_0x20a238(0x9c)](!![]),this['world']&&this[_0x20a238(0xd3)][_0x20a238(0xa9)][_0x20a238(0xb7)]();}[_0x3b02b1(0x9a)](){const _0xc66de2=_0x3b02b1;if(!this[_0xc66de2(0xba)])throw Error(_0xc66de2(0xd1));let _0x36462a=new webgpu.Vector3();return this['obj'][_0xc66de2(0xa8)](_0x36462a),_0x36462a;}[_0x3b02b1(0x7b)](){const _0x3b91bc=_0x3b02b1;if(!this[_0x3b91bc(0xba)])throw Error(_0x3b91bc(0xd1));let _0x46834c=new webgpu.Vector3(0x0,0x1,0x0);return _0x46834c['applyQuaternion'](this[_0x3b91bc(0x87)]()),_0x46834c;}['getWorldRightDirection'](){const _0x4019cc=_0x3b02b1;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0xc27b80=new webgpu.Vector3(0x1,0x0,0x0);return _0xc27b80[_0x4019cc(0xa7)](this[_0x4019cc(0x87)]()),_0xc27b80;}[_0x3b02b1(0x86)](_0x5bdde4){const _0x4b3be1=_0x3b02b1;if(!this['obj'])throw Error(_0x4b3be1(0xd1));return this['obj'][_0x4b3be1(0x86)](_0x5bdde4);}['localToWorld'](_0xe0e1cf){const _0x5cd6dd=_0x3b02b1;if(!this[_0x5cd6dd(0xba)])throw Error(_0x5cd6dd(0xd1));return this[_0x5cd6dd(0xba)]['localToWorld'](_0xe0e1cf);}['attachComponent'](_0x469f05){const _0x3ed550=_0x3b02b1;if(!this[_0x3ed550(0xba)])throw Error(_0x3ed550(0xd1));if(!_0x469f05[_0x3ed550(0xda)])throw Error(_0x3ed550(0xa3));this[_0x3ed550(0xba)][_0x3ed550(0xdf)](_0x469f05[_0x3ed550(0xda)]),this[_0x3ed550(0xd3)]&&_0x469f05['onAddedToWorld'](this[_0x3ed550(0xd3)]);}['detachComponent'](_0x3f7c8e){const _0x280225=_0x3b02b1;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(!_0x3f7c8e[_0x280225(0xda)])throw Error('target\x20threeObject\x20is\x20invalid');this[_0x280225(0xba)][_0x280225(0xbd)](_0x3f7c8e['threeObject']);}[_0x3b02b1(0x83)](_0x2c1119,_0x110f16=exports.AttachmentRules[_0x3b02b1(0xd4)]){const _0x561465=_0x3b02b1;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(!_0x2c1119['threeObject'])throw Error('newComponent\x20threeObject\x20is\x20invalid');_0x2c1119[_0x561465(0xc7)]=this['parentActor'];if(_0x110f16===exports.AttachmentRules['KeepWorld']){let _0x40a4fc=_0x2c1119['getWorldMatrix']();this[_0x561465(0xba)][_0x561465(0xdf)](_0x2c1119[_0x561465(0xda)]),_0x2c1119['setWorldMatrix'](_0x40a4fc);}else this[_0x561465(0xba)][_0x561465(0xdf)](_0x2c1119[_0x561465(0xda)]);this[_0x561465(0xd3)]&&_0x2c1119['onAddedToWorld'](this['world']),this['obj'][_0x561465(0x74)](),this[_0x561465(0xba)][_0x561465(0x9c)](!![]);}[_0x3b02b1(0xd2)](_0x4ac713){const _0x46f278=_0x3b02b1;if(!this[_0x46f278(0xba)])throw Error(_0x46f278(0xd1));if(!_0x4ac713[_0x46f278(0xda)])throw Error('targetComponent\x20threeObject\x20is\x20invalid');this[_0x46f278(0xba)][_0x46f278(0xbd)](_0x4ac713[_0x46f278(0xda)]);}[_0x3b02b1(0xcd)](){const _0x52f8da=_0x3b02b1;this[_0x52f8da(0xd5)]&&this[_0x52f8da(0xd5)][_0x52f8da(0xd2)](this);}[_0x3b02b1(0x95)](){const _0x177861=_0x3b02b1;this[_0x177861(0xc7)]&&(this[_0x177861(0xc7)]=null);}[_0x3b02b1(0xae)](){const _0x498426=_0x3b02b1;var _0x26bda6;if(!this[_0x498426(0xba)])return;let _0x379fdc=[];for(let _0x26bb65=0x0;_0x26bb65<this[_0x498426(0xba)][_0x498426(0xb6)][_0x498426(0x8a)];++_0x26bb65){let _0x1af354=(_0x26bda6=this['obj'][_0x498426(0xb6)][_0x26bb65][_0x498426(0xa2)])===null||_0x26bda6===void 0?void 0:_0x26bda6[_0x498426(0x91)];_0x1af354&&_0x379fdc[_0x498426(0xd8)](_0x1af354);}_0x379fdc[_0x498426(0xb1)](_0x2fcab3=>{const _0xf7333b=_0x498426;_0x2fcab3[_0xf7333b(0x9f)]();}),_0x379fdc=[];}set['isHoverEnabled'](_0xe05e34){const _0x4d0a97=_0x3b02b1;this[_0x4d0a97(0x7d)]=_0xe05e34;let _0x47bb9e=this[_0x4d0a97(0xd9)];for(let _0x15d096=0x0;_0x15d096<_0x47bb9e['length'];++_0x15d096){_0x47bb9e[_0x15d096]['isHoverEnabled']=this[_0x4d0a97(0x7d)];}}get['isHoverEnabled'](){const _0x245ddb=_0x3b02b1;return this[_0x245ddb(0x7d)];}set[_0x3b02b1(0x9b)](_0x3095fe){const _0x1437c3=_0x3b02b1;this[_0x1437c3(0xb3)]=_0x3095fe;let _0x2893ee=this['childrenComponents'];for(let _0x15f792=0x0;_0x15f792<_0x2893ee[_0x1437c3(0x8a)];++_0x15f792){_0x2893ee[_0x15f792][_0x1437c3(0x9b)]=this[_0x1437c3(0xb3)];}}get[_0x3b02b1(0x9b)](){const _0x26c526=_0x3b02b1;return this[_0x26c526(0xb3)];}['onHorveringBegin'](){const _0x170958=_0x3b02b1;this['_onHoverBeginDelegate'][_0x170958(0xb5)]();}['onHorveringEnd'](){const _0x1899ae=_0x3b02b1;this[_0x1899ae(0x94)][_0x1899ae(0xb5)]();}[_0x3b02b1(0x8d)](){const _0x4fbdd4=_0x3b02b1;this[_0x4fbdd4(0xbf)][_0x4fbdd4(0xb5)]();}['onDoubleClicked'](){const _0x1954d5=_0x3b02b1;this[_0x1954d5(0x79)][_0x1954d5(0xb5)]();}}
|
|
30
41
|
|
|
31
|
-
const
|
|
42
|
+
const _0x3efa3e=_0x11e7;(function(_0x3cd135,_0x3a7610){const _0x51f7ce=_0x11e7,_0x19d411=_0x3cd135();while(!![]){try{const _0x54c7aa=-parseInt(_0x51f7ce(0x108))/0x1*(-parseInt(_0x51f7ce(0x11b))/0x2)+parseInt(_0x51f7ce(0x12c))/0x3+parseInt(_0x51f7ce(0x12b))/0x4*(-parseInt(_0x51f7ce(0x103))/0x5)+parseInt(_0x51f7ce(0x113))/0x6*(parseInt(_0x51f7ce(0x115))/0x7)+parseInt(_0x51f7ce(0x10a))/0x8*(parseInt(_0x51f7ce(0x11a))/0x9)+-parseInt(_0x51f7ce(0x126))/0xa+-parseInt(_0x51f7ce(0x116))/0xb*(parseInt(_0x51f7ce(0x106))/0xc);if(_0x54c7aa===_0x3a7610)break;else _0x19d411['push'](_0x19d411['shift']());}catch(_0x58bbae){_0x19d411['push'](_0x19d411['shift']());}}}(_0x177b,0x7329c));function _0x11e7(_0x1fad33,_0x1e31a7){_0x1fad33=_0x1fad33-0x101;const _0x177bd7=_0x177b();let _0x11e775=_0x177bd7[_0x1fad33];return _0x11e775;}function _0x177b(){const _0x526c1a=['11UcdCAJ','_geometryPtr','min','assetManager','63smhBQR','2vtsTTY','obj','getBoundsTopCenterPosition','receiveShadow','getBoundsCenterPosition','getValue','removeFromParent','forEach','addRef','_materialPtr','max','2393340raGpNE','createDefaultObject','destroyObject','push','geometryPtr','4GlUrlb','199512RRLvdM','release','geometryPtr\x20is\x20null','431945VWJUmx','castShadow','threeObject','7853076tYDsoT','addGeometryAsset','710761bnXvGp','materialPtr','526248xncOnI','app','material','getBounds','getCenter','threeObject\x20is\x20null','isArray','geometry','addMaterialAsset','762ykBbaj','length','11802Zmquvi'];_0x177b=function(){return _0x526c1a;};return _0x177b();}class MeshComponent extends SceneComponent{get[_0x3efa3e(0x105)](){const _0x2a4f2e=_0x3efa3e;if(!this[_0x2a4f2e(0x11c)])throw new Error(_0x2a4f2e(0x10f));return this['obj'];}set['threeObject'](_0x28a10b){const _0xba6bfc=_0x3efa3e;this[_0xba6bfc(0x11c)]=_0x28a10b,this[_0xba6bfc(0x11c)]&&(this[_0xba6bfc(0x11c)]['userData']['LYObject']=this);}get[_0x3efa3e(0x111)](){const _0x3572d7=_0x3efa3e;if(!this[_0x3572d7(0x117)])throw new Error(_0x3572d7(0x102));return this['_geometryPtr']['getValue']();}set[_0x3efa3e(0x111)](_0x3fbc80){const _0x242c09=_0x3efa3e;let _0x3b7ccf=this[_0x242c09(0x10b)]['assetManager'][_0x242c09(0x107)](_0x3fbc80);this[_0x242c09(0x12a)]=_0x3b7ccf;}get[_0x3efa3e(0x12a)](){const _0x55444b=_0x3efa3e;if(!this[_0x55444b(0x117)])throw new Error('geometryPtr\x20is\x20null');return this[_0x55444b(0x117)];}set['geometryPtr'](_0x2a3fc8){const _0x3f79f5=_0x3efa3e;this[_0x3f79f5(0x117)]&&(this[_0x3f79f5(0x117)]['release'](),this['_geometryPtr']=null);this[_0x3f79f5(0x117)]=_0x2a3fc8;let _0x1eddf9=_0x2a3fc8[_0x3f79f5(0x120)]();this[_0x3f79f5(0x105)]&&_0x1eddf9&&(this['threeObject'][_0x3f79f5(0x111)]=_0x1eddf9);}get[_0x3efa3e(0x10c)](){const _0x4a573c=_0x3efa3e;let _0x5d0550=[];return this[_0x4a573c(0x124)][_0x4a573c(0x122)](_0x17ce16=>{let _0x14412f=_0x17ce16['getValue']();if(_0x14412f)_0x5d0550['push'](_0x14412f);}),_0x5d0550[_0x4a573c(0x114)]>0x1?_0x5d0550:_0x5d0550[0x0];}get[_0x3efa3e(0x109)](){const _0x24a49a=_0x3efa3e;return this[_0x24a49a(0x109)];}set[_0x3efa3e(0x10c)](_0x1de778){const _0x4867be=_0x3efa3e;let _0x122d9a=Array[_0x4867be(0x110)](_0x1de778)?_0x1de778:[_0x1de778],_0x58df2c=[];_0x122d9a[_0x4867be(0x122)](_0x3e5d9b=>{const _0x42e756=_0x4867be;let _0x15d4b4=this[_0x42e756(0x10b)]['assetManager'][_0x42e756(0x112)](_0x3e5d9b);if(_0x15d4b4)_0x58df2c[_0x42e756(0x129)](_0x15d4b4);}),this['materialPtr']=_0x58df2c;}set[_0x3efa3e(0x109)](_0xc38093){const _0x57e274=_0x3efa3e;this[_0x57e274(0x124)]&&(this['_materialPtr'][_0x57e274(0x122)](_0x318575=>{const _0x282802=_0x57e274;_0x318575[_0x282802(0x101)]();}),this[_0x57e274(0x124)]=[]);let _0x4abe7b=Array['isArray'](_0xc38093)?_0xc38093:[_0xc38093],_0x16bb5d=[];_0x4abe7b[_0x57e274(0x122)](_0x5d62b3=>{const _0x1f976b=_0x57e274;let _0x20c4a2=_0x5d62b3[_0x1f976b(0x120)]();if(_0x20c4a2)_0x16bb5d[_0x1f976b(0x129)](_0x20c4a2);_0x5d62b3['addRef']();});if(this[_0x57e274(0x105)]){if(_0x16bb5d['length']>0x0)this[_0x57e274(0x105)][_0x57e274(0x10c)]=Array['isArray'](_0xc38093)?_0x16bb5d[0x0]:_0x16bb5d;}this[_0x57e274(0x124)]=_0x4abe7b;}constructor(_0x57f94d,_0xc60959,_0x441c88,_0x32fe02){const _0x26ddb8=_0x3efa3e;let _0x56a1e0=[],_0x45ebca=Array[_0x26ddb8(0x110)](_0x441c88)?_0x441c88:[_0x441c88];_0x45ebca[_0x26ddb8(0x122)](_0x53bc15=>{const _0x1a1c9f=_0x26ddb8;let _0x5b1cba=_0x57f94d[_0x1a1c9f(0x119)][_0x1a1c9f(0x112)](_0x53bc15);if(_0x5b1cba)_0x56a1e0[_0x1a1c9f(0x129)](_0x5b1cba);}),super(_0x57f94d,_0x32fe02),this[_0x26ddb8(0x117)]=_0x57f94d[_0x26ddb8(0x119)]['addGeometryAsset'](_0xc60959),this[_0x26ddb8(0x124)]=_0x56a1e0,_0x56a1e0[_0x26ddb8(0x122)](_0xfaddca=>{const _0x58271c=_0x26ddb8;_0xfaddca[_0x58271c(0x123)]();}),this[_0x26ddb8(0x105)][_0x26ddb8(0x10c)]=_0x441c88,this[_0x26ddb8(0x105)][_0x26ddb8(0x111)]=_0xc60959,this[_0x26ddb8(0x104)]=!![],this['receiveShadow']=!![];}[_0x3efa3e(0x127)](){return new webgpu.Mesh();}set[_0x3efa3e(0x104)](_0x4ec851){const _0x566237=_0x3efa3e;if(this[_0x566237(0x105)])this[_0x566237(0x105)][_0x566237(0x104)]=_0x4ec851;}get[_0x3efa3e(0x104)](){const _0x4dff0b=_0x3efa3e;return this[_0x4dff0b(0x105)]?this[_0x4dff0b(0x105)][_0x4dff0b(0x104)]:![];}set[_0x3efa3e(0x11e)](_0x311e77){const _0x7c1110=_0x3efa3e;if(!this[_0x7c1110(0x105)])return;this['threeObject'][_0x7c1110(0x11e)]=_0x311e77;}get[_0x3efa3e(0x11e)](){const _0x402af7=_0x3efa3e;return this[_0x402af7(0x105)]?this[_0x402af7(0x105)][_0x402af7(0x11e)]:![];}[_0x3efa3e(0x11f)](){const _0x1e790d=_0x3efa3e;let _0x3f4c42=new webgpu.Vector3();return this[_0x1e790d(0x10d)]()['getCenter'](_0x3f4c42),_0x3f4c42;}[_0x3efa3e(0x11d)](){const _0x50728a=_0x3efa3e;let _0x4bc80d=new webgpu.Vector3(),_0x21f0ad=this[_0x50728a(0x10d)]();return _0x21f0ad[_0x50728a(0x10e)](_0x4bc80d),_0x4bc80d['y']=_0x21f0ad[_0x50728a(0x125)]['y'],_0x4bc80d;}['getBoundsBottomCenterPosition'](){const _0x13137e=_0x3efa3e;let _0x3b784c=new webgpu.Vector3(),_0x69e5c7=this[_0x13137e(0x10d)]();return _0x69e5c7['getCenter'](_0x3b784c),_0x3b784c['y']=_0x69e5c7[_0x13137e(0x118)]['y'],_0x3b784c;}[_0x3efa3e(0x128)](){const _0x5a7129=_0x3efa3e;var _0x30b29d;this[_0x5a7129(0x105)]&&this['threeObject'][_0x5a7129(0x121)]();(_0x30b29d=this[_0x5a7129(0x117)])===null||_0x30b29d===void 0?void 0:_0x30b29d[_0x5a7129(0x101)]();let _0x1e41ac=Array[_0x5a7129(0x110)](this['_materialPtr'])?this[_0x5a7129(0x124)]:[this[_0x5a7129(0x124)]];_0x1e41ac[_0x5a7129(0x122)](_0x1d119a=>{const _0x1effc6=_0x5a7129;_0x1d119a[_0x1effc6(0x101)]();}),super['destroyObject']();}}
|
|
32
43
|
|
|
33
|
-
const
|
|
44
|
+
const _0x3cb963=_0x2ef8;(function(_0x242295,_0x591380){const _0x47afdc=_0x2ef8,_0x5978f1=_0x242295();while(!![]){try{const _0x4db1d9=-parseInt(_0x47afdc(0xc8))/0x1*(parseInt(_0x47afdc(0xad))/0x2)+-parseInt(_0x47afdc(0xc2))/0x3*(-parseInt(_0x47afdc(0xb5))/0x4)+parseInt(_0x47afdc(0xb1))/0x5+parseInt(_0x47afdc(0xb6))/0x6+-parseInt(_0x47afdc(0xba))/0x7+parseInt(_0x47afdc(0xb8))/0x8+-parseInt(_0x47afdc(0xb9))/0x9;if(_0x4db1d9===_0x591380)break;else _0x5978f1['push'](_0x5978f1['shift']());}catch(_0x25e3a1){_0x5978f1['push'](_0x5978f1['shift']());}}}(_0x3c40,0x72fdf));function _0x2ef8(_0xa36185,_0x3aa8b1){_0xa36185=_0xa36185-0xaa;const _0x3c40d6=_0x3c40();let _0x2ef80b=_0x3c40d6[_0xa36185];return _0x2ef80b;}function _0x3c40(){const _0x5b4b2b=['51rWdUoZ','LYObject','instanceMatrix','addRef','updateMatrices','threeObject','getMatrixAt','isArray','InstanceMeshComponent:\x20threeObject\x20is\x20null','_materialPtr','2250qVsbUL','setMatrixAt','addGeometryAsset','userData','1679355giPrpv','assetManager','receiveShadow','castShadow','3404fcnoCV','4593738qpkTac','destroyObject','1396576dIGJVx','9538344cHaMoL','2872569alsunn','length','count','geometry','getValue','needsUpdate','removeFromParent','_geometryPtr','2547ypPTBs','createDefaultObject','material','forEach','obj','push'];_0x3c40=function(){return _0x5b4b2b;};return _0x3c40();}class InstanceMeshComponent extends SceneComponent{get[_0x3cb963(0xcd)](){const _0x2bc8c3=_0x3cb963;if(!this[_0x2bc8c3(0xc6)])throw new Error(_0x2bc8c3(0xab));return this[_0x2bc8c3(0xc6)];}set['threeObject'](_0x26897d){const _0x312c16=_0x3cb963;this['obj']=_0x26897d,this['obj']&&(this[_0x312c16(0xc6)][_0x312c16(0xb0)][_0x312c16(0xc9)]=this);}get[_0x3cb963(0xbd)](){const _0x4242b4=_0x3cb963;var _0x6f0d21,_0x991949;return (_0x991949=(_0x6f0d21=this[_0x4242b4(0xc1)])===null||_0x6f0d21===void 0?void 0:_0x6f0d21[_0x4242b4(0xbe)]())!==null&&_0x991949!==void 0?_0x991949:null;}get['material'](){const _0x130c71=_0x3cb963,_0x2e57d3=[];return this[_0x130c71(0xac)][_0x130c71(0xc5)](_0x348193=>{const _0x157b74=_0x130c71,_0x4c08ec=_0x348193['getValue']();if(_0x4c08ec)_0x2e57d3[_0x157b74(0xc7)](_0x4c08ec);}),_0x2e57d3['length']>0x1?_0x2e57d3:_0x2e57d3[0x0];}get[_0x3cb963(0xbc)](){const _0xb06717=_0x3cb963;return this[_0xb06717(0xcd)][_0xb06717(0xbc)];}set[_0x3cb963(0xbc)](_0x5460d3){this['threeObject']['count']=_0x5460d3;}set['castShadow'](_0x4057fa){const _0x307d0f=_0x3cb963;if(this[_0x307d0f(0xcd)])this['threeObject'][_0x307d0f(0xb4)]=_0x4057fa;}get[_0x3cb963(0xb4)](){const _0x56de99=_0x3cb963;return this[_0x56de99(0xcd)]?this['threeObject'][_0x56de99(0xb4)]:![];}set[_0x3cb963(0xb3)](_0x55e5ca){const _0x337a46=_0x3cb963;if(!this[_0x337a46(0xcd)])return;this[_0x337a46(0xcd)]['receiveShadow']=_0x55e5ca;}get[_0x3cb963(0xb3)](){const _0x2e8aca=_0x3cb963;return this[_0x2e8aca(0xcd)]?this[_0x2e8aca(0xcd)][_0x2e8aca(0xb3)]:![];}constructor(_0x4739df,_0x48c345,_0x56fad0){const _0x5afe5a=_0x3cb963;super(_0x4739df,_0x56fad0),this[_0x5afe5a(0xc1)]=null,this[_0x5afe5a(0xac)]=[];_0x48c345[_0x5afe5a(0xbd)]&&(this[_0x5afe5a(0xc1)]=_0x4739df[_0x5afe5a(0xb2)][_0x5afe5a(0xaf)](_0x48c345['geometry']));const _0x1cf4c5=Array[_0x5afe5a(0xaa)](_0x48c345[_0x5afe5a(0xc4)])?_0x48c345['material']:[_0x48c345[_0x5afe5a(0xc4)]];_0x1cf4c5['forEach'](_0x2aba0c=>{const _0x2c493f=_0x5afe5a,_0x2a21a3=_0x4739df[_0x2c493f(0xb2)]['addMaterialAsset'](_0x2aba0c);_0x2a21a3&&(_0x2a21a3[_0x2c493f(0xcb)](),this['_materialPtr']['push'](_0x2a21a3));}),this[_0x5afe5a(0xcd)]=_0x48c345,this[_0x5afe5a(0xb4)]=!![],this['receiveShadow']=!![];}[_0x3cb963(0xc3)](){return new webgpu.InstancedMesh(undefined,undefined,0x0);}[_0x3cb963(0xce)](_0x34753a,_0x318ca2){const _0x4717fe=_0x3cb963;this[_0x4717fe(0xcd)]['getMatrixAt'](_0x34753a,_0x318ca2);}['setMatrixAt'](_0x2fea3d,_0x5219e2){const _0x6cb017=_0x3cb963;this['threeObject'][_0x6cb017(0xae)](_0x2fea3d,_0x5219e2),this[_0x6cb017(0xcd)][_0x6cb017(0xca)]['needsUpdate']=!![];}[_0x3cb963(0xcc)](_0x1ed37e){const _0x5cdd4d=_0x3cb963,_0x4b14c1=Math['min'](_0x1ed37e[_0x5cdd4d(0xbb)],this[_0x5cdd4d(0xcd)]['count']);for(let _0x26168d=0x0;_0x26168d<_0x4b14c1;_0x26168d++){this['threeObject']['setMatrixAt'](_0x26168d,_0x1ed37e[_0x26168d]);}this[_0x5cdd4d(0xcd)][_0x5cdd4d(0xca)][_0x5cdd4d(0xbf)]=!![];}[_0x3cb963(0xb7)](){const _0x3b50be=_0x3cb963;var _0x4329bb;this[_0x3b50be(0xcd)]&&(this[_0x3b50be(0xcd)][_0x3b50be(0xc0)](),this[_0x3b50be(0xcd)]['dispose']()),(_0x4329bb=this[_0x3b50be(0xc1)])===null||_0x4329bb===void 0?void 0:_0x4329bb['release'](),this[_0x3b50be(0xc1)]=null,this[_0x3b50be(0xac)][_0x3b50be(0xc5)](_0x139dc0=>{_0x139dc0['release']();}),this['_materialPtr']=[],super[_0x3b50be(0xb7)]();}}
|
|
34
45
|
|
|
35
|
-
|
|
46
|
+
var _0x22cf8c=_0x2164;(function(_0x556de9,_0x28923c){var _0x4450d7=_0x2164,_0x406746=_0x556de9();while(!![]){try{var _0x41a638=-parseInt(_0x4450d7(0x1ad))/0x1*(-parseInt(_0x4450d7(0x1a0))/0x2)+-parseInt(_0x4450d7(0x1a8))/0x3*(-parseInt(_0x4450d7(0x19a))/0x4)+parseInt(_0x4450d7(0x1ab))/0x5*(parseInt(_0x4450d7(0x1a7))/0x6)+-parseInt(_0x4450d7(0x1a4))/0x7+parseInt(_0x4450d7(0x19d))/0x8*(-parseInt(_0x4450d7(0x1a3))/0x9)+-parseInt(_0x4450d7(0x1ac))/0xa*(-parseInt(_0x4450d7(0x19c))/0xb)+parseInt(_0x4450d7(0x1a9))/0xc;if(_0x41a638===_0x28923c)break;else _0x406746['push'](_0x406746['shift']());}catch(_0x2b11b7){_0x406746['push'](_0x406746['shift']());}}}(_0xdf05,0xec3ff));class TSmartPointer{constructor(_0x2dd60e,_0xaecac=0x1){var _0x489b5d=_0x2164;this[_0x489b5d(0x1a6)]=0x1,this[_0x489b5d(0x1a1)]=null,this[_0x489b5d(0x1a1)]=_0x2dd60e,this[_0x489b5d(0x1a6)]=_0xaecac;}[_0x22cf8c(0x1a2)](){return this['referenceCount'];}[_0x22cf8c(0x19f)](){var _0xeab0d5=_0x22cf8c;return this[_0xeab0d5(0x1a1)]!==null;}[_0x22cf8c(0x1aa)](_0x1cf5b3=0x1){var _0x40fc02=_0x22cf8c;this[_0x40fc02(0x1a1)]!==null&&(this[_0x40fc02(0x1a6)]+=_0x1cf5b3);}[_0x22cf8c(0x19e)](){var _0x141d0d=_0x22cf8c;this['value']!==null&&this[_0x141d0d(0x1a6)]>0x0&&(this[_0x141d0d(0x1a6)]--,this[_0x141d0d(0x1a6)]===0x0&&this[_0x141d0d(0x1a5)]());}['forceRelease'](){var _0x143e11=_0x22cf8c;this['value']!==null&&(this[_0x143e11(0x1a5)](),this[_0x143e11(0x1a6)]=0x0);}[_0x22cf8c(0x1a5)](){this['value']=null;}[_0x22cf8c(0x19b)](){var _0xf76c4e=_0x22cf8c;return this[_0xf76c4e(0x1a1)];}}function _0x2164(_0x5e1c0b,_0x4e73c0){_0x5e1c0b=_0x5e1c0b-0x19a;var _0xdf05bf=_0xdf05();var _0x21641c=_0xdf05bf[_0x5e1c0b];return _0x21641c;}function _0xdf05(){var _0x3f1b33=['112pwZqxJ','getValue','1958POzGwT','8176904ouvxvL','release','isValid','1983766yodNIC','value','getRefCount','9XvRJlx','8772603GaaJUC','dispose','referenceCount','6xEGhWH','63069OStfBp','303468tOxxgQ','addRef','5782135xhaNJd','27010IhWpbr','1DLExhe'];_0xdf05=function(){return _0x3f1b33;};return _0xdf05();}
|
|
36
47
|
|
|
37
|
-
const
|
|
48
|
+
const _0x4938f7=_0x41b1;(function(_0x291c1c,_0x272768){const _0x20de76=_0x41b1,_0x4ad17b=_0x291c1c();while(!![]){try{const _0x41876a=parseInt(_0x20de76(0xdc))/0x1*(-parseInt(_0x20de76(0xd7))/0x2)+-parseInt(_0x20de76(0xdf))/0x3*(-parseInt(_0x20de76(0xde))/0x4)+parseInt(_0x20de76(0xdd))/0x5+parseInt(_0x20de76(0xdb))/0x6+parseInt(_0x20de76(0xda))/0x7+parseInt(_0x20de76(0xd9))/0x8*(parseInt(_0x20de76(0xd2))/0x9)+-parseInt(_0x20de76(0xd6))/0xa;if(_0x41876a===_0x272768)break;else _0x4ad17b['push'](_0x4ad17b['shift']());}catch(_0x18b886){_0x4ad17b['push'](_0x4ad17b['shift']());}}}(_0x2e27,0xb0c9e));const ASSET_POINTER_KEY=_0x4938f7(0xd3);function _0x41b1(_0x1d3cbe,_0x2da7de){_0x1d3cbe=_0x1d3cbe-0xd1;const _0x2e27dd=_0x2e27();let _0x41b140=_0x2e27dd[_0x1d3cbe];return _0x41b140;}function _0x2e27(){const _0x208c2a=['userData','14229890eIdHuE','2135526PxKsHv','value','6805720VoAKIn','4772600PjqNpb','8035056lCwnzx','1oLwOGb','422700XXhwpp','4ZXhyFF','775941gDjDvS','dispose','9xAmZOw','assetPointer','editorAssetId'];_0x2e27=function(){return _0x208c2a;};return _0x2e27();}const EDITOR_ASSET_ID_KEY=_0x4938f7(0xd4);class TAssetPointer extends TSmartPointer{get['uuid'](){return this['_uuid'];}constructor(_0x57d81d,_0x5018c0=0x0){const _0x5a18e3=_0x4938f7;super(_0x57d81d,_0x5018c0),this['_uuid']=_0x57d81d['uuid'],_0x57d81d[_0x5a18e3(0xd5)][ASSET_POINTER_KEY]=this;}[_0x4938f7(0xd1)](){const _0x4a88ff=_0x4938f7;this[_0x4a88ff(0xd8)]&&(this[_0x4a88ff(0xd8)][_0x4a88ff(0xd5)]&&(delete this['value'][_0x4a88ff(0xd5)][ASSET_POINTER_KEY],delete this[_0x4a88ff(0xd8)][_0x4a88ff(0xd5)][EDITOR_ASSET_ID_KEY]),typeof this[_0x4a88ff(0xd8)][_0x4a88ff(0xd1)]==='function'&&this[_0x4a88ff(0xd8)][_0x4a88ff(0xd1)]()),super['dispose']();}}
|
|
38
49
|
|
|
39
|
-
const
|
|
50
|
+
function _0x5e44(){const _0x118f8c=['16ZpMfrL','5prBkyu','values','7325234TVpMex','textures','get','texturePointers','set','Texture\x20is\x20null','Material\x20is\x20null','728595iNUNHW','clear','24590liOvbt','3377CKwHjb','setTexture','7800384gEpVEJ','1307568wSpGzt','getValue','release','4667924fQTzMp','833804sWrYga','dispose','4tdCqPJ','needsUpdate'];_0x5e44=function(){return _0x118f8c;};return _0x5e44();}const _0x2aa5b7=_0x3f31;function _0x3f31(_0x855f5b,_0x22e54a){_0x855f5b=_0x855f5b-0x1c7;const _0x5e446b=_0x5e44();let _0x3f316d=_0x5e446b[_0x855f5b];return _0x3f316d;}(function(_0x49afd1,_0x4024e7){const _0x1192a6=_0x3f31,_0x440c83=_0x49afd1();while(!![]){try{const _0x2c0b54=parseInt(_0x1192a6(0x1cf))/0x1+-parseInt(_0x1192a6(0x1d1))/0x2*(parseInt(_0x1192a6(0x1cb))/0x3)+parseInt(_0x1192a6(0x1ce))/0x4*(parseInt(_0x1192a6(0x1d4))/0x5)+parseInt(_0x1192a6(0x1ca))/0x6+-parseInt(_0x1192a6(0x1d6))/0x7+parseInt(_0x1192a6(0x1d3))/0x8*(parseInt(_0x1192a6(0x1dd))/0x9)+-parseInt(_0x1192a6(0x1c7))/0xa*(parseInt(_0x1192a6(0x1c8))/0xb);if(_0x2c0b54===_0x4024e7)break;else _0x440c83['push'](_0x440c83['shift']());}catch(_0x1216b2){_0x440c83['push'](_0x440c83['shift']());}}}(_0x5e44,0xc0ca8));class MaterialAssetPointer extends TAssetPointer{constructor(_0xa0ae91,_0x25d639,_0x3168a8=0x0){const _0x27fc6a=_0x3f31;super(_0xa0ae91,_0x3168a8),this[_0x27fc6a(0x1d7)]=_0x25d639;}get[_0x2aa5b7(0x1d9)](){const _0x6e5c32=_0x2aa5b7;return this[_0x6e5c32(0x1d7)];}[_0x2aa5b7(0x1c9)](_0x570096,_0x4b7073){const _0x1214db=_0x2aa5b7,_0x37e103=this[_0x1214db(0x1cc)](),_0x253775=_0x4b7073[_0x1214db(0x1cc)]();if(!_0x253775)throw new Error(_0x1214db(0x1db));if(!_0x37e103)throw new Error(_0x1214db(0x1dc));const _0x5d3af8=this[_0x1214db(0x1d7)][_0x1214db(0x1d8)](_0x570096);_0x5d3af8!==_0x4b7073&&(_0x5d3af8&&_0x5d3af8[_0x1214db(0x1cd)](),this[_0x1214db(0x1d7)][_0x1214db(0x1da)](_0x570096,_0x4b7073),_0x37e103[_0x570096]=_0x253775,_0x4b7073['addRef'](),_0x37e103['needsUpdate']=!![]);}['removeTexture'](_0x58982f){const _0x4353a4=_0x2aa5b7,_0x3c46b4=this['getValue'](),_0x2b98bf=this[_0x4353a4(0x1d7)][_0x4353a4(0x1d8)](_0x58982f);_0x2b98bf&&(_0x2b98bf[_0x4353a4(0x1cd)](),this[_0x4353a4(0x1d7)]['delete'](_0x58982f),_0x3c46b4&&(_0x3c46b4[_0x58982f]=null,_0x3c46b4[_0x4353a4(0x1d2)]=!![]));}[_0x2aa5b7(0x1d0)](){const _0x43db1d=_0x2aa5b7;for(const _0xc730 of this[_0x43db1d(0x1d7)][_0x43db1d(0x1d5)]()){_0xc730[_0x43db1d(0x1cd)]();}this[_0x43db1d(0x1d7)][_0x43db1d(0x1de)](),super[_0x43db1d(0x1d0)]();}}
|
|
40
51
|
|
|
41
|
-
(function(
|
|
52
|
+
(function(_0x5a9f6f,_0x4e5f5d){var _0x4402a4=_0x5682,_0x74e03=_0x5a9f6f();while(!![]){try{var _0x50717a=-parseInt(_0x4402a4(0x168))/0x1+parseInt(_0x4402a4(0x16d))/0x2+parseInt(_0x4402a4(0x166))/0x3*(-parseInt(_0x4402a4(0x16f))/0x4)+-parseInt(_0x4402a4(0x16b))/0x5*(-parseInt(_0x4402a4(0x165))/0x6)+-parseInt(_0x4402a4(0x16a))/0x7+parseInt(_0x4402a4(0x16e))/0x8*(-parseInt(_0x4402a4(0x16c))/0x9)+-parseInt(_0x4402a4(0x169))/0xa*(parseInt(_0x4402a4(0x167))/0xb);if(_0x50717a===_0x4e5f5d)break;else _0x74e03['push'](_0x74e03['shift']());}catch(_0x294ffb){_0x74e03['push'](_0x74e03['shift']());}}}(_0x3b47,0x54d35));function _0x5682(_0x4cec0b,_0x524c46){_0x4cec0b=_0x4cec0b-0x165;var _0x3b476b=_0x3b47();var _0x5682c3=_0x3b476b[_0x4cec0b];return _0x5682c3;}class TextureAssetPointer extends TAssetPointer{constructor(_0x45ce98,_0x151112=0x1){super(_0x45ce98,_0x151112);}}function _0x3b47(){var _0x4b841a=['49890ATFksn','1141574PQVOqn','3334295lvhpBb','18bPcAcJ','977882YpvNeG','971256GIOzLl','4GnsFHd','6VZEIlt','407232UzsscI','341NGCZdk','112056esCAZa'];_0x3b47=function(){return _0x4b841a;};return _0x3b47();}
|
|
42
53
|
|
|
43
|
-
|
|
54
|
+
(function(_0x613d81,_0x36cc26){var _0x1b0acf=_0x1b88,_0x3e63a6=_0x613d81();while(!![]){try{var _0x13b326=parseInt(_0x1b0acf(0x13d))/0x1*(-parseInt(_0x1b0acf(0x136))/0x2)+parseInt(_0x1b0acf(0x140))/0x3+parseInt(_0x1b0acf(0x13b))/0x4*(-parseInt(_0x1b0acf(0x13c))/0x5)+-parseInt(_0x1b0acf(0x13f))/0x6*(-parseInt(_0x1b0acf(0x13e))/0x7)+-parseInt(_0x1b0acf(0x141))/0x8*(parseInt(_0x1b0acf(0x138))/0x9)+parseInt(_0x1b0acf(0x137))/0xa*(parseInt(_0x1b0acf(0x13a))/0xb)+parseInt(_0x1b0acf(0x139))/0xc;if(_0x13b326===_0x36cc26)break;else _0x3e63a6['push'](_0x3e63a6['shift']());}catch(_0x35d692){_0x3e63a6['push'](_0x3e63a6['shift']());}}}(_0x44a8,0x98b86));function _0x44a8(){var _0x1c69a3=['20133widDtj','14NXUVyp','1175586tXyBLt','712785pycEkE','216FHaxsP','74JgvHgt','30KIYGFY','264051JxsXpV','21371148hPrGjr','2345288kmrQoQ','24PqkTqC','739495iYtbXA'];_0x44a8=function(){return _0x1c69a3;};return _0x44a8();}function _0x1b88(_0x1c680e,_0x84a143){_0x1c680e=_0x1c680e-0x136;var _0x44a8bd=_0x44a8();var _0x1b88a2=_0x44a8bd[_0x1c680e];return _0x1b88a2;}class GeometryAssetPointer extends TAssetPointer{constructor(_0x212dc9,_0x4894b3=0x1){super(_0x212dc9,_0x4894b3);}}
|
|
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
|
+
const _0x42f5e8=_0x4c06;(function(_0xe34133,_0x3b2079){const _0xca3e55=_0x4c06,_0xe88f80=_0xe34133();while(!![]){try{const _0x1e36e6=-parseInt(_0xca3e55(0x81))/0x1*(-parseInt(_0xca3e55(0x87))/0x2)+-parseInt(_0xca3e55(0x97))/0x3+parseInt(_0xca3e55(0xaf))/0x4+parseInt(_0xca3e55(0x85))/0x5+parseInt(_0xca3e55(0xc9))/0x6*(-parseInt(_0xca3e55(0xc0))/0x7)+parseInt(_0xca3e55(0x91))/0x8*(-parseInt(_0xca3e55(0xb4))/0x9)+parseInt(_0xca3e55(0x9f))/0xa;if(_0x1e36e6===_0x3b2079)break;else _0xe88f80['push'](_0xe88f80['shift']());}catch(_0x16b900){_0xe88f80['push'](_0xe88f80['shift']());}}}(_0x41bb,0xbe713));function _0x4c06(_0x4070ab,_0x384380){_0x4070ab=_0x4070ab-0x80;const _0x41bb03=_0x41bb();let _0x4c06bb=_0x41bb03[_0x4070ab];return _0x4c06bb;}class AssetManager{constructor(_0xdba252,_0x58f9e3){const _0x481363=_0x4c06;this[_0x481363(0x89)]=new Map(),this['textureAssets']=new Map(),this[_0x481363(0xaa)]=new Map(),this['loadingManager']=new webgpu.LoadingManager(),this[_0x481363(0xbb)]=new Addons_js.GLTFLoader(this['loadingManager']),this[_0x481363(0x8f)]=_0xdba252,this[_0x481363(0xc5)]=_0x58f9e3;}get[_0x42f5e8(0xb2)](){const _0x17901c=_0x42f5e8;return this[_0x17901c(0xa7)];}get[_0x42f5e8(0x82)](){const _0x55346f=_0x42f5e8;return AssetManager[_0x55346f(0xb5)];}async[_0x42f5e8(0x9d)](){return;}[_0x42f5e8(0x98)](){const _0x4ce76a=_0x42f5e8;if(!AssetManager['_dracoLoader']){AssetManager['_dracoLoader']=new Addons_js.DRACOLoader();if(AssetManager[_0x4ce76a(0xc8)][_0x4ce76a(0xc2)]){const _0x3569e2=AssetManager['_dracoLoader'][_0x4ce76a(0xc2)];_0x3569e2[_0x4ce76a(0xac)]=undefined,_0x3569e2[_0x4ce76a(0xc6)]=undefined,_0x3569e2[_0x4ce76a(0xa4)]=undefined,_0x3569e2['onError']=undefined;}AssetManager['_dracoLoader']['setDecoderPath'](this[_0x4ce76a(0xc5)]),AssetManager[_0x4ce76a(0xc8)][_0x4ce76a(0x93)]();}}[_0x42f5e8(0xb6)](_0x5b6d64,_0xa7dcb4){const _0x3874cf=_0x42f5e8,_0x2af072=_0xa7dcb4[_0x3874cf(0xc1)]['clone'](),_0x5ccc8f=_0xa7dcb4['rotation']['clone'](),_0x8cad4a=_0xa7dcb4[_0x3874cf(0xb1)][_0x3874cf(0x8c)]();let _0x5815a2=null;const _0x5e3af4=_0xa7dcb4['children'];_0xa7dcb4['children']=[];if(_0xa7dcb4[_0x3874cf(0xbf)]===_0x3874cf(0x9b)||_0xa7dcb4[_0x3874cf(0xbf)]===_0x3874cf(0xc3))_0x5815a2=new SceneComponent(this[_0x3874cf(0x8f)],_0xa7dcb4['uuid']);else {if(_0xa7dcb4['isInstancedMesh']){const _0x33ad4d=_0xa7dcb4;_0x5815a2=new InstanceMeshComponent(this['app'],_0x33ad4d,_0x33ad4d[_0x3874cf(0xa3)]),_0x5815a2[_0x3874cf(0x9c)]=_0x33ad4d[_0x3874cf(0x9c)],_0xa7dcb4[_0x3874cf(0xa6)]['set'](0x0);}else {if(_0xa7dcb4[_0x3874cf(0x8a)]){const _0x5b9889=_0xa7dcb4;_0x5815a2=new MeshComponent(this[_0x3874cf(0x8f)],_0x5b9889[_0x3874cf(0xbc)],_0x5b9889[_0x3874cf(0x86)],_0x5b9889['uuid']),_0x5815a2[_0x3874cf(0x9c)]=_0x5b9889['name'],_0xa7dcb4[_0x3874cf(0xa6)][_0x3874cf(0x90)](0x0);}else _0x5815a2=new SceneComponent(this[_0x3874cf(0x8f)],_0xa7dcb4[_0x3874cf(0xa3)]);}}if(_0x5815a2===null)return _0xa7dcb4['children']=_0x5e3af4,null;_0x5b6d64[_0x3874cf(0x84)](_0x5815a2),_0x5815a2[_0x3874cf(0x83)](_0x2af072),_0x5815a2[_0x3874cf(0xab)](_0x5ccc8f),_0x5815a2[_0x3874cf(0xad)](_0x8cad4a);for(const _0x2a1902 of _0x5e3af4){this[_0x3874cf(0xb6)](_0x5815a2,_0x2a1902);}return _0x5815a2;}[_0x42f5e8(0xb3)](_0x1d1a0d){const _0x249a69=_0x42f5e8,_0x58fc38=(_0x3ff514,_0x18fe70)=>{const _0xac685b=_0x4c06;var _0x7344b2;const _0x1d4996=(_0x7344b2=_0x3ff514[_0xac685b(0x8d)](_0x18fe70))!==null&&_0x7344b2!==void 0?_0x7344b2:0x0;_0x3ff514[_0xac685b(0x90)](_0x18fe70,_0x1d4996+0x1);},_0x5cc9bb={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x1d1a0d[_0x249a69(0x8e)](_0x187d96=>{const _0x4b4b2b=_0x249a69,_0x371e01=_0x187d96;_0x371e01['geometry']instanceof webgpu.BufferGeometry&&_0x58fc38(_0x5cc9bb[_0x4b4b2b(0xbe)],_0x371e01[_0x4b4b2b(0xbc)]);if(_0x371e01['material']){const _0x1fcdfe=Array['isArray'](_0x371e01[_0x4b4b2b(0x86)])?_0x371e01[_0x4b4b2b(0x86)]:[_0x371e01[_0x4b4b2b(0x86)]];_0x1fcdfe[_0x4b4b2b(0xa0)](_0x40bee7=>{const _0x59b067=_0x4b4b2b;_0x40bee7&&(_0x58fc38(_0x5cc9bb[_0x59b067(0xb0)],_0x40bee7),Object[_0x59b067(0xc4)](_0x40bee7)[_0x59b067(0xa0)](_0x5cd55c=>{const _0x2b9015=_0x59b067;_0x5cd55c instanceof webgpu.Texture&&_0x58fc38(_0x5cc9bb[_0x2b9015(0xc7)],_0x5cd55c);}));});}}),_0x5cc9bb['geometries']['forEach']((_0x455635,_0x25b0a2)=>this[_0x249a69(0x94)](_0x25b0a2,_0x455635)),_0x5cc9bb[_0x249a69(0xb0)][_0x249a69(0xa0)]((_0x4cb5a5,_0x9bc5f6)=>this[_0x249a69(0x94)](_0x9bc5f6,_0x4cb5a5)),_0x5cc9bb[_0x249a69(0xc7)][_0x249a69(0xa0)]((_0x47c13a,_0x441d99)=>this['addAsset'](_0x441d99,_0x47c13a));}[_0x42f5e8(0xa8)](_0x2c831d){const _0x369925=_0x42f5e8;_0x2c831d[_0x369925(0xbc)]&&!_0x2c831d[_0x369925(0xbc)]['userData']['assetPointer']&&this[_0x369925(0x94)](_0x2c831d['geometry']);if(_0x2c831d[_0x369925(0x86)]){const _0x3e2932=Array[_0x369925(0x95)](_0x2c831d['material'])?_0x2c831d[_0x369925(0x86)]:[_0x2c831d[_0x369925(0x86)]];_0x3e2932[_0x369925(0xa0)](_0x5716ed=>{const _0x4767b2=_0x369925;if(!_0x5716ed)return;!_0x5716ed[_0x4767b2(0x99)][_0x4767b2(0xa1)]&&this['addAsset'](_0x5716ed),Object[_0x4767b2(0xc4)](_0x5716ed)[_0x4767b2(0xa0)](_0x1734ad=>{const _0x2a4663=_0x4767b2;_0x1734ad instanceof webgpu.Texture&&!_0x1734ad[_0x2a4663(0x99)][_0x2a4663(0xa1)]&&this[_0x2a4663(0x94)](_0x1734ad);});});}}async[_0x42f5e8(0x9a)](_0x3b0945){const _0x474fc1=_0x42f5e8;this[_0x474fc1(0x98)]();const _0x3ee48c=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x3ee48c[_0x474fc1(0xa2)](AssetManager[_0x474fc1(0xc8)]);AssetManager[_0x474fc1(0xb5)]&&_0x3ee48c[_0x474fc1(0xa5)](AssetManager[_0x474fc1(0xb5)]);try{const _0x45ead3=await _0x3ee48c['loadAsync'](_0x3b0945);return _0x45ead3;}catch(_0x3eee3a){console[_0x474fc1(0xb8)]('Failed\x20to\x20load\x20gltf',_0x3b0945,_0x3eee3a);throw _0x3eee3a;}}['loadGltfFromPath'](_0x1b4123,_0x56c12d){const _0x580620=_0x42f5e8;this[_0x580620(0x98)]();const _0x280fe1=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x580620(0xc8)]&&_0x280fe1[_0x580620(0xa2)](AssetManager[_0x580620(0xc8)]),_0x280fe1[_0x580620(0x8b)](_0x1b4123,_0x56c12d);}[_0x42f5e8(0xa9)](_0x19108e,_0x18b223,_0x26f470){const _0x566562=_0x42f5e8;this['setupDracoLoader']();const _0x54a738=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x566562(0xc8)]&&_0x54a738[_0x566562(0xa2)](AssetManager[_0x566562(0xc8)]),_0x54a738[_0x566562(0xbd)](_0x19108e,_0x18b223,_0x26f470);}[_0x42f5e8(0xb9)](_0x4bdc96='',_0x373088){const _0x14596e=new webgpu.FileLoader();_0x14596e['load'](_0x4bdc96,_0x373088);}[_0x42f5e8(0x94)](_0x52204a,_0x5de98f=0x0){const _0x38ad81=_0x42f5e8;if(_0x52204a instanceof webgpu.BufferGeometry)return this['addGeometryAsset'](_0x52204a,_0x5de98f);if(_0x52204a instanceof webgpu.Material)return this[_0x38ad81(0x92)](_0x52204a,_0x5de98f);if(_0x52204a instanceof webgpu.Texture)return this[_0x38ad81(0x88)](_0x52204a,_0x5de98f);return undefined;}['addMaterialAsset'](_0xb081e3,_0x3f5421=0x0){const _0x387af2=_0x42f5e8;let _0x36c31b=_0xb081e3[_0x387af2(0x99)][_0x387af2(0xa1)];if(!_0x36c31b){const _0x9d9306=new Map();Object['entries'](_0xb081e3)['forEach'](([_0x310289,_0x595f8d])=>{const _0x3679be=_0x387af2;if(_0x595f8d instanceof webgpu.Texture){const _0x1c27b0=this[_0x3679be(0x88)](_0x595f8d,0x1);_0x9d9306[_0x3679be(0x90)](_0x310289,_0x1c27b0);}}),_0x36c31b=new MaterialAssetPointer(_0xb081e3,_0x9d9306,_0x3f5421),this[_0x387af2(0xaa)][_0x387af2(0x90)](_0xb081e3[_0x387af2(0xa3)],_0x36c31b);}else _0x36c31b[_0x387af2(0xb7)](_0x3f5421);return _0x36c31b;}[_0x42f5e8(0x88)](_0x539487,_0x5659cf=0x0){const _0xa36e81=_0x42f5e8;let _0x56b6d1=_0x539487['userData'][_0xa36e81(0xa1)];return !_0x56b6d1?(_0x56b6d1=new TextureAssetPointer(_0x539487,_0x5659cf),this[_0xa36e81(0x96)][_0xa36e81(0x90)](_0x539487[_0xa36e81(0xa3)],_0x56b6d1)):_0x56b6d1[_0xa36e81(0xb7)](_0x5659cf),_0x56b6d1;}['addGeometryAsset'](_0x857415,_0x19b444=0x0){const _0xf244da=_0x42f5e8;let _0x2620a4=_0x857415[_0xf244da(0x99)][_0xf244da(0xa1)];return !_0x2620a4?(_0x2620a4=new GeometryAssetPointer(_0x857415,_0x19b444),this[_0xf244da(0x89)][_0xf244da(0x90)](_0x857415[_0xf244da(0xa3)],_0x2620a4)):_0x2620a4[_0xf244da(0xb7)](_0x19b444),_0x2620a4;}['releaseAsset'](_0xd85b70){const _0x582a8b=_0x42f5e8,_0x5eec88=_0xd85b70['userData']['assetPointer'];_0x5eec88?_0x5eec88[_0x582a8b(0xba)]():_0xd85b70['dispose']();}[_0x42f5e8(0x9e)](){const _0x192eef=_0x42f5e8;this[_0x192eef(0x80)](),AssetManager[_0x192eef(0xc8)]&&(AssetManager[_0x192eef(0xc8)][_0x192eef(0x9e)](),AssetManager[_0x192eef(0xc8)]=null),AssetManager[_0x192eef(0xb5)]&&(AssetManager[_0x192eef(0xb5)]['dispose'](),AssetManager[_0x192eef(0xb5)]=null);}[_0x42f5e8(0x80)](){const _0x61e920=_0x42f5e8;this[_0x61e920(0x89)]['forEach'](_0x1b4e0c=>_0x1b4e0c['forceRelease']()),this['geometryAssets'][_0x61e920(0xae)](),this['materialAssets'][_0x61e920(0xa0)](_0x330a32=>_0x330a32['forceRelease']()),this[_0x61e920(0xaa)][_0x61e920(0xae)](),this[_0x61e920(0x96)][_0x61e920(0xa0)](_0xda089a=>_0xda089a['forceRelease']()),this[_0x61e920(0x96)][_0x61e920(0xae)]();}}AssetManager['_dracoLoader']=null,AssetManager['_ktx2Loader']=null;function _0x41bb(){const _0x421734=['clone','get','traverse','app','set','24ZqUgtx','addMaterialAsset','preload','addAsset','isArray','textureAssets','1966929oyAkBq','setupDracoLoader','userData','loadGltfFromPathAsync','Group','name','init','dispose','34655120kopWhO','forEach','assetPointer','setDRACOLoader','uuid','onProgress','setKTX2Loader','layers','loadingManager','checkMeshResource','loadGltfFromBuffer','materialAssets','setRotation','onStart','setScale','clear','413624lrrtYR','materials','scale','LoadingManager','collectResourcesAndReferences','3466602lProjG','_ktx2Loader','convertThreeObjectToLYObject','addRef','error','loadFile','release','gltfLoader','geometry','parse','geometries','type','538349uGNmrR','position','manager','Object3D','values','dracoPath','onLoad','textures','_dracoLoader','114FxcBui','clearAssets','1699cizmbx','KTX2Loader','setPosition','addChildComponent','2205340tDWNQB','material','50YhNzCU','addTextureAsset','geometryAssets','isMesh','load'];_0x41bb=function(){return _0x421734;};return _0x41bb();}
|
|
46
57
|
|
|
47
|
-
(function(
|
|
58
|
+
(function(_0x8675b2,_0x4c34c6){var _0x4022ee=_0x21ca,_0x3296cc=_0x8675b2();while(!![]){try{var _0x3c313f=parseInt(_0x4022ee(0x1b0))/0x1*(parseInt(_0x4022ee(0x1c2))/0x2)+-parseInt(_0x4022ee(0x1a8))/0x3*(parseInt(_0x4022ee(0x1ad))/0x4)+parseInt(_0x4022ee(0x1a9))/0x5+-parseInt(_0x4022ee(0x1b9))/0x6*(-parseInt(_0x4022ee(0x1a3))/0x7)+-parseInt(_0x4022ee(0x1ab))/0x8+parseInt(_0x4022ee(0x1ac))/0x9+-parseInt(_0x4022ee(0x1a0))/0xa*(parseInt(_0x4022ee(0x1bf))/0xb);if(_0x3c313f===_0x4c34c6)break;else _0x3296cc['push'](_0x3296cc['shift']());}catch(_0x2d1dcf){_0x3296cc['push'](_0x3296cc['shift']());}}}(_0x2629,0xc810b));exports.AssetCategory = void 0;(function(_0x4d821e){var _0x252937=_0x21ca;_0x4d821e[_0x252937(0x1b5)]=_0x252937(0x1a6),_0x4d821e[_0x252937(0x1b6)]=_0x252937(0x1bd),_0x4d821e[_0x252937(0x1be)]='texture',_0x4d821e[_0x252937(0x1c3)]=_0x252937(0x1a7),_0x4d821e[_0x252937(0x1b8)]=_0x252937(0x1a5),_0x4d821e[_0x252937(0x1b4)]=_0x252937(0x1ba),_0x4d821e['HTML']='html',_0x4d821e['Code']=_0x252937(0x1b7),_0x4d821e[_0x252937(0x1a1)]=_0x252937(0x1c1);}(exports.AssetCategory||(exports.AssetCategory={})));exports.AssetLoadState = void 0;(function(_0x4b4706){var _0x3b5750=_0x21ca;_0x4b4706[_0x3b5750(0x1c0)]=_0x3b5750(0x1bb),_0x4b4706[_0x3b5750(0x1bc)]='loading',_0x4b4706[_0x3b5750(0x1a2)]='loaded',_0x4b4706[_0x3b5750(0x1a4)]=_0x3b5750(0x1ae);}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;(function(_0x184d82){var _0x23da1f=_0x21ca;_0x184d82[_0x23da1f(0x1c3)]=_0x23da1f(0x1a7),_0x184d82[_0x23da1f(0x1b1)]=_0x23da1f(0x19e),_0x184d82[_0x23da1f(0x1b6)]=_0x23da1f(0x1bd),_0x184d82['Level']=_0x23da1f(0x1ba),_0x184d82[_0x23da1f(0x1af)]=_0x23da1f(0x19f),_0x184d82[_0x23da1f(0x1b2)]=_0x23da1f(0x1b3);}(exports.ReferenceType||(exports.ReferenceType={})));function _0x2629(){var _0x59a151=['code','ActorManager','5956032VLvbUs','level','unloaded','Loading','material','Texture','12272491loqmrX','Unloaded','undefined','542KlOjwn','Actor','component','assetPointer','10KAimVG','Undefined','Loaded','7zbBspc','Error','actorManager','geometry','actor','9UBcyCN','5904035WnrosO','texture','8310656tKcaMY','6610464MvsDZg','557696HnBnoq','error','AssetPointer','1787KGSyNx','Component','External','external','Level','Geometry','Material'];_0x2629=function(){return _0x59a151;};return _0x2629();}function _0x21ca(_0x4d2e98,_0x3ada21){_0x4d2e98=_0x4d2e98-0x19e;var _0x2629f9=_0x2629();var _0x21cae2=_0x2629f9[_0x4d2e98];return _0x21cae2;}exports.AssetType = void 0;(function(_0x4cd5a7){var _0x3b3d63=_0x21ca;_0x4cd5a7[_0x4cd5a7[_0x3b3d63(0x1a6)]=0x1]=_0x3b3d63(0x1a6),_0x4cd5a7[_0x4cd5a7['material']=0x2]=_0x3b3d63(0x1bd),_0x4cd5a7[_0x4cd5a7[_0x3b3d63(0x1aa)]=0x3]='texture',_0x4cd5a7[_0x4cd5a7[_0x3b3d63(0x1c1)]=-1]='undefined';}(exports.AssetType||(exports.AssetType={})));
|
|
48
59
|
|
|
49
|
-
|
|
60
|
+
(function(_0x11cf23,_0x3a55b4){var _0xf5d5ed=_0x2911,_0x3c2b2c=_0x11cf23();while(!![]){try{var _0x4540db=parseInt(_0xf5d5ed(0x1c9))/0x1+-parseInt(_0xf5d5ed(0x1bf))/0x2+parseInt(_0xf5d5ed(0x1be))/0x3*(parseInt(_0xf5d5ed(0x1b7))/0x4)+parseInt(_0xf5d5ed(0x1c4))/0x5*(-parseInt(_0xf5d5ed(0x1c2))/0x6)+-parseInt(_0xf5d5ed(0x1c7))/0x7+parseInt(_0xf5d5ed(0x1c8))/0x8*(-parseInt(_0xf5d5ed(0x1bc))/0x9)+parseInt(_0xf5d5ed(0x1cc))/0xa*(parseInt(_0xf5d5ed(0x1cb))/0xb);if(_0x4540db===_0x3a55b4)break;else _0x3c2b2c['push'](_0x3c2b2c['shift']());}catch(_0x11a783){_0x3c2b2c['push'](_0x3c2b2c['shift']());}}}(_0x4cae,0xa43e7));exports.CollisionResponse = void 0;(function(_0x1b7b1d){var _0x7557e7=_0x2911;_0x1b7b1d['Ignore']=_0x7557e7(0x1c1),_0x1b7b1d['Overlap']=_0x7557e7(0x1b8),_0x1b7b1d[_0x7557e7(0x1ca)]='Block';}(exports.CollisionResponse||(exports.CollisionResponse={})));function _0x2911(_0x3daf93,_0x5173a3){_0x3daf93=_0x3daf93-0x1b7;var _0x4caec7=_0x4cae();var _0x2911a4=_0x4caec7[_0x3daf93];return _0x2911a4;}function _0x4cae(){var _0xb71fa4=['Overlap','Pawn','Sphere','Trigger','18SjSgKt','WorldStatic','1821705DERXjt','2039466hXgxTQ','Camera','Ignore','1878MWmBld','WorldDynamic','14815ZzTrLv','Box','Visibility','2993998rpCxgk','4125928ZPzjHg','1115065jRfbOA','Block','33wbAQPE','7855970NvbDGo','4orrxqG'];_0x4cae=function(){return _0xb71fa4;};return _0x4cae();}exports.CollisionChannel = void 0;(function(_0x3ba0af){var _0x135723=_0x2911;_0x3ba0af[_0x135723(0x1bd)]='WorldStatic',_0x3ba0af['WorldDynamic']=_0x135723(0x1c3),_0x3ba0af[_0x135723(0x1b9)]='Pawn',_0x3ba0af['Visibility']=_0x135723(0x1c6),_0x3ba0af['Camera']=_0x135723(0x1c0),_0x3ba0af['Trigger']=_0x135723(0x1bb);}(exports.CollisionChannel||(exports.CollisionChannel={})));exports.CollisionShapeType = void 0;(function(_0x2813b9){var _0x97887=_0x2911;_0x2813b9[_0x97887(0x1ba)]='Sphere',_0x2813b9['Box']=_0x97887(0x1c5);}(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 _0xe70b45=_0x4d13;(function(_0x2c70d1,_0x373ac9){const _0x2573b4=_0x4d13,_0x42b621=_0x2c70d1();while(!![]){try{const _0x46de4c=-parseInt(_0x2573b4(0x99))/0x1+-parseInt(_0x2573b4(0xaf))/0x2*(parseInt(_0x2573b4(0xab))/0x3)+parseInt(_0x2573b4(0xaa))/0x4*(-parseInt(_0x2573b4(0xc0))/0x5)+-parseInt(_0x2573b4(0xa2))/0x6*(parseInt(_0x2573b4(0x8a))/0x7)+-parseInt(_0x2573b4(0x9b))/0x8*(-parseInt(_0x2573b4(0xb2))/0x9)+-parseInt(_0x2573b4(0x9d))/0xa+parseInt(_0x2573b4(0xa1))/0xb;if(_0x46de4c===_0x373ac9)break;else _0x42b621['push'](_0x42b621['shift']());}catch(_0x288e3d){_0x42b621['push'](_0x42b621['shift']());}}}(_0x3808,0xe799c));function _0x4d13(_0x1f8e8d,_0x1b433d){_0x1f8e8d=_0x1f8e8d-0x84;const _0x3808b6=_0x3808();let _0x4d13c3=_0x3808b6[_0x1f8e8d];return _0x4d13c3;}function _0x3808(){const _0x1ec000=['getCollisionResponse','max','has','debugDrawEnabled','get','getPairKey','multiplyScalar','10HQlMKR','raycastAll','raycast','tick','generateOverlapEvents','getWorldAABB','sort','computeAabbHit','lineTraceMulti','Ignore','4242049pnCqax','sign','set','length','broadcast','point','lineTraceSingle','function','distance','uuid','min','add','onHitDelegate','filter','colliders','887441NUpRzr','unregisterCollider','3329544oJJErT','from','2542150QUjvxz','Visibility','onEndOverlapDelegate','collisionEnabled','56442529upIZZq','18WqRTHq','getCenter','debugEnabled','intersectRayAabb','previousOverlapPairs','copy','onBeginOverlapDelegate','sub','1634252hYRzWS','843HJndnd','Block','push','normal','8812yFKCww','_debugDrawEnabled','clone','18RBpZBi','clear','generateHitEvents','previousBlockPairs','Overlap','delete','intersectsBox'];_0x3808=function(){return _0x1ec000;};return _0x3808();}class PhysicsWorld{constructor(){const _0x82c10a=_0x4d13;this[_0x82c10a(0x98)]=new Set(),this[_0x82c10a(0xa6)]=new Map(),this[_0x82c10a(0xb5)]=new Map(),this[_0x82c10a(0xb0)]=![];}get[_0xe70b45(0xbc)](){return this['_debugDrawEnabled'];}set[_0xe70b45(0xbc)](_0x22c468){const _0x1a8474=_0xe70b45;if(this[_0x1a8474(0xb0)]===_0x22c468)return;this['_debugDrawEnabled']=_0x22c468;for(const _0x3bb7c8 of this[_0x1a8474(0x98)]){_0x3bb7c8[_0x1a8474(0xa4)]=_0x22c468;}}['registerCollider'](_0x1eace0){const _0x7df221=_0xe70b45;this[_0x7df221(0x98)][_0x7df221(0x95)](_0x1eace0),this[_0x7df221(0xb0)]&&(_0x1eace0[_0x7df221(0xa4)]=!![]);}[_0xe70b45(0x9a)](_0x5133ef){const _0x6e8112=_0xe70b45;this['colliders']['delete'](_0x5133ef);for(const [_0xc00643,_0x21ea2c]of this[_0x6e8112(0xa6)]){(_0x21ea2c[0x0]===_0x5133ef||_0x21ea2c[0x1]===_0x5133ef)&&this['previousOverlapPairs']['delete'](_0xc00643);}for(const [_0x1f7847,_0x3cb40c]of this[_0x6e8112(0xb5)]){(_0x3cb40c[0x0]===_0x5133ef||_0x3cb40c[0x1]===_0x5133ef)&&this[_0x6e8112(0xb5)][_0x6e8112(0xb7)](_0x1f7847);}}['clear'](){const _0x106166=_0xe70b45;this[_0x106166(0x98)]['clear'](),this[_0x106166(0xa6)][_0x106166(0xb3)](),this[_0x106166(0xb5)][_0x106166(0xb3)]();}[_0xe70b45(0x90)](_0x44548c,_0x5648ac,_0x52a097=exports.CollisionChannel[_0xe70b45(0x9e)],_0x5929b4){const _0x3aec7d=_0xe70b45,_0x2f4727=_0x5648ac['clone']()['sub'](_0x44548c),_0x29e485=_0x2f4727[_0x3aec7d(0x8d)]();if(_0x29e485<=0.000001)return null;const _0x96bcc3=_0x2f4727[_0x3aec7d(0xbf)](0x1/_0x29e485);let _0x306cb4=null;for(const _0x3d8c23 of this[_0x3aec7d(0x98)]){if(_0x3d8c23===_0x5929b4)continue;if(!_0x3d8c23['collisionEnabled'])continue;const _0x5c2b01=_0x3d8c23['getCollisionResponse'](_0x52a097);if(_0x5c2b01!==exports.CollisionResponse[_0x3aec7d(0xac)])continue;const _0x26cecd=_0x3d8c23['getWorldAABB'](new webgpu.Box3()),_0x5b9005=this[_0x3aec7d(0xa5)](_0x44548c,_0x96bcc3,_0x29e485,_0x26cecd);if(!_0x5b9005)continue;const _0x69c01f=_0x3d8c23,_0xd795d9=typeof _0x69c01f[_0x3aec7d(0xc2)]==='function'?_0x69c01f[_0x3aec7d(0xc2)](_0x44548c,_0x96bcc3,_0x29e485):_0x5b9005;if(!_0xd795d9)continue;(!_0x306cb4||_0xd795d9['distance']<_0x306cb4[_0x3aec7d(0x92)])&&(_0x306cb4={'collider':_0x3d8c23,'point':_0xd795d9[_0x3aec7d(0x8f)],'normal':_0xd795d9['normal'],'distance':_0xd795d9['distance'],'blocking':!![]});}return _0x306cb4;}[_0xe70b45(0x88)](_0x41a60e,_0x283c12,_0x58b110=exports.CollisionChannel[_0xe70b45(0x9e)],_0x4cf67c){const _0x36e6c2=_0xe70b45,_0x197441=_0x283c12[_0x36e6c2(0xb1)]()[_0x36e6c2(0xa9)](_0x41a60e),_0x1128f0=_0x197441[_0x36e6c2(0x8d)]();if(_0x1128f0<=0.000001)return [];const _0x4652c0=_0x197441[_0x36e6c2(0xbf)](0x1/_0x1128f0),_0x5eb6ff=[];for(const _0x19463f of this['colliders']){if(_0x19463f===_0x4cf67c)continue;if(!_0x19463f['collisionEnabled'])continue;const _0x58ee6b=_0x19463f[_0x36e6c2(0xb9)](_0x58b110);if(_0x58ee6b===exports.CollisionResponse['Ignore'])continue;const _0x28c5e2=_0x19463f[_0x36e6c2(0x85)](new webgpu.Box3()),_0x9a3276=this[_0x36e6c2(0xa5)](_0x41a60e,_0x4652c0,_0x1128f0,_0x28c5e2);if(!_0x9a3276)continue;const _0x560e7b=_0x19463f;if(typeof _0x560e7b[_0x36e6c2(0xc1)]==='function'){const _0x3e57ee=_0x560e7b[_0x36e6c2(0xc1)](_0x41a60e,_0x4652c0,_0x1128f0);for(const _0x215315 of _0x3e57ee){_0x5eb6ff[_0x36e6c2(0xad)]({'collider':_0x19463f,'point':_0x215315[_0x36e6c2(0x8f)],'normal':_0x215315['normal'],'distance':_0x215315[_0x36e6c2(0x92)],'blocking':_0x58ee6b===exports.CollisionResponse[_0x36e6c2(0xac)]});}}else {const _0x77170=typeof _0x560e7b[_0x36e6c2(0xc2)]===_0x36e6c2(0x91)?_0x560e7b['raycast'](_0x41a60e,_0x4652c0,_0x1128f0):_0x9a3276;if(!_0x77170)continue;_0x5eb6ff[_0x36e6c2(0xad)]({'collider':_0x19463f,'point':_0x77170[_0x36e6c2(0x8f)],'normal':_0x77170[_0x36e6c2(0xae)],'distance':_0x77170['distance'],'blocking':_0x58ee6b===exports.CollisionResponse[_0x36e6c2(0xac)]});}}return _0x5eb6ff[_0x36e6c2(0x86)]((_0x38dcb5,_0xfaaf02)=>_0x38dcb5[_0x36e6c2(0x92)]-_0xfaaf02[_0x36e6c2(0x92)]);}[_0xe70b45(0xc3)](_0xc3c33b){const _0x443d90=_0xe70b45,_0x3b77cc=Array[_0x443d90(0x9c)](this[_0x443d90(0x98)])[_0x443d90(0x97)](_0x1cd3ae=>_0x1cd3ae[_0x443d90(0xa0)]),_0x4d7ae7=new Map();for(const _0x102434 of _0x3b77cc){_0x4d7ae7[_0x443d90(0x8c)](_0x102434,_0x102434[_0x443d90(0x85)](new webgpu.Box3()));}const _0x1a93b3=new Map(),_0x29d4f8=new Map();for(let _0x8e4c2e=0x0;_0x8e4c2e<_0x3b77cc[_0x443d90(0x8d)];_0x8e4c2e++){const _0x290fef=_0x3b77cc[_0x8e4c2e],_0x2594bd=_0x4d7ae7['get'](_0x290fef);if(!_0x2594bd)continue;for(let _0xb442af=_0x8e4c2e+0x1;_0xb442af<_0x3b77cc['length'];_0xb442af++){const _0x5bda98=_0x3b77cc[_0xb442af],_0x3b5f8e=_0x4d7ae7['get'](_0x5bda98);if(!_0x3b5f8e)continue;if(!_0x2594bd[_0x443d90(0xb8)](_0x3b5f8e))continue;const _0x3973d8=_0x290fef['getMutualResponse'](_0x5bda98);if(_0x3973d8===exports.CollisionResponse[_0x443d90(0x89)])continue;const _0x215068=this[_0x443d90(0xbe)](_0x290fef,_0x5bda98);_0x3973d8===exports.CollisionResponse[_0x443d90(0xb6)]?_0x1a93b3['set'](_0x215068,[_0x290fef,_0x5bda98]):_0x29d4f8[_0x443d90(0x8c)](_0x215068,[_0x290fef,_0x5bda98]);}}for(const [_0x11eff4,_0x4d29c6]of _0x1a93b3){if(this[_0x443d90(0xa6)]['has'](_0x11eff4))continue;const [_0x142e3d,_0x48c73b]=_0x4d29c6;_0x142e3d[_0x443d90(0x84)]&&_0x142e3d[_0x443d90(0xa8)]['broadcast'](_0x48c73b),_0x48c73b[_0x443d90(0x84)]&&_0x48c73b[_0x443d90(0xa8)][_0x443d90(0x8e)](_0x142e3d);}for(const [_0x1d0ee4,_0x4e1247]of this[_0x443d90(0xa6)]){if(_0x1a93b3[_0x443d90(0xbb)](_0x1d0ee4))continue;const [_0xd84361,_0x224de1]=_0x4e1247;_0xd84361['generateOverlapEvents']&&_0xd84361[_0x443d90(0x9f)]['broadcast'](_0x224de1),_0x224de1[_0x443d90(0x84)]&&_0x224de1[_0x443d90(0x9f)]['broadcast'](_0xd84361);}for(const [_0xf2bdfd,_0x4dcd4a]of _0x29d4f8){if(this[_0x443d90(0xb5)][_0x443d90(0xbb)](_0xf2bdfd))continue;const [_0xdb921f,_0x116e43]=_0x4dcd4a,_0x2a0a3d=_0x4d7ae7['get'](_0xdb921f),_0xdc1381=_0x4d7ae7[_0x443d90(0xbd)](_0x116e43);if(!_0x2a0a3d||!_0xdc1381)continue;const _0x400c41=this[_0x443d90(0x87)](_0xdb921f,_0x116e43,_0x2a0a3d,_0xdc1381);_0xdb921f['generateHitEvents']&&_0xdb921f[_0x443d90(0x96)][_0x443d90(0x8e)](_0x400c41);if(_0x116e43[_0x443d90(0xb4)]){const _0x109974={'self':_0x116e43,'other':_0xdb921f,'point':_0x400c41['point']['clone'](),'normal':_0x400c41[_0x443d90(0xae)]['clone']()[_0x443d90(0xbf)](-1),'penetrationDepth':_0x400c41['penetrationDepth']};_0x116e43[_0x443d90(0x96)]['broadcast'](_0x109974);}}this[_0x443d90(0xa6)]=_0x1a93b3,this[_0x443d90(0xb5)]=_0x29d4f8;}[_0xe70b45(0x87)](_0x4bfbc1,_0x387711,_0x39e270,_0xd55532){const _0xc92273=_0xe70b45,_0x470fda=Math[_0xc92273(0x94)](_0x39e270[_0xc92273(0xba)]['x'],_0xd55532[_0xc92273(0xba)]['x'])-Math['max'](_0x39e270['min']['x'],_0xd55532[_0xc92273(0x94)]['x']),_0x3e93d7=Math[_0xc92273(0x94)](_0x39e270['max']['y'],_0xd55532['max']['y'])-Math[_0xc92273(0xba)](_0x39e270[_0xc92273(0x94)]['y'],_0xd55532['min']['y']),_0x3ead09=Math['min'](_0x39e270[_0xc92273(0xba)]['z'],_0xd55532['max']['z'])-Math['max'](_0x39e270[_0xc92273(0x94)]['z'],_0xd55532['min']['z']);let _0x53712e=_0x470fda,_0x43e0be='x';_0x3e93d7<_0x53712e&&(_0x53712e=_0x3e93d7,_0x43e0be='y');_0x3ead09<_0x53712e&&(_0x53712e=_0x3ead09,_0x43e0be='z');const _0x445514=_0x39e270[_0xc92273(0xa3)](new webgpu.Vector3()),_0x2eb852=_0xd55532['getCenter'](new webgpu.Vector3()),_0x2d45d5=_0x2eb852[_0xc92273(0xb1)]()[_0xc92273(0xa9)](_0x445514),_0x6400e7=new webgpu.Vector3(0x0,0x0,0x0);if(_0x43e0be==='x')_0x6400e7[_0xc92273(0x8c)](Math[_0xc92273(0x8b)](_0x2d45d5['x'])||0x1,0x0,0x0);else _0x43e0be==='y'?_0x6400e7[_0xc92273(0x8c)](0x0,Math[_0xc92273(0x8b)](_0x2d45d5['y'])||0x1,0x0):_0x6400e7['set'](0x0,0x0,Math[_0xc92273(0x8b)](_0x2d45d5['z'])||0x1);const _0x21cd2c=new webgpu.Vector3((Math['max'](_0x39e270['min']['x'],_0xd55532[_0xc92273(0x94)]['x'])+Math[_0xc92273(0x94)](_0x39e270[_0xc92273(0xba)]['x'],_0xd55532[_0xc92273(0xba)]['x']))*0.5,(Math[_0xc92273(0xba)](_0x39e270[_0xc92273(0x94)]['y'],_0xd55532[_0xc92273(0x94)]['y'])+Math[_0xc92273(0x94)](_0x39e270['max']['y'],_0xd55532[_0xc92273(0xba)]['y']))*0.5,(Math[_0xc92273(0xba)](_0x39e270[_0xc92273(0x94)]['z'],_0xd55532[_0xc92273(0x94)]['z'])+Math[_0xc92273(0x94)](_0x39e270[_0xc92273(0xba)]['z'],_0xd55532['max']['z']))*0.5);return {'self':_0x4bfbc1,'other':_0x387711,'point':_0x21cd2c,'normal':_0x6400e7,'penetrationDepth':Math['max'](0x0,_0x53712e)};}[_0xe70b45(0xbe)](_0x112274,_0x4282e0){const _0x4cf656=_0xe70b45;return _0x112274['uuid']<_0x4282e0['uuid']?_0x112274[_0x4cf656(0x93)]+'|'+_0x4282e0[_0x4cf656(0x93)]:_0x4282e0[_0x4cf656(0x93)]+'|'+_0x112274[_0x4cf656(0x93)];}[_0xe70b45(0xa5)](_0x1ff2b2,_0x353793,_0x1a4467,_0x31052b){const _0x3f955b=_0xe70b45;let _0x38e306=0x0,_0x21aa48=_0x1a4467;const _0x518f66=new webgpu.Vector3(0x0,0x0,0x0),_0x4eaecf=1e-8,_0x29c48f=_0x2a148c=>{const _0x43d486=_0x4d13,_0x17daac=_0x1ff2b2[_0x2a148c],_0x1e5d1c=_0x353793[_0x2a148c],_0x137b4c=_0x31052b['min'][_0x2a148c],_0x372ae7=_0x31052b[_0x43d486(0xba)][_0x2a148c];if(Math['abs'](_0x1e5d1c)<_0x4eaecf){if(_0x17daac<_0x137b4c||_0x17daac>_0x372ae7)return ![];return !![];}const _0x35709b=0x1/_0x1e5d1c;let _0x2dbffe,_0x3af7e;const _0x133bfc=new webgpu.Vector3(0x0,0x0,0x0);_0x1e5d1c>=0x0?(_0x2dbffe=(_0x137b4c-_0x17daac)*_0x35709b,_0x3af7e=(_0x372ae7-_0x17daac)*_0x35709b,_0x133bfc[_0x2a148c]=-1):(_0x2dbffe=(_0x372ae7-_0x17daac)*_0x35709b,_0x3af7e=(_0x137b4c-_0x17daac)*_0x35709b,_0x133bfc[_0x2a148c]=0x1);_0x2dbffe>_0x38e306&&(_0x38e306=_0x2dbffe,_0x518f66[_0x43d486(0xa7)](_0x133bfc));_0x3af7e<_0x21aa48&&(_0x21aa48=_0x3af7e);if(_0x38e306>_0x21aa48)return ![];return !![];};if(!_0x29c48f('x')||!_0x29c48f('y')||!_0x29c48f('z'))return null;if(_0x21aa48<0x0)return null;const _0x5069af=Math[_0x3f955b(0xba)](0x0,_0x38e306);if(_0x5069af>_0x1a4467)return null;return {'distance':_0x5069af,'normal':_0x518f66,'point':_0x1ff2b2[_0x3f955b(0xb1)]()[_0x3f955b(0x95)](_0x353793[_0x3f955b(0xb1)]()[_0x3f955b(0xbf)](_0x5069af))};}}
|
|
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 _0x3be79c=_0xf907;(function(_0x233525,_0x2a5cdd){var _0x455243=_0xf907,_0x5d1caf=_0x233525();while(!![]){try{var _0x4e60c1=parseInt(_0x455243(0x162))/0x1*(parseInt(_0x455243(0x148))/0x2)+parseInt(_0x455243(0x15c))/0x3+-parseInt(_0x455243(0x166))/0x4+parseInt(_0x455243(0x144))/0x5+-parseInt(_0x455243(0x16d))/0x6+parseInt(_0x455243(0x161))/0x7*(-parseInt(_0x455243(0x153))/0x8)+parseInt(_0x455243(0x14e))/0x9;if(_0x4e60c1===_0x2a5cdd)break;else _0x5d1caf['push'](_0x5d1caf['shift']());}catch(_0x5b0097){_0x5d1caf['push'](_0x5d1caf['shift']());}}}(_0x581a,0x5f589));function _0xf907(_0x272411,_0x5681f0){_0x272411=_0x272411-0x140;var _0x581a48=_0x581a();var _0xf907ef=_0x581a48[_0x272411];return _0xf907ef;}function _0x581a(){var _0x486365=['removeActorClipping','104916xMNTQF','523tiaFjC','_physics','rootActor\x20is\x20null','parent','3073740NGnKSM','markRenderStateDirty','worldParam','levelActorClass','destroy','physics','actors','3151332tsbuXX','KeepRelative','clear','getChildActorsByIds','getActorById','_rootActor','826975yfMVMY','threeObject','app','viewport','1058rsGkTD','tickableActors','delete','position','controller','_clippingGroup','8087634mnPich','rootComponent','clippingPlanes','addChildActor','getActorsByIds','40BLUiSG','rootActor','forEach','target.threeObject\x20is\x20null','scene','tick','set','children','getChildActorById','1255338HSVjDU','removeActors','addActorClipping','add'];_0x581a=function(){return _0x486365;};return _0x581a();}class World{get[_0x3be79c(0x157)](){var _0x1eb115=_0x3be79c,_0x16f826;let _0x3dc4f7=(_0x16f826=this['_rootActor'])===null||_0x16f826===void 0?void 0:_0x16f826[_0x1eb115(0x157)];if(!_0x3dc4f7)throw new Error('scene\x20is\x20null');return _0x3dc4f7;}get['viewport'](){var _0x380938=_0x3be79c;return this[_0x380938(0x146)][_0x380938(0x147)];}get[_0x3be79c(0x14c)](){var _0x1e0086=_0x3be79c;return this[_0x1e0086(0x146)]['controller'];}get[_0x3be79c(0x154)](){var _0x16d3a8=_0x3be79c;if(!this[_0x16d3a8(0x143)])throw new Error(_0x16d3a8(0x164));return this['_rootActor'];}get[_0x3be79c(0x16b)](){var _0x5d7b06=_0x3be79c;return this[_0x5d7b06(0x163)];}constructor(_0x37ba3b,_0x4ff20c){var _0x5a14af=_0x3be79c;this[_0x5a14af(0x143)]=null,this[_0x5a14af(0x16c)]=new Set(),this[_0x5a14af(0x149)]=new Set(),this['_clippingGroup']=null,this['app']=_0x37ba3b,this[_0x5a14af(0x168)]=_0x4ff20c,this[_0x5a14af(0x163)]=new PhysicsWorld();}['init'](){var _0x55c860=_0x3be79c;this[_0x55c860(0x143)]=new this[(_0x55c860(0x168))][(_0x55c860(0x169))](this[_0x55c860(0x146)]);}['addTickableActor'](_0x5e65e7){var _0x41ebf1=_0x3be79c;this['tickableActors'][_0x41ebf1(0x15f)](_0x5e65e7);}['removeTickableActor'](_0x25aae9){var _0x51c679=_0x3be79c;this[_0x51c679(0x149)]['delete'](_0x25aae9);}['tick'](_0x2a1e27){var _0x6d094e=_0x3be79c;this[_0x6d094e(0x149)]['forEach'](_0xa86f2a=>{var _0x4fc9ed=_0x6d094e;_0xa86f2a[_0x4fc9ed(0x158)](_0x2a1e27);}),this[_0x6d094e(0x163)][_0x6d094e(0x158)](_0x2a1e27);}[_0x3be79c(0x16a)](){var _0x5f5977=_0x3be79c,_0x5b219c;this[_0x5f5977(0x149)][_0x5f5977(0x140)](),this[_0x5f5977(0x163)][_0x5f5977(0x140)](),this[_0x5f5977(0x16c)][_0x5f5977(0x155)](_0x4d7e7c=>{var _0x4bd225=_0x5f5977;_0x4d7e7c[_0x4bd225(0x16a)]();}),this['actors'][_0x5f5977(0x140)](),(_0x5b219c=this['_rootActor'])===null||_0x5b219c===void 0?void 0:_0x5b219c[_0x5f5977(0x16a)](),this[_0x5f5977(0x143)]=null;}['addActor'](_0xdf83cd){var _0x526249=_0x3be79c,_0x3fd1f0;if(!_0xdf83cd[_0x526249(0x14f)][_0x526249(0x145)])throw new Error('actor.threeObject\x20is\x20null');_0xdf83cd['removeFromParent'](),(_0x3fd1f0=this[_0x526249(0x143)])===null||_0x3fd1f0===void 0?void 0:_0x3fd1f0[_0x526249(0x151)](_0xdf83cd,exports.AttachmentRules[_0x526249(0x16e)]),this[_0x526249(0x16c)]['add'](_0xdf83cd),_0xdf83cd['onAddedToWorld'](this),this[_0x526249(0x147)][_0x526249(0x167)]();}['removeActor'](_0x481050){var _0x17eb8a=_0x3be79c;_0x481050[_0x17eb8a(0x16a)](),this[_0x17eb8a(0x16c)][_0x17eb8a(0x14a)](_0x481050),this[_0x17eb8a(0x147)][_0x17eb8a(0x167)]();}[_0x3be79c(0x15d)](_0x2cfb28){var _0xf6858f=_0x3be79c;for(const _0xb33f6c of _0x2cfb28){_0xb33f6c[_0xf6858f(0x16a)](),this[_0xf6858f(0x16c)][_0xf6858f(0x14a)](_0xb33f6c);}this[_0xf6858f(0x147)]['markRenderStateDirty']();}[_0x3be79c(0x142)](_0x59835f){var _0x36e892=_0x3be79c;return this[_0x36e892(0x154)][_0x36e892(0x15b)](_0x59835f,!![]);}[_0x3be79c(0x152)](_0x4086c7){var _0x264be6=_0x3be79c;return this[_0x264be6(0x154)][_0x264be6(0x141)](_0x4086c7,!![]);}[_0x3be79c(0x15e)](_0x3ac4d7,_0x47e073){var _0x588c90=_0x3be79c;if(!_0x3ac4d7[_0x588c90(0x14f)][_0x588c90(0x145)])throw new Error(_0x588c90(0x156));!this[_0x588c90(0x14d)]&&(this['_clippingGroup']=new webgpu.ClippingGroup(),this[_0x588c90(0x14d)][_0x588c90(0x14b)][_0x588c90(0x159)](0x0,0x0,0x0)),this[_0x588c90(0x14d)][_0x588c90(0x150)]=_0x47e073,this['scene'][_0x588c90(0x15f)](this[_0x588c90(0x14d)]),this[_0x588c90(0x14d)][_0x588c90(0x15f)](_0x3ac4d7[_0x588c90(0x14f)]['threeObject']);}[_0x3be79c(0x160)](_0x1560ba,_0x3f2210=null){var _0x254baa=_0x3be79c,_0x1ffaf4;if(!this['_clippingGroup'])return;if(!_0x1560ba[_0x254baa(0x14f)]['threeObject'])throw new Error(_0x254baa(0x156));_0x3f2210?_0x3f2210['addChildActor'](_0x1560ba,exports.AttachmentRules['KeepRelative']):this['addActor'](_0x1560ba),this[_0x254baa(0x14d)][_0x254baa(0x15a)]['length']===0x0&&((_0x1ffaf4=this[_0x254baa(0x14d)][_0x254baa(0x165)])===null||_0x1ffaf4===void 0?void 0:_0x1ffaf4['remove'](this[_0x254baa(0x14d)]),this[_0x254baa(0x14d)]=null);}}
|
|
54
65
|
|
|
55
|
-
|
|
66
|
+
function _0x107c(_0x507745,_0x2c9e54){_0x507745=_0x507745-0x1b7;var _0x59b4cd=_0x59b4();var _0x107cc3=_0x59b4cd[_0x507745];return _0x107cc3;}var _0x489694=_0x107c;(function(_0x11a110,_0x3f97e9){var _0x12b28d=_0x107c,_0x487f66=_0x11a110();while(!![]){try{var _0x48e69f=-parseInt(_0x12b28d(0x1bd))/0x1+parseInt(_0x12b28d(0x1ba))/0x2+parseInt(_0x12b28d(0x1c0))/0x3*(parseInt(_0x12b28d(0x1b9))/0x4)+-parseInt(_0x12b28d(0x1bf))/0x5+parseInt(_0x12b28d(0x1bc))/0x6+-parseInt(_0x12b28d(0x1c2))/0x7*(parseInt(_0x12b28d(0x1b8))/0x8)+-parseInt(_0x12b28d(0x1c1))/0x9*(-parseInt(_0x12b28d(0x1b7))/0xa);if(_0x48e69f===_0x3f97e9)break;else _0x487f66['push'](_0x487f66['shift']());}catch(_0xf7f460){_0x487f66['push'](_0x487f66['shift']());}}}(_0x59b4,0x79ba7));exports.RendererType = void 0;function _0x59b4(){var _0x2cc659=['230700myPSne','313268MmIuIb','WebGL','4566265mnGemm','21lKLHkB','621zlWLcv','424725CrgVmb','143690iTViXl','16DWbFEr','138748gNsVZl','1147500UXyfYg','WebGPU'];_0x59b4=function(){return _0x2cc659;};return _0x59b4();}(function(_0x14b730){var _0x5efa8d=_0x107c;_0x14b730[_0x14b730[_0x5efa8d(0x1bb)]=0x0]=_0x5efa8d(0x1bb),_0x14b730[_0x14b730[_0x5efa8d(0x1be)]=0x1]='WebGL';}(exports.RendererType||(exports.RendererType={})));const DefaultViewportParam={'elementId':null,'renderer':{'type':exports.RendererType[_0x489694(0x1bb)]},'isLabelRendererNeeded':![],'isCSS3DRendererNeeded':![],'isUILayerNeeded':![]};
|
|
56
67
|
|
|
57
|
-
|
|
68
|
+
(function(_0x192183,_0x38f0c6){const _0x236642=_0x2c05,_0x23845b=_0x192183();while(!![]){try{const _0xbdd9c5=parseInt(_0x236642(0x13c))/0x1+-parseInt(_0x236642(0x137))/0x2+-parseInt(_0x236642(0x135))/0x3*(parseInt(_0x236642(0x13b))/0x4)+parseInt(_0x236642(0x13a))/0x5+parseInt(_0x236642(0x136))/0x6+parseInt(_0x236642(0x141))/0x7+parseInt(_0x236642(0x142))/0x8*(parseInt(_0x236642(0x139))/0x9);if(_0xbdd9c5===_0x38f0c6)break;else _0x23845b['push'](_0x23845b['shift']());}catch(_0x57a0a4){_0x23845b['push'](_0x23845b['shift']());}}}(_0x298c,0xab04e));function _0x298c(){const _0x1c12b8=['Antialiasing','4512606YtDxao','8Twohav','LensFlare','DepthOfField','132195OAqnYK','1124082melBeD','2612034TcfLjW','Bloom','2426877MvScsa','1260140IVkHgi','4KPVWqD','696890nYaNal','Outline','GroundTruthAmbientOcclusion','ScreenSpaceReflection'];_0x298c=function(){return _0x1c12b8;};return _0x298c();}const DefaultPostProcessParam={'steps':[]};function _0x2c05(_0x1ff417,_0x3e7f0e){_0x1ff417=_0x1ff417-0x133;const _0x298c0f=_0x298c();let _0x2c05f6=_0x298c0f[_0x1ff417];return _0x2c05f6;}exports.PostProcessStepType = void 0;(function(_0x535b5b){const _0x4bd463=_0x2c05;_0x535b5b[_0x535b5b[_0x4bd463(0x138)]=0x0]=_0x4bd463(0x138),_0x535b5b[_0x535b5b[_0x4bd463(0x134)]=0x1]=_0x4bd463(0x134),_0x535b5b[_0x535b5b[_0x4bd463(0x13f)]=0x2]=_0x4bd463(0x13f),_0x535b5b[_0x535b5b['GroundTruthAmbientOcclusion']=0x3]=_0x4bd463(0x13e),_0x535b5b[_0x535b5b[_0x4bd463(0x13d)]=0x4]=_0x4bd463(0x13d),_0x535b5b[_0x535b5b[_0x4bd463(0x140)]=0x5]=_0x4bd463(0x140),_0x535b5b[_0x535b5b[_0x4bd463(0x133)]=0x6]=_0x4bd463(0x133);}(exports.PostProcessStepType||(exports.PostProcessStepType={})));
|
|
58
69
|
|
|
59
|
-
|
|
70
|
+
(function(_0x219b0f,_0x14aa07){const _0x5cf186=_0x360e,_0xa4c855=_0x219b0f();while(!![]){try{const _0xb9e5e8=-parseInt(_0x5cf186(0x15d))/0x1+parseInt(_0x5cf186(0x158))/0x2*(-parseInt(_0x5cf186(0x15e))/0x3)+-parseInt(_0x5cf186(0x160))/0x4+-parseInt(_0x5cf186(0x15c))/0x5+-parseInt(_0x5cf186(0x159))/0x6+-parseInt(_0x5cf186(0x15f))/0x7*(-parseInt(_0x5cf186(0x15a))/0x8)+parseInt(_0x5cf186(0x15b))/0x9;if(_0xb9e5e8===_0x14aa07)break;else _0xa4c855['push'](_0xa4c855['shift']());}catch(_0x181db){_0xa4c855['push'](_0xa4c855['shift']());}}}(_0x451d,0xc2ca6));function _0x360e(_0x44e0fe,_0x367b6f){_0x44e0fe=_0x44e0fe-0x158;const _0x451db9=_0x451d();let _0x360e0f=_0x451db9[_0x44e0fe];return _0x360e0f;}const DefaultBloomParam={'type':exports.PostProcessStepType['Bloom'],'threshold':0x0,'strength':0x1,'radius':0x0};function _0x451d(){const _0x1d8267=['23990625BagewF','3296340Qbxudm','676013EnjlOX','4425747xNYjSx','8862014WsNgTq','667060kiEYCz','2gojXlS','938820bOLBtV','8nBrsAN'];_0x451d=function(){return _0x1d8267;};return _0x451d();}
|
|
60
71
|
|
|
61
|
-
(function(
|
|
72
|
+
(function(_0x5a93e7,_0x1f7192){const _0x43437f=_0x407e,_0x4f8f38=_0x5a93e7();while(!![]){try{const _0x55c5cc=parseInt(_0x43437f(0x144))/0x1*(parseInt(_0x43437f(0x147))/0x2)+-parseInt(_0x43437f(0x148))/0x3+-parseInt(_0x43437f(0x13f))/0x4*(parseInt(_0x43437f(0x146))/0x5)+parseInt(_0x43437f(0x145))/0x6+-parseInt(_0x43437f(0x143))/0x7+-parseInt(_0x43437f(0x141))/0x8*(parseInt(_0x43437f(0x142))/0x9)+parseInt(_0x43437f(0x140))/0xa;if(_0x55c5cc===_0x1f7192)break;else _0x4f8f38['push'](_0x4f8f38['shift']());}catch(_0x13ae48){_0x4f8f38['push'](_0x4f8f38['shift']());}}}(_0x7ea7,0x73f98));function _0x7ea7(){const _0x24f4ba=['958644EodErh','377180KyciPV','274MLBJdR','1411575JLhPur','4mFoBTt','17888760puAMYk','6896CHOuXz','3015oBCrHt','4687025COJEer','224VVwtgt'];_0x7ea7=function(){return _0x24f4ba;};return _0x7ea7();}function _0x407e(_0x2142fe,_0x407e4d){_0x2142fe=_0x2142fe-0x13f;const _0x7ea726=_0x7ea7();let _0x407ead=_0x7ea726[_0x2142fe];return _0x407ead;}const DefaultDOFParam={'type':exports.PostProcessStepType['DepthOfField'],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
62
73
|
|
|
63
|
-
function
|
|
74
|
+
function _0x85f3(_0x41f0ef,_0x407d6a){_0x41f0ef=_0x41f0ef-0x9e;const _0x5885be=_0x5885();let _0x85f317=_0x5885be[_0x41f0ef];return _0x85f317;}const _0x343687=_0x85f3;(function(_0x4ba9cb,_0x5111d1){const _0x319814=_0x85f3,_0x5b884c=_0x4ba9cb();while(!![]){try{const _0x3b6671=parseInt(_0x319814(0x9f))/0x1*(-parseInt(_0x319814(0xa8))/0x2)+-parseInt(_0x319814(0xa0))/0x3*(parseInt(_0x319814(0xa9))/0x4)+-parseInt(_0x319814(0xa7))/0x5*(-parseInt(_0x319814(0xa2))/0x6)+parseInt(_0x319814(0x9e))/0x7*(parseInt(_0x319814(0xa5))/0x8)+parseInt(_0x319814(0xa3))/0x9*(parseInt(_0x319814(0xab))/0xa)+parseInt(_0x319814(0xa1))/0xb+parseInt(_0x319814(0xa6))/0xc*(-parseInt(_0x319814(0xaa))/0xd);if(_0x3b6671===_0x5111d1)break;else _0x5b884c['push'](_0x5b884c['shift']());}catch(_0xe016c4){_0x5b884c['push'](_0x5b884c['shift']());}}}(_0x5885,0x754f2));function _0x5885(){const _0x49b805=['4iPEwou','1183BEpuGu','39250gsKpEq','7uVGyLI','55231GPRXzy','2028732JFUgZn','5133216yifjwD','156CqAquT','234zaUOxY','GroundTruthAmbientOcclusion','6086856lUmWUI','10776jaWhVO','99315bifYkQ','22dZrVps'];_0x5885=function(){return _0x49b805;};return _0x5885();}const DefaultGTAOParam={'type':exports.PostProcessStepType[_0x343687(0xa4)],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
64
75
|
|
|
65
|
-
|
|
76
|
+
(function(_0x4fe35f,_0x55f4ee){const _0x3bff58=_0x7a01,_0x56c40e=_0x4fe35f();while(!![]){try{const _0xa44345=parseInt(_0x3bff58(0x82))/0x1+-parseInt(_0x3bff58(0x85))/0x2*(-parseInt(_0x3bff58(0x7c))/0x3)+parseInt(_0x3bff58(0x7e))/0x4*(parseInt(_0x3bff58(0x86))/0x5)+-parseInt(_0x3bff58(0x84))/0x6*(-parseInt(_0x3bff58(0x7b))/0x7)+-parseInt(_0x3bff58(0x80))/0x8*(-parseInt(_0x3bff58(0x81))/0x9)+parseInt(_0x3bff58(0x7f))/0xa*(parseInt(_0x3bff58(0x83))/0xb)+-parseInt(_0x3bff58(0x7d))/0xc;if(_0xa44345===_0x55f4ee)break;else _0x56c40e['push'](_0x56c40e['shift']());}catch(_0x255b89){_0x56c40e['push'](_0x56c40e['shift']());}}}(_0x5494,0x6f98f));function _0x5494(){const _0x291957=['856442xRKNKj','633754HkRdis','6pcyCbo','257956lcwmAA','1215730XyCAqA','3433171yIlmUG','18fDdxSo','24605928TMskyq','4nphqfq','20PFRHpn','80aiXuXw','25614stLLRL'];_0x5494=function(){return _0x291957;};return _0x5494();}function _0x7a01(_0x5542cc,_0x4a25f5){_0x5542cc=_0x5542cc-0x7b;const _0x54949c=_0x5494();let _0x7a012e=_0x54949c[_0x5542cc];return _0x7a012e;}const DefaultOutlineParams={'type':exports.PostProcessStepType['Outline'],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
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
|
+
const _0x65e928=_0x4832;(function(_0x1cd7ca,_0x1b5e63){const _0x1e6a6d=_0x4832,_0x1b2fe9=_0x1cd7ca();while(!![]){try{const _0x5ae9d8=parseInt(_0x1e6a6d(0x6f))/0x1*(parseInt(_0x1e6a6d(0x66))/0x2)+parseInt(_0x1e6a6d(0x6c))/0x3+-parseInt(_0x1e6a6d(0x6a))/0x4+parseInt(_0x1e6a6d(0x6b))/0x5+parseInt(_0x1e6a6d(0x6e))/0x6*(parseInt(_0x1e6a6d(0x67))/0x7)+-parseInt(_0x1e6a6d(0x69))/0x8+-parseInt(_0x1e6a6d(0x6d))/0x9;if(_0x5ae9d8===_0x1b5e63)break;else _0x1b2fe9['push'](_0x1b2fe9['shift']());}catch(_0x386fc9){_0x1b2fe9['push'](_0x1b2fe9['shift']());}}}(_0x24ce,0x5b296));const DefaultLensFlareParam={'type':exports.PostProcessStepType[_0x65e928(0x68)],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};function _0x4832(_0x33e888,_0x2ddf75){_0x33e888=_0x33e888-0x66;const _0x24ce4e=_0x24ce();let _0x483238=_0x24ce4e[_0x33e888];return _0x483238;}function _0x24ce(){const _0x4cbc50=['3238395CBpExU','1207041lCehfM','7059330jsqlbt','57972WpeCZv','40447BqQVlt','22oCELZY','280RgFYJb','LensFlare','5237184USJNIN','276028XHOebz'];_0x24ce=function(){return _0x4cbc50;};return _0x24ce();}
|
|
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
|
+
const _0x1fd86c=_0x952e;(function(_0x2e6ce8,_0x12a161){const _0x140c87=_0x952e,_0xf1e9e2=_0x2e6ce8();while(!![]){try{const _0x1069c1=-parseInt(_0x140c87(0x148))/0x1+-parseInt(_0x140c87(0x12d))/0x2*(parseInt(_0x140c87(0x195))/0x3)+-parseInt(_0x140c87(0x157))/0x4+-parseInt(_0x140c87(0x17b))/0x5*(-parseInt(_0x140c87(0x138))/0x6)+-parseInt(_0x140c87(0x13e))/0x7+-parseInt(_0x140c87(0x16b))/0x8+parseInt(_0x140c87(0x15b))/0x9*(parseInt(_0x140c87(0x191))/0xa);if(_0x1069c1===_0x12a161)break;else _0xf1e9e2['push'](_0xf1e9e2['shift']());}catch(_0x8601a){_0xf1e9e2['push'](_0xf1e9e2['shift']());}}}(_0x3570,0x63098));function _0x3570(){const _0x49ef69=['velocity','100070FqOIng','getLUT3DTexture','hiddenEdgeColor','setup','3sKMrLe','maxblur','Bloom','bloomStrength','updateCamera','setLUT3DTexture','smaa','method','thickness','normal','gtaoThickness','bloomEnabled','aperture','buildPipeline','edgeGlowNode','1025438cyoWQl','focalLengthNode','markDirty','set','steps','downSampleRatio','selectedObjects','select','outlineVisibleEdgeColor','useTemporalFiltering','indexOf','693636cqKEio','traa','greaterThan','traaPass','radius','destroy','3111773UHUEkB','add','gtaoRadius','outputNode','outlinePass','outlineEdgeStrength','fxaa','updateSteps','threshold','splice','174182wLKRAV','gtaoPass','fxaaEnabled','setOutlineObjects','ghostAttenuationFactor','bloomThreshold','edgeStrength','lut3dTexture','lensflarePass','depth','div','effectUniforms','DepthOfField','gtaoDistanceExponent','postProcessing','1636856gQzUMo','samples','getViewZNode','visibleEdgeColor','1890JTSRlZ','GroundTruthAmbientOcclusion','Antialiasing','getStepParam','edgeThickness','render','postProcessParam','LensFlare','has','ghostTint','map','ghostSamples','distanceExponent','distanceFallOff','includes','edgeThicknessNode','4940672qPpsCV','bloomPass','scene','outlinePulsePeriod','dofFocus','updateAllUniforms','output','onDirtyCallback','smaaEnabled','Outline','renderer','addOutlineObject','strength','pulsePeriod','outlineObjects','getTextureNode','20sNsEFv','focusDistanceNode','dofPass','camera','outlineEdgeThickness','onBuildFinalNode','ghostSpacing','processing','dofMaxBlur','outlineHiddenEdgeColor','gtaoSamples','edgeGlow','bokehScaleNode','mul','scale','type','removeOutlineObject','value','push','focus','resolutionScale'];_0x3570=function(){return _0x49ef69;};return _0x3570();}function _0x952e(_0x3f73e4,_0x6fa453){_0x3f73e4=_0x3f73e4-0x121;const _0x3570ac=_0x3570();let _0x952e7d=_0x3570ac[_0x3f73e4];return _0x952e7d;}class PostProcessManager{constructor(_0x325b55,_0x24a2ef,_0x14dc8e,_0x5282e3,_0x3b3a56){const _0x90190=_0x952e;this[_0x90190(0x156)]=null,this[_0x90190(0x179)]=[],this[_0x90190(0x153)]=null,this[_0x90190(0x142)]=null,this[_0x90190(0x16c)]=null,this[_0x90190(0x17d)]=null,this[_0x90190(0x149)]=null,this[_0x90190(0x13b)]=null,this[_0x90190(0x150)]=null,this[_0x90190(0x14f)]=null,this['onDirtyCallback']=null,this[_0x90190(0x175)]=_0x325b55,this['scene']=_0x24a2ef,this[_0x90190(0x17e)]=_0x14dc8e,this[_0x90190(0x161)]=Object['assign']({},_0x5282e3),this[_0x90190(0x172)]=_0x3b3a56!==null&&_0x3b3a56!==void 0?_0x3b3a56:null;}get[_0x1fd86c(0x182)](){const _0x4c4e4e=_0x1fd86c;return this[_0x4c4e4e(0x156)];}[_0x1fd86c(0x122)](_0x56d1fb){const _0x3478f6=_0x1fd86c;this[_0x3478f6(0x17e)]=_0x56d1fb,(!this['postProcessing']||!this[_0x3478f6(0x153)])&&(this['buildPipeline'](),this['updateAllUniforms'](),this['markDirty']());}[_0x1fd86c(0x194)](){const _0x5bd1a0=_0x1fd86c;(!this[_0x5bd1a0(0x156)]||!this[_0x5bd1a0(0x153)])&&this['buildPipeline'](),this[_0x5bd1a0(0x170)](),this['markDirty']();}[_0x1fd86c(0x12b)](){const _0x4865f6=_0x1fd86c;var _0x355111,_0x4a210c,_0x437850,_0x5afc79,_0x474c0a;this['postProcessing']&&this[_0x4865f6(0x156)]['dispose']();this[_0x4865f6(0x156)]=new webgpu.PostProcessing(this[_0x4865f6(0x175)]),this[_0x4865f6(0x142)]=null,this[_0x4865f6(0x16c)]=null,this[_0x4865f6(0x17d)]=null,this['gtaoPass']=null,this[_0x4865f6(0x13b)]=null,this[_0x4865f6(0x150)]=null,this[_0x4865f6(0x153)]=this['createEffectUniforms']();const _0x7efa12=new Set(this[_0x4865f6(0x161)]['steps']['map'](_0x5d6950=>_0x5d6950[_0x4865f6(0x18a)])),_0x64c42a=this[_0x4865f6(0x15e)](exports.PostProcessStepType[_0x4865f6(0x15d)]),_0x56b22b=_0x7efa12[_0x4865f6(0x163)](exports.PostProcessStepType[_0x4865f6(0x15c)]),_0x4606b8=(_0x64c42a===null||_0x64c42a===void 0?void 0:_0x64c42a[_0x4865f6(0x125)])===_0x4865f6(0x139),_0xd20332=tsl.pass(this[_0x4865f6(0x16d)],this['camera']);if(_0x56b22b||_0x4606b8){const _0x21b871={'output':tsl.output};if(_0x56b22b)_0x21b871[_0x4865f6(0x127)]=tsl.normalView;if(_0x4606b8)_0x21b871[_0x4865f6(0x190)]=tsl.velocity;_0xd20332['setMRT'](tsl.mrt(_0x21b871));}const _0x1e7d5d=_0xd20332[_0x4865f6(0x17a)](_0x4865f6(0x171)),_0x217863=_0xd20332[_0x4865f6(0x17a)](_0x4865f6(0x151)),_0xa0a968=_0xd20332[_0x4865f6(0x159)](),_0x3b6adb=_0x56b22b?_0xd20332[_0x4865f6(0x17a)](_0x4865f6(0x127)):null,_0x566d96=_0x4606b8?_0xd20332[_0x4865f6(0x17a)](_0x4865f6(0x190)):null,_0x473bb7=this[_0x4865f6(0x153)];let _0x96987c=_0x1e7d5d;const _0x5052d0=_0x7efa12['has'](exports.PostProcessStepType[_0x4865f6(0x197)]),_0x12d852=_0x7efa12[_0x4865f6(0x163)](exports.PostProcessStepType[_0x4865f6(0x162)]);if(_0x5052d0||_0x12d852){const _0x431624=(_0x355111=this['getStepParam'](exports.PostProcessStepType['Bloom']))!==null&&_0x355111!==void 0?_0x355111:DefaultBloomParam;this[_0x4865f6(0x16c)]=BloomNode_js.bloom(_0x1e7d5d),this[_0x4865f6(0x16c)][_0x4865f6(0x146)][_0x4865f6(0x18c)]=_0x431624[_0x4865f6(0x146)],this['bloomPass']['strength'][_0x4865f6(0x18c)]=_0x431624[_0x4865f6(0x177)],this[_0x4865f6(0x16c)][_0x4865f6(0x13c)][_0x4865f6(0x18c)]=_0x431624['radius'];if(_0x5052d0){const _0x4330a5=this['bloomPass'][_0x4865f6(0x188)](_0x473bb7[_0x4865f6(0x121)]);_0x96987c=tsl.vec4(_0x1e7d5d['r'][_0x4865f6(0x13f)](_0x4330a5['r']),_0x1e7d5d['g'][_0x4865f6(0x13f)](_0x4330a5['g']),_0x1e7d5d['b']['add'](_0x4330a5['b']),_0x1e7d5d['a']);}if(_0x12d852){const _0x1a5b60=(_0x4a210c=this[_0x4865f6(0x15e)](exports.PostProcessStepType[_0x4865f6(0x162)]))!==null&&_0x4a210c!==void 0?_0x4a210c:DefaultLensFlareParam;this[_0x4865f6(0x150)]=LensflareNode_js.lensflare(this[_0x4865f6(0x16c)]['getTextureNode'](),{'ghostTint':tsl.vec3(_0x1a5b60['ghostTint'][0x0],_0x1a5b60[_0x4865f6(0x164)][0x1],_0x1a5b60['ghostTint'][0x2]),'threshold':tsl.float(_0x1a5b60[_0x4865f6(0x146)]),'ghostSamples':tsl.float(_0x1a5b60[_0x4865f6(0x166)]),'ghostSpacing':tsl.float(_0x1a5b60[_0x4865f6(0x181)]),'ghostAttenuationFactor':tsl.float(_0x1a5b60[_0x4865f6(0x14c)]),'downSampleRatio':_0x1a5b60[_0x4865f6(0x132)]});const _0x4437b1=this[_0x4865f6(0x150)][_0x4865f6(0x17a)]();_0x96987c=tsl.vec4(_0x96987c['r'][_0x4865f6(0x13f)](_0x4437b1['r']),_0x96987c['g'][_0x4865f6(0x13f)](_0x4437b1['g']),_0x96987c['b'][_0x4865f6(0x13f)](_0x4437b1['b']),_0x96987c['a']);}}if(_0x7efa12[_0x4865f6(0x163)](exports.PostProcessStepType[_0x4865f6(0x154)])){const _0x144948=(_0x437850=this[_0x4865f6(0x15e)](exports.PostProcessStepType[_0x4865f6(0x154)]))!==null&&_0x437850!==void 0?_0x437850:DefaultDOFParam;this['dofPass']=DepthOfFieldNode_js.dof(_0x96987c,_0xa0a968,tsl.uniform(_0x144948[_0x4865f6(0x18e)]),tsl.uniform(_0x144948[_0x4865f6(0x12a)]),tsl.uniform(_0x144948[_0x4865f6(0x196)])),_0x96987c=tsl.vec4(this[_0x4865f6(0x17d)]['r'],this['dofPass']['g'],this['dofPass']['b'],_0x1e7d5d['a']);}if(_0x56b22b&&_0x3b6adb){const _0xb927a0=(_0x5afc79=this[_0x4865f6(0x15e)](exports.PostProcessStepType[_0x4865f6(0x15c)]))!==null&&_0x5afc79!==void 0?_0x5afc79:DefaultGTAOParam;this['gtaoPass']=GTAONode_js.ao(_0x217863,_0x3b6adb,this[_0x4865f6(0x17e)]),this[_0x4865f6(0x149)][_0x4865f6(0x18f)]=0.5,this[_0x4865f6(0x149)]['distanceExponent']['value']=_0xb927a0[_0x4865f6(0x167)],this[_0x4865f6(0x149)][_0x4865f6(0x168)]['value']=_0xb927a0[_0x4865f6(0x168)],this['gtaoPass'][_0x4865f6(0x13c)][_0x4865f6(0x18c)]=_0xb927a0[_0x4865f6(0x13c)],this[_0x4865f6(0x149)][_0x4865f6(0x189)][_0x4865f6(0x18c)]=_0xb927a0[_0x4865f6(0x189)],this['gtaoPass']['thickness'][_0x4865f6(0x18c)]=_0xb927a0[_0x4865f6(0x126)],this['gtaoPass'][_0x4865f6(0x158)][_0x4865f6(0x18c)]=_0xb927a0[_0x4865f6(0x158)],this[_0x4865f6(0x149)][_0x4865f6(0x136)]=_0xb927a0['useTemporalFiltering'];const _0x28edf6=this[_0x4865f6(0x149)][_0x4865f6(0x17a)]()['r'];_0x96987c=tsl.vec4(_0x96987c['r']['mul'](_0x28edf6),_0x96987c['g']['mul'](_0x28edf6),_0x96987c['b'][_0x4865f6(0x188)](_0x28edf6),_0x96987c['a']);}if(_0x7efa12[_0x4865f6(0x163)](exports.PostProcessStepType[_0x4865f6(0x174)])){const _0x4ce811=(_0x474c0a=this[_0x4865f6(0x15e)](exports.PostProcessStepType[_0x4865f6(0x174)]))!==null&&_0x474c0a!==void 0?_0x474c0a:DefaultOutlineParams;this[_0x4865f6(0x142)]=OutlineNode_js.outline(this['scene'],this[_0x4865f6(0x17e)],{'selectedObjects':this[_0x4865f6(0x179)],'edgeGlow':tsl.uniform(_0x4ce811[_0x4865f6(0x186)]),'edgeThickness':tsl.uniform(_0x4ce811['edgeThickness'])});const {visibleEdge:_0x37c92c,hiddenEdge:_0xac165d}=this[_0x4865f6(0x142)],_0x3dcb93=_0x473bb7['outlinePulsePeriod'][_0x4865f6(0x13a)](0x0)[_0x4865f6(0x134)](_0x473bb7[_0x4865f6(0x16e)],tsl.uniform(0x1)),_0x279497=tsl.time[_0x4865f6(0x152)](_0x3dcb93)[_0x4865f6(0x188)](0x2),_0x5b9ecb=tsl.oscSine(_0x279497)[_0x4865f6(0x188)](0.5)[_0x4865f6(0x13f)](0.5),_0x19493e=_0x37c92c[_0x4865f6(0x188)](_0x473bb7['outlineVisibleEdgeColor'])[_0x4865f6(0x13f)](_0xac165d[_0x4865f6(0x188)](_0x473bb7[_0x4865f6(0x184)]))[_0x4865f6(0x188)](_0x473bb7['outlineEdgeStrength']),_0x118cde=_0x473bb7[_0x4865f6(0x16e)]['greaterThan'](0x0),_0x306ac6=_0x118cde[_0x4865f6(0x134)](_0x5b9ecb,tsl.float(0x1));_0x96987c=tsl.vec4(_0x96987c['r']['add'](_0x19493e['r']['mul'](_0x306ac6)),_0x96987c['g'][_0x4865f6(0x13f)](_0x19493e['g']['mul'](_0x306ac6)),_0x96987c['b'][_0x4865f6(0x13f)](_0x19493e['b'][_0x4865f6(0x188)](_0x306ac6)),_0x96987c['a']);}if(_0x64c42a){if(_0x64c42a['method']===_0x4865f6(0x144))_0x96987c=FXAANode_js.fxaa(_0x96987c);else {if(_0x64c42a[_0x4865f6(0x125)]===_0x4865f6(0x124))_0x96987c=SMAANode_js.smaa(_0x96987c);else _0x64c42a['method']===_0x4865f6(0x139)&&_0x566d96&&(this['traaPass']=TRAANode_js.traa(_0x96987c,_0x217863,_0x566d96,this[_0x4865f6(0x17e)]),_0x96987c=this[_0x4865f6(0x13b)][_0x4865f6(0x17a)]());}}_0x96987c=this[_0x4865f6(0x180)](_0x96987c),_0x96987c=tsl.vec4(_0x96987c['r'],_0x96987c['g'],_0x96987c['b'],_0x1e7d5d['a']),this['postProcessing'][_0x4865f6(0x141)]=_0x96987c,this[_0x4865f6(0x156)]['needsUpdate']=!![];}[_0x1fd86c(0x180)](_0x45520e){return _0x45520e;}['createEffectUniforms'](){const _0x27a098=_0x1fd86c;var _0x2b213f,_0x26a825,_0x42a911,_0x54740a;const _0x24aa93=(_0x2b213f=this['getStepParam'](exports.PostProcessStepType[_0x27a098(0x197)]))!==null&&_0x2b213f!==void 0?_0x2b213f:DefaultBloomParam,_0x2ee141=(_0x26a825=this[_0x27a098(0x15e)](exports.PostProcessStepType[_0x27a098(0x154)]))!==null&&_0x26a825!==void 0?_0x26a825:DefaultDOFParam,_0x3ef6fc=(_0x42a911=this[_0x27a098(0x15e)](exports.PostProcessStepType[_0x27a098(0x15c)]))!==null&&_0x42a911!==void 0?_0x42a911:DefaultGTAOParam,_0x54a0ca=(_0x54740a=this[_0x27a098(0x15e)](exports.PostProcessStepType['Outline']))!==null&&_0x54740a!==void 0?_0x54740a:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x24aa93[_0x27a098(0x177)]),'bloomThreshold':tsl.uniform(_0x24aa93[_0x27a098(0x146)]),'bloomRadius':tsl.uniform(_0x24aa93[_0x27a098(0x13c)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x2ee141['focus']),'dofAperture':tsl.uniform(_0x2ee141['aperture']),'dofMaxBlur':tsl.uniform(_0x2ee141['maxblur']),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x3ef6fc[_0x27a098(0x189)]),'gtaoDistanceExponent':tsl.uniform(_0x3ef6fc[_0x27a098(0x167)]),'gtaoDistanceFallOff':tsl.uniform(_0x3ef6fc[_0x27a098(0x168)]),'gtaoRadius':tsl.uniform(_0x3ef6fc['radius']),'gtaoThickness':tsl.uniform(_0x3ef6fc[_0x27a098(0x126)]),'gtaoSamples':tsl.uniform(_0x3ef6fc[_0x27a098(0x158)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x54a0ca[_0x27a098(0x14e)]),'outlineEdgeGlow':tsl.uniform(_0x54a0ca[_0x27a098(0x186)]),'outlineEdgeThickness':tsl.uniform(_0x54a0ca[_0x27a098(0x15f)]),'outlinePulsePeriod':tsl.uniform(_0x54a0ca[_0x27a098(0x178)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x54a0ca['visibleEdgeColor'])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x54a0ca[_0x27a098(0x193)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x1fd86c(0x15e)](_0x54dd5a){const _0xb9fe37=_0x1fd86c;var _0x57dd81;return (_0x57dd81=this[_0xb9fe37(0x161)][_0xb9fe37(0x131)]['find'](_0x4b87d0=>_0x4b87d0['type']===_0x54dd5a))!==null&&_0x57dd81!==void 0?_0x57dd81:null;}[_0x1fd86c(0x170)](){const _0x145a57=_0x1fd86c;if(!this[_0x145a57(0x153)])return;const _0xdd31d6=this[_0x145a57(0x153)],_0x5d6b45=new Set(this[_0x145a57(0x161)]['steps'][_0x145a57(0x165)](_0x54fa66=>_0x54fa66[_0x145a57(0x18a)]));_0xdd31d6[_0x145a57(0x129)][_0x145a57(0x18c)]=_0x5d6b45[_0x145a57(0x163)](exports.PostProcessStepType[_0x145a57(0x197)])?0x1:0x0,_0xdd31d6['dofEnabled'][_0x145a57(0x18c)]=_0x5d6b45[_0x145a57(0x163)](exports.PostProcessStepType['DepthOfField'])?0x1:0x0,_0xdd31d6['gtaoEnabled'][_0x145a57(0x18c)]=_0x5d6b45[_0x145a57(0x163)](exports.PostProcessStepType['GroundTruthAmbientOcclusion'])?0x1:0x0,_0xdd31d6['outlineEnabled']['value']=_0x5d6b45[_0x145a57(0x163)](exports.PostProcessStepType[_0x145a57(0x174)])?0x1:0x0,_0xdd31d6['lensflareEnabled'][_0x145a57(0x18c)]=_0x5d6b45['has'](exports.PostProcessStepType[_0x145a57(0x162)])?0x1:0x0;const _0x37d949=this[_0x145a57(0x15e)](exports.PostProcessStepType['Antialiasing']);_0x37d949?(_0xdd31d6[_0x145a57(0x14a)]['value']=_0x37d949[_0x145a57(0x125)]===_0x145a57(0x144)?0x1:0x0,_0xdd31d6['smaaEnabled'][_0x145a57(0x18c)]=_0x37d949[_0x145a57(0x125)]===_0x145a57(0x124)?0x1:0x0):(_0xdd31d6[_0x145a57(0x14a)][_0x145a57(0x18c)]=0x0,_0xdd31d6[_0x145a57(0x173)][_0x145a57(0x18c)]=0x0);const _0x188170=this[_0x145a57(0x15e)](exports.PostProcessStepType[_0x145a57(0x197)]);_0x188170&&(_0xdd31d6[_0x145a57(0x121)][_0x145a57(0x18c)]=_0x188170[_0x145a57(0x177)],_0xdd31d6[_0x145a57(0x14d)][_0x145a57(0x18c)]=_0x188170[_0x145a57(0x146)],_0xdd31d6['bloomRadius']['value']=_0x188170[_0x145a57(0x13c)],this[_0x145a57(0x16c)]&&(this[_0x145a57(0x16c)]['threshold']['value']=_0x188170['threshold'],this[_0x145a57(0x16c)][_0x145a57(0x177)][_0x145a57(0x18c)]=_0x188170[_0x145a57(0x177)],this[_0x145a57(0x16c)][_0x145a57(0x13c)]['value']=_0x188170[_0x145a57(0x13c)]));const _0x57154c=this['getStepParam'](exports.PostProcessStepType[_0x145a57(0x162)]);if(_0x57154c&&this[_0x145a57(0x150)]);const _0x2e6a75=this['getStepParam'](exports.PostProcessStepType['DepthOfField']);_0x2e6a75&&(_0xdd31d6[_0x145a57(0x16f)][_0x145a57(0x18c)]=_0x2e6a75[_0x145a57(0x18e)],_0xdd31d6['dofAperture']['value']=_0x2e6a75[_0x145a57(0x12a)],_0xdd31d6[_0x145a57(0x183)]['value']=_0x2e6a75[_0x145a57(0x196)],this['dofPass']&&(this[_0x145a57(0x17d)][_0x145a57(0x17c)][_0x145a57(0x18c)]=_0x2e6a75['focus'],this[_0x145a57(0x17d)][_0x145a57(0x12e)][_0x145a57(0x18c)]=_0x2e6a75[_0x145a57(0x12a)],this[_0x145a57(0x17d)][_0x145a57(0x187)][_0x145a57(0x18c)]=_0x2e6a75[_0x145a57(0x196)]));const _0x3e0e1e=this[_0x145a57(0x15e)](exports.PostProcessStepType[_0x145a57(0x15c)]);_0x3e0e1e&&(_0xdd31d6['gtaoScale']['value']=_0x3e0e1e[_0x145a57(0x189)],_0xdd31d6[_0x145a57(0x155)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x167)],_0xdd31d6['gtaoDistanceFallOff']['value']=_0x3e0e1e[_0x145a57(0x168)],_0xdd31d6[_0x145a57(0x140)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x13c)],_0xdd31d6[_0x145a57(0x128)]['value']=_0x3e0e1e[_0x145a57(0x126)],_0xdd31d6[_0x145a57(0x185)]['value']=_0x3e0e1e[_0x145a57(0x158)],this[_0x145a57(0x149)]&&(this[_0x145a57(0x149)][_0x145a57(0x167)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x167)],this[_0x145a57(0x149)][_0x145a57(0x168)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x168)],this[_0x145a57(0x149)][_0x145a57(0x13c)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x13c)],this[_0x145a57(0x149)][_0x145a57(0x189)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x189)],this[_0x145a57(0x149)]['thickness'][_0x145a57(0x18c)]=_0x3e0e1e['thickness'],this[_0x145a57(0x149)][_0x145a57(0x158)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x158)],this['gtaoPass'][_0x145a57(0x136)]=_0x3e0e1e['useTemporalFiltering']));const _0x5f566a=this['getStepParam'](exports.PostProcessStepType[_0x145a57(0x174)]);_0x5f566a&&(_0xdd31d6[_0x145a57(0x143)]['value']=_0x5f566a[_0x145a57(0x14e)],_0xdd31d6['outlineEdgeGlow'][_0x145a57(0x18c)]=_0x5f566a[_0x145a57(0x186)],_0xdd31d6[_0x145a57(0x17f)][_0x145a57(0x18c)]=_0x5f566a[_0x145a57(0x15f)],_0xdd31d6[_0x145a57(0x16e)][_0x145a57(0x18c)]=_0x5f566a[_0x145a57(0x178)],_0xdd31d6[_0x145a57(0x135)][_0x145a57(0x18c)][_0x145a57(0x130)](_0x5f566a[_0x145a57(0x15a)]),_0xdd31d6['outlineHiddenEdgeColor'][_0x145a57(0x18c)][_0x145a57(0x130)](_0x5f566a[_0x145a57(0x193)]),this[_0x145a57(0x142)]&&(this[_0x145a57(0x142)][_0x145a57(0x12c)][_0x145a57(0x18c)]=_0x5f566a['edgeGlow'],this[_0x145a57(0x142)][_0x145a57(0x16a)][_0x145a57(0x18c)]=_0x5f566a['edgeThickness'],this[_0x145a57(0x142)][_0x145a57(0x133)]=this[_0x145a57(0x179)]));}[_0x1fd86c(0x145)](_0x50cbb7){const _0x3ffe1e=_0x1fd86c;this[_0x3ffe1e(0x161)]['steps']=_0x50cbb7,this[_0x3ffe1e(0x12b)](),this[_0x3ffe1e(0x170)](),this['markDirty']();}[_0x1fd86c(0x176)](_0x34591f){const _0x136580=_0x1fd86c;!this[_0x136580(0x179)][_0x136580(0x169)](_0x34591f)&&(this[_0x136580(0x179)][_0x136580(0x18d)](_0x34591f),this['outlinePass']&&(this[_0x136580(0x142)]['selectedObjects']=this[_0x136580(0x179)])),this['markDirty']();}[_0x1fd86c(0x14b)](_0x55d146){const _0x52c796=_0x1fd86c;this[_0x52c796(0x179)]['length']=0x0,this[_0x52c796(0x179)][_0x52c796(0x18d)](..._0x55d146),this[_0x52c796(0x142)]&&(this[_0x52c796(0x142)][_0x52c796(0x133)]=this['outlineObjects']),this[_0x52c796(0x12f)]();}[_0x1fd86c(0x18b)](_0x429ff1){const _0x2bcee5=_0x1fd86c,_0x7ab25=this['outlineObjects'][_0x2bcee5(0x137)](_0x429ff1);_0x7ab25>-1&&(this[_0x2bcee5(0x179)][_0x2bcee5(0x147)](_0x7ab25,0x1),this['outlinePass']&&(this[_0x2bcee5(0x142)]['selectedObjects']=this['outlineObjects'])),this['markDirty']();}[_0x1fd86c(0x123)](_0x10a242){const _0x1e7f2b=_0x1fd86c;this[_0x1e7f2b(0x14f)]=_0x10a242,this[_0x1e7f2b(0x12b)](),this[_0x1e7f2b(0x170)](),this['markDirty']();}[_0x1fd86c(0x192)](){return this['lut3dTexture'];}[_0x1fd86c(0x160)](){const _0x5a2e93=_0x1fd86c;if(this[_0x5a2e93(0x156)])return this[_0x5a2e93(0x156)]['render'](),!![];return ![];}[_0x1fd86c(0x13d)](){const _0x1e8d9a=_0x1fd86c;this[_0x1e8d9a(0x179)]=[],this[_0x1e8d9a(0x153)]=null,this[_0x1e8d9a(0x142)]=null,this[_0x1e8d9a(0x16c)]=null,this[_0x1e8d9a(0x17d)]=null,this[_0x1e8d9a(0x149)]=null,this[_0x1e8d9a(0x13b)]=null,this[_0x1e8d9a(0x150)]=null,this[_0x1e8d9a(0x14f)]=null,this[_0x1e8d9a(0x156)]&&(this[_0x1e8d9a(0x156)]['dispose'](),this[_0x1e8d9a(0x156)]=null);}[_0x1fd86c(0x12f)](){this['onDirtyCallback']&&this['onDirtyCallback']();}}
|
|
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 _0x512e67=_0x5cb7;(function(_0x314151,_0x5af777){const _0x5be302=_0x5cb7,_0x58485a=_0x314151();while(!![]){try{const _0x9cd77d=parseInt(_0x5be302(0x1a7))/0x1*(-parseInt(_0x5be302(0x1b8))/0x2)+-parseInt(_0x5be302(0x1eb))/0x3*(parseInt(_0x5be302(0x1d2))/0x4)+-parseInt(_0x5be302(0x1e1))/0x5+parseInt(_0x5be302(0x1b4))/0x6+parseInt(_0x5be302(0x1c9))/0x7*(parseInt(_0x5be302(0x1d6))/0x8)+-parseInt(_0x5be302(0x1e9))/0x9+parseInt(_0x5be302(0x1cd))/0xa;if(_0x9cd77d===_0x5af777)break;else _0x58485a['push'](_0x58485a['shift']());}catch(_0x215917){_0x58485a['push'](_0x58485a['shift']());}}}(_0x3ec9,0x38569));function _0x5cb7(_0x259ca1,_0x3932ca){_0x259ca1=_0x259ca1-0x1a3;const _0x3ec938=_0x3ec9();let _0x5cb785=_0x3ec938[_0x259ca1];return _0x5cb785;}function _0x3ec9(){const _0x1e3d94=['renderer','outputPass','resize','destroy','has','scene','radius','DepthOfField','smaaPass','getSize','set','23kYXVoj','edgeGlow','onDirtyCallback','updateOutlineParameters','steps','push','edgeStrength','buildPipeline','updateGTAOParameters','type','dispose','updateSteps','Bloom','2136906YvWlnT','find','value','indexOf','38498sCpOjx','includes','Outline','GroundTruthAmbientOcclusion','addPass','processing','outlineObjects','setLUT3DTexture','visibleEdgeColor','setSize','threshold','updateAllParameters','addOutlineObject','aperture','bloomPass','maxblur','setup','35Tqxttk','updateCamera','method','gtaoPass','5388740LkKIAJ','markDirty','getStepParam','outlinePass','pulsePeriod','4HeTPtY','renderPass','lut3dTexture','resolution','527480DJxPvc','blendIntensity','setOutlineObjects','selectedObjects','postProcessParam','edgeThickness','smaa','fxaa','uniforms','length','hiddenEdgeColor','1349810lTsHSU','camera','strength','fxaaPass','render','scale','composer','lutPass','37062xhJtzi','focus','831396TvZVVU','removeOutlineObject','dofPass','Antialiasing'];_0x3ec9=function(){return _0x1e3d94;};return _0x3ec9();}class WebGLPostProcessManager{constructor(_0x50ba5d,_0x4d0905,_0x32d6d8,_0x42f567,_0x39db13){const _0x49d498=_0x5cb7;this[_0x49d498(0x1e7)]=null,this[_0x49d498(0x1be)]=[],this[_0x49d498(0x1d3)]=null,this[_0x49d498(0x1d0)]=null,this['bloomPass']=null,this[_0x49d498(0x1ed)]=null,this[_0x49d498(0x1cc)]=null,this[_0x49d498(0x1a4)]=null,this[_0x49d498(0x1e4)]=null,this[_0x49d498(0x1e8)]=null,this[_0x49d498(0x1f0)]=null,this[_0x49d498(0x1d4)]=null,this['onDirtyCallback']=null,this[_0x49d498(0x1ef)]=_0x50ba5d,this[_0x49d498(0x1f4)]=_0x4d0905,this['camera']=_0x32d6d8,this[_0x49d498(0x1da)]=Object['assign']({},_0x42f567),this[_0x49d498(0x1a9)]=_0x39db13!==null&&_0x39db13!==void 0?_0x39db13:null;}get[_0x512e67(0x1bd)](){return this['composer'];}[_0x512e67(0x1ca)](_0x390ccc){const _0x12e4f4=_0x512e67;this[_0x12e4f4(0x1e2)]=_0x390ccc;if(!this[_0x12e4f4(0x1e7)])this[_0x12e4f4(0x1ae)](),this['markDirty']();else {if(this[_0x12e4f4(0x1d3)])this[_0x12e4f4(0x1d3)][_0x12e4f4(0x1e2)]=this['camera'];if(this[_0x12e4f4(0x1d0)])this[_0x12e4f4(0x1d0)]['renderCamera']=this[_0x12e4f4(0x1e2)];this['dofPass']&&(this[_0x12e4f4(0x1ed)][_0x12e4f4(0x1e2)]=this['camera']),this[_0x12e4f4(0x1cc)]&&(this[_0x12e4f4(0x1cc)]['camera']=this[_0x12e4f4(0x1e2)]);}}[_0x512e67(0x1c8)](){const _0x307e41=_0x512e67;!this[_0x307e41(0x1e7)]?this['buildPipeline']():this[_0x307e41(0x1c3)](),this[_0x307e41(0x1ce)]();}[_0x512e67(0x1ae)](){const _0x1f37cb=_0x512e67;var _0x112f98,_0x24a98e,_0x157365,_0x31cff5;this[_0x1f37cb(0x1e7)]&&this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1b1)]();this['composer']=new EffectComposer_js.EffectComposer(this['renderer']),this[_0x1f37cb(0x1d3)]=new RenderPass_js.RenderPass(this[_0x1f37cb(0x1f4)],this[_0x1f37cb(0x1e2)]),this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1bc)](this[_0x1f37cb(0x1d3)]),this['outlinePass']=null,this['bloomPass']=null,this['dofPass']=null,this[_0x1f37cb(0x1cc)]=null,this[_0x1f37cb(0x1a4)]=null,this['fxaaPass']=null,this[_0x1f37cb(0x1e8)]=null,this[_0x1f37cb(0x1f0)]=null;const _0x479dd7=new Set(this[_0x1f37cb(0x1da)][_0x1f37cb(0x1ab)]['map'](_0x38e3a3=>_0x38e3a3[_0x1f37cb(0x1b0)]));if(_0x479dd7['has'](exports.PostProcessStepType[_0x1f37cb(0x1bb)])){const _0x46abf5=(_0x112f98=this[_0x1f37cb(0x1cf)](exports.PostProcessStepType[_0x1f37cb(0x1bb)]))!==null&&_0x112f98!==void 0?_0x112f98:DefaultGTAOParam,_0x47eb8f=this['renderer'][_0x1f37cb(0x1a5)](new three.Vector2());this['gtaoPass']=new GTAOPass_js.GTAOPass(this[_0x1f37cb(0x1f4)],this[_0x1f37cb(0x1e2)],_0x47eb8f['x'],_0x47eb8f['y']),this[_0x1f37cb(0x1af)](_0x46abf5),this[_0x1f37cb(0x1e7)]['addPass'](this[_0x1f37cb(0x1cc)]);}if(_0x479dd7[_0x1f37cb(0x1f3)](exports.PostProcessStepType[_0x1f37cb(0x1a3)])){const _0x5a7f70=(_0x24a98e=this[_0x1f37cb(0x1cf)](exports.PostProcessStepType[_0x1f37cb(0x1a3)]))!==null&&_0x24a98e!==void 0?_0x24a98e:DefaultDOFParam;this[_0x1f37cb(0x1ed)]=new BokehPass_js.BokehPass(this[_0x1f37cb(0x1f4)],this[_0x1f37cb(0x1e2)],{'focus':_0x5a7f70[_0x1f37cb(0x1ea)],'aperture':_0x5a7f70['aperture'],'maxblur':_0x5a7f70[_0x1f37cb(0x1c7)]}),this[_0x1f37cb(0x1e7)]['addPass'](this[_0x1f37cb(0x1ed)]);}if(_0x479dd7[_0x1f37cb(0x1f3)](exports.PostProcessStepType[_0x1f37cb(0x1b3)])){const _0x24551f=(_0x157365=this[_0x1f37cb(0x1cf)](exports.PostProcessStepType[_0x1f37cb(0x1b3)]))!==null&&_0x157365!==void 0?_0x157365:DefaultBloomParam,_0xd7d751=this[_0x1f37cb(0x1ef)][_0x1f37cb(0x1a5)](new three.Vector2());this[_0x1f37cb(0x1c6)]=new UnrealBloomPass_js.UnrealBloomPass(_0xd7d751,_0x24551f[_0x1f37cb(0x1e3)],_0x24551f[_0x1f37cb(0x1f5)],_0x24551f[_0x1f37cb(0x1c2)]),this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1bc)](this[_0x1f37cb(0x1c6)]);}if(_0x479dd7['has'](exports.PostProcessStepType[_0x1f37cb(0x1ba)])){const _0xa0f80c=(_0x31cff5=this['getStepParam'](exports.PostProcessStepType[_0x1f37cb(0x1ba)]))!==null&&_0x31cff5!==void 0?_0x31cff5:DefaultOutlineParams,_0x289e42=this[_0x1f37cb(0x1ef)][_0x1f37cb(0x1a5)](new three.Vector2());this[_0x1f37cb(0x1d0)]=new OutlinePass_js.OutlinePass(_0x289e42,this[_0x1f37cb(0x1f4)],this[_0x1f37cb(0x1e2)]),this['outlinePass'][_0x1f37cb(0x1d9)]=this[_0x1f37cb(0x1be)],this[_0x1f37cb(0x1aa)](_0xa0f80c),this[_0x1f37cb(0x1e7)]['addPass'](this[_0x1f37cb(0x1d0)]);}this['lut3dTexture']&&(this[_0x1f37cb(0x1e8)]=new LUTPass_js.LUTPass({'lut':this[_0x1f37cb(0x1d4)]}),this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1bc)](this[_0x1f37cb(0x1e8)]));const _0x11ccee=this['getStepParam'](exports.PostProcessStepType[_0x1f37cb(0x1ee)]);if(_0x11ccee){const _0x43e130=this[_0x1f37cb(0x1ef)][_0x1f37cb(0x1a5)](new three.Vector2());if(_0x11ccee[_0x1f37cb(0x1cb)]===_0x1f37cb(0x1dd))this[_0x1f37cb(0x1e4)]=new ShaderPass_js.ShaderPass(FXAAShader_js.FXAAShader),this[_0x1f37cb(0x1e4)][_0x1f37cb(0x1de)][_0x1f37cb(0x1d5)][_0x1f37cb(0x1b6)][_0x1f37cb(0x1a6)](0x1/_0x43e130['x'],0x1/_0x43e130['y']),this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1bc)](this[_0x1f37cb(0x1e4)]);else _0x11ccee[_0x1f37cb(0x1cb)]===_0x1f37cb(0x1dc)&&(this[_0x1f37cb(0x1a4)]=new SMAAPass_js.SMAAPass(_0x43e130['x'],_0x43e130['y']),this[_0x1f37cb(0x1e7)]['addPass'](this[_0x1f37cb(0x1a4)]));}this[_0x1f37cb(0x1f0)]=new OutputPass_js.OutputPass(),this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1bc)](this['outputPass']);}[_0x512e67(0x1cf)](_0x392f09){const _0x28298f=_0x512e67;var _0x245b09;return (_0x245b09=this[_0x28298f(0x1da)][_0x28298f(0x1ab)][_0x28298f(0x1b5)](_0x1bde6c=>_0x1bde6c[_0x28298f(0x1b0)]===_0x392f09))!==null&&_0x245b09!==void 0?_0x245b09:null;}[_0x512e67(0x1c3)](){const _0x1d5c84=_0x512e67,_0x4287d4=this[_0x1d5c84(0x1cf)](exports.PostProcessStepType[_0x1d5c84(0x1b3)]);_0x4287d4&&this[_0x1d5c84(0x1c6)]&&(this[_0x1d5c84(0x1c6)][_0x1d5c84(0x1e3)]=_0x4287d4[_0x1d5c84(0x1e3)],this[_0x1d5c84(0x1c6)][_0x1d5c84(0x1f5)]=_0x4287d4[_0x1d5c84(0x1f5)],this[_0x1d5c84(0x1c6)][_0x1d5c84(0x1c2)]=_0x4287d4[_0x1d5c84(0x1c2)]);const _0x4b3678=this[_0x1d5c84(0x1cf)](exports.PostProcessStepType[_0x1d5c84(0x1a3)]);if(_0x4b3678&&this[_0x1d5c84(0x1ed)]){const _0xd8ac1e=this[_0x1d5c84(0x1ed)];_0xd8ac1e[_0x1d5c84(0x1de)]&&(_0xd8ac1e['uniforms']['focus'][_0x1d5c84(0x1b6)]=_0x4b3678['focus'],_0xd8ac1e['uniforms']['aperture'][_0x1d5c84(0x1b6)]=_0x4b3678[_0x1d5c84(0x1c5)],_0xd8ac1e[_0x1d5c84(0x1de)][_0x1d5c84(0x1c7)]['value']=_0x4b3678[_0x1d5c84(0x1c7)]);}const _0x42ccf6=this['getStepParam'](exports.PostProcessStepType[_0x1d5c84(0x1bb)]);_0x42ccf6&&this['gtaoPass']&&this['updateGTAOParameters'](_0x42ccf6);const _0x1ed48b=this[_0x1d5c84(0x1cf)](exports.PostProcessStepType['Outline']);_0x1ed48b&&this['outlinePass']&&this[_0x1d5c84(0x1aa)](_0x1ed48b);}[_0x512e67(0x1af)](_0x876071){const _0x5340be=_0x512e67;if(!this[_0x5340be(0x1cc)])return;this[_0x5340be(0x1cc)][_0x5340be(0x1d7)]=_0x876071[_0x5340be(0x1e6)];}[_0x512e67(0x1aa)](_0x4c4c86){const _0x305056=_0x512e67;if(!this[_0x305056(0x1d0)])return;this['outlinePass'][_0x305056(0x1ad)]=_0x4c4c86['edgeStrength'],this[_0x305056(0x1d0)][_0x305056(0x1a8)]=_0x4c4c86['edgeGlow'],this[_0x305056(0x1d0)][_0x305056(0x1db)]=_0x4c4c86[_0x305056(0x1db)],this[_0x305056(0x1d0)][_0x305056(0x1d1)]=_0x4c4c86[_0x305056(0x1d1)],this[_0x305056(0x1d0)]['visibleEdgeColor']=new three.Color(_0x4c4c86[_0x305056(0x1c0)]),this['outlinePass'][_0x305056(0x1e0)]=new three.Color(_0x4c4c86['hiddenEdgeColor']);}[_0x512e67(0x1b2)](_0x7876bd){const _0x11d3b0=_0x512e67;this[_0x11d3b0(0x1da)][_0x11d3b0(0x1ab)]=_0x7876bd,this[_0x11d3b0(0x1ae)](),this['markDirty']();}[_0x512e67(0x1c4)](_0x355873){const _0x267944=_0x512e67;!this[_0x267944(0x1be)][_0x267944(0x1b9)](_0x355873)&&(this[_0x267944(0x1be)][_0x267944(0x1ac)](_0x355873),this[_0x267944(0x1d0)]&&(this['outlinePass'][_0x267944(0x1d9)]=this[_0x267944(0x1be)])),this[_0x267944(0x1ce)]();}[_0x512e67(0x1d8)](_0x16ef98){const _0x504f1a=_0x512e67;this[_0x504f1a(0x1be)][_0x504f1a(0x1df)]=0x0,this[_0x504f1a(0x1be)][_0x504f1a(0x1ac)](..._0x16ef98),this[_0x504f1a(0x1d0)]&&(this[_0x504f1a(0x1d0)][_0x504f1a(0x1d9)]=this['outlineObjects']),this['markDirty']();}[_0x512e67(0x1ec)](_0x20bec4){const _0x30e5e4=_0x512e67,_0x4f39cb=this[_0x30e5e4(0x1be)][_0x30e5e4(0x1b7)](_0x20bec4);_0x4f39cb>-1&&(this[_0x30e5e4(0x1be)]['splice'](_0x4f39cb,0x1),this[_0x30e5e4(0x1d0)]&&(this[_0x30e5e4(0x1d0)]['selectedObjects']=this[_0x30e5e4(0x1be)])),this['markDirty']();}[_0x512e67(0x1bf)](_0x3da893){const _0x112c73=_0x512e67;this[_0x112c73(0x1d4)]=_0x3da893,this[_0x112c73(0x1ae)](),this['markDirty']();}['getLUT3DTexture'](){return this['lut3dTexture'];}[_0x512e67(0x1e5)](){const _0x4b11d2=_0x512e67;if(this[_0x4b11d2(0x1e7)])return this['composer'][_0x4b11d2(0x1e5)](),!![];return ![];}[_0x512e67(0x1f1)](_0x349a51,_0x16adb1){const _0xa0b67d=_0x512e67;this[_0xa0b67d(0x1e7)]&&this[_0xa0b67d(0x1e7)][_0xa0b67d(0x1c1)](_0x349a51,_0x16adb1),this[_0xa0b67d(0x1e4)]&&this[_0xa0b67d(0x1e4)][_0xa0b67d(0x1de)]['resolution'][_0xa0b67d(0x1b6)][_0xa0b67d(0x1a6)](0x1/_0x349a51,0x1/_0x16adb1);}[_0x512e67(0x1f2)](){const _0x3ddebf=_0x512e67;this['outlineObjects']=[],this['outlinePass']=null,this[_0x3ddebf(0x1c6)]=null,this[_0x3ddebf(0x1ed)]=null,this['gtaoPass']=null,this[_0x3ddebf(0x1a4)]=null,this[_0x3ddebf(0x1e4)]=null,this[_0x3ddebf(0x1e8)]=null,this[_0x3ddebf(0x1f0)]=null,this[_0x3ddebf(0x1d4)]=null,this[_0x3ddebf(0x1e7)]&&(this['composer'][_0x3ddebf(0x1b1)](),this[_0x3ddebf(0x1e7)]=null);}[_0x512e67(0x1ce)](){const _0x5a659a=_0x512e67;this[_0x5a659a(0x1a9)]&&this[_0x5a659a(0x1a9)]();}}
|
|
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
|
+
function _0x1090(){const _0x5498fb=['7596uaWMHX','setShadowMapEnabled','shadowMap','291ZZlEHg','1097426sOGXCu','scene-uiLayer','setClearAlpha','add','onAfterPostProcessRender','enabled','setToneMapping','135906MHSuLc','postProcessManager','7cHHliK','width','param','markRenderStateDirty','createPostProcessManager','setup','setAnimationLoop','_canvasContainer','createCSS3DRenderer','dispose','transparent','createRenderer','renderAsImage','none','uiDom','addOutlineObject','absolute','setSize','renderer','0px','428736IAwZds','setShadowMapType','scene','toneMapping','css3dRenderer','camera','domElement','elementId','scene-labelRenderer','157329qCLkvC','clientWidth','clientHeight','observe','top','world','drawImage','appendChild','pointerEvents','58568HeQysf','_outerContainer','getContext','toDataURL','labelRenderer','40HbjZyX','App\x20is\x20not\x20initialized','canvas','type','toneMappingExposure','WebGPU','100%','remove','div','removeChild','className','position','isUILayerNeeded','isLabelRendererNeeded','13517dvKJCi','_app','background','removeOutlineObject','style','WebGL','onWindowResize','createLabelRenderer','8JslMby','left','destroy','_renderer','setOutlineObjects','_uiDom','init','disconnect','updateCamera','firstChild','resize','20YahzTP','isRenderStateDirty','postProcess','height','scene-css3dRenderer','Renderer\x20is\x20not\x20initialized','.scene-uiLayer','isCSS3DRendererNeeded','devicePixelRatio','Can\x20not\x20create\x20context','app','render','createElement','resizeObserver','image/jpeg','contentBoxSize','destroyPostProcess'];_0x1090=function(){return _0x5498fb;};return _0x1090();}const _0x29645f=_0x34a5;function _0x34a5(_0xedc559,_0x58089e){_0xedc559=_0xedc559-0x13c;const _0x109019=_0x1090();let _0x34a563=_0x109019[_0xedc559];return _0x34a563;}(function(_0x45230a,_0x5d4fba){const _0x32e5b3=_0x34a5,_0x16738a=_0x45230a();while(!![]){try{const _0xed3e76=-parseInt(_0x32e5b3(0x1a1))/0x1*(parseInt(_0x32e5b3(0x13f))/0x2)+-parseInt(_0x32e5b3(0x15e))/0x3*(-parseInt(_0x32e5b3(0x15b))/0x4)+parseInt(_0x32e5b3(0x14a))/0x5*(-parseInt(_0x32e5b3(0x166))/0x6)+-parseInt(_0x32e5b3(0x168))/0x7*(-parseInt(_0x32e5b3(0x18e))/0x8)+-parseInt(_0x32e5b3(0x185))/0x9*(parseInt(_0x32e5b3(0x193))/0xa)+parseInt(_0x32e5b3(0x15f))/0xb+parseInt(_0x32e5b3(0x17c))/0xc;if(_0xed3e76===_0x5d4fba)break;else _0x16738a['push'](_0x16738a['shift']());}catch(_0x538c73){_0x16738a['push'](_0x16738a['shift']());}}}(_0x1090,0x1b726));class Viewport{get[_0x29645f(0x176)](){const _0x25879a=_0x29645f;return this[_0x25879a(0x144)];}get['canvas'](){const _0x4398c2=_0x29645f;return this[_0x4398c2(0x18f)]||this[_0x4398c2(0x17a)][_0x4398c2(0x182)];}get['outer'](){const _0x1f9b3d=_0x29645f;return this[_0x1f9b3d(0x18f)];}get[_0x29645f(0x17a)](){const _0x562f48=_0x29645f;if(!this[_0x562f48(0x142)])throw Error(_0x562f48(0x14f));return this['_renderer'];}get['app'](){const _0xbd294=_0x29645f;if(!this[_0xbd294(0x1a2)])throw Error(_0xbd294(0x194));return this[_0xbd294(0x1a2)];}constructor(_0x7da828,_0x14c9b9){const _0x1bc952=_0x29645f;this[_0x1bc952(0x144)]=null,this[_0x1bc952(0x142)]=null,this[_0x1bc952(0x192)]=null,this['css3dRenderer']=null,this[_0x1bc952(0x1a2)]=null,this['resizeObserver']=null,this[_0x1bc952(0x18f)]=null,this[_0x1bc952(0x16f)]=null,this[_0x1bc952(0x14b)]=!![],this[_0x1bc952(0x167)]=null,this[_0x1bc952(0x1a2)]=_0x7da828,_0x14c9b9[_0x1bc952(0x183)]&&(this[_0x1bc952(0x18f)]=document['getElementById'](_0x14c9b9['elementId'])),this['createRenderer'](_0x14c9b9[_0x1bc952(0x17a)][_0x1bc952(0x196)],_0x14c9b9[_0x1bc952(0x17a)][_0x1bc952(0x16a)]),_0x14c9b9[_0x1bc952(0x1a0)]&&this[_0x1bc952(0x13e)](),_0x14c9b9[_0x1bc952(0x151)]&&this[_0x1bc952(0x170)](),_0x14c9b9[_0x1bc952(0x19f)]&&this['createUILayer'](),setTimeout(()=>{const _0x40902b=_0x1bc952;var _0x2bdfce;this['setupPostProcess']((_0x2bdfce=_0x14c9b9[_0x40902b(0x14c)])!==null&&_0x2bdfce!==void 0?_0x2bdfce:{'steps':[]});},0x32),this['_outerContainer']&&(this[_0x1bc952(0x157)]=new ResizeObserver(_0x2d5e5d=>{const _0x3e9f02=_0x1bc952;for(let _0x2c1856 of _0x2d5e5d){_0x2c1856[_0x3e9f02(0x159)]&&this[_0x3e9f02(0x13d)]();}}),this['resizeObserver'][_0x1bc952(0x188)](this[_0x1bc952(0x18f)])),this[_0x1bc952(0x154)]['onCameraChangedDelegate'][_0x1bc952(0x162)](()=>{const _0x501357=_0x1bc952;this['postProcessManager']&&(this['postProcessManager'][_0x501357(0x147)](this[_0x501357(0x154)][_0x501357(0x181)]),this['postProcessManager'][_0x501357(0x16d)]());});}[_0x29645f(0x173)](_0x276f0f,_0x4f852f){const _0x12484d=_0x29645f,_0x209904=this[_0x12484d(0x18f)];this[_0x12484d(0x142)]&&(_0x209904&&_0x209904[_0x12484d(0x19c)](this['_renderer'][_0x12484d(0x182)]),this[_0x12484d(0x142)][_0x12484d(0x171)]());let _0x525134=_0x209904?_0x209904[_0x12484d(0x186)]:0x200,_0x4be3c4=_0x209904?_0x209904['clientHeight']:0x200;switch(_0x276f0f){case exports.RendererType[_0x12484d(0x198)]:this[_0x12484d(0x142)]=new webgpu.WebGPURenderer(_0x4f852f);break;case exports.RendererType[_0x12484d(0x13c)]:this[_0x12484d(0x142)]=new three.WebGLRenderer(_0x4f852f);break;}this['_renderer']['setPixelRatio'](window[_0x12484d(0x152)]),this[_0x12484d(0x142)]['setSize'](_0x525134,_0x4be3c4),this[_0x12484d(0x142)][_0x12484d(0x15d)][_0x12484d(0x164)]=!![],this[_0x12484d(0x142)][_0x12484d(0x15d)]['type']=0x1,this['_renderer'][_0x12484d(0x17f)]=0x0,this[_0x12484d(0x142)][_0x12484d(0x197)]=0x1,this[_0x12484d(0x142)][_0x12484d(0x161)](0x0),this[_0x12484d(0x142)][_0x12484d(0x182)][_0x12484d(0x1a5)][_0x12484d(0x19e)]='absolute',this[_0x12484d(0x142)][_0x12484d(0x182)][_0x12484d(0x1a5)][_0x12484d(0x140)]='0',this['_renderer'][_0x12484d(0x182)][_0x12484d(0x1a5)]['top']='0',this[_0x12484d(0x142)][_0x12484d(0x182)][_0x12484d(0x1a5)]['zIndex']='20',this['_renderer'][_0x12484d(0x182)][_0x12484d(0x1a5)][_0x12484d(0x1a3)]=_0x12484d(0x172),this[_0x12484d(0x142)][_0x12484d(0x182)][_0x12484d(0x1a5)][_0x12484d(0x18d)]=_0x12484d(0x175),_0x209904&&_0x209904[_0x12484d(0x18c)](this[_0x12484d(0x142)][_0x12484d(0x182)]);}['createLabelRenderer'](){const _0x70f7f1=_0x29645f,_0x3f55f8=this[_0x70f7f1(0x18f)];this[_0x70f7f1(0x192)]&&(_0x3f55f8&&_0x3f55f8['removeChild'](this['labelRenderer'][_0x70f7f1(0x182)]));let _0x3092aa=_0x3f55f8?_0x3f55f8['clientWidth']:0x200,_0x56d166=_0x3f55f8?_0x3f55f8[_0x70f7f1(0x187)]:0x200;this[_0x70f7f1(0x192)]=new Addons_js.CSS2DRenderer(),this[_0x70f7f1(0x192)][_0x70f7f1(0x179)](_0x3092aa,_0x56d166),this[_0x70f7f1(0x192)][_0x70f7f1(0x182)][_0x70f7f1(0x1a5)]['pointerEvents']=_0x70f7f1(0x175),this[_0x70f7f1(0x192)][_0x70f7f1(0x182)]['style'][_0x70f7f1(0x19e)]='absolute',this[_0x70f7f1(0x192)][_0x70f7f1(0x182)]['style'][_0x70f7f1(0x189)]=_0x70f7f1(0x17b),this[_0x70f7f1(0x192)][_0x70f7f1(0x182)][_0x70f7f1(0x19d)]=_0x70f7f1(0x184),this[_0x70f7f1(0x192)]['domElement'][_0x70f7f1(0x1a5)]['zIndex']='30',_0x3f55f8&&_0x3f55f8[_0x70f7f1(0x18c)](this[_0x70f7f1(0x192)][_0x70f7f1(0x182)]);}[_0x29645f(0x170)](){const _0x15bd15=_0x29645f,_0x1fd32b=this[_0x15bd15(0x18f)];this[_0x15bd15(0x180)]&&(_0x1fd32b&&_0x1fd32b[_0x15bd15(0x19c)](this['css3dRenderer']['domElement']));let _0xc764b8=_0x1fd32b?_0x1fd32b[_0x15bd15(0x186)]:0x200,_0x30df66=_0x1fd32b?_0x1fd32b[_0x15bd15(0x187)]:0x200;this[_0x15bd15(0x180)]=new Addons_js.CSS3DRenderer(),this[_0x15bd15(0x180)][_0x15bd15(0x179)](_0xc764b8,_0x30df66),this[_0x15bd15(0x180)][_0x15bd15(0x182)][_0x15bd15(0x1a5)][_0x15bd15(0x18d)]=_0x15bd15(0x175),this[_0x15bd15(0x180)][_0x15bd15(0x182)][_0x15bd15(0x1a5)][_0x15bd15(0x19e)]='absolute',this[_0x15bd15(0x180)][_0x15bd15(0x182)][_0x15bd15(0x1a5)][_0x15bd15(0x140)]=_0x15bd15(0x17b),this[_0x15bd15(0x180)][_0x15bd15(0x182)][_0x15bd15(0x1a5)][_0x15bd15(0x189)]=_0x15bd15(0x17b),this[_0x15bd15(0x180)]['domElement'][_0x15bd15(0x1a5)]['zIndex']='0',this[_0x15bd15(0x180)][_0x15bd15(0x182)][_0x15bd15(0x19d)]=_0x15bd15(0x14e),_0x1fd32b&&_0x1fd32b['insertBefore'](this[_0x15bd15(0x180)][_0x15bd15(0x182)],_0x1fd32b[_0x15bd15(0x148)]);}['createUILayer'](){const _0x19e575=_0x29645f;if(!this['_outerContainer'])return;let _0x2a38f1=this[_0x19e575(0x18f)]['querySelector'](_0x19e575(0x150));!_0x2a38f1&&(_0x2a38f1=document[_0x19e575(0x156)](_0x19e575(0x19b)),_0x2a38f1[_0x19e575(0x19d)]=_0x19e575(0x160),_0x2a38f1['id']=_0x19e575(0x160),_0x2a38f1[_0x19e575(0x1a5)]['position']=_0x19e575(0x178),_0x2a38f1[_0x19e575(0x1a5)]['left']='0',_0x2a38f1[_0x19e575(0x1a5)][_0x19e575(0x189)]='0',_0x2a38f1[_0x19e575(0x1a5)][_0x19e575(0x169)]=_0x19e575(0x199),_0x2a38f1[_0x19e575(0x1a5)][_0x19e575(0x14d)]=_0x19e575(0x199),_0x2a38f1['style']['pointerEvents']='none',_0x2a38f1[_0x19e575(0x1a5)]['zIndex']='10',this['_outerContainer'][_0x19e575(0x18c)](_0x2a38f1),this[_0x19e575(0x144)]=_0x2a38f1);}[_0x29645f(0x145)](){}['setupPostProcess'](_0x3ac138){const _0x4594f7=_0x29645f;!this[_0x4594f7(0x167)]&&(this[_0x4594f7(0x167)]=this[_0x4594f7(0x16c)](_0x3ac138)),this[_0x4594f7(0x167)]['setup']();}[_0x29645f(0x16c)](_0x42a3f2){const _0xf657ba=_0x29645f;return this[_0xf657ba(0x17a)]instanceof three.WebGLRenderer?new WebGLPostProcessManager(this[_0xf657ba(0x17a)],this[_0xf657ba(0x154)][_0xf657ba(0x18a)][_0xf657ba(0x17e)],this['app'][_0xf657ba(0x181)],_0x42a3f2,()=>this['markRenderStateDirty']()):new PostProcessManager(this[_0xf657ba(0x17a)],this[_0xf657ba(0x154)][_0xf657ba(0x18a)][_0xf657ba(0x17e)],this[_0xf657ba(0x154)][_0xf657ba(0x181)],_0x42a3f2,()=>this[_0xf657ba(0x16b)]());}['updatePostProcess'](_0x343466){const _0x41d93f=_0x29645f;this[_0x41d93f(0x167)]&&this['postProcessManager']['updateSteps'](_0x343466);}[_0x29645f(0x177)](_0x3d108b){const _0x1b4f64=_0x29645f;this[_0x1b4f64(0x167)]&&this[_0x1b4f64(0x167)]['addOutlineObject'](_0x3d108b);}[_0x29645f(0x143)](_0x330c70){const _0x39da1f=_0x29645f;this[_0x39da1f(0x167)]&&this[_0x39da1f(0x167)][_0x39da1f(0x143)](_0x330c70);}[_0x29645f(0x1a4)](_0x2e3170){const _0x4d458f=_0x29645f;this['postProcessManager']&&this['postProcessManager'][_0x4d458f(0x1a4)](_0x2e3170);}[_0x29645f(0x15a)](){const _0x463baf=_0x29645f;this['postProcessManager']&&(this[_0x463baf(0x167)][_0x463baf(0x141)](),this[_0x463baf(0x167)]=null);}[_0x29645f(0x13d)](){const _0x2e22ce=_0x29645f;let _0x34140d=this[_0x2e22ce(0x18f)];if(!_0x34140d)return;this[_0x2e22ce(0x154)][_0x2e22ce(0x13d)](_0x34140d['clientWidth'],_0x34140d[_0x2e22ce(0x187)]),this[_0x2e22ce(0x17a)][_0x2e22ce(0x179)](_0x34140d[_0x2e22ce(0x186)],_0x34140d[_0x2e22ce(0x187)]);if(this[_0x2e22ce(0x192)])this[_0x2e22ce(0x192)][_0x2e22ce(0x179)](_0x34140d[_0x2e22ce(0x186)],_0x34140d[_0x2e22ce(0x187)]);if(this[_0x2e22ce(0x180)])this[_0x2e22ce(0x180)]['setSize'](_0x34140d[_0x2e22ce(0x186)],_0x34140d['clientHeight']);this[_0x2e22ce(0x167)]&&_0x2e22ce(0x149)in this[_0x2e22ce(0x167)]&&this['postProcessManager'][_0x2e22ce(0x149)](_0x34140d[_0x2e22ce(0x186)],_0x34140d[_0x2e22ce(0x187)]),this[_0x2e22ce(0x16b)]();}['markRenderStateDirty'](){const _0x41318c=_0x29645f;this[_0x41318c(0x14b)]=!![];}[_0x29645f(0x155)](){const _0x3012a3=_0x29645f;if(!this[_0x3012a3(0x14b)])return;if(this['postProcessManager']&&this[_0x3012a3(0x167)][_0x3012a3(0x155)]());else this[_0x3012a3(0x17a)][_0x3012a3(0x155)](this[_0x3012a3(0x154)][_0x3012a3(0x18a)][_0x3012a3(0x17e)],this[_0x3012a3(0x154)][_0x3012a3(0x181)]);this[_0x3012a3(0x163)](),this[_0x3012a3(0x192)]&&this[_0x3012a3(0x192)][_0x3012a3(0x155)](this[_0x3012a3(0x154)][_0x3012a3(0x18a)][_0x3012a3(0x17e)],this[_0x3012a3(0x154)][_0x3012a3(0x181)]),this['css3dRenderer']&&this[_0x3012a3(0x180)][_0x3012a3(0x155)](this['app'][_0x3012a3(0x18a)][_0x3012a3(0x17e)],this[_0x3012a3(0x154)][_0x3012a3(0x181)]),this[_0x3012a3(0x14b)]=![];}['onAfterPostProcessRender'](){}async[_0x29645f(0x174)](_0x5a2b3d=0x400,_0x4fbf61=0x400){const _0x17dcaa=_0x29645f;try{if(this['postProcessManager']&&this[_0x17dcaa(0x167)]['render']()){}else await this[_0x17dcaa(0x17a)][_0x17dcaa(0x155)](this[_0x17dcaa(0x154)][_0x17dcaa(0x18a)][_0x17dcaa(0x17e)],this['app'][_0x17dcaa(0x181)]);const _0xc40bdd=this['renderer'][_0x17dcaa(0x182)][_0x17dcaa(0x169)],_0x43b8d0=this['renderer']['domElement'][_0x17dcaa(0x14d)];let _0x300658=_0xc40bdd||_0x5a2b3d,_0x5a3417=_0x43b8d0||_0x4fbf61;(_0x300658<=0x0||_0x5a3417<=0x0)&&(_0x300658=_0x5a2b3d,_0x5a3417=_0x4fbf61);const _0x508ca7=document['createElement'](_0x17dcaa(0x195));_0x508ca7[_0x17dcaa(0x169)]=_0x5a2b3d,_0x508ca7[_0x17dcaa(0x14d)]=_0x4fbf61;const _0x34e60e=_0x508ca7[_0x17dcaa(0x190)]('2d');if(!_0x34e60e)throw Error(_0x17dcaa(0x153));_0x34e60e[_0x17dcaa(0x18b)](this[_0x17dcaa(0x17a)][_0x17dcaa(0x182)],0x0,0x0,_0x300658,_0x5a3417,0x0,0x0,_0x5a2b3d,_0x4fbf61);const _0x4e0aa8=_0x508ca7[_0x17dcaa(0x191)](_0x17dcaa(0x158));return _0x508ca7[_0x17dcaa(0x19a)](),_0x4e0aa8;}catch(_0x9cc268){return '';}}[_0x29645f(0x15c)](_0x40e7eb){const _0x1018b7=_0x29645f;if(!this['_renderer'])return;this[_0x1018b7(0x142)][_0x1018b7(0x15d)][_0x1018b7(0x164)]=_0x40e7eb;}[_0x29645f(0x17d)](_0x437f0b){if(!this['_renderer'])return;this['_renderer']['shadowMap']['type']=_0x437f0b;}[_0x29645f(0x165)](_0x3edf69){const _0x1b82be=_0x29645f;if(!this[_0x1b82be(0x142)])return;this[_0x1b82be(0x142)][_0x1b82be(0x17f)]=_0x3edf69;}['setToneMappingExposure'](_0xb888c1){const _0x36ab4e=_0x29645f;if(!this['_renderer'])return;this[_0x36ab4e(0x142)][_0x36ab4e(0x197)]=_0xb888c1;}[_0x29645f(0x141)](){const _0x2e469d=_0x29645f;this['destroyPostProcess'](),this[_0x2e469d(0x17a)][_0x2e469d(0x16e)](null),this['resizeObserver']&&(this[_0x2e469d(0x157)][_0x2e469d(0x146)](),this['resizeObserver']=null),this[_0x2e469d(0x192)]&&(this[_0x2e469d(0x192)][_0x2e469d(0x182)][_0x2e469d(0x19a)](),this[_0x2e469d(0x192)]=null),this[_0x2e469d(0x142)]&&(this[_0x2e469d(0x17a)][_0x2e469d(0x182)][_0x2e469d(0x19a)](),this[_0x2e469d(0x142)][_0x2e469d(0x171)](),this['_renderer']=null),this[_0x2e469d(0x16f)]&&(this[_0x2e469d(0x16f)][_0x2e469d(0x19a)](),this['_canvasContainer']=null),this['_outerContainer']=null,this[_0x2e469d(0x1a2)]=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 _0x5db7(_0x2822a3,_0x24fa67){_0x2822a3=_0x2822a3-0x16e;const _0x5b464c=_0x5b46();let _0x5db7c9=_0x5b464c[_0x2822a3];return _0x5db7c9;}const _0x3fc162=_0x5db7;(function(_0xf24972,_0x11f68f){const _0x3b650c=_0x5db7,_0x291b65=_0xf24972();while(!![]){try{const _0x4664fb=parseInt(_0x3b650c(0x1b0))/0x1+-parseInt(_0x3b650c(0x1a7))/0x2+parseInt(_0x3b650c(0x1a4))/0x3+parseInt(_0x3b650c(0x1b2))/0x4+-parseInt(_0x3b650c(0x191))/0x5*(-parseInt(_0x3b650c(0x195))/0x6)+-parseInt(_0x3b650c(0x171))/0x7*(-parseInt(_0x3b650c(0x192))/0x8)+-parseInt(_0x3b650c(0x19e))/0x9;if(_0x4664fb===_0x11f68f)break;else _0x291b65['push'](_0x291b65['shift']());}catch(_0x376f16){_0x291b65['push'](_0x291b65['shift']());}}}(_0x5b46,0xc4578));function _0x5b46(){const _0x27c96d=['has','2961540nETykz','getCenter','getChildActorsByIds','_onHoverBeginDelegate','getBoundsBottomCenterPosition','viewport','onDoubleClickDelegate','removeFromParent','childrenComponents','639223jfjpOv','length','3156960vbkcdV','onActorHoverEnd','getComponentById','getWorldForwardDirection','setWorldMatrix','onActorDoubleClick','broadcast','getBoundsTopCenterPosition','setScale','getWorldMatrix','setQuaternion','addLocalOffset','rootComponent','setRotation','removeChildActor','_onClickDelegate','uuid','KeepRelative','getWorldScale','getWorldPosition','getChildActorById','push','onHoverBeginDelegate','userData','max','localToWorld','destroyChildren','worldToLocal','getScale','_world','name','clearComponent','size','getBoundsCenterPosition','onActorHoverBegin','world','91406bhvDeN','getWorldRotation','rootComponent\x20is\x20invalid','getWorldQuaternion','childActors','_onDoubleClickDelegate','attachComponent','addChildComponent','getPosition','landToGround','setVisible','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','addTickableActor','parentActor','delete','children','getWorldRightDirection','getWorldUpDirection','markRenderStateDirty','onAddedToWorld','tick','error','isTickEnabled','sub','parent','isVisible','removeComponent','app','KeepWorld','getBounds','destroy','_rootComponent','13775NFPTvu','712pAOLWY','getRotation','setPosition','264mxsZEu','min','detachFromParentComponent','isClickEnabled','onActorClick','setLayers','isHoverEnabled','LYObject','_name','13468608fvwnak','Actor','forEach','_onHoverEndDelegate','onHoverEndDelegate','getComponents','3208959bFVtQL','constructRootComponent'];_0x5b46=function(){return _0x27c96d;};return _0x5b46();}class Actor extends BaseObject{get['world'](){return this['_world'];}get[_0x3fc162(0x1d0)](){const _0x3a85a0=_0x3fc162;return this[_0x3a85a0(0x19d)];}set[_0x3fc162(0x1d0)](_0x9c1705){const _0x5725ba=_0x3fc162;this[_0x5725ba(0x19d)]=_0x9c1705;}get[_0x3fc162(0x1be)](){const _0x3de838=_0x3fc162;if(!this[_0x3de838(0x190)])throw Error(_0x3de838(0x173));return this[_0x3de838(0x190)];}set[_0x3fc162(0x1be)](_0x51ec30){const _0x5b4a69=_0x3fc162;_0x51ec30[_0x5b4a69(0x197)](),_0x51ec30['parentActor']=this;if(this[_0x5b4a69(0x190)]){let _0x51a174=this[_0x5b4a69(0x1be)][_0x5b4a69(0x1af)];for(let _0x2d4375=0x0;_0x2d4375<_0x51a174[_0x5b4a69(0x1b1)];++_0x2d4375){_0x51ec30['addChildComponent'](_0x51a174[_0x2d4375]);}this[_0x5b4a69(0x1be)][_0x5b4a69(0x18f)]();}this[_0x5b4a69(0x190)]=_0x51ec30;}get[_0x3fc162(0x1af)](){const _0x4af5c4=_0x3fc162;return this[_0x4af5c4(0x1be)]['childrenComponents'];}get[_0x3fc162(0x175)](){const _0x3301b1=_0x3fc162;var _0x5f55fe;let _0x25e8e3=[];return (_0x5f55fe=this[_0x3301b1(0x1be)]['threeObject'])===null||_0x5f55fe===void 0?void 0:_0x5f55fe[_0x3301b1(0x180)]['forEach'](_0x59fd38=>{const _0x238f44=_0x3301b1;var _0x152803;let _0x160fc9=(_0x152803=_0x59fd38[_0x238f44(0x1c9)][_0x238f44(0x19c)])===null||_0x152803===void 0?void 0:_0x152803['parentActor'];_0x160fc9!==this&&_0x160fc9 instanceof Actor&&_0x25e8e3['push'](_0x160fc9);}),_0x25e8e3;}get['parentActor'](){const _0x54cdc1=_0x3fc162;var _0x53ac51,_0x5df29e,_0x415e51;let _0x33a4ac=(_0x415e51=(_0x5df29e=(_0x53ac51=this['rootComponent']['threeObject'])===null||_0x53ac51===void 0?void 0:_0x53ac51[_0x54cdc1(0x189)])===null||_0x5df29e===void 0?void 0:_0x5df29e[_0x54cdc1(0x1c9)][_0x54cdc1(0x19c)])===null||_0x415e51===void 0?void 0:_0x415e51[_0x54cdc1(0x17e)];return _0x33a4ac===this?null:_0x33a4ac;}get[_0x3fc162(0x18a)](){const _0x219ba4=_0x3fc162;return this[_0x219ba4(0x1be)]?this['rootComponent'][_0x219ba4(0x18a)]:![];}get[_0x3fc162(0x187)](){return super['isTickEnabled'];}set[_0x3fc162(0x187)](_0xfb30c6){const _0x58b944=_0x3fc162;super[_0x58b944(0x187)]=_0xfb30c6,this[_0x58b944(0x187)]?this[_0x58b944(0x18c)]['world'][_0x58b944(0x17d)](this):this['app'][_0x58b944(0x170)]['removeTickableActor'](this);}get[_0x3fc162(0x1c8)](){return this['_onHoverBeginDelegate'];}get[_0x3fc162(0x1a2)](){return this['_onHoverEndDelegate'];}get['onClickDelegate'](){const _0x9e0f45=_0x3fc162;return this[_0x9e0f45(0x1c1)];}get[_0x3fc162(0x1ad)](){const _0x2ba577=_0x3fc162;return this[_0x2ba577(0x176)];}constructor(_0x238ba5,_0x315937){const _0x27b836=_0x3fc162;super(_0x315937),this[_0x27b836(0x19d)]=_0x27b836(0x19f),this[_0x27b836(0x190)]=null,this['_world']=null,this[_0x27b836(0x1aa)]=new Delegate(),this[_0x27b836(0x1a1)]=new Delegate(),this['_onClickDelegate']=new Delegate(),this[_0x27b836(0x176)]=new Delegate(),this[_0x27b836(0x18c)]=_0x238ba5,this[_0x27b836(0x1be)]=this[_0x27b836(0x1a5)](),this[_0x27b836(0x1be)][_0x27b836(0x17e)]=this;}[_0x3fc162(0x1a5)](){const _0xcb8c65=_0x3fc162;return new SceneComponent(this[_0xcb8c65(0x18c)]);}[_0x3fc162(0x16e)](_0x4a909d=!![]){const _0x317c9a=_0x3fc162;let _0x2fa8bd=new webgpu.Vector3();return this[_0x317c9a(0x18e)]()['getCenter'](_0x2fa8bd),!_0x4a909d?_0x2fa8bd[_0x317c9a(0x188)](this[_0x317c9a(0x179)]()):_0x2fa8bd;}[_0x3fc162(0x1c6)](_0x83d9f,_0x5a6373=!![]){const _0x32823e=_0x3fc162,_0x2db2ed=this['childActors'];for(const _0x203baa of _0x2db2ed){if(_0x203baa['uuid']===_0x83d9f)return _0x203baa;}if(_0x5a6373)for(const _0x4969b6 of _0x2db2ed){const _0x45c2a6=_0x4969b6[_0x32823e(0x1c6)](_0x83d9f,!![]);if(_0x45c2a6)return _0x45c2a6;}return null;}[_0x3fc162(0x1a9)](_0x5a41c3,_0x1ccc1e=!![]){const _0x323fc4=_0x3fc162,_0x4909e5=[],_0x54d251=new Set(_0x5a41c3),_0x487809=this['childActors'];for(const _0x44a945 of _0x487809){_0x54d251[_0x323fc4(0x1a6)](_0x44a945[_0x323fc4(0x1c2)])&&(_0x4909e5[_0x323fc4(0x1c7)](_0x44a945),_0x54d251[_0x323fc4(0x17f)](_0x44a945[_0x323fc4(0x1c2)]));}if(_0x1ccc1e&&_0x54d251[_0x323fc4(0x1d2)]>0x0)for(const _0x3bd25f of _0x487809){const _0x292900=_0x3bd25f[_0x323fc4(0x1a9)]([..._0x54d251],!![]);for(const _0x419045 of _0x292900){_0x4909e5[_0x323fc4(0x1c7)](_0x419045),_0x54d251['delete'](_0x419045[_0x323fc4(0x1c2)]);}if(_0x54d251[_0x323fc4(0x1d2)]===0x0)break;}return _0x4909e5;}[_0x3fc162(0x1b4)](_0x7f036f){const _0x551604=_0x3fc162;return this[_0x551604(0x1be)]['getComponentById'](_0x7f036f);}[_0x3fc162(0x1b9)](_0x55e744=!![]){const _0x188276=_0x3fc162;let _0x51e2c8=new webgpu.Vector3(),_0x3eadc4=this['rootComponent'][_0x188276(0x18e)]();return _0x3eadc4[_0x188276(0x1a8)](_0x51e2c8),_0x51e2c8['y']=_0x3eadc4[_0x188276(0x1ca)]['y'],!_0x55e744?_0x51e2c8[_0x188276(0x188)](this[_0x188276(0x179)]()):_0x51e2c8;}[_0x3fc162(0x1ab)](_0x1477c5=!![]){const _0x318f1b=_0x3fc162;let _0x5d1822=new webgpu.Vector3(),_0x2425a9=this[_0x318f1b(0x18e)]();return _0x2425a9[_0x318f1b(0x1a8)](_0x5d1822),_0x5d1822['y']=_0x2425a9[_0x318f1b(0x196)]['y'],!_0x1477c5?_0x5d1822[_0x318f1b(0x188)](this['getPosition']()):_0x5d1822;}[_0x3fc162(0x18e)](){const _0x21d7e=_0x3fc162;return this[_0x21d7e(0x1be)][_0x21d7e(0x18e)]();}['destroy'](){const _0x18189f=_0x3fc162;let _0x1d5380=this[_0x18189f(0x175)];_0x1d5380[_0x18189f(0x1a0)](_0x1ad20b=>{const _0x5b4808=_0x18189f;_0x1ad20b[_0x5b4808(0x18f)]();}),this['rootComponent'][_0x18189f(0x18f)]();}[_0x3fc162(0x17b)](_0x4dde69){const _0x4d92ae=_0x3fc162;this['rootComponent'][_0x4d92ae(0x17b)](_0x4dde69);}[_0x3fc162(0x19a)](_0x544c49,_0xd89286=!![]){const _0x300093=_0x3fc162;this[_0x300093(0x1be)][_0x300093(0x19a)](_0x544c49),_0xd89286&&this[_0x300093(0x175)][_0x300093(0x1a0)](_0x229d37=>{const _0x4378ba=_0x300093;_0x229d37[_0x4378ba(0x19a)](_0x544c49,_0xd89286);});}[_0x3fc162(0x185)](_0x6ba6a7){const _0x46abbe=_0x3fc162;if(!this[_0x46abbe(0x187)])return;super[_0x46abbe(0x185)](_0x6ba6a7),this[_0x46abbe(0x1be)][_0x46abbe(0x185)](_0x6ba6a7);}[_0x3fc162(0x179)](){const _0x11a61c=_0x3fc162;return this[_0x11a61c(0x1be)][_0x11a61c(0x179)]();}[_0x3fc162(0x194)](..._0x3e47b9){const _0x3ca4b5=_0x3fc162;_0x3e47b9[_0x3ca4b5(0x1b1)]===0x1?this[_0x3ca4b5(0x1be)][_0x3ca4b5(0x194)](_0x3e47b9[0x0]):this[_0x3ca4b5(0x1be)][_0x3ca4b5(0x194)](_0x3e47b9[0x0],_0x3e47b9[0x1],_0x3e47b9[0x2]);}[_0x3fc162(0x193)](){const _0x57f17a=_0x3fc162;return this['rootComponent'][_0x57f17a(0x193)]();}[_0x3fc162(0x1bf)](..._0xe6830){const _0x219e81=_0x3fc162;_0xe6830[_0x219e81(0x1b1)]===0x1?this['rootComponent'][_0x219e81(0x1bf)](_0xe6830[0x0]):this[_0x219e81(0x1be)][_0x219e81(0x1bf)](_0xe6830[0x0],_0xe6830[0x1],_0xe6830[0x2]);}['getQuaternion'](){const _0x7d5387=_0x3fc162;return this[_0x7d5387(0x1be)]['getQuaternion']();}[_0x3fc162(0x1bc)](..._0x43041e){const _0x473fee=_0x3fc162;_0x43041e[_0x473fee(0x1b1)]===0x1?this[_0x473fee(0x1be)][_0x473fee(0x1bc)](_0x43041e[0x0]):this[_0x473fee(0x1be)][_0x473fee(0x1bc)](_0x43041e[0x0],_0x43041e[0x1],_0x43041e[0x2],_0x43041e[0x3]);}[_0x3fc162(0x1ce)](){const _0x3ed7af=_0x3fc162;return this[_0x3ed7af(0x1be)][_0x3ed7af(0x1ce)]();}[_0x3fc162(0x1ba)](..._0x482b8f){const _0xb1f9b0=_0x3fc162;_0x482b8f[_0xb1f9b0(0x1b1)]===0x1?this['rootComponent'][_0xb1f9b0(0x1ba)](_0x482b8f[0x0]):this['rootComponent'][_0xb1f9b0(0x1ba)](_0x482b8f[0x0],_0x482b8f[0x1],_0x482b8f[0x2]);}[_0x3fc162(0x1bb)](){const _0x48fc8f=_0x3fc162;return this[_0x48fc8f(0x1be)]['getWorldMatrix']();}[_0x3fc162(0x1b6)](_0x4977bc){const _0xc9186d=_0x3fc162;this[_0xc9186d(0x1be)][_0xc9186d(0x1b6)](_0x4977bc);}[_0x3fc162(0x1c5)](){const _0x5163f0=_0x3fc162;return this['rootComponent'][_0x5163f0(0x1c5)]();}[_0x3fc162(0x172)](){const _0x189404=_0x3fc162;return this['rootComponent'][_0x189404(0x172)]();}[_0x3fc162(0x174)](){const _0x597891=_0x3fc162;return this[_0x597891(0x1be)]['getWorldQuaternion']();}[_0x3fc162(0x1c4)](){const _0x31fed3=_0x3fc162;return this[_0x31fed3(0x1be)]['getWorldScale']();}[_0x3fc162(0x1b5)](){const _0xece158=_0x3fc162;return this[_0xece158(0x1be)]['getWorldForwardDirection']();}[_0x3fc162(0x182)](){const _0x515077=_0x3fc162;return this[_0x515077(0x1be)][_0x515077(0x182)]();}[_0x3fc162(0x181)](){const _0x1d72fb=_0x3fc162;return this[_0x1d72fb(0x1be)][_0x1d72fb(0x181)]();}[_0x3fc162(0x1bd)](_0x55badd,_0x3daefc){const _0x34db92=_0x3fc162;let _0x1e4596=this['getPosition']();this[_0x34db92(0x194)](_0x1e4596['x']+_0x55badd['x']*_0x3daefc,_0x1e4596['y']+_0x55badd['y']*_0x3daefc,_0x1e4596['z']+_0x55badd['z']*_0x3daefc);}[_0x3fc162(0x1cd)](_0x3f7bb1){const _0xa150cb=_0x3fc162;return this['rootComponent'][_0xa150cb(0x1cd)](_0x3f7bb1);}[_0x3fc162(0x1cb)](_0x548a23){const _0xbd19b0=_0x3fc162;return this[_0xbd19b0(0x1be)]['localToWorld'](_0x548a23);}[_0x3fc162(0x1a3)](){const _0x22a70c=_0x3fc162;return this[_0x22a70c(0x1be)][_0x22a70c(0x1af)];}['addComponent'](_0x33a1b8,_0x470929=exports.AttachmentRules[_0x3fc162(0x1c3)]){const _0x3b64bf=_0x3fc162;this[_0x3b64bf(0x1be)][_0x3b64bf(0x178)](_0x33a1b8,_0x470929),this[_0x3b64bf(0x1cf)]&&_0x33a1b8[_0x3b64bf(0x184)](this['_world']);}[_0x3fc162(0x18b)](_0x2fb066){const _0x19e127=_0x3fc162;if(_0x2fb066===this[_0x19e127(0x190)])return;this[_0x19e127(0x1be)]['removeChildComponent'](_0x2fb066);}[_0x3fc162(0x1d1)](){const _0x368ed3=_0x3fc162;this['rootComponent'][_0x368ed3(0x1cc)]();}['addChildActor'](_0x5ae5cb,_0x3527a7=exports.AttachmentRules['KeepWorld']){const _0xe46dac=_0x3fc162;if(!_0x5ae5cb[_0xe46dac(0x1be)]){console[_0xe46dac(0x186)](_0xe46dac(0x17c));return;}if(_0x5ae5cb['parentActor']===this)return;_0x3527a7===exports.AttachmentRules['KeepRelative']&&this['rootComponent'][_0xe46dac(0x177)](_0x5ae5cb[_0xe46dac(0x1be)]);if(_0x3527a7===exports.AttachmentRules[_0xe46dac(0x18d)]){let _0x5808c8=_0x5ae5cb[_0xe46dac(0x1bb)]();this[_0xe46dac(0x1be)]['attachComponent'](_0x5ae5cb[_0xe46dac(0x1be)]),_0x5ae5cb[_0xe46dac(0x1b6)](_0x5808c8);}this[_0xe46dac(0x1cf)]&&this['_world'][_0xe46dac(0x1ac)][_0xe46dac(0x183)]();}[_0x3fc162(0x1c0)](_0x2270a2){const _0x497f1f=_0x3fc162;let _0x4c7adb=_0x2270a2[_0x497f1f(0x1bb)]();this[_0x497f1f(0x1be)]['detachComponent'](_0x2270a2[_0x497f1f(0x1be)]),_0x2270a2[_0x497f1f(0x1b6)](_0x4c7adb);}[_0x3fc162(0x1ae)](){const _0x648ade=_0x3fc162;this[_0x648ade(0x17e)]&&this['parentActor'][_0x648ade(0x1c0)](this);}['onAddedToWorld'](_0x44a14f){const _0x524dbf=_0x3fc162;this[_0x524dbf(0x1cf)]=_0x44a14f,this['rootComponent'][_0x524dbf(0x184)](this[_0x524dbf(0x1cf)]),this[_0x524dbf(0x175)][_0x524dbf(0x1a0)](_0x576ceb=>{const _0x51b9c2=_0x524dbf;_0x576ceb[_0x51b9c2(0x184)](_0x44a14f);});}['onRemovedFromWorld'](){const _0x1f1909=_0x3fc162;this[_0x1f1909(0x1cf)]=null;}get[_0x3fc162(0x19b)](){const _0x261482=_0x3fc162;return this[_0x261482(0x1be)][_0x261482(0x19b)];}set[_0x3fc162(0x19b)](_0x15a910){const _0x8f3883=_0x3fc162;this[_0x8f3883(0x1be)][_0x8f3883(0x19b)]=_0x15a910;}get[_0x3fc162(0x198)](){const _0x3bd9bc=_0x3fc162;return this[_0x3bd9bc(0x1be)]['isClickEnabled'];}set[_0x3fc162(0x198)](_0x242692){const _0x4db9ba=_0x3fc162;this[_0x4db9ba(0x1be)][_0x4db9ba(0x198)]=_0x242692;}[_0x3fc162(0x16f)](_0x32a2b4){const _0x30029e=_0x3fc162;this['_onHoverBeginDelegate'][_0x30029e(0x1b8)](_0x32a2b4);}[_0x3fc162(0x1b3)](_0x2cc7a2){const _0x342532=_0x3fc162;this[_0x342532(0x1a1)]['broadcast'](_0x2cc7a2);}[_0x3fc162(0x199)](_0x43364b){const _0x3471b4=_0x3fc162;this[_0x3471b4(0x1c1)][_0x3471b4(0x1b8)](_0x43364b);}[_0x3fc162(0x1b7)](_0x49e775){this['_onDoubleClickDelegate']['broadcast'](_0x49e775);}[_0x3fc162(0x17a)](){}}
|
|
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 _0x4ab85f=_0x3b3e;(function(_0x504bdf,_0x55070a){var _0x28d504=_0x3b3e,_0x25fcc8=_0x504bdf();while(!![]){try{var _0x57529a=parseInt(_0x28d504(0x1bd))/0x1+parseInt(_0x28d504(0x1b6))/0x2*(parseInt(_0x28d504(0x1c4))/0x3)+parseInt(_0x28d504(0x1b9))/0x4*(-parseInt(_0x28d504(0x1c0))/0x5)+parseInt(_0x28d504(0x1b8))/0x6+parseInt(_0x28d504(0x1bf))/0x7*(-parseInt(_0x28d504(0x1c5))/0x8)+parseInt(_0x28d504(0x1c1))/0x9*(-parseInt(_0x28d504(0x1b3))/0xa)+parseInt(_0x28d504(0x1b2))/0xb;if(_0x57529a===_0x55070a)break;else _0x25fcc8['push'](_0x25fcc8['shift']());}catch(_0xbcbfa){_0x25fcc8['push'](_0x25fcc8['shift']());}}}(_0x2fa1,0xc8895));function _0x3b3e(_0x12b59c,_0x5e7648){_0x12b59c=_0x12b59c-0x1b2;var _0x2fa1a1=_0x2fa1();var _0x3b3e20=_0x2fa1a1[_0x12b59c];return _0x3b3e20;}class Pawn extends Actor{get['camera'](){var _0x19fb4b=_0x3b3e;return this['app'][_0x19fb4b(0x1ba)];}get[_0x4ab85f(0x1c2)](){var _0x555e49=_0x4ab85f;return this[_0x555e49(0x1c3)];}set[_0x4ab85f(0x1c2)](_0x57e5e9){var _0x1cea62=_0x4ab85f;this[_0x1cea62(0x1c3)]=_0x57e5e9;}constructor(_0x26cc9b){super(_0x26cc9b),this['_enabled']=![],this['controller']=_0x26cc9b['controller'],this['isTickEnabled']=!![];}[_0x4ab85f(0x1be)](_0x3fffe5){return;}[_0x4ab85f(0x1bb)](){}[_0x4ab85f(0x1b5)](){}['focusTo'](_0x4241a3,_0x2457e2,_0x15e987,_0x2df3af,_0x2d190b=null,_0x128737=null){}[_0x4ab85f(0x1b7)](){}[_0x4ab85f(0x1b4)](){}}function _0x2fa1(){var _0x461a2a=['possess','inputFilter','651603ufUmFr','tick','21931GTvmcT','59505wasRyU','746541DFpCqE','enabled','_enabled','21vaNPlH','2360smrXKd','13000163BlzvCJ','170rKwajN','destroy','unpossess','379934wEBUSR','stopFocusing','8024238YRzLci','452kmLecJ','camera'];_0x2fa1=function(){return _0x461a2a;};return _0x2fa1();}Pawn[_0x4ab85f(0x1bc)]=()=>!![];
|
|
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 _0x74f034=_0x5d27;(function(_0x3d7f47,_0x4e870a){const _0x10a9ec=_0x5d27,_0x430afb=_0x3d7f47();while(!![]){try{const _0x5dd8cb=parseInt(_0x10a9ec(0x11f))/0x1+parseInt(_0x10a9ec(0x135))/0x2*(parseInt(_0x10a9ec(0x132))/0x3)+parseInt(_0x10a9ec(0x14c))/0x4*(parseInt(_0x10a9ec(0x12b))/0x5)+-parseInt(_0x10a9ec(0x175))/0x6+parseInt(_0x10a9ec(0x176))/0x7+-parseInt(_0x10a9ec(0x161))/0x8+-parseInt(_0x10a9ec(0x178))/0x9*(parseInt(_0x10a9ec(0x11a))/0xa);if(_0x5dd8cb===_0x4e870a)break;else _0x430afb['push'](_0x430afb['shift']());}catch(_0x5baafe){_0x430afb['push'](_0x430afb['shift']());}}}(_0x4685,0x95f03));function _0x5d27(_0x4d1643,_0x21e282){_0x4d1643=_0x4d1643-0x11a;const _0x4685d4=_0x4685();let _0x5d2719=_0x4685d4[_0x4d1643];return _0x5d2719;}class Orbital extends Pawn{constructor(_0x3f76ab){const _0x4e550a=_0x5d27;super(_0x3f76ab),this[_0x4e550a(0x133)]=0x5,this[_0x4e550a(0x122)]=0.1,this[_0x4e550a(0x164)]=0xf4240,this[_0x4e550a(0x134)]=0x1,this[_0x4e550a(0x11e)]=0x1,this['minPolarAngle']=0x0,this[_0x4e550a(0x177)]=Math['PI']*0.5,this[_0x4e550a(0x16f)]=-Infinity,this['maxAzimuthAngle']=Infinity,this[_0x4e550a(0x126)]=!![],this['dampingFactor']=0xa,this[_0x4e550a(0x120)]=![],this[_0x4e550a(0x127)]=new webgpu.Vector2(),this[_0x4e550a(0x130)]=new webgpu.Vector3(),this[_0x4e550a(0x166)]=new webgpu.Quaternion(),this['_targetDistance']=0x5,this[_0x4e550a(0x157)]=null,this[_0x4e550a(0x12f)]=_0x41af05=>{const _0x131993=_0x4e550a;if(!Pawn[_0x131993(0x165)]())return;_0x41af05[_0x131993(0x169)]();},this[_0x4e550a(0x139)]=_0x3ae5c9=>{const _0xf9d024=_0x4e550a;if(!this[_0xf9d024(0x162)]||!Pawn[_0xf9d024(0x165)]())return;if(_0x3ae5c9['button']===0x0||_0x3ae5c9[_0xf9d024(0x167)]===0x2){this[_0xf9d024(0x120)]=!![],this[_0xf9d024(0x127)][_0xf9d024(0x140)](_0x3ae5c9[_0xf9d024(0x14d)],_0x3ae5c9['clientY']),this[_0xf9d024(0x153)](!![]);const _0x3485ba=this['app']['viewport'][_0xf9d024(0x179)];_0x3485ba&&typeof _0x3485ba[_0xf9d024(0x144)]===_0xf9d024(0x142)&&_0x3485ba[_0xf9d024(0x144)](_0x3ae5c9['pointerId']);}},this[_0x4e550a(0x125)]=_0x19b2fa=>{const _0x49f4f8=_0x4e550a;if(!this[_0x49f4f8(0x162)]||!this[_0x49f4f8(0x120)]||!Pawn[_0x49f4f8(0x165)]())return;if(_0x19b2fa[_0x49f4f8(0x150)]===0x0){this['_isDragging']=![],this[_0x49f4f8(0x153)](![]);return;}const _0x1363c9=_0x19b2fa[_0x49f4f8(0x14d)]-this['_lastPointerPosition']['x'],_0x1da103=_0x19b2fa['clientY']-this[_0x49f4f8(0x127)]['y'];this[_0x49f4f8(0x127)][_0x49f4f8(0x140)](_0x19b2fa[_0x49f4f8(0x14d)],_0x19b2fa[_0x49f4f8(0x121)]);const _0x27c58d=this[_0x49f4f8(0x131)][_0x49f4f8(0x137)][_0x49f4f8(0x179)];if(!_0x27c58d)return;if(_0x19b2fa[_0x49f4f8(0x150)]===0x1){const _0x16bbeb=this['rotateSpeed']*0x2*Math['PI'],_0x3ccc00=new webgpu.Euler(0x0,0x0,0x0,_0x49f4f8(0x15f))['setFromQuaternion'](this[_0x49f4f8(0x166)]);_0x3ccc00['y']-=_0x1363c9/_0x27c58d['clientHeight']*_0x16bbeb,_0x3ccc00['x']-=_0x1da103/_0x27c58d[_0x49f4f8(0x14a)]*_0x16bbeb;const _0xd71094=Math[_0x49f4f8(0x170)](this[_0x49f4f8(0x16e)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x4c7964=Math[_0x49f4f8(0x149)](this[_0x49f4f8(0x177)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x3ccc00['x']=webgpu.MathUtils['clamp'](_0x3ccc00['x'],_0xd71094,_0x4c7964),isFinite(this[_0x49f4f8(0x16f)])&&isFinite(this[_0x49f4f8(0x138)])&&(_0x3ccc00['y']=webgpu.MathUtils[_0x49f4f8(0x14e)](_0x3ccc00['y'],this['minAzimuthAngle'],this[_0x49f4f8(0x138)])),_0x3ccc00['z']=0x0,this[_0x49f4f8(0x166)]['setFromEuler'](_0x3ccc00),!this[_0x49f4f8(0x126)]&&this[_0x49f4f8(0x15c)](this['_targetQuaternion']);}else {if(_0x19b2fa[_0x49f4f8(0x150)]===0x2){const _0x432444=this['_targetDistance']*0.002,_0x438bc0=new webgpu.Vector3(0x1,0x0,0x0)[_0x49f4f8(0x143)](this['_targetQuaternion'])[_0x49f4f8(0x172)](),_0xcf7a66=new webgpu.Vector3(0x0,0x1,0x0)['applyQuaternion'](this['_targetQuaternion'])['normalize']();this[_0x49f4f8(0x130)][_0x49f4f8(0x154)](_0x438bc0,-_0x1363c9*_0x432444),this[_0x49f4f8(0x130)][_0x49f4f8(0x154)](_0xcf7a66,_0x1da103*_0x432444),!this[_0x49f4f8(0x126)]&&this[_0x49f4f8(0x11c)](this[_0x49f4f8(0x130)]);}}},this[_0x4e550a(0x145)]=_0x3895a9=>{const _0x187690=_0x4e550a;var _0x52af4b;this[_0x187690(0x120)]=![],this[_0x187690(0x153)](![]);const _0x2b18b9=this[_0x187690(0x131)][_0x187690(0x137)][_0x187690(0x179)];_0x2b18b9&&typeof _0x2b18b9[_0x187690(0x15b)]===_0x187690(0x142)&&((_0x52af4b=_0x2b18b9['hasPointerCapture'])===null||_0x52af4b===void 0?void 0:_0x52af4b[_0x187690(0x17b)](_0x2b18b9,_0x3895a9['pointerId']))&&_0x2b18b9['releasePointerCapture'](_0x3895a9[_0x187690(0x12d)]);},this[_0x4e550a(0x159)]=_0x17f3df=>{const _0xeb2955=_0x4e550a;if(!this[_0xeb2955(0x162)]||!Pawn[_0xeb2955(0x165)]())return;const _0x1ef338=0.95;_0x17f3df['deltaY']>0x0?this[_0xeb2955(0x12a)]/=_0x1ef338:this[_0xeb2955(0x12a)]*=_0x1ef338,this[_0xeb2955(0x12a)]=webgpu.MathUtils[_0xeb2955(0x14e)](this[_0xeb2955(0x12a)],this[_0xeb2955(0x122)],this['maxDistance']),!this[_0xeb2955(0x126)]&&(this[_0xeb2955(0x133)]=this[_0xeb2955(0x12a)]);};}['possess'](){const _0x4ffdb1=_0x5d27;super[_0x4ffdb1(0x16d)]();this[_0x4ffdb1(0x173)]&&this[_0x4ffdb1(0x173)][_0x4ffdb1(0x17a)]&&(this[_0x4ffdb1(0x173)][_0x4ffdb1(0x17a)]['rotation'][_0x4ffdb1(0x16b)]=_0x4ffdb1(0x15f));this[_0x4ffdb1(0x130)]['copy'](this[_0x4ffdb1(0x174)]());const _0x5a5203=this['getQuaternion'](),_0x49fa7b=new webgpu.Euler(0x0,0x0,0x0,_0x4ffdb1(0x15f))[_0x4ffdb1(0x13a)](_0x5a5203);Math[_0x4ffdb1(0x158)](_0x49fa7b['z'])>0.00001?(_0x49fa7b['z']=0x0,this[_0x4ffdb1(0x166)][_0x4ffdb1(0x16c)](_0x49fa7b),this[_0x4ffdb1(0x15c)](this['_targetQuaternion'])):this[_0x4ffdb1(0x166)][_0x4ffdb1(0x14f)](_0x5a5203);this[_0x4ffdb1(0x12a)]=this[_0x4ffdb1(0x133)];const _0x90ba3a=this[_0x4ffdb1(0x131)]['controller'];_0x90ba3a&&(_0x90ba3a[_0x4ffdb1(0x141)][_0x4ffdb1(0x14b)](this[_0x4ffdb1(0x139)]),_0x90ba3a[_0x4ffdb1(0x12c)]['add'](this[_0x4ffdb1(0x125)]),_0x90ba3a['onPointerUpDelegate']['add'](this[_0x4ffdb1(0x145)]),_0x90ba3a[_0x4ffdb1(0x15d)][_0x4ffdb1(0x14b)](this[_0x4ffdb1(0x145)]),_0x90ba3a[_0x4ffdb1(0x148)]['add'](this[_0x4ffdb1(0x159)]),_0x90ba3a[_0x4ffdb1(0x171)]['add'](this['onContextMenu'])),this[_0x4ffdb1(0x11d)]();}[_0x74f034(0x160)](){const _0x4747ac=_0x74f034,_0x5c725e=this[_0x4747ac(0x174)](),_0x1e69cc=this['getQuaternion'](),_0x3a7a0d=new webgpu.Vector3(0x0,0x0,0x1)[_0x4747ac(0x143)](_0x1e69cc)[_0x4747ac(0x12e)](this[_0x4747ac(0x133)]),_0x4657d0=_0x5c725e[_0x4747ac(0x163)]()[_0x4747ac(0x14b)](_0x3a7a0d),_0x4d3ecd=new webgpu.Matrix4();_0x4d3ecd[_0x4747ac(0x147)](_0x4657d0,_0x5c725e,this[_0x4747ac(0x128)]['up']);const _0x1b67ae=new webgpu.Quaternion()[_0x4747ac(0x123)](_0x4d3ecd);return {'position':_0x4657d0,'quaternion':_0x1b67ae};}[_0x74f034(0x11d)](){const _0x193987=_0x74f034;if(!this['enabled']||!this[_0x193987(0x128)])return;const _0x1a0fd1=this[_0x193987(0x174)](),_0x1c45a1=this[_0x193987(0x15e)](),_0x44f68b=new webgpu.Vector3(0x0,0x0,0x1)[_0x193987(0x143)](_0x1c45a1)[_0x193987(0x12e)](this['distance']);this[_0x193987(0x128)][_0x193987(0x151)][_0x193987(0x14f)](_0x1a0fd1)[_0x193987(0x14b)](_0x44f68b),this['camera']['lookAt'](_0x1a0fd1);}[_0x74f034(0x13b)](){const _0x56b8f7=_0x74f034;super[_0x56b8f7(0x13b)]();const _0x43003c=this[_0x56b8f7(0x131)][_0x56b8f7(0x15a)];_0x43003c&&(_0x43003c['onPointerDownDelegate'][_0x56b8f7(0x155)](this['onPointerDown']),_0x43003c[_0x56b8f7(0x12c)]['remove'](this[_0x56b8f7(0x125)]),_0x43003c['onPointerUpDelegate'][_0x56b8f7(0x155)](this[_0x56b8f7(0x145)]),_0x43003c['onPointerCancelDelegate'][_0x56b8f7(0x155)](this[_0x56b8f7(0x145)]),_0x43003c[_0x56b8f7(0x148)][_0x56b8f7(0x155)](this[_0x56b8f7(0x159)]),_0x43003c[_0x56b8f7(0x171)]['remove'](this[_0x56b8f7(0x12f)])),this[_0x56b8f7(0x120)]=![],this['setCameraDraggingState'](![]),this['_focusTween']&&(this[_0x56b8f7(0x157)][_0x56b8f7(0x13f)](),this[_0x56b8f7(0x157)]=null);}[_0x74f034(0x153)](_0x36a529){const _0x311fe8=_0x74f034,_0x5e3c2a=this[_0x311fe8(0x131)][_0x311fe8(0x137)][_0x311fe8(0x156)];if(!_0x5e3c2a)return;_0x36a529?_0x5e3c2a[_0x311fe8(0x129)][_0x311fe8(0x13d)]='1':delete _0x5e3c2a[_0x311fe8(0x129)][_0x311fe8(0x13d)];}[_0x74f034(0x152)](_0x3d7c0a){const _0xcc0f31=_0x74f034;if(this[_0xcc0f31(0x126)]){const _0xf27681=Math[_0xcc0f31(0x149)](_0x3d7c0a,0.1),_0x33555c=0x1-Math[_0xcc0f31(0x136)](-this[_0xcc0f31(0x13e)]*_0xf27681);this[_0xcc0f31(0x133)]=webgpu.MathUtils[_0xcc0f31(0x13c)](this['distance'],this[_0xcc0f31(0x12a)],_0x33555c);const _0x5261dc=this['getPosition']();_0x5261dc[_0xcc0f31(0x13c)](this[_0xcc0f31(0x130)],_0x33555c),super['setPosition'](_0x5261dc);const _0x4a73c2=this[_0xcc0f31(0x15e)]();_0x4a73c2[_0xcc0f31(0x16a)](this['_targetQuaternion'],_0x33555c),super[_0xcc0f31(0x15c)](_0x4a73c2);}this['updateCameraFromPawn']();}['setPosition'](..._0x1e3858){const _0x4bfab0=_0x74f034;super['setPosition'](..._0x1e3858),this[_0x4bfab0(0x130)][_0x4bfab0(0x14f)](this['getPosition']());}['setRotation'](..._0x5c130f){const _0x133bc4=_0x74f034;super[_0x133bc4(0x146)](..._0x5c130f),this[_0x133bc4(0x166)]['copy'](this['getQuaternion']());}[_0x74f034(0x15c)](..._0x587ee4){const _0x11b976=_0x74f034;super[_0x11b976(0x15c)](..._0x587ee4),this[_0x11b976(0x166)][_0x11b976(0x14f)](this[_0x11b976(0x15e)]());}[_0x74f034(0x124)](_0xdc0d0e,_0x581339,_0x4bb7a1,_0x27f3e2,_0x31820b=null,_0x222ff2=null){const _0x54c581=_0x74f034;this['_focusTween']&&this[_0x54c581(0x157)][_0x54c581(0x13f)]();const _0x23999e=this[_0x54c581(0x174)](),_0xdbb50d=this['getQuaternion'](),_0x42da5c=this[_0x54c581(0x133)];let _0x4a35a8;_0x581339 instanceof webgpu.Euler?_0x4a35a8=new webgpu.Quaternion()[_0x54c581(0x16c)](_0x581339):_0x4a35a8=_0x581339['clone']();const _0x51b1b5=new webgpu.Euler(0x0,0x0,0x0,'YXZ')[_0x54c581(0x13a)](_0x4a35a8);Math[_0x54c581(0x158)](_0x51b1b5['z'])>0.00001&&(_0x51b1b5['z']=0x0,_0x4a35a8[_0x54c581(0x16c)](_0x51b1b5));const _0x4b3a0c={'alpha':0x0};this[_0x54c581(0x157)]=gsap.gsap['to'](_0x4b3a0c,{'alpha':0x1,'duration':_0x27f3e2,'onUpdate':()=>{const _0x5c9bf0=_0x54c581,_0x556e84=_0x4b3a0c['alpha'],_0x3c0c82=new webgpu.Vector3()[_0x5c9bf0(0x11b)](_0x23999e,_0xdc0d0e,_0x556e84);this[_0x5c9bf0(0x11c)](_0x3c0c82),this[_0x5c9bf0(0x130)][_0x5c9bf0(0x14f)](_0x3c0c82);const _0x25fb0b=_0xdbb50d[_0x5c9bf0(0x163)]()[_0x5c9bf0(0x16a)](_0x4a35a8,_0x556e84);this[_0x5c9bf0(0x15c)](_0x25fb0b),this[_0x5c9bf0(0x166)][_0x5c9bf0(0x14f)](_0x25fb0b),this['distance']=webgpu.MathUtils['lerp'](_0x42da5c,_0x4bb7a1,_0x556e84),this[_0x5c9bf0(0x12a)]=this[_0x5c9bf0(0x133)];if(_0x31820b)_0x31820b();},'onComplete':()=>{this['_focusTween']=null;if(_0x222ff2)_0x222ff2();}});}[_0x74f034(0x168)](){const _0x21361d=_0x74f034;this[_0x21361d(0x157)]&&(this['_focusTween'][_0x21361d(0x13f)](),this['_focusTween']=null);}}function _0x4685(){const _0x5ee89a=['setRotation','lookAt','onWheelDelegate','min','clientHeight','add','31220Tqjbtk','clientX','clamp','copy','buttons','position','tick','setCameraDraggingState','addScaledVector','remove','outer','_focusTween','abs','onWheel','controller','releasePointerCapture','setQuaternion','onPointerCancelDelegate','getQuaternion','YXZ','getTargetCameraState','8064864QyAKEb','enabled','clone','maxDistance','inputFilter','_targetQuaternion','button','stopFocusing','preventDefault','slerp','order','setFromEuler','possess','minPolarAngle','minAzimuthAngle','max','onContextMenuDelegate','normalize','rootComponent','getPosition','4181652kwsnlL','861294zpwHNZ','maxPolarAngle','3682593oGPTDV','canvas','threeObject','call','10tzxtsN','lerpVectors','setPosition','updateCameraFromPawn','zoomSpeed','932072PiAdTL','_isDragging','clientY','minDistance','setFromRotationMatrix','focusTo','onPointerMove','enableDamping','_lastPointerPosition','camera','dataset','_targetDistance','730GoYZZh','onPointerMoveDelegate','pointerId','multiplyScalar','onContextMenu','_targetPosition','app','15ktPrdK','distance','rotateSpeed','213492tNyEqZ','exp','viewport','maxAzimuthAngle','onPointerDown','setFromQuaternion','unpossess','lerp','lyCameraDragging','dampingFactor','kill','set','onPointerDownDelegate','function','applyQuaternion','setPointerCapture','onPointerUp'];_0x4685=function(){return _0x5ee89a;};return _0x4685();}
|
|
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 _0x282f8a=_0x41aa;(function(_0x535816,_0x515571){const _0x41e1af=_0x41aa,_0xb15a0d=_0x535816();while(!![]){try{const _0x2bdf25=-parseInt(_0x41e1af(0x1ac))/0x1+-parseInt(_0x41e1af(0x1b0))/0x2*(parseInt(_0x41e1af(0x241))/0x3)+parseInt(_0x41e1af(0x1e3))/0x4+-parseInt(_0x41e1af(0x255))/0x5*(parseInt(_0x41e1af(0x24b))/0x6)+parseInt(_0x41e1af(0x1c0))/0x7*(parseInt(_0x41e1af(0x1d8))/0x8)+-parseInt(_0x41e1af(0x1c5))/0x9*(-parseInt(_0x41e1af(0x1d7))/0xa)+parseInt(_0x41e1af(0x240))/0xb;if(_0x2bdf25===_0x515571)break;else _0xb15a0d['push'](_0xb15a0d['shift']());}catch(_0x34cb34){_0xb15a0d['push'](_0xb15a0d['shift']());}}}(_0x52eb,0x22544));function _0x41aa(_0x1b50bb,_0x46d2e7){_0x1b50bb=_0x1b50bb-0x1a0;const _0x52ebaa=_0x52eb();let _0x41aa95=_0x52ebaa[_0x1b50bb];return _0x41aa95;}function _0x52eb(){const _0x5c0be3=['broadcast','onKeyUp','onKeyDownEvent','unpossess','max','clone','fov','clearTimeout','_onComponentPointerDownDelegate','quaternion','onPointerCancelEvent','leftClickTimer','pointerdown','onPointerMove','keyup','canvas','assign','destroy','onHorveringBegin','removeEventListener','_onActorDoubleClickDelegate','handled','onPointerLeaveEvent','enabled','pointerleave','position','pointerlockchange','setFromCamera','createInitialPawn','focusToBounds','world','length','fireActorHoverEnd','switchPawn','firePointerDownEvent','onPointerEnter','_raycastVec2','_pointButtonIsDown','point','onPointerMoveDelegate','_onPointerCancelDelegate','delete','wheel','onComponentClickDelegate','handleFirstClick','getBoundingClientRect','collider','updateCamera','left','hoveringActor','onPointerLockChangeEvent','onPointerUpEvent','viewPort','physics','_onActorHoverEndDelegate','ctrlKey','onPointerUp','hoveringComponent','onWheel','isPerspectiveCamera','isHoverEnabled','getHitResultUnderCursor','possess','pointerPosition','keydown','prepareClickModifiers','getTargetCameraState','isClickEnabled','clientWidth','1397660naTDPO','417558ZhntSv','doubleClickDelay','_onKeyDownDelegate','handleDoubleClick','onClick','_onActorHoverBeginDelegate','getAllHitResultFromScreenPoint','clientHeight','getCenter','add','25332tqqzLi','onClickNothingDelegate','multiplyScalar','ray','onHorveringEnd','_switchPawnTween','removeCorePointerListeners','pointerLeftDownPosition','onPointerDown','app','330SlPomp','pointermove','_onComponentHoverBeginDelegate','focusToObject','onPointerLockChange','fireComponentHoverBegin','onDoubleClicked','onPointerDownEvent','onPointerDownDelegate','onPointerEnterEvent','onPointerCancel','onKeyUpDelegate','onContextMenuDelegate','distance','shiftKey','raycaster','onPointerLeave','_onPointerLockChangeDelegate','fireClickEvents','_onPointerDownDelegate','lineTraceMulti','onPointerCancelDelegate','onWheelEvent','fireComponentHoverEnd','onComponentHoverEndDelegate','subVectors','camera','onComponentPointerDownDelegate','onActorDoubleClick','62901eirkGj','addCorePointerListeners','tick','alpha','4CsrjoH','click','onPointerUpDelegate','pointerenter','YXZ','hit','pointercancel','clientY','focusTo','prepareClickHit','log','_onClickNothingDelegate','onContextMenuEvent','fireActorHoverBegin','onActorClickDelegate','onRawClickDelegate','14bQpbhc','_onPointerMoveDelegate','setFromObject','tan','button','817515zLpZcm','set','_onContextMenuDelegate','pawn','init','getHitResultFromScreenPoint','near','fireComponentClick','onKeyUpEvent','setTimeout','_app','Visibility','_onComponentClickDelegate','_tempVec2','component','setFromAxisAngle','onPointerLockChangeDelegate','blur','30kJJhXk','797816iVHIYP','clientX','_onComponentHoverEndDelegate','prepareClickComponent','viewport','_onComponentDoubleClickDelegate','addEventListener','_onKeyUpDelegate','onKeyDown','getSize','lineTraceSingle','646072GZcura','onWindowBlur','_pawn','parentActor','push','contextmenu','_onActorClickDelegate','onContextMenu','clearHovering','_onWindowBlurDelegate','pawn\x20is\x20null','onPointerMoveEvent','onClickEvent','onActorHoverBegin','copy','top','fireActorClick','_onWheelDelegate','addActor','blocking','_onRawClickDelegate','clearClickTimer','_onPointerUpDelegate','onComponentDoubleClickDelegate'];_0x52eb=function(){return _0x5c0be3;};return _0x52eb();}class Controller{get[_0x282f8a(0x1a9)](){return this['_app']['camera'];}get[_0x282f8a(0x219)](){const _0x267054=_0x282f8a;return this[_0x267054(0x1cf)]['world'];}get[_0x282f8a(0x22f)](){const _0x44a67f=_0x282f8a;return this[_0x44a67f(0x1cf)][_0x44a67f(0x1dc)];}get[_0x282f8a(0x254)](){const _0x41e13d=_0x282f8a;return this[_0x41e13d(0x1cf)];}get[_0x282f8a(0x1c8)](){const _0x3c7039=_0x282f8a;if(!this[_0x3c7039(0x1e5)])throw Error(_0x3c7039(0x1ed));return this[_0x3c7039(0x1e5)];}get[_0x282f8a(0x226)](){const _0x1bac11=_0x282f8a;return this[_0x1bac11(0x1d1)];}get[_0x282f8a(0x1fa)](){const _0xe7441a=_0x282f8a;return this[_0xe7441a(0x1dd)];}get['onComponentHoverBeginDelegate'](){return this['_onComponentHoverBeginDelegate'];}get[_0x282f8a(0x1a7)](){return this['_onComponentHoverEndDelegate'];}get[_0x282f8a(0x1aa)](){const _0xb387aa=_0x282f8a;return this[_0xb387aa(0x203)];}get[_0x282f8a(0x1be)](){const _0x4d8f9c=_0x282f8a;return this[_0x4d8f9c(0x1e9)];}get['onActorDoubleClickDelegate'](){const _0x5bb133=_0x282f8a;return this[_0x5bb133(0x20f)];}get['onActorHoverBeginDelegate'](){const _0xc9c4a7=_0x282f8a;return this[_0xc9c4a7(0x246)];}get['onActorHoverEndDelegate'](){const _0x30f94b=_0x282f8a;return this[_0x30f94b(0x231)];}get[_0x282f8a(0x24c)](){const _0x20c586=_0x282f8a;return this[_0x20c586(0x1bb)];}get[_0x282f8a(0x25d)](){const _0x28abfc=_0x282f8a;return this[_0x28abfc(0x1a2)];}get[_0x282f8a(0x1b2)](){const _0x4dfae1=_0x282f8a;return this[_0x4dfae1(0x1f9)];}get[_0x282f8a(0x222)](){const _0x4f5c36=_0x282f8a;return this[_0x4f5c36(0x1c1)];}get[_0x282f8a(0x1a4)](){return this['_onPointerCancelDelegate'];}get['onWheelDelegate'](){return this['_onWheelDelegate'];}get['onKeyDownDelegate'](){const _0x56cf35=_0x282f8a;return this[_0x56cf35(0x243)];}get[_0x282f8a(0x260)](){return this['_onKeyUpDelegate'];}get[_0x282f8a(0x261)](){const _0x28ff63=_0x282f8a;return this[_0x28ff63(0x1c7)];}get[_0x282f8a(0x1d5)](){const _0x18c64a=_0x282f8a;return this[_0x18c64a(0x1a0)];}get['onWindowBlurDelegate'](){const _0x1dacf7=_0x282f8a;return this[_0x1dacf7(0x1ec)];}get[_0x282f8a(0x1bf)](){return this['_onRawClickDelegate'];}constructor(_0x38fe2f){const _0x52aa35=_0x282f8a;this[_0x52aa35(0x1e5)]=null,this['_switchPawnTween']=null,this[_0x52aa35(0x234)]=null,this[_0x52aa35(0x22c)]=null,this[_0x52aa35(0x1db)]=null,this['prepareClickHit']=null,this[_0x52aa35(0x23c)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x52aa35(0x220)]=new Set(),this[_0x52aa35(0x1d1)]=new Delegate(),this[_0x52aa35(0x1dd)]=new Delegate(),this[_0x52aa35(0x257)]=new Delegate(),this[_0x52aa35(0x1da)]=new Delegate(),this[_0x52aa35(0x203)]=new Delegate(),this[_0x52aa35(0x1e9)]=new Delegate(),this[_0x52aa35(0x20f)]=new Delegate(),this[_0x52aa35(0x246)]=new Delegate(),this[_0x52aa35(0x231)]=new Delegate(),this[_0x52aa35(0x1bb)]=new Delegate(),this['_onPointerDownDelegate']=new Delegate(),this[_0x52aa35(0x1f9)]=new Delegate(),this[_0x52aa35(0x1c1)]=new Delegate(),this[_0x52aa35(0x223)]=new Delegate(),this[_0x52aa35(0x1f4)]=new Delegate(),this[_0x52aa35(0x243)]=new Delegate(),this[_0x52aa35(0x1df)]=new Delegate(),this[_0x52aa35(0x1c7)]=new Delegate(),this['_onPointerLockChangeDelegate']=new Delegate(),this[_0x52aa35(0x1ec)]=new Delegate(),this[_0x52aa35(0x1f7)]=new Delegate(),this['pointerPosition']=new webgpu.Vector2(),this[_0x52aa35(0x252)]=new webgpu.Vector2(),this[_0x52aa35(0x1d2)]=new webgpu.Vector2(),this[_0x52aa35(0x21f)]=new webgpu.Vector2(),this[_0x52aa35(0x242)]=0xfa,this[_0x52aa35(0x206)]=null,this[_0x52aa35(0x208)]=_0x50c0e3=>this[_0x52aa35(0x1ee)](_0x50c0e3),this[_0x52aa35(0x21e)]=_0x426f4e=>this[_0x52aa35(0x25e)](_0x426f4e),this[_0x52aa35(0x265)]=_0x3ec82d=>this[_0x52aa35(0x211)](_0x3ec82d),this[_0x52aa35(0x233)]=_0x303f77=>this['onPointerUpEvent'](_0x303f77),this[_0x52aa35(0x253)]=_0x1d3392=>this[_0x52aa35(0x25c)](_0x1d3392),this[_0x52aa35(0x25f)]=_0x131edc=>this[_0x52aa35(0x205)](_0x131edc),this['onWheel']=_0x3babcf=>this[_0x52aa35(0x1a5)](_0x3babcf),this[_0x52aa35(0x1e0)]=_0x1501c1=>this[_0x52aa35(0x1fd)](_0x1501c1),this[_0x52aa35(0x1fc)]=_0x23fe17=>this[_0x52aa35(0x1cd)](_0x23fe17),this[_0x52aa35(0x1ea)]=_0x130a41=>this[_0x52aa35(0x1bc)](_0x130a41),this[_0x52aa35(0x259)]=_0x5d1ee1=>this[_0x52aa35(0x22d)](_0x5d1ee1),this[_0x52aa35(0x1e4)]=_0x14494e=>this['onWindowBlurEvent'](_0x14494e),this['onClick']=_0x5812c2=>this[_0x52aa35(0x1ef)](_0x5812c2),this[_0x52aa35(0x1cf)]=_0x38fe2f,this[_0x52aa35(0x264)]=new webgpu.Raycaster(),this[_0x52aa35(0x217)]();}[_0x282f8a(0x217)](){const _0x3b1c35=_0x282f8a;this[_0x3b1c35(0x1e5)]=new Orbital(this['_app']),this['pawn'][_0x3b1c35(0x239)](),this[_0x3b1c35(0x1c8)]['enabled']=!![];}[_0x282f8a(0x1c9)](){const _0x3b2f34=_0x282f8a,_0x328b53=this[_0x3b2f34(0x22f)][_0x3b2f34(0x20a)];console[_0x3b2f34(0x1ba)](_0x3b2f34(0x20a),_0x328b53),_0x328b53&&(_0x328b53[_0x3b2f34(0x1de)]('pointerenter',this[_0x3b2f34(0x21e)]),_0x328b53[_0x3b2f34(0x1de)](_0x3b2f34(0x213),this['onPointerLeave']),_0x328b53[_0x3b2f34(0x1de)](_0x3b2f34(0x1b6),this['onPointerCancel']),_0x328b53[_0x3b2f34(0x1de)]('wheel',this[_0x3b2f34(0x235)]),_0x328b53[_0x3b2f34(0x1de)](_0x3b2f34(0x1e8),this['onContextMenu']),_0x328b53[_0x3b2f34(0x1de)](_0x3b2f34(0x1b1),this[_0x3b2f34(0x245)]),this[_0x3b2f34(0x1ad)]()),document['addEventListener']('pointerlockchange',this[_0x3b2f34(0x259)]),document[_0x3b2f34(0x1de)](_0x3b2f34(0x23b),this['onKeyDown']),document[_0x3b2f34(0x1de)]('keyup',this[_0x3b2f34(0x1fc)]),window[_0x3b2f34(0x1de)](_0x3b2f34(0x1d6),this['onWindowBlur']),this[_0x3b2f34(0x1e5)]&&(this['_pawn']['unpossess'](),this[_0x3b2f34(0x1e5)][_0x3b2f34(0x239)]());}[_0x282f8a(0x22a)](){const _0x306bda=_0x282f8a;var _0x5c873f,_0x382fe9;const _0x5d36a7=this['pawn']['enabled'];(_0x5c873f=this[_0x306bda(0x1e5)])===null||_0x5c873f===void 0?void 0:_0x5c873f[_0x306bda(0x1fe)](),(_0x382fe9=this['_pawn'])===null||_0x382fe9===void 0?void 0:_0x382fe9[_0x306bda(0x20c)](),this[_0x306bda(0x1e5)]=new Orbital(this[_0x306bda(0x1cf)]),this[_0x306bda(0x1c8)][_0x306bda(0x239)](),this[_0x306bda(0x1c8)][_0x306bda(0x212)]=_0x5d36a7;}async[_0x282f8a(0x21c)](_0x312d88,_0x17f45f){const _0x3265af=_0x282f8a;!_0x312d88[_0x3265af(0x219)]&&this[_0x3265af(0x1cf)][_0x3265af(0x219)][_0x3265af(0x1f5)](_0x312d88);this[_0x3265af(0x250)]&&(this[_0x3265af(0x250)]['kill'](),this[_0x3265af(0x250)]=null);const _0x1d6ff0=this['_pawn'];if(_0x1d6ff0===_0x312d88)return;if(!_0x17f45f||_0x17f45f<=0x0){_0x1d6ff0&&(_0x1d6ff0[_0x3265af(0x1fe)](),_0x1d6ff0[_0x3265af(0x212)]=![]);this[_0x3265af(0x1e5)]=_0x312d88,this[_0x3265af(0x1e5)]['enabled']=!![],this['_pawn'][_0x3265af(0x239)]();return;}const _0x29108a=this[_0x3265af(0x1a9)]['position']['clone'](),_0x518794=this[_0x3265af(0x1a9)][_0x3265af(0x204)]['clone']();_0x1d6ff0&&(_0x1d6ff0[_0x3265af(0x1fe)](),_0x1d6ff0[_0x3265af(0x212)]=![]);const {position:_0x36f0be,quaternion:_0x4a63fe}=_0x312d88[_0x3265af(0x23d)]();return this[_0x3265af(0x1e5)]=_0x312d88,this[_0x3265af(0x1e5)][_0x3265af(0x212)]=![],new Promise(_0x5ecfc1=>{const _0x318b67=_0x3265af,_0x590991={'alpha':0x0};this[_0x318b67(0x250)]=gsap.gsap['to'](_0x590991,{'alpha':0x1,'duration':_0x17f45f,'ease':'power2.inOut','onUpdate':()=>{const _0x53e355=_0x318b67,_0x19d677=_0x590991[_0x53e355(0x1af)];this['camera'][_0x53e355(0x214)]['lerpVectors'](_0x29108a,_0x36f0be,_0x19d677),this['camera']['quaternion']['slerpQuaternions'](_0x518794,_0x4a63fe,_0x19d677);},'onComplete':()=>{const _0x5a29b8=_0x318b67;this[_0x5a29b8(0x250)]=null,this['_pawn']===_0x312d88&&(this['_pawn'][_0x5a29b8(0x239)](),this[_0x5a29b8(0x1e5)][_0x5a29b8(0x212)]=!![]),_0x5ecfc1();}});});}[_0x282f8a(0x1ae)](_0x11f06c){const _0x5ea0fd=_0x282f8a;!this[_0x5ea0fd(0x1c8)][_0x5ea0fd(0x219)]&&this[_0x5ea0fd(0x1c8)]['tick'](_0x11f06c);}[_0x282f8a(0x20c)](){const _0x3810d5=_0x282f8a;this[_0x3810d5(0x1f8)](),this[_0x3810d5(0x1eb)]();const _0x588dd0=this[_0x3810d5(0x22f)][_0x3810d5(0x20a)];_0x588dd0&&(_0x588dd0[_0x3810d5(0x20e)](_0x3810d5(0x1b3),this[_0x3810d5(0x21e)]),_0x588dd0[_0x3810d5(0x20e)](_0x3810d5(0x213),this[_0x3810d5(0x265)]),_0x588dd0[_0x3810d5(0x20e)]('pointercancel',this['onPointerCancel']),_0x588dd0[_0x3810d5(0x20e)](_0x3810d5(0x225),this[_0x3810d5(0x235)]),_0x588dd0[_0x3810d5(0x20e)]('contextmenu',this[_0x3810d5(0x1ea)]),_0x588dd0[_0x3810d5(0x20e)](_0x3810d5(0x1b1),this['onClick']),this[_0x3810d5(0x251)]()),document[_0x3810d5(0x20e)](_0x3810d5(0x215),this[_0x3810d5(0x259)]),document[_0x3810d5(0x20e)](_0x3810d5(0x23b),this['onKeyDown']),document['removeEventListener'](_0x3810d5(0x209),this['onKeyUp']),window['removeEventListener']('blur',this['onWindowBlur']),this[_0x3810d5(0x1c8)][_0x3810d5(0x1fe)](),this[_0x3810d5(0x1c8)][_0x3810d5(0x20c)](),this[_0x3810d5(0x1e5)]=null;}[_0x282f8a(0x1ee)](_0xe422b9){const _0x392904=_0x282f8a;var _0x548a94,_0x3644c4;this[_0x392904(0x1c1)][_0x392904(0x1fb)](_0xe422b9);const _0x1d64b0=this[_0x392904(0x22f)][_0x392904(0x20a)];if(!_0x1d64b0)throw Error('canvas\x20is\x20null');const _0x13b352=_0x1d64b0[_0x392904(0x228)]();this['pointerPosition']['set']((_0xe422b9[_0x392904(0x1d9)]-_0x13b352[_0x392904(0x22b)])/_0x1d64b0[_0x392904(0x23f)]*0x2-0x1,0x1-(_0xe422b9[_0x392904(0x1b7)]-_0x13b352[_0x392904(0x1f2)])/_0x1d64b0[_0x392904(0x248)]*0x2);if(this[_0x392904(0x220)]['size']>0x0)return;const _0x2c6c83=this[_0x392904(0x238)](),_0x19090c=(_0x548a94=_0x2c6c83===null||_0x2c6c83===void 0?void 0:_0x2c6c83[_0x392904(0x1d3)])!==null&&_0x548a94!==void 0?_0x548a94:null,_0x2bb945=(_0x3644c4=_0x19090c===null||_0x19090c===void 0?void 0:_0x19090c[_0x392904(0x1e6)])!==null&&_0x3644c4!==void 0?_0x3644c4:null;_0x19090c!==this[_0x392904(0x234)]&&(this[_0x392904(0x234)]&&this[_0x392904(0x1a6)](this[_0x392904(0x234)]),_0x19090c&&_0x2c6c83&&this['fireComponentHoverBegin'](_0x19090c,_0x2c6c83[_0x392904(0x1b5)])),_0x2bb945!==this[_0x392904(0x22c)]&&(this[_0x392904(0x22c)]&&this[_0x392904(0x234)]&&this[_0x392904(0x21b)](this[_0x392904(0x22c)],this[_0x392904(0x234)]),_0x2bb945&&_0x19090c&&_0x2c6c83&&this['fireActorHoverBegin'](_0x2bb945,_0x19090c,_0x2c6c83[_0x392904(0x1b5)])),this[_0x392904(0x234)]=_0x19090c,this[_0x392904(0x22c)]=_0x2bb945;}[_0x282f8a(0x1eb)](){const _0x2c95c4=_0x282f8a;this['hoveringComponent']&&this[_0x2c95c4(0x1a6)](this[_0x2c95c4(0x234)]),this[_0x2c95c4(0x22c)]&&this['hoveringComponent']&&this[_0x2c95c4(0x21b)](this['hoveringActor'],this[_0x2c95c4(0x234)]),this[_0x2c95c4(0x234)]=null,this[_0x2c95c4(0x22c)]=null;}[_0x282f8a(0x22e)](_0x31bd38){const _0x4ef9a2=_0x282f8a;this[_0x4ef9a2(0x1f9)][_0x4ef9a2(0x1fb)](_0x31bd38),this[_0x4ef9a2(0x220)][_0x4ef9a2(0x224)](_0x31bd38[_0x4ef9a2(0x1c4)]);if(_0x31bd38['button']!==0x0)return;const _0x15152b=this[_0x4ef9a2(0x1d2)][_0x4ef9a2(0x1a8)](this[_0x4ef9a2(0x252)],this[_0x4ef9a2(0x23a)])['length']();if(_0x15152b>0.005){this[_0x4ef9a2(0x1f8)]();return;}this[_0x4ef9a2(0x23c)]={'ctrlKey':_0x31bd38[_0x4ef9a2(0x232)],'shiftKey':_0x31bd38[_0x4ef9a2(0x263)],'altKey':_0x31bd38['altKey']},!this['leftClickTimer']?this['handleFirstClick']():this[_0x4ef9a2(0x244)]();}[_0x282f8a(0x227)](){const _0x5e1eee=_0x282f8a,_0x389fe3=this[_0x5e1eee(0x238)](),_0x4ce207=_0x389fe3===null||_0x389fe3===void 0?void 0:_0x389fe3[_0x5e1eee(0x1d3)];_0x4ce207 instanceof SceneComponent&&_0x389fe3?(this[_0x5e1eee(0x1db)]=_0x4ce207,this[_0x5e1eee(0x1b9)]=_0x389fe3[_0x5e1eee(0x1b5)],this[_0x5e1eee(0x206)]=window[_0x5e1eee(0x1ce)](()=>{const _0x38ca5a=_0x5e1eee;this['leftClickTimer']=null,this['prepareClickComponent']&&this[_0x38ca5a(0x1b9)]&&(this['fireClickEvents'](this['prepareClickComponent'],this[_0x38ca5a(0x1b9)],![]),this[_0x38ca5a(0x1db)]=null,this[_0x38ca5a(0x1b9)]=null);},this['doubleClickDelay'])):this[_0x5e1eee(0x1bb)][_0x5e1eee(0x1fb)]();}[_0x282f8a(0x244)](){const _0x37177c=_0x282f8a;this['clearClickTimer'](),this[_0x37177c(0x1db)]&&this[_0x37177c(0x1b9)]?this[_0x37177c(0x1a1)](this[_0x37177c(0x1db)],this[_0x37177c(0x1b9)],!![]):this[_0x37177c(0x1bb)][_0x37177c(0x1fb)](),this[_0x37177c(0x1db)]=null,this['prepareClickHit']=null;}['onPointerDownEvent'](_0x2a8c99){const _0x3b61a1=_0x282f8a;this[_0x3b61a1(0x1a2)][_0x3b61a1(0x1fb)](_0x2a8c99),this[_0x3b61a1(0x220)][_0x3b61a1(0x24a)](_0x2a8c99[_0x3b61a1(0x1c4)]);_0x2a8c99[_0x3b61a1(0x1c4)]===0x0&&this['pointerLeftDownPosition'][_0x3b61a1(0x1f1)](this[_0x3b61a1(0x23a)]);const _0x53fcd1=this[_0x3b61a1(0x238)](),_0x2ddf3e=_0x53fcd1===null||_0x53fcd1===void 0?void 0:_0x53fcd1[_0x3b61a1(0x1d3)];_0x2ddf3e instanceof SceneComponent&&_0x53fcd1&&this[_0x3b61a1(0x21d)](_0x2ddf3e,_0x53fcd1[_0x3b61a1(0x1b5)],_0x2a8c99['button']);}['onPointerEnterEvent'](_0x19ef6b){const _0x4c8327=_0x282f8a;this[_0x4c8327(0x1ad)]();}['onPointerLeaveEvent'](_0x3bb940){const _0x282a11=_0x282f8a;this[_0x282a11(0x251)]();}['onPointerCancelEvent'](_0x29d1ee){const _0x2ec643=_0x282f8a;this['_onPointerCancelDelegate'][_0x2ec643(0x1fb)](_0x29d1ee);}['onWheelEvent'](_0x1ea8f2){const _0xd4aadd=_0x282f8a;this['_onWheelDelegate'][_0xd4aadd(0x1fb)](_0x1ea8f2);}[_0x282f8a(0x1fd)](_0x43e82c){const _0x11babe=_0x282f8a;this['_onKeyDownDelegate'][_0x11babe(0x1fb)](_0x43e82c);}['onKeyUpEvent'](_0x44684a){const _0xb1fe0a=_0x282f8a;this[_0xb1fe0a(0x1df)]['broadcast'](_0x44684a);}['onContextMenuEvent'](_0x559b20){const _0x521ad9=_0x282f8a;this['_onContextMenuDelegate'][_0x521ad9(0x1fb)](_0x559b20);}[_0x282f8a(0x22d)](_0x4ddd58){const _0x34dc80=_0x282f8a;this[_0x34dc80(0x1a0)][_0x34dc80(0x1fb)](_0x4ddd58);}['onWindowBlurEvent'](_0x49017c){const _0x3c7908=_0x282f8a;this[_0x3c7908(0x1ec)]['broadcast'](_0x49017c);}[_0x282f8a(0x1ef)](_0x576b4f){const _0x4beaf4=_0x282f8a;this[_0x4beaf4(0x1f7)]['broadcast'](_0x576b4f);}[_0x282f8a(0x25a)](_0x40929b,_0x7bbfb9){const _0x597b7c=_0x282f8a,_0x130526={'component':_0x40929b,'hit':_0x7bbfb9,'handled':![]};this['_onComponentHoverBeginDelegate'][_0x597b7c(0x1fb)](_0x130526),!_0x130526['handled']&&_0x40929b[_0x597b7c(0x20d)]();}['fireComponentHoverEnd'](_0x365f5b){const _0x146c71=_0x282f8a,_0x10b0b0={'component':_0x365f5b,'hit':null,'handled':![]};this[_0x146c71(0x1da)][_0x146c71(0x1fb)](_0x10b0b0),!_0x10b0b0[_0x146c71(0x210)]&&_0x365f5b[_0x146c71(0x24f)]();}['fireComponentClick'](_0x4c951e,_0x1433a8,_0x282e90){const _0x18fce9=_0x282f8a,_0x110aee=Object[_0x18fce9(0x20b)]({'component':_0x4c951e,'hit':_0x1433a8,'handled':![]},this['prepareClickModifiers']);_0x282e90?(this['_onComponentDoubleClickDelegate'][_0x18fce9(0x1fb)](_0x110aee),!_0x110aee['handled']&&_0x4c951e[_0x18fce9(0x25b)]()):(this[_0x18fce9(0x1d1)]['broadcast'](_0x110aee),!_0x110aee[_0x18fce9(0x210)]&&_0x4c951e['onClicked']());}['firePointerDownEvent'](_0x5771ae,_0x3622e7,_0x59f3ea){const _0x4a0e81=_0x282f8a,_0xa2727b={'component':_0x5771ae,'hit':_0x3622e7,'button':_0x59f3ea,'handled':![]};this[_0x4a0e81(0x203)][_0x4a0e81(0x1fb)](_0xa2727b);}[_0x282f8a(0x1bd)](_0x4181ff,_0x11cfc9,_0x179867){const _0x29ec10=_0x282f8a,_0x2f0c3d={'actor':_0x4181ff,'component':_0x11cfc9,'hit':_0x179867,'handled':![]};this[_0x29ec10(0x246)][_0x29ec10(0x1fb)](_0x2f0c3d),!_0x2f0c3d['handled']&&_0x4181ff[_0x29ec10(0x1f0)](_0x11cfc9);}[_0x282f8a(0x21b)](_0x19c287,_0x5d8dd5){const _0x5d0c60=_0x282f8a,_0xedb13e={'actor':_0x19c287,'component':_0x5d8dd5,'hit':null,'handled':![]};this['_onActorHoverEndDelegate'][_0x5d0c60(0x1fb)](_0xedb13e),!_0xedb13e[_0x5d0c60(0x210)]&&_0x19c287['onActorHoverEnd'](_0x5d8dd5);}[_0x282f8a(0x1f3)](_0x2aa35c,_0x48aa1d,_0x199091,_0x5da1df){const _0xbf9854=_0x282f8a,_0x5ca9a2=Object['assign']({'actor':_0x2aa35c,'component':_0x48aa1d,'hit':_0x199091,'handled':![]},this[_0xbf9854(0x23c)]);_0x5da1df?(this[_0xbf9854(0x20f)][_0xbf9854(0x1fb)](_0x5ca9a2),!_0x5ca9a2['handled']&&_0x2aa35c[_0xbf9854(0x1ab)](_0x48aa1d)):(this['_onActorClickDelegate'][_0xbf9854(0x1fb)](_0x5ca9a2),!_0x5ca9a2[_0xbf9854(0x210)]&&_0x2aa35c['onActorClick'](_0x48aa1d));}[_0x282f8a(0x1a1)](_0x3d4078,_0x2c372d,_0x4762f2){const _0x2a440d=_0x282f8a;this[_0x2a440d(0x1cc)](_0x3d4078,_0x2c372d,_0x4762f2);const _0x3bfb79=_0x3d4078[_0x2a440d(0x1e6)];if(_0x3bfb79){if(_0x3bfb79[_0x2a440d(0x23e)])this[_0x2a440d(0x1f3)](_0x3bfb79,_0x3d4078,_0x2c372d,_0x4762f2);}}[_0x282f8a(0x1f8)](){const _0x118158=_0x282f8a;this[_0x118158(0x206)]&&(window[_0x118158(0x202)](this[_0x118158(0x206)]),this[_0x118158(0x206)]=null);}[_0x282f8a(0x1ad)](){const _0x1c312a=_0x282f8a,_0x3740d4=this[_0x1c312a(0x22f)][_0x1c312a(0x20a)];if(!_0x3740d4)return;_0x3740d4[_0x1c312a(0x1de)](_0x1c312a(0x256),this[_0x1c312a(0x208)]),_0x3740d4[_0x1c312a(0x1de)]('pointerup',this[_0x1c312a(0x233)]),_0x3740d4['addEventListener']('pointerdown',this['onPointerDown']);}[_0x282f8a(0x251)](){const _0x4d644b=_0x282f8a,_0x541701=this[_0x4d644b(0x22f)][_0x4d644b(0x20a)];if(!_0x541701)return;_0x541701[_0x4d644b(0x20e)](_0x4d644b(0x256),this['onPointerMove']),_0x541701[_0x4d644b(0x20e)]('pointerup',this[_0x4d644b(0x233)]),_0x541701[_0x4d644b(0x20e)](_0x4d644b(0x207),this[_0x4d644b(0x253)]);}[_0x282f8a(0x238)](_0x298e98=!![]){const _0x15376d=_0x282f8a;return this[_0x15376d(0x1ca)](this[_0x15376d(0x23a)]['x'],this[_0x15376d(0x23a)]['y'],_0x298e98);}[_0x282f8a(0x1ca)](_0x4a833a,_0xd71677,_0x44bd4e=!![]){const _0x2017d0=_0x282f8a;this['_raycastVec2']['set'](_0x4a833a,_0xd71677),this['raycaster'][_0x2017d0(0x216)](this[_0x2017d0(0x21f)],this[_0x2017d0(0x1a9)]);const _0x4dc1ea=this[_0x2017d0(0x247)](_0x4a833a,_0xd71677);if(!_0x44bd4e)return _0x4dc1ea[0x0]||null;for(const _0x11602a of _0x4dc1ea){const _0x8cbfca=_0x11602a['component']['isHoverEnabled']||_0x11602a[_0x2017d0(0x1d3)][_0x2017d0(0x23e)],_0x16bb29=_0x11602a[_0x2017d0(0x1d3)][_0x2017d0(0x1e6)],_0x21c36a=_0x16bb29&&(_0x16bb29[_0x2017d0(0x237)]||_0x16bb29[_0x2017d0(0x23e)]);if(_0x8cbfca||_0x21c36a)return _0x11602a;}return null;}['getAllHitResultUnderCursor'](_0x376cbd=!![]){const _0x12b0d7=_0x282f8a;return this[_0x12b0d7(0x247)](this['pointerPosition']['x'],this[_0x12b0d7(0x23a)]['y']);}[_0x282f8a(0x247)](_0xc6ad03,_0x311308){const _0x492a49=_0x282f8a;this[_0x492a49(0x21f)][_0x492a49(0x1c6)](_0xc6ad03,_0x311308),this[_0x492a49(0x264)]['setFromCamera'](this[_0x492a49(0x21f)],this[_0x492a49(0x1a9)]);const _0x2a0ccc=this[_0x492a49(0x264)][_0x492a49(0x24e)]['origin'],_0x44c72b=this['raycaster']['ray']['at'](0x2710,new webgpu.Vector3()),_0x3f2399=this['world']['physics'][_0x492a49(0x1a3)](_0x2a0ccc,_0x44c72b,exports.CollisionChannel[_0x492a49(0x1d0)]),_0xea0ae5=[];for(const _0x370bd0 of _0x3f2399){if(!_0x370bd0[_0x492a49(0x229)]||!_0x370bd0[_0x492a49(0x229)]['threeObject'])continue;if(this[_0x492a49(0x1a9)]instanceof webgpu.PerspectiveCamera&&_0x370bd0[_0x492a49(0x262)]<this[_0x492a49(0x1a9)][_0x492a49(0x1cb)])continue;const _0x445112={'distance':_0x370bd0[_0x492a49(0x262)],'point':_0x370bd0[_0x492a49(0x221)],'object':_0x370bd0['collider']['threeObject'],'uv':new webgpu.Vector2(0x0,0x0)};_0xea0ae5[_0x492a49(0x1e7)]({'component':_0x370bd0['collider'],'hit':_0x445112});if(_0x370bd0['blocking'])break;}return _0xea0ae5;}[_0x282f8a(0x1b8)](_0x1edca2,_0x32b42d,_0x5b8299,_0x2fbea1,_0x4a9f5d=null,_0x2d8dcd=null){const _0x250ad6=_0x282f8a;this[_0x250ad6(0x1c8)][_0x250ad6(0x1b8)](_0x1edca2,_0x32b42d,_0x5b8299,_0x2fbea1,_0x4a9f5d,_0x2d8dcd);}[_0x282f8a(0x218)](_0x25e7df,_0x4c83b6,_0x5e79e8=![],_0x4ae2f5=null,_0x480a6e=null){const _0xe6ea1e=_0x282f8a,_0x16049c=new webgpu.Vector3(),_0x5ef186=new webgpu.Vector3();_0x25e7df[_0xe6ea1e(0x249)](_0x16049c),_0x25e7df[_0xe6ea1e(0x1e1)](_0x5ef186);const _0x11f05b=this[_0xe6ea1e(0x254)][_0xe6ea1e(0x1a9)];if(_0x11f05b&&_0x11f05b[_0xe6ea1e(0x236)]){const _0x497aad=_0x11f05b[_0xe6ea1e(0x201)]*(Math['PI']/0xb4),_0x1031e8=Math['sqrt'](0.5),_0x3500f4=_0x5ef186[_0xe6ea1e(0x21a)]()*0.5,_0x5aa53d=Math[_0xe6ea1e(0x1ff)](_0x3500f4/_0x1031e8/Math[_0xe6ea1e(0x1c3)](_0x497aad/0x2),_0x11f05b[_0xe6ea1e(0x1cb)]*0x2);let _0x18686a=_0x11f05b[_0xe6ea1e(0x204)][_0xe6ea1e(0x200)]();if(_0x5e79e8){const _0x26332e=[new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x6,0x0,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x6,Math['PI'],0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x4,0x0,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x4,Math['PI'],0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x2,0x0,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x3,0x0,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x3,Math['PI'],0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4))];let _0x4ff05e=-1;for(const _0xc5f4cf of _0x26332e){const _0x2eea09=new webgpu.Quaternion()['setFromEuler'](_0xc5f4cf),_0x4257bf=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x2eea09),_0x26add5=_0x16049c[_0xe6ea1e(0x200)]()[_0xe6ea1e(0x24a)](_0x4257bf[_0xe6ea1e(0x24d)](_0x5aa53d)),_0xf0765=this[_0xe6ea1e(0x219)][_0xe6ea1e(0x230)][_0xe6ea1e(0x1e2)](_0x26add5,_0x16049c,exports.CollisionChannel['Visibility']);let _0x4dbcae=![],_0x279489=_0x5aa53d;_0xf0765&&_0xf0765[_0xe6ea1e(0x1f6)]&&(_0xf0765[_0xe6ea1e(0x262)]<_0x5aa53d-_0x3500f4*1.2&&(_0x4dbcae=!![],_0x279489=_0xf0765['distance']));if(!_0x4dbcae){_0x18686a=_0x2eea09;break;}else _0x279489>_0x4ff05e&&(_0x4ff05e=_0x279489,_0x18686a=_0x2eea09);}}const _0x5541bb=_0x18686a;this[_0xe6ea1e(0x1b8)](_0x16049c,_0x5541bb,_0x5aa53d,_0x4c83b6,_0x4ae2f5,_0x480a6e);}else {const _0x4bcbab=_0x5ef186['length']()*1.5,_0x401bea=new webgpu.Quaternion()[_0xe6ea1e(0x1d4)](new webgpu.Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0xe6ea1e(0x1b8)](_0x16049c,_0x401bea,_0x4bcbab,_0x4c83b6,_0x4ae2f5,_0x480a6e);}}[_0x282f8a(0x258)](_0x4eb48e,_0x5c6ab1,_0x1b02dc=![],_0x3f8f67=null,_0x109902=null){const _0x35796e=_0x282f8a,_0x3143c7=new webgpu.Box3()[_0x35796e(0x1c2)](_0x4eb48e);this[_0x35796e(0x218)](_0x3143c7,_0x5c6ab1,_0x1b02dc,_0x3f8f67,_0x109902);}}
|
|
82
93
|
|
|
83
|
-
function
|
|
94
|
+
function _0x1633(){const _0x4d3977=['fov','2897606QsMVnc','near','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','145590IwwdHy','Invalid\x20camera\x20type','4840020TuIDqG','622720nBjQXH','far','Perspective','right','bottom','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','Orthographic','warn','12LjthKG','3911999oEzgha','aspect','updataCamera','21wwqcMH','top','5092400gKeBXI','2118843BXQRAo','left'];_0x1633=function(){return _0x4d3977;};return _0x1633();}const _0x29b988=_0x10f3;function _0x10f3(_0x595b92,_0x1c226b){_0x595b92=_0x595b92-0x1c3;const _0x163303=_0x1633();let _0x10f369=_0x163303[_0x595b92];return _0x10f369;}(function(_0x1a5e48,_0x561ef0){const _0xa4afc8=_0x10f3,_0x26ad14=_0x1a5e48();while(!![]){try{const _0x3e04b2=-parseInt(_0xa4afc8(0x1d3))/0x1+parseInt(_0xa4afc8(0x1d0))/0x2+parseInt(_0xa4afc8(0x1ca))/0x3*(-parseInt(_0xa4afc8(0x1d6))/0x4)+-parseInt(_0xa4afc8(0x1d5))/0x5+-parseInt(_0xa4afc8(0x1c6))/0x6*(-parseInt(_0xa4afc8(0x1c7))/0x7)+parseInt(_0xa4afc8(0x1cc))/0x8+-parseInt(_0xa4afc8(0x1cd))/0x9;if(_0x3e04b2===_0x561ef0)break;else _0x26ad14['push'](_0x26ad14['shift']());}catch(_0x200766){_0x26ad14['push'](_0x26ad14['shift']());}}}(_0x1633,0xba97e));class CameraFactory{static['createCamera'](_0xa0211f){const _0x27ebe2=_0x10f3;try{switch(_0xa0211f['type']){case _0x27ebe2(0x1d8):{let _0xc79245=_0xa0211f;return new webgpu.PerspectiveCamera(_0xc79245[_0x27ebe2(0x1cf)],_0xc79245[_0x27ebe2(0x1c8)],_0xc79245[_0x27ebe2(0x1d1)],_0xc79245[_0x27ebe2(0x1d7)]);}case _0x27ebe2(0x1c4):{let _0x5ec079=_0xa0211f;return new webgpu.OrthographicCamera(_0x5ec079[_0x27ebe2(0x1ce)],_0x5ec079[_0x27ebe2(0x1d9)],_0x5ec079['top'],_0x5ec079[_0x27ebe2(0x1da)],_0x5ec079[_0x27ebe2(0x1d1)],_0x5ec079[_0x27ebe2(0x1d7)]);}default:{throw new Error(_0x27ebe2(0x1d4));}}}catch(_0x11ba6a){return console[_0x27ebe2(0x1c5)]('[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20',_0x11ba6a),console[_0x27ebe2(0x1c5)]('[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead'),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0x29b988(0x1c9)](_0x5b7bb5,_0x3efa16){const _0x1148ea=_0x29b988;try{switch(_0x5b7bb5['type']){case 'Perspective':{let _0x2b2d52=_0x5b7bb5;if(_0x3efa16 instanceof webgpu.PerspectiveCamera)return _0x3efa16[_0x1148ea(0x1d1)]=_0x2b2d52[_0x1148ea(0x1d1)],_0x3efa16[_0x1148ea(0x1d7)]=_0x2b2d52[_0x1148ea(0x1d7)],_0x3efa16[_0x1148ea(0x1cf)]=_0x2b2d52['fov'],_0x3efa16[_0x1148ea(0x1c8)]=_0x2b2d52['aspect'],_0x3efa16;return new webgpu.PerspectiveCamera(_0x2b2d52[_0x1148ea(0x1cf)],_0x2b2d52[_0x1148ea(0x1c8)],_0x2b2d52[_0x1148ea(0x1d1)],_0x2b2d52[_0x1148ea(0x1d7)]);}case _0x1148ea(0x1c4):{let _0x3215e6=_0x5b7bb5;if(_0x3efa16 instanceof webgpu.OrthographicCamera)return _0x3efa16['near']=_0x3215e6[_0x1148ea(0x1d1)],_0x3efa16[_0x1148ea(0x1d7)]=_0x3215e6[_0x1148ea(0x1d7)],_0x3efa16[_0x1148ea(0x1ce)]=_0x3215e6[_0x1148ea(0x1ce)],_0x3efa16['right']=_0x3215e6[_0x1148ea(0x1d9)],_0x3efa16[_0x1148ea(0x1cb)]=_0x3215e6[_0x1148ea(0x1cb)],_0x3efa16[_0x1148ea(0x1da)]=_0x3215e6[_0x1148ea(0x1da)],_0x3efa16;return new webgpu.OrthographicCamera(_0x3215e6[_0x1148ea(0x1ce)],_0x3215e6[_0x1148ea(0x1d9)],_0x3215e6[_0x1148ea(0x1cb)],_0x3215e6[_0x1148ea(0x1da)],_0x3215e6[_0x1148ea(0x1d1)],_0x3215e6['far']);}default:{throw new Error('Invalid\x20camera\x20type');}}}catch(_0x178020){return console[_0x1148ea(0x1c5)](_0x1148ea(0x1d2),_0x178020),console[_0x1148ea(0x1c5)](_0x1148ea(0x1c3)),_0x3efa16;}}}
|
|
84
95
|
|
|
85
|
-
|
|
96
|
+
const _0x28dedd=_0x363c;(function(_0x2362e8,_0xf6aebf){const _0x394e4e=_0x363c,_0x3d530b=_0x2362e8();while(!![]){try{const _0x3ed532=parseInt(_0x394e4e(0x1b0))/0x1*(parseInt(_0x394e4e(0x1a7))/0x2)+-parseInt(_0x394e4e(0x1a9))/0x3+parseInt(_0x394e4e(0x1a4))/0x4+-parseInt(_0x394e4e(0x1a8))/0x5*(parseInt(_0x394e4e(0x1ab))/0x6)+parseInt(_0x394e4e(0x1aa))/0x7+parseInt(_0x394e4e(0x1ae))/0x8*(parseInt(_0x394e4e(0x1a6))/0x9)+-parseInt(_0x394e4e(0x1af))/0xa;if(_0x3ed532===_0xf6aebf)break;else _0x3d530b['push'](_0x3d530b['shift']());}catch(_0x2d49ee){_0x3d530b['push'](_0x3d530b['shift']());}}}(_0x10cf,0x85ff5));function _0x10cf(){const _0x3887fa=['1838nnAvqR','5bCQHoU','104082vKvsNY','2997519hvCOIT','2186094DGSggL','Orthographic','Perspective','8LVfJnT','543270yQczEf','409phoaDN','parse','741248RmsLyr','stringify','115407xMlLWe'];_0x10cf=function(){return _0x3887fa;};return _0x10cf();}function _0x363c(_0x4fe62f,_0x42879e){_0x4fe62f=_0x4fe62f-0x1a3;const _0x10cf2d=_0x10cf();let _0x363c76=_0x10cf2d[_0x4fe62f];return _0x363c76;}const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x28dedd(0x1ad),'fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0x28dedd(0x1ac),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON[_0x28dedd(0x1a3)](JSON[_0x28dedd(0x1a5)](DefaultPerspectiveCameraParam));
|
|
86
97
|
|
|
87
|
-
(function(
|
|
98
|
+
(function(_0x1a8551,_0x4938c4){const _0x33951a=_0x3d2d,_0x8aaf5a=_0x1a8551();while(!![]){try{const _0x5e5954=-parseInt(_0x33951a(0x1db))/0x1*(-parseInt(_0x33951a(0x1dc))/0x2)+parseInt(_0x33951a(0x1d9))/0x3+parseInt(_0x33951a(0x1d6))/0x4+parseInt(_0x33951a(0x1dd))/0x5*(parseInt(_0x33951a(0x1d8))/0x6)+parseInt(_0x33951a(0x1d7))/0x7+-parseInt(_0x33951a(0x1da))/0x8+-parseInt(_0x33951a(0x1de))/0x9;if(_0x5e5954===_0x4938c4)break;else _0x8aaf5a['push'](_0x8aaf5a['shift']());}catch(_0x5f515f){_0x8aaf5a['push'](_0x8aaf5a['shift']());}}}(_0xf6fd,0xad7e9));function _0xf6fd(){const _0x422ec5=['138wCCVgG','3945174tOZwso','4458112EMvWSS','12oTVZcm','177496aBMttO','218545sxEoQY','38253105oEIcLM','4940144TIiXcY','6285055wgaUHJ'];_0xf6fd=function(){return _0x422ec5;};return _0xf6fd();}function _0x3d2d(_0x3d6573,_0x53a32c){_0x3d6573=_0x3d6573-0x1d6;const _0xf6fd25=_0xf6fd();let _0x3d2da3=_0xf6fd25[_0x3d6573];return _0x3d2da3;}const DefaultAppParam={'dracoPath':'','cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
88
99
|
|
|
89
|
-
const
|
|
100
|
+
function _0x31dd(_0x5bc482,_0x18511a){_0x5bc482=_0x5bc482-0x108;const _0xdfc0fe=_0xdfc0();let _0x31dd4c=_0xdfc0fe[_0x5bc482];return _0x31dd4c;}const _0x43dd76=_0x31dd;function _0xdfc0(){const _0x50a193=['11iBoPOb','source','59130ISaLup','1492YYReyu','disposeMaterialTextures','183208KwPUrG','traverse','2AtbZmH','material','2795690XwbmAm','dispose','366vbaGrG','1653576WFNtOd','isMesh','isArray','keys','has','52yQGWUo','disposeObject3DResource','children','disposeMeshResource','isScene','disposeMeshMaterial','object','248NjLahH','add','geometry','735740nCqdvO','isBufferGeometry','isObject3D','3255gBncoT','forEach','1842fNIHtV'];_0xdfc0=function(){return _0x50a193;};return _0xdfc0();}(function(_0x533878,_0x20f91b){const _0x3cec8f=_0x31dd,_0x3ede3b=_0x533878();while(!![]){try{const _0x391bb2=-parseInt(_0x3cec8f(0x128))/0x1*(-parseInt(_0x3cec8f(0x109))/0x2)+-parseInt(_0x3cec8f(0x10d))/0x3*(parseInt(_0x3cec8f(0x126))/0x4)+-parseInt(_0x3cec8f(0x11d))/0x5+parseInt(_0x3cec8f(0x122))/0x6*(parseInt(_0x3cec8f(0x120))/0x7)+-parseInt(_0x3cec8f(0x11a))/0x8*(parseInt(_0x3cec8f(0x125))/0x9)+parseInt(_0x3cec8f(0x10b))/0xa*(-parseInt(_0x3cec8f(0x123))/0xb)+parseInt(_0x3cec8f(0x10e))/0xc*(parseInt(_0x3cec8f(0x113))/0xd);if(_0x391bb2===_0x20f91b)break;else _0x3ede3b['push'](_0x3ede3b['shift']());}catch(_0x4facb2){_0x3ede3b['push'](_0x3ede3b['shift']());}}}(_0xdfc0,0x3122e));class ThreeObjectLibrary{static[_0x43dd76(0x127)](_0x31e2b3){const _0x30d782=_0x43dd76,_0x310ca6=new Set(),_0x42da92=new Set(['parent',_0x30d782(0x115),_0x30d782(0x11c),_0x30d782(0x124)]),_0x4de3da=_0x54dc1c=>{const _0x2535ae=_0x30d782;if(!_0x54dc1c||typeof _0x54dc1c!==_0x2535ae(0x119)||_0x310ca6['has'](_0x54dc1c))return;if(_0x54dc1c[_0x2535ae(0x11f)]||_0x54dc1c[_0x2535ae(0x117)]||_0x54dc1c[_0x2535ae(0x10f)]||_0x54dc1c[_0x2535ae(0x11e)])return;_0x310ca6[_0x2535ae(0x11b)](_0x54dc1c);if('isTexture'in _0x54dc1c){_0x54dc1c['dispose']();return;}Object[_0x2535ae(0x111)](_0x54dc1c)[_0x2535ae(0x121)](_0x9f09f1=>{const _0x4fc2ae=_0x2535ae;if(_0x42da92[_0x4fc2ae(0x112)](_0x9f09f1))return;_0x4de3da(_0x54dc1c[_0x9f09f1]);});};Object[_0x30d782(0x111)](_0x31e2b3)[_0x30d782(0x121)](_0x21b835=>{_0x4de3da(_0x31e2b3[_0x21b835]);});}static[_0x43dd76(0x118)](_0xfbe960){const _0x2b77c8=_0x43dd76;let _0x3ac82a=Array[_0x2b77c8(0x110)](_0xfbe960[_0x2b77c8(0x10a)])?_0xfbe960['material']:[_0xfbe960[_0x2b77c8(0x10a)]];_0x3ac82a[_0x2b77c8(0x121)](_0x52bff3=>{const _0x18783a=_0x2b77c8;ThreeObjectLibrary[_0x18783a(0x127)](_0x52bff3),_0x52bff3[_0x18783a(0x10c)]();});}static[_0x43dd76(0x116)](_0x86bb01,_0x3193ba=![]){const _0x19bd42=_0x43dd76;ThreeObjectLibrary[_0x19bd42(0x118)](_0x86bb01),_0x86bb01['geometry'][_0x19bd42(0x10c)](),_0x3193ba&&_0x86bb01[_0x19bd42(0x115)][_0x19bd42(0x121)](_0x3837ff=>{const _0x142e72=_0x19bd42;_0x3837ff instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x142e72(0x116)](_0x3837ff,!![]);});}static[_0x43dd76(0x114)](_0x42fc12){const _0x1f7ad6=_0x43dd76;_0x42fc12[_0x1f7ad6(0x108)](_0x1fbba4=>{_0x1fbba4 instanceof webgpu.Mesh&&ThreeObjectLibrary['disposeMeshResource'](_0x1fbba4);});}}
|
|
90
101
|
|
|
91
|
-
function
|
|
102
|
+
function _0x2ca8(){var _0x265ab8=['11175768msUAAv','70OJAIdV','6yssFJC','threeObject','createDefaultObject','LYObject','23252aTSuSq','obj','userData','three\x20object\x20is\x20invalid','1090PrHoAh','5001408rmdxtj','11257134JyQxzq','170400KcpBlc','1386378oVrERy','4054932IjmWbd'];_0x2ca8=function(){return _0x265ab8;};return _0x2ca8();}var _0x21db04=_0x2258;function _0x2258(_0x3b51f9,_0x3b8ae5){_0x3b51f9=_0x3b51f9-0x8a;var _0x2ca8d5=_0x2ca8();var _0x22588f=_0x2ca8d5[_0x3b51f9];return _0x22588f;}(function(_0x1cc8bc,_0x415ded){var _0x54bedf=_0x2258,_0x118f65=_0x1cc8bc();while(!![]){try{var _0x41c24c=parseInt(_0x54bedf(0x99))/0x1+-parseInt(_0x54bedf(0x8a))/0x2*(parseInt(_0x54bedf(0x8e))/0x3)+-parseInt(_0x54bedf(0x92))/0x4*(parseInt(_0x54bedf(0x96))/0x5)+-parseInt(_0x54bedf(0x8b))/0x6+parseInt(_0x54bedf(0x98))/0x7+-parseInt(_0x54bedf(0x8c))/0x8+-parseInt(_0x54bedf(0x97))/0x9*(-parseInt(_0x54bedf(0x8d))/0xa);if(_0x41c24c===_0x415ded)break;else _0x118f65['push'](_0x118f65['shift']());}catch(_0x52143c){_0x118f65['push'](_0x118f65['shift']());}}}(_0x2ca8,0xe603d));class LevelComponent extends SceneComponent{get[_0x21db04(0x8f)](){var _0x21e73c=_0x21db04;if(!this[_0x21e73c(0x93)])throw Error(_0x21e73c(0x95));return this[_0x21e73c(0x93)];}set[_0x21db04(0x8f)](_0x3c7ce8){var _0x4c3e6d=_0x21db04;this['obj']=_0x3c7ce8,this[_0x4c3e6d(0x93)]&&(this['obj'][_0x4c3e6d(0x94)][_0x4c3e6d(0x91)]=this);}constructor(_0x559de1,_0x5c5e4c){super(_0x559de1,_0x5c5e4c);}[_0x21db04(0x90)](){return new three.Scene();}}
|
|
92
103
|
|
|
93
|
-
var
|
|
104
|
+
var _0x3bf079=_0x337c;(function(_0x15decc,_0x46cac9){var _0x1f1079=_0x337c,_0x704a97=_0x15decc();while(!![]){try{var _0x1bb032=-parseInt(_0x1f1079(0xe2))/0x1+parseInt(_0x1f1079(0xd1))/0x2*(-parseInt(_0x1f1079(0xd4))/0x3)+parseInt(_0x1f1079(0xda))/0x4*(-parseInt(_0x1f1079(0xdf))/0x5)+parseInt(_0x1f1079(0xd6))/0x6*(parseInt(_0x1f1079(0xcf))/0x7)+parseInt(_0x1f1079(0xd8))/0x8+-parseInt(_0x1f1079(0xd3))/0x9*(-parseInt(_0x1f1079(0xe1))/0xa)+-parseInt(_0x1f1079(0xe7))/0xb;if(_0x1bb032===_0x46cac9)break;else _0x704a97['push'](_0x704a97['shift']());}catch(_0x11c397){_0x704a97['push'](_0x704a97['shift']());}}}(_0x35ca,0x1bdaa));function _0x35ca(){var _0x200c3c=['rootComponent','95aBJzME','uuid','30RASNvj','49006HwbqBa','scene','forEach','tick','destroy','384934PDkftz','isTickEnabled','524706rafWvm','scene\x20is\x20null','343724IrRQqe','_scene','520407yXTInc','3PHFcCM','constructRootComponent','18IQBWrs','childActors','300768SozLTj','traverse','13892jqExzj','clearLevel','threeObject','disposeMeshResource'];_0x35ca=function(){return _0x200c3c;};return _0x35ca();}function _0x337c(_0xfaf3de,_0x240b48){_0xfaf3de=_0xfaf3de-0xcf;var _0x35ca90=_0x35ca();var _0x337c63=_0x35ca90[_0xfaf3de];return _0x337c63;}class LevelActor extends Actor{get[_0x3bf079(0xe3)](){var _0x4bd225=_0x3bf079;if(!this['_scene'])throw new Error(_0x4bd225(0xd0));return this[_0x4bd225(0xd2)];}constructor(_0x547d23,_0x207e11){var _0x3894aa=_0x3bf079;super(_0x547d23,_0x207e11),this[_0x3894aa(0xd2)]=null,this['_scene']=this[_0x3894aa(0xde)][_0x3894aa(0xdc)],this[_0x3894aa(0xe8)]=![];}[_0x3bf079(0xd5)](){var _0x5fe521=_0x3bf079;return new LevelComponent(this['app'],this[_0x5fe521(0xe0)]);}['tick'](_0x233e4e){var _0x541b0f=_0x3bf079;if(!this[_0x541b0f(0xe8)])return;super[_0x541b0f(0xe5)](_0x233e4e);}[_0x3bf079(0xe6)](){var _0x46e0d2=_0x3bf079;this['clearLevel'](),super[_0x46e0d2(0xe6)]();}[_0x3bf079(0xdb)](){var _0x3c2ec9=_0x3bf079;this[_0x3c2ec9(0xd7)][_0x3c2ec9(0xe4)](_0x4e7cae=>{var _0x4ddf10=_0x3c2ec9;_0x4e7cae[_0x4ddf10(0xe6)]();}),this[_0x3c2ec9(0xe3)][_0x3c2ec9(0xd9)](_0x3b5d3b=>{var _0x5116fb=_0x3c2ec9;_0x3b5d3b instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x5116fb(0xdd)](_0x3b5d3b);});}}
|
|
94
105
|
|
|
95
|
-
(function(
|
|
106
|
+
function _0xd156(_0x3ada30,_0x2ae8aa){_0x3ada30=_0x3ada30-0xc8;const _0x5b8981=_0x5b89();let _0xd156b5=_0x5b8981[_0x3ada30];return _0xd156b5;}function _0x5b89(){const _0x4eeed2=['10281130ArfazB','45727715Qakdyd','2632491VYAMMA','9RKIIcV','12Hbrxnr','807260yRGVRR','2CdBHJR','11411768KAaZvS','10tmShTB','4063899xAQyjh','966567OftSxb'];_0x5b89=function(){return _0x4eeed2;};return _0x5b89();}(function(_0x271a22,_0x17031d){const _0x52991b=_0xd156,_0x3a9325=_0x271a22();while(!![]){try{const _0x3f9b32=parseInt(_0x52991b(0xc8))/0x1+-parseInt(_0x52991b(0xcf))/0x2*(-parseInt(_0x52991b(0xcb))/0x3)+parseInt(_0x52991b(0xce))/0x4*(-parseInt(_0x52991b(0xd1))/0x5)+parseInt(_0x52991b(0xcd))/0x6*(parseInt(_0x52991b(0xd2))/0x7)+-parseInt(_0x52991b(0xd0))/0x8*(-parseInt(_0x52991b(0xcc))/0x9)+parseInt(_0x52991b(0xc9))/0xa+-parseInt(_0x52991b(0xca))/0xb;if(_0x3f9b32===_0x17031d)break;else _0x3a9325['push'](_0x3a9325['shift']());}catch(_0x4bba49){_0x3a9325['push'](_0x3a9325['shift']());}}}(_0x5b89,0xdb7fb));const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
96
107
|
|
|
97
|
-
|
|
108
|
+
function _0x5987(){const _0x1b7e80=['updataCamera','onCameraChangedDelegate','_tickingFunctions','viewportClass','_viewport','aspect','getDelta','onWindowResize','283925qaVPdX','_onCameraChangedDelegate','postConstruct','markRenderStateDirty','dispose','log','9185506OvLZkv','updateCamera','indexOf','742470uFDCMN','forEach','_assetManager','clock','setTickPaused','dracoPath','init','viewportParam','splice','destroy','3bEMooA','2087016zhaVFp','124564yRawKd','20SJcCQX','_controller','worldClass','addTickingFunction','_clock','assetManager','1604259VAKaWO','viewport','camera','_world','controller','tick','renderAsImage','setAnimationLoop','updateProjectionMatrix','world','10cjtjfF','517562fBtBjG','createCamera','7EVZoWk','worldParam','_isTickPaused','broadcast','classes'];_0x5987=function(){return _0x1b7e80;};return _0x5987();}const _0x2b339a=_0x3b86;(function(_0x26cc02,_0x1b744f){const _0x1b6e16=_0x3b86,_0x43fbbf=_0x26cc02();while(!![]){try{const _0x18e1d0=parseInt(_0x1b6e16(0x1a8))/0x1+parseInt(_0x1b6e16(0x1ba))/0x2*(-parseInt(_0x1b6e16(0x1a6))/0x3)+-parseInt(_0x1b6e16(0x1a9))/0x4*(parseInt(_0x1b6e16(0x1c9))/0x5)+-parseInt(_0x1b6e16(0x19c))/0x6*(parseInt(_0x1b6e16(0x1bc))/0x7)+-parseInt(_0x1b6e16(0x1a7))/0x8+parseInt(_0x1b6e16(0x1af))/0x9+-parseInt(_0x1b6e16(0x1b9))/0xa*(-parseInt(_0x1b6e16(0x199))/0xb);if(_0x18e1d0===_0x1b744f)break;else _0x43fbbf['push'](_0x43fbbf['shift']());}catch(_0x4a485f){_0x43fbbf['push'](_0x43fbbf['shift']());}}}(_0x5987,0x33665));function _0x3b86(_0x384ede,_0x51d43f){_0x384ede=_0x384ede-0x196;const _0x598757=_0x5987();let _0x3b8668=_0x598757[_0x384ede];return _0x3b8668;}class ThreeJsApp{get['camera'](){return this['_camera'];}get[_0x2b339a(0x19f)](){const _0x124bae=_0x2b339a;return this[_0x124bae(0x1ad)];}get['world'](){const _0x2c8700=_0x2b339a;return this[_0x2c8700(0x1b2)];}get['viewport'](){return this['_viewport'];}get['controller'](){const _0x3f840e=_0x2b339a;return this[_0x3f840e(0x1aa)];}get[_0x2b339a(0x1ae)](){const _0x3ae8d3=_0x2b339a;return this[_0x3ae8d3(0x19e)];}get[_0x2b339a(0x1c2)](){const _0x473f73=_0x2b339a;return this[_0x473f73(0x1ca)];}constructor(_0x3dcf56=DefaultAppParam){const _0x461985=_0x2b339a;var _0x3342a9,_0x51b32a,_0x2e00a0,_0x4ff81d;this['_tickingFunctions']=[],this[_0x461985(0x1be)]=![],this['_onCameraChangedDelegate']=new Delegate();const _0x334b08=(_0x3342a9=_0x3dcf56['cameraParam'])!==null&&_0x3342a9!==void 0?_0x3342a9:DefaultCameraParam,_0x1e8181=(_0x51b32a=_0x3dcf56[_0x461985(0x1bd)])!==null&&_0x51b32a!==void 0?_0x51b32a:DefaultWorldParam,_0x10f404=(_0x2e00a0=_0x3dcf56[_0x461985(0x1a3)])!==null&&_0x2e00a0!==void 0?_0x2e00a0:DefaultViewportParam,_0x109ed6=(_0x4ff81d=_0x3dcf56[_0x461985(0x1c0)])!==null&&_0x4ff81d!==void 0?_0x4ff81d:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport};this[_0x461985(0x1ad)]=new webgpu.Timer(),this['_camera']=CameraFactory[_0x461985(0x1bb)](_0x334b08),this[_0x461985(0x1b2)]=new _0x109ed6[(_0x461985(0x1ab))](this,_0x1e8181),this[_0x461985(0x1c5)]=new _0x109ed6[(_0x461985(0x1c4))](this,_0x10f404),this['_controller']=new _0x109ed6['controllerClass'](this),this[_0x461985(0x19e)]=new _0x109ed6['assetManagerClass'](this,_0x3dcf56[_0x461985(0x1a1)]),this['viewport']['renderer'][_0x461985(0x1b6)](()=>{const _0x232ff4=_0x461985;this[_0x232ff4(0x1ad)]['update']();const _0x726504=this[_0x232ff4(0x1ad)][_0x232ff4(0x1c7)]();this[_0x232ff4(0x1b4)](_0x726504);}),this['postConstruct']();}[_0x2b339a(0x1cb)](){const _0x5514dd=_0x2b339a;this[_0x5514dd(0x1b3)][_0x5514dd(0x1a2)](),this[_0x5514dd(0x1b8)][_0x5514dd(0x1a2)](),this[_0x5514dd(0x1b0)][_0x5514dd(0x1a2)]();}[_0x2b339a(0x1a2)](){}[_0x2b339a(0x1b4)](_0x7f9d6d){const _0x2d6ba1=_0x2b339a;if(this[_0x2d6ba1(0x1be)])return;this[_0x2d6ba1(0x1aa)]['tick'](_0x7f9d6d),this['world']['tick'](_0x7f9d6d),this[_0x2d6ba1(0x1c3)][_0x2d6ba1(0x19d)](_0x143602=>{_0x143602(_0x7f9d6d);}),this['viewport'][_0x2d6ba1(0x196)](),this[_0x2d6ba1(0x1b0)]['render']();}[_0x2b339a(0x1a0)](_0x1e73ac){const _0x9c2c9f=_0x2b339a;console[_0x9c2c9f(0x198)](_0x9c2c9f(0x1a0),_0x1e73ac),this[_0x9c2c9f(0x1be)]=_0x1e73ac;}[_0x2b339a(0x1ac)](_0x563844){this['_tickingFunctions']['push'](_0x563844);}['removeTickingFunction'](_0x39434f){const _0x45efe9=_0x2b339a,_0x5f3ee9=this[_0x45efe9(0x1c3)][_0x45efe9(0x19b)](_0x39434f);_0x5f3ee9>=0x0&&this[_0x45efe9(0x1c3)][_0x45efe9(0x1a4)](_0x5f3ee9,0x1);}[_0x2b339a(0x1a5)](){const _0x3acd62=_0x2b339a;this['onCameraChangedDelegate']['clear'](),this[_0x3acd62(0x1b3)]['destroy'](),this[_0x3acd62(0x1b8)][_0x3acd62(0x1a5)](),this[_0x3acd62(0x19e)][_0x3acd62(0x197)](),this[_0x3acd62(0x1b0)][_0x3acd62(0x1a5)]();}[_0x2b339a(0x19a)](_0x303d2e){const _0x8a425c=_0x2b339a,_0x229b42=this[_0x8a425c(0x1b1)];this['_camera']=CameraFactory[_0x8a425c(0x1c1)](_0x303d2e,this[_0x8a425c(0x1b1)]),_0x229b42!==this[_0x8a425c(0x1b1)]&&(this[_0x8a425c(0x1ca)][_0x8a425c(0x1bf)](),this[_0x8a425c(0x1b3)]['updateCamera']()),this['_camera'][_0x8a425c(0x1b7)](),this[_0x8a425c(0x1b0)][_0x8a425c(0x196)]();}[_0x2b339a(0x1c8)](_0xba4c79,_0x331f56){const _0x1d6e16=_0x2b339a;this['camera']instanceof webgpu.PerspectiveCamera&&(this[_0x1d6e16(0x1b1)][_0x1d6e16(0x1c6)]=_0xba4c79/_0x331f56),this[_0x1d6e16(0x1b1)][_0x1d6e16(0x1b7)]();}async[_0x2b339a(0x1b5)](_0x44190c=0x400,_0x13efb7=0x400){return await this['viewport']['renderAsImage'](_0x44190c,_0x13efb7);}}
|
|
98
109
|
|
|
99
|
-
|
|
110
|
+
var _0x57b7e2=_0x22a4;(function(_0x3cdb6a,_0x3703b6){var _0x2cceb0=_0x22a4,_0x15bd0c=_0x3cdb6a();while(!![]){try{var _0x2e2c81=-parseInt(_0x2cceb0(0x14d))/0x1*(-parseInt(_0x2cceb0(0x157))/0x2)+parseInt(_0x2cceb0(0x15a))/0x3*(parseInt(_0x2cceb0(0x14e))/0x4)+parseInt(_0x2cceb0(0x14f))/0x5*(parseInt(_0x2cceb0(0x15b))/0x6)+-parseInt(_0x2cceb0(0x150))/0x7+-parseInt(_0x2cceb0(0x15c))/0x8*(-parseInt(_0x2cceb0(0x15f))/0x9)+-parseInt(_0x2cceb0(0x159))/0xa*(-parseInt(_0x2cceb0(0x156))/0xb)+-parseInt(_0x2cceb0(0x152))/0xc*(parseInt(_0x2cceb0(0x155))/0xd);if(_0x2e2c81===_0x3703b6)break;else _0x15bd0c['push'](_0x15bd0c['shift']());}catch(_0x56c6b0){_0x15bd0c['push'](_0x15bd0c['shift']());}}}(_0x3992,0xd5de9));function _0x22a4(_0x1ec866,_0x346e5d){_0x1ec866=_0x1ec866-0x14d;var _0x39928b=_0x3992();var _0x22a486=_0x39928b[_0x1ec866];return _0x22a486;}function _0x3992(){var _0x40618d=['set','LYObject','6981oMBnZx','11rTaMzY','2EzFUtJ','color','1012210gOtXBA','51WAqoot','11262UoniTe','868328UNVbYJ','three\x20object\x20is\x20invalid','threeObject','18MCMHEr','obj','937077QNgrZw','297268RUNcft','570oXyvEm','4001879tmePoa','intensity','28716ksSxib'];_0x3992=function(){return _0x40618d;};return _0x3992();}class LightComponent extends SceneComponent{get['threeObject'](){var _0x4ab271=_0x22a4;if(!this[_0x4ab271(0x160)])throw Error(_0x4ab271(0x15d));return this[_0x4ab271(0x160)];}set[_0x57b7e2(0x15e)](_0x5d56c5){var _0x525a6a=_0x57b7e2;this['obj']=_0x5d56c5,this[_0x525a6a(0x160)]&&(this[_0x525a6a(0x160)]['userData'][_0x525a6a(0x154)]=this);}get[_0x57b7e2(0x158)](){var _0x4b95f0=_0x57b7e2;return this[_0x4b95f0(0x15e)][_0x4b95f0(0x158)]['getHex']();}set[_0x57b7e2(0x158)](_0x2b19e6){var _0x24ce1f=_0x57b7e2;this[_0x24ce1f(0x15e)]['color'][_0x24ce1f(0x153)](_0x2b19e6);}get[_0x57b7e2(0x151)](){var _0x14ea26=_0x57b7e2;return this['threeObject'][_0x14ea26(0x151)];}set[_0x57b7e2(0x151)](_0xd12e2c){var _0x320871=_0x57b7e2;this[_0x320871(0x15e)][_0x320871(0x151)]=_0xd12e2c;}constructor(_0x5969ab,_0x58fea1){super(_0x5969ab,_0x58fea1);}}
|
|
100
111
|
|
|
101
|
-
var
|
|
112
|
+
function _0x1a4d(){var _0x3fdda3=['38PtGzba','castShadow','onAddedToWorld','6430590Qadbhs','150561TOMipH','4279270aFYyBw','564298IydoKw','obj','world','threeObject','viewport','923638FbstWC','13106230wSrIIs','4FqcLmp','destroy','setPosition','10069672EYUgoh','update','createDefaultObject','78KWULqt','three\x20object\x20is\x20invalid'];_0x1a4d=function(){return _0x3fdda3;};return _0x1a4d();}var _0x3ef45e=_0x38ba;(function(_0x1cc89e,_0x185a67){var _0x5ba484=_0x38ba,_0x3798e8=_0x1cc89e();while(!![]){try{var _0x2c993d=-parseInt(_0x5ba484(0x176))/0x1+parseInt(_0x5ba484(0x16b))/0x2*(-parseInt(_0x5ba484(0x16f))/0x3)+-parseInt(_0x5ba484(0x178))/0x4*(-parseInt(_0x5ba484(0x170))/0x5)+-parseInt(_0x5ba484(0x169))/0x6*(-parseInt(_0x5ba484(0x171))/0x7)+-parseInt(_0x5ba484(0x166))/0x8+parseInt(_0x5ba484(0x16e))/0x9+parseInt(_0x5ba484(0x177))/0xa;if(_0x2c993d===_0x185a67)break;else _0x3798e8['push'](_0x3798e8['shift']());}catch(_0x25c64c){_0x3798e8['push'](_0x3798e8['shift']());}}}(_0x1a4d,0xc19ed));function _0x38ba(_0x32eaa1,_0x2822e5){_0x32eaa1=_0x32eaa1-0x166;var _0x1a4d8d=_0x1a4d();var _0x38ba8f=_0x1a4d8d[_0x32eaa1];return _0x38ba8f;}class DirectionalLightComponent extends LightComponent{get[_0x3ef45e(0x174)](){var _0x212f57=_0x3ef45e;if(!this[_0x212f57(0x172)])throw Error(_0x212f57(0x16a));return this['obj'];}set[_0x3ef45e(0x174)](_0x33dfc3){var _0x50b1bf=_0x3ef45e;this['obj']=_0x33dfc3,this['obj']&&(this[_0x50b1bf(0x172)]['userData']['LYObject']=this);}get[_0x3ef45e(0x16c)](){var _0x475e4d=_0x3ef45e;return this[_0x475e4d(0x174)][_0x475e4d(0x16c)];}set[_0x3ef45e(0x16c)](_0x11e1af){var _0x3a89ba=_0x3ef45e;this[_0x3a89ba(0x174)][_0x3a89ba(0x16c)]=_0x11e1af;}constructor(_0x287363,_0x3bb26e=0xffffff,_0x1e955f=0xa,_0x42dac7){var _0x5a7965=_0x3ef45e;super(_0x287363,_0x42dac7),this['threeObject']['color']['set'](_0x3bb26e),this[_0x5a7965(0x174)]['intensity']=_0x1e955f;}[_0x3ef45e(0x168)](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0x3ef45e(0x17a)](..._0x11eefb){var _0x7830d=_0x3ef45e;_0x11eefb['length']===0x1?super[_0x7830d(0x17a)](_0x11eefb[0x0]):super[_0x7830d(0x17a)](_0x11eefb[0x0],_0x11eefb[0x1],_0x11eefb[0x2]),this[_0x7830d(0x167)]();}[_0x3ef45e(0x167)](){var _0xfe7a0b=_0x3ef45e;if(this[_0xfe7a0b(0x173)])this[_0xfe7a0b(0x173)][_0xfe7a0b(0x175)]['markRenderStateDirty']();}[_0x3ef45e(0x16d)](_0x1855cc){var _0x57d2c4=_0x3ef45e;if(!this[_0x57d2c4(0x174)])throw Error(_0x57d2c4(0x16a));super['onAddedToWorld'](_0x1855cc);}[_0x3ef45e(0x179)](){var _0x1281b8=_0x3ef45e;super[_0x1281b8(0x179)]();}}
|
|
102
113
|
|
|
103
|
-
var
|
|
114
|
+
function _0x2cb9(_0x20cf98,_0x3d85cf){_0x20cf98=_0x20cf98-0x175;var _0x2770ab=_0x2770();var _0x2cb9a8=_0x2770ab[_0x20cf98];return _0x2cb9a8;}var _0xcda916=_0x2cb9;(function(_0x30c717,_0x2bd7fe){var _0xe56ab4=_0x2cb9,_0x582116=_0x30c717();while(!![]){try{var _0x2df09f=parseInt(_0xe56ab4(0x177))/0x1*(-parseInt(_0xe56ab4(0x175))/0x2)+parseInt(_0xe56ab4(0x17c))/0x3+-parseInt(_0xe56ab4(0x180))/0x4*(-parseInt(_0xe56ab4(0x178))/0x5)+parseInt(_0xe56ab4(0x17a))/0x6+-parseInt(_0xe56ab4(0x179))/0x7+-parseInt(_0xe56ab4(0x17e))/0x8*(-parseInt(_0xe56ab4(0x176))/0x9)+-parseInt(_0xe56ab4(0x17b))/0xa;if(_0x2df09f===_0x2bd7fe)break;else _0x582116['push'](_0x582116['shift']());}catch(_0x4092b8){_0x582116['push'](_0x582116['shift']());}}}(_0x2770,0xf3a6a));class DirectionalLightActor extends Actor{constructor(_0x56ee8f,_0x55e036=0xffffff,_0x3e107f=0x1,_0x2af8fe){var _0x1df9fc=_0x2cb9;super(_0x56ee8f,_0x2af8fe),this[_0x1df9fc(0x185)]=null,this[_0x1df9fc(0x185)]=this[_0x1df9fc(0x181)],this[_0x1df9fc(0x185)]&&(this[_0x1df9fc(0x185)][_0x1df9fc(0x183)]=_0x55e036,this['lightComponent'][_0x1df9fc(0x17f)]=_0x3e107f,this[_0x1df9fc(0x185)][_0x1df9fc(0x17d)]=!![]),this[_0x1df9fc(0x185)][_0x1df9fc(0x17d)]=!![];}[_0xcda916(0x184)](){var _0xbcebe=_0xcda916;return new DirectionalLightComponent(this[_0xbcebe(0x182)]);}}function _0x2770(){var _0x469964=['16365ZwmAPq','5164593nZrbsG','9931068NvwWoT','10610460CmwatT','899925ffjnZe','castShadow','716744GQpsPa','intensity','1264cxkhCq','rootComponent','app','color','constructRootComponent','lightComponent','1282QkDPvQ','135FHaqKZ','2397mTmCUs'];_0x2770=function(){return _0x469964;};return _0x2770();}
|
|
104
115
|
|
|
105
|
-
var
|
|
116
|
+
var _0x35ed78=_0x3e99;function _0x5bfb(){var _0x329bc9=['update','set','63TIoKSo','2037497fxMuCV','castShadow','threeObject','userData','8246736Wvoohm','three\x20object\x20is\x20invalid','setPosition','1633300zmzwaV','color','world','destroy','230ycuwiu','695soOCAV','9516QzgvPq','141790vxLiYH','4621632wERggj','2NRArSE','obj','1771080hZZAEm','onAddedToWorld','intensity','markRenderStateDirty','LYObject','viewport'];_0x5bfb=function(){return _0x329bc9;};return _0x5bfb();}(function(_0x5936aa,_0x57703d){var _0x4e957a=_0x3e99,_0x3ea15e=_0x5936aa();while(!![]){try{var _0x2b0889=parseInt(_0x4e957a(0x1c5))/0x1*(parseInt(_0x4e957a(0x1d7))/0x2)+-parseInt(_0x4e957a(0x1c4))/0x3+parseInt(_0x4e957a(0x1c2))/0x4*(parseInt(_0x4e957a(0x1c1))/0x5)+parseInt(_0x4e957a(0x1d4))/0x6+parseInt(_0x4e957a(0x1d0))/0x7+parseInt(_0x4e957a(0x1c7))/0x8*(-parseInt(_0x4e957a(0x1cf))/0x9)+parseInt(_0x4e957a(0x1c0))/0xa*(parseInt(_0x4e957a(0x1c3))/0xb);if(_0x2b0889===_0x57703d)break;else _0x3ea15e['push'](_0x3ea15e['shift']());}catch(_0x3be422){_0x3ea15e['push'](_0x3ea15e['shift']());}}}(_0x5bfb,0xcc09b));function _0x3e99(_0x47f08f,_0x1553b1){_0x47f08f=_0x47f08f-0x1be;var _0x5bfb09=_0x5bfb();var _0x3e99b1=_0x5bfb09[_0x47f08f];return _0x3e99b1;}class AmbientLightComponent extends LightComponent{get[_0x35ed78(0x1d2)](){var _0x40d091=_0x35ed78;if(!this[_0x40d091(0x1c6)])throw Error(_0x40d091(0x1d5));return this[_0x40d091(0x1c6)];}set[_0x35ed78(0x1d2)](_0x4c32d4){var _0x3a1de4=_0x35ed78;this['obj']=_0x4c32d4,this[_0x3a1de4(0x1c6)]&&(this[_0x3a1de4(0x1c6)][_0x3a1de4(0x1d3)][_0x3a1de4(0x1cb)]=this);}get[_0x35ed78(0x1d1)](){var _0x228323=_0x35ed78;return this['threeObject'][_0x228323(0x1d1)];}set[_0x35ed78(0x1d1)](_0x539fb5){var _0x41516f=_0x35ed78;this['threeObject'][_0x41516f(0x1d1)]=_0x539fb5;}constructor(_0x57aa97,_0x473c4c=0xffffff,_0x302d56=0xa,_0x4fe21c){var _0x40b51c=_0x35ed78;super(_0x57aa97,_0x4fe21c),this[_0x40b51c(0x1d2)][_0x40b51c(0x1d8)][_0x40b51c(0x1ce)](_0x473c4c),this[_0x40b51c(0x1d2)][_0x40b51c(0x1c9)]=_0x302d56;}['createDefaultObject'](){return new webgpu.AmbientLight(0xffffff,0xa);}[_0x35ed78(0x1d6)](..._0x4306b4){var _0x5d686e=_0x35ed78;_0x4306b4['length']===0x1?super[_0x5d686e(0x1d6)](_0x4306b4[0x0]):super[_0x5d686e(0x1d6)](_0x4306b4[0x0],_0x4306b4[0x1],_0x4306b4[0x2]),this[_0x5d686e(0x1cd)]();}[_0x35ed78(0x1cd)](){var _0x50dab6=_0x35ed78;if(this[_0x50dab6(0x1be)])this[_0x50dab6(0x1be)][_0x50dab6(0x1cc)][_0x50dab6(0x1ca)]();}[_0x35ed78(0x1c8)](_0x51d0b5){var _0x502b66=_0x35ed78;if(!this['threeObject'])throw Error(_0x502b66(0x1d5));super[_0x502b66(0x1c8)](_0x51d0b5);}[_0x35ed78(0x1bf)](){var _0x3d5906=_0x35ed78;super[_0x3d5906(0x1bf)]();}}
|
|
106
117
|
|
|
107
|
-
|
|
118
|
+
(function(_0x5f0591,_0x1546d0){var _0x11ffe5=_0x564b,_0x11cd79=_0x5f0591();while(!![]){try{var _0x4662dc=-parseInt(_0x11ffe5(0x150))/0x1+parseInt(_0x11ffe5(0x14f))/0x2+parseInt(_0x11ffe5(0x153))/0x3*(parseInt(_0x11ffe5(0x159))/0x4)+-parseInt(_0x11ffe5(0x14e))/0x5+parseInt(_0x11ffe5(0x156))/0x6*(parseInt(_0x11ffe5(0x15a))/0x7)+-parseInt(_0x11ffe5(0x157))/0x8+-parseInt(_0x11ffe5(0x155))/0x9;if(_0x4662dc===_0x1546d0)break;else _0x11cd79['push'](_0x11cd79['shift']());}catch(_0x1f44f5){_0x11cd79['push'](_0x11cd79['shift']());}}}(_0x5ef9,0xe8937));function _0x564b(_0x14eb82,_0x291be5){_0x14eb82=_0x14eb82-0x14c;var _0x5ef9b0=_0x5ef9();var _0x564b79=_0x5ef9b0[_0x14eb82];return _0x564b79;}class AmbientLightActor extends Actor{constructor(_0x3229d9,_0x54ec4a=0xffffff,_0x13ebf5=0x1,_0x2e7af8){var _0x469b56=_0x564b;super(_0x3229d9,_0x2e7af8),this[_0x469b56(0x14d)]=null,this[_0x469b56(0x14d)]=this[_0x469b56(0x154)],this[_0x469b56(0x14d)]&&(this[_0x469b56(0x14d)][_0x469b56(0x14c)]=_0x54ec4a,this[_0x469b56(0x14d)][_0x469b56(0x151)]=_0x13ebf5,this[_0x469b56(0x14d)]['castShadow']=!![]),this[_0x469b56(0x14d)][_0x469b56(0x152)]=!![];}['constructRootComponent'](){var _0x27f0d0=_0x564b;return new AmbientLightComponent(this[_0x27f0d0(0x158)]);}}function _0x5ef9(){var _0xdadc42=['444716SWtEJE','6899102BHdNAb','color','lightComponent','7361380rJArbp','1627620gRBMIj','441903cxaXeM','intensity','castShadow','33BTPsAK','rootComponent','955962BQcHhW','6jSIMIW','394696yDkjBF','app'];_0x5ef9=function(){return _0xdadc42;};return _0x5ef9();}
|
|
108
119
|
|
|
109
|
-
(function(
|
|
120
|
+
(function(_0x339cdc,_0x327717){var _0xeac1c0=_0x5aeb,_0x469f3a=_0x339cdc();while(!![]){try{var _0x4bfa20=-parseInt(_0xeac1c0(0x1df))/0x1*(-parseInt(_0xeac1c0(0x1eb))/0x2)+-parseInt(_0xeac1c0(0x1e3))/0x3+-parseInt(_0xeac1c0(0x1ea))/0x4*(-parseInt(_0xeac1c0(0x1e1))/0x5)+parseInt(_0xeac1c0(0x1e5))/0x6*(parseInt(_0xeac1c0(0x1e8))/0x7)+parseInt(_0xeac1c0(0x1e2))/0x8*(-parseInt(_0xeac1c0(0x1e0))/0x9)+-parseInt(_0xeac1c0(0x1e9))/0xa*(-parseInt(_0xeac1c0(0x1e4))/0xb)+parseInt(_0xeac1c0(0x1e6))/0xc*(-parseInt(_0xeac1c0(0x1e7))/0xd);if(_0x4bfa20===_0x327717)break;else _0x469f3a['push'](_0x469f3a['shift']());}catch(_0x152ecf){_0x469f3a['push'](_0x469f3a['shift']());}}}(_0x3c09,0x81200));function _0x5aeb(_0x3a1985,_0x48090b){_0x3a1985=_0x3a1985-0x1df;var _0x3c0977=_0x3c09();var _0x5aebd1=_0x3c0977[_0x3a1985];return _0x5aebd1;}function _0x3c09(){var _0x4d1e9b=['35azyVaE','40PcKYNH','1300284cJSzXA','187raLGrA','116976KFmnoj','2676XMylLW','52975uoyvgI','224bTWhQt','146130QjBRoo','556792CeuMOg','20690MEPvNW','92HgCxDd','1669266xqDWPQ'];_0x3c09=function(){return _0x4d1e9b;};return _0x3c09();}class BoxComponent extends MeshComponent{constructor(_0x1aa151,_0x5ac8ff=0x1,_0x5574ba=0x1,_0x4861e3=0x1,_0x4f1c15=0x1,_0x43aa1d=0x1,_0x1caf49=0x1,_0x146994=new webgpu.MeshStandardMaterial(),_0x1c2503){super(_0x1aa151,new webgpu.BoxGeometry(_0x5ac8ff,_0x5574ba,_0x4861e3,_0x4f1c15,_0x43aa1d,_0x1caf49),_0x146994,_0x1c2503);}}
|
|
110
121
|
|
|
111
|
-
var
|
|
122
|
+
function _0x3e86(){var _0x211676=['79349arFuvC','607060XDMkJv','12mHqcvD','7899738ZrXWlM','app','12254eHUZIS','3031566IRXQHR','5045312aPcdIa','18tssCtY','2654961WwZRQG','uuid','290PYKaKR','4RbrIGK'];_0x3e86=function(){return _0x211676;};return _0x3e86();}(function(_0x5968c9,_0x29170e){var _0x58a02d=_0x1732,_0x1f8221=_0x5968c9();while(!![]){try{var _0xde2bde=parseInt(_0x58a02d(0xe0))/0x1*(-parseInt(_0x58a02d(0xe2))/0x2)+-parseInt(_0x58a02d(0xdc))/0x3+-parseInt(_0x58a02d(0xdf))/0x4*(-parseInt(_0x58a02d(0xe1))/0x5)+-parseInt(_0x58a02d(0xd9))/0x6+parseInt(_0x58a02d(0xe3))/0x7+-parseInt(_0x58a02d(0xda))/0x8*(-parseInt(_0x58a02d(0xdb))/0x9)+-parseInt(_0x58a02d(0xde))/0xa*(-parseInt(_0x58a02d(0xe5))/0xb);if(_0xde2bde===_0x29170e)break;else _0x1f8221['push'](_0x1f8221['shift']());}catch(_0x17d220){_0x1f8221['push'](_0x1f8221['shift']());}}}(_0x3e86,0xa5576));function _0x1732(_0x33d198,_0x3937e9){_0x33d198=_0x33d198-0xd9;var _0x3e8604=_0x3e86();var _0x173202=_0x3e8604[_0x33d198];return _0x173202;}class BoxActor extends Actor{constructor(_0x554707,_0x2a7917){super(_0x554707,_0x2a7917);}['constructRootComponent'](){var _0x1db946=_0x1732;return new BoxComponent(this[_0x1db946(0xe4)],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this[_0x1db946(0xdd)]);}}
|
|
112
123
|
|
|
113
|
-
const
|
|
124
|
+
const _0x4b6ba2=_0x3b92;(function(_0x1d19f6,_0x28d2da){const _0x28d3a0=_0x3b92,_0x3c70f0=_0x1d19f6();while(!![]){try{const _0x24913d=parseInt(_0x28d3a0(0xf5))/0x1*(parseInt(_0x28d3a0(0xfb))/0x2)+parseInt(_0x28d3a0(0xef))/0x3+parseInt(_0x28d3a0(0xf0))/0x4+-parseInt(_0x28d3a0(0xf8))/0x5*(parseInt(_0x28d3a0(0x102))/0x6)+parseInt(_0x28d3a0(0xf3))/0x7+-parseInt(_0x28d3a0(0x105))/0x8*(-parseInt(_0x28d3a0(0xed))/0x9)+-parseInt(_0x28d3a0(0xff))/0xa;if(_0x24913d===_0x28d2da)break;else _0x3c70f0['push'](_0x3c70f0['shift']());}catch(_0x3761d8){_0x3c70f0['push'](_0x3c70f0['shift']());}}}(_0x4c70,0x2cd04));function _0x3b92(_0x323e17,_0x209ea2){_0x323e17=_0x323e17-0xea;const _0x4c70c8=_0x4c70();let _0x3b9242=_0x4c70c8[_0x323e17];return _0x3b9242;}function _0x4c70(){const _0x5409ec=['copy','8LYhqnu','sunPosition','mieDirectionalG','three\x20object\x20is\x20invalid','viewport','3247389jMjSFG','value','539940MmaYQH','1360016plsvTJ','createDefaultObject','turbidity','2455075mAPTCk','obj','5158KOEeXP','elevation','LYObject','5965Hjjhqh','world','threeObject','84gwokku','rayleigh','skyParam','azimuth','11369590BAxXtb','updateSky','mieCoefficient','642hNbGIl','markRenderStateDirty'];_0x4c70=function(){return _0x5409ec;};return _0x4c70();}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x4b6ba2(0xfa)](){const _0x326c2b=_0x4b6ba2;if(!this[_0x326c2b(0xf4)])throw Error(_0x326c2b(0xeb));return this[_0x326c2b(0xf4)];}set[_0x4b6ba2(0xfa)](_0x2e753a){const _0x43330b=_0x4b6ba2;this[_0x43330b(0xf4)]=_0x2e753a,this[_0x43330b(0xf4)]&&(this[_0x43330b(0xf4)]['userData'][_0x43330b(0xf7)]=this);}constructor(_0x362be3,_0x44fde2,_0x3cd69e){const _0x2d4e46=_0x4b6ba2;super(_0x362be3,_0x3cd69e),this[_0x2d4e46(0xfd)]=DefaultSkyParam,this[_0x2d4e46(0x106)]=new webgpu.Vector3(),_0x44fde2&&(this[_0x2d4e46(0xfd)]=_0x44fde2),this['updateSky']();}[_0x4b6ba2(0xf1)](){return new SkyMesh_js.SkyMesh();}[_0x4b6ba2(0x100)](){const _0x35d780=_0x4b6ba2;var _0x130fef,_0x759186;this[_0x35d780(0xfa)][_0x35d780(0xf2)][_0x35d780(0xee)]=this[_0x35d780(0xfd)][_0x35d780(0xf2)],this[_0x35d780(0xfa)][_0x35d780(0xfc)][_0x35d780(0xee)]=this[_0x35d780(0xfd)][_0x35d780(0xfc)],this[_0x35d780(0xfa)][_0x35d780(0x101)][_0x35d780(0xee)]=this[_0x35d780(0xfd)][_0x35d780(0x101)],this[_0x35d780(0xfa)][_0x35d780(0xea)][_0x35d780(0xee)]=this[_0x35d780(0xfd)][_0x35d780(0xea)];const _0x16bbcd=webgpu.MathUtils['degToRad'](0x5a-this['skyParam'][_0x35d780(0xf6)]),_0x3ea274=webgpu.MathUtils['degToRad'](this[_0x35d780(0xfd)][_0x35d780(0xfe)]);this['sunPosition']['setFromSphericalCoords'](0x1,_0x16bbcd,_0x3ea274),this[_0x35d780(0xfa)]['sunPosition']['value'][_0x35d780(0x104)](this[_0x35d780(0x106)]),(_0x759186=(_0x130fef=this[_0x35d780(0xf9)])===null||_0x130fef===void 0?void 0:_0x130fef[_0x35d780(0xec)])===null||_0x759186===void 0?void 0:_0x759186[_0x35d780(0x103)]();}['destroyObject'](){this['obj']&&ThreeObjectLibrary['disposeMeshResource'](this['threeObject']);}}
|
|
114
125
|
|
|
115
|
-
var
|
|
126
|
+
var _0x33cfc0=_0x39d1;(function(_0x1ff16d,_0x594643){var _0x49b3ad=_0x39d1,_0x531876=_0x1ff16d();while(!![]){try{var _0x5a2adb=-parseInt(_0x49b3ad(0x113))/0x1+-parseInt(_0x49b3ad(0x11e))/0x2*(-parseInt(_0x49b3ad(0x11a))/0x3)+-parseInt(_0x49b3ad(0x11c))/0x4+-parseInt(_0x49b3ad(0x115))/0x5*(parseInt(_0x49b3ad(0x114))/0x6)+-parseInt(_0x49b3ad(0x112))/0x7+parseInt(_0x49b3ad(0x11f))/0x8*(-parseInt(_0x49b3ad(0x116))/0x9)+parseInt(_0x49b3ad(0x117))/0xa;if(_0x5a2adb===_0x594643)break;else _0x531876['push'](_0x531876['shift']());}catch(_0x1d91c1){_0x531876['push'](_0x531876['shift']());}}}(_0x3778,0x7b625));function _0x39d1(_0x4144af,_0x46e17c){_0x4144af=_0x4144af-0x110;var _0x3778ba=_0x3778();var _0x39d1df=_0x3778ba[_0x4144af];return _0x39d1df;}function _0x3778(){var _0x1218b6=['114697VwyXZD','6VevNoG','3449795ygeHvp','36lfimag','18527790omtYyb','skyComponent','(Root)','3QhllxA','constructRootComponent','163284UIOKln','rootComponent','492188YLumNz','1274992CBcNFZ','setScale','app','SkyActor','name','773633HLoSmw'];_0x3778=function(){return _0x1218b6;};return _0x3778();}class SkyActor extends Actor{constructor(_0x42bc74,_0x81fa95){var _0x489406=_0x39d1;super(_0x42bc74,_0x81fa95),this['_name']=_0x489406(0x110),this[_0x489406(0x118)]=null,this[_0x489406(0x111)]='SkyActor',this[_0x489406(0x118)]=this['rootComponent'],this[_0x489406(0x11d)][_0x489406(0x111)]=this[_0x489406(0x11d)][_0x489406(0x111)]+_0x489406(0x119),this[_0x489406(0x120)](0xafc8,0xafc8,0xafc8);}[_0x33cfc0(0x11b)](){var _0xe8ba6c=_0x33cfc0;return new SkyComponent(this[_0xe8ba6c(0x121)]);}}
|
|
116
127
|
|
|
117
|
-
(function(
|
|
128
|
+
(function(_0x16ef56,_0x155266){var _0x36ab7a=_0x1869,_0xf49392=_0x16ef56();while(!![]){try{var _0x3d2f73=parseInt(_0x36ab7a(0x13c))/0x1*(-parseInt(_0x36ab7a(0x141))/0x2)+parseInt(_0x36ab7a(0x144))/0x3*(-parseInt(_0x36ab7a(0x13d))/0x4)+-parseInt(_0x36ab7a(0x13f))/0x5*(parseInt(_0x36ab7a(0x148))/0x6)+parseInt(_0x36ab7a(0x146))/0x7*(-parseInt(_0x36ab7a(0x143))/0x8)+parseInt(_0x36ab7a(0x13e))/0x9*(-parseInt(_0x36ab7a(0x145))/0xa)+-parseInt(_0x36ab7a(0x147))/0xb*(parseInt(_0x36ab7a(0x140))/0xc)+parseInt(_0x36ab7a(0x142))/0xd;if(_0x3d2f73===_0x155266)break;else _0xf49392['push'](_0xf49392['shift']());}catch(_0x4b4d17){_0xf49392['push'](_0xf49392['shift']());}}}(_0x1625,0xe8df5));class PlaneComponent extends MeshComponent{constructor(_0x14ef09,_0x1eeead,_0x125ffc,_0x59be1d,_0x4c3c42=0x1,_0x32251c=0x1,_0x38cc5c){super(_0x14ef09,new webgpu.PlaneGeometry(_0x1eeead,_0x125ffc,_0x4c3c42,_0x32251c),_0x59be1d,_0x38cc5c);}}function _0x1869(_0x18a74e,_0x3e5b39){_0x18a74e=_0x18a74e-0x13c;var _0x1625a1=_0x1625();var _0x186913=_0x1625a1[_0x18a74e];return _0x186913;}function _0x1625(){var _0x1fbc12=['1281108Siyokm','20sFrCCs','79505868HMHNyy','9640LOkjgJ','27XbImUS','5710uFrECn','987QTBCDL','121edpvjY','6SlklmK','43633HxByNb','373244fYHmte','24318qFxeTJ','4993830rHQiGR'];_0x1625=function(){return _0x1fbc12;};return _0x1625();}
|
|
118
129
|
|
|
119
|
-
|
|
130
|
+
var _0x92ccac=_0x5d3e;(function(_0x115e94,_0x2753c5){var _0x13bfa3=_0x5d3e,_0x148e78=_0x115e94();while(!![]){try{var _0x1ea512=parseInt(_0x13bfa3(0xea))/0x1*(-parseInt(_0x13bfa3(0xe5))/0x2)+parseInt(_0x13bfa3(0xf1))/0x3*(parseInt(_0x13bfa3(0xef))/0x4)+parseInt(_0x13bfa3(0xe6))/0x5+parseInt(_0x13bfa3(0xec))/0x6+parseInt(_0x13bfa3(0xe8))/0x7*(-parseInt(_0x13bfa3(0xf3))/0x8)+parseInt(_0x13bfa3(0xf0))/0x9*(parseInt(_0x13bfa3(0xf4))/0xa)+-parseInt(_0x13bfa3(0xed))/0xb*(parseInt(_0x13bfa3(0xee))/0xc);if(_0x1ea512===_0x2753c5)break;else _0x148e78['push'](_0x148e78['shift']());}catch(_0x5dd7b1){_0x148e78['push'](_0x148e78['shift']());}}}(_0x1f4c,0x61569));function _0x5d3e(_0x44c984,_0x392a12){_0x44c984=_0x44c984-0xe5;var _0x1f4cc5=_0x1f4c();var _0x5d3e46=_0x1f4cc5[_0x44c984];return _0x5d3e46;}class PlaneActor extends Actor{constructor(_0x5ea3ca,_0x31387c){super(_0x5ea3ca,_0x31387c);}[_0x92ccac(0xeb)](){var _0x1f9ece=_0x92ccac;return new PlaneComponent(this[_0x1f9ece(0xf2)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0x1f9ece(0xe9)]);}[_0x92ccac(0xe7)](){var _0x229209=_0x92ccac;super[_0x229209(0xe7)]();}}function _0x1f4c(){var _0x6982ac=['2592270qmGyua','32362DfDYit','144tQtGYq','2302764sCyrZf','64881RSqGvs','3iIOqBI','app','127080mwIDmz','470PJVyah','320014AOouOD','1093740yCqsIv','destroy','287SnkqWQ','uuid','3FvCOvf','constructRootComponent'];_0x1f4c=function(){return _0x6982ac;};return _0x1f4c();}
|
|
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
|
+
function _0x515a(_0x15e49e,_0x33fd74){_0x15e49e=_0x15e49e-0x154;const _0x4037f3=_0x4037();let _0x515aa3=_0x4037f3[_0x15e49e];return _0x515aa3;}const _0x3027e9=_0x515a;(function(_0x2eb76e,_0x13bb0c){const _0x5d50c1=_0x515a,_0x343cb4=_0x2eb76e();while(!![]){try{const _0x526701=parseInt(_0x5d50c1(0x182))/0x1*(parseInt(_0x5d50c1(0x16e))/0x2)+-parseInt(_0x5d50c1(0x164))/0x3*(-parseInt(_0x5d50c1(0x179))/0x4)+-parseInt(_0x5d50c1(0x154))/0x5+parseInt(_0x5d50c1(0x189))/0x6*(-parseInt(_0x5d50c1(0x162))/0x7)+-parseInt(_0x5d50c1(0x195))/0x8*(-parseInt(_0x5d50c1(0x175))/0x9)+-parseInt(_0x5d50c1(0x176))/0xa+parseInt(_0x5d50c1(0x15f))/0xb*(parseInt(_0x5d50c1(0x191))/0xc);if(_0x526701===_0x13bb0c)break;else _0x343cb4['push'](_0x343cb4['shift']());}catch(_0x36f204){_0x343cb4['push'](_0x343cb4['shift']());}}}(_0x4037,0x6f399));function _0x4037(){const _0x416529=['meshData','error','getBounds','getBoundsCenterPosition','removeFromParent','destroyObject','_geometryPtr','addGeometryAsset','11mIyzQq','map','push','7qpuwzr','geometryPtr\x20is\x20null','3AOKNww','material\x20is\x20null','_meshData','receiveShadow','computeVertexNormals','assetManager','addMaterialAsset','computeUVs','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','CustomMeshComponent','386HRksts','color','_materialPtr','material','markRenderStateDirty','name','CustomMeshComponent:\x20Invalid\x20vertices\x20data','7862742kTvFVK','7412160cvBZSX','setAttribute','world','1637756GvJAJx','vertices','geometryPtr','app','materialPtr','length','max','getValue','threeObject','1663MMcwyk','warn','constructGeometry','clone','uvs','addRef','release','5013678PiAeqp','calculatePolygonArea','obj','geometry','LYObject','position','materialPtr\x20is\x20null','min','5727156hGbidv','indices','colors','normals','8klYSLi','244465YxjXZV','castShadow','getBoundsBottomCenterPosition'];_0x4037=function(){return _0x416529;};return _0x4037();}class CustomMeshComponent extends SceneComponent{get[_0x3027e9(0x181)](){const _0x19f6e9=_0x3027e9;if(!this['obj'])throw new Error('CustomMeshComponent:\x20threeObject\x20is\x20null');return this[_0x19f6e9(0x18b)];}set['threeObject'](_0x3abe5c){const _0x43f2f2=_0x3027e9;this[_0x43f2f2(0x18b)]=_0x3abe5c,this['obj']&&(this[_0x43f2f2(0x18b)]['userData'][_0x43f2f2(0x18d)]=this);}get[_0x3027e9(0x18c)](){const _0x1a6236=_0x3027e9;if(!this[_0x1a6236(0x15d)])throw new Error('geometryPtr\x20is\x20null');return this[_0x1a6236(0x15d)][_0x1a6236(0x180)]();}set[_0x3027e9(0x18c)](_0x23c08d){const _0x5c7192=_0x3027e9;let _0x4c42dc=this[_0x5c7192(0x17c)][_0x5c7192(0x169)][_0x5c7192(0x15e)](_0x23c08d);this['geometryPtr']=_0x4c42dc;}get[_0x3027e9(0x17b)](){const _0x10ea8f=_0x3027e9;if(!this[_0x10ea8f(0x15d)])throw new Error(_0x10ea8f(0x163));return this[_0x10ea8f(0x15d)];}set['geometryPtr'](_0x8f701c){const _0x5d2a98=_0x3027e9;this[_0x5d2a98(0x15d)]&&(this['_geometryPtr'][_0x5d2a98(0x188)](),this['_geometryPtr']=null);this[_0x5d2a98(0x15d)]=_0x8f701c;let _0x2a1051=_0x8f701c['getValue']();this['threeObject']&&_0x2a1051&&(this[_0x5d2a98(0x181)][_0x5d2a98(0x18c)]=_0x2a1051);}get['material'](){const _0x579559=_0x3027e9;if(!this[_0x579559(0x170)])throw new Error(_0x579559(0x18f));let _0x349c37=this[_0x579559(0x170)][_0x579559(0x180)]();if(!_0x349c37)throw new Error(_0x579559(0x165));return _0x349c37;}get[_0x3027e9(0x17d)](){const _0x11b0e6=_0x3027e9;if(!this['_materialPtr'])throw new Error(_0x11b0e6(0x18f));return this['_materialPtr'];}set[_0x3027e9(0x171)](_0x27153d){const _0x545489=_0x3027e9;let _0x51f2f2=this[_0x545489(0x17c)]['assetManager'][_0x545489(0x16a)](_0x27153d);this[_0x545489(0x17d)]=_0x51f2f2;}set['materialPtr'](_0xdb651a){const _0x41124d=_0x3027e9;this[_0x41124d(0x170)]&&(this[_0x41124d(0x170)][_0x41124d(0x188)](),this['_materialPtr']=null);this[_0x41124d(0x170)]=_0xdb651a;let _0x14fe85=_0xdb651a[_0x41124d(0x180)]();_0xdb651a[_0x41124d(0x187)](),this[_0x41124d(0x181)]&&_0x14fe85&&(this[_0x41124d(0x181)][_0x41124d(0x171)]=_0x14fe85);}constructor(_0x37d6f8,_0x69270e,_0x41f2f9,_0x1bbdc6){const _0x39c3e4=_0x3027e9;super(_0x37d6f8,_0x1bbdc6),this[_0x39c3e4(0x166)]=_0x69270e;let _0x127d30=_0x37d6f8['assetManager']['addMaterialAsset'](_0x41f2f9);this[_0x39c3e4(0x170)]=_0x127d30,_0x127d30['addRef']();const _0x199c2a=this[_0x39c3e4(0x184)](_0x69270e);this['_geometryPtr']=_0x37d6f8['assetManager'][_0x39c3e4(0x15e)](_0x199c2a),this[_0x39c3e4(0x181)][_0x39c3e4(0x171)]=_0x41f2f9,this[_0x39c3e4(0x181)][_0x39c3e4(0x18c)]=_0x199c2a,this[_0x39c3e4(0x173)]=_0x39c3e4(0x16d),this[_0x39c3e4(0x155)]=!![],this['receiveShadow']=!![];}[_0x3027e9(0x16b)](_0x151515){const _0x4f556d=_0x3027e9,_0x46999e=new Float32Array(_0x151515[_0x4f556d(0x17e)]*0x2);if(_0x151515[_0x4f556d(0x17e)]===0x0)return _0x46999e;let _0x2b06f1=Infinity,_0x241f63=-Infinity,_0x108d60=Infinity,_0x5f299e=-Infinity,_0x4b3255=Infinity,_0x13fa5d=-Infinity;for(const _0x4a83ef of _0x151515){_0x2b06f1=Math[_0x4f556d(0x190)](_0x2b06f1,_0x4a83ef['x']),_0x241f63=Math['max'](_0x241f63,_0x4a83ef['x']),_0x108d60=Math[_0x4f556d(0x190)](_0x108d60,_0x4a83ef['y']),_0x5f299e=Math[_0x4f556d(0x17f)](_0x5f299e,_0x4a83ef['y']),_0x4b3255=Math[_0x4f556d(0x190)](_0x4b3255,_0x4a83ef['z']),_0x13fa5d=Math[_0x4f556d(0x17f)](_0x13fa5d,_0x4a83ef['z']);}const _0x34a637=_0x241f63-_0x2b06f1,_0x362fd6=_0x5f299e-_0x108d60,_0x5b7e9b=_0x13fa5d-_0x4b3255;let _0x38f876,_0x19ca64,_0x98d741,_0x24cf04,_0x463b13,_0x57aa77;if(_0x34a637<=_0x362fd6&&_0x34a637<=_0x5b7e9b)_0x38f876='y',_0x19ca64='z',_0x98d741=_0x108d60,_0x24cf04=_0x362fd6,_0x463b13=_0x4b3255,_0x57aa77=_0x5b7e9b;else _0x362fd6<=_0x34a637&&_0x362fd6<=_0x5b7e9b?(_0x38f876='x',_0x19ca64='z',_0x98d741=_0x2b06f1,_0x24cf04=_0x34a637,_0x463b13=_0x4b3255,_0x57aa77=_0x5b7e9b):(_0x38f876='x',_0x19ca64='y',_0x98d741=_0x2b06f1,_0x24cf04=_0x34a637,_0x463b13=_0x108d60,_0x57aa77=_0x362fd6);if(_0x24cf04===0x0)_0x24cf04=0x1;if(_0x57aa77===0x0)_0x57aa77=0x1;for(let _0x2117e3=0x0;_0x2117e3<_0x151515[_0x4f556d(0x17e)];_0x2117e3++){const _0x1ab3f8=_0x151515[_0x2117e3],_0x22c1cb=(_0x1ab3f8[_0x38f876]-_0x98d741)/_0x24cf04,_0x205123=(_0x1ab3f8[_0x19ca64]-_0x463b13)/_0x57aa77;_0x46999e[_0x2117e3*0x2]=_0x22c1cb,_0x46999e[_0x2117e3*0x2+0x1]=_0x205123;}return _0x46999e;}[_0x3027e9(0x18a)](_0x25a770){const _0x3a45e9=_0x3027e9;let _0x187093=0x0;const _0xd8c391=_0x25a770[_0x3a45e9(0x17e)]/0x2;for(let _0x52e093=0x0;_0x52e093<_0xd8c391;_0x52e093++){const _0x52a1d8=(_0x52e093+0x1)%_0xd8c391,_0x4f05ed=_0x25a770[_0x52e093*0x2],_0x34393c=_0x25a770[_0x52e093*0x2+0x1],_0x2b5864=_0x25a770[_0x52a1d8*0x2],_0x13bdab=_0x25a770[_0x52a1d8*0x2+0x1];_0x187093+=_0x4f05ed*_0x13bdab-_0x2b5864*_0x34393c;}return _0x187093/0x2;}[_0x3027e9(0x184)](_0x2b745a){const _0x2fed80=_0x3027e9,_0x153704=new webgpu.BufferGeometry();if(!_0x2b745a[_0x2fed80(0x17a)]||_0x2b745a['vertices']['length']===0x0)return console[_0x2fed80(0x158)](_0x2fed80(0x174)),_0x153704;const _0x4fafc3=new Float32Array(_0x2b745a['vertices'][_0x2fed80(0x17e)]*0x3);for(let _0x3702d1=0x0;_0x3702d1<_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)];_0x3702d1++){_0x4fafc3[_0x3702d1*0x3]=_0x2b745a[_0x2fed80(0x17a)][_0x3702d1]['x'],_0x4fafc3[_0x3702d1*0x3+0x1]=_0x2b745a[_0x2fed80(0x17a)][_0x3702d1]['y'],_0x4fafc3[_0x3702d1*0x3+0x2]=_0x2b745a[_0x2fed80(0x17a)][_0x3702d1]['z'];}_0x153704[_0x2fed80(0x177)](_0x2fed80(0x18e),new webgpu.Float32BufferAttribute(_0x4fafc3,0x3));if(_0x2b745a['indices']&&_0x2b745a[_0x2fed80(0x192)][_0x2fed80(0x17e)]>0x0)_0x153704['setIndex'](_0x2b745a[_0x2fed80(0x192)]);else {const _0x278f42=[];let _0x4912f8=Infinity,_0x2588b8=-Infinity,_0x471120=Infinity,_0x2024bd=-Infinity,_0xc4b737=Infinity,_0x2c4ef6=-Infinity;for(let _0xb6384a=0x0;_0xb6384a<_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)];_0xb6384a++){const _0x2fe66d=_0x2b745a['vertices'][_0xb6384a];_0x471120=Math['min'](_0x471120,_0x2fe66d['x']),_0x2024bd=Math[_0x2fed80(0x17f)](_0x2024bd,_0x2fe66d['x']),_0x4912f8=Math['min'](_0x4912f8,_0x2fe66d['y']),_0x2588b8=Math[_0x2fed80(0x17f)](_0x2588b8,_0x2fe66d['y']),_0xc4b737=Math['min'](_0xc4b737,_0x2fe66d['z']),_0x2c4ef6=Math[_0x2fed80(0x17f)](_0x2c4ef6,_0x2fe66d['z']);}const _0x1532ef=_0x2024bd-_0x471120,_0x1be168=_0x2588b8-_0x4912f8,_0x14b989=_0x2c4ef6-_0xc4b737;if(_0x1be168<=_0x1532ef&&_0x1be168<=_0x14b989){for(let _0x5645e6=0x0;_0x5645e6<_0x2b745a[_0x2fed80(0x17a)]['length'];_0x5645e6++){_0x278f42[_0x2fed80(0x161)](_0x2b745a[_0x2fed80(0x17a)][_0x5645e6]['x']),_0x278f42[_0x2fed80(0x161)](_0x2b745a[_0x2fed80(0x17a)][_0x5645e6]['z']);}}else {if(_0x1532ef<=_0x1be168&&_0x1532ef<=_0x14b989){for(let _0x59962f=0x0;_0x59962f<_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)];_0x59962f++){_0x278f42[_0x2fed80(0x161)](_0x2b745a[_0x2fed80(0x17a)][_0x59962f]['y']),_0x278f42['push'](_0x2b745a[_0x2fed80(0x17a)][_0x59962f]['z']);}}else {for(let _0x3b613a=0x0;_0x3b613a<_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)];_0x3b613a++){_0x278f42[_0x2fed80(0x161)](_0x2b745a[_0x2fed80(0x17a)][_0x3b613a]['x']),_0x278f42[_0x2fed80(0x161)](_0x2b745a[_0x2fed80(0x17a)][_0x3b613a]['y']);}}}const _0x1c58fd=this['calculatePolygonArea'](_0x278f42),_0x36d9e2=_0x1c58fd<0x0;if(_0x36d9e2){console['warn'](_0x2fed80(0x16c)),_0x278f42['reverse']();const _0xbefa4a=[];for(let _0x1d0165=_0x278f42[_0x2fed80(0x17e)]-0x2;_0x1d0165>=0x0;_0x1d0165-=0x2){_0xbefa4a[_0x2fed80(0x161)](_0x278f42[_0x1d0165],_0x278f42[_0x1d0165+0x1]);}_0x278f42[_0x2fed80(0x17e)]=0x0,_0x278f42[_0x2fed80(0x161)](..._0xbefa4a);}try{const _0x3c96bb=_0x41fda6(_0x278f42,undefined,0x2);if(_0x3c96bb&&_0x3c96bb['length']>0x0){if(_0x36d9e2)for(let _0x561008=0x0;_0x561008<_0x3c96bb[_0x2fed80(0x17e)];_0x561008+=0x3){const _0x439a43=_0x3c96bb[_0x561008];_0x3c96bb[_0x561008]=_0x3c96bb[_0x561008+0x2],_0x3c96bb[_0x561008+0x2]=_0x439a43;}_0x153704['setIndex'](_0x3c96bb);}else console[_0x2fed80(0x183)]('CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result');}catch(_0x41273c){console['error']('CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:',_0x41273c);}}if(_0x2b745a[_0x2fed80(0x194)]&&_0x2b745a[_0x2fed80(0x194)]['length']===_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)]){const _0x2ef9ba=new Float32Array(_0x2b745a[_0x2fed80(0x194)]['length']*0x3);for(let _0x2a1d9a=0x0;_0x2a1d9a<_0x2b745a[_0x2fed80(0x194)]['length'];_0x2a1d9a++){_0x2ef9ba[_0x2a1d9a*0x3]=_0x2b745a['normals'][_0x2a1d9a]['x'],_0x2ef9ba[_0x2a1d9a*0x3+0x1]=_0x2b745a[_0x2fed80(0x194)][_0x2a1d9a]['y'],_0x2ef9ba[_0x2a1d9a*0x3+0x2]=_0x2b745a[_0x2fed80(0x194)][_0x2a1d9a]['z'];}_0x153704[_0x2fed80(0x177)]('normal',new webgpu.Float32BufferAttribute(_0x2ef9ba,0x3));}else _0x153704[_0x2fed80(0x168)]();if(_0x2b745a[_0x2fed80(0x186)]&&_0x2b745a[_0x2fed80(0x186)][_0x2fed80(0x17e)]>0x0){const _0x3617e2=new Float32Array(_0x2b745a['uvs'][_0x2fed80(0x17e)]*0x2);for(let _0x5a3d7e=0x0;_0x5a3d7e<_0x2b745a[_0x2fed80(0x186)][_0x2fed80(0x17e)];_0x5a3d7e++){_0x3617e2[_0x5a3d7e*0x2]=_0x2b745a['uvs'][_0x5a3d7e]['x'],_0x3617e2[_0x5a3d7e*0x2+0x1]=_0x2b745a['uvs'][_0x5a3d7e]['y'];}_0x153704[_0x2fed80(0x177)]('uv',new webgpu.Float32BufferAttribute(_0x3617e2,0x2));}else {const _0x20a306=this[_0x2fed80(0x16b)](_0x2b745a[_0x2fed80(0x17a)]);_0x153704[_0x2fed80(0x177)]('uv',new webgpu.Float32BufferAttribute(_0x20a306,0x2));}if(_0x2b745a['colors']&&_0x2b745a[_0x2fed80(0x193)][_0x2fed80(0x17e)]===_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)]){const _0x5589b0=new Float32Array(_0x2b745a[_0x2fed80(0x193)][_0x2fed80(0x17e)]*0x3);for(let _0x3e5c14=0x0;_0x3e5c14<_0x2b745a['colors']['length'];_0x3e5c14++){_0x5589b0[_0x3e5c14*0x3]=_0x2b745a['colors'][_0x3e5c14]['r'],_0x5589b0[_0x3e5c14*0x3+0x1]=_0x2b745a[_0x2fed80(0x193)][_0x3e5c14]['g'],_0x5589b0[_0x3e5c14*0x3+0x2]=_0x2b745a[_0x2fed80(0x193)][_0x3e5c14]['b'];}_0x153704[_0x2fed80(0x177)](_0x2fed80(0x16f),new webgpu.Float32BufferAttribute(_0x5589b0,0x3));}return _0x153704;}set[_0x3027e9(0x157)](_0x3cdd12){const _0x742519=_0x3027e9;var _0x4be2df,_0x1c9364,_0x241788;this['_geometryPtr']&&this[_0x742519(0x15d)][_0x742519(0x188)]();const _0x237c8d=this[_0x742519(0x184)](_0x3cdd12);this[_0x742519(0x15d)]=this[_0x742519(0x17c)]['assetManager']['addGeometryAsset'](_0x237c8d),this['threeObject'][_0x742519(0x18c)]=_0x237c8d,this['_meshData']={'vertices':_0x3cdd12[_0x742519(0x17a)][_0x742519(0x160)](_0x4e24c5=>_0x4e24c5['clone']()),'indices':_0x3cdd12[_0x742519(0x192)]?[..._0x3cdd12['indices']]:undefined,'normals':(_0x4be2df=_0x3cdd12[_0x742519(0x194)])===null||_0x4be2df===void 0?void 0:_0x4be2df[_0x742519(0x160)](_0x219d4e=>_0x219d4e[_0x742519(0x185)]()),'uvs':(_0x1c9364=_0x3cdd12['uvs'])===null||_0x1c9364===void 0?void 0:_0x1c9364['map'](_0x3cc072=>_0x3cc072['clone']()),'colors':(_0x241788=_0x3cdd12[_0x742519(0x193)])===null||_0x241788===void 0?void 0:_0x241788[_0x742519(0x160)](_0x1636f7=>_0x1636f7[_0x742519(0x185)]())},this[_0x742519(0x178)]&&this['world']['viewport'][_0x742519(0x172)]();}get[_0x3027e9(0x157)](){const _0x458c9c=_0x3027e9;return this[_0x458c9c(0x166)];}['createDefaultObject'](){return new webgpu.Mesh();}set[_0x3027e9(0x155)](_0x146546){const _0x3f75e2=_0x3027e9;if(this[_0x3f75e2(0x181)])this[_0x3f75e2(0x181)][_0x3f75e2(0x155)]=_0x146546;}get[_0x3027e9(0x155)](){const _0x532a0d=_0x3027e9;return this[_0x532a0d(0x181)]?this['threeObject'][_0x532a0d(0x155)]:![];}set['receiveShadow'](_0x401a55){const _0x5bec86=_0x3027e9;if(!this[_0x5bec86(0x181)])return;this[_0x5bec86(0x181)][_0x5bec86(0x167)]=_0x401a55;}get[_0x3027e9(0x167)](){const _0x17726a=_0x3027e9;return this[_0x17726a(0x181)]?this[_0x17726a(0x181)][_0x17726a(0x167)]:![];}[_0x3027e9(0x15a)](){const _0x258922=_0x3027e9;let _0x3b6aea=new webgpu.Vector3();return this[_0x258922(0x159)]()['getCenter'](_0x3b6aea),_0x3b6aea;}['getBoundsTopCenterPosition'](){const _0x2d4993=_0x3027e9;let _0x515810=new webgpu.Vector3(),_0x2c539f=this[_0x2d4993(0x159)]();return _0x2c539f['getCenter'](_0x515810),_0x515810['y']=_0x2c539f[_0x2d4993(0x17f)]['y'],_0x515810;}[_0x3027e9(0x156)](){const _0x1a731b=_0x3027e9;let _0x294d9d=new webgpu.Vector3(),_0x30e5d1=this[_0x1a731b(0x159)]();return _0x30e5d1['getCenter'](_0x294d9d),_0x294d9d['y']=_0x30e5d1[_0x1a731b(0x190)]['y'],_0x294d9d;}[_0x3027e9(0x15c)](){const _0xff3dc0=_0x3027e9;var _0x3bd102,_0x51496e;this['threeObject']&&this['threeObject'][_0xff3dc0(0x15b)](),(_0x3bd102=this['_geometryPtr'])===null||_0x3bd102===void 0?void 0:_0x3bd102[_0xff3dc0(0x188)](),(_0x51496e=this['_materialPtr'])===null||_0x51496e===void 0?void 0:_0x51496e[_0xff3dc0(0x188)](),super[_0xff3dc0(0x15c)]();}}
|
|
122
133
|
|
|
123
|
-
(function(
|
|
134
|
+
function _0x63a5(_0x40170a,_0x3462dc){_0x40170a=_0x40170a-0x116;var _0x247cb4=_0x247c();var _0x63a513=_0x247cb4[_0x40170a];return _0x63a513;}(function(_0x1cc6dd,_0xe4d71){var _0x2dfb92=_0x63a5,_0x1d786f=_0x1cc6dd();while(!![]){try{var _0x19795f=-parseInt(_0x2dfb92(0x11c))/0x1*(parseInt(_0x2dfb92(0x11e))/0x2)+-parseInt(_0x2dfb92(0x117))/0x3+-parseInt(_0x2dfb92(0x116))/0x4*(parseInt(_0x2dfb92(0x11a))/0x5)+parseInt(_0x2dfb92(0x11f))/0x6+-parseInt(_0x2dfb92(0x11d))/0x7+parseInt(_0x2dfb92(0x118))/0x8*(-parseInt(_0x2dfb92(0x11b))/0x9)+parseInt(_0x2dfb92(0x119))/0xa;if(_0x19795f===_0xe4d71)break;else _0x1d786f['push'](_0x1d786f['shift']());}catch(_0x32bf9c){_0x1d786f['push'](_0x1d786f['shift']());}}}(_0x247c,0x6215f));class SphereComponent extends MeshComponent{constructor(_0x3bd3f2,_0x3d3c85,_0x4b91b5=new webgpu.MeshBasicMaterial(),_0xe82ff8=0x20,_0x24ad59=0x10,_0x58153e){super(_0x3bd3f2,new webgpu.SphereGeometry(_0x3d3c85,_0xe82ff8,_0x24ad59),_0x4b91b5,_0x58153e);}}function _0x247c(){var _0x2d3d81=['552092koskkM','773568GjwctW','32khntTE','23677100GcARSk','25ipKNDR','620001uRbKVd','2559NAjlzu','5590081kIEIjg','96woPOtC','1073946xlDFon'];_0x247c=function(){return _0x2d3d81;};return _0x247c();}
|
|
124
135
|
|
|
125
|
-
|
|
136
|
+
const _0x2843dc=_0x3ca6;(function(_0x1d87f7,_0x2b889a){const _0x35b46e=_0x3ca6,_0x3a8b78=_0x1d87f7();while(!![]){try{const _0x2136b=parseInt(_0x35b46e(0x1ad))/0x1*(parseInt(_0x35b46e(0x1b1))/0x2)+parseInt(_0x35b46e(0x198))/0x3*(parseInt(_0x35b46e(0x1a0))/0x4)+parseInt(_0x35b46e(0x1a8))/0x5*(parseInt(_0x35b46e(0x19b))/0x6)+parseInt(_0x35b46e(0x1a9))/0x7+-parseInt(_0x35b46e(0x195))/0x8*(parseInt(_0x35b46e(0x19f))/0x9)+parseInt(_0x35b46e(0x1ae))/0xa*(-parseInt(_0x35b46e(0x1ac))/0xb)+parseInt(_0x35b46e(0x1a4))/0xc*(-parseInt(_0x35b46e(0x1aa))/0xd);if(_0x2136b===_0x2b889a)break;else _0x3a8b78['push'](_0x3a8b78['shift']());}catch(_0x2ce6c4){_0x3a8b78['push'](_0x3a8b78['shift']());}}}(_0x183a,0xe4969));function _0x183a(){const _0x4c9d30=['11XbWHEG','11197ARBbwn','5364530KWcGFy','isHoverEnabled','copy','158IYDzSj','16olvnfc','center','obj','6FzcxzT','setVisible','addEventListener','56208mMfCgG','userData','pointerdown','pointerEvents','3572919pnFMGJ','729692ONuhGO','threeObject','auto','destroy','31572SPFHhI','enablePointerEvents','isClickEnabled','element','235XwVEgo','9730042NFjGlH','4017jwXTMY','innerHTML'];_0x183a=function(){return _0x4c9d30;};return _0x183a();}function _0x3ca6(_0x5e7825,_0x430a6f){_0x5e7825=_0x5e7825-0x195;const _0x183a5f=_0x183a();let _0x3ca647=_0x183a5f[_0x5e7825];return _0x3ca647;}class LabelComponent extends SceneComponent{get[_0x2843dc(0x1a1)](){const _0x5b9702=_0x2843dc;return this[_0x5b9702(0x197)];}set[_0x2843dc(0x1a1)](_0x422a27){const _0x44b98c=_0x2843dc;this[_0x44b98c(0x197)]=_0x422a27,this[_0x44b98c(0x197)]&&(this[_0x44b98c(0x197)][_0x44b98c(0x19c)]['LYObject']=this);}constructor(_0x2af2b5,_0x320d0c,_0x34960c={},_0xf6a3d3){const _0x36ee59=_0x2843dc;super(_0x2af2b5,_0xf6a3d3),this[_0x36ee59(0x197)]=new CSS2DRenderer_js.CSS2DObject(_0x320d0c);const _0x51277c=_0x34960c[_0x36ee59(0x196)]||new webgpu.Vector2(0.5,0x1);_0x34960c[_0x36ee59(0x1a5)]&&(_0x320d0c['style'][_0x36ee59(0x19e)]=_0x36ee59(0x1a2),_0x320d0c[_0x36ee59(0x19a)](_0x36ee59(0x19d),_0x485490=>{_0x485490['stopPropagation']();})),this[_0x36ee59(0x197)][_0x36ee59(0x196)][_0x36ee59(0x1b0)](_0x51277c);}set[_0x2843dc(0x1af)](_0x93f552){return;}set[_0x2843dc(0x1a6)](_0x6520db){return;}[_0x2843dc(0x199)](_0x4f4916){super['setVisible'](_0x4f4916);}[_0x2843dc(0x1a3)](){const _0x384026=_0x2843dc;this[_0x384026(0x1a1)]['element']&&this[_0x384026(0x1a1)][_0x384026(0x1a7)]['parentNode']&&(this['threeObject'][_0x384026(0x1a7)][_0x384026(0x1ab)]='',this['threeObject'][_0x384026(0x1a7)]['remove']()),super['destroy']();}}
|
|
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
|
+
function _0x3bd1(){const _0x538e0b=['blendDstAlpha','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','3uoMyaS','occlusionCandidates','max','object','100%','none','div','name','opacity','dataset','needsUpdate','quaternion','obj','world','divideScalar','__depth_mask','tickFunc','sort','overflow','fromBufferAttribute','colorWrite','setupOcclusionTick','intersectObjects','remove','iframe','polygonOffset','isMesh','viewport','1143989pFgCfp','78XeXCrz','distance','blendDst','camera','app','traverse','409522iitSiJ','removeTickingFunction','getX','threeObject\x20is\x20null','blendSrcAlpha','hidden','width','floor','crossVectors','lazy','castShadow','blendSrc','getSize','1714168ZbQaqU','createDefaultObject','__alpha_punch','appendChild','true','95648nOzFbY','getWorldPosition','style','threeObject','rayIgnored','targetMesh','setAttribute','length','pointerEvents','102535EliJvY','depthTest','count','about:blank','outer','dispose','raycaster','abs','allow','subVectors','depthWrite','height','min','set','round','cameraWorldPos','backfaceVisibility','rayDir','removeFromParent','239114TTfCGb','getIndex','includes','push','isArray','14244494XDHjGX','63dbvXyt','meshes','geometry','receiveShadow','fog','polygonOffsetFactor','computeBoundingBox','createElement','lengthSq','getAttribute','material','parent','__css3d_web','add','destroy','auto','setupMasks','panelWorldPos','canvas','depthMaskMeshes','alphaPunchMeshes','src','userData','wrapper','wallboard','setFromUnitVectors','scene','transparent','border','10mosxkt','scale','test','position','blending','visible','renderOrder','toneMapped','boundingBox'];_0x3bd1=function(){return _0x538e0b;};return _0x3bd1();}const _0x205dd5=_0x1675;(function(_0x3dba26,_0x4820cd){const _0x5b760f=_0x1675,_0xd6be0a=_0x3dba26();while(!![]){try{const _0x248405=-parseInt(_0x5b760f(0x1d5))/0x1+-parseInt(_0x5b760f(0x184))/0x2*(-parseInt(_0x5b760f(0x1b2))/0x3)+-parseInt(_0x5b760f(0x1e2))/0x4+-parseInt(_0x5b760f(0x1f0))/0x5*(parseInt(_0x5b760f(0x1cf))/0x6)+parseInt(_0x5b760f(0x1ce))/0x7+parseInt(_0x5b760f(0x1e7))/0x8*(-parseInt(_0x5b760f(0x18a))/0x9)+parseInt(_0x5b760f(0x1a7))/0xa*(parseInt(_0x5b760f(0x189))/0xb);if(_0x248405===_0x4820cd)break;else _0xd6be0a['push'](_0xd6be0a['shift']());}catch(_0x42fca1){_0xd6be0a['push'](_0xd6be0a['shift']());}}}(_0x3bd1,0x5f1d7));function _0x1675(_0x24a0db,_0x2e3518){_0x24a0db=_0x24a0db-0x17f;const _0x3bd1eb=_0x3bd1();let _0x16754b=_0x3bd1eb[_0x24a0db];return _0x16754b;}function normalizeAssetUrl(_0x1a5732){const _0x4762fe=_0x1675,_0x36d98e=String(_0x1a5732!==null&&_0x1a5732!==void 0?_0x1a5732:'')['trim']();if(!_0x36d98e)return '';if(/^https?:\/\//i[_0x4762fe(0x1a9)](_0x36d98e))return _0x36d98e;if(_0x36d98e['startsWith']('/'))return _0x36d98e;return '/'+_0x36d98e;}function getMeshPlaneLocalSize(_0x12b83a){const _0x26f594=_0x1675,_0x16c70b=_0x12b83a[_0x26f594(0x18c)];if(!_0x16c70b)return {'width':0x1,'height':0x1};if(!_0x16c70b[_0x26f594(0x1af)])_0x16c70b[_0x26f594(0x190)]();const _0x54b10e=_0x16c70b[_0x26f594(0x1af)];if(!_0x54b10e)return {'width':0x1,'height':0x1};const _0x459695=_0x54b10e[_0x26f594(0x1e1)](new three.Vector3()),_0x5a31ad=[Math[_0x26f594(0x1f7)](_0x459695['x']),Math[_0x26f594(0x1f7)](_0x459695['y']),Math[_0x26f594(0x1f7)](_0x459695['z'])][_0x26f594(0x1c3)]((_0x4ff8e6,_0x287122)=>_0x287122-_0x4ff8e6),_0x2425d7=Math['max'](0.0001,_0x5a31ad[0x0]||0x1),_0x5c314d=Math['max'](0.0001,_0x5a31ad[0x1]||_0x2425d7);return {'width':_0x2425d7,'height':_0x5c314d};}function getMeshLocalNormal(_0x102da7){const _0x59e15d=_0x1675,_0x55e16f=_0x102da7['geometry'];if(!_0x55e16f)return new three.Vector3(0x0,0x0,0x1);const _0x4e957b=_0x55e16f[_0x59e15d(0x193)]('normal');if(_0x4e957b&&_0x4e957b['count']>0x0){const _0x1049e1=new three.Vector3(),_0x7e4ffb=new three.Vector3();for(let _0x1f3b44=0x0;_0x1f3b44<_0x4e957b['count'];_0x1f3b44++){_0x7e4ffb[_0x59e15d(0x1c5)](_0x4e957b,_0x1f3b44),_0x1049e1[_0x59e15d(0x197)](_0x7e4ffb);}if(_0x1049e1[_0x59e15d(0x192)]()>1e-12)return _0x1049e1['normalize']();}const _0x4b2edc=_0x55e16f['getAttribute']('position');if(!_0x4b2edc||_0x4b2edc[_0x59e15d(0x1f2)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x337572=_0x55e16f[_0x59e15d(0x185)](),_0x48f5ea=new three.Vector3(),_0x529684=new three.Vector3(),_0x4c401f=new three.Vector3(),_0x9a8e23=new three.Vector3(),_0x110657=new three.Vector3(),_0x1c0162=new three.Vector3(),_0x648218=new three.Vector3(),_0x41e3ec=_0x337572?Math[_0x59e15d(0x1dc)](_0x337572[_0x59e15d(0x1f2)]/0x3):Math[_0x59e15d(0x1dc)](_0x4b2edc[_0x59e15d(0x1f2)]/0x3);for(let _0x56f3ae=0x0;_0x56f3ae<_0x41e3ec;_0x56f3ae++){const _0x53d4fc=_0x337572?_0x337572[_0x59e15d(0x1d7)](_0x56f3ae*0x3+0x0):_0x56f3ae*0x3+0x0,_0x56c152=_0x337572?_0x337572[_0x59e15d(0x1d7)](_0x56f3ae*0x3+0x1):_0x56f3ae*0x3+0x1,_0x40c6d5=_0x337572?_0x337572[_0x59e15d(0x1d7)](_0x56f3ae*0x3+0x2):_0x56f3ae*0x3+0x2;_0x48f5ea[_0x59e15d(0x1c5)](_0x4b2edc,_0x53d4fc),_0x529684[_0x59e15d(0x1c5)](_0x4b2edc,_0x56c152),_0x4c401f[_0x59e15d(0x1c5)](_0x4b2edc,_0x40c6d5),_0x9a8e23[_0x59e15d(0x1f9)](_0x529684,_0x48f5ea),_0x110657[_0x59e15d(0x1f9)](_0x4c401f,_0x48f5ea),_0x648218[_0x59e15d(0x1dd)](_0x9a8e23,_0x110657);if(_0x648218[_0x59e15d(0x192)]()<1e-14)continue;_0x1c0162[_0x59e15d(0x197)](_0x648218);}if(_0x1c0162[_0x59e15d(0x192)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x1c0162['normalize']();}function collectOcclusionMeshes(_0x1a38f6){const _0xbafcb1=_0x1675,_0x2d5296=[];return _0x1a38f6[_0xbafcb1(0x1d4)](_0x1dd3d3=>{const _0x383d6b=_0xbafcb1;var _0x4afb65;const _0x581515=_0x1dd3d3;if(!(_0x581515===null||_0x581515===void 0?void 0:_0x581515[_0x383d6b(0x1cc)]))return;if(!_0x1dd3d3[_0x383d6b(0x1ac)])return;if((_0x4afb65=_0x1dd3d3['userData'])===null||_0x4afb65===void 0?void 0:_0x4afb65[_0x383d6b(0x1eb)])return;_0x2d5296[_0x383d6b(0x187)](_0x1dd3d3);}),_0x2d5296;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x205dd5(0x1ea)](){const _0x41af70=_0x205dd5;if(!this[_0x41af70(0x1be)])throw new Error(_0x41af70(0x1d8));return this[_0x41af70(0x1be)];}set[_0x205dd5(0x1ea)](_0x2b38f5){const _0x4bca1f=_0x205dd5;this['obj']=_0x2b38f5,this[_0x4bca1f(0x1be)]&&(this['obj'][_0x4bca1f(0x1a0)]['LYObject']=this);}constructor(_0x4822cc,_0x552b67,_0x35c5b1,_0x534882){const _0x297625=_0x205dd5;super(_0x4822cc,_0x534882),this[_0x297625(0x1a1)]=null,this[_0x297625(0x1ca)]=null,this[_0x297625(0x1ec)]=null,this[_0x297625(0x19d)]=[],this['alphaPunchMeshes']=[],this[_0x297625(0x1c2)]=null,this[_0x297625(0x180)]=new three.Vector3(),this[_0x297625(0x19b)]=new three.Vector3(),this['rayDir']=new three.Vector3(),this[_0x297625(0x1f6)]=new three.Raycaster(),this['occlusionCandidates']=[],this['name']='CSS3DWebPanelComponent',this[_0x297625(0x18b)]=_0x552b67['filter'](_0x2e043a=>!!_0x2e043a);const _0x1780a2=normalizeAssetUrl(_0x35c5b1);if(!_0x1780a2||!this[_0x297625(0x18b)][_0x297625(0x1ee)])return;this[_0x297625(0x1ec)]=this['meshes'][0x0];const _0x56512e=getMeshPlaneLocalSize(this[_0x297625(0x1ec)]),_0x1a3aa0=0x4b0,_0x10b7f9=Math['max'](0x200,Math[_0x297625(0x1fc)](0x1000,Math[_0x297625(0x17f)](_0x56512e[_0x297625(0x1db)]*_0x1a3aa0))),_0x5a08a1=Math['max'](0x200,Math[_0x297625(0x1fc)](0x1000,Math[_0x297625(0x17f)](_0x56512e[_0x297625(0x1fb)]*_0x1a3aa0))),_0x414f19=document[_0x297625(0x191)](_0x297625(0x1b8));_0x414f19[_0x297625(0x1e9)][_0x297625(0x1db)]=_0x10b7f9+'px',_0x414f19[_0x297625(0x1e9)][_0x297625(0x1fb)]=_0x5a08a1+'px',_0x414f19[_0x297625(0x1e9)]['pointerEvents']=_0x297625(0x199),_0x414f19[_0x297625(0x1e9)][_0x297625(0x1c4)]=_0x297625(0x1da),_0x414f19[_0x297625(0x1e9)]['background']=_0x297625(0x1a5),_0x414f19[_0x297625(0x1e9)][_0x297625(0x181)]=_0x297625(0x1da),this['wrapper']=_0x414f19;const _0x59ef96=document[_0x297625(0x191)]('iframe');_0x59ef96[_0x297625(0x19f)]=_0x1780a2,_0x59ef96['style'][_0x297625(0x1db)]=_0x297625(0x1b6),_0x59ef96[_0x297625(0x1e9)][_0x297625(0x1fb)]=_0x297625(0x1b6),_0x59ef96['style'][_0x297625(0x1a6)]='0',_0x59ef96[_0x297625(0x1e9)]['background']=_0x297625(0x1a5),_0x59ef96[_0x297625(0x1e9)][_0x297625(0x1ef)]='auto',_0x59ef96['style'][_0x297625(0x181)]=_0x297625(0x1da),_0x59ef96[_0x297625(0x1ed)](_0x297625(0x1f8),_0x297625(0x1b1)),_0x59ef96[_0x297625(0x1ed)]('allowfullscreen',_0x297625(0x1e6)),_0x59ef96[_0x297625(0x1ed)]('loading',_0x297625(0x1de)),_0x414f19[_0x297625(0x1e5)](_0x59ef96),this['iframe']=_0x59ef96;const _0xc6e900=new Addons_js.CSS3DObject(_0x414f19);_0xc6e900[_0x297625(0x1b9)]=(this[_0x297625(0x1ec)][_0x297625(0x1b9)]||_0x297625(0x1a2))+_0x297625(0x196),_0xc6e900[_0x297625(0x1aa)]['set'](0x0,0x0,0.001),_0xc6e900[_0x297625(0x1bd)][_0x297625(0x1a3)](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this[_0x297625(0x1ec)])),_0xc6e900['scale']['set'](_0x56512e[_0x297625(0x1db)]/_0x10b7f9,_0x56512e[_0x297625(0x1fb)]/_0x5a08a1,0x1),this[_0x297625(0x1ea)]=_0xc6e900,this['targetMesh']['add'](_0xc6e900),this[_0x297625(0x19a)](),this['occlusionCandidates']=collectOcclusionMeshes(this[_0x297625(0x1d3)][_0x297625(0x1bf)][_0x297625(0x1a4)]),this[_0x297625(0x1c7)]();}[_0x205dd5(0x1e3)](){const _0x3da1e3=_0x205dd5;return new Addons_js.CSS3DObject(document[_0x3da1e3(0x191)](_0x3da1e3(0x1b8)));}[_0x205dd5(0x19a)](){const _0x140ab9=_0x205dd5;var _0x11a1b6;for(const _0x51aabd of this[_0x140ab9(0x18b)]){_0x51aabd['renderOrder']=Math[_0x140ab9(0x1fc)]((_0x11a1b6=_0x51aabd[_0x140ab9(0x1ad)])!==null&&_0x11a1b6!==void 0?_0x11a1b6:0x0,-1e3),_0x51aabd[_0x140ab9(0x1df)]=![],_0x51aabd[_0x140ab9(0x18d)]=![];const _0x11950e=Array[_0x140ab9(0x188)](_0x51aabd['material'])?_0x51aabd[_0x140ab9(0x194)]:[_0x51aabd[_0x140ab9(0x194)]];for(const _0x32cea3 of _0x11950e){const _0x5bcd2c=_0x32cea3;if(!_0x5bcd2c)continue;_0x5bcd2c['transparent']=!![],_0x5bcd2c[_0x140ab9(0x1ba)]=0x0,_0x5bcd2c[_0x140ab9(0x1c6)]=![],_0x5bcd2c[_0x140ab9(0x1f1)]=![],_0x5bcd2c[_0x140ab9(0x1fa)]=![],_0x5bcd2c[_0x140ab9(0x1bc)]=!![];}const _0x51faaf=_0x51aabd[_0x140ab9(0x18c)];if(!_0x51faaf)continue;const _0x15bd79=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x15bd79[_0x140ab9(0x1c6)]=![],_0x15bd79[_0x140ab9(0x1ae)]=![],_0x15bd79[_0x140ab9(0x18e)]=![],_0x15bd79[_0x140ab9(0x1ab)]=three.NoBlending,_0x15bd79[_0x140ab9(0x1cb)]=!![],_0x15bd79[_0x140ab9(0x18f)]=-4,_0x15bd79['polygonOffsetUnits']=-4;const _0x4a636f=new three.Mesh(_0x51faaf,_0x15bd79);_0x4a636f[_0x140ab9(0x1b9)]=(_0x51aabd['name']||_0x140ab9(0x19c))+_0x140ab9(0x1c1),_0x4a636f['userData'][_0x140ab9(0x1eb)]=!![],_0x4a636f[_0x140ab9(0x1ad)]=Math[_0x140ab9(0x1fc)](_0x51aabd[_0x140ab9(0x1ad)]-0x1,-2e3),_0x4a636f['position']['set'](0x0,0x0,0x0),_0x4a636f[_0x140ab9(0x1bd)][_0x140ab9(0x1fd)](0x0,0x0,0x0,0x1),_0x4a636f[_0x140ab9(0x1a8)]['set'](0x1,0x1,0x1),_0x51aabd[_0x140ab9(0x197)](_0x4a636f),this[_0x140ab9(0x19d)][_0x140ab9(0x187)](_0x4a636f);const _0x34621f=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x34621f['toneMapped']=![],_0x34621f['fog']=![],_0x34621f['blendEquation']=three.AddEquation,_0x34621f[_0x140ab9(0x1e0)]=three.ZeroFactor,_0x34621f[_0x140ab9(0x1d1)]=three.OneFactor,_0x34621f[_0x140ab9(0x1d9)]=three.ZeroFactor,_0x34621f[_0x140ab9(0x1b0)]=three.ZeroFactor;const _0x7d8d90=new three.Mesh(_0x51faaf,_0x34621f);_0x7d8d90[_0x140ab9(0x1b9)]=(_0x51aabd['name']||'canvas')+_0x140ab9(0x1e4),_0x7d8d90[_0x140ab9(0x1a0)][_0x140ab9(0x1eb)]=!![],_0x7d8d90[_0x140ab9(0x1ad)]=Math[_0x140ab9(0x1b4)](_0x51aabd[_0x140ab9(0x1ad)]+0x3e8,0x3e8),_0x7d8d90['position'][_0x140ab9(0x1fd)](0x0,0x0,0x0),_0x7d8d90['quaternion'][_0x140ab9(0x1fd)](0x0,0x0,0x0,0x1),_0x7d8d90['scale'][_0x140ab9(0x1fd)](0x1,0x1,0x1),_0x51aabd[_0x140ab9(0x197)](_0x7d8d90),this[_0x140ab9(0x19e)][_0x140ab9(0x187)](_0x7d8d90);}}['setupOcclusionTick'](){const _0x54e5bd=_0x205dd5;let _0x21881f=0x0;this[_0x54e5bd(0x1c2)]=_0x2efb5e=>{const _0xeebe16=_0x54e5bd;var _0x91e221;if(!this[_0xeebe16(0x1ec)]||!this['wrapper']||!this['iframe'])return;_0x21881f+=_0x2efb5e;if(_0x21881f<0.05)return;_0x21881f=0x0;const _0x260352=this['app'][_0xeebe16(0x1d2)];_0x260352[_0xeebe16(0x1e8)](this[_0xeebe16(0x180)]),this[_0xeebe16(0x1ec)][_0xeebe16(0x1e8)](this[_0xeebe16(0x19b)]),this[_0xeebe16(0x182)][_0xeebe16(0x1f9)](this['panelWorldPos'],this[_0xeebe16(0x180)]);const _0x335ec8=this[_0xeebe16(0x182)][_0xeebe16(0x1ee)]();if(_0x335ec8<=0.00001)return;this['rayDir'][_0xeebe16(0x1c0)](_0x335ec8),this['raycaster'][_0xeebe16(0x1fd)](this[_0xeebe16(0x180)],this[_0xeebe16(0x182)]);const _0x4948cf=this['raycaster'][_0xeebe16(0x1c8)](this[_0xeebe16(0x1b3)],!![]);let _0x2f5928=![];const _0x3d6e44=_0x335ec8-0.02;for(const _0x94288d of _0x4948cf){if(_0x94288d[_0xeebe16(0x1d0)]>=_0x3d6e44)break;let _0x5cd241=_0x94288d[_0xeebe16(0x1b5)],_0x250d41=!![];while(_0x5cd241){if(!_0x5cd241[_0xeebe16(0x1ac)]){_0x250d41=![];break;}_0x5cd241=_0x5cd241[_0xeebe16(0x195)];}if(!_0x250d41)continue;_0x5cd241=_0x94288d['object'];let _0x45e3f5=![];while(_0x5cd241){if(this[_0xeebe16(0x18b)][_0xeebe16(0x186)](_0x5cd241)){_0x45e3f5=!![];break;}_0x5cd241=_0x5cd241['parent'];}if(_0x45e3f5)continue;_0x2f5928=!![];break;}const _0x11e51a=((_0x91e221=this[_0xeebe16(0x1d3)][_0xeebe16(0x1cd)][_0xeebe16(0x1f4)])===null||_0x91e221===void 0?void 0:_0x91e221[_0xeebe16(0x1bb)]['lyCameraDragging'])==='1',_0x47a8b9=_0x11e51a||_0x2f5928?_0xeebe16(0x1b7):_0xeebe16(0x199);this[_0xeebe16(0x1a1)][_0xeebe16(0x1e9)][_0xeebe16(0x1ef)]!==_0x47a8b9&&(this[_0xeebe16(0x1a1)][_0xeebe16(0x1e9)][_0xeebe16(0x1ef)]=_0x47a8b9),this[_0xeebe16(0x1ca)][_0xeebe16(0x1e9)]['pointerEvents']!==_0x47a8b9&&(this[_0xeebe16(0x1ca)][_0xeebe16(0x1e9)][_0xeebe16(0x1ef)]=_0x47a8b9);},this[_0x54e5bd(0x1d3)]['addTickingFunction'](this[_0x54e5bd(0x1c2)]);}[_0x205dd5(0x198)](){const _0x3655fa=_0x205dd5;this[_0x3655fa(0x1c2)]&&(this[_0x3655fa(0x1d3)][_0x3655fa(0x1d6)](this[_0x3655fa(0x1c2)]),this[_0x3655fa(0x1c2)]=null);for(const _0x51801d of this['depthMaskMeshes']){_0x51801d['removeFromParent']();const _0x2719c8=_0x51801d['material'];if(Array[_0x3655fa(0x188)](_0x2719c8)){for(const _0x46ad3d of _0x2719c8)_0x46ad3d===null||_0x46ad3d===void 0?void 0:_0x46ad3d[_0x3655fa(0x1f5)]();}else _0x2719c8===null||_0x2719c8===void 0?void 0:_0x2719c8['dispose']();}this[_0x3655fa(0x19d)][_0x3655fa(0x1ee)]=0x0;for(const _0x1790f0 of this[_0x3655fa(0x19e)]){_0x1790f0[_0x3655fa(0x183)]();const _0xddc078=_0x1790f0[_0x3655fa(0x194)];if(Array[_0x3655fa(0x188)](_0xddc078)){for(const _0x57af6a of _0xddc078)_0x57af6a===null||_0x57af6a===void 0?void 0:_0x57af6a[_0x3655fa(0x1f5)]();}else _0xddc078===null||_0xddc078===void 0?void 0:_0xddc078[_0x3655fa(0x1f5)]();}this[_0x3655fa(0x19e)]['length']=0x0,this[_0x3655fa(0x1ca)]&&(this[_0x3655fa(0x1ca)]['src']=_0x3655fa(0x1f3),this['iframe']=null),this['wrapper']&&(this[_0x3655fa(0x1a1)][_0x3655fa(0x1c9)](),this[_0x3655fa(0x1a1)]=null),this['targetMesh']=null,this[_0x3655fa(0x1b3)]=[],super[_0x3655fa(0x198)]();}}
|
|
128
139
|
|
|
129
|
-
const
|
|
140
|
+
const _0x51be40=_0x2b0b;(function(_0x3d2b28,_0xfb1dc3){const _0x25e261=_0x2b0b,_0x299244=_0x3d2b28();while(!![]){try{const _0x13b72a=parseInt(_0x25e261(0xac))/0x1+parseInt(_0x25e261(0xe3))/0x2+-parseInt(_0x25e261(0xb0))/0x3+parseInt(_0x25e261(0xb3))/0x4*(parseInt(_0x25e261(0xa4))/0x5)+-parseInt(_0x25e261(0xdd))/0x6+-parseInt(_0x25e261(0xb1))/0x7+-parseInt(_0x25e261(0xb5))/0x8*(-parseInt(_0x25e261(0xd5))/0x9);if(_0x13b72a===_0xfb1dc3)break;else _0x299244['push'](_0x299244['shift']());}catch(_0x5612b0){_0x299244['push'](_0x299244['shift']());}}}(_0x149c,0x835e3));function _0x2b0b(_0x1c97c9,_0x1307fd){_0x1c97c9=_0x1c97c9-0xa2;const _0x149cc1=_0x149c();let _0x2b0b8d=_0x149cc1[_0x1c97c9];return _0x2b0b8d;}function _0x149c(){const _0x9d4a30=['#ffffff','add','max','_isUnlit','_curveSegments','_font','_mesh','bevelThickness','boundingBox','refreshGeometry','_bevelSegments','_size','curveSegments','dispose','sideColor','loadFontAndRefresh','Failed\x20to\x20load\x20font\x20from\x20','userData','_sideColor','min','bevelSegments','has','bevelEnabled','_fontCache','_height','_bevelOffset','updateMaterial','99JVeqpP','world','_text','loadAsync','_bevelThickness','_fontLoader','color','LYObject','4361382cVJzVI','error','destroy','obj','set','isArray','30542HuESFE','height','_color','geometry','isUnlit','_group','5327965ZgSIAe','translate','createDefaultObject','_bevelSize','https://threejs.org/examples/fonts/helvetiker_regular.typeface.json','viewport','forEach','bevelSize','1039262mVcxHs','remove','fontUrl','_bevelEnabled','1124415NDLhFs','5414052lxfyhA','bevelOffset','4OAwdZY','_fontUrl','213160ywOakY','material','get','text','size'];_0x149c=function(){return _0x9d4a30;};return _0x149c();}class Text3DComponent extends SceneComponent{constructor(_0x23f060,_0x285df6,_0x56c27d){const _0x432665=_0x2b0b;super(_0x23f060,_0x56c27d),this[_0x432665(0xd7)]='Text',this['_fontUrl']=_0x432665(0xa8),this['_size']=0x1,this[_0x432665(0xd2)]=0.2,this[_0x432665(0xbe)]=0xc,this[_0x432665(0xaf)]=![],this[_0x432665(0xd9)]=0.03,this['_bevelSize']=0.02,this[_0x432665(0xd3)]=0x0,this[_0x432665(0xc4)]=0x5,this[_0x432665(0xe5)]=_0x432665(0xba),this[_0x432665(0xcc)]='#ffffff',this[_0x432665(0xbd)]=!![],this[_0x432665(0xbf)]=null,this['_mesh']=null,this['_group']=this[_0x432665(0xe0)];if(_0x285df6){if(_0x285df6[_0x432665(0xb8)]!==undefined)this[_0x432665(0xd7)]=_0x285df6[_0x432665(0xb8)];if(_0x285df6[_0x432665(0xae)]!==undefined)this[_0x432665(0xb4)]=_0x285df6[_0x432665(0xae)];if(_0x285df6[_0x432665(0xb9)]!==undefined)this[_0x432665(0xc5)]=_0x285df6[_0x432665(0xb9)];if(_0x285df6[_0x432665(0xe4)]!==undefined)this['_height']=_0x285df6['height'];if(_0x285df6['curveSegments']!==undefined)this[_0x432665(0xbe)]=_0x285df6[_0x432665(0xc6)];if(_0x285df6[_0x432665(0xd0)]!==undefined)this['_bevelEnabled']=_0x285df6[_0x432665(0xd0)];if(_0x285df6[_0x432665(0xc1)]!==undefined)this[_0x432665(0xd9)]=_0x285df6[_0x432665(0xc1)];if(_0x285df6['bevelSize']!==undefined)this['_bevelSize']=_0x285df6[_0x432665(0xab)];if(_0x285df6[_0x432665(0xb2)]!==undefined)this[_0x432665(0xd3)]=_0x285df6['bevelOffset'];if(_0x285df6[_0x432665(0xce)]!==undefined)this['_bevelSegments']=_0x285df6[_0x432665(0xce)];_0x285df6[_0x432665(0xdb)]!==undefined&&(this[_0x432665(0xe5)]=_0x285df6[_0x432665(0xdb)],this[_0x432665(0xcc)]=_0x285df6[_0x432665(0xdb)]);if(_0x285df6[_0x432665(0xc8)]!==undefined)this['_sideColor']=_0x285df6[_0x432665(0xc8)];if(_0x285df6[_0x432665(0xa2)]!==undefined)this[_0x432665(0xbd)]=_0x285df6[_0x432665(0xa2)];}this['loadFontAndRefresh']();}[_0x51be40(0xa6)](){return new webgpu.Group();}get[_0x51be40(0xb8)](){const _0x45c44d=_0x51be40;return this[_0x45c44d(0xd7)];}set['text'](_0x501e51){const _0x4c6361=_0x51be40;this[_0x4c6361(0xd7)]!==_0x501e51&&(this[_0x4c6361(0xd7)]=_0x501e51,this[_0x4c6361(0xc3)]());}get[_0x51be40(0xdb)](){const _0x464934=_0x51be40;return this[_0x464934(0xe5)];}set['color'](_0x54edc8){const _0x9dd29f=_0x51be40;this[_0x9dd29f(0xe5)]!==_0x54edc8&&(this['_color']=_0x54edc8,this[_0x9dd29f(0xd4)]());}get[_0x51be40(0xc8)](){const _0x173eec=_0x51be40;return this[_0x173eec(0xcc)];}set['sideColor'](_0x16fc93){const _0x4b25ae=_0x51be40;this[_0x4b25ae(0xcc)]!==_0x16fc93&&(this[_0x4b25ae(0xcc)]=_0x16fc93,this[_0x4b25ae(0xd4)]());}get[_0x51be40(0xb9)](){const _0x38e28c=_0x51be40;return this[_0x38e28c(0xc5)];}set[_0x51be40(0xb9)](_0x44022a){const _0x8c1106=_0x51be40;this['_size']!==_0x44022a&&(this['_size']=_0x44022a,this[_0x8c1106(0xc3)]());}get[_0x51be40(0xe4)](){const _0x51efcc=_0x51be40;return this[_0x51efcc(0xd2)];}set[_0x51be40(0xe4)](_0x2bf698){const _0xcd7545=_0x51be40;this[_0xcd7545(0xd2)]!==_0x2bf698&&(this[_0xcd7545(0xd2)]=_0x2bf698,this['refreshGeometry']());}get['fontUrl'](){const _0x28d8cf=_0x51be40;return this[_0x28d8cf(0xb4)];}set[_0x51be40(0xae)](_0x3f6b3f){const _0x33f49f=_0x51be40;this[_0x33f49f(0xb4)]!==_0x3f6b3f&&(this[_0x33f49f(0xb4)]=_0x3f6b3f,this[_0x33f49f(0xc9)]());}async[_0x51be40(0xc9)](){const _0x44ec71=_0x51be40;if(Text3DComponent[_0x44ec71(0xd1)][_0x44ec71(0xcf)](this[_0x44ec71(0xb4)])){this[_0x44ec71(0xbf)]=Text3DComponent['_fontCache'][_0x44ec71(0xb7)](this[_0x44ec71(0xb4)]),this[_0x44ec71(0xc3)]();return;}try{const _0x46169f=await Text3DComponent[_0x44ec71(0xda)][_0x44ec71(0xd8)](this[_0x44ec71(0xb4)]);Text3DComponent[_0x44ec71(0xd1)][_0x44ec71(0xe1)](this['_fontUrl'],_0x46169f),this[_0x44ec71(0xbf)]=_0x46169f,this['refreshGeometry']();}catch(_0x26e089){console[_0x44ec71(0xde)](_0x44ec71(0xca)+this[_0x44ec71(0xb4)]+':',_0x26e089);}}['refreshGeometry'](){const _0x4aa277=_0x51be40;if(!this[_0x4aa277(0xbf)])return;if(this[_0x4aa277(0xc0)]){if(this[_0x4aa277(0xc0)]['geometry'])this['_mesh'][_0x4aa277(0xe6)][_0x4aa277(0xc7)]();this[_0x4aa277(0xa3)][_0x4aa277(0xad)](this['_mesh']);}const _0x5cbaa9=new Addons_js.TextGeometry(this[_0x4aa277(0xd7)],{'font':this['_font'],'size':this[_0x4aa277(0xc5)],'depth':this[_0x4aa277(0xd2)],'curveSegments':this[_0x4aa277(0xbe)],'bevelEnabled':this[_0x4aa277(0xaf)],'bevelThickness':this[_0x4aa277(0xd9)],'bevelSize':this[_0x4aa277(0xa7)],'bevelOffset':this[_0x4aa277(0xd3)],'bevelSegments':this[_0x4aa277(0xc4)]});_0x5cbaa9['computeBoundingBox']();if(_0x5cbaa9[_0x4aa277(0xc2)]){const _0x591a92=-0.5*(_0x5cbaa9['boundingBox'][_0x4aa277(0xbc)]['x']-_0x5cbaa9[_0x4aa277(0xc2)]['min']['x']),_0xeafada=-0.5*(_0x5cbaa9[_0x4aa277(0xc2)][_0x4aa277(0xbc)]['y']-_0x5cbaa9[_0x4aa277(0xc2)][_0x4aa277(0xcd)]['y']);_0x5cbaa9[_0x4aa277(0xa5)](_0x591a92,_0xeafada,0x0);}let _0x3b2576;this[_0x4aa277(0xbd)]?_0x3b2576=[new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x4aa277(0xe5)]),'side':webgpu.DoubleSide}),new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this['_sideColor']),'side':webgpu.DoubleSide})]:_0x3b2576=[new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x4aa277(0xe5)]),'side':webgpu.DoubleSide}),new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x4aa277(0xcc)]),'side':webgpu.DoubleSide})],this[_0x4aa277(0xc0)]=new webgpu.Mesh(_0x5cbaa9,_0x3b2576),this[_0x4aa277(0xc0)][_0x4aa277(0xcb)][_0x4aa277(0xdc)]=this,this[_0x4aa277(0xa3)][_0x4aa277(0xbb)](this['_mesh']),this[_0x4aa277(0xd6)]&&this[_0x4aa277(0xd6)][_0x4aa277(0xa9)]['markRenderStateDirty']();}[_0x51be40(0xd4)](){const _0x9f1b75=_0x51be40;if(!this[_0x9f1b75(0xc0)])return;if(Array[_0x9f1b75(0xe2)](this[_0x9f1b75(0xc0)][_0x9f1b75(0xb6)])){const _0x4475a6=this[_0x9f1b75(0xc0)][_0x9f1b75(0xb6)];_0x4475a6['length']>=0x2&&(_0x4475a6[0x0][_0x9f1b75(0xdb)][_0x9f1b75(0xe1)](this[_0x9f1b75(0xe5)]),_0x4475a6[0x1][_0x9f1b75(0xdb)]['set'](this[_0x9f1b75(0xcc)]));}else {const _0x2be85b=this[_0x9f1b75(0xc0)][_0x9f1b75(0xb6)];_0x2be85b['color'][_0x9f1b75(0xe1)](this['_color']);}this['world']&&this[_0x9f1b75(0xd6)]['viewport']['markRenderStateDirty']();}[_0x51be40(0xdf)](){const _0x454b3f=_0x51be40;if(this[_0x454b3f(0xc0)]){if(this[_0x454b3f(0xc0)]['geometry'])this[_0x454b3f(0xc0)][_0x454b3f(0xe6)][_0x454b3f(0xc7)]();Array[_0x454b3f(0xe2)](this[_0x454b3f(0xc0)][_0x454b3f(0xb6)])?this[_0x454b3f(0xc0)][_0x454b3f(0xb6)][_0x454b3f(0xaa)](_0x41b13c=>_0x41b13c['dispose']()):this['_mesh'][_0x454b3f(0xb6)][_0x454b3f(0xc7)]();}super[_0x454b3f(0xdf)]();}}Text3DComponent['_fontLoader']=new Addons_js.FontLoader(),Text3DComponent[_0x51be40(0xd1)]=new Map();
|
|
130
141
|
|
|
131
|
-
function
|
|
142
|
+
function _0x357a(_0x4b4d92,_0x50861b){_0x4b4d92=_0x4b4d92-0x71;const _0x15d71a=_0x15d7();let _0x357a4c=_0x15d71a[_0x4b4d92];return _0x357a4c;}const _0x4020b5=_0x357a;(function(_0x398b22,_0x52344e){const _0x16059f=_0x357a,_0xb82943=_0x398b22();while(!![]){try{const _0x18af18=parseInt(_0x16059f(0x7d))/0x1*(-parseInt(_0x16059f(0x7c))/0x2)+parseInt(_0x16059f(0x78))/0x3*(parseInt(_0x16059f(0x73))/0x4)+-parseInt(_0x16059f(0x75))/0x5*(-parseInt(_0x16059f(0x71))/0x6)+-parseInt(_0x16059f(0x7b))/0x7+parseInt(_0x16059f(0x77))/0x8+parseInt(_0x16059f(0x79))/0x9*(-parseInt(_0x16059f(0x74))/0xa)+-parseInt(_0x16059f(0x72))/0xb*(-parseInt(_0x16059f(0x76))/0xc);if(_0x18af18===_0x52344e)break;else _0xb82943['push'](_0xb82943['shift']());}catch(_0x28bdd7){_0xb82943['push'](_0xb82943['shift']());}}}(_0x15d7,0x56f50));function _0x15d7(){const _0x1af4ec=['748juWjnw','2819380cdZQPv','1040HbeNFd','75DLuIAp','55620HcSMBi','2133592uEzyTb','3veDgqL','45729zAfLKc','ScreenSpaceReflection','1112664EvFIfs','172BjDhdi','8087VQoLZG','180924ZPbcSA'];_0x15d7=function(){return _0x1af4ec;};return _0x15d7();}const DefaultSSRParam={'type':exports.PostProcessStepType[_0x4020b5(0x7a)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};
|
|
132
143
|
|
|
133
|
-
const
|
|
144
|
+
const _0x4e6824=_0xda9e;function _0xda9e(_0x137394,_0x3f5917){_0x137394=_0x137394-0x150;const _0xbba550=_0xbba5();let _0xda9e0e=_0xbba550[_0x137394];return _0xda9e0e;}(function(_0x894cdd,_0x30298b){const _0x9c331b=_0xda9e,_0x18ddbb=_0x894cdd();while(!![]){try{const _0x441e75=-parseInt(_0x9c331b(0x151))/0x1*(-parseInt(_0x9c331b(0x15c))/0x2)+parseInt(_0x9c331b(0x158))/0x3+-parseInt(_0x9c331b(0x15a))/0x4+-parseInt(_0x9c331b(0x150))/0x5+parseInt(_0x9c331b(0x153))/0x6*(-parseInt(_0x9c331b(0x159))/0x7)+-parseInt(_0x9c331b(0x157))/0x8*(parseInt(_0x9c331b(0x154))/0x9)+parseInt(_0x9c331b(0x156))/0xa*(parseInt(_0x9c331b(0x155))/0xb);if(_0x441e75===_0x30298b)break;else _0x18ddbb['push'](_0x18ddbb['shift']());}catch(_0x5d334a){_0x18ddbb['push'](_0x18ddbb['shift']());}}}(_0xbba5,0xbfa3f));const DefaultAAParams={'type':exports.PostProcessStepType[_0x4e6824(0x15b)],'method':_0x4e6824(0x152)};function _0xbba5(){const _0x5b8390=['4723756fZvwnP','Antialiasing','2jZNolL','1742645KqMHQP','870323xMOjOl','fxaa','438vxOZVU','546246GeHNWr','14487FpvgDR','7760oorNRS','56ONvVKu','3432897gMuMFX','28511dScvUr'];_0xbba5=function(){return _0x5b8390;};return _0xbba5();}
|
|
134
145
|
|
|
135
|
-
const
|
|
146
|
+
const _0x23bdd8=_0x1490;(function(_0x304b5e,_0x4e0261){const _0x26d0d9=_0x1490,_0x3ade70=_0x304b5e();while(!![]){try{const _0x1fe5f9=parseInt(_0x26d0d9(0xa3))/0x1+parseInt(_0x26d0d9(0xb9))/0x2+parseInt(_0x26d0d9(0x8a))/0x3*(parseInt(_0x26d0d9(0xbe))/0x4)+-parseInt(_0x26d0d9(0x88))/0x5*(parseInt(_0x26d0d9(0x8f))/0x6)+-parseInt(_0x26d0d9(0x8e))/0x7*(parseInt(_0x26d0d9(0x98))/0x8)+-parseInt(_0x26d0d9(0x86))/0x9*(-parseInt(_0x26d0d9(0x96))/0xa)+parseInt(_0x26d0d9(0x89))/0xb*(-parseInt(_0x26d0d9(0xbb))/0xc);if(_0x1fe5f9===_0x4e0261)break;else _0x3ade70['push'](_0x3ade70['shift']());}catch(_0x2bee30){_0x3ade70['push'](_0x3ade70['shift']());}}}(_0x1f90,0x3d499));function _0x1490(_0x4cdcc5,_0x13c6df){_0x4cdcc5=_0x4cdcc5-0x83;const _0x1f90e7=_0x1f90();let _0x1490ee=_0x1f90e7[_0x4cdcc5];return _0x1490ee;}class ColliderComponent extends SceneComponent{get[_0x23bdd8(0x92)](){const _0x5148e4=_0x23bdd8;return this[_0x5148e4(0x94)];}set[_0x23bdd8(0x92)](_0x3a104c){const _0xb15706=_0x23bdd8;var _0x230652,_0x51a58b,_0x573923;if(this[_0xb15706(0x94)]===_0x3a104c)return;this[_0xb15706(0x94)]=_0x3a104c,this[_0xb15706(0x94)]?this[_0xb15706(0x8d)]():this[_0xb15706(0xaa)](),(_0x573923=(_0x51a58b=(_0x230652=this[_0xb15706(0x87)])===null||_0x230652===void 0?void 0:_0x230652[_0xb15706(0x91)])===null||_0x51a58b===void 0?void 0:_0x51a58b[_0xb15706(0xa1)])===null||_0x573923===void 0?void 0:_0x573923['call'](_0x51a58b);}get[_0x23bdd8(0xa2)](){const _0x578e8a=_0x23bdd8;return this[_0x578e8a(0xa4)];}set[_0x23bdd8(0xa2)](_0x39f17b){const _0x12b47f=_0x23bdd8;this['_debugColor']=_0x39f17b,this[_0x12b47f(0x94)]&&this[_0x12b47f(0xaf)]();}get[_0x23bdd8(0x8c)](){return this['_debugOpacity'];}set[_0x23bdd8(0x8c)](_0x1ef11b){const _0x36b37f=_0x23bdd8;this[_0x36b37f(0xbc)]=_0x1ef11b,this['_debugEnabled']&&this[_0x36b37f(0xaf)]();}get[_0x23bdd8(0xc3)](){const _0x17fdd9=_0x23bdd8;return this[_0x17fdd9(0xa8)];}set[_0x23bdd8(0xc3)](_0x4ceaa2){const _0x25afed=_0x23bdd8;this[_0x25afed(0xa8)]=_0x4ceaa2;}get['generateOverlapEvents'](){const _0x1103f3=_0x23bdd8;return this[_0x1103f3(0x9b)];}set[_0x23bdd8(0xa5)](_0x136e3b){const _0x4556f7=_0x23bdd8;this[_0x4556f7(0x9b)]=_0x136e3b;}get[_0x23bdd8(0x9f)](){const _0x39a91a=_0x23bdd8;return this[_0x39a91a(0xb5)];}set[_0x23bdd8(0x9f)](_0x11f0c6){const _0xce2a8a=_0x23bdd8;this[_0xce2a8a(0xb5)]=_0x11f0c6;}get[_0x23bdd8(0x9c)](){const _0x116606=_0x23bdd8;return this[_0x116606(0x8b)];}set[_0x23bdd8(0x9c)](_0x1043dd){const _0x8a0b30=_0x23bdd8;this[_0x8a0b30(0x8b)]=_0x1043dd;}get[_0x23bdd8(0xad)](){const _0x13716d=_0x23bdd8;return this[_0x13716d(0x99)];}get['onEndOverlapDelegate'](){return this['_onEndOverlapDelegate'];}get[_0x23bdd8(0x90)](){return this['_onHitDelegate'];}constructor(_0x176c1,_0x52d11d){const _0x3da75c=_0x23bdd8;super(_0x176c1,_0x52d11d),this[_0x3da75c(0xa8)]=!![],this[_0x3da75c(0x9b)]=!![],this[_0x3da75c(0xb5)]=!![],this[_0x3da75c(0x8b)]=exports.CollisionChannel[_0x3da75c(0xbd)],this[_0x3da75c(0xc0)]={},this[_0x3da75c(0x99)]=new Delegate(),this[_0x3da75c(0x83)]=new Delegate(),this['_onHitDelegate']=new Delegate(),this['_registeredInWorld']=![],this[_0x3da75c(0x94)]=![],this[_0x3da75c(0xa4)]=0xff00,this[_0x3da75c(0xbc)]=0.25,this[_0x3da75c(0xa6)]=null,this[_0x3da75c(0xba)]=_0x3da75c(0xb2);}['setCollisionResponse'](_0x4dcaf7,_0x402e83){const _0x217fef=_0x23bdd8;this[_0x217fef(0xc0)][_0x4dcaf7]=_0x402e83;}[_0x23bdd8(0xb7)](_0x520ef2){const _0x2c68ea=_0x23bdd8;this[_0x2c68ea(0xc0)]=Object[_0x2c68ea(0xbf)]({},_0x520ef2);}[_0x23bdd8(0x95)](_0x139fd2){const _0x2dbc57=_0x23bdd8;var _0x2bd8ce;return (_0x2bd8ce=this['_responseMap'][_0x139fd2])!==null&&_0x2bd8ce!==void 0?_0x2bd8ce:exports.CollisionResponse[_0x2dbc57(0xab)];}[_0x23bdd8(0xa0)](_0x334847){const _0x1c0310=_0x23bdd8,_0x153c90=this['getCollisionResponse'](_0x334847['objectType']),_0x2b89ba=_0x334847['getCollisionResponse'](this['objectType']);if(_0x153c90===exports.CollisionResponse['Ignore']||_0x2b89ba===exports.CollisionResponse[_0x1c0310(0x84)])return exports.CollisionResponse[_0x1c0310(0x84)];if(_0x153c90===exports.CollisionResponse['Block']||_0x2b89ba===exports.CollisionResponse[_0x1c0310(0xab)])return exports.CollisionResponse[_0x1c0310(0xab)];return exports.CollisionResponse[_0x1c0310(0xb4)];}[_0x23bdd8(0xae)](_0x4d4904){const _0x221bf1=_0x23bdd8;super[_0x221bf1(0xae)](_0x4d4904),this[_0x221bf1(0x94)]&&this['onDebugTick'](_0x4d4904);}[_0x23bdd8(0xb1)](_0x2a8878){const _0x353cb5=_0x23bdd8;super['onAddedToWorld'](_0x2a8878),!this[_0x353cb5(0xb6)]&&(this['world'][_0x353cb5(0x97)][_0x353cb5(0x93)](this),this[_0x353cb5(0xb6)]=!![]);}[_0x23bdd8(0xb8)](){const _0x5d3d29=_0x23bdd8;this[_0x5d3d29(0x94)]&&(this[_0x5d3d29(0xaa)](),this[_0x5d3d29(0x94)]=![]),this[_0x5d3d29(0xb6)]&&(this[_0x5d3d29(0x87)][_0x5d3d29(0x97)][_0x5d3d29(0x9a)](this),this[_0x5d3d29(0xb6)]=![]),super['destroy']();}[_0x23bdd8(0x9e)](){const _0x59be13=_0x23bdd8;return this[_0x59be13(0xac)];}[_0x23bdd8(0xc1)](){return null;}[_0x23bdd8(0xa9)](_0x1e8986){return;}[_0x23bdd8(0xc2)](_0x4aa46b){return;}[_0x23bdd8(0xaf)](){return;}[_0x23bdd8(0x8d)](){const _0x14289a=_0x23bdd8;if(this[_0x14289a(0xa6)])return;const _0x2b4cff=this[_0x14289a(0x9e)](),_0x443884=this[_0x14289a(0xc1)]();if(!_0x443884)return;this[_0x14289a(0xa6)]=_0x443884,_0x443884[_0x14289a(0xb3)](_0x43ae4a=>{const _0x39c3b0=_0x14289a;_0x43ae4a[_0x39c3b0(0xa7)][_0x39c3b0(0x85)]=!![];}),_0x2b4cff&&_0x2b4cff['add'](_0x443884),this[_0x14289a(0xaf)]();}[_0x23bdd8(0xaa)](){const _0x13588d=_0x23bdd8,_0x123ac1=this['_debugObject'];if(!_0x123ac1)return;this['destroyDebugObject'](_0x123ac1),_0x123ac1[_0x13588d(0xb0)]&&_0x123ac1[_0x13588d(0xb0)][_0x13588d(0x9d)](_0x123ac1),this[_0x13588d(0xa6)]=null;}}function _0x1f90(){const _0xdccf12=['348314LgIXnR','name','420rPZTdN','_debugOpacity','WorldDynamic','524egDEKB','assign','_responseMap','createDebugObject','onDebugTick','collisionEnabled','_onEndOverlapDelegate','Ignore','rayIgnored','18ISbbLh','world','40EKSymd','18095avKcaa','5946edFCKr','_objectType','debugOpacity','enableDebug','64442lyvLZf','126234TnkxbY','onHitDelegate','viewport','debugEnabled','registerCollider','_debugEnabled','getCollisionResponse','308620PbDyhO','physics','344URZOKG','_onBeginOverlapDelegate','unregisterCollider','_generateOverlapEvents','objectType','remove','getDebugAttachParent','generateHitEvents','getMutualResponse','markRenderStateDirty','debugColor','377255oIejro','_debugColor','generateOverlapEvents','_debugObject','userData','_collisionEnabled','destroyDebugObject','disableDebug','Block','threeObject','onBeginOverlapDelegate','tick','onDebugStyleChanged','parent','onAddedToWorld','ColliderComponent','traverse','Overlap','_generateHitEvents','_registeredInWorld','setCollisionResponses','destroy'];_0x1f90=function(){return _0xdccf12;};return _0x1f90();}
|
|
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 _0x3d06af=_0x214d;function _0x227c(){const _0xe36d55=['_debugRoot','abs','_halfHeight','setCollisionResponse','set','_debugCylinder','position','material','scale','color','getWorldAABB','multiplyScalar','point','normal','_radius','copy','onDebugTick','Overlap','CapsuleColliderDebug','766970HgojIW','2477364oqtztk','_tmpBA','Pawn','makeSphereHit','raycastSphere','traverse','_debugBottom','clone','getWorldScale','sqrt','createDebugObject','192cjXPPc','getWorldPosition','add','2347fIQVjf','debugColor','_tmpNormal','name','transparent','_tmpOA','CapsuleColliderComponent','580431EmJHpZ','needsUpdate','1518255hpdGmw','sub','opacity','542ZypZlq','destroyDebugObject','dot','distance','7968016cjAEyh','halfHeight','debugOpacity','Ignore','lengthSq','31612nEYKkM','radius','90eiZDEq','onDebugStyleChanged','_tmpA','max','setHex','_debugTop'];_0x227c=function(){return _0xe36d55;};return _0x227c();}(function(_0x5ef336,_0x1b976b){const _0x438f1f=_0x214d,_0x7e62b5=_0x5ef336();while(!![]){try{const _0x4e2286=-parseInt(_0x438f1f(0x164))/0x1*(-parseInt(_0x438f1f(0x170))/0x2)+-parseInt(_0x438f1f(0x16b))/0x3+-parseInt(_0x438f1f(0x195))/0x4+parseInt(_0x438f1f(0x16d))/0x5+-parseInt(_0x438f1f(0x1a0))/0x6*(-parseInt(_0x438f1f(0x179))/0x7)+parseInt(_0x438f1f(0x174))/0x8+-parseInt(_0x438f1f(0x17b))/0x9*(parseInt(_0x438f1f(0x194))/0xa);if(_0x4e2286===_0x1b976b)break;else _0x7e62b5['push'](_0x7e62b5['shift']());}catch(_0x391d9d){_0x7e62b5['push'](_0x7e62b5['shift']());}}}(_0x227c,0x7a2be));function _0x214d(_0x587491,_0x56e8fa){_0x587491=_0x587491-0x163;const _0x227c20=_0x227c();let _0x214dad=_0x227c20[_0x587491];return _0x214dad;}class CapsuleColliderComponent extends ColliderComponent{get[_0x3d06af(0x17a)](){const _0xa30386=_0x3d06af;return this[_0xa30386(0x18f)];}get[_0x3d06af(0x175)](){const _0x28cea9=_0x3d06af;return this[_0x28cea9(0x183)];}constructor(_0x4e1254,_0x9e48f3=0.35,_0x33dba0=0.5,_0x187408){const _0x1ad8a2=_0x3d06af;super(_0x4e1254,_0x187408),this[_0x1ad8a2(0x181)]=null,this['_debugCylinder']=null,this[_0x1ad8a2(0x180)]=null,this[_0x1ad8a2(0x19b)]=null,this[_0x1ad8a2(0x17d)]=new webgpu.Vector3(),this['_tmpB']=new webgpu.Vector3(),this[_0x1ad8a2(0x196)]=new webgpu.Vector3(),this[_0x1ad8a2(0x169)]=new webgpu.Vector3(),this['_tmpPoint']=new webgpu.Vector3(),this['_tmpNormal']=new webgpu.Vector3(),this[_0x1ad8a2(0x18f)]=Math['max'](0x0,_0x9e48f3),this[_0x1ad8a2(0x183)]=Math[_0x1ad8a2(0x17e)](0x0,_0x33dba0),this['objectType']=exports.CollisionChannel[_0x1ad8a2(0x197)],this[_0x1ad8a2(0x184)](exports.CollisionChannel[_0x1ad8a2(0x197)],exports.CollisionResponse[_0x1ad8a2(0x177)]),this[_0x1ad8a2(0x184)](exports.CollisionChannel['Trigger'],exports.CollisionResponse[_0x1ad8a2(0x192)]),this[_0x1ad8a2(0x167)]=_0x1ad8a2(0x16a);}[_0x3d06af(0x18b)](_0x44079e=new webgpu.Box3()){const _0x153b3b=_0x3d06af,_0x386ff3=this[_0x153b3b(0x1a1)](),_0x3a5a07=this['getWorldScale'](),_0x5925c6=Math[_0x153b3b(0x182)](_0x3a5a07['x'])>1e-8?Math[_0x153b3b(0x182)](_0x3a5a07['x']):0x1,_0x775055=Math['abs'](_0x3a5a07['y'])>1e-8?Math[_0x153b3b(0x182)](_0x3a5a07['y']):0x1,_0x47b5d2=Math[_0x153b3b(0x182)](_0x3a5a07['z'])>1e-8?Math[_0x153b3b(0x182)](_0x3a5a07['z']):0x1,_0x2fe035=this[_0x153b3b(0x18f)]*Math[_0x153b3b(0x17e)](_0x5925c6,_0x47b5d2),_0x4418fd=this[_0x153b3b(0x183)]*_0x775055,_0x4f897a=new webgpu.Vector3(_0x386ff3['x']-_0x2fe035,_0x386ff3['y']-_0x4418fd-_0x2fe035,_0x386ff3['z']-_0x2fe035),_0x56b063=new webgpu.Vector3(_0x386ff3['x']+_0x2fe035,_0x386ff3['y']+_0x4418fd+_0x2fe035,_0x386ff3['z']+_0x2fe035);return _0x44079e[_0x153b3b(0x185)](_0x4f897a,_0x56b063),_0x44079e;}['raycast'](_0x1232fb,_0x42ef47,_0x4fbbf2){const _0x118d07=_0x3d06af;if(_0x4fbbf2<=0.000001)return null;const _0x594483=this[_0x118d07(0x1a1)](),_0x35c8df=this[_0x118d07(0x19d)](),_0x4664c1=Math[_0x118d07(0x182)](_0x35c8df['x'])>1e-8?Math[_0x118d07(0x182)](_0x35c8df['x']):0x1,_0x30ea9d=Math[_0x118d07(0x182)](_0x35c8df['y'])>1e-8?Math[_0x118d07(0x182)](_0x35c8df['y']):0x1,_0x1cc68c=Math['abs'](_0x35c8df['z'])>1e-8?Math[_0x118d07(0x182)](_0x35c8df['z']):0x1,_0x54bf64=this[_0x118d07(0x18f)]*Math[_0x118d07(0x17e)](_0x4664c1,_0x1cc68c),_0xc2e4e6=this['_halfHeight']*_0x30ea9d,_0x1ce11b=this[_0x118d07(0x17d)][_0x118d07(0x190)](_0x594483)[_0x118d07(0x163)](new webgpu.Vector3(0x0,-_0xc2e4e6,0x0)),_0x37568d=this['_tmpB'][_0x118d07(0x190)](_0x594483)['add'](new webgpu.Vector3(0x0,_0xc2e4e6,0x0)),_0x407e61=this[_0x118d07(0x196)][_0x118d07(0x190)](_0x37568d)[_0x118d07(0x16e)](_0x1ce11b),_0x244f64=this[_0x118d07(0x169)][_0x118d07(0x190)](_0x1232fb)[_0x118d07(0x16e)](_0x1ce11b),_0xac25ef=_0x407e61[_0x118d07(0x172)](_0x407e61),_0x20ba38=_0x407e61[_0x118d07(0x172)](_0x42ef47),_0x39a3c7=_0x407e61['dot'](_0x244f64),_0x5c5530=_0x42ef47[_0x118d07(0x172)](_0x244f64),_0xd16654=_0x244f64[_0x118d07(0x172)](_0x244f64),_0x29ae42=_0x54bf64*_0x54bf64,_0x4e5801=_0xac25ef-_0x20ba38*_0x20ba38,_0x15a53d=_0xac25ef*_0x5c5530-_0x39a3c7*_0x20ba38,_0xb4e116=_0xac25ef*(_0xd16654-_0x29ae42)-_0x39a3c7*_0x39a3c7;let _0x278723=Infinity,_0x894775=null,_0x3673af=null;const _0x1cac79=1e-10;if(Math[_0x118d07(0x182)](_0x4e5801)>_0x1cac79){const _0x4bb382=_0x15a53d*_0x15a53d-_0x4e5801*_0xb4e116;if(_0x4bb382>=0x0){const _0x35b29e=(-_0x15a53d-Math[_0x118d07(0x19e)](_0x4bb382))/_0x4e5801,_0x5f3770=_0x39a3c7+_0x35b29e*_0x20ba38;if(_0x35b29e>=0x0&&_0x35b29e<=_0x4fbbf2&&_0x5f3770>0x0&&_0x5f3770<_0xac25ef){_0x278723=_0x35b29e,_0x894775=this['_tmpPoint']['copy'](_0x42ef47)['multiplyScalar'](_0x35b29e)['add'](_0x1232fb);const _0x3293fa=this['_tmpNormal'][_0x118d07(0x190)](_0x407e61)[_0x118d07(0x18c)](_0x5f3770/_0xac25ef)[_0x118d07(0x163)](_0x1ce11b);_0x3673af=this[_0x118d07(0x166)][_0x118d07(0x190)](_0x894775)[_0x118d07(0x16e)](_0x3293fa);const _0x2d4ba2=_0x3673af[_0x118d07(0x178)]();_0x2d4ba2>1e-12?_0x3673af[_0x118d07(0x18c)](0x1/Math[_0x118d07(0x19e)](_0x2d4ba2)):_0x3673af[_0x118d07(0x185)](0x0,0x1,0x0);}}}const _0x1ebd1b=this[_0x118d07(0x199)](_0x1232fb,_0x42ef47,_0x4fbbf2,_0x1ce11b,_0x54bf64);_0x1ebd1b&&_0x1ebd1b[_0x118d07(0x173)]<_0x278723&&(_0x278723=_0x1ebd1b['distance'],_0x894775=_0x1ebd1b[_0x118d07(0x18d)],_0x3673af=_0x1ebd1b['normal']);const _0xb55f62=this[_0x118d07(0x199)](_0x1232fb,_0x42ef47,_0x4fbbf2,_0x37568d,_0x54bf64);_0xb55f62&&_0xb55f62['distance']<_0x278723&&(_0x278723=_0xb55f62[_0x118d07(0x173)],_0x894775=_0xb55f62[_0x118d07(0x18d)],_0x3673af=_0xb55f62[_0x118d07(0x18e)]);if(!_0x894775||!_0x3673af||!Number['isFinite'](_0x278723))return null;return {'point':_0x894775['clone'](),'normal':_0x3673af[_0x118d07(0x19c)](),'distance':_0x278723};}[_0x3d06af(0x199)](_0x2613ac,_0x48dcf9,_0x30da1c,_0x3d6f1b,_0xf86b3c){const _0x93b5b0=_0x3d06af,_0x550694=_0x2613ac[_0x93b5b0(0x19c)]()['sub'](_0x3d6f1b),_0x3ee91e=_0x550694[_0x93b5b0(0x172)](_0x48dcf9),_0x56f741=_0x550694[_0x93b5b0(0x172)](_0x550694)-_0xf86b3c*_0xf86b3c,_0x18b667=_0x3ee91e*_0x3ee91e-_0x56f741;if(_0x18b667<0x0)return null;const _0x287cfe=Math[_0x93b5b0(0x19e)](_0x18b667),_0x14849b=-_0x3ee91e-_0x287cfe;if(_0x14849b<0x0||_0x14849b>_0x30da1c){const _0xe2d3ec=-_0x3ee91e+_0x287cfe;if(_0xe2d3ec<0x0||_0xe2d3ec>_0x30da1c)return null;return this['makeSphereHit'](_0x2613ac,_0x48dcf9,_0xe2d3ec,_0x3d6f1b);}return this[_0x93b5b0(0x198)](_0x2613ac,_0x48dcf9,_0x14849b,_0x3d6f1b);}[_0x3d06af(0x198)](_0x145daa,_0xdf7514,_0x2e032e,_0x5dd65c){const _0x1c6938=_0x3d06af,_0xc7a7df=_0x145daa[_0x1c6938(0x19c)]()[_0x1c6938(0x163)](_0xdf7514[_0x1c6938(0x19c)]()[_0x1c6938(0x18c)](_0x2e032e)),_0x154f08=_0xc7a7df[_0x1c6938(0x19c)]()[_0x1c6938(0x16e)](_0x5dd65c),_0xdaa725=_0x154f08[_0x1c6938(0x178)]();return _0xdaa725>1e-12?_0x154f08[_0x1c6938(0x18c)](0x1/Math[_0x1c6938(0x19e)](_0xdaa725)):_0x154f08[_0x1c6938(0x185)](0x0,0x1,0x0),{'point':_0xc7a7df,'normal':_0x154f08,'distance':_0x2e032e};}[_0x3d06af(0x19f)](){const _0x427129=_0x3d06af,_0x99be7c=new webgpu.Object3D();_0x99be7c[_0x427129(0x167)]=_0x427129(0x193);const _0x32ce2c=new webgpu.MeshBasicMaterial({'color':this[_0x427129(0x165)],'wireframe':!![],'transparent':!![],'opacity':this[_0x427129(0x176)]}),_0x1cba19=Math['max'](0.000001,this[_0x427129(0x18f)]),_0x54e796=Math[_0x427129(0x17e)](0.000001,this['_halfHeight']*0x2),_0x5e7125=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x1cba19,_0x1cba19,_0x54e796,0xc,0x1,!![]),_0x32ce2c),_0x1bc1e8=new webgpu.Mesh(new webgpu.SphereGeometry(_0x1cba19,0xc,0x8),_0x32ce2c),_0x4318e2=new webgpu.Mesh(new webgpu.SphereGeometry(_0x1cba19,0xc,0x8),_0x32ce2c);return _0x1bc1e8[_0x427129(0x187)][_0x427129(0x185)](0x0,this['_halfHeight'],0x0),_0x4318e2[_0x427129(0x187)]['set'](0x0,-this['_halfHeight'],0x0),_0x99be7c[_0x427129(0x163)](_0x5e7125),_0x99be7c[_0x427129(0x163)](_0x1bc1e8),_0x99be7c[_0x427129(0x163)](_0x4318e2),this[_0x427129(0x181)]=_0x99be7c,this['_debugCylinder']=_0x5e7125,this[_0x427129(0x180)]=_0x1bc1e8,this['_debugBottom']=_0x4318e2,this[_0x427129(0x191)](0x0),_0x99be7c;}[_0x3d06af(0x171)](_0x175685){const _0x208ef4=_0x3d06af;this['_debugRoot']=null,this[_0x208ef4(0x186)]=null,this[_0x208ef4(0x180)]=null,this[_0x208ef4(0x19b)]=null;}[_0x3d06af(0x191)](_0x5c2ffa){const _0x21a6bd=_0x3d06af,_0x123b30=this[_0x21a6bd(0x186)],_0x3db10b=this[_0x21a6bd(0x180)],_0x275946=this['_debugBottom'];if(!_0x123b30||!_0x3db10b||!_0x275946)return;const _0x8ff766=this[_0x21a6bd(0x19d)](),_0x193ec1=Math[_0x21a6bd(0x182)](_0x8ff766['x'])>1e-8?_0x8ff766['x']:0x1,_0x37ef6d=Math['abs'](_0x8ff766['y'])>1e-8?_0x8ff766['y']:0x1,_0x1f180d=Math[_0x21a6bd(0x182)](_0x8ff766['z'])>1e-8?_0x8ff766['z']:0x1,_0x119a8d=Math[_0x21a6bd(0x17e)](0.000001,this[_0x21a6bd(0x18f)])*Math[_0x21a6bd(0x17e)](Math['abs'](_0x193ec1),Math[_0x21a6bd(0x182)](_0x1f180d)),_0x4cd341=Math[_0x21a6bd(0x17e)](0x0,this[_0x21a6bd(0x183)])*Math['abs'](_0x37ef6d);_0x123b30[_0x21a6bd(0x189)][_0x21a6bd(0x185)](_0x119a8d/_0x193ec1,_0x4cd341*0x2/_0x37ef6d,_0x119a8d/_0x1f180d),_0x3db10b['scale'][_0x21a6bd(0x185)](_0x119a8d/_0x193ec1,_0x119a8d/_0x37ef6d,_0x119a8d/_0x1f180d),_0x275946['scale'][_0x21a6bd(0x185)](_0x119a8d/_0x193ec1,_0x119a8d/_0x37ef6d,_0x119a8d/_0x1f180d),_0x3db10b[_0x21a6bd(0x187)][_0x21a6bd(0x185)](0x0,_0x4cd341/_0x37ef6d,0x0),_0x275946[_0x21a6bd(0x187)]['set'](0x0,-_0x4cd341/_0x37ef6d,0x0);}[_0x3d06af(0x17c)](){const _0x66bd2a=_0x3d06af,_0x4498de=this[_0x66bd2a(0x181)];if(!_0x4498de)return;_0x4498de[_0x66bd2a(0x19a)](_0x48ca64=>{const _0x25d3a7=_0x66bd2a,_0xbe2233=_0x48ca64,_0x4b0a75=_0xbe2233[_0x25d3a7(0x188)];if(!_0x4b0a75)return;_0x4b0a75[_0x25d3a7(0x18a)][_0x25d3a7(0x17f)](this['debugColor']),_0x4b0a75[_0x25d3a7(0x16f)]=this[_0x25d3a7(0x176)],_0x4b0a75[_0x25d3a7(0x168)]=this[_0x25d3a7(0x176)]<0x1,_0x4b0a75[_0x25d3a7(0x16c)]=!![];});}}
|
|
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 _0x27daab=_0x5c52;(function(_0x1fc24a,_0x34c5dc){const _0x265c64=_0x5c52,_0x2d0243=_0x1fc24a();while(!![]){try{const _0x962996=-parseInt(_0x265c64(0x18c))/0x1+-parseInt(_0x265c64(0x19f))/0x2*(-parseInt(_0x265c64(0x157))/0x3)+-parseInt(_0x265c64(0x15a))/0x4+-parseInt(_0x265c64(0x148))/0x5+-parseInt(_0x265c64(0x165))/0x6+parseInt(_0x265c64(0x1a3))/0x7*(-parseInt(_0x265c64(0x185))/0x8)+parseInt(_0x265c64(0x194))/0x9;if(_0x962996===_0x34c5dc)break;else _0x2d0243['push'](_0x2d0243['shift']());}catch(_0x31acbc){_0x2d0243['push'](_0x2d0243['shift']());}}}(_0x1d65,0xbcb78));function _0x1d65(){const _0xc558a6=['invert','onMouseDown','left','Pawn','lyCameraDragging','code','setRotation','height','onClick','possess','clamp','blocking','visible','parentActor','copy','landToGround','YXZ','includes','onBlur','setFromEuler','length','_moveDown','sub','applyQuaternion','Ignore','_verticalVelocity','button','_clickMarker','3252960PDGGET','onRawClickDelegate','clientY','ArrowDown','inputFilter','constructRootComponent','physics','setPosition','unpossess','eyeHeight','atan2','exitPointerLock','add','_moveLeft','app','1786485ZDuyPA','ArrowRight','KeyS','4855164ItdWSS','preventDefault','getPosition','clientX','point','lengthSq','gravity','outer','onPointerLockChangeDelegate','remove','direction','3446328iALWSo','ShiftRight','clone','setFromAxisAngle','Visibility','lineTraceMulti','max','lineTraceSingle','ray','onKeyDownDelegate','_yaw','setCameraDraggingState','setFromCamera','onPointerDownDelegate','onMouseMove','onContextMenuDelegate','distance','onPointerLockChange','asin','find','normal','multiply','enableGravity','ArrowUp','Space','multiplyScalar','normalize','rotation','syncRotation','movementY','camera','isClickEnabled','16DjTYAE','halfHeight','near','pointerLockElement','_targetPos','updateCameraFromPawn','canvas','1061229BnQydq','onKeyDown','KeyA','_isRightDragging','_moveForward','_pitch','KeyW','collider','38901663nvNidb','viewport','ArrowLeft','movementX','dataset','radius','setQuaternion','onMouseUp','world','_moveUp','getQuaternion','2MaDPia','KeyD','_moveRight','getTargetCameraState','2257213IPIZLH','controller','threeObject','onKeyUpDelegate','onPointerMoveDelegate','moveSpeed','position','rootComponent','onKeyUp','onContextMenu','onWindowBlurDelegate','ShiftLeft','_moveBackward','getBoundingClientRect','enabled','lookSpeed'];_0x1d65=function(){return _0xc558a6;};return _0x1d65();}function _0x5c52(_0x4cee55,_0x293469){_0x4cee55=_0x4cee55-0x11f;const _0x1d65cf=_0x1d65();let _0x5c528f=_0x1d65cf[_0x4cee55];return _0x5c528f;}class FirstPerson extends Pawn{constructor(_0x29489f){const _0x1996ca=_0x5c52;super(_0x29489f),this[_0x1996ca(0x121)]=0xa,this[_0x1996ca(0x12b)]=0.002,this[_0x1996ca(0x17b)]=!![],this['gravity']=0x1e,this[_0x1996ca(0x151)]=0.7,this[_0x1996ca(0x145)]=0x0,this['_yaw']=0x0,this[_0x1996ca(0x191)]=0x0,this[_0x1996ca(0x189)]=null,this[_0x1996ca(0x147)]=null,this[_0x1996ca(0x190)]=![],this['_moveBackward']=![],this[_0x1996ca(0x155)]=![],this[_0x1996ca(0x1a1)]=![],this[_0x1996ca(0x19d)]=![],this[_0x1996ca(0x141)]=![],this['_isRightDragging']=![],this[_0x1996ca(0x125)]=_0x902d60=>{const _0x1958e0=_0x1996ca;if(!Pawn[_0x1958e0(0x14c)]())return;_0x902d60[_0x1958e0(0x15b)]();},this['onBlur']=()=>{const _0x5ab52a=_0x1996ca;this[_0x5ab52a(0x190)]=![],this[_0x5ab52a(0x128)]=![],this[_0x5ab52a(0x155)]=![],this['_moveRight']=![],this[_0x5ab52a(0x19d)]=![],this[_0x5ab52a(0x141)]=![],this['_isRightDragging']=![],this[_0x5ab52a(0x170)](![]);},this[_0x1996ca(0x12d)]=_0x5bae2e=>{const _0x23d71e=_0x1996ca;if(!this['enabled']||!Pawn[_0x23d71e(0x14c)]())return;if(_0x5bae2e[_0x23d71e(0x146)]!==0x2)return;this[_0x23d71e(0x18f)]=!![],this[_0x23d71e(0x170)](!![]);const _0x3a5bc8=this[_0x23d71e(0x156)][_0x23d71e(0x195)][_0x23d71e(0x18b)];_0x3a5bc8&&document[_0x23d71e(0x188)]!==_0x3a5bc8&&_0x3a5bc8['requestPointerLock']();},this['onMouseUp']=_0x31883c=>{const _0xa40428=_0x1996ca;if(_0x31883c[_0xa40428(0x146)]!==0x2)return;this[_0xa40428(0x18f)]=![],this[_0xa40428(0x170)](![]),document[_0xa40428(0x188)]===this['app'][_0xa40428(0x195)][_0xa40428(0x18b)]&&document['exitPointerLock']();},this[_0x1996ca(0x134)]=_0x4642a6=>{const _0x15cbe7=_0x1996ca;if(!this[_0x15cbe7(0x12a)]||!Pawn[_0x15cbe7(0x14c)]())return;if(_0x4642a6['button']!==0x0)return;const _0x262bef=this[_0x15cbe7(0x156)][_0x15cbe7(0x195)][_0x15cbe7(0x18b)];if(!_0x262bef||!this[_0x15cbe7(0x183)])return;const _0x8de29e=_0x262bef[_0x15cbe7(0x129)](),_0x5af52e=new webgpu.Vector2((_0x4642a6[_0x15cbe7(0x15d)]-_0x8de29e[_0x15cbe7(0x12e)])/_0x8de29e['width']*0x2-0x1,-((_0x4642a6[_0x15cbe7(0x14a)]-_0x8de29e['top'])/_0x8de29e[_0x15cbe7(0x133)])*0x2+0x1),_0x1e8ad0=new webgpu.Raycaster();_0x1e8ad0[_0x15cbe7(0x171)](_0x5af52e,this[_0x15cbe7(0x183)]);const _0x5474d8=_0x1e8ad0[_0x15cbe7(0x16d)]['origin'][_0x15cbe7(0x167)](),_0x207081=_0x5474d8[_0x15cbe7(0x167)]()[_0x15cbe7(0x154)](_0x1e8ad0[_0x15cbe7(0x16d)][_0x15cbe7(0x164)][_0x15cbe7(0x167)]()['multiplyScalar'](0x3e8)),_0x5d9b4c=this[_0x15cbe7(0x123)]instanceof CapsuleColliderComponent?this[_0x15cbe7(0x123)]:undefined,_0xaa8248=this[_0x15cbe7(0x156)][_0x15cbe7(0x19c)][_0x15cbe7(0x14e)][_0x15cbe7(0x16a)](_0x5474d8,_0x207081,exports.CollisionChannel[_0x15cbe7(0x12f)],_0x5d9b4c);let _0x15afbd=null;for(const _0xf1e672 of _0xaa8248){if(!_0xf1e672['blocking'])continue;if(this[_0x15cbe7(0x183)]instanceof webgpu.PerspectiveCamera){if(_0xf1e672[_0x15cbe7(0x175)]<this[_0x15cbe7(0x183)][_0x15cbe7(0x187)]*1.5)continue;}const _0x49e28d=_0xf1e672[_0x15cbe7(0x193)],_0x4c568f=_0x49e28d&&(_0x49e28d[_0x15cbe7(0x184)]||_0x49e28d[_0x15cbe7(0x139)]&&_0x49e28d[_0x15cbe7(0x139)][_0x15cbe7(0x184)]),_0x363629=_0xf1e672[_0x15cbe7(0x179)]['y']>0.5;if(!_0x363629&&!_0x4c568f){let _0x3c436f=0.5;this[_0x15cbe7(0x183)]instanceof webgpu.PerspectiveCamera&&(_0x3c436f=this['camera'][_0x15cbe7(0x187)]*0x2);if(_0xf1e672[_0x15cbe7(0x175)]>_0x3c436f)break;continue;}_0x15afbd=_0xf1e672;break;}if(_0x15afbd){const _0x60617a=_0x15afbd[_0x15cbe7(0x193)];if(_0x60617a){if(_0x60617a[_0x15cbe7(0x184)])return;if(_0x60617a[_0x15cbe7(0x139)]&&_0x60617a[_0x15cbe7(0x139)][_0x15cbe7(0x184)])return;}_0x15afbd[_0x15cbe7(0x179)]['y']>0.5&&(this[_0x15cbe7(0x189)]=_0x15afbd[_0x15cbe7(0x15e)][_0x15cbe7(0x167)](),this[_0x15cbe7(0x147)]&&(this['_clickMarker'][_0x15cbe7(0x122)][_0x15cbe7(0x13a)](this[_0x15cbe7(0x189)]),this[_0x15cbe7(0x147)][_0x15cbe7(0x138)]=!![]));}},this[_0x1996ca(0x176)]=()=>{},this[_0x1996ca(0x173)]=_0x14bbf6=>{const _0x4af4a1=_0x1996ca,_0x42641a=(_0x14bbf6['buttons']&0x2)===0x2;if(_0x42641a&&!this['_isRightDragging'])this[_0x4af4a1(0x18f)]=!![],this[_0x4af4a1(0x170)](!![]);else !_0x42641a&&this[_0x4af4a1(0x18f)]&&(this[_0x4af4a1(0x18f)]=![],this[_0x4af4a1(0x170)](![]));if(document['pointerLockElement']!==this[_0x4af4a1(0x156)]['viewport'][_0x4af4a1(0x18b)]&&!_0x42641a)return;if(!this[_0x4af4a1(0x12a)]||!Pawn[_0x4af4a1(0x14c)]())return;const _0x14d6ad=_0x14bbf6[_0x4af4a1(0x197)]||0x0,_0x105715=_0x14bbf6[_0x4af4a1(0x182)]||0x0;this[_0x4af4a1(0x181)](),this[_0x4af4a1(0x16f)]-=_0x14d6ad*this[_0x4af4a1(0x12b)],this[_0x4af4a1(0x191)]-=_0x105715*this[_0x4af4a1(0x12b)];const _0x2aee68=Math['PI']/0x2;this[_0x4af4a1(0x191)]=webgpu.MathUtils[_0x4af4a1(0x136)](this[_0x4af4a1(0x191)],-_0x2aee68+0.001,_0x2aee68-0.001);const _0x154d2a=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x0,0x1,0x0),this[_0x4af4a1(0x16f)]);super[_0x4af4a1(0x19a)](_0x154d2a),this[_0x4af4a1(0x18a)]();},this[_0x1996ca(0x18d)]=_0x1e35f7=>{const _0x2916b8=_0x1996ca;if(!Pawn[_0x2916b8(0x14c)]())return;if([_0x2916b8(0x17c),_0x2916b8(0x192),'ArrowLeft',_0x2916b8(0x18e),_0x2916b8(0x14b),_0x2916b8(0x159),_0x2916b8(0x158),_0x2916b8(0x1a0)][_0x2916b8(0x13d)](_0x1e35f7[_0x2916b8(0x131)])){this['_targetPos']=null;if(this[_0x2916b8(0x147)])this[_0x2916b8(0x147)][_0x2916b8(0x138)]=![];}switch(_0x1e35f7[_0x2916b8(0x131)]){case _0x2916b8(0x17c):case _0x2916b8(0x192):this['_moveForward']=!![];break;case 'ArrowLeft':case 'KeyA':this['_moveLeft']=!![];break;case 'ArrowDown':case _0x2916b8(0x159):this[_0x2916b8(0x128)]=!![];break;case _0x2916b8(0x158):case 'KeyD':this[_0x2916b8(0x1a1)]=!![];break;case _0x2916b8(0x17d):!this[_0x2916b8(0x17b)]&&(this[_0x2916b8(0x19d)]=!![]);break;case _0x2916b8(0x127):case _0x2916b8(0x166):this['_moveDown']=!![];break;}},this['onKeyUp']=_0x1158b1=>{const _0x543d4f=_0x1996ca;switch(_0x1158b1['code']){case 'ArrowUp':case _0x543d4f(0x192):this[_0x543d4f(0x190)]=![];break;case _0x543d4f(0x196):case _0x543d4f(0x18e):this['_moveLeft']=![];break;case _0x543d4f(0x14b):case _0x543d4f(0x159):this[_0x543d4f(0x128)]=![];break;case _0x543d4f(0x158):case _0x543d4f(0x1a0):this[_0x543d4f(0x1a1)]=![];break;case 'Space':this[_0x543d4f(0x19d)]=![];break;case _0x543d4f(0x127):case _0x543d4f(0x166):this[_0x543d4f(0x141)]=![];break;}};}[_0x27daab(0x14d)](){const _0x5e2345=_0x27daab,_0x514512=new CapsuleColliderComponent(this[_0x5e2345(0x156)],0.35,0.55);return _0x514512['objectType']=exports.CollisionChannel[_0x5e2345(0x12f)],_0x514512['setCollisionResponse'](exports.CollisionChannel[_0x5e2345(0x169)],exports.CollisionResponse[_0x5e2345(0x144)]),_0x514512;}[_0x27daab(0x13b)](){const _0x1658e8=_0x27daab,_0xe60d12=this[_0x1658e8(0x15c)](),_0x582922=_0xe60d12[_0x1658e8(0x167)]()[_0x1658e8(0x154)](new webgpu.Vector3(0x0,-1e3,0x0)),_0x1c4fbd=this[_0x1658e8(0x123)],_0x4db7ed=this['app'][_0x1658e8(0x19c)]['physics'][_0x1658e8(0x16c)](_0xe60d12,_0x582922,exports.CollisionChannel[_0x1658e8(0x12f)],_0x1c4fbd);if(_0x4db7ed&&_0x4db7ed['blocking']){const _0x590181=_0x1c4fbd[_0x1658e8(0x186)]+_0x1c4fbd[_0x1658e8(0x199)],_0x2a0bbd=_0x4db7ed[_0x1658e8(0x15e)]['y']+_0x590181;this[_0x1658e8(0x14f)](_0xe60d12['x'],_0x2a0bbd,_0xe60d12['z']),this[_0x1658e8(0x145)]=0x0;}}[_0x27daab(0x181)](){const _0x252575=_0x27daab,_0x22b990=this[_0x252575(0x19e)](),_0x4b2cbd=new webgpu.Vector3(0x0,0x0,-1)['applyQuaternion'](_0x22b990);this[_0x252575(0x16f)]=Math['atan2'](-_0x4b2cbd['x'],-_0x4b2cbd['z']);}[_0x27daab(0x132)](..._0x296a26){const _0x2d327d=_0x27daab,_0x197f6d=new webgpu.Quaternion();_0x296a26[_0x2d327d(0x140)]===0x1?_0x197f6d['setFromEuler'](_0x296a26[0x0]):_0x197f6d[_0x2d327d(0x13f)](new webgpu.Euler(_0x296a26[0x0],_0x296a26[0x1],_0x296a26[0x2],_0x2d327d(0x13c))),this[_0x2d327d(0x19a)](_0x197f6d);}[_0x27daab(0x19a)](..._0xd22061){const _0xe722=_0x27daab;let _0x9a4b63;_0xd22061[_0xe722(0x140)]===0x1?_0x9a4b63=_0xd22061[0x0]:_0x9a4b63=new webgpu.Quaternion(_0xd22061[0x0],_0xd22061[0x1],_0xd22061[0x2],_0xd22061[0x3]);const _0x4b7791=new webgpu.Vector3(0x0,0x0,-1)[_0xe722(0x143)](_0x9a4b63);let _0x2d5ba0=Math[_0xe722(0x177)](webgpu.MathUtils['clamp'](_0x4b7791['y'],-1,0x1));const _0x2f7ec6=Math['PI']/0x2;_0x2d5ba0=webgpu.MathUtils[_0xe722(0x136)](_0x2d5ba0,-_0x2f7ec6+0.001,_0x2f7ec6-0.001);const _0x57b6b=Math[_0xe722(0x152)](-_0x4b7791['x'],-_0x4b7791['z']);this[_0xe722(0x191)]=_0x2d5ba0,this[_0xe722(0x16f)]=_0x57b6b;const _0x3b87ed=new webgpu.Quaternion()[_0xe722(0x168)](new webgpu.Vector3(0x0,0x1,0x0),this[_0xe722(0x16f)]);super[_0xe722(0x19a)](_0x3b87ed),this['enabled']&&this[_0xe722(0x18a)]();}['possess'](){const _0x57b1fd=_0x27daab;super[_0x57b1fd(0x135)]();const _0x17eddd=this[_0x57b1fd(0x156)][_0x57b1fd(0x1a4)];_0x17eddd&&(_0x17eddd[_0x57b1fd(0x149)][_0x57b1fd(0x154)](this[_0x57b1fd(0x134)]),_0x17eddd[_0x57b1fd(0x174)]['add'](this[_0x57b1fd(0x125)]),_0x17eddd[_0x57b1fd(0x162)][_0x57b1fd(0x154)](this[_0x57b1fd(0x176)]),_0x17eddd[_0x57b1fd(0x16e)][_0x57b1fd(0x154)](this[_0x57b1fd(0x18d)]),_0x17eddd['onKeyUpDelegate'][_0x57b1fd(0x154)](this[_0x57b1fd(0x124)]),_0x17eddd[_0x57b1fd(0x120)][_0x57b1fd(0x154)](this[_0x57b1fd(0x173)]),_0x17eddd[_0x57b1fd(0x172)][_0x57b1fd(0x154)](this[_0x57b1fd(0x12d)]),_0x17eddd['onPointerUpDelegate'][_0x57b1fd(0x154)](this['onMouseUp']),_0x17eddd[_0x57b1fd(0x126)]['add'](this[_0x57b1fd(0x13e)]));this[_0x57b1fd(0x123)]&&this['rootComponent']['threeObject']&&(this[_0x57b1fd(0x123)][_0x57b1fd(0x1a5)][_0x57b1fd(0x180)]['order']=_0x57b1fd(0x13c));const _0x5b5a4d=new webgpu.SphereGeometry(0.2,0x10,0x10),_0x27be51=new webgpu.MeshBasicMaterial({'color':0xff00,'transparent':!![],'opacity':0.8});this[_0x57b1fd(0x147)]=new webgpu.Mesh(_0x5b5a4d,_0x27be51),this[_0x57b1fd(0x147)][_0x57b1fd(0x138)]=![],this[_0x57b1fd(0x156)]['world']['scene']['add'](this[_0x57b1fd(0x147)]),this['syncRotation'](),this[_0x57b1fd(0x18a)]();}[_0x27daab(0x150)](){const _0x5242b5=_0x27daab;var _0x555dd5;super[_0x5242b5(0x150)]();const _0x7ef520=this[_0x5242b5(0x156)]['controller'];_0x7ef520&&(_0x7ef520[_0x5242b5(0x149)][_0x5242b5(0x163)](this[_0x5242b5(0x134)]),_0x7ef520[_0x5242b5(0x174)][_0x5242b5(0x163)](this['onContextMenu']),_0x7ef520[_0x5242b5(0x162)]['remove'](this['onPointerLockChange']),_0x7ef520[_0x5242b5(0x16e)][_0x5242b5(0x163)](this['onKeyDown']),_0x7ef520[_0x5242b5(0x11f)]['remove'](this['onKeyUp']),_0x7ef520[_0x5242b5(0x120)][_0x5242b5(0x163)](this['onMouseMove']),_0x7ef520[_0x5242b5(0x172)][_0x5242b5(0x163)](this[_0x5242b5(0x12d)]),_0x7ef520['onPointerUpDelegate']['remove'](this[_0x5242b5(0x19b)]),_0x7ef520[_0x5242b5(0x126)]['remove'](this[_0x5242b5(0x13e)])),this[_0x5242b5(0x18f)]=![],this[_0x5242b5(0x170)](![]),this[_0x5242b5(0x147)]&&((_0x555dd5=this[_0x5242b5(0x147)]['parent'])===null||_0x555dd5===void 0?void 0:_0x555dd5[_0x5242b5(0x163)](this[_0x5242b5(0x147)]),this[_0x5242b5(0x147)]['geometry']['dispose'](),this[_0x5242b5(0x147)]['material']['dispose'](),this[_0x5242b5(0x147)]=null),document[_0x5242b5(0x188)]===this[_0x5242b5(0x156)][_0x5242b5(0x195)][_0x5242b5(0x18b)]&&document[_0x5242b5(0x153)]();}[_0x27daab(0x1a2)](){const _0x2f5c68=_0x27daab,_0x1cf57f=this[_0x2f5c68(0x15c)]();_0x1cf57f['y']+=this[_0x2f5c68(0x151)];const _0x174021=this[_0x2f5c68(0x183)]||this[_0x2f5c68(0x156)][_0x2f5c68(0x183)],_0x3de1ac=this[_0x2f5c68(0x19e)](),_0x43192c=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x1,0x0,0x0),this['_pitch']),_0x40afbb=_0x3de1ac[_0x2f5c68(0x167)]()[_0x2f5c68(0x17a)](_0x43192c);if(_0x174021){const _0x6b63e2=new webgpu.Vector3(0x0,0x0,_0x174021[_0x2f5c68(0x187)])[_0x2f5c68(0x143)](_0x40afbb);_0x1cf57f[_0x2f5c68(0x154)](_0x6b63e2);}return {'position':_0x1cf57f,'quaternion':_0x40afbb};}[_0x27daab(0x170)](_0x43ff31){const _0x25f7e9=_0x27daab,_0x2611c4=this[_0x25f7e9(0x156)][_0x25f7e9(0x195)][_0x25f7e9(0x161)];if(!_0x2611c4)return;_0x43ff31?_0x2611c4[_0x25f7e9(0x198)]['lyCameraDragging']='1':delete _0x2611c4[_0x25f7e9(0x198)][_0x25f7e9(0x130)];}['tick'](_0x374a48){const _0x38b131=_0x27daab;if(!this[_0x38b131(0x12a)])return;const _0x2c3185=this[_0x38b131(0x121)]*_0x374a48,_0x2b4865=new webgpu.Vector3();if(this['_moveForward'])_0x2b4865['z']-=0x1;if(this[_0x38b131(0x128)])_0x2b4865['z']+=0x1;if(this[_0x38b131(0x155)])_0x2b4865['x']-=0x1;if(this[_0x38b131(0x1a1)])_0x2b4865['x']+=0x1;if(this[_0x38b131(0x189)]&&_0x2b4865[_0x38b131(0x15f)]()===0x0){const _0x27afc9=this[_0x38b131(0x15c)](),_0x381cbf=this[_0x38b131(0x189)][_0x38b131(0x167)]();this[_0x38b131(0x17b)]&&(_0x381cbf['y']=_0x27afc9['y']);const _0xeb3d4d=_0x381cbf[_0x38b131(0x142)](_0x27afc9),_0x8ad315=_0xeb3d4d[_0x38b131(0x140)]();if(_0x8ad315>0.1){_0xeb3d4d[_0x38b131(0x17f)]();if(this[_0x38b131(0x17b)]){const _0x416307=this['getQuaternion']()[_0x38b131(0x12c)](),_0x2f5e0d=_0xeb3d4d[_0x38b131(0x167)]()[_0x38b131(0x143)](_0x416307);_0x2b4865[_0x38b131(0x13a)](_0x2f5e0d);}else _0x2b4865[_0x38b131(0x13a)](_0xeb3d4d);}else {this['_targetPos']=null;if(this[_0x38b131(0x147)])this['_clickMarker']['visible']=![];}}if(!this[_0x38b131(0x17b)]){if(this[_0x38b131(0x19d)])_0x2b4865['y']+=0x1;if(this[_0x38b131(0x141)])_0x2b4865['y']-=0x1;}let _0x3dd3f9=new webgpu.Vector3();if(_0x2b4865[_0x38b131(0x15f)]()>0x0){_0x2b4865[_0x38b131(0x17f)]()[_0x38b131(0x17e)](_0x2c3185);const _0xb8e75c=this[_0x38b131(0x19e)]();_0x3dd3f9=_0x2b4865[_0x38b131(0x143)](_0xb8e75c),this[_0x38b131(0x17b)]&&(_0x3dd3f9['y']=0x0,_0x3dd3f9[_0x38b131(0x15f)]()>0x0&&_0x3dd3f9[_0x38b131(0x17f)]()[_0x38b131(0x17e)](_0x2c3185));}const _0x32b15d=this[_0x38b131(0x156)][_0x38b131(0x19c)],_0x1793b8=this[_0x38b131(0x15c)](),_0x5dd21d=this[_0x38b131(0x123)]instanceof CapsuleColliderComponent?this[_0x38b131(0x123)]:null,_0x641d34=_0x5dd21d?_0x5dd21d[_0x38b131(0x199)]:0.35,_0x98dfc9=_0x5dd21d?_0x5dd21d[_0x38b131(0x186)]:0.9;if(this[_0x38b131(0x17b)]){this[_0x38b131(0x145)]-=this[_0x38b131(0x160)]*_0x374a48;const _0x29f0ad=_0x1793b8[_0x38b131(0x167)](),_0x3b9a8b=_0x98dfc9+_0x641d34+0.1,_0x45cd70=_0x32b15d[_0x38b131(0x14e)][_0x38b131(0x16a)](_0x29f0ad,_0x29f0ad[_0x38b131(0x167)]()[_0x38b131(0x154)](new webgpu.Vector3(0x0,-_0x3b9a8b,0x0)),exports.CollisionChannel[_0x38b131(0x12f)],_0x5dd21d||undefined),_0x15b29c=_0x45cd70[_0x38b131(0x178)](_0x146ea1=>_0x146ea1[_0x38b131(0x137)]);_0x15b29c&&(this[_0x38b131(0x145)]<=0x0&&(this[_0x38b131(0x145)]=Math[_0x38b131(0x16b)](0x0,this[_0x38b131(0x145)]))),_0x3dd3f9['y']+=this[_0x38b131(0x145)]*_0x374a48;}let _0x259554=_0x3dd3f9;if(_0x32b15d&&_0x32b15d['physics']&&_0x3dd3f9[_0x38b131(0x15f)]()>0.000001){const _0x222b8f=_0x1793b8[_0x38b131(0x167)](),_0x3f2927=_0x3dd3f9[_0x38b131(0x140)]()+_0x641d34+0.1,_0x3319e4=_0x222b8f['clone']()[_0x38b131(0x154)](_0x3dd3f9[_0x38b131(0x167)]()[_0x38b131(0x17f)]()[_0x38b131(0x17e)](_0x3f2927)),_0x1c333f=_0x32b15d[_0x38b131(0x14e)][_0x38b131(0x16a)](_0x222b8f,_0x3319e4,exports.CollisionChannel[_0x38b131(0x12f)],_0x5dd21d||undefined),_0x31b462=_0x1c333f[_0x38b131(0x178)](_0x2d387e=>_0x2d387e['blocking']);if(_0x31b462&&_0x31b462[_0x38b131(0x137)]){const _0x353e10=_0x31b462[_0x38b131(0x175)],_0x25e70d=Math[_0x38b131(0x16b)](0x0,_0x353e10-_0x641d34-0.001);if(_0x25e70d<_0x3dd3f9['length']()){const _0x5b5d3f=_0x3dd3f9[_0x38b131(0x167)]()[_0x38b131(0x17f)](),_0x334a05=_0x5b5d3f[_0x38b131(0x167)]()[_0x38b131(0x17e)](_0x25e70d),_0x5cc9ac=_0x3dd3f9[_0x38b131(0x167)]()['sub'](_0x334a05),_0x42e7b5=_0x31b462[_0x38b131(0x179)],_0x176865=_0x5cc9ac['dot'](_0x42e7b5);let _0x55ae30=new webgpu.Vector3();_0x176865<0x0?_0x55ae30=_0x5cc9ac[_0x38b131(0x167)]()[_0x38b131(0x142)](_0x42e7b5[_0x38b131(0x167)]()[_0x38b131(0x17e)](_0x176865)):_0x55ae30=_0x5cc9ac;const _0x507c0c=_0x55ae30[_0x38b131(0x140)]();if(_0x507c0c>0.001){const _0x4a4686=_0x222b8f[_0x38b131(0x167)]()[_0x38b131(0x154)](_0x334a05),_0x3eea43=_0x507c0c+_0x641d34+0.1,_0x3be012=_0x4a4686[_0x38b131(0x167)]()[_0x38b131(0x154)](_0x55ae30[_0x38b131(0x167)]()[_0x38b131(0x17f)]()[_0x38b131(0x17e)](_0x3eea43)),_0x543e47=_0x32b15d['physics']['lineTraceMulti'](_0x4a4686,_0x3be012,exports.CollisionChannel[_0x38b131(0x12f)],_0x5dd21d||undefined),_0x2eca67=_0x543e47[_0x38b131(0x178)](_0x5b3446=>_0x5b3446[_0x38b131(0x137)]);if(_0x2eca67&&_0x2eca67[_0x38b131(0x137)]){const _0x24affb=_0x2eca67[_0x38b131(0x175)],_0x364a44=Math[_0x38b131(0x16b)](0x0,_0x24affb-_0x641d34-0.001);_0x364a44<_0x507c0c&&_0x55ae30['normalize']()[_0x38b131(0x17e)](_0x364a44);}}_0x259554=_0x334a05[_0x38b131(0x154)](_0x55ae30);}}}_0x259554[_0x38b131(0x15f)]()>0x0&&(_0x1793b8['add'](_0x259554),this[_0x38b131(0x14f)](_0x1793b8)),this[_0x38b131(0x18a)]();}[_0x27daab(0x18a)](){const _0x199eb7=_0x27daab;if(!this[_0x199eb7(0x12a)]||!this[_0x199eb7(0x183)])return;const _0x39acf6=this[_0x199eb7(0x15c)]();_0x39acf6['y']+=this[_0x199eb7(0x151)];const _0x10d376=this[_0x199eb7(0x19e)](),_0x394df0=new webgpu.Quaternion()[_0x199eb7(0x168)](new webgpu.Vector3(0x1,0x0,0x0),this['_pitch']),_0x5c441d=_0x10d376[_0x199eb7(0x167)]()[_0x199eb7(0x17a)](_0x394df0),_0x7c5e8b=new webgpu.Vector3(0x0,0x0,this[_0x199eb7(0x183)][_0x199eb7(0x187)])[_0x199eb7(0x143)](_0x5c441d);_0x39acf6[_0x199eb7(0x154)](_0x7c5e8b),this[_0x199eb7(0x183)][_0x199eb7(0x122)][_0x199eb7(0x13a)](_0x39acf6),this['camera']['quaternion']['copy'](_0x5c441d),this[_0x199eb7(0x183)]['updateProjectionMatrix']();}}
|
|
140
151
|
|
|
141
|
-
|
|
152
|
+
const _0x353f87=_0x5a7d;(function(_0x132f3d,_0x14089b){const _0x430652=_0x5a7d,_0x5eef99=_0x132f3d();while(!![]){try{const _0x356655=-parseInt(_0x430652(0xc6))/0x1+-parseInt(_0x430652(0xd7))/0x2+parseInt(_0x430652(0xc7))/0x3+-parseInt(_0x430652(0xc4))/0x4+-parseInt(_0x430652(0xd4))/0x5*(-parseInt(_0x430652(0xde))/0x6)+-parseInt(_0x430652(0xe0))/0x7*(parseInt(_0x430652(0xdb))/0x8)+parseInt(_0x430652(0xd5))/0x9;if(_0x356655===_0x14089b)break;else _0x5eef99['push'](_0x5eef99['shift']());}catch(_0x5ada47){_0x5eef99['push'](_0x5eef99['shift']());}}}(_0x1df5,0xd64dc));function _0x1df5(){const _0x157fdb=['18569358lSKtuA','getRotation','1653774hccdrk','updateCameraFromPawn','copy','canvas','32PqEOuO','clone','rootComponent','12234gBFnTa','eyeHeight','997759jmGCrB','moveSpeed','5716920kprFhi','getTargetCameraState','554JXKaHN','2972712hoZpjh','position','threeObject','getPosition','unpossess','order','app','viewport','camera','lookSpeed','rotation','possess','enabled','1595jHPnUZ'];_0x1df5=function(){return _0x157fdb;};return _0x1df5();}function _0x5a7d(_0x56dd13,_0x295047){_0x56dd13=_0x56dd13-0xc4;const _0x1df5c8=_0x1df5();let _0x5a7d52=_0x1df5c8[_0x56dd13];return _0x5a7d52;}class Spectator extends Pawn{constructor(_0x50427a){const _0xcbb1af=_0x5a7d;super(_0x50427a),this[_0xcbb1af(0xe1)]=0xa,this[_0xcbb1af(0xd0)]=0.002,this[_0xcbb1af(0xdf)]=0.7;}['constructRootComponent'](){const _0x1671af=_0x5a7d;return new SceneComponent(this[_0x1671af(0xcd)]);}['possess'](){const _0x477f51=_0x5a7d;super[_0x477f51(0xd2)](),this[_0x477f51(0xdd)]&&this[_0x477f51(0xdd)][_0x477f51(0xc9)]&&(this[_0x477f51(0xdd)]['threeObject'][_0x477f51(0xd1)][_0x477f51(0xcc)]='YXZ'),this[_0x477f51(0xd8)]();}['unpossess'](){const _0x2e1d03=_0x5a7d;super[_0x2e1d03(0xcb)](),document['pointerLockElement']===this['app'][_0x2e1d03(0xce)][_0x2e1d03(0xda)]&&document['exitPointerLock']();}[_0x353f87(0xc5)](){const _0x1019a0=_0x353f87,_0x557008=this['getPosition']();return _0x557008['y']+=this[_0x1019a0(0xdf)],{'position':_0x557008,'quaternion':this['getQuaternion']()[_0x1019a0(0xdc)]()};}['tick'](_0x120505){const _0x2f8132=_0x353f87;if(!this[_0x2f8132(0xd3)])return;this[_0x2f8132(0xd8)]();}[_0x353f87(0xd8)](){const _0x4a49ce=_0x353f87;if(!this[_0x4a49ce(0xd3)]||!this[_0x4a49ce(0xcf)])return;const _0x56c342=this[_0x4a49ce(0xca)]();_0x56c342['y']+=this[_0x4a49ce(0xdf)],this['camera'][_0x4a49ce(0xc8)][_0x4a49ce(0xd9)](_0x56c342),this['camera']['rotation'][_0x4a49ce(0xd9)](this[_0x4a49ce(0xd6)]());}}
|
|
142
153
|
|
|
143
|
-
const
|
|
154
|
+
const _0x20f00e=_0x2f13;(function(_0x13742c,_0x18ec7f){const _0x15d923=_0x2f13,_0x321eae=_0x13742c();while(!![]){try{const _0x79f2dd=parseInt(_0x15d923(0x1a6))/0x1+-parseInt(_0x15d923(0x1af))/0x2+parseInt(_0x15d923(0x17b))/0x3+parseInt(_0x15d923(0x193))/0x4*(-parseInt(_0x15d923(0x1bf))/0x5)+parseInt(_0x15d923(0x175))/0x6*(-parseInt(_0x15d923(0x1a7))/0x7)+parseInt(_0x15d923(0x198))/0x8+parseInt(_0x15d923(0x1a3))/0x9*(-parseInt(_0x15d923(0x19d))/0xa);if(_0x79f2dd===_0x18ec7f)break;else _0x321eae['push'](_0x321eae['shift']());}catch(_0x4d0660){_0x321eae['push'](_0x321eae['shift']());}}}(_0x27ee,0x2e750));function _0x27ee(){const _0x51c9ff=['includes','addEventListener','148449aOkmiN','7axpDcQ','onObjectChangeEvent','scene','decompose','onDraggingChangedEvent','camera','onObjectChanged','multiply','341160KCjfFv','targets','value','getScaleSnap','dispose','isTickEnabled','onChangeEvent','invert','primaryTarget','removeEventListener','set','showZ','refresh','unpossess','position','showY','138835kRCxsN','detach','control','enable','userData','getMode','matrixWorld','onDraggingFunction','canvas','remove','setSize','showX','rotationSnap','649002gWALEM','getRotationnSnap','markRenderStateDirty','TransformGizmo:Canvas\x20not\x20found','helperObject','forEach','1052157beIgch','gizmoScene','Control\x20not\x20initialized','setRotationSnap','enabled','updateMatrixWorld','viewPort','destroy','setTarget','onDraggingChanged','name','getHelper','scale','getMatrixInWorld','traverse','setTranslationSnap','dragging-changed','onUpdateFunction','getTargetScene','rayIgnored','setScaleSnap','clone','getTranslationSnap','quaternion','28GfCFcJ','onTransforming','change','targetMatrixMap','setMode','2504768TnpSCj','_control','helperScene','possess','getTargetCameraState','1800KIdcKh','attach','add','setSpace','onChange','translationSnap','7443wYURic'];_0x27ee=function(){return _0x51c9ff;};return _0x27ee();}function _0x2f13(_0x5890a7,_0x3a8bdc){_0x5890a7=_0x5890a7-0x171;const _0x27eed7=_0x27ee();let _0x2f139e=_0x27eed7[_0x5890a7];return _0x2f139e;}class TransformGizmo extends Pawn{get['control'](){const _0x454f20=_0x2f13;if(!this[_0x454f20(0x199)])throw new Error(_0x454f20(0x17d));return this['_control'];}constructor(_0x3cba68,_0x91a18c){const _0x4e787d=_0x2f13;var _0x3cfb18;super(_0x3cba68),this['_control']=null,this[_0x4e787d(0x179)]=new webgpu.Object3D(),this[_0x4e787d(0x1b0)]=[],this[_0x4e787d(0x1b7)]=null,this[_0x4e787d(0x196)]=new Map(),this[_0x4e787d(0x17c)]=null,this[_0x4e787d(0x1ab)]=_0x3bf02d=>{this['onDraggingChanged'](_0x3bf02d);},this[_0x4e787d(0x1a8)]=()=>{const _0x2fc6b9=_0x4e787d;this[_0x2fc6b9(0x1ad)]();},this[_0x4e787d(0x1b5)]=()=>{const _0x455e95=_0x4e787d;this[_0x455e95(0x1a1)]();},this[_0x4e787d(0x18c)]=null,this[_0x4e787d(0x1c6)]=null;let _0x4392bf=_0x3cba68['viewport'][_0x4e787d(0x1c7)];if(!_0x4392bf)throw new Error(_0x4e787d(0x178));this[_0x4e787d(0x199)]=new TransformControls_js.TransformControls(_0x3cba68[_0x4e787d(0x1ac)],_0x4392bf),this['control']['getHelper']()[_0x4e787d(0x189)](_0x46b285=>{const _0x54d395=_0x4e787d;_0x46b285[_0x54d395(0x1c3)][_0x54d395(0x18e)]=!![];}),this[_0x4e787d(0x179)][_0x4e787d(0x185)]='TransformHelperObject',this['gizmoScene']=(_0x3cfb18=_0x91a18c===null||_0x91a18c===void 0?void 0:_0x91a18c[_0x4e787d(0x19a)])!==null&&_0x3cfb18!==void 0?_0x3cfb18:null;}[_0x20f00e(0x18d)](){const _0x3ca3b5=_0x20f00e;var _0xa7ec05;return (_0xa7ec05=this['gizmoScene'])!==null&&_0xa7ec05!==void 0?_0xa7ec05:this['controller']['world'][_0x3ca3b5(0x1a9)];}[_0x20f00e(0x19b)](){const _0x5747d4=_0x20f00e,_0x380726=this[_0x5747d4(0x18d)]();_0x380726['add'](this['helperObject']),_0x380726['add'](this[_0x5747d4(0x1c1)][_0x5747d4(0x186)]()),this[_0x5747d4(0x1c1)][_0x5747d4(0x19e)](this[_0x5747d4(0x179)]),this[_0x5747d4(0x1c1)][_0x5747d4(0x1a5)](_0x5747d4(0x195),this[_0x5747d4(0x1b5)]),this['control'][_0x5747d4(0x1a5)](_0x5747d4(0x18b),this[_0x5747d4(0x1ab)]),this[_0x5747d4(0x1c1)][_0x5747d4(0x1a5)]('objectChange',this[_0x5747d4(0x1a8)]);}['unpossess'](){const _0x4874ec=_0x20f00e;this['control'][_0x4874ec(0x1b8)](_0x4874ec(0x195),this[_0x4874ec(0x1b5)]),this[_0x4874ec(0x1c1)]['removeEventListener'](_0x4874ec(0x18b),this['onDraggingChangedEvent']),this['control'][_0x4874ec(0x1b8)]('objectChange',this['onObjectChangeEvent']),this[_0x4874ec(0x1c1)][_0x4874ec(0x1c0)]();const _0xec19eb=this[_0x4874ec(0x18d)]();_0xec19eb[_0x4874ec(0x171)](this['helperObject']),_0xec19eb[_0x4874ec(0x171)](this['control']['getHelper']());}[_0x20f00e(0x19c)](){const _0x325d39=_0x20f00e;return {'position':this[_0x325d39(0x1ac)]['position'][_0x325d39(0x190)](),'quaternion':this[_0x325d39(0x1ac)]['quaternion'][_0x325d39(0x190)]()};}[_0x20f00e(0x1bb)](){const _0x3477db=_0x20f00e;if(!this[_0x3477db(0x1b7)])return;this[_0x3477db(0x1c1)][_0x3477db(0x1c0)]();const _0x83e414=this[_0x3477db(0x18d)]();_0x83e414['remove'](this[_0x3477db(0x179)]),this[_0x3477db(0x196)]['clear']();let _0x5d7c70=this['primaryTarget']['getMatrixInWorld']();_0x5d7c70['decompose'](this[_0x3477db(0x179)][_0x3477db(0x1bd)],this['helperObject']['quaternion'],this['helperObject'][_0x3477db(0x187)]),_0x83e414['add'](this[_0x3477db(0x1c1)][_0x3477db(0x186)]()),_0x83e414[_0x3477db(0x19f)](this[_0x3477db(0x179)]),this[_0x3477db(0x1c1)][_0x3477db(0x19e)](this[_0x3477db(0x179)]),this['targets'][_0x3477db(0x17a)](_0x2f7c45=>{const _0x59c74f=_0x3477db,_0x30d28a=_0x2f7c45[_0x59c74f(0x188)](),_0x53233e=_0x5d7c70['clone']()['invert']()[_0x59c74f(0x1ae)](_0x30d28a);this[_0x59c74f(0x196)][_0x59c74f(0x1b9)](_0x2f7c45,_0x53233e);});}[_0x20f00e(0x1a1)](){const _0x3dfdd4=_0x20f00e;this['controller'][_0x3dfdd4(0x181)][_0x3dfdd4(0x177)]();}[_0x20f00e(0x184)](_0x2cc9df){const _0x3724c1=_0x20f00e;if(this[_0x3724c1(0x1b7)]){let _0xedc22a=this[_0x3724c1(0x1b7)][_0x3724c1(0x188)]();_0xedc22a[_0x3724c1(0x1aa)](this['helperObject'][_0x3724c1(0x1bd)],this[_0x3724c1(0x179)]['quaternion'],this[_0x3724c1(0x179)][_0x3724c1(0x187)]);}this[_0x3724c1(0x1c6)]&&this[_0x3724c1(0x1c6)](_0x2cc9df[_0x3724c1(0x1b1)]);}[_0x20f00e(0x1ad)](){const _0x11e73b=_0x20f00e;if(this[_0x11e73b(0x1b7)]){this[_0x11e73b(0x179)][_0x11e73b(0x180)](!![]);const _0x52864c=this[_0x11e73b(0x179)][_0x11e73b(0x1c5)][_0x11e73b(0x190)]();this[_0x11e73b(0x1b7)][_0x11e73b(0x194)](_0x52864c),this[_0x11e73b(0x1b0)][_0x11e73b(0x17a)](_0x33b1df=>{const _0x23cada=_0x11e73b,_0x27ba70=this[_0x23cada(0x196)]['get'](_0x33b1df);if(_0x27ba70){const _0xdb99fb=new webgpu.Matrix4()['multiplyMatrices'](_0x52864c,_0x27ba70);_0x33b1df['onTransforming'](_0xdb99fb);}});}this['onUpdateFunction']&&this[_0x11e73b(0x18c)]();}set[_0x20f00e(0x1c2)](_0x5bcea7){const _0xc81751=_0x20f00e;this[_0xc81751(0x1c1)][_0xc81751(0x17f)]=_0x5bcea7;}[_0x20f00e(0x183)](_0x376a90,_0x189d65,_0x2da6dc=null,_0x4bb059=null){const _0x20057d=_0x20f00e;this[_0x20057d(0x196)]['clear']();let _0x16c4b8=_0x376a90[_0x20057d(0x188)]();_0x16c4b8['decompose'](this['helperObject'][_0x20057d(0x1bd)],this[_0x20057d(0x179)][_0x20057d(0x192)],this[_0x20057d(0x179)][_0x20057d(0x187)]);const _0x2eb52f=this['getTargetScene']();_0x2eb52f[_0x20057d(0x19f)](this[_0x20057d(0x1c1)][_0x20057d(0x186)]()),this[_0x20057d(0x1b7)]=_0x376a90,this[_0x20057d(0x1b0)]=_0x189d65,this[_0x20057d(0x1b0)][_0x20057d(0x17a)](_0x4e95b9=>{const _0x7c9edd=_0x20057d,_0x39bfe0=_0x4e95b9['getMatrixInWorld'](),_0x2ce7a7=_0x16c4b8['clone']()[_0x7c9edd(0x1b6)]()[_0x7c9edd(0x1ae)](_0x39bfe0);this[_0x7c9edd(0x196)]['set'](_0x4e95b9,_0x2ce7a7);}),_0x2da6dc&&(this[_0x20057d(0x18c)]=_0x2da6dc),_0x4bb059&&(this[_0x20057d(0x1c6)]=_0x4bb059),this[_0x20057d(0x1b4)]=!![];}[_0x20f00e(0x1c4)](){const _0x401f10=_0x20f00e;return this[_0x401f10(0x1c1)][_0x401f10(0x1c4)]();}[_0x20f00e(0x197)](_0x1f3642){const _0xc80996=_0x20f00e;this[_0xc80996(0x1c1)][_0xc80996(0x197)](_0x1f3642);}[_0x20f00e(0x1a0)](_0x453fc6){const _0x33bcaa=_0x20f00e;this[_0x33bcaa(0x1c1)][_0x33bcaa(0x1a0)](_0x453fc6);}['setAxis'](_0x5ec8c9){const _0x27b0d2=_0x20f00e;this['control'][_0x27b0d2(0x173)]=_0x5ec8c9?_0x5ec8c9===null||_0x5ec8c9===void 0?void 0:_0x5ec8c9[_0x27b0d2(0x1a4)]('X'):![],this['control'][_0x27b0d2(0x1be)]=_0x5ec8c9?_0x5ec8c9===null||_0x5ec8c9===void 0?void 0:_0x5ec8c9[_0x27b0d2(0x1a4)]('Y'):![],this['control'][_0x27b0d2(0x1ba)]=_0x5ec8c9?_0x5ec8c9===null||_0x5ec8c9===void 0?void 0:_0x5ec8c9[_0x27b0d2(0x1a4)]('Z'):![];}[_0x20f00e(0x172)](_0x33a66a){const _0x1fbda0=_0x20f00e;this[_0x1fbda0(0x1c1)]['setSize'](_0x33a66a);}[_0x20f00e(0x191)](){const _0x5dfd66=_0x20f00e;return this[_0x5dfd66(0x1c1)][_0x5dfd66(0x1a2)];}[_0x20f00e(0x18a)](_0x32ead8){const _0x36879a=_0x20f00e;this['control'][_0x36879a(0x18a)](_0x32ead8);}[_0x20f00e(0x176)](){const _0x3d4291=_0x20f00e;return this[_0x3d4291(0x1c1)][_0x3d4291(0x174)];}[_0x20f00e(0x17e)](_0x17a57c){const _0x42eac2=_0x20f00e;this[_0x42eac2(0x1c1)][_0x42eac2(0x17e)](_0x17a57c);}[_0x20f00e(0x1b2)](){return this['control']['scaleSnap'];}[_0x20f00e(0x18f)](_0x2779b7){const _0x3ea979=_0x20f00e;this[_0x3ea979(0x1c1)][_0x3ea979(0x18f)](_0x2779b7);}[_0x20f00e(0x182)](){const _0x2d5c7f=_0x20f00e;var _0xf635b;this['isTickEnabled']=![],this[_0x2d5c7f(0x1bc)](),this['targetMatrixMap']['clear'](),this[_0x2d5c7f(0x1b0)]=[],this['primaryTarget']=null,this['onUpdateFunction']=null,this['onDraggingFunction']=null,(_0xf635b=this[_0x2d5c7f(0x199)])===null||_0xf635b===void 0?void 0:_0xf635b[_0x2d5c7f(0x1b3)](),this[_0x2d5c7f(0x199)]=null,super[_0x2d5c7f(0x182)]();}}
|
|
144
155
|
|
|
145
|
-
const
|
|
156
|
+
function _0x55ea(){const _0x4da219=['abs','5XFJpik','halfExtents','_halfExtents','633548jQbgFb','_debugMesh','clone','BoxColliderDebugMesh','154476GTREPE','normalize','getWorldMatrix','matrixWorld','set','destroyDebugObject','scale','998417sPjBkI','createDebugObject','applyMatrix4','9580rjbJVr','transpose','BoxColliderDebug','name','normal','expandByPoint','debugOpacity','invert','onDebugTick','multiplyScalar','getWorldAABB','subVectors','makeEmpty','243144hVMLHh','debugColor','threeObject','48TKjxnS','1935264ESGiqU','negate','intersectRayAabbRaw','add','135684AmIYnJ','copy'];_0x55ea=function(){return _0x4da219;};return _0x55ea();}const _0x38db96=_0x4282;(function(_0x4a68c2,_0x339e0a){const _0x458018=_0x4282,_0x374454=_0x4a68c2();while(!![]){try{const _0x54cd08=-parseInt(_0x458018(0x177))/0x1+parseInt(_0x458018(0x181))/0x2+-parseInt(_0x458018(0x18e))/0x3+-parseInt(_0x458018(0x173))/0x4+parseInt(_0x458018(0x199))/0x5*(parseInt(_0x458018(0x192))/0x6)+parseInt(_0x458018(0x17e))/0x7+-parseInt(_0x458018(0x191))/0x8*(-parseInt(_0x458018(0x196))/0x9);if(_0x54cd08===_0x339e0a)break;else _0x374454['push'](_0x374454['shift']());}catch(_0x4ee376){_0x374454['push'](_0x374454['shift']());}}}(_0x55ea,0x28a6e));function _0x4282(_0x1f928a,_0x1552e5){_0x1f928a=_0x1f928a-0x171;const _0x55eafd=_0x55ea();let _0x42825a=_0x55eafd[_0x1f928a];return _0x42825a;}class BoxColliderComponent extends ColliderComponent{get[_0x38db96(0x171)](){return this['_halfExtents'];}constructor(_0x572c40,_0x471f04=new webgpu.Vector3(0.5,0.5,0.5),_0x436d6b){const _0x521f18=_0x38db96;super(_0x572c40,_0x436d6b),this['_debugMesh']=null,this['_halfExtents']=new webgpu.Vector3(_0x471f04['x'],_0x471f04['y'],_0x471f04['z']),this[_0x521f18(0x184)]='BoxColliderComponent';}[_0x38db96(0x18b)](_0x28b33a=new webgpu.Box3()){const _0x387d7c=_0x38db96,_0x75a25f=this[_0x387d7c(0x179)](),_0x57dcbd=this['_halfExtents']['x'],_0x3becbd=this[_0x387d7c(0x172)]['y'],_0x48ac72=this[_0x387d7c(0x172)]['z'];_0x28b33a[_0x387d7c(0x18d)]();const _0x1c4221=[new webgpu.Vector3(-_0x57dcbd,-_0x3becbd,-_0x48ac72),new webgpu.Vector3(-_0x57dcbd,-_0x3becbd,_0x48ac72),new webgpu.Vector3(-_0x57dcbd,_0x3becbd,-_0x48ac72),new webgpu.Vector3(-_0x57dcbd,_0x3becbd,_0x48ac72),new webgpu.Vector3(_0x57dcbd,-_0x3becbd,-_0x48ac72),new webgpu.Vector3(_0x57dcbd,-_0x3becbd,_0x48ac72),new webgpu.Vector3(_0x57dcbd,_0x3becbd,-_0x48ac72),new webgpu.Vector3(_0x57dcbd,_0x3becbd,_0x48ac72)];for(const _0x5b5f2c of _0x1c4221){_0x5b5f2c[_0x387d7c(0x180)](_0x75a25f),_0x28b33a[_0x387d7c(0x186)](_0x5b5f2c);}return _0x28b33a;}[_0x38db96(0x17f)](){const _0x2958f3=_0x38db96,_0x1e6df9=new webgpu.Object3D();_0x1e6df9['name']=_0x2958f3(0x183);const _0x1b54ac=new webgpu.BoxGeometry(0x1,0x1,0x1),_0x242e37=new webgpu.MeshBasicMaterial({'color':this[_0x2958f3(0x18f)],'wireframe':!![],'transparent':!![],'opacity':this[_0x2958f3(0x187)]}),_0x3a5a20=new webgpu.Mesh(_0x1b54ac,_0x242e37);return _0x3a5a20[_0x2958f3(0x184)]=_0x2958f3(0x176),_0x1e6df9['add'](_0x3a5a20),this['_debugMesh']=_0x3a5a20,this[_0x2958f3(0x189)](0x0),_0x1e6df9;}[_0x38db96(0x17c)](_0x3f9445){const _0x390ee8=_0x38db96;this[_0x390ee8(0x174)]=null;}[_0x38db96(0x189)](_0x56a8dc){const _0x40bf29=_0x38db96;if(!this[_0x40bf29(0x174)])return;this[_0x40bf29(0x174)][_0x40bf29(0x17d)][_0x40bf29(0x17b)](this[_0x40bf29(0x172)]['x']*0x2,this[_0x40bf29(0x172)]['y']*0x2,this[_0x40bf29(0x172)]['z']*0x2);}['raycast'](_0x6354a0,_0x245516,_0x1c1d68){const _0x115033=_0x38db96;if(!this[_0x115033(0x190)])return null;const _0x599516=this['threeObject'][_0x115033(0x17a)]['clone']()[_0x115033(0x188)](),_0x415da0=_0x6354a0[_0x115033(0x175)]()[_0x115033(0x180)](_0x599516),_0x545faf=_0x245516[_0x115033(0x175)]()['transformDirection'](_0x599516),_0x3c71be=_0x6354a0[_0x115033(0x175)]()[_0x115033(0x195)](_0x245516),_0x4181d7=_0x3c71be[_0x115033(0x180)](_0x599516);_0x545faf[_0x115033(0x18c)](_0x4181d7,_0x415da0);const _0x1eca2e=this[_0x115033(0x172)]['clone']()[_0x115033(0x193)](),_0x3c9397=this[_0x115033(0x172)]['clone'](),_0x3f5970=this[_0x115033(0x194)](_0x415da0,_0x545faf,_0x1eca2e,_0x3c9397);if(!_0x3f5970)return null;if(_0x3f5970['t']>_0x1c1d68)return null;const _0x2afa81=_0x6354a0[_0x115033(0x175)]()[_0x115033(0x195)](_0x245516[_0x115033(0x175)]()[_0x115033(0x18a)](_0x3f5970['t'])),_0x42724b=_0x3f5970[_0x115033(0x185)],_0x45227d=new webgpu.Matrix4()[_0x115033(0x197)](this[_0x115033(0x190)][_0x115033(0x17a)])[_0x115033(0x188)]()[_0x115033(0x182)](),_0x25c18e=_0x42724b['applyMatrix4'](_0x45227d)[_0x115033(0x178)]();return {'point':_0x2afa81,'normal':_0x25c18e,'distance':_0x3f5970['t']};}[_0x38db96(0x194)](_0x5d53cb,_0x46c162,_0x4b5da9,_0x2b65c0){const _0x1902b6=_0x38db96;let _0x194d7d=-Infinity,_0x19cc45=Infinity;const _0x55dbf2=new webgpu.Vector3(),_0x377526=1e-8,_0x9c45d7=_0x54f18a=>{const _0x10b73b=_0x4282,_0x150710=_0x5d53cb[_0x54f18a],_0x171a01=_0x46c162[_0x54f18a],_0x4a5eda=_0x4b5da9[_0x54f18a],_0x224985=_0x2b65c0[_0x54f18a];if(Math[_0x10b73b(0x198)](_0x171a01)<_0x377526){if(_0x150710<_0x4a5eda||_0x150710>_0x224985)return ![];return !![];}const _0x21c39b=0x1/_0x171a01;let _0x2b44bf=(_0x4a5eda-_0x150710)*_0x21c39b,_0x196289=(_0x224985-_0x150710)*_0x21c39b;if(_0x2b44bf>_0x196289){const _0x3f8a3c=_0x2b44bf;_0x2b44bf=_0x196289,_0x196289=_0x3f8a3c;}if(_0x2b44bf>_0x194d7d){_0x194d7d=_0x2b44bf,_0x55dbf2[_0x10b73b(0x17b)](0x0,0x0,0x0),_0x55dbf2[_0x54f18a]=_0x171a01<0x0?0x1:-1;if(_0x171a01>0x0)_0x55dbf2[_0x54f18a]=-1;else _0x55dbf2[_0x54f18a]=0x1;}_0x196289<_0x19cc45&&(_0x19cc45=_0x196289);if(_0x194d7d>_0x19cc45)return ![];return !![];};if(!_0x9c45d7('x')||!_0x9c45d7('y')||!_0x9c45d7('z'))return null;if(_0x19cc45<0x0)return null;if(_0x194d7d<0x0)return {'t':0x0,'normal':_0x46c162['clone']()[_0x1902b6(0x193)]()[_0x1902b6(0x178)]()};return {'t':_0x194d7d,'normal':_0x55dbf2};}}
|
|
146
157
|
|
|
147
|
-
|
|
158
|
+
const _0x10ef62=_0x691f;(function(_0xc57d9a,_0x1f0f39){const _0x4472e7=_0x691f,_0x103504=_0xc57d9a();while(!![]){try{const _0x4d7856=-parseInt(_0x4472e7(0x8d))/0x1*(parseInt(_0x4472e7(0x79))/0x2)+-parseInt(_0x4472e7(0x8b))/0x3+-parseInt(_0x4472e7(0x90))/0x4*(-parseInt(_0x4472e7(0x8e))/0x5)+-parseInt(_0x4472e7(0x7a))/0x6+parseInt(_0x4472e7(0x7e))/0x7+-parseInt(_0x4472e7(0x85))/0x8+parseInt(_0x4472e7(0x8f))/0x9;if(_0x4d7856===_0x1f0f39)break;else _0x103504['push'](_0x103504['shift']());}catch(_0x59d9af){_0x103504['push'](_0x103504['shift']());}}}(_0x51bc,0xe03a3));function _0x691f(_0x29a0e4,_0x297b5b){_0x29a0e4=_0x29a0e4-0x79;const _0x51bc5a=_0x51bc();let _0x691faa=_0x51bc5a[_0x29a0e4];return _0x691faa;}class SphereColliderComponent extends ColliderComponent{get['radius'](){return this['_radius'];}constructor(_0x8f6e44,_0x255775=0.5,_0x160a07){const _0x2aebb6=_0x691f;super(_0x8f6e44,_0x160a07),this[_0x2aebb6(0x89)]=null,this['_radius']=_0x255775,this['name']=_0x2aebb6(0x96);}['getWorldAABB'](_0x504cdb=new webgpu.Box3()){const _0x2416a2=_0x691f,_0x160bc2=this['getWorldPosition'](),_0x575877=this[_0x2416a2(0x81)](),_0x42e3c9=Math[_0x2416a2(0x80)](Math[_0x2416a2(0x7f)](_0x575877['x']),Math[_0x2416a2(0x7f)](_0x575877['y']),Math[_0x2416a2(0x7f)](_0x575877['z'])),_0x3edba4=Math['max'](0x0,this[_0x2416a2(0x82)])*_0x42e3c9,_0x5623b7=new webgpu.Vector3(_0x3edba4*0x2,_0x3edba4*0x2,_0x3edba4*0x2);return _0x504cdb[_0x2416a2(0x86)](_0x160bc2,_0x5623b7),_0x504cdb;}['createDebugObject'](){const _0x358b1d=_0x691f,_0x18d0af=new webgpu.Object3D();_0x18d0af[_0x358b1d(0x88)]=_0x358b1d(0x8a);const _0x4438e0=new webgpu.SphereGeometry(0x1,0x18,0x10),_0x344413=new webgpu.MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x358b1d(0x7b)]}),_0x48aff1=new webgpu.Mesh(_0x4438e0,_0x344413);return _0x48aff1[_0x358b1d(0x88)]=_0x358b1d(0x92),_0x18d0af[_0x358b1d(0x97)](_0x48aff1),this[_0x358b1d(0x89)]=_0x48aff1,this[_0x358b1d(0x95)](0x0),_0x18d0af;}[_0x10ef62(0x83)](_0x3a7699){this['_debugMesh']=null;}[_0x10ef62(0x95)](_0x221d47){const _0x504935=_0x10ef62,_0x41c5fa=this[_0x504935(0x89)];if(!_0x41c5fa)return;const _0x585099=this[_0x504935(0x81)](),_0x13f82d=Math[_0x504935(0x7f)](_0x585099['x'])>1e-8?_0x585099['x']:0x1,_0x3f7945=Math[_0x504935(0x7f)](_0x585099['y'])>1e-8?_0x585099['y']:0x1,_0x45b59d=Math[_0x504935(0x7f)](_0x585099['z'])>1e-8?_0x585099['z']:0x1,_0x113502=Math[_0x504935(0x80)](Math['abs'](_0x13f82d),Math[_0x504935(0x7f)](_0x3f7945),Math['abs'](_0x45b59d)),_0x303e32=Math['max'](0x0,this[_0x504935(0x82)])*_0x113502;_0x41c5fa['scale']['set'](_0x303e32/_0x13f82d,_0x303e32/_0x3f7945,_0x303e32/_0x45b59d);}[_0x10ef62(0x8c)](){const _0x1f9eab=_0x10ef62,_0x4772bd=this[_0x1f9eab(0x89)];if(!_0x4772bd)return;const _0x147d88=_0x4772bd[_0x1f9eab(0x7c)];_0x147d88[_0x1f9eab(0x93)][_0x1f9eab(0x84)](this[_0x1f9eab(0x94)]),_0x147d88[_0x1f9eab(0x91)]=this[_0x1f9eab(0x7b)],_0x147d88[_0x1f9eab(0x87)]=this[_0x1f9eab(0x7b)]<0x1,_0x147d88[_0x1f9eab(0x7d)]=!![];}}function _0x51bc(){const _0x37a6d2=['add','3174SYzreq','42534HhdKEM','debugOpacity','material','needsUpdate','8233218QngMWK','abs','max','getWorldScale','_radius','destroyDebugObject','setHex','1590944GkCSSG','setFromCenterAndSize','transparent','name','_debugMesh','SphereColliderDebug','806997MsvIHx','onDebugStyleChanged','1098KPJGDh','37875PNUiqB','14842512VpPiWu','164egCkSf','opacity','SphereColliderDebugMesh','color','debugColor','onDebugTick','SphereColliderComponent'];_0x51bc=function(){return _0x37a6d2;};return _0x51bc();}
|
|
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 _0x3d2d05=_0x35f2;function _0x35f2(_0x565bfd,_0x1d8857){_0x565bfd=_0x565bfd-0xd9;const _0x1ef3a6=_0x1ef3();let _0x35f25a=_0x1ef3a6[_0x565bfd];return _0x35f25a;}(function(_0x3ac2a2,_0x5b029f){const _0x340fe6=_0x35f2,_0xb691d1=_0x3ac2a2();while(!![]){try{const _0x2744d7=-parseInt(_0x340fe6(0xfd))/0x1*(parseInt(_0x340fe6(0xec))/0x2)+parseInt(_0x340fe6(0xf8))/0x3+parseInt(_0x340fe6(0x10b))/0x4*(parseInt(_0x340fe6(0xf1))/0x5)+parseInt(_0x340fe6(0x130))/0x6*(parseInt(_0x340fe6(0xf0))/0x7)+-parseInt(_0x340fe6(0x134))/0x8*(-parseInt(_0x340fe6(0x106))/0x9)+parseInt(_0x340fe6(0x114))/0xa*(-parseInt(_0x340fe6(0x12a))/0xb)+-parseInt(_0x340fe6(0xdb))/0xc;if(_0x2744d7===_0x5b029f)break;else _0xb691d1['push'](_0xb691d1['shift']());}catch(_0x40bcce){_0xb691d1['push'](_0xb691d1['shift']());}}}(_0x1ef3,0xbb61d));function _0x1ef3(){const _0x56d4c3=['getWorldAABB','_tmpEdge2','clone','debugOpacity','32QTficG','point','_tmpA','mergeGeometries','array','_debugEntries','getX','distance','name','1720vAdNzX','_tmpP','_tmpQ','computeBoundingBox','_tmpC','_sourceObject','dot','getZ','boundingBox','sub','sort','intersectRayTriangle','raycast','getDebugAttachParent','dispose','MeshColliderDebug','destroyDebugObject','setAttribute','lengthSq','sqrt','setSourceObject','_tmpCorner','14773cdXLZn','geometry','_debugMaterial','multiplyScalar','needsUpdate','createDebugObject','12enwGfv','applyMatrix4','_tmpT','_tmpEdge1','26608TZXyPM','destroy','abs','length','_tmpB','from','16782036mRuUHo','min','traverse','obj','add','multiply','push','getY','isMesh','threeObject','matrixWorld','_mesh','normal','_tmpMat','intersectRayAabb','raycastAll','color','6434aTZaSe','count','setIndex','attributes','3672214WPIOOn','924365phvOdc','transparent','copy','position','updateWorldMatrix','debugEnabled','setHex','1696191ucLFFv','_tmpBoxCorner','crossVectors','max','invert','353wIWMSg','floor','_tmpAabb','getIndex','index','_tmpN','debugColor','set','expandByPoint','1188yIgkZm'];_0x1ef3=function(){return _0x56d4c3;};return _0x1ef3();}class MeshColliderComponent extends ColliderComponent{get['sourceObject'](){const _0x55799d=_0x35f2;return this[_0x55799d(0x119)];}constructor(_0x53410b,_0x1c3e66=null,_0x48cf93){const _0x279af2=_0x35f2;super(_0x53410b,_0x48cf93),this[_0x279af2(0x119)]=null,this[_0x279af2(0xe6)]=null,this['_debugEntries']=[],this['_debugMaterial']=null,this[_0x279af2(0xff)]=new webgpu.Box3(),this['_tmpMat']=new webgpu.Matrix4(),this['_tmpCorner']=new webgpu.Vector3(),this['_tmpBoxCorner']=Array[_0x279af2(0xda)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x279af2(0x10d)]=new webgpu.Vector3(),this[_0x279af2(0xd9)]=new webgpu.Vector3(),this[_0x279af2(0x118)]=new webgpu.Vector3(),this['_tmpEdge1']=new webgpu.Vector3(),this[_0x279af2(0x108)]=new webgpu.Vector3(),this[_0x279af2(0x115)]=new webgpu.Vector3(),this[_0x279af2(0x132)]=new webgpu.Vector3(),this[_0x279af2(0x116)]=new webgpu.Vector3(),this[_0x279af2(0x102)]=new webgpu.Vector3(),this[_0x279af2(0x113)]='MeshColliderComponent',this[_0x279af2(0x128)](_0x1c3e66);}[_0x3d2d05(0x128)](_0x1e1b6c){const _0x1bc902=_0x3d2d05,_0x37f6b9=this[_0x1bc902(0xf6)];_0x37f6b9&&(this[_0x1bc902(0xf6)]=![]);this[_0x1bc902(0x119)]=_0x1e1b6c;this[_0x1bc902(0xe6)]&&(this[_0x1bc902(0xe6)]['geometry'][_0x1bc902(0x122)](),this[_0x1bc902(0xe6)]=null);if(!_0x1e1b6c){_0x37f6b9&&(this[_0x1bc902(0xf6)]=!![]);return;}const _0x1187fa=[];_0x1e1b6c[_0x1bc902(0xf5)](!![],!![]);const _0x57261d=_0x1e1b6c[_0x1bc902(0xe5)][_0x1bc902(0x109)]()[_0x1bc902(0xfc)]();_0x1e1b6c[_0x1bc902(0xdd)](_0x39489d=>{const _0x5547d0=_0x1bc902;if(_0x39489d[_0x5547d0(0xe3)]){const _0x74b3d9=_0x39489d;if(_0x74b3d9['geometry']){const _0x513293=_0x74b3d9['geometry'][_0x5547d0(0x109)](),_0x21ae3b=_0x57261d['clone']()[_0x5547d0(0xe0)](_0x74b3d9[_0x5547d0(0xe5)]);_0x513293['applyMatrix4'](_0x21ae3b),_0x1187fa[_0x5547d0(0xe1)](_0x513293);}}});if(_0x1187fa['length']>0x0){const _0x1167a2=this[_0x1bc902(0x10e)](_0x1187fa);if(_0x1167a2){const _0x238d14=new webgpu.Mesh(_0x1167a2);this[_0x1bc902(0xe6)]=_0x238d14;}}_0x37f6b9&&(this[_0x1bc902(0xf6)]=!![]);}[_0x3d2d05(0x10e)](_0x51483f){const _0x4d1825=_0x3d2d05;if(_0x51483f[_0x4d1825(0x137)]===0x0)return null;if(_0x51483f[_0x4d1825(0x137)]===0x1)return _0x51483f[0x0];let _0x837030=0x0,_0x7a5e94=0x0;for(const _0x1c2a3f of _0x51483f){_0x837030+=_0x1c2a3f[_0x4d1825(0xef)][_0x4d1825(0xf4)][_0x4d1825(0xed)],_0x1c2a3f[_0x4d1825(0x101)]?_0x7a5e94+=_0x1c2a3f[_0x4d1825(0x101)][_0x4d1825(0xed)]:_0x7a5e94+=_0x1c2a3f['attributes'][_0x4d1825(0xf4)]['count'];}const _0x3ae9ee=new Float32Array(_0x837030*0x3),_0xd5b546=new Uint32Array(_0x7a5e94);let _0x1bd481=0x0,_0x220dd6=0x0;for(const _0x128443 of _0x51483f){const _0x95f1af=_0x128443[_0x4d1825(0xef)]['position'][_0x4d1825(0x10f)],_0xfbd989=_0x128443[_0x4d1825(0xef)][_0x4d1825(0xf4)][_0x4d1825(0xed)];for(let _0x188d80=0x0;_0x188d80<_0xfbd989*0x3;_0x188d80++){_0x3ae9ee[_0x1bd481*0x3+_0x188d80]=_0x95f1af[_0x188d80];}if(_0x128443[_0x4d1825(0x101)]){const _0x223f4c=_0x128443[_0x4d1825(0x101)][_0x4d1825(0x10f)];for(let _0x4a06d6=0x0;_0x4a06d6<_0x128443[_0x4d1825(0x101)][_0x4d1825(0xed)];_0x4a06d6++){_0xd5b546[_0x220dd6+_0x4a06d6]=_0x223f4c[_0x4a06d6]+_0x1bd481;}_0x220dd6+=_0x128443[_0x4d1825(0x101)][_0x4d1825(0xed)];}else {for(let _0x1ba2e4=0x0;_0x1ba2e4<_0xfbd989;_0x1ba2e4++){_0xd5b546[_0x220dd6+_0x1ba2e4]=_0x1ba2e4+_0x1bd481;}_0x220dd6+=_0xfbd989;}_0x1bd481+=_0xfbd989;}const _0x23a14e=new webgpu.BufferGeometry();return _0x23a14e[_0x4d1825(0x125)](_0x4d1825(0xf4),new webgpu.BufferAttribute(_0x3ae9ee,0x3)),_0x23a14e[_0x4d1825(0xee)](new webgpu.BufferAttribute(_0xd5b546,0x1)),_0x23a14e;}['destroy'](){const _0x28907b=_0x3d2d05;this[_0x28907b(0xf6)]=![],this['_mesh']&&(this[_0x28907b(0xe6)][_0x28907b(0x12b)][_0x28907b(0x122)](),this[_0x28907b(0xe6)]=null),this['_sourceObject']=null,super[_0x28907b(0x135)]();}[_0x3d2d05(0x107)](_0x3dc0f0=new webgpu.Box3()){const _0x48a280=_0x3d2d05;_0x3dc0f0['makeEmpty']();if(!this[_0x48a280(0x119)])return _0x3dc0f0;this['_sourceObject'][_0x48a280(0xf5)](!![],!![]);const _0x468cd1=this[_0x48a280(0xf9)];if(this['_mesh']){const _0x4b5d7f=this['_mesh'];_0x4b5d7f['matrixWorld'][_0x48a280(0xf3)](this[_0x48a280(0x119)][_0x48a280(0xe5)]);const _0x27472a=_0x4b5d7f[_0x48a280(0x12b)];if(_0x27472a){!_0x27472a[_0x48a280(0x11c)]&&_0x27472a['computeBoundingBox']();const _0x6f244=_0x27472a[_0x48a280(0x11c)];if(_0x6f244){this[_0x48a280(0xe8)]['copy'](_0x4b5d7f[_0x48a280(0xe5)]);const _0x29a454=_0x6f244['min'],_0x352fc2=_0x6f244[_0x48a280(0xfb)];_0x468cd1[0x0]['set'](_0x29a454['x'],_0x29a454['y'],_0x29a454['z']),_0x468cd1[0x1][_0x48a280(0x104)](_0x29a454['x'],_0x29a454['y'],_0x352fc2['z']),_0x468cd1[0x2]['set'](_0x29a454['x'],_0x352fc2['y'],_0x29a454['z']),_0x468cd1[0x3][_0x48a280(0x104)](_0x29a454['x'],_0x352fc2['y'],_0x352fc2['z']),_0x468cd1[0x4][_0x48a280(0x104)](_0x352fc2['x'],_0x29a454['y'],_0x29a454['z']),_0x468cd1[0x5][_0x48a280(0x104)](_0x352fc2['x'],_0x29a454['y'],_0x352fc2['z']),_0x468cd1[0x6][_0x48a280(0x104)](_0x352fc2['x'],_0x352fc2['y'],_0x29a454['z']),_0x468cd1[0x7]['set'](_0x352fc2['x'],_0x352fc2['y'],_0x352fc2['z']);for(const _0x12ac6e of _0x468cd1){_0x12ac6e['applyMatrix4'](this[_0x48a280(0xe8)]),_0x3dc0f0[_0x48a280(0x105)](_0x12ac6e);}}}}return _0x3dc0f0;}[_0x3d2d05(0xea)](_0xc968d1,_0x5c8fa3,_0x4784cc){const _0x5b60cb=_0x3d2d05;if(!this[_0x5b60cb(0x119)])return [];this['_sourceObject'][_0x5b60cb(0xf5)](!![],!![]);const _0x425ced=[];if(this['_mesh']){const _0x314e3d=this[_0x5b60cb(0xe6)];_0x314e3d[_0x5b60cb(0xe5)][_0x5b60cb(0xf3)](this[_0x5b60cb(0x119)][_0x5b60cb(0xe5)]);const _0x19a454=_0x314e3d[_0x5b60cb(0x12b)];if(_0x19a454){!_0x19a454[_0x5b60cb(0x11c)]&&_0x19a454[_0x5b60cb(0x117)]();const _0xc793d0=_0x19a454[_0x5b60cb(0x11c)];if(_0xc793d0){const _0x4cbb4a=this[_0x5b60cb(0xff)][_0x5b60cb(0xf3)](_0xc793d0)[_0x5b60cb(0x131)](_0x314e3d[_0x5b60cb(0xe5)]);if(this[_0x5b60cb(0xe9)](_0xc968d1,_0x5c8fa3,_0x4784cc,_0x4cbb4a)){const _0x259456=_0x19a454['getAttribute'](_0x5b60cb(0xf4));if(_0x259456){const _0x4fe39f=_0x19a454[_0x5b60cb(0x100)](),_0x111d28=_0x4fe39f?Math[_0x5b60cb(0xfe)](_0x4fe39f[_0x5b60cb(0xed)]/0x3):Math['floor'](_0x259456['count']/0x3);for(let _0x10eadd=0x0;_0x10eadd<_0x111d28;_0x10eadd++){const _0x2f6f34=_0x4fe39f?_0x4fe39f[_0x5b60cb(0x111)](_0x10eadd*0x3+0x0):_0x10eadd*0x3+0x0,_0xd8b60f=_0x4fe39f?_0x4fe39f[_0x5b60cb(0x111)](_0x10eadd*0x3+0x1):_0x10eadd*0x3+0x1,_0x4ec80f=_0x4fe39f?_0x4fe39f[_0x5b60cb(0x111)](_0x10eadd*0x3+0x2):_0x10eadd*0x3+0x2;this[_0x5b60cb(0x10d)][_0x5b60cb(0x104)](_0x259456['getX'](_0x2f6f34),_0x259456[_0x5b60cb(0xe2)](_0x2f6f34),_0x259456[_0x5b60cb(0x11b)](_0x2f6f34))[_0x5b60cb(0x131)](_0x314e3d[_0x5b60cb(0xe5)]),this['_tmpB'][_0x5b60cb(0x104)](_0x259456[_0x5b60cb(0x111)](_0xd8b60f),_0x259456['getY'](_0xd8b60f),_0x259456[_0x5b60cb(0x11b)](_0xd8b60f))[_0x5b60cb(0x131)](_0x314e3d[_0x5b60cb(0xe5)]),this[_0x5b60cb(0x118)]['set'](_0x259456['getX'](_0x4ec80f),_0x259456[_0x5b60cb(0xe2)](_0x4ec80f),_0x259456[_0x5b60cb(0x11b)](_0x4ec80f))['applyMatrix4'](_0x314e3d[_0x5b60cb(0xe5)]);const _0x37b292=this[_0x5b60cb(0x11f)](_0xc968d1,_0x5c8fa3,this['_tmpA'],this[_0x5b60cb(0xd9)],this[_0x5b60cb(0x118)],_0x4784cc);_0x37b292&&_0x425ced[_0x5b60cb(0xe1)]({'distance':_0x37b292[_0x5b60cb(0x112)],'point':_0x37b292[_0x5b60cb(0x10c)][_0x5b60cb(0x109)](),'normal':_0x37b292[_0x5b60cb(0xe7)]['clone']()});}}}}}}return _0x425ced[_0x5b60cb(0x11e)]((_0x3bbdfb,_0xd67117)=>_0x3bbdfb[_0x5b60cb(0x112)]-_0xd67117[_0x5b60cb(0x112)]);}[_0x3d2d05(0x120)](_0x1ff759,_0x2bedd4,_0x3fdc30){const _0x55c33f=_0x3d2d05,_0x5c323e=this[_0x55c33f(0xea)](_0x1ff759,_0x2bedd4,_0x3fdc30);if(_0x5c323e[_0x55c33f(0x137)]>0x0)return _0x5c323e[0x0];return null;}[_0x3d2d05(0xe9)](_0x3a7191,_0x11617b,_0x4ba7c5,_0x285eff){const _0x19f2de=_0x3d2d05;let _0x1db923=0x0,_0x31a22c=_0x4ba7c5;const _0x48458c=1e-8,_0x89a793=_0x562b8e=>{const _0x4ae9f2=_0x35f2,_0x6589c=_0x3a7191[_0x562b8e],_0x368944=_0x11617b[_0x562b8e],_0x8c675c=_0x285eff[_0x4ae9f2(0xdc)][_0x562b8e],_0x1b7ea7=_0x285eff[_0x4ae9f2(0xfb)][_0x562b8e];if(Math[_0x4ae9f2(0x136)](_0x368944)<_0x48458c)return _0x6589c>=_0x8c675c&&_0x6589c<=_0x1b7ea7;const _0x3084b8=0x1/_0x368944;let _0x3b5f0e,_0x47d0fd;return _0x368944>=0x0?(_0x3b5f0e=(_0x8c675c-_0x6589c)*_0x3084b8,_0x47d0fd=(_0x1b7ea7-_0x6589c)*_0x3084b8):(_0x3b5f0e=(_0x1b7ea7-_0x6589c)*_0x3084b8,_0x47d0fd=(_0x8c675c-_0x6589c)*_0x3084b8),_0x3b5f0e>_0x1db923&&(_0x1db923=_0x3b5f0e),_0x47d0fd<_0x31a22c&&(_0x31a22c=_0x47d0fd),_0x1db923<=_0x31a22c;};if(!_0x89a793('x')||!_0x89a793('y')||!_0x89a793('z'))return ![];const _0x2e55e0=Math[_0x19f2de(0xfb)](0x0,_0x1db923);return _0x2e55e0<=_0x4ba7c5;}['intersectRayTriangle'](_0x21a256,_0x8e39e0,_0x1cf1e3,_0x441f05,_0x48b86a,_0x3f7dc8){const _0x28843b=_0x3d2d05,_0x26ddaa=1e-8,_0x11c6ac=this[_0x28843b(0x133)][_0x28843b(0xf3)](_0x441f05)[_0x28843b(0x11d)](_0x1cf1e3),_0x43fb05=this[_0x28843b(0x108)][_0x28843b(0xf3)](_0x48b86a)[_0x28843b(0x11d)](_0x1cf1e3),_0x1bb40d=this[_0x28843b(0x115)][_0x28843b(0xfa)](_0x8e39e0,_0x43fb05),_0x47fe40=_0x11c6ac[_0x28843b(0x11a)](_0x1bb40d);if(Math[_0x28843b(0x136)](_0x47fe40)<_0x26ddaa)return null;const _0xa21ab6=0x1/_0x47fe40,_0x236015=this[_0x28843b(0x132)][_0x28843b(0xf3)](_0x21a256)[_0x28843b(0x11d)](_0x1cf1e3),_0x2859a3=_0x236015[_0x28843b(0x11a)](_0x1bb40d)*_0xa21ab6;if(_0x2859a3<0x0||_0x2859a3>0x1)return null;const _0x477399=this[_0x28843b(0x116)]['crossVectors'](_0x236015,_0x11c6ac),_0x15127c=_0x8e39e0['dot'](_0x477399)*_0xa21ab6;if(_0x15127c<0x0||_0x2859a3+_0x15127c>0x1)return null;const _0x185c53=_0x43fb05[_0x28843b(0x11a)](_0x477399)*_0xa21ab6;if(_0x185c53<0x0||_0x185c53>_0x3f7dc8)return null;const _0x3c3d3d=this[_0x28843b(0x102)]['crossVectors'](_0x11c6ac,_0x43fb05),_0x2e0534=_0x3c3d3d[_0x28843b(0x126)]();_0x2e0534>_0x26ddaa&&_0x3c3d3d[_0x28843b(0x12d)](0x1/Math[_0x28843b(0x127)](_0x2e0534));_0x3c3d3d[_0x28843b(0x11a)](_0x8e39e0)>0x0&&_0x3c3d3d[_0x28843b(0x12d)](-1);const _0x2a816d=this[_0x28843b(0x129)][_0x28843b(0xf3)](_0x21a256)['addScaledVector'](_0x8e39e0,_0x185c53);return {'point':_0x2a816d,'normal':_0x3c3d3d,'distance':_0x185c53};}[_0x3d2d05(0x121)](){const _0x140076=_0x3d2d05;return this[_0x140076(0xe4)];}[_0x3d2d05(0x12f)](){const _0x3c209a=_0x3d2d05;if(!this[_0x3c209a(0x119)])return null;const _0x58f757=new webgpu.Object3D();_0x58f757[_0x3c209a(0x113)]=_0x3c209a(0x123),this['_debugEntries']=[],this[_0x3c209a(0x12c)]=new webgpu.MeshBasicMaterial({'color':this[_0x3c209a(0x103)],'wireframe':!![],'transparent':!![],'opacity':this[_0x3c209a(0x10a)]});if(this[_0x3c209a(0xe6)]){const _0x41faca=this[_0x3c209a(0xe6)],_0x4b3bb9=_0x41faca[_0x3c209a(0x12b)];if(_0x4b3bb9){const _0x1e2b6b=new webgpu.Mesh(_0x4b3bb9,this[_0x3c209a(0x12c)]);_0x58f757[_0x3c209a(0xdf)](_0x1e2b6b),this[_0x3c209a(0x110)][_0x3c209a(0xe1)]({'parent':_0x58f757,'obj':_0x1e2b6b});}}return _0x58f757;}[_0x3d2d05(0x124)](_0x9fd02){const _0x3d94ad=_0x3d2d05;for(const _0x6b41a0 of this[_0x3d94ad(0x110)]){_0x6b41a0['parent']['remove'](_0x6b41a0[_0x3d94ad(0xde)]);}this[_0x3d94ad(0x110)]=[],this[_0x3d94ad(0x12c)]=null;}['onDebugStyleChanged'](){const _0x297ebf=_0x3d2d05;if(!this[_0x297ebf(0x12c)])return;this[_0x297ebf(0x12c)][_0x297ebf(0xeb)][_0x297ebf(0xf7)](this[_0x297ebf(0x103)]),this['_debugMaterial']['opacity']=this[_0x297ebf(0x10a)],this['_debugMaterial'][_0x297ebf(0xf2)]=this[_0x297ebf(0x10a)]<0x1,this[_0x297ebf(0x12c)][_0x297ebf(0x12e)]=!![];}}
|
|
150
161
|
|
|
151
|
-
(function(
|
|
162
|
+
function _0x5cae(){var _0xc2dcdd=['10533jHvmZh','126vxwrCW','4641286FVlMXr','6wNBDsR','201883ORurrt','865098rycoKn','203611PoGHQg','2OgQWft','96IZWbet','847690zQzAUU','105368WDZqoJ','10lCZXuo','72ivdtfh'];_0x5cae=function(){return _0xc2dcdd;};return _0x5cae();}(function(_0xe5da68,_0x5b001a){var _0x3d6990=_0x577e,_0x4fd4a2=_0xe5da68();while(!![]){try{var _0x441b3b=parseInt(_0x3d6990(0x142))/0x1*(parseInt(_0x3d6990(0x143))/0x2)+-parseInt(_0x3d6990(0x149))/0x3*(parseInt(_0x3d6990(0x148))/0x4)+-parseInt(_0x3d6990(0x145))/0x5*(-parseInt(_0x3d6990(0x14c))/0x6)+parseInt(_0x3d6990(0x14a))/0x7*(parseInt(_0x3d6990(0x146))/0x8)+parseInt(_0x3d6990(0x141))/0x9*(parseInt(_0x3d6990(0x147))/0xa)+-parseInt(_0x3d6990(0x140))/0xb*(parseInt(_0x3d6990(0x144))/0xc)+-parseInt(_0x3d6990(0x14b))/0xd;if(_0x441b3b===_0x5b001a)break;else _0x4fd4a2['push'](_0x4fd4a2['shift']());}catch(_0x2a460a){_0x4fd4a2['push'](_0x4fd4a2['shift']());}}}(_0x5cae,0x22029));function _0x577e(_0xa32c86,_0x4865a7){_0xa32c86=_0xa32c86-0x140;var _0x5cae4d=_0x5cae();var _0x577eb1=_0x5cae4d[_0xa32c86];return _0x577eb1;}
|
|
152
163
|
|
|
153
|
-
(function(
|
|
164
|
+
(function(_0x4c8ad9,_0xeb7f9b){var _0x323f5a=_0x3e6d,_0x2c50d0=_0x4c8ad9();while(!![]){try{var _0x1b9bbd=parseInt(_0x323f5a(0x1e2))/0x1*(parseInt(_0x323f5a(0x1e4))/0x2)+-parseInt(_0x323f5a(0x1e0))/0x3+parseInt(_0x323f5a(0x1df))/0x4*(-parseInt(_0x323f5a(0x1dd))/0x5)+parseInt(_0x323f5a(0x1de))/0x6+-parseInt(_0x323f5a(0x1e5))/0x7*(-parseInt(_0x323f5a(0x1e7))/0x8)+parseInt(_0x323f5a(0x1e6))/0x9*(-parseInt(_0x323f5a(0x1e1))/0xa)+parseInt(_0x323f5a(0x1dc))/0xb*(parseInt(_0x323f5a(0x1e3))/0xc);if(_0x1b9bbd===_0xeb7f9b)break;else _0x2c50d0['push'](_0x2c50d0['shift']());}catch(_0xe1be66){_0x2c50d0['push'](_0x2c50d0['shift']());}}}(_0x10f0,0x85769));function _0x3e6d(_0x9dfa61,_0xaa8ecd){_0x9dfa61=_0x9dfa61-0x1dc;var _0x10f0d6=_0x10f0();var _0x3e6d8b=_0x10f0d6[_0x9dfa61];return _0x3e6d8b;}function _0x10f0(){var _0x43db29=['1242558FyYSiv','4wkAIwP','1446324LrmJGN','30bAgMFg','1HxgjZQ','152316wiCOjg','1767642TSeLVL','7LWezdk','2407311GQEEqU','101136ioqasI','737CFSnap','613885AhhrZP'];_0x10f0=function(){return _0x43db29;};return _0x10f0();}
|
|
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;
|