北京经济技术开发区经开区虚拟城市项目-【前端】-Web
lixuliang
2024-09-14 c7187e038c284acc051a439c5eda16582bdb9b7a
1
const a4_0x496add=a4_0x2110;(function(_0x3c77d2,_0x4d8ec4){const _0x1f0251=a4_0x2110,_0x79824e=_0x3c77d2();while(!![]){try{const _0x966331=parseInt(_0x1f0251(0xe4))/0x1*(-parseInt(_0x1f0251(0xb1))/0x2)+-parseInt(_0x1f0251(0x13e))/0x3*(-parseInt(_0x1f0251(0xac))/0x4)+-parseInt(_0x1f0251(0xd3))/0x5*(parseInt(_0x1f0251(0xe1))/0x6)+-parseInt(_0x1f0251(0x141))/0x7+-parseInt(_0x1f0251(0xa8))/0x8+-parseInt(_0x1f0251(0x104))/0x9+parseInt(_0x1f0251(0x106))/0xa*(parseInt(_0x1f0251(0x10b))/0xb);if(_0x966331===_0x4d8ec4)break;else _0x79824e['push'](_0x79824e['shift']());}catch(_0x88931e){_0x79824e['push'](_0x79824e['shift']());}}}(a4_0x178a,0xa8c87));const a4_0x3c981e=(function(){let _0x58ae1a=!![];return function(_0x424669,_0x1329b1){const _0x1e0480=_0x58ae1a?function(){const _0x34e08a=a4_0x2110;if(_0x1329b1){const _0x3cdc3a=_0x1329b1[_0x34e08a(0x115)](_0x424669,arguments);return _0x1329b1=null,_0x3cdc3a;}}:function(){};return _0x58ae1a=![],_0x1e0480;};}()),a4_0x44b0d8=a4_0x3c981e(this,function(){const _0x513e3f=a4_0x2110;return a4_0x44b0d8[_0x513e3f(0x11b)]()['search']('(((.+)+)+)+$')[_0x513e3f(0x11b)]()['constructor'](a4_0x44b0d8)[_0x513e3f(0xb6)]('(((.+)+)+)+$');});function a4_0x2110(_0x1d2a51,_0x20c0e5){const _0x2700a9=a4_0x178a();return a4_0x2110=function(_0x5de696,_0x7aa7d8){_0x5de696=_0x5de696-0xa5;let _0x178add=_0x2700a9[_0x5de696];return _0x178add;},a4_0x2110(_0x1d2a51,_0x20c0e5);}a4_0x44b0d8();'use strict';(Object(self||this)[a4_0x496add(0xd1)]=Object(self||this)['webpackChunkBim']||[])['push']([[0x342],{0xb12:(_0x5ad2a0,_0x2f1fc0,_0x2557e2)=>{const _0x897f68=a4_0x496add,_0x56d94e={};_0x56d94e['r']=()=>_0x1bf678,_0x2557e2['d'](_0x2f1fc0,_0x56d94e);var _0x2f1fc0=_0x2557e2(0x25c5),_0x5c6f24=_0x2557e2['n'](_0x2f1fc0),_0x20dbcc=_0x2557e2(0x25c9),_0x22671b=_0x2557e2(0x13f4);let _0x5c462f=new TextDecoder();class _0x1bf678{constructor(_0x43f20d,_0x1843e9){const _0x492807=a4_0x2110;this['uniqueIdToModelId']={},this[_0x492807(0x130)]={},this[_0x492807(0x126)]={},this[_0x492807(0xcf)]=!0x1,this[_0x492807(0xe7)]=_0x43f20d+_0x492807(0xef),this[_0x492807(0x103)]=_0x43f20d+'getMaterial',this['getTextureUrl']=_0x43f20d+_0x492807(0x10f),this[_0x492807(0x127)]=_0x43f20d+_0x492807(0xc2),this['getMeshInstanceUrl']=_0x43f20d+_0x492807(0xa6),this[_0x492807(0x11c)]=_0x43f20d+'getComponentExpandProperty',this[_0x492807(0xe2)]=_0x1843e9||_0x492807(0x12d),this[_0x492807(0x12b)]();}[_0x897f68(0xbf)](){return new Promise((_0x3bca7e,_0x5a185f)=>{const _0x415df6=a4_0x2110,_0x555051={};_0x555051[_0x415df6(0xed)]=_0x415df6(0xb0),_0x5c6f24()[_0x415df6(0x109)](this[_0x415df6(0x127)],_0x555051)[_0x415df6(0x129)](_0xc73b27=>{const _0x21304e=_0x415df6;try{let _0x46ba35={},_0x4d3611=0x0,_0x186657=new DataView(_0xc73b27[_0x21304e(0xf7)]);for(;_0x4d3611<_0xc73b27[_0x21304e(0xf7)][_0x21304e(0xcc)];){var _0x58b83e=_0x186657['getUint32'](_0x4d3611,!0x0),_0x20e48f=(_0x4d3611+=Uint32Array['BYTES_PER_ELEMENT'],_0x5c462f[_0x21304e(0x125)](new Uint8Array(_0xc73b27[_0x21304e(0xf7)],_0x4d3611,0x20)));_0x4d3611+=0x20*Uint8Array[_0x21304e(0xee)];let _0x3cf11d=new Float32Array(0x6);for(let _0x5d010e=0x0;_0x5d010e<_0x3cf11d[_0x21304e(0x10a)];_0x5d010e++)_0x3cf11d[_0x5d010e]=_0x186657[_0x21304e(0xf5)](_0x4d3611,!0x0),_0x4d3611+=Float32Array[_0x21304e(0xee)];let _0x1bac2a=new Float32Array(0x10);for(let _0xcee3ec=0x0;_0xcee3ec<_0x1bac2a[_0x21304e(0x10a)];_0xcee3ec++)_0x1bac2a[_0xcee3ec]=_0x186657[_0x21304e(0xf5)](_0x4d3611,!0x0),_0x4d3611+=Float32Array['BYTES_PER_ELEMENT'];var _0x3b5580=_0x186657[_0x21304e(0xd8)](_0x4d3611,!0x0);_0x4d3611+=Uint32Array[_0x21304e(0xee)];let _0x140d63=new Int32Array(_0x3b5580);for(let _0x341d91=0x0;_0x341d91<_0x3b5580;_0x341d91++)_0x140d63[_0x341d91]=_0x186657[_0x21304e(0xbc)](_0x4d3611,!0x0),_0x4d3611+=Int32Array['BYTES_PER_ELEMENT'];var _0x1c970a=_0x186657[_0x21304e(0xd8)](_0x4d3611,!0x0),_0x4cdd3e=(_0x4d3611+=Uint32Array[_0x21304e(0xee)],_0x186657[_0x21304e(0xd8)](_0x4d3611,!0x0)),_0x3009e1=(_0x4d3611+=Uint32Array['BYTES_PER_ELEMENT'],_0x186657[_0x21304e(0xd8)](_0x4d3611,!0x0)),_0x322b12=(_0x4d3611+=Uint32Array[_0x21304e(0xee)],_0x186657[_0x21304e(0xd8)](_0x4d3611,!0x0)),_0x302384=(_0x4d3611+=Uint32Array[_0x21304e(0xee)],_0x186657['getUint32'](_0x4d3611,!0x0)),_0x51b2ac=(_0x4d3611+=Uint32Array[_0x21304e(0xee)],_0x186657[_0x21304e(0xd8)](_0x4d3611,!0x0));_0x4d3611+=Uint32Array['BYTES_PER_ELEMENT'],_0x46ba35[_0x58b83e]={'id':_0x58b83e,'uniqueId':_0x20e48f,'status':0x0,'box':_0x3cf11d,'transform':_0x1bac2a,'indexTree':_0x140d63,'componentCount':_0x1c970a,'instancesCount':_0x4cdd3e,'meshCount':_0x3009e1,'meshLodCount':_0x322b12,'triangleCount':_0x302384,'materialCount':_0x51b2ac};}_0x3bca7e(_0x46ba35);}catch(_0x467a0c){_0x22671b[_0x21304e(0x10c)](_0x21304e(0xc4),_0xc73b27['data']),_0x5a185f();}},_0x5a185f);});}[_0x897f68(0xd9)](_0x42e1e7){return new Promise((_0x1db36f,_0x2e10e4)=>{const _0x248640=a4_0x2110;this['uniqueIdToModelId'][_0x42e1e7[_0x248640(0xc7)]]=_0x42e1e7['id'],this['modelIdToUniqueId'][_0x42e1e7['id']]=_0x42e1e7['uniqueId'];let _0x1c650d=indexedDB[_0x248640(0xe3)](_0x42e1e7[_0x248640(0xc7)]);_0x1c650d[_0x248640(0x13a)]=_0x2735f1=>_0x22671b[_0x248640(0xff)](_0x248640(0x121),_0x42e1e7['uniqueId'],_0x2735f1),_0x1c650d[_0x248640(0xdd)]=_0x255fb8=>{const _0x1b4479=_0x248640,_0x3c54e={};_0x3c54e[_0x1b4479(0xd5)]=!0x1,_0x3c54e['keyPath']='id';if(_0x1c650d[_0x1b4479(0x128)][_0x1b4479(0x120)][_0x1b4479(0x134)](_0x1b4479(0xe8))||_0x1c650d['result'][_0x1b4479(0xf0)](_0x1b4479(0xe8),_0x3c54e),!_0x1c650d['result'][_0x1b4479(0x120)][_0x1b4479(0x134)](_0x1b4479(0xb8))){const _0x1cbce8={};_0x1cbce8[_0x1b4479(0xd5)]=!0x1,_0x1cbce8[_0x1b4479(0xae)]='id';let _0x310a01=_0x1c650d[_0x1b4479(0x128)]['createObjectStore'](_0x1b4479(0xb8),_0x1cbce8);const _0x1d2707={};_0x1d2707[_0x1b4479(0x12a)]=!0x1,_0x1d2707['multiEntry']=!0x1;const _0x59edd9={};_0x59edd9['unique']=!0x1,_0x59edd9[_0x1b4479(0x10e)]=!0x1,(_0x310a01[_0x1b4479(0xcd)]('by_isShell',_0x1b4479(0xfd),_0x1d2707),_0x310a01['createIndex'](_0x1b4479(0x12c),_0x1b4479(0xb5),_0x59edd9));}if(!_0x1c650d[_0x1b4479(0x128)]['objectStoreNames'][_0x1b4479(0x134)](_0x1b4479(0xa5))){const _0x5667b3={};_0x5667b3['autoIncrement']=!0x1,_0x5667b3['keyPath']='id';let _0x1c9689=_0x1c650d[_0x1b4479(0x128)][_0x1b4479(0xf0)](_0x1b4479(0xa5),_0x5667b3);const _0x2022ea={};_0x2022ea[_0x1b4479(0x12a)]=!0x1,_0x2022ea[_0x1b4479(0x10e)]=!0x1;const _0x41f76d={};_0x41f76d[_0x1b4479(0x12a)]=!0x1,_0x41f76d[_0x1b4479(0x10e)]=!0x1,(_0x1c9689[_0x1b4479(0xcd)](_0x1b4479(0x11d),_0x1b4479(0xc0),_0x2022ea),_0x1c9689['createIndex'](_0x1b4479(0xe5),_0x1b4479(0xfe),_0x41f76d));}const _0x26ddde={};_0x26ddde[_0x1b4479(0xd5)]=!0x1,_0x26ddde['keyPath']='id',_0x1c650d[_0x1b4479(0x128)][_0x1b4479(0x120)][_0x1b4479(0x134)]('material')||_0x1c650d['result'][_0x1b4479(0xf0)](_0x1b4479(0x12f),_0x26ddde);},_0x1c650d[_0x248640(0xf6)]=_0x50b8cc=>{const _0x42000d=_0x248640;this[_0x42000d(0x126)][_0x42e1e7['id']]=_0x1c650d[_0x42000d(0x128)],_0x1db36f(_0x1c650d[_0x42000d(0x128)]);};});}[_0x897f68(0x124)](_0x4f32fd){return new Promise((_0x2e67f6,_0x3d6a91)=>{const _0x374524=a4_0x2110,_0x14a784={};_0x14a784[_0x374524(0xab)]=_0x374524(0xec);let _0x1ff04e=this[_0x374524(0x126)][_0x4f32fd][_0x374524(0xbe)](_0x374524(0xb8),'readonly',_0x14a784),_0x48ebb0=(_0x1ff04e[_0x374524(0x108)]=_0x509409=>_0x22671b['log']('数据库:读取instances事务终止',_0x509409),_0x1ff04e[_0x374524(0x13a)]=_0x25e152=>_0x22671b[_0x374524(0xff)]('数据库:读取instances事务失败',_0x25e152),_0x1ff04e[_0x374524(0xc5)]=_0x3b89cf=>{},_0x1ff04e[_0x374524(0xf8)](_0x374524(0xb8)));const _0x364101=_0x48ebb0[_0x374524(0xda)](_0x374524(0xc1));_0x364101[_0x374524(0x101)](0x1)[_0x374524(0xf6)]=_0x10ffe3=>{const _0x103e20=_0x374524;if(0x0<_0x10ffe3[_0x103e20(0x117)]['result']['length']){var _0x180aa4,_0x43d180=_0x10ffe3[_0x103e20(0x10d)][_0x103e20(0xbe)]['db'][_0x103e20(0xca)],_0xc4f54c=this[_0x103e20(0x107)][_0x43d180];for(_0x180aa4 of _0x10ffe3[_0x103e20(0x117)]['result'])_0x180aa4[_0x103e20(0xf9)]=_0xc4f54c;_0x2e67f6(_0x10ffe3[_0x103e20(0x117)][_0x103e20(0x128)]);}else{let _0x5b26c8={};_0x5b26c8[_0x4f32fd]=[],this[_0x103e20(0xea)](_0x5b26c8,_0x2e67f6,_0x3d6a91);}};});}[_0x897f68(0x11f)](_0x1676bf){return new Promise((_0x36d7d2,_0x21566f)=>{const _0x33060c=a4_0x2110;let _0x4ee0f5=Object[_0x33060c(0x12e)](_0x1676bf)[_0x33060c(0x10a)],_0x33220d=[];var _0x2d89d2,_0x31afbe=_0x46a8ab=>{const _0x21a01d=_0x33060c;if(0x0<_0x46a8ab[_0x21a01d(0x117)][_0x21a01d(0x128)][_0x21a01d(0x10a)]){var _0x43202d=_0x46a8ab[_0x21a01d(0x10d)][_0x21a01d(0xbe)]['db'][_0x21a01d(0xca)],_0x11d78e=this[_0x21a01d(0x107)][_0x43202d];if(_0x1676bf[_0x21a01d(0xe9)](_0x11d78e)){for(var _0x131f37 of _0x46a8ab['target']['result'])_0x131f37[_0x21a01d(0xf9)]=_0x11d78e;_0x43202d=_0x46a8ab[_0x21a01d(0x117)][_0x21a01d(0x128)][0x0][_0x21a01d(0xb5)],(_0x1676bf[_0x11d78e][_0x43202d]===_0x46a8ab[_0x21a01d(0x117)][_0x21a01d(0x128)]['length']&&(delete _0x1676bf[_0x11d78e][_0x43202d],0x0===Object[_0x21a01d(0x12e)](_0x1676bf[_0x11d78e])[_0x21a01d(0x10a)]&&delete _0x1676bf[_0x11d78e]),_0x33220d=_0x33220d['concat'](_0x46a8ab[_0x21a01d(0x117)][_0x21a01d(0x128)]));}}};for(_0x2d89d2 in _0x1676bf){const _0x39efba={};_0x39efba[_0x33060c(0xab)]=_0x33060c(0xec);let _0x3c9c62=this[_0x33060c(0x126)][_0x2d89d2][_0x33060c(0xbe)](_0x33060c(0xb8),_0x33060c(0xdc),_0x39efba),_0x51a64b=(_0x3c9c62[_0x33060c(0x108)]=_0x40c67b=>_0x22671b[_0x33060c(0xff)](_0x33060c(0xfa),_0x40c67b),_0x3c9c62[_0x33060c(0x13a)]=_0xe3ded3=>_0x22671b[_0x33060c(0xff)](_0x33060c(0xbb),_0xe3ded3),_0x3c9c62[_0x33060c(0xc5)]=_0x1f215f=>{const _0x433e7e=_0x33060c;if(0x0==--_0x4ee0f5){if(0x0<Object[_0x433e7e(0x12e)](_0x1676bf)[_0x433e7e(0x10a)]){for(var _0x14cbf8 in _0x1676bf){let _0x2a14cf=[];for(var _0x7e0326 in _0x1676bf[_0x14cbf8])_0x2a14cf[_0x433e7e(0xde)](~~_0x7e0326);_0x1676bf[_0x14cbf8]=_0x2a14cf;}this[_0x433e7e(0xea)](_0x1676bf,_0x36d7d2,_0x21566f);}else _0x36d7d2(_0x33220d);}},_0x3c9c62[_0x33060c(0xf8)](_0x33060c(0xb8))),_0x352533=_0x51a64b['index'](_0x33060c(0x12c));for(var _0x205e46 in _0x1676bf[_0x2d89d2])_0x352533[_0x33060c(0x101)](~~_0x205e46)[_0x33060c(0xf6)]=_0x31afbe;}});}[_0x897f68(0xea)](_0x594ec2,_0x126a7f,_0x318c01){const _0x55237e=_0x897f68,_0x4963a2={};_0x4963a2['ids']=_0x594ec2;const _0x30891a={};_0x30891a[_0x55237e(0xed)]=_0x55237e(0xb0),_0x30891a['timeout']=0x7530,_0x5c6f24()[_0x55237e(0xd2)](this[_0x55237e(0xaa)],_0x4963a2,_0x30891a)['then'](_0x1456af=>{const _0x4127f4=_0x55237e;let _0xef37f3={},_0x6e5e34={},_0x434ca6=[],_0x5866e0=0x0,_0x3fc2e2=new DataView(_0x1456af['data']);for(;_0x5866e0<_0x1456af[_0x4127f4(0xf7)][_0x4127f4(0xcc)];){var _0x399d8f=_0x3fc2e2['getUint32'](_0x5866e0,!0x0),_0x47601a=(_0x5866e0+=Uint32Array['BYTES_PER_ELEMENT'],_0x3fc2e2[_0x4127f4(0xd8)](_0x5866e0,!0x0)),_0xb3936f=(_0x5866e0+=Uint32Array[_0x4127f4(0xee)],_0x3fc2e2[_0x4127f4(0xd8)](_0x5866e0,!0x0)),_0x2f5ed0=(_0x5866e0+=Uint32Array[_0x4127f4(0xee)],_0x3fc2e2[_0x4127f4(0xd8)](_0x5866e0,!0x0)),_0x1318bb=(_0x5866e0+=Uint32Array[_0x4127f4(0xee)],_0x3fc2e2[_0x4127f4(0xd8)](_0x5866e0,!0x0)),_0x4a95ec=(_0x5866e0+=Uint32Array[_0x4127f4(0xee)],_0x3fc2e2[_0x4127f4(0xd6)](_0x5866e0));_0x5866e0+=Uint8Array[_0x4127f4(0xee)];let _0x156c1=new Float32Array(0x6);for(let _0x2c3212=0x0;_0x2c3212<0x6;_0x2c3212++)_0x156c1[_0x2c3212]=_0x3fc2e2[_0x4127f4(0xf5)](_0x5866e0,!0x0),_0x5866e0+=Float32Array[_0x4127f4(0xee)];let _0x133978=new Float32Array(0x10);for(let _0x1dd413=0x0;_0x1dd413<0x10;_0x1dd413++)_0x133978[_0x1dd413]=_0x3fc2e2[_0x4127f4(0xf5)](_0x5866e0,!0x0),_0x5866e0+=Float32Array['BYTES_PER_ELEMENT'];var _0x12fc50=_0x3fc2e2[_0x4127f4(0xd6)](_0x5866e0);_0x5866e0+=Uint8Array[_0x4127f4(0xee)];let _0x2361be=new Array(_0x12fc50);for(let _0x48c5e5=0x0;_0x48c5e5<_0x12fc50;_0x48c5e5++){var _0x13ddf5=_0x3fc2e2[_0x4127f4(0xd8)](_0x5866e0,!0x0),_0x5eed5a=(_0x5866e0+=Uint32Array[_0x4127f4(0xee)],_0x3fc2e2[_0x4127f4(0xd8)](_0x5866e0,!0x0)),_0x5e7b60=(_0x5866e0+=Uint32Array[_0x4127f4(0xee)],_0x3fc2e2[_0x4127f4(0xd8)](_0x5866e0,!0x0)),_0x8c7731=(_0x5866e0+=Uint32Array['BYTES_PER_ELEMENT'],_0x3fc2e2[_0x4127f4(0xd8)](_0x5866e0,!0x0)),_0xbf41e4=(_0x5866e0+=Uint32Array[_0x4127f4(0xee)],_0x3fc2e2['getFloat32'](_0x5866e0,!0x0));const _0x23cb8f={};_0x23cb8f['id']=_0x13ddf5,_0x23cb8f[_0x4127f4(0x118)]=_0x5eed5a,_0x23cb8f['triangleCount']=_0x5e7b60,_0x23cb8f[_0x4127f4(0xd7)]=_0xbf41e4,_0x23cb8f[_0x4127f4(0x13d)]=_0x8c7731,(_0x5866e0+=Float32Array['BYTES_PER_ELEMENT'],_0x2361be[_0x48c5e5]=_0x23cb8f);}_0x1318bb={'modelId':_0x1318bb,'id':_0x399d8f,'componentId':_0x47601a,'meshId':_0xb3936f,'treeId':_0x2f5ed0,'box':_0x156c1,'transform':_0x133978,'isShell':_0x4a95ec,'meshList':_0x2361be};if(this[_0x4127f4(0x126)][_0x4127f4(0xe9)](_0x1318bb[_0x4127f4(0xf9)])){const _0x237db0={};_0x237db0[_0x4127f4(0xab)]='relaxed',_0xef37f3[_0x4127f4(0xe9)](_0x1318bb['modelId'])||(_0xef37f3[_0x1318bb['modelId']]=this[_0x4127f4(0x126)][_0x1318bb[_0x4127f4(0xf9)]]['transaction']('instances',_0x4127f4(0x135),_0x237db0),_0xef37f3[_0x1318bb[_0x4127f4(0xf9)]][_0x4127f4(0x108)]=_0x3f74e2=>_0x22671b[_0x4127f4(0xff)]('数据库:写入instances事务终止',_0x3f74e2),_0xef37f3[_0x1318bb[_0x4127f4(0xf9)]]['onerror']=_0x11be2e=>_0x22671b[_0x4127f4(0xff)](_0x4127f4(0xc9),_0x11be2e),_0x6e5e34[_0x1318bb[_0x4127f4(0xf9)]]=_0xef37f3[_0x1318bb['modelId']]['objectStore'](_0x4127f4(0xb8)),_0x6e5e34[_0x1318bb['modelId']]['onerror']=_0x10deb2=>_0x22671b[_0x4127f4(0xff)]('数据库:instances写入失败',_0x10deb2));let _0x45d97f=Object[_0x4127f4(0xc8)]({},_0x1318bb);delete _0x45d97f[_0x4127f4(0xf9)],_0x6e5e34[_0x1318bb['modelId']]['put'](_0x45d97f),_0x434ca6[_0x4127f4(0xde)](_0x1318bb);}else _0x22671b[_0x4127f4(0xff)](_0x4127f4(0xcb),_0x4127f4(0x136),_0x594ec2,'返回内容是',_0x1318bb);}_0x126a7f(_0x434ca6);},_0x318c01);}[_0x897f68(0xe0)](_0x426f5d){return new Promise((_0x33da4b,_0x543748)=>{const _0x4b20c3=a4_0x2110,_0x1a6b06={};_0x1a6b06[_0x4b20c3(0xab)]=_0x4b20c3(0xec);let _0x5ada62=this[_0x4b20c3(0x126)][_0x426f5d][_0x4b20c3(0xbe)]('component',_0x4b20c3(0xdc),_0x1a6b06),_0x3b0b02=(_0x5ada62[_0x4b20c3(0x108)]=_0x195efb=>_0x22671b[_0x4b20c3(0xff)](_0x4b20c3(0xc3),_0x195efb),_0x5ada62['onerror']=_0x56abb4=>_0x22671b['log'](_0x4b20c3(0x111),_0x56abb4),_0x5ada62[_0x4b20c3(0xc5)]=_0x18fdc4=>{},_0x5ada62['objectStore'](_0x4b20c3(0xa5)));_0x3b0b02[_0x4b20c3(0x101)]()[_0x4b20c3(0xf6)]=_0x17fb59=>{const _0x132190=_0x4b20c3,_0x5422b3={};_0x5422b3['modelId']=_0x426f5d;const _0x3d09dd={};_0x3d09dd[_0x132190(0xed)]=_0x132190(0xb0),0x0<_0x17fb59['target'][_0x132190(0x128)][_0x132190(0x10a)]?_0x33da4b(_0x17fb59[_0x132190(0x117)][_0x132190(0x128)]):_0x5c6f24()[_0x132190(0xd2)](this[_0x132190(0x11c)],_0x5422b3,_0x3d09dd)[_0x132190(0x129)](_0x429a15=>{const _0x45a0c8=_0x132190,_0x551334={};_0x551334[_0x45a0c8(0xab)]=_0x45a0c8(0xec);let _0x57ccc5=this[_0x45a0c8(0x126)][_0x426f5d][_0x45a0c8(0xbe)](_0x45a0c8(0xa5),_0x45a0c8(0x135),_0x551334),_0x3d68ea=(_0x57ccc5[_0x45a0c8(0x108)]=_0x154ed6=>_0x22671b['log'](_0x45a0c8(0xce),_0x154ed6),_0x57ccc5[_0x45a0c8(0x13a)]=_0xee6620=>_0x22671b[_0x45a0c8(0xff)](_0x45a0c8(0xd0),_0xee6620),_0x57ccc5['objectStore'](_0x45a0c8(0xa5))),_0x54eaf4=(_0x3d68ea['onerror']=_0x2f460f=>_0x22671b[_0x45a0c8(0xff)](_0x45a0c8(0xfb),_0x2f460f),[]),_0x5c6437=0x0,_0x4add5f=new DataView(_0x429a15[_0x45a0c8(0xf7)]);for(;_0x5c6437<_0x429a15[_0x45a0c8(0xf7)][_0x45a0c8(0xcc)];){var _0x5153de=_0x4add5f[_0x45a0c8(0xd8)](_0x5c6437,!0x0),_0x5912f1=(_0x5c6437+=Uint32Array[_0x45a0c8(0xee)],_0x4add5f[_0x45a0c8(0xd6)](_0x5c6437)),_0x4fdfb2=(_0x5c6437+=Uint8Array[_0x45a0c8(0xee)],_0x4add5f[_0x45a0c8(0xd6)](_0x5c6437)),_0x5153de=(_0x5c6437+=Uint8Array['BYTES_PER_ELEMENT'],{'id':_0x5153de,'storey':_0x5912f1,'expressType':_0x4fdfb2});_0x54eaf4[_0x45a0c8(0xde)](_0x5153de),_0x3d68ea[_0x45a0c8(0xbd)](_0x5153de);}_0x33da4b(_0x54eaf4);},_0x543748);};});}[_0x897f68(0x13b)](_0x28bcc7){return new Promise((_0x1dde00,_0x2f6fa8)=>{const _0x5b8978=a4_0x2110;let _0x37c76b=Object['keys'](_0x28bcc7)[_0x5b8978(0x10a)],_0x21df7b=[];var _0x39fdcd,_0x229e0e=_0x3a710b=>{const _0xcc1fc2=_0x5b8978;if(0x0<_0x3a710b['target'][_0xcc1fc2(0x128)][_0xcc1fc2(0x10a)]){var _0x76a3ba,_0x48b557=_0x3a710b[_0xcc1fc2(0x117)][_0xcc1fc2(0x128)][0x0],_0x2139fe=_0x3a710b[_0xcc1fc2(0x10d)][_0xcc1fc2(0xbe)]['db']['name'],_0xedbf36=this[_0xcc1fc2(0x107)][_0x2139fe];for(_0x76a3ba of _0x3a710b[_0xcc1fc2(0x117)][_0xcc1fc2(0x128)])_0x76a3ba['modelId']=_0xedbf36;_0x28bcc7[_0xcc1fc2(0xe9)](_0xedbf36)&&(_0x28bcc7[_0x48b557['modelId']][_0xcc1fc2(0xeb)](_0x28bcc7[_0x48b557[_0xcc1fc2(0xf9)]][_0xcc1fc2(0x112)](_0x48b557['id']),0x1),0x0===_0x28bcc7[_0x48b557['modelId']][_0xcc1fc2(0x10a)]&&delete _0x28bcc7[_0x48b557[_0xcc1fc2(0xf9)]],_0x21df7b=_0x21df7b[_0xcc1fc2(0x100)](_0x3a710b[_0xcc1fc2(0x117)][_0xcc1fc2(0x128)]));}};for(_0x39fdcd in _0x28bcc7){const _0xb6e2a6={};_0xb6e2a6[_0x5b8978(0xab)]=_0x5b8978(0xec);let _0x16fa6d=this[_0x5b8978(0x126)][_0x39fdcd][_0x5b8978(0xbe)]('mesh','readonly',_0xb6e2a6),_0x40b8e3=(_0x16fa6d[_0x5b8978(0x108)]=_0x2a3562=>_0x22671b[_0x5b8978(0xff)](_0x5b8978(0xf2),_0x2a3562),_0x16fa6d[_0x5b8978(0x13a)]=_0x546d5d=>_0x22671b['log']('数据库:读取mesh事务失败',_0x546d5d),_0x16fa6d[_0x5b8978(0xc5)]=_0x347ec5=>{const _0x1e7f67=_0x5b8978,_0x1e5bf7={};_0x1e5bf7[_0x1e7f67(0xed)]='arraybuffer',0x0==--_0x37c76b&&(0x0<Object[_0x1e7f67(0x12e)](_0x28bcc7)[_0x1e7f67(0x10a)]?_0x5c6f24()['post'](this['getMeshUrl'],{'ids':_0x28bcc7},_0x1e5bf7)['then'](_0x5f5f25=>{const _0x568a3d=_0x1e7f67;let _0x336a0c={},_0x135e41={},_0x40020f=[],_0x1b548a=0x0,_0x4d6f68=new DataView(_0x5f5f25[_0x568a3d(0xf7)]);for(;_0x1b548a<_0x5f5f25[_0x568a3d(0xf7)][_0x568a3d(0xcc)];){var _0x38941e=_0x4d6f68['getUint32'](_0x1b548a,!0x0),_0x50e591=(_0x1b548a+=Uint32Array[_0x568a3d(0xee)],_0x4d6f68[_0x568a3d(0xd8)](_0x1b548a,!0x0)),_0x3655a1=(_0x1b548a+=Uint32Array['BYTES_PER_ELEMENT'],_0x4d6f68['getUint32'](_0x1b548a,!0x0)),_0x2e1b5d=(_0x1b548a+=Uint32Array[_0x568a3d(0xee)],_0x4d6f68[_0x568a3d(0xd8)](_0x1b548a,!0x0));_0x1b548a+=Uint32Array[_0x568a3d(0xee)],_0x2e1b5d/=Float32Array['BYTES_PER_ELEMENT'];let _0x20b106=new Float32Array(_0x2e1b5d);for(let _0x3939ff=0x0;_0x3939ff<_0x2e1b5d;_0x3939ff++)_0x20b106[_0x3939ff]=_0x4d6f68[_0x568a3d(0xf5)](_0x1b548a,!0x0),_0x1b548a+=Float32Array[_0x568a3d(0xee)];let _0x2cf613=_0x4d6f68[_0x568a3d(0xd8)](_0x1b548a,!0x0);_0x1b548a+=Uint32Array[_0x568a3d(0xee)];var _0x39ddec=_0x20b106[_0x568a3d(0x10a)]/0x3;let _0x22d88c;if(0xffff<_0x39ddec){_0x2cf613/=Uint32Array[_0x568a3d(0xee)],_0x22d88c=new Uint32Array(_0x2cf613);for(let _0x5a986c=0x0;_0x5a986c<_0x2cf613;_0x5a986c++)_0x22d88c[_0x5a986c]=_0x4d6f68[_0x568a3d(0xd8)](_0x1b548a,!0x0),_0x1b548a+=Uint32Array[_0x568a3d(0xee)];}else{if(0x100<_0x39ddec){_0x2cf613/=Uint16Array[_0x568a3d(0xee)],_0x22d88c=new Uint16Array(_0x2cf613);for(let _0x1a99a3=0x0;_0x1a99a3<_0x2cf613;_0x1a99a3++)_0x22d88c[_0x1a99a3]=_0x4d6f68[_0x568a3d(0xb9)](_0x1b548a,!0x0),_0x1b548a+=Uint16Array['BYTES_PER_ELEMENT'];}else{_0x2cf613/=Uint8Array[_0x568a3d(0xee)],_0x22d88c=new Uint8Array(_0x2cf613);for(let _0x4fe058=0x0;_0x4fe058<_0x2cf613;_0x4fe058++)_0x22d88c[_0x4fe058]=_0x4d6f68[_0x568a3d(0xd6)](_0x1b548a),_0x1b548a+=Uint8Array[_0x568a3d(0xee)];}}var _0x40a3d9=_0x4d6f68[_0x568a3d(0xd8)](_0x1b548a,!0x0);_0x1b548a+=Uint32Array['BYTES_PER_ELEMENT'],_0x40a3d9/=Float32Array[_0x568a3d(0xee)];let _0x13285e=new Float32Array(_0x40a3d9);for(let _0x820a20=0x0;_0x820a20<_0x40a3d9;_0x820a20++)_0x13285e[_0x820a20]=_0x4d6f68['getFloat32'](_0x1b548a,!0x0),_0x1b548a+=Float32Array['BYTES_PER_ELEMENT'];let _0x1c08f8=_0x4d6f68[_0x568a3d(0xd8)](_0x1b548a,!0x0);_0x1b548a+=Uint32Array['BYTES_PER_ELEMENT'],_0x39ddec=_0x13285e[_0x568a3d(0x10a)]/0x3;let _0x10fc5e;if(0xffff<_0x39ddec){_0x1c08f8/=Uint32Array[_0x568a3d(0xee)],_0x10fc5e=new Uint32Array(_0x1c08f8);for(let _0x425445=0x0;_0x425445<_0x1c08f8;_0x425445++)_0x10fc5e[_0x425445]=_0x4d6f68[_0x568a3d(0xd8)](_0x1b548a,!0x0),_0x1b548a+=Uint32Array[_0x568a3d(0xee)];}else{if(0x100<_0x39ddec){_0x1c08f8/=Uint16Array['BYTES_PER_ELEMENT'],_0x10fc5e=new Uint16Array(_0x1c08f8);for(let _0x3cf8d9=0x0;_0x3cf8d9<_0x1c08f8;_0x3cf8d9++)_0x10fc5e[_0x3cf8d9]=_0x4d6f68['getUint16'](_0x1b548a,!0x0),_0x1b548a+=Uint16Array['BYTES_PER_ELEMENT'];}else{_0x1c08f8/=Uint8Array[_0x568a3d(0xee)],_0x10fc5e=new Uint8Array(_0x1c08f8);for(let _0x169107=0x0;_0x169107<_0x1c08f8;_0x169107++)_0x10fc5e[_0x169107]=_0x4d6f68['getUint8'](_0x1b548a),_0x1b548a+=Uint8Array[_0x568a3d(0xee)];}}var _0x37c896=_0x4d6f68['getUint32'](_0x1b548a,!0x0);_0x1b548a+=Uint32Array[_0x568a3d(0xee)],_0x37c896/=Float32Array[_0x568a3d(0xee)];let _0x2148f5=new Float32Array(_0x37c896);for(let _0x28bc47=0x0;_0x28bc47<_0x37c896;_0x28bc47++)_0x2148f5[_0x28bc47]=_0x4d6f68['getFloat32'](_0x1b548a,!0x0),_0x1b548a+=Float32Array[_0x568a3d(0xee)];let _0x2424fb=_0x4d6f68[_0x568a3d(0xd8)](_0x1b548a,!0x0);_0x1b548a+=Uint32Array[_0x568a3d(0xee)],_0x39ddec=_0x2148f5[_0x568a3d(0x10a)]/0x2;let _0x209e81;if(0xffff<_0x39ddec){_0x2424fb/=Uint32Array[_0x568a3d(0xee)],_0x209e81=new Uint32Array(_0x2424fb);for(let _0x28df48=0x0;_0x28df48<_0x2424fb;_0x28df48++)_0x209e81[_0x28df48]=_0x4d6f68[_0x568a3d(0xd8)](_0x1b548a,!0x0),_0x1b548a+=Uint32Array[_0x568a3d(0xee)];}else{if(0x100<_0x39ddec){_0x2424fb/=Uint16Array['BYTES_PER_ELEMENT'],_0x209e81=new Uint16Array(_0x2424fb);for(let _0x285505=0x0;_0x285505<_0x2424fb;_0x285505++)_0x209e81[_0x285505]=_0x4d6f68[_0x568a3d(0xb9)](_0x1b548a,!0x0),_0x1b548a+=Uint16Array[_0x568a3d(0xee)];}else{_0x2424fb/=Uint8Array[_0x568a3d(0xee)],_0x209e81=new Uint8Array(_0x2424fb);for(let _0x1125f1=0x0;_0x1125f1<_0x2424fb;_0x1125f1++)_0x209e81[_0x1125f1]=_0x4d6f68[_0x568a3d(0xd6)](_0x1b548a),_0x1b548a+=Uint8Array['BYTES_PER_ELEMENT'];}}var _0x4a6cd2=_0x4d6f68[_0x568a3d(0xd8)](_0x1b548a,!0x0);_0x1b548a+=Uint32Array[_0x568a3d(0xee)],_0x4a6cd2/=Float32Array[_0x568a3d(0xee)];let _0x53684a=new Float32Array(_0x4a6cd2);for(let _0x45be27=0x0;_0x45be27<_0x4a6cd2;_0x45be27++)_0x53684a[_0x45be27]=_0x4d6f68[_0x568a3d(0xf5)](_0x1b548a,!0x0),_0x1b548a+=Float32Array['BYTES_PER_ELEMENT'];let _0x35901c=_0x4d6f68['getUint32'](_0x1b548a,!0x0);_0x1b548a+=Uint32Array['BYTES_PER_ELEMENT'],_0x39ddec=_0x53684a[_0x568a3d(0x10a)]/0x2;let _0x27593f;if(0xffff<_0x39ddec){_0x35901c/=Uint32Array['BYTES_PER_ELEMENT'],_0x27593f=new Uint32Array(_0x35901c);for(let _0x2aac6e=0x0;_0x2aac6e<_0x35901c;_0x2aac6e++)_0x27593f[_0x2aac6e]=_0x4d6f68[_0x568a3d(0xd8)](_0x1b548a,!0x0),_0x1b548a+=Uint32Array[_0x568a3d(0xee)];}else{if(0x100<_0x39ddec){_0x35901c/=Uint16Array[_0x568a3d(0xee)],_0x27593f=new Uint16Array(_0x35901c);for(let _0x2f72c0=0x0;_0x2f72c0<_0x35901c;_0x2f72c0++)_0x27593f[_0x2f72c0]=_0x4d6f68['getUint16'](_0x1b548a,!0x0),_0x1b548a+=Uint16Array[_0x568a3d(0xee)];}else{_0x35901c/=Uint8Array[_0x568a3d(0xee)],_0x27593f=new Uint8Array(_0x35901c);for(let _0x215293=0x0;_0x215293<_0x35901c;_0x215293++)_0x27593f[_0x215293]=_0x4d6f68['getUint8'](_0x1b548a),_0x1b548a+=Uint8Array[_0x568a3d(0xee)];}}if(0x0===_0x13285e[_0x568a3d(0x10a)]){let _0x73afb1={},_0x41397e=[];_0x10fc5e=[];for(let _0x47d25c=0x0;_0x47d25c<_0x22d88c[_0x568a3d(0x10a)];_0x47d25c+=0x3){const _0x4c8bc5={};_0x4c8bc5['x']=_0x20b106[_0x22d88c[_0x47d25c]],_0x4c8bc5['y']=_0x20b106[_0x22d88c[_0x47d25c]+0x1],_0x4c8bc5['z']=_0x20b106[_0x22d88c[_0x47d25c]+0x2];const _0x3b137b={};_0x3b137b['x']=_0x20b106[_0x22d88c[_0x47d25c+0x1]],_0x3b137b['y']=_0x20b106[_0x22d88c[_0x47d25c+0x1]+0x1],_0x3b137b['z']=_0x20b106[_0x22d88c[_0x47d25c+0x1]+0x2];const _0x331dcd={};_0x331dcd['x']=_0x20b106[_0x22d88c[_0x47d25c+0x2]],_0x331dcd['y']=_0x20b106[_0x22d88c[_0x47d25c+0x2]+0x1],_0x331dcd['z']=_0x20b106[_0x22d88c[_0x47d25c+0x2]+0x2];var _0x268f95=_0x4c8bc5,_0x5e50f8=_0x3b137b,_0x5f6d19=_0x331dcd,_0x268f95=(0x0,_0x20dbcc['st'])(_0x268f95,_0x5e50f8,_0x5f6d19),_0x5e50f8=''+_0x268f95['x']+_0x268f95['y']+_0x268f95['z'];_0x73afb1[_0x568a3d(0xe9)](_0x5e50f8)||(_0x73afb1[_0x5e50f8]=_0x41397e[_0x568a3d(0x10a)]/0x3,_0x41397e[_0x568a3d(0xde)](_0x268f95['x'],_0x268f95['y'],_0x268f95['z'])),_0x10fc5e[_0x568a3d(0xde)](_0x73afb1[_0x5e50f8]),_0x10fc5e[_0x568a3d(0xde)](_0x73afb1[_0x5e50f8]),_0x10fc5e['push'](_0x73afb1[_0x5e50f8]);}_0x39ddec=(_0x13285e=new Float32Array(_0x41397e))[_0x568a3d(0x10a)]/0x3,_0x10fc5e=new(0xffff<_0x39ddec?Uint32Array:0x100<_0x39ddec?Uint16Array:Uint8Array)(_0x10fc5e);}if(0x0===_0x2148f5[_0x568a3d(0x10a)]){let _0x359608={},_0x3829f0=[],_0x1aecca=(_0x209e81=[],{}),_0x4d69fa=[];_0x27593f=[];for(let _0x33d142=0x0;_0x33d142<_0x22d88c['length'];_0x33d142+=0x3){const _0x49851a={};_0x49851a['x']=_0x20b106[0x3*_0x22d88c[_0x33d142]],_0x49851a['y']=_0x20b106[0x3*_0x22d88c[_0x33d142]+0x1],_0x49851a['z']=_0x20b106[0x3*_0x22d88c[_0x33d142]+0x2];const _0xa5bef6={};_0xa5bef6['x']=_0x20b106[0x3*_0x22d88c[_0x33d142+0x1]],_0xa5bef6['y']=_0x20b106[0x3*_0x22d88c[_0x33d142+0x1]+0x1],_0xa5bef6['z']=_0x20b106[0x3*_0x22d88c[_0x33d142+0x1]+0x2];const _0x22d87e={};_0x22d87e['x']=_0x20b106[0x3*_0x22d88c[_0x33d142+0x2]],_0x22d87e['y']=_0x20b106[0x3*_0x22d88c[_0x33d142+0x2]+0x1],_0x22d87e['z']=_0x20b106[0x3*_0x22d88c[_0x33d142+0x2]+0x2];var _0x25bebd=_0x49851a,_0x260b39=_0xa5bef6,_0x4e410f=_0x22d87e,_0x11936f=(0x0,_0x20dbcc['st'])(_0x25bebd,_0x260b39,_0x4e410f);let _0x41f66e,_0x6a4adc,_0x529e97;_0x529e97=0x1!==Math[_0x568a3d(0xa7)](_0x11936f['z'])?(_0x11936f=(0x0,_0x20dbcc['ie'])(_0x11936f),_0x41f66e=(0x0,_0x20dbcc['Qb'])(_0x25bebd,_0x11936f),_0x6a4adc=(0x0,_0x20dbcc['Qb'])(_0x260b39,_0x11936f),(0x0,_0x20dbcc['Qb'])(_0x4e410f,_0x11936f)):(_0x41f66e=_0x25bebd,_0x6a4adc=_0x260b39,_0x4e410f);const _0x1041e0={};_0x1041e0['u']=_0x41f66e['x'],_0x1041e0['v']=_0x41f66e['y'];const _0x58dc32={};_0x58dc32['u']=_0x6a4adc['x'],_0x58dc32['v']=_0x6a4adc['y'];const _0x5b02bb={};_0x5b02bb['u']=_0x529e97['x'],_0x5b02bb['v']=_0x529e97['y'],(_0x11936f=_0x1041e0,_0x25bebd=_0x58dc32,_0x260b39=_0x5b02bb);let _0x2313c8=''+_0x11936f['u']+_0x11936f['v'];_0x359608[_0x568a3d(0xe9)](_0x2313c8)||(_0x359608[_0x2313c8]=_0x3829f0[_0x568a3d(0x10a)]/0x2,_0x3829f0[_0x568a3d(0xde)](_0x11936f['u'],_0x11936f['v'])),_0x209e81[_0x568a3d(0xde)](_0x359608[_0x2313c8]),_0x2313c8=''+_0x25bebd['u']+_0x25bebd['v'],_0x359608[_0x568a3d(0xe9)](_0x2313c8)||(_0x359608[_0x2313c8]=_0x3829f0['length']/0x2,_0x3829f0[_0x568a3d(0xde)](_0x25bebd['u'],_0x25bebd['v'])),_0x209e81['push'](_0x359608[_0x2313c8]),_0x2313c8=''+_0x260b39['u']+_0x260b39['v'],_0x359608['hasOwnProperty'](_0x2313c8)||(_0x359608[_0x2313c8]=_0x3829f0[_0x568a3d(0x10a)]/0x2,_0x3829f0['push'](_0x260b39['u'],_0x260b39['v'])),_0x209e81[_0x568a3d(0xde)](_0x359608[_0x2313c8]),(_0x4e410f=(0x0,_0x20dbcc['Z1'])(_0x41f66e,_0x6a4adc,_0x529e97,_0x11936f,_0x25bebd,_0x260b39),_0x11936f=''+_0x4e410f['x']+_0x4e410f['y']+_0x4e410f['z']),(_0x1aecca[_0x568a3d(0xe9)](_0x11936f)||(_0x1aecca[_0x11936f]=_0x4d69fa[_0x568a3d(0x10a)]/0x3,_0x4d69fa['push'](_0x4e410f['x'],_0x4e410f['y'],_0x4e410f['z'])),_0x27593f[_0x568a3d(0xde)](_0x1aecca[_0x11936f],_0x1aecca[_0x11936f],_0x1aecca[_0x11936f]));}_0x39ddec=(_0x2148f5=new Float32Array(_0x3829f0))['length']/0x2,_0x39ddec=(_0x209e81=new(0xffff<_0x39ddec?Uint32Array:0x100<_0x39ddec?Uint16Array:Uint8Array)(_0x209e81),(_0x53684a=new Float32Array(_0x4d69fa))[_0x568a3d(0x10a)]/0x2),_0x27593f=new(0xffff<_0x39ddec?Uint32Array:0x100<_0x39ddec?Uint16Array:Uint8Array)(_0x27593f);}const _0x149c7b={};_0x149c7b['modelId']=_0x38941e,_0x149c7b['id']=_0x50e591,_0x149c7b[_0x568a3d(0x13d)]=_0x3655a1,_0x149c7b[_0x568a3d(0x13f)]=_0x20b106,_0x149c7b[_0x568a3d(0x140)]=_0x22d88c,_0x149c7b['normal']=_0x13285e,_0x149c7b[_0x568a3d(0x13c)]=_0x10fc5e,_0x149c7b['uv']=_0x2148f5,_0x149c7b['uvIndices']=_0x209e81,_0x149c7b[_0x568a3d(0xdf)]=_0x53684a,_0x149c7b[_0x568a3d(0x133)]=_0x27593f,_0x39ddec=_0x149c7b;const _0x49e2fb={};_0x49e2fb[_0x568a3d(0xab)]=_0x568a3d(0xec),_0x336a0c[_0x568a3d(0xe9)](_0x39ddec[_0x568a3d(0xf9)])||(_0x336a0c[_0x39ddec[_0x568a3d(0xf9)]]=this[_0x568a3d(0x126)][_0x39ddec[_0x568a3d(0xf9)]]['transaction'](_0x568a3d(0xe8),_0x568a3d(0x135),_0x49e2fb),_0x336a0c[_0x39ddec[_0x568a3d(0xf9)]][_0x568a3d(0x108)]=_0x3cfd8f=>_0x22671b[_0x568a3d(0xff)]('数据库:写入mesh事务终止',_0x3cfd8f),_0x336a0c[_0x39ddec[_0x568a3d(0xf9)]][_0x568a3d(0x13a)]=_0x3b0624=>_0x22671b[_0x568a3d(0xff)](_0x568a3d(0x114),_0x3b0624),_0x135e41[_0x39ddec['modelId']]=_0x336a0c[_0x39ddec[_0x568a3d(0xf9)]]['objectStore'](_0x568a3d(0xe8)),_0x135e41[_0x39ddec[_0x568a3d(0xf9)]][_0x568a3d(0x13a)]=_0x414849=>_0x22671b[_0x568a3d(0xff)](_0x568a3d(0xaf),_0x414849));let _0x239bc6=Object['assign']({},_0x39ddec);delete _0x239bc6[_0x568a3d(0xf9)],_0x135e41[_0x39ddec[_0x568a3d(0xf9)]]['add'](_0x239bc6),_0x40020f[_0x568a3d(0xde)](_0x39ddec);}_0x1dde00(_0x40020f);},_0x2f6fa8):_0x1dde00(_0x21df7b));},_0x16fa6d[_0x5b8978(0xf8)](_0x5b8978(0xe8)));for(var _0x342e43 of _0x28bcc7[_0x39fdcd])_0x40b8e3[_0x5b8978(0x101)](_0x342e43)[_0x5b8978(0xf6)]=_0x229e0e;}});}['GetMaterial'](_0xb89368){return new Promise((_0x375a5a,_0x59f82d)=>{const _0x2b52ac=a4_0x2110;let _0x2652f5=Object[_0x2b52ac(0x12e)](_0xb89368)[_0x2b52ac(0x10a)],_0x47f1fc=[];var _0x568147,_0x2519a8=_0x4e30f4=>{const _0x303e33=_0x2b52ac;if(0x0<_0x4e30f4[_0x303e33(0x117)][_0x303e33(0x128)][_0x303e33(0x10a)]){let _0x4fe5a4=_0x4e30f4[_0x303e33(0x117)][_0x303e33(0x128)][0x0];var _0x10998a,_0x12cb07=_0x4e30f4[_0x303e33(0x10d)][_0x303e33(0xbe)]['db'][_0x303e33(0xca)],_0x1ce6b3=this[_0x303e33(0x107)][_0x12cb07];for(_0x10998a of _0x4e30f4[_0x303e33(0x117)]['result'])_0x4fe5a4[_0x303e33(0xf9)]=_0x1ce6b3;_0xb89368['hasOwnProperty'](_0x1ce6b3)&&(_0xb89368[_0x4fe5a4[_0x303e33(0xf9)]][_0x303e33(0xeb)](_0xb89368[_0x4fe5a4['modelId']][_0x303e33(0x112)](_0x4fe5a4['id']),0x1),0x0===_0xb89368[_0x4fe5a4[_0x303e33(0xf9)]][_0x303e33(0x10a)]&&delete _0xb89368[_0x4fe5a4[_0x303e33(0xf9)]],_0x47f1fc=_0x47f1fc[_0x303e33(0x100)](_0x4e30f4[_0x303e33(0x117)][_0x303e33(0x128)]));}};for(_0x568147 in _0xb89368){const _0x500ba1={};_0x500ba1['durability']='relaxed';let _0x455ca9=this[_0x2b52ac(0x126)][_0x568147]['transaction'](_0x2b52ac(0x12f),_0x2b52ac(0xdc),_0x500ba1),_0x14956e=(_0x455ca9[_0x2b52ac(0x108)]=_0x55851b=>_0x22671b[_0x2b52ac(0xff)]('数据库:读取material事务终止',_0x55851b),_0x455ca9[_0x2b52ac(0x13a)]=_0x328aca=>_0x22671b[_0x2b52ac(0xff)](_0x2b52ac(0x116),_0x328aca),_0x455ca9[_0x2b52ac(0xc5)]=_0xc148b3=>{const _0x17c649=_0x2b52ac,_0x1579c6={};_0x1579c6['responseType']=_0x17c649(0xb0),0x0==--_0x2652f5&&(0x0<Object['keys'](_0xb89368)[_0x17c649(0x10a)]?_0x5c6f24()[_0x17c649(0xd2)](this[_0x17c649(0x103)],{'ids':_0xb89368},_0x1579c6)[_0x17c649(0x129)](_0x477806=>{const _0x18f474=_0x17c649;let _0x3abba0={},_0x1f5a92={},_0x240a0d=[],_0x2088e0=0x0,_0x2564d3=new DataView(_0x477806['data']);for(;_0x2088e0<_0x477806[_0x18f474(0xf7)][_0x18f474(0xcc)];){var _0xe2a915=_0x2564d3[_0x18f474(0xd8)](_0x2088e0,!0x0),_0x513cca=(_0x2088e0+=Uint32Array[_0x18f474(0xee)],_0x2564d3[_0x18f474(0xd8)](_0x2088e0,!0x0));_0x2088e0+=Uint32Array[_0x18f474(0xee)];let _0x4ad223=new Float32Array(0x4);for(let _0x59a635=0x0;_0x59a635<_0x4ad223[_0x18f474(0x10a)];_0x59a635++)_0x4ad223[_0x59a635]=_0x2564d3[_0x18f474(0xf5)](_0x2088e0,!0x0),_0x2088e0+=Float32Array['BYTES_PER_ELEMENT'];0x0===_0x4ad223[0x3]&&(_0x4ad223[0x0]=0.3,_0x4ad223[0x1]=0.3,_0x4ad223[0x2]=0.3,_0x4ad223[0x3]=0x1),_0x4ad223[0x3]<0.6&&(_0x4ad223[0x3]=0.6);var _0x2bb429=_0x5c462f[_0x18f474(0x125)](new Uint8Array(_0x477806['data'],_0x2088e0,0x20))[_0x18f474(0xd4)](/\x00/g,''),_0x5ab537=(_0x2088e0+=0x20*Uint8Array[_0x18f474(0xee)],_0x2564d3[_0x18f474(0xd8)](_0x2088e0,!0x0)),_0x4f4ad2=(_0x2088e0+=Uint32Array[_0x18f474(0xee)],_0x5c462f[_0x18f474(0x125)](new Uint8Array(_0x477806[_0x18f474(0xf7)],_0x2088e0,_0x5ab537))['replace'](/\x00/g,'')),_0x5ab537=(_0x2088e0+=_0x5ab537,{'modelId':_0xe2a915,'id':_0x513cca,'color':_0x4ad223,'textureId':_0x2bb429,'name':_0x4f4ad2});const _0x1c20aa={};_0x1c20aa[_0x18f474(0xab)]=_0x18f474(0xec),_0x3abba0[_0x18f474(0xe9)](_0x5ab537[_0x18f474(0xf9)])||(_0x3abba0[_0x5ab537[_0x18f474(0xf9)]]=this['modelId_indexDb'][_0x5ab537[_0x18f474(0xf9)]]['transaction']('material',_0x18f474(0x135),_0x1c20aa),_0x3abba0[_0x5ab537[_0x18f474(0xf9)]][_0x18f474(0x108)]=_0x499a8c=>_0x22671b[_0x18f474(0xff)]('数据库:写入material事务终止',_0x499a8c),_0x3abba0[_0x5ab537[_0x18f474(0xf9)]][_0x18f474(0x13a)]=_0x594435=>_0x22671b[_0x18f474(0xff)](_0x18f474(0xf4),_0x594435),_0x1f5a92[_0x5ab537[_0x18f474(0xf9)]]=_0x3abba0[_0x5ab537['modelId']]['objectStore'](_0x18f474(0x12f)),_0x1f5a92[_0x5ab537[_0x18f474(0xf9)]][_0x18f474(0x13a)]=_0x4fbb8b=>_0x22671b['log'](_0x18f474(0xb7),_0x4fbb8b));let _0x4644e3=Object['assign']({},_0x5ab537);delete _0x4644e3[_0x18f474(0xf9)],_0x1f5a92[_0x5ab537['modelId']][_0x18f474(0xbd)](_0x4644e3),_0x240a0d[_0x18f474(0xde)](_0x5ab537);}_0x375a5a(_0x240a0d);},_0x59f82d):_0x375a5a(_0x47f1fc));},_0x455ca9[_0x2b52ac(0xf8)](_0x2b52ac(0x12f)));for(var _0x391505 of _0xb89368[_0x568147])_0x14956e[_0x2b52ac(0x101)](_0x391505)[_0x2b52ac(0xf6)]=_0x2519a8;}});}[_0x897f68(0x119)](_0x4583ab){return new Promise((_0x97c660,_0x494533)=>{const _0x876d95=a4_0x2110;let _0xf0b3cc=[];var _0x123104,_0x22b5c3,_0x4eac7e=_0x512395=>{const _0x12bff1=a4_0x2110;if(void 0x0!==_0x512395[_0x12bff1(0x117)][_0x12bff1(0x128)]){for(var _0x3a4e2a in _0x4583ab){var _0x3ac4bb=_0x4583ab[_0x3a4e2a]['indexOf'](_0x512395[_0x12bff1(0x117)][_0x12bff1(0x128)]['id']);-0x1!==_0x3ac4bb&&_0x4583ab[_0x12bff1(0xe9)](_0x3a4e2a)&&(_0x4583ab[_0x3a4e2a]['splice'](_0x3ac4bb,0x1),0x0===_0x4583ab[_0x3a4e2a][_0x12bff1(0x10a)]&&delete _0x4583ab[_0x3a4e2a]);}_0xf0b3cc[_0x12bff1(0xde)](_0x512395['target']['result']);}};const _0xa04990={};_0xa04990[_0x876d95(0xab)]=_0x876d95(0xec);let _0x178b5e=this[_0x876d95(0xf1)]['transaction'](_0x876d95(0xfc),_0x876d95(0xdc),_0xa04990),_0x314326=(_0x178b5e[_0x876d95(0x108)]=_0x190635=>_0x22671b['log'](_0x876d95(0x105),_0x190635),_0x178b5e[_0x876d95(0x13a)]=_0x546000=>_0x22671b[_0x876d95(0xff)](_0x876d95(0xb4),_0x546000),_0x178b5e[_0x876d95(0xc5)]=_0x3d8d31=>{const _0x5d75fd=_0x876d95;let _0x1c7fcf=[];var _0x2d08ba,_0x191426;const _0x43da26={};_0x43da26[_0x5d75fd(0xed)]=_0x5d75fd(0xb0),0x0<Object['keys'](_0x4583ab)['length']&&(_0x2d08ba=_0x5c6f24()[_0x5d75fd(0xd2)](this[_0x5d75fd(0x137)],{'ids':_0x4583ab},_0x43da26)[_0x5d75fd(0x129)](_0x5eae35=>{const _0x19a4e5=_0x5d75fd,_0x529838={};_0x529838['durability']=_0x19a4e5(0xec);let _0x3974e=this[_0x19a4e5(0xf1)][_0x19a4e5(0xbe)](_0x19a4e5(0xfc),_0x19a4e5(0x135),_0x529838),_0x3e369a=(_0x3974e['onabort']=_0x539c08=>_0x22671b['log'](_0x19a4e5(0x11e),_0x539c08),_0x3974e[_0x19a4e5(0x13a)]=_0x1f766a=>_0x22671b['log']('数据库:写入静态贴图事务失败',_0x1f766a),_0x3974e['objectStore'](_0x19a4e5(0xfc))),_0x5bddfb=(_0x3e369a[_0x19a4e5(0x13a)]=_0x4b02ef=>_0x22671b[_0x19a4e5(0xff)](_0x19a4e5(0x122),_0x4b02ef),0x0),_0x36af8e=new DataView(_0x5eae35[_0x19a4e5(0xf7)]);for(;_0x5bddfb<_0x5eae35['data'][_0x19a4e5(0xcc)];){var _0x2b094a=_0x5c462f[_0x19a4e5(0x125)](new Uint8Array(_0x5eae35['data'],_0x5bddfb,0x20)),_0x4178e4=(_0x5bddfb+=0x20*Uint8Array['BYTES_PER_ELEMENT'],_0x36af8e[_0x19a4e5(0xd8)](_0x5bddfb,!0x0)),_0x1f8631=(_0x5bddfb+=Uint32Array[_0x19a4e5(0xee)],_0x5c462f['decode'](new Uint8Array(_0x5eae35[_0x19a4e5(0xf7)],_0x5bddfb,_0x4178e4))[_0x19a4e5(0xd4)](/\x00/g,'')),_0x4178e4=(_0x5bddfb+=_0x4178e4,_0x36af8e[_0x19a4e5(0xd8)](_0x5bddfb,!0x0)),_0x2711d7=(_0x5bddfb+=Uint32Array[_0x19a4e5(0xee)],_0x36af8e[_0x19a4e5(0xd8)](_0x5bddfb,!0x0)),_0x13b7c0=(_0x5bddfb+=Uint32Array[_0x19a4e5(0xee)],_0x36af8e['getFloat32'](_0x5bddfb,!0x0)),_0x1db213=(_0x5bddfb+=Uint32Array[_0x19a4e5(0xee)],_0x36af8e[_0x19a4e5(0xd8)](_0x5bddfb,!0x0)),_0x4a3e2d=(_0x5bddfb+=Uint32Array[_0x19a4e5(0xee)],new Uint8Array(_0x5eae35['data'],_0x5bddfb,_0x1db213)),_0x1db213=(_0x5bddfb+=Uint8Array[_0x19a4e5(0xee)]*_0x1db213,_0x36af8e[_0x19a4e5(0xd8)](_0x5bddfb,!0x0)),_0x2dd43f=(_0x5bddfb+=Uint32Array[_0x19a4e5(0xee)],new Uint8Array(_0x5eae35[_0x19a4e5(0xf7)],_0x5bddfb,_0x1db213)),_0x1db213=(_0x5bddfb+=Uint8Array[_0x19a4e5(0xee)]*_0x1db213,_0x36af8e[_0x19a4e5(0xd8)](_0x5bddfb,!0x0)),_0x503457=(_0x5bddfb+=Uint32Array[_0x19a4e5(0xee)],new Uint8Array(_0x5eae35[_0x19a4e5(0xf7)],_0x5bddfb,_0x1db213)),_0x1db213=(_0x5bddfb+=Uint8Array[_0x19a4e5(0xee)]*_0x1db213,_0x36af8e[_0x19a4e5(0xd8)](_0x5bddfb,!0x0)),_0x1f0cb3=(_0x5bddfb+=Uint32Array[_0x19a4e5(0xee)],new Uint8Array(_0x5eae35['data'],_0x5bddfb,_0x1db213)),_0x1db213=(_0x5bddfb+=Uint8Array['BYTES_PER_ELEMENT']*_0x1db213,{'id':_0x2b094a,'name':_0x1f8631,'width':_0x4178e4,'height':_0x2711d7,'realityWidth':_0x13b7c0,'preview':_0x4a3e2d,'albedo':_0x2dd43f,'orm':_0x503457,'normal':_0x1f0cb3,'isStatic':0x0,'isLoad':0x1});_0xf0b3cc['push'](_0x1db213),_0x3e369a['add'](_0x1db213);}},_0x494533),_0x1c7fcf[_0x5d75fd(0xde)](_0x2d08ba));const _0xe78bc7={};_0xe78bc7[_0x5d75fd(0xed)]=_0x5d75fd(0xb0);const _0x50e684={};_0x50e684[_0x5d75fd(0xed)]='arraybuffer';const _0x57f967={};_0x57f967[_0x5d75fd(0xed)]=_0x5d75fd(0xb0);for(let _0x11e45e of _0xf0b3cc)0x1===_0x11e45e['isStatic']&&0x0===_0x11e45e[_0x5d75fd(0xb2)]&&(_0x191426=Promise['all']([_0x5c6f24()[_0x5d75fd(0x109)](this['getStaticTextureUrl']+_0x11e45e[_0x5d75fd(0xc6)],_0xe78bc7),_0x5c6f24()[_0x5d75fd(0x109)](this[_0x5d75fd(0xe2)]+_0x11e45e['ormPath'],_0x50e684),_0x5c6f24()[_0x5d75fd(0x109)](this['getStaticTextureUrl']+_0x11e45e[_0x5d75fd(0x110)],_0x57f967)])[_0x5d75fd(0x129)](_0x1648ea=>{const _0x3c615d=_0x5d75fd;_0x11e45e[_0x3c615d(0x102)]=new Uint8Array(_0x1648ea[0x0][_0x3c615d(0xf7)]),_0x11e45e[_0x3c615d(0x138)]=new Uint8Array(_0x1648ea[0x1][_0x3c615d(0xf7)]),_0x11e45e['nd']=new Uint8Array(_0x1648ea[0x2][_0x3c615d(0xf7)]),_0x11e45e['isLoad']=0x1;const _0x18934b={};_0x18934b[_0x3c615d(0xab)]='relaxed';let _0x11cebb=this[_0x3c615d(0xf1)][_0x3c615d(0xbe)](_0x3c615d(0xfc),_0x3c615d(0x135),_0x18934b),_0x105dfc=(_0x11cebb['onabort']=_0x352eac=>_0x22671b[_0x3c615d(0xff)](_0x3c615d(0x11e),_0x352eac),_0x11cebb[_0x3c615d(0x13a)]=_0x5399a5=>_0x22671b[_0x3c615d(0xff)](_0x3c615d(0xdb),_0x5399a5),_0x11cebb['objectStore']('texture'));_0x105dfc[_0x3c615d(0x13a)]=_0x3710d2=>_0x22671b[_0x3c615d(0xff)](_0x3c615d(0x122),_0x3710d2),_0x105dfc['put'](_0x11e45e);})['catch'](_0x468926=>{const _0x5bd742=_0x5d75fd;_0x22671b['log'](_0x5bd742(0xa9),_0x468926);}),_0x1c7fcf[_0x5d75fd(0xde)](_0x191426));Promise[_0x5d75fd(0x139)](_0x1c7fcf)[_0x5d75fd(0x129)](_0x17ca80=>{_0x97c660(_0xf0b3cc);});},_0x178b5e['objectStore'](_0x876d95(0xfc))),_0x3d8ae1=new Set();for(_0x123104 in _0x4583ab)for(var _0x2d906b of _0x4583ab[_0x123104])_0x3d8ae1['add'](_0x2d906b);for(_0x22b5c3 of _0x3d8ae1)_0x314326[_0x876d95(0x109)](_0x22b5c3)[_0x876d95(0xf6)]=_0x4eac7e;});}[_0x897f68(0x12b)](){const _0x3c8c45=_0x897f68;let _0x594541=indexedDB[_0x3c8c45(0xe3)]('fineTexture');_0x594541['onerror']=_0x53ea64=>_0x22671b['log'](_0x3c8c45(0x121),_0x53ea64),_0x594541['onupgradeneeded']=_0x708e38=>{const _0x58a4d8=_0x3c8c45;this[_0x58a4d8(0xf1)]=_0x708e38[_0x58a4d8(0x117)]['result'];const _0x8c3078={};_0x8c3078[_0x58a4d8(0xd5)]=!0x1,_0x8c3078[_0x58a4d8(0xae)]='id';let _0x4907c0=_0x708e38[_0x58a4d8(0x117)][_0x58a4d8(0x128)][_0x58a4d8(0xf0)](_0x58a4d8(0xfc),_0x8c3078);const _0x4a7166={};_0x4a7166[_0x58a4d8(0x12a)]=!0x1,_0x4a7166[_0x58a4d8(0x10e)]=!0x1,(_0x4907c0['createIndex'](_0x58a4d8(0xba),_0x58a4d8(0x132),_0x4a7166),this[_0x58a4d8(0xcf)]=!0x0);},_0x594541[_0x3c8c45(0xf6)]=_0x37c4ea=>{const _0x5d941b=_0x3c8c45,_0x392068={};_0x392068[_0x5d941b(0xed)]='json',(this['fineTextureDb']=_0x37c4ea['target']['result'],this['fineTextureDbInit']&&_0x5c6f24()[_0x5d941b(0x109)](this['getStaticTextureUrl']+_0x5d941b(0x113),_0x392068)[_0x5d941b(0x129)](_0x1aef61=>{const _0x353640=_0x5d941b,_0x10ddb4={};_0x10ddb4['durability']=_0x353640(0xec);let _0x471836=this['fineTextureDb'][_0x353640(0xbe)](_0x353640(0xfc),_0x353640(0x135),_0x10ddb4),_0x515935=(_0x471836[_0x353640(0x108)]=_0xf42f4=>_0x22671b[_0x353640(0xff)](_0x353640(0x11e),_0xf42f4),_0x471836[_0x353640(0x13a)]=_0x169390=>_0x22671b[_0x353640(0xff)]('数据库:写入静态贴图事务失败',_0x169390),_0x471836[_0x353640(0xf8)]('texture'));_0x515935[_0x353640(0x13a)]=_0x2c4339=>_0x22671b[_0x353640(0xff)](_0x353640(0x122),_0x2c4339);for(var _0x5be402 of _0x1aef61[_0x353640(0xf7)])_0x5be402[_0x353640(0xb3)]=_0x5be402[_0x353640(0x123)],_0x5be402[_0x353640(0xc6)]=_0x5be402[_0x353640(0x102)]['substring'](0x0,_0x5be402[_0x353640(0x102)]['lastIndexOf']('.'))+_0x353640(0x131),_0x5be402[_0x353640(0x11a)]=_0x5be402[_0x353640(0x138)][_0x353640(0xad)](0x0,_0x5be402[_0x353640(0x138)][_0x353640(0xe6)]('.'))+_0x353640(0x131),_0x5be402[_0x353640(0x110)]=_0x5be402['nd'][_0x353640(0xad)](0x0,_0x5be402['nd'][_0x353640(0xe6)]('.'))+'.bptc',_0x5be402['isStatic']=0x1,_0x5be402[_0x353640(0xb2)]=0x0,_0x515935['add'](_0x5be402);},_0x5aa979=>{const _0x3c3f03=_0x5d941b;_0x22671b[_0x3c3f03(0x10c)](_0x3c3f03(0xf3),_0x5aa979);}));};}}}}]);function a4_0x178a(){const _0x3f6235=['getUint8','density','getUint32','InitIndexedDb','index','数据库:写入静态贴图事务失败','readonly','onupgradeneeded','push','tangent','GetComponentExpandProperty','6uVwVhF','getStaticTextureUrl','open','1tzGEse','by_expressType','lastIndexOf','getMeshUrl','mesh','hasOwnProperty','RequestInstance','splice','relaxed','responseType','BYTES_PER_ELEMENT','getMesh','createObjectStore','fineTextureDb','数据库:读取mesh事务终止','公共贴图获取失败','数据库:写入material事务失败','getFloat32','onsuccess','data','objectStore','modelId','数据库:读取instances事务终止','数据库:写入构件业务属性失败','texture','isShell','expressType','log','concat','getAll','albedo','getMaterialUrl','6387030cXsDxV','数据库:读取texture事务终止','77850ygrUPq','uniqueIdToModelId','onabort','get','length','3696qccnFC','error','currentTarget','multiEntry','getTexture','ndPath','数据库:读取业务属性事务失败','indexOf','texture.json','数据库:写入mesh事务失败','apply','数据库:读取material事务失败','target','isTransparent','GetTexture','ormPath','toString','getComponentExpandPropertyUrl','by_storey','数据库:写入静态贴图事务终止','GetInstance','objectStoreNames','数据库:打开失败','数据库:写入静态贴图失败','preview','GetShellInstance','decode','modelId_indexDb','getModelListUrl','result','then','unique','InitStaticTexture','by_treeId','./Assets/Textures/PBRRepo/','keys','material','modelIdToUniqueId','.bptc','isStatic','tangentIndices','contains','readwrite','请求参数是','getTextureUrl','orm','all','onerror','GetMesh','normalIndices','materialId','2433HOoZoB','vertices','verticesIndices','1448174pZCDpo','component','getMeshInstance','abs','4201408ePFdxm','静态贴图获取失败','getMeshInstanceUrl','durability','4596kaJSXd','substring','keyPath','数据库:mesh写入失败','arraybuffer','2642182cIFMug','isLoad','previewPath','数据库:读取texture事务失败','treeId','search','数据库:material写入失败','instances','getUint16','by_isStatic','数据库:读取instances事务失败','getInt32','add','transaction','GetModelList','storey','by_isShell','getModelList','数据库:读取业务属性事务终止','服务接口返回错误内容','oncomplete','albedoPath','uniqueId','assign','数据库:写入instances事务失败','name','服务返回了错误的ModelId','byteLength','createIndex','数据库:写入构件业务属性事务终止','fineTextureDbInit','数据库:写入构件业务属性事务失败','webpackChunkBim','post','467225clehLt','replace','autoIncrement'];a4_0x178a=function(){return _0x3f6235;};return a4_0x178a();}