lythreeframe 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs.js +68 -68
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +69 -69
- package/dist/bundle.esm.js.map +1 -1
- package/dist/src/Frame/Parameters/ViewportParameters.d.ts +1 -1
- package/dist/src/Frame/Rendering/PostProcess.d.ts +16 -0
- package/dist/src/Object/PawnV2/Oribital.d.ts +15 -0
- package/dist/src/ThreeJsApp.d.ts +17 -2
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -25,143 +25,143 @@ var ShaderPass_js = require('three/examples/jsm/postprocessing/ShaderPass.js');
|
|
|
25
25
|
var FXAAShader_js = require('three/examples/jsm/shaders/FXAAShader.js');
|
|
26
26
|
var gsap = require('gsap');
|
|
27
27
|
var SkyMesh_js = require('three/examples/jsm/objects/SkyMesh.js');
|
|
28
|
-
var
|
|
28
|
+
var _0x335752 = require('earcut');
|
|
29
29
|
var CSS2DRenderer_js = require('three/examples/jsm/renderers/CSS2DRenderer.js');
|
|
30
30
|
var TransformControls_js = require('three/examples/jsm/controls/TransformControls.js');
|
|
31
31
|
|
|
32
|
-
const
|
|
32
|
+
const _0x58c8c3=_0x334c;function _0x30f4(){const _0x535ec8=['addTickEvent','bCanTick','forEach','destroy','1414076jlxRFF','1170sVUxFm','generateUUID','clearTickEvents','indexOf','isTickEnabled','splice','262YhtYAK','tickEvents','376890QIdxPv','3936645nCAgKE','143283hLNVdK','348444XGUFtF','434315fRFVHv','88HtRoeb'];_0x30f4=function(){return _0x535ec8;};return _0x30f4();}(function(_0x4e654d,_0x221b45){const _0x1d4d68=_0x334c,_0x31a831=_0x4e654d();while(!![]){try{const _0x5002c3=parseInt(_0x1d4d68(0x188))/0x1*(parseInt(_0x1d4d68(0x182))/0x2)+parseInt(_0x1d4d68(0x18a))/0x3+parseInt(_0x1d4d68(0x181))/0x4+-parseInt(_0x1d4d68(0x18e))/0x5+-parseInt(_0x1d4d68(0x18d))/0x6+parseInt(_0x1d4d68(0x18c))/0x7*(parseInt(_0x1d4d68(0x18f))/0x8)+-parseInt(_0x1d4d68(0x18b))/0x9;if(_0x5002c3===_0x221b45)break;else _0x31a831['push'](_0x31a831['shift']());}catch(_0x2bfa52){_0x31a831['push'](_0x31a831['shift']());}}}(_0x30f4,0x43324));function _0x334c(_0x120d7e,_0x4cffb3){_0x120d7e=_0x120d7e-0x17e;const _0x30f48f=_0x30f4();let _0x334c51=_0x30f48f[_0x120d7e];return _0x334c51;}class BaseObject{get[_0x58c8c3(0x186)](){return this['bCanTick'];}set['isTickEnabled'](_0x22c0d5){this['bCanTick']=_0x22c0d5;}get['uuid'](){return this['_uuid'];}constructor(_0x1eb1aa=webgpu.MathUtils[_0x58c8c3(0x183)]()){const _0x17500f=_0x58c8c3;this[_0x17500f(0x17e)]=![],this[_0x17500f(0x189)]=[],this[_0x17500f(0x17e)]=![],this['_uuid']=_0x1eb1aa;}['tick'](_0x1f5d82){const _0x3fb185=_0x58c8c3;if(!this[_0x3fb185(0x17e)])return;this[_0x3fb185(0x189)][_0x3fb185(0x17f)](_0x1fc1b1=>{_0x1fc1b1(_0x1f5d82);});}[_0x58c8c3(0x190)](_0x5095ed){const _0xc81171=_0x58c8c3;this[_0xc81171(0x189)]['push'](_0x5095ed);}['removeTickEvent'](_0x5e0540){const _0x28fe9f=_0x58c8c3;let _0x11c32f=this[_0x28fe9f(0x189)][_0x28fe9f(0x185)](_0x5e0540);_0x11c32f!=-1&&this[_0x28fe9f(0x189)][_0x28fe9f(0x187)](_0x11c32f,0x1);}[_0x58c8c3(0x184)](){const _0x43e424=_0x58c8c3;this[_0x43e424(0x189)]=[];}[_0x58c8c3(0x180)](){}}
|
|
33
33
|
|
|
34
|
-
const
|
|
34
|
+
const _0x373d3d=_0x33f4;function _0x4ff5(){const _0x2ef227=['destroy','2203544sSVhRe','threeObject','obj','5KejBBZ','destroyObject','LYObject','Component','createDefaultObject','parentActor','4920260ldglRB','11vOvjwL','2459954TVQCqH','532897xbYVEo','3584547DBuptN','3reAaVR','name','8cUMLBk','_name','userData','_parentActor','411452lKtLPS','generateUUID','2691270Saxiym'];_0x4ff5=function(){return _0x2ef227;};return _0x4ff5();}(function(_0x3ff319,_0x3cf652){const _0x228d3d=_0x33f4,_0x192bdd=_0x3ff319();while(!![]){try{const _0x5bd394=parseInt(_0x228d3d(0x117))/0x1+-parseInt(_0x228d3d(0x11f))/0x2*(-parseInt(_0x228d3d(0x119))/0x3)+-parseInt(_0x228d3d(0x123))/0x4*(parseInt(_0x228d3d(0x10e))/0x5)+-parseInt(_0x228d3d(0x121))/0x6+parseInt(_0x228d3d(0x116))/0x7*(-parseInt(_0x228d3d(0x11b))/0x8)+parseInt(_0x228d3d(0x118))/0x9+parseInt(_0x228d3d(0x114))/0xa*(parseInt(_0x228d3d(0x115))/0xb);if(_0x5bd394===_0x3cf652)break;else _0x192bdd['push'](_0x192bdd['shift']());}catch(_0x366fd5){_0x192bdd['push'](_0x192bdd['shift']());}}}(_0x4ff5,0x43e3f));function _0x33f4(_0x1aede5,_0x451f67){_0x1aede5=_0x1aede5-0x10e;const _0x4ff55c=_0x4ff5();let _0x33f48c=_0x4ff55c[_0x1aede5];return _0x33f48c;}class Component extends BaseObject{set['parentActor'](_0x5d26e8){const _0x52ec40=_0x33f4;this[_0x52ec40(0x11e)]=_0x5d26e8;}get[_0x373d3d(0x113)](){const _0x4e7c70=_0x373d3d;return this[_0x4e7c70(0x11e)];}get[_0x373d3d(0x124)](){const _0x431598=_0x373d3d;return this[_0x431598(0x125)];}set[_0x373d3d(0x124)](_0x3d3a07){const _0x34faf7=_0x373d3d;this['obj']=_0x3d3a07,this[_0x34faf7(0x125)]&&(this[_0x34faf7(0x125)][_0x34faf7(0x11d)][_0x34faf7(0x110)]=this);}get[_0x373d3d(0x11a)](){return this['_name'];}set['name'](_0x5a9b6d){const _0x2d3ea5=_0x373d3d;this[_0x2d3ea5(0x11c)]=_0x5a9b6d,this[_0x2d3ea5(0x125)]&&(this[_0x2d3ea5(0x125)]['name']=_0x5a9b6d);}constructor(_0x334da5){const _0x522491=_0x373d3d;super(_0x334da5?_0x334da5:webgpu.MathUtils[_0x522491(0x120)]()),this[_0x522491(0x125)]=null,this['_parentActor']=null,this[_0x522491(0x11c)]=_0x522491(0x111),this[_0x522491(0x11e)]=null;let _0x33ab80=this['createDefaultObject']();_0x33ab80?(this[_0x522491(0x125)]=_0x33ab80,this[_0x522491(0x11c)]=this[_0x522491(0x125)]['type']+_0x522491(0x111)):console['warn']('Component\x20createDefaultObject\x20return\x20null');}[_0x373d3d(0x112)](_0x3113f2){return null;}['destroyObject'](){const _0x2f5831=_0x373d3d;if(!this[_0x2f5831(0x125)])return;}[_0x373d3d(0x122)](){const _0x31f8bd=_0x373d3d;this[_0x31f8bd(0x10f)]();}}
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function _0x2a5d(_0x3665b0,_0x4fb061){_0x3665b0=_0x3665b0-0x1d8;var _0x5f04e7=_0x5f04();var _0x2a5da8=_0x5f04e7[_0x3665b0];return _0x2a5da8;}(function(_0xc670df,_0x2d9aea){var _0x59ff40=_0x2a5d,_0x473468=_0xc670df();while(!![]){try{var _0x87e35c=parseInt(_0x59ff40(0x1da))/0x1+parseInt(_0x59ff40(0x1de))/0x2*(parseInt(_0x59ff40(0x1e0))/0x3)+-parseInt(_0x59ff40(0x1dd))/0x4*(parseInt(_0x59ff40(0x1e2))/0x5)+parseInt(_0x59ff40(0x1d9))/0x6+-parseInt(_0x59ff40(0x1e1))/0x7+parseInt(_0x59ff40(0x1dc))/0x8+parseInt(_0x59ff40(0x1db))/0x9;if(_0x87e35c===_0x2d9aea)break;else _0x473468['push'](_0x473468['shift']());}catch(_0x23c2a7){_0x473468['push'](_0x473468['shift']());}}}(_0x5f04,0x84595));exports.AttachmentRules = void 0;function _0x5f04(){var _0x33c79f=['39580rciXkg','KeepWorld','3970956RNuNpA','78402mWMIYH','4705191lxyuSA','3444848geIFdp','532HsHpWm','56pUieng','KeepRelative','11556gbvPRP','1445920ekpYfm'];_0x5f04=function(){return _0x33c79f;};return _0x5f04();}(function(_0x389e1d){var _0x238811=_0x2a5d;_0x389e1d[_0x389e1d['KeepWorld']=0x1]=_0x238811(0x1d8),_0x389e1d[_0x389e1d[_0x238811(0x1df)]=0x2]=_0x238811(0x1df);}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
37
37
|
|
|
38
|
-
const
|
|
38
|
+
const _0x4d6316=_0x290e;(function(_0x3efa1a,_0x27b2ea){const _0x3b0c71=_0x290e,_0x498665=_0x3efa1a();while(!![]){try{const _0x3b43c4=parseInt(_0x3b0c71(0x161))/0x1+-parseInt(_0x3b0c71(0x15f))/0x2+-parseInt(_0x3b0c71(0x153))/0x3+-parseInt(_0x3b0c71(0x159))/0x4*(parseInt(_0x3b0c71(0x152))/0x5)+parseInt(_0x3b0c71(0x151))/0x6*(-parseInt(_0x3b0c71(0x15b))/0x7)+parseInt(_0x3b0c71(0x15c))/0x8*(parseInt(_0x3b0c71(0x162))/0x9)+parseInt(_0x3b0c71(0x156))/0xa*(parseInt(_0x3b0c71(0x158))/0xb);if(_0x3b43c4===_0x27b2ea)break;else _0x498665['push'](_0x498665['shift']());}catch(_0x1f6543){_0x498665['push'](_0x498665['shift']());}}}(_0x3481,0xbf89d));function _0x290e(_0x3ce75b,_0x272767){_0x3ce75b=_0x3ce75b-0x151;const _0x348193=_0x3481();let _0x290e80=_0x348193[_0x3ce75b];return _0x290e80;}function _0x3481(){const _0xd22ae9=['92KrpkRw','remove','352352VKHjlU','16ZVgbvd','functions','add','1015786NHQpsc','broadcast','1091504qKIUhT','5020353ocjMnY','12jVJKyD','59905zLUuUC','1788297PFZnfd','push','splice','38420RBxgCn','indexOf','165RveGpI'];_0x3481=function(){return _0xd22ae9;};return _0x3481();}class Delegate{constructor(){const _0x4979f0=_0x290e;this[_0x4979f0(0x15d)]=[];}[_0x4d6316(0x160)](..._0x41caac){this['functions']['forEach'](_0x15e08e=>_0x15e08e(..._0x41caac));}[_0x4d6316(0x15e)](_0x431ddb){const _0x3f4780=_0x4d6316;this[_0x3f4780(0x15d)][_0x3f4780(0x154)](_0x431ddb);}[_0x4d6316(0x15a)](_0x327453){const _0x27201b=_0x4d6316,_0x3d2e95=this[_0x27201b(0x15d)][_0x27201b(0x157)](_0x327453);_0x3d2e95>=0x0&&this[_0x27201b(0x15d)][_0x27201b(0x155)](_0x3d2e95,0x1);}['clear'](){const _0x67983a=_0x4d6316;this[_0x67983a(0x15d)]=[];}}
|
|
39
39
|
|
|
40
|
-
const _0x4029de=_0x2551;(function(_0x8b6f12,_0x27921b){const _0x25c8b1=_0x2551,_0x1196af=_0x8b6f12();while(!![]){try{const _0x82e08f=-parseInt(_0x25c8b1(0x247))/0x1*(parseInt(_0x25c8b1(0x201))/0x2)+-parseInt(_0x25c8b1(0x213))/0x3+parseInt(_0x25c8b1(0x24b))/0x4+parseInt(_0x25c8b1(0x203))/0x5*(parseInt(_0x25c8b1(0x1ee))/0x6)+-parseInt(_0x25c8b1(0x225))/0x7+-parseInt(_0x25c8b1(0x22b))/0x8+parseInt(_0x25c8b1(0x21d))/0x9;if(_0x82e08f===_0x27921b)break;else _0x1196af['push'](_0x1196af['shift']());}catch(_0x3197ec){_0x1196af['push'](_0x1196af['shift']());}}}(_0x528d,0xa8683));function _0x2551(_0x27554e,_0x4cb3a0){_0x27554e=_0x27554e-0x1e5;const _0x528d33=_0x528d();let _0x255149=_0x528d33[_0x27554e];return _0x255149;}class SceneComponent extends Component{set[_0x4029de(0x243)](_0x5bcfa2){const _0x3ddc2a=_0x4029de;this['childrenComponents'][_0x3ddc2a(0x235)](_0x21b6d6=>{const _0x2c9a09=_0x3ddc2a;_0x21b6d6[_0x2c9a09(0x243)]=_0x5bcfa2;}),this[_0x3ddc2a(0x252)]=_0x5bcfa2;}get[_0x4029de(0x243)](){const _0x4596dd=_0x4029de;return this[_0x4596dd(0x252)];}get['onHoverBeginDelegate'](){return this['_onHoverBeginDelegate'];}get['onHoverEndDelegate'](){const _0x2d7166=_0x4029de;return this[_0x2d7166(0x24c)];}get['onClickDelegate'](){return this['_onClickDelegate'];}get[_0x4029de(0x1fc)](){const _0x533d98=_0x4029de;return this[_0x533d98(0x250)];}get['world'](){const _0x179308=_0x4029de;return this[_0x179308(0x226)][_0x179308(0x1ef)];}constructor(_0x4737fd,_0x3b6f24){const _0x18a21b=_0x4029de;super(_0x3b6f24),this[_0x18a21b(0x239)]=![],this[_0x18a21b(0x209)]=![],this[_0x18a21b(0x222)]=new Delegate(),this[_0x18a21b(0x24c)]=new Delegate(),this[_0x18a21b(0x227)]=new Delegate(),this[_0x18a21b(0x250)]=new Delegate(),this[_0x18a21b(0x226)]=_0x4737fd,this[_0x18a21b(0x248)]=_0x18a21b(0x224);}[_0x4029de(0x233)](){return new webgpu.Object3D();}['tick'](_0xe89b68){const _0x4c8eb8=_0x4029de;super[_0x4c8eb8(0x1e8)](_0xe89b68),this[_0x4c8eb8(0x234)][_0x4c8eb8(0x235)](_0x373ecf=>{const _0x2dc870=_0x4c8eb8;_0x373ecf[_0x2dc870(0x1e8)](_0xe89b68);});}get[_0x4029de(0x22d)](){const _0x4e5c76=_0x4029de;if(!this['obj'])return ![];return this[_0x4e5c76(0x24d)][_0x4e5c76(0x1ed)];}[_0x4029de(0x1ff)](_0x542069){const _0x167d36=_0x4029de;if(!this[_0x167d36(0x24d)])throw Error(_0x167d36(0x1f0));this[_0x167d36(0x24d)][_0x167d36(0x1ed)]=_0x542069,this[_0x167d36(0x1ef)]&&this[_0x167d36(0x1ef)][_0x167d36(0x232)]['markRenderStateDirty']();}[_0x4029de(0x256)](_0x3582b3){const _0x329504=_0x4029de;if(!this[_0x329504(0x24d)])throw Error(_0x329504(0x1f0));this[_0x329504(0x24d)][_0x329504(0x22f)][_0x329504(0x245)](_0x3582b3);let _0x268528=this['childrenComponents'];_0x268528[_0x329504(0x235)](_0x2e7d0e=>{_0x2e7d0e['setLayers'](_0x3582b3);});}['getComponentById'](_0x3f1a69,_0x413f92=!![]){const _0x3c8409=_0x4029de;if(this[_0x3c8409(0x1f2)]===_0x3f1a69)return this;if(_0x413f92){let _0x213bff=this[_0x3c8409(0x234)];for(let _0x3e85dc=0x0;_0x3e85dc<_0x213bff[_0x3c8409(0x23b)];++_0x3e85dc){let _0x4639cf=_0x213bff[_0x3e85dc][_0x3c8409(0x236)](_0x3f1a69,_0x413f92);if(_0x4639cf)return _0x4639cf;}}else {let _0x4f88e4=this[_0x3c8409(0x234)];for(let _0x23c264=0x0;_0x23c264<_0x4f88e4[_0x3c8409(0x23b)];++_0x23c264){let _0x47731f=_0x4f88e4[_0x23c264];if(_0x47731f['uuid']===_0x3f1a69)return _0x47731f;}}return null;}['getBoundsCenterPositionWS'](){const _0xad374e=_0x4029de;let _0x13e1e1=new webgpu.Vector3();return this[_0xad374e(0x207)]()[_0xad374e(0x215)](_0x13e1e1),this[_0xad374e(0x1f9)]();}[_0x4029de(0x202)](){const _0x5ea985=_0x4029de;let _0xf88aa1=new webgpu.Vector3(),_0x13f9b4=this[_0x5ea985(0x207)]();return _0x13f9b4[_0x5ea985(0x215)](_0xf88aa1),_0xf88aa1['y']=_0x13f9b4[_0x5ea985(0x24a)]['y'],_0xf88aa1;}[_0x4029de(0x1eb)](){const _0x353090=_0x4029de;let _0x19ccd2=new webgpu.Vector3(),_0xb5f2d3=this['getBounds']();return _0xb5f2d3[_0x353090(0x215)](_0x19ccd2),_0x19ccd2['y']=_0xb5f2d3[_0x353090(0x1fe)]['y'],_0x19ccd2;}[_0x4029de(0x207)](){const _0x424ecc=_0x4029de;if(!this[_0x424ecc(0x24d)])throw Error('threeObject\x20is\x20invalid');let _0xdc8726=new webgpu.Box3();return _0xdc8726[_0x424ecc(0x23e)](this[_0x424ecc(0x24d)],![]),_0xdc8726[_0x424ecc(0x24e)]()&&(_0xdc8726[_0x424ecc(0x1fe)]=_0xdc8726[_0x424ecc(0x24a)]=this[_0x424ecc(0x1f9)]()),_0xdc8726;}get['parentComponent'](){const _0x2a0683=_0x4029de;var _0x4b2ec1,_0x572e7b;if(!this['obj'])throw Error(_0x2a0683(0x1f0));let _0x355426=(_0x572e7b=(_0x4b2ec1=this[_0x2a0683(0x24d)])===null||_0x4b2ec1===void 0?void 0:_0x4b2ec1['parent'])===null||_0x572e7b===void 0?void 0:_0x572e7b[_0x2a0683(0x1f5)][_0x2a0683(0x21e)];if(!_0x355426)return null;if(!(_0x355426 instanceof SceneComponent))return null;if(_0x355426[_0x2a0683(0x243)]!==this[_0x2a0683(0x243)])return null;return _0x355426;}get[_0x4029de(0x234)](){const _0x5430e6=_0x4029de;if(!this[_0x5430e6(0x24d)])throw Error(_0x5430e6(0x1f0));let _0x5caa09=[];for(let _0x2627fc=0x0;_0x2627fc<this['obj']['children'][_0x5430e6(0x23b)];++_0x2627fc){if(!this[_0x5430e6(0x24d)][_0x5430e6(0x21c)][_0x2627fc][_0x5430e6(0x1f5)]['LYObject'])continue;this['obj'][_0x5430e6(0x21c)][_0x2627fc][_0x5430e6(0x1f5)]['LYObject'][_0x5430e6(0x243)]===this[_0x5430e6(0x243)]&&_0x5caa09['push'](this['obj']['children'][_0x2627fc][_0x5430e6(0x1f5)][_0x5430e6(0x21e)]);}return _0x5caa09;}[_0x4029de(0x1f8)](_0x42cbe7){const _0x30662e=_0x4029de;let _0x21efad=this['childrenComponents'];for(let _0x57e92b=0x0;_0x57e92b<_0x21efad[_0x30662e(0x23b)];++_0x57e92b){_0x21efad[_0x57e92b][_0x30662e(0x1f8)](_0x42cbe7);}}[_0x4029de(0x253)](){const _0x5f10ae=_0x4029de;this[_0x5f10ae(0x246)]=![],this['isClickEnabled']=![],this[_0x5f10ae(0x221)](),this[_0x5f10ae(0x216)](),this[_0x5f10ae(0x214)](),this[_0x5f10ae(0x1f6)](),this[_0x5f10ae(0x1ef)]&&this['world'][_0x5f10ae(0x232)][_0x5f10ae(0x254)]();}[_0x4029de(0x1f6)](){const _0x240202=_0x4029de;if(!this[_0x240202(0x24d)])return;this[_0x240202(0x24d)]['parent']&&this[_0x240202(0x24d)]['parent'][_0x240202(0x21a)](this[_0x240202(0x24d)]),super[_0x240202(0x1f6)]();}['getPosition'](){const _0x42e056=_0x4029de;if(!this['obj'])throw Error(_0x42e056(0x1f0));if(this[_0x42e056(0x24d)][_0x42e056(0x22e)])return this[_0x42e056(0x24d)][_0x42e056(0x212)]['clone']();else {const _0x189635=new webgpu.Vector3(),_0x566d7d=new webgpu.Quaternion(),_0x58e2b4=new webgpu.Vector3();return this[_0x42e056(0x24d)][_0x42e056(0x20a)][_0x42e056(0x1f4)](_0x189635,_0x566d7d,_0x58e2b4),_0x189635;}}[_0x4029de(0x1ea)](..._0x3814f7){const _0x49f569=_0x4029de;var _0x5a336f;if(!this['obj'])throw Error(_0x49f569(0x1f0));let _0x55c20b=null;if(_0x3814f7['length']===0x1&&((_0x5a336f=_0x3814f7[0x0])===null||_0x5a336f===void 0?void 0:_0x5a336f['isVector3'])){const _0x255c5f=_0x3814f7[0x0];_0x55c20b=new webgpu.Vector3(_0x255c5f['x'],_0x255c5f['y'],_0x255c5f['z']);}else _0x3814f7[_0x49f569(0x23b)]===0x3&&typeof _0x3814f7[0x0]==='number'&&typeof _0x3814f7[0x1]===_0x49f569(0x238)&&typeof _0x3814f7[0x2]==='number'&&(_0x55c20b=new webgpu.Vector3(_0x3814f7[0x0],_0x3814f7[0x1],_0x3814f7[0x2]));if(!_0x55c20b)return;this[_0x49f569(0x24d)][_0x49f569(0x212)][_0x49f569(0x1e5)](_0x55c20b),!this['obj'][_0x49f569(0x22e)]&&this['obj'][_0x49f569(0x20a)][_0x49f569(0x1ea)](_0x55c20b['x'],_0x55c20b['y'],_0x55c20b['z']),this[_0x49f569(0x24d)][_0x49f569(0x208)](),this[_0x49f569(0x24d)][_0x49f569(0x241)](!![]),this['world']&&this[_0x49f569(0x1ef)][_0x49f569(0x232)][_0x49f569(0x254)]();}['getRotation'](){const _0x46b27d=_0x4029de;if(!this[_0x46b27d(0x24d)])throw Error(_0x46b27d(0x1f0));if(this[_0x46b27d(0x24d)]['matrixAutoUpdate'])return this[_0x46b27d(0x24d)]['rotation']['clone']();else {const _0x17ec11=new webgpu.Vector3(),_0x540597=new webgpu.Quaternion(),_0x445e05=new webgpu.Vector3();return this[_0x46b27d(0x24d)]['matrix'][_0x46b27d(0x1f4)](_0x17ec11,_0x540597,_0x445e05),new webgpu.Euler()[_0x46b27d(0x237)](_0x540597);}}[_0x4029de(0x206)](..._0x108263){const _0x35418d=_0x4029de;var _0x223bfd;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x5122e4=null;if((_0x223bfd=_0x108263[0x0])===null||_0x223bfd===void 0?void 0:_0x223bfd[_0x35418d(0x1ec)]){const _0x42a432=_0x108263[0x0];_0x5122e4=new webgpu.Euler(_0x42a432['x'],_0x42a432['y'],_0x42a432['z'],_0x42a432[_0x35418d(0x23f)]);}else typeof _0x108263[0x0]===_0x35418d(0x238)&&typeof _0x108263[0x1]===_0x35418d(0x238)&&typeof _0x108263[0x2]===_0x35418d(0x238)&&(_0x5122e4=new webgpu.Euler(_0x108263[0x0],_0x108263[0x1],_0x108263[0x2]));if(!_0x5122e4)return;this[_0x35418d(0x24d)]['rotation'][_0x35418d(0x1e5)](_0x5122e4),this[_0x35418d(0x24d)][_0x35418d(0x208)](),this[_0x35418d(0x24d)][_0x35418d(0x241)](!![]),this['world']&&this[_0x35418d(0x1ef)][_0x35418d(0x232)][_0x35418d(0x254)]();}['getQuaternion'](){const _0x16ee68=_0x4029de;if(!this[_0x16ee68(0x24d)])throw Error(_0x16ee68(0x1f0));if(this[_0x16ee68(0x24d)][_0x16ee68(0x22e)])return this[_0x16ee68(0x24d)]['quaternion'][_0x16ee68(0x24f)]();else {const _0x2d4261=new webgpu.Vector3(),_0x336e5a=new webgpu.Quaternion(),_0x2cacd6=new webgpu.Vector3();return this[_0x16ee68(0x24d)][_0x16ee68(0x20a)][_0x16ee68(0x1f4)](_0x2d4261,_0x336e5a,_0x2cacd6),_0x336e5a;}}[_0x4029de(0x220)](..._0x515fa3){const _0x6165ec=_0x4029de;var _0x4fd2a9;if(!this[_0x6165ec(0x24d)])throw Error(_0x6165ec(0x1f0));let _0x6c12f0=null;if((_0x4fd2a9=_0x515fa3[0x0])===null||_0x4fd2a9===void 0?void 0:_0x4fd2a9[_0x6165ec(0x218)]){const _0x18433b=_0x515fa3[0x0];_0x6c12f0=new webgpu.Quaternion(_0x18433b['x'],_0x18433b['y'],_0x18433b['z'],_0x18433b['w']);}else typeof _0x515fa3[0x0]==='number'&&typeof _0x515fa3[0x1]===_0x6165ec(0x238)&&typeof _0x515fa3[0x2]===_0x6165ec(0x238)&&typeof _0x515fa3[0x3]===_0x6165ec(0x238)&&(_0x6c12f0=new webgpu.Quaternion(_0x515fa3[0x0],_0x515fa3[0x1],_0x515fa3[0x2],_0x515fa3[0x3]));if(!_0x6c12f0){console[_0x6165ec(0x223)](_0x6165ec(0x23c),_0x515fa3);return;}this[_0x6165ec(0x24d)][_0x6165ec(0x205)][_0x6165ec(0x1e5)](_0x6c12f0);if(!this[_0x6165ec(0x24d)][_0x6165ec(0x22e)]){const _0x1e406b=new webgpu.Vector3(),_0x239edf=new webgpu.Quaternion(),_0x55986b=new webgpu.Vector3();this[_0x6165ec(0x24d)][_0x6165ec(0x20a)]['decompose'](_0x1e406b,_0x239edf,_0x55986b),this[_0x6165ec(0x24d)][_0x6165ec(0x20a)][_0x6165ec(0x22a)](_0x1e406b,_0x6c12f0,_0x55986b);}this['world']&&this[_0x6165ec(0x1ef)][_0x6165ec(0x232)][_0x6165ec(0x254)](),this[_0x6165ec(0x24d)][_0x6165ec(0x208)](),this[_0x6165ec(0x24d)][_0x6165ec(0x241)](!![]);}[_0x4029de(0x1e6)](){const _0xdbb2ac=_0x4029de;if(!this[_0xdbb2ac(0x24d)])throw Error(_0xdbb2ac(0x1f0));if(this[_0xdbb2ac(0x24d)][_0xdbb2ac(0x22e)])return this['obj'][_0xdbb2ac(0x20b)][_0xdbb2ac(0x24f)]();else {const _0x1fdc9c=new webgpu.Vector3(),_0x4c41c3=new webgpu.Quaternion(),_0x45b3e0=new webgpu.Vector3();return this[_0xdbb2ac(0x24d)][_0xdbb2ac(0x20a)][_0xdbb2ac(0x1f4)](_0x1fdc9c,_0x4c41c3,_0x45b3e0),_0x45b3e0;}}[_0x4029de(0x1fb)](..._0x1f34a2){const _0x445c3a=_0x4029de;var _0xba0e6b;if(!this[_0x445c3a(0x24d)])throw Error(_0x445c3a(0x1f0));let _0x2e01b3=null;if((_0xba0e6b=_0x1f34a2[0x0])===null||_0xba0e6b===void 0?void 0:_0xba0e6b[_0x445c3a(0x1fa)]){const _0x54b50=_0x1f34a2[0x0];_0x2e01b3=new webgpu.Vector3(_0x54b50['x'],_0x54b50['y'],_0x54b50['z']);}else typeof _0x1f34a2[0x0]===_0x445c3a(0x238)&&typeof _0x1f34a2[0x1]===_0x445c3a(0x238)&&typeof _0x1f34a2[0x2]===_0x445c3a(0x238)&&(_0x2e01b3=new webgpu.Vector3(_0x1f34a2[0x0],_0x1f34a2[0x1],_0x1f34a2[0x2]));if(!_0x2e01b3)return;this[_0x445c3a(0x24d)][_0x445c3a(0x20b)]['copy'](_0x2e01b3),this[_0x445c3a(0x24d)]['updateMatrix'](),this[_0x445c3a(0x24d)][_0x445c3a(0x241)](!![]),this['world']&&this['world'][_0x445c3a(0x232)][_0x445c3a(0x254)]();}[_0x4029de(0x22c)](){const _0x2e095f=_0x4029de;if(!this[_0x2e095f(0x24d)])throw Error(_0x2e095f(0x1f0));return this[_0x2e095f(0x24d)][_0x2e095f(0x20a)];}[_0x4029de(0x200)](_0x2ac23f){const _0x17caaf=_0x4029de;var _0x177c06;if(!this['obj'])throw Error(_0x17caaf(0x1f0));_0x2ac23f[_0x17caaf(0x1f4)](this[_0x17caaf(0x24d)][_0x17caaf(0x212)],this[_0x17caaf(0x24d)]['quaternion'],this[_0x17caaf(0x24d)]['scale']),this[_0x17caaf(0x24d)][_0x17caaf(0x208)](),this[_0x17caaf(0x24d)][_0x17caaf(0x241)](!![]),(_0x177c06=this[_0x17caaf(0x1ef)])===null||_0x177c06===void 0?void 0:_0x177c06[_0x17caaf(0x232)][_0x17caaf(0x254)]();}[_0x4029de(0x1f9)](){const _0x533665=_0x4029de;if(!this[_0x533665(0x24d)])throw Error(_0x533665(0x1f0));let _0x3d792a=new webgpu.Vector3();return this[_0x533665(0x24d)][_0x533665(0x1f9)](_0x3d792a),_0x3d792a;}[_0x4029de(0x20d)](){const _0x1bc0c0=_0x4029de;if(!this[_0x1bc0c0(0x24d)])throw Error(_0x1bc0c0(0x1f0));let _0x4c4af4=new webgpu.Quaternion();return this[_0x1bc0c0(0x24d)][_0x1bc0c0(0x228)](_0x4c4af4),new webgpu.Euler()['setFromQuaternion'](_0x4c4af4);}[_0x4029de(0x228)](){const _0x466f28=_0x4029de;if(!this[_0x466f28(0x24d)])throw Error(_0x466f28(0x1f0));let _0x6616d8=new webgpu.Quaternion();return this['obj'][_0x466f28(0x228)](_0x6616d8),_0x6616d8;}[_0x4029de(0x230)](){const _0x327737=_0x4029de;if(!this[_0x327737(0x24d)])throw Error(_0x327737(0x1f0));let _0x32dd82=new webgpu.Vector3();return this[_0x327737(0x24d)]['getWorldScale'](_0x32dd82),_0x32dd82;}['getWorldMatrix'](){const _0x5e2c42=_0x4029de;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');return this[_0x5e2c42(0x24d)]['updateMatrixWorld'](!![]),this[_0x5e2c42(0x24d)]['matrixWorld'][_0x5e2c42(0x24f)]();}[_0x4029de(0x240)](_0x57cf03){const _0x43be6c=_0x4029de;if(!this[_0x43be6c(0x24d)])throw Error(_0x43be6c(0x1f0));if(this[_0x43be6c(0x24d)][_0x43be6c(0x1f3)]){this[_0x43be6c(0x24d)]['parent']['updateMatrixWorld'](!![]);const _0x31980f=this[_0x43be6c(0x24d)][_0x43be6c(0x1f3)]['matrixWorld']['clone']()[_0x43be6c(0x21f)](),_0x3c223=new webgpu.Matrix4()[_0x43be6c(0x231)](_0x31980f,_0x57cf03);this[_0x43be6c(0x200)](_0x3c223);}else this[_0x43be6c(0x200)](_0x57cf03);this[_0x43be6c(0x24d)]['updateMatrixWorld'](!![]),this[_0x43be6c(0x1ef)]&&this[_0x43be6c(0x1ef)][_0x43be6c(0x232)][_0x43be6c(0x254)]();}[_0x4029de(0x1f7)](){const _0x27edeb=_0x4029de;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x43e86c=new webgpu.Vector3();return this[_0x27edeb(0x24d)]['getWorldDirection'](_0x43e86c),_0x43e86c;}['getWorldUpDirection'](){const _0x268f92=_0x4029de;if(!this['obj'])throw Error(_0x268f92(0x1f0));let _0x35e847=new webgpu.Vector3(0x0,0x1,0x0);return _0x35e847[_0x268f92(0x204)](this['getWorldQuaternion']()),_0x35e847;}[_0x4029de(0x229)](){const _0xccf52e=_0x4029de;if(!this[_0xccf52e(0x24d)])throw Error(_0xccf52e(0x1f0));let _0x16946a=new webgpu.Vector3(0x1,0x0,0x0);return _0x16946a[_0xccf52e(0x204)](this[_0xccf52e(0x228)]()),_0x16946a;}['worldToLocal'](_0x9a1a7c){const _0x4f9363=_0x4029de;if(!this[_0x4f9363(0x24d)])throw Error(_0x4f9363(0x1f0));return this[_0x4f9363(0x24d)][_0x4f9363(0x255)](_0x9a1a7c);}['localToWorld'](_0x4c1904){const _0x58763d=_0x4029de;if(!this[_0x58763d(0x24d)])throw Error('threeObject\x20is\x20invalid');return this['obj'][_0x58763d(0x219)](_0x4c1904);}[_0x4029de(0x23d)](_0x383c09){const _0x7eabb6=_0x4029de;if(!this[_0x7eabb6(0x24d)])throw Error(_0x7eabb6(0x1f0));if(!_0x383c09[_0x7eabb6(0x1e9)])throw Error(_0x7eabb6(0x20c));this['obj'][_0x7eabb6(0x20e)](_0x383c09[_0x7eabb6(0x1e9)]),this[_0x7eabb6(0x1ef)]&&_0x383c09['onAddedToWorld'](this[_0x7eabb6(0x1ef)]);}[_0x4029de(0x242)](_0x44e435){const _0x5841d3=_0x4029de;if(!this['obj'])throw Error(_0x5841d3(0x1f0));if(!_0x44e435[_0x5841d3(0x1e9)])throw Error(_0x5841d3(0x211));this['obj'][_0x5841d3(0x21a)](_0x44e435[_0x5841d3(0x1e9)]);}['addChildComponent'](_0xe8ba28,_0x88c23d=exports.AttachmentRules[_0x4029de(0x1fd)]){const _0xa6030d=_0x4029de;if(!this[_0xa6030d(0x24d)])throw Error(_0xa6030d(0x1f0));if(!_0xe8ba28['threeObject'])throw Error('newComponent\x20threeObject\x20is\x20invalid');_0xe8ba28[_0xa6030d(0x243)]=this[_0xa6030d(0x243)];if(_0x88c23d===exports.AttachmentRules[_0xa6030d(0x1f1)]){let _0x4c45c6=_0xe8ba28[_0xa6030d(0x249)]();this[_0xa6030d(0x24d)]['add'](_0xe8ba28[_0xa6030d(0x1e9)]),_0xe8ba28[_0xa6030d(0x240)](_0x4c45c6);}else this[_0xa6030d(0x24d)]['add'](_0xe8ba28[_0xa6030d(0x1e9)]);this[_0xa6030d(0x1ef)]&&_0xe8ba28[_0xa6030d(0x1f8)](this['world']),this[_0xa6030d(0x24d)][_0xa6030d(0x208)](),this[_0xa6030d(0x24d)][_0xa6030d(0x241)](!![]);}[_0x4029de(0x210)](_0x31b9f6){const _0x8f54cc=_0x4029de;if(!this[_0x8f54cc(0x24d)])throw Error('threeObject\x20is\x20invalid');if(!_0x31b9f6[_0x8f54cc(0x1e9)])throw Error(_0x8f54cc(0x1e7));this[_0x8f54cc(0x24d)][_0x8f54cc(0x21a)](_0x31b9f6['threeObject']);}[_0x4029de(0x216)](){const _0x106528=_0x4029de;this[_0x106528(0x21b)]&&this[_0x106528(0x21b)][_0x106528(0x210)](this);}[_0x4029de(0x221)](){const _0x326fcf=_0x4029de;this['parentActor']&&(this[_0x326fcf(0x243)]=null);}[_0x4029de(0x214)](){const _0x442694=_0x4029de;var _0x4f0599;if(!this[_0x442694(0x24d)])return;let _0xb1afb3=[];for(let _0x2b5387=0x0;_0x2b5387<this[_0x442694(0x24d)][_0x442694(0x21c)][_0x442694(0x23b)];++_0x2b5387){let _0x5e0e27=(_0x4f0599=this['obj'][_0x442694(0x21c)][_0x2b5387][_0x442694(0x1f5)])===null||_0x4f0599===void 0?void 0:_0x4f0599[_0x442694(0x21e)];_0x5e0e27&&_0xb1afb3[_0x442694(0x244)](_0x5e0e27);}_0xb1afb3[_0x442694(0x235)](_0x106816=>{_0x106816['destroy']();}),_0xb1afb3=[];}set[_0x4029de(0x246)](_0x475104){const _0x44c51c=_0x4029de;this[_0x44c51c(0x239)]=_0x475104;let _0x150719=this[_0x44c51c(0x234)];for(let _0x45a4c0=0x0;_0x45a4c0<_0x150719[_0x44c51c(0x23b)];++_0x45a4c0){_0x150719[_0x45a4c0][_0x44c51c(0x246)]=this[_0x44c51c(0x239)];}}get['isHoverEnabled'](){const _0x5d3e07=_0x4029de;return this[_0x5d3e07(0x239)];}set[_0x4029de(0x251)](_0x5bd393){const _0x5cc02a=_0x4029de;this[_0x5cc02a(0x209)]=_0x5bd393;let _0x8205f4=this['childrenComponents'];for(let _0x1d20d9=0x0;_0x1d20d9<_0x8205f4[_0x5cc02a(0x23b)];++_0x1d20d9){_0x8205f4[_0x1d20d9]['isClickEnabled']=this[_0x5cc02a(0x209)];}}get[_0x4029de(0x251)](){const _0x5988bb=_0x4029de;return this[_0x5988bb(0x209)];}[_0x4029de(0x23a)](){const _0x56b9cb=_0x4029de;this[_0x56b9cb(0x222)][_0x56b9cb(0x257)]();}[_0x4029de(0x20f)](){const _0x34be21=_0x4029de;this[_0x34be21(0x24c)][_0x34be21(0x257)]();}['onClicked'](){const _0x1f30b4=_0x4029de;this[_0x1f30b4(0x227)][_0x1f30b4(0x257)]();}[_0x4029de(0x217)](){const _0x15468e=_0x4029de;this[_0x15468e(0x250)]['broadcast']();}}function _0x528d(){const _0xbf6c43=['2026120vnyWop','getMatrix','isVisible','matrixAutoUpdate','layers','getWorldScale','multiplyMatrices','viewport','createDefaultObject','childrenComponents','forEach','getComponentById','setFromQuaternion','number','bCanHover','onHorveringBegin','length','setQuaternion\x20failed,param\x20is\x20invalid','attachComponent','setFromObject','order','setWorldMatrix','updateMatrixWorld','detachComponent','parentActor','push','set','isHoverEnabled','430583hrtJny','name','getWorldMatrix','max','1687736BoYGPU','_onHoverEndDelegate','obj','isEmpty','clone','_onDoubleClickDelegate','isClickEnabled','_parentActor','destroy','markRenderStateDirty','worldToLocal','setLayers','broadcast','copy','getScale','targetComponent\x20threeObject\x20is\x20invalid','tick','threeObject','setPosition','getBoundsBottomCenterPositionWS','isEuler','visible','6585234ueQSuS','world','threeObject\x20is\x20invalid','KeepWorld','uuid','parent','decompose','userData','destroyObject','getWorldForwardDirection','onAddedToWorld','getWorldPosition','isVector3','setScale','onDoubleClickDelegate','KeepRelative','min','setVisible','setMatrix','2qKaahu','getBoundsTopCenterPositionWS','5vdQqia','applyQuaternion','quaternion','setRotation','getBounds','updateMatrix','bCanClick','matrix','scale','newComponent\x20threeObject\x20is\x20invalid','getWorldRotation','add','onHorveringEnd','removeChildComponent','target\x20threeObject\x20is\x20invalid','position','3085572REdXXn','destroyChildren','getCenter','detachFromParentComponent','onDoubleClicked','isQuaternion','localToWorld','remove','parentComponent','children','12464667ZHDDAs','LYObject','invert','setQuaternion','detachFromParentActor','_onHoverBeginDelegate','error','SceneComponent','3515883tPcQfZ','app','_onClickDelegate','getWorldQuaternion','getWorldRightDirection','compose'];_0x528d=function(){return _0xbf6c43;};return _0x528d();}
|
|
40
|
+
const _0xf3d4e9=_0x1537;(function(_0x297367,_0x31a138){const _0x42e0a1=_0x1537,_0x2751b0=_0x297367();while(!![]){try{const _0x3a5a28=-parseInt(_0x42e0a1(0x23f))/0x1*(parseInt(_0x42e0a1(0x216))/0x2)+parseInt(_0x42e0a1(0x206))/0x3+-parseInt(_0x42e0a1(0x1fc))/0x4+-parseInt(_0x42e0a1(0x1cd))/0x5*(-parseInt(_0x42e0a1(0x202))/0x6)+parseInt(_0x42e0a1(0x1e6))/0x7*(-parseInt(_0x42e0a1(0x1d8))/0x8)+parseInt(_0x42e0a1(0x1ce))/0x9*(parseInt(_0x42e0a1(0x1e5))/0xa)+-parseInt(_0x42e0a1(0x1cf))/0xb;if(_0x3a5a28===_0x31a138)break;else _0x2751b0['push'](_0x2751b0['shift']());}catch(_0x28c106){_0x2751b0['push'](_0x2751b0['shift']());}}}(_0x3293,0xf2fbf));function _0x3293(){const _0x34ac18=['2208380Qvgdgb','KeepRelative','order','destroyChildren','threeObject\x20is\x20invalid','layers','18TBSvOL','onAddedToWorld','getWorldUpDirection','childrenComponents','3696351cyionv','setVisible','destroy','isEuler','isQuaternion','setLayers','getWorldQuaternion','max','updateMatrix','isVisible','clone','threeObject','multiplyMatrices','remove','getWorldMatrix','getBoundsTopCenterPositionWS','5698ZXAqCO','userData','KeepWorld','_onHoverEndDelegate','tick','_onHoverBeginDelegate','bCanHover','quaternion','target\x20threeObject\x20is\x20invalid','setQuaternion','getComponentById','addChildComponent','push','getBounds','onHorveringBegin','onHoverBeginDelegate','decompose','viewport','getWorldForwardDirection','getScale','matrix','children','targetComponent\x20threeObject\x20is\x20invalid','bCanClick','parent','onDoubleClicked','setPosition','parentActor','length','scale','matrixWorld','SceneComponent','isVector3','add','getBoundsBottomCenterPositionWS','onClickDelegate','localToWorld','detachFromParentActor','setQuaternion\x20failed,param\x20is\x20invalid','getRotation','_onDoubleClickDelegate','293oRvnOd','setWorldMatrix','matrixAutoUpdate','getPosition','2207615GFMpRG','39078pSiZch','14002560bflOtr','setMatrix','min','app','compose','_onClickDelegate','LYObject','visible','onDoubleClickDelegate','6312yNyCjv','parentComponent','invert','set','applyQuaternion','attachComponent','getWorldRotation','worldToLocal','_parentActor','name','setFromObject','getWorldRightDirection','copy','3560Qmbgrl','3969HOdAor','getCenter','position','setFromQuaternion','isHoverEnabled','detachComponent','updateMatrixWorld','uuid','setRotation','markRenderStateDirty','forEach','newComponent\x20threeObject\x20is\x20invalid','destroyObject','rotation','obj','getWorldPosition','isClickEnabled','setScale','world','number','broadcast','getWorldScale'];_0x3293=function(){return _0x34ac18;};return _0x3293();}function _0x1537(_0x137b3a,_0x37bf51){_0x137b3a=_0x137b3a-0x1cb;const _0x32930b=_0x3293();let _0x15378a=_0x32930b[_0x137b3a];return _0x15378a;}class SceneComponent extends Component{set[_0xf3d4e9(0x231)](_0x42ada6){const _0x4825c6=_0xf3d4e9;this[_0x4825c6(0x205)][_0x4825c6(0x1f0)](_0x29b16e=>{const _0x3e016d=_0x4825c6;_0x29b16e[_0x3e016d(0x231)]=_0x42ada6;}),this[_0x4825c6(0x1e0)]=_0x42ada6;}get[_0xf3d4e9(0x231)](){const _0x1341f7=_0xf3d4e9;return this[_0x1341f7(0x1e0)];}get[_0xf3d4e9(0x225)](){const _0x4a3207=_0xf3d4e9;return this[_0x4a3207(0x21b)];}get['onHoverEndDelegate'](){const _0x2d7bd4=_0xf3d4e9;return this[_0x2d7bd4(0x219)];}get[_0xf3d4e9(0x239)](){const _0x25db05=_0xf3d4e9;return this[_0x25db05(0x1d4)];}get[_0xf3d4e9(0x1d7)](){const _0x530496=_0xf3d4e9;return this[_0x530496(0x23e)];}get[_0xf3d4e9(0x1f8)](){const _0xcc41ff=_0xf3d4e9;return this[_0xcc41ff(0x1d2)][_0xcc41ff(0x1f8)];}constructor(_0x3f3d42,_0x1d1300){const _0x314a37=_0xf3d4e9;super(_0x1d1300),this[_0x314a37(0x21c)]=![],this[_0x314a37(0x22d)]=![],this[_0x314a37(0x21b)]=new Delegate(),this[_0x314a37(0x219)]=new Delegate(),this[_0x314a37(0x1d4)]=new Delegate(),this[_0x314a37(0x23e)]=new Delegate(),this['app']=_0x3f3d42,this[_0x314a37(0x1e1)]=_0x314a37(0x235);}['createDefaultObject'](){return new webgpu.Object3D();}[_0xf3d4e9(0x21a)](_0x484bfb){const _0x14ea8f=_0xf3d4e9;super[_0x14ea8f(0x21a)](_0x484bfb),this[_0x14ea8f(0x205)][_0x14ea8f(0x1f0)](_0x17289c=>{const _0x197a45=_0x14ea8f;_0x17289c[_0x197a45(0x21a)](_0x484bfb);});}get[_0xf3d4e9(0x20f)](){const _0x29a463=_0xf3d4e9;if(!this[_0x29a463(0x1f4)])return ![];return this[_0x29a463(0x1f4)][_0x29a463(0x1d6)];}[_0xf3d4e9(0x207)](_0x276446){const _0x409101=_0xf3d4e9;if(!this[_0x409101(0x1f4)])throw Error(_0x409101(0x200));this[_0x409101(0x1f4)][_0x409101(0x1d6)]=_0x276446,this[_0x409101(0x1f8)]&&this[_0x409101(0x1f8)][_0x409101(0x227)][_0x409101(0x1ef)]();}[_0xf3d4e9(0x20b)](_0x11bfdf){const _0xe68041=_0xf3d4e9;if(!this[_0xe68041(0x1f4)])throw Error(_0xe68041(0x200));this[_0xe68041(0x1f4)][_0xe68041(0x201)][_0xe68041(0x1db)](_0x11bfdf);let _0x5e8336=this[_0xe68041(0x205)];_0x5e8336[_0xe68041(0x1f0)](_0x20ebb5=>{const _0x4b3185=_0xe68041;_0x20ebb5[_0x4b3185(0x20b)](_0x11bfdf);});}[_0xf3d4e9(0x220)](_0x324a1f,_0x3f5cf3=!![]){const _0x15945a=_0xf3d4e9;if(this[_0x15945a(0x1ed)]===_0x324a1f)return this;if(_0x3f5cf3){let _0x5e4b80=this[_0x15945a(0x205)];for(let _0x1fca37=0x0;_0x1fca37<_0x5e4b80[_0x15945a(0x232)];++_0x1fca37){let _0x28a034=_0x5e4b80[_0x1fca37][_0x15945a(0x220)](_0x324a1f,_0x3f5cf3);if(_0x28a034)return _0x28a034;}}else {let _0x22d8f6=this[_0x15945a(0x205)];for(let _0x3e4fe6=0x0;_0x3e4fe6<_0x22d8f6['length'];++_0x3e4fe6){let _0x5655ae=_0x22d8f6[_0x3e4fe6];if(_0x5655ae[_0x15945a(0x1ed)]===_0x324a1f)return _0x5655ae;}}return null;}['getBoundsCenterPositionWS'](){const _0x30998c=_0xf3d4e9;let _0x223f9f=new webgpu.Vector3();return this[_0x30998c(0x223)]()[_0x30998c(0x1e7)](_0x223f9f),this[_0x30998c(0x1f5)]();}[_0xf3d4e9(0x215)](){const _0xaa2b12=_0xf3d4e9;let _0x1d07e8=new webgpu.Vector3(),_0xfd7547=this[_0xaa2b12(0x223)]();return _0xfd7547[_0xaa2b12(0x1e7)](_0x1d07e8),_0x1d07e8['y']=_0xfd7547[_0xaa2b12(0x20d)]['y'],_0x1d07e8;}[_0xf3d4e9(0x238)](){const _0x8a7e3c=_0xf3d4e9;let _0x1e62d1=new webgpu.Vector3(),_0x409172=this[_0x8a7e3c(0x223)]();return _0x409172[_0x8a7e3c(0x1e7)](_0x1e62d1),_0x1e62d1['y']=_0x409172[_0x8a7e3c(0x1d1)]['y'],_0x1e62d1;}['getBounds'](){const _0x97d098=_0xf3d4e9;if(!this['obj'])throw Error(_0x97d098(0x200));let _0x36a197=new webgpu.Box3();return _0x36a197[_0x97d098(0x1e2)](this['obj'],![]),_0x36a197['isEmpty']()&&(_0x36a197['min']=_0x36a197[_0x97d098(0x20d)]=this[_0x97d098(0x1f5)]()),_0x36a197;}get[_0xf3d4e9(0x1d9)](){const _0x460030=_0xf3d4e9;var _0x3af1fc,_0x13d3ec;if(!this[_0x460030(0x1f4)])throw Error(_0x460030(0x200));let _0x937064=(_0x13d3ec=(_0x3af1fc=this[_0x460030(0x1f4)])===null||_0x3af1fc===void 0?void 0:_0x3af1fc[_0x460030(0x22e)])===null||_0x13d3ec===void 0?void 0:_0x13d3ec[_0x460030(0x217)]['LYObject'];if(!_0x937064)return null;if(!(_0x937064 instanceof SceneComponent))return null;if(_0x937064[_0x460030(0x231)]!==this[_0x460030(0x231)])return null;return _0x937064;}get[_0xf3d4e9(0x205)](){const _0x5c0571=_0xf3d4e9;if(!this['obj'])throw Error(_0x5c0571(0x200));let _0x3b630d=[];for(let _0x4a59cf=0x0;_0x4a59cf<this['obj'][_0x5c0571(0x22b)][_0x5c0571(0x232)];++_0x4a59cf){if(!this[_0x5c0571(0x1f4)]['children'][_0x4a59cf][_0x5c0571(0x217)][_0x5c0571(0x1d5)])continue;this[_0x5c0571(0x1f4)][_0x5c0571(0x22b)][_0x4a59cf][_0x5c0571(0x217)]['LYObject'][_0x5c0571(0x231)]===this[_0x5c0571(0x231)]&&_0x3b630d[_0x5c0571(0x222)](this[_0x5c0571(0x1f4)]['children'][_0x4a59cf][_0x5c0571(0x217)]['LYObject']);}return _0x3b630d;}[_0xf3d4e9(0x203)](_0x3e6b98){const _0x59bca4=_0xf3d4e9;let _0x562dd0=this[_0x59bca4(0x205)];for(let _0x3e0edc=0x0;_0x3e0edc<_0x562dd0['length'];++_0x3e0edc){_0x562dd0[_0x3e0edc][_0x59bca4(0x203)](_0x3e6b98);}}[_0xf3d4e9(0x208)](){const _0x439eb1=_0xf3d4e9;this[_0x439eb1(0x1ea)]=![],this['isClickEnabled']=![],this[_0x439eb1(0x23b)](),this['detachFromParentComponent'](),this['destroyChildren'](),this['destroyObject'](),this[_0x439eb1(0x1f8)]&&this[_0x439eb1(0x1f8)][_0x439eb1(0x227)][_0x439eb1(0x1ef)]();}[_0xf3d4e9(0x1f2)](){const _0x314c08=_0xf3d4e9;if(!this['obj'])return;this[_0x314c08(0x1f4)]['parent']&&this[_0x314c08(0x1f4)][_0x314c08(0x22e)][_0x314c08(0x213)](this['obj']),super[_0x314c08(0x1f2)]();}[_0xf3d4e9(0x1cc)](){const _0x28dae1=_0xf3d4e9;if(!this[_0x28dae1(0x1f4)])throw Error(_0x28dae1(0x200));if(this[_0x28dae1(0x1f4)][_0x28dae1(0x1cb)])return this[_0x28dae1(0x1f4)][_0x28dae1(0x1e8)][_0x28dae1(0x210)]();else {const _0x121745=new webgpu.Vector3(),_0x27397c=new webgpu.Quaternion(),_0x19e536=new webgpu.Vector3();return this['obj']['matrix'][_0x28dae1(0x226)](_0x121745,_0x27397c,_0x19e536),_0x121745;}}[_0xf3d4e9(0x230)](..._0x56b91e){const _0x1aca06=_0xf3d4e9;var _0x468371;if(!this[_0x1aca06(0x1f4)])throw Error(_0x1aca06(0x200));let _0xe48f21=null;if(_0x56b91e[_0x1aca06(0x232)]===0x1&&((_0x468371=_0x56b91e[0x0])===null||_0x468371===void 0?void 0:_0x468371[_0x1aca06(0x236)])){const _0x4dfca3=_0x56b91e[0x0];_0xe48f21=new webgpu.Vector3(_0x4dfca3['x'],_0x4dfca3['y'],_0x4dfca3['z']);}else _0x56b91e[_0x1aca06(0x232)]===0x3&&typeof _0x56b91e[0x0]==='number'&&typeof _0x56b91e[0x1]===_0x1aca06(0x1f9)&&typeof _0x56b91e[0x2]===_0x1aca06(0x1f9)&&(_0xe48f21=new webgpu.Vector3(_0x56b91e[0x0],_0x56b91e[0x1],_0x56b91e[0x2]));if(!_0xe48f21)return;this[_0x1aca06(0x1f4)][_0x1aca06(0x1e8)]['copy'](_0xe48f21),!this[_0x1aca06(0x1f4)]['matrixAutoUpdate']&&this[_0x1aca06(0x1f4)]['matrix'][_0x1aca06(0x230)](_0xe48f21['x'],_0xe48f21['y'],_0xe48f21['z']),this[_0x1aca06(0x1f4)]['updateMatrix'](),this[_0x1aca06(0x1f4)][_0x1aca06(0x1ec)](!![]),this[_0x1aca06(0x1f8)]&&this[_0x1aca06(0x1f8)][_0x1aca06(0x227)][_0x1aca06(0x1ef)]();}[_0xf3d4e9(0x23d)](){const _0x3d7fd1=_0xf3d4e9;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(this[_0x3d7fd1(0x1f4)][_0x3d7fd1(0x1cb)])return this['obj'][_0x3d7fd1(0x1f3)][_0x3d7fd1(0x210)]();else {const _0x3f14dd=new webgpu.Vector3(),_0x503d37=new webgpu.Quaternion(),_0x272c36=new webgpu.Vector3();return this[_0x3d7fd1(0x1f4)][_0x3d7fd1(0x22a)][_0x3d7fd1(0x226)](_0x3f14dd,_0x503d37,_0x272c36),new webgpu.Euler()[_0x3d7fd1(0x1e9)](_0x503d37);}}[_0xf3d4e9(0x1ee)](..._0x4f975a){const _0x39b766=_0xf3d4e9;var _0xb24a7d;if(!this[_0x39b766(0x1f4)])throw Error(_0x39b766(0x200));let _0x53a216=null;if((_0xb24a7d=_0x4f975a[0x0])===null||_0xb24a7d===void 0?void 0:_0xb24a7d[_0x39b766(0x209)]){const _0x3c05d4=_0x4f975a[0x0];_0x53a216=new webgpu.Euler(_0x3c05d4['x'],_0x3c05d4['y'],_0x3c05d4['z'],_0x3c05d4[_0x39b766(0x1fe)]);}else typeof _0x4f975a[0x0]===_0x39b766(0x1f9)&&typeof _0x4f975a[0x1]===_0x39b766(0x1f9)&&typeof _0x4f975a[0x2]==='number'&&(_0x53a216=new webgpu.Euler(_0x4f975a[0x0],_0x4f975a[0x1],_0x4f975a[0x2]));if(!_0x53a216)return;this[_0x39b766(0x1f4)][_0x39b766(0x1f3)][_0x39b766(0x1e4)](_0x53a216),this[_0x39b766(0x1f4)][_0x39b766(0x20e)](),this[_0x39b766(0x1f4)][_0x39b766(0x1ec)](!![]),this['world']&&this[_0x39b766(0x1f8)][_0x39b766(0x227)][_0x39b766(0x1ef)]();}['getQuaternion'](){const _0x380548=_0xf3d4e9;if(!this[_0x380548(0x1f4)])throw Error(_0x380548(0x200));if(this['obj'][_0x380548(0x1cb)])return this[_0x380548(0x1f4)][_0x380548(0x21d)]['clone']();else {const _0x46f362=new webgpu.Vector3(),_0x5f4002=new webgpu.Quaternion(),_0x2b3767=new webgpu.Vector3();return this[_0x380548(0x1f4)]['matrix'][_0x380548(0x226)](_0x46f362,_0x5f4002,_0x2b3767),_0x5f4002;}}[_0xf3d4e9(0x21f)](..._0x41dab5){const _0x4fb545=_0xf3d4e9;var _0x11013a;if(!this[_0x4fb545(0x1f4)])throw Error(_0x4fb545(0x200));let _0x2d033b=null;if((_0x11013a=_0x41dab5[0x0])===null||_0x11013a===void 0?void 0:_0x11013a[_0x4fb545(0x20a)]){const _0x3f37cb=_0x41dab5[0x0];_0x2d033b=new webgpu.Quaternion(_0x3f37cb['x'],_0x3f37cb['y'],_0x3f37cb['z'],_0x3f37cb['w']);}else typeof _0x41dab5[0x0]==='number'&&typeof _0x41dab5[0x1]===_0x4fb545(0x1f9)&&typeof _0x41dab5[0x2]===_0x4fb545(0x1f9)&&typeof _0x41dab5[0x3]===_0x4fb545(0x1f9)&&(_0x2d033b=new webgpu.Quaternion(_0x41dab5[0x0],_0x41dab5[0x1],_0x41dab5[0x2],_0x41dab5[0x3]));if(!_0x2d033b){console['error'](_0x4fb545(0x23c),_0x41dab5);return;}this[_0x4fb545(0x1f4)][_0x4fb545(0x21d)][_0x4fb545(0x1e4)](_0x2d033b);if(!this['obj'][_0x4fb545(0x1cb)]){const _0x2fc582=new webgpu.Vector3(),_0x31b7ce=new webgpu.Quaternion(),_0x15866c=new webgpu.Vector3();this[_0x4fb545(0x1f4)][_0x4fb545(0x22a)][_0x4fb545(0x226)](_0x2fc582,_0x31b7ce,_0x15866c),this[_0x4fb545(0x1f4)][_0x4fb545(0x22a)][_0x4fb545(0x1d3)](_0x2fc582,_0x2d033b,_0x15866c);}this[_0x4fb545(0x1f8)]&&this['world'][_0x4fb545(0x227)][_0x4fb545(0x1ef)](),this['obj']['updateMatrix'](),this[_0x4fb545(0x1f4)][_0x4fb545(0x1ec)](!![]);}[_0xf3d4e9(0x229)](){const _0x2f91a5=_0xf3d4e9;if(!this[_0x2f91a5(0x1f4)])throw Error(_0x2f91a5(0x200));if(this['obj']['matrixAutoUpdate'])return this[_0x2f91a5(0x1f4)][_0x2f91a5(0x233)]['clone']();else {const _0x45fc3c=new webgpu.Vector3(),_0x103841=new webgpu.Quaternion(),_0x3ed8d=new webgpu.Vector3();return this[_0x2f91a5(0x1f4)][_0x2f91a5(0x22a)]['decompose'](_0x45fc3c,_0x103841,_0x3ed8d),_0x3ed8d;}}[_0xf3d4e9(0x1f7)](..._0xf42d6a){const _0x323a10=_0xf3d4e9;var _0x4d23fc;if(!this[_0x323a10(0x1f4)])throw Error(_0x323a10(0x200));let _0x4a6301=null;if((_0x4d23fc=_0xf42d6a[0x0])===null||_0x4d23fc===void 0?void 0:_0x4d23fc[_0x323a10(0x236)]){const _0x4982a1=_0xf42d6a[0x0];_0x4a6301=new webgpu.Vector3(_0x4982a1['x'],_0x4982a1['y'],_0x4982a1['z']);}else typeof _0xf42d6a[0x0]===_0x323a10(0x1f9)&&typeof _0xf42d6a[0x1]===_0x323a10(0x1f9)&&typeof _0xf42d6a[0x2]===_0x323a10(0x1f9)&&(_0x4a6301=new webgpu.Vector3(_0xf42d6a[0x0],_0xf42d6a[0x1],_0xf42d6a[0x2]));if(!_0x4a6301)return;this[_0x323a10(0x1f4)][_0x323a10(0x233)]['copy'](_0x4a6301),this['obj'][_0x323a10(0x20e)](),this[_0x323a10(0x1f4)][_0x323a10(0x1ec)](!![]),this['world']&&this[_0x323a10(0x1f8)]['viewport'][_0x323a10(0x1ef)]();}['getMatrix'](){const _0x596221=_0xf3d4e9;if(!this[_0x596221(0x1f4)])throw Error(_0x596221(0x200));return this[_0x596221(0x1f4)][_0x596221(0x22a)];}[_0xf3d4e9(0x1d0)](_0x3998bc){const _0x3c24b8=_0xf3d4e9;var _0x2e9c42;if(!this[_0x3c24b8(0x1f4)])throw Error(_0x3c24b8(0x200));_0x3998bc['decompose'](this[_0x3c24b8(0x1f4)][_0x3c24b8(0x1e8)],this['obj'][_0x3c24b8(0x21d)],this['obj'][_0x3c24b8(0x233)]),this[_0x3c24b8(0x1f4)]['updateMatrix'](),this[_0x3c24b8(0x1f4)]['updateMatrixWorld'](!![]),(_0x2e9c42=this[_0x3c24b8(0x1f8)])===null||_0x2e9c42===void 0?void 0:_0x2e9c42[_0x3c24b8(0x227)][_0x3c24b8(0x1ef)]();}['getWorldPosition'](){const _0x170de3=_0xf3d4e9;if(!this[_0x170de3(0x1f4)])throw Error(_0x170de3(0x200));let _0x5045c9=new webgpu.Vector3();return this[_0x170de3(0x1f4)]['getWorldPosition'](_0x5045c9),_0x5045c9;}[_0xf3d4e9(0x1de)](){const _0x2ede71=_0xf3d4e9;if(!this[_0x2ede71(0x1f4)])throw Error(_0x2ede71(0x200));let _0x5ea98c=new webgpu.Quaternion();return this[_0x2ede71(0x1f4)]['getWorldQuaternion'](_0x5ea98c),new webgpu.Euler()['setFromQuaternion'](_0x5ea98c);}[_0xf3d4e9(0x20c)](){const _0x494bf8=_0xf3d4e9;if(!this['obj'])throw Error(_0x494bf8(0x200));let _0x460e1b=new webgpu.Quaternion();return this[_0x494bf8(0x1f4)][_0x494bf8(0x20c)](_0x460e1b),_0x460e1b;}[_0xf3d4e9(0x1fb)](){const _0x733c5f=_0xf3d4e9;if(!this[_0x733c5f(0x1f4)])throw Error(_0x733c5f(0x200));let _0x30c091=new webgpu.Vector3();return this[_0x733c5f(0x1f4)][_0x733c5f(0x1fb)](_0x30c091),_0x30c091;}[_0xf3d4e9(0x214)](){const _0x4036ed=_0xf3d4e9;if(!this['obj'])throw Error(_0x4036ed(0x200));return this[_0x4036ed(0x1f4)][_0x4036ed(0x1ec)](!![]),this[_0x4036ed(0x1f4)][_0x4036ed(0x234)][_0x4036ed(0x210)]();}[_0xf3d4e9(0x240)](_0x333fcf){const _0x2db8e9=_0xf3d4e9;if(!this[_0x2db8e9(0x1f4)])throw Error(_0x2db8e9(0x200));if(this['obj'][_0x2db8e9(0x22e)]){this['obj'][_0x2db8e9(0x22e)][_0x2db8e9(0x1ec)](!![]);const _0x3fc5dc=this[_0x2db8e9(0x1f4)][_0x2db8e9(0x22e)][_0x2db8e9(0x234)][_0x2db8e9(0x210)]()[_0x2db8e9(0x1da)](),_0x53dd6d=new webgpu.Matrix4()[_0x2db8e9(0x212)](_0x3fc5dc,_0x333fcf);this[_0x2db8e9(0x1d0)](_0x53dd6d);}else this[_0x2db8e9(0x1d0)](_0x333fcf);this[_0x2db8e9(0x1f4)][_0x2db8e9(0x1ec)](!![]),this[_0x2db8e9(0x1f8)]&&this[_0x2db8e9(0x1f8)][_0x2db8e9(0x227)][_0x2db8e9(0x1ef)]();}[_0xf3d4e9(0x228)](){const _0x5b49dc=_0xf3d4e9;if(!this[_0x5b49dc(0x1f4)])throw Error(_0x5b49dc(0x200));let _0x33d961=new webgpu.Vector3();return this[_0x5b49dc(0x1f4)]['getWorldDirection'](_0x33d961),_0x33d961;}[_0xf3d4e9(0x204)](){const _0x18ac27=_0xf3d4e9;if(!this[_0x18ac27(0x1f4)])throw Error(_0x18ac27(0x200));let _0x1339b9=new webgpu.Vector3(0x0,0x1,0x0);return _0x1339b9[_0x18ac27(0x1dc)](this[_0x18ac27(0x20c)]()),_0x1339b9;}[_0xf3d4e9(0x1e3)](){const _0x187ac5=_0xf3d4e9;if(!this[_0x187ac5(0x1f4)])throw Error(_0x187ac5(0x200));let _0x232bcf=new webgpu.Vector3(0x1,0x0,0x0);return _0x232bcf[_0x187ac5(0x1dc)](this[_0x187ac5(0x20c)]()),_0x232bcf;}['worldToLocal'](_0x1c3ebf){const _0x36a196=_0xf3d4e9;if(!this[_0x36a196(0x1f4)])throw Error(_0x36a196(0x200));return this[_0x36a196(0x1f4)][_0x36a196(0x1df)](_0x1c3ebf);}[_0xf3d4e9(0x23a)](_0x4efc28){const _0x341118=_0xf3d4e9;if(!this[_0x341118(0x1f4)])throw Error(_0x341118(0x200));return this[_0x341118(0x1f4)]['localToWorld'](_0x4efc28);}[_0xf3d4e9(0x1dd)](_0x1375d3){const _0x375779=_0xf3d4e9;if(!this[_0x375779(0x1f4)])throw Error(_0x375779(0x200));if(!_0x1375d3[_0x375779(0x211)])throw Error(_0x375779(0x1f1));this[_0x375779(0x1f4)][_0x375779(0x237)](_0x1375d3[_0x375779(0x211)]),this[_0x375779(0x1f8)]&&_0x1375d3[_0x375779(0x203)](this[_0x375779(0x1f8)]);}[_0xf3d4e9(0x1eb)](_0x4b5ed0){const _0x390a5a=_0xf3d4e9;if(!this['obj'])throw Error(_0x390a5a(0x200));if(!_0x4b5ed0['threeObject'])throw Error(_0x390a5a(0x21e));this[_0x390a5a(0x1f4)][_0x390a5a(0x213)](_0x4b5ed0['threeObject']);}[_0xf3d4e9(0x221)](_0x892f97,_0xfd3afe=exports.AttachmentRules[_0xf3d4e9(0x1fd)]){const _0x5e9572=_0xf3d4e9;if(!this['obj'])throw Error(_0x5e9572(0x200));if(!_0x892f97[_0x5e9572(0x211)])throw Error(_0x5e9572(0x1f1));_0x892f97[_0x5e9572(0x231)]=this[_0x5e9572(0x231)];if(_0xfd3afe===exports.AttachmentRules[_0x5e9572(0x218)]){let _0x569912=_0x892f97[_0x5e9572(0x214)]();this[_0x5e9572(0x1f4)][_0x5e9572(0x237)](_0x892f97[_0x5e9572(0x211)]),_0x892f97[_0x5e9572(0x240)](_0x569912);}else this['obj']['add'](_0x892f97[_0x5e9572(0x211)]);this['world']&&_0x892f97[_0x5e9572(0x203)](this[_0x5e9572(0x1f8)]),this[_0x5e9572(0x1f4)][_0x5e9572(0x20e)](),this[_0x5e9572(0x1f4)][_0x5e9572(0x1ec)](!![]);}['removeChildComponent'](_0x12d11a){const _0x2ec5f0=_0xf3d4e9;if(!this[_0x2ec5f0(0x1f4)])throw Error('threeObject\x20is\x20invalid');if(!_0x12d11a['threeObject'])throw Error(_0x2ec5f0(0x22c));this[_0x2ec5f0(0x1f4)][_0x2ec5f0(0x213)](_0x12d11a[_0x2ec5f0(0x211)]);}['detachFromParentComponent'](){const _0x1da6f1=_0xf3d4e9;this[_0x1da6f1(0x1d9)]&&this[_0x1da6f1(0x1d9)]['removeChildComponent'](this);}[_0xf3d4e9(0x23b)](){const _0x4f171a=_0xf3d4e9;this[_0x4f171a(0x231)]&&(this[_0x4f171a(0x231)]=null);}[_0xf3d4e9(0x1ff)](){const _0x261b0d=_0xf3d4e9;var _0x3bc99a;if(!this[_0x261b0d(0x1f4)])return;let _0x3c3b33=[];for(let _0x1e9448=0x0;_0x1e9448<this[_0x261b0d(0x1f4)][_0x261b0d(0x22b)][_0x261b0d(0x232)];++_0x1e9448){let _0x28f4e3=(_0x3bc99a=this['obj'][_0x261b0d(0x22b)][_0x1e9448][_0x261b0d(0x217)])===null||_0x3bc99a===void 0?void 0:_0x3bc99a[_0x261b0d(0x1d5)];_0x28f4e3&&_0x3c3b33[_0x261b0d(0x222)](_0x28f4e3);}_0x3c3b33[_0x261b0d(0x1f0)](_0x160c96=>{const _0x26b814=_0x261b0d;_0x160c96[_0x26b814(0x208)]();}),_0x3c3b33=[];}set[_0xf3d4e9(0x1ea)](_0x53f225){const _0x353590=_0xf3d4e9;this[_0x353590(0x21c)]=_0x53f225;let _0x42d89f=this['childrenComponents'];for(let _0xcdfedd=0x0;_0xcdfedd<_0x42d89f[_0x353590(0x232)];++_0xcdfedd){_0x42d89f[_0xcdfedd][_0x353590(0x1ea)]=this[_0x353590(0x21c)];}}get['isHoverEnabled'](){const _0x5c678c=_0xf3d4e9;return this[_0x5c678c(0x21c)];}set[_0xf3d4e9(0x1f6)](_0x127968){const _0x18436c=_0xf3d4e9;this[_0x18436c(0x22d)]=_0x127968;let _0x2fe12d=this[_0x18436c(0x205)];for(let _0x3f9d15=0x0;_0x3f9d15<_0x2fe12d[_0x18436c(0x232)];++_0x3f9d15){_0x2fe12d[_0x3f9d15]['isClickEnabled']=this[_0x18436c(0x22d)];}}get[_0xf3d4e9(0x1f6)](){const _0x2eef02=_0xf3d4e9;return this[_0x2eef02(0x22d)];}[_0xf3d4e9(0x224)](){const _0x36035e=_0xf3d4e9;this[_0x36035e(0x21b)]['broadcast']();}['onHorveringEnd'](){this['_onHoverEndDelegate']['broadcast']();}['onClicked'](){const _0x560d5d=_0xf3d4e9;this[_0x560d5d(0x1d4)][_0x560d5d(0x1fa)]();}[_0xf3d4e9(0x22f)](){const _0x46f4b6=_0xf3d4e9;this[_0x46f4b6(0x23e)][_0x46f4b6(0x1fa)]();}}
|
|
41
41
|
|
|
42
|
-
const
|
|
42
|
+
const _0x433f85=_0x1af2;function _0xc25a(){const _0x4e6865=['destroyObject','47238LiQmAL','castShadow','addGeometryAsset','push','366kKlCDO','obj','301iUIoRg','isArray','76YLezMk','12Paxspv','max','addRef','99445CKwNul','addMaterialAsset','LYObject','370029jxkPBr','receiveShadow','getCenter','threeObject\x20is\x20null','603FpWgHQ','forEach','_materialPtr','_geometryPtr','min','userData','createDefaultObject','getBounds','geometry','release','material','getValue','2613632VnpBst','materialPtr','assetManager','removeFromParent','geometryPtr\x20is\x20null','app','length','945aeichg','threeObject','getBoundsBottomCenterPosition','27710dKrLvo','geometryPtr','751608uFncoD','getBoundsTopCenterPosition'];_0xc25a=function(){return _0x4e6865;};return _0xc25a();}(function(_0x124cbe,_0x565105){const _0x49bc52=_0x1af2,_0x546696=_0x124cbe();while(!![]){try{const _0x2f2e3c=parseInt(_0x49bc52(0xc9))/0x1*(-parseInt(_0x49bc52(0xd5))/0x2)+parseInt(_0x49bc52(0xce))/0x3+parseInt(_0x49bc52(0xd9))/0x4*(parseInt(_0x49bc52(0xdd))/0x5)+-parseInt(_0x49bc52(0xd1))/0x6*(parseInt(_0x49bc52(0xd7))/0x7)+parseInt(_0x49bc52(0xf0))/0x8+parseInt(_0x49bc52(0xe4))/0x9*(-parseInt(_0x49bc52(0xcc))/0xa)+-parseInt(_0x49bc52(0xe0))/0xb*(parseInt(_0x49bc52(0xda))/0xc);if(_0x2f2e3c===_0x565105)break;else _0x546696['push'](_0x546696['shift']());}catch(_0x59116e){_0x546696['push'](_0x546696['shift']());}}}(_0xc25a,0x36c69));function _0x1af2(_0x4da439,_0x2ede47){_0x4da439=_0x4da439-0xc5;const _0xc25a82=_0xc25a();let _0x1af242=_0xc25a82[_0x4da439];return _0x1af242;}class MeshComponent extends SceneComponent{get[_0x433f85(0xca)](){const _0x1db483=_0x433f85;if(!this['obj'])throw new Error(_0x1db483(0xe3));return this[_0x1db483(0xd6)];}set['threeObject'](_0xaa7721){const _0x492d38=_0x433f85;this['obj']=_0xaa7721,this[_0x492d38(0xd6)]&&(this[_0x492d38(0xd6)][_0x492d38(0xe9)][_0x492d38(0xdf)]=this);}get[_0x433f85(0xec)](){const _0x541afc=_0x433f85;if(!this['_geometryPtr'])throw new Error('geometryPtr\x20is\x20null');return this['_geometryPtr'][_0x541afc(0xef)]();}set[_0x433f85(0xec)](_0x295dd3){const _0x271d3c=_0x433f85;let _0x16371a=this['app'][_0x271d3c(0xf2)][_0x271d3c(0xd3)](_0x295dd3);this[_0x271d3c(0xcd)]=_0x16371a;}get['geometryPtr'](){const _0x1051e0=_0x433f85;if(!this[_0x1051e0(0xe7)])throw new Error(_0x1051e0(0xc6));return this[_0x1051e0(0xe7)];}set['geometryPtr'](_0x122a6e){const _0x4f704e=_0x433f85;this[_0x4f704e(0xe7)]&&(this[_0x4f704e(0xe7)]['release'](),this[_0x4f704e(0xe7)]=null);this[_0x4f704e(0xe7)]=_0x122a6e;let _0x34fa79=_0x122a6e[_0x4f704e(0xef)]();this[_0x4f704e(0xca)]&&_0x34fa79&&(this[_0x4f704e(0xca)]['geometry']=_0x34fa79);}get[_0x433f85(0xee)](){const _0x4467f0=_0x433f85;let _0x4b5986=[];return this[_0x4467f0(0xe6)][_0x4467f0(0xe5)](_0x44c6ba=>{const _0x9f8b62=_0x4467f0;let _0x51cef2=_0x44c6ba[_0x9f8b62(0xef)]();if(_0x51cef2)_0x4b5986[_0x9f8b62(0xd4)](_0x51cef2);}),_0x4b5986[_0x4467f0(0xc8)]>0x1?_0x4b5986:_0x4b5986[0x0];}get['materialPtr'](){const _0x4d0100=_0x433f85;return this[_0x4d0100(0xf1)];}set[_0x433f85(0xee)](_0x4573a3){const _0xf765e3=_0x433f85;let _0x249c3d=Array[_0xf765e3(0xd8)](_0x4573a3)?_0x4573a3:[_0x4573a3],_0x3903b8=[];_0x249c3d[_0xf765e3(0xe5)](_0x4c5531=>{const _0x5ba8a4=_0xf765e3;let _0x53173b=this[_0x5ba8a4(0xc7)][_0x5ba8a4(0xf2)]['addMaterialAsset'](_0x4c5531);if(_0x53173b)_0x3903b8['push'](_0x53173b);}),this['materialPtr']=_0x3903b8;}set[_0x433f85(0xf1)](_0x51395e){const _0x421362=_0x433f85;this['_materialPtr']&&(this['_materialPtr'][_0x421362(0xe5)](_0x493661=>{const _0xf12dfc=_0x421362;_0x493661[_0xf12dfc(0xed)]();}),this[_0x421362(0xe6)]=[]);let _0x5c6382=Array[_0x421362(0xd8)](_0x51395e)?_0x51395e:[_0x51395e],_0x5dc8bd=[];_0x5c6382['forEach'](_0xa2b706=>{const _0x4e2558=_0x421362;let _0x5c47ab=_0xa2b706[_0x4e2558(0xef)]();if(_0x5c47ab)_0x5dc8bd[_0x4e2558(0xd4)](_0x5c47ab);_0xa2b706['addRef']();});if(this[_0x421362(0xca)]){if(_0x5dc8bd[_0x421362(0xc8)]>0x0)this['threeObject'][_0x421362(0xee)]=Array[_0x421362(0xd8)](_0x51395e)?_0x5dc8bd[0x0]:_0x5dc8bd;}this['_materialPtr']=_0x5c6382;}constructor(_0x508306,_0x24409d,_0x51038b,_0xcdaa6b){const _0x31f419=_0x433f85;let _0x45c6b9=[],_0x526e85=Array[_0x31f419(0xd8)](_0x51038b)?_0x51038b:[_0x51038b];_0x526e85['forEach'](_0x33344b=>{const _0x547b2f=_0x31f419;let _0x50adb6=_0x508306['assetManager'][_0x547b2f(0xde)](_0x33344b);if(_0x50adb6)_0x45c6b9['push'](_0x50adb6);}),super(_0x508306,_0xcdaa6b),this[_0x31f419(0xe7)]=_0x508306[_0x31f419(0xf2)][_0x31f419(0xd3)](_0x24409d),this['_materialPtr']=_0x45c6b9,_0x45c6b9[_0x31f419(0xe5)](_0x247b5e=>{const _0x185691=_0x31f419;_0x247b5e[_0x185691(0xdc)]();}),this[_0x31f419(0xca)][_0x31f419(0xee)]=_0x51038b,this[_0x31f419(0xca)][_0x31f419(0xec)]=_0x24409d,this[_0x31f419(0xd2)]=!![],this[_0x31f419(0xe1)]=!![];}[_0x433f85(0xea)](){return new webgpu.Mesh();}set[_0x433f85(0xd2)](_0xcce417){const _0x194e1e=_0x433f85;if(this['threeObject'])this[_0x194e1e(0xca)][_0x194e1e(0xd2)]=_0xcce417;}get[_0x433f85(0xd2)](){const _0x2ffdab=_0x433f85;return this[_0x2ffdab(0xca)]?this[_0x2ffdab(0xca)][_0x2ffdab(0xd2)]:![];}set[_0x433f85(0xe1)](_0x24a72c){const _0x57b309=_0x433f85;if(!this[_0x57b309(0xca)])return;this[_0x57b309(0xca)][_0x57b309(0xe1)]=_0x24a72c;}get[_0x433f85(0xe1)](){const _0x2f2730=_0x433f85;return this[_0x2f2730(0xca)]?this[_0x2f2730(0xca)][_0x2f2730(0xe1)]:![];}['getBoundsCenterPosition'](){const _0x313eaf=_0x433f85;let _0x5ca9ae=new webgpu.Vector3();return this[_0x313eaf(0xeb)]()[_0x313eaf(0xe2)](_0x5ca9ae),_0x5ca9ae;}[_0x433f85(0xcf)](){const _0x2e3c89=_0x433f85;let _0x541bea=new webgpu.Vector3(),_0x2afdc6=this[_0x2e3c89(0xeb)]();return _0x2afdc6[_0x2e3c89(0xe2)](_0x541bea),_0x541bea['y']=_0x2afdc6[_0x2e3c89(0xdb)]['y'],_0x541bea;}[_0x433f85(0xcb)](){const _0x5780e9=_0x433f85;let _0x5ef876=new webgpu.Vector3(),_0x3045b7=this[_0x5780e9(0xeb)]();return _0x3045b7[_0x5780e9(0xe2)](_0x5ef876),_0x5ef876['y']=_0x3045b7[_0x5780e9(0xe8)]['y'],_0x5ef876;}[_0x433f85(0xd0)](){const _0x158b45=_0x433f85;var _0x33e1c6;this[_0x158b45(0xca)]&&this[_0x158b45(0xca)][_0x158b45(0xc5)]();(_0x33e1c6=this[_0x158b45(0xe7)])===null||_0x33e1c6===void 0?void 0:_0x33e1c6['release']();let _0xbdde8c=Array[_0x158b45(0xd8)](this[_0x158b45(0xe6)])?this[_0x158b45(0xe6)]:[this[_0x158b45(0xe6)]];_0xbdde8c[_0x158b45(0xe5)](_0x4c9d22=>{const _0x474f71=_0x158b45;_0x4c9d22[_0x474f71(0xed)]();}),super[_0x158b45(0xd0)]();}}
|
|
43
43
|
|
|
44
|
-
function
|
|
44
|
+
const _0x282e09=_0x4cd2;function _0x4cd2(_0xa0a800,_0x37439f){_0xa0a800=_0xa0a800-0x1e2;const _0x2f0140=_0x2f01();let _0x4cd22e=_0x2f0140[_0xa0a800];return _0x4cd22e;}(function(_0x238dd9,_0x1f64fc){const _0x9c4645=_0x4cd2,_0x19470e=_0x238dd9();while(!![]){try{const _0xe91096=parseInt(_0x9c4645(0x205))/0x1+-parseInt(_0x9c4645(0x1f7))/0x2+parseInt(_0x9c4645(0x1e8))/0x3+-parseInt(_0x9c4645(0x1ea))/0x4*(-parseInt(_0x9c4645(0x1e5))/0x5)+parseInt(_0x9c4645(0x1e6))/0x6+-parseInt(_0x9c4645(0x1e2))/0x7+-parseInt(_0x9c4645(0x1e9))/0x8;if(_0xe91096===_0x1f64fc)break;else _0x19470e['push'](_0x19470e['shift']());}catch(_0x3571bc){_0x19470e['push'](_0x19470e['shift']());}}}(_0x2f01,0x3ffbe));function _0x2f01(){const _0x564382=['push','580626AxMCbf','4127432WCKzKZ','1100MhWHHk','material','removeFromParent','forEach','assetManager','_geometryPtr','length','setMatrixAt','getMatrixAt','castShadow','isArray','updateMatrices','LYObject','26882WqKmLa','createDefaultObject','addGeometryAsset','instanceMatrix','addMaterialAsset','geometry','receiveShadow','release','min','count','threeObject','_materialPtr','destroyObject','getValue','334962wcALoh','InstanceMeshComponent:\x20threeObject\x20is\x20null','1039822GEsftM','needsUpdate','obj','455baYFYk','2318790fiOHSG'];_0x2f01=function(){return _0x564382;};return _0x2f01();}class InstanceMeshComponent extends SceneComponent{get[_0x282e09(0x201)](){const _0x438492=_0x282e09;if(!this['obj'])throw new Error(_0x438492(0x206));return this[_0x438492(0x1e4)];}set[_0x282e09(0x201)](_0x548ed8){const _0x89d089=_0x282e09;this['obj']=_0x548ed8,this[_0x89d089(0x1e4)]&&(this[_0x89d089(0x1e4)]['userData'][_0x89d089(0x1f6)]=this);}get[_0x282e09(0x1fc)](){const _0x1da759=_0x282e09;var _0x14fc5d,_0x1aa9b3;return (_0x1aa9b3=(_0x14fc5d=this['_geometryPtr'])===null||_0x14fc5d===void 0?void 0:_0x14fc5d[_0x1da759(0x204)]())!==null&&_0x1aa9b3!==void 0?_0x1aa9b3:null;}get[_0x282e09(0x1eb)](){const _0x431809=_0x282e09,_0x2bb722=[];return this['_materialPtr'][_0x431809(0x1ed)](_0x43ebb0=>{const _0x1849dd=_0x431809,_0x27bd3b=_0x43ebb0[_0x1849dd(0x204)]();if(_0x27bd3b)_0x2bb722[_0x1849dd(0x1e7)](_0x27bd3b);}),_0x2bb722[_0x431809(0x1f0)]>0x1?_0x2bb722:_0x2bb722[0x0];}get[_0x282e09(0x200)](){const _0xbecca5=_0x282e09;return this['threeObject'][_0xbecca5(0x200)];}set[_0x282e09(0x200)](_0x278180){const _0x1edb31=_0x282e09;this[_0x1edb31(0x201)][_0x1edb31(0x200)]=_0x278180;}set[_0x282e09(0x1f3)](_0x322560){if(this['threeObject'])this['threeObject']['castShadow']=_0x322560;}get[_0x282e09(0x1f3)](){const _0x2d0709=_0x282e09;return this[_0x2d0709(0x201)]?this[_0x2d0709(0x201)][_0x2d0709(0x1f3)]:![];}set[_0x282e09(0x1fd)](_0x54783d){const _0x2520ee=_0x282e09;if(!this[_0x2520ee(0x201)])return;this[_0x2520ee(0x201)]['receiveShadow']=_0x54783d;}get[_0x282e09(0x1fd)](){const _0x33b171=_0x282e09;return this[_0x33b171(0x201)]?this[_0x33b171(0x201)][_0x33b171(0x1fd)]:![];}constructor(_0x1f2860,_0x4254d5,_0xd29cb8){const _0x161b14=_0x282e09;super(_0x1f2860,_0xd29cb8),this['_geometryPtr']=null,this['_materialPtr']=[];_0x4254d5['geometry']&&(this[_0x161b14(0x1ef)]=_0x1f2860[_0x161b14(0x1ee)][_0x161b14(0x1f9)](_0x4254d5['geometry']));const _0x15f2a3=Array[_0x161b14(0x1f4)](_0x4254d5['material'])?_0x4254d5[_0x161b14(0x1eb)]:[_0x4254d5[_0x161b14(0x1eb)]];_0x15f2a3['forEach'](_0x2e72cf=>{const _0x9a4e84=_0x161b14,_0x474cb5=_0x1f2860[_0x9a4e84(0x1ee)][_0x9a4e84(0x1fb)](_0x2e72cf);_0x474cb5&&(_0x474cb5['addRef'](),this[_0x9a4e84(0x202)][_0x9a4e84(0x1e7)](_0x474cb5));}),this['threeObject']=_0x4254d5,this[_0x161b14(0x1f3)]=!![],this[_0x161b14(0x1fd)]=!![];}[_0x282e09(0x1f8)](){return new webgpu.InstancedMesh(undefined,undefined,0x0);}[_0x282e09(0x1f2)](_0x4390a7,_0x385d38){const _0x16c3d8=_0x282e09;this[_0x16c3d8(0x201)][_0x16c3d8(0x1f2)](_0x4390a7,_0x385d38);}['setMatrixAt'](_0x3a71e1,_0x305e45){const _0x5f2a0a=_0x282e09;this[_0x5f2a0a(0x201)][_0x5f2a0a(0x1f1)](_0x3a71e1,_0x305e45),this[_0x5f2a0a(0x201)][_0x5f2a0a(0x1fa)][_0x5f2a0a(0x1e3)]=!![];}[_0x282e09(0x1f5)](_0x47e67a){const _0x5ae3de=_0x282e09,_0x1f2f43=Math[_0x5ae3de(0x1ff)](_0x47e67a[_0x5ae3de(0x1f0)],this[_0x5ae3de(0x201)]['count']);for(let _0x19fb76=0x0;_0x19fb76<_0x1f2f43;_0x19fb76++){this[_0x5ae3de(0x201)]['setMatrixAt'](_0x19fb76,_0x47e67a[_0x19fb76]);}this[_0x5ae3de(0x201)]['instanceMatrix']['needsUpdate']=!![];}[_0x282e09(0x203)](){const _0x421c18=_0x282e09;var _0x1251ea;this[_0x421c18(0x201)]&&(this[_0x421c18(0x201)][_0x421c18(0x1ec)](),this[_0x421c18(0x201)]['dispose']()),(_0x1251ea=this['_geometryPtr'])===null||_0x1251ea===void 0?void 0:_0x1251ea[_0x421c18(0x1fe)](),this[_0x421c18(0x1ef)]=null,this['_materialPtr'][_0x421c18(0x1ed)](_0x25855d=>{_0x25855d['release']();}),this[_0x421c18(0x202)]=[],super[_0x421c18(0x203)]();}}
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
var _0x445cb2=_0x35f5;(function(_0xd7d9fe,_0x1ab91f){var _0xda451e=_0x35f5,_0x184e8d=_0xd7d9fe();while(!![]){try{var _0x3078ca=parseInt(_0xda451e(0x1cf))/0x1*(-parseInt(_0xda451e(0x1d1))/0x2)+-parseInt(_0xda451e(0x1cd))/0x3+-parseInt(_0xda451e(0x1c7))/0x4+parseInt(_0xda451e(0x1ca))/0x5+-parseInt(_0xda451e(0x1c5))/0x6*(-parseInt(_0xda451e(0x1c6))/0x7)+parseInt(_0xda451e(0x1c3))/0x8+-parseInt(_0xda451e(0x1d2))/0x9*(-parseInt(_0xda451e(0x1c9))/0xa);if(_0x3078ca===_0x1ab91f)break;else _0x184e8d['push'](_0x184e8d['shift']());}catch(_0x4c1e32){_0x184e8d['push'](_0x184e8d['shift']());}}}(_0x47c7,0xb6777));function _0x47c7(){var _0x249011=['isValid','192tDrSen','208418FoGCmi','34844cRtmYw','release','3116870VvOYoV','1816295LENXiJ','referenceCount','value','4135257NyUbzq','dispose','34052rfikiN','addRef','32kclIQR','36zSWxQQ','forceRelease','932560NihLCi'];_0x47c7=function(){return _0x249011;};return _0x47c7();}function _0x35f5(_0x112a1f,_0x3fdfe1){_0x112a1f=_0x112a1f-0x1c2;var _0x47c7a4=_0x47c7();var _0x35f5ac=_0x47c7a4[_0x112a1f];return _0x35f5ac;}class TSmartPointer{constructor(_0x2ed159,_0x367d57=0x1){var _0x117985=_0x35f5;this['referenceCount']=0x1,this[_0x117985(0x1cc)]=null,this[_0x117985(0x1cc)]=_0x2ed159,this['referenceCount']=_0x367d57;}['getRefCount'](){var _0x3fa982=_0x35f5;return this[_0x3fa982(0x1cb)];}[_0x445cb2(0x1c4)](){return this['value']!==null;}[_0x445cb2(0x1d0)](_0x3dec8a=0x1){var _0x113259=_0x445cb2;this['value']!==null&&(this[_0x113259(0x1cb)]+=_0x3dec8a);}[_0x445cb2(0x1c8)](){var _0x1e1248=_0x445cb2;this['value']!==null&&this[_0x1e1248(0x1cb)]>0x0&&(this['referenceCount']--,this[_0x1e1248(0x1cb)]===0x0&&this[_0x1e1248(0x1ce)]());}[_0x445cb2(0x1c2)](){var _0xb0df73=_0x445cb2;this[_0xb0df73(0x1cc)]!==null&&(this[_0xb0df73(0x1ce)](),this[_0xb0df73(0x1cb)]=0x0);}[_0x445cb2(0x1ce)](){this['value']=null;}['getValue'](){var _0x590db7=_0x445cb2;return this[_0x590db7(0x1cc)];}}
|
|
47
47
|
|
|
48
|
-
const
|
|
48
|
+
const _0x39fe22=_0x4b70;(function(_0x493551,_0x2f6ce6){const _0x7b4db4=_0x4b70,_0x33273e=_0x493551();while(!![]){try{const _0x4ef89f=-parseInt(_0x7b4db4(0xe0))/0x1*(parseInt(_0x7b4db4(0xea))/0x2)+parseInt(_0x7b4db4(0xe7))/0x3+parseInt(_0x7b4db4(0xe6))/0x4+parseInt(_0x7b4db4(0xdf))/0x5*(parseInt(_0x7b4db4(0xe4))/0x6)+-parseInt(_0x7b4db4(0xe9))/0x7*(-parseInt(_0x7b4db4(0xeb))/0x8)+parseInt(_0x7b4db4(0xe8))/0x9+-parseInt(_0x7b4db4(0xe1))/0xa*(parseInt(_0x7b4db4(0xec))/0xb);if(_0x4ef89f===_0x2f6ce6)break;else _0x33273e['push'](_0x33273e['shift']());}catch(_0x2ba5e8){_0x33273e['push'](_0x33273e['shift']());}}}(_0x146b,0x29c57));const ASSET_POINTER_KEY=_0x39fe22(0xed);function _0x4b70(_0x2da498,_0x14f3bc){_0x2da498=_0x2da498-0xde;const _0x146bc8=_0x146b();let _0x4b7095=_0x146bc8[_0x2da498];return _0x4b7095;}function _0x146b(){const _0x317c35=['8vGHOMN','11FYpHhE','assetPointer','_uuid','uuid','885jQKvIx','72421FUiYpU','2179810JjyijJ','userData','dispose','6918NlMSav','value','319376rEcLHL','379461pWTCvl','1187775RGOgQd','954611qzLwYG','8DbnpMD'];_0x146b=function(){return _0x317c35;};return _0x146b();}const EDITOR_ASSET_ID_KEY='editorAssetId';class TAssetPointer extends TSmartPointer{get[_0x39fe22(0xde)](){const _0x450359=_0x39fe22;return this[_0x450359(0xee)];}constructor(_0x12b30b,_0x3db9f8=0x0){const _0x5da08e=_0x39fe22;super(_0x12b30b,_0x3db9f8),this[_0x5da08e(0xee)]=_0x12b30b[_0x5da08e(0xde)],_0x12b30b[_0x5da08e(0xe2)][ASSET_POINTER_KEY]=this;}[_0x39fe22(0xe3)](){const _0x30e228=_0x39fe22;this['value']&&(this['value'][_0x30e228(0xe2)]&&(delete this['value'][_0x30e228(0xe2)][ASSET_POINTER_KEY],delete this[_0x30e228(0xe5)][_0x30e228(0xe2)][EDITOR_ASSET_ID_KEY]),typeof this[_0x30e228(0xe5)][_0x30e228(0xe3)]==='function'&&this['value']['dispose']()),super['dispose']();}}
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
const _0x4cd564=_0x4f93;(function(_0x57b30b,_0x74bbed){const _0x50cdfc=_0x4f93,_0x51ee1f=_0x57b30b();while(!![]){try{const _0x14cca3=parseInt(_0x50cdfc(0xdb))/0x1*(-parseInt(_0x50cdfc(0xd8))/0x2)+parseInt(_0x50cdfc(0xcf))/0x3+-parseInt(_0x50cdfc(0xd1))/0x4*(parseInt(_0x50cdfc(0xdc))/0x5)+parseInt(_0x50cdfc(0xd6))/0x6*(parseInt(_0x50cdfc(0xda))/0x7)+-parseInt(_0x50cdfc(0xd9))/0x8+-parseInt(_0x50cdfc(0xce))/0x9*(parseInt(_0x50cdfc(0xd0))/0xa)+parseInt(_0x50cdfc(0xe4))/0xb;if(_0x14cca3===_0x74bbed)break;else _0x51ee1f['push'](_0x51ee1f['shift']());}catch(_0x22f8f0){_0x51ee1f['push'](_0x51ee1f['shift']());}}}(_0x5027,0x579da));function _0x4f93(_0x2a4023,_0x4cc30a){_0x2a4023=_0x2a4023-0xce;const _0x502717=_0x5027();let _0x4f939f=_0x502717[_0x2a4023];return _0x4f939f;}function _0x5027(){const _0x4ea39c=['needsUpdate','dispose','12414952hItdQT','getValue','textures','189iIRXQD','1416222peKqjS','219630uZxHTF','2054156PWJWpG','setTexture','Material\x20is\x20null','get','Texture\x20is\x20null','3821976wFOXwO','texturePointers','2ATwNqy','5692840iscpIX','7jfEISj','192461VuBuaK','5EekuYI','release','clear','removeTexture','set','addRef'];_0x5027=function(){return _0x4ea39c;};return _0x5027();}class MaterialAssetPointer extends TAssetPointer{constructor(_0x44b460,_0x5e671d,_0x5cd328=0x0){super(_0x44b460,_0x5cd328),this['textures']=_0x5e671d;}get[_0x4cd564(0xd7)](){const _0x3a9578=_0x4cd564;return this[_0x3a9578(0xe6)];}[_0x4cd564(0xd2)](_0xac5912,_0x408d11){const _0x3f3272=_0x4cd564,_0x9a6363=this[_0x3f3272(0xe5)](),_0x273294=_0x408d11['getValue']();if(!_0x273294)throw new Error(_0x3f3272(0xd5));if(!_0x9a6363)throw new Error(_0x3f3272(0xd3));const _0x499098=this[_0x3f3272(0xe6)][_0x3f3272(0xd4)](_0xac5912);_0x499098!==_0x408d11&&(_0x499098&&_0x499098[_0x3f3272(0xdd)](),this[_0x3f3272(0xe6)][_0x3f3272(0xe0)](_0xac5912,_0x408d11),_0x9a6363[_0xac5912]=_0x273294,_0x408d11[_0x3f3272(0xe1)](),_0x9a6363[_0x3f3272(0xe2)]=!![]);}[_0x4cd564(0xdf)](_0x91f9be){const _0x5d2d25=_0x4cd564,_0x16b61f=this[_0x5d2d25(0xe5)](),_0x1eab49=this[_0x5d2d25(0xe6)][_0x5d2d25(0xd4)](_0x91f9be);_0x1eab49&&(_0x1eab49[_0x5d2d25(0xdd)](),this[_0x5d2d25(0xe6)]['delete'](_0x91f9be),_0x16b61f&&(_0x16b61f[_0x91f9be]=null,_0x16b61f[_0x5d2d25(0xe2)]=!![]));}['dispose'](){const _0x4b503d=_0x4cd564;for(const _0x1256a1 of this[_0x4b503d(0xe6)]['values']()){_0x1256a1[_0x4b503d(0xdd)]();}this['textures'][_0x4b503d(0xde)](),super[_0x4b503d(0xe3)]();}}
|
|
51
51
|
|
|
52
|
-
(function(
|
|
52
|
+
(function(_0x47770f,_0x26ac2e){var _0x32e663=_0x3219,_0x33d00c=_0x47770f();while(!![]){try{var _0x3615df=parseInt(_0x32e663(0x153))/0x1*(parseInt(_0x32e663(0x159))/0x2)+-parseInt(_0x32e663(0x156))/0x3+-parseInt(_0x32e663(0x157))/0x4+-parseInt(_0x32e663(0x155))/0x5+parseInt(_0x32e663(0x15b))/0x6+-parseInt(_0x32e663(0x15a))/0x7*(-parseInt(_0x32e663(0x158))/0x8)+parseInt(_0x32e663(0x154))/0x9;if(_0x3615df===_0x26ac2e)break;else _0x33d00c['push'](_0x33d00c['shift']());}catch(_0x1ac24b){_0x33d00c['push'](_0x33d00c['shift']());}}}(_0x645a,0x1ad37));function _0x3219(_0xebac5f,_0x5d2aec){_0xebac5f=_0xebac5f-0x153;var _0x645afd=_0x645a();var _0x32192d=_0x645afd[_0xebac5f];return _0x32192d;}function _0x645a(){var _0x3fe017=['613812YazPgv','550480PkBfeG','5224KPHWeI','7rnyLGd','532920BHfcDU','23IuiyVU','1373067nkyAuu','211270pLgOdz','194049RrKdXl'];_0x645a=function(){return _0x3fe017;};return _0x645a();}class TextureAssetPointer extends TAssetPointer{constructor(_0x20aff4,_0x175904=0x1){super(_0x20aff4,_0x175904);}}
|
|
53
53
|
|
|
54
|
-
(function(
|
|
54
|
+
(function(_0x2b6a3d,_0x2a74c8){var _0x13879b=_0x1f78,_0x2cfae7=_0x2b6a3d();while(!![]){try{var _0x3afbf6=parseInt(_0x13879b(0x181))/0x1*(-parseInt(_0x13879b(0x180))/0x2)+parseInt(_0x13879b(0x17d))/0x3*(parseInt(_0x13879b(0x179))/0x4)+-parseInt(_0x13879b(0x17e))/0x5+-parseInt(_0x13879b(0x17c))/0x6+-parseInt(_0x13879b(0x17f))/0x7*(-parseInt(_0x13879b(0x182))/0x8)+parseInt(_0x13879b(0x17a))/0x9+parseInt(_0x13879b(0x178))/0xa*(parseInt(_0x13879b(0x17b))/0xb);if(_0x3afbf6===_0x2a74c8)break;else _0x2cfae7['push'](_0x2cfae7['shift']());}catch(_0x1a03f0){_0x2cfae7['push'](_0x2cfae7['shift']());}}}(_0x116f,0x9f7b2));function _0x1f78(_0x39f5a0,_0x56e6af){_0x39f5a0=_0x39f5a0-0x178;var _0x116fb7=_0x116f();var _0x1f780a=_0x116fb7[_0x39f5a0];return _0x1f780a;}function _0x116f(){var _0xd2af0b=['2600soekhE','8389930SEuytY','413888ygEnOC','7636905tupuBc','11OQNuMX','4883712jJscod','24MIerJh','6106225ZTSYaf','15806oWEaey','1866oNBtdc','601wWZCwG'];_0x116f=function(){return _0xd2af0b;};return _0x116f();}class GeometryAssetPointer extends TAssetPointer{constructor(_0x2e190c,_0x46a6ae=0x1){super(_0x2e190c,_0x46a6ae);}}
|
|
55
55
|
|
|
56
|
-
function _0x4013(){const _0x868d74=['name','addChildComponent','assetPointer','releaseAsset','manager','isArray','992469jnSXCS','forceRelease','onError','setDRACOLoader','init','setKTX2Loader','children','forEach','addMaterialAsset','onLoad','_dracoLoader','clear','6093aCaLTv','isMesh','14296ZXZqVO','loadGltfFromPath','Failed\x20to\x20load\x20gltf','addGeometryAsset','385538lOowvR','geometry','dracoPath','layers','setPosition','clone','position','KTX2Loader','geometries','collectResourcesAndReferences','2655842eFWdtX','textureAssets','isInstancedMesh','2111360IbriGq','addTextureAsset','materials','userData','materialAssets','setScale','parse','190542waQBPW','setupDracoLoader','onProgress','load','preload','release','scale','set','Group','onStart','addRef','140ufqVXY','type','loadFile','addAsset','uuid','get','dispose','geometryAssets','_ktx2Loader','loadAsync','rotation','loadingManager','setRotation','values','entries','app','material','textures','checkMeshResource','656150CALFgN','loadGltfFromBuffer','convertThreeObjectToLYObject','Object3D','setDecoderPath'];_0x4013=function(){return _0x868d74;};return _0x4013();}const _0x2f0845=_0x1bdd;(function(_0x42f2cf,_0x2cbdee){const _0x1bdbbb=_0x1bdd,_0x144022=_0x42f2cf();while(!![]){try{const _0x3a6939=-parseInt(_0x1bdbbb(0xcc))/0x1+parseInt(_0x1bdbbb(0xfe))/0x2+parseInt(_0x1bdbbb(0xba))/0x3+-parseInt(_0x1bdbbb(0xd9))/0x4+parseInt(_0x1bdbbb(0xeb))/0x5*(-parseInt(_0x1bdbbb(0xe0))/0x6)+parseInt(_0x1bdbbb(0xd6))/0x7+-parseInt(_0x1bdbbb(0xc8))/0x8*(-parseInt(_0x1bdbbb(0xc6))/0x9);if(_0x3a6939===_0x2cbdee)break;else _0x144022['push'](_0x144022['shift']());}catch(_0xc1786f){_0x144022['push'](_0x144022['shift']());}}}(_0x4013,0x6cc59));function _0x1bdd(_0x3a6567,_0x58bf2b){_0x3a6567=_0x3a6567-0xb3;const _0x4013a2=_0x4013();let _0x1bdd91=_0x4013a2[_0x3a6567];return _0x1bdd91;}class AssetManager{constructor(_0x19b553,_0xf9056b){const _0x4df269=_0x1bdd;this[_0x4df269(0xf2)]=new Map(),this[_0x4df269(0xd7)]=new Map(),this['materialAssets']=new Map(),this[_0x4df269(0xf6)]=new webgpu.LoadingManager(),this['gltfLoader']=new Addons_js.GLTFLoader(this['loadingManager']),this[_0x4df269(0xfa)]=_0x19b553,this[_0x4df269(0xce)]=_0xf9056b;}get['LoadingManager'](){const _0x355232=_0x1bdd;return this[_0x355232(0xf6)];}get[_0x2f0845(0xd3)](){const _0x10c9ae=_0x2f0845;return AssetManager[_0x10c9ae(0xf3)];}async[_0x2f0845(0xbe)](){return;}['setupDracoLoader'](){const _0x20e2ff=_0x2f0845;if(!AssetManager[_0x20e2ff(0xc4)]){AssetManager[_0x20e2ff(0xc4)]=new Addons_js.DRACOLoader();if(AssetManager[_0x20e2ff(0xc4)][_0x20e2ff(0xb8)]){const _0x12fce9=AssetManager[_0x20e2ff(0xc4)][_0x20e2ff(0xb8)];_0x12fce9[_0x20e2ff(0xe9)]=undefined,_0x12fce9[_0x20e2ff(0xc3)]=undefined,_0x12fce9[_0x20e2ff(0xe2)]=undefined,_0x12fce9[_0x20e2ff(0xbc)]=undefined;}AssetManager[_0x20e2ff(0xc4)][_0x20e2ff(0xb3)](this[_0x20e2ff(0xce)]),AssetManager[_0x20e2ff(0xc4)][_0x20e2ff(0xe4)]();}}[_0x2f0845(0x100)](_0x13928d,_0x2117e4){const _0x4f3304=_0x2f0845,_0x3548b6=_0x2117e4[_0x4f3304(0xd2)][_0x4f3304(0xd1)](),_0x322320=_0x2117e4[_0x4f3304(0xf5)]['clone'](),_0x32834b=_0x2117e4[_0x4f3304(0xe6)][_0x4f3304(0xd1)]();let _0x551dd4=null;const _0x45ae18=_0x2117e4[_0x4f3304(0xc0)];_0x2117e4[_0x4f3304(0xc0)]=[];if(_0x2117e4['type']===_0x4f3304(0xe8)||_0x2117e4[_0x4f3304(0xec)]===_0x4f3304(0x101))_0x551dd4=new SceneComponent(this['app'],_0x2117e4[_0x4f3304(0xef)]);else {if(_0x2117e4[_0x4f3304(0xd8)]){const _0xb0fc61=_0x2117e4;_0x551dd4=new InstanceMeshComponent(this[_0x4f3304(0xfa)],_0xb0fc61,_0xb0fc61[_0x4f3304(0xef)]),_0x551dd4[_0x4f3304(0xb4)]=_0xb0fc61[_0x4f3304(0xb4)],_0x2117e4['layers']['set'](0x0);}else {if(_0x2117e4[_0x4f3304(0xc7)]){const _0x59e35a=_0x2117e4;_0x551dd4=new MeshComponent(this[_0x4f3304(0xfa)],_0x59e35a[_0x4f3304(0xcd)],_0x59e35a[_0x4f3304(0xfb)],_0x59e35a[_0x4f3304(0xef)]),_0x551dd4['name']=_0x59e35a['name'],_0x2117e4[_0x4f3304(0xcf)]['set'](0x0);}else _0x551dd4=new SceneComponent(this['app'],_0x2117e4[_0x4f3304(0xef)]);}}if(_0x551dd4===null)return _0x2117e4[_0x4f3304(0xc0)]=_0x45ae18,null;_0x13928d[_0x4f3304(0xb5)](_0x551dd4),_0x551dd4[_0x4f3304(0xd0)](_0x3548b6),_0x551dd4[_0x4f3304(0xf7)](_0x322320),_0x551dd4[_0x4f3304(0xde)](_0x32834b);for(const _0x1c28a5 of _0x45ae18){this[_0x4f3304(0x100)](_0x551dd4,_0x1c28a5);}return _0x551dd4;}[_0x2f0845(0xd5)](_0x188f8f){const _0x19b280=_0x2f0845,_0x20e5f1=(_0x646490,_0x34070b)=>{const _0x5e3a69=_0x1bdd;var _0x93053;const _0x246ca4=(_0x93053=_0x646490[_0x5e3a69(0xf0)](_0x34070b))!==null&&_0x93053!==void 0?_0x93053:0x0;_0x646490['set'](_0x34070b,_0x246ca4+0x1);},_0x52ed51={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x188f8f['traverse'](_0x11423a=>{const _0x4c29d7=_0x1bdd,_0x3a8e12=_0x11423a;_0x3a8e12[_0x4c29d7(0xcd)]instanceof webgpu.BufferGeometry&&_0x20e5f1(_0x52ed51[_0x4c29d7(0xd4)],_0x3a8e12['geometry']);if(_0x3a8e12['material']){const _0x5a5783=Array['isArray'](_0x3a8e12['material'])?_0x3a8e12[_0x4c29d7(0xfb)]:[_0x3a8e12[_0x4c29d7(0xfb)]];_0x5a5783[_0x4c29d7(0xc1)](_0x339764=>{const _0x461e8b=_0x4c29d7;_0x339764&&(_0x20e5f1(_0x52ed51[_0x461e8b(0xdb)],_0x339764),Object[_0x461e8b(0xf8)](_0x339764)['forEach'](_0x442730=>{const _0x26a469=_0x461e8b;_0x442730 instanceof webgpu.Texture&&_0x20e5f1(_0x52ed51[_0x26a469(0xfc)],_0x442730);}));});}}),_0x52ed51['geometries'][_0x19b280(0xc1)]((_0x11362e,_0x69f52f)=>this[_0x19b280(0xee)](_0x69f52f,_0x11362e)),_0x52ed51[_0x19b280(0xdb)][_0x19b280(0xc1)]((_0x52ac06,_0x3cd684)=>this[_0x19b280(0xee)](_0x3cd684,_0x52ac06)),_0x52ed51[_0x19b280(0xfc)]['forEach']((_0x58c484,_0x556756)=>this['addAsset'](_0x556756,_0x58c484));}[_0x2f0845(0xfd)](_0x3514ac){const _0x386f92=_0x2f0845;_0x3514ac['geometry']&&!_0x3514ac[_0x386f92(0xcd)]['userData'][_0x386f92(0xb6)]&&this['addAsset'](_0x3514ac[_0x386f92(0xcd)]);if(_0x3514ac[_0x386f92(0xfb)]){const _0x45e443=Array[_0x386f92(0xb9)](_0x3514ac[_0x386f92(0xfb)])?_0x3514ac['material']:[_0x3514ac[_0x386f92(0xfb)]];_0x45e443[_0x386f92(0xc1)](_0x45974c=>{const _0x36810a=_0x386f92;if(!_0x45974c)return;!_0x45974c[_0x36810a(0xdc)][_0x36810a(0xb6)]&&this[_0x36810a(0xee)](_0x45974c),Object[_0x36810a(0xf8)](_0x45974c)[_0x36810a(0xc1)](_0xcbd0e1=>{const _0x51604a=_0x36810a;_0xcbd0e1 instanceof webgpu.Texture&&!_0xcbd0e1[_0x51604a(0xdc)]['assetPointer']&&this['addAsset'](_0xcbd0e1);});});}}async['loadGltfFromPathAsync'](_0x367a9b){const _0x16dd71=_0x2f0845;this[_0x16dd71(0xe1)]();const _0x6a89d8=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x16dd71(0xc4)]&&_0x6a89d8[_0x16dd71(0xbd)](AssetManager['_dracoLoader']);AssetManager[_0x16dd71(0xf3)]&&_0x6a89d8[_0x16dd71(0xbf)](AssetManager[_0x16dd71(0xf3)]);try{const _0x1cc023=await _0x6a89d8[_0x16dd71(0xf4)](_0x367a9b);return _0x1cc023;}catch(_0x5be081){console['error'](_0x16dd71(0xca),_0x367a9b,_0x5be081);throw _0x5be081;}}[_0x2f0845(0xc9)](_0x33d933,_0x1d6f10){const _0x309e2e=_0x2f0845;this[_0x309e2e(0xe1)]();const _0x535b11=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x535b11[_0x309e2e(0xbd)](AssetManager[_0x309e2e(0xc4)]),_0x535b11[_0x309e2e(0xe3)](_0x33d933,_0x1d6f10);}[_0x2f0845(0xff)](_0x338801,_0x347fcb,_0x2b0792){const _0x3d9fbe=_0x2f0845;this[_0x3d9fbe(0xe1)]();const _0x113c08=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x113c08[_0x3d9fbe(0xbd)](AssetManager['_dracoLoader']),_0x113c08[_0x3d9fbe(0xdf)](_0x338801,_0x347fcb,_0x2b0792);}[_0x2f0845(0xed)](_0x593b81='',_0x116f63){const _0x501255=_0x2f0845,_0x5204d0=new webgpu.FileLoader();_0x5204d0[_0x501255(0xe3)](_0x593b81,_0x116f63);}[_0x2f0845(0xee)](_0x2eb68d,_0x1fc0d1=0x0){const _0x4cd9e3=_0x2f0845;if(_0x2eb68d instanceof webgpu.BufferGeometry)return this[_0x4cd9e3(0xcb)](_0x2eb68d,_0x1fc0d1);if(_0x2eb68d instanceof webgpu.Material)return this['addMaterialAsset'](_0x2eb68d,_0x1fc0d1);if(_0x2eb68d instanceof webgpu.Texture)return this[_0x4cd9e3(0xda)](_0x2eb68d,_0x1fc0d1);return undefined;}[_0x2f0845(0xc2)](_0x3164dd,_0x189585=0x0){const _0x3ffe9f=_0x2f0845;let _0x24dc80=_0x3164dd[_0x3ffe9f(0xdc)]['assetPointer'];if(!_0x24dc80){const _0x5ab459=new Map();Object[_0x3ffe9f(0xf9)](_0x3164dd)[_0x3ffe9f(0xc1)](([_0x2245cc,_0x58ea89])=>{const _0x21f734=_0x3ffe9f;if(_0x58ea89 instanceof webgpu.Texture){const _0x4df801=this['addTextureAsset'](_0x58ea89,0x1);_0x5ab459[_0x21f734(0xe7)](_0x2245cc,_0x4df801);}}),_0x24dc80=new MaterialAssetPointer(_0x3164dd,_0x5ab459,_0x189585),this[_0x3ffe9f(0xdd)]['set'](_0x3164dd['uuid'],_0x24dc80);}else _0x24dc80[_0x3ffe9f(0xea)](_0x189585);return _0x24dc80;}[_0x2f0845(0xda)](_0x3c6923,_0x46f94a=0x0){const _0x3bd713=_0x2f0845;let _0x48b86e=_0x3c6923[_0x3bd713(0xdc)][_0x3bd713(0xb6)];return !_0x48b86e?(_0x48b86e=new TextureAssetPointer(_0x3c6923,_0x46f94a),this[_0x3bd713(0xd7)][_0x3bd713(0xe7)](_0x3c6923[_0x3bd713(0xef)],_0x48b86e)):_0x48b86e['addRef'](_0x46f94a),_0x48b86e;}[_0x2f0845(0xcb)](_0x515360,_0x109c83=0x0){const _0x3cf832=_0x2f0845;let _0x32d911=_0x515360['userData'][_0x3cf832(0xb6)];return !_0x32d911?(_0x32d911=new GeometryAssetPointer(_0x515360,_0x109c83),this[_0x3cf832(0xf2)]['set'](_0x515360['uuid'],_0x32d911)):_0x32d911[_0x3cf832(0xea)](_0x109c83),_0x32d911;}[_0x2f0845(0xb7)](_0x572d6a){const _0x336d66=_0x2f0845,_0x4eb7a0=_0x572d6a[_0x336d66(0xdc)][_0x336d66(0xb6)];_0x4eb7a0?_0x4eb7a0[_0x336d66(0xe5)]():_0x572d6a['dispose']();}[_0x2f0845(0xf1)](){const _0x4bbf82=_0x2f0845;this['clearAssets'](),AssetManager['_dracoLoader']&&(AssetManager[_0x4bbf82(0xc4)][_0x4bbf82(0xf1)](),AssetManager[_0x4bbf82(0xc4)]=null),AssetManager['_ktx2Loader']&&(AssetManager[_0x4bbf82(0xf3)]['dispose'](),AssetManager[_0x4bbf82(0xf3)]=null);}['clearAssets'](){const _0x45751d=_0x2f0845;this['geometryAssets'][_0x45751d(0xc1)](_0xd82872=>_0xd82872[_0x45751d(0xbb)]()),this['geometryAssets'][_0x45751d(0xc5)](),this['materialAssets']['forEach'](_0x5aa801=>_0x5aa801[_0x45751d(0xbb)]()),this['materialAssets'][_0x45751d(0xc5)](),this[_0x45751d(0xd7)]['forEach'](_0x5ab030=>_0x5ab030['forceRelease']()),this['textureAssets']['clear']();}}AssetManager[_0x2f0845(0xc4)]=null,AssetManager[_0x2f0845(0xf3)]=null;
|
|
56
|
+
const _0x3f5a62=_0x2254;(function(_0x45d0b1,_0x1dc8db){const _0x67d7a0=_0x2254,_0x4bad9e=_0x45d0b1();while(!![]){try{const _0x3d54cc=-parseInt(_0x67d7a0(0x125))/0x1+parseInt(_0x67d7a0(0x111))/0x2+-parseInt(_0x67d7a0(0x149))/0x3+-parseInt(_0x67d7a0(0x141))/0x4+-parseInt(_0x67d7a0(0x136))/0x5*(-parseInt(_0x67d7a0(0x14a))/0x6)+parseInt(_0x67d7a0(0x12a))/0x7+-parseInt(_0x67d7a0(0x138))/0x8;if(_0x3d54cc===_0x1dc8db)break;else _0x4bad9e['push'](_0x4bad9e['shift']());}catch(_0x51a4c0){_0x4bad9e['push'](_0x4bad9e['shift']());}}}(_0x514d,0x2a309));function _0x514d(){const _0x54e4af=['132144LfHNUQ','convertThreeObjectToLYObject','error','collectResourcesAndReferences','rotation','gltfLoader','children','isArray','onError','967736eKtjCY','userData','setRotation','addTextureAsset','isMesh','setPosition','values','name','443310vYSSbV','6nkQSTc','entries','geometryAssets','Failed\x20to\x20load\x20gltf','assetPointer','loadFile','load','onStart','loadingManager','dispose','material','addAsset','clearAssets','preload','KTX2Loader','Group','forEach','scale','parse','124216PFyoII','clear','type','loadGltfFromBuffer','uuid','setupDracoLoader','addRef','releaseAsset','get','manager','onLoad','textures','setScale','forceRelease','release','setDRACOLoader','loadGltfFromPathAsync','_ktx2Loader','app','layers','37304xAezyb','materialAssets','position','loadGltfFromPath','clone','2022398EAzQUI','setDecoderPath','onProgress','init','addGeometryAsset','dracoPath','addMaterialAsset','_dracoLoader','textureAssets','geometry','checkMeshResource','LoadingManager','1326565OhdANo','set'];_0x514d=function(){return _0x54e4af;};return _0x514d();}function _0x2254(_0x2e9574,_0x563284){_0x2e9574=_0x2e9574-0x110;const _0x514d43=_0x514d();let _0x225428=_0x514d43[_0x2e9574];return _0x225428;}class AssetManager{constructor(_0x3eac7d,_0x499ed8){const _0x2d56cb=_0x2254;this['geometryAssets']=new Map(),this[_0x2d56cb(0x132)]=new Map(),this[_0x2d56cb(0x126)]=new Map(),this['loadingManager']=new webgpu.LoadingManager(),this[_0x2d56cb(0x13d)]=new Addons_js.GLTFLoader(this[_0x2d56cb(0x152)]),this['app']=_0x3eac7d,this[_0x2d56cb(0x12f)]=_0x499ed8;}get[_0x3f5a62(0x135)](){const _0x2c7202=_0x3f5a62;return this[_0x2c7202(0x152)];}get[_0x3f5a62(0x158)](){const _0x11ed3c=_0x3f5a62;return AssetManager[_0x11ed3c(0x122)];}async[_0x3f5a62(0x12d)](){return;}['setupDracoLoader'](){const _0x23281b=_0x3f5a62;if(!AssetManager[_0x23281b(0x131)]){AssetManager['_dracoLoader']=new Addons_js.DRACOLoader();if(AssetManager['_dracoLoader']['manager']){const _0x275934=AssetManager[_0x23281b(0x131)][_0x23281b(0x11a)];_0x275934[_0x23281b(0x151)]=undefined,_0x275934[_0x23281b(0x11b)]=undefined,_0x275934[_0x23281b(0x12c)]=undefined,_0x275934[_0x23281b(0x140)]=undefined;}AssetManager[_0x23281b(0x131)][_0x23281b(0x12b)](this['dracoPath']),AssetManager[_0x23281b(0x131)][_0x23281b(0x157)]();}}[_0x3f5a62(0x139)](_0x51bb58,_0x4d753a){const _0x27b0de=_0x3f5a62,_0x4b56d2=_0x4d753a[_0x27b0de(0x127)][_0x27b0de(0x129)](),_0x3bfcdd=_0x4d753a[_0x27b0de(0x13c)][_0x27b0de(0x129)](),_0x534ff0=_0x4d753a[_0x27b0de(0x15b)][_0x27b0de(0x129)]();let _0x4bffa0=null;const _0x13bca9=_0x4d753a[_0x27b0de(0x13e)];_0x4d753a[_0x27b0de(0x13e)]=[];if(_0x4d753a[_0x27b0de(0x113)]===_0x27b0de(0x159)||_0x4d753a[_0x27b0de(0x113)]==='Object3D')_0x4bffa0=new SceneComponent(this[_0x27b0de(0x123)],_0x4d753a[_0x27b0de(0x115)]);else {if(_0x4d753a['isInstancedMesh']){const _0x228ce7=_0x4d753a;_0x4bffa0=new InstanceMeshComponent(this['app'],_0x228ce7,_0x228ce7['uuid']),_0x4bffa0[_0x27b0de(0x148)]=_0x228ce7[_0x27b0de(0x148)],_0x4d753a[_0x27b0de(0x124)]['set'](0x0);}else {if(_0x4d753a[_0x27b0de(0x145)]){const _0x4b1cc0=_0x4d753a;_0x4bffa0=new MeshComponent(this[_0x27b0de(0x123)],_0x4b1cc0[_0x27b0de(0x133)],_0x4b1cc0[_0x27b0de(0x154)],_0x4b1cc0[_0x27b0de(0x115)]),_0x4bffa0[_0x27b0de(0x148)]=_0x4b1cc0[_0x27b0de(0x148)],_0x4d753a['layers']['set'](0x0);}else _0x4bffa0=new SceneComponent(this['app'],_0x4d753a[_0x27b0de(0x115)]);}}if(_0x4bffa0===null)return _0x4d753a[_0x27b0de(0x13e)]=_0x13bca9,null;_0x51bb58['addChildComponent'](_0x4bffa0),_0x4bffa0[_0x27b0de(0x146)](_0x4b56d2),_0x4bffa0[_0x27b0de(0x143)](_0x3bfcdd),_0x4bffa0[_0x27b0de(0x11d)](_0x534ff0);for(const _0x396027 of _0x13bca9){this[_0x27b0de(0x139)](_0x4bffa0,_0x396027);}return _0x4bffa0;}[_0x3f5a62(0x13b)](_0x3a6c24){const _0x3d7075=_0x3f5a62,_0x2fadc2=(_0x146ec2,_0x520867)=>{const _0x21d1a1=_0x2254;var _0xf6a0f;const _0x1b50f5=(_0xf6a0f=_0x146ec2[_0x21d1a1(0x119)](_0x520867))!==null&&_0xf6a0f!==void 0?_0xf6a0f:0x0;_0x146ec2[_0x21d1a1(0x137)](_0x520867,_0x1b50f5+0x1);},_0x20aa86={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x3a6c24['traverse'](_0x5d7f91=>{const _0x4acd0f=_0x2254,_0x12c74e=_0x5d7f91;_0x12c74e[_0x4acd0f(0x133)]instanceof webgpu.BufferGeometry&&_0x2fadc2(_0x20aa86['geometries'],_0x12c74e[_0x4acd0f(0x133)]);if(_0x12c74e['material']){const _0x3279ac=Array[_0x4acd0f(0x13f)](_0x12c74e['material'])?_0x12c74e[_0x4acd0f(0x154)]:[_0x12c74e[_0x4acd0f(0x154)]];_0x3279ac['forEach'](_0x43838d=>{const _0x285472=_0x4acd0f;_0x43838d&&(_0x2fadc2(_0x20aa86['materials'],_0x43838d),Object[_0x285472(0x147)](_0x43838d)['forEach'](_0x5db125=>{const _0x2eeab4=_0x285472;_0x5db125 instanceof webgpu.Texture&&_0x2fadc2(_0x20aa86[_0x2eeab4(0x11c)],_0x5db125);}));});}}),_0x20aa86['geometries'][_0x3d7075(0x15a)]((_0x55b3c4,_0x53fe86)=>this[_0x3d7075(0x155)](_0x53fe86,_0x55b3c4)),_0x20aa86['materials'][_0x3d7075(0x15a)]((_0x135db7,_0x34df31)=>this[_0x3d7075(0x155)](_0x34df31,_0x135db7)),_0x20aa86[_0x3d7075(0x11c)][_0x3d7075(0x15a)]((_0x4f8e59,_0x551eb8)=>this[_0x3d7075(0x155)](_0x551eb8,_0x4f8e59));}[_0x3f5a62(0x134)](_0x328433){const _0x58b51b=_0x3f5a62;_0x328433['geometry']&&!_0x328433[_0x58b51b(0x133)][_0x58b51b(0x142)][_0x58b51b(0x14e)]&&this[_0x58b51b(0x155)](_0x328433[_0x58b51b(0x133)]);if(_0x328433['material']){const _0x23b880=Array['isArray'](_0x328433[_0x58b51b(0x154)])?_0x328433['material']:[_0x328433[_0x58b51b(0x154)]];_0x23b880[_0x58b51b(0x15a)](_0x27e9f5=>{const _0x26e64a=_0x58b51b;if(!_0x27e9f5)return;!_0x27e9f5[_0x26e64a(0x142)][_0x26e64a(0x14e)]&&this[_0x26e64a(0x155)](_0x27e9f5),Object[_0x26e64a(0x147)](_0x27e9f5)[_0x26e64a(0x15a)](_0x4f0b81=>{const _0x21c6b4=_0x26e64a;_0x4f0b81 instanceof webgpu.Texture&&!_0x4f0b81['userData'][_0x21c6b4(0x14e)]&&this[_0x21c6b4(0x155)](_0x4f0b81);});});}}async[_0x3f5a62(0x121)](_0x4aa1c3){const _0x335950=_0x3f5a62;this[_0x335950(0x116)]();const _0x4e6e4b=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x335950(0x131)]&&_0x4e6e4b['setDRACOLoader'](AssetManager[_0x335950(0x131)]);AssetManager[_0x335950(0x122)]&&_0x4e6e4b['setKTX2Loader'](AssetManager[_0x335950(0x122)]);try{const _0x3495f5=await _0x4e6e4b['loadAsync'](_0x4aa1c3);return _0x3495f5;}catch(_0x416c73){console[_0x335950(0x13a)](_0x335950(0x14d),_0x4aa1c3,_0x416c73);throw _0x416c73;}}[_0x3f5a62(0x128)](_0x52cd88,_0x8d55ad){const _0xe844a3=_0x3f5a62;this[_0xe844a3(0x116)]();const _0x4b1680=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0xe844a3(0x131)]&&_0x4b1680[_0xe844a3(0x120)](AssetManager[_0xe844a3(0x131)]),_0x4b1680[_0xe844a3(0x150)](_0x52cd88,_0x8d55ad);}[_0x3f5a62(0x114)](_0x2501a2,_0x270229,_0x59a6b8){const _0x17e50c=_0x3f5a62;this[_0x17e50c(0x116)]();const _0xa007ae=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x17e50c(0x131)]&&_0xa007ae[_0x17e50c(0x120)](AssetManager[_0x17e50c(0x131)]),_0xa007ae[_0x17e50c(0x110)](_0x2501a2,_0x270229,_0x59a6b8);}[_0x3f5a62(0x14f)](_0x3acd5b='',_0x2b705b){const _0x3a6a3c=new webgpu.FileLoader();_0x3a6a3c['load'](_0x3acd5b,_0x2b705b);}[_0x3f5a62(0x155)](_0x2ae8ff,_0x4ce176=0x0){const _0x52404a=_0x3f5a62;if(_0x2ae8ff instanceof webgpu.BufferGeometry)return this[_0x52404a(0x12e)](_0x2ae8ff,_0x4ce176);if(_0x2ae8ff instanceof webgpu.Material)return this['addMaterialAsset'](_0x2ae8ff,_0x4ce176);if(_0x2ae8ff instanceof webgpu.Texture)return this[_0x52404a(0x144)](_0x2ae8ff,_0x4ce176);return undefined;}[_0x3f5a62(0x130)](_0x55c570,_0x3aa7a1=0x0){const _0x54d3d8=_0x3f5a62;let _0x5cf65e=_0x55c570[_0x54d3d8(0x142)][_0x54d3d8(0x14e)];if(!_0x5cf65e){const _0x10aa54=new Map();Object[_0x54d3d8(0x14b)](_0x55c570)[_0x54d3d8(0x15a)](([_0x4a6489,_0x1fc27e])=>{const _0xda9c79=_0x54d3d8;if(_0x1fc27e instanceof webgpu.Texture){const _0x1b54b7=this[_0xda9c79(0x144)](_0x1fc27e,0x1);_0x10aa54[_0xda9c79(0x137)](_0x4a6489,_0x1b54b7);}}),_0x5cf65e=new MaterialAssetPointer(_0x55c570,_0x10aa54,_0x3aa7a1),this[_0x54d3d8(0x126)]['set'](_0x55c570['uuid'],_0x5cf65e);}else _0x5cf65e[_0x54d3d8(0x117)](_0x3aa7a1);return _0x5cf65e;}[_0x3f5a62(0x144)](_0x28f414,_0x124b3a=0x0){const _0x36e0f6=_0x3f5a62;let _0x24c906=_0x28f414[_0x36e0f6(0x142)][_0x36e0f6(0x14e)];return !_0x24c906?(_0x24c906=new TextureAssetPointer(_0x28f414,_0x124b3a),this['textureAssets'][_0x36e0f6(0x137)](_0x28f414[_0x36e0f6(0x115)],_0x24c906)):_0x24c906[_0x36e0f6(0x117)](_0x124b3a),_0x24c906;}[_0x3f5a62(0x12e)](_0x53fe0e,_0x35e7b4=0x0){const _0x41111e=_0x3f5a62;let _0x5c38cb=_0x53fe0e[_0x41111e(0x142)]['assetPointer'];return !_0x5c38cb?(_0x5c38cb=new GeometryAssetPointer(_0x53fe0e,_0x35e7b4),this['geometryAssets'][_0x41111e(0x137)](_0x53fe0e[_0x41111e(0x115)],_0x5c38cb)):_0x5c38cb[_0x41111e(0x117)](_0x35e7b4),_0x5c38cb;}[_0x3f5a62(0x118)](_0x156dc0){const _0x3d5841=_0x3f5a62,_0xd9fb02=_0x156dc0[_0x3d5841(0x142)][_0x3d5841(0x14e)];_0xd9fb02?_0xd9fb02[_0x3d5841(0x11f)]():_0x156dc0[_0x3d5841(0x153)]();}[_0x3f5a62(0x153)](){const _0x534bbb=_0x3f5a62;this[_0x534bbb(0x156)](),AssetManager[_0x534bbb(0x131)]&&(AssetManager[_0x534bbb(0x131)]['dispose'](),AssetManager[_0x534bbb(0x131)]=null),AssetManager['_ktx2Loader']&&(AssetManager[_0x534bbb(0x122)][_0x534bbb(0x153)](),AssetManager['_ktx2Loader']=null);}['clearAssets'](){const _0x225b61=_0x3f5a62;this['geometryAssets']['forEach'](_0x47e475=>_0x47e475[_0x225b61(0x11e)]()),this[_0x225b61(0x14c)][_0x225b61(0x112)](),this[_0x225b61(0x126)][_0x225b61(0x15a)](_0x35bc7f=>_0x35bc7f[_0x225b61(0x11e)]()),this[_0x225b61(0x126)][_0x225b61(0x112)](),this[_0x225b61(0x132)][_0x225b61(0x15a)](_0x28a8d8=>_0x28a8d8[_0x225b61(0x11e)]()),this[_0x225b61(0x132)]['clear']();}}AssetManager['_dracoLoader']=null,AssetManager[_0x3f5a62(0x122)]=null;
|
|
57
57
|
|
|
58
|
-
(function(
|
|
58
|
+
(function(_0x1883fe,_0x51b7f2){var _0xae4ea6=_0x3869,_0x1ced40=_0x1883fe();while(!![]){try{var _0x36b206=parseInt(_0xae4ea6(0xb0))/0x1*(-parseInt(_0xae4ea6(0xb8))/0x2)+parseInt(_0xae4ea6(0xb6))/0x3*(-parseInt(_0xae4ea6(0xae))/0x4)+-parseInt(_0xae4ea6(0xbb))/0x5*(parseInt(_0xae4ea6(0xb1))/0x6)+-parseInt(_0xae4ea6(0xba))/0x7+-parseInt(_0xae4ea6(0x98))/0x8+parseInt(_0xae4ea6(0x9a))/0x9+parseInt(_0xae4ea6(0xa5))/0xa;if(_0x36b206===_0x51b7f2)break;else _0x1ced40['push'](_0x1ced40['shift']());}catch(_0x2fc117){_0x1ced40['push'](_0x1ced40['shift']());}}}(_0x28d1,0x51ee7));exports.AssetCategory = void 0;function _0x3869(_0x400629,_0x31dc5d){_0x400629=_0x400629-0x98;var _0x28d1ef=_0x28d1();var _0x3869b2=_0x28d1ef[_0x400629];return _0x3869b2;}(function(_0x391b39){var _0x3f52a9=_0x3869;_0x391b39[_0x3f52a9(0xa3)]='geometry',_0x391b39[_0x3f52a9(0x9f)]='material',_0x391b39['Texture']='texture',_0x391b39['Actor']=_0x3f52a9(0xa7),_0x391b39['ActorManager']=_0x3f52a9(0xad),_0x391b39[_0x3f52a9(0xaf)]='level',_0x391b39['HTML']=_0x3f52a9(0xb5),_0x391b39[_0x3f52a9(0xa2)]=_0x3f52a9(0xb4),_0x391b39[_0x3f52a9(0xab)]='undefined';}(exports.AssetCategory||(exports.AssetCategory={})));exports.AssetLoadState = void 0;(function(_0x47a8da){var _0x12b3bd=_0x3869;_0x47a8da[_0x12b3bd(0x9b)]=_0x12b3bd(0xb9),_0x47a8da[_0x12b3bd(0xa1)]=_0x12b3bd(0xa0),_0x47a8da[_0x12b3bd(0xb3)]=_0x12b3bd(0x9c),_0x47a8da[_0x12b3bd(0xac)]=_0x12b3bd(0xb7);}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;(function(_0x5b1916){var _0x31c6b9=_0x3869;_0x5b1916[_0x31c6b9(0xa8)]=_0x31c6b9(0xa7),_0x5b1916['Component']=_0x31c6b9(0xa6),_0x5b1916[_0x31c6b9(0x9f)]=_0x31c6b9(0x9d),_0x5b1916[_0x31c6b9(0xaf)]=_0x31c6b9(0x99),_0x5b1916[_0x31c6b9(0x9e)]='assetPointer',_0x5b1916[_0x31c6b9(0xa9)]='external';}(exports.ReferenceType||(exports.ReferenceType={})));exports.AssetType = void 0;function _0x28d1(){var _0x1e3e04=['Code','Geometry','texture','14412730jIlaNO','component','actor','Actor','External','undefined','Undefined','Error','actorManager','1259516edQSed','Level','54598FDPzZy','6rriGVL','geometry','Loaded','code','html','3uRkgDo','error','16OrLwom','unloaded','2504775bKcHfw','731015WtYkLw','1048272eCBdNW','level','2529387BKqKMJ','Unloaded','loaded','material','AssetPointer','Material','loading','Loading'];_0x28d1=function(){return _0x1e3e04;};return _0x28d1();}(function(_0x2d44c7){var _0x48336b=_0x3869;_0x2d44c7[_0x2d44c7[_0x48336b(0xb2)]=0x1]=_0x48336b(0xb2),_0x2d44c7[_0x2d44c7[_0x48336b(0x9d)]=0x2]='material',_0x2d44c7[_0x2d44c7[_0x48336b(0xa4)]=0x3]=_0x48336b(0xa4),_0x2d44c7[_0x2d44c7[_0x48336b(0xaa)]=-1]=_0x48336b(0xaa);}(exports.AssetType||(exports.AssetType={})));
|
|
59
59
|
|
|
60
|
-
(function(
|
|
60
|
+
(function(_0x1334d8,_0x1aee74){var _0x3042b3=_0x1aa8,_0x423aaf=_0x1334d8();while(!![]){try{var _0x13c85f=-parseInt(_0x3042b3(0x80))/0x1+parseInt(_0x3042b3(0x84))/0x2+parseInt(_0x3042b3(0x7d))/0x3+-parseInt(_0x3042b3(0x78))/0x4+parseInt(_0x3042b3(0x81))/0x5+parseInt(_0x3042b3(0x76))/0x6*(-parseInt(_0x3042b3(0x73))/0x7)+parseInt(_0x3042b3(0x83))/0x8;if(_0x13c85f===_0x1aee74)break;else _0x423aaf['push'](_0x423aaf['shift']());}catch(_0x804d2f){_0x423aaf['push'](_0x423aaf['shift']());}}}(_0x1d85,0x22454));exports.CollisionResponse = void 0;(function(_0x48a259){var _0x559039=_0x1aa8;_0x48a259[_0x559039(0x77)]=_0x559039(0x77),_0x48a259['Overlap']=_0x559039(0x82),_0x48a259[_0x559039(0x7b)]=_0x559039(0x7b);}(exports.CollisionResponse||(exports.CollisionResponse={})));exports.CollisionChannel = void 0;(function(_0x590dbd){var _0x24685e=_0x1aa8;_0x590dbd[_0x24685e(0x74)]='WorldStatic',_0x590dbd[_0x24685e(0x7f)]='WorldDynamic',_0x590dbd[_0x24685e(0x7c)]=_0x24685e(0x7c),_0x590dbd[_0x24685e(0x72)]=_0x24685e(0x72),_0x590dbd[_0x24685e(0x7e)]=_0x24685e(0x7e),_0x590dbd['Trigger']=_0x24685e(0x79);}(exports.CollisionChannel||(exports.CollisionChannel={})));exports.CollisionShapeType = void 0;(function(_0x4f576c){var _0x3befd5=_0x1aa8;_0x4f576c[_0x3befd5(0x7a)]=_0x3befd5(0x7a),_0x4f576c[_0x3befd5(0x75)]=_0x3befd5(0x75);}(exports.CollisionShapeType||(exports.CollisionShapeType={})));function _0x1aa8(_0xcac911,_0x27f947){_0xcac911=_0xcac911-0x72;var _0x1d8527=_0x1d85();var _0x1aa8e5=_0x1d8527[_0xcac911];return _0x1aa8e5;}function _0x1d85(){var _0x5d4c91=['Pawn','735045rqMuYJ','Camera','WorldDynamic','173708QjLDoX','39720HwTLcr','Overlap','3657832rtJIPk','167514hMGbxa','Visibility','7ahHopj','WorldStatic','Box','1345380dsqUof','Ignore','1022540SDEzPh','Trigger','Sphere','Block'];_0x1d85=function(){return _0x5d4c91;};return _0x1d85();}
|
|
61
61
|
|
|
62
|
-
const _0x3f7616=_0x503f;function _0x234b(){const _0x50044f=['get','980251cVwgnS','getWorldAABB','sign','distance','has','onHitDelegate','push','onEndOverlapDelegate','normal','tick','63txWIqz','raycastAll','Block','onBeginOverlapDelegate','getPairKey','debugDrawEnabled','lineTraceMulti','from','delete','computeAabbHit','add','Visibility','sub','uuid','previousOverlapPairs','Ignore','length','filter','function','set','point','generateHitEvents','sort','Overlap','626845ktmEgJ','clone','lineTraceSingle','20420wVVtOO','3632ZplXnH','generateOverlapEvents','intersectRayAabb','getCenter','multiplyScalar','1050222usRLTA','collisionEnabled','max','registerCollider','_debugDrawEnabled','2356936FwOEPU','penetrationDepth','16155BgqGuh','clear','previousBlockPairs','632534pZELAQ','getMutualResponse','unregisterCollider','colliders','min','6423sNSqih','raycast','intersectsBox','broadcast','getCollisionResponse'];_0x234b=function(){return _0x50044f;};return _0x234b();}(function(_0x1e27e5,_0x2567a5){const _0xe94284=_0x503f,_0x3e1602=_0x1e27e5();while(!![]){try{const _0xf2cb16=parseInt(_0xe94284(0x165))/0x1+parseInt(_0xe94284(0x15a))/0x2+-parseInt(_0xe94284(0x15f))/0x3*(-parseInt(_0xe94284(0x14b))/0x4)+parseInt(_0xe94284(0x147))/0x5+-parseInt(_0xe94284(0x150))/0x6*(-parseInt(_0xe94284(0x16f))/0x7)+-parseInt(_0xe94284(0x155))/0x8+-parseInt(_0xe94284(0x157))/0x9*(parseInt(_0xe94284(0x14a))/0xa);if(_0xf2cb16===_0x2567a5)break;else _0x3e1602['push'](_0x3e1602['shift']());}catch(_0x2434cc){_0x3e1602['push'](_0x3e1602['shift']());}}}(_0x234b,0xef8f9));function _0x503f(_0x4a6169,_0x349765){_0x4a6169=_0x4a6169-0x13b;const _0x234b47=_0x234b();let _0x503fb1=_0x234b47[_0x4a6169];return _0x503fb1;}class PhysicsWorld{constructor(){const _0x2f0cf1=_0x503f;this['colliders']=new Set(),this['previousOverlapPairs']=new Map(),this[_0x2f0cf1(0x159)]=new Map(),this[_0x2f0cf1(0x154)]=![];}get[_0x3f7616(0x174)](){const _0x3260a2=_0x3f7616;return this[_0x3260a2(0x154)];}set[_0x3f7616(0x174)](_0x4f83c1){const _0x1da881=_0x3f7616;if(this[_0x1da881(0x154)]===_0x4f83c1)return;this[_0x1da881(0x154)]=_0x4f83c1;for(const _0x31cde6 of this[_0x1da881(0x15d)]){_0x31cde6['debugEnabled']=_0x4f83c1;}}[_0x3f7616(0x153)](_0x36502d){const _0x250ae2=_0x3f7616;this[_0x250ae2(0x15d)]['add'](_0x36502d),this[_0x250ae2(0x154)]&&(_0x36502d['debugEnabled']=!![]);}[_0x3f7616(0x15c)](_0x2463bd){const _0x578ec1=_0x3f7616;this['colliders']['delete'](_0x2463bd);for(const [_0x1adcdd,_0x3dd653]of this['previousOverlapPairs']){(_0x3dd653[0x0]===_0x2463bd||_0x3dd653[0x1]===_0x2463bd)&&this['previousOverlapPairs'][_0x578ec1(0x177)](_0x1adcdd);}for(const [_0x270b57,_0x350ad2]of this[_0x578ec1(0x159)]){(_0x350ad2[0x0]===_0x2463bd||_0x350ad2[0x1]===_0x2463bd)&&this[_0x578ec1(0x159)][_0x578ec1(0x177)](_0x270b57);}}[_0x3f7616(0x158)](){const _0x59e4c2=_0x3f7616;this['colliders'][_0x59e4c2(0x158)](),this[_0x59e4c2(0x13d)][_0x59e4c2(0x158)](),this['previousBlockPairs'][_0x59e4c2(0x158)]();}[_0x3f7616(0x149)](_0x5d4f6c,_0x355b71,_0x3ecd62=exports.CollisionChannel[_0x3f7616(0x17a)],_0x4965ec){const _0x21b3e6=_0x3f7616,_0x2cba81=_0x355b71['clone']()[_0x21b3e6(0x13b)](_0x5d4f6c),_0x4b02f9=_0x2cba81[_0x21b3e6(0x13f)]();if(_0x4b02f9<=0.000001)return null;const _0x1cb54c=_0x2cba81[_0x21b3e6(0x14f)](0x1/_0x4b02f9);let _0x42c79a=null;for(const _0x172419 of this[_0x21b3e6(0x15d)]){if(_0x172419===_0x4965ec)continue;if(!_0x172419[_0x21b3e6(0x151)])continue;const _0x5ab87e=_0x172419[_0x21b3e6(0x163)](_0x3ecd62);if(_0x5ab87e!==exports.CollisionResponse[_0x21b3e6(0x171)])continue;const _0x4f222d=_0x172419[_0x21b3e6(0x166)](new webgpu.Box3()),_0x1ab76a=this[_0x21b3e6(0x14d)](_0x5d4f6c,_0x1cb54c,_0x4b02f9,_0x4f222d);if(!_0x1ab76a)continue;const _0x49f3ea=_0x172419,_0x96a3bc=typeof _0x49f3ea[_0x21b3e6(0x160)]===_0x21b3e6(0x141)?_0x49f3ea['raycast'](_0x5d4f6c,_0x1cb54c,_0x4b02f9):_0x1ab76a;if(!_0x96a3bc)continue;(!_0x42c79a||_0x96a3bc['distance']<_0x42c79a[_0x21b3e6(0x168)])&&(_0x42c79a={'collider':_0x172419,'point':_0x96a3bc[_0x21b3e6(0x143)],'normal':_0x96a3bc['normal'],'distance':_0x96a3bc[_0x21b3e6(0x168)],'blocking':!![]});}return _0x42c79a;}[_0x3f7616(0x175)](_0x519f62,_0x15ee1c,_0x1d98dd=exports.CollisionChannel[_0x3f7616(0x17a)],_0x504f3c){const _0x1cb0d8=_0x3f7616,_0x15f1cd=_0x15ee1c[_0x1cb0d8(0x148)]()[_0x1cb0d8(0x13b)](_0x519f62),_0x30766a=_0x15f1cd['length']();if(_0x30766a<=0.000001)return [];const _0x139519=_0x15f1cd[_0x1cb0d8(0x14f)](0x1/_0x30766a),_0xd762b4=[];for(const _0x2cc9fe of this['colliders']){if(_0x2cc9fe===_0x504f3c)continue;if(!_0x2cc9fe['collisionEnabled'])continue;const _0x56b20b=_0x2cc9fe[_0x1cb0d8(0x163)](_0x1d98dd);if(_0x56b20b===exports.CollisionResponse[_0x1cb0d8(0x13e)])continue;const _0x20e37d=_0x2cc9fe['getWorldAABB'](new webgpu.Box3()),_0x49d17b=this[_0x1cb0d8(0x14d)](_0x519f62,_0x139519,_0x30766a,_0x20e37d);if(!_0x49d17b)continue;const _0x3c5209=_0x2cc9fe;if(typeof _0x3c5209[_0x1cb0d8(0x170)]===_0x1cb0d8(0x141)){const _0x507e22=_0x3c5209[_0x1cb0d8(0x170)](_0x519f62,_0x139519,_0x30766a);for(const _0x1a4be9 of _0x507e22){_0xd762b4[_0x1cb0d8(0x16b)]({'collider':_0x2cc9fe,'point':_0x1a4be9[_0x1cb0d8(0x143)],'normal':_0x1a4be9['normal'],'distance':_0x1a4be9[_0x1cb0d8(0x168)],'blocking':_0x56b20b===exports.CollisionResponse[_0x1cb0d8(0x171)]});}}else {const _0x2134e0=typeof _0x3c5209[_0x1cb0d8(0x160)]==='function'?_0x3c5209[_0x1cb0d8(0x160)](_0x519f62,_0x139519,_0x30766a):_0x49d17b;if(!_0x2134e0)continue;_0xd762b4[_0x1cb0d8(0x16b)]({'collider':_0x2cc9fe,'point':_0x2134e0['point'],'normal':_0x2134e0[_0x1cb0d8(0x16d)],'distance':_0x2134e0['distance'],'blocking':_0x56b20b===exports.CollisionResponse[_0x1cb0d8(0x171)]});}}return _0xd762b4[_0x1cb0d8(0x145)]((_0x52a0f6,_0x2cd3f3)=>_0x52a0f6[_0x1cb0d8(0x168)]-_0x2cd3f3['distance']);}[_0x3f7616(0x16e)](_0x6b4eba){const _0x39e5ef=_0x3f7616,_0x3b61c9=Array[_0x39e5ef(0x176)](this['colliders'])[_0x39e5ef(0x140)](_0x2b5210=>_0x2b5210[_0x39e5ef(0x151)]),_0x4bff0f=new Map();for(const _0x281248 of _0x3b61c9){_0x4bff0f[_0x39e5ef(0x142)](_0x281248,_0x281248[_0x39e5ef(0x166)](new webgpu.Box3()));}const _0xc017aa=new Map(),_0x116ab6=new Map();for(let _0x363d1d=0x0;_0x363d1d<_0x3b61c9['length'];_0x363d1d++){const _0x27e8b3=_0x3b61c9[_0x363d1d],_0x7d97a3=_0x4bff0f[_0x39e5ef(0x164)](_0x27e8b3);if(!_0x7d97a3)continue;for(let _0x1bc48d=_0x363d1d+0x1;_0x1bc48d<_0x3b61c9['length'];_0x1bc48d++){const _0x223759=_0x3b61c9[_0x1bc48d],_0x57781b=_0x4bff0f['get'](_0x223759);if(!_0x57781b)continue;if(!_0x7d97a3[_0x39e5ef(0x161)](_0x57781b))continue;const _0x423ce4=_0x27e8b3[_0x39e5ef(0x15b)](_0x223759);if(_0x423ce4===exports.CollisionResponse[_0x39e5ef(0x13e)])continue;const _0x178e0b=this[_0x39e5ef(0x173)](_0x27e8b3,_0x223759);_0x423ce4===exports.CollisionResponse[_0x39e5ef(0x146)]?_0xc017aa[_0x39e5ef(0x142)](_0x178e0b,[_0x27e8b3,_0x223759]):_0x116ab6[_0x39e5ef(0x142)](_0x178e0b,[_0x27e8b3,_0x223759]);}}for(const [_0x19c973,_0x2d5c9b]of _0xc017aa){if(this[_0x39e5ef(0x13d)][_0x39e5ef(0x169)](_0x19c973))continue;const [_0x1acb78,_0x56f1b9]=_0x2d5c9b;_0x1acb78['generateOverlapEvents']&&_0x1acb78[_0x39e5ef(0x172)][_0x39e5ef(0x162)](_0x56f1b9),_0x56f1b9[_0x39e5ef(0x14c)]&&_0x56f1b9[_0x39e5ef(0x172)]['broadcast'](_0x1acb78);}for(const [_0x24235f,_0x4efcb8]of this[_0x39e5ef(0x13d)]){if(_0xc017aa[_0x39e5ef(0x169)](_0x24235f))continue;const [_0xe94b78,_0xd60c81]=_0x4efcb8;_0xe94b78[_0x39e5ef(0x14c)]&&_0xe94b78[_0x39e5ef(0x16c)][_0x39e5ef(0x162)](_0xd60c81),_0xd60c81[_0x39e5ef(0x14c)]&&_0xd60c81['onEndOverlapDelegate'][_0x39e5ef(0x162)](_0xe94b78);}for(const [_0x21893d,_0x30a2d3]of _0x116ab6){if(this[_0x39e5ef(0x159)][_0x39e5ef(0x169)](_0x21893d))continue;const [_0x48d9f8,_0x153fb6]=_0x30a2d3,_0x8dce9b=_0x4bff0f[_0x39e5ef(0x164)](_0x48d9f8),_0x55e2ca=_0x4bff0f['get'](_0x153fb6);if(!_0x8dce9b||!_0x55e2ca)continue;const _0x5078af=this[_0x39e5ef(0x178)](_0x48d9f8,_0x153fb6,_0x8dce9b,_0x55e2ca);_0x48d9f8[_0x39e5ef(0x144)]&&_0x48d9f8['onHitDelegate']['broadcast'](_0x5078af);if(_0x153fb6[_0x39e5ef(0x144)]){const _0x4c1818={'self':_0x153fb6,'other':_0x48d9f8,'point':_0x5078af[_0x39e5ef(0x143)][_0x39e5ef(0x148)](),'normal':_0x5078af[_0x39e5ef(0x16d)]['clone']()[_0x39e5ef(0x14f)](-1),'penetrationDepth':_0x5078af[_0x39e5ef(0x156)]};_0x153fb6[_0x39e5ef(0x16a)][_0x39e5ef(0x162)](_0x4c1818);}}this['previousOverlapPairs']=_0xc017aa,this[_0x39e5ef(0x159)]=_0x116ab6;}[_0x3f7616(0x178)](_0x552169,_0x27ba27,_0x26b993,_0x5bcf28){const _0x4abde4=_0x3f7616,_0x58dafb=Math[_0x4abde4(0x15e)](_0x26b993['max']['x'],_0x5bcf28[_0x4abde4(0x152)]['x'])-Math[_0x4abde4(0x152)](_0x26b993[_0x4abde4(0x15e)]['x'],_0x5bcf28['min']['x']),_0x1efc3b=Math[_0x4abde4(0x15e)](_0x26b993[_0x4abde4(0x152)]['y'],_0x5bcf28['max']['y'])-Math[_0x4abde4(0x152)](_0x26b993[_0x4abde4(0x15e)]['y'],_0x5bcf28[_0x4abde4(0x15e)]['y']),_0x36207d=Math[_0x4abde4(0x15e)](_0x26b993[_0x4abde4(0x152)]['z'],_0x5bcf28[_0x4abde4(0x152)]['z'])-Math['max'](_0x26b993[_0x4abde4(0x15e)]['z'],_0x5bcf28['min']['z']);let _0x4cfede=_0x58dafb,_0x139f93='x';_0x1efc3b<_0x4cfede&&(_0x4cfede=_0x1efc3b,_0x139f93='y');_0x36207d<_0x4cfede&&(_0x4cfede=_0x36207d,_0x139f93='z');const _0x5e071c=_0x26b993[_0x4abde4(0x14e)](new webgpu.Vector3()),_0x480787=_0x5bcf28[_0x4abde4(0x14e)](new webgpu.Vector3()),_0x5a2d28=_0x480787[_0x4abde4(0x148)]()[_0x4abde4(0x13b)](_0x5e071c),_0xb9188b=new webgpu.Vector3(0x0,0x0,0x0);if(_0x139f93==='x')_0xb9188b[_0x4abde4(0x142)](Math[_0x4abde4(0x167)](_0x5a2d28['x'])||0x1,0x0,0x0);else _0x139f93==='y'?_0xb9188b[_0x4abde4(0x142)](0x0,Math[_0x4abde4(0x167)](_0x5a2d28['y'])||0x1,0x0):_0xb9188b[_0x4abde4(0x142)](0x0,0x0,Math['sign'](_0x5a2d28['z'])||0x1);const _0x141f6a=new webgpu.Vector3((Math[_0x4abde4(0x152)](_0x26b993[_0x4abde4(0x15e)]['x'],_0x5bcf28[_0x4abde4(0x15e)]['x'])+Math[_0x4abde4(0x15e)](_0x26b993[_0x4abde4(0x152)]['x'],_0x5bcf28[_0x4abde4(0x152)]['x']))*0.5,(Math[_0x4abde4(0x152)](_0x26b993['min']['y'],_0x5bcf28[_0x4abde4(0x15e)]['y'])+Math[_0x4abde4(0x15e)](_0x26b993[_0x4abde4(0x152)]['y'],_0x5bcf28[_0x4abde4(0x152)]['y']))*0.5,(Math['max'](_0x26b993[_0x4abde4(0x15e)]['z'],_0x5bcf28['min']['z'])+Math[_0x4abde4(0x15e)](_0x26b993[_0x4abde4(0x152)]['z'],_0x5bcf28['max']['z']))*0.5);return {'self':_0x552169,'other':_0x27ba27,'point':_0x141f6a,'normal':_0xb9188b,'penetrationDepth':Math[_0x4abde4(0x152)](0x0,_0x4cfede)};}[_0x3f7616(0x173)](_0x5ead9e,_0x59eb74){const _0x5724bb=_0x3f7616;return _0x5ead9e[_0x5724bb(0x13c)]<_0x59eb74[_0x5724bb(0x13c)]?_0x5ead9e[_0x5724bb(0x13c)]+'|'+_0x59eb74[_0x5724bb(0x13c)]:_0x59eb74['uuid']+'|'+_0x5ead9e[_0x5724bb(0x13c)];}[_0x3f7616(0x14d)](_0x15552d,_0x103757,_0x2fbddb,_0x1a3ea8){const _0x3bcf62=_0x3f7616;let _0x2764f5=0x0,_0x346853=_0x2fbddb;const _0x3e7906=new webgpu.Vector3(0x0,0x0,0x0),_0x3f85fa=1e-8,_0x27e201=_0x5cd5a5=>{const _0x42a314=_0x503f,_0x5b66ca=_0x15552d[_0x5cd5a5],_0x4a6a0a=_0x103757[_0x5cd5a5],_0x2639fe=_0x1a3ea8[_0x42a314(0x15e)][_0x5cd5a5],_0x4e04af=_0x1a3ea8['max'][_0x5cd5a5];if(Math['abs'](_0x4a6a0a)<_0x3f85fa){if(_0x5b66ca<_0x2639fe||_0x5b66ca>_0x4e04af)return ![];return !![];}const _0x39c09e=0x1/_0x4a6a0a;let _0x168331,_0x2bb71c;const _0x2a29b7=new webgpu.Vector3(0x0,0x0,0x0);_0x4a6a0a>=0x0?(_0x168331=(_0x2639fe-_0x5b66ca)*_0x39c09e,_0x2bb71c=(_0x4e04af-_0x5b66ca)*_0x39c09e,_0x2a29b7[_0x5cd5a5]=-1):(_0x168331=(_0x4e04af-_0x5b66ca)*_0x39c09e,_0x2bb71c=(_0x2639fe-_0x5b66ca)*_0x39c09e,_0x2a29b7[_0x5cd5a5]=0x1);_0x168331>_0x2764f5&&(_0x2764f5=_0x168331,_0x3e7906['copy'](_0x2a29b7));_0x2bb71c<_0x346853&&(_0x346853=_0x2bb71c);if(_0x2764f5>_0x346853)return ![];return !![];};if(!_0x27e201('x')||!_0x27e201('y')||!_0x27e201('z'))return null;if(_0x346853<0x0)return null;const _0x4172e4=Math[_0x3bcf62(0x152)](0x0,_0x2764f5);if(_0x4172e4>_0x2fbddb)return null;return {'distance':_0x4172e4,'normal':_0x3e7906,'point':_0x15552d[_0x3bcf62(0x148)]()[_0x3bcf62(0x179)](_0x103757['clone']()[_0x3bcf62(0x14f)](_0x4172e4))};}}
|
|
62
|
+
const _0x3835d6=_0xa808;(function(_0x266e76,_0x18d220){const _0xd25a0c=_0xa808,_0x4cec4d=_0x266e76();while(!![]){try{const _0x4840ac=parseInt(_0xd25a0c(0x170))/0x1+-parseInt(_0xd25a0c(0x156))/0x2+-parseInt(_0xd25a0c(0x159))/0x3*(parseInt(_0xd25a0c(0x13c))/0x4)+-parseInt(_0xd25a0c(0x161))/0x5+-parseInt(_0xd25a0c(0x172))/0x6+-parseInt(_0xd25a0c(0x155))/0x7*(-parseInt(_0xd25a0c(0x13a))/0x8)+parseInt(_0xd25a0c(0x149))/0x9;if(_0x4840ac===_0x18d220)break;else _0x4cec4d['push'](_0x4cec4d['shift']());}catch(_0x11b2e8){_0x4cec4d['push'](_0x4cec4d['shift']());}}}(_0x1c34,0xc2e29));function _0x1c34(){const _0x3eb1a2=['abs','previousOverlapPairs','Ignore','10539972UuUHhJ','debugDrawEnabled','get','getCenter','clear','delete','generateOverlapEvents','distance','collisionEnabled','lineTraceMulti','sub','onEndOverlapDelegate','332045bzYowA','1180834yWGQVo','point','computeAabbHit','883653hFIKfl','raycastAll','filter','tick','Block','length','normal','multiplyScalar','7636710NKvIvD','getWorldAABB','lineTraceSingle','onBeginOverlapDelegate','has','push','from','previousBlockPairs','Overlap','function','onHitDelegate','_debugDrawEnabled','set','colliders','max','1464959NFTTaJ','add','3608652RmatKM','getPairKey','min','intersectRayAabb','248BTPWcO','Visibility','8MVrfVS','intersectsBox','broadcast','uuid','generateHitEvents','registerCollider','debugEnabled','sign','clone','raycast'];_0x1c34=function(){return _0x3eb1a2;};return _0x1c34();}function _0xa808(_0x2ddb92,_0x30cab5){_0x2ddb92=_0x2ddb92-0x137;const _0x1c343b=_0x1c34();let _0xa80829=_0x1c343b[_0x2ddb92];return _0xa80829;}class PhysicsWorld{constructor(){const _0x2b03b2=_0xa808;this[_0x2b03b2(0x16e)]=new Set(),this[_0x2b03b2(0x147)]=new Map(),this['previousBlockPairs']=new Map(),this[_0x2b03b2(0x16c)]=![];}get[_0x3835d6(0x14a)](){const _0x7dfd31=_0x3835d6;return this[_0x7dfd31(0x16c)];}set[_0x3835d6(0x14a)](_0x351036){const _0x135e31=_0x3835d6;if(this['_debugDrawEnabled']===_0x351036)return;this[_0x135e31(0x16c)]=_0x351036;for(const _0x397df5 of this['colliders']){_0x397df5[_0x135e31(0x142)]=_0x351036;}}[_0x3835d6(0x141)](_0x134301){const _0x36af86=_0x3835d6;this[_0x36af86(0x16e)]['add'](_0x134301),this[_0x36af86(0x16c)]&&(_0x134301[_0x36af86(0x142)]=!![]);}['unregisterCollider'](_0x110545){const _0x59009d=_0x3835d6;this[_0x59009d(0x16e)]['delete'](_0x110545);for(const [_0x5188fe,_0x20c226]of this[_0x59009d(0x147)]){(_0x20c226[0x0]===_0x110545||_0x20c226[0x1]===_0x110545)&&this[_0x59009d(0x147)][_0x59009d(0x14e)](_0x5188fe);}for(const [_0x5ab738,_0x4336cd]of this[_0x59009d(0x168)]){(_0x4336cd[0x0]===_0x110545||_0x4336cd[0x1]===_0x110545)&&this[_0x59009d(0x168)][_0x59009d(0x14e)](_0x5ab738);}}['clear'](){const _0x1e8d01=_0x3835d6;this[_0x1e8d01(0x16e)][_0x1e8d01(0x14d)](),this['previousOverlapPairs'][_0x1e8d01(0x14d)](),this[_0x1e8d01(0x168)]['clear']();}[_0x3835d6(0x163)](_0x28b70c,_0x5db7d4,_0xa3f2d2=exports.CollisionChannel[_0x3835d6(0x13b)],_0x3d6128){const _0x1c26d9=_0x3835d6,_0x5d2ba8=_0x5db7d4[_0x1c26d9(0x144)]()[_0x1c26d9(0x153)](_0x28b70c),_0x401b5e=_0x5d2ba8[_0x1c26d9(0x15e)]();if(_0x401b5e<=0.000001)return null;const _0x56f334=_0x5d2ba8['multiplyScalar'](0x1/_0x401b5e);let _0xb05578=null;for(const _0x428064 of this[_0x1c26d9(0x16e)]){if(_0x428064===_0x3d6128)continue;if(!_0x428064[_0x1c26d9(0x151)])continue;const _0xb9e057=_0x428064['getCollisionResponse'](_0xa3f2d2);if(_0xb9e057!==exports.CollisionResponse[_0x1c26d9(0x15d)])continue;const _0x59d78b=_0x428064[_0x1c26d9(0x162)](new webgpu.Box3()),_0x56ea97=this[_0x1c26d9(0x139)](_0x28b70c,_0x56f334,_0x401b5e,_0x59d78b);if(!_0x56ea97)continue;const _0x6421bf=_0x428064,_0x58dd8d=typeof _0x6421bf[_0x1c26d9(0x145)]===_0x1c26d9(0x16a)?_0x6421bf[_0x1c26d9(0x145)](_0x28b70c,_0x56f334,_0x401b5e):_0x56ea97;if(!_0x58dd8d)continue;(!_0xb05578||_0x58dd8d[_0x1c26d9(0x150)]<_0xb05578[_0x1c26d9(0x150)])&&(_0xb05578={'collider':_0x428064,'point':_0x58dd8d[_0x1c26d9(0x157)],'normal':_0x58dd8d[_0x1c26d9(0x15f)],'distance':_0x58dd8d[_0x1c26d9(0x150)],'blocking':!![]});}return _0xb05578;}[_0x3835d6(0x152)](_0x102974,_0x4eee61,_0x1c6bb7=exports.CollisionChannel[_0x3835d6(0x13b)],_0x593b5e){const _0x1b8afc=_0x3835d6,_0x474bb7=_0x4eee61[_0x1b8afc(0x144)]()['sub'](_0x102974),_0x51749b=_0x474bb7[_0x1b8afc(0x15e)]();if(_0x51749b<=0.000001)return [];const _0xc9e4ce=_0x474bb7['multiplyScalar'](0x1/_0x51749b),_0x5b3fc2=[];for(const _0x5c7a3f of this[_0x1b8afc(0x16e)]){if(_0x5c7a3f===_0x593b5e)continue;if(!_0x5c7a3f[_0x1b8afc(0x151)])continue;const _0x5869f1=_0x5c7a3f['getCollisionResponse'](_0x1c6bb7);if(_0x5869f1===exports.CollisionResponse[_0x1b8afc(0x148)])continue;const _0x33192b=_0x5c7a3f[_0x1b8afc(0x162)](new webgpu.Box3()),_0x42788b=this['intersectRayAabb'](_0x102974,_0xc9e4ce,_0x51749b,_0x33192b);if(!_0x42788b)continue;const _0x353cde=_0x5c7a3f;if(typeof _0x353cde[_0x1b8afc(0x15a)]===_0x1b8afc(0x16a)){const _0x15e063=_0x353cde[_0x1b8afc(0x15a)](_0x102974,_0xc9e4ce,_0x51749b);for(const _0x15e713 of _0x15e063){_0x5b3fc2[_0x1b8afc(0x166)]({'collider':_0x5c7a3f,'point':_0x15e713['point'],'normal':_0x15e713[_0x1b8afc(0x15f)],'distance':_0x15e713[_0x1b8afc(0x150)],'blocking':_0x5869f1===exports.CollisionResponse[_0x1b8afc(0x15d)]});}}else {const _0x4283c9=typeof _0x353cde[_0x1b8afc(0x145)]===_0x1b8afc(0x16a)?_0x353cde['raycast'](_0x102974,_0xc9e4ce,_0x51749b):_0x42788b;if(!_0x4283c9)continue;_0x5b3fc2[_0x1b8afc(0x166)]({'collider':_0x5c7a3f,'point':_0x4283c9[_0x1b8afc(0x157)],'normal':_0x4283c9[_0x1b8afc(0x15f)],'distance':_0x4283c9[_0x1b8afc(0x150)],'blocking':_0x5869f1===exports.CollisionResponse[_0x1b8afc(0x15d)]});}}return _0x5b3fc2['sort']((_0x3b1a0c,_0x52d6ee)=>_0x3b1a0c[_0x1b8afc(0x150)]-_0x52d6ee[_0x1b8afc(0x150)]);}[_0x3835d6(0x15c)](_0x353841){const _0x11b7be=_0x3835d6,_0x1edde5=Array[_0x11b7be(0x167)](this[_0x11b7be(0x16e)])[_0x11b7be(0x15b)](_0x3c0e67=>_0x3c0e67[_0x11b7be(0x151)]),_0x1ed7b5=new Map();for(const _0x1e1338 of _0x1edde5){_0x1ed7b5['set'](_0x1e1338,_0x1e1338[_0x11b7be(0x162)](new webgpu.Box3()));}const _0x3bf7a4=new Map(),_0x6fd40a=new Map();for(let _0x2b54b8=0x0;_0x2b54b8<_0x1edde5['length'];_0x2b54b8++){const _0x597585=_0x1edde5[_0x2b54b8],_0x40b6eb=_0x1ed7b5[_0x11b7be(0x14b)](_0x597585);if(!_0x40b6eb)continue;for(let _0x132db9=_0x2b54b8+0x1;_0x132db9<_0x1edde5[_0x11b7be(0x15e)];_0x132db9++){const _0x56bfac=_0x1edde5[_0x132db9],_0x596779=_0x1ed7b5[_0x11b7be(0x14b)](_0x56bfac);if(!_0x596779)continue;if(!_0x40b6eb[_0x11b7be(0x13d)](_0x596779))continue;const _0x112d0e=_0x597585['getMutualResponse'](_0x56bfac);if(_0x112d0e===exports.CollisionResponse['Ignore'])continue;const _0x3bf105=this[_0x11b7be(0x137)](_0x597585,_0x56bfac);_0x112d0e===exports.CollisionResponse[_0x11b7be(0x169)]?_0x3bf7a4[_0x11b7be(0x16d)](_0x3bf105,[_0x597585,_0x56bfac]):_0x6fd40a[_0x11b7be(0x16d)](_0x3bf105,[_0x597585,_0x56bfac]);}}for(const [_0x487c4d,_0x4411ef]of _0x3bf7a4){if(this['previousOverlapPairs'][_0x11b7be(0x165)](_0x487c4d))continue;const [_0x2125b7,_0x4466a2]=_0x4411ef;_0x2125b7[_0x11b7be(0x14f)]&&_0x2125b7['onBeginOverlapDelegate']['broadcast'](_0x4466a2),_0x4466a2['generateOverlapEvents']&&_0x4466a2[_0x11b7be(0x164)][_0x11b7be(0x13e)](_0x2125b7);}for(const [_0xbf82b5,_0x5daa96]of this[_0x11b7be(0x147)]){if(_0x3bf7a4[_0x11b7be(0x165)](_0xbf82b5))continue;const [_0x5d7d5d,_0x1fa116]=_0x5daa96;_0x5d7d5d[_0x11b7be(0x14f)]&&_0x5d7d5d[_0x11b7be(0x154)][_0x11b7be(0x13e)](_0x1fa116),_0x1fa116[_0x11b7be(0x14f)]&&_0x1fa116['onEndOverlapDelegate'][_0x11b7be(0x13e)](_0x5d7d5d);}for(const [_0x28dee4,_0x3de8c1]of _0x6fd40a){if(this[_0x11b7be(0x168)][_0x11b7be(0x165)](_0x28dee4))continue;const [_0xccd157,_0x178c94]=_0x3de8c1,_0x2fc949=_0x1ed7b5[_0x11b7be(0x14b)](_0xccd157),_0x453b87=_0x1ed7b5[_0x11b7be(0x14b)](_0x178c94);if(!_0x2fc949||!_0x453b87)continue;const _0x2b8f3a=this[_0x11b7be(0x158)](_0xccd157,_0x178c94,_0x2fc949,_0x453b87);_0xccd157[_0x11b7be(0x140)]&&_0xccd157[_0x11b7be(0x16b)][_0x11b7be(0x13e)](_0x2b8f3a);if(_0x178c94[_0x11b7be(0x140)]){const _0x230793={'self':_0x178c94,'other':_0xccd157,'point':_0x2b8f3a[_0x11b7be(0x157)][_0x11b7be(0x144)](),'normal':_0x2b8f3a[_0x11b7be(0x15f)][_0x11b7be(0x144)]()['multiplyScalar'](-1),'penetrationDepth':_0x2b8f3a['penetrationDepth']};_0x178c94[_0x11b7be(0x16b)][_0x11b7be(0x13e)](_0x230793);}}this[_0x11b7be(0x147)]=_0x3bf7a4,this[_0x11b7be(0x168)]=_0x6fd40a;}[_0x3835d6(0x158)](_0x5e3bfd,_0x2a61f0,_0x86183a,_0x1f607a){const _0x17a3d5=_0x3835d6,_0x3a4bd9=Math[_0x17a3d5(0x138)](_0x86183a[_0x17a3d5(0x16f)]['x'],_0x1f607a['max']['x'])-Math[_0x17a3d5(0x16f)](_0x86183a[_0x17a3d5(0x138)]['x'],_0x1f607a['min']['x']),_0x249b2f=Math[_0x17a3d5(0x138)](_0x86183a['max']['y'],_0x1f607a['max']['y'])-Math['max'](_0x86183a[_0x17a3d5(0x138)]['y'],_0x1f607a[_0x17a3d5(0x138)]['y']),_0x4fdb86=Math['min'](_0x86183a['max']['z'],_0x1f607a[_0x17a3d5(0x16f)]['z'])-Math[_0x17a3d5(0x16f)](_0x86183a[_0x17a3d5(0x138)]['z'],_0x1f607a[_0x17a3d5(0x138)]['z']);let _0x27137c=_0x3a4bd9,_0x1c963e='x';_0x249b2f<_0x27137c&&(_0x27137c=_0x249b2f,_0x1c963e='y');_0x4fdb86<_0x27137c&&(_0x27137c=_0x4fdb86,_0x1c963e='z');const _0xb6eb37=_0x86183a['getCenter'](new webgpu.Vector3()),_0x37c948=_0x1f607a[_0x17a3d5(0x14c)](new webgpu.Vector3()),_0x434018=_0x37c948[_0x17a3d5(0x144)]()[_0x17a3d5(0x153)](_0xb6eb37),_0x6bb3ed=new webgpu.Vector3(0x0,0x0,0x0);if(_0x1c963e==='x')_0x6bb3ed[_0x17a3d5(0x16d)](Math[_0x17a3d5(0x143)](_0x434018['x'])||0x1,0x0,0x0);else _0x1c963e==='y'?_0x6bb3ed[_0x17a3d5(0x16d)](0x0,Math[_0x17a3d5(0x143)](_0x434018['y'])||0x1,0x0):_0x6bb3ed[_0x17a3d5(0x16d)](0x0,0x0,Math['sign'](_0x434018['z'])||0x1);const _0x4c32a3=new webgpu.Vector3((Math[_0x17a3d5(0x16f)](_0x86183a[_0x17a3d5(0x138)]['x'],_0x1f607a['min']['x'])+Math[_0x17a3d5(0x138)](_0x86183a[_0x17a3d5(0x16f)]['x'],_0x1f607a['max']['x']))*0.5,(Math[_0x17a3d5(0x16f)](_0x86183a[_0x17a3d5(0x138)]['y'],_0x1f607a[_0x17a3d5(0x138)]['y'])+Math[_0x17a3d5(0x138)](_0x86183a['max']['y'],_0x1f607a[_0x17a3d5(0x16f)]['y']))*0.5,(Math[_0x17a3d5(0x16f)](_0x86183a[_0x17a3d5(0x138)]['z'],_0x1f607a['min']['z'])+Math['min'](_0x86183a[_0x17a3d5(0x16f)]['z'],_0x1f607a['max']['z']))*0.5);return {'self':_0x5e3bfd,'other':_0x2a61f0,'point':_0x4c32a3,'normal':_0x6bb3ed,'penetrationDepth':Math[_0x17a3d5(0x16f)](0x0,_0x27137c)};}[_0x3835d6(0x137)](_0x5af297,_0x2cf1af){const _0x486f82=_0x3835d6;return _0x5af297[_0x486f82(0x13f)]<_0x2cf1af['uuid']?_0x5af297['uuid']+'|'+_0x2cf1af[_0x486f82(0x13f)]:_0x2cf1af[_0x486f82(0x13f)]+'|'+_0x5af297[_0x486f82(0x13f)];}[_0x3835d6(0x139)](_0xa55ec3,_0xc5b9a6,_0x5a959f,_0x4fbc3f){const _0x28614b=_0x3835d6;let _0x38051d=0x0,_0x5b0816=_0x5a959f;const _0x17855c=new webgpu.Vector3(0x0,0x0,0x0),_0x523c7e=1e-8,_0x2bf8c8=_0x37eb00=>{const _0x5f5a91=_0xa808,_0x49550e=_0xa55ec3[_0x37eb00],_0x33ef9a=_0xc5b9a6[_0x37eb00],_0x338a68=_0x4fbc3f[_0x5f5a91(0x138)][_0x37eb00],_0x430f8c=_0x4fbc3f[_0x5f5a91(0x16f)][_0x37eb00];if(Math[_0x5f5a91(0x146)](_0x33ef9a)<_0x523c7e){if(_0x49550e<_0x338a68||_0x49550e>_0x430f8c)return ![];return !![];}const _0x3ebc1d=0x1/_0x33ef9a;let _0x1da3c8,_0x5013d7;const _0x32f70b=new webgpu.Vector3(0x0,0x0,0x0);_0x33ef9a>=0x0?(_0x1da3c8=(_0x338a68-_0x49550e)*_0x3ebc1d,_0x5013d7=(_0x430f8c-_0x49550e)*_0x3ebc1d,_0x32f70b[_0x37eb00]=-1):(_0x1da3c8=(_0x430f8c-_0x49550e)*_0x3ebc1d,_0x5013d7=(_0x338a68-_0x49550e)*_0x3ebc1d,_0x32f70b[_0x37eb00]=0x1);_0x1da3c8>_0x38051d&&(_0x38051d=_0x1da3c8,_0x17855c['copy'](_0x32f70b));_0x5013d7<_0x5b0816&&(_0x5b0816=_0x5013d7);if(_0x38051d>_0x5b0816)return ![];return !![];};if(!_0x2bf8c8('x')||!_0x2bf8c8('y')||!_0x2bf8c8('z'))return null;if(_0x5b0816<0x0)return null;const _0x44a39a=Math[_0x28614b(0x16f)](0x0,_0x38051d);if(_0x44a39a>_0x5a959f)return null;return {'distance':_0x44a39a,'normal':_0x17855c,'point':_0xa55ec3[_0x28614b(0x144)]()[_0x28614b(0x171)](_0xc5b9a6[_0x28614b(0x144)]()[_0x28614b(0x160)](_0x44a39a))};}}
|
|
63
63
|
|
|
64
|
-
var
|
|
64
|
+
var _0x1c2ee4=_0x2f34;(function(_0x43cb08,_0x432ba6){var _0x5ab5ef=_0x2f34,_0x26fd2a=_0x43cb08();while(!![]){try{var _0x4748b6=parseInt(_0x5ab5ef(0x79))/0x1*(parseInt(_0x5ab5ef(0xa3))/0x2)+-parseInt(_0x5ab5ef(0x7c))/0x3*(parseInt(_0x5ab5ef(0x86))/0x4)+-parseInt(_0x5ab5ef(0x9c))/0x5+parseInt(_0x5ab5ef(0x8f))/0x6+parseInt(_0x5ab5ef(0x99))/0x7+-parseInt(_0x5ab5ef(0x81))/0x8*(-parseInt(_0x5ab5ef(0xa2))/0x9)+-parseInt(_0x5ab5ef(0x7f))/0xa;if(_0x4748b6===_0x432ba6)break;else _0x26fd2a['push'](_0x26fd2a['shift']());}catch(_0x150b93){_0x26fd2a['push'](_0x26fd2a['shift']());}}}(_0x5550,0xa8614));function _0x2f34(_0x3de73d,_0x17c7fc){_0x3de73d=_0x3de73d-0x75;var _0x555031=_0x5550();var _0x2f340f=_0x555031[_0x3de73d];return _0x2f340f;}function _0x5550(){var _0x3d369d=['_clippingGroup','rootComponent','61441UxJxJD','rootActor','markRenderStateDirty','696999aZeYpa','onAddedToWorld','getActorById','9742210vhyvpB','rootActor\x20is\x20null','152OrgzxA','worldParam','tick','add','removeActors','8xgvUDv','actors','threeObject','removeTickableActor','destroy','scene\x20is\x20null','viewport','forEach','target.threeObject\x20is\x20null','7206972pKGynA','controller','addActor','delete','clippingPlanes','getActorsByIds','scene','addChildActor','tickableActors','addActorClipping','828646VhjrKX','set','actor.threeObject\x20is\x20null','834195rdvnwE','_physics','KeepRelative','levelActorClass','app','removeActor','83907YqzUVr','26UGBnOl','_rootActor','removeActorClipping','clear'];_0x5550=function(){return _0x3d369d;};return _0x5550();}class World{get[_0x1c2ee4(0x95)](){var _0xe24aa7=_0x1c2ee4,_0x5b0ffd;let _0x390dab=(_0x5b0ffd=this['_rootActor'])===null||_0x5b0ffd===void 0?void 0:_0x5b0ffd[_0xe24aa7(0x95)];if(!_0x390dab)throw new Error(_0xe24aa7(0x8b));return _0x390dab;}get['viewport'](){var _0x2ea939=_0x1c2ee4;return this[_0x2ea939(0xa0)]['viewport'];}get[_0x1c2ee4(0x90)](){var _0x24b2ff=_0x1c2ee4;return this[_0x24b2ff(0xa0)][_0x24b2ff(0x90)];}get[_0x1c2ee4(0x7a)](){var _0x3dd98f=_0x1c2ee4;if(!this['_rootActor'])throw new Error(_0x3dd98f(0x80));return this[_0x3dd98f(0xa4)];}get['physics'](){return this['_physics'];}constructor(_0xaf58d2,_0x37b7a5){var _0x279560=_0x1c2ee4;this['_rootActor']=null,this[_0x279560(0x87)]=new Set(),this[_0x279560(0x97)]=new Set(),this[_0x279560(0x77)]=null,this[_0x279560(0xa0)]=_0xaf58d2,this[_0x279560(0x82)]=_0x37b7a5,this[_0x279560(0x9d)]=new PhysicsWorld();}['init'](){var _0x2d877d=_0x1c2ee4;this[_0x2d877d(0xa4)]=new this[(_0x2d877d(0x82))][(_0x2d877d(0x9f))](this[_0x2d877d(0xa0)]);}['addTickableActor'](_0x36869a){var _0x51b5c9=_0x1c2ee4;this[_0x51b5c9(0x97)][_0x51b5c9(0x84)](_0x36869a);}[_0x1c2ee4(0x89)](_0xacdbad){var _0x257ce3=_0x1c2ee4;this[_0x257ce3(0x97)][_0x257ce3(0x92)](_0xacdbad);}['tick'](_0xcc9447){var _0x3e76e1=_0x1c2ee4;this[_0x3e76e1(0x97)]['forEach'](_0x528633=>{_0x528633['tick'](_0xcc9447);}),this[_0x3e76e1(0x9d)][_0x3e76e1(0x83)](_0xcc9447);}['destroy'](){var _0x1937bc=_0x1c2ee4,_0xda1e9d;this['tickableActors'][_0x1937bc(0x76)](),this['_physics'][_0x1937bc(0x76)](),this[_0x1937bc(0x87)][_0x1937bc(0x8d)](_0x4f0e18=>{var _0x3d21b2=_0x1937bc;_0x4f0e18[_0x3d21b2(0x8a)]();}),this[_0x1937bc(0x87)][_0x1937bc(0x76)](),(_0xda1e9d=this[_0x1937bc(0xa4)])===null||_0xda1e9d===void 0?void 0:_0xda1e9d[_0x1937bc(0x8a)](),this['_rootActor']=null;}[_0x1c2ee4(0x91)](_0x54668c){var _0x4af3cd=_0x1c2ee4,_0x399e5c;if(!_0x54668c[_0x4af3cd(0x78)]['threeObject'])throw new Error(_0x4af3cd(0x9b));_0x54668c['removeFromParent'](),(_0x399e5c=this['_rootActor'])===null||_0x399e5c===void 0?void 0:_0x399e5c[_0x4af3cd(0x96)](_0x54668c,exports.AttachmentRules[_0x4af3cd(0x9e)]),this[_0x4af3cd(0x87)][_0x4af3cd(0x84)](_0x54668c),_0x54668c[_0x4af3cd(0x7d)](this),this[_0x4af3cd(0x8c)]['markRenderStateDirty']();}[_0x1c2ee4(0xa1)](_0x1d0e91){var _0x30080f=_0x1c2ee4;_0x1d0e91['destroy'](),this[_0x30080f(0x87)][_0x30080f(0x92)](_0x1d0e91),this[_0x30080f(0x8c)]['markRenderStateDirty']();}[_0x1c2ee4(0x85)](_0x98a0d8){var _0x527976=_0x1c2ee4;for(const _0x3396f8 of _0x98a0d8){_0x3396f8[_0x527976(0x8a)](),this[_0x527976(0x87)][_0x527976(0x92)](_0x3396f8);}this[_0x527976(0x8c)][_0x527976(0x7b)]();}[_0x1c2ee4(0x7e)](_0x2e3e3f){var _0x6fcaaf=_0x1c2ee4;return this[_0x6fcaaf(0x7a)]['getChildActorById'](_0x2e3e3f,!![]);}[_0x1c2ee4(0x94)](_0x3ec61b){var _0x3cfdcf=_0x1c2ee4;return this[_0x3cfdcf(0x7a)]['getChildActorsByIds'](_0x3ec61b,!![]);}[_0x1c2ee4(0x98)](_0x11352d,_0x31da07){var _0x3fab1f=_0x1c2ee4;if(!_0x11352d[_0x3fab1f(0x78)]['threeObject'])throw new Error(_0x3fab1f(0x8e));!this[_0x3fab1f(0x77)]&&(this['_clippingGroup']=new webgpu.ClippingGroup(),this[_0x3fab1f(0x77)]['position'][_0x3fab1f(0x9a)](0x0,0x0,0x0)),this[_0x3fab1f(0x77)][_0x3fab1f(0x93)]=_0x31da07,this[_0x3fab1f(0x95)][_0x3fab1f(0x84)](this[_0x3fab1f(0x77)]),this[_0x3fab1f(0x77)]['add'](_0x11352d[_0x3fab1f(0x78)]['threeObject']);}[_0x1c2ee4(0x75)](_0x49c94d,_0x2a0aac=null){var _0x31c169=_0x1c2ee4,_0x13c742;if(!this[_0x31c169(0x77)])return;if(!_0x49c94d[_0x31c169(0x78)][_0x31c169(0x88)])throw new Error('target.threeObject\x20is\x20null');_0x2a0aac?_0x2a0aac[_0x31c169(0x96)](_0x49c94d,exports.AttachmentRules[_0x31c169(0x9e)]):this[_0x31c169(0x91)](_0x49c94d),this[_0x31c169(0x77)]['children']['length']===0x0&&((_0x13c742=this[_0x31c169(0x77)]['parent'])===null||_0x13c742===void 0?void 0:_0x13c742['remove'](this[_0x31c169(0x77)]),this[_0x31c169(0x77)]=null);}}
|
|
65
65
|
|
|
66
|
-
var
|
|
66
|
+
var _0x567e40=_0x44dc;(function(_0x2a3a25,_0x4f9556){var _0x1dae5b=_0x44dc,_0x50e3aa=_0x2a3a25();while(!![]){try{var _0x5be683=parseInt(_0x1dae5b(0x76))/0x1+-parseInt(_0x1dae5b(0x72))/0x2+parseInt(_0x1dae5b(0x75))/0x3*(-parseInt(_0x1dae5b(0x78))/0x4)+-parseInt(_0x1dae5b(0x73))/0x5*(-parseInt(_0x1dae5b(0x70))/0x6)+-parseInt(_0x1dae5b(0x79))/0x7*(parseInt(_0x1dae5b(0x6e))/0x8)+-parseInt(_0x1dae5b(0x77))/0x9+parseInt(_0x1dae5b(0x74))/0xa;if(_0x5be683===_0x4f9556)break;else _0x50e3aa['push'](_0x50e3aa['shift']());}catch(_0x351934){_0x50e3aa['push'](_0x50e3aa['shift']());}}}(_0x1dd6,0x9a8b6));function _0x44dc(_0x489b0b,_0x3f590b){_0x489b0b=_0x489b0b-0x6e;var _0x1dd6d6=_0x1dd6();var _0x44dc9b=_0x1dd6d6[_0x489b0b];return _0x44dc9b;}exports.RendererType = void 0;function _0x1dd6(){var _0x5eda89=['10623180RFaQqZ','159mGDxLq','481876nGShGc','7582536ZnQvLl','47384WCeuTf','2316013YGawdB','8QhPHoj','WebGL','444uXWWvN','WebGPU','282338cVIkmU','69675aJIYiK'];_0x1dd6=function(){return _0x5eda89;};return _0x1dd6();}(function(_0x3bc122){var _0x329444=_0x44dc;_0x3bc122[_0x3bc122[_0x329444(0x71)]=0x0]=_0x329444(0x71),_0x3bc122[_0x3bc122[_0x329444(0x6f)]=0x1]=_0x329444(0x6f);}(exports.RendererType||(exports.RendererType={})));const DefaultViewportParam={'elementId':null,'renderer':{'type':exports.RendererType[_0x567e40(0x71)]},'isLabelRendererNeeded':![],'isCSS3DRendererNeeded':![],'isUILayerNeeded':![]};
|
|
67
67
|
|
|
68
|
-
(function(
|
|
68
|
+
function _0x25a2(_0x365c01,_0x41d763){_0x365c01=_0x365c01-0xb7;const _0x1f92d3=_0x1f92();let _0x25a2a6=_0x1f92d3[_0x365c01];return _0x25a2a6;}(function(_0x598d9f,_0x194483){const _0x533068=_0x25a2,_0x1578cc=_0x598d9f();while(!![]){try{const _0x53cdb6=-parseInt(_0x533068(0xb7))/0x1+-parseInt(_0x533068(0xc7))/0x2+parseInt(_0x533068(0xbe))/0x3*(-parseInt(_0x533068(0xbc))/0x4)+-parseInt(_0x533068(0xbb))/0x5*(parseInt(_0x533068(0xc1))/0x6)+-parseInt(_0x533068(0xba))/0x7*(-parseInt(_0x533068(0xc6))/0x8)+parseInt(_0x533068(0xc8))/0x9*(parseInt(_0x533068(0xc2))/0xa)+parseInt(_0x533068(0xbf))/0xb*(parseInt(_0x533068(0xbd))/0xc);if(_0x53cdb6===_0x194483)break;else _0x1578cc['push'](_0x1578cc['shift']());}catch(_0x12f950){_0x1578cc['push'](_0x1578cc['shift']());}}}(_0x1f92,0xb8111));const DefaultPostProcessParam={'steps':[]};function _0x1f92(){const _0x4a8bb8=['9394310oxaaHg','DepthOfField','GroundTruthAmbientOcclusion','ScreenSpaceReflection','8WXFFvE','1249268ZdmRkf','9wYaKYk','112844zOnNZD','LensFlare','Outline','4809469ywyTfY','5030YfEenA','1227196mLtqcA','14312556ntBjIC','12JETZLL','11SyjhqU','Bloom','600FbSODM'];_0x1f92=function(){return _0x4a8bb8;};return _0x1f92();}exports.PostProcessStepType = void 0;(function(_0x2f9d91){const _0x4fdb70=_0x25a2;_0x2f9d91[_0x2f9d91[_0x4fdb70(0xc0)]=0x0]=_0x4fdb70(0xc0),_0x2f9d91[_0x2f9d91[_0x4fdb70(0xc3)]=0x1]=_0x4fdb70(0xc3),_0x2f9d91[_0x2f9d91[_0x4fdb70(0xc5)]=0x2]=_0x4fdb70(0xc5),_0x2f9d91[_0x2f9d91[_0x4fdb70(0xc4)]=0x3]=_0x4fdb70(0xc4),_0x2f9d91[_0x2f9d91[_0x4fdb70(0xb9)]=0x4]=_0x4fdb70(0xb9),_0x2f9d91[_0x2f9d91['Antialiasing']=0x5]='Antialiasing',_0x2f9d91[_0x2f9d91[_0x4fdb70(0xb8)]=0x6]=_0x4fdb70(0xb8);}(exports.PostProcessStepType||(exports.PostProcessStepType={})));
|
|
69
69
|
|
|
70
|
-
const
|
|
70
|
+
const _0x43ddca=_0x2aa6;(function(_0x31bca8,_0x5748ae){const _0x30e359=_0x2aa6,_0x302856=_0x31bca8();while(!![]){try{const _0x41b3f6=-parseInt(_0x30e359(0x1ca))/0x1+parseInt(_0x30e359(0x1cf))/0x2+parseInt(_0x30e359(0x1cb))/0x3*(parseInt(_0x30e359(0x1d2))/0x4)+parseInt(_0x30e359(0x1ce))/0x5+-parseInt(_0x30e359(0x1d0))/0x6*(-parseInt(_0x30e359(0x1cc))/0x7)+-parseInt(_0x30e359(0x1c9))/0x8*(parseInt(_0x30e359(0x1d1))/0x9)+-parseInt(_0x30e359(0x1d3))/0xa;if(_0x41b3f6===_0x5748ae)break;else _0x302856['push'](_0x302856['shift']());}catch(_0x3632af){_0x302856['push'](_0x302856['shift']());}}}(_0x34b2,0xc2c6a));function _0x34b2(){const _0x2e33f0=['Bloom','4706130VKkNfS','1922350jKfElQ','261390pmYFlc','137574KEbSjZ','44vipjJc','8634110jiyEcH','712UFlbJR','114552iWZOzX','15699PIdrie','189emfEZn'];_0x34b2=function(){return _0x2e33f0;};return _0x34b2();}function _0x2aa6(_0x829baa,_0x3a1c33){_0x829baa=_0x829baa-0x1c9;const _0x34b29e=_0x34b2();let _0x2aa694=_0x34b29e[_0x829baa];return _0x2aa694;}const DefaultBloomParam={'type':exports.PostProcessStepType[_0x43ddca(0x1cd)],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
71
71
|
|
|
72
|
-
function
|
|
72
|
+
function _0x7f23(_0x58824d,_0x23fa37){_0x58824d=_0x58824d-0xc7;const _0x2d2ee4=_0x2d2e();let _0x7f235c=_0x2d2ee4[_0x58824d];return _0x7f235c;}const _0xc0ffce=_0x7f23;(function(_0x3fc30e,_0x408436){const _0xdcb8dc=_0x7f23,_0x2226c9=_0x3fc30e();while(!![]){try{const _0x27b008=parseInt(_0xdcb8dc(0xcc))/0x1+parseInt(_0xdcb8dc(0xce))/0x2+parseInt(_0xdcb8dc(0xd0))/0x3+-parseInt(_0xdcb8dc(0xc8))/0x4+parseInt(_0xdcb8dc(0xc7))/0x5*(-parseInt(_0xdcb8dc(0xca))/0x6)+parseInt(_0xdcb8dc(0xcd))/0x7+-parseInt(_0xdcb8dc(0xcb))/0x8*(parseInt(_0xdcb8dc(0xc9))/0x9);if(_0x27b008===_0x408436)break;else _0x2226c9['push'](_0x2226c9['shift']());}catch(_0x417c4d){_0x2226c9['push'](_0x2226c9['shift']());}}}(_0x2d2e,0xa2a0c));const DefaultDOFParam={'type':exports.PostProcessStepType[_0xc0ffce(0xcf)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};function _0x2d2e(){const _0x36145d=['294sXEPAZ','24sQhhgx','499236NLohIr','2487030xtZCvZ','2538232QFMNuv','DepthOfField','1247997bJzbhc','99065TNKmvL','3211036zaiBMR','299763GFEMCb'];_0x2d2e=function(){return _0x36145d;};return _0x2d2e();}
|
|
73
73
|
|
|
74
|
-
(function(
|
|
74
|
+
const _0x2149ac=_0x30f6;function _0x30f6(_0x3e1ecd,_0x78b110){_0x3e1ecd=_0x3e1ecd-0x19c;const _0x2a5216=_0x2a52();let _0x30f679=_0x2a5216[_0x3e1ecd];return _0x30f679;}function _0x2a52(){const _0x5c70ee=['4ndIcWW','159KIVtwo','782219qzkVCU','6714261PNyeXn','1793185zQpmKY','920836iiOplv','11258NWxdOG','748712OWSTLs','8787800VDFczB','12iMRXze','GroundTruthAmbientOcclusion'];_0x2a52=function(){return _0x5c70ee;};return _0x2a52();}(function(_0x2e759d,_0x2578b8){const _0x2e1291=_0x30f6,_0x14c673=_0x2e759d();while(!![]){try{const _0x386bc5=parseInt(_0x2e1291(0x19c))/0x1+-parseInt(_0x2e1291(0x1a0))/0x2*(parseInt(_0x2e1291(0x1a6))/0x3)+parseInt(_0x2e1291(0x1a5))/0x4*(-parseInt(_0x2e1291(0x19e))/0x5)+-parseInt(_0x2e1291(0x1a3))/0x6*(-parseInt(_0x2e1291(0x19f))/0x7)+-parseInt(_0x2e1291(0x1a1))/0x8+-parseInt(_0x2e1291(0x19d))/0x9+parseInt(_0x2e1291(0x1a2))/0xa;if(_0x386bc5===_0x2578b8)break;else _0x14c673['push'](_0x14c673['shift']());}catch(_0x5b83fe){_0x14c673['push'](_0x14c673['shift']());}}}(_0x2a52,0x685ef));const DefaultGTAOParam={'type':exports.PostProcessStepType[_0x2149ac(0x1a4)],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
75
75
|
|
|
76
|
-
const
|
|
76
|
+
const _0x4adaa3=_0x2c9b;(function(_0x3de532,_0x1a59df){const _0x497b9a=_0x2c9b,_0x20c4b1=_0x3de532();while(!![]){try{const _0x3a2f6d=parseInt(_0x497b9a(0x74))/0x1*(-parseInt(_0x497b9a(0x73))/0x2)+parseInt(_0x497b9a(0x71))/0x3*(-parseInt(_0x497b9a(0x79))/0x4)+parseInt(_0x497b9a(0x72))/0x5+-parseInt(_0x497b9a(0x76))/0x6+-parseInt(_0x497b9a(0x70))/0x7*(-parseInt(_0x497b9a(0x78))/0x8)+-parseInt(_0x497b9a(0x6e))/0x9+parseInt(_0x497b9a(0x6f))/0xa*(parseInt(_0x497b9a(0x77))/0xb);if(_0x3a2f6d===_0x1a59df)break;else _0x20c4b1['push'](_0x20c4b1['shift']());}catch(_0x3c7c65){_0x20c4b1['push'](_0x20c4b1['shift']());}}}(_0x12f6,0x773a2));function _0x2c9b(_0x107f19,_0x180714){_0x107f19=_0x107f19-0x6e;const _0x12f60=_0x12f6();let _0x2c9ba9=_0x12f60[_0x107f19];return _0x2c9ba9;}const DefaultOutlineParams={'type':exports.PostProcessStepType[_0x4adaa3(0x75)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};function _0x12f6(){const _0x3441ad=['22056IOXZLR','1804TGwsLf','8ZWiUnT','4pyfZpx','2186037yVZvyS','2900RYGUQN','5177284bfZycy','1974177apviZR','3223190eQjrWj','4568noOIeH','17dEtNla','Outline'];_0x12f6=function(){return _0x3441ad;};return _0x12f6();}
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
(function(_0x28bb5f,_0x12995d){const _0x145ca1=_0x27a3,_0x5b1946=_0x28bb5f();while(!![]){try{const _0x43e542=-parseInt(_0x145ca1(0x1a6))/0x1+parseInt(_0x145ca1(0x1ad))/0x2+-parseInt(_0x145ca1(0x1a7))/0x3+-parseInt(_0x145ca1(0x1ae))/0x4+parseInt(_0x145ca1(0x1a9))/0x5*(parseInt(_0x145ca1(0x1ab))/0x6)+-parseInt(_0x145ca1(0x1aa))/0x7*(-parseInt(_0x145ca1(0x1a5))/0x8)+parseInt(_0x145ca1(0x1a8))/0x9*(parseInt(_0x145ca1(0x1ac))/0xa);if(_0x43e542===_0x12995d)break;else _0x5b1946['push'](_0x5b1946['shift']());}catch(_0x2991ee){_0x5b1946['push'](_0x5b1946['shift']());}}}(_0x2ec8,0xd9247));function _0x2ec8(){const _0x504cb9=['1694342osJgrB','4719693RAKvpk','9LkNBsI','2455275MiaMFk','1896223MApPIz','18RHuwyG','19149830weWnhS','2408582CCtOlz','2825360lbsALY','8oOXvEk'];_0x2ec8=function(){return _0x504cb9;};return _0x2ec8();}function _0x27a3(_0x521792,_0x778e4e){_0x521792=_0x521792-0x1a5;const _0x2ec8a4=_0x2ec8();let _0x27a372=_0x2ec8a4[_0x521792];return _0x27a372;}const DefaultLensFlareParam={'type':exports.PostProcessStepType['LensFlare'],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};
|
|
79
79
|
|
|
80
|
-
const _0x528aa5=_0x191c;(function(_0xcc42e6,_0x1e2c52){const _0x3454b2=_0x191c,_0x521ec1=_0xcc42e6();while(!![]){try{const _0x3c9641=-parseInt(_0x3454b2(0x1a6))/0x1+-parseInt(_0x3454b2(0x15d))/0x2*(-parseInt(_0x3454b2(0x159))/0x3)+-parseInt(_0x3454b2(0x180))/0x4+-parseInt(_0x3454b2(0x171))/0x5*(parseInt(_0x3454b2(0x189))/0x6)+parseInt(_0x3454b2(0x17c))/0x7+-parseInt(_0x3454b2(0x184))/0x8+-parseInt(_0x3454b2(0x182))/0x9*(-parseInt(_0x3454b2(0x162))/0xa);if(_0x3c9641===_0x1e2c52)break;else _0x521ec1['push'](_0x521ec1['shift']());}catch(_0x152d98){_0x521ec1['push'](_0x521ec1['shift']());}}}(_0x30db,0x3b585));function _0x191c(_0x3c1a76,_0x10d9a7){_0x3c1a76=_0x3c1a76-0x153;const _0x30db65=_0x30db();let _0x191ca7=_0x30db65[_0x3c1a76];return _0x191ca7;}function _0x30db(){const _0x3a56a8=['gtaoScale','normal','resolutionScale','postProcessing','render','updateAllUniforms','onBuildFinalNode','postProcessParam','287112jrIOdN','dofPass','scene','indexOf','1847808GUMfay','strength','3275757fAMZDl','markDirty','2439624xqeyuD','mul','edgeStrength','GroundTruthAmbientOcclusion','createEffectUniforms','276YYPPQV','find','lensflarePass','method','dispose','aperture','edgeGlow','lut3dTexture','length','outlineEdgeThickness','setup','gtaoSamples','fxaa','bloomPass','select','edgeGlowNode','traa','focus','effectUniforms','bokehScaleNode','LensFlare','dofAperture','push','gtaoEnabled','div','outlineObjects','getStepParam','processing','pulsePeriod','274950Ulqbny','visibleEdgeColor','steps','distanceExponent','useTemporalFiltering','distanceFallOff','camera','type','DepthOfField','outlineEnabled','scale','needsUpdate','gtaoPass','hiddenEdgeColor','gtaoThickness','map','splice','setMRT','includes','bloomStrength','has','onDirtyCallback','Antialiasing','samples','ghostTint','outlineVisibleEdgeColor','focusDistanceNode','thickness','outlineHiddenEdgeColor','updateCamera','addOutlineObject','selectedObjects','removeOutlineObject','Bloom','greaterThan','depth','outputNode','threshold','output','16722LNDOlN','downSampleRatio','renderer','value','90aYclrz','bloomEnabled','gtaoDistanceFallOff','outlinePass','ghostSpacing','40OEmNsW','traaPass','add','maxblur','fxaaEnabled','edgeThickness','ghostAttenuationFactor','radius','velocity','outlineEdgeStrength','gtaoDistanceExponent','outlinePulsePeriod','bloomRadius','buildPipeline','getTextureNode','50305prYiAW','Outline','lensflareEnabled'];_0x30db=function(){return _0x3a56a8;};return _0x30db();}class PostProcessManager{constructor(_0xeed77e,_0x41a31b,_0x97ec7b,_0x5e90c2,_0x483fb9){const _0x2d038c=_0x191c;this['postProcessing']=null,this[_0x2d038c(0x1a2)]=[],this[_0x2d038c(0x19b)]=null,this['outlinePass']=null,this[_0x2d038c(0x196)]=null,this[_0x2d038c(0x17d)]=null,this[_0x2d038c(0x1b2)]=null,this[_0x2d038c(0x163)]=null,this[_0x2d038c(0x18b)]=null,this[_0x2d038c(0x190)]=null,this[_0x2d038c(0x1bb)]=null,this['renderer']=_0xeed77e,this[_0x2d038c(0x17e)]=_0x41a31b,this['camera']=_0x97ec7b,this['postProcessParam']=Object['assign']({},_0x5e90c2),this[_0x2d038c(0x1bb)]=_0x483fb9!==null&&_0x483fb9!==void 0?_0x483fb9:null;}get[_0x528aa5(0x1a4)](){const _0x19d887=_0x528aa5;return this[_0x19d887(0x177)];}[_0x528aa5(0x1c3)](_0x14f382){const _0x3c16bd=_0x528aa5;this[_0x3c16bd(0x1ac)]=_0x14f382,(!this[_0x3c16bd(0x177)]||!this[_0x3c16bd(0x19b)])&&(this[_0x3c16bd(0x16f)](),this[_0x3c16bd(0x179)](),this[_0x3c16bd(0x183)]());}[_0x528aa5(0x193)](){const _0x4fe93d=_0x528aa5;(!this[_0x4fe93d(0x177)]||!this['effectUniforms'])&&this[_0x4fe93d(0x16f)](),this[_0x4fe93d(0x179)](),this['markDirty']();}[_0x528aa5(0x16f)](){const _0x5ea636=_0x528aa5;var _0x15c4ff,_0x2f75f1,_0x5cd5dc,_0x5629a0,_0x3126d4;this[_0x5ea636(0x177)]&&this['postProcessing'][_0x5ea636(0x18d)]();this[_0x5ea636(0x177)]=new webgpu.PostProcessing(this[_0x5ea636(0x15b)]),this[_0x5ea636(0x160)]=null,this['bloomPass']=null,this[_0x5ea636(0x17d)]=null,this[_0x5ea636(0x1b2)]=null,this['traaPass']=null,this[_0x5ea636(0x18b)]=null,this['effectUniforms']=this[_0x5ea636(0x188)]();const _0x5571fe=new Set(this[_0x5ea636(0x17b)][_0x5ea636(0x1a8)][_0x5ea636(0x1b5)](_0x2cee47=>_0x2cee47[_0x5ea636(0x1ad)])),_0x2e3b71=this[_0x5ea636(0x1a3)](exports.PostProcessStepType[_0x5ea636(0x1bc)]),_0x543c94=_0x5571fe[_0x5ea636(0x1ba)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']),_0x3c3c3c=(_0x2e3b71===null||_0x2e3b71===void 0?void 0:_0x2e3b71['method'])===_0x5ea636(0x199),_0x71c121=tsl.pass(this[_0x5ea636(0x17e)],this[_0x5ea636(0x1ac)]);if(_0x543c94||_0x3c3c3c){const _0x5c55a4={'output':tsl.output};if(_0x543c94)_0x5c55a4[_0x5ea636(0x175)]=tsl.normalView;if(_0x3c3c3c)_0x5c55a4['velocity']=tsl.velocity;_0x71c121[_0x5ea636(0x1b7)](tsl.mrt(_0x5c55a4));}const _0x3990e5=_0x71c121[_0x5ea636(0x170)](_0x5ea636(0x158)),_0x245708=_0x71c121['getTextureNode'](_0x5ea636(0x155)),_0x17b301=_0x71c121['getViewZNode'](),_0x54aee5=_0x543c94?_0x71c121[_0x5ea636(0x170)](_0x5ea636(0x175)):null,_0x5a9bfc=_0x3c3c3c?_0x71c121[_0x5ea636(0x170)](_0x5ea636(0x16a)):null,_0x5b21c5=this[_0x5ea636(0x19b)];let _0x59c21d=_0x3990e5;const _0x569e10=_0x5571fe[_0x5ea636(0x1ba)](exports.PostProcessStepType[_0x5ea636(0x153)]),_0x5ee98a=_0x5571fe[_0x5ea636(0x1ba)](exports.PostProcessStepType[_0x5ea636(0x19d)]);if(_0x569e10||_0x5ee98a){const _0x5b1d76=(_0x15c4ff=this[_0x5ea636(0x1a3)](exports.PostProcessStepType[_0x5ea636(0x153)]))!==null&&_0x15c4ff!==void 0?_0x15c4ff:DefaultBloomParam;this['bloomPass']=BloomNode_js.bloom(_0x3990e5),this[_0x5ea636(0x196)][_0x5ea636(0x157)][_0x5ea636(0x15c)]=_0x5b1d76[_0x5ea636(0x157)],this[_0x5ea636(0x196)][_0x5ea636(0x181)][_0x5ea636(0x15c)]=_0x5b1d76[_0x5ea636(0x181)],this['bloomPass'][_0x5ea636(0x169)][_0x5ea636(0x15c)]=_0x5b1d76['radius'];if(_0x569e10){const _0x4c2be9=this['bloomPass']['mul'](_0x5b21c5[_0x5ea636(0x1b9)]);_0x59c21d=tsl.vec4(_0x3990e5['r']['add'](_0x4c2be9['r']),_0x3990e5['g']['add'](_0x4c2be9['g']),_0x3990e5['b'][_0x5ea636(0x164)](_0x4c2be9['b']),_0x3990e5['a']);}if(_0x5ee98a){const _0x112ab1=(_0x2f75f1=this[_0x5ea636(0x1a3)](exports.PostProcessStepType[_0x5ea636(0x19d)]))!==null&&_0x2f75f1!==void 0?_0x2f75f1:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this['bloomPass'][_0x5ea636(0x170)](),{'ghostTint':tsl.vec3(_0x112ab1['ghostTint'][0x0],_0x112ab1[_0x5ea636(0x1be)][0x1],_0x112ab1[_0x5ea636(0x1be)][0x2]),'threshold':tsl.float(_0x112ab1[_0x5ea636(0x157)]),'ghostSamples':tsl.float(_0x112ab1['ghostSamples']),'ghostSpacing':tsl.float(_0x112ab1[_0x5ea636(0x161)]),'ghostAttenuationFactor':tsl.float(_0x112ab1[_0x5ea636(0x168)]),'downSampleRatio':_0x112ab1[_0x5ea636(0x15a)]});const _0x36d887=this[_0x5ea636(0x18b)][_0x5ea636(0x170)]();_0x59c21d=tsl.vec4(_0x59c21d['r'][_0x5ea636(0x164)](_0x36d887['r']),_0x59c21d['g']['add'](_0x36d887['g']),_0x59c21d['b'][_0x5ea636(0x164)](_0x36d887['b']),_0x59c21d['a']);}}if(_0x5571fe[_0x5ea636(0x1ba)](exports.PostProcessStepType[_0x5ea636(0x1ae)])){const _0x23feb9=(_0x5cd5dc=this[_0x5ea636(0x1a3)](exports.PostProcessStepType[_0x5ea636(0x1ae)]))!==null&&_0x5cd5dc!==void 0?_0x5cd5dc:DefaultDOFParam;this[_0x5ea636(0x17d)]=DepthOfFieldNode_js.dof(_0x59c21d,_0x17b301,tsl.uniform(_0x23feb9[_0x5ea636(0x19a)]),tsl.uniform(_0x23feb9[_0x5ea636(0x18e)]),tsl.uniform(_0x23feb9[_0x5ea636(0x165)])),_0x59c21d=tsl.vec4(this['dofPass']['r'],this[_0x5ea636(0x17d)]['g'],this[_0x5ea636(0x17d)]['b'],_0x3990e5['a']);}if(_0x543c94&&_0x54aee5){const _0x1c023c=(_0x5629a0=this[_0x5ea636(0x1a3)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x5629a0!==void 0?_0x5629a0:DefaultGTAOParam;this['gtaoPass']=GTAONode_js.ao(_0x245708,_0x54aee5,this[_0x5ea636(0x1ac)]),this[_0x5ea636(0x1b2)][_0x5ea636(0x176)]=0.5,this[_0x5ea636(0x1b2)][_0x5ea636(0x1a9)][_0x5ea636(0x15c)]=_0x1c023c[_0x5ea636(0x1a9)],this[_0x5ea636(0x1b2)][_0x5ea636(0x1ab)]['value']=_0x1c023c[_0x5ea636(0x1ab)],this['gtaoPass'][_0x5ea636(0x169)][_0x5ea636(0x15c)]=_0x1c023c[_0x5ea636(0x169)],this['gtaoPass'][_0x5ea636(0x1b0)][_0x5ea636(0x15c)]=_0x1c023c[_0x5ea636(0x1b0)],this[_0x5ea636(0x1b2)][_0x5ea636(0x1c1)][_0x5ea636(0x15c)]=_0x1c023c[_0x5ea636(0x1c1)],this[_0x5ea636(0x1b2)][_0x5ea636(0x1bd)][_0x5ea636(0x15c)]=_0x1c023c[_0x5ea636(0x1bd)],this[_0x5ea636(0x1b2)][_0x5ea636(0x1aa)]=_0x1c023c[_0x5ea636(0x1aa)];const _0x526e45=this['gtaoPass'][_0x5ea636(0x170)]()['r'];_0x59c21d=tsl.vec4(_0x59c21d['r'][_0x5ea636(0x185)](_0x526e45),_0x59c21d['g'][_0x5ea636(0x185)](_0x526e45),_0x59c21d['b'][_0x5ea636(0x185)](_0x526e45),_0x59c21d['a']);}if(_0x5571fe['has'](exports.PostProcessStepType[_0x5ea636(0x172)])){const _0x2b682e=(_0x3126d4=this[_0x5ea636(0x1a3)](exports.PostProcessStepType[_0x5ea636(0x172)]))!==null&&_0x3126d4!==void 0?_0x3126d4:DefaultOutlineParams;this['outlinePass']=OutlineNode_js.outline(this[_0x5ea636(0x17e)],this['camera'],{'selectedObjects':this[_0x5ea636(0x1a2)],'edgeGlow':tsl.uniform(_0x2b682e['edgeGlow']),'edgeThickness':tsl.uniform(_0x2b682e[_0x5ea636(0x167)])});const {visibleEdge:_0x47fb87,hiddenEdge:_0x4b6241}=this[_0x5ea636(0x160)],_0x1ff6ae=_0x5b21c5[_0x5ea636(0x16d)][_0x5ea636(0x154)](0x0)[_0x5ea636(0x197)](_0x5b21c5['outlinePulsePeriod'],tsl.uniform(0x1)),_0x5db1c2=tsl.time[_0x5ea636(0x1a1)](_0x1ff6ae)[_0x5ea636(0x185)](0x2),_0x5a6426=tsl.oscSine(_0x5db1c2)[_0x5ea636(0x185)](0.5)[_0x5ea636(0x164)](0.5),_0x18e144=_0x47fb87[_0x5ea636(0x185)](_0x5b21c5[_0x5ea636(0x1bf)])[_0x5ea636(0x164)](_0x4b6241['mul'](_0x5b21c5['outlineHiddenEdgeColor']))['mul'](_0x5b21c5[_0x5ea636(0x16b)]),_0x53a19a=_0x5b21c5['outlinePulsePeriod'][_0x5ea636(0x154)](0x0),_0x1d6a06=_0x53a19a[_0x5ea636(0x197)](_0x5a6426,tsl.float(0x1));_0x59c21d=tsl.vec4(_0x59c21d['r']['add'](_0x18e144['r'][_0x5ea636(0x185)](_0x1d6a06)),_0x59c21d['g'][_0x5ea636(0x164)](_0x18e144['g'][_0x5ea636(0x185)](_0x1d6a06)),_0x59c21d['b'][_0x5ea636(0x164)](_0x18e144['b'][_0x5ea636(0x185)](_0x1d6a06)),_0x59c21d['a']);}if(_0x2e3b71){if(_0x2e3b71[_0x5ea636(0x18c)]===_0x5ea636(0x195))_0x59c21d=FXAANode_js.fxaa(_0x59c21d);else {if(_0x2e3b71['method']==='smaa')_0x59c21d=SMAANode_js.smaa(_0x59c21d);else _0x2e3b71[_0x5ea636(0x18c)]==='traa'&&_0x5a9bfc&&(this['traaPass']=TRAANode_js.traa(_0x59c21d,_0x245708,_0x5a9bfc,this[_0x5ea636(0x1ac)]),_0x59c21d=this[_0x5ea636(0x163)][_0x5ea636(0x170)]());}}_0x59c21d=this[_0x5ea636(0x17a)](_0x59c21d),_0x59c21d=tsl.vec4(_0x59c21d['r'],_0x59c21d['g'],_0x59c21d['b'],_0x3990e5['a']),this[_0x5ea636(0x177)][_0x5ea636(0x156)]=_0x59c21d,this[_0x5ea636(0x177)][_0x5ea636(0x1b1)]=!![];}[_0x528aa5(0x17a)](_0x579013){return _0x579013;}[_0x528aa5(0x188)](){const _0x4b4b17=_0x528aa5;var _0x4108e0,_0x31c944,_0x49e877,_0x1af460;const _0x17ae7d=(_0x4108e0=this['getStepParam'](exports.PostProcessStepType[_0x4b4b17(0x153)]))!==null&&_0x4108e0!==void 0?_0x4108e0:DefaultBloomParam,_0x15ec77=(_0x31c944=this[_0x4b4b17(0x1a3)](exports.PostProcessStepType['DepthOfField']))!==null&&_0x31c944!==void 0?_0x31c944:DefaultDOFParam,_0x4bfc35=(_0x49e877=this[_0x4b4b17(0x1a3)](exports.PostProcessStepType[_0x4b4b17(0x187)]))!==null&&_0x49e877!==void 0?_0x49e877:DefaultGTAOParam,_0x159004=(_0x1af460=this[_0x4b4b17(0x1a3)](exports.PostProcessStepType[_0x4b4b17(0x172)]))!==null&&_0x1af460!==void 0?_0x1af460:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x17ae7d[_0x4b4b17(0x181)]),'bloomThreshold':tsl.uniform(_0x17ae7d[_0x4b4b17(0x157)]),'bloomRadius':tsl.uniform(_0x17ae7d[_0x4b4b17(0x169)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x15ec77[_0x4b4b17(0x19a)]),'dofAperture':tsl.uniform(_0x15ec77['aperture']),'dofMaxBlur':tsl.uniform(_0x15ec77[_0x4b4b17(0x165)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x4bfc35[_0x4b4b17(0x1b0)]),'gtaoDistanceExponent':tsl.uniform(_0x4bfc35[_0x4b4b17(0x1a9)]),'gtaoDistanceFallOff':tsl.uniform(_0x4bfc35['distanceFallOff']),'gtaoRadius':tsl.uniform(_0x4bfc35[_0x4b4b17(0x169)]),'gtaoThickness':tsl.uniform(_0x4bfc35[_0x4b4b17(0x1c1)]),'gtaoSamples':tsl.uniform(_0x4bfc35['samples']),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x159004[_0x4b4b17(0x186)]),'outlineEdgeGlow':tsl.uniform(_0x159004[_0x4b4b17(0x18f)]),'outlineEdgeThickness':tsl.uniform(_0x159004[_0x4b4b17(0x167)]),'outlinePulsePeriod':tsl.uniform(_0x159004[_0x4b4b17(0x1a5)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x159004[_0x4b4b17(0x1a7)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x159004[_0x4b4b17(0x1b3)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}['getStepParam'](_0x5eae27){const _0x180192=_0x528aa5;var _0x463ff9;return (_0x463ff9=this[_0x180192(0x17b)][_0x180192(0x1a8)][_0x180192(0x18a)](_0x4efefe=>_0x4efefe[_0x180192(0x1ad)]===_0x5eae27))!==null&&_0x463ff9!==void 0?_0x463ff9:null;}[_0x528aa5(0x179)](){const _0x27ce59=_0x528aa5;if(!this[_0x27ce59(0x19b)])return;const _0x5566ce=this[_0x27ce59(0x19b)],_0x5bd4f0=new Set(this[_0x27ce59(0x17b)][_0x27ce59(0x1a8)][_0x27ce59(0x1b5)](_0x38a68c=>_0x38a68c[_0x27ce59(0x1ad)]));_0x5566ce[_0x27ce59(0x15e)][_0x27ce59(0x15c)]=_0x5bd4f0[_0x27ce59(0x1ba)](exports.PostProcessStepType['Bloom'])?0x1:0x0,_0x5566ce['dofEnabled'][_0x27ce59(0x15c)]=_0x5bd4f0[_0x27ce59(0x1ba)](exports.PostProcessStepType[_0x27ce59(0x1ae)])?0x1:0x0,_0x5566ce[_0x27ce59(0x1a0)][_0x27ce59(0x15c)]=_0x5bd4f0[_0x27ce59(0x1ba)](exports.PostProcessStepType[_0x27ce59(0x187)])?0x1:0x0,_0x5566ce[_0x27ce59(0x1af)]['value']=_0x5bd4f0['has'](exports.PostProcessStepType[_0x27ce59(0x172)])?0x1:0x0,_0x5566ce[_0x27ce59(0x173)][_0x27ce59(0x15c)]=_0x5bd4f0['has'](exports.PostProcessStepType[_0x27ce59(0x19d)])?0x1:0x0;const _0x185d96=this['getStepParam'](exports.PostProcessStepType[_0x27ce59(0x1bc)]);_0x185d96?(_0x5566ce[_0x27ce59(0x166)][_0x27ce59(0x15c)]=_0x185d96[_0x27ce59(0x18c)]===_0x27ce59(0x195)?0x1:0x0,_0x5566ce['smaaEnabled'][_0x27ce59(0x15c)]=_0x185d96[_0x27ce59(0x18c)]==='smaa'?0x1:0x0):(_0x5566ce[_0x27ce59(0x166)][_0x27ce59(0x15c)]=0x0,_0x5566ce['smaaEnabled'][_0x27ce59(0x15c)]=0x0);const _0x5ba249=this[_0x27ce59(0x1a3)](exports.PostProcessStepType[_0x27ce59(0x153)]);_0x5ba249&&(_0x5566ce['bloomStrength'][_0x27ce59(0x15c)]=_0x5ba249[_0x27ce59(0x181)],_0x5566ce['bloomThreshold'][_0x27ce59(0x15c)]=_0x5ba249[_0x27ce59(0x157)],_0x5566ce[_0x27ce59(0x16e)][_0x27ce59(0x15c)]=_0x5ba249[_0x27ce59(0x169)],this[_0x27ce59(0x196)]&&(this['bloomPass']['threshold'][_0x27ce59(0x15c)]=_0x5ba249[_0x27ce59(0x157)],this['bloomPass'][_0x27ce59(0x181)]['value']=_0x5ba249[_0x27ce59(0x181)],this[_0x27ce59(0x196)][_0x27ce59(0x169)][_0x27ce59(0x15c)]=_0x5ba249[_0x27ce59(0x169)]));const _0x1f3cd4=this['getStepParam'](exports.PostProcessStepType[_0x27ce59(0x19d)]);if(_0x1f3cd4&&this[_0x27ce59(0x18b)]);const _0x455d4e=this[_0x27ce59(0x1a3)](exports.PostProcessStepType[_0x27ce59(0x1ae)]);_0x455d4e&&(_0x5566ce['dofFocus'][_0x27ce59(0x15c)]=_0x455d4e[_0x27ce59(0x19a)],_0x5566ce[_0x27ce59(0x19e)][_0x27ce59(0x15c)]=_0x455d4e[_0x27ce59(0x18e)],_0x5566ce['dofMaxBlur']['value']=_0x455d4e[_0x27ce59(0x165)],this['dofPass']&&(this[_0x27ce59(0x17d)][_0x27ce59(0x1c0)]['value']=_0x455d4e[_0x27ce59(0x19a)],this[_0x27ce59(0x17d)]['focalLengthNode'][_0x27ce59(0x15c)]=_0x455d4e[_0x27ce59(0x18e)],this[_0x27ce59(0x17d)][_0x27ce59(0x19c)][_0x27ce59(0x15c)]=_0x455d4e[_0x27ce59(0x165)]));const _0x5e1925=this[_0x27ce59(0x1a3)](exports.PostProcessStepType[_0x27ce59(0x187)]);_0x5e1925&&(_0x5566ce[_0x27ce59(0x174)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1b0)],_0x5566ce[_0x27ce59(0x16c)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1a9)],_0x5566ce[_0x27ce59(0x15f)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1ab)],_0x5566ce['gtaoRadius'][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x169)],_0x5566ce[_0x27ce59(0x1b4)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1c1)],_0x5566ce[_0x27ce59(0x194)][_0x27ce59(0x15c)]=_0x5e1925['samples'],this[_0x27ce59(0x1b2)]&&(this[_0x27ce59(0x1b2)]['distanceExponent']['value']=_0x5e1925[_0x27ce59(0x1a9)],this[_0x27ce59(0x1b2)][_0x27ce59(0x1ab)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1ab)],this[_0x27ce59(0x1b2)][_0x27ce59(0x169)]['value']=_0x5e1925[_0x27ce59(0x169)],this[_0x27ce59(0x1b2)]['scale'][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1b0)],this[_0x27ce59(0x1b2)][_0x27ce59(0x1c1)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1c1)],this[_0x27ce59(0x1b2)][_0x27ce59(0x1bd)][_0x27ce59(0x15c)]=_0x5e1925[_0x27ce59(0x1bd)],this['gtaoPass'][_0x27ce59(0x1aa)]=_0x5e1925['useTemporalFiltering']));const _0x40b20e=this['getStepParam'](exports.PostProcessStepType['Outline']);_0x40b20e&&(_0x5566ce[_0x27ce59(0x16b)][_0x27ce59(0x15c)]=_0x40b20e[_0x27ce59(0x186)],_0x5566ce['outlineEdgeGlow'][_0x27ce59(0x15c)]=_0x40b20e[_0x27ce59(0x18f)],_0x5566ce[_0x27ce59(0x192)]['value']=_0x40b20e[_0x27ce59(0x167)],_0x5566ce[_0x27ce59(0x16d)][_0x27ce59(0x15c)]=_0x40b20e[_0x27ce59(0x1a5)],_0x5566ce[_0x27ce59(0x1bf)][_0x27ce59(0x15c)]['set'](_0x40b20e[_0x27ce59(0x1a7)]),_0x5566ce[_0x27ce59(0x1c2)][_0x27ce59(0x15c)]['set'](_0x40b20e['hiddenEdgeColor']),this[_0x27ce59(0x160)]&&(this[_0x27ce59(0x160)][_0x27ce59(0x198)][_0x27ce59(0x15c)]=_0x40b20e['edgeGlow'],this['outlinePass']['edgeThicknessNode']['value']=_0x40b20e[_0x27ce59(0x167)],this['outlinePass'][_0x27ce59(0x1c5)]=this['outlineObjects']));}['updateSteps'](_0xc1031){const _0x436539=_0x528aa5;this['postProcessParam'][_0x436539(0x1a8)]=_0xc1031,this[_0x436539(0x16f)](),this[_0x436539(0x179)](),this[_0x436539(0x183)]();}[_0x528aa5(0x1c4)](_0x2f8ac6){const _0x35c509=_0x528aa5;!this[_0x35c509(0x1a2)][_0x35c509(0x1b8)](_0x2f8ac6)&&(this[_0x35c509(0x1a2)][_0x35c509(0x19f)](_0x2f8ac6),this['outlinePass']&&(this[_0x35c509(0x160)][_0x35c509(0x1c5)]=this[_0x35c509(0x1a2)])),this[_0x35c509(0x183)]();}['setOutlineObjects'](_0x2859a7){const _0x3f8da1=_0x528aa5;this[_0x3f8da1(0x1a2)][_0x3f8da1(0x191)]=0x0,this[_0x3f8da1(0x1a2)][_0x3f8da1(0x19f)](..._0x2859a7),this[_0x3f8da1(0x160)]&&(this['outlinePass'][_0x3f8da1(0x1c5)]=this[_0x3f8da1(0x1a2)]),this[_0x3f8da1(0x183)]();}[_0x528aa5(0x1c6)](_0x4f29c5){const _0x5f5bf1=_0x528aa5,_0x4482b=this[_0x5f5bf1(0x1a2)][_0x5f5bf1(0x17f)](_0x4f29c5);_0x4482b>-1&&(this[_0x5f5bf1(0x1a2)][_0x5f5bf1(0x1b6)](_0x4482b,0x1),this['outlinePass']&&(this['outlinePass'][_0x5f5bf1(0x1c5)]=this['outlineObjects'])),this[_0x5f5bf1(0x183)]();}['setLUT3DTexture'](_0x54b39c){const _0x2ab45f=_0x528aa5;this[_0x2ab45f(0x190)]=_0x54b39c,this[_0x2ab45f(0x16f)](),this[_0x2ab45f(0x179)](),this[_0x2ab45f(0x183)]();}['getLUT3DTexture'](){const _0x492880=_0x528aa5;return this[_0x492880(0x190)];}['render'](){const _0x4afef6=_0x528aa5;if(this[_0x4afef6(0x177)])return this[_0x4afef6(0x177)][_0x4afef6(0x178)](),!![];return ![];}['destroy'](){const _0x3f221d=_0x528aa5;this[_0x3f221d(0x1a2)]=[],this[_0x3f221d(0x19b)]=null,this[_0x3f221d(0x160)]=null,this[_0x3f221d(0x196)]=null,this[_0x3f221d(0x17d)]=null,this['gtaoPass']=null,this[_0x3f221d(0x163)]=null,this[_0x3f221d(0x18b)]=null,this[_0x3f221d(0x190)]=null,this[_0x3f221d(0x177)]&&(this[_0x3f221d(0x177)][_0x3f221d(0x18d)](),this[_0x3f221d(0x177)]=null);}[_0x528aa5(0x183)](){const _0x36faf2=_0x528aa5;this[_0x36faf2(0x1bb)]&&this[_0x36faf2(0x1bb)]();}}
|
|
80
|
+
const _0x2f1cc6=_0x2ce8;(function(_0x4a3a9d,_0x5cb05f){const _0x17965d=_0x2ce8,_0x160adb=_0x4a3a9d();while(!![]){try{const _0x1b9cab=-parseInt(_0x17965d(0x1bc))/0x1+parseInt(_0x17965d(0x1dd))/0x2+parseInt(_0x17965d(0x1be))/0x3+-parseInt(_0x17965d(0x1e6))/0x4+-parseInt(_0x17965d(0x1d7))/0x5*(parseInt(_0x17965d(0x206))/0x6)+-parseInt(_0x17965d(0x207))/0x7*(-parseInt(_0x17965d(0x204))/0x8)+-parseInt(_0x17965d(0x1e5))/0x9*(-parseInt(_0x17965d(0x220))/0xa);if(_0x1b9cab===_0x5cb05f)break;else _0x160adb['push'](_0x160adb['shift']());}catch(_0xc5c026){_0x160adb['push'](_0x160adb['shift']());}}}(_0x5ebd,0x54d31));function _0x5ebd(){const _0x10683f=['pulsePeriod','setup','threshold','push','value','6943530RYxEKR','addOutlineObject','bokehScaleNode','needsUpdate','focus','edgeGlow','traaPass','useTemporalFiltering','dofMaxBlur','fxaaEnabled','postProcessParam','focusDistanceNode','processing','smaa','strength','dofPass','find','_outlinePlaceholder','mul','onDirtyCallback','outlineEdgeGlow','ghostAttenuationFactor','171317xPWZMb','fxaa','759054agxKus','getViewZNode','ghostTint','outlinePass','downSampleRatio','gtaoPass','output','edgeThicknessNode','camera','edgeThickness','method','resolutionScale','postProcessing','distanceFallOff','LensFlare','updateAllUniforms','__outlinePlaceholder__','steps','renderer','gtaoDistanceFallOff','Bloom','gtaoRadius','outlineVisibleEdgeColor','gtaoScale','radius','1818805pjIUig','outlineHiddenEdgeColor','edgeStrength','splice','type','DepthOfField','605974hEjjrb','destroy','distanceExponent','visible','edgeGlowNode','select','dofAperture','Outline','9oclBZW','2218024tlAGwj','velocity','includes','createEffectUniforms','getStepParam','focalLengthNode','outlineObjects','markDirty','indexOf','has','gtaoDistanceExponent','bloomRadius','scale','removeOutlineObject','outlineEnabled','dispose','ensureOutlinePlaceholder','bloomPass','add','assign','Antialiasing','map','visibleEdgeColor','buildPipeline','outlinePulsePeriod','gtaoEnabled','outlineEdgeStrength','selectedObjects','getTextureNode','onBuildFinalNode','8632RESLbD','samples','6FJtEpz','1211JTBtte','lensflarePass','normal','updateCamera','GroundTruthAmbientOcclusion','maxblur','depth','scene','setLUT3DTexture','outputNode','dofEnabled','effectUniforms','bloomStrength','thickness','aperture','getLUT3DTexture','lut3dTexture','greaterThan','setOutlineObjects','render'];_0x5ebd=function(){return _0x10683f;};return _0x5ebd();}function _0x2ce8(_0x36a0e5,_0x3f6303){_0x36a0e5=_0x36a0e5-0x1b4;const _0x5ebd0b=_0x5ebd();let _0x2ce8c1=_0x5ebd0b[_0x36a0e5];return _0x2ce8c1;}class PostProcessManager{constructor(_0x3c2b33,_0x52e194,_0x445d46,_0x4915b1,_0x403211){const _0x1c2c74=_0x2ce8;this[_0x1c2c74(0x1ca)]=null,this[_0x1c2c74(0x1ec)]=[],this[_0x1c2c74(0x1b7)]=null,this['effectUniforms']=null,this[_0x1c2c74(0x1c1)]=null,this['bloomPass']=null,this['dofPass']=null,this[_0x1c2c74(0x1c3)]=null,this[_0x1c2c74(0x226)]=null,this['lensflarePass']=null,this['lut3dTexture']=null,this[_0x1c2c74(0x1b9)]=null,this[_0x1c2c74(0x1d0)]=_0x3c2b33,this['scene']=_0x52e194,this[_0x1c2c74(0x1c6)]=_0x445d46,this[_0x1c2c74(0x22a)]=Object[_0x1c2c74(0x1f9)]({},_0x4915b1),this[_0x1c2c74(0x1b9)]=_0x403211!==null&&_0x403211!==void 0?_0x403211:null,this[_0x1c2c74(0x1f6)]();}get[_0x2f1cc6(0x22c)](){const _0x5d9311=_0x2f1cc6;return this[_0x5d9311(0x1ca)];}[_0x2f1cc6(0x20a)](_0x2c1ef8){const _0x1e89a8=_0x2f1cc6;this['camera']=_0x2c1ef8,(!this['postProcessing']||!this[_0x1e89a8(0x212)])&&(this['buildPipeline'](),this[_0x1e89a8(0x1cd)](),this['markDirty']());}[_0x2f1cc6(0x21c)](){const _0x9553e5=_0x2f1cc6;(!this[_0x9553e5(0x1ca)]||!this[_0x9553e5(0x212)])&&this[_0x9553e5(0x1fd)](),this['updateAllUniforms'](),this['markDirty']();}[_0x2f1cc6(0x1fd)](){const _0x417b24=_0x2f1cc6;var _0x8edb61,_0x3b72d7,_0x37fa33,_0x34f1c9,_0x5ac4ea;this[_0x417b24(0x1ca)]&&this[_0x417b24(0x1ca)][_0x417b24(0x1f5)]();this[_0x417b24(0x1ca)]=new webgpu.PostProcessing(this[_0x417b24(0x1d0)]),this[_0x417b24(0x1c1)]=null,this[_0x417b24(0x1f7)]=null,this[_0x417b24(0x1b5)]=null,this[_0x417b24(0x1c3)]=null,this['traaPass']=null,this[_0x417b24(0x208)]=null,this[_0x417b24(0x212)]=this[_0x417b24(0x1e9)]();const _0x246945=new Set(this[_0x417b24(0x22a)][_0x417b24(0x1cf)]['map'](_0x3df03b=>_0x3df03b[_0x417b24(0x1db)])),_0x52e2d6=this[_0x417b24(0x1ea)](exports.PostProcessStepType[_0x417b24(0x1fa)]),_0x5bb799=_0x246945['has'](exports.PostProcessStepType[_0x417b24(0x20b)]),_0xe56ce8=(_0x52e2d6===null||_0x52e2d6===void 0?void 0:_0x52e2d6[_0x417b24(0x1c8)])==='traa',_0x51d120=tsl.pass(this[_0x417b24(0x20e)],this['camera']);if(_0x5bb799||_0xe56ce8){const _0x3ac76e={'output':tsl.output};if(_0x5bb799)_0x3ac76e['normal']=tsl.normalView;if(_0xe56ce8)_0x3ac76e[_0x417b24(0x1e7)]=tsl.velocity;_0x51d120['setMRT'](tsl.mrt(_0x3ac76e));}const _0x50a036=_0x51d120['getTextureNode'](_0x417b24(0x1c4)),_0x1dfc9c=_0x51d120[_0x417b24(0x202)](_0x417b24(0x20d)),_0x2734e2=_0x51d120[_0x417b24(0x1bf)](),_0x421d6f=_0x5bb799?_0x51d120['getTextureNode'](_0x417b24(0x209)):null,_0x5c846c=_0xe56ce8?_0x51d120['getTextureNode'](_0x417b24(0x1e7)):null,_0x2ba963=this[_0x417b24(0x212)];let _0x45ba98=_0x50a036;const _0x46be67=_0x246945[_0x417b24(0x1ef)](exports.PostProcessStepType['Bloom']),_0x365960=_0x246945[_0x417b24(0x1ef)](exports.PostProcessStepType[_0x417b24(0x1cc)]);if(_0x46be67||_0x365960){const _0x1bcaed=(_0x8edb61=this[_0x417b24(0x1ea)](exports.PostProcessStepType[_0x417b24(0x1d2)]))!==null&&_0x8edb61!==void 0?_0x8edb61:DefaultBloomParam;this[_0x417b24(0x1f7)]=BloomNode_js.bloom(_0x50a036),this[_0x417b24(0x1f7)]['threshold'][_0x417b24(0x21f)]=_0x1bcaed[_0x417b24(0x21d)],this[_0x417b24(0x1f7)]['strength'][_0x417b24(0x21f)]=_0x1bcaed[_0x417b24(0x1b4)],this[_0x417b24(0x1f7)][_0x417b24(0x1d6)][_0x417b24(0x21f)]=_0x1bcaed[_0x417b24(0x1d6)];if(_0x46be67){const _0x15a778=this[_0x417b24(0x1f7)][_0x417b24(0x1b8)](_0x2ba963[_0x417b24(0x213)]);_0x45ba98=tsl.vec4(_0x50a036['r'][_0x417b24(0x1f8)](_0x15a778['r']),_0x50a036['g'][_0x417b24(0x1f8)](_0x15a778['g']),_0x50a036['b'][_0x417b24(0x1f8)](_0x15a778['b']),_0x50a036['a']);}if(_0x365960){const _0x36a4e1=(_0x3b72d7=this[_0x417b24(0x1ea)](exports.PostProcessStepType[_0x417b24(0x1cc)]))!==null&&_0x3b72d7!==void 0?_0x3b72d7:DefaultLensFlareParam;this[_0x417b24(0x208)]=LensflareNode_js.lensflare(this[_0x417b24(0x1f7)]['getTextureNode'](),{'ghostTint':tsl.vec3(_0x36a4e1[_0x417b24(0x1c0)][0x0],_0x36a4e1[_0x417b24(0x1c0)][0x1],_0x36a4e1[_0x417b24(0x1c0)][0x2]),'threshold':tsl.float(_0x36a4e1[_0x417b24(0x21d)]),'ghostSamples':tsl.float(_0x36a4e1['ghostSamples']),'ghostSpacing':tsl.float(_0x36a4e1['ghostSpacing']),'ghostAttenuationFactor':tsl.float(_0x36a4e1[_0x417b24(0x1bb)]),'downSampleRatio':_0x36a4e1[_0x417b24(0x1c2)]});const _0x523a8d=this[_0x417b24(0x208)][_0x417b24(0x202)]();_0x45ba98=tsl.vec4(_0x45ba98['r'][_0x417b24(0x1f8)](_0x523a8d['r']),_0x45ba98['g'][_0x417b24(0x1f8)](_0x523a8d['g']),_0x45ba98['b'][_0x417b24(0x1f8)](_0x523a8d['b']),_0x45ba98['a']);}}if(_0x246945['has'](exports.PostProcessStepType[_0x417b24(0x1dc)])){const _0x101fc9=(_0x37fa33=this[_0x417b24(0x1ea)](exports.PostProcessStepType['DepthOfField']))!==null&&_0x37fa33!==void 0?_0x37fa33:DefaultDOFParam;this[_0x417b24(0x1b5)]=DepthOfFieldNode_js.dof(_0x45ba98,_0x2734e2,tsl.uniform(_0x101fc9[_0x417b24(0x224)]),tsl.uniform(_0x101fc9[_0x417b24(0x215)]),tsl.uniform(_0x101fc9[_0x417b24(0x20c)])),_0x45ba98=tsl.vec4(this[_0x417b24(0x1b5)]['r'],this['dofPass']['g'],this[_0x417b24(0x1b5)]['b'],_0x50a036['a']);}if(_0x5bb799&&_0x421d6f){const _0x42e82d=(_0x34f1c9=this[_0x417b24(0x1ea)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x34f1c9!==void 0?_0x34f1c9:DefaultGTAOParam;this['gtaoPass']=GTAONode_js.ao(_0x1dfc9c,_0x421d6f,this[_0x417b24(0x1c6)]),this[_0x417b24(0x1c3)][_0x417b24(0x1c9)]=0.5,this[_0x417b24(0x1c3)][_0x417b24(0x1df)][_0x417b24(0x21f)]=_0x42e82d[_0x417b24(0x1df)],this['gtaoPass'][_0x417b24(0x1cb)][_0x417b24(0x21f)]=_0x42e82d[_0x417b24(0x1cb)],this[_0x417b24(0x1c3)][_0x417b24(0x1d6)][_0x417b24(0x21f)]=_0x42e82d[_0x417b24(0x1d6)],this[_0x417b24(0x1c3)][_0x417b24(0x1f2)][_0x417b24(0x21f)]=_0x42e82d[_0x417b24(0x1f2)],this[_0x417b24(0x1c3)][_0x417b24(0x214)][_0x417b24(0x21f)]=_0x42e82d[_0x417b24(0x214)],this[_0x417b24(0x1c3)][_0x417b24(0x205)]['value']=_0x42e82d['samples'],this[_0x417b24(0x1c3)]['useTemporalFiltering']=_0x42e82d[_0x417b24(0x227)];const _0xf96f11=this[_0x417b24(0x1c3)][_0x417b24(0x202)]()['r'];_0x45ba98=tsl.vec4(_0x45ba98['r'][_0x417b24(0x1b8)](_0xf96f11),_0x45ba98['g'][_0x417b24(0x1b8)](_0xf96f11),_0x45ba98['b'][_0x417b24(0x1b8)](_0xf96f11),_0x45ba98['a']);}if(_0x246945[_0x417b24(0x1ef)](exports.PostProcessStepType[_0x417b24(0x1e4)])){const _0x5e57f2=(_0x5ac4ea=this[_0x417b24(0x1ea)](exports.PostProcessStepType[_0x417b24(0x1e4)]))!==null&&_0x5ac4ea!==void 0?_0x5ac4ea:DefaultOutlineParams;this['outlinePass']=OutlineNode_js.outline(this[_0x417b24(0x20e)],this[_0x417b24(0x1c6)],{'selectedObjects':this[_0x417b24(0x1ec)],'edgeGlow':tsl.uniform(_0x5e57f2[_0x417b24(0x225)]),'edgeThickness':tsl.uniform(_0x5e57f2[_0x417b24(0x1c7)])});const {visibleEdge:_0x60007a,hiddenEdge:_0x13f3bb}=this['outlinePass'],_0x53e5d8=_0x2ba963[_0x417b24(0x1fe)][_0x417b24(0x218)](0x0)[_0x417b24(0x1e2)](_0x2ba963[_0x417b24(0x1fe)],tsl.uniform(0x1)),_0x3c7396=tsl.time['div'](_0x53e5d8)['mul'](0x2),_0x3be172=tsl.oscSine(_0x3c7396)['mul'](0.5)[_0x417b24(0x1f8)](0.5),_0x4d5f80=_0x60007a[_0x417b24(0x1b8)](_0x2ba963[_0x417b24(0x1d4)])['add'](_0x13f3bb['mul'](_0x2ba963['outlineHiddenEdgeColor']))['mul'](_0x2ba963[_0x417b24(0x200)]),_0x15eb6f=_0x2ba963[_0x417b24(0x1fe)][_0x417b24(0x218)](0x0),_0x42bdb4=_0x15eb6f[_0x417b24(0x1e2)](_0x3be172,tsl.float(0x1));_0x45ba98=tsl.vec4(_0x45ba98['r'][_0x417b24(0x1f8)](_0x4d5f80['r'][_0x417b24(0x1b8)](_0x42bdb4)),_0x45ba98['g'][_0x417b24(0x1f8)](_0x4d5f80['g'][_0x417b24(0x1b8)](_0x42bdb4)),_0x45ba98['b'][_0x417b24(0x1f8)](_0x4d5f80['b'][_0x417b24(0x1b8)](_0x42bdb4)),_0x45ba98['a']);}if(_0x52e2d6){if(_0x52e2d6[_0x417b24(0x1c8)]===_0x417b24(0x1bd))_0x45ba98=FXAANode_js.fxaa(_0x45ba98);else {if(_0x52e2d6[_0x417b24(0x1c8)]==='smaa')_0x45ba98=SMAANode_js.smaa(_0x45ba98);else _0x52e2d6[_0x417b24(0x1c8)]==='traa'&&_0x5c846c&&(this['traaPass']=TRAANode_js.traa(_0x45ba98,_0x1dfc9c,_0x5c846c,this[_0x417b24(0x1c6)]),_0x45ba98=this[_0x417b24(0x226)][_0x417b24(0x202)]());}}_0x45ba98=this[_0x417b24(0x203)](_0x45ba98),_0x45ba98=tsl.vec4(_0x45ba98['r'],_0x45ba98['g'],_0x45ba98['b'],_0x50a036['a']),this[_0x417b24(0x1ca)][_0x417b24(0x210)]=_0x45ba98,this[_0x417b24(0x1ca)][_0x417b24(0x223)]=!![];}['onBuildFinalNode'](_0x3de309){return _0x3de309;}['createEffectUniforms'](){const _0x49deda=_0x2f1cc6;var _0x238b2f,_0x3fb84b,_0xd57e8f,_0x212588;const _0x1877de=(_0x238b2f=this[_0x49deda(0x1ea)](exports.PostProcessStepType[_0x49deda(0x1d2)]))!==null&&_0x238b2f!==void 0?_0x238b2f:DefaultBloomParam,_0x25e0e8=(_0x3fb84b=this[_0x49deda(0x1ea)](exports.PostProcessStepType[_0x49deda(0x1dc)]))!==null&&_0x3fb84b!==void 0?_0x3fb84b:DefaultDOFParam,_0x52bc15=(_0xd57e8f=this[_0x49deda(0x1ea)](exports.PostProcessStepType[_0x49deda(0x20b)]))!==null&&_0xd57e8f!==void 0?_0xd57e8f:DefaultGTAOParam,_0x252df1=(_0x212588=this['getStepParam'](exports.PostProcessStepType[_0x49deda(0x1e4)]))!==null&&_0x212588!==void 0?_0x212588:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x1877de['strength']),'bloomThreshold':tsl.uniform(_0x1877de[_0x49deda(0x21d)]),'bloomRadius':tsl.uniform(_0x1877de['radius']),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x25e0e8[_0x49deda(0x224)]),'dofAperture':tsl.uniform(_0x25e0e8[_0x49deda(0x215)]),'dofMaxBlur':tsl.uniform(_0x25e0e8[_0x49deda(0x20c)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x52bc15[_0x49deda(0x1f2)]),'gtaoDistanceExponent':tsl.uniform(_0x52bc15['distanceExponent']),'gtaoDistanceFallOff':tsl.uniform(_0x52bc15[_0x49deda(0x1cb)]),'gtaoRadius':tsl.uniform(_0x52bc15['radius']),'gtaoThickness':tsl.uniform(_0x52bc15[_0x49deda(0x214)]),'gtaoSamples':tsl.uniform(_0x52bc15[_0x49deda(0x205)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x252df1[_0x49deda(0x1d9)]),'outlineEdgeGlow':tsl.uniform(_0x252df1['edgeGlow']),'outlineEdgeThickness':tsl.uniform(_0x252df1[_0x49deda(0x1c7)]),'outlinePulsePeriod':tsl.uniform(_0x252df1[_0x49deda(0x21b)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x252df1['visibleEdgeColor'])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x252df1['hiddenEdgeColor'])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}['getStepParam'](_0x1350fa){const _0x501646=_0x2f1cc6;var _0x359d7b;return (_0x359d7b=this[_0x501646(0x22a)][_0x501646(0x1cf)][_0x501646(0x1b6)](_0x100bd4=>_0x100bd4[_0x501646(0x1db)]===_0x1350fa))!==null&&_0x359d7b!==void 0?_0x359d7b:null;}['updateAllUniforms'](){const _0x3521a3=_0x2f1cc6;if(!this['effectUniforms'])return;const _0x37564e=this[_0x3521a3(0x212)],_0x20ef0c=new Set(this[_0x3521a3(0x22a)]['steps'][_0x3521a3(0x1fb)](_0x1bc559=>_0x1bc559[_0x3521a3(0x1db)]));_0x37564e['bloomEnabled'][_0x3521a3(0x21f)]=_0x20ef0c[_0x3521a3(0x1ef)](exports.PostProcessStepType[_0x3521a3(0x1d2)])?0x1:0x0,_0x37564e[_0x3521a3(0x211)][_0x3521a3(0x21f)]=_0x20ef0c[_0x3521a3(0x1ef)](exports.PostProcessStepType[_0x3521a3(0x1dc)])?0x1:0x0,_0x37564e[_0x3521a3(0x1ff)][_0x3521a3(0x21f)]=_0x20ef0c[_0x3521a3(0x1ef)](exports.PostProcessStepType['GroundTruthAmbientOcclusion'])?0x1:0x0,_0x37564e[_0x3521a3(0x1f4)][_0x3521a3(0x21f)]=_0x20ef0c['has'](exports.PostProcessStepType[_0x3521a3(0x1e4)])?0x1:0x0,_0x37564e['lensflareEnabled'][_0x3521a3(0x21f)]=_0x20ef0c[_0x3521a3(0x1ef)](exports.PostProcessStepType[_0x3521a3(0x1cc)])?0x1:0x0;const _0x181d69=this['getStepParam'](exports.PostProcessStepType[_0x3521a3(0x1fa)]);_0x181d69?(_0x37564e[_0x3521a3(0x229)][_0x3521a3(0x21f)]=_0x181d69[_0x3521a3(0x1c8)]==='fxaa'?0x1:0x0,_0x37564e['smaaEnabled'][_0x3521a3(0x21f)]=_0x181d69[_0x3521a3(0x1c8)]===_0x3521a3(0x22d)?0x1:0x0):(_0x37564e[_0x3521a3(0x229)]['value']=0x0,_0x37564e['smaaEnabled'][_0x3521a3(0x21f)]=0x0);const _0x3b1cdd=this[_0x3521a3(0x1ea)](exports.PostProcessStepType[_0x3521a3(0x1d2)]);_0x3b1cdd&&(_0x37564e[_0x3521a3(0x213)]['value']=_0x3b1cdd[_0x3521a3(0x1b4)],_0x37564e['bloomThreshold']['value']=_0x3b1cdd[_0x3521a3(0x21d)],_0x37564e[_0x3521a3(0x1f1)]['value']=_0x3b1cdd[_0x3521a3(0x1d6)],this[_0x3521a3(0x1f7)]&&(this['bloomPass']['threshold'][_0x3521a3(0x21f)]=_0x3b1cdd[_0x3521a3(0x21d)],this['bloomPass'][_0x3521a3(0x1b4)][_0x3521a3(0x21f)]=_0x3b1cdd['strength'],this[_0x3521a3(0x1f7)]['radius'][_0x3521a3(0x21f)]=_0x3b1cdd[_0x3521a3(0x1d6)]));const _0x46e134=this[_0x3521a3(0x1ea)](exports.PostProcessStepType['LensFlare']);if(_0x46e134&&this[_0x3521a3(0x208)]);const _0x7a1f94=this[_0x3521a3(0x1ea)](exports.PostProcessStepType[_0x3521a3(0x1dc)]);_0x7a1f94&&(_0x37564e['dofFocus'][_0x3521a3(0x21f)]=_0x7a1f94[_0x3521a3(0x224)],_0x37564e[_0x3521a3(0x1e3)][_0x3521a3(0x21f)]=_0x7a1f94['aperture'],_0x37564e[_0x3521a3(0x228)][_0x3521a3(0x21f)]=_0x7a1f94[_0x3521a3(0x20c)],this[_0x3521a3(0x1b5)]&&(this[_0x3521a3(0x1b5)][_0x3521a3(0x22b)][_0x3521a3(0x21f)]=_0x7a1f94[_0x3521a3(0x224)],this['dofPass'][_0x3521a3(0x1eb)][_0x3521a3(0x21f)]=_0x7a1f94['aperture'],this[_0x3521a3(0x1b5)][_0x3521a3(0x222)][_0x3521a3(0x21f)]=_0x7a1f94['maxblur']));const _0x422e3f=this[_0x3521a3(0x1ea)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']);_0x422e3f&&(_0x37564e[_0x3521a3(0x1d5)][_0x3521a3(0x21f)]=_0x422e3f[_0x3521a3(0x1f2)],_0x37564e[_0x3521a3(0x1f0)][_0x3521a3(0x21f)]=_0x422e3f[_0x3521a3(0x1df)],_0x37564e[_0x3521a3(0x1d1)]['value']=_0x422e3f['distanceFallOff'],_0x37564e[_0x3521a3(0x1d3)][_0x3521a3(0x21f)]=_0x422e3f[_0x3521a3(0x1d6)],_0x37564e['gtaoThickness'][_0x3521a3(0x21f)]=_0x422e3f[_0x3521a3(0x214)],_0x37564e['gtaoSamples']['value']=_0x422e3f[_0x3521a3(0x205)],this[_0x3521a3(0x1c3)]&&(this['gtaoPass']['distanceExponent'][_0x3521a3(0x21f)]=_0x422e3f[_0x3521a3(0x1df)],this['gtaoPass'][_0x3521a3(0x1cb)][_0x3521a3(0x21f)]=_0x422e3f[_0x3521a3(0x1cb)],this[_0x3521a3(0x1c3)][_0x3521a3(0x1d6)][_0x3521a3(0x21f)]=_0x422e3f[_0x3521a3(0x1d6)],this[_0x3521a3(0x1c3)][_0x3521a3(0x1f2)]['value']=_0x422e3f[_0x3521a3(0x1f2)],this[_0x3521a3(0x1c3)][_0x3521a3(0x214)][_0x3521a3(0x21f)]=_0x422e3f[_0x3521a3(0x214)],this['gtaoPass'][_0x3521a3(0x205)][_0x3521a3(0x21f)]=_0x422e3f[_0x3521a3(0x205)],this[_0x3521a3(0x1c3)][_0x3521a3(0x227)]=_0x422e3f[_0x3521a3(0x227)]));const _0x5e501a=this['getStepParam'](exports.PostProcessStepType[_0x3521a3(0x1e4)]);_0x5e501a&&(_0x37564e['outlineEdgeStrength']['value']=_0x5e501a[_0x3521a3(0x1d9)],_0x37564e[_0x3521a3(0x1ba)]['value']=_0x5e501a[_0x3521a3(0x225)],_0x37564e['outlineEdgeThickness'][_0x3521a3(0x21f)]=_0x5e501a[_0x3521a3(0x1c7)],_0x37564e[_0x3521a3(0x1fe)][_0x3521a3(0x21f)]=_0x5e501a[_0x3521a3(0x21b)],_0x37564e[_0x3521a3(0x1d4)][_0x3521a3(0x21f)]['set'](_0x5e501a[_0x3521a3(0x1fc)]),_0x37564e[_0x3521a3(0x1d8)][_0x3521a3(0x21f)]['set'](_0x5e501a['hiddenEdgeColor']),this[_0x3521a3(0x1c1)]&&(this[_0x3521a3(0x1c1)][_0x3521a3(0x1e1)][_0x3521a3(0x21f)]=_0x5e501a[_0x3521a3(0x225)],this['outlinePass'][_0x3521a3(0x1c5)][_0x3521a3(0x21f)]=_0x5e501a[_0x3521a3(0x1c7)],this['outlinePass']['selectedObjects']=this[_0x3521a3(0x1ec)]));}['updateSteps'](_0x52730f){const _0x4fe3b4=_0x2f1cc6;this['postProcessParam'][_0x4fe3b4(0x1cf)]=_0x52730f,this[_0x4fe3b4(0x1fd)](),this[_0x4fe3b4(0x1cd)](),this[_0x4fe3b4(0x1ed)]();}[_0x2f1cc6(0x1f6)](){const _0x89e971=_0x2f1cc6;!this[_0x89e971(0x1b7)]&&(this[_0x89e971(0x1b7)]=new webgpu.Mesh(new webgpu.BufferGeometry()),this[_0x89e971(0x1b7)]['name']=_0x89e971(0x1ce),this[_0x89e971(0x1b7)][_0x89e971(0x1e0)]=![],this[_0x89e971(0x1b7)]['frustumCulled']=![]),!this['outlineObjects'][_0x89e971(0x1e8)](this[_0x89e971(0x1b7)])&&this['outlineObjects'][_0x89e971(0x21e)](this[_0x89e971(0x1b7)]);}[_0x2f1cc6(0x221)](_0x632eac){const _0x8b269=_0x2f1cc6;this[_0x8b269(0x1f6)](),!this[_0x8b269(0x1ec)][_0x8b269(0x1e8)](_0x632eac)&&(this['outlineObjects'][_0x8b269(0x21e)](_0x632eac),this[_0x8b269(0x1c1)]&&(this[_0x8b269(0x1c1)][_0x8b269(0x201)]=this[_0x8b269(0x1ec)])),this[_0x8b269(0x1ed)]();}[_0x2f1cc6(0x219)](_0x3d712d){const _0x406509=_0x2f1cc6;this[_0x406509(0x1ec)]['length']=0x0,this['outlineObjects'][_0x406509(0x21e)](..._0x3d712d),this['ensureOutlinePlaceholder'](),this[_0x406509(0x1c1)]&&(this['outlinePass'][_0x406509(0x201)]=this[_0x406509(0x1ec)]),this[_0x406509(0x1ed)]();}[_0x2f1cc6(0x1f3)](_0x2e75da){const _0x2de49a=_0x2f1cc6,_0x12baa9=this[_0x2de49a(0x1ec)][_0x2de49a(0x1ee)](_0x2e75da);_0x12baa9>-1&&(this[_0x2de49a(0x1ec)][_0x2de49a(0x1da)](_0x12baa9,0x1),this['outlinePass']&&(this[_0x2de49a(0x1c1)][_0x2de49a(0x201)]=this[_0x2de49a(0x1ec)])),this[_0x2de49a(0x1f6)](),this[_0x2de49a(0x1ed)]();}[_0x2f1cc6(0x20f)](_0x4cbe31){const _0x3e6fde=_0x2f1cc6;this[_0x3e6fde(0x217)]=_0x4cbe31,this['buildPipeline'](),this['updateAllUniforms'](),this['markDirty']();}[_0x2f1cc6(0x216)](){const _0xe85ded=_0x2f1cc6;return this[_0xe85ded(0x217)];}['render'](){const _0x707f7d=_0x2f1cc6;if(this[_0x707f7d(0x1ca)])return this['postProcessing'][_0x707f7d(0x21a)](),!![];return ![];}[_0x2f1cc6(0x1de)](){const _0x1f8c50=_0x2f1cc6;this['outlineObjects']=[],this[_0x1f8c50(0x212)]=null,this['outlinePass']=null,this[_0x1f8c50(0x1f7)]=null,this[_0x1f8c50(0x1b5)]=null,this[_0x1f8c50(0x1c3)]=null,this[_0x1f8c50(0x226)]=null,this[_0x1f8c50(0x208)]=null,this[_0x1f8c50(0x217)]=null,this[_0x1f8c50(0x1ca)]&&(this['postProcessing']['dispose'](),this[_0x1f8c50(0x1ca)]=null);}[_0x2f1cc6(0x1ed)](){const _0x3a3dec=_0x2f1cc6;this[_0x3a3dec(0x1b9)]&&this['onDirtyCallback']();}}
|
|
81
81
|
|
|
82
|
-
const _0x13b9bf=_0x1a4f;(function(_0x1682f3,_0x5688e6){const _0x3966e4=_0x1a4f,_0x3bd1a1=_0x1682f3();while(!![]){try{const _0x215676=-parseInt(_0x3966e4(0xb4))/0x1+-parseInt(_0x3966e4(0xa1))/0x2*(-parseInt(_0x3966e4(0x85))/0x3)+-parseInt(_0x3966e4(0xbc))/0x4*(-parseInt(_0x3966e4(0xaa))/0x5)+-parseInt(_0x3966e4(0xc1))/0x6+-parseInt(_0x3966e4(0xac))/0x7+parseInt(_0x3966e4(0x97))/0x8*(-parseInt(_0x3966e4(0xbf))/0x9)+-parseInt(_0x3966e4(0x87))/0xa*(-parseInt(_0x3966e4(0x8b))/0xb);if(_0x215676===_0x5688e6)break;else _0x3bd1a1['push'](_0x3bd1a1['shift']());}catch(_0x309ee7){_0x3bd1a1['push'](_0x3bd1a1['shift']());}}}(_0x3a90,0xe59ea));function _0x1a4f(_0x254ada,_0xb0fdcd){_0x254ada=_0x254ada-0x7c;const _0x3a9001=_0x3a90();let _0x1a4fd0=_0x3a9001[_0x254ada];return _0x1a4fd0;}function _0x3a90(){const _0x537313=['markDirty','Bloom','edgeStrength','GroundTruthAmbientOcclusion','edgeGlow','buildPipeline','renderPass','2csLubc','getSize','updateGTAOParameters','find','bloomPass','setup','fxaa','outputPass','addPass','10kbXgLK','onDirtyCallback','4732245KPeEzY','processing','setLUT3DTexture','splice','steps','dispose','set','dofPass','1402586OAeAwn','scene','type','DepthOfField','postProcessParam','Outline','setOutlineObjects','buildCustomPostProcess','1697876vypAXf','length','strength','2612565ujCooG','renderCamera','1166724qbKAib','getStepParam','resize','setSize','fxaaPass','render','threshold','renderer','gtaoPass','camera','assign','pulsePeriod','lut3dTexture','maxblur','method','updateAllParameters','has','blendIntensity','composer','smaaPass','smaa','updateOutlineParameters','5458518heOFmM','edgeThickness','3730OgSTuR','destroy','radius','updateSteps','67441oKCijS','updateCamera','visibleEdgeColor','outlineObjects','value','focus','removeOutlineObject','includes','lutPass','indexOf','selectedObjects','aperture','48GCqjIM','uniforms','outlinePass'];_0x3a90=function(){return _0x537313;};return _0x3a90();}class WebGLPostProcessManager{constructor(_0x395487,_0x4d73bc,_0x539c96,_0x29ad9e,_0x34211a){const _0x4d5229=_0x1a4f;this[_0x4d5229(0x81)]=null,this[_0x4d5229(0x8e)]=[],this[_0x4d5229(0xa0)]=null,this['outlinePass']=null,this['bloomPass']=null,this[_0x4d5229(0xb3)]=null,this[_0x4d5229(0xc9)]=null,this[_0x4d5229(0x82)]=null,this[_0x4d5229(0xc5)]=null,this[_0x4d5229(0x93)]=null,this[_0x4d5229(0xa8)]=null,this[_0x4d5229(0xcd)]=null,this[_0x4d5229(0xab)]=null,this['renderer']=_0x395487,this[_0x4d5229(0xb5)]=_0x4d73bc,this[_0x4d5229(0xca)]=_0x539c96,this['postProcessParam']=Object[_0x4d5229(0xcb)]({},_0x29ad9e),this[_0x4d5229(0xab)]=_0x34211a!==null&&_0x34211a!==void 0?_0x34211a:null;}get[_0x13b9bf(0xad)](){const _0x3f64e5=_0x13b9bf;return this[_0x3f64e5(0x81)];}[_0x13b9bf(0x8c)](_0x4fecac){const _0x5815f2=_0x13b9bf;this[_0x5815f2(0xca)]=_0x4fecac;if(!this[_0x5815f2(0x81)])this[_0x5815f2(0x9f)](),this[_0x5815f2(0x9a)]();else {if(this['renderPass'])this[_0x5815f2(0xa0)][_0x5815f2(0xca)]=this['camera'];if(this[_0x5815f2(0x99)])this[_0x5815f2(0x99)][_0x5815f2(0xc0)]=this['camera'];this[_0x5815f2(0xb3)]&&(this['dofPass'][_0x5815f2(0xca)]=this['camera']),this['gtaoPass']&&(this[_0x5815f2(0xc9)][_0x5815f2(0xca)]=this[_0x5815f2(0xca)]);}}[_0x13b9bf(0xa6)](){const _0x5361a1=_0x13b9bf;!this['composer']?this[_0x5361a1(0x9f)]():this['updateAllParameters'](),this[_0x5361a1(0x9a)]();}[_0x13b9bf(0x9f)](){const _0x1225ec=_0x13b9bf;var _0x168153,_0x19e1d1,_0xc02312,_0x3c3958;this['composer']&&this[_0x1225ec(0x81)][_0x1225ec(0xb1)]();this[_0x1225ec(0x81)]=new EffectComposer_js.EffectComposer(this['renderer']),this[_0x1225ec(0xa0)]=new RenderPass_js.RenderPass(this[_0x1225ec(0xb5)],this[_0x1225ec(0xca)]),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this[_0x1225ec(0xa0)]),this[_0x1225ec(0x99)]=null,this[_0x1225ec(0xa5)]=null,this[_0x1225ec(0xb3)]=null,this[_0x1225ec(0xc9)]=null,this[_0x1225ec(0x82)]=null,this['fxaaPass']=null,this[_0x1225ec(0x93)]=null,this[_0x1225ec(0xa8)]=null;const _0x1105f4=new Set(this[_0x1225ec(0xb8)][_0x1225ec(0xb0)]['map'](_0x22a84a=>_0x22a84a[_0x1225ec(0xb6)]));if(_0x1105f4[_0x1225ec(0x7f)](exports.PostProcessStepType['GroundTruthAmbientOcclusion'])){const _0x2ac744=(_0x168153=this[_0x1225ec(0xc2)](exports.PostProcessStepType[_0x1225ec(0x9d)]))!==null&&_0x168153!==void 0?_0x168153:DefaultGTAOParam,_0x4377a3=this[_0x1225ec(0xc8)]['getSize'](new three.Vector2());this[_0x1225ec(0xc9)]=new GTAOPass_js.GTAOPass(this[_0x1225ec(0xb5)],this[_0x1225ec(0xca)],_0x4377a3['x'],_0x4377a3['y']),this[_0x1225ec(0xa3)](_0x2ac744),this[_0x1225ec(0x81)]['addPass'](this[_0x1225ec(0xc9)]);}if(_0x1105f4[_0x1225ec(0x7f)](exports.PostProcessStepType[_0x1225ec(0xb7)])){const _0x526d7d=(_0x19e1d1=this['getStepParam'](exports.PostProcessStepType[_0x1225ec(0xb7)]))!==null&&_0x19e1d1!==void 0?_0x19e1d1:DefaultDOFParam;this[_0x1225ec(0xb3)]=new BokehPass_js.BokehPass(this[_0x1225ec(0xb5)],this[_0x1225ec(0xca)],{'focus':_0x526d7d[_0x1225ec(0x90)],'aperture':_0x526d7d[_0x1225ec(0x96)],'maxblur':_0x526d7d[_0x1225ec(0x7c)]}),this['composer'][_0x1225ec(0xa9)](this['dofPass']);}if(_0x1105f4[_0x1225ec(0x7f)](exports.PostProcessStepType['Bloom'])){const _0x1cfe96=(_0xc02312=this[_0x1225ec(0xc2)](exports.PostProcessStepType[_0x1225ec(0x9b)]))!==null&&_0xc02312!==void 0?_0xc02312:DefaultBloomParam,_0x144cc4=this['renderer'][_0x1225ec(0xa2)](new three.Vector2());this[_0x1225ec(0xa5)]=new UnrealBloomPass_js.UnrealBloomPass(_0x144cc4,_0x1cfe96[_0x1225ec(0xbe)],_0x1cfe96[_0x1225ec(0x89)],_0x1cfe96['threshold']),this['composer'][_0x1225ec(0xa9)](this[_0x1225ec(0xa5)]);}if(_0x1105f4[_0x1225ec(0x7f)](exports.PostProcessStepType[_0x1225ec(0xb9)])){const _0x440f0c=(_0x3c3958=this['getStepParam'](exports.PostProcessStepType[_0x1225ec(0xb9)]))!==null&&_0x3c3958!==void 0?_0x3c3958:DefaultOutlineParams,_0x1af665=this[_0x1225ec(0xc8)][_0x1225ec(0xa2)](new three.Vector2());this[_0x1225ec(0x99)]=new OutlinePass_js.OutlinePass(_0x1af665,this['scene'],this[_0x1225ec(0xca)]),this[_0x1225ec(0x99)]['selectedObjects']=this[_0x1225ec(0x8e)],this[_0x1225ec(0x84)](_0x440f0c),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this[_0x1225ec(0x99)]);}this[_0x1225ec(0xcd)]&&(this[_0x1225ec(0x93)]=new LUTPass_js.LUTPass({'lut':this['lut3dTexture']}),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this['lutPass']));const _0x2d0564=this[_0x1225ec(0xc2)](exports.PostProcessStepType['Antialiasing']);if(_0x2d0564){const _0xddfcc9=this[_0x1225ec(0xc8)][_0x1225ec(0xa2)](new three.Vector2());if(_0x2d0564[_0x1225ec(0x7d)]===_0x1225ec(0xa7))this[_0x1225ec(0xc5)]=new ShaderPass_js.ShaderPass(FXAAShader_js.FXAAShader),this[_0x1225ec(0xc5)]['uniforms']['resolution']['value'][_0x1225ec(0xb2)](0x1/_0xddfcc9['x'],0x1/_0xddfcc9['y']),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this[_0x1225ec(0xc5)]);else _0x2d0564['method']===_0x1225ec(0x83)&&(this['smaaPass']=new SMAAPass_js.SMAAPass(_0xddfcc9['x'],_0xddfcc9['y']),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this[_0x1225ec(0x82)]));}this[_0x1225ec(0xa8)]=new OutputPass_js.OutputPass(),this[_0x1225ec(0x81)][_0x1225ec(0xa9)](this[_0x1225ec(0xa8)]);}[_0x13b9bf(0xbb)](_0x2a20b9,_0x1c63f1){const _0x4e60da=_0x13b9bf;this[_0x4e60da(0x81)]&&this['composer'][_0x4e60da(0xb1)]();this['composer']=new EffectComposer_js.EffectComposer(this['renderer'],_0x2a20b9),this[_0x4e60da(0xa0)]=null,this[_0x4e60da(0x99)]=null,this['bloomPass']=null,this['dofPass']=null,this[_0x4e60da(0xc9)]=null,this[_0x4e60da(0x82)]=null,this['fxaaPass']=null,this['lutPass']=null,this['outputPass']=null,this[_0x4e60da(0xa0)]=new RenderPass_js.RenderPass(this[_0x4e60da(0xb5)],this[_0x4e60da(0xca)]),this[_0x4e60da(0x81)][_0x4e60da(0xa9)](this['renderPass']);for(const _0x5b8fee of _0x1c63f1){this['composer'][_0x4e60da(0xa9)](_0x5b8fee);}this['outputPass']=new OutputPass_js.OutputPass(),this[_0x4e60da(0x81)][_0x4e60da(0xa9)](this[_0x4e60da(0xa8)]),this['markDirty']();}[_0x13b9bf(0xc2)](_0x21c4c6){const _0x20999d=_0x13b9bf;var _0x5ba12e;return (_0x5ba12e=this[_0x20999d(0xb8)][_0x20999d(0xb0)][_0x20999d(0xa4)](_0x5cb41c=>_0x5cb41c[_0x20999d(0xb6)]===_0x21c4c6))!==null&&_0x5ba12e!==void 0?_0x5ba12e:null;}[_0x13b9bf(0x7e)](){const _0x26a0c5=_0x13b9bf,_0x14a1f5=this[_0x26a0c5(0xc2)](exports.PostProcessStepType[_0x26a0c5(0x9b)]);_0x14a1f5&&this[_0x26a0c5(0xa5)]&&(this['bloomPass']['strength']=_0x14a1f5['strength'],this['bloomPass'][_0x26a0c5(0x89)]=_0x14a1f5[_0x26a0c5(0x89)],this['bloomPass'][_0x26a0c5(0xc7)]=_0x14a1f5['threshold']);const _0x4a7136=this[_0x26a0c5(0xc2)](exports.PostProcessStepType[_0x26a0c5(0xb7)]);if(_0x4a7136&&this[_0x26a0c5(0xb3)]){const _0x10d21a=this['dofPass'];_0x10d21a[_0x26a0c5(0x98)]&&(_0x10d21a[_0x26a0c5(0x98)][_0x26a0c5(0x90)][_0x26a0c5(0x8f)]=_0x4a7136[_0x26a0c5(0x90)],_0x10d21a[_0x26a0c5(0x98)][_0x26a0c5(0x96)][_0x26a0c5(0x8f)]=_0x4a7136[_0x26a0c5(0x96)],_0x10d21a['uniforms']['maxblur'][_0x26a0c5(0x8f)]=_0x4a7136[_0x26a0c5(0x7c)]);}const _0x1b45d6=this[_0x26a0c5(0xc2)](exports.PostProcessStepType[_0x26a0c5(0x9d)]);_0x1b45d6&&this[_0x26a0c5(0xc9)]&&this['updateGTAOParameters'](_0x1b45d6);const _0x2ac714=this[_0x26a0c5(0xc2)](exports.PostProcessStepType[_0x26a0c5(0xb9)]);_0x2ac714&&this['outlinePass']&&this[_0x26a0c5(0x84)](_0x2ac714);}[_0x13b9bf(0xa3)](_0x491686){const _0x4f173d=_0x13b9bf;if(!this[_0x4f173d(0xc9)])return;this['gtaoPass'][_0x4f173d(0x80)]=_0x491686['scale'];}[_0x13b9bf(0x84)](_0x1160d4){const _0x5d5516=_0x13b9bf;if(!this[_0x5d5516(0x99)])return;this[_0x5d5516(0x99)][_0x5d5516(0x9c)]=_0x1160d4['edgeStrength'],this['outlinePass'][_0x5d5516(0x9e)]=_0x1160d4[_0x5d5516(0x9e)],this[_0x5d5516(0x99)][_0x5d5516(0x86)]=_0x1160d4[_0x5d5516(0x86)],this[_0x5d5516(0x99)][_0x5d5516(0xcc)]=_0x1160d4[_0x5d5516(0xcc)],this[_0x5d5516(0x99)][_0x5d5516(0x8d)]=new three.Color(_0x1160d4[_0x5d5516(0x8d)]),this['outlinePass']['hiddenEdgeColor']=new three.Color(_0x1160d4['hiddenEdgeColor']);}[_0x13b9bf(0x8a)](_0x4dfd38){const _0x4d5af7=_0x13b9bf;this[_0x4d5af7(0xb8)]['steps']=_0x4dfd38,this['buildPipeline'](),this[_0x4d5af7(0x9a)]();}['addOutlineObject'](_0x183e6a){const _0x530258=_0x13b9bf;!this['outlineObjects'][_0x530258(0x92)](_0x183e6a)&&(this[_0x530258(0x8e)]['push'](_0x183e6a),this[_0x530258(0x99)]&&(this[_0x530258(0x99)][_0x530258(0x95)]=this[_0x530258(0x8e)])),this[_0x530258(0x9a)]();}[_0x13b9bf(0xba)](_0x1301f0){const _0xb92e45=_0x13b9bf;this[_0xb92e45(0x8e)][_0xb92e45(0xbd)]=0x0,this[_0xb92e45(0x8e)]['push'](..._0x1301f0),this['outlinePass']&&(this['outlinePass'][_0xb92e45(0x95)]=this['outlineObjects']),this[_0xb92e45(0x9a)]();}[_0x13b9bf(0x91)](_0x1114d2){const _0x153dff=_0x13b9bf,_0x5c3bf3=this[_0x153dff(0x8e)][_0x153dff(0x94)](_0x1114d2);_0x5c3bf3>-1&&(this['outlineObjects'][_0x153dff(0xaf)](_0x5c3bf3,0x1),this['outlinePass']&&(this[_0x153dff(0x99)][_0x153dff(0x95)]=this['outlineObjects'])),this['markDirty']();}[_0x13b9bf(0xae)](_0x4ce573){const _0xba5d5f=_0x13b9bf;this['lut3dTexture']=_0x4ce573,this[_0xba5d5f(0x9f)](),this[_0xba5d5f(0x9a)]();}['getLUT3DTexture'](){const _0x2c00ba=_0x13b9bf;return this[_0x2c00ba(0xcd)];}[_0x13b9bf(0xc6)](){const _0x20de72=_0x13b9bf;if(this[_0x20de72(0x81)])return this['composer'][_0x20de72(0xc6)](),!![];return ![];}[_0x13b9bf(0xc3)](_0x353646,_0x6fa31){const _0x601432=_0x13b9bf;this[_0x601432(0x81)]&&this[_0x601432(0x81)][_0x601432(0xc4)](_0x353646,_0x6fa31),this['fxaaPass']&&this[_0x601432(0xc5)]['uniforms']['resolution'][_0x601432(0x8f)]['set'](0x1/_0x353646,0x1/_0x6fa31);}[_0x13b9bf(0x88)](){const _0x3b5c5a=_0x13b9bf;this[_0x3b5c5a(0x8e)]=[],this['outlinePass']=null,this[_0x3b5c5a(0xa5)]=null,this[_0x3b5c5a(0xb3)]=null,this[_0x3b5c5a(0xc9)]=null,this[_0x3b5c5a(0x82)]=null,this[_0x3b5c5a(0xc5)]=null,this[_0x3b5c5a(0x93)]=null,this[_0x3b5c5a(0xa8)]=null,this['lut3dTexture']=null,this[_0x3b5c5a(0x81)]&&(this[_0x3b5c5a(0x81)][_0x3b5c5a(0xb1)](),this['composer']=null);}[_0x13b9bf(0x9a)](){const _0xa2d71a=_0x13b9bf;this[_0xa2d71a(0xab)]&&this[_0xa2d71a(0xab)]();}}
|
|
82
|
+
const _0x19dfc1=_0x1348;(function(_0x3e1c8a,_0x41aab7){const _0xc23f53=_0x1348,_0x28a929=_0x3e1c8a();while(!![]){try{const _0x537420=parseInt(_0xc23f53(0x18d))/0x1+-parseInt(_0xc23f53(0x17b))/0x2*(-parseInt(_0xc23f53(0x1a7))/0x3)+-parseInt(_0xc23f53(0x1ab))/0x4*(-parseInt(_0xc23f53(0x168))/0x5)+parseInt(_0xc23f53(0x1a5))/0x6+-parseInt(_0xc23f53(0x18f))/0x7+-parseInt(_0xc23f53(0x1b0))/0x8+parseInt(_0xc23f53(0x1ad))/0x9*(parseInt(_0xc23f53(0x196))/0xa);if(_0x537420===_0x41aab7)break;else _0x28a929['push'](_0x28a929['shift']());}catch(_0x3ed0e8){_0x28a929['push'](_0x28a929['shift']());}}}(_0xc892,0x7478d));function _0x1348(_0x11a517,_0x35c742){_0x11a517=_0x11a517-0x163;const _0xc8928d=_0xc892();let _0x13482c=_0xc8928d[_0x11a517];return _0x13482c;}function _0xc892(){const _0x28b8c3=['method','postProcessParam','lutPass','938500hLLunR','getStepParam','4666417fuplFa','edgeGlow','gtaoPass','setSize','addPass','uniforms','dofPass','10gSdymo','maxblur','edgeStrength','radius','processing','bloomPass','aperture','smaa','onDirtyCallback','resolution','renderPass','value','focus','outlinePass','setup','3027810DnIFkO','indexOf','9TuHPgK','selectedObjects','renderer','scale','556dzlzAd','has','493605YmpxWp','set','type','5115568SfDXWj','visibleEdgeColor','getLUT3DTexture','resize','buildPipeline','destroy','outlineObjects','Outline','updateGTAOParameters','setLUT3DTexture','steps','3560cHbMfv','Antialiasing','map','GroundTruthAmbientOcclusion','camera','updateAllParameters','buildCustomPostProcess','updateCamera','updateOutlineParameters','dispose','getSize','markDirty','fxaaPass','push','threshold','hiddenEdgeColor','edgeThickness','strength','Bloom','124132nocLfC','pulsePeriod','smaaPass','addOutlineObject','render','lut3dTexture','outputPass','removeOutlineObject','fxaa','includes','setOutlineObjects','composer','DepthOfField','find','scene'];_0xc892=function(){return _0x28b8c3;};return _0xc892();}class WebGLPostProcessManager{constructor(_0x4cbcda,_0x38963c,_0x322ee0,_0x4c9004,_0x2e9a44){const _0x22e9cc=_0x1348;this['composer']=null,this[_0x22e9cc(0x163)]=[],this[_0x22e9cc(0x1a0)]=null,this[_0x22e9cc(0x1a3)]=null,this['bloomPass']=null,this[_0x22e9cc(0x195)]=null,this['gtaoPass']=null,this[_0x22e9cc(0x17d)]=null,this[_0x22e9cc(0x174)]=null,this['lutPass']=null,this[_0x22e9cc(0x181)]=null,this[_0x22e9cc(0x180)]=null,this[_0x22e9cc(0x19e)]=null,this[_0x22e9cc(0x1a9)]=_0x4cbcda,this[_0x22e9cc(0x189)]=_0x38963c,this[_0x22e9cc(0x16c)]=_0x322ee0,this[_0x22e9cc(0x18b)]=Object['assign']({},_0x4c9004),this[_0x22e9cc(0x19e)]=_0x2e9a44!==null&&_0x2e9a44!==void 0?_0x2e9a44:null;}get[_0x19dfc1(0x19a)](){const _0x12025c=_0x19dfc1;return this[_0x12025c(0x186)];}[_0x19dfc1(0x16f)](_0x3e11dd){const _0x1f45e9=_0x19dfc1;this[_0x1f45e9(0x16c)]=_0x3e11dd;if(!this[_0x1f45e9(0x186)])this['buildPipeline'](),this['markDirty']();else {if(this[_0x1f45e9(0x1a0)])this[_0x1f45e9(0x1a0)][_0x1f45e9(0x16c)]=this[_0x1f45e9(0x16c)];if(this[_0x1f45e9(0x1a3)])this[_0x1f45e9(0x1a3)]['renderCamera']=this[_0x1f45e9(0x16c)];this['dofPass']&&(this[_0x1f45e9(0x195)][_0x1f45e9(0x16c)]=this[_0x1f45e9(0x16c)]),this[_0x1f45e9(0x191)]&&(this['gtaoPass'][_0x1f45e9(0x16c)]=this[_0x1f45e9(0x16c)]);}}[_0x19dfc1(0x1a4)](){const _0x5adb6e=_0x19dfc1;!this[_0x5adb6e(0x186)]?this['buildPipeline']():this['updateAllParameters'](),this[_0x5adb6e(0x173)]();}[_0x19dfc1(0x1b4)](){const _0x5dac15=_0x19dfc1;var _0x4c7449,_0x312119,_0x48ddc7,_0x5c59ec;this[_0x5dac15(0x186)]&&this['composer'][_0x5dac15(0x171)]();this[_0x5dac15(0x186)]=new EffectComposer_js.EffectComposer(this['renderer']),this['renderPass']=new RenderPass_js.RenderPass(this[_0x5dac15(0x189)],this['camera']),this[_0x5dac15(0x186)][_0x5dac15(0x193)](this['renderPass']),this['outlinePass']=null,this[_0x5dac15(0x19b)]=null,this['dofPass']=null,this[_0x5dac15(0x191)]=null,this[_0x5dac15(0x17d)]=null,this[_0x5dac15(0x174)]=null,this[_0x5dac15(0x18c)]=null,this[_0x5dac15(0x181)]=null;const _0x25e786=new Set(this[_0x5dac15(0x18b)][_0x5dac15(0x167)][_0x5dac15(0x16a)](_0x360d29=>_0x360d29[_0x5dac15(0x1af)]));if(_0x25e786[_0x5dac15(0x1ac)](exports.PostProcessStepType[_0x5dac15(0x16b)])){const _0x524cde=(_0x4c7449=this[_0x5dac15(0x18e)](exports.PostProcessStepType[_0x5dac15(0x16b)]))!==null&&_0x4c7449!==void 0?_0x4c7449:DefaultGTAOParam,_0x88af78=this[_0x5dac15(0x1a9)]['getSize'](new three.Vector2());this[_0x5dac15(0x191)]=new GTAOPass_js.GTAOPass(this['scene'],this[_0x5dac15(0x16c)],_0x88af78['x'],_0x88af78['y']),this[_0x5dac15(0x165)](_0x524cde),this[_0x5dac15(0x186)][_0x5dac15(0x193)](this[_0x5dac15(0x191)]);}if(_0x25e786[_0x5dac15(0x1ac)](exports.PostProcessStepType[_0x5dac15(0x187)])){const _0x1294ea=(_0x312119=this[_0x5dac15(0x18e)](exports.PostProcessStepType[_0x5dac15(0x187)]))!==null&&_0x312119!==void 0?_0x312119:DefaultDOFParam;this[_0x5dac15(0x195)]=new BokehPass_js.BokehPass(this[_0x5dac15(0x189)],this[_0x5dac15(0x16c)],{'focus':_0x1294ea[_0x5dac15(0x1a2)],'aperture':_0x1294ea[_0x5dac15(0x19c)],'maxblur':_0x1294ea[_0x5dac15(0x197)]}),this[_0x5dac15(0x186)][_0x5dac15(0x193)](this[_0x5dac15(0x195)]);}if(_0x25e786[_0x5dac15(0x1ac)](exports.PostProcessStepType['Bloom'])){const _0x390a33=(_0x48ddc7=this[_0x5dac15(0x18e)](exports.PostProcessStepType[_0x5dac15(0x17a)]))!==null&&_0x48ddc7!==void 0?_0x48ddc7:DefaultBloomParam,_0x1408fc=this[_0x5dac15(0x1a9)][_0x5dac15(0x172)](new three.Vector2());this[_0x5dac15(0x19b)]=new UnrealBloomPass_js.UnrealBloomPass(_0x1408fc,_0x390a33[_0x5dac15(0x179)],_0x390a33[_0x5dac15(0x199)],_0x390a33['threshold']),this[_0x5dac15(0x186)][_0x5dac15(0x193)](this[_0x5dac15(0x19b)]);}if(_0x25e786[_0x5dac15(0x1ac)](exports.PostProcessStepType[_0x5dac15(0x164)])){const _0x1ba0a1=(_0x5c59ec=this[_0x5dac15(0x18e)](exports.PostProcessStepType[_0x5dac15(0x164)]))!==null&&_0x5c59ec!==void 0?_0x5c59ec:DefaultOutlineParams,_0x4529c6=this['renderer'][_0x5dac15(0x172)](new three.Vector2());this[_0x5dac15(0x1a3)]=new OutlinePass_js.OutlinePass(_0x4529c6,this[_0x5dac15(0x189)],this[_0x5dac15(0x16c)]),this[_0x5dac15(0x1a3)][_0x5dac15(0x1a8)]=this[_0x5dac15(0x163)],this[_0x5dac15(0x170)](_0x1ba0a1),this[_0x5dac15(0x186)][_0x5dac15(0x193)](this['outlinePass']);}this[_0x5dac15(0x180)]&&(this[_0x5dac15(0x18c)]=new LUTPass_js.LUTPass({'lut':this[_0x5dac15(0x180)]}),this[_0x5dac15(0x186)][_0x5dac15(0x193)](this['lutPass']));const _0x3b9888=this['getStepParam'](exports.PostProcessStepType[_0x5dac15(0x169)]);if(_0x3b9888){const _0x58686f=this[_0x5dac15(0x1a9)][_0x5dac15(0x172)](new three.Vector2());if(_0x3b9888[_0x5dac15(0x18a)]===_0x5dac15(0x183))this[_0x5dac15(0x174)]=new ShaderPass_js.ShaderPass(FXAAShader_js.FXAAShader),this[_0x5dac15(0x174)][_0x5dac15(0x194)][_0x5dac15(0x19f)][_0x5dac15(0x1a1)][_0x5dac15(0x1ae)](0x1/_0x58686f['x'],0x1/_0x58686f['y']),this['composer'][_0x5dac15(0x193)](this[_0x5dac15(0x174)]);else _0x3b9888[_0x5dac15(0x18a)]===_0x5dac15(0x19d)&&(this['smaaPass']=new SMAAPass_js.SMAAPass(_0x58686f['x'],_0x58686f['y']),this[_0x5dac15(0x186)][_0x5dac15(0x193)](this[_0x5dac15(0x17d)]));}this[_0x5dac15(0x181)]=new OutputPass_js.OutputPass(),this['composer'][_0x5dac15(0x193)](this[_0x5dac15(0x181)]);}[_0x19dfc1(0x16e)](_0x2460c0,_0x510ba1){const _0x20427e=_0x19dfc1;this[_0x20427e(0x186)]&&this[_0x20427e(0x186)][_0x20427e(0x171)]();this[_0x20427e(0x186)]=new EffectComposer_js.EffectComposer(this[_0x20427e(0x1a9)],_0x2460c0),this[_0x20427e(0x1a0)]=null,this[_0x20427e(0x1a3)]=null,this[_0x20427e(0x19b)]=null,this[_0x20427e(0x195)]=null,this[_0x20427e(0x191)]=null,this['smaaPass']=null,this['fxaaPass']=null,this[_0x20427e(0x18c)]=null,this['outputPass']=null,this[_0x20427e(0x1a0)]=new RenderPass_js.RenderPass(this[_0x20427e(0x189)],this[_0x20427e(0x16c)]),this[_0x20427e(0x186)]['addPass'](this[_0x20427e(0x1a0)]);for(const _0x4f29f3 of _0x510ba1){this[_0x20427e(0x186)][_0x20427e(0x193)](_0x4f29f3);}this['outputPass']=new OutputPass_js.OutputPass(),this['composer'][_0x20427e(0x193)](this[_0x20427e(0x181)]),this['markDirty']();}['getStepParam'](_0x53ad49){const _0x2643b2=_0x19dfc1;var _0x159e57;return (_0x159e57=this['postProcessParam'][_0x2643b2(0x167)][_0x2643b2(0x188)](_0x23716c=>_0x23716c[_0x2643b2(0x1af)]===_0x53ad49))!==null&&_0x159e57!==void 0?_0x159e57:null;}[_0x19dfc1(0x16d)](){const _0x3bde5e=_0x19dfc1,_0x7333b4=this[_0x3bde5e(0x18e)](exports.PostProcessStepType['Bloom']);_0x7333b4&&this[_0x3bde5e(0x19b)]&&(this[_0x3bde5e(0x19b)][_0x3bde5e(0x179)]=_0x7333b4[_0x3bde5e(0x179)],this['bloomPass']['radius']=_0x7333b4[_0x3bde5e(0x199)],this['bloomPass'][_0x3bde5e(0x176)]=_0x7333b4['threshold']);const _0x594ca5=this['getStepParam'](exports.PostProcessStepType[_0x3bde5e(0x187)]);if(_0x594ca5&&this[_0x3bde5e(0x195)]){const _0x386b79=this['dofPass'];_0x386b79[_0x3bde5e(0x194)]&&(_0x386b79['uniforms'][_0x3bde5e(0x1a2)][_0x3bde5e(0x1a1)]=_0x594ca5[_0x3bde5e(0x1a2)],_0x386b79[_0x3bde5e(0x194)][_0x3bde5e(0x19c)][_0x3bde5e(0x1a1)]=_0x594ca5[_0x3bde5e(0x19c)],_0x386b79[_0x3bde5e(0x194)][_0x3bde5e(0x197)][_0x3bde5e(0x1a1)]=_0x594ca5['maxblur']);}const _0x5587f9=this['getStepParam'](exports.PostProcessStepType['GroundTruthAmbientOcclusion']);_0x5587f9&&this[_0x3bde5e(0x191)]&&this[_0x3bde5e(0x165)](_0x5587f9);const _0x4a9008=this['getStepParam'](exports.PostProcessStepType[_0x3bde5e(0x164)]);_0x4a9008&&this[_0x3bde5e(0x1a3)]&&this[_0x3bde5e(0x170)](_0x4a9008);}['updateGTAOParameters'](_0xa1f9d2){const _0x467d80=_0x19dfc1;if(!this['gtaoPass'])return;this[_0x467d80(0x191)]['blendIntensity']=_0xa1f9d2[_0x467d80(0x1aa)];}['updateOutlineParameters'](_0x23537b){const _0x109c77=_0x19dfc1;if(!this[_0x109c77(0x1a3)])return;this[_0x109c77(0x1a3)][_0x109c77(0x198)]=_0x23537b[_0x109c77(0x198)],this['outlinePass']['edgeGlow']=_0x23537b[_0x109c77(0x190)],this[_0x109c77(0x1a3)][_0x109c77(0x178)]=_0x23537b[_0x109c77(0x178)],this['outlinePass'][_0x109c77(0x17c)]=_0x23537b[_0x109c77(0x17c)],this['outlinePass'][_0x109c77(0x1b1)]=new three.Color(_0x23537b[_0x109c77(0x1b1)]),this['outlinePass'][_0x109c77(0x177)]=new three.Color(_0x23537b[_0x109c77(0x177)]);}['updateSteps'](_0x3244dc){const _0x2069fb=_0x19dfc1;this['postProcessParam']['steps']=_0x3244dc,this[_0x2069fb(0x1b4)](),this[_0x2069fb(0x173)]();}[_0x19dfc1(0x17e)](_0x3dfe67){const _0x5a7d42=_0x19dfc1;!this[_0x5a7d42(0x163)][_0x5a7d42(0x184)](_0x3dfe67)&&(this[_0x5a7d42(0x163)][_0x5a7d42(0x175)](_0x3dfe67),this[_0x5a7d42(0x1a3)]&&(this[_0x5a7d42(0x1a3)][_0x5a7d42(0x1a8)]=this[_0x5a7d42(0x163)])),this['markDirty']();}[_0x19dfc1(0x185)](_0x2644eb){const _0x31b229=_0x19dfc1;this[_0x31b229(0x163)]['length']=0x0,this[_0x31b229(0x163)][_0x31b229(0x175)](..._0x2644eb),this[_0x31b229(0x1a3)]&&(this[_0x31b229(0x1a3)][_0x31b229(0x1a8)]=this[_0x31b229(0x163)]),this[_0x31b229(0x173)]();}[_0x19dfc1(0x182)](_0x1d791f){const _0x3d0400=_0x19dfc1,_0x3687ef=this[_0x3d0400(0x163)][_0x3d0400(0x1a6)](_0x1d791f);_0x3687ef>-1&&(this[_0x3d0400(0x163)]['splice'](_0x3687ef,0x1),this[_0x3d0400(0x1a3)]&&(this[_0x3d0400(0x1a3)][_0x3d0400(0x1a8)]=this[_0x3d0400(0x163)])),this['markDirty']();}[_0x19dfc1(0x166)](_0x3813c3){const _0x1bfed6=_0x19dfc1;this['lut3dTexture']=_0x3813c3,this[_0x1bfed6(0x1b4)](),this[_0x1bfed6(0x173)]();}[_0x19dfc1(0x1b2)](){const _0x3cf865=_0x19dfc1;return this[_0x3cf865(0x180)];}['render'](){const _0x3cc797=_0x19dfc1;if(this[_0x3cc797(0x186)])return this[_0x3cc797(0x186)][_0x3cc797(0x17f)](),!![];return ![];}[_0x19dfc1(0x1b3)](_0x108f63,_0x4bb5b0){const _0x577032=_0x19dfc1;this[_0x577032(0x186)]&&this[_0x577032(0x186)][_0x577032(0x192)](_0x108f63,_0x4bb5b0),this[_0x577032(0x174)]&&this[_0x577032(0x174)]['uniforms'][_0x577032(0x19f)][_0x577032(0x1a1)]['set'](0x1/_0x108f63,0x1/_0x4bb5b0);}[_0x19dfc1(0x1b5)](){const _0x4756a6=_0x19dfc1;this['outlineObjects']=[],this[_0x4756a6(0x1a3)]=null,this['bloomPass']=null,this['dofPass']=null,this['gtaoPass']=null,this[_0x4756a6(0x17d)]=null,this[_0x4756a6(0x174)]=null,this[_0x4756a6(0x18c)]=null,this[_0x4756a6(0x181)]=null,this[_0x4756a6(0x180)]=null,this[_0x4756a6(0x186)]&&(this['composer'][_0x4756a6(0x171)](),this[_0x4756a6(0x186)]=null);}['markDirty'](){this['onDirtyCallback']&&this['onDirtyCallback']();}}
|
|
83
83
|
|
|
84
|
-
function _0x28ed(_0x17781e,_0x495e37){_0x17781e=_0x17781e-0x1a6;const _0x248489=_0x2484();let _0x28ed87=_0x248489[_0x17781e];return _0x28ed87;}const _0x22b39f=_0x28ed;(function(_0x37e0fb,_0xda7297){const _0x522ca2=_0x28ed,_0x4c3b9d=_0x37e0fb();while(!![]){try{const _0x41b515=-parseInt(_0x522ca2(0x20b))/0x1+parseInt(_0x522ca2(0x1bf))/0x2*(parseInt(_0x522ca2(0x1bd))/0x3)+-parseInt(_0x522ca2(0x1d4))/0x4+-parseInt(_0x522ca2(0x205))/0x5+parseInt(_0x522ca2(0x1c5))/0x6+parseInt(_0x522ca2(0x1f3))/0x7*(-parseInt(_0x522ca2(0x1d7))/0x8)+parseInt(_0x522ca2(0x1df))/0x9;if(_0x41b515===_0xda7297)break;else _0x4c3b9d['push'](_0x4c3b9d['shift']());}catch(_0x18b158){_0x4c3b9d['push'](_0x4c3b9d['shift']());}}}(_0x2484,0xd9ce2));class Viewport{get[_0x22b39f(0x1ed)](){const _0x44aac2=_0x22b39f;return this[_0x44aac2(0x201)];}get['canvas'](){const _0x4dfa6a=_0x22b39f;return this[_0x4dfa6a(0x1aa)]||this[_0x4dfa6a(0x1d5)]['domElement'];}get['outer'](){const _0x19afea=_0x22b39f;return this[_0x19afea(0x1aa)];}get['renderer'](){const _0x90aacb=_0x22b39f;if(!this[_0x90aacb(0x20a)])throw Error(_0x90aacb(0x209));return this['_renderer'];}get[_0x22b39f(0x1d0)](){const _0x2c9441=_0x22b39f;if(!this[_0x2c9441(0x1e7)])throw Error(_0x2c9441(0x1cd));return this[_0x2c9441(0x1e7)];}constructor(_0x5afd33,_0x4dfa23){const _0x16b690=_0x22b39f;this['_uiDom']=null,this['_renderer']=null,this[_0x16b690(0x1e5)]=null,this[_0x16b690(0x1dc)]=null,this['_app']=null,this[_0x16b690(0x1af)]=null,this[_0x16b690(0x1aa)]=null,this[_0x16b690(0x1e9)]=null,this[_0x16b690(0x206)]=!![],this[_0x16b690(0x1e0)]=null,this[_0x16b690(0x1e7)]=_0x5afd33,_0x4dfa23['elementId']&&(this[_0x16b690(0x1aa)]=document[_0x16b690(0x1ea)](_0x4dfa23[_0x16b690(0x1ba)])),this['createRenderer'](_0x4dfa23[_0x16b690(0x1d5)][_0x16b690(0x203)],_0x4dfa23[_0x16b690(0x1d5)]['param']),_0x4dfa23['isLabelRendererNeeded']&&this[_0x16b690(0x1ce)](),_0x4dfa23['isCSS3DRendererNeeded']&&this[_0x16b690(0x1d6)](),_0x4dfa23[_0x16b690(0x1ac)]&&this[_0x16b690(0x1c6)](),setTimeout(()=>{const _0x308dfc=_0x16b690;var _0x28cbed;this[_0x308dfc(0x1b5)]((_0x28cbed=_0x4dfa23['postProcess'])!==null&&_0x28cbed!==void 0?_0x28cbed:{'steps':[]});},0x32),this[_0x16b690(0x1aa)]&&(this[_0x16b690(0x1af)]=new ResizeObserver(_0x2c79db=>{const _0x46b436=_0x16b690;for(let _0x2be9ae of _0x2c79db){_0x2be9ae['contentBoxSize']&&this[_0x46b436(0x1f8)]();}}),this[_0x16b690(0x1af)][_0x16b690(0x1a6)](this['_outerContainer'])),this[_0x16b690(0x1d0)][_0x16b690(0x1be)][_0x16b690(0x1d3)](()=>{const _0x359e05=_0x16b690;this['postProcessManager']&&(this[_0x359e05(0x1e0)]['updateCamera'](this[_0x359e05(0x1d0)]['camera']),this[_0x359e05(0x1e0)][_0x359e05(0x1b1)]());});}['createRenderer'](_0x6135b0,_0x150223){const _0x189976=_0x22b39f,_0x16177a=this[_0x189976(0x1aa)];this[_0x189976(0x20a)]&&(_0x16177a&&_0x16177a[_0x189976(0x1e8)](this[_0x189976(0x20a)][_0x189976(0x1cf)]),this['_renderer'][_0x189976(0x1ff)]());let _0x4906ff=_0x16177a?_0x16177a[_0x189976(0x1c3)]:0x200,_0xe3e591=_0x16177a?_0x16177a[_0x189976(0x1b2)]:0x200;switch(_0x6135b0){case exports.RendererType[_0x189976(0x1fb)]:this[_0x189976(0x20a)]=new webgpu.WebGPURenderer(_0x150223);break;case exports.RendererType[_0x189976(0x1cb)]:this['_renderer']=new three.WebGLRenderer(_0x150223);break;}this[_0x189976(0x20a)][_0x189976(0x1bb)](window[_0x189976(0x1b8)]),this['_renderer'][_0x189976(0x1cc)](_0x4906ff,_0xe3e591),this['_renderer'][_0x189976(0x1fa)][_0x189976(0x1ab)]=!![],this[_0x189976(0x20a)][_0x189976(0x1fa)][_0x189976(0x203)]=0x1,this['_renderer'][_0x189976(0x1c1)]=0x0,this[_0x189976(0x20a)]['toneMappingExposure']=0x1,this['_renderer'][_0x189976(0x1dd)](0x0),this['_renderer'][_0x189976(0x1cf)][_0x189976(0x1fd)][_0x189976(0x208)]='absolute',this[_0x189976(0x20a)][_0x189976(0x1cf)][_0x189976(0x1fd)][_0x189976(0x1b6)]='0',this[_0x189976(0x20a)][_0x189976(0x1cf)]['style'][_0x189976(0x1e3)]='0',this[_0x189976(0x20a)]['domElement'][_0x189976(0x1fd)][_0x189976(0x1a9)]='20',this[_0x189976(0x20a)][_0x189976(0x1cf)][_0x189976(0x1fd)][_0x189976(0x1db)]='transparent',this['_renderer']['domElement'][_0x189976(0x1fd)][_0x189976(0x1f2)]=_0x189976(0x1f0),_0x16177a&&_0x16177a[_0x189976(0x1eb)](this[_0x189976(0x20a)][_0x189976(0x1cf)]);}[_0x22b39f(0x1ce)](){const _0x42b35a=_0x22b39f,_0x1e79df=this['_outerContainer'];this[_0x42b35a(0x1e5)]&&(_0x1e79df&&_0x1e79df['removeChild'](this[_0x42b35a(0x1e5)][_0x42b35a(0x1cf)]));let _0x3c2fe6=_0x1e79df?_0x1e79df['clientWidth']:0x200,_0x516271=_0x1e79df?_0x1e79df['clientHeight']:0x200;this['labelRenderer']=new Addons_js.CSS2DRenderer(),this[_0x42b35a(0x1e5)][_0x42b35a(0x1cc)](_0x3c2fe6,_0x516271),this['labelRenderer'][_0x42b35a(0x1cf)][_0x42b35a(0x1fd)][_0x42b35a(0x1f2)]=_0x42b35a(0x1f0),this[_0x42b35a(0x1e5)][_0x42b35a(0x1cf)][_0x42b35a(0x1fd)]['position']='absolute',this[_0x42b35a(0x1e5)][_0x42b35a(0x1cf)][_0x42b35a(0x1fd)][_0x42b35a(0x1e3)]=_0x42b35a(0x1fc),this['labelRenderer'][_0x42b35a(0x1cf)][_0x42b35a(0x1b3)]=_0x42b35a(0x1c0),this[_0x42b35a(0x1e5)][_0x42b35a(0x1cf)][_0x42b35a(0x1fd)][_0x42b35a(0x1a9)]='30',_0x1e79df&&_0x1e79df[_0x42b35a(0x1eb)](this[_0x42b35a(0x1e5)][_0x42b35a(0x1cf)]);}[_0x22b39f(0x1d6)](){const _0x297ae4=_0x22b39f,_0x515d1a=this[_0x297ae4(0x1aa)];this[_0x297ae4(0x1dc)]&&(_0x515d1a&&_0x515d1a['removeChild'](this[_0x297ae4(0x1dc)][_0x297ae4(0x1cf)]));let _0x548670=_0x515d1a?_0x515d1a[_0x297ae4(0x1c3)]:0x200,_0xf3b10d=_0x515d1a?_0x515d1a[_0x297ae4(0x1b2)]:0x200;this[_0x297ae4(0x1dc)]=new Addons_js.CSS3DRenderer(),this['css3dRenderer'][_0x297ae4(0x1cc)](_0x548670,_0xf3b10d),this[_0x297ae4(0x1dc)][_0x297ae4(0x1cf)][_0x297ae4(0x1fd)][_0x297ae4(0x1f2)]='none',this['css3dRenderer'][_0x297ae4(0x1cf)]['style']['position']=_0x297ae4(0x1f1),this['css3dRenderer'][_0x297ae4(0x1cf)][_0x297ae4(0x1fd)][_0x297ae4(0x1b6)]='0px',this[_0x297ae4(0x1dc)][_0x297ae4(0x1cf)]['style'][_0x297ae4(0x1e3)]=_0x297ae4(0x1fc),this[_0x297ae4(0x1dc)][_0x297ae4(0x1cf)]['style'][_0x297ae4(0x1a9)]='0',this[_0x297ae4(0x1dc)][_0x297ae4(0x1cf)][_0x297ae4(0x1b3)]='scene-css3dRenderer',_0x515d1a&&_0x515d1a[_0x297ae4(0x1ca)](this[_0x297ae4(0x1dc)]['domElement'],_0x515d1a[_0x297ae4(0x1d1)]);}['createUILayer'](){const _0x33e8b8=_0x22b39f;if(!this['_outerContainer'])return;let _0x4e1c5f=this['_outerContainer'][_0x33e8b8(0x1c2)](_0x33e8b8(0x1c8));!_0x4e1c5f&&(_0x4e1c5f=document[_0x33e8b8(0x1ee)](_0x33e8b8(0x1d8)),_0x4e1c5f[_0x33e8b8(0x1b3)]=_0x33e8b8(0x1f5),_0x4e1c5f['id']=_0x33e8b8(0x1f5),_0x4e1c5f['style'][_0x33e8b8(0x208)]='absolute',_0x4e1c5f[_0x33e8b8(0x1fd)][_0x33e8b8(0x1b6)]='0',_0x4e1c5f[_0x33e8b8(0x1fd)]['top']='0',_0x4e1c5f['style']['width']='100%',_0x4e1c5f[_0x33e8b8(0x1fd)][_0x33e8b8(0x1b7)]='100%',_0x4e1c5f[_0x33e8b8(0x1fd)]['pointerEvents']=_0x33e8b8(0x1f0),_0x4e1c5f[_0x33e8b8(0x1fd)][_0x33e8b8(0x1a9)]='10',this[_0x33e8b8(0x1aa)][_0x33e8b8(0x1eb)](_0x4e1c5f),this['_uiDom']=_0x4e1c5f);}[_0x22b39f(0x1c4)](){}[_0x22b39f(0x1ad)](_0x30addb,_0x5bb5b4){const _0x1c4f44=_0x22b39f;this[_0x1c4f44(0x1e0)]instanceof WebGLPostProcessManager&&this[_0x1c4f44(0x1e0)][_0x1c4f44(0x1ad)](_0x30addb,_0x5bb5b4);}[_0x22b39f(0x1b5)](_0x40b791){const _0x52ecec=_0x22b39f;!this['postProcessManager']&&(this[_0x52ecec(0x1e0)]=this[_0x52ecec(0x1ef)](_0x40b791)),this[_0x52ecec(0x1e0)][_0x52ecec(0x1b1)]();}[_0x22b39f(0x1ef)](_0x3d8d52){const _0x286e84=_0x22b39f;return this['renderer']instanceof three.WebGLRenderer?new WebGLPostProcessManager(this[_0x286e84(0x1d5)],this[_0x286e84(0x1d0)]['world'][_0x286e84(0x1c9)],this[_0x286e84(0x1d0)][_0x286e84(0x200)],_0x3d8d52,()=>this[_0x286e84(0x1de)]()):new PostProcessManager(this['renderer'],this['app'][_0x286e84(0x1d2)][_0x286e84(0x1c9)],this[_0x286e84(0x1d0)][_0x286e84(0x200)],_0x3d8d52,()=>this['markRenderStateDirty']());}[_0x22b39f(0x1fe)](_0x5a158b){const _0x10ec4c=_0x22b39f;this[_0x10ec4c(0x1e0)]&&this[_0x10ec4c(0x1e0)][_0x10ec4c(0x1f7)](_0x5a158b);}[_0x22b39f(0x207)](_0x4a4a09){const _0x347426=_0x22b39f;this[_0x347426(0x1e0)]&&this[_0x347426(0x1e0)][_0x347426(0x207)](_0x4a4a09);}[_0x22b39f(0x1a8)](_0x17ea39){const _0x8088f2=_0x22b39f;this[_0x8088f2(0x1e0)]&&this[_0x8088f2(0x1e0)][_0x8088f2(0x1a8)](_0x17ea39);}[_0x22b39f(0x1c7)](_0x2faa5a){const _0x259a97=_0x22b39f;this[_0x259a97(0x1e0)]&&this[_0x259a97(0x1e0)][_0x259a97(0x1c7)](_0x2faa5a);}[_0x22b39f(0x1e2)](){const _0x267876=_0x22b39f;this[_0x267876(0x1e0)]&&(this['postProcessManager']['destroy'](),this[_0x267876(0x1e0)]=null);}[_0x22b39f(0x1f8)](){const _0x196857=_0x22b39f;let _0x4c456a=this[_0x196857(0x1aa)];if(!_0x4c456a)return;this[_0x196857(0x1d0)][_0x196857(0x1f8)](_0x4c456a['clientWidth'],_0x4c456a[_0x196857(0x1b2)]),this[_0x196857(0x1d5)][_0x196857(0x1cc)](_0x4c456a[_0x196857(0x1c3)],_0x4c456a[_0x196857(0x1b2)]);if(this[_0x196857(0x1e5)])this['labelRenderer'][_0x196857(0x1cc)](_0x4c456a['clientWidth'],_0x4c456a[_0x196857(0x1b2)]);if(this['css3dRenderer'])this[_0x196857(0x1dc)]['setSize'](_0x4c456a[_0x196857(0x1c3)],_0x4c456a[_0x196857(0x1b2)]);this[_0x196857(0x1e0)]&&'resize'in this[_0x196857(0x1e0)]&&this[_0x196857(0x1e0)]['resize'](_0x4c456a[_0x196857(0x1c3)],_0x4c456a[_0x196857(0x1b2)]),this['markRenderStateDirty']();}[_0x22b39f(0x1de)](){const _0x1ecc0f=_0x22b39f;this[_0x1ecc0f(0x206)]=!![];}[_0x22b39f(0x1bc)](){const _0x4f885e=_0x22b39f;if(!this['isRenderStateDirty'])return;if(this[_0x4f885e(0x1e0)]&&this[_0x4f885e(0x1e0)][_0x4f885e(0x1bc)]());else this['renderer']['render'](this[_0x4f885e(0x1d0)][_0x4f885e(0x1d2)][_0x4f885e(0x1c9)],this[_0x4f885e(0x1d0)][_0x4f885e(0x200)]);this['onAfterPostProcessRender'](),this['labelRenderer']&&this[_0x4f885e(0x1e5)][_0x4f885e(0x1bc)](this[_0x4f885e(0x1d0)]['world']['scene'],this[_0x4f885e(0x1d0)][_0x4f885e(0x200)]),this[_0x4f885e(0x1dc)]&&this[_0x4f885e(0x1dc)][_0x4f885e(0x1bc)](this[_0x4f885e(0x1d0)]['world'][_0x4f885e(0x1c9)],this['app'][_0x4f885e(0x200)]),this[_0x4f885e(0x206)]=![];}[_0x22b39f(0x1ec)](){}async[_0x22b39f(0x1d9)](_0x3daabf=0x400,_0x42db0c=0x400){const _0x5d0da0=_0x22b39f;try{if(this[_0x5d0da0(0x1e0)]&&this['postProcessManager'][_0x5d0da0(0x1bc)]()){}else await this[_0x5d0da0(0x1d5)][_0x5d0da0(0x1bc)](this[_0x5d0da0(0x1d0)]['world'][_0x5d0da0(0x1c9)],this[_0x5d0da0(0x1d0)][_0x5d0da0(0x200)]);const _0x1b5d2b=this[_0x5d0da0(0x1d5)]['domElement'][_0x5d0da0(0x1e4)],_0xf8a51=this[_0x5d0da0(0x1d5)][_0x5d0da0(0x1cf)][_0x5d0da0(0x1b7)];let _0x45b752=_0x1b5d2b||_0x3daabf,_0x16329b=_0xf8a51||_0x42db0c;(_0x45b752<=0x0||_0x16329b<=0x0)&&(_0x45b752=_0x3daabf,_0x16329b=_0x42db0c);const _0x5982af=document[_0x5d0da0(0x1ee)](_0x5d0da0(0x204));_0x5982af[_0x5d0da0(0x1e4)]=_0x3daabf,_0x5982af[_0x5d0da0(0x1b7)]=_0x42db0c;const _0x32a1e9=_0x5982af[_0x5d0da0(0x1e1)]('2d');if(!_0x32a1e9)throw Error(_0x5d0da0(0x202));_0x32a1e9['drawImage'](this[_0x5d0da0(0x1d5)]['domElement'],0x0,0x0,_0x45b752,_0x16329b,0x0,0x0,_0x3daabf,_0x42db0c);const _0x2fb915=_0x5982af['toDataURL'](_0x5d0da0(0x1b4));return _0x5982af[_0x5d0da0(0x1f4)](),_0x2fb915;}catch(_0x34b1bc){return '';}}[_0x22b39f(0x1ae)](_0x153414){const _0x2e698b=_0x22b39f;if(!this[_0x2e698b(0x20a)])return;this[_0x2e698b(0x20a)][_0x2e698b(0x1fa)][_0x2e698b(0x1ab)]=_0x153414;}[_0x22b39f(0x1f6)](_0x253702){const _0x1da021=_0x22b39f;if(!this[_0x1da021(0x20a)])return;this[_0x1da021(0x20a)][_0x1da021(0x1fa)][_0x1da021(0x203)]=_0x253702;}[_0x22b39f(0x1b0)](_0x4ed448){const _0x2ea557=_0x22b39f;if(!this[_0x2ea557(0x20a)])return;this[_0x2ea557(0x20a)]['toneMapping']=_0x4ed448;}[_0x22b39f(0x1f9)](_0x41457e){const _0x3872f8=_0x22b39f;if(!this[_0x3872f8(0x20a)])return;this[_0x3872f8(0x20a)][_0x3872f8(0x1b9)]=_0x41457e;}[_0x22b39f(0x1a7)](){const _0xc9280e=_0x22b39f;this[_0xc9280e(0x1e2)](),this[_0xc9280e(0x1d5)][_0xc9280e(0x1da)](null),this[_0xc9280e(0x1af)]&&(this[_0xc9280e(0x1af)][_0xc9280e(0x1e6)](),this[_0xc9280e(0x1af)]=null),this[_0xc9280e(0x1e5)]&&(this[_0xc9280e(0x1e5)][_0xc9280e(0x1cf)][_0xc9280e(0x1f4)](),this[_0xc9280e(0x1e5)]=null),this[_0xc9280e(0x20a)]&&(this[_0xc9280e(0x1d5)][_0xc9280e(0x1cf)]['remove'](),this[_0xc9280e(0x20a)][_0xc9280e(0x1ff)](),this[_0xc9280e(0x20a)]=null),this[_0xc9280e(0x1e9)]&&(this[_0xc9280e(0x1e9)][_0xc9280e(0x1f4)](),this[_0xc9280e(0x1e9)]=null),this[_0xc9280e(0x1aa)]=null,this[_0xc9280e(0x1e7)]=null;}}function _0x2484(){const _0x483af6=['remove','scene-uiLayer','setShadowMapType','updateSteps','onWindowResize','setToneMappingExposure','shadowMap','WebGPU','0px','style','updatePostProcess','dispose','camera','_uiDom','Can\x20not\x20create\x20context','type','canvas','7732930sDlAuD','isRenderStateDirty','addOutlineObject','position','Renderer\x20is\x20not\x20initialized','_renderer','590713fxLkIc','observe','destroy','setOutlineObjects','zIndex','_outerContainer','enabled','isUILayerNeeded','buildCustomPostProcess','setShadowMapEnabled','resizeObserver','setToneMapping','setup','clientHeight','className','image/jpeg','setupPostProcess','left','height','devicePixelRatio','toneMappingExposure','elementId','setPixelRatio','render','1907517OOoNUx','onCameraChangedDelegate','4GeDmFX','scene-labelRenderer','toneMapping','querySelector','clientWidth','init','7951920QUtNcf','createUILayer','removeOutlineObject','.scene-uiLayer','scene','insertBefore','WebGL','setSize','App\x20is\x20not\x20initialized','createLabelRenderer','domElement','app','firstChild','world','add','5866520JyDZTy','renderer','createCSS3DRenderer','600VxQClN','div','renderAsImage','setAnimationLoop','background','css3dRenderer','setClearAlpha','markRenderStateDirty','22079124uOafzc','postProcessManager','getContext','destroyPostProcess','top','width','labelRenderer','disconnect','_app','removeChild','_canvasContainer','getElementById','appendChild','onAfterPostProcessRender','uiDom','createElement','createPostProcessManager','none','absolute','pointerEvents','51723eiTDXn'];_0x2484=function(){return _0x483af6;};return _0x2484();}
|
|
84
|
+
const _0x3233b6=_0x4c26;(function(_0x13a702,_0x15101c){const _0x502c1d=_0x4c26,_0x5ea30d=_0x13a702();while(!![]){try{const _0x2fefbc=parseInt(_0x502c1d(0x1ee))/0x1+-parseInt(_0x502c1d(0x236))/0x2*(-parseInt(_0x502c1d(0x212))/0x3)+-parseInt(_0x502c1d(0x1f4))/0x4+parseInt(_0x502c1d(0x22f))/0x5*(parseInt(_0x502c1d(0x223))/0x6)+parseInt(_0x502c1d(0x224))/0x7+-parseInt(_0x502c1d(0x1e8))/0x8*(-parseInt(_0x502c1d(0x215))/0x9)+-parseInt(_0x502c1d(0x22e))/0xa;if(_0x2fefbc===_0x15101c)break;else _0x5ea30d['push'](_0x5ea30d['shift']());}catch(_0x36278f){_0x5ea30d['push'](_0x5ea30d['shift']());}}}(_0x1e5f,0x65451));function _0x4c26(_0x20ec5b,_0x27555b){_0x20ec5b=_0x20ec5b-0x1d3;const _0x1e5fc8=_0x1e5f();let _0x4c2648=_0x1e5fc8[_0x20ec5b];return _0x4c2648;}function _0x1e5f(){const _0x55ab65=['style','_outerContainer','_uiDom','_canvasContainer','_app','setToneMapping','isLabelRendererNeeded','enabled','left','setShadowMapEnabled','zIndex','scene-css3dRenderer','top','setToneMappingExposure','className','setupPostProcess','firstChild','camera','param','pointerEvents','none','WebGL','postProcessManager','destroyPostProcess','getElementById','shadowMap','absolute','div','outer','501306pzUSAR','drawImage','canvas','63mtaiNB','getContext','createPostProcessManager','scene-uiLayer','.scene-uiLayer','isRenderStateDirty','transparent','updatePostProcess','100%','scene-labelRenderer','elementId','devicePixelRatio','addOutlineObject','labelRenderer','673044RITboD','309834gWQAcA','createCSS3DRenderer','toneMapping','dispose','scene','App\x20is\x20not\x20initialized','domElement','createElement','init','0px','5130850mqYHjA','15LUUwIS','_renderer','postProcess','position','toDataURL','setup','clientHeight','6LVLXMF','render','updateSteps','createLabelRenderer','setPixelRatio','removeChild','destroy','WebGPU','image/jpeg','removeOutlineObject','Renderer\x20is\x20not\x20initialized','onAfterPostProcessRender','createRenderer','setSize','remove','type','querySelector','app','css3dRenderer','clientWidth','buildCustomPostProcess','setShadowMapType','setOutlineObjects','onWindowResize','appendChild','renderAsImage','isCSS3DRendererNeeded','height','Can\x20not\x20create\x20context','createUILayer','renderer','643576qibMsC','markRenderStateDirty','setAnimationLoop','updateCamera','resizeObserver','disconnect','23462ujHHTn','insertBefore','width','observe','world','setClearAlpha','2163180BjfNpt'];_0x1e5f=function(){return _0x55ab65;};return _0x1e5f();}class Viewport{get['uiDom'](){return this['_uiDom'];}get[_0x3233b6(0x214)](){const _0x4d0b47=_0x3233b6;return this[_0x4d0b47(0x1f6)]||this[_0x4d0b47(0x1e7)][_0x4d0b47(0x22a)];}get[_0x3233b6(0x211)](){const _0x2f4d3a=_0x3233b6;return this[_0x2f4d3a(0x1f6)];}get[_0x3233b6(0x1e7)](){const _0x3226a8=_0x3233b6;if(!this[_0x3226a8(0x230)])throw Error(_0x3226a8(0x1d3));return this[_0x3226a8(0x230)];}get[_0x3233b6(0x1da)](){const _0x60595a=_0x3233b6;if(!this['_app'])throw Error(_0x60595a(0x229));return this[_0x60595a(0x1f9)];}constructor(_0x253e1f,_0x1c46ed){const _0x21cde3=_0x3233b6;this[_0x21cde3(0x1f7)]=null,this[_0x21cde3(0x230)]=null,this[_0x21cde3(0x222)]=null,this[_0x21cde3(0x1db)]=null,this[_0x21cde3(0x1f9)]=null,this['resizeObserver']=null,this[_0x21cde3(0x1f6)]=null,this[_0x21cde3(0x1f8)]=null,this[_0x21cde3(0x21a)]=!![],this[_0x21cde3(0x20b)]=null,this[_0x21cde3(0x1f9)]=_0x253e1f,_0x1c46ed[_0x21cde3(0x21f)]&&(this[_0x21cde3(0x1f6)]=document[_0x21cde3(0x20d)](_0x1c46ed[_0x21cde3(0x21f)])),this[_0x21cde3(0x1d5)](_0x1c46ed[_0x21cde3(0x1e7)]['type'],_0x1c46ed[_0x21cde3(0x1e7)][_0x21cde3(0x207)]),_0x1c46ed[_0x21cde3(0x1fb)]&&this['createLabelRenderer'](),_0x1c46ed[_0x21cde3(0x1e3)]&&this[_0x21cde3(0x225)](),_0x1c46ed['isUILayerNeeded']&&this[_0x21cde3(0x1e6)](),setTimeout(()=>{const _0x12de4e=_0x21cde3;var _0x18bf35;this[_0x12de4e(0x204)]((_0x18bf35=_0x1c46ed[_0x12de4e(0x231)])!==null&&_0x18bf35!==void 0?_0x18bf35:{'steps':[]});},0x32),this[_0x21cde3(0x1f6)]&&(this['resizeObserver']=new ResizeObserver(_0x1e9304=>{const _0x20c60e=_0x21cde3;for(let _0x4a7b79 of _0x1e9304){_0x4a7b79['contentBoxSize']&&this[_0x20c60e(0x1e0)]();}}),this[_0x21cde3(0x1ec)][_0x21cde3(0x1f1)](this[_0x21cde3(0x1f6)])),this[_0x21cde3(0x1da)]['onCameraChangedDelegate']['add'](()=>{const _0x201021=_0x21cde3;this[_0x201021(0x20b)]&&(this[_0x201021(0x20b)][_0x201021(0x1eb)](this['app'][_0x201021(0x206)]),this[_0x201021(0x20b)][_0x201021(0x234)]());});}['createRenderer'](_0x12fa2a,_0x5db6a9){const _0x24bf11=_0x3233b6,_0x16b9c7=this[_0x24bf11(0x1f6)];this['_renderer']&&(_0x16b9c7&&_0x16b9c7['removeChild'](this['_renderer'][_0x24bf11(0x22a)]),this[_0x24bf11(0x230)]['dispose']());let _0x5da580=_0x16b9c7?_0x16b9c7[_0x24bf11(0x1dc)]:0x200,_0x8be33f=_0x16b9c7?_0x16b9c7[_0x24bf11(0x235)]:0x200;switch(_0x12fa2a){case exports.RendererType[_0x24bf11(0x23d)]:this[_0x24bf11(0x230)]=new webgpu.WebGPURenderer(_0x5db6a9);break;case exports.RendererType[_0x24bf11(0x20a)]:this['_renderer']=new three.WebGLRenderer(_0x5db6a9);break;}this[_0x24bf11(0x230)][_0x24bf11(0x23a)](window[_0x24bf11(0x220)]),this[_0x24bf11(0x230)]['setSize'](_0x5da580,_0x8be33f),this['_renderer'][_0x24bf11(0x20e)][_0x24bf11(0x1fc)]=!![],this[_0x24bf11(0x230)][_0x24bf11(0x20e)][_0x24bf11(0x1d8)]=0x1,this[_0x24bf11(0x230)][_0x24bf11(0x226)]=0x0,this[_0x24bf11(0x230)]['toneMappingExposure']=0x1,this['_renderer'][_0x24bf11(0x1f3)](0x0),this[_0x24bf11(0x230)][_0x24bf11(0x22a)][_0x24bf11(0x1f5)][_0x24bf11(0x232)]='absolute',this[_0x24bf11(0x230)][_0x24bf11(0x22a)][_0x24bf11(0x1f5)]['left']='0',this[_0x24bf11(0x230)]['domElement'][_0x24bf11(0x1f5)][_0x24bf11(0x201)]='0',this['_renderer'][_0x24bf11(0x22a)][_0x24bf11(0x1f5)]['zIndex']='20',this[_0x24bf11(0x230)][_0x24bf11(0x22a)][_0x24bf11(0x1f5)]['background']=_0x24bf11(0x21b),this[_0x24bf11(0x230)][_0x24bf11(0x22a)][_0x24bf11(0x1f5)][_0x24bf11(0x208)]='none',_0x16b9c7&&_0x16b9c7[_0x24bf11(0x1e1)](this['_renderer']['domElement']);}[_0x3233b6(0x239)](){const _0x59070c=_0x3233b6,_0x1197a8=this[_0x59070c(0x1f6)];this[_0x59070c(0x222)]&&(_0x1197a8&&_0x1197a8[_0x59070c(0x23b)](this[_0x59070c(0x222)][_0x59070c(0x22a)]));let _0x47e7fd=_0x1197a8?_0x1197a8[_0x59070c(0x1dc)]:0x200,_0x19b3da=_0x1197a8?_0x1197a8[_0x59070c(0x235)]:0x200;this[_0x59070c(0x222)]=new Addons_js.CSS2DRenderer(),this[_0x59070c(0x222)][_0x59070c(0x1d6)](_0x47e7fd,_0x19b3da),this['labelRenderer'][_0x59070c(0x22a)][_0x59070c(0x1f5)][_0x59070c(0x208)]=_0x59070c(0x209),this[_0x59070c(0x222)][_0x59070c(0x22a)][_0x59070c(0x1f5)]['position']=_0x59070c(0x20f),this[_0x59070c(0x222)]['domElement'][_0x59070c(0x1f5)][_0x59070c(0x201)]=_0x59070c(0x22d),this[_0x59070c(0x222)][_0x59070c(0x22a)][_0x59070c(0x203)]=_0x59070c(0x21e),this['labelRenderer']['domElement'][_0x59070c(0x1f5)]['zIndex']='30',_0x1197a8&&_0x1197a8['appendChild'](this[_0x59070c(0x222)][_0x59070c(0x22a)]);}[_0x3233b6(0x225)](){const _0x579767=_0x3233b6,_0x5223df=this['_outerContainer'];this['css3dRenderer']&&(_0x5223df&&_0x5223df[_0x579767(0x23b)](this[_0x579767(0x1db)][_0x579767(0x22a)]));let _0xd489e5=_0x5223df?_0x5223df[_0x579767(0x1dc)]:0x200,_0x2efeaf=_0x5223df?_0x5223df['clientHeight']:0x200;this[_0x579767(0x1db)]=new Addons_js.CSS3DRenderer(),this[_0x579767(0x1db)][_0x579767(0x1d6)](_0xd489e5,_0x2efeaf),this['css3dRenderer'][_0x579767(0x22a)]['style']['pointerEvents']=_0x579767(0x209),this[_0x579767(0x1db)][_0x579767(0x22a)]['style'][_0x579767(0x232)]=_0x579767(0x20f),this[_0x579767(0x1db)]['domElement'][_0x579767(0x1f5)]['left']='0px',this[_0x579767(0x1db)][_0x579767(0x22a)][_0x579767(0x1f5)]['top']='0px',this['css3dRenderer'][_0x579767(0x22a)][_0x579767(0x1f5)]['zIndex']='0',this['css3dRenderer']['domElement'][_0x579767(0x203)]=_0x579767(0x200),_0x5223df&&_0x5223df[_0x579767(0x1ef)](this[_0x579767(0x1db)][_0x579767(0x22a)],_0x5223df[_0x579767(0x205)]);}[_0x3233b6(0x1e6)](){const _0x3cf5a0=_0x3233b6;if(!this['_outerContainer'])return;let _0x2983ed=this[_0x3cf5a0(0x1f6)][_0x3cf5a0(0x1d9)](_0x3cf5a0(0x219));!_0x2983ed&&(_0x2983ed=document[_0x3cf5a0(0x22b)](_0x3cf5a0(0x210)),_0x2983ed[_0x3cf5a0(0x203)]=_0x3cf5a0(0x218),_0x2983ed['id']=_0x3cf5a0(0x218),_0x2983ed[_0x3cf5a0(0x1f5)][_0x3cf5a0(0x232)]=_0x3cf5a0(0x20f),_0x2983ed[_0x3cf5a0(0x1f5)][_0x3cf5a0(0x1fd)]='0',_0x2983ed[_0x3cf5a0(0x1f5)][_0x3cf5a0(0x201)]='0',_0x2983ed[_0x3cf5a0(0x1f5)][_0x3cf5a0(0x1f0)]=_0x3cf5a0(0x21d),_0x2983ed['style'][_0x3cf5a0(0x1e4)]=_0x3cf5a0(0x21d),_0x2983ed[_0x3cf5a0(0x1f5)]['pointerEvents']=_0x3cf5a0(0x209),_0x2983ed[_0x3cf5a0(0x1f5)][_0x3cf5a0(0x1ff)]='10',this[_0x3cf5a0(0x1f6)]['appendChild'](_0x2983ed),this[_0x3cf5a0(0x1f7)]=_0x2983ed);}[_0x3233b6(0x22c)](){}[_0x3233b6(0x1dd)](_0x44c9c5,_0x102918){const _0x21dcb4=_0x3233b6;this[_0x21dcb4(0x20b)]instanceof WebGLPostProcessManager&&this[_0x21dcb4(0x20b)][_0x21dcb4(0x1dd)](_0x44c9c5,_0x102918);}[_0x3233b6(0x204)](_0x5a3261){const _0x24a0da=_0x3233b6;!this[_0x24a0da(0x20b)]&&(this[_0x24a0da(0x20b)]=this['createPostProcessManager'](_0x5a3261)),this[_0x24a0da(0x20b)][_0x24a0da(0x234)]();}[_0x3233b6(0x217)](_0x282fd3){const _0x24331a=_0x3233b6;return this[_0x24331a(0x1e7)]instanceof three.WebGLRenderer?new WebGLPostProcessManager(this[_0x24331a(0x1e7)],this[_0x24331a(0x1da)][_0x24331a(0x1f2)][_0x24331a(0x228)],this[_0x24331a(0x1da)][_0x24331a(0x206)],_0x282fd3,()=>this[_0x24331a(0x1e9)]()):new PostProcessManager(this[_0x24331a(0x1e7)],this[_0x24331a(0x1da)][_0x24331a(0x1f2)][_0x24331a(0x228)],this[_0x24331a(0x1da)][_0x24331a(0x206)],_0x282fd3,()=>this['markRenderStateDirty']());}[_0x3233b6(0x21c)](_0x45fce8){const _0x17ff67=_0x3233b6;this[_0x17ff67(0x20b)]&&this[_0x17ff67(0x20b)][_0x17ff67(0x238)](_0x45fce8);}[_0x3233b6(0x221)](_0x43270b){const _0x233df7=_0x3233b6;this[_0x233df7(0x20b)]&&this[_0x233df7(0x20b)]['addOutlineObject'](_0x43270b);}[_0x3233b6(0x1df)](_0x301edd){const _0x50ef8a=_0x3233b6;this[_0x50ef8a(0x20b)]&&this['postProcessManager']['setOutlineObjects'](_0x301edd);}[_0x3233b6(0x23f)](_0x5aafd6){const _0x1afc98=_0x3233b6;this[_0x1afc98(0x20b)]&&this['postProcessManager']['removeOutlineObject'](_0x5aafd6);}[_0x3233b6(0x20c)](){const _0xd98554=_0x3233b6;this[_0xd98554(0x20b)]&&(this[_0xd98554(0x20b)][_0xd98554(0x23c)](),this[_0xd98554(0x20b)]=null);}[_0x3233b6(0x1e0)](){const _0x2a6a57=_0x3233b6;let _0x5dc615=this[_0x2a6a57(0x1f6)];if(!_0x5dc615)return;this[_0x2a6a57(0x1da)][_0x2a6a57(0x1e0)](_0x5dc615[_0x2a6a57(0x1dc)],_0x5dc615[_0x2a6a57(0x235)]),this[_0x2a6a57(0x1e7)]['setSize'](_0x5dc615['clientWidth'],_0x5dc615[_0x2a6a57(0x235)]);if(this[_0x2a6a57(0x222)])this[_0x2a6a57(0x222)][_0x2a6a57(0x1d6)](_0x5dc615[_0x2a6a57(0x1dc)],_0x5dc615[_0x2a6a57(0x235)]);if(this[_0x2a6a57(0x1db)])this[_0x2a6a57(0x1db)][_0x2a6a57(0x1d6)](_0x5dc615['clientWidth'],_0x5dc615[_0x2a6a57(0x235)]);this['postProcessManager']&&'resize'in this[_0x2a6a57(0x20b)]&&this[_0x2a6a57(0x20b)]['resize'](_0x5dc615['clientWidth'],_0x5dc615[_0x2a6a57(0x235)]),this[_0x2a6a57(0x1e9)]();}['markRenderStateDirty'](){this['isRenderStateDirty']=!![];}['render'](){const _0x247e22=_0x3233b6;if(!this[_0x247e22(0x21a)])return;if(this[_0x247e22(0x20b)]&&this[_0x247e22(0x20b)][_0x247e22(0x237)]());else this[_0x247e22(0x1e7)][_0x247e22(0x237)](this[_0x247e22(0x1da)][_0x247e22(0x1f2)][_0x247e22(0x228)],this[_0x247e22(0x1da)]['camera']);this[_0x247e22(0x1d4)](),this[_0x247e22(0x222)]&&this[_0x247e22(0x222)][_0x247e22(0x237)](this['app']['world'][_0x247e22(0x228)],this[_0x247e22(0x1da)][_0x247e22(0x206)]),this[_0x247e22(0x1db)]&&this['css3dRenderer'][_0x247e22(0x237)](this[_0x247e22(0x1da)]['world']['scene'],this['app']['camera']),this[_0x247e22(0x21a)]=![];}[_0x3233b6(0x1d4)](){}async[_0x3233b6(0x1e2)](_0x253d19=0x400,_0xc38132=0x400){const _0x579657=_0x3233b6;try{if(this['postProcessManager']&&this[_0x579657(0x20b)][_0x579657(0x237)]()){}else await this[_0x579657(0x1e7)][_0x579657(0x237)](this[_0x579657(0x1da)][_0x579657(0x1f2)][_0x579657(0x228)],this['app'][_0x579657(0x206)]);const _0x385aa1=this['renderer'][_0x579657(0x22a)][_0x579657(0x1f0)],_0xb30712=this[_0x579657(0x1e7)][_0x579657(0x22a)]['height'];let _0xea1610=_0x385aa1||_0x253d19,_0xfe14d9=_0xb30712||_0xc38132;(_0xea1610<=0x0||_0xfe14d9<=0x0)&&(_0xea1610=_0x253d19,_0xfe14d9=_0xc38132);const _0x39292a=document['createElement'](_0x579657(0x214));_0x39292a[_0x579657(0x1f0)]=_0x253d19,_0x39292a[_0x579657(0x1e4)]=_0xc38132;const _0x25618f=_0x39292a[_0x579657(0x216)]('2d');if(!_0x25618f)throw Error(_0x579657(0x1e5));_0x25618f[_0x579657(0x213)](this['renderer'][_0x579657(0x22a)],0x0,0x0,_0xea1610,_0xfe14d9,0x0,0x0,_0x253d19,_0xc38132);const _0x222c34=_0x39292a[_0x579657(0x233)](_0x579657(0x23e));return _0x39292a[_0x579657(0x1d7)](),_0x222c34;}catch(_0xff36d3){return '';}}[_0x3233b6(0x1fe)](_0x1f0730){const _0x3b7be5=_0x3233b6;if(!this[_0x3b7be5(0x230)])return;this['_renderer'][_0x3b7be5(0x20e)][_0x3b7be5(0x1fc)]=_0x1f0730;}[_0x3233b6(0x1de)](_0x1055d4){const _0x207b1d=_0x3233b6;if(!this[_0x207b1d(0x230)])return;this[_0x207b1d(0x230)][_0x207b1d(0x20e)][_0x207b1d(0x1d8)]=_0x1055d4;}[_0x3233b6(0x1fa)](_0x205780){const _0x3ce766=_0x3233b6;if(!this['_renderer'])return;this[_0x3ce766(0x230)][_0x3ce766(0x226)]=_0x205780;}[_0x3233b6(0x202)](_0x19bca5){if(!this['_renderer'])return;this['_renderer']['toneMappingExposure']=_0x19bca5;}[_0x3233b6(0x23c)](){const _0x4a26cc=_0x3233b6;this['destroyPostProcess'](),this[_0x4a26cc(0x1e7)][_0x4a26cc(0x1ea)](null),this[_0x4a26cc(0x1ec)]&&(this[_0x4a26cc(0x1ec)][_0x4a26cc(0x1ed)](),this[_0x4a26cc(0x1ec)]=null),this[_0x4a26cc(0x222)]&&(this[_0x4a26cc(0x222)][_0x4a26cc(0x22a)]['remove'](),this[_0x4a26cc(0x222)]=null),this['_renderer']&&(this[_0x4a26cc(0x1e7)][_0x4a26cc(0x22a)][_0x4a26cc(0x1d7)](),this['_renderer'][_0x4a26cc(0x227)](),this['_renderer']=null),this['_canvasContainer']&&(this[_0x4a26cc(0x1f8)][_0x4a26cc(0x1d7)](),this[_0x4a26cc(0x1f8)]=null),this[_0x4a26cc(0x1f6)]=null,this[_0x4a26cc(0x1f9)]=null;}}
|
|
85
85
|
|
|
86
|
-
const _0x1b0466=_0x4cd0;(function(_0x1f5a33,_0x55ca54){const _0x3d0f4b=_0x4cd0,_0x2d057e=_0x1f5a33();while(!![]){try{const _0x409685=parseInt(_0x3d0f4b(0x140))/0x1*(-parseInt(_0x3d0f4b(0x19e))/0x2)+parseInt(_0x3d0f4b(0x149))/0x3+parseInt(_0x3d0f4b(0x198))/0x4+parseInt(_0x3d0f4b(0x146))/0x5*(parseInt(_0x3d0f4b(0x162))/0x6)+-parseInt(_0x3d0f4b(0x15f))/0x7*(parseInt(_0x3d0f4b(0x191))/0x8)+-parseInt(_0x3d0f4b(0x195))/0x9+-parseInt(_0x3d0f4b(0x189))/0xa;if(_0x409685===_0x55ca54)break;else _0x2d057e['push'](_0x2d057e['shift']());}catch(_0x3b0698){_0x2d057e['push'](_0x2d057e['shift']());}}}(_0x10b4,0x94d20));function _0x4cd0(_0x25d7a6,_0x4cf07e){_0x25d7a6=_0x25d7a6-0x13e;const _0x10b470=_0x10b4();let _0x4cd07d=_0x10b470[_0x25d7a6];return _0x4cd07d;}class Actor extends BaseObject{get['world'](){const _0x44347d=_0x4cd0;return this[_0x44347d(0x170)];}get[_0x1b0466(0x171)](){const _0x1c2412=_0x1b0466;return this[_0x1c2412(0x17f)];}set[_0x1b0466(0x171)](_0x4b1cc6){const _0x61bed9=_0x1b0466;this[_0x61bed9(0x17f)]=_0x4b1cc6;}get[_0x1b0466(0x141)](){const _0x55df83=_0x1b0466;if(!this[_0x55df83(0x16b)])throw Error('rootComponent\x20is\x20invalid');return this[_0x55df83(0x16b)];}set[_0x1b0466(0x141)](_0x3cf7e2){const _0x231e38=_0x1b0466;_0x3cf7e2['detachFromParentComponent'](),_0x3cf7e2['parentActor']=this;if(this[_0x231e38(0x16b)]){let _0x1bd0c6=this[_0x231e38(0x141)][_0x231e38(0x1a1)];for(let _0x3f0c46=0x0;_0x3f0c46<_0x1bd0c6[_0x231e38(0x15d)];++_0x3f0c46){_0x3cf7e2[_0x231e38(0x148)](_0x1bd0c6[_0x3f0c46]);}this[_0x231e38(0x141)]['destroy']();}this['_rootComponent']=_0x3cf7e2;}get['childrenComponents'](){const _0x299f7f=_0x1b0466;return this[_0x299f7f(0x141)]['childrenComponents'];}get['childActors'](){const _0x362cf5=_0x1b0466;var _0x43f433;let _0x2d897b=[];return (_0x43f433=this[_0x362cf5(0x141)][_0x362cf5(0x18f)])===null||_0x43f433===void 0?void 0:_0x43f433['children'][_0x362cf5(0x15e)](_0x3c935d=>{const _0x39674e=_0x362cf5;var _0x1a2afd;let _0x4c6f8f=(_0x1a2afd=_0x3c935d[_0x39674e(0x167)][_0x39674e(0x1a0)])===null||_0x1a2afd===void 0?void 0:_0x1a2afd[_0x39674e(0x15b)];_0x4c6f8f!==this&&_0x4c6f8f instanceof Actor&&_0x2d897b[_0x39674e(0x168)](_0x4c6f8f);}),_0x2d897b;}get[_0x1b0466(0x15b)](){const _0x26fd47=_0x1b0466;var _0x26b38d,_0x704be2,_0xbe92b;let _0x4dab9e=(_0xbe92b=(_0x704be2=(_0x26b38d=this[_0x26fd47(0x141)][_0x26fd47(0x18f)])===null||_0x26b38d===void 0?void 0:_0x26b38d[_0x26fd47(0x19f)])===null||_0x704be2===void 0?void 0:_0x704be2[_0x26fd47(0x167)]['LYObject'])===null||_0xbe92b===void 0?void 0:_0xbe92b[_0x26fd47(0x15b)];return _0x4dab9e===this?null:_0x4dab9e;}get[_0x1b0466(0x166)](){const _0x385b33=_0x1b0466;return this[_0x385b33(0x141)]?this[_0x385b33(0x141)][_0x385b33(0x166)]:![];}get[_0x1b0466(0x144)](){return super['isTickEnabled'];}set[_0x1b0466(0x144)](_0x5e6c3d){const _0x5f1f93=_0x1b0466;super[_0x5f1f93(0x144)]=_0x5e6c3d,this[_0x5f1f93(0x144)]?this['app'][_0x5f1f93(0x14d)][_0x5f1f93(0x16d)](this):this[_0x5f1f93(0x185)][_0x5f1f93(0x14d)][_0x5f1f93(0x160)](this);}get[_0x1b0466(0x177)](){const _0xd77f06=_0x1b0466;return this[_0xd77f06(0x181)];}get[_0x1b0466(0x150)](){return this['_onHoverEndDelegate'];}get[_0x1b0466(0x145)](){const _0x386fd=_0x1b0466;return this[_0x386fd(0x186)];}get[_0x1b0466(0x178)](){const _0x2ce62d=_0x1b0466;return this[_0x2ce62d(0x18c)];}constructor(_0x4ea7d8,_0x2ce293){const _0x303f9c=_0x1b0466;super(_0x2ce293),this['_name']=_0x303f9c(0x183),this[_0x303f9c(0x16b)]=null,this[_0x303f9c(0x170)]=null,this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x303f9c(0x186)]=new Delegate(),this[_0x303f9c(0x18c)]=new Delegate(),this[_0x303f9c(0x185)]=_0x4ea7d8,this[_0x303f9c(0x141)]=this[_0x303f9c(0x165)](),this[_0x303f9c(0x141)][_0x303f9c(0x15b)]=this;}['constructRootComponent'](){return new SceneComponent(this['app']);}[_0x1b0466(0x16a)](_0x27c0ce=!![]){const _0xa57e91=_0x1b0466;let _0x45b22a=new webgpu.Vector3();return this[_0xa57e91(0x17d)]()[_0xa57e91(0x14f)](_0x45b22a),!_0x27c0ce?_0x45b22a[_0xa57e91(0x157)](this[_0xa57e91(0x180)]()):_0x45b22a;}['getChildActorById'](_0x30f2ea,_0x1aaf65=!![]){const _0x595c51=_0x1b0466,_0x2a0a7e=this[_0x595c51(0x18b)];for(const _0x327a44 of _0x2a0a7e){if(_0x327a44[_0x595c51(0x151)]===_0x30f2ea)return _0x327a44;}if(_0x1aaf65)for(const _0x455388 of _0x2a0a7e){const _0x366823=_0x455388[_0x595c51(0x19d)](_0x30f2ea,!![]);if(_0x366823)return _0x366823;}return null;}[_0x1b0466(0x17e)](_0x4e9c19,_0x53126f=!![]){const _0x1c3866=_0x1b0466,_0x3a143a=[],_0x191414=new Set(_0x4e9c19),_0x2d74bb=this[_0x1c3866(0x18b)];for(const _0x275603 of _0x2d74bb){_0x191414[_0x1c3866(0x143)](_0x275603['uuid'])&&(_0x3a143a[_0x1c3866(0x168)](_0x275603),_0x191414[_0x1c3866(0x196)](_0x275603['uuid']));}if(_0x53126f&&_0x191414[_0x1c3866(0x164)]>0x0)for(const _0x48d65f of _0x2d74bb){const _0x39bb6a=_0x48d65f[_0x1c3866(0x17e)]([..._0x191414],!![]);for(const _0x26d792 of _0x39bb6a){_0x3a143a[_0x1c3866(0x168)](_0x26d792),_0x191414[_0x1c3866(0x196)](_0x26d792[_0x1c3866(0x151)]);}if(_0x191414[_0x1c3866(0x164)]===0x0)break;}return _0x3a143a;}['getComponentById'](_0x24aa7b){const _0x1943ef=_0x1b0466;return this[_0x1943ef(0x141)][_0x1943ef(0x18e)](_0x24aa7b);}[_0x1b0466(0x190)](_0x5c51d8=!![]){const _0x1c1914=_0x1b0466;let _0x2f3982=new webgpu.Vector3(),_0x300be5=this[_0x1c1914(0x141)][_0x1c1914(0x17d)]();return _0x300be5[_0x1c1914(0x14f)](_0x2f3982),_0x2f3982['y']=_0x300be5['max']['y'],!_0x5c51d8?_0x2f3982[_0x1c1914(0x157)](this[_0x1c1914(0x180)]()):_0x2f3982;}[_0x1b0466(0x173)](_0x426dfe=!![]){const _0x18784d=_0x1b0466;let _0x40ac98=new webgpu.Vector3(),_0x425d0f=this[_0x18784d(0x17d)]();return _0x425d0f['getCenter'](_0x40ac98),_0x40ac98['y']=_0x425d0f[_0x18784d(0x147)]['y'],!_0x426dfe?_0x40ac98[_0x18784d(0x157)](this[_0x18784d(0x180)]()):_0x40ac98;}[_0x1b0466(0x17d)](){const _0x3f7b81=_0x1b0466;return this[_0x3f7b81(0x141)][_0x3f7b81(0x17d)]();}[_0x1b0466(0x18d)](){const _0x87761a=_0x1b0466;let _0x510b6d=this[_0x87761a(0x18b)];_0x510b6d[_0x87761a(0x15e)](_0x34fab4=>{_0x34fab4['destroy']();}),this[_0x87761a(0x141)][_0x87761a(0x18d)]();}[_0x1b0466(0x15a)](_0x14f0a0){const _0x2e83a6=_0x1b0466;this['rootComponent'][_0x2e83a6(0x15a)](_0x14f0a0);}[_0x1b0466(0x192)](_0xeede4f,_0xe3d509=!![]){const _0xfd189c=_0x1b0466;this['rootComponent'][_0xfd189c(0x192)](_0xeede4f),_0xe3d509&&this[_0xfd189c(0x18b)][_0xfd189c(0x15e)](_0x7935c9=>{const _0x58ca91=_0xfd189c;_0x7935c9[_0x58ca91(0x192)](_0xeede4f,_0xe3d509);});}['tick'](_0x5245c5){const _0x4f302a=_0x1b0466;if(!this[_0x4f302a(0x144)])return;super['tick'](_0x5245c5),this['rootComponent'][_0x4f302a(0x18a)](_0x5245c5);}[_0x1b0466(0x180)](){const _0x1e1d4=_0x1b0466;return this[_0x1e1d4(0x141)][_0x1e1d4(0x180)]();}[_0x1b0466(0x19b)](..._0x4a2cc3){const _0x108041=_0x1b0466;_0x4a2cc3['length']===0x1?this['rootComponent']['setPosition'](_0x4a2cc3[0x0]):this[_0x108041(0x141)][_0x108041(0x19b)](_0x4a2cc3[0x0],_0x4a2cc3[0x1],_0x4a2cc3[0x2]);}[_0x1b0466(0x158)](){const _0xc48f91=_0x1b0466;return this[_0xc48f91(0x141)]['getRotation']();}[_0x1b0466(0x153)](..._0x57cbb7){const _0xa97aea=_0x1b0466;_0x57cbb7[_0xa97aea(0x15d)]===0x1?this[_0xa97aea(0x141)]['setRotation'](_0x57cbb7[0x0]):this['rootComponent']['setRotation'](_0x57cbb7[0x0],_0x57cbb7[0x1],_0x57cbb7[0x2]);}[_0x1b0466(0x14b)](){const _0x3fed0b=_0x1b0466;return this['rootComponent'][_0x3fed0b(0x14b)]();}['setQuaternion'](..._0x3abbea){const _0x55bac5=_0x1b0466;_0x3abbea[_0x55bac5(0x15d)]===0x1?this[_0x55bac5(0x141)]['setQuaternion'](_0x3abbea[0x0]):this[_0x55bac5(0x141)][_0x55bac5(0x174)](_0x3abbea[0x0],_0x3abbea[0x1],_0x3abbea[0x2],_0x3abbea[0x3]);}[_0x1b0466(0x155)](){const _0x25af71=_0x1b0466;return this[_0x25af71(0x141)][_0x25af71(0x155)]();}[_0x1b0466(0x163)](..._0x194b33){const _0x2fddf9=_0x1b0466;_0x194b33[_0x2fddf9(0x15d)]===0x1?this[_0x2fddf9(0x141)][_0x2fddf9(0x163)](_0x194b33[0x0]):this[_0x2fddf9(0x141)][_0x2fddf9(0x163)](_0x194b33[0x0],_0x194b33[0x1],_0x194b33[0x2]);}['getWorldMatrix'](){const _0x519c14=_0x1b0466;return this[_0x519c14(0x141)][_0x519c14(0x19a)]();}['setWorldMatrix'](_0x4d1cce){const _0x38390f=_0x1b0466;this[_0x38390f(0x141)][_0x38390f(0x161)](_0x4d1cce);}[_0x1b0466(0x13f)](){const _0x37501e=_0x1b0466;return this[_0x37501e(0x141)][_0x37501e(0x13f)]();}[_0x1b0466(0x176)](){const _0x25cbf3=_0x1b0466;return this['rootComponent'][_0x25cbf3(0x176)]();}[_0x1b0466(0x142)](){const _0x11046c=_0x1b0466;return this[_0x11046c(0x141)]['getWorldQuaternion']();}[_0x1b0466(0x17c)](){const _0x1c6015=_0x1b0466;return this[_0x1c6015(0x141)][_0x1c6015(0x17c)]();}['getWorldForwardDirection'](){const _0x180d6a=_0x1b0466;return this[_0x180d6a(0x141)]['getWorldForwardDirection']();}[_0x1b0466(0x187)](){const _0x59cb70=_0x1b0466;return this['rootComponent'][_0x59cb70(0x187)]();}['getWorldRightDirection'](){return this['rootComponent']['getWorldRightDirection']();}[_0x1b0466(0x14c)](_0x5ace58,_0x2893c5){const _0x2b7e36=_0x1b0466;let _0x440206=this['getPosition']();this[_0x2b7e36(0x19b)](_0x440206['x']+_0x5ace58['x']*_0x2893c5,_0x440206['y']+_0x5ace58['y']*_0x2893c5,_0x440206['z']+_0x5ace58['z']*_0x2893c5);}[_0x1b0466(0x175)](_0x48749d){const _0x458b2a=_0x1b0466;return this[_0x458b2a(0x141)][_0x458b2a(0x175)](_0x48749d);}['localToWorld'](_0x1e4a2a){const _0x1753b8=_0x1b0466;return this[_0x1753b8(0x141)][_0x1753b8(0x156)](_0x1e4a2a);}[_0x1b0466(0x16e)](){const _0x4b7d53=_0x1b0466;return this[_0x4b7d53(0x141)][_0x4b7d53(0x1a1)];}[_0x1b0466(0x154)](_0x24e5d5,_0x32ba85=exports.AttachmentRules[_0x1b0466(0x16c)]){const _0x4aa230=_0x1b0466;this[_0x4aa230(0x141)][_0x4aa230(0x148)](_0x24e5d5,_0x32ba85),this['_world']&&_0x24e5d5[_0x4aa230(0x169)](this[_0x4aa230(0x170)]);}[_0x1b0466(0x197)](_0x2d7110){const _0x5f128e=_0x1b0466;if(_0x2d7110===this['_rootComponent'])return;this['rootComponent'][_0x5f128e(0x16f)](_0x2d7110);}[_0x1b0466(0x182)](){const _0x534102=_0x1b0466;this[_0x534102(0x141)][_0x534102(0x179)]();}[_0x1b0466(0x188)](_0x387d5b,_0x332b28=exports.AttachmentRules[_0x1b0466(0x184)]){const _0x4d4ba5=_0x1b0466;if(!_0x387d5b[_0x4d4ba5(0x141)]){console['error'](_0x4d4ba5(0x15c));return;}if(_0x387d5b[_0x4d4ba5(0x15b)]===this)return;_0x332b28===exports.AttachmentRules['KeepRelative']&&this[_0x4d4ba5(0x141)][_0x4d4ba5(0x159)](_0x387d5b[_0x4d4ba5(0x141)]);if(_0x332b28===exports.AttachmentRules['KeepWorld']){let _0x13fa72=_0x387d5b[_0x4d4ba5(0x19a)]();this[_0x4d4ba5(0x141)][_0x4d4ba5(0x159)](_0x387d5b[_0x4d4ba5(0x141)]),_0x387d5b[_0x4d4ba5(0x161)](_0x13fa72);}this[_0x4d4ba5(0x170)]&&this['_world']['viewport'][_0x4d4ba5(0x17b)]();}[_0x1b0466(0x193)](_0xde54c3){const _0x124a9e=_0x1b0466;let _0x365d9c=_0xde54c3[_0x124a9e(0x19a)]();this[_0x124a9e(0x141)]['detachComponent'](_0xde54c3['rootComponent']),_0xde54c3[_0x124a9e(0x161)](_0x365d9c);}[_0x1b0466(0x14a)](){const _0x3d8341=_0x1b0466;this[_0x3d8341(0x15b)]&&this[_0x3d8341(0x15b)][_0x3d8341(0x193)](this);}[_0x1b0466(0x169)](_0x30c483){const _0x50d928=_0x1b0466;this[_0x50d928(0x170)]=_0x30c483,this[_0x50d928(0x141)][_0x50d928(0x169)](this[_0x50d928(0x170)]),this[_0x50d928(0x18b)][_0x50d928(0x15e)](_0x3299cd=>{const _0x416be6=_0x50d928;_0x3299cd[_0x416be6(0x169)](_0x30c483);});}['onRemovedFromWorld'](){const _0x41e321=_0x1b0466;this[_0x41e321(0x170)]=null;}get[_0x1b0466(0x13e)](){const _0x1abd1f=_0x1b0466;return this[_0x1abd1f(0x141)][_0x1abd1f(0x13e)];}set['isHoverEnabled'](_0x570f05){const _0x50e87d=_0x1b0466;this['rootComponent'][_0x50e87d(0x13e)]=_0x570f05;}get['isClickEnabled'](){const _0x3a8ae4=_0x1b0466;return this[_0x3a8ae4(0x141)][_0x3a8ae4(0x14e)];}set['isClickEnabled'](_0x1de71b){const _0x179afe=_0x1b0466;this['rootComponent'][_0x179afe(0x14e)]=_0x1de71b;}[_0x1b0466(0x199)](_0x41f713){const _0x5e02eb=_0x1b0466;this[_0x5e02eb(0x181)][_0x5e02eb(0x152)](_0x41f713);}[_0x1b0466(0x17a)](_0x4dcb31){const _0x5f0b1b=_0x1b0466;this[_0x5f0b1b(0x172)][_0x5f0b1b(0x152)](_0x4dcb31);}[_0x1b0466(0x194)](_0x1b1e23){const _0x56660c=_0x1b0466;this[_0x56660c(0x186)]['broadcast'](_0x1b1e23);}[_0x1b0466(0x19c)](_0x16b916){const _0x3afb2f=_0x1b0466;this['_onDoubleClickDelegate'][_0x3afb2f(0x152)](_0x16b916);}['landToGround'](){}}function _0x10b4(){const _0x1faf4f=['LYObject','childrenComponents','isHoverEnabled','getWorldPosition','234653PdoAHz','rootComponent','getWorldQuaternion','has','isTickEnabled','onClickDelegate','2204750QMLCzd','min','addChildComponent','3298557ezJNlY','removeFromParent','getQuaternion','addLocalOffset','world','isClickEnabled','getCenter','onHoverEndDelegate','uuid','broadcast','setRotation','addComponent','getScale','localToWorld','sub','getRotation','attachComponent','setVisible','parentActor','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','length','forEach','14BdpoKr','removeTickableActor','setWorldMatrix','12cLXcZI','setScale','size','constructRootComponent','isVisible','userData','push','onAddedToWorld','getBoundsCenterPosition','_rootComponent','KeepRelative','addTickableActor','getComponents','removeChildComponent','_world','name','_onHoverEndDelegate','getBoundsBottomCenterPosition','setQuaternion','worldToLocal','getWorldRotation','onHoverBeginDelegate','onDoubleClickDelegate','destroyChildren','onActorHoverEnd','markRenderStateDirty','getWorldScale','getBounds','getChildActorsByIds','_name','getPosition','_onHoverBeginDelegate','clearComponent','Actor','KeepWorld','app','_onClickDelegate','getWorldUpDirection','addChildActor','3738200QShRSV','tick','childActors','_onDoubleClickDelegate','destroy','getComponentById','threeObject','getBoundsTopCenterPosition','933032lNKfHo','setLayers','removeChildActor','onActorClick','6511734Wvtlfm','delete','removeComponent','2650848Xulldp','onActorHoverBegin','getWorldMatrix','setPosition','onActorDoubleClick','getChildActorById','6fIfHFg','parent'];_0x10b4=function(){return _0x1faf4f;};return _0x10b4();}
|
|
86
|
+
const _0x2b828c=_0x5de5;function _0x5c99(){const _0x2a6d60=['getBoundsBottomCenterPosition','_name','onHoverBeginDelegate','min','6523xfWvQj','childActors','onActorDoubleClick','getWorldUpDirection','isClickEnabled','name','30tPWxSa','_onHoverBeginDelegate','LYObject','setWorldMatrix','setRotation','clearComponent','worldToLocal','_onDoubleClickDelegate','Actor','length','getPosition','isVisible','setLayers','isHoverEnabled','getScale','15975WOfsoV','addChildComponent','9504xolWoH','removeFromParent','destroy','delete','detachComponent','onActorClick','getQuaternion','getWorldScale','constructRootComponent','parent','size','onAddedToWorld','childrenComponents','KeepWorld','addTickableActor','has','removeTickableActor','3058876JRrJeS','_world','rootComponent\x20is\x20invalid','getRotation','onActorHoverBegin','getCenter','parentActor','userData','isTickEnabled','app','getWorldForwardDirection','setQuaternion','getWorldQuaternion','onDoubleClickDelegate','removeComponent','onHoverEndDelegate','onActorHoverEnd','3jsVeBW','push','7881304wjscva','children','world','_onHoverEndDelegate','91902yjcGFd','setVisible','onRemovedFromWorld','viewport','landToGround','getBounds','getBoundsTopCenterPosition','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','setPosition','119jAtfDg','setScale','sub','80JfnYNI','tick','getWorldMatrix','_onClickDelegate','rootComponent','broadcast','getWorldRightDirection','getWorldPosition','_rootComponent','addChildActor','attachComponent','threeObject','detachFromParentComponent','62224MDHKxf','destroyChildren','uuid','removeChildActor','getComponentById','820296wenwfG','forEach'];_0x5c99=function(){return _0x2a6d60;};return _0x5c99();}(function(_0x1d2575,_0x2abc30){const _0xd1a6dd=_0x5de5,_0x2946df=_0x1d2575();while(!![]){try{const _0x4de3a6=parseInt(_0xd1a6dd(0xe3))/0x1*(parseInt(_0xd1a6dd(0xd2))/0x2)+parseInt(_0xd1a6dd(0x116))/0x3*(parseInt(_0xd1a6dd(0x105))/0x4)+-parseInt(_0xd1a6dd(0xf2))/0x5+parseInt(_0xd1a6dd(0xb9))/0x6*(parseInt(_0xd1a6dd(0xc2))/0x7)+-parseInt(_0xd1a6dd(0x118))/0x8+parseInt(_0xd1a6dd(0xd7))/0x9*(-parseInt(_0xd1a6dd(0xc5))/0xa)+-parseInt(_0xd1a6dd(0xdd))/0xb*(-parseInt(_0xd1a6dd(0xf4))/0xc);if(_0x4de3a6===_0x2abc30)break;else _0x2946df['push'](_0x2946df['shift']());}catch(_0x4e386d){_0x2946df['push'](_0x2946df['shift']());}}}(_0x5c99,0xad7d6));function _0x5de5(_0x4be3db,_0x2961e4){_0x4be3db=_0x4be3db-0xb7;const _0x5c9952=_0x5c99();let _0x5de583=_0x5c9952[_0x4be3db];return _0x5de583;}class Actor extends BaseObject{get['world'](){const _0x4fdec4=_0x5de5;return this[_0x4fdec4(0x106)];}get[_0x2b828c(0xe2)](){const _0x19a3f7=_0x2b828c;return this[_0x19a3f7(0xda)];}set[_0x2b828c(0xe2)](_0x31f74e){const _0x1843b5=_0x2b828c;this[_0x1843b5(0xda)]=_0x31f74e;}get[_0x2b828c(0xc9)](){const _0x14bb06=_0x2b828c;if(!this['_rootComponent'])throw Error(_0x14bb06(0x107));return this[_0x14bb06(0xcd)];}set[_0x2b828c(0xc9)](_0x670d59){const _0x2a4355=_0x2b828c;_0x670d59[_0x2a4355(0xd1)](),_0x670d59[_0x2a4355(0x10b)]=this;if(this['_rootComponent']){let _0x55ca0c=this[_0x2a4355(0xc9)][_0x2a4355(0x100)];for(let _0x4b57fe=0x0;_0x4b57fe<_0x55ca0c['length'];++_0x4b57fe){_0x670d59[_0x2a4355(0xf3)](_0x55ca0c[_0x4b57fe]);}this['rootComponent'][_0x2a4355(0xf6)]();}this[_0x2a4355(0xcd)]=_0x670d59;}get[_0x2b828c(0x100)](){const _0x2810d6=_0x2b828c;return this[_0x2810d6(0xc9)][_0x2810d6(0x100)];}get['childActors'](){const _0x2a469a=_0x2b828c;var _0x35f619;let _0x4e2cf3=[];return (_0x35f619=this[_0x2a469a(0xc9)][_0x2a469a(0xd0)])===null||_0x35f619===void 0?void 0:_0x35f619[_0x2a469a(0x119)][_0x2a469a(0xd8)](_0x377f22=>{const _0x20c5d8=_0x2a469a;var _0x54dd04;let _0x23abdd=(_0x54dd04=_0x377f22[_0x20c5d8(0x10c)][_0x20c5d8(0xe5)])===null||_0x54dd04===void 0?void 0:_0x54dd04[_0x20c5d8(0x10b)];_0x23abdd!==this&&_0x23abdd instanceof Actor&&_0x4e2cf3[_0x20c5d8(0x117)](_0x23abdd);}),_0x4e2cf3;}get[_0x2b828c(0x10b)](){const _0x3c26e0=_0x2b828c;var _0x12e4e2,_0x18d91c,_0x5520db;let _0x594311=(_0x5520db=(_0x18d91c=(_0x12e4e2=this['rootComponent'][_0x3c26e0(0xd0)])===null||_0x12e4e2===void 0?void 0:_0x12e4e2[_0x3c26e0(0xfd)])===null||_0x18d91c===void 0?void 0:_0x18d91c[_0x3c26e0(0x10c)]['LYObject'])===null||_0x5520db===void 0?void 0:_0x5520db[_0x3c26e0(0x10b)];return _0x594311===this?null:_0x594311;}get['isVisible'](){const _0x212829=_0x2b828c;return this[_0x212829(0xc9)]?this[_0x212829(0xc9)][_0x212829(0xee)]:![];}get['isTickEnabled'](){const _0xb299b7=_0x2b828c;return super[_0xb299b7(0x10d)];}set[_0x2b828c(0x10d)](_0x56075d){const _0x20d1f2=_0x2b828c;super[_0x20d1f2(0x10d)]=_0x56075d,this['isTickEnabled']?this[_0x20d1f2(0x10e)][_0x20d1f2(0xb7)][_0x20d1f2(0x102)](this):this[_0x20d1f2(0x10e)]['world'][_0x20d1f2(0x104)](this);}get[_0x2b828c(0xdb)](){const _0x552d8f=_0x2b828c;return this[_0x552d8f(0xe4)];}get[_0x2b828c(0x114)](){const _0x21f457=_0x2b828c;return this[_0x21f457(0xb8)];}get['onClickDelegate'](){const _0x19010f=_0x2b828c;return this[_0x19010f(0xc8)];}get[_0x2b828c(0x112)](){const _0x4b7cd8=_0x2b828c;return this[_0x4b7cd8(0xea)];}constructor(_0x594143,_0x1b34f1){const _0x5a9e0a=_0x2b828c;super(_0x1b34f1),this[_0x5a9e0a(0xda)]=_0x5a9e0a(0xeb),this['_rootComponent']=null,this['_world']=null,this[_0x5a9e0a(0xe4)]=new Delegate(),this[_0x5a9e0a(0xb8)]=new Delegate(),this[_0x5a9e0a(0xc8)]=new Delegate(),this[_0x5a9e0a(0xea)]=new Delegate(),this[_0x5a9e0a(0x10e)]=_0x594143,this[_0x5a9e0a(0xc9)]=this[_0x5a9e0a(0xfc)](),this[_0x5a9e0a(0xc9)][_0x5a9e0a(0x10b)]=this;}['constructRootComponent'](){return new SceneComponent(this['app']);}['getBoundsCenterPosition'](_0x251ea3=!![]){const _0x52a772=_0x2b828c;let _0x16570c=new webgpu.Vector3();return this[_0x52a772(0xbe)]()['getCenter'](_0x16570c),!_0x251ea3?_0x16570c[_0x52a772(0xc4)](this[_0x52a772(0xed)]()):_0x16570c;}['getChildActorById'](_0x4c431b,_0x4cfdaa=!![]){const _0x5003d5=_0x2b828c,_0x4e658c=this[_0x5003d5(0xde)];for(const _0x223939 of _0x4e658c){if(_0x223939[_0x5003d5(0xd4)]===_0x4c431b)return _0x223939;}if(_0x4cfdaa)for(const _0x5067b3 of _0x4e658c){const _0x33155f=_0x5067b3['getChildActorById'](_0x4c431b,!![]);if(_0x33155f)return _0x33155f;}return null;}['getChildActorsByIds'](_0x535cdd,_0x186841=!![]){const _0x71491c=_0x2b828c,_0x522a74=[],_0x51177a=new Set(_0x535cdd),_0x407f63=this[_0x71491c(0xde)];for(const _0x3641da of _0x407f63){_0x51177a[_0x71491c(0x103)](_0x3641da[_0x71491c(0xd4)])&&(_0x522a74[_0x71491c(0x117)](_0x3641da),_0x51177a[_0x71491c(0xf7)](_0x3641da['uuid']));}if(_0x186841&&_0x51177a[_0x71491c(0xfe)]>0x0)for(const _0x60ad10 of _0x407f63){const _0x5d509e=_0x60ad10['getChildActorsByIds']([..._0x51177a],!![]);for(const _0x3cdc1c of _0x5d509e){_0x522a74[_0x71491c(0x117)](_0x3cdc1c),_0x51177a['delete'](_0x3cdc1c['uuid']);}if(_0x51177a[_0x71491c(0xfe)]===0x0)break;}return _0x522a74;}[_0x2b828c(0xd6)](_0x4818dd){const _0x4fcf34=_0x2b828c;return this[_0x4fcf34(0xc9)]['getComponentById'](_0x4818dd);}[_0x2b828c(0xbf)](_0x401020=!![]){const _0x574838=_0x2b828c;let _0x1e9280=new webgpu.Vector3(),_0x56e190=this[_0x574838(0xc9)][_0x574838(0xbe)]();return _0x56e190[_0x574838(0x10a)](_0x1e9280),_0x1e9280['y']=_0x56e190['max']['y'],!_0x401020?_0x1e9280[_0x574838(0xc4)](this['getPosition']()):_0x1e9280;}[_0x2b828c(0xd9)](_0xf165b5=!![]){const _0xced4e2=_0x2b828c;let _0x4e8b97=new webgpu.Vector3(),_0x322af2=this[_0xced4e2(0xbe)]();return _0x322af2[_0xced4e2(0x10a)](_0x4e8b97),_0x4e8b97['y']=_0x322af2[_0xced4e2(0xdc)]['y'],!_0xf165b5?_0x4e8b97[_0xced4e2(0xc4)](this[_0xced4e2(0xed)]()):_0x4e8b97;}[_0x2b828c(0xbe)](){const _0x277ed3=_0x2b828c;return this['rootComponent'][_0x277ed3(0xbe)]();}[_0x2b828c(0xf6)](){const _0x121be7=_0x2b828c;let _0x35f79d=this[_0x121be7(0xde)];_0x35f79d[_0x121be7(0xd8)](_0x12ea2c=>{const _0x3f9f19=_0x121be7;_0x12ea2c[_0x3f9f19(0xf6)]();}),this[_0x121be7(0xc9)]['destroy']();}[_0x2b828c(0xba)](_0x268ccd){const _0x141159=_0x2b828c;this[_0x141159(0xc9)][_0x141159(0xba)](_0x268ccd);}['setLayers'](_0xebaf09,_0x25625f=!![]){const _0x3fb448=_0x2b828c;this['rootComponent'][_0x3fb448(0xef)](_0xebaf09),_0x25625f&&this[_0x3fb448(0xde)][_0x3fb448(0xd8)](_0x23ca34=>{const _0x4f842a=_0x3fb448;_0x23ca34[_0x4f842a(0xef)](_0xebaf09,_0x25625f);});}[_0x2b828c(0xc6)](_0x1451e3){const _0x4e73f1=_0x2b828c;if(!this[_0x4e73f1(0x10d)])return;super['tick'](_0x1451e3),this['rootComponent'][_0x4e73f1(0xc6)](_0x1451e3);}[_0x2b828c(0xed)](){const _0x5cda9c=_0x2b828c;return this[_0x5cda9c(0xc9)]['getPosition']();}[_0x2b828c(0xc1)](..._0x5e86cc){const _0x3434cf=_0x2b828c;_0x5e86cc[_0x3434cf(0xec)]===0x1?this[_0x3434cf(0xc9)][_0x3434cf(0xc1)](_0x5e86cc[0x0]):this['rootComponent']['setPosition'](_0x5e86cc[0x0],_0x5e86cc[0x1],_0x5e86cc[0x2]);}[_0x2b828c(0x108)](){const _0x1a6cfc=_0x2b828c;return this['rootComponent'][_0x1a6cfc(0x108)]();}['setRotation'](..._0x26c15f){const _0x426b82=_0x2b828c;_0x26c15f[_0x426b82(0xec)]===0x1?this[_0x426b82(0xc9)][_0x426b82(0xe7)](_0x26c15f[0x0]):this[_0x426b82(0xc9)][_0x426b82(0xe7)](_0x26c15f[0x0],_0x26c15f[0x1],_0x26c15f[0x2]);}[_0x2b828c(0xfa)](){const _0x3585a6=_0x2b828c;return this[_0x3585a6(0xc9)][_0x3585a6(0xfa)]();}['setQuaternion'](..._0x58f937){const _0x862a43=_0x2b828c;_0x58f937[_0x862a43(0xec)]===0x1?this[_0x862a43(0xc9)]['setQuaternion'](_0x58f937[0x0]):this[_0x862a43(0xc9)][_0x862a43(0x110)](_0x58f937[0x0],_0x58f937[0x1],_0x58f937[0x2],_0x58f937[0x3]);}['getScale'](){const _0x1431ec=_0x2b828c;return this[_0x1431ec(0xc9)][_0x1431ec(0xf1)]();}['setScale'](..._0xeb86ea){const _0x48be93=_0x2b828c;_0xeb86ea[_0x48be93(0xec)]===0x1?this['rootComponent'][_0x48be93(0xc3)](_0xeb86ea[0x0]):this[_0x48be93(0xc9)][_0x48be93(0xc3)](_0xeb86ea[0x0],_0xeb86ea[0x1],_0xeb86ea[0x2]);}[_0x2b828c(0xc7)](){const _0x1bf04a=_0x2b828c;return this['rootComponent'][_0x1bf04a(0xc7)]();}[_0x2b828c(0xe6)](_0x2ff0b1){const _0x4b2fc4=_0x2b828c;this[_0x4b2fc4(0xc9)]['setWorldMatrix'](_0x2ff0b1);}[_0x2b828c(0xcc)](){const _0x15f271=_0x2b828c;return this[_0x15f271(0xc9)][_0x15f271(0xcc)]();}['getWorldRotation'](){const _0x3d2e38=_0x2b828c;return this[_0x3d2e38(0xc9)]['getWorldRotation']();}['getWorldQuaternion'](){const _0x83ce7d=_0x2b828c;return this[_0x83ce7d(0xc9)][_0x83ce7d(0x111)]();}[_0x2b828c(0xfb)](){const _0x4a8c95=_0x2b828c;return this[_0x4a8c95(0xc9)][_0x4a8c95(0xfb)]();}[_0x2b828c(0x10f)](){const _0x1d0fc8=_0x2b828c;return this[_0x1d0fc8(0xc9)][_0x1d0fc8(0x10f)]();}['getWorldUpDirection'](){const _0x4d2268=_0x2b828c;return this[_0x4d2268(0xc9)][_0x4d2268(0xe0)]();}['getWorldRightDirection'](){const _0x1fa605=_0x2b828c;return this[_0x1fa605(0xc9)][_0x1fa605(0xcb)]();}['addLocalOffset'](_0xfa10a,_0x74568b){const _0x358697=_0x2b828c;let _0x316a11=this[_0x358697(0xed)]();this[_0x358697(0xc1)](_0x316a11['x']+_0xfa10a['x']*_0x74568b,_0x316a11['y']+_0xfa10a['y']*_0x74568b,_0x316a11['z']+_0xfa10a['z']*_0x74568b);}[_0x2b828c(0xe9)](_0x254aae){const _0x329d09=_0x2b828c;return this[_0x329d09(0xc9)][_0x329d09(0xe9)](_0x254aae);}['localToWorld'](_0x163f47){const _0x506295=_0x2b828c;return this[_0x506295(0xc9)]['localToWorld'](_0x163f47);}['getComponents'](){const _0x44acd6=_0x2b828c;return this[_0x44acd6(0xc9)][_0x44acd6(0x100)];}['addComponent'](_0x3004e8,_0x444336=exports.AttachmentRules['KeepRelative']){const _0xf31e5a=_0x2b828c;this[_0xf31e5a(0xc9)]['addChildComponent'](_0x3004e8,_0x444336),this[_0xf31e5a(0x106)]&&_0x3004e8['onAddedToWorld'](this[_0xf31e5a(0x106)]);}[_0x2b828c(0x113)](_0x2b4e8f){const _0x2ceb01=_0x2b828c;if(_0x2b4e8f===this[_0x2ceb01(0xcd)])return;this[_0x2ceb01(0xc9)]['removeChildComponent'](_0x2b4e8f);}[_0x2b828c(0xe8)](){const _0x32d936=_0x2b828c;this[_0x32d936(0xc9)][_0x32d936(0xd3)]();}[_0x2b828c(0xce)](_0x42af34,_0x1c119f=exports.AttachmentRules[_0x2b828c(0x101)]){const _0x56bbb6=_0x2b828c;if(!_0x42af34[_0x56bbb6(0xc9)]){console['error'](_0x56bbb6(0xc0));return;}if(_0x42af34['parentActor']===this)return;_0x1c119f===exports.AttachmentRules['KeepRelative']&&this[_0x56bbb6(0xc9)][_0x56bbb6(0xcf)](_0x42af34[_0x56bbb6(0xc9)]);if(_0x1c119f===exports.AttachmentRules['KeepWorld']){let _0x2db7a9=_0x42af34[_0x56bbb6(0xc7)]();this[_0x56bbb6(0xc9)]['attachComponent'](_0x42af34[_0x56bbb6(0xc9)]),_0x42af34[_0x56bbb6(0xe6)](_0x2db7a9);}this['_world']&&this[_0x56bbb6(0x106)][_0x56bbb6(0xbc)]['markRenderStateDirty']();}[_0x2b828c(0xd5)](_0x2cbf8c){const _0x250551=_0x2b828c;let _0x1d1512=_0x2cbf8c['getWorldMatrix']();this['rootComponent'][_0x250551(0xf8)](_0x2cbf8c['rootComponent']),_0x2cbf8c[_0x250551(0xe6)](_0x1d1512);}[_0x2b828c(0xf5)](){const _0x5c415e=_0x2b828c;this[_0x5c415e(0x10b)]&&this[_0x5c415e(0x10b)][_0x5c415e(0xd5)](this);}[_0x2b828c(0xff)](_0x3b2a50){const _0x39729e=_0x2b828c;this[_0x39729e(0x106)]=_0x3b2a50,this[_0x39729e(0xc9)][_0x39729e(0xff)](this['_world']),this[_0x39729e(0xde)][_0x39729e(0xd8)](_0x333091=>{const _0x5c4e8d=_0x39729e;_0x333091[_0x5c4e8d(0xff)](_0x3b2a50);});}[_0x2b828c(0xbb)](){this['_world']=null;}get[_0x2b828c(0xf0)](){const _0x4a63ad=_0x2b828c;return this[_0x4a63ad(0xc9)]['isHoverEnabled'];}set['isHoverEnabled'](_0x5c3550){const _0x24a797=_0x2b828c;this[_0x24a797(0xc9)]['isHoverEnabled']=_0x5c3550;}get['isClickEnabled'](){const _0x1b8955=_0x2b828c;return this[_0x1b8955(0xc9)]['isClickEnabled'];}set['isClickEnabled'](_0x58648d){const _0xbcdc94=_0x2b828c;this['rootComponent'][_0xbcdc94(0xe1)]=_0x58648d;}[_0x2b828c(0x109)](_0x180d7e){const _0x72344c=_0x2b828c;this[_0x72344c(0xe4)]['broadcast'](_0x180d7e);}[_0x2b828c(0x115)](_0x36cc3b){const _0x56a389=_0x2b828c;this['_onHoverEndDelegate'][_0x56a389(0xca)](_0x36cc3b);}[_0x2b828c(0xf9)](_0x2c4846){const _0x46276e=_0x2b828c;this['_onClickDelegate'][_0x46276e(0xca)](_0x2c4846);}[_0x2b828c(0xdf)](_0x5c7d6a){const _0x2a0d92=_0x2b828c;this[_0x2a0d92(0xea)][_0x2a0d92(0xca)](_0x5c7d6a);}[_0x2b828c(0xbd)](){}}
|
|
87
87
|
|
|
88
|
-
var
|
|
88
|
+
var _0x27ea62=_0x38ce;(function(_0x3c0280,_0x2f0d6a){var _0x33ba8c=_0x38ce,_0x29021b=_0x3c0280();while(!![]){try{var _0x567f2e=parseInt(_0x33ba8c(0x1a4))/0x1+parseInt(_0x33ba8c(0x195))/0x2+parseInt(_0x33ba8c(0x196))/0x3+parseInt(_0x33ba8c(0x1a2))/0x4+parseInt(_0x33ba8c(0x194))/0x5+parseInt(_0x33ba8c(0x19a))/0x6*(parseInt(_0x33ba8c(0x1a5))/0x7)+-parseInt(_0x33ba8c(0x191))/0x8*(parseInt(_0x33ba8c(0x1a3))/0x9);if(_0x567f2e===_0x2f0d6a)break;else _0x29021b['push'](_0x29021b['shift']());}catch(_0x4e7aeb){_0x29021b['push'](_0x29021b['shift']());}}}(_0x4907,0xb6539));function _0x38ce(_0x31f663,_0x2550b9){_0x31f663=_0x31f663-0x191;var _0x49076c=_0x4907();var _0x38cecd=_0x49076c[_0x31f663];return _0x38cecd;}function _0x4907(){var _0x87f004=['2323634yXBwJz','3692688KrmYkd','isTickEnabled','focusTo','camera','488964JQJuLD','stopFocusing','unpossess','destroy','enabled','app','possess','inputFilter','2740028wOzAZv','947637PVMQSX','1246549DgUgFT','70XqSqfV','416PVQSEZ','_enabled','controller','5414180UGnwRo'];_0x4907=function(){return _0x87f004;};return _0x4907();}class Pawn extends Actor{get[_0x27ea62(0x199)](){var _0x3a74fb=_0x27ea62;return this[_0x3a74fb(0x19f)][_0x3a74fb(0x199)];}get[_0x27ea62(0x19e)](){var _0x4745b7=_0x27ea62;return this[_0x4745b7(0x192)];}set[_0x27ea62(0x19e)](_0x301191){var _0x5e498d=_0x27ea62;this[_0x5e498d(0x192)]=_0x301191;}constructor(_0x1a65e2){var _0x2efdab=_0x27ea62;super(_0x1a65e2),this[_0x2efdab(0x192)]=![],this['controller']=_0x1a65e2[_0x2efdab(0x193)],this[_0x2efdab(0x197)]=!![];}['tick'](_0x5696d7){return;}[_0x27ea62(0x1a0)](){}[_0x27ea62(0x19c)](){}[_0x27ea62(0x198)](_0xc23b51,_0x28e40e,_0x5730f0,_0x182839,_0x357e71=null,_0x5d63a8=null){}[_0x27ea62(0x19b)](){}[_0x27ea62(0x19d)](){}}Pawn[_0x27ea62(0x1a1)]=()=>!![];
|
|
89
89
|
|
|
90
|
-
function _0xfff3(_0x413e54,_0x5217b6){_0x413e54=_0x413e54-0x19c;const _0x1b1622=_0x1b16();let _0xfff335=_0x1b1622[_0x413e54];return _0xfff335;}const _0x213cf9=_0xfff3;(function(_0x4190ff,_0x231219){const _0x54e68f=_0xfff3,_0xd539d1=_0x4190ff();while(!![]){try{const _0x518624=parseInt(_0x54e68f(0x1a8))/0x1+parseInt(_0x54e68f(0x1f8))/0x2+-parseInt(_0x54e68f(0x19e))/0x3+parseInt(_0x54e68f(0x1bb))/0x4+parseInt(_0x54e68f(0x1b7))/0x5*(-parseInt(_0x54e68f(0x1a2))/0x6)+-parseInt(_0x54e68f(0x19d))/0x7*(-parseInt(_0x54e68f(0x1b0))/0x8)+parseInt(_0x54e68f(0x1c8))/0x9;if(_0x518624===_0x231219)break;else _0xd539d1['push'](_0xd539d1['shift']());}catch(_0x2dbdb3){_0xd539d1['push'](_0xd539d1['shift']());}}}(_0x1b16,0x48870));class Orbital extends Pawn{constructor(_0x585d21){const _0x45036d=_0xfff3;super(_0x585d21),this['distance']=0x5,this[_0x45036d(0x1b8)]=0.1,this[_0x45036d(0x1cd)]=0xf4240,this[_0x45036d(0x1ee)]=0x1,this[_0x45036d(0x1c0)]=0x1,this[_0x45036d(0x1cf)]=0x0,this[_0x45036d(0x1ef)]=Math['PI']*0.5,this['minAzimuthAngle']=-Infinity,this['maxAzimuthAngle']=Infinity,this['enableDamping']=!![],this[_0x45036d(0x1bc)]=0xa,this[_0x45036d(0x1eb)]=![],this[_0x45036d(0x1b6)]=new webgpu.Vector2(),this[_0x45036d(0x1df)]=new webgpu.Vector3(),this[_0x45036d(0x1a7)]=new webgpu.Quaternion(),this['_targetDistance']=0x5,this[_0x45036d(0x1cc)]=null,this[_0x45036d(0x1f3)]=_0x525132=>{const _0x323268=_0x45036d;if(!Pawn[_0x323268(0x1aa)]())return;_0x525132['preventDefault']();},this['onPointerDown']=_0x31dbb6=>{const _0x32a2f1=_0x45036d;if(!this['enabled']||!Pawn[_0x32a2f1(0x1aa)]())return;if(_0x31dbb6['button']===0x0||_0x31dbb6[_0x32a2f1(0x1a0)]===0x2){this[_0x32a2f1(0x1eb)]=!![],this[_0x32a2f1(0x1b6)][_0x32a2f1(0x1be)](_0x31dbb6['clientX'],_0x31dbb6['clientY']),this[_0x32a2f1(0x1ea)](!![]);const _0x32205b=this['app'][_0x32a2f1(0x1e7)][_0x32a2f1(0x1b2)];_0x32205b&&typeof _0x32205b[_0x32a2f1(0x1f7)]===_0x32a2f1(0x1e1)&&_0x32205b['setPointerCapture'](_0x31dbb6[_0x32a2f1(0x1f2)]);}},this[_0x45036d(0x1dd)]=_0x41fd1e=>{const _0x168475=_0x45036d;if(!this[_0x168475(0x1ae)]||!this[_0x168475(0x1eb)]||!Pawn[_0x168475(0x1aa)]())return;if(_0x41fd1e[_0x168475(0x1af)]===0x0){this[_0x168475(0x1eb)]=![],this[_0x168475(0x1ea)](![]);return;}const _0x5efe6d=_0x41fd1e[_0x168475(0x1ad)]-this[_0x168475(0x1b6)]['x'],_0x346766=_0x41fd1e['clientY']-this[_0x168475(0x1b6)]['y'];this['_lastPointerPosition'][_0x168475(0x1be)](_0x41fd1e[_0x168475(0x1ad)],_0x41fd1e['clientY']);const _0x24c34b=this[_0x168475(0x1ab)][_0x168475(0x1e7)]['canvas'];if(!_0x24c34b)return;if(_0x41fd1e[_0x168475(0x1af)]===0x1){const _0x117099=this['rotateSpeed']*0x2*Math['PI'],_0x382b93=new webgpu.Euler(0x0,0x0,0x0,_0x168475(0x1cb))[_0x168475(0x1b1)](this[_0x168475(0x1a7)]);_0x382b93['y']-=_0x5efe6d/_0x24c34b[_0x168475(0x1a9)]*_0x117099,_0x382b93['x']-=_0x346766/_0x24c34b[_0x168475(0x1a9)]*_0x117099;const _0x333011=Math[_0x168475(0x1ca)](this[_0x168475(0x1cf)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x39e225=Math[_0x168475(0x1b5)](this[_0x168475(0x1ef)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x382b93['x']=webgpu.MathUtils[_0x168475(0x1e5)](_0x382b93['x'],_0x333011,_0x39e225),isFinite(this[_0x168475(0x1dc)])&&isFinite(this[_0x168475(0x1f6)])&&(_0x382b93['y']=webgpu.MathUtils[_0x168475(0x1e5)](_0x382b93['y'],this[_0x168475(0x1dc)],this['maxAzimuthAngle'])),_0x382b93['z']=0x0,this[_0x168475(0x1a7)][_0x168475(0x1ba)](_0x382b93),!this['enableDamping']&&this['setQuaternion'](this['_targetQuaternion']);}else {if(_0x41fd1e['buttons']===0x2){const _0x140e69=this[_0x168475(0x1e0)]*0.002,_0x25ba3d=new webgpu.Vector3(0x1,0x0,0x0)['applyQuaternion'](this[_0x168475(0x1a7)])['normalize'](),_0x2b4ab7=new webgpu.Vector3(0x0,0x1,0x0)[_0x168475(0x1c9)](this[_0x168475(0x1a7)])['normalize']();this[_0x168475(0x1df)][_0x168475(0x1d5)](_0x25ba3d,-_0x5efe6d*_0x140e69),this[_0x168475(0x1df)][_0x168475(0x1d5)](_0x2b4ab7,_0x346766*_0x140e69),!this[_0x168475(0x1c6)]&&this[_0x168475(0x1c4)](this[_0x168475(0x1df)]);}}},this['onPointerUp']=_0x45b8f4=>{const _0x1a721c=_0x45036d;var _0x35782e;this[_0x1a721c(0x1eb)]=![],this['setCameraDraggingState'](![]);const _0x1a4ee5=this[_0x1a721c(0x1ab)]['viewport']['canvas'];_0x1a4ee5&&typeof _0x1a4ee5['releasePointerCapture']===_0x1a721c(0x1e1)&&((_0x35782e=_0x1a4ee5[_0x1a721c(0x1a4)])===null||_0x35782e===void 0?void 0:_0x35782e[_0x1a721c(0x1d7)](_0x1a4ee5,_0x45b8f4[_0x1a721c(0x1f2)]))&&_0x1a4ee5[_0x1a721c(0x1a6)](_0x45b8f4[_0x1a721c(0x1f2)]);},this[_0x45036d(0x1e8)]=_0x3247c4=>{const _0x4bb39a=_0x45036d;if(!this[_0x4bb39a(0x1ae)]||!Pawn['inputFilter']())return;const _0x4ac196=0.95;_0x3247c4['deltaY']>0x0?this[_0x4bb39a(0x1e0)]/=_0x4ac196:this['_targetDistance']*=_0x4ac196,this[_0x4bb39a(0x1e0)]=webgpu.MathUtils[_0x4bb39a(0x1e5)](this[_0x4bb39a(0x1e0)],this[_0x4bb39a(0x1b8)],this[_0x4bb39a(0x1cd)]),!this[_0x4bb39a(0x1c6)]&&(this[_0x4bb39a(0x1da)]=this[_0x4bb39a(0x1e0)]);};}[_0x213cf9(0x1d2)](){const _0xdf779=_0x213cf9;super['possess']();this[_0xdf779(0x1a3)]&&this[_0xdf779(0x1a3)]['threeObject']&&(this[_0xdf779(0x1a3)][_0xdf779(0x1e2)][_0xdf779(0x1e9)]['order']='YXZ');this[_0xdf779(0x1df)][_0xdf779(0x1c5)](this['getPosition']());const _0x45f176=this[_0xdf779(0x1d4)](),_0x3afe65=new webgpu.Euler(0x0,0x0,0x0,'YXZ')[_0xdf779(0x1b1)](_0x45f176);Math[_0xdf779(0x1de)](_0x3afe65['z'])>0.00001?(_0x3afe65['z']=0x0,this['_targetQuaternion'][_0xdf779(0x1ba)](_0x3afe65),this[_0xdf779(0x1ec)](this[_0xdf779(0x1a7)])):this[_0xdf779(0x1a7)][_0xdf779(0x1c5)](_0x45f176);this[_0xdf779(0x1e0)]=this['distance'];const _0x2b6d0d=this[_0xdf779(0x1ab)][_0xdf779(0x1f5)];_0x2b6d0d&&(_0x2b6d0d[_0xdf779(0x19c)][_0xdf779(0x1bd)](this['onPointerDown']),_0x2b6d0d[_0xdf779(0x1d9)]['add'](this[_0xdf779(0x1dd)]),_0x2b6d0d[_0xdf779(0x1b3)][_0xdf779(0x1bd)](this[_0xdf779(0x1d6)]),_0x2b6d0d[_0xdf779(0x1f1)][_0xdf779(0x1bd)](this[_0xdf779(0x1d6)]),_0x2b6d0d[_0xdf779(0x1c7)][_0xdf779(0x1bd)](this[_0xdf779(0x1e8)]),_0x2b6d0d[_0xdf779(0x1db)][_0xdf779(0x1bd)](this[_0xdf779(0x1f3)])),this[_0xdf779(0x1d8)]();}[_0x213cf9(0x1d0)](){const _0x5c6920=_0x213cf9,_0x379c89=this['getPosition'](),_0x2e8576=this[_0x5c6920(0x1d4)](),_0x1e53b2=new webgpu.Vector3(0x0,0x0,0x1)[_0x5c6920(0x1c9)](_0x2e8576)[_0x5c6920(0x19f)](this[_0x5c6920(0x1da)]),_0x5c1777=_0x379c89[_0x5c6920(0x1c1)]()[_0x5c6920(0x1bd)](_0x1e53b2),_0x364b91=new webgpu.Matrix4();_0x364b91[_0x5c6920(0x1c3)](_0x5c1777,_0x379c89,this['camera']['up']);const _0x2d3918=new webgpu.Quaternion()['setFromRotationMatrix'](_0x364b91);return {'position':_0x5c1777,'quaternion':_0x2d3918};}[_0x213cf9(0x1d8)](){const _0x500e4a=_0x213cf9;if(!this[_0x500e4a(0x1ae)]||!this[_0x500e4a(0x1f0)])return;const _0x6b4b7e=this[_0x500e4a(0x1f4)](),_0x4f4781=this[_0x500e4a(0x1d4)](),_0x3f2f89=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x4f4781)[_0x500e4a(0x19f)](this[_0x500e4a(0x1da)]);this['camera']['position'][_0x500e4a(0x1c5)](_0x6b4b7e)[_0x500e4a(0x1bd)](_0x3f2f89),this[_0x500e4a(0x1f0)][_0x500e4a(0x1c3)](_0x6b4b7e);}[_0x213cf9(0x1ac)](){const _0x490341=_0x213cf9;super[_0x490341(0x1ac)]();const _0x2706c4=this['app'][_0x490341(0x1f5)];_0x2706c4&&(_0x2706c4[_0x490341(0x19c)][_0x490341(0x1ed)](this['onPointerDown']),_0x2706c4[_0x490341(0x1d9)][_0x490341(0x1ed)](this['onPointerMove']),_0x2706c4['onPointerUpDelegate'][_0x490341(0x1ed)](this[_0x490341(0x1d6)]),_0x2706c4[_0x490341(0x1f1)][_0x490341(0x1ed)](this[_0x490341(0x1d6)]),_0x2706c4[_0x490341(0x1c7)][_0x490341(0x1ed)](this[_0x490341(0x1e8)]),_0x2706c4[_0x490341(0x1db)][_0x490341(0x1ed)](this[_0x490341(0x1f3)])),this['_isDragging']=![],this[_0x490341(0x1ea)](![]),this[_0x490341(0x1cc)]&&(this[_0x490341(0x1cc)]['kill'](),this[_0x490341(0x1cc)]=null);}[_0x213cf9(0x1ea)](_0x55c738){const _0x54c1c5=_0x213cf9,_0x49aed5=this[_0x54c1c5(0x1ab)][_0x54c1c5(0x1e7)][_0x54c1c5(0x1d3)];if(!_0x49aed5)return;_0x55c738?_0x49aed5[_0x54c1c5(0x1a5)][_0x54c1c5(0x1e3)]='1':delete _0x49aed5['dataset'][_0x54c1c5(0x1e3)];}['tick'](_0x9445bb){const _0x803757=_0x213cf9;if(this['enableDamping']){const _0x4f9916=Math[_0x803757(0x1b5)](_0x9445bb,0.1),_0x3319f8=0x1-Math[_0x803757(0x1e4)](-this[_0x803757(0x1bc)]*_0x4f9916);this[_0x803757(0x1da)]=webgpu.MathUtils[_0x803757(0x1b9)](this['distance'],this['_targetDistance'],_0x3319f8);const _0x5b2b01=this[_0x803757(0x1f4)]();_0x5b2b01[_0x803757(0x1b9)](this['_targetPosition'],_0x3319f8),super[_0x803757(0x1c4)](_0x5b2b01);const _0x33203e=this['getQuaternion']();_0x33203e[_0x803757(0x1d1)](this[_0x803757(0x1a7)],_0x3319f8),super[_0x803757(0x1ec)](_0x33203e);}this[_0x803757(0x1d8)]();}['setPosition'](..._0x3bb012){const _0x51e1de=_0x213cf9;super[_0x51e1de(0x1c4)](..._0x3bb012),this['_targetPosition'][_0x51e1de(0x1c5)](this[_0x51e1de(0x1f4)]());}[_0x213cf9(0x1e6)](..._0x1f9108){const _0x31cbdb=_0x213cf9;super[_0x31cbdb(0x1e6)](..._0x1f9108),this[_0x31cbdb(0x1a7)][_0x31cbdb(0x1c5)](this[_0x31cbdb(0x1d4)]());}[_0x213cf9(0x1ec)](..._0x1a3bd9){const _0x343127=_0x213cf9;super[_0x343127(0x1ec)](..._0x1a3bd9),this['_targetQuaternion'][_0x343127(0x1c5)](this['getQuaternion']());}[_0x213cf9(0x1c2)](_0xe5b757,_0x183d1d,_0x5c0b7e,_0x410733,_0xd6a37=null,_0x4d78a3=null){const _0x1ddf34=_0x213cf9;this[_0x1ddf34(0x1cc)]&&this['_focusTween']['kill']();const _0x12e4b3=this[_0x1ddf34(0x1f4)](),_0x38ff84=this[_0x1ddf34(0x1d4)](),_0x5c11fb=this['distance'];let _0xa856f1;_0x183d1d instanceof webgpu.Euler?_0xa856f1=new webgpu.Quaternion()[_0x1ddf34(0x1ba)](_0x183d1d):_0xa856f1=_0x183d1d[_0x1ddf34(0x1c1)]();const _0x3a3a4c=new webgpu.Euler(0x0,0x0,0x0,_0x1ddf34(0x1cb))[_0x1ddf34(0x1b1)](_0xa856f1);Math[_0x1ddf34(0x1de)](_0x3a3a4c['z'])>0.00001&&(_0x3a3a4c['z']=0x0,_0xa856f1['setFromEuler'](_0x3a3a4c));const _0x41b9f7={'alpha':0x0};this[_0x1ddf34(0x1cc)]=gsap.gsap['to'](_0x41b9f7,{'alpha':0x1,'duration':_0x410733,'onUpdate':()=>{const _0x49dc47=_0x1ddf34,_0x537437=_0x41b9f7[_0x49dc47(0x1ce)],_0x5e36c4=new webgpu.Vector3()[_0x49dc47(0x1a1)](_0x12e4b3,_0xe5b757,_0x537437);this[_0x49dc47(0x1c4)](_0x5e36c4),this[_0x49dc47(0x1df)][_0x49dc47(0x1c5)](_0x5e36c4);const _0x3309ab=_0x38ff84[_0x49dc47(0x1c1)]()['slerp'](_0xa856f1,_0x537437);this['setQuaternion'](_0x3309ab),this[_0x49dc47(0x1a7)][_0x49dc47(0x1c5)](_0x3309ab),this[_0x49dc47(0x1da)]=webgpu.MathUtils[_0x49dc47(0x1b9)](_0x5c11fb,_0x5c0b7e,_0x537437),this['_targetDistance']=this['distance'];if(_0xd6a37)_0xd6a37();},'onComplete':()=>{const _0x5de96a=_0x1ddf34;this[_0x5de96a(0x1cc)]=null;if(_0x4d78a3)_0x4d78a3();}});}[_0x213cf9(0x1bf)](){const _0x5eaa63=_0x213cf9;this[_0x5eaa63(0x1cc)]&&(this[_0x5eaa63(0x1cc)][_0x5eaa63(0x1b4)](),this[_0x5eaa63(0x1cc)]=null);}}function _0x1b16(){const _0x15925e=['pointerId','onContextMenu','getPosition','controller','maxAzimuthAngle','setPointerCapture','206082PmkjVQ','onPointerDownDelegate','23163yfGqYv','375930BKnaEf','multiplyScalar','button','lerpVectors','9588wKmbAa','rootComponent','hasPointerCapture','dataset','releasePointerCapture','_targetQuaternion','19486yPPNrt','clientHeight','inputFilter','app','unpossess','clientX','enabled','buttons','984wosdot','setFromQuaternion','canvas','onPointerUpDelegate','kill','min','_lastPointerPosition','1335mOepvx','minDistance','lerp','setFromEuler','1221804WhglDD','dampingFactor','add','set','stopFocusing','zoomSpeed','clone','focusTo','lookAt','setPosition','copy','enableDamping','onWheelDelegate','126567IwIiqH','applyQuaternion','max','YXZ','_focusTween','maxDistance','alpha','minPolarAngle','getTargetCameraState','slerp','possess','outer','getQuaternion','addScaledVector','onPointerUp','call','updateCameraFromPawn','onPointerMoveDelegate','distance','onContextMenuDelegate','minAzimuthAngle','onPointerMove','abs','_targetPosition','_targetDistance','function','threeObject','lyCameraDragging','exp','clamp','setRotation','viewport','onWheel','rotation','setCameraDraggingState','_isDragging','setQuaternion','remove','rotateSpeed','maxPolarAngle','camera','onPointerCancelDelegate'];_0x1b16=function(){return _0x15925e;};return _0x1b16();}
|
|
90
|
+
const _0xbf8bb1=_0x229b;(function(_0xb1ebee,_0x28f854){const _0x36b3ef=_0x229b,_0x3aef7f=_0xb1ebee();while(!![]){try{const _0x94330b=-parseInt(_0x36b3ef(0x1d8))/0x1+-parseInt(_0x36b3ef(0x1f7))/0x2*(parseInt(_0x36b3ef(0x251))/0x3)+-parseInt(_0x36b3ef(0x208))/0x4*(-parseInt(_0x36b3ef(0x234))/0x5)+-parseInt(_0x36b3ef(0x1df))/0x6+-parseInt(_0x36b3ef(0x252))/0x7+parseInt(_0x36b3ef(0x1e1))/0x8*(-parseInt(_0x36b3ef(0x207))/0x9)+parseInt(_0x36b3ef(0x212))/0xa;if(_0x94330b===_0x28f854)break;else _0x3aef7f['push'](_0x3aef7f['shift']());}catch(_0x164c08){_0x3aef7f['push'](_0x3aef7f['shift']());}}}(_0x5c49,0xd82e8));function _0x5c49(){const _0xbec127=['unpossess','canvas','clientHeight','getPosition','setRotation','onTouchMove','lerp','_touches','changedTouches','sqrt','2099225pEcNUQ','clear','touchend','clone','controller','max','from','delete','removeEventListener','setPointerCapture','minDistance','values','copy','clamp','addScaledVector','stopFocusing','hasPointerCapture','enableZoom','lerpVectors','Pan','onTouchStart','buttons','getTargetCameraState','dataset','tick','onPointerDown','minAzimuthAngle','Zoom','_targetDistance','249yoTsLy','10395294jlBOgh','kill','remove','normalize','_focusTween','maxAzimuthAngle','onTouchEnd','maxDistance','setQuaternion','151313PAVEwC','next','touchcancel','size','onPointerMove','preventDefault','pointerId','7836912duDxiU','clientY','40HRfPbh','_touchStartPositions','setFromEuler','app','onPointerCancelDelegate','rootComponent','exp','threeObject','enablePan','_isDragging','_targetQuaternion','_touchGesture','touchmove','_lastTouchPanCenter','camera','_lastPointerPosition','value','applyQuaternion','position','dampingFactor','onPointerUp','zoomSpeed','14074OmuIkr','setFromQuaternion','identifier','enabled','enableDamping','slerp','_lastTouchDistance','min','addEventListener','Rotate','_targetPosition','button','set','setPosition','YXZ','setFromRotationMatrix','2650203dRFlon','4lJNIfV','inputFilter','viewport','rotation','onContextMenuDelegate','enableRotate','add','lyCameraDragging','touchstart','rotateSpeed','54645480oWxWuY','onPointerUpDelegate','updateCameraFromPawn','getQuaternion','call','onWheelDelegate','minPolarAngle','onWheel','applyPan','clientX','setCameraDraggingState','lookAt','applyRotation','multiplyScalar','onPointerDownDelegate','releasePointerCapture','onPointerMoveDelegate','onContextMenu','maxPolarAngle','distanceTo','distance','length','None','possess'];_0x5c49=function(){return _0xbec127;};return _0x5c49();}function _0x229b(_0x1db774,_0x330fd0){_0x1db774=_0x1db774-0x1d7;const _0x5c49d0=_0x5c49();let _0x229bfc=_0x5c49d0[_0x1db774];return _0x229bfc;}var TouchGesture;(function(_0x16fe68){const _0x4328ee=_0x229b;_0x16fe68[_0x16fe68[_0x4328ee(0x228)]=0x0]='None',_0x16fe68[_0x16fe68[_0x4328ee(0x200)]=0x1]=_0x4328ee(0x200),_0x16fe68[_0x16fe68[_0x4328ee(0x247)]=0x2]='Pan',_0x16fe68[_0x16fe68[_0x4328ee(0x24f)]=0x3]=_0x4328ee(0x24f);}(TouchGesture||(TouchGesture={})));class Orbital extends Pawn{constructor(_0x13433b){const _0x1de7cb=_0x229b;super(_0x13433b),this[_0x1de7cb(0x226)]=0x5,this[_0x1de7cb(0x23e)]=0.1,this[_0x1de7cb(0x259)]=0xf4240,this[_0x1de7cb(0x211)]=0x1,this[_0x1de7cb(0x1f6)]=0x1,this[_0x1de7cb(0x218)]=0x0,this['maxPolarAngle']=Math['PI']*0.5,this[_0x1de7cb(0x24e)]=-Infinity,this[_0x1de7cb(0x257)]=Infinity,this['enableDamping']=!![],this[_0x1de7cb(0x1f4)]=0xa,this[_0x1de7cb(0x20d)]=!![],this['enablePan']=!![],this['enableZoom']=!![],this['_isDragging']=![],this[_0x1de7cb(0x1f0)]=new webgpu.Vector2(),this[_0x1de7cb(0x201)]=new webgpu.Vector3(),this['_targetQuaternion']=new webgpu.Quaternion(),this[_0x1de7cb(0x250)]=0x5,this[_0x1de7cb(0x256)]=null,this[_0x1de7cb(0x1ec)]=TouchGesture[_0x1de7cb(0x228)],this[_0x1de7cb(0x231)]=new Map(),this[_0x1de7cb(0x1fd)]=0x0,this['_lastTouchPanCenter']=new webgpu.Vector2(),this[_0x1de7cb(0x1e2)]=new Map(),this[_0x1de7cb(0x223)]=_0x2d2eed=>{const _0x5f00ed=_0x1de7cb;if(!Pawn[_0x5f00ed(0x209)]())return;_0x2d2eed[_0x5f00ed(0x1dd)]();},this[_0x1de7cb(0x24d)]=_0x3bfb7d=>{const _0x47b3cb=_0x1de7cb;if(!this['enabled']||!Pawn[_0x47b3cb(0x209)]())return;if(_0x3bfb7d[_0x47b3cb(0x202)]===0x0&&!this[_0x47b3cb(0x20d)])return;if(_0x3bfb7d[_0x47b3cb(0x202)]===0x2&&!this[_0x47b3cb(0x1e9)])return;if(_0x3bfb7d['button']===0x0||_0x3bfb7d[_0x47b3cb(0x202)]===0x2){this['_isDragging']=!![],this[_0x47b3cb(0x1f0)][_0x47b3cb(0x203)](_0x3bfb7d[_0x47b3cb(0x21b)],_0x3bfb7d[_0x47b3cb(0x1e0)]),this[_0x47b3cb(0x21c)](!![]);const _0x2dc87a=this[_0x47b3cb(0x1e4)][_0x47b3cb(0x20a)]['canvas'];_0x2dc87a&&typeof _0x2dc87a[_0x47b3cb(0x23d)]==='function'&&_0x2dc87a['setPointerCapture'](_0x3bfb7d[_0x47b3cb(0x1de)]);}},this[_0x1de7cb(0x1dc)]=_0x2f1d79=>{const _0x1434a8=_0x1de7cb;if(!this[_0x1434a8(0x1fa)]||!this['_isDragging']||!Pawn[_0x1434a8(0x209)]())return;if(_0x2f1d79[_0x1434a8(0x249)]===0x0){this['_isDragging']=![],this[_0x1434a8(0x21c)](![]);return;}const _0x173a7b=_0x2f1d79[_0x1434a8(0x21b)]-this[_0x1434a8(0x1f0)]['x'],_0x304c73=_0x2f1d79[_0x1434a8(0x1e0)]-this['_lastPointerPosition']['y'];this[_0x1434a8(0x1f0)][_0x1434a8(0x203)](_0x2f1d79[_0x1434a8(0x21b)],_0x2f1d79[_0x1434a8(0x1e0)]);const _0x2438f1=this['app'][_0x1434a8(0x20a)]['canvas'];if(!_0x2438f1)return;if(_0x2f1d79[_0x1434a8(0x249)]===0x1){if(!this[_0x1434a8(0x20d)])return;const _0x5b8ed5=this['rotateSpeed']*0x2*Math['PI'],_0x4f0951=new webgpu.Euler(0x0,0x0,0x0,_0x1434a8(0x205))[_0x1434a8(0x1f8)](this[_0x1434a8(0x1eb)]);_0x4f0951['y']-=_0x173a7b/_0x2438f1[_0x1434a8(0x22c)]*_0x5b8ed5,_0x4f0951['x']-=_0x304c73/_0x2438f1[_0x1434a8(0x22c)]*_0x5b8ed5;const _0x4c46d6=Math['max'](this[_0x1434a8(0x218)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0xc7d5d8=Math[_0x1434a8(0x1fe)](this[_0x1434a8(0x224)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x4f0951['x']=webgpu.MathUtils['clamp'](_0x4f0951['x'],_0x4c46d6,_0xc7d5d8),isFinite(this[_0x1434a8(0x24e)])&&isFinite(this[_0x1434a8(0x257)])&&(_0x4f0951['y']=webgpu.MathUtils[_0x1434a8(0x241)](_0x4f0951['y'],this[_0x1434a8(0x24e)],this[_0x1434a8(0x257)])),_0x4f0951['z']=0x0,this[_0x1434a8(0x1eb)][_0x1434a8(0x1e3)](_0x4f0951),!this[_0x1434a8(0x1fb)]&&this[_0x1434a8(0x1d7)](this[_0x1434a8(0x1eb)]);}else {if(_0x2f1d79[_0x1434a8(0x249)]===0x2){if(!this[_0x1434a8(0x1e9)])return;const _0x32862b=this[_0x1434a8(0x250)]*0.002,_0x336637=new webgpu.Vector3(0x1,0x0,0x0)[_0x1434a8(0x1f2)](this['_targetQuaternion'])[_0x1434a8(0x255)](),_0x1d42ea=new webgpu.Vector3(0x0,0x1,0x0)['applyQuaternion'](this['_targetQuaternion'])[_0x1434a8(0x255)]();this[_0x1434a8(0x201)][_0x1434a8(0x242)](_0x336637,-_0x173a7b*_0x32862b),this[_0x1434a8(0x201)][_0x1434a8(0x242)](_0x1d42ea,_0x304c73*_0x32862b),!this[_0x1434a8(0x1fb)]&&this[_0x1434a8(0x204)](this[_0x1434a8(0x201)]);}}},this['onPointerUp']=_0x566c60=>{const _0x12f18c=_0x1de7cb;var _0x1a73f7;this[_0x12f18c(0x1ea)]=![],this[_0x12f18c(0x21c)](![]);const _0x224163=this[_0x12f18c(0x1e4)]['viewport'][_0x12f18c(0x22b)];_0x224163&&typeof _0x224163['releasePointerCapture']==='function'&&((_0x1a73f7=_0x224163[_0x12f18c(0x244)])===null||_0x1a73f7===void 0?void 0:_0x1a73f7[_0x12f18c(0x216)](_0x224163,_0x566c60['pointerId']))&&_0x224163[_0x12f18c(0x221)](_0x566c60[_0x12f18c(0x1de)]);},this['onWheel']=_0x802a79=>{const _0x6a6799=_0x1de7cb;if(!this[_0x6a6799(0x1fa)]||!this[_0x6a6799(0x245)]||!Pawn[_0x6a6799(0x209)]())return;const _0x30ca0f=0.95;_0x802a79['deltaY']>0x0?this[_0x6a6799(0x250)]/=_0x30ca0f:this['_targetDistance']*=_0x30ca0f,this[_0x6a6799(0x250)]=webgpu.MathUtils['clamp'](this[_0x6a6799(0x250)],this[_0x6a6799(0x23e)],this[_0x6a6799(0x259)]),!this[_0x6a6799(0x1fb)]&&(this[_0x6a6799(0x226)]=this[_0x6a6799(0x250)]);},this[_0x1de7cb(0x248)]=_0x1c9009=>{const _0x54c754=_0x1de7cb;if(!this[_0x54c754(0x1fa)]||!Pawn['inputFilter']())return;_0x1c9009[_0x54c754(0x1dd)]();const _0x3a2a1b=this[_0x54c754(0x1e4)][_0x54c754(0x20a)][_0x54c754(0x22b)];if(!_0x3a2a1b)return;for(let _0x34dd62=0x0;_0x34dd62<_0x1c9009[_0x54c754(0x232)]['length'];_0x34dd62++){const _0x15350d=_0x1c9009[_0x54c754(0x232)][_0x34dd62],_0x38d894=new webgpu.Vector2(_0x15350d[_0x54c754(0x21b)],_0x15350d[_0x54c754(0x1e0)]);this['_touches']['set'](_0x15350d[_0x54c754(0x1f9)],_0x38d894),this[_0x54c754(0x1e2)]['set'](_0x15350d[_0x54c754(0x1f9)],_0x38d894[_0x54c754(0x237)]());}if(this[_0x54c754(0x231)][_0x54c754(0x1db)]===0x1&&this['enableRotate']){this[_0x54c754(0x1ec)]=TouchGesture[_0x54c754(0x200)],this['_isDragging']=!![];const _0x20e9b7=this[_0x54c754(0x231)]['values']()[_0x54c754(0x1d9)]()[_0x54c754(0x1f1)];_0x20e9b7&&this[_0x54c754(0x1f0)][_0x54c754(0x240)](_0x20e9b7),this[_0x54c754(0x21c)](!![]);}else {if(this[_0x54c754(0x231)]['size']===0x2){const _0x3a41e9=Array[_0x54c754(0x23a)](this['_touches']['values']());this[_0x54c754(0x1fd)]=_0x3a41e9[0x0][_0x54c754(0x225)](_0x3a41e9[0x1]),this[_0x54c754(0x1ee)][_0x54c754(0x203)]((_0x3a41e9[0x0]['x']+_0x3a41e9[0x1]['x'])/0x2,(_0x3a41e9[0x0]['y']+_0x3a41e9[0x1]['y'])/0x2),this[_0x54c754(0x1ea)]=!![],this[_0x54c754(0x21c)](!![]),this[_0x54c754(0x1ec)]=TouchGesture[_0x54c754(0x24f)];}}},this[_0x1de7cb(0x22f)]=_0x6fc46e=>{const _0x111fe9=_0x1de7cb;if(!this['enabled']||!Pawn[_0x111fe9(0x209)]())return;_0x6fc46e['preventDefault']();const _0x57fc24=this['app'][_0x111fe9(0x20a)][_0x111fe9(0x22b)];if(!_0x57fc24)return;for(let _0x13bb6c=0x0;_0x13bb6c<_0x6fc46e[_0x111fe9(0x232)][_0x111fe9(0x227)];_0x13bb6c++){const _0x1dcbc2=_0x6fc46e[_0x111fe9(0x232)][_0x13bb6c];this[_0x111fe9(0x231)]['set'](_0x1dcbc2[_0x111fe9(0x1f9)],new webgpu.Vector2(_0x1dcbc2[_0x111fe9(0x21b)],_0x1dcbc2['clientY']));}if(this[_0x111fe9(0x231)][_0x111fe9(0x1db)]===0x1&&this[_0x111fe9(0x1ec)]===TouchGesture['Rotate']&&this[_0x111fe9(0x20d)]){const _0x5807c1=this[_0x111fe9(0x231)][_0x111fe9(0x23f)]()[_0x111fe9(0x1d9)]()[_0x111fe9(0x1f1)];if(!_0x5807c1)return;const _0x43d866=_0x5807c1['x']-this[_0x111fe9(0x1f0)]['x'],_0x2a362d=_0x5807c1['y']-this[_0x111fe9(0x1f0)]['y'];this[_0x111fe9(0x1f0)][_0x111fe9(0x240)](_0x5807c1),this[_0x111fe9(0x21e)](_0x43d866,_0x2a362d,_0x57fc24[_0x111fe9(0x22c)]);}else {if(this[_0x111fe9(0x231)][_0x111fe9(0x1db)]===0x2){const _0x26ac03=Array[_0x111fe9(0x23a)](this[_0x111fe9(0x231)][_0x111fe9(0x23f)]()),_0x4e3dbd=_0x26ac03[0x0]['distanceTo'](_0x26ac03[0x1]),_0x3f659d=new webgpu.Vector2((_0x26ac03[0x0]['x']+_0x26ac03[0x1]['x'])/0x2,(_0x26ac03[0x0]['y']+_0x26ac03[0x1]['y'])/0x2),_0x319634=_0x4e3dbd-this['_lastTouchDistance'],_0x55155e=_0x3f659d['x']-this['_lastTouchPanCenter']['x'],_0x3d7695=_0x3f659d['y']-this['_lastTouchPanCenter']['y'],_0x11b7fc=Math['abs'](_0x319634)/(this['_lastTouchDistance']||0x1),_0x5154f7=Math[_0x111fe9(0x233)](_0x55155e*_0x55155e+_0x3d7695*_0x3d7695);if(_0x11b7fc>0.02&&this[_0x111fe9(0x245)])this[_0x111fe9(0x1ec)]=TouchGesture[_0x111fe9(0x24f)];else _0x5154f7>0x3&&this[_0x111fe9(0x1e9)]&&(this[_0x111fe9(0x1ec)]=TouchGesture['Pan']);if(this[_0x111fe9(0x1ec)]===TouchGesture[_0x111fe9(0x24f)]&&this[_0x111fe9(0x245)]){const _0x936712=0x1+_0x319634*0.01*this[_0x111fe9(0x1f6)];this[_0x111fe9(0x250)]*=_0x936712,this[_0x111fe9(0x250)]=webgpu.MathUtils[_0x111fe9(0x241)](this[_0x111fe9(0x250)],this[_0x111fe9(0x23e)],this[_0x111fe9(0x259)]),!this[_0x111fe9(0x1fb)]&&(this['distance']=this[_0x111fe9(0x250)]),this[_0x111fe9(0x1fd)]=_0x4e3dbd;}else this[_0x111fe9(0x1ec)]===TouchGesture[_0x111fe9(0x247)]&&this[_0x111fe9(0x1e9)]&&(this[_0x111fe9(0x21a)](_0x55155e,_0x3d7695),this[_0x111fe9(0x1ee)][_0x111fe9(0x240)](_0x3f659d));}}},this[_0x1de7cb(0x258)]=_0x2eb4f0=>{const _0x2c77ff=_0x1de7cb;for(let _0x391aed=0x0;_0x391aed<_0x2eb4f0['changedTouches']['length'];_0x391aed++){const _0x399276=_0x2eb4f0[_0x2c77ff(0x232)][_0x391aed];this[_0x2c77ff(0x231)][_0x2c77ff(0x23b)](_0x399276[_0x2c77ff(0x1f9)]),this[_0x2c77ff(0x1e2)][_0x2c77ff(0x23b)](_0x399276[_0x2c77ff(0x1f9)]);}if(this[_0x2c77ff(0x231)][_0x2c77ff(0x1db)]===0x0)this[_0x2c77ff(0x1ec)]=TouchGesture[_0x2c77ff(0x228)],this[_0x2c77ff(0x1ea)]=![],this['setCameraDraggingState'](![]);else {if(this['_touches'][_0x2c77ff(0x1db)]===0x1){this[_0x2c77ff(0x1ec)]=TouchGesture[_0x2c77ff(0x200)];const _0x527996=this['_touches']['values']()[_0x2c77ff(0x1d9)]()['value'];_0x527996&&this[_0x2c77ff(0x1f0)][_0x2c77ff(0x240)](_0x527996);}}};}['possess'](){const _0x1fc78f=_0x229b;super[_0x1fc78f(0x229)]();this['rootComponent']&&this[_0x1fc78f(0x1e6)][_0x1fc78f(0x1e8)]&&(this[_0x1fc78f(0x1e6)][_0x1fc78f(0x1e8)][_0x1fc78f(0x20b)]['order']=_0x1fc78f(0x205));this['_targetPosition'][_0x1fc78f(0x240)](this[_0x1fc78f(0x22d)]());const _0xfd974b=this[_0x1fc78f(0x215)](),_0x136a27=new webgpu.Euler(0x0,0x0,0x0,_0x1fc78f(0x205))[_0x1fc78f(0x1f8)](_0xfd974b);Math['abs'](_0x136a27['z'])>0.00001?(_0x136a27['z']=0x0,this['_targetQuaternion'][_0x1fc78f(0x1e3)](_0x136a27),this[_0x1fc78f(0x1d7)](this[_0x1fc78f(0x1eb)])):this['_targetQuaternion'][_0x1fc78f(0x240)](_0xfd974b);this[_0x1fc78f(0x250)]=this['distance'];const _0x4c6853=this[_0x1fc78f(0x1e4)]['controller'];_0x4c6853&&(_0x4c6853['onPointerDownDelegate']['add'](this[_0x1fc78f(0x24d)]),_0x4c6853[_0x1fc78f(0x222)]['add'](this[_0x1fc78f(0x1dc)]),_0x4c6853[_0x1fc78f(0x213)]['add'](this[_0x1fc78f(0x1f5)]),_0x4c6853[_0x1fc78f(0x1e5)][_0x1fc78f(0x20e)](this['onPointerUp']),_0x4c6853[_0x1fc78f(0x217)][_0x1fc78f(0x20e)](this[_0x1fc78f(0x219)]),_0x4c6853[_0x1fc78f(0x20c)][_0x1fc78f(0x20e)](this[_0x1fc78f(0x223)]));const _0x534f10=this[_0x1fc78f(0x1e4)][_0x1fc78f(0x20a)][_0x1fc78f(0x22b)];_0x534f10&&(_0x534f10[_0x1fc78f(0x1ff)](_0x1fc78f(0x210),this[_0x1fc78f(0x248)],{'passive':![]}),_0x534f10['addEventListener']('touchmove',this['onTouchMove'],{'passive':![]}),_0x534f10['addEventListener'](_0x1fc78f(0x236),this[_0x1fc78f(0x258)],{'passive':![]}),_0x534f10[_0x1fc78f(0x1ff)](_0x1fc78f(0x1da),this[_0x1fc78f(0x258)],{'passive':![]})),this[_0x1fc78f(0x214)]();}[_0xbf8bb1(0x24a)](){const _0x46f33e=_0xbf8bb1,_0x416e78=this['getPosition'](),_0x213ee5=this[_0x46f33e(0x215)](),_0x364630=new webgpu.Vector3(0x0,0x0,0x1)[_0x46f33e(0x1f2)](_0x213ee5)[_0x46f33e(0x21f)](this[_0x46f33e(0x226)]),_0xeb87b3=_0x416e78[_0x46f33e(0x237)]()['add'](_0x364630),_0x827ded=new webgpu.Matrix4();_0x827ded[_0x46f33e(0x21d)](_0xeb87b3,_0x416e78,this[_0x46f33e(0x1ef)]['up']);const _0x2bfce5=new webgpu.Quaternion()[_0x46f33e(0x206)](_0x827ded);return {'position':_0xeb87b3,'quaternion':_0x2bfce5};}[_0xbf8bb1(0x214)](){const _0xe742fc=_0xbf8bb1;if(!this[_0xe742fc(0x1fa)]||!this['camera'])return;const _0x3356bc=this[_0xe742fc(0x22d)](),_0x229879=this[_0xe742fc(0x215)](),_0x12b025=new webgpu.Vector3(0x0,0x0,0x1)[_0xe742fc(0x1f2)](_0x229879)[_0xe742fc(0x21f)](this['distance']);this[_0xe742fc(0x1ef)][_0xe742fc(0x1f3)][_0xe742fc(0x240)](_0x3356bc)[_0xe742fc(0x20e)](_0x12b025),this[_0xe742fc(0x1ef)][_0xe742fc(0x21d)](_0x3356bc);}[_0xbf8bb1(0x22a)](){const _0x5cfc37=_0xbf8bb1;super[_0x5cfc37(0x22a)]();const _0x50d00f=this['app'][_0x5cfc37(0x238)];_0x50d00f&&(_0x50d00f[_0x5cfc37(0x220)]['remove'](this['onPointerDown']),_0x50d00f[_0x5cfc37(0x222)][_0x5cfc37(0x254)](this[_0x5cfc37(0x1dc)]),_0x50d00f[_0x5cfc37(0x213)][_0x5cfc37(0x254)](this[_0x5cfc37(0x1f5)]),_0x50d00f['onPointerCancelDelegate'][_0x5cfc37(0x254)](this[_0x5cfc37(0x1f5)]),_0x50d00f[_0x5cfc37(0x217)][_0x5cfc37(0x254)](this[_0x5cfc37(0x219)]),_0x50d00f[_0x5cfc37(0x20c)][_0x5cfc37(0x254)](this[_0x5cfc37(0x223)]));const _0x390169=this['app'][_0x5cfc37(0x20a)][_0x5cfc37(0x22b)];_0x390169&&(_0x390169[_0x5cfc37(0x23c)](_0x5cfc37(0x210),this[_0x5cfc37(0x248)]),_0x390169[_0x5cfc37(0x23c)](_0x5cfc37(0x1ed),this[_0x5cfc37(0x22f)]),_0x390169[_0x5cfc37(0x23c)](_0x5cfc37(0x236),this['onTouchEnd']),_0x390169['removeEventListener'](_0x5cfc37(0x1da),this['onTouchEnd'])),this['_isDragging']=![],this[_0x5cfc37(0x1ec)]=TouchGesture[_0x5cfc37(0x228)],this[_0x5cfc37(0x231)]['clear'](),this[_0x5cfc37(0x1e2)][_0x5cfc37(0x235)](),this[_0x5cfc37(0x21c)](![]),this[_0x5cfc37(0x256)]&&(this[_0x5cfc37(0x256)][_0x5cfc37(0x253)](),this[_0x5cfc37(0x256)]=null);}['setCameraDraggingState'](_0x22755f){const _0x56cea9=_0xbf8bb1,_0x485e79=this['app'][_0x56cea9(0x20a)]['outer'];if(!_0x485e79)return;_0x22755f?_0x485e79[_0x56cea9(0x24b)][_0x56cea9(0x20f)]='1':delete _0x485e79[_0x56cea9(0x24b)][_0x56cea9(0x20f)];}[_0xbf8bb1(0x21e)](_0x15eae4,_0x287712,_0x219306){const _0x17d0bd=_0xbf8bb1,_0x5b3d35=this[_0x17d0bd(0x211)]*0x2*Math['PI'],_0x41afa9=new webgpu.Euler(0x0,0x0,0x0,_0x17d0bd(0x205))['setFromQuaternion'](this[_0x17d0bd(0x1eb)]);_0x41afa9['y']-=_0x15eae4/_0x219306*_0x5b3d35,_0x41afa9['x']-=_0x287712/_0x219306*_0x5b3d35;const _0xdca6d9=Math[_0x17d0bd(0x239)](this[_0x17d0bd(0x218)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x45c95f=Math[_0x17d0bd(0x1fe)](this[_0x17d0bd(0x224)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x41afa9['x']=webgpu.MathUtils[_0x17d0bd(0x241)](_0x41afa9['x'],_0xdca6d9,_0x45c95f),isFinite(this[_0x17d0bd(0x24e)])&&isFinite(this[_0x17d0bd(0x257)])&&(_0x41afa9['y']=webgpu.MathUtils['clamp'](_0x41afa9['y'],this[_0x17d0bd(0x24e)],this[_0x17d0bd(0x257)])),_0x41afa9['z']=0x0,this['_targetQuaternion'][_0x17d0bd(0x1e3)](_0x41afa9),!this[_0x17d0bd(0x1fb)]&&this['setQuaternion'](this[_0x17d0bd(0x1eb)]);}[_0xbf8bb1(0x21a)](_0x480ff7,_0x14ea14){const _0x37bd90=_0xbf8bb1,_0x56bbb6=this[_0x37bd90(0x250)]*0.002,_0x63f212=new webgpu.Vector3(0x1,0x0,0x0)[_0x37bd90(0x1f2)](this['_targetQuaternion'])[_0x37bd90(0x255)](),_0x3879ea=new webgpu.Vector3(0x0,0x1,0x0)['applyQuaternion'](this[_0x37bd90(0x1eb)])[_0x37bd90(0x255)]();this[_0x37bd90(0x201)][_0x37bd90(0x242)](_0x63f212,-_0x480ff7*_0x56bbb6),this['_targetPosition']['addScaledVector'](_0x3879ea,_0x14ea14*_0x56bbb6),!this[_0x37bd90(0x1fb)]&&this[_0x37bd90(0x204)](this[_0x37bd90(0x201)]);}[_0xbf8bb1(0x24c)](_0x456488){const _0x55665c=_0xbf8bb1;if(this[_0x55665c(0x1fb)]){const _0x34f5ba=Math['min'](_0x456488,0.1),_0x437cc5=0x1-Math[_0x55665c(0x1e7)](-this[_0x55665c(0x1f4)]*_0x34f5ba);this['distance']=webgpu.MathUtils[_0x55665c(0x230)](this[_0x55665c(0x226)],this[_0x55665c(0x250)],_0x437cc5);const _0x568ad1=this['getPosition']();_0x568ad1[_0x55665c(0x230)](this[_0x55665c(0x201)],_0x437cc5),super[_0x55665c(0x204)](_0x568ad1);const _0x21c733=this['getQuaternion']();_0x21c733[_0x55665c(0x1fc)](this[_0x55665c(0x1eb)],_0x437cc5),super[_0x55665c(0x1d7)](_0x21c733);}this['updateCameraFromPawn']();}[_0xbf8bb1(0x204)](..._0x328577){const _0x19a08a=_0xbf8bb1;super[_0x19a08a(0x204)](..._0x328577),this[_0x19a08a(0x201)]['copy'](this[_0x19a08a(0x22d)]());}[_0xbf8bb1(0x22e)](..._0x4ddb7e){const _0x4bc6fc=_0xbf8bb1;super['setRotation'](..._0x4ddb7e),this[_0x4bc6fc(0x1eb)][_0x4bc6fc(0x240)](this[_0x4bc6fc(0x215)]());}[_0xbf8bb1(0x1d7)](..._0xf72cdc){const _0x49c751=_0xbf8bb1;super[_0x49c751(0x1d7)](..._0xf72cdc),this[_0x49c751(0x1eb)][_0x49c751(0x240)](this[_0x49c751(0x215)]());}['focusTo'](_0xfe3edf,_0x160483,_0x288123,_0x27c56e,_0x5f57fd=null,_0x1bdcb3=null){const _0x4169e7=_0xbf8bb1;this[_0x4169e7(0x256)]&&this[_0x4169e7(0x256)][_0x4169e7(0x253)]();const _0x3a61c2=this[_0x4169e7(0x22d)](),_0x190b19=this['getQuaternion'](),_0x45fb54=this[_0x4169e7(0x226)];let _0xeeece6;_0x160483 instanceof webgpu.Euler?_0xeeece6=new webgpu.Quaternion()[_0x4169e7(0x1e3)](_0x160483):_0xeeece6=_0x160483[_0x4169e7(0x237)]();const _0x452b91=new webgpu.Euler(0x0,0x0,0x0,_0x4169e7(0x205))['setFromQuaternion'](_0x190b19),_0x593e24=new webgpu.Euler(0x0,0x0,0x0,'YXZ')[_0x4169e7(0x1f8)](_0xeeece6);_0x452b91['z']=0x0,_0x593e24['z']=0x0;let _0x428d4f=_0x593e24['y']-_0x452b91['y'];while(_0x428d4f>Math['PI'])_0x428d4f-=Math['PI']*0x2;while(_0x428d4f<-Math['PI'])_0x428d4f+=Math['PI']*0x2;_0x593e24['y']=_0x452b91['y']+_0x428d4f;const _0x5739f2={'alpha':0x0};this[_0x4169e7(0x256)]=gsap.gsap['to'](_0x5739f2,{'alpha':0x1,'duration':_0x27c56e,'onUpdate':()=>{const _0x36cfe7=_0x4169e7,_0x59df4e=_0x5739f2['alpha'],_0x1f3cb1=new webgpu.Vector3()[_0x36cfe7(0x246)](_0x3a61c2,_0xfe3edf,_0x59df4e);this[_0x36cfe7(0x204)](_0x1f3cb1),this['_targetPosition'][_0x36cfe7(0x240)](_0x1f3cb1);const _0x566d54=new webgpu.Euler(webgpu.MathUtils[_0x36cfe7(0x230)](_0x452b91['x'],_0x593e24['x'],_0x59df4e),webgpu.MathUtils['lerp'](_0x452b91['y'],_0x593e24['y'],_0x59df4e),0x0,_0x36cfe7(0x205)),_0x1790c8=new webgpu.Quaternion()[_0x36cfe7(0x1e3)](_0x566d54);this['setQuaternion'](_0x1790c8),this[_0x36cfe7(0x1eb)]['copy'](_0x1790c8),this[_0x36cfe7(0x226)]=webgpu.MathUtils['lerp'](_0x45fb54,_0x288123,_0x59df4e),this[_0x36cfe7(0x250)]=this[_0x36cfe7(0x226)];if(_0x5f57fd)_0x5f57fd();},'onComplete':()=>{const _0x5d32a4=_0x4169e7;this[_0x5d32a4(0x256)]=null;if(_0x1bdcb3)_0x1bdcb3();}});}[_0xbf8bb1(0x243)](){const _0x2d45ab=_0xbf8bb1;this['_focusTween']&&(this[_0x2d45ab(0x256)]['kill'](),this[_0x2d45ab(0x256)]=null);}}
|
|
91
91
|
|
|
92
|
-
const _0x1c1d17=_0x8fff;(function(_0x19b4d6,_0x252d68){const _0x5888be=_0x8fff,_0x3a4c44=_0x19b4d6();while(!![]){try{const _0x2c11b1=-parseInt(_0x5888be(0x12d))/0x1*(-parseInt(_0x5888be(0xe7))/0x2)+-parseInt(_0x5888be(0xd0))/0x3*(parseInt(_0x5888be(0x15d))/0x4)+-parseInt(_0x5888be(0xe8))/0x5+parseInt(_0x5888be(0x17b))/0x6+-parseInt(_0x5888be(0x134))/0x7+parseInt(_0x5888be(0x168))/0x8+parseInt(_0x5888be(0x191))/0x9;if(_0x2c11b1===_0x252d68)break;else _0x3a4c44['push'](_0x3a4c44['shift']());}catch(_0x46c862){_0x3a4c44['push'](_0x3a4c44['shift']());}}}(_0x35cf,0x4e9db));function _0x35cf(){const _0x3b0b02=['set','2710710weKmOB','onHorveringBegin','onClicked','pointerPosition','setFromObject','focusTo','onPointerUp','onComponentClickDelegate','isClickEnabled','pointerleave','onComponentHoverBeginDelegate','onPointerCancelEvent','alpha','quaternion','clientHeight','wheel','_onContextMenuDelegate','camera','_onRawClickDelegate','addCorePointerListeners','component','onPointerDownEvent','1627965vbwfOC','position','top','onPointerMoveEvent','setTimeout','size','clearClickTimer','multiplyScalar','_onActorDoubleClickDelegate','onClickEvent','_onPointerLockChangeDelegate','15pSOEgW','onKeyDown','_switchPawnTween','keydown','onWheelEvent','blocking','lineTraceSingle','possess','_onPointerDownDelegate','_onKeyUpDelegate','onComponentDoubleClickDelegate','init','fireComponentHoverBegin','firePointerDownEvent','viewport','pointerLeftDownPosition','clearHovering','hit','getAllHitResultFromScreenPoint','enabled','power2.inOut','prepareClickComponent','canvas','8ctbsrc','2675705TvEkto','_onActorClickDelegate','onPointerDownDelegate','getAllHitResultUnderCursor','keyup','onPointerEnterEvent','ray','addEventListener','getSize','_onPointerMoveDelegate','onPointerUpDelegate','pointermove','handled','max','point','onWindowBlurDelegate','onWindowBlur','focusToObject','button','_onComponentPointerDownDelegate','hoveringActor','_onClickNothingDelegate','_onActorHoverBeginDelegate','raycaster','log','destroy','onPointerMove','fireComponentHoverEnd','onActorClickDelegate','onPointerUpEvent','world','leftClickTimer','onPointerLockChangeEvent','tick','setFromEuler','focusToBounds','distance','onHorveringEnd','_pawn','onPointerLeave','onActorHoverBeginDelegate','subVectors','onKeyDownDelegate','onPointerCancel','prepareClickHit','onKeyDownEvent','add','getHitResultFromScreenPoint','broadcast','onWindowBlurEvent','onWheel','threeObject','clientX','parentActor','onActorHoverBegin','doubleClickDelay','tan','kill','onPointerLockChangeDelegate','onContextMenuEvent','switchPawn','copy','fireActorClick','onPointerLeaveEvent','removeCorePointerListeners','physics','near','unpossess','onPointerLockChange','2809RfDfXE','onClick','_raycastVec2','fov','sqrt','getHitResultUnderCursor','assign','2501765fDtTXT','_pointButtonIsDown','hoveringComponent','lineTraceMulti','onComponentPointerDownDelegate','canvas\x20is\x20null','handleDoubleClick','_onPointerCancelDelegate','app','collider','onActorHoverEnd','pointerlockchange','setFromCamera','_onComponentHoverBeginDelegate','onPointerCancelDelegate','onActorHoverEndDelegate','onKeyUp','addActor','pointerdown','onDoubleClicked','getCenter','_onActorHoverEndDelegate','_onComponentHoverEndDelegate','pawn','fireClickEvents','onPointerEnter','Visibility','clone','onActorClick','push','onClickNothingDelegate','onWheelDelegate','setFromAxisAngle','_onWheelDelegate','onActorDoubleClick','click','blur','fireComponentClick','onKeyUpDelegate','onPointerDown','prepareClickModifiers','57232GjPTiu','removeEventListener','fireActorHoverBegin','left','getTargetCameraState','pointercancel','origin','isPerspectiveCamera','altKey','viewPort','_tempVec2','5137448iRGVaE','onKeyUpEvent','pointerenter','_app','length','_onWindowBlurDelegate','fireActorHoverEnd','onContextMenu','_onComponentDoubleClickDelegate','createInitialPawn','ctrlKey','_onKeyDownDelegate','_onComponentClickDelegate','delete','_onPointerUpDelegate','contextmenu','YXZ','getBoundingClientRect'];_0x35cf=function(){return _0x3b0b02;};return _0x35cf();}function _0x8fff(_0x529a85,_0x1727f0){_0x529a85=_0x529a85-0xd0;const _0x35cf55=_0x35cf();let _0x8fffa6=_0x35cf55[_0x529a85];return _0x8fffa6;}class Controller{get['camera'](){const _0x65e44a=_0x8fff;return this[_0x65e44a(0x16b)]['camera'];}get[_0x1c1d17(0x106)](){const _0x57f80f=_0x1c1d17;return this[_0x57f80f(0x16b)][_0x57f80f(0x106)];}get['viewPort'](){const _0x3e73c3=_0x1c1d17;return this[_0x3e73c3(0x16b)][_0x3e73c3(0xde)];}get[_0x1c1d17(0x13c)](){const _0x120305=_0x1c1d17;return this[_0x120305(0x16b)];}get[_0x1c1d17(0x14b)](){const _0x1c6c68=_0x1c1d17;if(!this['_pawn'])throw Error('pawn\x20is\x20null');return this[_0x1c6c68(0x10e)];}get[_0x1c1d17(0x182)](){const _0x22d773=_0x1c1d17;return this[_0x22d773(0x174)];}get[_0x1c1d17(0xda)](){const _0x156497=_0x1c1d17;return this[_0x156497(0x170)];}get[_0x1c1d17(0x185)](){const _0x34e189=_0x1c1d17;return this[_0x34e189(0x141)];}get['onComponentHoverEndDelegate'](){const _0x5e8435=_0x1c1d17;return this[_0x5e8435(0x14a)];}get[_0x1c1d17(0x138)](){return this['_onComponentPointerDownDelegate'];}get[_0x1c1d17(0x104)](){const _0x15bc28=_0x1c1d17;return this[_0x15bc28(0xe9)];}get['onActorDoubleClickDelegate'](){const _0x5327d9=_0x1c1d17;return this[_0x5327d9(0x199)];}get[_0x1c1d17(0x110)](){const _0x2bb6a8=_0x1c1d17;return this[_0x2bb6a8(0xfe)];}get[_0x1c1d17(0x143)](){const _0x275e5e=_0x1c1d17;return this[_0x275e5e(0x149)];}get[_0x1c1d17(0x152)](){const _0x4a105d=_0x1c1d17;return this[_0x4a105d(0xfd)];}get[_0x1c1d17(0xea)](){const _0x1b70e3=_0x1c1d17;return this[_0x1b70e3(0xd8)];}get[_0x1c1d17(0xf2)](){const _0x1d1c70=_0x1c1d17;return this[_0x1d1c70(0x176)];}get['onPointerMoveDelegate'](){return this['_onPointerMoveDelegate'];}get[_0x1c1d17(0x142)](){const _0x401697=_0x1c1d17;return this[_0x401697(0x13b)];}get[_0x1c1d17(0x153)](){return this['_onWheelDelegate'];}get[_0x1c1d17(0x112)](){return this['_onKeyDownDelegate'];}get[_0x1c1d17(0x15a)](){return this['_onKeyUpDelegate'];}get['onContextMenuDelegate'](){const _0x1e8195=_0x1c1d17;return this[_0x1e8195(0x18b)];}get[_0x1c1d17(0x122)](){const _0x36851a=_0x1c1d17;return this[_0x36851a(0x19b)];}get[_0x1c1d17(0xf7)](){return this['_onWindowBlurDelegate'];}get['onRawClickDelegate'](){const _0x5814f2=_0x1c1d17;return this[_0x5814f2(0x18d)];}constructor(_0x45928a){const _0x4c79c9=_0x1c1d17;this[_0x4c79c9(0x10e)]=null,this[_0x4c79c9(0xd2)]=null,this[_0x4c79c9(0x136)]=null,this[_0x4c79c9(0xfc)]=null,this['prepareClickComponent']=null,this[_0x4c79c9(0x114)]=null,this[_0x4c79c9(0x15c)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x4c79c9(0x135)]=new Set(),this['_onComponentClickDelegate']=new Delegate(),this[_0x4c79c9(0x170)]=new Delegate(),this[_0x4c79c9(0x141)]=new Delegate(),this[_0x4c79c9(0x14a)]=new Delegate(),this['_onComponentPointerDownDelegate']=new Delegate(),this[_0x4c79c9(0xe9)]=new Delegate(),this[_0x4c79c9(0x199)]=new Delegate(),this[_0x4c79c9(0xfe)]=new Delegate(),this['_onActorHoverEndDelegate']=new Delegate(),this[_0x4c79c9(0xfd)]=new Delegate(),this[_0x4c79c9(0xd8)]=new Delegate(),this[_0x4c79c9(0x176)]=new Delegate(),this[_0x4c79c9(0xf1)]=new Delegate(),this['_onPointerCancelDelegate']=new Delegate(),this[_0x4c79c9(0x155)]=new Delegate(),this[_0x4c79c9(0x173)]=new Delegate(),this[_0x4c79c9(0xd9)]=new Delegate(),this[_0x4c79c9(0x18b)]=new Delegate(),this['_onPointerLockChangeDelegate']=new Delegate(),this['_onWindowBlurDelegate']=new Delegate(),this[_0x4c79c9(0x18d)]=new Delegate(),this[_0x4c79c9(0x17e)]=new webgpu.Vector2(),this[_0x4c79c9(0xdf)]=new webgpu.Vector2(),this[_0x4c79c9(0x167)]=new webgpu.Vector2(),this['_raycastVec2']=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x4c79c9(0x107)]=null,this[_0x4c79c9(0x102)]=_0x41b0d6=>this[_0x4c79c9(0x194)](_0x41b0d6),this['onPointerEnter']=_0x259a1a=>this[_0x4c79c9(0xed)](_0x259a1a),this['onPointerLeave']=_0x253e5c=>this['onPointerLeaveEvent'](_0x253e5c),this[_0x4c79c9(0x181)]=_0x16e31c=>this['onPointerUpEvent'](_0x16e31c),this[_0x4c79c9(0x15b)]=_0x5067d2=>this[_0x4c79c9(0x190)](_0x5067d2),this['onPointerCancel']=_0x2bc414=>this[_0x4c79c9(0x186)](_0x2bc414),this[_0x4c79c9(0x11a)]=_0x28c594=>this[_0x4c79c9(0xd4)](_0x28c594),this['onKeyDown']=_0x4e8e29=>this[_0x4c79c9(0x115)](_0x4e8e29),this['onKeyUp']=_0x1f078e=>this[_0x4c79c9(0x169)](_0x1f078e),this[_0x4c79c9(0x16f)]=_0x2a2f2c=>this[_0x4c79c9(0x123)](_0x2a2f2c),this['onPointerLockChange']=_0x50d568=>this[_0x4c79c9(0x108)](_0x50d568),this[_0x4c79c9(0xf8)]=_0x28d448=>this['onWindowBlurEvent'](_0x28d448),this[_0x4c79c9(0x12e)]=_0x10c5aa=>this[_0x4c79c9(0x19a)](_0x10c5aa),this[_0x4c79c9(0x16b)]=_0x45928a,this[_0x4c79c9(0xff)]=new webgpu.Raycaster(),this[_0x4c79c9(0x171)]();}[_0x1c1d17(0x171)](){const _0x1774ee=_0x1c1d17;this[_0x1774ee(0x10e)]=new Orbital(this[_0x1774ee(0x16b)]),this[_0x1774ee(0x14b)]['possess'](),this['pawn']['enabled']=!![];}[_0x1c1d17(0xdb)](){const _0x66c9c=_0x1c1d17,_0x4c0422=this[_0x66c9c(0x166)]['canvas'];console[_0x66c9c(0x100)](_0x66c9c(0xe6),_0x4c0422),_0x4c0422&&(_0x4c0422[_0x66c9c(0xef)](_0x66c9c(0x16a),this[_0x66c9c(0x14d)]),_0x4c0422[_0x66c9c(0xef)](_0x66c9c(0x184),this[_0x66c9c(0x10f)]),_0x4c0422[_0x66c9c(0xef)]('pointercancel',this[_0x66c9c(0x113)]),_0x4c0422[_0x66c9c(0xef)](_0x66c9c(0x18a),this['onWheel']),_0x4c0422['addEventListener'](_0x66c9c(0x177),this[_0x66c9c(0x16f)]),_0x4c0422[_0x66c9c(0xef)](_0x66c9c(0x157),this['onClick']),this[_0x66c9c(0x18e)]()),document['addEventListener'](_0x66c9c(0x13f),this['onPointerLockChange']),document[_0x66c9c(0xef)](_0x66c9c(0xd3),this[_0x66c9c(0xd1)]),document['addEventListener'](_0x66c9c(0xec),this['onKeyUp']),window[_0x66c9c(0xef)](_0x66c9c(0x158),this[_0x66c9c(0xf8)]),this['_pawn']&&(this['_pawn'][_0x66c9c(0x12b)](),this[_0x66c9c(0x10e)]['possess']());}['updateCamera'](){const _0x44e538=_0x1c1d17;var _0x394121,_0x1047bb;const _0x5d18c0=this['pawn'][_0x44e538(0xe3)];(_0x394121=this[_0x44e538(0x10e)])===null||_0x394121===void 0?void 0:_0x394121[_0x44e538(0x12b)](),(_0x1047bb=this[_0x44e538(0x10e)])===null||_0x1047bb===void 0?void 0:_0x1047bb[_0x44e538(0x101)](),this[_0x44e538(0x10e)]=new Orbital(this[_0x44e538(0x16b)]),this[_0x44e538(0x14b)][_0x44e538(0xd7)](),this['pawn'][_0x44e538(0xe3)]=_0x5d18c0;}async[_0x1c1d17(0x124)](_0x25472f,_0x2981cd){const _0x5dd317=_0x1c1d17;!_0x25472f[_0x5dd317(0x106)]&&this['_app'][_0x5dd317(0x106)][_0x5dd317(0x145)](_0x25472f);this['_switchPawnTween']&&(this[_0x5dd317(0xd2)][_0x5dd317(0x121)](),this[_0x5dd317(0xd2)]=null);const _0x1dedfa=this[_0x5dd317(0x10e)];if(_0x1dedfa===_0x25472f)return;if(!_0x2981cd||_0x2981cd<=0x0){_0x1dedfa&&(_0x1dedfa[_0x5dd317(0x12b)](),_0x1dedfa[_0x5dd317(0xe3)]=![]);this[_0x5dd317(0x10e)]=_0x25472f,this['_pawn'][_0x5dd317(0xe3)]=!![],this[_0x5dd317(0x10e)]['possess']();return;}const _0x346906=this[_0x5dd317(0x18c)][_0x5dd317(0x192)][_0x5dd317(0x14f)](),_0x3b115f=this[_0x5dd317(0x18c)][_0x5dd317(0x188)][_0x5dd317(0x14f)]();_0x1dedfa&&(_0x1dedfa[_0x5dd317(0x12b)](),_0x1dedfa[_0x5dd317(0xe3)]=![]);const {position:_0xbfac10,quaternion:_0x57bee7}=_0x25472f[_0x5dd317(0x161)]();return this[_0x5dd317(0x10e)]=_0x25472f,this[_0x5dd317(0x10e)]['enabled']=![],new Promise(_0x5f225b=>{const _0x2f4bca=_0x5dd317,_0x2ff29d={'alpha':0x0};this[_0x2f4bca(0xd2)]=gsap.gsap['to'](_0x2ff29d,{'alpha':0x1,'duration':_0x2981cd,'ease':_0x2f4bca(0xe4),'onUpdate':()=>{const _0xeab228=_0x2f4bca,_0x299e61=_0x2ff29d[_0xeab228(0x187)];this[_0xeab228(0x18c)][_0xeab228(0x192)]['lerpVectors'](_0x346906,_0xbfac10,_0x299e61),this['camera'][_0xeab228(0x188)]['slerpQuaternions'](_0x3b115f,_0x57bee7,_0x299e61);},'onComplete':()=>{const _0x1707ed=_0x2f4bca;this['_switchPawnTween']=null,this['_pawn']===_0x25472f&&(this[_0x1707ed(0x10e)][_0x1707ed(0xd7)](),this[_0x1707ed(0x10e)][_0x1707ed(0xe3)]=!![]),_0x5f225b();}});});}[_0x1c1d17(0x109)](_0x4c030b){const _0x1b5979=_0x1c1d17;!this[_0x1b5979(0x14b)][_0x1b5979(0x106)]&&this[_0x1b5979(0x14b)][_0x1b5979(0x109)](_0x4c030b);}[_0x1c1d17(0x101)](){const _0x441f3e=_0x1c1d17;this[_0x441f3e(0x197)](),this[_0x441f3e(0xe0)]();const _0x1475a0=this[_0x441f3e(0x166)][_0x441f3e(0xe6)];_0x1475a0&&(_0x1475a0[_0x441f3e(0x15e)](_0x441f3e(0x16a),this[_0x441f3e(0x14d)]),_0x1475a0[_0x441f3e(0x15e)](_0x441f3e(0x184),this[_0x441f3e(0x10f)]),_0x1475a0[_0x441f3e(0x15e)](_0x441f3e(0x162),this['onPointerCancel']),_0x1475a0['removeEventListener'](_0x441f3e(0x18a),this['onWheel']),_0x1475a0[_0x441f3e(0x15e)](_0x441f3e(0x177),this[_0x441f3e(0x16f)]),_0x1475a0[_0x441f3e(0x15e)]('click',this[_0x441f3e(0x12e)]),this[_0x441f3e(0x128)]()),document[_0x441f3e(0x15e)]('pointerlockchange',this[_0x441f3e(0x12c)]),document[_0x441f3e(0x15e)]('keydown',this['onKeyDown']),document['removeEventListener'](_0x441f3e(0xec),this[_0x441f3e(0x144)]),window[_0x441f3e(0x15e)]('blur',this['onWindowBlur']),this[_0x441f3e(0x14b)][_0x441f3e(0x12b)](),this[_0x441f3e(0x14b)]['destroy'](),this['_pawn']=null;}[_0x1c1d17(0x194)](_0x338c13){const _0x1f103e=_0x1c1d17;var _0x1f8efa,_0x52c017;this[_0x1f103e(0xf1)][_0x1f103e(0x118)](_0x338c13);const _0x5727dc=this[_0x1f103e(0x166)]['canvas'];if(!_0x5727dc)throw Error(_0x1f103e(0x139));const _0x3a547d=_0x5727dc[_0x1f103e(0x179)]();this['pointerPosition'][_0x1f103e(0x17a)]((_0x338c13[_0x1f103e(0x11c)]-_0x3a547d[_0x1f103e(0x160)])/_0x5727dc['clientWidth']*0x2-0x1,0x1-(_0x338c13['clientY']-_0x3a547d[_0x1f103e(0x193)])/_0x5727dc[_0x1f103e(0x189)]*0x2);if(this[_0x1f103e(0x135)][_0x1f103e(0x196)]>0x0)return;const _0x15320a=this[_0x1f103e(0x132)](),_0x2f7383=(_0x1f8efa=_0x15320a===null||_0x15320a===void 0?void 0:_0x15320a[_0x1f103e(0x18f)])!==null&&_0x1f8efa!==void 0?_0x1f8efa:null,_0x3eaa32=(_0x52c017=_0x2f7383===null||_0x2f7383===void 0?void 0:_0x2f7383['parentActor'])!==null&&_0x52c017!==void 0?_0x52c017:null;_0x2f7383!==this[_0x1f103e(0x136)]&&(this[_0x1f103e(0x136)]&&this['fireComponentHoverEnd'](this[_0x1f103e(0x136)]),_0x2f7383&&_0x15320a&&this[_0x1f103e(0xdc)](_0x2f7383,_0x15320a['hit'])),_0x3eaa32!==this[_0x1f103e(0xfc)]&&(this[_0x1f103e(0xfc)]&&this[_0x1f103e(0x136)]&&this[_0x1f103e(0x16e)](this[_0x1f103e(0xfc)],this[_0x1f103e(0x136)]),_0x3eaa32&&_0x2f7383&&_0x15320a&&this[_0x1f103e(0x15f)](_0x3eaa32,_0x2f7383,_0x15320a[_0x1f103e(0xe1)])),this[_0x1f103e(0x136)]=_0x2f7383,this[_0x1f103e(0xfc)]=_0x3eaa32;}[_0x1c1d17(0xe0)](){const _0x5326f9=_0x1c1d17;this[_0x5326f9(0x136)]&&this['fireComponentHoverEnd'](this['hoveringComponent']),this[_0x5326f9(0xfc)]&&this['hoveringComponent']&&this['fireActorHoverEnd'](this[_0x5326f9(0xfc)],this['hoveringComponent']),this[_0x5326f9(0x136)]=null,this['hoveringActor']=null;}[_0x1c1d17(0x105)](_0x2df85c){const _0x4764bc=_0x1c1d17;this[_0x4764bc(0x176)][_0x4764bc(0x118)](_0x2df85c),this['_pointButtonIsDown'][_0x4764bc(0x175)](_0x2df85c[_0x4764bc(0xfa)]);if(_0x2df85c[_0x4764bc(0xfa)]!==0x0)return;const _0x26d545=this[_0x4764bc(0x167)][_0x4764bc(0x111)](this[_0x4764bc(0xdf)],this[_0x4764bc(0x17e)])[_0x4764bc(0x16c)]();if(_0x26d545>0.005){this[_0x4764bc(0x197)]();return;}this['prepareClickModifiers']={'ctrlKey':_0x2df85c[_0x4764bc(0x172)],'shiftKey':_0x2df85c['shiftKey'],'altKey':_0x2df85c[_0x4764bc(0x165)]},!this[_0x4764bc(0x107)]?this['handleFirstClick']():this[_0x4764bc(0x13a)]();}['handleFirstClick'](){const _0x3b5dbb=_0x1c1d17,_0x43b79c=this[_0x3b5dbb(0x132)](),_0x5ba831=_0x43b79c===null||_0x43b79c===void 0?void 0:_0x43b79c[_0x3b5dbb(0x18f)];_0x5ba831 instanceof SceneComponent&&_0x43b79c?(this[_0x3b5dbb(0xe5)]=_0x5ba831,this[_0x3b5dbb(0x114)]=_0x43b79c[_0x3b5dbb(0xe1)],this[_0x3b5dbb(0x107)]=window[_0x3b5dbb(0x195)](()=>{const _0x58dec3=_0x3b5dbb;this[_0x58dec3(0x107)]=null,this[_0x58dec3(0xe5)]&&this[_0x58dec3(0x114)]&&(this[_0x58dec3(0x14c)](this['prepareClickComponent'],this['prepareClickHit'],![]),this['prepareClickComponent']=null,this[_0x58dec3(0x114)]=null);},this[_0x3b5dbb(0x11f)])):this[_0x3b5dbb(0xfd)][_0x3b5dbb(0x118)]();}[_0x1c1d17(0x13a)](){const _0x32209a=_0x1c1d17;this[_0x32209a(0x197)](),this[_0x32209a(0xe5)]&&this[_0x32209a(0x114)]?this[_0x32209a(0x14c)](this['prepareClickComponent'],this[_0x32209a(0x114)],!![]):this[_0x32209a(0xfd)]['broadcast'](),this['prepareClickComponent']=null,this[_0x32209a(0x114)]=null;}[_0x1c1d17(0x190)](_0x3cffee){const _0x5033cc=_0x1c1d17;this['_onPointerDownDelegate'][_0x5033cc(0x118)](_0x3cffee),this[_0x5033cc(0x135)][_0x5033cc(0x116)](_0x3cffee[_0x5033cc(0xfa)]);_0x3cffee[_0x5033cc(0xfa)]===0x0&&this[_0x5033cc(0xdf)][_0x5033cc(0x125)](this[_0x5033cc(0x17e)]);const _0x309148=this[_0x5033cc(0x132)](),_0x1e0586=_0x309148===null||_0x309148===void 0?void 0:_0x309148[_0x5033cc(0x18f)];_0x1e0586 instanceof SceneComponent&&_0x309148&&this[_0x5033cc(0xdd)](_0x1e0586,_0x309148['hit'],_0x3cffee[_0x5033cc(0xfa)]);}[_0x1c1d17(0xed)](_0x53da11){const _0x342e5c=_0x1c1d17;this[_0x342e5c(0x18e)]();}[_0x1c1d17(0x127)](_0x40c37d){this['removeCorePointerListeners']();}[_0x1c1d17(0x186)](_0x39d653){const _0x54c447=_0x1c1d17;this[_0x54c447(0x13b)][_0x54c447(0x118)](_0x39d653);}[_0x1c1d17(0xd4)](_0x553593){const _0x503b01=_0x1c1d17;this[_0x503b01(0x155)][_0x503b01(0x118)](_0x553593);}[_0x1c1d17(0x115)](_0x5aabda){const _0xb15c31=_0x1c1d17;this[_0xb15c31(0x173)][_0xb15c31(0x118)](_0x5aabda);}[_0x1c1d17(0x169)](_0x3fedc5){const _0x42dbf6=_0x1c1d17;this[_0x42dbf6(0xd9)][_0x42dbf6(0x118)](_0x3fedc5);}['onContextMenuEvent'](_0x108f75){this['_onContextMenuDelegate']['broadcast'](_0x108f75);}[_0x1c1d17(0x108)](_0x3fc314){const _0x2b729f=_0x1c1d17;this['_onPointerLockChangeDelegate'][_0x2b729f(0x118)](_0x3fc314);}[_0x1c1d17(0x119)](_0x175f4d){const _0x4db729=_0x1c1d17;this[_0x4db729(0x16d)][_0x4db729(0x118)](_0x175f4d);}[_0x1c1d17(0x19a)](_0x2641ee){const _0x2763fe=_0x1c1d17;this[_0x2763fe(0x18d)][_0x2763fe(0x118)](_0x2641ee);}[_0x1c1d17(0xdc)](_0x306fa3,_0x122029){const _0x303f34=_0x1c1d17,_0x59d085={'component':_0x306fa3,'hit':_0x122029,'handled':![]};this[_0x303f34(0x141)][_0x303f34(0x118)](_0x59d085),!_0x59d085[_0x303f34(0xf4)]&&_0x306fa3[_0x303f34(0x17c)]();}[_0x1c1d17(0x103)](_0x34df9d){const _0x169d73=_0x1c1d17,_0x53a5ff={'component':_0x34df9d,'hit':null,'handled':![]};this[_0x169d73(0x14a)][_0x169d73(0x118)](_0x53a5ff),!_0x53a5ff[_0x169d73(0xf4)]&&_0x34df9d[_0x169d73(0x10d)]();}[_0x1c1d17(0x159)](_0x29638a,_0xfcc64a,_0x407645){const _0x2fac8c=_0x1c1d17,_0x4a0800=Object[_0x2fac8c(0x133)]({'component':_0x29638a,'hit':_0xfcc64a,'handled':![]},this[_0x2fac8c(0x15c)]);_0x407645?(this[_0x2fac8c(0x170)][_0x2fac8c(0x118)](_0x4a0800),!_0x4a0800[_0x2fac8c(0xf4)]&&_0x29638a[_0x2fac8c(0x147)]()):(this[_0x2fac8c(0x174)][_0x2fac8c(0x118)](_0x4a0800),!_0x4a0800[_0x2fac8c(0xf4)]&&_0x29638a[_0x2fac8c(0x17d)]());}[_0x1c1d17(0xdd)](_0x13c7d3,_0x12b426,_0x35f3c0){const _0x45fc12=_0x1c1d17,_0x2ced3b={'component':_0x13c7d3,'hit':_0x12b426,'button':_0x35f3c0,'handled':![]};this[_0x45fc12(0xfb)][_0x45fc12(0x118)](_0x2ced3b);}[_0x1c1d17(0x15f)](_0x5ef44d,_0x10c342,_0x196f62){const _0x28fa14=_0x1c1d17,_0x3b5219={'actor':_0x5ef44d,'component':_0x10c342,'hit':_0x196f62,'handled':![]};this[_0x28fa14(0xfe)][_0x28fa14(0x118)](_0x3b5219),!_0x3b5219[_0x28fa14(0xf4)]&&_0x5ef44d[_0x28fa14(0x11e)](_0x10c342);}['fireActorHoverEnd'](_0x200a7a,_0x3d5c60){const _0x1c8d44=_0x1c1d17,_0x1eee36={'actor':_0x200a7a,'component':_0x3d5c60,'hit':null,'handled':![]};this['_onActorHoverEndDelegate']['broadcast'](_0x1eee36),!_0x1eee36[_0x1c8d44(0xf4)]&&_0x200a7a[_0x1c8d44(0x13e)](_0x3d5c60);}[_0x1c1d17(0x126)](_0x1d5098,_0xf19a48,_0x29aff0,_0x3cd40a){const _0x310f7c=_0x1c1d17,_0x26fbd5=Object[_0x310f7c(0x133)]({'actor':_0x1d5098,'component':_0xf19a48,'hit':_0x29aff0,'handled':![]},this[_0x310f7c(0x15c)]);_0x3cd40a?(this[_0x310f7c(0x199)][_0x310f7c(0x118)](_0x26fbd5),!_0x26fbd5[_0x310f7c(0xf4)]&&_0x1d5098[_0x310f7c(0x156)](_0xf19a48)):(this['_onActorClickDelegate'][_0x310f7c(0x118)](_0x26fbd5),!_0x26fbd5[_0x310f7c(0xf4)]&&_0x1d5098[_0x310f7c(0x150)](_0xf19a48));}[_0x1c1d17(0x14c)](_0xa8f8b9,_0x793a3d,_0x245812){const _0x2b4f8c=_0x1c1d17;this[_0x2b4f8c(0x159)](_0xa8f8b9,_0x793a3d,_0x245812);const _0x2256f9=_0xa8f8b9[_0x2b4f8c(0x11d)];if(_0x2256f9){if(_0x2256f9['isClickEnabled'])this[_0x2b4f8c(0x126)](_0x2256f9,_0xa8f8b9,_0x793a3d,_0x245812);}}[_0x1c1d17(0x197)](){const _0x2c1560=_0x1c1d17;this[_0x2c1560(0x107)]&&(window['clearTimeout'](this[_0x2c1560(0x107)]),this['leftClickTimer']=null);}[_0x1c1d17(0x18e)](){const _0x10e2ed=_0x1c1d17,_0x56af76=this[_0x10e2ed(0x166)][_0x10e2ed(0xe6)];if(!_0x56af76)return;_0x56af76[_0x10e2ed(0xef)](_0x10e2ed(0xf3),this[_0x10e2ed(0x102)]),_0x56af76[_0x10e2ed(0xef)]('pointerup',this['onPointerUp']),_0x56af76[_0x10e2ed(0xef)](_0x10e2ed(0x146),this['onPointerDown']);}[_0x1c1d17(0x128)](){const _0x4ce9c8=_0x1c1d17,_0x4dc5a4=this[_0x4ce9c8(0x166)][_0x4ce9c8(0xe6)];if(!_0x4dc5a4)return;_0x4dc5a4[_0x4ce9c8(0x15e)](_0x4ce9c8(0xf3),this['onPointerMove']),_0x4dc5a4[_0x4ce9c8(0x15e)]('pointerup',this['onPointerUp']),_0x4dc5a4['removeEventListener'](_0x4ce9c8(0x146),this[_0x4ce9c8(0x15b)]);}['getHitResultUnderCursor'](_0x13429d=!![]){const _0x4316a2=_0x1c1d17;return this[_0x4316a2(0x117)](this[_0x4316a2(0x17e)]['x'],this['pointerPosition']['y'],_0x13429d);}[_0x1c1d17(0x117)](_0x43edd5,_0x37971a,_0x4d9ea9=!![]){const _0x263031=_0x1c1d17;this[_0x263031(0x12f)][_0x263031(0x17a)](_0x43edd5,_0x37971a),this[_0x263031(0xff)][_0x263031(0x140)](this[_0x263031(0x12f)],this[_0x263031(0x18c)]);const _0x3625f6=this[_0x263031(0xe2)](_0x43edd5,_0x37971a);if(!_0x4d9ea9)return _0x3625f6[0x0]||null;for(const _0x48db90 of _0x3625f6){const _0x3841b6=_0x48db90[_0x263031(0x18f)]['isHoverEnabled']||_0x48db90[_0x263031(0x18f)][_0x263031(0x183)],_0x432256=_0x48db90['component'][_0x263031(0x11d)],_0x3f20e7=_0x432256&&(_0x432256['isHoverEnabled']||_0x432256[_0x263031(0x183)]);if(_0x3841b6||_0x3f20e7)return _0x48db90;}return null;}[_0x1c1d17(0xeb)](_0x168704=!![]){const _0x31fcfa=_0x1c1d17;return this[_0x31fcfa(0xe2)](this[_0x31fcfa(0x17e)]['x'],this[_0x31fcfa(0x17e)]['y']);}['getAllHitResultFromScreenPoint'](_0x62e934,_0xd16571){const _0x519ba4=_0x1c1d17;this[_0x519ba4(0x12f)][_0x519ba4(0x17a)](_0x62e934,_0xd16571),this['raycaster'][_0x519ba4(0x140)](this[_0x519ba4(0x12f)],this[_0x519ba4(0x18c)]);const _0x18f7f0=this[_0x519ba4(0xff)]['ray'][_0x519ba4(0x163)],_0x454fdd=this[_0x519ba4(0xff)][_0x519ba4(0xee)]['at'](0x2710,new webgpu.Vector3()),_0x18f0ad=this[_0x519ba4(0x106)][_0x519ba4(0x129)][_0x519ba4(0x137)](_0x18f7f0,_0x454fdd,exports.CollisionChannel['Visibility']),_0x2605e3=[];for(const _0x265cc1 of _0x18f0ad){if(!_0x265cc1[_0x519ba4(0x13d)]||!_0x265cc1['collider'][_0x519ba4(0x11b)])continue;if(this[_0x519ba4(0x18c)]instanceof webgpu.PerspectiveCamera&&_0x265cc1[_0x519ba4(0x10c)]<this[_0x519ba4(0x18c)]['near'])continue;const _0x109454={'distance':_0x265cc1[_0x519ba4(0x10c)],'point':_0x265cc1[_0x519ba4(0xf6)],'object':_0x265cc1[_0x519ba4(0x13d)][_0x519ba4(0x11b)],'uv':new webgpu.Vector2(0x0,0x0)};_0x2605e3[_0x519ba4(0x151)]({'component':_0x265cc1[_0x519ba4(0x13d)],'hit':_0x109454});if(_0x265cc1[_0x519ba4(0xd5)])break;}return _0x2605e3;}[_0x1c1d17(0x180)](_0x5c8b26,_0x362bc2,_0x32294c,_0x403a8c,_0x586938=null,_0x254711=null){const _0x46d184=_0x1c1d17;this[_0x46d184(0x14b)][_0x46d184(0x180)](_0x5c8b26,_0x362bc2,_0x32294c,_0x403a8c,_0x586938,_0x254711);}['focusToBounds'](_0xbc27ec,_0x1b8d4d,_0x2a3394={}){const _0x45e3cf=_0x1c1d17,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math[_0x45e3cf(0x131)](0.5)}=_0x2a3394,_0x903444=new webgpu.Vector3(),_0x5bca7f=new webgpu.Vector3();_0xbc27ec[_0x45e3cf(0x148)](_0x903444),_0xbc27ec[_0x45e3cf(0xf0)](_0x5bca7f);const _0x5646c7=this['app'][_0x45e3cf(0x18c)];if(_0x5646c7&&_0x5646c7[_0x45e3cf(0x164)]){const _0x19dcc2=_0x5646c7[_0x45e3cf(0x130)]*(Math['PI']/0xb4),_0x4dee2d=_0x5bca7f[_0x45e3cf(0x16c)]()*0.5,_0xa488d7=Math[_0x45e3cf(0xf5)](_0x4dee2d/targetScreenRatio/Math[_0x45e3cf(0x120)](_0x19dcc2/0x2),_0x5646c7[_0x45e3cf(0x12a)]*0x2);let _0x36eaa6=_0x5646c7[_0x45e3cf(0x188)][_0x45e3cf(0x14f)]();if(computeOptimalQuat){const _0x5f0fa0=[new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x6,0x0,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,0x0,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x2,0x0,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x3,0x0,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x3,Math['PI'],0x0,_0x45e3cf(0x178)),new webgpu.Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,'YXZ')];let _0x1a9e72=-1;for(const _0xa86d68 of _0x5f0fa0){const _0x497232=new webgpu.Quaternion()[_0x45e3cf(0x10a)](_0xa86d68),_0x4637d5=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x497232),_0x51c9fc=_0x903444[_0x45e3cf(0x14f)]()[_0x45e3cf(0x116)](_0x4637d5[_0x45e3cf(0x198)](_0xa488d7)),_0x4823ec=this['world']['physics'][_0x45e3cf(0xd6)](_0x51c9fc,_0x903444,exports.CollisionChannel[_0x45e3cf(0x14e)]);let _0x575b5d=![],_0x26dcc7=_0xa488d7;_0x4823ec&&_0x4823ec[_0x45e3cf(0xd5)]&&(_0x4823ec[_0x45e3cf(0x10c)]<_0xa488d7-_0x4dee2d*1.2&&(_0x575b5d=!![],_0x26dcc7=_0x4823ec['distance']));if(!_0x575b5d){_0x36eaa6=_0x497232;break;}else _0x26dcc7>_0x1a9e72&&(_0x1a9e72=_0x26dcc7,_0x36eaa6=_0x497232);}}const _0x5b5f55=_0x36eaa6;this['focusTo'](_0x903444,_0x5b5f55,_0xa488d7,_0x1b8d4d,onGoing,onFinished);}else {const _0x4138fd=_0x5bca7f[_0x45e3cf(0x16c)]()*1.5,_0x3af5c8=new webgpu.Quaternion()[_0x45e3cf(0x154)](new webgpu.Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0x45e3cf(0x180)](_0x903444,_0x3af5c8,_0x4138fd,_0x1b8d4d,onGoing,onFinished);}}[_0x1c1d17(0xf9)](_0x5e96df,_0x51072b,_0x113f46={}){const _0x111487=_0x1c1d17,_0x5a1b39=new webgpu.Box3()[_0x111487(0x17f)](_0x5e96df);this[_0x111487(0x10b)](_0x5a1b39,_0x51072b,_0x113f46);}}
|
|
92
|
+
const _0x4c0594=_0x449b;(function(_0x4aed38,_0x406066){const _0x166ec8=_0x449b,_0x5cf0cd=_0x4aed38();while(!![]){try{const _0x43dfe1=-parseInt(_0x166ec8(0xec))/0x1*(-parseInt(_0x166ec8(0x109))/0x2)+-parseInt(_0x166ec8(0x175))/0x3+-parseInt(_0x166ec8(0x113))/0x4*(-parseInt(_0x166ec8(0x16b))/0x5)+parseInt(_0x166ec8(0x120))/0x6*(-parseInt(_0x166ec8(0x162))/0x7)+-parseInt(_0x166ec8(0x115))/0x8*(-parseInt(_0x166ec8(0xe4))/0x9)+-parseInt(_0x166ec8(0x15e))/0xa+parseInt(_0x166ec8(0x158))/0xb;if(_0x43dfe1===_0x406066)break;else _0x5cf0cd['push'](_0x5cf0cd['shift']());}catch(_0x49b339){_0x5cf0cd['push'](_0x5cf0cd['shift']());}}}(_0x5151,0x49477));function _0x449b(_0x1fc660,_0x21fcd4){_0x1fc660=_0x1fc660-0xc8;const _0x5151f5=_0x5151();let _0x449bdf=_0x5151f5[_0x1fc660];return _0x449bdf;}function _0x5151(){const _0xc4f6f=['942CtYGnJ','getTargetCameraState','onDoubleClicked','onPointerDown','addEventListener','power2.inOut','physics','isPerspectiveCamera','onPointerLockChangeDelegate','near','hoveringActor','onComponentPointerDownDelegate','onActorHoverEnd','fireActorHoverEnd','_tempVec2','pointerup','max','fireComponentHoverEnd','onClick','quaternion','pointermove','isHoverEnabled','hit','ray','onClickNothingDelegate','far','size','copy','_raycastVec2','click','pointerleave','onWindowBlurEvent','clone','onHorveringBegin','_onComponentHoverEndDelegate','pointerdown','getAllHitResultUnderCursor','parentActor','_switchPawnTween','onPointerCancelEvent','camera','left','onPointerEnter','addCorePointerListeners','subVectors','onKeyUpEvent','onPointerUpEvent','onPointerLockChangeEvent','onPointerMove','onClickEvent','_onComponentClickDelegate','_onPointerDownDelegate','onPointerDownEvent','clientWidth','_onActorDoubleClickDelegate','onWheelEvent','988086ObSxAZ','onPointerCancelDelegate','pointerLeftDownPosition','threeObject','focusTo','onContextMenu','972720KDTZcZ','prepareClickHit','tick','onActorHoverBeginDelegate','23891GMWzWF','addActor','fov','_onClickNothingDelegate','keyup','_onWheelDelegate','altKey','onComponentHoverEndDelegate','_onActorHoverEndDelegate','19445oyvqJS','fireActorClick','length','pointerPosition','doubleClickDelay','isClickEnabled','canvas\x20is\x20null','pointerlockchange','_onPointerUpDelegate','clearTimeout','419229FMwpTx','removeEventListener','_app','getHitResultUnderCursor','origin','push','onWheel','onPointerLeaveEvent','init','onPointerMoveEvent','prepareClickModifiers','raycaster','Visibility','ctrlKey','prepareClickComponent','handled','_onContextMenuDelegate','onContextMenuDelegate','enabled','onActorDoubleClick','lineTraceMulti','onWindowBlur','unpossess','position','pawn','onWheelDelegate','button','_onPointerLockChangeDelegate','app','onPointerLockChange','canvas','onPointerLeave','clientY','firePointerDownEvent','leftClickTimer','_pointButtonIsDown','onKeyUp','_onActorHoverBeginDelegate','onActorClick','possess','_onRawClickDelegate','keydown','_onComponentHoverBeginDelegate','onPointerUpDelegate','set','1355184SlUcUm','blur','createInitialPawn','onWindowBlurDelegate','distance','kill','setFromEuler','_onComponentPointerDownDelegate','9HpEDhl','assign','onComponentClickDelegate','onPointerEnterEvent','onActorHoverEndDelegate','onPointerCancel','shiftKey','setFromCamera','multiplyScalar','contextmenu','fireClickEvents','removeCorePointerListeners','viewport','delete','fireActorHoverBegin','_onActorClickDelegate','_onComponentDoubleClickDelegate','getAllHitResultFromScreenPoint','getHitResultFromScreenPoint','world','clearClickTimer','_onKeyUpDelegate','blocking','lineTraceSingle','_onPointerMoveDelegate','onKeyDown','onContextMenuEvent','_pawn','updateCamera','109836JeKXQe','viewPort','wheel','focusToBounds','setFromObject','destroy','clientHeight','fireComponentHoverBegin','onActorClickDelegate','hoveringComponent','348nUkZmj','YXZ','8PCZkdg','pointercancel','_onWindowBlurDelegate','onKeyDownEvent','component','_onPointerCancelDelegate','broadcast','onClicked','applyQuaternion','_onKeyDownDelegate','onPointerUp'];_0x5151=function(){return _0xc4f6f;};return _0x5151();}class Controller{get[_0x4c0594(0x148)](){const _0x5491ce=_0x4c0594;return this[_0x5491ce(0x177)][_0x5491ce(0x148)];}get['world'](){const _0x47be73=_0x4c0594;return this[_0x47be73(0x177)][_0x47be73(0xff)];}get[_0x4c0594(0x10a)](){const _0x37ccb5=_0x4c0594;return this[_0x37ccb5(0x177)][_0x37ccb5(0xf8)];}get[_0x4c0594(0xd3)](){const _0x59b582=_0x4c0594;return this[_0x59b582(0x177)];}get[_0x4c0594(0xcf)](){const _0x594572=_0x4c0594;if(!this[_0x594572(0x107)])throw Error('pawn\x20is\x20null');return this[_0x594572(0x107)];}get[_0x4c0594(0xee)](){const _0x54aae3=_0x4c0594;return this[_0x54aae3(0x152)];}get['onComponentDoubleClickDelegate'](){const _0x579a6e=_0x4c0594;return this[_0x579a6e(0xfc)];}get['onComponentHoverBeginDelegate'](){return this['_onComponentHoverBeginDelegate'];}get[_0x4c0594(0x169)](){const _0x4cc1b4=_0x4c0594;return this[_0x4cc1b4(0x142)];}get[_0x4c0594(0x12b)](){return this['_onComponentPointerDownDelegate'];}get[_0x4c0594(0x111)](){const _0x144e78=_0x4c0594;return this[_0x144e78(0xfb)];}get['onActorDoubleClickDelegate'](){const _0x3908e3=_0x4c0594;return this[_0x3908e3(0x156)];}get[_0x4c0594(0x161)](){const _0x3a703=_0x4c0594;return this[_0x3a703(0xdc)];}get[_0x4c0594(0xf0)](){const _0x243424=_0x4c0594;return this[_0x243424(0x16a)];}get[_0x4c0594(0x138)](){const _0x3dc5f1=_0x4c0594;return this[_0x3dc5f1(0x165)];}get['onPointerDownDelegate'](){const _0x58b958=_0x4c0594;return this[_0x58b958(0x153)];}get[_0x4c0594(0xe2)](){return this['_onPointerUpDelegate'];}get['onPointerMoveDelegate'](){const _0x2cad39=_0x4c0594;return this[_0x2cad39(0x104)];}get[_0x4c0594(0x159)](){return this['_onPointerCancelDelegate'];}get[_0x4c0594(0xd0)](){const _0x258a90=_0x4c0594;return this[_0x258a90(0x167)];}get['onKeyDownDelegate'](){const _0x5d6135=_0x4c0594;return this[_0x5d6135(0x11e)];}get['onKeyUpDelegate'](){const _0x1b47b1=_0x4c0594;return this[_0x1b47b1(0x101)];}get[_0x4c0594(0xc8)](){const _0x5a7fea=_0x4c0594;return this[_0x5a7fea(0x185)];}get[_0x4c0594(0x128)](){const _0x5282f4=_0x4c0594;return this[_0x5282f4(0xd2)];}get[_0x4c0594(0xe7)](){return this['_onWindowBlurDelegate'];}get['onRawClickDelegate'](){const _0x46ad36=_0x4c0594;return this[_0x46ad36(0xdf)];}constructor(_0x1832ff){const _0x104cdf=_0x4c0594;this[_0x104cdf(0x107)]=null,this['_switchPawnTween']=null,this[_0x104cdf(0x112)]=null,this[_0x104cdf(0x12a)]=null,this[_0x104cdf(0x183)]=null,this[_0x104cdf(0x15f)]=null,this[_0x104cdf(0x17f)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x104cdf(0xda)]=new Set(),this[_0x104cdf(0x152)]=new Delegate(),this[_0x104cdf(0xfc)]=new Delegate(),this[_0x104cdf(0xe1)]=new Delegate(),this['_onComponentHoverEndDelegate']=new Delegate(),this[_0x104cdf(0xeb)]=new Delegate(),this[_0x104cdf(0xfb)]=new Delegate(),this[_0x104cdf(0x156)]=new Delegate(),this[_0x104cdf(0xdc)]=new Delegate(),this[_0x104cdf(0x16a)]=new Delegate(),this[_0x104cdf(0x165)]=new Delegate(),this['_onPointerDownDelegate']=new Delegate(),this[_0x104cdf(0x173)]=new Delegate(),this[_0x104cdf(0x104)]=new Delegate(),this['_onPointerCancelDelegate']=new Delegate(),this[_0x104cdf(0x167)]=new Delegate(),this[_0x104cdf(0x11e)]=new Delegate(),this[_0x104cdf(0x101)]=new Delegate(),this[_0x104cdf(0x185)]=new Delegate(),this[_0x104cdf(0xd2)]=new Delegate(),this[_0x104cdf(0x117)]=new Delegate(),this[_0x104cdf(0xdf)]=new Delegate(),this[_0x104cdf(0x16e)]=new webgpu.Vector2(),this[_0x104cdf(0x15a)]=new webgpu.Vector2(),this[_0x104cdf(0x12e)]=new webgpu.Vector2(),this[_0x104cdf(0x13c)]=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this['leftClickTimer']=null,this[_0x104cdf(0x150)]=_0x789d5c=>this[_0x104cdf(0x17e)](_0x789d5c),this[_0x104cdf(0x14a)]=_0x410e77=>this[_0x104cdf(0xef)](_0x410e77),this[_0x104cdf(0xd6)]=_0x227a3e=>this[_0x104cdf(0x17c)](_0x227a3e),this['onPointerUp']=_0x2fc3db=>this['onPointerUpEvent'](_0x2fc3db),this['onPointerDown']=_0x38d7ab=>this[_0x104cdf(0x154)](_0x38d7ab),this['onPointerCancel']=_0x152b0d=>this[_0x104cdf(0x147)](_0x152b0d),this[_0x104cdf(0x17b)]=_0x51edf1=>this[_0x104cdf(0x157)](_0x51edf1),this[_0x104cdf(0x105)]=_0x384ea8=>this['onKeyDownEvent'](_0x384ea8),this[_0x104cdf(0xdb)]=_0x34bd18=>this[_0x104cdf(0x14d)](_0x34bd18),this['onContextMenu']=_0x136dc5=>this['onContextMenuEvent'](_0x136dc5),this['onPointerLockChange']=_0x4fce7d=>this['onPointerLockChangeEvent'](_0x4fce7d),this[_0x104cdf(0xcc)]=_0x53ef81=>this[_0x104cdf(0x13f)](_0x53ef81),this[_0x104cdf(0x132)]=_0x41dd81=>this[_0x104cdf(0x151)](_0x41dd81),this[_0x104cdf(0x177)]=_0x1832ff,this[_0x104cdf(0x180)]=new webgpu.Raycaster(),this[_0x104cdf(0xe6)]();}['createInitialPawn'](){const _0x1110f7=_0x4c0594;this['_pawn']=new Orbital(this[_0x1110f7(0x177)]),this[_0x1110f7(0xcf)][_0x1110f7(0xde)](),this[_0x1110f7(0xcf)][_0x1110f7(0xc9)]=!![];}[_0x4c0594(0x17d)](){const _0x305e41=_0x4c0594,_0x2064af=this[_0x305e41(0x10a)][_0x305e41(0xd5)];_0x2064af&&(_0x2064af[_0x305e41(0x124)]('pointerenter',this['onPointerEnter']),_0x2064af['addEventListener'](_0x305e41(0x13e),this[_0x305e41(0xd6)]),_0x2064af[_0x305e41(0x124)](_0x305e41(0x116),this['onPointerCancel']),_0x2064af[_0x305e41(0x124)]('wheel',this[_0x305e41(0x17b)]),_0x2064af[_0x305e41(0x124)](_0x305e41(0xf5),this['onContextMenu']),_0x2064af['addEventListener'](_0x305e41(0x13d),this[_0x305e41(0x132)]),this[_0x305e41(0x14b)]()),document[_0x305e41(0x124)](_0x305e41(0x172),this[_0x305e41(0xd4)]),document['addEventListener'](_0x305e41(0xe0),this[_0x305e41(0x105)]),document[_0x305e41(0x124)](_0x305e41(0x166),this[_0x305e41(0xdb)]),window['addEventListener'](_0x305e41(0xe5),this[_0x305e41(0xcc)]),this[_0x305e41(0x107)]&&(this[_0x305e41(0x107)][_0x305e41(0xcd)](),this[_0x305e41(0x107)][_0x305e41(0xde)]());}[_0x4c0594(0x108)](){const _0x2d1943=_0x4c0594;var _0x190876,_0x940b6b;const _0x489324=this[_0x2d1943(0xcf)][_0x2d1943(0xc9)];(_0x190876=this[_0x2d1943(0x107)])===null||_0x190876===void 0?void 0:_0x190876[_0x2d1943(0xcd)](),(_0x940b6b=this['_pawn'])===null||_0x940b6b===void 0?void 0:_0x940b6b[_0x2d1943(0x10e)](),this[_0x2d1943(0x107)]=new Orbital(this['_app']),this[_0x2d1943(0xcf)][_0x2d1943(0xde)](),this[_0x2d1943(0xcf)][_0x2d1943(0xc9)]=_0x489324;}async['switchPawn'](_0x5d3382,_0x445102){const _0x557f6b=_0x4c0594;!_0x5d3382[_0x557f6b(0xff)]&&this[_0x557f6b(0x177)][_0x557f6b(0xff)][_0x557f6b(0x163)](_0x5d3382);this['_switchPawnTween']&&(this[_0x557f6b(0x146)][_0x557f6b(0xe9)](),this[_0x557f6b(0x146)]=null);const _0x2ed179=this['_pawn'];if(_0x2ed179===_0x5d3382)return;if(!_0x445102||_0x445102<=0x0){_0x2ed179&&(_0x2ed179[_0x557f6b(0xcd)](),_0x2ed179[_0x557f6b(0xc9)]=![]);this[_0x557f6b(0x107)]=_0x5d3382,this['_pawn'][_0x557f6b(0xc9)]=!![],this[_0x557f6b(0x107)][_0x557f6b(0xde)]();return;}const _0x53c325=this[_0x557f6b(0x148)][_0x557f6b(0xce)]['clone'](),_0x1a4f2d=this[_0x557f6b(0x148)]['quaternion'][_0x557f6b(0x140)]();_0x2ed179&&(_0x2ed179[_0x557f6b(0xcd)](),_0x2ed179[_0x557f6b(0xc9)]=![]);const {position:_0x453097,quaternion:_0x5cdace}=_0x5d3382[_0x557f6b(0x121)]();return this['_pawn']=_0x5d3382,this[_0x557f6b(0x107)]['enabled']=![],new Promise(_0x5bd161=>{const _0x578361=_0x557f6b,_0x17d2aa={'alpha':0x0};this[_0x578361(0x146)]=gsap.gsap['to'](_0x17d2aa,{'alpha':0x1,'duration':_0x445102,'ease':_0x578361(0x125),'onUpdate':()=>{const _0x26d219=_0x578361,_0x5e2378=_0x17d2aa['alpha'];this['camera'][_0x26d219(0xce)]['lerpVectors'](_0x53c325,_0x453097,_0x5e2378),this[_0x26d219(0x148)][_0x26d219(0x133)]['slerpQuaternions'](_0x1a4f2d,_0x5cdace,_0x5e2378);},'onComplete':()=>{const _0x2f209e=_0x578361;this[_0x2f209e(0x146)]=null,this[_0x2f209e(0x107)]===_0x5d3382&&(this[_0x2f209e(0x107)]['possess'](),this['_pawn'][_0x2f209e(0xc9)]=!![]),_0x5bd161();}});});}[_0x4c0594(0x160)](_0x302488){const _0x4059dc=_0x4c0594;!this[_0x4059dc(0xcf)][_0x4059dc(0xff)]&&this[_0x4059dc(0xcf)]['tick'](_0x302488);}[_0x4c0594(0x10e)](){const _0x26d1bb=_0x4c0594;this[_0x26d1bb(0x100)](),this['clearHovering']();const _0x39dd2b=this[_0x26d1bb(0x10a)]['canvas'];_0x39dd2b&&(_0x39dd2b[_0x26d1bb(0x176)]('pointerenter',this[_0x26d1bb(0x14a)]),_0x39dd2b[_0x26d1bb(0x176)](_0x26d1bb(0x13e),this[_0x26d1bb(0xd6)]),_0x39dd2b[_0x26d1bb(0x176)](_0x26d1bb(0x116),this[_0x26d1bb(0xf1)]),_0x39dd2b['removeEventListener'](_0x26d1bb(0x10b),this['onWheel']),_0x39dd2b[_0x26d1bb(0x176)](_0x26d1bb(0xf5),this[_0x26d1bb(0x15d)]),_0x39dd2b['removeEventListener'](_0x26d1bb(0x13d),this[_0x26d1bb(0x132)]),this[_0x26d1bb(0xf7)]()),document[_0x26d1bb(0x176)](_0x26d1bb(0x172),this['onPointerLockChange']),document[_0x26d1bb(0x176)](_0x26d1bb(0xe0),this[_0x26d1bb(0x105)]),document[_0x26d1bb(0x176)](_0x26d1bb(0x166),this[_0x26d1bb(0xdb)]),window[_0x26d1bb(0x176)](_0x26d1bb(0xe5),this[_0x26d1bb(0xcc)]),this[_0x26d1bb(0xcf)]['unpossess'](),this[_0x26d1bb(0xcf)][_0x26d1bb(0x10e)](),this[_0x26d1bb(0x107)]=null;}[_0x4c0594(0x17e)](_0x2f911e){const _0x2929ea=_0x4c0594;var _0x2a7791,_0x2da31f;this[_0x2929ea(0x104)][_0x2929ea(0x11b)](_0x2f911e);const _0x1f115b=this[_0x2929ea(0x10a)][_0x2929ea(0xd5)];if(!_0x1f115b)throw Error(_0x2929ea(0x171));const _0x445310=_0x1f115b['getBoundingClientRect']();this['pointerPosition']['set']((_0x2f911e['clientX']-_0x445310[_0x2929ea(0x149)])/_0x1f115b[_0x2929ea(0x155)]*0x2-0x1,0x1-(_0x2f911e[_0x2929ea(0xd7)]-_0x445310['top'])/_0x1f115b[_0x2929ea(0x10f)]*0x2);if(this['_pointButtonIsDown'][_0x2929ea(0x13a)]>0x0)return;const _0x56524b=this[_0x2929ea(0x178)](),_0x5d1ba5=(_0x2a7791=_0x56524b===null||_0x56524b===void 0?void 0:_0x56524b[_0x2929ea(0x119)])!==null&&_0x2a7791!==void 0?_0x2a7791:null,_0x250623=(_0x2da31f=_0x5d1ba5===null||_0x5d1ba5===void 0?void 0:_0x5d1ba5[_0x2929ea(0x145)])!==null&&_0x2da31f!==void 0?_0x2da31f:null;_0x5d1ba5!==this[_0x2929ea(0x112)]&&(this[_0x2929ea(0x112)]&&this[_0x2929ea(0x131)](this['hoveringComponent']),_0x5d1ba5&&_0x56524b&&this['fireComponentHoverBegin'](_0x5d1ba5,_0x56524b['hit'])),_0x250623!==this[_0x2929ea(0x12a)]&&(this[_0x2929ea(0x12a)]&&this[_0x2929ea(0x112)]&&this['fireActorHoverEnd'](this['hoveringActor'],this['hoveringComponent']),_0x250623&&_0x5d1ba5&&_0x56524b&&this[_0x2929ea(0xfa)](_0x250623,_0x5d1ba5,_0x56524b['hit'])),this[_0x2929ea(0x112)]=_0x5d1ba5,this[_0x2929ea(0x12a)]=_0x250623;}['clearHovering'](){const _0x3e8d45=_0x4c0594;this[_0x3e8d45(0x112)]&&this[_0x3e8d45(0x131)](this[_0x3e8d45(0x112)]),this[_0x3e8d45(0x12a)]&&this[_0x3e8d45(0x112)]&&this[_0x3e8d45(0x12d)](this[_0x3e8d45(0x12a)],this[_0x3e8d45(0x112)]),this[_0x3e8d45(0x112)]=null,this['hoveringActor']=null;}[_0x4c0594(0x14e)](_0x4c8eb1){const _0x4e3e7e=_0x4c0594;this[_0x4e3e7e(0x173)]['broadcast'](_0x4c8eb1),this[_0x4e3e7e(0xda)][_0x4e3e7e(0xf9)](_0x4c8eb1['button']);if(_0x4c8eb1[_0x4e3e7e(0xd1)]!==0x0)return;const _0x52cbfa=this['_tempVec2'][_0x4e3e7e(0x14c)](this[_0x4e3e7e(0x15a)],this['pointerPosition'])[_0x4e3e7e(0x16d)]();if(_0x52cbfa>0.005){this['clearClickTimer']();return;}this[_0x4e3e7e(0x17f)]={'ctrlKey':_0x4c8eb1[_0x4e3e7e(0x182)],'shiftKey':_0x4c8eb1[_0x4e3e7e(0xf2)],'altKey':_0x4c8eb1[_0x4e3e7e(0x168)]},!this[_0x4e3e7e(0xd9)]?this['handleFirstClick']():this['handleDoubleClick']();}['handleFirstClick'](){const _0x4e5132=_0x4c0594,_0x59e9ce=this[_0x4e5132(0x178)](),_0x18c870=_0x59e9ce===null||_0x59e9ce===void 0?void 0:_0x59e9ce[_0x4e5132(0x119)];_0x18c870 instanceof SceneComponent&&_0x59e9ce?(this[_0x4e5132(0x183)]=_0x18c870,this[_0x4e5132(0x15f)]=_0x59e9ce['hit'],this[_0x4e5132(0xd9)]=window['setTimeout'](()=>{const _0x57879f=_0x4e5132;this['leftClickTimer']=null,this[_0x57879f(0x183)]&&this['prepareClickHit']&&(this[_0x57879f(0xf6)](this[_0x57879f(0x183)],this[_0x57879f(0x15f)],![]),this['prepareClickComponent']=null,this[_0x57879f(0x15f)]=null);},this[_0x4e5132(0x16f)])):this[_0x4e5132(0x165)][_0x4e5132(0x11b)]();}['handleDoubleClick'](){const _0x47bf5a=_0x4c0594;this[_0x47bf5a(0x100)](),this['prepareClickComponent']&&this[_0x47bf5a(0x15f)]?this[_0x47bf5a(0xf6)](this[_0x47bf5a(0x183)],this[_0x47bf5a(0x15f)],!![]):this['_onClickNothingDelegate'][_0x47bf5a(0x11b)](),this[_0x47bf5a(0x183)]=null,this[_0x47bf5a(0x15f)]=null;}[_0x4c0594(0x154)](_0x3f6819){const _0x3e2064=_0x4c0594;this[_0x3e2064(0x153)][_0x3e2064(0x11b)](_0x3f6819),this['_pointButtonIsDown']['add'](_0x3f6819[_0x3e2064(0xd1)]);_0x3f6819[_0x3e2064(0xd1)]===0x0&&this[_0x3e2064(0x15a)][_0x3e2064(0x13b)](this[_0x3e2064(0x16e)]);const _0xb8d1a=this[_0x3e2064(0x178)](),_0xf22f7e=_0xb8d1a===null||_0xb8d1a===void 0?void 0:_0xb8d1a['component'];_0xf22f7e instanceof SceneComponent&&_0xb8d1a&&this[_0x3e2064(0xd8)](_0xf22f7e,_0xb8d1a[_0x3e2064(0x136)],_0x3f6819[_0x3e2064(0xd1)]);}[_0x4c0594(0xef)](_0x506e7e){const _0x3261bc=_0x4c0594;this[_0x3261bc(0x14b)]();}[_0x4c0594(0x17c)](_0x27d3e5){const _0xbbc1d0=_0x4c0594;this[_0xbbc1d0(0xf7)]();}[_0x4c0594(0x147)](_0x2d650c){const _0x169e6a=_0x4c0594;this[_0x169e6a(0x11a)][_0x169e6a(0x11b)](_0x2d650c);}[_0x4c0594(0x157)](_0x5781ba){const _0x2ab5a7=_0x4c0594;this[_0x2ab5a7(0x167)][_0x2ab5a7(0x11b)](_0x5781ba);}[_0x4c0594(0x118)](_0x34e1ae){const _0x1c1f05=_0x4c0594;this[_0x1c1f05(0x11e)]['broadcast'](_0x34e1ae);}[_0x4c0594(0x14d)](_0x164590){const _0x2d4122=_0x4c0594;this[_0x2d4122(0x101)][_0x2d4122(0x11b)](_0x164590);}[_0x4c0594(0x106)](_0xfdada4){const _0x2fafde=_0x4c0594;this[_0x2fafde(0x185)][_0x2fafde(0x11b)](_0xfdada4);}[_0x4c0594(0x14f)](_0x367d52){const _0x352c97=_0x4c0594;this[_0x352c97(0xd2)][_0x352c97(0x11b)](_0x367d52);}[_0x4c0594(0x13f)](_0x31ed80){const _0x1d4190=_0x4c0594;this[_0x1d4190(0x117)][_0x1d4190(0x11b)](_0x31ed80);}[_0x4c0594(0x151)](_0x3ac807){const _0x48cf57=_0x4c0594;this[_0x48cf57(0xdf)][_0x48cf57(0x11b)](_0x3ac807);}[_0x4c0594(0x110)](_0x49a93e,_0x406f14){const _0x46f122=_0x4c0594,_0x1919d8={'component':_0x49a93e,'hit':_0x406f14,'handled':![]};this[_0x46f122(0xe1)][_0x46f122(0x11b)](_0x1919d8),!_0x1919d8['handled']&&_0x49a93e[_0x46f122(0x141)]();}[_0x4c0594(0x131)](_0x76249f){const _0x1bd5d4=_0x4c0594,_0x4bb6d7={'component':_0x76249f,'hit':null,'handled':![]};this[_0x1bd5d4(0x142)][_0x1bd5d4(0x11b)](_0x4bb6d7),!_0x4bb6d7[_0x1bd5d4(0x184)]&&_0x76249f['onHorveringEnd']();}['fireComponentClick'](_0x119b37,_0x3d3f13,_0x279c8c){const _0x51ca53=_0x4c0594,_0xce4d04=Object['assign']({'component':_0x119b37,'hit':_0x3d3f13,'handled':![]},this[_0x51ca53(0x17f)]);_0x279c8c?(this[_0x51ca53(0xfc)]['broadcast'](_0xce4d04),!_0xce4d04['handled']&&_0x119b37[_0x51ca53(0x122)]()):(this[_0x51ca53(0x152)]['broadcast'](_0xce4d04),!_0xce4d04[_0x51ca53(0x184)]&&_0x119b37[_0x51ca53(0x11c)]());}[_0x4c0594(0xd8)](_0x1c58f5,_0x136304,_0x4024c2){const _0x5d6f34=_0x4c0594,_0x4c394b={'component':_0x1c58f5,'hit':_0x136304,'button':_0x4024c2,'handled':![]};this[_0x5d6f34(0xeb)]['broadcast'](_0x4c394b);}['fireActorHoverBegin'](_0x2f6b57,_0x1da746,_0x15015f){const _0x3f94a5=_0x4c0594,_0x1366fa={'actor':_0x2f6b57,'component':_0x1da746,'hit':_0x15015f,'handled':![]};this[_0x3f94a5(0xdc)][_0x3f94a5(0x11b)](_0x1366fa),!_0x1366fa['handled']&&_0x2f6b57['onActorHoverBegin'](_0x1da746);}['fireActorHoverEnd'](_0x115ef8,_0x256ecf){const _0x42d92e=_0x4c0594,_0x5d867e={'actor':_0x115ef8,'component':_0x256ecf,'hit':null,'handled':![]};this[_0x42d92e(0x16a)][_0x42d92e(0x11b)](_0x5d867e),!_0x5d867e[_0x42d92e(0x184)]&&_0x115ef8[_0x42d92e(0x12c)](_0x256ecf);}[_0x4c0594(0x16c)](_0x197451,_0x1b7bb0,_0x4233f0,_0x5022a4){const _0xdf34e3=_0x4c0594,_0x1bb427=Object[_0xdf34e3(0xed)]({'actor':_0x197451,'component':_0x1b7bb0,'hit':_0x4233f0,'handled':![]},this[_0xdf34e3(0x17f)]);_0x5022a4?(this[_0xdf34e3(0x156)][_0xdf34e3(0x11b)](_0x1bb427),!_0x1bb427[_0xdf34e3(0x184)]&&_0x197451[_0xdf34e3(0xca)](_0x1b7bb0)):(this[_0xdf34e3(0xfb)]['broadcast'](_0x1bb427),!_0x1bb427['handled']&&_0x197451[_0xdf34e3(0xdd)](_0x1b7bb0));}[_0x4c0594(0xf6)](_0x1ac31a,_0x586c56,_0x549781){const _0x55e6a4=_0x4c0594;this['fireComponentClick'](_0x1ac31a,_0x586c56,_0x549781);const _0x291347=_0x1ac31a['parentActor'];if(_0x291347){if(_0x291347[_0x55e6a4(0x170)])this[_0x55e6a4(0x16c)](_0x291347,_0x1ac31a,_0x586c56,_0x549781);}}['clearClickTimer'](){const _0x1702bd=_0x4c0594;this[_0x1702bd(0xd9)]&&(window[_0x1702bd(0x174)](this['leftClickTimer']),this['leftClickTimer']=null);}[_0x4c0594(0x14b)](){const _0x1a8c76=_0x4c0594,_0x2213ce=this[_0x1a8c76(0x10a)][_0x1a8c76(0xd5)];if(!_0x2213ce)return;_0x2213ce['addEventListener'](_0x1a8c76(0x134),this[_0x1a8c76(0x150)]),_0x2213ce[_0x1a8c76(0x124)](_0x1a8c76(0x12f),this[_0x1a8c76(0x11f)]),_0x2213ce[_0x1a8c76(0x124)](_0x1a8c76(0x143),this[_0x1a8c76(0x123)]);}[_0x4c0594(0xf7)](){const _0x31eec0=_0x4c0594,_0x32202c=this[_0x31eec0(0x10a)][_0x31eec0(0xd5)];if(!_0x32202c)return;_0x32202c[_0x31eec0(0x176)](_0x31eec0(0x134),this[_0x31eec0(0x150)]),_0x32202c['removeEventListener']('pointerup',this['onPointerUp']),_0x32202c[_0x31eec0(0x176)](_0x31eec0(0x143),this[_0x31eec0(0x123)]);}[_0x4c0594(0x178)](_0x2965f8=!![]){const _0x5c07fb=_0x4c0594;return this[_0x5c07fb(0xfe)](this[_0x5c07fb(0x16e)]['x'],this[_0x5c07fb(0x16e)]['y'],_0x2965f8);}['getHitResultFromScreenPoint'](_0x2d9101,_0x33e20d,_0x2cce32=!![]){const _0xae46b9=_0x4c0594;this[_0xae46b9(0x13c)][_0xae46b9(0xe3)](_0x2d9101,_0x33e20d),this[_0xae46b9(0x180)][_0xae46b9(0xf3)](this[_0xae46b9(0x13c)],this[_0xae46b9(0x148)]);const _0x5118b5=this[_0xae46b9(0xfd)](_0x2d9101,_0x33e20d);if(!_0x2cce32)return _0x5118b5[0x0]||null;for(const _0x3fa2d6 of _0x5118b5){const _0x4e7397=_0x3fa2d6[_0xae46b9(0x119)][_0xae46b9(0x135)]||_0x3fa2d6[_0xae46b9(0x119)][_0xae46b9(0x170)],_0x5be50c=_0x3fa2d6[_0xae46b9(0x119)][_0xae46b9(0x145)],_0x1494f4=_0x5be50c&&(_0x5be50c[_0xae46b9(0x135)]||_0x5be50c[_0xae46b9(0x170)]);if(_0x4e7397||_0x1494f4)return _0x3fa2d6;}return null;}[_0x4c0594(0x144)](_0x240a28=!![]){const _0x15bc4f=_0x4c0594;return this[_0x15bc4f(0xfd)](this[_0x15bc4f(0x16e)]['x'],this[_0x15bc4f(0x16e)]['y']);}[_0x4c0594(0xfd)](_0x50b893,_0x4536ac){const _0x5c50a1=_0x4c0594;this['_raycastVec2'][_0x5c50a1(0xe3)](_0x50b893,_0x4536ac),this[_0x5c50a1(0x180)][_0x5c50a1(0xf3)](this[_0x5c50a1(0x13c)],this[_0x5c50a1(0x148)]);const _0x1c2c2e=this['raycaster'][_0x5c50a1(0x137)][_0x5c50a1(0x179)],_0x3f2047=this[_0x5c50a1(0x180)][_0x5c50a1(0x137)]['at'](this[_0x5c50a1(0x148)][_0x5c50a1(0x139)]*0x2,new webgpu.Vector3()),_0x5894fc=this['world'][_0x5c50a1(0x126)][_0x5c50a1(0xcb)](_0x1c2c2e,_0x3f2047,exports.CollisionChannel[_0x5c50a1(0x181)]),_0x2eb2b5=[];for(const _0x155437 of _0x5894fc){if(!_0x155437['collider']||!_0x155437['collider'][_0x5c50a1(0x15b)])continue;if(this[_0x5c50a1(0x148)]instanceof webgpu.PerspectiveCamera&&_0x155437[_0x5c50a1(0xe8)]<this['camera'][_0x5c50a1(0x129)])continue;const _0x400046={'distance':_0x155437['distance'],'point':_0x155437['point'],'object':_0x155437['collider'][_0x5c50a1(0x15b)],'uv':new webgpu.Vector2(0x0,0x0)};_0x2eb2b5[_0x5c50a1(0x17a)]({'component':_0x155437['collider'],'hit':_0x400046});if(_0x155437[_0x5c50a1(0x102)])break;}return _0x2eb2b5;}['focusTo'](_0x36d8eb,_0x206af9,_0x50bace,_0x5bf0ce,_0x5dbc1b=null,_0x4a7f2d=null){const _0x12a0a6=_0x4c0594;this[_0x12a0a6(0xcf)][_0x12a0a6(0x15c)](_0x36d8eb,_0x206af9,_0x50bace,_0x5bf0ce,_0x5dbc1b,_0x4a7f2d);}[_0x4c0594(0x10c)](_0x4a2863,_0x3c85fb,_0x235388={}){const _0x415b1c=_0x4c0594,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math['sqrt'](0.5)}=_0x235388,_0x1278c4=new webgpu.Vector3(),_0x179728=new webgpu.Vector3();_0x4a2863['getCenter'](_0x1278c4),_0x4a2863['getSize'](_0x179728);const _0x1eb540=this['app'][_0x415b1c(0x148)];if(_0x1eb540&&_0x1eb540[_0x415b1c(0x127)]){const _0x40d057=_0x1eb540[_0x415b1c(0x164)]*(Math['PI']/0xb4),_0x24a392=_0x179728[_0x415b1c(0x16d)]()*0.5,_0x4f6c60=Math[_0x415b1c(0x130)](_0x24a392/targetScreenRatio/Math['tan'](_0x40d057/0x2),_0x1eb540[_0x415b1c(0x129)]*0x2);let _0x39166f=_0x1eb540[_0x415b1c(0x133)][_0x415b1c(0x140)]();if(computeOptimalQuat){const _0x49758f=[new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x6,0x0,0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x4,0x0,0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x2,0x0,0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x3,0x0,0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x3,Math['PI'],0x0,_0x415b1c(0x114)),new webgpu.Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,_0x415b1c(0x114))];let _0xfc9c2a=-1;for(const _0xcd53af of _0x49758f){const _0x15e26e=new webgpu.Quaternion()[_0x415b1c(0xea)](_0xcd53af),_0x1312b3=new webgpu.Vector3(0x0,0x0,0x1)[_0x415b1c(0x11d)](_0x15e26e),_0x596356=_0x1278c4['clone']()['add'](_0x1312b3[_0x415b1c(0xf4)](_0x4f6c60)),_0x40eea9=this[_0x415b1c(0xff)][_0x415b1c(0x126)][_0x415b1c(0x103)](_0x596356,_0x1278c4,exports.CollisionChannel[_0x415b1c(0x181)]);let _0x426354=![],_0x1aabd4=_0x4f6c60;_0x40eea9&&_0x40eea9['blocking']&&(_0x40eea9['distance']<_0x4f6c60-_0x24a392*1.2&&(_0x426354=!![],_0x1aabd4=_0x40eea9[_0x415b1c(0xe8)]));if(!_0x426354){_0x39166f=_0x15e26e;break;}else _0x1aabd4>_0xfc9c2a&&(_0xfc9c2a=_0x1aabd4,_0x39166f=_0x15e26e);}}const _0x23aa1b=_0x39166f;this[_0x415b1c(0x15c)](_0x1278c4,_0x23aa1b,_0x4f6c60,_0x3c85fb,onGoing,onFinished);}else {const _0x2b83c7=_0x179728[_0x415b1c(0x16d)]()*1.5,_0x673a90=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0x415b1c(0x15c)](_0x1278c4,_0x673a90,_0x2b83c7,_0x3c85fb,onGoing,onFinished);}}['focusToObject'](_0x3fce88,_0x7bb9e1,_0x2fb4ec={}){const _0x3ded0b=_0x4c0594,_0x36a4d2=new webgpu.Box3()[_0x3ded0b(0x10d)](_0x3fce88);this[_0x3ded0b(0x10c)](_0x36a4d2,_0x7bb9e1,_0x2fb4ec);}}
|
|
93
93
|
|
|
94
|
-
const
|
|
94
|
+
const _0x4ce696=_0x21ce;(function(_0x36e4c7,_0x426886){const _0xb8aa1e=_0x21ce,_0x6a5702=_0x36e4c7();while(!![]){try{const _0x5b49ed=parseInt(_0xb8aa1e(0x1e5))/0x1*(parseInt(_0xb8aa1e(0x1f5))/0x2)+-parseInt(_0xb8aa1e(0x1fc))/0x3*(parseInt(_0xb8aa1e(0x1fe))/0x4)+-parseInt(_0xb8aa1e(0x1fb))/0x5*(parseInt(_0xb8aa1e(0x1ef))/0x6)+-parseInt(_0xb8aa1e(0x1e7))/0x7*(-parseInt(_0xb8aa1e(0x1ff))/0x8)+-parseInt(_0xb8aa1e(0x200))/0x9+parseInt(_0xb8aa1e(0x1ee))/0xa+parseInt(_0xb8aa1e(0x1f7))/0xb*(-parseInt(_0xb8aa1e(0x1fd))/0xc);if(_0x5b49ed===_0x426886)break;else _0x6a5702['push'](_0x6a5702['shift']());}catch(_0x347482){_0x6a5702['push'](_0x6a5702['shift']());}}}(_0x1b15,0xbf5d7));function _0x21ce(_0x53968d,_0x532d87){_0x53968d=_0x53968d-0x1e5;const _0x1b1597=_0x1b15();let _0x21cefa=_0x1b1597[_0x53968d];return _0x21cefa;}function _0x1b15(){const _0x2afa03=['fov','far','right','Perspective','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','13578790YVKEZT','12OOAFKR','top','bottom','warn','near','createCamera','80DCvEob','Orthographic','88vUAddX','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','Invalid\x20camera\x20type','type','164165piyjpJ','25005mPAKtO','240732PQpSbB','232iurNMH','4453624DsxJqO','5374143JBIglW','aspect','4399xNtqcB','left','7gnvrWt','updataCamera'];_0x1b15=function(){return _0x2afa03;};return _0x1b15();}class CameraFactory{static[_0x4ce696(0x1f4)](_0x36cd32){const _0x5c524f=_0x4ce696;try{switch(_0x36cd32[_0x5c524f(0x1fa)]){case _0x5c524f(0x1ec):{let _0x173eae=_0x36cd32;return new webgpu.PerspectiveCamera(_0x173eae[_0x5c524f(0x1e9)],_0x173eae[_0x5c524f(0x201)],_0x173eae[_0x5c524f(0x1f3)],_0x173eae[_0x5c524f(0x1ea)]);}case 'Orthographic':{let _0x5cb2b7=_0x36cd32;return new webgpu.OrthographicCamera(_0x5cb2b7[_0x5c524f(0x1e6)],_0x5cb2b7['right'],_0x5cb2b7[_0x5c524f(0x1f0)],_0x5cb2b7[_0x5c524f(0x1f1)],_0x5cb2b7[_0x5c524f(0x1f3)],_0x5cb2b7[_0x5c524f(0x1ea)]);}default:{throw new Error(_0x5c524f(0x1f9));}}}catch(_0x1ab2f3){return console['warn'](_0x5c524f(0x1f8),_0x1ab2f3),console[_0x5c524f(0x1f2)]('[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead'),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0x4ce696(0x1e8)](_0x3c7c45,_0x105908){const _0x23c3d9=_0x4ce696;try{switch(_0x3c7c45['type']){case _0x23c3d9(0x1ec):{let _0x46610d=_0x3c7c45;if(_0x105908 instanceof webgpu.PerspectiveCamera)return _0x105908[_0x23c3d9(0x1f3)]=_0x46610d[_0x23c3d9(0x1f3)],_0x105908[_0x23c3d9(0x1ea)]=_0x46610d['far'],_0x105908[_0x23c3d9(0x1e9)]=_0x46610d[_0x23c3d9(0x1e9)],_0x105908['aspect']=_0x46610d[_0x23c3d9(0x201)],_0x105908;return new webgpu.PerspectiveCamera(_0x46610d['fov'],_0x46610d[_0x23c3d9(0x201)],_0x46610d[_0x23c3d9(0x1f3)],_0x46610d[_0x23c3d9(0x1ea)]);}case _0x23c3d9(0x1f6):{let _0x2bebbe=_0x3c7c45;if(_0x105908 instanceof webgpu.OrthographicCamera)return _0x105908[_0x23c3d9(0x1f3)]=_0x2bebbe['near'],_0x105908[_0x23c3d9(0x1ea)]=_0x2bebbe[_0x23c3d9(0x1ea)],_0x105908[_0x23c3d9(0x1e6)]=_0x2bebbe['left'],_0x105908[_0x23c3d9(0x1eb)]=_0x2bebbe['right'],_0x105908[_0x23c3d9(0x1f0)]=_0x2bebbe[_0x23c3d9(0x1f0)],_0x105908[_0x23c3d9(0x1f1)]=_0x2bebbe['bottom'],_0x105908;return new webgpu.OrthographicCamera(_0x2bebbe[_0x23c3d9(0x1e6)],_0x2bebbe[_0x23c3d9(0x1eb)],_0x2bebbe[_0x23c3d9(0x1f0)],_0x2bebbe[_0x23c3d9(0x1f1)],_0x2bebbe[_0x23c3d9(0x1f3)],_0x2bebbe[_0x23c3d9(0x1ea)]);}default:{throw new Error('Invalid\x20camera\x20type');}}}catch(_0x136ac8){return console['warn'](_0x23c3d9(0x1ed),_0x136ac8),console[_0x23c3d9(0x1f2)]('[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead'),_0x105908;}}}
|
|
95
95
|
|
|
96
|
-
function
|
|
96
|
+
const _0x353e3b=_0x3f11;function _0xe036(){const _0x1130fd=['68muCyhI','15082fpDwew','2893269OLGZlZ','stringify','4dBPryb','3107111DykWDx','63mbZaYQ','3228936PGHesz','1753660QXRpVG','parse','Orthographic','3081168MDHvNu','4312680HCHEiG'];_0xe036=function(){return _0x1130fd;};return _0xe036();}(function(_0x237064,_0x96082b){const _0x29995e=_0x3f11,_0x228810=_0x237064();while(!![]){try{const _0x44dcdc=-parseInt(_0x29995e(0x1ee))/0x1*(parseInt(_0x29995e(0x1ed))/0x2)+parseInt(_0x29995e(0x1e2))/0x3*(parseInt(_0x29995e(0x1e4))/0x4)+parseInt(_0x29995e(0x1ec))/0x5+parseInt(_0x29995e(0x1eb))/0x6+-parseInt(_0x29995e(0x1e5))/0x7+parseInt(_0x29995e(0x1e7))/0x8+parseInt(_0x29995e(0x1e6))/0x9*(-parseInt(_0x29995e(0x1e8))/0xa);if(_0x44dcdc===_0x96082b)break;else _0x228810['push'](_0x228810['shift']());}catch(_0x4b8b7f){_0x228810['push'](_0x228810['shift']());}}}(_0xe036,0x88b09));function _0x3f11(_0x31a2a6,_0x202f60){_0x31a2a6=_0x31a2a6-0x1e2;const _0xe036b5=_0xe036();let _0x3f11c6=_0xe036b5[_0x31a2a6];return _0x3f11c6;}const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':'Perspective','fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0x353e3b(0x1ea),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON[_0x353e3b(0x1e9)](JSON[_0x353e3b(0x1e3)](DefaultPerspectiveCameraParam));
|
|
97
97
|
|
|
98
|
-
(function(
|
|
98
|
+
(function(_0x39e3d9,_0x2abb4c){const _0x2631d9=_0x3674,_0x56df7f=_0x39e3d9();while(!![]){try{const _0x2ada16=parseInt(_0x2631d9(0xb8))/0x1+parseInt(_0x2631d9(0xbd))/0x2*(-parseInt(_0x2631d9(0xbc))/0x3)+-parseInt(_0x2631d9(0xbb))/0x4*(parseInt(_0x2631d9(0xb6))/0x5)+-parseInt(_0x2631d9(0xb9))/0x6+-parseInt(_0x2631d9(0xb7))/0x7+parseInt(_0x2631d9(0xba))/0x8+parseInt(_0x2631d9(0xbe))/0x9;if(_0x2ada16===_0x2abb4c)break;else _0x56df7f['push'](_0x56df7f['shift']());}catch(_0x1846aa){_0x56df7f['push'](_0x56df7f['shift']());}}}(_0x34a4,0x336f5));function _0x34a4(){const _0x4da0c9=['266835QOgUFw','1069544LqxEQn','36969SRWHhq','435012maPlDe','2146808MfDouO','20gNvPZp','336999XltKKc','6NyqmQr','6610365bgHrxg'];_0x34a4=function(){return _0x4da0c9;};return _0x34a4();}function _0x3674(_0x4ce367,_0x17e616){_0x4ce367=_0x4ce367-0xb6;const _0x34a406=_0x34a4();let _0x36747a=_0x34a406[_0x4ce367];return _0x36747a;}const DefaultAppParam={'dracoPath':'','cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
function _0x551f(_0x723b84,_0x2015c4){_0x723b84=_0x723b84-0xbd;const _0x1a8c78=_0x1a8c();let _0x551f1a=_0x1a8c78[_0x723b84];return _0x551f1a;}function _0x1a8c(){const _0x10e6b=['isArray','2935863RGIgeI','forEach','keys','1048964yNfXwv','isTexture','3670VIJFQP','geometry','traverse','disposeObject3DResource','345854rSMFjM','material','has','isMesh','disposeMeshResource','dispose','8eOqKeU','54890LdMCdp','isObject3D','isBufferGeometry','5AZpSyS','1334284BxDNJo','parent','3zPJwOX','disposeMaterialTextures','object','children','3538644nkBPti','disposeMeshMaterial','481640Npaktt'];_0x1a8c=function(){return _0x10e6b;};return _0x1a8c();}const _0x17c1c7=_0x551f;(function(_0xde7b56,_0x42e82c){const _0x16a9e8=_0x551f,_0x2caa6f=_0xde7b56();while(!![]){try{const _0x3f8609=-parseInt(_0x16a9e8(0xbe))/0x1+-parseInt(_0x16a9e8(0xc9))/0x2*(parseInt(_0x16a9e8(0xd6))/0x3)+-parseInt(_0x16a9e8(0xc3))/0x4*(-parseInt(_0x16a9e8(0xd3))/0x5)+-parseInt(_0x16a9e8(0xda))/0x6+-parseInt(_0x16a9e8(0xd4))/0x7+parseInt(_0x16a9e8(0xcf))/0x8*(-parseInt(_0x16a9e8(0xc0))/0x9)+parseInt(_0x16a9e8(0xc5))/0xa*(parseInt(_0x16a9e8(0xd0))/0xb);if(_0x3f8609===_0x42e82c)break;else _0x2caa6f['push'](_0x2caa6f['shift']());}catch(_0x22a2e4){_0x2caa6f['push'](_0x2caa6f['shift']());}}}(_0x1a8c,0x5127b));class ThreeObjectLibrary{static[_0x17c1c7(0xd7)](_0x1977d0){const _0x3541fc=_0x17c1c7,_0x598685=new Set(),_0x4c97b1=new Set([_0x3541fc(0xd5),_0x3541fc(0xd9),_0x3541fc(0xc6),'source']),_0x130f12=_0x461d61=>{const _0x518765=_0x3541fc;if(!_0x461d61||typeof _0x461d61!==_0x518765(0xd8)||_0x598685[_0x518765(0xcb)](_0x461d61))return;if(_0x461d61[_0x518765(0xd1)]||_0x461d61['isScene']||_0x461d61[_0x518765(0xcc)]||_0x461d61[_0x518765(0xd2)])return;_0x598685['add'](_0x461d61);if(_0x518765(0xc4)in _0x461d61){_0x461d61[_0x518765(0xce)]();return;}Object['keys'](_0x461d61)[_0x518765(0xc1)](_0x20623a=>{if(_0x4c97b1['has'](_0x20623a))return;_0x130f12(_0x461d61[_0x20623a]);});};Object[_0x3541fc(0xc2)](_0x1977d0)[_0x3541fc(0xc1)](_0x4f178c=>{_0x130f12(_0x1977d0[_0x4f178c]);});}static['disposeMeshMaterial'](_0x14dcf0){const _0xa8e5ea=_0x17c1c7;let _0x3ae717=Array[_0xa8e5ea(0xbf)](_0x14dcf0[_0xa8e5ea(0xca)])?_0x14dcf0[_0xa8e5ea(0xca)]:[_0x14dcf0[_0xa8e5ea(0xca)]];_0x3ae717['forEach'](_0x4afc4f=>{const _0x3eead8=_0xa8e5ea;ThreeObjectLibrary[_0x3eead8(0xd7)](_0x4afc4f),_0x4afc4f[_0x3eead8(0xce)]();});}static['disposeMeshResource'](_0x4dd847,_0x4adabb=![]){const _0x992804=_0x17c1c7;ThreeObjectLibrary[_0x992804(0xbd)](_0x4dd847),_0x4dd847[_0x992804(0xc6)][_0x992804(0xce)](),_0x4adabb&&_0x4dd847[_0x992804(0xd9)][_0x992804(0xc1)](_0x33c013=>{const _0x13f1e9=_0x992804;_0x33c013 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x13f1e9(0xcd)](_0x33c013,!![]);});}static[_0x17c1c7(0xc8)](_0x113fd6){const _0x36afd9=_0x17c1c7;_0x113fd6[_0x36afd9(0xc7)](_0x14dae8=>{const _0x368adc=_0x36afd9;_0x14dae8 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x368adc(0xcd)](_0x14dae8);});}}
|
|
101
101
|
|
|
102
|
-
var
|
|
102
|
+
var _0x4bf686=_0x6a90;(function(_0x59da88,_0x5bc509){var _0x2ddc4c=_0x6a90,_0x4de61f=_0x59da88();while(!![]){try{var _0x4d9957=parseInt(_0x2ddc4c(0x1a2))/0x1+parseInt(_0x2ddc4c(0x1a7))/0x2*(-parseInt(_0x2ddc4c(0x19b))/0x3)+parseInt(_0x2ddc4c(0x1a1))/0x4+-parseInt(_0x2ddc4c(0x19d))/0x5+-parseInt(_0x2ddc4c(0x19e))/0x6+parseInt(_0x2ddc4c(0x1a6))/0x7+-parseInt(_0x2ddc4c(0x19a))/0x8*(-parseInt(_0x2ddc4c(0x1a5))/0x9);if(_0x4d9957===_0x5bc509)break;else _0x4de61f['push'](_0x4de61f['shift']());}catch(_0x30573b){_0x4de61f['push'](_0x4de61f['shift']());}}}(_0x2b4b,0xd9503));function _0x6a90(_0x57ec74,_0x5750af){_0x57ec74=_0x57ec74-0x19a;var _0x2b4b9b=_0x2b4b();var _0x6a9097=_0x2b4b9b[_0x57ec74];return _0x6a9097;}class LevelComponent extends SceneComponent{get['threeObject'](){var _0x35b3a0=_0x6a90;if(!this['obj'])throw Error(_0x35b3a0(0x19f));return this['obj'];}set[_0x4bf686(0x19c)](_0x4aef8e){var _0x3c0d06=_0x4bf686;this[_0x3c0d06(0x1a3)]=_0x4aef8e,this[_0x3c0d06(0x1a3)]&&(this[_0x3c0d06(0x1a3)][_0x3c0d06(0x1a4)]['LYObject']=this);}constructor(_0xc3301,_0x902b46){super(_0xc3301,_0x902b46);}[_0x4bf686(0x1a0)](){return new three.Scene();}}function _0x2b4b(){var _0x4f6a69=['createDefaultObject','1185752OvqtTQ','936949mGlWnp','obj','userData','9hCGsoK','1947302WCoyBZ','2271496NjWbZR','13061672EiKJme','3MvDQAS','threeObject','918905lqeQZU','5607828KkfaLw','three\x20object\x20is\x20invalid'];_0x2b4b=function(){return _0x4f6a69;};return _0x2b4b();}
|
|
103
103
|
|
|
104
|
-
var
|
|
104
|
+
function _0x4428(){var _0x31dd38=['clearLevel','uuid','464285yOnleR','tick','2316552hkpOyu','constructRootComponent','isTickEnabled','2348YLZHpS','app','scene','2817BvPKVi','_scene','scene\x20is\x20null','747086GOkHpV','childActors','2013950kFnrYy','14986112WaiuCu','disposeMeshResource','traverse','threeObject','destroy','3269010OIgeko','rootComponent'];_0x4428=function(){return _0x31dd38;};return _0x4428();}var _0x213128=_0x3cfd;(function(_0x1551a9,_0x22fa73){var _0x32fc37=_0x3cfd,_0x371d7f=_0x1551a9();while(!![]){try{var _0x27d841=-parseInt(_0x32fc37(0x152))/0x1+-parseInt(_0x32fc37(0x146))/0x2+parseInt(_0x32fc37(0x143))/0x3*(parseInt(_0x32fc37(0x140))/0x4)+-parseInt(_0x32fc37(0x148))/0x5+-parseInt(_0x32fc37(0x14e))/0x6+-parseInt(_0x32fc37(0x154))/0x7+parseInt(_0x32fc37(0x149))/0x8;if(_0x27d841===_0x22fa73)break;else _0x371d7f['push'](_0x371d7f['shift']());}catch(_0x340ef0){_0x371d7f['push'](_0x371d7f['shift']());}}}(_0x4428,0x4b364));function _0x3cfd(_0x82508c,_0x4793dc){_0x82508c=_0x82508c-0x13e;var _0x442826=_0x4428();var _0x3cfdf0=_0x442826[_0x82508c];return _0x3cfdf0;}class LevelActor extends Actor{get[_0x213128(0x142)](){var _0x19b1b6=_0x213128;if(!this[_0x19b1b6(0x144)])throw new Error(_0x19b1b6(0x145));return this[_0x19b1b6(0x144)];}constructor(_0x10aaed,_0x9e877){var _0x58c4b4=_0x213128;super(_0x10aaed,_0x9e877),this[_0x58c4b4(0x144)]=null,this['_scene']=this[_0x58c4b4(0x14f)][_0x58c4b4(0x14c)],this[_0x58c4b4(0x13f)]=![];}[_0x213128(0x13e)](){var _0x26cac1=_0x213128;return new LevelComponent(this[_0x26cac1(0x141)],this[_0x26cac1(0x151)]);}[_0x213128(0x153)](_0x33478f){var _0x147821=_0x213128;if(!this['isTickEnabled'])return;super[_0x147821(0x153)](_0x33478f);}[_0x213128(0x14d)](){var _0x3b039c=_0x213128;this[_0x3b039c(0x150)](),super[_0x3b039c(0x14d)]();}[_0x213128(0x150)](){var _0x863daf=_0x213128;this[_0x863daf(0x147)]['forEach'](_0x1394a9=>{var _0x164442=_0x863daf;_0x1394a9[_0x164442(0x14d)]();}),this[_0x863daf(0x142)][_0x863daf(0x14b)](_0x3c6f46=>{var _0x41f336=_0x863daf;_0x3c6f46 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x41f336(0x14a)](_0x3c6f46);});}}
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
(function(_0x3a6e6c,_0x106eb9){const _0x39b086=_0x4e0f,_0x6b5d2d=_0x3a6e6c();while(!![]){try{const _0x1b79a7=-parseInt(_0x39b086(0x102))/0x1+parseInt(_0x39b086(0xf9))/0x2+parseInt(_0x39b086(0xfa))/0x3+-parseInt(_0x39b086(0xfb))/0x4*(parseInt(_0x39b086(0x100))/0x5)+-parseInt(_0x39b086(0xfe))/0x6+parseInt(_0x39b086(0xfd))/0x7*(parseInt(_0x39b086(0xff))/0x8)+parseInt(_0x39b086(0xfc))/0x9*(parseInt(_0x39b086(0x101))/0xa);if(_0x1b79a7===_0x106eb9)break;else _0x6b5d2d['push'](_0x6b5d2d['shift']());}catch(_0x463b40){_0x6b5d2d['push'](_0x6b5d2d['shift']());}}}(_0x2574,0x2eb70));const DefaultWorldParam={'levelActorClass':LevelActor};function _0x4e0f(_0x2b6dd1,_0x250885){_0x2b6dd1=_0x2b6dd1-0xf9;const _0x2574e7=_0x2574();let _0x4e0fde=_0x2574e7[_0x2b6dd1];return _0x4e0fde;}function _0x2574(){const _0x5bdc3d=['693xZKHNx','21HvhpoO','566076Texbaf','205432sivQOL','15daUkaE','13210OFIRyn','131933bRpzmz','225728VQniXJ','506607ywNGMQ','57152lqYNfr'];_0x2574=function(){return _0x5bdc3d;};return _0x2574();}
|
|
107
107
|
|
|
108
|
-
const
|
|
108
|
+
const _0x2cc50b=_0x1e89;(function(_0x5c9bf4,_0x2913e7){const _0x5b6ea4=_0x1e89,_0x495429=_0x5c9bf4();while(!![]){try{const _0x4ffcf5=-parseInt(_0x5b6ea4(0xfa))/0x1+parseInt(_0x5b6ea4(0x11a))/0x2*(-parseInt(_0x5b6ea4(0xfd))/0x3)+parseInt(_0x5b6ea4(0x11c))/0x4*(-parseInt(_0x5b6ea4(0x12f))/0x5)+-parseInt(_0x5b6ea4(0x10f))/0x6*(parseInt(_0x5b6ea4(0x12b))/0x7)+-parseInt(_0x5b6ea4(0xfb))/0x8*(-parseInt(_0x5b6ea4(0x120))/0x9)+parseInt(_0x5b6ea4(0x12a))/0xa+parseInt(_0x5b6ea4(0x137))/0xb;if(_0x4ffcf5===_0x2913e7)break;else _0x495429['push'](_0x495429['shift']());}catch(_0x31f22a){_0x495429['push'](_0x495429['shift']());}}}(_0x4aeb,0x27dae));function _0x4aeb(){const _0x35e5ed=['_assetManagerReady','dracoPath','cameraParam','destroy','updateCamera','AssetManager','render','clock','renderer','warn','assetManagerClass','camera','[ThreeJsApp]\x20controller.destroy\x20失败:','onCameraChangedDelegate','renderAsImage','worldClass','viewport','402zICmKd','splice','update','updateProjectionMatrix','_isTickPaused','markRenderStateDirty','init','_onCameraChangedDelegate','_disposeAssetManager','onWindowResize','postConstruct','8jamMrk','viewportClass','239580GfgPuE','assetManagerReady','_world','then','14814nogQhk','dispose','classes','resolve','_controller','setTickPaused','tick','forEach','world','removeTickingFunction','282710eeQClU','6811ftPlWz','_tickingFunctions','getDelta','addTickingFunction','25TEoKFO','clear','_viewport','log','indexOf','controller','aspect','_assetManager','8022696bOKINI','_destroyed','AssetManager\x20not\x20initialized\x20yet\x20-\x20await\x20assetManagerReady()\x20first','catch','setAnimationLoop','_clock','_camera','./AssetManagement/AssetManager','controllerClass','204303OzGmwY','608JulKcT','viewportParam','112866fAwltM'];_0x4aeb=function(){return _0x35e5ed;};return _0x4aeb();}function _0x1e89(_0x385f42,_0x5637bb){_0x385f42=_0x385f42-0xfa;const _0x4aeb02=_0x4aeb();let _0x1e89f7=_0x4aeb02[_0x385f42];return _0x1e89f7;}let _AssetManagerClassPromise=null;function getAssetManagerClassAsync(){const _0x5a8fd6=_0x1e89;return !_AssetManagerClassPromise&&(_AssetManagerClassPromise=import(_0x5a8fd6(0x13e))['then'](_0x3b4396=>_0x3b4396[_0x5a8fd6(0x103)])),_AssetManagerClassPromise;}class ThreeJsApp{get[_0x2cc50b(0x109)](){const _0x8eb681=_0x2cc50b;return this[_0x8eb681(0x13d)];}get[_0x2cc50b(0x105)](){const _0x5c2436=_0x2cc50b;return this[_0x5c2436(0x13c)];}get[_0x2cc50b(0x128)](){const _0x23c67f=_0x2cc50b;return this[_0x23c67f(0x11e)];}get[_0x2cc50b(0x10e)](){const _0x310fb7=_0x2cc50b;return this[_0x310fb7(0x131)];}get[_0x2cc50b(0x134)](){return this['_controller'];}get['assetManager'](){const _0x4d51d7=_0x2cc50b;if(!this[_0x4d51d7(0x136)])throw new Error(_0x4d51d7(0x139));return this[_0x4d51d7(0x136)];}get[_0x2cc50b(0x11d)](){const _0x4edb71=_0x2cc50b;return this[_0x4edb71(0xfe)];}get[_0x2cc50b(0x10b)](){return this['_onCameraChangedDelegate'];}constructor(_0x138cad=DefaultAppParam){const _0x326cf6=_0x2cc50b;var _0x138940,_0x5d7292,_0x18ba1e,_0x59804c;this[_0x326cf6(0x136)]=null,this[_0x326cf6(0x12c)]=[],this[_0x326cf6(0x113)]=![],this[_0x326cf6(0x138)]=![],this[_0x326cf6(0x116)]=new Delegate();const _0x54a81f=(_0x138940=_0x138cad[_0x326cf6(0x100)])!==null&&_0x138940!==void 0?_0x138940:DefaultCameraParam,_0x7a702e=(_0x5d7292=_0x138cad['worldParam'])!==null&&_0x5d7292!==void 0?_0x5d7292:DefaultWorldParam,_0x52dbad=(_0x18ba1e=_0x138cad[_0x326cf6(0xfc)])!==null&&_0x18ba1e!==void 0?_0x18ba1e:DefaultViewportParam,_0x1ecbf9=(_0x59804c=_0x138cad[_0x326cf6(0x122)])!==null&&_0x59804c!==void 0?_0x59804c:{'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport};this[_0x326cf6(0x13c)]=new webgpu.Timer(),this['_camera']=CameraFactory['createCamera'](_0x54a81f),this['_world']=new _0x1ecbf9[(_0x326cf6(0x10d))](this,_0x7a702e),this['_viewport']=new _0x1ecbf9[(_0x326cf6(0x11b))](this,_0x52dbad),this[_0x326cf6(0x124)]=new _0x1ecbf9[(_0x326cf6(0x13f))](this),_0x1ecbf9[_0x326cf6(0x108)]?(this['_assetManager']=new _0x1ecbf9[(_0x326cf6(0x108))](this,_0x138cad[_0x326cf6(0xff)]),this[_0x326cf6(0xfe)]=Promise[_0x326cf6(0x123)]()):(this[_0x326cf6(0xfe)]=getAssetManagerClassAsync()['then'](_0x28a093=>{const _0x136ed0=_0x326cf6;if(this[_0x136ed0(0x138)])return;this[_0x136ed0(0x136)]=new _0x28a093(this,_0x138cad[_0x136ed0(0xff)]);}),void this[_0x326cf6(0xfe)]['catch'](()=>{})),this[_0x326cf6(0x10e)][_0x326cf6(0x106)][_0x326cf6(0x13b)](()=>{const _0x54bd94=_0x326cf6;this[_0x54bd94(0x13c)][_0x54bd94(0x111)]();const _0x321d4b=this[_0x54bd94(0x13c)][_0x54bd94(0x12d)]();this['tick'](_0x321d4b);}),this[_0x326cf6(0x119)]();}[_0x2cc50b(0x119)](){const _0x2e20a4=_0x2cc50b;this['controller']['init'](),this[_0x2e20a4(0x128)]['init'](),this['viewport'][_0x2e20a4(0x115)]();}[_0x2cc50b(0x115)](){}['tick'](_0x5b26e2){const _0x4ce5a5=_0x2cc50b;if(this[_0x4ce5a5(0x113)])return;this['_controller'][_0x4ce5a5(0x126)](_0x5b26e2),this['world'][_0x4ce5a5(0x126)](_0x5b26e2),this['_tickingFunctions'][_0x4ce5a5(0x127)](_0x2964f9=>{_0x2964f9(_0x5b26e2);}),this[_0x4ce5a5(0x10e)]['markRenderStateDirty'](),this[_0x4ce5a5(0x10e)][_0x4ce5a5(0x104)]();}[_0x2cc50b(0x125)](_0x3cba41){const _0x5756ba=_0x2cc50b;console[_0x5756ba(0x132)]('setTickPaused',_0x3cba41),this[_0x5756ba(0x113)]=_0x3cba41;}[_0x2cc50b(0x12e)](_0x2712a0){const _0x5968cd=_0x2cc50b;this[_0x5968cd(0x12c)]['push'](_0x2712a0);}[_0x2cc50b(0x129)](_0x100a09){const _0x25b216=_0x2cc50b,_0x323560=this[_0x25b216(0x12c)][_0x25b216(0x133)](_0x100a09);_0x323560>=0x0&&this[_0x25b216(0x12c)][_0x25b216(0x110)](_0x323560,0x1);}[_0x2cc50b(0x101)](){const _0x4ea4ab=_0x2cc50b;if(this['_destroyed'])return;this[_0x4ea4ab(0x138)]=!![],this[_0x4ea4ab(0x10b)][_0x4ea4ab(0x130)]();try{this['controller'][_0x4ea4ab(0x101)]();}catch(_0x22dcff){console[_0x4ea4ab(0x107)](_0x4ea4ab(0x10a),_0x22dcff);}try{this[_0x4ea4ab(0x128)][_0x4ea4ab(0x101)]();}catch(_0xc854ec){console[_0x4ea4ab(0x107)]('[ThreeJsApp]\x20world.destroy\x20失败:',_0xc854ec);}try{this['_disposeAssetManager']();}catch(_0x46baf0){console[_0x4ea4ab(0x107)]('[ThreeJsApp]\x20assetManager.dispose\x20失败:',_0x46baf0);}this[_0x4ea4ab(0x10e)][_0x4ea4ab(0x101)]();}[_0x2cc50b(0x117)](){const _0x4188ae=_0x2cc50b;if(this[_0x4188ae(0x136)]){this[_0x4188ae(0x136)]['dispose']();return;}void this[_0x4188ae(0xfe)][_0x4188ae(0x11f)](()=>{const _0x20c68e=_0x4188ae;var _0x2cfb3a;return (_0x2cfb3a=this['_assetManager'])===null||_0x2cfb3a===void 0?void 0:_0x2cfb3a[_0x20c68e(0x121)]();})[_0x4188ae(0x13a)](()=>{});}[_0x2cc50b(0x102)](_0x4b1c20){const _0x36ab9f=_0x2cc50b,_0x4dbaca=this[_0x36ab9f(0x109)];this[_0x36ab9f(0x13d)]=CameraFactory['updataCamera'](_0x4b1c20,this[_0x36ab9f(0x109)]),_0x4dbaca!==this[_0x36ab9f(0x109)]&&(this[_0x36ab9f(0x116)]['broadcast'](),this[_0x36ab9f(0x134)]['updateCamera']()),this[_0x36ab9f(0x13d)]['updateProjectionMatrix'](),this[_0x36ab9f(0x10e)][_0x36ab9f(0x114)]();}[_0x2cc50b(0x118)](_0x5764f6,_0x524318){const _0x483f2a=_0x2cc50b;this[_0x483f2a(0x109)]instanceof webgpu.PerspectiveCamera&&(this[_0x483f2a(0x109)][_0x483f2a(0x135)]=_0x5764f6/_0x524318),this['camera'][_0x483f2a(0x112)]();}async[_0x2cc50b(0x10c)](_0x435b90=0x400,_0x41420e=0x400){const _0x57f1d8=_0x2cc50b;return await this[_0x57f1d8(0x10e)][_0x57f1d8(0x10c)](_0x435b90,_0x41420e);}}
|
|
109
109
|
|
|
110
|
-
function
|
|
110
|
+
var _0x1b639c=_0x444f;function _0x20e3(){var _0x2dfda4=['LYObject','54336CiCCdC','obj','three\x20object\x20is\x20invalid','403850gIArBY','color','threeObject','2763423VWlZzk','3YOoSyH','intensity','40xCQgjX','set','102634wSQKxP','6nxqhDJ','userData','77074xCTPCz','415042LeMFeX','559585ORMuwv'];_0x20e3=function(){return _0x2dfda4;};return _0x20e3();}function _0x444f(_0x4715a4,_0x207276){_0x4715a4=_0x4715a4-0xbd;var _0x20e3bc=_0x20e3();var _0x444f76=_0x20e3bc[_0x4715a4];return _0x444f76;}(function(_0x4713bd,_0x216966){var _0x4e99ce=_0x444f,_0x5c481a=_0x4713bd();while(!![]){try{var _0x19b708=parseInt(_0x4e99ce(0xc1))/0x1+parseInt(_0x4e99ce(0xc2))/0x2*(-parseInt(_0x4e99ce(0xcc))/0x3)+-parseInt(_0x4e99ce(0xc5))/0x4+-parseInt(_0x4e99ce(0xc3))/0x5*(-parseInt(_0x4e99ce(0xbf))/0x6)+-parseInt(_0x4e99ce(0xbe))/0x7*(parseInt(_0x4e99ce(0xce))/0x8)+parseInt(_0x4e99ce(0xcb))/0x9+-parseInt(_0x4e99ce(0xc8))/0xa;if(_0x19b708===_0x216966)break;else _0x5c481a['push'](_0x5c481a['shift']());}catch(_0x3852c6){_0x5c481a['push'](_0x5c481a['shift']());}}}(_0x20e3,0x275d6));class LightComponent extends SceneComponent{get[_0x1b639c(0xca)](){var _0x52756e=_0x1b639c;if(!this[_0x52756e(0xc6)])throw Error(_0x52756e(0xc7));return this[_0x52756e(0xc6)];}set[_0x1b639c(0xca)](_0x4667c9){var _0x5dc0c6=_0x1b639c;this['obj']=_0x4667c9,this['obj']&&(this[_0x5dc0c6(0xc6)][_0x5dc0c6(0xc0)][_0x5dc0c6(0xc4)]=this);}get[_0x1b639c(0xc9)](){var _0x43a053=_0x1b639c;return this[_0x43a053(0xca)][_0x43a053(0xc9)]['getHex']();}set[_0x1b639c(0xc9)](_0x1ae6d5){var _0x20ae27=_0x1b639c;this[_0x20ae27(0xca)][_0x20ae27(0xc9)][_0x20ae27(0xbd)](_0x1ae6d5);}get[_0x1b639c(0xcd)](){var _0x42d6e8=_0x1b639c;return this[_0x42d6e8(0xca)][_0x42d6e8(0xcd)];}set[_0x1b639c(0xcd)](_0x3b74d6){var _0xbe43ea=_0x1b639c;this[_0xbe43ea(0xca)][_0xbe43ea(0xcd)]=_0x3b74d6;}constructor(_0x1446b5,_0x37666a){super(_0x1446b5,_0x37666a);}}
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _0x3c866b=_0x3050;(function(_0x1125b7,_0x32e097){var _0x262720=_0x3050,_0xe19e3d=_0x1125b7();while(!![]){try{var _0x5d31ba=parseInt(_0x262720(0x123))/0x1*(-parseInt(_0x262720(0x120))/0x2)+parseInt(_0x262720(0x129))/0x3+-parseInt(_0x262720(0x11f))/0x4+-parseInt(_0x262720(0x126))/0x5*(parseInt(_0x262720(0x127))/0x6)+-parseInt(_0x262720(0x124))/0x7+parseInt(_0x262720(0x11e))/0x8+-parseInt(_0x262720(0x117))/0x9*(-parseInt(_0x262720(0x11a))/0xa);if(_0x5d31ba===_0x32e097)break;else _0xe19e3d['push'](_0xe19e3d['shift']());}catch(_0x1e8d86){_0xe19e3d['push'](_0xe19e3d['shift']());}}}(_0x62ef,0x20731));function _0x3050(_0x2cfd37,_0x5dacc3){_0x2cfd37=_0x2cfd37-0x113;var _0x62ef59=_0x62ef();var _0x30504c=_0x62ef59[_0x2cfd37];return _0x30504c;}class DirectionalLightComponent extends LightComponent{get['threeObject'](){var _0x31e12f=_0x3050;if(!this[_0x31e12f(0x122)])throw Error(_0x31e12f(0x11d));return this[_0x31e12f(0x122)];}set[_0x3c866b(0x121)](_0x24048e){var _0x1fb43a=_0x3c866b;this[_0x1fb43a(0x122)]=_0x24048e,this['obj']&&(this[_0x1fb43a(0x122)]['userData']['LYObject']=this);}get[_0x3c866b(0x115)](){var _0x33d2e1=_0x3c866b;return this['threeObject'][_0x33d2e1(0x115)];}set[_0x3c866b(0x115)](_0x49a208){var _0x512169=_0x3c866b;this[_0x512169(0x121)]['castShadow']=_0x49a208;}constructor(_0x3615a5,_0x3169ad=0xffffff,_0xf45c51=0xa,_0x28f764){var _0x55e605=_0x3c866b;super(_0x3615a5,_0x28f764),this[_0x55e605(0x121)][_0x55e605(0x118)][_0x55e605(0x116)](_0x3169ad),this[_0x55e605(0x121)][_0x55e605(0x11b)]=_0xf45c51;}[_0x3c866b(0x114)](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0x3c866b(0x128)](..._0x3fe336){var _0x155a61=_0x3c866b;_0x3fe336[_0x155a61(0x12a)]===0x1?super['setPosition'](_0x3fe336[0x0]):super[_0x155a61(0x128)](_0x3fe336[0x0],_0x3fe336[0x1],_0x3fe336[0x2]),this[_0x155a61(0x113)]();}[_0x3c866b(0x113)](){var _0xe396c5=_0x3c866b;if(this['world'])this[_0xe396c5(0x125)]['viewport']['markRenderStateDirty']();}[_0x3c866b(0x11c)](_0x1aedc2){var _0x1d74eb=_0x3c866b;if(!this['threeObject'])throw Error('three\x20object\x20is\x20invalid');super[_0x1d74eb(0x11c)](_0x1aedc2);}[_0x3c866b(0x119)](){var _0x45c251=_0x3c866b;super[_0x45c251(0x119)]();}}function _0x62ef(){var _0x5624a3=['onAddedToWorld','three\x20object\x20is\x20invalid','1643072iWWHhR','968508sovijR','14XkwlPU','threeObject','obj','569emJvfx','67151yvgTMC','world','70TSVhXt','86658YkmgSa','setPosition','554064KvMmfC','length','update','createDefaultObject','castShadow','set','903357QDCTVF','color','destroy','20ltpcqN','intensity'];_0x62ef=function(){return _0x5624a3;};return _0x62ef();}
|
|
113
113
|
|
|
114
|
-
var
|
|
114
|
+
function _0x3c9e(_0x3cc6dc,_0x3bdd3e){_0x3cc6dc=_0x3cc6dc-0x16e;var _0x7798d6=_0x7798();var _0x3c9e8a=_0x7798d6[_0x3cc6dc];return _0x3c9e8a;}function _0x7798(){var _0x3c29d5=['2130535ClyVdI','castShadow','134119pUVrAj','rootComponent','1912900gOLIsj','6xdHWps','constructRootComponent','2JFoloP','lightComponent','4123800NrISmP','11896880pZCKDW','7bjEaka','983256DQtcVE','498174rpxSEL','color'];_0x7798=function(){return _0x3c29d5;};return _0x7798();}var _0x318808=_0x3c9e;(function(_0xd71afa,_0x4b7c27){var _0x2e000a=_0x3c9e,_0x236bfc=_0xd71afa();while(!![]){try{var _0x31a5bf=parseInt(_0x2e000a(0x175))/0x1*(-parseInt(_0x2e000a(0x17a))/0x2)+parseInt(_0x2e000a(0x171))/0x3+parseInt(_0x2e000a(0x177))/0x4+-parseInt(_0x2e000a(0x173))/0x5*(-parseInt(_0x2e000a(0x178))/0x6)+parseInt(_0x2e000a(0x16f))/0x7*(parseInt(_0x2e000a(0x170))/0x8)+parseInt(_0x2e000a(0x17c))/0x9+-parseInt(_0x2e000a(0x16e))/0xa;if(_0x31a5bf===_0x4b7c27)break;else _0x236bfc['push'](_0x236bfc['shift']());}catch(_0x490287){_0x236bfc['push'](_0x236bfc['shift']());}}}(_0x7798,0x5000a));class DirectionalLightActor extends Actor{constructor(_0x439686,_0x24606a=0xffffff,_0x2c7a3c=0x1,_0x1e2b03){var _0x2f2c2d=_0x3c9e;super(_0x439686,_0x1e2b03),this[_0x2f2c2d(0x17b)]=null,this[_0x2f2c2d(0x17b)]=this[_0x2f2c2d(0x176)],this[_0x2f2c2d(0x17b)]&&(this[_0x2f2c2d(0x17b)][_0x2f2c2d(0x172)]=_0x24606a,this['lightComponent']['intensity']=_0x2c7a3c,this[_0x2f2c2d(0x17b)][_0x2f2c2d(0x174)]=!![]),this[_0x2f2c2d(0x17b)][_0x2f2c2d(0x174)]=!![];}[_0x318808(0x179)](){return new DirectionalLightComponent(this['app']);}}
|
|
115
115
|
|
|
116
|
-
function
|
|
116
|
+
function _0x421f(_0x360df3,_0x47c62b){_0x360df3=_0x360df3-0x6c;var _0x3daf9e=_0x3daf();var _0x421f3d=_0x3daf9e[_0x360df3];return _0x421f3d;}var _0x57ec0f=_0x421f;(function(_0x2b553d,_0x19e643){var _0x4246e1=_0x421f,_0x553f20=_0x2b553d();while(!![]){try{var _0x679cbb=parseInt(_0x4246e1(0x7d))/0x1+-parseInt(_0x4246e1(0x6f))/0x2+parseInt(_0x4246e1(0x74))/0x3*(parseInt(_0x4246e1(0x75))/0x4)+-parseInt(_0x4246e1(0x81))/0x5+-parseInt(_0x4246e1(0x85))/0x6*(-parseInt(_0x4246e1(0x78))/0x7)+parseInt(_0x4246e1(0x6c))/0x8*(-parseInt(_0x4246e1(0x7b))/0x9)+parseInt(_0x4246e1(0x86))/0xa*(parseInt(_0x4246e1(0x6d))/0xb);if(_0x679cbb===_0x19e643)break;else _0x553f20['push'](_0x553f20['shift']());}catch(_0x34c7d4){_0x553f20['push'](_0x553f20['shift']());}}}(_0x3daf,0xd0cfd));function _0x3daf(){var _0x56d8a9=['createDefaultObject','setPosition','intensity','7264605xKAxIA','onAddedToWorld','length','userData','6MLvyem','17400330cKROWv','1755392ouyPIL','11JtoIXb','obj','384584ieZnlv','castShadow','three\x20object\x20is\x20invalid','LYObject','color','3738PQajTr','2920dagAyd','update','world','2824325BVtwJY','set','threeObject','27cUueFZ','destroy','105690RUIABY'];_0x3daf=function(){return _0x56d8a9;};return _0x3daf();}class AmbientLightComponent extends LightComponent{get[_0x57ec0f(0x7a)](){var _0x274384=_0x57ec0f;if(!this['obj'])throw Error(_0x274384(0x71));return this[_0x274384(0x6e)];}set['threeObject'](_0x56228a){var _0x1f962f=_0x57ec0f;this[_0x1f962f(0x6e)]=_0x56228a,this[_0x1f962f(0x6e)]&&(this[_0x1f962f(0x6e)][_0x1f962f(0x84)][_0x1f962f(0x72)]=this);}get[_0x57ec0f(0x70)](){return this['threeObject']['castShadow'];}set[_0x57ec0f(0x70)](_0x217908){var _0x207b4d=_0x57ec0f;this[_0x207b4d(0x7a)][_0x207b4d(0x70)]=_0x217908;}constructor(_0x1744d3,_0x56c24f=0xffffff,_0x16e928=0xa,_0x22c6a0){var _0x1e0bfa=_0x57ec0f;super(_0x1744d3,_0x22c6a0),this['threeObject'][_0x1e0bfa(0x73)][_0x1e0bfa(0x79)](_0x56c24f),this[_0x1e0bfa(0x7a)][_0x1e0bfa(0x80)]=_0x16e928;}[_0x57ec0f(0x7e)](){return new webgpu.AmbientLight(0xffffff,0xa);}[_0x57ec0f(0x7f)](..._0x5c2797){var _0x418fab=_0x57ec0f;_0x5c2797[_0x418fab(0x83)]===0x1?super[_0x418fab(0x7f)](_0x5c2797[0x0]):super['setPosition'](_0x5c2797[0x0],_0x5c2797[0x1],_0x5c2797[0x2]),this[_0x418fab(0x76)]();}[_0x57ec0f(0x76)](){var _0x223661=_0x57ec0f;if(this['world'])this[_0x223661(0x77)]['viewport']['markRenderStateDirty']();}[_0x57ec0f(0x82)](_0x233cf8){var _0x4518b8=_0x57ec0f;if(!this[_0x4518b8(0x7a)])throw Error('three\x20object\x20is\x20invalid');super['onAddedToWorld'](_0x233cf8);}[_0x57ec0f(0x7c)](){var _0x3750e3=_0x57ec0f;super[_0x3750e3(0x7c)]();}}
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
(function(_0x5b8afa,_0x4bfb89){var _0x5209e7=_0x5d43,_0x38fb5c=_0x5b8afa();while(!![]){try{var _0x2ee0e1=parseInt(_0x5209e7(0x17d))/0x1+parseInt(_0x5209e7(0x17e))/0x2*(parseInt(_0x5209e7(0x182))/0x3)+-parseInt(_0x5209e7(0x183))/0x4+parseInt(_0x5209e7(0x17a))/0x5+parseInt(_0x5209e7(0x17b))/0x6*(-parseInt(_0x5209e7(0x17c))/0x7)+parseInt(_0x5209e7(0x185))/0x8+parseInt(_0x5209e7(0x184))/0x9*(-parseInt(_0x5209e7(0x189))/0xa);if(_0x2ee0e1===_0x4bfb89)break;else _0x38fb5c['push'](_0x38fb5c['shift']());}catch(_0x38d94d){_0x38fb5c['push'](_0x38fb5c['shift']());}}}(_0x2cca,0x58d74));function _0x5d43(_0x46bc81,_0x36a6be){_0x46bc81=_0x46bc81-0x17a;var _0x2cca7a=_0x2cca();var _0x5d43a2=_0x2cca7a[_0x46bc81];return _0x5d43a2;}function _0x2cca(){var _0x4ff030=['1263912qkvQEa','81qAVDtA','515456bzKNAj','rootComponent','app','castShadow','184380AgprjP','2115460LCkWzQ','6XEyYAk','3366055aoWSZB','522002qcqcEP','262ukCbDT','intensity','lightComponent','color','7263AGlzFg'];_0x2cca=function(){return _0x4ff030;};return _0x2cca();}class AmbientLightActor extends Actor{constructor(_0xf004dd,_0x21a419=0xffffff,_0x2163d7=0x1,_0x5259df){var _0x524fef=_0x5d43;super(_0xf004dd,_0x5259df),this[_0x524fef(0x180)]=null,this[_0x524fef(0x180)]=this[_0x524fef(0x186)],this[_0x524fef(0x180)]&&(this[_0x524fef(0x180)][_0x524fef(0x181)]=_0x21a419,this['lightComponent'][_0x524fef(0x17f)]=_0x2163d7,this[_0x524fef(0x180)][_0x524fef(0x188)]=!![]),this[_0x524fef(0x180)][_0x524fef(0x188)]=!![];}['constructRootComponent'](){var _0x187f97=_0x5d43;return new AmbientLightComponent(this[_0x187f97(0x187)]);}}
|
|
119
119
|
|
|
120
|
-
(function(
|
|
120
|
+
function _0x36d4(){var _0xf5bcee=['214350jtdExy','97888IHNjNk','12661999CEEwJt','3860876nlchDi','2139770VYhJkw','4091766zrxrEp','1130136SZzdVv'];_0x36d4=function(){return _0xf5bcee;};return _0x36d4();}(function(_0x3a9af7,_0x324b15){var _0x477fd3=_0x38bf,_0x12d1c8=_0x3a9af7();while(!![]){try{var _0x2aff42=-parseInt(_0x477fd3(0x80))/0x1+parseInt(_0x477fd3(0x86))/0x2+parseInt(_0x477fd3(0x85))/0x3+parseInt(_0x477fd3(0x82))/0x4+parseInt(_0x477fd3(0x83))/0x5+parseInt(_0x477fd3(0x84))/0x6+-parseInt(_0x477fd3(0x81))/0x7;if(_0x2aff42===_0x324b15)break;else _0x12d1c8['push'](_0x12d1c8['shift']());}catch(_0x324800){_0x12d1c8['push'](_0x12d1c8['shift']());}}}(_0x36d4,0x9f3f4));function _0x38bf(_0x5ec084,_0x418c1a){_0x5ec084=_0x5ec084-0x80;var _0x36d4d9=_0x36d4();var _0x38bfe2=_0x36d4d9[_0x5ec084];return _0x38bfe2;}class BoxComponent extends MeshComponent{constructor(_0x2717d8,_0x90661d=0x1,_0x3e1ed9=0x1,_0x3a9ba0=0x1,_0x130bce=0x1,_0x34de12=0x1,_0x76215f=0x1,_0x578fa4=new webgpu.MeshStandardMaterial(),_0x2b3388){super(_0x2717d8,new webgpu.BoxGeometry(_0x90661d,_0x3e1ed9,_0x3a9ba0,_0x130bce,_0x34de12,_0x76215f),_0x578fa4,_0x2b3388);}}
|
|
121
121
|
|
|
122
|
-
(function(
|
|
122
|
+
function _0xe747(_0x223abe,_0x35dbe8){_0x223abe=_0x223abe-0xaf;var _0x3e5594=_0x3e55();var _0xe74777=_0x3e5594[_0x223abe];return _0xe74777;}(function(_0x2de8e4,_0x29a2b1){var _0x573270=_0xe747,_0xc2c791=_0x2de8e4();while(!![]){try{var _0x199a15=-parseInt(_0x573270(0xaf))/0x1*(parseInt(_0x573270(0xb0))/0x2)+-parseInt(_0x573270(0xb6))/0x3+-parseInt(_0x573270(0xb8))/0x4*(-parseInt(_0x573270(0xb9))/0x5)+parseInt(_0x573270(0xb1))/0x6*(parseInt(_0x573270(0xb2))/0x7)+parseInt(_0x573270(0xba))/0x8*(parseInt(_0x573270(0xb4))/0x9)+-parseInt(_0x573270(0xb3))/0xa+parseInt(_0x573270(0xb7))/0xb;if(_0x199a15===_0x29a2b1)break;else _0xc2c791['push'](_0xc2c791['shift']());}catch(_0x2a5019){_0xc2c791['push'](_0xc2c791['shift']());}}}(_0x3e55,0xa8e39));function _0x3e55(){var _0x16a7ed=['9425450rzgFym','9wpGyRR','uuid','715533Gicqgs','1266386JifrCX','4oecjca','1376570HJBWBP','6348728AYomBI','408811qOkmCO','2gTHnhA','177990IIkGNr','259ElXGMq'];_0x3e55=function(){return _0x16a7ed;};return _0x3e55();}class BoxActor extends Actor{constructor(_0x2bf953,_0x508573){super(_0x2bf953,_0x508573);}['constructRootComponent'](){var _0x5b2493=_0xe747;return new BoxComponent(this['app'],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this[_0x5b2493(0xb5)]);}}
|
|
123
123
|
|
|
124
|
-
const
|
|
124
|
+
const _0x1a8c14=_0x5d3a;(function(_0x508326,_0x40d42d){const _0x176bbf=_0x5d3a,_0xf3cd9c=_0x508326();while(!![]){try{const _0x3374df=parseInt(_0x176bbf(0x139))/0x1*(-parseInt(_0x176bbf(0x138))/0x2)+parseInt(_0x176bbf(0x141))/0x3+parseInt(_0x176bbf(0x12b))/0x4*(parseInt(_0x176bbf(0x13b))/0x5)+parseInt(_0x176bbf(0x144))/0x6+-parseInt(_0x176bbf(0x12a))/0x7*(-parseInt(_0x176bbf(0x12c))/0x8)+parseInt(_0x176bbf(0x142))/0x9+parseInt(_0x176bbf(0x136))/0xa*(-parseInt(_0x176bbf(0x130))/0xb);if(_0x3374df===_0x40d42d)break;else _0xf3cd9c['push'](_0xf3cd9c['shift']());}catch(_0x5bc617){_0xf3cd9c['push'](_0xf3cd9c['shift']());}}}(_0x426f,0xb1532));function _0x5d3a(_0x2528b2,_0x18a050){_0x2528b2=_0x2528b2-0x128;const _0x426fb0=_0x426f();let _0x5d3a1f=_0x426fb0[_0x2528b2];return _0x5d3a1f;}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get['threeObject'](){const _0x72418b=_0x5d3a;if(!this[_0x72418b(0x12d)])throw Error(_0x72418b(0x146));return this[_0x72418b(0x12d)];}set[_0x1a8c14(0x129)](_0x43b8b8){const _0x29b93d=_0x1a8c14;this[_0x29b93d(0x12d)]=_0x43b8b8,this[_0x29b93d(0x12d)]&&(this[_0x29b93d(0x12d)][_0x29b93d(0x145)][_0x29b93d(0x131)]=this);}constructor(_0x5d08ef,_0x5c757b,_0x2c983a){const _0x5bd653=_0x1a8c14;super(_0x5d08ef,_0x2c983a),this[_0x5bd653(0x13f)]=DefaultSkyParam,this[_0x5bd653(0x13e)]=new webgpu.Vector3(),_0x5c757b&&(this['skyParam']=_0x5c757b),this[_0x5bd653(0x134)]();}[_0x1a8c14(0x13c)](){return new SkyMesh_js.SkyMesh();}[_0x1a8c14(0x134)](){const _0x1bb1f8=_0x1a8c14;var _0x3893aa,_0x3812d2;this['threeObject']['turbidity'][_0x1bb1f8(0x133)]=this['skyParam'][_0x1bb1f8(0x12f)],this[_0x1bb1f8(0x129)]['rayleigh']['value']=this[_0x1bb1f8(0x13f)][_0x1bb1f8(0x132)],this['threeObject'][_0x1bb1f8(0x13d)]['value']=this[_0x1bb1f8(0x13f)]['mieCoefficient'],this[_0x1bb1f8(0x129)][_0x1bb1f8(0x140)]['value']=this[_0x1bb1f8(0x13f)][_0x1bb1f8(0x140)];const _0x42eae8=webgpu.MathUtils[_0x1bb1f8(0x135)](0x5a-this[_0x1bb1f8(0x13f)][_0x1bb1f8(0x143)]),_0x46e81d=webgpu.MathUtils[_0x1bb1f8(0x135)](this[_0x1bb1f8(0x13f)]['azimuth']);this[_0x1bb1f8(0x13e)][_0x1bb1f8(0x128)](0x1,_0x42eae8,_0x46e81d),this[_0x1bb1f8(0x129)][_0x1bb1f8(0x13e)][_0x1bb1f8(0x133)][_0x1bb1f8(0x147)](this[_0x1bb1f8(0x13e)]),(_0x3812d2=(_0x3893aa=this['world'])===null||_0x3893aa===void 0?void 0:_0x3893aa[_0x1bb1f8(0x137)])===null||_0x3812d2===void 0?void 0:_0x3812d2[_0x1bb1f8(0x13a)]();}[_0x1a8c14(0x12e)](){const _0x51af53=_0x1a8c14;this['obj']&&ThreeObjectLibrary['disposeMeshResource'](this[_0x51af53(0x129)]);}}function _0x426f(){const _0x26e176=['4353447vNIYBC','2787705BgBWja','elevation','6930462hyTOgf','userData','three\x20object\x20is\x20invalid','copy','setFromSphericalCoords','threeObject','854XvFozt','227928SWWjbR','19928Vjyqvc','obj','destroyObject','turbidity','209ojNvim','LYObject','rayleigh','value','updateSky','degToRad','1728070dXLckQ','viewport','8HVvpvM','130201dBcbYn','markRenderStateDirty','115RcmDTM','createDefaultObject','mieCoefficient','sunPosition','skyParam','mieDirectionalG'];_0x426f=function(){return _0x26e176;};return _0x426f();}
|
|
125
125
|
|
|
126
|
-
var
|
|
126
|
+
var _0x142360=_0x23e6;(function(_0x2efe1c,_0x1f131e){var _0x489542=_0x23e6,_0x50f2ba=_0x2efe1c();while(!![]){try{var _0x59b8dd=-parseInt(_0x489542(0x19c))/0x1*(parseInt(_0x489542(0x195))/0x2)+parseInt(_0x489542(0x194))/0x3+-parseInt(_0x489542(0x19a))/0x4*(-parseInt(_0x489542(0x193))/0x5)+-parseInt(_0x489542(0x191))/0x6+parseInt(_0x489542(0x190))/0x7+parseInt(_0x489542(0x18c))/0x8*(-parseInt(_0x489542(0x18d))/0x9)+parseInt(_0x489542(0x18e))/0xa;if(_0x59b8dd===_0x1f131e)break;else _0x50f2ba['push'](_0x50f2ba['shift']());}catch(_0x50a45a){_0x50f2ba['push'](_0x50f2ba['shift']());}}}(_0x45a5,0xccb9b));function _0x45a5(){var _0x76188b=['1510688vFXnTB','app','4486784HxGnSS','9ZdbxVk','21382620uPnomE','name','3503066WRtzDr','4169196ErYJlZ','SkyActor','140iHhOYw','220515lEIEoB','2MToCLX','rootComponent','skyComponent','setScale','_name','127536VgFTmL','constructRootComponent'];_0x45a5=function(){return _0x76188b;};return _0x45a5();}function _0x23e6(_0x2c903e,_0xa2d923){_0x2c903e=_0x2c903e-0x18b;var _0x45a563=_0x45a5();var _0x23e689=_0x45a563[_0x2c903e];return _0x23e689;}class SkyActor extends Actor{constructor(_0x26fa6f,_0x51fbaa){var _0x198f23=_0x23e6;super(_0x26fa6f,_0x51fbaa),this[_0x198f23(0x199)]=_0x198f23(0x192),this[_0x198f23(0x197)]=null,this[_0x198f23(0x18f)]=_0x198f23(0x192),this['skyComponent']=this[_0x198f23(0x196)],this[_0x198f23(0x196)][_0x198f23(0x18f)]=this[_0x198f23(0x196)][_0x198f23(0x18f)]+'(Root)',this[_0x198f23(0x198)](0xafc8,0xafc8,0xafc8);}[_0x142360(0x19b)](){var _0x300f16=_0x142360;return new SkyComponent(this[_0x300f16(0x18b)]);}}
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
(function(_0x2d9ce0,_0x2d72f1){var _0x2843eb=_0x4ea9,_0x5a256d=_0x2d9ce0();while(!![]){try{var _0x382ca4=-parseInt(_0x2843eb(0x163))/0x1+parseInt(_0x2843eb(0x160))/0x2+-parseInt(_0x2843eb(0x165))/0x3*(parseInt(_0x2843eb(0x166))/0x4)+parseInt(_0x2843eb(0x16a))/0x5*(parseInt(_0x2843eb(0x162))/0x6)+-parseInt(_0x2843eb(0x167))/0x7*(-parseInt(_0x2843eb(0x164))/0x8)+parseInt(_0x2843eb(0x169))/0x9*(parseInt(_0x2843eb(0x161))/0xa)+parseInt(_0x2843eb(0x168))/0xb;if(_0x382ca4===_0x2d72f1)break;else _0x5a256d['push'](_0x5a256d['shift']());}catch(_0x397ce4){_0x5a256d['push'](_0x5a256d['shift']());}}}(_0xe96a,0x422cb));function _0x4ea9(_0x5f3c91,_0xf0f65e){_0x5f3c91=_0x5f3c91-0x160;var _0xe96a76=_0xe96a();var _0x4ea9d2=_0xe96a76[_0x5f3c91];return _0x4ea9d2;}function _0xe96a(){var _0x11c7fb=['220390tyqWyw','1848hCoOuA','449752KjapGF','48UNfROf','3QwQsZJ','1448332tDAvdH','216769uYiGNn','2530033fbHyeu','90EXLnLc','3580ZuEyhL','452326ztXzIW'];_0xe96a=function(){return _0x11c7fb;};return _0xe96a();}class PlaneComponent extends MeshComponent{constructor(_0xaf0fb,_0x55102b,_0x58a9d7,_0x700216,_0x12e36a=0x1,_0x452cd7=0x1,_0x61d7e7){super(_0xaf0fb,new webgpu.PlaneGeometry(_0x55102b,_0x58a9d7,_0x12e36a,_0x452cd7),_0x700216,_0x61d7e7);}}
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _0x4ba7c4=_0x2af8;(function(_0x41fc79,_0x1f8fc7){var _0x179736=_0x2af8,_0xe6e454=_0x41fc79();while(!![]){try{var _0x7815dc=-parseInt(_0x179736(0x7f))/0x1*(parseInt(_0x179736(0x7c))/0x2)+-parseInt(_0x179736(0x77))/0x3+parseInt(_0x179736(0x73))/0x4*(parseInt(_0x179736(0x79))/0x5)+-parseInt(_0x179736(0x81))/0x6*(parseInt(_0x179736(0x7b))/0x7)+-parseInt(_0x179736(0x75))/0x8*(-parseInt(_0x179736(0x76))/0x9)+parseInt(_0x179736(0x7a))/0xa+-parseInt(_0x179736(0x78))/0xb*(-parseInt(_0x179736(0x80))/0xc);if(_0x7815dc===_0x1f8fc7)break;else _0xe6e454['push'](_0xe6e454['shift']());}catch(_0x481c87){_0xe6e454['push'](_0xe6e454['shift']());}}}(_0x4f17,0xd99d2));function _0x4f17(){var _0xbc1731=['9kRCvAU','4072896snplYS','11rHSODx','70RBqhSx','12253240JdutYv','10994095TKgAeU','318huFxlf','constructRootComponent','uuid','2459hEzYCt','12096576pkcjMf','6dENdZG','destroy','238780ajKZXI','app','9131536HzPvlg'];_0x4f17=function(){return _0xbc1731;};return _0x4f17();}function _0x2af8(_0x541dab,_0x25efd5){_0x541dab=_0x541dab-0x73;var _0x4f1797=_0x4f17();var _0x2af8b8=_0x4f1797[_0x541dab];return _0x2af8b8;}class PlaneActor extends Actor{constructor(_0x4a70c2,_0x37188d){super(_0x4a70c2,_0x37188d);}[_0x4ba7c4(0x7d)](){var _0xa402f4=_0x4ba7c4;return new PlaneComponent(this[_0xa402f4(0x74)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0xa402f4(0x7e)]);}[_0x4ba7c4(0x82)](){super['destroy']();}}
|
|
131
131
|
|
|
132
|
-
function _0x8a32(_0x2087b3,_0x394bb1){_0x2087b3=_0x2087b3-0x1d7;const _0x7f63a2=_0x7f63();let _0x8a321b=_0x7f63a2[_0x2087b3];return _0x8a321b;}const _0x5012a5=_0x8a32;(function(_0x5e88f4,_0x255dbc){const _0x1e3ee3=_0x8a32,_0x280a82=_0x5e88f4();while(!![]){try{const _0x3f4c8e=parseInt(_0x1e3ee3(0x202))/0x1*(parseInt(_0x1e3ee3(0x217))/0x2)+parseInt(_0x1e3ee3(0x211))/0x3+-parseInt(_0x1e3ee3(0x1fe))/0x4+-parseInt(_0x1e3ee3(0x204))/0x5*(parseInt(_0x1e3ee3(0x1ea))/0x6)+parseInt(_0x1e3ee3(0x206))/0x7+-parseInt(_0x1e3ee3(0x1ec))/0x8+-parseInt(_0x1e3ee3(0x1db))/0x9*(-parseInt(_0x1e3ee3(0x205))/0xa);if(_0x3f4c8e===_0x255dbc)break;else _0x280a82['push'](_0x280a82['shift']());}catch(_0x4b0e33){_0x280a82['push'](_0x280a82['shift']());}}}(_0x7f63,0x3c0ab));function _0x7f63(){const _0x5c0baa=['min','170IBAFYc','app','computeVertexNormals','_meshData','LYObject','materialPtr\x20is\x20null','_materialPtr','castShadow','clone','userData','2529nHTtlB','geometryPtr\x20is\x20null','setIndex','error','destroyObject','uvs','map','vertices','receiveShadow','colors','materialPtr','push','material\x20is\x20null','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','assetManager','59244AEAqGI','_geometryPtr','3028640YpUuSy','CustomMeshComponent','geometryPtr','getCenter','addMaterialAsset','getBoundsTopCenterPosition','obj','getBounds','removeFromParent','CustomMeshComponent:\x20Invalid\x20vertices\x20data','geometry','world','material','length','name','addGeometryAsset','meshData','setAttribute','287044bsFtvz','color','constructGeometry','getValue','4930GJvEIz','markRenderStateDirty','160sKKjEe','7310GrdBgZ','1853530OcppAV','threeObject','max','calculatePolygonArea','release','computeUVs','normal','warn','normals','viewport','indices','368967AGGpnx','addRef','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','getBoundsCenterPosition','CustomMeshComponent:\x20threeObject\x20is\x20null'];_0x7f63=function(){return _0x5c0baa;};return _0x7f63();}class CustomMeshComponent extends SceneComponent{get[_0x5012a5(0x207)](){const _0x38b165=_0x5012a5;if(!this[_0x38b165(0x1f2)])throw new Error(_0x38b165(0x215));return this['obj'];}set[_0x5012a5(0x207)](_0x512c74){const _0xf51a71=_0x5012a5;this[_0xf51a71(0x1f2)]=_0x512c74,this['obj']&&(this['obj'][_0xf51a71(0x1da)][_0xf51a71(0x21b)]=this);}get[_0x5012a5(0x1f6)](){const _0xe23d6a=_0x5012a5;if(!this[_0xe23d6a(0x1eb)])throw new Error(_0xe23d6a(0x1dc));return this[_0xe23d6a(0x1eb)][_0xe23d6a(0x201)]();}set[_0x5012a5(0x1f6)](_0x3b2a6c){const _0x1f5224=_0x5012a5;let _0x467352=this[_0x1f5224(0x218)][_0x1f5224(0x1e9)][_0x1f5224(0x1fb)](_0x3b2a6c);this[_0x1f5224(0x1ee)]=_0x467352;}get[_0x5012a5(0x1ee)](){const _0x55e7e3=_0x5012a5;if(!this['_geometryPtr'])throw new Error(_0x55e7e3(0x1dc));return this[_0x55e7e3(0x1eb)];}set[_0x5012a5(0x1ee)](_0x563bf3){const _0x356d2b=_0x5012a5;this[_0x356d2b(0x1eb)]&&(this[_0x356d2b(0x1eb)][_0x356d2b(0x20a)](),this['_geometryPtr']=null);this[_0x356d2b(0x1eb)]=_0x563bf3;let _0x53f1c8=_0x563bf3[_0x356d2b(0x201)]();this['threeObject']&&_0x53f1c8&&(this[_0x356d2b(0x207)][_0x356d2b(0x1f6)]=_0x53f1c8);}get[_0x5012a5(0x1f8)](){const _0x585559=_0x5012a5;if(!this[_0x585559(0x1d7)])throw new Error('materialPtr\x20is\x20null');let _0x59d3de=this[_0x585559(0x1d7)]['getValue']();if(!_0x59d3de)throw new Error(_0x585559(0x1e7));return _0x59d3de;}get[_0x5012a5(0x1e5)](){const _0x59df32=_0x5012a5;if(!this[_0x59df32(0x1d7)])throw new Error(_0x59df32(0x21c));return this[_0x59df32(0x1d7)];}set[_0x5012a5(0x1f8)](_0x4249b3){const _0x58b7a2=_0x5012a5;let _0x5e0278=this['app']['assetManager'][_0x58b7a2(0x1f0)](_0x4249b3);this[_0x58b7a2(0x1e5)]=_0x5e0278;}set[_0x5012a5(0x1e5)](_0x4a1916){const _0x55359f=_0x5012a5;this[_0x55359f(0x1d7)]&&(this[_0x55359f(0x1d7)]['release'](),this[_0x55359f(0x1d7)]=null);this[_0x55359f(0x1d7)]=_0x4a1916;let _0x450096=_0x4a1916['getValue']();_0x4a1916[_0x55359f(0x212)](),this[_0x55359f(0x207)]&&_0x450096&&(this[_0x55359f(0x207)][_0x55359f(0x1f8)]=_0x450096);}constructor(_0x54450b,_0x7bc42b,_0x2cd3cd,_0x2a1005){const _0x52c44b=_0x5012a5;super(_0x54450b,_0x2a1005),this[_0x52c44b(0x21a)]=_0x7bc42b;let _0x385663=_0x54450b[_0x52c44b(0x1e9)][_0x52c44b(0x1f0)](_0x2cd3cd);this['_materialPtr']=_0x385663,_0x385663[_0x52c44b(0x212)]();const _0x3f5036=this[_0x52c44b(0x200)](_0x7bc42b);this[_0x52c44b(0x1eb)]=_0x54450b[_0x52c44b(0x1e9)][_0x52c44b(0x1fb)](_0x3f5036),this[_0x52c44b(0x207)][_0x52c44b(0x1f8)]=_0x2cd3cd,this[_0x52c44b(0x207)][_0x52c44b(0x1f6)]=_0x3f5036,this[_0x52c44b(0x1fa)]=_0x52c44b(0x1ed),this[_0x52c44b(0x1d8)]=!![],this[_0x52c44b(0x1e3)]=!![];}[_0x5012a5(0x20b)](_0x457817){const _0x480d72=_0x5012a5,_0x32c744=new Float32Array(_0x457817[_0x480d72(0x1f9)]*0x2);if(_0x457817['length']===0x0)return _0x32c744;let _0x4ac60b=Infinity,_0x501704=-Infinity,_0x23ae9f=Infinity,_0x335e07=-Infinity,_0x4c9236=Infinity,_0xd2bd0c=-Infinity;for(const _0x576ba8 of _0x457817){_0x4ac60b=Math[_0x480d72(0x216)](_0x4ac60b,_0x576ba8['x']),_0x501704=Math[_0x480d72(0x208)](_0x501704,_0x576ba8['x']),_0x23ae9f=Math[_0x480d72(0x216)](_0x23ae9f,_0x576ba8['y']),_0x335e07=Math['max'](_0x335e07,_0x576ba8['y']),_0x4c9236=Math['min'](_0x4c9236,_0x576ba8['z']),_0xd2bd0c=Math[_0x480d72(0x208)](_0xd2bd0c,_0x576ba8['z']);}const _0x247069=_0x501704-_0x4ac60b,_0x97d775=_0x335e07-_0x23ae9f,_0x279acf=_0xd2bd0c-_0x4c9236;let _0x46029d,_0x272e0a,_0x122a98,_0x101595,_0x1d99dd,_0x5dd24b;if(_0x247069<=_0x97d775&&_0x247069<=_0x279acf)_0x46029d='y',_0x272e0a='z',_0x122a98=_0x23ae9f,_0x101595=_0x97d775,_0x1d99dd=_0x4c9236,_0x5dd24b=_0x279acf;else _0x97d775<=_0x247069&&_0x97d775<=_0x279acf?(_0x46029d='x',_0x272e0a='z',_0x122a98=_0x4ac60b,_0x101595=_0x247069,_0x1d99dd=_0x4c9236,_0x5dd24b=_0x279acf):(_0x46029d='x',_0x272e0a='y',_0x122a98=_0x4ac60b,_0x101595=_0x247069,_0x1d99dd=_0x23ae9f,_0x5dd24b=_0x97d775);if(_0x101595===0x0)_0x101595=0x1;if(_0x5dd24b===0x0)_0x5dd24b=0x1;for(let _0x568e89=0x0;_0x568e89<_0x457817[_0x480d72(0x1f9)];_0x568e89++){const _0x20fa96=_0x457817[_0x568e89],_0x8e58d3=(_0x20fa96[_0x46029d]-_0x122a98)/_0x101595,_0x42be97=(_0x20fa96[_0x272e0a]-_0x1d99dd)/_0x5dd24b;_0x32c744[_0x568e89*0x2]=_0x8e58d3,_0x32c744[_0x568e89*0x2+0x1]=_0x42be97;}return _0x32c744;}[_0x5012a5(0x209)](_0x524acf){const _0x14675a=_0x5012a5;let _0x1151d6=0x0;const _0x325e13=_0x524acf[_0x14675a(0x1f9)]/0x2;for(let _0x46bc56=0x0;_0x46bc56<_0x325e13;_0x46bc56++){const _0x195a57=(_0x46bc56+0x1)%_0x325e13,_0x478b1f=_0x524acf[_0x46bc56*0x2],_0x2d94e3=_0x524acf[_0x46bc56*0x2+0x1],_0xecb10f=_0x524acf[_0x195a57*0x2],_0x240980=_0x524acf[_0x195a57*0x2+0x1];_0x1151d6+=_0x478b1f*_0x240980-_0xecb10f*_0x2d94e3;}return _0x1151d6/0x2;}[_0x5012a5(0x200)](_0x4ca257){const _0x44c034=_0x5012a5,_0x3795b1=new webgpu.BufferGeometry();if(!_0x4ca257[_0x44c034(0x1e2)]||_0x4ca257[_0x44c034(0x1e2)][_0x44c034(0x1f9)]===0x0)return console[_0x44c034(0x1de)](_0x44c034(0x1f5)),_0x3795b1;const _0x236bde=new Float32Array(_0x4ca257[_0x44c034(0x1e2)][_0x44c034(0x1f9)]*0x3);for(let _0x2c07a1=0x0;_0x2c07a1<_0x4ca257['vertices'][_0x44c034(0x1f9)];_0x2c07a1++){_0x236bde[_0x2c07a1*0x3]=_0x4ca257[_0x44c034(0x1e2)][_0x2c07a1]['x'],_0x236bde[_0x2c07a1*0x3+0x1]=_0x4ca257['vertices'][_0x2c07a1]['y'],_0x236bde[_0x2c07a1*0x3+0x2]=_0x4ca257['vertices'][_0x2c07a1]['z'];}_0x3795b1[_0x44c034(0x1fd)]('position',new webgpu.Float32BufferAttribute(_0x236bde,0x3));if(_0x4ca257[_0x44c034(0x210)]&&_0x4ca257[_0x44c034(0x210)][_0x44c034(0x1f9)]>0x0)_0x3795b1[_0x44c034(0x1dd)](_0x4ca257[_0x44c034(0x210)]);else {const _0x1b0cde=[];let _0x26c3cc=Infinity,_0xe46831=-Infinity,_0x5a5840=Infinity,_0x45987c=-Infinity,_0x2ff2d9=Infinity,_0x25838d=-Infinity;for(let _0x3299bd=0x0;_0x3299bd<_0x4ca257['vertices'][_0x44c034(0x1f9)];_0x3299bd++){const _0x384c6d=_0x4ca257[_0x44c034(0x1e2)][_0x3299bd];_0x5a5840=Math['min'](_0x5a5840,_0x384c6d['x']),_0x45987c=Math[_0x44c034(0x208)](_0x45987c,_0x384c6d['x']),_0x26c3cc=Math[_0x44c034(0x216)](_0x26c3cc,_0x384c6d['y']),_0xe46831=Math[_0x44c034(0x208)](_0xe46831,_0x384c6d['y']),_0x2ff2d9=Math[_0x44c034(0x216)](_0x2ff2d9,_0x384c6d['z']),_0x25838d=Math[_0x44c034(0x208)](_0x25838d,_0x384c6d['z']);}const _0x475e30=_0x45987c-_0x5a5840,_0x525285=_0xe46831-_0x26c3cc,_0x420dcd=_0x25838d-_0x2ff2d9;if(_0x525285<=_0x475e30&&_0x525285<=_0x420dcd){for(let _0x3d605f=0x0;_0x3d605f<_0x4ca257[_0x44c034(0x1e2)][_0x44c034(0x1f9)];_0x3d605f++){_0x1b0cde[_0x44c034(0x1e6)](_0x4ca257[_0x44c034(0x1e2)][_0x3d605f]['x']),_0x1b0cde[_0x44c034(0x1e6)](_0x4ca257[_0x44c034(0x1e2)][_0x3d605f]['z']);}}else {if(_0x475e30<=_0x525285&&_0x475e30<=_0x420dcd){for(let _0x31e982=0x0;_0x31e982<_0x4ca257['vertices']['length'];_0x31e982++){_0x1b0cde['push'](_0x4ca257[_0x44c034(0x1e2)][_0x31e982]['y']),_0x1b0cde[_0x44c034(0x1e6)](_0x4ca257[_0x44c034(0x1e2)][_0x31e982]['z']);}}else {for(let _0x6e98c8=0x0;_0x6e98c8<_0x4ca257['vertices'][_0x44c034(0x1f9)];_0x6e98c8++){_0x1b0cde['push'](_0x4ca257[_0x44c034(0x1e2)][_0x6e98c8]['x']),_0x1b0cde[_0x44c034(0x1e6)](_0x4ca257[_0x44c034(0x1e2)][_0x6e98c8]['y']);}}}const _0x5481a0=this[_0x44c034(0x209)](_0x1b0cde),_0x13a664=_0x5481a0<0x0;if(_0x13a664){console[_0x44c034(0x20d)](_0x44c034(0x1e8)),_0x1b0cde['reverse']();const _0x4d4a90=[];for(let _0x261698=_0x1b0cde[_0x44c034(0x1f9)]-0x2;_0x261698>=0x0;_0x261698-=0x2){_0x4d4a90[_0x44c034(0x1e6)](_0x1b0cde[_0x261698],_0x1b0cde[_0x261698+0x1]);}_0x1b0cde[_0x44c034(0x1f9)]=0x0,_0x1b0cde['push'](..._0x4d4a90);}try{const _0x320f27=_0x46d913(_0x1b0cde,undefined,0x2);if(_0x320f27&&_0x320f27['length']>0x0){if(_0x13a664)for(let _0x14f103=0x0;_0x14f103<_0x320f27['length'];_0x14f103+=0x3){const _0x46f749=_0x320f27[_0x14f103];_0x320f27[_0x14f103]=_0x320f27[_0x14f103+0x2],_0x320f27[_0x14f103+0x2]=_0x46f749;}_0x3795b1['setIndex'](_0x320f27);}else console[_0x44c034(0x20d)](_0x44c034(0x213));}catch(_0x2d2c18){console[_0x44c034(0x1de)]('CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:',_0x2d2c18);}}if(_0x4ca257['normals']&&_0x4ca257[_0x44c034(0x20e)]['length']===_0x4ca257[_0x44c034(0x1e2)][_0x44c034(0x1f9)]){const _0x3b4d1f=new Float32Array(_0x4ca257[_0x44c034(0x20e)][_0x44c034(0x1f9)]*0x3);for(let _0x27adfb=0x0;_0x27adfb<_0x4ca257[_0x44c034(0x20e)][_0x44c034(0x1f9)];_0x27adfb++){_0x3b4d1f[_0x27adfb*0x3]=_0x4ca257['normals'][_0x27adfb]['x'],_0x3b4d1f[_0x27adfb*0x3+0x1]=_0x4ca257[_0x44c034(0x20e)][_0x27adfb]['y'],_0x3b4d1f[_0x27adfb*0x3+0x2]=_0x4ca257[_0x44c034(0x20e)][_0x27adfb]['z'];}_0x3795b1['setAttribute'](_0x44c034(0x20c),new webgpu.Float32BufferAttribute(_0x3b4d1f,0x3));}else _0x3795b1[_0x44c034(0x219)]();if(_0x4ca257[_0x44c034(0x1e0)]&&_0x4ca257['uvs'][_0x44c034(0x1f9)]>0x0){const _0x462365=new Float32Array(_0x4ca257[_0x44c034(0x1e0)][_0x44c034(0x1f9)]*0x2);for(let _0x50dcc6=0x0;_0x50dcc6<_0x4ca257[_0x44c034(0x1e0)][_0x44c034(0x1f9)];_0x50dcc6++){_0x462365[_0x50dcc6*0x2]=_0x4ca257[_0x44c034(0x1e0)][_0x50dcc6]['x'],_0x462365[_0x50dcc6*0x2+0x1]=_0x4ca257[_0x44c034(0x1e0)][_0x50dcc6]['y'];}_0x3795b1['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x462365,0x2));}else {const _0x385ef2=this[_0x44c034(0x20b)](_0x4ca257[_0x44c034(0x1e2)]);_0x3795b1['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x385ef2,0x2));}if(_0x4ca257[_0x44c034(0x1e4)]&&_0x4ca257[_0x44c034(0x1e4)][_0x44c034(0x1f9)]===_0x4ca257[_0x44c034(0x1e2)][_0x44c034(0x1f9)]){const _0x155b78=new Float32Array(_0x4ca257[_0x44c034(0x1e4)][_0x44c034(0x1f9)]*0x3);for(let _0x17ada9=0x0;_0x17ada9<_0x4ca257['colors'][_0x44c034(0x1f9)];_0x17ada9++){_0x155b78[_0x17ada9*0x3]=_0x4ca257[_0x44c034(0x1e4)][_0x17ada9]['r'],_0x155b78[_0x17ada9*0x3+0x1]=_0x4ca257[_0x44c034(0x1e4)][_0x17ada9]['g'],_0x155b78[_0x17ada9*0x3+0x2]=_0x4ca257[_0x44c034(0x1e4)][_0x17ada9]['b'];}_0x3795b1[_0x44c034(0x1fd)](_0x44c034(0x1ff),new webgpu.Float32BufferAttribute(_0x155b78,0x3));}return _0x3795b1;}set[_0x5012a5(0x1fc)](_0x54b541){const _0x589cc0=_0x5012a5;var _0xab9f87,_0x2c5b6f,_0x21a0c5;this[_0x589cc0(0x1eb)]&&this[_0x589cc0(0x1eb)][_0x589cc0(0x20a)]();const _0x53103d=this[_0x589cc0(0x200)](_0x54b541);this[_0x589cc0(0x1eb)]=this[_0x589cc0(0x218)][_0x589cc0(0x1e9)][_0x589cc0(0x1fb)](_0x53103d),this[_0x589cc0(0x207)][_0x589cc0(0x1f6)]=_0x53103d,this['_meshData']={'vertices':_0x54b541[_0x589cc0(0x1e2)][_0x589cc0(0x1e1)](_0x11a5b1=>_0x11a5b1[_0x589cc0(0x1d9)]()),'indices':_0x54b541[_0x589cc0(0x210)]?[..._0x54b541[_0x589cc0(0x210)]]:undefined,'normals':(_0xab9f87=_0x54b541[_0x589cc0(0x20e)])===null||_0xab9f87===void 0?void 0:_0xab9f87[_0x589cc0(0x1e1)](_0x19148d=>_0x19148d['clone']()),'uvs':(_0x2c5b6f=_0x54b541['uvs'])===null||_0x2c5b6f===void 0?void 0:_0x2c5b6f['map'](_0x24be9e=>_0x24be9e[_0x589cc0(0x1d9)]()),'colors':(_0x21a0c5=_0x54b541['colors'])===null||_0x21a0c5===void 0?void 0:_0x21a0c5['map'](_0x2cfa74=>_0x2cfa74[_0x589cc0(0x1d9)]())},this[_0x589cc0(0x1f7)]&&this['world'][_0x589cc0(0x20f)][_0x589cc0(0x203)]();}get[_0x5012a5(0x1fc)](){return this['_meshData'];}['createDefaultObject'](){return new webgpu.Mesh();}set[_0x5012a5(0x1d8)](_0xdd4888){const _0x4d6223=_0x5012a5;if(this[_0x4d6223(0x207)])this[_0x4d6223(0x207)][_0x4d6223(0x1d8)]=_0xdd4888;}get[_0x5012a5(0x1d8)](){const _0x2f54b3=_0x5012a5;return this['threeObject']?this[_0x2f54b3(0x207)][_0x2f54b3(0x1d8)]:![];}set[_0x5012a5(0x1e3)](_0x3efca2){const _0x3b6262=_0x5012a5;if(!this[_0x3b6262(0x207)])return;this[_0x3b6262(0x207)][_0x3b6262(0x1e3)]=_0x3efca2;}get[_0x5012a5(0x1e3)](){const _0x164966=_0x5012a5;return this[_0x164966(0x207)]?this[_0x164966(0x207)]['receiveShadow']:![];}[_0x5012a5(0x214)](){const _0xb3c652=_0x5012a5;let _0x47015a=new webgpu.Vector3();return this['getBounds']()[_0xb3c652(0x1ef)](_0x47015a),_0x47015a;}[_0x5012a5(0x1f1)](){const _0x4628e9=_0x5012a5;let _0x1499a7=new webgpu.Vector3(),_0x3424aa=this[_0x4628e9(0x1f3)]();return _0x3424aa['getCenter'](_0x1499a7),_0x1499a7['y']=_0x3424aa[_0x4628e9(0x208)]['y'],_0x1499a7;}['getBoundsBottomCenterPosition'](){const _0x8ff534=_0x5012a5;let _0x12bd14=new webgpu.Vector3(),_0x29b95b=this[_0x8ff534(0x1f3)]();return _0x29b95b[_0x8ff534(0x1ef)](_0x12bd14),_0x12bd14['y']=_0x29b95b[_0x8ff534(0x216)]['y'],_0x12bd14;}['destroyObject'](){const _0x3c550c=_0x5012a5;var _0x5baf0d,_0x2e9cd3;this[_0x3c550c(0x207)]&&this[_0x3c550c(0x207)][_0x3c550c(0x1f4)](),(_0x5baf0d=this[_0x3c550c(0x1eb)])===null||_0x5baf0d===void 0?void 0:_0x5baf0d['release'](),(_0x2e9cd3=this[_0x3c550c(0x1d7)])===null||_0x2e9cd3===void 0?void 0:_0x2e9cd3[_0x3c550c(0x20a)](),super[_0x3c550c(0x1df)]();}}
|
|
132
|
+
const _0x54395d=_0x3cf7;(function(_0x459247,_0x454598){const _0x940ec3=_0x3cf7,_0x4d4872=_0x459247();while(!![]){try{const _0x2a940e=-parseInt(_0x940ec3(0x1c8))/0x1*(-parseInt(_0x940ec3(0x1b2))/0x2)+-parseInt(_0x940ec3(0x1ca))/0x3+parseInt(_0x940ec3(0x1d9))/0x4+parseInt(_0x940ec3(0x1a8))/0x5*(-parseInt(_0x940ec3(0x1a3))/0x6)+-parseInt(_0x940ec3(0x1af))/0x7+parseInt(_0x940ec3(0x1a6))/0x8+-parseInt(_0x940ec3(0x1b6))/0x9;if(_0x2a940e===_0x454598)break;else _0x4d4872['push'](_0x4d4872['shift']());}catch(_0x191a1c){_0x4d4872['push'](_0x4d4872['shift']());}}}(_0x1dc4,0x21b64));function _0x3cf7(_0x405393,_0x27c39d){_0x405393=_0x405393-0x197;const _0x1dc4fd=_0x1dc4();let _0x3cf7c2=_0x1dc4fd[_0x405393];return _0x3cf7c2;}function _0x1dc4(){const _0x13b0bd=['299034TmTkJE','push','markRenderStateDirty','geometryPtr\x20is\x20null','error','threeObject','vertices','_materialPtr','release','geometry','colors','constructGeometry','max','normal','receiveShadow','353488BodGba','obj','min','removeFromParent','material','CustomMeshComponent:\x20threeObject\x20is\x20null','assetManager','_geometryPtr','CustomMeshComponent:\x20Invalid\x20vertices\x20data','_meshData','position','warn','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','18pxKwpm','getBounds','addRef','1507064KKDvYY','computeUVs','116995NyZUJw','length','materialPtr','app','calculatePolygonArea','uvs','LYObject','1223110TPERuJ','material\x20is\x20null','computeVertexNormals','2oUYbfB','setAttribute','getCenter','clone','347103TNUQWl','name','getBoundsTopCenterPosition','addMaterialAsset','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','materialPtr\x20is\x20null','normals','castShadow','indices','setIndex','addGeometryAsset','map','meshData','getValue','destroyObject','viewport','getBoundsBottomCenterPosition','world','244501RqbcNm','CustomMeshComponent'];_0x1dc4=function(){return _0x13b0bd;};return _0x1dc4();}class CustomMeshComponent extends SceneComponent{get[_0x54395d(0x1cf)](){const _0x36968d=_0x54395d;if(!this[_0x36968d(0x197)])throw new Error(_0x36968d(0x19b));return this[_0x36968d(0x197)];}set[_0x54395d(0x1cf)](_0x25e027){const _0x207f43=_0x54395d;this[_0x207f43(0x197)]=_0x25e027,this[_0x207f43(0x197)]&&(this[_0x207f43(0x197)]['userData'][_0x207f43(0x1ae)]=this);}get[_0x54395d(0x1d3)](){const _0x3b79a1=_0x54395d;if(!this[_0x3b79a1(0x19d)])throw new Error('geometryPtr\x20is\x20null');return this[_0x3b79a1(0x19d)][_0x3b79a1(0x1c3)]();}set[_0x54395d(0x1d3)](_0x3a1a31){const _0x2a2db6=_0x54395d;let _0x1ed27d=this[_0x2a2db6(0x1ab)][_0x2a2db6(0x19c)][_0x2a2db6(0x1c0)](_0x3a1a31);this['geometryPtr']=_0x1ed27d;}get['geometryPtr'](){const _0x1eb9ec=_0x54395d;if(!this['_geometryPtr'])throw new Error(_0x1eb9ec(0x1cd));return this['_geometryPtr'];}set['geometryPtr'](_0x25e3b3){const _0x215a95=_0x54395d;this['_geometryPtr']&&(this[_0x215a95(0x19d)][_0x215a95(0x1d2)](),this[_0x215a95(0x19d)]=null);this[_0x215a95(0x19d)]=_0x25e3b3;let _0x908d08=_0x25e3b3[_0x215a95(0x1c3)]();this[_0x215a95(0x1cf)]&&_0x908d08&&(this['threeObject'][_0x215a95(0x1d3)]=_0x908d08);}get['material'](){const _0x5a61f9=_0x54395d;if(!this[_0x5a61f9(0x1d1)])throw new Error('materialPtr\x20is\x20null');let _0x18c945=this[_0x5a61f9(0x1d1)][_0x5a61f9(0x1c3)]();if(!_0x18c945)throw new Error(_0x5a61f9(0x1b0));return _0x18c945;}get[_0x54395d(0x1aa)](){const _0x34019b=_0x54395d;if(!this[_0x34019b(0x1d1)])throw new Error(_0x34019b(0x1bb));return this[_0x34019b(0x1d1)];}set['material'](_0x3ed781){const _0x4daea8=_0x54395d;let _0x546396=this['app']['assetManager']['addMaterialAsset'](_0x3ed781);this[_0x4daea8(0x1aa)]=_0x546396;}set[_0x54395d(0x1aa)](_0x516ffb){const _0x4358f2=_0x54395d;this['_materialPtr']&&(this[_0x4358f2(0x1d1)][_0x4358f2(0x1d2)](),this[_0x4358f2(0x1d1)]=null);this[_0x4358f2(0x1d1)]=_0x516ffb;let _0x4418f0=_0x516ffb[_0x4358f2(0x1c3)]();_0x516ffb[_0x4358f2(0x1a5)](),this['threeObject']&&_0x4418f0&&(this[_0x4358f2(0x1cf)][_0x4358f2(0x19a)]=_0x4418f0);}constructor(_0x61e984,_0x14d865,_0x18286d,_0x2bdb88){const _0x5ccd8d=_0x54395d;super(_0x61e984,_0x2bdb88),this[_0x5ccd8d(0x19f)]=_0x14d865;let _0xdddc5f=_0x61e984['assetManager'][_0x5ccd8d(0x1b9)](_0x18286d);this[_0x5ccd8d(0x1d1)]=_0xdddc5f,_0xdddc5f['addRef']();const _0x27cc3c=this['constructGeometry'](_0x14d865);this[_0x5ccd8d(0x19d)]=_0x61e984[_0x5ccd8d(0x19c)][_0x5ccd8d(0x1c0)](_0x27cc3c),this['threeObject']['material']=_0x18286d,this[_0x5ccd8d(0x1cf)][_0x5ccd8d(0x1d3)]=_0x27cc3c,this[_0x5ccd8d(0x1b7)]=_0x5ccd8d(0x1c9),this[_0x5ccd8d(0x1bd)]=!![],this[_0x5ccd8d(0x1d8)]=!![];}[_0x54395d(0x1a7)](_0x4503ae){const _0x4635e9=_0x54395d,_0x4d687f=new Float32Array(_0x4503ae[_0x4635e9(0x1a9)]*0x2);if(_0x4503ae[_0x4635e9(0x1a9)]===0x0)return _0x4d687f;let _0x10049a=Infinity,_0x506565=-Infinity,_0x9b8013=Infinity,_0x4ae3b0=-Infinity,_0x234583=Infinity,_0x1ed938=-Infinity;for(const _0x4edab4 of _0x4503ae){_0x10049a=Math['min'](_0x10049a,_0x4edab4['x']),_0x506565=Math['max'](_0x506565,_0x4edab4['x']),_0x9b8013=Math[_0x4635e9(0x198)](_0x9b8013,_0x4edab4['y']),_0x4ae3b0=Math[_0x4635e9(0x1d6)](_0x4ae3b0,_0x4edab4['y']),_0x234583=Math[_0x4635e9(0x198)](_0x234583,_0x4edab4['z']),_0x1ed938=Math['max'](_0x1ed938,_0x4edab4['z']);}const _0x595913=_0x506565-_0x10049a,_0x4b9033=_0x4ae3b0-_0x9b8013,_0x3a4eb3=_0x1ed938-_0x234583;let _0x4a1a70,_0x2d69ea,_0x51038d,_0x3f0989,_0x183a08,_0x3912f2;if(_0x595913<=_0x4b9033&&_0x595913<=_0x3a4eb3)_0x4a1a70='y',_0x2d69ea='z',_0x51038d=_0x9b8013,_0x3f0989=_0x4b9033,_0x183a08=_0x234583,_0x3912f2=_0x3a4eb3;else _0x4b9033<=_0x595913&&_0x4b9033<=_0x3a4eb3?(_0x4a1a70='x',_0x2d69ea='z',_0x51038d=_0x10049a,_0x3f0989=_0x595913,_0x183a08=_0x234583,_0x3912f2=_0x3a4eb3):(_0x4a1a70='x',_0x2d69ea='y',_0x51038d=_0x10049a,_0x3f0989=_0x595913,_0x183a08=_0x9b8013,_0x3912f2=_0x4b9033);if(_0x3f0989===0x0)_0x3f0989=0x1;if(_0x3912f2===0x0)_0x3912f2=0x1;for(let _0xfdbfc8=0x0;_0xfdbfc8<_0x4503ae['length'];_0xfdbfc8++){const _0x4a9816=_0x4503ae[_0xfdbfc8],_0x49416d=(_0x4a9816[_0x4a1a70]-_0x51038d)/_0x3f0989,_0x505c99=(_0x4a9816[_0x2d69ea]-_0x183a08)/_0x3912f2;_0x4d687f[_0xfdbfc8*0x2]=_0x49416d,_0x4d687f[_0xfdbfc8*0x2+0x1]=_0x505c99;}return _0x4d687f;}['calculatePolygonArea'](_0x7c36b9){const _0x591e78=_0x54395d;let _0x548c82=0x0;const _0x18d440=_0x7c36b9[_0x591e78(0x1a9)]/0x2;for(let _0x5af818=0x0;_0x5af818<_0x18d440;_0x5af818++){const _0x1ad55a=(_0x5af818+0x1)%_0x18d440,_0x2f06ea=_0x7c36b9[_0x5af818*0x2],_0x138d00=_0x7c36b9[_0x5af818*0x2+0x1],_0x23a6f3=_0x7c36b9[_0x1ad55a*0x2],_0x3b9cec=_0x7c36b9[_0x1ad55a*0x2+0x1];_0x548c82+=_0x2f06ea*_0x3b9cec-_0x23a6f3*_0x138d00;}return _0x548c82/0x2;}[_0x54395d(0x1d5)](_0xfc416e){const _0x45ecc9=_0x54395d,_0xd892fc=new webgpu.BufferGeometry();if(!_0xfc416e[_0x45ecc9(0x1d0)]||_0xfc416e[_0x45ecc9(0x1d0)][_0x45ecc9(0x1a9)]===0x0)return console[_0x45ecc9(0x1ce)](_0x45ecc9(0x19e)),_0xd892fc;const _0x4e31fb=new Float32Array(_0xfc416e[_0x45ecc9(0x1d0)][_0x45ecc9(0x1a9)]*0x3);for(let _0x473e06=0x0;_0x473e06<_0xfc416e['vertices'][_0x45ecc9(0x1a9)];_0x473e06++){_0x4e31fb[_0x473e06*0x3]=_0xfc416e[_0x45ecc9(0x1d0)][_0x473e06]['x'],_0x4e31fb[_0x473e06*0x3+0x1]=_0xfc416e[_0x45ecc9(0x1d0)][_0x473e06]['y'],_0x4e31fb[_0x473e06*0x3+0x2]=_0xfc416e[_0x45ecc9(0x1d0)][_0x473e06]['z'];}_0xd892fc['setAttribute'](_0x45ecc9(0x1a0),new webgpu.Float32BufferAttribute(_0x4e31fb,0x3));if(_0xfc416e[_0x45ecc9(0x1be)]&&_0xfc416e[_0x45ecc9(0x1be)]['length']>0x0)_0xd892fc[_0x45ecc9(0x1bf)](_0xfc416e['indices']);else {const _0x3b3da3=[];let _0x48963e=Infinity,_0x23558e=-Infinity,_0x235b68=Infinity,_0x61e918=-Infinity,_0x3a8a5f=Infinity,_0x59347a=-Infinity;for(let _0x488a2c=0x0;_0x488a2c<_0xfc416e[_0x45ecc9(0x1d0)]['length'];_0x488a2c++){const _0x461134=_0xfc416e[_0x45ecc9(0x1d0)][_0x488a2c];_0x235b68=Math['min'](_0x235b68,_0x461134['x']),_0x61e918=Math[_0x45ecc9(0x1d6)](_0x61e918,_0x461134['x']),_0x48963e=Math[_0x45ecc9(0x198)](_0x48963e,_0x461134['y']),_0x23558e=Math[_0x45ecc9(0x1d6)](_0x23558e,_0x461134['y']),_0x3a8a5f=Math[_0x45ecc9(0x198)](_0x3a8a5f,_0x461134['z']),_0x59347a=Math['max'](_0x59347a,_0x461134['z']);}const _0x39f11a=_0x61e918-_0x235b68,_0x220126=_0x23558e-_0x48963e,_0x7ed1a7=_0x59347a-_0x3a8a5f;if(_0x220126<=_0x39f11a&&_0x220126<=_0x7ed1a7){for(let _0x42d2b8=0x0;_0x42d2b8<_0xfc416e[_0x45ecc9(0x1d0)][_0x45ecc9(0x1a9)];_0x42d2b8++){_0x3b3da3[_0x45ecc9(0x1cb)](_0xfc416e[_0x45ecc9(0x1d0)][_0x42d2b8]['x']),_0x3b3da3[_0x45ecc9(0x1cb)](_0xfc416e[_0x45ecc9(0x1d0)][_0x42d2b8]['z']);}}else {if(_0x39f11a<=_0x220126&&_0x39f11a<=_0x7ed1a7){for(let _0x43da14=0x0;_0x43da14<_0xfc416e[_0x45ecc9(0x1d0)][_0x45ecc9(0x1a9)];_0x43da14++){_0x3b3da3[_0x45ecc9(0x1cb)](_0xfc416e['vertices'][_0x43da14]['y']),_0x3b3da3['push'](_0xfc416e['vertices'][_0x43da14]['z']);}}else {for(let _0x154aca=0x0;_0x154aca<_0xfc416e['vertices'][_0x45ecc9(0x1a9)];_0x154aca++){_0x3b3da3[_0x45ecc9(0x1cb)](_0xfc416e[_0x45ecc9(0x1d0)][_0x154aca]['x']),_0x3b3da3['push'](_0xfc416e['vertices'][_0x154aca]['y']);}}}const _0x2731a6=this[_0x45ecc9(0x1ac)](_0x3b3da3),_0x3e5e54=_0x2731a6<0x0;if(_0x3e5e54){console['warn']('CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...'),_0x3b3da3['reverse']();const _0x3ee0e5=[];for(let _0x19e49c=_0x3b3da3[_0x45ecc9(0x1a9)]-0x2;_0x19e49c>=0x0;_0x19e49c-=0x2){_0x3ee0e5[_0x45ecc9(0x1cb)](_0x3b3da3[_0x19e49c],_0x3b3da3[_0x19e49c+0x1]);}_0x3b3da3[_0x45ecc9(0x1a9)]=0x0,_0x3b3da3['push'](..._0x3ee0e5);}try{const _0x1bd0c8=_0x335752(_0x3b3da3,undefined,0x2);if(_0x1bd0c8&&_0x1bd0c8[_0x45ecc9(0x1a9)]>0x0){if(_0x3e5e54)for(let _0x4163c5=0x0;_0x4163c5<_0x1bd0c8[_0x45ecc9(0x1a9)];_0x4163c5+=0x3){const _0x1aa498=_0x1bd0c8[_0x4163c5];_0x1bd0c8[_0x4163c5]=_0x1bd0c8[_0x4163c5+0x2],_0x1bd0c8[_0x4163c5+0x2]=_0x1aa498;}_0xd892fc[_0x45ecc9(0x1bf)](_0x1bd0c8);}else console[_0x45ecc9(0x1a1)](_0x45ecc9(0x1a2));}catch(_0x4e7325){console[_0x45ecc9(0x1ce)](_0x45ecc9(0x1ba),_0x4e7325);}}if(_0xfc416e[_0x45ecc9(0x1bc)]&&_0xfc416e['normals'][_0x45ecc9(0x1a9)]===_0xfc416e[_0x45ecc9(0x1d0)]['length']){const _0x10326a=new Float32Array(_0xfc416e[_0x45ecc9(0x1bc)][_0x45ecc9(0x1a9)]*0x3);for(let _0x7fc7df=0x0;_0x7fc7df<_0xfc416e[_0x45ecc9(0x1bc)][_0x45ecc9(0x1a9)];_0x7fc7df++){_0x10326a[_0x7fc7df*0x3]=_0xfc416e[_0x45ecc9(0x1bc)][_0x7fc7df]['x'],_0x10326a[_0x7fc7df*0x3+0x1]=_0xfc416e[_0x45ecc9(0x1bc)][_0x7fc7df]['y'],_0x10326a[_0x7fc7df*0x3+0x2]=_0xfc416e[_0x45ecc9(0x1bc)][_0x7fc7df]['z'];}_0xd892fc[_0x45ecc9(0x1b3)](_0x45ecc9(0x1d7),new webgpu.Float32BufferAttribute(_0x10326a,0x3));}else _0xd892fc[_0x45ecc9(0x1b1)]();if(_0xfc416e[_0x45ecc9(0x1ad)]&&_0xfc416e[_0x45ecc9(0x1ad)][_0x45ecc9(0x1a9)]>0x0){const _0x48372a=new Float32Array(_0xfc416e[_0x45ecc9(0x1ad)]['length']*0x2);for(let _0x4c5fd0=0x0;_0x4c5fd0<_0xfc416e[_0x45ecc9(0x1ad)][_0x45ecc9(0x1a9)];_0x4c5fd0++){_0x48372a[_0x4c5fd0*0x2]=_0xfc416e[_0x45ecc9(0x1ad)][_0x4c5fd0]['x'],_0x48372a[_0x4c5fd0*0x2+0x1]=_0xfc416e[_0x45ecc9(0x1ad)][_0x4c5fd0]['y'];}_0xd892fc[_0x45ecc9(0x1b3)]('uv',new webgpu.Float32BufferAttribute(_0x48372a,0x2));}else {const _0x54b087=this[_0x45ecc9(0x1a7)](_0xfc416e[_0x45ecc9(0x1d0)]);_0xd892fc[_0x45ecc9(0x1b3)]('uv',new webgpu.Float32BufferAttribute(_0x54b087,0x2));}if(_0xfc416e[_0x45ecc9(0x1d4)]&&_0xfc416e[_0x45ecc9(0x1d4)]['length']===_0xfc416e[_0x45ecc9(0x1d0)]['length']){const _0x288f46=new Float32Array(_0xfc416e[_0x45ecc9(0x1d4)][_0x45ecc9(0x1a9)]*0x3);for(let _0x1c6c1c=0x0;_0x1c6c1c<_0xfc416e[_0x45ecc9(0x1d4)][_0x45ecc9(0x1a9)];_0x1c6c1c++){_0x288f46[_0x1c6c1c*0x3]=_0xfc416e[_0x45ecc9(0x1d4)][_0x1c6c1c]['r'],_0x288f46[_0x1c6c1c*0x3+0x1]=_0xfc416e[_0x45ecc9(0x1d4)][_0x1c6c1c]['g'],_0x288f46[_0x1c6c1c*0x3+0x2]=_0xfc416e[_0x45ecc9(0x1d4)][_0x1c6c1c]['b'];}_0xd892fc[_0x45ecc9(0x1b3)]('color',new webgpu.Float32BufferAttribute(_0x288f46,0x3));}return _0xd892fc;}set[_0x54395d(0x1c2)](_0x3caeda){const _0x44dfc3=_0x54395d;var _0xd34de9,_0x180843,_0x1c494a;this['_geometryPtr']&&this[_0x44dfc3(0x19d)][_0x44dfc3(0x1d2)]();const _0x2606a6=this['constructGeometry'](_0x3caeda);this['_geometryPtr']=this[_0x44dfc3(0x1ab)][_0x44dfc3(0x19c)]['addGeometryAsset'](_0x2606a6),this['threeObject']['geometry']=_0x2606a6,this[_0x44dfc3(0x19f)]={'vertices':_0x3caeda[_0x44dfc3(0x1d0)]['map'](_0x1b0d8f=>_0x1b0d8f[_0x44dfc3(0x1b5)]()),'indices':_0x3caeda[_0x44dfc3(0x1be)]?[..._0x3caeda['indices']]:undefined,'normals':(_0xd34de9=_0x3caeda[_0x44dfc3(0x1bc)])===null||_0xd34de9===void 0?void 0:_0xd34de9[_0x44dfc3(0x1c1)](_0x54b60a=>_0x54b60a['clone']()),'uvs':(_0x180843=_0x3caeda['uvs'])===null||_0x180843===void 0?void 0:_0x180843['map'](_0xfbd01b=>_0xfbd01b[_0x44dfc3(0x1b5)]()),'colors':(_0x1c494a=_0x3caeda['colors'])===null||_0x1c494a===void 0?void 0:_0x1c494a[_0x44dfc3(0x1c1)](_0x3c58ba=>_0x3c58ba[_0x44dfc3(0x1b5)]())},this['world']&&this[_0x44dfc3(0x1c7)][_0x44dfc3(0x1c5)][_0x44dfc3(0x1cc)]();}get[_0x54395d(0x1c2)](){const _0x2a5107=_0x54395d;return this[_0x2a5107(0x19f)];}['createDefaultObject'](){return new webgpu.Mesh();}set['castShadow'](_0x3c1d61){const _0x5045ad=_0x54395d;if(this[_0x5045ad(0x1cf)])this['threeObject'][_0x5045ad(0x1bd)]=_0x3c1d61;}get['castShadow'](){const _0x2a70c6=_0x54395d;return this[_0x2a70c6(0x1cf)]?this['threeObject'][_0x2a70c6(0x1bd)]:![];}set[_0x54395d(0x1d8)](_0x27843e){const _0x3f90fb=_0x54395d;if(!this[_0x3f90fb(0x1cf)])return;this[_0x3f90fb(0x1cf)][_0x3f90fb(0x1d8)]=_0x27843e;}get[_0x54395d(0x1d8)](){const _0x3933e5=_0x54395d;return this[_0x3933e5(0x1cf)]?this[_0x3933e5(0x1cf)][_0x3933e5(0x1d8)]:![];}['getBoundsCenterPosition'](){const _0x10964d=_0x54395d;let _0x216863=new webgpu.Vector3();return this['getBounds']()[_0x10964d(0x1b4)](_0x216863),_0x216863;}[_0x54395d(0x1b8)](){const _0x2fa426=_0x54395d;let _0x3a71dd=new webgpu.Vector3(),_0x3a3b53=this[_0x2fa426(0x1a4)]();return _0x3a3b53[_0x2fa426(0x1b4)](_0x3a71dd),_0x3a71dd['y']=_0x3a3b53[_0x2fa426(0x1d6)]['y'],_0x3a71dd;}[_0x54395d(0x1c6)](){const _0x30126a=_0x54395d;let _0x404a7c=new webgpu.Vector3(),_0x20c7c2=this[_0x30126a(0x1a4)]();return _0x20c7c2[_0x30126a(0x1b4)](_0x404a7c),_0x404a7c['y']=_0x20c7c2[_0x30126a(0x198)]['y'],_0x404a7c;}[_0x54395d(0x1c4)](){const _0x44f460=_0x54395d;var _0x430951,_0x22687a;this[_0x44f460(0x1cf)]&&this[_0x44f460(0x1cf)][_0x44f460(0x199)](),(_0x430951=this[_0x44f460(0x19d)])===null||_0x430951===void 0?void 0:_0x430951[_0x44f460(0x1d2)](),(_0x22687a=this[_0x44f460(0x1d1)])===null||_0x22687a===void 0?void 0:_0x22687a['release'](),super['destroyObject']();}}
|
|
133
133
|
|
|
134
|
-
(function(
|
|
134
|
+
(function(_0x40d51e,_0x8eee59){var _0x43dd9e=_0x4dd5,_0x1e77e4=_0x40d51e();while(!![]){try{var _0x2890e5=parseInt(_0x43dd9e(0xbd))/0x1*(parseInt(_0x43dd9e(0xc4))/0x2)+parseInt(_0x43dd9e(0xc2))/0x3*(parseInt(_0x43dd9e(0xbc))/0x4)+-parseInt(_0x43dd9e(0xbe))/0x5+parseInt(_0x43dd9e(0xc0))/0x6+-parseInt(_0x43dd9e(0xba))/0x7*(-parseInt(_0x43dd9e(0xc1))/0x8)+parseInt(_0x43dd9e(0xc3))/0x9*(-parseInt(_0x43dd9e(0xbb))/0xa)+parseInt(_0x43dd9e(0xbf))/0xb;if(_0x2890e5===_0x8eee59)break;else _0x1e77e4['push'](_0x1e77e4['shift']());}catch(_0x2cfac2){_0x1e77e4['push'](_0x1e77e4['shift']());}}}(_0x119f,0xa33f9));function _0x4dd5(_0x1a06b5,_0x2e6030){_0x1a06b5=_0x1a06b5-0xba;var _0x119f11=_0x119f();var _0x4dd59d=_0x119f11[_0x1a06b5];return _0x4dd59d;}function _0x119f(){var _0x156f84=['813530ZeDusx','8XbYfEG','22738fVAJas','4900950HCobPR','3812699UKhvts','6959028rQKSzd','6328VJXVwj','107697FEfaew','99InEqHS','74iQzxWt','1099ydlRod'];_0x119f=function(){return _0x156f84;};return _0x119f();}class SphereComponent extends MeshComponent{constructor(_0x5bfa59,_0x148a09,_0x21fb63=new webgpu.MeshBasicMaterial(),_0x21333a=0x20,_0x1f8862=0x10,_0x2d9451){super(_0x5bfa59,new webgpu.SphereGeometry(_0x148a09,_0x21333a,_0x1f8862),_0x21fb63,_0x2d9451);}}
|
|
135
135
|
|
|
136
|
-
function
|
|
136
|
+
const _0x25622a=_0x41d1;function _0x2bd1(){const _0x110377=['innerHTML','680148dRXIoZ','isHoverEnabled','auto','element','stopPropagation','161937BFEpDe','isClickEnabled','obj','4LqEvax','1353910kpCisv','addEventListener','center','setVisible','remove','userData','threeObject','2973XULGMf','1236456ncruVF','enablePointerEvents','pointerEvents','parentNode','LYObject','1477392jRHfCl','pointerdown','style','destroy','31367FGJAqO','444rEWqFH'];_0x2bd1=function(){return _0x110377;};return _0x2bd1();}(function(_0x4ccc17,_0x404d0b){const _0x58f07d=_0x41d1,_0x16a730=_0x4ccc17();while(!![]){try{const _0x256d80=parseInt(_0x58f07d(0x105))/0x1+-parseInt(_0x58f07d(0xfe))/0x2*(parseInt(_0x58f07d(0xf3))/0x3)+parseInt(_0x58f07d(0x108))/0x4*(parseInt(_0x58f07d(0x109))/0x5)+-parseInt(_0x58f07d(0x100))/0x6+-parseInt(_0x58f07d(0xfd))/0x7+parseInt(_0x58f07d(0xf9))/0x8+-parseInt(_0x58f07d(0xf4))/0x9;if(_0x256d80===_0x404d0b)break;else _0x16a730['push'](_0x16a730['shift']());}catch(_0xe7d11f){_0x16a730['push'](_0x16a730['shift']());}}}(_0x2bd1,0x22b58));function _0x41d1(_0x49c7d6,_0x22088d){_0x49c7d6=_0x49c7d6-0xef;const _0x2bd141=_0x2bd1();let _0x41d1c6=_0x2bd141[_0x49c7d6];return _0x41d1c6;}class LabelComponent extends SceneComponent{get[_0x25622a(0xf2)](){const _0x14ab5b=_0x25622a;return this[_0x14ab5b(0x107)];}set[_0x25622a(0xf2)](_0x171429){const _0x4cd535=_0x25622a;this[_0x4cd535(0x107)]=_0x171429,this[_0x4cd535(0x107)]&&(this['obj'][_0x4cd535(0xf1)][_0x4cd535(0xf8)]=this);}constructor(_0x38a5e2,_0x1dfb5c,_0x387cec={},_0x1b13b7){const _0x511241=_0x25622a;super(_0x38a5e2,_0x1b13b7),this[_0x511241(0x107)]=new CSS2DRenderer_js.CSS2DObject(_0x1dfb5c);const _0x28e535=_0x387cec[_0x511241(0x10b)]||new webgpu.Vector2(0.5,0x1);_0x387cec[_0x511241(0xf5)]&&(_0x1dfb5c[_0x511241(0xfb)][_0x511241(0xf6)]=_0x511241(0x102),_0x1dfb5c[_0x511241(0x10a)](_0x511241(0xfa),_0x383c16=>{const _0x44e505=_0x511241;_0x383c16[_0x44e505(0x104)]();})),this[_0x511241(0x107)]['center']['copy'](_0x28e535);}set[_0x25622a(0x101)](_0x4141f3){return;}set[_0x25622a(0x106)](_0x587445){return;}[_0x25622a(0xef)](_0x2783c4){super['setVisible'](_0x2783c4);}[_0x25622a(0xfc)](){const _0xe0c135=_0x25622a;this['threeObject'][_0xe0c135(0x103)]&&this[_0xe0c135(0xf2)][_0xe0c135(0x103)][_0xe0c135(0xf7)]&&(this[_0xe0c135(0xf2)][_0xe0c135(0x103)][_0xe0c135(0xff)]='',this[_0xe0c135(0xf2)]['element'][_0xe0c135(0xf0)]()),super[_0xe0c135(0xfc)]();}}
|
|
137
137
|
|
|
138
|
-
function _0x2a68(){const _0x1e6788=['colorWrite','3173208IDAYNL','targetMesh','fromBufferAttribute','add','crossVectors','object','isArray','40lPYcVD','appendChild','parent','371vkxSwd','raycaster','tickFunc','about:blank','setAttribute','opacity','__alpha_punch','wrapper','length','addTickingFunction','auto','allow','createDefaultObject','height','floor','toneMapped','getX','getIndex','occlusionCandidates','createElement','div','cameraWorldPos','3359570nfugto','receiveShadow','src','threeObject\x20is\x20null','position','background','getAttribute','computeBoundingBox','push','rayDir','trim','backfaceVisibility','9QUNqJd','getWorldPosition','lengthSq','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','sort','boundingBox','name','visible','allowfullscreen','hidden','blendSrc','blending','threeObject','depthTest','alphaPunchMeshes','includes','dispose','distance','depthMaskMeshes','polygonOffsetFactor','fog','793250tFlABS','material','depthWrite','abs','quaternion','app','66yFouIW','pointerEvents','1438882GfhFvo','count','setFromUnitVectors','setupMasks','100%','subVectors','style','userData','getSize','none','rayIgnored','dataset','iframe','polygonOffset','filter','setupOcclusionTick','normalize','blendDstAlpha','3SuVgMS','lazy','panelWorldPos','normal','outer','257772MRiWVQ','removeFromParent','canvas','scale','CSS3DWebPanelComponent','min','width','231905PHlxqX','transparent','startsWith','traverse','viewport','removeTickingFunction','obj','meshes','polygonOffsetUnits','LYObject','intersectObjects','max','remove','37768MaWOsR','camera','renderOrder','world','set','destroy','round'];_0x2a68=function(){return _0x1e6788;};return _0x2a68();}const _0x968241=_0x5986;(function(_0x1b7630,_0x383b5b){const _0xe7ccc4=_0x5986,_0xe638c=_0x1b7630();while(!![]){try{const _0x10a665=-parseInt(_0xe7ccc4(0x98))/0x1+parseInt(_0xe7ccc4(0xa0))/0x2*(parseInt(_0xe7ccc4(0xb2))/0x3)+-parseInt(_0xe7ccc4(0xda))/0x4*(parseInt(_0xe7ccc4(0xbe))/0x5)+parseInt(_0xe7ccc4(0xd3))/0x6+-parseInt(_0xe7ccc4(0xdd))/0x7*(-parseInt(_0xe7ccc4(0xcb))/0x8)+parseInt(_0xe7ccc4(0xff))/0x9*(parseInt(_0xe7ccc4(0xf3))/0xa)+-parseInt(_0xe7ccc4(0x9e))/0xb*(parseInt(_0xe7ccc4(0xb7))/0xc);if(_0x10a665===_0x383b5b)break;else _0xe638c['push'](_0xe638c['shift']());}catch(_0x2a7da3){_0xe638c['push'](_0xe638c['shift']());}}}(_0x2a68,0x6d815));function _0x5986(_0x45073f,_0x1eee5e){_0x45073f=_0x45073f-0x96;const _0x2a684c=_0x2a68();let _0x59868b=_0x2a684c[_0x45073f];return _0x59868b;}function normalizeAssetUrl(_0x9e7b25){const _0x3c3c1e=_0x5986,_0x12e04f=String(_0x9e7b25!==null&&_0x9e7b25!==void 0?_0x9e7b25:'')[_0x3c3c1e(0xfd)]();if(!_0x12e04f)return '';if(/^https?:\/\//i['test'](_0x12e04f))return _0x12e04f;if(_0x12e04f[_0x3c3c1e(0xc0)]('/'))return _0x12e04f;return '/'+_0x12e04f;}function getMeshPlaneLocalSize(_0x179daf){const _0x403e6c=_0x5986,_0x42d7e4=_0x179daf['geometry'];if(!_0x42d7e4)return {'width':0x1,'height':0x1};if(!_0x42d7e4[_0x403e6c(0x104)])_0x42d7e4[_0x403e6c(0xfa)]();const _0x1ed771=_0x42d7e4[_0x403e6c(0x104)];if(!_0x1ed771)return {'width':0x1,'height':0x1};const _0x4f7a67=_0x1ed771[_0x403e6c(0xa8)](new three.Vector3()),_0x17942f=[Math[_0x403e6c(0x9b)](_0x4f7a67['x']),Math['abs'](_0x4f7a67['y']),Math[_0x403e6c(0x9b)](_0x4f7a67['z'])][_0x403e6c(0x103)]((_0x2c0115,_0x579236)=>_0x579236-_0x2c0115),_0x573a24=Math[_0x403e6c(0xc9)](0.0001,_0x17942f[0x0]||0x1),_0x5a34eb=Math[_0x403e6c(0xc9)](0.0001,_0x17942f[0x1]||_0x573a24);return {'width':_0x573a24,'height':_0x5a34eb};}function getMeshLocalNormal(_0xc2f5b6){const _0x1d7878=_0x5986,_0x25c0e6=_0xc2f5b6['geometry'];if(!_0x25c0e6)return new three.Vector3(0x0,0x0,0x1);const _0x5623c8=_0x25c0e6[_0x1d7878(0xf9)](_0x1d7878(0xb5));if(_0x5623c8&&_0x5623c8[_0x1d7878(0xa1)]>0x0){const _0x231519=new three.Vector3(),_0x30073e=new three.Vector3();for(let _0x5cbdbc=0x0;_0x5cbdbc<_0x5623c8[_0x1d7878(0xa1)];_0x5cbdbc++){_0x30073e[_0x1d7878(0xd5)](_0x5623c8,_0x5cbdbc),_0x231519['add'](_0x30073e);}if(_0x231519[_0x1d7878(0x101)]()>1e-12)return _0x231519[_0x1d7878(0xb0)]();}const _0x83c1f8=_0x25c0e6[_0x1d7878(0xf9)](_0x1d7878(0xf7));if(!_0x83c1f8||_0x83c1f8[_0x1d7878(0xa1)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x28e2d6=_0x25c0e6[_0x1d7878(0xee)](),_0x22857d=new three.Vector3(),_0x6f2a2e=new three.Vector3(),_0x323189=new three.Vector3(),_0x25bbb0=new three.Vector3(),_0x6c0e7f=new three.Vector3(),_0x430955=new three.Vector3(),_0x53f78a=new three.Vector3(),_0x318a23=_0x28e2d6?Math[_0x1d7878(0xeb)](_0x28e2d6[_0x1d7878(0xa1)]/0x3):Math[_0x1d7878(0xeb)](_0x83c1f8[_0x1d7878(0xa1)]/0x3);for(let _0x43ae08=0x0;_0x43ae08<_0x318a23;_0x43ae08++){const _0x16c101=_0x28e2d6?_0x28e2d6[_0x1d7878(0xed)](_0x43ae08*0x3+0x0):_0x43ae08*0x3+0x0,_0x144d2f=_0x28e2d6?_0x28e2d6['getX'](_0x43ae08*0x3+0x1):_0x43ae08*0x3+0x1,_0xb95af7=_0x28e2d6?_0x28e2d6[_0x1d7878(0xed)](_0x43ae08*0x3+0x2):_0x43ae08*0x3+0x2;_0x22857d['fromBufferAttribute'](_0x83c1f8,_0x16c101),_0x6f2a2e[_0x1d7878(0xd5)](_0x83c1f8,_0x144d2f),_0x323189[_0x1d7878(0xd5)](_0x83c1f8,_0xb95af7),_0x25bbb0[_0x1d7878(0xa5)](_0x6f2a2e,_0x22857d),_0x6c0e7f['subVectors'](_0x323189,_0x22857d),_0x53f78a[_0x1d7878(0xd7)](_0x25bbb0,_0x6c0e7f);if(_0x53f78a[_0x1d7878(0x101)]()<1e-14)continue;_0x430955[_0x1d7878(0xd6)](_0x53f78a);}if(_0x430955[_0x1d7878(0x101)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x430955['normalize']();}function collectOcclusionMeshes(_0x212d86){const _0x1da7bc=_0x5986,_0x3ac4a8=[];return _0x212d86[_0x1da7bc(0xc1)](_0x524798=>{const _0x16321b=_0x1da7bc;var _0x170a59;const _0x425e8f=_0x524798;if(!(_0x425e8f===null||_0x425e8f===void 0?void 0:_0x425e8f['isMesh']))return;if(!_0x524798[_0x16321b(0x106)])return;if((_0x170a59=_0x524798[_0x16321b(0xa7)])===null||_0x170a59===void 0?void 0:_0x170a59[_0x16321b(0xaa)])return;_0x3ac4a8['push'](_0x524798);}),_0x3ac4a8;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x968241(0x10b)](){const _0x2f2443=_0x968241;if(!this['obj'])throw new Error(_0x2f2443(0xf6));return this['obj'];}set[_0x968241(0x10b)](_0x4ed607){const _0x2e97e7=_0x968241;this[_0x2e97e7(0xc4)]=_0x4ed607,this[_0x2e97e7(0xc4)]&&(this[_0x2e97e7(0xc4)]['userData'][_0x2e97e7(0xc7)]=this);}constructor(_0x2d0435,_0x26be45,_0xbe4480,_0xf3f050){const _0x2d950c=_0x968241;super(_0x2d0435,_0xf3f050),this[_0x2d950c(0xe4)]=null,this[_0x2d950c(0xac)]=null,this[_0x2d950c(0xd4)]=null,this[_0x2d950c(0x111)]=[],this[_0x2d950c(0x10d)]=[],this['tickFunc']=null,this[_0x2d950c(0xf2)]=new three.Vector3(),this['panelWorldPos']=new three.Vector3(),this[_0x2d950c(0xfc)]=new three.Vector3(),this[_0x2d950c(0xde)]=new three.Raycaster(),this[_0x2d950c(0xef)]=[],this[_0x2d950c(0x105)]=_0x2d950c(0xbb),this[_0x2d950c(0xc5)]=_0x26be45[_0x2d950c(0xae)](_0x289949=>!!_0x289949);const _0x11bbc3=normalizeAssetUrl(_0xbe4480);if(!_0x11bbc3||!this[_0x2d950c(0xc5)][_0x2d950c(0xe5)])return;this['targetMesh']=this[_0x2d950c(0xc5)][0x0];const _0x23fb7b=getMeshPlaneLocalSize(this[_0x2d950c(0xd4)]),_0x5291dc=0x4b0,_0x496f72=Math['max'](0x200,Math[_0x2d950c(0xbc)](0x1000,Math['round'](_0x23fb7b[_0x2d950c(0xbd)]*_0x5291dc))),_0x44b0fd=Math['max'](0x200,Math[_0x2d950c(0xbc)](0x1000,Math[_0x2d950c(0xd1)](_0x23fb7b[_0x2d950c(0xea)]*_0x5291dc))),_0x5dd884=document['createElement']('div');_0x5dd884[_0x2d950c(0xa6)][_0x2d950c(0xbd)]=_0x496f72+'px',_0x5dd884[_0x2d950c(0xa6)][_0x2d950c(0xea)]=_0x44b0fd+'px',_0x5dd884[_0x2d950c(0xa6)][_0x2d950c(0x9f)]='auto',_0x5dd884['style']['overflow']='hidden',_0x5dd884[_0x2d950c(0xa6)][_0x2d950c(0xf8)]='transparent',_0x5dd884[_0x2d950c(0xa6)][_0x2d950c(0xfe)]=_0x2d950c(0x108),this[_0x2d950c(0xe4)]=_0x5dd884;const _0x2c24d6=document[_0x2d950c(0xf0)](_0x2d950c(0xac));_0x2c24d6[_0x2d950c(0xf5)]=_0x11bbc3,_0x2c24d6['style'][_0x2d950c(0xbd)]='100%',_0x2c24d6[_0x2d950c(0xa6)][_0x2d950c(0xea)]=_0x2d950c(0xa4),_0x2c24d6[_0x2d950c(0xa6)]['border']='0',_0x2c24d6[_0x2d950c(0xa6)][_0x2d950c(0xf8)]=_0x2d950c(0xbf),_0x2c24d6[_0x2d950c(0xa6)][_0x2d950c(0x9f)]='auto',_0x2c24d6['style'][_0x2d950c(0xfe)]=_0x2d950c(0x108),_0x2c24d6[_0x2d950c(0xe1)](_0x2d950c(0xe8),_0x2d950c(0x102)),_0x2c24d6[_0x2d950c(0xe1)](_0x2d950c(0x107),'true'),_0x2c24d6[_0x2d950c(0xe1)]('loading',_0x2d950c(0xb3)),_0x5dd884[_0x2d950c(0xdb)](_0x2c24d6),this['iframe']=_0x2c24d6;const _0xa65ff7=new Addons_js.CSS3DObject(_0x5dd884);_0xa65ff7['name']=(this[_0x2d950c(0xd4)]['name']||'wallboard')+'__css3d_web',_0xa65ff7['position'][_0x2d950c(0xcf)](0x0,0x0,0.001),_0xa65ff7[_0x2d950c(0x9c)][_0x2d950c(0xa2)](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this['targetMesh'])),_0xa65ff7['scale'][_0x2d950c(0xcf)](_0x23fb7b['width']/_0x496f72,_0x23fb7b['height']/_0x44b0fd,0x1),this['threeObject']=_0xa65ff7,this['targetMesh'][_0x2d950c(0xd6)](_0xa65ff7),this[_0x2d950c(0xa3)](),this[_0x2d950c(0xef)]=collectOcclusionMeshes(this[_0x2d950c(0x9d)][_0x2d950c(0xce)]['scene']),this[_0x2d950c(0xaf)]();}[_0x968241(0xe9)](){const _0x1d2d16=_0x968241;return new Addons_js.CSS3DObject(document['createElement'](_0x1d2d16(0xf1)));}[_0x968241(0xa3)](){const _0x574fa2=_0x968241;var _0x42a933;for(const _0xc70a75 of this[_0x574fa2(0xc5)]){_0xc70a75[_0x574fa2(0xcd)]=Math[_0x574fa2(0xbc)]((_0x42a933=_0xc70a75[_0x574fa2(0xcd)])!==null&&_0x42a933!==void 0?_0x42a933:0x0,-1e3),_0xc70a75['castShadow']=![],_0xc70a75[_0x574fa2(0xf4)]=![];const _0x28e5c5=Array[_0x574fa2(0xd9)](_0xc70a75[_0x574fa2(0x99)])?_0xc70a75[_0x574fa2(0x99)]:[_0xc70a75[_0x574fa2(0x99)]];for(const _0x587128 of _0x28e5c5){const _0x46f464=_0x587128;if(!_0x46f464)continue;_0x46f464['transparent']=!![],_0x46f464[_0x574fa2(0xe2)]=0x0,_0x46f464[_0x574fa2(0xd2)]=![],_0x46f464[_0x574fa2(0x10c)]=![],_0x46f464[_0x574fa2(0x9a)]=![],_0x46f464['needsUpdate']=!![];}const _0x379e48=_0xc70a75['geometry'];if(!_0x379e48)continue;const _0x3eb2ff=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x3eb2ff[_0x574fa2(0xd2)]=![],_0x3eb2ff[_0x574fa2(0xec)]=![],_0x3eb2ff[_0x574fa2(0x97)]=![],_0x3eb2ff[_0x574fa2(0x10a)]=three.NoBlending,_0x3eb2ff[_0x574fa2(0xad)]=!![],_0x3eb2ff[_0x574fa2(0x96)]=-4,_0x3eb2ff[_0x574fa2(0xc6)]=-4;const _0x30d503=new three.Mesh(_0x379e48,_0x3eb2ff);_0x30d503[_0x574fa2(0x105)]=(_0xc70a75[_0x574fa2(0x105)]||_0x574fa2(0xb9))+'__depth_mask',_0x30d503['userData']['rayIgnored']=!![],_0x30d503['renderOrder']=Math[_0x574fa2(0xbc)](_0xc70a75['renderOrder']-0x1,-2e3),_0x30d503[_0x574fa2(0xf7)]['set'](0x0,0x0,0x0),_0x30d503[_0x574fa2(0x9c)][_0x574fa2(0xcf)](0x0,0x0,0x0,0x1),_0x30d503[_0x574fa2(0xba)]['set'](0x1,0x1,0x1),_0xc70a75[_0x574fa2(0xd6)](_0x30d503),this[_0x574fa2(0x111)][_0x574fa2(0xfb)](_0x30d503);const _0x510e3f=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x510e3f[_0x574fa2(0xec)]=![],_0x510e3f[_0x574fa2(0x97)]=![],_0x510e3f['blendEquation']=three.AddEquation,_0x510e3f[_0x574fa2(0x109)]=three.ZeroFactor,_0x510e3f['blendDst']=three.OneFactor,_0x510e3f['blendSrcAlpha']=three.ZeroFactor,_0x510e3f[_0x574fa2(0xb1)]=three.ZeroFactor;const _0x5d1c78=new three.Mesh(_0x379e48,_0x510e3f);_0x5d1c78[_0x574fa2(0x105)]=(_0xc70a75[_0x574fa2(0x105)]||'canvas')+_0x574fa2(0xe3),_0x5d1c78[_0x574fa2(0xa7)][_0x574fa2(0xaa)]=!![],_0x5d1c78[_0x574fa2(0xcd)]=Math['max'](_0xc70a75[_0x574fa2(0xcd)]+0x3e8,0x3e8),_0x5d1c78[_0x574fa2(0xf7)][_0x574fa2(0xcf)](0x0,0x0,0x0),_0x5d1c78[_0x574fa2(0x9c)][_0x574fa2(0xcf)](0x0,0x0,0x0,0x1),_0x5d1c78['scale'][_0x574fa2(0xcf)](0x1,0x1,0x1),_0xc70a75[_0x574fa2(0xd6)](_0x5d1c78),this[_0x574fa2(0x10d)][_0x574fa2(0xfb)](_0x5d1c78);}}[_0x968241(0xaf)](){const _0x364040=_0x968241;let _0xdc1fb1=0x0;this[_0x364040(0xdf)]=_0x1d1065=>{const _0x13de33=_0x364040;var _0x191a63;if(!this['targetMesh']||!this[_0x13de33(0xe4)]||!this[_0x13de33(0xac)])return;_0xdc1fb1+=_0x1d1065;if(_0xdc1fb1<0.05)return;_0xdc1fb1=0x0;const _0x197bfe=this[_0x13de33(0x9d)][_0x13de33(0xcc)];_0x197bfe[_0x13de33(0x100)](this[_0x13de33(0xf2)]),this[_0x13de33(0xd4)][_0x13de33(0x100)](this[_0x13de33(0xb4)]),this['rayDir']['subVectors'](this[_0x13de33(0xb4)],this[_0x13de33(0xf2)]);const _0x43cb0b=this[_0x13de33(0xfc)][_0x13de33(0xe5)]();if(_0x43cb0b<=0.00001)return;this[_0x13de33(0xfc)]['divideScalar'](_0x43cb0b),this[_0x13de33(0xde)][_0x13de33(0xcf)](this[_0x13de33(0xf2)],this[_0x13de33(0xfc)]);const _0x2bd013=this[_0x13de33(0xde)][_0x13de33(0xc8)](this[_0x13de33(0xef)],!![]);let _0x2cc64a=![];const _0x2599f7=_0x43cb0b-0.02;for(const _0x113419 of _0x2bd013){if(_0x113419[_0x13de33(0x110)]>=_0x2599f7)break;let _0x1f51db=_0x113419[_0x13de33(0xd8)],_0x2f09a6=!![];while(_0x1f51db){if(!_0x1f51db['visible']){_0x2f09a6=![];break;}_0x1f51db=_0x1f51db[_0x13de33(0xdc)];}if(!_0x2f09a6)continue;_0x1f51db=_0x113419[_0x13de33(0xd8)];let _0x187baf=![];while(_0x1f51db){if(this['meshes'][_0x13de33(0x10e)](_0x1f51db)){_0x187baf=!![];break;}_0x1f51db=_0x1f51db['parent'];}if(_0x187baf)continue;_0x2cc64a=!![];break;}const _0x141498=((_0x191a63=this['app'][_0x13de33(0xc2)][_0x13de33(0xb6)])===null||_0x191a63===void 0?void 0:_0x191a63[_0x13de33(0xab)]['lyCameraDragging'])==='1',_0x5085ab=_0x141498||_0x2cc64a?_0x13de33(0xa9):_0x13de33(0xe7);this['wrapper']['style'][_0x13de33(0x9f)]!==_0x5085ab&&(this[_0x13de33(0xe4)][_0x13de33(0xa6)][_0x13de33(0x9f)]=_0x5085ab),this['iframe']['style'][_0x13de33(0x9f)]!==_0x5085ab&&(this[_0x13de33(0xac)]['style']['pointerEvents']=_0x5085ab);},this['app'][_0x364040(0xe6)](this['tickFunc']);}['destroy'](){const _0x18c2a8=_0x968241;this[_0x18c2a8(0xdf)]&&(this[_0x18c2a8(0x9d)][_0x18c2a8(0xc3)](this[_0x18c2a8(0xdf)]),this[_0x18c2a8(0xdf)]=null);for(const _0x43d549 of this[_0x18c2a8(0x111)]){_0x43d549[_0x18c2a8(0xb8)]();const _0x28f6c8=_0x43d549[_0x18c2a8(0x99)];if(Array[_0x18c2a8(0xd9)](_0x28f6c8)){for(const _0x416b29 of _0x28f6c8)_0x416b29===null||_0x416b29===void 0?void 0:_0x416b29['dispose']();}else _0x28f6c8===null||_0x28f6c8===void 0?void 0:_0x28f6c8['dispose']();}this[_0x18c2a8(0x111)][_0x18c2a8(0xe5)]=0x0;for(const _0xf1fb41 of this[_0x18c2a8(0x10d)]){_0xf1fb41['removeFromParent']();const _0x5e04e6=_0xf1fb41[_0x18c2a8(0x99)];if(Array[_0x18c2a8(0xd9)](_0x5e04e6)){for(const _0x3fe529 of _0x5e04e6)_0x3fe529===null||_0x3fe529===void 0?void 0:_0x3fe529[_0x18c2a8(0x10f)]();}else _0x5e04e6===null||_0x5e04e6===void 0?void 0:_0x5e04e6[_0x18c2a8(0x10f)]();}this['alphaPunchMeshes']['length']=0x0,this[_0x18c2a8(0xac)]&&(this[_0x18c2a8(0xac)][_0x18c2a8(0xf5)]=_0x18c2a8(0xe0),this[_0x18c2a8(0xac)]=null),this[_0x18c2a8(0xe4)]&&(this[_0x18c2a8(0xe4)][_0x18c2a8(0xca)](),this[_0x18c2a8(0xe4)]=null),this['targetMesh']=null,this[_0x18c2a8(0xef)]=[],super[_0x18c2a8(0xd0)]();}}
|
|
138
|
+
const _0x203c28=_0x1943;function _0x1943(_0x34bf44,_0xded11a){_0x34bf44=_0x34bf44-0xc0;const _0xd0f304=_0xd0f3();let _0x194339=_0xd0f304[_0x34bf44];return _0x194339;}(function(_0x4f0945,_0x180922){const _0x1ee49d=_0x1943,_0x14d3f6=_0x4f0945();while(!![]){try{const _0x1db3e6=-parseInt(_0x1ee49d(0xc0))/0x1*(parseInt(_0x1ee49d(0xf4))/0x2)+parseInt(_0x1ee49d(0x109))/0x3*(-parseInt(_0x1ee49d(0x108))/0x4)+-parseInt(_0x1ee49d(0xcc))/0x5+-parseInt(_0x1ee49d(0xdf))/0x6+parseInt(_0x1ee49d(0x101))/0x7+-parseInt(_0x1ee49d(0x115))/0x8+parseInt(_0x1ee49d(0x132))/0x9*(parseInt(_0x1ee49d(0xef))/0xa);if(_0x1db3e6===_0x180922)break;else _0x14d3f6['push'](_0x14d3f6['shift']());}catch(_0x54e1f9){_0x14d3f6['push'](_0x14d3f6['shift']());}}}(_0xd0f3,0x66f41));function _0xd0f3(){const _0x5abddc=['createElement','background','sort','src','abs','crossVectors','parent','rayIgnored','setFromUnitVectors','normalize','601245lOZYXi','setAttribute','blendEquation','fog','scene','iframe','depthTest','object','allow','scale','getAttribute','appendChild','add','visible','length','needsUpdate','startsWith','polygonOffsetUnits','CSS3DWebPanelComponent','2127336xpFvJT','setupMasks','div','depthMaskMeshes','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','__depth_mask','isMesh','count','none','divideScalar','addTickingFunction','width','filter','LYObject','test','set','17612460tPFplP','round','getIndex','wrapper','colorWrite','145546deINiQ','obj','quaternion','occlusionCandidates','getWorldPosition','trim','alphaPunchMeshes','viewport','hidden','destroy','style','dataset','raycaster','4871615dkmcvt','auto','lengthSq','blendDst','backfaceVisibility','canvas','true','76yifDRD','115953MQNtEp','100%','material','height','intersectObjects','blendSrcAlpha','geometry','removeTickingFunction','overflow','polygonOffset','createDefaultObject','panelWorldPos','6028376kidHzD','meshes','cameraWorldPos','floor','world','getX','userData','castShadow','threeObject','toneMapped','subVectors','__alpha_punch','max','lyCameraDragging','blendSrc','pointerEvents','renderOrder','min','traverse','includes','dispose','allowfullscreen','tickFunc','boundingBox','rayDir','app','isArray','position','distance','9apzBJH','polygonOffsetFactor','fromBufferAttribute','camera','removeFromParent','transparent','setupOcclusionTick','name','receiveShadow','1AKXBeU','targetMesh'];_0xd0f3=function(){return _0x5abddc;};return _0xd0f3();}function normalizeAssetUrl(_0x4e062a){const _0x2c4d5f=_0x1943,_0x1887a1=String(_0x4e062a!==null&&_0x4e062a!==void 0?_0x4e062a:'')[_0x2c4d5f(0xf9)]();if(!_0x1887a1)return '';if(/^https?:\/\//i[_0x2c4d5f(0xed)](_0x1887a1))return _0x1887a1;if(_0x1887a1[_0x2c4d5f(0xdc)]('/'))return _0x1887a1;return '/'+_0x1887a1;}function getMeshPlaneLocalSize(_0x3d9976){const _0x458a5f=_0x1943,_0x55cf99=_0x3d9976[_0x458a5f(0x10f)];if(!_0x55cf99)return {'width':0x1,'height':0x1};if(!_0x55cf99['boundingBox'])_0x55cf99['computeBoundingBox']();const _0x1b6d99=_0x55cf99[_0x458a5f(0x12c)];if(!_0x1b6d99)return {'width':0x1,'height':0x1};const _0x50a911=_0x1b6d99['getSize'](new three.Vector3()),_0x1afca4=[Math['abs'](_0x50a911['x']),Math[_0x458a5f(0xc6)](_0x50a911['y']),Math[_0x458a5f(0xc6)](_0x50a911['z'])][_0x458a5f(0xc4)]((_0x34e7b1,_0x3a9f34)=>_0x3a9f34-_0x34e7b1),_0x14a427=Math[_0x458a5f(0x121)](0.0001,_0x1afca4[0x0]||0x1),_0x1354df=Math[_0x458a5f(0x121)](0.0001,_0x1afca4[0x1]||_0x14a427);return {'width':_0x14a427,'height':_0x1354df};}function getMeshLocalNormal(_0x11ff1d){const _0x384ead=_0x1943,_0x2b3022=_0x11ff1d[_0x384ead(0x10f)];if(!_0x2b3022)return new three.Vector3(0x0,0x0,0x1);const _0x5ed259=_0x2b3022[_0x384ead(0xd6)]('normal');if(_0x5ed259&&_0x5ed259[_0x384ead(0xe6)]>0x0){const _0x35b8f7=new three.Vector3(),_0x244662=new three.Vector3();for(let _0x36ccfc=0x0;_0x36ccfc<_0x5ed259['count'];_0x36ccfc++){_0x244662[_0x384ead(0x134)](_0x5ed259,_0x36ccfc),_0x35b8f7[_0x384ead(0xd8)](_0x244662);}if(_0x35b8f7[_0x384ead(0x103)]()>1e-12)return _0x35b8f7[_0x384ead(0xcb)]();}const _0x497aca=_0x2b3022[_0x384ead(0xd6)](_0x384ead(0x130));if(!_0x497aca||_0x497aca[_0x384ead(0xe6)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x1e65fe=_0x2b3022[_0x384ead(0xf1)](),_0x4f403d=new three.Vector3(),_0x4cdefa=new three.Vector3(),_0x3d34c3=new three.Vector3(),_0x9f8a12=new three.Vector3(),_0x48dfd9=new three.Vector3(),_0x1e67e4=new three.Vector3(),_0x4ffbe6=new three.Vector3(),_0x30845b=_0x1e65fe?Math[_0x384ead(0x118)](_0x1e65fe[_0x384ead(0xe6)]/0x3):Math[_0x384ead(0x118)](_0x497aca[_0x384ead(0xe6)]/0x3);for(let _0x2fbf8f=0x0;_0x2fbf8f<_0x30845b;_0x2fbf8f++){const _0x27ae9f=_0x1e65fe?_0x1e65fe[_0x384ead(0x11a)](_0x2fbf8f*0x3+0x0):_0x2fbf8f*0x3+0x0,_0x838ebb=_0x1e65fe?_0x1e65fe[_0x384ead(0x11a)](_0x2fbf8f*0x3+0x1):_0x2fbf8f*0x3+0x1,_0x3e1073=_0x1e65fe?_0x1e65fe[_0x384ead(0x11a)](_0x2fbf8f*0x3+0x2):_0x2fbf8f*0x3+0x2;_0x4f403d[_0x384ead(0x134)](_0x497aca,_0x27ae9f),_0x4cdefa['fromBufferAttribute'](_0x497aca,_0x838ebb),_0x3d34c3['fromBufferAttribute'](_0x497aca,_0x3e1073),_0x9f8a12[_0x384ead(0x11f)](_0x4cdefa,_0x4f403d),_0x48dfd9[_0x384ead(0x11f)](_0x3d34c3,_0x4f403d),_0x4ffbe6[_0x384ead(0xc7)](_0x9f8a12,_0x48dfd9);if(_0x4ffbe6['lengthSq']()<1e-14)continue;_0x1e67e4[_0x384ead(0xd8)](_0x4ffbe6);}if(_0x1e67e4[_0x384ead(0x103)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x1e67e4[_0x384ead(0xcb)]();}function collectOcclusionMeshes(_0x1e0b8b){const _0x36e7eb=_0x1943,_0x2a315d=[];return _0x1e0b8b[_0x36e7eb(0x127)](_0x59ac94=>{const _0x128c7b=_0x36e7eb;var _0x3b40b5;const _0x741bc7=_0x59ac94;if(!(_0x741bc7===null||_0x741bc7===void 0?void 0:_0x741bc7[_0x128c7b(0xe5)]))return;if(!_0x59ac94[_0x128c7b(0xd9)])return;if((_0x3b40b5=_0x59ac94[_0x128c7b(0x11b)])===null||_0x3b40b5===void 0?void 0:_0x3b40b5['rayIgnored'])return;_0x2a315d['push'](_0x59ac94);}),_0x2a315d;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x203c28(0x11d)](){const _0x38bcd8=_0x203c28;if(!this['obj'])throw new Error('threeObject\x20is\x20null');return this[_0x38bcd8(0xf5)];}set[_0x203c28(0x11d)](_0x5b0adc){const _0x420673=_0x203c28;this[_0x420673(0xf5)]=_0x5b0adc,this['obj']&&(this['obj'][_0x420673(0x11b)][_0x420673(0xec)]=this);}constructor(_0x33a1c3,_0x4173e4,_0x1a51aa,_0xe04c07){const _0x340c85=_0x203c28;super(_0x33a1c3,_0xe04c07),this[_0x340c85(0xf2)]=null,this[_0x340c85(0xd1)]=null,this['targetMesh']=null,this[_0x340c85(0xe2)]=[],this[_0x340c85(0xfa)]=[],this[_0x340c85(0x12b)]=null,this[_0x340c85(0x117)]=new three.Vector3(),this[_0x340c85(0x114)]=new three.Vector3(),this[_0x340c85(0x12d)]=new three.Vector3(),this[_0x340c85(0x100)]=new three.Raycaster(),this[_0x340c85(0xf7)]=[],this['name']=_0x340c85(0xde),this['meshes']=_0x4173e4[_0x340c85(0xeb)](_0x16c68d=>!!_0x16c68d);const _0x40312d=normalizeAssetUrl(_0x1a51aa);if(!_0x40312d||!this[_0x340c85(0x116)][_0x340c85(0xda)])return;this[_0x340c85(0xc1)]=this[_0x340c85(0x116)][0x0];const _0x20672a=getMeshPlaneLocalSize(this[_0x340c85(0xc1)]),_0x2b0917=0x4b0,_0x130794=Math[_0x340c85(0x121)](0x200,Math['min'](0x1000,Math[_0x340c85(0xf0)](_0x20672a[_0x340c85(0xea)]*_0x2b0917))),_0x1460e3=Math[_0x340c85(0x121)](0x200,Math[_0x340c85(0x126)](0x1000,Math[_0x340c85(0xf0)](_0x20672a['height']*_0x2b0917))),_0xe3e963=document[_0x340c85(0xc2)](_0x340c85(0xe1));_0xe3e963[_0x340c85(0xfe)][_0x340c85(0xea)]=_0x130794+'px',_0xe3e963[_0x340c85(0xfe)][_0x340c85(0x10c)]=_0x1460e3+'px',_0xe3e963['style']['pointerEvents']=_0x340c85(0x102),_0xe3e963['style'][_0x340c85(0x111)]=_0x340c85(0xfc),_0xe3e963[_0x340c85(0xfe)][_0x340c85(0xc3)]=_0x340c85(0x137),_0xe3e963[_0x340c85(0xfe)]['backfaceVisibility']=_0x340c85(0xfc),this[_0x340c85(0xf2)]=_0xe3e963;const _0x2bb3a6=document[_0x340c85(0xc2)](_0x340c85(0xd1));_0x2bb3a6[_0x340c85(0xc5)]=_0x40312d,_0x2bb3a6[_0x340c85(0xfe)][_0x340c85(0xea)]='100%',_0x2bb3a6[_0x340c85(0xfe)][_0x340c85(0x10c)]=_0x340c85(0x10a),_0x2bb3a6[_0x340c85(0xfe)]['border']='0',_0x2bb3a6[_0x340c85(0xfe)][_0x340c85(0xc3)]='transparent',_0x2bb3a6['style'][_0x340c85(0x124)]=_0x340c85(0x102),_0x2bb3a6[_0x340c85(0xfe)][_0x340c85(0x105)]=_0x340c85(0xfc),_0x2bb3a6['setAttribute'](_0x340c85(0xd4),_0x340c85(0xe3)),_0x2bb3a6[_0x340c85(0xcd)](_0x340c85(0x12a),_0x340c85(0x107)),_0x2bb3a6[_0x340c85(0xcd)]('loading','lazy'),_0xe3e963[_0x340c85(0xd7)](_0x2bb3a6),this['iframe']=_0x2bb3a6;const _0x5ebdab=new Addons_js.CSS3DObject(_0xe3e963);_0x5ebdab[_0x340c85(0x139)]=(this[_0x340c85(0xc1)][_0x340c85(0x139)]||'wallboard')+'__css3d_web',_0x5ebdab['position'][_0x340c85(0xee)](0x0,0x0,0.001),_0x5ebdab['quaternion'][_0x340c85(0xca)](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this[_0x340c85(0xc1)])),_0x5ebdab['scale'][_0x340c85(0xee)](_0x20672a[_0x340c85(0xea)]/_0x130794,_0x20672a[_0x340c85(0x10c)]/_0x1460e3,0x1),this[_0x340c85(0x11d)]=_0x5ebdab,this[_0x340c85(0xc1)][_0x340c85(0xd8)](_0x5ebdab),this[_0x340c85(0xe0)](),this[_0x340c85(0xf7)]=collectOcclusionMeshes(this[_0x340c85(0x12e)][_0x340c85(0x119)][_0x340c85(0xd0)]),this[_0x340c85(0x138)]();}[_0x203c28(0x113)](){return new Addons_js.CSS3DObject(document['createElement']('div'));}[_0x203c28(0xe0)](){const _0x356282=_0x203c28;var _0x217d0d;for(const _0x51606c of this['meshes']){_0x51606c[_0x356282(0x125)]=Math['min']((_0x217d0d=_0x51606c['renderOrder'])!==null&&_0x217d0d!==void 0?_0x217d0d:0x0,-1e3),_0x51606c[_0x356282(0x11c)]=![],_0x51606c[_0x356282(0x13a)]=![];const _0x112b3b=Array['isArray'](_0x51606c[_0x356282(0x10b)])?_0x51606c['material']:[_0x51606c[_0x356282(0x10b)]];for(const _0xfc492f of _0x112b3b){const _0x182f7b=_0xfc492f;if(!_0x182f7b)continue;_0x182f7b[_0x356282(0x137)]=!![],_0x182f7b['opacity']=0x0,_0x182f7b[_0x356282(0xf3)]=![],_0x182f7b[_0x356282(0xd2)]=![],_0x182f7b['depthWrite']=![],_0x182f7b[_0x356282(0xdb)]=!![];}const _0x400740=_0x51606c['geometry'];if(!_0x400740)continue;const _0x3e39d8=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x3e39d8[_0x356282(0xf3)]=![],_0x3e39d8[_0x356282(0x11e)]=![],_0x3e39d8[_0x356282(0xcf)]=![],_0x3e39d8['blending']=three.NoBlending,_0x3e39d8[_0x356282(0x112)]=!![],_0x3e39d8[_0x356282(0x133)]=-4,_0x3e39d8[_0x356282(0xdd)]=-4;const _0x20ef7f=new three.Mesh(_0x400740,_0x3e39d8);_0x20ef7f[_0x356282(0x139)]=(_0x51606c[_0x356282(0x139)]||_0x356282(0x106))+_0x356282(0xe4),_0x20ef7f[_0x356282(0x11b)][_0x356282(0xc9)]=!![],_0x20ef7f[_0x356282(0x125)]=Math[_0x356282(0x126)](_0x51606c[_0x356282(0x125)]-0x1,-2e3),_0x20ef7f['position'][_0x356282(0xee)](0x0,0x0,0x0),_0x20ef7f[_0x356282(0xf6)][_0x356282(0xee)](0x0,0x0,0x0,0x1),_0x20ef7f[_0x356282(0xd5)][_0x356282(0xee)](0x1,0x1,0x1),_0x51606c[_0x356282(0xd8)](_0x20ef7f),this[_0x356282(0xe2)]['push'](_0x20ef7f);const _0x3c7c4b=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x3c7c4b['toneMapped']=![],_0x3c7c4b[_0x356282(0xcf)]=![],_0x3c7c4b[_0x356282(0xce)]=three.AddEquation,_0x3c7c4b[_0x356282(0x123)]=three.ZeroFactor,_0x3c7c4b[_0x356282(0x104)]=three.OneFactor,_0x3c7c4b[_0x356282(0x10e)]=three.ZeroFactor,_0x3c7c4b['blendDstAlpha']=three.ZeroFactor;const _0x566b43=new three.Mesh(_0x400740,_0x3c7c4b);_0x566b43[_0x356282(0x139)]=(_0x51606c[_0x356282(0x139)]||_0x356282(0x106))+_0x356282(0x120),_0x566b43[_0x356282(0x11b)][_0x356282(0xc9)]=!![],_0x566b43['renderOrder']=Math[_0x356282(0x121)](_0x51606c['renderOrder']+0x3e8,0x3e8),_0x566b43[_0x356282(0x130)][_0x356282(0xee)](0x0,0x0,0x0),_0x566b43['quaternion'][_0x356282(0xee)](0x0,0x0,0x0,0x1),_0x566b43[_0x356282(0xd5)][_0x356282(0xee)](0x1,0x1,0x1),_0x51606c[_0x356282(0xd8)](_0x566b43),this[_0x356282(0xfa)]['push'](_0x566b43);}}[_0x203c28(0x138)](){const _0x5f99f0=_0x203c28;let _0x472c5d=0x0;this[_0x5f99f0(0x12b)]=_0xb74aa6=>{const _0x12eb94=_0x5f99f0;var _0x309bd8;if(!this[_0x12eb94(0xc1)]||!this[_0x12eb94(0xf2)]||!this[_0x12eb94(0xd1)])return;_0x472c5d+=_0xb74aa6;if(_0x472c5d<0.05)return;_0x472c5d=0x0;const _0x4e55f1=this[_0x12eb94(0x12e)][_0x12eb94(0x135)];_0x4e55f1[_0x12eb94(0xf8)](this['cameraWorldPos']),this[_0x12eb94(0xc1)][_0x12eb94(0xf8)](this['panelWorldPos']),this[_0x12eb94(0x12d)]['subVectors'](this['panelWorldPos'],this[_0x12eb94(0x117)]);const _0xb6c3d=this[_0x12eb94(0x12d)]['length']();if(_0xb6c3d<=0.00001)return;this[_0x12eb94(0x12d)][_0x12eb94(0xe8)](_0xb6c3d),this[_0x12eb94(0x100)][_0x12eb94(0xee)](this[_0x12eb94(0x117)],this[_0x12eb94(0x12d)]);const _0x5b0073=this['raycaster'][_0x12eb94(0x10d)](this[_0x12eb94(0xf7)],!![]);let _0x5a67dc=![];const _0x7793f7=_0xb6c3d-0.02;for(const _0x21575a of _0x5b0073){if(_0x21575a[_0x12eb94(0x131)]>=_0x7793f7)break;let _0x1aeddc=_0x21575a[_0x12eb94(0xd3)],_0x15f868=!![];while(_0x1aeddc){if(!_0x1aeddc[_0x12eb94(0xd9)]){_0x15f868=![];break;}_0x1aeddc=_0x1aeddc[_0x12eb94(0xc8)];}if(!_0x15f868)continue;_0x1aeddc=_0x21575a['object'];let _0x1f8b6d=![];while(_0x1aeddc){if(this[_0x12eb94(0x116)][_0x12eb94(0x128)](_0x1aeddc)){_0x1f8b6d=!![];break;}_0x1aeddc=_0x1aeddc[_0x12eb94(0xc8)];}if(_0x1f8b6d)continue;_0x5a67dc=!![];break;}const _0x16dd9e=((_0x309bd8=this['app'][_0x12eb94(0xfb)]['outer'])===null||_0x309bd8===void 0?void 0:_0x309bd8[_0x12eb94(0xff)][_0x12eb94(0x122)])==='1',_0x4a560c=_0x16dd9e||_0x5a67dc?_0x12eb94(0xe7):_0x12eb94(0x102);this[_0x12eb94(0xf2)][_0x12eb94(0xfe)][_0x12eb94(0x124)]!==_0x4a560c&&(this[_0x12eb94(0xf2)][_0x12eb94(0xfe)]['pointerEvents']=_0x4a560c),this['iframe'][_0x12eb94(0xfe)]['pointerEvents']!==_0x4a560c&&(this['iframe'][_0x12eb94(0xfe)][_0x12eb94(0x124)]=_0x4a560c);},this[_0x5f99f0(0x12e)][_0x5f99f0(0xe9)](this['tickFunc']);}[_0x203c28(0xfd)](){const _0x2c64f2=_0x203c28;this[_0x2c64f2(0x12b)]&&(this['app'][_0x2c64f2(0x110)](this[_0x2c64f2(0x12b)]),this[_0x2c64f2(0x12b)]=null);for(const _0x4b945e of this[_0x2c64f2(0xe2)]){_0x4b945e['removeFromParent']();const _0x26d188=_0x4b945e[_0x2c64f2(0x10b)];if(Array[_0x2c64f2(0x12f)](_0x26d188)){for(const _0x517047 of _0x26d188)_0x517047===null||_0x517047===void 0?void 0:_0x517047['dispose']();}else _0x26d188===null||_0x26d188===void 0?void 0:_0x26d188[_0x2c64f2(0x129)]();}this['depthMaskMeshes'][_0x2c64f2(0xda)]=0x0;for(const _0xd45255 of this[_0x2c64f2(0xfa)]){_0xd45255[_0x2c64f2(0x136)]();const _0x4d6e25=_0xd45255[_0x2c64f2(0x10b)];if(Array[_0x2c64f2(0x12f)](_0x4d6e25)){for(const _0x65911 of _0x4d6e25)_0x65911===null||_0x65911===void 0?void 0:_0x65911[_0x2c64f2(0x129)]();}else _0x4d6e25===null||_0x4d6e25===void 0?void 0:_0x4d6e25[_0x2c64f2(0x129)]();}this['alphaPunchMeshes'][_0x2c64f2(0xda)]=0x0,this['iframe']&&(this[_0x2c64f2(0xd1)][_0x2c64f2(0xc5)]='about:blank',this[_0x2c64f2(0xd1)]=null),this[_0x2c64f2(0xf2)]&&(this[_0x2c64f2(0xf2)]['remove'](),this[_0x2c64f2(0xf2)]=null),this[_0x2c64f2(0xc1)]=null,this[_0x2c64f2(0xf7)]=[],super[_0x2c64f2(0xfd)]();}}
|
|
139
139
|
|
|
140
|
-
const
|
|
140
|
+
const _0x553057=_0x2b61;function _0x2b61(_0xf6a973,_0x511227){_0xf6a973=_0xf6a973-0xe0;const _0x196202=_0x1962();let _0x2b618b=_0x196202[_0xf6a973];return _0x2b618b;}(function(_0x43d70f,_0x2bbe4b){const _0x456bb5=_0x2b61,_0x25000b=_0x43d70f();while(!![]){try{const _0x3bc183=-parseInt(_0x456bb5(0x121))/0x1+parseInt(_0x456bb5(0x10a))/0x2+parseInt(_0x456bb5(0x112))/0x3+-parseInt(_0x456bb5(0xf7))/0x4+parseInt(_0x456bb5(0x10d))/0x5*(-parseInt(_0x456bb5(0x11c))/0x6)+parseInt(_0x456bb5(0x124))/0x7+parseInt(_0x456bb5(0xe5))/0x8;if(_0x3bc183===_0x2bbe4b)break;else _0x25000b['push'](_0x25000b['shift']());}catch(_0x44b0b7){_0x25000b['push'](_0x25000b['shift']());}}}(_0x1962,0x9efe5));class Text3DComponent extends SceneComponent{constructor(_0x2ee8cb,_0x4f5954,_0x19d8d1){const _0x2b773d=_0x2b61;super(_0x2ee8cb,_0x19d8d1),this['_text']=_0x2b773d(0xf9),this[_0x2b773d(0xf2)]=_0x2b773d(0x119),this['_size']=0x1,this[_0x2b773d(0x100)]=0.2,this[_0x2b773d(0xff)]=0xc,this['_bevelEnabled']=![],this[_0x2b773d(0xec)]=0.03,this[_0x2b773d(0xe1)]=0.02,this[_0x2b773d(0x109)]=0x0,this[_0x2b773d(0x110)]=0x5,this['_color']=_0x2b773d(0x113),this['_sideColor']=_0x2b773d(0x113),this[_0x2b773d(0x120)]=!![],this['_font']=null,this['_mesh']=null,this[_0x2b773d(0x107)]=this[_0x2b773d(0x115)];if(_0x4f5954){if(_0x4f5954[_0x2b773d(0xf8)]!==undefined)this['_text']=_0x4f5954['text'];if(_0x4f5954[_0x2b773d(0x11f)]!==undefined)this[_0x2b773d(0xf2)]=_0x4f5954[_0x2b773d(0x11f)];if(_0x4f5954[_0x2b773d(0xe4)]!==undefined)this[_0x2b773d(0x108)]=_0x4f5954[_0x2b773d(0xe4)];if(_0x4f5954[_0x2b773d(0x101)]!==undefined)this[_0x2b773d(0x100)]=_0x4f5954[_0x2b773d(0x101)];if(_0x4f5954[_0x2b773d(0x116)]!==undefined)this[_0x2b773d(0xff)]=_0x4f5954[_0x2b773d(0x116)];if(_0x4f5954['bevelEnabled']!==undefined)this['_bevelEnabled']=_0x4f5954[_0x2b773d(0xee)];if(_0x4f5954[_0x2b773d(0xf6)]!==undefined)this[_0x2b773d(0xec)]=_0x4f5954['bevelThickness'];if(_0x4f5954['bevelSize']!==undefined)this[_0x2b773d(0xe1)]=_0x4f5954['bevelSize'];if(_0x4f5954[_0x2b773d(0x114)]!==undefined)this[_0x2b773d(0x109)]=_0x4f5954[_0x2b773d(0x114)];if(_0x4f5954[_0x2b773d(0xf0)]!==undefined)this[_0x2b773d(0x110)]=_0x4f5954[_0x2b773d(0xf0)];_0x4f5954[_0x2b773d(0x10f)]!==undefined&&(this[_0x2b773d(0xea)]=_0x4f5954[_0x2b773d(0x10f)],this[_0x2b773d(0x11a)]=_0x4f5954['color']);if(_0x4f5954['sideColor']!==undefined)this['_sideColor']=_0x4f5954['sideColor'];if(_0x4f5954[_0x2b773d(0xf3)]!==undefined)this['_isUnlit']=_0x4f5954[_0x2b773d(0xf3)];}this[_0x2b773d(0xfb)]();}[_0x553057(0xe7)](){return new webgpu.Group();}get[_0x553057(0xf8)](){const _0x23c045=_0x553057;return this[_0x23c045(0x103)];}set['text'](_0xb2da40){const _0x3df2c9=_0x553057;this['_text']!==_0xb2da40&&(this['_text']=_0xb2da40,this[_0x3df2c9(0x11b)]());}get[_0x553057(0x10f)](){const _0x384451=_0x553057;return this[_0x384451(0xea)];}set[_0x553057(0x10f)](_0x1882fd){const _0x2e346f=_0x553057;this['_color']!==_0x1882fd&&(this[_0x2e346f(0xea)]=_0x1882fd,this[_0x2e346f(0xe8)]());}get[_0x553057(0xf4)](){return this['_sideColor'];}set[_0x553057(0xf4)](_0x394464){const _0x5cdb43=_0x553057;this[_0x5cdb43(0x11a)]!==_0x394464&&(this['_sideColor']=_0x394464,this[_0x5cdb43(0xe8)]());}get[_0x553057(0xe4)](){return this['_size'];}set[_0x553057(0xe4)](_0x5a4ac1){const _0x3e9fc2=_0x553057;this[_0x3e9fc2(0x108)]!==_0x5a4ac1&&(this['_size']=_0x5a4ac1,this[_0x3e9fc2(0x11b)]());}get[_0x553057(0x101)](){const _0x476939=_0x553057;return this[_0x476939(0x100)];}set[_0x553057(0x101)](_0x8b160){const _0x2e8b04=_0x553057;this['_height']!==_0x8b160&&(this[_0x2e8b04(0x100)]=_0x8b160,this[_0x2e8b04(0x11b)]());}get['fontUrl'](){const _0x51f6cb=_0x553057;return this[_0x51f6cb(0xf2)];}set[_0x553057(0x11f)](_0x1e5c37){const _0x2da07c=_0x553057;this[_0x2da07c(0xf2)]!==_0x1e5c37&&(this['_fontUrl']=_0x1e5c37,this[_0x2da07c(0xfb)]());}async[_0x553057(0xfb)](){const _0x21871d=_0x553057;if(Text3DComponent[_0x21871d(0x11d)][_0x21871d(0xe6)](this[_0x21871d(0xf2)])){this['_font']=Text3DComponent[_0x21871d(0x11d)][_0x21871d(0xe2)](this[_0x21871d(0xf2)]),this[_0x21871d(0x11b)]();return;}try{const _0x42128f=await Text3DComponent[_0x21871d(0x10c)][_0x21871d(0x106)](this['_fontUrl']);Text3DComponent[_0x21871d(0x11d)]['set'](this[_0x21871d(0xf2)],_0x42128f),this[_0x21871d(0xe0)]=_0x42128f,this[_0x21871d(0x11b)]();}catch(_0x2a77f2){console[_0x21871d(0x104)](_0x21871d(0xed)+this[_0x21871d(0xf2)]+':',_0x2a77f2);}}[_0x553057(0x11b)](){const _0x1ad00b=_0x553057;if(!this['_font'])return;if(this[_0x1ad00b(0x117)]){if(this[_0x1ad00b(0x117)][_0x1ad00b(0xef)])this[_0x1ad00b(0x117)][_0x1ad00b(0xef)][_0x1ad00b(0xe9)]();this[_0x1ad00b(0x107)][_0x1ad00b(0x10b)](this[_0x1ad00b(0x117)]);}const _0x808a8e=new Addons_js.TextGeometry(this['_text'],{'font':this[_0x1ad00b(0xe0)],'size':this['_size'],'depth':this['_height'],'curveSegments':this['_curveSegments'],'bevelEnabled':this[_0x1ad00b(0x122)],'bevelThickness':this[_0x1ad00b(0xec)],'bevelSize':this[_0x1ad00b(0xe1)],'bevelOffset':this['_bevelOffset'],'bevelSegments':this['_bevelSegments']});_0x808a8e[_0x1ad00b(0xfa)]();if(_0x808a8e['boundingBox']){const _0x28ad62=-0.5*(_0x808a8e[_0x1ad00b(0xfc)]['max']['x']-_0x808a8e['boundingBox'][_0x1ad00b(0x102)]['x']),_0x4b2999=-0.5*(_0x808a8e[_0x1ad00b(0xfc)][_0x1ad00b(0xfe)]['y']-_0x808a8e['boundingBox'][_0x1ad00b(0x102)]['y']);_0x808a8e[_0x1ad00b(0x11e)](_0x28ad62,_0x4b2999,0x0);}let _0x31c5c6;this[_0x1ad00b(0x120)]?_0x31c5c6=[new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x1ad00b(0xea)]),'side':webgpu.DoubleSide}),new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this['_sideColor']),'side':webgpu.DoubleSide})]:_0x31c5c6=[new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x1ad00b(0xea)]),'side':webgpu.DoubleSide}),new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x1ad00b(0x11a)]),'side':webgpu.DoubleSide})],this[_0x1ad00b(0x117)]=new webgpu.Mesh(_0x808a8e,_0x31c5c6),this['_mesh']['userData'][_0x1ad00b(0xeb)]=this,this[_0x1ad00b(0x107)][_0x1ad00b(0xe3)](this[_0x1ad00b(0x117)]),this['world']&&this[_0x1ad00b(0xfd)][_0x1ad00b(0xf5)][_0x1ad00b(0x123)]();}[_0x553057(0xe8)](){const _0xae45af=_0x553057;if(!this['_mesh'])return;if(Array[_0xae45af(0x118)](this[_0xae45af(0x117)]['material'])){const _0x131ac7=this[_0xae45af(0x117)][_0xae45af(0x111)];_0x131ac7[_0xae45af(0xf1)]>=0x2&&(_0x131ac7[0x0][_0xae45af(0x10f)][_0xae45af(0x10e)](this[_0xae45af(0xea)]),_0x131ac7[0x1][_0xae45af(0x10f)][_0xae45af(0x10e)](this[_0xae45af(0x11a)]));}else {const _0x9c7016=this[_0xae45af(0x117)][_0xae45af(0x111)];_0x9c7016[_0xae45af(0x10f)][_0xae45af(0x10e)](this['_color']);}this['world']&&this[_0xae45af(0xfd)][_0xae45af(0xf5)][_0xae45af(0x123)]();}[_0x553057(0x105)](){const _0x28d1a9=_0x553057;if(this[_0x28d1a9(0x117)]){if(this[_0x28d1a9(0x117)][_0x28d1a9(0xef)])this['_mesh'][_0x28d1a9(0xef)][_0x28d1a9(0xe9)]();Array[_0x28d1a9(0x118)](this[_0x28d1a9(0x117)]['material'])?this[_0x28d1a9(0x117)][_0x28d1a9(0x111)]['forEach'](_0x5ee9e0=>_0x5ee9e0[_0x28d1a9(0xe9)]()):this[_0x28d1a9(0x117)][_0x28d1a9(0x111)][_0x28d1a9(0xe9)]();}super['destroy']();}}function _0x1962(){const _0x53d6f6=['translate','fontUrl','_isUnlit','531992ZSsvox','_bevelEnabled','markRenderStateDirty','7189147itQGlF','_font','_bevelSize','get','add','size','11253896ViXZvS','has','createDefaultObject','updateMaterial','dispose','_color','LYObject','_bevelThickness','Failed\x20to\x20load\x20font\x20from\x20','bevelEnabled','geometry','bevelSegments','length','_fontUrl','isUnlit','sideColor','viewport','bevelThickness','3049012PFpAzW','text','Text','computeBoundingBox','loadFontAndRefresh','boundingBox','world','max','_curveSegments','_height','height','min','_text','error','destroy','loadAsync','_group','_size','_bevelOffset','24272QJJtQR','remove','_fontLoader','1340580VOXxkX','set','color','_bevelSegments','material','911808nuclSV','#ffffff','bevelOffset','obj','curveSegments','_mesh','isArray','https://threejs.org/examples/fonts/helvetiker_regular.typeface.json','_sideColor','refreshGeometry','18svmoYu','_fontCache'];_0x1962=function(){return _0x53d6f6;};return _0x1962();}Text3DComponent[_0x553057(0x10c)]=new Addons_js.FontLoader(),Text3DComponent[_0x553057(0x11d)]=new Map();
|
|
141
141
|
|
|
142
|
-
(function(
|
|
142
|
+
const _0x7e3b3d=_0x5f0f;(function(_0x40c73e,_0x49819f){const _0xbe50bb=_0x5f0f,_0x2adcce=_0x40c73e();while(!![]){try{const _0xffe648=parseInt(_0xbe50bb(0x99))/0x1+-parseInt(_0xbe50bb(0x9b))/0x2*(parseInt(_0xbe50bb(0x93))/0x3)+-parseInt(_0xbe50bb(0x98))/0x4*(-parseInt(_0xbe50bb(0x9c))/0x5)+parseInt(_0xbe50bb(0x96))/0x6+parseInt(_0xbe50bb(0x94))/0x7+-parseInt(_0xbe50bb(0x9a))/0x8*(-parseInt(_0xbe50bb(0x95))/0x9)+-parseInt(_0xbe50bb(0x97))/0xa;if(_0xffe648===_0x49819f)break;else _0x2adcce['push'](_0x2adcce['shift']());}catch(_0x569716){_0x2adcce['push'](_0x2adcce['shift']());}}}(_0x353a,0x99ba9));function _0x353a(){const _0x3b0930=['32Cnvdlr','767810PoHCCJ','10DISkWG','ScreenSpaceReflection','6NNKjpH','3695209VJfaZi','537309WFwJlI','6950694ZLVXQD','24117030BuAYcX','1921048PtwJYV','923522fkjzXw'];_0x353a=function(){return _0x3b0930;};return _0x353a();}function _0x5f0f(_0x4c6db8,_0x381817){_0x4c6db8=_0x4c6db8-0x92;const _0x353a82=_0x353a();let _0x5f0fd2=_0x353a82[_0x4c6db8];return _0x5f0fd2;}const DefaultSSRParam={'type':exports.PostProcessStepType[_0x7e3b3d(0x92)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};
|
|
143
143
|
|
|
144
|
-
const
|
|
144
|
+
const _0x557386=_0x3b8f;(function(_0x466bde,_0x18bb8d){const _0x4ecf29=_0x3b8f,_0x1a314d=_0x466bde();while(!![]){try{const _0x2e4f41=-parseInt(_0x4ecf29(0x130))/0x1*(parseInt(_0x4ecf29(0x12e))/0x2)+parseInt(_0x4ecf29(0x12b))/0x3*(parseInt(_0x4ecf29(0x126))/0x4)+-parseInt(_0x4ecf29(0x129))/0x5*(parseInt(_0x4ecf29(0x127))/0x6)+-parseInt(_0x4ecf29(0x128))/0x7+-parseInt(_0x4ecf29(0x125))/0x8+-parseInt(_0x4ecf29(0x12d))/0x9*(-parseInt(_0x4ecf29(0x12a))/0xa)+parseInt(_0x4ecf29(0x12c))/0xb;if(_0x2e4f41===_0x18bb8d)break;else _0x1a314d['push'](_0x1a314d['shift']());}catch(_0x976220){_0x1a314d['push'](_0x1a314d['shift']());}}}(_0x23e9,0xccd11));function _0x23e9(){const _0x31193b=['989180tjXQVs','3mUXLPu','31892014FMwckA','54TRYJkm','282xcCmPw','Antialiasing','6428uNlWny','fxaa','11155688cQmbMa','5574356MVILVw','6LMNpXX','7914270cfnLVt','3080115izqdyY'];_0x23e9=function(){return _0x31193b;};return _0x23e9();}function _0x3b8f(_0x3e3ee0,_0x123d32){_0x3e3ee0=_0x3e3ee0-0x125;const _0x23e933=_0x23e9();let _0x3b8f27=_0x23e933[_0x3e3ee0];return _0x3b8f27;}const DefaultAAParams={'type':exports.PostProcessStepType[_0x557386(0x12f)],'method':_0x557386(0x131)};
|
|
145
145
|
|
|
146
|
-
const
|
|
146
|
+
const _0x4e4005=_0x4617;(function(_0x43d6cd,_0x44126c){const _0x4adf89=_0x4617,_0x240425=_0x43d6cd();while(!![]){try{const _0x2d7134=-parseInt(_0x4adf89(0x1b4))/0x1+-parseInt(_0x4adf89(0x197))/0x2+parseInt(_0x4adf89(0x1a8))/0x3*(parseInt(_0x4adf89(0x1c1))/0x4)+-parseInt(_0x4adf89(0x1ae))/0x5*(parseInt(_0x4adf89(0x1b2))/0x6)+parseInt(_0x4adf89(0x18b))/0x7+-parseInt(_0x4adf89(0x193))/0x8*(-parseInt(_0x4adf89(0x1a0))/0x9)+parseInt(_0x4adf89(0x199))/0xa*(parseInt(_0x4adf89(0x1b7))/0xb);if(_0x2d7134===_0x44126c)break;else _0x240425['push'](_0x240425['shift']());}catch(_0x4e0f2f){_0x240425['push'](_0x240425['shift']());}}}(_0x3a63,0xc1b7e));function _0x3a63(){const _0x3e9746=['1161054vGifbe','_debugColor','traverse','11WGyJVW','debugOpacity','getMutualResponse','_debugOpacity','enableDebug','name','destroyDebugObject','debugColor','_onBeginOverlapDelegate','world','124IWpYDv','onEndOverlapDelegate','collisionEnabled','onDebugStyleChanged','generateHitEvents','objectType','_debugEnabled','onBeginOverlapDelegate','call','_responseMap','9620471FCmjch','generateOverlapEvents','_objectType','Ignore','registerCollider','onHitDelegate','_registeredInWorld','getCollisionResponse','48gcbGAB','ColliderComponent','viewport','tick','807548qOpqeo','destroy','9358610EZYYDN','rayIgnored','_onHitDelegate','userData','setCollisionResponses','Block','threeObject','1503909txhYOE','_onEndOverlapDelegate','_debugObject','physics','onDebugTick','createDebugObject','getDebugAttachParent','add','10593cZNbmQ','remove','debugEnabled','parent','_generateOverlapEvents','onAddedToWorld','15Okmrlm','_collisionEnabled','disableDebug','setCollisionResponse','2127966IQyAWg','_generateHitEvents'];_0x3a63=function(){return _0x3e9746;};return _0x3a63();}function _0x4617(_0x54640e,_0x1649e5){_0x54640e=_0x54640e-0x182;const _0x3a6300=_0x3a63();let _0x46175e=_0x3a6300[_0x54640e];return _0x46175e;}class ColliderComponent extends SceneComponent{get[_0x4e4005(0x1aa)](){return this['_debugEnabled'];}set['debugEnabled'](_0x5a894e){const _0x50fbfb=_0x4e4005;var _0x3017a1,_0x4c1cb6,_0x458c19;if(this['_debugEnabled']===_0x5a894e)return;this[_0x50fbfb(0x187)]=_0x5a894e,this[_0x50fbfb(0x187)]?this[_0x50fbfb(0x1bb)]():this[_0x50fbfb(0x1b0)](),(_0x458c19=(_0x4c1cb6=(_0x3017a1=this['world'])===null||_0x3017a1===void 0?void 0:_0x3017a1[_0x50fbfb(0x195)])===null||_0x4c1cb6===void 0?void 0:_0x4c1cb6['markRenderStateDirty'])===null||_0x458c19===void 0?void 0:_0x458c19[_0x50fbfb(0x189)](_0x4c1cb6);}get[_0x4e4005(0x1be)](){const _0x10d01c=_0x4e4005;return this[_0x10d01c(0x1b5)];}set[_0x4e4005(0x1be)](_0x4addef){const _0x4ab215=_0x4e4005;this[_0x4ab215(0x1b5)]=_0x4addef,this[_0x4ab215(0x187)]&&this[_0x4ab215(0x184)]();}get['debugOpacity'](){const _0x11649a=_0x4e4005;return this[_0x11649a(0x1ba)];}set[_0x4e4005(0x1b8)](_0x2c9c15){const _0x152ec4=_0x4e4005;this[_0x152ec4(0x1ba)]=_0x2c9c15,this[_0x152ec4(0x187)]&&this['onDebugStyleChanged']();}get[_0x4e4005(0x183)](){const _0x2da436=_0x4e4005;return this[_0x2da436(0x1af)];}set[_0x4e4005(0x183)](_0x11da40){const _0x23c72d=_0x4e4005;this[_0x23c72d(0x1af)]=_0x11da40;}get[_0x4e4005(0x18c)](){const _0x8cff2e=_0x4e4005;return this[_0x8cff2e(0x1ac)];}set[_0x4e4005(0x18c)](_0x50ac5e){this['_generateOverlapEvents']=_0x50ac5e;}get['generateHitEvents'](){const _0x1464f5=_0x4e4005;return this[_0x1464f5(0x1b3)];}set[_0x4e4005(0x185)](_0x510c3d){const _0x362e22=_0x4e4005;this[_0x362e22(0x1b3)]=_0x510c3d;}get[_0x4e4005(0x186)](){const _0x12fa08=_0x4e4005;return this[_0x12fa08(0x18d)];}set[_0x4e4005(0x186)](_0x346a6a){const _0x1e925d=_0x4e4005;this[_0x1e925d(0x18d)]=_0x346a6a;}get[_0x4e4005(0x188)](){const _0x6aacdf=_0x4e4005;return this[_0x6aacdf(0x1bf)];}get[_0x4e4005(0x182)](){const _0x721405=_0x4e4005;return this[_0x721405(0x1a1)];}get[_0x4e4005(0x190)](){return this['_onHitDelegate'];}constructor(_0xfb6801,_0x3654db){const _0x429dff=_0x4e4005;super(_0xfb6801,_0x3654db),this[_0x429dff(0x1af)]=!![],this[_0x429dff(0x1ac)]=!![],this[_0x429dff(0x1b3)]=!![],this[_0x429dff(0x18d)]=exports.CollisionChannel['WorldDynamic'],this[_0x429dff(0x18a)]={},this[_0x429dff(0x1bf)]=new Delegate(),this[_0x429dff(0x1a1)]=new Delegate(),this[_0x429dff(0x19b)]=new Delegate(),this[_0x429dff(0x191)]=![],this[_0x429dff(0x187)]=![],this[_0x429dff(0x1b5)]=0xff00,this[_0x429dff(0x1ba)]=0.25,this[_0x429dff(0x1a2)]=null,this[_0x429dff(0x1bc)]=_0x429dff(0x194);}[_0x4e4005(0x1b1)](_0x59e61e,_0x17c9dd){const _0xe8e1b4=_0x4e4005;this[_0xe8e1b4(0x18a)][_0x59e61e]=_0x17c9dd;}[_0x4e4005(0x19d)](_0x4156a6){this['_responseMap']=Object['assign']({},_0x4156a6);}[_0x4e4005(0x192)](_0x1f40b9){const _0x51c877=_0x4e4005;var _0x2f47e1;return (_0x2f47e1=this[_0x51c877(0x18a)][_0x1f40b9])!==null&&_0x2f47e1!==void 0?_0x2f47e1:exports.CollisionResponse[_0x51c877(0x19e)];}[_0x4e4005(0x1b9)](_0x1f8e4d){const _0x4aacc1=_0x4e4005,_0x2c0f0a=this[_0x4aacc1(0x192)](_0x1f8e4d[_0x4aacc1(0x186)]),_0x2f4c43=_0x1f8e4d[_0x4aacc1(0x192)](this[_0x4aacc1(0x186)]);if(_0x2c0f0a===exports.CollisionResponse['Ignore']||_0x2f4c43===exports.CollisionResponse[_0x4aacc1(0x18e)])return exports.CollisionResponse[_0x4aacc1(0x18e)];if(_0x2c0f0a===exports.CollisionResponse['Block']||_0x2f4c43===exports.CollisionResponse[_0x4aacc1(0x19e)])return exports.CollisionResponse['Block'];return exports.CollisionResponse['Overlap'];}['tick'](_0x26eee1){const _0x4322df=_0x4e4005;super[_0x4322df(0x196)](_0x26eee1),this[_0x4322df(0x187)]&&this['onDebugTick'](_0x26eee1);}[_0x4e4005(0x1ad)](_0x2f14ca){const _0x3ab3f5=_0x4e4005;super[_0x3ab3f5(0x1ad)](_0x2f14ca),!this[_0x3ab3f5(0x191)]&&(this[_0x3ab3f5(0x1c0)]['physics'][_0x3ab3f5(0x18f)](this),this[_0x3ab3f5(0x191)]=!![]);}[_0x4e4005(0x198)](){const _0x3b98e0=_0x4e4005;this['_debugEnabled']&&(this[_0x3b98e0(0x1b0)](),this[_0x3b98e0(0x187)]=![]),this[_0x3b98e0(0x191)]&&(this[_0x3b98e0(0x1c0)][_0x3b98e0(0x1a3)]['unregisterCollider'](this),this['_registeredInWorld']=![]),super[_0x3b98e0(0x198)]();}[_0x4e4005(0x1a6)](){const _0xe40ce3=_0x4e4005;return this[_0xe40ce3(0x19f)];}[_0x4e4005(0x1a5)](){return null;}['destroyDebugObject'](_0x3ede04){return;}[_0x4e4005(0x1a4)](_0x1ab826){return;}['onDebugStyleChanged'](){return;}[_0x4e4005(0x1bb)](){const _0x1b8be5=_0x4e4005;if(this[_0x1b8be5(0x1a2)])return;const _0x22488d=this[_0x1b8be5(0x1a6)](),_0x4540cb=this[_0x1b8be5(0x1a5)]();if(!_0x4540cb)return;this['_debugObject']=_0x4540cb,_0x4540cb[_0x1b8be5(0x1b6)](_0x34faeb=>{const _0x3d3c19=_0x1b8be5;_0x34faeb[_0x3d3c19(0x19c)][_0x3d3c19(0x19a)]=!![];}),_0x22488d&&_0x22488d[_0x1b8be5(0x1a7)](_0x4540cb),this['onDebugStyleChanged']();}[_0x4e4005(0x1b0)](){const _0x433268=_0x4e4005,_0x38f124=this['_debugObject'];if(!_0x38f124)return;this[_0x433268(0x1bd)](_0x38f124),_0x38f124[_0x433268(0x1ab)]&&_0x38f124[_0x433268(0x1ab)][_0x433268(0x1a9)](_0x38f124),this[_0x433268(0x1a2)]=null;}}
|
|
147
147
|
|
|
148
|
-
const _0x265a29=_0x4c1f;(function(_0x591830,_0x25703e){const _0x5e5d4f=_0x4c1f,_0x34658f=_0x591830();while(!![]){try{const _0x273b14=-parseInt(_0x5e5d4f(0x15c))/0x1+-parseInt(_0x5e5d4f(0x17a))/0x2*(parseInt(_0x5e5d4f(0x15e))/0x3)+parseInt(_0x5e5d4f(0x163))/0x4*(-parseInt(_0x5e5d4f(0x171))/0x5)+-parseInt(_0x5e5d4f(0x14b))/0x6*(-parseInt(_0x5e5d4f(0x175))/0x7)+parseInt(_0x5e5d4f(0x144))/0x8*(-parseInt(_0x5e5d4f(0x17d))/0x9)+-parseInt(_0x5e5d4f(0x14a))/0xa*(parseInt(_0x5e5d4f(0x180))/0xb)+-parseInt(_0x5e5d4f(0x153))/0xc*(-parseInt(_0x5e5d4f(0x167))/0xd);if(_0x273b14===_0x25703e)break;else _0x34658f['push'](_0x34658f['shift']());}catch(_0x146b8d){_0x34658f['push'](_0x34658f['shift']());}}}(_0xaf51,0x5ca4c));function _0x4c1f(_0x1f1188,_0xa91ce5){_0x1f1188=_0x1f1188-0x140;const _0xaf5126=_0xaf51();let _0x4c1fde=_0xaf5126[_0x1f1188];return _0x4c1fde;}class CapsuleColliderComponent extends ColliderComponent{get[_0x265a29(0x164)](){return this['_radius'];}get[_0x265a29(0x16c)](){const _0x48ac71=_0x265a29;return this[_0x48ac71(0x15d)];}constructor(_0x78b12d,_0x568a3d=0.35,_0x4e61ae=0.5,_0x4f5f7b){const _0x12c25f=_0x265a29;super(_0x78b12d,_0x4f5f7b),this[_0x12c25f(0x174)]=null,this[_0x12c25f(0x152)]=null,this['_debugTop']=null,this[_0x12c25f(0x166)]=null,this[_0x12c25f(0x14c)]=new webgpu.Vector3(),this[_0x12c25f(0x141)]=new webgpu.Vector3(),this[_0x12c25f(0x170)]=new webgpu.Vector3(),this[_0x12c25f(0x16b)]=new webgpu.Vector3(),this['_tmpPoint']=new webgpu.Vector3(),this[_0x12c25f(0x143)]=new webgpu.Vector3(),this[_0x12c25f(0x15b)]=Math[_0x12c25f(0x160)](0x0,_0x568a3d),this['_halfHeight']=Math[_0x12c25f(0x160)](0x0,_0x4e61ae),this[_0x12c25f(0x17e)]=exports.CollisionChannel[_0x12c25f(0x16e)],this[_0x12c25f(0x14e)](exports.CollisionChannel[_0x12c25f(0x16e)],exports.CollisionResponse[_0x12c25f(0x154)]),this[_0x12c25f(0x14e)](exports.CollisionChannel[_0x12c25f(0x145)],exports.CollisionResponse[_0x12c25f(0x15f)]),this[_0x12c25f(0x16f)]=_0x12c25f(0x165);}[_0x265a29(0x147)](_0x23432d=new webgpu.Box3()){const _0x4796f6=_0x265a29,_0x2d22f0=this[_0x4796f6(0x14f)](),_0x5d5751=this['getWorldScale'](),_0x1ba49f=Math[_0x4796f6(0x177)](_0x5d5751['x'])>1e-8?Math['abs'](_0x5d5751['x']):0x1,_0x41aee6=Math[_0x4796f6(0x177)](_0x5d5751['y'])>1e-8?Math['abs'](_0x5d5751['y']):0x1,_0x65427e=Math[_0x4796f6(0x177)](_0x5d5751['z'])>1e-8?Math[_0x4796f6(0x177)](_0x5d5751['z']):0x1,_0x2e35e6=this[_0x4796f6(0x15b)]*Math[_0x4796f6(0x160)](_0x1ba49f,_0x65427e),_0x22e8cc=this[_0x4796f6(0x15d)]*_0x41aee6,_0xbd4f49=new webgpu.Vector3(_0x2d22f0['x']-_0x2e35e6,_0x2d22f0['y']-_0x22e8cc-_0x2e35e6,_0x2d22f0['z']-_0x2e35e6),_0xf5253f=new webgpu.Vector3(_0x2d22f0['x']+_0x2e35e6,_0x2d22f0['y']+_0x22e8cc+_0x2e35e6,_0x2d22f0['z']+_0x2e35e6);return _0x23432d[_0x4796f6(0x156)](_0xbd4f49,_0xf5253f),_0x23432d;}[_0x265a29(0x16d)](_0x12ffea,_0x1de31f,_0x7d23a0){const _0x17ce50=_0x265a29;if(_0x7d23a0<=0.000001)return null;const _0x4b98c5=this[_0x17ce50(0x14f)](),_0x13179d=this[_0x17ce50(0x157)](),_0x47402b=Math['abs'](_0x13179d['x'])>1e-8?Math[_0x17ce50(0x177)](_0x13179d['x']):0x1,_0x446937=Math['abs'](_0x13179d['y'])>1e-8?Math[_0x17ce50(0x177)](_0x13179d['y']):0x1,_0x4c0bfb=Math['abs'](_0x13179d['z'])>1e-8?Math[_0x17ce50(0x177)](_0x13179d['z']):0x1,_0x5110f0=this['_radius']*Math[_0x17ce50(0x160)](_0x47402b,_0x4c0bfb),_0x54b702=this[_0x17ce50(0x15d)]*_0x446937,_0x2dd99f=this['_tmpA']['copy'](_0x4b98c5)[_0x17ce50(0x146)](new webgpu.Vector3(0x0,-_0x54b702,0x0)),_0x1e1e71=this[_0x17ce50(0x141)][_0x17ce50(0x17f)](_0x4b98c5)[_0x17ce50(0x146)](new webgpu.Vector3(0x0,_0x54b702,0x0)),_0x125945=this['_tmpBA']['copy'](_0x1e1e71)[_0x17ce50(0x169)](_0x2dd99f),_0x4a6f2e=this[_0x17ce50(0x16b)][_0x17ce50(0x17f)](_0x12ffea)[_0x17ce50(0x169)](_0x2dd99f),_0x538b78=_0x125945[_0x17ce50(0x17b)](_0x125945),_0x4a9151=_0x125945[_0x17ce50(0x17b)](_0x1de31f),_0x5ab36a=_0x125945[_0x17ce50(0x17b)](_0x4a6f2e),_0x4fdb07=_0x1de31f['dot'](_0x4a6f2e),_0x44796c=_0x4a6f2e[_0x17ce50(0x17b)](_0x4a6f2e),_0x504a7d=_0x5110f0*_0x5110f0,_0x42881d=_0x538b78-_0x4a9151*_0x4a9151,_0x263147=_0x538b78*_0x4fdb07-_0x5ab36a*_0x4a9151,_0x24a452=_0x538b78*(_0x44796c-_0x504a7d)-_0x5ab36a*_0x5ab36a;let _0x122596=Infinity,_0x3f2cda=null,_0x514400=null;const _0x5014ee=1e-10;if(Math[_0x17ce50(0x177)](_0x42881d)>_0x5014ee){const _0x42218b=_0x263147*_0x263147-_0x42881d*_0x24a452;if(_0x42218b>=0x0){const _0x19770e=(-_0x263147-Math[_0x17ce50(0x178)](_0x42218b))/_0x42881d,_0x15b9a9=_0x5ab36a+_0x19770e*_0x4a9151;if(_0x19770e>=0x0&&_0x19770e<=_0x7d23a0&&_0x15b9a9>0x0&&_0x15b9a9<_0x538b78){_0x122596=_0x19770e,_0x3f2cda=this[_0x17ce50(0x181)][_0x17ce50(0x17f)](_0x1de31f)[_0x17ce50(0x16a)](_0x19770e)[_0x17ce50(0x146)](_0x12ffea);const _0x1ba14d=this[_0x17ce50(0x143)][_0x17ce50(0x17f)](_0x125945)['multiplyScalar'](_0x15b9a9/_0x538b78)['add'](_0x2dd99f);_0x514400=this['_tmpNormal'][_0x17ce50(0x17f)](_0x3f2cda)['sub'](_0x1ba14d);const _0x226965=_0x514400[_0x17ce50(0x172)]();_0x226965>1e-12?_0x514400[_0x17ce50(0x16a)](0x1/Math[_0x17ce50(0x178)](_0x226965)):_0x514400[_0x17ce50(0x156)](0x0,0x1,0x0);}}}const _0x16341e=this[_0x17ce50(0x14d)](_0x12ffea,_0x1de31f,_0x7d23a0,_0x2dd99f,_0x5110f0);_0x16341e&&_0x16341e['distance']<_0x122596&&(_0x122596=_0x16341e[_0x17ce50(0x179)],_0x3f2cda=_0x16341e[_0x17ce50(0x161)],_0x514400=_0x16341e[_0x17ce50(0x17c)]);const _0x3d48f8=this['raycastSphere'](_0x12ffea,_0x1de31f,_0x7d23a0,_0x1e1e71,_0x5110f0);_0x3d48f8&&_0x3d48f8['distance']<_0x122596&&(_0x122596=_0x3d48f8[_0x17ce50(0x179)],_0x3f2cda=_0x3d48f8[_0x17ce50(0x161)],_0x514400=_0x3d48f8[_0x17ce50(0x17c)]);if(!_0x3f2cda||!_0x514400||!Number['isFinite'](_0x122596))return null;return {'point':_0x3f2cda[_0x17ce50(0x162)](),'normal':_0x514400[_0x17ce50(0x162)](),'distance':_0x122596};}[_0x265a29(0x14d)](_0x2d2a43,_0x143dbb,_0x48260a,_0x5d042a,_0x389815){const _0x5bffc5=_0x265a29,_0x298aee=_0x2d2a43['clone']()[_0x5bffc5(0x169)](_0x5d042a),_0x1974ed=_0x298aee[_0x5bffc5(0x17b)](_0x143dbb),_0x2f76e5=_0x298aee[_0x5bffc5(0x17b)](_0x298aee)-_0x389815*_0x389815,_0x3661e2=_0x1974ed*_0x1974ed-_0x2f76e5;if(_0x3661e2<0x0)return null;const _0x505472=Math[_0x5bffc5(0x178)](_0x3661e2),_0x24fe66=-_0x1974ed-_0x505472;if(_0x24fe66<0x0||_0x24fe66>_0x48260a){const _0x4edd9e=-_0x1974ed+_0x505472;if(_0x4edd9e<0x0||_0x4edd9e>_0x48260a)return null;return this['makeSphereHit'](_0x2d2a43,_0x143dbb,_0x4edd9e,_0x5d042a);}return this[_0x5bffc5(0x183)](_0x2d2a43,_0x143dbb,_0x24fe66,_0x5d042a);}[_0x265a29(0x183)](_0x1eb383,_0x2543ad,_0x7291c9,_0x1452ae){const _0x37f910=_0x265a29,_0x33c43c=_0x1eb383[_0x37f910(0x162)]()['add'](_0x2543ad[_0x37f910(0x162)]()[_0x37f910(0x16a)](_0x7291c9)),_0x53946b=_0x33c43c[_0x37f910(0x162)]()[_0x37f910(0x169)](_0x1452ae),_0x1d7a81=_0x53946b[_0x37f910(0x172)]();return _0x1d7a81>1e-12?_0x53946b[_0x37f910(0x16a)](0x1/Math[_0x37f910(0x178)](_0x1d7a81)):_0x53946b[_0x37f910(0x156)](0x0,0x1,0x0),{'point':_0x33c43c,'normal':_0x53946b,'distance':_0x7291c9};}[_0x265a29(0x173)](){const _0x419131=_0x265a29,_0x559dcf=new webgpu.Object3D();_0x559dcf[_0x419131(0x16f)]=_0x419131(0x15a);const _0x2d7c4b=new webgpu.MeshBasicMaterial({'color':this[_0x419131(0x151)],'wireframe':!![],'transparent':!![],'opacity':this[_0x419131(0x155)]}),_0x399479=Math['max'](0.000001,this['_radius']),_0x22bf38=Math[_0x419131(0x160)](0.000001,this['_halfHeight']*0x2),_0x1f6d0d=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x399479,_0x399479,_0x22bf38,0xc,0x1,!![]),_0x2d7c4b),_0x4fd053=new webgpu.Mesh(new webgpu.SphereGeometry(_0x399479,0xc,0x8),_0x2d7c4b),_0x42f28f=new webgpu.Mesh(new webgpu.SphereGeometry(_0x399479,0xc,0x8),_0x2d7c4b);return _0x4fd053[_0x419131(0x149)][_0x419131(0x156)](0x0,this[_0x419131(0x15d)],0x0),_0x42f28f[_0x419131(0x149)][_0x419131(0x156)](0x0,-this['_halfHeight'],0x0),_0x559dcf[_0x419131(0x146)](_0x1f6d0d),_0x559dcf['add'](_0x4fd053),_0x559dcf[_0x419131(0x146)](_0x42f28f),this[_0x419131(0x174)]=_0x559dcf,this[_0x419131(0x152)]=_0x1f6d0d,this[_0x419131(0x142)]=_0x4fd053,this[_0x419131(0x166)]=_0x42f28f,this['onDebugTick'](0x0),_0x559dcf;}[_0x265a29(0x176)](_0x3630af){const _0x5b5621=_0x265a29;this[_0x5b5621(0x174)]=null,this[_0x5b5621(0x152)]=null,this[_0x5b5621(0x142)]=null,this[_0x5b5621(0x166)]=null;}['onDebugTick'](_0x3bdc2a){const _0x2ba2de=_0x265a29,_0x4d8714=this[_0x2ba2de(0x152)],_0x530ead=this[_0x2ba2de(0x142)],_0x169943=this[_0x2ba2de(0x166)];if(!_0x4d8714||!_0x530ead||!_0x169943)return;const _0xf78f6=this['getWorldScale'](),_0x29cabb=Math['abs'](_0xf78f6['x'])>1e-8?_0xf78f6['x']:0x1,_0x46b12a=Math[_0x2ba2de(0x177)](_0xf78f6['y'])>1e-8?_0xf78f6['y']:0x1,_0x3fd7af=Math['abs'](_0xf78f6['z'])>1e-8?_0xf78f6['z']:0x1,_0x508385=Math[_0x2ba2de(0x160)](0.000001,this[_0x2ba2de(0x15b)])*Math[_0x2ba2de(0x160)](Math[_0x2ba2de(0x177)](_0x29cabb),Math[_0x2ba2de(0x177)](_0x3fd7af)),_0x499457=Math[_0x2ba2de(0x160)](0x0,this[_0x2ba2de(0x15d)])*Math[_0x2ba2de(0x177)](_0x46b12a);_0x4d8714['scale']['set'](_0x508385/_0x29cabb,_0x499457*0x2/_0x46b12a,_0x508385/_0x3fd7af),_0x530ead[_0x2ba2de(0x159)][_0x2ba2de(0x156)](_0x508385/_0x29cabb,_0x508385/_0x46b12a,_0x508385/_0x3fd7af),_0x169943[_0x2ba2de(0x159)][_0x2ba2de(0x156)](_0x508385/_0x29cabb,_0x508385/_0x46b12a,_0x508385/_0x3fd7af),_0x530ead['position'][_0x2ba2de(0x156)](0x0,_0x499457/_0x46b12a,0x0),_0x169943[_0x2ba2de(0x149)][_0x2ba2de(0x156)](0x0,-_0x499457/_0x46b12a,0x0);}['onDebugStyleChanged'](){const _0x45ac6e=_0x265a29,_0x3c9839=this[_0x45ac6e(0x174)];if(!_0x3c9839)return;_0x3c9839[_0x45ac6e(0x182)](_0x5a0fc5=>{const _0x587ca6=_0x45ac6e,_0x284a82=_0x5a0fc5,_0x266dd7=_0x284a82['material'];if(!_0x266dd7)return;_0x266dd7[_0x587ca6(0x150)][_0x587ca6(0x140)](this['debugColor']),_0x266dd7[_0x587ca6(0x148)]=this[_0x587ca6(0x155)],_0x266dd7[_0x587ca6(0x158)]=this[_0x587ca6(0x155)]<0x1,_0x266dd7[_0x587ca6(0x168)]=!![];});}}function _0xaf51(){const _0x245195=['Pawn','name','_tmpBA','15orXlRw','lengthSq','createDebugObject','_debugRoot','7gowbGX','destroyDebugObject','abs','sqrt','distance','283282PTzdtu','dot','normal','2913210oemMbH','objectType','copy','22ItQehL','_tmpPoint','traverse','makeSphereHit','setHex','_tmpB','_debugTop','_tmpNormal','8nGkLFH','Trigger','add','getWorldAABB','opacity','position','390890bjsQpP','358542koZtFi','_tmpA','raycastSphere','setCollisionResponse','getWorldPosition','color','debugColor','_debugCylinder','30516cLAIwa','Ignore','debugOpacity','set','getWorldScale','transparent','scale','CapsuleColliderDebug','_radius','615605FZivNY','_halfHeight','3JbuuDO','Overlap','max','point','clone','269464TlddqM','radius','CapsuleColliderComponent','_debugBottom','8593MGsRCA','needsUpdate','sub','multiplyScalar','_tmpOA','halfHeight','raycast'];_0xaf51=function(){return _0x245195;};return _0xaf51();}
|
|
148
|
+
function _0x2a99(_0x1e4737,_0x1d4407){_0x1e4737=_0x1e4737-0x129;const _0x1ca336=_0x1ca3();let _0x2a99b5=_0x1ca336[_0x1e4737];return _0x2a99b5;}const _0x372ff5=_0x2a99;(function(_0x3edc47,_0x369c47){const _0x2b1045=_0x2a99,_0x3a0566=_0x3edc47();while(!![]){try{const _0x179a8c=parseInt(_0x2b1045(0x141))/0x1*(parseInt(_0x2b1045(0x147))/0x2)+parseInt(_0x2b1045(0x15e))/0x3+-parseInt(_0x2b1045(0x14e))/0x4*(parseInt(_0x2b1045(0x156))/0x5)+-parseInt(_0x2b1045(0x136))/0x6*(parseInt(_0x2b1045(0x153))/0x7)+parseInt(_0x2b1045(0x14f))/0x8+parseInt(_0x2b1045(0x13c))/0x9*(parseInt(_0x2b1045(0x143))/0xa)+-parseInt(_0x2b1045(0x159))/0xb;if(_0x179a8c===_0x369c47)break;else _0x3a0566['push'](_0x3a0566['shift']());}catch(_0xeb63b5){_0x3a0566['push'](_0x3a0566['shift']());}}}(_0x1ca3,0xc891d));function _0x1ca3(){const _0x552f32=['Trigger','_tmpB','Pawn','sqrt','traverse','_tmpOA','dot','halfHeight','_debugTop','objectType','getWorldAABB','radius','setCollisionResponse','point','onDebugStyleChanged','opacity','raycastSphere','_tmpBA','transparent','debugColor','_debugBottom','6863334gKokVo','scale','_tmpA','position','copy','sub','35901ieQRJl','add','createDebugObject','set','multiplyScalar','208049wRaXna','_radius','1390zPXXsG','name','Ignore','abs','8EOOigu','CapsuleColliderComponent','isFinite','max','lengthSq','_halfHeight','debugOpacity','2772ZYePgx','9710080XyBnov','makeSphereHit','_tmpNormal','distance','7CVpgsO','material','getWorldScale','2060jKiaCg','onDebugTick','setHex','6882117gEQqMl','getWorldPosition','_debugCylinder','clone','normal','828474ezXHsx','_tmpPoint','_debugRoot','CapsuleColliderDebug'];_0x1ca3=function(){return _0x552f32;};return _0x1ca3();}class CapsuleColliderComponent extends ColliderComponent{get[_0x372ff5(0x12c)](){const _0x5ab432=_0x372ff5;return this[_0x5ab432(0x142)];}get[_0x372ff5(0x169)](){const _0x2b1763=_0x372ff5;return this[_0x2b1763(0x14c)];}constructor(_0x2742f7,_0x223ccb=0.35,_0x3f26dd=0.5,_0x2292e1){const _0x38ce01=_0x372ff5;super(_0x2742f7,_0x2292e1),this[_0x38ce01(0x160)]=null,this[_0x38ce01(0x15b)]=null,this['_debugTop']=null,this['_debugBottom']=null,this['_tmpA']=new webgpu.Vector3(),this[_0x38ce01(0x163)]=new webgpu.Vector3(),this[_0x38ce01(0x132)]=new webgpu.Vector3(),this[_0x38ce01(0x167)]=new webgpu.Vector3(),this[_0x38ce01(0x15f)]=new webgpu.Vector3(),this[_0x38ce01(0x151)]=new webgpu.Vector3(),this[_0x38ce01(0x142)]=Math[_0x38ce01(0x14a)](0x0,_0x223ccb),this[_0x38ce01(0x14c)]=Math['max'](0x0,_0x3f26dd),this[_0x38ce01(0x12a)]=exports.CollisionChannel['Pawn'],this[_0x38ce01(0x12d)](exports.CollisionChannel[_0x38ce01(0x164)],exports.CollisionResponse[_0x38ce01(0x145)]),this['setCollisionResponse'](exports.CollisionChannel[_0x38ce01(0x162)],exports.CollisionResponse['Overlap']),this[_0x38ce01(0x144)]=_0x38ce01(0x148);}[_0x372ff5(0x12b)](_0x1e6569=new webgpu.Box3()){const _0x3b0c69=_0x372ff5,_0x2a7fad=this[_0x3b0c69(0x15a)](),_0x5b83ad=this['getWorldScale'](),_0x47127e=Math['abs'](_0x5b83ad['x'])>1e-8?Math['abs'](_0x5b83ad['x']):0x1,_0x5787f0=Math[_0x3b0c69(0x146)](_0x5b83ad['y'])>1e-8?Math[_0x3b0c69(0x146)](_0x5b83ad['y']):0x1,_0x1b86aa=Math[_0x3b0c69(0x146)](_0x5b83ad['z'])>1e-8?Math[_0x3b0c69(0x146)](_0x5b83ad['z']):0x1,_0x3a8429=this[_0x3b0c69(0x142)]*Math['max'](_0x47127e,_0x1b86aa),_0x3cf8c8=this['_halfHeight']*_0x5787f0,_0x294c3d=new webgpu.Vector3(_0x2a7fad['x']-_0x3a8429,_0x2a7fad['y']-_0x3cf8c8-_0x3a8429,_0x2a7fad['z']-_0x3a8429),_0x350109=new webgpu.Vector3(_0x2a7fad['x']+_0x3a8429,_0x2a7fad['y']+_0x3cf8c8+_0x3a8429,_0x2a7fad['z']+_0x3a8429);return _0x1e6569[_0x3b0c69(0x13f)](_0x294c3d,_0x350109),_0x1e6569;}['raycast'](_0x8b0404,_0xb3d153,_0x2d1bfc){const _0x5b511b=_0x372ff5;if(_0x2d1bfc<=0.000001)return null;const _0x5074a2=this['getWorldPosition'](),_0x1378f9=this[_0x5b511b(0x155)](),_0x18461c=Math[_0x5b511b(0x146)](_0x1378f9['x'])>1e-8?Math[_0x5b511b(0x146)](_0x1378f9['x']):0x1,_0x56bbaa=Math[_0x5b511b(0x146)](_0x1378f9['y'])>1e-8?Math[_0x5b511b(0x146)](_0x1378f9['y']):0x1,_0xab41e0=Math[_0x5b511b(0x146)](_0x1378f9['z'])>1e-8?Math[_0x5b511b(0x146)](_0x1378f9['z']):0x1,_0x24c956=this[_0x5b511b(0x142)]*Math[_0x5b511b(0x14a)](_0x18461c,_0xab41e0),_0x1ca5d0=this[_0x5b511b(0x14c)]*_0x56bbaa,_0x59017d=this[_0x5b511b(0x138)]['copy'](_0x5074a2)[_0x5b511b(0x13d)](new webgpu.Vector3(0x0,-_0x1ca5d0,0x0)),_0x1fff66=this['_tmpB'][_0x5b511b(0x13a)](_0x5074a2)[_0x5b511b(0x13d)](new webgpu.Vector3(0x0,_0x1ca5d0,0x0)),_0x2f66ee=this[_0x5b511b(0x132)][_0x5b511b(0x13a)](_0x1fff66)[_0x5b511b(0x13b)](_0x59017d),_0x4d8fea=this[_0x5b511b(0x167)][_0x5b511b(0x13a)](_0x8b0404)[_0x5b511b(0x13b)](_0x59017d),_0x3a35d8=_0x2f66ee[_0x5b511b(0x168)](_0x2f66ee),_0x57dd92=_0x2f66ee['dot'](_0xb3d153),_0x31fe7e=_0x2f66ee[_0x5b511b(0x168)](_0x4d8fea),_0x47bc35=_0xb3d153['dot'](_0x4d8fea),_0x33b7eb=_0x4d8fea[_0x5b511b(0x168)](_0x4d8fea),_0x57d669=_0x24c956*_0x24c956,_0x50ced1=_0x3a35d8-_0x57dd92*_0x57dd92,_0xca7fe2=_0x3a35d8*_0x47bc35-_0x31fe7e*_0x57dd92,_0x1a90e6=_0x3a35d8*(_0x33b7eb-_0x57d669)-_0x31fe7e*_0x31fe7e;let _0x20c367=Infinity,_0x88b8ba=null,_0x1ecd6a=null;const _0x56ffd4=1e-10;if(Math[_0x5b511b(0x146)](_0x50ced1)>_0x56ffd4){const _0x5ec785=_0xca7fe2*_0xca7fe2-_0x50ced1*_0x1a90e6;if(_0x5ec785>=0x0){const _0x5e003c=(-_0xca7fe2-Math[_0x5b511b(0x165)](_0x5ec785))/_0x50ced1,_0x22443f=_0x31fe7e+_0x5e003c*_0x57dd92;if(_0x5e003c>=0x0&&_0x5e003c<=_0x2d1bfc&&_0x22443f>0x0&&_0x22443f<_0x3a35d8){_0x20c367=_0x5e003c,_0x88b8ba=this[_0x5b511b(0x15f)][_0x5b511b(0x13a)](_0xb3d153)[_0x5b511b(0x140)](_0x5e003c)[_0x5b511b(0x13d)](_0x8b0404);const _0x434116=this[_0x5b511b(0x151)][_0x5b511b(0x13a)](_0x2f66ee)[_0x5b511b(0x140)](_0x22443f/_0x3a35d8)[_0x5b511b(0x13d)](_0x59017d);_0x1ecd6a=this[_0x5b511b(0x151)]['copy'](_0x88b8ba)[_0x5b511b(0x13b)](_0x434116);const _0x4cdbc3=_0x1ecd6a[_0x5b511b(0x14b)]();_0x4cdbc3>1e-12?_0x1ecd6a[_0x5b511b(0x140)](0x1/Math[_0x5b511b(0x165)](_0x4cdbc3)):_0x1ecd6a[_0x5b511b(0x13f)](0x0,0x1,0x0);}}}const _0x36a29f=this[_0x5b511b(0x131)](_0x8b0404,_0xb3d153,_0x2d1bfc,_0x59017d,_0x24c956);_0x36a29f&&_0x36a29f[_0x5b511b(0x152)]<_0x20c367&&(_0x20c367=_0x36a29f['distance'],_0x88b8ba=_0x36a29f[_0x5b511b(0x12e)],_0x1ecd6a=_0x36a29f[_0x5b511b(0x15d)]);const _0x5660a0=this[_0x5b511b(0x131)](_0x8b0404,_0xb3d153,_0x2d1bfc,_0x1fff66,_0x24c956);_0x5660a0&&_0x5660a0[_0x5b511b(0x152)]<_0x20c367&&(_0x20c367=_0x5660a0[_0x5b511b(0x152)],_0x88b8ba=_0x5660a0[_0x5b511b(0x12e)],_0x1ecd6a=_0x5660a0['normal']);if(!_0x88b8ba||!_0x1ecd6a||!Number[_0x5b511b(0x149)](_0x20c367))return null;return {'point':_0x88b8ba[_0x5b511b(0x15c)](),'normal':_0x1ecd6a[_0x5b511b(0x15c)](),'distance':_0x20c367};}[_0x372ff5(0x131)](_0x2ff44b,_0x5afa24,_0x57c937,_0x2d0a27,_0x584cc5){const _0x238777=_0x372ff5,_0x37b67d=_0x2ff44b['clone']()[_0x238777(0x13b)](_0x2d0a27),_0x47c84a=_0x37b67d[_0x238777(0x168)](_0x5afa24),_0xab6db6=_0x37b67d[_0x238777(0x168)](_0x37b67d)-_0x584cc5*_0x584cc5,_0x5e24e3=_0x47c84a*_0x47c84a-_0xab6db6;if(_0x5e24e3<0x0)return null;const _0xa6c985=Math[_0x238777(0x165)](_0x5e24e3),_0x33af9a=-_0x47c84a-_0xa6c985;if(_0x33af9a<0x0||_0x33af9a>_0x57c937){const _0x535b88=-_0x47c84a+_0xa6c985;if(_0x535b88<0x0||_0x535b88>_0x57c937)return null;return this[_0x238777(0x150)](_0x2ff44b,_0x5afa24,_0x535b88,_0x2d0a27);}return this[_0x238777(0x150)](_0x2ff44b,_0x5afa24,_0x33af9a,_0x2d0a27);}[_0x372ff5(0x150)](_0x353c8d,_0x41ad91,_0x5db370,_0x55de98){const _0x1f234c=_0x372ff5,_0xab7a01=_0x353c8d[_0x1f234c(0x15c)]()[_0x1f234c(0x13d)](_0x41ad91[_0x1f234c(0x15c)]()['multiplyScalar'](_0x5db370)),_0x23036e=_0xab7a01[_0x1f234c(0x15c)]()[_0x1f234c(0x13b)](_0x55de98),_0x3cf8f7=_0x23036e[_0x1f234c(0x14b)]();return _0x3cf8f7>1e-12?_0x23036e['multiplyScalar'](0x1/Math[_0x1f234c(0x165)](_0x3cf8f7)):_0x23036e[_0x1f234c(0x13f)](0x0,0x1,0x0),{'point':_0xab7a01,'normal':_0x23036e,'distance':_0x5db370};}[_0x372ff5(0x13e)](){const _0xdf2438=_0x372ff5,_0x472b58=new webgpu.Object3D();_0x472b58['name']=_0xdf2438(0x161);const _0x31464b=new webgpu.MeshBasicMaterial({'color':this[_0xdf2438(0x134)],'wireframe':!![],'transparent':!![],'opacity':this[_0xdf2438(0x14d)]}),_0x4c7596=Math[_0xdf2438(0x14a)](0.000001,this[_0xdf2438(0x142)]),_0x528d48=Math[_0xdf2438(0x14a)](0.000001,this[_0xdf2438(0x14c)]*0x2),_0x5285c1=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x4c7596,_0x4c7596,_0x528d48,0xc,0x1,!![]),_0x31464b),_0x595a1d=new webgpu.Mesh(new webgpu.SphereGeometry(_0x4c7596,0xc,0x8),_0x31464b),_0x142bfc=new webgpu.Mesh(new webgpu.SphereGeometry(_0x4c7596,0xc,0x8),_0x31464b);return _0x595a1d[_0xdf2438(0x139)]['set'](0x0,this[_0xdf2438(0x14c)],0x0),_0x142bfc['position']['set'](0x0,-this[_0xdf2438(0x14c)],0x0),_0x472b58[_0xdf2438(0x13d)](_0x5285c1),_0x472b58[_0xdf2438(0x13d)](_0x595a1d),_0x472b58['add'](_0x142bfc),this[_0xdf2438(0x160)]=_0x472b58,this['_debugCylinder']=_0x5285c1,this['_debugTop']=_0x595a1d,this[_0xdf2438(0x135)]=_0x142bfc,this[_0xdf2438(0x157)](0x0),_0x472b58;}['destroyDebugObject'](_0x31a7c2){const _0x14cb77=_0x372ff5;this[_0x14cb77(0x160)]=null,this[_0x14cb77(0x15b)]=null,this[_0x14cb77(0x129)]=null,this[_0x14cb77(0x135)]=null;}[_0x372ff5(0x157)](_0x56ca84){const _0x1771ce=_0x372ff5,_0x1121de=this[_0x1771ce(0x15b)],_0xd723da=this[_0x1771ce(0x129)],_0x7d72d7=this[_0x1771ce(0x135)];if(!_0x1121de||!_0xd723da||!_0x7d72d7)return;const _0xeac0c9=this[_0x1771ce(0x155)](),_0x18ab3b=Math[_0x1771ce(0x146)](_0xeac0c9['x'])>1e-8?_0xeac0c9['x']:0x1,_0x49e397=Math['abs'](_0xeac0c9['y'])>1e-8?_0xeac0c9['y']:0x1,_0x45112e=Math[_0x1771ce(0x146)](_0xeac0c9['z'])>1e-8?_0xeac0c9['z']:0x1,_0x3067f8=Math[_0x1771ce(0x14a)](0.000001,this[_0x1771ce(0x142)])*Math[_0x1771ce(0x14a)](Math[_0x1771ce(0x146)](_0x18ab3b),Math[_0x1771ce(0x146)](_0x45112e)),_0x261ece=Math[_0x1771ce(0x14a)](0x0,this[_0x1771ce(0x14c)])*Math[_0x1771ce(0x146)](_0x49e397);_0x1121de[_0x1771ce(0x137)][_0x1771ce(0x13f)](_0x3067f8/_0x18ab3b,_0x261ece*0x2/_0x49e397,_0x3067f8/_0x45112e),_0xd723da[_0x1771ce(0x137)][_0x1771ce(0x13f)](_0x3067f8/_0x18ab3b,_0x3067f8/_0x49e397,_0x3067f8/_0x45112e),_0x7d72d7[_0x1771ce(0x137)]['set'](_0x3067f8/_0x18ab3b,_0x3067f8/_0x49e397,_0x3067f8/_0x45112e),_0xd723da['position'][_0x1771ce(0x13f)](0x0,_0x261ece/_0x49e397,0x0),_0x7d72d7['position'][_0x1771ce(0x13f)](0x0,-_0x261ece/_0x49e397,0x0);}[_0x372ff5(0x12f)](){const _0x1ccf4d=_0x372ff5,_0x169de2=this[_0x1ccf4d(0x160)];if(!_0x169de2)return;_0x169de2[_0x1ccf4d(0x166)](_0x7fa427=>{const _0x551d2f=_0x1ccf4d,_0x196460=_0x7fa427,_0x5acba0=_0x196460[_0x551d2f(0x154)];if(!_0x5acba0)return;_0x5acba0['color'][_0x551d2f(0x158)](this[_0x551d2f(0x134)]),_0x5acba0[_0x551d2f(0x130)]=this['debugOpacity'],_0x5acba0[_0x551d2f(0x133)]=this[_0x551d2f(0x14d)]<0x1,_0x5acba0['needsUpdate']=!![];});}}
|
|
149
149
|
|
|
150
|
-
const _0x298c16=_0x16a5;(function(_0x338ea6,_0x65d43c){const _0x1899d6=_0x16a5,_0x58bd4c=_0x338ea6();while(!![]){try{const _0x3bb9ad=parseInt(_0x1899d6(0x114))/0x1+parseInt(_0x1899d6(0xe8))/0x2+-parseInt(_0x1899d6(0xac))/0x3*(parseInt(_0x1899d6(0xe6))/0x4)+-parseInt(_0x1899d6(0x111))/0x5*(-parseInt(_0x1899d6(0xb4))/0x6)+parseInt(_0x1899d6(0xb2))/0x7+-parseInt(_0x1899d6(0xe2))/0x8*(-parseInt(_0x1899d6(0x12a))/0x9)+-parseInt(_0x1899d6(0x119))/0xa*(parseInt(_0x1899d6(0xb6))/0xb);if(_0x3bb9ad===_0x65d43c)break;else _0x58bd4c['push'](_0x58bd4c['shift']());}catch(_0x4aa4da){_0x58bd4c['push'](_0x58bd4c['shift']());}}}(_0x5103,0x855b9));function _0x16a5(_0x11c6d2,_0x512ea5){_0x11c6d2=_0x11c6d2-0xaa;const _0x5103ef=_0x5103();let _0x16a547=_0x5103ef[_0x11c6d2];return _0x16a547;}function _0x5103(){const _0x52d77c=['app','onRawClickDelegate','Pawn','near','halfHeight','1165bFTwui','ShiftLeft','onPointerMoveDelegate','858058OQlRSw','width','KeyS','material','getQuaternion','7921630PSqzdM','dispose','ArrowUp','onPointerDownDelegate','rootComponent','enableGravity','_isRightDragging','_targetPos','onContextMenu','YXZ','setCameraDraggingState','ShiftRight','distance','clientY','onPointerLockChangeDelegate','add','lookSpeed','6517611LPGjXA','_yaw','setCollisionResponse','possess','KeyW','point','setQuaternion','exitPointerLock','onPointerLockChange','3MbIKBv','controller','inputFilter','onKeyUp','length','_pitch','1371727VvVStT','threeObject','26598QJfMcs','onMouseMove','22HkaNEk','unpossess','ray','onMouseDown','camera','KeyD','setFromCamera','eyeHeight','setRotation','onMouseUp','ArrowRight','requestPointerLock','blocking','normalize','_verticalVelocity','onClick','updateProjectionMatrix','getPosition','Space','constructRootComponent','Visibility','normal','viewport','atan2','onKeyDown','multiply','landToGround','gravity','pointerLockElement','setFromAxisAngle','left','collider','clone','tick','updateCameraFromPawn','max','_moveLeft','_moveForward','invert','position','asin','KeyA','buttons','_moveRight','8opKlWX','onWindowBlurDelegate','dot','onContextMenuDelegate','3414652TJyjJf','code','346270GihjYQ','button','sub','remove','radius','order','physics','ArrowDown','setPosition','visible','onKeyDownDelegate','moveSpeed','syncRotation','multiplyScalar','_moveBackward','canvas','onPointerUpDelegate','lineTraceMulti','applyQuaternion','dataset','getBoundingClientRect','quaternion','clamp','_moveUp','ArrowLeft','copy','isClickEnabled','lengthSq','find','_clickMarker','_moveDown','geometry','onBlur','enabled','parentActor','onKeyUpDelegate'];_0x5103=function(){return _0x52d77c;};return _0x5103();}class FirstPerson extends Pawn{constructor(_0x180798){const _0x5cf388=_0x16a5;super(_0x180798),this[_0x5cf388(0xf3)]=0xa,this[_0x5cf388(0x129)]=0.002,this[_0x5cf388(0x11e)]=!![],this[_0x5cf388(0xd1)]=0x1e,this[_0x5cf388(0xbd)]=0.7,this[_0x5cf388(0xc4)]=0x0,this[_0x5cf388(0x12b)]=0x0,this[_0x5cf388(0xb1)]=0x0,this['_targetPos']=null,this[_0x5cf388(0x105)]=null,this[_0x5cf388(0xdb)]=![],this['_moveBackward']=![],this[_0x5cf388(0xda)]=![],this[_0x5cf388(0xe1)]=![],this[_0x5cf388(0xff)]=![],this[_0x5cf388(0x106)]=![],this[_0x5cf388(0x11f)]=![],this[_0x5cf388(0x121)]=_0x32acd3=>{const _0x3394b2=_0x5cf388;if(!Pawn[_0x3394b2(0xae)]())return;_0x32acd3['preventDefault']();},this['onBlur']=()=>{const _0x52b409=_0x5cf388;this['_moveForward']=![],this[_0x52b409(0xf6)]=![],this[_0x52b409(0xda)]=![],this['_moveRight']=![],this[_0x52b409(0xff)]=![],this[_0x52b409(0x106)]=![],this[_0x52b409(0x11f)]=![],this['setCameraDraggingState'](![]);},this['onMouseDown']=_0x8e4d00=>{const _0x380da4=_0x5cf388;if(!this['enabled']||!Pawn[_0x380da4(0xae)]())return;if(_0x8e4d00[_0x380da4(0xe9)]!==0x2)return;this[_0x380da4(0x11f)]=!![],this[_0x380da4(0x123)](!![]);const _0x204b29=this[_0x380da4(0x10c)][_0x380da4(0xcc)][_0x380da4(0xf7)];_0x204b29&&document[_0x380da4(0xd2)]!==_0x204b29&&_0x204b29[_0x380da4(0xc1)]();},this['onMouseUp']=_0x2e26be=>{const _0x12fa46=_0x5cf388;if(_0x2e26be['button']!==0x2)return;this[_0x12fa46(0x11f)]=![],this[_0x12fa46(0x123)](![]),document[_0x12fa46(0xd2)]===this[_0x12fa46(0x10c)]['viewport'][_0x12fa46(0xf7)]&&document[_0x12fa46(0xaa)]();},this[_0x5cf388(0xc5)]=_0x20ff3d=>{const _0x2a888f=_0x5cf388;if(!this[_0x2a888f(0x109)]||!Pawn['inputFilter']())return;if(_0x20ff3d[_0x2a888f(0xe9)]!==0x0)return;const _0x3c17f2=this[_0x2a888f(0x10c)][_0x2a888f(0xcc)][_0x2a888f(0xf7)];if(!_0x3c17f2||!this[_0x2a888f(0xba)])return;const _0x9c0bb2=_0x3c17f2[_0x2a888f(0xfc)](),_0x22e433=new webgpu.Vector2((_0x20ff3d['clientX']-_0x9c0bb2[_0x2a888f(0xd4)])/_0x9c0bb2[_0x2a888f(0x115)]*0x2-0x1,-((_0x20ff3d[_0x2a888f(0x126)]-_0x9c0bb2['top'])/_0x9c0bb2['height'])*0x2+0x1),_0x208dd6=new webgpu.Raycaster();_0x208dd6[_0x2a888f(0xbc)](_0x22e433,this[_0x2a888f(0xba)]);const _0x1e1ee3=_0x208dd6[_0x2a888f(0xb8)]['origin'][_0x2a888f(0xd6)](),_0x3e2bec=_0x1e1ee3['clone']()[_0x2a888f(0x128)](_0x208dd6['ray']['direction'][_0x2a888f(0xd6)]()['multiplyScalar'](0x3e8)),_0x775c27=this['rootComponent']instanceof CapsuleColliderComponent?this[_0x2a888f(0x11d)]:undefined,_0x4b1865=this[_0x2a888f(0x10c)]['world']['physics']['lineTraceMulti'](_0x1e1ee3,_0x3e2bec,exports.CollisionChannel[_0x2a888f(0x10e)],_0x775c27);let _0x51944c=null;for(const _0x72216f of _0x4b1865){if(!_0x72216f[_0x2a888f(0xc2)])continue;if(this[_0x2a888f(0xba)]instanceof webgpu.PerspectiveCamera){if(_0x72216f['distance']<this[_0x2a888f(0xba)][_0x2a888f(0x10f)]*1.5)continue;}const _0x35bff5=_0x72216f[_0x2a888f(0xd5)],_0x18a955=_0x35bff5&&(_0x35bff5[_0x2a888f(0x102)]||_0x35bff5[_0x2a888f(0x10a)]&&_0x35bff5[_0x2a888f(0x10a)][_0x2a888f(0x102)]),_0x5d820f=_0x72216f[_0x2a888f(0xcb)]['y']>0.5;if(!_0x5d820f&&!_0x18a955){let _0x202270=0.5;this[_0x2a888f(0xba)]instanceof webgpu.PerspectiveCamera&&(_0x202270=this[_0x2a888f(0xba)][_0x2a888f(0x10f)]*0x2);if(_0x72216f[_0x2a888f(0x125)]>_0x202270)break;continue;}_0x51944c=_0x72216f;break;}if(_0x51944c){const _0x922211=_0x51944c[_0x2a888f(0xd5)];if(_0x922211){if(_0x922211[_0x2a888f(0x102)])return;if(_0x922211['parentActor']&&_0x922211['parentActor'][_0x2a888f(0x102)])return;}_0x51944c[_0x2a888f(0xcb)]['y']>0.5&&(this[_0x2a888f(0x120)]=_0x51944c[_0x2a888f(0x12f)][_0x2a888f(0xd6)](),this[_0x2a888f(0x105)]&&(this['_clickMarker'][_0x2a888f(0xdd)][_0x2a888f(0x101)](this[_0x2a888f(0x120)]),this['_clickMarker'][_0x2a888f(0xf1)]=!![]));}},this[_0x5cf388(0xab)]=()=>{},this['onMouseMove']=_0x5edf15=>{const _0x13d67b=_0x5cf388,_0x6e9ede=(_0x5edf15[_0x13d67b(0xe0)]&0x2)===0x2;if(_0x6e9ede&&!this[_0x13d67b(0x11f)])this[_0x13d67b(0x11f)]=!![],this[_0x13d67b(0x123)](!![]);else !_0x6e9ede&&this[_0x13d67b(0x11f)]&&(this[_0x13d67b(0x11f)]=![],this[_0x13d67b(0x123)](![]));if(document[_0x13d67b(0xd2)]!==this[_0x13d67b(0x10c)]['viewport']['canvas']&&!_0x6e9ede)return;if(!this['enabled']||!Pawn['inputFilter']())return;const _0x588580=_0x5edf15['movementX']||0x0,_0x26e363=_0x5edf15['movementY']||0x0;this[_0x13d67b(0xf4)](),this[_0x13d67b(0x12b)]-=_0x588580*this[_0x13d67b(0x129)],this[_0x13d67b(0xb1)]-=_0x26e363*this[_0x13d67b(0x129)];const _0x246300=Math['PI']/0x2;this[_0x13d67b(0xb1)]=webgpu.MathUtils[_0x13d67b(0xfe)](this[_0x13d67b(0xb1)],-_0x246300+0.001,_0x246300-0.001);const _0x178393=new webgpu.Quaternion()[_0x13d67b(0xd3)](new webgpu.Vector3(0x0,0x1,0x0),this[_0x13d67b(0x12b)]);super[_0x13d67b(0x130)](_0x178393),this['updateCameraFromPawn']();},this[_0x5cf388(0xce)]=_0x21ddf6=>{const _0x29edac=_0x5cf388;if(!Pawn[_0x29edac(0xae)]())return;if([_0x29edac(0x11b),_0x29edac(0x12e),_0x29edac(0x100),_0x29edac(0xdf),_0x29edac(0xef),_0x29edac(0x116),_0x29edac(0xc0),'KeyD']['includes'](_0x21ddf6[_0x29edac(0xe7)])){this[_0x29edac(0x120)]=null;if(this[_0x29edac(0x105)])this[_0x29edac(0x105)][_0x29edac(0xf1)]=![];}switch(_0x21ddf6[_0x29edac(0xe7)]){case _0x29edac(0x11b):case _0x29edac(0x12e):this['_moveForward']=!![];break;case _0x29edac(0x100):case _0x29edac(0xdf):this[_0x29edac(0xda)]=!![];break;case 'ArrowDown':case _0x29edac(0x116):this[_0x29edac(0xf6)]=!![];break;case _0x29edac(0xc0):case _0x29edac(0xbb):this[_0x29edac(0xe1)]=!![];break;case _0x29edac(0xc8):!this['enableGravity']&&(this[_0x29edac(0xff)]=!![]);break;case _0x29edac(0x112):case _0x29edac(0x124):this['_moveDown']=!![];break;}},this[_0x5cf388(0xaf)]=_0x1d5b73=>{const _0x1595b9=_0x5cf388;switch(_0x1d5b73[_0x1595b9(0xe7)]){case _0x1595b9(0x11b):case _0x1595b9(0x12e):this[_0x1595b9(0xdb)]=![];break;case _0x1595b9(0x100):case _0x1595b9(0xdf):this[_0x1595b9(0xda)]=![];break;case _0x1595b9(0xef):case _0x1595b9(0x116):this[_0x1595b9(0xf6)]=![];break;case 'ArrowRight':case _0x1595b9(0xbb):this[_0x1595b9(0xe1)]=![];break;case 'Space':this['_moveUp']=![];break;case _0x1595b9(0x112):case _0x1595b9(0x124):this[_0x1595b9(0x106)]=![];break;}};}[_0x298c16(0xc9)](){const _0x2c959d=_0x298c16,_0x12583f=new CapsuleColliderComponent(this[_0x2c959d(0x10c)],0.35,0.55);return _0x12583f['objectType']=exports.CollisionChannel[_0x2c959d(0x10e)],_0x12583f[_0x2c959d(0x12c)](exports.CollisionChannel[_0x2c959d(0xca)],exports.CollisionResponse['Ignore']),_0x12583f;}[_0x298c16(0xd0)](){const _0x3ee2e9=_0x298c16,_0x5ceafd=this['getPosition'](),_0x56538b=_0x5ceafd[_0x3ee2e9(0xd6)]()[_0x3ee2e9(0x128)](new webgpu.Vector3(0x0,-1e3,0x0)),_0x58eafc=this['rootComponent'],_0x4ffb59=this[_0x3ee2e9(0x10c)]['world'][_0x3ee2e9(0xee)]['lineTraceSingle'](_0x5ceafd,_0x56538b,exports.CollisionChannel['Pawn'],_0x58eafc);if(_0x4ffb59&&_0x4ffb59[_0x3ee2e9(0xc2)]){const _0x3baabc=_0x58eafc['halfHeight']+_0x58eafc[_0x3ee2e9(0xec)],_0x361d55=_0x4ffb59[_0x3ee2e9(0x12f)]['y']+_0x3baabc;this[_0x3ee2e9(0xf0)](_0x5ceafd['x'],_0x361d55,_0x5ceafd['z']),this['_verticalVelocity']=0x0;}}['syncRotation'](){const _0x38dc78=_0x298c16,_0x16ae99=this[_0x38dc78(0x118)](),_0x22d0c6=new webgpu.Vector3(0x0,0x0,-1)[_0x38dc78(0xfa)](_0x16ae99);this['_yaw']=Math[_0x38dc78(0xcd)](-_0x22d0c6['x'],-_0x22d0c6['z']);}[_0x298c16(0xbe)](..._0x525893){const _0x52dc96=_0x298c16,_0x2c6c94=new webgpu.Quaternion();_0x525893[_0x52dc96(0xb0)]===0x1?_0x2c6c94['setFromEuler'](_0x525893[0x0]):_0x2c6c94['setFromEuler'](new webgpu.Euler(_0x525893[0x0],_0x525893[0x1],_0x525893[0x2],_0x52dc96(0x122))),this['setQuaternion'](_0x2c6c94);}[_0x298c16(0x130)](..._0x1b8524){const _0x56f0d2=_0x298c16;let _0x302e0c;_0x1b8524['length']===0x1?_0x302e0c=_0x1b8524[0x0]:_0x302e0c=new webgpu.Quaternion(_0x1b8524[0x0],_0x1b8524[0x1],_0x1b8524[0x2],_0x1b8524[0x3]);const _0x4a97cc=new webgpu.Vector3(0x0,0x0,-1)['applyQuaternion'](_0x302e0c);let _0x1de75b=Math[_0x56f0d2(0xde)](webgpu.MathUtils[_0x56f0d2(0xfe)](_0x4a97cc['y'],-1,0x1));const _0x243383=Math['PI']/0x2;_0x1de75b=webgpu.MathUtils['clamp'](_0x1de75b,-_0x243383+0.001,_0x243383-0.001);const _0x4745a4=Math[_0x56f0d2(0xcd)](-_0x4a97cc['x'],-_0x4a97cc['z']);this['_pitch']=_0x1de75b,this[_0x56f0d2(0x12b)]=_0x4745a4;const _0x3ab9eb=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x0,0x1,0x0),this[_0x56f0d2(0x12b)]);super[_0x56f0d2(0x130)](_0x3ab9eb),this[_0x56f0d2(0x109)]&&this['updateCameraFromPawn']();}['possess'](){const _0x5a2647=_0x298c16;super[_0x5a2647(0x12d)]();const _0x4c7efa=this[_0x5a2647(0x10c)][_0x5a2647(0xad)];_0x4c7efa&&(_0x4c7efa[_0x5a2647(0x10d)][_0x5a2647(0x128)](this[_0x5a2647(0xc5)]),_0x4c7efa['onContextMenuDelegate'][_0x5a2647(0x128)](this[_0x5a2647(0x121)]),_0x4c7efa[_0x5a2647(0x127)][_0x5a2647(0x128)](this['onPointerLockChange']),_0x4c7efa['onKeyDownDelegate'][_0x5a2647(0x128)](this['onKeyDown']),_0x4c7efa[_0x5a2647(0x10b)][_0x5a2647(0x128)](this[_0x5a2647(0xaf)]),_0x4c7efa[_0x5a2647(0x113)][_0x5a2647(0x128)](this['onMouseMove']),_0x4c7efa[_0x5a2647(0x11c)][_0x5a2647(0x128)](this[_0x5a2647(0xb9)]),_0x4c7efa[_0x5a2647(0xf8)]['add'](this[_0x5a2647(0xbf)]),_0x4c7efa[_0x5a2647(0xe3)][_0x5a2647(0x128)](this[_0x5a2647(0x108)])),this[_0x5a2647(0x11d)]&&this[_0x5a2647(0x11d)][_0x5a2647(0xb3)]&&(this[_0x5a2647(0x11d)][_0x5a2647(0xb3)]['rotation'][_0x5a2647(0xed)]=_0x5a2647(0x122)),this['syncRotation'](),this[_0x5a2647(0xd8)]();}[_0x298c16(0xb7)](){const _0x42a12b=_0x298c16;var _0x5b22f3;super['unpossess']();const _0x4c8956=this[_0x42a12b(0x10c)][_0x42a12b(0xad)];_0x4c8956&&(_0x4c8956['onRawClickDelegate'][_0x42a12b(0xeb)](this[_0x42a12b(0xc5)]),_0x4c8956[_0x42a12b(0xe5)][_0x42a12b(0xeb)](this[_0x42a12b(0x121)]),_0x4c8956[_0x42a12b(0x127)][_0x42a12b(0xeb)](this[_0x42a12b(0xab)]),_0x4c8956[_0x42a12b(0xf2)][_0x42a12b(0xeb)](this[_0x42a12b(0xce)]),_0x4c8956[_0x42a12b(0x10b)][_0x42a12b(0xeb)](this['onKeyUp']),_0x4c8956[_0x42a12b(0x113)]['remove'](this[_0x42a12b(0xb5)]),_0x4c8956['onPointerDownDelegate'][_0x42a12b(0xeb)](this[_0x42a12b(0xb9)]),_0x4c8956[_0x42a12b(0xf8)]['remove'](this[_0x42a12b(0xbf)]),_0x4c8956[_0x42a12b(0xe3)]['remove'](this[_0x42a12b(0x108)])),this[_0x42a12b(0x11f)]=![],this[_0x42a12b(0x123)](![]),this['_clickMarker']&&((_0x5b22f3=this[_0x42a12b(0x105)]['parent'])===null||_0x5b22f3===void 0?void 0:_0x5b22f3[_0x42a12b(0xeb)](this[_0x42a12b(0x105)]),this[_0x42a12b(0x105)][_0x42a12b(0x107)][_0x42a12b(0x11a)](),this[_0x42a12b(0x105)][_0x42a12b(0x117)][_0x42a12b(0x11a)](),this[_0x42a12b(0x105)]=null),document[_0x42a12b(0xd2)]===this[_0x42a12b(0x10c)][_0x42a12b(0xcc)]['canvas']&&document[_0x42a12b(0xaa)]();}['getTargetCameraState'](){const _0x30dfe7=_0x298c16,_0x29e981=this[_0x30dfe7(0xc7)]();_0x29e981['y']+=this[_0x30dfe7(0xbd)];const _0xcf9098=this[_0x30dfe7(0xba)]||this[_0x30dfe7(0x10c)][_0x30dfe7(0xba)],_0x153cb1=this['getQuaternion'](),_0x269269=new webgpu.Quaternion()[_0x30dfe7(0xd3)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x30dfe7(0xb1)]),_0x47fb13=_0x153cb1[_0x30dfe7(0xd6)]()['multiply'](_0x269269);if(_0xcf9098){const _0x2b1a64=new webgpu.Vector3(0x0,0x0,_0xcf9098[_0x30dfe7(0x10f)])[_0x30dfe7(0xfa)](_0x47fb13);_0x29e981[_0x30dfe7(0x128)](_0x2b1a64);}return {'position':_0x29e981,'quaternion':_0x47fb13};}['setCameraDraggingState'](_0x2dc284){const _0x563843=_0x298c16,_0x270b7c=this[_0x563843(0x10c)][_0x563843(0xcc)]['outer'];if(!_0x270b7c)return;_0x2dc284?_0x270b7c[_0x563843(0xfb)]['lyCameraDragging']='1':delete _0x270b7c['dataset']['lyCameraDragging'];}[_0x298c16(0xd7)](_0x1068d2){const _0x42fa78=_0x298c16;if(!this[_0x42fa78(0x109)])return;const _0x40a865=this[_0x42fa78(0xf3)]*_0x1068d2,_0x2b8672=new webgpu.Vector3();if(this['_moveForward'])_0x2b8672['z']-=0x1;if(this[_0x42fa78(0xf6)])_0x2b8672['z']+=0x1;if(this['_moveLeft'])_0x2b8672['x']-=0x1;if(this[_0x42fa78(0xe1)])_0x2b8672['x']+=0x1;if(this[_0x42fa78(0x120)]&&_0x2b8672['lengthSq']()===0x0){const _0x55a919=this[_0x42fa78(0xc7)](),_0x13f8f3=this[_0x42fa78(0x120)][_0x42fa78(0xd6)]();this[_0x42fa78(0x11e)]&&(_0x13f8f3['y']=_0x55a919['y']);const _0xf5f4ea=_0x13f8f3[_0x42fa78(0xea)](_0x55a919),_0x4275bd=_0xf5f4ea[_0x42fa78(0xb0)]();if(_0x4275bd>0.1){_0xf5f4ea[_0x42fa78(0xc3)]();if(this['enableGravity']){const _0x3d8113=this[_0x42fa78(0x118)]()[_0x42fa78(0xdc)](),_0x41bd0a=_0xf5f4ea[_0x42fa78(0xd6)]()[_0x42fa78(0xfa)](_0x3d8113);_0x2b8672[_0x42fa78(0x101)](_0x41bd0a);}else _0x2b8672['copy'](_0xf5f4ea);}else {this[_0x42fa78(0x120)]=null;if(this[_0x42fa78(0x105)])this[_0x42fa78(0x105)][_0x42fa78(0xf1)]=![];}}if(!this['enableGravity']){if(this['_moveUp'])_0x2b8672['y']+=0x1;if(this[_0x42fa78(0x106)])_0x2b8672['y']-=0x1;}let _0x6b94a8=new webgpu.Vector3();if(_0x2b8672[_0x42fa78(0x103)]()>0x0){_0x2b8672['normalize']()[_0x42fa78(0xf5)](_0x40a865);const _0x3cbc1a=this[_0x42fa78(0x118)]();_0x6b94a8=_0x2b8672[_0x42fa78(0xfa)](_0x3cbc1a),this[_0x42fa78(0x11e)]&&(_0x6b94a8['y']=0x0,_0x6b94a8[_0x42fa78(0x103)]()>0x0&&_0x6b94a8['normalize']()[_0x42fa78(0xf5)](_0x40a865));}const _0x4f0512=this[_0x42fa78(0x10c)]['world'],_0x15ba7b=this[_0x42fa78(0xc7)](),_0x48a8d1=this[_0x42fa78(0x11d)]instanceof CapsuleColliderComponent?this[_0x42fa78(0x11d)]:null,_0xad9768=_0x48a8d1?_0x48a8d1[_0x42fa78(0xec)]:0.35,_0x7ba97f=_0x48a8d1?_0x48a8d1[_0x42fa78(0x110)]:0.9;if(this['enableGravity']){this[_0x42fa78(0xc4)]-=this[_0x42fa78(0xd1)]*_0x1068d2;const _0x27c5fe=_0x15ba7b[_0x42fa78(0xd6)](),_0x1b0c15=_0x7ba97f+_0xad9768+0.1,_0x3558a5=_0x4f0512[_0x42fa78(0xee)][_0x42fa78(0xf9)](_0x27c5fe,_0x27c5fe[_0x42fa78(0xd6)]()['add'](new webgpu.Vector3(0x0,-_0x1b0c15,0x0)),exports.CollisionChannel[_0x42fa78(0x10e)],_0x48a8d1||undefined),_0xb2d466=_0x3558a5[_0x42fa78(0x104)](_0x3359be=>_0x3359be[_0x42fa78(0xc2)]);_0xb2d466&&(this[_0x42fa78(0xc4)]<=0x0&&(this[_0x42fa78(0xc4)]=Math['max'](0x0,this['_verticalVelocity']))),_0x6b94a8['y']+=this[_0x42fa78(0xc4)]*_0x1068d2;}let _0x2a4ff2=_0x6b94a8;if(_0x4f0512&&_0x4f0512[_0x42fa78(0xee)]&&_0x6b94a8[_0x42fa78(0x103)]()>0.000001){const _0x1a5b03=_0x15ba7b['clone'](),_0x17894e=_0x6b94a8['length']()+_0xad9768+0.1,_0x7df8b2=_0x1a5b03[_0x42fa78(0xd6)]()['add'](_0x6b94a8[_0x42fa78(0xd6)]()[_0x42fa78(0xc3)]()[_0x42fa78(0xf5)](_0x17894e)),_0x1264f6=_0x4f0512[_0x42fa78(0xee)]['lineTraceMulti'](_0x1a5b03,_0x7df8b2,exports.CollisionChannel[_0x42fa78(0x10e)],_0x48a8d1||undefined),_0x3b5307=_0x1264f6['find'](_0x3174c5=>_0x3174c5['blocking']);if(_0x3b5307&&_0x3b5307[_0x42fa78(0xc2)]){const _0x57a251=_0x3b5307['distance'],_0x4afd75=Math[_0x42fa78(0xd9)](0x0,_0x57a251-_0xad9768-0.001);if(_0x4afd75<_0x6b94a8[_0x42fa78(0xb0)]()){const _0x116bd8=_0x6b94a8[_0x42fa78(0xd6)]()[_0x42fa78(0xc3)](),_0x22bdd6=_0x116bd8[_0x42fa78(0xd6)]()['multiplyScalar'](_0x4afd75),_0x28afbb=_0x6b94a8['clone']()['sub'](_0x22bdd6),_0x3108c6=_0x3b5307[_0x42fa78(0xcb)],_0xa14890=_0x28afbb[_0x42fa78(0xe4)](_0x3108c6);let _0x137041=new webgpu.Vector3();_0xa14890<0x0?_0x137041=_0x28afbb['clone']()[_0x42fa78(0xea)](_0x3108c6[_0x42fa78(0xd6)]()[_0x42fa78(0xf5)](_0xa14890)):_0x137041=_0x28afbb;const _0x194424=_0x137041[_0x42fa78(0xb0)]();if(_0x194424>0.001){const _0x1d5ef6=_0x1a5b03[_0x42fa78(0xd6)]()[_0x42fa78(0x128)](_0x22bdd6),_0x2026bc=_0x194424+_0xad9768+0.1,_0x348a16=_0x1d5ef6[_0x42fa78(0xd6)]()[_0x42fa78(0x128)](_0x137041[_0x42fa78(0xd6)]()[_0x42fa78(0xc3)]()[_0x42fa78(0xf5)](_0x2026bc)),_0x23c656=_0x4f0512['physics'][_0x42fa78(0xf9)](_0x1d5ef6,_0x348a16,exports.CollisionChannel[_0x42fa78(0x10e)],_0x48a8d1||undefined),_0x109f25=_0x23c656['find'](_0x245e15=>_0x245e15['blocking']);if(_0x109f25&&_0x109f25[_0x42fa78(0xc2)]){const _0x5c02be=_0x109f25[_0x42fa78(0x125)],_0x3654d6=Math[_0x42fa78(0xd9)](0x0,_0x5c02be-_0xad9768-0.001);_0x3654d6<_0x194424&&_0x137041[_0x42fa78(0xc3)]()[_0x42fa78(0xf5)](_0x3654d6);}}_0x2a4ff2=_0x22bdd6[_0x42fa78(0x128)](_0x137041);}}}_0x2a4ff2[_0x42fa78(0x103)]()>0x0&&(_0x15ba7b[_0x42fa78(0x128)](_0x2a4ff2),this[_0x42fa78(0xf0)](_0x15ba7b)),this['updateCameraFromPawn']();}[_0x298c16(0xd8)](){const _0x774f41=_0x298c16;if(!this[_0x774f41(0x109)]||!this[_0x774f41(0xba)])return;const _0x320b75=this['getPosition']();_0x320b75['y']+=this[_0x774f41(0xbd)];const _0x9833aa=this[_0x774f41(0x118)](),_0x3ec47d=new webgpu.Quaternion()[_0x774f41(0xd3)](new webgpu.Vector3(0x1,0x0,0x0),this['_pitch']),_0x2e0405=_0x9833aa[_0x774f41(0xd6)]()[_0x774f41(0xcf)](_0x3ec47d),_0x536c8a=new webgpu.Vector3(0x0,0x0,this['camera'][_0x774f41(0x10f)])[_0x774f41(0xfa)](_0x2e0405);_0x320b75[_0x774f41(0x128)](_0x536c8a),this[_0x774f41(0xba)]['position']['copy'](_0x320b75),this[_0x774f41(0xba)][_0x774f41(0xfd)]['copy'](_0x2e0405),this[_0x774f41(0xba)][_0x774f41(0xc6)]();}}
|
|
150
|
+
const _0x317502=_0x3e0f;(function(_0x3cd114,_0x479000){const _0x5e4265=_0x3e0f,_0x106600=_0x3cd114();while(!![]){try{const _0x316674=-parseInt(_0x5e4265(0xdb))/0x1+parseInt(_0x5e4265(0x82))/0x2+-parseInt(_0x5e4265(0x76))/0x3+parseInt(_0x5e4265(0xe2))/0x4*(-parseInt(_0x5e4265(0xc0))/0x5)+parseInt(_0x5e4265(0x99))/0x6+parseInt(_0x5e4265(0xb4))/0x7+parseInt(_0x5e4265(0x97))/0x8*(parseInt(_0x5e4265(0xdc))/0x9);if(_0x316674===_0x479000)break;else _0x106600['push'](_0x106600['shift']());}catch(_0x5b2a02){_0x106600['push'](_0x106600['shift']());}}}(_0x166f,0x5b105));function _0x3e0f(_0x1fab6b,_0x31fdd1){_0x1fab6b=_0x1fab6b-0x68;const _0x166feb=_0x166f();let _0x3e0fdc=_0x166feb[_0x1fab6b];return _0x3e0fdc;}function _0x166f(){const _0x34e982=['lookSpeed','onMouseMove','multiply','buttons','threeObject','invert','setCameraDraggingState','collider','276339WNPTNx','rootComponent','onKeyUp','Visibility','dispose','isClickEnabled','clamp','Space','_isRightDragging','tick','_moveRight','_clickMarker','106935lxtByV','max','height','updateCameraFromPawn','rotation','setRotation','syncRotation','gravity','Ignore','setFromEuler','add','ArrowUp','onClick','_moveUp','_targetPos','_moveLeft','atan2','camera','_pitch','preventDefault','setPosition','eyeHeight','setFromAxisAngle','getQuaternion','dataset','parent','enableGravity','9437MRSVtj','1152927oEQguH','ArrowLeft','onRawClickDelegate','KeyD','onContextMenuDelegate','lyCameraDragging','12AYzHEb','includes','physics','code','enabled','normal','possess','YXZ','movementX','_moveForward','sub','ray','app','distance','multiplyScalar','blocking','geometry','lineTraceMulti','setQuaternion','left','position','controller','constructRootComponent','clientX','lineTraceSingle','lengthSq','halfHeight','point','requestPointerLock','clone','moveSpeed','onPointerLockChange','2038887hWatkr','setFromCamera','origin','objectType','viewport','length','onPointerDownDelegate','canvas','Pawn','ShiftRight','onMouseUp','button','504278tFmQpu','_verticalVelocity','normalize','onPointerLockChangeDelegate','visible','find','KeyW','KeyA','onMouseDown','onKeyDown','copy','inputFilter','onPointerUpDelegate','ArrowRight','material','KeyS','onContextMenu','getPosition','pointerLockElement','onKeyUpDelegate','ArrowDown','16lqyCyj','onWindowBlurDelegate','3470412XLrZca','applyQuaternion','onKeyDownDelegate','width','unpossess','_moveBackward','_yaw','near','outer','ShiftLeft','remove','onBlur','exitPointerLock','movementY','_moveDown','dot','parentActor','onPointerMoveDelegate','world'];_0x166f=function(){return _0x34e982;};return _0x166f();}class FirstPerson extends Pawn{constructor(_0x1555e3){const _0x53ef60=_0x3e0f;super(_0x1555e3),this[_0x53ef60(0x74)]=0xa,this[_0x53ef60(0xac)]=0.002,this[_0x53ef60(0xda)]=!![],this[_0x53ef60(0xc7)]=0x1e,this[_0x53ef60(0xd5)]=0.7,this[_0x53ef60(0x83)]=0x0,this[_0x53ef60(0x9f)]=0x0,this[_0x53ef60(0xd2)]=0x0,this[_0x53ef60(0xce)]=null,this[_0x53ef60(0xbf)]=null,this[_0x53ef60(0xeb)]=![],this[_0x53ef60(0x9e)]=![],this[_0x53ef60(0xcf)]=![],this[_0x53ef60(0xbe)]=![],this[_0x53ef60(0xcd)]=![],this[_0x53ef60(0xa7)]=![],this[_0x53ef60(0xbc)]=![],this[_0x53ef60(0x92)]=_0x1da2cd=>{const _0x4261fe=_0x53ef60;if(!Pawn[_0x4261fe(0x8d)]())return;_0x1da2cd[_0x4261fe(0xd3)]();},this[_0x53ef60(0xa4)]=()=>{const _0x1273c6=_0x53ef60;this[_0x1273c6(0xeb)]=![],this[_0x1273c6(0x9e)]=![],this['_moveLeft']=![],this[_0x1273c6(0xbe)]=![],this[_0x1273c6(0xcd)]=![],this[_0x1273c6(0xa7)]=![],this['_isRightDragging']=![],this['setCameraDraggingState'](![]);},this['onMouseDown']=_0x5a399a=>{const _0x42af6f=_0x53ef60;if(!this[_0x42af6f(0xe6)]||!Pawn['inputFilter']())return;if(_0x5a399a[_0x42af6f(0x81)]!==0x2)return;this[_0x42af6f(0xbc)]=!![],this['setCameraDraggingState'](!![]);const _0x5aea7c=this[_0x42af6f(0xee)][_0x42af6f(0x7a)][_0x42af6f(0x7d)];_0x5aea7c&&document[_0x42af6f(0x94)]!==_0x5aea7c&&_0x5aea7c[_0x42af6f(0x72)]();},this[_0x53ef60(0x80)]=_0x795c4c=>{const _0x2331cd=_0x53ef60;if(_0x795c4c['button']!==0x2)return;this[_0x2331cd(0xbc)]=![],this[_0x2331cd(0xb2)](![]),document[_0x2331cd(0x94)]===this['app'][_0x2331cd(0x7a)][_0x2331cd(0x7d)]&&document['exitPointerLock']();},this[_0x53ef60(0xcc)]=_0x33b405=>{const _0x4a7140=_0x53ef60;if(!this[_0x4a7140(0xe6)]||!Pawn[_0x4a7140(0x8d)]())return;if(_0x33b405[_0x4a7140(0x81)]!==0x0)return;const _0x1ff24f=this[_0x4a7140(0xee)][_0x4a7140(0x7a)][_0x4a7140(0x7d)];if(!_0x1ff24f||!this[_0x4a7140(0xd1)])return;const _0xdc9c06=_0x1ff24f['getBoundingClientRect'](),_0x465b78=new webgpu.Vector2((_0x33b405[_0x4a7140(0x6d)]-_0xdc9c06[_0x4a7140(0x69)])/_0xdc9c06[_0x4a7140(0x9c)]*0x2-0x1,-((_0x33b405['clientY']-_0xdc9c06['top'])/_0xdc9c06[_0x4a7140(0xc2)])*0x2+0x1),_0x3b3077=new webgpu.Raycaster();_0x3b3077[_0x4a7140(0x77)](_0x465b78,this[_0x4a7140(0xd1)]);const _0xcdbb34=_0x3b3077['ray'][_0x4a7140(0x78)][_0x4a7140(0x73)](),_0x1a38db=_0xcdbb34[_0x4a7140(0x73)]()[_0x4a7140(0xca)](_0x3b3077[_0x4a7140(0xed)]['direction'][_0x4a7140(0x73)]()['multiplyScalar'](0x3e8)),_0x46e04f=this[_0x4a7140(0xb5)]instanceof CapsuleColliderComponent?this[_0x4a7140(0xb5)]:undefined,_0x207c03=this[_0x4a7140(0xee)][_0x4a7140(0xab)]['physics'][_0x4a7140(0xf3)](_0xcdbb34,_0x1a38db,exports.CollisionChannel[_0x4a7140(0x7e)],_0x46e04f);let _0x940462=null;for(const _0x5c371c of _0x207c03){if(!_0x5c371c[_0x4a7140(0xf1)])continue;if(this[_0x4a7140(0xd1)]instanceof webgpu.PerspectiveCamera){if(_0x5c371c['distance']<this['camera'][_0x4a7140(0xa0)]*1.5)continue;}const _0x16210e=_0x5c371c[_0x4a7140(0xb3)],_0x56f04f=_0x16210e&&(_0x16210e[_0x4a7140(0xb9)]||_0x16210e['parentActor']&&_0x16210e['parentActor']['isClickEnabled']),_0x4a270d=_0x5c371c[_0x4a7140(0xe7)]['y']>0.5;if(!_0x4a270d&&!_0x56f04f){let _0x4a764b=0.5;this['camera']instanceof webgpu.PerspectiveCamera&&(_0x4a764b=this[_0x4a7140(0xd1)][_0x4a7140(0xa0)]*0x2);if(_0x5c371c['distance']>_0x4a764b)break;continue;}_0x940462=_0x5c371c;break;}if(_0x940462){const _0x24a10a=_0x940462[_0x4a7140(0xb3)];if(_0x24a10a){if(_0x24a10a['isClickEnabled'])return;if(_0x24a10a[_0x4a7140(0xa9)]&&_0x24a10a[_0x4a7140(0xa9)][_0x4a7140(0xb9)])return;}_0x940462[_0x4a7140(0xe7)]['y']>0.5&&(this[_0x4a7140(0xce)]=_0x940462[_0x4a7140(0x71)][_0x4a7140(0x73)](),this[_0x4a7140(0xbf)]&&(this[_0x4a7140(0xbf)][_0x4a7140(0x6a)][_0x4a7140(0x8c)](this[_0x4a7140(0xce)]),this[_0x4a7140(0xbf)][_0x4a7140(0x86)]=!![]));}},this[_0x53ef60(0x75)]=()=>{},this[_0x53ef60(0xad)]=_0x32afc3=>{const _0x5ad42f=_0x53ef60,_0x31c75e=(_0x32afc3[_0x5ad42f(0xaf)]&0x2)===0x2;if(_0x31c75e&&!this['_isRightDragging'])this[_0x5ad42f(0xbc)]=!![],this['setCameraDraggingState'](!![]);else !_0x31c75e&&this[_0x5ad42f(0xbc)]&&(this[_0x5ad42f(0xbc)]=![],this['setCameraDraggingState'](![]));if(document['pointerLockElement']!==this['app'][_0x5ad42f(0x7a)][_0x5ad42f(0x7d)]&&!_0x31c75e)return;if(!this[_0x5ad42f(0xe6)]||!Pawn['inputFilter']())return;const _0x4e5c74=_0x32afc3[_0x5ad42f(0xea)]||0x0,_0x367557=_0x32afc3[_0x5ad42f(0xa6)]||0x0;this[_0x5ad42f(0xc6)](),this[_0x5ad42f(0x9f)]-=_0x4e5c74*this[_0x5ad42f(0xac)],this[_0x5ad42f(0xd2)]-=_0x367557*this[_0x5ad42f(0xac)];const _0x188f7e=Math['PI']/0x2;this[_0x5ad42f(0xd2)]=webgpu.MathUtils[_0x5ad42f(0xba)](this[_0x5ad42f(0xd2)],-_0x188f7e+0.001,_0x188f7e-0.001);const _0x458a65=new webgpu.Quaternion()[_0x5ad42f(0xd6)](new webgpu.Vector3(0x0,0x1,0x0),this[_0x5ad42f(0x9f)]);super[_0x5ad42f(0x68)](_0x458a65),this[_0x5ad42f(0xc3)]();},this[_0x53ef60(0x8b)]=_0x5a153a=>{const _0x3f8180=_0x53ef60;if(!Pawn[_0x3f8180(0x8d)]())return;if([_0x3f8180(0xcb),_0x3f8180(0x88),_0x3f8180(0xdd),'KeyA',_0x3f8180(0x96),_0x3f8180(0x91),_0x3f8180(0x8f),_0x3f8180(0xdf)][_0x3f8180(0xe3)](_0x5a153a[_0x3f8180(0xe5)])){this['_targetPos']=null;if(this[_0x3f8180(0xbf)])this[_0x3f8180(0xbf)]['visible']=![];}switch(_0x5a153a['code']){case 'ArrowUp':case 'KeyW':this[_0x3f8180(0xeb)]=!![];break;case _0x3f8180(0xdd):case _0x3f8180(0x89):this[_0x3f8180(0xcf)]=!![];break;case _0x3f8180(0x96):case _0x3f8180(0x91):this[_0x3f8180(0x9e)]=!![];break;case _0x3f8180(0x8f):case _0x3f8180(0xdf):this['_moveRight']=!![];break;case _0x3f8180(0xbb):!this['enableGravity']&&(this[_0x3f8180(0xcd)]=!![]);break;case _0x3f8180(0xa2):case _0x3f8180(0x7f):this[_0x3f8180(0xa7)]=!![];break;}},this['onKeyUp']=_0x8f48fe=>{const _0xfdb258=_0x53ef60;switch(_0x8f48fe[_0xfdb258(0xe5)]){case _0xfdb258(0xcb):case 'KeyW':this[_0xfdb258(0xeb)]=![];break;case 'ArrowLeft':case _0xfdb258(0x89):this[_0xfdb258(0xcf)]=![];break;case _0xfdb258(0x96):case _0xfdb258(0x91):this['_moveBackward']=![];break;case 'ArrowRight':case 'KeyD':this['_moveRight']=![];break;case _0xfdb258(0xbb):this[_0xfdb258(0xcd)]=![];break;case _0xfdb258(0xa2):case _0xfdb258(0x7f):this[_0xfdb258(0xa7)]=![];break;}};}[_0x317502(0x6c)](){const _0x4d027b=_0x317502,_0xbf9b17=new CapsuleColliderComponent(this['app'],0.35,0.55);return _0xbf9b17[_0x4d027b(0x79)]=exports.CollisionChannel[_0x4d027b(0x7e)],_0xbf9b17['setCollisionResponse'](exports.CollisionChannel[_0x4d027b(0xb7)],exports.CollisionResponse[_0x4d027b(0xc8)]),_0xbf9b17;}['landToGround'](){const _0x1931b5=_0x317502,_0x562540=this[_0x1931b5(0x93)](),_0x5882c9=_0x562540[_0x1931b5(0x73)]()['add'](new webgpu.Vector3(0x0,-1e3,0x0)),_0x1ed107=this[_0x1931b5(0xb5)],_0x2113ab=this['app'][_0x1931b5(0xab)][_0x1931b5(0xe4)][_0x1931b5(0x6e)](_0x562540,_0x5882c9,exports.CollisionChannel[_0x1931b5(0x7e)],_0x1ed107);if(_0x2113ab&&_0x2113ab[_0x1931b5(0xf1)]){const _0x180f83=_0x1ed107[_0x1931b5(0x70)]+_0x1ed107['radius'],_0x151174=_0x2113ab[_0x1931b5(0x71)]['y']+_0x180f83;this[_0x1931b5(0xd4)](_0x562540['x'],_0x151174,_0x562540['z']),this['_verticalVelocity']=0x0;}}[_0x317502(0xc6)](){const _0x4f5d01=_0x317502,_0x32498a=this[_0x4f5d01(0xd7)](),_0x530f30=new webgpu.Vector3(0x0,0x0,-1)['applyQuaternion'](_0x32498a);this[_0x4f5d01(0x9f)]=Math[_0x4f5d01(0xd0)](-_0x530f30['x'],-_0x530f30['z']);}[_0x317502(0xc5)](..._0xc4014d){const _0x50fc96=_0x317502,_0x274af7=new webgpu.Quaternion();_0xc4014d[_0x50fc96(0x7b)]===0x1?_0x274af7[_0x50fc96(0xc9)](_0xc4014d[0x0]):_0x274af7[_0x50fc96(0xc9)](new webgpu.Euler(_0xc4014d[0x0],_0xc4014d[0x1],_0xc4014d[0x2],_0x50fc96(0xe9))),this['setQuaternion'](_0x274af7);}[_0x317502(0x68)](..._0x35a9ac){const _0x42c154=_0x317502;let _0x11d0c4;_0x35a9ac[_0x42c154(0x7b)]===0x1?_0x11d0c4=_0x35a9ac[0x0]:_0x11d0c4=new webgpu.Quaternion(_0x35a9ac[0x0],_0x35a9ac[0x1],_0x35a9ac[0x2],_0x35a9ac[0x3]);const _0x2ba333=new webgpu.Vector3(0x0,0x0,-1)[_0x42c154(0x9a)](_0x11d0c4);let _0x5e66b5=Math['asin'](webgpu.MathUtils['clamp'](_0x2ba333['y'],-1,0x1));const _0x5db8b1=Math['PI']/0x2;_0x5e66b5=webgpu.MathUtils[_0x42c154(0xba)](_0x5e66b5,-_0x5db8b1+0.001,_0x5db8b1-0.001);const _0x13cf54=Math['atan2'](-_0x2ba333['x'],-_0x2ba333['z']);this[_0x42c154(0xd2)]=_0x5e66b5,this[_0x42c154(0x9f)]=_0x13cf54;const _0x5b0148=new webgpu.Quaternion()[_0x42c154(0xd6)](new webgpu.Vector3(0x0,0x1,0x0),this[_0x42c154(0x9f)]);super[_0x42c154(0x68)](_0x5b0148),this[_0x42c154(0xe6)]&&this[_0x42c154(0xc3)]();}[_0x317502(0xe8)](){const _0x3c3c57=_0x317502;super[_0x3c3c57(0xe8)]();const _0x5718c6=this[_0x3c3c57(0xee)]['controller'];_0x5718c6&&(_0x5718c6['onRawClickDelegate']['add'](this[_0x3c3c57(0xcc)]),_0x5718c6[_0x3c3c57(0xe0)][_0x3c3c57(0xca)](this['onContextMenu']),_0x5718c6[_0x3c3c57(0x85)][_0x3c3c57(0xca)](this[_0x3c3c57(0x75)]),_0x5718c6[_0x3c3c57(0x9b)]['add'](this['onKeyDown']),_0x5718c6[_0x3c3c57(0x95)][_0x3c3c57(0xca)](this[_0x3c3c57(0xb6)]),_0x5718c6[_0x3c3c57(0xaa)]['add'](this['onMouseMove']),_0x5718c6[_0x3c3c57(0x7c)][_0x3c3c57(0xca)](this[_0x3c3c57(0x8a)]),_0x5718c6[_0x3c3c57(0x8e)][_0x3c3c57(0xca)](this[_0x3c3c57(0x80)]),_0x5718c6[_0x3c3c57(0x98)][_0x3c3c57(0xca)](this[_0x3c3c57(0xa4)])),this['rootComponent']&&this[_0x3c3c57(0xb5)][_0x3c3c57(0xb0)]&&(this[_0x3c3c57(0xb5)][_0x3c3c57(0xb0)][_0x3c3c57(0xc4)]['order']='YXZ'),this[_0x3c3c57(0xc6)](),this[_0x3c3c57(0xc3)]();}[_0x317502(0x9d)](){const _0x57022c=_0x317502;var _0x388899;super['unpossess']();const _0x2b0f66=this[_0x57022c(0xee)][_0x57022c(0x6b)];_0x2b0f66&&(_0x2b0f66[_0x57022c(0xde)][_0x57022c(0xa3)](this[_0x57022c(0xcc)]),_0x2b0f66[_0x57022c(0xe0)][_0x57022c(0xa3)](this[_0x57022c(0x92)]),_0x2b0f66[_0x57022c(0x85)][_0x57022c(0xa3)](this[_0x57022c(0x75)]),_0x2b0f66[_0x57022c(0x9b)][_0x57022c(0xa3)](this[_0x57022c(0x8b)]),_0x2b0f66[_0x57022c(0x95)][_0x57022c(0xa3)](this['onKeyUp']),_0x2b0f66['onPointerMoveDelegate'][_0x57022c(0xa3)](this[_0x57022c(0xad)]),_0x2b0f66[_0x57022c(0x7c)][_0x57022c(0xa3)](this[_0x57022c(0x8a)]),_0x2b0f66[_0x57022c(0x8e)]['remove'](this[_0x57022c(0x80)]),_0x2b0f66[_0x57022c(0x98)][_0x57022c(0xa3)](this[_0x57022c(0xa4)])),this[_0x57022c(0xbc)]=![],this[_0x57022c(0xb2)](![]),this['_clickMarker']&&((_0x388899=this['_clickMarker'][_0x57022c(0xd9)])===null||_0x388899===void 0?void 0:_0x388899[_0x57022c(0xa3)](this[_0x57022c(0xbf)]),this['_clickMarker'][_0x57022c(0xf2)][_0x57022c(0xb8)](),this['_clickMarker'][_0x57022c(0x90)][_0x57022c(0xb8)](),this['_clickMarker']=null),document[_0x57022c(0x94)]===this[_0x57022c(0xee)]['viewport']['canvas']&&document[_0x57022c(0xa5)]();}['getTargetCameraState'](){const _0x278479=_0x317502,_0xfb189e=this[_0x278479(0x93)]();_0xfb189e['y']+=this['eyeHeight'];const _0x97314e=this[_0x278479(0xd1)]||this[_0x278479(0xee)]['camera'],_0x3887e0=this[_0x278479(0xd7)](),_0x3776f9=new webgpu.Quaternion()[_0x278479(0xd6)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x278479(0xd2)]),_0x14b690=_0x3887e0['clone']()[_0x278479(0xae)](_0x3776f9);if(_0x97314e){const _0x16dfd6=new webgpu.Vector3(0x0,0x0,_0x97314e[_0x278479(0xa0)])[_0x278479(0x9a)](_0x14b690);_0xfb189e[_0x278479(0xca)](_0x16dfd6);}return {'position':_0xfb189e,'quaternion':_0x14b690};}[_0x317502(0xb2)](_0x17e795){const _0x42d6d6=_0x317502,_0x1d03c6=this[_0x42d6d6(0xee)][_0x42d6d6(0x7a)][_0x42d6d6(0xa1)];if(!_0x1d03c6)return;_0x17e795?_0x1d03c6[_0x42d6d6(0xd8)][_0x42d6d6(0xe1)]='1':delete _0x1d03c6[_0x42d6d6(0xd8)][_0x42d6d6(0xe1)];}[_0x317502(0xbd)](_0x26d206){const _0xdbd11c=_0x317502;if(!this[_0xdbd11c(0xe6)])return;const _0x410bbc=this[_0xdbd11c(0x74)]*_0x26d206,_0x172e3f=new webgpu.Vector3();if(this[_0xdbd11c(0xeb)])_0x172e3f['z']-=0x1;if(this['_moveBackward'])_0x172e3f['z']+=0x1;if(this[_0xdbd11c(0xcf)])_0x172e3f['x']-=0x1;if(this['_moveRight'])_0x172e3f['x']+=0x1;if(this[_0xdbd11c(0xce)]&&_0x172e3f[_0xdbd11c(0x6f)]()===0x0){const _0x5dc515=this[_0xdbd11c(0x93)](),_0x455d4f=this['_targetPos'][_0xdbd11c(0x73)]();this['enableGravity']&&(_0x455d4f['y']=_0x5dc515['y']);const _0x220305=_0x455d4f[_0xdbd11c(0xec)](_0x5dc515),_0xceba6a=_0x220305[_0xdbd11c(0x7b)]();if(_0xceba6a>0.1){_0x220305['normalize']();if(this[_0xdbd11c(0xda)]){const _0x16889c=this['getQuaternion']()[_0xdbd11c(0xb1)](),_0x48fe5e=_0x220305['clone']()[_0xdbd11c(0x9a)](_0x16889c);_0x172e3f[_0xdbd11c(0x8c)](_0x48fe5e);}else _0x172e3f['copy'](_0x220305);}else {this['_targetPos']=null;if(this['_clickMarker'])this[_0xdbd11c(0xbf)][_0xdbd11c(0x86)]=![];}}if(!this['enableGravity']){if(this['_moveUp'])_0x172e3f['y']+=0x1;if(this[_0xdbd11c(0xa7)])_0x172e3f['y']-=0x1;}let _0x2b44ac=new webgpu.Vector3();if(_0x172e3f['lengthSq']()>0x0){_0x172e3f['normalize']()[_0xdbd11c(0xf0)](_0x410bbc);const _0x57e42b=this['getQuaternion']();_0x2b44ac=_0x172e3f[_0xdbd11c(0x9a)](_0x57e42b),this['enableGravity']&&(_0x2b44ac['y']=0x0,_0x2b44ac[_0xdbd11c(0x6f)]()>0x0&&_0x2b44ac[_0xdbd11c(0x84)]()[_0xdbd11c(0xf0)](_0x410bbc));}const _0x4fe0d7=this[_0xdbd11c(0xee)][_0xdbd11c(0xab)],_0x1bee94=this[_0xdbd11c(0x93)](),_0x316e1f=this['rootComponent']instanceof CapsuleColliderComponent?this[_0xdbd11c(0xb5)]:null,_0x437e69=_0x316e1f?_0x316e1f['radius']:0.35,_0x2cff70=_0x316e1f?_0x316e1f[_0xdbd11c(0x70)]:0.9;if(this[_0xdbd11c(0xda)]){this['_verticalVelocity']-=this[_0xdbd11c(0xc7)]*_0x26d206;const _0x2fa2c5=_0x1bee94[_0xdbd11c(0x73)](),_0x38e56b=_0x2cff70+_0x437e69+0.1,_0x3034a0=_0x4fe0d7[_0xdbd11c(0xe4)][_0xdbd11c(0xf3)](_0x2fa2c5,_0x2fa2c5[_0xdbd11c(0x73)]()[_0xdbd11c(0xca)](new webgpu.Vector3(0x0,-_0x38e56b,0x0)),exports.CollisionChannel['Pawn'],_0x316e1f||undefined),_0xd9d6ab=_0x3034a0[_0xdbd11c(0x87)](_0x50bb92=>_0x50bb92['blocking']);_0xd9d6ab&&(this[_0xdbd11c(0x83)]<=0x0&&(this[_0xdbd11c(0x83)]=Math['max'](0x0,this[_0xdbd11c(0x83)]))),_0x2b44ac['y']+=this[_0xdbd11c(0x83)]*_0x26d206;}let _0x2f3e46=_0x2b44ac;if(_0x4fe0d7&&_0x4fe0d7[_0xdbd11c(0xe4)]&&_0x2b44ac[_0xdbd11c(0x6f)]()>0.000001){const _0x5e641d=_0x1bee94[_0xdbd11c(0x73)](),_0x5885fa=_0x2b44ac[_0xdbd11c(0x7b)]()+_0x437e69+0.1,_0x165858=_0x5e641d[_0xdbd11c(0x73)]()[_0xdbd11c(0xca)](_0x2b44ac['clone']()[_0xdbd11c(0x84)]()[_0xdbd11c(0xf0)](_0x5885fa)),_0x46e66b=_0x4fe0d7[_0xdbd11c(0xe4)][_0xdbd11c(0xf3)](_0x5e641d,_0x165858,exports.CollisionChannel[_0xdbd11c(0x7e)],_0x316e1f||undefined),_0x1e1f4c=_0x46e66b[_0xdbd11c(0x87)](_0x433b4e=>_0x433b4e['blocking']);if(_0x1e1f4c&&_0x1e1f4c['blocking']){const _0x19cf26=_0x1e1f4c['distance'],_0x21bac4=Math[_0xdbd11c(0xc1)](0x0,_0x19cf26-_0x437e69-0.001);if(_0x21bac4<_0x2b44ac['length']()){const _0x4b6568=_0x2b44ac[_0xdbd11c(0x73)]()[_0xdbd11c(0x84)](),_0xd2b7f9=_0x4b6568[_0xdbd11c(0x73)]()['multiplyScalar'](_0x21bac4),_0x219c45=_0x2b44ac[_0xdbd11c(0x73)]()['sub'](_0xd2b7f9),_0x51a413=_0x1e1f4c[_0xdbd11c(0xe7)],_0x9b2f6c=_0x219c45[_0xdbd11c(0xa8)](_0x51a413);let _0xb61560=new webgpu.Vector3();_0x9b2f6c<0x0?_0xb61560=_0x219c45[_0xdbd11c(0x73)]()[_0xdbd11c(0xec)](_0x51a413[_0xdbd11c(0x73)]()['multiplyScalar'](_0x9b2f6c)):_0xb61560=_0x219c45;const _0x17fff7=_0xb61560[_0xdbd11c(0x7b)]();if(_0x17fff7>0.001){const _0xf68e09=_0x5e641d[_0xdbd11c(0x73)]()['add'](_0xd2b7f9),_0x37d07b=_0x17fff7+_0x437e69+0.1,_0x1a7ff8=_0xf68e09[_0xdbd11c(0x73)]()[_0xdbd11c(0xca)](_0xb61560[_0xdbd11c(0x73)]()[_0xdbd11c(0x84)]()[_0xdbd11c(0xf0)](_0x37d07b)),_0x25b431=_0x4fe0d7['physics'][_0xdbd11c(0xf3)](_0xf68e09,_0x1a7ff8,exports.CollisionChannel[_0xdbd11c(0x7e)],_0x316e1f||undefined),_0x14ddf1=_0x25b431['find'](_0x2c5356=>_0x2c5356['blocking']);if(_0x14ddf1&&_0x14ddf1[_0xdbd11c(0xf1)]){const _0x25e132=_0x14ddf1[_0xdbd11c(0xef)],_0x2afc09=Math[_0xdbd11c(0xc1)](0x0,_0x25e132-_0x437e69-0.001);_0x2afc09<_0x17fff7&&_0xb61560[_0xdbd11c(0x84)]()[_0xdbd11c(0xf0)](_0x2afc09);}}_0x2f3e46=_0xd2b7f9['add'](_0xb61560);}}}_0x2f3e46[_0xdbd11c(0x6f)]()>0x0&&(_0x1bee94[_0xdbd11c(0xca)](_0x2f3e46),this[_0xdbd11c(0xd4)](_0x1bee94)),this[_0xdbd11c(0xc3)]();}[_0x317502(0xc3)](){const _0x869c77=_0x317502;if(!this[_0x869c77(0xe6)]||!this[_0x869c77(0xd1)])return;const _0x28be50=this['getPosition']();_0x28be50['y']+=this[_0x869c77(0xd5)];const _0x46f741=this['getQuaternion'](),_0xe2ab63=new webgpu.Quaternion()[_0x869c77(0xd6)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x869c77(0xd2)]),_0x4233b6=_0x46f741[_0x869c77(0x73)]()[_0x869c77(0xae)](_0xe2ab63),_0x42f95e=new webgpu.Vector3(0x0,0x0,this[_0x869c77(0xd1)][_0x869c77(0xa0)])['applyQuaternion'](_0x4233b6);_0x28be50[_0x869c77(0xca)](_0x42f95e),this['camera'][_0x869c77(0x6a)]['copy'](_0x28be50),this['camera']['quaternion'][_0x869c77(0x8c)](_0x4233b6),this[_0x869c77(0xd1)]['updateProjectionMatrix']();}}
|
|
151
151
|
|
|
152
|
-
|
|
152
|
+
function _0x2c3f(){const _0x35e97a=['16710NntrAQ','11834448hyXKdE','7AUDsSm','1820GhLCyK','pointerLockElement','rootComponent','camera','lookSpeed','getPosition','moveSpeed','threeObject','copy','order','viewport','984664wTdidF','340351RndRdd','canvas','constructRootComponent','tick','getQuaternion','updateCameraFromPawn','185GwiiDG','712oyinTb','getRotation','2370888vcuVlT','enabled','673HSmNQi','20uaXJnf','getTargetCameraState','app','clone','eyeHeight','2391MYCjYS','possess','position'];_0x2c3f=function(){return _0x35e97a;};return _0x2c3f();}function _0x30b1(_0x56697f,_0x9be189){_0x56697f=_0x56697f-0x1eb;const _0x2c3f8e=_0x2c3f();let _0x30b17a=_0x2c3f8e[_0x56697f];return _0x30b17a;}const _0x4f8cde=_0x30b1;(function(_0x4d47d9,_0x4a7d80){const _0x1f9ef6=_0x30b1,_0x391c81=_0x4d47d9();while(!![]){try{const _0x11df4a=-parseInt(_0x1f9ef6(0x1f0))/0x1*(parseInt(_0x1f9ef6(0x1ec))/0x2)+parseInt(_0x1f9ef6(0x1f6))/0x3*(-parseInt(_0x1f9ef6(0x1fc))/0x4)+-parseInt(_0x1f9ef6(0x1eb))/0x5*(parseInt(_0x1f9ef6(0x1f9))/0x6)+-parseInt(_0x1f9ef6(0x1fb))/0x7*(-parseInt(_0x1f9ef6(0x207))/0x8)+-parseInt(_0x1f9ef6(0x1ee))/0x9+-parseInt(_0x1f9ef6(0x1f1))/0xa*(-parseInt(_0x1f9ef6(0x208))/0xb)+parseInt(_0x1f9ef6(0x1fa))/0xc;if(_0x11df4a===_0x4a7d80)break;else _0x391c81['push'](_0x391c81['shift']());}catch(_0x53845e){_0x391c81['push'](_0x391c81['shift']());}}}(_0x2c3f,0x316e5));class Spectator extends Pawn{constructor(_0x3043b8){const _0x139f72=_0x30b1;super(_0x3043b8),this[_0x139f72(0x202)]=0xa,this[_0x139f72(0x200)]=0.002,this['eyeHeight']=0.7;}[_0x4f8cde(0x20a)](){return new SceneComponent(this['app']);}['possess'](){const _0x3d2f74=_0x4f8cde;super[_0x3d2f74(0x1f7)](),this[_0x3d2f74(0x1fe)]&&this['rootComponent'][_0x3d2f74(0x203)]&&(this[_0x3d2f74(0x1fe)]['threeObject']['rotation'][_0x3d2f74(0x205)]='YXZ'),this[_0x3d2f74(0x20d)]();}['unpossess'](){const _0xaff8d9=_0x4f8cde;super['unpossess'](),document[_0xaff8d9(0x1fd)]===this[_0xaff8d9(0x1f3)][_0xaff8d9(0x206)][_0xaff8d9(0x209)]&&document['exitPointerLock']();}[_0x4f8cde(0x1f2)](){const _0x424a2b=_0x4f8cde,_0x55360c=this[_0x424a2b(0x201)]();return _0x55360c['y']+=this[_0x424a2b(0x1f5)],{'position':_0x55360c,'quaternion':this[_0x424a2b(0x20c)]()[_0x424a2b(0x1f4)]()};}[_0x4f8cde(0x20b)](_0x145631){const _0x38409e=_0x4f8cde;if(!this[_0x38409e(0x1ef)])return;this[_0x38409e(0x20d)]();}[_0x4f8cde(0x20d)](){const _0x296963=_0x4f8cde;if(!this[_0x296963(0x1ef)]||!this[_0x296963(0x1ff)])return;const _0x2b3549=this['getPosition']();_0x2b3549['y']+=this[_0x296963(0x1f5)],this[_0x296963(0x1ff)][_0x296963(0x1f8)][_0x296963(0x204)](_0x2b3549),this[_0x296963(0x1ff)]['rotation'][_0x296963(0x204)](this[_0x296963(0x1ed)]());}}
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
function _0x5ad9(){const _0x1e2628=['onObjectChanged','addEventListener','setAxis','onObjectChangeEvent','remove','world','66xfXxGF','change','scene','onChangeEvent','617810dcaEhj','_control','9132UXYDAz','showX','scale','6017jjhLPK','get','setTarget','attach','getScaleSnap','position','set','multiplyMatrices','16MOuAuC','showY','controller','6QMCRql','onTransforming','487016kkFKTm','targetMatrixMap','getTargetScene','1226134GisKrP','dragging-changed','clone','includes','control','onDraggingChanged','setRotationSnap','multiply','getTargetCameraState','updateMatrixWorld','possess','getTranslationSnap','helperObject','getRotationnSnap','onDraggingChangedEvent','setTranslationSnap','removeEventListener','setScaleSnap','gizmoScene','detach','onChange','222840TNrRfa','enable','enabled','canvas','traverse','onDraggingFunction','refresh','onUpdateFunction','objectChange','showZ','301716ZXSUvh','quaternion','isTickEnabled','viewPort','targets','dispose','primaryTarget','clear','camera','setSize','TransformGizmo:Canvas\x20not\x20found','unpossess','helperScene','destroy','decompose','matrixWorld','scaleSnap','forEach','invert','setMode','getMatrixInWorld','getMode','24976NvrdDT','setSpace','add','translationSnap','TransformHelperObject','120JGKEzJ','Control\x20not\x20initialized','getHelper'];_0x5ad9=function(){return _0x1e2628;};return _0x5ad9();}const _0x4305ce=_0x4dde;function _0x4dde(_0x199aed,_0x204571){_0x199aed=_0x199aed-0xbc;const _0x5ad990=_0x5ad9();let _0x4dde25=_0x5ad990[_0x199aed];return _0x4dde25;}(function(_0x1971e1,_0x20b4be){const _0x1adf70=_0x4dde,_0x17f340=_0x1971e1();while(!![]){try{const _0x59c502=-parseInt(_0x1adf70(0xf2))/0x1+-parseInt(_0x1adf70(0x108))/0x2*(-parseInt(_0x1adf70(0x116))/0x3)+parseInt(_0x1adf70(0xd0))/0x4+-parseInt(_0x1adf70(0xbe))/0x5*(parseInt(_0x1adf70(0xce))/0x6)+-parseInt(_0x1adf70(0xd3))/0x7*(-parseInt(_0x1adf70(0xcb))/0x8)+-parseInt(_0x1adf70(0xe8))/0x9*(-parseInt(_0x1adf70(0x10d))/0xa)+-parseInt(_0x1adf70(0xc3))/0xb*(parseInt(_0x1adf70(0xc0))/0xc);if(_0x59c502===_0x20b4be)break;else _0x17f340['push'](_0x17f340['shift']());}catch(_0x3c59ff){_0x17f340['push'](_0x17f340['shift']());}}}(_0x5ad9,0x31695));class TransformGizmo extends Pawn{get[_0x4305ce(0xd7)](){const _0x2aae0c=_0x4305ce;if(!this['_control'])throw new Error(_0x2aae0c(0x10e));return this[_0x2aae0c(0xbf)];}constructor(_0x1a6d0b,_0x2881a4){const _0x5c22e4=_0x4305ce;var _0x3559ad;super(_0x1a6d0b),this[_0x5c22e4(0xbf)]=null,this[_0x5c22e4(0xdf)]=new webgpu.Object3D(),this[_0x5c22e4(0xf6)]=[],this['primaryTarget']=null,this['targetMatrixMap']=new Map(),this[_0x5c22e4(0xe5)]=null,this[_0x5c22e4(0xe1)]=_0x10cbc6=>{const _0x51870b=_0x5c22e4;this[_0x51870b(0xd8)](_0x10cbc6);},this['onObjectChangeEvent']=()=>{const _0x3e98fb=_0x5c22e4;this[_0x3e98fb(0x110)]();},this[_0x5c22e4(0xbd)]=()=>{const _0x339f45=_0x5c22e4;this[_0x339f45(0xe7)]();},this['onUpdateFunction']=null,this[_0x5c22e4(0xed)]=null;let _0x5638bf=_0x1a6d0b['viewport'][_0x5c22e4(0xeb)];if(!_0x5638bf)throw new Error(_0x5c22e4(0xfc));this[_0x5c22e4(0xbf)]=new TransformControls_js.TransformControls(_0x1a6d0b[_0x5c22e4(0xfa)],_0x5638bf),this[_0x5c22e4(0xd7)][_0x5c22e4(0x10f)]()[_0x5c22e4(0xec)](_0x3f1b2c=>{_0x3f1b2c['userData']['rayIgnored']=!![];}),this[_0x5c22e4(0xdf)]['name']=_0x5c22e4(0x10c),this[_0x5c22e4(0xe5)]=(_0x3559ad=_0x2881a4===null||_0x2881a4===void 0?void 0:_0x2881a4[_0x5c22e4(0xfe)])!==null&&_0x3559ad!==void 0?_0x3559ad:null;}[_0x4305ce(0xd2)](){const _0x1494fa=_0x4305ce;var _0x21e7a8;return (_0x21e7a8=this[_0x1494fa(0xe5)])!==null&&_0x21e7a8!==void 0?_0x21e7a8:this['controller'][_0x1494fa(0x115)][_0x1494fa(0xbc)];}[_0x4305ce(0xdd)](){const _0x13fa96=_0x4305ce,_0x3439df=this['getTargetScene']();_0x3439df[_0x13fa96(0x10a)](this[_0x13fa96(0xdf)]),_0x3439df[_0x13fa96(0x10a)](this[_0x13fa96(0xd7)]['getHelper']()),this[_0x13fa96(0xd7)][_0x13fa96(0xc6)](this[_0x13fa96(0xdf)]),this[_0x13fa96(0xd7)]['addEventListener'](_0x13fa96(0x117),this[_0x13fa96(0xbd)]),this['control'][_0x13fa96(0x111)](_0x13fa96(0xd4),this[_0x13fa96(0xe1)]),this[_0x13fa96(0xd7)]['addEventListener'](_0x13fa96(0xf0),this['onObjectChangeEvent']);}[_0x4305ce(0xfd)](){const _0x278f65=_0x4305ce;this[_0x278f65(0xd7)]['removeEventListener'](_0x278f65(0x117),this['onChangeEvent']),this['control'][_0x278f65(0xe3)](_0x278f65(0xd4),this['onDraggingChangedEvent']),this['control'][_0x278f65(0xe3)](_0x278f65(0xf0),this[_0x278f65(0x113)]),this[_0x278f65(0xd7)][_0x278f65(0xe6)]();const _0x4584f2=this[_0x278f65(0xd2)]();_0x4584f2[_0x278f65(0x114)](this['helperObject']),_0x4584f2['remove'](this[_0x278f65(0xd7)][_0x278f65(0x10f)]());}[_0x4305ce(0xdb)](){const _0x2c1388=_0x4305ce;return {'position':this['camera'][_0x2c1388(0xc8)]['clone'](),'quaternion':this[_0x2c1388(0xfa)][_0x2c1388(0xf3)]['clone']()};}[_0x4305ce(0xee)](){const _0x5b49ff=_0x4305ce;if(!this[_0x5b49ff(0xf8)])return;this[_0x5b49ff(0xd7)][_0x5b49ff(0xe6)]();const _0x3cf818=this['getTargetScene']();_0x3cf818[_0x5b49ff(0x114)](this[_0x5b49ff(0xdf)]),this[_0x5b49ff(0xd1)]['clear']();let _0x323491=this[_0x5b49ff(0xf8)]['getMatrixInWorld']();_0x323491[_0x5b49ff(0x100)](this['helperObject']['position'],this[_0x5b49ff(0xdf)]['quaternion'],this[_0x5b49ff(0xdf)]['scale']),_0x3cf818[_0x5b49ff(0x10a)](this[_0x5b49ff(0xd7)][_0x5b49ff(0x10f)]()),_0x3cf818[_0x5b49ff(0x10a)](this[_0x5b49ff(0xdf)]),this[_0x5b49ff(0xd7)][_0x5b49ff(0xc6)](this['helperObject']),this[_0x5b49ff(0xf6)]['forEach'](_0x724052=>{const _0xa009ff=_0x5b49ff,_0x3706a8=_0x724052[_0xa009ff(0x106)](),_0x159873=_0x323491[_0xa009ff(0xd5)]()[_0xa009ff(0x104)]()[_0xa009ff(0xda)](_0x3706a8);this['targetMatrixMap']['set'](_0x724052,_0x159873);});}[_0x4305ce(0xe7)](){const _0x200092=_0x4305ce;this[_0x200092(0xcd)][_0x200092(0xf5)]['markRenderStateDirty']();}['onDraggingChanged'](_0x6ec05c){const _0x48847a=_0x4305ce;if(this[_0x48847a(0xf8)]){let _0x177734=this['primaryTarget'][_0x48847a(0x106)]();_0x177734['decompose'](this[_0x48847a(0xdf)]['position'],this[_0x48847a(0xdf)][_0x48847a(0xf3)],this[_0x48847a(0xdf)][_0x48847a(0xc2)]);}this[_0x48847a(0xed)]&&this[_0x48847a(0xed)](_0x6ec05c['value']);}[_0x4305ce(0x110)](){const _0x9a5443=_0x4305ce;if(this['primaryTarget']){this[_0x9a5443(0xdf)][_0x9a5443(0xdc)](!![]);const _0x2f8964=this[_0x9a5443(0xdf)][_0x9a5443(0x101)][_0x9a5443(0xd5)]();this[_0x9a5443(0xf8)][_0x9a5443(0xcf)](_0x2f8964),this['targets'][_0x9a5443(0x103)](_0x5c93d9=>{const _0x37c4bc=_0x9a5443,_0x348507=this[_0x37c4bc(0xd1)][_0x37c4bc(0xc4)](_0x5c93d9);if(_0x348507){const _0xdc3978=new webgpu.Matrix4()[_0x37c4bc(0xca)](_0x2f8964,_0x348507);_0x5c93d9[_0x37c4bc(0xcf)](_0xdc3978);}});}this[_0x9a5443(0xef)]&&this['onUpdateFunction']();}set[_0x4305ce(0xe9)](_0x54cade){const _0x3e86bd=_0x4305ce;this[_0x3e86bd(0xd7)][_0x3e86bd(0xea)]=_0x54cade;}[_0x4305ce(0xc5)](_0x3e11c1,_0x111574,_0x5cad5b=null,_0x265355=null){const _0x4d5c14=_0x4305ce;this[_0x4d5c14(0xd1)][_0x4d5c14(0xf9)]();let _0x558c89=_0x3e11c1['getMatrixInWorld']();_0x558c89[_0x4d5c14(0x100)](this[_0x4d5c14(0xdf)][_0x4d5c14(0xc8)],this['helperObject']['quaternion'],this[_0x4d5c14(0xdf)][_0x4d5c14(0xc2)]);const _0x45d6a9=this['getTargetScene']();_0x45d6a9[_0x4d5c14(0x10a)](this[_0x4d5c14(0xd7)][_0x4d5c14(0x10f)]()),this[_0x4d5c14(0xf8)]=_0x3e11c1,this[_0x4d5c14(0xf6)]=_0x111574,this[_0x4d5c14(0xf6)]['forEach'](_0x5d2f51=>{const _0x180f0b=_0x4d5c14,_0x170054=_0x5d2f51['getMatrixInWorld'](),_0x27643a=_0x558c89[_0x180f0b(0xd5)]()['invert']()[_0x180f0b(0xda)](_0x170054);this[_0x180f0b(0xd1)][_0x180f0b(0xc9)](_0x5d2f51,_0x27643a);}),_0x5cad5b&&(this['onUpdateFunction']=_0x5cad5b),_0x265355&&(this[_0x4d5c14(0xed)]=_0x265355),this[_0x4d5c14(0xf4)]=!![];}[_0x4305ce(0x107)](){const _0x42dc6b=_0x4305ce;return this[_0x42dc6b(0xd7)][_0x42dc6b(0x107)]();}[_0x4305ce(0x105)](_0x3ad1f4){const _0x2bdad7=_0x4305ce;this['control'][_0x2bdad7(0x105)](_0x3ad1f4);}[_0x4305ce(0x109)](_0x5a8b19){const _0x55d1e8=_0x4305ce;this[_0x55d1e8(0xd7)][_0x55d1e8(0x109)](_0x5a8b19);}[_0x4305ce(0x112)](_0x4b4d25){const _0x229c3a=_0x4305ce;this[_0x229c3a(0xd7)][_0x229c3a(0xc1)]=_0x4b4d25?_0x4b4d25===null||_0x4b4d25===void 0?void 0:_0x4b4d25[_0x229c3a(0xd6)]('X'):![],this['control'][_0x229c3a(0xcc)]=_0x4b4d25?_0x4b4d25===null||_0x4b4d25===void 0?void 0:_0x4b4d25['includes']('Y'):![],this['control'][_0x229c3a(0xf1)]=_0x4b4d25?_0x4b4d25===null||_0x4b4d25===void 0?void 0:_0x4b4d25[_0x229c3a(0xd6)]('Z'):![];}[_0x4305ce(0xfb)](_0x48a7cd){const _0x2602f3=_0x4305ce;this[_0x2602f3(0xd7)]['setSize'](_0x48a7cd);}[_0x4305ce(0xde)](){const _0x37ac5f=_0x4305ce;return this[_0x37ac5f(0xd7)][_0x37ac5f(0x10b)];}[_0x4305ce(0xe2)](_0x374ffd){const _0x517723=_0x4305ce;this[_0x517723(0xd7)][_0x517723(0xe2)](_0x374ffd);}[_0x4305ce(0xe0)](){const _0x4b45dc=_0x4305ce;return this[_0x4b45dc(0xd7)]['rotationSnap'];}[_0x4305ce(0xd9)](_0x1611e4){const _0x29775c=_0x4305ce;this[_0x29775c(0xd7)][_0x29775c(0xd9)](_0x1611e4);}[_0x4305ce(0xc7)](){const _0x5dbb1c=_0x4305ce;return this[_0x5dbb1c(0xd7)][_0x5dbb1c(0x102)];}[_0x4305ce(0xe4)](_0x4f31ba){const _0x5e5204=_0x4305ce;this[_0x5e5204(0xd7)]['setScaleSnap'](_0x4f31ba);}[_0x4305ce(0xff)](){const _0x3556c8=_0x4305ce;var _0x6ee993;this[_0x3556c8(0xf4)]=![],this['unpossess'](),this['targetMatrixMap'][_0x3556c8(0xf9)](),this[_0x3556c8(0xf6)]=[],this[_0x3556c8(0xf8)]=null,this['onUpdateFunction']=null,this[_0x3556c8(0xed)]=null,(_0x6ee993=this[_0x3556c8(0xbf)])===null||_0x6ee993===void 0?void 0:_0x6ee993[_0x3556c8(0xf7)](),this[_0x3556c8(0xbf)]=null,super[_0x3556c8(0xff)]();}}
|
|
155
155
|
|
|
156
|
-
|
|
156
|
+
const _0x13e81b=_0x5513;(function(_0x591e24,_0x17b159){const _0x2effbd=_0x5513,_0x2c4668=_0x591e24();while(!![]){try{const _0x1a71c8=-parseInt(_0x2effbd(0x8c))/0x1*(parseInt(_0x2effbd(0x9d))/0x2)+parseInt(_0x2effbd(0xa2))/0x3+-parseInt(_0x2effbd(0x8a))/0x4+-parseInt(_0x2effbd(0xa0))/0x5+-parseInt(_0x2effbd(0xad))/0x6*(-parseInt(_0x2effbd(0x98))/0x7)+parseInt(_0x2effbd(0x8e))/0x8*(parseInt(_0x2effbd(0xab))/0x9)+parseInt(_0x2effbd(0xa8))/0xa*(-parseInt(_0x2effbd(0x9a))/0xb);if(_0x1a71c8===_0x17b159)break;else _0x2c4668['push'](_0x2c4668['shift']());}catch(_0x428769){_0x2c4668['push'](_0x2c4668['shift']());}}}(_0x576b,0xac9a5));function _0x5513(_0x395f92,_0x485e8b){_0x395f92=_0x395f92-0x87;const _0x576b24=_0x576b();let _0x551311=_0x576b24[_0x395f92];return _0x551311;}class BoxColliderComponent extends ColliderComponent{get[_0x13e81b(0x93)](){const _0x32e449=_0x13e81b;return this[_0x32e449(0x92)];}constructor(_0x57db84,_0x305447=new webgpu.Vector3(0.5,0.5,0.5),_0x50029a){const _0x5d71c0=_0x13e81b;super(_0x57db84,_0x50029a),this[_0x5d71c0(0x91)]=null,this[_0x5d71c0(0x92)]=new webgpu.Vector3(_0x305447['x'],_0x305447['y'],_0x305447['z']),this[_0x5d71c0(0x89)]='BoxColliderComponent';}[_0x13e81b(0xaa)](_0x28d13a=new webgpu.Box3()){const _0x34f699=_0x13e81b,_0x44ab19=this[_0x34f699(0x97)](),_0x5dde0e=this['_halfExtents']['x'],_0x2aef2b=this[_0x34f699(0x92)]['y'],_0x1ff6bb=this[_0x34f699(0x92)]['z'];_0x28d13a[_0x34f699(0xa4)]();const _0x2069a4=[new webgpu.Vector3(-_0x5dde0e,-_0x2aef2b,-_0x1ff6bb),new webgpu.Vector3(-_0x5dde0e,-_0x2aef2b,_0x1ff6bb),new webgpu.Vector3(-_0x5dde0e,_0x2aef2b,-_0x1ff6bb),new webgpu.Vector3(-_0x5dde0e,_0x2aef2b,_0x1ff6bb),new webgpu.Vector3(_0x5dde0e,-_0x2aef2b,-_0x1ff6bb),new webgpu.Vector3(_0x5dde0e,-_0x2aef2b,_0x1ff6bb),new webgpu.Vector3(_0x5dde0e,_0x2aef2b,-_0x1ff6bb),new webgpu.Vector3(_0x5dde0e,_0x2aef2b,_0x1ff6bb)];for(const _0xd08d9b of _0x2069a4){_0xd08d9b[_0x34f699(0x88)](_0x44ab19),_0x28d13a['expandByPoint'](_0xd08d9b);}return _0x28d13a;}[_0x13e81b(0x90)](){const _0x15e8dd=_0x13e81b,_0x156fcb=new webgpu.Object3D();_0x156fcb[_0x15e8dd(0x89)]=_0x15e8dd(0xa5);const _0x21bf03=new webgpu.BoxGeometry(0x1,0x1,0x1),_0x9fed1f=new webgpu.MeshBasicMaterial({'color':this[_0x15e8dd(0x94)],'wireframe':!![],'transparent':!![],'opacity':this[_0x15e8dd(0x96)]}),_0x1781ad=new webgpu.Mesh(_0x21bf03,_0x9fed1f);return _0x1781ad[_0x15e8dd(0x89)]=_0x15e8dd(0x9e),_0x156fcb[_0x15e8dd(0x95)](_0x1781ad),this[_0x15e8dd(0x91)]=_0x1781ad,this[_0x15e8dd(0x87)](0x0),_0x156fcb;}['destroyDebugObject'](_0x56f38e){const _0x3e16ad=_0x13e81b;this[_0x3e16ad(0x91)]=null;}[_0x13e81b(0x87)](_0x3bff9b){const _0x70df48=_0x13e81b;if(!this[_0x70df48(0x91)])return;this[_0x70df48(0x91)]['scale']['set'](this[_0x70df48(0x92)]['x']*0x2,this[_0x70df48(0x92)]['y']*0x2,this[_0x70df48(0x92)]['z']*0x2);}['raycast'](_0x32f307,_0x27c4ef,_0x1e13fb){const _0x5521f1=_0x13e81b;if(!this[_0x5521f1(0x8d)])return null;const _0x24641f=this[_0x5521f1(0x8d)][_0x5521f1(0xa3)][_0x5521f1(0x99)]()[_0x5521f1(0x8f)](),_0x10e8ed=_0x32f307[_0x5521f1(0x99)]()['applyMatrix4'](_0x24641f),_0x191edf=_0x27c4ef['clone']()['transformDirection'](_0x24641f),_0x576235=_0x32f307['clone']()[_0x5521f1(0x95)](_0x27c4ef),_0x261254=_0x576235['applyMatrix4'](_0x24641f);_0x191edf[_0x5521f1(0xa7)](_0x261254,_0x10e8ed);const _0x204e7c=this[_0x5521f1(0x92)][_0x5521f1(0x99)]()[_0x5521f1(0xac)](),_0x338607=this[_0x5521f1(0x92)][_0x5521f1(0x99)](),_0x4a58f7=this[_0x5521f1(0x8b)](_0x10e8ed,_0x191edf,_0x204e7c,_0x338607);if(!_0x4a58f7)return null;if(_0x4a58f7['t']>_0x1e13fb)return null;const _0x28965c=_0x32f307['clone']()[_0x5521f1(0x95)](_0x27c4ef[_0x5521f1(0x99)]()[_0x5521f1(0xa9)](_0x4a58f7['t'])),_0x4ad815=_0x4a58f7['normal'],_0x24b23c=new webgpu.Matrix4()[_0x5521f1(0xa1)](this['threeObject']['matrixWorld'])[_0x5521f1(0x8f)]()[_0x5521f1(0x9c)](),_0x1a9e3b=_0x4ad815['applyMatrix4'](_0x24b23c)['normalize']();return {'point':_0x28965c,'normal':_0x1a9e3b,'distance':_0x4a58f7['t']};}[_0x13e81b(0x8b)](_0x2fe0ed,_0x5873ff,_0x56ee90,_0x1dc43a){const _0x216b0c=_0x13e81b;let _0x39e190=-Infinity,_0x530347=Infinity;const _0x3f3b41=new webgpu.Vector3(),_0xa6a15c=1e-8,_0x25a41e=_0x496a1c=>{const _0x45eb6d=_0x5513,_0x20fccf=_0x2fe0ed[_0x496a1c],_0x30271f=_0x5873ff[_0x496a1c],_0x3e1d48=_0x56ee90[_0x496a1c],_0x2df31e=_0x1dc43a[_0x496a1c];if(Math[_0x45eb6d(0x9b)](_0x30271f)<_0xa6a15c){if(_0x20fccf<_0x3e1d48||_0x20fccf>_0x2df31e)return ![];return !![];}const _0x3d4d7d=0x1/_0x30271f;let _0x23d213=(_0x3e1d48-_0x20fccf)*_0x3d4d7d,_0x34fb5b=(_0x2df31e-_0x20fccf)*_0x3d4d7d;if(_0x23d213>_0x34fb5b){const _0x10b607=_0x23d213;_0x23d213=_0x34fb5b,_0x34fb5b=_0x10b607;}if(_0x23d213>_0x39e190){_0x39e190=_0x23d213,_0x3f3b41[_0x45eb6d(0x9f)](0x0,0x0,0x0),_0x3f3b41[_0x496a1c]=_0x30271f<0x0?0x1:-1;if(_0x30271f>0x0)_0x3f3b41[_0x496a1c]=-1;else _0x3f3b41[_0x496a1c]=0x1;}_0x34fb5b<_0x530347&&(_0x530347=_0x34fb5b);if(_0x39e190>_0x530347)return ![];return !![];};if(!_0x25a41e('x')||!_0x25a41e('y')||!_0x25a41e('z'))return null;if(_0x530347<0x0)return null;if(_0x39e190<0x0)return {'t':0x0,'normal':_0x5873ff['clone']()[_0x216b0c(0xac)]()[_0x216b0c(0xa6)]()};return {'t':_0x39e190,'normal':_0x3f3b41};}}function _0x576b(){const _0x4769d0=['createDebugObject','_debugMesh','_halfExtents','halfExtents','debugColor','add','debugOpacity','getWorldMatrix','7IWpXxA','clone','293051UrfDWz','abs','transpose','4VlOaUc','BoxColliderDebugMesh','set','2091410cHdVvz','copy','3604062RSmIeM','matrixWorld','makeEmpty','BoxColliderDebug','normalize','subVectors','350pMvReq','multiplyScalar','getWorldAABB','18BvydOp','negate','7718736KghvJi','onDebugTick','applyMatrix4','name','1604264PygfEm','intersectRayAabbRaw','398873dqARSU','threeObject','3074800XmBstU','invert'];_0x576b=function(){return _0x4769d0;};return _0x576b();}
|
|
157
157
|
|
|
158
|
-
function
|
|
158
|
+
function _0x1878(_0x27f733,_0x892a20){_0x27f733=_0x27f733-0x1cf;const _0x10d046=_0x10d0();let _0x18781d=_0x10d046[_0x27f733];return _0x18781d;}const _0x1cd6f6=_0x1878;(function(_0x1c77ba,_0x2434d7){const _0x37c470=_0x1878,_0x92bd9d=_0x1c77ba();while(!![]){try{const _0xc72eb8=parseInt(_0x37c470(0x1ea))/0x1*(-parseInt(_0x37c470(0x1e6))/0x2)+parseInt(_0x37c470(0x1d6))/0x3+-parseInt(_0x37c470(0x1da))/0x4+-parseInt(_0x37c470(0x1d9))/0x5*(parseInt(_0x37c470(0x1e3))/0x6)+parseInt(_0x37c470(0x1ec))/0x7*(-parseInt(_0x37c470(0x1e5))/0x8)+parseInt(_0x37c470(0x1d7))/0x9+parseInt(_0x37c470(0x1d2))/0xa*(parseInt(_0x37c470(0x1de))/0xb);if(_0xc72eb8===_0x2434d7)break;else _0x92bd9d['push'](_0x92bd9d['shift']());}catch(_0x289a1b){_0x92bd9d['push'](_0x92bd9d['shift']());}}}(_0x10d0,0x98f23));function _0x10d0(){const _0x5d9966=['2045534cJSddl','debugOpacity','_radius','getWorldAABB','1VCToAm','onDebugTick','23513bbyPdS','radius','SphereColliderDebugMesh','transparent','getWorldScale','abs','11679130DcBIOE','name','set','debugColor','1092744rMEagQ','10850346tAYMqq','getWorldPosition','5FWOkyX','1901820wYQTtm','destroyDebugObject','max','_debugMesh','11QGiqDo','material','scale','setFromCenterAndSize','add','3497010QZMVUz','createDebugObject','72bRVeQL'];_0x10d0=function(){return _0x5d9966;};return _0x10d0();}class SphereColliderComponent extends ColliderComponent{get[_0x1cd6f6(0x1ed)](){const _0x47cde4=_0x1cd6f6;return this[_0x47cde4(0x1e8)];}constructor(_0x4bbece,_0x2b3c77=0.5,_0x289695){const _0x25ae36=_0x1cd6f6;super(_0x4bbece,_0x289695),this['_debugMesh']=null,this[_0x25ae36(0x1e8)]=_0x2b3c77,this[_0x25ae36(0x1d3)]='SphereColliderComponent';}[_0x1cd6f6(0x1e9)](_0x1ace52=new webgpu.Box3()){const _0x1c574a=_0x1cd6f6,_0x5b4df0=this[_0x1c574a(0x1d8)](),_0x1c7276=this[_0x1c574a(0x1d0)](),_0x3290b5=Math[_0x1c574a(0x1dc)](Math[_0x1c574a(0x1d1)](_0x1c7276['x']),Math[_0x1c574a(0x1d1)](_0x1c7276['y']),Math[_0x1c574a(0x1d1)](_0x1c7276['z'])),_0x5d9c91=Math[_0x1c574a(0x1dc)](0x0,this[_0x1c574a(0x1e8)])*_0x3290b5,_0x19b509=new webgpu.Vector3(_0x5d9c91*0x2,_0x5d9c91*0x2,_0x5d9c91*0x2);return _0x1ace52[_0x1c574a(0x1e1)](_0x5b4df0,_0x19b509),_0x1ace52;}[_0x1cd6f6(0x1e4)](){const _0x114d63=_0x1cd6f6,_0x256a94=new webgpu.Object3D();_0x256a94[_0x114d63(0x1d3)]='SphereColliderDebug';const _0x2a83c7=new webgpu.SphereGeometry(0x1,0x18,0x10),_0x13c902=new webgpu.MeshBasicMaterial({'color':this[_0x114d63(0x1d5)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']}),_0x53f4fb=new webgpu.Mesh(_0x2a83c7,_0x13c902);return _0x53f4fb['name']=_0x114d63(0x1ee),_0x256a94[_0x114d63(0x1e2)](_0x53f4fb),this[_0x114d63(0x1dd)]=_0x53f4fb,this[_0x114d63(0x1eb)](0x0),_0x256a94;}[_0x1cd6f6(0x1db)](_0xb185b){const _0x214557=_0x1cd6f6;this[_0x214557(0x1dd)]=null;}[_0x1cd6f6(0x1eb)](_0x320439){const _0xe83120=_0x1cd6f6,_0x234be8=this[_0xe83120(0x1dd)];if(!_0x234be8)return;const _0x2b544f=this[_0xe83120(0x1d0)](),_0x136416=Math[_0xe83120(0x1d1)](_0x2b544f['x'])>1e-8?_0x2b544f['x']:0x1,_0x42e905=Math[_0xe83120(0x1d1)](_0x2b544f['y'])>1e-8?_0x2b544f['y']:0x1,_0x56a1cd=Math[_0xe83120(0x1d1)](_0x2b544f['z'])>1e-8?_0x2b544f['z']:0x1,_0x57b9b4=Math[_0xe83120(0x1dc)](Math[_0xe83120(0x1d1)](_0x136416),Math['abs'](_0x42e905),Math[_0xe83120(0x1d1)](_0x56a1cd)),_0xdf2972=Math[_0xe83120(0x1dc)](0x0,this[_0xe83120(0x1e8)])*_0x57b9b4;_0x234be8[_0xe83120(0x1e0)][_0xe83120(0x1d4)](_0xdf2972/_0x136416,_0xdf2972/_0x42e905,_0xdf2972/_0x56a1cd);}['onDebugStyleChanged'](){const _0x582fba=_0x1cd6f6,_0x334048=this[_0x582fba(0x1dd)];if(!_0x334048)return;const _0x2f7553=_0x334048[_0x582fba(0x1df)];_0x2f7553['color']['setHex'](this['debugColor']),_0x2f7553['opacity']=this[_0x582fba(0x1e7)],_0x2f7553[_0x582fba(0x1cf)]=this['debugOpacity']<0x1,_0x2f7553['needsUpdate']=!![];}}
|
|
159
159
|
|
|
160
|
-
const _0x100273=_0x2296;(function(_0x39ceb,_0x10246d){const _0x2be566=_0x2296,_0x20d60d=_0x39ceb();while(!![]){try{const _0x3279e8=parseInt(_0x2be566(0x173))/0x1*(parseInt(_0x2be566(0x192))/0x2)+-parseInt(_0x2be566(0x1a9))/0x3+parseInt(_0x2be566(0x171))/0x4*(parseInt(_0x2be566(0x1a7))/0x5)+-parseInt(_0x2be566(0x198))/0x6+-parseInt(_0x2be566(0x19f))/0x7+parseInt(_0x2be566(0x19e))/0x8+parseInt(_0x2be566(0x1a2))/0x9;if(_0x3279e8===_0x10246d)break;else _0x20d60d['push'](_0x20d60d['shift']());}catch(_0x394099){_0x20d60d['push'](_0x20d60d['shift']());}}}(_0x391b,0x447ff));function _0x391b(){const _0x1f6ea6=['_tmpMat','distance','destroyDebugObject','length','4314544omkglP','3580472HnDWjd','parent','raycast','5940117ZRCjJR','_debugMaterial','sqrt','from','_tmpT','505RVYaRG','setHex','1588857RISRtm','makeEmpty','isMesh','floor','max','addScaledVector','dispose','sub','_tmpEdge2','updateWorldMatrix','debugColor','_sourceObject','threeObject','MeshColliderDebug','_tmpAabb','_debugEntries','_tmpC','boundingBox','raycastAll','array','dot','_tmpN','matrixWorld','getZ','position','getWorldAABB','getY','remove','_tmpCorner','_tmpBoxCorner','multiplyScalar','needsUpdate','sourceObject','10408SzztyM','expandByPoint','139zizOko','point','clone','crossVectors','getX','min','destroy','_tmpA','MeshColliderComponent','name','intersectRayAabb','opacity','setIndex','debugEnabled','_tmpB','count','getDebugAttachParent','mergeGeometries','traverse','lengthSq','applyMatrix4','push','attributes','computeBoundingBox','copy','abs','geometry','index','_mesh','set','add','1766gKrWBF','getIndex','_tmpP','intersectRayTriangle','getAttribute','_tmpEdge1','1579080SgajSf','debugOpacity'];_0x391b=function(){return _0x1f6ea6;};return _0x391b();}function _0x2296(_0x1e4704,_0xab5279){_0x1e4704=_0x1e4704-0x167;const _0x391b91=_0x391b();let _0x2296a4=_0x391b91[_0x1e4704];return _0x2296a4;}class MeshColliderComponent extends ColliderComponent{get[_0x100273(0x170)](){const _0x5c8823=_0x100273;return this[_0x5c8823(0x1b4)];}constructor(_0x3c0ccf,_0x138db6=null,_0xda0f0c){const _0x1ab8b4=_0x100273;super(_0x3c0ccf,_0xda0f0c),this[_0x1ab8b4(0x1b4)]=null,this['_mesh']=null,this[_0x1ab8b4(0x1b8)]=[],this[_0x1ab8b4(0x1a3)]=null,this['_tmpAabb']=new webgpu.Box3(),this[_0x1ab8b4(0x19a)]=new webgpu.Matrix4(),this['_tmpCorner']=new webgpu.Vector3(),this['_tmpBoxCorner']=Array[_0x1ab8b4(0x1a5)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x1ab8b4(0x17a)]=new webgpu.Vector3(),this['_tmpB']=new webgpu.Vector3(),this[_0x1ab8b4(0x1b9)]=new webgpu.Vector3(),this[_0x1ab8b4(0x197)]=new webgpu.Vector3(),this[_0x1ab8b4(0x1b1)]=new webgpu.Vector3(),this[_0x1ab8b4(0x194)]=new webgpu.Vector3(),this[_0x1ab8b4(0x1a6)]=new webgpu.Vector3(),this['_tmpQ']=new webgpu.Vector3(),this[_0x1ab8b4(0x1be)]=new webgpu.Vector3(),this['name']=_0x1ab8b4(0x17b),this['setSourceObject'](_0x138db6);}['setSourceObject'](_0x54dfc8){const _0x41d28e=_0x100273,_0x7a35e8=this['debugEnabled'];_0x7a35e8&&(this[_0x41d28e(0x180)]=![]);this['_sourceObject']=_0x54dfc8;this[_0x41d28e(0x18f)]&&(this[_0x41d28e(0x18f)][_0x41d28e(0x18d)][_0x41d28e(0x1af)](),this[_0x41d28e(0x18f)]=null);if(!_0x54dfc8){_0x7a35e8&&(this[_0x41d28e(0x180)]=!![]);return;}const _0x2ba4a5=[];_0x54dfc8[_0x41d28e(0x1b2)](!![],!![]);const _0x2335ce=_0x54dfc8[_0x41d28e(0x1bf)][_0x41d28e(0x175)]()['invert']();_0x54dfc8[_0x41d28e(0x185)](_0xe4096b=>{const _0x4ec513=_0x41d28e;if(_0xe4096b[_0x4ec513(0x1ab)]){const _0x5871b8=_0xe4096b;if(_0x5871b8[_0x4ec513(0x18d)]){const _0x1e2851=_0x5871b8[_0x4ec513(0x18d)][_0x4ec513(0x175)](),_0x4b25e7=_0x2335ce['clone']()['multiply'](_0x5871b8[_0x4ec513(0x1bf)]);_0x1e2851[_0x4ec513(0x187)](_0x4b25e7),_0x2ba4a5[_0x4ec513(0x188)](_0x1e2851);}}});if(_0x2ba4a5[_0x41d28e(0x19d)]>0x0){const _0x388ccd=this[_0x41d28e(0x184)](_0x2ba4a5);if(_0x388ccd){const _0x157e8c=new webgpu.Mesh(_0x388ccd);this[_0x41d28e(0x18f)]=_0x157e8c;}}_0x7a35e8&&(this[_0x41d28e(0x180)]=!![]);}[_0x100273(0x184)](_0x54dd03){const _0x505baf=_0x100273;if(_0x54dd03[_0x505baf(0x19d)]===0x0)return null;if(_0x54dd03[_0x505baf(0x19d)]===0x1)return _0x54dd03[0x0];let _0x4b509a=0x0,_0x268f95=0x0;for(const _0x55ec0e of _0x54dd03){_0x4b509a+=_0x55ec0e[_0x505baf(0x189)][_0x505baf(0x168)]['count'],_0x55ec0e[_0x505baf(0x18e)]?_0x268f95+=_0x55ec0e['index']['count']:_0x268f95+=_0x55ec0e[_0x505baf(0x189)]['position'][_0x505baf(0x182)];}const _0x251a5e=new Float32Array(_0x4b509a*0x3),_0x7d9642=new Uint32Array(_0x268f95);let _0x24970b=0x0,_0x27929c=0x0;for(const _0x1f579 of _0x54dd03){const _0x2a8650=_0x1f579['attributes']['position'][_0x505baf(0x1bc)],_0x54ed5a=_0x1f579[_0x505baf(0x189)][_0x505baf(0x168)][_0x505baf(0x182)];for(let _0x52c24b=0x0;_0x52c24b<_0x54ed5a*0x3;_0x52c24b++){_0x251a5e[_0x24970b*0x3+_0x52c24b]=_0x2a8650[_0x52c24b];}if(_0x1f579[_0x505baf(0x18e)]){const _0x1f0dbe=_0x1f579[_0x505baf(0x18e)][_0x505baf(0x1bc)];for(let _0x9fee49=0x0;_0x9fee49<_0x1f579['index']['count'];_0x9fee49++){_0x7d9642[_0x27929c+_0x9fee49]=_0x1f0dbe[_0x9fee49]+_0x24970b;}_0x27929c+=_0x1f579['index'][_0x505baf(0x182)];}else {for(let _0x71b609=0x0;_0x71b609<_0x54ed5a;_0x71b609++){_0x7d9642[_0x27929c+_0x71b609]=_0x71b609+_0x24970b;}_0x27929c+=_0x54ed5a;}_0x24970b+=_0x54ed5a;}const _0x57e41c=new webgpu.BufferGeometry();return _0x57e41c['setAttribute'](_0x505baf(0x168),new webgpu.BufferAttribute(_0x251a5e,0x3)),_0x57e41c[_0x505baf(0x17f)](new webgpu.BufferAttribute(_0x7d9642,0x1)),_0x57e41c;}[_0x100273(0x179)](){const _0x2bd6de=_0x100273;this['debugEnabled']=![],this[_0x2bd6de(0x18f)]&&(this[_0x2bd6de(0x18f)]['geometry']['dispose'](),this['_mesh']=null),this['_sourceObject']=null,super['destroy']();}[_0x100273(0x169)](_0x5b8623=new webgpu.Box3()){const _0x55ccd2=_0x100273;_0x5b8623[_0x55ccd2(0x1aa)]();if(!this[_0x55ccd2(0x1b4)])return _0x5b8623;this['_sourceObject']['updateWorldMatrix'](!![],!![]);const _0x5c18c2=this[_0x55ccd2(0x16d)];if(this[_0x55ccd2(0x18f)]){const _0x6b9041=this[_0x55ccd2(0x18f)];_0x6b9041[_0x55ccd2(0x1bf)][_0x55ccd2(0x18b)](this['_sourceObject'][_0x55ccd2(0x1bf)]);const _0x183921=_0x6b9041['geometry'];if(_0x183921){!_0x183921['boundingBox']&&_0x183921[_0x55ccd2(0x18a)]();const _0x1af857=_0x183921[_0x55ccd2(0x1ba)];if(_0x1af857){this[_0x55ccd2(0x19a)]['copy'](_0x6b9041[_0x55ccd2(0x1bf)]);const _0x37f5b7=_0x1af857[_0x55ccd2(0x178)],_0x20ce99=_0x1af857[_0x55ccd2(0x1ad)];_0x5c18c2[0x0]['set'](_0x37f5b7['x'],_0x37f5b7['y'],_0x37f5b7['z']),_0x5c18c2[0x1]['set'](_0x37f5b7['x'],_0x37f5b7['y'],_0x20ce99['z']),_0x5c18c2[0x2][_0x55ccd2(0x190)](_0x37f5b7['x'],_0x20ce99['y'],_0x37f5b7['z']),_0x5c18c2[0x3]['set'](_0x37f5b7['x'],_0x20ce99['y'],_0x20ce99['z']),_0x5c18c2[0x4][_0x55ccd2(0x190)](_0x20ce99['x'],_0x37f5b7['y'],_0x37f5b7['z']),_0x5c18c2[0x5][_0x55ccd2(0x190)](_0x20ce99['x'],_0x37f5b7['y'],_0x20ce99['z']),_0x5c18c2[0x6]['set'](_0x20ce99['x'],_0x20ce99['y'],_0x37f5b7['z']),_0x5c18c2[0x7][_0x55ccd2(0x190)](_0x20ce99['x'],_0x20ce99['y'],_0x20ce99['z']);for(const _0x24bf55 of _0x5c18c2){_0x24bf55[_0x55ccd2(0x187)](this['_tmpMat']),_0x5b8623[_0x55ccd2(0x172)](_0x24bf55);}}}}return _0x5b8623;}['raycastAll'](_0x53b347,_0x252fc9,_0x425815){const _0x891f93=_0x100273;if(!this[_0x891f93(0x1b4)])return [];this['_sourceObject'][_0x891f93(0x1b2)](!![],!![]);const _0x386576=[];if(this[_0x891f93(0x18f)]){const _0x2c173e=this[_0x891f93(0x18f)];_0x2c173e[_0x891f93(0x1bf)][_0x891f93(0x18b)](this['_sourceObject']['matrixWorld']);const _0x6220be=_0x2c173e[_0x891f93(0x18d)];if(_0x6220be){!_0x6220be['boundingBox']&&_0x6220be['computeBoundingBox']();const _0x3777d4=_0x6220be['boundingBox'];if(_0x3777d4){const _0x96e350=this[_0x891f93(0x1b7)][_0x891f93(0x18b)](_0x3777d4)[_0x891f93(0x187)](_0x2c173e[_0x891f93(0x1bf)]);if(this['intersectRayAabb'](_0x53b347,_0x252fc9,_0x425815,_0x96e350)){const _0x43c754=_0x6220be[_0x891f93(0x196)](_0x891f93(0x168));if(_0x43c754){const _0x41657b=_0x6220be[_0x891f93(0x193)](),_0xc07493=_0x41657b?Math[_0x891f93(0x1ac)](_0x41657b['count']/0x3):Math[_0x891f93(0x1ac)](_0x43c754[_0x891f93(0x182)]/0x3);for(let _0x3f1ed9=0x0;_0x3f1ed9<_0xc07493;_0x3f1ed9++){const _0x5c2125=_0x41657b?_0x41657b[_0x891f93(0x177)](_0x3f1ed9*0x3+0x0):_0x3f1ed9*0x3+0x0,_0x3a2210=_0x41657b?_0x41657b[_0x891f93(0x177)](_0x3f1ed9*0x3+0x1):_0x3f1ed9*0x3+0x1,_0x2990f8=_0x41657b?_0x41657b[_0x891f93(0x177)](_0x3f1ed9*0x3+0x2):_0x3f1ed9*0x3+0x2;this[_0x891f93(0x17a)][_0x891f93(0x190)](_0x43c754['getX'](_0x5c2125),_0x43c754[_0x891f93(0x16a)](_0x5c2125),_0x43c754[_0x891f93(0x167)](_0x5c2125))[_0x891f93(0x187)](_0x2c173e[_0x891f93(0x1bf)]),this['_tmpB'][_0x891f93(0x190)](_0x43c754[_0x891f93(0x177)](_0x3a2210),_0x43c754[_0x891f93(0x16a)](_0x3a2210),_0x43c754[_0x891f93(0x167)](_0x3a2210))[_0x891f93(0x187)](_0x2c173e[_0x891f93(0x1bf)]),this['_tmpC']['set'](_0x43c754[_0x891f93(0x177)](_0x2990f8),_0x43c754[_0x891f93(0x16a)](_0x2990f8),_0x43c754[_0x891f93(0x167)](_0x2990f8))['applyMatrix4'](_0x2c173e[_0x891f93(0x1bf)]);const _0xd01e0e=this['intersectRayTriangle'](_0x53b347,_0x252fc9,this[_0x891f93(0x17a)],this[_0x891f93(0x181)],this['_tmpC'],_0x425815);_0xd01e0e&&_0x386576[_0x891f93(0x188)]({'distance':_0xd01e0e[_0x891f93(0x19b)],'point':_0xd01e0e[_0x891f93(0x174)][_0x891f93(0x175)](),'normal':_0xd01e0e['normal']['clone']()});}}}}}}return _0x386576['sort']((_0x21ab7f,_0x30895f)=>_0x21ab7f[_0x891f93(0x19b)]-_0x30895f[_0x891f93(0x19b)]);}[_0x100273(0x1a1)](_0x3397ad,_0x244655,_0x2fe8f3){const _0x494d35=_0x100273,_0x5daef0=this[_0x494d35(0x1bb)](_0x3397ad,_0x244655,_0x2fe8f3);if(_0x5daef0['length']>0x0)return _0x5daef0[0x0];return null;}[_0x100273(0x17d)](_0x398584,_0x408fe4,_0x6007a1,_0x54f03e){const _0x16f04b=_0x100273;let _0x4c445f=0x0,_0x425765=_0x6007a1;const _0x4024cf=1e-8,_0x331cd3=_0x4b325c=>{const _0x513d14=_0x2296,_0x51ca7e=_0x398584[_0x4b325c],_0x2fe8b9=_0x408fe4[_0x4b325c],_0x5174b4=_0x54f03e[_0x513d14(0x178)][_0x4b325c],_0x5afc18=_0x54f03e['max'][_0x4b325c];if(Math[_0x513d14(0x18c)](_0x2fe8b9)<_0x4024cf)return _0x51ca7e>=_0x5174b4&&_0x51ca7e<=_0x5afc18;const _0x21d685=0x1/_0x2fe8b9;let _0x5b57e,_0x40fae0;return _0x2fe8b9>=0x0?(_0x5b57e=(_0x5174b4-_0x51ca7e)*_0x21d685,_0x40fae0=(_0x5afc18-_0x51ca7e)*_0x21d685):(_0x5b57e=(_0x5afc18-_0x51ca7e)*_0x21d685,_0x40fae0=(_0x5174b4-_0x51ca7e)*_0x21d685),_0x5b57e>_0x4c445f&&(_0x4c445f=_0x5b57e),_0x40fae0<_0x425765&&(_0x425765=_0x40fae0),_0x4c445f<=_0x425765;};if(!_0x331cd3('x')||!_0x331cd3('y')||!_0x331cd3('z'))return ![];const _0x3abebe=Math[_0x16f04b(0x1ad)](0x0,_0x4c445f);return _0x3abebe<=_0x6007a1;}[_0x100273(0x195)](_0x393b51,_0x2e3239,_0x3f62e2,_0x4f5333,_0x2b4313,_0x5f2e51){const _0x8def1d=_0x100273,_0x1d5b89=1e-8,_0x46febb=this[_0x8def1d(0x197)][_0x8def1d(0x18b)](_0x4f5333)[_0x8def1d(0x1b0)](_0x3f62e2),_0x29a5a0=this[_0x8def1d(0x1b1)][_0x8def1d(0x18b)](_0x2b4313)[_0x8def1d(0x1b0)](_0x3f62e2),_0xd97555=this['_tmpP'][_0x8def1d(0x176)](_0x2e3239,_0x29a5a0),_0x5ee86d=_0x46febb[_0x8def1d(0x1bd)](_0xd97555);if(Math[_0x8def1d(0x18c)](_0x5ee86d)<_0x1d5b89)return null;const _0x959625=0x1/_0x5ee86d,_0x53554a=this['_tmpT'][_0x8def1d(0x18b)](_0x393b51)['sub'](_0x3f62e2),_0x173c72=_0x53554a['dot'](_0xd97555)*_0x959625;if(_0x173c72<0x0||_0x173c72>0x1)return null;const _0x4b70d3=this['_tmpQ'][_0x8def1d(0x176)](_0x53554a,_0x46febb),_0x5b91f9=_0x2e3239[_0x8def1d(0x1bd)](_0x4b70d3)*_0x959625;if(_0x5b91f9<0x0||_0x173c72+_0x5b91f9>0x1)return null;const _0x558e77=_0x29a5a0[_0x8def1d(0x1bd)](_0x4b70d3)*_0x959625;if(_0x558e77<0x0||_0x558e77>_0x5f2e51)return null;const _0x26cd47=this[_0x8def1d(0x1be)]['crossVectors'](_0x46febb,_0x29a5a0),_0x29dd20=_0x26cd47[_0x8def1d(0x186)]();_0x29dd20>_0x1d5b89&&_0x26cd47['multiplyScalar'](0x1/Math[_0x8def1d(0x1a4)](_0x29dd20));_0x26cd47[_0x8def1d(0x1bd)](_0x2e3239)>0x0&&_0x26cd47[_0x8def1d(0x16e)](-1);const _0x1ae455=this[_0x8def1d(0x16c)][_0x8def1d(0x18b)](_0x393b51)[_0x8def1d(0x1ae)](_0x2e3239,_0x558e77);return {'point':_0x1ae455,'normal':_0x26cd47,'distance':_0x558e77};}[_0x100273(0x183)](){const _0x488aa3=_0x100273;return this[_0x488aa3(0x1b5)];}['createDebugObject'](){const _0x166b32=_0x100273;if(!this[_0x166b32(0x1b4)])return null;const _0x52bc4e=new webgpu.Object3D();_0x52bc4e[_0x166b32(0x17c)]=_0x166b32(0x1b6),this[_0x166b32(0x1b8)]=[],this[_0x166b32(0x1a3)]=new webgpu.MeshBasicMaterial({'color':this[_0x166b32(0x1b3)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']});if(this[_0x166b32(0x18f)]){const _0x1b4ee9=this[_0x166b32(0x18f)],_0x11d9c2=_0x1b4ee9[_0x166b32(0x18d)];if(_0x11d9c2){const _0x178705=new webgpu.Mesh(_0x11d9c2,this[_0x166b32(0x1a3)]);_0x52bc4e[_0x166b32(0x191)](_0x178705),this[_0x166b32(0x1b8)]['push']({'parent':_0x52bc4e,'obj':_0x178705});}}return _0x52bc4e;}[_0x100273(0x19c)](_0x48a2f9){const _0x7c7d84=_0x100273;for(const _0x2eb76a of this[_0x7c7d84(0x1b8)]){_0x2eb76a[_0x7c7d84(0x1a0)][_0x7c7d84(0x16b)](_0x2eb76a['obj']);}this['_debugEntries']=[],this[_0x7c7d84(0x1a3)]=null;}['onDebugStyleChanged'](){const _0x6b2901=_0x100273;if(!this['_debugMaterial'])return;this[_0x6b2901(0x1a3)]['color'][_0x6b2901(0x1a8)](this[_0x6b2901(0x1b3)]),this['_debugMaterial'][_0x6b2901(0x17e)]=this['debugOpacity'],this['_debugMaterial']['transparent']=this[_0x6b2901(0x199)]<0x1,this['_debugMaterial'][_0x6b2901(0x16f)]=!![];}}
|
|
160
|
+
const _0x15c003=_0xc5b8;function _0x38ee(){const _0x5e3a52=['computeBoundingBox','_debugEntries','lengthSq','getY','name','transparent','_tmpQ','_debugMaterial','847130lLLMtU','_tmpT','multiplyScalar','MeshColliderComponent','setSourceObject','debugOpacity','copy','max','min','floor','debugColor','parent','setAttribute','9zeOAKO','_tmpBoxCorner','from','_sourceObject','count','_tmpC','isMesh','6405zUiSjV','threeObject','needsUpdate','push','index','1thWoPY','opacity','abs','getZ','sourceObject','dot','matrixWorld','multiply','_tmpAabb','crossVectors','mergeGeometries','attributes','position','geometry','updateWorldMatrix','12638470uioLXM','getWorldAABB','color','1111770VkeRfi','_tmpCorner','7950015LuHQBI','_tmpN','raycastAll','traverse','clone','_tmpA','set','_tmpB','boundingBox','49fOibgE','getAttribute','3359576qfunof','sort','getIndex','onDebugStyleChanged','array','getX','_tmpEdge2','_mesh','316FqPvZu','length','distance','_tmpMat','_tmpP','_tmpEdge1','dispose','sub','expandByPoint','intersectRayTriangle','applyMatrix4','setHex','obj','intersectRayAabb','debugEnabled','createDebugObject','normal','setIndex','raycast','invert','24250127fqTbwB','remove'];_0x38ee=function(){return _0x5e3a52;};return _0x38ee();}(function(_0x3d0617,_0x2ad2cd){const _0x33770f=_0xc5b8,_0x45bc10=_0x3d0617();while(!![]){try{const _0x2618e5=-parseInt(_0x33770f(0xb0))/0x1*(parseInt(_0x33770f(0x97))/0x2)+parseInt(_0x33770f(0xab))/0x3*(parseInt(_0x33770f(0x79))/0x4)+-parseInt(_0x33770f(0xc4))/0x5+parseInt(_0x33770f(0xc2))/0x6*(parseInt(_0x33770f(0x6f))/0x7)+parseInt(_0x33770f(0x71))/0x8+-parseInt(_0x33770f(0xa4))/0x9*(parseInt(_0x33770f(0xbf))/0xa)+parseInt(_0x33770f(0x8d))/0xb;if(_0x2618e5===_0x2ad2cd)break;else _0x45bc10['push'](_0x45bc10['shift']());}catch(_0x2fb185){_0x45bc10['push'](_0x45bc10['shift']());}}}(_0x38ee,0xc6713));function _0xc5b8(_0x55b18d,_0x561c76){_0x55b18d=_0x55b18d-0x6f;const _0x38eec1=_0x38ee();let _0xc5b811=_0x38eec1[_0x55b18d];return _0xc5b811;}class MeshColliderComponent extends ColliderComponent{get[_0x15c003(0xb4)](){const _0x26cc2a=_0x15c003;return this[_0x26cc2a(0xa7)];}constructor(_0x19d64f,_0x24e853=null,_0x2105d4){const _0x3942a8=_0x15c003;super(_0x19d64f,_0x2105d4),this['_sourceObject']=null,this[_0x3942a8(0x78)]=null,this[_0x3942a8(0x90)]=[],this[_0x3942a8(0x96)]=null,this[_0x3942a8(0xb8)]=new webgpu.Box3(),this[_0x3942a8(0x7c)]=new webgpu.Matrix4(),this['_tmpCorner']=new webgpu.Vector3(),this[_0x3942a8(0xa5)]=Array[_0x3942a8(0xa6)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x3942a8(0xc9)]=new webgpu.Vector3(),this[_0x3942a8(0xcb)]=new webgpu.Vector3(),this['_tmpC']=new webgpu.Vector3(),this[_0x3942a8(0x7e)]=new webgpu.Vector3(),this[_0x3942a8(0x77)]=new webgpu.Vector3(),this[_0x3942a8(0x7d)]=new webgpu.Vector3(),this[_0x3942a8(0x98)]=new webgpu.Vector3(),this['_tmpQ']=new webgpu.Vector3(),this['_tmpN']=new webgpu.Vector3(),this[_0x3942a8(0x93)]=_0x3942a8(0x9a),this[_0x3942a8(0x9b)](_0x24e853);}[_0x15c003(0x9b)](_0x1ff7bf){const _0x4443df=_0x15c003,_0x1c3d62=this[_0x4443df(0x87)];_0x1c3d62&&(this[_0x4443df(0x87)]=![]);this[_0x4443df(0xa7)]=_0x1ff7bf;this[_0x4443df(0x78)]&&(this[_0x4443df(0x78)][_0x4443df(0xbd)][_0x4443df(0x7f)](),this[_0x4443df(0x78)]=null);if(!_0x1ff7bf){_0x1c3d62&&(this[_0x4443df(0x87)]=!![]);return;}const _0x4e86c9=[];_0x1ff7bf['updateWorldMatrix'](!![],!![]);const _0x243ab9=_0x1ff7bf[_0x4443df(0xb6)]['clone']()[_0x4443df(0x8c)]();_0x1ff7bf[_0x4443df(0xc7)](_0x3feacd=>{const _0x35affe=_0x4443df;if(_0x3feacd[_0x35affe(0xaa)]){const _0x1f86b1=_0x3feacd;if(_0x1f86b1[_0x35affe(0xbd)]){const _0x5c4fa0=_0x1f86b1[_0x35affe(0xbd)]['clone'](),_0xc61225=_0x243ab9['clone']()[_0x35affe(0xb7)](_0x1f86b1[_0x35affe(0xb6)]);_0x5c4fa0['applyMatrix4'](_0xc61225),_0x4e86c9[_0x35affe(0xae)](_0x5c4fa0);}}});if(_0x4e86c9[_0x4443df(0x7a)]>0x0){const _0x2911ad=this[_0x4443df(0xba)](_0x4e86c9);if(_0x2911ad){const _0x589565=new webgpu.Mesh(_0x2911ad);this[_0x4443df(0x78)]=_0x589565;}}_0x1c3d62&&(this['debugEnabled']=!![]);}[_0x15c003(0xba)](_0x1a9407){const _0xadfde=_0x15c003;if(_0x1a9407[_0xadfde(0x7a)]===0x0)return null;if(_0x1a9407[_0xadfde(0x7a)]===0x1)return _0x1a9407[0x0];let _0x2b792b=0x0,_0x14cbf5=0x0;for(const _0x11137b of _0x1a9407){_0x2b792b+=_0x11137b[_0xadfde(0xbb)][_0xadfde(0xbc)][_0xadfde(0xa8)],_0x11137b[_0xadfde(0xaf)]?_0x14cbf5+=_0x11137b[_0xadfde(0xaf)][_0xadfde(0xa8)]:_0x14cbf5+=_0x11137b[_0xadfde(0xbb)][_0xadfde(0xbc)][_0xadfde(0xa8)];}const _0x21bbdc=new Float32Array(_0x2b792b*0x3),_0x54dd81=new Uint32Array(_0x14cbf5);let _0x3d2ff1=0x0,_0x307ce0=0x0;for(const _0x471030 of _0x1a9407){const _0x3e1f56=_0x471030['attributes'][_0xadfde(0xbc)][_0xadfde(0x75)],_0x9595b2=_0x471030[_0xadfde(0xbb)][_0xadfde(0xbc)]['count'];for(let _0x3a21ec=0x0;_0x3a21ec<_0x9595b2*0x3;_0x3a21ec++){_0x21bbdc[_0x3d2ff1*0x3+_0x3a21ec]=_0x3e1f56[_0x3a21ec];}if(_0x471030[_0xadfde(0xaf)]){const _0x172c60=_0x471030['index'][_0xadfde(0x75)];for(let _0x25eb04=0x0;_0x25eb04<_0x471030[_0xadfde(0xaf)][_0xadfde(0xa8)];_0x25eb04++){_0x54dd81[_0x307ce0+_0x25eb04]=_0x172c60[_0x25eb04]+_0x3d2ff1;}_0x307ce0+=_0x471030[_0xadfde(0xaf)][_0xadfde(0xa8)];}else {for(let _0x3b43a2=0x0;_0x3b43a2<_0x9595b2;_0x3b43a2++){_0x54dd81[_0x307ce0+_0x3b43a2]=_0x3b43a2+_0x3d2ff1;}_0x307ce0+=_0x9595b2;}_0x3d2ff1+=_0x9595b2;}const _0x3b5b3c=new webgpu.BufferGeometry();return _0x3b5b3c[_0xadfde(0xa3)](_0xadfde(0xbc),new webgpu.BufferAttribute(_0x21bbdc,0x3)),_0x3b5b3c[_0xadfde(0x8a)](new webgpu.BufferAttribute(_0x54dd81,0x1)),_0x3b5b3c;}['destroy'](){const _0x45ce52=_0x15c003;this[_0x45ce52(0x87)]=![],this['_mesh']&&(this[_0x45ce52(0x78)]['geometry']['dispose'](),this[_0x45ce52(0x78)]=null),this[_0x45ce52(0xa7)]=null,super['destroy']();}[_0x15c003(0xc0)](_0x396fb9=new webgpu.Box3()){const _0x1d6c35=_0x15c003;_0x396fb9['makeEmpty']();if(!this[_0x1d6c35(0xa7)])return _0x396fb9;this[_0x1d6c35(0xa7)][_0x1d6c35(0xbe)](!![],!![]);const _0x422d4d=this['_tmpBoxCorner'];if(this['_mesh']){const _0x49d325=this['_mesh'];_0x49d325[_0x1d6c35(0xb6)]['copy'](this[_0x1d6c35(0xa7)][_0x1d6c35(0xb6)]);const _0x30a940=_0x49d325[_0x1d6c35(0xbd)];if(_0x30a940){!_0x30a940[_0x1d6c35(0xcc)]&&_0x30a940[_0x1d6c35(0x8f)]();const _0x47a38a=_0x30a940[_0x1d6c35(0xcc)];if(_0x47a38a){this[_0x1d6c35(0x7c)]['copy'](_0x49d325[_0x1d6c35(0xb6)]);const _0x40b925=_0x47a38a[_0x1d6c35(0x9f)],_0x528f10=_0x47a38a[_0x1d6c35(0x9e)];_0x422d4d[0x0][_0x1d6c35(0xca)](_0x40b925['x'],_0x40b925['y'],_0x40b925['z']),_0x422d4d[0x1]['set'](_0x40b925['x'],_0x40b925['y'],_0x528f10['z']),_0x422d4d[0x2][_0x1d6c35(0xca)](_0x40b925['x'],_0x528f10['y'],_0x40b925['z']),_0x422d4d[0x3][_0x1d6c35(0xca)](_0x40b925['x'],_0x528f10['y'],_0x528f10['z']),_0x422d4d[0x4][_0x1d6c35(0xca)](_0x528f10['x'],_0x40b925['y'],_0x40b925['z']),_0x422d4d[0x5][_0x1d6c35(0xca)](_0x528f10['x'],_0x40b925['y'],_0x528f10['z']),_0x422d4d[0x6]['set'](_0x528f10['x'],_0x528f10['y'],_0x40b925['z']),_0x422d4d[0x7]['set'](_0x528f10['x'],_0x528f10['y'],_0x528f10['z']);for(const _0xcf167b of _0x422d4d){_0xcf167b[_0x1d6c35(0x83)](this[_0x1d6c35(0x7c)]),_0x396fb9[_0x1d6c35(0x81)](_0xcf167b);}}}}return _0x396fb9;}['raycastAll'](_0x4a2c9b,_0x4f55a4,_0x158827){const _0x227b90=_0x15c003;if(!this[_0x227b90(0xa7)])return [];this['_sourceObject']['updateWorldMatrix'](!![],!![]);const _0x54ee85=[];if(this[_0x227b90(0x78)]){const _0x1335f9=this[_0x227b90(0x78)];_0x1335f9[_0x227b90(0xb6)]['copy'](this['_sourceObject']['matrixWorld']);const _0x354d94=_0x1335f9[_0x227b90(0xbd)];if(_0x354d94){!_0x354d94[_0x227b90(0xcc)]&&_0x354d94[_0x227b90(0x8f)]();const _0x2b3e55=_0x354d94[_0x227b90(0xcc)];if(_0x2b3e55){const _0x26eca9=this[_0x227b90(0xb8)]['copy'](_0x2b3e55)[_0x227b90(0x83)](_0x1335f9[_0x227b90(0xb6)]);if(this[_0x227b90(0x86)](_0x4a2c9b,_0x4f55a4,_0x158827,_0x26eca9)){const _0x27007d=_0x354d94[_0x227b90(0x70)](_0x227b90(0xbc));if(_0x27007d){const _0x829a4f=_0x354d94[_0x227b90(0x73)](),_0x1ecbf9=_0x829a4f?Math[_0x227b90(0xa0)](_0x829a4f[_0x227b90(0xa8)]/0x3):Math[_0x227b90(0xa0)](_0x27007d['count']/0x3);for(let _0x267220=0x0;_0x267220<_0x1ecbf9;_0x267220++){const _0x415a1c=_0x829a4f?_0x829a4f[_0x227b90(0x76)](_0x267220*0x3+0x0):_0x267220*0x3+0x0,_0x2a4002=_0x829a4f?_0x829a4f[_0x227b90(0x76)](_0x267220*0x3+0x1):_0x267220*0x3+0x1,_0x7290ad=_0x829a4f?_0x829a4f[_0x227b90(0x76)](_0x267220*0x3+0x2):_0x267220*0x3+0x2;this['_tmpA'][_0x227b90(0xca)](_0x27007d[_0x227b90(0x76)](_0x415a1c),_0x27007d[_0x227b90(0x92)](_0x415a1c),_0x27007d[_0x227b90(0xb3)](_0x415a1c))[_0x227b90(0x83)](_0x1335f9[_0x227b90(0xb6)]),this['_tmpB'][_0x227b90(0xca)](_0x27007d[_0x227b90(0x76)](_0x2a4002),_0x27007d['getY'](_0x2a4002),_0x27007d[_0x227b90(0xb3)](_0x2a4002))[_0x227b90(0x83)](_0x1335f9[_0x227b90(0xb6)]),this[_0x227b90(0xa9)][_0x227b90(0xca)](_0x27007d[_0x227b90(0x76)](_0x7290ad),_0x27007d['getY'](_0x7290ad),_0x27007d[_0x227b90(0xb3)](_0x7290ad))[_0x227b90(0x83)](_0x1335f9[_0x227b90(0xb6)]);const _0x38465c=this[_0x227b90(0x82)](_0x4a2c9b,_0x4f55a4,this[_0x227b90(0xc9)],this['_tmpB'],this[_0x227b90(0xa9)],_0x158827);_0x38465c&&_0x54ee85['push']({'distance':_0x38465c['distance'],'point':_0x38465c['point'][_0x227b90(0xc8)](),'normal':_0x38465c[_0x227b90(0x89)][_0x227b90(0xc8)]()});}}}}}}return _0x54ee85[_0x227b90(0x72)]((_0x175745,_0x933afe)=>_0x175745[_0x227b90(0x7b)]-_0x933afe[_0x227b90(0x7b)]);}[_0x15c003(0x8b)](_0x4022ca,_0x3041a2,_0x544374){const _0x4dede3=_0x15c003,_0x4f62b9=this[_0x4dede3(0xc6)](_0x4022ca,_0x3041a2,_0x544374);if(_0x4f62b9[_0x4dede3(0x7a)]>0x0)return _0x4f62b9[0x0];return null;}[_0x15c003(0x86)](_0x321fb9,_0x41f940,_0x4ee814,_0x2313a8){const _0x16df37=_0x15c003;let _0x1191a6=0x0,_0x148038=_0x4ee814;const _0x403b6b=1e-8,_0x2500b3=_0x50e3bd=>{const _0x439894=_0xc5b8,_0x510b79=_0x321fb9[_0x50e3bd],_0x4f0fd3=_0x41f940[_0x50e3bd],_0x1e0e5b=_0x2313a8['min'][_0x50e3bd],_0x2a03a1=_0x2313a8[_0x439894(0x9e)][_0x50e3bd];if(Math[_0x439894(0xb2)](_0x4f0fd3)<_0x403b6b)return _0x510b79>=_0x1e0e5b&&_0x510b79<=_0x2a03a1;const _0x5be6be=0x1/_0x4f0fd3;let _0x2b2567,_0x2c3e69;return _0x4f0fd3>=0x0?(_0x2b2567=(_0x1e0e5b-_0x510b79)*_0x5be6be,_0x2c3e69=(_0x2a03a1-_0x510b79)*_0x5be6be):(_0x2b2567=(_0x2a03a1-_0x510b79)*_0x5be6be,_0x2c3e69=(_0x1e0e5b-_0x510b79)*_0x5be6be),_0x2b2567>_0x1191a6&&(_0x1191a6=_0x2b2567),_0x2c3e69<_0x148038&&(_0x148038=_0x2c3e69),_0x1191a6<=_0x148038;};if(!_0x2500b3('x')||!_0x2500b3('y')||!_0x2500b3('z'))return ![];const _0x5649c0=Math[_0x16df37(0x9e)](0x0,_0x1191a6);return _0x5649c0<=_0x4ee814;}['intersectRayTriangle'](_0x491cef,_0x4975b2,_0x5bc9ba,_0x474ffe,_0x1f0969,_0x4de416){const _0x3492ee=_0x15c003,_0xc7554b=1e-12,_0x459201=this[_0x3492ee(0x7e)][_0x3492ee(0x9d)](_0x474ffe)[_0x3492ee(0x80)](_0x5bc9ba),_0x21bda6=this[_0x3492ee(0x77)][_0x3492ee(0x9d)](_0x1f0969)['sub'](_0x5bc9ba),_0x361364=this[_0x3492ee(0x7d)][_0x3492ee(0xb9)](_0x4975b2,_0x21bda6),_0x52ac15=_0x459201['dot'](_0x361364);if(Math['abs'](_0x52ac15)<_0xc7554b)return null;const _0x192485=0x1/_0x52ac15,_0x2e7104=this[_0x3492ee(0x98)][_0x3492ee(0x9d)](_0x491cef)[_0x3492ee(0x80)](_0x5bc9ba),_0x293c5d=_0x2e7104['dot'](_0x361364)*_0x192485;if(_0x293c5d<0x0||_0x293c5d>0x1)return null;const _0x1012df=this[_0x3492ee(0x95)][_0x3492ee(0xb9)](_0x2e7104,_0x459201),_0x2b42ee=_0x4975b2[_0x3492ee(0xb5)](_0x1012df)*_0x192485;if(_0x2b42ee<0x0||_0x293c5d+_0x2b42ee>0x1)return null;const _0x7abd93=_0x21bda6['dot'](_0x1012df)*_0x192485;if(_0x7abd93<0x0||_0x7abd93>_0x4de416)return null;const _0x2254e4=this[_0x3492ee(0xc5)][_0x3492ee(0xb9)](_0x459201,_0x21bda6),_0x2e36b1=_0x2254e4[_0x3492ee(0x91)]();_0x2e36b1>_0xc7554b&&_0x2254e4[_0x3492ee(0x99)](0x1/Math['sqrt'](_0x2e36b1));_0x2254e4['dot'](_0x4975b2)>0x0&&_0x2254e4['multiplyScalar'](-1);const _0x46cd1c=this[_0x3492ee(0xc3)][_0x3492ee(0x9d)](_0x491cef)['addScaledVector'](_0x4975b2,_0x7abd93);return {'point':_0x46cd1c,'normal':_0x2254e4,'distance':_0x7abd93};}['getDebugAttachParent'](){const _0x255d10=_0x15c003;return this[_0x255d10(0xac)];}[_0x15c003(0x88)](){const _0x466abb=_0x15c003;if(!this[_0x466abb(0xa7)])return null;const _0x455c4e=new webgpu.Object3D();_0x455c4e[_0x466abb(0x93)]='MeshColliderDebug',this['_debugEntries']=[],this[_0x466abb(0x96)]=new webgpu.MeshBasicMaterial({'color':this[_0x466abb(0xa1)],'wireframe':!![],'transparent':!![],'opacity':this[_0x466abb(0x9c)]});if(this[_0x466abb(0x78)]){const _0x56a89d=this[_0x466abb(0x78)],_0x4963cc=_0x56a89d[_0x466abb(0xbd)];if(_0x4963cc){const _0x5fe6b1=new webgpu.Mesh(_0x4963cc,this[_0x466abb(0x96)]);_0x455c4e['add'](_0x5fe6b1),this[_0x466abb(0x90)][_0x466abb(0xae)]({'parent':_0x455c4e,'obj':_0x5fe6b1});}}return _0x455c4e;}['destroyDebugObject'](_0x5701c8){const _0x4dff07=_0x15c003;for(const _0x23650e of this[_0x4dff07(0x90)]){_0x23650e[_0x4dff07(0xa2)][_0x4dff07(0x8e)](_0x23650e[_0x4dff07(0x85)]);}this[_0x4dff07(0x90)]=[],this[_0x4dff07(0x96)]=null;}[_0x15c003(0x74)](){const _0x45c0c3=_0x15c003;if(!this[_0x45c0c3(0x96)])return;this['_debugMaterial'][_0x45c0c3(0xc1)][_0x45c0c3(0x84)](this[_0x45c0c3(0xa1)]),this[_0x45c0c3(0x96)][_0x45c0c3(0xb1)]=this[_0x45c0c3(0x9c)],this[_0x45c0c3(0x96)][_0x45c0c3(0x94)]=this[_0x45c0c3(0x9c)]<0x1,this[_0x45c0c3(0x96)][_0x45c0c3(0xad)]=!![];}}
|
|
161
161
|
|
|
162
|
-
(function(
|
|
162
|
+
(function(_0x562c9a,_0x47fd66){var _0x454ae1=_0x47bb,_0x41da5d=_0x562c9a();while(!![]){try{var _0x1524ce=-parseInt(_0x454ae1(0x14a))/0x1+parseInt(_0x454ae1(0x145))/0x2+parseInt(_0x454ae1(0x14d))/0x3+-parseInt(_0x454ae1(0x147))/0x4+parseInt(_0x454ae1(0x14b))/0x5*(parseInt(_0x454ae1(0x148))/0x6)+parseInt(_0x454ae1(0x14c))/0x7*(-parseInt(_0x454ae1(0x144))/0x8)+parseInt(_0x454ae1(0x149))/0x9*(parseInt(_0x454ae1(0x146))/0xa);if(_0x1524ce===_0x47fd66)break;else _0x41da5d['push'](_0x41da5d['shift']());}catch(_0x3d5873){_0x41da5d['push'](_0x41da5d['shift']());}}}(_0x2ebd,0xee682));function _0x2ebd(){var _0x1385c4=['779074YQgGKp','4510540rWvllH','1761604ItpEDW','187926UNZVqM','36dmhMvr','1660357dyZxRv','5KVsFMC','301WwqDUK','5798751VZYrcA','201064Bjyokg'];_0x2ebd=function(){return _0x1385c4;};return _0x2ebd();}function _0x47bb(_0x206870,_0x2b86d5){_0x206870=_0x206870-0x144;var _0x2ebd06=_0x2ebd();var _0x47bb93=_0x2ebd06[_0x206870];return _0x47bb93;}
|
|
163
163
|
|
|
164
|
-
(function(
|
|
164
|
+
(function(_0xcf5db3,_0x17ecfb){var _0xb54572=_0x4c98,_0x37d0d5=_0xcf5db3();while(!![]){try{var _0x2b360a=parseInt(_0xb54572(0x1dd))/0x1*(parseInt(_0xb54572(0x1dc))/0x2)+parseInt(_0xb54572(0x1e3))/0x3*(-parseInt(_0xb54572(0x1e0))/0x4)+-parseInt(_0xb54572(0x1e2))/0x5*(parseInt(_0xb54572(0x1db))/0x6)+parseInt(_0xb54572(0x1da))/0x7*(-parseInt(_0xb54572(0x1e1))/0x8)+parseInt(_0xb54572(0x1df))/0x9*(parseInt(_0xb54572(0x1d9))/0xa)+-parseInt(_0xb54572(0x1e4))/0xb+-parseInt(_0xb54572(0x1de))/0xc*(-parseInt(_0xb54572(0x1d8))/0xd);if(_0x2b360a===_0x17ecfb)break;else _0x37d0d5['push'](_0x37d0d5['shift']());}catch(_0x4b23dd){_0x37d0d5['push'](_0x37d0d5['shift']());}}}(_0x2499,0x91212));function _0x4c98(_0x5e96f4,_0x2298e9){_0x5e96f4=_0x5e96f4-0x1d8;var _0x249963=_0x2499();var _0x4c9869=_0x249963[_0x5e96f4];return _0x4c9869;}function _0x2499(){var _0x303ccd=['12ApUAWM','1287QxJgRH','4717036EhLRzO','22424CwxwQY','493205ZKuMTD','3mHQlsD','12322486ZjPhoh','33022587CdtQmM','75370yyjyoM','1155xbyUUn','30HrclSU','6cWtUqp','77215SEnioe'];_0x2499=function(){return _0x303ccd;};return _0x2499();}
|
|
165
165
|
|
|
166
166
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
167
167
|
exports.Actor = Actor;
|