lythreeframe 1.3.8 → 1.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.cjs.js
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 _0x12ad00 = 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
|
-
const
|
|
22
|
+
function _0x57dc(_0x41e735,_0x3c2c5d){_0x41e735=_0x41e735-0xc8;const _0x3e8ef6=_0x3e8e();let _0x57dc65=_0x3e8ef6[_0x41e735];return _0x57dc65;}const _0x2f6eb0=_0x57dc;function _0x3e8e(){const _0x1b65b9=['40LBPJoB','141399Drliyd','forEach','12752880BVanVG','970xFkjgC','356884eAHHDu','splice','2659946KVyRlH','3634854oyPEYD','tick','bCanTick','63683EIrsEq','destroy','3LUgSck','_uuid','tickEvents','clearTickEvents','22nedXiD','14ltNLGf','isTickEnabled','2611632PQpRNI','uuid'];_0x3e8e=function(){return _0x1b65b9;};return _0x3e8e();}(function(_0x4d2314,_0x50cea5){const _0x597385=_0x57dc,_0x4da442=_0x4d2314();while(!![]){try{const _0x215da5=parseInt(_0x597385(0xdb))/0x1+parseInt(_0x597385(0xd7))/0x2*(parseInt(_0x597385(0xdd))/0x3)+-parseInt(_0x597385(0xd5))/0x4*(parseInt(_0x597385(0xd0))/0x5)+-parseInt(_0x597385(0xd8))/0x6*(-parseInt(_0x597385(0xcc))/0x7)+-parseInt(_0x597385(0xce))/0x8+parseInt(_0x597385(0xd1))/0x9*(parseInt(_0x597385(0xd4))/0xa)+-parseInt(_0x597385(0xcb))/0xb*(parseInt(_0x597385(0xd3))/0xc);if(_0x215da5===_0x50cea5)break;else _0x4da442['push'](_0x4da442['shift']());}catch(_0x372ded){_0x4da442['push'](_0x4da442['shift']());}}}(_0x3e8e,0xeb3d3));class BaseObject{get[_0x2f6eb0(0xcd)](){return this['bCanTick'];}set['isTickEnabled'](_0x1dd4a6){const _0x13680c=_0x2f6eb0;this[_0x13680c(0xda)]=_0x1dd4a6;}get[_0x2f6eb0(0xcf)](){const _0x5c023c=_0x2f6eb0;return this[_0x5c023c(0xc8)];}constructor(_0x498990=webgpu.MathUtils['generateUUID']()){const _0x28c4f1=_0x2f6eb0;this[_0x28c4f1(0xda)]=![],this[_0x28c4f1(0xc9)]=[],this['bCanTick']=![],this[_0x28c4f1(0xc8)]=_0x498990;}[_0x2f6eb0(0xd9)](_0x14bca3){const _0x3c8dae=_0x2f6eb0;if(!this[_0x3c8dae(0xda)])return;this[_0x3c8dae(0xc9)][_0x3c8dae(0xd2)](_0x3c067a=>{_0x3c067a(_0x14bca3);});}['addTickEvent'](_0x27d797){this['tickEvents']['push'](_0x27d797);}['removeTickEvent'](_0x129192){const _0x4d0f00=_0x2f6eb0;let _0x41ebc8=this['tickEvents']['indexOf'](_0x129192);_0x41ebc8!=-1&&this[_0x4d0f00(0xc9)][_0x4d0f00(0xd6)](_0x41ebc8,0x1);}[_0x2f6eb0(0xca)](){this['tickEvents']=[];}[_0x2f6eb0(0xdc)](){}}
|
|
23
23
|
|
|
24
|
-
const
|
|
24
|
+
const _0x3a1a1a=_0x3f3e;function _0x3f3e(_0x2d62de,_0x522092){_0x2d62de=_0x2d62de-0x1a1;const _0x5bd50e=_0x5bd5();let _0x3f3e2d=_0x5bd50e[_0x2d62de];return _0x3f3e2d;}(function(_0x89343d,_0x361758){const _0x3d30c4=_0x3f3e,_0x4b6a32=_0x89343d();while(!![]){try{const _0x427268=parseInt(_0x3d30c4(0x1a8))/0x1*(parseInt(_0x3d30c4(0x1b7))/0x2)+parseInt(_0x3d30c4(0x1a4))/0x3+parseInt(_0x3d30c4(0x1b1))/0x4*(parseInt(_0x3d30c4(0x1a6))/0x5)+-parseInt(_0x3d30c4(0x1a9))/0x6+parseInt(_0x3d30c4(0x1b0))/0x7+-parseInt(_0x3d30c4(0x1a2))/0x8*(parseInt(_0x3d30c4(0x1a7))/0x9)+-parseInt(_0x3d30c4(0x1b6))/0xa;if(_0x427268===_0x361758)break;else _0x4b6a32['push'](_0x4b6a32['shift']());}catch(_0x417488){_0x4b6a32['push'](_0x4b6a32['shift']());}}}(_0x5bd5,0xe7d86));function _0x5bd5(){const _0x4ae99d=['149157lbUnDd','3ILkSeq','1096866IkLBuo','Component','createDefaultObject','name','threeObject','LYObject','warn','7519106XTmUTY','1516lnmJcF','destroyObject','userData','generateUUID','destroy','7539460dbpMvJ','56692nRfFEG','Component\x20createDefaultObject\x20return\x20null','obj','344FUHZhm','_parentActor','1098393BKsmsu','_name','14165gxduRj'];_0x5bd5=function(){return _0x4ae99d;};return _0x5bd5();}class Component extends BaseObject{set['parentActor'](_0x424d3c){const _0xe281f3=_0x3f3e;this[_0xe281f3(0x1a3)]=_0x424d3c;}get['parentActor'](){return this['_parentActor'];}get[_0x3a1a1a(0x1ad)](){return this['obj'];}set[_0x3a1a1a(0x1ad)](_0x21e09b){const _0x1a6271=_0x3a1a1a;this[_0x1a6271(0x1a1)]=_0x21e09b,this[_0x1a6271(0x1a1)]&&(this[_0x1a6271(0x1a1)][_0x1a6271(0x1b3)][_0x1a6271(0x1ae)]=this);}get[_0x3a1a1a(0x1ac)](){const _0x21da31=_0x3a1a1a;return this[_0x21da31(0x1a5)];}set[_0x3a1a1a(0x1ac)](_0x238a48){const _0x49e431=_0x3a1a1a;this[_0x49e431(0x1a5)]=_0x238a48,this[_0x49e431(0x1a1)]&&(this[_0x49e431(0x1a1)]['name']=_0x238a48);}constructor(_0x312795){const _0x25c584=_0x3a1a1a;super(_0x312795?_0x312795:webgpu.MathUtils[_0x25c584(0x1b4)]()),this[_0x25c584(0x1a1)]=null,this[_0x25c584(0x1a3)]=null,this[_0x25c584(0x1a5)]='Component',this[_0x25c584(0x1a3)]=null;let _0x341a5c=this['createDefaultObject']();_0x341a5c?(this[_0x25c584(0x1ad)]=_0x341a5c,this[_0x25c584(0x1a5)]=this[_0x25c584(0x1ad)]['type']+_0x25c584(0x1aa)):console[_0x25c584(0x1af)](_0x25c584(0x1b8));}[_0x3a1a1a(0x1ab)](_0x1919a0){return null;}['destroyObject'](){const _0x3a951b=_0x3a1a1a;if(!this[_0x3a951b(0x1a1)])return;}[_0x3a1a1a(0x1b5)](){const _0x2d3378=_0x3a1a1a;this[_0x2d3378(0x1b2)]();}}
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
(function(_0x58570a,_0x2856ea){var _0x28ba2b=_0x2482,_0x5718c5=_0x58570a();while(!![]){try{var _0x1e1454=parseInt(_0x28ba2b(0xcd))/0x1*(parseInt(_0x28ba2b(0xcf))/0x2)+parseInt(_0x28ba2b(0xd2))/0x3*(parseInt(_0x28ba2b(0xd7))/0x4)+parseInt(_0x28ba2b(0xd5))/0x5+-parseInt(_0x28ba2b(0xce))/0x6*(parseInt(_0x28ba2b(0xcc))/0x7)+parseInt(_0x28ba2b(0xd1))/0x8+parseInt(_0x28ba2b(0xd6))/0x9*(parseInt(_0x28ba2b(0xd3))/0xa)+-parseInt(_0x28ba2b(0xd4))/0xb;if(_0x1e1454===_0x2856ea)break;else _0x5718c5['push'](_0x5718c5['shift']());}catch(_0x3d777e){_0x5718c5['push'](_0x5718c5['shift']());}}}(_0x15fa,0x1ff89));function _0x2482(_0x5a7167,_0x4c04ca){_0x5a7167=_0x5a7167-0xcc;var _0x15faeb=_0x15fa();var _0x2482d0=_0x15faeb[_0x5a7167];return _0x2482d0;}function _0x15fa(){var _0x5a33f9=['KeepWorld','643056tIVruq','507045pdumHV','646340BvWLwf','2846602wBjJLP','900895KrlTCO','9ZNhmDs','4ANqkfc','182JGsSLm','7lMgEeN','40530kNDGOr','20330LNFygg'];_0x15fa=function(){return _0x5a33f9;};return _0x15fa();}exports.AttachmentRules = void 0;(function(_0x14bb1c){var _0x592fd7=_0x2482;_0x14bb1c[_0x14bb1c[_0x592fd7(0xd0)]=0x1]=_0x592fd7(0xd0),_0x14bb1c[_0x14bb1c['KeepRelative']=0x2]='KeepRelative';}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
27
27
|
|
|
28
|
-
function
|
|
28
|
+
function _0x549a(_0x463407,_0x3b6c9e){_0x463407=_0x463407-0x1c9;const _0x12b1d3=_0x12b1();let _0x549ac2=_0x12b1d3[_0x463407];return _0x549ac2;}const _0x3447b1=_0x549a;(function(_0x36d6bb,_0x23197f){const _0x4fda10=_0x549a,_0x481bb1=_0x36d6bb();while(!![]){try{const _0x3e45f5=parseInt(_0x4fda10(0x1d4))/0x1+parseInt(_0x4fda10(0x1d2))/0x2*(-parseInt(_0x4fda10(0x1ce))/0x3)+parseInt(_0x4fda10(0x1cd))/0x4+parseInt(_0x4fda10(0x1ca))/0x5+parseInt(_0x4fda10(0x1d7))/0x6+-parseInt(_0x4fda10(0x1c9))/0x7*(-parseInt(_0x4fda10(0x1d5))/0x8)+-parseInt(_0x4fda10(0x1d0))/0x9;if(_0x3e45f5===_0x23197f)break;else _0x481bb1['push'](_0x481bb1['shift']());}catch(_0x29c3d2){_0x481bb1['push'](_0x481bb1['shift']());}}}(_0x12b1,0xf03ac));function _0x12b1(){const _0x51fb9d=['remove','1254835XxSFTM','1832kmumaV','broadcast','2259264HHkduB','44401dYkbBR','809605lJXxIQ','push','add','2504568hUIrXf','489UmKsGg','functions','25959807QaPpVO','forEach','44IXknez'];_0x12b1=function(){return _0x51fb9d;};return _0x12b1();}class Delegate{constructor(){const _0x365fe9=_0x549a;this[_0x365fe9(0x1cf)]=[];}[_0x3447b1(0x1d6)](..._0x3b18b5){const _0x1d08bd=_0x3447b1;this[_0x1d08bd(0x1cf)][_0x1d08bd(0x1d1)](_0x5175f8=>_0x5175f8(..._0x3b18b5));}[_0x3447b1(0x1cc)](_0x41a958){const _0x4ffc35=_0x3447b1;this[_0x4ffc35(0x1cf)][_0x4ffc35(0x1cb)](_0x41a958);}[_0x3447b1(0x1d3)](_0x5accdf){const _0x108c46=_0x3447b1,_0x7716c5=this[_0x108c46(0x1cf)]['indexOf'](_0x5accdf);_0x7716c5>=0x0?this[_0x108c46(0x1cf)]['splice'](_0x7716c5,0x1):console['warn']('function\x20not\x20found');}['clear'](){const _0x129ec6=_0x3447b1;this[_0x129ec6(0x1cf)]=[];}}
|
|
29
29
|
|
|
30
|
-
function _0x1b48(){const _0x2fd69f=['4518ScxGyE','getWorldUpDirection','obj','_onClickDelegate','removeChildComponent','setVisible','getBoundsBottomCenterPositionWS','30dTryEH','getRotation','children','localToWorld','setFromQuaternion','attachComponent','max','threeObject','forEach','setScale','_onHoverBeginDelegate','world','getWorldForwardDirection','compose','viewport','setFromObject','getBoundsTopCenterPositionWS','destroy','1984FDmBcX','newComponent\x20threeObject\x20is\x20invalid','621956LEGuHp','4wntjfq','parentComponent','bCanClick','broadcast','min','728988JmlwQp','detachFromParentActor','threeObject\x20is\x20invalid','getCenter','matrix','length','multiplyMatrices','bCanHover','worldToLocal','uuid','onDoubleClickDelegate','parentActor','set','SceneComponent','detachFromParentComponent','matrixWorld','onClicked','copy','matrixAutoUpdate','userData','decompose','tick','onDoubleClicked','getWorldMatrix','isEuler','LYObject','isClickEnabled','setMatrix','target\x20threeObject\x20is\x20invalid','detachComponent','onAddedToWorld','getWorldPosition','2GatCBz','getScale','markRenderStateDirty','getWorldQuaternion','push','getComponentById','setLayers','KeepRelative','onHorveringEnd','updateMatrix','targetComponent\x20threeObject\x20is\x20invalid','getWorldScale','getPosition','setRotation','_parentActor','order','add','2936890TvXhDK','rotation','isHoverEnabled','parent','4923737SaMmVS','setPosition','scale','375603qnkMCu','childrenComponents','number','getWorldDirection','position','name','getMatrix','getWorldRotation','onHoverEndDelegate','getBounds','addChildComponent','_onHoverEndDelegate','getQuaternion','quaternion','_onDoubleClickDelegate','updateMatrixWorld','destroyObject','clone','isEmpty','isVisible','remove','setWorldMatrix','724395kTHamQ'];_0x1b48=function(){return _0x2fd69f;};return _0x1b48();}function _0x14f5(_0x5d8601,_0x1b0d1f){_0x5d8601=_0x5d8601-0x8c;const _0x1b4825=_0x1b48();let _0x14f55e=_0x1b4825[_0x5d8601];return _0x14f55e;}const _0x5a0ac2=_0x14f5;(function(_0x2094a8,_0x57d7bf){const _0x2bf35b=_0x14f5,_0x14b853=_0x2094a8();while(!![]){try{const _0x17681b=-parseInt(_0x2bf35b(0xc9))/0x1*(parseInt(_0x2bf35b(0xef))/0x2)+parseInt(_0x2bf35b(0x97))/0x3*(-parseInt(_0x2bf35b(0xca))/0x4)+-parseInt(_0x2bf35b(0xad))/0x5+-parseInt(_0x2bf35b(0xcf))/0x6+parseInt(_0x2bf35b(0x94))/0x7+parseInt(_0x2bf35b(0xc7))/0x8*(-parseInt(_0x2bf35b(0xae))/0x9)+-parseInt(_0x2bf35b(0xb5))/0xa*(-parseInt(_0x2bf35b(0x90))/0xb);if(_0x17681b===_0x57d7bf)break;else _0x14b853['push'](_0x14b853['shift']());}catch(_0x428599){_0x14b853['push'](_0x14b853['shift']());}}}(_0x1b48,0x596fb));class SceneComponent extends Component{set[_0x5a0ac2(0xda)](_0x5162cf){const _0x2b593d=_0x5a0ac2;this[_0x2b593d(0x98)]['forEach'](_0x579411=>{_0x579411['parentActor']=_0x5162cf;}),this[_0x2b593d(0x8d)]=_0x5162cf;}get[_0x5a0ac2(0xda)](){const _0x582558=_0x5a0ac2;return this[_0x582558(0x8d)];}get['onHoverBeginDelegate'](){const _0x311a0c=_0x5a0ac2;return this[_0x311a0c(0xbf)];}get[_0x5a0ac2(0x9f)](){return this['_onHoverEndDelegate'];}get['onClickDelegate'](){const _0x1bc19d=_0x5a0ac2;return this[_0x1bc19d(0xb1)];}get[_0x5a0ac2(0xd9)](){const _0x5aee81=_0x5a0ac2;return this[_0x5aee81(0xa5)];}get[_0x5a0ac2(0xc0)](){const _0x541b73=_0x5a0ac2;return this['app'][_0x541b73(0xc0)];}constructor(_0x5e7bda,_0x1eb3d4){const _0x21cccd=_0x5a0ac2;super(_0x1eb3d4),this[_0x21cccd(0xd6)]=![],this['bCanClick']=![],this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this['_onClickDelegate']=new Delegate(),this['_onDoubleClickDelegate']=new Delegate(),this['app']=_0x5e7bda,this[_0x21cccd(0x9c)]=_0x21cccd(0xdc);}['createDefaultObject'](){return new webgpu.Object3D();}[_0x5a0ac2(0xe4)](_0x39e79e){const _0x13efee=_0x5a0ac2;super[_0x13efee(0xe4)](_0x39e79e),this[_0x13efee(0x98)]['forEach'](_0x342a88=>{_0x342a88['tick'](_0x39e79e);});}get[_0x5a0ac2(0xaa)](){const _0x21902b=_0x5a0ac2;if(!this[_0x21902b(0xb0)])return ![];return this[_0x21902b(0xb0)]['visible'];}[_0x5a0ac2(0xb3)](_0x5928b3){const _0x40fe59=_0x5a0ac2;if(!this[_0x40fe59(0xb0)])throw Error(_0x40fe59(0xd1));this[_0x40fe59(0xb0)]['visible']=_0x5928b3,this[_0x40fe59(0xc0)]&&this['world'][_0x40fe59(0xc3)][_0x40fe59(0xf1)]();}[_0x5a0ac2(0xf5)](_0x18ff88){const _0x20f66c=_0x5a0ac2;if(!this[_0x20f66c(0xb0)])throw Error(_0x20f66c(0xd1));this['obj']['layers'][_0x20f66c(0xdb)](_0x18ff88);let _0x47776a=this[_0x20f66c(0x98)];_0x47776a[_0x20f66c(0xbd)](_0x9fc38c=>{const _0x9d744d=_0x20f66c;_0x9fc38c[_0x9d744d(0xf5)](_0x18ff88);});}[_0x5a0ac2(0xf4)](_0x2f0986,_0x3115ef=!![]){const _0x511581=_0x5a0ac2;if(this[_0x511581(0xd8)]===_0x2f0986)return this;if(_0x3115ef){let _0x160812=this[_0x511581(0x98)];for(let _0x1eee57=0x0;_0x1eee57<_0x160812[_0x511581(0xd4)];++_0x1eee57){let _0x1b1758=_0x160812[_0x1eee57][_0x511581(0xf4)](_0x2f0986,_0x3115ef);if(_0x1b1758)return _0x1b1758;}}else {let _0x3fe1f7=this['childrenComponents'];for(let _0x4b21f4=0x0;_0x4b21f4<_0x3fe1f7[_0x511581(0xd4)];++_0x4b21f4){let _0x835053=_0x3fe1f7[_0x4b21f4];if(_0x835053[_0x511581(0xd8)]===_0x2f0986)return _0x835053;}}return null;}['getBoundsCenterPositionWS'](){const _0x2612d3=_0x5a0ac2;let _0x32830e=new webgpu.Vector3();return this[_0x2612d3(0xa0)]()['getCenter'](_0x32830e),this['getWorldPosition']();}[_0x5a0ac2(0xc5)](){const _0x3a85b0=_0x5a0ac2;let _0x337b8d=new webgpu.Vector3(),_0x51985d=this['getBounds']();return _0x51985d['getCenter'](_0x337b8d),_0x337b8d['y']=_0x51985d[_0x3a85b0(0xbb)]['y'],_0x337b8d;}[_0x5a0ac2(0xb4)](){const _0x2938b9=_0x5a0ac2;let _0x28827c=new webgpu.Vector3(),_0x1aa581=this[_0x2938b9(0xa0)]();return _0x1aa581[_0x2938b9(0xd2)](_0x28827c),_0x28827c['y']=_0x1aa581[_0x2938b9(0xce)]['y'],_0x28827c;}['getBounds'](){const _0x903aa6=_0x5a0ac2;if(!this[_0x903aa6(0xb0)])throw Error(_0x903aa6(0xd1));let _0x224569=new webgpu.Box3();return _0x224569[_0x903aa6(0xc4)](this[_0x903aa6(0xb0)],![]),_0x224569[_0x903aa6(0xa9)]()&&(_0x224569[_0x903aa6(0xce)]=_0x224569['max']=this[_0x903aa6(0xee)]()),_0x224569;}get['parentComponent'](){const _0x4f3090=_0x5a0ac2;var _0x1ee7d6,_0x4bc767;if(!this[_0x4f3090(0xb0)])throw Error(_0x4f3090(0xd1));let _0x1a6fcf=(_0x4bc767=(_0x1ee7d6=this[_0x4f3090(0xb0)])===null||_0x1ee7d6===void 0?void 0:_0x1ee7d6[_0x4f3090(0x93)])===null||_0x4bc767===void 0?void 0:_0x4bc767[_0x4f3090(0xe2)][_0x4f3090(0xe8)];if(!_0x1a6fcf)return null;if(!(_0x1a6fcf instanceof SceneComponent))return null;if(_0x1a6fcf[_0x4f3090(0xda)]!==this[_0x4f3090(0xda)])return null;return _0x1a6fcf;}get[_0x5a0ac2(0x98)](){const _0x5a7c91=_0x5a0ac2;if(!this[_0x5a7c91(0xb0)])throw Error('threeObject\x20is\x20invalid');let _0xd3ae80=[];for(let _0x27ef0c=0x0;_0x27ef0c<this[_0x5a7c91(0xb0)]['children'][_0x5a7c91(0xd4)];++_0x27ef0c){if(!this[_0x5a7c91(0xb0)][_0x5a7c91(0xb7)][_0x27ef0c][_0x5a7c91(0xe2)][_0x5a7c91(0xe8)])continue;this['obj'][_0x5a7c91(0xb7)][_0x27ef0c]['userData']['LYObject'][_0x5a7c91(0xda)]===this['parentActor']&&_0xd3ae80['push'](this[_0x5a7c91(0xb0)]['children'][_0x27ef0c][_0x5a7c91(0xe2)][_0x5a7c91(0xe8)]);}return _0xd3ae80;}[_0x5a0ac2(0xed)](_0x4c2c0f){const _0x1eb4f6=_0x5a0ac2;let _0x2df7ff=this[_0x1eb4f6(0x98)];for(let _0x5985c6=0x0;_0x5985c6<_0x2df7ff[_0x1eb4f6(0xd4)];++_0x5985c6){_0x2df7ff[_0x5985c6][_0x1eb4f6(0xed)](_0x4c2c0f);}}[_0x5a0ac2(0xc6)](){const _0x2ed381=_0x5a0ac2;this[_0x2ed381(0x92)]=![],this[_0x2ed381(0xe9)]=![],this[_0x2ed381(0xd0)](),this[_0x2ed381(0xdd)](),this['destroyChildren'](),this['destroyObject'](),this[_0x2ed381(0xc0)]&&this[_0x2ed381(0xc0)][_0x2ed381(0xc3)][_0x2ed381(0xf1)]();}['destroyObject'](){const _0x234b4b=_0x5a0ac2;if(!this[_0x234b4b(0xb0)])return;this[_0x234b4b(0xb0)][_0x234b4b(0x93)]&&this[_0x234b4b(0xb0)][_0x234b4b(0x93)][_0x234b4b(0xab)](this[_0x234b4b(0xb0)]),super[_0x234b4b(0xa7)]();}[_0x5a0ac2(0xfb)](){const _0xd8d144=_0x5a0ac2;if(!this['obj'])throw Error(_0xd8d144(0xd1));if(this[_0xd8d144(0xb0)][_0xd8d144(0xe1)])return this['obj']['position'][_0xd8d144(0xa8)]();else {const _0x4fe3be=new webgpu.Vector3(),_0x147073=new webgpu.Quaternion(),_0x4e1d23=new webgpu.Vector3();return this[_0xd8d144(0xb0)]['matrix'][_0xd8d144(0xe3)](_0x4fe3be,_0x147073,_0x4e1d23),_0x4fe3be;}}[_0x5a0ac2(0x95)](..._0x2823f9){const _0x3dfe88=_0x5a0ac2;var _0x5dda09;if(!this['obj'])throw Error(_0x3dfe88(0xd1));let _0x510a09=null;if(_0x2823f9[_0x3dfe88(0xd4)]===0x1&&((_0x5dda09=_0x2823f9[0x0])===null||_0x5dda09===void 0?void 0:_0x5dda09['isVector3'])){const _0x1a1bb0=_0x2823f9[0x0];_0x510a09=new webgpu.Vector3(_0x1a1bb0['x'],_0x1a1bb0['y'],_0x1a1bb0['z']);}else _0x2823f9[_0x3dfe88(0xd4)]===0x3&&typeof _0x2823f9[0x0]==='number'&&typeof _0x2823f9[0x1]==='number'&&typeof _0x2823f9[0x2]===_0x3dfe88(0x99)&&(_0x510a09=new webgpu.Vector3(_0x2823f9[0x0],_0x2823f9[0x1],_0x2823f9[0x2]));if(!_0x510a09)return;this[_0x3dfe88(0xb0)][_0x3dfe88(0x9b)][_0x3dfe88(0xe0)](_0x510a09),!this[_0x3dfe88(0xb0)]['matrixAutoUpdate']&&this[_0x3dfe88(0xb0)][_0x3dfe88(0xd3)][_0x3dfe88(0x95)](_0x510a09['x'],_0x510a09['y'],_0x510a09['z']),this[_0x3dfe88(0xb0)][_0x3dfe88(0xf8)](),this[_0x3dfe88(0xb0)][_0x3dfe88(0xa6)](!![]),this['world']&&this[_0x3dfe88(0xc0)][_0x3dfe88(0xc3)][_0x3dfe88(0xf1)]();}[_0x5a0ac2(0xb6)](){const _0x18ebc8=_0x5a0ac2;if(!this[_0x18ebc8(0xb0)])throw Error(_0x18ebc8(0xd1));if(this['obj'][_0x18ebc8(0xe1)])return this['obj'][_0x18ebc8(0x91)][_0x18ebc8(0xa8)]();else {const _0x636593=new webgpu.Vector3(),_0x36f9b0=new webgpu.Quaternion(),_0x111e80=new webgpu.Vector3();return this[_0x18ebc8(0xb0)][_0x18ebc8(0xd3)][_0x18ebc8(0xe3)](_0x636593,_0x36f9b0,_0x111e80),new webgpu.Euler()[_0x18ebc8(0xb9)](_0x36f9b0);}}[_0x5a0ac2(0x8c)](..._0x5e0bff){const _0x1e0994=_0x5a0ac2;var _0x5229d5;if(!this[_0x1e0994(0xb0)])throw Error(_0x1e0994(0xd1));let _0x41b94c=null;if((_0x5229d5=_0x5e0bff[0x0])===null||_0x5229d5===void 0?void 0:_0x5229d5[_0x1e0994(0xe7)]){const _0x82b976=_0x5e0bff[0x0];_0x41b94c=new webgpu.Euler(_0x82b976['x'],_0x82b976['y'],_0x82b976['z'],_0x82b976[_0x1e0994(0x8e)]);}else typeof _0x5e0bff[0x0]===_0x1e0994(0x99)&&typeof _0x5e0bff[0x1]===_0x1e0994(0x99)&&typeof _0x5e0bff[0x2]===_0x1e0994(0x99)&&(_0x41b94c=new webgpu.Euler(_0x5e0bff[0x0],_0x5e0bff[0x1],_0x5e0bff[0x2]));if(!_0x41b94c)return;this['obj'][_0x1e0994(0x91)]['copy'](_0x41b94c),this[_0x1e0994(0xb0)][_0x1e0994(0xf8)](),this[_0x1e0994(0xb0)][_0x1e0994(0xa6)](!![]),this[_0x1e0994(0xc0)]&&this[_0x1e0994(0xc0)]['viewport'][_0x1e0994(0xf1)]();}[_0x5a0ac2(0xa3)](){const _0x438761=_0x5a0ac2;if(!this[_0x438761(0xb0)])throw Error('threeObject\x20is\x20invalid');if(this['obj'][_0x438761(0xe1)])return this[_0x438761(0xb0)][_0x438761(0xa4)][_0x438761(0xa8)]();else {const _0x2b64a4=new webgpu.Vector3(),_0x4f0a43=new webgpu.Quaternion(),_0x165e57=new webgpu.Vector3();return this[_0x438761(0xb0)][_0x438761(0xd3)]['decompose'](_0x2b64a4,_0x4f0a43,_0x165e57),_0x4f0a43;}}['setQuaternion'](..._0x3b479d){const _0x284136=_0x5a0ac2;var _0x45b11f;if(!this[_0x284136(0xb0)])throw Error(_0x284136(0xd1));let _0x36bcab=null;if((_0x45b11f=_0x3b479d[0x0])===null||_0x45b11f===void 0?void 0:_0x45b11f['isQuaternion']){const _0xce7ada=_0x3b479d[0x0];_0x36bcab=new webgpu.Quaternion(_0xce7ada['x'],_0xce7ada['y'],_0xce7ada['z'],_0xce7ada['w']);}else typeof _0x3b479d[0x0]===_0x284136(0x99)&&typeof _0x3b479d[0x1]==='number'&&typeof _0x3b479d[0x2]===_0x284136(0x99)&&typeof _0x3b479d[0x3]==='number'&&(_0x36bcab=new webgpu.Quaternion(_0x3b479d[0x0],_0x3b479d[0x1],_0x3b479d[0x2],_0x3b479d[0x3]));if(!_0x36bcab){console['error']('setQuaternion\x20failed,param\x20is\x20invalid',_0x3b479d);return;}this[_0x284136(0xb0)]['quaternion']['copy'](_0x36bcab);if(!this[_0x284136(0xb0)][_0x284136(0xe1)]){const _0x413adf=new webgpu.Vector3(),_0x243089=new webgpu.Quaternion(),_0x1103d3=new webgpu.Vector3();this[_0x284136(0xb0)][_0x284136(0xd3)]['decompose'](_0x413adf,_0x243089,_0x1103d3),this['obj'][_0x284136(0xd3)][_0x284136(0xc2)](_0x413adf,_0x36bcab,_0x1103d3);}this[_0x284136(0xc0)]&&this[_0x284136(0xc0)][_0x284136(0xc3)]['markRenderStateDirty'](),this[_0x284136(0xb0)]['updateMatrix'](),this[_0x284136(0xb0)][_0x284136(0xa6)](!![]);}[_0x5a0ac2(0xf0)](){const _0x1954b7=_0x5a0ac2;if(!this[_0x1954b7(0xb0)])throw Error(_0x1954b7(0xd1));if(this[_0x1954b7(0xb0)][_0x1954b7(0xe1)])return this['obj'][_0x1954b7(0x96)][_0x1954b7(0xa8)]();else {const _0x192485=new webgpu.Vector3(),_0x221b04=new webgpu.Quaternion(),_0xc5302a=new webgpu.Vector3();return this['obj'][_0x1954b7(0xd3)][_0x1954b7(0xe3)](_0x192485,_0x221b04,_0xc5302a),_0xc5302a;}}[_0x5a0ac2(0xbe)](..._0x2df6f3){const _0x29a14b=_0x5a0ac2;var _0x50c67c;if(!this[_0x29a14b(0xb0)])throw Error(_0x29a14b(0xd1));let _0x2c4170=null;if((_0x50c67c=_0x2df6f3[0x0])===null||_0x50c67c===void 0?void 0:_0x50c67c['isVector3']){const _0x2871a5=_0x2df6f3[0x0];_0x2c4170=new webgpu.Vector3(_0x2871a5['x'],_0x2871a5['y'],_0x2871a5['z']);}else typeof _0x2df6f3[0x0]===_0x29a14b(0x99)&&typeof _0x2df6f3[0x1]===_0x29a14b(0x99)&&typeof _0x2df6f3[0x2]==='number'&&(_0x2c4170=new webgpu.Vector3(_0x2df6f3[0x0],_0x2df6f3[0x1],_0x2df6f3[0x2]));if(!_0x2c4170)return;this[_0x29a14b(0xb0)][_0x29a14b(0x96)][_0x29a14b(0xe0)](_0x2c4170),this[_0x29a14b(0xb0)][_0x29a14b(0xf8)](),this[_0x29a14b(0xb0)][_0x29a14b(0xa6)](!![]),this['world']&&this[_0x29a14b(0xc0)]['viewport'][_0x29a14b(0xf1)]();}[_0x5a0ac2(0x9d)](){const _0xb89e4e=_0x5a0ac2;if(!this[_0xb89e4e(0xb0)])throw Error('threeObject\x20is\x20invalid');return this['obj'][_0xb89e4e(0xd3)];}[_0x5a0ac2(0xea)](_0x136af3){const _0x5e2481=_0x5a0ac2;var _0x4bc8f3;if(!this[_0x5e2481(0xb0)])throw Error(_0x5e2481(0xd1));_0x136af3[_0x5e2481(0xe3)](this['obj'][_0x5e2481(0x9b)],this[_0x5e2481(0xb0)][_0x5e2481(0xa4)],this[_0x5e2481(0xb0)][_0x5e2481(0x96)]),this[_0x5e2481(0xb0)]['updateMatrix'](),this[_0x5e2481(0xb0)][_0x5e2481(0xa6)](!![]),(_0x4bc8f3=this[_0x5e2481(0xc0)])===null||_0x4bc8f3===void 0?void 0:_0x4bc8f3['viewport']['markRenderStateDirty']();}[_0x5a0ac2(0xee)](){const _0x8a3cea=_0x5a0ac2;if(!this[_0x8a3cea(0xb0)])throw Error(_0x8a3cea(0xd1));let _0x27667d=new webgpu.Vector3();return this[_0x8a3cea(0xb0)][_0x8a3cea(0xee)](_0x27667d),_0x27667d;}[_0x5a0ac2(0x9e)](){const _0x266259=_0x5a0ac2;if(!this[_0x266259(0xb0)])throw Error('threeObject\x20is\x20invalid');let _0xa78d19=new webgpu.Quaternion();return this[_0x266259(0xb0)]['getWorldQuaternion'](_0xa78d19),new webgpu.Euler()['setFromQuaternion'](_0xa78d19);}[_0x5a0ac2(0xf2)](){const _0x10e4a3=_0x5a0ac2;if(!this[_0x10e4a3(0xb0)])throw Error(_0x10e4a3(0xd1));let _0x3ad485=new webgpu.Quaternion();return this[_0x10e4a3(0xb0)]['getWorldQuaternion'](_0x3ad485),_0x3ad485;}[_0x5a0ac2(0xfa)](){const _0x198dd3=_0x5a0ac2;if(!this['obj'])throw Error(_0x198dd3(0xd1));let _0x286544=new webgpu.Vector3();return this[_0x198dd3(0xb0)][_0x198dd3(0xfa)](_0x286544),_0x286544;}[_0x5a0ac2(0xe6)](){const _0x424674=_0x5a0ac2;if(!this[_0x424674(0xb0)])throw Error(_0x424674(0xd1));return this['obj'][_0x424674(0xa6)](!![]),this[_0x424674(0xb0)][_0x424674(0xde)]['clone']();}[_0x5a0ac2(0xac)](_0x406bfb){const _0x13c67b=_0x5a0ac2;if(!this[_0x13c67b(0xb0)])throw Error(_0x13c67b(0xd1));if(this[_0x13c67b(0xb0)][_0x13c67b(0x93)]){this[_0x13c67b(0xb0)][_0x13c67b(0x93)][_0x13c67b(0xa6)](!![]);const _0x2d8c49=this['obj']['parent']['matrixWorld'][_0x13c67b(0xa8)]()['invert'](),_0x4c2c82=new webgpu.Matrix4()[_0x13c67b(0xd5)](_0x2d8c49,_0x406bfb);this[_0x13c67b(0xea)](_0x4c2c82);}else this[_0x13c67b(0xea)](_0x406bfb);this[_0x13c67b(0xb0)]['updateMatrixWorld'](!![]),this[_0x13c67b(0xc0)]&&this[_0x13c67b(0xc0)][_0x13c67b(0xc3)][_0x13c67b(0xf1)]();}[_0x5a0ac2(0xc1)](){const _0xb3746f=_0x5a0ac2;if(!this[_0xb3746f(0xb0)])throw Error('threeObject\x20is\x20invalid');let _0x71153a=new webgpu.Vector3();return this[_0xb3746f(0xb0)][_0xb3746f(0x9a)](_0x71153a),_0x71153a;}[_0x5a0ac2(0xaf)](){const _0x565074=_0x5a0ac2;if(!this[_0x565074(0xb0)])throw Error(_0x565074(0xd1));let _0x17c6ed=new webgpu.Vector3(0x0,0x1,0x0);return _0x17c6ed['applyQuaternion'](this[_0x565074(0xf2)]()),_0x17c6ed;}['getWorldRightDirection'](){const _0x2a05f9=_0x5a0ac2;if(!this['obj'])throw Error(_0x2a05f9(0xd1));let _0x2d841b=new webgpu.Vector3(0x1,0x0,0x0);return _0x2d841b['applyQuaternion'](this[_0x2a05f9(0xf2)]()),_0x2d841b;}[_0x5a0ac2(0xd7)](_0x206c51){const _0x2f5d25=_0x5a0ac2;if(!this[_0x2f5d25(0xb0)])throw Error(_0x2f5d25(0xd1));return this['obj'][_0x2f5d25(0xd7)](_0x206c51);}['localToWorld'](_0x2f9f61){const _0x2adfcd=_0x5a0ac2;if(!this[_0x2adfcd(0xb0)])throw Error(_0x2adfcd(0xd1));return this[_0x2adfcd(0xb0)][_0x2adfcd(0xb8)](_0x2f9f61);}[_0x5a0ac2(0xba)](_0x539e3d){const _0x4af272=_0x5a0ac2;if(!this[_0x4af272(0xb0)])throw Error(_0x4af272(0xd1));if(!_0x539e3d[_0x4af272(0xbc)])throw Error('newComponent\x20threeObject\x20is\x20invalid');this[_0x4af272(0xb0)][_0x4af272(0x8f)](_0x539e3d[_0x4af272(0xbc)]),this[_0x4af272(0xc0)]&&_0x539e3d['onAddedToWorld'](this['world']);}[_0x5a0ac2(0xec)](_0x10c14e){const _0x2744a2=_0x5a0ac2;if(!this['obj'])throw Error(_0x2744a2(0xd1));if(!_0x10c14e[_0x2744a2(0xbc)])throw Error(_0x2744a2(0xeb));this[_0x2744a2(0xb0)]['remove'](_0x10c14e[_0x2744a2(0xbc)]);}[_0x5a0ac2(0xa1)](_0x4f4698,_0x3f9632=exports.AttachmentRules[_0x5a0ac2(0xf6)]){const _0x37e5df=_0x5a0ac2;if(!this[_0x37e5df(0xb0)])throw Error(_0x37e5df(0xd1));if(!_0x4f4698[_0x37e5df(0xbc)])throw Error(_0x37e5df(0xc8));_0x4f4698[_0x37e5df(0xda)]=this[_0x37e5df(0xda)];if(_0x3f9632===exports.AttachmentRules['KeepWorld']){let _0x1efddf=_0x4f4698[_0x37e5df(0xe6)]();this[_0x37e5df(0xb0)][_0x37e5df(0x8f)](_0x4f4698[_0x37e5df(0xbc)]),_0x4f4698[_0x37e5df(0xac)](_0x1efddf);}else this[_0x37e5df(0xb0)]['add'](_0x4f4698[_0x37e5df(0xbc)]);this[_0x37e5df(0xc0)]&&_0x4f4698['onAddedToWorld'](this[_0x37e5df(0xc0)]),this[_0x37e5df(0xb0)][_0x37e5df(0xf8)](),this['obj'][_0x37e5df(0xa6)](!![]);}[_0x5a0ac2(0xb2)](_0x15ddb7){const _0x559ea4=_0x5a0ac2;if(!this[_0x559ea4(0xb0)])throw Error(_0x559ea4(0xd1));if(!_0x15ddb7[_0x559ea4(0xbc)])throw Error(_0x559ea4(0xf9));this[_0x559ea4(0xb0)][_0x559ea4(0xab)](_0x15ddb7[_0x559ea4(0xbc)]);}['detachFromParentComponent'](){const _0x2618a9=_0x5a0ac2;this['parentComponent']&&this[_0x2618a9(0xcb)][_0x2618a9(0xb2)](this);}[_0x5a0ac2(0xd0)](){const _0x212fd0=_0x5a0ac2;this[_0x212fd0(0xda)]&&(this[_0x212fd0(0xda)]=null);}['destroyChildren'](){const _0x4e24c3=_0x5a0ac2;var _0x43c44d;if(!this[_0x4e24c3(0xb0)])return;let _0x271cda=[];for(let _0x5a1a52=0x0;_0x5a1a52<this['obj']['children'][_0x4e24c3(0xd4)];++_0x5a1a52){let _0x1ea6ac=(_0x43c44d=this['obj']['children'][_0x5a1a52]['userData'])===null||_0x43c44d===void 0?void 0:_0x43c44d[_0x4e24c3(0xe8)];_0x1ea6ac&&_0x271cda[_0x4e24c3(0xf3)](_0x1ea6ac);}_0x271cda[_0x4e24c3(0xbd)](_0xe40a52=>{const _0x2578a0=_0x4e24c3;_0xe40a52[_0x2578a0(0xc6)]();}),_0x271cda=[];}set['isHoverEnabled'](_0x1b4087){const _0xea373d=_0x5a0ac2;this[_0xea373d(0xd6)]=_0x1b4087;let _0x46054c=this[_0xea373d(0x98)];for(let _0x2fcb38=0x0;_0x2fcb38<_0x46054c[_0xea373d(0xd4)];++_0x2fcb38){_0x46054c[_0x2fcb38][_0xea373d(0x92)]=this[_0xea373d(0xd6)];}}get['isHoverEnabled'](){const _0x4cf345=_0x5a0ac2;return this[_0x4cf345(0xd6)];}set[_0x5a0ac2(0xe9)](_0x45e101){const _0x2308aa=_0x5a0ac2;this[_0x2308aa(0xcc)]=_0x45e101;let _0x47bd78=this[_0x2308aa(0x98)];for(let _0x56a839=0x0;_0x56a839<_0x47bd78[_0x2308aa(0xd4)];++_0x56a839){_0x47bd78[_0x56a839]['isClickEnabled']=this[_0x2308aa(0xcc)];}}get[_0x5a0ac2(0xe9)](){return this['bCanClick'];}['onHorveringBegin'](){const _0x1b8c49=_0x5a0ac2;this[_0x1b8c49(0xbf)][_0x1b8c49(0xcd)]();}[_0x5a0ac2(0xf7)](){const _0x339c48=_0x5a0ac2;this[_0x339c48(0xa2)]['broadcast']();}[_0x5a0ac2(0xdf)](){const _0x40c132=_0x5a0ac2;this['_onClickDelegate'][_0x40c132(0xcd)]();}[_0x5a0ac2(0xe5)](){const _0x4468c9=_0x5a0ac2;this[_0x4468c9(0xa5)]['broadcast']();}}
|
|
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();}
|
|
31
31
|
|
|
32
|
-
const
|
|
32
|
+
const _0x4aef0e=_0x97ea;function _0x97ea(_0x5969c9,_0x58e500){_0x5969c9=_0x5969c9-0x71;const _0x4dc20f=_0x4dc2();let _0x97ea0e=_0x4dc20f[_0x5969c9];return _0x97ea0e;}(function(_0x1f1947,_0x43a5d2){const _0x1089a1=_0x97ea,_0x4b89fd=_0x1f1947();while(!![]){try{const _0x44a2b8=-parseInt(_0x1089a1(0x95))/0x1+-parseInt(_0x1089a1(0x73))/0x2+-parseInt(_0x1089a1(0x82))/0x3+-parseInt(_0x1089a1(0x92))/0x4*(parseInt(_0x1089a1(0x86))/0x5)+parseInt(_0x1089a1(0x81))/0x6+parseInt(_0x1089a1(0x7a))/0x7+parseInt(_0x1089a1(0x7c))/0x8;if(_0x44a2b8===_0x43a5d2)break;else _0x4b89fd['push'](_0x4b89fd['shift']());}catch(_0x107c16){_0x4b89fd['push'](_0x4b89fd['shift']());}}}(_0x4dc2,0xe7464));class MeshComponent extends SceneComponent{get['threeObject'](){const _0x29334c=_0x97ea;if(!this[_0x29334c(0x83)])throw new Error(_0x29334c(0x8d));return this[_0x29334c(0x83)];}set[_0x4aef0e(0x7f)](_0x2a801d){const _0x45643d=_0x4aef0e;this[_0x45643d(0x83)]=_0x2a801d,this[_0x45643d(0x83)]&&(this[_0x45643d(0x83)]['userData'][_0x45643d(0x8a)]=this);}get[_0x4aef0e(0x94)](){const _0x335700=_0x4aef0e;if(!this[_0x335700(0x7b)])throw new Error(_0x335700(0x97));return this['_geometryPtr'][_0x335700(0x74)]();}set[_0x4aef0e(0x94)](_0x4b752c){const _0x1a1180=_0x4aef0e;let _0x38c736=this[_0x1a1180(0x88)][_0x1a1180(0x7e)]['addGeometryAsset'](_0x4b752c);this[_0x1a1180(0x8b)]=_0x38c736;}get[_0x4aef0e(0x8b)](){const _0x2ddafb=_0x4aef0e;if(!this['_geometryPtr'])throw new Error(_0x2ddafb(0x97));return this[_0x2ddafb(0x7b)];}set[_0x4aef0e(0x8b)](_0x242536){const _0x351948=_0x4aef0e;this[_0x351948(0x7b)]&&(this[_0x351948(0x7b)][_0x351948(0x93)](),this[_0x351948(0x7b)]=null);this[_0x351948(0x7b)]=_0x242536;let _0x340824=_0x242536[_0x351948(0x74)]();this['threeObject']&&_0x340824&&(this[_0x351948(0x7f)]['geometry']=_0x340824);}get['material'](){const _0x379af0=_0x4aef0e;let _0x1b359f=[];return this[_0x379af0(0x90)]['forEach'](_0x5e862b=>{const _0x3224fe=_0x379af0;let _0x10bef1=_0x5e862b[_0x3224fe(0x74)]();if(_0x10bef1)_0x1b359f[_0x3224fe(0x96)](_0x10bef1);}),_0x1b359f[_0x379af0(0x8c)]>0x1?_0x1b359f:_0x1b359f[0x0];}get[_0x4aef0e(0x99)](){return this['materialPtr'];}set[_0x4aef0e(0x75)](_0x440a30){const _0x4efd25=_0x4aef0e;let _0x18aa20=Array[_0x4efd25(0x85)](_0x440a30)?_0x440a30:[_0x440a30],_0x20acea=[];_0x18aa20[_0x4efd25(0x78)](_0x24df44=>{const _0x526e41=_0x4efd25;let _0x2ff446=this[_0x526e41(0x88)][_0x526e41(0x7e)][_0x526e41(0x91)](_0x24df44);if(_0x2ff446)_0x20acea[_0x526e41(0x96)](_0x2ff446);}),this[_0x4efd25(0x99)]=_0x20acea;}set['materialPtr'](_0x544436){const _0x205452=_0x4aef0e;this[_0x205452(0x90)]&&(this['_materialPtr'][_0x205452(0x78)](_0x5d4d9e=>{const _0x1a30af=_0x205452;_0x5d4d9e[_0x1a30af(0x93)]();}),this[_0x205452(0x90)]=[]);let _0x288d4c=Array[_0x205452(0x85)](_0x544436)?_0x544436:[_0x544436],_0x5ad968=[];_0x288d4c[_0x205452(0x78)](_0x226064=>{const _0x5da8aa=_0x205452;let _0x6158b6=_0x226064[_0x5da8aa(0x74)]();if(_0x6158b6)_0x5ad968['push'](_0x6158b6);_0x226064[_0x5da8aa(0x76)]();});if(this[_0x205452(0x7f)]){if(_0x5ad968['length']>0x0)this[_0x205452(0x7f)][_0x205452(0x75)]=Array['isArray'](_0x544436)?_0x5ad968[0x0]:_0x5ad968;}this[_0x205452(0x90)]=_0x288d4c;}constructor(_0x49e283,_0x5a4ee6,_0x3b915d,_0x5b09f6){const _0x572bf7=_0x4aef0e;let _0x1fef2c=[],_0x202431=Array[_0x572bf7(0x85)](_0x3b915d)?_0x3b915d:[_0x3b915d];_0x202431[_0x572bf7(0x78)](_0x2d3542=>{const _0x4de36d=_0x572bf7;let _0x524422=_0x49e283[_0x4de36d(0x7e)]['addMaterialAsset'](_0x2d3542);if(_0x524422)_0x1fef2c[_0x4de36d(0x96)](_0x524422);}),super(_0x49e283,_0x5b09f6),this[_0x572bf7(0x7b)]=_0x49e283[_0x572bf7(0x7e)][_0x572bf7(0x72)](_0x5a4ee6),this[_0x572bf7(0x90)]=_0x1fef2c,_0x1fef2c['forEach'](_0x14c4d4=>{const _0x19e3aa=_0x572bf7;_0x14c4d4[_0x19e3aa(0x76)]();}),this[_0x572bf7(0x7f)][_0x572bf7(0x75)]=_0x3b915d,this['threeObject'][_0x572bf7(0x94)]=_0x5a4ee6,this[_0x572bf7(0x8e)]=!![],this[_0x572bf7(0x89)]=!![];}[_0x4aef0e(0x84)](){return new webgpu.Mesh();}set[_0x4aef0e(0x8e)](_0x314af0){const _0x116a9e=_0x4aef0e;if(this['threeObject'])this[_0x116a9e(0x7f)][_0x116a9e(0x8e)]=_0x314af0;}get[_0x4aef0e(0x8e)](){const _0xf94edf=_0x4aef0e;return this['threeObject']?this[_0xf94edf(0x7f)]['castShadow']:![];}set['receiveShadow'](_0x248e29){const _0x2d3974=_0x4aef0e;if(!this[_0x2d3974(0x7f)])return;this[_0x2d3974(0x7f)][_0x2d3974(0x89)]=_0x248e29;}get['receiveShadow'](){const _0x5d1462=_0x4aef0e;return this['threeObject']?this[_0x5d1462(0x7f)][_0x5d1462(0x89)]:![];}[_0x4aef0e(0x80)](){const _0x2fc06d=_0x4aef0e;let _0x1c4e69=new webgpu.Vector3();return this[_0x2fc06d(0x7d)]()[_0x2fc06d(0x98)](_0x1c4e69),_0x1c4e69;}['getBoundsTopCenterPosition'](){const _0x51c414=_0x4aef0e;let _0xb0c522=new webgpu.Vector3(),_0x4df933=this[_0x51c414(0x7d)]();return _0x4df933[_0x51c414(0x98)](_0xb0c522),_0xb0c522['y']=_0x4df933[_0x51c414(0x71)]['y'],_0xb0c522;}[_0x4aef0e(0x79)](){const _0x45e8eb=_0x4aef0e;let _0x506504=new webgpu.Vector3(),_0x2c97a2=this['getBounds']();return _0x2c97a2[_0x45e8eb(0x98)](_0x506504),_0x506504['y']=_0x2c97a2[_0x45e8eb(0x87)]['y'],_0x506504;}[_0x4aef0e(0x77)](){const _0x262530=_0x4aef0e;var _0x8128da;this[_0x262530(0x7f)]&&this[_0x262530(0x7f)][_0x262530(0x8f)]();(_0x8128da=this[_0x262530(0x7b)])===null||_0x8128da===void 0?void 0:_0x8128da['release']();let _0x48666f=Array[_0x262530(0x85)](this[_0x262530(0x90)])?this[_0x262530(0x90)]:[this[_0x262530(0x90)]];_0x48666f[_0x262530(0x78)](_0x377d35=>{const _0x205684=_0x262530;_0x377d35[_0x205684(0x93)]();}),super[_0x262530(0x77)]();}}function _0x4dc2(){const _0x3e035f=['1174933SdLAZr','push','geometryPtr\x20is\x20null','getCenter','materialPtr','max','addGeometryAsset','3254492iSqQEW','getValue','material','addRef','destroyObject','forEach','getBoundsBottomCenterPosition','9008867qBfYwz','_geometryPtr','24552024tMKAAe','getBounds','assetManager','threeObject','getBoundsCenterPosition','5964900wYgfXY','1949778cPIcWA','obj','createDefaultObject','isArray','65WDQjZV','min','app','receiveShadow','LYObject','geometryPtr','length','threeObject\x20is\x20null','castShadow','removeFromParent','_materialPtr','addMaterialAsset','292532ENVRkM','release','geometry'];_0x4dc2=function(){return _0x3e035f;};return _0x4dc2();}
|
|
33
33
|
|
|
34
|
-
const
|
|
34
|
+
const _0x34d6f1=_0x4fa5;(function(_0x55d373,_0x56ed71){const _0x30e17e=_0x4fa5,_0x1fa553=_0x55d373();while(!![]){try{const _0x1bf5ec=-parseInt(_0x30e17e(0x1cd))/0x1*(parseInt(_0x30e17e(0x1d1))/0x2)+parseInt(_0x30e17e(0x1d9))/0x3+-parseInt(_0x30e17e(0x1e6))/0x4+parseInt(_0x30e17e(0x1e8))/0x5*(-parseInt(_0x30e17e(0x1d5))/0x6)+-parseInt(_0x30e17e(0x1c7))/0x7+parseInt(_0x30e17e(0x1c6))/0x8+parseInt(_0x30e17e(0x1e9))/0x9*(parseInt(_0x30e17e(0x1d4))/0xa);if(_0x1bf5ec===_0x56ed71)break;else _0x1fa553['push'](_0x1fa553['shift']());}catch(_0x3b8a60){_0x1fa553['push'](_0x1fa553['shift']());}}}(_0x2dcf,0x68974));function _0x2dcf(){const _0x5ad237=['userData','material','215BKvaLZ','dispose','LYObject','forEach','1418wVUkJt','min','addMaterialAsset','508310gJBDEy','2049150qaJWiZ','geometry','threeObject','updateMatrices','787893wvnbSn','addRef','push','release','length','getMatrixAt','count','receiveShadow','removeFromParent','_geometryPtr','castShadow','setMatrixAt','obj','2924576umsahF','_materialPtr','5lKiVNw','351qgClRQ','destroyObject','1622608JYnJnj','5560506FkbWir','assetManager','isArray','instanceMatrix'];_0x2dcf=function(){return _0x5ad237;};return _0x2dcf();}function _0x4fa5(_0x5ad11c,_0x4c16e8){_0x5ad11c=_0x5ad11c-0x1c5;const _0x2dcf33=_0x2dcf();let _0x4fa51c=_0x2dcf33[_0x5ad11c];return _0x4fa51c;}class InstanceMeshComponent extends SceneComponent{get[_0x34d6f1(0x1d7)](){const _0x29997b=_0x34d6f1;if(!this['obj'])throw new Error('InstanceMeshComponent:\x20threeObject\x20is\x20null');return this[_0x29997b(0x1e5)];}set[_0x34d6f1(0x1d7)](_0x4e502f){const _0x371e80=_0x34d6f1;this[_0x371e80(0x1e5)]=_0x4e502f,this['obj']&&(this[_0x371e80(0x1e5)][_0x371e80(0x1cb)][_0x371e80(0x1cf)]=this);}get[_0x34d6f1(0x1d6)](){const _0x25cd1b=_0x34d6f1;var _0xcad9fe,_0x54a1d;return (_0x54a1d=(_0xcad9fe=this[_0x25cd1b(0x1e2)])===null||_0xcad9fe===void 0?void 0:_0xcad9fe['getValue']())!==null&&_0x54a1d!==void 0?_0x54a1d:null;}get[_0x34d6f1(0x1cc)](){const _0x312c90=_0x34d6f1,_0x1d0d3d=[];return this[_0x312c90(0x1e7)][_0x312c90(0x1d0)](_0x4b22ad=>{const _0x3b0252=_0x312c90,_0x3a4705=_0x4b22ad['getValue']();if(_0x3a4705)_0x1d0d3d[_0x3b0252(0x1db)](_0x3a4705);}),_0x1d0d3d[_0x312c90(0x1dd)]>0x1?_0x1d0d3d:_0x1d0d3d[0x0];}get['count'](){const _0x3e0e92=_0x34d6f1;return this[_0x3e0e92(0x1d7)][_0x3e0e92(0x1df)];}set[_0x34d6f1(0x1df)](_0x4e8a1d){const _0x176d5c=_0x34d6f1;this[_0x176d5c(0x1d7)]['count']=_0x4e8a1d;}set[_0x34d6f1(0x1e3)](_0x24b3a4){const _0x56b16e=_0x34d6f1;if(this['threeObject'])this['threeObject'][_0x56b16e(0x1e3)]=_0x24b3a4;}get[_0x34d6f1(0x1e3)](){const _0x474bab=_0x34d6f1;return this[_0x474bab(0x1d7)]?this['threeObject'][_0x474bab(0x1e3)]:![];}set['receiveShadow'](_0x272a0f){const _0x7c866f=_0x34d6f1;if(!this['threeObject'])return;this[_0x7c866f(0x1d7)][_0x7c866f(0x1e0)]=_0x272a0f;}get[_0x34d6f1(0x1e0)](){const _0x5ea0ef=_0x34d6f1;return this[_0x5ea0ef(0x1d7)]?this['threeObject'][_0x5ea0ef(0x1e0)]:![];}constructor(_0x5b584d,_0x5ca459,_0x1f91eb){const _0x5b5eeb=_0x34d6f1;super(_0x5b584d,_0x1f91eb),this[_0x5b5eeb(0x1e2)]=null,this['_materialPtr']=[];_0x5ca459[_0x5b5eeb(0x1d6)]&&(this['_geometryPtr']=_0x5b584d['assetManager']['addGeometryAsset'](_0x5ca459[_0x5b5eeb(0x1d6)]));const _0x1fefbf=Array[_0x5b5eeb(0x1c9)](_0x5ca459[_0x5b5eeb(0x1cc)])?_0x5ca459[_0x5b5eeb(0x1cc)]:[_0x5ca459[_0x5b5eeb(0x1cc)]];_0x1fefbf['forEach'](_0x3f062e=>{const _0x252e1c=_0x5b5eeb,_0x1c0190=_0x5b584d[_0x252e1c(0x1c8)][_0x252e1c(0x1d3)](_0x3f062e);_0x1c0190&&(_0x1c0190[_0x252e1c(0x1da)](),this['_materialPtr'][_0x252e1c(0x1db)](_0x1c0190));}),this[_0x5b5eeb(0x1d7)]=_0x5ca459,this[_0x5b5eeb(0x1e3)]=!![],this[_0x5b5eeb(0x1e0)]=!![];}['createDefaultObject'](){return new webgpu.InstancedMesh(undefined,undefined,0x0);}['getMatrixAt'](_0x2d57ad,_0x1bf412){const _0x3e259d=_0x34d6f1;this[_0x3e259d(0x1d7)][_0x3e259d(0x1de)](_0x2d57ad,_0x1bf412);}[_0x34d6f1(0x1e4)](_0x516f5d,_0x4db40c){const _0x2b35c4=_0x34d6f1;this[_0x2b35c4(0x1d7)][_0x2b35c4(0x1e4)](_0x516f5d,_0x4db40c),this[_0x2b35c4(0x1d7)][_0x2b35c4(0x1ca)]['needsUpdate']=!![];}[_0x34d6f1(0x1d8)](_0x1a7575){const _0x3b96ae=_0x34d6f1,_0x5444eb=Math[_0x3b96ae(0x1d2)](_0x1a7575[_0x3b96ae(0x1dd)],this['threeObject'][_0x3b96ae(0x1df)]);for(let _0x19a4f0=0x0;_0x19a4f0<_0x5444eb;_0x19a4f0++){this[_0x3b96ae(0x1d7)][_0x3b96ae(0x1e4)](_0x19a4f0,_0x1a7575[_0x19a4f0]);}this[_0x3b96ae(0x1d7)][_0x3b96ae(0x1ca)]['needsUpdate']=!![];}[_0x34d6f1(0x1c5)](){const _0x4bfdcf=_0x34d6f1;var _0x12a02a;this['threeObject']&&(this[_0x4bfdcf(0x1d7)][_0x4bfdcf(0x1e1)](),this[_0x4bfdcf(0x1d7)][_0x4bfdcf(0x1ce)]()),(_0x12a02a=this['_geometryPtr'])===null||_0x12a02a===void 0?void 0:_0x12a02a['release'](),this['_geometryPtr']=null,this['_materialPtr'][_0x4bfdcf(0x1d0)](_0x8caea6=>{const _0x366a79=_0x4bfdcf;_0x8caea6[_0x366a79(0x1dc)]();}),this[_0x4bfdcf(0x1e7)]=[],super['destroyObject']();}}
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
function _0xb25f(_0x3b1111,_0xa17bf1){_0x3b1111=_0x3b1111-0xdb;var _0x1d6fe8=_0x1d6f();var _0xb25f25=_0x1d6fe8[_0x3b1111];return _0xb25f25;}function _0x1d6f(){var _0x2d0496=['3EGZlVI','2178652rvJVXc','171038RXYwvm','140DIBhbK','1343310lYrWam','6814930tqpOiy','referenceCount','9LsUQrH','28738MlhZIr','getRefCount','value','forceRelease','29574stOund','release','isValid','getValue','4340344aNEwCu','dispose','addRef'];_0x1d6f=function(){return _0x2d0496;};return _0x1d6f();}var _0x13db26=_0xb25f;(function(_0x441dcd,_0xdb7585){var _0x400f94=_0xb25f,_0xe59b45=_0x441dcd();while(!![]){try{var _0x247182=-parseInt(_0x400f94(0xe2))/0x1+parseInt(_0x400f94(0xe8))/0x2*(-parseInt(_0x400f94(0xe0))/0x3)+parseInt(_0x400f94(0xe1))/0x4+-parseInt(_0x400f94(0xe4))/0x5+parseInt(_0x400f94(0xec))/0x6*(parseInt(_0x400f94(0xe3))/0x7)+-parseInt(_0x400f94(0xdd))/0x8*(parseInt(_0x400f94(0xe7))/0x9)+parseInt(_0x400f94(0xe5))/0xa;if(_0x247182===_0xdb7585)break;else _0xe59b45['push'](_0xe59b45['shift']());}catch(_0x161348){_0xe59b45['push'](_0xe59b45['shift']());}}}(_0x1d6f,0x501bc));class TSmartPointer{constructor(_0xea270b,_0x5261b2=0x1){var _0x620b7=_0xb25f;this[_0x620b7(0xe6)]=0x1,this['value']=null,this[_0x620b7(0xea)]=_0xea270b,this[_0x620b7(0xe6)]=_0x5261b2;}[_0x13db26(0xe9)](){var _0x2159f5=_0x13db26;return this[_0x2159f5(0xe6)];}[_0x13db26(0xdb)](){var _0x1b225e=_0x13db26;return this[_0x1b225e(0xea)]!==null;}[_0x13db26(0xdf)](_0x45518e=0x1){var _0x4566e0=_0x13db26;this[_0x4566e0(0xea)]!==null&&(this[_0x4566e0(0xe6)]+=_0x45518e);}[_0x13db26(0xed)](){var _0x36f3b7=_0x13db26;this['value']!==null&&this['referenceCount']>0x0&&(this['referenceCount']--,this[_0x36f3b7(0xe6)]===0x0&&this['dispose']());}[_0x13db26(0xeb)](){var _0x1fe099=_0x13db26;this['value']!==null&&(this[_0x1fe099(0xde)](),this[_0x1fe099(0xe6)]=0x0);}[_0x13db26(0xde)](){var _0x23a1c8=_0x13db26;this[_0x23a1c8(0xea)]=null;}[_0x13db26(0xdc)](){var _0x10a05b=_0x13db26;return this[_0x10a05b(0xea)];}}
|
|
37
37
|
|
|
38
|
-
const
|
|
38
|
+
const _0x44d3cc=_0x3d95;(function(_0x49b457,_0x5105c4){const _0x431ccf=_0x3d95,_0x3fc254=_0x49b457();while(!![]){try{const _0x9e57ef=parseInt(_0x431ccf(0x1d1))/0x1+parseInt(_0x431ccf(0x1d5))/0x2*(-parseInt(_0x431ccf(0x1ce))/0x3)+parseInt(_0x431ccf(0x1d3))/0x4+parseInt(_0x431ccf(0x1cf))/0x5+-parseInt(_0x431ccf(0x1cd))/0x6*(-parseInt(_0x431ccf(0x1d4))/0x7)+-parseInt(_0x431ccf(0x1d7))/0x8*(parseInt(_0x431ccf(0x1d8))/0x9)+parseInt(_0x431ccf(0x1d2))/0xa*(parseInt(_0x431ccf(0x1c8))/0xb);if(_0x9e57ef===_0x5105c4)break;else _0x3fc254['push'](_0x3fc254['shift']());}catch(_0x4f9a83){_0x3fc254['push'](_0x3fc254['shift']());}}}(_0x3186,0x45ca6));function _0x3d95(_0x489290,_0x1b1792){_0x489290=_0x489290-0x1c7;const _0x3186be=_0x3186();let _0x3d959f=_0x3186be[_0x489290];return _0x3d959f;}const ASSET_POINTER_KEY=_0x44d3cc(0x1cb);const EDITOR_ASSET_ID_KEY='editorAssetId';class TAssetPointer extends TSmartPointer{get['uuid'](){const _0x24930b=_0x44d3cc;return this[_0x24930b(0x1d0)];}constructor(_0x4e403a,_0x17b24b=0x0){const _0x14b83b=_0x44d3cc;super(_0x4e403a,_0x17b24b),this[_0x14b83b(0x1d0)]=_0x4e403a[_0x14b83b(0x1cc)],_0x4e403a[_0x14b83b(0x1ca)][ASSET_POINTER_KEY]=this;}[_0x44d3cc(0x1c7)](){const _0x351c44=_0x44d3cc;this['value']&&(this['value']['userData']&&(delete this[_0x351c44(0x1d6)]['userData'][ASSET_POINTER_KEY],delete this['value'][_0x351c44(0x1ca)][EDITOR_ASSET_ID_KEY]),typeof this[_0x351c44(0x1d6)]['dispose']===_0x351c44(0x1c9)&&this[_0x351c44(0x1d6)][_0x351c44(0x1c7)]()),super[_0x351c44(0x1c7)]();}}function _0x3186(){const _0x271cf2=['132725pJzjyO','339600mbogCe','716448rNTciC','7iNLchl','131682aNWYEP','value','113240wseRNH','207MSnMtz','dispose','33PHXpHl','function','userData','assetPointer','uuid','1069062pRTREA','3ZVuBmX','426870iIBLOL','_uuid'];_0x3186=function(){return _0x271cf2;};return _0x3186();}
|
|
39
39
|
|
|
40
|
-
function
|
|
40
|
+
const _0x31f578=_0x169f;function _0x3b88(){const _0x5f0cde=['addRef','clear','delete','values','set','Texture\x20is\x20null','924357mZsKuE','6uRQdXy','Material\x20is\x20null','12lfwprb','texturePointers','312640fkBnxf','2342715BoZozJ','needsUpdate','4518020SconNI','2136eGGeNh','dispose','release','1881yGjepC','getValue','2719003eagcwK','setTexture','18VRcZOP','textures','get','17078171vqcKIB','removeTexture'];_0x3b88=function(){return _0x5f0cde;};return _0x3b88();}(function(_0x4e8b40,_0x5c6a73){const _0x2a2a3e=_0x169f,_0x5a29e2=_0x4e8b40();while(!![]){try{const _0x14cfde=-parseInt(_0x2a2a3e(0x1ab))/0x1*(parseInt(_0x2a2a3e(0x1af))/0x2)+-parseInt(_0x2a2a3e(0x1aa))/0x3*(parseInt(_0x2a2a3e(0x1ad))/0x4)+parseInt(_0x2a2a3e(0x1b0))/0x5+-parseInt(_0x2a2a3e(0x1ba))/0x6*(-parseInt(_0x2a2a3e(0x1b8))/0x7)+parseInt(_0x2a2a3e(0x1b3))/0x8*(parseInt(_0x2a2a3e(0x1b6))/0x9)+-parseInt(_0x2a2a3e(0x1b2))/0xa+parseInt(_0x2a2a3e(0x1bd))/0xb;if(_0x14cfde===_0x5c6a73)break;else _0x5a29e2['push'](_0x5a29e2['shift']());}catch(_0x217d49){_0x5a29e2['push'](_0x5a29e2['shift']());}}}(_0x3b88,0xe2973));function _0x169f(_0x1a7b88,_0x429069){_0x1a7b88=_0x1a7b88-0x1a5;const _0x3b8866=_0x3b88();let _0x169f59=_0x3b8866[_0x1a7b88];return _0x169f59;}class MaterialAssetPointer extends TAssetPointer{constructor(_0x523ca4,_0x3ee1d1,_0xf3c051=0x0){const _0x600f5=_0x169f;super(_0x523ca4,_0xf3c051),this[_0x600f5(0x1bb)]=_0x3ee1d1;}get[_0x31f578(0x1ae)](){const _0x4e6f45=_0x31f578;return this[_0x4e6f45(0x1bb)];}[_0x31f578(0x1b9)](_0x58a2f9,_0x5e58f9){const _0x490ae1=_0x31f578,_0x3bb63d=this[_0x490ae1(0x1b7)](),_0x49b8af=_0x5e58f9[_0x490ae1(0x1b7)]();if(!_0x49b8af)throw new Error(_0x490ae1(0x1a9));if(!_0x3bb63d)throw new Error(_0x490ae1(0x1ac));const _0xfe101b=this['textures'][_0x490ae1(0x1bc)](_0x58a2f9);_0xfe101b!==_0x5e58f9&&(_0xfe101b&&_0xfe101b['release'](),this[_0x490ae1(0x1bb)][_0x490ae1(0x1a8)](_0x58a2f9,_0x5e58f9),_0x3bb63d[_0x58a2f9]=_0x49b8af,_0x5e58f9[_0x490ae1(0x1bf)](),_0x3bb63d[_0x490ae1(0x1b1)]=!![]);}[_0x31f578(0x1be)](_0x14edfe){const _0x2e3663=_0x31f578,_0x34671b=this[_0x2e3663(0x1b7)](),_0x411543=this[_0x2e3663(0x1bb)]['get'](_0x14edfe);_0x411543&&(_0x411543[_0x2e3663(0x1b5)](),this[_0x2e3663(0x1bb)][_0x2e3663(0x1a6)](_0x14edfe),_0x34671b&&(_0x34671b[_0x14edfe]=null,_0x34671b[_0x2e3663(0x1b1)]=!![]));}['dispose'](){const _0x3a0848=_0x31f578;for(const _0x5d3298 of this[_0x3a0848(0x1bb)][_0x3a0848(0x1a7)]()){_0x5d3298[_0x3a0848(0x1b5)]();}this[_0x3a0848(0x1bb)][_0x3a0848(0x1a5)](),super[_0x3a0848(0x1b4)]();}}
|
|
41
41
|
|
|
42
|
-
(function(
|
|
42
|
+
function _0xaac0(){var _0x1d18f0=['7221vFUlDB','7500696XEeKnJ','8vaFEGz','1784226hCTefY','9829155BpAZCl','34ARqPkC','16386458KPXXWv','7632810ZWuwxA','10TLiQzf','6924249DhkJey','8ODjHhN'];_0xaac0=function(){return _0x1d18f0;};return _0xaac0();}(function(_0x184f4d,_0x176201){var _0x556a59=_0x1fe8,_0x3384a8=_0x184f4d();while(!![]){try{var _0x415296=-parseInt(_0x556a59(0x133))/0x1*(parseInt(_0x556a59(0x138))/0x2)+-parseInt(_0x556a59(0x136))/0x3*(parseInt(_0x556a59(0x132))/0x4)+parseInt(_0x556a59(0x13a))/0x5+parseInt(_0x556a59(0x134))/0x6+-parseInt(_0x556a59(0x137))/0x7+-parseInt(_0x556a59(0x135))/0x8*(parseInt(_0x556a59(0x131))/0x9)+-parseInt(_0x556a59(0x130))/0xa*(-parseInt(_0x556a59(0x139))/0xb);if(_0x415296===_0x176201)break;else _0x3384a8['push'](_0x3384a8['shift']());}catch(_0x5636e9){_0x3384a8['push'](_0x3384a8['shift']());}}}(_0xaac0,0xbe92d));function _0x1fe8(_0x627fe6,_0x4f3bac){_0x627fe6=_0x627fe6-0x130;var _0xaac0b0=_0xaac0();var _0x1fe842=_0xaac0b0[_0x627fe6];return _0x1fe842;}class TextureAssetPointer extends TAssetPointer{constructor(_0x449eeb,_0x2a823c=0x1){super(_0x449eeb,_0x2a823c);}}
|
|
43
43
|
|
|
44
|
-
function
|
|
44
|
+
function _0x33a4(_0x6b456c,_0x5d6f5e){_0x6b456c=_0x6b456c-0xe0;var _0x3fa29d=_0x3fa2();var _0x33a473=_0x3fa29d[_0x6b456c];return _0x33a473;}(function(_0x318774,_0x118b50){var _0x66cde4=_0x33a4,_0x360213=_0x318774();while(!![]){try{var _0x33f0e0=parseInt(_0x66cde4(0xe4))/0x1+-parseInt(_0x66cde4(0xe5))/0x2+-parseInt(_0x66cde4(0xe3))/0x3+parseInt(_0x66cde4(0xe0))/0x4+-parseInt(_0x66cde4(0xe2))/0x5*(-parseInt(_0x66cde4(0xe1))/0x6)+parseInt(_0x66cde4(0xe7))/0x7*(-parseInt(_0x66cde4(0xe8))/0x8)+parseInt(_0x66cde4(0xe6))/0x9;if(_0x33f0e0===_0x118b50)break;else _0x360213['push'](_0x360213['shift']());}catch(_0x19e46b){_0x360213['push'](_0x360213['shift']());}}}(_0x3fa2,0x6036e));function _0x3fa2(){var _0x44b3c7=['436206UeaNjU','25IzsMPR','1184979xvsixy','412607LtVmXG','458110HSrKGM','3205017meWtoQ','1883bMNwdf','14424vwfzgX','1483696ClJaYB'];_0x3fa2=function(){return _0x44b3c7;};return _0x3fa2();}class GeometryAssetPointer extends TAssetPointer{constructor(_0x554ab3,_0x2fbcdb=0x1){super(_0x554ab3,_0x2fbcdb);}}
|
|
45
45
|
|
|
46
|
-
const _0x1df303=_0x31fa;function _0x31fa(_0x4fc62e,_0x26f9d5){_0x4fc62e=_0x4fc62e-0x16e;const _0x28570e=_0x2857();let _0x31fa90=_0x28570e[_0x4fc62e];return _0x31fa90;}(function(_0x3499b4,_0xa3ffb){const _0xd04af1=_0x31fa,_0x33d8f9=_0x3499b4();while(!![]){try{const _0x39a925=parseInt(_0xd04af1(0x1b6))/0x1*(parseInt(_0xd04af1(0x174))/0x2)+-parseInt(_0xd04af1(0x1ac))/0x3+parseInt(_0xd04af1(0x1bd))/0x4+parseInt(_0xd04af1(0x1bc))/0x5*(-parseInt(_0xd04af1(0x1b3))/0x6)+-parseInt(_0xd04af1(0x188))/0x7+-parseInt(_0xd04af1(0x19f))/0x8+parseInt(_0xd04af1(0x1a0))/0x9*(parseInt(_0xd04af1(0x1a2))/0xa);if(_0x39a925===_0xa3ffb)break;else _0x33d8f9['push'](_0x33d8f9['shift']());}catch(_0x2a0ddc){_0x33d8f9['push'](_0x33d8f9['shift']());}}}(_0x2857,0x4910d));function _0x2857(){const _0x2c3fb4=['addGeometryAsset','loadGltfFromPathAsync','forEach','loadingManager','addRef','convertThreeObjectToLYObject','manager','dracoLoader','releaseAsset','882088eVpHEV','513YUlLyP','dispose','233780vPmCCK','get','textureAssets','decoderConfig','addAsset','onProgress','checkMeshResource','geometries','uuid','isMesh','1006146YjJGYn','bind','setDecoderPath','clearAssets','loadGltfFromBuffer','setPosition','set','18RzVMpx','geometry','rotation','1uUZhxP','addMaterialAsset','prototype','clear','addTextureAsset','traverse','396685EFodgb','470596kTkyhM','type','setupDracoLoader','forceRelease','preload','Group','app','160678pBqKfQ','hasOwnProperty','loadFile','name','LoadingManager','object','setDRACOLoader','Object3D','layers','setScale','Worker','parse','_dracoPatched','clone','children','material','loadGltfFromPath','textures','postMessage','assetPointer','3833221GDgOyG','materialAssets','/SceneResource/draco/','scale','isInstancedMesh','userData','geometryAssets','loadAsync','addChildComponent','assign','isArray','load','gltfLoader','entries'];_0x2857=function(){return _0x2c3fb4;};return _0x2857();}class AssetManager{constructor(_0x5a2c9d){const _0x445005=_0x31fa;this[_0x445005(0x18e)]=new Map(),this[_0x445005(0x1a4)]=new Map(),this[_0x445005(0x189)]=new Map(),this['dracoLoader']=null,this['loadingManager']=new webgpu.LoadingManager(),this[_0x445005(0x194)]=new Addons_js.GLTFLoader(this[_0x445005(0x199)]),this[_0x445005(0x173)]=_0x5a2c9d;}get[_0x1df303(0x178)](){return this['loadingManager'];}async['init'](){return;}[_0x1df303(0x16f)](_0x3b0867){const _0x4a11f9=_0x1df303;if(!this[_0x4a11f9(0x19d)]){this[_0x4a11f9(0x19d)]=new Addons_js.DRACOLoader();if(this['dracoLoader'][_0x4a11f9(0x19c)]){const _0x1bc4c5=this[_0x4a11f9(0x19d)][_0x4a11f9(0x19c)];_0x1bc4c5['onStart']=undefined,_0x1bc4c5['onLoad']=undefined,_0x1bc4c5[_0x4a11f9(0x1a7)]=undefined,_0x1bc4c5['onError']=undefined;}this[_0x4a11f9(0x19d)][_0x4a11f9(0x1ae)](_0x3b0867);const _0x4014be=window[_0x4a11f9(0x17e)];if(_0x4014be&&!_0x4014be['_dracoPatched']){_0x4014be[_0x4a11f9(0x180)]=!![],window[_0x4a11f9(0x17e)]=function(_0x32330d,_0x2a67eb){const _0x40540f=_0x4a11f9,_0x5dac99=new _0x4014be(_0x32330d,_0x2a67eb),_0x4a033c=_0x5dac99[_0x40540f(0x186)][_0x40540f(0x1ad)](_0x5dac99);return _0x5dac99[_0x40540f(0x186)]=function(_0x191429,_0x10fd40){const _0xb8a81e=_0x40540f;if(_0x191429&&_0x191429[_0xb8a81e(0x1a5)]&&typeof _0x191429['decoderConfig']===_0xb8a81e(0x179)){const _0x548bef=_0x191429[_0xb8a81e(0x1a5)],_0x2befa2={};for(const _0x597c95 in _0x548bef){Object['prototype'][_0xb8a81e(0x175)]['call'](_0x548bef,_0x597c95)&&(_0x2befa2[_0x597c95]=_0x548bef[_0x597c95]);}_0x191429=Object['assign'](Object[_0xb8a81e(0x191)]({},_0x191429),{'decoderConfig':_0x2befa2});}return _0x4a033c(_0x191429,_0x10fd40);},_0x5dac99;};for(const _0x3e4c6c in _0x4014be){Object[_0x4a11f9(0x1b8)][_0x4a11f9(0x175)]['call'](_0x4014be,_0x3e4c6c)&&(window['Worker'][_0x3e4c6c]=_0x4014be[_0x3e4c6c]);}}this[_0x4a11f9(0x19d)][_0x4a11f9(0x171)](),this[_0x4a11f9(0x194)][_0x4a11f9(0x17a)](this['dracoLoader']);}}['convertThreeObjectToLYObject'](_0x42cde4,_0x2444cf){const _0x1b1cfb=_0x1df303,_0x5b8f26=_0x2444cf['position'][_0x1b1cfb(0x181)](),_0x472af8=_0x2444cf[_0x1b1cfb(0x1b5)][_0x1b1cfb(0x181)](),_0x1927e7=_0x2444cf[_0x1b1cfb(0x18b)][_0x1b1cfb(0x181)]();let _0x513932=null;const _0x25e9a6=_0x2444cf[_0x1b1cfb(0x182)];_0x2444cf[_0x1b1cfb(0x182)]=[];if(_0x2444cf['type']===_0x1b1cfb(0x172)||_0x2444cf[_0x1b1cfb(0x16e)]===_0x1b1cfb(0x17b))_0x513932=new SceneComponent(this[_0x1b1cfb(0x173)],_0x2444cf['uuid']);else {if(_0x2444cf[_0x1b1cfb(0x18c)]){const _0x519eed=_0x2444cf;_0x513932=new InstanceMeshComponent(this['app'],_0x519eed,_0x519eed[_0x1b1cfb(0x1aa)]),_0x513932[_0x1b1cfb(0x177)]=_0x519eed['name'],_0x2444cf[_0x1b1cfb(0x17c)][_0x1b1cfb(0x1b2)](0x0);}else {if(_0x2444cf[_0x1b1cfb(0x1ab)]){const _0x4ea581=_0x2444cf;_0x513932=new MeshComponent(this[_0x1b1cfb(0x173)],_0x4ea581[_0x1b1cfb(0x1b4)],_0x4ea581[_0x1b1cfb(0x183)],_0x4ea581[_0x1b1cfb(0x1aa)]),_0x513932['name']=_0x4ea581['name'],_0x2444cf['layers'][_0x1b1cfb(0x1b2)](0x0);}else _0x513932=new SceneComponent(this[_0x1b1cfb(0x173)],_0x2444cf['uuid']);}}if(_0x513932===null)return _0x2444cf['children']=_0x25e9a6,null;_0x42cde4[_0x1b1cfb(0x190)](_0x513932),_0x513932[_0x1b1cfb(0x1b1)](_0x5b8f26),_0x513932['setRotation'](_0x472af8),_0x513932[_0x1b1cfb(0x17d)](_0x1927e7);for(const _0x45bcff of _0x25e9a6){this[_0x1b1cfb(0x19b)](_0x513932,_0x45bcff);}return _0x513932;}['collectResourcesAndReferences'](_0x39df94){const _0x4715b9=_0x1df303,_0x2bcfe8=(_0x20e136,_0x3e33fc)=>{const _0x1c2340=_0x31fa;var _0x83f1c;const _0x41d0c9=(_0x83f1c=_0x20e136[_0x1c2340(0x1a3)](_0x3e33fc))!==null&&_0x83f1c!==void 0?_0x83f1c:0x0;_0x20e136[_0x1c2340(0x1b2)](_0x3e33fc,_0x41d0c9+0x1);},_0x29d2da={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x39df94[_0x4715b9(0x1bb)](_0x19fc8d=>{const _0x59d73d=_0x4715b9,_0x1592c5=_0x19fc8d;_0x1592c5['geometry']instanceof webgpu.BufferGeometry&&_0x2bcfe8(_0x29d2da[_0x59d73d(0x1a9)],_0x1592c5[_0x59d73d(0x1b4)]);if(_0x1592c5[_0x59d73d(0x183)]){const _0x2ca6da=Array[_0x59d73d(0x192)](_0x1592c5[_0x59d73d(0x183)])?_0x1592c5[_0x59d73d(0x183)]:[_0x1592c5[_0x59d73d(0x183)]];_0x2ca6da[_0x59d73d(0x198)](_0x486911=>{const _0x5c9e8d=_0x59d73d;_0x486911&&(_0x2bcfe8(_0x29d2da['materials'],_0x486911),Object['values'](_0x486911)[_0x5c9e8d(0x198)](_0x22aacc=>{const _0x52b8a5=_0x5c9e8d;_0x22aacc instanceof webgpu.Texture&&_0x2bcfe8(_0x29d2da[_0x52b8a5(0x185)],_0x22aacc);}));});}}),_0x29d2da[_0x4715b9(0x1a9)][_0x4715b9(0x198)]((_0x4100d4,_0x492e9b)=>this[_0x4715b9(0x1a6)](_0x492e9b,_0x4100d4)),_0x29d2da['materials'][_0x4715b9(0x198)]((_0x32bfb1,_0x23e833)=>this[_0x4715b9(0x1a6)](_0x23e833,_0x32bfb1)),_0x29d2da['textures'][_0x4715b9(0x198)]((_0x4da14d,_0x863a31)=>this[_0x4715b9(0x1a6)](_0x863a31,_0x4da14d));}[_0x1df303(0x1a8)](_0x3a674c){const _0x3fa5d0=_0x1df303;_0x3a674c['geometry']&&!_0x3a674c[_0x3fa5d0(0x1b4)]['userData'][_0x3fa5d0(0x187)]&&this[_0x3fa5d0(0x1a6)](_0x3a674c[_0x3fa5d0(0x1b4)]);if(_0x3a674c[_0x3fa5d0(0x183)]){const _0x3d7097=Array['isArray'](_0x3a674c['material'])?_0x3a674c[_0x3fa5d0(0x183)]:[_0x3a674c[_0x3fa5d0(0x183)]];_0x3d7097['forEach'](_0x424a4c=>{const _0x482462=_0x3fa5d0;if(!_0x424a4c)return;!_0x424a4c['userData'][_0x482462(0x187)]&&this[_0x482462(0x1a6)](_0x424a4c),Object['values'](_0x424a4c)[_0x482462(0x198)](_0x9c1daa=>{const _0x212fb8=_0x482462;_0x9c1daa instanceof webgpu.Texture&&!_0x9c1daa['userData'][_0x212fb8(0x187)]&&this[_0x212fb8(0x1a6)](_0x9c1daa);});});}}async[_0x1df303(0x197)](_0x4ca9f2){const _0x4a38f5=_0x1df303;return this[_0x4a38f5(0x16f)](_0x4a38f5(0x18a)),await this[_0x4a38f5(0x194)][_0x4a38f5(0x18f)](_0x4ca9f2);}[_0x1df303(0x184)](_0x2ec34d,_0x1c660e){const _0x28df0a=_0x1df303;this['setupDracoLoader'](_0x28df0a(0x18a)),this[_0x28df0a(0x194)][_0x28df0a(0x193)](_0x2ec34d,_0x1c660e);}[_0x1df303(0x1b0)](_0x2a0d18,_0x5de4d7,_0x102e83){const _0x5eeb97=_0x1df303;this[_0x5eeb97(0x16f)](_0x5eeb97(0x18a)),this[_0x5eeb97(0x194)][_0x5eeb97(0x17f)](_0x2a0d18,_0x5de4d7,_0x102e83);}[_0x1df303(0x176)](_0x53de69='',_0x2b5de6){const _0x119cfc=_0x1df303,_0x6bd9c3=new webgpu.FileLoader();_0x6bd9c3[_0x119cfc(0x193)](_0x53de69,_0x2b5de6);}[_0x1df303(0x1a6)](_0x390812,_0x4cf627=0x0){const _0x27f239=_0x1df303;if(_0x390812 instanceof webgpu.BufferGeometry)return this[_0x27f239(0x196)](_0x390812,_0x4cf627);if(_0x390812 instanceof webgpu.Material)return this[_0x27f239(0x1b7)](_0x390812,_0x4cf627);if(_0x390812 instanceof webgpu.Texture)return this['addTextureAsset'](_0x390812,_0x4cf627);return undefined;}[_0x1df303(0x1b7)](_0x130d52,_0x7607f7=0x0){const _0x493053=_0x1df303;let _0x913d6f=_0x130d52[_0x493053(0x18d)][_0x493053(0x187)];if(!_0x913d6f){const _0x20a827=new Map();Object[_0x493053(0x195)](_0x130d52)[_0x493053(0x198)](([_0x9ec417,_0x5b40ac])=>{const _0x37c933=_0x493053;if(_0x5b40ac instanceof webgpu.Texture){const _0x5e1d57=this[_0x37c933(0x1ba)](_0x5b40ac,0x1);_0x20a827[_0x37c933(0x1b2)](_0x9ec417,_0x5e1d57);}}),_0x913d6f=new MaterialAssetPointer(_0x130d52,_0x20a827,_0x7607f7),this['materialAssets'][_0x493053(0x1b2)](_0x130d52[_0x493053(0x1aa)],_0x913d6f);}else _0x913d6f['addRef'](_0x7607f7);return _0x913d6f;}[_0x1df303(0x1ba)](_0x6bb43,_0x4eee3e=0x0){const _0x23f56b=_0x1df303;let _0x396577=_0x6bb43[_0x23f56b(0x18d)]['assetPointer'];return !_0x396577?(_0x396577=new TextureAssetPointer(_0x6bb43,_0x4eee3e),this['textureAssets']['set'](_0x6bb43['uuid'],_0x396577)):_0x396577[_0x23f56b(0x19a)](_0x4eee3e),_0x396577;}[_0x1df303(0x196)](_0x1bd77b,_0x270e40=0x0){const _0x2e97bb=_0x1df303;let _0x47b2e5=_0x1bd77b[_0x2e97bb(0x18d)][_0x2e97bb(0x187)];return !_0x47b2e5?(_0x47b2e5=new GeometryAssetPointer(_0x1bd77b,_0x270e40),this[_0x2e97bb(0x18e)][_0x2e97bb(0x1b2)](_0x1bd77b[_0x2e97bb(0x1aa)],_0x47b2e5)):_0x47b2e5['addRef'](_0x270e40),_0x47b2e5;}[_0x1df303(0x19e)](_0x414154){const _0x3921bc=_0x1df303,_0x196819=_0x414154[_0x3921bc(0x18d)][_0x3921bc(0x187)];_0x196819?_0x196819['release']():_0x414154[_0x3921bc(0x1a1)]();}[_0x1df303(0x1af)](){const _0x12d940=_0x1df303;this['geometryAssets'][_0x12d940(0x198)](_0xfe242b=>_0xfe242b[_0x12d940(0x170)]()),this[_0x12d940(0x18e)][_0x12d940(0x1b9)](),this[_0x12d940(0x189)][_0x12d940(0x198)](_0x2d976e=>_0x2d976e[_0x12d940(0x170)]()),this[_0x12d940(0x189)][_0x12d940(0x1b9)](),this[_0x12d940(0x1a4)][_0x12d940(0x198)](_0x19c98f=>_0x19c98f[_0x12d940(0x170)]()),this[_0x12d940(0x1a4)]['clear']();}}
|
|
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();}
|
|
47
47
|
|
|
48
|
-
(function(
|
|
48
|
+
(function(_0x442a24,_0x2a2db0){var _0x5b057d=_0x3758,_0x5d92ad=_0x442a24();while(!![]){try{var _0x235c22=parseInt(_0x5b057d(0x1df))/0x1*(parseInt(_0x5b057d(0x1c6))/0x2)+-parseInt(_0x5b057d(0x1e0))/0x3*(parseInt(_0x5b057d(0x1dc))/0x4)+-parseInt(_0x5b057d(0x1c5))/0x5+-parseInt(_0x5b057d(0x1d5))/0x6+parseInt(_0x5b057d(0x1e1))/0x7*(-parseInt(_0x5b057d(0x1e3))/0x8)+-parseInt(_0x5b057d(0x1c7))/0x9+-parseInt(_0x5b057d(0x1e2))/0xa*(-parseInt(_0x5b057d(0x1d8))/0xb);if(_0x235c22===_0x2a2db0)break;else _0x5d92ad['push'](_0x5d92ad['shift']());}catch(_0x1084d0){_0x5d92ad['push'](_0x5d92ad['shift']());}}}(_0x5ab1,0x77a0d));exports.AssetCategory = void 0;function _0x3758(_0x55feef,_0x5badc9){_0x55feef=_0x55feef-0x1c3;var _0x5ab184=_0x5ab1();var _0x3758ec=_0x5ab184[_0x55feef];return _0x3758ec;}(function(_0x77b526){var _0x223f8b=_0x3758;_0x77b526['Geometry']=_0x223f8b(0x1ce),_0x77b526[_0x223f8b(0x1c3)]=_0x223f8b(0x1cc),_0x77b526[_0x223f8b(0x1db)]=_0x223f8b(0x1c4),_0x77b526[_0x223f8b(0x1e7)]=_0x223f8b(0x1d4),_0x77b526[_0x223f8b(0x1d2)]=_0x223f8b(0x1cb),_0x77b526[_0x223f8b(0x1e5)]=_0x223f8b(0x1d1),_0x77b526[_0x223f8b(0x1ca)]='html',_0x77b526[_0x223f8b(0x1d7)]=_0x223f8b(0x1cd),_0x77b526[_0x223f8b(0x1d3)]=_0x223f8b(0x1d6);}(exports.AssetCategory||(exports.AssetCategory={})));exports.AssetLoadState = void 0;function _0x5ab1(){var _0x36068e=['Loading','component','level','ActorManager','Undefined','actor','1633752pwPMZw','undefined','Code','11JPZHjs','External','assetPointer','Texture','1722316OgAVUX','external','loading','1202rZcUMg','3euxtJZ','14IQohPN','16212890irQqwa','1311776XxbiXr','unloaded','Level','Error','Actor','Unloaded','Material','texture','300415KNoCuE','418YLNoJG','2624508BzWCDR','error','Loaded','HTML','actorManager','material','code','geometry'];_0x5ab1=function(){return _0x36068e;};return _0x5ab1();}(function(_0x38ec27){var _0x273757=_0x3758;_0x38ec27[_0x273757(0x1e8)]=_0x273757(0x1e4),_0x38ec27[_0x273757(0x1cf)]=_0x273757(0x1de),_0x38ec27[_0x273757(0x1c9)]='loaded',_0x38ec27[_0x273757(0x1e6)]=_0x273757(0x1c8);}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;(function(_0x588923){var _0x55a418=_0x3758;_0x588923[_0x55a418(0x1e7)]='actor',_0x588923['Component']=_0x55a418(0x1d0),_0x588923['Material']=_0x55a418(0x1cc),_0x588923['Level']='level',_0x588923['AssetPointer']=_0x55a418(0x1da),_0x588923[_0x55a418(0x1d9)]=_0x55a418(0x1dd);}(exports.ReferenceType||(exports.ReferenceType={})));exports.AssetType = void 0;(function(_0xa5b3fb){var _0x4eb6c1=_0x3758;_0xa5b3fb[_0xa5b3fb[_0x4eb6c1(0x1ce)]=0x1]=_0x4eb6c1(0x1ce),_0xa5b3fb[_0xa5b3fb[_0x4eb6c1(0x1cc)]=0x2]='material',_0xa5b3fb[_0xa5b3fb['texture']=0x3]='texture',_0xa5b3fb[_0xa5b3fb[_0x4eb6c1(0x1d6)]=-1]=_0x4eb6c1(0x1d6);}(exports.AssetType||(exports.AssetType={})));
|
|
49
49
|
|
|
50
|
-
(function(
|
|
50
|
+
function _0x30f8(){const _0x5defe8=['114VwcOvy','Bloom','55894IQtrhe','24BKYqwY','19kgprWT','5869254cLgFsp','691747bmFvdB','3299485vKzGGo','GroundTruthAmbientOcclusion','4TPuYIJ','LensFlare','6630080otXjqW','ScreenSpaceReflection','Outline','Antialiasing','17619558nnjVFN','DepthOfField','743319OeLmbs'];_0x30f8=function(){return _0x5defe8;};return _0x30f8();}function _0x262d(_0x511a03,_0x3a2134){_0x511a03=_0x511a03-0x9b;const _0x30f8c4=_0x30f8();let _0x262d92=_0x30f8c4[_0x511a03];return _0x262d92;}(function(_0x532ba1,_0xfd8da8){const _0x210f42=_0x262d,_0x4cd3bc=_0x532ba1();while(!![]){try{const _0x1b1c2d=-parseInt(_0x210f42(0xa1))/0x1*(-parseInt(_0x210f42(0x9f))/0x2)+-parseInt(_0x210f42(0xa2))/0x3+parseInt(_0x210f42(0xa6))/0x4*(-parseInt(_0x210f42(0xa4))/0x5)+-parseInt(_0x210f42(0x9d))/0x6*(-parseInt(_0x210f42(0xa3))/0x7)+parseInt(_0x210f42(0xa0))/0x8*(parseInt(_0x210f42(0x9c))/0x9)+-parseInt(_0x210f42(0xa8))/0xa+parseInt(_0x210f42(0xac))/0xb;if(_0x1b1c2d===_0xfd8da8)break;else _0x4cd3bc['push'](_0x4cd3bc['shift']());}catch(_0x37f740){_0x4cd3bc['push'](_0x4cd3bc['shift']());}}}(_0x30f8,0xeef84));const DefaultPostProcessParam={'steps':[]};exports.PostProcessStepType = void 0;(function(_0x22ed13){const _0x10f0ba=_0x262d;_0x22ed13[_0x22ed13[_0x10f0ba(0x9e)]=0x0]=_0x10f0ba(0x9e),_0x22ed13[_0x22ed13[_0x10f0ba(0x9b)]=0x1]=_0x10f0ba(0x9b),_0x22ed13[_0x22ed13[_0x10f0ba(0xa9)]=0x2]='ScreenSpaceReflection',_0x22ed13[_0x22ed13[_0x10f0ba(0xa5)]=0x3]=_0x10f0ba(0xa5),_0x22ed13[_0x22ed13[_0x10f0ba(0xaa)]=0x4]=_0x10f0ba(0xaa),_0x22ed13[_0x22ed13[_0x10f0ba(0xab)]=0x5]='Antialiasing',_0x22ed13[_0x22ed13[_0x10f0ba(0xa7)]=0x6]='LensFlare';}(exports.PostProcessStepType||(exports.PostProcessStepType={})));
|
|
51
51
|
|
|
52
|
-
function
|
|
52
|
+
var _0x10c44c=_0xec22;(function(_0xbf6c0b,_0x58d37b){var _0x4d0a1b=_0xec22,_0x377136=_0xbf6c0b();while(!![]){try{var _0x33db85=-parseInt(_0x4d0a1b(0x1d6))/0x1*(parseInt(_0x4d0a1b(0x1c6))/0x2)+parseInt(_0x4d0a1b(0x1be))/0x3+parseInt(_0x4d0a1b(0x1b8))/0x4*(parseInt(_0x4d0a1b(0x1bc))/0x5)+-parseInt(_0x4d0a1b(0x1d1))/0x6+parseInt(_0x4d0a1b(0x1d5))/0x7*(-parseInt(_0x4d0a1b(0x1db))/0x8)+parseInt(_0x4d0a1b(0x1b6))/0x9*(-parseInt(_0x4d0a1b(0x1bd))/0xa)+-parseInt(_0x4d0a1b(0x1b5))/0xb*(-parseInt(_0x4d0a1b(0x1bf))/0xc);if(_0x33db85===_0x58d37b)break;else _0x377136['push'](_0x377136['shift']());}catch(_0x20e8be){_0x377136['push'](_0x377136['shift']());}}}(_0x4729,0x26ee7));function _0xec22(_0x39d3dc,_0x3d7f4a){_0x39d3dc=_0x39d3dc-0x1b1;var _0x4729a8=_0x4729();var _0xec2230=_0x4729a8[_0x39d3dc];return _0xec2230;}function _0x4729(){var _0x10fe58=['removeFromParent','getChildActorById','levelActorClass','forEach','controller','988GJFidO','getChildActorsByIds','app','rootActor','addChildActor','_rootActor','getActorById','tickableActors','KeepRelative','rootComponent','getActorsByIds','1381512rOWMmf','tick','removeActor','clear','5054VChjJd','26IOEqjy','add','threeObject','rootActor\x20is\x20null','worldParam','3208lqHiQF','scene\x20is\x20null','actors','viewport','init','addActor','51700tarWqt','997299kVWpVl','markRenderStateDirty','4VgmapU','destroy','scene','delete','350295YBtAyX','10qXHBWO','280899PGvaFa','1632yzBDtC','addTickableActor'];_0x4729=function(){return _0x10fe58;};return _0x4729();}class World{get['scene'](){var _0x33ad79=_0xec22,_0x141334;let _0x3d3f58=(_0x141334=this['_rootActor'])===null||_0x141334===void 0?void 0:_0x141334[_0x33ad79(0x1ba)];if(!_0x3d3f58)throw new Error(_0x33ad79(0x1dc));return _0x3d3f58;}get[_0x10c44c(0x1b2)](){var _0x4d52cf=_0x10c44c;return this[_0x4d52cf(0x1c8)][_0x4d52cf(0x1b2)];}get[_0x10c44c(0x1c5)](){var _0x208a41=_0x10c44c;return this[_0x208a41(0x1c8)][_0x208a41(0x1c5)];}get['rootActor'](){var _0x3941ee=_0x10c44c;if(!this[_0x3941ee(0x1cb)])throw new Error(_0x3941ee(0x1d9));return this[_0x3941ee(0x1cb)];}constructor(_0x151ef6,_0x390139){var _0x59da87=_0x10c44c;this['_rootActor']=null,this[_0x59da87(0x1b1)]=new Set(),this[_0x59da87(0x1cd)]=new Set(),this[_0x59da87(0x1c8)]=_0x151ef6,this[_0x59da87(0x1da)]=_0x390139;}[_0x10c44c(0x1b3)](){var _0xaeaed7=_0x10c44c;this['_rootActor']=new this['worldParam'][(_0xaeaed7(0x1c3))](this[_0xaeaed7(0x1c8)]);}[_0x10c44c(0x1c0)](_0xf0dd41){var _0x46fa36=_0x10c44c;this[_0x46fa36(0x1cd)][_0x46fa36(0x1d7)](_0xf0dd41);}['removeTickableActor'](_0x34d392){var _0x2d67a3=_0x10c44c;this['tickableActors'][_0x2d67a3(0x1bb)](_0x34d392);}[_0x10c44c(0x1d2)](_0x33f2af){var _0x29102a=_0x10c44c;this[_0x29102a(0x1cd)][_0x29102a(0x1c4)](_0x255110=>{var _0x1c77b0=_0x29102a;_0x255110[_0x1c77b0(0x1d2)](_0x33f2af);});}['destroy'](){var _0x22986b=_0x10c44c,_0x35e155;this[_0x22986b(0x1cd)]['clear'](),this[_0x22986b(0x1b1)][_0x22986b(0x1c4)](_0x29a279=>{var _0x3bfcfd=_0x22986b;_0x29a279[_0x3bfcfd(0x1b9)]();}),this[_0x22986b(0x1b1)][_0x22986b(0x1d4)](),(_0x35e155=this[_0x22986b(0x1cb)])===null||_0x35e155===void 0?void 0:_0x35e155[_0x22986b(0x1b9)](),this['_rootActor']=null;}[_0x10c44c(0x1b4)](_0x28bcfe){var _0x454d3e=_0x10c44c,_0x8c730f;if(!_0x28bcfe[_0x454d3e(0x1cf)][_0x454d3e(0x1d8)])throw new Error('actor.threeObject\x20is\x20null');_0x28bcfe[_0x454d3e(0x1c1)](),(_0x8c730f=this['_rootActor'])===null||_0x8c730f===void 0?void 0:_0x8c730f[_0x454d3e(0x1ca)](_0x28bcfe,exports.AttachmentRules[_0x454d3e(0x1ce)]),this[_0x454d3e(0x1b1)][_0x454d3e(0x1d7)](_0x28bcfe),_0x28bcfe['onAddedToWorld'](this),this['viewport'][_0x454d3e(0x1b7)]();}[_0x10c44c(0x1d3)](_0x2dbbd6){var _0x105bbb=_0x10c44c;_0x2dbbd6['destroy'](),this['actors'][_0x105bbb(0x1bb)](_0x2dbbd6),this[_0x105bbb(0x1b2)][_0x105bbb(0x1b7)]();}['removeActors'](_0x1744af){var _0x19ce70=_0x10c44c;for(const _0x4cfab0 of _0x1744af){_0x4cfab0[_0x19ce70(0x1b9)](),this['actors'][_0x19ce70(0x1bb)](_0x4cfab0);}this[_0x19ce70(0x1b2)][_0x19ce70(0x1b7)]();}[_0x10c44c(0x1cc)](_0x3b7963){var _0x1c789b=_0x10c44c;return this[_0x1c789b(0x1c9)][_0x1c789b(0x1c2)](_0x3b7963,!![]);}[_0x10c44c(0x1d0)](_0x3f6847){var _0x3d2dee=_0x10c44c;return this[_0x3d2dee(0x1c9)][_0x3d2dee(0x1c7)](_0x3f6847,!![]);}}
|
|
53
53
|
|
|
54
|
-
(function(
|
|
54
|
+
function _0x5aa6(){const _0x96b682=['3348580SFnlRa','3668190OWChVs','447164xDGsLP','36qEhxNl','60rHsfsX','6770872nqTwOB','101255npesxw','3753750spupIP','1118584hTucJW'];_0x5aa6=function(){return _0x96b682;};return _0x5aa6();}(function(_0x45af23,_0x5162a){const _0xbd4c16=_0x3af2,_0x4bf7ee=_0x45af23();while(!![]){try{const _0x56752b=parseInt(_0xbd4c16(0x16b))/0x1+parseInt(_0xbd4c16(0x16e))/0x2+parseInt(_0xbd4c16(0x16d))/0x3+parseInt(_0xbd4c16(0x16c))/0x4+parseInt(_0xbd4c16(0x16a))/0x5+parseInt(_0xbd4c16(0x167))/0x6*(-parseInt(_0xbd4c16(0x169))/0x7)+-parseInt(_0xbd4c16(0x168))/0x8*(parseInt(_0xbd4c16(0x16f))/0x9);if(_0x56752b===_0x5162a)break;else _0x4bf7ee['push'](_0x4bf7ee['shift']());}catch(_0x5c3b6b){_0x4bf7ee['push'](_0x4bf7ee['shift']());}}}(_0x5aa6,0x98071));function _0x3af2(_0x3848d1,_0x638761){_0x3848d1=_0x3848d1-0x167;const _0x5aa6ee=_0x5aa6();let _0x3af2da=_0x5aa6ee[_0x3848d1];return _0x3af2da;}const DefaultBloomParam={'type':exports.PostProcessStepType['Bloom'],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
(function(_0xeca9a6,_0x3db848){const _0x4d55cc=_0x9c25,_0x77de5d=_0xeca9a6();while(!![]){try{const _0x2d9a15=parseInt(_0x4d55cc(0x124))/0x1+-parseInt(_0x4d55cc(0x128))/0x2+parseInt(_0x4d55cc(0x123))/0x3+parseInt(_0x4d55cc(0x122))/0x4+-parseInt(_0x4d55cc(0x127))/0x5+-parseInt(_0x4d55cc(0x121))/0x6*(parseInt(_0x4d55cc(0x125))/0x7)+parseInt(_0x4d55cc(0x126))/0x8;if(_0x2d9a15===_0x3db848)break;else _0x77de5d['push'](_0x77de5d['shift']());}catch(_0xc0895b){_0x77de5d['push'](_0x77de5d['shift']());}}}(_0x8dce,0x9a49a));function _0x9c25(_0x5e46cc,_0x4261c7){_0x5e46cc=_0x5e46cc-0x121;const _0x8dce26=_0x8dce();let _0x9c259c=_0x8dce26[_0x5e46cc];return _0x9c259c;}const DefaultDOFParam={'type':exports.PostProcessStepType['DepthOfField'],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};function _0x8dce(){const _0x57bfff=['3199810xVzWlh','8342Qnmtsf','2489646pzGoUV','716720NurIaA','2030412yjxJgD','994685QIhlVN','14WWHBho','2042464DcCGFo'];_0x8dce=function(){return _0x57bfff;};return _0x8dce();}
|
|
57
57
|
|
|
58
|
-
const
|
|
58
|
+
function _0x720e(_0x3a7b9b,_0x3a9071){_0x3a7b9b=_0x3a7b9b-0x168;const _0x5a48d0=_0x5a48();let _0x720e53=_0x5a48d0[_0x3a7b9b];return _0x720e53;}(function(_0x28b952,_0x2d3309){const _0x476ba6=_0x720e,_0x9a4c3e=_0x28b952();while(!![]){try{const _0x23c97e=-parseInt(_0x476ba6(0x16a))/0x1*(parseInt(_0x476ba6(0x16e))/0x2)+-parseInt(_0x476ba6(0x16f))/0x3*(-parseInt(_0x476ba6(0x172))/0x4)+parseInt(_0x476ba6(0x16d))/0x5*(parseInt(_0x476ba6(0x16c))/0x6)+parseInt(_0x476ba6(0x171))/0x7+-parseInt(_0x476ba6(0x169))/0x8*(parseInt(_0x476ba6(0x174))/0x9)+-parseInt(_0x476ba6(0x170))/0xa*(parseInt(_0x476ba6(0x168))/0xb)+-parseInt(_0x476ba6(0x16b))/0xc*(-parseInt(_0x476ba6(0x173))/0xd);if(_0x23c97e===_0x2d3309)break;else _0x9a4c3e['push'](_0x9a4c3e['shift']());}catch(_0x3f8dd5){_0x9a4c3e['push'](_0x9a4c3e['shift']());}}}(_0x5a48,0x3c8f0));function _0x5a48(){const _0x5aefb2=['21447irhmwF','209SYqKgU','944zajMYQ','314ggHBVH','264bgjvyK','174QlMxFZ','60445jQYLHh','622IgoLbn','2667MWWnEO','139600KOFRqR','687526mQmiWc','916cGPVQs','141674eHKoei'];_0x5a48=function(){return _0x5aefb2;};return _0x5a48();}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 _0x24f51a=_0x4955;function _0xcedf(){const _0x3befdc=['438LgcJOX','296qCaUUO','987726FCRzCO','2271330SjdpRL','10544004NYXwUQ','7hQloUt','402918Jqlxep','67851JtWikI','2kuEfgr','Outline','6884HcnFEP','11DvsatK','2389270olbuGa'];_0xcedf=function(){return _0x3befdc;};return _0xcedf();}(function(_0x3f6514,_0x31be0c){const _0x4aa421=_0x4955,_0x35b909=_0x3f6514();while(!![]){try{const _0x23e17b=parseInt(_0x4aa421(0x1eb))/0x1*(parseInt(_0x4aa421(0x1ed))/0x2)+-parseInt(_0x4aa421(0x1e5))/0x3*(-parseInt(_0x4aa421(0x1e2))/0x4)+parseInt(_0x4aa421(0x1e8))/0x5+parseInt(_0x4aa421(0x1e7))/0x6*(parseInt(_0x4aa421(0x1ea))/0x7)+-parseInt(_0x4aa421(0x1e6))/0x8*(parseInt(_0x4aa421(0x1ec))/0x9)+parseInt(_0x4aa421(0x1e4))/0xa*(parseInt(_0x4aa421(0x1e3))/0xb)+-parseInt(_0x4aa421(0x1e9))/0xc;if(_0x23e17b===_0x31be0c)break;else _0x35b909['push'](_0x35b909['shift']());}catch(_0x1bc9aa){_0x35b909['push'](_0x35b909['shift']());}}}(_0xcedf,0x56854));function _0x4955(_0x341e5e,_0x1b495c){_0x341e5e=_0x341e5e-0x1e1;const _0xcedfc8=_0xcedf();let _0x4955d6=_0xcedfc8[_0x341e5e];return _0x4955d6;}const DefaultOutlineParams={'type':exports.PostProcessStepType[_0x24f51a(0x1e1)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
61
61
|
|
|
62
|
-
const
|
|
62
|
+
const _0xf9feb7=_0x33fc;function _0x33fc(_0x284454,_0x48cac5){_0x284454=_0x284454-0x1e3;const _0x386a13=_0x386a();let _0x33fc14=_0x386a13[_0x284454];return _0x33fc14;}(function(_0xb6d6c9,_0x5f3bfc){const _0x5aa462=_0x33fc,_0x55411e=_0xb6d6c9();while(!![]){try{const _0x2befef=parseInt(_0x5aa462(0x1e5))/0x1*(-parseInt(_0x5aa462(0x1e3))/0x2)+parseInt(_0x5aa462(0x1ed))/0x3+-parseInt(_0x5aa462(0x1ec))/0x4+parseInt(_0x5aa462(0x1e4))/0x5*(parseInt(_0x5aa462(0x1eb))/0x6)+parseInt(_0x5aa462(0x1e8))/0x7*(parseInt(_0x5aa462(0x1ee))/0x8)+-parseInt(_0x5aa462(0x1e6))/0x9*(parseInt(_0x5aa462(0x1e7))/0xa)+-parseInt(_0x5aa462(0x1e9))/0xb;if(_0x2befef===_0x5f3bfc)break;else _0x55411e['push'](_0x55411e['shift']());}catch(_0x1de077){_0x55411e['push'](_0x55411e['shift']());}}}(_0x386a,0x93f84));function _0x386a(){const _0x19a41b=['12vJaYnn','1829476hyiPRy','2021193DNTXDe','33528oDQaeW','204SLpkKZ','2113710jMRawX','8746RCqTnx','94977kuNJVw','30vpfnCx','1582UAfyJc','5270947BHfWwh','LensFlare'];_0x386a=function(){return _0x19a41b;};return _0x386a();}const DefaultLensFlareParam={'type':exports.PostProcessStepType[_0xf9feb7(0x1ea)],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};
|
|
63
63
|
|
|
64
|
-
const _0x1e27d4=_0x37c3;function _0x206e(){const _0x430d8c=['gtaoSamples','outputNode','outlineEdgeThickness','assign','533730amlmgx','set','samples','bokehScaleNode','getViewZNode','needsUpdate','smaaEnabled','distanceExponent','bloomPass','updateAllUniforms','setup','gtaoRadius','getStepParam','lut3dTexture','removeOutlineObject','lensflarePass','depth','useTemporalFiltering','713645NhmyUg','outlineVisibleEdgeColor','outlinePass','18906WfHNRD','bloomThreshold','onBuildFinalNode','outlineEnabled','dofMaxBlur','fxaaEnabled','edgeStrength','addOutlineObject','setOutlineObjects','postProcessParam','value','Outline','outlineObjects','focalLengthNode','outlineHiddenEdgeColor','aperture','lensflareEnabled','processing','traaPass','LensFlare','has','ghostSpacing','renderer','11zJtcEw','ghostSamples','focus','camera','threshold','hiddenEdgeColor','selectedObjects','gtaoEnabled','dofFocus','dofEnabled','39299hQevWf','focusDistanceNode','map','render','39402gSUzhW','setMRT','effectUniforms','edgeGlow','scale','destroy','smaa','updateSteps','indexOf','push','gtaoDistanceFallOff','radius','getTextureNode','normal','postProcessing','greaterThan','onDirtyCallback','8AzCmuY','thickness','pulsePeriod','outlinePulsePeriod','gtaoPass','markDirty','bloomStrength','add','1623083ZZaQZD','scene','GroundTruthAmbientOcclusion','Antialiasing','edgeGlowNode','2357226XvjlsO','bloomRadius','gtaoDistanceExponent','outlineEdgeStrength','output','Bloom','method','visibleEdgeColor','distanceFallOff','downSampleRatio','mul','steps','resolutionScale','setLUT3DTexture','strength','gtaoThickness','find','select','edgeThickness','dispose','edgeThicknessNode','ghostAttenuationFactor','getLUT3DTexture','buildPipeline','DepthOfField','maxblur','8aMFRJr','type','div','dofPass','bloomEnabled','27LBIwSk'];_0x206e=function(){return _0x430d8c;};return _0x206e();}(function(_0x5c4784,_0x10af69){const _0x32e049=_0x37c3,_0x528d77=_0x5c4784();while(!![]){try{const _0x534490=-parseInt(_0x32e049(0xe0))/0x1+-parseInt(_0x32e049(0xe4))/0x2*(parseInt(_0x32e049(0x121))/0x3)+parseInt(_0x32e049(0x11c))/0x4*(parseInt(_0x32e049(0x138))/0x5)+-parseInt(_0x32e049(0x13b))/0x6+-parseInt(_0x32e049(0xfd))/0x7*(parseInt(_0x32e049(0xf5))/0x8)+parseInt(_0x32e049(0x102))/0x9+-parseInt(_0x32e049(0x126))/0xa*(-parseInt(_0x32e049(0xd6))/0xb);if(_0x534490===_0x10af69)break;else _0x528d77['push'](_0x528d77['shift']());}catch(_0x110358){_0x528d77['push'](_0x528d77['shift']());}}}(_0x206e,0x2467d));function _0x37c3(_0x5345c4,_0x149d6f){_0x5345c4=_0x5345c4-0xca;const _0x206ee6=_0x206e();let _0x37c3ba=_0x206ee6[_0x5345c4];return _0x37c3ba;}class PostProcessManager{constructor(_0x3af717,_0x405dc9,_0xb37ad7,_0x3fe480,_0xc1da68){const _0x4c21a0=_0x37c3;this['postProcessing']=null,this['outlineObjects']=[],this['effectUniforms']=null,this['outlinePass']=null,this['bloomPass']=null,this[_0x4c21a0(0x11f)]=null,this[_0x4c21a0(0xf9)]=null,this['traaPass']=null,this[_0x4c21a0(0x135)]=null,this[_0x4c21a0(0x133)]=null,this[_0x4c21a0(0xf4)]=null,this[_0x4c21a0(0xd5)]=_0x3af717,this[_0x4c21a0(0xfe)]=_0x405dc9,this['camera']=_0xb37ad7,this[_0x4c21a0(0x144)]=Object[_0x4c21a0(0x125)]({},_0x3fe480),this[_0x4c21a0(0xf4)]=_0xc1da68!==null&&_0xc1da68!==void 0?_0xc1da68:null;}get[_0x1e27d4(0xd0)](){const _0x225866=_0x1e27d4;return this[_0x225866(0xf2)];}['updateCamera'](_0x229456){const _0x2afdcd=_0x1e27d4;this[_0x2afdcd(0xd9)]=_0x229456,(!this[_0x2afdcd(0xf2)]||!this[_0x2afdcd(0xe6)])&&(this['buildPipeline'](),this[_0x2afdcd(0x12f)](),this[_0x2afdcd(0xfa)]());}[_0x1e27d4(0x130)](){const _0x4d8ec1=_0x1e27d4;(!this['postProcessing']||!this[_0x4d8ec1(0xe6)])&&this[_0x4d8ec1(0x119)](),this[_0x4d8ec1(0x12f)](),this[_0x4d8ec1(0xfa)]();}[_0x1e27d4(0x119)](){const _0x23bf33=_0x1e27d4;var _0x2156f2,_0x1d7e40,_0x102702,_0x163401,_0x293ba9;this[_0x23bf33(0xf2)]&&this[_0x23bf33(0xf2)][_0x23bf33(0x115)]();this[_0x23bf33(0xf2)]=new webgpu.PostProcessing(this[_0x23bf33(0xd5)]),this[_0x23bf33(0xe6)]=this['createEffectUniforms']();const _0x4227c2=tsl.pass(this[_0x23bf33(0xfe)],this[_0x23bf33(0xd9)]);_0x4227c2[_0x23bf33(0xe5)](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x3c7a5e=_0x4227c2[_0x23bf33(0xf0)](_0x23bf33(0x106)),_0x279ba8=_0x4227c2[_0x23bf33(0xf0)](_0x23bf33(0xf1)),_0x6ae5d9=_0x4227c2[_0x23bf33(0xf0)](_0x23bf33(0x136)),_0x2d8f4c=_0x4227c2['getTextureNode']('velocity'),_0x5ecc77=_0x4227c2[_0x23bf33(0x12a)](),_0x2fe1b3=this['effectUniforms'],_0x23f6b1=(_0x2156f2=this[_0x23bf33(0x132)](exports.PostProcessStepType[_0x23bf33(0x107)]))!==null&&_0x2156f2!==void 0?_0x2156f2:DefaultBloomParam;this['bloomPass']=BloomNode_js.bloom(_0x3c7a5e),this['bloomPass'][_0x23bf33(0xda)][_0x23bf33(0x145)]=_0x23f6b1['threshold'],this[_0x23bf33(0x12e)]['strength'][_0x23bf33(0x145)]=_0x23f6b1[_0x23bf33(0x110)],this[_0x23bf33(0x12e)][_0x23bf33(0xef)][_0x23bf33(0x145)]=_0x23f6b1[_0x23bf33(0xef)];const _0xd05352=_0x3c7a5e[_0x23bf33(0xfc)](this['bloomPass'][_0x23bf33(0x10c)](_0x2fe1b3[_0x23bf33(0xfb)])),_0x36e991=_0x2fe1b3[_0x23bf33(0x120)][_0x23bf33(0xf3)](0.5)[_0x23bf33(0x113)](_0xd05352,_0x3c7a5e),_0x1741f9=(_0x1d7e40=this['getStepParam'](exports.PostProcessStepType[_0x23bf33(0xd2)]))!==null&&_0x1d7e40!==void 0?_0x1d7e40:DefaultLensFlareParam;this[_0x23bf33(0x135)]=LensflareNode_js.lensflare(this[_0x23bf33(0x12e)][_0x23bf33(0xf0)](),{'ghostTint':tsl.vec3(_0x1741f9['ghostTint'][0x0],_0x1741f9['ghostTint'][0x1],_0x1741f9['ghostTint'][0x2]),'threshold':tsl.float(_0x1741f9[_0x23bf33(0xda)]),'ghostSamples':tsl.float(_0x1741f9[_0x23bf33(0xd7)]),'ghostSpacing':tsl.float(_0x1741f9[_0x23bf33(0xd4)]),'ghostAttenuationFactor':tsl.float(_0x1741f9[_0x23bf33(0x117)]),'downSampleRatio':_0x1741f9[_0x23bf33(0x10b)]});const _0x539440=_0x36e991[_0x23bf33(0xfc)](this[_0x23bf33(0x135)]['getTextureNode']()),_0x2c3e62=_0x2fe1b3[_0x23bf33(0xcf)][_0x23bf33(0xf3)](0.5)[_0x23bf33(0x113)](_0x539440,_0x36e991),_0x54ffd9=(_0x102702=this['getStepParam'](exports.PostProcessStepType[_0x23bf33(0x11a)]))!==null&&_0x102702!==void 0?_0x102702:DefaultDOFParam;this[_0x23bf33(0x11f)]=DepthOfFieldNode_js.dof(_0x2c3e62,_0x5ecc77,tsl.uniform(_0x54ffd9[_0x23bf33(0xd8)]),tsl.uniform(_0x54ffd9['aperture']),tsl.uniform(_0x54ffd9[_0x23bf33(0x11b)]));const _0x56e14d=_0x2fe1b3[_0x23bf33(0xdf)]['greaterThan'](0.5)[_0x23bf33(0x113)](this[_0x23bf33(0x11f)],_0x2c3e62),_0x10aaab=(_0x163401=this[_0x23bf33(0x132)](exports.PostProcessStepType[_0x23bf33(0xff)]))!==null&&_0x163401!==void 0?_0x163401:DefaultGTAOParam;this[_0x23bf33(0xf9)]=GTAONode_js.ao(_0x6ae5d9,_0x279ba8,this['camera']),this[_0x23bf33(0xf9)][_0x23bf33(0x10e)]=0.5,this[_0x23bf33(0xf9)][_0x23bf33(0x12d)]['value']=_0x10aaab[_0x23bf33(0x12d)],this[_0x23bf33(0xf9)][_0x23bf33(0x10a)][_0x23bf33(0x145)]=_0x10aaab[_0x23bf33(0x10a)],this['gtaoPass']['radius']['value']=_0x10aaab[_0x23bf33(0xef)],this[_0x23bf33(0xf9)][_0x23bf33(0xe8)][_0x23bf33(0x145)]=_0x10aaab[_0x23bf33(0xe8)],this[_0x23bf33(0xf9)][_0x23bf33(0xf6)][_0x23bf33(0x145)]=_0x10aaab[_0x23bf33(0xf6)],this['gtaoPass']['samples'][_0x23bf33(0x145)]=_0x10aaab[_0x23bf33(0x128)],this[_0x23bf33(0xf9)][_0x23bf33(0x137)]=_0x10aaab[_0x23bf33(0x137)];const _0x4895cf=this[_0x23bf33(0xf9)][_0x23bf33(0xf0)](),_0x5935bc=_0x4895cf['r'],_0x48fa7c=_0x56e14d[_0x23bf33(0x10c)](_0x5935bc),_0x54c53e=_0x2fe1b3[_0x23bf33(0xdd)][_0x23bf33(0xf3)](0.5)[_0x23bf33(0x113)](_0x48fa7c,_0x56e14d),_0x198130=(_0x293ba9=this[_0x23bf33(0x132)](exports.PostProcessStepType[_0x23bf33(0xca)]))!==null&&_0x293ba9!==void 0?_0x293ba9:DefaultOutlineParams;this[_0x23bf33(0x13a)]=OutlineNode_js.outline(this[_0x23bf33(0xfe)],this[_0x23bf33(0xd9)],{'selectedObjects':this['outlineObjects'],'edgeGlow':tsl.uniform(_0x198130[_0x23bf33(0xe7)]),'edgeThickness':tsl.uniform(_0x198130[_0x23bf33(0x114)])});const {visibleEdge:_0x678d68,hiddenEdge:_0x5e63da}=this[_0x23bf33(0x13a)],_0x5eb8bd=_0x2fe1b3[_0x23bf33(0xf8)][_0x23bf33(0xf3)](0x0)[_0x23bf33(0x113)](_0x2fe1b3['outlinePulsePeriod'],tsl.uniform(0x1)),_0x3eb186=tsl.time[_0x23bf33(0x11e)](_0x5eb8bd)[_0x23bf33(0x10c)](0x2),_0x22c09c=tsl.oscSine(_0x3eb186)[_0x23bf33(0x10c)](0.5)[_0x23bf33(0xfc)](0.5),_0x5f4b02=_0x678d68[_0x23bf33(0x10c)](_0x2fe1b3[_0x23bf33(0x139)])[_0x23bf33(0xfc)](_0x5e63da[_0x23bf33(0x10c)](_0x2fe1b3[_0x23bf33(0xcd)]))[_0x23bf33(0x10c)](_0x2fe1b3['outlineEdgeStrength']),_0x19bd61=_0x2fe1b3[_0x23bf33(0xf8)][_0x23bf33(0xf3)](0x0)[_0x23bf33(0x113)](_0x5f4b02[_0x23bf33(0x10c)](_0x22c09c),_0x5f4b02),_0x1eaa1f=_0x19bd61['add'](_0x54c53e),_0x152d26=_0x2fe1b3[_0x23bf33(0x13e)][_0x23bf33(0xf3)](0.5)['select'](_0x1eaa1f,_0x54c53e),_0x3ff2cb=FXAANode_js.fxaa(_0x152d26),_0x1d68e0=_0x2fe1b3[_0x23bf33(0x140)]['greaterThan'](0.5)[_0x23bf33(0x113)](_0x3ff2cb,_0x152d26),_0x513b08=SMAANode_js.smaa(_0x1d68e0),_0x3dd0c0=_0x2fe1b3[_0x23bf33(0x12c)][_0x23bf33(0xf3)](0.5)[_0x23bf33(0x113)](_0x513b08,_0x1d68e0),_0x32ce35=this[_0x23bf33(0x132)](exports.PostProcessStepType[_0x23bf33(0x100)]);let _0x23aa05=_0x3dd0c0;_0x32ce35&&_0x32ce35[_0x23bf33(0x108)]==='traa'&&(this[_0x23bf33(0xd1)]=TRAANode_js.traa(_0x3dd0c0,_0x6ae5d9,_0x2d8f4c,this[_0x23bf33(0xd9)]),_0x23aa05=this[_0x23bf33(0xd1)][_0x23bf33(0xf0)]()),_0x23aa05=this[_0x23bf33(0x13d)](_0x23aa05),this[_0x23bf33(0xf2)][_0x23bf33(0x123)]=_0x23aa05,this[_0x23bf33(0xf2)][_0x23bf33(0x12b)]=!![];}[_0x1e27d4(0x13d)](_0x56fb0e){return _0x56fb0e;}['createEffectUniforms'](){const _0x31ca2a=_0x1e27d4;var _0x6f48d7,_0xeffc4e,_0x55296f,_0x341e18;const _0x1f0205=(_0x6f48d7=this[_0x31ca2a(0x132)](exports.PostProcessStepType[_0x31ca2a(0x107)]))!==null&&_0x6f48d7!==void 0?_0x6f48d7:DefaultBloomParam,_0x45f10f=(_0xeffc4e=this[_0x31ca2a(0x132)](exports.PostProcessStepType[_0x31ca2a(0x11a)]))!==null&&_0xeffc4e!==void 0?_0xeffc4e:DefaultDOFParam,_0x4bf9df=(_0x55296f=this[_0x31ca2a(0x132)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x55296f!==void 0?_0x55296f:DefaultGTAOParam,_0x1ad466=(_0x341e18=this[_0x31ca2a(0x132)](exports.PostProcessStepType[_0x31ca2a(0xca)]))!==null&&_0x341e18!==void 0?_0x341e18:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x1f0205[_0x31ca2a(0x110)]),'bloomThreshold':tsl.uniform(_0x1f0205[_0x31ca2a(0xda)]),'bloomRadius':tsl.uniform(_0x1f0205['radius']),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x45f10f['focus']),'dofAperture':tsl.uniform(_0x45f10f[_0x31ca2a(0xce)]),'dofMaxBlur':tsl.uniform(_0x45f10f[_0x31ca2a(0x11b)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x4bf9df[_0x31ca2a(0xe8)]),'gtaoDistanceExponent':tsl.uniform(_0x4bf9df[_0x31ca2a(0x12d)]),'gtaoDistanceFallOff':tsl.uniform(_0x4bf9df[_0x31ca2a(0x10a)]),'gtaoRadius':tsl.uniform(_0x4bf9df[_0x31ca2a(0xef)]),'gtaoThickness':tsl.uniform(_0x4bf9df['thickness']),'gtaoSamples':tsl.uniform(_0x4bf9df[_0x31ca2a(0x128)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x1ad466[_0x31ca2a(0x141)]),'outlineEdgeGlow':tsl.uniform(_0x1ad466[_0x31ca2a(0xe7)]),'outlineEdgeThickness':tsl.uniform(_0x1ad466[_0x31ca2a(0x114)]),'outlinePulsePeriod':tsl.uniform(_0x1ad466['pulsePeriod']),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x1ad466['visibleEdgeColor'])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x1ad466[_0x31ca2a(0xdb)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x1e27d4(0x132)](_0x1fc45e){const _0x327278=_0x1e27d4;var _0x371b7b;return (_0x371b7b=this[_0x327278(0x144)][_0x327278(0x10d)][_0x327278(0x112)](_0x20ce99=>_0x20ce99[_0x327278(0x11d)]===_0x1fc45e))!==null&&_0x371b7b!==void 0?_0x371b7b:null;}[_0x1e27d4(0x12f)](){const _0xa29e73=_0x1e27d4;if(!this['effectUniforms'])return;const _0x12ad3a=this['effectUniforms'],_0x1b030d=new Set(this['postProcessParam']['steps'][_0xa29e73(0xe2)](_0x1125b3=>_0x1125b3[_0xa29e73(0x11d)]));_0x12ad3a[_0xa29e73(0x120)]['value']=_0x1b030d[_0xa29e73(0xd3)](exports.PostProcessStepType[_0xa29e73(0x107)])?0x1:0x0,_0x12ad3a['dofEnabled'][_0xa29e73(0x145)]=_0x1b030d[_0xa29e73(0xd3)](exports.PostProcessStepType[_0xa29e73(0x11a)])?0x1:0x0,_0x12ad3a[_0xa29e73(0xdd)][_0xa29e73(0x145)]=_0x1b030d[_0xa29e73(0xd3)](exports.PostProcessStepType[_0xa29e73(0xff)])?0x1:0x0,_0x12ad3a[_0xa29e73(0x13e)][_0xa29e73(0x145)]=_0x1b030d[_0xa29e73(0xd3)](exports.PostProcessStepType['Outline'])?0x1:0x0,_0x12ad3a[_0xa29e73(0xcf)]['value']=_0x1b030d['has'](exports.PostProcessStepType['LensFlare'])?0x1:0x0;const _0x1c75fb=this[_0xa29e73(0x132)](exports.PostProcessStepType[_0xa29e73(0x100)]);_0x1c75fb?(_0x12ad3a['fxaaEnabled'][_0xa29e73(0x145)]=_0x1c75fb['method']==='fxaa'?0x1:0x0,_0x12ad3a[_0xa29e73(0x12c)]['value']=_0x1c75fb[_0xa29e73(0x108)]===_0xa29e73(0xea)?0x1:0x0):(_0x12ad3a[_0xa29e73(0x140)]['value']=0x0,_0x12ad3a[_0xa29e73(0x12c)][_0xa29e73(0x145)]=0x0);const _0x4659fe=this['getStepParam'](exports.PostProcessStepType[_0xa29e73(0x107)]);_0x4659fe&&(_0x12ad3a[_0xa29e73(0xfb)][_0xa29e73(0x145)]=_0x4659fe[_0xa29e73(0x110)],_0x12ad3a[_0xa29e73(0x13c)][_0xa29e73(0x145)]=_0x4659fe[_0xa29e73(0xda)],_0x12ad3a[_0xa29e73(0x103)]['value']=_0x4659fe[_0xa29e73(0xef)],this[_0xa29e73(0x12e)]&&(this[_0xa29e73(0x12e)][_0xa29e73(0xda)]['value']=_0x4659fe[_0xa29e73(0xda)],this[_0xa29e73(0x12e)][_0xa29e73(0x110)][_0xa29e73(0x145)]=_0x4659fe[_0xa29e73(0x110)],this[_0xa29e73(0x12e)][_0xa29e73(0xef)]['value']=_0x4659fe[_0xa29e73(0xef)]));const _0x55b4ee=this['getStepParam'](exports.PostProcessStepType[_0xa29e73(0xd2)]);if(_0x55b4ee&&this[_0xa29e73(0x135)]);const _0x2eb830=this[_0xa29e73(0x132)](exports.PostProcessStepType['DepthOfField']);_0x2eb830&&(_0x12ad3a[_0xa29e73(0xde)][_0xa29e73(0x145)]=_0x2eb830['focus'],_0x12ad3a['dofAperture'][_0xa29e73(0x145)]=_0x2eb830[_0xa29e73(0xce)],_0x12ad3a[_0xa29e73(0x13f)][_0xa29e73(0x145)]=_0x2eb830[_0xa29e73(0x11b)],this[_0xa29e73(0x11f)]&&(this[_0xa29e73(0x11f)][_0xa29e73(0xe1)][_0xa29e73(0x145)]=_0x2eb830['focus'],this['dofPass'][_0xa29e73(0xcc)][_0xa29e73(0x145)]=_0x2eb830['aperture'],this[_0xa29e73(0x11f)][_0xa29e73(0x129)][_0xa29e73(0x145)]=_0x2eb830[_0xa29e73(0x11b)]));const _0x58688c=this[_0xa29e73(0x132)](exports.PostProcessStepType[_0xa29e73(0xff)]);_0x58688c&&(_0x12ad3a['gtaoScale']['value']=_0x58688c[_0xa29e73(0xe8)],_0x12ad3a[_0xa29e73(0x104)][_0xa29e73(0x145)]=_0x58688c[_0xa29e73(0x12d)],_0x12ad3a[_0xa29e73(0xee)][_0xa29e73(0x145)]=_0x58688c['distanceFallOff'],_0x12ad3a[_0xa29e73(0x131)]['value']=_0x58688c[_0xa29e73(0xef)],_0x12ad3a[_0xa29e73(0x111)][_0xa29e73(0x145)]=_0x58688c[_0xa29e73(0xf6)],_0x12ad3a[_0xa29e73(0x122)][_0xa29e73(0x145)]=_0x58688c[_0xa29e73(0x128)],this['gtaoPass']&&(this[_0xa29e73(0xf9)][_0xa29e73(0x12d)][_0xa29e73(0x145)]=_0x58688c[_0xa29e73(0x12d)],this[_0xa29e73(0xf9)][_0xa29e73(0x10a)][_0xa29e73(0x145)]=_0x58688c[_0xa29e73(0x10a)],this[_0xa29e73(0xf9)][_0xa29e73(0xef)][_0xa29e73(0x145)]=_0x58688c[_0xa29e73(0xef)],this[_0xa29e73(0xf9)][_0xa29e73(0xe8)][_0xa29e73(0x145)]=_0x58688c['scale'],this[_0xa29e73(0xf9)][_0xa29e73(0xf6)][_0xa29e73(0x145)]=_0x58688c[_0xa29e73(0xf6)],this[_0xa29e73(0xf9)][_0xa29e73(0x128)][_0xa29e73(0x145)]=_0x58688c['samples'],this[_0xa29e73(0xf9)]['useTemporalFiltering']=_0x58688c[_0xa29e73(0x137)]));const _0x330ef4=this[_0xa29e73(0x132)](exports.PostProcessStepType[_0xa29e73(0xca)]);_0x330ef4&&(_0x12ad3a[_0xa29e73(0x105)][_0xa29e73(0x145)]=_0x330ef4[_0xa29e73(0x141)],_0x12ad3a['outlineEdgeGlow'][_0xa29e73(0x145)]=_0x330ef4[_0xa29e73(0xe7)],_0x12ad3a[_0xa29e73(0x124)]['value']=_0x330ef4[_0xa29e73(0x114)],_0x12ad3a[_0xa29e73(0xf8)][_0xa29e73(0x145)]=_0x330ef4[_0xa29e73(0xf7)],_0x12ad3a[_0xa29e73(0x139)][_0xa29e73(0x145)][_0xa29e73(0x127)](_0x330ef4[_0xa29e73(0x109)]),_0x12ad3a['outlineHiddenEdgeColor'][_0xa29e73(0x145)][_0xa29e73(0x127)](_0x330ef4[_0xa29e73(0xdb)]),this[_0xa29e73(0x13a)]&&(this[_0xa29e73(0x13a)][_0xa29e73(0x101)][_0xa29e73(0x145)]=_0x330ef4[_0xa29e73(0xe7)],this[_0xa29e73(0x13a)][_0xa29e73(0x116)][_0xa29e73(0x145)]=_0x330ef4['edgeThickness'],this[_0xa29e73(0x13a)][_0xa29e73(0xdc)]=this[_0xa29e73(0xcb)]));}[_0x1e27d4(0xeb)](_0x5a4b46){const _0x31e4c3=_0x1e27d4;this[_0x31e4c3(0x144)][_0x31e4c3(0x10d)]=_0x5a4b46,(!this[_0x31e4c3(0xe6)]||!this[_0x31e4c3(0xf2)])&&this[_0x31e4c3(0x119)](),this[_0x31e4c3(0x12f)](),this[_0x31e4c3(0xfa)]();}[_0x1e27d4(0x142)](_0x580fa2){const _0x503e33=_0x1e27d4;!this['outlineObjects']['includes'](_0x580fa2)&&(this[_0x503e33(0xcb)][_0x503e33(0xed)](_0x580fa2),this[_0x503e33(0x13a)]&&(this[_0x503e33(0x13a)][_0x503e33(0xdc)]=this[_0x503e33(0xcb)])),this[_0x503e33(0xfa)]();}[_0x1e27d4(0x143)](_0x2c6d16){const _0x8b0e8a=_0x1e27d4;this[_0x8b0e8a(0xcb)]['length']=0x0,this['outlineObjects'][_0x8b0e8a(0xed)](..._0x2c6d16),this[_0x8b0e8a(0x13a)]&&(this[_0x8b0e8a(0x13a)][_0x8b0e8a(0xdc)]=this[_0x8b0e8a(0xcb)]),this[_0x8b0e8a(0xfa)]();}[_0x1e27d4(0x134)](_0x1c3ce4){const _0x37dbd9=_0x1e27d4,_0xf58da3=this[_0x37dbd9(0xcb)][_0x37dbd9(0xec)](_0x1c3ce4);_0xf58da3>-1&&(this[_0x37dbd9(0xcb)]['splice'](_0xf58da3,0x1),this[_0x37dbd9(0x13a)]&&(this['outlinePass'][_0x37dbd9(0xdc)]=this['outlineObjects'])),this[_0x37dbd9(0xfa)]();}[_0x1e27d4(0x10f)](_0xa8b7ec){const _0x729c10=_0x1e27d4;this[_0x729c10(0x133)]=_0xa8b7ec,this[_0x729c10(0x119)](),this['updateAllUniforms'](),this[_0x729c10(0xfa)]();}[_0x1e27d4(0x118)](){const _0x1836e6=_0x1e27d4;return this[_0x1836e6(0x133)];}[_0x1e27d4(0xe3)](){const _0x5899c0=_0x1e27d4;if(this['postProcessing'])return this['postProcessing'][_0x5899c0(0xe3)](),!![];return ![];}[_0x1e27d4(0xe9)](){const _0x5562d6=_0x1e27d4;this[_0x5562d6(0xcb)]=[],this[_0x5562d6(0xe6)]=null,this[_0x5562d6(0x13a)]=null,this[_0x5562d6(0x12e)]=null,this[_0x5562d6(0x11f)]=null,this[_0x5562d6(0xf9)]=null,this[_0x5562d6(0xd1)]=null,this[_0x5562d6(0x135)]=null,this['lut3dTexture']=null,this[_0x5562d6(0xf2)]&&(this[_0x5562d6(0xf2)]['dispose'](),this['postProcessing']=null);}['markDirty'](){const _0x5f337a=_0x1e27d4;this[_0x5f337a(0xf4)]&&this[_0x5f337a(0xf4)]();}}
|
|
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)]();}}
|
|
65
65
|
|
|
66
|
-
const _0x1cd258=_0xf0dd;(function(_0x5829eb,_0x1893ef){const _0x281e9d=_0xf0dd,_0x4a5310=_0x5829eb();while(!![]){try{const _0x23e43c=parseInt(_0x281e9d(0x150))/0x1*(-parseInt(_0x281e9d(0xf5))/0x2)+parseInt(_0x281e9d(0x13a))/0x3+-parseInt(_0x281e9d(0x13b))/0x4+-parseInt(_0x281e9d(0x10f))/0x5*(-parseInt(_0x281e9d(0x132))/0x6)+parseInt(_0x281e9d(0xf8))/0x7*(parseInt(_0x281e9d(0x12f))/0x8)+-parseInt(_0x281e9d(0x158))/0x9*(parseInt(_0x281e9d(0x12d))/0xa)+parseInt(_0x281e9d(0x14b))/0xb;if(_0x23e43c===_0x1893ef)break;else _0x4a5310['push'](_0x4a5310['shift']());}catch(_0x35240f){_0x4a5310['push'](_0x4a5310['shift']());}}}(_0x55d3,0x511c1));function _0x55d3(){const _0x36c4be=['updatePostProcess','depth','isRenderStateDirty','0px','_renderer','879555HDCsPa','1382840efmIXy','domElement','markRenderStateDirty','alpha','devicePixelRatio','toDataURL','position','postProcessParam','dispose','toneMappingExposure','zIndex','updateCamera','100%','top','observe','div','3688168geJksW','updateSteps','absolute','onWindowResize','.scene-uiLayer','71OXzZqv','labelRenderer','isLabelRendererNeeded','setShadowMapEnabled','querySelector','_outerContainer','image/jpeg','scene','365049fefaUK','setToneMappingExposure','stencil','remove','setDepth','postProcessManager','toneMapping','disconnect','createLabelRenderer','height','renderer','7558EWbNQj','removeChild','render','18851tDBvYX','outputBufferType','_canvasContainer','clientHeight','clientWidth','init','none','setup','setSize','drawImage','updateRendererSettings','destroy','_uiDom','shadowMapType','canvas','createRenderer','addOutlineObject','removeOutlineObject','isUILayerNeeded','forceWebGL','onAfterPostProcessRender','createElement','appendChild','307155ohlNdu','add','resizeObserver','createPostProcessManager','className','shadowMap','destroyPostProcess','left','samples','style','camera','getElementById','onCameraChangedDelegate','enabled','createUILayer','contentBoxSize','uiDom','setToneMapping','setupPostProcess','logarithmicDepthBuffer','assign','pointerEvents','outer','type','_app','setAlpha','Renderer\x20is\x20not\x20initialized','antialias','app','world','40mlbrAx','Can\x20not\x20create\x20context','696qVUQKE','elementId','renderAsImage','24TPhlAt','getContext','width'];_0x55d3=function(){return _0x36c4be;};return _0x55d3();}function _0xf0dd(_0x3664b7,_0x2988d1){_0x3664b7=_0x3664b7-0xef;const _0x55d386=_0x55d3();let _0xf0dd84=_0x55d386[_0x3664b7];return _0xf0dd84;}class Viewport{get[_0x1cd258(0x11f)](){const _0xbf84d9=_0x1cd258;return this[_0xbf84d9(0x104)];}get['canvas'](){const _0x21ebe6=_0x1cd258;return this[_0x21ebe6(0xfa)];}get[_0x1cd258(0x125)](){const _0x306876=_0x1cd258;return this[_0x306876(0x155)];}get[_0x1cd258(0xf4)](){const _0x3db703=_0x1cd258;if(!this[_0x3db703(0x139)])throw Error(_0x3db703(0x129));return this[_0x3db703(0x139)];}get[_0x1cd258(0x12b)](){const _0x4a4657=_0x1cd258;if(!this[_0x4a4657(0x127)])throw Error('App\x20is\x20not\x20initialized');return this[_0x4a4657(0x127)];}constructor(_0xfc5e28,_0x4bd627,_0x3187c6,_0x11fe8c){const _0x19e337=_0x1cd258;this['_uiDom']=null,this['_renderer']=null,this[_0x19e337(0x151)]=null,this[_0x19e337(0x127)]=null,this[_0x19e337(0x111)]=null,this['_outerContainer']=null,this[_0x19e337(0xfa)]=null,this[_0x19e337(0x137)]=!![],this['postProcessManager']=null,this[_0x19e337(0x142)]=Object[_0x19e337(0x123)]({},_0x11fe8c),this['_app']=_0xfc5e28,_0x4bd627[_0x19e337(0x130)]&&(this['_outerContainer']=document[_0x19e337(0x11a)](_0x4bd627['elementId'])),this['createRenderer'](_0x3187c6),_0x4bd627[_0x19e337(0x152)]&&this[_0x19e337(0xf2)](),_0x4bd627[_0x19e337(0x10a)]&&this[_0x19e337(0x11d)](),this['_outerContainer']&&(this[_0x19e337(0x111)]=new ResizeObserver(_0x449db7=>{const _0x12f319=_0x19e337;for(let _0xd6ad89 of _0x449db7){_0xd6ad89[_0x12f319(0x11e)]&&this['onWindowResize']();}}),this[_0x19e337(0x111)][_0x19e337(0x149)](this['_outerContainer'])),this[_0x19e337(0x12b)][_0x19e337(0x11b)][_0x19e337(0x110)](()=>{const _0xc6758e=_0x19e337;this[_0xc6758e(0xef)]&&(this[_0xc6758e(0xef)][_0xc6758e(0x146)](this[_0xc6758e(0x12b)][_0xc6758e(0x119)]),this[_0xc6758e(0xef)][_0xc6758e(0xff)]());});}[_0x1cd258(0x107)](_0x1fef83){const _0x11a48d=_0x1cd258;this[_0x11a48d(0x155)]&&!this[_0x11a48d(0xfa)]&&(this['_canvasContainer']=document[_0x11a48d(0x10d)](_0x11a48d(0x14a)),this[_0x11a48d(0xfa)][_0x11a48d(0x118)][_0x11a48d(0x116)]=_0x11a48d(0x138),this[_0x11a48d(0xfa)][_0x11a48d(0x118)][_0x11a48d(0x148)]='0px',this[_0x11a48d(0xfa)]['style']['width']=_0x11a48d(0x147),this['_canvasContainer'][_0x11a48d(0x118)][_0x11a48d(0xf3)]=_0x11a48d(0x147),this[_0x11a48d(0x155)]['appendChild'](this[_0x11a48d(0xfa)]));const _0x4fc9ae=this['_canvasContainer'];this[_0x11a48d(0x139)]&&(_0x4fc9ae&&_0x4fc9ae[_0x11a48d(0xf6)](this['_renderer']['domElement']),this[_0x11a48d(0x139)][_0x11a48d(0x143)]());let _0x3d1506=_0x4fc9ae?_0x4fc9ae['clientWidth']:0x200,_0x29bf44=_0x4fc9ae?_0x4fc9ae['clientHeight']:0x200,_0x42294c={};_0x42294c[_0x11a48d(0x10b)]=_0x1fef83['forceWebGL'],_0x42294c[_0x11a48d(0x12a)]=_0x1fef83[_0x11a48d(0x12a)],_0x42294c[_0x11a48d(0x136)]=_0x1fef83[_0x11a48d(0x136)],_0x42294c[_0x11a48d(0x15a)]=_0x1fef83[_0x11a48d(0x15a)],_0x42294c['alpha']=_0x1fef83[_0x11a48d(0x13e)],_0x42294c[_0x11a48d(0x122)]=_0x1fef83[_0x11a48d(0x122)],_0x42294c[_0x11a48d(0x117)]=_0x1fef83['samples'],_0x42294c[_0x11a48d(0xf9)]=_0x1fef83[_0x11a48d(0xf9)],this[_0x11a48d(0x139)]=new webgpu.WebGPURenderer(_0x42294c),this[_0x11a48d(0x139)]['setPixelRatio'](window[_0x11a48d(0x13f)]),this[_0x11a48d(0x139)][_0x11a48d(0x100)](_0x3d1506,_0x29bf44),this[_0x11a48d(0x139)]['shadowMap'][_0x11a48d(0x11c)]=_0x1fef83['shadowMapEnabled'],this['_renderer'][_0x11a48d(0x114)]['type']=_0x1fef83[_0x11a48d(0x105)],this[_0x11a48d(0x139)][_0x11a48d(0xf0)]=_0x1fef83['toneMapping'],this[_0x11a48d(0x139)][_0x11a48d(0x144)]=_0x1fef83[_0x11a48d(0x144)],this[_0x11a48d(0x139)]['setClearAlpha'](0x0),_0x4fc9ae&&_0x4fc9ae[_0x11a48d(0x10e)](this[_0x11a48d(0x139)][_0x11a48d(0x13c)]);}[_0x1cd258(0xf2)](){const _0x273970=_0x1cd258,_0xf14782=this[_0x273970(0x155)];this[_0x273970(0x151)]&&(_0xf14782&&_0xf14782[_0x273970(0xf6)](this[_0x273970(0x151)]['domElement']));let _0x3e396c=_0xf14782?_0xf14782['clientWidth']:0x200,_0x286f02=_0xf14782?_0xf14782[_0x273970(0xfb)]:0x200;this[_0x273970(0x151)]=new Addons_js.CSS2DRenderer(),this[_0x273970(0x151)][_0x273970(0x100)](_0x3e396c,_0x286f02),this[_0x273970(0x151)][_0x273970(0x13c)][_0x273970(0x118)][_0x273970(0x124)]=_0x273970(0xfe),this['labelRenderer']['domElement'][_0x273970(0x118)][_0x273970(0x141)]=_0x273970(0x14d),this[_0x273970(0x151)]['domElement'][_0x273970(0x118)][_0x273970(0x148)]=_0x273970(0x138),this[_0x273970(0x151)][_0x273970(0x13c)]['className']='scene-labelRenderer',_0xf14782&&_0xf14782[_0x273970(0x10e)](this[_0x273970(0x151)][_0x273970(0x13c)]);}['createUILayer'](){const _0x3b1043=_0x1cd258;if(!this[_0x3b1043(0x155)])return;let _0x5a4e34=this[_0x3b1043(0x155)][_0x3b1043(0x154)](_0x3b1043(0x14f));!_0x5a4e34&&(_0x5a4e34=document['createElement']('div'),_0x5a4e34[_0x3b1043(0x113)]='scene-uiLayer',_0x5a4e34['id']='scene-uiLayer',_0x5a4e34[_0x3b1043(0x118)]['position']='absolute',_0x5a4e34['style'][_0x3b1043(0x116)]='0',_0x5a4e34[_0x3b1043(0x118)]['top']='0',_0x5a4e34[_0x3b1043(0x118)][_0x3b1043(0x134)]=_0x3b1043(0x147),_0x5a4e34[_0x3b1043(0x118)]['height']=_0x3b1043(0x147),_0x5a4e34[_0x3b1043(0x118)][_0x3b1043(0x124)]=_0x3b1043(0xfe),_0x5a4e34['style'][_0x3b1043(0x145)]='10',this['_outerContainer'][_0x3b1043(0x10e)](_0x5a4e34),this[_0x3b1043(0x104)]=_0x5a4e34);}[_0x1cd258(0xfd)](){const _0x3e9811=_0x1cd258;this[_0x3e9811(0x121)]();}['setupPostProcess'](){const _0x36e0c1=_0x1cd258;!this['postProcessManager']&&(this[_0x36e0c1(0xef)]=this[_0x36e0c1(0x112)]()),this[_0x36e0c1(0xef)][_0x36e0c1(0xff)]();}[_0x1cd258(0x112)](){const _0x5eccec=_0x1cd258;return new PostProcessManager(this['renderer'],this[_0x5eccec(0x12b)][_0x5eccec(0x12c)][_0x5eccec(0x157)],this[_0x5eccec(0x12b)][_0x5eccec(0x119)],this[_0x5eccec(0x142)],()=>this[_0x5eccec(0x13d)]());}[_0x1cd258(0x135)](_0x3b2940){const _0x2b30ae=_0x1cd258;this[_0x2b30ae(0xef)]&&this[_0x2b30ae(0xef)][_0x2b30ae(0x14c)](_0x3b2940);}[_0x1cd258(0x102)](_0x445575){const _0x3659b5=_0x1cd258;this[_0x3659b5(0x107)](_0x445575),this['markRenderStateDirty']();}[_0x1cd258(0x108)](_0xe1538d){const _0x4c1fa4=_0x1cd258;this[_0x4c1fa4(0xef)]&&this['postProcessManager']['addOutlineObject'](_0xe1538d);}['setOutlineObjects'](_0x3cd8d1){const _0x583448=_0x1cd258;this['postProcessManager']&&this[_0x583448(0xef)]['setOutlineObjects'](_0x3cd8d1);}[_0x1cd258(0x109)](_0x24d2d1){const _0x13e52f=_0x1cd258;this[_0x13e52f(0xef)]&&this[_0x13e52f(0xef)][_0x13e52f(0x109)](_0x24d2d1);}['destroyPostProcess'](){const _0x96665=_0x1cd258;this[_0x96665(0xef)]&&(this[_0x96665(0xef)][_0x96665(0x103)](),this[_0x96665(0xef)]=null);}[_0x1cd258(0x14e)](){const _0x345a9f=_0x1cd258;let _0x4244ee=this[_0x345a9f(0x155)];if(!_0x4244ee)return;this[_0x345a9f(0x12b)][_0x345a9f(0x14e)](_0x4244ee['clientWidth'],_0x4244ee[_0x345a9f(0xfb)]),this['renderer'][_0x345a9f(0x100)](_0x4244ee['clientWidth'],_0x4244ee[_0x345a9f(0xfb)]);if(this[_0x345a9f(0x151)])this['labelRenderer'][_0x345a9f(0x100)](_0x4244ee[_0x345a9f(0xfc)],_0x4244ee[_0x345a9f(0xfb)]);this['markRenderStateDirty']();}[_0x1cd258(0x13d)](){const _0x55dd12=_0x1cd258;this[_0x55dd12(0x137)]=!![];}['render'](){const _0x4e658a=_0x1cd258;if(!this['isRenderStateDirty'])return;if(this['postProcessManager']&&this[_0x4e658a(0xef)]['render']());else this[_0x4e658a(0xf4)][_0x4e658a(0xf7)](this[_0x4e658a(0x12b)]['world'][_0x4e658a(0x157)],this[_0x4e658a(0x12b)][_0x4e658a(0x119)]);this[_0x4e658a(0x10c)](),this[_0x4e658a(0x151)]&&this[_0x4e658a(0x151)]['render'](this['app'][_0x4e658a(0x12c)][_0x4e658a(0x157)],this[_0x4e658a(0x12b)]['camera']),this[_0x4e658a(0x137)]=![];}[_0x1cd258(0x10c)](){}async[_0x1cd258(0x131)](_0x3c22d8=0x400,_0x5ba63c=0x400){const _0x391fd5=_0x1cd258;try{if(this[_0x391fd5(0xef)]&&this[_0x391fd5(0xef)][_0x391fd5(0xf7)]()){}else await this[_0x391fd5(0xf4)][_0x391fd5(0xf7)](this[_0x391fd5(0x12b)][_0x391fd5(0x12c)][_0x391fd5(0x157)],this[_0x391fd5(0x12b)][_0x391fd5(0x119)]);const _0x2ca501=this[_0x391fd5(0xf4)][_0x391fd5(0x13c)][_0x391fd5(0x134)],_0x32c6dc=this['renderer'][_0x391fd5(0x13c)][_0x391fd5(0xf3)];let _0x489378=_0x2ca501||_0x3c22d8,_0x4c9e3b=_0x32c6dc||_0x5ba63c;(_0x489378<=0x0||_0x4c9e3b<=0x0)&&(_0x489378=_0x3c22d8,_0x4c9e3b=_0x5ba63c);const _0x1ce679=document[_0x391fd5(0x10d)](_0x391fd5(0x106));_0x1ce679['width']=_0x3c22d8,_0x1ce679['height']=_0x5ba63c;const _0x55211d=_0x1ce679[_0x391fd5(0x133)]('2d');if(!_0x55211d)throw Error(_0x391fd5(0x12e));_0x55211d[_0x391fd5(0x101)](this[_0x391fd5(0xf4)][_0x391fd5(0x13c)],0x0,0x0,_0x489378,_0x4c9e3b,0x0,0x0,_0x3c22d8,_0x5ba63c);const _0xd10885=_0x1ce679[_0x391fd5(0x140)](_0x391fd5(0x156));return _0x1ce679[_0x391fd5(0x15b)](),_0xd10885;}catch(_0x2870e9){return '';}}[_0x1cd258(0x128)](_0x1d4936){const _0x104ef9=_0x1cd258;if(!this[_0x104ef9(0x139)])return;this['_renderer']['alpha']=_0x1d4936;}[_0x1cd258(0x153)](_0x3fef28){const _0x4b050f=_0x1cd258;if(!this[_0x4b050f(0x139)])return;this[_0x4b050f(0x139)][_0x4b050f(0x114)][_0x4b050f(0x11c)]=_0x3fef28;}['setShadowMapType'](_0x26ff89){const _0x355a30=_0x1cd258;if(!this[_0x355a30(0x139)])return;this[_0x355a30(0x139)][_0x355a30(0x114)][_0x355a30(0x126)]=_0x26ff89;}[_0x1cd258(0x120)](_0x2912c3){const _0x3c876b=_0x1cd258;if(!this[_0x3c876b(0x139)])return;this['_renderer'][_0x3c876b(0xf0)]=_0x2912c3;}[_0x1cd258(0x159)](_0x3c8a71){const _0x5b1116=_0x1cd258;if(!this[_0x5b1116(0x139)])return;this[_0x5b1116(0x139)][_0x5b1116(0x144)]=_0x3c8a71;}['setLogarithmicDepthBufferEnabled'](_0x19749e){const _0x2c18c7=_0x1cd258;if(!this[_0x2c18c7(0x139)])return;this[_0x2c18c7(0x139)][_0x2c18c7(0x122)]=_0x19749e;}[_0x1cd258(0x15c)](_0x7413e8){const _0x335e85=_0x1cd258;if(!this[_0x335e85(0x139)])return;this[_0x335e85(0x139)][_0x335e85(0x136)]=_0x7413e8;}['setStencil'](_0x365d3a){const _0xab9dee=_0x1cd258;if(!this['_renderer'])return;this[_0xab9dee(0x139)]['stencil']=_0x365d3a;}[_0x1cd258(0x103)](){const _0x16ff00=_0x1cd258;this[_0x16ff00(0x115)](),this[_0x16ff00(0xf4)]['setAnimationLoop'](null),this[_0x16ff00(0x111)]&&(this[_0x16ff00(0x111)][_0x16ff00(0xf1)](),this[_0x16ff00(0x111)]=null),this[_0x16ff00(0x151)]&&(this[_0x16ff00(0x151)][_0x16ff00(0x13c)][_0x16ff00(0x15b)](),this[_0x16ff00(0x151)]=null),this[_0x16ff00(0x139)]&&(this['renderer']['domElement'][_0x16ff00(0x15b)](),this[_0x16ff00(0x139)][_0x16ff00(0x143)](),this[_0x16ff00(0x139)]=null),this[_0x16ff00(0xfa)]&&(this['_canvasContainer'][_0x16ff00(0x15b)](),this['_canvasContainer']=null),this['_outerContainer']=null,this[_0x16ff00(0x127)]=null;}}
|
|
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;}}
|
|
67
67
|
|
|
68
|
-
var
|
|
68
|
+
function _0x1a57(){var _0x9f32bb=['535581edqPiN','camera','Control\x20not\x20initialized','882uswsBw','possess','6349ugzaZy','destroy','controller','stopFocusing','unpossess','258700RsazNB','tick','getFocuingData','533710rvkrWp','4OHQfSG','49459ZITTWW','_control','3WVsoky','control','1088080TYEfxr','enabled','79724ZBaKZS','isTickEnabled'];_0x1a57=function(){return _0x9f32bb;};return _0x1a57();}var _0x51f6a7=_0x1a75;(function(_0x13e4cc,_0x553395){var _0x3edc2f=_0x1a75,_0x19bf3d=_0x13e4cc();while(!![]){try{var _0xff6ce3=-parseInt(_0x3edc2f(0x1f1))/0x1*(parseInt(_0x3edc2f(0x1f0))/0x2)+-parseInt(_0x3edc2f(0x1f3))/0x3*(parseInt(_0x3edc2f(0x1f7))/0x4)+-parseInt(_0x3edc2f(0x1ef))/0x5+-parseInt(_0x3edc2f(0x1fc))/0x6*(-parseInt(_0x3edc2f(0x1fe))/0x7)+parseInt(_0x3edc2f(0x1f5))/0x8+parseInt(_0x3edc2f(0x1f9))/0x9+parseInt(_0x3edc2f(0x203))/0xa;if(_0xff6ce3===_0x553395)break;else _0x19bf3d['push'](_0x19bf3d['shift']());}catch(_0x41cc46){_0x19bf3d['push'](_0x19bf3d['shift']());}}}(_0x1a57,0x1f867));function _0x1a75(_0x184c27,_0x5cc2ae){_0x184c27=_0x184c27-0x1ef;var _0x1a57b4=_0x1a57();var _0x1a75e4=_0x1a57b4[_0x184c27];return _0x1a75e4;}class Pawn{get[_0x51f6a7(0x1fa)](){var _0x437c03=_0x51f6a7;return this[_0x437c03(0x200)][_0x437c03(0x1fa)];}set[_0x51f6a7(0x1f6)](_0x23c3d0){var _0x249e8b=_0x51f6a7;this[_0x249e8b(0x1f4)][_0x249e8b(0x1f6)]=_0x23c3d0;}get[_0x51f6a7(0x1f4)](){var _0x83225=_0x51f6a7;if(!this['_control'])throw new Error(_0x83225(0x1fb));return this[_0x83225(0x1f2)];}constructor(_0x50ce08){var _0x562a72=_0x51f6a7;this['_control']=null,this[_0x562a72(0x1f8)]=![],this[_0x562a72(0x200)]=_0x50ce08;}[_0x51f6a7(0x204)](_0x3b9a63){return;}[_0x51f6a7(0x1fd)](){}[_0x51f6a7(0x202)](){}['focusTo'](_0x5969cc,_0x3311f5,_0x294a33,_0x927b07,_0x51c5ae=null,_0x558cd9=null){}[_0x51f6a7(0x201)](){}[_0x51f6a7(0x205)](){return null;}[_0x51f6a7(0x1ff)](){}}
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
const _0x58fa44=_0x1db9;(function(_0x27038d,_0x384ded){const _0x3db80a=_0x1db9,_0x4bfd77=_0x27038d();while(!![]){try{const _0x3b255a=parseInt(_0x3db80a(0x18d))/0x1+-parseInt(_0x3db80a(0x193))/0x2*(parseInt(_0x3db80a(0x196))/0x3)+-parseInt(_0x3db80a(0x180))/0x4*(-parseInt(_0x3db80a(0x1a0))/0x5)+-parseInt(_0x3db80a(0x181))/0x6+parseInt(_0x3db80a(0x1a2))/0x7*(parseInt(_0x3db80a(0x19d))/0x8)+parseInt(_0x3db80a(0x186))/0x9*(-parseInt(_0x3db80a(0x183))/0xa)+parseInt(_0x3db80a(0x19e))/0xb;if(_0x3b255a===_0x384ded)break;else _0x4bfd77['push'](_0x4bfd77['shift']());}catch(_0x4b3e34){_0x4bfd77['push'](_0x4bfd77['shift']());}}}(_0x1114,0x4a1de));function _0x1db9(_0x20c483,_0x5db3ce){_0x20c483=_0x20c483-0x17c;const _0x11148c=_0x1114();let _0x1db90f=_0x11148c[_0x20c483];return _0x1db90f;}function _0x1114(){const _0x3a0c8c=['camera','subVectors','length','251392aaTErj','4933489gnxMFh','anim','13530WOUdhY','changeEvent','7DpygVW','target','change','copy','control','distanceTo','position','viewPort','possess','484XPNGMl','535476TUrbNl','normalize','3463010fOAmUg','unpossess','focusTo','9mvaViF','removeEventListener','setFromEuler','quaternion','canvas','addEventListener','clone','154604qXHYXU','object','_control','onChange','multiplyScalar','set','63664MbEYDh','update','isEuler','21DLLEaz','controller','stopFocusing','getFocuingData'];_0x1114=function(){return _0x3a0c8c;};return _0x1114();}class Orbital extends Pawn{get[_0x58fa44(0x1a6)](){const _0x34cc30=_0x58fa44;if(!this['_control'])throw new Error('Control\x20not\x20initialized');return this[_0x34cc30(0x18f)];}get[_0x58fa44(0x19a)](){const _0x23cbbc=_0x58fa44;return this[_0x23cbbc(0x197)][_0x23cbbc(0x19a)];}constructor(_0x2cbd8b){const _0x5366cf=_0x58fa44;super(_0x2cbd8b),this['anim']=null,this[_0x5366cf(0x1a1)]=()=>{const _0x1e681e=_0x5366cf;this[_0x1e681e(0x190)]();},this[_0x5366cf(0x18f)]=new Addons_js.OrbitControls(_0x2cbd8b[_0x5366cf(0x19a)],_0x2cbd8b[_0x5366cf(0x17e)][_0x5366cf(0x18a)]),this[_0x5366cf(0x1a6)][_0x5366cf(0x1a3)][_0x5366cf(0x192)](0x0,0x0,0x0),_0x2cbd8b['camera'][_0x5366cf(0x17d)][_0x5366cf(0x192)](0x0,0x4,0x4),this[_0x5366cf(0x1a6)]['update']();}['possess'](){const _0x6a70a2=_0x58fa44;super[_0x6a70a2(0x17f)](),this[_0x6a70a2(0x1a6)][_0x6a70a2(0x18b)](_0x6a70a2(0x1a4),this['changeEvent']);}[_0x58fa44(0x184)](){const _0x5effea=_0x58fa44;super[_0x5effea(0x184)](),this['control'][_0x5effea(0x187)]('change',this[_0x5effea(0x1a1)]);}[_0x58fa44(0x190)](){const _0x38b1eb=_0x58fa44;this[_0x38b1eb(0x197)][_0x38b1eb(0x17e)]['markRenderStateDirty']();}[_0x58fa44(0x185)](_0x1b5a38,_0x5cb96b,_0x4bacdd,_0x251997,_0x2b0828=null,_0x31b99a=null){const _0x4dbf2e=_0x58fa44;this[_0x4dbf2e(0x198)]();let _0x14290f=null;(_0x5cb96b===null||_0x5cb96b===void 0?void 0:_0x5cb96b[_0x4dbf2e(0x195)])?_0x14290f=new webgpu.Quaternion()[_0x4dbf2e(0x188)](_0x5cb96b):_0x14290f=_0x5cb96b;!_0x5cb96b&&(_0x14290f=this[_0x4dbf2e(0x197)][_0x4dbf2e(0x19a)][_0x4dbf2e(0x189)]);_0x14290f[_0x4dbf2e(0x182)]();let _0x57cbe3=new webgpu.Vector3(0x0,0x0,0x1);_0x57cbe3['applyQuaternion'](_0x14290f)[_0x4dbf2e(0x191)](-1),_0x57cbe3[_0x4dbf2e(0x182)]();let _0x464187=this[_0x4dbf2e(0x19a)][_0x4dbf2e(0x17d)]['clone'](),_0x4f7ed1=new webgpu.Vector3(_0x1b5a38['x']+_0x57cbe3['x']*_0x4bacdd*-1,_0x1b5a38['y']+_0x57cbe3['y']*_0x4bacdd*-1,_0x1b5a38['z']+_0x57cbe3['z']*_0x4bacdd*-1),_0x26b4eb=new webgpu.Vector3()['subVectors'](_0x4f7ed1,_0x464187),_0x44a160=_0x26b4eb['length']();_0x26b4eb[_0x4dbf2e(0x182)]();let _0x43d5ea=this[_0x4dbf2e(0x1a6)][_0x4dbf2e(0x1a3)][_0x4dbf2e(0x18c)](),_0x1a6d60=new webgpu.Vector3()[_0x4dbf2e(0x19b)](_0x1b5a38,_0x43d5ea),_0x4c5dc7=_0x1a6d60[_0x4dbf2e(0x19c)]();_0x1a6d60[_0x4dbf2e(0x182)]();if(_0x44a160+_0x4c5dc7<0.1)return;const _0x3c146b=this;let _0x819e73={'alpha':0x0};this[_0x4dbf2e(0x19f)]=gsap.gsap['to'](_0x819e73,{'duration':_0x251997,'alpha':0x1,'onUpdate':()=>{const _0x3a3cbc=_0x4dbf2e;let _0x625157=_0x819e73['alpha'],_0x64de5c=new webgpu.Vector3(_0x464187['x']+_0x26b4eb['x']*_0x625157*_0x44a160,_0x464187['y']+_0x26b4eb['y']*_0x625157*_0x44a160,_0x464187['z']+_0x26b4eb['z']*_0x625157*_0x44a160),_0x2b52a6=new webgpu.Vector3(_0x43d5ea['x']+_0x1a6d60['x']*_0x625157*_0x4c5dc7,_0x43d5ea['y']+_0x1a6d60['y']*_0x625157*_0x4c5dc7,_0x43d5ea['z']+_0x1a6d60['z']*_0x625157*_0x4c5dc7);_0x3c146b[_0x3a3cbc(0x1a6)][_0x3a3cbc(0x18e)]['position'][_0x3a3cbc(0x1a5)](_0x64de5c),_0x3c146b[_0x3a3cbc(0x1a6)][_0x3a3cbc(0x1a3)][_0x3a3cbc(0x1a5)](_0x2b52a6),_0x3c146b[_0x3a3cbc(0x1a6)][_0x3a3cbc(0x194)]();_0x2b0828&&_0x2b0828();if(_0x3c146b['controller'][_0x3a3cbc(0x17e)])_0x3c146b[_0x3a3cbc(0x197)]['viewPort']['markRenderStateDirty']();},'onComplete':function(){const _0x36972b=_0x4dbf2e;_0x31b99a&&_0x31b99a();if(_0x3c146b[_0x36972b(0x197)][_0x36972b(0x17e)])_0x3c146b[_0x36972b(0x197)][_0x36972b(0x17e)]['markRenderStateDirty']();}});}[_0x58fa44(0x199)](){const _0x4118b8=_0x58fa44;if(!this[_0x4118b8(0x1a6)]||!this['camera'])return null;const _0x387f10=this['camera'][_0x4118b8(0x17d)]['clone'](),_0x3f384a=this['camera'][_0x4118b8(0x189)][_0x4118b8(0x18c)](),_0xc54054=this['control']['target'][_0x4118b8(0x18c)](),_0x22202f=_0x387f10[_0x4118b8(0x17c)](_0xc54054);return {'position':_0xc54054,'quaternion':_0x3f384a,'distance':_0x22202f};}['stopFocusing'](){const _0x598633=_0x58fa44;this[_0x598633(0x19f)]&&this[_0x598633(0x19f)]['kill'](),this['anim']=null;}}
|
|
71
71
|
|
|
72
|
-
function _0x1e36(){const _0x37f8a6=['pawn\x20is\x20null','canvas','firePointerDownEvent','addEventListener','copy','onPointerMove','subVectors','hoveringComponent','object','isHoverEnabled','pointerPosition','onActorClick','890288KmNEMC','onComponentHoverEndDelegate','onPointerEnterEvent','updateCamera','scene','children','onPointerEnter','fireActorHoverBegin','prepareClickHit','init','hit','enabled','tick','unpossess','handled','pointerenter','getAllHitResultFromScreenPoint','push','8641567wtUKWF','fireComponentHoverBegin','ctrlKey','fireActorHoverEnd','leftClickTimer','parentActor','10FsRtRb','isClickEnabled','onPointerUpEvent','397722zwYMwJ','_tempVec2','_app','_onActorDoubleClickDelegate','viewPort','shiftKey','_onComponentHoverEndDelegate','focusTo','_pawn','component','_onComponentHoverBeginDelegate','LYObject','_onActorHoverBeginDelegate','onPointerMoveEvent','onComponentHoverBeginDelegate','clientHeight','onHorveringBegin','_onActorHoverEndDelegate','pointerleave','onActorHoverEndDelegate','onPointerDown','_onComponentDoubleClickDelegate','altKey','pointermove','onPointerUp','7531866JwkNdO','top','pawn','removeCorePointerListeners','fireClickEvents','prepareClickModifiers','onClickNothingDelegate','onComponentClickDelegate','prepareClickComponent','assign','2973sdZYsr','possess','viewport','2072vjjeXq','hoveringActor','raycaster','setFromCamera','pointerup','destroy','doubleClickDelay','pointerdown','camera','handleFirstClick','15022EPQumM','_onComponentClickDelegate','userData','clearHovering','getHitResultUnderCursor','world','onPointerLeave','add','broadcast','_onActorClickDelegate','onActorClickDelegate','fireActorClick','clearClickTimer','pointerLeftDownPosition','656gKrdLn','app','onClicked','clearTimeout','fireComponentClick','setTimeout','fireComponentHoverEnd','_onComponentPointerDownDelegate','set','getHitResultFromScreenPoint','onHorveringEnd','_onClickNothingDelegate','addCorePointerListeners','handleDoubleClick','delete','removeEventListener','onPointerDownEvent','onActorHoverBeginDelegate','button','_raycastVec2','35TKoxst','onComponentDoubleClickDelegate','_pointButtonIsDown','925762wdeXSh','onActorHoverEnd','size'];_0x1e36=function(){return _0x37f8a6;};return _0x1e36();}const _0x474fb2=_0x53f5;(function(_0x17990a,_0x2900ae){const _0x2fb91b=_0x53f5,_0x360e89=_0x17990a();while(!![]){try{const _0x175176=parseInt(_0x2fb91b(0x166))/0x1+-parseInt(_0x2fb91b(0x157))/0x2+-parseInt(_0x2fb91b(0x125))/0x3*(-parseInt(_0x2fb91b(0x140))/0x4)+-parseInt(_0x2fb91b(0x154))/0x5*(-parseInt(_0x2fb91b(0x102))/0x6)+-parseInt(_0x2fb91b(0x132))/0x7*(parseInt(_0x2fb91b(0x128))/0x8)+-parseInt(_0x2fb91b(0x11b))/0x9+-parseInt(_0x2fb91b(0xff))/0xa*(-parseInt(_0x2fb91b(0xf9))/0xb);if(_0x175176===_0x2900ae)break;else _0x360e89['push'](_0x360e89['shift']());}catch(_0x23fc06){_0x360e89['push'](_0x360e89['shift']());}}}(_0x1e36,0x6d181));function _0x53f5(_0x549432,_0x3ec89e){_0x549432=_0x549432-0xf3;const _0x1e3603=_0x1e36();let _0x53f5ba=_0x1e3603[_0x549432];return _0x53f5ba;}class Controller{get[_0x474fb2(0x130)](){const _0x1dd0d4=_0x474fb2;return this[_0x1dd0d4(0x104)][_0x1dd0d4(0x130)];}get['world'](){const _0x52aa9a=_0x474fb2;return this[_0x52aa9a(0x104)][_0x52aa9a(0x137)];}get[_0x474fb2(0x106)](){const _0x30689c=_0x474fb2;return this[_0x30689c(0x104)][_0x30689c(0x127)];}get[_0x474fb2(0x141)](){const _0x3ab701=_0x474fb2;return this[_0x3ab701(0x104)];}get[_0x474fb2(0x11d)](){const _0x5d6233=_0x474fb2;if(!this[_0x5d6233(0x10a)])throw Error(_0x5d6233(0x15a));return this[_0x5d6233(0x10a)];}get[_0x474fb2(0x122)](){return this['_onComponentClickDelegate'];}get[_0x474fb2(0x155)](){const _0x1d085d=_0x474fb2;return this[_0x1d085d(0x117)];}get[_0x474fb2(0x110)](){const _0x1afcc5=_0x474fb2;return this[_0x1afcc5(0x10c)];}get[_0x474fb2(0x167)](){const _0x19444b=_0x474fb2;return this[_0x19444b(0x108)];}get['onComponentPointerDownDelegate'](){const _0x3e7f2d=_0x474fb2;return this[_0x3e7f2d(0x147)];}get[_0x474fb2(0x13c)](){const _0xe90b4f=_0x474fb2;return this[_0xe90b4f(0x13b)];}get['onActorDoubleClickDelegate'](){const _0x16bb46=_0x474fb2;return this[_0x16bb46(0x105)];}get[_0x474fb2(0x151)](){const _0x56ecb3=_0x474fb2;return this[_0x56ecb3(0x10e)];}get[_0x474fb2(0x115)](){return this['_onActorHoverEndDelegate'];}get[_0x474fb2(0x121)](){const _0x343e82=_0x474fb2;return this[_0x343e82(0x14b)];}constructor(_0x4e8385){const _0x17b5a9=_0x474fb2;this['_pawn']=null,this[_0x17b5a9(0x161)]=null,this[_0x17b5a9(0x129)]=null,this['prepareClickComponent']=null,this[_0x17b5a9(0x16e)]=null,this[_0x17b5a9(0x120)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this['_pointButtonIsDown']=new Set(),this[_0x17b5a9(0x133)]=new Delegate(),this['_onComponentDoubleClickDelegate']=new Delegate(),this[_0x17b5a9(0x10c)]=new Delegate(),this[_0x17b5a9(0x108)]=new Delegate(),this[_0x17b5a9(0x147)]=new Delegate(),this[_0x17b5a9(0x13b)]=new Delegate(),this[_0x17b5a9(0x105)]=new Delegate(),this[_0x17b5a9(0x10e)]=new Delegate(),this[_0x17b5a9(0x113)]=new Delegate(),this[_0x17b5a9(0x14b)]=new Delegate(),this['pointerPosition']=new webgpu.Vector2(),this['pointerLeftDownPosition']=new webgpu.Vector2(),this[_0x17b5a9(0x103)]=new webgpu.Vector2(),this[_0x17b5a9(0x153)]=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x17b5a9(0xfd)]=null,this['onPointerMove']=_0x582397=>this[_0x17b5a9(0x10f)](_0x582397),this[_0x17b5a9(0x16c)]=_0x26e1e4=>this[_0x17b5a9(0x168)](_0x26e1e4),this['onPointerLeave']=_0xef8d2c=>this['onPointerLeaveEvent'](_0xef8d2c),this['onPointerUp']=_0x329fd4=>this[_0x17b5a9(0x101)](_0x329fd4),this[_0x17b5a9(0x116)]=_0x2a095a=>this[_0x17b5a9(0x150)](_0x2a095a),this['_app']=_0x4e8385,this[_0x17b5a9(0x10a)]=new Orbital(this),this[_0x17b5a9(0x11d)][_0x17b5a9(0x126)](),this['raycaster']=new webgpu.Raycaster();}[_0x474fb2(0x16f)](){const _0x1c4a37=_0x474fb2,_0x52d25a=this['viewPort'][_0x1c4a37(0x15b)];_0x52d25a&&(_0x52d25a['addEventListener'](_0x1c4a37(0xf6),this[_0x1c4a37(0x16c)]),_0x52d25a[_0x1c4a37(0x15d)](_0x1c4a37(0x114),this[_0x1c4a37(0x138)]),this[_0x1c4a37(0x14c)]());}[_0x474fb2(0x169)](){const _0x4095d9=_0x474fb2;var _0x5ee22b,_0x3b4b38;const _0x716dc9=this[_0x4095d9(0x11d)][_0x4095d9(0x171)];(_0x5ee22b=this[_0x4095d9(0x10a)])===null||_0x5ee22b===void 0?void 0:_0x5ee22b[_0x4095d9(0xf4)](),(_0x3b4b38=this['_pawn'])===null||_0x3b4b38===void 0?void 0:_0x3b4b38[_0x4095d9(0x12d)](),this[_0x4095d9(0x10a)]=new Orbital(this),this['pawn'][_0x4095d9(0x126)](),this[_0x4095d9(0x11d)][_0x4095d9(0x171)]=_0x716dc9;}[_0x474fb2(0xf3)](_0x2fc7d6){const _0x240ad7=_0x474fb2;this[_0x240ad7(0x11d)][_0x240ad7(0xf3)](_0x2fc7d6);}[_0x474fb2(0x12d)](){const _0x4d8bd0=_0x474fb2;this['clearClickTimer'](),this[_0x4d8bd0(0x135)]();const _0xd31731=this[_0x4d8bd0(0x106)][_0x4d8bd0(0x15b)];_0xd31731&&(_0xd31731['removeEventListener']('pointerenter',this[_0x4d8bd0(0x16c)]),_0xd31731[_0x4d8bd0(0x14f)](_0x4d8bd0(0x114),this['onPointerLeave']),this[_0x4d8bd0(0x11e)]()),this[_0x4d8bd0(0x11d)][_0x4d8bd0(0xf4)](),this[_0x4d8bd0(0x11d)][_0x4d8bd0(0x12d)](),this['_pawn']=null;}[_0x474fb2(0x10f)](_0x226186){const _0x40d42e=_0x474fb2;var _0x10beee,_0x106812;const _0x21053d=this['viewPort'][_0x40d42e(0x15b)];if(!_0x21053d)throw Error('canvas\x20is\x20null');const _0x34e630=_0x21053d['getBoundingClientRect']();this['pointerPosition'][_0x40d42e(0x148)]((_0x226186['clientX']-_0x34e630['left'])/_0x21053d['clientWidth']*0x2-0x1,0x1-(_0x226186['clientY']-_0x34e630[_0x40d42e(0x11c)])/_0x21053d[_0x40d42e(0x111)]*0x2);if(this['_pointButtonIsDown'][_0x40d42e(0x159)]>0x0)return;const _0x359f79=this['getHitResultUnderCursor'](),_0x2e1939=(_0x10beee=_0x359f79===null||_0x359f79===void 0?void 0:_0x359f79['component'])!==null&&_0x10beee!==void 0?_0x10beee:null,_0x40ff0a=(_0x106812=_0x2e1939===null||_0x2e1939===void 0?void 0:_0x2e1939[_0x40d42e(0xfe)])!==null&&_0x106812!==void 0?_0x106812:null;_0x2e1939!==this[_0x40d42e(0x161)]&&(this['hoveringComponent']&&this[_0x40d42e(0x146)](this['hoveringComponent']),_0x2e1939&&_0x359f79&&this[_0x40d42e(0xfa)](_0x2e1939,_0x359f79[_0x40d42e(0x170)])),_0x40ff0a!==this['hoveringActor']&&(this[_0x40d42e(0x129)]&&this[_0x40d42e(0x161)]&&this[_0x40d42e(0xfc)](this[_0x40d42e(0x129)],this['hoveringComponent']),_0x40ff0a&&_0x2e1939&&_0x359f79&&this['fireActorHoverBegin'](_0x40ff0a,_0x2e1939,_0x359f79[_0x40d42e(0x170)])),this[_0x40d42e(0x161)]=_0x2e1939,this[_0x40d42e(0x129)]=_0x40ff0a;}[_0x474fb2(0x135)](){const _0x363c0e=_0x474fb2;this[_0x363c0e(0x161)]&&this['fireComponentHoverEnd'](this[_0x363c0e(0x161)]),this['hoveringActor']&&this[_0x363c0e(0x161)]&&this['fireActorHoverEnd'](this[_0x363c0e(0x129)],this[_0x363c0e(0x161)]),this[_0x363c0e(0x161)]=null,this[_0x363c0e(0x129)]=null;}[_0x474fb2(0x101)](_0x3d3160){const _0x116bf1=_0x474fb2;this[_0x116bf1(0x156)][_0x116bf1(0x14e)](_0x3d3160['button']);if(_0x3d3160['button']!==0x0)return;const _0x2b8164=this[_0x116bf1(0x103)][_0x116bf1(0x160)](this[_0x116bf1(0x13f)],this[_0x116bf1(0x164)])['length']();if(_0x2b8164>0.005){this[_0x116bf1(0x13e)]();return;}this['prepareClickModifiers']={'ctrlKey':_0x3d3160[_0x116bf1(0xfb)],'shiftKey':_0x3d3160[_0x116bf1(0x107)],'altKey':_0x3d3160[_0x116bf1(0x118)]},!this[_0x116bf1(0xfd)]?this[_0x116bf1(0x131)]():this[_0x116bf1(0x14d)]();}['handleFirstClick'](){const _0x3c7037=_0x474fb2,_0x3d8c2b=this[_0x3c7037(0x136)](),_0x59f50f=_0x3d8c2b===null||_0x3d8c2b===void 0?void 0:_0x3d8c2b['component'];_0x59f50f instanceof SceneComponent&&_0x3d8c2b?(this[_0x3c7037(0x123)]=_0x59f50f,this[_0x3c7037(0x16e)]=_0x3d8c2b[_0x3c7037(0x170)],this[_0x3c7037(0xfd)]=window[_0x3c7037(0x145)](()=>{const _0x56f192=_0x3c7037;this[_0x56f192(0xfd)]=null,this[_0x56f192(0x123)]&&this[_0x56f192(0x16e)]&&(this['fireClickEvents'](this[_0x56f192(0x123)],this[_0x56f192(0x16e)],![]),this[_0x56f192(0x123)]=null,this[_0x56f192(0x16e)]=null);},this[_0x3c7037(0x12e)])):this['_onClickNothingDelegate'][_0x3c7037(0x13a)]();}['handleDoubleClick'](){const _0xc355ad=_0x474fb2;this['clearClickTimer'](),this[_0xc355ad(0x123)]&&this[_0xc355ad(0x16e)]?this[_0xc355ad(0x11f)](this[_0xc355ad(0x123)],this[_0xc355ad(0x16e)],!![]):this[_0xc355ad(0x14b)][_0xc355ad(0x13a)](),this[_0xc355ad(0x123)]=null,this[_0xc355ad(0x16e)]=null;}[_0x474fb2(0x150)](_0x3965df){const _0x397ab3=_0x474fb2;this[_0x397ab3(0x156)][_0x397ab3(0x139)](_0x3965df[_0x397ab3(0x152)]);_0x3965df[_0x397ab3(0x152)]===0x0&&this['pointerLeftDownPosition'][_0x397ab3(0x15e)](this[_0x397ab3(0x164)]);const _0x5b2b2b=this[_0x397ab3(0x136)](),_0x52a0d5=_0x5b2b2b===null||_0x5b2b2b===void 0?void 0:_0x5b2b2b[_0x397ab3(0x10b)];_0x52a0d5 instanceof SceneComponent&&_0x5b2b2b&&this[_0x397ab3(0x15c)](_0x52a0d5,_0x5b2b2b[_0x397ab3(0x170)],_0x3965df[_0x397ab3(0x152)]);}[_0x474fb2(0x168)](_0xb05ffa){const _0x229ea1=_0x474fb2;this[_0x229ea1(0x14c)]();}['onPointerLeaveEvent'](_0x134ed9){const _0x2620be=_0x474fb2;this[_0x2620be(0x11e)]();}['fireComponentHoverBegin'](_0xbb699e,_0x54df7c){const _0xdf3870=_0x474fb2,_0x3ca88f={'component':_0xbb699e,'hit':_0x54df7c,'handled':![]};this['_onComponentHoverBeginDelegate'][_0xdf3870(0x13a)](_0x3ca88f),!_0x3ca88f[_0xdf3870(0xf5)]&&_0xbb699e[_0xdf3870(0x112)]();}['fireComponentHoverEnd'](_0x5acaca){const _0x369d21=_0x474fb2,_0x5a6b5e={'component':_0x5acaca,'hit':null,'handled':![]};this[_0x369d21(0x108)][_0x369d21(0x13a)](_0x5a6b5e),!_0x5a6b5e[_0x369d21(0xf5)]&&_0x5acaca[_0x369d21(0x14a)]();}['fireComponentClick'](_0x33d26b,_0x5bb7a9,_0x3313a4){const _0x25c881=_0x474fb2,_0x170deb=Object[_0x25c881(0x124)]({'component':_0x33d26b,'hit':_0x5bb7a9,'handled':![]},this[_0x25c881(0x120)]);_0x3313a4?(this[_0x25c881(0x117)][_0x25c881(0x13a)](_0x170deb),!_0x170deb[_0x25c881(0xf5)]&&_0x33d26b['onDoubleClicked']()):(this[_0x25c881(0x133)][_0x25c881(0x13a)](_0x170deb),!_0x170deb[_0x25c881(0xf5)]&&_0x33d26b[_0x25c881(0x142)]());}[_0x474fb2(0x15c)](_0x406e4e,_0x31caa3,_0x3d613d){const _0x3b1865=_0x474fb2,_0x10b61c={'component':_0x406e4e,'hit':_0x31caa3,'button':_0x3d613d,'handled':![]};this[_0x3b1865(0x147)][_0x3b1865(0x13a)](_0x10b61c);}[_0x474fb2(0x16d)](_0x1191c1,_0x3d2475,_0x3c9d4a){const _0x234ae3=_0x474fb2,_0x1e8867={'actor':_0x1191c1,'component':_0x3d2475,'hit':_0x3c9d4a,'handled':![]};this['_onActorHoverBeginDelegate'][_0x234ae3(0x13a)](_0x1e8867),!_0x1e8867[_0x234ae3(0xf5)]&&_0x1191c1['onActorHoverBegin'](_0x3d2475);}[_0x474fb2(0xfc)](_0x241582,_0x2c15d1){const _0x28fdd5=_0x474fb2,_0x402412={'actor':_0x241582,'component':_0x2c15d1,'hit':null,'handled':![]};this[_0x28fdd5(0x113)][_0x28fdd5(0x13a)](_0x402412),!_0x402412[_0x28fdd5(0xf5)]&&_0x241582[_0x28fdd5(0x158)](_0x2c15d1);}[_0x474fb2(0x13d)](_0x2cc541,_0xf1d7f1,_0x4f2486,_0x3ebf01){const _0x568235=_0x474fb2,_0x56c707=Object['assign']({'actor':_0x2cc541,'component':_0xf1d7f1,'hit':_0x4f2486,'handled':![]},this[_0x568235(0x120)]);_0x3ebf01?(this[_0x568235(0x105)][_0x568235(0x13a)](_0x56c707),!_0x56c707['handled']&&_0x2cc541['onActorDoubleClick'](_0xf1d7f1)):(this[_0x568235(0x13b)][_0x568235(0x13a)](_0x56c707),!_0x56c707[_0x568235(0xf5)]&&_0x2cc541[_0x568235(0x165)](_0xf1d7f1));}[_0x474fb2(0x11f)](_0x466514,_0x4f821d,_0x25f8fd){const _0xd49c38=_0x474fb2;this[_0xd49c38(0x144)](_0x466514,_0x4f821d,_0x25f8fd);const _0x3b7a9a=_0x466514[_0xd49c38(0xfe)];_0x3b7a9a&&_0x3b7a9a['isClickEnabled']&&this[_0xd49c38(0x13d)](_0x3b7a9a,_0x466514,_0x4f821d,_0x25f8fd);}[_0x474fb2(0x13e)](){const _0x9b2a89=_0x474fb2;this[_0x9b2a89(0xfd)]&&(window[_0x9b2a89(0x143)](this['leftClickTimer']),this['leftClickTimer']=null);}[_0x474fb2(0x14c)](){const _0x55a4f2=_0x474fb2,_0x260ed2=this[_0x55a4f2(0x106)][_0x55a4f2(0x15b)];if(!_0x260ed2)return;_0x260ed2['addEventListener'](_0x55a4f2(0x119),this[_0x55a4f2(0x15f)]),_0x260ed2[_0x55a4f2(0x15d)](_0x55a4f2(0x12c),this['onPointerUp']),_0x260ed2[_0x55a4f2(0x15d)](_0x55a4f2(0x12f),this[_0x55a4f2(0x116)]);}[_0x474fb2(0x11e)](){const _0x4eca88=_0x474fb2,_0x499c6c=this[_0x4eca88(0x106)]['canvas'];if(!_0x499c6c)return;_0x499c6c['removeEventListener'](_0x4eca88(0x119),this[_0x4eca88(0x15f)]),_0x499c6c[_0x4eca88(0x14f)](_0x4eca88(0x12c),this[_0x4eca88(0x11a)]),_0x499c6c[_0x4eca88(0x14f)](_0x4eca88(0x12f),this[_0x4eca88(0x116)]);}['getHitResultUnderCursor'](_0x39b0ef=!![]){const _0xa1ac75=_0x474fb2;return this['getHitResultFromScreenPoint'](this[_0xa1ac75(0x164)]['x'],this[_0xa1ac75(0x164)]['y'],_0x39b0ef);}[_0x474fb2(0x149)](_0x153221,_0x2df933,_0x3ed91c=!![]){const _0x35604e=_0x474fb2;this[_0x35604e(0x153)]['set'](_0x153221,_0x2df933),this[_0x35604e(0x12a)]['setFromCamera'](this[_0x35604e(0x153)],this[_0x35604e(0x130)]);const _0x3ab10a=this[_0x35604e(0xf7)](_0x153221,_0x2df933);if(!_0x3ed91c)return _0x3ab10a[0x0]||null;for(const _0x5d3779 of _0x3ab10a){const _0x1f53a2=_0x5d3779['component'][_0x35604e(0x163)]||_0x5d3779[_0x35604e(0x10b)][_0x35604e(0x100)],_0x991114=_0x5d3779[_0x35604e(0x10b)][_0x35604e(0xfe)],_0x439cc4=_0x991114&&(_0x991114[_0x35604e(0x163)]||_0x991114[_0x35604e(0x100)]);if(_0x1f53a2||_0x439cc4)return _0x5d3779;}return null;}[_0x474fb2(0xf7)](_0x1e6eea,_0x1fb4cc){const _0xd1ff86=_0x474fb2;this['_raycastVec2'][_0xd1ff86(0x148)](_0x1e6eea,_0x1fb4cc),this['raycaster'][_0xd1ff86(0x12b)](this[_0xd1ff86(0x153)],this[_0xd1ff86(0x130)]);const _0x3f9150=this[_0xd1ff86(0x12a)]['intersectObjects'](this[_0xd1ff86(0x137)][_0xd1ff86(0x16a)][_0xd1ff86(0x16b)],!![]),_0x46c957=[];for(const _0x780ca6 of _0x3f9150){if(_0x780ca6[_0xd1ff86(0x162)][_0xd1ff86(0x134)]['rayIgnored'])continue;const _0x31250c=_0x780ca6[_0xd1ff86(0x162)][_0xd1ff86(0x134)][_0xd1ff86(0x10d)];if(!_0x31250c)continue;_0x46c957[_0xd1ff86(0xf8)]({'component':_0x31250c,'hit':_0x780ca6});}return _0x46c957;}[_0x474fb2(0x109)](_0x33716e,_0x3f5255,_0x49a989,_0x409c99,_0x57effa=null,_0x2b450f=null){const _0x2e5f04=_0x474fb2;this[_0x2e5f04(0x11d)]['focusTo'](_0x33716e,_0x3f5255,_0x49a989,_0x409c99,_0x57effa,_0x2b450f);}}
|
|
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);}}
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
const _0xe501a2=_0x4292;(function(_0x3d6e3a,_0x44f55a){const _0x3838c4=_0x4292,_0x466acf=_0x3d6e3a();while(!![]){try{const _0x45b9f5=parseInt(_0x3838c4(0x1cd))/0x1*(parseInt(_0x3838c4(0x1c4))/0x2)+-parseInt(_0x3838c4(0x1d1))/0x3*(-parseInt(_0x3838c4(0x1db))/0x4)+-parseInt(_0x3838c4(0x1c1))/0x5*(-parseInt(_0x3838c4(0x1be))/0x6)+-parseInt(_0x3838c4(0x1cc))/0x7*(parseInt(_0x3838c4(0x1c5))/0x8)+parseInt(_0x3838c4(0x1d8))/0x9*(parseInt(_0x3838c4(0x1da))/0xa)+parseInt(_0x3838c4(0x1d2))/0xb*(-parseInt(_0x3838c4(0x1c3))/0xc)+parseInt(_0x3838c4(0x1ca))/0xd*(parseInt(_0x3838c4(0x1dd))/0xe);if(_0x45b9f5===_0x44f55a)break;else _0x466acf['push'](_0x466acf['shift']());}catch(_0x464e19){_0x466acf['push'](_0x466acf['shift']());}}}(_0x4714,0xf31d7));function _0x4714(){const _0x511323=['172DzIOSA','left','warn','top','51qdDyxW','37620nOsERx','bottom','near','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','type','Orthographic','87246EOvtbs','fov','160yWJobE','56504cMyBCS','createCamera','4802rxLJOv','right','27522hsannN','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead','185tYlZAu','Perspective','3144lZRglr','12666VKSesz','3803992CfftUa','far','aspect','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','updataCamera','27027uzZidA','Invalid\x20camera\x20type','7XSXFLf'];_0x4714=function(){return _0x511323;};return _0x4714();}function _0x4292(_0x58676b,_0x1db86c){_0x58676b=_0x58676b-0x1bd;const _0x471441=_0x4714();let _0x429229=_0x471441[_0x58676b];return _0x429229;}class CameraFactory{static[_0xe501a2(0x1dc)](_0x1b1c37){const _0x521d7f=_0xe501a2;try{switch(_0x1b1c37[_0x521d7f(0x1d6)]){case 'Perspective':{let _0x36206e=_0x1b1c37;return new webgpu.PerspectiveCamera(_0x36206e[_0x521d7f(0x1d9)],_0x36206e[_0x521d7f(0x1c7)],_0x36206e['near'],_0x36206e[_0x521d7f(0x1c6)]);}case 'Orthographic':{let _0x5c0db8=_0x1b1c37;return new webgpu.OrthographicCamera(_0x5c0db8[_0x521d7f(0x1ce)],_0x5c0db8['right'],_0x5c0db8[_0x521d7f(0x1d0)],_0x5c0db8[_0x521d7f(0x1d3)],_0x5c0db8[_0x521d7f(0x1d4)],_0x5c0db8[_0x521d7f(0x1c6)]);}default:{throw new Error(_0x521d7f(0x1cb));}}}catch(_0x455b76){return console[_0x521d7f(0x1cf)](_0x521d7f(0x1c8),_0x455b76),console[_0x521d7f(0x1cf)](_0x521d7f(0x1c0)),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0xe501a2(0x1c9)](_0x18f9e4,_0xec8079){const _0x3e833c=_0xe501a2;try{switch(_0x18f9e4['type']){case _0x3e833c(0x1c2):{let _0x575f9e=_0x18f9e4;if(_0xec8079 instanceof webgpu.PerspectiveCamera)return _0xec8079[_0x3e833c(0x1d4)]=_0x575f9e[_0x3e833c(0x1d4)],_0xec8079['far']=_0x575f9e[_0x3e833c(0x1c6)],_0xec8079[_0x3e833c(0x1d9)]=_0x575f9e[_0x3e833c(0x1d9)],_0xec8079[_0x3e833c(0x1c7)]=_0x575f9e[_0x3e833c(0x1c7)],_0xec8079;return new webgpu.PerspectiveCamera(_0x575f9e[_0x3e833c(0x1d9)],_0x575f9e[_0x3e833c(0x1c7)],_0x575f9e['near'],_0x575f9e[_0x3e833c(0x1c6)]);}case _0x3e833c(0x1d7):{let _0x2f0fc4=_0x18f9e4;if(_0xec8079 instanceof webgpu.OrthographicCamera)return _0xec8079[_0x3e833c(0x1d4)]=_0x2f0fc4[_0x3e833c(0x1d4)],_0xec8079[_0x3e833c(0x1c6)]=_0x2f0fc4[_0x3e833c(0x1c6)],_0xec8079[_0x3e833c(0x1ce)]=_0x2f0fc4[_0x3e833c(0x1ce)],_0xec8079[_0x3e833c(0x1bd)]=_0x2f0fc4['right'],_0xec8079[_0x3e833c(0x1d0)]=_0x2f0fc4['top'],_0xec8079[_0x3e833c(0x1d3)]=_0x2f0fc4[_0x3e833c(0x1d3)],_0xec8079;return new webgpu.OrthographicCamera(_0x2f0fc4[_0x3e833c(0x1ce)],_0x2f0fc4['right'],_0x2f0fc4[_0x3e833c(0x1d0)],_0x2f0fc4[_0x3e833c(0x1d3)],_0x2f0fc4['near'],_0x2f0fc4[_0x3e833c(0x1c6)]);}default:{throw new Error(_0x3e833c(0x1cb));}}}catch(_0x420cd7){return console[_0x3e833c(0x1cf)](_0x3e833c(0x1bf),_0x420cd7),console[_0x3e833c(0x1cf)](_0x3e833c(0x1d5)),_0xec8079;}}}
|
|
75
75
|
|
|
76
|
-
const
|
|
76
|
+
const _0xbf867e=_0x38c2;(function(_0xe8f584,_0x112ee0){const _0x452800=_0x38c2,_0x2c200f=_0xe8f584();while(!![]){try{const _0x398e17=parseInt(_0x452800(0xe3))/0x1*(parseInt(_0x452800(0xf1))/0x2)+parseInt(_0x452800(0xec))/0x3*(-parseInt(_0x452800(0xe7))/0x4)+parseInt(_0x452800(0xf2))/0x5+-parseInt(_0x452800(0xea))/0x6*(parseInt(_0x452800(0xe8))/0x7)+-parseInt(_0x452800(0xf0))/0x8*(-parseInt(_0x452800(0xe6))/0x9)+parseInt(_0x452800(0xe5))/0xa+-parseInt(_0x452800(0xef))/0xb*(parseInt(_0x452800(0xe4))/0xc);if(_0x398e17===_0x112ee0)break;else _0x2c200f['push'](_0x2c200f['shift']());}catch(_0xcedcd7){_0x2c200f['push'](_0x2c200f['shift']());}}}(_0x522a,0x9bd36));function _0x38c2(_0x15a7f6,_0x30acb1){_0x15a7f6=_0x15a7f6-0xe3;const _0x522a6f=_0x522a();let _0x38c29b=_0x522a6f[_0x15a7f6];return _0x38c29b;}function _0x522a(){const _0x18df92=['737reVkIa','8ssWJFx','2zJjPeD','3610570kxqyap','29996NcPEFr','80124JVFQgZ','6760350IAkRBj','7074153ZqFAHP','10228eYzVfc','14CziJEH','Orthographic','1429518rfKKLU','stringify','765uoqwKf','parse','Perspective'];_0x522a=function(){return _0x18df92;};return _0x522a();}const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0xbf867e(0xee),'fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0xbf867e(0xe9),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON[_0xbf867e(0xed)](JSON[_0xbf867e(0xeb)](DefaultPerspectiveCameraParam));
|
|
77
77
|
|
|
78
|
-
(function(
|
|
78
|
+
function _0xa080(){const _0x53ae0a=['626826HFabnn','8mEJHKJ','3aFuJrk','9587249LAHgFq','817274StfXhU','6482808nJeDkp','7558330wPrZdZ','3088548CjvMKf','628389qTpKyE','90ccLWfY'];_0xa080=function(){return _0x53ae0a;};return _0xa080();}function _0x223e(_0x1b21a2,_0x395a99){_0x1b21a2=_0x1b21a2-0x81;const _0xa08071=_0xa080();let _0x223ebb=_0xa08071[_0x1b21a2];return _0x223ebb;}(function(_0x6ccbc0,_0x31a5f3){const _0x7b076b=_0x223e,_0x2c9c27=_0x6ccbc0();while(!![]){try{const _0x459845=-parseInt(_0x7b076b(0x89))/0x1*(-parseInt(_0x7b076b(0x81))/0x2)+parseInt(_0x7b076b(0x87))/0x3+-parseInt(_0x7b076b(0x82))/0x4+-parseInt(_0x7b076b(0x83))/0x5+parseInt(_0x7b076b(0x84))/0x6+parseInt(_0x7b076b(0x8a))/0x7*(parseInt(_0x7b076b(0x88))/0x8)+parseInt(_0x7b076b(0x85))/0x9*(parseInt(_0x7b076b(0x86))/0xa);if(_0x459845===_0x31a5f3)break;else _0x2c9c27['push'](_0x2c9c27['shift']());}catch(_0x9cc549){_0x2c9c27['push'](_0x2c9c27['shift']());}}}(_0xa080,0xc7087));const DefaultViewportParam={'elementId':null,'isLabelRendererNeeded':![],'isUILayerNeeded':![]};
|
|
79
79
|
|
|
80
|
-
(function(
|
|
80
|
+
(function(_0xaf06f9,_0x4e95f8){const _0x5be030=_0x2093,_0x45b861=_0xaf06f9();while(!![]){try{const _0x511123=parseInt(_0x5be030(0xbc))/0x1*(parseInt(_0x5be030(0xb5))/0x2)+-parseInt(_0x5be030(0xb6))/0x3*(-parseInt(_0x5be030(0xb2))/0x4)+-parseInt(_0x5be030(0xb8))/0x5+parseInt(_0x5be030(0xb7))/0x6*(-parseInt(_0x5be030(0xbb))/0x7)+parseInt(_0x5be030(0xba))/0x8+-parseInt(_0x5be030(0xb1))/0x9*(parseInt(_0x5be030(0xb4))/0xa)+-parseInt(_0x5be030(0xb3))/0xb*(-parseInt(_0x5be030(0xb9))/0xc);if(_0x511123===_0x4e95f8)break;else _0x45b861['push'](_0x45b861['shift']());}catch(_0x7066d6){_0x45b861['push'](_0x45b861['shift']());}}}(_0x3f32,0x44594));function _0x3f32(){const _0x45aecd=['4286051JOvOaf','49640qpIsTO','6wZeCpv','1713bkTJmW','19134fXsgQG','1258155EkLrKo','24DPcdxa','211624YiTdiI','399PhWrPK','77354ZAjRxh','846cMBBcT','996WbMyno'];_0x3f32=function(){return _0x45aecd;};return _0x3f32();}const DefaultRendererParameters={'logarithmicDepthBuffer':![],'alpha':![],'depth':!![],'stencil':![],'antialias':![],'samples':0x1,'forceWebGL':![],'outputBufferType':0x3f8,'toneMapping':0x0,'toneMappingExposure':0x1,'shadowMapEnabled':!![],'shadowMapType':0x1};function _0x2093(_0x33adae,_0x21178b){_0x33adae=_0x33adae-0xb1;const _0x3f326b=_0x3f32();let _0x2093b1=_0x3f326b[_0x33adae];return _0x2093b1;}
|
|
81
81
|
|
|
82
|
-
(function(
|
|
82
|
+
(function(_0x128f68,_0x318052){const _0x4ef21c=_0x3b16,_0x3bd36d=_0x128f68();while(!![]){try{const _0x3acc68=parseInt(_0x4ef21c(0xb9))/0x1+parseInt(_0x4ef21c(0xb7))/0x2*(-parseInt(_0x4ef21c(0xb1))/0x3)+-parseInt(_0x4ef21c(0xb3))/0x4*(parseInt(_0x4ef21c(0xb4))/0x5)+-parseInt(_0x4ef21c(0xb0))/0x6+parseInt(_0x4ef21c(0xb5))/0x7+-parseInt(_0x4ef21c(0xb8))/0x8*(-parseInt(_0x4ef21c(0xaf))/0x9)+parseInt(_0x4ef21c(0xb2))/0xa*(-parseInt(_0x4ef21c(0xb6))/0xb);if(_0x3acc68===_0x318052)break;else _0x3bd36d['push'](_0x3bd36d['shift']());}catch(_0x282521){_0x3bd36d['push'](_0x3bd36d['shift']());}}}(_0x362c,0x8d155));function _0x362c(){const _0x5ad592=['18333TEUGfi','20hALCWY','100fbJpBV','4195aJJyfY','2791607neNImn','633193CRYWPk','58JZnMpW','405512cmwFvn','922296kHOFtp','45bPYGbN','4100070iUigQJ'];_0x362c=function(){return _0x5ad592;};return _0x362c();}function _0x3b16(_0x1b76c4,_0x1542e0){_0x1b76c4=_0x1b76c4-0xaf;const _0x362ca8=_0x362c();let _0x3b16fd=_0x362ca8[_0x1b76c4];return _0x3b16fd;}const DefaultAppParam={'renderParam':DefaultRendererParameters,'cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
83
83
|
|
|
84
|
-
function _0x4bba(_0x545333,_0x46ab77){_0x545333=_0x545333-0x120;const _0x10db6d=_0x10db();let _0x4bba21=_0x10db6d[_0x545333];return _0x4bba21;}const _0x32c7c6=_0x4bba;(function(_0x3fb3c1,_0x33d1a8){const _0x21ce13=_0x4bba,_0x24cf54=_0x3fb3c1();while(!![]){try{const _0x5698e3=-parseInt(_0x21ce13(0x183))/0x1*(parseInt(_0x21ce13(0x15e))/0x2)+-parseInt(_0x21ce13(0x12e))/0x3+-parseInt(_0x21ce13(0x13a))/0x4*(parseInt(_0x21ce13(0x137))/0x5)+parseInt(_0x21ce13(0x168))/0x6+parseInt(_0x21ce13(0x14b))/0x7+parseInt(_0x21ce13(0x185))/0x8*(-parseInt(_0x21ce13(0x15c))/0x9)+parseInt(_0x21ce13(0x15b))/0xa;if(_0x5698e3===_0x33d1a8)break;else _0x24cf54['push'](_0x24cf54['shift']());}catch(_0x4a6551){_0x24cf54['push'](_0x24cf54['shift']());}}}(_0x10db,0x6da98));function _0x10db(){const _0x541193=['setRotation','getRotation','getChildActorsByIds','getScale','removeTickableActor','setPosition','removeFromParent','getBoundsCenterPosition','broadcast','_onHoverBeginDelegate','13400910NsRZNN','18VyuTJo','getCenter','22dmsVoS','name','length','removeChildComponent','min','setQuaternion','destroy','getWorldRightDirection','attachComponent','isTickEnabled','509220hheywK','onActorDoubleClick','markRenderStateDirty','removeComponent','detachFromParentComponent','addChildActor','LYObject','onDoubleClickDelegate','getWorldQuaternion','Actor','error','getWorldMatrix','world','getComponentById','max','_world','threeObject','size','tick','onRemovedFromWorld','app','destroyChildren','detachComponent','_onDoubleClickDelegate','setLayers','constructRootComponent','viewport','21118UhxrWl','removeChildActor','1518928mEvmBI','addTickableActor','delete','childActors','getComponents','sub','getBoundsBottomCenterPosition','onAddedToWorld','addComponent','rootComponent\x20is\x20invalid','KeepWorld','isVisible','push','setScale','userData','getBounds','childrenComponents','361941cAPsbu','rootComponent','clearComponent','_onClickDelegate','isClickEnabled','getWorldRotation','uuid','parent','addLocalOffset','38330esUOnx','getWorldForwardDirection','setWorldMatrix','252xwemvs','getChildActorById','_name','_rootComponent','forEach','KeepRelative','onActorClick','getQuaternion','isHoverEnabled','worldToLocal','onHoverEndDelegate','setVisible','parentActor','onClickDelegate','children','getPosition','getWorldPosition','1678950ecrKPK','getWorldScale','_onHoverEndDelegate','onHoverBeginDelegate','addChildComponent','getWorldUpDirection'];_0x10db=function(){return _0x541193;};return _0x10db();}class Actor extends BaseObject{get[_0x32c7c6(0x174)](){const _0x492a17=_0x32c7c6;return this[_0x492a17(0x177)];}get[_0x32c7c6(0x15f)](){const _0x3db4fc=_0x32c7c6;return this[_0x3db4fc(0x13c)];}set[_0x32c7c6(0x15f)](_0xd76745){const _0x4d72e3=_0x32c7c6;this[_0x4d72e3(0x13c)]=_0xd76745;}get['rootComponent'](){const _0x1bc7db=_0x32c7c6;if(!this[_0x1bc7db(0x13d)])throw Error(_0x1bc7db(0x126));return this['_rootComponent'];}set[_0x32c7c6(0x12f)](_0x3c1a22){const _0x18dbfc=_0x32c7c6;_0x3c1a22[_0x18dbfc(0x16c)](),_0x3c1a22[_0x18dbfc(0x146)]=this;if(this[_0x18dbfc(0x13d)]){let _0x1fd3b8=this['rootComponent']['childrenComponents'];for(let _0x2f51d3=0x0;_0x2f51d3<_0x1fd3b8[_0x18dbfc(0x160)];++_0x2f51d3){_0x3c1a22['addChildComponent'](_0x1fd3b8[_0x2f51d3]);}this['rootComponent'][_0x18dbfc(0x164)]();}this['_rootComponent']=_0x3c1a22;}get[_0x32c7c6(0x12d)](){const _0x3caeac=_0x32c7c6;return this[_0x3caeac(0x12f)][_0x3caeac(0x12d)];}get['childActors'](){const _0x339a0e=_0x32c7c6;var _0x2eca93;let _0xccd014=[];return (_0x2eca93=this[_0x339a0e(0x12f)][_0x339a0e(0x178)])===null||_0x2eca93===void 0?void 0:_0x2eca93[_0x339a0e(0x148)][_0x339a0e(0x13e)](_0x4f5558=>{const _0x1f8158=_0x339a0e;var _0x5b1f39;let _0x54547f=(_0x5b1f39=_0x4f5558[_0x1f8158(0x12b)]['LYObject'])===null||_0x5b1f39===void 0?void 0:_0x5b1f39[_0x1f8158(0x146)];_0x54547f!==this&&_0x54547f instanceof Actor&&_0xccd014[_0x1f8158(0x129)](_0x54547f);}),_0xccd014;}get[_0x32c7c6(0x146)](){const _0x4887b8=_0x32c7c6;var _0x2d844e,_0x49fca2;let _0x512fe7=(_0x49fca2=(_0x2d844e=this['rootComponent'][_0x4887b8(0x178)])===null||_0x2d844e===void 0?void 0:_0x2d844e[_0x4887b8(0x135)])===null||_0x49fca2===void 0?void 0:_0x49fca2[_0x4887b8(0x12b)][_0x4887b8(0x16e)]['parentActor'];return _0x512fe7===this?null:_0x512fe7;}get[_0x32c7c6(0x128)](){const _0x39e926=_0x32c7c6;return this[_0x39e926(0x12f)]?this['rootComponent'][_0x39e926(0x128)]:![];}get[_0x32c7c6(0x167)](){const _0xbb5579=_0x32c7c6;return super[_0xbb5579(0x167)];}set[_0x32c7c6(0x167)](_0xc93a16){const _0x55f356=_0x32c7c6;super[_0x55f356(0x167)]=_0xc93a16,this[_0x55f356(0x167)]?this['app'][_0x55f356(0x174)][_0x55f356(0x186)](this):this[_0x55f356(0x17c)][_0x55f356(0x174)][_0x55f356(0x155)](this);}get[_0x32c7c6(0x14e)](){const _0x342e09=_0x32c7c6;return this[_0x342e09(0x15a)];}get[_0x32c7c6(0x144)](){const _0x4f4f57=_0x32c7c6;return this[_0x4f4f57(0x14d)];}get[_0x32c7c6(0x147)](){const _0x3d81c4=_0x32c7c6;return this[_0x3d81c4(0x131)];}get[_0x32c7c6(0x16f)](){const _0x3cf9b0=_0x32c7c6;return this[_0x3cf9b0(0x17f)];}constructor(_0x3beb24,_0x57c046){const _0xf49d52=_0x32c7c6;super(_0x57c046),this[_0xf49d52(0x13c)]=_0xf49d52(0x171),this['_rootComponent']=null,this[_0xf49d52(0x177)]=null,this['_onHoverBeginDelegate']=new Delegate(),this[_0xf49d52(0x14d)]=new Delegate(),this['_onClickDelegate']=new Delegate(),this[_0xf49d52(0x17f)]=new Delegate(),this[_0xf49d52(0x17c)]=_0x3beb24,this[_0xf49d52(0x12f)]=this['constructRootComponent'](),this[_0xf49d52(0x12f)][_0xf49d52(0x146)]=this;}[_0x32c7c6(0x181)](){const _0x174041=_0x32c7c6;return new SceneComponent(this[_0x174041(0x17c)]);}[_0x32c7c6(0x158)](_0x5490f4=!![]){const _0x2bcd52=_0x32c7c6;let _0x1ff5a0=new webgpu.Vector3();return this[_0x2bcd52(0x12c)]()[_0x2bcd52(0x15d)](_0x1ff5a0),!_0x5490f4?_0x1ff5a0['sub'](this[_0x2bcd52(0x149)]()):_0x1ff5a0;}[_0x32c7c6(0x13b)](_0x3830c5,_0x2e6884=!![]){const _0x376538=_0x32c7c6,_0x284e79=this[_0x376538(0x120)];for(const _0x2a64cb of _0x284e79){if(_0x2a64cb['uuid']===_0x3830c5)return _0x2a64cb;}if(_0x2e6884)for(const _0x4c0bee of _0x284e79){const _0x3306cf=_0x4c0bee[_0x376538(0x13b)](_0x3830c5,!![]);if(_0x3306cf)return _0x3306cf;}return null;}['getChildActorsByIds'](_0x50f3a7,_0x9d8513=!![]){const _0x2599fd=_0x32c7c6,_0xf416c8=[],_0x154401=new Set(_0x50f3a7),_0x4d29b4=this['childActors'];for(const _0x465bcf of _0x4d29b4){_0x154401['has'](_0x465bcf[_0x2599fd(0x134)])&&(_0xf416c8[_0x2599fd(0x129)](_0x465bcf),_0x154401[_0x2599fd(0x187)](_0x465bcf[_0x2599fd(0x134)]));}if(_0x9d8513&&_0x154401[_0x2599fd(0x179)]>0x0)for(const _0x10793d of _0x4d29b4){const _0xbae25=_0x10793d[_0x2599fd(0x153)]([..._0x154401],!![]);for(const _0x5ef488 of _0xbae25){_0xf416c8[_0x2599fd(0x129)](_0x5ef488),_0x154401['delete'](_0x5ef488[_0x2599fd(0x134)]);}if(_0x154401[_0x2599fd(0x179)]===0x0)break;}return _0xf416c8;}[_0x32c7c6(0x175)](_0x581e21){const _0x45fe85=_0x32c7c6;return this[_0x45fe85(0x12f)][_0x45fe85(0x175)](_0x581e21);}['getBoundsTopCenterPosition'](_0x531706=!![]){const _0x5a21bc=_0x32c7c6;let _0x44de10=new webgpu.Vector3(),_0x34df38=this[_0x5a21bc(0x12f)][_0x5a21bc(0x12c)]();return _0x34df38[_0x5a21bc(0x15d)](_0x44de10),_0x44de10['y']=_0x34df38[_0x5a21bc(0x176)]['y'],!_0x531706?_0x44de10[_0x5a21bc(0x122)](this[_0x5a21bc(0x149)]()):_0x44de10;}[_0x32c7c6(0x123)](_0x2af8b7=!![]){const _0x1a5b53=_0x32c7c6;let _0x2dfefb=new webgpu.Vector3(),_0x5ec633=this[_0x1a5b53(0x12c)]();return _0x5ec633[_0x1a5b53(0x15d)](_0x2dfefb),_0x2dfefb['y']=_0x5ec633[_0x1a5b53(0x162)]['y'],!_0x2af8b7?_0x2dfefb['sub'](this[_0x1a5b53(0x149)]()):_0x2dfefb;}[_0x32c7c6(0x12c)](){const _0x1d6384=_0x32c7c6;return this[_0x1d6384(0x12f)][_0x1d6384(0x12c)]();}[_0x32c7c6(0x164)](){const _0x3111ff=_0x32c7c6;let _0x224eef=this[_0x3111ff(0x120)];_0x224eef[_0x3111ff(0x13e)](_0x40bd57=>{const _0x4184c8=_0x3111ff;_0x40bd57[_0x4184c8(0x164)]();}),this[_0x3111ff(0x12f)][_0x3111ff(0x164)]();}['setVisible'](_0x4943a9){const _0x252f50=_0x32c7c6;this[_0x252f50(0x12f)][_0x252f50(0x145)](_0x4943a9);}[_0x32c7c6(0x180)](_0x256432,_0x1112c7=!![]){const _0x2063ff=_0x32c7c6;this[_0x2063ff(0x12f)][_0x2063ff(0x180)](_0x256432),_0x1112c7&&this[_0x2063ff(0x120)][_0x2063ff(0x13e)](_0x5d60ab=>{const _0x28f086=_0x2063ff;_0x5d60ab[_0x28f086(0x180)](_0x256432,_0x1112c7);});}[_0x32c7c6(0x17a)](_0x53a16b){const _0x327a8b=_0x32c7c6;if(!this[_0x327a8b(0x167)])return;super['tick'](_0x53a16b),this[_0x327a8b(0x12f)][_0x327a8b(0x17a)](_0x53a16b);}[_0x32c7c6(0x149)](){const _0x3bb321=_0x32c7c6;return this[_0x3bb321(0x12f)][_0x3bb321(0x149)]();}[_0x32c7c6(0x156)](..._0x15ce08){const _0x21d349=_0x32c7c6;_0x15ce08[_0x21d349(0x160)]===0x1?this['rootComponent'][_0x21d349(0x156)](_0x15ce08[0x0]):this['rootComponent']['setPosition'](_0x15ce08[0x0],_0x15ce08[0x1],_0x15ce08[0x2]);}[_0x32c7c6(0x152)](){const _0xe62866=_0x32c7c6;return this[_0xe62866(0x12f)][_0xe62866(0x152)]();}[_0x32c7c6(0x151)](..._0x9cc985){const _0x58a021=_0x32c7c6;_0x9cc985[_0x58a021(0x160)]===0x1?this[_0x58a021(0x12f)][_0x58a021(0x151)](_0x9cc985[0x0]):this[_0x58a021(0x12f)]['setRotation'](_0x9cc985[0x0],_0x9cc985[0x1],_0x9cc985[0x2]);}['getQuaternion'](){const _0x36b8a2=_0x32c7c6;return this[_0x36b8a2(0x12f)][_0x36b8a2(0x141)]();}[_0x32c7c6(0x163)](..._0x1c0392){const _0x539f95=_0x32c7c6;_0x1c0392[_0x539f95(0x160)]===0x1?this['rootComponent'][_0x539f95(0x163)](_0x1c0392[0x0]):this['rootComponent'][_0x539f95(0x163)](_0x1c0392[0x0],_0x1c0392[0x1],_0x1c0392[0x2],_0x1c0392[0x3]);}[_0x32c7c6(0x154)](){const _0x46d9a4=_0x32c7c6;return this['rootComponent'][_0x46d9a4(0x154)]();}[_0x32c7c6(0x12a)](..._0x45842c){const _0x43d6ef=_0x32c7c6;_0x45842c[_0x43d6ef(0x160)]===0x1?this['rootComponent'][_0x43d6ef(0x12a)](_0x45842c[0x0]):this[_0x43d6ef(0x12f)][_0x43d6ef(0x12a)](_0x45842c[0x0],_0x45842c[0x1],_0x45842c[0x2]);}[_0x32c7c6(0x173)](){const _0x567290=_0x32c7c6;return this[_0x567290(0x12f)][_0x567290(0x173)]();}[_0x32c7c6(0x139)](_0x2dd043){const _0xb88b8e=_0x32c7c6;this[_0xb88b8e(0x12f)][_0xb88b8e(0x139)](_0x2dd043);}[_0x32c7c6(0x14a)](){const _0x406551=_0x32c7c6;return this[_0x406551(0x12f)][_0x406551(0x14a)]();}['getWorldRotation'](){const _0x49c5b6=_0x32c7c6;return this[_0x49c5b6(0x12f)][_0x49c5b6(0x133)]();}[_0x32c7c6(0x170)](){const _0x49707e=_0x32c7c6;return this[_0x49707e(0x12f)]['getWorldQuaternion']();}[_0x32c7c6(0x14c)](){return this['rootComponent']['getWorldScale']();}[_0x32c7c6(0x138)](){const _0xa12167=_0x32c7c6;return this[_0xa12167(0x12f)][_0xa12167(0x138)]();}['getWorldUpDirection'](){const _0x2097e8=_0x32c7c6;return this[_0x2097e8(0x12f)][_0x2097e8(0x150)]();}[_0x32c7c6(0x165)](){const _0x1b385b=_0x32c7c6;return this[_0x1b385b(0x12f)][_0x1b385b(0x165)]();}[_0x32c7c6(0x136)](_0xace46f,_0x557d66){const _0x4792fc=_0x32c7c6;let _0x47573b=this[_0x4792fc(0x149)]();this[_0x4792fc(0x156)](_0x47573b['x']+_0xace46f['x']*_0x557d66,_0x47573b['y']+_0xace46f['y']*_0x557d66,_0x47573b['z']+_0xace46f['z']*_0x557d66);}[_0x32c7c6(0x143)](_0x3dad02){const _0x337133=_0x32c7c6;return this[_0x337133(0x12f)][_0x337133(0x143)](_0x3dad02);}['localToWorld'](_0x308f3d){const _0x103645=_0x32c7c6;return this[_0x103645(0x12f)]['localToWorld'](_0x308f3d);}[_0x32c7c6(0x121)](){const _0xc975a7=_0x32c7c6;return this[_0xc975a7(0x12f)][_0xc975a7(0x12d)];}[_0x32c7c6(0x125)](_0x248ac1,_0x759b9b=exports.AttachmentRules['KeepRelative']){const _0x27284e=_0x32c7c6;this[_0x27284e(0x12f)][_0x27284e(0x14f)](_0x248ac1,_0x759b9b),this[_0x27284e(0x177)]&&_0x248ac1[_0x27284e(0x124)](this[_0x27284e(0x177)]);}[_0x32c7c6(0x16b)](_0x55fe80){const _0xfcf0dd=_0x32c7c6;if(_0x55fe80===this[_0xfcf0dd(0x13d)])return;this[_0xfcf0dd(0x12f)][_0xfcf0dd(0x161)](_0x55fe80);}[_0x32c7c6(0x130)](){const _0x436c98=_0x32c7c6;this[_0x436c98(0x12f)][_0x436c98(0x17d)]();}[_0x32c7c6(0x16d)](_0xd1cd4e,_0x364b0a=exports.AttachmentRules[_0x32c7c6(0x127)]){const _0x5d9f87=_0x32c7c6;if(!_0xd1cd4e[_0x5d9f87(0x12f)]){console[_0x5d9f87(0x172)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0xd1cd4e[_0x5d9f87(0x146)]===this)return;_0x364b0a===exports.AttachmentRules[_0x5d9f87(0x13f)]&&this[_0x5d9f87(0x12f)][_0x5d9f87(0x166)](_0xd1cd4e[_0x5d9f87(0x12f)]);if(_0x364b0a===exports.AttachmentRules[_0x5d9f87(0x127)]){let _0x1861a7=_0xd1cd4e[_0x5d9f87(0x173)]();this[_0x5d9f87(0x12f)][_0x5d9f87(0x166)](_0xd1cd4e[_0x5d9f87(0x12f)]),_0xd1cd4e[_0x5d9f87(0x139)](_0x1861a7);}this[_0x5d9f87(0x177)]&&this[_0x5d9f87(0x177)][_0x5d9f87(0x182)][_0x5d9f87(0x16a)]();}[_0x32c7c6(0x184)](_0x298907){const _0x20af10=_0x32c7c6;let _0xd7e5de=_0x298907[_0x20af10(0x173)]();this[_0x20af10(0x12f)][_0x20af10(0x17e)](_0x298907[_0x20af10(0x12f)]),_0x298907[_0x20af10(0x139)](_0xd7e5de);}[_0x32c7c6(0x157)](){const _0x4c7121=_0x32c7c6;this['parentActor']&&this[_0x4c7121(0x146)]['removeChildActor'](this);}[_0x32c7c6(0x124)](_0x59581b){const _0x1ddfa9=_0x32c7c6;this['_world']=_0x59581b,this[_0x1ddfa9(0x12f)]['onAddedToWorld'](this[_0x1ddfa9(0x177)]),this[_0x1ddfa9(0x120)][_0x1ddfa9(0x13e)](_0x1b71d8=>{_0x1b71d8['onAddedToWorld'](_0x59581b);});}[_0x32c7c6(0x17b)](){const _0xde755a=_0x32c7c6;this[_0xde755a(0x177)]=null;}get['isHoverEnabled'](){const _0x317854=_0x32c7c6;return this[_0x317854(0x12f)][_0x317854(0x142)];}set[_0x32c7c6(0x142)](_0x1834e2){const _0x17586e=_0x32c7c6;this[_0x17586e(0x12f)]['isHoverEnabled']=_0x1834e2;}get[_0x32c7c6(0x132)](){return this['rootComponent']['isClickEnabled'];}set[_0x32c7c6(0x132)](_0x1ea581){const _0x2997d8=_0x32c7c6;this[_0x2997d8(0x12f)][_0x2997d8(0x132)]=_0x1ea581;}['onActorHoverBegin'](_0x3c1720){const _0x4b1620=_0x32c7c6;this[_0x4b1620(0x15a)][_0x4b1620(0x159)](_0x3c1720);}['onActorHoverEnd'](_0x2a9e9f){const _0x394ca5=_0x32c7c6;this[_0x394ca5(0x14d)][_0x394ca5(0x159)](_0x2a9e9f);}[_0x32c7c6(0x140)](_0x4188db){const _0x3f3430=_0x32c7c6;this[_0x3f3430(0x131)][_0x3f3430(0x159)](_0x4188db);}[_0x32c7c6(0x169)](_0x2792aa){const _0x5b50f4=_0x32c7c6;this[_0x5b50f4(0x17f)][_0x5b50f4(0x159)](_0x2792aa);}}
|
|
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);}}
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
const _0x441e74=_0x5847;(function(_0x32e34a,_0x1d125f){const _0x15d26c=_0x5847,_0x523bd8=_0x32e34a();while(!![]){try{const _0x50ee70=parseInt(_0x15d26c(0xdb))/0x1+parseInt(_0x15d26c(0xcf))/0x2*(parseInt(_0x15d26c(0xd4))/0x3)+-parseInt(_0x15d26c(0xcd))/0x4+-parseInt(_0x15d26c(0xcc))/0x5*(-parseInt(_0x15d26c(0xd8))/0x6)+parseInt(_0x15d26c(0xdc))/0x7+parseInt(_0x15d26c(0xdd))/0x8+-parseInt(_0x15d26c(0xdf))/0x9;if(_0x50ee70===_0x1d125f)break;else _0x523bd8['push'](_0x523bd8['shift']());}catch(_0x2e5913){_0x523bd8['push'](_0x523bd8['shift']());}}}(_0x8cef,0x5f54b));function _0x5847(_0x1ac67d,_0x3d06c2){_0x1ac67d=_0x1ac67d-0xcb;const _0x8cefeb=_0x8cef();let _0x584754=_0x8cefeb[_0x1ac67d];return _0x584754;}function _0x8cef(){const _0x1c8d88=['3395021QhskwP','2415128aZWGuQ','traverse','8518122SCmtGY','forEach','disposeObject3DResource','78255JwHlZp','919448CXzICI','disposeMeshMaterial','434lcWxtH','isArray','isTexture','material','keys','5883zhEGAz','disposeMeshResource','object','disposeMaterialTextures','66zXZdqa','dispose','geometry','182203FprZMp'];_0x8cef=function(){return _0x1c8d88;};return _0x8cef();}class ThreeObjectLibrary{static[_0x441e74(0xd7)](_0x2485ac){const _0x49a444=_0x441e74;Object[_0x49a444(0xd3)](_0x2485ac)[_0x49a444(0xe0)](_0x4dcca8=>{const _0x162c52=_0x49a444,_0x5f2aaa=_0x2485ac[_0x4dcca8];_0x5f2aaa&&typeof _0x5f2aaa===_0x162c52(0xd6)&&_0x162c52(0xd1)in _0x5f2aaa&&_0x5f2aaa[_0x162c52(0xd9)]();});}static[_0x441e74(0xce)](_0x331023){const _0x10175e=_0x441e74;let _0x363ef2=Array[_0x10175e(0xd0)](_0x331023[_0x10175e(0xd2)])?_0x331023[_0x10175e(0xd2)]:[_0x331023[_0x10175e(0xd2)]];_0x363ef2[_0x10175e(0xe0)](_0x1c57fd=>{const _0x4db2bf=_0x10175e;ThreeObjectLibrary['disposeMaterialTextures'](_0x1c57fd),_0x1c57fd[_0x4db2bf(0xd9)]();});}static[_0x441e74(0xd5)](_0x41d364,_0x3eb6bd=![]){const _0x2122ed=_0x441e74;ThreeObjectLibrary[_0x2122ed(0xce)](_0x41d364),_0x41d364[_0x2122ed(0xda)][_0x2122ed(0xd9)](),_0x3eb6bd&&_0x41d364['children'][_0x2122ed(0xe0)](_0x3b7061=>{const _0x13b6d9=_0x2122ed;_0x3b7061 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x13b6d9(0xd5)](_0x3b7061,!![]);});}static[_0x441e74(0xcb)](_0x3900b8){const _0x57a58e=_0x441e74;_0x3900b8[_0x57a58e(0xde)](_0x5226b8=>{const _0x238bfa=_0x57a58e;_0x5226b8 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x238bfa(0xd5)](_0x5226b8);});}}
|
|
87
87
|
|
|
88
|
-
var
|
|
88
|
+
function _0x2770(){var _0x16d635=['152TFHAjp','1568270yVgSgp','threeObject','26142RzZpvv','5ayDvyy','2540LETdvz','7NDtQlb','92rdagXH','10827eSNthj','LYObject','724PUBzUt','obj','createDefaultObject','2844030elAEnV','3517932AEyIZF','2728936KIvmPk'];_0x2770=function(){return _0x16d635;};return _0x2770();}var _0x381127=_0x4942;(function(_0xdeb4dc,_0x4a9768){var _0x361627=_0x4942,_0x48a967=_0xdeb4dc();while(!![]){try{var _0x1a2dbc=-parseInt(_0x361627(0x18a))/0x1*(-parseInt(_0x361627(0x190))/0x2)+parseInt(_0x361627(0x193))/0x3*(parseInt(_0x361627(0x187))/0x4)+parseInt(_0x361627(0x194))/0x5*(-parseInt(_0x361627(0x18d))/0x6)+parseInt(_0x361627(0x186))/0x7*(parseInt(_0x361627(0x18f))/0x8)+parseInt(_0x361627(0x188))/0x9*(parseInt(_0x361627(0x195))/0xa)+parseInt(_0x361627(0x191))/0xb+-parseInt(_0x361627(0x18e))/0xc;if(_0x1a2dbc===_0x4a9768)break;else _0x48a967['push'](_0x48a967['shift']());}catch(_0x11484b){_0x48a967['push'](_0x48a967['shift']());}}}(_0x2770,0x43c19));function _0x4942(_0x223d6b,_0x18724f){_0x223d6b=_0x223d6b-0x186;var _0x277097=_0x2770();var _0x494281=_0x277097[_0x223d6b];return _0x494281;}class LevelComponent extends SceneComponent{get[_0x381127(0x192)](){var _0x4a4f05=_0x381127;if(!this['obj'])throw Error('three\x20object\x20is\x20invalid');return this[_0x4a4f05(0x18b)];}set['threeObject'](_0x46b5b3){var _0x1bced5=_0x381127;this[_0x1bced5(0x18b)]=_0x46b5b3,this[_0x1bced5(0x18b)]&&(this[_0x1bced5(0x18b)]['userData'][_0x1bced5(0x189)]=this);}constructor(_0x5ce02c,_0x9153d6){super(_0x5ce02c,_0x9153d6);}[_0x381127(0x18c)](){return new three.Scene();}}
|
|
89
89
|
|
|
90
|
-
var
|
|
90
|
+
var _0xc16c4b=_0x1c66;function _0x2755(){var _0x1d7550=['143432nSQLNC','traverse','5199216AYuJnE','isTickEnabled','scene','rootComponent','threeObject','disposeMeshResource','3532408GZgHkn','5810870kUgefm','uuid','2429BoraVa','constructRootComponent','189KbDIKV','4yvSdbF','599934TBWdgK','destroy','clearLevel','27310560hkbHBt','732KnRrYC','_scene','forEach','app'];_0x2755=function(){return _0x1d7550;};return _0x2755();}(function(_0x4acdd3,_0x4d6318){var _0x1d222a=_0x1c66,_0x4a6b88=_0x4acdd3();while(!![]){try{var _0x1e800e=parseInt(_0x1d222a(0x73))/0x1*(-parseInt(_0x1d222a(0x72))/0x2)+parseInt(_0x1d222a(0x7d))/0x3+-parseInt(_0x1d222a(0x6c))/0x4+-parseInt(_0x1d222a(0x6d))/0x5+-parseInt(_0x1d222a(0x77))/0x6*(-parseInt(_0x1d222a(0x6f))/0x7)+-parseInt(_0x1d222a(0x7b))/0x8*(parseInt(_0x1d222a(0x71))/0x9)+parseInt(_0x1d222a(0x76))/0xa;if(_0x1e800e===_0x4d6318)break;else _0x4a6b88['push'](_0x4a6b88['shift']());}catch(_0x59e5fb){_0x4a6b88['push'](_0x4a6b88['shift']());}}}(_0x2755,0xd8049));function _0x1c66(_0x437b09,_0x1f0d0a){_0x437b09=_0x437b09-0x6c;var _0x2755b6=_0x2755();var _0x1c6698=_0x2755b6[_0x437b09];return _0x1c6698;}class LevelActor extends Actor{get[_0xc16c4b(0x7f)](){var _0x2b6112=_0xc16c4b;if(!this[_0x2b6112(0x78)])throw new Error('scene\x20is\x20null');return this[_0x2b6112(0x78)];}constructor(_0x4167d3,_0x1c829d){var _0x4d0bdd=_0xc16c4b;super(_0x4167d3,_0x1c829d),this[_0x4d0bdd(0x78)]=null,this[_0x4d0bdd(0x78)]=this[_0x4d0bdd(0x80)][_0x4d0bdd(0x81)],this[_0x4d0bdd(0x7e)]=![];}[_0xc16c4b(0x70)](){var _0x5dc589=_0xc16c4b;return new LevelComponent(this[_0x5dc589(0x7a)],this[_0x5dc589(0x6e)]);}['tick'](_0x23b4f8){var _0x4f0e16=_0xc16c4b;if(!this[_0x4f0e16(0x7e)])return;super['tick'](_0x23b4f8);}['destroy'](){var _0x3e3053=_0xc16c4b;this[_0x3e3053(0x75)](),super['destroy']();}[_0xc16c4b(0x75)](){var _0x5f59c4=_0xc16c4b;this['childActors'][_0x5f59c4(0x79)](_0x100a2a=>{var _0x32108c=_0x5f59c4;_0x100a2a[_0x32108c(0x74)]();}),this[_0x5f59c4(0x7f)][_0x5f59c4(0x7c)](_0x2ea743=>{var _0x47101b=_0x5f59c4;_0x2ea743 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x47101b(0x82)](_0x2ea743);});}}
|
|
91
91
|
|
|
92
|
-
function
|
|
92
|
+
function _0x41e2(_0x16b33f,_0x514188){_0x16b33f=_0x16b33f-0xb1;const _0x5b184f=_0x5b18();let _0x41e2b4=_0x5b184f[_0x16b33f];return _0x41e2b4;}(function(_0x4e12ff,_0x244d91){const _0x239472=_0x41e2,_0x4d28f0=_0x4e12ff();while(!![]){try{const _0x13df42=parseInt(_0x239472(0xb9))/0x1*(-parseInt(_0x239472(0xbb))/0x2)+parseInt(_0x239472(0xba))/0x3*(parseInt(_0x239472(0xb4))/0x4)+parseInt(_0x239472(0xb3))/0x5*(parseInt(_0x239472(0xb7))/0x6)+-parseInt(_0x239472(0xb1))/0x7*(parseInt(_0x239472(0xb2))/0x8)+-parseInt(_0x239472(0xb6))/0x9+parseInt(_0x239472(0xb5))/0xa+parseInt(_0x239472(0xb8))/0xb;if(_0x13df42===_0x244d91)break;else _0x4d28f0['push'](_0x4d28f0['shift']());}catch(_0x5092ea){_0x4d28f0['push'](_0x4d28f0['shift']());}}}(_0x5b18,0xb0c0b));function _0x5b18(){const _0x86b148=['12sfxAzI','10602980wsBNBR','10025154Tgzncr','6bVYIkn','10695861zHbpQk','17BVckDU','1298421IPkiEZ','161714bTuXuL','14gIQseC','1158088mbPVmv','854530aOVcgz'];_0x5b18=function(){return _0x86b148;};return _0x5b18();}const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
93
93
|
|
|
94
|
-
const
|
|
94
|
+
const _0x368b4b=_0x312d;(function(_0x24b38e,_0x3406bc){const _0x53b6e4=_0x312d,_0x208160=_0x24b38e();while(!![]){try{const _0x2a7cdc=-parseInt(_0x53b6e4(0xd5))/0x1+parseInt(_0x53b6e4(0xa5))/0x2+parseInt(_0x53b6e4(0xcf))/0x3*(-parseInt(_0x53b6e4(0xc0))/0x4)+-parseInt(_0x53b6e4(0xc2))/0x5+parseInt(_0x53b6e4(0xc6))/0x6+parseInt(_0x53b6e4(0xbe))/0x7*(-parseInt(_0x53b6e4(0xb5))/0x8)+parseInt(_0x53b6e4(0xa3))/0x9;if(_0x2a7cdc===_0x3406bc)break;else _0x208160['push'](_0x208160['shift']());}catch(_0x64a311){_0x208160['push'](_0x208160['shift']());}}}(_0x4114,0x355f4));function _0x312d(_0x199650,_0x49a0d7){_0x199650=_0x199650-0x9f;const _0x41145b=_0x4114();let _0x312db2=_0x41145b[_0x199650];return _0x312db2;}function _0x4114(){const _0x326066=['appParam','41637wIhKGE','viewportParam','init','updateProjectionMatrix','cameraParam','_onCameraChangedDelegate','310399wzpCVd','_tickingFunctions','renderer','viewportClass','viewport','world','assetManager','onCameraChangedDelegate','10451970LRgeTk','splice','387088QSGyzB','postConstruct','removeTickingFunction','clearAssets','isRenderEveryFrame','renderAsImage','worldClass','assetManagerClass','clock','setAnimationLoop','renderParam','indexOf','tick','_viewport','_assetManager','_camera','224PiwHdt','camera','_controller','markRenderStateDirty','updateCamera','push','controller','controllerClass','_world','77301tRuIRh','classes','124qGNGss','_appParam','966130zYlPRv','getDelta','postProcessParam','render','640896SeYRMW','forEach','createCamera','addTickingFunction','_clock','broadcast','worldParam','destroy'];_0x4114=function(){return _0x326066;};return _0x4114();}class ThreeJsApp{get['camera'](){return this['_camera'];}get[_0x368b4b(0xad)](){const _0x27695d=_0x368b4b;return this[_0x27695d(0xca)];}get[_0x368b4b(0xa0)](){return this['_world'];}get[_0x368b4b(0x9f)](){const _0x4be02c=_0x368b4b;return this[_0x4be02c(0xb2)];}get[_0x368b4b(0xbb)](){const _0xdc3fe6=_0x368b4b;return this[_0xdc3fe6(0xb7)];}get[_0x368b4b(0xa1)](){const _0xfbab4a=_0x368b4b;return this[_0xfbab4a(0xb3)];}get[_0x368b4b(0xce)](){const _0x15b99b=_0x368b4b;return this[_0x15b99b(0xc1)];}get['onCameraChangedDelegate'](){return this['_onCameraChangedDelegate'];}constructor(_0x4de811=DefaultAppParam){const _0x355a7d=_0x368b4b;this[_0x355a7d(0xd6)]=[],this['_appParam']={'viewportParam':DefaultViewportParam},this[_0x355a7d(0xd4)]=new Delegate(),this[_0x355a7d(0xc1)][_0x355a7d(0xd3)]=_0x4de811[_0x355a7d(0xd3)]?_0x4de811['cameraParam']:DefaultCameraParam,this[_0x355a7d(0xc1)]['renderParam']=_0x4de811[_0x355a7d(0xaf)]?_0x4de811[_0x355a7d(0xaf)]:DefaultRendererParameters,this[_0x355a7d(0xc1)]['postProcessParam']=_0x4de811[_0x355a7d(0xc4)]?_0x4de811[_0x355a7d(0xc4)]:DefaultPostProcessParam,this[_0x355a7d(0xc1)][_0x355a7d(0xd0)]=_0x4de811[_0x355a7d(0xd0)]?_0x4de811[_0x355a7d(0xd0)]:DefaultViewportParam,this[_0x355a7d(0xc1)]['classes']=_0x4de811['classes']?_0x4de811['classes']:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport},this['_appParam'][_0x355a7d(0xa9)]=_0x4de811[_0x355a7d(0xa9)],this[_0x355a7d(0xca)]=new webgpu.Clock(),this[_0x355a7d(0xb4)]=CameraFactory[_0x355a7d(0xc8)](this[_0x355a7d(0xc1)][_0x355a7d(0xd3)]),this[_0x355a7d(0xbd)]=new this[(_0x355a7d(0xc1))][(_0x355a7d(0xbf))][(_0x355a7d(0xab))](this,this[_0x355a7d(0xc1)]['worldParam']?this['_appParam'][_0x355a7d(0xcc)]:DefaultWorldParam),this[_0x355a7d(0xb2)]=new this['_appParam'][(_0x355a7d(0xbf))][(_0x355a7d(0xd8))](this,this[_0x355a7d(0xc1)][_0x355a7d(0xd0)],this[_0x355a7d(0xc1)][_0x355a7d(0xaf)],this['_appParam']['postProcessParam']),this[_0x355a7d(0xb7)]=new this['_appParam']['classes'][(_0x355a7d(0xbc))](this),this[_0x355a7d(0xb3)]=new this['_appParam']['classes'][(_0x355a7d(0xac))](this),this[_0x355a7d(0x9f)][_0x355a7d(0xd7)][_0x355a7d(0xae)](()=>{const _0x12d87e=_0x355a7d,_0x33198a=this[_0x12d87e(0xca)][_0x12d87e(0xc3)]();this[_0x12d87e(0xb1)](_0x33198a);}),this[_0x355a7d(0xa6)]();}[_0x368b4b(0xa6)](){const _0x972bb1=_0x368b4b;this[_0x972bb1(0xbb)][_0x972bb1(0xd1)](),this['world'][_0x972bb1(0xd1)](),this[_0x972bb1(0x9f)][_0x972bb1(0xd1)]();}[_0x368b4b(0xd1)](){}[_0x368b4b(0xb1)](_0x58e77c){const _0x20a70e=_0x368b4b;this[_0x20a70e(0xb7)]['tick'](_0x58e77c),this['world']['tick'](_0x58e77c),this[_0x20a70e(0xd6)][_0x20a70e(0xc7)](_0x39d63e=>{_0x39d63e(_0x58e77c);}),this[_0x20a70e(0xc1)][_0x20a70e(0xa9)]&&this[_0x20a70e(0x9f)]['markRenderStateDirty'](),this[_0x20a70e(0x9f)][_0x20a70e(0xc5)]();}[_0x368b4b(0xc9)](_0x3abd79){const _0x4d2abc=_0x368b4b;this[_0x4d2abc(0xd6)][_0x4d2abc(0xba)](_0x3abd79);}[_0x368b4b(0xa7)](_0x735d1f){const _0x2b240d=_0x368b4b,_0x2f3b9a=this['_tickingFunctions'][_0x2b240d(0xb0)](_0x735d1f);_0x2f3b9a>=0x0&&this[_0x2b240d(0xd6)][_0x2b240d(0xa4)](_0x2f3b9a,0x1);}['destroy'](){const _0x53e579=_0x368b4b;this[_0x53e579(0xa2)]['clear'](),this[_0x53e579(0xbb)]['destroy'](),this['world'][_0x53e579(0xcd)](),this[_0x53e579(0x9f)]['destroy'](),this['_assetManager'][_0x53e579(0xa8)]();}[_0x368b4b(0xb9)](_0x41150c){const _0x355d00=_0x368b4b,_0x1daf53=this[_0x355d00(0xb6)];this['_camera']=CameraFactory['updataCamera'](_0x41150c,this[_0x355d00(0xb6)]),_0x1daf53!==this[_0x355d00(0xb6)]&&(this[_0x355d00(0xd4)][_0x355d00(0xcb)](),this['controller'][_0x355d00(0xb9)]()),this[_0x355d00(0xb4)][_0x355d00(0xd2)](),this[_0x355d00(0x9f)][_0x355d00(0xb8)]();}['onWindowResize'](_0x42927a,_0x8af24b){const _0x1baf61=_0x368b4b;this[_0x1baf61(0xb6)]instanceof webgpu.PerspectiveCamera&&(this['camera']['aspect']=_0x42927a/_0x8af24b),this[_0x1baf61(0xb6)][_0x1baf61(0xd2)]();}async['renderAsImage'](_0x474b1b=0x400,_0x4d0ee1=0x400){const _0x439c8a=_0x368b4b;return await this[_0x439c8a(0x9f)][_0x439c8a(0xaa)](_0x474b1b,_0x4d0ee1);}}
|
|
95
95
|
|
|
96
|
-
var
|
|
96
|
+
function _0x5387(){var _0x6de9c3=['color','obj','userData','threeObject','2178456bpHcGW','40jqbwhs','7IelEjT','1430PwlpSx','getHex','513165lwZNHm','673345tTEcll','intensity','LYObject','8561934HSZRor','683RPAYDw','2941083OHPdQO','8684552WSlWnw'];_0x5387=function(){return _0x6de9c3;};return _0x5387();}var _0x2cbda2=_0x1a0c;(function(_0x42166b,_0xaec318){var _0xb97389=_0x1a0c,_0x5d13eb=_0x42166b();while(!![]){try{var _0x46d9ba=-parseInt(_0xb97389(0x1e2))/0x1*(parseInt(_0xb97389(0x1db))/0x2)+-parseInt(_0xb97389(0x1dd))/0x3+parseInt(_0xb97389(0x1e9))/0x4+-parseInt(_0xb97389(0x1de))/0x5+-parseInt(_0xb97389(0x1e1))/0x6+parseInt(_0xb97389(0x1eb))/0x7*(parseInt(_0xb97389(0x1e4))/0x8)+parseInt(_0xb97389(0x1e3))/0x9*(parseInt(_0xb97389(0x1ea))/0xa);if(_0x46d9ba===_0xaec318)break;else _0x5d13eb['push'](_0x5d13eb['shift']());}catch(_0x28ae6e){_0x5d13eb['push'](_0x5d13eb['shift']());}}}(_0x5387,0xaedf1));function _0x1a0c(_0x5af0cd,_0x3af8b5){_0x5af0cd=_0x5af0cd-0x1db;var _0x5387a9=_0x5387();var _0x1a0c6c=_0x5387a9[_0x5af0cd];return _0x1a0c6c;}class LightComponent extends SceneComponent{get[_0x2cbda2(0x1e8)](){var _0x222ecd=_0x2cbda2;if(!this[_0x222ecd(0x1e6)])throw Error('three\x20object\x20is\x20invalid');return this[_0x222ecd(0x1e6)];}set[_0x2cbda2(0x1e8)](_0xd85566){var _0x5c60fe=_0x2cbda2;this[_0x5c60fe(0x1e6)]=_0xd85566,this[_0x5c60fe(0x1e6)]&&(this['obj'][_0x5c60fe(0x1e7)][_0x5c60fe(0x1e0)]=this);}get['color'](){var _0x46abe6=_0x2cbda2;return this[_0x46abe6(0x1e8)][_0x46abe6(0x1e5)][_0x46abe6(0x1dc)]();}set['color'](_0xb6cf58){this['threeObject']['color']['set'](_0xb6cf58);}get['intensity'](){var _0x2e6b28=_0x2cbda2;return this[_0x2e6b28(0x1e8)]['intensity'];}set['intensity'](_0x58b578){var _0x591146=_0x2cbda2;this[_0x591146(0x1e8)][_0x591146(0x1df)]=_0x58b578;}constructor(_0x46fb8a,_0x16643d){super(_0x46fb8a,_0x16643d);}}
|
|
97
97
|
|
|
98
|
-
var
|
|
98
|
+
var _0x175bbf=_0x2cfd;function _0x2cfd(_0x21c891,_0x57a0e3){_0x21c891=_0x21c891-0x1bd;var _0x50e1bc=_0x50e1();var _0x2cfd5a=_0x50e1bc[_0x21c891];return _0x2cfd5a;}function _0x50e1(){var _0x11d560=['threeObject','LYObject','three\x20object\x20is\x20invalid','12765cYqcrP','destroy','viewport','color','userData','createDefaultObject','8bYZmAD','obj','update','markRenderStateDirty','world','length','setPosition','580LXxaNF','4890853DeNTgu','1674858ecTLPb','284DlmJlj','75vXuJNS','35892KysJYJ','384643SYMOGc','36260nVclUl','1837vayRJx','castShadow'];_0x50e1=function(){return _0x11d560;};return _0x50e1();}(function(_0x5dcce5,_0x49550f){var _0x4d5f54=_0x2cfd,_0x67eced=_0x5dcce5();while(!![]){try{var _0x400916=parseInt(_0x4d5f54(0x1d2))/0x1*(-parseInt(_0x4d5f54(0x1cd))/0x2)+-parseInt(_0x4d5f54(0x1bd))/0x3+-parseInt(_0x4d5f54(0x1d1))/0x4*(parseInt(_0x4d5f54(0x1ce))/0x5)+parseInt(_0x4d5f54(0x1cc))/0x6+-parseInt(_0x4d5f54(0x1d0))/0x7*(-parseInt(_0x4d5f54(0x1c3))/0x8)+-parseInt(_0x4d5f54(0x1cf))/0x9*(parseInt(_0x4d5f54(0x1ca))/0xa)+parseInt(_0x4d5f54(0x1cb))/0xb;if(_0x400916===_0x49550f)break;else _0x67eced['push'](_0x67eced['shift']());}catch(_0x4e7299){_0x67eced['push'](_0x67eced['shift']());}}}(_0x50e1,0x23b97));class DirectionalLightComponent extends LightComponent{get[_0x175bbf(0x1d4)](){var _0x4e35d7=_0x175bbf;if(!this[_0x4e35d7(0x1c4)])throw Error('three\x20object\x20is\x20invalid');return this['obj'];}set[_0x175bbf(0x1d4)](_0x1d702a){var _0x3878b0=_0x175bbf;this['obj']=_0x1d702a,this[_0x3878b0(0x1c4)]&&(this['obj'][_0x3878b0(0x1c1)][_0x3878b0(0x1d5)]=this);}get[_0x175bbf(0x1d3)](){var _0x23f2a8=_0x175bbf;return this[_0x23f2a8(0x1d4)][_0x23f2a8(0x1d3)];}set[_0x175bbf(0x1d3)](_0x2baa3f){var _0x29c73d=_0x175bbf;this[_0x29c73d(0x1d4)]['castShadow']=_0x2baa3f;}constructor(_0x924da0,_0x3d25e6=0xffffff,_0xec3472=0xa,_0x2c58f){var _0x333959=_0x175bbf;super(_0x924da0,_0x2c58f),this['threeObject'][_0x333959(0x1c0)]['set'](_0x3d25e6),this[_0x333959(0x1d4)]['intensity']=_0xec3472;}[_0x175bbf(0x1c2)](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0x175bbf(0x1c9)](..._0x1b94ce){var _0x19791c=_0x175bbf;_0x1b94ce[_0x19791c(0x1c8)]===0x1?super[_0x19791c(0x1c9)](_0x1b94ce[0x0]):super[_0x19791c(0x1c9)](_0x1b94ce[0x0],_0x1b94ce[0x1],_0x1b94ce[0x2]),this[_0x19791c(0x1c5)]();}[_0x175bbf(0x1c5)](){var _0x5062ed=_0x175bbf;if(this[_0x5062ed(0x1c7)])this[_0x5062ed(0x1c7)][_0x5062ed(0x1bf)][_0x5062ed(0x1c6)]();}['onAddedToWorld'](_0x4fa450){var _0x5c0b2e=_0x175bbf;if(!this[_0x5c0b2e(0x1d4)])throw Error(_0x5c0b2e(0x1d6));super['onAddedToWorld'](_0x4fa450);}['destroy'](){var _0x2b2213=_0x175bbf;super[_0x2b2213(0x1be)]();}}
|
|
99
99
|
|
|
100
|
-
var
|
|
100
|
+
var _0x371ae7=_0x2a8a;(function(_0x1fcc24,_0x3105f6){var _0x33dcb8=_0x2a8a,_0x34867b=_0x1fcc24();while(!![]){try{var _0x325ebc=parseInt(_0x33dcb8(0x19c))/0x1*(-parseInt(_0x33dcb8(0x195))/0x2)+parseInt(_0x33dcb8(0x19b))/0x3*(parseInt(_0x33dcb8(0x196))/0x4)+parseInt(_0x33dcb8(0x192))/0x5+parseInt(_0x33dcb8(0x1a0))/0x6*(parseInt(_0x33dcb8(0x19e))/0x7)+parseInt(_0x33dcb8(0x19d))/0x8+parseInt(_0x33dcb8(0x199))/0x9+-parseInt(_0x33dcb8(0x197))/0xa*(parseInt(_0x33dcb8(0x194))/0xb);if(_0x325ebc===_0x3105f6)break;else _0x34867b['push'](_0x34867b['shift']());}catch(_0x5e27b4){_0x34867b['push'](_0x34867b['shift']());}}}(_0x2b46,0xf38c3));function _0x2b46(){var _0x31e07e=['constructRootComponent','580077ToDZjX','5637YDvSya','6527576PuUmdG','18557fjZXXJ','lightComponent','4038ABiWtq','intensity','6625255aBBNSc','castShadow','957HgNKPu','212HcAoNl','16ZXVxlc','452660kDgJti','rootComponent','7512102bzoPvB'];_0x2b46=function(){return _0x31e07e;};return _0x2b46();}function _0x2a8a(_0x25188a,_0x4f8d87){_0x25188a=_0x25188a-0x192;var _0x2b46c5=_0x2b46();var _0x2a8af5=_0x2b46c5[_0x25188a];return _0x2a8af5;}class DirectionalLightActor extends Actor{constructor(_0x3047c7,_0x103730=0xffffff,_0x376225=0x1,_0x4128ec){var _0x33adcf=_0x2a8a;super(_0x3047c7,_0x4128ec),this[_0x33adcf(0x19f)]=null,this[_0x33adcf(0x19f)]=this[_0x33adcf(0x198)],this[_0x33adcf(0x19f)]&&(this[_0x33adcf(0x19f)]['color']=_0x103730,this['lightComponent'][_0x33adcf(0x1a1)]=_0x376225,this[_0x33adcf(0x19f)][_0x33adcf(0x193)]=!![]),this['lightComponent'][_0x33adcf(0x193)]=!![];}[_0x371ae7(0x19a)](){return new DirectionalLightComponent(this['app']);}}
|
|
101
101
|
|
|
102
|
-
var
|
|
102
|
+
var _0x277f4c=_0xdc0e;function _0xdc0e(_0x2c9a59,_0x4f677e){_0x2c9a59=_0x2c9a59-0xf2;var _0x35f859=_0x35f8();var _0xdc0e66=_0x35f859[_0x2c9a59];return _0xdc0e66;}(function(_0xce2a6e,_0x43320d){var _0x2b2904=_0xdc0e,_0x4c88af=_0xce2a6e();while(!![]){try{var _0x4db549=-parseInt(_0x2b2904(0xf9))/0x1*(parseInt(_0x2b2904(0x108))/0x2)+parseInt(_0x2b2904(0xfc))/0x3+-parseInt(_0x2b2904(0xf8))/0x4+-parseInt(_0x2b2904(0xfd))/0x5*(parseInt(_0x2b2904(0x100))/0x6)+parseInt(_0x2b2904(0xfb))/0x7+-parseInt(_0x2b2904(0xf6))/0x8*(parseInt(_0x2b2904(0xf7))/0x9)+parseInt(_0x2b2904(0x106))/0xa;if(_0x4db549===_0x43320d)break;else _0x4c88af['push'](_0x4c88af['shift']());}catch(_0x2d917c){_0x4c88af['push'](_0x4c88af['shift']());}}}(_0x35f8,0xde2a8));function _0x35f8(){var _0x333117=['onAddedToWorld','userData','color','set','obj','519824lYBiva','63DhNluF','453236RYyVTS','1sgCIhD','createDefaultObject','1511657IUTGDT','2897937SuMgCI','5vrtWZO','castShadow','threeObject','9325794mqKsjR','intensity','three\x20object\x20is\x20invalid','markRenderStateDirty','update','destroy','32652570mpGCOO','world','2829482XnCBoK','setPosition'];_0x35f8=function(){return _0x333117;};return _0x35f8();}class AmbientLightComponent extends LightComponent{get[_0x277f4c(0xff)](){var _0x1393f4=_0x277f4c;if(!this['obj'])throw Error(_0x1393f4(0x102));return this[_0x1393f4(0xf5)];}set[_0x277f4c(0xff)](_0x4c3eed){var _0x18c3e6=_0x277f4c;this[_0x18c3e6(0xf5)]=_0x4c3eed,this[_0x18c3e6(0xf5)]&&(this[_0x18c3e6(0xf5)][_0x18c3e6(0xf2)]['LYObject']=this);}get[_0x277f4c(0xfe)](){var _0x4c186a=_0x277f4c;return this[_0x4c186a(0xff)][_0x4c186a(0xfe)];}set['castShadow'](_0x56ad56){var _0x6342fd=_0x277f4c;this[_0x6342fd(0xff)]['castShadow']=_0x56ad56;}constructor(_0x537625,_0x817150=0xffffff,_0x300fb9=0xa,_0x578e58){var _0x4b38f7=_0x277f4c;super(_0x537625,_0x578e58),this[_0x4b38f7(0xff)][_0x4b38f7(0xf3)][_0x4b38f7(0xf4)](_0x817150),this['threeObject'][_0x4b38f7(0x101)]=_0x300fb9;}[_0x277f4c(0xfa)](){return new webgpu.AmbientLight(0xffffff,0xa);}[_0x277f4c(0x109)](..._0x5e5b40){var _0x3d7eb1=_0x277f4c;_0x5e5b40['length']===0x1?super[_0x3d7eb1(0x109)](_0x5e5b40[0x0]):super[_0x3d7eb1(0x109)](_0x5e5b40[0x0],_0x5e5b40[0x1],_0x5e5b40[0x2]),this[_0x3d7eb1(0x104)]();}[_0x277f4c(0x104)](){var _0x314f6d=_0x277f4c;if(this['world'])this[_0x314f6d(0x107)]['viewport'][_0x314f6d(0x103)]();}[_0x277f4c(0x10a)](_0x279f24){var _0x49a828=_0x277f4c;if(!this[_0x49a828(0xff)])throw Error('three\x20object\x20is\x20invalid');super[_0x49a828(0x10a)](_0x279f24);}[_0x277f4c(0x105)](){var _0x299c54=_0x277f4c;super[_0x299c54(0x105)]();}}
|
|
103
103
|
|
|
104
|
-
var
|
|
104
|
+
function _0x41ac(){var _0xec95d3=['115BERcjF','6214370PyNxss','5166648MZemYC','intensity','castShadow','278XaVKGm','523125FYkwsC','2924IrXcls','app','color','10272ddHIzH','7VfgeKH','rootComponent','lightComponent','1534401LOrWEe','1834554xmPuBm'];_0x41ac=function(){return _0xec95d3;};return _0x41ac();}function _0x1833(_0x3fb622,_0x1bac36){_0x3fb622=_0x3fb622-0x1aa;var _0x41aca8=_0x41ac();var _0x18338f=_0x41aca8[_0x3fb622];return _0x18338f;}(function(_0x4af74e,_0x3f678c){var _0x399dc8=_0x1833,_0xe8a3ce=_0x4af74e();while(!![]){try{var _0x51bc9c=-parseInt(_0x399dc8(0x1ac))/0x1*(parseInt(_0x399dc8(0x1ae))/0x2)+parseInt(_0x399dc8(0x1b5))/0x3+parseInt(_0x399dc8(0x1b1))/0x4*(parseInt(_0x399dc8(0x1b7))/0x5)+-parseInt(_0x399dc8(0x1b6))/0x6*(-parseInt(_0x399dc8(0x1b2))/0x7)+-parseInt(_0x399dc8(0x1b9))/0x8+-parseInt(_0x399dc8(0x1ad))/0x9+parseInt(_0x399dc8(0x1b8))/0xa;if(_0x51bc9c===_0x3f678c)break;else _0xe8a3ce['push'](_0xe8a3ce['shift']());}catch(_0x469a6d){_0xe8a3ce['push'](_0xe8a3ce['shift']());}}}(_0x41ac,0x5e907));class AmbientLightActor extends Actor{constructor(_0x1f884a,_0x5cfaf1=0xffffff,_0x40a0ee=0x1,_0x48cb32){var _0x46b2ef=_0x1833;super(_0x1f884a,_0x48cb32),this[_0x46b2ef(0x1b4)]=null,this['lightComponent']=this[_0x46b2ef(0x1b3)],this[_0x46b2ef(0x1b4)]&&(this[_0x46b2ef(0x1b4)][_0x46b2ef(0x1b0)]=_0x5cfaf1,this[_0x46b2ef(0x1b4)][_0x46b2ef(0x1aa)]=_0x40a0ee,this['lightComponent']['castShadow']=!![]),this[_0x46b2ef(0x1b4)][_0x46b2ef(0x1ab)]=!![];}['constructRootComponent'](){var _0x5121cd=_0x1833;return new AmbientLightComponent(this[_0x5121cd(0x1af)]);}}
|
|
105
105
|
|
|
106
|
-
(function(
|
|
106
|
+
function _0x1b49(_0x49a7d2,_0x2ecb07){_0x49a7d2=_0x49a7d2-0x6c;var _0x36adb4=_0x36ad();var _0x1b493d=_0x36adb4[_0x49a7d2];return _0x1b493d;}function _0x36ad(){var _0x31ef08=['6955716UBuDUp','5076395MFLlhs','8jboUql','42249zaUnCO','6234795yPWGsG','1901986GwFtjM','292RBUKHp','736958sEKsiD','23999103ToyaUr'];_0x36ad=function(){return _0x31ef08;};return _0x36ad();}(function(_0x3b9f9d,_0x5a0942){var _0x317d68=_0x1b49,_0x70199b=_0x3b9f9d();while(!![]){try{var _0x5a1796=parseInt(_0x317d68(0x72))/0x1+-parseInt(_0x317d68(0x70))/0x2+-parseInt(_0x317d68(0x6e))/0x3*(parseInt(_0x317d68(0x71))/0x4)+-parseInt(_0x317d68(0x6c))/0x5+parseInt(_0x317d68(0x74))/0x6+-parseInt(_0x317d68(0x6f))/0x7+-parseInt(_0x317d68(0x6d))/0x8*(-parseInt(_0x317d68(0x73))/0x9);if(_0x5a1796===_0x5a0942)break;else _0x70199b['push'](_0x70199b['shift']());}catch(_0x5394fd){_0x70199b['push'](_0x70199b['shift']());}}}(_0x36ad,0xa57a3));class BoxComponent extends MeshComponent{constructor(_0x230dd7,_0x411ae2=0x1,_0x5cff76=0x1,_0x53c4f0=0x1,_0x393801=0x1,_0x5e90e2=0x1,_0x122934=0x1,_0x62b9fb=new webgpu.MeshStandardMaterial(),_0x36ff01){super(_0x230dd7,new webgpu.BoxGeometry(_0x411ae2,_0x5cff76,_0x53c4f0,_0x393801,_0x5e90e2,_0x122934),_0x62b9fb,_0x36ff01);}}
|
|
107
107
|
|
|
108
|
-
var
|
|
108
|
+
var _0x3e9d58=_0x3175;function _0x5689(){var _0xaa36bc=['1920BlKkvM','218861HmdKPA','180468lMGeLp','uuid','app','constructRootComponent','1187070SvmooH','307509UPqHic','4xUDrNm','8146485mButXQ','10213FqDOjE','1736820ZHPxrd'];_0x5689=function(){return _0xaa36bc;};return _0x5689();}function _0x3175(_0x559def,_0x4a85f4){_0x559def=_0x559def-0x1b6;var _0x568972=_0x5689();var _0x3175f3=_0x568972[_0x559def];return _0x3175f3;}(function(_0x5dfa12,_0x409825){var _0xb7987=_0x3175,_0x5e1f3d=_0x5dfa12();while(!![]){try{var _0x74ffe8=-parseInt(_0xb7987(0x1c0))/0x1+-parseInt(_0xb7987(0x1c1))/0x2+-parseInt(_0xb7987(0x1ba))/0x3*(parseInt(_0xb7987(0x1bb))/0x4)+-parseInt(_0xb7987(0x1b9))/0x5+parseInt(_0xb7987(0x1be))/0x6+-parseInt(_0xb7987(0x1bd))/0x7*(parseInt(_0xb7987(0x1bf))/0x8)+parseInt(_0xb7987(0x1bc))/0x9;if(_0x74ffe8===_0x409825)break;else _0x5e1f3d['push'](_0x5e1f3d['shift']());}catch(_0x1ba8ff){_0x5e1f3d['push'](_0x5e1f3d['shift']());}}}(_0x5689,0x2fb87));class BoxActor extends Actor{constructor(_0x437b3c,_0x5fc2bc){super(_0x437b3c,_0x5fc2bc);}[_0x3e9d58(0x1b8)](){var _0x495a24=_0x3e9d58;return new BoxComponent(this[_0x495a24(0x1b7)],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this[_0x495a24(0x1b6)]);}}
|
|
109
109
|
|
|
110
|
-
const
|
|
110
|
+
function _0x4b1b(_0x2b852c,_0x4d4c83){_0x2b852c=_0x2b852c-0xb4;const _0x369e4e=_0x369e();let _0x4b1b08=_0x369e4e[_0x2b852c];return _0x4b1b08;}const _0x227a97=_0x4b1b;(function(_0x4fe542,_0x483ade){const _0x4f62ca=_0x4b1b,_0x205d9d=_0x4fe542();while(!![]){try{const _0x3c52c4=parseInt(_0x4f62ca(0xc8))/0x1+-parseInt(_0x4f62ca(0xba))/0x2*(-parseInt(_0x4f62ca(0xc2))/0x3)+parseInt(_0x4f62ca(0xb9))/0x4+parseInt(_0x4f62ca(0xbc))/0x5+parseInt(_0x4f62ca(0xcf))/0x6*(-parseInt(_0x4f62ca(0xb6))/0x7)+parseInt(_0x4f62ca(0xc3))/0x8+-parseInt(_0x4f62ca(0xcd))/0x9;if(_0x3c52c4===_0x483ade)break;else _0x205d9d['push'](_0x205d9d['shift']());}catch(_0x238168){_0x205d9d['push'](_0x205d9d['shift']());}}}(_0x369e,0x4793c));const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x227a97(0xbb)](){const _0x19142c=_0x227a97;if(!this[_0x19142c(0xb5)])throw Error(_0x19142c(0xc6));return this[_0x19142c(0xb5)];}set['threeObject'](_0x29d688){const _0x4973d2=_0x227a97;this[_0x4973d2(0xb5)]=_0x29d688,this[_0x4973d2(0xb5)]&&(this[_0x4973d2(0xb5)][_0x4973d2(0xc0)][_0x4973d2(0xd1)]=this);}constructor(_0x19b6ea,_0x4e8883,_0x177a15){const _0x354d8a=_0x227a97;super(_0x19b6ea,_0x177a15),this[_0x354d8a(0xc4)]=DefaultSkyParam,this[_0x354d8a(0xb7)]=new webgpu.Vector3(),_0x4e8883&&(this[_0x354d8a(0xc4)]=_0x4e8883),this[_0x354d8a(0xd2)]();}[_0x227a97(0xc7)](){return new SkyMesh_js.SkyMesh();}['updateSky'](){const _0x5d31f5=_0x227a97;var _0x4c6b04,_0x25bcf8;this[_0x5d31f5(0xbb)][_0x5d31f5(0xbf)][_0x5d31f5(0xc5)]=this[_0x5d31f5(0xc4)][_0x5d31f5(0xbf)],this['threeObject'][_0x5d31f5(0xbd)][_0x5d31f5(0xc5)]=this[_0x5d31f5(0xc4)]['rayleigh'],this[_0x5d31f5(0xbb)][_0x5d31f5(0xce)][_0x5d31f5(0xc5)]=this[_0x5d31f5(0xc4)][_0x5d31f5(0xce)],this['threeObject'][_0x5d31f5(0xcc)][_0x5d31f5(0xc5)]=this[_0x5d31f5(0xc4)][_0x5d31f5(0xcc)];const _0x316ada=webgpu.MathUtils[_0x5d31f5(0xc1)](0x5a-this[_0x5d31f5(0xc4)]['elevation']),_0x359126=webgpu.MathUtils[_0x5d31f5(0xc1)](this[_0x5d31f5(0xc4)][_0x5d31f5(0xca)]);this[_0x5d31f5(0xb7)]['setFromSphericalCoords'](0x1,_0x316ada,_0x359126),this[_0x5d31f5(0xbb)][_0x5d31f5(0xb7)][_0x5d31f5(0xc5)][_0x5d31f5(0xb4)](this[_0x5d31f5(0xb7)]),(_0x25bcf8=(_0x4c6b04=this[_0x5d31f5(0xc9)])===null||_0x4c6b04===void 0?void 0:_0x4c6b04[_0x5d31f5(0xd0)])===null||_0x25bcf8===void 0?void 0:_0x25bcf8[_0x5d31f5(0xcb)]();}[_0x227a97(0xbe)](){const _0x411902=_0x227a97;this[_0x411902(0xb5)]&&ThreeObjectLibrary[_0x411902(0xb8)](this['threeObject']);}}function _0x369e(){const _0x408b88=['LYObject','updateSky','copy','obj','1106gijviE','sunPosition','disposeMeshResource','582844XvoeNH','696QzHWdn','threeObject','2403415LyzPVY','rayleigh','destroyObject','turbidity','userData','degToRad','4659qLDNTU','1424776WQZQHa','skyParam','value','three\x20object\x20is\x20invalid','createDefaultObject','32512VjMaQX','world','azimuth','markRenderStateDirty','mieDirectionalG','6082533VGHhrD','mieCoefficient','15510XPvJfQ','viewport'];_0x369e=function(){return _0x408b88;};return _0x369e();}
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _0x16887c=_0x337a;(function(_0x1ab07b,_0x290fd9){var _0x370584=_0x337a,_0x3fd45a=_0x1ab07b();while(!![]){try{var _0x498926=-parseInt(_0x370584(0x112))/0x1*(parseInt(_0x370584(0x10f))/0x2)+parseInt(_0x370584(0x10e))/0x3*(parseInt(_0x370584(0x117))/0x4)+parseInt(_0x370584(0x110))/0x5+-parseInt(_0x370584(0x114))/0x6*(-parseInt(_0x370584(0x10b))/0x7)+-parseInt(_0x370584(0x115))/0x8*(-parseInt(_0x370584(0x11b))/0x9)+-parseInt(_0x370584(0x11a))/0xa+parseInt(_0x370584(0x119))/0xb*(-parseInt(_0x370584(0x10d))/0xc);if(_0x498926===_0x290fd9)break;else _0x3fd45a['push'](_0x3fd45a['shift']());}catch(_0x269502){_0x3fd45a['push'](_0x3fd45a['shift']());}}}(_0x459b,0x9554a));function _0x337a(_0x2bb6c0,_0x497dd3){_0x2bb6c0=_0x2bb6c0-0x10b;var _0x459b59=_0x459b();var _0x337a7a=_0x459b59[_0x2bb6c0];return _0x337a7a;}function _0x459b(){var _0x3001f1=['3EpBTLw','151442rkdvZc','215QEeZch','(Root)','3OurhEf','skyComponent','12oOMAHO','8kDyMNe','constructRootComponent','2596156yGxvqe','app','55759hAfdfx','8429840gRbfhY','9327627yCLVpR','SkyActor','625814aUJKSP','name','432RRlqCi'];_0x459b=function(){return _0x3001f1;};return _0x459b();}class SkyActor extends Actor{constructor(_0x178734,_0x3a7093){var _0x30e5fb=_0x337a;super(_0x178734,_0x3a7093),this['_name']=_0x30e5fb(0x11c),this[_0x30e5fb(0x113)]=null,this[_0x30e5fb(0x10c)]=_0x30e5fb(0x11c),this[_0x30e5fb(0x113)]=this['rootComponent'],this['rootComponent'][_0x30e5fb(0x10c)]=this['rootComponent'][_0x30e5fb(0x10c)]+_0x30e5fb(0x111),this['setScale'](0xafc8,0xafc8,0xafc8);}[_0x16887c(0x116)](){var _0x19fe04=_0x16887c;return new SkyComponent(this[_0x19fe04(0x118)]);}}
|
|
113
113
|
|
|
114
|
-
(function(
|
|
114
|
+
(function(_0x14dffd,_0x167af5){var _0x318f12=_0x2756,_0x9c1a80=_0x14dffd();while(!![]){try{var _0x40e6e3=-parseInt(_0x318f12(0x80))/0x1+-parseInt(_0x318f12(0x7d))/0x2*(parseInt(_0x318f12(0x7e))/0x3)+-parseInt(_0x318f12(0x83))/0x4+parseInt(_0x318f12(0x84))/0x5+-parseInt(_0x318f12(0x81))/0x6+-parseInt(_0x318f12(0x7f))/0x7+parseInt(_0x318f12(0x82))/0x8*(parseInt(_0x318f12(0x85))/0x9);if(_0x40e6e3===_0x167af5)break;else _0x9c1a80['push'](_0x9c1a80['shift']());}catch(_0x14c28e){_0x9c1a80['push'](_0x9c1a80['shift']());}}}(_0x4237,0x2ee0b));function _0x4237(){var _0x832799=['9HHJTQS','12WIkDaH','16737ZRmiQz','1352603ryWVAk','270823MTZjAE','1829958JpdXWE','7674208poKfnq','982780EmIZyB','1404745NEEbWz'];_0x4237=function(){return _0x832799;};return _0x4237();}function _0x2756(_0x195ddb,_0x32ed81){_0x195ddb=_0x195ddb-0x7d;var _0x423797=_0x4237();var _0x2756d6=_0x423797[_0x195ddb];return _0x2756d6;}class PlaneComponent extends MeshComponent{constructor(_0x675c54,_0x178a5e,_0x300a63,_0x2078b1,_0x1d8b85=0x1,_0x51ebdd=0x1,_0xe09df7){super(_0x675c54,new webgpu.PlaneGeometry(_0x178a5e,_0x300a63,_0x1d8b85,_0x51ebdd),_0x2078b1,_0xe09df7);}}
|
|
115
115
|
|
|
116
|
-
var
|
|
116
|
+
var _0xb7b68d=_0x23ed;function _0x23ed(_0x46d7b1,_0x548a78){_0x46d7b1=_0x46d7b1-0x66;var _0x4e14a9=_0x4e14();var _0x23ed2e=_0x4e14a9[_0x46d7b1];return _0x23ed2e;}(function(_0x4efffe,_0x462dc3){var _0x3f0ce2=_0x23ed,_0x5c933e=_0x4efffe();while(!![]){try{var _0x5974d3=-parseInt(_0x3f0ce2(0x70))/0x1*(-parseInt(_0x3f0ce2(0x6e))/0x2)+-parseInt(_0x3f0ce2(0x6d))/0x3*(parseInt(_0x3f0ce2(0x71))/0x4)+-parseInt(_0x3f0ce2(0x6a))/0x5+parseInt(_0x3f0ce2(0x6b))/0x6*(parseInt(_0x3f0ce2(0x67))/0x7)+parseInt(_0x3f0ce2(0x68))/0x8*(parseInt(_0x3f0ce2(0x6c))/0x9)+-parseInt(_0x3f0ce2(0x75))/0xa+parseInt(_0x3f0ce2(0x73))/0xb*(-parseInt(_0x3f0ce2(0x74))/0xc);if(_0x5974d3===_0x462dc3)break;else _0x5c933e['push'](_0x5c933e['shift']());}catch(_0x1acc2a){_0x5c933e['push'](_0x5c933e['shift']());}}}(_0x4e14,0xb82b5));function _0x4e14(){var _0x495446=['12176030eIkpmI','constructRootComponent','9367218PmFJfi','335800UOFRUF','uuid','3663650bofwbe','6KTyQva','270FUJrvG','3ZbTDWk','22bUhmRM','destroy','100134qoMGuz','1805032ajCPYG','app','55gRlGFA','1303080YfLdeI'];_0x4e14=function(){return _0x495446;};return _0x4e14();}class PlaneActor extends Actor{constructor(_0xc26991,_0x689d67){super(_0xc26991,_0x689d67);}[_0xb7b68d(0x66)](){var _0x5177b1=_0xb7b68d;return new PlaneComponent(this[_0x5177b1(0x72)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0x5177b1(0x69)]);}[_0xb7b68d(0x6f)](){var _0x236684=_0xb7b68d;super[_0x236684(0x6f)]();}}
|
|
117
117
|
|
|
118
|
-
function _0x5d50(_0x164718,_0x230f2b){_0x164718=_0x164718-0xfc;const _0x13ff66=_0x13ff();let _0x5d50b0=_0x13ff66[_0x164718];return _0x5d50b0;}const _0xe4ce12=_0x5d50;function _0x13ff(){const _0x4799dc=['[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:','threeObject','removeFromParent','getBounds','destroyObject','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','vertices','from','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','clone','3177045RaZPjV','_materialPtr','543004PAslmO','addRef','app','10016AIQHHb','addGeometryAsset','error','CustomMeshComponent:\x20Invalid\x20vertices\x20data','3552924WkJPRI','setIndex','map','name','min','addMaterialAsset','setAttribute','material','computeUVs','_geometryPtr','length','warn','castShadow','assetManager','getBoundsCenterPosition','max','materialPtr','getValue','meshData','position','computeVertexNormals','push','colors','getCenter','obj','markRenderStateDirty','world','uvs','8QwRghL','geometry','LYObject','material\x20is\x20null','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','normal','indices','279nuMZbI','7406749JvEIJF','receiveShadow','materialPtr\x20is\x20null','userData','constructGeometry','147496kpNnYY','release','_meshData','getBoundsBottomCenterPosition','normals','1420385dfexsP','geometryPtr\x20is\x20null','geometryPtr','CustomMeshComponent'];_0x13ff=function(){return _0x4799dc;};return _0x13ff();}(function(_0x572864,_0xe70ffe){const _0x310db1=_0x5d50,_0x117fd5=_0x572864();while(!![]){try{const _0x27f1be=-parseInt(_0x310db1(0x13a))/0x1*(parseInt(_0x310db1(0x115))/0x2)+parseInt(_0x310db1(0x135))/0x3+-parseInt(_0x310db1(0x137))/0x4+-parseInt(_0x310db1(0x127))/0x5+parseInt(_0x310db1(0x13e))/0x6+-parseInt(_0x310db1(0x11d))/0x7+-parseInt(_0x310db1(0x122))/0x8*(-parseInt(_0x310db1(0x11c))/0x9);if(_0x27f1be===_0xe70ffe)break;else _0x117fd5['push'](_0x117fd5['shift']());}catch(_0x3fef40){_0x117fd5['push'](_0x117fd5['shift']());}}}(_0x13ff,0xac0cd));class CustomMeshComponent extends SceneComponent{get[_0xe4ce12(0x12c)](){const _0x18f82f=_0xe4ce12;if(!this[_0x18f82f(0x111)])throw new Error('CustomMeshComponent:\x20threeObject\x20is\x20null');return this['obj'];}set[_0xe4ce12(0x12c)](_0x48a686){const _0x71dbf=_0xe4ce12;this[_0x71dbf(0x111)]=_0x48a686,this[_0x71dbf(0x111)]&&(this['obj'][_0x71dbf(0x120)][_0x71dbf(0x117)]=this);}get[_0xe4ce12(0x116)](){const _0x4720e6=_0xe4ce12;if(!this[_0x4720e6(0x102)])throw new Error(_0x4720e6(0x128));return this[_0x4720e6(0x102)][_0x4720e6(0x10a)]();}set[_0xe4ce12(0x116)](_0x1abbd6){const _0x4cc9c1=_0xe4ce12;let _0x20c96a=this['app'][_0x4cc9c1(0x106)][_0x4cc9c1(0x13b)](_0x1abbd6);this['geometryPtr']=_0x20c96a;}get[_0xe4ce12(0x129)](){const _0x585a9b=_0xe4ce12;if(!this[_0x585a9b(0x102)])throw new Error(_0x585a9b(0x128));return this[_0x585a9b(0x102)];}set[_0xe4ce12(0x129)](_0x518782){const _0x3b8b8a=_0xe4ce12;this[_0x3b8b8a(0x102)]&&(this['_geometryPtr'][_0x3b8b8a(0x123)](),this[_0x3b8b8a(0x102)]=null);this[_0x3b8b8a(0x102)]=_0x518782;let _0x14289f=_0x518782['getValue']();this[_0x3b8b8a(0x12c)]&&_0x14289f&&(this['threeObject'][_0x3b8b8a(0x116)]=_0x14289f);}get[_0xe4ce12(0x100)](){const _0x45376c=_0xe4ce12;if(!this['_materialPtr'])throw new Error(_0x45376c(0x11f));let _0x414a5f=this[_0x45376c(0x136)][_0x45376c(0x10a)]();if(!_0x414a5f)throw new Error(_0x45376c(0x118));return _0x414a5f;}get['materialPtr'](){const _0x575fe6=_0xe4ce12;if(!this[_0x575fe6(0x136)])throw new Error(_0x575fe6(0x11f));return this['_materialPtr'];}set['material'](_0x5e81ad){const _0x24ab34=_0xe4ce12;let _0xefa424=this[_0x24ab34(0x139)][_0x24ab34(0x106)][_0x24ab34(0xfe)](_0x5e81ad);this[_0x24ab34(0x109)]=_0xefa424;}set['materialPtr'](_0x12372f){const _0x8a84b8=_0xe4ce12;this['_materialPtr']&&(this['_materialPtr'][_0x8a84b8(0x123)](),this['_materialPtr']=null);this[_0x8a84b8(0x136)]=_0x12372f;let _0x3c2dce=_0x12372f[_0x8a84b8(0x10a)]();_0x12372f[_0x8a84b8(0x138)](),this[_0x8a84b8(0x12c)]&&_0x3c2dce&&(this[_0x8a84b8(0x12c)][_0x8a84b8(0x100)]=_0x3c2dce);}constructor(_0x3befda,_0x360db9,_0x544b1e,_0x2cc728){const _0x3edcec=_0xe4ce12;super(_0x3befda,_0x2cc728),this[_0x3edcec(0x124)]=_0x360db9;let _0x665082=_0x3befda['assetManager'][_0x3edcec(0xfe)](_0x544b1e);this['_materialPtr']=_0x665082,_0x665082['addRef']();const _0x134b84=this[_0x3edcec(0x121)](_0x360db9);this[_0x3edcec(0x102)]=_0x3befda['assetManager'][_0x3edcec(0x13b)](_0x134b84),this['threeObject'][_0x3edcec(0x100)]=_0x544b1e,this['threeObject'][_0x3edcec(0x116)]=_0x134b84,this[_0x3edcec(0xfc)]=_0x3edcec(0x12a);}[_0xe4ce12(0x101)](_0x14e80f){const _0x3d50d3=_0xe4ce12,_0x2d171f=new Float32Array(_0x14e80f['length']*0x2);if(_0x14e80f[_0x3d50d3(0x103)]===0x0)return _0x2d171f;let _0xd10ce=Infinity,_0x9aef9f=-Infinity,_0x176f01=Infinity,_0x3cb966=-Infinity,_0xbc8cfe=Infinity,_0x536ae3=-Infinity;for(const _0x1d9d1d of _0x14e80f){_0xd10ce=Math['min'](_0xd10ce,_0x1d9d1d['x']),_0x9aef9f=Math[_0x3d50d3(0x108)](_0x9aef9f,_0x1d9d1d['x']),_0x176f01=Math[_0x3d50d3(0xfd)](_0x176f01,_0x1d9d1d['y']),_0x3cb966=Math[_0x3d50d3(0x108)](_0x3cb966,_0x1d9d1d['y']),_0xbc8cfe=Math['min'](_0xbc8cfe,_0x1d9d1d['z']),_0x536ae3=Math[_0x3d50d3(0x108)](_0x536ae3,_0x1d9d1d['z']);}const _0xf0559f=_0x9aef9f-_0xd10ce,_0x508882=_0x3cb966-_0x176f01,_0x3fce24=_0x536ae3-_0xbc8cfe;let _0x238c17,_0xd50c5f,_0x531f1f,_0x5af760,_0x2c6358,_0x5bf74f;if(_0xf0559f<=_0x508882&&_0xf0559f<=_0x3fce24)_0x238c17='y',_0xd50c5f='z',_0x531f1f=_0x176f01,_0x5af760=_0x508882,_0x2c6358=_0xbc8cfe,_0x5bf74f=_0x3fce24;else _0x508882<=_0xf0559f&&_0x508882<=_0x3fce24?(_0x238c17='x',_0xd50c5f='z',_0x531f1f=_0xd10ce,_0x5af760=_0xf0559f,_0x2c6358=_0xbc8cfe,_0x5bf74f=_0x3fce24):(_0x238c17='x',_0xd50c5f='y',_0x531f1f=_0xd10ce,_0x5af760=_0xf0559f,_0x2c6358=_0x176f01,_0x5bf74f=_0x508882);if(_0x5af760===0x0)_0x5af760=0x1;if(_0x5bf74f===0x0)_0x5bf74f=0x1;for(let _0x1ab8e4=0x0;_0x1ab8e4<_0x14e80f[_0x3d50d3(0x103)];_0x1ab8e4++){const _0x1644e3=_0x14e80f[_0x1ab8e4],_0xeec473=(_0x1644e3[_0x238c17]-_0x531f1f)/_0x5af760,_0x5edb82=(_0x1644e3[_0xd50c5f]-_0x2c6358)/_0x5bf74f;_0x2d171f[_0x1ab8e4*0x2]=_0xeec473,_0x2d171f[_0x1ab8e4*0x2+0x1]=_0x5edb82;}return _0x2d171f;}['calculatePolygonArea'](_0x3d18b2){const _0xf2bd53=_0xe4ce12;let _0x1e6261=0x0;const _0x3821ec=_0x3d18b2[_0xf2bd53(0x103)]/0x2;for(let _0x37d52e=0x0;_0x37d52e<_0x3821ec;_0x37d52e++){const _0x4c621b=(_0x37d52e+0x1)%_0x3821ec,_0x3732c9=_0x3d18b2[_0x37d52e*0x2],_0x2d8ab6=_0x3d18b2[_0x37d52e*0x2+0x1],_0x2bb62d=_0x3d18b2[_0x4c621b*0x2],_0x3c0cd6=_0x3d18b2[_0x4c621b*0x2+0x1];_0x1e6261+=_0x3732c9*_0x3c0cd6-_0x2bb62d*_0x2d8ab6;}return _0x1e6261/0x2;}[_0xe4ce12(0x121)](_0x1d95c9){const _0x16eb40=_0xe4ce12,_0x26db6a=new webgpu.BufferGeometry();if(!_0x1d95c9['vertices']||_0x1d95c9[_0x16eb40(0x131)][_0x16eb40(0x103)]===0x0)return console['error'](_0x16eb40(0x13d)),_0x26db6a;const _0x2c06d4=new Float32Array(_0x1d95c9['vertices'][_0x16eb40(0x103)]*0x3);for(let _0x2aacae=0x0;_0x2aacae<_0x1d95c9[_0x16eb40(0x131)]['length'];_0x2aacae++){_0x2c06d4[_0x2aacae*0x3]=_0x1d95c9[_0x16eb40(0x131)][_0x2aacae]['x'],_0x2c06d4[_0x2aacae*0x3+0x1]=_0x1d95c9[_0x16eb40(0x131)][_0x2aacae]['y'],_0x2c06d4[_0x2aacae*0x3+0x2]=_0x1d95c9[_0x16eb40(0x131)][_0x2aacae]['z'];}_0x26db6a['setAttribute'](_0x16eb40(0x10c),new webgpu.Float32BufferAttribute(_0x2c06d4,0x3));if(_0x1d95c9[_0x16eb40(0x11b)]&&_0x1d95c9[_0x16eb40(0x11b)]['length']>0x0)_0x26db6a[_0x16eb40(0x13f)](_0x1d95c9[_0x16eb40(0x11b)]);else {const _0x5d0722=[];let _0x305277=Infinity,_0x3c0c6d=-Infinity,_0x54ab0c=Infinity,_0x4f0376=-Infinity,_0x54a643=Infinity,_0x2c4c00=-Infinity;for(let _0x165dfb=0x0;_0x165dfb<_0x1d95c9[_0x16eb40(0x131)][_0x16eb40(0x103)];_0x165dfb++){const _0x1c99b3=_0x1d95c9[_0x16eb40(0x131)][_0x165dfb];_0x54ab0c=Math[_0x16eb40(0xfd)](_0x54ab0c,_0x1c99b3['x']),_0x4f0376=Math['max'](_0x4f0376,_0x1c99b3['x']),_0x305277=Math[_0x16eb40(0xfd)](_0x305277,_0x1c99b3['y']),_0x3c0c6d=Math[_0x16eb40(0x108)](_0x3c0c6d,_0x1c99b3['y']),_0x54a643=Math[_0x16eb40(0xfd)](_0x54a643,_0x1c99b3['z']),_0x2c4c00=Math['max'](_0x2c4c00,_0x1c99b3['z']);}const _0x5d1408=_0x4f0376-_0x54ab0c,_0x597634=_0x3c0c6d-_0x305277,_0xa2d7a8=_0x2c4c00-_0x54a643;let _0x585487='XY';if(_0x597634<=_0x5d1408&&_0x597634<=_0xa2d7a8){_0x585487='XZ';for(let _0x3b6c8e=0x0;_0x3b6c8e<_0x1d95c9[_0x16eb40(0x131)][_0x16eb40(0x103)];_0x3b6c8e++){_0x5d0722[_0x16eb40(0x10e)](_0x1d95c9[_0x16eb40(0x131)][_0x3b6c8e]['x']),_0x5d0722['push'](_0x1d95c9['vertices'][_0x3b6c8e]['z']);}}else {if(_0x5d1408<=_0x597634&&_0x5d1408<=_0xa2d7a8){_0x585487='YZ';for(let _0xa49476=0x0;_0xa49476<_0x1d95c9['vertices'][_0x16eb40(0x103)];_0xa49476++){_0x5d0722[_0x16eb40(0x10e)](_0x1d95c9[_0x16eb40(0x131)][_0xa49476]['y']),_0x5d0722[_0x16eb40(0x10e)](_0x1d95c9['vertices'][_0xa49476]['z']);}}else {_0x585487='XY';for(let _0x385931=0x0;_0x385931<_0x1d95c9[_0x16eb40(0x131)][_0x16eb40(0x103)];_0x385931++){_0x5d0722['push'](_0x1d95c9[_0x16eb40(0x131)][_0x385931]['x']),_0x5d0722[_0x16eb40(0x10e)](_0x1d95c9['vertices'][_0x385931]['y']);}}}const _0x5a9e37=this['calculatePolygonArea'](_0x5d0722),_0x36256b=_0x5a9e37<0x0;if(_0x36256b){console[_0x16eb40(0x104)](_0x16eb40(0x119)),_0x5d0722['reverse']();const _0x33418c=[];for(let _0x274e08=_0x5d0722[_0x16eb40(0x103)]-0x2;_0x274e08>=0x0;_0x274e08-=0x2){_0x33418c[_0x16eb40(0x10e)](_0x5d0722[_0x274e08],_0x5d0722[_0x274e08+0x1]);}_0x5d0722[_0x16eb40(0x103)]=0x0,_0x5d0722[_0x16eb40(0x10e)](..._0x33418c);}try{const _0x4212a4=_0x533e2f(_0x5d0722,undefined,0x2);if(_0x4212a4&&_0x4212a4[_0x16eb40(0x103)]>0x0){if(_0x36256b)for(let _0x541ea8=0x0;_0x541ea8<_0x4212a4[_0x16eb40(0x103)];_0x541ea8+=0x3){const _0x9fe6e6=_0x4212a4[_0x541ea8];_0x4212a4[_0x541ea8]=_0x4212a4[_0x541ea8+0x2],_0x4212a4[_0x541ea8+0x2]=_0x9fe6e6;}_0x26db6a[_0x16eb40(0x13f)](_0x4212a4),console['log'](_0x16eb40(0x12b),{'planeType':_0x585487,'vertexCount':_0x1d95c9[_0x16eb40(0x131)]['length'],'triangleCount':_0x4212a4[_0x16eb40(0x103)]/0x3,'area':Math['abs'](_0x5a9e37),'wasClockwise':_0x36256b,'indices':Array[_0x16eb40(0x132)](_0x4212a4)});}else console[_0x16eb40(0x104)](_0x16eb40(0x133));}catch(_0x2edd10){console[_0x16eb40(0x13c)](_0x16eb40(0x130),_0x2edd10);}}if(_0x1d95c9[_0x16eb40(0x126)]&&_0x1d95c9[_0x16eb40(0x126)][_0x16eb40(0x103)]===_0x1d95c9[_0x16eb40(0x131)][_0x16eb40(0x103)]){const _0x163d0a=new Float32Array(_0x1d95c9[_0x16eb40(0x126)][_0x16eb40(0x103)]*0x3);for(let _0x287e26=0x0;_0x287e26<_0x1d95c9['normals']['length'];_0x287e26++){_0x163d0a[_0x287e26*0x3]=_0x1d95c9[_0x16eb40(0x126)][_0x287e26]['x'],_0x163d0a[_0x287e26*0x3+0x1]=_0x1d95c9['normals'][_0x287e26]['y'],_0x163d0a[_0x287e26*0x3+0x2]=_0x1d95c9[_0x16eb40(0x126)][_0x287e26]['z'];}_0x26db6a[_0x16eb40(0xff)](_0x16eb40(0x11a),new webgpu.Float32BufferAttribute(_0x163d0a,0x3));}else _0x26db6a[_0x16eb40(0x10d)]();if(_0x1d95c9[_0x16eb40(0x114)]&&_0x1d95c9[_0x16eb40(0x114)][_0x16eb40(0x103)]>0x0){const _0x4ac8e2=new Float32Array(_0x1d95c9['uvs']['length']*0x2);for(let _0x27da37=0x0;_0x27da37<_0x1d95c9[_0x16eb40(0x114)][_0x16eb40(0x103)];_0x27da37++){_0x4ac8e2[_0x27da37*0x2]=_0x1d95c9[_0x16eb40(0x114)][_0x27da37]['x'],_0x4ac8e2[_0x27da37*0x2+0x1]=_0x1d95c9[_0x16eb40(0x114)][_0x27da37]['y'];}_0x26db6a['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x4ac8e2,0x2));}else {const _0x79dd01=this[_0x16eb40(0x101)](_0x1d95c9[_0x16eb40(0x131)]);_0x26db6a[_0x16eb40(0xff)]('uv',new webgpu.Float32BufferAttribute(_0x79dd01,0x2));}if(_0x1d95c9[_0x16eb40(0x10f)]&&_0x1d95c9[_0x16eb40(0x10f)][_0x16eb40(0x103)]===_0x1d95c9[_0x16eb40(0x131)][_0x16eb40(0x103)]){const _0x42fad3=new Float32Array(_0x1d95c9[_0x16eb40(0x10f)]['length']*0x3);for(let _0x40f4e7=0x0;_0x40f4e7<_0x1d95c9[_0x16eb40(0x10f)][_0x16eb40(0x103)];_0x40f4e7++){_0x42fad3[_0x40f4e7*0x3]=_0x1d95c9[_0x16eb40(0x10f)][_0x40f4e7]['r'],_0x42fad3[_0x40f4e7*0x3+0x1]=_0x1d95c9[_0x16eb40(0x10f)][_0x40f4e7]['g'],_0x42fad3[_0x40f4e7*0x3+0x2]=_0x1d95c9['colors'][_0x40f4e7]['b'];}_0x26db6a[_0x16eb40(0xff)]('color',new webgpu.Float32BufferAttribute(_0x42fad3,0x3));}return _0x26db6a;}set[_0xe4ce12(0x10b)](_0x540cfe){const _0x45d2c3=_0xe4ce12;var _0x206c05,_0x3cbb3b,_0x2a3bde;this[_0x45d2c3(0x102)]&&this[_0x45d2c3(0x102)][_0x45d2c3(0x123)]();const _0x4e0e39=this['constructGeometry'](_0x540cfe);this[_0x45d2c3(0x102)]=this[_0x45d2c3(0x139)]['assetManager'][_0x45d2c3(0x13b)](_0x4e0e39),this[_0x45d2c3(0x12c)]['geometry']=_0x4e0e39,this['_meshData']={'vertices':_0x540cfe['vertices'][_0x45d2c3(0x140)](_0x1b67a1=>_0x1b67a1[_0x45d2c3(0x134)]()),'indices':_0x540cfe[_0x45d2c3(0x11b)]?[..._0x540cfe['indices']]:undefined,'normals':(_0x206c05=_0x540cfe[_0x45d2c3(0x126)])===null||_0x206c05===void 0?void 0:_0x206c05[_0x45d2c3(0x140)](_0xe2d743=>_0xe2d743[_0x45d2c3(0x134)]()),'uvs':(_0x3cbb3b=_0x540cfe[_0x45d2c3(0x114)])===null||_0x3cbb3b===void 0?void 0:_0x3cbb3b['map'](_0x55d6f9=>_0x55d6f9[_0x45d2c3(0x134)]()),'colors':(_0x2a3bde=_0x540cfe['colors'])===null||_0x2a3bde===void 0?void 0:_0x2a3bde[_0x45d2c3(0x140)](_0x24d05c=>_0x24d05c[_0x45d2c3(0x134)]())},this[_0x45d2c3(0x113)]&&this[_0x45d2c3(0x113)]['viewport'][_0x45d2c3(0x112)]();}get[_0xe4ce12(0x10b)](){const _0x213085=_0xe4ce12;return this[_0x213085(0x124)];}['createDefaultObject'](){return new webgpu.Mesh();}set[_0xe4ce12(0x105)](_0x283320){const _0x55c254=_0xe4ce12;if(this['threeObject'])this[_0x55c254(0x12c)][_0x55c254(0x105)]=_0x283320;}get[_0xe4ce12(0x105)](){const _0x519357=_0xe4ce12;return this[_0x519357(0x12c)]?this[_0x519357(0x12c)][_0x519357(0x105)]:![];}set[_0xe4ce12(0x11e)](_0x16b098){const _0x57cdeb=_0xe4ce12;if(!this[_0x57cdeb(0x12c)])return;this[_0x57cdeb(0x12c)][_0x57cdeb(0x11e)]=_0x16b098;}get[_0xe4ce12(0x11e)](){const _0x455660=_0xe4ce12;return this['threeObject']?this['threeObject'][_0x455660(0x11e)]:![];}[_0xe4ce12(0x107)](){const _0x5bc92a=_0xe4ce12;let _0x263d18=new webgpu.Vector3();return this[_0x5bc92a(0x12e)]()[_0x5bc92a(0x110)](_0x263d18),_0x263d18;}['getBoundsTopCenterPosition'](){const _0x5e6699=_0xe4ce12;let _0xad1ff6=new webgpu.Vector3(),_0x1b2d6f=this[_0x5e6699(0x12e)]();return _0x1b2d6f[_0x5e6699(0x110)](_0xad1ff6),_0xad1ff6['y']=_0x1b2d6f[_0x5e6699(0x108)]['y'],_0xad1ff6;}[_0xe4ce12(0x125)](){const _0x4dc5f7=_0xe4ce12;let _0x1f7802=new webgpu.Vector3(),_0x415d5d=this[_0x4dc5f7(0x12e)]();return _0x415d5d[_0x4dc5f7(0x110)](_0x1f7802),_0x1f7802['y']=_0x415d5d[_0x4dc5f7(0xfd)]['y'],_0x1f7802;}[_0xe4ce12(0x12f)](){const _0x27f52f=_0xe4ce12;var _0x56a2d9,_0x4827ae;this[_0x27f52f(0x12c)]&&this['threeObject'][_0x27f52f(0x12d)](),(_0x56a2d9=this[_0x27f52f(0x102)])===null||_0x56a2d9===void 0?void 0:_0x56a2d9[_0x27f52f(0x123)](),(_0x4827ae=this['_materialPtr'])===null||_0x4827ae===void 0?void 0:_0x4827ae[_0x27f52f(0x123)](),super[_0x27f52f(0x12f)]();}}
|
|
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)]();}}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
(function(_0x5bd703,_0x37d6e4){var _0x3a366a=_0x173d,_0x581467=_0x5bd703();while(!![]){try{var _0x3ce247=-parseInt(_0x3a366a(0x1ad))/0x1*(-parseInt(_0x3a366a(0x1b5))/0x2)+parseInt(_0x3a366a(0x1b4))/0x3*(parseInt(_0x3a366a(0x1b2))/0x4)+-parseInt(_0x3a366a(0x1b0))/0x5*(parseInt(_0x3a366a(0x1aa))/0x6)+parseInt(_0x3a366a(0x1af))/0x7+-parseInt(_0x3a366a(0x1ae))/0x8*(-parseInt(_0x3a366a(0x1b6))/0x9)+-parseInt(_0x3a366a(0x1ac))/0xa*(parseInt(_0x3a366a(0x1ab))/0xb)+parseInt(_0x3a366a(0x1b3))/0xc*(parseInt(_0x3a366a(0x1b1))/0xd);if(_0x3ce247===_0x37d6e4)break;else _0x581467['push'](_0x581467['shift']());}catch(_0x347023){_0x581467['push'](_0x581467['shift']());}}}(_0xaf0e,0x3d981));class SphereComponent extends MeshComponent{constructor(_0x89d7f2,_0x165382,_0x57756a=new webgpu.MeshBasicMaterial(),_0x2dbff5=0x20,_0x5ad928=0x10,_0x49a67c){super(_0x89d7f2,new webgpu.SphereGeometry(_0x165382,_0x2dbff5,_0x5ad928),_0x57756a,_0x49a67c);}}function _0x173d(_0x1ea5bc,_0x5ca9eb){_0x1ea5bc=_0x1ea5bc-0x1aa;var _0xaf0ec8=_0xaf0e();var _0x173dd8=_0xaf0ec8[_0x1ea5bc];return _0x173dd8;}function _0xaf0e(){var _0x5469c6=['20210eaizDk','8srkZwK','305389yxCRBS','20YJQZiO','52QuBLZO','8OunPXh','486852yWgJHN','84498QxNTbD','4bntkeN','3783942TGkODk','564582ZVwusC','44kQYLGB','236060TUABWW'];_0xaf0e=function(){return _0x5469c6;};return _0xaf0e();}
|
|
121
121
|
|
|
122
|
-
var
|
|
122
|
+
function _0x3199(){var _0x8cf219=['24WGkfdX','112vEsFHD','123230APmxQK','obj','element','remove','5905RPxPGF','LYObject','center','parentNode','552cYoJDy','143844tPlTMH','destroy','setVisible','498779YkDHYT','201123MhEQat','1228QjdkPQ','threeObject','isHoverEnabled','userData','copy','13474690AqdLBL','14027189DNyCIZ'];_0x3199=function(){return _0x8cf219;};return _0x3199();}var _0x578b88=_0x37d1;(function(_0x8ec6,_0x22ec82){var _0x4e7c41=_0x37d1,_0x5ccb69=_0x8ec6();while(!![]){try{var _0x52f7b3=-parseInt(_0x4e7c41(0xed))/0x1+-parseInt(_0x4e7c41(0xe1))/0x2*(parseInt(_0x4e7c41(0xf6))/0x3)+parseInt(_0x4e7c41(0xef))/0x4*(parseInt(_0x4e7c41(0xe5))/0x5)+-parseInt(_0x4e7c41(0xea))/0x6*(-parseInt(_0x4e7c41(0xf7))/0x7)+parseInt(_0x4e7c41(0xe9))/0x8*(-parseInt(_0x4e7c41(0xee))/0x9)+parseInt(_0x4e7c41(0xf4))/0xa+parseInt(_0x4e7c41(0xf5))/0xb;if(_0x52f7b3===_0x22ec82)break;else _0x5ccb69['push'](_0x5ccb69['shift']());}catch(_0x46a2d8){_0x5ccb69['push'](_0x5ccb69['shift']());}}}(_0x3199,0xcbe69));function _0x37d1(_0x4ee0c2,_0x2ffc04){_0x4ee0c2=_0x4ee0c2-0xe1;var _0x31996a=_0x3199();var _0x37d183=_0x31996a[_0x4ee0c2];return _0x37d183;}class LabelComponent extends SceneComponent{get[_0x578b88(0xf0)](){return this['obj'];}set[_0x578b88(0xf0)](_0x39a9db){var _0x50c79f=_0x578b88;this[_0x50c79f(0xe2)]=_0x39a9db,this[_0x50c79f(0xe2)]&&(this[_0x50c79f(0xe2)][_0x50c79f(0xf2)][_0x50c79f(0xe6)]=this);}constructor(_0x39fde5,_0x2e84de,_0x33fddc=new webgpu.Vector2(0.5,0x1),_0x2746ce){var _0x5efa53=_0x578b88;super(_0x39fde5,_0x2746ce),this[_0x5efa53(0xe2)]=new CSS2DRenderer_js.CSS2DObject(_0x2e84de),this[_0x5efa53(0xe2)][_0x5efa53(0xe7)][_0x5efa53(0xf3)](_0x33fddc);}set[_0x578b88(0xf1)](_0x3ce7f2){return;}set['isClickEnabled'](_0x3ebad8){return;}['setVisible'](_0x2d419a){var _0x3c9031=_0x578b88;super[_0x3c9031(0xec)](_0x2d419a);}[_0x578b88(0xeb)](){var _0x3e8036=_0x578b88;this[_0x3e8036(0xf0)][_0x3e8036(0xe3)]&&this['threeObject'][_0x3e8036(0xe3)][_0x3e8036(0xe8)]&&(this['threeObject'][_0x3e8036(0xe3)]['innerHTML']='',this['threeObject'][_0x3e8036(0xe3)][_0x3e8036(0xe4)]()),super[_0x3e8036(0xeb)]();}}
|
|
123
123
|
|
|
124
|
-
const
|
|
124
|
+
const _0x36fd12=_0x432c;function _0x432c(_0x3d97ec,_0x1947cf){_0x3d97ec=_0x3d97ec-0x1e5;const _0x36b757=_0x36b7();let _0x432c67=_0x36b757[_0x3d97ec];return _0x432c67;}(function(_0x278280,_0xd91fcf){const _0x19b90b=_0x432c,_0x25ad00=_0x278280();while(!![]){try{const _0x5ca239=parseInt(_0x19b90b(0x1e8))/0x1*(-parseInt(_0x19b90b(0x1f0))/0x2)+-parseInt(_0x19b90b(0x1ea))/0x3*(parseInt(_0x19b90b(0x1e6))/0x4)+-parseInt(_0x19b90b(0x1ee))/0x5*(-parseInt(_0x19b90b(0x1f1))/0x6)+parseInt(_0x19b90b(0x1e7))/0x7*(parseInt(_0x19b90b(0x1e5))/0x8)+parseInt(_0x19b90b(0x1f3))/0x9*(parseInt(_0x19b90b(0x1e9))/0xa)+parseInt(_0x19b90b(0x1ec))/0xb*(-parseInt(_0x19b90b(0x1ed))/0xc)+parseInt(_0x19b90b(0x1ef))/0xd*(parseInt(_0x19b90b(0x1eb))/0xe);if(_0x5ca239===_0xd91fcf)break;else _0x25ad00['push'](_0x25ad00['shift']());}catch(_0x71c6a){_0x25ad00['push'](_0x25ad00['shift']());}}}(_0x36b7,0x47e78));function _0x36b7(){const _0x3e00ae=['3560CbAhca','35210ilILZa','2334dbQuax','5410mXVKpQ','1455chAIKe','141302SwYSYH','3960VaCrVF','6900hJNWHn','9985NlVdFG','377HpNmFe','368HalOLM','1614SCdWht','ScreenSpaceReflection','2754hfgSTJ','584fiTkaf'];_0x36b7=function(){return _0x3e00ae;};return _0x36b7();}const DefaultSSRParam={'type':exports.PostProcessStepType[_0x36fd12(0x1f2)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
const _0x4d4fe8=_0x4421;(function(_0x20812f,_0x56035b){const _0xf6b859=_0x4421,_0x4510f6=_0x20812f();while(!![]){try{const _0x168bc2=-parseInt(_0xf6b859(0x7a))/0x1+parseInt(_0xf6b859(0x78))/0x2*(parseInt(_0xf6b859(0x7c))/0x3)+-parseInt(_0xf6b859(0x7d))/0x4+parseInt(_0xf6b859(0x7e))/0x5*(parseInt(_0xf6b859(0x77))/0x6)+-parseInt(_0xf6b859(0x80))/0x7*(parseInt(_0xf6b859(0x76))/0x8)+parseInt(_0xf6b859(0x81))/0x9+parseInt(_0xf6b859(0x79))/0xa;if(_0x168bc2===_0x56035b)break;else _0x4510f6['push'](_0x4510f6['shift']());}catch(_0x1df4fa){_0x4510f6['push'](_0x4510f6['shift']());}}}(_0x41a7,0x354ea));function _0x4421(_0x48d643,_0x1fd337){_0x48d643=_0x48d643-0x76;const _0x41a75c=_0x41a7();let _0x44218f=_0x41a75c[_0x48d643];return _0x44218f;}const DefaultAAParams={'type':exports.PostProcessStepType[_0x4d4fe8(0x7f)],'method':_0x4d4fe8(0x7b)};function _0x41a7(){const _0x154686=['fxaa','15rmBwoP','411364bsriWD','339715NlaydG','Antialiasing','7YCvCGf','1559556duVlPC','2876072HMpMCt','30iMCGVM','58894GFzrVE','1199590cBbYIm','99497DdUvYl'];_0x41a7=function(){return _0x154686;};return _0x41a7();}
|
|
127
127
|
|
|
128
|
-
const
|
|
128
|
+
const _0x2c6263=_0x437b;(function(_0x23d9da,_0x513fb6){const _0x3643e6=_0x437b,_0x38579e=_0x23d9da();while(!![]){try{const _0x404ef4=parseInt(_0x3643e6(0x1d6))/0x1*(parseInt(_0x3643e6(0x1cd))/0x2)+-parseInt(_0x3643e6(0x1d2))/0x3+-parseInt(_0x3643e6(0x1cf))/0x4+-parseInt(_0x3643e6(0x1cb))/0x5*(parseInt(_0x3643e6(0x1d3))/0x6)+parseInt(_0x3643e6(0x1ce))/0x7+-parseInt(_0x3643e6(0x1d4))/0x8+parseInt(_0x3643e6(0x1d7))/0x9;if(_0x404ef4===_0x513fb6)break;else _0x38579e['push'](_0x38579e['shift']());}catch(_0x1e2ff3){_0x38579e['push'](_0x38579e['shift']());}}}(_0x1e7e,0x3a281));function _0x437b(_0xd2ab7d,_0x25d01a){_0xd2ab7d=_0xd2ab7d-0x1ca;const _0x1e7e22=_0x1e7e();let _0x437b38=_0x1e7e22[_0xd2ab7d];return _0x437b38;}function _0x1e7e(){const _0x7bd714=['_control','557829tgkHYw','107208yFUQpZ','3006272qMIetb','clone','20YKfPpX','5734431oagkkP','getFocuingData','45rjFTON','controller','44192AZnbDV','791742dOwjGz','925748UbBMmh','camera'];_0x1e7e=function(){return _0x7bd714;};return _0x1e7e();}class FirstPerson extends Pawn{constructor(_0x14be16){const _0x340f43=_0x437b;super(_0x14be16),this[_0x340f43(0x1d1)]=new PointerLockControls_js.PointerLockControls(_0x14be16['camera'],_0x14be16['viewPort']['canvas']);}[_0x2c6263(0x1ca)](){const _0x3a81ae=_0x2c6263;var _0x4e4156;if(!this[_0x3a81ae(0x1d1)]||!((_0x4e4156=this[_0x3a81ae(0x1cc)])===null||_0x4e4156===void 0?void 0:_0x4e4156[_0x3a81ae(0x1d0)]))return null;const _0x3d99d4=this[_0x3a81ae(0x1cc)][_0x3a81ae(0x1d0)]['position'][_0x3a81ae(0x1d5)](),_0x487cf0=this[_0x3a81ae(0x1cc)][_0x3a81ae(0x1d0)]['quaternion']['clone'](),_0x410e7d=0x0;return {'position':_0x3d99d4,'quaternion':_0x487cf0,'distance':_0x410e7d};}}
|
|
129
129
|
|
|
130
|
-
const
|
|
130
|
+
const _0x2a6456=_0x3da4;function _0x3da4(_0x31259e,_0x23c687){_0x31259e=_0x31259e-0x6d;const _0x2163ce=_0x2163();let _0x3da450=_0x2163ce[_0x31259e];return _0x3da450;}(function(_0x19b602,_0x23bc50){const _0x23748e=_0x3da4,_0x2e79fb=_0x19b602();while(!![]){try{const _0x2c9471=-parseInt(_0x23748e(0x8b))/0x1+parseInt(_0x23748e(0x6d))/0x2*(-parseInt(_0x23748e(0xa4))/0x3)+parseInt(_0x23748e(0xa0))/0x4*(parseInt(_0x23748e(0x8a))/0x5)+-parseInt(_0x23748e(0x9f))/0x6+parseInt(_0x23748e(0xb2))/0x7*(parseInt(_0x23748e(0x89))/0x8)+parseInt(_0x23748e(0x8d))/0x9+parseInt(_0x23748e(0xc0))/0xa*(-parseInt(_0x23748e(0x88))/0xb);if(_0x2c9471===_0x23bc50)break;else _0x2e79fb['push'](_0x2e79fb['shift']());}catch(_0x332298){_0x2e79fb['push'](_0x2e79fb['shift']());}}}(_0x2163,0xe0c36));function _0x2163(){const _0x71dbcd=['traverse','getMode','markRenderStateDirty','onDraggingFunction','TransformHelperObject','setSize','rayIgnored','world','primaryTarget','onChangeEvent','change','showX','7939938RCOoDo','20CYcLEm','isTickEnabled','control','destroy','81267jJEwfb','dragging-changed','decompose','position','_control','getMatrixInWorld','helperScene','includes','onChange','getHelper','attach','targetMatrixMap','showZ','quaternion','7JfczIs','gizmoScene','name','onDraggingChangedEvent','enable','rotationSnap','translationSnap','enabled','setTarget','onUpdateFunction','multiplyMatrices','setTranslationSnap','unpossess','value','60fwfkCE','onTransforming','62BRzitL','getRotationnSnap','forEach','removeEventListener','possess','add','helperObject','set','multiply','camera','getTargetScene','controller','onObjectChanged','canvas','addEventListener','invert','dispose','detach','setRotationSnap','setScaleSnap','clone','Control\x20not\x20initialized','clear','scale','setMode','getTranslationSnap','targets','964634rwWIyn','4242296jPFquU','1675825nKwGIN','91184tYvcPw','setSpace','13454532UVMMTn','viewPort','objectChange','onObjectChangeEvent','setAxis','remove'];_0x2163=function(){return _0x71dbcd;};return _0x2163();}class TransformGizmo extends Pawn{get[_0x2a6456(0xa2)](){const _0x318438=_0x2a6456;if(!this['_control'])throw new Error(_0x318438(0x82));return this[_0x318438(0xa8)];}constructor(_0x2debf4,_0x40846f){const _0x3f317d=_0x2a6456;var _0x2a7371;super(_0x2debf4),this[_0x3f317d(0xa8)]=null,this['helperObject']=new webgpu.Object3D(),this[_0x3f317d(0x87)]=[],this[_0x3f317d(0x9b)]=null,this[_0x3f317d(0xaf)]=new Map(),this['gizmoScene']=null,this[_0x3f317d(0xb5)]=_0x4faad5=>{this['onDraggingChanged'](_0x4faad5);},this[_0x3f317d(0x90)]=()=>{this['onObjectChanged']();},this[_0x3f317d(0x9c)]=()=>{const _0x31d66f=_0x3f317d;this[_0x31d66f(0xac)]();},this['onUpdateFunction']=null,this[_0x3f317d(0x96)]=null;let _0x5f502e=_0x2debf4[_0x3f317d(0x8e)][_0x3f317d(0x7a)];if(!_0x5f502e)throw new Error('TransformGizmo:Canvas\x20not\x20found');this['_control']=new TransformControls_js.TransformControls(_0x2debf4[_0x3f317d(0x76)],_0x5f502e),this[_0x3f317d(0xa2)][_0x3f317d(0xad)]()[_0x3f317d(0x93)](_0x294be3=>{const _0x57f606=_0x3f317d;_0x294be3['userData'][_0x57f606(0x99)]=!![];}),this['helperObject'][_0x3f317d(0xb4)]=_0x3f317d(0x97),this[_0x3f317d(0xb3)]=(_0x2a7371=_0x40846f===null||_0x40846f===void 0?void 0:_0x40846f[_0x3f317d(0xaa)])!==null&&_0x2a7371!==void 0?_0x2a7371:null;}[_0x2a6456(0x77)](){const _0x1e5db9=_0x2a6456;var _0x2678dc;return (_0x2678dc=this[_0x1e5db9(0xb3)])!==null&&_0x2678dc!==void 0?_0x2678dc:this[_0x1e5db9(0x78)][_0x1e5db9(0x9a)]['scene'];}[_0x2a6456(0x71)](){const _0x15b46b=_0x2a6456,_0x3b6831=this[_0x15b46b(0x77)]();_0x3b6831[_0x15b46b(0x72)](this[_0x15b46b(0x73)]),_0x3b6831['add'](this[_0x15b46b(0xa2)][_0x15b46b(0xad)]()),this[_0x15b46b(0xa2)][_0x15b46b(0xae)](this[_0x15b46b(0x73)]),this['control'][_0x15b46b(0x7b)]('change',this[_0x15b46b(0x9c)]),this[_0x15b46b(0xa2)][_0x15b46b(0x7b)](_0x15b46b(0xa5),this[_0x15b46b(0xb5)]),this[_0x15b46b(0xa2)]['addEventListener'](_0x15b46b(0x8f),this['onObjectChangeEvent']);}[_0x2a6456(0xbe)](){const _0x10fb7e=_0x2a6456;this[_0x10fb7e(0xa2)][_0x10fb7e(0x70)](_0x10fb7e(0x9d),this[_0x10fb7e(0x9c)]),this[_0x10fb7e(0xa2)][_0x10fb7e(0x70)]('dragging-changed',this[_0x10fb7e(0xb5)]),this[_0x10fb7e(0xa2)]['removeEventListener'](_0x10fb7e(0x8f),this['onObjectChangeEvent']),this[_0x10fb7e(0xa2)]['detach']();const _0x4b7c4d=this['getTargetScene']();_0x4b7c4d[_0x10fb7e(0x92)](this['helperObject']),_0x4b7c4d[_0x10fb7e(0x92)](this['control'][_0x10fb7e(0xad)]());}['refresh'](){const _0x556fe9=_0x2a6456;if(!this['primaryTarget'])return;this[_0x556fe9(0xa2)][_0x556fe9(0x7e)]();const _0x52a8d0=this[_0x556fe9(0x77)]();_0x52a8d0[_0x556fe9(0x92)](this[_0x556fe9(0x73)]),this[_0x556fe9(0xaf)][_0x556fe9(0x83)]();let _0x3e1133=this[_0x556fe9(0x9b)]['getMatrixInWorld']();_0x3e1133['decompose'](this[_0x556fe9(0x73)][_0x556fe9(0xa7)],this['helperObject'][_0x556fe9(0xb1)],this[_0x556fe9(0x73)][_0x556fe9(0x84)]),_0x52a8d0[_0x556fe9(0x72)](this[_0x556fe9(0xa2)][_0x556fe9(0xad)]()),_0x52a8d0[_0x556fe9(0x72)](this[_0x556fe9(0x73)]),this['control']['attach'](this['helperObject']),this['targets'][_0x556fe9(0x6f)](_0x27da79=>{const _0x17e322=_0x556fe9,_0x2ab86c=_0x27da79[_0x17e322(0xa9)](),_0x57330d=_0x3e1133[_0x17e322(0x81)]()['invert']()[_0x17e322(0x75)](_0x2ab86c);this[_0x17e322(0xaf)][_0x17e322(0x74)](_0x27da79,_0x57330d);});}[_0x2a6456(0xac)](){const _0x27f8dc=_0x2a6456;this[_0x27f8dc(0x78)][_0x27f8dc(0x8e)][_0x27f8dc(0x95)]();}['onDraggingChanged'](_0x2d73fc){const _0x14d5f2=_0x2a6456;if(this[_0x14d5f2(0x9b)]){let _0x25a990=this[_0x14d5f2(0x9b)][_0x14d5f2(0xa9)]();_0x25a990[_0x14d5f2(0xa6)](this[_0x14d5f2(0x73)][_0x14d5f2(0xa7)],this['helperObject'][_0x14d5f2(0xb1)],this[_0x14d5f2(0x73)]['scale']);}this['onDraggingFunction']&&this[_0x14d5f2(0x96)](_0x2d73fc[_0x14d5f2(0xbf)]);}[_0x2a6456(0x79)](){const _0x2374cb=_0x2a6456;if(this[_0x2374cb(0x9b)]){this[_0x2374cb(0x73)]['updateMatrixWorld'](!![]);const _0x17f24f=this['helperObject']['matrixWorld'][_0x2374cb(0x81)]();this['primaryTarget']['onTransforming'](_0x17f24f),this['targets']['forEach'](_0x35f91b=>{const _0x543a9b=_0x2374cb,_0x18d651=this[_0x543a9b(0xaf)]['get'](_0x35f91b);if(_0x18d651){const _0x21c8bc=new webgpu.Matrix4()[_0x543a9b(0xbc)](_0x17f24f,_0x18d651);_0x35f91b[_0x543a9b(0xc1)](_0x21c8bc);}});}this['onUpdateFunction']&&this['onUpdateFunction']();}set[_0x2a6456(0xb6)](_0x3742f7){const _0x3705e5=_0x2a6456;this['control'][_0x3705e5(0xb9)]=_0x3742f7;}[_0x2a6456(0xba)](_0x1c4f96,_0x40e8f6,_0x2bdf3d=null,_0x13d757=null){const _0x4ef5bb=_0x2a6456;this['targetMatrixMap'][_0x4ef5bb(0x83)]();let _0x299b4d=_0x1c4f96[_0x4ef5bb(0xa9)]();_0x299b4d[_0x4ef5bb(0xa6)](this[_0x4ef5bb(0x73)][_0x4ef5bb(0xa7)],this[_0x4ef5bb(0x73)]['quaternion'],this[_0x4ef5bb(0x73)]['scale']);const _0x1cc14c=this[_0x4ef5bb(0x77)]();_0x1cc14c[_0x4ef5bb(0x72)](this[_0x4ef5bb(0xa2)][_0x4ef5bb(0xad)]()),this[_0x4ef5bb(0x9b)]=_0x1c4f96,this[_0x4ef5bb(0x87)]=_0x40e8f6,this['targets'][_0x4ef5bb(0x6f)](_0x181afe=>{const _0x51d64d=_0x4ef5bb,_0x410e5d=_0x181afe[_0x51d64d(0xa9)](),_0x1d16c4=_0x299b4d[_0x51d64d(0x81)]()[_0x51d64d(0x7c)]()[_0x51d64d(0x75)](_0x410e5d);this['targetMatrixMap'][_0x51d64d(0x74)](_0x181afe,_0x1d16c4);}),_0x2bdf3d&&(this[_0x4ef5bb(0xbb)]=_0x2bdf3d),_0x13d757&&(this[_0x4ef5bb(0x96)]=_0x13d757),this['isTickEnabled']=!![];}[_0x2a6456(0x94)](){const _0x444904=_0x2a6456;return this[_0x444904(0xa2)][_0x444904(0x94)]();}[_0x2a6456(0x85)](_0x3b4f1f){const _0x2c5f3a=_0x2a6456;this[_0x2c5f3a(0xa2)][_0x2c5f3a(0x85)](_0x3b4f1f);}[_0x2a6456(0x8c)](_0x437ff5){this['control']['setSpace'](_0x437ff5);}[_0x2a6456(0x91)](_0x42900b){const _0x2eeaf5=_0x2a6456;this[_0x2eeaf5(0xa2)][_0x2eeaf5(0x9e)]=_0x42900b?_0x42900b===null||_0x42900b===void 0?void 0:_0x42900b[_0x2eeaf5(0xab)]('X'):![],this[_0x2eeaf5(0xa2)]['showY']=_0x42900b?_0x42900b===null||_0x42900b===void 0?void 0:_0x42900b[_0x2eeaf5(0xab)]('Y'):![],this[_0x2eeaf5(0xa2)][_0x2eeaf5(0xb0)]=_0x42900b?_0x42900b===null||_0x42900b===void 0?void 0:_0x42900b[_0x2eeaf5(0xab)]('Z'):![];}[_0x2a6456(0x98)](_0x50f59d){const _0x1b9883=_0x2a6456;this[_0x1b9883(0xa2)]['setSize'](_0x50f59d);}[_0x2a6456(0x86)](){const _0x5244e=_0x2a6456;return this[_0x5244e(0xa2)][_0x5244e(0xb8)];}[_0x2a6456(0xbd)](_0xf32d2e){this['control']['setTranslationSnap'](_0xf32d2e);}[_0x2a6456(0x6e)](){const _0x4b18f5=_0x2a6456;return this[_0x4b18f5(0xa2)][_0x4b18f5(0xb7)];}['setRotationSnap'](_0x41bb1b){const _0x4e5a33=_0x2a6456;this[_0x4e5a33(0xa2)][_0x4e5a33(0x7f)](_0x41bb1b);}['getScaleSnap'](){const _0x2b4a71=_0x2a6456;return this[_0x2b4a71(0xa2)]['scaleSnap'];}[_0x2a6456(0x80)](_0x4ddf7d){const _0x1b1996=_0x2a6456;this[_0x1b1996(0xa2)][_0x1b1996(0x80)](_0x4ddf7d);}[_0x2a6456(0xa3)](){const _0x2ffe2d=_0x2a6456;var _0x562ee9;this[_0x2ffe2d(0xa1)]=![],this[_0x2ffe2d(0xbe)](),this[_0x2ffe2d(0xaf)][_0x2ffe2d(0x83)](),this[_0x2ffe2d(0x87)]=[],this[_0x2ffe2d(0x9b)]=null,this['onUpdateFunction']=null,this['onDraggingFunction']=null,(_0x562ee9=this[_0x2ffe2d(0xa8)])===null||_0x562ee9===void 0?void 0:_0x562ee9[_0x2ffe2d(0x7d)](),this[_0x2ffe2d(0xa8)]=null,super['destroy']();}}
|
|
131
131
|
|
|
132
|
-
(function(
|
|
132
|
+
(function(_0x3face4,_0x34b56b){var _0x4b8005=_0x2ef2,_0x9d2b9f=_0x3face4();while(!![]){try{var _0x3319c6=-parseInt(_0x4b8005(0x87))/0x1+-parseInt(_0x4b8005(0x89))/0x2*(-parseInt(_0x4b8005(0x88))/0x3)+-parseInt(_0x4b8005(0x86))/0x4*(parseInt(_0x4b8005(0x85))/0x5)+parseInt(_0x4b8005(0x8b))/0x6*(-parseInt(_0x4b8005(0x8c))/0x7)+-parseInt(_0x4b8005(0x83))/0x8*(-parseInt(_0x4b8005(0x84))/0x9)+-parseInt(_0x4b8005(0x8a))/0xa+parseInt(_0x4b8005(0x8d))/0xb;if(_0x3319c6===_0x34b56b)break;else _0x9d2b9f['push'](_0x9d2b9f['shift']());}catch(_0x18f8cf){_0x9d2b9f['push'](_0x9d2b9f['shift']());}}}(_0x3452,0xae8c1));function _0x3452(){var _0x3d471a=['530LMAJoj','9176860xfGpeo','245766havtMn','77yylYVI','24727692OXnpsD','2597192eGcfhe','18cEeYrn','5924245SBkvUV','4ZDsNoo','321664mvMQAP','7839yNnAaa'];_0x3452=function(){return _0x3d471a;};return _0x3452();}function _0x2ef2(_0x32f6c8,_0x596c0a){_0x32f6c8=_0x32f6c8-0x83;var _0x345240=_0x3452();var _0x2ef288=_0x345240[_0x32f6c8];return _0x2ef288;}
|
|
133
133
|
|
|
134
134
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
135
135
|
exports.Actor = Actor;
|