suerprisePlus
2024-08-05 30e393df7b1d89c4172a7f4bec6e80e2dc00c373
1
function a4_0x5743(_0x50947d,_0x276b48){const _0x54c9d1=a4_0x5592();return a4_0x5743=function(_0x3b692,_0xc221c2){_0x3b692=_0x3b692-0xb7;let _0x5592c2=_0x54c9d1[_0x3b692];return _0x5592c2;},a4_0x5743(_0x50947d,_0x276b48);}const a4_0x5e2173=a4_0x5743;(function(_0x3093f4,_0x832f03){const _0x240429=a4_0x5743,_0x158ca9=_0x3093f4();while(!![]){try{const _0x36c5bb=-parseInt(_0x240429(0xcb))/0x1+-parseInt(_0x240429(0x143))/0x2+parseInt(_0x240429(0x115))/0x3*(-parseInt(_0x240429(0x13c))/0x4)+parseInt(_0x240429(0x153))/0x5*(parseInt(_0x240429(0x147))/0x6)+parseInt(_0x240429(0xd3))/0x7*(-parseInt(_0x240429(0xbf))/0x8)+-parseInt(_0x240429(0xcd))/0x9*(parseInt(_0x240429(0x14e))/0xa)+parseInt(_0x240429(0x10d))/0xb*(parseInt(_0x240429(0x137))/0xc);if(_0x36c5bb===_0x832f03)break;else _0x158ca9['push'](_0x158ca9['shift']());}catch(_0x5d68bf){_0x158ca9['push'](_0x158ca9['shift']());}}}(a4_0x5592,0x75268));function a4_0x5592(){const _0x1509b6=['albedoPath','post','12bIzUOS','length','assign','contains','onabort','12KpvVQn','triangleCount','multiEntry','preview','数据库:读取instances事务失败','getMeshInstanceUrl','getComponentExpandProperty','1211704EXYZYE','getUint16','getUint8','keyPath','6210pykOnQ','target','getMeshUrl','concat','fineTexture','by_treeId','webpackChunkBim','1180VBskjq','error','数据库:读取material事务终止','get','getMaterialUrl','4360bTVNaA','静态贴图获取失败','autoIncrement','data','onupgradeneeded','请求参数是','modelId_indexDb','getFloat32','transaction','getStaticTextureUrl','result','getModelListUrl','2283728GyOquS','objectStore','uniqueId','readwrite','substring','index','tangentIndices','数据库:写入静态贴图失败','isLoad','currentTarget','tangent','texture','125920GPPchK','readonly','39267AAoejT','InitStaticTexture','ormPath','responseType','GetComponentExpandProperty','onerror','7DvqiEs','relaxed','modelId','constructor','open','getMaterial','数据库:写入mesh事务终止','getTextureUrl','normalIndices','数据库:读取mesh事务终止','vertices','materialId','storey','ids','by_storey','公共贴图获取失败','by_isShell','apply','createObjectStore','数据库:instances写入失败','createIndex','onsuccess','then','log','./Assets/Textures/PBRRepo/','服务返回了错误的ModelId','isStatic','treeId','数据库:写入静态贴图事务失败','getUint32','splice','toString','oncomplete','modelIdToUniqueId','数据库:mesh写入失败','texture.json','normal','uniqueIdToModelId','数据库:material写入失败','数据库:读取texture事务失败','name','.bptc','all','GetInstance','verticesIndices','objectStoreNames','mesh','数据库:读取material事务失败','replace','数据库:打开失败','数据库:读取texture事务终止','数据库:写入静态贴图事务终止','getMesh','keys','search','数据库:写入构件业务属性事务失败','数据库:写入material事务失败','decode','20231607MTTCZa','(((.+)+)+)+$','durability','lastIndexOf','density','hasOwnProperty','数据库:写入构件业务属性事务终止','getInt32','729837XgwSlp','服务接口返回错误内容','instances','arraybuffer','数据库:写入material事务终止','abs','unique','返回内容是','BYTES_PER_ELEMENT','isTransparent','put','byteLength','RequestInstance','数据库:读取mesh事务失败','orm','getMeshInstance','fineTextureDb','数据库:写入instances事务失败','数据库:读取instances事务终止','push','GetShellInstance','InitIndexedDb','fineTextureDbInit','indexOf','getAll','material','数据库:写入构件业务属性失败','albedo','add','GetMaterial','component','by_isStatic'];a4_0x5592=function(){return _0x1509b6;};return a4_0x5592();}const a4_0x2ba63e=(function(){let _0x10aa48=!![];return function(_0x2c509c,_0x58d80a){const _0x1aad97=_0x10aa48?function(){const _0x3275b2=a4_0x5743;if(_0x58d80a){const _0x5a4a4d=_0x58d80a[_0x3275b2(0xe4)](_0x2c509c,arguments);return _0x58d80a=null,_0x5a4a4d;}}:function(){};return _0x10aa48=![],_0x1aad97;};}()),a4_0x9db75f=a4_0x2ba63e(this,function(){const _0x3e8de0=a4_0x5743;return a4_0x9db75f['toString']()[_0x3e8de0(0x109)](_0x3e8de0(0x10e))[_0x3e8de0(0xf2)]()[_0x3e8de0(0xd6)](a4_0x9db75f)[_0x3e8de0(0x109)]('(((.+)+)+)+$');});a4_0x9db75f();'use strict';(Object(self||this)[a4_0x5e2173(0x14d)]=Object(self||this)[a4_0x5e2173(0x14d)]||[])[a4_0x5e2173(0x128)]([[0x342],{0xb12:(_0x5becb4,_0x24d81e,_0x1dd427)=>{const _0x394e88=a4_0x5e2173,_0x25afce={};_0x25afce['r']=()=>_0x58beca,_0x1dd427['d'](_0x24d81e,_0x25afce);var _0x24d81e=_0x1dd427(0x25c5),_0x512d31=_0x1dd427['n'](_0x24d81e),_0x573a0f=_0x1dd427(0x25c9),_0x4a691f=_0x1dd427(0x13f4);let _0x1f0788=new TextDecoder();class _0x58beca{constructor(_0x82307,_0x147441){const _0x4b7a22=a4_0x5743;this['uniqueIdToModelId']={},this['modelIdToUniqueId']={},this[_0x4b7a22(0xb9)]={},this[_0x4b7a22(0x12b)]=!0x1,this[_0x4b7a22(0x149)]=_0x82307+_0x4b7a22(0x107),this[_0x4b7a22(0x152)]=_0x82307+_0x4b7a22(0xd8),this[_0x4b7a22(0xda)]=_0x82307+'getTexture',this['getModelListUrl']=_0x82307+'getModelList',this[_0x4b7a22(0x141)]=_0x82307+_0x4b7a22(0x124),this['getComponentExpandPropertyUrl']=_0x82307+_0x4b7a22(0x142),this[_0x4b7a22(0xbc)]=_0x147441||_0x4b7a22(0xeb),this[_0x4b7a22(0xce)]();}['GetModelList'](){return new Promise((_0x3814dd,_0x33810a)=>{const _0x40039f=a4_0x5743,_0x5a021f={};_0x5a021f[_0x40039f(0xd0)]=_0x40039f(0x118),_0x512d31()[_0x40039f(0x151)](this[_0x40039f(0xbe)],_0x5a021f)[_0x40039f(0xe9)](_0x438ab8=>{const _0x1150f8=_0x40039f;try{let _0x14d2d8={},_0x1c5bff=0x0,_0x29d718=new DataView(_0x438ab8[_0x1150f8(0x156)]);for(;_0x1c5bff<_0x438ab8[_0x1150f8(0x156)][_0x1150f8(0x120)];){var _0x253332=_0x29d718[_0x1150f8(0xf0)](_0x1c5bff,!0x0),_0xc8d48e=(_0x1c5bff+=Uint32Array['BYTES_PER_ELEMENT'],_0x1f0788['decode'](new Uint8Array(_0x438ab8[_0x1150f8(0x156)],_0x1c5bff,0x20)));_0x1c5bff+=0x20*Uint8Array[_0x1150f8(0x11d)];let _0x35a6e4=new Float32Array(0x6);for(let _0x2c4ffb=0x0;_0x2c4ffb<_0x35a6e4[_0x1150f8(0x138)];_0x2c4ffb++)_0x35a6e4[_0x2c4ffb]=_0x29d718[_0x1150f8(0xba)](_0x1c5bff,!0x0),_0x1c5bff+=Float32Array[_0x1150f8(0x11d)];let _0x58d7d0=new Float32Array(0x10);for(let _0xb4d881=0x0;_0xb4d881<_0x58d7d0[_0x1150f8(0x138)];_0xb4d881++)_0x58d7d0[_0xb4d881]=_0x29d718['getFloat32'](_0x1c5bff,!0x0),_0x1c5bff+=Float32Array[_0x1150f8(0x11d)];var _0x1df004=_0x29d718['getUint32'](_0x1c5bff,!0x0);_0x1c5bff+=Uint32Array[_0x1150f8(0x11d)];let _0x23c488=new Int32Array(_0x1df004);for(let _0x4e702e=0x0;_0x4e702e<_0x1df004;_0x4e702e++)_0x23c488[_0x4e702e]=_0x29d718[_0x1150f8(0x114)](_0x1c5bff,!0x0),_0x1c5bff+=Int32Array[_0x1150f8(0x11d)];var _0x365123=_0x29d718[_0x1150f8(0xf0)](_0x1c5bff,!0x0),_0x3e251e=(_0x1c5bff+=Uint32Array[_0x1150f8(0x11d)],_0x29d718[_0x1150f8(0xf0)](_0x1c5bff,!0x0)),_0x3ecc7a=(_0x1c5bff+=Uint32Array['BYTES_PER_ELEMENT'],_0x29d718[_0x1150f8(0xf0)](_0x1c5bff,!0x0)),_0x1bf913=(_0x1c5bff+=Uint32Array['BYTES_PER_ELEMENT'],_0x29d718['getUint32'](_0x1c5bff,!0x0)),_0x15cb3e=(_0x1c5bff+=Uint32Array['BYTES_PER_ELEMENT'],_0x29d718['getUint32'](_0x1c5bff,!0x0)),_0x5d64f6=(_0x1c5bff+=Uint32Array[_0x1150f8(0x11d)],_0x29d718[_0x1150f8(0xf0)](_0x1c5bff,!0x0));_0x1c5bff+=Uint32Array[_0x1150f8(0x11d)],_0x14d2d8[_0x253332]={'id':_0x253332,'uniqueId':_0xc8d48e,'status':0x0,'box':_0x35a6e4,'transform':_0x58d7d0,'indexTree':_0x23c488,'componentCount':_0x365123,'instancesCount':_0x3e251e,'meshCount':_0x3ecc7a,'meshLodCount':_0x1bf913,'triangleCount':_0x15cb3e,'materialCount':_0x5d64f6};}_0x3814dd(_0x14d2d8);}catch(_0x356f33){_0x4a691f[_0x1150f8(0x14f)](_0x1150f8(0x116),_0x438ab8[_0x1150f8(0x156)]),_0x33810a();}},_0x33810a);});}[_0x394e88(0x12a)](_0x1a0e93){return new Promise((_0x426edd,_0x48516a)=>{const _0x4a7b2a=a4_0x5743;this['uniqueIdToModelId'][_0x1a0e93[_0x4a7b2a(0xc1)]]=_0x1a0e93['id'],this[_0x4a7b2a(0xf4)][_0x1a0e93['id']]=_0x1a0e93[_0x4a7b2a(0xc1)];let _0xb9b6c5=indexedDB[_0x4a7b2a(0xd7)](_0x1a0e93['uniqueId']);_0xb9b6c5[_0x4a7b2a(0xd2)]=_0x55422e=>_0x4a691f[_0x4a7b2a(0xea)](_0x4a7b2a(0x104),_0x1a0e93[_0x4a7b2a(0xc1)],_0x55422e),_0xb9b6c5['onupgradeneeded']=_0x210c21=>{const _0x534aa7=_0x4a7b2a,_0x36bc1e={};_0x36bc1e[_0x534aa7(0x155)]=!0x1,_0x36bc1e[_0x534aa7(0x146)]='id';if(_0xb9b6c5[_0x534aa7(0xbd)][_0x534aa7(0x100)][_0x534aa7(0x13a)]('mesh')||_0xb9b6c5[_0x534aa7(0xbd)]['createObjectStore']('mesh',_0x36bc1e),!_0xb9b6c5[_0x534aa7(0xbd)][_0x534aa7(0x100)][_0x534aa7(0x13a)](_0x534aa7(0x117))){const _0x1f9d6b={};_0x1f9d6b[_0x534aa7(0x155)]=!0x1,_0x1f9d6b[_0x534aa7(0x146)]='id';let _0x3aef39=_0xb9b6c5['result']['createObjectStore'](_0x534aa7(0x117),_0x1f9d6b);const _0x8e8344={};_0x8e8344[_0x534aa7(0x11b)]=!0x1,_0x8e8344['multiEntry']=!0x1;const _0x13f9a1={};_0x13f9a1[_0x534aa7(0x11b)]=!0x1,_0x13f9a1[_0x534aa7(0x13e)]=!0x1,(_0x3aef39[_0x534aa7(0xe7)](_0x534aa7(0xe3),'isShell',_0x8e8344),_0x3aef39[_0x534aa7(0xe7)]('by_treeId',_0x534aa7(0xee),_0x13f9a1));}if(!_0xb9b6c5[_0x534aa7(0xbd)][_0x534aa7(0x100)][_0x534aa7(0x13a)]('component')){const _0x5eb395={};_0x5eb395[_0x534aa7(0x155)]=!0x1,_0x5eb395[_0x534aa7(0x146)]='id';let _0x4fd204=_0xb9b6c5['result'][_0x534aa7(0xe5)](_0x534aa7(0x133),_0x5eb395);const _0x36ed0c={};_0x36ed0c['unique']=!0x1,_0x36ed0c['multiEntry']=!0x1;const _0x37056e={};_0x37056e[_0x534aa7(0x11b)]=!0x1,_0x37056e['multiEntry']=!0x1,(_0x4fd204[_0x534aa7(0xe7)](_0x534aa7(0xe1),_0x534aa7(0xdf),_0x36ed0c),_0x4fd204['createIndex']('by_expressType','expressType',_0x37056e));}const _0x1699bd={};_0x1699bd['autoIncrement']=!0x1,_0x1699bd['keyPath']='id',_0xb9b6c5[_0x534aa7(0xbd)]['objectStoreNames']['contains'](_0x534aa7(0x12e))||_0xb9b6c5[_0x534aa7(0xbd)][_0x534aa7(0xe5)](_0x534aa7(0x12e),_0x1699bd);},_0xb9b6c5[_0x4a7b2a(0xe8)]=_0x1b17e3=>{const _0x5c115e=_0x4a7b2a;this[_0x5c115e(0xb9)][_0x1a0e93['id']]=_0xb9b6c5[_0x5c115e(0xbd)],_0x426edd(_0xb9b6c5[_0x5c115e(0xbd)]);};});}[_0x394e88(0x129)](_0x1bd039){return new Promise((_0x13b894,_0x1d6432)=>{const _0x20c785=a4_0x5743,_0x8fa9d9={};_0x8fa9d9[_0x20c785(0x10f)]=_0x20c785(0xd4);let _0x37ee18=this['modelId_indexDb'][_0x1bd039][_0x20c785(0xbb)](_0x20c785(0x117),_0x20c785(0xcc),_0x8fa9d9),_0x31d448=(_0x37ee18[_0x20c785(0x13b)]=_0x55a916=>_0x4a691f[_0x20c785(0xea)](_0x20c785(0x127),_0x55a916),_0x37ee18[_0x20c785(0xd2)]=_0x111da4=>_0x4a691f[_0x20c785(0xea)](_0x20c785(0x140),_0x111da4),_0x37ee18[_0x20c785(0xf3)]=_0xce5b44=>{},_0x37ee18['objectStore'](_0x20c785(0x117)));const _0x48d9a1=_0x31d448[_0x20c785(0xc4)](_0x20c785(0xe3));_0x48d9a1[_0x20c785(0x12d)](0x1)['onsuccess']=_0x2bcc65=>{const _0x494e7a=_0x20c785;if(0x0<_0x2bcc65[_0x494e7a(0x148)][_0x494e7a(0xbd)][_0x494e7a(0x138)]){var _0x2aeee7,_0x3de521=_0x2bcc65[_0x494e7a(0xc8)][_0x494e7a(0xbb)]['db']['name'],_0xf51533=this[_0x494e7a(0xf8)][_0x3de521];for(_0x2aeee7 of _0x2bcc65['target'][_0x494e7a(0xbd)])_0x2aeee7['modelId']=_0xf51533;_0x13b894(_0x2bcc65[_0x494e7a(0x148)][_0x494e7a(0xbd)]);}else{let _0x4cb182={};_0x4cb182[_0x1bd039]=[],this[_0x494e7a(0x121)](_0x4cb182,_0x13b894,_0x1d6432);}};});}[_0x394e88(0xfe)](_0x986411){return new Promise((_0x2da60a,_0x123d1f)=>{const _0x271267=a4_0x5743;let _0x4699c9=Object[_0x271267(0x108)](_0x986411)[_0x271267(0x138)],_0x2927a8=[];var _0x586b3f,_0x811a5c=_0x409731=>{const _0x17502b=_0x271267;if(0x0<_0x409731[_0x17502b(0x148)][_0x17502b(0xbd)][_0x17502b(0x138)]){var _0x1cd273=_0x409731[_0x17502b(0xc8)][_0x17502b(0xbb)]['db'][_0x17502b(0xfb)],_0x1c4655=this[_0x17502b(0xf8)][_0x1cd273];if(_0x986411[_0x17502b(0x112)](_0x1c4655)){for(var _0x238820 of _0x409731[_0x17502b(0x148)][_0x17502b(0xbd)])_0x238820[_0x17502b(0xd5)]=_0x1c4655;_0x1cd273=_0x409731[_0x17502b(0x148)][_0x17502b(0xbd)][0x0]['treeId'],(_0x986411[_0x1c4655][_0x1cd273]===_0x409731['target'][_0x17502b(0xbd)]['length']&&(delete _0x986411[_0x1c4655][_0x1cd273],0x0===Object[_0x17502b(0x108)](_0x986411[_0x1c4655])[_0x17502b(0x138)]&&delete _0x986411[_0x1c4655]),_0x2927a8=_0x2927a8[_0x17502b(0x14a)](_0x409731[_0x17502b(0x148)]['result']));}}};for(_0x586b3f in _0x986411){const _0x18c007={};_0x18c007[_0x271267(0x10f)]='relaxed';let _0x37e146=this[_0x271267(0xb9)][_0x586b3f][_0x271267(0xbb)](_0x271267(0x117),_0x271267(0xcc),_0x18c007),_0x50a67e=(_0x37e146['onabort']=_0x4e93d9=>_0x4a691f['log'](_0x271267(0x127),_0x4e93d9),_0x37e146[_0x271267(0xd2)]=_0xf7c2a6=>_0x4a691f[_0x271267(0xea)]('数据库:读取instances事务失败',_0xf7c2a6),_0x37e146['oncomplete']=_0x34e084=>{const _0x3c8385=_0x271267;if(0x0==--_0x4699c9){if(0x0!==Object[_0x3c8385(0x108)](_0x986411)[_0x3c8385(0x138)]){for(var _0x45a020 in _0x986411){let _0x240f99=[];for(var _0x31bafe in _0x986411[_0x45a020])_0x240f99[_0x3c8385(0x128)](~~_0x31bafe);_0x986411[_0x45a020]=_0x240f99;}this[_0x3c8385(0x121)](_0x986411,_0x2da60a,_0x123d1f);}else _0x2da60a(_0x2927a8);}},_0x37e146['objectStore'](_0x271267(0x117))),_0x15a8fc=_0x50a67e[_0x271267(0xc4)](_0x271267(0x14c));for(var _0x54c38e in _0x986411[_0x586b3f])_0x15a8fc[_0x271267(0x12d)](~~_0x54c38e)['onsuccess']=_0x811a5c;}});}[_0x394e88(0x121)](_0x57eef8,_0x119622,_0x219132){const _0x240529=_0x394e88,_0x545607={};_0x545607[_0x240529(0xe0)]=_0x57eef8;const _0xc3f4e1={};_0xc3f4e1[_0x240529(0xd0)]=_0x240529(0x118),_0xc3f4e1['timeout']=0x7530,_0x512d31()[_0x240529(0x136)](this[_0x240529(0x141)],_0x545607,_0xc3f4e1)['then'](_0x4b2f13=>{const _0xa8f3eb=_0x240529;let _0x1ff667={},_0x286e35={},_0x28742d=[],_0x5191ff=0x0,_0xe78850=new DataView(_0x4b2f13['data']);for(;_0x5191ff<_0x4b2f13[_0xa8f3eb(0x156)][_0xa8f3eb(0x120)];){var _0x1d4d3b=_0xe78850['getUint32'](_0x5191ff,!0x0),_0x2468ba=(_0x5191ff+=Uint32Array[_0xa8f3eb(0x11d)],_0xe78850[_0xa8f3eb(0xf0)](_0x5191ff,!0x0)),_0x21ca07=(_0x5191ff+=Uint32Array[_0xa8f3eb(0x11d)],_0xe78850[_0xa8f3eb(0xf0)](_0x5191ff,!0x0)),_0x77eaed=(_0x5191ff+=Uint32Array[_0xa8f3eb(0x11d)],_0xe78850[_0xa8f3eb(0xf0)](_0x5191ff,!0x0)),_0x8e189f=(_0x5191ff+=Uint32Array['BYTES_PER_ELEMENT'],_0xe78850[_0xa8f3eb(0xf0)](_0x5191ff,!0x0)),_0x160d33=(_0x5191ff+=Uint32Array[_0xa8f3eb(0x11d)],_0xe78850[_0xa8f3eb(0x145)](_0x5191ff));_0x5191ff+=Uint8Array[_0xa8f3eb(0x11d)];let _0x181fdc=new Float32Array(0x6);for(let _0xa9c634=0x0;_0xa9c634<0x6;_0xa9c634++)_0x181fdc[_0xa9c634]=_0xe78850[_0xa8f3eb(0xba)](_0x5191ff,!0x0),_0x5191ff+=Float32Array[_0xa8f3eb(0x11d)];let _0x562379=new Float32Array(0x10);for(let _0x52d0c3=0x0;_0x52d0c3<0x10;_0x52d0c3++)_0x562379[_0x52d0c3]=_0xe78850[_0xa8f3eb(0xba)](_0x5191ff,!0x0),_0x5191ff+=Float32Array[_0xa8f3eb(0x11d)];var _0x3abdce=_0xe78850[_0xa8f3eb(0x145)](_0x5191ff);_0x5191ff+=Uint8Array['BYTES_PER_ELEMENT'];let _0x5ea7ee=new Array(_0x3abdce);for(let _0x5078aa=0x0;_0x5078aa<_0x3abdce;_0x5078aa++){var _0x56b528=_0xe78850[_0xa8f3eb(0xf0)](_0x5191ff,!0x0),_0x465546=(_0x5191ff+=Uint32Array['BYTES_PER_ELEMENT'],_0xe78850['getUint32'](_0x5191ff,!0x0)),_0x561bec=(_0x5191ff+=Uint32Array['BYTES_PER_ELEMENT'],_0xe78850[_0xa8f3eb(0xf0)](_0x5191ff,!0x0)),_0x107910=(_0x5191ff+=Uint32Array['BYTES_PER_ELEMENT'],_0xe78850['getUint32'](_0x5191ff,!0x0)),_0x204027=(_0x5191ff+=Uint32Array[_0xa8f3eb(0x11d)],_0xe78850[_0xa8f3eb(0xba)](_0x5191ff,!0x0));const _0x415091={};_0x415091['id']=_0x56b528,_0x415091[_0xa8f3eb(0x11e)]=_0x465546,_0x415091[_0xa8f3eb(0x13d)]=_0x561bec,_0x415091[_0xa8f3eb(0x111)]=_0x204027,_0x415091[_0xa8f3eb(0xde)]=_0x107910,(_0x5191ff+=Float32Array[_0xa8f3eb(0x11d)],_0x5ea7ee[_0x5078aa]=_0x415091);}_0x8e189f={'modelId':_0x8e189f,'id':_0x1d4d3b,'componentId':_0x2468ba,'meshId':_0x21ca07,'treeId':_0x77eaed,'box':_0x181fdc,'transform':_0x562379,'isShell':_0x160d33,'meshList':_0x5ea7ee};if(this[_0xa8f3eb(0xb9)][_0xa8f3eb(0x112)](_0x8e189f[_0xa8f3eb(0xd5)])){const _0x4245b1={};_0x4245b1['durability']='relaxed',_0x1ff667[_0xa8f3eb(0x112)](_0x8e189f[_0xa8f3eb(0xd5)])||(_0x1ff667[_0x8e189f[_0xa8f3eb(0xd5)]]=this['modelId_indexDb'][_0x8e189f[_0xa8f3eb(0xd5)]]['transaction'](_0xa8f3eb(0x117),_0xa8f3eb(0xc2),_0x4245b1),_0x1ff667[_0x8e189f[_0xa8f3eb(0xd5)]][_0xa8f3eb(0x13b)]=_0x49b967=>_0x4a691f[_0xa8f3eb(0xea)]('数据库:写入instances事务终止',_0x49b967),_0x1ff667[_0x8e189f[_0xa8f3eb(0xd5)]][_0xa8f3eb(0xd2)]=_0x570cc6=>_0x4a691f[_0xa8f3eb(0xea)](_0xa8f3eb(0x126),_0x570cc6),_0x286e35[_0x8e189f[_0xa8f3eb(0xd5)]]=_0x1ff667[_0x8e189f[_0xa8f3eb(0xd5)]][_0xa8f3eb(0xc0)](_0xa8f3eb(0x117)),_0x286e35[_0x8e189f[_0xa8f3eb(0xd5)]][_0xa8f3eb(0xd2)]=_0xb018b5=>_0x4a691f['log'](_0xa8f3eb(0xe6),_0xb018b5));let _0xb80736=Object[_0xa8f3eb(0x139)]({},_0x8e189f);delete _0xb80736[_0xa8f3eb(0xd5)],_0x286e35[_0x8e189f['modelId']][_0xa8f3eb(0x11f)](_0xb80736),_0x28742d[_0xa8f3eb(0x128)](_0x8e189f);}else _0x4a691f['log'](_0xa8f3eb(0xec),_0xa8f3eb(0xb8),_0x57eef8,_0xa8f3eb(0x11c),_0x8e189f);}_0x119622(_0x28742d);},_0x219132);}[_0x394e88(0xd1)](_0x2865a0){return new Promise((_0x4c8877,_0x1d93f8)=>{const _0x106891=a4_0x5743,_0x5b7a03={};_0x5b7a03[_0x106891(0x10f)]=_0x106891(0xd4);let _0x19e97c=this[_0x106891(0xb9)][_0x2865a0][_0x106891(0xbb)]('component',_0x106891(0xcc),_0x5b7a03),_0x27cedf=(_0x19e97c[_0x106891(0x13b)]=_0x3fa4f6=>_0x4a691f[_0x106891(0xea)]('数据库:读取业务属性事务终止',_0x3fa4f6),_0x19e97c[_0x106891(0xd2)]=_0x1a73cb=>_0x4a691f[_0x106891(0xea)]('数据库:读取业务属性事务失败',_0x1a73cb),_0x19e97c[_0x106891(0xf3)]=_0x59cced=>{},_0x19e97c[_0x106891(0xc0)](_0x106891(0x133)));_0x27cedf[_0x106891(0x12d)]()[_0x106891(0xe8)]=_0x4fd0f1=>{const _0x2123c6=_0x106891,_0x2b17b2={};_0x2b17b2[_0x2123c6(0xd5)]=_0x2865a0;const _0x39f6da={};_0x39f6da[_0x2123c6(0xd0)]=_0x2123c6(0x118),0x0<_0x4fd0f1[_0x2123c6(0x148)]['result']['length']?_0x4c8877(_0x4fd0f1[_0x2123c6(0x148)]['result']):_0x512d31()[_0x2123c6(0x136)](this['getComponentExpandPropertyUrl'],_0x2b17b2,_0x39f6da)[_0x2123c6(0xe9)](_0x1148ad=>{const _0x25cd9e=_0x2123c6,_0x557dae={};_0x557dae['durability']=_0x25cd9e(0xd4);let _0x7489e8=this[_0x25cd9e(0xb9)][_0x2865a0][_0x25cd9e(0xbb)](_0x25cd9e(0x133),_0x25cd9e(0xc2),_0x557dae),_0x244612=(_0x7489e8[_0x25cd9e(0x13b)]=_0xb9bd3c=>_0x4a691f[_0x25cd9e(0xea)](_0x25cd9e(0x113),_0xb9bd3c),_0x7489e8[_0x25cd9e(0xd2)]=_0x4a42c1=>_0x4a691f[_0x25cd9e(0xea)](_0x25cd9e(0x10a),_0x4a42c1),_0x7489e8[_0x25cd9e(0xc0)](_0x25cd9e(0x133))),_0x55fac3=(_0x244612['onerror']=_0x58d26b=>_0x4a691f[_0x25cd9e(0xea)](_0x25cd9e(0x12f),_0x58d26b),[]),_0x4c973a=0x0,_0x475429=new DataView(_0x1148ad['data']);for(;_0x4c973a<_0x1148ad['data']['byteLength'];){var _0x5747ae=_0x475429[_0x25cd9e(0xf0)](_0x4c973a,!0x0),_0x58fb9b=(_0x4c973a+=Uint32Array[_0x25cd9e(0x11d)],_0x475429[_0x25cd9e(0x145)](_0x4c973a)),_0x1ce510=(_0x4c973a+=Uint8Array[_0x25cd9e(0x11d)],_0x475429[_0x25cd9e(0x145)](_0x4c973a)),_0x5747ae=(_0x4c973a+=Uint8Array['BYTES_PER_ELEMENT'],{'id':_0x5747ae,'storey':_0x58fb9b,'expressType':_0x1ce510});_0x55fac3['push'](_0x5747ae),_0x244612[_0x25cd9e(0x131)](_0x5747ae);}_0x4c8877(_0x55fac3);},_0x1d93f8);};});}['GetMesh'](_0x44fc84){return new Promise((_0x54b6b7,_0x3128dd)=>{const _0x5d7d07=a4_0x5743;let _0x30c374=Object[_0x5d7d07(0x108)](_0x44fc84)[_0x5d7d07(0x138)],_0x35d384=[];var _0x16f0d9,_0x4d0361=_0x2e6b50=>{const _0xb83327=_0x5d7d07;if(0x0<_0x2e6b50[_0xb83327(0x148)][_0xb83327(0xbd)][_0xb83327(0x138)]){var _0x592951,_0x5c19c9=_0x2e6b50[_0xb83327(0x148)]['result'][0x0],_0x131bb0=_0x2e6b50[_0xb83327(0xc8)][_0xb83327(0xbb)]['db'][_0xb83327(0xfb)],_0x5c13c8=this['uniqueIdToModelId'][_0x131bb0];for(_0x592951 of _0x2e6b50[_0xb83327(0x148)][_0xb83327(0xbd)])_0x592951[_0xb83327(0xd5)]=_0x5c13c8;_0x44fc84[_0xb83327(0x112)](_0x5c13c8)&&(_0x44fc84[_0x5c19c9[_0xb83327(0xd5)]][_0xb83327(0xf1)](_0x44fc84[_0x5c19c9[_0xb83327(0xd5)]][_0xb83327(0x12c)](_0x5c19c9['id']),0x1),0x0===_0x44fc84[_0x5c19c9['modelId']][_0xb83327(0x138)]&&delete _0x44fc84[_0x5c19c9[_0xb83327(0xd5)]],_0x35d384=_0x35d384[_0xb83327(0x14a)](_0x2e6b50[_0xb83327(0x148)][_0xb83327(0xbd)]));}};for(_0x16f0d9 in _0x44fc84){const _0x4014b8={};_0x4014b8[_0x5d7d07(0x10f)]=_0x5d7d07(0xd4);let _0x454903=this[_0x5d7d07(0xb9)][_0x16f0d9]['transaction'](_0x5d7d07(0x101),_0x5d7d07(0xcc),_0x4014b8),_0x397d78=(_0x454903[_0x5d7d07(0x13b)]=_0xfe971d=>_0x4a691f['log'](_0x5d7d07(0xdc),_0xfe971d),_0x454903['onerror']=_0x3b988c=>_0x4a691f[_0x5d7d07(0xea)](_0x5d7d07(0x122),_0x3b988c),_0x454903[_0x5d7d07(0xf3)]=_0x5a94ea=>{const _0x2fad85=_0x5d7d07,_0x2ae432={};_0x2ae432[_0x2fad85(0xd0)]='arraybuffer',0x0==--_0x30c374&&(0x0<Object[_0x2fad85(0x108)](_0x44fc84)['length']?_0x512d31()[_0x2fad85(0x136)](this[_0x2fad85(0x149)],{'ids':_0x44fc84},_0x2ae432)[_0x2fad85(0xe9)](_0x2e0fc2=>{const _0x363ce4=_0x2fad85;let _0x3122e1={},_0x5e84f7={},_0x234794=[],_0x2e7a54=0x0,_0x2dea67=new DataView(_0x2e0fc2['data']);for(;_0x2e7a54<_0x2e0fc2[_0x363ce4(0x156)][_0x363ce4(0x120)];){var _0x478f27=_0x2dea67[_0x363ce4(0xf0)](_0x2e7a54,!0x0),_0x4364a3=(_0x2e7a54+=Uint32Array['BYTES_PER_ELEMENT'],_0x2dea67['getUint32'](_0x2e7a54,!0x0)),_0x117681=(_0x2e7a54+=Uint32Array[_0x363ce4(0x11d)],_0x2dea67[_0x363ce4(0xf0)](_0x2e7a54,!0x0)),_0x550ca1=(_0x2e7a54+=Uint32Array[_0x363ce4(0x11d)],_0x2dea67['getUint32'](_0x2e7a54,!0x0));_0x2e7a54+=Uint32Array['BYTES_PER_ELEMENT'],_0x550ca1/=Float32Array['BYTES_PER_ELEMENT'];let _0x8e6dd6=new Float32Array(_0x550ca1);for(let _0x36f7b1=0x0;_0x36f7b1<_0x550ca1;_0x36f7b1++)_0x8e6dd6[_0x36f7b1]=_0x2dea67[_0x363ce4(0xba)](_0x2e7a54,!0x0),_0x2e7a54+=Float32Array['BYTES_PER_ELEMENT'];let _0x55e8e2=_0x2dea67[_0x363ce4(0xf0)](_0x2e7a54,!0x0);_0x2e7a54+=Uint32Array[_0x363ce4(0x11d)];var _0x23faad=_0x8e6dd6[_0x363ce4(0x138)]/0x3;let _0xfd9455;if(0xffff<_0x23faad){_0x55e8e2/=Uint32Array[_0x363ce4(0x11d)],_0xfd9455=new Uint32Array(_0x55e8e2);for(let _0x3be0df=0x0;_0x3be0df<_0x55e8e2;_0x3be0df++)_0xfd9455[_0x3be0df]=_0x2dea67[_0x363ce4(0xf0)](_0x2e7a54,!0x0),_0x2e7a54+=Uint32Array['BYTES_PER_ELEMENT'];}else{if(0x100<_0x23faad){_0x55e8e2/=Uint16Array[_0x363ce4(0x11d)],_0xfd9455=new Uint16Array(_0x55e8e2);for(let _0x151031=0x0;_0x151031<_0x55e8e2;_0x151031++)_0xfd9455[_0x151031]=_0x2dea67[_0x363ce4(0x144)](_0x2e7a54,!0x0),_0x2e7a54+=Uint16Array[_0x363ce4(0x11d)];}else{_0x55e8e2/=Uint8Array[_0x363ce4(0x11d)],_0xfd9455=new Uint8Array(_0x55e8e2);for(let _0x4963ed=0x0;_0x4963ed<_0x55e8e2;_0x4963ed++)_0xfd9455[_0x4963ed]=_0x2dea67['getUint8'](_0x2e7a54),_0x2e7a54+=Uint8Array['BYTES_PER_ELEMENT'];}}var _0x491f6f=_0x2dea67[_0x363ce4(0xf0)](_0x2e7a54,!0x0);_0x2e7a54+=Uint32Array[_0x363ce4(0x11d)],_0x491f6f/=Float32Array[_0x363ce4(0x11d)];let _0x1af012=new Float32Array(_0x491f6f);for(let _0x25a994=0x0;_0x25a994<_0x491f6f;_0x25a994++)_0x1af012[_0x25a994]=_0x2dea67[_0x363ce4(0xba)](_0x2e7a54,!0x0),_0x2e7a54+=Float32Array[_0x363ce4(0x11d)];let _0x1b3aa4=_0x2dea67[_0x363ce4(0xf0)](_0x2e7a54,!0x0);_0x2e7a54+=Uint32Array[_0x363ce4(0x11d)],_0x23faad=_0x1af012[_0x363ce4(0x138)]/0x3;let _0x4b1de5;if(0xffff<_0x23faad){_0x1b3aa4/=Uint32Array[_0x363ce4(0x11d)],_0x4b1de5=new Uint32Array(_0x1b3aa4);for(let _0x157c1f=0x0;_0x157c1f<_0x1b3aa4;_0x157c1f++)_0x4b1de5[_0x157c1f]=_0x2dea67['getUint32'](_0x2e7a54,!0x0),_0x2e7a54+=Uint32Array['BYTES_PER_ELEMENT'];}else{if(0x100<_0x23faad){_0x1b3aa4/=Uint16Array[_0x363ce4(0x11d)],_0x4b1de5=new Uint16Array(_0x1b3aa4);for(let _0x48a4f5=0x0;_0x48a4f5<_0x1b3aa4;_0x48a4f5++)_0x4b1de5[_0x48a4f5]=_0x2dea67[_0x363ce4(0x144)](_0x2e7a54,!0x0),_0x2e7a54+=Uint16Array[_0x363ce4(0x11d)];}else{_0x1b3aa4/=Uint8Array[_0x363ce4(0x11d)],_0x4b1de5=new Uint8Array(_0x1b3aa4);for(let _0x30b975=0x0;_0x30b975<_0x1b3aa4;_0x30b975++)_0x4b1de5[_0x30b975]=_0x2dea67[_0x363ce4(0x145)](_0x2e7a54),_0x2e7a54+=Uint8Array[_0x363ce4(0x11d)];}}var _0x130195=_0x2dea67[_0x363ce4(0xf0)](_0x2e7a54,!0x0);_0x2e7a54+=Uint32Array[_0x363ce4(0x11d)],_0x130195/=Float32Array['BYTES_PER_ELEMENT'];let _0x39df71=new Float32Array(_0x130195);for(let _0x4dd961=0x0;_0x4dd961<_0x130195;_0x4dd961++)_0x39df71[_0x4dd961]=_0x2dea67['getFloat32'](_0x2e7a54,!0x0),_0x2e7a54+=Float32Array[_0x363ce4(0x11d)];let _0x290977=_0x2dea67['getUint32'](_0x2e7a54,!0x0);_0x2e7a54+=Uint32Array['BYTES_PER_ELEMENT'],_0x23faad=_0x39df71[_0x363ce4(0x138)]/0x2;let _0x17cdbb;if(0xffff<_0x23faad){_0x290977/=Uint32Array[_0x363ce4(0x11d)],_0x17cdbb=new Uint32Array(_0x290977);for(let _0x11d60a=0x0;_0x11d60a<_0x290977;_0x11d60a++)_0x17cdbb[_0x11d60a]=_0x2dea67[_0x363ce4(0xf0)](_0x2e7a54,!0x0),_0x2e7a54+=Uint32Array[_0x363ce4(0x11d)];}else{if(0x100<_0x23faad){_0x290977/=Uint16Array['BYTES_PER_ELEMENT'],_0x17cdbb=new Uint16Array(_0x290977);for(let _0x52772f=0x0;_0x52772f<_0x290977;_0x52772f++)_0x17cdbb[_0x52772f]=_0x2dea67[_0x363ce4(0x144)](_0x2e7a54,!0x0),_0x2e7a54+=Uint16Array[_0x363ce4(0x11d)];}else{_0x290977/=Uint8Array[_0x363ce4(0x11d)],_0x17cdbb=new Uint8Array(_0x290977);for(let _0x1e08d1=0x0;_0x1e08d1<_0x290977;_0x1e08d1++)_0x17cdbb[_0x1e08d1]=_0x2dea67[_0x363ce4(0x145)](_0x2e7a54),_0x2e7a54+=Uint8Array[_0x363ce4(0x11d)];}}var _0x277027=_0x2dea67['getUint32'](_0x2e7a54,!0x0);_0x2e7a54+=Uint32Array[_0x363ce4(0x11d)],_0x277027/=Float32Array[_0x363ce4(0x11d)];let _0x1583e7=new Float32Array(_0x277027);for(let _0x2860f3=0x0;_0x2860f3<_0x277027;_0x2860f3++)_0x1583e7[_0x2860f3]=_0x2dea67[_0x363ce4(0xba)](_0x2e7a54,!0x0),_0x2e7a54+=Float32Array[_0x363ce4(0x11d)];let _0x4f0910=_0x2dea67[_0x363ce4(0xf0)](_0x2e7a54,!0x0);_0x2e7a54+=Uint32Array[_0x363ce4(0x11d)],_0x23faad=_0x1583e7[_0x363ce4(0x138)]/0x2;let _0x44785e;if(0xffff<_0x23faad){_0x4f0910/=Uint32Array['BYTES_PER_ELEMENT'],_0x44785e=new Uint32Array(_0x4f0910);for(let _0x5e2232=0x0;_0x5e2232<_0x4f0910;_0x5e2232++)_0x44785e[_0x5e2232]=_0x2dea67['getUint32'](_0x2e7a54,!0x0),_0x2e7a54+=Uint32Array[_0x363ce4(0x11d)];}else{if(0x100<_0x23faad){_0x4f0910/=Uint16Array[_0x363ce4(0x11d)],_0x44785e=new Uint16Array(_0x4f0910);for(let _0x363952=0x0;_0x363952<_0x4f0910;_0x363952++)_0x44785e[_0x363952]=_0x2dea67[_0x363ce4(0x144)](_0x2e7a54,!0x0),_0x2e7a54+=Uint16Array[_0x363ce4(0x11d)];}else{_0x4f0910/=Uint8Array[_0x363ce4(0x11d)],_0x44785e=new Uint8Array(_0x4f0910);for(let _0x1710ef=0x0;_0x1710ef<_0x4f0910;_0x1710ef++)_0x44785e[_0x1710ef]=_0x2dea67[_0x363ce4(0x145)](_0x2e7a54),_0x2e7a54+=Uint8Array[_0x363ce4(0x11d)];}}if(0x0===_0x1af012[_0x363ce4(0x138)]){let _0x1d0c61={},_0x141ca9=[];_0x4b1de5=[];for(let _0x541374=0x0;_0x541374<_0xfd9455[_0x363ce4(0x138)];_0x541374+=0x3){const _0x3c2b6b={};_0x3c2b6b['x']=_0x8e6dd6[_0xfd9455[_0x541374]],_0x3c2b6b['y']=_0x8e6dd6[_0xfd9455[_0x541374]+0x1],_0x3c2b6b['z']=_0x8e6dd6[_0xfd9455[_0x541374]+0x2];const _0x49cc82={};_0x49cc82['x']=_0x8e6dd6[_0xfd9455[_0x541374+0x1]],_0x49cc82['y']=_0x8e6dd6[_0xfd9455[_0x541374+0x1]+0x1],_0x49cc82['z']=_0x8e6dd6[_0xfd9455[_0x541374+0x1]+0x2];const _0x45fa94={};_0x45fa94['x']=_0x8e6dd6[_0xfd9455[_0x541374+0x2]],_0x45fa94['y']=_0x8e6dd6[_0xfd9455[_0x541374+0x2]+0x1],_0x45fa94['z']=_0x8e6dd6[_0xfd9455[_0x541374+0x2]+0x2];var _0x2d0722=_0x3c2b6b,_0x1d5de6=_0x49cc82,_0xda9eba=_0x45fa94,_0x2d0722=(0x0,_0x573a0f['st'])(_0x2d0722,_0x1d5de6,_0xda9eba),_0x1d5de6=''+_0x2d0722['x']+_0x2d0722['y']+_0x2d0722['z'];_0x1d0c61[_0x363ce4(0x112)](_0x1d5de6)||(_0x1d0c61[_0x1d5de6]=_0x141ca9['length']/0x3,_0x141ca9[_0x363ce4(0x128)](_0x2d0722['x'],_0x2d0722['y'],_0x2d0722['z'])),_0x4b1de5[_0x363ce4(0x128)](_0x1d0c61[_0x1d5de6]),_0x4b1de5[_0x363ce4(0x128)](_0x1d0c61[_0x1d5de6]),_0x4b1de5[_0x363ce4(0x128)](_0x1d0c61[_0x1d5de6]);}_0x23faad=(_0x1af012=new Float32Array(_0x141ca9))[_0x363ce4(0x138)]/0x3,_0x4b1de5=new(0xffff<_0x23faad?Uint32Array:0x100<_0x23faad?Uint16Array:Uint8Array)(_0x4b1de5);}if(0x0===_0x39df71['length']){let _0x492163={},_0x8637bc=[],_0x25a7cd=(_0x17cdbb=[],{}),_0x36b499=[];_0x44785e=[];for(let _0xd010f5=0x0;_0xd010f5<_0xfd9455[_0x363ce4(0x138)];_0xd010f5+=0x3){const _0x1350c9={};_0x1350c9['x']=_0x8e6dd6[0x3*_0xfd9455[_0xd010f5]],_0x1350c9['y']=_0x8e6dd6[0x3*_0xfd9455[_0xd010f5]+0x1],_0x1350c9['z']=_0x8e6dd6[0x3*_0xfd9455[_0xd010f5]+0x2];const _0x377ded={};_0x377ded['x']=_0x8e6dd6[0x3*_0xfd9455[_0xd010f5+0x1]],_0x377ded['y']=_0x8e6dd6[0x3*_0xfd9455[_0xd010f5+0x1]+0x1],_0x377ded['z']=_0x8e6dd6[0x3*_0xfd9455[_0xd010f5+0x1]+0x2];const _0x21c3bc={};_0x21c3bc['x']=_0x8e6dd6[0x3*_0xfd9455[_0xd010f5+0x2]],_0x21c3bc['y']=_0x8e6dd6[0x3*_0xfd9455[_0xd010f5+0x2]+0x1],_0x21c3bc['z']=_0x8e6dd6[0x3*_0xfd9455[_0xd010f5+0x2]+0x2];var _0x21d399=_0x1350c9,_0x42f039=_0x377ded,_0x26308a=_0x21c3bc,_0x416f23=(0x0,_0x573a0f['st'])(_0x21d399,_0x42f039,_0x26308a);let _0x242c34,_0x4e3d6a,_0x4aecef;_0x4aecef=0x1!==Math[_0x363ce4(0x11a)](_0x416f23['z'])?(_0x416f23=(0x0,_0x573a0f['ie'])(_0x416f23),_0x242c34=(0x0,_0x573a0f['Qb'])(_0x21d399,_0x416f23),_0x4e3d6a=(0x0,_0x573a0f['Qb'])(_0x42f039,_0x416f23),(0x0,_0x573a0f['Qb'])(_0x26308a,_0x416f23)):(_0x242c34=_0x21d399,_0x4e3d6a=_0x42f039,_0x26308a);const _0x32e463={};_0x32e463['u']=_0x242c34['x'],_0x32e463['v']=_0x242c34['y'];const _0xd7b7da={};_0xd7b7da['u']=_0x4e3d6a['x'],_0xd7b7da['v']=_0x4e3d6a['y'];const _0x3a5ccd={};_0x3a5ccd['u']=_0x4aecef['x'],_0x3a5ccd['v']=_0x4aecef['y'],(_0x416f23=_0x32e463,_0x21d399=_0xd7b7da,_0x42f039=_0x3a5ccd);let _0x46ee0f=''+_0x416f23['u']+_0x416f23['v'];_0x492163[_0x363ce4(0x112)](_0x46ee0f)||(_0x492163[_0x46ee0f]=_0x8637bc[_0x363ce4(0x138)]/0x2,_0x8637bc[_0x363ce4(0x128)](_0x416f23['u'],_0x416f23['v'])),_0x17cdbb[_0x363ce4(0x128)](_0x492163[_0x46ee0f]),_0x46ee0f=''+_0x21d399['u']+_0x21d399['v'],_0x492163[_0x363ce4(0x112)](_0x46ee0f)||(_0x492163[_0x46ee0f]=_0x8637bc[_0x363ce4(0x138)]/0x2,_0x8637bc['push'](_0x21d399['u'],_0x21d399['v'])),_0x17cdbb[_0x363ce4(0x128)](_0x492163[_0x46ee0f]),_0x46ee0f=''+_0x42f039['u']+_0x42f039['v'],_0x492163[_0x363ce4(0x112)](_0x46ee0f)||(_0x492163[_0x46ee0f]=_0x8637bc['length']/0x2,_0x8637bc[_0x363ce4(0x128)](_0x42f039['u'],_0x42f039['v'])),_0x17cdbb['push'](_0x492163[_0x46ee0f]),(_0x26308a=(0x0,_0x573a0f['Z1'])(_0x242c34,_0x4e3d6a,_0x4aecef,_0x416f23,_0x21d399,_0x42f039),_0x416f23=''+_0x26308a['x']+_0x26308a['y']+_0x26308a['z']),(_0x25a7cd[_0x363ce4(0x112)](_0x416f23)||(_0x25a7cd[_0x416f23]=_0x36b499['length']/0x3,_0x36b499['push'](_0x26308a['x'],_0x26308a['y'],_0x26308a['z'])),_0x44785e[_0x363ce4(0x128)](_0x25a7cd[_0x416f23],_0x25a7cd[_0x416f23],_0x25a7cd[_0x416f23]));}_0x23faad=(_0x39df71=new Float32Array(_0x8637bc))[_0x363ce4(0x138)]/0x2,_0x23faad=(_0x17cdbb=new(0xffff<_0x23faad?Uint32Array:0x100<_0x23faad?Uint16Array:Uint8Array)(_0x17cdbb),(_0x1583e7=new Float32Array(_0x36b499))[_0x363ce4(0x138)]/0x2),_0x44785e=new(0xffff<_0x23faad?Uint32Array:0x100<_0x23faad?Uint16Array:Uint8Array)(_0x44785e);}const _0x394c8b={};_0x394c8b[_0x363ce4(0xd5)]=_0x478f27,_0x394c8b['id']=_0x4364a3,_0x394c8b[_0x363ce4(0xde)]=_0x117681,_0x394c8b[_0x363ce4(0xdd)]=_0x8e6dd6,_0x394c8b[_0x363ce4(0xff)]=_0xfd9455,_0x394c8b[_0x363ce4(0xf7)]=_0x1af012,_0x394c8b[_0x363ce4(0xdb)]=_0x4b1de5,_0x394c8b['uv']=_0x39df71,_0x394c8b['uvIndices']=_0x17cdbb,_0x394c8b[_0x363ce4(0xc9)]=_0x1583e7,_0x394c8b[_0x363ce4(0xc5)]=_0x44785e,_0x23faad=_0x394c8b;const _0x2a5642={};_0x2a5642[_0x363ce4(0x10f)]='relaxed',_0x3122e1['hasOwnProperty'](_0x23faad[_0x363ce4(0xd5)])||(_0x3122e1[_0x23faad['modelId']]=this['modelId_indexDb'][_0x23faad[_0x363ce4(0xd5)]][_0x363ce4(0xbb)](_0x363ce4(0x101),_0x363ce4(0xc2),_0x2a5642),_0x3122e1[_0x23faad[_0x363ce4(0xd5)]][_0x363ce4(0x13b)]=_0xffb888=>_0x4a691f['log'](_0x363ce4(0xd9),_0xffb888),_0x3122e1[_0x23faad[_0x363ce4(0xd5)]]['onerror']=_0x37a950=>_0x4a691f['log']('数据库:写入mesh事务失败',_0x37a950),_0x5e84f7[_0x23faad['modelId']]=_0x3122e1[_0x23faad[_0x363ce4(0xd5)]][_0x363ce4(0xc0)](_0x363ce4(0x101)),_0x5e84f7[_0x23faad[_0x363ce4(0xd5)]][_0x363ce4(0xd2)]=_0x55bd8b=>_0x4a691f[_0x363ce4(0xea)](_0x363ce4(0xf5),_0x55bd8b));let _0x24286f=Object[_0x363ce4(0x139)]({},_0x23faad);delete _0x24286f[_0x363ce4(0xd5)],_0x5e84f7[_0x23faad[_0x363ce4(0xd5)]][_0x363ce4(0x131)](_0x24286f),_0x234794['push'](_0x23faad);}_0x54b6b7(_0x234794);},_0x3128dd):_0x54b6b7(_0x35d384));},_0x454903[_0x5d7d07(0xc0)](_0x5d7d07(0x101)));for(var _0x397e91 of _0x44fc84[_0x16f0d9])_0x397d78[_0x5d7d07(0x12d)](_0x397e91)[_0x5d7d07(0xe8)]=_0x4d0361;}});}[_0x394e88(0x132)](_0x37168c){return new Promise((_0x54e176,_0x4704e1)=>{const _0x3f0d38=a4_0x5743;let _0x39fa0b=Object[_0x3f0d38(0x108)](_0x37168c)[_0x3f0d38(0x138)],_0x1bbbf4=[];var _0x271495,_0x3beeb8=_0x40e3b0=>{const _0x423e12=_0x3f0d38;if(0x0<_0x40e3b0[_0x423e12(0x148)][_0x423e12(0xbd)][_0x423e12(0x138)]){let _0xa56f4e=_0x40e3b0['target'][_0x423e12(0xbd)][0x0];var _0x28905a,_0x13ded6=_0x40e3b0[_0x423e12(0xc8)][_0x423e12(0xbb)]['db'][_0x423e12(0xfb)],_0xd6990e=this[_0x423e12(0xf8)][_0x13ded6];for(_0x28905a of _0x40e3b0['target'][_0x423e12(0xbd)])_0xa56f4e[_0x423e12(0xd5)]=_0xd6990e;_0x37168c['hasOwnProperty'](_0xd6990e)&&(_0x37168c[_0xa56f4e[_0x423e12(0xd5)]]['splice'](_0x37168c[_0xa56f4e[_0x423e12(0xd5)]][_0x423e12(0x12c)](_0xa56f4e['id']),0x1),0x0===_0x37168c[_0xa56f4e[_0x423e12(0xd5)]][_0x423e12(0x138)]&&delete _0x37168c[_0xa56f4e[_0x423e12(0xd5)]],_0x1bbbf4=_0x1bbbf4[_0x423e12(0x14a)](_0x40e3b0[_0x423e12(0x148)]['result']));}};for(_0x271495 in _0x37168c){const _0x49641d={};_0x49641d['durability']='relaxed';let _0x596aaa=this[_0x3f0d38(0xb9)][_0x271495][_0x3f0d38(0xbb)](_0x3f0d38(0x12e),_0x3f0d38(0xcc),_0x49641d),_0x39d0a0=(_0x596aaa[_0x3f0d38(0x13b)]=_0x1a67cd=>_0x4a691f[_0x3f0d38(0xea)](_0x3f0d38(0x150),_0x1a67cd),_0x596aaa[_0x3f0d38(0xd2)]=_0x16295d=>_0x4a691f['log'](_0x3f0d38(0x102),_0x16295d),_0x596aaa[_0x3f0d38(0xf3)]=_0x5b6298=>{const _0x147819=_0x3f0d38,_0x46254b={};_0x46254b['responseType']=_0x147819(0x118),0x0==--_0x39fa0b&&(0x0<Object[_0x147819(0x108)](_0x37168c)['length']?_0x512d31()[_0x147819(0x136)](this['getMaterialUrl'],{'ids':_0x37168c},_0x46254b)[_0x147819(0xe9)](_0x42c488=>{const _0x10b693=_0x147819;let _0x319dd5={},_0x510ffb={},_0x110600=[],_0x400897=0x0,_0x321b28=new DataView(_0x42c488['data']);for(;_0x400897<_0x42c488['data'][_0x10b693(0x120)];){var _0x38f176=_0x321b28[_0x10b693(0xf0)](_0x400897,!0x0),_0x4a556d=(_0x400897+=Uint32Array[_0x10b693(0x11d)],_0x321b28[_0x10b693(0xf0)](_0x400897,!0x0));_0x400897+=Uint32Array[_0x10b693(0x11d)];let _0x1f8995=new Float32Array(0x4);for(let _0x3cf6c3=0x0;_0x3cf6c3<_0x1f8995[_0x10b693(0x138)];_0x3cf6c3++)_0x1f8995[_0x3cf6c3]=_0x321b28[_0x10b693(0xba)](_0x400897,!0x0),_0x400897+=Float32Array[_0x10b693(0x11d)];0x0===_0x1f8995[0x3]&&(_0x1f8995[0x0]=0.3,_0x1f8995[0x1]=0.3,_0x1f8995[0x2]=0.3,_0x1f8995[0x3]=0x1),_0x1f8995[0x3]<0.6&&(_0x1f8995[0x3]=0.6);var _0x467515=_0x1f0788[_0x10b693(0x10c)](new Uint8Array(_0x42c488[_0x10b693(0x156)],_0x400897,0x20))[_0x10b693(0x103)](/\x00/g,''),_0x4b1c35=(_0x400897+=0x20*Uint8Array[_0x10b693(0x11d)],_0x321b28[_0x10b693(0xf0)](_0x400897,!0x0)),_0x16ca8d=(_0x400897+=Uint32Array[_0x10b693(0x11d)],_0x1f0788[_0x10b693(0x10c)](new Uint8Array(_0x42c488['data'],_0x400897,_0x4b1c35))[_0x10b693(0x103)](/\x00/g,'')),_0x4b1c35=(_0x400897+=_0x4b1c35,{'modelId':_0x38f176,'id':_0x4a556d,'color':_0x1f8995,'textureId':_0x467515,'name':_0x16ca8d});const _0x24560b={};_0x24560b[_0x10b693(0x10f)]=_0x10b693(0xd4),_0x319dd5[_0x10b693(0x112)](_0x4b1c35[_0x10b693(0xd5)])||(_0x319dd5[_0x4b1c35[_0x10b693(0xd5)]]=this[_0x10b693(0xb9)][_0x4b1c35[_0x10b693(0xd5)]]['transaction'](_0x10b693(0x12e),_0x10b693(0xc2),_0x24560b),_0x319dd5[_0x4b1c35[_0x10b693(0xd5)]][_0x10b693(0x13b)]=_0x250810=>_0x4a691f['log'](_0x10b693(0x119),_0x250810),_0x319dd5[_0x4b1c35['modelId']]['onerror']=_0x207266=>_0x4a691f[_0x10b693(0xea)](_0x10b693(0x10b),_0x207266),_0x510ffb[_0x4b1c35[_0x10b693(0xd5)]]=_0x319dd5[_0x4b1c35[_0x10b693(0xd5)]][_0x10b693(0xc0)](_0x10b693(0x12e)),_0x510ffb[_0x4b1c35['modelId']][_0x10b693(0xd2)]=_0x4c8dd1=>_0x4a691f[_0x10b693(0xea)](_0x10b693(0xf9),_0x4c8dd1));let _0x444657=Object[_0x10b693(0x139)]({},_0x4b1c35);delete _0x444657[_0x10b693(0xd5)],_0x510ffb[_0x4b1c35[_0x10b693(0xd5)]][_0x10b693(0x131)](_0x444657),_0x110600[_0x10b693(0x128)](_0x4b1c35);}_0x54e176(_0x110600);},_0x4704e1):_0x54e176(_0x1bbbf4));},_0x596aaa[_0x3f0d38(0xc0)]('material'));for(var _0x3b2b7f of _0x37168c[_0x271495])_0x39d0a0['getAll'](_0x3b2b7f)[_0x3f0d38(0xe8)]=_0x3beeb8;}});}['GetTexture'](_0x7de5d4){return new Promise((_0x4436dd,_0x5ec6d2)=>{const _0x4ae1b9=a4_0x5743;let _0xf1a784=[];var _0x248a83,_0x18a683,_0x5a1ec8=_0x2ccbd9=>{const _0x45b286=a4_0x5743;if(void 0x0!==_0x2ccbd9[_0x45b286(0x148)][_0x45b286(0xbd)]){for(var _0x491ae2 in _0x7de5d4){var _0x4037e3=_0x7de5d4[_0x491ae2][_0x45b286(0x12c)](_0x2ccbd9['target'][_0x45b286(0xbd)]['id']);-0x1!==_0x4037e3&&_0x7de5d4[_0x45b286(0x112)](_0x491ae2)&&(_0x7de5d4[_0x491ae2][_0x45b286(0xf1)](_0x4037e3,0x1),0x0===_0x7de5d4[_0x491ae2][_0x45b286(0x138)]&&delete _0x7de5d4[_0x491ae2]);}_0xf1a784['push'](_0x2ccbd9[_0x45b286(0x148)][_0x45b286(0xbd)]);}};const _0x3ae009={};_0x3ae009[_0x4ae1b9(0x10f)]=_0x4ae1b9(0xd4);let _0x310c30=this[_0x4ae1b9(0x125)]['transaction'](_0x4ae1b9(0xca),_0x4ae1b9(0xcc),_0x3ae009),_0x43dc5e=(_0x310c30[_0x4ae1b9(0x13b)]=_0x37b14a=>_0x4a691f[_0x4ae1b9(0xea)](_0x4ae1b9(0x105),_0x37b14a),_0x310c30[_0x4ae1b9(0xd2)]=_0x786d52=>_0x4a691f[_0x4ae1b9(0xea)](_0x4ae1b9(0xfa),_0x786d52),_0x310c30[_0x4ae1b9(0xf3)]=_0x5623fb=>{const _0x3318ec=_0x4ae1b9;let _0x2628fb=[];var _0x23691b,_0x3b87b2;const _0x3a53da={};_0x3a53da[_0x3318ec(0xd0)]='arraybuffer',0x0<Object[_0x3318ec(0x108)](_0x7de5d4)[_0x3318ec(0x138)]&&(_0x23691b=_0x512d31()[_0x3318ec(0x136)](this['getTextureUrl'],{'ids':_0x7de5d4},_0x3a53da)[_0x3318ec(0xe9)](_0x4b5cf9=>{const _0x4ded4e=_0x3318ec,_0x4cf5b9={};_0x4cf5b9[_0x4ded4e(0x10f)]='relaxed';let _0x1aa1a0=this[_0x4ded4e(0x125)][_0x4ded4e(0xbb)](_0x4ded4e(0xca),_0x4ded4e(0xc2),_0x4cf5b9),_0x2adee7=(_0x1aa1a0[_0x4ded4e(0x13b)]=_0x4b005c=>_0x4a691f[_0x4ded4e(0xea)]('数据库:写入静态贴图事务终止',_0x4b005c),_0x1aa1a0[_0x4ded4e(0xd2)]=_0x1e3758=>_0x4a691f[_0x4ded4e(0xea)](_0x4ded4e(0xef),_0x1e3758),_0x1aa1a0[_0x4ded4e(0xc0)](_0x4ded4e(0xca))),_0x389364=(_0x2adee7[_0x4ded4e(0xd2)]=_0x53e6f7=>_0x4a691f[_0x4ded4e(0xea)](_0x4ded4e(0xc6),_0x53e6f7),0x0),_0x16d5b7=new DataView(_0x4b5cf9[_0x4ded4e(0x156)]);for(;_0x389364<_0x4b5cf9[_0x4ded4e(0x156)][_0x4ded4e(0x120)];){var _0x2437e6=_0x1f0788[_0x4ded4e(0x10c)](new Uint8Array(_0x4b5cf9['data'],_0x389364,0x20)),_0x103d31=(_0x389364+=0x20*Uint8Array[_0x4ded4e(0x11d)],_0x16d5b7['getUint32'](_0x389364,!0x0)),_0x2ab7d7=(_0x389364+=Uint32Array[_0x4ded4e(0x11d)],_0x1f0788[_0x4ded4e(0x10c)](new Uint8Array(_0x4b5cf9[_0x4ded4e(0x156)],_0x389364,_0x103d31))[_0x4ded4e(0x103)](/\x00/g,'')),_0x103d31=(_0x389364+=_0x103d31,_0x16d5b7['getUint32'](_0x389364,!0x0)),_0x2bbaf0=(_0x389364+=Uint32Array[_0x4ded4e(0x11d)],_0x16d5b7[_0x4ded4e(0xf0)](_0x389364,!0x0)),_0x439bee=(_0x389364+=Uint32Array[_0x4ded4e(0x11d)],_0x16d5b7[_0x4ded4e(0xba)](_0x389364,!0x0)),_0x2b1de0=(_0x389364+=Uint32Array['BYTES_PER_ELEMENT'],_0x16d5b7['getUint32'](_0x389364,!0x0)),_0x53e88e=(_0x389364+=Uint32Array[_0x4ded4e(0x11d)],new Uint8Array(_0x4b5cf9[_0x4ded4e(0x156)],_0x389364,_0x2b1de0)),_0x2b1de0=(_0x389364+=Uint8Array[_0x4ded4e(0x11d)]*_0x2b1de0,_0x16d5b7[_0x4ded4e(0xf0)](_0x389364,!0x0)),_0x3e165a=(_0x389364+=Uint32Array[_0x4ded4e(0x11d)],new Uint8Array(_0x4b5cf9[_0x4ded4e(0x156)],_0x389364,_0x2b1de0)),_0x2b1de0=(_0x389364+=Uint8Array['BYTES_PER_ELEMENT']*_0x2b1de0,_0x16d5b7[_0x4ded4e(0xf0)](_0x389364,!0x0)),_0x46ec28=(_0x389364+=Uint32Array[_0x4ded4e(0x11d)],new Uint8Array(_0x4b5cf9['data'],_0x389364,_0x2b1de0)),_0x2b1de0=(_0x389364+=Uint8Array['BYTES_PER_ELEMENT']*_0x2b1de0,_0x16d5b7[_0x4ded4e(0xf0)](_0x389364,!0x0)),_0x3c15b9=(_0x389364+=Uint32Array[_0x4ded4e(0x11d)],new Uint8Array(_0x4b5cf9['data'],_0x389364,_0x2b1de0)),_0x2b1de0=(_0x389364+=Uint8Array[_0x4ded4e(0x11d)]*_0x2b1de0,{'id':_0x2437e6,'name':_0x2ab7d7,'width':_0x103d31,'height':_0x2bbaf0,'realityWidth':_0x439bee,'preview':_0x53e88e,'albedo':_0x3e165a,'orm':_0x46ec28,'normal':_0x3c15b9,'isStatic':0x0,'isLoad':0x1});_0xf1a784[_0x4ded4e(0x128)](_0x2b1de0),_0x2adee7[_0x4ded4e(0x131)](_0x2b1de0);}},_0x5ec6d2),_0x2628fb[_0x3318ec(0x128)](_0x23691b));const _0x4e8a90={};_0x4e8a90['responseType']=_0x3318ec(0x118);const _0x43372a={};_0x43372a['responseType']=_0x3318ec(0x118);const _0x14c6dc={};_0x14c6dc[_0x3318ec(0xd0)]=_0x3318ec(0x118);for(let _0x1195f7 of _0xf1a784)0x1===_0x1195f7[_0x3318ec(0xed)]&&0x0===_0x1195f7[_0x3318ec(0xc7)]&&(_0x3b87b2=Promise[_0x3318ec(0xfd)]([_0x512d31()[_0x3318ec(0x151)](this[_0x3318ec(0xbc)]+_0x1195f7[_0x3318ec(0x135)],_0x4e8a90),_0x512d31()[_0x3318ec(0x151)](this[_0x3318ec(0xbc)]+_0x1195f7[_0x3318ec(0xcf)],_0x43372a),_0x512d31()[_0x3318ec(0x151)](this[_0x3318ec(0xbc)]+_0x1195f7['ndPath'],_0x14c6dc)])[_0x3318ec(0xe9)](_0x4f1549=>{const _0x1339da=_0x3318ec;_0x1195f7[_0x1339da(0x130)]=new Uint8Array(_0x4f1549[0x0][_0x1339da(0x156)]),_0x1195f7[_0x1339da(0x123)]=new Uint8Array(_0x4f1549[0x1][_0x1339da(0x156)]),_0x1195f7['nd']=new Uint8Array(_0x4f1549[0x2]['data']),_0x1195f7[_0x1339da(0xc7)]=0x1;const _0x290503={};_0x290503[_0x1339da(0x10f)]=_0x1339da(0xd4);let _0x11312a=this[_0x1339da(0x125)]['transaction'](_0x1339da(0xca),_0x1339da(0xc2),_0x290503),_0x17305b=(_0x11312a[_0x1339da(0x13b)]=_0x30dd0b=>_0x4a691f[_0x1339da(0xea)](_0x1339da(0x106),_0x30dd0b),_0x11312a['onerror']=_0x32ff0c=>_0x4a691f[_0x1339da(0xea)](_0x1339da(0xef),_0x32ff0c),_0x11312a['objectStore'](_0x1339da(0xca)));_0x17305b['onerror']=_0x2e1609=>_0x4a691f['log'](_0x1339da(0xc6),_0x2e1609),_0x17305b['put'](_0x1195f7);})['catch'](_0x408c25=>{const _0x25ce71=_0x3318ec;_0x4a691f[_0x25ce71(0xea)](_0x25ce71(0x154),_0x408c25);}),_0x2628fb[_0x3318ec(0x128)](_0x3b87b2));Promise[_0x3318ec(0xfd)](_0x2628fb)['then'](_0x438ec7=>{_0x4436dd(_0xf1a784);});},_0x310c30[_0x4ae1b9(0xc0)](_0x4ae1b9(0xca))),_0x35c361=new Set();for(_0x248a83 in _0x7de5d4)for(var _0x1e6895 of _0x7de5d4[_0x248a83])_0x35c361[_0x4ae1b9(0x131)](_0x1e6895);for(_0x18a683 of _0x35c361)_0x43dc5e[_0x4ae1b9(0x151)](_0x18a683)[_0x4ae1b9(0xe8)]=_0x5a1ec8;});}[_0x394e88(0xce)](){const _0x1680b2=_0x394e88;let _0x50bdcc=indexedDB[_0x1680b2(0xd7)](_0x1680b2(0x14b));_0x50bdcc['onerror']=_0x29ea57=>_0x4a691f[_0x1680b2(0xea)]('数据库:打开失败',_0x29ea57),_0x50bdcc[_0x1680b2(0xb7)]=_0x3e8155=>{const _0x4995e8=_0x1680b2;this[_0x4995e8(0x125)]=_0x3e8155[_0x4995e8(0x148)][_0x4995e8(0xbd)];const _0x7fbc3f={};_0x7fbc3f[_0x4995e8(0x155)]=!0x1,_0x7fbc3f[_0x4995e8(0x146)]='id';let _0x4984d2=_0x3e8155[_0x4995e8(0x148)]['result'][_0x4995e8(0xe5)]('texture',_0x7fbc3f);const _0x487771={};_0x487771[_0x4995e8(0x11b)]=!0x1,_0x487771[_0x4995e8(0x13e)]=!0x1,(_0x4984d2[_0x4995e8(0xe7)](_0x4995e8(0x134),_0x4995e8(0xed),_0x487771),this[_0x4995e8(0x12b)]=!0x0);},_0x50bdcc['onsuccess']=_0x485e8b=>{const _0x5a9ff9=_0x1680b2,_0x59abd5={};_0x59abd5[_0x5a9ff9(0xd0)]='json',(this['fineTextureDb']=_0x485e8b[_0x5a9ff9(0x148)][_0x5a9ff9(0xbd)],this[_0x5a9ff9(0x12b)]&&_0x512d31()[_0x5a9ff9(0x151)](this[_0x5a9ff9(0xbc)]+_0x5a9ff9(0xf6),_0x59abd5)['then'](_0x6209b0=>{const _0xf6509c=_0x5a9ff9,_0x224dbe={};_0x224dbe[_0xf6509c(0x10f)]=_0xf6509c(0xd4);let _0x4fd11f=this[_0xf6509c(0x125)]['transaction']('texture',_0xf6509c(0xc2),_0x224dbe),_0x2af6e3=(_0x4fd11f['onabort']=_0x10514f=>_0x4a691f[_0xf6509c(0xea)](_0xf6509c(0x106),_0x10514f),_0x4fd11f[_0xf6509c(0xd2)]=_0x120537=>_0x4a691f['log'](_0xf6509c(0xef),_0x120537),_0x4fd11f['objectStore'](_0xf6509c(0xca)));_0x2af6e3['onerror']=_0x1d5bb8=>_0x4a691f['log'](_0xf6509c(0xc6),_0x1d5bb8);for(var _0x4c62c8 of _0x6209b0['data'])_0x4c62c8['previewPath']=_0x4c62c8[_0xf6509c(0x13f)],_0x4c62c8[_0xf6509c(0x135)]=_0x4c62c8[_0xf6509c(0x130)][_0xf6509c(0xc3)](0x0,_0x4c62c8[_0xf6509c(0x130)][_0xf6509c(0x110)]('.'))+_0xf6509c(0xfc),_0x4c62c8[_0xf6509c(0xcf)]=_0x4c62c8[_0xf6509c(0x123)][_0xf6509c(0xc3)](0x0,_0x4c62c8[_0xf6509c(0x123)][_0xf6509c(0x110)]('.'))+'.bptc',_0x4c62c8['ndPath']=_0x4c62c8['nd']['substring'](0x0,_0x4c62c8['nd'][_0xf6509c(0x110)]('.'))+_0xf6509c(0xfc),_0x4c62c8[_0xf6509c(0xed)]=0x1,_0x4c62c8['isLoad']=0x0,_0x2af6e3['add'](_0x4c62c8);},_0x1b6ac6=>{const _0x172ed0=_0x5a9ff9;_0x4a691f[_0x172ed0(0x14f)](_0x172ed0(0xe2),_0x1b6ac6);}));};}}}}]);