lythreeframe 1.3.10 → 1.3.12
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 +57 -57
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +57 -57
- package/dist/bundle.esm.js.map +1 -1
- package/package.json +4 -4
package/dist/bundle.cjs.js
CHANGED
|
@@ -14,122 +14,122 @@ var LensflareNode_js = require('three/examples/jsm/tsl/display/LensflareNode.js'
|
|
|
14
14
|
var gsap = require('gsap');
|
|
15
15
|
var three = require('three');
|
|
16
16
|
var SkyMesh_js = require('three/examples/jsm/objects/SkyMesh.js');
|
|
17
|
-
var
|
|
17
|
+
var _0x44186b = require('earcut');
|
|
18
18
|
var CSS2DRenderer_js = require('three/examples/jsm/renderers/CSS2DRenderer.js');
|
|
19
19
|
var PointerLockControls_js = require('three/examples/jsm/controls/PointerLockControls.js');
|
|
20
20
|
var TransformControls_js = require('three/examples/jsm/controls/TransformControls.js');
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
const _0x157a36=_0x2e51;(function(_0x4833a9,_0x3c5991){const _0x1a7125=_0x2e51,_0xe344b5=_0x4833a9();while(!![]){try{const _0x48c53a=-parseInt(_0x1a7125(0x103))/0x1*(parseInt(_0x1a7125(0xfe))/0x2)+-parseInt(_0x1a7125(0xf6))/0x3+parseInt(_0x1a7125(0xf1))/0x4*(-parseInt(_0x1a7125(0x101))/0x5)+-parseInt(_0x1a7125(0x100))/0x6+-parseInt(_0x1a7125(0xf7))/0x7+parseInt(_0x1a7125(0xf5))/0x8+parseInt(_0x1a7125(0xf8))/0x9;if(_0x48c53a===_0x3c5991)break;else _0xe344b5['push'](_0xe344b5['shift']());}catch(_0x42ad52){_0xe344b5['push'](_0xe344b5['shift']());}}}(_0x35da,0xa4a64));function _0x2e51(_0x317266,_0xbce6c){_0x317266=_0x317266-0xef;const _0x35daff=_0x35da();let _0x2e51ca=_0x35daff[_0x317266];return _0x2e51ca;}class BaseObject{get[_0x157a36(0xfb)](){const _0x528b1e=_0x157a36;return this[_0x528b1e(0xfc)];}set[_0x157a36(0xfb)](_0x309b97){const _0x255a50=_0x157a36;this[_0x255a50(0xfc)]=_0x309b97;}get[_0x157a36(0xfd)](){const _0x4d72e9=_0x157a36;return this[_0x4d72e9(0xf2)];}constructor(_0xf82355=webgpu.MathUtils[_0x157a36(0xf0)]()){const _0x35b3cb=_0x157a36;this[_0x35b3cb(0xfc)]=![],this['tickEvents']=[],this['bCanTick']=![],this[_0x35b3cb(0xf2)]=_0xf82355;}[_0x157a36(0xf3)](_0x3fe2db){const _0x368aef=_0x157a36;if(!this[_0x368aef(0xfc)])return;this[_0x368aef(0xf9)][_0x368aef(0xff)](_0x16d796=>{_0x16d796(_0x3fe2db);});}['addTickEvent'](_0x10e555){const _0x9f7850=_0x157a36;this['tickEvents'][_0x9f7850(0x102)](_0x10e555);}[_0x157a36(0xfa)](_0xaf9e53){const _0x5d1735=_0x157a36;let _0x57685f=this[_0x5d1735(0xf9)][_0x5d1735(0xef)](_0xaf9e53);_0x57685f!=-1&&this[_0x5d1735(0xf9)][_0x5d1735(0x104)](_0x57685f,0x1);}[_0x157a36(0xf4)](){this['tickEvents']=[];}['destroy'](){}}function _0x35da(){const _0x5bba58=['uuid','2571120UuNGzk','forEach','7103136JvRtgY','28870IWxjRb','push','1LBykzk','splice','indexOf','generateUUID','712uUwEXe','_uuid','tick','clearTickEvents','9758104iHeADN','3411744Gwpsjj','1686503FpAlrO','38970054qHqSYq','tickEvents','removeTickEvent','isTickEnabled','bCanTick'];_0x35da=function(){return _0x5bba58;};return _0x35da();}
|
|
23
23
|
|
|
24
|
-
const
|
|
24
|
+
const _0x2f735d=_0x2df4;(function(_0x350585,_0x1be679){const _0x1bc3d2=_0x2df4,_0x494e6f=_0x350585();while(!![]){try{const _0x486729=-parseInt(_0x1bc3d2(0xe2))/0x1*(-parseInt(_0x1bc3d2(0xd0))/0x2)+parseInt(_0x1bc3d2(0xe8))/0x3*(-parseInt(_0x1bc3d2(0xe0))/0x4)+parseInt(_0x1bc3d2(0xdb))/0x5*(-parseInt(_0x1bc3d2(0xd3))/0x6)+-parseInt(_0x1bc3d2(0xe5))/0x7*(-parseInt(_0x1bc3d2(0xde))/0x8)+parseInt(_0x1bc3d2(0xcf))/0x9*(-parseInt(_0x1bc3d2(0xd4))/0xa)+-parseInt(_0x1bc3d2(0xe3))/0xb+parseInt(_0x1bc3d2(0xe7))/0xc*(parseInt(_0x1bc3d2(0xe1))/0xd);if(_0x486729===_0x1be679)break;else _0x494e6f['push'](_0x494e6f['shift']());}catch(_0x17f163){_0x494e6f['push'](_0x494e6f['shift']());}}}(_0x3f96,0xb8a8f));function _0x2df4(_0x5cadb5,_0x291b09){_0x5cadb5=_0x5cadb5-0xce;const _0x3f9672=_0x3f96();let _0x2df4e4=_0x3f9672[_0x5cadb5];return _0x2df4e4;}class Component extends BaseObject{set[_0x2f735d(0xd1)](_0xeb30bf){this['_parentActor']=_0xeb30bf;}get[_0x2f735d(0xd1)](){const _0x5e1738=_0x2f735d;return this[_0x5e1738(0xd6)];}get[_0x2f735d(0xd7)](){const _0x3cb6f4=_0x2f735d;return this[_0x3cb6f4(0xd9)];}set[_0x2f735d(0xd7)](_0xb1e25b){const _0x41847a=_0x2f735d;this[_0x41847a(0xd9)]=_0xb1e25b,this['obj']&&(this['obj'][_0x41847a(0xce)][_0x41847a(0xe4)]=this);}get[_0x2f735d(0xdf)](){const _0x3d2421=_0x2f735d;return this[_0x3d2421(0xdd)];}set[_0x2f735d(0xdf)](_0x4aedcf){const _0x4f47bb=_0x2f735d;this['_name']=_0x4aedcf,this[_0x4f47bb(0xd9)]&&(this['obj'][_0x4f47bb(0xdf)]=_0x4aedcf);}constructor(_0x2b246f){const _0x25bc86=_0x2f735d;super(_0x2b246f?_0x2b246f:webgpu.MathUtils['generateUUID']()),this['obj']=null,this[_0x25bc86(0xd6)]=null,this['_name']=_0x25bc86(0xda),this[_0x25bc86(0xd6)]=null;let _0x47313a=this['createDefaultObject']();_0x47313a?(this[_0x25bc86(0xd7)]=_0x47313a,this[_0x25bc86(0xdd)]=this[_0x25bc86(0xd7)][_0x25bc86(0xdc)]+_0x25bc86(0xda)):console[_0x25bc86(0xd2)](_0x25bc86(0xe6));}[_0x2f735d(0xd5)](_0x273242){return null;}['destroyObject'](){if(!this['obj'])return;}['destroy'](){const _0x358f89=_0x2f735d;this[_0x358f89(0xd8)]();}}function _0x3f96(){const _0x412365=['Component','2145225KNfOAX','type','_name','24784BDcNZF','name','276PNZuEG','13VUUPcD','13153HNOmlE','16319182KesRlr','LYObject','868bjiDql','Component\x20createDefaultObject\x20return\x20null','50301828iCYhzn','60393fzLHVT','userData','15588iqXCgi','46AIwSyo','parentActor','warn','12vRToJm','2260yDIUFX','createDefaultObject','_parentActor','threeObject','destroyObject','obj'];_0x3f96=function(){return _0x412365;};return _0x3f96();}
|
|
25
25
|
|
|
26
|
-
(function(
|
|
26
|
+
function _0x105e(){var _0x3c749b=['KeepWorld','1684LIQBHV','1438BLvgcW','KeepRelative','8DlXAIv','870378aRJOYU','6486732fUyqCG','5956835TyKBZD','1182368RsVHoI','12231330avJBFk','4499160OojkOC','90bnSYub'];_0x105e=function(){return _0x3c749b;};return _0x105e();}function _0x4186(_0x289733,_0x5f47ba){_0x289733=_0x289733-0x124;var _0x105e54=_0x105e();var _0x418685=_0x105e54[_0x289733];return _0x418685;}(function(_0x4e91d9,_0x283630){var _0x14d145=_0x4186,_0x3c68f4=_0x4e91d9();while(!![]){try{var _0x27763d=parseInt(_0x14d145(0x12d))/0x1*(parseInt(_0x14d145(0x12c))/0x2)+parseInt(_0x14d145(0x124))/0x3*(-parseInt(_0x14d145(0x12f))/0x4)+-parseInt(_0x14d145(0x126))/0x5+parseInt(_0x14d145(0x129))/0x6+parseInt(_0x14d145(0x125))/0x7+parseInt(_0x14d145(0x127))/0x8*(-parseInt(_0x14d145(0x12a))/0x9)+parseInt(_0x14d145(0x128))/0xa;if(_0x27763d===_0x283630)break;else _0x3c68f4['push'](_0x3c68f4['shift']());}catch(_0x1f1dbc){_0x3c68f4['push'](_0x3c68f4['shift']());}}}(_0x105e,0xd22d6));exports.AttachmentRules = void 0;(function(_0x2f5a18){var _0x567ba1=_0x4186;_0x2f5a18[_0x2f5a18[_0x567ba1(0x12b)]=0x1]='KeepWorld',_0x2f5a18[_0x2f5a18[_0x567ba1(0x12e)]=0x2]=_0x567ba1(0x12e);}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
const _0x5d4b92=_0x449e;(function(_0x32c61b,_0x1ddda4){const _0x30058e=_0x449e,_0x4d2f70=_0x32c61b();while(!![]){try{const _0x160ca7=-parseInt(_0x30058e(0x126))/0x1+parseInt(_0x30058e(0x12a))/0x2*(-parseInt(_0x30058e(0x123))/0x3)+-parseInt(_0x30058e(0x12f))/0x4*(-parseInt(_0x30058e(0x127))/0x5)+parseInt(_0x30058e(0x121))/0x6+parseInt(_0x30058e(0x122))/0x7+-parseInt(_0x30058e(0x12d))/0x8*(-parseInt(_0x30058e(0x125))/0x9)+-parseInt(_0x30058e(0x12b))/0xa;if(_0x160ca7===_0x1ddda4)break;else _0x4d2f70['push'](_0x4d2f70['shift']());}catch(_0x1d15f0){_0x4d2f70['push'](_0x4d2f70['shift']());}}}(_0x1f0f,0x924fe));function _0x449e(_0x5ab3c8,_0x58c7d3){_0x5ab3c8=_0x5ab3c8-0x11e;const _0x1f0fc5=_0x1f0f();let _0x449e0b=_0x1f0fc5[_0x5ab3c8];return _0x449e0b;}class Delegate{constructor(){this['functions']=[];}[_0x5d4b92(0x128)](..._0x17e7d0){const _0x58e815=_0x5d4b92;this[_0x58e815(0x11f)]['forEach'](_0x448576=>_0x448576(..._0x17e7d0));}[_0x5d4b92(0x12e)](_0x283991){const _0x5641f6=_0x5d4b92;this[_0x5641f6(0x11f)][_0x5641f6(0x129)](_0x283991);}[_0x5d4b92(0x120)](_0x12c3b5){const _0x1e0434=_0x5d4b92,_0x107e44=this[_0x1e0434(0x11f)][_0x1e0434(0x11e)](_0x12c3b5);_0x107e44>=0x0?this[_0x1e0434(0x11f)][_0x1e0434(0x12c)](_0x107e44,0x1):console['warn']('function\x20not\x20found');}[_0x5d4b92(0x124)](){const _0x4022fe=_0x5d4b92;this[_0x4022fe(0x11f)]=[];}}function _0x1f0f(){const _0xb1a739=['4277646XWJNiI','878045oLTeDI','2097957VErefG','clear','2245167aAHYVr','235733OqQvop','6395preUfo','broadcast','push','2HrHArK','6393640uLHYUv','splice','8ErlcIl','add','3396OuIdxW','indexOf','functions','remove'];_0x1f0f=function(){return _0xb1a739;};return _0x1f0f();}
|
|
29
29
|
|
|
30
|
-
const _0x4b9ea2=_0x3771;(function(_0x124393,_0x1436aa){const _0x523810=_0x3771,_0x4d2111=_0x124393();while(!![]){try{const _0xfffe52=parseInt(_0x523810(0xea))/0x1*(parseInt(_0x523810(0x128))/0x2)+parseInt(_0x523810(0xe6))/0x3+-parseInt(_0x523810(0x12b))/0x4+parseInt(_0x523810(0x13a))/0x5*(-parseInt(_0x523810(0x126))/0x6)+-parseInt(_0x523810(0xce))/0x7+-parseInt(_0x523810(0x11a))/0x8*(parseInt(_0x523810(0xf3))/0x9)+-parseInt(_0x523810(0x109))/0xa*(-parseInt(_0x523810(0x107))/0xb);if(_0xfffe52===_0x1436aa)break;else _0x4d2111['push'](_0x4d2111['shift']());}catch(_0x4552ee){_0x4d2111['push'](_0x4d2111['shift']());}}}(_0x2631,0xcf853));function _0x3771(_0x110522,_0x56221b){_0x110522=_0x110522-0xc8;const _0x26314f=_0x2631();let _0x3771a2=_0x26314f[_0x110522];return _0x3771a2;}class SceneComponent extends Component{set['parentActor'](_0x3126c9){const _0x3d8a01=_0x3771;this['childrenComponents'][_0x3d8a01(0x11b)](_0x57ab0d=>{const _0x461642=_0x3d8a01;_0x57ab0d[_0x461642(0x10c)]=_0x3126c9;}),this[_0x3d8a01(0xe9)]=_0x3126c9;}get[_0x4b9ea2(0x10c)](){const _0x39aa23=_0x4b9ea2;return this[_0x39aa23(0xe9)];}get[_0x4b9ea2(0x10e)](){const _0x12425c=_0x4b9ea2;return this[_0x12425c(0x11d)];}get[_0x4b9ea2(0xed)](){return this['_onHoverEndDelegate'];}get[_0x4b9ea2(0xff)](){const _0x2e95b8=_0x4b9ea2;return this[_0x2e95b8(0xd9)];}get[_0x4b9ea2(0xcf)](){const _0xa77289=_0x4b9ea2;return this[_0xa77289(0x136)];}get[_0x4b9ea2(0x110)](){const _0x5f3380=_0x4b9ea2;return this[_0x5f3380(0xcd)][_0x5f3380(0x110)];}constructor(_0x2bb24a,_0x34de7a){const _0x35e5b5=_0x4b9ea2;super(_0x34de7a),this[_0x35e5b5(0x10f)]=![],this['bCanClick']=![],this[_0x35e5b5(0x11d)]=new Delegate(),this[_0x35e5b5(0x100)]=new Delegate(),this[_0x35e5b5(0xd9)]=new Delegate(),this[_0x35e5b5(0x136)]=new Delegate(),this[_0x35e5b5(0xcd)]=_0x2bb24a,this[_0x35e5b5(0xe4)]=_0x35e5b5(0x12c);}[_0x4b9ea2(0xcc)](){return new webgpu.Object3D();}['tick'](_0x71fd48){const _0x40010d=_0x4b9ea2;super[_0x40010d(0x140)](_0x71fd48),this[_0x40010d(0xf5)][_0x40010d(0x11b)](_0x31d178=>{const _0x24f8a0=_0x40010d;_0x31d178[_0x24f8a0(0x140)](_0x71fd48);});}get['isVisible'](){const _0x4c7636=_0x4b9ea2;if(!this[_0x4c7636(0xc8)])return ![];return this[_0x4c7636(0xc8)][_0x4c7636(0xe2)];}[_0x4b9ea2(0xf9)](_0x5e31f4){const _0x1684ed=_0x4b9ea2;if(!this[_0x1684ed(0xc8)])throw Error(_0x1684ed(0xfd));this[_0x1684ed(0xc8)]['visible']=_0x5e31f4,this[_0x1684ed(0x110)]&&this[_0x1684ed(0x110)]['viewport']['markRenderStateDirty']();}[_0x4b9ea2(0x13d)](_0x4f3d9e){const _0x2fd3bb=_0x4b9ea2;if(!this[_0x2fd3bb(0xc8)])throw Error(_0x2fd3bb(0xfd));this[_0x2fd3bb(0xc8)]['layers'][_0x2fd3bb(0x11e)](_0x4f3d9e);let _0x1184f4=this['childrenComponents'];_0x1184f4[_0x2fd3bb(0x11b)](_0x323284=>{const _0x344b03=_0x2fd3bb;_0x323284[_0x344b03(0x13d)](_0x4f3d9e);});}['getComponentById'](_0x249c59,_0xccbc2c=!![]){const _0x209ce1=_0x4b9ea2;if(this[_0x209ce1(0xf8)]===_0x249c59)return this;if(_0xccbc2c){let _0x255ba4=this[_0x209ce1(0xf5)];for(let _0x1e6874=0x0;_0x1e6874<_0x255ba4[_0x209ce1(0xdc)];++_0x1e6874){let _0x21a2f8=_0x255ba4[_0x1e6874][_0x209ce1(0x13e)](_0x249c59,_0xccbc2c);if(_0x21a2f8)return _0x21a2f8;}}else {let _0x4a5912=this[_0x209ce1(0xf5)];for(let _0x1e3e61=0x0;_0x1e3e61<_0x4a5912[_0x209ce1(0xdc)];++_0x1e3e61){let _0x499845=_0x4a5912[_0x1e3e61];if(_0x499845[_0x209ce1(0xf8)]===_0x249c59)return _0x499845;}}return null;}[_0x4b9ea2(0xf2)](){const _0x2a45b8=_0x4b9ea2;let _0x25b541=new webgpu.Vector3();return this[_0x2a45b8(0xe0)]()[_0x2a45b8(0xd1)](_0x25b541),this[_0x2a45b8(0x129)]();}[_0x4b9ea2(0xe8)](){const _0x38a8b2=_0x4b9ea2;let _0x5199ca=new webgpu.Vector3(),_0x4df93b=this[_0x38a8b2(0xe0)]();return _0x4df93b['getCenter'](_0x5199ca),_0x5199ca['y']=_0x4df93b[_0x38a8b2(0xe5)]['y'],_0x5199ca;}['getBoundsBottomCenterPositionWS'](){const _0xe00050=_0x4b9ea2;let _0x5eac80=new webgpu.Vector3(),_0x5febd3=this['getBounds']();return _0x5febd3[_0xe00050(0xd1)](_0x5eac80),_0x5eac80['y']=_0x5febd3[_0xe00050(0x139)]['y'],_0x5eac80;}[_0x4b9ea2(0xe0)](){const _0x448b21=_0x4b9ea2;if(!this[_0x448b21(0xc8)])throw Error(_0x448b21(0xfd));let _0x499a56=new webgpu.Box3();return _0x499a56[_0x448b21(0x133)](this[_0x448b21(0xc8)],![]),_0x499a56['isEmpty']()&&(_0x499a56[_0x448b21(0x139)]=_0x499a56['max']=this[_0x448b21(0x129)]()),_0x499a56;}get[_0x4b9ea2(0x13f)](){const _0x2ac2b8=_0x4b9ea2;var _0x509800,_0x2b7844;if(!this[_0x2ac2b8(0xc8)])throw Error('threeObject\x20is\x20invalid');let _0x157b61=(_0x2b7844=(_0x509800=this[_0x2ac2b8(0xc8)])===null||_0x509800===void 0?void 0:_0x509800[_0x2ac2b8(0xdb)])===null||_0x2b7844===void 0?void 0:_0x2b7844['userData'][_0x2ac2b8(0x114)];if(!_0x157b61)return null;if(!(_0x157b61 instanceof SceneComponent))return null;if(_0x157b61[_0x2ac2b8(0x10c)]!==this[_0x2ac2b8(0x10c)])return null;return _0x157b61;}get[_0x4b9ea2(0xf5)](){const _0x6f5ff=_0x4b9ea2;if(!this['obj'])throw Error(_0x6f5ff(0xfd));let _0x41db02=[];for(let _0x465e77=0x0;_0x465e77<this[_0x6f5ff(0xc8)][_0x6f5ff(0x104)][_0x6f5ff(0xdc)];++_0x465e77){if(!this['obj'][_0x6f5ff(0x104)][_0x465e77][_0x6f5ff(0x132)]['LYObject'])continue;this[_0x6f5ff(0xc8)]['children'][_0x465e77][_0x6f5ff(0x132)][_0x6f5ff(0x114)][_0x6f5ff(0x10c)]===this['parentActor']&&_0x41db02[_0x6f5ff(0x12e)](this[_0x6f5ff(0xc8)][_0x6f5ff(0x104)][_0x465e77][_0x6f5ff(0x132)]['LYObject']);}return _0x41db02;}['onAddedToWorld'](_0x2c9e76){const _0x426693=_0x4b9ea2;let _0x182e0a=this[_0x426693(0xf5)];for(let _0x5410f7=0x0;_0x5410f7<_0x182e0a['length'];++_0x5410f7){_0x182e0a[_0x5410f7][_0x426693(0x10d)](_0x2c9e76);}}[_0x4b9ea2(0xf0)](){const _0x39b25b=_0x4b9ea2;this[_0x39b25b(0x124)]=![],this[_0x39b25b(0xcb)]=![],this[_0x39b25b(0xd4)](),this[_0x39b25b(0xe7)](),this[_0x39b25b(0x118)](),this['destroyObject'](),this[_0x39b25b(0x110)]&&this[_0x39b25b(0x110)][_0x39b25b(0x112)][_0x39b25b(0xf6)]();}[_0x4b9ea2(0x13b)](){const _0x5ba80e=_0x4b9ea2;if(!this[_0x5ba80e(0xc8)])return;this[_0x5ba80e(0xc8)]['parent']&&this[_0x5ba80e(0xc8)][_0x5ba80e(0xdb)][_0x5ba80e(0x13c)](this[_0x5ba80e(0xc8)]),super[_0x5ba80e(0x13b)]();}[_0x4b9ea2(0xd2)](){const _0x5f5cd2=_0x4b9ea2;if(!this[_0x5f5cd2(0xc8)])throw Error(_0x5f5cd2(0xfd));if(this[_0x5f5cd2(0xc8)][_0x5f5cd2(0xf7)])return this[_0x5f5cd2(0xc8)][_0x5f5cd2(0x111)][_0x5f5cd2(0xfe)]();else {const _0x35f244=new webgpu.Vector3(),_0x191e8c=new webgpu.Quaternion(),_0x5c7a33=new webgpu.Vector3();return this[_0x5f5cd2(0xc8)][_0x5f5cd2(0x10b)][_0x5f5cd2(0x141)](_0x35f244,_0x191e8c,_0x5c7a33),_0x35f244;}}['setPosition'](..._0x22f74a){const _0x178773=_0x4b9ea2;var _0x95be7f;if(!this[_0x178773(0xc8)])throw Error('threeObject\x20is\x20invalid');let _0x4e430c=null;if(_0x22f74a[_0x178773(0xdc)]===0x1&&((_0x95be7f=_0x22f74a[0x0])===null||_0x95be7f===void 0?void 0:_0x95be7f['isVector3'])){const _0x249008=_0x22f74a[0x0];_0x4e430c=new webgpu.Vector3(_0x249008['x'],_0x249008['y'],_0x249008['z']);}else _0x22f74a[_0x178773(0xdc)]===0x3&&typeof _0x22f74a[0x0]===_0x178773(0x101)&&typeof _0x22f74a[0x1]===_0x178773(0x101)&&typeof _0x22f74a[0x2]===_0x178773(0x101)&&(_0x4e430c=new webgpu.Vector3(_0x22f74a[0x0],_0x22f74a[0x1],_0x22f74a[0x2]));if(!_0x4e430c)return;this['obj'][_0x178773(0x111)][_0x178773(0x106)](_0x4e430c),!this[_0x178773(0xc8)][_0x178773(0xf7)]&&this[_0x178773(0xc8)]['matrix'][_0x178773(0xe1)](_0x4e430c['x'],_0x4e430c['y'],_0x4e430c['z']),this[_0x178773(0xc8)][_0x178773(0xfc)](),this[_0x178773(0xc8)][_0x178773(0x134)](!![]),this[_0x178773(0x110)]&&this[_0x178773(0x110)]['viewport']['markRenderStateDirty']();}[_0x4b9ea2(0x11f)](){const _0xc9d5b7=_0x4b9ea2;if(!this[_0xc9d5b7(0xc8)])throw Error(_0xc9d5b7(0xfd));if(this[_0xc9d5b7(0xc8)][_0xc9d5b7(0xf7)])return this[_0xc9d5b7(0xc8)][_0xc9d5b7(0xf4)]['clone']();else {const _0xe9caa6=new webgpu.Vector3(),_0x4e5102=new webgpu.Quaternion(),_0x49eec9=new webgpu.Vector3();return this[_0xc9d5b7(0xc8)]['matrix'][_0xc9d5b7(0x141)](_0xe9caa6,_0x4e5102,_0x49eec9),new webgpu.Euler()[_0xc9d5b7(0xd6)](_0x4e5102);}}[_0x4b9ea2(0x119)](..._0x1e16b1){const _0x114b15=_0x4b9ea2;var _0x90dad4;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x2c4998=null;if((_0x90dad4=_0x1e16b1[0x0])===null||_0x90dad4===void 0?void 0:_0x90dad4['isEuler']){const _0x2678ab=_0x1e16b1[0x0];_0x2c4998=new webgpu.Euler(_0x2678ab['x'],_0x2678ab['y'],_0x2678ab['z'],_0x2678ab[_0x114b15(0x121)]);}else typeof _0x1e16b1[0x0]===_0x114b15(0x101)&&typeof _0x1e16b1[0x1]===_0x114b15(0x101)&&typeof _0x1e16b1[0x2]===_0x114b15(0x101)&&(_0x2c4998=new webgpu.Euler(_0x1e16b1[0x0],_0x1e16b1[0x1],_0x1e16b1[0x2]));if(!_0x2c4998)return;this['obj'][_0x114b15(0xf4)][_0x114b15(0x106)](_0x2c4998),this[_0x114b15(0xc8)][_0x114b15(0xfc)](),this[_0x114b15(0xc8)]['updateMatrixWorld'](!![]),this[_0x114b15(0x110)]&&this['world'][_0x114b15(0x112)][_0x114b15(0xf6)]();}['getQuaternion'](){const _0x5391e2=_0x4b9ea2;if(!this['obj'])throw Error(_0x5391e2(0xfd));if(this[_0x5391e2(0xc8)][_0x5391e2(0xf7)])return this[_0x5391e2(0xc8)][_0x5391e2(0x117)][_0x5391e2(0xfe)]();else {const _0x100865=new webgpu.Vector3(),_0x304884=new webgpu.Quaternion(),_0x47ed4a=new webgpu.Vector3();return this['obj'][_0x5391e2(0x10b)][_0x5391e2(0x141)](_0x100865,_0x304884,_0x47ed4a),_0x304884;}}[_0x4b9ea2(0x125)](..._0x2bed84){const _0x42655d=_0x4b9ea2;var _0x342d6d;if(!this[_0x42655d(0xc8)])throw Error(_0x42655d(0xfd));let _0x1557f4=null;if((_0x342d6d=_0x2bed84[0x0])===null||_0x342d6d===void 0?void 0:_0x342d6d['isQuaternion']){const _0x1393de=_0x2bed84[0x0];_0x1557f4=new webgpu.Quaternion(_0x1393de['x'],_0x1393de['y'],_0x1393de['z'],_0x1393de['w']);}else typeof _0x2bed84[0x0]===_0x42655d(0x101)&&typeof _0x2bed84[0x1]===_0x42655d(0x101)&&typeof _0x2bed84[0x2]===_0x42655d(0x101)&&typeof _0x2bed84[0x3]==='number'&&(_0x1557f4=new webgpu.Quaternion(_0x2bed84[0x0],_0x2bed84[0x1],_0x2bed84[0x2],_0x2bed84[0x3]));if(!_0x1557f4){console[_0x42655d(0xd8)](_0x42655d(0x10a),_0x2bed84);return;}this[_0x42655d(0xc8)]['quaternion'][_0x42655d(0x106)](_0x1557f4);if(!this[_0x42655d(0xc8)][_0x42655d(0xf7)]){const _0x4ae8f6=new webgpu.Vector3(),_0x393582=new webgpu.Quaternion(),_0x1bf9e0=new webgpu.Vector3();this[_0x42655d(0xc8)][_0x42655d(0x10b)][_0x42655d(0x141)](_0x4ae8f6,_0x393582,_0x1bf9e0),this[_0x42655d(0xc8)]['matrix'][_0x42655d(0x116)](_0x4ae8f6,_0x1557f4,_0x1bf9e0);}this[_0x42655d(0x110)]&&this[_0x42655d(0x110)][_0x42655d(0x112)][_0x42655d(0xf6)](),this[_0x42655d(0xc8)]['updateMatrix'](),this[_0x42655d(0xc8)][_0x42655d(0x134)](!![]);}[_0x4b9ea2(0x123)](){const _0x56dc97=_0x4b9ea2;if(!this[_0x56dc97(0xc8)])throw Error(_0x56dc97(0xfd));if(this['obj']['matrixAutoUpdate'])return this['obj'][_0x56dc97(0xf1)][_0x56dc97(0xfe)]();else {const _0xa967f7=new webgpu.Vector3(),_0x554f18=new webgpu.Quaternion(),_0x13439e=new webgpu.Vector3();return this[_0x56dc97(0xc8)]['matrix'][_0x56dc97(0x141)](_0xa967f7,_0x554f18,_0x13439e),_0x13439e;}}[_0x4b9ea2(0xde)](..._0x465552){const _0x1d208c=_0x4b9ea2;var _0x1dfa78;if(!this[_0x1d208c(0xc8)])throw Error(_0x1d208c(0xfd));let _0x416910=null;if((_0x1dfa78=_0x465552[0x0])===null||_0x1dfa78===void 0?void 0:_0x1dfa78[_0x1d208c(0xdd)]){const _0xaa615f=_0x465552[0x0];_0x416910=new webgpu.Vector3(_0xaa615f['x'],_0xaa615f['y'],_0xaa615f['z']);}else typeof _0x465552[0x0]===_0x1d208c(0x101)&&typeof _0x465552[0x1]==='number'&&typeof _0x465552[0x2]==='number'&&(_0x416910=new webgpu.Vector3(_0x465552[0x0],_0x465552[0x1],_0x465552[0x2]));if(!_0x416910)return;this[_0x1d208c(0xc8)][_0x1d208c(0xf1)][_0x1d208c(0x106)](_0x416910),this['obj']['updateMatrix'](),this[_0x1d208c(0xc8)]['updateMatrixWorld'](!![]),this[_0x1d208c(0x110)]&&this[_0x1d208c(0x110)][_0x1d208c(0x112)][_0x1d208c(0xf6)]();}[_0x4b9ea2(0x122)](){const _0x259278=_0x4b9ea2;if(!this['obj'])throw Error(_0x259278(0xfd));return this[_0x259278(0xc8)][_0x259278(0x10b)];}[_0x4b9ea2(0x103)](_0x2c006e){const _0x12de34=_0x4b9ea2;var _0x215f2a;if(!this['obj'])throw Error(_0x12de34(0xfd));_0x2c006e[_0x12de34(0x141)](this[_0x12de34(0xc8)][_0x12de34(0x111)],this['obj']['quaternion'],this[_0x12de34(0xc8)]['scale']),this['obj']['updateMatrix'](),this[_0x12de34(0xc8)][_0x12de34(0x134)](!![]),(_0x215f2a=this['world'])===null||_0x215f2a===void 0?void 0:_0x215f2a[_0x12de34(0x112)][_0x12de34(0xf6)]();}[_0x4b9ea2(0x129)](){const _0x53e42c=_0x4b9ea2;if(!this['obj'])throw Error(_0x53e42c(0xfd));let _0x5adb70=new webgpu.Vector3();return this[_0x53e42c(0xc8)]['getWorldPosition'](_0x5adb70),_0x5adb70;}[_0x4b9ea2(0x102)](){const _0x4f86bc=_0x4b9ea2;if(!this['obj'])throw Error(_0x4f86bc(0xfd));let _0x3d3416=new webgpu.Quaternion();return this[_0x4f86bc(0xc8)][_0x4f86bc(0x115)](_0x3d3416),new webgpu.Euler()[_0x4f86bc(0xd6)](_0x3d3416);}[_0x4b9ea2(0x115)](){const _0x4d7998=_0x4b9ea2;if(!this[_0x4d7998(0xc8)])throw Error(_0x4d7998(0xfd));let _0xfa644f=new webgpu.Quaternion();return this['obj'][_0x4d7998(0x115)](_0xfa644f),_0xfa644f;}[_0x4b9ea2(0xeb)](){const _0x12c0b0=_0x4b9ea2;if(!this[_0x12c0b0(0xc8)])throw Error(_0x12c0b0(0xfd));let _0x4043fe=new webgpu.Vector3();return this['obj']['getWorldScale'](_0x4043fe),_0x4043fe;}['getWorldMatrix'](){const _0x4fa23d=_0x4b9ea2;if(!this[_0x4fa23d(0xc8)])throw Error('threeObject\x20is\x20invalid');return this[_0x4fa23d(0xc8)][_0x4fa23d(0x134)](!![]),this[_0x4fa23d(0xc8)][_0x4fa23d(0xe3)][_0x4fa23d(0xfe)]();}[_0x4b9ea2(0x135)](_0x2bff9b){const _0x318319=_0x4b9ea2;if(!this[_0x318319(0xc8)])throw Error(_0x318319(0xfd));if(this['obj'][_0x318319(0xdb)]){this['obj'][_0x318319(0xdb)][_0x318319(0x134)](!![]);const _0x2b7daf=this['obj'][_0x318319(0xdb)][_0x318319(0xe3)][_0x318319(0xfe)]()[_0x318319(0x12d)](),_0x36d0f5=new webgpu.Matrix4()[_0x318319(0x131)](_0x2b7daf,_0x2bff9b);this['setMatrix'](_0x36d0f5);}else this[_0x318319(0x103)](_0x2bff9b);this[_0x318319(0xc8)][_0x318319(0x134)](!![]),this[_0x318319(0x110)]&&this[_0x318319(0x110)][_0x318319(0x112)][_0x318319(0xf6)]();}[_0x4b9ea2(0x127)](){const _0x1cca40=_0x4b9ea2;if(!this[_0x1cca40(0xc8)])throw Error(_0x1cca40(0xfd));let _0x488778=new webgpu.Vector3();return this[_0x1cca40(0xc8)][_0x1cca40(0x105)](_0x488778),_0x488778;}[_0x4b9ea2(0xef)](){const _0x2e9c96=_0x4b9ea2;if(!this[_0x2e9c96(0xc8)])throw Error(_0x2e9c96(0xfd));let _0x69e455=new webgpu.Vector3(0x0,0x1,0x0);return _0x69e455[_0x2e9c96(0xd0)](this[_0x2e9c96(0x115)]()),_0x69e455;}[_0x4b9ea2(0xca)](){const _0x2b876e=_0x4b9ea2;if(!this[_0x2b876e(0xc8)])throw Error(_0x2b876e(0xfd));let _0x541655=new webgpu.Vector3(0x1,0x0,0x0);return _0x541655[_0x2b876e(0xd0)](this[_0x2b876e(0x115)]()),_0x541655;}[_0x4b9ea2(0x11c)](_0x3d42d6){const _0x3495da=_0x4b9ea2;if(!this[_0x3495da(0xc8)])throw Error(_0x3495da(0xfd));return this[_0x3495da(0xc8)][_0x3495da(0x11c)](_0x3d42d6);}[_0x4b9ea2(0xec)](_0x1f5fcc){const _0x4c734a=_0x4b9ea2;if(!this['obj'])throw Error(_0x4c734a(0xfd));return this['obj']['localToWorld'](_0x1f5fcc);}[_0x4b9ea2(0xd7)](_0x442d44){const _0x189de0=_0x4b9ea2;if(!this['obj'])throw Error(_0x189de0(0xfd));if(!_0x442d44['threeObject'])throw Error(_0x189de0(0x12a));this[_0x189de0(0xc8)]['add'](_0x442d44[_0x189de0(0xee)]),this[_0x189de0(0x110)]&&_0x442d44[_0x189de0(0x10d)](this[_0x189de0(0x110)]);}[_0x4b9ea2(0x120)](_0x4369e3){const _0x56a64a=_0x4b9ea2;if(!this[_0x56a64a(0xc8)])throw Error(_0x56a64a(0xfd));if(!_0x4369e3[_0x56a64a(0xee)])throw Error(_0x56a64a(0x108));this[_0x56a64a(0xc8)][_0x56a64a(0x13c)](_0x4369e3[_0x56a64a(0xee)]);}['addChildComponent'](_0xabb683,_0x7efa81=exports.AttachmentRules[_0x4b9ea2(0xd5)]){const _0x549b96=_0x4b9ea2;if(!this[_0x549b96(0xc8)])throw Error(_0x549b96(0xfd));if(!_0xabb683[_0x549b96(0xee)])throw Error(_0x549b96(0x12a));_0xabb683['parentActor']=this[_0x549b96(0x10c)];if(_0x7efa81===exports.AttachmentRules[_0x549b96(0xd3)]){let _0x260fb3=_0xabb683[_0x549b96(0x137)]();this[_0x549b96(0xc8)][_0x549b96(0xfa)](_0xabb683[_0x549b96(0xee)]),_0xabb683[_0x549b96(0x135)](_0x260fb3);}else this[_0x549b96(0xc8)][_0x549b96(0xfa)](_0xabb683['threeObject']);this[_0x549b96(0x110)]&&_0xabb683[_0x549b96(0x10d)](this[_0x549b96(0x110)]),this[_0x549b96(0xc8)][_0x549b96(0xfc)](),this[_0x549b96(0xc8)]['updateMatrixWorld'](!![]);}[_0x4b9ea2(0x113)](_0x318939){const _0x4e90c3=_0x4b9ea2;if(!this[_0x4e90c3(0xc8)])throw Error(_0x4e90c3(0xfd));if(!_0x318939[_0x4e90c3(0xee)])throw Error(_0x4e90c3(0xda));this[_0x4e90c3(0xc8)]['remove'](_0x318939[_0x4e90c3(0xee)]);}[_0x4b9ea2(0xe7)](){const _0x5a9280=_0x4b9ea2;this[_0x5a9280(0x13f)]&&this[_0x5a9280(0x13f)][_0x5a9280(0x113)](this);}[_0x4b9ea2(0xd4)](){const _0xc9fa66=_0x4b9ea2;this[_0xc9fa66(0x10c)]&&(this[_0xc9fa66(0x10c)]=null);}[_0x4b9ea2(0x118)](){const _0x217356=_0x4b9ea2;var _0x382914;if(!this['obj'])return;let _0x2d6173=[];for(let _0x5df35f=0x0;_0x5df35f<this[_0x217356(0xc8)][_0x217356(0x104)][_0x217356(0xdc)];++_0x5df35f){let _0x593c6a=(_0x382914=this[_0x217356(0xc8)][_0x217356(0x104)][_0x5df35f]['userData'])===null||_0x382914===void 0?void 0:_0x382914[_0x217356(0x114)];_0x593c6a&&_0x2d6173['push'](_0x593c6a);}_0x2d6173[_0x217356(0x11b)](_0x5aa9ab=>{const _0x24e522=_0x217356;_0x5aa9ab[_0x24e522(0xf0)]();}),_0x2d6173=[];}set[_0x4b9ea2(0x124)](_0x153713){const _0x493d0b=_0x4b9ea2;this[_0x493d0b(0x10f)]=_0x153713;let _0x9f60c3=this[_0x493d0b(0xf5)];for(let _0x4c6c63=0x0;_0x4c6c63<_0x9f60c3['length'];++_0x4c6c63){_0x9f60c3[_0x4c6c63][_0x493d0b(0x124)]=this[_0x493d0b(0x10f)];}}get[_0x4b9ea2(0x124)](){const _0x5bd079=_0x4b9ea2;return this[_0x5bd079(0x10f)];}set[_0x4b9ea2(0xcb)](_0x402a23){const _0x252fb0=_0x4b9ea2;this[_0x252fb0(0xc9)]=_0x402a23;let _0x2b2e17=this[_0x252fb0(0xf5)];for(let _0x1b97d7=0x0;_0x1b97d7<_0x2b2e17[_0x252fb0(0xdc)];++_0x1b97d7){_0x2b2e17[_0x1b97d7][_0x252fb0(0xcb)]=this['bCanClick'];}}get[_0x4b9ea2(0xcb)](){const _0x4b9755=_0x4b9ea2;return this[_0x4b9755(0xc9)];}[_0x4b9ea2(0xdf)](){const _0x2a8b1b=_0x4b9ea2;this[_0x2a8b1b(0x11d)][_0x2a8b1b(0xfb)]();}[_0x4b9ea2(0x138)](){const _0x2ed8a2=_0x4b9ea2;this[_0x2ed8a2(0x100)]['broadcast']();}[_0x4b9ea2(0x130)](){this['_onClickDelegate']['broadcast']();}[_0x4b9ea2(0x12f)](){const _0x359e50=_0x4b9ea2;this['_onDoubleClickDelegate'][_0x359e50(0xfb)]();}}function _0x2631(){const _0x1c2e37=['onHoverEndDelegate','threeObject','getWorldUpDirection','destroy','scale','getBoundsCenterPositionWS','8091ydxjDt','rotation','childrenComponents','markRenderStateDirty','matrixAutoUpdate','uuid','setVisible','add','broadcast','updateMatrix','threeObject\x20is\x20invalid','clone','onClickDelegate','_onHoverEndDelegate','number','getWorldRotation','setMatrix','children','getWorldDirection','copy','11167354iejDVQ','target\x20threeObject\x20is\x20invalid','50kjpUJU','setQuaternion\x20failed,param\x20is\x20invalid','matrix','parentActor','onAddedToWorld','onHoverBeginDelegate','bCanHover','world','position','viewport','removeChildComponent','LYObject','getWorldQuaternion','compose','quaternion','destroyChildren','setRotation','3688TKgIqN','forEach','worldToLocal','_onHoverBeginDelegate','set','getRotation','detachComponent','order','getMatrix','getScale','isHoverEnabled','setQuaternion','200916PJZNKM','getWorldForwardDirection','759352PGnjAL','getWorldPosition','newComponent\x20threeObject\x20is\x20invalid','6525092aptyGB','SceneComponent','invert','push','onDoubleClicked','onClicked','multiplyMatrices','userData','setFromObject','updateMatrixWorld','setWorldMatrix','_onDoubleClickDelegate','getWorldMatrix','onHorveringEnd','min','185XFPXlB','destroyObject','remove','setLayers','getComponentById','parentComponent','tick','decompose','obj','bCanClick','getWorldRightDirection','isClickEnabled','createDefaultObject','app','10841187RZtMPb','onDoubleClickDelegate','applyQuaternion','getCenter','getPosition','KeepWorld','detachFromParentActor','KeepRelative','setFromQuaternion','attachComponent','error','_onClickDelegate','targetComponent\x20threeObject\x20is\x20invalid','parent','length','isVector3','setScale','onHorveringBegin','getBounds','setPosition','visible','matrixWorld','name','max','683076ARSPqd','detachFromParentComponent','getBoundsTopCenterPositionWS','_parentActor','1iTJhrM','getWorldScale','localToWorld'];_0x2631=function(){return _0x1c2e37;};return _0x2631();}
|
|
30
|
+
const _0xc0ff7c=_0x371b;(function(_0x49b2d8,_0x1a734d){const _0x1a6bc1=_0x371b,_0x1b60c4=_0x49b2d8();while(!![]){try{const _0xcc9a7a=-parseInt(_0x1a6bc1(0x17e))/0x1*(parseInt(_0x1a6bc1(0x13a))/0x2)+-parseInt(_0x1a6bc1(0x159))/0x3*(-parseInt(_0x1a6bc1(0x171))/0x4)+parseInt(_0x1a6bc1(0x18c))/0x5*(-parseInt(_0x1a6bc1(0x140))/0x6)+parseInt(_0x1a6bc1(0x168))/0x7*(parseInt(_0x1a6bc1(0x141))/0x8)+-parseInt(_0x1a6bc1(0x14b))/0x9+parseInt(_0x1a6bc1(0x16f))/0xa*(parseInt(_0x1a6bc1(0x126))/0xb)+-parseInt(_0x1a6bc1(0x135))/0xc;if(_0xcc9a7a===_0x1a734d)break;else _0x1b60c4['push'](_0x1b60c4['shift']());}catch(_0x114a15){_0x1b60c4['push'](_0x1b60c4['shift']());}}}(_0x2ae8,0xa4979));function _0x371b(_0x148efa,_0x3639f2){_0x148efa=_0x148efa-0x11e;const _0x2ae8a2=_0x2ae8();let _0x371bca=_0x2ae8a2[_0x148efa];return _0x371bca;}function _0x2ae8(){const _0xdb4f25=['app','newComponent\x20threeObject\x20is\x20invalid','setFromQuaternion','viewport','position','destroyObject','5897990yggiYJ','setVisible','64348TZzeKH','scale','setMatrix','childrenComponents','clone','parentActor','setLayers','name','getMatrix','getBoundsTopCenterPositionWS','quaternion','getWorldForwardDirection','localToWorld','1657DbZwcX','isHoverEnabled','attachComponent','max','multiplyMatrices','destroy','order','getWorldRightDirection','setWorldMatrix','onAddedToWorld','getComponentById','target\x20threeObject\x20is\x20invalid','getPosition','matrixWorld','5cRiVtC','length','_onHoverEndDelegate','rotation','threeObject\x20is\x20invalid','matrixAutoUpdate','_parentActor','KeepWorld','children','getWorldRotation','LYObject','remove','getCenter','layers','updateMatrixWorld','22bbnWfo','min','markRenderStateDirty','uuid','getRotation','isQuaternion','setQuaternion','detachFromParentComponent','number','destroyChildren','onClickDelegate','set','getWorldMatrix','onDoubleClickDelegate','isVisible','546156tPnFhO','forEach','add','threeObject','detachFromParentActor','62occZvA','getBounds','detachComponent','error','getScale','isEuler','3768582ZDRvde','48dmeIwx','removeChildComponent','copy','parent','decompose','isClickEnabled','isVector3','getBoundsCenterPositionWS','world','obj','3766419ARfcLE','createDefaultObject','_onDoubleClickDelegate','setScale','updateMatrix','SceneComponent','bCanClick','userData','_onClickDelegate','worldToLocal','visible','getWorldScale','broadcast','parentComponent','69PiqmHH','matrix','getWorldPosition','isEmpty','setRotation','onHoverEndDelegate','_onHoverBeginDelegate','getQuaternion','compose','push','tick','addChildComponent','targetComponent\x20threeObject\x20is\x20invalid','bCanHover','getWorldQuaternion','312711LwbPGm'];_0x2ae8=function(){return _0xdb4f25;};return _0x2ae8();}class SceneComponent extends Component{set['parentActor'](_0x106974){const _0x32dff1=_0x371b;this[_0x32dff1(0x174)]['forEach'](_0x4fd0ce=>{const _0x2d25ad=_0x32dff1;_0x4fd0ce[_0x2d25ad(0x176)]=_0x106974;}),this['_parentActor']=_0x106974;}get[_0xc0ff7c(0x176)](){const _0x2ebb5d=_0xc0ff7c;return this[_0x2ebb5d(0x192)];}get['onHoverBeginDelegate'](){const _0x4a2db6=_0xc0ff7c;return this[_0x4a2db6(0x15f)];}get[_0xc0ff7c(0x15e)](){const _0x4da1b9=_0xc0ff7c;return this[_0x4da1b9(0x18e)];}get[_0xc0ff7c(0x130)](){const _0x58b6fb=_0xc0ff7c;return this[_0x58b6fb(0x153)];}get[_0xc0ff7c(0x133)](){const _0x320c78=_0xc0ff7c;return this[_0x320c78(0x14d)];}get[_0xc0ff7c(0x149)](){const _0x32042f=_0xc0ff7c;return this[_0x32042f(0x169)][_0x32042f(0x149)];}constructor(_0x4b1fef,_0x159e59){const _0xae428f=_0xc0ff7c;super(_0x159e59),this[_0xae428f(0x166)]=![],this[_0xae428f(0x151)]=![],this[_0xae428f(0x15f)]=new Delegate(),this[_0xae428f(0x18e)]=new Delegate(),this[_0xae428f(0x153)]=new Delegate(),this[_0xae428f(0x14d)]=new Delegate(),this[_0xae428f(0x169)]=_0x4b1fef,this[_0xae428f(0x178)]=_0xae428f(0x150);}[_0xc0ff7c(0x14c)](){return new webgpu.Object3D();}[_0xc0ff7c(0x163)](_0x43aa0a){const _0x305c08=_0xc0ff7c;super[_0x305c08(0x163)](_0x43aa0a),this[_0x305c08(0x174)][_0x305c08(0x136)](_0x306e47=>{const _0x154719=_0x305c08;_0x306e47[_0x154719(0x163)](_0x43aa0a);});}get[_0xc0ff7c(0x134)](){const _0x12acac=_0xc0ff7c;if(!this[_0x12acac(0x14a)])return ![];return this['obj'][_0x12acac(0x155)];}[_0xc0ff7c(0x170)](_0x46ba8d){const _0x26bedc=_0xc0ff7c;if(!this[_0x26bedc(0x14a)])throw Error('threeObject\x20is\x20invalid');this[_0x26bedc(0x14a)][_0x26bedc(0x155)]=_0x46ba8d,this['world']&&this[_0x26bedc(0x149)][_0x26bedc(0x16c)][_0x26bedc(0x128)]();}[_0xc0ff7c(0x177)](_0x44f3f3){const _0x3d1f06=_0xc0ff7c;if(!this[_0x3d1f06(0x14a)])throw Error(_0x3d1f06(0x190));this['obj'][_0x3d1f06(0x124)][_0x3d1f06(0x131)](_0x44f3f3);let _0x4f599e=this[_0x3d1f06(0x174)];_0x4f599e['forEach'](_0x3456a9=>{const _0x3d858a=_0x3d1f06;_0x3456a9[_0x3d858a(0x177)](_0x44f3f3);});}[_0xc0ff7c(0x188)](_0x14f827,_0x171286=!![]){const _0x5b8300=_0xc0ff7c;if(this[_0x5b8300(0x129)]===_0x14f827)return this;if(_0x171286){let _0x4231b9=this['childrenComponents'];for(let _0x19b6d8=0x0;_0x19b6d8<_0x4231b9[_0x5b8300(0x18d)];++_0x19b6d8){let _0x4a2d06=_0x4231b9[_0x19b6d8]['getComponentById'](_0x14f827,_0x171286);if(_0x4a2d06)return _0x4a2d06;}}else {let _0x3496d0=this['childrenComponents'];for(let _0x560a09=0x0;_0x560a09<_0x3496d0[_0x5b8300(0x18d)];++_0x560a09){let _0x11eaf4=_0x3496d0[_0x560a09];if(_0x11eaf4[_0x5b8300(0x129)]===_0x14f827)return _0x11eaf4;}}return null;}[_0xc0ff7c(0x148)](){const _0x5e6140=_0xc0ff7c;let _0x11911c=new webgpu.Vector3();return this['getBounds']()[_0x5e6140(0x123)](_0x11911c),this[_0x5e6140(0x15b)]();}[_0xc0ff7c(0x17a)](){const _0x5973b4=_0xc0ff7c;let _0x5b770a=new webgpu.Vector3(),_0x4941e8=this[_0x5973b4(0x13b)]();return _0x4941e8[_0x5973b4(0x123)](_0x5b770a),_0x5b770a['y']=_0x4941e8[_0x5973b4(0x181)]['y'],_0x5b770a;}['getBoundsBottomCenterPositionWS'](){const _0x24deb8=_0xc0ff7c;let _0x8ed3ef=new webgpu.Vector3(),_0x2c6fd7=this['getBounds']();return _0x2c6fd7[_0x24deb8(0x123)](_0x8ed3ef),_0x8ed3ef['y']=_0x2c6fd7[_0x24deb8(0x127)]['y'],_0x8ed3ef;}[_0xc0ff7c(0x13b)](){const _0x21f0ba=_0xc0ff7c;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x4e8b73=new webgpu.Box3();return _0x4e8b73['setFromObject'](this['obj'],![]),_0x4e8b73[_0x21f0ba(0x15c)]()&&(_0x4e8b73[_0x21f0ba(0x127)]=_0x4e8b73['max']=this[_0x21f0ba(0x15b)]()),_0x4e8b73;}get['parentComponent'](){const _0x4d2940=_0xc0ff7c;var _0x2d5b25,_0x4b6c02;if(!this[_0x4d2940(0x14a)])throw Error('threeObject\x20is\x20invalid');let _0x9d85d9=(_0x4b6c02=(_0x2d5b25=this[_0x4d2940(0x14a)])===null||_0x2d5b25===void 0?void 0:_0x2d5b25[_0x4d2940(0x144)])===null||_0x4b6c02===void 0?void 0:_0x4b6c02[_0x4d2940(0x152)][_0x4d2940(0x121)];if(!_0x9d85d9)return null;if(!(_0x9d85d9 instanceof SceneComponent))return null;if(_0x9d85d9[_0x4d2940(0x176)]!==this[_0x4d2940(0x176)])return null;return _0x9d85d9;}get[_0xc0ff7c(0x174)](){const _0x1ad8ed=_0xc0ff7c;if(!this[_0x1ad8ed(0x14a)])throw Error('threeObject\x20is\x20invalid');let _0x996e08=[];for(let _0x2ce8bb=0x0;_0x2ce8bb<this[_0x1ad8ed(0x14a)][_0x1ad8ed(0x11f)]['length'];++_0x2ce8bb){if(!this[_0x1ad8ed(0x14a)][_0x1ad8ed(0x11f)][_0x2ce8bb][_0x1ad8ed(0x152)][_0x1ad8ed(0x121)])continue;this[_0x1ad8ed(0x14a)][_0x1ad8ed(0x11f)][_0x2ce8bb][_0x1ad8ed(0x152)][_0x1ad8ed(0x121)][_0x1ad8ed(0x176)]===this[_0x1ad8ed(0x176)]&&_0x996e08['push'](this[_0x1ad8ed(0x14a)][_0x1ad8ed(0x11f)][_0x2ce8bb][_0x1ad8ed(0x152)][_0x1ad8ed(0x121)]);}return _0x996e08;}[_0xc0ff7c(0x187)](_0x485e93){const _0x5d5ff2=_0xc0ff7c;let _0x5cbf86=this[_0x5d5ff2(0x174)];for(let _0x89ac12=0x0;_0x89ac12<_0x5cbf86[_0x5d5ff2(0x18d)];++_0x89ac12){_0x5cbf86[_0x89ac12][_0x5d5ff2(0x187)](_0x485e93);}}[_0xc0ff7c(0x183)](){const _0x33df2e=_0xc0ff7c;this[_0x33df2e(0x17f)]=![],this['isClickEnabled']=![],this[_0x33df2e(0x139)](),this['detachFromParentComponent'](),this[_0x33df2e(0x12f)](),this[_0x33df2e(0x16e)](),this[_0x33df2e(0x149)]&&this[_0x33df2e(0x149)][_0x33df2e(0x16c)][_0x33df2e(0x128)]();}[_0xc0ff7c(0x16e)](){const _0x168035=_0xc0ff7c;if(!this[_0x168035(0x14a)])return;this[_0x168035(0x14a)][_0x168035(0x144)]&&this[_0x168035(0x14a)]['parent']['remove'](this[_0x168035(0x14a)]),super[_0x168035(0x16e)]();}[_0xc0ff7c(0x18a)](){const _0x3614b7=_0xc0ff7c;if(!this[_0x3614b7(0x14a)])throw Error(_0x3614b7(0x190));if(this[_0x3614b7(0x14a)][_0x3614b7(0x191)])return this[_0x3614b7(0x14a)][_0x3614b7(0x16d)][_0x3614b7(0x175)]();else {const _0x4761bf=new webgpu.Vector3(),_0x381c98=new webgpu.Quaternion(),_0x15b011=new webgpu.Vector3();return this['obj'][_0x3614b7(0x15a)]['decompose'](_0x4761bf,_0x381c98,_0x15b011),_0x4761bf;}}['setPosition'](..._0xe5cb5b){const _0x273f52=_0xc0ff7c;var _0x3a66f8;if(!this[_0x273f52(0x14a)])throw Error('threeObject\x20is\x20invalid');let _0xc876b2=null;if(_0xe5cb5b[_0x273f52(0x18d)]===0x1&&((_0x3a66f8=_0xe5cb5b[0x0])===null||_0x3a66f8===void 0?void 0:_0x3a66f8[_0x273f52(0x147)])){const _0x596383=_0xe5cb5b[0x0];_0xc876b2=new webgpu.Vector3(_0x596383['x'],_0x596383['y'],_0x596383['z']);}else _0xe5cb5b['length']===0x3&&typeof _0xe5cb5b[0x0]==='number'&&typeof _0xe5cb5b[0x1]===_0x273f52(0x12e)&&typeof _0xe5cb5b[0x2]===_0x273f52(0x12e)&&(_0xc876b2=new webgpu.Vector3(_0xe5cb5b[0x0],_0xe5cb5b[0x1],_0xe5cb5b[0x2]));if(!_0xc876b2)return;this['obj']['position'][_0x273f52(0x143)](_0xc876b2),!this[_0x273f52(0x14a)]['matrixAutoUpdate']&&this[_0x273f52(0x14a)][_0x273f52(0x15a)]['setPosition'](_0xc876b2['x'],_0xc876b2['y'],_0xc876b2['z']),this[_0x273f52(0x14a)][_0x273f52(0x14f)](),this[_0x273f52(0x14a)][_0x273f52(0x125)](!![]),this[_0x273f52(0x149)]&&this[_0x273f52(0x149)][_0x273f52(0x16c)][_0x273f52(0x128)]();}[_0xc0ff7c(0x12a)](){const _0x3f6215=_0xc0ff7c;if(!this[_0x3f6215(0x14a)])throw Error('threeObject\x20is\x20invalid');if(this[_0x3f6215(0x14a)][_0x3f6215(0x191)])return this[_0x3f6215(0x14a)]['rotation'][_0x3f6215(0x175)]();else {const _0x49c97e=new webgpu.Vector3(),_0x14f9ab=new webgpu.Quaternion(),_0x17955c=new webgpu.Vector3();return this[_0x3f6215(0x14a)][_0x3f6215(0x15a)][_0x3f6215(0x145)](_0x49c97e,_0x14f9ab,_0x17955c),new webgpu.Euler()[_0x3f6215(0x16b)](_0x14f9ab);}}[_0xc0ff7c(0x15d)](..._0x196b74){const _0x4e10b8=_0xc0ff7c;var _0x5f5bbf;if(!this[_0x4e10b8(0x14a)])throw Error(_0x4e10b8(0x190));let _0x10cb8b=null;if((_0x5f5bbf=_0x196b74[0x0])===null||_0x5f5bbf===void 0?void 0:_0x5f5bbf[_0x4e10b8(0x13f)]){const _0x3f6fd5=_0x196b74[0x0];_0x10cb8b=new webgpu.Euler(_0x3f6fd5['x'],_0x3f6fd5['y'],_0x3f6fd5['z'],_0x3f6fd5[_0x4e10b8(0x184)]);}else typeof _0x196b74[0x0]===_0x4e10b8(0x12e)&&typeof _0x196b74[0x1]===_0x4e10b8(0x12e)&&typeof _0x196b74[0x2]==='number'&&(_0x10cb8b=new webgpu.Euler(_0x196b74[0x0],_0x196b74[0x1],_0x196b74[0x2]));if(!_0x10cb8b)return;this[_0x4e10b8(0x14a)][_0x4e10b8(0x18f)]['copy'](_0x10cb8b),this[_0x4e10b8(0x14a)][_0x4e10b8(0x14f)](),this['obj'][_0x4e10b8(0x125)](!![]),this[_0x4e10b8(0x149)]&&this[_0x4e10b8(0x149)][_0x4e10b8(0x16c)][_0x4e10b8(0x128)]();}[_0xc0ff7c(0x160)](){const _0xd7b4fe=_0xc0ff7c;if(!this[_0xd7b4fe(0x14a)])throw Error(_0xd7b4fe(0x190));if(this[_0xd7b4fe(0x14a)][_0xd7b4fe(0x191)])return this[_0xd7b4fe(0x14a)][_0xd7b4fe(0x17b)][_0xd7b4fe(0x175)]();else {const _0x55a72e=new webgpu.Vector3(),_0x5de042=new webgpu.Quaternion(),_0x12538a=new webgpu.Vector3();return this[_0xd7b4fe(0x14a)]['matrix'][_0xd7b4fe(0x145)](_0x55a72e,_0x5de042,_0x12538a),_0x5de042;}}[_0xc0ff7c(0x12c)](..._0x380172){const _0x2726c0=_0xc0ff7c;var _0x1db92e;if(!this[_0x2726c0(0x14a)])throw Error(_0x2726c0(0x190));let _0x1c01fd=null;if((_0x1db92e=_0x380172[0x0])===null||_0x1db92e===void 0?void 0:_0x1db92e[_0x2726c0(0x12b)]){const _0x51fdfd=_0x380172[0x0];_0x1c01fd=new webgpu.Quaternion(_0x51fdfd['x'],_0x51fdfd['y'],_0x51fdfd['z'],_0x51fdfd['w']);}else typeof _0x380172[0x0]==='number'&&typeof _0x380172[0x1]===_0x2726c0(0x12e)&&typeof _0x380172[0x2]===_0x2726c0(0x12e)&&typeof _0x380172[0x3]==='number'&&(_0x1c01fd=new webgpu.Quaternion(_0x380172[0x0],_0x380172[0x1],_0x380172[0x2],_0x380172[0x3]));if(!_0x1c01fd){console[_0x2726c0(0x13d)]('setQuaternion\x20failed,param\x20is\x20invalid',_0x380172);return;}this[_0x2726c0(0x14a)][_0x2726c0(0x17b)][_0x2726c0(0x143)](_0x1c01fd);if(!this[_0x2726c0(0x14a)]['matrixAutoUpdate']){const _0x52763b=new webgpu.Vector3(),_0x68f897=new webgpu.Quaternion(),_0x1866c7=new webgpu.Vector3();this[_0x2726c0(0x14a)][_0x2726c0(0x15a)][_0x2726c0(0x145)](_0x52763b,_0x68f897,_0x1866c7),this[_0x2726c0(0x14a)]['matrix'][_0x2726c0(0x161)](_0x52763b,_0x1c01fd,_0x1866c7);}this[_0x2726c0(0x149)]&&this[_0x2726c0(0x149)][_0x2726c0(0x16c)][_0x2726c0(0x128)](),this[_0x2726c0(0x14a)]['updateMatrix'](),this[_0x2726c0(0x14a)][_0x2726c0(0x125)](!![]);}[_0xc0ff7c(0x13e)](){const _0x543fef=_0xc0ff7c;if(!this[_0x543fef(0x14a)])throw Error(_0x543fef(0x190));if(this[_0x543fef(0x14a)][_0x543fef(0x191)])return this['obj'][_0x543fef(0x172)][_0x543fef(0x175)]();else {const _0x17f055=new webgpu.Vector3(),_0x255766=new webgpu.Quaternion(),_0x3c186b=new webgpu.Vector3();return this[_0x543fef(0x14a)][_0x543fef(0x15a)][_0x543fef(0x145)](_0x17f055,_0x255766,_0x3c186b),_0x3c186b;}}[_0xc0ff7c(0x14e)](..._0x2ed256){const _0x8120a4=_0xc0ff7c;var _0x165b29;if(!this[_0x8120a4(0x14a)])throw Error('threeObject\x20is\x20invalid');let _0x1399ef=null;if((_0x165b29=_0x2ed256[0x0])===null||_0x165b29===void 0?void 0:_0x165b29[_0x8120a4(0x147)]){const _0x18917c=_0x2ed256[0x0];_0x1399ef=new webgpu.Vector3(_0x18917c['x'],_0x18917c['y'],_0x18917c['z']);}else typeof _0x2ed256[0x0]===_0x8120a4(0x12e)&&typeof _0x2ed256[0x1]===_0x8120a4(0x12e)&&typeof _0x2ed256[0x2]===_0x8120a4(0x12e)&&(_0x1399ef=new webgpu.Vector3(_0x2ed256[0x0],_0x2ed256[0x1],_0x2ed256[0x2]));if(!_0x1399ef)return;this[_0x8120a4(0x14a)][_0x8120a4(0x172)][_0x8120a4(0x143)](_0x1399ef),this['obj'][_0x8120a4(0x14f)](),this[_0x8120a4(0x14a)]['updateMatrixWorld'](!![]),this[_0x8120a4(0x149)]&&this[_0x8120a4(0x149)]['viewport'][_0x8120a4(0x128)]();}[_0xc0ff7c(0x179)](){const _0x56cb07=_0xc0ff7c;if(!this[_0x56cb07(0x14a)])throw Error(_0x56cb07(0x190));return this[_0x56cb07(0x14a)][_0x56cb07(0x15a)];}[_0xc0ff7c(0x173)](_0x1786d0){const _0x1c470d=_0xc0ff7c;var _0x5aade4;if(!this[_0x1c470d(0x14a)])throw Error('threeObject\x20is\x20invalid');_0x1786d0[_0x1c470d(0x145)](this[_0x1c470d(0x14a)][_0x1c470d(0x16d)],this[_0x1c470d(0x14a)]['quaternion'],this[_0x1c470d(0x14a)][_0x1c470d(0x172)]),this[_0x1c470d(0x14a)][_0x1c470d(0x14f)](),this[_0x1c470d(0x14a)]['updateMatrixWorld'](!![]),(_0x5aade4=this[_0x1c470d(0x149)])===null||_0x5aade4===void 0?void 0:_0x5aade4[_0x1c470d(0x16c)][_0x1c470d(0x128)]();}[_0xc0ff7c(0x15b)](){const _0xd2bea1=_0xc0ff7c;if(!this['obj'])throw Error(_0xd2bea1(0x190));let _0x3199c2=new webgpu.Vector3();return this[_0xd2bea1(0x14a)][_0xd2bea1(0x15b)](_0x3199c2),_0x3199c2;}[_0xc0ff7c(0x120)](){const _0x104733=_0xc0ff7c;if(!this[_0x104733(0x14a)])throw Error('threeObject\x20is\x20invalid');let _0x3380a5=new webgpu.Quaternion();return this[_0x104733(0x14a)][_0x104733(0x167)](_0x3380a5),new webgpu.Euler()[_0x104733(0x16b)](_0x3380a5);}['getWorldQuaternion'](){const _0x31ac2a=_0xc0ff7c;if(!this['obj'])throw Error(_0x31ac2a(0x190));let _0x4658a9=new webgpu.Quaternion();return this[_0x31ac2a(0x14a)][_0x31ac2a(0x167)](_0x4658a9),_0x4658a9;}[_0xc0ff7c(0x156)](){const _0x2e77e2=_0xc0ff7c;if(!this['obj'])throw Error(_0x2e77e2(0x190));let _0xbd1c6f=new webgpu.Vector3();return this[_0x2e77e2(0x14a)][_0x2e77e2(0x156)](_0xbd1c6f),_0xbd1c6f;}[_0xc0ff7c(0x132)](){const _0x2798fc=_0xc0ff7c;if(!this[_0x2798fc(0x14a)])throw Error(_0x2798fc(0x190));return this[_0x2798fc(0x14a)][_0x2798fc(0x125)](!![]),this[_0x2798fc(0x14a)][_0x2798fc(0x18b)]['clone']();}[_0xc0ff7c(0x186)](_0x292a84){const _0xfb25d3=_0xc0ff7c;if(!this[_0xfb25d3(0x14a)])throw Error('threeObject\x20is\x20invalid');if(this[_0xfb25d3(0x14a)]['parent']){this[_0xfb25d3(0x14a)]['parent'][_0xfb25d3(0x125)](!![]);const _0xea0ef7=this[_0xfb25d3(0x14a)][_0xfb25d3(0x144)]['matrixWorld']['clone']()['invert'](),_0x190127=new webgpu.Matrix4()[_0xfb25d3(0x182)](_0xea0ef7,_0x292a84);this[_0xfb25d3(0x173)](_0x190127);}else this['setMatrix'](_0x292a84);this['obj'][_0xfb25d3(0x125)](!![]),this[_0xfb25d3(0x149)]&&this['world'][_0xfb25d3(0x16c)]['markRenderStateDirty']();}[_0xc0ff7c(0x17c)](){const _0x493bde=_0xc0ff7c;if(!this[_0x493bde(0x14a)])throw Error(_0x493bde(0x190));let _0xab1577=new webgpu.Vector3();return this[_0x493bde(0x14a)]['getWorldDirection'](_0xab1577),_0xab1577;}['getWorldUpDirection'](){const _0x1a99a6=_0xc0ff7c;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x580411=new webgpu.Vector3(0x0,0x1,0x0);return _0x580411['applyQuaternion'](this[_0x1a99a6(0x167)]()),_0x580411;}[_0xc0ff7c(0x185)](){const _0xb5a288=_0xc0ff7c;if(!this[_0xb5a288(0x14a)])throw Error(_0xb5a288(0x190));let _0xa2a620=new webgpu.Vector3(0x1,0x0,0x0);return _0xa2a620['applyQuaternion'](this[_0xb5a288(0x167)]()),_0xa2a620;}[_0xc0ff7c(0x154)](_0x4de55f){const _0x2cc830=_0xc0ff7c;if(!this[_0x2cc830(0x14a)])throw Error(_0x2cc830(0x190));return this[_0x2cc830(0x14a)][_0x2cc830(0x154)](_0x4de55f);}[_0xc0ff7c(0x17d)](_0x14cdae){const _0x3392ca=_0xc0ff7c;if(!this[_0x3392ca(0x14a)])throw Error(_0x3392ca(0x190));return this[_0x3392ca(0x14a)]['localToWorld'](_0x14cdae);}[_0xc0ff7c(0x180)](_0x434bc5){const _0x20a7eb=_0xc0ff7c;if(!this['obj'])throw Error(_0x20a7eb(0x190));if(!_0x434bc5[_0x20a7eb(0x138)])throw Error('newComponent\x20threeObject\x20is\x20invalid');this[_0x20a7eb(0x14a)][_0x20a7eb(0x137)](_0x434bc5['threeObject']),this['world']&&_0x434bc5['onAddedToWorld'](this[_0x20a7eb(0x149)]);}[_0xc0ff7c(0x13c)](_0x16099c){const _0x12abc0=_0xc0ff7c;if(!this[_0x12abc0(0x14a)])throw Error(_0x12abc0(0x190));if(!_0x16099c['threeObject'])throw Error(_0x12abc0(0x189));this[_0x12abc0(0x14a)]['remove'](_0x16099c['threeObject']);}[_0xc0ff7c(0x164)](_0x2b6f2f,_0x1d02a4=exports.AttachmentRules['KeepRelative']){const _0x1fb382=_0xc0ff7c;if(!this['obj'])throw Error(_0x1fb382(0x190));if(!_0x2b6f2f[_0x1fb382(0x138)])throw Error(_0x1fb382(0x16a));_0x2b6f2f[_0x1fb382(0x176)]=this['parentActor'];if(_0x1d02a4===exports.AttachmentRules[_0x1fb382(0x11e)]){let _0x303b3c=_0x2b6f2f[_0x1fb382(0x132)]();this[_0x1fb382(0x14a)][_0x1fb382(0x137)](_0x2b6f2f[_0x1fb382(0x138)]),_0x2b6f2f['setWorldMatrix'](_0x303b3c);}else this[_0x1fb382(0x14a)][_0x1fb382(0x137)](_0x2b6f2f[_0x1fb382(0x138)]);this['world']&&_0x2b6f2f[_0x1fb382(0x187)](this['world']),this[_0x1fb382(0x14a)][_0x1fb382(0x14f)](),this[_0x1fb382(0x14a)][_0x1fb382(0x125)](!![]);}[_0xc0ff7c(0x142)](_0x270ed1){const _0x304817=_0xc0ff7c;if(!this['obj'])throw Error(_0x304817(0x190));if(!_0x270ed1[_0x304817(0x138)])throw Error(_0x304817(0x165));this[_0x304817(0x14a)][_0x304817(0x122)](_0x270ed1[_0x304817(0x138)]);}[_0xc0ff7c(0x12d)](){const _0x4e33f4=_0xc0ff7c;this[_0x4e33f4(0x158)]&&this['parentComponent'][_0x4e33f4(0x142)](this);}[_0xc0ff7c(0x139)](){const _0x3bfc0b=_0xc0ff7c;this[_0x3bfc0b(0x176)]&&(this['parentActor']=null);}['destroyChildren'](){const _0x56a256=_0xc0ff7c;var _0x5d4808;if(!this[_0x56a256(0x14a)])return;let _0x425c34=[];for(let _0x3a76c7=0x0;_0x3a76c7<this['obj'][_0x56a256(0x11f)][_0x56a256(0x18d)];++_0x3a76c7){let _0x41738b=(_0x5d4808=this[_0x56a256(0x14a)][_0x56a256(0x11f)][_0x3a76c7][_0x56a256(0x152)])===null||_0x5d4808===void 0?void 0:_0x5d4808['LYObject'];_0x41738b&&_0x425c34[_0x56a256(0x162)](_0x41738b);}_0x425c34[_0x56a256(0x136)](_0x45677f=>{const _0x3614b3=_0x56a256;_0x45677f[_0x3614b3(0x183)]();}),_0x425c34=[];}set[_0xc0ff7c(0x17f)](_0x5e3160){const _0x278d1d=_0xc0ff7c;this[_0x278d1d(0x166)]=_0x5e3160;let _0x122611=this[_0x278d1d(0x174)];for(let _0x427927=0x0;_0x427927<_0x122611[_0x278d1d(0x18d)];++_0x427927){_0x122611[_0x427927][_0x278d1d(0x17f)]=this[_0x278d1d(0x166)];}}get[_0xc0ff7c(0x17f)](){return this['bCanHover'];}set[_0xc0ff7c(0x146)](_0x17cd75){const _0x4ab1ea=_0xc0ff7c;this['bCanClick']=_0x17cd75;let _0x5b1117=this[_0x4ab1ea(0x174)];for(let _0x345d42=0x0;_0x345d42<_0x5b1117[_0x4ab1ea(0x18d)];++_0x345d42){_0x5b1117[_0x345d42]['isClickEnabled']=this['bCanClick'];}}get['isClickEnabled'](){const _0x3574e0=_0xc0ff7c;return this[_0x3574e0(0x151)];}['onHorveringBegin'](){const _0xad098b=_0xc0ff7c;this[_0xad098b(0x15f)][_0xad098b(0x157)]();}['onHorveringEnd'](){const _0x36d7e5=_0xc0ff7c;this[_0x36d7e5(0x18e)]['broadcast']();}['onClicked'](){const _0x5c4fd7=_0xc0ff7c;this[_0x5c4fd7(0x153)][_0x5c4fd7(0x157)]();}['onDoubleClicked'](){const _0x538b60=_0xc0ff7c;this['_onDoubleClickDelegate'][_0x538b60(0x157)]();}}
|
|
31
31
|
|
|
32
|
-
const
|
|
32
|
+
const _0x5bb94b=_0x19c7;(function(_0x160919,_0x27a2c5){const _0x2fdc3c=_0x19c7,_0x1c6b84=_0x160919();while(!![]){try{const _0x41e4eb=parseInt(_0x2fdc3c(0x152))/0x1*(-parseInt(_0x2fdc3c(0x137))/0x2)+-parseInt(_0x2fdc3c(0x143))/0x3+-parseInt(_0x2fdc3c(0x140))/0x4*(-parseInt(_0x2fdc3c(0x148))/0x5)+-parseInt(_0x2fdc3c(0x13b))/0x6+parseInt(_0x2fdc3c(0x14b))/0x7+parseInt(_0x2fdc3c(0x153))/0x8+parseInt(_0x2fdc3c(0x145))/0x9;if(_0x41e4eb===_0x27a2c5)break;else _0x1c6b84['push'](_0x1c6b84['shift']());}catch(_0x5aa1f9){_0x1c6b84['push'](_0x1c6b84['shift']());}}}(_0x1804,0xa1f30));function _0x1804(){const _0x125908=['getCenter','material','addRef','threeObject','max','_materialPtr','userData','forEach','release','removeFromParent','obj','getBoundsBottomCenterPosition','LYObject','434442jTvZEQ','getBounds','getValue','push','3236610PAoJnM','min','addMaterialAsset','createDefaultObject','getBoundsCenterPosition','1276588IlkaoE','destroyObject','geometry','2574426HYbdhy','receiveShadow','12426165KvpUsJ','castShadow','length','10lgBqNr','geometryPtr\x20is\x20null','materialPtr','1892884FWyRxW','addGeometryAsset','threeObject\x20is\x20null','_geometryPtr','assetManager','isArray','geometryPtr','3tPmeoM','3385544raJWkQ','getBoundsTopCenterPosition','app'];_0x1804=function(){return _0x125908;};return _0x1804();}function _0x19c7(_0x4e795b,_0x192220){_0x4e795b=_0x4e795b-0x129;const _0x180415=_0x1804();let _0x19c7dc=_0x180415[_0x4e795b];return _0x19c7dc;}class MeshComponent extends SceneComponent{get[_0x5bb94b(0x12d)](){const _0x4ce404=_0x5bb94b;if(!this[_0x4ce404(0x134)])throw new Error(_0x4ce404(0x14d));return this['obj'];}set[_0x5bb94b(0x12d)](_0x2010ab){const _0x3b19d7=_0x5bb94b;this[_0x3b19d7(0x134)]=_0x2010ab,this[_0x3b19d7(0x134)]&&(this[_0x3b19d7(0x134)][_0x3b19d7(0x130)][_0x3b19d7(0x136)]=this);}get[_0x5bb94b(0x142)](){const _0x52591b=_0x5bb94b;if(!this[_0x52591b(0x14e)])throw new Error(_0x52591b(0x149));return this[_0x52591b(0x14e)]['getValue']();}set[_0x5bb94b(0x142)](_0x3bde9b){const _0x2a664c=_0x5bb94b;let _0x436034=this[_0x2a664c(0x129)][_0x2a664c(0x14f)][_0x2a664c(0x14c)](_0x3bde9b);this[_0x2a664c(0x151)]=_0x436034;}get[_0x5bb94b(0x151)](){const _0x2029f2=_0x5bb94b;if(!this[_0x2029f2(0x14e)])throw new Error(_0x2029f2(0x149));return this[_0x2029f2(0x14e)];}set['geometryPtr'](_0x290f71){const _0x10db5b=_0x5bb94b;this[_0x10db5b(0x14e)]&&(this[_0x10db5b(0x14e)]['release'](),this['_geometryPtr']=null);this['_geometryPtr']=_0x290f71;let _0x182617=_0x290f71[_0x10db5b(0x139)]();this[_0x10db5b(0x12d)]&&_0x182617&&(this[_0x10db5b(0x12d)][_0x10db5b(0x142)]=_0x182617);}get[_0x5bb94b(0x12b)](){const _0x155084=_0x5bb94b;let _0x157524=[];return this[_0x155084(0x12f)][_0x155084(0x131)](_0x2329e1=>{const _0x24270b=_0x155084;let _0xfa6a48=_0x2329e1[_0x24270b(0x139)]();if(_0xfa6a48)_0x157524[_0x24270b(0x13a)](_0xfa6a48);}),_0x157524[_0x155084(0x147)]>0x1?_0x157524:_0x157524[0x0];}get[_0x5bb94b(0x14a)](){const _0x4755c8=_0x5bb94b;return this[_0x4755c8(0x14a)];}set['material'](_0x543d8c){const _0x378270=_0x5bb94b;let _0x347b7b=Array[_0x378270(0x150)](_0x543d8c)?_0x543d8c:[_0x543d8c],_0x54cc02=[];_0x347b7b[_0x378270(0x131)](_0x261ca6=>{const _0xe6d75d=_0x378270;let _0x6cfa82=this[_0xe6d75d(0x129)]['assetManager'][_0xe6d75d(0x13d)](_0x261ca6);if(_0x6cfa82)_0x54cc02[_0xe6d75d(0x13a)](_0x6cfa82);}),this[_0x378270(0x14a)]=_0x54cc02;}set['materialPtr'](_0x4415d0){const _0x4ad46b=_0x5bb94b;this[_0x4ad46b(0x12f)]&&(this[_0x4ad46b(0x12f)][_0x4ad46b(0x131)](_0x26de51=>{const _0x3d09a9=_0x4ad46b;_0x26de51[_0x3d09a9(0x132)]();}),this[_0x4ad46b(0x12f)]=[]);let _0x58a2d3=Array[_0x4ad46b(0x150)](_0x4415d0)?_0x4415d0:[_0x4415d0],_0x82a8ce=[];_0x58a2d3[_0x4ad46b(0x131)](_0x569653=>{const _0x4a248f=_0x4ad46b;let _0x291c23=_0x569653['getValue']();if(_0x291c23)_0x82a8ce[_0x4a248f(0x13a)](_0x291c23);_0x569653[_0x4a248f(0x12c)]();});if(this['threeObject']){if(_0x82a8ce['length']>0x0)this[_0x4ad46b(0x12d)]['material']=Array[_0x4ad46b(0x150)](_0x4415d0)?_0x82a8ce[0x0]:_0x82a8ce;}this[_0x4ad46b(0x12f)]=_0x58a2d3;}constructor(_0x4b6efe,_0x283fa6,_0x2b0a02,_0x24fbb3){const _0x2fc4cc=_0x5bb94b;let _0x375dba=[],_0x1b5dac=Array[_0x2fc4cc(0x150)](_0x2b0a02)?_0x2b0a02:[_0x2b0a02];_0x1b5dac[_0x2fc4cc(0x131)](_0x3a217e=>{const _0x1bb88a=_0x2fc4cc;let _0x3dfca2=_0x4b6efe[_0x1bb88a(0x14f)]['addMaterialAsset'](_0x3a217e);if(_0x3dfca2)_0x375dba[_0x1bb88a(0x13a)](_0x3dfca2);}),super(_0x4b6efe,_0x24fbb3),this[_0x2fc4cc(0x14e)]=_0x4b6efe[_0x2fc4cc(0x14f)]['addGeometryAsset'](_0x283fa6),this['_materialPtr']=_0x375dba,_0x375dba['forEach'](_0x43dac6=>{const _0x16c822=_0x2fc4cc;_0x43dac6[_0x16c822(0x12c)]();}),this[_0x2fc4cc(0x12d)]['material']=_0x2b0a02,this[_0x2fc4cc(0x12d)]['geometry']=_0x283fa6,this[_0x2fc4cc(0x146)]=!![],this['receiveShadow']=!![];}[_0x5bb94b(0x13e)](){return new webgpu.Mesh();}set[_0x5bb94b(0x146)](_0x256f0c){const _0x4afaec=_0x5bb94b;if(this[_0x4afaec(0x12d)])this[_0x4afaec(0x12d)][_0x4afaec(0x146)]=_0x256f0c;}get['castShadow'](){const _0x9b980e=_0x5bb94b;return this[_0x9b980e(0x12d)]?this[_0x9b980e(0x12d)][_0x9b980e(0x146)]:![];}set[_0x5bb94b(0x144)](_0x59a487){const _0x15e7c1=_0x5bb94b;if(!this['threeObject'])return;this[_0x15e7c1(0x12d)][_0x15e7c1(0x144)]=_0x59a487;}get[_0x5bb94b(0x144)](){const _0x14c8b0=_0x5bb94b;return this[_0x14c8b0(0x12d)]?this[_0x14c8b0(0x12d)]['receiveShadow']:![];}[_0x5bb94b(0x13f)](){const _0x2efe2a=_0x5bb94b;let _0x46e36a=new webgpu.Vector3();return this[_0x2efe2a(0x138)]()[_0x2efe2a(0x12a)](_0x46e36a),_0x46e36a;}[_0x5bb94b(0x154)](){const _0x591d07=_0x5bb94b;let _0xeaaf63=new webgpu.Vector3(),_0x2c6720=this['getBounds']();return _0x2c6720[_0x591d07(0x12a)](_0xeaaf63),_0xeaaf63['y']=_0x2c6720[_0x591d07(0x12e)]['y'],_0xeaaf63;}[_0x5bb94b(0x135)](){const _0x41e540=_0x5bb94b;let _0x404113=new webgpu.Vector3(),_0xb49050=this[_0x41e540(0x138)]();return _0xb49050['getCenter'](_0x404113),_0x404113['y']=_0xb49050[_0x41e540(0x13c)]['y'],_0x404113;}[_0x5bb94b(0x141)](){const _0x36d04f=_0x5bb94b;var _0x587588;this[_0x36d04f(0x12d)]&&this[_0x36d04f(0x12d)][_0x36d04f(0x133)]();(_0x587588=this[_0x36d04f(0x14e)])===null||_0x587588===void 0?void 0:_0x587588[_0x36d04f(0x132)]();let _0x2602bd=Array[_0x36d04f(0x150)](this['_materialPtr'])?this[_0x36d04f(0x12f)]:[this[_0x36d04f(0x12f)]];_0x2602bd[_0x36d04f(0x131)](_0x4ea33=>{const _0x4ea8c9=_0x36d04f;_0x4ea33[_0x4ea8c9(0x132)]();}),super[_0x36d04f(0x141)]();}}
|
|
33
33
|
|
|
34
|
-
const
|
|
34
|
+
const _0x1ba837=_0x54ab;(function(_0x1e6de3,_0x3d3a2f){const _0x3f6e8e=_0x54ab,_0x5bf490=_0x1e6de3();while(!![]){try{const _0x2095f2=-parseInt(_0x3f6e8e(0x160))/0x1+parseInt(_0x3f6e8e(0x154))/0x2*(-parseInt(_0x3f6e8e(0x15f))/0x3)+-parseInt(_0x3f6e8e(0x162))/0x4+-parseInt(_0x3f6e8e(0x149))/0x5+-parseInt(_0x3f6e8e(0x152))/0x6*(parseInt(_0x3f6e8e(0x168))/0x7)+parseInt(_0x3f6e8e(0x163))/0x8+parseInt(_0x3f6e8e(0x150))/0x9;if(_0x2095f2===_0x3d3a2f)break;else _0x5bf490['push'](_0x5bf490['shift']());}catch(_0x210ca7){_0x5bf490['push'](_0x5bf490['shift']());}}}(_0x1845,0x9f6c3));function _0x54ab(_0x2f6f5e,_0x385852){_0x2f6f5e=_0x2f6f5e-0x148;const _0x184506=_0x1845();let _0x54ab15=_0x184506[_0x2f6f5e];return _0x54ab15;}function _0x1845(){const _0xb4677b=['6vqCzyw','635081RejfYt','userData','4149012ZawUTm','2824344MXnNzL','LYObject','needsUpdate','_geometryPtr','threeObject','57071KMDztl','geometry','length','addMaterialAsset','count','push','isArray','destroyObject','removeFromParent','1562395AfTaWV','getValue','assetManager','release','createDefaultObject','obj','dispose','25855398afzCTC','receiveShadow','282qAHrqp','forEach','204866SVzEuB','castShadow','_materialPtr','material','instanceMatrix','min','getMatrixAt','InstanceMeshComponent:\x20threeObject\x20is\x20null','setMatrixAt','addGeometryAsset','updateMatrices'];_0x1845=function(){return _0xb4677b;};return _0x1845();}class InstanceMeshComponent extends SceneComponent{get[_0x1ba837(0x167)](){const _0x8716ba=_0x1ba837;if(!this[_0x8716ba(0x14e)])throw new Error(_0x8716ba(0x15b));return this[_0x8716ba(0x14e)];}set['threeObject'](_0x1403ef){const _0x11137b=_0x1ba837;this['obj']=_0x1403ef,this[_0x11137b(0x14e)]&&(this[_0x11137b(0x14e)][_0x11137b(0x161)][_0x11137b(0x164)]=this);}get[_0x1ba837(0x169)](){const _0xc3bed4=_0x1ba837;var _0x3daa71,_0x39d343;return (_0x39d343=(_0x3daa71=this[_0xc3bed4(0x166)])===null||_0x3daa71===void 0?void 0:_0x3daa71[_0xc3bed4(0x14a)]())!==null&&_0x39d343!==void 0?_0x39d343:null;}get['material'](){const _0x274c08=_0x1ba837,_0x1f859e=[];return this[_0x274c08(0x156)][_0x274c08(0x153)](_0x2e0f95=>{const _0x5e0ef3=_0x274c08,_0x17d9e2=_0x2e0f95[_0x5e0ef3(0x14a)]();if(_0x17d9e2)_0x1f859e['push'](_0x17d9e2);}),_0x1f859e[_0x274c08(0x16a)]>0x1?_0x1f859e:_0x1f859e[0x0];}get[_0x1ba837(0x16c)](){const _0x17052d=_0x1ba837;return this[_0x17052d(0x167)][_0x17052d(0x16c)];}set[_0x1ba837(0x16c)](_0x1c7271){const _0x395257=_0x1ba837;this['threeObject'][_0x395257(0x16c)]=_0x1c7271;}set[_0x1ba837(0x155)](_0x1bb36f){const _0x2ce24d=_0x1ba837;if(this[_0x2ce24d(0x167)])this[_0x2ce24d(0x167)][_0x2ce24d(0x155)]=_0x1bb36f;}get[_0x1ba837(0x155)](){const _0x20b893=_0x1ba837;return this['threeObject']?this[_0x20b893(0x167)][_0x20b893(0x155)]:![];}set[_0x1ba837(0x151)](_0x5e9e22){const _0x2accfe=_0x1ba837;if(!this[_0x2accfe(0x167)])return;this[_0x2accfe(0x167)][_0x2accfe(0x151)]=_0x5e9e22;}get[_0x1ba837(0x151)](){const _0x38f46d=_0x1ba837;return this[_0x38f46d(0x167)]?this[_0x38f46d(0x167)][_0x38f46d(0x151)]:![];}constructor(_0xf0f67a,_0x39ec38,_0x55a650){const _0x2dba23=_0x1ba837;super(_0xf0f67a,_0x55a650),this[_0x2dba23(0x166)]=null,this[_0x2dba23(0x156)]=[];_0x39ec38[_0x2dba23(0x169)]&&(this[_0x2dba23(0x166)]=_0xf0f67a[_0x2dba23(0x14b)][_0x2dba23(0x15d)](_0x39ec38[_0x2dba23(0x169)]));const _0x2b8197=Array[_0x2dba23(0x16e)](_0x39ec38[_0x2dba23(0x157)])?_0x39ec38['material']:[_0x39ec38[_0x2dba23(0x157)]];_0x2b8197[_0x2dba23(0x153)](_0x2ae561=>{const _0x442491=_0x2dba23,_0x500b27=_0xf0f67a[_0x442491(0x14b)][_0x442491(0x16b)](_0x2ae561);_0x500b27&&(_0x500b27['addRef'](),this['_materialPtr'][_0x442491(0x16d)](_0x500b27));}),this[_0x2dba23(0x167)]=_0x39ec38,this[_0x2dba23(0x155)]=!![],this[_0x2dba23(0x151)]=!![];}[_0x1ba837(0x14d)](){return new webgpu.InstancedMesh(undefined,undefined,0x0);}['getMatrixAt'](_0x3d90c3,_0x50f585){const _0x510e3c=_0x1ba837;this[_0x510e3c(0x167)][_0x510e3c(0x15a)](_0x3d90c3,_0x50f585);}[_0x1ba837(0x15c)](_0x24b25e,_0x555a6b){const _0x5645c2=_0x1ba837;this['threeObject']['setMatrixAt'](_0x24b25e,_0x555a6b),this[_0x5645c2(0x167)][_0x5645c2(0x158)]['needsUpdate']=!![];}[_0x1ba837(0x15e)](_0x6f6db2){const _0x16bad3=_0x1ba837,_0x2895f9=Math[_0x16bad3(0x159)](_0x6f6db2[_0x16bad3(0x16a)],this[_0x16bad3(0x167)][_0x16bad3(0x16c)]);for(let _0x5e5974=0x0;_0x5e5974<_0x2895f9;_0x5e5974++){this['threeObject'][_0x16bad3(0x15c)](_0x5e5974,_0x6f6db2[_0x5e5974]);}this['threeObject']['instanceMatrix'][_0x16bad3(0x165)]=!![];}[_0x1ba837(0x16f)](){const _0x11c961=_0x1ba837;var _0xaf08f4;this[_0x11c961(0x167)]&&(this[_0x11c961(0x167)][_0x11c961(0x148)](),this[_0x11c961(0x167)][_0x11c961(0x14f)]()),(_0xaf08f4=this['_geometryPtr'])===null||_0xaf08f4===void 0?void 0:_0xaf08f4[_0x11c961(0x14c)](),this[_0x11c961(0x166)]=null,this['_materialPtr'][_0x11c961(0x153)](_0x11f8f1=>{const _0x31b1c0=_0x11c961;_0x11f8f1[_0x31b1c0(0x14c)]();}),this['_materialPtr']=[],super[_0x11c961(0x16f)]();}}
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
var _0x1ea97c=_0x17f4;function _0x4d2e(){var _0x27b198=['getRefCount','value','3448FxprYq','3509280yGYatT','referenceCount','14794acMTdD','isValid','633596zFZZzA','910842AzHSua','22429kAtYwF','922614XhGwhk','getValue','5AWfIdi','dispose','7893sYLZfy','addRef','6700aqZskN','681zzIVBn'];_0x4d2e=function(){return _0x27b198;};return _0x4d2e();}function _0x17f4(_0x53cfaa,_0x5a4457){_0x53cfaa=_0x53cfaa-0x1c0;var _0x4d2ea0=_0x4d2e();var _0x17f4c2=_0x4d2ea0[_0x53cfaa];return _0x17f4c2;}(function(_0x2ab4a3,_0x312778){var _0x50f264=_0x17f4,_0x2537b7=_0x2ab4a3();while(!![]){try{var _0x50acf5=-parseInt(_0x50f264(0x1cf))/0x1+-parseInt(_0x50f264(0x1cd))/0x2*(-parseInt(_0x50f264(0x1c7))/0x3)+-parseInt(_0x50f264(0x1cb))/0x4*(parseInt(_0x50f264(0x1c2))/0x5)+-parseInt(_0x50f264(0x1d0))/0x6+-parseInt(_0x50f264(0x1c0))/0x7+-parseInt(_0x50f264(0x1ca))/0x8*(parseInt(_0x50f264(0x1c4))/0x9)+-parseInt(_0x50f264(0x1c6))/0xa*(-parseInt(_0x50f264(0x1d1))/0xb);if(_0x50acf5===_0x312778)break;else _0x2537b7['push'](_0x2537b7['shift']());}catch(_0x272755){_0x2537b7['push'](_0x2537b7['shift']());}}}(_0x4d2e,0xd5121));class TSmartPointer{constructor(_0x5d8e44,_0x39e4a8=0x1){var _0xe92e5c=_0x17f4;this[_0xe92e5c(0x1cc)]=0x1,this[_0xe92e5c(0x1c9)]=null,this[_0xe92e5c(0x1c9)]=_0x5d8e44,this[_0xe92e5c(0x1cc)]=_0x39e4a8;}[_0x1ea97c(0x1c8)](){var _0x33d0ed=_0x1ea97c;return this[_0x33d0ed(0x1cc)];}[_0x1ea97c(0x1ce)](){return this['value']!==null;}[_0x1ea97c(0x1c5)](_0x6b925a=0x1){this['value']!==null&&(this['referenceCount']+=_0x6b925a);}['release'](){var _0x20534f=_0x1ea97c;this[_0x20534f(0x1c9)]!==null&&this['referenceCount']>0x0&&(this[_0x20534f(0x1cc)]--,this[_0x20534f(0x1cc)]===0x0&&this[_0x20534f(0x1c3)]());}['forceRelease'](){var _0x578a66=_0x1ea97c;this['value']!==null&&(this[_0x578a66(0x1c3)](),this[_0x578a66(0x1cc)]=0x0);}['dispose'](){var _0x15346c=_0x1ea97c;this[_0x15346c(0x1c9)]=null;}[_0x1ea97c(0x1c1)](){var _0x204004=_0x1ea97c;return this[_0x204004(0x1c9)];}}
|
|
37
37
|
|
|
38
|
-
const
|
|
38
|
+
const _0x207b79=_0xda02;(function(_0x380d4a,_0x181be2){const _0xbf107d=_0xda02,_0x443126=_0x380d4a();while(!![]){try{const _0x42f979=parseInt(_0xbf107d(0x89))/0x1*(-parseInt(_0xbf107d(0x94))/0x2)+-parseInt(_0xbf107d(0x8e))/0x3+-parseInt(_0xbf107d(0x8b))/0x4*(parseInt(_0xbf107d(0x93))/0x5)+parseInt(_0xbf107d(0x8a))/0x6+parseInt(_0xbf107d(0x96))/0x7*(parseInt(_0xbf107d(0x95))/0x8)+-parseInt(_0xbf107d(0x99))/0x9+parseInt(_0xbf107d(0x8f))/0xa*(parseInt(_0xbf107d(0x8c))/0xb);if(_0x42f979===_0x181be2)break;else _0x443126['push'](_0x443126['shift']());}catch(_0x20a955){_0x443126['push'](_0x443126['shift']());}}}(_0x27b4,0x55513));const ASSET_POINTER_KEY=_0x207b79(0x98);const EDITOR_ASSET_ID_KEY=_0x207b79(0x9a);function _0x27b4(){const _0x495dc0=['editorAssetId','uuid','21WKMKDc','3915720MgvvZz','923804XHRqeS','22XscDif','function','998103ssjXrg','5685150sUfSmj','userData','dispose','value','5sXIjYp','27942Ninydp','8DNLIxq','206668uLEKPl','_uuid','assetPointer','5514048CjzbWi'];_0x27b4=function(){return _0x495dc0;};return _0x27b4();}function _0xda02(_0x37b936,_0x48ec80){_0x37b936=_0x37b936-0x89;const _0x27b43c=_0x27b4();let _0xda02e4=_0x27b43c[_0x37b936];return _0xda02e4;}class TAssetPointer extends TSmartPointer{get[_0x207b79(0x9b)](){const _0x21ba9a=_0x207b79;return this[_0x21ba9a(0x97)];}constructor(_0x952d17,_0x4ad500=0x0){const _0x5995a4=_0x207b79;super(_0x952d17,_0x4ad500),this[_0x5995a4(0x97)]=_0x952d17[_0x5995a4(0x9b)],_0x952d17[_0x5995a4(0x90)][ASSET_POINTER_KEY]=this;}[_0x207b79(0x91)](){const _0x26bdfd=_0x207b79;this[_0x26bdfd(0x92)]&&(this['value'][_0x26bdfd(0x90)]&&(delete this[_0x26bdfd(0x92)][_0x26bdfd(0x90)][ASSET_POINTER_KEY],delete this[_0x26bdfd(0x92)][_0x26bdfd(0x90)][EDITOR_ASSET_ID_KEY]),typeof this[_0x26bdfd(0x92)]['dispose']===_0x26bdfd(0x8d)&&this['value'][_0x26bdfd(0x91)]()),super[_0x26bdfd(0x91)]();}}
|
|
39
39
|
|
|
40
|
-
const
|
|
40
|
+
const _0x49b539=_0x1065;function _0x1065(_0xa17d13,_0x368ab0){_0xa17d13=_0xa17d13-0xc7;const _0x217601=_0x2176();let _0x106517=_0x217601[_0xa17d13];return _0x106517;}(function(_0x525624,_0x504e22){const _0x2bf95a=_0x1065,_0x16ffbf=_0x525624();while(!![]){try{const _0x2ef7e6=parseInt(_0x2bf95a(0xd9))/0x1+parseInt(_0x2bf95a(0xdc))/0x2+parseInt(_0x2bf95a(0xc9))/0x3*(-parseInt(_0x2bf95a(0xdf))/0x4)+-parseInt(_0x2bf95a(0xd3))/0x5*(-parseInt(_0x2bf95a(0xd8))/0x6)+parseInt(_0x2bf95a(0xd5))/0x7+parseInt(_0x2bf95a(0xd0))/0x8*(parseInt(_0x2bf95a(0xda))/0x9)+parseInt(_0x2bf95a(0xcd))/0xa*(-parseInt(_0x2bf95a(0xc7))/0xb);if(_0x2ef7e6===_0x504e22)break;else _0x16ffbf['push'](_0x16ffbf['shift']());}catch(_0x3ef491){_0x16ffbf['push'](_0x16ffbf['shift']());}}}(_0x2176,0x61334));function _0x2176(){const _0x39e7e9=['delete','texturePointers','12566580LxMKSK','dispose','clear','604520DCwwTK','textures','set','625VCymQm','release','4493321UBqHZj','values','Material\x20is\x20null','35790YNTlar','792588fxYhgj','9YxsAxH','addRef','138242FSNjCW','Texture\x20is\x20null','removeTexture','16zrCffc','11zrfEvX','needsUpdate','502509wnoGyb','getValue'];_0x2176=function(){return _0x39e7e9;};return _0x2176();}class MaterialAssetPointer extends TAssetPointer{constructor(_0x390e21,_0xae2f7,_0x45af03=0x0){super(_0x390e21,_0x45af03),this['textures']=_0xae2f7;}get[_0x49b539(0xcc)](){const _0xba1263=_0x49b539;return this[_0xba1263(0xd1)];}['setTexture'](_0x291a38,_0x128053){const _0x5179fd=_0x49b539,_0x1a9edd=this[_0x5179fd(0xca)](),_0x17cc05=_0x128053[_0x5179fd(0xca)]();if(!_0x17cc05)throw new Error(_0x5179fd(0xdd));if(!_0x1a9edd)throw new Error(_0x5179fd(0xd7));const _0xe6287e=this['textures']['get'](_0x291a38);_0xe6287e!==_0x128053&&(_0xe6287e&&_0xe6287e[_0x5179fd(0xd4)](),this[_0x5179fd(0xd1)][_0x5179fd(0xd2)](_0x291a38,_0x128053),_0x1a9edd[_0x291a38]=_0x17cc05,_0x128053[_0x5179fd(0xdb)](),_0x1a9edd[_0x5179fd(0xc8)]=!![]);}[_0x49b539(0xde)](_0x3c0561){const _0x2e33dc=_0x49b539,_0x383cb5=this[_0x2e33dc(0xca)](),_0x14832c=this[_0x2e33dc(0xd1)]['get'](_0x3c0561);_0x14832c&&(_0x14832c[_0x2e33dc(0xd4)](),this[_0x2e33dc(0xd1)][_0x2e33dc(0xcb)](_0x3c0561),_0x383cb5&&(_0x383cb5[_0x3c0561]=null,_0x383cb5[_0x2e33dc(0xc8)]=!![]));}[_0x49b539(0xce)](){const _0x4dba5d=_0x49b539;for(const _0x6f5a49 of this[_0x4dba5d(0xd1)][_0x4dba5d(0xd6)]()){_0x6f5a49[_0x4dba5d(0xd4)]();}this[_0x4dba5d(0xd1)][_0x4dba5d(0xcf)](),super[_0x4dba5d(0xce)]();}}
|
|
41
41
|
|
|
42
|
-
function
|
|
42
|
+
function _0x5f29(){var _0xadb56b=['2122530RImSzx','256300jEBEwK','12osAuSQ','661189btARPF','584mrFfSt','25893ArfImQ','512iAgGLs','140175BrybAT','1647220JREZdv','2WNswLQ','23600nVRUhE'];_0x5f29=function(){return _0xadb56b;};return _0x5f29();}(function(_0xbb1938,_0x305ed8){var _0x26a0ba=_0x397a,_0x52e603=_0xbb1938();while(!![]){try{var _0x492b83=-parseInt(_0x26a0ba(0x10c))/0x1*(-parseInt(_0x26a0ba(0x107))/0x2)+parseInt(_0x26a0ba(0x109))/0x3+parseInt(_0x26a0ba(0x102))/0x4*(-parseInt(_0x26a0ba(0x108))/0x5)+parseInt(_0x26a0ba(0x10b))/0x6*(parseInt(_0x26a0ba(0x105))/0x7)+-parseInt(_0x26a0ba(0x104))/0x8*(parseInt(_0x26a0ba(0x103))/0x9)+-parseInt(_0x26a0ba(0x106))/0xa+parseInt(_0x26a0ba(0x10a))/0xb;if(_0x492b83===_0x305ed8)break;else _0x52e603['push'](_0x52e603['shift']());}catch(_0x3ec395){_0x52e603['push'](_0x52e603['shift']());}}}(_0x5f29,0x6035f));function _0x397a(_0x39928d,_0x4aca1c){_0x39928d=_0x39928d-0x102;var _0x5f29a7=_0x5f29();var _0x397a0e=_0x5f29a7[_0x39928d];return _0x397a0e;}class TextureAssetPointer extends TAssetPointer{constructor(_0xbe5ede,_0x42701a=0x1){super(_0xbe5ede,_0x42701a);}}
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
(function(_0x3b40d5,_0x501f63){var _0x28e369=_0x5246,_0x2b41a8=_0x3b40d5();while(!![]){try{var _0x536034=parseInt(_0x28e369(0xb4))/0x1+parseInt(_0x28e369(0xb2))/0x2+parseInt(_0x28e369(0xb6))/0x3+parseInt(_0x28e369(0xb5))/0x4+parseInt(_0x28e369(0xb1))/0x5+-parseInt(_0x28e369(0xb7))/0x6+parseInt(_0x28e369(0xb3))/0x7*(-parseInt(_0x28e369(0xb0))/0x8);if(_0x536034===_0x501f63)break;else _0x2b41a8['push'](_0x2b41a8['shift']());}catch(_0x498900){_0x2b41a8['push'](_0x2b41a8['shift']());}}}(_0x3042,0xe41ac));function _0x5246(_0x1447c9,_0x1b7a64){_0x1447c9=_0x1447c9-0xb0;var _0x30427b=_0x3042();var _0x5246b6=_0x30427b[_0x1447c9];return _0x5246b6;}function _0x3042(){var _0x2da361=['126030uhnscw','2979306WTltqC','560hgpaCx','6073410lwRRPd','3286152YKISLD','401828UrDvmW','931009pMZcpL','6473480yEelPU'];_0x3042=function(){return _0x2da361;};return _0x3042();}class GeometryAssetPointer extends TAssetPointer{constructor(_0x9b7851,_0x2d69e6=0x1){super(_0x9b7851,_0x2d69e6);}}
|
|
45
45
|
|
|
46
|
-
const _0x32367a=_0x2a0e;(function(_0x2ef3ae,_0x12a151){const _0x4f790d=_0x2a0e,_0x33cfd8=_0x2ef3ae();while(!![]){try{const _0x54e43c=parseInt(_0x4f790d(0x160))/0x1+parseInt(_0x4f790d(0x148))/0x2*(-parseInt(_0x4f790d(0x122))/0x3)+parseInt(_0x4f790d(0x144))/0x4*(parseInt(_0x4f790d(0x13d))/0x5)+-parseInt(_0x4f790d(0x143))/0x6*(-parseInt(_0x4f790d(0x15f))/0x7)+-parseInt(_0x4f790d(0x163))/0x8+-parseInt(_0x4f790d(0x138))/0x9*(parseInt(_0x4f790d(0x13e))/0xa)+-parseInt(_0x4f790d(0x14b))/0xb;if(_0x54e43c===_0x12a151)break;else _0x33cfd8['push'](_0x33cfd8['shift']());}catch(_0x1d34d4){_0x33cfd8['push'](_0x33cfd8['shift']());}}}(_0x4319,0x81762));function _0x2a0e(_0x1b2747,_0xbd685a){_0x1b2747=_0x1b2747-0x115;const _0x43195c=_0x4319();let _0x2a0e0a=_0x43195c[_0x1b2747];return _0x2a0e0a;}class AssetManager{constructor(_0x54dcb5){const _0x2f2ca3=_0x2a0e;this[_0x2f2ca3(0x135)]=new Map(),this[_0x2f2ca3(0x11a)]=new Map(),this[_0x2f2ca3(0x147)]=new Map(),this[_0x2f2ca3(0x119)]=null,this[_0x2f2ca3(0x134)]=new webgpu.LoadingManager(),this[_0x2f2ca3(0x127)]=new Addons_js.GLTFLoader(this[_0x2f2ca3(0x134)]),this[_0x2f2ca3(0x12a)]=_0x54dcb5;}get[_0x32367a(0x11f)](){return this['loadingManager'];}async[_0x32367a(0x140)](){return;}[_0x32367a(0x14a)](_0x594e5e){const _0x2c7fe8=_0x32367a;if(!this[_0x2c7fe8(0x119)]){this['dracoLoader']=new Addons_js.DRACOLoader();if(this[_0x2c7fe8(0x119)][_0x2c7fe8(0x15c)]){const _0x2e0235=this['dracoLoader']['manager'];_0x2e0235['onStart']=undefined,_0x2e0235[_0x2c7fe8(0x11d)]=undefined,_0x2e0235[_0x2c7fe8(0x117)]=undefined,_0x2e0235[_0x2c7fe8(0x167)]=undefined;}this[_0x2c7fe8(0x119)][_0x2c7fe8(0x165)](_0x594e5e);const _0x2ffbd8=window[_0x2c7fe8(0x141)];if(_0x2ffbd8&&!_0x2ffbd8[_0x2c7fe8(0x124)]){_0x2ffbd8[_0x2c7fe8(0x124)]=!![],window[_0x2c7fe8(0x141)]=function(_0x1076c6,_0x1a044c){const _0xeaf432=_0x2c7fe8,_0xc9fda2=new _0x2ffbd8(_0x1076c6,_0x1a044c),_0x5cc5ee=_0xc9fda2['postMessage'][_0xeaf432(0x132)](_0xc9fda2);return _0xc9fda2[_0xeaf432(0x161)]=function(_0x566ae0,_0x5acc9e){const _0x3decfd=_0xeaf432;if(_0x566ae0&&_0x566ae0['decoderConfig']&&typeof _0x566ae0[_0x3decfd(0x153)]===_0x3decfd(0x131)){const _0x58ebb5=_0x566ae0[_0x3decfd(0x153)],_0x4cb42a={};for(const _0xc39d65 in _0x58ebb5){Object[_0x3decfd(0x166)][_0x3decfd(0x130)]['call'](_0x58ebb5,_0xc39d65)&&(_0x4cb42a[_0xc39d65]=_0x58ebb5[_0xc39d65]);}_0x566ae0=Object['assign'](Object[_0x3decfd(0x149)]({},_0x566ae0),{'decoderConfig':_0x4cb42a});}return _0x5cc5ee(_0x566ae0,_0x5acc9e);},_0xc9fda2;};for(const _0x333a2f in _0x2ffbd8){Object[_0x2c7fe8(0x166)]['hasOwnProperty'][_0x2c7fe8(0x12f)](_0x2ffbd8,_0x333a2f)&&(window[_0x2c7fe8(0x141)][_0x333a2f]=_0x2ffbd8[_0x333a2f]);}}this[_0x2c7fe8(0x119)][_0x2c7fe8(0x145)](),this['gltfLoader'][_0x2c7fe8(0x118)](this[_0x2c7fe8(0x119)]);}}['convertThreeObjectToLYObject'](_0x2d392c,_0x3b2eef){const _0x4016af=_0x32367a,_0x1cdab9=_0x3b2eef[_0x4016af(0x13c)]['clone'](),_0x9bc806=_0x3b2eef[_0x4016af(0x14f)]['clone'](),_0xd1ddf5=_0x3b2eef[_0x4016af(0x164)][_0x4016af(0x126)]();let _0x794cf4=null;const _0x44d4e5=_0x3b2eef[_0x4016af(0x121)];_0x3b2eef[_0x4016af(0x121)]=[];if(_0x3b2eef[_0x4016af(0x12c)]===_0x4016af(0x162)||_0x3b2eef[_0x4016af(0x12c)]==='Object3D')_0x794cf4=new SceneComponent(this[_0x4016af(0x12a)],_0x3b2eef['uuid']);else {if(_0x3b2eef['isInstancedMesh']){const _0x571663=_0x3b2eef;_0x794cf4=new InstanceMeshComponent(this[_0x4016af(0x12a)],_0x571663,_0x571663[_0x4016af(0x133)]),_0x794cf4[_0x4016af(0x137)]=_0x571663[_0x4016af(0x137)],_0x3b2eef[_0x4016af(0x15a)][_0x4016af(0x136)](0x0);}else {if(_0x3b2eef[_0x4016af(0x120)]){const _0x8d5088=_0x3b2eef;_0x794cf4=new MeshComponent(this[_0x4016af(0x12a)],_0x8d5088['geometry'],_0x8d5088['material'],_0x8d5088[_0x4016af(0x133)]),_0x794cf4[_0x4016af(0x137)]=_0x8d5088[_0x4016af(0x137)],_0x3b2eef[_0x4016af(0x15a)]['set'](0x0);}else _0x794cf4=new SceneComponent(this['app'],_0x3b2eef[_0x4016af(0x133)]);}}if(_0x794cf4===null)return _0x3b2eef[_0x4016af(0x121)]=_0x44d4e5,null;_0x2d392c[_0x4016af(0x123)](_0x794cf4),_0x794cf4['setPosition'](_0x1cdab9),_0x794cf4['setRotation'](_0x9bc806),_0x794cf4[_0x4016af(0x158)](_0xd1ddf5);for(const _0x3d1740 of _0x44d4e5){this['convertThreeObjectToLYObject'](_0x794cf4,_0x3d1740);}return _0x794cf4;}[_0x32367a(0x12b)](_0x45216){const _0xb5ab24=_0x32367a,_0x76589f=(_0x1c072f,_0x40ccbf)=>{const _0x21ffa7=_0x2a0e;var _0x2ed689;const _0x5dd453=(_0x2ed689=_0x1c072f[_0x21ffa7(0x13a)](_0x40ccbf))!==null&&_0x2ed689!==void 0?_0x2ed689:0x0;_0x1c072f['set'](_0x40ccbf,_0x5dd453+0x1);},_0xf7a45={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x45216[_0xb5ab24(0x11e)](_0xd29cdd=>{const _0x453530=_0xb5ab24,_0x4e5a97=_0xd29cdd;_0x4e5a97['geometry']instanceof webgpu.BufferGeometry&&_0x76589f(_0xf7a45[_0x453530(0x13f)],_0x4e5a97[_0x453530(0x146)]);if(_0x4e5a97[_0x453530(0x14c)]){const _0x39f2d2=Array[_0x453530(0x11b)](_0x4e5a97['material'])?_0x4e5a97['material']:[_0x4e5a97['material']];_0x39f2d2[_0x453530(0x13b)](_0x45c642=>{const _0x5db71e=_0x453530;_0x45c642&&(_0x76589f(_0xf7a45[_0x5db71e(0x156)],_0x45c642),Object['values'](_0x45c642)[_0x5db71e(0x13b)](_0x529b00=>{const _0x1b05b7=_0x5db71e;_0x529b00 instanceof webgpu.Texture&&_0x76589f(_0xf7a45[_0x1b05b7(0x157)],_0x529b00);}));});}}),_0xf7a45[_0xb5ab24(0x13f)]['forEach']((_0x85dc4f,_0x3c2e99)=>this[_0xb5ab24(0x125)](_0x3c2e99,_0x85dc4f)),_0xf7a45['materials']['forEach']((_0x44d401,_0x19d483)=>this['addAsset'](_0x19d483,_0x44d401)),_0xf7a45[_0xb5ab24(0x157)]['forEach']((_0x36ffaf,_0x261b81)=>this[_0xb5ab24(0x125)](_0x261b81,_0x36ffaf));}[_0x32367a(0x15e)](_0x197a5c){const _0x14b5cd=_0x32367a;_0x197a5c[_0x14b5cd(0x146)]&&!_0x197a5c[_0x14b5cd(0x146)][_0x14b5cd(0x12e)][_0x14b5cd(0x128)]&&this[_0x14b5cd(0x125)](_0x197a5c['geometry']);if(_0x197a5c[_0x14b5cd(0x14c)]){const _0x34c87a=Array[_0x14b5cd(0x11b)](_0x197a5c[_0x14b5cd(0x14c)])?_0x197a5c['material']:[_0x197a5c[_0x14b5cd(0x14c)]];_0x34c87a['forEach'](_0x39e622=>{const _0x12e8ba=_0x14b5cd;if(!_0x39e622)return;!_0x39e622[_0x12e8ba(0x12e)][_0x12e8ba(0x128)]&&this[_0x12e8ba(0x125)](_0x39e622),Object['values'](_0x39e622)[_0x12e8ba(0x13b)](_0x21a539=>{const _0x13a95b=_0x12e8ba;_0x21a539 instanceof webgpu.Texture&&!_0x21a539[_0x13a95b(0x12e)][_0x13a95b(0x128)]&&this[_0x13a95b(0x125)](_0x21a539);});});}}async[_0x32367a(0x151)](_0x46d749){const _0x1ff9e8=_0x32367a;return this[_0x1ff9e8(0x14a)](_0x1ff9e8(0x139)),await this['gltfLoader'][_0x1ff9e8(0x15d)](_0x46d749);}['loadGltfFromPath'](_0x151c4f,_0x422a8c){const _0x3fdc04=_0x32367a;this['setupDracoLoader']('/SceneResource/draco/'),this['gltfLoader'][_0x3fdc04(0x129)](_0x151c4f,_0x422a8c);}[_0x32367a(0x116)](_0x35128e,_0x36d347,_0x583141){const _0x4939c0=_0x32367a;this[_0x4939c0(0x14a)](_0x4939c0(0x139)),this[_0x4939c0(0x127)][_0x4939c0(0x11c)](_0x35128e,_0x36d347,_0x583141);}['loadFile'](_0x23d434='',_0x321eee){const _0x8868f8=new webgpu.FileLoader();_0x8868f8['load'](_0x23d434,_0x321eee);}['addAsset'](_0x402c52,_0x23a387=0x0){const _0x426096=_0x32367a;if(_0x402c52 instanceof webgpu.BufferGeometry)return this['addGeometryAsset'](_0x402c52,_0x23a387);if(_0x402c52 instanceof webgpu.Material)return this[_0x426096(0x155)](_0x402c52,_0x23a387);if(_0x402c52 instanceof webgpu.Texture)return this[_0x426096(0x115)](_0x402c52,_0x23a387);return undefined;}[_0x32367a(0x155)](_0x1ea6f3,_0x2eee32=0x0){const _0x1fae3d=_0x32367a;let _0x4970f5=_0x1ea6f3[_0x1fae3d(0x12e)][_0x1fae3d(0x128)];if(!_0x4970f5){const _0x6636ee=new Map();Object[_0x1fae3d(0x15b)](_0x1ea6f3)['forEach'](([_0x18a629,_0x3ed783])=>{const _0x425200=_0x1fae3d;if(_0x3ed783 instanceof webgpu.Texture){const _0x14a7c3=this[_0x425200(0x115)](_0x3ed783,0x1);_0x6636ee[_0x425200(0x136)](_0x18a629,_0x14a7c3);}}),_0x4970f5=new MaterialAssetPointer(_0x1ea6f3,_0x6636ee,_0x2eee32),this[_0x1fae3d(0x147)][_0x1fae3d(0x136)](_0x1ea6f3[_0x1fae3d(0x133)],_0x4970f5);}else _0x4970f5[_0x1fae3d(0x14e)](_0x2eee32);return _0x4970f5;}['addTextureAsset'](_0x2c919a,_0x24a5c0=0x0){const _0x4489c2=_0x32367a;let _0x2afa3e=_0x2c919a[_0x4489c2(0x12e)][_0x4489c2(0x128)];return !_0x2afa3e?(_0x2afa3e=new TextureAssetPointer(_0x2c919a,_0x24a5c0),this['textureAssets'][_0x4489c2(0x136)](_0x2c919a[_0x4489c2(0x133)],_0x2afa3e)):_0x2afa3e[_0x4489c2(0x14e)](_0x24a5c0),_0x2afa3e;}[_0x32367a(0x154)](_0x1491cf,_0x1d3228=0x0){const _0xeebc25=_0x32367a;let _0x3d3ca6=_0x1491cf[_0xeebc25(0x12e)][_0xeebc25(0x128)];return !_0x3d3ca6?(_0x3d3ca6=new GeometryAssetPointer(_0x1491cf,_0x1d3228),this[_0xeebc25(0x135)][_0xeebc25(0x136)](_0x1491cf[_0xeebc25(0x133)],_0x3d3ca6)):_0x3d3ca6['addRef'](_0x1d3228),_0x3d3ca6;}[_0x32367a(0x150)](_0x525496){const _0x1ccb7d=_0x32367a,_0x40e52b=_0x525496[_0x1ccb7d(0x12e)]['assetPointer'];_0x40e52b?_0x40e52b[_0x1ccb7d(0x142)]():_0x525496[_0x1ccb7d(0x14d)]();}[_0x32367a(0x12d)](){const _0x1b6644=_0x32367a;this[_0x1b6644(0x135)][_0x1b6644(0x13b)](_0x5ba9ce=>_0x5ba9ce[_0x1b6644(0x152)]()),this[_0x1b6644(0x135)]['clear'](),this['materialAssets']['forEach'](_0x275c43=>_0x275c43[_0x1b6644(0x152)]()),this[_0x1b6644(0x147)]['clear'](),this[_0x1b6644(0x11a)][_0x1b6644(0x13b)](_0x2b5a99=>_0x2b5a99[_0x1b6644(0x152)]()),this[_0x1b6644(0x11a)][_0x1b6644(0x159)]();}}function _0x4319(){const _0x351575=['clearAssets','userData','call','hasOwnProperty','object','bind','uuid','loadingManager','geometryAssets','set','name','270YHrgYi','/SceneResource/draco/','get','forEach','position','5GMdHZo','107880WiFOFA','geometries','init','Worker','release','720yojrGt','3864044ltjGHn','preload','geometry','materialAssets','63962RlcyVv','assign','setupDracoLoader','3121019qECeGJ','material','dispose','addRef','rotation','releaseAsset','loadGltfFromPathAsync','forceRelease','decoderConfig','addGeometryAsset','addMaterialAsset','materials','textures','setScale','clear','layers','entries','manager','loadAsync','checkMeshResource','11774SSRAfd','863711XznSxS','postMessage','Group','5104568CkhSLJ','scale','setDecoderPath','prototype','onError','addTextureAsset','loadGltfFromBuffer','onProgress','setDRACOLoader','dracoLoader','textureAssets','isArray','parse','onLoad','traverse','LoadingManager','isMesh','children','24tWCgoY','addChildComponent','_dracoPatched','addAsset','clone','gltfLoader','assetPointer','load','app','collectResourcesAndReferences','type'];_0x4319=function(){return _0x351575;};return _0x4319();}
|
|
46
|
+
const _0x35dd2f=_0x57be;(function(_0x1679ba,_0x3e7616){const _0x30c7e8=_0x57be,_0x104f0c=_0x1679ba();while(!![]){try{const _0x5283ec=-parseInt(_0x30c7e8(0x16d))/0x1+parseInt(_0x30c7e8(0x157))/0x2*(-parseInt(_0x30c7e8(0x137))/0x3)+-parseInt(_0x30c7e8(0x152))/0x4+-parseInt(_0x30c7e8(0x15e))/0x5+-parseInt(_0x30c7e8(0x146))/0x6+parseInt(_0x30c7e8(0x161))/0x7+parseInt(_0x30c7e8(0x13c))/0x8;if(_0x5283ec===_0x3e7616)break;else _0x104f0c['push'](_0x104f0c['shift']());}catch(_0x5de452){_0x104f0c['push'](_0x104f0c['shift']());}}}(_0x2f5b,0xaf20f));function _0x57be(_0x207c5d,_0x22fbdf){_0x207c5d=_0x207c5d-0x136;const _0x2f5bbc=_0x2f5b();let _0x57be34=_0x2f5bbc[_0x207c5d];return _0x57be34;}function _0x2f5b(){const _0x50050d=['children','loadFile','postMessage','set','onProgress','2378016GvsiWX','Group','geometryAssets','loadAsync','release','setPosition','addGeometryAsset','setDecoderPath','init','traverse','loadingManager','/SceneResource/draco/','4760048xAKTQH','loadGltfFromPathAsync','values','addTextureAsset','call','4994NmTypU','assign','materials','dracoLoader','app','parse','name','3314825UGmvTA','scale','onStart','8092175yznLUb','decoderConfig','addRef','clone','setDRACOLoader','material','type','addMaterialAsset','addAsset','setupDracoLoader','clear','checkMeshResource','790848pvrCEi','dispose','setScale','gltfLoader','hasOwnProperty','geometries','addChildComponent','textureAssets','convertThreeObjectToLYObject','isArray','userData','isMesh','get','prototype','Worker','manager','materialAssets','object','load','forceRelease','Object3D','assetPointer','layers','uuid','1383IgiqGx','entries','_dracoPatched','forEach','textures','30020640BOpRCW','position','isInstancedMesh','geometry','collectResourcesAndReferences'];_0x2f5b=function(){return _0x50050d;};return _0x2f5b();}class AssetManager{constructor(_0xd862f3){const _0x3d222d=_0x57be;this['geometryAssets']=new Map(),this['textureAssets']=new Map(),this[_0x3d222d(0x17d)]=new Map(),this[_0x3d222d(0x15a)]=null,this[_0x3d222d(0x150)]=new webgpu.LoadingManager(),this[_0x3d222d(0x170)]=new Addons_js.GLTFLoader(this[_0x3d222d(0x150)]),this[_0x3d222d(0x15b)]=_0xd862f3;}get['LoadingManager'](){const _0x3ccd23=_0x57be;return this[_0x3ccd23(0x150)];}async[_0x35dd2f(0x14e)](){return;}[_0x35dd2f(0x16a)](_0x469099){const _0x451a42=_0x35dd2f;if(!this[_0x451a42(0x15a)]){this['dracoLoader']=new Addons_js.DRACOLoader();if(this[_0x451a42(0x15a)][_0x451a42(0x17c)]){const _0x53a5da=this[_0x451a42(0x15a)][_0x451a42(0x17c)];_0x53a5da[_0x451a42(0x160)]=undefined,_0x53a5da['onLoad']=undefined,_0x53a5da[_0x451a42(0x145)]=undefined,_0x53a5da['onError']=undefined;}this[_0x451a42(0x15a)][_0x451a42(0x14d)](_0x469099);const _0x562d1a=window[_0x451a42(0x17b)];if(_0x562d1a&&!_0x562d1a['_dracoPatched']){_0x562d1a[_0x451a42(0x139)]=!![],window[_0x451a42(0x17b)]=function(_0xc067ba,_0x3d5cdf){const _0x1a5092=_0x451a42,_0x4e8061=new _0x562d1a(_0xc067ba,_0x3d5cdf),_0x2fc041=_0x4e8061[_0x1a5092(0x143)]['bind'](_0x4e8061);return _0x4e8061[_0x1a5092(0x143)]=function(_0x412f80,_0x32dcba){const _0x2d909c=_0x1a5092;if(_0x412f80&&_0x412f80[_0x2d909c(0x162)]&&typeof _0x412f80[_0x2d909c(0x162)]===_0x2d909c(0x17e)){const _0x6023c8=_0x412f80['decoderConfig'],_0xf55eeb={};for(const _0x2a98d1 in _0x6023c8){Object[_0x2d909c(0x17a)][_0x2d909c(0x171)][_0x2d909c(0x156)](_0x6023c8,_0x2a98d1)&&(_0xf55eeb[_0x2a98d1]=_0x6023c8[_0x2a98d1]);}_0x412f80=Object[_0x2d909c(0x158)](Object['assign']({},_0x412f80),{'decoderConfig':_0xf55eeb});}return _0x2fc041(_0x412f80,_0x32dcba);},_0x4e8061;};for(const _0x1e6ef9 in _0x562d1a){Object[_0x451a42(0x17a)][_0x451a42(0x171)][_0x451a42(0x156)](_0x562d1a,_0x1e6ef9)&&(window['Worker'][_0x1e6ef9]=_0x562d1a[_0x1e6ef9]);}}this['dracoLoader']['preload'](),this[_0x451a42(0x170)][_0x451a42(0x165)](this['dracoLoader']);}}[_0x35dd2f(0x175)](_0x2642dd,_0x29618c){const _0x53b103=_0x35dd2f,_0x2d0af2=_0x29618c[_0x53b103(0x13d)][_0x53b103(0x164)](),_0x28aaf5=_0x29618c['rotation'][_0x53b103(0x164)](),_0x822f22=_0x29618c[_0x53b103(0x15f)][_0x53b103(0x164)]();let _0x1662c0=null;const _0x5896f2=_0x29618c['children'];_0x29618c[_0x53b103(0x141)]=[];if(_0x29618c[_0x53b103(0x167)]===_0x53b103(0x147)||_0x29618c[_0x53b103(0x167)]===_0x53b103(0x181))_0x1662c0=new SceneComponent(this[_0x53b103(0x15b)],_0x29618c[_0x53b103(0x136)]);else {if(_0x29618c[_0x53b103(0x13e)]){const _0x4e8edc=_0x29618c;_0x1662c0=new InstanceMeshComponent(this[_0x53b103(0x15b)],_0x4e8edc,_0x4e8edc[_0x53b103(0x136)]),_0x1662c0[_0x53b103(0x15d)]=_0x4e8edc[_0x53b103(0x15d)],_0x29618c[_0x53b103(0x183)]['set'](0x0);}else {if(_0x29618c[_0x53b103(0x178)]){const _0x3a36c0=_0x29618c;_0x1662c0=new MeshComponent(this['app'],_0x3a36c0[_0x53b103(0x13f)],_0x3a36c0[_0x53b103(0x166)],_0x3a36c0[_0x53b103(0x136)]),_0x1662c0[_0x53b103(0x15d)]=_0x3a36c0[_0x53b103(0x15d)],_0x29618c[_0x53b103(0x183)][_0x53b103(0x144)](0x0);}else _0x1662c0=new SceneComponent(this[_0x53b103(0x15b)],_0x29618c[_0x53b103(0x136)]);}}if(_0x1662c0===null)return _0x29618c[_0x53b103(0x141)]=_0x5896f2,null;_0x2642dd[_0x53b103(0x173)](_0x1662c0),_0x1662c0[_0x53b103(0x14b)](_0x2d0af2),_0x1662c0['setRotation'](_0x28aaf5),_0x1662c0[_0x53b103(0x16f)](_0x822f22);for(const _0x26a7ed of _0x5896f2){this[_0x53b103(0x175)](_0x1662c0,_0x26a7ed);}return _0x1662c0;}[_0x35dd2f(0x140)](_0x4e553c){const _0x1823b8=_0x35dd2f,_0x412b8f=(_0x3ad521,_0x2ff081)=>{const _0x4d6f3d=_0x57be;var _0x578ec0;const _0x54ce87=(_0x578ec0=_0x3ad521[_0x4d6f3d(0x179)](_0x2ff081))!==null&&_0x578ec0!==void 0?_0x578ec0:0x0;_0x3ad521['set'](_0x2ff081,_0x54ce87+0x1);},_0x35d7c5={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x4e553c[_0x1823b8(0x14f)](_0x157724=>{const _0x4692d8=_0x1823b8,_0xf9e5a6=_0x157724;_0xf9e5a6['geometry']instanceof webgpu.BufferGeometry&&_0x412b8f(_0x35d7c5[_0x4692d8(0x172)],_0xf9e5a6[_0x4692d8(0x13f)]);if(_0xf9e5a6[_0x4692d8(0x166)]){const _0x4649d3=Array[_0x4692d8(0x176)](_0xf9e5a6['material'])?_0xf9e5a6[_0x4692d8(0x166)]:[_0xf9e5a6[_0x4692d8(0x166)]];_0x4649d3[_0x4692d8(0x13a)](_0xa77aef=>{const _0x3c75b0=_0x4692d8;_0xa77aef&&(_0x412b8f(_0x35d7c5[_0x3c75b0(0x159)],_0xa77aef),Object[_0x3c75b0(0x154)](_0xa77aef)['forEach'](_0x4dde5b=>{const _0x4a5805=_0x3c75b0;_0x4dde5b instanceof webgpu.Texture&&_0x412b8f(_0x35d7c5[_0x4a5805(0x13b)],_0x4dde5b);}));});}}),_0x35d7c5[_0x1823b8(0x172)]['forEach']((_0x1f015c,_0x3baa82)=>this['addAsset'](_0x3baa82,_0x1f015c)),_0x35d7c5[_0x1823b8(0x159)][_0x1823b8(0x13a)]((_0x992f7c,_0x31f580)=>this[_0x1823b8(0x169)](_0x31f580,_0x992f7c)),_0x35d7c5[_0x1823b8(0x13b)][_0x1823b8(0x13a)]((_0x28f960,_0x203bda)=>this[_0x1823b8(0x169)](_0x203bda,_0x28f960));}[_0x35dd2f(0x16c)](_0x37b40c){const _0x53c07d=_0x35dd2f;_0x37b40c['geometry']&&!_0x37b40c[_0x53c07d(0x13f)][_0x53c07d(0x177)]['assetPointer']&&this[_0x53c07d(0x169)](_0x37b40c[_0x53c07d(0x13f)]);if(_0x37b40c[_0x53c07d(0x166)]){const _0x448afe=Array[_0x53c07d(0x176)](_0x37b40c[_0x53c07d(0x166)])?_0x37b40c['material']:[_0x37b40c[_0x53c07d(0x166)]];_0x448afe[_0x53c07d(0x13a)](_0x1ba658=>{const _0x355edd=_0x53c07d;if(!_0x1ba658)return;!_0x1ba658['userData'][_0x355edd(0x182)]&&this[_0x355edd(0x169)](_0x1ba658),Object[_0x355edd(0x154)](_0x1ba658)[_0x355edd(0x13a)](_0x9c417f=>{const _0x1a7920=_0x355edd;_0x9c417f instanceof webgpu.Texture&&!_0x9c417f[_0x1a7920(0x177)][_0x1a7920(0x182)]&&this[_0x1a7920(0x169)](_0x9c417f);});});}}async[_0x35dd2f(0x153)](_0x4bccf8){const _0x5e5e66=_0x35dd2f;return this[_0x5e5e66(0x16a)](_0x5e5e66(0x151)),await this[_0x5e5e66(0x170)][_0x5e5e66(0x149)](_0x4bccf8);}['loadGltfFromPath'](_0x40737c,_0x4d0c1e){const _0x1b501b=_0x35dd2f;this[_0x1b501b(0x16a)](_0x1b501b(0x151)),this[_0x1b501b(0x170)][_0x1b501b(0x17f)](_0x40737c,_0x4d0c1e);}['loadGltfFromBuffer'](_0x4493c4,_0x5acfbe,_0x47759c){const _0x52adc9=_0x35dd2f;this['setupDracoLoader'](_0x52adc9(0x151)),this[_0x52adc9(0x170)][_0x52adc9(0x15c)](_0x4493c4,_0x5acfbe,_0x47759c);}[_0x35dd2f(0x142)](_0x460035='',_0x358319){const _0x37a3e6=new webgpu.FileLoader();_0x37a3e6['load'](_0x460035,_0x358319);}['addAsset'](_0x24c5b7,_0x38f0b4=0x0){const _0x25ce1e=_0x35dd2f;if(_0x24c5b7 instanceof webgpu.BufferGeometry)return this[_0x25ce1e(0x14c)](_0x24c5b7,_0x38f0b4);if(_0x24c5b7 instanceof webgpu.Material)return this['addMaterialAsset'](_0x24c5b7,_0x38f0b4);if(_0x24c5b7 instanceof webgpu.Texture)return this[_0x25ce1e(0x155)](_0x24c5b7,_0x38f0b4);return undefined;}[_0x35dd2f(0x168)](_0x39f24a,_0x402786=0x0){const _0x48bc4e=_0x35dd2f;let _0x5d1bd3=_0x39f24a[_0x48bc4e(0x177)][_0x48bc4e(0x182)];if(!_0x5d1bd3){const _0x2833c5=new Map();Object[_0x48bc4e(0x138)](_0x39f24a)['forEach'](([_0x4712a9,_0x390773])=>{if(_0x390773 instanceof webgpu.Texture){const _0x429184=this['addTextureAsset'](_0x390773,0x1);_0x2833c5['set'](_0x4712a9,_0x429184);}}),_0x5d1bd3=new MaterialAssetPointer(_0x39f24a,_0x2833c5,_0x402786),this[_0x48bc4e(0x17d)]['set'](_0x39f24a[_0x48bc4e(0x136)],_0x5d1bd3);}else _0x5d1bd3[_0x48bc4e(0x163)](_0x402786);return _0x5d1bd3;}[_0x35dd2f(0x155)](_0x10acc0,_0x2400b2=0x0){const _0x4b5e46=_0x35dd2f;let _0xe2f5e6=_0x10acc0[_0x4b5e46(0x177)][_0x4b5e46(0x182)];return !_0xe2f5e6?(_0xe2f5e6=new TextureAssetPointer(_0x10acc0,_0x2400b2),this[_0x4b5e46(0x174)][_0x4b5e46(0x144)](_0x10acc0[_0x4b5e46(0x136)],_0xe2f5e6)):_0xe2f5e6[_0x4b5e46(0x163)](_0x2400b2),_0xe2f5e6;}[_0x35dd2f(0x14c)](_0x5ae409,_0x5e0848=0x0){const _0x4f1a33=_0x35dd2f;let _0x177808=_0x5ae409['userData'][_0x4f1a33(0x182)];return !_0x177808?(_0x177808=new GeometryAssetPointer(_0x5ae409,_0x5e0848),this['geometryAssets'][_0x4f1a33(0x144)](_0x5ae409[_0x4f1a33(0x136)],_0x177808)):_0x177808['addRef'](_0x5e0848),_0x177808;}['releaseAsset'](_0x2dce07){const _0x21fbb2=_0x35dd2f,_0x845774=_0x2dce07[_0x21fbb2(0x177)]['assetPointer'];_0x845774?_0x845774[_0x21fbb2(0x14a)]():_0x2dce07[_0x21fbb2(0x16e)]();}['clearAssets'](){const _0x44dcd8=_0x35dd2f;this[_0x44dcd8(0x148)][_0x44dcd8(0x13a)](_0x317fd1=>_0x317fd1[_0x44dcd8(0x180)]()),this[_0x44dcd8(0x148)][_0x44dcd8(0x16b)](),this['materialAssets'][_0x44dcd8(0x13a)](_0x1c7857=>_0x1c7857['forceRelease']()),this[_0x44dcd8(0x17d)][_0x44dcd8(0x16b)](),this[_0x44dcd8(0x174)][_0x44dcd8(0x13a)](_0x139d3c=>_0x139d3c[_0x44dcd8(0x180)]()),this[_0x44dcd8(0x174)]['clear']();}}
|
|
47
47
|
|
|
48
|
-
(function(
|
|
48
|
+
(function(_0x3cacfe,_0x559a48){var _0x55ce3e=_0x24b8,_0x2200d3=_0x3cacfe();while(!![]){try{var _0x451c14=-parseInt(_0x55ce3e(0x1fe))/0x1*(-parseInt(_0x55ce3e(0x1fc))/0x2)+-parseInt(_0x55ce3e(0x1f6))/0x3*(-parseInt(_0x55ce3e(0x1f8))/0x4)+-parseInt(_0x55ce3e(0x1ef))/0x5+parseInt(_0x55ce3e(0x1e5))/0x6*(parseInt(_0x55ce3e(0x1f3))/0x7)+-parseInt(_0x55ce3e(0x200))/0x8*(parseInt(_0x55ce3e(0x202))/0x9)+parseInt(_0x55ce3e(0x1dd))/0xa+parseInt(_0x55ce3e(0x1ff))/0xb*(-parseInt(_0x55ce3e(0x1e9))/0xc);if(_0x451c14===_0x559a48)break;else _0x2200d3['push'](_0x2200d3['shift']());}catch(_0x3d92af){_0x2200d3['push'](_0x2200d3['shift']());}}}(_0x26b4,0x91750));exports.AssetCategory = void 0;(function(_0x3948a8){var _0x32d630=_0x24b8;_0x3948a8[_0x32d630(0x1f5)]=_0x32d630(0x1e4),_0x3948a8[_0x32d630(0x1e3)]='material',_0x3948a8[_0x32d630(0x1f7)]=_0x32d630(0x1ec),_0x3948a8[_0x32d630(0x1f4)]='actor',_0x3948a8[_0x32d630(0x1fd)]=_0x32d630(0x1f2),_0x3948a8['Level']=_0x32d630(0x1fb),_0x3948a8[_0x32d630(0x1df)]=_0x32d630(0x1e2),_0x3948a8[_0x32d630(0x1e7)]=_0x32d630(0x1ea),_0x3948a8[_0x32d630(0x201)]=_0x32d630(0x1f1);}(exports.AssetCategory||(exports.AssetCategory={})));function _0x24b8(_0x2ed552,_0xc74af){_0x2ed552=_0x2ed552-0x1dd;var _0x26b4ac=_0x26b4();var _0x24b8ef=_0x26b4ac[_0x2ed552];return _0x24b8ef;}exports.AssetLoadState = void 0;(function(_0xfbcae0){var _0x562a59=_0x24b8;_0xfbcae0[_0x562a59(0x1ed)]=_0x562a59(0x1fa),_0xfbcae0['Loading']=_0x562a59(0x203),_0xfbcae0[_0x562a59(0x1de)]=_0x562a59(0x1e8),_0xfbcae0[_0x562a59(0x1e0)]='error';}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;function _0x26b4(){var _0x400827=['Component','unloaded','level','6YQmJjj','ActorManager','53417nNrJUf','11UGzZES','2595776ahFkQA','Undefined','18KaAIQf','loading','7081260WRklOX','Loaded','HTML','Error','material','html','Material','geometry','1411944VVNcpW','AssetPointer','Code','loaded','11439816ukuasA','code','external','texture','Unloaded','Level','2691335YmZxST','External','undefined','actorManager','35ZGLxxy','Actor','Geometry','518493yuUmuZ','Texture','16tOvuda'];_0x26b4=function(){return _0x400827;};return _0x26b4();}(function(_0x52a654){var _0x552fe6=_0x24b8;_0x52a654['Actor']='actor',_0x52a654[_0x552fe6(0x1f9)]='component',_0x52a654[_0x552fe6(0x1e3)]=_0x552fe6(0x1e1),_0x52a654[_0x552fe6(0x1ee)]=_0x552fe6(0x1fb),_0x52a654[_0x552fe6(0x1e6)]='assetPointer',_0x52a654[_0x552fe6(0x1f0)]=_0x552fe6(0x1eb);}(exports.ReferenceType||(exports.ReferenceType={})));exports.AssetType = void 0;(function(_0x200d51){var _0x40e046=_0x24b8;_0x200d51[_0x200d51['geometry']=0x1]=_0x40e046(0x1e4),_0x200d51[_0x200d51['material']=0x2]=_0x40e046(0x1e1),_0x200d51[_0x200d51['texture']=0x3]=_0x40e046(0x1ec),_0x200d51[_0x200d51[_0x40e046(0x1f1)]=-1]=_0x40e046(0x1f1);}(exports.AssetType||(exports.AssetType={})));
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
(function(_0x3ec881,_0x4cf8f9){const _0x8defa0=_0xa4a6,_0x4a72e9=_0x3ec881();while(!![]){try{const _0x309a3e=parseInt(_0x8defa0(0x1f5))/0x1*(parseInt(_0x8defa0(0x1f1))/0x2)+parseInt(_0x8defa0(0x1fb))/0x3+-parseInt(_0x8defa0(0x1ff))/0x4+parseInt(_0x8defa0(0x1fd))/0x5*(parseInt(_0x8defa0(0x200))/0x6)+parseInt(_0x8defa0(0x1f2))/0x7+parseInt(_0x8defa0(0x1f7))/0x8+-parseInt(_0x8defa0(0x1fc))/0x9;if(_0x309a3e===_0x4cf8f9)break;else _0x4a72e9['push'](_0x4a72e9['shift']());}catch(_0x420dfb){_0x4a72e9['push'](_0x4a72e9['shift']());}}}(_0x1dce,0x98523));const DefaultPostProcessParam={'steps':[]};exports.PostProcessStepType = void 0;function _0xa4a6(_0xf46d73,_0x219baa){_0xf46d73=_0xf46d73-0x1f1;const _0x1dce3c=_0x1dce();let _0xa4a6b1=_0x1dce3c[_0xf46d73];return _0xa4a6b1;}function _0x1dce(){const _0x1ff322=['26zlOoqt','3136406GpZeSN','Outline','Bloom','58069eNBOou','LensFlare','9374192XwdcRO','ScreenSpaceReflection','Antialiasing','GroundTruthAmbientOcclusion','2712951UtDFCG','29338029LeaYOo','395AxxBeF','DepthOfField','476308rfbtOM','54966pWIeEy'];_0x1dce=function(){return _0x1ff322;};return _0x1dce();}(function(_0x5e2153){const _0x3afcc4=_0xa4a6;_0x5e2153[_0x5e2153[_0x3afcc4(0x1f4)]=0x0]='Bloom',_0x5e2153[_0x5e2153[_0x3afcc4(0x1fe)]=0x1]=_0x3afcc4(0x1fe),_0x5e2153[_0x5e2153['ScreenSpaceReflection']=0x2]=_0x3afcc4(0x1f8),_0x5e2153[_0x5e2153['GroundTruthAmbientOcclusion']=0x3]=_0x3afcc4(0x1fa),_0x5e2153[_0x5e2153[_0x3afcc4(0x1f3)]=0x4]=_0x3afcc4(0x1f3),_0x5e2153[_0x5e2153[_0x3afcc4(0x1f9)]=0x5]=_0x3afcc4(0x1f9),_0x5e2153[_0x5e2153[_0x3afcc4(0x1f6)]=0x6]=_0x3afcc4(0x1f6);}(exports.PostProcessStepType||(exports.PostProcessStepType={})));
|
|
51
51
|
|
|
52
|
-
var
|
|
52
|
+
var _0x55dca0=_0x2425;function _0x5581(){var _0x334f09=['tick','5IhSSlE','actors','worldParam','add','markRenderStateDirty','tickableActors','addActor','scene','onAddedToWorld','1902075oFaVou','levelActorClass','addTickableActor','_rootActor','rootActor','app','69804VarOug','1839988WrajSX','50184yaLpVm','rootActor\x20is\x20null','getChildActorsByIds','delete','controller','3nYIJEI','248lOJxkS','clear','154SlzlWg','getActorsByIds','init','addChildActor','24Lljfsc','destroy','rootComponent','137464HSLFxV','viewport','getChildActorById','135384kxHqpX','forEach','removeTickableActor','2837920HvNArr','threeObject','KeepRelative'];_0x5581=function(){return _0x334f09;};return _0x5581();}(function(_0x193b34,_0x3cdd9f){var _0x4155bf=_0x2425,_0x3db500=_0x193b34();while(!![]){try{var _0x222d78=-parseInt(_0x4155bf(0x14f))/0x1*(parseInt(_0x4155bf(0x145))/0x2)+parseInt(_0x4155bf(0x13b))/0x3*(-parseInt(_0x4155bf(0x135))/0x4)+parseInt(_0x4155bf(0x12e))/0x5+-parseInt(_0x4155bf(0x142))/0x6*(-parseInt(_0x4155bf(0x134))/0x7)+parseInt(_0x4155bf(0x13c))/0x8*(parseInt(_0x4155bf(0x136))/0x9)+parseInt(_0x4155bf(0x14b))/0xa+parseInt(_0x4155bf(0x13e))/0xb*(parseInt(_0x4155bf(0x148))/0xc);if(_0x222d78===_0x3cdd9f)break;else _0x3db500['push'](_0x3db500['shift']());}catch(_0x175a3b){_0x3db500['push'](_0x3db500['shift']());}}}(_0x5581,0x3874a));function _0x2425(_0x1ae15c,_0x3c20c1){_0x1ae15c=_0x1ae15c-0x128;var _0x558137=_0x5581();var _0x2425d4=_0x558137[_0x1ae15c];return _0x2425d4;}class World{get[_0x55dca0(0x12c)](){var _0x4216ea=_0x55dca0,_0x4d8961;let _0x356968=(_0x4d8961=this[_0x4216ea(0x131)])===null||_0x4d8961===void 0?void 0:_0x4d8961[_0x4216ea(0x12c)];if(!_0x356968)throw new Error('scene\x20is\x20null');return _0x356968;}get[_0x55dca0(0x146)](){var _0x38f4a9=_0x55dca0;return this[_0x38f4a9(0x133)][_0x38f4a9(0x146)];}get[_0x55dca0(0x13a)](){return this['app']['controller'];}get[_0x55dca0(0x132)](){var _0xb599=_0x55dca0;if(!this[_0xb599(0x131)])throw new Error(_0xb599(0x137));return this['_rootActor'];}constructor(_0x397e04,_0x52e257){var _0x27c03e=_0x55dca0;this[_0x27c03e(0x131)]=null,this[_0x27c03e(0x150)]=new Set(),this[_0x27c03e(0x12a)]=new Set(),this[_0x27c03e(0x133)]=_0x397e04,this[_0x27c03e(0x151)]=_0x52e257;}[_0x55dca0(0x140)](){var _0x39710e=_0x55dca0;this[_0x39710e(0x131)]=new this['worldParam'][(_0x39710e(0x12f))](this['app']);}[_0x55dca0(0x130)](_0x2c7ba0){var _0x4cfe25=_0x55dca0;this[_0x4cfe25(0x12a)][_0x4cfe25(0x128)](_0x2c7ba0);}[_0x55dca0(0x14a)](_0x3aaddb){var _0x45e8fd=_0x55dca0;this[_0x45e8fd(0x12a)][_0x45e8fd(0x139)](_0x3aaddb);}[_0x55dca0(0x14e)](_0x2616c3){var _0x1db06b=_0x55dca0;this[_0x1db06b(0x12a)][_0x1db06b(0x149)](_0x2b619e=>{var _0x2248f0=_0x1db06b;_0x2b619e[_0x2248f0(0x14e)](_0x2616c3);});}[_0x55dca0(0x143)](){var _0x406814=_0x55dca0,_0x3bf8c3;this[_0x406814(0x12a)][_0x406814(0x13d)](),this[_0x406814(0x150)]['forEach'](_0x4b7200=>{var _0x140120=_0x406814;_0x4b7200[_0x140120(0x143)]();}),this[_0x406814(0x150)][_0x406814(0x13d)](),(_0x3bf8c3=this[_0x406814(0x131)])===null||_0x3bf8c3===void 0?void 0:_0x3bf8c3['destroy'](),this['_rootActor']=null;}[_0x55dca0(0x12b)](_0x35f30d){var _0x45f54f=_0x55dca0,_0x32f1ca;if(!_0x35f30d[_0x45f54f(0x144)][_0x45f54f(0x14c)])throw new Error('actor.threeObject\x20is\x20null');_0x35f30d['removeFromParent'](),(_0x32f1ca=this[_0x45f54f(0x131)])===null||_0x32f1ca===void 0?void 0:_0x32f1ca[_0x45f54f(0x141)](_0x35f30d,exports.AttachmentRules[_0x45f54f(0x14d)]),this['actors'][_0x45f54f(0x128)](_0x35f30d),_0x35f30d[_0x45f54f(0x12d)](this),this['viewport'][_0x45f54f(0x129)]();}['removeActor'](_0x2b5043){var _0x43cf9e=_0x55dca0;_0x2b5043[_0x43cf9e(0x143)](),this[_0x43cf9e(0x150)]['delete'](_0x2b5043),this[_0x43cf9e(0x146)]['markRenderStateDirty']();}['removeActors'](_0x55921a){var _0x2ff3ec=_0x55dca0;for(const _0x523553 of _0x55921a){_0x523553[_0x2ff3ec(0x143)](),this[_0x2ff3ec(0x150)]['delete'](_0x523553);}this[_0x2ff3ec(0x146)][_0x2ff3ec(0x129)]();}['getActorById'](_0x41ad61){var _0x9a9f20=_0x55dca0;return this[_0x9a9f20(0x132)][_0x9a9f20(0x147)](_0x41ad61,!![]);}[_0x55dca0(0x13f)](_0x9977de){var _0x4bb430=_0x55dca0;return this['rootActor'][_0x4bb430(0x138)](_0x9977de,!![]);}}
|
|
53
53
|
|
|
54
|
-
function
|
|
54
|
+
function _0x1718(_0x3dbe43,_0x1fb36f){_0x3dbe43=_0x3dbe43-0x14b;const _0x5661d6=_0x5661();let _0x1718d8=_0x5661d6[_0x3dbe43];return _0x1718d8;}const _0x3f6a19=_0x1718;function _0x5661(){const _0x378142=['Bloom','6446124JSuQlm','652504IGZyWG','3391774GWPCrx','1041777TJitGN','91486mCbLrI','745404MZYMUn','28lRkxSj','3040960OpDpVC'];_0x5661=function(){return _0x378142;};return _0x5661();}(function(_0x400775,_0x3028bd){const _0x1e2747=_0x1718,_0x200240=_0x400775();while(!![]){try{const _0x5b3f72=parseInt(_0x1e2747(0x14d))/0x1+-parseInt(_0x1e2747(0x14b))/0x2+parseInt(_0x1e2747(0x14c))/0x3+parseInt(_0x1e2747(0x14e))/0x4+parseInt(_0x1e2747(0x150))/0x5+parseInt(_0x1e2747(0x152))/0x6+parseInt(_0x1e2747(0x14f))/0x7*(parseInt(_0x1e2747(0x153))/0x8);if(_0x5b3f72===_0x3028bd)break;else _0x200240['push'](_0x200240['shift']());}catch(_0x285e99){_0x200240['push'](_0x200240['shift']());}}}(_0x5661,0xe5017));const DefaultBloomParam={'type':exports.PostProcessStepType[_0x3f6a19(0x151)],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
55
55
|
|
|
56
|
-
(function(
|
|
56
|
+
function _0xa9a9(){const _0x2b6a79=['2362398JBMHlU','3952368hKjmWM','1010oGukuL','19418SoPgyj','2667088HLdWaA','84301EwkhmH','28974TyOEzB','4115700cLGQHw','58dICJXs','DepthOfField'];_0xa9a9=function(){return _0x2b6a79;};return _0xa9a9();}function _0x14e0(_0x4129d1,_0x4b81f1){_0x4129d1=_0x4129d1-0x158;const _0xa9a937=_0xa9a9();let _0x14e0b8=_0xa9a937[_0x4129d1];return _0x14e0b8;}const _0x330548=_0x14e0;(function(_0xf299fe,_0x530281){const _0xb93707=_0x14e0,_0x152ded=_0xf299fe();while(!![]){try{const _0x261443=parseInt(_0xb93707(0x159))/0x1*(parseInt(_0xb93707(0x15e))/0x2)+-parseInt(_0xb93707(0x15b))/0x3+parseInt(_0xb93707(0x15c))/0x4+-parseInt(_0xb93707(0x15d))/0x5*(parseInt(_0xb93707(0x161))/0x6)+-parseInt(_0xb93707(0x160))/0x7+parseInt(_0xb93707(0x15f))/0x8+parseInt(_0xb93707(0x158))/0x9;if(_0x261443===_0x530281)break;else _0x152ded['push'](_0x152ded['shift']());}catch(_0x3aaaa8){_0x152ded['push'](_0x152ded['shift']());}}}(_0xa9a9,0x8a695));const DefaultDOFParam={'type':exports.PostProcessStepType[_0x330548(0x15a)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
57
57
|
|
|
58
|
-
function
|
|
58
|
+
function _0xa791(){const _0x74bbe9=['1057434gLVLDt','581898EJhOmm','16WBPrVj','1058jlReRV','3535840glIGAM','8QRjbGb','1122IKTKKg','4478319CdMzJA','305590KdJBvS','1457405UFKXZJ','4875efUUDf'];_0xa791=function(){return _0x74bbe9;};return _0xa791();}(function(_0xd11deb,_0x41efe0){const _0x1f0536=_0x2445,_0x4e9ef9=_0xd11deb();while(!![]){try{const _0xf30a25=-parseInt(_0x1f0536(0xf3))/0x1+parseInt(_0x1f0536(0xeb))/0x2*(parseInt(_0x1f0536(0xf2))/0x3)+parseInt(_0x1f0536(0xea))/0x4*(-parseInt(_0x1f0536(0xf1))/0x5)+-parseInt(_0x1f0536(0xf4))/0x6+-parseInt(_0x1f0536(0xec))/0x7+-parseInt(_0x1f0536(0xed))/0x8*(parseInt(_0x1f0536(0xef))/0x9)+-parseInt(_0x1f0536(0xf0))/0xa*(-parseInt(_0x1f0536(0xee))/0xb);if(_0xf30a25===_0x41efe0)break;else _0x4e9ef9['push'](_0x4e9ef9['shift']());}catch(_0x11a54f){_0x4e9ef9['push'](_0x4e9ef9['shift']());}}}(_0xa791,0x9f917));function _0x2445(_0x1e14e8,_0x4c1130){_0x1e14e8=_0x1e14e8-0xea;const _0xa7917e=_0xa791();let _0x2445ad=_0xa7917e[_0x1e14e8];return _0x2445ad;}const DefaultGTAOParam={'type':exports.PostProcessStepType['GroundTruthAmbientOcclusion'],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
59
59
|
|
|
60
|
-
const
|
|
60
|
+
const _0x41d78a=_0x4fe4;(function(_0x235f99,_0x4baaf0){const _0x32c485=_0x4fe4,_0x56e33f=_0x235f99();while(!![]){try{const _0x32ac5d=parseInt(_0x32c485(0x10d))/0x1*(parseInt(_0x32c485(0x115))/0x2)+-parseInt(_0x32c485(0x114))/0x3*(-parseInt(_0x32c485(0x118))/0x4)+-parseInt(_0x32c485(0x111))/0x5*(-parseInt(_0x32c485(0x119))/0x6)+parseInt(_0x32c485(0x10f))/0x7*(-parseInt(_0x32c485(0x117))/0x8)+parseInt(_0x32c485(0x10e))/0x9+-parseInt(_0x32c485(0x113))/0xa+-parseInt(_0x32c485(0x112))/0xb*(parseInt(_0x32c485(0x110))/0xc);if(_0x32ac5d===_0x4baaf0)break;else _0x56e33f['push'](_0x56e33f['shift']());}catch(_0x93dae6){_0x56e33f['push'](_0x56e33f['shift']());}}}(_0x2cc0,0x4c99e));function _0x2cc0(){const _0x36c251=['23487RdhTrs','356766IpqSuB','Outline','296YcDdpm','180zsKhTX','18mcenyI','3IToxtQ','1387278BUsGtt','6132PgAZDA','804PXvlRq','131445TMuySu','29293NhSDlG','5958720nIvRSs'];_0x2cc0=function(){return _0x36c251;};return _0x2cc0();}function _0x4fe4(_0xad6c9d,_0x336a8a){_0xad6c9d=_0xad6c9d-0x10d;const _0x2cc0f2=_0x2cc0();let _0x4fe433=_0x2cc0f2[_0xad6c9d];return _0x4fe433;}const DefaultOutlineParams={'type':exports.PostProcessStepType[_0x41d78a(0x116)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
function _0x20d5(_0x4878d6,_0x2edcee){_0x4878d6=_0x4878d6-0x171;const _0x3969fc=_0x3969();let _0x20d5d0=_0x3969fc[_0x4878d6];return _0x20d5d0;}function _0x3969(){const _0x2d836a=['868696zqeYgG','743Vaeloa','10134rqzYPn','9812836LNXomj','2107yrmrWh','46233sBblKH','LensFlare','5bqqxeR','62ufacoI','1630EHRIZB','3138XMPVQv','1062980QVZkih'];_0x3969=function(){return _0x2d836a;};return _0x3969();}const _0x5a3726=_0x20d5;(function(_0xb5f86f,_0x122e18){const _0x2d7c23=_0x20d5,_0x52d3d3=_0xb5f86f();while(!![]){try{const _0x47bade=parseInt(_0x2d7c23(0x171))/0x1*(-parseInt(_0x2d7c23(0x178))/0x2)+parseInt(_0x2d7c23(0x175))/0x3+parseInt(_0x2d7c23(0x17b))/0x4*(-parseInt(_0x2d7c23(0x177))/0x5)+-parseInt(_0x2d7c23(0x17a))/0x6*(parseInt(_0x2d7c23(0x174))/0x7)+-parseInt(_0x2d7c23(0x17c))/0x8+parseInt(_0x2d7c23(0x172))/0x9*(-parseInt(_0x2d7c23(0x179))/0xa)+parseInt(_0x2d7c23(0x173))/0xb;if(_0x47bade===_0x122e18)break;else _0x52d3d3['push'](_0x52d3d3['shift']());}catch(_0xa7222e){_0x52d3d3['push'](_0x52d3d3['shift']());}}}(_0x3969,0x294c9));const DefaultLensFlareParam={'type':exports.PostProcessStepType[_0x5a3726(0x176)],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};
|
|
63
63
|
|
|
64
|
-
const _0x17b35e=_0x39f3;(function(_0x23dfbb,_0xfbe57f){const _0x151921=_0x39f3,_0x1e477f=_0x23dfbb();while(!![]){try{const _0x2a335a=parseInt(_0x151921(0x195))/0x1+parseInt(_0x151921(0x17a))/0x2*(parseInt(_0x151921(0x13a))/0x3)+parseInt(_0x151921(0x18f))/0x4*(-parseInt(_0x151921(0x17e))/0x5)+-parseInt(_0x151921(0x16e))/0x6+parseInt(_0x151921(0x16c))/0x7*(-parseInt(_0x151921(0x181))/0x8)+parseInt(_0x151921(0x131))/0x9+parseInt(_0x151921(0x163))/0xa;if(_0x2a335a===_0xfbe57f)break;else _0x1e477f['push'](_0x1e477f['shift']());}catch(_0x50edb9){_0x1e477f['push'](_0x1e477f['shift']());}}}(_0x5b7b,0xa2363));function _0x5b7b(){const _0x170148=['onDirtyCallback','outputNode','maxblur','setLUT3DTexture','setup','gtaoThickness','push','smaaEnabled','dofAperture','Outline','outlineEnabled','2308nEorMs','destroy','getTextureNode','renderer','render','buildPipeline','656609YxvKtc','has','outlineHiddenEdgeColor','outlineEdgeThickness','effectUniforms','strength','splice','div','normal','traa','bloomEnabled','type','getLUT3DTexture','postProcessParam','lensflarePass','gtaoScale','ghostSpacing','Bloom','thickness','outlineVisibleEdgeColor','9379494LcxVdU','bloomPass','mul','resolutionScale','output','outlineObjects','distanceFallOff','add','LensFlare','48orMDRe','set','setMRT','ghostTint','focusDistanceNode','bloomStrength','outlinePass','updateAllUniforms','postProcessing','ghostSamples','gtaoEnabled','downSampleRatio','edgeGlow','selectedObjects','lensflareEnabled','aperture','markDirty','bokehScaleNode','removeOutlineObject','traaPass','setOutlineObjects','outlineEdgeStrength','gtaoRadius','hiddenEdgeColor','visibleEdgeColor','method','assign','bloomThreshold','needsUpdate','dofFocus','camera','dofPass','createEffectUniforms','DepthOfField','pulsePeriod','scene','addOutlineObject','samples','radius','onBuildFinalNode','steps','8649210SdHDWV','Antialiasing','lut3dTexture','getViewZNode','threshold','useTemporalFiltering','getStepParam','focalLengthNode','depth','7bsKlaY','focus','2752686pdrsOg','distanceExponent','find','dofEnabled','outlinePulsePeriod','gtaoPass','dispose','edgeStrength','ghostAttenuationFactor','select','gtaoDistanceExponent','smaa','10186rsMoUn','GroundTruthAmbientOcclusion','dofMaxBlur','value','7370mrHlaL','scale','greaterThan','5371888TvYHzL','edgeThickness','fxaaEnabled'];_0x5b7b=function(){return _0x170148;};return _0x5b7b();}function _0x39f3(_0x43c483,_0xfbf0d){_0x43c483=_0x43c483-0x12e;const _0x5b7bac=_0x5b7b();let _0x39f345=_0x5b7bac[_0x43c483];return _0x39f345;}class PostProcessManager{constructor(_0xcb83e,_0x212488,_0x121e17,_0x3bb0e7,_0x4d0b21){const _0x11e328=_0x39f3;this[_0x11e328(0x142)]=null,this[_0x11e328(0x136)]=[],this['effectUniforms']=null,this[_0x11e328(0x140)]=null,this[_0x11e328(0x132)]=null,this[_0x11e328(0x159)]=null,this['gtaoPass']=null,this[_0x11e328(0x14d)]=null,this[_0x11e328(0x1a3)]=null,this[_0x11e328(0x165)]=null,this[_0x11e328(0x184)]=null,this[_0x11e328(0x192)]=_0xcb83e,this[_0x11e328(0x15d)]=_0x212488,this[_0x11e328(0x158)]=_0x121e17,this[_0x11e328(0x1a2)]=Object[_0x11e328(0x154)]({},_0x3bb0e7),this[_0x11e328(0x184)]=_0x4d0b21!==null&&_0x4d0b21!==void 0?_0x4d0b21:null;}get['processing'](){const _0x29caaa=_0x39f3;return this[_0x29caaa(0x142)];}['updateCamera'](_0x41a7ed){const _0x44ab4a=_0x39f3;this[_0x44ab4a(0x158)]=_0x41a7ed,(!this[_0x44ab4a(0x142)]||!this[_0x44ab4a(0x199)])&&(this['buildPipeline'](),this['updateAllUniforms'](),this[_0x44ab4a(0x14a)]());}[_0x17b35e(0x188)](){const _0x178726=_0x17b35e;(!this['postProcessing']||!this[_0x178726(0x199)])&&this[_0x178726(0x194)](),this[_0x178726(0x141)](),this[_0x178726(0x14a)]();}[_0x17b35e(0x194)](){const _0x273f58=_0x17b35e;var _0x33f9fc,_0x48ebed,_0xab1f33,_0x4da0ed,_0x2663d8;this[_0x273f58(0x142)]&&this[_0x273f58(0x142)][_0x273f58(0x174)]();this[_0x273f58(0x142)]=new webgpu.PostProcessing(this[_0x273f58(0x192)]),this[_0x273f58(0x199)]=this[_0x273f58(0x15a)]();const _0x23272d=tsl.pass(this[_0x273f58(0x15d)],this[_0x273f58(0x158)]);_0x23272d[_0x273f58(0x13c)](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x1228d0=_0x23272d[_0x273f58(0x191)](_0x273f58(0x135)),_0x4e60cf=_0x23272d[_0x273f58(0x191)](_0x273f58(0x19d)),_0x18d4b4=_0x23272d[_0x273f58(0x191)](_0x273f58(0x16b)),_0x5aeaad=_0x23272d[_0x273f58(0x191)]('velocity'),_0x1c77c3=_0x23272d[_0x273f58(0x166)](),_0x3592af=this[_0x273f58(0x199)],_0x422238=(_0x33f9fc=this[_0x273f58(0x169)](exports.PostProcessStepType[_0x273f58(0x12e)]))!==null&&_0x33f9fc!==void 0?_0x33f9fc:DefaultBloomParam;this[_0x273f58(0x132)]=BloomNode_js.bloom(_0x1228d0),this[_0x273f58(0x132)][_0x273f58(0x167)][_0x273f58(0x17d)]=_0x422238[_0x273f58(0x167)],this[_0x273f58(0x132)]['strength'][_0x273f58(0x17d)]=_0x422238[_0x273f58(0x19a)],this[_0x273f58(0x132)]['radius']['value']=_0x422238[_0x273f58(0x160)];const _0x5f2657=_0x1228d0[_0x273f58(0x138)](this[_0x273f58(0x132)][_0x273f58(0x133)](_0x3592af[_0x273f58(0x13f)])),_0x4ba045=_0x3592af['bloomEnabled'][_0x273f58(0x180)](0.5)[_0x273f58(0x177)](_0x5f2657,_0x1228d0),_0x1ff6a4=(_0x48ebed=this[_0x273f58(0x169)](exports.PostProcessStepType['LensFlare']))!==null&&_0x48ebed!==void 0?_0x48ebed:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this['bloomPass']['getTextureNode'](),{'ghostTint':tsl.vec3(_0x1ff6a4[_0x273f58(0x13d)][0x0],_0x1ff6a4[_0x273f58(0x13d)][0x1],_0x1ff6a4[_0x273f58(0x13d)][0x2]),'threshold':tsl.float(_0x1ff6a4['threshold']),'ghostSamples':tsl.float(_0x1ff6a4[_0x273f58(0x143)]),'ghostSpacing':tsl.float(_0x1ff6a4[_0x273f58(0x1a5)]),'ghostAttenuationFactor':tsl.float(_0x1ff6a4[_0x273f58(0x176)]),'downSampleRatio':_0x1ff6a4[_0x273f58(0x145)]});const _0x23129d=_0x4ba045[_0x273f58(0x138)](this[_0x273f58(0x1a3)][_0x273f58(0x191)]()),_0x4558bd=_0x3592af[_0x273f58(0x148)][_0x273f58(0x180)](0.5)[_0x273f58(0x177)](_0x23129d,_0x4ba045),_0x37eb66=(_0xab1f33=this[_0x273f58(0x169)](exports.PostProcessStepType['DepthOfField']))!==null&&_0xab1f33!==void 0?_0xab1f33:DefaultDOFParam;this[_0x273f58(0x159)]=DepthOfFieldNode_js.dof(_0x4558bd,_0x1c77c3,tsl.uniform(_0x37eb66[_0x273f58(0x16d)]),tsl.uniform(_0x37eb66[_0x273f58(0x149)]),tsl.uniform(_0x37eb66['maxblur']));const _0x2e5234=_0x3592af[_0x273f58(0x171)][_0x273f58(0x180)](0.5)[_0x273f58(0x177)](this[_0x273f58(0x159)],_0x4558bd),_0x1c0699=(_0x4da0ed=this[_0x273f58(0x169)](exports.PostProcessStepType[_0x273f58(0x17b)]))!==null&&_0x4da0ed!==void 0?_0x4da0ed:DefaultGTAOParam;this[_0x273f58(0x173)]=GTAONode_js.ao(_0x18d4b4,_0x4e60cf,this['camera']),this['gtaoPass'][_0x273f58(0x134)]=0.5,this[_0x273f58(0x173)]['distanceExponent'][_0x273f58(0x17d)]=_0x1c0699['distanceExponent'],this['gtaoPass'][_0x273f58(0x137)]['value']=_0x1c0699['distanceFallOff'],this['gtaoPass']['radius'][_0x273f58(0x17d)]=_0x1c0699[_0x273f58(0x160)],this[_0x273f58(0x173)]['scale'][_0x273f58(0x17d)]=_0x1c0699[_0x273f58(0x17f)],this['gtaoPass'][_0x273f58(0x12f)][_0x273f58(0x17d)]=_0x1c0699[_0x273f58(0x12f)],this['gtaoPass'][_0x273f58(0x15f)][_0x273f58(0x17d)]=_0x1c0699[_0x273f58(0x15f)],this[_0x273f58(0x173)][_0x273f58(0x168)]=_0x1c0699[_0x273f58(0x168)];const _0x2415bd=this[_0x273f58(0x173)][_0x273f58(0x191)](),_0x4faca4=_0x2415bd['r'],_0x2686b6=_0x2e5234[_0x273f58(0x133)](_0x4faca4),_0x4203fc=_0x3592af[_0x273f58(0x144)][_0x273f58(0x180)](0.5)[_0x273f58(0x177)](_0x2686b6,_0x2e5234),_0x52da50=(_0x2663d8=this[_0x273f58(0x169)](exports.PostProcessStepType['Outline']))!==null&&_0x2663d8!==void 0?_0x2663d8:DefaultOutlineParams;this[_0x273f58(0x140)]=OutlineNode_js.outline(this[_0x273f58(0x15d)],this[_0x273f58(0x158)],{'selectedObjects':this[_0x273f58(0x136)],'edgeGlow':tsl.uniform(_0x52da50[_0x273f58(0x146)]),'edgeThickness':tsl.uniform(_0x52da50['edgeThickness'])});const {visibleEdge:_0x6eb643,hiddenEdge:_0x4d2732}=this['outlinePass'],_0x43b554=_0x3592af[_0x273f58(0x172)][_0x273f58(0x180)](0x0)['select'](_0x3592af['outlinePulsePeriod'],tsl.uniform(0x1)),_0x203dd4=tsl.time[_0x273f58(0x19c)](_0x43b554)[_0x273f58(0x133)](0x2),_0x4148f1=tsl.oscSine(_0x203dd4)[_0x273f58(0x133)](0.5)[_0x273f58(0x138)](0.5),_0x58f5f1=_0x6eb643[_0x273f58(0x133)](_0x3592af[_0x273f58(0x130)])[_0x273f58(0x138)](_0x4d2732[_0x273f58(0x133)](_0x3592af[_0x273f58(0x197)]))['mul'](_0x3592af[_0x273f58(0x14f)]),_0x328fca=_0x3592af[_0x273f58(0x172)][_0x273f58(0x180)](0x0)[_0x273f58(0x177)](_0x58f5f1[_0x273f58(0x133)](_0x4148f1),_0x58f5f1),_0x4f0ad8=_0x328fca[_0x273f58(0x138)](_0x4203fc),_0x3b6571=_0x3592af[_0x273f58(0x18e)][_0x273f58(0x180)](0.5)[_0x273f58(0x177)](_0x4f0ad8,_0x4203fc),_0x32469f=FXAANode_js.fxaa(_0x3b6571),_0x1e2207=_0x3592af[_0x273f58(0x183)][_0x273f58(0x180)](0.5)['select'](_0x32469f,_0x3b6571),_0x1ebfff=SMAANode_js.smaa(_0x1e2207),_0x40662d=_0x3592af['smaaEnabled'][_0x273f58(0x180)](0.5)[_0x273f58(0x177)](_0x1ebfff,_0x1e2207),_0x125a4f=this[_0x273f58(0x169)](exports.PostProcessStepType[_0x273f58(0x164)]);let _0x1eb62b=_0x40662d;_0x125a4f&&_0x125a4f['method']===_0x273f58(0x19e)&&(this['traaPass']=TRAANode_js.traa(_0x40662d,_0x18d4b4,_0x5aeaad,this[_0x273f58(0x158)]),_0x1eb62b=this[_0x273f58(0x14d)][_0x273f58(0x191)]()),_0x1eb62b=this[_0x273f58(0x161)](_0x1eb62b),this[_0x273f58(0x142)][_0x273f58(0x185)]=_0x1eb62b,this[_0x273f58(0x142)][_0x273f58(0x156)]=!![];}[_0x17b35e(0x161)](_0x37891b){return _0x37891b;}['createEffectUniforms'](){const _0xfdc4e4=_0x17b35e;var _0x42d5b3,_0xece1d0,_0x1c5294,_0x393327;const _0x183872=(_0x42d5b3=this[_0xfdc4e4(0x169)](exports.PostProcessStepType[_0xfdc4e4(0x12e)]))!==null&&_0x42d5b3!==void 0?_0x42d5b3:DefaultBloomParam,_0x4f3375=(_0xece1d0=this[_0xfdc4e4(0x169)](exports.PostProcessStepType[_0xfdc4e4(0x15b)]))!==null&&_0xece1d0!==void 0?_0xece1d0:DefaultDOFParam,_0x498165=(_0x1c5294=this[_0xfdc4e4(0x169)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x1c5294!==void 0?_0x1c5294:DefaultGTAOParam,_0x59c2f5=(_0x393327=this['getStepParam'](exports.PostProcessStepType[_0xfdc4e4(0x18d)]))!==null&&_0x393327!==void 0?_0x393327:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x183872[_0xfdc4e4(0x19a)]),'bloomThreshold':tsl.uniform(_0x183872['threshold']),'bloomRadius':tsl.uniform(_0x183872[_0xfdc4e4(0x160)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x4f3375[_0xfdc4e4(0x16d)]),'dofAperture':tsl.uniform(_0x4f3375[_0xfdc4e4(0x149)]),'dofMaxBlur':tsl.uniform(_0x4f3375['maxblur']),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x498165[_0xfdc4e4(0x17f)]),'gtaoDistanceExponent':tsl.uniform(_0x498165['distanceExponent']),'gtaoDistanceFallOff':tsl.uniform(_0x498165['distanceFallOff']),'gtaoRadius':tsl.uniform(_0x498165[_0xfdc4e4(0x160)]),'gtaoThickness':tsl.uniform(_0x498165[_0xfdc4e4(0x12f)]),'gtaoSamples':tsl.uniform(_0x498165[_0xfdc4e4(0x15f)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x59c2f5[_0xfdc4e4(0x175)]),'outlineEdgeGlow':tsl.uniform(_0x59c2f5[_0xfdc4e4(0x146)]),'outlineEdgeThickness':tsl.uniform(_0x59c2f5[_0xfdc4e4(0x182)]),'outlinePulsePeriod':tsl.uniform(_0x59c2f5[_0xfdc4e4(0x15c)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x59c2f5[_0xfdc4e4(0x152)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x59c2f5['hiddenEdgeColor'])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x17b35e(0x169)](_0x51704f){const _0x276cb0=_0x17b35e;var _0x5f1b6;return (_0x5f1b6=this[_0x276cb0(0x1a2)][_0x276cb0(0x162)][_0x276cb0(0x170)](_0x3bb971=>_0x3bb971[_0x276cb0(0x1a0)]===_0x51704f))!==null&&_0x5f1b6!==void 0?_0x5f1b6:null;}['updateAllUniforms'](){const _0x1e5e93=_0x17b35e;if(!this[_0x1e5e93(0x199)])return;const _0x11c593=this[_0x1e5e93(0x199)],_0x1451d4=new Set(this['postProcessParam'][_0x1e5e93(0x162)]['map'](_0x59f688=>_0x59f688[_0x1e5e93(0x1a0)]));_0x11c593[_0x1e5e93(0x19f)][_0x1e5e93(0x17d)]=_0x1451d4[_0x1e5e93(0x196)](exports.PostProcessStepType[_0x1e5e93(0x12e)])?0x1:0x0,_0x11c593['dofEnabled']['value']=_0x1451d4[_0x1e5e93(0x196)](exports.PostProcessStepType[_0x1e5e93(0x15b)])?0x1:0x0,_0x11c593[_0x1e5e93(0x144)][_0x1e5e93(0x17d)]=_0x1451d4[_0x1e5e93(0x196)](exports.PostProcessStepType[_0x1e5e93(0x17b)])?0x1:0x0,_0x11c593[_0x1e5e93(0x18e)][_0x1e5e93(0x17d)]=_0x1451d4['has'](exports.PostProcessStepType[_0x1e5e93(0x18d)])?0x1:0x0,_0x11c593[_0x1e5e93(0x148)][_0x1e5e93(0x17d)]=_0x1451d4[_0x1e5e93(0x196)](exports.PostProcessStepType[_0x1e5e93(0x139)])?0x1:0x0;const _0x464ab4=this[_0x1e5e93(0x169)](exports.PostProcessStepType[_0x1e5e93(0x164)]);_0x464ab4?(_0x11c593[_0x1e5e93(0x183)][_0x1e5e93(0x17d)]=_0x464ab4[_0x1e5e93(0x153)]==='fxaa'?0x1:0x0,_0x11c593[_0x1e5e93(0x18b)][_0x1e5e93(0x17d)]=_0x464ab4[_0x1e5e93(0x153)]===_0x1e5e93(0x179)?0x1:0x0):(_0x11c593[_0x1e5e93(0x183)][_0x1e5e93(0x17d)]=0x0,_0x11c593[_0x1e5e93(0x18b)][_0x1e5e93(0x17d)]=0x0);const _0x258c34=this['getStepParam'](exports.PostProcessStepType[_0x1e5e93(0x12e)]);_0x258c34&&(_0x11c593['bloomStrength'][_0x1e5e93(0x17d)]=_0x258c34[_0x1e5e93(0x19a)],_0x11c593[_0x1e5e93(0x155)][_0x1e5e93(0x17d)]=_0x258c34[_0x1e5e93(0x167)],_0x11c593['bloomRadius'][_0x1e5e93(0x17d)]=_0x258c34[_0x1e5e93(0x160)],this['bloomPass']&&(this[_0x1e5e93(0x132)][_0x1e5e93(0x167)][_0x1e5e93(0x17d)]=_0x258c34[_0x1e5e93(0x167)],this['bloomPass'][_0x1e5e93(0x19a)][_0x1e5e93(0x17d)]=_0x258c34['strength'],this['bloomPass']['radius']['value']=_0x258c34[_0x1e5e93(0x160)]));const _0x5c49f2=this['getStepParam'](exports.PostProcessStepType['LensFlare']);if(_0x5c49f2&&this[_0x1e5e93(0x1a3)]);const _0x7e7b17=this[_0x1e5e93(0x169)](exports.PostProcessStepType[_0x1e5e93(0x15b)]);_0x7e7b17&&(_0x11c593[_0x1e5e93(0x157)]['value']=_0x7e7b17['focus'],_0x11c593[_0x1e5e93(0x18c)][_0x1e5e93(0x17d)]=_0x7e7b17[_0x1e5e93(0x149)],_0x11c593[_0x1e5e93(0x17c)][_0x1e5e93(0x17d)]=_0x7e7b17[_0x1e5e93(0x186)],this[_0x1e5e93(0x159)]&&(this['dofPass'][_0x1e5e93(0x13e)][_0x1e5e93(0x17d)]=_0x7e7b17[_0x1e5e93(0x16d)],this[_0x1e5e93(0x159)][_0x1e5e93(0x16a)]['value']=_0x7e7b17['aperture'],this[_0x1e5e93(0x159)][_0x1e5e93(0x14b)][_0x1e5e93(0x17d)]=_0x7e7b17['maxblur']));const _0x5aea98=this[_0x1e5e93(0x169)](exports.PostProcessStepType[_0x1e5e93(0x17b)]);_0x5aea98&&(_0x11c593[_0x1e5e93(0x1a4)][_0x1e5e93(0x17d)]=_0x5aea98[_0x1e5e93(0x17f)],_0x11c593[_0x1e5e93(0x178)][_0x1e5e93(0x17d)]=_0x5aea98[_0x1e5e93(0x16f)],_0x11c593['gtaoDistanceFallOff'][_0x1e5e93(0x17d)]=_0x5aea98[_0x1e5e93(0x137)],_0x11c593[_0x1e5e93(0x150)][_0x1e5e93(0x17d)]=_0x5aea98[_0x1e5e93(0x160)],_0x11c593[_0x1e5e93(0x189)]['value']=_0x5aea98[_0x1e5e93(0x12f)],_0x11c593['gtaoSamples'][_0x1e5e93(0x17d)]=_0x5aea98[_0x1e5e93(0x15f)],this[_0x1e5e93(0x173)]&&(this['gtaoPass']['distanceExponent'][_0x1e5e93(0x17d)]=_0x5aea98[_0x1e5e93(0x16f)],this[_0x1e5e93(0x173)][_0x1e5e93(0x137)]['value']=_0x5aea98['distanceFallOff'],this[_0x1e5e93(0x173)]['radius'][_0x1e5e93(0x17d)]=_0x5aea98[_0x1e5e93(0x160)],this[_0x1e5e93(0x173)][_0x1e5e93(0x17f)][_0x1e5e93(0x17d)]=_0x5aea98[_0x1e5e93(0x17f)],this[_0x1e5e93(0x173)]['thickness'][_0x1e5e93(0x17d)]=_0x5aea98[_0x1e5e93(0x12f)],this['gtaoPass'][_0x1e5e93(0x15f)]['value']=_0x5aea98['samples'],this[_0x1e5e93(0x173)][_0x1e5e93(0x168)]=_0x5aea98[_0x1e5e93(0x168)]));const _0x49aabe=this[_0x1e5e93(0x169)](exports.PostProcessStepType['Outline']);_0x49aabe&&(_0x11c593[_0x1e5e93(0x14f)][_0x1e5e93(0x17d)]=_0x49aabe[_0x1e5e93(0x175)],_0x11c593['outlineEdgeGlow'][_0x1e5e93(0x17d)]=_0x49aabe[_0x1e5e93(0x146)],_0x11c593[_0x1e5e93(0x198)][_0x1e5e93(0x17d)]=_0x49aabe['edgeThickness'],_0x11c593[_0x1e5e93(0x172)][_0x1e5e93(0x17d)]=_0x49aabe[_0x1e5e93(0x15c)],_0x11c593[_0x1e5e93(0x130)]['value']['set'](_0x49aabe['visibleEdgeColor']),_0x11c593['outlineHiddenEdgeColor']['value'][_0x1e5e93(0x13b)](_0x49aabe[_0x1e5e93(0x151)]),this[_0x1e5e93(0x140)]&&(this[_0x1e5e93(0x140)]['edgeGlowNode'][_0x1e5e93(0x17d)]=_0x49aabe[_0x1e5e93(0x146)],this[_0x1e5e93(0x140)]['edgeThicknessNode']['value']=_0x49aabe[_0x1e5e93(0x182)],this['outlinePass'][_0x1e5e93(0x147)]=this[_0x1e5e93(0x136)]));}['updateSteps'](_0x3c1c5c){const _0x1d6f5c=_0x17b35e;this[_0x1d6f5c(0x1a2)][_0x1d6f5c(0x162)]=_0x3c1c5c,(!this['effectUniforms']||!this['postProcessing'])&&this[_0x1d6f5c(0x194)](),this['updateAllUniforms'](),this[_0x1d6f5c(0x14a)]();}[_0x17b35e(0x15e)](_0x2595c1){const _0x164eea=_0x17b35e;!this[_0x164eea(0x136)]['includes'](_0x2595c1)&&(this['outlineObjects'][_0x164eea(0x18a)](_0x2595c1),this[_0x164eea(0x140)]&&(this[_0x164eea(0x140)][_0x164eea(0x147)]=this[_0x164eea(0x136)])),this[_0x164eea(0x14a)]();}[_0x17b35e(0x14e)](_0x2752bd){const _0x5a5c28=_0x17b35e;this[_0x5a5c28(0x136)]['length']=0x0,this[_0x5a5c28(0x136)][_0x5a5c28(0x18a)](..._0x2752bd),this[_0x5a5c28(0x140)]&&(this[_0x5a5c28(0x140)][_0x5a5c28(0x147)]=this[_0x5a5c28(0x136)]),this[_0x5a5c28(0x14a)]();}[_0x17b35e(0x14c)](_0x14d1da){const _0x254b6c=_0x17b35e,_0x354778=this[_0x254b6c(0x136)]['indexOf'](_0x14d1da);_0x354778>-1&&(this[_0x254b6c(0x136)][_0x254b6c(0x19b)](_0x354778,0x1),this[_0x254b6c(0x140)]&&(this['outlinePass'][_0x254b6c(0x147)]=this[_0x254b6c(0x136)])),this[_0x254b6c(0x14a)]();}[_0x17b35e(0x187)](_0x5a1102){const _0x12442e=_0x17b35e;this['lut3dTexture']=_0x5a1102,this[_0x12442e(0x194)](),this[_0x12442e(0x141)](),this['markDirty']();}[_0x17b35e(0x1a1)](){return this['lut3dTexture'];}[_0x17b35e(0x193)](){const _0x3303f0=_0x17b35e;if(this[_0x3303f0(0x142)])return this[_0x3303f0(0x142)][_0x3303f0(0x193)](),!![];return ![];}[_0x17b35e(0x190)](){const _0x1f6f5c=_0x17b35e;this['outlineObjects']=[],this[_0x1f6f5c(0x199)]=null,this[_0x1f6f5c(0x140)]=null,this[_0x1f6f5c(0x132)]=null,this[_0x1f6f5c(0x159)]=null,this[_0x1f6f5c(0x173)]=null,this[_0x1f6f5c(0x14d)]=null,this[_0x1f6f5c(0x1a3)]=null,this['lut3dTexture']=null,this[_0x1f6f5c(0x142)]&&(this['postProcessing']['dispose'](),this[_0x1f6f5c(0x142)]=null);}[_0x17b35e(0x14a)](){const _0xa5afb6=_0x17b35e;this[_0xa5afb6(0x184)]&&this[_0xa5afb6(0x184)]();}}
|
|
64
|
+
const _0x512bfd=_0xa380;(function(_0x47c754,_0x409228){const _0x18caa4=_0xa380,_0x450a1d=_0x47c754();while(!![]){try{const _0x488db7=parseInt(_0x18caa4(0x10d))/0x1*(-parseInt(_0x18caa4(0x15d))/0x2)+parseInt(_0x18caa4(0x10a))/0x3+parseInt(_0x18caa4(0x17a))/0x4+parseInt(_0x18caa4(0x149))/0x5*(parseInt(_0x18caa4(0x10e))/0x6)+-parseInt(_0x18caa4(0x179))/0x7+-parseInt(_0x18caa4(0x16f))/0x8+parseInt(_0x18caa4(0x13d))/0x9*(parseInt(_0x18caa4(0x12c))/0xa);if(_0x488db7===_0x409228)break;else _0x450a1d['push'](_0x450a1d['shift']());}catch(_0x553834){_0x450a1d['push'](_0x450a1d['shift']());}}}(_0x39bc,0xa0f77));function _0xa380(_0xdab438,_0x4e7a89){_0xdab438=_0xdab438-0x106;const _0x39bc90=_0x39bc();let _0xa380ac=_0x39bc90[_0xdab438];return _0xa380ac;}function _0x39bc(){const _0x4b29d3=['setMRT','dofEnabled','postProcessParam','9431360AmEwot','hiddenEdgeColor','scene','pulsePeriod','edgeGlowNode','gtaoPass','useTemporalFiltering','bloomPass','dofMaxBlur','ghostAttenuationFactor','95025wcYhsT','1705536ebIGPE','dofPass','greaterThan','onDirtyCallback','gtaoDistanceFallOff','updateAllUniforms','edgeThicknessNode','2173590iraHmD','updateSteps','outlineVisibleEdgeColor','151Oyeuap','24egtJxZ','processing','traaPass','velocity','push','bloomThreshold','lensflarePass','select','scale','splice','onBuildFinalNode','output','dofAperture','outlineEdgeGlow','edgeGlow','smaaEnabled','outlineEnabled','div','distanceExponent','has','getViewZNode','add','outlineEdgeThickness','smaa','getTextureNode','focalLengthNode','method','thickness','selectedObjects','ghostSpacing','10zDfFPC','depth','Bloom','outlinePulsePeriod','value','outlineObjects','DepthOfField','mul','threshold','type','resolutionScale','ghostSamples','gtaoThickness','outlineHiddenEdgeColor','visibleEdgeColor','lut3dTexture','aperture','9047583WRyPZp','setLUT3DTexture','samples','distanceFallOff','LensFlare','normal','focusDistanceNode','markDirty','dofFocus','assign','addOutlineObject','fxaaEnabled','712945XpwgjA','map','downSampleRatio','radius','traa','lensflareEnabled','render','outputNode','strength','ghostTint','renderer','bloomEnabled','getStepParam','edgeThickness','createEffectUniforms','gtaoSamples','camera','buildPipeline','Outline','outlinePass','11586yqPmPA','dispose','focus','set','includes','effectUniforms','edgeStrength','GroundTruthAmbientOcclusion','outlineEdgeStrength','removeOutlineObject','gtaoEnabled','postProcessing','gtaoScale','steps','maxblur'];_0x39bc=function(){return _0x4b29d3;};return _0x39bc();}class PostProcessManager{constructor(_0x204ca2,_0x29ae64,_0x3b40a5,_0x462911,_0x3b9814){const _0x2074ad=_0xa380;this[_0x2074ad(0x168)]=null,this['outlineObjects']=[],this[_0x2074ad(0x162)]=null,this['outlinePass']=null,this[_0x2074ad(0x176)]=null,this[_0x2074ad(0x17b)]=null,this['gtaoPass']=null,this[_0x2074ad(0x110)]=null,this[_0x2074ad(0x114)]=null,this[_0x2074ad(0x13b)]=null,this['onDirtyCallback']=null,this[_0x2074ad(0x153)]=_0x204ca2,this[_0x2074ad(0x171)]=_0x29ae64,this[_0x2074ad(0x159)]=_0x3b40a5,this[_0x2074ad(0x16e)]=Object[_0x2074ad(0x146)]({},_0x462911),this[_0x2074ad(0x106)]=_0x3b9814!==null&&_0x3b9814!==void 0?_0x3b9814:null;}get[_0x512bfd(0x10f)](){return this['postProcessing'];}['updateCamera'](_0x217e11){const _0x548a5c=_0x512bfd;this[_0x548a5c(0x159)]=_0x217e11,(!this[_0x548a5c(0x168)]||!this[_0x548a5c(0x162)])&&(this[_0x548a5c(0x15a)](),this[_0x548a5c(0x108)](),this['markDirty']());}['setup'](){const _0x33877e=_0x512bfd;(!this[_0x33877e(0x168)]||!this[_0x33877e(0x162)])&&this['buildPipeline'](),this[_0x33877e(0x108)](),this[_0x33877e(0x144)]();}['buildPipeline'](){const _0x5fc6b8=_0x512bfd;var _0x5af8e5,_0x326c64,_0x3c78b9,_0x131f80,_0x345ef4;this[_0x5fc6b8(0x168)]&&this[_0x5fc6b8(0x168)][_0x5fc6b8(0x15e)]();this[_0x5fc6b8(0x168)]=new webgpu.PostProcessing(this[_0x5fc6b8(0x153)]),this[_0x5fc6b8(0x162)]=this[_0x5fc6b8(0x157)]();const _0x21b976=tsl.pass(this[_0x5fc6b8(0x171)],this['camera']);_0x21b976[_0x5fc6b8(0x16c)](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x5d4f52=_0x21b976['getTextureNode'](_0x5fc6b8(0x119)),_0x399187=_0x21b976[_0x5fc6b8(0x126)](_0x5fc6b8(0x142)),_0xb4d86e=_0x21b976[_0x5fc6b8(0x126)](_0x5fc6b8(0x12d)),_0x35db9a=_0x21b976['getTextureNode'](_0x5fc6b8(0x111)),_0x254d0e=_0x21b976[_0x5fc6b8(0x122)](),_0x4a47b7=this[_0x5fc6b8(0x162)],_0x164469=(_0x5af8e5=this['getStepParam'](exports.PostProcessStepType[_0x5fc6b8(0x12e)]))!==null&&_0x5af8e5!==void 0?_0x5af8e5:DefaultBloomParam;this['bloomPass']=BloomNode_js.bloom(_0x5d4f52),this['bloomPass'][_0x5fc6b8(0x134)]['value']=_0x164469['threshold'],this[_0x5fc6b8(0x176)][_0x5fc6b8(0x151)]['value']=_0x164469[_0x5fc6b8(0x151)],this[_0x5fc6b8(0x176)][_0x5fc6b8(0x14c)][_0x5fc6b8(0x130)]=_0x164469[_0x5fc6b8(0x14c)];const _0x1108ff=_0x5d4f52[_0x5fc6b8(0x123)](this[_0x5fc6b8(0x176)][_0x5fc6b8(0x133)](_0x4a47b7['bloomStrength'])),_0xed4321=_0x4a47b7[_0x5fc6b8(0x154)][_0x5fc6b8(0x17c)](0.5)['select'](_0x1108ff,_0x5d4f52),_0x1eeddd=(_0x326c64=this[_0x5fc6b8(0x155)](exports.PostProcessStepType[_0x5fc6b8(0x141)]))!==null&&_0x326c64!==void 0?_0x326c64:DefaultLensFlareParam;this[_0x5fc6b8(0x114)]=LensflareNode_js.lensflare(this['bloomPass'][_0x5fc6b8(0x126)](),{'ghostTint':tsl.vec3(_0x1eeddd[_0x5fc6b8(0x152)][0x0],_0x1eeddd[_0x5fc6b8(0x152)][0x1],_0x1eeddd[_0x5fc6b8(0x152)][0x2]),'threshold':tsl.float(_0x1eeddd[_0x5fc6b8(0x134)]),'ghostSamples':tsl.float(_0x1eeddd[_0x5fc6b8(0x137)]),'ghostSpacing':tsl.float(_0x1eeddd[_0x5fc6b8(0x12b)]),'ghostAttenuationFactor':tsl.float(_0x1eeddd[_0x5fc6b8(0x178)]),'downSampleRatio':_0x1eeddd[_0x5fc6b8(0x14b)]});const _0xb899ea=_0xed4321['add'](this['lensflarePass']['getTextureNode']()),_0x354fc5=_0x4a47b7[_0x5fc6b8(0x14e)][_0x5fc6b8(0x17c)](0.5)['select'](_0xb899ea,_0xed4321),_0x505c2e=(_0x3c78b9=this[_0x5fc6b8(0x155)](exports.PostProcessStepType[_0x5fc6b8(0x132)]))!==null&&_0x3c78b9!==void 0?_0x3c78b9:DefaultDOFParam;this[_0x5fc6b8(0x17b)]=DepthOfFieldNode_js.dof(_0x354fc5,_0x254d0e,tsl.uniform(_0x505c2e['focus']),tsl.uniform(_0x505c2e['aperture']),tsl.uniform(_0x505c2e[_0x5fc6b8(0x16b)]));const _0x1b9a26=_0x4a47b7['dofEnabled']['greaterThan'](0.5)['select'](this[_0x5fc6b8(0x17b)],_0x354fc5),_0x1977e3=(_0x131f80=this[_0x5fc6b8(0x155)](exports.PostProcessStepType[_0x5fc6b8(0x164)]))!==null&&_0x131f80!==void 0?_0x131f80:DefaultGTAOParam;this[_0x5fc6b8(0x174)]=GTAONode_js.ao(_0xb4d86e,_0x399187,this[_0x5fc6b8(0x159)]),this['gtaoPass'][_0x5fc6b8(0x136)]=0.5,this[_0x5fc6b8(0x174)][_0x5fc6b8(0x120)][_0x5fc6b8(0x130)]=_0x1977e3[_0x5fc6b8(0x120)],this['gtaoPass'][_0x5fc6b8(0x140)][_0x5fc6b8(0x130)]=_0x1977e3[_0x5fc6b8(0x140)],this['gtaoPass'][_0x5fc6b8(0x14c)][_0x5fc6b8(0x130)]=_0x1977e3[_0x5fc6b8(0x14c)],this[_0x5fc6b8(0x174)]['scale']['value']=_0x1977e3['scale'],this['gtaoPass'][_0x5fc6b8(0x129)][_0x5fc6b8(0x130)]=_0x1977e3[_0x5fc6b8(0x129)],this[_0x5fc6b8(0x174)][_0x5fc6b8(0x13f)][_0x5fc6b8(0x130)]=_0x1977e3[_0x5fc6b8(0x13f)],this[_0x5fc6b8(0x174)][_0x5fc6b8(0x175)]=_0x1977e3[_0x5fc6b8(0x175)];const _0x26fc71=this[_0x5fc6b8(0x174)][_0x5fc6b8(0x126)](),_0x1a5b7e=_0x26fc71['r'],_0x46af6e=_0x1b9a26[_0x5fc6b8(0x133)](_0x1a5b7e),_0x32a3f0=_0x4a47b7[_0x5fc6b8(0x167)][_0x5fc6b8(0x17c)](0.5)[_0x5fc6b8(0x115)](_0x46af6e,_0x1b9a26),_0x5b193e=(_0x345ef4=this[_0x5fc6b8(0x155)](exports.PostProcessStepType[_0x5fc6b8(0x15b)]))!==null&&_0x345ef4!==void 0?_0x345ef4:DefaultOutlineParams;this['outlinePass']=OutlineNode_js.outline(this['scene'],this[_0x5fc6b8(0x159)],{'selectedObjects':this[_0x5fc6b8(0x131)],'edgeGlow':tsl.uniform(_0x5b193e[_0x5fc6b8(0x11c)]),'edgeThickness':tsl.uniform(_0x5b193e['edgeThickness'])});const {visibleEdge:_0x3245d3,hiddenEdge:_0x38a17d}=this[_0x5fc6b8(0x15c)],_0x2e98ac=_0x4a47b7[_0x5fc6b8(0x12f)][_0x5fc6b8(0x17c)](0x0)[_0x5fc6b8(0x115)](_0x4a47b7[_0x5fc6b8(0x12f)],tsl.uniform(0x1)),_0x9aca41=tsl.time[_0x5fc6b8(0x11f)](_0x2e98ac)[_0x5fc6b8(0x133)](0x2),_0x19fc9f=tsl.oscSine(_0x9aca41)['mul'](0.5)['add'](0.5),_0x11c8ec=_0x3245d3[_0x5fc6b8(0x133)](_0x4a47b7[_0x5fc6b8(0x10c)])[_0x5fc6b8(0x123)](_0x38a17d[_0x5fc6b8(0x133)](_0x4a47b7[_0x5fc6b8(0x139)]))[_0x5fc6b8(0x133)](_0x4a47b7[_0x5fc6b8(0x165)]),_0x3ebb1c=_0x4a47b7[_0x5fc6b8(0x12f)][_0x5fc6b8(0x17c)](0x0)[_0x5fc6b8(0x115)](_0x11c8ec['mul'](_0x19fc9f),_0x11c8ec),_0x195301=_0x3ebb1c['add'](_0x32a3f0),_0x12be13=_0x4a47b7[_0x5fc6b8(0x11e)][_0x5fc6b8(0x17c)](0.5)[_0x5fc6b8(0x115)](_0x195301,_0x32a3f0),_0x4dec47=FXAANode_js.fxaa(_0x12be13),_0x404a20=_0x4a47b7[_0x5fc6b8(0x148)][_0x5fc6b8(0x17c)](0.5)[_0x5fc6b8(0x115)](_0x4dec47,_0x12be13),_0x5d32f7=SMAANode_js.smaa(_0x404a20),_0x3c1515=_0x4a47b7[_0x5fc6b8(0x11d)]['greaterThan'](0.5)['select'](_0x5d32f7,_0x404a20),_0xccf071=this[_0x5fc6b8(0x155)](exports.PostProcessStepType['Antialiasing']);let _0x6ada7f=_0x3c1515;_0xccf071&&_0xccf071[_0x5fc6b8(0x128)]===_0x5fc6b8(0x14d)&&(this[_0x5fc6b8(0x110)]=TRAANode_js.traa(_0x3c1515,_0xb4d86e,_0x35db9a,this[_0x5fc6b8(0x159)]),_0x6ada7f=this[_0x5fc6b8(0x110)][_0x5fc6b8(0x126)]()),_0x6ada7f=this[_0x5fc6b8(0x118)](_0x6ada7f),this[_0x5fc6b8(0x168)][_0x5fc6b8(0x150)]=_0x6ada7f,this[_0x5fc6b8(0x168)]['needsUpdate']=!![];}[_0x512bfd(0x118)](_0x3acc1e){return _0x3acc1e;}[_0x512bfd(0x157)](){const _0x4fe6a1=_0x512bfd;var _0x27f6e4,_0x12dfe1,_0x594a8a,_0x29ffef;const _0x16e444=(_0x27f6e4=this['getStepParam'](exports.PostProcessStepType[_0x4fe6a1(0x12e)]))!==null&&_0x27f6e4!==void 0?_0x27f6e4:DefaultBloomParam,_0x513ed8=(_0x12dfe1=this[_0x4fe6a1(0x155)](exports.PostProcessStepType[_0x4fe6a1(0x132)]))!==null&&_0x12dfe1!==void 0?_0x12dfe1:DefaultDOFParam,_0x4acf85=(_0x594a8a=this['getStepParam'](exports.PostProcessStepType[_0x4fe6a1(0x164)]))!==null&&_0x594a8a!==void 0?_0x594a8a:DefaultGTAOParam,_0x247a2a=(_0x29ffef=this['getStepParam'](exports.PostProcessStepType[_0x4fe6a1(0x15b)]))!==null&&_0x29ffef!==void 0?_0x29ffef:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x16e444[_0x4fe6a1(0x151)]),'bloomThreshold':tsl.uniform(_0x16e444[_0x4fe6a1(0x134)]),'bloomRadius':tsl.uniform(_0x16e444[_0x4fe6a1(0x14c)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x513ed8[_0x4fe6a1(0x15f)]),'dofAperture':tsl.uniform(_0x513ed8[_0x4fe6a1(0x13c)]),'dofMaxBlur':tsl.uniform(_0x513ed8['maxblur']),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x4acf85[_0x4fe6a1(0x116)]),'gtaoDistanceExponent':tsl.uniform(_0x4acf85[_0x4fe6a1(0x120)]),'gtaoDistanceFallOff':tsl.uniform(_0x4acf85[_0x4fe6a1(0x140)]),'gtaoRadius':tsl.uniform(_0x4acf85[_0x4fe6a1(0x14c)]),'gtaoThickness':tsl.uniform(_0x4acf85[_0x4fe6a1(0x129)]),'gtaoSamples':tsl.uniform(_0x4acf85[_0x4fe6a1(0x13f)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x247a2a[_0x4fe6a1(0x163)]),'outlineEdgeGlow':tsl.uniform(_0x247a2a['edgeGlow']),'outlineEdgeThickness':tsl.uniform(_0x247a2a[_0x4fe6a1(0x156)]),'outlinePulsePeriod':tsl.uniform(_0x247a2a[_0x4fe6a1(0x172)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x247a2a[_0x4fe6a1(0x13a)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x247a2a[_0x4fe6a1(0x170)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x512bfd(0x155)](_0x59cb20){const _0x52c0fe=_0x512bfd;var _0x69667c;return (_0x69667c=this[_0x52c0fe(0x16e)][_0x52c0fe(0x16a)]['find'](_0xf1ad2f=>_0xf1ad2f[_0x52c0fe(0x135)]===_0x59cb20))!==null&&_0x69667c!==void 0?_0x69667c:null;}[_0x512bfd(0x108)](){const _0x400806=_0x512bfd;if(!this['effectUniforms'])return;const _0x123881=this[_0x400806(0x162)],_0x5b91d7=new Set(this[_0x400806(0x16e)][_0x400806(0x16a)][_0x400806(0x14a)](_0x6e48e4=>_0x6e48e4['type']));_0x123881[_0x400806(0x154)]['value']=_0x5b91d7['has'](exports.PostProcessStepType[_0x400806(0x12e)])?0x1:0x0,_0x123881[_0x400806(0x16d)][_0x400806(0x130)]=_0x5b91d7['has'](exports.PostProcessStepType[_0x400806(0x132)])?0x1:0x0,_0x123881[_0x400806(0x167)][_0x400806(0x130)]=_0x5b91d7[_0x400806(0x121)](exports.PostProcessStepType[_0x400806(0x164)])?0x1:0x0,_0x123881[_0x400806(0x11e)][_0x400806(0x130)]=_0x5b91d7[_0x400806(0x121)](exports.PostProcessStepType[_0x400806(0x15b)])?0x1:0x0,_0x123881[_0x400806(0x14e)][_0x400806(0x130)]=_0x5b91d7[_0x400806(0x121)](exports.PostProcessStepType[_0x400806(0x141)])?0x1:0x0;const _0x56110e=this[_0x400806(0x155)](exports.PostProcessStepType['Antialiasing']);_0x56110e?(_0x123881[_0x400806(0x148)][_0x400806(0x130)]=_0x56110e[_0x400806(0x128)]==='fxaa'?0x1:0x0,_0x123881['smaaEnabled'][_0x400806(0x130)]=_0x56110e[_0x400806(0x128)]===_0x400806(0x125)?0x1:0x0):(_0x123881[_0x400806(0x148)][_0x400806(0x130)]=0x0,_0x123881[_0x400806(0x11d)][_0x400806(0x130)]=0x0);const _0x790e83=this[_0x400806(0x155)](exports.PostProcessStepType[_0x400806(0x12e)]);_0x790e83&&(_0x123881['bloomStrength'][_0x400806(0x130)]=_0x790e83[_0x400806(0x151)],_0x123881[_0x400806(0x113)][_0x400806(0x130)]=_0x790e83['threshold'],_0x123881['bloomRadius'][_0x400806(0x130)]=_0x790e83[_0x400806(0x14c)],this[_0x400806(0x176)]&&(this[_0x400806(0x176)][_0x400806(0x134)]['value']=_0x790e83[_0x400806(0x134)],this[_0x400806(0x176)]['strength'][_0x400806(0x130)]=_0x790e83[_0x400806(0x151)],this[_0x400806(0x176)][_0x400806(0x14c)][_0x400806(0x130)]=_0x790e83['radius']));const _0x1526d3=this[_0x400806(0x155)](exports.PostProcessStepType[_0x400806(0x141)]);if(_0x1526d3&&this[_0x400806(0x114)]);const _0xfe796a=this[_0x400806(0x155)](exports.PostProcessStepType[_0x400806(0x132)]);_0xfe796a&&(_0x123881[_0x400806(0x145)][_0x400806(0x130)]=_0xfe796a[_0x400806(0x15f)],_0x123881[_0x400806(0x11a)][_0x400806(0x130)]=_0xfe796a[_0x400806(0x13c)],_0x123881[_0x400806(0x177)][_0x400806(0x130)]=_0xfe796a[_0x400806(0x16b)],this[_0x400806(0x17b)]&&(this[_0x400806(0x17b)][_0x400806(0x143)][_0x400806(0x130)]=_0xfe796a[_0x400806(0x15f)],this[_0x400806(0x17b)][_0x400806(0x127)]['value']=_0xfe796a[_0x400806(0x13c)],this[_0x400806(0x17b)]['bokehScaleNode'][_0x400806(0x130)]=_0xfe796a[_0x400806(0x16b)]));const _0x2e2ddd=this[_0x400806(0x155)](exports.PostProcessStepType[_0x400806(0x164)]);_0x2e2ddd&&(_0x123881[_0x400806(0x169)][_0x400806(0x130)]=_0x2e2ddd[_0x400806(0x116)],_0x123881['gtaoDistanceExponent'][_0x400806(0x130)]=_0x2e2ddd[_0x400806(0x120)],_0x123881[_0x400806(0x107)]['value']=_0x2e2ddd[_0x400806(0x140)],_0x123881['gtaoRadius']['value']=_0x2e2ddd[_0x400806(0x14c)],_0x123881[_0x400806(0x138)][_0x400806(0x130)]=_0x2e2ddd[_0x400806(0x129)],_0x123881[_0x400806(0x158)][_0x400806(0x130)]=_0x2e2ddd['samples'],this['gtaoPass']&&(this[_0x400806(0x174)][_0x400806(0x120)][_0x400806(0x130)]=_0x2e2ddd[_0x400806(0x120)],this['gtaoPass'][_0x400806(0x140)][_0x400806(0x130)]=_0x2e2ddd[_0x400806(0x140)],this[_0x400806(0x174)][_0x400806(0x14c)][_0x400806(0x130)]=_0x2e2ddd[_0x400806(0x14c)],this['gtaoPass'][_0x400806(0x116)][_0x400806(0x130)]=_0x2e2ddd[_0x400806(0x116)],this['gtaoPass'][_0x400806(0x129)][_0x400806(0x130)]=_0x2e2ddd[_0x400806(0x129)],this['gtaoPass'][_0x400806(0x13f)][_0x400806(0x130)]=_0x2e2ddd[_0x400806(0x13f)],this[_0x400806(0x174)]['useTemporalFiltering']=_0x2e2ddd['useTemporalFiltering']));const _0x192191=this[_0x400806(0x155)](exports.PostProcessStepType['Outline']);_0x192191&&(_0x123881['outlineEdgeStrength'][_0x400806(0x130)]=_0x192191[_0x400806(0x163)],_0x123881[_0x400806(0x11b)][_0x400806(0x130)]=_0x192191[_0x400806(0x11c)],_0x123881[_0x400806(0x124)][_0x400806(0x130)]=_0x192191['edgeThickness'],_0x123881[_0x400806(0x12f)][_0x400806(0x130)]=_0x192191[_0x400806(0x172)],_0x123881[_0x400806(0x10c)][_0x400806(0x130)][_0x400806(0x160)](_0x192191[_0x400806(0x13a)]),_0x123881['outlineHiddenEdgeColor']['value']['set'](_0x192191[_0x400806(0x170)]),this[_0x400806(0x15c)]&&(this[_0x400806(0x15c)][_0x400806(0x173)][_0x400806(0x130)]=_0x192191[_0x400806(0x11c)],this['outlinePass'][_0x400806(0x109)]['value']=_0x192191[_0x400806(0x156)],this['outlinePass']['selectedObjects']=this[_0x400806(0x131)]));}[_0x512bfd(0x10b)](_0x56206e){const _0x1c9085=_0x512bfd;this[_0x1c9085(0x16e)][_0x1c9085(0x16a)]=_0x56206e,(!this[_0x1c9085(0x162)]||!this[_0x1c9085(0x168)])&&this[_0x1c9085(0x15a)](),this[_0x1c9085(0x108)](),this[_0x1c9085(0x144)]();}[_0x512bfd(0x147)](_0x263d9f){const _0xdd149=_0x512bfd;!this[_0xdd149(0x131)][_0xdd149(0x161)](_0x263d9f)&&(this[_0xdd149(0x131)][_0xdd149(0x112)](_0x263d9f),this[_0xdd149(0x15c)]&&(this['outlinePass'][_0xdd149(0x12a)]=this[_0xdd149(0x131)])),this['markDirty']();}['setOutlineObjects'](_0x3cfc07){const _0x24a02d=_0x512bfd;this['outlineObjects']['length']=0x0,this[_0x24a02d(0x131)][_0x24a02d(0x112)](..._0x3cfc07),this[_0x24a02d(0x15c)]&&(this['outlinePass'][_0x24a02d(0x12a)]=this[_0x24a02d(0x131)]),this[_0x24a02d(0x144)]();}[_0x512bfd(0x166)](_0x1e9ed7){const _0x3290a6=_0x512bfd,_0x5ad0f2=this[_0x3290a6(0x131)]['indexOf'](_0x1e9ed7);_0x5ad0f2>-1&&(this['outlineObjects'][_0x3290a6(0x117)](_0x5ad0f2,0x1),this['outlinePass']&&(this['outlinePass'][_0x3290a6(0x12a)]=this[_0x3290a6(0x131)])),this[_0x3290a6(0x144)]();}[_0x512bfd(0x13e)](_0x4480ae){const _0x3afeba=_0x512bfd;this[_0x3afeba(0x13b)]=_0x4480ae,this[_0x3afeba(0x15a)](),this[_0x3afeba(0x108)](),this[_0x3afeba(0x144)]();}['getLUT3DTexture'](){const _0x15c3d3=_0x512bfd;return this[_0x15c3d3(0x13b)];}[_0x512bfd(0x14f)](){const _0x2fd2b1=_0x512bfd;if(this['postProcessing'])return this[_0x2fd2b1(0x168)]['render'](),!![];return ![];}['destroy'](){const _0x552666=_0x512bfd;this[_0x552666(0x131)]=[],this['effectUniforms']=null,this[_0x552666(0x15c)]=null,this[_0x552666(0x176)]=null,this[_0x552666(0x17b)]=null,this['gtaoPass']=null,this[_0x552666(0x110)]=null,this[_0x552666(0x114)]=null,this[_0x552666(0x13b)]=null,this[_0x552666(0x168)]&&(this['postProcessing'][_0x552666(0x15e)](),this[_0x552666(0x168)]=null);}[_0x512bfd(0x144)](){const _0x115c06=_0x512bfd;this['onDirtyCallback']&&this[_0x115c06(0x106)]();}}
|
|
65
65
|
|
|
66
|
-
function _0x541a(){const _0x5eaa5d=['createRenderer','renderAsImage','logarithmicDepthBuffer','setAnimationLoop','markRenderStateDirty','devicePixelRatio','3371200niVUUv','16NPANzi','createLabelRenderer','uiDom','_app','160707kpBMUY','canvas','height','shadowMapEnabled','destroyPostProcess','stencil','74583psoSeS','remove','zIndex','toDataURL','destroy','removeChild','getElementById','updatePostProcess','setup','100%','setToneMapping','labelRenderer','outputBufferType','samples','type','world','top','elementId','createUILayer','appendChild','removeOutlineObject','render','onCameraChangedDelegate','setDepth','querySelector','onAfterPostProcessRender','12LGTGOV','div','contentBoxSize','add','shadowMap','getContext','setLogarithmicDepthBufferEnabled','camera','_outerContainer','width','setShadowMapEnabled','domElement','createElement','setupPostProcess','setShadowMapType','pointerEvents','Renderer\x20is\x20not\x20initialized','scene-uiLayer','1116UwHyNO','absolute','postProcessManager','position','style','0px','forceWebGL','drawImage','app','_canvasContainer','renderer','createPostProcessManager','enabled','84458uRLUWx','App\x20is\x20not\x20initialized','shadowMapType','left','toneMapping','dispose','updateRendererSettings','none','_renderer','assign','304RxYhsa','setSize','addOutlineObject','antialias','postProcessParam','setStencil','scene-labelRenderer','resizeObserver','isRenderStateDirty','295495TCkCVU','toneMappingExposure','alpha','setClearAlpha','scene','12ijUBbc','updateCamera','setOutlineObjects','5611Rsiuir','setAlpha','2028586uCWSsx','Can\x20not\x20create\x20context','clientHeight','_uiDom','outer','onWindowResize','className','clientWidth'];_0x541a=function(){return _0x5eaa5d;};return _0x541a();}function _0x504a(_0xf9d115,_0x21eb5f){_0xf9d115=_0xf9d115-0x1e4;const _0x541a2e=_0x541a();let _0x504ac7=_0x541a2e[_0xf9d115];return _0x504ac7;}const _0x2b1050=_0x504a;(function(_0x12c980,_0x3601a9){const _0x5479cf=_0x504a,_0x2cccfb=_0x12c980();while(!![]){try{const _0x54677b=parseInt(_0x5479cf(0x233))/0x1*(-parseInt(_0x5479cf(0x244))/0x2)+-parseInt(_0x5479cf(0x248))/0x3+parseInt(_0x5479cf(0x1f9))/0x4*(-parseInt(_0x5479cf(0x22b))/0x5)+parseInt(_0x5479cf(0x230))/0x6*(-parseInt(_0x5479cf(0x235))/0x7)+-parseInt(_0x5479cf(0x222))/0x8*(-parseInt(_0x5479cf(0x24e))/0x9)+parseInt(_0x5479cf(0x243))/0xa+parseInt(_0x5479cf(0x218))/0xb*(parseInt(_0x5479cf(0x20b))/0xc);if(_0x54677b===_0x3601a9)break;else _0x2cccfb['push'](_0x2cccfb['shift']());}catch(_0x4e60a5){_0x2cccfb['push'](_0x2cccfb['shift']());}}}(_0x541a,0x7cb0a));class Viewport{get[_0x2b1050(0x246)](){const _0x2d7095=_0x2b1050;return this[_0x2d7095(0x238)];}get[_0x2b1050(0x249)](){return this['_canvasContainer'];}get[_0x2b1050(0x239)](){return this['_outerContainer'];}get[_0x2b1050(0x215)](){const _0x5df654=_0x2b1050;if(!this[_0x5df654(0x220)])throw Error(_0x5df654(0x209));return this[_0x5df654(0x220)];}get[_0x2b1050(0x213)](){const _0x301f09=_0x2b1050;if(!this[_0x301f09(0x247)])throw Error(_0x301f09(0x219));return this[_0x301f09(0x247)];}constructor(_0x120941,_0x30ca24,_0x307278,_0x250907){const _0x56d596=_0x2b1050;this[_0x56d596(0x238)]=null,this[_0x56d596(0x220)]=null,this[_0x56d596(0x1ea)]=null,this[_0x56d596(0x247)]=null,this[_0x56d596(0x229)]=null,this[_0x56d596(0x201)]=null,this[_0x56d596(0x214)]=null,this[_0x56d596(0x22a)]=!![],this[_0x56d596(0x20d)]=null,this[_0x56d596(0x226)]=Object[_0x56d596(0x221)]({},_0x250907),this[_0x56d596(0x247)]=_0x120941,_0x30ca24['elementId']&&(this[_0x56d596(0x201)]=document[_0x56d596(0x1e5)](_0x30ca24[_0x56d596(0x1f0)])),this[_0x56d596(0x23d)](_0x307278),_0x30ca24['isLabelRendererNeeded']&&this[_0x56d596(0x245)](),_0x30ca24['isUILayerNeeded']&&this[_0x56d596(0x1f1)](),this[_0x56d596(0x201)]&&(this[_0x56d596(0x229)]=new ResizeObserver(_0x5841ec=>{const _0x50186d=_0x56d596;for(let _0x324b47 of _0x5841ec){_0x324b47[_0x50186d(0x1fb)]&&this[_0x50186d(0x23a)]();}}),this['resizeObserver']['observe'](this[_0x56d596(0x201)])),this[_0x56d596(0x213)][_0x56d596(0x1f5)][_0x56d596(0x1fc)](()=>{const _0x4b90ec=_0x56d596;this[_0x4b90ec(0x20d)]&&(this[_0x4b90ec(0x20d)][_0x4b90ec(0x231)](this[_0x4b90ec(0x213)][_0x4b90ec(0x200)]),this[_0x4b90ec(0x20d)][_0x4b90ec(0x1e7)]());});}[_0x2b1050(0x23d)](_0x25b9e1){const _0x125e2c=_0x2b1050;this['_outerContainer']&&!this[_0x125e2c(0x214)]&&(this[_0x125e2c(0x214)]=document[_0x125e2c(0x205)]('div'),this[_0x125e2c(0x214)]['style'][_0x125e2c(0x21b)]=_0x125e2c(0x210),this[_0x125e2c(0x214)][_0x125e2c(0x20f)][_0x125e2c(0x1ef)]=_0x125e2c(0x210),this[_0x125e2c(0x214)][_0x125e2c(0x20f)][_0x125e2c(0x202)]=_0x125e2c(0x1e8),this[_0x125e2c(0x214)][_0x125e2c(0x20f)]['height']=_0x125e2c(0x1e8),this[_0x125e2c(0x201)][_0x125e2c(0x1f2)](this['_canvasContainer']));const _0xb83d43=this[_0x125e2c(0x214)];this[_0x125e2c(0x220)]&&(_0xb83d43&&_0xb83d43[_0x125e2c(0x1e4)](this['_renderer'][_0x125e2c(0x204)]),this['_renderer']['dispose']());let _0x5eccaf=_0xb83d43?_0xb83d43[_0x125e2c(0x23c)]:0x200,_0x35fe8d=_0xb83d43?_0xb83d43[_0x125e2c(0x237)]:0x200,_0xbaaf7d={};_0xbaaf7d[_0x125e2c(0x211)]=_0x25b9e1['forceWebGL'],_0xbaaf7d[_0x125e2c(0x225)]=_0x25b9e1[_0x125e2c(0x225)],_0xbaaf7d['depth']=_0x25b9e1['depth'],_0xbaaf7d['stencil']=_0x25b9e1['stencil'],_0xbaaf7d[_0x125e2c(0x22d)]=_0x25b9e1[_0x125e2c(0x22d)],_0xbaaf7d['logarithmicDepthBuffer']=_0x25b9e1[_0x125e2c(0x23f)],_0xbaaf7d['samples']=_0x25b9e1[_0x125e2c(0x1ec)],_0xbaaf7d[_0x125e2c(0x1eb)]=_0x25b9e1[_0x125e2c(0x1eb)],this[_0x125e2c(0x220)]=new webgpu.WebGPURenderer(_0xbaaf7d),this[_0x125e2c(0x220)]['setPixelRatio'](window[_0x125e2c(0x242)]),this[_0x125e2c(0x220)][_0x125e2c(0x223)](_0x5eccaf,_0x35fe8d),this[_0x125e2c(0x220)][_0x125e2c(0x1fd)][_0x125e2c(0x217)]=_0x25b9e1[_0x125e2c(0x24b)],this['_renderer'][_0x125e2c(0x1fd)][_0x125e2c(0x1ed)]=_0x25b9e1[_0x125e2c(0x21a)],this[_0x125e2c(0x220)][_0x125e2c(0x21c)]=_0x25b9e1[_0x125e2c(0x21c)],this[_0x125e2c(0x220)][_0x125e2c(0x22c)]=_0x25b9e1['toneMappingExposure'],this[_0x125e2c(0x220)][_0x125e2c(0x22e)](0x0),_0xb83d43&&_0xb83d43['appendChild'](this[_0x125e2c(0x220)][_0x125e2c(0x204)]);}[_0x2b1050(0x245)](){const _0x18dd35=_0x2b1050,_0x2a4bf7=this[_0x18dd35(0x201)];this[_0x18dd35(0x1ea)]&&(_0x2a4bf7&&_0x2a4bf7[_0x18dd35(0x1e4)](this[_0x18dd35(0x1ea)]['domElement']));let _0x436404=_0x2a4bf7?_0x2a4bf7[_0x18dd35(0x23c)]:0x200,_0x480241=_0x2a4bf7?_0x2a4bf7['clientHeight']:0x200;this[_0x18dd35(0x1ea)]=new Addons_js.CSS2DRenderer(),this[_0x18dd35(0x1ea)][_0x18dd35(0x223)](_0x436404,_0x480241),this[_0x18dd35(0x1ea)][_0x18dd35(0x204)][_0x18dd35(0x20f)][_0x18dd35(0x208)]=_0x18dd35(0x21f),this[_0x18dd35(0x1ea)][_0x18dd35(0x204)][_0x18dd35(0x20f)][_0x18dd35(0x20e)]=_0x18dd35(0x20c),this[_0x18dd35(0x1ea)][_0x18dd35(0x204)]['style'][_0x18dd35(0x1ef)]=_0x18dd35(0x210),this['labelRenderer'][_0x18dd35(0x204)][_0x18dd35(0x23b)]=_0x18dd35(0x228),_0x2a4bf7&&_0x2a4bf7[_0x18dd35(0x1f2)](this[_0x18dd35(0x1ea)][_0x18dd35(0x204)]);}['createUILayer'](){const _0x3d391b=_0x2b1050;if(!this[_0x3d391b(0x201)])return;let _0x3de615=this[_0x3d391b(0x201)][_0x3d391b(0x1f7)]('.scene-uiLayer');!_0x3de615&&(_0x3de615=document[_0x3d391b(0x205)](_0x3d391b(0x1fa)),_0x3de615[_0x3d391b(0x23b)]=_0x3d391b(0x20a),_0x3de615['id']=_0x3d391b(0x20a),_0x3de615[_0x3d391b(0x20f)]['position']=_0x3d391b(0x20c),_0x3de615[_0x3d391b(0x20f)][_0x3d391b(0x21b)]='0',_0x3de615['style'][_0x3d391b(0x1ef)]='0',_0x3de615[_0x3d391b(0x20f)]['width']=_0x3d391b(0x1e8),_0x3de615[_0x3d391b(0x20f)][_0x3d391b(0x24a)]=_0x3d391b(0x1e8),_0x3de615[_0x3d391b(0x20f)][_0x3d391b(0x208)]=_0x3d391b(0x21f),_0x3de615[_0x3d391b(0x20f)][_0x3d391b(0x250)]='10',this[_0x3d391b(0x201)]['appendChild'](_0x3de615),this['_uiDom']=_0x3de615);}['init'](){this['setupPostProcess']();}[_0x2b1050(0x206)](){const _0x466c97=_0x2b1050;!this[_0x466c97(0x20d)]&&(this[_0x466c97(0x20d)]=this[_0x466c97(0x216)]()),this['postProcessManager']['setup']();}[_0x2b1050(0x216)](){const _0x2916c5=_0x2b1050;return new PostProcessManager(this[_0x2916c5(0x215)],this[_0x2916c5(0x213)][_0x2916c5(0x1ee)]['scene'],this['app'][_0x2916c5(0x200)],this[_0x2916c5(0x226)],()=>this[_0x2916c5(0x241)]());}[_0x2b1050(0x1e6)](_0x33d531){const _0x2588dc=_0x2b1050;this[_0x2588dc(0x20d)]&&this[_0x2588dc(0x20d)]['updateSteps'](_0x33d531);}[_0x2b1050(0x21e)](_0x3bcc1b){const _0xb30edb=_0x2b1050;this[_0xb30edb(0x23d)](_0x3bcc1b),this[_0xb30edb(0x241)]();}[_0x2b1050(0x224)](_0x5cb31c){const _0x50769e=_0x2b1050;this['postProcessManager']&&this['postProcessManager'][_0x50769e(0x224)](_0x5cb31c);}['setOutlineObjects'](_0x1d5137){const _0x4a0fa5=_0x2b1050;this[_0x4a0fa5(0x20d)]&&this[_0x4a0fa5(0x20d)][_0x4a0fa5(0x232)](_0x1d5137);}[_0x2b1050(0x1f3)](_0xf2e42){const _0x306d09=_0x2b1050;this[_0x306d09(0x20d)]&&this[_0x306d09(0x20d)][_0x306d09(0x1f3)](_0xf2e42);}['destroyPostProcess'](){const _0x11920a=_0x2b1050;this['postProcessManager']&&(this['postProcessManager'][_0x11920a(0x252)](),this['postProcessManager']=null);}['onWindowResize'](){const _0x2439a4=_0x2b1050;let _0x447386=this[_0x2439a4(0x201)];if(!_0x447386)return;this['app']['onWindowResize'](_0x447386[_0x2439a4(0x23c)],_0x447386[_0x2439a4(0x237)]),this[_0x2439a4(0x215)][_0x2439a4(0x223)](_0x447386['clientWidth'],_0x447386[_0x2439a4(0x237)]);if(this[_0x2439a4(0x1ea)])this[_0x2439a4(0x1ea)][_0x2439a4(0x223)](_0x447386[_0x2439a4(0x23c)],_0x447386[_0x2439a4(0x237)]);this[_0x2439a4(0x241)]();}[_0x2b1050(0x241)](){const _0x465c59=_0x2b1050;this[_0x465c59(0x22a)]=!![];}[_0x2b1050(0x1f4)](){const _0x238e0d=_0x2b1050;if(!this[_0x238e0d(0x22a)])return;if(this['postProcessManager']&&this[_0x238e0d(0x20d)][_0x238e0d(0x1f4)]());else this[_0x238e0d(0x215)][_0x238e0d(0x1f4)](this[_0x238e0d(0x213)][_0x238e0d(0x1ee)][_0x238e0d(0x22f)],this[_0x238e0d(0x213)][_0x238e0d(0x200)]);this[_0x238e0d(0x1f8)](),this[_0x238e0d(0x1ea)]&&this[_0x238e0d(0x1ea)][_0x238e0d(0x1f4)](this['app'][_0x238e0d(0x1ee)]['scene'],this['app'][_0x238e0d(0x200)]),this[_0x238e0d(0x22a)]=![];}[_0x2b1050(0x1f8)](){}async[_0x2b1050(0x23e)](_0x32d6e3=0x400,_0x45ba31=0x400){const _0x2082a8=_0x2b1050;try{if(this['postProcessManager']&&this[_0x2082a8(0x20d)][_0x2082a8(0x1f4)]()){}else await this[_0x2082a8(0x215)][_0x2082a8(0x1f4)](this['app'][_0x2082a8(0x1ee)]['scene'],this[_0x2082a8(0x213)][_0x2082a8(0x200)]);const _0x2cfb2a=this[_0x2082a8(0x215)][_0x2082a8(0x204)][_0x2082a8(0x202)],_0x52fea7=this['renderer']['domElement'][_0x2082a8(0x24a)];let _0x3e18be=_0x2cfb2a||_0x32d6e3,_0x4401d5=_0x52fea7||_0x45ba31;(_0x3e18be<=0x0||_0x4401d5<=0x0)&&(_0x3e18be=_0x32d6e3,_0x4401d5=_0x45ba31);const _0x4361c3=document['createElement'](_0x2082a8(0x249));_0x4361c3['width']=_0x32d6e3,_0x4361c3['height']=_0x45ba31;const _0x4988c2=_0x4361c3[_0x2082a8(0x1fe)]('2d');if(!_0x4988c2)throw Error(_0x2082a8(0x236));_0x4988c2[_0x2082a8(0x212)](this[_0x2082a8(0x215)][_0x2082a8(0x204)],0x0,0x0,_0x3e18be,_0x4401d5,0x0,0x0,_0x32d6e3,_0x45ba31);const _0x53b242=_0x4361c3[_0x2082a8(0x251)]('image/jpeg');return _0x4361c3[_0x2082a8(0x24f)](),_0x53b242;}catch(_0x1de1d9){return '';}}[_0x2b1050(0x234)](_0x538f62){const _0x19a5a0=_0x2b1050;if(!this[_0x19a5a0(0x220)])return;this[_0x19a5a0(0x220)][_0x19a5a0(0x22d)]=_0x538f62;}[_0x2b1050(0x203)](_0x291971){const _0x2c6e06=_0x2b1050;if(!this['_renderer'])return;this['_renderer'][_0x2c6e06(0x1fd)]['enabled']=_0x291971;}[_0x2b1050(0x207)](_0x483356){const _0x2d01df=_0x2b1050;if(!this[_0x2d01df(0x220)])return;this[_0x2d01df(0x220)][_0x2d01df(0x1fd)]['type']=_0x483356;}[_0x2b1050(0x1e9)](_0x174def){const _0x2c5c0c=_0x2b1050;if(!this[_0x2c5c0c(0x220)])return;this['_renderer'][_0x2c5c0c(0x21c)]=_0x174def;}['setToneMappingExposure'](_0x402c9c){const _0x5c56d9=_0x2b1050;if(!this['_renderer'])return;this[_0x5c56d9(0x220)][_0x5c56d9(0x22c)]=_0x402c9c;}[_0x2b1050(0x1ff)](_0x587fb0){const _0x3ad3c4=_0x2b1050;if(!this[_0x3ad3c4(0x220)])return;this['_renderer'][_0x3ad3c4(0x23f)]=_0x587fb0;}[_0x2b1050(0x1f6)](_0x40a8a4){const _0x4e4891=_0x2b1050;if(!this[_0x4e4891(0x220)])return;this[_0x4e4891(0x220)]['depth']=_0x40a8a4;}[_0x2b1050(0x227)](_0x584e81){const _0x2dec66=_0x2b1050;if(!this[_0x2dec66(0x220)])return;this[_0x2dec66(0x220)][_0x2dec66(0x24d)]=_0x584e81;}['destroy'](){const _0x4d2a1d=_0x2b1050;this[_0x4d2a1d(0x24c)](),this[_0x4d2a1d(0x215)][_0x4d2a1d(0x240)](null),this['resizeObserver']&&(this[_0x4d2a1d(0x229)]['disconnect'](),this[_0x4d2a1d(0x229)]=null),this[_0x4d2a1d(0x1ea)]&&(this['labelRenderer'][_0x4d2a1d(0x204)][_0x4d2a1d(0x24f)](),this['labelRenderer']=null),this[_0x4d2a1d(0x220)]&&(this[_0x4d2a1d(0x215)][_0x4d2a1d(0x204)][_0x4d2a1d(0x24f)](),this['_renderer'][_0x4d2a1d(0x21d)](),this[_0x4d2a1d(0x220)]=null),this[_0x4d2a1d(0x214)]&&(this[_0x4d2a1d(0x214)]['remove'](),this[_0x4d2a1d(0x214)]=null),this[_0x4d2a1d(0x201)]=null,this[_0x4d2a1d(0x247)]=null;}}
|
|
66
|
+
const _0x38870b=_0x36df;function _0x2730(){const _0x132358=['Can\x20not\x20create\x20context','2435520QHVxCO','logarithmicDepthBuffer','labelRenderer','clientWidth','elementId','_outerContainer','renderer','outputBufferType','forceWebGL','stencil','2647083uHnMfI','init','left','3274554VuqUyu','none','camera','437768ZTKWmF','position','setShadowMapEnabled','world','destroyPostProcess','width','updateCamera','absolute','dispose','render','height','canvas','shadowMapEnabled','6062881HgUoBL','drawImage','removeOutlineObject','postProcessParam','pointerEvents','createElement','addOutlineObject','22340NkjaLp','disconnect','add','destroy','querySelector','createUILayer','postProcessManager','shadowMap','zIndex','_renderer','antialias','createRenderer','setShadowMapType','_canvasContainer','createLabelRenderer','renderAsImage','depth','onAfterPostProcessRender','toneMapping','observe','appendChild','shadowMapType','100%','onWindowResize','setSize','scene-uiLayer','enabled','setupPostProcess','getElementById','remove','setDepth','setStencil','setLogarithmicDepthBufferEnabled','updateRendererSettings','49inHIbk','contentBoxSize','89fmITbs','toneMappingExposure','type','assign','samples','uiDom','markRenderStateDirty','setPixelRatio','removeChild','scene-labelRenderer','outer','toDataURL','setAnimationLoop','style','_app','setOutlineObjects','app','className','div','domElement','getContext','onCameraChangedDelegate','top','createPostProcessManager','resizeObserver','scene','image/jpeg','5718195JxBJfS','.scene-uiLayer','40gKMDSH','isLabelRendererNeeded','5eYyCrQ','0px','setToneMappingExposure','alpha','isRenderStateDirty','_uiDom','clientHeight'];_0x2730=function(){return _0x132358;};return _0x2730();}(function(_0x27bcaa,_0x548273){const _0x477aeb=_0x36df,_0x5411ab=_0x27bcaa();while(!![]){try{const _0xbba42b=parseInt(_0x477aeb(0xdd))/0x1*(-parseInt(_0x477aeb(0xb9))/0x2)+-parseInt(_0x477aeb(0x9f))/0x3+-parseInt(_0x477aeb(0x104))/0x4+parseInt(_0x477aeb(0xfc))/0x5*(parseInt(_0x477aeb(0xa2))/0x6)+-parseInt(_0x477aeb(0xdb))/0x7*(parseInt(_0x477aeb(0xa5))/0x8)+parseInt(_0x477aeb(0xf8))/0x9+-parseInt(_0x477aeb(0xfa))/0xa*(-parseInt(_0x477aeb(0xb2))/0xb);if(_0xbba42b===_0x548273)break;else _0x5411ab['push'](_0x5411ab['shift']());}catch(_0x5a791a){_0x5411ab['push'](_0x5411ab['shift']());}}}(_0x2730,0x7e504));function _0x36df(_0x10a8e9,_0x1696fc){_0x10a8e9=_0x10a8e9-0x9b;const _0x27303f=_0x2730();let _0x36df85=_0x27303f[_0x10a8e9];return _0x36df85;}class Viewport{get[_0x38870b(0xe2)](){const _0x44d1fd=_0x38870b;return this[_0x44d1fd(0x101)];}get['canvas'](){return this['_canvasContainer'];}get[_0x38870b(0xe7)](){const _0x5de9a8=_0x38870b;return this[_0x5de9a8(0x109)];}get['renderer'](){const _0x54d8d6=_0x38870b;if(!this['_renderer'])throw Error('Renderer\x20is\x20not\x20initialized');return this[_0x54d8d6(0xc2)];}get[_0x38870b(0xed)](){const _0x2c1ae5=_0x38870b;if(!this[_0x2c1ae5(0xeb)])throw Error('App\x20is\x20not\x20initialized');return this[_0x2c1ae5(0xeb)];}constructor(_0x54f1fc,_0x123cf9,_0x1361a8,_0x191ac5){const _0x22c31e=_0x38870b;this[_0x22c31e(0x101)]=null,this[_0x22c31e(0xc2)]=null,this[_0x22c31e(0x106)]=null,this[_0x22c31e(0xeb)]=null,this[_0x22c31e(0xf5)]=null,this[_0x22c31e(0x109)]=null,this[_0x22c31e(0xc6)]=null,this[_0x22c31e(0x100)]=!![],this['postProcessManager']=null,this[_0x22c31e(0xb5)]=Object[_0x22c31e(0xe0)]({},_0x191ac5),this['_app']=_0x54f1fc,_0x123cf9[_0x22c31e(0x108)]&&(this[_0x22c31e(0x109)]=document[_0x22c31e(0xd5)](_0x123cf9['elementId'])),this[_0x22c31e(0xc4)](_0x1361a8),_0x123cf9[_0x22c31e(0xfb)]&&this['createLabelRenderer'](),_0x123cf9['isUILayerNeeded']&&this[_0x22c31e(0xbe)](),this[_0x22c31e(0x109)]&&(this[_0x22c31e(0xf5)]=new ResizeObserver(_0x433906=>{const _0x4aa58b=_0x22c31e;for(let _0x4a638b of _0x433906){_0x4a638b[_0x4aa58b(0xdc)]&&this[_0x4aa58b(0xd0)]();}}),this[_0x22c31e(0xf5)][_0x22c31e(0xcc)](this['_outerContainer'])),this[_0x22c31e(0xed)][_0x22c31e(0xf2)][_0x22c31e(0xbb)](()=>{const _0x260257=_0x22c31e;this[_0x260257(0xbf)]&&(this['postProcessManager'][_0x260257(0xab)](this[_0x260257(0xed)]['camera']),this[_0x260257(0xbf)]['setup']());});}[_0x38870b(0xc4)](_0x48b473){const _0x411bcd=_0x38870b;this[_0x411bcd(0x109)]&&!this[_0x411bcd(0xc6)]&&(this[_0x411bcd(0xc6)]=document['createElement']('div'),this[_0x411bcd(0xc6)][_0x411bcd(0xea)][_0x411bcd(0xa1)]=_0x411bcd(0xfd),this[_0x411bcd(0xc6)][_0x411bcd(0xea)]['top']='0px',this[_0x411bcd(0xc6)]['style'][_0x411bcd(0xaa)]=_0x411bcd(0xcf),this[_0x411bcd(0xc6)][_0x411bcd(0xea)]['height']='100%',this['_outerContainer'][_0x411bcd(0xcd)](this['_canvasContainer']));const _0x128fa8=this['_canvasContainer'];this[_0x411bcd(0xc2)]&&(_0x128fa8&&_0x128fa8[_0x411bcd(0xe5)](this[_0x411bcd(0xc2)][_0x411bcd(0xf0)]),this[_0x411bcd(0xc2)]['dispose']());let _0x3c0a8d=_0x128fa8?_0x128fa8[_0x411bcd(0x107)]:0x200,_0x4ff71e=_0x128fa8?_0x128fa8[_0x411bcd(0x102)]:0x200,_0x1f5348={};_0x1f5348['forceWebGL']=_0x48b473[_0x411bcd(0x9d)],_0x1f5348[_0x411bcd(0xc3)]=_0x48b473['antialias'],_0x1f5348[_0x411bcd(0xc9)]=_0x48b473['depth'],_0x1f5348['stencil']=_0x48b473[_0x411bcd(0x9e)],_0x1f5348[_0x411bcd(0xff)]=_0x48b473['alpha'],_0x1f5348[_0x411bcd(0x105)]=_0x48b473['logarithmicDepthBuffer'],_0x1f5348[_0x411bcd(0xe1)]=_0x48b473[_0x411bcd(0xe1)],_0x1f5348['outputBufferType']=_0x48b473[_0x411bcd(0x9c)],this['_renderer']=new webgpu.WebGPURenderer(_0x1f5348),this[_0x411bcd(0xc2)][_0x411bcd(0xe4)](window['devicePixelRatio']),this[_0x411bcd(0xc2)]['setSize'](_0x3c0a8d,_0x4ff71e),this[_0x411bcd(0xc2)][_0x411bcd(0xc0)]['enabled']=_0x48b473[_0x411bcd(0xb1)],this[_0x411bcd(0xc2)][_0x411bcd(0xc0)][_0x411bcd(0xdf)]=_0x48b473[_0x411bcd(0xce)],this[_0x411bcd(0xc2)][_0x411bcd(0xcb)]=_0x48b473[_0x411bcd(0xcb)],this[_0x411bcd(0xc2)][_0x411bcd(0xde)]=_0x48b473[_0x411bcd(0xde)],this[_0x411bcd(0xc2)]['setClearAlpha'](0x0),_0x128fa8&&_0x128fa8['appendChild'](this[_0x411bcd(0xc2)][_0x411bcd(0xf0)]);}[_0x38870b(0xc7)](){const _0x6a561b=_0x38870b,_0x41b807=this['_outerContainer'];this['labelRenderer']&&(_0x41b807&&_0x41b807[_0x6a561b(0xe5)](this['labelRenderer'][_0x6a561b(0xf0)]));let _0x29108b=_0x41b807?_0x41b807['clientWidth']:0x200,_0x28c048=_0x41b807?_0x41b807[_0x6a561b(0x102)]:0x200;this['labelRenderer']=new Addons_js.CSS2DRenderer(),this['labelRenderer'][_0x6a561b(0xd1)](_0x29108b,_0x28c048),this[_0x6a561b(0x106)]['domElement'][_0x6a561b(0xea)][_0x6a561b(0xb6)]=_0x6a561b(0xa3),this[_0x6a561b(0x106)][_0x6a561b(0xf0)][_0x6a561b(0xea)][_0x6a561b(0xa6)]=_0x6a561b(0xac),this[_0x6a561b(0x106)][_0x6a561b(0xf0)][_0x6a561b(0xea)][_0x6a561b(0xf3)]=_0x6a561b(0xfd),this[_0x6a561b(0x106)]['domElement']['className']=_0x6a561b(0xe6),_0x41b807&&_0x41b807[_0x6a561b(0xcd)](this['labelRenderer'][_0x6a561b(0xf0)]);}[_0x38870b(0xbe)](){const _0x461268=_0x38870b;if(!this[_0x461268(0x109)])return;let _0x140cef=this[_0x461268(0x109)][_0x461268(0xbd)](_0x461268(0xf9));!_0x140cef&&(_0x140cef=document[_0x461268(0xb7)](_0x461268(0xef)),_0x140cef[_0x461268(0xee)]=_0x461268(0xd2),_0x140cef['id']=_0x461268(0xd2),_0x140cef[_0x461268(0xea)][_0x461268(0xa6)]=_0x461268(0xac),_0x140cef[_0x461268(0xea)][_0x461268(0xa1)]='0',_0x140cef[_0x461268(0xea)]['top']='0',_0x140cef[_0x461268(0xea)]['width']=_0x461268(0xcf),_0x140cef[_0x461268(0xea)][_0x461268(0xaf)]='100%',_0x140cef[_0x461268(0xea)][_0x461268(0xb6)]='none',_0x140cef['style'][_0x461268(0xc1)]='10',this['_outerContainer'][_0x461268(0xcd)](_0x140cef),this[_0x461268(0x101)]=_0x140cef);}[_0x38870b(0xa0)](){const _0x1c6297=_0x38870b;this[_0x1c6297(0xd4)]();}['setupPostProcess'](){const _0x1088ba=_0x38870b;!this[_0x1088ba(0xbf)]&&(this[_0x1088ba(0xbf)]=this[_0x1088ba(0xf4)]()),this[_0x1088ba(0xbf)]['setup']();}[_0x38870b(0xf4)](){const _0x207d35=_0x38870b;return new PostProcessManager(this[_0x207d35(0x9b)],this[_0x207d35(0xed)][_0x207d35(0xa8)][_0x207d35(0xf6)],this[_0x207d35(0xed)][_0x207d35(0xa4)],this[_0x207d35(0xb5)],()=>this['markRenderStateDirty']());}['updatePostProcess'](_0x20591b){const _0x2378ef=_0x38870b;this[_0x2378ef(0xbf)]&&this[_0x2378ef(0xbf)]['updateSteps'](_0x20591b);}[_0x38870b(0xda)](_0x5a72fc){const _0x32a713=_0x38870b;this['createRenderer'](_0x5a72fc),this[_0x32a713(0xe3)]();}[_0x38870b(0xb8)](_0x39ee89){const _0x3c7996=_0x38870b;this[_0x3c7996(0xbf)]&&this[_0x3c7996(0xbf)][_0x3c7996(0xb8)](_0x39ee89);}[_0x38870b(0xec)](_0x2714f9){const _0x4e9bf7=_0x38870b;this['postProcessManager']&&this[_0x4e9bf7(0xbf)][_0x4e9bf7(0xec)](_0x2714f9);}['removeOutlineObject'](_0x3d79d8){const _0x10b7d1=_0x38870b;this['postProcessManager']&&this[_0x10b7d1(0xbf)][_0x10b7d1(0xb4)](_0x3d79d8);}[_0x38870b(0xa9)](){const _0x435229=_0x38870b;this[_0x435229(0xbf)]&&(this[_0x435229(0xbf)][_0x435229(0xbc)](),this[_0x435229(0xbf)]=null);}['onWindowResize'](){const _0x52e943=_0x38870b;let _0x5997d8=this[_0x52e943(0x109)];if(!_0x5997d8)return;this[_0x52e943(0xed)][_0x52e943(0xd0)](_0x5997d8[_0x52e943(0x107)],_0x5997d8['clientHeight']),this['renderer'][_0x52e943(0xd1)](_0x5997d8['clientWidth'],_0x5997d8[_0x52e943(0x102)]);if(this[_0x52e943(0x106)])this[_0x52e943(0x106)][_0x52e943(0xd1)](_0x5997d8[_0x52e943(0x107)],_0x5997d8[_0x52e943(0x102)]);this[_0x52e943(0xe3)]();}[_0x38870b(0xe3)](){const _0x26e825=_0x38870b;this[_0x26e825(0x100)]=!![];}['render'](){const _0x1840d2=_0x38870b;if(!this[_0x1840d2(0x100)])return;if(this[_0x1840d2(0xbf)]&&this[_0x1840d2(0xbf)]['render']());else this['renderer'][_0x1840d2(0xae)](this['app'][_0x1840d2(0xa8)][_0x1840d2(0xf6)],this[_0x1840d2(0xed)][_0x1840d2(0xa4)]);this['onAfterPostProcessRender'](),this[_0x1840d2(0x106)]&&this[_0x1840d2(0x106)][_0x1840d2(0xae)](this['app']['world'][_0x1840d2(0xf6)],this[_0x1840d2(0xed)][_0x1840d2(0xa4)]),this[_0x1840d2(0x100)]=![];}[_0x38870b(0xca)](){}async[_0x38870b(0xc8)](_0x4fe068=0x400,_0x295fc2=0x400){const _0x1b0806=_0x38870b;try{if(this[_0x1b0806(0xbf)]&&this[_0x1b0806(0xbf)]['render']()){}else await this['renderer'][_0x1b0806(0xae)](this[_0x1b0806(0xed)]['world']['scene'],this[_0x1b0806(0xed)][_0x1b0806(0xa4)]);const _0x4c872a=this[_0x1b0806(0x9b)][_0x1b0806(0xf0)][_0x1b0806(0xaa)],_0x25d6ca=this[_0x1b0806(0x9b)][_0x1b0806(0xf0)]['height'];let _0x30a41e=_0x4c872a||_0x4fe068,_0x255769=_0x25d6ca||_0x295fc2;(_0x30a41e<=0x0||_0x255769<=0x0)&&(_0x30a41e=_0x4fe068,_0x255769=_0x295fc2);const _0x494476=document[_0x1b0806(0xb7)](_0x1b0806(0xb0));_0x494476[_0x1b0806(0xaa)]=_0x4fe068,_0x494476['height']=_0x295fc2;const _0x1ea644=_0x494476[_0x1b0806(0xf1)]('2d');if(!_0x1ea644)throw Error(_0x1b0806(0x103));_0x1ea644[_0x1b0806(0xb3)](this[_0x1b0806(0x9b)][_0x1b0806(0xf0)],0x0,0x0,_0x30a41e,_0x255769,0x0,0x0,_0x4fe068,_0x295fc2);const _0x131d32=_0x494476[_0x1b0806(0xe8)](_0x1b0806(0xf7));return _0x494476['remove'](),_0x131d32;}catch(_0x45dfe7){return '';}}['setAlpha'](_0x3d4d88){const _0x5b2e6a=_0x38870b;if(!this[_0x5b2e6a(0xc2)])return;this['_renderer'][_0x5b2e6a(0xff)]=_0x3d4d88;}[_0x38870b(0xa7)](_0x3c6140){const _0xf9d8cd=_0x38870b;if(!this[_0xf9d8cd(0xc2)])return;this[_0xf9d8cd(0xc2)][_0xf9d8cd(0xc0)][_0xf9d8cd(0xd3)]=_0x3c6140;}[_0x38870b(0xc5)](_0x4279f4){const _0x2f052e=_0x38870b;if(!this[_0x2f052e(0xc2)])return;this[_0x2f052e(0xc2)][_0x2f052e(0xc0)][_0x2f052e(0xdf)]=_0x4279f4;}['setToneMapping'](_0x337263){const _0x342ca4=_0x38870b;if(!this[_0x342ca4(0xc2)])return;this[_0x342ca4(0xc2)]['toneMapping']=_0x337263;}[_0x38870b(0xfe)](_0x10907e){const _0x3f2cc4=_0x38870b;if(!this[_0x3f2cc4(0xc2)])return;this['_renderer'][_0x3f2cc4(0xde)]=_0x10907e;}[_0x38870b(0xd9)](_0x5a2eb0){const _0x57763d=_0x38870b;if(!this[_0x57763d(0xc2)])return;this[_0x57763d(0xc2)][_0x57763d(0x105)]=_0x5a2eb0;}[_0x38870b(0xd7)](_0x512a3e){const _0x48788d=_0x38870b;if(!this[_0x48788d(0xc2)])return;this['_renderer']['depth']=_0x512a3e;}[_0x38870b(0xd8)](_0x4023d9){const _0x89f306=_0x38870b;if(!this[_0x89f306(0xc2)])return;this[_0x89f306(0xc2)][_0x89f306(0x9e)]=_0x4023d9;}['destroy'](){const _0x2f8553=_0x38870b;this[_0x2f8553(0xa9)](),this[_0x2f8553(0x9b)][_0x2f8553(0xe9)](null),this[_0x2f8553(0xf5)]&&(this[_0x2f8553(0xf5)][_0x2f8553(0xba)](),this[_0x2f8553(0xf5)]=null),this[_0x2f8553(0x106)]&&(this[_0x2f8553(0x106)][_0x2f8553(0xf0)][_0x2f8553(0xd6)](),this[_0x2f8553(0x106)]=null),this[_0x2f8553(0xc2)]&&(this['renderer'][_0x2f8553(0xf0)][_0x2f8553(0xd6)](),this[_0x2f8553(0xc2)][_0x2f8553(0xad)](),this['_renderer']=null),this[_0x2f8553(0xc6)]&&(this[_0x2f8553(0xc6)][_0x2f8553(0xd6)](),this['_canvasContainer']=null),this[_0x2f8553(0x109)]=null,this[_0x2f8553(0xeb)]=null;}}
|
|
67
67
|
|
|
68
|
-
function
|
|
68
|
+
function _0x3b67(_0x1fdaa4,_0x15247e){_0x1fdaa4=_0x1fdaa4-0xea;var _0x22101c=_0x2210();var _0x3b67e8=_0x22101c[_0x1fdaa4];return _0x3b67e8;}var _0x5e3fc7=_0x3b67;function _0x2210(){var _0x1c98e4=['camera','761114SmpEiB','3508044lxUauv','_control','enabled','focusTo','2381300RNlfoC','13643420HOnzWe','249100HFgEWt','controller','isTickEnabled','stopFocusing','destroy','1251993zVjRDO','3365742DwQIvp','8xtjtbs','control'];_0x2210=function(){return _0x1c98e4;};return _0x2210();}(function(_0x1cefab,_0x3ca830){var _0xb95dbd=_0x3b67,_0x4cbb4b=_0x1cefab();while(!![]){try{var _0x59781a=-parseInt(_0xb95dbd(0xec))/0x1+parseInt(_0xb95dbd(0xf6))/0x2+parseInt(_0xb95dbd(0xf1))/0x3+parseInt(_0xb95dbd(0xf7))/0x4+parseInt(_0xb95dbd(0xea))/0x5+parseInt(_0xb95dbd(0xf2))/0x6+parseInt(_0xb95dbd(0xeb))/0x7*(-parseInt(_0xb95dbd(0xf3))/0x8);if(_0x59781a===_0x3ca830)break;else _0x4cbb4b['push'](_0x4cbb4b['shift']());}catch(_0x1b80e3){_0x4cbb4b['push'](_0x4cbb4b['shift']());}}}(_0x2210,0x7d7a4));class Pawn{get[_0x5e3fc7(0xf5)](){var _0x3dbf9c=_0x5e3fc7;return this[_0x3dbf9c(0xed)][_0x3dbf9c(0xf5)];}set[_0x5e3fc7(0xf9)](_0x3bba36){var _0x29e962=_0x5e3fc7;this[_0x29e962(0xf4)]['enabled']=_0x3bba36;}get['control'](){if(!this['_control'])throw new Error('Control\x20not\x20initialized');return this['_control'];}constructor(_0x5d8795){var _0xe58426=_0x5e3fc7;this[_0xe58426(0xf8)]=null,this[_0xe58426(0xee)]=![],this['controller']=_0x5d8795;}['tick'](_0x1df5ae){return;}['possess'](){}['unpossess'](){}[_0x5e3fc7(0xfa)](_0x4ff817,_0x22e6d6,_0x29a505,_0x1d8674,_0x10358e=null,_0x390375=null){}[_0x5e3fc7(0xef)](){}['getFocuingData'](){return null;}[_0x5e3fc7(0xf0)](){}}
|
|
69
69
|
|
|
70
|
-
const
|
|
70
|
+
const _0x2399a7=_0x51db;(function(_0xc160f6,_0x2c956a){const _0x48ec91=_0x51db,_0x2f72b6=_0xc160f6();while(!![]){try{const _0x5d94ac=parseInt(_0x48ec91(0x1d9))/0x1+-parseInt(_0x48ec91(0x1d5))/0x2*(-parseInt(_0x48ec91(0x1d8))/0x3)+-parseInt(_0x48ec91(0x1b9))/0x4+-parseInt(_0x48ec91(0x1d4))/0x5+parseInt(_0x48ec91(0x1bb))/0x6+-parseInt(_0x48ec91(0x1c8))/0x7+parseInt(_0x48ec91(0x1c3))/0x8*(-parseInt(_0x48ec91(0x1db))/0x9);if(_0x5d94ac===_0x2c956a)break;else _0x2f72b6['push'](_0x2f72b6['shift']());}catch(_0x46d7b5){_0x2f72b6['push'](_0x2f72b6['shift']());}}}(_0x2365,0x39a7b));function _0x2365(){const _0x134d07=['normalize','370676EvmSwA','applyQuaternion','1620270auqAep','target','setFromEuler','control','change','distanceTo','getFocuingData','changeEvent','24928Ydazbe','controller','set','Control\x20not\x20initialized','position','185696AoyqOf','length','object','kill','unpossess','camera','update','markRenderStateDirty','removeEventListener','isEuler','onChange','copy','419190faVqhQ','2CetvRh','anim','quaternion','414951liwerx','65104hUBXEd','_control','99cWndXB','clone','viewPort','subVectors'];_0x2365=function(){return _0x134d07;};return _0x2365();}function _0x51db(_0x580eda,_0x355d11){_0x580eda=_0x580eda-0x1b6;const _0x23652f=_0x2365();let _0x51dbbf=_0x23652f[_0x580eda];return _0x51dbbf;}class Orbital extends Pawn{get['control'](){const _0xf1be5=_0x51db;if(!this['_control'])throw new Error(_0xf1be5(0x1c6));return this['_control'];}get['camera'](){const _0x3aa400=_0x51db;return this[_0x3aa400(0x1c4)]['camera'];}constructor(_0x16b04e){const _0xb9f702=_0x51db;super(_0x16b04e),this[_0xb9f702(0x1d6)]=null,this[_0xb9f702(0x1c2)]=()=>{const _0x39748=_0xb9f702;this[_0x39748(0x1d2)]();},this[_0xb9f702(0x1da)]=new Addons_js.OrbitControls(_0x16b04e[_0xb9f702(0x1cd)],_0x16b04e[_0xb9f702(0x1b6)]['canvas']),this[_0xb9f702(0x1be)][_0xb9f702(0x1bc)][_0xb9f702(0x1c5)](0x0,0x0,0x0),_0x16b04e['camera'][_0xb9f702(0x1c7)][_0xb9f702(0x1c5)](0x0,0x4,0x4),this[_0xb9f702(0x1be)][_0xb9f702(0x1ce)]();}['possess'](){const _0x582def=_0x51db;super['possess'](),this[_0x582def(0x1be)]['addEventListener']('change',this[_0x582def(0x1c2)]);}[_0x2399a7(0x1cc)](){const _0x1236f5=_0x2399a7;super[_0x1236f5(0x1cc)](),this[_0x1236f5(0x1be)][_0x1236f5(0x1d0)](_0x1236f5(0x1bf),this[_0x1236f5(0x1c2)]);}[_0x2399a7(0x1d2)](){const _0x4e9b2b=_0x2399a7;this[_0x4e9b2b(0x1c4)][_0x4e9b2b(0x1b6)][_0x4e9b2b(0x1cf)]();}['focusTo'](_0x3ad0ef,_0x10f9a0,_0x519735,_0x2e3f14,_0x23b004=null,_0x1464f3=null){const _0x49eae9=_0x2399a7;this['stopFocusing']();let _0x3733af=null;(_0x10f9a0===null||_0x10f9a0===void 0?void 0:_0x10f9a0[_0x49eae9(0x1d1)])?_0x3733af=new webgpu.Quaternion()[_0x49eae9(0x1bd)](_0x10f9a0):_0x3733af=_0x10f9a0;!_0x10f9a0&&(_0x3733af=this[_0x49eae9(0x1c4)][_0x49eae9(0x1cd)][_0x49eae9(0x1d7)]);_0x3733af['normalize']();let _0x404318=new webgpu.Vector3(0x0,0x0,0x1);_0x404318[_0x49eae9(0x1ba)](_0x3733af)['multiplyScalar'](-1),_0x404318[_0x49eae9(0x1b8)]();let _0x3e36b9=this[_0x49eae9(0x1cd)][_0x49eae9(0x1c7)]['clone'](),_0x15e776=new webgpu.Vector3(_0x3ad0ef['x']+_0x404318['x']*_0x519735*-1,_0x3ad0ef['y']+_0x404318['y']*_0x519735*-1,_0x3ad0ef['z']+_0x404318['z']*_0x519735*-1),_0x41ba3f=new webgpu.Vector3()[_0x49eae9(0x1b7)](_0x15e776,_0x3e36b9),_0x5337a3=_0x41ba3f[_0x49eae9(0x1c9)]();_0x41ba3f['normalize']();let _0x436389=this['control'][_0x49eae9(0x1bc)]['clone'](),_0x21d84e=new webgpu.Vector3()['subVectors'](_0x3ad0ef,_0x436389),_0x2eae7e=_0x21d84e[_0x49eae9(0x1c9)]();_0x21d84e['normalize']();if(_0x5337a3+_0x2eae7e<0.1)return;const _0x5513c0=this;let _0x145a41={'alpha':0x0};this[_0x49eae9(0x1d6)]=gsap.gsap['to'](_0x145a41,{'duration':_0x2e3f14,'alpha':0x1,'onUpdate':()=>{const _0x14c446=_0x49eae9;let _0x1e17cf=_0x145a41['alpha'],_0x462103=new webgpu.Vector3(_0x3e36b9['x']+_0x41ba3f['x']*_0x1e17cf*_0x5337a3,_0x3e36b9['y']+_0x41ba3f['y']*_0x1e17cf*_0x5337a3,_0x3e36b9['z']+_0x41ba3f['z']*_0x1e17cf*_0x5337a3),_0x2cc855=new webgpu.Vector3(_0x436389['x']+_0x21d84e['x']*_0x1e17cf*_0x2eae7e,_0x436389['y']+_0x21d84e['y']*_0x1e17cf*_0x2eae7e,_0x436389['z']+_0x21d84e['z']*_0x1e17cf*_0x2eae7e);_0x5513c0['control'][_0x14c446(0x1ca)][_0x14c446(0x1c7)][_0x14c446(0x1d3)](_0x462103),_0x5513c0[_0x14c446(0x1be)][_0x14c446(0x1bc)]['copy'](_0x2cc855),_0x5513c0['control'][_0x14c446(0x1ce)]();_0x23b004&&_0x23b004();if(_0x5513c0[_0x14c446(0x1c4)][_0x14c446(0x1b6)])_0x5513c0[_0x14c446(0x1c4)][_0x14c446(0x1b6)][_0x14c446(0x1cf)]();},'onComplete':function(){const _0xf385c1=_0x49eae9;_0x1464f3&&_0x1464f3();if(_0x5513c0['controller'][_0xf385c1(0x1b6)])_0x5513c0['controller'][_0xf385c1(0x1b6)][_0xf385c1(0x1cf)]();}});}[_0x2399a7(0x1c1)](){const _0x54651a=_0x2399a7;if(!this[_0x54651a(0x1be)]||!this[_0x54651a(0x1cd)])return null;const _0x4efdd1=this['camera'][_0x54651a(0x1c7)][_0x54651a(0x1dc)](),_0x50cd90=this[_0x54651a(0x1cd)][_0x54651a(0x1d7)][_0x54651a(0x1dc)](),_0x4e9bf1=this[_0x54651a(0x1be)][_0x54651a(0x1bc)][_0x54651a(0x1dc)](),_0x359567=_0x4efdd1[_0x54651a(0x1c0)](_0x4e9bf1);return {'position':_0x4e9bf1,'quaternion':_0x50cd90,'distance':_0x359567};}['stopFocusing'](){const _0x48ced2=_0x2399a7;this[_0x48ced2(0x1d6)]&&this['anim'][_0x48ced2(0x1cb)](),this[_0x48ced2(0x1d6)]=null;}}
|
|
71
71
|
|
|
72
|
-
const _0x19fcb2=_0x56b6;(function(_0x65599e,_0x326084){const _0x18319f=_0x56b6,_0x105074=_0x65599e();while(!![]){try{const _0x10322a=parseInt(_0x18319f(0xb8))/0x1*(parseInt(_0x18319f(0xfd))/0x2)+-parseInt(_0x18319f(0xd1))/0x3+-parseInt(_0x18319f(0xca))/0x4+parseInt(_0x18319f(0xab))/0x5+-parseInt(_0x18319f(0xe6))/0x6+-parseInt(_0x18319f(0xed))/0x7+parseInt(_0x18319f(0xdd))/0x8*(parseInt(_0x18319f(0xec))/0x9);if(_0x10322a===_0x326084)break;else _0x105074['push'](_0x105074['shift']());}catch(_0x346524){_0x105074['push'](_0x105074['shift']());}}}(_0x40b7,0xf10d4));function _0x40b7(){const _0x29b472=['doubleClickDelay','clearHovering','tick','fireClickEvents','rayIgnored','onClickNothingDelegate','ctrlKey','prepareClickComponent','camera','world','viewport','onComponentHoverEndDelegate','broadcast','subVectors','assign','onPointerEnterEvent','canvas\x20is\x20null','1960148VqajHg','firePointerDownEvent','add','_onComponentHoverBeginDelegate','_raycastVec2','onActorHoverEnd','canvas','1651257wDviXD','onActorClickDelegate','pointermove','focusTo','removeEventListener','clientX','onPointerLeaveEvent','hit','_onActorClickDelegate','hoveringActor','onClicked','unpossess','147792EyMorV','setTimeout','_onActorHoverBeginDelegate','isClickEnabled','fireComponentHoverEnd','clientWidth','prepareClickModifiers','onActorHoverEndDelegate','onActorHoverBeginDelegate','11677050sszdjv','_onComponentHoverEndDelegate','app','prepareClickHit','button','onPointerUpEvent','1971KXhnij','7166467oBlUeT','viewPort','parentActor','onPointerEnter','_pawn','setFromCamera','getAllHitResultFromScreenPoint','_pointButtonIsDown','onPointerDown','onPointerDownEvent','_onClickNothingDelegate','onPointerMoveEvent','handleFirstClick','scene','onActorDoubleClickDelegate','getHitResultFromScreenPoint','2FkEVdQ','fireActorHoverBegin','pointerleave','onActorDoubleClick','pawn','onComponentHoverBeginDelegate','possess','onHorveringBegin','onDoubleClicked','init','top','component','altKey','_onActorHoverEndDelegate','onHorveringEnd','_app','getHitResultUnderCursor','updateCamera','clientY','copy','clearTimeout','destroy','onActorClick','fireComponentHoverBegin','clearClickTimer','pointerLeftDownPosition','length','fireActorHoverEnd','pointerup','clientHeight','children','_onActorDoubleClickDelegate','enabled','_onComponentClickDelegate','pointerPosition','object','removeCorePointerListeners','getBoundingClientRect','pointerenter','fireComponentClick','onPointerUp','userData','onComponentClickDelegate','addCorePointerListeners','_tempVec2','addEventListener','fireActorClick','isHoverEnabled','3294035MpCvgc','_onComponentPointerDownDelegate','handled','_onComponentDoubleClickDelegate','onPointerMove','onComponentPointerDownDelegate','shiftKey','leftClickTimer','onActorHoverBegin','hoveringComponent','set','left','raycaster','293147ivdoay'];_0x40b7=function(){return _0x29b472;};return _0x40b7();}function _0x56b6(_0x308255,_0x4f29dc){_0x308255=_0x308255-0x7e;const _0x40b750=_0x40b7();let _0x56b6e2=_0x40b750[_0x308255];return _0x56b6e2;}class Controller{get[_0x19fcb2(0xc1)](){const _0x1d76de=_0x19fcb2;return this['_app'][_0x1d76de(0xc1)];}get['world'](){const _0x346cf9=_0x19fcb2;return this[_0x346cf9(0x8a)][_0x346cf9(0xc2)];}get[_0x19fcb2(0xee)](){const _0x4db0c4=_0x19fcb2;return this['_app'][_0x4db0c4(0xc3)];}get[_0x19fcb2(0xe8)](){const _0x3d16ab=_0x19fcb2;return this[_0x3d16ab(0x8a)];}get['pawn'](){const _0x29a307=_0x19fcb2;if(!this[_0x29a307(0xf1)])throw Error('pawn\x20is\x20null');return this['_pawn'];}get[_0x19fcb2(0xa5)](){const _0x1b603b=_0x19fcb2;return this[_0x1b603b(0x9c)];}get['onComponentDoubleClickDelegate'](){return this['_onComponentDoubleClickDelegate'];}get[_0x19fcb2(0x80)](){return this['_onComponentHoverBeginDelegate'];}get[_0x19fcb2(0xc4)](){const _0x47d3ed=_0x19fcb2;return this[_0x47d3ed(0xe7)];}get[_0x19fcb2(0xb0)](){const _0x418596=_0x19fcb2;return this[_0x418596(0xac)];}get[_0x19fcb2(0xd2)](){const _0x407d48=_0x19fcb2;return this[_0x407d48(0xd9)];}get[_0x19fcb2(0xfb)](){const _0x3c651e=_0x19fcb2;return this[_0x3c651e(0x9a)];}get[_0x19fcb2(0xe5)](){const _0x44228a=_0x19fcb2;return this[_0x44228a(0xdf)];}get[_0x19fcb2(0xe4)](){return this['_onActorHoverEndDelegate'];}get[_0x19fcb2(0xbe)](){return this['_onClickNothingDelegate'];}constructor(_0x163cdc){const _0x41c3a0=_0x19fcb2;this[_0x41c3a0(0xf1)]=null,this[_0x41c3a0(0xb4)]=null,this[_0x41c3a0(0xda)]=null,this[_0x41c3a0(0xc0)]=null,this[_0x41c3a0(0xe9)]=null,this['prepareClickModifiers']={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x41c3a0(0xf4)]=new Set(),this[_0x41c3a0(0x9c)]=new Delegate(),this[_0x41c3a0(0xae)]=new Delegate(),this[_0x41c3a0(0xcd)]=new Delegate(),this['_onComponentHoverEndDelegate']=new Delegate(),this[_0x41c3a0(0xac)]=new Delegate(),this['_onActorClickDelegate']=new Delegate(),this[_0x41c3a0(0x9a)]=new Delegate(),this[_0x41c3a0(0xdf)]=new Delegate(),this[_0x41c3a0(0x88)]=new Delegate(),this[_0x41c3a0(0xf7)]=new Delegate(),this[_0x41c3a0(0x9d)]=new webgpu.Vector2(),this[_0x41c3a0(0x94)]=new webgpu.Vector2(),this[_0x41c3a0(0xa7)]=new webgpu.Vector2(),this['_raycastVec2']=new webgpu.Vector2(),this[_0x41c3a0(0xb9)]=0xfa,this[_0x41c3a0(0xb2)]=null,this['onPointerMove']=_0x26e6c6=>this[_0x41c3a0(0xf8)](_0x26e6c6),this[_0x41c3a0(0xf0)]=_0x126883=>this[_0x41c3a0(0xc8)](_0x126883),this['onPointerLeave']=_0x98a55d=>this['onPointerLeaveEvent'](_0x98a55d),this[_0x41c3a0(0xa3)]=_0x18db60=>this[_0x41c3a0(0xeb)](_0x18db60),this[_0x41c3a0(0xf5)]=_0x9d93f=>this[_0x41c3a0(0xf6)](_0x9d93f),this[_0x41c3a0(0x8a)]=_0x163cdc,this[_0x41c3a0(0xf1)]=new Orbital(this),this[_0x41c3a0(0x7f)][_0x41c3a0(0x81)](),this[_0x41c3a0(0xb7)]=new webgpu.Raycaster();}[_0x19fcb2(0x84)](){const _0x1d02df=_0x19fcb2,_0xe7e459=this[_0x1d02df(0xee)][_0x1d02df(0xd0)];_0xe7e459&&(_0xe7e459[_0x1d02df(0xa8)](_0x1d02df(0xa1),this['onPointerEnter']),_0xe7e459[_0x1d02df(0xa8)](_0x1d02df(0xff),this['onPointerLeave']),this[_0x1d02df(0xa6)]());}[_0x19fcb2(0x8c)](){const _0x1ee387=_0x19fcb2;var _0x30de3d,_0x3dd1c5;const _0x3b1c06=this[_0x1ee387(0x7f)][_0x1ee387(0x9b)];(_0x30de3d=this[_0x1ee387(0xf1)])===null||_0x30de3d===void 0?void 0:_0x30de3d[_0x1ee387(0xdc)](),(_0x3dd1c5=this[_0x1ee387(0xf1)])===null||_0x3dd1c5===void 0?void 0:_0x3dd1c5[_0x1ee387(0x90)](),this[_0x1ee387(0xf1)]=new Orbital(this),this[_0x1ee387(0x7f)][_0x1ee387(0x81)](),this[_0x1ee387(0x7f)]['enabled']=_0x3b1c06;}['tick'](_0x1e9f59){const _0x466619=_0x19fcb2;this[_0x466619(0x7f)][_0x466619(0xbb)](_0x1e9f59);}['destroy'](){const _0x460ea9=_0x19fcb2;this['clearClickTimer'](),this[_0x460ea9(0xba)]();const _0x5ebb78=this[_0x460ea9(0xee)]['canvas'];_0x5ebb78&&(_0x5ebb78[_0x460ea9(0xd5)](_0x460ea9(0xa1),this[_0x460ea9(0xf0)]),_0x5ebb78[_0x460ea9(0xd5)](_0x460ea9(0xff),this['onPointerLeave']),this[_0x460ea9(0x9f)]()),this['pawn'][_0x460ea9(0xdc)](),this[_0x460ea9(0x7f)]['destroy'](),this[_0x460ea9(0xf1)]=null;}['onPointerMoveEvent'](_0x524524){const _0x519832=_0x19fcb2;var _0x5020ac,_0x1ed37d;const _0x53ec3b=this[_0x519832(0xee)]['canvas'];if(!_0x53ec3b)throw Error(_0x519832(0xc9));const _0x47b5b0=_0x53ec3b[_0x519832(0xa0)]();this[_0x519832(0x9d)][_0x519832(0xb5)]((_0x524524[_0x519832(0xd6)]-_0x47b5b0[_0x519832(0xb6)])/_0x53ec3b[_0x519832(0xe2)]*0x2-0x1,0x1-(_0x524524[_0x519832(0x8d)]-_0x47b5b0[_0x519832(0x85)])/_0x53ec3b[_0x519832(0x98)]*0x2);if(this['_pointButtonIsDown']['size']>0x0)return;const _0xe5f710=this['getHitResultUnderCursor'](),_0xb88e86=(_0x5020ac=_0xe5f710===null||_0xe5f710===void 0?void 0:_0xe5f710[_0x519832(0x86)])!==null&&_0x5020ac!==void 0?_0x5020ac:null,_0x93c1c1=(_0x1ed37d=_0xb88e86===null||_0xb88e86===void 0?void 0:_0xb88e86[_0x519832(0xef)])!==null&&_0x1ed37d!==void 0?_0x1ed37d:null;_0xb88e86!==this[_0x519832(0xb4)]&&(this[_0x519832(0xb4)]&&this[_0x519832(0xe1)](this['hoveringComponent']),_0xb88e86&&_0xe5f710&&this['fireComponentHoverBegin'](_0xb88e86,_0xe5f710[_0x519832(0xd8)])),_0x93c1c1!==this[_0x519832(0xda)]&&(this[_0x519832(0xda)]&&this[_0x519832(0xb4)]&&this[_0x519832(0x96)](this['hoveringActor'],this[_0x519832(0xb4)]),_0x93c1c1&&_0xb88e86&&_0xe5f710&&this[_0x519832(0xfe)](_0x93c1c1,_0xb88e86,_0xe5f710[_0x519832(0xd8)])),this[_0x519832(0xb4)]=_0xb88e86,this['hoveringActor']=_0x93c1c1;}[_0x19fcb2(0xba)](){const _0x2264bc=_0x19fcb2;this[_0x2264bc(0xb4)]&&this[_0x2264bc(0xe1)](this[_0x2264bc(0xb4)]),this[_0x2264bc(0xda)]&&this[_0x2264bc(0xb4)]&&this['fireActorHoverEnd'](this[_0x2264bc(0xda)],this['hoveringComponent']),this[_0x2264bc(0xb4)]=null,this[_0x2264bc(0xda)]=null;}['onPointerUpEvent'](_0x12f146){const _0xea87ff=_0x19fcb2;this[_0xea87ff(0xf4)]['delete'](_0x12f146[_0xea87ff(0xea)]);if(_0x12f146[_0xea87ff(0xea)]!==0x0)return;const _0x5a18df=this[_0xea87ff(0xa7)][_0xea87ff(0xc6)](this[_0xea87ff(0x94)],this[_0xea87ff(0x9d)])[_0xea87ff(0x95)]();if(_0x5a18df>0.005){this[_0xea87ff(0x93)]();return;}this[_0xea87ff(0xe3)]={'ctrlKey':_0x12f146[_0xea87ff(0xbf)],'shiftKey':_0x12f146[_0xea87ff(0xb1)],'altKey':_0x12f146[_0xea87ff(0x87)]},!this['leftClickTimer']?this[_0xea87ff(0xf9)]():this['handleDoubleClick']();}[_0x19fcb2(0xf9)](){const _0x47f334=_0x19fcb2,_0x4817ef=this[_0x47f334(0x8b)](),_0x555805=_0x4817ef===null||_0x4817ef===void 0?void 0:_0x4817ef[_0x47f334(0x86)];_0x555805 instanceof SceneComponent&&_0x4817ef?(this[_0x47f334(0xc0)]=_0x555805,this['prepareClickHit']=_0x4817ef[_0x47f334(0xd8)],this[_0x47f334(0xb2)]=window[_0x47f334(0xde)](()=>{const _0x9134d1=_0x47f334;this[_0x9134d1(0xb2)]=null,this[_0x9134d1(0xc0)]&&this['prepareClickHit']&&(this[_0x9134d1(0xbc)](this['prepareClickComponent'],this[_0x9134d1(0xe9)],![]),this[_0x9134d1(0xc0)]=null,this[_0x9134d1(0xe9)]=null);},this[_0x47f334(0xb9)])):this[_0x47f334(0xf7)]['broadcast']();}['handleDoubleClick'](){const _0x16b12e=_0x19fcb2;this[_0x16b12e(0x93)](),this[_0x16b12e(0xc0)]&&this[_0x16b12e(0xe9)]?this[_0x16b12e(0xbc)](this[_0x16b12e(0xc0)],this[_0x16b12e(0xe9)],!![]):this[_0x16b12e(0xf7)][_0x16b12e(0xc5)](),this[_0x16b12e(0xc0)]=null,this[_0x16b12e(0xe9)]=null;}['onPointerDownEvent'](_0x1beef6){const _0x2b9700=_0x19fcb2;this[_0x2b9700(0xf4)][_0x2b9700(0xcc)](_0x1beef6[_0x2b9700(0xea)]);_0x1beef6['button']===0x0&&this[_0x2b9700(0x94)][_0x2b9700(0x8e)](this[_0x2b9700(0x9d)]);const _0xa70001=this[_0x2b9700(0x8b)](),_0x3bb2ea=_0xa70001===null||_0xa70001===void 0?void 0:_0xa70001[_0x2b9700(0x86)];_0x3bb2ea instanceof SceneComponent&&_0xa70001&&this[_0x2b9700(0xcb)](_0x3bb2ea,_0xa70001['hit'],_0x1beef6[_0x2b9700(0xea)]);}[_0x19fcb2(0xc8)](_0x289f0a){const _0x43835a=_0x19fcb2;this[_0x43835a(0xa6)]();}[_0x19fcb2(0xd7)](_0x5f5aed){this['removeCorePointerListeners']();}[_0x19fcb2(0x92)](_0x288d31,_0x54a6e1){const _0x8631a8=_0x19fcb2,_0x1cc2fe={'component':_0x288d31,'hit':_0x54a6e1,'handled':![]};this[_0x8631a8(0xcd)]['broadcast'](_0x1cc2fe),!_0x1cc2fe[_0x8631a8(0xad)]&&_0x288d31[_0x8631a8(0x82)]();}[_0x19fcb2(0xe1)](_0x4bd630){const _0x3bea5d=_0x19fcb2,_0x25ab12={'component':_0x4bd630,'hit':null,'handled':![]};this[_0x3bea5d(0xe7)][_0x3bea5d(0xc5)](_0x25ab12),!_0x25ab12[_0x3bea5d(0xad)]&&_0x4bd630[_0x3bea5d(0x89)]();}['fireComponentClick'](_0x18a8ee,_0x143188,_0x2ad403){const _0xa0d3ca=_0x19fcb2,_0x1bba85=Object[_0xa0d3ca(0xc7)]({'component':_0x18a8ee,'hit':_0x143188,'handled':![]},this[_0xa0d3ca(0xe3)]);_0x2ad403?(this[_0xa0d3ca(0xae)][_0xa0d3ca(0xc5)](_0x1bba85),!_0x1bba85['handled']&&_0x18a8ee[_0xa0d3ca(0x83)]()):(this[_0xa0d3ca(0x9c)]['broadcast'](_0x1bba85),!_0x1bba85[_0xa0d3ca(0xad)]&&_0x18a8ee[_0xa0d3ca(0xdb)]());}['firePointerDownEvent'](_0x2dce06,_0xf807c9,_0x27e795){const _0x300bf9=_0x19fcb2,_0x4554dd={'component':_0x2dce06,'hit':_0xf807c9,'button':_0x27e795,'handled':![]};this['_onComponentPointerDownDelegate'][_0x300bf9(0xc5)](_0x4554dd);}['fireActorHoverBegin'](_0x1e7743,_0x38c954,_0x3474b6){const _0x193ce1=_0x19fcb2,_0x4006e2={'actor':_0x1e7743,'component':_0x38c954,'hit':_0x3474b6,'handled':![]};this[_0x193ce1(0xdf)][_0x193ce1(0xc5)](_0x4006e2),!_0x4006e2['handled']&&_0x1e7743[_0x193ce1(0xb3)](_0x38c954);}[_0x19fcb2(0x96)](_0x530ecb,_0x29b8f4){const _0x5c9ae9=_0x19fcb2,_0x115cbd={'actor':_0x530ecb,'component':_0x29b8f4,'hit':null,'handled':![]};this['_onActorHoverEndDelegate']['broadcast'](_0x115cbd),!_0x115cbd[_0x5c9ae9(0xad)]&&_0x530ecb[_0x5c9ae9(0xcf)](_0x29b8f4);}[_0x19fcb2(0xa9)](_0x11a7c6,_0x574c85,_0x6e04a,_0x4dbbdb){const _0x3267cb=_0x19fcb2,_0x3bcfc9=Object[_0x3267cb(0xc7)]({'actor':_0x11a7c6,'component':_0x574c85,'hit':_0x6e04a,'handled':![]},this[_0x3267cb(0xe3)]);_0x4dbbdb?(this['_onActorDoubleClickDelegate'][_0x3267cb(0xc5)](_0x3bcfc9),!_0x3bcfc9[_0x3267cb(0xad)]&&_0x11a7c6[_0x3267cb(0x7e)](_0x574c85)):(this['_onActorClickDelegate'][_0x3267cb(0xc5)](_0x3bcfc9),!_0x3bcfc9[_0x3267cb(0xad)]&&_0x11a7c6[_0x3267cb(0x91)](_0x574c85));}[_0x19fcb2(0xbc)](_0x36f4c6,_0x2b85cc,_0x5a258d){const _0x4573ce=_0x19fcb2;this[_0x4573ce(0xa2)](_0x36f4c6,_0x2b85cc,_0x5a258d);const _0xb684f5=_0x36f4c6['parentActor'];_0xb684f5&&_0xb684f5[_0x4573ce(0xe0)]&&this[_0x4573ce(0xa9)](_0xb684f5,_0x36f4c6,_0x2b85cc,_0x5a258d);}[_0x19fcb2(0x93)](){const _0x46c021=_0x19fcb2;this[_0x46c021(0xb2)]&&(window[_0x46c021(0x8f)](this[_0x46c021(0xb2)]),this['leftClickTimer']=null);}[_0x19fcb2(0xa6)](){const _0x46ba93=_0x19fcb2,_0x3b5692=this[_0x46ba93(0xee)]['canvas'];if(!_0x3b5692)return;_0x3b5692[_0x46ba93(0xa8)](_0x46ba93(0xd3),this[_0x46ba93(0xaf)]),_0x3b5692[_0x46ba93(0xa8)](_0x46ba93(0x97),this[_0x46ba93(0xa3)]),_0x3b5692[_0x46ba93(0xa8)]('pointerdown',this[_0x46ba93(0xf5)]);}['removeCorePointerListeners'](){const _0x429ce6=_0x19fcb2,_0x584c13=this[_0x429ce6(0xee)][_0x429ce6(0xd0)];if(!_0x584c13)return;_0x584c13['removeEventListener'](_0x429ce6(0xd3),this[_0x429ce6(0xaf)]),_0x584c13['removeEventListener'](_0x429ce6(0x97),this[_0x429ce6(0xa3)]),_0x584c13[_0x429ce6(0xd5)]('pointerdown',this[_0x429ce6(0xf5)]);}[_0x19fcb2(0x8b)](_0x4ffa6e=!![]){const _0x1fe220=_0x19fcb2;return this[_0x1fe220(0xfc)](this[_0x1fe220(0x9d)]['x'],this[_0x1fe220(0x9d)]['y'],_0x4ffa6e);}[_0x19fcb2(0xfc)](_0x253b3c,_0x2e47e8,_0x4e6ea3=!![]){const _0x8a4fca=_0x19fcb2;this['_raycastVec2'][_0x8a4fca(0xb5)](_0x253b3c,_0x2e47e8),this[_0x8a4fca(0xb7)][_0x8a4fca(0xf2)](this[_0x8a4fca(0xce)],this[_0x8a4fca(0xc1)]);const _0x47971f=this[_0x8a4fca(0xf3)](_0x253b3c,_0x2e47e8);if(!_0x4e6ea3)return _0x47971f[0x0]||null;for(const _0x31fc75 of _0x47971f){const _0xc72564=_0x31fc75['component'][_0x8a4fca(0xaa)]||_0x31fc75['component'][_0x8a4fca(0xe0)],_0x91ab45=_0x31fc75['component'][_0x8a4fca(0xef)],_0x595cec=_0x91ab45&&(_0x91ab45[_0x8a4fca(0xaa)]||_0x91ab45[_0x8a4fca(0xe0)]);if(_0xc72564||_0x595cec)return _0x31fc75;}return null;}[_0x19fcb2(0xf3)](_0xb154b7,_0x2f3c94){const _0x185ccd=_0x19fcb2;this[_0x185ccd(0xce)][_0x185ccd(0xb5)](_0xb154b7,_0x2f3c94),this[_0x185ccd(0xb7)]['setFromCamera'](this[_0x185ccd(0xce)],this[_0x185ccd(0xc1)]);const _0x546f8c=this[_0x185ccd(0xb7)]['intersectObjects'](this[_0x185ccd(0xc2)][_0x185ccd(0xfa)][_0x185ccd(0x99)],!![]),_0x5c84e3=[];for(const _0x1d8b22 of _0x546f8c){if(_0x1d8b22[_0x185ccd(0x9e)]['userData'][_0x185ccd(0xbd)])continue;const _0x384488=_0x1d8b22[_0x185ccd(0x9e)][_0x185ccd(0xa4)]['LYObject'];if(!_0x384488)continue;_0x5c84e3['push']({'component':_0x384488,'hit':_0x1d8b22});}return _0x5c84e3;}[_0x19fcb2(0xd4)](_0x30e494,_0x4d6037,_0x5c6883,_0xd4ed4e,_0x45325c=null,_0xa231fc=null){const _0x4f4fcb=_0x19fcb2;this[_0x4f4fcb(0x7f)][_0x4f4fcb(0xd4)](_0x30e494,_0x4d6037,_0x5c6883,_0xd4ed4e,_0x45325c,_0xa231fc);}}
|
|
72
|
+
const _0x579797=_0x245e;(function(_0xe7b8a1,_0x12cb1d){const _0x4e975c=_0x245e,_0x7d2196=_0xe7b8a1();while(!![]){try{const _0x4d569b=parseInt(_0x4e975c(0x155))/0x1*(parseInt(_0x4e975c(0x11b))/0x2)+-parseInt(_0x4e975c(0x167))/0x3*(parseInt(_0x4e975c(0x140))/0x4)+-parseInt(_0x4e975c(0x108))/0x5+parseInt(_0x4e975c(0x156))/0x6*(parseInt(_0x4e975c(0x14e))/0x7)+parseInt(_0x4e975c(0x105))/0x8*(parseInt(_0x4e975c(0x12e))/0x9)+-parseInt(_0x4e975c(0xf1))/0xa+-parseInt(_0x4e975c(0x14b))/0xb*(parseInt(_0x4e975c(0x161))/0xc);if(_0x4d569b===_0x12cb1d)break;else _0x7d2196['push'](_0x7d2196['shift']());}catch(_0x5afb57){_0x7d2196['push'](_0x7d2196['shift']());}}}(_0x4ab6,0x46ffa));function _0x4ab6(){const _0x2510b7=['2XXWSIv','_onActorHoverEndDelegate','updateCamera','onComponentPointerDownDelegate','getHitResultFromScreenPoint','copy','pointerdown','delete','onClickNothingDelegate','world','intersectObjects','app','onPointerMove','fireComponentClick','unpossess','onDoubleClicked','camera','pointerLeftDownPosition','doubleClickDelay','8676pOazps','pointerup','LYObject','onActorClickDelegate','clientY','ctrlKey','focusTo','add','rayIgnored','removeCorePointerListeners','userData','fireClickEvents','destroy','viewport','children','fireActorClick','getAllHitResultFromScreenPoint','pointerPosition','670692pwUvDN','_onComponentHoverBeginDelegate','onComponentHoverEndDelegate','onActorDoubleClick','set','onActorHoverBegin','removeEventListener','onActorHoverEnd','component','pointerleave','_pointButtonIsDown','55HYjMfS','shiftKey','onPointerUp','3898041yTNioa','onPointerDownEvent','onActorDoubleClickDelegate','getHitResultUnderCursor','onActorHoverBeginDelegate','onPointerMoveEvent','leftClickTimer','237685bStrrR','6nALsBg','pawn','assign','onHorveringEnd','broadcast','hoveringActor','isHoverEnabled','prepareClickHit','subVectors','onPointerLeaveEvent','onActorHoverEndDelegate','61428CLaetx','handleDoubleClick','handleFirstClick','scene','_app','isClickEnabled','3hFGmhz','onPointerLeave','_onClickNothingDelegate','_onComponentPointerDownDelegate','fireComponentHoverEnd','viewPort','addEventListener','prepareClickComponent','_onActorHoverBeginDelegate','prepareClickModifiers','hit','_onActorDoubleClickDelegate','2900110WIujwu','_raycastVec2','onPointerEnter','pointerenter','button','canvas\x20is\x20null','fireActorHoverEnd','clientX','onComponentDoubleClickDelegate','object','canvas','possess','_onComponentHoverEndDelegate','pointermove','setTimeout','setFromCamera','tick','onPointerDown','left','fireComponentHoverBegin','1416BxVoea','_tempVec2','_pawn','955435UbCrRR','hoveringComponent','_onActorClickDelegate','clearTimeout','raycaster','enabled','parentActor','handled','clearClickTimer','_onComponentClickDelegate','_onComponentDoubleClickDelegate','onComponentHoverBeginDelegate','onActorClick','onPointerUpEvent','firePointerDownEvent','altKey','top','init','clearHovering'];_0x4ab6=function(){return _0x2510b7;};return _0x4ab6();}function _0x245e(_0x6a9ab7,_0x3da5a0){_0x6a9ab7=_0x6a9ab7-0xe7;const _0x4ab61e=_0x4ab6();let _0x245efb=_0x4ab61e[_0x6a9ab7];return _0x245efb;}class Controller{get['camera'](){const _0x2dfaef=_0x245e;return this[_0x2dfaef(0x165)][_0x2dfaef(0x12b)];}get[_0x579797(0x124)](){const _0x21bde0=_0x579797;return this['_app'][_0x21bde0(0x124)];}get[_0x579797(0xea)](){const _0x52c194=_0x579797;return this[_0x52c194(0x165)][_0x52c194(0x13b)];}get[_0x579797(0x126)](){return this['_app'];}get[_0x579797(0x157)](){const _0x3e48d8=_0x579797;if(!this['_pawn'])throw Error('pawn\x20is\x20null');return this[_0x3e48d8(0x107)];}get['onComponentClickDelegate'](){const _0x5ce57f=_0x579797;return this[_0x5ce57f(0x111)];}get[_0x579797(0xf9)](){const _0x8975c3=_0x579797;return this[_0x8975c3(0x112)];}get[_0x579797(0x113)](){const _0x52802c=_0x579797;return this[_0x52802c(0x141)];}get[_0x579797(0x142)](){const _0x571d96=_0x579797;return this[_0x571d96(0xfd)];}get[_0x579797(0x11e)](){return this['_onComponentPointerDownDelegate'];}get[_0x579797(0x131)](){return this['_onActorClickDelegate'];}get[_0x579797(0x150)](){return this['_onActorDoubleClickDelegate'];}get[_0x579797(0x152)](){const _0x421f23=_0x579797;return this[_0x421f23(0xed)];}get[_0x579797(0x160)](){const _0x566443=_0x579797;return this[_0x566443(0x11c)];}get[_0x579797(0x123)](){const _0xc78623=_0x579797;return this[_0xc78623(0xe7)];}constructor(_0x19a553){const _0x59cb7e=_0x579797;this[_0x59cb7e(0x107)]=null,this[_0x59cb7e(0x109)]=null,this['hoveringActor']=null,this['prepareClickComponent']=null,this[_0x59cb7e(0x15d)]=null,this[_0x59cb7e(0xee)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this['_pointButtonIsDown']=new Set(),this[_0x59cb7e(0x111)]=new Delegate(),this[_0x59cb7e(0x112)]=new Delegate(),this[_0x59cb7e(0x141)]=new Delegate(),this['_onComponentHoverEndDelegate']=new Delegate(),this[_0x59cb7e(0xe8)]=new Delegate(),this[_0x59cb7e(0x10a)]=new Delegate(),this[_0x59cb7e(0xf0)]=new Delegate(),this[_0x59cb7e(0xed)]=new Delegate(),this[_0x59cb7e(0x11c)]=new Delegate(),this[_0x59cb7e(0xe7)]=new Delegate(),this[_0x59cb7e(0x13f)]=new webgpu.Vector2(),this[_0x59cb7e(0x12c)]=new webgpu.Vector2(),this[_0x59cb7e(0x106)]=new webgpu.Vector2(),this[_0x59cb7e(0xf2)]=new webgpu.Vector2(),this[_0x59cb7e(0x12d)]=0xfa,this[_0x59cb7e(0x154)]=null,this[_0x59cb7e(0x127)]=_0x122901=>this[_0x59cb7e(0x153)](_0x122901),this[_0x59cb7e(0xf3)]=_0x1f7238=>this['onPointerEnterEvent'](_0x1f7238),this[_0x59cb7e(0x168)]=_0x5233f4=>this[_0x59cb7e(0x15f)](_0x5233f4),this[_0x59cb7e(0x14d)]=_0x2655f2=>this[_0x59cb7e(0x115)](_0x2655f2),this[_0x59cb7e(0x102)]=_0x289b25=>this[_0x59cb7e(0x14f)](_0x289b25),this[_0x59cb7e(0x165)]=_0x19a553,this['_pawn']=new Orbital(this),this[_0x59cb7e(0x157)]['possess'](),this[_0x59cb7e(0x10c)]=new webgpu.Raycaster();}[_0x579797(0x119)](){const _0x28d0ed=_0x579797,_0x19f82f=this['viewPort']['canvas'];_0x19f82f&&(_0x19f82f[_0x28d0ed(0xeb)](_0x28d0ed(0xf4),this[_0x28d0ed(0xf3)]),_0x19f82f['addEventListener'](_0x28d0ed(0x149),this['onPointerLeave']),this['addCorePointerListeners']());}[_0x579797(0x11d)](){const _0xce731e=_0x579797;var _0x5d433b,_0x54b00b;const _0x299f44=this[_0xce731e(0x157)][_0xce731e(0x10d)];(_0x5d433b=this[_0xce731e(0x107)])===null||_0x5d433b===void 0?void 0:_0x5d433b[_0xce731e(0x129)](),(_0x54b00b=this[_0xce731e(0x107)])===null||_0x54b00b===void 0?void 0:_0x54b00b[_0xce731e(0x13a)](),this[_0xce731e(0x107)]=new Orbital(this),this['pawn'][_0xce731e(0xfc)](),this[_0xce731e(0x157)][_0xce731e(0x10d)]=_0x299f44;}['tick'](_0x405d96){const _0x5b508f=_0x579797;this['pawn'][_0x5b508f(0x101)](_0x405d96);}['destroy'](){const _0x1edea3=_0x579797;this[_0x1edea3(0x110)](),this[_0x1edea3(0x11a)]();const _0x116675=this['viewPort']['canvas'];_0x116675&&(_0x116675[_0x1edea3(0x146)]('pointerenter',this[_0x1edea3(0xf3)]),_0x116675[_0x1edea3(0x146)](_0x1edea3(0x149),this[_0x1edea3(0x168)]),this[_0x1edea3(0x137)]()),this[_0x1edea3(0x157)][_0x1edea3(0x129)](),this[_0x1edea3(0x157)][_0x1edea3(0x13a)](),this[_0x1edea3(0x107)]=null;}[_0x579797(0x153)](_0x3980ed){const _0x4403ab=_0x579797;var _0x5b8fa9,_0xccf6b9;const _0x627ceb=this['viewPort'][_0x4403ab(0xfb)];if(!_0x627ceb)throw Error(_0x4403ab(0xf6));const _0x15e030=_0x627ceb['getBoundingClientRect']();this['pointerPosition'][_0x4403ab(0x144)]((_0x3980ed[_0x4403ab(0xf8)]-_0x15e030[_0x4403ab(0x103)])/_0x627ceb['clientWidth']*0x2-0x1,0x1-(_0x3980ed[_0x4403ab(0x132)]-_0x15e030[_0x4403ab(0x118)])/_0x627ceb['clientHeight']*0x2);if(this['_pointButtonIsDown']['size']>0x0)return;const _0x56cd79=this[_0x4403ab(0x151)](),_0x20d6bf=(_0x5b8fa9=_0x56cd79===null||_0x56cd79===void 0?void 0:_0x56cd79['component'])!==null&&_0x5b8fa9!==void 0?_0x5b8fa9:null,_0x4e9199=(_0xccf6b9=_0x20d6bf===null||_0x20d6bf===void 0?void 0:_0x20d6bf[_0x4403ab(0x10e)])!==null&&_0xccf6b9!==void 0?_0xccf6b9:null;_0x20d6bf!==this[_0x4403ab(0x109)]&&(this[_0x4403ab(0x109)]&&this[_0x4403ab(0xe9)](this[_0x4403ab(0x109)]),_0x20d6bf&&_0x56cd79&&this[_0x4403ab(0x104)](_0x20d6bf,_0x56cd79['hit'])),_0x4e9199!==this[_0x4403ab(0x15b)]&&(this[_0x4403ab(0x15b)]&&this[_0x4403ab(0x109)]&&this[_0x4403ab(0xf7)](this[_0x4403ab(0x15b)],this[_0x4403ab(0x109)]),_0x4e9199&&_0x20d6bf&&_0x56cd79&&this['fireActorHoverBegin'](_0x4e9199,_0x20d6bf,_0x56cd79[_0x4403ab(0xef)])),this[_0x4403ab(0x109)]=_0x20d6bf,this[_0x4403ab(0x15b)]=_0x4e9199;}[_0x579797(0x11a)](){const _0x57c775=_0x579797;this[_0x57c775(0x109)]&&this[_0x57c775(0xe9)](this[_0x57c775(0x109)]),this[_0x57c775(0x15b)]&&this[_0x57c775(0x109)]&&this[_0x57c775(0xf7)](this[_0x57c775(0x15b)],this[_0x57c775(0x109)]),this['hoveringComponent']=null,this[_0x57c775(0x15b)]=null;}[_0x579797(0x115)](_0x2d7fa3){const _0x5b1864=_0x579797;this[_0x5b1864(0x14a)][_0x5b1864(0x122)](_0x2d7fa3[_0x5b1864(0xf5)]);if(_0x2d7fa3[_0x5b1864(0xf5)]!==0x0)return;const _0x31acd3=this['_tempVec2'][_0x5b1864(0x15e)](this['pointerLeftDownPosition'],this[_0x5b1864(0x13f)])['length']();if(_0x31acd3>0.005){this[_0x5b1864(0x110)]();return;}this[_0x5b1864(0xee)]={'ctrlKey':_0x2d7fa3[_0x5b1864(0x133)],'shiftKey':_0x2d7fa3[_0x5b1864(0x14c)],'altKey':_0x2d7fa3[_0x5b1864(0x117)]},!this[_0x5b1864(0x154)]?this[_0x5b1864(0x163)]():this[_0x5b1864(0x162)]();}['handleFirstClick'](){const _0x66a98d=_0x579797,_0x2eb4dc=this[_0x66a98d(0x151)](),_0x38f0b3=_0x2eb4dc===null||_0x2eb4dc===void 0?void 0:_0x2eb4dc[_0x66a98d(0x148)];_0x38f0b3 instanceof SceneComponent&&_0x2eb4dc?(this[_0x66a98d(0xec)]=_0x38f0b3,this[_0x66a98d(0x15d)]=_0x2eb4dc['hit'],this[_0x66a98d(0x154)]=window[_0x66a98d(0xff)](()=>{const _0x45682a=_0x66a98d;this[_0x45682a(0x154)]=null,this[_0x45682a(0xec)]&&this[_0x45682a(0x15d)]&&(this[_0x45682a(0x139)](this[_0x45682a(0xec)],this[_0x45682a(0x15d)],![]),this['prepareClickComponent']=null,this['prepareClickHit']=null);},this[_0x66a98d(0x12d)])):this[_0x66a98d(0xe7)][_0x66a98d(0x15a)]();}['handleDoubleClick'](){const _0x1d90d5=_0x579797;this[_0x1d90d5(0x110)](),this['prepareClickComponent']&&this[_0x1d90d5(0x15d)]?this[_0x1d90d5(0x139)](this[_0x1d90d5(0xec)],this[_0x1d90d5(0x15d)],!![]):this[_0x1d90d5(0xe7)][_0x1d90d5(0x15a)](),this[_0x1d90d5(0xec)]=null,this[_0x1d90d5(0x15d)]=null;}[_0x579797(0x14f)](_0x4a4630){const _0xebdbb=_0x579797;this['_pointButtonIsDown'][_0xebdbb(0x135)](_0x4a4630[_0xebdbb(0xf5)]);_0x4a4630[_0xebdbb(0xf5)]===0x0&&this[_0xebdbb(0x12c)][_0xebdbb(0x120)](this[_0xebdbb(0x13f)]);const _0x219c4f=this[_0xebdbb(0x151)](),_0x398c1f=_0x219c4f===null||_0x219c4f===void 0?void 0:_0x219c4f['component'];_0x398c1f instanceof SceneComponent&&_0x219c4f&&this[_0xebdbb(0x116)](_0x398c1f,_0x219c4f[_0xebdbb(0xef)],_0x4a4630[_0xebdbb(0xf5)]);}['onPointerEnterEvent'](_0x38483f){this['addCorePointerListeners']();}[_0x579797(0x15f)](_0x53bb5b){this['removeCorePointerListeners']();}[_0x579797(0x104)](_0xeb76eb,_0x3e05a5){const _0x3a1ccf=_0x579797,_0x5ce854={'component':_0xeb76eb,'hit':_0x3e05a5,'handled':![]};this['_onComponentHoverBeginDelegate'][_0x3a1ccf(0x15a)](_0x5ce854),!_0x5ce854['handled']&&_0xeb76eb['onHorveringBegin']();}[_0x579797(0xe9)](_0x21b82a){const _0x583897=_0x579797,_0x3114dc={'component':_0x21b82a,'hit':null,'handled':![]};this[_0x583897(0xfd)][_0x583897(0x15a)](_0x3114dc),!_0x3114dc['handled']&&_0x21b82a[_0x583897(0x159)]();}[_0x579797(0x128)](_0x4a4d18,_0x12e061,_0x12cdda){const _0xfbd21b=_0x579797,_0x533333=Object['assign']({'component':_0x4a4d18,'hit':_0x12e061,'handled':![]},this['prepareClickModifiers']);_0x12cdda?(this[_0xfbd21b(0x112)][_0xfbd21b(0x15a)](_0x533333),!_0x533333[_0xfbd21b(0x10f)]&&_0x4a4d18[_0xfbd21b(0x12a)]()):(this[_0xfbd21b(0x111)][_0xfbd21b(0x15a)](_0x533333),!_0x533333['handled']&&_0x4a4d18['onClicked']());}['firePointerDownEvent'](_0x41884f,_0x1eda21,_0x340b4e){const _0x195202=_0x579797,_0x1f9e90={'component':_0x41884f,'hit':_0x1eda21,'button':_0x340b4e,'handled':![]};this[_0x195202(0xe8)][_0x195202(0x15a)](_0x1f9e90);}['fireActorHoverBegin'](_0x67d683,_0x7ee61b,_0x5976a0){const _0x169adc=_0x579797,_0x138790={'actor':_0x67d683,'component':_0x7ee61b,'hit':_0x5976a0,'handled':![]};this[_0x169adc(0xed)][_0x169adc(0x15a)](_0x138790),!_0x138790[_0x169adc(0x10f)]&&_0x67d683[_0x169adc(0x145)](_0x7ee61b);}[_0x579797(0xf7)](_0x5affcb,_0x1e47d5){const _0x2c7cc9=_0x579797,_0x15c638={'actor':_0x5affcb,'component':_0x1e47d5,'hit':null,'handled':![]};this[_0x2c7cc9(0x11c)][_0x2c7cc9(0x15a)](_0x15c638),!_0x15c638['handled']&&_0x5affcb[_0x2c7cc9(0x147)](_0x1e47d5);}[_0x579797(0x13d)](_0x1290ae,_0x5410b3,_0x9f1b6d,_0x356266){const _0x5356ce=_0x579797,_0x3c7035=Object[_0x5356ce(0x158)]({'actor':_0x1290ae,'component':_0x5410b3,'hit':_0x9f1b6d,'handled':![]},this['prepareClickModifiers']);_0x356266?(this[_0x5356ce(0xf0)]['broadcast'](_0x3c7035),!_0x3c7035[_0x5356ce(0x10f)]&&_0x1290ae[_0x5356ce(0x143)](_0x5410b3)):(this[_0x5356ce(0x10a)][_0x5356ce(0x15a)](_0x3c7035),!_0x3c7035[_0x5356ce(0x10f)]&&_0x1290ae[_0x5356ce(0x114)](_0x5410b3));}[_0x579797(0x139)](_0x5490e3,_0x392491,_0x2d8e16){const _0x40a5ae=_0x579797;this[_0x40a5ae(0x128)](_0x5490e3,_0x392491,_0x2d8e16);const _0x483771=_0x5490e3[_0x40a5ae(0x10e)];_0x483771&&_0x483771[_0x40a5ae(0x166)]&&this[_0x40a5ae(0x13d)](_0x483771,_0x5490e3,_0x392491,_0x2d8e16);}[_0x579797(0x110)](){const _0x99754a=_0x579797;this[_0x99754a(0x154)]&&(window[_0x99754a(0x10b)](this[_0x99754a(0x154)]),this[_0x99754a(0x154)]=null);}['addCorePointerListeners'](){const _0x3c957c=_0x579797,_0x50b6de=this['viewPort'][_0x3c957c(0xfb)];if(!_0x50b6de)return;_0x50b6de[_0x3c957c(0xeb)](_0x3c957c(0xfe),this[_0x3c957c(0x127)]),_0x50b6de[_0x3c957c(0xeb)](_0x3c957c(0x12f),this[_0x3c957c(0x14d)]),_0x50b6de['addEventListener'](_0x3c957c(0x121),this[_0x3c957c(0x102)]);}[_0x579797(0x137)](){const _0x5f9360=_0x579797,_0x5414df=this[_0x5f9360(0xea)]['canvas'];if(!_0x5414df)return;_0x5414df[_0x5f9360(0x146)](_0x5f9360(0xfe),this[_0x5f9360(0x127)]),_0x5414df[_0x5f9360(0x146)]('pointerup',this[_0x5f9360(0x14d)]),_0x5414df[_0x5f9360(0x146)](_0x5f9360(0x121),this['onPointerDown']);}[_0x579797(0x151)](_0x5f5a24=!![]){const _0xb5c8c0=_0x579797;return this[_0xb5c8c0(0x11f)](this['pointerPosition']['x'],this[_0xb5c8c0(0x13f)]['y'],_0x5f5a24);}['getHitResultFromScreenPoint'](_0x9248d5,_0x41dc7b,_0x558024=!![]){const _0x50609c=_0x579797;this[_0x50609c(0xf2)]['set'](_0x9248d5,_0x41dc7b),this[_0x50609c(0x10c)]['setFromCamera'](this[_0x50609c(0xf2)],this[_0x50609c(0x12b)]);const _0x4898e5=this[_0x50609c(0x13e)](_0x9248d5,_0x41dc7b);if(!_0x558024)return _0x4898e5[0x0]||null;for(const _0x1c8826 of _0x4898e5){const _0x517927=_0x1c8826['component'][_0x50609c(0x15c)]||_0x1c8826[_0x50609c(0x148)][_0x50609c(0x166)],_0xb8da43=_0x1c8826[_0x50609c(0x148)][_0x50609c(0x10e)],_0x1fa74d=_0xb8da43&&(_0xb8da43[_0x50609c(0x15c)]||_0xb8da43[_0x50609c(0x166)]);if(_0x517927||_0x1fa74d)return _0x1c8826;}return null;}[_0x579797(0x13e)](_0x5898ef,_0xd2e28b){const _0x501ad2=_0x579797;this[_0x501ad2(0xf2)][_0x501ad2(0x144)](_0x5898ef,_0xd2e28b),this[_0x501ad2(0x10c)][_0x501ad2(0x100)](this[_0x501ad2(0xf2)],this[_0x501ad2(0x12b)]);const _0x4145a8=this[_0x501ad2(0x10c)][_0x501ad2(0x125)](this['world'][_0x501ad2(0x164)][_0x501ad2(0x13c)],!![]),_0x31557=[];for(const _0x2faab1 of _0x4145a8){if(_0x2faab1[_0x501ad2(0xfa)]['userData'][_0x501ad2(0x136)])continue;const _0x456562=_0x2faab1[_0x501ad2(0xfa)][_0x501ad2(0x138)][_0x501ad2(0x130)];if(!_0x456562)continue;_0x31557['push']({'component':_0x456562,'hit':_0x2faab1});}return _0x31557;}[_0x579797(0x134)](_0x3fc168,_0x4d40d0,_0x577fb8,_0x204da0,_0x4b2591=null,_0x12e4b6=null){const _0x3fa53a=_0x579797;this[_0x3fa53a(0x157)][_0x3fa53a(0x134)](_0x3fc168,_0x4d40d0,_0x577fb8,_0x204da0,_0x4b2591,_0x12e4b6);}}
|
|
73
73
|
|
|
74
|
-
const
|
|
74
|
+
const _0x242020=_0x286a;function _0x286a(_0x410c3f,_0x274c84){_0x410c3f=_0x410c3f-0x1a5;const _0x1c9958=_0x1c99();let _0x286a0d=_0x1c9958[_0x410c3f];return _0x286a0d;}(function(_0x2bba09,_0x51fcdf){const _0x176b8f=_0x286a,_0x3da92c=_0x2bba09();while(!![]){try{const _0x4dd99f=parseInt(_0x176b8f(0x1bc))/0x1*(-parseInt(_0x176b8f(0x1b1))/0x2)+parseInt(_0x176b8f(0x1ba))/0x3*(-parseInt(_0x176b8f(0x1bd))/0x4)+-parseInt(_0x176b8f(0x1a7))/0x5+parseInt(_0x176b8f(0x1bf))/0x6+parseInt(_0x176b8f(0x1c1))/0x7*(-parseInt(_0x176b8f(0x1a6))/0x8)+-parseInt(_0x176b8f(0x1aa))/0x9*(parseInt(_0x176b8f(0x1b8))/0xa)+parseInt(_0x176b8f(0x1b2))/0xb;if(_0x4dd99f===_0x51fcdf)break;else _0x3da92c['push'](_0x3da92c['shift']());}catch(_0x2b3f12){_0x3da92c['push'](_0x3da92c['shift']());}}}(_0x1c99,0x3aa30));function _0x1c99(){const _0x543bef=['right','1235rWxJVs','2832WNcLUG','near','2053824rktOAZ','type','6881ImtbkD','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','1456hTvWcA','1477880PTPkgv','Perspective','left','27cjeOWF','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','fov','Invalid\x20camera\x20type','createCamera','top','updataCamera','394BCaFwD','12061907AdjQLI','warn','aspect','bottom','Orthographic','far','1067240WeNMyB','[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead','681mECmEC'];_0x1c99=function(){return _0x543bef;};return _0x1c99();}class CameraFactory{static[_0x242020(0x1ae)](_0x3881cc){const _0x5b116d=_0x242020;try{switch(_0x3881cc[_0x5b116d(0x1c0)]){case _0x5b116d(0x1a8):{let _0x1745da=_0x3881cc;return new webgpu.PerspectiveCamera(_0x1745da[_0x5b116d(0x1ac)],_0x1745da[_0x5b116d(0x1b4)],_0x1745da[_0x5b116d(0x1be)],_0x1745da['far']);}case 'Orthographic':{let _0x84da61=_0x3881cc;return new webgpu.OrthographicCamera(_0x84da61[_0x5b116d(0x1a9)],_0x84da61[_0x5b116d(0x1bb)],_0x84da61[_0x5b116d(0x1af)],_0x84da61['bottom'],_0x84da61[_0x5b116d(0x1be)],_0x84da61[_0x5b116d(0x1b7)]);}default:{throw new Error(_0x5b116d(0x1ad));}}}catch(_0x17a2f3){return console[_0x5b116d(0x1b3)]('[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20',_0x17a2f3),console[_0x5b116d(0x1b3)](_0x5b116d(0x1b9)),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0x242020(0x1b0)](_0x59cb01,_0x1e822b){const _0x1fcac6=_0x242020;try{switch(_0x59cb01['type']){case _0x1fcac6(0x1a8):{let _0x60ab86=_0x59cb01;if(_0x1e822b instanceof webgpu.PerspectiveCamera)return _0x1e822b[_0x1fcac6(0x1be)]=_0x60ab86['near'],_0x1e822b['far']=_0x60ab86[_0x1fcac6(0x1b7)],_0x1e822b[_0x1fcac6(0x1ac)]=_0x60ab86[_0x1fcac6(0x1ac)],_0x1e822b[_0x1fcac6(0x1b4)]=_0x60ab86[_0x1fcac6(0x1b4)],_0x1e822b;return new webgpu.PerspectiveCamera(_0x60ab86[_0x1fcac6(0x1ac)],_0x60ab86[_0x1fcac6(0x1b4)],_0x60ab86[_0x1fcac6(0x1be)],_0x60ab86[_0x1fcac6(0x1b7)]);}case _0x1fcac6(0x1b6):{let _0x203c64=_0x59cb01;if(_0x1e822b instanceof webgpu.OrthographicCamera)return _0x1e822b['near']=_0x203c64['near'],_0x1e822b['far']=_0x203c64[_0x1fcac6(0x1b7)],_0x1e822b[_0x1fcac6(0x1a9)]=_0x203c64[_0x1fcac6(0x1a9)],_0x1e822b[_0x1fcac6(0x1bb)]=_0x203c64[_0x1fcac6(0x1bb)],_0x1e822b[_0x1fcac6(0x1af)]=_0x203c64[_0x1fcac6(0x1af)],_0x1e822b['bottom']=_0x203c64[_0x1fcac6(0x1b5)],_0x1e822b;return new webgpu.OrthographicCamera(_0x203c64['left'],_0x203c64[_0x1fcac6(0x1bb)],_0x203c64[_0x1fcac6(0x1af)],_0x203c64[_0x1fcac6(0x1b5)],_0x203c64['near'],_0x203c64[_0x1fcac6(0x1b7)]);}default:{throw new Error(_0x1fcac6(0x1ad));}}}catch(_0x57dd40){return console[_0x1fcac6(0x1b3)](_0x1fcac6(0x1a5),_0x57dd40),console[_0x1fcac6(0x1b3)](_0x1fcac6(0x1ab)),_0x1e822b;}}}
|
|
75
75
|
|
|
76
|
-
const
|
|
76
|
+
const _0x5667af=_0x548b;(function(_0x4c5a51,_0xcb2d74){const _0x376500=_0x548b,_0x57bf95=_0x4c5a51();while(!![]){try{const _0x42e062=-parseInt(_0x376500(0x133))/0x1*(parseInt(_0x376500(0x13f))/0x2)+-parseInt(_0x376500(0x135))/0x3*(-parseInt(_0x376500(0x13a))/0x4)+parseInt(_0x376500(0x136))/0x5*(parseInt(_0x376500(0x139))/0x6)+-parseInt(_0x376500(0x137))/0x7*(parseInt(_0x376500(0x13b))/0x8)+parseInt(_0x376500(0x132))/0x9*(-parseInt(_0x376500(0x134))/0xa)+parseInt(_0x376500(0x13e))/0xb*(parseInt(_0x376500(0x138))/0xc)+parseInt(_0x376500(0x140))/0xd;if(_0x42e062===_0xcb2d74)break;else _0x57bf95['push'](_0x57bf95['shift']());}catch(_0x135167){_0x57bf95['push'](_0x57bf95['shift']());}}}(_0xfd21,0xa80d7));function _0x548b(_0x34ab62,_0x595160){_0x34ab62=_0x34ab62-0x132;const _0xfd21ff=_0xfd21();let _0x548b06=_0xfd21ff[_0x34ab62];return _0x548b06;}const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x5667af(0x13d),'fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':'Orthographic','near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON[_0x5667af(0x13c)](JSON[_0x5667af(0x141)](DefaultPerspectiveCameraParam));function _0xfd21(){const _0xee4600=['84176JreUlN','9644104QCBjLY','parse','Perspective','599665trPyCA','1822654DjSatL','23467665wNLntK','stringify','9HtiHux','1BLopPd','3118030BkSRlb','12nvhnhI','58750KtHtap','7PTogAa','84CvKSfS','432tbpRPl'];_0xfd21=function(){return _0xee4600;};return _0xfd21();}
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _0x5c35(){const _0x254f8e=['11cnZxix','4010ooUQqS','115257RpdtEJ','82336aEwBrO','7sdJVri','4683648dHPxOx','189762YkgeEs','3465mEjypg','2808hEVnlz','4vtvgQY','1596JTenwx','2648824ptGiyU'];_0x5c35=function(){return _0x254f8e;};return _0x5c35();}function _0x3720(_0x4489fc,_0x4c5c52){_0x4489fc=_0x4489fc-0x6f;const _0x5c3588=_0x5c35();let _0x37209d=_0x5c3588[_0x4489fc];return _0x37209d;}(function(_0x6697f9,_0x887b2f){const _0x3bcfbf=_0x3720,_0x2fd313=_0x6697f9();while(!![]){try{const _0x58dbfa=-parseInt(_0x3bcfbf(0x70))/0x1+parseInt(_0x3bcfbf(0x76))/0x2*(-parseInt(_0x3bcfbf(0x6f))/0x3)+parseInt(_0x3bcfbf(0x77))/0x4*(parseInt(_0x3bcfbf(0x74))/0x5)+parseInt(_0x3bcfbf(0x73))/0x6+parseInt(_0x3bcfbf(0x71))/0x7*(-parseInt(_0x3bcfbf(0x78))/0x8)+parseInt(_0x3bcfbf(0x75))/0x9*(parseInt(_0x3bcfbf(0x7a))/0xa)+-parseInt(_0x3bcfbf(0x79))/0xb*(-parseInt(_0x3bcfbf(0x72))/0xc);if(_0x58dbfa===_0x887b2f)break;else _0x2fd313['push'](_0x2fd313['shift']());}catch(_0x25f39c){_0x2fd313['push'](_0x2fd313['shift']());}}}(_0x5c35,0x515d9));const DefaultViewportParam={'elementId':null,'isLabelRendererNeeded':![],'isUILayerNeeded':![]};
|
|
79
79
|
|
|
80
|
-
(function(
|
|
80
|
+
(function(_0x5965a5,_0x2f4854){const _0x96da50=_0x58e8,_0xba7c41=_0x5965a5();while(!![]){try{const _0x4af78b=-parseInt(_0x96da50(0x11e))/0x1+-parseInt(_0x96da50(0x121))/0x2+-parseInt(_0x96da50(0x120))/0x3*(-parseInt(_0x96da50(0x11d))/0x4)+-parseInt(_0x96da50(0x122))/0x5+parseInt(_0x96da50(0x11a))/0x6+-parseInt(_0x96da50(0x11f))/0x7*(-parseInt(_0x96da50(0x11b))/0x8)+parseInt(_0x96da50(0x11c))/0x9;if(_0x4af78b===_0x2f4854)break;else _0xba7c41['push'](_0xba7c41['shift']());}catch(_0x4b7e3b){_0xba7c41['push'](_0xba7c41['shift']());}}}(_0xe643,0x51e5d));const DefaultRendererParameters={'logarithmicDepthBuffer':![],'alpha':![],'depth':!![],'stencil':![],'antialias':![],'samples':0x1,'forceWebGL':![],'outputBufferType':0x3f8,'toneMapping':0x0,'toneMappingExposure':0x1,'shadowMapEnabled':!![],'shadowMapType':0x1};function _0xe643(){const _0x53c278=['781415zRZtXf','2952468drcGPk','680fGcEyp','2519640TaGcWh','153532ETNzKP','111538hJidmX','5348BaqrXy','6DCVUAZ','620940tNTdDR'];_0xe643=function(){return _0x53c278;};return _0xe643();}function _0x58e8(_0x1017ed,_0x3eef21){_0x1017ed=_0x1017ed-0x11a;const _0xe643f3=_0xe643();let _0x58e875=_0xe643f3[_0x1017ed];return _0x58e875;}
|
|
81
81
|
|
|
82
|
-
(function(
|
|
82
|
+
(function(_0x1a5a07,_0x3428be){const _0x5a3b5d=_0x2b36,_0x45fb5d=_0x1a5a07();while(!![]){try{const _0x321a32=parseInt(_0x5a3b5d(0xb8))/0x1+-parseInt(_0x5a3b5d(0xbd))/0x2*(parseInt(_0x5a3b5d(0xbc))/0x3)+parseInt(_0x5a3b5d(0xbf))/0x4+parseInt(_0x5a3b5d(0xbb))/0x5*(parseInt(_0x5a3b5d(0xbe))/0x6)+parseInt(_0x5a3b5d(0xc0))/0x7*(parseInt(_0x5a3b5d(0xba))/0x8)+parseInt(_0x5a3b5d(0xb9))/0x9+parseInt(_0x5a3b5d(0xb7))/0xa*(-parseInt(_0x5a3b5d(0xc1))/0xb);if(_0x321a32===_0x3428be)break;else _0x45fb5d['push'](_0x45fb5d['shift']());}catch(_0x29bdaa){_0x45fb5d['push'](_0x45fb5d['shift']());}}}(_0x1bac,0x70988));function _0x2b36(_0x3ddfba,_0x13ceb5){_0x3ddfba=_0x3ddfba-0xb7;const _0x1bacaf=_0x1bac();let _0x2b3676=_0x1bacaf[_0x3ddfba];return _0x2b3676;}const DefaultAppParam={'renderParam':DefaultRendererParameters,'cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};function _0x1bac(){const _0x2b6d06=['5111320oUdxkL','904517sgOXjz','2617056ihNfQR','56WrfdfT','324410goIYqo','452418AYOJUs','4yYqByQ','78hShYXu','873968iSiCel','38941rTbQYi','33WtefzP'];_0x1bac=function(){return _0x2b6d06;};return _0x1bac();}
|
|
83
83
|
|
|
84
|
-
const _0x4e3997=_0x1f5b;(function(_0x49b604,_0x3bc784){const _0x2024d7=_0x1f5b,_0x131ce4=_0x49b604();while(!![]){try{const _0x156f60=-parseInt(_0x2024d7(0x180))/0x1+-parseInt(_0x2024d7(0x179))/0x2+-parseInt(_0x2024d7(0x18a))/0x3+parseInt(_0x2024d7(0x1a0))/0x4+-parseInt(_0x2024d7(0x1a7))/0x5*(-parseInt(_0x2024d7(0x1ab))/0x6)+parseInt(_0x2024d7(0x18b))/0x7*(-parseInt(_0x2024d7(0x169))/0x8)+-parseInt(_0x2024d7(0x17a))/0x9*(-parseInt(_0x2024d7(0x1ba))/0xa);if(_0x156f60===_0x3bc784)break;else _0x131ce4['push'](_0x131ce4['shift']());}catch(_0x18e16a){_0x131ce4['push'](_0x131ce4['shift']());}}}(_0x41fc,0xecc3b));function _0x41fc(){const _0x163233=['has','getWorldUpDirection','1692830nZxqNL','destroy','getWorldPosition','constructRootComponent','addChildComponent','world','destroyChildren','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','LYObject','localToWorld','onActorDoubleClick','isTickEnabled','_rootComponent','KeepRelative','_onDoubleClickDelegate','getRotation','onActorHoverEnd','getWorldForwardDirection','markRenderStateDirty','addComponent','getWorldRotation','childActors','2211688ZEFMju','setWorldMatrix','setQuaternion','KeepWorld','getChildActorById','uuid','threeObject','getPosition','setLayers','_name','setScale','parentActor','push','length','onActorClick','getWorldRightDirection','3179974VccMSx','153JKgKhn','error','Actor','detachComponent','_world','isVisible','1537489eXhVqi','getWorldMatrix','onHoverEndDelegate','getWorldScale','onAddedToWorld','getQuaternion','getChildActorsByIds','worldToLocal','clearComponent','getComponentById','1274979cXSYwy','21qegUdP','parent','size','min','setVisible','attachComponent','rootComponent','sub','detachFromParentComponent','addLocalOffset','onHoverBeginDelegate','isHoverEnabled','onRemovedFromWorld','childrenComponents','isClickEnabled','onClickDelegate','broadcast','removeFromParent','getCenter','addChildActor','tick','2360980JliQGh','app','_onHoverBeginDelegate','_onHoverEndDelegate','getBoundsTopCenterPosition','getBoundsCenterPosition','setPosition','5ajaJjx','addTickableActor','getBounds','max','11301498tQBcgi','getScale','userData','setRotation','getBoundsBottomCenterPosition','onActorHoverBegin','viewport','forEach','rootComponent\x20is\x20invalid','removeChildActor','_onClickDelegate','getWorldQuaternion','delete'];_0x41fc=function(){return _0x163233;};return _0x41fc();}function _0x1f5b(_0x330967,_0x5e5b04){_0x330967=_0x330967-0x162;const _0x41fcac=_0x41fc();let _0x1f5bcb=_0x41fcac[_0x330967];return _0x1f5bcb;}class Actor extends BaseObject{get[_0x4e3997(0x1bf)](){const _0x10e6ea=_0x4e3997;return this[_0x10e6ea(0x17e)];}get['name'](){const _0x1ea0ee=_0x4e3997;return this[_0x1ea0ee(0x172)];}set['name'](_0xee96eb){const _0x11eb89=_0x4e3997;this[_0x11eb89(0x172)]=_0xee96eb;}get['rootComponent'](){const _0xcc42ce=_0x4e3997;if(!this[_0xcc42ce(0x1c6)])throw Error(_0xcc42ce(0x1b3));return this[_0xcc42ce(0x1c6)];}set['rootComponent'](_0x24c3c1){const _0x504a8c=_0x4e3997;_0x24c3c1[_0x504a8c(0x193)](),_0x24c3c1[_0x504a8c(0x174)]=this;if(this[_0x504a8c(0x1c6)]){let _0x406a02=this[_0x504a8c(0x191)][_0x504a8c(0x198)];for(let _0x4874fc=0x0;_0x4874fc<_0x406a02[_0x504a8c(0x176)];++_0x4874fc){_0x24c3c1['addChildComponent'](_0x406a02[_0x4874fc]);}this['rootComponent'][_0x504a8c(0x1bb)]();}this[_0x504a8c(0x1c6)]=_0x24c3c1;}get['childrenComponents'](){const _0xe45919=_0x4e3997;return this[_0xe45919(0x191)]['childrenComponents'];}get[_0x4e3997(0x168)](){const _0x34a941=_0x4e3997;var _0xbb2a11;let _0x30b9bc=[];return (_0xbb2a11=this[_0x34a941(0x191)]['threeObject'])===null||_0xbb2a11===void 0?void 0:_0xbb2a11['children']['forEach'](_0x41b61a=>{const _0x273e75=_0x34a941;var _0x172542;let _0x9bd9a4=(_0x172542=_0x41b61a[_0x273e75(0x1ad)][_0x273e75(0x1c2)])===null||_0x172542===void 0?void 0:_0x172542[_0x273e75(0x174)];_0x9bd9a4!==this&&_0x9bd9a4 instanceof Actor&&_0x30b9bc[_0x273e75(0x175)](_0x9bd9a4);}),_0x30b9bc;}get['parentActor'](){const _0x435822=_0x4e3997;var _0x3bd362,_0x2442ff;let _0x56073e=(_0x2442ff=(_0x3bd362=this[_0x435822(0x191)][_0x435822(0x16f)])===null||_0x3bd362===void 0?void 0:_0x3bd362[_0x435822(0x18c)])===null||_0x2442ff===void 0?void 0:_0x2442ff[_0x435822(0x1ad)][_0x435822(0x1c2)][_0x435822(0x174)];return _0x56073e===this?null:_0x56073e;}get[_0x4e3997(0x17f)](){const _0x27e344=_0x4e3997;return this[_0x27e344(0x191)]?this['rootComponent'][_0x27e344(0x17f)]:![];}get['isTickEnabled'](){return super['isTickEnabled'];}set[_0x4e3997(0x1c5)](_0x5d5c13){const _0x509ea0=_0x4e3997;super[_0x509ea0(0x1c5)]=_0x5d5c13,this[_0x509ea0(0x1c5)]?this[_0x509ea0(0x1a1)][_0x509ea0(0x1bf)][_0x509ea0(0x1a8)](this):this[_0x509ea0(0x1a1)]['world']['removeTickableActor'](this);}get[_0x4e3997(0x195)](){return this['_onHoverBeginDelegate'];}get[_0x4e3997(0x182)](){const _0x38b04b=_0x4e3997;return this[_0x38b04b(0x1a3)];}get[_0x4e3997(0x19a)](){return this['_onClickDelegate'];}get['onDoubleClickDelegate'](){const _0x46dafb=_0x4e3997;return this[_0x46dafb(0x1c8)];}constructor(_0xd2408d,_0x55ae0f){const _0x507cd8=_0x4e3997;super(_0x55ae0f),this[_0x507cd8(0x172)]=_0x507cd8(0x17c),this[_0x507cd8(0x1c6)]=null,this[_0x507cd8(0x17e)]=null,this[_0x507cd8(0x1a2)]=new Delegate(),this[_0x507cd8(0x1a3)]=new Delegate(),this[_0x507cd8(0x1b5)]=new Delegate(),this[_0x507cd8(0x1c8)]=new Delegate(),this[_0x507cd8(0x1a1)]=_0xd2408d,this[_0x507cd8(0x191)]=this[_0x507cd8(0x1bd)](),this[_0x507cd8(0x191)][_0x507cd8(0x174)]=this;}['constructRootComponent'](){return new SceneComponent(this['app']);}[_0x4e3997(0x1a5)](_0x217676=!![]){const _0x556627=_0x4e3997;let _0x5ea79b=new webgpu.Vector3();return this[_0x556627(0x1a9)]()[_0x556627(0x19d)](_0x5ea79b),!_0x217676?_0x5ea79b[_0x556627(0x192)](this['getPosition']()):_0x5ea79b;}[_0x4e3997(0x16d)](_0x4ce61d,_0x446667=!![]){const _0x2f979c=_0x4e3997,_0xeebdb4=this[_0x2f979c(0x168)];for(const _0x3f2572 of _0xeebdb4){if(_0x3f2572[_0x2f979c(0x16e)]===_0x4ce61d)return _0x3f2572;}if(_0x446667)for(const _0x2882f7 of _0xeebdb4){const _0x4cfb7b=_0x2882f7['getChildActorById'](_0x4ce61d,!![]);if(_0x4cfb7b)return _0x4cfb7b;}return null;}[_0x4e3997(0x186)](_0x1bca29,_0x42bc87=!![]){const _0x3b668a=_0x4e3997,_0x270c0f=[],_0x3663ae=new Set(_0x1bca29),_0x5e3cd4=this[_0x3b668a(0x168)];for(const _0x3a66a3 of _0x5e3cd4){_0x3663ae[_0x3b668a(0x1b8)](_0x3a66a3[_0x3b668a(0x16e)])&&(_0x270c0f[_0x3b668a(0x175)](_0x3a66a3),_0x3663ae[_0x3b668a(0x1b7)](_0x3a66a3[_0x3b668a(0x16e)]));}if(_0x42bc87&&_0x3663ae['size']>0x0)for(const _0x267a4e of _0x5e3cd4){const _0x27a875=_0x267a4e['getChildActorsByIds']([..._0x3663ae],!![]);for(const _0x3e7ddf of _0x27a875){_0x270c0f[_0x3b668a(0x175)](_0x3e7ddf),_0x3663ae[_0x3b668a(0x1b7)](_0x3e7ddf[_0x3b668a(0x16e)]);}if(_0x3663ae[_0x3b668a(0x18d)]===0x0)break;}return _0x270c0f;}['getComponentById'](_0x2a13b3){const _0xff9306=_0x4e3997;return this[_0xff9306(0x191)][_0xff9306(0x189)](_0x2a13b3);}[_0x4e3997(0x1a4)](_0x167ccb=!![]){const _0x327c3a=_0x4e3997;let _0x4b3abd=new webgpu.Vector3(),_0xb4404c=this['rootComponent']['getBounds']();return _0xb4404c[_0x327c3a(0x19d)](_0x4b3abd),_0x4b3abd['y']=_0xb4404c[_0x327c3a(0x1aa)]['y'],!_0x167ccb?_0x4b3abd[_0x327c3a(0x192)](this[_0x327c3a(0x170)]()):_0x4b3abd;}[_0x4e3997(0x1af)](_0x5963ba=!![]){const _0x2f6462=_0x4e3997;let _0x3dab49=new webgpu.Vector3(),_0x382fef=this[_0x2f6462(0x1a9)]();return _0x382fef['getCenter'](_0x3dab49),_0x3dab49['y']=_0x382fef[_0x2f6462(0x18e)]['y'],!_0x5963ba?_0x3dab49['sub'](this['getPosition']()):_0x3dab49;}['getBounds'](){const _0x1acd6b=_0x4e3997;return this[_0x1acd6b(0x191)][_0x1acd6b(0x1a9)]();}[_0x4e3997(0x1bb)](){const _0x161c30=_0x4e3997;let _0x582ef4=this['childActors'];_0x582ef4[_0x161c30(0x1b2)](_0x4c9fa0=>{const _0x329906=_0x161c30;_0x4c9fa0[_0x329906(0x1bb)]();}),this[_0x161c30(0x191)][_0x161c30(0x1bb)]();}[_0x4e3997(0x18f)](_0x22dae3){const _0x287d77=_0x4e3997;this[_0x287d77(0x191)][_0x287d77(0x18f)](_0x22dae3);}[_0x4e3997(0x171)](_0x156aa2,_0x5715a8=!![]){const _0x8bde21=_0x4e3997;this[_0x8bde21(0x191)]['setLayers'](_0x156aa2),_0x5715a8&&this[_0x8bde21(0x168)][_0x8bde21(0x1b2)](_0x197303=>{_0x197303['setLayers'](_0x156aa2,_0x5715a8);});}[_0x4e3997(0x19f)](_0x23603a){const _0x2777b3=_0x4e3997;if(!this[_0x2777b3(0x1c5)])return;super[_0x2777b3(0x19f)](_0x23603a),this['rootComponent'][_0x2777b3(0x19f)](_0x23603a);}[_0x4e3997(0x170)](){const _0x89c914=_0x4e3997;return this[_0x89c914(0x191)]['getPosition']();}[_0x4e3997(0x1a6)](..._0x7989ee){const _0x46960c=_0x4e3997;_0x7989ee[_0x46960c(0x176)]===0x1?this[_0x46960c(0x191)][_0x46960c(0x1a6)](_0x7989ee[0x0]):this[_0x46960c(0x191)][_0x46960c(0x1a6)](_0x7989ee[0x0],_0x7989ee[0x1],_0x7989ee[0x2]);}[_0x4e3997(0x162)](){const _0xb542f1=_0x4e3997;return this[_0xb542f1(0x191)][_0xb542f1(0x162)]();}[_0x4e3997(0x1ae)](..._0x25948e){const _0x51b0d2=_0x4e3997;_0x25948e['length']===0x1?this[_0x51b0d2(0x191)][_0x51b0d2(0x1ae)](_0x25948e[0x0]):this[_0x51b0d2(0x191)][_0x51b0d2(0x1ae)](_0x25948e[0x0],_0x25948e[0x1],_0x25948e[0x2]);}[_0x4e3997(0x185)](){const _0x5ab5e2=_0x4e3997;return this[_0x5ab5e2(0x191)]['getQuaternion']();}[_0x4e3997(0x16b)](..._0x36c8aa){const _0xdbd755=_0x4e3997;_0x36c8aa[_0xdbd755(0x176)]===0x1?this[_0xdbd755(0x191)][_0xdbd755(0x16b)](_0x36c8aa[0x0]):this[_0xdbd755(0x191)][_0xdbd755(0x16b)](_0x36c8aa[0x0],_0x36c8aa[0x1],_0x36c8aa[0x2],_0x36c8aa[0x3]);}[_0x4e3997(0x1ac)](){const _0x57fac7=_0x4e3997;return this[_0x57fac7(0x191)][_0x57fac7(0x1ac)]();}['setScale'](..._0xd8ac03){const _0x2ae1b2=_0x4e3997;_0xd8ac03[_0x2ae1b2(0x176)]===0x1?this['rootComponent'][_0x2ae1b2(0x173)](_0xd8ac03[0x0]):this[_0x2ae1b2(0x191)][_0x2ae1b2(0x173)](_0xd8ac03[0x0],_0xd8ac03[0x1],_0xd8ac03[0x2]);}[_0x4e3997(0x181)](){const _0x3406f7=_0x4e3997;return this[_0x3406f7(0x191)][_0x3406f7(0x181)]();}['setWorldMatrix'](_0x45ca9f){const _0x21c20f=_0x4e3997;this[_0x21c20f(0x191)]['setWorldMatrix'](_0x45ca9f);}[_0x4e3997(0x1bc)](){const _0x144b7a=_0x4e3997;return this[_0x144b7a(0x191)][_0x144b7a(0x1bc)]();}[_0x4e3997(0x167)](){const _0x1eb99c=_0x4e3997;return this[_0x1eb99c(0x191)]['getWorldRotation']();}['getWorldQuaternion'](){const _0x421ca7=_0x4e3997;return this[_0x421ca7(0x191)][_0x421ca7(0x1b6)]();}[_0x4e3997(0x183)](){const _0x2a3db8=_0x4e3997;return this[_0x2a3db8(0x191)]['getWorldScale']();}['getWorldForwardDirection'](){const _0x5b6f95=_0x4e3997;return this[_0x5b6f95(0x191)][_0x5b6f95(0x164)]();}[_0x4e3997(0x1b9)](){const _0x5e8037=_0x4e3997;return this[_0x5e8037(0x191)]['getWorldUpDirection']();}[_0x4e3997(0x178)](){const _0x259a91=_0x4e3997;return this[_0x259a91(0x191)][_0x259a91(0x178)]();}[_0x4e3997(0x194)](_0x3bd8c3,_0x3c6d03){const _0x440764=_0x4e3997;let _0x196630=this['getPosition']();this[_0x440764(0x1a6)](_0x196630['x']+_0x3bd8c3['x']*_0x3c6d03,_0x196630['y']+_0x3bd8c3['y']*_0x3c6d03,_0x196630['z']+_0x3bd8c3['z']*_0x3c6d03);}[_0x4e3997(0x187)](_0x4988a7){const _0x5bda66=_0x4e3997;return this[_0x5bda66(0x191)][_0x5bda66(0x187)](_0x4988a7);}[_0x4e3997(0x1c3)](_0x2b3650){return this['rootComponent']['localToWorld'](_0x2b3650);}['getComponents'](){const _0x12368b=_0x4e3997;return this[_0x12368b(0x191)][_0x12368b(0x198)];}[_0x4e3997(0x166)](_0x27c962,_0x34ada4=exports.AttachmentRules[_0x4e3997(0x1c7)]){const _0x3ce4fb=_0x4e3997;this[_0x3ce4fb(0x191)][_0x3ce4fb(0x1be)](_0x27c962,_0x34ada4),this[_0x3ce4fb(0x17e)]&&_0x27c962['onAddedToWorld'](this[_0x3ce4fb(0x17e)]);}['removeComponent'](_0x26c013){const _0x2ac191=_0x4e3997;if(_0x26c013===this[_0x2ac191(0x1c6)])return;this[_0x2ac191(0x191)]['removeChildComponent'](_0x26c013);}[_0x4e3997(0x188)](){const _0x42b1b0=_0x4e3997;this['rootComponent'][_0x42b1b0(0x1c0)]();}[_0x4e3997(0x19e)](_0x4e3ac7,_0x513a19=exports.AttachmentRules[_0x4e3997(0x16c)]){const _0x362be0=_0x4e3997;if(!_0x4e3ac7[_0x362be0(0x191)]){console[_0x362be0(0x17b)](_0x362be0(0x1c1));return;}if(_0x4e3ac7[_0x362be0(0x174)]===this)return;_0x513a19===exports.AttachmentRules[_0x362be0(0x1c7)]&&this['rootComponent']['attachComponent'](_0x4e3ac7[_0x362be0(0x191)]);if(_0x513a19===exports.AttachmentRules[_0x362be0(0x16c)]){let _0x5661db=_0x4e3ac7[_0x362be0(0x181)]();this[_0x362be0(0x191)][_0x362be0(0x190)](_0x4e3ac7['rootComponent']),_0x4e3ac7[_0x362be0(0x16a)](_0x5661db);}this[_0x362be0(0x17e)]&&this['_world'][_0x362be0(0x1b1)][_0x362be0(0x165)]();}[_0x4e3997(0x1b4)](_0x243256){const _0x5c1a25=_0x4e3997;let _0x25920f=_0x243256['getWorldMatrix']();this['rootComponent'][_0x5c1a25(0x17d)](_0x243256[_0x5c1a25(0x191)]),_0x243256['setWorldMatrix'](_0x25920f);}[_0x4e3997(0x19c)](){const _0x3f594b=_0x4e3997;this[_0x3f594b(0x174)]&&this[_0x3f594b(0x174)][_0x3f594b(0x1b4)](this);}[_0x4e3997(0x184)](_0x250da5){const _0x118052=_0x4e3997;this[_0x118052(0x17e)]=_0x250da5,this[_0x118052(0x191)]['onAddedToWorld'](this['_world']),this[_0x118052(0x168)][_0x118052(0x1b2)](_0x1302e2=>{const _0x5bb30b=_0x118052;_0x1302e2[_0x5bb30b(0x184)](_0x250da5);});}[_0x4e3997(0x197)](){const _0x43f7b7=_0x4e3997;this[_0x43f7b7(0x17e)]=null;}get[_0x4e3997(0x196)](){const _0x25079c=_0x4e3997;return this[_0x25079c(0x191)][_0x25079c(0x196)];}set['isHoverEnabled'](_0x4c5f97){const _0x2dc2c2=_0x4e3997;this['rootComponent'][_0x2dc2c2(0x196)]=_0x4c5f97;}get[_0x4e3997(0x199)](){const _0x5077e7=_0x4e3997;return this[_0x5077e7(0x191)][_0x5077e7(0x199)];}set[_0x4e3997(0x199)](_0xb71f10){const _0x420f06=_0x4e3997;this[_0x420f06(0x191)]['isClickEnabled']=_0xb71f10;}[_0x4e3997(0x1b0)](_0xe7cd9b){const _0x11ef94=_0x4e3997;this['_onHoverBeginDelegate'][_0x11ef94(0x19b)](_0xe7cd9b);}[_0x4e3997(0x163)](_0x10b14f){const _0x5af2ae=_0x4e3997;this[_0x5af2ae(0x1a3)][_0x5af2ae(0x19b)](_0x10b14f);}[_0x4e3997(0x177)](_0x3f31da){const _0x1ece7b=_0x4e3997;this[_0x1ece7b(0x1b5)]['broadcast'](_0x3f31da);}[_0x4e3997(0x1c4)](_0x110486){const _0x27e841=_0x4e3997;this[_0x27e841(0x1c8)]['broadcast'](_0x110486);}}
|
|
84
|
+
const _0x2c642c=_0x5c5f;(function(_0x4d1f80,_0x3a329a){const _0x255608=_0x5c5f,_0x70598c=_0x4d1f80();while(!![]){try{const _0x72f7d=parseInt(_0x255608(0x184))/0x1+-parseInt(_0x255608(0x1c0))/0x2*(-parseInt(_0x255608(0x186))/0x3)+-parseInt(_0x255608(0x1a0))/0x4+parseInt(_0x255608(0x1c6))/0x5+-parseInt(_0x255608(0x1b7))/0x6*(-parseInt(_0x255608(0x1c4))/0x7)+parseInt(_0x255608(0x188))/0x8*(-parseInt(_0x255608(0x1a3))/0x9)+-parseInt(_0x255608(0x1c2))/0xa*(parseInt(_0x255608(0x1b8))/0xb);if(_0x72f7d===_0x3a329a)break;else _0x70598c['push'](_0x70598c['shift']());}catch(_0x3b8d1b){_0x70598c['push'](_0x70598c['shift']());}}}(_0xb099,0x558de));function _0xb099(){const _0x150f27=['2693673wdtyij','setRotation','_rootComponent','removeChildActor','parent','_onHoverBeginDelegate','rootComponent','setScale','has','detachFromParentComponent','worldToLocal','removeComponent','getPosition','_onDoubleClickDelegate','uuid','childrenComponents','attachComponent','getWorldForwardDirection','onHoverEndDelegate','children','7032nkZxod','231rYwMPX','getCenter','isClickEnabled','markRenderStateDirty','onDoubleClickDelegate','sub','localToWorld','destroy','6jQXbdp','size','297910BGGpAD','getWorldQuaternion','3787HGtQwt','world','2296470YkwYNB','setVisible','isVisible','getWorldMatrix','onHoverBeginDelegate','parentActor','forEach','rootComponent\x20is\x20invalid','broadcast','addChildComponent','getRotation','getChildActorById','getChildActorsByIds','setPosition','KeepRelative','tick','app','Actor','push','_name','onRemovedFromWorld','error','setQuaternion','onActorHoverEnd','delete','constructRootComponent','addComponent','getWorldScale','destroyChildren','onAddedToWorld','KeepWorld','name','313327LWFjLN','getWorldPosition','340941rfKnbN','removeChildComponent','8rOgQED','clearComponent','getBounds','getScale','removeFromParent','getQuaternion','isTickEnabled','userData','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','isHoverEnabled','setWorldMatrix','detachComponent','threeObject','getBoundsCenterPosition','length','childActors','getBoundsBottomCenterPosition','_world','_onHoverEndDelegate','_onClickDelegate','onActorClick','setLayers','LYObject','getComponentById','1889104IPIczt','max','getWorldRotation'];_0xb099=function(){return _0x150f27;};return _0xb099();}function _0x5c5f(_0x531efc,_0x188aeb){_0x531efc=_0x531efc-0x166;const _0xb099d9=_0xb099();let _0x5c5ffe=_0xb099d9[_0x531efc];return _0x5c5ffe;}class Actor extends BaseObject{get[_0x2c642c(0x1c5)](){return this['_world'];}get[_0x2c642c(0x183)](){const _0x21eb5b=_0x2c642c;return this[_0x21eb5b(0x177)];}set[_0x2c642c(0x183)](_0x1e782f){this['_name']=_0x1e782f;}get[_0x2c642c(0x1a9)](){const _0x42ddf2=_0x2c642c;if(!this['_rootComponent'])throw Error(_0x42ddf2(0x16b));return this['_rootComponent'];}set[_0x2c642c(0x1a9)](_0x4c2ab2){const _0x147f67=_0x2c642c;_0x4c2ab2[_0x147f67(0x1ac)](),_0x4c2ab2[_0x147f67(0x169)]=this;if(this['_rootComponent']){let _0x19d611=this[_0x147f67(0x1a9)][_0x147f67(0x1b2)];for(let _0x51874b=0x0;_0x51874b<_0x19d611['length'];++_0x51874b){_0x4c2ab2[_0x147f67(0x16d)](_0x19d611[_0x51874b]);}this[_0x147f67(0x1a9)]['destroy']();}this['_rootComponent']=_0x4c2ab2;}get[_0x2c642c(0x1b2)](){const _0x223e03=_0x2c642c;return this[_0x223e03(0x1a9)][_0x223e03(0x1b2)];}get[_0x2c642c(0x197)](){const _0x64da3e=_0x2c642c;var _0x227fd1;let _0x5af1ae=[];return (_0x227fd1=this[_0x64da3e(0x1a9)][_0x64da3e(0x194)])===null||_0x227fd1===void 0?void 0:_0x227fd1[_0x64da3e(0x1b6)]['forEach'](_0x350edb=>{const _0xff9273=_0x64da3e;var _0x3a6d95;let _0x2278b8=(_0x3a6d95=_0x350edb[_0xff9273(0x18f)][_0xff9273(0x19e)])===null||_0x3a6d95===void 0?void 0:_0x3a6d95[_0xff9273(0x169)];_0x2278b8!==this&&_0x2278b8 instanceof Actor&&_0x5af1ae[_0xff9273(0x176)](_0x2278b8);}),_0x5af1ae;}get[_0x2c642c(0x169)](){const _0x1dc8f1=_0x2c642c;var _0x490cb1,_0x5e4fc5;let _0x1c5cba=(_0x5e4fc5=(_0x490cb1=this[_0x1dc8f1(0x1a9)][_0x1dc8f1(0x194)])===null||_0x490cb1===void 0?void 0:_0x490cb1[_0x1dc8f1(0x1a7)])===null||_0x5e4fc5===void 0?void 0:_0x5e4fc5['userData']['LYObject'][_0x1dc8f1(0x169)];return _0x1c5cba===this?null:_0x1c5cba;}get['isVisible'](){const _0x6ed341=_0x2c642c;return this['rootComponent']?this[_0x6ed341(0x1a9)][_0x6ed341(0x166)]:![];}get[_0x2c642c(0x18e)](){const _0x3a7697=_0x2c642c;return super[_0x3a7697(0x18e)];}set[_0x2c642c(0x18e)](_0x1608a0){const _0x15fb1c=_0x2c642c;super['isTickEnabled']=_0x1608a0,this['isTickEnabled']?this[_0x15fb1c(0x174)][_0x15fb1c(0x1c5)]['addTickableActor'](this):this[_0x15fb1c(0x174)][_0x15fb1c(0x1c5)]['removeTickableActor'](this);}get[_0x2c642c(0x168)](){const _0x868083=_0x2c642c;return this[_0x868083(0x1a8)];}get[_0x2c642c(0x1b5)](){const _0x8eb473=_0x2c642c;return this[_0x8eb473(0x19a)];}get['onClickDelegate'](){const _0x128f0c=_0x2c642c;return this[_0x128f0c(0x19b)];}get[_0x2c642c(0x1bc)](){const _0x3d762b=_0x2c642c;return this[_0x3d762b(0x1b0)];}constructor(_0x193987,_0x393279){const _0x218446=_0x2c642c;super(_0x393279),this['_name']=_0x218446(0x175),this[_0x218446(0x1a5)]=null,this['_world']=null,this[_0x218446(0x1a8)]=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x218446(0x19b)]=new Delegate(),this[_0x218446(0x1b0)]=new Delegate(),this[_0x218446(0x174)]=_0x193987,this[_0x218446(0x1a9)]=this[_0x218446(0x17d)](),this[_0x218446(0x1a9)][_0x218446(0x169)]=this;}[_0x2c642c(0x17d)](){const _0x1e3494=_0x2c642c;return new SceneComponent(this[_0x1e3494(0x174)]);}[_0x2c642c(0x195)](_0x296891=!![]){const _0x418a29=_0x2c642c;let _0xbe229=new webgpu.Vector3();return this[_0x418a29(0x18a)]()[_0x418a29(0x1b9)](_0xbe229),!_0x296891?_0xbe229[_0x418a29(0x1bd)](this[_0x418a29(0x1af)]()):_0xbe229;}[_0x2c642c(0x16f)](_0x17312b,_0x4e6e55=!![]){const _0x24d65c=_0x2c642c,_0x217faf=this[_0x24d65c(0x197)];for(const _0x99b50d of _0x217faf){if(_0x99b50d[_0x24d65c(0x1b1)]===_0x17312b)return _0x99b50d;}if(_0x4e6e55)for(const _0x556a44 of _0x217faf){const _0x529a97=_0x556a44[_0x24d65c(0x16f)](_0x17312b,!![]);if(_0x529a97)return _0x529a97;}return null;}['getChildActorsByIds'](_0x19ae1f,_0x5ce425=!![]){const _0x515627=_0x2c642c,_0x42cc61=[],_0x1103ba=new Set(_0x19ae1f),_0x26a254=this['childActors'];for(const _0x55000a of _0x26a254){_0x1103ba[_0x515627(0x1ab)](_0x55000a[_0x515627(0x1b1)])&&(_0x42cc61['push'](_0x55000a),_0x1103ba[_0x515627(0x17c)](_0x55000a['uuid']));}if(_0x5ce425&&_0x1103ba['size']>0x0)for(const _0xce708f of _0x26a254){const _0x400a82=_0xce708f[_0x515627(0x170)]([..._0x1103ba],!![]);for(const _0x4e30e0 of _0x400a82){_0x42cc61[_0x515627(0x176)](_0x4e30e0),_0x1103ba['delete'](_0x4e30e0[_0x515627(0x1b1)]);}if(_0x1103ba[_0x515627(0x1c1)]===0x0)break;}return _0x42cc61;}[_0x2c642c(0x19f)](_0x346283){const _0x5d2f01=_0x2c642c;return this[_0x5d2f01(0x1a9)][_0x5d2f01(0x19f)](_0x346283);}['getBoundsTopCenterPosition'](_0xd8383b=!![]){const _0x42b327=_0x2c642c;let _0x36c6fd=new webgpu.Vector3(),_0xde227c=this[_0x42b327(0x1a9)][_0x42b327(0x18a)]();return _0xde227c[_0x42b327(0x1b9)](_0x36c6fd),_0x36c6fd['y']=_0xde227c[_0x42b327(0x1a1)]['y'],!_0xd8383b?_0x36c6fd[_0x42b327(0x1bd)](this['getPosition']()):_0x36c6fd;}[_0x2c642c(0x198)](_0x4a4aab=!![]){const _0x3cda97=_0x2c642c;let _0x8551f8=new webgpu.Vector3(),_0x11390c=this[_0x3cda97(0x18a)]();return _0x11390c['getCenter'](_0x8551f8),_0x8551f8['y']=_0x11390c['min']['y'],!_0x4a4aab?_0x8551f8[_0x3cda97(0x1bd)](this[_0x3cda97(0x1af)]()):_0x8551f8;}['getBounds'](){const _0x492df1=_0x2c642c;return this['rootComponent'][_0x492df1(0x18a)]();}[_0x2c642c(0x1bf)](){const _0x1dcc1e=_0x2c642c;let _0x11f98c=this[_0x1dcc1e(0x197)];_0x11f98c[_0x1dcc1e(0x16a)](_0x2f8f37=>{const _0x24e3d1=_0x1dcc1e;_0x2f8f37[_0x24e3d1(0x1bf)]();}),this['rootComponent'][_0x1dcc1e(0x1bf)]();}[_0x2c642c(0x1c7)](_0x3d595e){const _0x50d040=_0x2c642c;this[_0x50d040(0x1a9)][_0x50d040(0x1c7)](_0x3d595e);}[_0x2c642c(0x19d)](_0x1a6ba7,_0xf84183=!![]){const _0xa5ee2=_0x2c642c;this['rootComponent'][_0xa5ee2(0x19d)](_0x1a6ba7),_0xf84183&&this[_0xa5ee2(0x197)][_0xa5ee2(0x16a)](_0x280450=>{const _0x2a64aa=_0xa5ee2;_0x280450[_0x2a64aa(0x19d)](_0x1a6ba7,_0xf84183);});}['tick'](_0x55da33){const _0x41228b=_0x2c642c;if(!this[_0x41228b(0x18e)])return;super[_0x41228b(0x173)](_0x55da33),this[_0x41228b(0x1a9)]['tick'](_0x55da33);}[_0x2c642c(0x1af)](){const _0x5f3c54=_0x2c642c;return this[_0x5f3c54(0x1a9)][_0x5f3c54(0x1af)]();}[_0x2c642c(0x171)](..._0xcb22){const _0x456acc=_0x2c642c;_0xcb22[_0x456acc(0x196)]===0x1?this[_0x456acc(0x1a9)][_0x456acc(0x171)](_0xcb22[0x0]):this[_0x456acc(0x1a9)]['setPosition'](_0xcb22[0x0],_0xcb22[0x1],_0xcb22[0x2]);}[_0x2c642c(0x16e)](){const _0x3d2e85=_0x2c642c;return this[_0x3d2e85(0x1a9)]['getRotation']();}[_0x2c642c(0x1a4)](..._0x107834){const _0x4bf075=_0x2c642c;_0x107834[_0x4bf075(0x196)]===0x1?this[_0x4bf075(0x1a9)][_0x4bf075(0x1a4)](_0x107834[0x0]):this['rootComponent']['setRotation'](_0x107834[0x0],_0x107834[0x1],_0x107834[0x2]);}[_0x2c642c(0x18d)](){const _0x2083bd=_0x2c642c;return this[_0x2083bd(0x1a9)][_0x2083bd(0x18d)]();}['setQuaternion'](..._0x7cd74){const _0x1c4df8=_0x2c642c;_0x7cd74[_0x1c4df8(0x196)]===0x1?this[_0x1c4df8(0x1a9)][_0x1c4df8(0x17a)](_0x7cd74[0x0]):this[_0x1c4df8(0x1a9)][_0x1c4df8(0x17a)](_0x7cd74[0x0],_0x7cd74[0x1],_0x7cd74[0x2],_0x7cd74[0x3]);}[_0x2c642c(0x18b)](){const _0x525b5f=_0x2c642c;return this[_0x525b5f(0x1a9)]['getScale']();}[_0x2c642c(0x1aa)](..._0x59b017){const _0x333f67=_0x2c642c;_0x59b017['length']===0x1?this[_0x333f67(0x1a9)][_0x333f67(0x1aa)](_0x59b017[0x0]):this[_0x333f67(0x1a9)][_0x333f67(0x1aa)](_0x59b017[0x0],_0x59b017[0x1],_0x59b017[0x2]);}[_0x2c642c(0x167)](){const _0x2d880d=_0x2c642c;return this[_0x2d880d(0x1a9)][_0x2d880d(0x167)]();}[_0x2c642c(0x192)](_0xbb444e){const _0x35d425=_0x2c642c;this[_0x35d425(0x1a9)][_0x35d425(0x192)](_0xbb444e);}['getWorldPosition'](){const _0x44087b=_0x2c642c;return this['rootComponent'][_0x44087b(0x185)]();}[_0x2c642c(0x1a2)](){const _0x19f743=_0x2c642c;return this[_0x19f743(0x1a9)][_0x19f743(0x1a2)]();}[_0x2c642c(0x1c3)](){const _0x56ddaf=_0x2c642c;return this[_0x56ddaf(0x1a9)][_0x56ddaf(0x1c3)]();}['getWorldScale'](){const _0x238692=_0x2c642c;return this[_0x238692(0x1a9)][_0x238692(0x17f)]();}[_0x2c642c(0x1b4)](){const _0x574d6b=_0x2c642c;return this['rootComponent'][_0x574d6b(0x1b4)]();}['getWorldUpDirection'](){const _0x4b871c=_0x2c642c;return this[_0x4b871c(0x1a9)]['getWorldUpDirection']();}['getWorldRightDirection'](){const _0x40fcef=_0x2c642c;return this[_0x40fcef(0x1a9)]['getWorldRightDirection']();}['addLocalOffset'](_0x2214b4,_0x334271){const _0x5e84f5=_0x2c642c;let _0x3328bb=this[_0x5e84f5(0x1af)]();this['setPosition'](_0x3328bb['x']+_0x2214b4['x']*_0x334271,_0x3328bb['y']+_0x2214b4['y']*_0x334271,_0x3328bb['z']+_0x2214b4['z']*_0x334271);}['worldToLocal'](_0xdd973f){const _0x59c72e=_0x2c642c;return this['rootComponent'][_0x59c72e(0x1ad)](_0xdd973f);}[_0x2c642c(0x1be)](_0x283b28){const _0x5d9598=_0x2c642c;return this['rootComponent'][_0x5d9598(0x1be)](_0x283b28);}['getComponents'](){const _0xd80e36=_0x2c642c;return this[_0xd80e36(0x1a9)][_0xd80e36(0x1b2)];}[_0x2c642c(0x17e)](_0x49a0c0,_0x4086a2=exports.AttachmentRules[_0x2c642c(0x172)]){const _0x3f7b82=_0x2c642c;this[_0x3f7b82(0x1a9)][_0x3f7b82(0x16d)](_0x49a0c0,_0x4086a2),this[_0x3f7b82(0x199)]&&_0x49a0c0['onAddedToWorld'](this['_world']);}[_0x2c642c(0x1ae)](_0x4d6e8b){const _0x5a571b=_0x2c642c;if(_0x4d6e8b===this[_0x5a571b(0x1a5)])return;this[_0x5a571b(0x1a9)][_0x5a571b(0x187)](_0x4d6e8b);}[_0x2c642c(0x189)](){const _0x510665=_0x2c642c;this[_0x510665(0x1a9)][_0x510665(0x180)]();}['addChildActor'](_0x38ec2c,_0x2ea801=exports.AttachmentRules[_0x2c642c(0x182)]){const _0x4c0355=_0x2c642c;if(!_0x38ec2c[_0x4c0355(0x1a9)]){console[_0x4c0355(0x179)](_0x4c0355(0x190));return;}if(_0x38ec2c[_0x4c0355(0x169)]===this)return;_0x2ea801===exports.AttachmentRules[_0x4c0355(0x172)]&&this['rootComponent'][_0x4c0355(0x1b3)](_0x38ec2c[_0x4c0355(0x1a9)]);if(_0x2ea801===exports.AttachmentRules[_0x4c0355(0x182)]){let _0x189825=_0x38ec2c[_0x4c0355(0x167)]();this['rootComponent'][_0x4c0355(0x1b3)](_0x38ec2c[_0x4c0355(0x1a9)]),_0x38ec2c[_0x4c0355(0x192)](_0x189825);}this[_0x4c0355(0x199)]&&this[_0x4c0355(0x199)]['viewport'][_0x4c0355(0x1bb)]();}[_0x2c642c(0x1a6)](_0x5cfdf9){const _0xcd66a4=_0x2c642c;let _0x2c6368=_0x5cfdf9[_0xcd66a4(0x167)]();this[_0xcd66a4(0x1a9)][_0xcd66a4(0x193)](_0x5cfdf9[_0xcd66a4(0x1a9)]),_0x5cfdf9[_0xcd66a4(0x192)](_0x2c6368);}[_0x2c642c(0x18c)](){const _0x2f6892=_0x2c642c;this[_0x2f6892(0x169)]&&this[_0x2f6892(0x169)]['removeChildActor'](this);}['onAddedToWorld'](_0x3dc698){const _0x5d719d=_0x2c642c;this['_world']=_0x3dc698,this[_0x5d719d(0x1a9)][_0x5d719d(0x181)](this[_0x5d719d(0x199)]),this[_0x5d719d(0x197)][_0x5d719d(0x16a)](_0x4835b1=>{_0x4835b1['onAddedToWorld'](_0x3dc698);});}[_0x2c642c(0x178)](){this['_world']=null;}get['isHoverEnabled'](){const _0x2ee06a=_0x2c642c;return this[_0x2ee06a(0x1a9)][_0x2ee06a(0x191)];}set[_0x2c642c(0x191)](_0x59518e){this['rootComponent']['isHoverEnabled']=_0x59518e;}get[_0x2c642c(0x1ba)](){const _0x4fac8b=_0x2c642c;return this[_0x4fac8b(0x1a9)][_0x4fac8b(0x1ba)];}set[_0x2c642c(0x1ba)](_0x5899e1){const _0x58454e=_0x2c642c;this['rootComponent'][_0x58454e(0x1ba)]=_0x5899e1;}['onActorHoverBegin'](_0x326bbf){const _0x98209e=_0x2c642c;this[_0x98209e(0x1a8)][_0x98209e(0x16c)](_0x326bbf);}[_0x2c642c(0x17b)](_0x4e9047){const _0x2f403c=_0x2c642c;this['_onHoverEndDelegate'][_0x2f403c(0x16c)](_0x4e9047);}[_0x2c642c(0x19c)](_0x5e9e7a){const _0x43782e=_0x2c642c;this[_0x43782e(0x19b)][_0x43782e(0x16c)](_0x5e9e7a);}['onActorDoubleClick'](_0x5833bd){const _0x8f1814=_0x2c642c;this[_0x8f1814(0x1b0)][_0x8f1814(0x16c)](_0x5833bd);}}
|
|
85
85
|
|
|
86
|
-
const
|
|
86
|
+
const _0x589681=_0xdd06;function _0x2952(){const _0x3ef1e3=['keys','disposeMaterialTextures','431405TaADsP','object','5003snApQn','880230rCZHno','734084MmHkVb','traverse','material','1145964wdxooK','geometry','disposeMeshMaterial','children','disposeMeshResource','58ndcFie','21ijhprV','5340393yaJMRF','forEach','482520ySjeCo','isTexture','dispose'];_0x2952=function(){return _0x3ef1e3;};return _0x2952();}(function(_0x43ed80,_0x2feb55){const _0x4cceca=_0xdd06,_0x359eea=_0x43ed80();while(!![]){try{const _0x42d368=parseInt(_0x4cceca(0x1f5))/0x1*(parseInt(_0x4cceca(0x1ff))/0x2)+-parseInt(_0x4cceca(0x1f6))/0x3+parseInt(_0x4cceca(0x1f7))/0x4+-parseInt(_0x4cceca(0x1f3))/0x5+-parseInt(_0x4cceca(0x1fa))/0x6+parseInt(_0x4cceca(0x200))/0x7*(-parseInt(_0x4cceca(0x203))/0x8)+parseInt(_0x4cceca(0x201))/0x9;if(_0x42d368===_0x2feb55)break;else _0x359eea['push'](_0x359eea['shift']());}catch(_0xd61118){_0x359eea['push'](_0x359eea['shift']());}}}(_0x2952,0x29973));function _0xdd06(_0x468534,_0x1c3865){_0x468534=_0x468534-0x1f3;const _0x295225=_0x2952();let _0xdd0617=_0x295225[_0x468534];return _0xdd0617;}class ThreeObjectLibrary{static['disposeMaterialTextures'](_0x2f2971){const _0x4a0c96=_0xdd06;Object[_0x4a0c96(0x206)](_0x2f2971)[_0x4a0c96(0x202)](_0x52adda=>{const _0x145f35=_0x4a0c96,_0x132d45=_0x2f2971[_0x52adda];_0x132d45&&typeof _0x132d45===_0x145f35(0x1f4)&&_0x145f35(0x204)in _0x132d45&&_0x132d45['dispose']();});}static[_0x589681(0x1fc)](_0x234be5){const _0xdca82f=_0x589681;let _0x2567d9=Array['isArray'](_0x234be5[_0xdca82f(0x1f9)])?_0x234be5[_0xdca82f(0x1f9)]:[_0x234be5[_0xdca82f(0x1f9)]];_0x2567d9[_0xdca82f(0x202)](_0x1cace7=>{const _0x2380ac=_0xdca82f;ThreeObjectLibrary[_0x2380ac(0x207)](_0x1cace7),_0x1cace7[_0x2380ac(0x205)]();});}static[_0x589681(0x1fe)](_0x132d55,_0x23d041=![]){const _0x55627c=_0x589681;ThreeObjectLibrary[_0x55627c(0x1fc)](_0x132d55),_0x132d55[_0x55627c(0x1fb)][_0x55627c(0x205)](),_0x23d041&&_0x132d55[_0x55627c(0x1fd)][_0x55627c(0x202)](_0x5110d0=>{const _0x21382c=_0x55627c;_0x5110d0 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x21382c(0x1fe)](_0x5110d0,!![]);});}static['disposeObject3DResource'](_0x37e058){const _0xd705a9=_0x589681;_0x37e058[_0xd705a9(0x1f8)](_0x2be192=>{const _0x4aa938=_0xd705a9;_0x2be192 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x4aa938(0x1fe)](_0x2be192);});}}
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
var _0x5abf5c=_0x5415;(function(_0x35d02e,_0x9f8993){var _0x3bdf95=_0x5415,_0x16d409=_0x35d02e();while(!![]){try{var _0x10343a=parseInt(_0x3bdf95(0x16f))/0x1*(parseInt(_0x3bdf95(0x16c))/0x2)+parseInt(_0x3bdf95(0x16b))/0x3*(parseInt(_0x3bdf95(0x170))/0x4)+-parseInt(_0x3bdf95(0x167))/0x5*(-parseInt(_0x3bdf95(0x169))/0x6)+-parseInt(_0x3bdf95(0x166))/0x7*(-parseInt(_0x3bdf95(0x16d))/0x8)+-parseInt(_0x3bdf95(0x168))/0x9+parseInt(_0x3bdf95(0x173))/0xa*(-parseInt(_0x3bdf95(0x163))/0xb)+parseInt(_0x3bdf95(0x171))/0xc;if(_0x10343a===_0x9f8993)break;else _0x16d409['push'](_0x16d409['shift']());}catch(_0xdc25d0){_0x16d409['push'](_0x16d409['shift']());}}}(_0x1023,0x337c7));function _0x1023(){var _0x10f179=['threeObject','obj','115948QZkefq','395ZwxGzr','3294279cFdIJG','1362waWazd','userData','93GuqzQN','14oCQJxA','152vzzXpU','three\x20object\x20is\x20invalid','27779UOjnAi','14588dNsWhg','4085616atSspY','LYObject','139210FMVYsh','createDefaultObject','319aWrjsZ'];_0x1023=function(){return _0x10f179;};return _0x1023();}function _0x5415(_0x8b75e,_0x4ac412){_0x8b75e=_0x8b75e-0x163;var _0x1023ae=_0x1023();var _0x541557=_0x1023ae[_0x8b75e];return _0x541557;}class LevelComponent extends SceneComponent{get[_0x5abf5c(0x164)](){var _0x5182b3=_0x5abf5c;if(!this[_0x5182b3(0x165)])throw Error(_0x5182b3(0x16e));return this[_0x5182b3(0x165)];}set[_0x5abf5c(0x164)](_0x260c18){var _0x286862=_0x5abf5c;this[_0x286862(0x165)]=_0x260c18,this[_0x286862(0x165)]&&(this[_0x286862(0x165)][_0x286862(0x16a)][_0x286862(0x172)]=this);}constructor(_0x48d046,_0x2f975b){super(_0x48d046,_0x2f975b);}[_0x5abf5c(0x174)](){return new three.Scene();}}
|
|
89
89
|
|
|
90
|
-
var
|
|
90
|
+
var _0x3ba1d2=_0x463a;(function(_0x4dec8b,_0x4c5740){var _0x4d2823=_0x463a,_0x285b4b=_0x4dec8b();while(!![]){try{var _0x40fc9f=parseInt(_0x4d2823(0x152))/0x1+-parseInt(_0x4d2823(0x161))/0x2+-parseInt(_0x4d2823(0x158))/0x3*(parseInt(_0x4d2823(0x15b))/0x4)+-parseInt(_0x4d2823(0x150))/0x5+parseInt(_0x4d2823(0x155))/0x6+parseInt(_0x4d2823(0x164))/0x7*(-parseInt(_0x4d2823(0x159))/0x8)+parseInt(_0x4d2823(0x14f))/0x9;if(_0x40fc9f===_0x4c5740)break;else _0x285b4b['push'](_0x285b4b['shift']());}catch(_0x15116c){_0x285b4b['push'](_0x285b4b['shift']());}}}(_0x5ed8,0x1ea7e));function _0x5ed8(){var _0x448795=['32631gRrOqZ','7832hSYWNP','tick','68QkmdtQ','constructRootComponent','scene\x20is\x20null','forEach','disposeMeshResource','isTickEnabled','193652hzfcFg','destroy','traverse','1393zyoigG','rootComponent','2186163HZZtoV','203520BniaEr','uuid','192716AfVafv','scene','clearLevel','1243218rMAhOI','threeObject','_scene'];_0x5ed8=function(){return _0x448795;};return _0x5ed8();}function _0x463a(_0x50f6d3,_0x3e9534){_0x50f6d3=_0x50f6d3-0x14f;var _0x5ed85f=_0x5ed8();var _0x463a9e=_0x5ed85f[_0x50f6d3];return _0x463a9e;}class LevelActor extends Actor{get[_0x3ba1d2(0x153)](){var _0x4ce652=_0x3ba1d2;if(!this[_0x4ce652(0x157)])throw new Error(_0x4ce652(0x15d));return this[_0x4ce652(0x157)];}constructor(_0x1db3ae,_0x24b7a8){var _0x460e5c=_0x3ba1d2;super(_0x1db3ae,_0x24b7a8),this[_0x460e5c(0x157)]=null,this['_scene']=this[_0x460e5c(0x165)][_0x460e5c(0x156)],this[_0x460e5c(0x160)]=![];}[_0x3ba1d2(0x15c)](){var _0x3f4e45=_0x3ba1d2;return new LevelComponent(this['app'],this[_0x3f4e45(0x151)]);}[_0x3ba1d2(0x15a)](_0x58cc72){var _0x5befaa=_0x3ba1d2;if(!this['isTickEnabled'])return;super[_0x5befaa(0x15a)](_0x58cc72);}[_0x3ba1d2(0x162)](){var _0x1f3deb=_0x3ba1d2;this[_0x1f3deb(0x154)](),super[_0x1f3deb(0x162)]();}['clearLevel'](){var _0x185acb=_0x3ba1d2;this['childActors'][_0x185acb(0x15e)](_0x199b03=>{var _0x1dad2b=_0x185acb;_0x199b03[_0x1dad2b(0x162)]();}),this['scene'][_0x185acb(0x163)](_0x17ae41=>{var _0x49a095=_0x185acb;_0x17ae41 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x49a095(0x15f)](_0x17ae41);});}}
|
|
91
91
|
|
|
92
|
-
function
|
|
92
|
+
function _0x3f4c(_0x274c21,_0x2ea910){_0x274c21=_0x274c21-0x182;const _0xfaee30=_0xfaee();let _0x3f4c37=_0xfaee30[_0x274c21];return _0x3f4c37;}(function(_0x9f33e3,_0x5d1b3f){const _0x438203=_0x3f4c,_0x160e17=_0x9f33e3();while(!![]){try{const _0x37a7b0=-parseInt(_0x438203(0x184))/0x1+-parseInt(_0x438203(0x18b))/0x2+-parseInt(_0x438203(0x182))/0x3+-parseInt(_0x438203(0x188))/0x4*(-parseInt(_0x438203(0x185))/0x5)+-parseInt(_0x438203(0x187))/0x6+-parseInt(_0x438203(0x18a))/0x7*(-parseInt(_0x438203(0x189))/0x8)+parseInt(_0x438203(0x186))/0x9*(parseInt(_0x438203(0x183))/0xa);if(_0x37a7b0===_0x5d1b3f)break;else _0x160e17['push'](_0x160e17['shift']());}catch(_0x4f1fd6){_0x160e17['push'](_0x160e17['shift']());}}}(_0xfaee,0xb5380));function _0xfaee(){const _0x206605=['2576fkLSyr','15904tuSsod','3493OHjYmi','983784VhfKGT','109869okukCU','1730fraHAA','564689aghcrs','7870GeQVWM','56502YHwLNR','7537716bDAJfu'];_0xfaee=function(){return _0x206605;};return _0xfaee();}const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
function _0x4623(){const _0x15636e=['_assetManager','updateCamera','broadcast','cameraParam','splice','clearAssets','markRenderStateDirty','viewport','assetManager','_world','worldParam','aspect','isRenderEveryFrame','updataCamera','createCamera','_appParam','219247PTiEvo','classes','clock','renderParam','renderAsImage','assetManagerClass','camera','controllerClass','650fZglNU','onCameraChangedDelegate','_tickingFunctions','10puNUml','34066162kzCPVS','getDelta','6822bXZlyr','destroy','viewportParam','_controller','7430rHzfGO','appParam','init','updateProjectionMatrix','_onCameraChangedDelegate','_camera','368boIqsK','viewportClass','tick','addTickingFunction','controller','onWindowResize','setAnimationLoop','8lBmXev','11uLOuzz','1899eZjEAn','16824324tDLMBe','removeTickingFunction','273179JVOdYg','1168323qynYpP','world','_clock','postProcessParam','_viewport','postConstruct'];_0x4623=function(){return _0x15636e;};return _0x4623();}const _0x564486=_0x1cb9;(function(_0xb8548,_0x2cbdb0){const _0x176891=_0x1cb9,_0x3d9888=_0xb8548();while(!![]){try{const _0x4280b8=-parseInt(_0x176891(0x110))/0x1*(parseInt(_0x176891(0xf7))/0x2)+parseInt(_0x176891(0x111))/0x3*(parseInt(_0x176891(0x10b))/0x4)+-parseInt(_0x176891(0xfe))/0x5*(-parseInt(_0x176891(0xfa))/0x6)+parseInt(_0x176891(0xec))/0x7*(-parseInt(_0x176891(0x104))/0x8)+parseInt(_0x176891(0x10d))/0x9*(parseInt(_0x176891(0xf4))/0xa)+parseInt(_0x176891(0x10c))/0xb*(-parseInt(_0x176891(0x10e))/0xc)+parseInt(_0x176891(0xf8))/0xd;if(_0x4280b8===_0x2cbdb0)break;else _0x3d9888['push'](_0x3d9888['shift']());}catch(_0x13cb33){_0x3d9888['push'](_0x3d9888['shift']());}}}(_0x4623,0xda40d));function _0x1cb9(_0x39cfb3,_0x197a8a){_0x39cfb3=_0x39cfb3-0xe3;const _0x46231c=_0x4623();let _0x1cb9d3=_0x46231c[_0x39cfb3];return _0x1cb9d3;}class ThreeJsApp{get['camera'](){const _0xb7ef88=_0x1cb9;return this[_0xb7ef88(0x103)];}get[_0x564486(0xee)](){const _0x4ef154=_0x564486;return this[_0x4ef154(0x113)];}get[_0x564486(0x112)](){const _0x59a082=_0x564486;return this[_0x59a082(0xe5)];}get[_0x564486(0xe3)](){const _0x3a12d3=_0x564486;return this[_0x3a12d3(0x115)];}get[_0x564486(0x108)](){const _0x2dcb22=_0x564486;return this[_0x2dcb22(0xfd)];}get[_0x564486(0xe4)](){return this['_assetManager'];}get[_0x564486(0xff)](){return this['_appParam'];}get[_0x564486(0xf5)](){const _0x270060=_0x564486;return this[_0x270060(0x102)];}constructor(_0x4ad270=DefaultAppParam){const _0x580c3f=_0x564486;this[_0x580c3f(0xf6)]=[],this[_0x580c3f(0xeb)]={'viewportParam':DefaultViewportParam},this['_onCameraChangedDelegate']=new Delegate(),this[_0x580c3f(0xeb)][_0x580c3f(0x11a)]=_0x4ad270[_0x580c3f(0x11a)]?_0x4ad270[_0x580c3f(0x11a)]:DefaultCameraParam,this[_0x580c3f(0xeb)][_0x580c3f(0xef)]=_0x4ad270[_0x580c3f(0xef)]?_0x4ad270['renderParam']:DefaultRendererParameters,this[_0x580c3f(0xeb)][_0x580c3f(0x114)]=_0x4ad270[_0x580c3f(0x114)]?_0x4ad270[_0x580c3f(0x114)]:DefaultPostProcessParam,this['_appParam']['viewportParam']=_0x4ad270['viewportParam']?_0x4ad270[_0x580c3f(0xfc)]:DefaultViewportParam,this[_0x580c3f(0xeb)][_0x580c3f(0xed)]=_0x4ad270[_0x580c3f(0xed)]?_0x4ad270['classes']:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport},this['_appParam'][_0x580c3f(0xe8)]=_0x4ad270['isRenderEveryFrame'],this[_0x580c3f(0x113)]=new webgpu.Clock(),this[_0x580c3f(0x103)]=CameraFactory[_0x580c3f(0xea)](this[_0x580c3f(0xeb)][_0x580c3f(0x11a)]),this[_0x580c3f(0xe5)]=new this['_appParam']['classes']['worldClass'](this,this[_0x580c3f(0xeb)][_0x580c3f(0xe6)]?this['_appParam']['worldParam']:DefaultWorldParam),this[_0x580c3f(0x115)]=new this['_appParam']['classes'][(_0x580c3f(0x105))](this,this[_0x580c3f(0xeb)][_0x580c3f(0xfc)],this[_0x580c3f(0xeb)]['renderParam'],this['_appParam'][_0x580c3f(0x114)]),this[_0x580c3f(0xfd)]=new this['_appParam'][(_0x580c3f(0xed))][(_0x580c3f(0xf3))](this),this[_0x580c3f(0x117)]=new this[(_0x580c3f(0xeb))][(_0x580c3f(0xed))][(_0x580c3f(0xf1))](this),this[_0x580c3f(0xe3)]['renderer'][_0x580c3f(0x10a)](()=>{const _0x47109f=_0x580c3f,_0x5888fd=this['_clock'][_0x47109f(0xf9)]();this[_0x47109f(0x106)](_0x5888fd);}),this[_0x580c3f(0x116)]();}['postConstruct'](){const _0x5667d2=_0x564486;this[_0x5667d2(0x108)][_0x5667d2(0x100)](),this[_0x5667d2(0x112)][_0x5667d2(0x100)](),this[_0x5667d2(0xe3)]['init']();}[_0x564486(0x100)](){}[_0x564486(0x106)](_0x117365){const _0x1db97b=_0x564486;this[_0x1db97b(0xfd)][_0x1db97b(0x106)](_0x117365),this['world'][_0x1db97b(0x106)](_0x117365),this[_0x1db97b(0xf6)]['forEach'](_0x40bd0f=>{_0x40bd0f(_0x117365);}),this[_0x1db97b(0xeb)][_0x1db97b(0xe8)]&&this[_0x1db97b(0xe3)]['markRenderStateDirty'](),this[_0x1db97b(0xe3)]['render']();}[_0x564486(0x107)](_0x55c1df){const _0x248a8c=_0x564486;this[_0x248a8c(0xf6)]['push'](_0x55c1df);}[_0x564486(0x10f)](_0x5472f0){const _0x366ea8=_0x564486,_0x3c1fdb=this[_0x366ea8(0xf6)]['indexOf'](_0x5472f0);_0x3c1fdb>=0x0&&this[_0x366ea8(0xf6)][_0x366ea8(0x11b)](_0x3c1fdb,0x1);}['destroy'](){const _0x1aeedf=_0x564486;this[_0x1aeedf(0xf5)]['clear'](),this[_0x1aeedf(0x108)][_0x1aeedf(0xfb)](),this[_0x1aeedf(0x112)][_0x1aeedf(0xfb)](),this[_0x1aeedf(0xe3)][_0x1aeedf(0xfb)](),this[_0x1aeedf(0x117)][_0x1aeedf(0x11c)]();}[_0x564486(0x118)](_0x36cdab){const _0x52547a=_0x564486,_0x497673=this[_0x52547a(0xf2)];this[_0x52547a(0x103)]=CameraFactory[_0x52547a(0xe9)](_0x36cdab,this['camera']),_0x497673!==this[_0x52547a(0xf2)]&&(this[_0x52547a(0x102)][_0x52547a(0x119)](),this[_0x52547a(0x108)][_0x52547a(0x118)]()),this[_0x52547a(0x103)][_0x52547a(0x101)](),this['viewport'][_0x52547a(0x11d)]();}[_0x564486(0x109)](_0x506d35,_0x233705){const _0x46b72b=_0x564486;this[_0x46b72b(0xf2)]instanceof webgpu.PerspectiveCamera&&(this[_0x46b72b(0xf2)][_0x46b72b(0xe7)]=_0x506d35/_0x233705),this['camera']['updateProjectionMatrix']();}async['renderAsImage'](_0x2c3528=0x400,_0x1c9fa8=0x400){const _0x23bbeb=_0x564486;return await this['viewport'][_0x23bbeb(0xf0)](_0x2c3528,_0x1c9fa8);}}
|
|
95
95
|
|
|
96
|
-
function
|
|
96
|
+
var _0x52cbe5=_0x5b18;function _0x14ee(){var _0x419b94=['obj','13036797DpaEpU','30289lIWPsk','10ldDDpl','1964556odwnZX','3064206bhilnD','getHex','1992IiMaiL','set','4730526fDVsov','userData','intensity','color','271708uvzjCm','threeObject','LYObject','5kHLPlu','970163nxBaAW'];_0x14ee=function(){return _0x419b94;};return _0x14ee();}(function(_0x160726,_0x2d51c3){var _0x1d8ceb=_0x5b18,_0x4616b9=_0x160726();while(!![]){try{var _0x233e06=-parseInt(_0x1d8ceb(0x14d))/0x1+parseInt(_0x1d8ceb(0x140))/0x2+-parseInt(_0x1d8ceb(0x141))/0x3+-parseInt(_0x1d8ceb(0x149))/0x4*(-parseInt(_0x1d8ceb(0x14c))/0x5)+-parseInt(_0x1d8ceb(0x145))/0x6+parseInt(_0x1d8ceb(0x13e))/0x7*(parseInt(_0x1d8ceb(0x143))/0x8)+-parseInt(_0x1d8ceb(0x13d))/0x9*(-parseInt(_0x1d8ceb(0x13f))/0xa);if(_0x233e06===_0x2d51c3)break;else _0x4616b9['push'](_0x4616b9['shift']());}catch(_0x331689){_0x4616b9['push'](_0x4616b9['shift']());}}}(_0x14ee,0xc260f));function _0x5b18(_0x521b3f,_0x19133f){_0x521b3f=_0x521b3f-0x13c;var _0x14eec3=_0x14ee();var _0x5b1866=_0x14eec3[_0x521b3f];return _0x5b1866;}class LightComponent extends SceneComponent{get['threeObject'](){var _0x20f92d=_0x5b18;if(!this[_0x20f92d(0x13c)])throw Error('three\x20object\x20is\x20invalid');return this['obj'];}set[_0x52cbe5(0x14a)](_0x15c938){var _0x3d6301=_0x52cbe5;this[_0x3d6301(0x13c)]=_0x15c938,this[_0x3d6301(0x13c)]&&(this[_0x3d6301(0x13c)][_0x3d6301(0x146)][_0x3d6301(0x14b)]=this);}get['color'](){var _0x579d7b=_0x52cbe5;return this['threeObject'][_0x579d7b(0x148)][_0x579d7b(0x142)]();}set[_0x52cbe5(0x148)](_0x2d6ccf){var _0x5300c4=_0x52cbe5;this['threeObject'][_0x5300c4(0x148)][_0x5300c4(0x144)](_0x2d6ccf);}get[_0x52cbe5(0x147)](){var _0x216a83=_0x52cbe5;return this[_0x216a83(0x14a)][_0x216a83(0x147)];}set[_0x52cbe5(0x147)](_0x25d3be){var _0x4e9816=_0x52cbe5;this[_0x4e9816(0x14a)][_0x4e9816(0x147)]=_0x25d3be;}constructor(_0x57e95a,_0x38ed31){super(_0x57e95a,_0x38ed31);}}
|
|
97
97
|
|
|
98
|
-
var
|
|
98
|
+
var _0x2801ee=_0x43c2;(function(_0x5e3cde,_0x2ca93f){var _0x5badec=_0x43c2,_0x37e8d2=_0x5e3cde();while(!![]){try{var _0x6a02c9=parseInt(_0x5badec(0x136))/0x1+-parseInt(_0x5badec(0x139))/0x2*(parseInt(_0x5badec(0x143))/0x3)+-parseInt(_0x5badec(0x146))/0x4+-parseInt(_0x5badec(0x13e))/0x5+parseInt(_0x5badec(0x149))/0x6*(parseInt(_0x5badec(0x138))/0x7)+parseInt(_0x5badec(0x14a))/0x8+-parseInt(_0x5badec(0x135))/0x9*(-parseInt(_0x5badec(0x13b))/0xa);if(_0x6a02c9===_0x2ca93f)break;else _0x37e8d2['push'](_0x37e8d2['shift']());}catch(_0x312360){_0x37e8d2['push'](_0x37e8d2['shift']());}}}(_0x5dcf,0x47f91));function _0x43c2(_0x2878dd,_0x253c8c){_0x2878dd=_0x2878dd-0x135;var _0x5dcf36=_0x5dcf();var _0x43c27b=_0x5dcf36[_0x2878dd];return _0x43c27b;}function _0x5dcf(){var _0x571652=['world','1419500vvlSJa','onAddedToWorld','setPosition','viewport','color','661677fSBRMz','createDefaultObject','update','1482868VPVorj','destroy','intensity','954xTgHQp','1891792VKVBSX','markRenderStateDirty','userData','set','length','154539QMoIIr','309433mPpiSx','threeObject','23695BwTpGZ','2LZjudp','obj','50SywcZK','castShadow'];_0x5dcf=function(){return _0x571652;};return _0x5dcf();}class DirectionalLightComponent extends LightComponent{get[_0x2801ee(0x137)](){var _0x42bf9f=_0x2801ee;if(!this[_0x42bf9f(0x13a)])throw Error('three\x20object\x20is\x20invalid');return this['obj'];}set[_0x2801ee(0x137)](_0x33a0f6){var _0x5d3d18=_0x2801ee;this['obj']=_0x33a0f6,this['obj']&&(this['obj'][_0x5d3d18(0x14c)]['LYObject']=this);}get[_0x2801ee(0x13c)](){var _0xaf5c75=_0x2801ee;return this[_0xaf5c75(0x137)]['castShadow'];}set['castShadow'](_0x1c9eb9){var _0x461e98=_0x2801ee;this['threeObject'][_0x461e98(0x13c)]=_0x1c9eb9;}constructor(_0x5c83fb,_0x110f7f=0xffffff,_0x2097c0=0xa,_0x5d63ed){var _0x2bc000=_0x2801ee;super(_0x5c83fb,_0x5d63ed),this['threeObject'][_0x2bc000(0x142)][_0x2bc000(0x14d)](_0x110f7f),this[_0x2bc000(0x137)][_0x2bc000(0x148)]=_0x2097c0;}[_0x2801ee(0x144)](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0x2801ee(0x140)](..._0x4428ab){var _0x479d81=_0x2801ee;_0x4428ab[_0x479d81(0x14e)]===0x1?super[_0x479d81(0x140)](_0x4428ab[0x0]):super['setPosition'](_0x4428ab[0x0],_0x4428ab[0x1],_0x4428ab[0x2]),this[_0x479d81(0x145)]();}[_0x2801ee(0x145)](){var _0x393399=_0x2801ee;if(this[_0x393399(0x13d)])this[_0x393399(0x13d)][_0x393399(0x141)][_0x393399(0x14b)]();}[_0x2801ee(0x13f)](_0xee18b5){if(!this['threeObject'])throw Error('three\x20object\x20is\x20invalid');super['onAddedToWorld'](_0xee18b5);}[_0x2801ee(0x147)](){var _0x46840c=_0x2801ee;super[_0x46840c(0x147)]();}}
|
|
99
99
|
|
|
100
|
-
var
|
|
100
|
+
var _0x4eccb5=_0x4067;function _0x4067(_0xf0fa2e,_0x2a1ad0){_0xf0fa2e=_0xf0fa2e-0x1e4;var _0x5c6354=_0x5c63();var _0x4067c0=_0x5c6354[_0xf0fa2e];return _0x4067c0;}(function(_0x60cb0b,_0x2712ce){var _0x53f5cc=_0x4067,_0x5b6f99=_0x60cb0b();while(!![]){try{var _0x3a68d0=-parseInt(_0x53f5cc(0x1ef))/0x1+parseInt(_0x53f5cc(0x1ee))/0x2+-parseInt(_0x53f5cc(0x1ec))/0x3*(-parseInt(_0x53f5cc(0x1ed))/0x4)+-parseInt(_0x53f5cc(0x1f2))/0x5+parseInt(_0x53f5cc(0x1f3))/0x6*(-parseInt(_0x53f5cc(0x1e7))/0x7)+-parseInt(_0x53f5cc(0x1e9))/0x8+parseInt(_0x53f5cc(0x1ea))/0x9;if(_0x3a68d0===_0x2712ce)break;else _0x5b6f99['push'](_0x5b6f99['shift']());}catch(_0x5d0127){_0x5b6f99['push'](_0x5b6f99['shift']());}}}(_0x5c63,0x18703));function _0x5c63(){var _0x594069=['color','276240qVRUjW','1567260ajPYVG','rootComponent','187269phJnPT','8eBNAMX','195056MjZLuQ','63408AuTuOD','app','intensity','396200vImDCy','715422ECmwfQ','lightComponent','constructRootComponent','castShadow','7EkHKws'];_0x5c63=function(){return _0x594069;};return _0x5c63();}class DirectionalLightActor extends Actor{constructor(_0x35778a,_0x56e5d7=0xffffff,_0x2cf2ec=0x1,_0x154b36){var _0x3f6c6d=_0x4067;super(_0x35778a,_0x154b36),this[_0x3f6c6d(0x1e4)]=null,this[_0x3f6c6d(0x1e4)]=this[_0x3f6c6d(0x1eb)],this[_0x3f6c6d(0x1e4)]&&(this[_0x3f6c6d(0x1e4)][_0x3f6c6d(0x1e8)]=_0x56e5d7,this[_0x3f6c6d(0x1e4)][_0x3f6c6d(0x1f1)]=_0x2cf2ec,this[_0x3f6c6d(0x1e4)][_0x3f6c6d(0x1e6)]=!![]),this[_0x3f6c6d(0x1e4)][_0x3f6c6d(0x1e6)]=!![];}[_0x4eccb5(0x1e5)](){var _0x27adbd=_0x4eccb5;return new DirectionalLightComponent(this[_0x27adbd(0x1f0)]);}}
|
|
101
101
|
|
|
102
|
-
var
|
|
102
|
+
var _0x1c4e85=_0x1b8f;(function(_0x45f12d,_0xc8d536){var _0x3283b1=_0x1b8f,_0x1af824=_0x45f12d();while(!![]){try{var _0x409af3=parseInt(_0x3283b1(0x1a4))/0x1*(-parseInt(_0x3283b1(0x19f))/0x2)+-parseInt(_0x3283b1(0x1a6))/0x3*(parseInt(_0x3283b1(0x19a))/0x4)+parseInt(_0x3283b1(0x1a2))/0x5*(parseInt(_0x3283b1(0x1a3))/0x6)+parseInt(_0x3283b1(0x1ac))/0x7+-parseInt(_0x3283b1(0x199))/0x8+-parseInt(_0x3283b1(0x1a0))/0x9*(parseInt(_0x3283b1(0x1a8))/0xa)+-parseInt(_0x3283b1(0x1a5))/0xb*(-parseInt(_0x3283b1(0x19c))/0xc);if(_0x409af3===_0xc8d536)break;else _0x1af824['push'](_0x1af824['shift']());}catch(_0x54604e){_0x1af824['push'](_0x1af824['shift']());}}}(_0x2c4b,0x8ca76));function _0x1b8f(_0x327f2b,_0x5c5006){_0x327f2b=_0x327f2b-0x195;var _0x2c4b7c=_0x2c4b();var _0x1b8f16=_0x2c4b7c[_0x327f2b];return _0x1b8f16;}function _0x2c4b(){var _0x49c122=['onAddedToWorld','1500HoocRb','three\x20object\x20is\x20invalid','destroy','10KbbrXT','2781LQXkzZ','update','177765NIOlyL','192yGiMqi','168383wUiiIL','69102CdMPdM','30wtsKNp','set','16810NOfsqk','intensity','castShadow','LYObject','6682767azHPsl','markRenderStateDirty','setPosition','obj','userData','threeObject','world','7325000oHHLtd','9816MMGFXK'];_0x2c4b=function(){return _0x49c122;};return _0x2c4b();}class AmbientLightComponent extends LightComponent{get[_0x1c4e85(0x197)](){var _0x1f6829=_0x1c4e85;if(!this[_0x1f6829(0x195)])throw Error('three\x20object\x20is\x20invalid');return this[_0x1f6829(0x195)];}set[_0x1c4e85(0x197)](_0x197a7d){var _0xbb7ccf=_0x1c4e85;this[_0xbb7ccf(0x195)]=_0x197a7d,this[_0xbb7ccf(0x195)]&&(this['obj'][_0xbb7ccf(0x196)][_0xbb7ccf(0x1ab)]=this);}get[_0x1c4e85(0x1aa)](){var _0x107b00=_0x1c4e85;return this[_0x107b00(0x197)][_0x107b00(0x1aa)];}set[_0x1c4e85(0x1aa)](_0x49ddb2){var _0x3287a7=_0x1c4e85;this[_0x3287a7(0x197)][_0x3287a7(0x1aa)]=_0x49ddb2;}constructor(_0x405bdd,_0x47ea3a=0xffffff,_0x81235b=0xa,_0x5b458c){var _0x4586d3=_0x1c4e85;super(_0x405bdd,_0x5b458c),this[_0x4586d3(0x197)]['color'][_0x4586d3(0x1a7)](_0x47ea3a),this[_0x4586d3(0x197)][_0x4586d3(0x1a9)]=_0x81235b;}['createDefaultObject'](){return new webgpu.AmbientLight(0xffffff,0xa);}[_0x1c4e85(0x1ae)](..._0x5cd41d){var _0x415b34=_0x1c4e85;_0x5cd41d['length']===0x1?super[_0x415b34(0x1ae)](_0x5cd41d[0x0]):super[_0x415b34(0x1ae)](_0x5cd41d[0x0],_0x5cd41d[0x1],_0x5cd41d[0x2]),this[_0x415b34(0x1a1)]();}[_0x1c4e85(0x1a1)](){var _0xc44e13=_0x1c4e85;if(this['world'])this[_0xc44e13(0x198)]['viewport'][_0xc44e13(0x1ad)]();}[_0x1c4e85(0x19b)](_0x10224e){var _0x55d51f=_0x1c4e85;if(!this[_0x55d51f(0x197)])throw Error(_0x55d51f(0x19d));super[_0x55d51f(0x19b)](_0x10224e);}[_0x1c4e85(0x19e)](){super['destroy']();}}
|
|
103
103
|
|
|
104
|
-
function
|
|
104
|
+
function _0x5bff(_0x280c06,_0x1d39fb){_0x280c06=_0x280c06-0x125;var _0x54bc72=_0x54bc();var _0x5bffdd=_0x54bc72[_0x280c06];return _0x5bffdd;}(function(_0x13fc6f,_0x40fd84){var _0x2a4dca=_0x5bff,_0x10f3fb=_0x13fc6f();while(!![]){try{var _0x35dffc=-parseInt(_0x2a4dca(0x125))/0x1*(parseInt(_0x2a4dca(0x12e))/0x2)+parseInt(_0x2a4dca(0x130))/0x3*(-parseInt(_0x2a4dca(0x12d))/0x4)+parseInt(_0x2a4dca(0x12a))/0x5+parseInt(_0x2a4dca(0x131))/0x6+-parseInt(_0x2a4dca(0x132))/0x7+-parseInt(_0x2a4dca(0x127))/0x8+parseInt(_0x2a4dca(0x126))/0x9;if(_0x35dffc===_0x40fd84)break;else _0x10f3fb['push'](_0x10f3fb['shift']());}catch(_0x2507fa){_0x10f3fb['push'](_0x10f3fb['shift']());}}}(_0x54bc,0xd61f0));class AmbientLightActor extends Actor{constructor(_0x2d3f95,_0x66f991=0xffffff,_0x11f7fd=0x1,_0xd05f68){var _0x698543=_0x5bff;super(_0x2d3f95,_0xd05f68),this[_0x698543(0x128)]=null,this[_0x698543(0x128)]=this[_0x698543(0x12b)],this[_0x698543(0x128)]&&(this['lightComponent'][_0x698543(0x129)]=_0x66f991,this[_0x698543(0x128)]['intensity']=_0x11f7fd,this[_0x698543(0x128)][_0x698543(0x12f)]=!![]),this[_0x698543(0x128)][_0x698543(0x12f)]=!![];}['constructRootComponent'](){var _0x569384=_0x5bff;return new AmbientLightComponent(this[_0x569384(0x12c)]);}}function _0x54bc(){var _0x5d2748=['2347053TUxCdz','6094440DjjwKK','5966247uLBnRA','1374MHTAam','27658089QcqvvA','13192264QPZkyP','lightComponent','color','3952430zvOBOz','rootComponent','app','4YPiTOW','1046mZQASJ','castShadow'];_0x54bc=function(){return _0x5d2748;};return _0x54bc();}
|
|
105
105
|
|
|
106
|
-
function
|
|
106
|
+
function _0x5bce(_0x1d9883,_0x3492b5){_0x1d9883=_0x1d9883-0x11b;var _0x4caae9=_0x4caa();var _0x5bce36=_0x4caae9[_0x1d9883];return _0x5bce36;}function _0x4caa(){var _0x4440a9=['3806496HSoXWD','509306AvkyeY','2778102qIBejt','9850pUrlxj','1835392AKRxvX','305294WFmNHe','776VSXjnv','2937851OSxhGD','3mUHsXC'];_0x4caa=function(){return _0x4440a9;};return _0x4caa();}(function(_0x3e67fd,_0x46fcd2){var _0x3b9ce4=_0x5bce,_0x2d6bd4=_0x3e67fd();while(!![]){try{var _0x580d23=-parseInt(_0x3b9ce4(0x122))/0x1+-parseInt(_0x3b9ce4(0x11d))/0x2*(-parseInt(_0x3b9ce4(0x120))/0x3)+parseInt(_0x3b9ce4(0x11e))/0x4*(parseInt(_0x3b9ce4(0x11b))/0x5)+parseInt(_0x3b9ce4(0x123))/0x6+parseInt(_0x3b9ce4(0x11f))/0x7+-parseInt(_0x3b9ce4(0x11c))/0x8+-parseInt(_0x3b9ce4(0x121))/0x9;if(_0x580d23===_0x46fcd2)break;else _0x2d6bd4['push'](_0x2d6bd4['shift']());}catch(_0x7db1f){_0x2d6bd4['push'](_0x2d6bd4['shift']());}}}(_0x4caa,0x3e777));class BoxComponent extends MeshComponent{constructor(_0x1fdf0f,_0x47bd3e=0x1,_0x187dad=0x1,_0x1c1a3f=0x1,_0x1d037b=0x1,_0x2fa78a=0x1,_0x5cf1ed=0x1,_0x4ca0f3=new webgpu.MeshStandardMaterial(),_0x5211d0){super(_0x1fdf0f,new webgpu.BoxGeometry(_0x47bd3e,_0x187dad,_0x1c1a3f,_0x1d037b,_0x2fa78a,_0x5cf1ed),_0x4ca0f3,_0x5211d0);}}
|
|
107
107
|
|
|
108
|
-
var
|
|
108
|
+
var _0x929d28=_0x3ab3;(function(_0x4520ee,_0x5a6c67){var _0x9e5d89=_0x3ab3,_0x58b5a8=_0x4520ee();while(!![]){try{var _0x185838=parseInt(_0x9e5d89(0x138))/0x1*(parseInt(_0x9e5d89(0x139))/0x2)+parseInt(_0x9e5d89(0x130))/0x3+-parseInt(_0x9e5d89(0x136))/0x4+parseInt(_0x9e5d89(0x137))/0x5+-parseInt(_0x9e5d89(0x133))/0x6*(-parseInt(_0x9e5d89(0x135))/0x7)+parseInt(_0x9e5d89(0x12f))/0x8+-parseInt(_0x9e5d89(0x131))/0x9;if(_0x185838===_0x5a6c67)break;else _0x58b5a8['push'](_0x58b5a8['shift']());}catch(_0x1df3a9){_0x58b5a8['push'](_0x58b5a8['shift']());}}}(_0x384c,0x37080));function _0x384c(){var _0x2ba257=['uuid','966dZyIGm','1075860EbjueV','1664195lgDvob','27QYzzMY','20992wOaVwl','3603480WxgGmD','9210xawZrO','9172539FDVCPx','constructRootComponent','19296zExdho'];_0x384c=function(){return _0x2ba257;};return _0x384c();}function _0x3ab3(_0x4e32e9,_0x1f4332){_0x4e32e9=_0x4e32e9-0x12f;var _0x384ce9=_0x384c();var _0x3ab3fc=_0x384ce9[_0x4e32e9];return _0x3ab3fc;}class BoxActor extends Actor{constructor(_0x16d9a6,_0x17b0a0){super(_0x16d9a6,_0x17b0a0);}[_0x929d28(0x132)](){var _0x2e7074=_0x929d28;return new BoxComponent(this['app'],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this[_0x2e7074(0x134)]);}}
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
const _0x6d0d6b=_0x160b;(function(_0xfee291,_0x2bb86f){const _0x84bcbd=_0x160b,_0x5c6977=_0xfee291();while(!![]){try{const _0xc5f290=parseInt(_0x84bcbd(0x189))/0x1*(-parseInt(_0x84bcbd(0x18d))/0x2)+-parseInt(_0x84bcbd(0x17d))/0x3+parseInt(_0x84bcbd(0x179))/0x4+parseInt(_0x84bcbd(0x17a))/0x5+parseInt(_0x84bcbd(0x183))/0x6+-parseInt(_0x84bcbd(0x18b))/0x7+-parseInt(_0x84bcbd(0x186))/0x8;if(_0xc5f290===_0x2bb86f)break;else _0x5c6977['push'](_0x5c6977['shift']());}catch(_0x2bd6e1){_0x5c6977['push'](_0x5c6977['shift']());}}}(_0x48d8,0xc28df));function _0x48d8(){const _0x4d0ea4=['12982sXafDx','turbidity','rayleigh','skyParam','mieCoefficient','createDefaultObject','three\x20object\x20is\x20invalid','setFromSphericalCoords','userData','elevation','4569808FbexpU','4905555HnCKSg','value','disposeMeshResource','4634532rnnrmz','sunPosition','mieDirectionalG','LYObject','azimuth','degToRad','8370570VLxepD','copy','obj','1608520xlJJZP','threeObject','updateSky','144pnWybm','destroyObject','288050lxZiRu','viewport'];_0x48d8=function(){return _0x4d0ea4;};return _0x48d8();}function _0x160b(_0x1f19dc,_0x4c0f3e){_0x1f19dc=_0x1f19dc-0x179;const _0x48d8c9=_0x48d8();let _0x160b8f=_0x48d8c9[_0x1f19dc];return _0x160b8f;}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x6d0d6b(0x187)](){const _0x34f71d=_0x6d0d6b;if(!this['obj'])throw Error(_0x34f71d(0x193));return this[_0x34f71d(0x185)];}set[_0x6d0d6b(0x187)](_0x42ed5b){const _0x1a44b9=_0x6d0d6b;this[_0x1a44b9(0x185)]=_0x42ed5b,this[_0x1a44b9(0x185)]&&(this[_0x1a44b9(0x185)][_0x1a44b9(0x195)][_0x1a44b9(0x180)]=this);}constructor(_0x11ccc9,_0x43f96a,_0x242b41){const _0x1267be=_0x6d0d6b;super(_0x11ccc9,_0x242b41),this[_0x1267be(0x190)]=DefaultSkyParam,this[_0x1267be(0x17e)]=new webgpu.Vector3(),_0x43f96a&&(this[_0x1267be(0x190)]=_0x43f96a),this['updateSky']();}[_0x6d0d6b(0x192)](){return new SkyMesh_js.SkyMesh();}[_0x6d0d6b(0x188)](){const _0x275780=_0x6d0d6b;var _0x5c6867,_0x303cfa;this[_0x275780(0x187)][_0x275780(0x18e)][_0x275780(0x17b)]=this[_0x275780(0x190)][_0x275780(0x18e)],this[_0x275780(0x187)][_0x275780(0x18f)][_0x275780(0x17b)]=this[_0x275780(0x190)][_0x275780(0x18f)],this[_0x275780(0x187)][_0x275780(0x191)][_0x275780(0x17b)]=this[_0x275780(0x190)][_0x275780(0x191)],this['threeObject'][_0x275780(0x17f)]['value']=this['skyParam'][_0x275780(0x17f)];const _0x45d1f7=webgpu.MathUtils[_0x275780(0x182)](0x5a-this[_0x275780(0x190)][_0x275780(0x196)]),_0x40584c=webgpu.MathUtils[_0x275780(0x182)](this[_0x275780(0x190)][_0x275780(0x181)]);this[_0x275780(0x17e)][_0x275780(0x194)](0x1,_0x45d1f7,_0x40584c),this[_0x275780(0x187)][_0x275780(0x17e)][_0x275780(0x17b)][_0x275780(0x184)](this['sunPosition']),(_0x303cfa=(_0x5c6867=this['world'])===null||_0x5c6867===void 0?void 0:_0x5c6867[_0x275780(0x18c)])===null||_0x303cfa===void 0?void 0:_0x303cfa['markRenderStateDirty']();}[_0x6d0d6b(0x18a)](){const _0x160cb4=_0x6d0d6b;this[_0x160cb4(0x185)]&&ThreeObjectLibrary[_0x160cb4(0x17c)](this[_0x160cb4(0x187)]);}}
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
function _0x5221(_0xf8d5a7,_0x24b405){_0xf8d5a7=_0xf8d5a7-0x7c;var _0x406bc3=_0x406b();var _0x522145=_0x406bc3[_0xf8d5a7];return _0x522145;}var _0x4a305e=_0x5221;(function(_0x2cc2b1,_0xac1e03){var _0x1bf176=_0x5221,_0x223d28=_0x2cc2b1();while(!![]){try{var _0x58b527=-parseInt(_0x1bf176(0x89))/0x1*(-parseInt(_0x1bf176(0x7d))/0x2)+parseInt(_0x1bf176(0x7c))/0x3*(-parseInt(_0x1bf176(0x85))/0x4)+-parseInt(_0x1bf176(0x8d))/0x5*(parseInt(_0x1bf176(0x88))/0x6)+-parseInt(_0x1bf176(0x8e))/0x7+-parseInt(_0x1bf176(0x80))/0x8*(parseInt(_0x1bf176(0x81))/0x9)+-parseInt(_0x1bf176(0x87))/0xa*(parseInt(_0x1bf176(0x7f))/0xb)+parseInt(_0x1bf176(0x7e))/0xc;if(_0x58b527===_0xac1e03)break;else _0x223d28['push'](_0x223d28['shift']());}catch(_0x46ad3e){_0x223d28['push'](_0x223d28['shift']());}}}(_0x406b,0xc7a79));function _0x406b(){var _0x515508=['skyComponent','412AWrIYd','constructRootComponent','3113830TxtYkL','6PEdLdg','109FHvlYe','SkyActor','setScale','name','681545QaifnN','10223815fJaFJm','rootComponent','15987pMJUpS','14698gFUnOb','33915816aCVVVh','22iwmgoj','4056UMCbrJ','729OrilUh','(Root)','_name'];_0x406b=function(){return _0x515508;};return _0x406b();}class SkyActor extends Actor{constructor(_0x4452d3,_0x2ffdd1){var _0x569faa=_0x5221;super(_0x4452d3,_0x2ffdd1),this[_0x569faa(0x83)]=_0x569faa(0x8a),this[_0x569faa(0x84)]=null,this['name']='SkyActor',this['skyComponent']=this['rootComponent'],this['rootComponent'][_0x569faa(0x8c)]=this[_0x569faa(0x8f)][_0x569faa(0x8c)]+_0x569faa(0x82),this[_0x569faa(0x8b)](0xafc8,0xafc8,0xafc8);}[_0x4a305e(0x86)](){return new SkyComponent(this['app']);}}
|
|
113
113
|
|
|
114
|
-
(function(
|
|
114
|
+
(function(_0x43505b,_0x1b5e24){var _0x32076c=_0x58a0,_0x34c26c=_0x43505b();while(!![]){try{var _0x49b348=parseInt(_0x32076c(0xac))/0x1*(-parseInt(_0x32076c(0xb5))/0x2)+-parseInt(_0x32076c(0xaf))/0x3+-parseInt(_0x32076c(0xb2))/0x4*(-parseInt(_0x32076c(0xb1))/0x5)+-parseInt(_0x32076c(0xb0))/0x6*(parseInt(_0x32076c(0xb4))/0x7)+parseInt(_0x32076c(0xb3))/0x8+parseInt(_0x32076c(0xad))/0x9+parseInt(_0x32076c(0xae))/0xa;if(_0x49b348===_0x1b5e24)break;else _0x34c26c['push'](_0x34c26c['shift']());}catch(_0x586c3c){_0x34c26c['push'](_0x34c26c['shift']());}}}(_0x5dee,0x34193));function _0x58a0(_0x38c9e8,_0x12ebc4){_0x38c9e8=_0x38c9e8-0xac;var _0x5deed2=_0x5dee();var _0x58a0b8=_0x5deed2[_0x38c9e8];return _0x58a0b8;}function _0x5dee(){var _0x240984=['81547VrqViU','3185235eeEvoW','3683610rgupuQ','1246299lOqjnm','6owLIgZ','121595sUDcOa','52UpNCOX','2095064zTaNOn','1846201daDtbC','10nwjrev'];_0x5dee=function(){return _0x240984;};return _0x5dee();}class PlaneComponent extends MeshComponent{constructor(_0x4e929e,_0x5009e1,_0x1abcb0,_0x464e84,_0x52d0e3=0x1,_0x1648a0=0x1,_0x46ce48){super(_0x4e929e,new webgpu.PlaneGeometry(_0x5009e1,_0x1abcb0,_0x52d0e3,_0x1648a0),_0x464e84,_0x46ce48);}}
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
function _0x59d6(_0x4ceb5b,_0xd32471){_0x4ceb5b=_0x4ceb5b-0x8f;var _0x4fee9e=_0x4fee();var _0x59d6b9=_0x4fee9e[_0x4ceb5b];return _0x59d6b9;}function _0x4fee(){var _0x6972de=['3ARqgVZ','constructRootComponent','865972hXLSRP','347128KMXyXO','396340yRaFPa','10830523kxXwCo','4498677oWAxiS','24OjFBss','1621620aYkLQV','24TpmJTh','uuid','283300xNBxsG','8auhiUk'];_0x4fee=function(){return _0x6972de;};return _0x4fee();}var _0x1a72f5=_0x59d6;(function(_0x34ef70,_0x282f85){var _0x317bc3=_0x59d6,_0x38d950=_0x34ef70();while(!![]){try{var _0x3699d4=-parseInt(_0x317bc3(0x8f))/0x1+parseInt(_0x317bc3(0x9b))/0x2*(-parseInt(_0x317bc3(0x99))/0x3)+-parseInt(_0x317bc3(0x93))/0x4*(parseInt(_0x317bc3(0x97))/0x5)+parseInt(_0x317bc3(0x95))/0x6*(-parseInt(_0x317bc3(0x90))/0x7)+-parseInt(_0x317bc3(0x98))/0x8*(-parseInt(_0x317bc3(0x92))/0x9)+parseInt(_0x317bc3(0x94))/0xa+parseInt(_0x317bc3(0x91))/0xb;if(_0x3699d4===_0x282f85)break;else _0x38d950['push'](_0x38d950['shift']());}catch(_0x24ae96){_0x38d950['push'](_0x38d950['shift']());}}}(_0x4fee,0x49416));class PlaneActor extends Actor{constructor(_0x275279,_0x557e22){super(_0x275279,_0x557e22);}[_0x1a72f5(0x9a)](){var _0x1d08b5=_0x1a72f5;return new PlaneComponent(this['app'],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0x1d08b5(0x96)]);}['destroy'](){super['destroy']();}}
|
|
117
117
|
|
|
118
|
-
function _0x436d(){const _0x446280=['264uTjtdr','88YuUUme','56830QoiCFk','abs','reverse','length','getBoundsCenterPosition','geometry','getBoundsBottomCenterPosition','vertices','clone','computeVertexNormals','colors','CustomMeshComponent','userData','4498msqnYU','name','284lkkwyk','CustomMeshComponent:\x20Invalid\x20vertices\x20data','map','getBounds','push','threeObject','addGeometryAsset','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','castShadow','createDefaultObject','275086apDiIc','from','min','LYObject','max','meshData','calculatePolygonArea','destroyObject','setAttribute','getBoundsTopCenterPosition','getValue','addMaterialAsset','material\x20is\x20null','receiveShadow','app','color','setIndex','4866RtHZpR','materialPtr','release','811XHDezI','12780LdzwQn','geometryPtr','_meshData','material','markRenderStateDirty','1270gnfzVN','getCenter','275wmyEVH','obj','normals','viewport','geometryPtr\x20is\x20null','20343YHtPDj','_materialPtr','indices','assetManager','addRef','1467540IsKdTX','error','materialPtr\x20is\x20null','uvs','constructGeometry','computeUVs','_geometryPtr','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','warn'];_0x436d=function(){return _0x446280;};return _0x436d();}const _0x238080=_0x532d;function _0x532d(_0x45f74b,_0x260f23){_0x45f74b=_0x45f74b-0x1f0;const _0x436d31=_0x436d();let _0x532dcf=_0x436d31[_0x45f74b];return _0x532dcf;}(function(_0x332970,_0x285835){const _0x2f4db0=_0x532d,_0x4cf423=_0x332970();while(!![]){try{const _0x2925da=parseInt(_0x2f4db0(0x1fd))/0x1*(parseInt(_0x2f4db0(0x218))/0x2)+parseInt(_0x2f4db0(0x20a))/0x3*(parseInt(_0x2f4db0(0x229))/0x4)+parseInt(_0x2f4db0(0x203))/0x5*(parseInt(_0x2f4db0(0x1fa))/0x6)+parseInt(_0x2f4db0(0x233))/0x7*(-parseInt(_0x2f4db0(0x219))/0x8)+parseInt(_0x2f4db0(0x20f))/0x9+parseInt(_0x2f4db0(0x21a))/0xa*(parseInt(_0x2f4db0(0x205))/0xb)+parseInt(_0x2f4db0(0x1fe))/0xc*(-parseInt(_0x2f4db0(0x227))/0xd);if(_0x2925da===_0x285835)break;else _0x4cf423['push'](_0x4cf423['shift']());}catch(_0x4135f6){_0x4cf423['push'](_0x4cf423['shift']());}}}(_0x436d,0x48f70));class CustomMeshComponent extends SceneComponent{get[_0x238080(0x22e)](){const _0x39a64a=_0x238080;if(!this[_0x39a64a(0x206)])throw new Error('CustomMeshComponent:\x20threeObject\x20is\x20null');return this[_0x39a64a(0x206)];}set[_0x238080(0x22e)](_0x346fcd){const _0x2b773c=_0x238080;this[_0x2b773c(0x206)]=_0x346fcd,this['obj']&&(this[_0x2b773c(0x206)][_0x2b773c(0x226)][_0x2b773c(0x236)]=this);}get['geometry'](){const _0x2f9a28=_0x238080;if(!this[_0x2f9a28(0x215)])throw new Error(_0x2f9a28(0x209));return this['_geometryPtr']['getValue']();}set[_0x238080(0x21f)](_0x2eb3b5){const _0x17afc1=_0x238080;let _0x3ff002=this[_0x17afc1(0x1f7)][_0x17afc1(0x20d)][_0x17afc1(0x22f)](_0x2eb3b5);this[_0x17afc1(0x1ff)]=_0x3ff002;}get[_0x238080(0x1ff)](){if(!this['_geometryPtr'])throw new Error('geometryPtr\x20is\x20null');return this['_geometryPtr'];}set[_0x238080(0x1ff)](_0x1d1091){const _0x1b8802=_0x238080;this[_0x1b8802(0x215)]&&(this[_0x1b8802(0x215)][_0x1b8802(0x1fc)](),this['_geometryPtr']=null);this[_0x1b8802(0x215)]=_0x1d1091;let _0x394ab3=_0x1d1091[_0x1b8802(0x1f3)]();this['threeObject']&&_0x394ab3&&(this[_0x1b8802(0x22e)][_0x1b8802(0x21f)]=_0x394ab3);}get[_0x238080(0x201)](){const _0x58bb22=_0x238080;if(!this[_0x58bb22(0x20b)])throw new Error(_0x58bb22(0x211));let _0xf5e561=this[_0x58bb22(0x20b)][_0x58bb22(0x1f3)]();if(!_0xf5e561)throw new Error(_0x58bb22(0x1f5));return _0xf5e561;}get[_0x238080(0x1fb)](){const _0x330807=_0x238080;if(!this['_materialPtr'])throw new Error('materialPtr\x20is\x20null');return this[_0x330807(0x20b)];}set[_0x238080(0x201)](_0xed9d45){const _0x22f34a=_0x238080;let _0x2afc14=this[_0x22f34a(0x1f7)][_0x22f34a(0x20d)][_0x22f34a(0x1f4)](_0xed9d45);this[_0x22f34a(0x1fb)]=_0x2afc14;}set[_0x238080(0x1fb)](_0x59320f){const _0xad3ad6=_0x238080;this[_0xad3ad6(0x20b)]&&(this[_0xad3ad6(0x20b)][_0xad3ad6(0x1fc)](),this[_0xad3ad6(0x20b)]=null);this['_materialPtr']=_0x59320f;let _0x13dc2b=_0x59320f[_0xad3ad6(0x1f3)]();_0x59320f[_0xad3ad6(0x20e)](),this[_0xad3ad6(0x22e)]&&_0x13dc2b&&(this['threeObject'][_0xad3ad6(0x201)]=_0x13dc2b);}constructor(_0xa57493,_0x29eb51,_0x25f4a1,_0x2be947){const _0x116170=_0x238080;super(_0xa57493,_0x2be947),this[_0x116170(0x200)]=_0x29eb51;let _0x3bc0f7=_0xa57493[_0x116170(0x20d)][_0x116170(0x1f4)](_0x25f4a1);this[_0x116170(0x20b)]=_0x3bc0f7,_0x3bc0f7[_0x116170(0x20e)]();const _0x30ac9e=this['constructGeometry'](_0x29eb51);this[_0x116170(0x215)]=_0xa57493[_0x116170(0x20d)][_0x116170(0x22f)](_0x30ac9e),this[_0x116170(0x22e)][_0x116170(0x201)]=_0x25f4a1,this['threeObject'][_0x116170(0x21f)]=_0x30ac9e,this[_0x116170(0x228)]=_0x116170(0x225),this[_0x116170(0x231)]=!![],this['receiveShadow']=!![];}['computeUVs'](_0x57cdfe){const _0x47f568=_0x238080,_0x36ff2d=new Float32Array(_0x57cdfe[_0x47f568(0x21d)]*0x2);if(_0x57cdfe[_0x47f568(0x21d)]===0x0)return _0x36ff2d;let _0x372a64=Infinity,_0x5f148e=-Infinity,_0xed9d68=Infinity,_0x4fdfd9=-Infinity,_0xd93465=Infinity,_0x35d790=-Infinity;for(const _0x51a711 of _0x57cdfe){_0x372a64=Math[_0x47f568(0x235)](_0x372a64,_0x51a711['x']),_0x5f148e=Math[_0x47f568(0x237)](_0x5f148e,_0x51a711['x']),_0xed9d68=Math['min'](_0xed9d68,_0x51a711['y']),_0x4fdfd9=Math['max'](_0x4fdfd9,_0x51a711['y']),_0xd93465=Math['min'](_0xd93465,_0x51a711['z']),_0x35d790=Math[_0x47f568(0x237)](_0x35d790,_0x51a711['z']);}const _0x7c7247=_0x5f148e-_0x372a64,_0x5644e4=_0x4fdfd9-_0xed9d68,_0x1518b2=_0x35d790-_0xd93465;let _0x130dec,_0x129286,_0x19a77d,_0x3e63cf,_0x260512,_0x356b02;if(_0x7c7247<=_0x5644e4&&_0x7c7247<=_0x1518b2)_0x130dec='y',_0x129286='z',_0x19a77d=_0xed9d68,_0x3e63cf=_0x5644e4,_0x260512=_0xd93465,_0x356b02=_0x1518b2;else _0x5644e4<=_0x7c7247&&_0x5644e4<=_0x1518b2?(_0x130dec='x',_0x129286='z',_0x19a77d=_0x372a64,_0x3e63cf=_0x7c7247,_0x260512=_0xd93465,_0x356b02=_0x1518b2):(_0x130dec='x',_0x129286='y',_0x19a77d=_0x372a64,_0x3e63cf=_0x7c7247,_0x260512=_0xed9d68,_0x356b02=_0x5644e4);if(_0x3e63cf===0x0)_0x3e63cf=0x1;if(_0x356b02===0x0)_0x356b02=0x1;for(let _0x2c615d=0x0;_0x2c615d<_0x57cdfe[_0x47f568(0x21d)];_0x2c615d++){const _0x551268=_0x57cdfe[_0x2c615d],_0x393806=(_0x551268[_0x130dec]-_0x19a77d)/_0x3e63cf,_0x1f52c0=(_0x551268[_0x129286]-_0x260512)/_0x356b02;_0x36ff2d[_0x2c615d*0x2]=_0x393806,_0x36ff2d[_0x2c615d*0x2+0x1]=_0x1f52c0;}return _0x36ff2d;}[_0x238080(0x239)](_0x2f0b40){const _0x3331ad=_0x238080;let _0x1d55ab=0x0;const _0x565896=_0x2f0b40[_0x3331ad(0x21d)]/0x2;for(let _0x314c00=0x0;_0x314c00<_0x565896;_0x314c00++){const _0x488992=(_0x314c00+0x1)%_0x565896,_0x5b9c83=_0x2f0b40[_0x314c00*0x2],_0x2bec28=_0x2f0b40[_0x314c00*0x2+0x1],_0x5908fe=_0x2f0b40[_0x488992*0x2],_0x1b1b25=_0x2f0b40[_0x488992*0x2+0x1];_0x1d55ab+=_0x5b9c83*_0x1b1b25-_0x5908fe*_0x2bec28;}return _0x1d55ab/0x2;}['constructGeometry'](_0x4fe9f8){const _0x22b3e6=_0x238080,_0x552d36=new webgpu.BufferGeometry();if(!_0x4fe9f8['vertices']||_0x4fe9f8[_0x22b3e6(0x221)][_0x22b3e6(0x21d)]===0x0)return console[_0x22b3e6(0x210)](_0x22b3e6(0x22a)),_0x552d36;const _0x468392=new Float32Array(_0x4fe9f8[_0x22b3e6(0x221)]['length']*0x3);for(let _0x143022=0x0;_0x143022<_0x4fe9f8[_0x22b3e6(0x221)]['length'];_0x143022++){_0x468392[_0x143022*0x3]=_0x4fe9f8[_0x22b3e6(0x221)][_0x143022]['x'],_0x468392[_0x143022*0x3+0x1]=_0x4fe9f8[_0x22b3e6(0x221)][_0x143022]['y'],_0x468392[_0x143022*0x3+0x2]=_0x4fe9f8[_0x22b3e6(0x221)][_0x143022]['z'];}_0x552d36[_0x22b3e6(0x1f1)]('position',new webgpu.Float32BufferAttribute(_0x468392,0x3));if(_0x4fe9f8[_0x22b3e6(0x20c)]&&_0x4fe9f8[_0x22b3e6(0x20c)]['length']>0x0)_0x552d36[_0x22b3e6(0x1f9)](_0x4fe9f8[_0x22b3e6(0x20c)]);else {const _0x2198c0=[];let _0x340f49=Infinity,_0x4b30ec=-Infinity,_0x5543ae=Infinity,_0x2867e3=-Infinity,_0x2dcfde=Infinity,_0x5b7c26=-Infinity;for(let _0x288bcc=0x0;_0x288bcc<_0x4fe9f8[_0x22b3e6(0x221)][_0x22b3e6(0x21d)];_0x288bcc++){const _0x4aadc3=_0x4fe9f8[_0x22b3e6(0x221)][_0x288bcc];_0x5543ae=Math[_0x22b3e6(0x235)](_0x5543ae,_0x4aadc3['x']),_0x2867e3=Math['max'](_0x2867e3,_0x4aadc3['x']),_0x340f49=Math[_0x22b3e6(0x235)](_0x340f49,_0x4aadc3['y']),_0x4b30ec=Math[_0x22b3e6(0x237)](_0x4b30ec,_0x4aadc3['y']),_0x2dcfde=Math[_0x22b3e6(0x235)](_0x2dcfde,_0x4aadc3['z']),_0x5b7c26=Math[_0x22b3e6(0x237)](_0x5b7c26,_0x4aadc3['z']);}const _0x1c0bc6=_0x2867e3-_0x5543ae,_0x26fcc3=_0x4b30ec-_0x340f49,_0x54bac2=_0x5b7c26-_0x2dcfde;let _0x27cf4='XY';if(_0x26fcc3<=_0x1c0bc6&&_0x26fcc3<=_0x54bac2){_0x27cf4='XZ';for(let _0x252fbe=0x0;_0x252fbe<_0x4fe9f8[_0x22b3e6(0x221)][_0x22b3e6(0x21d)];_0x252fbe++){_0x2198c0[_0x22b3e6(0x22d)](_0x4fe9f8['vertices'][_0x252fbe]['x']),_0x2198c0[_0x22b3e6(0x22d)](_0x4fe9f8[_0x22b3e6(0x221)][_0x252fbe]['z']);}}else {if(_0x1c0bc6<=_0x26fcc3&&_0x1c0bc6<=_0x54bac2){_0x27cf4='YZ';for(let _0x268138=0x0;_0x268138<_0x4fe9f8[_0x22b3e6(0x221)]['length'];_0x268138++){_0x2198c0[_0x22b3e6(0x22d)](_0x4fe9f8['vertices'][_0x268138]['y']),_0x2198c0[_0x22b3e6(0x22d)](_0x4fe9f8[_0x22b3e6(0x221)][_0x268138]['z']);}}else {_0x27cf4='XY';for(let _0x3fce4d=0x0;_0x3fce4d<_0x4fe9f8[_0x22b3e6(0x221)][_0x22b3e6(0x21d)];_0x3fce4d++){_0x2198c0[_0x22b3e6(0x22d)](_0x4fe9f8[_0x22b3e6(0x221)][_0x3fce4d]['x']),_0x2198c0['push'](_0x4fe9f8[_0x22b3e6(0x221)][_0x3fce4d]['y']);}}}const _0x4ddd4f=this[_0x22b3e6(0x239)](_0x2198c0),_0xf9fe49=_0x4ddd4f<0x0;if(_0xf9fe49){console['warn'](_0x22b3e6(0x230)),_0x2198c0[_0x22b3e6(0x21c)]();const _0x27d138=[];for(let _0x351bb2=_0x2198c0[_0x22b3e6(0x21d)]-0x2;_0x351bb2>=0x0;_0x351bb2-=0x2){_0x27d138[_0x22b3e6(0x22d)](_0x2198c0[_0x351bb2],_0x2198c0[_0x351bb2+0x1]);}_0x2198c0[_0x22b3e6(0x21d)]=0x0,_0x2198c0[_0x22b3e6(0x22d)](..._0x27d138);}try{const _0x349b81=_0x12ad00(_0x2198c0,undefined,0x2);if(_0x349b81&&_0x349b81['length']>0x0){if(_0xf9fe49)for(let _0x27b0d6=0x0;_0x27b0d6<_0x349b81[_0x22b3e6(0x21d)];_0x27b0d6+=0x3){const _0x54ea30=_0x349b81[_0x27b0d6];_0x349b81[_0x27b0d6]=_0x349b81[_0x27b0d6+0x2],_0x349b81[_0x27b0d6+0x2]=_0x54ea30;}_0x552d36[_0x22b3e6(0x1f9)](_0x349b81),console['log']('[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:',{'planeType':_0x27cf4,'vertexCount':_0x4fe9f8[_0x22b3e6(0x221)][_0x22b3e6(0x21d)],'triangleCount':_0x349b81[_0x22b3e6(0x21d)]/0x3,'area':Math[_0x22b3e6(0x21b)](_0x4ddd4f),'wasClockwise':_0xf9fe49,'indices':Array[_0x22b3e6(0x234)](_0x349b81)});}else console[_0x22b3e6(0x217)]('CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result');}catch(_0x47ae4e){console[_0x22b3e6(0x210)](_0x22b3e6(0x216),_0x47ae4e);}}if(_0x4fe9f8['normals']&&_0x4fe9f8[_0x22b3e6(0x207)]['length']===_0x4fe9f8['vertices'][_0x22b3e6(0x21d)]){const _0x1cead4=new Float32Array(_0x4fe9f8['normals'][_0x22b3e6(0x21d)]*0x3);for(let _0x2d2f10=0x0;_0x2d2f10<_0x4fe9f8[_0x22b3e6(0x207)]['length'];_0x2d2f10++){_0x1cead4[_0x2d2f10*0x3]=_0x4fe9f8['normals'][_0x2d2f10]['x'],_0x1cead4[_0x2d2f10*0x3+0x1]=_0x4fe9f8[_0x22b3e6(0x207)][_0x2d2f10]['y'],_0x1cead4[_0x2d2f10*0x3+0x2]=_0x4fe9f8[_0x22b3e6(0x207)][_0x2d2f10]['z'];}_0x552d36[_0x22b3e6(0x1f1)]('normal',new webgpu.Float32BufferAttribute(_0x1cead4,0x3));}else _0x552d36[_0x22b3e6(0x223)]();if(_0x4fe9f8['uvs']&&_0x4fe9f8['uvs'][_0x22b3e6(0x21d)]>0x0){const _0x2a8a96=new Float32Array(_0x4fe9f8['uvs'][_0x22b3e6(0x21d)]*0x2);for(let _0x543f78=0x0;_0x543f78<_0x4fe9f8[_0x22b3e6(0x212)]['length'];_0x543f78++){_0x2a8a96[_0x543f78*0x2]=_0x4fe9f8['uvs'][_0x543f78]['x'],_0x2a8a96[_0x543f78*0x2+0x1]=_0x4fe9f8[_0x22b3e6(0x212)][_0x543f78]['y'];}_0x552d36[_0x22b3e6(0x1f1)]('uv',new webgpu.Float32BufferAttribute(_0x2a8a96,0x2));}else {const _0xe9362f=this[_0x22b3e6(0x214)](_0x4fe9f8[_0x22b3e6(0x221)]);_0x552d36[_0x22b3e6(0x1f1)]('uv',new webgpu.Float32BufferAttribute(_0xe9362f,0x2));}if(_0x4fe9f8[_0x22b3e6(0x224)]&&_0x4fe9f8['colors'][_0x22b3e6(0x21d)]===_0x4fe9f8[_0x22b3e6(0x221)][_0x22b3e6(0x21d)]){const _0x2ccc03=new Float32Array(_0x4fe9f8[_0x22b3e6(0x224)][_0x22b3e6(0x21d)]*0x3);for(let _0x5a1d63=0x0;_0x5a1d63<_0x4fe9f8[_0x22b3e6(0x224)][_0x22b3e6(0x21d)];_0x5a1d63++){_0x2ccc03[_0x5a1d63*0x3]=_0x4fe9f8['colors'][_0x5a1d63]['r'],_0x2ccc03[_0x5a1d63*0x3+0x1]=_0x4fe9f8[_0x22b3e6(0x224)][_0x5a1d63]['g'],_0x2ccc03[_0x5a1d63*0x3+0x2]=_0x4fe9f8[_0x22b3e6(0x224)][_0x5a1d63]['b'];}_0x552d36[_0x22b3e6(0x1f1)](_0x22b3e6(0x1f8),new webgpu.Float32BufferAttribute(_0x2ccc03,0x3));}return _0x552d36;}set[_0x238080(0x238)](_0x11b44a){const _0x7e7c8c=_0x238080;var _0x3b4f36,_0x39d995,_0x4d06e7;this[_0x7e7c8c(0x215)]&&this[_0x7e7c8c(0x215)]['release']();const _0x3bf1bf=this[_0x7e7c8c(0x213)](_0x11b44a);this[_0x7e7c8c(0x215)]=this[_0x7e7c8c(0x1f7)][_0x7e7c8c(0x20d)][_0x7e7c8c(0x22f)](_0x3bf1bf),this[_0x7e7c8c(0x22e)]['geometry']=_0x3bf1bf,this[_0x7e7c8c(0x200)]={'vertices':_0x11b44a[_0x7e7c8c(0x221)]['map'](_0xd185ba=>_0xd185ba[_0x7e7c8c(0x222)]()),'indices':_0x11b44a[_0x7e7c8c(0x20c)]?[..._0x11b44a[_0x7e7c8c(0x20c)]]:undefined,'normals':(_0x3b4f36=_0x11b44a[_0x7e7c8c(0x207)])===null||_0x3b4f36===void 0?void 0:_0x3b4f36[_0x7e7c8c(0x22b)](_0x3da34b=>_0x3da34b[_0x7e7c8c(0x222)]()),'uvs':(_0x39d995=_0x11b44a[_0x7e7c8c(0x212)])===null||_0x39d995===void 0?void 0:_0x39d995[_0x7e7c8c(0x22b)](_0x3fb068=>_0x3fb068['clone']()),'colors':(_0x4d06e7=_0x11b44a['colors'])===null||_0x4d06e7===void 0?void 0:_0x4d06e7[_0x7e7c8c(0x22b)](_0x3bc521=>_0x3bc521[_0x7e7c8c(0x222)]())},this['world']&&this['world'][_0x7e7c8c(0x208)][_0x7e7c8c(0x202)]();}get['meshData'](){const _0x4b58ab=_0x238080;return this[_0x4b58ab(0x200)];}[_0x238080(0x232)](){return new webgpu.Mesh();}set['castShadow'](_0x441356){const _0x117f53=_0x238080;if(this['threeObject'])this[_0x117f53(0x22e)]['castShadow']=_0x441356;}get[_0x238080(0x231)](){const _0xde1a8e=_0x238080;return this[_0xde1a8e(0x22e)]?this[_0xde1a8e(0x22e)][_0xde1a8e(0x231)]:![];}set[_0x238080(0x1f6)](_0xd5cf82){const _0xa0d9a0=_0x238080;if(!this[_0xa0d9a0(0x22e)])return;this[_0xa0d9a0(0x22e)][_0xa0d9a0(0x1f6)]=_0xd5cf82;}get['receiveShadow'](){const _0x1ff27c=_0x238080;return this[_0x1ff27c(0x22e)]?this[_0x1ff27c(0x22e)]['receiveShadow']:![];}[_0x238080(0x21e)](){const _0x34c968=_0x238080;let _0x5145d2=new webgpu.Vector3();return this[_0x34c968(0x22c)]()[_0x34c968(0x204)](_0x5145d2),_0x5145d2;}[_0x238080(0x1f2)](){const _0x382de2=_0x238080;let _0x3ea630=new webgpu.Vector3(),_0x606646=this[_0x382de2(0x22c)]();return _0x606646[_0x382de2(0x204)](_0x3ea630),_0x3ea630['y']=_0x606646[_0x382de2(0x237)]['y'],_0x3ea630;}[_0x238080(0x220)](){const _0x1a2ab0=_0x238080;let _0x4d941c=new webgpu.Vector3(),_0x1de650=this[_0x1a2ab0(0x22c)]();return _0x1de650['getCenter'](_0x4d941c),_0x4d941c['y']=_0x1de650[_0x1a2ab0(0x235)]['y'],_0x4d941c;}[_0x238080(0x1f0)](){const _0x5d7c2c=_0x238080;var _0x206a04,_0xb392be;this['threeObject']&&this[_0x5d7c2c(0x22e)]['removeFromParent'](),(_0x206a04=this[_0x5d7c2c(0x215)])===null||_0x206a04===void 0?void 0:_0x206a04[_0x5d7c2c(0x1fc)](),(_0xb392be=this['_materialPtr'])===null||_0xb392be===void 0?void 0:_0xb392be[_0x5d7c2c(0x1fc)](),super[_0x5d7c2c(0x1f0)]();}}
|
|
118
|
+
const _0x3e6a49=_0x420c;(function(_0x552ad8,_0x49ae99){const _0x26f4e4=_0x420c,_0xe2813=_0x552ad8();while(!![]){try{const _0x4c787a=-parseInt(_0x26f4e4(0xf2))/0x1*(-parseInt(_0x26f4e4(0x108))/0x2)+parseInt(_0x26f4e4(0x112))/0x3+parseInt(_0x26f4e4(0xea))/0x4+-parseInt(_0x26f4e4(0x101))/0x5*(parseInt(_0x26f4e4(0xfe))/0x6)+parseInt(_0x26f4e4(0xf5))/0x7+parseInt(_0x26f4e4(0xf1))/0x8+-parseInt(_0x26f4e4(0xde))/0x9*(parseInt(_0x26f4e4(0x107))/0xa);if(_0x4c787a===_0x49ae99)break;else _0xe2813['push'](_0xe2813['shift']());}catch(_0x40c5bf){_0xe2813['push'](_0xe2813['shift']());}}}(_0x3199,0xe2da9));function _0x3199(){const _0x2914f3=['_meshData','position','addGeometryAsset','material','geometry','CustomMeshComponent:\x20Invalid\x20vertices\x20data','3039792YmVKEY','materialPtr','name','_geometryPtr','castShadow','setAttribute','meshData','9268152IHhYRN','1JLXmNv','getBounds','indices','10946894knwCfm','length','max','getBoundsBottomCenterPosition','userData','getValue','app','colors','normal','6EhJydn','geometryPtr\x20is\x20null','world','1871780fIXcjI','reverse','createDefaultObject','clone','min','assetManager','10QvIbMt','2402846nSYNdK','threeObject','viewport','error','push','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','setIndex','LYObject','removeFromParent','uvs','289518lChQQX','geometryPtr','addMaterialAsset','CustomMeshComponent','constructGeometry','materialPtr\x20is\x20null','log','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','CustomMeshComponent:\x20threeObject\x20is\x20null','vertices','destroyObject','material\x20is\x20null','calculatePolygonArea','map','release','obj','addRef','normals','getBoundsTopCenterPosition','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','_materialPtr','31290201FdDNbw','computeUVs','receiveShadow','getCenter','warn','abs'];_0x3199=function(){return _0x2914f3;};return _0x3199();}function _0x420c(_0x3664d6,_0x3c092b){_0x3664d6=_0x3664d6-0xde;const _0x3199f7=_0x3199();let _0x420c89=_0x3199f7[_0x3664d6];return _0x420c89;}class CustomMeshComponent extends SceneComponent{get[_0x3e6a49(0x109)](){const _0x359cac=_0x3e6a49;if(!this['obj'])throw new Error(_0x359cac(0x11a));return this['obj'];}set['threeObject'](_0x2ff757){const _0x5bbd70=_0x3e6a49;this[_0x5bbd70(0x121)]=_0x2ff757,this[_0x5bbd70(0x121)]&&(this['obj'][_0x5bbd70(0xf9)][_0x5bbd70(0x10f)]=this);}get['geometry'](){const _0x4d2570=_0x3e6a49;if(!this[_0x4d2570(0xed)])throw new Error(_0x4d2570(0xff));return this[_0x4d2570(0xed)][_0x4d2570(0xfa)]();}set[_0x3e6a49(0xe8)](_0x24225e){const _0x18b7ee=_0x3e6a49;let _0x4184ce=this[_0x18b7ee(0xfb)]['assetManager'][_0x18b7ee(0xe6)](_0x24225e);this['geometryPtr']=_0x4184ce;}get[_0x3e6a49(0x113)](){const _0x1d9897=_0x3e6a49;if(!this[_0x1d9897(0xed)])throw new Error(_0x1d9897(0xff));return this[_0x1d9897(0xed)];}set[_0x3e6a49(0x113)](_0x205ca5){const _0x35009e=_0x3e6a49;this[_0x35009e(0xed)]&&(this[_0x35009e(0xed)][_0x35009e(0x120)](),this[_0x35009e(0xed)]=null);this[_0x35009e(0xed)]=_0x205ca5;let _0x2dd0b5=_0x205ca5[_0x35009e(0xfa)]();this[_0x35009e(0x109)]&&_0x2dd0b5&&(this['threeObject'][_0x35009e(0xe8)]=_0x2dd0b5);}get['material'](){const _0x2c335c=_0x3e6a49;if(!this['_materialPtr'])throw new Error(_0x2c335c(0x117));let _0x3d4283=this['_materialPtr'][_0x2c335c(0xfa)]();if(!_0x3d4283)throw new Error(_0x2c335c(0x11d));return _0x3d4283;}get['materialPtr'](){const _0x4c6cbc=_0x3e6a49;if(!this[_0x4c6cbc(0x126)])throw new Error(_0x4c6cbc(0x117));return this[_0x4c6cbc(0x126)];}set[_0x3e6a49(0xe7)](_0x38aff6){const _0xde439b=_0x3e6a49;let _0x1cbc84=this[_0xde439b(0xfb)][_0xde439b(0x106)][_0xde439b(0x114)](_0x38aff6);this[_0xde439b(0xeb)]=_0x1cbc84;}set[_0x3e6a49(0xeb)](_0x30e2b6){const _0x35560e=_0x3e6a49;this[_0x35560e(0x126)]&&(this[_0x35560e(0x126)]['release'](),this['_materialPtr']=null);this[_0x35560e(0x126)]=_0x30e2b6;let _0x226e2c=_0x30e2b6[_0x35560e(0xfa)]();_0x30e2b6['addRef'](),this['threeObject']&&_0x226e2c&&(this[_0x35560e(0x109)][_0x35560e(0xe7)]=_0x226e2c);}constructor(_0x4e0e5b,_0x490473,_0x2e88a9,_0x862497){const _0x7d4436=_0x3e6a49;super(_0x4e0e5b,_0x862497),this[_0x7d4436(0xe4)]=_0x490473;let _0x1e69e8=_0x4e0e5b[_0x7d4436(0x106)][_0x7d4436(0x114)](_0x2e88a9);this[_0x7d4436(0x126)]=_0x1e69e8,_0x1e69e8[_0x7d4436(0x122)]();const _0xad8b83=this[_0x7d4436(0x116)](_0x490473);this[_0x7d4436(0xed)]=_0x4e0e5b['assetManager'][_0x7d4436(0xe6)](_0xad8b83),this[_0x7d4436(0x109)][_0x7d4436(0xe7)]=_0x2e88a9,this['threeObject'][_0x7d4436(0xe8)]=_0xad8b83,this[_0x7d4436(0xec)]=_0x7d4436(0x115),this[_0x7d4436(0xee)]=!![],this[_0x7d4436(0xe0)]=!![];}[_0x3e6a49(0xdf)](_0x3de710){const _0x13895e=_0x3e6a49,_0x31dcae=new Float32Array(_0x3de710[_0x13895e(0xf6)]*0x2);if(_0x3de710[_0x13895e(0xf6)]===0x0)return _0x31dcae;let _0x50d223=Infinity,_0x53a3e8=-Infinity,_0x5aac67=Infinity,_0x837166=-Infinity,_0x40cccb=Infinity,_0x563c87=-Infinity;for(const _0x5aa77f of _0x3de710){_0x50d223=Math[_0x13895e(0x105)](_0x50d223,_0x5aa77f['x']),_0x53a3e8=Math['max'](_0x53a3e8,_0x5aa77f['x']),_0x5aac67=Math[_0x13895e(0x105)](_0x5aac67,_0x5aa77f['y']),_0x837166=Math[_0x13895e(0xf7)](_0x837166,_0x5aa77f['y']),_0x40cccb=Math['min'](_0x40cccb,_0x5aa77f['z']),_0x563c87=Math[_0x13895e(0xf7)](_0x563c87,_0x5aa77f['z']);}const _0x181b5b=_0x53a3e8-_0x50d223,_0x2029be=_0x837166-_0x5aac67,_0x14816c=_0x563c87-_0x40cccb;let _0x264c08,_0x3808c5,_0x2f0069,_0x10c9dc,_0x145dff,_0x30180d;if(_0x181b5b<=_0x2029be&&_0x181b5b<=_0x14816c)_0x264c08='y',_0x3808c5='z',_0x2f0069=_0x5aac67,_0x10c9dc=_0x2029be,_0x145dff=_0x40cccb,_0x30180d=_0x14816c;else _0x2029be<=_0x181b5b&&_0x2029be<=_0x14816c?(_0x264c08='x',_0x3808c5='z',_0x2f0069=_0x50d223,_0x10c9dc=_0x181b5b,_0x145dff=_0x40cccb,_0x30180d=_0x14816c):(_0x264c08='x',_0x3808c5='y',_0x2f0069=_0x50d223,_0x10c9dc=_0x181b5b,_0x145dff=_0x5aac67,_0x30180d=_0x2029be);if(_0x10c9dc===0x0)_0x10c9dc=0x1;if(_0x30180d===0x0)_0x30180d=0x1;for(let _0x38d5fa=0x0;_0x38d5fa<_0x3de710[_0x13895e(0xf6)];_0x38d5fa++){const _0xb52406=_0x3de710[_0x38d5fa],_0x49ac1b=(_0xb52406[_0x264c08]-_0x2f0069)/_0x10c9dc,_0x2e7999=(_0xb52406[_0x3808c5]-_0x145dff)/_0x30180d;_0x31dcae[_0x38d5fa*0x2]=_0x49ac1b,_0x31dcae[_0x38d5fa*0x2+0x1]=_0x2e7999;}return _0x31dcae;}['calculatePolygonArea'](_0x563e90){const _0x4e4268=_0x3e6a49;let _0x53aa68=0x0;const _0x9faa4b=_0x563e90[_0x4e4268(0xf6)]/0x2;for(let _0x4dbd4c=0x0;_0x4dbd4c<_0x9faa4b;_0x4dbd4c++){const _0x1dae88=(_0x4dbd4c+0x1)%_0x9faa4b,_0x24b453=_0x563e90[_0x4dbd4c*0x2],_0x5efd0b=_0x563e90[_0x4dbd4c*0x2+0x1],_0x2ed00e=_0x563e90[_0x1dae88*0x2],_0x4d8da5=_0x563e90[_0x1dae88*0x2+0x1];_0x53aa68+=_0x24b453*_0x4d8da5-_0x2ed00e*_0x5efd0b;}return _0x53aa68/0x2;}[_0x3e6a49(0x116)](_0xd462a3){const _0x24ce64=_0x3e6a49,_0x126d5d=new webgpu.BufferGeometry();if(!_0xd462a3[_0x24ce64(0x11b)]||_0xd462a3[_0x24ce64(0x11b)][_0x24ce64(0xf6)]===0x0)return console[_0x24ce64(0x10b)](_0x24ce64(0xe9)),_0x126d5d;const _0x5782a9=new Float32Array(_0xd462a3[_0x24ce64(0x11b)]['length']*0x3);for(let _0x41a0bd=0x0;_0x41a0bd<_0xd462a3[_0x24ce64(0x11b)]['length'];_0x41a0bd++){_0x5782a9[_0x41a0bd*0x3]=_0xd462a3['vertices'][_0x41a0bd]['x'],_0x5782a9[_0x41a0bd*0x3+0x1]=_0xd462a3[_0x24ce64(0x11b)][_0x41a0bd]['y'],_0x5782a9[_0x41a0bd*0x3+0x2]=_0xd462a3[_0x24ce64(0x11b)][_0x41a0bd]['z'];}_0x126d5d[_0x24ce64(0xef)](_0x24ce64(0xe5),new webgpu.Float32BufferAttribute(_0x5782a9,0x3));if(_0xd462a3[_0x24ce64(0xf4)]&&_0xd462a3[_0x24ce64(0xf4)][_0x24ce64(0xf6)]>0x0)_0x126d5d[_0x24ce64(0x10e)](_0xd462a3[_0x24ce64(0xf4)]);else {const _0x359b0e=[];let _0x1a174d=Infinity,_0xceec0a=-Infinity,_0x546b0b=Infinity,_0x59f9e0=-Infinity,_0x34873f=Infinity,_0x59b709=-Infinity;for(let _0x176672=0x0;_0x176672<_0xd462a3[_0x24ce64(0x11b)][_0x24ce64(0xf6)];_0x176672++){const _0x430c66=_0xd462a3[_0x24ce64(0x11b)][_0x176672];_0x546b0b=Math['min'](_0x546b0b,_0x430c66['x']),_0x59f9e0=Math[_0x24ce64(0xf7)](_0x59f9e0,_0x430c66['x']),_0x1a174d=Math[_0x24ce64(0x105)](_0x1a174d,_0x430c66['y']),_0xceec0a=Math[_0x24ce64(0xf7)](_0xceec0a,_0x430c66['y']),_0x34873f=Math[_0x24ce64(0x105)](_0x34873f,_0x430c66['z']),_0x59b709=Math[_0x24ce64(0xf7)](_0x59b709,_0x430c66['z']);}const _0x284e22=_0x59f9e0-_0x546b0b,_0x177c33=_0xceec0a-_0x1a174d,_0x540851=_0x59b709-_0x34873f;let _0x4041ac='XY';if(_0x177c33<=_0x284e22&&_0x177c33<=_0x540851){_0x4041ac='XZ';for(let _0x1ff576=0x0;_0x1ff576<_0xd462a3[_0x24ce64(0x11b)][_0x24ce64(0xf6)];_0x1ff576++){_0x359b0e[_0x24ce64(0x10c)](_0xd462a3[_0x24ce64(0x11b)][_0x1ff576]['x']),_0x359b0e['push'](_0xd462a3[_0x24ce64(0x11b)][_0x1ff576]['z']);}}else {if(_0x284e22<=_0x177c33&&_0x284e22<=_0x540851){_0x4041ac='YZ';for(let _0xfc5c33=0x0;_0xfc5c33<_0xd462a3[_0x24ce64(0x11b)]['length'];_0xfc5c33++){_0x359b0e[_0x24ce64(0x10c)](_0xd462a3[_0x24ce64(0x11b)][_0xfc5c33]['y']),_0x359b0e[_0x24ce64(0x10c)](_0xd462a3[_0x24ce64(0x11b)][_0xfc5c33]['z']);}}else {_0x4041ac='XY';for(let _0x2c422e=0x0;_0x2c422e<_0xd462a3[_0x24ce64(0x11b)][_0x24ce64(0xf6)];_0x2c422e++){_0x359b0e[_0x24ce64(0x10c)](_0xd462a3[_0x24ce64(0x11b)][_0x2c422e]['x']),_0x359b0e[_0x24ce64(0x10c)](_0xd462a3[_0x24ce64(0x11b)][_0x2c422e]['y']);}}}const _0x2675a8=this[_0x24ce64(0x11e)](_0x359b0e),_0x585987=_0x2675a8<0x0;if(_0x585987){console[_0x24ce64(0xe2)](_0x24ce64(0x125)),_0x359b0e[_0x24ce64(0x102)]();const _0x775cf2=[];for(let _0x1a54ff=_0x359b0e[_0x24ce64(0xf6)]-0x2;_0x1a54ff>=0x0;_0x1a54ff-=0x2){_0x775cf2[_0x24ce64(0x10c)](_0x359b0e[_0x1a54ff],_0x359b0e[_0x1a54ff+0x1]);}_0x359b0e['length']=0x0,_0x359b0e[_0x24ce64(0x10c)](..._0x775cf2);}try{const _0x30b6c1=_0x44186b(_0x359b0e,undefined,0x2);if(_0x30b6c1&&_0x30b6c1[_0x24ce64(0xf6)]>0x0){if(_0x585987)for(let _0x2601c0=0x0;_0x2601c0<_0x30b6c1['length'];_0x2601c0+=0x3){const _0x25c516=_0x30b6c1[_0x2601c0];_0x30b6c1[_0x2601c0]=_0x30b6c1[_0x2601c0+0x2],_0x30b6c1[_0x2601c0+0x2]=_0x25c516;}_0x126d5d[_0x24ce64(0x10e)](_0x30b6c1),console[_0x24ce64(0x118)]('[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:',{'planeType':_0x4041ac,'vertexCount':_0xd462a3[_0x24ce64(0x11b)][_0x24ce64(0xf6)],'triangleCount':_0x30b6c1[_0x24ce64(0xf6)]/0x3,'area':Math[_0x24ce64(0xe3)](_0x2675a8),'wasClockwise':_0x585987,'indices':Array['from'](_0x30b6c1)});}else console[_0x24ce64(0xe2)](_0x24ce64(0x119));}catch(_0x311b14){console[_0x24ce64(0x10b)](_0x24ce64(0x10d),_0x311b14);}}if(_0xd462a3[_0x24ce64(0x123)]&&_0xd462a3[_0x24ce64(0x123)][_0x24ce64(0xf6)]===_0xd462a3['vertices'][_0x24ce64(0xf6)]){const _0x10ea9c=new Float32Array(_0xd462a3[_0x24ce64(0x123)]['length']*0x3);for(let _0x1dda86=0x0;_0x1dda86<_0xd462a3[_0x24ce64(0x123)][_0x24ce64(0xf6)];_0x1dda86++){_0x10ea9c[_0x1dda86*0x3]=_0xd462a3[_0x24ce64(0x123)][_0x1dda86]['x'],_0x10ea9c[_0x1dda86*0x3+0x1]=_0xd462a3[_0x24ce64(0x123)][_0x1dda86]['y'],_0x10ea9c[_0x1dda86*0x3+0x2]=_0xd462a3[_0x24ce64(0x123)][_0x1dda86]['z'];}_0x126d5d[_0x24ce64(0xef)](_0x24ce64(0xfd),new webgpu.Float32BufferAttribute(_0x10ea9c,0x3));}else _0x126d5d['computeVertexNormals']();if(_0xd462a3[_0x24ce64(0x111)]&&_0xd462a3[_0x24ce64(0x111)][_0x24ce64(0xf6)]>0x0){const _0x571a6a=new Float32Array(_0xd462a3[_0x24ce64(0x111)][_0x24ce64(0xf6)]*0x2);for(let _0x4c2413=0x0;_0x4c2413<_0xd462a3['uvs']['length'];_0x4c2413++){_0x571a6a[_0x4c2413*0x2]=_0xd462a3[_0x24ce64(0x111)][_0x4c2413]['x'],_0x571a6a[_0x4c2413*0x2+0x1]=_0xd462a3['uvs'][_0x4c2413]['y'];}_0x126d5d['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x571a6a,0x2));}else {const _0x154a24=this['computeUVs'](_0xd462a3['vertices']);_0x126d5d[_0x24ce64(0xef)]('uv',new webgpu.Float32BufferAttribute(_0x154a24,0x2));}if(_0xd462a3[_0x24ce64(0xfc)]&&_0xd462a3[_0x24ce64(0xfc)][_0x24ce64(0xf6)]===_0xd462a3[_0x24ce64(0x11b)][_0x24ce64(0xf6)]){const _0x1da308=new Float32Array(_0xd462a3[_0x24ce64(0xfc)]['length']*0x3);for(let _0x18ee6a=0x0;_0x18ee6a<_0xd462a3['colors'][_0x24ce64(0xf6)];_0x18ee6a++){_0x1da308[_0x18ee6a*0x3]=_0xd462a3[_0x24ce64(0xfc)][_0x18ee6a]['r'],_0x1da308[_0x18ee6a*0x3+0x1]=_0xd462a3[_0x24ce64(0xfc)][_0x18ee6a]['g'],_0x1da308[_0x18ee6a*0x3+0x2]=_0xd462a3[_0x24ce64(0xfc)][_0x18ee6a]['b'];}_0x126d5d[_0x24ce64(0xef)]('color',new webgpu.Float32BufferAttribute(_0x1da308,0x3));}return _0x126d5d;}set[_0x3e6a49(0xf0)](_0x3c7c7b){const _0x456e64=_0x3e6a49;var _0x556cd2,_0x9b9bdd,_0xdd5b1;this[_0x456e64(0xed)]&&this['_geometryPtr'][_0x456e64(0x120)]();const _0x70bb07=this[_0x456e64(0x116)](_0x3c7c7b);this[_0x456e64(0xed)]=this[_0x456e64(0xfb)][_0x456e64(0x106)][_0x456e64(0xe6)](_0x70bb07),this[_0x456e64(0x109)]['geometry']=_0x70bb07,this['_meshData']={'vertices':_0x3c7c7b[_0x456e64(0x11b)][_0x456e64(0x11f)](_0x1b9a49=>_0x1b9a49['clone']()),'indices':_0x3c7c7b[_0x456e64(0xf4)]?[..._0x3c7c7b[_0x456e64(0xf4)]]:undefined,'normals':(_0x556cd2=_0x3c7c7b[_0x456e64(0x123)])===null||_0x556cd2===void 0?void 0:_0x556cd2[_0x456e64(0x11f)](_0x59ebaa=>_0x59ebaa[_0x456e64(0x104)]()),'uvs':(_0x9b9bdd=_0x3c7c7b[_0x456e64(0x111)])===null||_0x9b9bdd===void 0?void 0:_0x9b9bdd[_0x456e64(0x11f)](_0xe93085=>_0xe93085['clone']()),'colors':(_0xdd5b1=_0x3c7c7b[_0x456e64(0xfc)])===null||_0xdd5b1===void 0?void 0:_0xdd5b1[_0x456e64(0x11f)](_0x3fa5c1=>_0x3fa5c1['clone']())},this['world']&&this[_0x456e64(0x100)][_0x456e64(0x10a)]['markRenderStateDirty']();}get[_0x3e6a49(0xf0)](){const _0x141ab3=_0x3e6a49;return this[_0x141ab3(0xe4)];}[_0x3e6a49(0x103)](){return new webgpu.Mesh();}set[_0x3e6a49(0xee)](_0x3993e4){const _0x372e24=_0x3e6a49;if(this[_0x372e24(0x109)])this[_0x372e24(0x109)][_0x372e24(0xee)]=_0x3993e4;}get[_0x3e6a49(0xee)](){const _0x5bea21=_0x3e6a49;return this['threeObject']?this[_0x5bea21(0x109)][_0x5bea21(0xee)]:![];}set[_0x3e6a49(0xe0)](_0x26914c){const _0x1fc729=_0x3e6a49;if(!this[_0x1fc729(0x109)])return;this[_0x1fc729(0x109)][_0x1fc729(0xe0)]=_0x26914c;}get[_0x3e6a49(0xe0)](){const _0x3f27de=_0x3e6a49;return this[_0x3f27de(0x109)]?this[_0x3f27de(0x109)][_0x3f27de(0xe0)]:![];}['getBoundsCenterPosition'](){const _0x2e4831=_0x3e6a49;let _0x52c24e=new webgpu.Vector3();return this[_0x2e4831(0xf3)]()['getCenter'](_0x52c24e),_0x52c24e;}[_0x3e6a49(0x124)](){const _0x492fa5=_0x3e6a49;let _0x1b0f16=new webgpu.Vector3(),_0x545843=this['getBounds']();return _0x545843[_0x492fa5(0xe1)](_0x1b0f16),_0x1b0f16['y']=_0x545843[_0x492fa5(0xf7)]['y'],_0x1b0f16;}[_0x3e6a49(0xf8)](){const _0x34faef=_0x3e6a49;let _0x456a4a=new webgpu.Vector3(),_0x50d91b=this[_0x34faef(0xf3)]();return _0x50d91b['getCenter'](_0x456a4a),_0x456a4a['y']=_0x50d91b[_0x34faef(0x105)]['y'],_0x456a4a;}[_0x3e6a49(0x11c)](){const _0x221496=_0x3e6a49;var _0x372f2e,_0x1a7c3e;this[_0x221496(0x109)]&&this[_0x221496(0x109)][_0x221496(0x110)](),(_0x372f2e=this[_0x221496(0xed)])===null||_0x372f2e===void 0?void 0:_0x372f2e[_0x221496(0x120)](),(_0x1a7c3e=this[_0x221496(0x126)])===null||_0x1a7c3e===void 0?void 0:_0x1a7c3e[_0x221496(0x120)](),super['destroyObject']();}}
|
|
119
119
|
|
|
120
|
-
(function(
|
|
120
|
+
function _0x317d(){var _0x39b3c6=['8184312jBWOeD','9519021qtFwmI','7JdxuOD','2386640DfERhK','3777040fVRGoM','65552nGvvck','839272zauzSo','26pRPvIo','30LIUgPL','4382661cTkRuk'];_0x317d=function(){return _0x39b3c6;};return _0x317d();}(function(_0x544ca3,_0x2588ae){var _0x353d43=_0x3cee,_0x3c5e44=_0x544ca3();while(!![]){try{var _0x2043d1=parseInt(_0x353d43(0x197))/0x1*(-parseInt(_0x353d43(0x195))/0x2)+parseInt(_0x353d43(0x199))/0x3+-parseInt(_0x353d43(0x194))/0x4+-parseInt(_0x353d43(0x19d))/0x5+-parseInt(_0x353d43(0x19a))/0x6+parseInt(_0x353d43(0x19c))/0x7*(-parseInt(_0x353d43(0x196))/0x8)+-parseInt(_0x353d43(0x19b))/0x9*(-parseInt(_0x353d43(0x198))/0xa);if(_0x2043d1===_0x2588ae)break;else _0x3c5e44['push'](_0x3c5e44['shift']());}catch(_0xad18b9){_0x3c5e44['push'](_0x3c5e44['shift']());}}}(_0x317d,0xd9921));function _0x3cee(_0x220de3,_0x528cba){_0x220de3=_0x220de3-0x194;var _0x317dce=_0x317d();var _0x3cee7c=_0x317dce[_0x220de3];return _0x3cee7c;}class SphereComponent extends MeshComponent{constructor(_0x384aaf,_0x318bbe,_0x4621d7=new webgpu.MeshBasicMaterial(),_0x52eaa0=0x20,_0x21c991=0x10,_0x1d0d2f){super(_0x384aaf,new webgpu.SphereGeometry(_0x318bbe,_0x52eaa0,_0x21c991),_0x4621d7,_0x1d0d2f);}}
|
|
121
121
|
|
|
122
|
-
function
|
|
122
|
+
function _0x2d37(){var _0x91f86c=['192646SJMNLt','copy','201408ZGxnFz','45231cDYQJf','obj','parentNode','5ztyXvZ','1679461BENUoo','innerHTML','180420iwRKIy','isHoverEnabled','20394JavrhO','element','63STqaSf','36oMgEET','263750EUsdCG','setVisible','threeObject','userData','destroy','LYObject'];_0x2d37=function(){return _0x91f86c;};return _0x2d37();}var _0x3c0e09=_0x3eec;(function(_0x657716,_0x2b2d63){var _0x4dfbd0=_0x3eec,_0x52c5d1=_0x657716();while(!![]){try{var _0x483ef1=parseInt(_0x4dfbd0(0x198))/0x1+parseInt(_0x4dfbd0(0x19e))/0x2+parseInt(_0x4dfbd0(0x1a1))/0x3*(-parseInt(_0x4dfbd0(0x197))/0x4)+-parseInt(_0x4dfbd0(0x1a4))/0x5*(-parseInt(_0x4dfbd0(0x194))/0x6)+-parseInt(_0x4dfbd0(0x1a5))/0x7+parseInt(_0x4dfbd0(0x1a0))/0x8+parseInt(_0x4dfbd0(0x196))/0x9*(parseInt(_0x4dfbd0(0x192))/0xa);if(_0x483ef1===_0x2b2d63)break;else _0x52c5d1['push'](_0x52c5d1['shift']());}catch(_0x469c34){_0x52c5d1['push'](_0x52c5d1['shift']());}}}(_0x2d37,0x2203e));function _0x3eec(_0x20a0c1,_0x2af1ab){_0x20a0c1=_0x20a0c1-0x192;var _0x2d37c5=_0x2d37();var _0x3eec6d=_0x2d37c5[_0x20a0c1];return _0x3eec6d;}class LabelComponent extends SceneComponent{get[_0x3c0e09(0x19a)](){return this['obj'];}set[_0x3c0e09(0x19a)](_0x296d5e){var _0x1a9d7c=_0x3c0e09;this[_0x1a9d7c(0x1a2)]=_0x296d5e,this['obj']&&(this[_0x1a9d7c(0x1a2)][_0x1a9d7c(0x19b)][_0x1a9d7c(0x19d)]=this);}constructor(_0x477274,_0x3a8815,_0x2132af=new webgpu.Vector2(0.5,0x1),_0x204603){var _0x5d1ca4=_0x3c0e09;super(_0x477274,_0x204603),this[_0x5d1ca4(0x1a2)]=new CSS2DRenderer_js.CSS2DObject(_0x3a8815),this[_0x5d1ca4(0x1a2)]['center'][_0x5d1ca4(0x19f)](_0x2132af);}set[_0x3c0e09(0x193)](_0x58bcd4){return;}set['isClickEnabled'](_0x41b8b7){return;}[_0x3c0e09(0x199)](_0x2e320a){var _0x1c35a5=_0x3c0e09;super[_0x1c35a5(0x199)](_0x2e320a);}[_0x3c0e09(0x19c)](){var _0x2783cd=_0x3c0e09;this[_0x2783cd(0x19a)]['element']&&this[_0x2783cd(0x19a)][_0x2783cd(0x195)][_0x2783cd(0x1a3)]&&(this[_0x2783cd(0x19a)][_0x2783cd(0x195)][_0x2783cd(0x1a6)]='',this['threeObject'][_0x2783cd(0x195)]['remove']()),super[_0x2783cd(0x19c)]();}}
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
function _0x2dee(_0xf5ee70,_0x48257a){_0xf5ee70=_0xf5ee70-0x87;const _0x43f117=_0x43f1();let _0x2dee9d=_0x43f117[_0xf5ee70];return _0x2dee9d;}const _0x2df25f=_0x2dee;(function(_0x3f070d,_0x51b152){const _0x3456e4=_0x2dee,_0x4bff99=_0x3f070d();while(!![]){try{const _0x4a3123=-parseInt(_0x3456e4(0x92))/0x1+-parseInt(_0x3456e4(0x8d))/0x2*(parseInt(_0x3456e4(0x8e))/0x3)+-parseInt(_0x3456e4(0x8c))/0x4*(-parseInt(_0x3456e4(0x8a))/0x5)+-parseInt(_0x3456e4(0x8f))/0x6*(parseInt(_0x3456e4(0x91))/0x7)+-parseInt(_0x3456e4(0x93))/0x8+-parseInt(_0x3456e4(0x8b))/0x9*(-parseInt(_0x3456e4(0x88))/0xa)+parseInt(_0x3456e4(0x90))/0xb*(parseInt(_0x3456e4(0x87))/0xc);if(_0x4a3123===_0x51b152)break;else _0x4bff99['push'](_0x4bff99['shift']());}catch(_0x162e6d){_0x4bff99['push'](_0x4bff99['shift']());}}}(_0x43f1,0xe6018));const DefaultSSRParam={'type':exports.PostProcessStepType[_0x2df25f(0x89)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};function _0x43f1(){const _0x174a08=['653765jzbMYJ','6965586ztFctE','4cadrpW','6YbgnmN','74427TVSRWS','3562038miWAVg','121eWdZat','7XIYoLE','1441474UPdELa','924816TuSQjx','1623948UkDwrs','20YBVwCG','ScreenSpaceReflection'];_0x43f1=function(){return _0x174a08;};return _0x43f1();}
|
|
125
125
|
|
|
126
|
-
const
|
|
126
|
+
function _0x3440(_0x44a536,_0x11c563){_0x44a536=_0x44a536-0x1ce;const _0x313715=_0x3137();let _0x3440e4=_0x313715[_0x44a536];return _0x3440e4;}const _0x46aea7=_0x3440;(function(_0x31a755,_0xe85946){const _0xefcf52=_0x3440,_0x3cb0d7=_0x31a755();while(!![]){try{const _0x1f3139=-parseInt(_0xefcf52(0x1d4))/0x1*(parseInt(_0xefcf52(0x1cf))/0x2)+-parseInt(_0xefcf52(0x1d0))/0x3*(-parseInt(_0xefcf52(0x1da))/0x4)+parseInt(_0xefcf52(0x1d8))/0x5*(parseInt(_0xefcf52(0x1d7))/0x6)+-parseInt(_0xefcf52(0x1d9))/0x7*(-parseInt(_0xefcf52(0x1d2))/0x8)+-parseInt(_0xefcf52(0x1d5))/0x9+parseInt(_0xefcf52(0x1db))/0xa+-parseInt(_0xefcf52(0x1d6))/0xb*(parseInt(_0xefcf52(0x1ce))/0xc);if(_0x1f3139===_0xe85946)break;else _0x3cb0d7['push'](_0x3cb0d7['shift']());}catch(_0x274f8b){_0x3cb0d7['push'](_0x3cb0d7['shift']());}}}(_0x3137,0x4b658));function _0x3137(){const _0x432d85=['11djkxvP','12VCmchi','11840KrlqWZ','229187bKoxQb','1082716nguCiR','4824040cPiYHE','3711564IGWmiK','222dvZBUp','3RyCEch','fxaa','120wJIMIt','Antialiasing','4229FEmfgA','1452546PnlHed'];_0x3137=function(){return _0x432d85;};return _0x3137();}const DefaultAAParams={'type':exports.PostProcessStepType[_0x46aea7(0x1d3)],'method':_0x46aea7(0x1d1)};
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
(function(_0x4d7182,_0x422644){const _0x2f2b9e=_0x3cb5,_0x2e65fe=_0x4d7182();while(!![]){try{const _0xdae025=parseInt(_0x2f2b9e(0x127))/0x1+-parseInt(_0x2f2b9e(0x130))/0x2*(-parseInt(_0x2f2b9e(0x125))/0x3)+parseInt(_0x2f2b9e(0x124))/0x4+parseInt(_0x2f2b9e(0x128))/0x5+parseInt(_0x2f2b9e(0x129))/0x6*(parseInt(_0x2f2b9e(0x12c))/0x7)+parseInt(_0x2f2b9e(0x12a))/0x8+-parseInt(_0x2f2b9e(0x123))/0x9;if(_0xdae025===_0x422644)break;else _0x2e65fe['push'](_0x2e65fe['shift']());}catch(_0x2f6a40){_0x2e65fe['push'](_0x2e65fe['shift']());}}}(_0x11b3,0x2bc47));function _0x3cb5(_0x2380ec,_0x1cc06c){_0x2380ec=_0x2380ec-0x122;const _0x11b31d=_0x11b3();let _0x3cb514=_0x11b31d[_0x2380ec];return _0x3cb514;}function _0x11b3(){const _0x19d2ca=['3dAGqRc','viewPort','133099FzRivE','1651765BQUFmB','600thfbZN','2608584kzIUUR','quaternion','20741wEmwDr','position','camera','canvas','108710ORWxdW','_control','controller','10562031ZdCqDt','850600jhYfst'];_0x11b3=function(){return _0x19d2ca;};return _0x11b3();}class FirstPerson extends Pawn{constructor(_0x361e08){const _0x58afe0=_0x3cb5;super(_0x361e08),this[_0x58afe0(0x131)]=new PointerLockControls_js.PointerLockControls(_0x361e08[_0x58afe0(0x12e)],_0x361e08[_0x58afe0(0x126)][_0x58afe0(0x12f)]);}['getFocuingData'](){const _0x22e419=_0x3cb5;var _0x2e5a9b;if(!this['_control']||!((_0x2e5a9b=this['controller'])===null||_0x2e5a9b===void 0?void 0:_0x2e5a9b[_0x22e419(0x12e)]))return null;const _0x538b42=this[_0x22e419(0x122)][_0x22e419(0x12e)][_0x22e419(0x12d)]['clone'](),_0x249c35=this[_0x22e419(0x122)][_0x22e419(0x12e)][_0x22e419(0x12b)]['clone'](),_0x3078a4=0x0;return {'position':_0x538b42,'quaternion':_0x249c35,'distance':_0x3078a4};}}
|
|
129
129
|
|
|
130
|
-
const
|
|
130
|
+
const _0x33ca52=_0x12d7;(function(_0x37ee78,_0x20db44){const _0x1b05cb=_0x12d7,_0x9eb867=_0x37ee78();while(!![]){try{const _0x265bf0=parseInt(_0x1b05cb(0xc4))/0x1+parseInt(_0x1b05cb(0xd9))/0x2*(-parseInt(_0x1b05cb(0xb6))/0x3)+-parseInt(_0x1b05cb(0xcf))/0x4*(-parseInt(_0x1b05cb(0xba))/0x5)+-parseInt(_0x1b05cb(0xd4))/0x6+-parseInt(_0x1b05cb(0xc1))/0x7*(parseInt(_0x1b05cb(0xd8))/0x8)+parseInt(_0x1b05cb(0xcb))/0x9*(-parseInt(_0x1b05cb(0xd7))/0xa)+parseInt(_0x1b05cb(0xc9))/0xb;if(_0x265bf0===_0x20db44)break;else _0x9eb867['push'](_0x9eb867['shift']());}catch(_0x166f05){_0x9eb867['push'](_0x9eb867['shift']());}}}(_0x511c,0xf22d1));function _0x12d7(_0x5b1a93,_0x11b3d7){_0x5b1a93=_0x5b1a93-0x82;const _0x511c80=_0x511c();let _0x12d770=_0x511c80[_0x5b1a93];return _0x12d770;}class TransformGizmo extends Pawn{get[_0x33ca52(0x8b)](){const _0x411384=_0x33ca52;if(!this[_0x411384(0x8f)])throw new Error(_0x411384(0x85));return this['_control'];}constructor(_0x2ff433,_0x1d60fe){const _0x4514b6=_0x33ca52;var _0x480506;super(_0x2ff433),this['_control']=null,this['helperObject']=new webgpu.Object3D(),this[_0x4514b6(0xb3)]=[],this[_0x4514b6(0xad)]=null,this['targetMatrixMap']=new Map(),this[_0x4514b6(0xd2)]=null,this[_0x4514b6(0x82)]=_0x3b36e4=>{this['onDraggingChanged'](_0x3b36e4);},this[_0x4514b6(0xb0)]=()=>{const _0x4ede3b=_0x4514b6;this[_0x4ede3b(0x84)]();},this['onChangeEvent']=()=>{const _0x5d7a95=_0x4514b6;this[_0x5d7a95(0xa8)]();},this[_0x4514b6(0x9a)]=null,this[_0x4514b6(0x9e)]=null;let _0x17d932=_0x2ff433['viewPort'][_0x4514b6(0xda)];if(!_0x17d932)throw new Error(_0x4514b6(0xa3));this[_0x4514b6(0x8f)]=new TransformControls_js.TransformControls(_0x2ff433[_0x4514b6(0xc2)],_0x17d932),this[_0x4514b6(0x8b)][_0x4514b6(0xa6)]()[_0x4514b6(0xbc)](_0x3108ce=>{const _0x5b2ef3=_0x4514b6;_0x3108ce[_0x5b2ef3(0xb1)][_0x5b2ef3(0xae)]=!![];}),this[_0x4514b6(0xc3)][_0x4514b6(0x91)]=_0x4514b6(0x93),this[_0x4514b6(0xd2)]=(_0x480506=_0x1d60fe===null||_0x1d60fe===void 0?void 0:_0x1d60fe['helperScene'])!==null&&_0x480506!==void 0?_0x480506:null;}[_0x33ca52(0xd6)](){const _0x4f6317=_0x33ca52;var _0x17da89;return (_0x17da89=this[_0x4f6317(0xd2)])!==null&&_0x17da89!==void 0?_0x17da89:this[_0x4f6317(0xb5)][_0x4f6317(0xa4)][_0x4f6317(0xdb)];}[_0x33ca52(0xca)](){const _0x9fcbe7=_0x33ca52,_0x306c9c=this['getTargetScene']();_0x306c9c[_0x9fcbe7(0xce)](this[_0x9fcbe7(0xc3)]),_0x306c9c[_0x9fcbe7(0xce)](this[_0x9fcbe7(0x8b)][_0x9fcbe7(0xa6)]()),this['control'][_0x9fcbe7(0x9c)](this[_0x9fcbe7(0xc3)]),this[_0x9fcbe7(0x8b)][_0x9fcbe7(0xcd)]('change',this[_0x9fcbe7(0x89)]),this['control'][_0x9fcbe7(0xcd)](_0x9fcbe7(0xc5),this['onDraggingChangedEvent']),this[_0x9fcbe7(0x8b)]['addEventListener'](_0x9fcbe7(0x8c),this[_0x9fcbe7(0xb0)]);}[_0x33ca52(0x8d)](){const _0x38f6bd=_0x33ca52;this[_0x38f6bd(0x8b)][_0x38f6bd(0xa5)](_0x38f6bd(0x96),this[_0x38f6bd(0x89)]),this[_0x38f6bd(0x8b)]['removeEventListener'](_0x38f6bd(0xc5),this[_0x38f6bd(0x82)]),this[_0x38f6bd(0x8b)]['removeEventListener'](_0x38f6bd(0x8c),this['onObjectChangeEvent']),this[_0x38f6bd(0x8b)]['detach']();const _0x1b215e=this['getTargetScene']();_0x1b215e['remove'](this['helperObject']),_0x1b215e[_0x38f6bd(0xa9)](this[_0x38f6bd(0x8b)]['getHelper']());}['refresh'](){const _0x2a0fc1=_0x33ca52;if(!this[_0x2a0fc1(0xad)])return;this['control'][_0x2a0fc1(0xd1)]();const _0x58cc3e=this['getTargetScene']();_0x58cc3e[_0x2a0fc1(0xa9)](this[_0x2a0fc1(0xc3)]),this[_0x2a0fc1(0xc0)][_0x2a0fc1(0x94)]();let _0x130073=this[_0x2a0fc1(0xad)][_0x2a0fc1(0xaa)]();_0x130073[_0x2a0fc1(0x90)](this['helperObject'][_0x2a0fc1(0xab)],this[_0x2a0fc1(0xc3)][_0x2a0fc1(0xbe)],this[_0x2a0fc1(0xc3)][_0x2a0fc1(0xb9)]),_0x58cc3e[_0x2a0fc1(0xce)](this['control'][_0x2a0fc1(0xa6)]()),_0x58cc3e[_0x2a0fc1(0xce)](this[_0x2a0fc1(0xc3)]),this[_0x2a0fc1(0x8b)][_0x2a0fc1(0x9c)](this[_0x2a0fc1(0xc3)]),this[_0x2a0fc1(0xb3)][_0x2a0fc1(0xb4)](_0x4132d8=>{const _0x461eee=_0x2a0fc1,_0xce84a=_0x4132d8['getMatrixInWorld'](),_0x3c30a5=_0x130073[_0x461eee(0xb7)]()[_0x461eee(0x83)]()[_0x461eee(0xbf)](_0xce84a);this[_0x461eee(0xc0)][_0x461eee(0x97)](_0x4132d8,_0x3c30a5);});}[_0x33ca52(0xa8)](){const _0x3ba84f=_0x33ca52;this[_0x3ba84f(0xb5)][_0x3ba84f(0xc8)][_0x3ba84f(0xd5)]();}[_0x33ca52(0xa1)](_0x3c4aca){const _0x4410ac=_0x33ca52;if(this[_0x4410ac(0xad)]){let _0x1b3c78=this[_0x4410ac(0xad)][_0x4410ac(0xaa)]();_0x1b3c78[_0x4410ac(0x90)](this['helperObject'][_0x4410ac(0xab)],this[_0x4410ac(0xc3)][_0x4410ac(0xbe)],this[_0x4410ac(0xc3)][_0x4410ac(0xb9)]);}this[_0x4410ac(0x9e)]&&this[_0x4410ac(0x9e)](_0x3c4aca[_0x4410ac(0xa7)]);}['onObjectChanged'](){const _0x513c5c=_0x33ca52;if(this[_0x513c5c(0xad)]){this[_0x513c5c(0xc3)][_0x513c5c(0x95)](!![]);const _0x4279bf=this['helperObject'][_0x513c5c(0xc6)]['clone']();this[_0x513c5c(0xad)]['onTransforming'](_0x4279bf),this[_0x513c5c(0xb3)][_0x513c5c(0xb4)](_0x33ab18=>{const _0x51bf95=_0x513c5c,_0xbbe587=this[_0x51bf95(0xc0)][_0x51bf95(0xbd)](_0x33ab18);if(_0xbbe587){const _0x41330e=new webgpu.Matrix4()[_0x51bf95(0xd0)](_0x4279bf,_0xbbe587);_0x33ab18[_0x51bf95(0xaf)](_0x41330e);}});}this[_0x513c5c(0x9a)]&&this[_0x513c5c(0x9a)]();}set['enable'](_0x11f2bd){const _0x47343c=_0x33ca52;this[_0x47343c(0x8b)][_0x47343c(0x8e)]=_0x11f2bd;}['setTarget'](_0x545f53,_0x365109,_0x25389e=null,_0x15b8f4=null){const _0x1a402a=_0x33ca52;this[_0x1a402a(0xc0)][_0x1a402a(0x94)]();let _0x25504f=_0x545f53[_0x1a402a(0xaa)]();_0x25504f['decompose'](this['helperObject']['position'],this['helperObject']['quaternion'],this[_0x1a402a(0xc3)][_0x1a402a(0xb9)]);const _0x1994a8=this[_0x1a402a(0xd6)]();_0x1994a8[_0x1a402a(0xce)](this['control'][_0x1a402a(0xa6)]()),this[_0x1a402a(0xad)]=_0x545f53,this[_0x1a402a(0xb3)]=_0x365109,this[_0x1a402a(0xb3)][_0x1a402a(0xb4)](_0x15ecd3=>{const _0x13389f=_0x1a402a,_0x1f30d6=_0x15ecd3[_0x13389f(0xaa)](),_0x35c3f3=_0x25504f[_0x13389f(0xb7)]()[_0x13389f(0x83)]()['multiply'](_0x1f30d6);this[_0x13389f(0xc0)][_0x13389f(0x97)](_0x15ecd3,_0x35c3f3);}),_0x25389e&&(this[_0x1a402a(0x9a)]=_0x25389e),_0x15b8f4&&(this[_0x1a402a(0x9e)]=_0x15b8f4),this[_0x1a402a(0xa0)]=!![];}[_0x33ca52(0xd3)](){const _0x365b87=_0x33ca52;return this['control'][_0x365b87(0xd3)]();}[_0x33ca52(0x9f)](_0x1d5921){const _0x26339d=_0x33ca52;this[_0x26339d(0x8b)][_0x26339d(0x9f)](_0x1d5921);}[_0x33ca52(0x8a)](_0x5e093e){const _0x462600=_0x33ca52;this[_0x462600(0x8b)][_0x462600(0x8a)](_0x5e093e);}[_0x33ca52(0xb8)](_0x55747d){const _0x2fe69c=_0x33ca52;this['control'][_0x2fe69c(0xa2)]=_0x55747d?_0x55747d===null||_0x55747d===void 0?void 0:_0x55747d[_0x2fe69c(0x9d)]('X'):![],this[_0x2fe69c(0x8b)][_0x2fe69c(0xac)]=_0x55747d?_0x55747d===null||_0x55747d===void 0?void 0:_0x55747d['includes']('Y'):![],this[_0x2fe69c(0x8b)][_0x2fe69c(0xc7)]=_0x55747d?_0x55747d===null||_0x55747d===void 0?void 0:_0x55747d['includes']('Z'):![];}[_0x33ca52(0xb2)](_0x52c3bc){const _0x681348=_0x33ca52;this[_0x681348(0x8b)][_0x681348(0xb2)](_0x52c3bc);}[_0x33ca52(0x87)](){const _0xcac077=_0x33ca52;return this[_0xcac077(0x8b)][_0xcac077(0x86)];}['setTranslationSnap'](_0x5b0971){const _0x40cb17=_0x33ca52;this[_0x40cb17(0x8b)][_0x40cb17(0xbb)](_0x5b0971);}[_0x33ca52(0x98)](){const _0x1ba0c4=_0x33ca52;return this[_0x1ba0c4(0x8b)][_0x1ba0c4(0x92)];}['setRotationSnap'](_0x1e9c92){const _0x5a4bc9=_0x33ca52;this[_0x5a4bc9(0x8b)][_0x5a4bc9(0x99)](_0x1e9c92);}['getScaleSnap'](){const _0x3ebf8d=_0x33ca52;return this['control'][_0x3ebf8d(0x88)];}[_0x33ca52(0xcc)](_0x156cec){const _0x2f6a28=_0x33ca52;this['control'][_0x2f6a28(0xcc)](_0x156cec);}[_0x33ca52(0x9b)](){const _0x52eabb=_0x33ca52;var _0x1ab55b;this[_0x52eabb(0xa0)]=![],this[_0x52eabb(0x8d)](),this['targetMatrixMap'][_0x52eabb(0x94)](),this[_0x52eabb(0xb3)]=[],this['primaryTarget']=null,this['onUpdateFunction']=null,this[_0x52eabb(0x9e)]=null,(_0x1ab55b=this['_control'])===null||_0x1ab55b===void 0?void 0:_0x1ab55b['dispose'](),this['_control']=null,super[_0x52eabb(0x9b)]();}}function _0x511c(){const _0xa3acbc=['decompose','name','rotationSnap','TransformHelperObject','clear','updateMatrixWorld','change','set','getRotationnSnap','setRotationSnap','onUpdateFunction','destroy','attach','includes','onDraggingFunction','setMode','isTickEnabled','onDraggingChanged','showX','TransformGizmo:Canvas\x20not\x20found','world','removeEventListener','getHelper','value','onChange','remove','getMatrixInWorld','position','showY','primaryTarget','rayIgnored','onTransforming','onObjectChangeEvent','userData','setSize','targets','forEach','controller','9lVDuNa','clone','setAxis','scale','8247665GAaXKx','setTranslationSnap','traverse','get','quaternion','multiply','targetMatrixMap','7YoSXJL','camera','helperObject','1900014xMmiWU','dragging-changed','matrixWorld','showZ','viewPort','17972691OhktXK','possess','1194840CEWMjq','setScaleSnap','addEventListener','add','4FmfKFg','multiplyMatrices','detach','gizmoScene','getMode','2265210wkOTaR','markRenderStateDirty','getTargetScene','50OUNVDd','15593416BPnjlz','800642KipHBP','canvas','scene','onDraggingChangedEvent','invert','onObjectChanged','Control\x20not\x20initialized','translationSnap','getTranslationSnap','scaleSnap','onChangeEvent','setSpace','control','objectChange','unpossess','enabled','_control'];_0x511c=function(){return _0xa3acbc;};return _0x511c();}
|
|
131
131
|
|
|
132
|
-
(function(
|
|
132
|
+
(function(_0x47a73f,_0x3e0dec){var _0x2f98b8=_0x17dd,_0x54a136=_0x47a73f();while(!![]){try{var _0x22c473=-parseInt(_0x2f98b8(0x1cb))/0x1*(-parseInt(_0x2f98b8(0x1cf))/0x2)+parseInt(_0x2f98b8(0x1c7))/0x3*(-parseInt(_0x2f98b8(0x1ca))/0x4)+parseInt(_0x2f98b8(0x1d1))/0x5+parseInt(_0x2f98b8(0x1cd))/0x6+-parseInt(_0x2f98b8(0x1cc))/0x7*(parseInt(_0x2f98b8(0x1d0))/0x8)+-parseInt(_0x2f98b8(0x1c8))/0x9+parseInt(_0x2f98b8(0x1c9))/0xa*(parseInt(_0x2f98b8(0x1ce))/0xb);if(_0x22c473===_0x3e0dec)break;else _0x54a136['push'](_0x54a136['shift']());}catch(_0x379f29){_0x54a136['push'](_0x54a136['shift']());}}}(_0x2d71,0x43c1a));function _0x2d71(){var _0x56e8b7=['2170553mRmaUN','7082xOENYf','8WMPvwx','2038035aCmIyY','3XPxkHq','2410425HQuqKZ','10cePbLc','340720VBuMrN','109bYNhnS','3745091bYPijp','1047894ydwyRh'];_0x2d71=function(){return _0x56e8b7;};return _0x2d71();}function _0x17dd(_0x5eb510,_0x320f91){_0x5eb510=_0x5eb510-0x1c7;var _0x2d71d4=_0x2d71();var _0x17dd38=_0x2d71d4[_0x5eb510];return _0x17dd38;}
|
|
133
133
|
|
|
134
134
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
135
135
|
exports.Actor = Actor;
|