@webspatial/builder 0.1.7 → 0.1.9

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.
Binary file
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x103e78=_0x1ba9;function _0x1ba9(_0x426ba0,_0x1cf866){const _0x19b18f=_0x19b1();return _0x1ba9=function(_0x1ba960,_0x74e674){_0x1ba960=_0x1ba960-0x12d;let _0x432e48=_0x19b18f[_0x1ba960];return _0x432e48;},_0x1ba9(_0x426ba0,_0x1cf866);}(function(_0x5b9d1e,_0x2fe280){const _0x352c82=_0x1ba9,_0x19b057=_0x5b9d1e();while(!![]){try{const _0x47fd58=parseInt(_0x352c82(0x131))/0x1*(parseInt(_0x352c82(0x133))/0x2)+parseInt(_0x352c82(0x13b))/0x3+-parseInt(_0x352c82(0x12d))/0x4*(-parseInt(_0x352c82(0x136))/0x5)+-parseInt(_0x352c82(0x12f))/0x6+-parseInt(_0x352c82(0x142))/0x7+-parseInt(_0x352c82(0x137))/0x8+-parseInt(_0x352c82(0x13c))/0x9*(parseInt(_0x352c82(0x13f))/0xa);if(_0x47fd58===_0x2fe280)break;else _0x19b057['push'](_0x19b057['shift']());}catch(_0x252765){_0x19b057['push'](_0x19b057['shift']());}}}(_0x19b1,0xe6e3e));Object[_0x103e78(0x134)](exports,_0x103e78(0x130),{'value':!![]});const Cli_1=require('./lib/Cli'),CustomError_1=require(_0x103e78(0x13d));function _0x19b1(){const _0x2006bf=['./lib/utils/CustomError','argv','30050tYoZEy','Cli','run','674513dxxlNH','message','6245356qMwmZL','error','5835882bJSlqI','__esModule','1437ykZWzf','log','520PTttTI','defineProperty','customMessage','5wfejIl','726888UqDCpn','exports','code','forEach','5253792eoaLVx','4734ptRCVj'];_0x19b1=function(){return _0x2006bf;};return _0x19b1();}module[_0x103e78(0x138)]=async()=>{const _0x4c52bb=_0x103e78,_0x36d408=new Cli_1['Cli'](),_0x4c7543=Cli_1[_0x4c52bb(0x140)][_0x4c52bb(0x132)],_0x134b38=process[_0x4c52bb(0x13e)]['slice'](0x2);let _0x53aaec;try{_0x53aaec=await _0x36d408[_0x4c52bb(0x141)](_0x134b38);}catch(_0x2f2bae){if(_0x2f2bae instanceof CustomError_1['CustomError']){const _0x1d52a4=_0x2f2bae[_0x4c52bb(0x135)];Array['isArray'](_0x1d52a4)?_0x1d52a4[_0x4c52bb(0x13a)](_0x153c4b=>{const _0x5e4a0f=_0x4c52bb;_0x4c7543[_0x5e4a0f(0x12e)](_0x153c4b[_0x5e4a0f(0x139)]+':\x20'+_0x153c4b[_0x5e4a0f(0x143)]);}):_0x4c7543['error'](_0x1d52a4[_0x4c52bb(0x139)]+':\x20'+_0x1d52a4[_0x4c52bb(0x143)]);}else _0x4c7543['error'](_0x2f2bae[_0x4c52bb(0x143)]);_0x53aaec=![];}!_0x53aaec?process['exit'](0x1):process['exit'](0x0);};
1
+ 'use strict';const _0x40208a=_0x1015;(function(_0x31d1b0,_0xe45170){const _0x29b9f2=_0x1015,_0x561214=_0x31d1b0();while(!![]){try{const _0x1a9ec6=parseInt(_0x29b9f2(0x1b0))/0x1+-parseInt(_0x29b9f2(0x1b7))/0x2*(-parseInt(_0x29b9f2(0x1b5))/0x3)+-parseInt(_0x29b9f2(0x1af))/0x4+parseInt(_0x29b9f2(0x19f))/0x5*(parseInt(_0x29b9f2(0x1ac))/0x6)+parseInt(_0x29b9f2(0x1a0))/0x7*(-parseInt(_0x29b9f2(0x1ad))/0x8)+parseInt(_0x29b9f2(0x1ab))/0x9*(-parseInt(_0x29b9f2(0x1a6))/0xa)+parseInt(_0x29b9f2(0x1a4))/0xb;if(_0x1a9ec6===_0xe45170)break;else _0x561214['push'](_0x561214['shift']());}catch(_0x9fce90){_0x561214['push'](_0x561214['shift']());}}}(_0xa7d1,0x3ae42));function _0x1015(_0x7bb3ae,_0x5b4c95){const _0xa7d1ec=_0xa7d1();return _0x1015=function(_0x10158c,_0xf7021b){_0x10158c=_0x10158c-0x19e;let _0xdefdee=_0xa7d1ec[_0x10158c];return _0xdefdee;},_0x1015(_0x7bb3ae,_0x5b4c95);}Object['defineProperty'](exports,_0x40208a(0x1a2),{'value':!![]});function _0xa7d1(){const _0x200735=['21WylZWP','./lib/utils/CustomError','__esModule','argv','6666671tsKyOC','./lib/Cli','237350wPpizV','exit','error','run','exports','153tsrLUk','961794UOSqGm','864040rCxDqP','isArray','1547360pYUGst','156565RyMXvP','code','message','forEach','log','3zVFCRW','slice','224090sQmttF','Cli','15ubGrHV'];_0xa7d1=function(){return _0x200735;};return _0xa7d1();}const Cli_1=require(_0x40208a(0x1a5)),CustomError_1=require(_0x40208a(0x1a1));module[_0x40208a(0x1aa)]=async()=>{const _0x5dc2fa=_0x40208a,_0x41553f=new Cli_1['Cli'](),_0x57b814=Cli_1[_0x5dc2fa(0x19e)][_0x5dc2fa(0x1b4)],_0x214037=process[_0x5dc2fa(0x1a3)][_0x5dc2fa(0x1b6)](0x2);let _0xd13215;try{_0xd13215=await _0x41553f[_0x5dc2fa(0x1a9)](_0x214037);}catch(_0x22d01a){if(_0x22d01a instanceof CustomError_1['CustomError']){const _0xfe731c=_0x22d01a['customMessage'];Array[_0x5dc2fa(0x1ae)](_0xfe731c)?_0xfe731c[_0x5dc2fa(0x1b3)](_0x12ae7d=>{const _0x553859=_0x5dc2fa;_0x57b814[_0x553859(0x1a8)](_0x12ae7d[_0x553859(0x1b1)]+':\x20'+_0x12ae7d[_0x553859(0x1b2)]);}):_0x57b814[_0x5dc2fa(0x1a8)](_0xfe731c[_0x5dc2fa(0x1b1)]+':\x20'+_0xfe731c[_0x5dc2fa(0x1b2)]);}else _0x57b814['error'](_0x22d01a[_0x5dc2fa(0x1b2)]);_0xd13215=![];}!_0xd13215?process[_0x5dc2fa(0x1a7)](0x1):process[_0x5dc2fa(0x1a7)](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x2571(_0x1a839f,_0x58f563){const _0x2c2782=_0x2c27();return _0x2571=function(_0x2571e8,_0x3a4e3e){_0x2571e8=_0x2571e8-0x164;let _0x287911=_0x2c2782[_0x2571e8];return _0x287911;},_0x2571(_0x1a839f,_0x58f563);}const _0x41dab2=_0x2571;(function(_0x180ddb,_0x432aab){const _0x158fd2=_0x2571,_0xd3bab5=_0x180ddb();while(!![]){try{const _0x2f00b3=parseInt(_0x158fd2(0x17a))/0x1*(-parseInt(_0x158fd2(0x180))/0x2)+parseInt(_0x158fd2(0x187))/0x3+parseInt(_0x158fd2(0x171))/0x4*(-parseInt(_0x158fd2(0x17c))/0x5)+-parseInt(_0x158fd2(0x168))/0x6+-parseInt(_0x158fd2(0x164))/0x7+parseInt(_0x158fd2(0x175))/0x8*(-parseInt(_0x158fd2(0x16b))/0x9)+parseInt(_0x158fd2(0x172))/0xa;if(_0x2f00b3===_0x432aab)break;else _0xd3bab5['push'](_0xd3bab5['shift']());}catch(_0x507a54){_0xd3bab5['push'](_0xd3bab5['shift']());}}}(_0x2c27,0x996bd));Object[_0x41dab2(0x17e)](exports,_0x41dab2(0x16a),{'value':!![]}),exports[_0x41dab2(0x177)]=void 0x0;const minimist=require(_0x41dab2(0x170)),semver_1=require(_0x41dab2(0x16c)),Log_1=require(_0x41dab2(0x167)),FetchUtils_1_1=require(_0x41dab2(0x17f)),help_1=require('./cmds/help'),build_1=require(_0x41dab2(0x16e)),version_1=require('./cmds/version'),fetch_1=require(_0x41dab2(0x173));function _0x2c27(){const _0x2301cf=['version','fetchUtils','../lib/utils/Log','639282gusqgP','major','__esModule','495eupLEC','semver','help','./cmds/build','log','minimist','2956JcfXlG','19775760LHydtc','./utils/fetch','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','42920fuopRw','node','Cli','Current\x20Node.js\x20version\x20is\x20','webspatial-builder','94qgkuNK','run','2390WCuLBu','setDownloadFile','defineProperty','./utils/FetchUtils-1','25778qFzIBC','decompressResponseBuffer','publish','store','versions','setFetch','ConsoleLog','3037665TfgGcx','2767016QqNoGU'];_0x2c27=function(){return _0x2301cf;};return _0x2c27();}class Cli{async[_0x41dab2(0x17b)](_0x2be32a){const _0x2562ac=_0x41dab2;if((0x0,semver_1[_0x2562ac(0x169)])(process[_0x2562ac(0x184)][_0x2562ac(0x176)])<0xe)throw new Error(_0x2562ac(0x178)+process['versions']['node']+'.'+_0x2562ac(0x174));FetchUtils_1_1[_0x2562ac(0x166)][_0x2562ac(0x185)](fetch_1['fetch']),FetchUtils_1_1[_0x2562ac(0x166)][_0x2562ac(0x17d)](fetch_1['downloadFile']),FetchUtils_1_1[_0x2562ac(0x166)]['setDecompressResponseBuffer'](fetch_1[_0x2562ac(0x181)]);const _0x134bf3=minimist(_0x2be32a);let _0x512e21=undefined;if(_0x134bf3['_']['length']===0x0){if(_0x134bf3[_0x2562ac(0x165)])_0x512e21=_0x2562ac(0x165);else _0x134bf3[_0x2562ac(0x16d)]&&(_0x512e21=_0x2562ac(0x16d));}else _0x512e21=_0x134bf3['_'][0x0];!_0x512e21&&(_0x512e21='help');switch(_0x512e21){case'help':case'h':return await(0x0,help_1['help'])(_0x134bf3);case'build':return await(0x0,build_1['start'])(_0x134bf3);case _0x2562ac(0x182):return await(0x0,build_1[_0x2562ac(0x183)])(_0x134bf3);case _0x2562ac(0x17b):return await(0x0,build_1['run'])(_0x134bf3);case _0x2562ac(0x165):{return await(0x0,version_1['version'])();}default:throw new Error('\x22'+_0x512e21+'\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands');}}}exports[_0x41dab2(0x177)]=Cli,Cli[_0x41dab2(0x16f)]=new Log_1[(_0x41dab2(0x186))](_0x41dab2(0x179));
1
+ 'use strict';const _0x152a7a=_0xf474;(function(_0xb93288,_0x1d811d){const _0x5655a0=_0xf474,_0x4d8efe=_0xb93288();while(!![]){try{const _0x1040fa=parseInt(_0x5655a0(0x79))/0x1+-parseInt(_0x5655a0(0x86))/0x2+parseInt(_0x5655a0(0x87))/0x3*(-parseInt(_0x5655a0(0x80))/0x4)+parseInt(_0x5655a0(0x8f))/0x5*(-parseInt(_0x5655a0(0x9d))/0x6)+parseInt(_0x5655a0(0x83))/0x7+-parseInt(_0x5655a0(0x92))/0x8+parseInt(_0x5655a0(0x95))/0x9;if(_0x1040fa===_0x1d811d)break;else _0x4d8efe['push'](_0x4d8efe['shift']());}catch(_0x40c79b){_0x4d8efe['push'](_0x4d8efe['shift']());}}}(_0x88f4,0xdbc30));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x152a7a(0x8d)]=void 0x0;function _0xf474(_0x2cb79e,_0x1676b3){const _0x88f43e=_0x88f4();return _0xf474=function(_0xf47417,_0x22ebdd){_0xf47417=_0xf47417-0x79;let _0x69a6ab=_0x88f43e[_0xf47417];return _0x69a6ab;},_0xf474(_0x2cb79e,_0x1676b3);}const minimist=require('minimist'),semver_1=require(_0x152a7a(0x93)),Log_1=require(_0x152a7a(0x99)),FetchUtils_1_1=require(_0x152a7a(0x96)),help_1=require(_0x152a7a(0x85)),build_1=require('./cmds/build'),version_1=require(_0x152a7a(0x8c)),fetch_1=require('./utils/fetch');class Cli{async[_0x152a7a(0x7e)](_0x3b70df){const _0x353933=_0x152a7a;if((0x0,semver_1[_0x353933(0x84)])(process[_0x353933(0x90)][_0x353933(0x9a)])<0xe)throw new Error(_0x353933(0x91)+process[_0x353933(0x90)][_0x353933(0x9a)]+'.'+_0x353933(0x8a));FetchUtils_1_1['fetchUtils'][_0x353933(0x89)](fetch_1[_0x353933(0x9c)]),FetchUtils_1_1[_0x353933(0x7a)]['setDownloadFile'](fetch_1[_0x353933(0x7c)]),FetchUtils_1_1[_0x353933(0x7a)][_0x353933(0x8b)](fetch_1['decompressResponseBuffer']);const _0x5c4d19=minimist(_0x3b70df);let _0xcbb29d=undefined;if(_0x5c4d19['_'][_0x353933(0x81)]===0x0){if(_0x5c4d19['version'])_0xcbb29d='version';else _0x5c4d19[_0x353933(0x9b)]&&(_0xcbb29d=_0x353933(0x9b));}else _0xcbb29d=_0x5c4d19['_'][0x0];!_0xcbb29d&&(_0xcbb29d='help');switch(_0xcbb29d){case'help':case'h':return await(0x0,help_1['help'])(_0x5c4d19);case _0x353933(0x97):return await(0x0,build_1[_0x353933(0x7f)])(_0x5c4d19);case _0x353933(0x94):return await(0x0,build_1[_0x353933(0x7d)])(_0x5c4d19);case _0x353933(0x7e):return await(0x0,build_1['run'])(_0x5c4d19);case _0x353933(0x8e):{return await(0x0,version_1[_0x353933(0x8e)])();}default:throw new Error('\x22'+_0xcbb29d+_0x353933(0x88));}}}function _0x88f4(){const _0x428953=['help','fetch','8033892cOomsM','1129086KXhoew','fetchUtils','log','downloadFile','store','run','start','8EXZNWV','length','ConsoleLog','2795625RluHvX','major','./cmds/help','409116sRlSLf','1584045kHYKjb','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','setFetch','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','setDecompressResponseBuffer','./cmds/version','Cli','version','5AndEsU','versions','Current\x20Node.js\x20version\x20is\x20','1366288cZEoXD','semver','publish','19278351gcHtKu','./utils/FetchUtils-1','build','webspatial-builder','../lib/utils/Log','node'];_0x88f4=function(){return _0x428953;};return _0x88f4();}exports[_0x152a7a(0x8d)]=Cli,Cli[_0x152a7a(0x7b)]=new Log_1[(_0x152a7a(0x82))](_0x152a7a(0x98));
@@ -1 +1 @@
1
- 'use strict';const _0x43347a=_0x42aa;(function(_0x466a8e,_0x7fdae6){const _0x120102=_0x42aa,_0x57f903=_0x466a8e();while(!![]){try{const _0x5713aa=parseInt(_0x120102(0x1c3))/0x1+parseInt(_0x120102(0x1cc))/0x2+-parseInt(_0x120102(0x1ed))/0x3+-parseInt(_0x120102(0x1e5))/0x4*(-parseInt(_0x120102(0x1cf))/0x5)+parseInt(_0x120102(0x1e6))/0x6+parseInt(_0x120102(0x1cb))/0x7+parseInt(_0x120102(0x1e9))/0x8*(-parseInt(_0x120102(0x1cd))/0x9);if(_0x5713aa===_0x7fdae6)break;else _0x57f903['push'](_0x57f903['shift']());}catch(_0x5031d9){_0x57f903['push'](_0x57f903['shift']());}}}(_0x25fc,0x762ac));Object[_0x43347a(0x1c7)](exports,_0x43347a(0x1d3),{'value':!![]}),exports[_0x43347a(0x1e1)]=start,exports[_0x43347a(0x1de)]=store,exports[_0x43347a(0x1d2)]=run;const pwa_1=require('../pwa'),resource_1=require(_0x43347a(0x1ca)),xcode_1=require('../xcode'),check_1=require(_0x43347a(0x1d7));async function start(_0x6c3358,_0x14648a=![]){const _0x2486df=_0x43347a;var _0x25d040,_0x42c464;(0x0,check_1[_0x2486df(0x1ce)])(_0x6c3358,_0x14648a),resource_1[_0x2486df(0x1df)]['checkPlatformPath'](_0x6c3358['platform']),console[_0x2486df(0x1db)](_0x2486df(0x1e7));let _0x44808f=await pwa_1[_0x2486df(0x1c9)]['generator'](_0x6c3358,_0x14648a);!_0x44808f[_0x2486df(0x1ec)]&&(await resource_1[_0x2486df(0x1df)][_0x2486df(0x1eb)]((_0x25d040=_0x6c3358[_0x2486df(0x1c4)])!==null&&_0x25d040!==void 0x0?_0x25d040:_0x2486df(0x1c5)),console[_0x2486df(0x1db)](_0x2486df(0x1e0)));let _0x54e34a;return((_0x42c464=_0x44808f[_0x2486df(0x1e8)][_0x2486df(0x1e2)])===null||_0x42c464===void 0x0?void 0x0:_0x42c464[_0x2486df(0x1da)])&&_0x14648a&&(_0x54e34a=await resource_1[_0x2486df(0x1df)][_0x2486df(0x1ea)](_0x44808f)),console['log'](_0x2486df(0x1c8)),await xcode_1[_0x2486df(0x1d4)][_0x2486df(0x1e3)]({'icon':_0x54e34a,'manifestInfo':_0x44808f,'teamId':_0x6c3358['teamId'],'version':_0x6c3358[_0x2486df(0x1d6)],'buildType':_0x6c3358['buildType'],'export':_0x6c3358[_0x2486df(0x1dc)]},_0x14648a),console[_0x2486df(0x1db)](_0x2486df(0x1dd)),_0x44808f;}async function store(_0x5e2003){const _0x35ee70=_0x43347a;resource_1[_0x35ee70(0x1df)][_0x35ee70(0x1d0)](_0x5e2003[_0x35ee70(0x1d1)]),(0x0,check_1['checkStoreParams'])(_0x5e2003);let _0x28c242={'name':_0x35ee70(0x1c6)};_0x5e2003[_0x35ee70(0x1d5)]='app-store-connect';if(_0x5e2003[_0x35ee70(0x1e4)])_0x28c242['name']=_0x5e2003[_0x35ee70(0x1e4)];else{const _0x570e88=await start(_0x5e2003);if(!_0x570e88)return![];_0x28c242[_0x35ee70(0x1e4)]=_0x570e88[_0x35ee70(0x1e8)][_0x35ee70(0x1e4)];}return await xcode_1[_0x35ee70(0x1d4)][_0x35ee70(0x1d9)](_0x5e2003,_0x28c242),!![];}function _0x42aa(_0x569736,_0x33059f){const _0x25fc02=_0x25fc();return _0x42aa=function(_0x42aa96,_0x33cc0c){_0x42aa96=_0x42aa96-0x1c3;let _0x420491=_0x25fc02[_0x42aa96];return _0x420491;},_0x42aa(_0x569736,_0x33059f);}function _0x25fc(){const _0x399107=['5563428pcNINs','-------------------\x20build\x20start\x20-------------------','json','6512gmXxRE','generateIcon','moveProjectFrom','fromNet','348765CsaULD','121391aqqxxJ','project','dist','WebSpatialTest','defineProperty','generate\x20icon:\x20ok','PWAGenerator','../resource','5362525LJBEgx','1251322yXNuKu','24597yKXNOf','checkBuildParams','365qZFRwq','checkPlatformPath','platform','run','__esModule','XcodeManager','buildType','version','./check','runWithSimulator','upload','length','log','export','-------------------\x20build\x20end\x20-------------------','store','ResourceManager','move\x20web\x20project:\x20ok','start','icons','parseProject','name','21072KBatMt'];_0x25fc=function(){return _0x399107;};return _0x25fc();}async function run(_0x4206aa){const _0x2ba806=_0x43347a;let _0x47c813={'name':_0x2ba806(0x1c6),'id':''};const _0x580faf=await start(_0x4206aa,!![]);if(!_0x580faf)return![];return _0x47c813[_0x2ba806(0x1e4)]=_0x580faf['json'][_0x2ba806(0x1e4)],_0x47c813['id']=_0x580faf[_0x2ba806(0x1e8)]['id'],await xcode_1['XcodeManager'][_0x2ba806(0x1d8)](_0x47c813),!![];}
1
+ 'use strict';const _0x21663a=_0x453e;(function(_0x1c5df5,_0xdb0fdd){const _0x482bde=_0x453e,_0x5985bd=_0x1c5df5();while(!![]){try{const _0x2e9282=parseInt(_0x482bde(0x15b))/0x1*(-parseInt(_0x482bde(0x168))/0x2)+-parseInt(_0x482bde(0x178))/0x3+parseInt(_0x482bde(0x151))/0x4*(parseInt(_0x482bde(0x15e))/0x5)+-parseInt(_0x482bde(0x157))/0x6+-parseInt(_0x482bde(0x162))/0x7*(parseInt(_0x482bde(0x16b))/0x8)+parseInt(_0x482bde(0x16a))/0x9+parseInt(_0x482bde(0x158))/0xa;if(_0x2e9282===_0xdb0fdd)break;else _0x5985bd['push'](_0x5985bd['shift']());}catch(_0x56da99){_0x5985bd['push'](_0x5985bd['shift']());}}}(_0x4f68,0x1e32c));function _0x453e(_0x3ebf34,_0x4c0ec4){const _0x4f68b4=_0x4f68();return _0x453e=function(_0x453e9a,_0x3ab4df){_0x453e9a=_0x453e9a-0x151;let _0x5db4c5=_0x4f68b4[_0x453e9a];return _0x5db4c5;},_0x453e(_0x3ebf34,_0x4c0ec4);}function _0x4f68(){const _0x5ca024=['PWAGenerator','generator','export','moveProjectFrom','runWithSimulator','WebSpatialTest','version','-------------------\x20build\x20end\x20-------------------','302820CMiEUc','upload','547864TBCPPh','app-store-connect','store','../resource','buildType','move\x20web\x20project:\x20ok','694014cMydjp','3907710qfxNHP','generateIcon','XcodeManager','41mivqet','log','run','5RfzjRT','checkPlatformPath','dist','generate\x20icon:\x20ok','1390403kMmrio','parseProject','__esModule','teamId','name','fromNet','36fsCpNu','json','107379hnAOZl','8gchWFE','checkBuildParams','../pwa','ResourceManager','platform'];_0x4f68=function(){return _0x5ca024;};return _0x4f68();}Object['defineProperty'](exports,_0x21663a(0x164),{'value':!![]}),exports['start']=start,exports[_0x21663a(0x153)]=store,exports[_0x21663a(0x15d)]=run;const pwa_1=require(_0x21663a(0x16d)),resource_1=require(_0x21663a(0x154)),xcode_1=require('../xcode'),check_1=require('./check');async function start(_0x219bac,_0x307e40=![]){const _0x177bd8=_0x21663a;var _0x380681;(0x0,check_1[_0x177bd8(0x16c)])(_0x219bac,_0x307e40),resource_1[_0x177bd8(0x16e)][_0x177bd8(0x15f)](_0x219bac[_0x177bd8(0x16f)]),console[_0x177bd8(0x15c)]('-------------------\x20build\x20start\x20-------------------');let _0x40221a=await pwa_1[_0x177bd8(0x170)][_0x177bd8(0x171)](_0x219bac,_0x307e40);!_0x40221a[_0x177bd8(0x167)]&&(await resource_1['ResourceManager'][_0x177bd8(0x173)]((_0x380681=_0x219bac['project'])!==null&&_0x380681!==void 0x0?_0x380681:_0x177bd8(0x160)),console[_0x177bd8(0x15c)](_0x177bd8(0x156)));let _0x1d00ec=await resource_1['ResourceManager'][_0x177bd8(0x159)](_0x40221a);return console['log'](_0x177bd8(0x161)),await xcode_1['XcodeManager'][_0x177bd8(0x163)]({'icon':_0x1d00ec,'manifestInfo':_0x40221a,'teamId':_0x219bac[_0x177bd8(0x165)],'version':_0x219bac[_0x177bd8(0x176)],'buildType':_0x219bac[_0x177bd8(0x155)],'export':_0x219bac[_0x177bd8(0x172)]},_0x307e40),console[_0x177bd8(0x15c)](_0x177bd8(0x177)),_0x40221a;}async function store(_0x549a43){const _0x2046a4=_0x21663a;resource_1['ResourceManager']['checkPlatformPath'](_0x549a43[_0x2046a4(0x16f)]),(0x0,check_1['checkStoreParams'])(_0x549a43);let _0x2498e7={'name':_0x2046a4(0x175)};_0x549a43[_0x2046a4(0x155)]=_0x2046a4(0x152);if(_0x549a43[_0x2046a4(0x166)])_0x2498e7[_0x2046a4(0x166)]=_0x549a43[_0x2046a4(0x166)];else{const _0xf2d980=await start(_0x549a43);if(!_0xf2d980)return![];_0x2498e7['name']=_0xf2d980['json'][_0x2046a4(0x166)];}return await xcode_1[_0x2046a4(0x15a)][_0x2046a4(0x179)](_0x549a43,_0x2498e7),!![];}async function run(_0x31eacb){const _0x494a7a=_0x21663a;let _0x59cf34={'name':'WebSpatialTest','id':''};const _0x59235e=await start(_0x31eacb,!![]);if(!_0x59235e)return![];return _0x59cf34[_0x494a7a(0x166)]=_0x59235e[_0x494a7a(0x169)]['name'],_0x59cf34['id']=_0x59235e[_0x494a7a(0x169)]['id'],await xcode_1[_0x494a7a(0x15a)][_0x494a7a(0x174)](_0x59cf34),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x249705=_0x2c43;(function(_0xe78795,_0x86d534){const _0x5f324b=_0x2c43,_0x31a7ba=_0xe78795();while(!![]){try{const _0x2b07a0=-parseInt(_0x5f324b(0xbd))/0x1+-parseInt(_0x5f324b(0xb6))/0x2*(parseInt(_0x5f324b(0xbb))/0x3)+parseInt(_0x5f324b(0xc3))/0x4*(-parseInt(_0x5f324b(0xc8))/0x5)+-parseInt(_0x5f324b(0xc5))/0x6+parseInt(_0x5f324b(0xb2))/0x7+-parseInt(_0x5f324b(0xb4))/0x8*(parseInt(_0x5f324b(0xc1))/0x9)+parseInt(_0x5f324b(0xc6))/0xa*(parseInt(_0x5f324b(0xb3))/0xb);if(_0x2b07a0===_0x86d534)break;else _0x31a7ba['push'](_0x31a7ba['shift']());}catch(_0x40a533){_0x31a7ba['push'](_0x31a7ba['shift']());}}}(_0x2692,0x5540e));Object[_0x249705(0xb1)](exports,_0x249705(0xb8),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports[_0x249705(0xb5)]=checkStoreParams;function _0x2c43(_0x3fbd3d,_0x53aa20){const _0x2692c9=_0x2692();return _0x2c43=function(_0x2c4399,_0xf2317a){_0x2c4399=_0x2c4399-0xb1;let _0x9edc83=_0x2692c9[_0x2c4399];return _0x9edc83;},_0x2c43(_0x3fbd3d,_0x53aa20);}const validate_1=require('../pwa/validate');function _0x2692(){const _0x10d36b=['3569910TnvitQ','2900lHCnBg','--u\x20and\x20--p\x20is\x20required','5NeiLkp','defineProperty','1055439aYgwZL','55429AfAZdx','75344jvsKUD','checkStoreParams','202nOHCTe','validateURL','__esModule','manifest-url','split','4587BjhxPd','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','13086knAMOn','teamId','pop','base','450XilmYE','hash','117956nvcNwP','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time'];_0x2692=function(){return _0x10d36b;};return _0x2692();}function checkBuildParams(_0x2797c0,_0x4d63c9=![]){const _0x119aa0=_0x249705;if(_0x2797c0['manifest']&&_0x2797c0[_0x119aa0(0xb9)])throw new Error(_0x119aa0(0xc4));if(!_0x2797c0[_0x119aa0(0xbe)]&&!_0x4d63c9)throw new Error('--teamId\x20is\x20required');if(_0x2797c0['base']){if((0x0,validate_1[_0x119aa0(0xb7)])(_0x2797c0['base']))try{const _0x15a508=new URL(_0x2797c0[_0x119aa0(0xc0)]);if(_0x15a508['search']||_0x15a508[_0x119aa0(0xc2)])throw new Error(_0x119aa0(0xbc));}catch(_0x31eae4){throw new Error(_0x119aa0(0xbc));}else{const _0x5dc12c=/(\?.*|\.\w+|#.*)$/,_0x581565=_0x2797c0['base'][_0x119aa0(0xba)]('/')[_0x119aa0(0xbf)]()||'';if(_0x5dc12c['test'](_0x581565))throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}}}function checkStoreParams(_0x527af4){const _0x35271e=_0x249705;if(!(_0x527af4['u']&&_0x527af4['p']))throw new Error(_0x35271e(0xc7));if(!_0x527af4['version'])throw new Error('version\x20is\x20required');}
1
+ 'use strict';const _0x32a7be=_0x7a13;function _0x5f23(){const _0x1b666e=['3523475sFGuHA','version','6436992MjzxrG','../pwa/validate','manifest','__esModule','1362699auwSSZ','109612syZLrb','1798992rTjkyk','test','base','teamId','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','pop','validateURL','--teamId\x20is\x20required','search','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','35AqMBgW','hash','10111050xyTQbl','2CNwCGD','split','1799576RNOmAy','defineProperty'];_0x5f23=function(){return _0x1b666e;};return _0x5f23();}(function(_0x5aee7a,_0x1bea2b){const _0x1d14a0=_0x7a13,_0x4cd319=_0x5aee7a();while(!![]){try{const _0x1ff8e8=parseInt(_0x1d14a0(0xc0))/0x1*(parseInt(_0x1d14a0(0xb5))/0x2)+parseInt(_0x1d14a0(0xbf))/0x3+-parseInt(_0x1d14a0(0xc1))/0x4+-parseInt(_0x1d14a0(0xb9))/0x5+-parseInt(_0x1d14a0(0xbb))/0x6+-parseInt(_0x1d14a0(0xb2))/0x7*(-parseInt(_0x1d14a0(0xb7))/0x8)+parseInt(_0x1d14a0(0xb4))/0x9;if(_0x1ff8e8===_0x1bea2b)break;else _0x4cd319['push'](_0x4cd319['shift']());}catch(_0x504a62){_0x4cd319['push'](_0x4cd319['shift']());}}}(_0x5f23,0x8ec33));function _0x7a13(_0x5eb83f,_0x549e6c){const _0x5f23a2=_0x5f23();return _0x7a13=function(_0x7a13aa,_0xe3f9e0){_0x7a13aa=_0x7a13aa-0xa9;let _0x79ef01=_0x5f23a2[_0x7a13aa];return _0x79ef01;},_0x7a13(_0x5eb83f,_0x549e6c);}Object[_0x32a7be(0xb8)](exports,_0x32a7be(0xbe),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports['checkStoreParams']=checkStoreParams;const validate_1=require(_0x32a7be(0xbc));function checkBuildParams(_0x33b179,_0x3daeff=![]){const _0xc00cfb=_0x32a7be;if(_0x33b179[_0xc00cfb(0xbd)]&&_0x33b179['manifest-url'])throw new Error(_0xc00cfb(0xac));if(!_0x33b179[_0xc00cfb(0xab)]&&!_0x3daeff)throw new Error(_0xc00cfb(0xaf));if(_0x33b179['base']){if((0x0,validate_1[_0xc00cfb(0xae)])(_0x33b179['base']))try{const _0x2309f4=new URL(_0x33b179[_0xc00cfb(0xaa)]);if(_0x2309f4[_0xc00cfb(0xb0)]||_0x2309f4[_0xc00cfb(0xb3)])throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}catch(_0x2e5095){throw new Error(_0xc00cfb(0xb1));}else{const _0x4ad5b9=/(\?.*|\.\w+|#.*)$/,_0x5e6d2e=_0x33b179[_0xc00cfb(0xaa)][_0xc00cfb(0xb6)]('/')[_0xc00cfb(0xad)]()||'';if(_0x4ad5b9[_0xc00cfb(0xa9)](_0x5e6d2e))throw new Error(_0xc00cfb(0xb1));}}}function checkStoreParams(_0x2d68cc){const _0x1a385d=_0x32a7be;if(!(_0x2d68cc['u']&&_0x2d68cc['p']))throw new Error('--u\x20and\x20--p\x20is\x20required');if(!_0x2d68cc[_0x1a385d(0xba)])throw new Error('version\x20is\x20required');}
@@ -1 +1 @@
1
- 'use strict';function _0x1ec9(){const _0x27b2ce=['28sWnNoe','info','dev','join','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','get','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','4kVgLUB','main','7948885ufmfQv','517CKDqlg','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','help','ConsoleLog','../utils/Log','9291870wtaOfT','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','101203FhrwEy','publish','2035912WqmGsK','27QnnOPV','4004556qnLPqd','5245956hbpeni','42610RTZvul'];_0x1ec9=function(){return _0x27b2ce;};return _0x1ec9();}function _0x37e9(_0x54d470,_0x450ab1){const _0x1ec986=_0x1ec9();return _0x37e9=function(_0x37e950,_0x5699be){_0x37e950=_0x37e950-0xf1;let _0x6bdd7=_0x1ec986[_0x37e950];return _0x6bdd7;},_0x37e9(_0x54d470,_0x450ab1);}const _0x282b6b=_0x37e9;(function(_0x3e68f2,_0x595fca){const _0x538305=_0x37e9,_0x32da45=_0x3e68f2();while(!![]){try{const _0x1c5016=parseInt(_0x538305(0xfe))/0x1*(-parseInt(_0x538305(0x105))/0x2)+parseInt(_0x538305(0x103))/0x3+-parseInt(_0x538305(0xf3))/0x4*(-parseInt(_0x538305(0xf5))/0x5)+-parseInt(_0x538305(0x102))/0x6+-parseInt(_0x538305(0xfb))/0x7+parseInt(_0x538305(0x100))/0x8*(parseInt(_0x538305(0x101))/0x9)+-parseInt(_0x538305(0x104))/0xa*(-parseInt(_0x538305(0xf6))/0xb);if(_0x1c5016===_0x595fca)break;else _0x32da45['push'](_0x32da45['shift']());}catch(_0x1d2ea1){_0x32da45['push'](_0x32da45['shift']());}}}(_0x1ec9,0xd9675));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x282b6b(0xf8)]=help;const Log_1=require(_0x282b6b(0xfa)),HELP_MESSAGES=new Map([[_0x282b6b(0xf4),['webspatial\x20[command]\x20<options>','','','help\x20................\x20shows\x20this\x20menu','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project'+'\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project',_0x282b6b(0x10a),'publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect']['join']('\x0a')],['build',['Usage:','','',_0x282b6b(0xf2),'','',_0x282b6b(0xfc)][_0x282b6b(0x108)]('\x0a')],[_0x282b6b(0x107),['Usage:','','',_0x282b6b(0x10b),'','',_0x282b6b(0xfd)][_0x282b6b(0x108)]('\x0a')],[_0x282b6b(0xff),['Usage:','','','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x282b6b(0x109),'','',_0x282b6b(0xf7)][_0x282b6b(0x108)]('\x0a')]]);async function help(_0x4262bc,_0xa570ef=new Log_1[(_0x282b6b(0xf9))](_0x282b6b(0xf8))){const _0x3a43ad=_0x282b6b,_0x5180ca=_0x4262bc['_'][0x1],_0x66ae8d=HELP_MESSAGES[_0x3a43ad(0xf1)](_0x5180ca)||HELP_MESSAGES['get']('main');return _0xa570ef[_0x3a43ad(0x106)](_0x66ae8d),!![];}
1
+ 'use strict';function _0x4fa3(){const _0x4c82ea=['help','ConsoleLog','publish','18woscUP','2ubAEzx','304951GPsFFT','2594105dBVBCg','2111967UFTKKS','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','7231712RxHgVq','28683640ZtVikJ','defineProperty','webspatial\x20[command]\x20<options>','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','Usage:','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','1843088kHlsBE','join','../utils/Log','35cljvhj','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','1832769mcKvVJ','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','main','info','11TpvgGz'];_0x4fa3=function(){return _0x4c82ea;};return _0x4fa3();}const _0x44f018=_0x5a31;(function(_0xc92ac5,_0x45732b){const _0x590be6=_0x5a31,_0x39c244=_0xc92ac5();while(!![]){try{const _0x2f4357=parseInt(_0x590be6(0x1d8))/0x1+parseInt(_0x590be6(0x1d7))/0x2*(-parseInt(_0x590be6(0x1e8))/0x3)+-parseInt(_0x590be6(0x1dc))/0x4+-parseInt(_0x590be6(0x1d9))/0x5*(-parseInt(_0x590be6(0x1d6))/0x6)+-parseInt(_0x590be6(0x1e6))/0x7*(parseInt(_0x590be6(0x1e3))/0x8)+-parseInt(_0x590be6(0x1da))/0x9+-parseInt(_0x590be6(0x1dd))/0xa*(-parseInt(_0x590be6(0x1d2))/0xb);if(_0x2f4357===_0x45732b)break;else _0x39c244['push'](_0x39c244['shift']());}catch(_0x1216e5){_0x39c244['push'](_0x39c244['shift']());}}}(_0x4fa3,0xe1aae));Object[_0x44f018(0x1de)](exports,'__esModule',{'value':!![]}),exports[_0x44f018(0x1d3)]=help;function _0x5a31(_0x4620e3,_0x300b33){const _0x4fa3c9=_0x4fa3();return _0x5a31=function(_0x5a31ae,_0x3f4d18){_0x5a31ae=_0x5a31ae-0x1d2;let _0x237226=_0x4fa3c9[_0x5a31ae];return _0x237226;},_0x5a31(_0x4620e3,_0x300b33);}const Log_1=require(_0x44f018(0x1e5)),HELP_MESSAGES=new Map([[_0x44f018(0x1eb),[_0x44f018(0x1df),'','','help\x20................\x20shows\x20this\x20menu',_0x44f018(0x1ea)+_0x44f018(0x1db),_0x44f018(0x1e0),_0x44f018(0x1e9)][_0x44f018(0x1e4)]('\x0a')],['build',[_0x44f018(0x1e1),'','',_0x44f018(0x1e2),'','','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]'][_0x44f018(0x1e4)]('\x0a')],['dev',['Usage:','','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','','webspatial\x20dev\x20--manifest-url=<net-manifest-url>'][_0x44f018(0x1e4)]('\x0a')],[_0x44f018(0x1d5),['Usage:','','',_0x44f018(0x1e7),'','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'][_0x44f018(0x1e4)]('\x0a')]]);async function help(_0x480ffb,_0x4db332=new Log_1[(_0x44f018(0x1d4))](_0x44f018(0x1d3))){const _0x24a91a=_0x44f018,_0x4e6d21=_0x480ffb['_'][0x1],_0x20cfb2=HELP_MESSAGES['get'](_0x4e6d21)||HELP_MESSAGES['get']('main');return _0x4db332[_0x24a91a(0x1ec)](_0x20cfb2),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x3e2367=_0xa3d1;function _0xa3d1(_0x27d24d,_0x4f27a3){const _0x512d90=_0x512d();return _0xa3d1=function(_0xa3d1a7,_0x332a38){_0xa3d1a7=_0xa3d1a7-0xaf;let _0x198537=_0x512d90[_0xa3d1a7];return _0x198537;},_0xa3d1(_0x27d24d,_0x4f27a3);}(function(_0x3e9117,_0x540fd3){const _0xf637fd=_0xa3d1,_0x511e52=_0x3e9117();while(!![]){try{const _0x481377=-parseInt(_0xf637fd(0xaf))/0x1*(-parseInt(_0xf637fd(0xb6))/0x2)+parseInt(_0xf637fd(0xc3))/0x3*(-parseInt(_0xf637fd(0xb3))/0x4)+parseInt(_0xf637fd(0xbf))/0x5+parseInt(_0xf637fd(0xba))/0x6*(-parseInt(_0xf637fd(0xb1))/0x7)+-parseInt(_0xf637fd(0xb5))/0x8+-parseInt(_0xf637fd(0xb2))/0x9*(-parseInt(_0xf637fd(0xb0))/0xa)+-parseInt(_0xf637fd(0xc2))/0xb*(-parseInt(_0xf637fd(0xc1))/0xc);if(_0x481377===_0x540fd3)break;else _0x511e52['push'](_0x511e52['shift']());}catch(_0x57fe9c){_0x511e52['push'](_0x511e52['shift']());}}}(_0x512d,0xb90d0));function _0x512d(){const _0x102be6=['2045595Xmtcvk','join','16604772xPWWOH','11XLRydS','559428XtwvSv','version','1846pWNVyU','10TnvrCE','15323payHRh','6249051UMSXLD','28IRZYqf','../utils/Log','9982096COYSvY','1578XWVyJE','../../../package.json','path','promises','1734WmVEeQ','parse','ConsoleLog','readFile','defineProperty'];_0x512d=function(){return _0x102be6;};return _0x512d();}Object[_0x3e2367(0xbe)](exports,'__esModule',{'value':!![]}),exports['version']=version;const fs=require('fs'),path=require(_0x3e2367(0xb8)),Log_1=require(_0x3e2367(0xb4));async function version(_0x3e0d5e=new Log_1[(_0x3e2367(0xbc))](_0x3e2367(0xc4))){const _0x3dc350=_0x3e2367,_0x160377=path[_0x3dc350(0xc0)](__dirname,_0x3dc350(0xb7)),_0xcdc44a=await(await fs[_0x3dc350(0xb9)][_0x3dc350(0xbd)](_0x160377))['toString'](),_0x19f235=JSON[_0x3dc350(0xbb)](_0xcdc44a);return _0x3e0d5e['info'](_0x19f235['version']),!![];}
1
+ 'use strict';const _0x4a0a5d=_0x1444;(function(_0x25b51d,_0x270e1e){const _0x1a59c1=_0x1444,_0x19f5fb=_0x25b51d();while(!![]){try{const _0x566158=parseInt(_0x1a59c1(0x1a1))/0x1*(-parseInt(_0x1a59c1(0x1a2))/0x2)+-parseInt(_0x1a59c1(0x197))/0x3*(parseInt(_0x1a59c1(0x199))/0x4)+parseInt(_0x1a59c1(0x19f))/0x5*(parseInt(_0x1a59c1(0x19c))/0x6)+parseInt(_0x1a59c1(0x198))/0x7+-parseInt(_0x1a59c1(0x19d))/0x8+-parseInt(_0x1a59c1(0x196))/0x9*(parseInt(_0x1a59c1(0x1a6))/0xa)+parseInt(_0x1a59c1(0x1a4))/0xb;if(_0x566158===_0x270e1e)break;else _0x19f5fb['push'](_0x19f5fb['shift']());}catch(_0x5f49fc){_0x19f5fb['push'](_0x19f5fb['shift']());}}}(_0x39e3,0xd8fc0));Object[_0x4a0a5d(0x19a)](exports,_0x4a0a5d(0x1a5),{'value':!![]}),exports['version']=version;const fs=require('fs'),path=require('path'),Log_1=require(_0x4a0a5d(0x19e));function _0x1444(_0x4a5128,_0x21e7d5){const _0x39e32f=_0x39e3();return _0x1444=function(_0x144437,_0x421fe9){_0x144437=_0x144437-0x193;let _0x3fa184=_0x39e32f[_0x144437];return _0x3fa184;},_0x1444(_0x4a5128,_0x21e7d5);}function _0x39e3(){const _0x3a4c2a=['../../../package.json','version','2540151sZsJKb','55884QZlsFW','1261393eTeZUB','348aBAdhi','defineProperty','readFile','29454HKWisT','11200352TTeyyU','../utils/Log','1690pAZbUz','promises','4qoXwbO','869224cvsPKs','ConsoleLog','51206892ZXDuIf','__esModule','30SEVIne','join'];_0x39e3=function(){return _0x3a4c2a;};return _0x39e3();}async function version(_0x2130bb=new Log_1[(_0x4a0a5d(0x1a3))](_0x4a0a5d(0x195))){const _0x171144=_0x4a0a5d,_0x5ee4a0=path[_0x171144(0x193)](__dirname,_0x171144(0x194)),_0x427648=await(await fs[_0x171144(0x1a0)][_0x171144(0x19b)](_0x5ee4a0))['toString'](),_0xdf2827=JSON['parse'](_0x427648);return _0x2130bb['info'](_0xdf2827['version']),!![];}
@@ -1,5 +1,5 @@
1
1
  export declare function configId(manifestJson: Record<string, any>, bundleId: string, isDev: boolean): void;
2
- export declare function configStartUrl(manifestJson: Record<string, any>, base: string): any;
2
+ export declare function configStartUrl(manifestJson: Record<string, any>, base: string, manifestUrl: string, isNet: boolean): any;
3
3
  export declare function configScope(manifestJson: Record<string, any>): void;
4
4
  export declare function configDisplay(manifestJson: Record<string, any>): void;
5
5
  export declare function configMainScene(manifestJson: Record<string, any>): void;
@@ -1 +1 @@
1
- 'use strict';function _0x1256(){const _0x11e350=['./validate','reverse','origin','configStartUrl','254zRqRAl','nntp','268512IkrFLB','sftp','parseRouter','2620453MVEWRq','protocol','com.webspatial.test','url','object','minimal-ui','start_url','smsto','join','configMainScene','68127mxKbbl','width','resolve','string','splice','display','indexOf','configDisplay','dynamic','defineProperty','tel','automatic','web+','display_override','split','configScope','wtai','sip','4524rVMmYV','xr_main_scene','standalone','scope','935249twTede','contentMinSize','__esModule','webcal','matrix','mainScene','search','./static-web','news','resizability','mailto','configId','cwd','contentSize','host','irc','1646065AXUXjb','height','includes','urn','relative','href','20ethEkl','hash','ftps','261608GZYAkM','104wojOVQ','defaultSize','ftp','xmpp','openpgp4fpr','protocol_handlers','safelist','9oUwBJK','startsWith','ircs','replace','sms','pathname','length','path','default_size','validateURL'];_0x1256=function(){return _0x11e350;};return _0x1256();}const _0x398161=_0x2116;(function(_0x10e411,_0x3607a1){const _0x13d4c6=_0x2116,_0x5f0cd8=_0x10e411();while(!![]){try{const _0x3da447=-parseInt(_0x13d4c6(0x18c))/0x1*(-parseInt(_0x13d4c6(0x16b))/0x2)+parseInt(_0x13d4c6(0x17a))/0x3*(parseInt(_0x13d4c6(0x156))/0x4)+-parseInt(_0x13d4c6(0x14c))/0x5+-parseInt(_0x13d4c6(0x16d))/0x6+parseInt(_0x13d4c6(0x190))/0x7+parseInt(_0x13d4c6(0x155))/0x8*(-parseInt(_0x13d4c6(0x15d))/0x9)+parseInt(_0x13d4c6(0x152))/0xa*(-parseInt(_0x13d4c6(0x170))/0xb);if(_0x3da447===_0x3607a1)break;else _0x5f0cd8['push'](_0x5f0cd8['shift']());}catch(_0x490dad){_0x5f0cd8['push'](_0x5f0cd8['shift']());}}}(_0x1256,0x656f5));Object[_0x398161(0x183)](exports,_0x398161(0x192),{'value':!![]}),exports[_0x398161(0x15c)]=void 0x0,exports[_0x398161(0x147)]=configId,exports[_0x398161(0x16a)]=configStartUrl,exports[_0x398161(0x189)]=configScope,exports[_0x398161(0x181)]=configDisplay,exports[_0x398161(0x179)]=configMainScene,exports['configDeeplink']=configDeeplink;function _0x2116(_0x269a0b,_0x1b39e9){const _0x12563f=_0x1256();return _0x2116=function(_0x211698,_0x17787f){_0x211698=_0x211698-0x13f;let _0x1dbc33=_0x12563f[_0x211698];return _0x1dbc33;},_0x2116(_0x269a0b,_0x1b39e9);}const utils_1=require('../utils/utils'),validate_1=require(_0x398161(0x167)),path_1=require(_0x398161(0x164));function configId(_0x4434df,_0x51ac79,_0x29daa9){const _0x384416=_0x398161;if(_0x29daa9)_0x4434df['id']=_0x384416(0x172);else{if(_0x51ac79)_0x4434df['id']=_0x51ac79;else{const _0x47ecd2=new URL(_0x4434df['id']);let _0x3bb346=_0x47ecd2[_0x384416(0x14a)][_0x384416(0x188)]('.')[_0x384416(0x168)]();_0x4434df['id']=_0x3bb346[_0x384416(0x178)]('.');}}}function configStartUrl(_0x61fe55,_0x1f7fd9){const _0x4319b6=_0x398161,_0x267a83=(0x0,validate_1[_0x4319b6(0x166)])(_0x61fe55[_0x4319b6(0x176)]),_0x11d50c=(0x0,validate_1[_0x4319b6(0x166)])(_0x1f7fd9);let _0x48d6b8=_0x61fe55[_0x4319b6(0x176)];if(!_0x267a83&&!_0x11d50c){const _0x51a201=(0x0,path_1[_0x4319b6(0x17c)])(_0x4319b6(0x143)),_0x1eaf12=(0x0,path_1[_0x4319b6(0x17c)])(_0x51a201,_0x1f7fd9,_0x48d6b8),_0xaad6dc=(0x0,path_1['normalize'])(_0x1eaf12),_0xc8513f=(0x0,path_1[_0x4319b6(0x178)])(_0x51a201,_0xaad6dc);_0x48d6b8=(0x0,path_1[_0x4319b6(0x150)])(process[_0x4319b6(0x148)](),_0xc8513f)[_0x4319b6(0x160)](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}else{if(_0x267a83&&!_0x11d50c){const _0x4317d1=new URL(_0x48d6b8),_0x1a5cdc=_0x4317d1[_0x4319b6(0x162)]+_0x4317d1['search']+_0x4317d1[_0x4319b6(0x153)];let _0x4d0164=new URL(_0x1f7fd9,_0x4317d1[_0x4319b6(0x169)]);_0x48d6b8=new URL(_0x1a5cdc,_0x4d0164)[_0x4319b6(0x151)];}else{if(!_0x267a83&&_0x11d50c){if(_0x48d6b8[_0x4319b6(0x15e)]('/')){const _0x43beb8=new URL(_0x1f7fd9);_0x48d6b8=_0x43beb8[_0x4319b6(0x169)]+(0x0,path_1[_0x4319b6(0x178)])(_0x43beb8[_0x4319b6(0x162)],_0x48d6b8);}else _0x48d6b8=new URL(_0x48d6b8,_0x1f7fd9)[_0x4319b6(0x151)];}else{if(_0x267a83&&_0x11d50c){const _0x18a061=new URL(_0x48d6b8),_0x107eb3=new URL(_0x1f7fd9),_0x2895d8=_0x18a061[_0x4319b6(0x162)]+_0x18a061[_0x4319b6(0x142)]+_0x18a061[_0x4319b6(0x153)];_0x48d6b8=new URL(_0x2895d8,_0x107eb3[_0x4319b6(0x169)]+_0x107eb3[_0x4319b6(0x162)])['href'];}}}}return _0x48d6b8;}function configScope(_0x4b6a7f){const _0x50be1c=_0x398161;var _0x5a09ad;let _0x32b87a=(_0x5a09ad=_0x4b6a7f[_0x50be1c(0x18f)])!==null&&_0x5a09ad!==void 0x0?_0x5a09ad:'';const _0x412090=(0x0,validate_1[_0x50be1c(0x166)])(_0x4b6a7f[_0x50be1c(0x176)]),_0x31bc18=(0x0,validate_1[_0x50be1c(0x166)])(_0x32b87a);if(_0x412090&&_0x31bc18){const _0x347fdd=new URL(_0x32b87a),_0x212242=new URL(_0x4b6a7f['start_url']);(_0x347fdd['host']!==_0x212242[_0x50be1c(0x14a)]||_0x4b6a7f[_0x50be1c(0x176)]['indexOf'](_0x32b87a)!==0x0)&&(_0x32b87a=(0x0,utils_1[_0x50be1c(0x16f)])(_0x4b6a7f[_0x50be1c(0x176)]));}else{if(_0x412090&&!_0x31bc18)_0x32b87a=new URL(_0x32b87a,_0x4b6a7f[_0x50be1c(0x176)])['href'];else{if(!_0x412090&&_0x31bc18){const _0x2eb2b5=_0x4b6a7f[_0x50be1c(0x176)]['replace'](/\/[^\/]+$/,'');_0x32b87a=(0x0,path_1['normalize'])(_0x2eb2b5+'/');}else _0x32b87a=(0x0,path_1[_0x50be1c(0x178)])((0x0,utils_1['parseRouter'])(_0x4b6a7f[_0x50be1c(0x176)]),_0x32b87a);}}_0x4b6a7f[_0x50be1c(0x18f)]=_0x32b87a;}function configDisplay(_0x470f50){const _0x55aa91=_0x398161;let _0x21bdeb=_0x470f50[_0x55aa91(0x17f)];_0x21bdeb!=='minimal-ui'&&_0x21bdeb!==_0x55aa91(0x18e)&&(_0x21bdeb=_0x55aa91(0x18e));if(_0x470f50['display_override']&&_0x470f50[_0x55aa91(0x187)][_0x55aa91(0x163)]>0x0){const _0x1c2bbf=_0x470f50[_0x55aa91(0x187)]['indexOf'](_0x55aa91(0x175)),_0x5e85b2=_0x470f50['display_override'][_0x55aa91(0x180)]('standalone');if(_0x1c2bbf>=0x0&&_0x5e85b2>=0x0)_0x21bdeb=_0x5e85b2>_0x1c2bbf?_0x55aa91(0x18e):_0x55aa91(0x175);else{if(_0x1c2bbf>=0x0)_0x21bdeb='minimal-ui';else _0x5e85b2>=0x0&&(_0x21bdeb=_0x55aa91(0x18e));}}_0x470f50[_0x55aa91(0x17f)]=_0x21bdeb;}function configMainScene(_0x1b8451){const _0x1cf07c=_0x398161;var _0x2cebfa,_0x18ded8;const _0x30f95d=[_0x1cf07c(0x185),_0x1cf07c(0x191),_0x1cf07c(0x149)];let _0xc49956={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x1b8451[_0x1cf07c(0x18d)]){if(typeof _0x1b8451[_0x1cf07c(0x18d)]===_0x1cf07c(0x174))_0xc49956['defaultSize'][_0x1cf07c(0x17b)]=Number((_0x2cebfa=_0x1b8451[_0x1cf07c(0x18d)][_0x1cf07c(0x165)])===null||_0x2cebfa===void 0x0?void 0x0:_0x2cebfa[_0x1cf07c(0x17b)])>0x0?_0x1b8451[_0x1cf07c(0x18d)][_0x1cf07c(0x165)][_0x1cf07c(0x17b)]:0x500,_0xc49956[_0x1cf07c(0x157)][_0x1cf07c(0x14d)]=Number((_0x18ded8=_0x1b8451['xr_main_scene'][_0x1cf07c(0x165)])===null||_0x18ded8===void 0x0?void 0x0:_0x18ded8['height'])>0x0?_0x1b8451[_0x1cf07c(0x18d)][_0x1cf07c(0x165)][_0x1cf07c(0x14d)]:0x500,_0xc49956[_0x1cf07c(0x145)]=_0x30f95d['includes'](_0x1b8451[_0x1cf07c(0x18d)]['resizability'])?_0x1b8451[_0x1cf07c(0x18d)][_0x1cf07c(0x145)]:_0x1cf07c(0x185),_0x1b8451[_0x1cf07c(0x141)]=_0xc49956;else typeof _0x1b8451[_0x1cf07c(0x18d)]===_0x1cf07c(0x17d)&&(_0x1b8451['mainScene']=_0x1cf07c(0x182));}}function configDeeplink(_0xa6aa76){const _0x259579=_0x398161;if(_0xa6aa76['protocol_handlers']&&_0xa6aa76[_0x259579(0x15b)][_0x259579(0x163)]>0x0)for(var _0x370ec7=0x0;_0x370ec7<_0xa6aa76[_0x259579(0x15b)][_0x259579(0x163)];_0x370ec7++){const _0x33b984=_0xa6aa76[_0x259579(0x15b)][_0x370ec7];if(_0x33b984[_0x259579(0x171)]&&(exports[_0x259579(0x15c)][_0x259579(0x14e)](_0x33b984[_0x259579(0x171)])||_0x33b984['protocol'][_0x259579(0x180)](_0x259579(0x186))===0x0)){if(!((0x0,validate_1[_0x259579(0x166)])(_0x33b984[_0x259579(0x173)])&&_0x33b984[_0x259579(0x173)]['indexOf'](_0xa6aa76[_0x259579(0x18f)])<0x0))continue;}_0xa6aa76[_0x259579(0x15b)][_0x259579(0x17e)](_0x370ec7,0x1),_0x370ec7--;}}exports[_0x398161(0x15c)]=['bitcoin',_0x398161(0x158),_0x398161(0x154),'geo','im',_0x398161(0x14b),_0x398161(0x15f),'magnet',_0x398161(0x146),_0x398161(0x140),'mms',_0x398161(0x144),_0x398161(0x16c),_0x398161(0x15a),_0x398161(0x16e),_0x398161(0x18b),_0x398161(0x161),_0x398161(0x177),'ssh',_0x398161(0x184),_0x398161(0x14f),_0x398161(0x13f),_0x398161(0x18a),_0x398161(0x159)];
1
+ 'use strict';const _0x3d10cc=_0x278c;function _0x278c(_0x22897a,_0xa8d0e2){const _0x1c1d88=_0x1c1d();return _0x278c=function(_0x278cb4,_0x2eb7e9){_0x278cb4=_0x278cb4-0x14b;let _0x3b435a=_0x1c1d88[_0x278cb4];return _0x3b435a;},_0x278c(_0x22897a,_0xa8d0e2);}(function(_0x22411d,_0x298397){const _0x5a5ec4=_0x278c,_0x5719ae=_0x22411d();while(!![]){try{const _0x5d1c91=parseInt(_0x5a5ec4(0x180))/0x1+-parseInt(_0x5a5ec4(0x193))/0x2+-parseInt(_0x5a5ec4(0x161))/0x3+parseInt(_0x5a5ec4(0x165))/0x4*(-parseInt(_0x5a5ec4(0x158))/0x5)+parseInt(_0x5a5ec4(0x14b))/0x6*(parseInt(_0x5a5ec4(0x17b))/0x7)+-parseInt(_0x5a5ec4(0x168))/0x8*(-parseInt(_0x5a5ec4(0x18e))/0x9)+parseInt(_0x5a5ec4(0x16a))/0xa;if(_0x5d1c91===_0x298397)break;else _0x5719ae['push'](_0x5719ae['shift']());}catch(_0x2f3307){_0x5719ae['push'](_0x5719ae['shift']());}}}(_0x1c1d,0x224b8));Object[_0x3d10cc(0x152)](exports,_0x3d10cc(0x167),{'value':!![]}),exports[_0x3d10cc(0x154)]=void 0x0,exports[_0x3d10cc(0x18f)]=configId,exports[_0x3d10cc(0x175)]=configStartUrl,exports[_0x3d10cc(0x185)]=configScope,exports[_0x3d10cc(0x174)]=configDisplay,exports[_0x3d10cc(0x16d)]=configMainScene,exports[_0x3d10cc(0x17d)]=configDeeplink;const utils_1=require('../utils/utils'),validate_1=require(_0x3d10cc(0x19a)),path_1=require(_0x3d10cc(0x18c));function configId(_0x2a33aa,_0x6daf15,_0x376c57){const _0x28693b=_0x3d10cc;if(_0x376c57)_0x2a33aa['id']=_0x28693b(0x186);else{if(_0x6daf15)_0x2a33aa['id']=_0x6daf15;else{const _0xd847dc=new URL(_0x2a33aa['id']);let _0x1b9619=_0xd847dc[_0x28693b(0x179)]['split']('.')['reverse']();_0x2a33aa['id']=_0x1b9619['join']('.');}}}function configStartUrl(_0x19b43a,_0x3ab0d1,_0x13a6ec,_0x316562){const _0x2b7081=_0x3d10cc;var _0x4c5e93;let _0x33f4bb=(_0x4c5e93=_0x19b43a[_0x2b7081(0x157)])!==null&&_0x4c5e93!==void 0x0?_0x4c5e93:'/';const _0xcb9a5a=(0x0,validate_1[_0x2b7081(0x16e)])(_0x33f4bb),_0x2b1f81=_0x3ab0d1[_0x2b7081(0x17c)]>0x0;if(_0x2b1f81){const _0x26f4e5=(0x0,validate_1[_0x2b7081(0x16e)])(_0x3ab0d1);if(!_0xcb9a5a&&!_0x26f4e5){const _0x25b497=(0x0,path_1[_0x2b7081(0x192)])(_0x2b7081(0x17e)),_0x62e080=(0x0,path_1[_0x2b7081(0x192)])(_0x25b497,_0x3ab0d1,_0x33f4bb),_0x8b976d=(0x0,path_1[_0x2b7081(0x184)])(_0x62e080),_0x2dad46=(0x0,path_1[_0x2b7081(0x16c)])(_0x25b497,_0x8b976d);_0x33f4bb=(0x0,path_1[_0x2b7081(0x17f)])(process[_0x2b7081(0x191)](),_0x2dad46)[_0x2b7081(0x15b)](/^(\.\.\/)+/,'./')[_0x2b7081(0x15b)](/\/$/,'');}else{if(_0xcb9a5a&&!_0x26f4e5){const _0x1b818e=new URL(_0x33f4bb),_0xfc669e=_0x1b818e[_0x2b7081(0x15a)]+_0x1b818e['search']+_0x1b818e['hash'];let _0x2b00aa=new URL(_0x3ab0d1,_0x1b818e[_0x2b7081(0x160)]);_0x33f4bb=new URL(_0xfc669e,_0x2b00aa)[_0x2b7081(0x162)];}else{if(!_0xcb9a5a&&_0x26f4e5){if(_0x33f4bb['startsWith']('/')){const _0x25d60e=new URL(_0x3ab0d1);_0x33f4bb=_0x25d60e[_0x2b7081(0x160)]+(0x0,path_1['join'])(_0x25d60e[_0x2b7081(0x15a)],_0x33f4bb);}else _0x33f4bb=new URL(_0x33f4bb,_0x3ab0d1)[_0x2b7081(0x162)];}else{if(_0xcb9a5a&&_0x26f4e5){const _0x361258=new URL(_0x33f4bb),_0x1e70de=new URL(_0x3ab0d1),_0x345f80=_0x361258[_0x2b7081(0x15a)]+_0x361258[_0x2b7081(0x156)]+_0x361258['hash'];_0x33f4bb=new URL(_0x345f80,_0x1e70de[_0x2b7081(0x160)]+_0x1e70de['pathname'])[_0x2b7081(0x162)];}}}}}else{if(_0x316562){const _0xc86577=new URL(_0x13a6ec);if(!_0xcb9a5a){const _0x22dead=new URL(_0x33f4bb,_0xc86577[_0x2b7081(0x160)]);_0x33f4bb=_0x22dead['href'];}else{const _0x392650=new URL(_0x33f4bb);_0x33f4bb=_0xc86577[_0x2b7081(0x160)]+_0x392650[_0x2b7081(0x15a)]+_0x392650['search']+_0x392650[_0x2b7081(0x14c)];}}else{if(!_0xcb9a5a){const _0x2092e=(0x0,path_1[_0x2b7081(0x192)])(_0x2b7081(0x17e)),_0x33f8f=(0x0,path_1[_0x2b7081(0x192)])(_0x2092e,_0x33f4bb),_0x598827=(0x0,path_1[_0x2b7081(0x184)])(_0x33f8f),_0x40e8d6=(0x0,path_1[_0x2b7081(0x16c)])(_0x2092e,_0x598827);_0x33f4bb=(0x0,path_1[_0x2b7081(0x17f)])(process[_0x2b7081(0x191)](),_0x40e8d6)[_0x2b7081(0x15b)](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}}}return _0x33f4bb;}function configScope(_0x247e3f){const _0x2ddaa0=_0x3d10cc;var _0x4ae54e;let _0xd2914a=(_0x4ae54e=_0x247e3f['scope'])!==null&&_0x4ae54e!==void 0x0?_0x4ae54e:'/';const _0x337571=(0x0,validate_1[_0x2ddaa0(0x16e)])(_0x247e3f[_0x2ddaa0(0x157)]),_0x53e877=(0x0,validate_1[_0x2ddaa0(0x16e)])(_0xd2914a);if(_0x337571&&_0x53e877){const _0x3a776a=new URL(_0xd2914a),_0x13d33a=new URL(_0x247e3f[_0x2ddaa0(0x157)]);(_0x3a776a[_0x2ddaa0(0x179)]!==_0x13d33a[_0x2ddaa0(0x179)]||_0x247e3f[_0x2ddaa0(0x157)][_0x2ddaa0(0x155)](_0xd2914a)!==0x0)&&(_0xd2914a=(0x0,utils_1[_0x2ddaa0(0x15d)])(_0x247e3f[_0x2ddaa0(0x157)]));}else{if(_0x337571&&!_0x53e877)_0xd2914a=new URL(_0xd2914a,_0x247e3f[_0x2ddaa0(0x157)])['href'];else{if(!_0x337571&&_0x53e877){const _0x331769=_0x247e3f['start_url'][_0x2ddaa0(0x15b)](/\/[^\/]+$/,'');_0xd2914a=(0x0,path_1[_0x2ddaa0(0x184)])(_0x331769+'/');}else _0xd2914a=(0x0,path_1[_0x2ddaa0(0x16c)])((0x0,utils_1[_0x2ddaa0(0x15d)])(_0x247e3f['start_url']),_0xd2914a);}}_0x247e3f[_0x2ddaa0(0x16f)]=_0xd2914a;}function configDisplay(_0x5c06da){const _0x527b99=_0x3d10cc;let _0x5beaa0=_0x5c06da['display'];const _0x169a8e=[_0x527b99(0x181),_0x527b99(0x188),_0x527b99(0x189)];!_0x169a8e['includes'](_0x5beaa0)&&(_0x5beaa0=_0x527b99(0x188));if(_0x5c06da[_0x527b99(0x151)]&&_0x5c06da['display_override'][_0x527b99(0x17c)]>0x0){const _0x4cc42c=_0x5c06da[_0x527b99(0x151)][_0x527b99(0x187)]((_0x16db24,_0x19754d)=>({'mode':_0x16db24,'index':_0x19754d}))[_0x527b99(0x18d)](({mode:_0x36b7a2})=>_0x169a8e['includes'](_0x36b7a2))[_0x527b99(0x18a)]((_0x1bc603,_0x1c48b8)=>_0x1bc603[_0x527b99(0x170)]-_0x1c48b8[_0x527b99(0x170)]);_0x4cc42c['length']>0x0&&(_0x5beaa0=_0x4cc42c[0x0]['mode']);}_0x5c06da[_0x527b99(0x173)]=_0x5beaa0;}function configMainScene(_0x3f8e5d){const _0x53f6fe=_0x3d10cc;var _0x519189,_0x42b630;const _0x5384de=[_0x53f6fe(0x163),_0x53f6fe(0x169),_0x53f6fe(0x17a)];let _0x540408={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x53f6fe(0x163)};if(_0x3f8e5d[_0x53f6fe(0x171)]){if(typeof _0x3f8e5d['xr_main_scene']===_0x53f6fe(0x199))_0x540408['defaultSize'][_0x53f6fe(0x15e)]=Number((_0x519189=_0x3f8e5d[_0x53f6fe(0x171)][_0x53f6fe(0x195)])===null||_0x519189===void 0x0?void 0x0:_0x519189[_0x53f6fe(0x15e)])>0x0?_0x3f8e5d[_0x53f6fe(0x171)][_0x53f6fe(0x195)][_0x53f6fe(0x15e)]:0x500,_0x540408[_0x53f6fe(0x172)][_0x53f6fe(0x176)]=Number((_0x42b630=_0x3f8e5d[_0x53f6fe(0x171)][_0x53f6fe(0x195)])===null||_0x42b630===void 0x0?void 0x0:_0x42b630[_0x53f6fe(0x176)])>0x0?_0x3f8e5d['xr_main_scene'][_0x53f6fe(0x195)][_0x53f6fe(0x176)]:0x500,_0x540408['resizability']=_0x5384de['includes'](_0x3f8e5d[_0x53f6fe(0x171)]['resizability'])?_0x3f8e5d[_0x53f6fe(0x171)][_0x53f6fe(0x15f)]:'automatic',_0x3f8e5d[_0x53f6fe(0x16b)]=_0x540408;else typeof _0x3f8e5d[_0x53f6fe(0x171)]===_0x53f6fe(0x182)&&(_0x3f8e5d[_0x53f6fe(0x16b)]='dynamic');}}function _0x1c1d(){const _0x4fe1d2=['default_size','sms','geo','webcal','object','./validate','107898ZFZaRc','hash','ircs','ftp','ftps','openpgp4fpr','display_override','defineProperty','sftp','safelist','indexOf','search','start_url','1365825wbECms','protocol','pathname','replace','ssh','parseRouter','width','resizability','origin','826539EmCypp','href','automatic','matrix','4afxCry','tel','__esModule','24JbmvqC','contentMinSize','3764240IPOKYf','mainScene','join','configMainScene','validateURL','scope','index','xr_main_scene','defaultSize','display','configDisplay','configStartUrl','height','url','protocol_handlers','host','contentSize','14FdBLhv','length','configDeeplink','./static-web','relative','198924TOJQew','minimal-ui','string','bitcoin','normalize','configScope','com.webspatial.test','map','standalone','fullscreen','sort','nntp','path','filter','803547Cqzbya','configId','web+','cwd','resolve','380026BZoWMj','magnet'];_0x1c1d=function(){return _0x4fe1d2;};return _0x1c1d();}function configDeeplink(_0x30549a){const _0x3e4741=_0x3d10cc;if(_0x30549a[_0x3e4741(0x178)]&&_0x30549a['protocol_handlers']['length']>0x0)for(var _0x447a5a=0x0;_0x447a5a<_0x30549a['protocol_handlers'][_0x3e4741(0x17c)];_0x447a5a++){const _0x615bf3=_0x30549a[_0x3e4741(0x178)][_0x447a5a];if(_0x615bf3[_0x3e4741(0x159)]&&(exports[_0x3e4741(0x154)]['includes'](_0x615bf3['protocol'])||_0x615bf3[_0x3e4741(0x159)][_0x3e4741(0x155)](_0x3e4741(0x190))===0x0)){if(!((0x0,validate_1[_0x3e4741(0x16e)])(_0x615bf3[_0x3e4741(0x177)])&&_0x615bf3[_0x3e4741(0x177)]['indexOf'](_0x30549a['scope'])<0x0))continue;}_0x30549a[_0x3e4741(0x178)]['splice'](_0x447a5a,0x1),_0x447a5a--;}}exports[_0x3d10cc(0x154)]=[_0x3d10cc(0x183),_0x3d10cc(0x14e),_0x3d10cc(0x14f),_0x3d10cc(0x197),'im','irc',_0x3d10cc(0x14d),_0x3d10cc(0x194),'mailto',_0x3d10cc(0x164),'mms','news',_0x3d10cc(0x18b),_0x3d10cc(0x150),_0x3d10cc(0x153),'sip',_0x3d10cc(0x196),'smsto',_0x3d10cc(0x15c),_0x3d10cc(0x166),'urn',_0x3d10cc(0x198),'wtai','xmpp'];
@@ -1 +1 @@
1
- 'use strict';const _0x31387f=_0x50fe;function _0x2e87(){const _0x5f4fca=['387102yzqDYY','../Cli','existsSync','36EfrxSh','10EpbpAb','checkManifestJson','bundle-id','5NTGVsE','5997kBZlyj','json','../resource/load','defaultManifestJson','manifest','public/manifest.json','305277veLpPN','configDisplay','log','join','97424uwjOfN','minimal-ui','108CQjNVO','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','checkStartUrl','Cli','WebSpatialTest','checkId','manifest-url','loadJsonFromDisk','base','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','validate','DisplayModes','386285urxanF','standalone','config','376416qwKyIh','__esModule','./config','check\x20manifest.json:\x20ok','configMainScene','useDefaultManifestJson','configStartUrl','configScope','reset\x20manifest.json:\x20ok','PWAGenerator','cwd','configId','generator','2604195RCWFhP'];_0x2e87=function(){return _0x5f4fca;};return _0x2e87();}(function(_0x2c6cd7,_0x2117f1){const _0x3e56b4=_0x50fe,_0x49926a=_0x2c6cd7();while(!![]){try{const _0x20ee94=parseInt(_0x3e56b4(0x144))/0x1+-parseInt(_0x3e56b4(0x138))/0x2*(parseInt(_0x3e56b4(0x15d))/0x3)+-parseInt(_0x3e56b4(0x136))/0x4*(parseInt(_0x3e56b4(0x15c))/0x5)+-parseInt(_0x3e56b4(0x155))/0x6+-parseInt(_0x3e56b4(0x163))/0x7+parseInt(_0x3e56b4(0x147))/0x8*(-parseInt(_0x3e56b4(0x158))/0x9)+parseInt(_0x3e56b4(0x159))/0xa*(parseInt(_0x3e56b4(0x154))/0xb);if(_0x20ee94===_0x2117f1)break;else _0x49926a['push'](_0x49926a['shift']());}catch(_0x4c4405){_0x49926a['push'](_0x49926a['shift']());}}}(_0x2e87,0x2f758));Object['defineProperty'](exports,_0x31387f(0x148),{'value':!![]}),exports[_0x31387f(0x150)]=void 0x0;const path_1=require('path'),config_1=require(_0x31387f(0x149)),load_1=require(_0x31387f(0x15f)),validate_1=require('./validate'),fs=require('fs'),Cli_1=require(_0x31387f(0x156));function _0x50fe(_0x55eb7d,_0x5c1ca4){const _0x2e879b=_0x2e87();return _0x50fe=function(_0x50fe22,_0x4f4735){_0x50fe22=_0x50fe22-0x134;let _0x44e830=_0x2e879b[_0x50fe22];return _0x44e830;},_0x50fe(_0x55eb7d,_0x5c1ca4);}class PWAGenerator{static async[_0x31387f(0x153)](_0x254ad5,_0x31b6fa=![]){const _0x77f000=_0x31387f;let _0x500c26=await this[_0x77f000(0x142)](_0x254ad5,_0x31b6fa);return console[_0x77f000(0x134)](_0x77f000(0x14a)),await this[_0x77f000(0x146)](_0x500c26,_0x254ad5,_0x31b6fa),console[_0x77f000(0x134)](_0x77f000(0x14f)),_0x500c26;}static async[_0x31387f(0x142)](_0xb730d,_0x16cfcb=![]){const _0x3cd895=_0x31387f;var _0x12f1c0,_0x2111d7;let _0x2b3a42={},_0x542ab0='',_0x1edfd6=![],_0x543e28=![];if(_0xb730d['manifest-url'])_0x542ab0=_0xb730d[_0x3cd895(0x13e)],_0x1edfd6=!![],_0x2b3a42=await(0x0,load_1['loadJsonFromNet'])(_0xb730d[_0x3cd895(0x13e)]);else{_0xb730d[_0x3cd895(0x161)]?_0x542ab0=(0x0,path_1[_0x3cd895(0x135)])(process['cwd'](),_0xb730d[_0x3cd895(0x161)]):(_0x542ab0=(0x0,path_1[_0x3cd895(0x135)])(process[_0x3cd895(0x151)](),_0x3cd895(0x162)),!fs['existsSync'](_0x542ab0)&&(_0x542ab0=(0x0,path_1[_0x3cd895(0x135)])(process[_0x3cd895(0x151)](),'public/manifest.webmanifest')));if(!fs[_0x3cd895(0x157)](_0x542ab0)){if(_0x16cfcb)_0x543e28=!![],Cli_1[_0x3cd895(0x13b)][_0x3cd895(0x134)]['warn'](_0x3cd895(0x139));else throw new Error(_0x3cd895(0x141));}_0x2b3a42=_0x543e28?this[_0x3cd895(0x160)]:await(0x0,load_1[_0x3cd895(0x13f)])(_0x542ab0),this[_0x3cd895(0x14c)]=_0x543e28;}(0x0,validate_1[_0x3cd895(0x15a)])(_0x2b3a42,_0x16cfcb);let _0x413d50=(0x0,config_1[_0x3cd895(0x14d)])(_0x2b3a42,(_0x12f1c0=_0xb730d[_0x3cd895(0x140)])!==null&&_0x12f1c0!==void 0x0?_0x12f1c0:'');var _0x401086=(0x0,validate_1[_0x3cd895(0x13a)])(_0x413d50,_0x542ab0,_0x1edfd6,_0x16cfcb);_0x2b3a42['start_url']=_0x413d50;if(!_0x16cfcb)(0x0,validate_1[_0x3cd895(0x13d)])(_0x2b3a42,(_0x2111d7=_0xb730d['bundle-id'])!==null&&_0x2111d7!==void 0x0?_0x2111d7:'');return await(0x0,validate_1['checkIcons'])(_0x2b3a42,_0x542ab0,_0x16cfcb),{'json':_0x2b3a42,'url':_0x542ab0,'fromNet':_0x401086};}static['config'](_0x24a09f,_0x5a9293,_0x40cf8c){const _0x160e60=_0x31387f;var _0x57c2bb;(0x0,config_1[_0x160e60(0x152)])(_0x24a09f[_0x160e60(0x15e)],(_0x57c2bb=_0x5a9293[_0x160e60(0x15b)])!==null&&_0x57c2bb!==void 0x0?_0x57c2bb:'',_0x40cf8c),(0x0,config_1[_0x160e60(0x14e)])(_0x24a09f['json']),(0x0,config_1[_0x160e60(0x164)])(_0x24a09f['json']),(0x0,config_1['configDeeplink'])(_0x24a09f[_0x160e60(0x15e)]),(0x0,config_1[_0x160e60(0x14b)])(_0x24a09f[_0x160e60(0x15e)]);}}exports['PWAGenerator']=PWAGenerator,PWAGenerator[_0x31387f(0x143)]=[_0x31387f(0x145),'minimal-ui'],PWAGenerator[_0x31387f(0x160)]={'name':_0x31387f(0x13c),'display':_0x31387f(0x137),'start_url':'/','scope':'/'},PWAGenerator['useDefaultManifestJson']=![];
1
+ 'use strict';const _0x158b87=_0xfe87;function _0x1678(){const _0x5c4c5f=['base','minimal-ui','1705664vcECVW','__esModule','check\x20manifest.json:\x20ok','DisplayModes','manifest','useDefaultManifestJson','cwd','PWAGenerator','validate','warn','defaultManifestJson','checkManifestJson','133235nyhyui','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','WebSpatialTest','2318822pqCdYm','265030FYymSv','manifest-url','78946AVzlCp','162cVBGTM','../Cli','19821DHwwBE','join','loadJsonFromNet','generator','checkIcons','start_url','configStartUrl','existsSync','reset\x20manifest.json:\x20ok','config','public/manifest.webmanifest','90ZSjgQw','configId','path','configDisplay','json','26wWDghF','778757KwOPhf','bundle-id','./config','checkId','./validate','256aZqFCz','standalone','../resource/load','log','configDeeplink'];_0x1678=function(){return _0x5c4c5f;};return _0x1678();}(function(_0x28536e,_0x5a69cf){const _0x4dbe6=_0xfe87,_0x2f61c1=_0x28536e();while(!![]){try{const _0x308f3e=parseInt(_0x4dbe6(0x16b))/0x1+parseInt(_0x4dbe6(0x16a))/0x2*(-parseInt(_0x4dbe6(0x15a))/0x3)+parseInt(_0x4dbe6(0x177))/0x4+-parseInt(_0x4dbe6(0x151))/0x5*(parseInt(_0x4dbe6(0x165))/0x6)+parseInt(_0x4dbe6(0x157))/0x7*(parseInt(_0x4dbe6(0x170))/0x8)+parseInt(_0x4dbe6(0x158))/0x9*(-parseInt(_0x4dbe6(0x155))/0xa)+-parseInt(_0x4dbe6(0x154))/0xb;if(_0x308f3e===_0x5a69cf)break;else _0x2f61c1['push'](_0x2f61c1['shift']());}catch(_0x1e529a){_0x2f61c1['push'](_0x2f61c1['shift']());}}}(_0x1678,0x5fda9));Object['defineProperty'](exports,_0x158b87(0x178),{'value':!![]}),exports[_0x158b87(0x14c)]=void 0x0;const path_1=require(_0x158b87(0x167)),config_1=require(_0x158b87(0x16d)),load_1=require(_0x158b87(0x172)),validate_1=require(_0x158b87(0x16f)),fs=require('fs'),Cli_1=require(_0x158b87(0x159));function _0xfe87(_0xce7074,_0xd71871){const _0x1678c7=_0x1678();return _0xfe87=function(_0xfe8762,_0x3a46f6){_0xfe8762=_0xfe8762-0x149;let _0x2efbe6=_0x1678c7[_0xfe8762];return _0x2efbe6;},_0xfe87(_0xce7074,_0xd71871);}class PWAGenerator{static async[_0x158b87(0x15d)](_0x4d920f,_0x409fb5=![]){const _0x2af4d6=_0x158b87;let _0x4ef6b9=await this[_0x2af4d6(0x14d)](_0x4d920f,_0x409fb5);return console[_0x2af4d6(0x173)](_0x2af4d6(0x179)),await this['config'](_0x4ef6b9,_0x4d920f,_0x409fb5),console[_0x2af4d6(0x173)](_0x2af4d6(0x162)),_0x4ef6b9;}static async[_0x158b87(0x14d)](_0x1d4b08,_0x5b7c83=![]){const _0x3e6a23=_0x158b87;var _0x315dc7,_0x291e58;let _0x3a240c={},_0x50a734='',_0x37aa5b=![],_0x5e9e11=![];if(_0x1d4b08[_0x3e6a23(0x156)])_0x50a734=_0x1d4b08[_0x3e6a23(0x156)],_0x37aa5b=!![],_0x3a240c=await(0x0,load_1[_0x3e6a23(0x15c)])(_0x1d4b08[_0x3e6a23(0x156)]);else{_0x1d4b08[_0x3e6a23(0x149)]?_0x50a734=(0x0,path_1[_0x3e6a23(0x15b)])(process[_0x3e6a23(0x14b)](),_0x1d4b08['manifest']):(_0x50a734=(0x0,path_1['join'])(process[_0x3e6a23(0x14b)](),'public/manifest.json'),!fs[_0x3e6a23(0x161)](_0x50a734)&&(_0x50a734=(0x0,path_1[_0x3e6a23(0x15b)])(process['cwd'](),_0x3e6a23(0x164))));if(!fs['existsSync'](_0x50a734)){if(_0x5b7c83)_0x5e9e11=!![],Cli_1['Cli'][_0x3e6a23(0x173)][_0x3e6a23(0x14e)](_0x3e6a23(0x152));else throw new Error('manifest.json\x20or\x20manifest.webmanifest\x20not\x20found');}_0x3a240c=_0x5e9e11?this[_0x3e6a23(0x14f)]:await(0x0,load_1['loadJsonFromDisk'])(_0x50a734),this[_0x3e6a23(0x14a)]=_0x5e9e11;}(0x0,validate_1[_0x3e6a23(0x150)])(_0x3a240c,_0x5b7c83);let _0x9b91f5=(0x0,config_1[_0x3e6a23(0x160)])(_0x3a240c,(_0x315dc7=_0x1d4b08[_0x3e6a23(0x175)])!==null&&_0x315dc7!==void 0x0?_0x315dc7:'',_0x50a734,_0x37aa5b);var _0xc3aeb1=(0x0,validate_1['checkStartUrl'])(_0x9b91f5,_0x50a734,_0x37aa5b,_0x5b7c83);_0x3a240c[_0x3e6a23(0x15f)]=_0x9b91f5;if(!_0x5b7c83)(0x0,validate_1[_0x3e6a23(0x16e)])(_0x3a240c,(_0x291e58=_0x1d4b08[_0x3e6a23(0x16c)])!==null&&_0x291e58!==void 0x0?_0x291e58:'');return await(0x0,validate_1[_0x3e6a23(0x15e)])(_0x3a240c,_0x50a734,_0x5b7c83),{'json':_0x3a240c,'url':_0x50a734,'fromNet':_0xc3aeb1};}static[_0x158b87(0x163)](_0xd97995,_0xd09fa8,_0x5f5421){const _0x97f0b1=_0x158b87;var _0x395c82;(0x0,config_1[_0x97f0b1(0x166)])(_0xd97995['json'],(_0x395c82=_0xd09fa8['bundle-id'])!==null&&_0x395c82!==void 0x0?_0x395c82:'',_0x5f5421),(0x0,config_1['configScope'])(_0xd97995['json']),(0x0,config_1[_0x97f0b1(0x168)])(_0xd97995[_0x97f0b1(0x169)]),(0x0,config_1[_0x97f0b1(0x174)])(_0xd97995[_0x97f0b1(0x169)]),(0x0,config_1['configMainScene'])(_0xd97995[_0x97f0b1(0x169)]);}}exports[_0x158b87(0x14c)]=PWAGenerator,PWAGenerator[_0x158b87(0x17a)]=[_0x158b87(0x171),_0x158b87(0x176)],PWAGenerator[_0x158b87(0x14f)]={'name':_0x158b87(0x153),'display':'minimal-ui','start_url':'/','scope':'/'},PWAGenerator[_0x158b87(0x14a)]=![];
@@ -1 +1 @@
1
- 'use strict';const _0x63dff9=_0x5af9;(function(_0x3ec0ff,_0x27e4a1){const _0x463ff9=_0x5af9,_0x31e5ef=_0x3ec0ff();while(!![]){try{const _0x263b32=parseInt(_0x463ff9(0x161))/0x1+-parseInt(_0x463ff9(0x176))/0x2+parseInt(_0x463ff9(0x185))/0x3+-parseInt(_0x463ff9(0x173))/0x4+-parseInt(_0x463ff9(0x18c))/0x5*(-parseInt(_0x463ff9(0x170))/0x6)+-parseInt(_0x463ff9(0x171))/0x7+-parseInt(_0x463ff9(0x166))/0x8*(-parseInt(_0x463ff9(0x172))/0x9);if(_0x263b32===_0x27e4a1)break;else _0x31e5ef['push'](_0x31e5ef['shift']());}catch(_0x5eef70){_0x31e5ef['push'](_0x31e5ef['shift']());}}}(_0x3068,0x28d2c));function _0x5af9(_0x2e3bfb,_0x5f400f){const _0x306875=_0x3068();return _0x5af9=function(_0x5af965,_0x1cf827){_0x5af965=_0x5af965-0x160;let _0x21cd66=_0x306875[_0x5af965];return _0x21cd66;},_0x5af9(_0x2e3bfb,_0x5f400f);}Object[_0x63dff9(0x192)](exports,'__esModule',{'value':!![]}),exports[_0x63dff9(0x160)]=checkManifestJson,exports[_0x63dff9(0x18f)]=checkStartUrl,exports[_0x63dff9(0x189)]=checkIcons,exports[_0x63dff9(0x16b)]=checkId,exports[_0x63dff9(0x18e)]=validateBundleId,exports[_0x63dff9(0x16e)]=validateURL;const path_1=require(_0x63dff9(0x175)),CustomError_1=require(_0x63dff9(0x164)),utils_1=require(_0x63dff9(0x174)),imageHelper_1=require(_0x63dff9(0x17f)),load_1=require('../resource/load'),Cli_1=require('../Cli');function checkManifestJson(_0xd24037,_0x1e2a48=![]){const _0xe5295c=_0x63dff9;var _0x3455c0;const _0x361d87=[];!_0xd24037['name']&&!_0xd24037[_0xe5295c(0x190)]&&!_0x1e2a48&&_0x361d87[_0xe5295c(0x168)]({'code':0xbbe,'message':_0xe5295c(0x17e),'message_staring_params':{}});!((_0x3455c0=_0xd24037['icons'])===null||_0x3455c0===void 0x0?void 0x0:_0x3455c0['length'])&&!_0x1e2a48&&_0x361d87[_0xe5295c(0x168)]({'code':0xbbf,'message':_0xe5295c(0x194),'message_staring_params':{}});!_0xd24037[_0xe5295c(0x179)]&&_0x361d87['push']({'code':0xbc0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','message_staring_params':{}});if(_0x361d87[_0xe5295c(0x177)])throw new CustomError_1[(_0xe5295c(0x17c))](_0x361d87);}function checkStartUrl(_0x20b4c9,_0x30e848,_0x7be650,_0x11c42b=![]){const _0x302bed=_0x63dff9;var _0x38dc6a=![];if(_0x11c42b)return _0x20b4c9[_0x302bed(0x169)](_0x302bed(0x16f))||_0x20b4c9[_0x302bed(0x169)](_0x302bed(0x182));if(_0x7be650){if(_0x20b4c9['startsWith'](_0x302bed(0x16f))){const _0x399f05=new URL(_0x20b4c9),_0x15d4aa=new URL(_0x30e848);if(_0x399f05[_0x302bed(0x181)]!==_0x15d4aa[_0x302bed(0x181)])throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x302bed(0x162),'message_staring_params':{}});}else{if(_0x20b4c9['startsWith'](_0x302bed(0x182)))throw new CustomError_1[(_0x302bed(0x17c))]({'code':0xfa0,'message':_0x302bed(0x193),'message_staring_params':{}});}}else{if(_0x20b4c9[_0x302bed(0x169)](_0x302bed(0x16f))||_0x20b4c9['startsWith'](_0x302bed(0x182)))throw new CustomError_1[(_0x302bed(0x17c))]({'code':0xfa0,'message':_0x302bed(0x188),'message_staring_params':{}});}return _0x38dc6a;}async function checkIcons(_0x4f534f,_0x48d2a5,_0x4d49b1=![]){const _0x5d140b=_0x63dff9;var _0x5a64e0,_0x500a13;if(!((_0x5a64e0=_0x4f534f[_0x5d140b(0x18a)])===null||_0x5a64e0===void 0x0?void 0x0:_0x5a64e0[_0x5d140b(0x177)])&&_0x4d49b1){Cli_1[_0x5d140b(0x186)]['log'][_0x5d140b(0x165)]('icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode');return;}const _0x40c2c3=(0x0,utils_1[_0x5d140b(0x167)])(_0x48d2a5);let _0x4a91c9,_0x55a530,_0x5ddcd0,_0x1649bf=0x0;for(var _0x4a74eb=0x0;_0x4a74eb<_0x4f534f[_0x5d140b(0x18a)]['length'];_0x4a74eb++){const _0x6a0793=_0x4f534f[_0x5d140b(0x18a)][_0x4a74eb];let _0x28665e=((_0x500a13=_0x6a0793[_0x5d140b(0x163)])===null||_0x500a13===void 0x0?void 0x0:_0x500a13[_0x5d140b(0x191)](_0x5d140b(0x187)))>=0x0;if(!_0x28665e)continue;let _0x29d948=![],_0x13879e=_0x6a0793[_0x5d140b(0x18b)],_0x2b4c92,_0x473240=0x0;!validateURL(_0x13879e)&&(_0x13879e=(0x0,path_1['join'])(_0x40c2c3,_0x13879e));if(_0x6a0793['sizes']){const _0xed0042=_0x6a0793['sizes'][_0x5d140b(0x18d)]('\x20');_0xed0042['forEach'](_0x4f8379=>{const _0x4e9c5d=_0x5d140b;let _0x5eee60=_0x4f8379[_0x4e9c5d(0x18d)]('x');Number(_0x5eee60[0x0])>=0x400&&Number(_0x5eee60[0x1])>=0x400&&(_0x29d948=!![],Number(_0x5eee60[0x0])>_0x473240&&(_0x473240=Number(_0x5eee60[0x0])));});}else _0x2b4c92=!_0x13879e[_0x5d140b(0x169)](_0x5d140b(0x16a))?await(0x0,load_1[_0x5d140b(0x184)])(_0x13879e):await(0x0,load_1[_0x5d140b(0x17a)])(_0x13879e),_0x2b4c92['getWidth']()>=0x400&&_0x2b4c92['getHeight']()>=0x400&&(_0x29d948=!![],_0x2b4c92[_0x5d140b(0x178)]()>_0x473240&&(_0x473240=_0x2b4c92[_0x5d140b(0x178)]()));_0x29d948&&_0x28665e&&(_0x473240>_0x1649bf&&(_0x1649bf=_0x473240,_0x4a91c9=_0x2b4c92,_0x55a530=_0x13879e,_0x5ddcd0=_0x6a0793[_0x5d140b(0x163)]));}if(_0x1649bf===0x0){if(_0x4d49b1){Cli_1[_0x5d140b(0x186)][_0x5d140b(0x17d)][_0x5d140b(0x165)](_0x5d140b(0x17b));return;}throw new CustomError_1[(_0x5d140b(0x17c))]({'code':0xfa0,'message':_0x5d140b(0x17b),'message_staring_params':{}});}else _0x55a530&&(_0x4a91c9=!_0x55a530['startsWith'](_0x5d140b(0x16a))?await(0x0,load_1[_0x5d140b(0x184)])(_0x55a530):await(0x0,load_1[_0x5d140b(0x17a)])(_0x55a530));if(_0x4a91c9&&!imageHelper_1['ImageHelper'][_0x5d140b(0x16c)](_0x4a91c9)){if(_0x4d49b1){Cli_1[_0x5d140b(0x186)][_0x5d140b(0x17d)][_0x5d140b(0x165)]('In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable');return;}throw new CustomError_1[(_0x5d140b(0x17c))]({'code':0xfa0,'message':_0x5d140b(0x16d),'message_staring_params':{}});}_0x4f534f[_0x5d140b(0x18a)]=[{'src':_0x55a530,'sizes':_0x1649bf+'x'+_0x1649bf,'purpose':_0x5ddcd0}];}function _0x3068(){const _0x5d3c54=['In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','checkManifestJson','225570OTWPcT','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','purpose','../utils/CustomError','warn','8FbwfXO','parseRouter','push','startsWith','http','checkId','isFullyOpaque','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','validateURL','https://','1247838RDHNNT','207347cSknvf','157743XDxyib','1316456BElXBk','../utils/utils','path','417572zxxpZd','length','getWidth','start_url','loadImageFromNet','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','CustomError','log','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','../resource/imageHelper','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','host','http://','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','loadImageFromDisk','850989MbJLug','Cli','maskable','Local\x20manifest\x20cannot\x20package\x20network\x20project','checkIcons','icons','src','5JMKEnF','split','validateBundleId','checkStartUrl','short_name','indexOf','defineProperty','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https'];_0x3068=function(){return _0x5d3c54;};return _0x3068();}function checkId(_0x32f08b,_0x301cfa){const _0x35b2a9=_0x63dff9;if(_0x301cfa){if(!validateBundleId(_0x301cfa))throw new CustomError_1[(_0x35b2a9(0x17c))]({'code':0xfa0,'message':_0x35b2a9(0x183),'message_staring_params':{}});return;}!_0x32f08b['id']&&(_0x32f08b['id']=_0x32f08b[_0x35b2a9(0x179)]);if(!validateURL(_0x32f08b['id'])&&!_0x301cfa)throw new CustomError_1[(_0x35b2a9(0x17c))]({'code':0xfa0,'message':_0x35b2a9(0x180),'message_staring_params':{}});}function validateBundleId(_0x3bd780){const _0x2ffe1c=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x2ffe1c['test'](_0x3bd780);}function validateURL(_0x10d5c7){try{return new URL(_0x10d5c7),!![];}catch(_0x4cbf65){return![];}}
1
+ 'use strict';function _0x5b51(_0x5a654c,_0x4b51c9){const _0x2ae824=_0x2ae8();return _0x5b51=function(_0x5b517c,_0x45d572){_0x5b517c=_0x5b517c-0xdb;let _0x1bf6e0=_0x2ae824[_0x5b517c];return _0x1bf6e0;},_0x5b51(_0x5a654c,_0x4b51c9);}const _0x5b84eb=_0x5b51;(function(_0x44f10f,_0x2064e3){const _0xcef44c=_0x5b51,_0x248286=_0x44f10f();while(!![]){try{const _0xf5ccd3=parseInt(_0xcef44c(0x108))/0x1+parseInt(_0xcef44c(0xf0))/0x2+parseInt(_0xcef44c(0xe4))/0x3+parseInt(_0xcef44c(0xfd))/0x4*(-parseInt(_0xcef44c(0x101))/0x5)+-parseInt(_0xcef44c(0xee))/0x6*(-parseInt(_0xcef44c(0xf4))/0x7)+parseInt(_0xcef44c(0x111))/0x8*(parseInt(_0xcef44c(0xfb))/0x9)+parseInt(_0xcef44c(0x10c))/0xa*(-parseInt(_0xcef44c(0xff))/0xb);if(_0xf5ccd3===_0x2064e3)break;else _0x248286['push'](_0x248286['shift']());}catch(_0x10a8a6){_0x248286['push'](_0x248286['shift']());}}}(_0x2ae8,0xb0575));function _0x2ae8(){const _0x5ae748=['In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','7CvLqTO','getWidth','http','src','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','icons','sizes','18639dlDefs','http://','1304rDMowj','checkManifestJson','694617aiSFtl','loadImageFromNet','11945emHKsB','Cli','forEach','startsWith','warn','loadImageFromDisk','path','657123GTDVgf','checkId','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','log','370RLyuto','checkIcons','defineProperty','CustomError','icon\x20does\x20not\x20meet\x20the\x20standard,\x20use\x20default\x20icon\x20in\x20run\x20mode','2008qfhQvw','getHeight','push','parseRouter','../../assets/icon-default.png','../resource/imageHelper','purpose','split','../resource/load','maskable','1024x1024','validateURL','isFullyOpaque','1989321wDGnml','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','start_url','https://','host','ImageHelper','join','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','name','7374756Bniuus','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','1536738NfHnmH','__esModule','length'];_0x2ae8=function(){return _0x5ae748;};return _0x2ae8();}Object[_0x5b84eb(0x10e)](exports,_0x5b84eb(0xf1),{'value':!![]}),exports[_0x5b84eb(0xfe)]=checkManifestJson,exports['checkStartUrl']=checkStartUrl,exports[_0x5b84eb(0x10d)]=checkIcons,exports[_0x5b84eb(0x109)]=checkId,exports['validateBundleId']=validateBundleId,exports[_0x5b84eb(0xe2)]=validateURL;const path_1=require(_0x5b84eb(0x107)),CustomError_1=require('../utils/CustomError'),utils_1=require('../utils/utils'),imageHelper_1=require(_0x5b84eb(0xdc)),load_1=require(_0x5b84eb(0xdf)),Cli_1=require('../Cli');function checkManifestJson(_0x5a3747,_0xbfc3ef=![]){const _0x3fa6de=_0x5b84eb;var _0x32771b;const _0x476cf2=[];!_0x5a3747[_0x3fa6de(0xed)]&&!_0x5a3747['short_name']&&!_0xbfc3ef&&_0x476cf2['push']({'code':0xbbe,'message':_0x3fa6de(0xe5),'message_staring_params':{}});!((_0x32771b=_0x5a3747[_0x3fa6de(0xf9)])===null||_0x32771b===void 0x0?void 0x0:_0x32771b['length'])&&!_0xbfc3ef&&_0x476cf2[_0x3fa6de(0x113)]({'code':0xbbf,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','message_staring_params':{}});!_0x5a3747[_0x3fa6de(0xe6)]&&!_0xbfc3ef&&_0x476cf2[_0x3fa6de(0x113)]({'code':0xbc0,'message':_0x3fa6de(0xec),'message_staring_params':{}});if(_0x476cf2[_0x3fa6de(0xf2)])throw new CustomError_1[(_0x3fa6de(0x10f))](_0x476cf2);}function checkStartUrl(_0x176200,_0x534d62,_0x4cf8e8,_0x46c396=![]){const _0x426e21=_0x5b84eb;var _0x3390fe=![];if(_0x46c396)return _0x176200[_0x426e21(0x104)](_0x426e21(0xe7))||_0x176200[_0x426e21(0x104)](_0x426e21(0xfc));if(_0x4cf8e8){if(_0x176200['startsWith'](_0x426e21(0xe7))){const _0x348ebc=new URL(_0x176200),_0xc7f1f2=new URL(_0x534d62);if(_0x348ebc['host']!==_0xc7f1f2[_0x426e21(0xe8)])throw new CustomError_1[(_0x426e21(0x10f))]({'code':0xfa0,'message':_0x426e21(0xf3),'message_staring_params':{}});}else{if(_0x176200[_0x426e21(0x104)](_0x426e21(0xfc)))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x426e21(0xeb),'message_staring_params':{}});}}else{if(_0x176200[_0x426e21(0x104)](_0x426e21(0xe7))||_0x176200[_0x426e21(0x104)](_0x426e21(0xfc)))throw new CustomError_1[(_0x426e21(0x10f))]({'code':0xfa0,'message':'Local\x20manifest\x20cannot\x20package\x20network\x20project','message_staring_params':{}});}return _0x3390fe;}async function checkIcons(_0x435e3b,_0x30e0ad,_0x5c43bd=![]){const _0x148fd9=_0x5b84eb;var _0x4d37b0,_0x3db45e;if(!((_0x4d37b0=_0x435e3b[_0x148fd9(0xf9)])===null||_0x4d37b0===void 0x0?void 0x0:_0x4d37b0[_0x148fd9(0xf2)])&&_0x5c43bd){_0x435e3b[_0x148fd9(0xf9)]=[{'src':(0x0,path_1[_0x148fd9(0xea)])(__dirname,_0x148fd9(0xdb)),'sizes':_0x148fd9(0xe1),'purpose':_0x148fd9(0xe0)}],Cli_1[_0x148fd9(0x102)][_0x148fd9(0x10b)][_0x148fd9(0x105)]('icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode');return;}const _0x15c564=(0x0,utils_1[_0x148fd9(0x114)])(_0x30e0ad);let _0x31d7f4,_0x1a6502,_0x307276,_0x48ebf1=0x0;for(var _0x410b70=0x0;_0x410b70<_0x435e3b[_0x148fd9(0xf9)][_0x148fd9(0xf2)];_0x410b70++){const _0x2599fd=_0x435e3b[_0x148fd9(0xf9)][_0x410b70];let _0x44e461=((_0x3db45e=_0x2599fd[_0x148fd9(0xdd)])===null||_0x3db45e===void 0x0?void 0x0:_0x3db45e['indexOf']('maskable'))>=0x0;if(!_0x44e461)continue;let _0x37f5a7=![],_0x5beb20=_0x2599fd[_0x148fd9(0xf7)],_0x237bb7,_0x3e65fb=0x0;!validateURL(_0x5beb20)&&(_0x5beb20=(0x0,path_1[_0x148fd9(0xea)])(_0x15c564,_0x5beb20));if(_0x2599fd['sizes']){const _0x373b09=_0x2599fd[_0x148fd9(0xfa)][_0x148fd9(0xde)]('\x20');_0x373b09[_0x148fd9(0x103)](_0x101846=>{const _0x1ebba7=_0x148fd9;let _0x9a879f=_0x101846[_0x1ebba7(0xde)]('x');Number(_0x9a879f[0x0])>=0x400&&Number(_0x9a879f[0x1])>=0x400&&(_0x37f5a7=!![],Number(_0x9a879f[0x0])>_0x3e65fb&&(_0x3e65fb=Number(_0x9a879f[0x0])));});}else _0x237bb7=!_0x5beb20['startsWith']('http')?await(0x0,load_1[_0x148fd9(0x106)])(_0x5beb20):await(0x0,load_1[_0x148fd9(0x100)])(_0x5beb20),_0x237bb7['getWidth']()>=0x400&&_0x237bb7[_0x148fd9(0x112)]()>=0x400&&(_0x37f5a7=!![],_0x237bb7[_0x148fd9(0xf5)]()>_0x3e65fb&&(_0x3e65fb=_0x237bb7[_0x148fd9(0xf5)]()));_0x37f5a7&&_0x44e461&&(_0x3e65fb>_0x48ebf1&&(_0x48ebf1=_0x3e65fb,_0x31d7f4=_0x237bb7,_0x1a6502=_0x5beb20,_0x307276=_0x2599fd[_0x148fd9(0xdd)]));}if(_0x48ebf1===0x0){if(_0x5c43bd){_0x435e3b[_0x148fd9(0xf9)]=[{'src':(0x0,path_1['join'])(__dirname,_0x148fd9(0xdb)),'sizes':_0x148fd9(0xe1),'purpose':_0x148fd9(0xe0)}],Cli_1[_0x148fd9(0x102)]['log'][_0x148fd9(0x105)]('In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable'),Cli_1['Cli'][_0x148fd9(0x10b)][_0x148fd9(0x105)](_0x148fd9(0x110));return;}throw new CustomError_1[(_0x148fd9(0x10f))]({'code':0xfa0,'message':_0x148fd9(0xf8),'message_staring_params':{}});}else _0x1a6502&&(_0x31d7f4=!_0x1a6502[_0x148fd9(0x104)](_0x148fd9(0xf6))?await(0x0,load_1[_0x148fd9(0x106)])(_0x1a6502):await(0x0,load_1['loadImageFromNet'])(_0x1a6502));if(_0x31d7f4&&!imageHelper_1[_0x148fd9(0xe9)][_0x148fd9(0xe3)](_0x31d7f4)){if(_0x5c43bd){Cli_1['Cli'][_0x148fd9(0x10b)]['warn'](_0x148fd9(0xf8));return;}throw new CustomError_1[(_0x148fd9(0x10f))]({'code':0xfa0,'message':_0x148fd9(0xef),'message_staring_params':{}});}_0x435e3b['icons']=[{'src':_0x1a6502,'sizes':_0x48ebf1+'x'+_0x48ebf1,'purpose':_0x307276}];}function checkId(_0x955efb,_0x14f0fb){const _0x30f9be=_0x5b84eb;if(_0x14f0fb){if(!validateBundleId(_0x14f0fb))throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','message_staring_params':{}});return;}!_0x955efb['id']&&(_0x955efb['id']=_0x955efb[_0x30f9be(0xe6)]);if(!validateURL(_0x955efb['id'])&&!_0x14f0fb)throw new CustomError_1[(_0x30f9be(0x10f))]({'code':0xfa0,'message':_0x30f9be(0x10a),'message_staring_params':{}});}function validateBundleId(_0x1e15de){const _0xdbc9bf=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0xdbc9bf['test'](_0x1e15de);}function validateURL(_0x193447){try{return new URL(_0x193447),!![];}catch(_0x549ffe){return![];}}
@@ -1 +1 @@
1
- 'use strict';const _0x440d4c=_0x2e7a;(function(_0x2b3f3a,_0x32bb24){const _0x27212e=_0x2e7a,_0x408893=_0x2b3f3a();while(!![]){try{const _0x45a283=-parseInt(_0x27212e(0x190))/0x1+parseInt(_0x27212e(0x188))/0x2+parseInt(_0x27212e(0x185))/0x3+parseInt(_0x27212e(0x184))/0x4+parseInt(_0x27212e(0x187))/0x5+parseInt(_0x27212e(0x182))/0x6*(parseInt(_0x27212e(0x18c))/0x7)+-parseInt(_0x27212e(0x18a))/0x8;if(_0x45a283===_0x32bb24)break;else _0x408893['push'](_0x408893['shift']());}catch(_0x5a7e58){_0x408893['push'](_0x408893['shift']());}}}(_0x3813,0x4c415));function _0x3813(){const _0x51fd5c=['forEach','readFileSync','unlinkSync','134346uXaZSL','log','260536DPCgLY','744135HfPPHV','isDirectory','3092430oPvbzS','600976xEtLNU','copyDir','8602568qZupAr','writeFileSync','84TFHgCI','readdirSync','__esModule','isFile','113183QTFSnu','clearDir','statSync','existsSync'];_0x3813=function(){return _0x51fd5c;};return _0x3813();}Object['defineProperty'](exports,_0x440d4c(0x18e),{'value':!![]}),exports[_0x440d4c(0x189)]=copyDir,exports[_0x440d4c(0x191)]=clearDir;const fs=require('fs');function copyDir(_0x45b9f2,_0x3f0bcd){const _0x499e14=_0x440d4c,_0x5a347c=fs[_0x499e14(0x18d)](_0x45b9f2);_0x5a347c[_0x499e14(0x194)](_0x50bf16=>{const _0x3db171=_0x499e14,_0x5d9ef6=_0x45b9f2+'/'+_0x50bf16,_0x27c24a=_0x3f0bcd+'/'+_0x50bf16,_0xc13c6b=fs[_0x3db171(0x192)](_0x5d9ef6);if(_0xc13c6b[_0x3db171(0x18f)]())try{fs[_0x3db171(0x18b)](_0x27c24a,fs[_0x3db171(0x195)](_0x5d9ef6));}catch(_0x8dda78){console['log'](_0x8dda78);}else _0xc13c6b[_0x3db171(0x186)]()&&(!fs[_0x3db171(0x193)](_0x27c24a)&&fs['mkdirSync'](_0x27c24a,{'recursive':!![]}),copyDir(_0x5d9ef6,_0x27c24a));});}function _0x2e7a(_0x2172ee,_0x50edda){const _0x38139c=_0x3813();return _0x2e7a=function(_0x2e7a6f,_0x3ddc02){_0x2e7a6f=_0x2e7a6f-0x182;let _0x102186=_0x38139c[_0x2e7a6f];return _0x102186;},_0x2e7a(_0x2172ee,_0x50edda);}function clearDir(_0x378c62){const _0x50d16a=_0x440d4c,_0x125071=fs[_0x50d16a(0x18d)](_0x378c62);_0x125071['forEach'](_0x3c4899=>{const _0x3ba598=_0x50d16a,_0x306091=_0x378c62+'/'+_0x3c4899,_0x36925c=fs[_0x3ba598(0x192)](_0x306091);if(_0x36925c[_0x3ba598(0x18f)]())try{fs[_0x3ba598(0x196)](_0x306091);}catch(_0x20b966){console[_0x3ba598(0x183)](_0x20b966);}else _0x36925c[_0x3ba598(0x186)]()&&clearDir(_0x306091);});}
1
+ 'use strict';const _0x5ba37f=_0x29af;function _0x4edc(){const _0x300d98=['statSync','readdirSync','173257qPPfYx','694539DNNPxU','__esModule','594976IBKTNj','2793910SdHjgL','mkdirSync','log','isDirectory','1962594mGQUSa','446664CxgrpV','267Duoutb','26684WbEcPK','copyDir','writeFileSync','isFile','unlinkSync','existsSync','7OttOPG','forEach','70Fjjenv','defineProperty'];_0x4edc=function(){return _0x300d98;};return _0x4edc();}(function(_0x2f2be6,_0x2e2c31){const _0x122371=_0x29af,_0x5b61ec=_0x2f2be6();while(!![]){try{const _0x571162=-parseInt(_0x122371(0x1a4))/0x1+-parseInt(_0x122371(0x1a7))/0x2+parseInt(_0x122371(0x197))/0x3*(-parseInt(_0x122371(0x198))/0x4)+parseInt(_0x122371(0x191))/0x5+parseInt(_0x122371(0x195))/0x6+parseInt(_0x122371(0x19e))/0x7*(-parseInt(_0x122371(0x196))/0x8)+parseInt(_0x122371(0x1a5))/0x9*(parseInt(_0x122371(0x1a0))/0xa);if(_0x571162===_0x2e2c31)break;else _0x5b61ec['push'](_0x5b61ec['shift']());}catch(_0xea6c12){_0x5b61ec['push'](_0x5b61ec['shift']());}}}(_0x4edc,0x4aa75));Object[_0x5ba37f(0x1a1)](exports,_0x5ba37f(0x1a6),{'value':!![]}),exports[_0x5ba37f(0x199)]=copyDir,exports['clearDir']=clearDir;const fs=require('fs');function _0x29af(_0x64f78e,_0x21fb0a){const _0x4edc7c=_0x4edc();return _0x29af=function(_0x29aff4,_0x36d375){_0x29aff4=_0x29aff4-0x191;let _0x5b0c1c=_0x4edc7c[_0x29aff4];return _0x5b0c1c;},_0x29af(_0x64f78e,_0x21fb0a);}function copyDir(_0xb2c443,_0x21b989){const _0x354bff=_0x5ba37f,_0x19e358=fs[_0x354bff(0x1a3)](_0xb2c443);_0x19e358[_0x354bff(0x19f)](_0x5926e3=>{const _0x402e9f=_0x354bff,_0x5a31f3=_0xb2c443+'/'+_0x5926e3,_0x37a041=_0x21b989+'/'+_0x5926e3,_0x4a4752=fs[_0x402e9f(0x1a2)](_0x5a31f3);if(_0x4a4752['isFile']())try{fs[_0x402e9f(0x19a)](_0x37a041,fs['readFileSync'](_0x5a31f3));}catch(_0x39ac78){console[_0x402e9f(0x193)](_0x39ac78);}else _0x4a4752[_0x402e9f(0x194)]()&&(!fs[_0x402e9f(0x19d)](_0x37a041)&&fs[_0x402e9f(0x192)](_0x37a041,{'recursive':!![]}),copyDir(_0x5a31f3,_0x37a041));});}function clearDir(_0x365746){const _0x4a213c=_0x5ba37f,_0x554d0b=fs[_0x4a213c(0x1a3)](_0x365746);_0x554d0b[_0x4a213c(0x19f)](_0x32211e=>{const _0x2293ff=_0x4a213c,_0x453a3a=_0x365746+'/'+_0x32211e,_0x1a2d53=fs[_0x2293ff(0x1a2)](_0x453a3a);if(_0x1a2d53[_0x2293ff(0x19b)]())try{fs[_0x2293ff(0x19c)](_0x453a3a);}catch(_0x91ddd1){console[_0x2293ff(0x193)](_0x91ddd1);}else _0x1a2d53[_0x2293ff(0x194)]()&&clearDir(_0x453a3a);});}
@@ -1 +1 @@
1
- 'use strict';const _0x2aaaf1=_0x4763;function _0x55d0(){const _0x579a58=['24eSipVc','defineProperty','toBuffer','127570CZZUCl','asPng','render','png','bitmap','31981433zQHleI','isFullyOpaque','87993KfyQVY','ImageHelper','110gPCyjd','Resvg','getWidth','getHeight','svg2img','2314716szxLAv','1053WiaEwh','65595wrVtnh','__esModule','sharp','1369690obkwDp','width','data','@resvg/resvg-js','80qvgVBj','943684nxnrgB','toFormat'];_0x55d0=function(){return _0x579a58;};return _0x55d0();}function _0x4763(_0xde7c42,_0xdb4f9){const _0x55d0d6=_0x55d0();return _0x4763=function(_0x476399,_0x5b6a73){_0x476399=_0x476399-0x1d5;let _0x11a7ec=_0x55d0d6[_0x476399];return _0x11a7ec;},_0x4763(_0xde7c42,_0xdb4f9);}(function(_0x366242,_0x20dd33){const _0x491050=_0x4763,_0x16afd5=_0x366242();while(!![]){try{const _0x71d30f=-parseInt(_0x491050(0x1e2))/0x1+parseInt(_0x491050(0x1e4))/0x2*(-parseInt(_0x491050(0x1eb))/0x3)+parseInt(_0x491050(0x1e9))/0x4+-parseInt(_0x491050(0x1ee))/0x5*(parseInt(_0x491050(0x1d8))/0x6)+-parseInt(_0x491050(0x1d6))/0x7*(-parseInt(_0x491050(0x1d5))/0x8)+parseInt(_0x491050(0x1ea))/0x9*(-parseInt(_0x491050(0x1db))/0xa)+parseInt(_0x491050(0x1e0))/0xb;if(_0x71d30f===_0x20dd33)break;else _0x16afd5['push'](_0x16afd5['shift']());}catch(_0x159e1b){_0x16afd5['push'](_0x16afd5['shift']());}}}(_0x55d0,0xe93b1));Object[_0x2aaaf1(0x1d9)](exports,_0x2aaaf1(0x1ec),{'value':!![]}),exports[_0x2aaaf1(0x1e3)]=void 0x0;const Jimp=require('jimp'),sharp=require(_0x2aaaf1(0x1ed)),resvg_js_1=require(_0x2aaaf1(0x1f1));class ImageHelper{static['createImg'](_0x149f06){return new Jimp(_0x149f06,_0x149f06,0x0);}static async['webp2PngBuffer'](_0x574c89){const _0x372bea=_0x2aaaf1;return await sharp(_0x574c89)[_0x372bea(0x1d7)](_0x372bea(0x1de))[_0x372bea(0x1da)]();}static async[_0x2aaaf1(0x1e8)](_0x3decdd){const _0xc55257=_0x2aaaf1,_0x2ad9ff={'fitTo':{'mode':_0xc55257(0x1ef),'value':0x400}},_0x401058=new resvg_js_1[(_0xc55257(0x1e5))](_0x3decdd,_0x2ad9ff),_0x2d9ad4=_0x401058[_0xc55257(0x1dd)](),_0x13a7ae=_0x2d9ad4[_0xc55257(0x1dc)]();return _0x13a7ae;}static[_0x2aaaf1(0x1e1)](_0x4eb7d9){const _0xf1135b=_0x2aaaf1,_0x4edbcc=_0x4eb7d9[_0xf1135b(0x1e6)]()*_0x4eb7d9[_0xf1135b(0x1e7)]();for(var _0x3f225f=0x0;_0x3f225f<_0x4edbcc;_0x3f225f++){const _0x4160ed=_0x3f225f*0x4+0x3;if(_0x4eb7d9[_0xf1135b(0x1df)][_0xf1135b(0x1f0)][_0x4160ed]<0xff)return![];}return!![];}}exports[_0x2aaaf1(0x1e3)]=ImageHelper;
1
+ 'use strict';const _0x5bac54=_0x235c;(function(_0x363fde,_0x3d5670){const _0x124173=_0x235c,_0xf348e=_0x363fde();while(!![]){try{const _0x406033=-parseInt(_0x124173(0x14d))/0x1*(parseInt(_0x124173(0x153))/0x2)+-parseInt(_0x124173(0x150))/0x3+-parseInt(_0x124173(0x145))/0x4*(parseInt(_0x124173(0x140))/0x5)+-parseInt(_0x124173(0x143))/0x6+parseInt(_0x124173(0x14c))/0x7+parseInt(_0x124173(0x154))/0x8+parseInt(_0x124173(0x13f))/0x9*(parseInt(_0x124173(0x142))/0xa);if(_0x406033===_0x3d5670)break;else _0xf348e['push'](_0xf348e['shift']());}catch(_0x52c6c0){_0xf348e['push'](_0xf348e['shift']());}}}(_0x5155,0x3f423));function _0x235c(_0x2d449f,_0x34f0ae){const _0x515595=_0x5155();return _0x235c=function(_0x235c84,_0x3da3cf){_0x235c84=_0x235c84-0x13e;let _0x19ac96=_0x515595[_0x235c84];return _0x19ac96;},_0x235c(_0x2d449f,_0x34f0ae);}function _0x5155(){const _0xb1672=['svg2img','getHeight','1269657hCQSGd','1196955gpUJsZ','sharp','50XTImyW','374418zaKucU','jimp','4KfTIaK','getWidth','@resvg/resvg-js','webp2PngBuffer','toBuffer','render','createImg','291683BwZRbD','1cxklQl','bitmap','data','1473801eVmxcS','width','toFormat','266268wOGkss','3506144nZfTtM','png'];_0x5155=function(){return _0xb1672;};return _0x5155();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['ImageHelper']=void 0x0;const Jimp=require(_0x5bac54(0x144)),sharp=require(_0x5bac54(0x141)),resvg_js_1=require(_0x5bac54(0x147));class ImageHelper{static[_0x5bac54(0x14b)](_0x2f6b93){return new Jimp(_0x2f6b93,_0x2f6b93,0x0);}static async[_0x5bac54(0x148)](_0x305165){const _0x3169d5=_0x5bac54;return await sharp(_0x305165)[_0x3169d5(0x152)](_0x3169d5(0x155))[_0x3169d5(0x149)]();}static async[_0x5bac54(0x156)](_0x11c977){const _0x2dc96e=_0x5bac54,_0x3f37d2={'fitTo':{'mode':_0x2dc96e(0x151),'value':0x400}},_0x428633=new resvg_js_1['Resvg'](_0x11c977,_0x3f37d2),_0x42173e=_0x428633[_0x2dc96e(0x14a)](),_0x20edc1=_0x42173e['asPng']();return _0x20edc1;}static['isFullyOpaque'](_0x3fb498){const _0x50de15=_0x5bac54,_0x38674e=_0x3fb498[_0x50de15(0x146)]()*_0x3fb498[_0x50de15(0x13e)]();for(var _0xf016dd=0x0;_0xf016dd<_0x38674e;_0xf016dd++){const _0x52aafb=_0xf016dd*0x4+0x3;if(_0x3fb498[_0x50de15(0x14e)][_0x50de15(0x14f)][_0x52aafb]<0xff)return![];}return!![];}}exports['ImageHelper']=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';const _0x32ef97=_0x4516;(function(_0x33f68d,_0x4305aa){const _0x556ae9=_0x4516,_0x49fc9a=_0x33f68d();while(!![]){try{const _0x17c228=-parseInt(_0x556ae9(0x133))/0x1*(-parseInt(_0x556ae9(0x12f))/0x2)+-parseInt(_0x556ae9(0x127))/0x3*(-parseInt(_0x556ae9(0x13f))/0x4)+-parseInt(_0x556ae9(0x11e))/0x5+parseInt(_0x556ae9(0x143))/0x6*(-parseInt(_0x556ae9(0x11a))/0x7)+parseInt(_0x556ae9(0x132))/0x8+-parseInt(_0x556ae9(0x130))/0x9+-parseInt(_0x556ae9(0x131))/0xa;if(_0x17c228===_0x4305aa)break;else _0x49fc9a['push'](_0x49fc9a['shift']());}catch(_0x41da56){_0x49fc9a['push'](_0x49fc9a['shift']());}}}(_0x55df,0x70e24));Object[_0x32ef97(0x128)](exports,'__esModule',{'value':!![]}),exports[_0x32ef97(0x141)]=exports[_0x32ef97(0x13a)]=exports[_0x32ef97(0x11d)]=exports[_0x32ef97(0x11f)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x32ef97(0x126)]=exports[_0x32ef97(0x12a)]=exports[_0x32ef97(0x136)]=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require(_0x32ef97(0x12d)),load_1=require('./load'),child_process_1=require(_0x32ef97(0x123));exports['PROJECT_DIRECTORY']='',exports[_0x32ef97(0x12a)]='',exports[_0x32ef97(0x126)]='',exports[_0x32ef97(0x134)]=_0x32ef97(0x135),exports['ASSET_DIRECTORY']=_0x32ef97(0x13d),exports[_0x32ef97(0x11d)]=exports[_0x32ef97(0x11f)]+_0x32ef97(0x124),exports['MIDDLE_APPICON_DIRECTORY']=exports['ASSET_DIRECTORY']+_0x32ef97(0x13c);function _0x4516(_0x1d7a52,_0x483be7){const _0x55df50=_0x55df();return _0x4516=function(_0x4516e0,_0x165d86){_0x4516e0=_0x4516e0-0x118;let _0x241f6b=_0x55df50[_0x4516e0];return _0x241f6b;},_0x4516(_0x1d7a52,_0x483be7);}const supportPlatform=[_0x32ef97(0x142)];function _0x55df(){const _0x5e4007=['../../../','child_process','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','not\x20support\x20platform\x20','PROJECT_EXPORT_DIRECTORY','1446765bIsBuP','defineProperty','join','PROJECT_BUILD_DIRECTORY','startsWith','execSync','./file','existsSync','4IArNDS','1843785sPIJIg','4132980xDToxy','2979792VmjnCj','365340hKGDUe','WEB_PROJECT_DIRECTORY','web-spatial/static-web','PROJECT_DIRECTORY','includes','./build','node_modules/@webspatial/platform-','MIDDLE_APPICON_DIRECTORY',',\x20now\x20WebSpatial\x20only\x20support\x20','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','web-spatial/Assets.xcassets','log','4WEEYwt','./export','ResourceManager','visionos','1310334WoPkWH','cwd','http','resize','14cDrqiO','../../../node_modules/@webspatial/platform-','copyDir','BACK_APPICON_DIRECTORY','340480gTGiwu','ASSET_DIRECTORY','mkdirSync','icons'];_0x55df=function(){return _0x5e4007;};return _0x55df();}class ResourceManager{static async['moveProjectFrom'](_0x171391){const _0x30aeab=_0x32ef97,_0xfec936=(0x0,path_1[_0x30aeab(0x129)])(process[_0x30aeab(0x144)](),_0x171391),_0x27aac9=(0x0,path_1[_0x30aeab(0x129)])(exports[_0x30aeab(0x136)],exports[_0x30aeab(0x134)]);!fs[_0x30aeab(0x12e)](_0x27aac9)?fs[_0x30aeab(0x120)](_0x27aac9,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x27aac9);try{(0x0,file_1[_0x30aeab(0x11c)])(_0xfec936,_0x27aac9);}catch(_0x193bb1){console[_0x30aeab(0x13e)](_0x193bb1);}}static async['generateIcon'](_0x2bb32f){const _0x2a13cc=_0x32ef97,_0x4d5666=_0x2bb32f['json'],_0x4628ce=_0x4d5666[_0x2a13cc(0x121)][0x0]['src'],_0x4f707f=!_0x4628ce[_0x2a13cc(0x12b)](_0x2a13cc(0x118))?await(0x0,load_1['loadImageFromDisk'])(_0x4628ce):await(0x0,load_1['loadImageFromNet'])(_0x4628ce);return _0x4f707f[_0x2a13cc(0x119)](0x400,0x400),_0x4f707f;}static['checkPlatformPath'](_0x4cf0f8){const _0xe1ee45=_0x32ef97,_0x5291fa=_0x4cf0f8!==null&&_0x4cf0f8!==void 0x0?_0x4cf0f8:supportPlatform[0x0];if(!supportPlatform[_0xe1ee45(0x137)](_0x5291fa))throw new Error(_0xe1ee45(0x125)+_0x5291fa+_0xe1ee45(0x13b)+supportPlatform[_0xe1ee45(0x129)](','));let _0x2c2bfb=(0x0,path_1[_0xe1ee45(0x129)])(process['cwd'](),_0xe1ee45(0x139)+_0x5291fa);!fs[_0xe1ee45(0x12e)](_0x2c2bfb)&&(_0x2c2bfb=(0x0,path_1['join'])(__dirname,_0xe1ee45(0x11b)+_0x5291fa));const _0x422d32=fs[_0xe1ee45(0x12e)](_0x2c2bfb);!_0x422d32&&(0x0,child_process_1[_0xe1ee45(0x12c)])('cd\x20'+(0x0,path_1['join'])(__dirname,_0xe1ee45(0x122))+'\x20&&\x20pnpm\x20add\x20@webspatial/platform-'+_0x5291fa),exports[_0xe1ee45(0x136)]=_0x2c2bfb,exports[_0xe1ee45(0x12a)]=(0x0,path_1[_0xe1ee45(0x129)])(exports['PROJECT_DIRECTORY'],_0xe1ee45(0x138)),exports[_0xe1ee45(0x126)]=(0x0,path_1[_0xe1ee45(0x129)])(exports[_0xe1ee45(0x136)],_0xe1ee45(0x140));}}exports[_0x32ef97(0x141)]=ResourceManager;
1
+ 'use strict';const _0x565829=_0x1067;(function(_0x17fa0b,_0x30d0b1){const _0x2939e5=_0x1067,_0x29730c=_0x17fa0b();while(!![]){try{const _0x5ca5fb=parseInt(_0x2939e5(0x1b0))/0x1+-parseInt(_0x2939e5(0x1ce))/0x2+-parseInt(_0x2939e5(0x1b6))/0x3*(-parseInt(_0x2939e5(0x1ac))/0x4)+parseInt(_0x2939e5(0x1a9))/0x5*(-parseInt(_0x2939e5(0x1d1))/0x6)+parseInt(_0x2939e5(0x1cb))/0x7+parseInt(_0x2939e5(0x1b3))/0x8*(-parseInt(_0x2939e5(0x1bb))/0x9)+parseInt(_0x2939e5(0x1c9))/0xa;if(_0x5ca5fb===_0x30d0b1)break;else _0x29730c['push'](_0x29730c['shift']());}catch(_0x987493){_0x29730c['push'](_0x29730c['shift']());}}}(_0x1801,0x54038));Object['defineProperty'](exports,_0x565829(0x1b8),{'value':!![]}),exports[_0x565829(0x1a7)]=exports[_0x565829(0x1a6)]=exports['BACK_APPICON_DIRECTORY']=exports[_0x565829(0x1c5)]=exports[_0x565829(0x1c1)]=exports[_0x565829(0x1c8)]=exports['PROJECT_BUILD_DIRECTORY']=exports['PROJECT_DIRECTORY']=void 0x0;function _0x1801(){const _0x2c0b73=['13495TlCVwA','BACK_APPICON_DIRECTORY','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','1996cNLdeB','loadImageFromNet','clearDir','not\x20support\x20platform\x20','317565EaErjB','cwd','path','8xnRlBS','copyDir','PROJECT_BUILD_DIRECTORY','2073mGunoC','checkPlatformPath','__esModule','web-spatial/Assets.xcassets','moveProjectFrom','1916433BlmomY','join','web-spatial/static-web','existsSync','src','PROJECT_DIRECTORY','WEB_PROJECT_DIRECTORY','node_modules/@webspatial/platform-','./file','generateIcon','ASSET_DIRECTORY','../../../','execSync','PROJECT_EXPORT_DIRECTORY','3428700BItSbl','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','1982183iKoBQQ','cd\x20','loadImageFromDisk','712390SbeUAy','mkdirSync','resize','834FWqMQB','log',',\x20now\x20WebSpatial\x20only\x20support\x20','./export','child_process','MIDDLE_APPICON_DIRECTORY','ResourceManager','includes'];_0x1801=function(){return _0x2c0b73;};return _0x1801();}const fs=require('fs'),path_1=require(_0x565829(0x1b2)),file_1=require(_0x565829(0x1c3)),load_1=require('./load'),child_process_1=require(_0x565829(0x1a5));exports[_0x565829(0x1c0)]='',exports[_0x565829(0x1b5)]='',exports['PROJECT_EXPORT_DIRECTORY']='',exports[_0x565829(0x1c1)]=_0x565829(0x1bd),exports[_0x565829(0x1c5)]=_0x565829(0x1b9),exports[_0x565829(0x1aa)]=exports[_0x565829(0x1c5)]+_0x565829(0x1ab),exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x565829(0x1c5)]+_0x565829(0x1ca);const supportPlatform=['visionos'];function _0x1067(_0x3132ef,_0x2a1c58){const _0x180103=_0x1801();return _0x1067=function(_0x106707,_0x6084b0){_0x106707=_0x106707-0x1a2;let _0x5bce9=_0x180103[_0x106707];return _0x5bce9;},_0x1067(_0x3132ef,_0x2a1c58);}class ResourceManager{static async[_0x565829(0x1ba)](_0x5f0b44){const _0x95bcfb=_0x565829,_0x523df6=(0x0,path_1[_0x95bcfb(0x1bc)])(process[_0x95bcfb(0x1b1)](),_0x5f0b44),_0x5882b5=(0x0,path_1[_0x95bcfb(0x1bc)])(exports[_0x95bcfb(0x1c0)],exports[_0x95bcfb(0x1c1)]);!fs[_0x95bcfb(0x1be)](_0x5882b5)?fs[_0x95bcfb(0x1cf)](_0x5882b5,{'recursive':!![]}):(0x0,file_1[_0x95bcfb(0x1ae)])(_0x5882b5);try{(0x0,file_1[_0x95bcfb(0x1b4)])(_0x523df6,_0x5882b5);}catch(_0x2d35b0){console[_0x95bcfb(0x1a2)](_0x2d35b0);}}static async[_0x565829(0x1c4)](_0x48134e){const _0x47503d=_0x565829,_0x5d8f97=_0x48134e['json'],_0x5e3182=_0x5d8f97['icons'][0x0][_0x47503d(0x1bf)],_0x347d10=!_0x5e3182['startsWith']('http')?await(0x0,load_1[_0x47503d(0x1cd)])(_0x5e3182):await(0x0,load_1[_0x47503d(0x1ad)])(_0x5e3182);return _0x347d10[_0x47503d(0x1d0)](0x400,0x400),_0x347d10;}static[_0x565829(0x1b7)](_0x183213){const _0x1a96a5=_0x565829,_0x3f46ff=_0x183213!==null&&_0x183213!==void 0x0?_0x183213:supportPlatform[0x0];if(!supportPlatform[_0x1a96a5(0x1a8)](_0x3f46ff))throw new Error(_0x1a96a5(0x1af)+_0x3f46ff+_0x1a96a5(0x1a3)+supportPlatform['join'](','));let _0x58b722=(0x0,path_1[_0x1a96a5(0x1bc)])(process[_0x1a96a5(0x1b1)](),_0x1a96a5(0x1c2)+_0x3f46ff);!fs[_0x1a96a5(0x1be)](_0x58b722)&&(_0x58b722=(0x0,path_1[_0x1a96a5(0x1bc)])(__dirname,'../../../node_modules/@webspatial/platform-'+_0x3f46ff));const _0x15852b=fs[_0x1a96a5(0x1be)](_0x58b722);!_0x15852b&&(0x0,child_process_1[_0x1a96a5(0x1c7)])(_0x1a96a5(0x1cc)+(0x0,path_1[_0x1a96a5(0x1bc)])(__dirname,_0x1a96a5(0x1c6))+'\x20&&\x20pnpm\x20add\x20@webspatial/platform-'+_0x3f46ff),exports[_0x1a96a5(0x1c0)]=_0x58b722,exports['PROJECT_BUILD_DIRECTORY']=(0x0,path_1['join'])(exports[_0x1a96a5(0x1c0)],'./build'),exports[_0x1a96a5(0x1c8)]=(0x0,path_1[_0x1a96a5(0x1bc)])(exports['PROJECT_DIRECTORY'],_0x1a96a5(0x1a4));}}exports[_0x565829(0x1a7)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';function _0x57a3(){const _0x5918c3=['1361142AnNrgD','binary','startsWith','Problem\x20reading\x20','image/','svg2img','Received\x20icon\x20with\x20invalid\x20Content-Type.','image/svg','6346592tCHxqJ','arrayBuffer','defineProperty','includes','from','./imageHelper','readFile','347103dMLgpv','1745415Issehq','fetchUtils','__esModule','content-type',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','\x20Responded\x20with\x20Content-Type\x20\x22','decode','loadImageFromDisk','headers','text','data','10254aDrrAJ','content-encoding','loadImageFromNet','81WmtvYZ','../utils/FetchUtils-1','trim','33736cJGrPf','get','197100VNMPWw','parse','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','The\x20response\x20status\x20is\x20','loadJsonFromNet','fetch','10WvkDfY','loadJsonFromDisk','../utils/CustomError','webp2PngBuffer','read','Failed\x20to\x20download\x20Web\x20Manifest\x20','decompressResponseBuffer','deflate','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','image/webp','3171FifPIY','toString','CustomError','promises','gzip','status'];_0x57a3=function(){return _0x5918c3;};return _0x57a3();}const _0x4c1807=_0xace5;(function(_0x1ceb9c,_0x8894cf){const _0x536722=_0xace5,_0x407f5a=_0x1ceb9c();while(!![]){try{const _0x35741f=-parseInt(_0x536722(0x1b3))/0x1+-parseInt(_0x536722(0x1c9))/0x2+parseInt(_0x536722(0x1ae))/0x3*(parseInt(_0x536722(0x1b1))/0x4)+-parseInt(_0x536722(0x1a0))/0x5+parseInt(_0x536722(0x1ab))/0x6*(parseInt(_0x536722(0x1c3))/0x7)+parseInt(_0x536722(0x198))/0x8+parseInt(_0x536722(0x19f))/0x9*(-parseInt(_0x536722(0x1b9))/0xa);if(_0x35741f===_0x8894cf)break;else _0x407f5a['push'](_0x407f5a['shift']());}catch(_0x3b3268){_0x407f5a['push'](_0x407f5a['shift']());}}}(_0x57a3,0x815ea));function _0xace5(_0x1b6434,_0x1eff96){const _0x57a34e=_0x57a3();return _0xace5=function(_0xace592,_0x2a0718){_0xace592=_0xace592-0x192;let _0x24ecc3=_0x57a34e[_0xace592];return _0x24ecc3;},_0xace5(_0x1b6434,_0x1eff96);}Object[_0x4c1807(0x19a)](exports,_0x4c1807(0x1a2),{'value':!![]}),exports[_0x4c1807(0x1b7)]=loadJsonFromNet,exports[_0x4c1807(0x1ba)]=loadJsonFromDisk,exports[_0x4c1807(0x1ad)]=loadImageFromNet,exports[_0x4c1807(0x1a7)]=loadImageFromDisk,exports['loadFileString']=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x4c1807(0x1af)),CustomError_1=require(_0x4c1807(0x1bb)),Jimp=require('jimp'),imageHelper_1=require(_0x4c1807(0x19d));async function loadJsonFromNet(_0x1d2888){const _0x193e5a=_0x4c1807,_0x48ab76=await FetchUtils_1_1[_0x193e5a(0x1a1)][_0x193e5a(0x1b8)](_0x1d2888,{'encoding':'binary'});if(_0x48ab76[_0x193e5a(0x1c8)]!==0xc8)throw new CustomError_1['CustomError']({'code':0xbbc,'message':_0x193e5a(0x1be)+_0x1d2888+'.'+(_0x193e5a(0x1b6)+_0x48ab76['status']+_0x193e5a(0x1a4)),'message_staring_params':{'web_manifest_url':_0x1d2888,'status':_0x48ab76['status']}});try{let _0x214ff8;return _0x48ab76[_0x193e5a(0x1a9)]?_0x214ff8=await _0x48ab76['text']():[_0x193e5a(0x1c7),_0x193e5a(0x1c0),'br'][_0x193e5a(0x19b)](_0x48ab76[_0x193e5a(0x1a8)][_0x193e5a(0x1ac)])?_0x214ff8=FetchUtils_1_1[_0x193e5a(0x1a1)][_0x193e5a(0x1bf)](Buffer[_0x193e5a(0x19c)](_0x48ab76[_0x193e5a(0x1aa)],_0x193e5a(0x1ca)),_0x48ab76[_0x193e5a(0x1a8)][_0x193e5a(0x1ac)])[_0x193e5a(0x1c4)]():_0x214ff8=Buffer[_0x193e5a(0x19c)](_0x48ab76[_0x193e5a(0x1aa)],_0x193e5a(0x1ca))[_0x193e5a(0x1c4)](),JSON[_0x193e5a(0x1b4)](_0x214ff8[_0x193e5a(0x1b0)]());}catch(_0x13a968){throw new CustomError_1[(_0x193e5a(0x1c5))]({'code':0xbbd,'message':_0x193e5a(0x1b5),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x504e59){const _0x5529c3=_0x4c1807,_0x14e4ef=await loadFileString(_0x504e59[_0x5529c3(0x1c4)]());return JSON[_0x5529c3(0x1b4)](_0x14e4ef);}async function loadImageFromNet(_0x495f53){const _0x2e8d33=_0x4c1807,_0x361d4a=await FetchUtils_1_1[_0x2e8d33(0x1a1)][_0x2e8d33(0x1b8)](_0x495f53,{'encoding':_0x2e8d33(0x1ca)});if(_0x361d4a[_0x2e8d33(0x1c8)]!==0xc8)throw new CustomError_1[(_0x2e8d33(0x1c5))]({'code':0x7d2,'message':_0x2e8d33(0x1c1)+_0x361d4a['status'],'message_staring_params':{'icon_url':_0x495f53,'status':_0x361d4a['status']}});const _0x953a69=_0x361d4a['headers'][_0x2e8d33(0x1b2)]?_0x361d4a['headers'][_0x2e8d33(0x1b2)](_0x2e8d33(0x1a3)):_0x361d4a[_0x2e8d33(0x1a8)][_0x2e8d33(0x1a3)];if(!(_0x953a69===null||_0x953a69===void 0x0?void 0x0:_0x953a69['startsWith'](_0x2e8d33(0x194))))throw new CustomError_1[(_0x2e8d33(0x1c5))]({'code':0x7d3,'message':_0x2e8d33(0x196)+(_0x2e8d33(0x1a5)+_0x953a69+'\x22'),'message_staring_params':{'icon_url':_0x495f53,'contentType':_0x953a69}});let _0x236c04;_0x361d4a['arrayBuffer']?_0x236c04=await _0x361d4a[_0x2e8d33(0x199)]():[_0x2e8d33(0x1c7),_0x2e8d33(0x1c0),'br'][_0x2e8d33(0x19b)](_0x361d4a['headers'][_0x2e8d33(0x1ac)])?_0x236c04=FetchUtils_1_1['fetchUtils'][_0x2e8d33(0x1bf)](Buffer['from'](_0x361d4a[_0x2e8d33(0x1aa)],_0x2e8d33(0x1ca)),_0x361d4a[_0x2e8d33(0x1a8)][_0x2e8d33(0x1ac)]):_0x236c04=Buffer[_0x2e8d33(0x19c)](_0x361d4a[_0x2e8d33(0x1aa)],'binary');if(_0x953a69[_0x2e8d33(0x192)](_0x2e8d33(0x197))){const _0x557c8f=new TextDecoder();try{_0x236c04=await imageHelper_1['ImageHelper'][_0x2e8d33(0x195)](_0x557c8f[_0x2e8d33(0x1a6)](_0x236c04));}catch(_0x4edae5){throw new CustomError_1[(_0x2e8d33(0x1c5))]({'code':0x7d4,'message':_0x2e8d33(0x193)+_0x495f53+':\x20'+_0x4edae5,'message_staring_params':{'icon_url':_0x495f53,'error':_0x4edae5}});}}return _0x953a69[_0x2e8d33(0x192)](_0x2e8d33(0x1c2))&&(_0x236c04=await imageHelper_1['ImageHelper'][_0x2e8d33(0x1bc)](_0x236c04)),await Jimp[_0x2e8d33(0x1bd)](Buffer[_0x2e8d33(0x19c)](_0x236c04));}async function loadImageFromDisk(_0x427c15){const _0xd7edf9=_0x4c1807;return await Jimp[_0xd7edf9(0x1bd)](_0x427c15);}async function loadFileString(_0x45727c){const _0x1e0050=_0x4c1807;let _0x1b1f5b=await fs[_0x1e0050(0x1c6)][_0x1e0050(0x19e)](_0x45727c[_0x1e0050(0x1c4)]());return _0x1b1f5b[_0x1e0050(0x1c4)]();}
1
+ 'use strict';function _0x3830(){const _0x238476=['Received\x20icon\x20with\x20invalid\x20Content-Type.','822985pdJgAq','1592542pVItCn','Failed\x20to\x20download\x20Web\x20Manifest\x20','fetchUtils','6242411xORAbA','gzip','status','image/webp','CustomError','../utils/FetchUtils-1','./imageHelper','ImageHelper','2440PMeIsf','from','svg2img','headers','promises','data','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','470245bqgEHM','4141744GTLQju','fetch','decompressResponseBuffer','toString','webp2PngBuffer','83295JUOURd','image/svg','binary','read','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','startsWith','72hsSpEI','arrayBuffer','get','loadImageFromDisk','jimp','defineProperty','../utils/CustomError','readFile','parse','content-type','loadImageFromNet','loadJsonFromNet','includes','deflate','loadJsonFromDisk','1867956LSLnAb','content-encoding','text'];_0x3830=function(){return _0x238476;};return _0x3830();}const _0x5ea2b2=_0x4bc0;(function(_0x278a65,_0x476792){const _0x31d5a4=_0x4bc0,_0x121d0a=_0x278a65();while(!![]){try{const _0x3e108a=parseInt(_0x31d5a4(0x105))/0x1+parseInt(_0x31d5a4(0x106))/0x2+-parseInt(_0x31d5a4(0x101))/0x3+-parseInt(_0x31d5a4(0xe7))/0x4+parseInt(_0x31d5a4(0xe6))/0x5*(-parseInt(_0x31d5a4(0xf2))/0x6)+-parseInt(_0x31d5a4(0xd7))/0x7+-parseInt(_0x31d5a4(0xdf))/0x8*(-parseInt(_0x31d5a4(0xec))/0x9);if(_0x3e108a===_0x476792)break;else _0x121d0a['push'](_0x121d0a['shift']());}catch(_0x1cb384){_0x121d0a['push'](_0x121d0a['shift']());}}}(_0x3830,0xba6be));Object[_0x5ea2b2(0xf7)](exports,'__esModule',{'value':!![]}),exports[_0x5ea2b2(0xfd)]=loadJsonFromNet,exports[_0x5ea2b2(0x100)]=loadJsonFromDisk,exports[_0x5ea2b2(0xfc)]=loadImageFromNet,exports[_0x5ea2b2(0xf5)]=loadImageFromDisk,exports['loadFileString']=loadFileString;function _0x4bc0(_0x87c848,_0x1bca1e){const _0x383019=_0x3830();return _0x4bc0=function(_0x4bc0da,_0x166c06){_0x4bc0da=_0x4bc0da-0xd7;let _0x335f54=_0x383019[_0x4bc0da];return _0x335f54;},_0x4bc0(_0x87c848,_0x1bca1e);}const fs=require('fs'),FetchUtils_1_1=require(_0x5ea2b2(0xdc)),CustomError_1=require(_0x5ea2b2(0xf8)),Jimp=require(_0x5ea2b2(0xf6)),imageHelper_1=require(_0x5ea2b2(0xdd));async function loadJsonFromNet(_0x34779a){const _0x4766ee=_0x5ea2b2,_0x614eba=await FetchUtils_1_1[_0x4766ee(0x108)][_0x4766ee(0xe8)](_0x34779a,{'encoding':_0x4766ee(0xee)});if(_0x614eba[_0x4766ee(0xd9)]!==0xc8)throw new CustomError_1['CustomError']({'code':0xbbc,'message':_0x4766ee(0x107)+_0x34779a+'.'+('The\x20response\x20status\x20is\x20'+_0x614eba[_0x4766ee(0xd9)]+',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address'),'message_staring_params':{'web_manifest_url':_0x34779a,'status':_0x614eba['status']}});try{let _0x320281;return _0x614eba[_0x4766ee(0x103)]?_0x320281=await _0x614eba[_0x4766ee(0x103)]():[_0x4766ee(0xd8),'deflate','br'][_0x4766ee(0xfe)](_0x614eba[_0x4766ee(0xe2)][_0x4766ee(0x102)])?_0x320281=FetchUtils_1_1[_0x4766ee(0x108)][_0x4766ee(0xe9)](Buffer[_0x4766ee(0xe0)](_0x614eba['data'],'binary'),_0x614eba[_0x4766ee(0xe2)]['content-encoding'])['toString']():_0x320281=Buffer[_0x4766ee(0xe0)](_0x614eba['data'],'binary')[_0x4766ee(0xea)](),JSON[_0x4766ee(0xfa)](_0x320281['trim']());}catch(_0x5433c1){throw new CustomError_1[(_0x4766ee(0xdb))]({'code':0xbbd,'message':_0x4766ee(0xf0),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x17ad39){const _0x9408bd=_0x5ea2b2,_0x1eda61=await loadFileString(_0x17ad39[_0x9408bd(0xea)]());return JSON[_0x9408bd(0xfa)](_0x1eda61);}async function loadImageFromNet(_0xd5d1bc){const _0x1eae66=_0x5ea2b2,_0x1fb1e6=await FetchUtils_1_1[_0x1eae66(0x108)][_0x1eae66(0xe8)](_0xd5d1bc,{'encoding':_0x1eae66(0xee)});if(_0x1fb1e6[_0x1eae66(0xd9)]!==0xc8)throw new CustomError_1[(_0x1eae66(0xdb))]({'code':0x7d2,'message':_0x1eae66(0xe5)+_0x1fb1e6['status'],'message_staring_params':{'icon_url':_0xd5d1bc,'status':_0x1fb1e6[_0x1eae66(0xd9)]}});const _0x283fee=_0x1fb1e6[_0x1eae66(0xe2)][_0x1eae66(0xf4)]?_0x1fb1e6[_0x1eae66(0xe2)][_0x1eae66(0xf4)](_0x1eae66(0xfb)):_0x1fb1e6['headers'][_0x1eae66(0xfb)];if(!(_0x283fee===null||_0x283fee===void 0x0?void 0x0:_0x283fee[_0x1eae66(0xf1)]('image/')))throw new CustomError_1[(_0x1eae66(0xdb))]({'code':0x7d3,'message':_0x1eae66(0x104)+('\x20Responded\x20with\x20Content-Type\x20\x22'+_0x283fee+'\x22'),'message_staring_params':{'icon_url':_0xd5d1bc,'contentType':_0x283fee}});let _0x306661;_0x1fb1e6[_0x1eae66(0xf3)]?_0x306661=await _0x1fb1e6['arrayBuffer']():[_0x1eae66(0xd8),_0x1eae66(0xff),'br'][_0x1eae66(0xfe)](_0x1fb1e6[_0x1eae66(0xe2)]['content-encoding'])?_0x306661=FetchUtils_1_1[_0x1eae66(0x108)][_0x1eae66(0xe9)](Buffer['from'](_0x1fb1e6[_0x1eae66(0xe4)],_0x1eae66(0xee)),_0x1fb1e6[_0x1eae66(0xe2)][_0x1eae66(0x102)]):_0x306661=Buffer[_0x1eae66(0xe0)](_0x1fb1e6[_0x1eae66(0xe4)],'binary');if(_0x283fee[_0x1eae66(0xf1)](_0x1eae66(0xed))){const _0x51fbcc=new TextDecoder();try{_0x306661=await imageHelper_1[_0x1eae66(0xde)][_0x1eae66(0xe1)](_0x51fbcc['decode'](_0x306661));}catch(_0x39c185){throw new CustomError_1[(_0x1eae66(0xdb))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0xd5d1bc+':\x20'+_0x39c185,'message_staring_params':{'icon_url':_0xd5d1bc,'error':_0x39c185}});}}return _0x283fee[_0x1eae66(0xf1)](_0x1eae66(0xda))&&(_0x306661=await imageHelper_1['ImageHelper'][_0x1eae66(0xeb)](_0x306661)),await Jimp['read'](Buffer[_0x1eae66(0xe0)](_0x306661));}async function loadImageFromDisk(_0x104b47){const _0x560a82=_0x5ea2b2;return await Jimp[_0x560a82(0xef)](_0x104b47);}async function loadFileString(_0x1b420e){const _0x56a07b=_0x5ea2b2;let _0x5f33ce=await fs[_0x56a07b(0xe3)][_0x56a07b(0xf9)](_0x1b420e['toString']());return _0x5f33ce[_0x56a07b(0xea)]();}
@@ -1 +1 @@
1
- 'use strict';var _0x53a171=_0x4a1f;function _0x3dfe(){var _0x56d2e=['1331693MqMdfB','1756NtkTfr','__esModule','9210OcvZAE','customMessage','132LiIfkG','5337760Ezxxod','CustomError','438bxbvha','18xLuShv','1ZUqaWP','763932HHuDmT','4040144lWhaIP','type','stringify','9336453JIDqiQ','1401kZwToD','defineProperty','info'];_0x3dfe=function(){return _0x56d2e;};return _0x3dfe();}function _0x4a1f(_0x4a49be,_0x4a7aef){var _0x3dfef6=_0x3dfe();return _0x4a1f=function(_0x4a1f89,_0xe36df9){_0x4a1f89=_0x4a1f89-0xd3;var _0x51583f=_0x3dfef6[_0x4a1f89];return _0x51583f;},_0x4a1f(_0x4a49be,_0x4a7aef);}(function(_0x3557dc,_0x38d884){var _0x1e09aa=_0x4a1f,_0x36180b=_0x3557dc();while(!![]){try{var _0x36f9d8=-parseInt(_0x1e09aa(0xe3))/0x1*(parseInt(_0x1e09aa(0xe4))/0x2)+parseInt(_0x1e09aa(0xd6))/0x3*(-parseInt(_0x1e09aa(0xda))/0x4)+parseInt(_0x1e09aa(0xdc))/0x5*(-parseInt(_0x1e09aa(0xe1))/0x6)+parseInt(_0x1e09aa(0xd5))/0x7+parseInt(_0x1e09aa(0xe5))/0x8*(parseInt(_0x1e09aa(0xe2))/0x9)+parseInt(_0x1e09aa(0xdf))/0xa+parseInt(_0x1e09aa(0xd9))/0xb*(-parseInt(_0x1e09aa(0xde))/0xc);if(_0x36f9d8===_0x38d884)break;else _0x36180b['push'](_0x36180b['shift']());}catch(_0x546e41){_0x36180b['push'](_0x36180b['shift']());}}}(_0x3dfe,0xc9485));Object[_0x53a171(0xd7)](exports,_0x53a171(0xdb),{'value':!![]}),exports[_0x53a171(0xe0)]=void 0x0;class CustomError extends Error{constructor(_0x1130ab,_0x154a7e){var _0x502079=_0x53a171;super(JSON[_0x502079(0xd4)](_0x1130ab)),this[_0x502079(0xdd)]=_0x1130ab,this[_0x502079(0xd3)]=_0x154a7e||_0x502079(0xd8);}}exports[_0x53a171(0xe0)]=CustomError;
1
+ 'use strict';var _0x1d3d95=_0x3392;function _0x3392(_0x3f6ad4,_0x65f79){var _0x5c3a5a=_0x5c3a();return _0x3392=function(_0x339222,_0x5093e4){_0x339222=_0x339222-0x1f2;var _0x45c499=_0x5c3a5a[_0x339222];return _0x45c499;},_0x3392(_0x3f6ad4,_0x65f79);}(function(_0x33fdba,_0x113d99){var _0x22682c=_0x3392,_0x18cee8=_0x33fdba();while(!![]){try{var _0x2ad4f0=-parseInt(_0x22682c(0x1f2))/0x1+parseInt(_0x22682c(0x1f4))/0x2+-parseInt(_0x22682c(0x1fe))/0x3+parseInt(_0x22682c(0x200))/0x4*(-parseInt(_0x22682c(0x1f7))/0x5)+parseInt(_0x22682c(0x1f5))/0x6*(parseInt(_0x22682c(0x1f6))/0x7)+parseInt(_0x22682c(0x1fb))/0x8+parseInt(_0x22682c(0x1f3))/0x9*(parseInt(_0x22682c(0x1f8))/0xa);if(_0x2ad4f0===_0x113d99)break;else _0x18cee8['push'](_0x18cee8['shift']());}catch(_0x547470){_0x18cee8['push'](_0x18cee8['shift']());}}}(_0x5c3a,0xb671d));Object[_0x1d3d95(0x1fc)](exports,_0x1d3d95(0x1ff),{'value':!![]}),exports['CustomError']=void 0x0;function _0x5c3a(){var _0x40f354=['3662154WkIyrn','__esModule','528276kslPrR','1231495ImIYjU','2508480AvwuFC','1655892mcoRcU','84HYJcGy','659743CYvysD','40NTXOeH','40NiElAv','CustomError','customMessage','7949968qqsUuu','defineProperty','type'];_0x5c3a=function(){return _0x40f354;};return _0x5c3a();}class CustomError extends Error{constructor(_0xbef43b,_0x2246e0){var _0x2db347=_0x1d3d95;super(JSON['stringify'](_0xbef43b)),this[_0x2db347(0x1fa)]=_0xbef43b,this[_0x2db347(0x1fd)]=_0x2246e0||'info';}}exports[_0x1d3d95(0x1f9)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';const _0x1abd66=_0x43fa;(function(_0x2469c0,_0xde4e89){const _0x174568=_0x43fa,_0x1863ed=_0x2469c0();while(!![]){try{const _0x276c14=parseInt(_0x174568(0xb5))/0x1*(parseInt(_0x174568(0xbb))/0x2)+-parseInt(_0x174568(0xae))/0x3+parseInt(_0x174568(0xb8))/0x4*(parseInt(_0x174568(0xba))/0x5)+-parseInt(_0x174568(0xb2))/0x6+parseInt(_0x174568(0xaf))/0x7+-parseInt(_0x174568(0xb7))/0x8*(parseInt(_0x174568(0xbf))/0x9)+parseInt(_0x174568(0xc0))/0xa;if(_0x276c14===_0xde4e89)break;else _0x1863ed['push'](_0x1863ed['shift']());}catch(_0x2a1524){_0x1863ed['push'](_0x1863ed['shift']());}}}(_0x5050,0xea323));function _0x43fa(_0x18f9f2,_0x493e97){const _0x50509d=_0x5050();return _0x43fa=function(_0x43fa66,_0xd4a894){_0x43fa66=_0x43fa66-0xae;let _0x2f79b7=_0x50509d[_0x43fa66];return _0x2f79b7;},_0x43fa(_0x18f9f2,_0x493e97);}Object[_0x1abd66(0xbe)](exports,_0x1abd66(0xc1),{'value':!![]}),exports[_0x1abd66(0xb0)]=void 0x0;class FetchUtils{constructor(){const _0x22cb82=_0x1abd66;this[_0x22cb82(0xb9)]=null,this[_0x22cb82(0xb4)]=null,this['downloadFile']=null,this[_0x22cb82(0xb1)]=null;}[_0x1abd66(0xb3)](_0x2b97fa){this['fetchEngine']=_0x2b97fa;}[_0x1abd66(0xbd)](_0x1a8f39){this['fetch']=_0x1a8f39;}['setDownloadFile'](_0x5cbaf4){const _0x1b1001=_0x1abd66;this[_0x1b1001(0xb6)]=_0x5cbaf4;}[_0x1abd66(0xbc)](_0x3055ad){this['decompressResponseBuffer']=_0x3055ad;}}function _0x5050(){const _0x2d29d3=['decompressResponseBuffer','8302962vpqtVQ','setFetchEngine','fetch','2TphWge','downloadFile','16RTnKQG','4whAHbI','fetchEngine','5045870hgXCsp','764146JMfNAg','setDecompressResponseBuffer','setFetch','defineProperty','2148453nUPUCA','4363920nGWcwT','__esModule','3028167ibkiyE','11341435TZrJxR','fetchUtils'];_0x5050=function(){return _0x2d29d3;};return _0x5050();}const fetchUtils=new FetchUtils();exports['fetchUtils']=fetchUtils;
1
+ 'use strict';const _0x2f1b10=_0x4548;(function(_0x4b3011,_0x217d6b){const _0x1c70b2=_0x4548,_0x2d3912=_0x4b3011();while(!![]){try{const _0x239999=-parseInt(_0x1c70b2(0xe5))/0x1+parseInt(_0x1c70b2(0xdf))/0x2+parseInt(_0x1c70b2(0xeb))/0x3+parseInt(_0x1c70b2(0xe3))/0x4+-parseInt(_0x1c70b2(0xe6))/0x5+parseInt(_0x1c70b2(0xe1))/0x6+-parseInt(_0x1c70b2(0xde))/0x7;if(_0x239999===_0x217d6b)break;else _0x2d3912['push'](_0x2d3912['shift']());}catch(_0x368642){_0x2d3912['push'](_0x2d3912['shift']());}}}(_0x447b,0xf3b86));function _0x4548(_0x1337c1,_0x5a9a12){const _0x447b5c=_0x447b();return _0x4548=function(_0x454845,_0x132f9d){_0x454845=_0x454845-0xdd;let _0x5170fb=_0x447b5c[_0x454845];return _0x5170fb;},_0x4548(_0x1337c1,_0x5a9a12);}Object[_0x2f1b10(0xed)](exports,_0x2f1b10(0xe4),{'value':!![]}),exports[_0x2f1b10(0xe8)]=void 0x0;class FetchUtils{constructor(){const _0x273212=_0x2f1b10;this['fetchEngine']=null,this[_0x273212(0xdd)]=null,this[_0x273212(0xe2)]=null,this[_0x273212(0xe9)]=null;}[_0x2f1b10(0xe0)](_0x422d95){const _0x331b82=_0x2f1b10;this[_0x331b82(0xea)]=_0x422d95;}[_0x2f1b10(0xec)](_0x1ca7be){this['fetch']=_0x1ca7be;}['setDownloadFile'](_0x195762){this['downloadFile']=_0x195762;}[_0x2f1b10(0xe7)](_0x3f0a51){this['decompressResponseBuffer']=_0x3f0a51;}}function _0x447b(){const _0x32f7bb=['1649416wBiRDa','__esModule','1206541jetyVV','2007925jiNEUj','setDecompressResponseBuffer','fetchUtils','decompressResponseBuffer','fetchEngine','1381347yahzSp','setFetch','defineProperty','fetch','6041098fjeooJ','3906796useqeC','setFetchEngine','3859302DxHJsC','downloadFile'];_0x447b=function(){return _0x32f7bb;};return _0x447b();}const fetchUtils=new FetchUtils();exports[_0x2f1b10(0xe8)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';function _0x5495(_0x38fd9d,_0x26d8d0){var _0x1ffa6c=_0x1ffa();return _0x5495=function(_0x5495ab,_0x144913){_0x5495ab=_0x5495ab-0x1ae;var _0x37aef1=_0x1ffa6c[_0x5495ab];return _0x37aef1;},_0x5495(_0x38fd9d,_0x26d8d0);}var _0x1a3fc3=_0x5495;(function(_0x4400f6,_0x30a0e6){var _0x5ea42d=_0x5495,_0x13e614=_0x4400f6();while(!![]){try{var _0x3a46d2=-parseInt(_0x5ea42d(0x1c1))/0x1+-parseInt(_0x5ea42d(0x1ba))/0x2*(parseInt(_0x5ea42d(0x1b7))/0x3)+-parseInt(_0x5ea42d(0x1cd))/0x4+parseInt(_0x5ea42d(0x1c0))/0x5*(-parseInt(_0x5ea42d(0x1b8))/0x6)+parseInt(_0x5ea42d(0x1b9))/0x7*(parseInt(_0x5ea42d(0x1bc))/0x8)+parseInt(_0x5ea42d(0x1cb))/0x9*(parseInt(_0x5ea42d(0x1b1))/0xa)+parseInt(_0x5ea42d(0x1ca))/0xb;if(_0x3a46d2===_0x30a0e6)break;else _0x13e614['push'](_0x13e614['shift']());}catch(_0x5ca269){_0x13e614['push'](_0x13e614['shift']());}}}(_0x1ffa,0x852ab));function _0x1ffa(){var _0x4a0704=['error','\x1b[31m','output','verbose','info','red','dim','log','11756371JfGNdK','136341XwjoZE','prefix','1956580aIFDJm','\x1b[33m','defineProperty','WARNING\x20','\x1b[0m','670IFuOWi','__esModule','inverse','debug','concat','tag','291SDjwJW','46908hCNPEo','1855lMcqdC','10454lRQYar','newLog','23032vRNCAr','\x1b[7m','ConsoleLog','warn','690CksHLH','226180PxfmEH'];_0x1ffa=function(){return _0x4a0704;};return _0x1ffa();}Object[_0x1a3fc3(0x1ae)](exports,_0x1a3fc3(0x1b2),{'value':!![]}),exports[_0x1a3fc3(0x1be)]=void 0x0;class ConsoleLog{constructor(_0x51c8b7='',_0x28a49b=![],_0x4d6c9d=console){var _0x5ea952=_0x1a3fc3;this[_0x5ea952(0x1b6)]=_0x51c8b7,this[_0x5ea952(0x1c5)]=_0x28a49b,this[_0x5ea952(0x1cc)]=this[_0x5ea952(0x1b3)](_0x51c8b7),this[_0x5ea952(0x1c4)]=_0x4d6c9d;}[_0x1a3fc3(0x1b4)](_0x5348a5,..._0x26879f){var _0x5cefcf=_0x1a3fc3;if(!this[_0x5cefcf(0x1c5)])return;this[_0x5cefcf(0x1c9)](this[_0x5cefcf(0x1c4)][_0x5cefcf(0x1c9)],this[_0x5cefcf(0x1c8)](_0x5348a5),..._0x26879f);}[_0x1a3fc3(0x1c6)](_0x4d1ad8,..._0x5520c7){var _0xb8f33c=_0x1a3fc3;this[_0xb8f33c(0x1c9)](this[_0xb8f33c(0x1c4)]['log'],_0x4d1ad8,..._0x5520c7);}[_0x1a3fc3(0x1bf)](_0x2183ec,..._0x4d7052){var _0x680ef4=_0x1a3fc3;this[_0x680ef4(0x1c9)](this[_0x680ef4(0x1c4)][_0x680ef4(0x1bf)],this['yellow'](_0x680ef4(0x1af)+_0x2183ec),..._0x4d7052);}[_0x1a3fc3(0x1c2)](_0x358aea,..._0x204466){var _0x4dea40=_0x1a3fc3;this[_0x4dea40(0x1c4)][_0x4dea40(0x1c2)]('\x0a'),this[_0x4dea40(0x1c9)](this['output']['error'],this[_0x4dea40(0x1c7)]('ERROR\x20'+_0x358aea),..._0x204466),this[_0x4dea40(0x1c4)][_0x4dea40(0x1c2)]('\x0a');}['setVerbose'](_0x22de1e){var _0x129566=_0x1a3fc3;this[_0x129566(0x1c5)]=_0x22de1e;}[_0x1a3fc3(0x1bb)](_0x3b070b){var _0x52f4b2=_0x1a3fc3;return this[_0x52f4b2(0x1b6)]&&(_0x3b070b=this[_0x52f4b2(0x1b6)]+'\x20'+_0x3b070b),new ConsoleLog(_0x3b070b,this[_0x52f4b2(0x1c5)],this[_0x52f4b2(0x1c4)]);}[_0x1a3fc3(0x1c9)](_0x3b5705,_0x5eecc0,..._0x2c29d1){var _0x33cad4=_0x1a3fc3;this[_0x33cad4(0x1cc)]&&(_0x5eecc0=this['prefix']+'\x20'+_0x5eecc0),_0x2c29d1?_0x3b5705(...[_0x5eecc0][_0x33cad4(0x1b5)](_0x2c29d1)):_0x3b5705(_0x5eecc0);}[_0x1a3fc3(0x1b3)](_0x5a2526){var _0xf65b87=_0x1a3fc3;return _0xf65b87(0x1bd)+_0x5a2526+_0xf65b87(0x1b0);}[_0x1a3fc3(0x1c8)](_0x130e13){return'\x1b[36m'+_0x130e13+'\x1b[0m';}['yellow'](_0x832d71){var _0x56a401=_0x1a3fc3;return _0x56a401(0x1ce)+_0x832d71+_0x56a401(0x1b0);}[_0x1a3fc3(0x1c7)](_0x4e3ee0){var _0x10cd6a=_0x1a3fc3;return _0x10cd6a(0x1c3)+_0x4e3ee0+_0x10cd6a(0x1b0);}}exports[_0x1a3fc3(0x1be)]=ConsoleLog;
1
+ 'use strict';var _0x1d65c5=_0x14b6;function _0x23d8(){var _0x2a778f=['concat','red','output','__esModule','\x1b[36m','debug','1033730eFKaVn','dim','ConsoleLog','\x1b[31m','8000311NXgycT','36CxJhqz','verbose','WARNING\x20','tag','newLog','error','prefix','yellow','448015yBpKjA','warn','info','defineProperty','7cuPryn','774354DqqbqJ','setVerbose','\x1b[0m','log','675187BCMxFb','\x1b[7m','inverse','1407378IRwNsj','ERROR\x20','20LHjLzV','4233672qOZmJK','2YHJMzq','\x1b[33m'];_0x23d8=function(){return _0x2a778f;};return _0x23d8();}(function(_0x4c5867,_0x23876b){var _0x4f554a=_0x14b6,_0x3ad32f=_0x4c5867();while(!![]){try{var _0x3bbd17=parseInt(_0x4f554a(0x1a9))/0x1*(parseInt(_0x4f554a(0x1b0))/0x2)+-parseInt(_0x4f554a(0x1ca))/0x3+parseInt(_0x4f554a(0x1ae))/0x4*(parseInt(_0x4f554a(0x1c5))/0x5)+-parseInt(_0x4f554a(0x1ac))/0x6*(-parseInt(_0x4f554a(0x1c9))/0x7)+parseInt(_0x4f554a(0x1af))/0x8+parseInt(_0x4f554a(0x1bd))/0x9*(-parseInt(_0x4f554a(0x1b8))/0xa)+-parseInt(_0x4f554a(0x1bc))/0xb;if(_0x3bbd17===_0x23876b)break;else _0x3ad32f['push'](_0x3ad32f['shift']());}catch(_0x51e688){_0x3ad32f['push'](_0x3ad32f['shift']());}}}(_0x23d8,0x7727f));function _0x14b6(_0x3014fa,_0x120e6b){var _0x23d832=_0x23d8();return _0x14b6=function(_0x14b6bf,_0x2cd894){_0x14b6bf=_0x14b6bf-0x1a6;var _0xf63ec8=_0x23d832[_0x14b6bf];return _0xf63ec8;},_0x14b6(_0x3014fa,_0x120e6b);}Object[_0x1d65c5(0x1c8)](exports,_0x1d65c5(0x1b5),{'value':!![]}),exports[_0x1d65c5(0x1ba)]=void 0x0;class ConsoleLog{constructor(_0x58d7c4='',_0x440e84=![],_0x238dca=console){var _0x5a40a4=_0x1d65c5;this['tag']=_0x58d7c4,this[_0x5a40a4(0x1be)]=_0x440e84,this['prefix']=this[_0x5a40a4(0x1ab)](_0x58d7c4),this[_0x5a40a4(0x1b4)]=_0x238dca;}[_0x1d65c5(0x1b7)](_0x4e8efe,..._0x3701e8){var _0x4b86e1=_0x1d65c5;if(!this['verbose'])return;this[_0x4b86e1(0x1a8)](this['output'][_0x4b86e1(0x1a8)],this[_0x4b86e1(0x1b9)](_0x4e8efe),..._0x3701e8);}[_0x1d65c5(0x1c7)](_0x31cc4e,..._0x8de095){var _0x23ebed=_0x1d65c5;this[_0x23ebed(0x1a8)](this[_0x23ebed(0x1b4)][_0x23ebed(0x1a8)],_0x31cc4e,..._0x8de095);}[_0x1d65c5(0x1c6)](_0x5f930b,..._0xbce031){var _0x563029=_0x1d65c5;this['log'](this[_0x563029(0x1b4)][_0x563029(0x1c6)],this['yellow'](_0x563029(0x1bf)+_0x5f930b),..._0xbce031);}[_0x1d65c5(0x1c2)](_0x192f26,..._0x58b8ce){var _0xec0b50=_0x1d65c5;this[_0xec0b50(0x1b4)][_0xec0b50(0x1c2)]('\x0a'),this[_0xec0b50(0x1a8)](this[_0xec0b50(0x1b4)]['error'],this[_0xec0b50(0x1b3)](_0xec0b50(0x1ad)+_0x192f26),..._0x58b8ce),this[_0xec0b50(0x1b4)]['error']('\x0a');}[_0x1d65c5(0x1a6)](_0x226e21){var _0x223725=_0x1d65c5;this[_0x223725(0x1be)]=_0x226e21;}[_0x1d65c5(0x1c1)](_0x33faf1){var _0x3d2773=_0x1d65c5;return this[_0x3d2773(0x1c0)]&&(_0x33faf1=this[_0x3d2773(0x1c0)]+'\x20'+_0x33faf1),new ConsoleLog(_0x33faf1,this['verbose'],this['output']);}['log'](_0x446a0,_0xae5ae2,..._0x316fdb){var _0xa2367c=_0x1d65c5;this['prefix']&&(_0xae5ae2=this[_0xa2367c(0x1c3)]+'\x20'+_0xae5ae2),_0x316fdb?_0x446a0(...[_0xae5ae2][_0xa2367c(0x1b2)](_0x316fdb)):_0x446a0(_0xae5ae2);}[_0x1d65c5(0x1ab)](_0x553bef){var _0x471186=_0x1d65c5;return _0x471186(0x1aa)+_0x553bef+_0x471186(0x1a7);}['dim'](_0x135879){var _0x49bfd5=_0x1d65c5;return _0x49bfd5(0x1b6)+_0x135879+_0x49bfd5(0x1a7);}[_0x1d65c5(0x1c4)](_0x5bfc39){var _0x3d880c=_0x1d65c5;return _0x3d880c(0x1b1)+_0x5bfc39+'\x1b[0m';}['red'](_0x435066){var _0x18bbf3=_0x1d65c5;return _0x18bbf3(0x1bb)+_0x435066+_0x18bbf3(0x1a7);}}exports[_0x1d65c5(0x1ba)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x39ad8c=_0x1bb4;function _0x7954(){const _0x4396c2=['1500529UVEbUF','createWriteStream','fetch','headers','zlib','2jhNKgQ','11473553YyGlYI','data','fetch-h2','error','1884976JWaasj','constants','readable','follow','9691668LTtxpZ','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','5814741qUgOJY','pipe','test','unzipSync','get','9053696ngHygJ','decompressResponseBuffer','5rOYttV','downloadFile','21555tKJfXQ','3340WnKSND','__esModule','Z_SYNC_FLUSH'];_0x7954=function(){return _0x4396c2;};return _0x7954();}(function(_0x44b291,_0x18d3e0){const _0x2acb14=_0x1bb4,_0x36e594=_0x44b291();while(!![]){try{const _0x35e098=parseInt(_0x2acb14(0x137))/0x1*(parseInt(_0x2acb14(0x13c))/0x2)+-parseInt(_0x2acb14(0x147))/0x3+-parseInt(_0x2acb14(0x141))/0x4+parseInt(_0x2acb14(0x131))/0x5*(parseInt(_0x2acb14(0x145))/0x6)+-parseInt(_0x2acb14(0x13d))/0x7+parseInt(_0x2acb14(0x12f))/0x8+parseInt(_0x2acb14(0x133))/0x9*(parseInt(_0x2acb14(0x134))/0xa);if(_0x35e098===_0x18d3e0)break;else _0x36e594['push'](_0x36e594['shift']());}catch(_0x1dd4b1){_0x36e594['push'](_0x36e594['shift']());}}}(_0x7954,0xf3ddf));Object['defineProperty'](exports,_0x39ad8c(0x135),{'value':!![]}),exports[_0x39ad8c(0x139)]=fetch,exports[_0x39ad8c(0x132)]=downloadFile,exports[_0x39ad8c(0x130)]=decompressResponseBuffer;const fetch_h2_1=require(_0x39ad8c(0x13f)),fs=require('fs'),zlib=require(_0x39ad8c(0x13b)),userAgent=_0x39ad8c(0x146),fetchh2Ctx=(0x0,fetch_h2_1['context'])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x39ad8c(0x139)];function _0x1bb4(_0x469244,_0x3641f8){const _0x79541f=_0x7954();return _0x1bb4=function(_0x1bb497,_0x57289d){_0x1bb497=_0x1bb497-0x12d;let _0x14f490=_0x79541f[_0x1bb497];return _0x14f490;},_0x1bb4(_0x469244,_0x3641f8);}async function fetch(_0x3980ff,_0x59672d){const _0x502273=_0x39ad8c;return await fetchh2(_0x3980ff,_0x59672d?{'redirect':_0x502273(0x144),..._0x59672d}:{'redirect':_0x502273(0x144)});}async function downloadFile(_0x5c8807,_0x3a1a14,_0x44d1a8){const _0xa53a19=_0x39ad8c;let _0x5e3ac2,_0x143210;_0x5e3ac2=await fetchh2(_0x5c8807,{'redirect':_0xa53a19(0x144)}),_0x143210=await _0x5e3ac2[_0xa53a19(0x143)]();const _0x2dd860=_0x5e3ac2[_0xa53a19(0x13a)][_0xa53a19(0x12e)]('Content-Length'),_0xcf43af=_0x2dd860?parseInt(_0x2dd860):-0x1,_0x756cd8=fs[_0xa53a19(0x138)](_0x3a1a14);let _0x522ea5=0x0;await new Promise((_0x38f263,_0x4424f5)=>{const _0x1a42a3=_0xa53a19;_0x143210[_0x1a42a3(0x148)](_0x756cd8),_0x44d1a8&&_0x143210['on'](_0x1a42a3(0x13e),_0x40ff66=>{_0x522ea5=_0x522ea5+_0x40ff66['length'],_0x44d1a8(_0x522ea5,_0xcf43af);}),_0x143210['on'](_0x1a42a3(0x140),_0x2de1e6=>{_0x4424f5(_0x2de1e6);}),_0x756cd8['on']('finish',()=>{_0x38f263();});});}function decompressResponseBuffer(_0xee2a1b,_0x4d7e6d){const _0x5f5dbc=_0x39ad8c;let _0x1ab6db=_0xee2a1b;if(/\bgzip\b/[_0x5f5dbc(0x149)](_0x4d7e6d)||/\bdeflate\b/[_0x5f5dbc(0x149)](_0x4d7e6d))_0x1ab6db=zlib[_0x5f5dbc(0x12d)](_0xee2a1b,{'flush':zlib[_0x5f5dbc(0x142)][_0x5f5dbc(0x136)],'finishFlush':zlib['constants'][_0x5f5dbc(0x136)]});else/\bbr\b/[_0x5f5dbc(0x149)](_0x4d7e6d)&&(_0x1ab6db=zlib['brotliDecompressSync'](_0xee2a1b));return _0x1ab6db;}
1
+ 'use strict';const _0x4f1115=_0x5e32;(function(_0x35d7e1,_0x469615){const _0x15061b=_0x5e32,_0x2346bd=_0x35d7e1();while(!![]){try{const _0xed5fad=parseInt(_0x15061b(0x12e))/0x1*(-parseInt(_0x15061b(0x122))/0x2)+-parseInt(_0x15061b(0x12c))/0x3+-parseInt(_0x15061b(0x11f))/0x4+parseInt(_0x15061b(0x118))/0x5*(parseInt(_0x15061b(0x129))/0x6)+-parseInt(_0x15061b(0x115))/0x7*(parseInt(_0x15061b(0x125))/0x8)+-parseInt(_0x15061b(0x11c))/0x9+parseInt(_0x15061b(0x128))/0xa;if(_0xed5fad===_0x469615)break;else _0x2346bd['push'](_0x2346bd['shift']());}catch(_0x5398dc){_0x2346bd['push'](_0x2346bd['shift']());}}}(_0x467b,0x57482));Object[_0x4f1115(0x119)](exports,'__esModule',{'value':!![]}),exports['fetch']=fetch,exports[_0x4f1115(0x127)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;const fetch_h2_1=require(_0x4f1115(0x12b)),fs=require('fs'),zlib=require('zlib'),userAgent=_0x4f1115(0x11e),fetchh2Ctx=(0x0,fetch_h2_1[_0x4f1115(0x11a)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x4f1115(0x126)];function _0x467b(){const _0x2b797c=['length','headers','40JTrQIK','fetch','downloadFile','15595120sSsftQ','36786TRIaAp','brotliDecompressSync','fetch-h2','694119mBTeQL','follow','32041lhVCIZ','355292BrECSD','finish','Content-Length','5QuWEjK','defineProperty','context','error','4559508RpRZpJ','createWriteStream','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','737324PxdTLj','Z_SYNC_FLUSH','test','2bgWcfr'];_0x467b=function(){return _0x2b797c;};return _0x467b();}function _0x5e32(_0x23331e,_0x4a5057){const _0x467b46=_0x467b();return _0x5e32=function(_0x5e32d7,_0x2396c0){_0x5e32d7=_0x5e32d7-0x115;let _0x2ba31d=_0x467b46[_0x5e32d7];return _0x2ba31d;},_0x5e32(_0x23331e,_0x4a5057);}async function fetch(_0x4b7b60,_0x187643){const _0x47743d=_0x4f1115;return await fetchh2(_0x4b7b60,_0x187643?{'redirect':_0x47743d(0x12d),..._0x187643}:{'redirect':_0x47743d(0x12d)});}async function downloadFile(_0x3bbed8,_0x3950ee,_0x222f02){const _0x4902b2=_0x4f1115;let _0x391dae,_0x28ed20;_0x391dae=await fetchh2(_0x3bbed8,{'redirect':_0x4902b2(0x12d)}),_0x28ed20=await _0x391dae['readable']();const _0x421c68=_0x391dae[_0x4902b2(0x124)]['get'](_0x4902b2(0x117)),_0x584f80=_0x421c68?parseInt(_0x421c68):-0x1,_0x1fa503=fs[_0x4902b2(0x11d)](_0x3950ee);let _0x42cca8=0x0;await new Promise((_0x54f716,_0x16e55d)=>{const _0x374b72=_0x4902b2;_0x28ed20['pipe'](_0x1fa503),_0x222f02&&_0x28ed20['on']('data',_0x36fed5=>{const _0x5dd90b=_0x5e32;_0x42cca8=_0x42cca8+_0x36fed5[_0x5dd90b(0x123)],_0x222f02(_0x42cca8,_0x584f80);}),_0x28ed20['on'](_0x374b72(0x11b),_0x3d2ed1=>{_0x16e55d(_0x3d2ed1);}),_0x1fa503['on'](_0x374b72(0x116),()=>{_0x54f716();});});}function decompressResponseBuffer(_0x2ae72b,_0x5514b8){const _0x159e3f=_0x4f1115;let _0x91e619=_0x2ae72b;if(/\bgzip\b/[_0x159e3f(0x121)](_0x5514b8)||/\bdeflate\b/[_0x159e3f(0x121)](_0x5514b8))_0x91e619=zlib['unzipSync'](_0x2ae72b,{'flush':zlib['constants'][_0x159e3f(0x120)],'finishFlush':zlib['constants']['Z_SYNC_FLUSH']});else/\bbr\b/[_0x159e3f(0x121)](_0x5514b8)&&(_0x91e619=zlib[_0x159e3f(0x12a)](_0x2ae72b));return _0x91e619;}
@@ -1 +1 @@
1
- 'use strict';const _0x6f8954=_0x28d2;function _0x28d2(_0x4df9a7,_0x42fe36){const _0x149d4f=_0x149d();return _0x28d2=function(_0x28d2af,_0x480ec7){_0x28d2af=_0x28d2af-0xb7;let _0x567e70=_0x149d4f[_0x28d2af];return _0x567e70;},_0x28d2(_0x4df9a7,_0x42fe36);}(function(_0x257f73,_0x304ed9){const _0x4427fd=_0x28d2,_0x5db276=_0x257f73();while(!![]){try{const _0x4046ba=-parseInt(_0x4427fd(0xea))/0x1*(-parseInt(_0x4427fd(0xbe))/0x2)+parseInt(_0x4427fd(0xd8))/0x3*(parseInt(_0x4427fd(0xbb))/0x4)+parseInt(_0x4427fd(0xee))/0x5*(-parseInt(_0x4427fd(0xd5))/0x6)+parseInt(_0x4427fd(0xeb))/0x7+-parseInt(_0x4427fd(0xdd))/0x8+-parseInt(_0x4427fd(0xd3))/0x9*(parseInt(_0x4427fd(0xf2))/0xa)+-parseInt(_0x4427fd(0xe6))/0xb*(-parseInt(_0x4427fd(0xc3))/0xc);if(_0x4046ba===_0x304ed9)break;else _0x5db276['push'](_0x5db276['shift']());}catch(_0x312ba9){_0x5db276['push'](_0x5db276['shift']());}}}(_0x149d,0xd9d12));Object['defineProperty'](exports,_0x6f8954(0xf0),{'value':!![]}),exports[_0x6f8954(0xef)]=void 0x0;function _0x149d(){const _0x1f7503=['30hKxUGu','messages','__esModule','Downloading\x20JDK\x2011\x20to\x20','550PHvOxH','\x20and\x20alias\x20','\x0aSigning\x20key\x20creation','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Downloading\x20the\x20JDK\x2011\x20Binaries...','Decompressing\x20the\x20JDK\x2011\x20Binaries...','203208IDpkwu','https://play.google.com/console/about/families/','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','4qHMIum','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','\x0aProject\x20generated\x20successfully.','Decompressing\x20the\x20JDK\x2011\x20Sources...','Downloading\x20the\x20Android\x20SDK...','12wkAzms','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','underline','WARNING:\x20','Path\x20to\x20your\x20existing\x20Android\x20SDK:','\x20can\x20not\x20be\x20accessible.','\x09-\x20Generated\x20Android\x20APK\x20at\x20','Downloading\x20the\x20JDK\x2011\x20Sources...','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','green','yellow','\x22.\x0a','--manifest','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','Password\x20for\x20the\x20Key:','276633bJsBEB','Invalid\x20icon\x20path:\x20','1650444KuhWtO','URL\x20','redirected\x20to\x20','24cRPPkf','\x0aBuilding\x20the\x20Android\x20App...','\x0aSigning\x20key\x20information\x20','Decompressing\x20the\x20Android\x20SDK...','Password\x20for\x20the\x20Key\x20Store:','8227848PTSxNw','(5/5)','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','\x20URL\x20','cyan','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Minimum\x20length\x20is\x20','16916966dHnmlR','Missing\x20required\x20parameter\x20','Organization\x20(eg:\x20Company\x20Name):','colors','770624vZWwiv','12432476sftrsA','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20'];_0x149d=function(){return _0x1f7503;};return _0x149d();}const colors_1=require(_0x6f8954(0xe9));exports['messages']={'promptInstallJdk':_0x6f8954(0xd0),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':_0x6f8954(0xf1),'messageDownloadJdkSrc':_0x6f8954(0xca),'messageDecompressJdkSrc':_0x6f8954(0xc1),'messageDownloadJdkBin':_0x6f8954(0xb9),'messageDecompressJdkBin':_0x6f8954(0xba),'promptInstallSdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','promptSdkPath':_0x6f8954(0xc7),'messageDownloadSdk':'Downloading\x20Android\x20SDK\x20to\x20','errorSdkTerms':_0x6f8954(0xbf),'promptSdkTerms':_0x6f8954(0xe3)+(0x0,colors_1[_0x6f8954(0xc5)])('https://developer.android.com/studio/terms.html')+'?','messageDownloadAndroidSdk':_0x6f8954(0xc2),'messageDecompressAndroidSdk':_0x6f8954(0xdb),'messageInstallingBuildTools':_0x6f8954(0xdf)+'license\x20agreement.','messageGeneratingAndroidProject':'Generating\x20Android\x20Project.','messageCheckSuccess':(_0x3064f1,_0x39f7b6)=>{const _0x4a77ea=_0x6f8954;return _0x4a77ea(0xe1)+(0x0,colors_1[_0x4a77ea(0xe2)])(_0x3064f1)+'\x20'+(_0x39f7b6?_0x4a77ea(0xd7)+(0x0,colors_1[_0x4a77ea(0xe2)])(_0x39f7b6):'')+'\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:';},'errorMissingManifestParameter':'Missing\x20required\x20parameter\x20'+((0x0,colors_1[_0x6f8954(0xe2)])('--manifest-url')+'\x20or\x20'+(0x0,colors_1[_0x6f8954(0xe2)])(_0x6f8954(0xcf))),'messageInitializingWebManifest':_0x3ba19d=>{const _0x4a21d7=_0x6f8954;return _0x4a21d7(0xec)+(0x0,colors_1[_0x4a21d7(0xe2)])(_0x3ba19d);},'messageInitializingLocalManifest':_0x50ba1e=>{const _0x4b6e24=_0x6f8954;return _0x4b6e24(0xc4)+(0x0,colors_1[_0x4b6e24(0xe2)])(_0x50ba1e);},'messageInvalidIcon':_0x265836=>{const _0x4826a3=_0x6f8954;return _0x4826a3(0xd4)+(0x0,colors_1[_0x4826a3(0xe2)])(_0x265836);},'errorStartUrlNotReachable':_0x26b1b5=>_0x6f8954(0xd6)+_0x26b1b5+_0x6f8954(0xc8)+_0x6f8954(0xe0),'warnFamilyPolicy':(0x0,colors_1['bold'])((0x0,colors_1[_0x6f8954(0xcd)])(_0x6f8954(0xc6)))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+'\x20Check\x20out\x20the\x20Play\x20for'+_0x6f8954(0xbd)+(0x0,colors_1[_0x6f8954(0xe2)])(_0x6f8954(0xbc)),'promptIconUrl':'Icon\x20URL:','errorInvalidUrl':_0x2717a9=>{return'Invalid\x20URL:\x20'+_0x2717a9;},'errorUrlMustBeImage':_0x40be85=>{return'URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20'+_0x40be85+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0x6f8954(0xc5)])(_0x6f8954(0xda)+(0x0,colors_1[_0x6f8954(0xcc)])(_0x6f8954(0xde))),'messageProjectGeneratedSuccess':_0x6f8954(0xc0),'messageSigningKeyCreation':(0x0,colors_1[_0x6f8954(0xc5)])(_0x6f8954(0xb7)),'messageSigningKeyNotFound':_0x526792=>{const _0x25eb4a=_0x6f8954;return _0x25eb4a(0xe4)+_0x526792+_0x25eb4a(0xce);},'promptCreateKey':_0x6f8954(0xb8),'promptKeyFullName':_0x6f8954(0xcb),'promptKeyOrganizationalUnit':_0x6f8954(0xd1),'promptKeyOrganization':_0x6f8954(0xe8),'promptKeyCountry':'Country\x20(2\x20letter\x20code):','promptKeystorePassword':_0x6f8954(0xdc),'promptKeyPassword':_0x6f8954(0xd2),'messageBuildingApp':_0x6f8954(0xd9),'messageEnterPasswords':(_0xf3d5ca,_0x3cea3d)=>{const _0x5a2e32=_0x6f8954;return _0x5a2e32(0xed)+(0x0,colors_1[_0x5a2e32(0xe2)])(_0xf3d5ca)+_0x5a2e32(0xf3)+(0x0,colors_1[_0x5a2e32(0xe2)])(_0x3cea3d)+'.\x0a';},'errorMinLength':(_0x174adc,_0x1fd782)=>{const _0x5f1a5f=_0x6f8954;return _0x5f1a5f(0xe5)+_0x174adc+'\x20but\x20input\x20is\x20'+_0x1fd782+'.';},'errorMaxLength':(_0x326b79,_0x4577eb)=>{return'Maximum\x20length\x20is\x20'+_0x326b79+'\x20but\x20input\x20is\x20'+_0x4577eb+'.';},'errorInvalidInteger':_0x3da4cf=>{return'Invalid\x20integer\x20provided:\x20'+_0x3da4cf;},'messageApkSuccess':_0xfe0374=>{const _0x491d59=_0x6f8954;return _0x491d59(0xc9)+(0x0,colors_1[_0x491d59(0xe2)])(_0xfe0374);},'missingUrlToCheck':_0x6f8954(0xe7)+(''+(0x0,colors_1[_0x6f8954(0xe2)])('--url'))};
1
+ 'use strict';const _0x2e0ad7=_0x2a46;(function(_0x4eefb4,_0x31f76b){const _0x55b127=_0x2a46,_0x1356b8=_0x4eefb4();while(!![]){try{const _0xa2beaf=-parseInt(_0x55b127(0x1b5))/0x1+parseInt(_0x55b127(0x1bc))/0x2*(parseInt(_0x55b127(0x1ad))/0x3)+parseInt(_0x55b127(0x1b8))/0x4*(-parseInt(_0x55b127(0x1c9))/0x5)+parseInt(_0x55b127(0x1af))/0x6*(parseInt(_0x55b127(0x1cd))/0x7)+-parseInt(_0x55b127(0x1bd))/0x8*(parseInt(_0x55b127(0x1ba))/0x9)+-parseInt(_0x55b127(0x1c8))/0xa+parseInt(_0x55b127(0x1e9))/0xb;if(_0xa2beaf===_0x31f76b)break;else _0x1356b8['push'](_0x1356b8['shift']());}catch(_0xee3601){_0x1356b8['push'](_0x1356b8['shift']());}}}(_0x411a,0x7b1f0));function _0x411a(){const _0x2bbe6e=['redirected\x20to\x20','Downloading\x20the\x20JDK\x2011\x20Binaries...','25080671CldcLD','WARNING:\x20','cyan','Downloading\x20the\x20JDK\x2011\x20Sources...','\x20and\x20alias\x20','463461YVmwAV','Invalid\x20URL:\x20','9858uAKdjh','\x22.\x0a','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Path\x20to\x20your\x20existing\x20JDK\x2011:','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','731503jXTrOh','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','messages','8LyjVUk','https://developer.android.com/studio/terms.html','333gpHxqo','Generating\x20Android\x20Project.','4uxGOrC','180664vuvzGu','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','--url','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Icon\x20URL:','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','Decompressing\x20the\x20JDK\x2011\x20Sources...','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','https://play.google.com/console/about/families/','--manifest','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','6905820UlORjh','171490dlohdr','\x20but\x20input\x20is\x20','license\x20agreement.','Password\x20for\x20the\x20Key\x20Store:','1029kPilkk','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','\x20can\x20not\x20be\x20accessible.','defineProperty','Invalid\x20integer\x20provided:\x20','colors','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','\x20URL\x20','\x20Check\x20out\x20the\x20Play\x20for','Downloading\x20JDK\x2011\x20to\x20','Password\x20for\x20the\x20Key:','Country\x20(2\x20letter\x20code):','Missing\x20required\x20parameter\x20','\x0aBuilding\x20the\x20Android\x20App...','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','Downloading\x20Android\x20SDK\x20to\x20','__esModule','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','\x0aSigning\x20key\x20creation','\x0aSigning\x20key\x20information\x20','Do\x20you\x20want\x20to\x20create\x20one\x20now?','URL\x20','Downloading\x20the\x20Android\x20SDK...','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','underline','\x0aProject\x20generated\x20successfully.'];_0x411a=function(){return _0x2bbe6e;};return _0x411a();}Object[_0x2e0ad7(0x1d0)](exports,_0x2e0ad7(0x1dd),{'value':!![]}),exports[_0x2e0ad7(0x1b7)]=void 0x0;const colors_1=require(_0x2e0ad7(0x1d2));function _0x2a46(_0x238b91,_0x3968a0){const _0x411af3=_0x411a();return _0x2a46=function(_0x2a463f,_0x4de02a){_0x2a463f=_0x2a463f-0x1aa;let _0x53fec2=_0x411af3[_0x2a463f];return _0x53fec2;},_0x2a46(_0x238b91,_0x3968a0);}exports[_0x2e0ad7(0x1b7)]={'promptInstallJdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','promptJdkPath':_0x2e0ad7(0x1b2),'messageDownloadJdk':_0x2e0ad7(0x1d6),'messageDownloadJdkSrc':_0x2e0ad7(0x1ab),'messageDecompressJdkSrc':_0x2e0ad7(0x1c3),'messageDownloadJdkBin':_0x2e0ad7(0x1e8),'messageDecompressJdkBin':_0x2e0ad7(0x1b3),'promptInstallSdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0x2e0ad7(0x1dc),'errorSdkTerms':_0x2e0ad7(0x1c4),'promptSdkTerms':_0x2e0ad7(0x1b1)+(0x0,colors_1[_0x2e0ad7(0x1e5)])(_0x2e0ad7(0x1b9))+'?','messageDownloadAndroidSdk':_0x2e0ad7(0x1e3),'messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':_0x2e0ad7(0x1be)+_0x2e0ad7(0x1cb),'messageGeneratingAndroidProject':_0x2e0ad7(0x1bb),'messageCheckSuccess':(_0x5b8a9f,_0x4d2e32)=>{const _0x5e0cc5=_0x2e0ad7;return _0x5e0cc5(0x1d4)+(0x0,colors_1[_0x5e0cc5(0x1aa)])(_0x5b8a9f)+'\x20'+(_0x4d2e32?_0x5e0cc5(0x1e7)+(0x0,colors_1['cyan'])(_0x4d2e32):'')+_0x5e0cc5(0x1db);},'errorMissingManifestParameter':_0x2e0ad7(0x1d9)+((0x0,colors_1['cyan'])('--manifest-url')+'\x20or\x20'+(0x0,colors_1[_0x2e0ad7(0x1aa)])(_0x2e0ad7(0x1c6))),'messageInitializingWebManifest':_0xd94ac4=>{return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1['cyan'])(_0xd94ac4);},'messageInitializingLocalManifest':_0x21b5ae=>{const _0x5c829d=_0x2e0ad7;return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x5c829d(0x1aa)])(_0x21b5ae);},'messageInvalidIcon':_0x2118b9=>{const _0x403e32=_0x2e0ad7;return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1[_0x403e32(0x1aa)])(_0x2118b9);},'errorStartUrlNotReachable':_0x30621c=>_0x2e0ad7(0x1e2)+_0x30621c+_0x2e0ad7(0x1cf)+_0x2e0ad7(0x1e4),'warnFamilyPolicy':(0x0,colors_1['bold'])((0x0,colors_1['yellow'])(_0x2e0ad7(0x1ea)))+_0x2e0ad7(0x1b6)+_0x2e0ad7(0x1ce)+_0x2e0ad7(0x1d5)+'\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a'+(0x0,colors_1[_0x2e0ad7(0x1aa)])(_0x2e0ad7(0x1c5)),'promptIconUrl':_0x2e0ad7(0x1c1),'errorInvalidUrl':_0x4ecf33=>{const _0x216fa9=_0x2e0ad7;return _0x216fa9(0x1ae)+_0x4ecf33;},'errorUrlMustBeImage':_0x23b21a=>{const _0x433520=_0x2e0ad7;return _0x433520(0x1c7)+_0x23b21a+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':_0x2e0ad7(0x1c2),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x2e0ad7(0x1e0)+(0x0,colors_1['green'])('(5/5)')),'messageProjectGeneratedSuccess':_0x2e0ad7(0x1e6),'messageSigningKeyCreation':(0x0,colors_1['underline'])(_0x2e0ad7(0x1df)),'messageSigningKeyNotFound':_0x59c630=>{const _0x24a400=_0x2e0ad7;return _0x24a400(0x1c0)+_0x59c630+_0x24a400(0x1b0);},'promptCreateKey':_0x2e0ad7(0x1e1),'promptKeyFullName':_0x2e0ad7(0x1de),'promptKeyOrganizationalUnit':_0x2e0ad7(0x1d3),'promptKeyOrganization':'Organization\x20(eg:\x20Company\x20Name):','promptKeyCountry':_0x2e0ad7(0x1d8),'promptKeystorePassword':_0x2e0ad7(0x1cc),'promptKeyPassword':_0x2e0ad7(0x1d7),'messageBuildingApp':_0x2e0ad7(0x1da),'messageEnterPasswords':(_0x1d322e,_0x594767)=>{const _0x3fb7ff=_0x2e0ad7;return _0x3fb7ff(0x1b4)+(0x0,colors_1[_0x3fb7ff(0x1aa)])(_0x1d322e)+_0x3fb7ff(0x1ac)+(0x0,colors_1[_0x3fb7ff(0x1aa)])(_0x594767)+'.\x0a';},'errorMinLength':(_0x2e6a9b,_0x17bafe)=>{const _0x43ea26=_0x2e0ad7;return'Minimum\x20length\x20is\x20'+_0x2e6a9b+_0x43ea26(0x1ca)+_0x17bafe+'.';},'errorMaxLength':(_0x449c35,_0x8aca16)=>{const _0x2c0551=_0x2e0ad7;return'Maximum\x20length\x20is\x20'+_0x449c35+_0x2c0551(0x1ca)+_0x8aca16+'.';},'errorInvalidInteger':_0x5ec280=>{const _0x386a7f=_0x2e0ad7;return _0x386a7f(0x1d1)+_0x5ec280;},'messageApkSuccess':_0x480065=>{return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1['cyan'])(_0x480065);},'missingUrlToCheck':_0x2e0ad7(0x1d9)+(''+(0x0,colors_1[_0x2e0ad7(0x1aa)])(_0x2e0ad7(0x1bf)))};
@@ -1 +1 @@
1
- 'use strict';function _0x95d2(){const _0x1ffca9=['87951DsSaRb','indexOf','replace','8tVxtIa','split','2284YmSJtZ','join','defineProperty','7405bnAtmJ','16889631uDycRO','418760LFXHMG','302816AIdzzd','pop','6pyoJJl','2743830qEINPz','30UhycZh','1657061tEBIKb'];_0x95d2=function(){return _0x1ffca9;};return _0x95d2();}const _0x11c547=_0x57bd;(function(_0x14ef62,_0x1bf648){const _0x2ea24e=_0x57bd,_0x5b6bac=_0x14ef62();while(!![]){try{const _0x5962da=-parseInt(_0x2ea24e(0xfe))/0x1+-parseInt(_0x2ea24e(0x102))/0x2*(parseInt(_0x2ea24e(0x104))/0x3)+parseInt(_0x2ea24e(0xf8))/0x4*(-parseInt(_0x2ea24e(0xfb))/0x5)+-parseInt(_0x2ea24e(0x100))/0x6*(-parseInt(_0x2ea24e(0x103))/0x7)+-parseInt(_0x2ea24e(0xf6))/0x8*(-parseInt(_0x2ea24e(0x101))/0x9)+-parseInt(_0x2ea24e(0xfd))/0xa+parseInt(_0x2ea24e(0xfc))/0xb;if(_0x5962da===_0x1bf648)break;else _0x5b6bac['push'](_0x5b6bac['shift']());}catch(_0x44c5b8){_0x5b6bac['push'](_0x5b6bac['shift']());}}}(_0x95d2,0x6d1c4));function _0x57bd(_0x22c523,_0x4241e1){const _0x95d2bd=_0x95d2();return _0x57bd=function(_0x57bdb7,_0x47e6ea){_0x57bdb7=_0x57bdb7-0xf5;let _0x523ea1=_0x95d2bd[_0x57bdb7];return _0x523ea1;},_0x57bd(_0x22c523,_0x4241e1);}Object[_0x11c547(0xfa)](exports,'__esModule',{'value':!![]}),exports['parseRouter']=parseRouter;function parseRouter(_0xd93d8e){const _0xb7c9ad=_0x11c547;let _0x425b12=_0xd93d8e[_0xb7c9ad(0xf7)]('/');_0x425b12[_0xb7c9ad(0xff)]();let _0x369d30=_0x425b12[_0xb7c9ad(0xf9)]();while(_0x369d30[_0xb7c9ad(0x105)](',')>=0x0){_0x369d30=_0x369d30[_0xb7c9ad(0xf5)](',','/');}return _0x369d30;}
1
+ 'use strict';const _0x15e931=_0x3d7c;(function(_0x4e613e,_0x119f79){const _0x169870=_0x3d7c,_0x550501=_0x4e613e();while(!![]){try{const _0x336928=parseInt(_0x169870(0x15f))/0x1*(-parseInt(_0x169870(0x159))/0x2)+parseInt(_0x169870(0x166))/0x3+parseInt(_0x169870(0x155))/0x4*(parseInt(_0x169870(0x162))/0x5)+-parseInt(_0x169870(0x15a))/0x6*(-parseInt(_0x169870(0x168))/0x7)+-parseInt(_0x169870(0x15d))/0x8*(parseInt(_0x169870(0x164))/0x9)+parseInt(_0x169870(0x154))/0xa*(parseInt(_0x169870(0x165))/0xb)+parseInt(_0x169870(0x167))/0xc*(-parseInt(_0x169870(0x156))/0xd);if(_0x336928===_0x119f79)break;else _0x550501['push'](_0x550501['shift']());}catch(_0x2fdde0){_0x550501['push'](_0x550501['shift']());}}}(_0x3066,0xc265e));Object[_0x15e931(0x158)](exports,_0x15e931(0x15c),{'value':!![]}),exports[_0x15e931(0x161)]=parseRouter;function _0x3d7c(_0x4b9d3a,_0x1b6dd8){const _0x306619=_0x3066();return _0x3d7c=function(_0x3d7cbf,_0x1a47f5){_0x3d7cbf=_0x3d7cbf-0x154;let _0x2abe62=_0x306619[_0x3d7cbf];return _0x2abe62;},_0x3d7c(_0x4b9d3a,_0x1b6dd8);}function _0x3066(){const _0x486f7c=['10705730tiXFQn','368270jgJYss','344QxqXsn','18848089ANNIRg','join','defineProperty','1050726jMIuxM','6LlUqqS','pop','__esModule','136576HwNuZI','replace','1ZPGxYn','split','parseRouter','57355OPQLtL','indexOf','405ApmrFt','55xQIxPl','2519037lVWWfz','12TLFWjS'];_0x3066=function(){return _0x486f7c;};return _0x3066();}function parseRouter(_0x17610a){const _0x87ae54=_0x15e931;let _0x15a6bf=_0x17610a[_0x87ae54(0x160)]('/');_0x15a6bf[_0x87ae54(0x15b)]();let _0x2e6a28=_0x15a6bf[_0x87ae54(0x157)]();while(_0x2e6a28[_0x87ae54(0x163)](',')>=0x0){_0x2e6a28=_0x2e6a28[_0x87ae54(0x15e)](',','/');}return _0x2e6a28;}
@@ -1 +1 @@
1
- 'use strict';function _0x1918(){const _0x14b04e=['/web-spatial.xcodeproj/project.pbxproj','140680CKvbTr','write\x20project.pbxproj:\x20ok','70120QLCaaw','1350286OEDifW','../resource','./xcodebuild','5306pCslQS','2796280QbEVSA','.ipa','parseProject','log','4791413ITOUtf','defineProperty','export','6ttYmsC','973464GVKRbC','upload','PROJECT_DIRECTORY','runWithSimulator','default','__esModule','modify','100kxYqVT','6960mzMOFN','./xcodeproject','uploadApp','1206iZpkbB','existsSync','archive','path','PROJECT_EXPORT_DIRECTORY','join','name','./xcrun'];_0x1918=function(){return _0x14b04e;};return _0x1918();}const _0x2493e6=_0xafbc;(function(_0x380c18,_0x1a174a){const _0x109d9f=_0xafbc,_0x5e3a6f=_0x380c18();while(!![]){try{const _0x4a6b45=parseInt(_0x109d9f(0x1af))/0x1+parseInt(_0x109d9f(0x197))/0x2*(-parseInt(_0x109d9f(0x198))/0x3)+-parseInt(_0x109d9f(0x1ac))/0x4*(parseInt(_0x109d9f(0x19f))/0x5)+parseInt(_0x109d9f(0x1a0))/0x6*(-parseInt(_0x109d9f(0x1b2))/0x7)+parseInt(_0x109d9f(0x1ae))/0x8*(parseInt(_0x109d9f(0x1a3))/0x9)+parseInt(_0x109d9f(0x1b3))/0xa+parseInt(_0x109d9f(0x194))/0xb;if(_0x4a6b45===_0x1a174a)break;else _0x5e3a6f['push'](_0x5e3a6f['shift']());}catch(_0x4d3220){_0x5e3a6f['push'](_0x5e3a6f['shift']());}}}(_0x1918,0xa6f57));function _0xafbc(_0x18e15b,_0x4cd5f2){const _0x19183e=_0x1918();return _0xafbc=function(_0xafbc3b,_0x1c07ba){_0xafbc3b=_0xafbc3b-0x192;let _0x2d3206=_0x19183e[_0xafbc3b];return _0x2d3206;},_0xafbc(_0x18e15b,_0x4cd5f2);}Object[_0x2493e6(0x195)](exports,_0x2493e6(0x19d),{'value':!![]}),exports['XcodeManager']=void 0x0;const fs=require('fs'),resource_1=require(_0x2493e6(0x1b0)),xcodeproject_1=require(_0x2493e6(0x1a1)),xcodebuild_1=require(_0x2493e6(0x1b1)),xcrun_1=require(_0x2493e6(0x1aa)),path_1=require(_0x2493e6(0x1a6));class XcodeManager{static async[_0x2493e6(0x192)](_0x3a0d3d,_0x564860=![]){const _0x410f72=_0x2493e6,_0x5ce231=resource_1[_0x410f72(0x19a)]+_0x410f72(0x1ab);await xcodeproject_1['default'][_0x410f72(0x19e)](_0x5ce231,_0x3a0d3d,_0x564860),console[_0x410f72(0x193)](_0x410f72(0x1ad));!fs[_0x410f72(0x1a4)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs['mkdirSync'](resource_1[_0x410f72(0x1a7)],{'recursive':!![]});if(!_0x564860)await xcodebuild_1['default'][_0x410f72(0x1a5)](_0x3a0d3d[_0x410f72(0x196)]);}static async[_0x2493e6(0x199)](_0x19063f,_0x5521e3){const _0x24cd73=_0x2493e6;if(_0x19063f['u']&&_0x19063f['p'])xcrun_1[_0x24cd73(0x19c)][_0x24cd73(0x1a2)]((0x0,path_1[_0x24cd73(0x1a8)])(resource_1[_0x24cd73(0x1a7)],_0x5521e3[_0x24cd73(0x1a9)]+_0x24cd73(0x1b4)),_0x19063f['u'],_0x19063f['p'],!![]);else _0x19063f['k']&&_0x19063f['i']&&xcrun_1[_0x24cd73(0x19c)][_0x24cd73(0x1a2)]((0x0,path_1[_0x24cd73(0x1a8)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x5521e3[_0x24cd73(0x1a9)]+_0x24cd73(0x1b4)),_0x19063f['k'],_0x19063f['i'],![]);}static async['runWithSimulator'](_0x10d04f){const _0x419020=_0x2493e6;await xcrun_1[_0x419020(0x19c)][_0x419020(0x19b)](_0x10d04f);}}exports['XcodeManager']=XcodeManager;
1
+ 'use strict';const _0x217214=_0x1650;(function(_0x1b6a98,_0x4b0c9f){const _0x126aad=_0x1650,_0x2213d7=_0x1b6a98();while(!![]){try{const _0x163e57=parseInt(_0x126aad(0x179))/0x1+parseInt(_0x126aad(0x17c))/0x2+parseInt(_0x126aad(0x175))/0x3+-parseInt(_0x126aad(0x180))/0x4*(-parseInt(_0x126aad(0x178))/0x5)+-parseInt(_0x126aad(0x189))/0x6*(parseInt(_0x126aad(0x17e))/0x7)+-parseInt(_0x126aad(0x17f))/0x8*(parseInt(_0x126aad(0x183))/0x9)+parseInt(_0x126aad(0x17d))/0xa;if(_0x163e57===_0x4b0c9f)break;else _0x2213d7['push'](_0x2213d7['shift']());}catch(_0x2980d1){_0x2213d7['push'](_0x2213d7['shift']());}}}(_0x48f9,0x253ed));Object[_0x217214(0x17b)](exports,'__esModule',{'value':!![]}),exports[_0x217214(0x184)]=void 0x0;const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require(_0x217214(0x172)),xcrun_1=require(_0x217214(0x177)),path_1=require('path');function _0x48f9(){const _0x445e60=['archive','join','1833939bLbmXA','XcodeManager','log','mkdirSync','PROJECT_DIRECTORY','name','6hLDVsG','upload','uploadApp','export','modify','default','./xcodebuild','runWithSimulator','parseProject','270741BuZyEF','PROJECT_EXPORT_DIRECTORY','./xcrun','15SeTEkI','12857bhtKQt','.ipa','defineProperty','402606VlaLnn','31920uVbXTI','1372119rCICvw','8CXAoae','326328bCViVa'];_0x48f9=function(){return _0x445e60;};return _0x48f9();}function _0x1650(_0x47ee36,_0x18ad1a){const _0x48f9dd=_0x48f9();return _0x1650=function(_0x165069,_0x24b576){_0x165069=_0x165069-0x16d;let _0x4c55bf=_0x48f9dd[_0x165069];return _0x4c55bf;},_0x1650(_0x47ee36,_0x18ad1a);}class XcodeManager{static async[_0x217214(0x174)](_0x1812f7,_0x4719d8=![]){const _0x3ff711=_0x217214,_0x267350=resource_1[_0x3ff711(0x187)]+'/web-spatial.xcodeproj/project.pbxproj';await xcodeproject_1[_0x3ff711(0x171)][_0x3ff711(0x170)](_0x267350,_0x1812f7,_0x4719d8),console[_0x3ff711(0x185)]('write\x20project.pbxproj:\x20ok');!fs['existsSync'](resource_1[_0x3ff711(0x176)])&&fs[_0x3ff711(0x186)](resource_1[_0x3ff711(0x176)],{'recursive':!![]});if(!_0x4719d8)await xcodebuild_1[_0x3ff711(0x171)][_0x3ff711(0x181)](_0x1812f7[_0x3ff711(0x16f)]);}static async[_0x217214(0x16d)](_0x4b5eaf,_0x115848){const _0x2b6808=_0x217214;if(_0x4b5eaf['u']&&_0x4b5eaf['p'])xcrun_1[_0x2b6808(0x171)][_0x2b6808(0x16e)]((0x0,path_1[_0x2b6808(0x182)])(resource_1[_0x2b6808(0x176)],_0x115848[_0x2b6808(0x188)]+_0x2b6808(0x17a)),_0x4b5eaf['u'],_0x4b5eaf['p'],!![]);else _0x4b5eaf['k']&&_0x4b5eaf['i']&&xcrun_1['default'][_0x2b6808(0x16e)]((0x0,path_1[_0x2b6808(0x182)])(resource_1[_0x2b6808(0x176)],_0x115848[_0x2b6808(0x188)]+_0x2b6808(0x17a)),_0x4b5eaf['k'],_0x4b5eaf['i'],![]);}static async[_0x217214(0x173)](_0x147241){const _0x30ec4b=_0x217214;await xcrun_1[_0x30ec4b(0x171)][_0x30ec4b(0x173)](_0x147241);}}exports[_0x217214(0x184)]=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';var _0x5eafec=_0x42a9;(function(_0xa0d5c6,_0x722a7a){var _0x12f3ef=_0x42a9,_0x22b737=_0xa0d5c6();while(!![]){try{var _0x568895=-parseInt(_0x12f3ef(0x195))/0x1+-parseInt(_0x12f3ef(0x19a))/0x2+-parseInt(_0x12f3ef(0x196))/0x3*(-parseInt(_0x12f3ef(0x197))/0x4)+parseInt(_0x12f3ef(0x192))/0x5+-parseInt(_0x12f3ef(0x198))/0x6*(parseInt(_0x12f3ef(0x191))/0x7)+-parseInt(_0x12f3ef(0x193))/0x8+parseInt(_0x12f3ef(0x194))/0x9;if(_0x568895===_0x722a7a)break;else _0x22b737['push'](_0x22b737['shift']());}catch(_0x20c18a){_0x22b737['push'](_0x22b737['shift']());}}}(_0x3624,0x5f68c));function _0x42a9(_0x30c4c7,_0x43a2e6){var _0x362408=_0x3624();return _0x42a9=function(_0x42a952,_0x543a77){_0x42a952=_0x42a952-0x190;var _0xa57a9a=_0x362408[_0x42a952];return _0xa57a9a;},_0x42a9(_0x30c4c7,_0x43a2e6);}function _0x3624(){var _0x348060=['\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','__esModule','200347sXiorG','1852995hEgNUJ','4912112EpeQjS','11456973eagfNh','448965sAwIdB','15RmbpGd','38696Quetkr','6RdmFfU','defineProperty','419140smCIxP','manifestSwiftTemplate'];_0x3624=function(){return _0x348060;};return _0x3624();}Object[_0x5eafec(0x199)](exports,_0x5eafec(0x190),{'value':!![]}),exports[_0x5eafec(0x19b)]=void 0x0,exports[_0x5eafec(0x19b)]=_0x5eafec(0x19c);
1
+ 'use strict';var _0x44ed8e=_0x4ae7;(function(_0x4651bf,_0x362045){var _0x5e5193=_0x4ae7,_0x220866=_0x4651bf();while(!![]){try{var _0x5234cf=-parseInt(_0x5e5193(0xd2))/0x1+parseInt(_0x5e5193(0xd9))/0x2+-parseInt(_0x5e5193(0xd6))/0x3+-parseInt(_0x5e5193(0xd5))/0x4+-parseInt(_0x5e5193(0xda))/0x5+-parseInt(_0x5e5193(0xd8))/0x6+parseInt(_0x5e5193(0xdb))/0x7;if(_0x5234cf===_0x362045)break;else _0x220866['push'](_0x220866['shift']());}catch(_0x399f95){_0x220866['push'](_0x220866['shift']());}}}(_0xc855,0x786c2));function _0xc855(){var _0x138417=['\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','516116CSustD','2584146DaaYfO','manifestSwiftTemplate','4343838DzeDmW','1711450fuyxkH','2935670NjjLJi','14675941kNseYg','__esModule','157520AXsIyJ','defineProperty'];_0xc855=function(){return _0x138417;};return _0xc855();}function _0x4ae7(_0x22b2ee,_0x11f00e){var _0xc8555a=_0xc855();return _0x4ae7=function(_0x4ae7eb,_0x376ca0){_0x4ae7eb=_0x4ae7eb-0xd1;var _0x355b28=_0xc8555a[_0x4ae7eb];return _0x355b28;},_0x4ae7(_0x22b2ee,_0x11f00e);}Object[_0x44ed8e(0xd3)](exports,_0x44ed8e(0xd1),{'value':!![]}),exports[_0x44ed8e(0xd7)]=void 0x0,exports[_0x44ed8e(0xd7)]=_0x44ed8e(0xd4);
@@ -1 +1 @@
1
- 'use strict';const _0x1b4699=_0x48bd;(function(_0x4d1180,_0x302daf){const _0x32b386=_0x48bd,_0x24aa12=_0x4d1180();while(!![]){try{const _0x288aa3=-parseInt(_0x32b386(0x101))/0x1+parseInt(_0x32b386(0x115))/0x2*(-parseInt(_0x32b386(0xf1))/0x3)+parseInt(_0x32b386(0x112))/0x4*(parseInt(_0x32b386(0x120))/0x5)+parseInt(_0x32b386(0xfa))/0x6+parseInt(_0x32b386(0x114))/0x7*(parseInt(_0x32b386(0x125))/0x8)+-parseInt(_0x32b386(0x113))/0x9*(-parseInt(_0x32b386(0x117))/0xa)+parseInt(_0x32b386(0x111))/0xb*(parseInt(_0x32b386(0xfd))/0xc);if(_0x288aa3===_0x302daf)break;else _0x24aa12['push'](_0x24aa12['shift']());}catch(_0x1170e3){_0x24aa12['push'](_0x24aa12['shift']());}}}(_0x3a48,0x8dc40));Object[_0x1b4699(0x126)](exports,_0x1b4699(0xf0),{'value':!![]}),exports[_0x1b4699(0x122)]=void 0x0;function _0x48bd(_0x26dbba,_0x33dee2){const _0x3a4806=_0x3a48();return _0x48bd=function(_0x48bd8a,_0xaa7e23){_0x48bd8a=_0x48bd8a-0xee;let _0x1b98a3=_0x3a4806[_0x48bd8a];return _0x1b98a3;},_0x48bd(_0x26dbba,_0x33dee2);}const fs=require('fs'),path_1=require(_0x1b4699(0xf3)),resource_1=require(_0x1b4699(0x109)),semver_1=require(_0x1b4699(0x100)),file_1=require(_0x1b4699(0xfc)),{execSync,exec}=require('child_process');function _0x3a48(){const _0x9098ed=['existsSync','/web-spatial.xcodeproj','\x20clean','PROJECT_EXPORT_DIRECTORY','PROJECT_BUILD_DIRECTORY','4932690PhwvMI','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','../resource/file','485508hpweQo','archive','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','semver','905215kVTQFM','ExportOptions.plist','\x20-destination\x20\x27','toString','start\x20export','line','pack.xcarchive','\x20-exportOptionsPlist\x20','../resource','mkdirSync','\x20-list','./build','EXPORT\x20SUCCEEDED','project','\x20archive','\x20-exportArchive\x20-archivePath\x20','11CAplbc','301104nQAGtt','2572605RvqXbp','1358rBXzzT','4dvOpcV','ARCHIVE\x20SUCCEEDED','30skCnWS','PROJECT_DIRECTORY','list','\x20-scheme\x20','destination','log','allowProvisioningUpdates','web-spatial','\x20-archivePath\x20','40UhYXDk','clean','XcodebuildCMD','output','indexOf','5368lNtKiw','defineProperty','start\x20archive','cwd','__esModule','1449906ZnPHIP','\x20-project\x20','path','join'];_0x3a48=function(){return _0x9098ed;};return _0x3a48();}class Xcodebuild{static async[_0x1b4699(0x10e)](){const _0x131042=_0x1b4699;try{await new Promise((_0x550c57,_0x103f58)=>{const _0x56faa4=_0x48bd,_0x527ef0=resource_1['PROJECT_DIRECTORY']+_0x56faa4(0xf6),_0x45e49f=execSync(new XcodebuildCMD()[_0x56faa4(0x10e)](_0x527ef0)['list']()['line']);console[_0x56faa4(0x11c)](_0x45e49f[_0x56faa4(0x104)]()),_0x550c57(_0x45e49f);});}catch(_0x55958b){console[_0x131042(0x11c)](_0x55958b);}}static async[_0x1b4699(0x119)](){try{await new Promise((_0x5c82e2,_0x1b1001)=>{const _0x4ab8aa=_0x48bd,_0x286f40=resource_1[_0x4ab8aa(0x118)]+_0x4ab8aa(0xf6),_0x1dfe7e=execSync(new XcodebuildCMD()[_0x4ab8aa(0x10e)](_0x286f40)['list']()[_0x4ab8aa(0x106)]);console[_0x4ab8aa(0x11c)](_0x1dfe7e[_0x4ab8aa(0x104)]()),_0x5c82e2(_0x1dfe7e);});}catch(_0x587177){console['log'](_0x587177);}}static async[_0x1b4699(0xfe)](_0x27affc){const _0x260207=_0x1b4699;try{return console[_0x260207(0x11c)](_0x260207(0xee)),!fs['existsSync'](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x260207(0x10a)](resource_1[_0x260207(0xf8)],{'recursive':!![]}),await new Promise((_0x295ddb,_0x47a215)=>{const _0x3fc5e7=_0x260207,_0xf7f2cf=resource_1['PROJECT_DIRECTORY']+'/web-spatial.xcodeproj',_0x8d4db1=execSync(new XcodebuildCMD()[_0x3fc5e7(0x10e)](_0xf7f2cf)['scheme'](_0x3fc5e7(0x11e))[_0x3fc5e7(0xfe)]((0x0,path_1[_0x3fc5e7(0xf4)])(resource_1['PROJECT_BUILD_DIRECTORY'],'./pack'))[_0x3fc5e7(0x121)]()[_0x3fc5e7(0x106)]);let _0x18a984=_0x8d4db1[_0x3fc5e7(0x104)]();if(_0x18a984['indexOf'](_0x3fc5e7(0x116))>0x0){console[_0x3fc5e7(0x11c)](_0x3fc5e7(0xfb)),console[_0x3fc5e7(0x11c)](_0x3fc5e7(0x105));const _0x469132=execSync(new XcodebuildCMD()[_0x3fc5e7(0x123)]((0x0,path_1[_0x3fc5e7(0xf4)])(resource_1[_0x3fc5e7(0xf9)],_0x3fc5e7(0x107)),resource_1[_0x3fc5e7(0xf8)],(0x0,path_1['join'])(resource_1[_0x3fc5e7(0xf9)],_0x3fc5e7(0x102)))[_0x3fc5e7(0x11d)]()[_0x3fc5e7(0x106)]);_0x18a984=_0x469132[_0x3fc5e7(0x104)]();if(_0x18a984[_0x3fc5e7(0x124)](_0x3fc5e7(0x10d))>0x0){const _0x24e2a3=_0x27affc!==null&&_0x27affc!==void 0x0?_0x27affc:_0x3fc5e7(0x10c),_0x101b0c=(0x0,path_1[_0x3fc5e7(0xf4)])(process[_0x3fc5e7(0xef)](),_0x24e2a3);!fs[_0x3fc5e7(0xf5)](_0x101b0c)&&fs[_0x3fc5e7(0x10a)](_0x101b0c,{'recursive':!![]}),(0x0,file_1['copyDir'])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x101b0c),console['log'](_0x3fc5e7(0xff)),_0x295ddb(!![]);}(0x0,semver_1['clean'])(resource_1[_0x3fc5e7(0xf9)]);}_0x295ddb(![]);});}catch(_0x5f27b3){console[_0x260207(0x11c)](_0x5f27b3);}}}exports['default']=Xcodebuild;class XcodebuildCMD{constructor(){const _0x315c33=_0x1b4699;this[_0x315c33(0x106)]='xcodebuild';}[_0x1b4699(0x10e)](_0x55a681){const _0x15e804=_0x1b4699;return this['line']+=_0x15e804(0xf2)+_0x55a681,this;}['list'](){const _0x3db189=_0x1b4699;return this['line']+=_0x3db189(0x10b),this;}['scheme'](_0xd1150f){const _0x32d947=_0x1b4699;return this[_0x32d947(0x106)]+=_0x32d947(0x11a)+_0xd1150f,this;}[_0x1b4699(0xfe)](_0xb48385){const _0x5b592d=_0x1b4699;return this[_0x5b592d(0x106)]+=_0x5b592d(0x11f)+_0xb48385+_0x5b592d(0x10f),this;}['allowProvisioningUpdates'](){return this['line']+='\x20-allowProvisioningUpdates',this;}[_0x1b4699(0x11b)](_0x5c7a08){const _0x45745d=_0x1b4699;return this[_0x45745d(0x106)]+=_0x45745d(0x103)+_0x5c7a08+'\x27',this;}[_0x1b4699(0x123)](_0x17906c,_0x22a46a,_0x4ba2a6){const _0x48fbf9=_0x1b4699;return this['line']+=_0x48fbf9(0x110)+_0x17906c+'\x20-exportPath\x20'+_0x22a46a+_0x48fbf9(0x108)+_0x4ba2a6,this;}['clean'](){const _0x4a2840=_0x1b4699;return this['line']+=_0x4a2840(0xf7),this;}}exports['XcodebuildCMD']=XcodebuildCMD;
1
+ 'use strict';const _0x8376f8=_0x1bf6;(function(_0x16bbd2,_0x488484){const _0x2eb9fa=_0x1bf6,_0x291c4d=_0x16bbd2();while(!![]){try{const _0x16b247=parseInt(_0x2eb9fa(0x131))/0x1+-parseInt(_0x2eb9fa(0x114))/0x2+-parseInt(_0x2eb9fa(0x103))/0x3+-parseInt(_0x2eb9fa(0x122))/0x4+-parseInt(_0x2eb9fa(0x125))/0x5*(-parseInt(_0x2eb9fa(0x112))/0x6)+parseInt(_0x2eb9fa(0x12a))/0x7*(parseInt(_0x2eb9fa(0x105))/0x8)+-parseInt(_0x2eb9fa(0x118))/0x9*(-parseInt(_0x2eb9fa(0x104))/0xa);if(_0x16b247===_0x488484)break;else _0x291c4d['push'](_0x291c4d['shift']());}catch(_0x9a64ed){_0x291c4d['push'](_0x291c4d['shift']());}}}(_0x2781,0xf1fad));Object[_0x8376f8(0x134)](exports,_0x8376f8(0x10c),{'value':!![]}),exports[_0x8376f8(0x12d)]=void 0x0;const fs=require('fs'),path_1=require(_0x8376f8(0x110)),resource_1=require('../resource'),semver_1=require(_0x8376f8(0x111)),file_1=require(_0x8376f8(0x115)),{execSync,exec}=require(_0x8376f8(0x10d));class Xcodebuild{static async['project'](){const _0x324ede=_0x8376f8;try{await new Promise((_0x1c3088,_0x2fd95e)=>{const _0x2161d5=_0x1bf6,_0x3f674f=resource_1[_0x2161d5(0x11a)]+_0x2161d5(0x108),_0x28a51a=execSync(new XcodebuildCMD()[_0x2161d5(0x124)](_0x3f674f)['list']()[_0x2161d5(0x116)]);console[_0x2161d5(0x10e)](_0x28a51a[_0x2161d5(0x126)]()),_0x1c3088(_0x28a51a);});}catch(_0x169725){console[_0x324ede(0x10e)](_0x169725);}}static async[_0x8376f8(0x107)](){const _0x2605b3=_0x8376f8;try{await new Promise((_0x37c829,_0x44c85a)=>{const _0x421dd2=_0x1bf6,_0x5ebe38=resource_1['PROJECT_DIRECTORY']+'/web-spatial.xcodeproj',_0x474e34=execSync(new XcodebuildCMD()[_0x421dd2(0x124)](_0x5ebe38)[_0x421dd2(0x107)]()['line']);console[_0x421dd2(0x10e)](_0x474e34['toString']()),_0x37c829(_0x474e34);});}catch(_0x429e49){console[_0x2605b3(0x10e)](_0x429e49);}}static async[_0x8376f8(0x11f)](_0x3d8b3a){const _0x93f012=_0x8376f8;try{return console[_0x93f012(0x10e)](_0x93f012(0x12e)),!fs[_0x93f012(0x102)](resource_1[_0x93f012(0x127)])&&fs['mkdirSync'](resource_1[_0x93f012(0x127)],{'recursive':!![]}),await new Promise((_0x2d0ba7,_0xad1b82)=>{const _0x305903=_0x93f012,_0x406c62=resource_1[_0x305903(0x11a)]+'/web-spatial.xcodeproj',_0x15ae19=execSync(new XcodebuildCMD()[_0x305903(0x124)](_0x406c62)[_0x305903(0x10a)](_0x305903(0x128))[_0x305903(0x11f)]((0x0,path_1[_0x305903(0x117)])(resource_1[_0x305903(0x12b)],_0x305903(0x11c)))[_0x305903(0x130)]()['line']);let _0x5026bc=_0x15ae19[_0x305903(0x126)]();if(_0x5026bc[_0x305903(0x11e)]('ARCHIVE\x20SUCCEEDED')>0x0){console[_0x305903(0x10e)](_0x305903(0x12f)),console['log']('start\x20export');const _0xc3b4b8=execSync(new XcodebuildCMD()[_0x305903(0x132)]((0x0,path_1[_0x305903(0x117)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x305903(0x109)),resource_1[_0x305903(0x127)],(0x0,path_1[_0x305903(0x117)])(resource_1['PROJECT_BUILD_DIRECTORY'],'ExportOptions.plist'))['allowProvisioningUpdates']()['line']);_0x5026bc=_0xc3b4b8[_0x305903(0x126)]();if(_0x5026bc[_0x305903(0x11e)](_0x305903(0x12c))>0x0){const _0x2b28ab=_0x3d8b3a!==null&&_0x3d8b3a!==void 0x0?_0x3d8b3a:'./build',_0x43df09=(0x0,path_1['join'])(process[_0x305903(0x119)](),_0x2b28ab);!fs[_0x305903(0x102)](_0x43df09)&&fs[_0x305903(0x11b)](_0x43df09,{'recursive':!![]}),(0x0,file_1[_0x305903(0x11d)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x43df09),console[_0x305903(0x10e)]('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------'),_0x2d0ba7(!![]);}(0x0,semver_1[_0x305903(0x130)])(resource_1['PROJECT_BUILD_DIRECTORY']);}_0x2d0ba7(![]);});}catch(_0x118787){console[_0x93f012(0x10e)](_0x118787);}}}exports['default']=Xcodebuild;class XcodebuildCMD{constructor(){const _0x515558=_0x8376f8;this['line']=_0x515558(0x123);}['project'](_0xbf4fe1){const _0x3b38f6=_0x8376f8;return this[_0x3b38f6(0x116)]+=_0x3b38f6(0x113)+_0xbf4fe1,this;}['list'](){const _0x501c24=_0x8376f8;return this[_0x501c24(0x116)]+=_0x501c24(0x101),this;}[_0x8376f8(0x10a)](_0x56cc26){const _0x45bb5b=_0x8376f8;return this[_0x45bb5b(0x116)]+='\x20-scheme\x20'+_0x56cc26,this;}['archive'](_0x226a40){const _0x2842fc=_0x8376f8;return this[_0x2842fc(0x116)]+=_0x2842fc(0x133)+_0x226a40+_0x2842fc(0x121),this;}[_0x8376f8(0x120)](){const _0x2342f8=_0x8376f8;return this[_0x2342f8(0x116)]+=_0x2342f8(0x129),this;}[_0x8376f8(0x106)](_0x5e5b87){const _0xac9e6c=_0x8376f8;return this[_0xac9e6c(0x116)]+='\x20-destination\x20\x27'+_0x5e5b87+'\x27',this;}['output'](_0x2839a8,_0x458315,_0xeb2777){const _0x2894c5=_0x8376f8;return this[_0x2894c5(0x116)]+='\x20-exportArchive\x20-archivePath\x20'+_0x2839a8+_0x2894c5(0x10f)+_0x458315+'\x20-exportOptionsPlist\x20'+_0xeb2777,this;}[_0x8376f8(0x130)](){const _0x397d5a=_0x8376f8;return this['line']+=_0x397d5a(0x10b),this;}}function _0x1bf6(_0x250044,_0x3e58d5){const _0x278159=_0x2781();return _0x1bf6=function(_0x1bf631,_0x5ab302){_0x1bf631=_0x1bf631-0x101;let _0x539400=_0x278159[_0x1bf631];return _0x539400;},_0x1bf6(_0x250044,_0x3e58d5);}function _0x2781(){const _0x5271df=['\x20archive','5149668HabRcX','xcodebuild','project','4115VoivPG','toString','PROJECT_EXPORT_DIRECTORY','web-spatial','\x20-allowProvisioningUpdates','7nxkiyE','PROJECT_BUILD_DIRECTORY','EXPORT\x20SUCCEEDED','XcodebuildCMD','start\x20archive','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','clean','59981hYebWO','output','\x20-archivePath\x20','defineProperty','\x20-list','existsSync','3491244hXFFqd','2920ItTmaJ','1933432GqjhYp','destination','list','/web-spatial.xcodeproj','pack.xcarchive','scheme','\x20clean','__esModule','child_process','log','\x20-exportPath\x20','path','semver','6354jnKdmj','\x20-project\x20','1959390milyfV','../resource/file','line','join','100134HRyXJw','cwd','PROJECT_DIRECTORY','mkdirSync','./pack','copyDir','indexOf','archive','allowProvisioningUpdates'];_0x2781=function(){return _0x5271df;};return _0x2781();}exports[_0x8376f8(0x12d)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';const _0x4c1bdd=_0x2154;function _0x2154(_0x499d3c,_0x5719f0){const _0x131a30=_0x131a();return _0x2154=function(_0x2154ff,_0x55c9cb){_0x2154ff=_0x2154ff-0x109;let _0x25be56=_0x131a30[_0x2154ff];return _0x25be56;},_0x2154(_0x499d3c,_0x5719f0);}(function(_0x5920ef,_0x28b19a){const _0x576aae=_0x2154,_0x41f250=_0x5920ef();while(!![]){try{const _0x318090=-parseInt(_0x576aae(0x11c))/0x1*(-parseInt(_0x576aae(0x14b))/0x2)+-parseInt(_0x576aae(0x13c))/0x3*(parseInt(_0x576aae(0x14e))/0x4)+-parseInt(_0x576aae(0x123))/0x5*(parseInt(_0x576aae(0x134))/0x6)+-parseInt(_0x576aae(0x15a))/0x7*(-parseInt(_0x576aae(0x15e))/0x8)+parseInt(_0x576aae(0x160))/0x9+parseInt(_0x576aae(0x154))/0xa+parseInt(_0x576aae(0x144))/0xb;if(_0x318090===_0x28b19a)break;else _0x41f250['push'](_0x41f250['shift']());}catch(_0x1d658f){_0x41f250['push'](_0x41f250['shift']());}}}(_0x131a,0xbca2e));function _0x131a(){const _0x1e55d2=['enterprise','buildType','bindIcon','ImageHelper','.standalone','../resource/load','<string>','11343464WXKkUo','SceneWidth','log','SCOPE','objects','PBXGroup','1280','434kzUkLo','writeFileSync','name','140708Ssjpdt','test','PWAProtocol(protocolValue:\x20\x22','protocol','\x22),','getMIME','1343770vrdncl','defineProperty','MIDDLE_APPICON_DIRECTORY','image/','push','minimal-ui','1652zzekHN','teamId','fixProjectFunction','manifestInfo','11584DBRGaD','join','5966118pVLKJl','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a','scope','description','writeAsync','buildSettings','default','1.0','url','manifestSwiftTemplate','./web-spatial/Info.plist','filename','createImg','PROJECT_BUILD_DIRECTORY','updateProductName','length','icon.png','\x22,\x20url:\x20\x22','updateDeeplink','updateVersion','replace','start_url','SceneHeight','path','updateTeamId','modifySwift','icon.','Contents.json','\x22automatic\x22','object','existsSync','protocol_handlers','writeSync','utf-8','height','includes','project','updateBuildProperty','1999yNsVFQ','release-testing','__esModule','AppName','mainScene','PRODUCT_BUNDLE_IDENTIFIER','version','1236585TdSzKt','defaultSize','BUILDTYPE','parseSync','width','SceneResizability','.minimal','PROJECT_DIRECTORY','pbxXCConfigurationList','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','modify','ExportOptions.plist','images','START_URL','bindManifestInfo','USE_MAIN_SCENE','updateExportOptions','12edfwsg','DEVELOPMENT_TEAM','buildConfigurations','YOURTEAMID','./web-spatial/libs/webView/manifest.swift','./manifestSwiftTemplate','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','false','114iHpGpT'];_0x131a=function(){return _0x1e55d2;};return _0x131a();}Object[_0x4c1bdd(0x155)](exports,_0x4c1bdd(0x11e),{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require(_0x4c1bdd(0x10d)),load_1=require(_0x4c1bdd(0x142)),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require(_0x4c1bdd(0x139)),xcode=require('xcode'),exportOptionsXML=_0x4c1bdd(0x12c),infoPlistXML=_0x4c1bdd(0x161);let useExportOptionsXML='';class XcodeProject{static async[_0x4c1bdd(0x12d)](_0x2d6193,_0x4fb6d4,_0x954ed2=![]){const _0x237ab6=_0x4c1bdd;let _0xe777ac=xcode[_0x237ab6(0x11a)](_0x2d6193);this[_0x237ab6(0x15c)](_0xe777ac),_0xe777ac[_0x237ab6(0x126)]();let _0x37a598=_0x4fb6d4[_0x237ab6(0x13e)];const _0x37a18a=[_0x237ab6(0x11d),'app-store-connect','debugging',_0x237ab6(0x13d)];useExportOptionsXML=exportOptionsXML[_0x237ab6(0x10a)](_0x237ab6(0x125),_0x37a18a[_0x237ab6(0x119)](_0x37a598)?_0x37a598:'release-testing');_0x4fb6d4[_0x237ab6(0x15b)]&&this[_0x237ab6(0x10e)](_0xe777ac,_0x4fb6d4[_0x237ab6(0x15b)]);this[_0x237ab6(0x133)]();if(_0x4fb6d4['icon'])await this[_0x237ab6(0x13f)](_0x4fb6d4['icon']);this['bindManifestInfo'](_0xe777ac,_0x4fb6d4[_0x237ab6(0x15d)]['json'],_0x954ed2);_0x4fb6d4['version']?this[_0x237ab6(0x109)](_0xe777ac,_0x4fb6d4[_0x237ab6(0x122)]):this[_0x237ab6(0x109)](_0xe777ac,_0x237ab6(0x167));try{fs[_0x237ab6(0x14c)](_0x2d6193,_0xe777ac[_0x237ab6(0x116)]());}catch(_0x1023d4){console[_0x237ab6(0x146)](_0x1023d4);}}static[_0x4c1bdd(0x15c)](_0x1a58ce){const _0x59d0ef=_0x4c1bdd;_0x1a58ce['pbxGroupByName']=function(_0x35f2fc){const _0x54bebd=_0x2154;var _0x156e7f=this['hash'][_0x54bebd(0x11a)][_0x54bebd(0x148)][_0x54bebd(0x149)],_0x338284,_0x5f809b;for(_0x338284 in _0x156e7f){if(!/_comment$/[_0x54bebd(0x14f)](_0x338284))continue;if(_0x156e7f[_0x338284]==_0x35f2fc)return _0x5f809b=_0x338284['split'](/_comment$/)[0x0],_0x156e7f[_0x5f809b];}return![];},_0x1a58ce[_0x59d0ef(0x11b)]=function(_0x18300f,_0x449e52,_0x561373,_0x3b9afc){const _0x42809d=_0x59d0ef;let _0x11c84b=[];const _0x591644=/_comment$/;if(_0x3b9afc){const _0x50336c=this['pbxTargetByName'](_0x3b9afc),_0x36b88a=_0x50336c&&_0x50336c['buildConfigurationList'],_0x56cb4f=this[_0x42809d(0x12b)]();for(const _0x14350d in _0x56cb4f){if(!_0x591644[_0x42809d(0x14f)](_0x14350d)&&_0x36b88a===_0x14350d){const _0x2cb893=_0x56cb4f[_0x14350d][_0x42809d(0x136)];for(const _0x2566d6 of _0x2cb893){_0x11c84b[_0x42809d(0x158)](_0x2566d6['value']);}break;}}}var _0x45b452=this['pbxXCBuildConfigurationSection']();for(var _0x3b5fb2 in _0x45b452){if(!_0x591644[_0x42809d(0x14f)](_0x3b5fb2)){if(_0x3b9afc&&!_0x11c84b[_0x42809d(0x119)](_0x3b5fb2))continue;var _0x30d712=_0x45b452[_0x3b5fb2];(_0x561373&&_0x30d712[_0x42809d(0x14d)]===_0x561373||!_0x561373)&&_0x30d712[_0x42809d(0x165)][_0x18300f]&&(_0x30d712[_0x42809d(0x165)][_0x18300f]=_0x449e52);}}};}static async[_0x4c1bdd(0x13f)](_0x591acf){const _0x1b0063=_0x4c1bdd;if(_0x591acf){const _0xc386d9=(0x0,path_1[_0x1b0063(0x15f)])(resource_1[_0x1b0063(0x12a)],resource_1['BACK_APPICON_DIRECTORY']),_0x245aa2=(0x0,path_1[_0x1b0063(0x15f)])(_0xc386d9,_0x1b0063(0x111)),_0x370555=_0x1b0063(0x110)+_0x591acf[_0x1b0063(0x153)]()[_0x1b0063(0x10a)](_0x1b0063(0x157),''),_0x4f3235=(0x0,path_1[_0x1b0063(0x15f)])(_0xc386d9,_0x370555);let _0xab8669=await(0x0,load_1['loadJsonFromDisk'])(_0x245aa2);_0xab8669[_0x1b0063(0x12f)][0x0][_0x1b0063(0x16b)]=_0x370555,await _0x591acf[_0x1b0063(0x164)](_0x4f3235),await fs[_0x1b0063(0x14c)](_0x245aa2,JSON['stringify'](_0xab8669));const _0x26d4be=(0x0,path_1['join'])(resource_1[_0x1b0063(0x12a)],resource_1[_0x1b0063(0x156)]),_0x4b3429=(0x0,path_1[_0x1b0063(0x15f)])(_0x26d4be,'Contents.json'),_0x22d812=_0x1b0063(0x170),_0x4a1bb1=(0x0,path_1['join'])(_0x26d4be,_0x22d812);let _0x59b2de=await(0x0,load_1['loadJsonFromDisk'])(_0x4b3429),_0x212584=imageHelper_1[_0x1b0063(0x140)][_0x1b0063(0x16c)](0x200);_0x59b2de[_0x1b0063(0x12f)][0x0][_0x1b0063(0x16b)]=_0x22d812,await _0x212584[_0x1b0063(0x164)](_0x4a1bb1),await fs[_0x1b0063(0x14c)](_0x4b3429,JSON['stringify'](_0x59b2de));}}static[_0x4c1bdd(0x10e)](_0x4cb42a,_0x31a2f2){const _0x1d0a51=_0x4c1bdd;_0x4cb42a[_0x1d0a51(0x11b)](_0x1d0a51(0x135),_0x31a2f2),useExportOptionsXML=useExportOptionsXML[_0x1d0a51(0x10a)](_0x1d0a51(0x137),_0x31a2f2);}static['updateExportOptions'](){const _0x4f60e1=_0x4c1bdd;!fs[_0x4f60e1(0x114)](resource_1[_0x4f60e1(0x16d)])&&fs['mkdirSync'](resource_1[_0x4f60e1(0x16d)],{'recursive':!![]}),fs[_0x4f60e1(0x14c)]((0x0,path_1['join'])(resource_1[_0x4f60e1(0x16d)],_0x4f60e1(0x12e)),useExportOptionsXML);}static[_0x4c1bdd(0x131)](_0x35ef10,_0x1d8e9c,_0x1bf211=![]){const _0x47a893=_0x4c1bdd;var _0x154208;_0x35ef10[_0x47a893(0x16e)](_0x1d8e9c[_0x47a893(0x14d)]),_0x1d8e9c['id']&&!_0x1bf211&&_0x35ef10[_0x47a893(0x11b)](_0x47a893(0x121),'\x22'+_0x1d8e9c['id']+'\x22'),this['updateDeeplink']((_0x154208=_0x1d8e9c[_0x47a893(0x115)])!==null&&_0x154208!==void 0x0?_0x154208:[]),this['modifySwift'](_0x1d8e9c);}static[_0x4c1bdd(0x109)](_0x2b7fdc,_0x132b22){_0x2b7fdc['updateBuildProperty']('CURRENT_PROJECT_VERSION',_0x132b22);}static[_0x4c1bdd(0x172)](_0x41d382){const _0x1ccc24=_0x4c1bdd;let _0x4b7b11=(0x0,path_1[_0x1ccc24(0x15f)])(resource_1[_0x1ccc24(0x12a)],_0x1ccc24(0x16a)),_0x5362d0='';for(let _0x365a1a=0x0;_0x365a1a<_0x41d382[_0x1ccc24(0x16f)];_0x365a1a++){_0x5362d0+=_0x1ccc24(0x143)+_0x41d382[_0x365a1a][_0x1ccc24(0x151)]+'</string>';}const _0xfc69ee=infoPlistXML[_0x1ccc24(0x10a)]('DEEPLINK',_0x5362d0);fs[_0x1ccc24(0x14c)](_0x4b7b11,_0xfc69ee);}static[_0x4c1bdd(0x10f)](_0x2f843f){const _0x5c628d=_0x4c1bdd,_0x50c942=(0x0,path_1[_0x5c628d(0x15f)])(resource_1[_0x5c628d(0x12a)],_0x5c628d(0x138));let _0x14ed40=manifestSwiftTemplate_1[_0x5c628d(0x169)];_0x14ed40=_0x14ed40[_0x5c628d(0x10a)](_0x5c628d(0x130),_0x2f843f[_0x5c628d(0x10b)]),_0x14ed40=_0x14ed40[_0x5c628d(0x10a)](_0x5c628d(0x147),_0x2f843f[_0x5c628d(0x162)]),_0x14ed40=_0x14ed40[_0x5c628d(0x10a)](_0x5c628d(0x11f),_0x2f843f[_0x5c628d(0x14d)]),_0x14ed40=_0x14ed40[_0x5c628d(0x10a)]('Description',_0x2f843f[_0x5c628d(0x163)]),_0x14ed40=_0x14ed40[_0x5c628d(0x10a)]('AppID',_0x2f843f['id']),_0x14ed40=_0x14ed40[_0x5c628d(0x10a)](_0x5c628d(0x129),_0x2f843f['display']==_0x5c628d(0x159)?'.minimal':_0x5c628d(0x141));if(_0x2f843f[_0x5c628d(0x115)]){let _0x1e2c1c='';for(let _0x445dca=0x0;_0x445dca<_0x2f843f[_0x5c628d(0x115)][_0x5c628d(0x16f)];_0x445dca++){_0x1e2c1c+=_0x5c628d(0x150)+_0x2f843f[_0x5c628d(0x115)][_0x445dca]['protocol']+_0x5c628d(0x171)+_0x2f843f['protocol_handlers'][_0x445dca][_0x5c628d(0x168)]+_0x5c628d(0x152);}_0x14ed40=_0x14ed40[_0x5c628d(0x10a)](_0x5c628d(0x13a),_0x1e2c1c);}typeof _0x2f843f[_0x5c628d(0x120)]===_0x5c628d(0x113)?(_0x14ed40=_0x14ed40[_0x5c628d(0x10a)](_0x5c628d(0x145),_0x2f843f[_0x5c628d(0x120)]['defaultSize'][_0x5c628d(0x127)]),_0x14ed40=_0x14ed40[_0x5c628d(0x10a)](_0x5c628d(0x10c),_0x2f843f[_0x5c628d(0x120)][_0x5c628d(0x124)][_0x5c628d(0x118)]),_0x14ed40=_0x14ed40[_0x5c628d(0x10a)]('SceneResizability','\x22'+_0x2f843f[_0x5c628d(0x120)]['resizability']+'\x22'),_0x14ed40=_0x14ed40['replace'](_0x5c628d(0x132),'true')):(_0x14ed40=_0x14ed40[_0x5c628d(0x10a)]('SceneWidth',_0x5c628d(0x14a)),_0x14ed40=_0x14ed40[_0x5c628d(0x10a)](_0x5c628d(0x10c),_0x5c628d(0x14a)),_0x14ed40=_0x14ed40[_0x5c628d(0x10a)](_0x5c628d(0x128),_0x5c628d(0x112)),_0x14ed40=_0x14ed40[_0x5c628d(0x10a)](_0x5c628d(0x132),_0x5c628d(0x13b))),fs['writeFileSync'](_0x50c942,_0x14ed40,_0x5c628d(0x117));}}exports[_0x4c1bdd(0x166)]=XcodeProject;
1
+ 'use strict';function _0x4d15(_0x3b0055,_0xafd1a6){const _0x39d909=_0x39d9();return _0x4d15=function(_0x4d1551,_0xfd2c87){_0x4d1551=_0x4d1551-0x9e;let _0x149d4b=_0x39d909[_0x4d1551];return _0x149d4b;},_0x4d15(_0x3b0055,_0xafd1a6);}function _0x39d9(){const _0x2f27cf=['USE_MAIN_SCENE','pbxTargetByName','defaultSize','fixProjectFunction','enterprise','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','\x22),','getMIME','objects','value','27159231fdYSVV','display','push','modify','AppID','test','manifestInfo','PROJECT_BUILD_DIRECTORY','Description','updateTeamId','1.0','log','<string>','__esModule','ExportOptions.plist','930377fiuMeu','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','.minimal','version','teamId','\x22automatic\x22','protocol','updateExportOptions','3804310xExtUU','PWAProtocol(protocolValue:\x20\x22','loadJsonFromDisk','updateBuildProperty','height','1525880VjHyED','75LhvVPF','xcode','PROJECT_DIRECTORY','1280','writeAsync','mainScene','release-testing','length','buildSettings','utf-8','MIDDLE_APPICON_DIRECTORY','bindIcon','modifySwift','join','SCOPE','AppName','ImageHelper','description','pbxXCConfigurationList','BACK_APPICON_DIRECTORY','SceneResizability','SceneHeight','SceneWidth','YOURTEAMID','DEEPLINK','updateDeeplink','./web-spatial/libs/webView/manifest.swift','START_URL','4TgxnQR','bindManifestInfo','replace','BUILDTYPE','stringify','\x22,\x20url:\x20\x22','app-store-connect','DEVELOPMENT_TEAM','images','../resource','1123015cKVpSY','writeSync','PRODUCT_BUNDLE_IDENTIFIER','updateVersion','../resource/imageHelper','icon.','icon','minimal-ui','project','path','4005558GKYSaf','name','createImg','protocol_handlers','updateProductName','124882VenYze','false','32zvrIVl','buildConfigurations','image/','default','mkdirSync','buildType','Contents.json','manifestSwiftTemplate','includes','object','writeFileSync','parseSync','27XOvlaU','url'];_0x39d9=function(){return _0x2f27cf;};return _0x39d9();}const _0x209b24=_0x4d15;(function(_0x35fc7c,_0x480011){const _0x575b73=_0x4d15,_0x514896=_0x35fc7c();while(!![]){try{const _0x2ad635=parseInt(_0x575b73(0xe1))/0x1+parseInt(_0x575b73(0xab))/0x2*(parseInt(_0x575b73(0xe2))/0x3)+parseInt(_0x575b73(0xfe))/0x4*(parseInt(_0x575b73(0x108))/0x5)+-parseInt(_0x575b73(0xa6))/0x6+-parseInt(_0x575b73(0xd4))/0x7*(parseInt(_0x575b73(0xad))/0x8)+-parseInt(_0x575b73(0xb9))/0x9*(-parseInt(_0x575b73(0xdc))/0xa)+-parseInt(_0x575b73(0xc5))/0xb;if(_0x2ad635===_0x480011)break;else _0x514896['push'](_0x514896['shift']());}catch(_0x533e7a){_0x514896['push'](_0x514896['shift']());}}}(_0x39d9,0xbf89f));Object['defineProperty'](exports,_0x209b24(0xd2),{'value':!![]});const fs=require('fs'),resource_1=require(_0x209b24(0x107)),path_1=require(_0x209b24(0xa5)),load_1=require('../resource/load'),imageHelper_1=require(_0x209b24(0xa0)),manifestSwiftTemplate_1=require('./manifestSwiftTemplate'),xcode=require(_0x209b24(0xe3)),exportOptionsXML=_0x209b24(0xd5),infoPlistXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a';let useExportOptionsXML='';class XcodeProject{static async[_0x209b24(0xc8)](_0xb72b9,_0x452ff9,_0x2454e6=![]){const _0x3c3ec7=_0x209b24;let _0x5632c5=xcode[_0x3c3ec7(0xa4)](_0xb72b9);this[_0x3c3ec7(0xbe)](_0x5632c5),_0x5632c5[_0x3c3ec7(0xb8)]();let _0x29abb3=_0x452ff9[_0x3c3ec7(0xb2)];const _0x4e8a9e=[_0x3c3ec7(0xe8),_0x3c3ec7(0x104),'debugging',_0x3c3ec7(0xbf)];useExportOptionsXML=exportOptionsXML['replace'](_0x3c3ec7(0x101),_0x4e8a9e[_0x3c3ec7(0xb5)](_0x29abb3)?_0x29abb3:_0x3c3ec7(0xe8));_0x452ff9['teamId']&&this['updateTeamId'](_0x5632c5,_0x452ff9[_0x3c3ec7(0xd8)]);this['updateExportOptions']();if(_0x452ff9[_0x3c3ec7(0xa2)])await this[_0x3c3ec7(0xed)](_0x452ff9[_0x3c3ec7(0xa2)]);this['bindManifestInfo'](_0x5632c5,_0x452ff9[_0x3c3ec7(0xcb)]['json'],_0x2454e6);_0x452ff9[_0x3c3ec7(0xd7)]?this[_0x3c3ec7(0x9f)](_0x5632c5,_0x452ff9[_0x3c3ec7(0xd7)]):this['updateVersion'](_0x5632c5,_0x3c3ec7(0xcf));try{fs[_0x3c3ec7(0xb7)](_0xb72b9,_0x5632c5[_0x3c3ec7(0x109)]());}catch(_0x3eeede){console[_0x3c3ec7(0xd0)](_0x3eeede);}}static[_0x209b24(0xbe)](_0x3263f6){const _0x3ab928=_0x209b24;_0x3263f6['pbxGroupByName']=function(_0x448005){const _0x6a5f02=_0x4d15;var _0x17b4b1=this['hash'][_0x6a5f02(0xa4)][_0x6a5f02(0xc3)]['PBXGroup'],_0x5f48ce,_0x14393b;for(_0x5f48ce in _0x17b4b1){if(!/_comment$/[_0x6a5f02(0xca)](_0x5f48ce))continue;if(_0x17b4b1[_0x5f48ce]==_0x448005)return _0x14393b=_0x5f48ce['split'](/_comment$/)[0x0],_0x17b4b1[_0x14393b];}return![];},_0x3263f6[_0x3ab928(0xdf)]=function(_0x210c00,_0x3ab5d1,_0x1b3282,_0x4c5074){const _0x33ed41=_0x3ab928;let _0x29e403=[];const _0x34a08d=/_comment$/;if(_0x4c5074){const _0x27d87b=this[_0x33ed41(0xbc)](_0x4c5074),_0x551090=_0x27d87b&&_0x27d87b['buildConfigurationList'],_0x178ef3=this[_0x33ed41(0xf4)]();for(const _0x498e10 in _0x178ef3){if(!_0x34a08d[_0x33ed41(0xca)](_0x498e10)&&_0x551090===_0x498e10){const _0xc4bc13=_0x178ef3[_0x498e10][_0x33ed41(0xae)];for(const _0x58a360 of _0xc4bc13){_0x29e403[_0x33ed41(0xc7)](_0x58a360[_0x33ed41(0xc4)]);}break;}}}var _0x1fad4f=this['pbxXCBuildConfigurationSection']();for(var _0x38950a in _0x1fad4f){if(!_0x34a08d[_0x33ed41(0xca)](_0x38950a)){if(_0x4c5074&&!_0x29e403[_0x33ed41(0xb5)](_0x38950a))continue;var _0xeb73bb=_0x1fad4f[_0x38950a];(_0x1b3282&&_0xeb73bb[_0x33ed41(0xa7)]===_0x1b3282||!_0x1b3282)&&_0xeb73bb[_0x33ed41(0xea)][_0x210c00]&&(_0xeb73bb[_0x33ed41(0xea)][_0x210c00]=_0x3ab5d1);}}};}static async['bindIcon'](_0x428710){const _0x2a53a4=_0x209b24;if(_0x428710){const _0x14df27=(0x0,path_1['join'])(resource_1[_0x2a53a4(0xe4)],resource_1[_0x2a53a4(0xf5)]),_0x21b288=(0x0,path_1[_0x2a53a4(0xef)])(_0x14df27,_0x2a53a4(0xb3)),_0x5a7b3f=_0x2a53a4(0xa1)+_0x428710[_0x2a53a4(0xc2)]()[_0x2a53a4(0x100)](_0x2a53a4(0xaf),''),_0xe8527f=(0x0,path_1[_0x2a53a4(0xef)])(_0x14df27,_0x5a7b3f);let _0x687156=await(0x0,load_1[_0x2a53a4(0xde)])(_0x21b288);_0x687156[_0x2a53a4(0x106)][0x0]['filename']=_0x5a7b3f,await _0x428710['writeAsync'](_0xe8527f),await fs[_0x2a53a4(0xb7)](_0x21b288,JSON[_0x2a53a4(0x102)](_0x687156));const _0x3df5b6=(0x0,path_1[_0x2a53a4(0xef)])(resource_1[_0x2a53a4(0xe4)],resource_1[_0x2a53a4(0xec)]),_0x47d5c3=(0x0,path_1[_0x2a53a4(0xef)])(_0x3df5b6,'Contents.json'),_0x589baa='icon.png',_0x39aa27=(0x0,path_1[_0x2a53a4(0xef)])(_0x3df5b6,_0x589baa);let _0x2b2bd4=await(0x0,load_1[_0x2a53a4(0xde)])(_0x47d5c3),_0xa38040=imageHelper_1[_0x2a53a4(0xf2)][_0x2a53a4(0xa8)](0x200);_0x2b2bd4['images'][0x0]['filename']=_0x589baa,await _0xa38040[_0x2a53a4(0xe6)](_0x39aa27),await fs[_0x2a53a4(0xb7)](_0x47d5c3,JSON['stringify'](_0x2b2bd4));}}static[_0x209b24(0xce)](_0x24b734,_0x3547a7){const _0x4b9598=_0x209b24;_0x24b734[_0x4b9598(0xdf)](_0x4b9598(0x105),_0x3547a7),useExportOptionsXML=useExportOptionsXML['replace'](_0x4b9598(0xf9),_0x3547a7);}static[_0x209b24(0xdb)](){const _0x2b4121=_0x209b24;!fs['existsSync'](resource_1[_0x2b4121(0xcc)])&&fs[_0x2b4121(0xb1)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x2b4121(0xb7)]((0x0,path_1[_0x2b4121(0xef)])(resource_1[_0x2b4121(0xcc)],_0x2b4121(0xd3)),useExportOptionsXML);}static[_0x209b24(0xff)](_0x718e59,_0xecc872,_0x9a06ed=![]){const _0x343951=_0x209b24;var _0x47679a;_0x718e59[_0x343951(0xaa)](_0xecc872[_0x343951(0xa7)]),_0xecc872['id']&&!_0x9a06ed&&_0x718e59[_0x343951(0xdf)](_0x343951(0x9e),'\x22'+_0xecc872['id']+'\x22'),this['updateDeeplink']((_0x47679a=_0xecc872['protocol_handlers'])!==null&&_0x47679a!==void 0x0?_0x47679a:[]),this[_0x343951(0xee)](_0xecc872);}static[_0x209b24(0x9f)](_0x24fb0d,_0x26ce6a){const _0x58e922=_0x209b24;_0x24fb0d[_0x58e922(0xdf)]('CURRENT_PROJECT_VERSION',_0x26ce6a);}static[_0x209b24(0xfb)](_0x4f2afb){const _0x54a8b1=_0x209b24;let _0x38992a=(0x0,path_1[_0x54a8b1(0xef)])(resource_1[_0x54a8b1(0xe4)],'./web-spatial/Info.plist'),_0x1526ba='';for(let _0x533ec7=0x0;_0x533ec7<_0x4f2afb[_0x54a8b1(0xe9)];_0x533ec7++){_0x1526ba+=_0x54a8b1(0xd1)+_0x4f2afb[_0x533ec7][_0x54a8b1(0xda)]+'</string>';}const _0x438642=infoPlistXML[_0x54a8b1(0x100)](_0x54a8b1(0xfa),_0x1526ba);fs[_0x54a8b1(0xb7)](_0x38992a,_0x438642);}static[_0x209b24(0xee)](_0x4a6264){const _0x4fdc92=_0x209b24,_0x58f3ff=(0x0,path_1[_0x4fdc92(0xef)])(resource_1[_0x4fdc92(0xe4)],_0x4fdc92(0xfc));let _0x4a1059=manifestSwiftTemplate_1[_0x4fdc92(0xb4)];_0x4a1059=_0x4a1059[_0x4fdc92(0x100)](_0x4fdc92(0xfd),_0x4a6264['start_url']),_0x4a1059=_0x4a1059[_0x4fdc92(0x100)](_0x4fdc92(0xf0),_0x4a6264['scope']),_0x4a1059=_0x4a1059[_0x4fdc92(0x100)](_0x4fdc92(0xf1),_0x4a6264[_0x4fdc92(0xa7)]),_0x4a1059=_0x4a1059['replace'](_0x4fdc92(0xcd),_0x4a6264[_0x4fdc92(0xf3)]),_0x4a1059=_0x4a1059['replace'](_0x4fdc92(0xc9),_0x4a6264['id']),_0x4a1059=_0x4a1059[_0x4fdc92(0x100)](_0x4fdc92(0xd6),_0x4a6264['display']==_0x4fdc92(0xa3)?_0x4fdc92(0xd6):'.'+_0x4a6264[_0x4fdc92(0xc6)]);if(_0x4a6264[_0x4fdc92(0xa9)]){let _0x2fa7b9='';for(let _0x1dc875=0x0;_0x1dc875<_0x4a6264[_0x4fdc92(0xa9)][_0x4fdc92(0xe9)];_0x1dc875++){_0x2fa7b9+=_0x4fdc92(0xdd)+_0x4a6264['protocol_handlers'][_0x1dc875]['protocol']+_0x4fdc92(0x103)+_0x4a6264['protocol_handlers'][_0x1dc875][_0x4fdc92(0xba)]+_0x4fdc92(0xc1);}_0x4a1059=_0x4a1059['replace'](_0x4fdc92(0xc0),_0x2fa7b9);}typeof _0x4a6264[_0x4fdc92(0xe7)]===_0x4fdc92(0xb6)?(_0x4a1059=_0x4a1059[_0x4fdc92(0x100)]('SceneWidth',_0x4a6264[_0x4fdc92(0xe7)][_0x4fdc92(0xbd)]['width']),_0x4a1059=_0x4a1059[_0x4fdc92(0x100)](_0x4fdc92(0xf7),_0x4a6264[_0x4fdc92(0xe7)]['defaultSize'][_0x4fdc92(0xe0)]),_0x4a1059=_0x4a1059[_0x4fdc92(0x100)](_0x4fdc92(0xf6),'\x22'+_0x4a6264[_0x4fdc92(0xe7)]['resizability']+'\x22'),_0x4a1059=_0x4a1059[_0x4fdc92(0x100)](_0x4fdc92(0xbb),'true')):(_0x4a1059=_0x4a1059[_0x4fdc92(0x100)](_0x4fdc92(0xf8),_0x4fdc92(0xe5)),_0x4a1059=_0x4a1059['replace'](_0x4fdc92(0xf7),_0x4fdc92(0xe5)),_0x4a1059=_0x4a1059[_0x4fdc92(0x100)](_0x4fdc92(0xf6),_0x4fdc92(0xd9)),_0x4a1059=_0x4a1059['replace'](_0x4fdc92(0xbb),_0x4fdc92(0xac))),fs[_0x4fdc92(0xb7)](_0x58f3ff,_0x4a1059,_0x4fdc92(0xeb));}}exports[_0x209b24(0xb0)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x4fac32=_0x448c;function _0x41c8(){const _0x774e7c=['deviceId','line','Booted','\x27\x20-derivedDataPath\x20','\x20install\x20\x22','altool','\x20simctl','\x20altool','\x20--apiKey\x20','.app','381192WFbPwX','toString','\x20--bundle-version\x20','trim','\x20launch\x20\x22','./xcodebuild','boot','project','length','installing\x20app','no\x20visionOS\x20simulator\x20found','build\x20success','\x20-t\x20','Shutdown','\x20-p\x20','shutdown','1Pphgxe','1707EIjkkw','existsSync','PROJECT_DIRECTORY','install\x20success','appleId','validate','\x20-u\x20','split','authAccount','child_process','defineProperty','path','130bVxrsn','mkdirSync','\x22\x20\x22','name','uploadApp','22jtJKDq','launch\x20app','2663190bztBfD','find\x20simulator:\x20','\x20--apiIssuer\x20','PROJECT_BUILD_DIRECTORY','141098Qcyegt','/web-spatial.xcodeproj','766925yzALzP','xcrun','1843144kAAOzp','\x20boot\x20\x22','simctl','\x20list\x20devices\x20\x22','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','XcodebuildCMD','../resource','--\x20','\x20shutdown\x20booted','2712402EYTsAI','\x20--validate-app\x20-f\x20','7ewSSuq','clearDir','authApi','listDevices','state','runWithSimulator','platform','execSync','includes','parseListDevices','visionos','__esModule','install','544IFzBgJ','--\x20visionOS','uploadPackage','launch','log','Apple\x20Vision\x20Pro','6oSEkhH'];_0x41c8=function(){return _0x774e7c;};return _0x41c8();}(function(_0x17c58c,_0xb32079){const _0x213b62=_0x448c,_0x2509ec=_0x17c58c();while(!![]){try{const _0xc60a9b=-parseInt(_0x213b62(0x12e))/0x1*(-parseInt(_0x213b62(0xf1))/0x2)+parseInt(_0x213b62(0x12f))/0x3*(-parseInt(_0x213b62(0x10d))/0x4)+parseInt(_0x213b62(0xf3))/0x5*(parseInt(_0x213b62(0x113))/0x6)+-parseInt(_0x213b62(0x100))/0x7*(-parseInt(_0x213b62(0xf5))/0x8)+-parseInt(_0x213b62(0xfe))/0x9+parseInt(_0x213b62(0xed))/0xa*(parseInt(_0x213b62(0xeb))/0xb)+parseInt(_0x213b62(0x11e))/0xc*(-parseInt(_0x213b62(0x13b))/0xd);if(_0xc60a9b===_0xb32079)break;else _0x2509ec['push'](_0x2509ec['shift']());}catch(_0xf8bc72){_0x2509ec['push'](_0x2509ec['shift']());}}}(_0x41c8,0x46eef));Object[_0x4fac32(0x139)](exports,_0x4fac32(0x10b),{'value':!![]});function _0x448c(_0x593002,_0x3a2d7f){const _0x41c8d3=_0x41c8();return _0x448c=function(_0x448c78,_0x4e67d7){_0x448c78=_0x448c78-0xeb;let _0x4e1997=_0x41c8d3[_0x448c78];return _0x4e1997;},_0x448c(_0x593002,_0x3a2d7f);}const child_process_1=require(_0x4fac32(0x138)),resource_1=require(_0x4fac32(0xfb)),path_1=require(_0x4fac32(0x13a)),fs=require('fs'),xcodebuild_1=require(_0x4fac32(0x123)),file_1=require('../resource/file');class Xcrun{static async[_0x4fac32(0x134)](_0x2628fc,_0x6cddcd,_0x76679a,_0x5f5b8e){const _0x176b33=_0x4fac32,_0x4d614e=new XcrunCMD()[_0x176b33(0x119)]();_0x4d614e[_0x176b33(0x134)](_0x2628fc);_0x5f5b8e?_0x4d614e[_0x176b33(0x137)](_0x6cddcd,_0x76679a):_0x4d614e[_0x176b33(0x102)](_0x6cddcd,_0x76679a);_0x4d614e['platform'](_0x176b33(0x10a));const _0x582e51=(0x0,child_process_1[_0x176b33(0x107)])(_0x4d614e[_0x176b33(0x115)]);return _0x582e51[_0x176b33(0x11f)]();}static async[_0x4fac32(0x10f)](_0x242a6c,_0x3a865f,_0x18fa7a,_0x323e1a,_0x42b5da){const _0x1b37b9=_0x4fac32,_0x4ddbcb=new XcrunCMD()[_0x1b37b9(0x119)]();_0x4ddbcb[_0x1b37b9(0x10f)](_0x242a6c);_0x42b5da?_0x4ddbcb[_0x1b37b9(0x137)](_0x3a865f,_0x18fa7a):_0x4ddbcb['authApi'](_0x3a865f,_0x18fa7a);_0x4ddbcb[_0x1b37b9(0x106)](_0x1b37b9(0x10a)),_0x4ddbcb[_0x1b37b9(0x133)](_0x323e1a);const _0x50514c=(0x0,child_process_1['execSync'])(_0x4ddbcb[_0x1b37b9(0x115)]);return _0x50514c['toString']();}static async[_0x4fac32(0x13f)](_0x4df828,_0x7d667d,_0x3314dc,_0x25a323){const _0x3ded77=_0x4fac32,_0x32b706=new XcrunCMD()[_0x3ded77(0x119)]();_0x32b706[_0x3ded77(0x13f)](_0x4df828);_0x25a323?_0x32b706[_0x3ded77(0x137)](_0x7d667d,_0x3314dc):_0x32b706[_0x3ded77(0x102)](_0x7d667d,_0x3314dc);_0x32b706['platform'](_0x3ded77(0x10a));const _0x3f7310=(0x0,child_process_1[_0x3ded77(0x107)])(_0x32b706[_0x3ded77(0x115)]);return _0x3f7310[_0x3ded77(0x11f)]();}static async[_0x4fac32(0x105)](_0x2f6e34){const _0x51760f=_0x4fac32;let _0x349244=new XcrunCMD()[_0x51760f(0xf7)]();_0x349244[_0x51760f(0x103)](_0x51760f(0x112));const _0x59b2a9=(0x0,child_process_1['execSync'])(_0x349244['line']),_0x2ea19c=this[_0x51760f(0x109)](_0x59b2a9[_0x51760f(0x11f)]());if(_0x2ea19c[_0x51760f(0x126)]===0x0)throw new Error(_0x51760f(0x128));let _0x357a7a=_0x2ea19c[0x0];for(let _0x2ea840=0x0;_0x2ea840<_0x2ea19c[_0x51760f(0x126)];_0x2ea840++){if(_0x2ea19c[_0x2ea840]['state']===_0x51760f(0x116)){_0x357a7a=_0x2ea19c[_0x2ea840];break;}}console['log'](_0x51760f(0xee)+_0x357a7a['deviceId']);const _0x4e6b44=resource_1[_0x51760f(0x131)]+_0x51760f(0xf2),_0x5a0e34=resource_1[_0x51760f(0xf0)]+'/test';!fs[_0x51760f(0x130)](resource_1[_0x51760f(0xf0)])&&fs[_0x51760f(0x13c)](resource_1[_0x51760f(0xf0)],{'recursive':!![]});!fs['existsSync'](_0x5a0e34)&&fs[_0x51760f(0x13c)](_0x5a0e34,{'recursive':!![]});(0x0,file_1[_0x51760f(0x101)])(_0x5a0e34);const _0x3a3fd6=new xcodebuild_1[(_0x51760f(0xfa))]()[_0x51760f(0x125)](_0x4e6b44)[_0x51760f(0x115)]+('\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id='+_0x357a7a[_0x51760f(0x114)]+_0x51760f(0x117)+_0x5a0e34);console[_0x51760f(0x111)]('start\x20building'),(0x0,child_process_1[_0x51760f(0x107)])(_0x3a3fd6),console['log'](_0x51760f(0x129));_0x357a7a[_0x51760f(0x104)]===_0x51760f(0x12b)&&(_0x349244=new XcrunCMD()[_0x51760f(0xf7)](),_0x349244[_0x51760f(0x124)](_0x357a7a[_0x51760f(0x114)]),(0x0,child_process_1['execSync'])(_0x349244[_0x51760f(0x115)]));(0x0,child_process_1[_0x51760f(0x107)])(_0x51760f(0xf9)),console[_0x51760f(0x111)](_0x51760f(0x127));const _0x452b6a=(0x0,path_1['join'])(_0x5a0e34,'Build/Products/Debug-xrsimulator/'+_0x2f6e34[_0x51760f(0x13e)]+_0x51760f(0x11d));_0x349244=new XcrunCMD()[_0x51760f(0xf7)](),_0x349244[_0x51760f(0x10c)](_0x357a7a[_0x51760f(0x114)],_0x452b6a),(0x0,child_process_1[_0x51760f(0x107)])(_0x349244[_0x51760f(0x115)]),console[_0x51760f(0x111)](_0x51760f(0x132)),console['log'](_0x51760f(0xec)),_0x349244=new XcrunCMD()[_0x51760f(0xf7)](),_0x349244['launch'](_0x357a7a[_0x51760f(0x114)],_0x2f6e34['id']),(0x0,child_process_1[_0x51760f(0x107)])(_0x349244[_0x51760f(0x115)]);}static[_0x4fac32(0x109)](_0x181b95){const _0x5c6800=_0x4fac32;let _0x290180=_0x181b95['split']('\x0a'),_0xf9c7e4=[],_0xab1297=-0x1;for(let _0x54043a=0x0;_0x54043a<_0x290180[_0x5c6800(0x126)];_0x54043a++){if(_0x290180[_0x54043a][_0x5c6800(0x108)](_0x5c6800(0x10e)))_0xab1297=_0x54043a;else{if(_0xab1297>0x0){if(_0x290180[_0x54043a][_0x5c6800(0x108)](_0x5c6800(0xfc)))break;if(_0x290180[_0x54043a][_0x5c6800(0x126)]>0x0){const _0x53c35c=_0x290180[_0x54043a][_0x5c6800(0x136)]('('),_0x431265={'name':_0x53c35c[0x0]['trim'](),'deviceId':_0x53c35c[0x1]['split'](')')[0x0]['trim'](),'state':_0x53c35c[0x2][_0x5c6800(0x136)](')')[0x0][_0x5c6800(0x121)]()};_0xf9c7e4['push'](_0x431265);}}}}return _0xf9c7e4;}}exports['default']=Xcrun;class XcrunCMD{constructor(){const _0x13edb2=_0x4fac32;this[_0x13edb2(0x115)]=_0x13edb2(0xf4);}[_0x4fac32(0x119)](){const _0x5d891c=_0x4fac32;return this['line']+=_0x5d891c(0x11b),this;}[_0x4fac32(0xf7)](){const _0x53391d=_0x4fac32;return this['line']+=_0x53391d(0x11a),this;}['list'](){const _0x869667=_0x4fac32;return this[_0x869667(0x115)]+='\x20list',this;}['listDevices'](_0x392976){const _0x19b59c=_0x4fac32;return this[_0x19b59c(0x115)]+=_0x19b59c(0xf8)+_0x392976+'\x22',this;}[_0x4fac32(0x134)](_0x16861d){const _0x35456f=_0x4fac32;return this[_0x35456f(0x115)]+=_0x35456f(0xff)+_0x16861d,this;}['uploadApp'](_0x1cd8a2){const _0x3bf81b=_0x4fac32;return this[_0x3bf81b(0x115)]+='\x20--upload-app\x20-f\x20'+_0x1cd8a2,this;}['uploadPackage'](_0x16491){return this['line']+='\x20--upload-package\x20'+_0x16491,this;}[_0x4fac32(0x137)](_0x4aca9e,_0x4129e6){const _0x33337e=_0x4fac32;return this[_0x33337e(0x115)]+=_0x33337e(0x135)+_0x4aca9e+_0x33337e(0x12c)+_0x4129e6,this;}[_0x4fac32(0x102)](_0x3f2fb7,_0x47950e){const _0x116356=_0x4fac32;return this['line']+=_0x116356(0x11c)+_0x3f2fb7+_0x116356(0xef)+_0x47950e,this;}['appleId'](_0xa4c5f5){const _0x453b3f=_0x4fac32;return this[_0x453b3f(0x115)]+='\x20--apple-id\x20'+_0xa4c5f5,this;}[_0x4fac32(0x106)](_0x37684e){const _0x17dc2a=_0x4fac32;return this[_0x17dc2a(0x115)]+=_0x17dc2a(0x12a)+_0x37684e,this;}['version'](_0x51eb2b){const _0x106723=_0x4fac32;return this[_0x106723(0x115)]+=_0x106723(0x120)+_0x51eb2b,this;}['verbose'](){const _0x5d7486=_0x4fac32;return this[_0x5d7486(0x115)]+='\x20--verbose',this;}[_0x4fac32(0x12d)](){const _0x4ffe63=_0x4fac32;return this[_0x4ffe63(0x115)]+=_0x4ffe63(0xfd),this;}['boot'](_0x595921){const _0x44bd63=_0x4fac32;return this[_0x44bd63(0x115)]+=_0x44bd63(0xf6)+_0x595921+'\x22',this;}[_0x4fac32(0x10c)](_0x35bbda,_0x336da6){const _0x51d6d3=_0x4fac32;return this[_0x51d6d3(0x115)]+=_0x51d6d3(0x118)+_0x35bbda+_0x51d6d3(0x13d)+_0x336da6+'\x22',this;}[_0x4fac32(0x110)](_0x4f8a3e,_0x44e1f1){const _0x467152=_0x4fac32;return this[_0x467152(0x115)]+=_0x467152(0x122)+_0x4f8a3e+_0x467152(0x13d)+_0x44e1f1+'\x22',this;}}
1
+ 'use strict';function _0x53ed(_0x982ebb,_0x4f4334){const _0x4ebef0=_0x4ebe();return _0x53ed=function(_0x53ed42,_0x120d12){_0x53ed42=_0x53ed42-0x1bf;let _0x43ca8a=_0x4ebef0[_0x53ed42];return _0x43ca8a;},_0x53ed(_0x982ebb,_0x4f4334);}const _0x3dfc94=_0x53ed;(function(_0x3d0af5,_0x245f25){const _0xa16753=_0x53ed,_0x210673=_0x3d0af5();while(!![]){try{const _0x32fc5d=parseInt(_0xa16753(0x1fb))/0x1*(-parseInt(_0xa16753(0x202))/0x2)+-parseInt(_0xa16753(0x1f4))/0x3*(parseInt(_0xa16753(0x1e2))/0x4)+parseInt(_0xa16753(0x1d2))/0x5*(-parseInt(_0xa16753(0x20a))/0x6)+parseInt(_0xa16753(0x1e5))/0x7+-parseInt(_0xa16753(0x1ec))/0x8+parseInt(_0xa16753(0x1ef))/0x9*(parseInt(_0xa16753(0x1dd))/0xa)+parseInt(_0xa16753(0x1f9))/0xb;if(_0x32fc5d===_0x245f25)break;else _0x210673['push'](_0x210673['shift']());}catch(_0x4b976a){_0x210673['push'](_0x210673['shift']());}}}(_0x4ebe,0x840f7));Object['defineProperty'](exports,_0x3dfc94(0x206),{'value':!![]});const child_process_1=require(_0x3dfc94(0x1d6)),resource_1=require(_0x3dfc94(0x1ea)),path_1=require(_0x3dfc94(0x214)),fs=require('fs'),xcodebuild_1=require(_0x3dfc94(0x211)),file_1=require(_0x3dfc94(0x1c8));function _0x4ebe(){const _0x253db0=['--\x20','11aGKzZW','join','listDevices','includes','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','uploadPackage','\x20simctl','141106PBUlNd','length','\x22\x20\x22','\x20--apiKey\x20','__esModule','trim','no\x20visionOS\x20simulator\x20found','\x20-u\x20','13326ikiQSo','\x20--apple-id\x20','authApi','list','PROJECT_BUILD_DIRECTORY','start\x20building','version','./xcodebuild','\x20--verbose','verbose','path','\x20list\x20devices\x20\x22','.app','log','\x20launch\x20\x22','XcodebuildCMD','mkdirSync','clearDir','validate','\x20-t\x20','state','project','../resource/file','default','Booted','Build/Products/Debug-xrsimulator/','parseListDevices','deviceId','xcrun','line','split','uploadApp','1555WBwZOa','\x20--upload-app\x20-f\x20','\x20shutdown\x20booted','push','child_process','platform','installing\x20app','boot','\x20boot\x20\x22','launch','appleId','10eCrkNv','Apple\x20Vision\x20Pro','find\x20simulator:\x20','name','\x20--upload-package\x20','7664Jeyuno','\x20--apiIssuer\x20','execSync','1818866KfGKeW','--\x20visionOS','\x20--bundle-version\x20','authAccount','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','../resource','altool','6876000degvMr','existsSync','\x20-p\x20','1072890iGweGh','simctl','install','visionos','/test','501yHpYOK','\x20install\x20\x22','build\x20success','Shutdown','toString','30889727WPlWEC'];_0x4ebe=function(){return _0x253db0;};return _0x4ebe();}class Xcrun{static async['validate'](_0x5dbb20,_0x50b6f5,_0x101c8a,_0x3de3f6){const _0x65e25f=_0x3dfc94,_0x239285=new XcrunCMD()[_0x65e25f(0x1eb)]();_0x239285[_0x65e25f(0x1c4)](_0x5dbb20);_0x3de3f6?_0x239285['authAccount'](_0x50b6f5,_0x101c8a):_0x239285['authApi'](_0x50b6f5,_0x101c8a);_0x239285[_0x65e25f(0x1d7)]('visionos');const _0x5d5c9c=(0x0,child_process_1['execSync'])(_0x239285[_0x65e25f(0x1cf)]);return _0x5d5c9c[_0x65e25f(0x1f8)]();}static async[_0x3dfc94(0x200)](_0x57fc77,_0x5c500f,_0x1bd285,_0x3f9bcc,_0x422e8b){const _0x85fb51=_0x3dfc94,_0x179bf0=new XcrunCMD()['altool']();_0x179bf0['uploadPackage'](_0x57fc77);_0x422e8b?_0x179bf0[_0x85fb51(0x1e8)](_0x5c500f,_0x1bd285):_0x179bf0[_0x85fb51(0x20c)](_0x5c500f,_0x1bd285);_0x179bf0[_0x85fb51(0x1d7)](_0x85fb51(0x1f2)),_0x179bf0[_0x85fb51(0x1dc)](_0x3f9bcc);const _0x9d0f13=(0x0,child_process_1[_0x85fb51(0x1e4)])(_0x179bf0[_0x85fb51(0x1cf)]);return _0x9d0f13['toString']();}static async[_0x3dfc94(0x1d1)](_0x954384,_0x55f1ed,_0x5662a2,_0x138e11){const _0x6b035c=_0x3dfc94,_0x311723=new XcrunCMD()[_0x6b035c(0x1eb)]();_0x311723['uploadApp'](_0x954384);_0x138e11?_0x311723['authAccount'](_0x55f1ed,_0x5662a2):_0x311723['authApi'](_0x55f1ed,_0x5662a2);_0x311723[_0x6b035c(0x1d7)](_0x6b035c(0x1f2));const _0x1239ba=(0x0,child_process_1[_0x6b035c(0x1e4)])(_0x311723[_0x6b035c(0x1cf)]);return _0x1239ba[_0x6b035c(0x1f8)]();}static async['runWithSimulator'](_0x337f27){const _0x186721=_0x3dfc94;let _0x4ae40b=new XcrunCMD()[_0x186721(0x1f0)]();_0x4ae40b[_0x186721(0x1fd)](_0x186721(0x1de));const _0x582f63=(0x0,child_process_1[_0x186721(0x1e4)])(_0x4ae40b[_0x186721(0x1cf)]),_0x5f1b54=this[_0x186721(0x1cc)](_0x582f63[_0x186721(0x1f8)]());if(_0x5f1b54[_0x186721(0x203)]===0x0)throw new Error(_0x186721(0x208));let _0x35f0eb=_0x5f1b54[0x0];for(let _0x58c45a=0x0;_0x58c45a<_0x5f1b54[_0x186721(0x203)];_0x58c45a++){if(_0x5f1b54[_0x58c45a][_0x186721(0x1c6)]===_0x186721(0x1ca)){_0x35f0eb=_0x5f1b54[_0x58c45a];break;}}console[_0x186721(0x1bf)](_0x186721(0x1df)+_0x35f0eb[_0x186721(0x1cd)]);const _0x3edcc1=resource_1['PROJECT_DIRECTORY']+'/web-spatial.xcodeproj',_0xab1cdf=resource_1[_0x186721(0x20e)]+_0x186721(0x1f3);!fs[_0x186721(0x1ed)](resource_1[_0x186721(0x20e)])&&fs[_0x186721(0x1c2)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs[_0x186721(0x1ed)](_0xab1cdf)&&fs[_0x186721(0x1c2)](_0xab1cdf,{'recursive':!![]});(0x0,file_1[_0x186721(0x1c3)])(_0xab1cdf);const _0x2133ef=new xcodebuild_1[(_0x186721(0x1c1))]()[_0x186721(0x1c7)](_0x3edcc1)[_0x186721(0x1cf)]+(_0x186721(0x1e9)+_0x35f0eb[_0x186721(0x1cd)]+'\x27\x20-derivedDataPath\x20'+_0xab1cdf);console[_0x186721(0x1bf)](_0x186721(0x20f)),(0x0,child_process_1[_0x186721(0x1e4)])(_0x2133ef),console[_0x186721(0x1bf)](_0x186721(0x1f6));_0x35f0eb[_0x186721(0x1c6)]===_0x186721(0x1f7)&&(_0x4ae40b=new XcrunCMD()[_0x186721(0x1f0)](),_0x4ae40b[_0x186721(0x1d9)](_0x35f0eb['deviceId']),(0x0,child_process_1[_0x186721(0x1e4)])(_0x4ae40b[_0x186721(0x1cf)]));(0x0,child_process_1[_0x186721(0x1e4)])(_0x186721(0x1ff)),console[_0x186721(0x1bf)](_0x186721(0x1d8));const _0x156087=(0x0,path_1[_0x186721(0x1fc)])(_0xab1cdf,_0x186721(0x1cb)+_0x337f27[_0x186721(0x1e0)]+_0x186721(0x216));_0x4ae40b=new XcrunCMD()[_0x186721(0x1f0)](),_0x4ae40b[_0x186721(0x1f1)](_0x35f0eb[_0x186721(0x1cd)],_0x156087),(0x0,child_process_1[_0x186721(0x1e4)])(_0x4ae40b[_0x186721(0x1cf)]),console[_0x186721(0x1bf)]('install\x20success'),console[_0x186721(0x1bf)]('launch\x20app'),_0x4ae40b=new XcrunCMD()[_0x186721(0x1f0)](),_0x4ae40b[_0x186721(0x1db)](_0x35f0eb[_0x186721(0x1cd)],_0x337f27['id']),(0x0,child_process_1['execSync'])(_0x4ae40b['line']);}static[_0x3dfc94(0x1cc)](_0x3096ac){const _0x223637=_0x3dfc94;let _0x273f2b=_0x3096ac[_0x223637(0x1d0)]('\x0a'),_0x485acb=[],_0x32d580=-0x1;for(let _0x1c86ae=0x0;_0x1c86ae<_0x273f2b[_0x223637(0x203)];_0x1c86ae++){if(_0x273f2b[_0x1c86ae][_0x223637(0x1fe)](_0x223637(0x1e6)))_0x32d580=_0x1c86ae;else{if(_0x32d580>0x0){if(_0x273f2b[_0x1c86ae][_0x223637(0x1fe)](_0x223637(0x1fa)))break;if(_0x273f2b[_0x1c86ae][_0x223637(0x203)]>0x0){const _0x4835cd=_0x273f2b[_0x1c86ae][_0x223637(0x1d0)]('('),_0x20a952={'name':_0x4835cd[0x0][_0x223637(0x207)](),'deviceId':_0x4835cd[0x1]['split'](')')[0x0][_0x223637(0x207)](),'state':_0x4835cd[0x2][_0x223637(0x1d0)](')')[0x0][_0x223637(0x207)]()};_0x485acb[_0x223637(0x1d5)](_0x20a952);}}}}return _0x485acb;}}exports[_0x3dfc94(0x1c9)]=Xcrun;class XcrunCMD{constructor(){const _0x3edc4c=_0x3dfc94;this[_0x3edc4c(0x1cf)]=_0x3edc4c(0x1ce);}[_0x3dfc94(0x1eb)](){const _0x29633c=_0x3dfc94;return this[_0x29633c(0x1cf)]+='\x20altool',this;}[_0x3dfc94(0x1f0)](){const _0x450fdb=_0x3dfc94;return this['line']+=_0x450fdb(0x201),this;}[_0x3dfc94(0x20d)](){return this['line']+='\x20list',this;}[_0x3dfc94(0x1fd)](_0x52b33a){const _0x16ec95=_0x3dfc94;return this[_0x16ec95(0x1cf)]+=_0x16ec95(0x215)+_0x52b33a+'\x22',this;}[_0x3dfc94(0x1c4)](_0x424114){return this['line']+='\x20--validate-app\x20-f\x20'+_0x424114,this;}[_0x3dfc94(0x1d1)](_0x4eb9e6){const _0x562768=_0x3dfc94;return this[_0x562768(0x1cf)]+=_0x562768(0x1d3)+_0x4eb9e6,this;}['uploadPackage'](_0x2205bc){const _0x3f0e99=_0x3dfc94;return this[_0x3f0e99(0x1cf)]+=_0x3f0e99(0x1e1)+_0x2205bc,this;}[_0x3dfc94(0x1e8)](_0x43a0ef,_0x363bed){const _0x51c876=_0x3dfc94;return this[_0x51c876(0x1cf)]+=_0x51c876(0x209)+_0x43a0ef+_0x51c876(0x1ee)+_0x363bed,this;}[_0x3dfc94(0x20c)](_0x467db5,_0x55ef59){const _0x1ed1cd=_0x3dfc94;return this[_0x1ed1cd(0x1cf)]+=_0x1ed1cd(0x205)+_0x467db5+_0x1ed1cd(0x1e3)+_0x55ef59,this;}[_0x3dfc94(0x1dc)](_0x3d1dfc){const _0x9deed7=_0x3dfc94;return this['line']+=_0x9deed7(0x20b)+_0x3d1dfc,this;}[_0x3dfc94(0x1d7)](_0x10c07d){const _0x4c284d=_0x3dfc94;return this[_0x4c284d(0x1cf)]+=_0x4c284d(0x1c5)+_0x10c07d,this;}[_0x3dfc94(0x210)](_0x37291b){const _0x2005b8=_0x3dfc94;return this['line']+=_0x2005b8(0x1e7)+_0x37291b,this;}[_0x3dfc94(0x213)](){const _0x380bfb=_0x3dfc94;return this[_0x380bfb(0x1cf)]+=_0x380bfb(0x212),this;}['shutdown'](){const _0x5e70c9=_0x3dfc94;return this[_0x5e70c9(0x1cf)]+=_0x5e70c9(0x1d4),this;}[_0x3dfc94(0x1d9)](_0x537e04){const _0x53e5fe=_0x3dfc94;return this[_0x53e5fe(0x1cf)]+=_0x53e5fe(0x1da)+_0x537e04+'\x22',this;}[_0x3dfc94(0x1f1)](_0x787f99,_0x1e2146){const _0xda1444=_0x3dfc94;return this[_0xda1444(0x1cf)]+=_0xda1444(0x1f5)+_0x787f99+_0xda1444(0x204)+_0x1e2146+'\x22',this;}[_0x3dfc94(0x1db)](_0x19378f,_0x35f23d){const _0x39b662=_0x3dfc94;return this['line']+=_0x39b662(0x1c0)+_0x19378f+'\x22\x20\x22'+_0x35f23d+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -15,10 +15,10 @@
15
15
  },
16
16
  "files": [
17
17
  "dist/lib",
18
+ "dist/assets",
18
19
  "dist/index.d.ts",
19
20
  "dist/index.js",
20
21
  "bin",
21
- "template",
22
22
  "package.json",
23
23
  "README.md"
24
24
  ],
@@ -33,12 +33,12 @@
33
33
  "jimp": "^0.22.7",
34
34
  "mime-types": "^2.1.27",
35
35
  "minimist": "^1.2.8",
36
- "node-fetch": "2.6.1",
36
+ "node-fetch": "2.6.7",
37
37
  "semver": "^7.5.2",
38
38
  "sharp": "^0.33.5",
39
39
  "valid-url": "^1.0.9",
40
40
  "xcode": "^3.0.1",
41
- "@webspatial/platform-visionos": "^0.1.7"
41
+ "@webspatial/platform-visionos": "^0.1.9"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@rollup/plugin-terser": "^0.4.3",
@@ -68,9 +68,10 @@
68
68
  "test3": "npm run build && bin/bundlepwa.js publish --name=webspatial --version=1.0 --u=username --p=password",
69
69
  "test4": "npm run build && bin/bundlepwa.js run",
70
70
  "obfuscate": "node obfuscate.js",
71
- "build": "tsc && npm run obfuscate",
71
+ "build": "tsc && npm run obfuscate && npm run copy-assets",
72
72
  "build1": "rollup -c ./rollup.config.js",
73
- "build2": "tsc",
73
+ "build2": "tsc && npm run copy-assets",
74
+ "copy-assets": "cp -R src/assets/ dist/assets/",
74
75
  "clean": "rm -rf dist",
75
76
  "lint": "eslint \"src/**/*.{js,ts}\""
76
77
  }