@webspatial/builder 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x20fc(_0x144087,_0x13ceda){const _0x112a0b=_0x112a();return _0x20fc=function(_0x20fc10,_0x5cb8e8){_0x20fc10=_0x20fc10-0x7e;let _0x3d8fe2=_0x112a0b[_0x20fc10];return _0x3d8fe2;},_0x20fc(_0x144087,_0x13ceda);}const _0x5ac5c2=_0x20fc;(function(_0x3b1513,_0xa060ce){const _0x8a2f6e=_0x20fc,_0xccf68a=_0x3b1513();while(!![]){try{const _0x24229d=parseInt(_0x8a2f6e(0x82))/0x1+parseInt(_0x8a2f6e(0x93))/0x2*(-parseInt(_0x8a2f6e(0x8e))/0x3)+-parseInt(_0x8a2f6e(0x7f))/0x4*(-parseInt(_0x8a2f6e(0x85))/0x5)+-parseInt(_0x8a2f6e(0x84))/0x6*(-parseInt(_0x8a2f6e(0x88))/0x7)+parseInt(_0x8a2f6e(0x7e))/0x8+-parseInt(_0x8a2f6e(0x89))/0x9+-parseInt(_0x8a2f6e(0x80))/0xa;if(_0x24229d===_0xa060ce)break;else _0xccf68a['push'](_0xccf68a['shift']());}catch(_0x4dc8ad){_0xccf68a['push'](_0xccf68a['shift']());}}}(_0x112a,0x62434));function _0x112a(){const _0x35cf9d=['log','customMessage','12lcmhtI','run','519104hRwlgm','152XkreaO','396900fgTKzT','slice','609267pLcTfT','./lib/utils/CustomError','3456402ZLlQqJ','81980zNwood','code','exit','7wNLtaj','5914296eJJpYR','error','Cli','isArray','defineProperty','386976rPuvto','forEach','message'];_0x112a=function(){return _0x35cf9d;};return _0x112a();}Object[_0x5ac5c2(0x8d)](exports,'__esModule',{'value':!![]});const Cli_1=require('./lib/Cli'),CustomError_1=require(_0x5ac5c2(0x83));module['exports']=async()=>{const _0x9fdc12=_0x5ac5c2,_0x387512=new Cli_1[(_0x9fdc12(0x8b))](),_0x2a94cb=Cli_1[_0x9fdc12(0x8b)][_0x9fdc12(0x91)],_0x3ce2f2=process['argv'][_0x9fdc12(0x81)](0x2);let _0x1d1d50;try{_0x1d1d50=await _0x387512[_0x9fdc12(0x94)](_0x3ce2f2);}catch(_0x2c78bb){if(_0x2c78bb instanceof CustomError_1['CustomError']){const _0x3d1a83=_0x2c78bb[_0x9fdc12(0x92)];Array[_0x9fdc12(0x8c)](_0x3d1a83)?_0x3d1a83[_0x9fdc12(0x8f)](_0x41b566=>{const _0x4f966c=_0x9fdc12;_0x2a94cb['error'](_0x41b566[_0x4f966c(0x86)]+':\x20'+_0x41b566[_0x4f966c(0x90)]);}):_0x2a94cb[_0x9fdc12(0x8a)](_0x3d1a83[_0x9fdc12(0x86)]+':\x20'+_0x3d1a83[_0x9fdc12(0x90)]);}else _0x2a94cb[_0x9fdc12(0x8a)](_0x2c78bb[_0x9fdc12(0x90)]);_0x1d1d50=![];}!_0x1d1d50?process[_0x9fdc12(0x87)](0x1):process[_0x9fdc12(0x87)](0x0);};
1
+ 'use strict';const _0x284fb4=_0x6781;(function(_0x4a2275,_0x171a69){const _0x1d5b85=_0x6781,_0x138535=_0x4a2275();while(!![]){try{const _0xffcb65=parseInt(_0x1d5b85(0xe9))/0x1+-parseInt(_0x1d5b85(0xe8))/0x2*(-parseInt(_0x1d5b85(0xf4))/0x3)+-parseInt(_0x1d5b85(0xf1))/0x4+parseInt(_0x1d5b85(0xee))/0x5*(parseInt(_0x1d5b85(0xe1))/0x6)+parseInt(_0x1d5b85(0xe2))/0x7+-parseInt(_0x1d5b85(0xf3))/0x8*(parseInt(_0x1d5b85(0xea))/0x9)+-parseInt(_0x1d5b85(0xf9))/0xa;if(_0xffcb65===_0x171a69)break;else _0x138535['push'](_0x138535['shift']());}catch(_0x46f5f9){_0x138535['push'](_0x138535['shift']());}}}(_0x36b3,0x9b8b7));function _0x6781(_0x974c54,_0x50a02e){const _0x36b382=_0x36b3();return _0x6781=function(_0x67811e,_0x534887){_0x67811e=_0x67811e-0xe1;let _0x6ce2ca=_0x36b382[_0x67811e];return _0x6ce2ca;},_0x6781(_0x974c54,_0x50a02e);}function _0x36b3(){const _0x1aa0ac=['customMessage','./lib/utils/CustomError','18022400HICWuo','40422OTBVVl','7456897YcLNDc','Cli','code','./lib/Cli','message','forEach','2hFqtSg','1213547jqerlM','528084riBAvE','CustomError','run','slice','385ojSKJX','error','__esModule','2484976zVqQLt','argv','80ahvVfh','2549364pUHtpZ','defineProperty','exit'];_0x36b3=function(){return _0x1aa0ac;};return _0x36b3();}Object[_0x284fb4(0xf5)](exports,_0x284fb4(0xf0),{'value':!![]});const Cli_1=require(_0x284fb4(0xe5)),CustomError_1=require(_0x284fb4(0xf8));module['exports']=async()=>{const _0x32d15b=_0x284fb4,_0x4728f6=new Cli_1['Cli'](),_0x43ae5e=Cli_1[_0x32d15b(0xe3)]['log'],_0x2b4add=process[_0x32d15b(0xf2)][_0x32d15b(0xed)](0x2);let _0x35182c;try{_0x35182c=await _0x4728f6[_0x32d15b(0xec)](_0x2b4add);}catch(_0x1d54f3){if(_0x1d54f3 instanceof CustomError_1[_0x32d15b(0xeb)]){const _0x2fbb4d=_0x1d54f3[_0x32d15b(0xf7)];Array['isArray'](_0x2fbb4d)?_0x2fbb4d[_0x32d15b(0xe7)](_0x13d6f9=>{const _0x31f13e=_0x32d15b;_0x43ae5e[_0x31f13e(0xef)](_0x13d6f9[_0x31f13e(0xe4)]+':\x20'+_0x13d6f9[_0x31f13e(0xe6)]);}):_0x43ae5e['error'](_0x2fbb4d['code']+':\x20'+_0x2fbb4d[_0x32d15b(0xe6)]);}else _0x43ae5e[_0x32d15b(0xef)](_0x1d54f3[_0x32d15b(0xe6)]);_0x35182c=![];}!_0x35182c?process['exit'](0x1):process[_0x32d15b(0xf6)](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x516031=_0x569a;function _0x569a(_0x4fa0d9,_0x5ac572){const _0x30cf16=_0x30cf();return _0x569a=function(_0x569af5,_0x2617ba){_0x569af5=_0x569af5-0x1ba;let _0x17c672=_0x30cf16[_0x569af5];return _0x17c672;},_0x569a(_0x4fa0d9,_0x5ac572);}(function(_0x3a4e8e,_0x46d82c){const _0x3a2e75=_0x569a,_0x4dd77e=_0x3a4e8e();while(!![]){try{const _0x2e4cd2=parseInt(_0x3a2e75(0x1cb))/0x1*(parseInt(_0x3a2e75(0x1c6))/0x2)+parseInt(_0x3a2e75(0x1d0))/0x3*(parseInt(_0x3a2e75(0x1c1))/0x4)+-parseInt(_0x3a2e75(0x1d7))/0x5+-parseInt(_0x3a2e75(0x1d8))/0x6+-parseInt(_0x3a2e75(0x1c4))/0x7+parseInt(_0x3a2e75(0x1e0))/0x8+parseInt(_0x3a2e75(0x1cc))/0x9*(parseInt(_0x3a2e75(0x1c9))/0xa);if(_0x2e4cd2===_0x46d82c)break;else _0x4dd77e['push'](_0x4dd77e['shift']());}catch(_0x16a763){_0x4dd77e['push'](_0x4dd77e['shift']());}}}(_0x30cf,0x67fd3));Object[_0x516031(0x1dc)](exports,'__esModule',{'value':!![]}),exports[_0x516031(0x1cd)]=void 0x0;function _0x30cf(){const _0x58353e=['version','decompressResponseBuffer','4140210Voxwop','help','2ixWDaG','9eixCxu','Cli','major','fetchUtils','309GSEyom','versions','store','node','webspatial-builder','minimist','log','123795Ugkqop','2701350FTtbwA','./utils/fetch','./cmds/version','start','defineProperty','../lib/utils/Log','ConsoleLog','run','6225336WmHuIB','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','semver','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','build','fetch','setDecompressResponseBuffer','length','6404iqBshv','./utils/FetchUtils-1','downloadFile','4987346hySihV','./cmds/build','256310OKgZCd'];_0x30cf=function(){return _0x58353e;};return _0x30cf();}const minimist=require(_0x516031(0x1d5)),semver_1=require(_0x516031(0x1bb)),Log_1=require(_0x516031(0x1dd)),FetchUtils_1_1=require(_0x516031(0x1c2)),help_1=require('./cmds/help'),build_1=require(_0x516031(0x1c5)),version_1=require(_0x516031(0x1da)),fetch_1=require(_0x516031(0x1d9));class Cli{async[_0x516031(0x1df)](_0x427e4f){const _0x3f218e=_0x516031;if((0x0,semver_1[_0x3f218e(0x1ce)])(process[_0x3f218e(0x1d1)][_0x3f218e(0x1d3)])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process[_0x3f218e(0x1d1)][_0x3f218e(0x1d3)]+'.'+_0x3f218e(0x1bc));FetchUtils_1_1[_0x3f218e(0x1cf)]['setFetch'](fetch_1[_0x3f218e(0x1be)]),FetchUtils_1_1[_0x3f218e(0x1cf)]['setDownloadFile'](fetch_1[_0x3f218e(0x1c3)]),FetchUtils_1_1['fetchUtils'][_0x3f218e(0x1bf)](fetch_1[_0x3f218e(0x1c8)]);const _0x28c6c0=minimist(_0x427e4f);let _0x25d80d=undefined;if(_0x28c6c0['_'][_0x3f218e(0x1c0)]===0x0){if(_0x28c6c0['version'])_0x25d80d=_0x3f218e(0x1c7);else _0x28c6c0[_0x3f218e(0x1ca)]&&(_0x25d80d=_0x3f218e(0x1ca));}else _0x25d80d=_0x28c6c0['_'][0x0];!_0x25d80d&&(_0x25d80d=_0x3f218e(0x1ca));switch(_0x25d80d){case'help':case'h':return await(0x0,help_1[_0x3f218e(0x1ca)])(_0x28c6c0);case _0x3f218e(0x1bd):return await(0x0,build_1[_0x3f218e(0x1db)])(_0x28c6c0);case'publish':return await(0x0,build_1[_0x3f218e(0x1d2)])(_0x28c6c0);case _0x3f218e(0x1df):return await(0x0,build_1[_0x3f218e(0x1df)])(_0x28c6c0);case _0x3f218e(0x1c7):{return await(0x0,version_1[_0x3f218e(0x1c7)])();}default:throw new Error('\x22'+_0x25d80d+_0x3f218e(0x1ba));}}}exports[_0x516031(0x1cd)]=Cli,Cli[_0x516031(0x1d6)]=new Log_1[(_0x516031(0x1de))](_0x516031(0x1d4));
1
+ 'use strict';function _0x37ad(){const _0x4168ec=['minimist','semver','66808hHHzCc','fetchUtils','919104empHJD','versions','913736zYCLss','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','setDownloadFile','ConsoleLog','version','./utils/fetch','75688Gywbvm','Cli','__esModule','start','node','133MzZumf','./utils/FetchUtils-1','defineProperty','run','./cmds/version','1870209reZDhG','898945uoYbAi','help','major','publish','../lib/utils/Log','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','467172RVCeME','2xBjGiu','webspatial-builder','Current\x20Node.js\x20version\x20is\x20'];_0x37ad=function(){return _0x4168ec;};return _0x37ad();}const _0x4fb474=_0x1058;(function(_0x2e2f93,_0x2b3b31){const _0x43577e=_0x1058,_0x1d664d=_0x2e2f93();while(!![]){try{const _0x558393=-parseInt(_0x43577e(0x14d))/0x1*(-parseInt(_0x43577e(0x152))/0x2)+-parseInt(_0x43577e(0x14c))/0x3+parseInt(_0x43577e(0x135))/0x4+-parseInt(_0x43577e(0x146))/0x5+parseInt(_0x43577e(0x154))/0x6+parseInt(_0x43577e(0x140))/0x7*(-parseInt(_0x43577e(0x13b))/0x8)+parseInt(_0x43577e(0x145))/0x9;if(_0x558393===_0x2b3b31)break;else _0x1d664d['push'](_0x1d664d['shift']());}catch(_0x6811f2){_0x1d664d['push'](_0x1d664d['shift']());}}}(_0x37ad,0x2269b));Object[_0x4fb474(0x142)](exports,_0x4fb474(0x13d),{'value':!![]}),exports[_0x4fb474(0x13c)]=void 0x0;function _0x1058(_0x2dd08b,_0x2b2cf3){const _0x37ad91=_0x37ad();return _0x1058=function(_0x1058f8,_0x38e07e){_0x1058f8=_0x1058f8-0x134;let _0x46e874=_0x37ad91[_0x1058f8];return _0x46e874;},_0x1058(_0x2dd08b,_0x2b2cf3);}const minimist=require(_0x4fb474(0x150)),semver_1=require(_0x4fb474(0x151)),Log_1=require(_0x4fb474(0x14a)),FetchUtils_1_1=require(_0x4fb474(0x141)),help_1=require('./cmds/help'),build_1=require('./cmds/build'),version_1=require(_0x4fb474(0x144)),fetch_1=require(_0x4fb474(0x13a));class Cli{async['run'](_0x4c4c73){const _0x5a933c=_0x4fb474;if((0x0,semver_1[_0x5a933c(0x148)])(process[_0x5a933c(0x134)][_0x5a933c(0x13f)])<0xe)throw new Error(_0x5a933c(0x14f)+process[_0x5a933c(0x134)][_0x5a933c(0x13f)]+'.'+_0x5a933c(0x14b));FetchUtils_1_1['fetchUtils']['setFetch'](fetch_1['fetch']),FetchUtils_1_1['fetchUtils'][_0x5a933c(0x137)](fetch_1['downloadFile']),FetchUtils_1_1[_0x5a933c(0x153)]['setDecompressResponseBuffer'](fetch_1['decompressResponseBuffer']);const _0x32c086=minimist(_0x4c4c73);let _0x460105=undefined;if(_0x32c086['_']['length']===0x0){if(_0x32c086[_0x5a933c(0x139)])_0x460105='version';else _0x32c086[_0x5a933c(0x147)]&&(_0x460105='help');}else _0x460105=_0x32c086['_'][0x0];!_0x460105&&(_0x460105=_0x5a933c(0x147));switch(_0x460105){case _0x5a933c(0x147):case'h':return await(0x0,help_1['help'])(_0x32c086);case'build':return await(0x0,build_1[_0x5a933c(0x13e)])(_0x32c086);case _0x5a933c(0x149):return await(0x0,build_1['store'])(_0x32c086);case _0x5a933c(0x143):return await(0x0,build_1['run'])(_0x32c086);case _0x5a933c(0x139):{return await(0x0,version_1[_0x5a933c(0x139)])();}default:throw new Error('\x22'+_0x460105+_0x5a933c(0x136));}}}exports['Cli']=Cli,Cli['log']=new Log_1[(_0x4fb474(0x138))](_0x4fb474(0x14e));
@@ -1 +1 @@
1
- 'use strict';const _0x1c00f2=_0xcd70;(function(_0x1e2df1,_0x101f82){const _0x241821=_0xcd70,_0x8b748c=_0x1e2df1();while(!![]){try{const _0x1ca196=-parseInt(_0x241821(0x1ad))/0x1*(parseInt(_0x241821(0x1b0))/0x2)+parseInt(_0x241821(0x1ae))/0x3+parseInt(_0x241821(0x1d5))/0x4*(-parseInt(_0x241821(0x1b6))/0x5)+-parseInt(_0x241821(0x1b2))/0x6+-parseInt(_0x241821(0x1c8))/0x7+parseInt(_0x241821(0x1ca))/0x8+-parseInt(_0x241821(0x1c4))/0x9*(-parseInt(_0x241821(0x1af))/0xa);if(_0x1ca196===_0x101f82)break;else _0x8b748c['push'](_0x8b748c['shift']());}catch(_0x2c2cb9){_0x8b748c['push'](_0x8b748c['shift']());}}}(_0x1e07,0x38268));function _0x1e07(){const _0x1b5e8a=['967sEimpY','14850GnGqwj','20eNvMwE','578QQITQy','generator','728634nXNnLV','generate\x20icon:\x20ok','start','__esModule','25jmfmaN','WebSpatialTest','XcodeManager','length','checkPlatformPath','buildType','checkBuildParams','upload','runWithSimulator','fromNet','name','./check','-------------------\x20build\x20end\x20-------------------','../pwa','4048911RimDMq','../xcode','log','defineProperty','2083340sswYTv','icons','3291528awWckM','version','json','-------------------\x20build\x20start\x20-------------------','store','PWAGenerator','move\x20web\x20project:\x20ok','run','moveProjectFrom','teamId','parseProject','310108zIiClf','ResourceManager','../resource'];_0x1e07=function(){return _0x1b5e8a;};return _0x1e07();}Object[_0x1c00f2(0x1c7)](exports,_0x1c00f2(0x1b5),{'value':!![]}),exports[_0x1c00f2(0x1b4)]=start,exports[_0x1c00f2(0x1ce)]=store,exports[_0x1c00f2(0x1d1)]=run;const pwa_1=require(_0x1c00f2(0x1c3)),resource_1=require(_0x1c00f2(0x1ac)),xcode_1=require(_0x1c00f2(0x1c5)),check_1=require(_0x1c00f2(0x1c1));async function start(_0x43257e,_0x582291=![]){const _0x568b7c=_0x1c00f2;var _0x1a8c54,_0x71b941;(0x0,check_1[_0x568b7c(0x1bc)])(_0x43257e,_0x582291),resource_1[_0x568b7c(0x1d6)]['checkPlatformPath'](_0x43257e['platform']),console['log'](_0x568b7c(0x1cd));let _0x12de8a=await pwa_1[_0x568b7c(0x1cf)][_0x568b7c(0x1b1)](_0x43257e,_0x582291);!_0x12de8a[_0x568b7c(0x1bf)]&&(await resource_1[_0x568b7c(0x1d6)][_0x568b7c(0x1d2)]((_0x1a8c54=_0x43257e['project'])!==null&&_0x1a8c54!==void 0x0?_0x1a8c54:'dist'),console[_0x568b7c(0x1c6)](_0x568b7c(0x1d0)));let _0x34dbf9;return((_0x71b941=_0x12de8a[_0x568b7c(0x1cc)][_0x568b7c(0x1c9)])===null||_0x71b941===void 0x0?void 0x0:_0x71b941[_0x568b7c(0x1b9)])&&_0x582291&&(_0x34dbf9=await resource_1[_0x568b7c(0x1d6)]['generateIcon'](_0x12de8a)),console[_0x568b7c(0x1c6)](_0x568b7c(0x1b3)),await xcode_1[_0x568b7c(0x1b8)][_0x568b7c(0x1d4)]({'icon':_0x34dbf9,'manifestInfo':_0x12de8a,'teamId':_0x43257e[_0x568b7c(0x1d3)],'version':_0x43257e[_0x568b7c(0x1cb)],'buildType':_0x43257e[_0x568b7c(0x1bb)],'export':_0x43257e['export']},_0x582291),console[_0x568b7c(0x1c6)](_0x568b7c(0x1c2)),_0x12de8a;}async function store(_0x38b87e){const _0x518dd7=_0x1c00f2;resource_1[_0x518dd7(0x1d6)][_0x518dd7(0x1ba)](_0x38b87e['platform']),(0x0,check_1['checkStoreParams'])(_0x38b87e);let _0x1b8c67={'name':_0x518dd7(0x1b7)};_0x38b87e[_0x518dd7(0x1bb)]='app-store-connect';if(_0x38b87e['name'])_0x1b8c67[_0x518dd7(0x1c0)]=_0x38b87e[_0x518dd7(0x1c0)];else{const _0x5170d4=await start(_0x38b87e);if(!_0x5170d4)return![];_0x1b8c67['name']=_0x5170d4['json'][_0x518dd7(0x1c0)];}return await xcode_1[_0x518dd7(0x1b8)][_0x518dd7(0x1bd)](_0x38b87e,_0x1b8c67),!![];}function _0xcd70(_0x44f4d3,_0x13ddcf){const _0x1e0787=_0x1e07();return _0xcd70=function(_0xcd70cf,_0x37d4c4){_0xcd70cf=_0xcd70cf-0x1ac;let _0x42a338=_0x1e0787[_0xcd70cf];return _0x42a338;},_0xcd70(_0x44f4d3,_0x13ddcf);}async function run(_0x1b0d59){const _0x536e73=_0x1c00f2;let _0x178491={'name':'WebSpatialTest','id':''};const _0xa6e3d3=await start(_0x1b0d59,!![]);if(!_0xa6e3d3)return![];return _0x178491[_0x536e73(0x1c0)]=_0xa6e3d3['json'][_0x536e73(0x1c0)],_0x178491['id']=_0xa6e3d3[_0x536e73(0x1cc)]['id'],await xcode_1['XcodeManager'][_0x536e73(0x1be)](_0x178491),!![];}
1
+ 'use strict';const _0x3e69d5=_0x1f09;(function(_0x48d3fd,_0x461075){const _0x1e5a8e=_0x1f09,_0x1fe6c4=_0x48d3fd();while(!![]){try{const _0x532be8=-parseInt(_0x1e5a8e(0xf9))/0x1*(-parseInt(_0x1e5a8e(0xe6))/0x2)+-parseInt(_0x1e5a8e(0xf1))/0x3+parseInt(_0x1e5a8e(0xdd))/0x4*(parseInt(_0x1e5a8e(0xe2))/0x5)+-parseInt(_0x1e5a8e(0xde))/0x6*(parseInt(_0x1e5a8e(0xfa))/0x7)+parseInt(_0x1e5a8e(0xe8))/0x8+parseInt(_0x1e5a8e(0xf2))/0x9*(-parseInt(_0x1e5a8e(0xfe))/0xa)+-parseInt(_0x1e5a8e(0x103))/0xb;if(_0x532be8===_0x461075)break;else _0x1fe6c4['push'](_0x1fe6c4['shift']());}catch(_0x47574c){_0x1fe6c4['push'](_0x1fe6c4['shift']());}}}(_0x1c93,0x5784a));Object[_0x3e69d5(0x107)](exports,_0x3e69d5(0xf7),{'value':!![]}),exports['start']=start,exports['store']=store,exports[_0x3e69d5(0xf6)]=run;const pwa_1=require(_0x3e69d5(0xe0)),resource_1=require(_0x3e69d5(0xe4)),xcode_1=require(_0x3e69d5(0x102)),check_1=require(_0x3e69d5(0xea));function _0x1f09(_0x4ab46b,_0x183bc9){const _0x1c93ee=_0x1c93();return _0x1f09=function(_0x1f0958,_0x3eee4b){_0x1f0958=_0x1f0958-0xdd;let _0x308788=_0x1c93ee[_0x1f0958];return _0x308788;},_0x1f09(_0x4ab46b,_0x183bc9);}async function start(_0x56b1ce,_0x744b65=![]){const _0x41fad7=_0x3e69d5;var _0x2e93f1,_0x119321;(0x0,check_1[_0x41fad7(0xfc)])(_0x56b1ce,_0x744b65),resource_1['ResourceManager']['checkPlatformPath'](_0x56b1ce[_0x41fad7(0xf5)]),console[_0x41fad7(0xff)](_0x41fad7(0xe9));let _0x1559ae=await pwa_1[_0x41fad7(0xed)]['generator'](_0x56b1ce,_0x744b65);!_0x1559ae[_0x41fad7(0xf3)]&&(await resource_1[_0x41fad7(0x104)][_0x41fad7(0xef)]((_0x2e93f1=_0x56b1ce['project'])!==null&&_0x2e93f1!==void 0x0?_0x2e93f1:'dist'),console[_0x41fad7(0xff)](_0x41fad7(0xdf)));let _0x56896e;return((_0x119321=_0x1559ae[_0x41fad7(0x101)][_0x41fad7(0xe5)])===null||_0x119321===void 0x0?void 0x0:_0x119321[_0x41fad7(0xe1)])&&_0x744b65&&(_0x56896e=await resource_1[_0x41fad7(0x104)]['generateIcon'](_0x1559ae)),console['log'](_0x41fad7(0xe3)),await xcode_1[_0x41fad7(0xeb)][_0x41fad7(0x106)]({'icon':_0x56896e,'manifestInfo':_0x1559ae,'teamId':_0x56b1ce['teamId'],'version':_0x56b1ce[_0x41fad7(0xfd)],'buildType':_0x56b1ce[_0x41fad7(0xfb)],'export':_0x56b1ce[_0x41fad7(0xec)]},_0x744b65),console[_0x41fad7(0xff)](_0x41fad7(0xf0)),_0x1559ae;}async function store(_0x271f0b){const _0x220ac4=_0x3e69d5;resource_1[_0x220ac4(0x104)][_0x220ac4(0x100)](_0x271f0b['platform']),(0x0,check_1[_0x220ac4(0xee)])(_0x271f0b);let _0x2053d4={'name':_0x220ac4(0xe7)};_0x271f0b[_0x220ac4(0xfb)]=_0x220ac4(0xf8);if(_0x271f0b[_0x220ac4(0xf4)])_0x2053d4[_0x220ac4(0xf4)]=_0x271f0b[_0x220ac4(0xf4)];else{const _0x421273=await start(_0x271f0b);if(!_0x421273)return![];_0x2053d4[_0x220ac4(0xf4)]=_0x421273['json'][_0x220ac4(0xf4)];}return await xcode_1[_0x220ac4(0xeb)][_0x220ac4(0x105)](_0x271f0b,_0x2053d4),!![];}function _0x1c93(){const _0x28f32d=['WebSpatialTest','4820464tSKwpK','-------------------\x20build\x20start\x20-------------------','./check','XcodeManager','export','PWAGenerator','checkStoreParams','moveProjectFrom','-------------------\x20build\x20end\x20-------------------','684402skGLmp','1437381JhhKaw','fromNet','name','platform','run','__esModule','app-store-connect','352ukNCYo','87780QMZHqz','buildType','checkBuildParams','version','10idUqaj','log','checkPlatformPath','json','../xcode','1132714nNKvis','ResourceManager','upload','parseProject','defineProperty','2760836SELdDj','258sfWeBS','move\x20web\x20project:\x20ok','../pwa','length','5KQQjoq','generate\x20icon:\x20ok','../resource','icons','544csUlCD'];_0x1c93=function(){return _0x28f32d;};return _0x1c93();}async function run(_0x46de4b){const _0x44289f=_0x3e69d5;let _0x50e7fe={'name':_0x44289f(0xe7),'id':''};const _0xd2552f=await start(_0x46de4b,!![]);if(!_0xd2552f)return![];return _0x50e7fe['name']=_0xd2552f[_0x44289f(0x101)][_0x44289f(0xf4)],_0x50e7fe['id']=_0xd2552f[_0x44289f(0x101)]['id'],await xcode_1[_0x44289f(0xeb)]['runWithSimulator'](_0x50e7fe),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x4a420e=_0x5cc6;(function(_0x3b3486,_0x82ea3a){const _0x13b8ef=_0x5cc6,_0xe07333=_0x3b3486();while(!![]){try{const _0x4bebc5=parseInt(_0x13b8ef(0x1e9))/0x1+parseInt(_0x13b8ef(0x1f9))/0x2*(-parseInt(_0x13b8ef(0x1e7))/0x3)+-parseInt(_0x13b8ef(0x1e3))/0x4*(-parseInt(_0x13b8ef(0x1e8))/0x5)+-parseInt(_0x13b8ef(0x1f0))/0x6+-parseInt(_0x13b8ef(0x1fc))/0x7+-parseInt(_0x13b8ef(0x1ff))/0x8*(-parseInt(_0x13b8ef(0x1fb))/0x9)+parseInt(_0x13b8ef(0x1e4))/0xa*(-parseInt(_0x13b8ef(0x200))/0xb);if(_0x4bebc5===_0x82ea3a)break;else _0xe07333['push'](_0xe07333['shift']());}catch(_0x29a7d4){_0xe07333['push'](_0xe07333['shift']());}}}(_0x560d,0xd4a29));Object[_0x4a420e(0x1f8)](exports,_0x4a420e(0x1f7),{'value':!![]}),exports[_0x4a420e(0x1f3)]=checkBuildParams,exports[_0x4a420e(0x1ed)]=checkStoreParams;const validate_1=require(_0x4a420e(0x1ef));function _0x5cc6(_0x2abdb9,_0x2ff7e2){const _0x560dc0=_0x560d();return _0x5cc6=function(_0x5cc6bc,_0x5a8616){_0x5cc6bc=_0x5cc6bc-0x1e3;let _0x39b64b=_0x560dc0[_0x5cc6bc];return _0x39b64b;},_0x5cc6(_0x2abdb9,_0x2ff7e2);}function checkBuildParams(_0x42b189,_0x59fb87=![]){const _0x187752=_0x4a420e;if(_0x42b189['manifest']&&_0x42b189[_0x187752(0x1ea)])throw new Error(_0x187752(0x1eb));if(!_0x42b189[_0x187752(0x1f4)]&&!_0x59fb87)throw new Error('--teamId\x20is\x20required');if(_0x42b189[_0x187752(0x1f5)]){if((0x0,validate_1[_0x187752(0x1e5)])(_0x42b189[_0x187752(0x1f5)]))try{const _0x4999d4=new URL(_0x42b189['base']);if(_0x4999d4[_0x187752(0x1f6)]||_0x4999d4[_0x187752(0x1f1)])throw new Error(_0x187752(0x1fa));}catch(_0x3a1ab6){throw new Error(_0x187752(0x1fa));}else{const _0x438472=/(\?.*|\.\w+|#.*)$/,_0x220827=_0x42b189[_0x187752(0x1f5)][_0x187752(0x1fe)]('/')[_0x187752(0x1e6)]()||'';if(_0x438472[_0x187752(0x1fd)](_0x220827))throw new Error(_0x187752(0x1fa));}}}function checkStoreParams(_0x2b0416){const _0x57dd4f=_0x4a420e;if(!(_0x2b0416['u']&&_0x2b0416['p']))throw new Error(_0x57dd4f(0x1ec));if(!_0x2b0416[_0x57dd4f(0x1ee)])throw new Error(_0x57dd4f(0x1f2));}function _0x560d(){const _0x120fad=['4940728ScxTMd','4871086ZfTYiG','5156gxoaFO','10ciCPqR','validateURL','pop','442362kdaKQB','2605CbZOAJ','1584786JKDgHS','manifest-url','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','--u\x20and\x20--p\x20is\x20required','checkStoreParams','version','../pwa/validate','1859388TUzIfH','hash','version\x20is\x20required','checkBuildParams','teamId','base','search','__esModule','defineProperty','6sBRnBa','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','18dypuQq','9978486hHhSfJ','test','split'];_0x560d=function(){return _0x120fad;};return _0x560d();}
1
+ 'use strict';function _0x4166(_0x1adf59,_0x4d78fa){const _0x1bd66d=_0x1bd6();return _0x4166=function(_0x4166ec,_0x4a7100){_0x4166ec=_0x4166ec-0x15e;let _0x2e82f7=_0x1bd66d[_0x4166ec];return _0x2e82f7;},_0x4166(_0x1adf59,_0x4d78fa);}function _0x1bd6(){const _0x151051=['30ZIPMDL','21316zmcfXk','checkBuildParams','split','97222LdwvLZ','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','9612210DDJgKB','1990163nEPbNx','manifest-url','53032gmNnjo','../pwa/validate','5VFEqIx','base','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','--u\x20and\x20--p\x20is\x20required','621jFeteD','test','hash','pop','search','checkStoreParams','version\x20is\x20required','version','24OBVGwk','validateURL','1218654LWTfQB','teamId','20430300sNVIgR'];_0x1bd6=function(){return _0x151051;};return _0x1bd6();}const _0x24c5b6=_0x4166;(function(_0xd7e86b,_0x938461){const _0x4e358c=_0x4166,_0x5382aa=_0xd7e86b();while(!![]){try{const _0x838769=-parseInt(_0x4e358c(0x175))/0x1*(-parseInt(_0x4e358c(0x162))/0x2)+parseInt(_0x4e358c(0x15e))/0x3*(parseInt(_0x4e358c(0x15f))/0x4)+-parseInt(_0x4e358c(0x169))/0x5*(-parseInt(_0x4e358c(0x177))/0x6)+-parseInt(_0x4e358c(0x165))/0x7+-parseInt(_0x4e358c(0x167))/0x8*(-parseInt(_0x4e358c(0x16d))/0x9)+parseInt(_0x4e358c(0x164))/0xa+-parseInt(_0x4e358c(0x179))/0xb;if(_0x838769===_0x938461)break;else _0x5382aa['push'](_0x5382aa['shift']());}catch(_0x6a4bf9){_0x5382aa['push'](_0x5382aa['shift']());}}}(_0x1bd6,0xaaeac));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x24c5b6(0x160)]=checkBuildParams,exports[_0x24c5b6(0x172)]=checkStoreParams;const validate_1=require(_0x24c5b6(0x168));function checkBuildParams(_0x2b11d1,_0x223ce0=![]){const _0xc457d3=_0x24c5b6;if(_0x2b11d1['manifest']&&_0x2b11d1[_0xc457d3(0x166)])throw new Error(_0xc457d3(0x163));if(!_0x2b11d1[_0xc457d3(0x178)]&&!_0x223ce0)throw new Error('--teamId\x20is\x20required');if(_0x2b11d1[_0xc457d3(0x16a)]){if((0x0,validate_1[_0xc457d3(0x176)])(_0x2b11d1['base']))try{const _0x5cb229=new URL(_0x2b11d1[_0xc457d3(0x16a)]);if(_0x5cb229[_0xc457d3(0x171)]||_0x5cb229[_0xc457d3(0x16f)])throw new Error(_0xc457d3(0x16b));}catch(_0x9cb54c){throw new Error(_0xc457d3(0x16b));}else{const _0x4b6d68=/(\?.*|\.\w+|#.*)$/,_0x23accf=_0x2b11d1[_0xc457d3(0x16a)][_0xc457d3(0x161)]('/')[_0xc457d3(0x170)]()||'';if(_0x4b6d68[_0xc457d3(0x16e)](_0x23accf))throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}}}function checkStoreParams(_0x2a24e1){const _0x11a8c6=_0x24c5b6;if(!(_0x2a24e1['u']&&_0x2a24e1['p']))throw new Error(_0x11a8c6(0x16c));if(!_0x2a24e1[_0x11a8c6(0x174)])throw new Error(_0x11a8c6(0x173));}
@@ -1 +1 @@
1
- 'use strict';const _0x2e5767=_0x4746;(function(_0x497a0f,_0x2148d9){const _0x436569=_0x4746,_0x41c3eb=_0x497a0f();while(!![]){try{const _0x5e5b96=-parseInt(_0x436569(0x111))/0x1+parseInt(_0x436569(0x100))/0x2+-parseInt(_0x436569(0x10e))/0x3*(parseInt(_0x436569(0xf7))/0x4)+parseInt(_0x436569(0x108))/0x5*(parseInt(_0x436569(0x104))/0x6)+-parseInt(_0x436569(0x101))/0x7*(parseInt(_0x436569(0xf8))/0x8)+-parseInt(_0x436569(0x10d))/0x9*(-parseInt(_0x436569(0x112))/0xa)+parseInt(_0x436569(0x109))/0xb*(parseInt(_0x436569(0x10f))/0xc);if(_0x5e5b96===_0x2148d9)break;else _0x41c3eb['push'](_0x41c3eb['shift']());}catch(_0x569a34){_0x41c3eb['push'](_0x41c3eb['shift']());}}}(_0x5e1a,0xc2715));Object[_0x2e5767(0xf5)](exports,'__esModule',{'value':!![]}),exports['help']=help;const Log_1=require(_0x2e5767(0x10b)),HELP_MESSAGES=new Map([['main',[_0x2e5767(0xfb),'','','help\x20................\x20shows\x20this\x20menu',_0x2e5767(0x105)+_0x2e5767(0x103),_0x2e5767(0xfa),'publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect']['join']('\x0a')],[_0x2e5767(0xff),[_0x2e5767(0x110),'','',_0x2e5767(0x114),'','',_0x2e5767(0xf9)][_0x2e5767(0xf6)]('\x0a')],[_0x2e5767(0x10a),['Usage:','','',_0x2e5767(0x107),'','',_0x2e5767(0x106)]['join']('\x0a')],[_0x2e5767(0xfd),[_0x2e5767(0x110),'','',_0x2e5767(0x113),'','','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>']['join']('\x0a')]]);function _0x4746(_0x53a66c,_0x41574e){const _0x5e1a5d=_0x5e1a();return _0x4746=function(_0x47461d,_0x2ddde6){_0x47461d=_0x47461d-0xf5;let _0x39ec9e=_0x5e1a5d[_0x47461d];return _0x39ec9e;},_0x4746(_0x53a66c,_0x41574e);}function _0x5e1a(){const _0x4ba8d0=['webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','webspatial\x20[command]\x20<options>','get','publish','info','build','314598YaZpIK','238WYHeGz','help','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','6WyfMYX','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','5990125yJGYkg','17237429BzWqRN','dev','../utils/Log','ConsoleLog','9jlKlXe','1228734jDXZtA','12iAGOzy','Usage:','1258955BBgxAP','12847610BrXQpE','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>','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','main','defineProperty','join','12rBwPAK','217176XyoBCv'];_0x5e1a=function(){return _0x4ba8d0;};return _0x5e1a();}async function help(_0x1def71,_0x4b7d29=new Log_1[(_0x2e5767(0x10c))](_0x2e5767(0x102))){const _0x1374af=_0x2e5767,_0x176fed=_0x1def71['_'][0x1],_0x5f57b0=HELP_MESSAGES[_0x1374af(0xfc)](_0x176fed)||HELP_MESSAGES[_0x1374af(0xfc)](_0x1374af(0x115));return _0x4b7d29[_0x1374af(0xfe)](_0x5f57b0),!![];}
1
+ 'use strict';const _0x2e8855=_0x5cf5;function _0x1569(){const _0x470d89=['Usage:','16446Iqkqfq','defineProperty','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','2968GdmwVJ','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','main','build','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','ConsoleLog','4529SGpkHR','dev','104613Pfdazy','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','410839UlnFpQ','__esModule','633530NdtuGy','help','255sPmqnE','2FrLXoD','publish','1125117ypTYwF','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','9roDJnF','../utils/Log','1301364wsEplq','get','join'];_0x1569=function(){return _0x470d89;};return _0x1569();}(function(_0x5a045e,_0x4705b3){const _0x48aa3f=_0x5cf5,_0x1f7cc5=_0x5a045e();while(!![]){try{const _0x45e74a=parseInt(_0x48aa3f(0x178))/0x1*(-parseInt(_0x48aa3f(0x180))/0x2)+parseInt(_0x48aa3f(0x182))/0x3+parseInt(_0x48aa3f(0x186))/0x4+-parseInt(_0x48aa3f(0x17f))/0x5*(parseInt(_0x48aa3f(0x18a))/0x6)+parseInt(_0x48aa3f(0x176))/0x7*(-parseInt(_0x48aa3f(0x18d))/0x8)+-parseInt(_0x48aa3f(0x184))/0x9*(parseInt(_0x48aa3f(0x17d))/0xa)+parseInt(_0x48aa3f(0x17b))/0xb;if(_0x45e74a===_0x4705b3)break;else _0x1f7cc5['push'](_0x1f7cc5['shift']());}catch(_0x4a9ae5){_0x1f7cc5['push'](_0x1f7cc5['shift']());}}}(_0x1569,0x2e5ef));function _0x5cf5(_0x575b65,_0x341ead){const _0x15698c=_0x1569();return _0x5cf5=function(_0x5cf561,_0x36c2a5){_0x5cf561=_0x5cf561-0x170;let _0x281d45=_0x15698c[_0x5cf561];return _0x281d45;},_0x5cf5(_0x575b65,_0x341ead);}Object[_0x2e8855(0x18b)](exports,_0x2e8855(0x17c),{'value':!![]}),exports[_0x2e8855(0x17e)]=help;const Log_1=require(_0x2e8855(0x185)),HELP_MESSAGES=new Map([['main',['webspatial\x20[command]\x20<options>','','','help\x20................\x20shows\x20this\x20menu',_0x2e8855(0x18f)+_0x2e8855(0x17a),'run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator',_0x2e8855(0x174)]['join']('\x0a')],[_0x2e8855(0x172),['Usage:','','',_0x2e8855(0x170),'','',_0x2e8855(0x18c)][_0x2e8855(0x188)]('\x0a')],[_0x2e8855(0x177),[_0x2e8855(0x189),'','',_0x2e8855(0x173),'','',_0x2e8855(0x183)][_0x2e8855(0x188)]('\x0a')],[_0x2e8855(0x181),[_0x2e8855(0x189),'','','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>','','',_0x2e8855(0x18e),'','',_0x2e8855(0x179)][_0x2e8855(0x188)]('\x0a')]]);async function help(_0x30c1b8,_0x2da03b=new Log_1[(_0x2e8855(0x175))](_0x2e8855(0x17e))){const _0x4221cc=_0x2e8855,_0x3a44a3=_0x30c1b8['_'][0x1],_0x72ba45=HELP_MESSAGES[_0x4221cc(0x187)](_0x3a44a3)||HELP_MESSAGES[_0x4221cc(0x187)](_0x4221cc(0x171));return _0x2da03b['info'](_0x72ba45),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x55b7f3=_0x5d12;(function(_0x3420be,_0x3ea6f0){const _0x191610=_0x5d12,_0x48ace2=_0x3420be();while(!![]){try{const _0x486aeb=parseInt(_0x191610(0x13a))/0x1+parseInt(_0x191610(0x13e))/0x2*(parseInt(_0x191610(0x145))/0x3)+-parseInt(_0x191610(0x147))/0x4+-parseInt(_0x191610(0x144))/0x5+-parseInt(_0x191610(0x141))/0x6+-parseInt(_0x191610(0x140))/0x7*(parseInt(_0x191610(0x13c))/0x8)+parseInt(_0x191610(0x146))/0x9;if(_0x486aeb===_0x3ea6f0)break;else _0x48ace2['push'](_0x48ace2['shift']());}catch(_0x50efb5){_0x48ace2['push'](_0x48ace2['shift']());}}}(_0x934d,0xd1d3c));Object[_0x55b7f3(0x13b)](exports,'__esModule',{'value':!![]}),exports['version']=version;const fs=require('fs'),path=require('path'),Log_1=require('../utils/Log');function _0x934d(){const _0x5870a2=['28562517tHvzUu','56592xuAnCY','info','promises','toString','1220399YNBWDe','defineProperty','2216HIfUOk','readFile','618DmNUID','ConsoleLog','16394UgSclF','9335070FElsuq','version','../../../package.json','7609680njjYoT','2001tpLDtn'];_0x934d=function(){return _0x5870a2;};return _0x934d();}function _0x5d12(_0x20ba18,_0x10d232){const _0x934ddf=_0x934d();return _0x5d12=function(_0x5d12ab,_0x914f57){_0x5d12ab=_0x5d12ab-0x137;let _0x15e9c2=_0x934ddf[_0x5d12ab];return _0x15e9c2;},_0x5d12(_0x20ba18,_0x10d232);}async function version(_0x3452c2=new Log_1[(_0x55b7f3(0x13f))]('version')){const _0x247470=_0x55b7f3,_0x4b8134=path['join'](__dirname,_0x247470(0x143)),_0x22432c=await(await fs[_0x247470(0x138)][_0x247470(0x13d)](_0x4b8134))[_0x247470(0x139)](),_0x241ac6=JSON['parse'](_0x22432c);return _0x3452c2[_0x247470(0x137)](_0x241ac6[_0x247470(0x142)]),!![];}
1
+ 'use strict';const _0x3f6194=_0x8e51;function _0x8e51(_0x38a37a,_0x32c1de){const _0x40d374=_0x40d3();return _0x8e51=function(_0x8e51bb,_0x528abe){_0x8e51bb=_0x8e51bb-0x1d5;let _0x16fda3=_0x40d374[_0x8e51bb];return _0x16fda3;},_0x8e51(_0x38a37a,_0x32c1de);}(function(_0x94fbe6,_0x286358){const _0x17a826=_0x8e51,_0x51df18=_0x94fbe6();while(!![]){try{const _0x4e348f=-parseInt(_0x17a826(0x1e0))/0x1+parseInt(_0x17a826(0x1e4))/0x2*(-parseInt(_0x17a826(0x1d8))/0x3)+-parseInt(_0x17a826(0x1e3))/0x4+parseInt(_0x17a826(0x1e1))/0x5*(parseInt(_0x17a826(0x1d6))/0x6)+parseInt(_0x17a826(0x1d7))/0x7+parseInt(_0x17a826(0x1db))/0x8*(parseInt(_0x17a826(0x1d5))/0x9)+parseInt(_0x17a826(0x1de))/0xa;if(_0x4e348f===_0x286358)break;else _0x51df18['push'](_0x51df18['shift']());}catch(_0x1c8d87){_0x51df18['push'](_0x51df18['shift']());}}}(_0x40d3,0x6fef3));function _0x40d3(){const _0x1340a4=['toString','6162670NZUGew','defineProperty','720504ZSWmAO','1610HgyGCa','../../../package.json','3083480SKfBos','344158HMTNIa','promises','parse','version','5688OoHZzU','14334lxtwoM','2841125UotcAJ','3nLcPly','__esModule','readFile','4184DPovWB','join'];_0x40d3=function(){return _0x1340a4;};return _0x40d3();}Object[_0x3f6194(0x1df)](exports,_0x3f6194(0x1d9),{'value':!![]}),exports[_0x3f6194(0x1e7)]=version;const fs=require('fs'),path=require('path'),Log_1=require('../utils/Log');async function version(_0x4b7dd4=new Log_1['ConsoleLog'](_0x3f6194(0x1e7))){const _0x3f03d0=_0x3f6194,_0x119817=path[_0x3f03d0(0x1dc)](__dirname,_0x3f03d0(0x1e2)),_0x215112=await(await fs[_0x3f03d0(0x1e5)][_0x3f03d0(0x1da)](_0x119817))[_0x3f03d0(0x1dd)](),_0x440c21=JSON[_0x3f03d0(0x1e6)](_0x215112);return _0x4b7dd4['info'](_0x440c21[_0x3f03d0(0x1e7)]),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x57d7f8=_0x59fc;(function(_0x3ff840,_0x66824b){const _0x1f2135=_0x59fc,_0x4cc12b=_0x3ff840();while(!![]){try{const _0x578627=-parseInt(_0x1f2135(0x1cf))/0x1*(parseInt(_0x1f2135(0x203))/0x2)+parseInt(_0x1f2135(0x1d6))/0x3*(parseInt(_0x1f2135(0x1e9))/0x4)+parseInt(_0x1f2135(0x1e1))/0x5*(-parseInt(_0x1f2135(0x20c))/0x6)+-parseInt(_0x1f2135(0x1ef))/0x7+parseInt(_0x1f2135(0x1f0))/0x8+-parseInt(_0x1f2135(0x1e2))/0x9+-parseInt(_0x1f2135(0x1ea))/0xa*(-parseInt(_0x1f2135(0x1eb))/0xb);if(_0x578627===_0x66824b)break;else _0x4cc12b['push'](_0x4cc12b['shift']());}catch(_0x859181){_0x4cc12b['push'](_0x4cc12b['shift']());}}}(_0x3490,0xda471));Object[_0x57d7f8(0x1f5)](exports,_0x57d7f8(0x20a),{'value':!![]}),exports[_0x57d7f8(0x1e6)]=void 0x0,exports['configId']=configId,exports[_0x57d7f8(0x1e5)]=configStartUrl,exports[_0x57d7f8(0x20f)]=configScope,exports[_0x57d7f8(0x219)]=configDisplay,exports[_0x57d7f8(0x205)]=configMainScene,exports[_0x57d7f8(0x1d0)]=configDeeplink;function _0x59fc(_0x406b72,_0x118bef){const _0x3490f1=_0x3490();return _0x59fc=function(_0x59fc2d,_0x41eaf5){_0x59fc2d=_0x59fc2d-0x1cd;let _0x1e31f4=_0x3490f1[_0x59fc2d];return _0x1e31f4;},_0x59fc(_0x406b72,_0x118bef);}const utils_1=require(_0x57d7f8(0x217)),validate_1=require(_0x57d7f8(0x1fb)),path_1=require(_0x57d7f8(0x212));function configId(_0x3f369d,_0x1a222d,_0x208f1a){const _0x5c54f8=_0x57d7f8;if(_0x208f1a)_0x3f369d['id']='com.webspatial.test';else{if(_0x1a222d)_0x3f369d['id']=_0x1a222d;else{const _0x40d0a2=new URL(_0x3f369d['id']);let _0x10df1e=_0x40d0a2[_0x5c54f8(0x206)][_0x5c54f8(0x209)]('.')['reverse']();_0x3f369d['id']=_0x10df1e['join']('.');}}}function configStartUrl(_0x5c3778,_0x568ee5){const _0xf4296a=_0x57d7f8,_0x2420f2=(0x0,validate_1[_0xf4296a(0x1dc)])(_0x5c3778[_0xf4296a(0x21c)]),_0xc0b039=(0x0,validate_1[_0xf4296a(0x1dc)])(_0x568ee5);let _0x3a8ec0=_0x5c3778[_0xf4296a(0x21c)];if(!_0x2420f2&&!_0xc0b039){const _0x26c590=(0x0,path_1[_0xf4296a(0x1fd)])(_0xf4296a(0x1f1)),_0x40aa34=(0x0,path_1[_0xf4296a(0x1fd)])(_0x26c590,_0x568ee5,_0x3a8ec0),_0x1d8c35=(0x0,path_1['normalize'])(_0x40aa34),_0x3d01a0=(0x0,path_1['join'])(_0x26c590,_0x1d8c35);_0x3a8ec0=(0x0,path_1['relative'])(process[_0xf4296a(0x1ce)](),_0x3d01a0)['replace'](/^(\.\.\/)+/,'./')[_0xf4296a(0x216)](/\/$/,'');}else{if(_0x2420f2&&!_0xc0b039){const _0x1a3a29=new URL(_0x3a8ec0),_0x392d02=_0x1a3a29['pathname']+_0x1a3a29['search']+_0x1a3a29[_0xf4296a(0x20e)];let _0x34966d=new URL(_0x568ee5,_0x1a3a29[_0xf4296a(0x1d9)]);_0x3a8ec0=new URL(_0x392d02,_0x34966d)[_0xf4296a(0x1fe)];}else{if(!_0x2420f2&&_0xc0b039){if(_0x3a8ec0[_0xf4296a(0x1d1)]('/')){const _0x3d606f=new URL(_0x568ee5);_0x3a8ec0=_0x3d606f[_0xf4296a(0x1d9)]+(0x0,path_1['join'])(_0x3d606f[_0xf4296a(0x200)],_0x3a8ec0);}else _0x3a8ec0=new URL(_0x3a8ec0,_0x568ee5)[_0xf4296a(0x1fe)];}else{if(_0x2420f2&&_0xc0b039){const _0x54aa0b=new URL(_0x3a8ec0),_0x3c8da5=new URL(_0x568ee5),_0x49d129=_0x54aa0b['pathname']+_0x54aa0b[_0xf4296a(0x1d3)]+_0x54aa0b[_0xf4296a(0x20e)];_0x3a8ec0=new URL(_0x49d129,_0x3c8da5[_0xf4296a(0x1d9)]+_0x3c8da5[_0xf4296a(0x200)])['href'];}}}}return _0x3a8ec0;}function configScope(_0x3528a8){const _0x1ea80d=_0x57d7f8;var _0x323d87;let _0x5d7d90=(_0x323d87=_0x3528a8[_0x1ea80d(0x1f2)])!==null&&_0x323d87!==void 0x0?_0x323d87:'';const _0x3f80bc=(0x0,validate_1[_0x1ea80d(0x1dc)])(_0x3528a8[_0x1ea80d(0x21c)]),_0x26cf19=(0x0,validate_1['validateURL'])(_0x5d7d90);if(_0x3f80bc&&_0x26cf19){const _0x479e0b=new URL(_0x5d7d90),_0x5e61e4=new URL(_0x3528a8['start_url']);(_0x479e0b[_0x1ea80d(0x206)]!==_0x5e61e4['host']||_0x3528a8[_0x1ea80d(0x21c)][_0x1ea80d(0x1f7)](_0x5d7d90)!==0x0)&&(_0x5d7d90=(0x0,utils_1[_0x1ea80d(0x1de)])(_0x3528a8[_0x1ea80d(0x21c)]));}else{if(_0x3f80bc&&!_0x26cf19)_0x5d7d90=new URL(_0x5d7d90,_0x3528a8['start_url'])[_0x1ea80d(0x1fe)];else{if(!_0x3f80bc&&_0x26cf19){const _0x4304d5=_0x3528a8[_0x1ea80d(0x21c)][_0x1ea80d(0x216)](/\/[^\/]+$/,'');_0x5d7d90=(0x0,path_1[_0x1ea80d(0x1f9)])(_0x4304d5+'/');}else _0x5d7d90=(0x0,path_1[_0x1ea80d(0x1d7)])((0x0,utils_1['parseRouter'])(_0x3528a8[_0x1ea80d(0x21c)]),_0x5d7d90);}}_0x3528a8[_0x1ea80d(0x1f2)]=_0x5d7d90;}function configDisplay(_0x52bab4){const _0x2446b8=_0x57d7f8;let _0x50b548=_0x52bab4['display'];_0x50b548!==_0x2446b8(0x20d)&&_0x50b548!==_0x2446b8(0x214)&&(_0x50b548=_0x2446b8(0x214));if(_0x52bab4[_0x2446b8(0x211)]&&_0x52bab4['display_override'][_0x2446b8(0x21a)]>0x0){const _0x3541cd=_0x52bab4['display_override'][_0x2446b8(0x1f7)](_0x2446b8(0x20d)),_0x473863=_0x52bab4[_0x2446b8(0x211)][_0x2446b8(0x1f7)]('standalone');if(_0x3541cd>=0x0&&_0x473863>=0x0)_0x50b548=_0x473863>_0x3541cd?_0x2446b8(0x214):_0x2446b8(0x20d);else{if(_0x3541cd>=0x0)_0x50b548='minimal-ui';else _0x473863>=0x0&&(_0x50b548=_0x2446b8(0x214));}}_0x52bab4[_0x2446b8(0x1cd)]=_0x50b548;}function configMainScene(_0x999235){const _0x5c962a=_0x57d7f8;var _0x1bc317,_0x4635c8;const _0xec5cde=[_0x5c962a(0x1da),_0x5c962a(0x1fc),_0x5c962a(0x21b)];let _0x428dc2={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x5c962a(0x1da)};if(_0x999235[_0x5c962a(0x202)]){if(typeof _0x999235[_0x5c962a(0x202)]===_0x5c962a(0x1e4))_0x428dc2[_0x5c962a(0x1d4)][_0x5c962a(0x1ff)]=Number((_0x1bc317=_0x999235[_0x5c962a(0x202)][_0x5c962a(0x215)])===null||_0x1bc317===void 0x0?void 0x0:_0x1bc317[_0x5c962a(0x1ff)])>0x0?_0x999235[_0x5c962a(0x202)][_0x5c962a(0x215)][_0x5c962a(0x1ff)]:0x500,_0x428dc2[_0x5c962a(0x1d4)][_0x5c962a(0x1ec)]=Number((_0x4635c8=_0x999235['xr_main_scene'][_0x5c962a(0x215)])===null||_0x4635c8===void 0x0?void 0x0:_0x4635c8[_0x5c962a(0x1ec)])>0x0?_0x999235[_0x5c962a(0x202)][_0x5c962a(0x215)][_0x5c962a(0x1ec)]:0x500,_0x428dc2[_0x5c962a(0x1f3)]=_0xec5cde[_0x5c962a(0x210)](_0x999235[_0x5c962a(0x202)][_0x5c962a(0x1f3)])?_0x999235[_0x5c962a(0x202)]['resizability']:_0x5c962a(0x1da),_0x999235[_0x5c962a(0x1e3)]=_0x428dc2;else typeof _0x999235[_0x5c962a(0x202)]===_0x5c962a(0x1dd)&&(_0x999235[_0x5c962a(0x1e3)]='dynamic');}}function _0x3490(){const _0x2740b3=['url','./validate','contentMinSize','resolve','href','width','pathname','xmpp','xr_main_scene','30FNOgLL','news','configMainScene','host','sftp','geo','split','__esModule','openpgp4fpr','66iZJhbG','minimal-ui','hash','configScope','includes','display_override','path','ssh','standalone','default_size','replace','../utils/utils','protocol_handlers','configDisplay','length','contentSize','start_url','protocol','ftp','display','cwd','75143kIVEIB','configDeeplink','startsWith','ircs','search','defaultSize','webcal','3vllONd','join','tel','origin','automatic','bitcoin','validateURL','string','parseRouter','splice','web+','741575jQsHyr','4599009soKFJn','mainScene','object','configStartUrl','safelist','sms','nntp','2508516KwtIWF','4414320UNVzZw','88MPIdQb','height','mms','magnet','7547918nSZIPR','8666920eYPbIW','./static-web','scope','resizability','sip','defineProperty','smsto','indexOf','urn','normalize'];_0x3490=function(){return _0x2740b3;};return _0x3490();}function configDeeplink(_0x173a07){const _0x2acaab=_0x57d7f8;if(_0x173a07['protocol_handlers']&&_0x173a07[_0x2acaab(0x218)][_0x2acaab(0x21a)]>0x0)for(var _0x2dcf35=0x0;_0x2dcf35<_0x173a07['protocol_handlers']['length'];_0x2dcf35++){const _0x4a4686=_0x173a07['protocol_handlers'][_0x2dcf35];if(_0x4a4686[_0x2acaab(0x21d)]&&(exports[_0x2acaab(0x1e6)][_0x2acaab(0x210)](_0x4a4686['protocol'])||_0x4a4686[_0x2acaab(0x21d)][_0x2acaab(0x1f7)](_0x2acaab(0x1e0))===0x0)){if(!((0x0,validate_1[_0x2acaab(0x1dc)])(_0x4a4686[_0x2acaab(0x1fa)])&&_0x4a4686[_0x2acaab(0x1fa)][_0x2acaab(0x1f7)](_0x173a07[_0x2acaab(0x1f2)])<0x0))continue;}_0x173a07['protocol_handlers'][_0x2acaab(0x1df)](_0x2dcf35,0x1),_0x2dcf35--;}}exports[_0x57d7f8(0x1e6)]=[_0x57d7f8(0x1db),_0x57d7f8(0x21e),'ftps',_0x57d7f8(0x208),'im','irc',_0x57d7f8(0x1d2),_0x57d7f8(0x1ee),'mailto','matrix',_0x57d7f8(0x1ed),_0x57d7f8(0x204),_0x57d7f8(0x1e8),_0x57d7f8(0x20b),_0x57d7f8(0x207),_0x57d7f8(0x1f4),_0x57d7f8(0x1e7),_0x57d7f8(0x1f6),_0x57d7f8(0x213),_0x57d7f8(0x1d8),_0x57d7f8(0x1f8),_0x57d7f8(0x1d5),'wtai',_0x57d7f8(0x201)];
1
+ 'use strict';const _0x149e4a=_0x4fa5;(function(_0x3689b4,_0x34fbf1){const _0x358112=_0x4fa5,_0x4aaf3e=_0x3689b4();while(!![]){try{const _0x421150=parseInt(_0x358112(0x15c))/0x1*(-parseInt(_0x358112(0x15a))/0x2)+-parseInt(_0x358112(0x151))/0x3*(parseInt(_0x358112(0x19a))/0x4)+-parseInt(_0x358112(0x18e))/0x5*(parseInt(_0x358112(0x167))/0x6)+-parseInt(_0x358112(0x166))/0x7*(-parseInt(_0x358112(0x17e))/0x8)+parseInt(_0x358112(0x179))/0x9*(parseInt(_0x358112(0x154))/0xa)+-parseInt(_0x358112(0x16d))/0xb*(parseInt(_0x358112(0x15b))/0xc)+parseInt(_0x358112(0x18c))/0xd;if(_0x421150===_0x34fbf1)break;else _0x4aaf3e['push'](_0x4aaf3e['shift']());}catch(_0x1178f9){_0x4aaf3e['push'](_0x4aaf3e['shift']());}}}(_0x2361,0x2b44c));Object[_0x149e4a(0x160)](exports,_0x149e4a(0x159),{'value':!![]}),exports[_0x149e4a(0x193)]=void 0x0,exports[_0x149e4a(0x14f)]=configId,exports[_0x149e4a(0x177)]=configStartUrl,exports['configScope']=configScope,exports['configDisplay']=configDisplay,exports['configMainScene']=configMainScene,exports[_0x149e4a(0x171)]=configDeeplink;const utils_1=require(_0x149e4a(0x16a)),validate_1=require('./validate'),path_1=require('path');function _0x4fa5(_0x8cb3dc,_0x2b0f7c){const _0x236162=_0x2361();return _0x4fa5=function(_0x4fa55a,_0x47174d){_0x4fa55a=_0x4fa55a-0x14f;let _0x5934f9=_0x236162[_0x4fa55a];return _0x5934f9;},_0x4fa5(_0x8cb3dc,_0x2b0f7c);}function configId(_0x37fd52,_0x4da723,_0x2c24c6){const _0x13e463=_0x149e4a;if(_0x2c24c6)_0x37fd52['id']=_0x13e463(0x165);else{if(_0x4da723)_0x37fd52['id']=_0x4da723;else{const _0x11c45a=new URL(_0x37fd52['id']);let _0x477528=_0x11c45a[_0x13e463(0x191)][_0x13e463(0x198)]('.')[_0x13e463(0x17d)]();_0x37fd52['id']=_0x477528['join']('.');}}}function configStartUrl(_0x1c1713,_0xe545d8){const _0x1a2468=_0x149e4a,_0x31308e=(0x0,validate_1['validateURL'])(_0x1c1713[_0x1a2468(0x161)]),_0x3596a1=(0x0,validate_1[_0x1a2468(0x186)])(_0xe545d8);let _0x325c60=_0x1c1713[_0x1a2468(0x161)];if(!_0x31308e&&!_0x3596a1){const _0x493c13=(0x0,path_1[_0x1a2468(0x18d)])(_0x1a2468(0x18a)),_0x5a4b64=(0x0,path_1[_0x1a2468(0x18d)])(_0x493c13,_0xe545d8,_0x325c60),_0x2a2f60=(0x0,path_1[_0x1a2468(0x172)])(_0x5a4b64),_0x427a80=(0x0,path_1[_0x1a2468(0x17b)])(_0x493c13,_0x2a2f60);_0x325c60=(0x0,path_1[_0x1a2468(0x181)])(process[_0x1a2468(0x178)](),_0x427a80)[_0x1a2468(0x17c)](/^(\.\.\/)+/,'./')[_0x1a2468(0x17c)](/\/$/,'');}else{if(_0x31308e&&!_0x3596a1){const _0x226fcc=new URL(_0x325c60),_0x3b6c3c=_0x226fcc[_0x1a2468(0x15d)]+_0x226fcc[_0x1a2468(0x16f)]+_0x226fcc[_0x1a2468(0x150)];let _0x23dd69=new URL(_0xe545d8,_0x226fcc[_0x1a2468(0x180)]);_0x325c60=new URL(_0x3b6c3c,_0x23dd69)[_0x1a2468(0x169)];}else{if(!_0x31308e&&_0x3596a1){if(_0x325c60['startsWith']('/')){const _0x3cb282=new URL(_0xe545d8);_0x325c60=_0x3cb282[_0x1a2468(0x180)]+(0x0,path_1[_0x1a2468(0x17b)])(_0x3cb282[_0x1a2468(0x15d)],_0x325c60);}else _0x325c60=new URL(_0x325c60,_0xe545d8)[_0x1a2468(0x169)];}else{if(_0x31308e&&_0x3596a1){const _0x1ea8e5=new URL(_0x325c60),_0x2116bd=new URL(_0xe545d8),_0xbb4ee4=_0x1ea8e5[_0x1a2468(0x15d)]+_0x1ea8e5[_0x1a2468(0x16f)]+_0x1ea8e5['hash'];_0x325c60=new URL(_0xbb4ee4,_0x2116bd[_0x1a2468(0x180)]+_0x2116bd[_0x1a2468(0x15d)])[_0x1a2468(0x169)];}}}}return _0x325c60;}function configScope(_0x253805){const _0x1dba47=_0x149e4a;var _0x5f3270;let _0x30f401=(_0x5f3270=_0x253805[_0x1dba47(0x152)])!==null&&_0x5f3270!==void 0x0?_0x5f3270:'';const _0x3b38ad=(0x0,validate_1['validateURL'])(_0x253805[_0x1dba47(0x161)]),_0x52871b=(0x0,validate_1['validateURL'])(_0x30f401);if(_0x3b38ad&&_0x52871b){const _0x4cc12a=new URL(_0x30f401),_0xfbf0b3=new URL(_0x253805[_0x1dba47(0x161)]);(_0x4cc12a[_0x1dba47(0x191)]!==_0xfbf0b3[_0x1dba47(0x191)]||_0x253805['start_url'][_0x1dba47(0x163)](_0x30f401)!==0x0)&&(_0x30f401=(0x0,utils_1[_0x1dba47(0x175)])(_0x253805[_0x1dba47(0x161)]));}else{if(_0x3b38ad&&!_0x52871b)_0x30f401=new URL(_0x30f401,_0x253805[_0x1dba47(0x161)])[_0x1dba47(0x169)];else{if(!_0x3b38ad&&_0x52871b){const _0x2c44df=_0x253805[_0x1dba47(0x161)][_0x1dba47(0x17c)](/\/[^\/]+$/,'');_0x30f401=(0x0,path_1[_0x1dba47(0x172)])(_0x2c44df+'/');}else _0x30f401=(0x0,path_1['join'])((0x0,utils_1[_0x1dba47(0x175)])(_0x253805[_0x1dba47(0x161)]),_0x30f401);}}_0x253805[_0x1dba47(0x152)]=_0x30f401;}function configDisplay(_0x1218b6){const _0x59ac8c=_0x149e4a;let _0x195f9=_0x1218b6['display'];_0x195f9!==_0x59ac8c(0x192)&&_0x195f9!=='standalone'&&(_0x195f9=_0x59ac8c(0x197));if(_0x1218b6[_0x59ac8c(0x168)]&&_0x1218b6['display_override'][_0x59ac8c(0x18f)]>0x0){const _0x43ccff=_0x1218b6['display_override']['indexOf'](_0x59ac8c(0x192)),_0x449f8e=_0x1218b6[_0x59ac8c(0x168)][_0x59ac8c(0x163)](_0x59ac8c(0x197));if(_0x43ccff>=0x0&&_0x449f8e>=0x0)_0x195f9=_0x449f8e>_0x43ccff?'standalone':_0x59ac8c(0x192);else{if(_0x43ccff>=0x0)_0x195f9='minimal-ui';else _0x449f8e>=0x0&&(_0x195f9='standalone');}}_0x1218b6[_0x59ac8c(0x17a)]=_0x195f9;}function configMainScene(_0x3c1729){const _0x20058e=_0x149e4a;var _0x5c9d19,_0x14aba2;const _0x1bcac6=[_0x20058e(0x18b),'contentMinSize',_0x20058e(0x188)];let _0xc448a6={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x3c1729[_0x20058e(0x15e)]){if(typeof _0x3c1729[_0x20058e(0x15e)]==='object')_0xc448a6[_0x20058e(0x15f)][_0x20058e(0x195)]=Number((_0x5c9d19=_0x3c1729['xr_main_scene']['default_size'])===null||_0x5c9d19===void 0x0?void 0x0:_0x5c9d19[_0x20058e(0x195)])>0x0?_0x3c1729[_0x20058e(0x15e)][_0x20058e(0x196)][_0x20058e(0x195)]:0x500,_0xc448a6[_0x20058e(0x15f)]['height']=Number((_0x14aba2=_0x3c1729['xr_main_scene'][_0x20058e(0x196)])===null||_0x14aba2===void 0x0?void 0x0:_0x14aba2[_0x20058e(0x17f)])>0x0?_0x3c1729[_0x20058e(0x15e)][_0x20058e(0x196)][_0x20058e(0x17f)]:0x500,_0xc448a6['resizability']=_0x1bcac6[_0x20058e(0x158)](_0x3c1729[_0x20058e(0x15e)]['resizability'])?_0x3c1729[_0x20058e(0x15e)]['resizability']:_0x20058e(0x18b),_0x3c1729[_0x20058e(0x16e)]=_0xc448a6;else typeof _0x3c1729['xr_main_scene']===_0x20058e(0x174)&&(_0x3c1729[_0x20058e(0x16e)]='dynamic');}}function configDeeplink(_0x41077c){const _0x28eaae=_0x149e4a;if(_0x41077c[_0x28eaae(0x16b)]&&_0x41077c[_0x28eaae(0x16b)][_0x28eaae(0x18f)]>0x0)for(var _0x537b45=0x0;_0x537b45<_0x41077c[_0x28eaae(0x16b)][_0x28eaae(0x18f)];_0x537b45++){const _0x243d10=_0x41077c['protocol_handlers'][_0x537b45];if(_0x243d10[_0x28eaae(0x164)]&&(exports[_0x28eaae(0x193)][_0x28eaae(0x158)](_0x243d10['protocol'])||_0x243d10[_0x28eaae(0x164)][_0x28eaae(0x163)]('web+')===0x0)){if(!((0x0,validate_1[_0x28eaae(0x186)])(_0x243d10['url'])&&_0x243d10[_0x28eaae(0x162)][_0x28eaae(0x163)](_0x41077c[_0x28eaae(0x152)])<0x0))continue;}_0x41077c[_0x28eaae(0x16b)][_0x28eaae(0x182)](_0x537b45,0x1),_0x537b45--;}}function _0x2361(){const _0x3649aa=['ftps','validateURL','news','contentSize','bitcoin','./static-web','automatic','2280252fYnjAk','resolve','8350lNrUYr','length','urn','host','minimal-ui','safelist','sms','width','default_size','standalone','split','xmpp','65948xJBeJC','configId','hash','15bhklbM','scope','mailto','175660sBycUu','sftp','nntp','webcal','includes','__esModule','15706fbmEiD','41388ZYulxz','36nqNuGR','pathname','xr_main_scene','defaultSize','defineProperty','start_url','url','indexOf','protocol','com.webspatial.test','70JDEoBv','228ZVqcYP','display_override','href','../utils/utils','protocol_handlers','matrix','77NZzSvP','mainScene','search','ftp','configDeeplink','normalize','ssh','string','parseRouter','tel','configStartUrl','cwd','90lclhnD','display','join','replace','reverse','223128UCSjMV','height','origin','relative','splice','openpgp4fpr','ircs'];_0x2361=function(){return _0x3649aa;};return _0x2361();}exports['safelist']=[_0x149e4a(0x189),_0x149e4a(0x170),_0x149e4a(0x185),'geo','im','irc',_0x149e4a(0x184),'magnet',_0x149e4a(0x153),_0x149e4a(0x16c),'mms',_0x149e4a(0x187),_0x149e4a(0x156),_0x149e4a(0x183),_0x149e4a(0x155),'sip',_0x149e4a(0x194),'smsto',_0x149e4a(0x173),_0x149e4a(0x176),_0x149e4a(0x190),_0x149e4a(0x157),'wtai',_0x149e4a(0x199)];
@@ -1 +1 @@
1
- 'use strict';function _0x1823(){const _0x36a063=['validate','25KlMWAg','manifest','bundle-id','loadJsonFromNet','manifest-url','json','minimal-ui','config','existsSync','1542558rSNLYd','PWAGenerator','configStartUrl','public/manifest.webmanifest','Cli','configId','check\x20manifest.json:\x20ok','DisplayModes','configDisplay','reset\x20manifest.json:\x20ok','useDefaultManifestJson','defaultManifestJson','loadJsonFromDisk','./validate','1320195nPORpI','standalone','configScope','2701993ovIolB','cwd','log','./config','36152arbGWb','base','public/manifest.json','../resource/load','checkManifestJson','defineProperty','1504096XRpJmL','checkIcons','join','WebSpatialTest','configDeeplink','106252RecvPQ','../Cli','420142cGBbOt'];_0x1823=function(){return _0x36a063;};return _0x1823();}function _0x4a07(_0x1522e7,_0x211ab1){const _0x1823d7=_0x1823();return _0x4a07=function(_0x4a07b1,_0x16da9d){_0x4a07b1=_0x4a07b1-0xef;let _0x2ade54=_0x1823d7[_0x4a07b1];return _0x2ade54;},_0x4a07(_0x1522e7,_0x211ab1);}const _0x1f4fe6=_0x4a07;(function(_0x2ec0c3,_0x276f30){const _0x5dadd3=_0x4a07,_0x2a65d2=_0x2ec0c3();while(!![]){try{const _0x2fd02a=-parseInt(_0x5dadd3(0xfe))/0x1+-parseInt(_0x5dadd3(0xfc))/0x2+parseInt(_0x5dadd3(0x117))/0x3+-parseInt(_0x5dadd3(0xf1))/0x4*(parseInt(_0x5dadd3(0x100))/0x5)+-parseInt(_0x5dadd3(0x109))/0x6+parseInt(_0x5dadd3(0x11a))/0x7+parseInt(_0x5dadd3(0xf7))/0x8;if(_0x2fd02a===_0x276f30)break;else _0x2a65d2['push'](_0x2a65d2['shift']());}catch(_0x4d1069){_0x2a65d2['push'](_0x2a65d2['shift']());}}}(_0x1823,0x3a3bd));Object[_0x1f4fe6(0xf6)](exports,'__esModule',{'value':!![]}),exports['PWAGenerator']=void 0x0;const path_1=require('path'),config_1=require(_0x1f4fe6(0xf0)),load_1=require(_0x1f4fe6(0xf4)),validate_1=require(_0x1f4fe6(0x116)),fs=require('fs'),Cli_1=require(_0x1f4fe6(0xfd));class PWAGenerator{static async['generator'](_0xa95353,_0x270f49=![]){const _0x5d1389=_0x1f4fe6;let _0x5db637=await this[_0x5d1389(0xff)](_0xa95353,_0x270f49);return console[_0x5d1389(0xef)](_0x5d1389(0x10f)),await this[_0x5d1389(0x107)](_0x5db637,_0xa95353,_0x270f49),console[_0x5d1389(0xef)](_0x5d1389(0x112)),_0x5db637;}static async['validate'](_0x33bdcd,_0x5a58b9=![]){const _0x3e791e=_0x1f4fe6;var _0xd31d2f,_0x1b50ee;let _0x508670={},_0x13855c='',_0x2e486e=![],_0x124e19=![];if(_0x33bdcd[_0x3e791e(0x104)])_0x13855c=_0x33bdcd[_0x3e791e(0x104)],_0x2e486e=!![],_0x508670=await(0x0,load_1[_0x3e791e(0x103)])(_0x33bdcd['manifest-url']);else{_0x33bdcd[_0x3e791e(0x101)]?_0x13855c=(0x0,path_1[_0x3e791e(0xf9)])(process[_0x3e791e(0x11b)](),_0x33bdcd[_0x3e791e(0x101)]):(_0x13855c=(0x0,path_1[_0x3e791e(0xf9)])(process[_0x3e791e(0x11b)](),_0x3e791e(0xf3)),!fs[_0x3e791e(0x108)](_0x13855c)&&(_0x13855c=(0x0,path_1['join'])(process[_0x3e791e(0x11b)](),_0x3e791e(0x10c))));if(!fs[_0x3e791e(0x108)](_0x13855c)){if(_0x5a58b9)_0x124e19=!![],Cli_1[_0x3e791e(0x10d)][_0x3e791e(0xef)]['warn']('manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode');else throw new Error('manifest.json\x20or\x20manifest.webmanifest\x20not\x20found');}_0x508670=_0x124e19?this['defaultManifestJson']:await(0x0,load_1[_0x3e791e(0x115)])(_0x13855c),this[_0x3e791e(0x113)]=_0x124e19;}(0x0,validate_1[_0x3e791e(0xf5)])(_0x508670,_0x5a58b9);let _0x23be3a=(0x0,config_1[_0x3e791e(0x10b)])(_0x508670,(_0xd31d2f=_0x33bdcd[_0x3e791e(0xf2)])!==null&&_0xd31d2f!==void 0x0?_0xd31d2f:'');var _0x2746e7=(0x0,validate_1['checkStartUrl'])(_0x23be3a,_0x13855c,_0x2e486e,_0x5a58b9);_0x508670['start_url']=_0x23be3a;if(!_0x5a58b9)(0x0,validate_1['checkId'])(_0x508670,(_0x1b50ee=_0x33bdcd[_0x3e791e(0x102)])!==null&&_0x1b50ee!==void 0x0?_0x1b50ee:'');return await(0x0,validate_1[_0x3e791e(0xf8)])(_0x508670,_0x13855c,_0x5a58b9),{'json':_0x508670,'url':_0x13855c,'fromNet':_0x2746e7};}static[_0x1f4fe6(0x107)](_0x15b200,_0x34262b,_0x2bc941){const _0x5de7a8=_0x1f4fe6;var _0x39c9ea;(0x0,config_1[_0x5de7a8(0x10e)])(_0x15b200[_0x5de7a8(0x105)],(_0x39c9ea=_0x34262b[_0x5de7a8(0x102)])!==null&&_0x39c9ea!==void 0x0?_0x39c9ea:'',_0x2bc941),(0x0,config_1[_0x5de7a8(0x119)])(_0x15b200[_0x5de7a8(0x105)]),(0x0,config_1[_0x5de7a8(0x111)])(_0x15b200[_0x5de7a8(0x105)]),(0x0,config_1[_0x5de7a8(0xfb)])(_0x15b200['json']),(0x0,config_1['configMainScene'])(_0x15b200['json']);}}exports[_0x1f4fe6(0x10a)]=PWAGenerator,PWAGenerator[_0x1f4fe6(0x110)]=[_0x1f4fe6(0x118),_0x1f4fe6(0x106)],PWAGenerator[_0x1f4fe6(0x114)]={'name':_0x1f4fe6(0xfa),'display':'minimal-ui','start_url':'/','scope':'/'},PWAGenerator[_0x1f4fe6(0x113)]=![];
1
+ 'use strict';function _0x236d(_0x59e3ab,_0x5ce0d5){const _0x4ee77f=_0x4ee7();return _0x236d=function(_0x236d38,_0x4f8df0){_0x236d38=_0x236d38-0x73;let _0x2e8ffc=_0x4ee77f[_0x236d38];return _0x2e8ffc;},_0x236d(_0x59e3ab,_0x5ce0d5);}const _0x1eb7c2=_0x236d;(function(_0x17498e,_0x3c6c06){const _0x3f5d47=_0x236d,_0x2a3179=_0x17498e();while(!![]){try{const _0x1230de=-parseInt(_0x3f5d47(0x85))/0x1+-parseInt(_0x3f5d47(0x96))/0x2*(parseInt(_0x3f5d47(0x9f))/0x3)+-parseInt(_0x3f5d47(0x9d))/0x4+parseInt(_0x3f5d47(0x8b))/0x5+parseInt(_0x3f5d47(0x77))/0x6+parseInt(_0x3f5d47(0xa4))/0x7+-parseInt(_0x3f5d47(0x9c))/0x8*(-parseInt(_0x3f5d47(0x92))/0x9);if(_0x1230de===_0x3c6c06)break;else _0x2a3179['push'](_0x2a3179['shift']());}catch(_0x5a1727){_0x2a3179['push'](_0x2a3179['shift']());}}}(_0x4ee7,0xad988));Object[_0x1eb7c2(0x80)](exports,_0x1eb7c2(0x83),{'value':!![]}),exports[_0x1eb7c2(0x76)]=void 0x0;const path_1=require(_0x1eb7c2(0x82)),config_1=require(_0x1eb7c2(0x93)),load_1=require(_0x1eb7c2(0x99)),validate_1=require(_0x1eb7c2(0x86)),fs=require('fs'),Cli_1=require(_0x1eb7c2(0x79));class PWAGenerator{static async[_0x1eb7c2(0x91)](_0xa8cdc4,_0xee91da=![]){const _0xfef8d=_0x1eb7c2;let _0x58d218=await this[_0xfef8d(0x7b)](_0xa8cdc4,_0xee91da);return console[_0xfef8d(0x8c)](_0xfef8d(0x75)),await this[_0xfef8d(0x7d)](_0x58d218,_0xa8cdc4,_0xee91da),console['log'](_0xfef8d(0x7f)),_0x58d218;}static async[_0x1eb7c2(0x7b)](_0x14c469,_0x4bf0ef=![]){const _0x4ed258=_0x1eb7c2;var _0x48f65f,_0x5ccf16;let _0xa7b10={},_0xb7da5f='',_0x105003=![],_0x1b169f=![];if(_0x14c469[_0x4ed258(0x94)])_0xb7da5f=_0x14c469['manifest-url'],_0x105003=!![],_0xa7b10=await(0x0,load_1[_0x4ed258(0x8d)])(_0x14c469[_0x4ed258(0x94)]);else{_0x14c469['manifest']?_0xb7da5f=(0x0,path_1[_0x4ed258(0x8f)])(process[_0x4ed258(0x95)](),_0x14c469['manifest']):(_0xb7da5f=(0x0,path_1['join'])(process[_0x4ed258(0x95)](),_0x4ed258(0x88)),!fs[_0x4ed258(0xa1)](_0xb7da5f)&&(_0xb7da5f=(0x0,path_1['join'])(process[_0x4ed258(0x95)](),_0x4ed258(0xa2))));if(!fs[_0x4ed258(0xa1)](_0xb7da5f)){if(_0x4bf0ef)_0x1b169f=!![],Cli_1[_0x4ed258(0xa3)]['log'][_0x4ed258(0x8e)]('manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode');else throw new Error('manifest.json\x20or\x20manifest.webmanifest\x20not\x20found');}_0xa7b10=_0x1b169f?this[_0x4ed258(0x84)]:await(0x0,load_1[_0x4ed258(0x74)])(_0xb7da5f),this[_0x4ed258(0x7e)]=_0x1b169f;}(0x0,validate_1[_0x4ed258(0x89)])(_0xa7b10,_0x4bf0ef);let _0x1cf42a=(0x0,config_1[_0x4ed258(0x9a)])(_0xa7b10,(_0x48f65f=_0x14c469[_0x4ed258(0xa0)])!==null&&_0x48f65f!==void 0x0?_0x48f65f:'');var _0x4663d9=(0x0,validate_1['checkStartUrl'])(_0x1cf42a,_0xb7da5f,_0x105003,_0x4bf0ef);_0xa7b10[_0x4ed258(0x8a)]=_0x1cf42a;if(!_0x4bf0ef)(0x0,validate_1[_0x4ed258(0xa5)])(_0xa7b10,(_0x5ccf16=_0x14c469[_0x4ed258(0x97)])!==null&&_0x5ccf16!==void 0x0?_0x5ccf16:'');return await(0x0,validate_1[_0x4ed258(0x87)])(_0xa7b10,_0xb7da5f,_0x4bf0ef),{'json':_0xa7b10,'url':_0xb7da5f,'fromNet':_0x4663d9};}static[_0x1eb7c2(0x7d)](_0x26417a,_0x1ecf11,_0x534a7f){const _0x94d54e=_0x1eb7c2;var _0x291a1f;(0x0,config_1[_0x94d54e(0x78)])(_0x26417a[_0x94d54e(0x9b)],(_0x291a1f=_0x1ecf11[_0x94d54e(0x97)])!==null&&_0x291a1f!==void 0x0?_0x291a1f:'',_0x534a7f),(0x0,config_1[_0x94d54e(0x81)])(_0x26417a['json']),(0x0,config_1[_0x94d54e(0x7c)])(_0x26417a['json']),(0x0,config_1[_0x94d54e(0x7a)])(_0x26417a[_0x94d54e(0x9b)]),(0x0,config_1[_0x94d54e(0x98)])(_0x26417a['json']);}}exports[_0x1eb7c2(0x76)]=PWAGenerator,PWAGenerator[_0x1eb7c2(0x90)]=[_0x1eb7c2(0x9e),_0x1eb7c2(0x73)],PWAGenerator[_0x1eb7c2(0x84)]={'name':'WebSpatialTest','display':_0x1eb7c2(0x73),'start_url':'/','scope':'/'},PWAGenerator['useDefaultManifestJson']=![];function _0x4ee7(){const _0x1754c5=['1041344OXcWmB','bundle-id','configMainScene','../resource/load','configStartUrl','json','5487176vVFtnH','1906056hiQpLb','standalone','3TxvUAa','base','existsSync','public/manifest.webmanifest','Cli','2163504gdGlZC','checkId','minimal-ui','loadJsonFromDisk','check\x20manifest.json:\x20ok','PWAGenerator','4625778cnCtlM','configId','../Cli','configDeeplink','validate','configDisplay','config','useDefaultManifestJson','reset\x20manifest.json:\x20ok','defineProperty','configScope','path','__esModule','defaultManifestJson','846619OEnolK','./validate','checkIcons','public/manifest.json','checkManifestJson','start_url','3944605lEzwrO','log','loadJsonFromNet','warn','join','DisplayModes','generator','9aQmakC','./config','manifest-url','cwd'];_0x4ee7=function(){return _0x1754c5;};return _0x4ee7();}
@@ -1 +1 @@
1
- 'use strict';const _0x37b88e=_0x229a;(function(_0x388a10,_0x513d81){const _0x49b106=_0x229a,_0x52593a=_0x388a10();while(!![]){try{const _0x69cf56=parseInt(_0x49b106(0x157))/0x1*(parseInt(_0x49b106(0x14c))/0x2)+parseInt(_0x49b106(0x144))/0x3+-parseInt(_0x49b106(0x14a))/0x4*(-parseInt(_0x49b106(0x16c))/0x5)+-parseInt(_0x49b106(0x149))/0x6*(-parseInt(_0x49b106(0x150))/0x7)+-parseInt(_0x49b106(0x15a))/0x8+parseInt(_0x49b106(0x151))/0x9+-parseInt(_0x49b106(0x146))/0xa*(parseInt(_0x49b106(0x159))/0xb);if(_0x69cf56===_0x513d81)break;else _0x52593a['push'](_0x52593a['shift']());}catch(_0x227b95){_0x52593a['push'](_0x52593a['shift']());}}}(_0x2afc,0x3f559));Object[_0x37b88e(0x143)](exports,_0x37b88e(0x14f),{'value':!![]}),exports[_0x37b88e(0x164)]=checkManifestJson,exports[_0x37b88e(0x13d)]=checkStartUrl,exports[_0x37b88e(0x163)]=checkIcons,exports['checkId']=checkId,exports[_0x37b88e(0x16f)]=validateBundleId,exports['validateURL']=validateURL;const path_1=require('path'),CustomError_1=require('../utils/CustomError'),utils_1=require(_0x37b88e(0x152)),imageHelper_1=require(_0x37b88e(0x14d)),load_1=require(_0x37b88e(0x168)),Cli_1=require(_0x37b88e(0x15b));function checkManifestJson(_0x5823a3,_0x4f3970=![]){const _0xbdcd09=_0x37b88e;var _0x48ac5a;const _0x911fad=[];!_0x5823a3[_0xbdcd09(0x141)]&&!_0x5823a3[_0xbdcd09(0x162)]&&!_0x4f3970&&_0x911fad['push']({'code':0xbbe,'message':_0xbdcd09(0x13e),'message_staring_params':{}});!((_0x48ac5a=_0x5823a3[_0xbdcd09(0x16b)])===null||_0x48ac5a===void 0x0?void 0x0:_0x48ac5a[_0xbdcd09(0x15e)])&&!_0x4f3970&&_0x911fad['push']({'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':{}});!_0x5823a3[_0xbdcd09(0x13b)]&&_0x911fad['push']({'code':0xbc0,'message':_0xbdcd09(0x169),'message_staring_params':{}});if(_0x911fad['length'])throw new CustomError_1[(_0xbdcd09(0x13f))](_0x911fad);}function checkStartUrl(_0x569f9a,_0x3fa74b,_0xf41363,_0x4eddde=![]){const _0x2e6284=_0x37b88e;var _0xc05d47=![];if(_0x4eddde)return _0x569f9a['startsWith'](_0x2e6284(0x158))||_0x569f9a[_0x2e6284(0x166)](_0x2e6284(0x165));if(_0xf41363){if(_0x569f9a['startsWith'](_0x2e6284(0x158))){const _0x30f103=new URL(_0x569f9a),_0x181fcc=new URL(_0x3fa74b);if(_0x30f103['host']!==_0x181fcc['host'])throw new CustomError_1[(_0x2e6284(0x13f))]({'code':0xfa0,'message':_0x2e6284(0x171),'message_staring_params':{}});}else{if(_0x569f9a[_0x2e6284(0x166)](_0x2e6284(0x165)))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x2e6284(0x167),'message_staring_params':{}});}}else{if(_0x569f9a[_0x2e6284(0x166)](_0x2e6284(0x158))||_0x569f9a['startsWith']('http://'))throw new CustomError_1[(_0x2e6284(0x13f))]({'code':0xfa0,'message':_0x2e6284(0x155),'message_staring_params':{}});}return _0xc05d47;}function _0x2afc(){const _0x354584=['31108iulDlh','../resource/imageHelper','parseRouter','__esModule','154AGmlLc','584298SYyQPd','../utils/utils','warn','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','Local\x20manifest\x20cannot\x20package\x20network\x20project','log','3jYzVpR','https://','54120ehKiVV','3650128eQESMG','../Cli','split','loadImageFromNet','length','getHeight','forEach','getWidth','short_name','checkIcons','checkManifestJson','http://','startsWith','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','../resource/load','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','icons','115UPrkBj','maskable','join','validateBundleId','http','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','indexOf','start_url','isFullyOpaque','checkStartUrl','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','CustomError','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','name','purpose','defineProperty','356655PSLzyt','Cli','520qObDBY','sizes','ImageHelper','92496znGKRu','69896baCsBW','test'];_0x2afc=function(){return _0x354584;};return _0x2afc();}function _0x229a(_0x5e7b77,_0xc96a95){const _0x2afc3c=_0x2afc();return _0x229a=function(_0x229aa6,_0xd5e5d9){_0x229aa6=_0x229aa6-0x13b;let _0x21be02=_0x2afc3c[_0x229aa6];return _0x21be02;},_0x229a(_0x5e7b77,_0xc96a95);}async function checkIcons(_0xbeb90a,_0x2474d6,_0x484d6b=![]){const _0x236122=_0x37b88e;var _0x4f0cf0,_0x4b66e2;if(!((_0x4f0cf0=_0xbeb90a[_0x236122(0x16b)])===null||_0x4f0cf0===void 0x0?void 0x0:_0x4f0cf0[_0x236122(0x15e)])&&_0x484d6b){Cli_1[_0x236122(0x145)][_0x236122(0x156)][_0x236122(0x153)]('icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode');return;}const _0x53378f=(0x0,utils_1[_0x236122(0x14e)])(_0x2474d6);let _0x3377b4,_0x4e49ab,_0x47a3d2,_0x22f185=0x0;for(var _0x2c736e=0x0;_0x2c736e<_0xbeb90a[_0x236122(0x16b)][_0x236122(0x15e)];_0x2c736e++){const _0x166fda=_0xbeb90a['icons'][_0x2c736e];let _0x471859=((_0x4b66e2=_0x166fda[_0x236122(0x142)])===null||_0x4b66e2===void 0x0?void 0x0:_0x4b66e2[_0x236122(0x172)](_0x236122(0x16d)))>=0x0;if(!_0x471859)continue;let _0x26fff1=![],_0x22c46c=_0x166fda['src'],_0x7c36b3,_0x492bd4=0x0;!validateURL(_0x22c46c)&&(_0x22c46c=(0x0,path_1[_0x236122(0x16e)])(_0x53378f,_0x22c46c));if(_0x166fda[_0x236122(0x147)]){const _0x1e6e52=_0x166fda[_0x236122(0x147)][_0x236122(0x15c)]('\x20');_0x1e6e52[_0x236122(0x160)](_0x148de8=>{let _0x289ea8=_0x148de8['split']('x');Number(_0x289ea8[0x0])>=0x400&&Number(_0x289ea8[0x1])>=0x400&&(_0x26fff1=!![],Number(_0x289ea8[0x0])>_0x492bd4&&(_0x492bd4=Number(_0x289ea8[0x0])));});}else _0x7c36b3=!_0x22c46c[_0x236122(0x166)](_0x236122(0x170))?await(0x0,load_1['loadImageFromDisk'])(_0x22c46c):await(0x0,load_1[_0x236122(0x15d)])(_0x22c46c),_0x7c36b3[_0x236122(0x161)]()>=0x400&&_0x7c36b3[_0x236122(0x15f)]()>=0x400&&(_0x26fff1=!![],_0x7c36b3['getWidth']()>_0x492bd4&&(_0x492bd4=_0x7c36b3['getWidth']()));_0x26fff1&&_0x471859&&(_0x492bd4>_0x22f185&&(_0x22f185=_0x492bd4,_0x3377b4=_0x7c36b3,_0x4e49ab=_0x22c46c,_0x47a3d2=_0x166fda[_0x236122(0x142)]));}if(_0x22f185===0x0){if(_0x484d6b){Cli_1[_0x236122(0x145)][_0x236122(0x156)][_0x236122(0x153)](_0x236122(0x154));return;}throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','message_staring_params':{}});}else _0x4e49ab&&(_0x3377b4=!_0x4e49ab['startsWith'](_0x236122(0x170))?await(0x0,load_1['loadImageFromDisk'])(_0x4e49ab):await(0x0,load_1['loadImageFromNet'])(_0x4e49ab));if(_0x3377b4&&!imageHelper_1[_0x236122(0x148)][_0x236122(0x13c)](_0x3377b4)){if(_0x484d6b){Cli_1[_0x236122(0x145)][_0x236122(0x156)][_0x236122(0x153)](_0x236122(0x154));return;}throw new CustomError_1[(_0x236122(0x13f))]({'code':0xfa0,'message':_0x236122(0x16a),'message_staring_params':{}});}_0xbeb90a[_0x236122(0x16b)]=[{'src':_0x4e49ab,'sizes':_0x22f185+'x'+_0x22f185,'purpose':_0x47a3d2}];}function checkId(_0x4e0710,_0x9a4d9){const _0x9e2ef=_0x37b88e;if(_0x9a4d9){if(!validateBundleId(_0x9a4d9))throw new CustomError_1[(_0x9e2ef(0x13f))]({'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;}!_0x4e0710['id']&&(_0x4e0710['id']=_0x4e0710['start_url']);if(!validateURL(_0x4e0710['id'])&&!_0x9a4d9)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x9e2ef(0x140),'message_staring_params':{}});}function validateBundleId(_0x5d1350){const _0x3f678f=_0x37b88e,_0x17df57=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x17df57[_0x3f678f(0x14b)](_0x5d1350);}function validateURL(_0xb0e4b3){try{return new URL(_0xb0e4b3),!![];}catch(_0x3b4272){return![];}}
1
+ 'use strict';const _0x3c11b9=_0x40d8;(function(_0x179983,_0x2b2246){const _0x1d4a62=_0x40d8,_0x4c5f2b=_0x179983();while(!![]){try{const _0x276d85=parseInt(_0x1d4a62(0x12d))/0x1*(-parseInt(_0x1d4a62(0x137))/0x2)+-parseInt(_0x1d4a62(0x158))/0x3*(-parseInt(_0x1d4a62(0x140))/0x4)+parseInt(_0x1d4a62(0x159))/0x5+-parseInt(_0x1d4a62(0x148))/0x6+-parseInt(_0x1d4a62(0x15c))/0x7*(-parseInt(_0x1d4a62(0x13c))/0x8)+parseInt(_0x1d4a62(0x14e))/0x9*(parseInt(_0x1d4a62(0x139))/0xa)+-parseInt(_0x1d4a62(0x14c))/0xb;if(_0x276d85===_0x2b2246)break;else _0x4c5f2b['push'](_0x4c5f2b['shift']());}catch(_0x884049){_0x4c5f2b['push'](_0x4c5f2b['shift']());}}}(_0x1755,0xd2a10));function _0x1755(){const _0x1afca3=['In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','maskable','16zDQJZJ','checkManifestJson','../resource/imageHelper','startsWith','52AQdDgs','http','icons','validateURL','sizes','getHeight','checkId','../utils/CustomError','935010pxmHRK','loadImageFromNet','warn','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','14183686OVtSGe','../Cli','896193lpdKlM','../utils/utils','split','short_name','join','getWidth','isFullyOpaque','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','path','validateBundleId','200247WdVhzs','6859265Entvny','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','http://','911148jLdWnU','start_url','Local\x20manifest\x20cannot\x20package\x20network\x20project','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','CustomError','checkStartUrl','src','defineProperty','forEach','395897XlQrkY','log','length','push','checkIcons','purpose','Cli','test','ImageHelper','../resource/load','6nyuJyq','indexOf','100bDmpRT'];_0x1755=function(){return _0x1afca3;};return _0x1755();}Object[_0x3c11b9(0x163)](exports,'__esModule',{'value':!![]}),exports[_0x3c11b9(0x13d)]=checkManifestJson,exports[_0x3c11b9(0x161)]=checkStartUrl,exports[_0x3c11b9(0x131)]=checkIcons,exports[_0x3c11b9(0x146)]=checkId,exports[_0x3c11b9(0x157)]=validateBundleId,exports[_0x3c11b9(0x143)]=validateURL;const path_1=require(_0x3c11b9(0x156)),CustomError_1=require(_0x3c11b9(0x147)),utils_1=require(_0x3c11b9(0x14f)),imageHelper_1=require(_0x3c11b9(0x13e)),load_1=require(_0x3c11b9(0x136)),Cli_1=require(_0x3c11b9(0x14d));function checkManifestJson(_0x29c980,_0x206c48=![]){const _0x4fb59e=_0x3c11b9;var _0xb4eeee;const _0x4f8b56=[];!_0x29c980['name']&&!_0x29c980[_0x4fb59e(0x151)]&&!_0x206c48&&_0x4f8b56['push']({'code':0xbbe,'message':_0x4fb59e(0x14b),'message_staring_params':{}});!((_0xb4eeee=_0x29c980[_0x4fb59e(0x142)])===null||_0xb4eeee===void 0x0?void 0x0:_0xb4eeee['length'])&&!_0x206c48&&_0x4f8b56['push']({'code':0xbbf,'message':_0x4fb59e(0x155),'message_staring_params':{}});!_0x29c980[_0x4fb59e(0x15d)]&&_0x4f8b56[_0x4fb59e(0x130)]({'code':0xbc0,'message':_0x4fb59e(0x15f),'message_staring_params':{}});if(_0x4f8b56['length'])throw new CustomError_1[(_0x4fb59e(0x160))](_0x4f8b56);}function checkStartUrl(_0x91df63,_0x411b82,_0x4b7ffc,_0x5cd7e5=![]){const _0x1e6a00=_0x3c11b9;var _0x215136=![];if(_0x5cd7e5)return _0x91df63[_0x1e6a00(0x13f)]('https://')||_0x91df63[_0x1e6a00(0x13f)](_0x1e6a00(0x15b));if(_0x4b7ffc){if(_0x91df63['startsWith']('https://')){const _0x38e5ff=new URL(_0x91df63),_0x1ecabd=new URL(_0x411b82);if(_0x38e5ff['host']!==_0x1ecabd['host'])throw new CustomError_1[(_0x1e6a00(0x160))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x91df63[_0x1e6a00(0x13f)](_0x1e6a00(0x15b)))throw new CustomError_1[(_0x1e6a00(0x160))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x91df63['startsWith']('https://')||_0x91df63[_0x1e6a00(0x13f)]('http://'))throw new CustomError_1[(_0x1e6a00(0x160))]({'code':0xfa0,'message':_0x1e6a00(0x15e),'message_staring_params':{}});}return _0x215136;}function _0x40d8(_0x329ca1,_0x18f4e9){const _0x1755fc=_0x1755();return _0x40d8=function(_0x40d81c,_0x956a2){_0x40d81c=_0x40d81c-0x12d;let _0x44db68=_0x1755fc[_0x40d81c];return _0x44db68;},_0x40d8(_0x329ca1,_0x18f4e9);}async function checkIcons(_0x486906,_0x39747c,_0x289621=![]){const _0x1cf6ae=_0x3c11b9;var _0x4ff285,_0x12da3b;if(!((_0x4ff285=_0x486906[_0x1cf6ae(0x142)])===null||_0x4ff285===void 0x0?void 0x0:_0x4ff285[_0x1cf6ae(0x12f)])&&_0x289621){Cli_1['Cli'][_0x1cf6ae(0x12e)]['warn']('icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode');return;}const _0x23a2dd=(0x0,utils_1['parseRouter'])(_0x39747c);let _0x16c878,_0x2a7464,_0x1e71e9,_0x5a3e99=0x0;for(var _0x350286=0x0;_0x350286<_0x486906['icons'][_0x1cf6ae(0x12f)];_0x350286++){const _0x24efae=_0x486906[_0x1cf6ae(0x142)][_0x350286];let _0x8fb77d=((_0x12da3b=_0x24efae[_0x1cf6ae(0x132)])===null||_0x12da3b===void 0x0?void 0x0:_0x12da3b[_0x1cf6ae(0x138)](_0x1cf6ae(0x13b)))>=0x0;if(!_0x8fb77d)continue;let _0x39d59d=![],_0x3d534a=_0x24efae[_0x1cf6ae(0x162)],_0x2ab584,_0x27cab7=0x0;!validateURL(_0x3d534a)&&(_0x3d534a=(0x0,path_1[_0x1cf6ae(0x152)])(_0x23a2dd,_0x3d534a));if(_0x24efae[_0x1cf6ae(0x144)]){const _0x1bf5bf=_0x24efae[_0x1cf6ae(0x144)]['split']('\x20');_0x1bf5bf[_0x1cf6ae(0x164)](_0x4aa114=>{const _0x3b0266=_0x1cf6ae;let _0x1681f9=_0x4aa114[_0x3b0266(0x150)]('x');Number(_0x1681f9[0x0])>=0x400&&Number(_0x1681f9[0x1])>=0x400&&(_0x39d59d=!![],Number(_0x1681f9[0x0])>_0x27cab7&&(_0x27cab7=Number(_0x1681f9[0x0])));});}else _0x2ab584=!_0x3d534a[_0x1cf6ae(0x13f)](_0x1cf6ae(0x141))?await(0x0,load_1['loadImageFromDisk'])(_0x3d534a):await(0x0,load_1[_0x1cf6ae(0x149)])(_0x3d534a),_0x2ab584['getWidth']()>=0x400&&_0x2ab584[_0x1cf6ae(0x145)]()>=0x400&&(_0x39d59d=!![],_0x2ab584[_0x1cf6ae(0x153)]()>_0x27cab7&&(_0x27cab7=_0x2ab584[_0x1cf6ae(0x153)]()));_0x39d59d&&_0x8fb77d&&(_0x27cab7>_0x5a3e99&&(_0x5a3e99=_0x27cab7,_0x16c878=_0x2ab584,_0x2a7464=_0x3d534a,_0x1e71e9=_0x24efae[_0x1cf6ae(0x132)]));}if(_0x5a3e99===0x0){if(_0x289621){Cli_1[_0x1cf6ae(0x133)][_0x1cf6ae(0x12e)][_0x1cf6ae(0x14a)](_0x1cf6ae(0x13a));return;}throw new CustomError_1[(_0x1cf6ae(0x160))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','message_staring_params':{}});}else _0x2a7464&&(_0x16c878=!_0x2a7464['startsWith'](_0x1cf6ae(0x141))?await(0x0,load_1['loadImageFromDisk'])(_0x2a7464):await(0x0,load_1[_0x1cf6ae(0x149)])(_0x2a7464));if(_0x16c878&&!imageHelper_1[_0x1cf6ae(0x135)][_0x1cf6ae(0x154)](_0x16c878)){if(_0x289621){Cli_1[_0x1cf6ae(0x133)]['log'][_0x1cf6ae(0x14a)](_0x1cf6ae(0x13a));return;}throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1cf6ae(0x15a),'message_staring_params':{}});}_0x486906['icons']=[{'src':_0x2a7464,'sizes':_0x5a3e99+'x'+_0x5a3e99,'purpose':_0x1e71e9}];}function checkId(_0x297670,_0x90dbe2){const _0x28c3bc=_0x3c11b9;if(_0x90dbe2){if(!validateBundleId(_0x90dbe2))throw new CustomError_1[(_0x28c3bc(0x160))]({'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;}!_0x297670['id']&&(_0x297670['id']=_0x297670['start_url']);if(!validateURL(_0x297670['id'])&&!_0x90dbe2)throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','message_staring_params':{}});}function validateBundleId(_0x2b0dbc){const _0xa3e56b=_0x3c11b9,_0x1888fb=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x1888fb[_0xa3e56b(0x134)](_0x2b0dbc);}function validateURL(_0x297e4b){try{return new URL(_0x297e4b),!![];}catch(_0x15c39d){return![];}}
@@ -1 +1 @@
1
- 'use strict';const _0x1c77e7=_0x3f2c;function _0x3f2c(_0x17e41b,_0x379d6e){const _0x21523f=_0x2152();return _0x3f2c=function(_0x3f2c7b,_0x48ceb7){_0x3f2c7b=_0x3f2c7b-0x10e;let _0x5adf4c=_0x21523f[_0x3f2c7b];return _0x5adf4c;},_0x3f2c(_0x17e41b,_0x379d6e);}function _0x2152(){const _0x2becf4=['391116IWxAlK','20hEpsWn','3036341QpXTYD','__esModule','289933EjiULm','1715274rdTfeB','7OFQwdn','clearDir','3424059tIvkSf','mkdirSync','isFile','writeFileSync','forEach','isDirectory','20nLrmIV','existsSync','log','398084waJAIX','1142848ruhQUG','statSync','2Jmhcrk'];_0x2152=function(){return _0x2becf4;};return _0x2152();}(function(_0x4f0298,_0x21c06d){const _0x779ab5=_0x3f2c,_0x249f29=_0x4f0298();while(!![]){try{const _0x394f24=-parseInt(_0x779ab5(0x116))/0x1*(parseInt(_0x779ab5(0x111))/0x2)+parseInt(_0x779ab5(0x112))/0x3+parseInt(_0x779ab5(0x10e))/0x4*(parseInt(_0x779ab5(0x120))/0x5)+parseInt(_0x779ab5(0x117))/0x6*(parseInt(_0x779ab5(0x118))/0x7)+-parseInt(_0x779ab5(0x10f))/0x8+parseInt(_0x779ab5(0x11a))/0x9+-parseInt(_0x779ab5(0x113))/0xa*(parseInt(_0x779ab5(0x114))/0xb);if(_0x394f24===_0x21c06d)break;else _0x249f29['push'](_0x249f29['shift']());}catch(_0x4a81c5){_0x249f29['push'](_0x249f29['shift']());}}}(_0x2152,0x3340f));Object['defineProperty'](exports,_0x1c77e7(0x115),{'value':!![]}),exports['copyDir']=copyDir,exports[_0x1c77e7(0x119)]=clearDir;const fs=require('fs');function copyDir(_0x2c2158,_0x5703f8){const _0x5adf99=_0x1c77e7,_0x152363=fs['readdirSync'](_0x2c2158);_0x152363[_0x5adf99(0x11e)](_0x3ac3c1=>{const _0x4f629c=_0x5adf99,_0x22766d=_0x2c2158+'/'+_0x3ac3c1,_0x4ba1f6=_0x5703f8+'/'+_0x3ac3c1,_0x140a2e=fs[_0x4f629c(0x110)](_0x22766d);if(_0x140a2e[_0x4f629c(0x11c)]())try{fs[_0x4f629c(0x11d)](_0x4ba1f6,fs['readFileSync'](_0x22766d));}catch(_0x327ee3){console[_0x4f629c(0x122)](_0x327ee3);}else _0x140a2e[_0x4f629c(0x11f)]()&&(!fs[_0x4f629c(0x121)](_0x4ba1f6)&&fs[_0x4f629c(0x11b)](_0x4ba1f6,{'recursive':!![]}),copyDir(_0x22766d,_0x4ba1f6));});}function clearDir(_0x4d7302){const _0x444a28=_0x1c77e7,_0x5ec63f=fs['readdirSync'](_0x4d7302);_0x5ec63f[_0x444a28(0x11e)](_0x2d39c4=>{const _0x29a540=_0x444a28,_0x1b4d0c=_0x4d7302+'/'+_0x2d39c4,_0x1e74d7=fs[_0x29a540(0x110)](_0x1b4d0c);if(_0x1e74d7[_0x29a540(0x11c)]())try{fs['unlinkSync'](_0x1b4d0c);}catch(_0x3dc042){console['log'](_0x3dc042);}else _0x1e74d7[_0x29a540(0x11f)]()&&clearDir(_0x1b4d0c);});}
1
+ 'use strict';const _0x5cbdfb=_0x2b3f;function _0x3099(){const _0x3f8e52=['1042735NmncpK','842574wqlHHb','618009ZJZmuE','466797GUfVdR','mkdirSync','unlinkSync','__esModule','12fWRAPZ','isDirectory','27TFUKDp','log','7evVish','4916410NHbxFV','writeFileSync','statSync','14454264YHSRVd','readFileSync','forEach','6cUfAAz','643960zaJTCw','clearDir','readdirSync','11Ppojoz','copyDir','existsSync'];_0x3099=function(){return _0x3f8e52;};return _0x3099();}(function(_0xb36f39,_0x545821){const _0x366ceb=_0x2b3f,_0x771523=_0xb36f39();while(!![]){try{const _0x4ee661=-parseInt(_0x366ceb(0x1c5))/0x1+-parseInt(_0x366ceb(0x1bb))/0x2*(parseInt(_0x366ceb(0x1c4))/0x3)+parseInt(_0x366ceb(0x1c9))/0x4*(parseInt(_0x366ceb(0x1c2))/0x5)+parseInt(_0x366ceb(0x1c3))/0x6*(-parseInt(_0x366ceb(0x1cd))/0x7)+parseInt(_0x366ceb(0x1bc))/0x8*(parseInt(_0x366ceb(0x1cb))/0x9)+-parseInt(_0x366ceb(0x1ce))/0xa*(parseInt(_0x366ceb(0x1bf))/0xb)+parseInt(_0x366ceb(0x1b8))/0xc;if(_0x4ee661===_0x545821)break;else _0x771523['push'](_0x771523['shift']());}catch(_0x4595af){_0x771523['push'](_0x771523['shift']());}}}(_0x3099,0x569d4));Object['defineProperty'](exports,_0x5cbdfb(0x1c8),{'value':!![]}),exports[_0x5cbdfb(0x1c0)]=copyDir,exports[_0x5cbdfb(0x1bd)]=clearDir;function _0x2b3f(_0x2254d6,_0x343eb1){const _0x3099df=_0x3099();return _0x2b3f=function(_0x2b3f5b,_0x3d5342){_0x2b3f5b=_0x2b3f5b-0x1b6;let _0x3f62e7=_0x3099df[_0x2b3f5b];return _0x3f62e7;},_0x2b3f(_0x2254d6,_0x343eb1);}const fs=require('fs');function copyDir(_0x50583e,_0x3fb2d4){const _0x41bd06=_0x5cbdfb,_0x1cce57=fs[_0x41bd06(0x1be)](_0x50583e);_0x1cce57[_0x41bd06(0x1ba)](_0x5a1a0c=>{const _0x3cb137=_0x41bd06,_0x6d930e=_0x50583e+'/'+_0x5a1a0c,_0x25327d=_0x3fb2d4+'/'+_0x5a1a0c,_0x10fb24=fs[_0x3cb137(0x1b7)](_0x6d930e);if(_0x10fb24['isFile']())try{fs[_0x3cb137(0x1b6)](_0x25327d,fs[_0x3cb137(0x1b9)](_0x6d930e));}catch(_0x2b8605){console[_0x3cb137(0x1cc)](_0x2b8605);}else _0x10fb24[_0x3cb137(0x1ca)]()&&(!fs[_0x3cb137(0x1c1)](_0x25327d)&&fs[_0x3cb137(0x1c6)](_0x25327d,{'recursive':!![]}),copyDir(_0x6d930e,_0x25327d));});}function clearDir(_0x44014b){const _0x45f465=_0x5cbdfb,_0x48ef43=fs[_0x45f465(0x1be)](_0x44014b);_0x48ef43['forEach'](_0x3d43fa=>{const _0x2724b5=_0x45f465,_0x50b44f=_0x44014b+'/'+_0x3d43fa,_0x6a7309=fs[_0x2724b5(0x1b7)](_0x50b44f);if(_0x6a7309['isFile']())try{fs[_0x2724b5(0x1c7)](_0x50b44f);}catch(_0x5c73ef){console[_0x2724b5(0x1cc)](_0x5c73ef);}else _0x6a7309['isDirectory']()&&clearDir(_0x50b44f);});}
@@ -1 +1 @@
1
- 'use strict';const _0x321882=_0x4da9;(function(_0xaaf2e6,_0x1b9cfb){const _0x3cdd54=_0x4da9,_0x4cb37b=_0xaaf2e6();while(!![]){try{const _0x36b1f=-parseInt(_0x3cdd54(0x14a))/0x1+-parseInt(_0x3cdd54(0x14d))/0x2+-parseInt(_0x3cdd54(0x155))/0x3+-parseInt(_0x3cdd54(0x15f))/0x4*(-parseInt(_0x3cdd54(0x14b))/0x5)+-parseInt(_0x3cdd54(0x154))/0x6*(parseInt(_0x3cdd54(0x153))/0x7)+-parseInt(_0x3cdd54(0x14e))/0x8+parseInt(_0x3cdd54(0x159))/0x9;if(_0x36b1f===_0x1b9cfb)break;else _0x4cb37b['push'](_0x4cb37b['shift']());}catch(_0x70a919){_0x4cb37b['push'](_0x4cb37b['shift']());}}}(_0x4812,0x55b5b));function _0x4da9(_0x35884c,_0x275cda){const _0x48121d=_0x4812();return _0x4da9=function(_0x4da9db,_0x3e097b){_0x4da9db=_0x4da9db-0x148;let _0xf10d14=_0x48121d[_0x4da9db];return _0xf10d14;},_0x4da9(_0x35884c,_0x275cda);}function _0x4812(){const _0x56e064=['defineProperty','ImageHelper','getHeight','render','@resvg/resvg-js','8SCpjgo','toFormat','width','409995wfAwvn','248890TIxdRW','bitmap','15110GvmeJb','434344KoKmRX','getWidth','toBuffer','isFullyOpaque','svg2img','7lieiEd','459696dEFbIH','1674066Cnlipc','sharp','data','__esModule','12221928aYpOWq'];_0x4812=function(){return _0x56e064;};return _0x4812();}Object[_0x321882(0x15a)](exports,_0x321882(0x158),{'value':!![]}),exports[_0x321882(0x15b)]=void 0x0;const Jimp=require('jimp'),sharp=require(_0x321882(0x156)),resvg_js_1=require(_0x321882(0x15e));class ImageHelper{static['createImg'](_0x1b6bd4){return new Jimp(_0x1b6bd4,_0x1b6bd4,0x0);}static async['webp2PngBuffer'](_0xbc736d){const _0x19c44a=_0x321882;return await sharp(_0xbc736d)[_0x19c44a(0x148)]('png')[_0x19c44a(0x150)]();}static async[_0x321882(0x152)](_0x758e65){const _0x2b2f88=_0x321882,_0x5a946f={'fitTo':{'mode':_0x2b2f88(0x149),'value':0x400}},_0x172457=new resvg_js_1['Resvg'](_0x758e65,_0x5a946f),_0x5dcdfc=_0x172457[_0x2b2f88(0x15d)](),_0x55c42c=_0x5dcdfc['asPng']();return _0x55c42c;}static[_0x321882(0x151)](_0x5a8670){const _0x24656f=_0x321882,_0x551bee=_0x5a8670[_0x24656f(0x14f)]()*_0x5a8670[_0x24656f(0x15c)]();for(var _0x118c4c=0x0;_0x118c4c<_0x551bee;_0x118c4c++){const _0x2354f4=_0x118c4c*0x4+0x3;if(_0x5a8670[_0x24656f(0x14c)][_0x24656f(0x157)][_0x2354f4]<0xff)return![];}return!![];}}exports[_0x321882(0x15b)]=ImageHelper;
1
+ 'use strict';const _0x265664=_0x188d;function _0x20b5(){const _0x401862=['toBuffer','@resvg/resvg-js','27QbQagZ','2585065CCZUKb','toFormat','data','13504480JjirBK','createImg','2392SuIDpx','png','7790724awkRKG','32bmRNjB','8857431cVijmC','10MmsCil','bitmap','ImageHelper','869OjBrLE','width','isFullyOpaque','1841903qTuHzx','getWidth','116308bPWdSt','getHeight','asPng','webp2PngBuffer','svg2img'];_0x20b5=function(){return _0x401862;};return _0x20b5();}(function(_0x30aa5c,_0x50a670){const _0x171666=_0x188d,_0x4c679f=_0x30aa5c();while(!![]){try{const _0x4967d7=-parseInt(_0x171666(0xf1))/0x1*(parseInt(_0x171666(0xe9))/0x2)+parseInt(_0x171666(0xe3))/0x3*(parseInt(_0x171666(0xdc))/0x4)+-parseInt(_0x171666(0xe4))/0x5+parseInt(_0x171666(0xeb))/0x6+-parseInt(_0x171666(0xda))/0x7*(-parseInt(_0x171666(0xec))/0x8)+-parseInt(_0x171666(0xed))/0x9*(-parseInt(_0x171666(0xee))/0xa)+-parseInt(_0x171666(0xe7))/0xb;if(_0x4967d7===_0x50a670)break;else _0x4c679f['push'](_0x4c679f['shift']());}catch(_0x59f612){_0x4c679f['push'](_0x4c679f['shift']());}}}(_0x20b5,0xc6705));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x265664(0xf0)]=void 0x0;const Jimp=require('jimp'),sharp=require('sharp'),resvg_js_1=require(_0x265664(0xe2));class ImageHelper{static[_0x265664(0xe8)](_0x4d653e){return new Jimp(_0x4d653e,_0x4d653e,0x0);}static async[_0x265664(0xdf)](_0x4f7a37){const _0x342ca5=_0x265664;return await sharp(_0x4f7a37)[_0x342ca5(0xe5)](_0x342ca5(0xea))[_0x342ca5(0xe1)]();}static async[_0x265664(0xe0)](_0x2a4456){const _0x3f4ad5=_0x265664,_0x526e39={'fitTo':{'mode':_0x3f4ad5(0xf2),'value':0x400}},_0xd908b6=new resvg_js_1['Resvg'](_0x2a4456,_0x526e39),_0x10596e=_0xd908b6['render'](),_0x2987c0=_0x10596e[_0x3f4ad5(0xde)]();return _0x2987c0;}static[_0x265664(0xf3)](_0x188f1e){const _0xeb9b11=_0x265664,_0x2b8851=_0x188f1e[_0xeb9b11(0xdb)]()*_0x188f1e[_0xeb9b11(0xdd)]();for(var _0x59ca74=0x0;_0x59ca74<_0x2b8851;_0x59ca74++){const _0x202d21=_0x59ca74*0x4+0x3;if(_0x188f1e[_0xeb9b11(0xef)][_0xeb9b11(0xe6)][_0x202d21]<0xff)return![];}return!![];}}function _0x188d(_0x4061e5,_0x4e0285){const _0x20b52f=_0x20b5();return _0x188d=function(_0x188db5,_0x49f806){_0x188db5=_0x188db5-0xda;let _0x22baf3=_0x20b52f[_0x188db5];return _0x22baf3;},_0x188d(_0x4061e5,_0x4e0285);}exports['ImageHelper']=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';const _0x15021b=_0x7be0;function _0x37f5(){const _0x3f3f4b=['14328ctgxyf','81qbSJts','startsWith','ResourceManager','path','json','join','./load','cwd','http','defineProperty','loadImageFromNet','cd\x20','log','./export','visionos','checkPlatformPath','existsSync','BACK_APPICON_DIRECTORY','PROJECT_DIRECTORY','includes','102319MhZLmt','4799472MloCyb','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','546DUXxxI','WEB_PROJECT_DIRECTORY','PROJECT_BUILD_DIRECTORY','loadImageFromDisk','ASSET_DIRECTORY','not\x20support\x20platform\x20','1284424ZDrKXD','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','291951lqGxDN','MIDDLE_APPICON_DIRECTORY','child_process','4260560pJfdYd','copyDir','src',',\x20now\x20WebSpatial\x20only\x20support\x20','70QYyPzy','PROJECT_EXPORT_DIRECTORY','node_modules/@webspatial/platform-','4859885oxfrch','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','../../../','generateIcon'];_0x37f5=function(){return _0x3f3f4b;};return _0x37f5();}function _0x7be0(_0x581333,_0x2bf679){const _0x37f533=_0x37f5();return _0x7be0=function(_0x7be06a,_0xec9062){_0x7be06a=_0x7be06a-0xa2;let _0x59ac9e=_0x37f533[_0x7be06a];return _0x59ac9e;},_0x7be0(_0x581333,_0x2bf679);}(function(_0x8d8f8a,_0x2dc62e){const _0x277754=_0x7be0,_0x11a82f=_0x8d8f8a();while(!![]){try{const _0x202475=parseInt(_0x277754(0xbb))/0x1+-parseInt(_0x277754(0xcb))/0x2*(-parseInt(_0x277754(0xcc))/0x3)+-parseInt(_0x277754(0xc0))/0x4+parseInt(_0x277754(0xc7))/0x5+parseInt(_0x277754(0xb5))/0x6*(-parseInt(_0x277754(0xb2))/0x7)+parseInt(_0x277754(0xb3))/0x8+parseInt(_0x277754(0xbd))/0x9*(parseInt(_0x277754(0xc4))/0xa);if(_0x202475===_0x2dc62e)break;else _0x11a82f['push'](_0x11a82f['shift']());}catch(_0x2b0652){_0x11a82f['push'](_0x11a82f['shift']());}}}(_0x37f5,0xd738d));Object[_0x15021b(0xa7)](exports,'__esModule',{'value':!![]}),exports[_0x15021b(0xce)]=exports[_0x15021b(0xbe)]=exports['BACK_APPICON_DIRECTORY']=exports['ASSET_DIRECTORY']=exports['WEB_PROJECT_DIRECTORY']=exports[_0x15021b(0xc5)]=exports[_0x15021b(0xb7)]=exports['PROJECT_DIRECTORY']=void 0x0;const fs=require('fs'),path_1=require(_0x15021b(0xcf)),file_1=require('./file'),load_1=require(_0x15021b(0xa4)),child_process_1=require(_0x15021b(0xbf));exports[_0x15021b(0xb0)]='',exports['PROJECT_BUILD_DIRECTORY']='',exports[_0x15021b(0xc5)]='',exports['WEB_PROJECT_DIRECTORY']='web-spatial/static-web',exports[_0x15021b(0xb9)]='web-spatial/Assets.xcassets',exports[_0x15021b(0xaf)]=exports[_0x15021b(0xb9)]+_0x15021b(0xc8),exports[_0x15021b(0xbe)]=exports[_0x15021b(0xb9)]+_0x15021b(0xbc);const supportPlatform=[_0x15021b(0xac)];class ResourceManager{static async['moveProjectFrom'](_0x41b147){const _0x2c005b=_0x15021b,_0x467c4c=(0x0,path_1[_0x2c005b(0xa3)])(process[_0x2c005b(0xa5)](),_0x41b147),_0x3eae34=(0x0,path_1['join'])(exports['PROJECT_DIRECTORY'],exports[_0x2c005b(0xb6)]);!fs[_0x2c005b(0xae)](_0x3eae34)?fs['mkdirSync'](_0x3eae34,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x3eae34);try{(0x0,file_1[_0x2c005b(0xc1)])(_0x467c4c,_0x3eae34);}catch(_0x3b781a){console[_0x2c005b(0xaa)](_0x3b781a);}}static async[_0x15021b(0xca)](_0x43d4c0){const _0x3b3098=_0x15021b,_0x5f4e02=_0x43d4c0[_0x3b3098(0xa2)],_0x59988f=_0x5f4e02['icons'][0x0][_0x3b3098(0xc2)],_0x38a831=!_0x59988f[_0x3b3098(0xcd)](_0x3b3098(0xa6))?await(0x0,load_1[_0x3b3098(0xb8)])(_0x59988f):await(0x0,load_1[_0x3b3098(0xa8)])(_0x59988f);return _0x38a831['resize'](0x400,0x400),_0x38a831;}static[_0x15021b(0xad)](_0x552459){const _0x4cab8d=_0x15021b,_0x20fbf5=_0x552459!==null&&_0x552459!==void 0x0?_0x552459:supportPlatform[0x0];if(!supportPlatform[_0x4cab8d(0xb1)](_0x20fbf5))throw new Error(_0x4cab8d(0xba)+_0x20fbf5+_0x4cab8d(0xc3)+supportPlatform[_0x4cab8d(0xa3)](','));let _0x43f4e6=(0x0,path_1['join'])(process[_0x4cab8d(0xa5)](),_0x4cab8d(0xc6)+_0x20fbf5);!fs[_0x4cab8d(0xae)](_0x43f4e6)&&(_0x43f4e6=(0x0,path_1[_0x4cab8d(0xa3)])(__dirname,'../../../node_modules/@webspatial/platform-'+_0x20fbf5));const _0x3bfde5=fs[_0x4cab8d(0xae)](_0x43f4e6);!_0x3bfde5&&(0x0,child_process_1['execSync'])(_0x4cab8d(0xa9)+(0x0,path_1[_0x4cab8d(0xa3)])(__dirname,_0x4cab8d(0xc9))+_0x4cab8d(0xb4)+_0x20fbf5),exports['PROJECT_DIRECTORY']=_0x43f4e6,exports[_0x4cab8d(0xb7)]=(0x0,path_1['join'])(exports[_0x4cab8d(0xb0)],'./build'),exports['PROJECT_EXPORT_DIRECTORY']=(0x0,path_1[_0x4cab8d(0xa3)])(exports[_0x4cab8d(0xb0)],_0x4cab8d(0xab));}}exports[_0x15021b(0xce)]=ResourceManager;
1
+ 'use strict';const _0xc3fab7=_0x16d0;(function(_0x43188e,_0x5e789e){const _0x3f8f6f=_0x16d0,_0x6e50db=_0x43188e();while(!![]){try{const _0x43e4c7=parseInt(_0x3f8f6f(0xe9))/0x1*(parseInt(_0x3f8f6f(0xc7))/0x2)+parseInt(_0x3f8f6f(0xc3))/0x3*(parseInt(_0x3f8f6f(0xe5))/0x4)+-parseInt(_0x3f8f6f(0xd6))/0x5*(parseInt(_0x3f8f6f(0xf1))/0x6)+-parseInt(_0x3f8f6f(0xe6))/0x7*(parseInt(_0x3f8f6f(0xe8))/0x8)+parseInt(_0x3f8f6f(0xe1))/0x9*(-parseInt(_0x3f8f6f(0xd5))/0xa)+-parseInt(_0x3f8f6f(0xcb))/0xb+-parseInt(_0x3f8f6f(0xdb))/0xc*(-parseInt(_0x3f8f6f(0xc6))/0xd);if(_0x43e4c7===_0x5e789e)break;else _0x6e50db['push'](_0x6e50db['shift']());}catch(_0x3714cf){_0x6e50db['push'](_0x6e50db['shift']());}}}(_0xc5b2,0x545f6));function _0x16d0(_0xfac733,_0x43559a){const _0xc5b27d=_0xc5b2();return _0x16d0=function(_0x16d0ea,_0x512a52){_0x16d0ea=_0x16d0ea-0xc3;let _0x328b88=_0xc5b27d[_0x16d0ea];return _0x328b88;},_0x16d0(_0xfac733,_0x43559a);}Object['defineProperty'](exports,_0xc3fab7(0xe7),{'value':!![]}),exports[_0xc3fab7(0xee)]=exports[_0xc3fab7(0xca)]=exports['BACK_APPICON_DIRECTORY']=exports[_0xc3fab7(0xcc)]=exports[_0xc3fab7(0xd8)]=exports[_0xc3fab7(0xdc)]=exports[_0xc3fab7(0xda)]=exports[_0xc3fab7(0xeb)]=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require(_0xc3fab7(0xd3)),load_1=require('./load'),child_process_1=require('child_process');exports['PROJECT_DIRECTORY']='',exports[_0xc3fab7(0xda)]='',exports[_0xc3fab7(0xdc)]='',exports[_0xc3fab7(0xd8)]='web-spatial/static-web',exports[_0xc3fab7(0xcc)]='web-spatial/Assets.xcassets',exports[_0xc3fab7(0xcd)]=exports[_0xc3fab7(0xcc)]+_0xc3fab7(0xc4),exports[_0xc3fab7(0xca)]=exports[_0xc3fab7(0xcc)]+_0xc3fab7(0xc5);const supportPlatform=[_0xc3fab7(0xce)];class ResourceManager{static async[_0xc3fab7(0xc8)](_0x430b20){const _0x1771ef=_0xc3fab7,_0x5d7c7d=(0x0,path_1[_0x1771ef(0xd0)])(process['cwd'](),_0x430b20),_0x1e7a12=(0x0,path_1[_0x1771ef(0xd0)])(exports['PROJECT_DIRECTORY'],exports[_0x1771ef(0xd8)]);!fs[_0x1771ef(0xde)](_0x1e7a12)?fs[_0x1771ef(0xe4)](_0x1e7a12,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x1e7a12);try{(0x0,file_1[_0x1771ef(0xd4)])(_0x5d7c7d,_0x1e7a12);}catch(_0x43c2da){console[_0x1771ef(0xc9)](_0x43c2da);}}static async['generateIcon'](_0x32a12d){const _0x430d5a=_0xc3fab7,_0x59e1e7=_0x32a12d['json'],_0x1ff95e=_0x59e1e7[_0x430d5a(0xd1)][0x0][_0x430d5a(0xec)],_0x44bb2f=!_0x1ff95e['startsWith']('http')?await(0x0,load_1[_0x430d5a(0xd9)])(_0x1ff95e):await(0x0,load_1[_0x430d5a(0xdd)])(_0x1ff95e);return _0x44bb2f[_0x430d5a(0xf0)](0x400,0x400),_0x44bb2f;}static[_0xc3fab7(0xe2)](_0x2c957c){const _0x124498=_0xc3fab7,_0x5d41c5=_0x2c957c!==null&&_0x2c957c!==void 0x0?_0x2c957c:supportPlatform[0x0];if(!supportPlatform['includes'](_0x5d41c5))throw new Error(_0x124498(0xef)+_0x5d41c5+_0x124498(0xed)+supportPlatform[_0x124498(0xd0)](','));let _0x148e86=(0x0,path_1[_0x124498(0xd0)])(process[_0x124498(0xdf)](),_0x124498(0xf2)+_0x5d41c5);!fs[_0x124498(0xde)](_0x148e86)&&(_0x148e86=(0x0,path_1[_0x124498(0xd0)])(__dirname,'../../../node_modules/@webspatial/platform-'+_0x5d41c5));const _0x2e0ce7=fs['existsSync'](_0x148e86);!_0x2e0ce7&&(0x0,child_process_1[_0x124498(0xd2)])(_0x124498(0xe0)+(0x0,path_1[_0x124498(0xd0)])(__dirname,_0x124498(0xd7))+_0x124498(0xcf)+_0x5d41c5),exports[_0x124498(0xeb)]=_0x148e86,exports[_0x124498(0xda)]=(0x0,path_1[_0x124498(0xd0)])(exports[_0x124498(0xeb)],_0x124498(0xe3)),exports['PROJECT_EXPORT_DIRECTORY']=(0x0,path_1[_0x124498(0xd0)])(exports[_0x124498(0xeb)],_0x124498(0xea));}}exports[_0xc3fab7(0xee)]=ResourceManager;function _0xc5b2(){const _0x3adcff=['\x20&&\x20pnpm\x20add\x20@webspatial/platform-','join','icons','execSync','./file','copyDir','3790doZJsS','239285NpeqDq','../../../','WEB_PROJECT_DIRECTORY','loadImageFromDisk','PROJECT_BUILD_DIRECTORY','4532748qOUmLy','PROJECT_EXPORT_DIRECTORY','loadImageFromNet','existsSync','cwd','cd\x20','12861kmksrn','checkPlatformPath','./build','mkdirSync','68ESSAaT','14NBIYew','__esModule','704744UoETGs','3bcrNMT','./export','PROJECT_DIRECTORY','src',',\x20now\x20WebSpatial\x20only\x20support\x20','ResourceManager','not\x20support\x20platform\x20','resize','12rswwKx','node_modules/@webspatial/platform-','120105kWdOHC','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','13OxxkjB','274674XFOmfW','moveProjectFrom','log','MIDDLE_APPICON_DIRECTORY','3423794aNagUL','ASSET_DIRECTORY','BACK_APPICON_DIRECTORY','visionos'];_0xc5b2=function(){return _0x3adcff;};return _0xc5b2();}
@@ -1 +1 @@
1
- 'use strict';const _0x8045a7=_0x31fa;(function(_0x3b0a30,_0x12ac7d){const _0x3bb6c7=_0x31fa,_0x4b3c45=_0x3b0a30();while(!![]){try{const _0x11f520=-parseInt(_0x3bb6c7(0x21c))/0x1*(parseInt(_0x3bb6c7(0x20b))/0x2)+parseInt(_0x3bb6c7(0x1f2))/0x3+-parseInt(_0x3bb6c7(0x1f1))/0x4+-parseInt(_0x3bb6c7(0x1ef))/0x5*(parseInt(_0x3bb6c7(0x212))/0x6)+-parseInt(_0x3bb6c7(0x215))/0x7*(-parseInt(_0x3bb6c7(0x20a))/0x8)+-parseInt(_0x3bb6c7(0x1fa))/0x9*(parseInt(_0x3bb6c7(0x200))/0xa)+-parseInt(_0x3bb6c7(0x21a))/0xb*(-parseInt(_0x3bb6c7(0x20e))/0xc);if(_0x11f520===_0x12ac7d)break;else _0x4b3c45['push'](_0x4b3c45['shift']());}catch(_0x2bb79a){_0x4b3c45['push'](_0x4b3c45['shift']());}}}(_0x3132,0x62dd7));Object[_0x8045a7(0x1fc)](exports,_0x8045a7(0x1fb),{'value':!![]}),exports[_0x8045a7(0x1ee)]=loadJsonFromNet,exports[_0x8045a7(0x221)]=loadJsonFromDisk,exports['loadImageFromNet']=loadImageFromNet,exports[_0x8045a7(0x1f5)]=loadImageFromDisk,exports['loadFileString']=loadFileString;function _0x31fa(_0x4f0355,_0x6fd017){const _0x3132a5=_0x3132();return _0x31fa=function(_0x31fa26,_0x2d868a){_0x31fa26=_0x31fa26-0x1ed;let _0x153ec6=_0x3132a5[_0x31fa26];return _0x153ec6;},_0x31fa(_0x4f0355,_0x6fd017);}const fs=require('fs'),FetchUtils_1_1=require('../utils/FetchUtils-1'),CustomError_1=require(_0x8045a7(0x1f9)),Jimp=require('jimp'),imageHelper_1=require('./imageHelper');async function loadJsonFromNet(_0x3a6a4a){const _0x94140=_0x8045a7,_0xda6f4=await FetchUtils_1_1[_0x94140(0x222)]['fetch'](_0x3a6a4a,{'encoding':_0x94140(0x207)});if(_0xda6f4[_0x94140(0x20f)]!==0xc8)throw new CustomError_1['CustomError']({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0x3a6a4a+'.'+(_0x94140(0x1ed)+_0xda6f4['status']+_0x94140(0x21d)),'message_staring_params':{'web_manifest_url':_0x3a6a4a,'status':_0xda6f4[_0x94140(0x20f)]}});try{let _0x44b404;return _0xda6f4[_0x94140(0x218)]?_0x44b404=await _0xda6f4[_0x94140(0x218)]():['gzip',_0x94140(0x209),'br'][_0x94140(0x208)](_0xda6f4[_0x94140(0x201)][_0x94140(0x203)])?_0x44b404=FetchUtils_1_1['fetchUtils'][_0x94140(0x21e)](Buffer[_0x94140(0x1f0)](_0xda6f4[_0x94140(0x213)],'binary'),_0xda6f4[_0x94140(0x201)]['content-encoding'])[_0x94140(0x206)]():_0x44b404=Buffer['from'](_0xda6f4[_0x94140(0x213)],_0x94140(0x207))[_0x94140(0x206)](),JSON[_0x94140(0x211)](_0x44b404[_0x94140(0x202)]());}catch(_0x2901f1){throw new CustomError_1[(_0x94140(0x20c))]({'code':0xbbd,'message':_0x94140(0x204),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x5504fc){const _0x17231e=_0x8045a7,_0x2c2425=await loadFileString(_0x5504fc[_0x17231e(0x206)]());return JSON[_0x17231e(0x211)](_0x2c2425);}async function loadImageFromNet(_0xf2256){const _0x3e0ad8=_0x8045a7,_0x2e2264=await FetchUtils_1_1['fetchUtils'][_0x3e0ad8(0x205)](_0xf2256,{'encoding':_0x3e0ad8(0x207)});if(_0x2e2264[_0x3e0ad8(0x20f)]!==0xc8)throw new CustomError_1[(_0x3e0ad8(0x20c))]({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0x2e2264[_0x3e0ad8(0x20f)],'message_staring_params':{'icon_url':_0xf2256,'status':_0x2e2264['status']}});const _0x21db6b=_0x2e2264['headers'][_0x3e0ad8(0x1fe)]?_0x2e2264[_0x3e0ad8(0x201)][_0x3e0ad8(0x1fe)]('content-type'):_0x2e2264[_0x3e0ad8(0x201)][_0x3e0ad8(0x1f8)];if(!(_0x21db6b===null||_0x21db6b===void 0x0?void 0x0:_0x21db6b[_0x3e0ad8(0x220)](_0x3e0ad8(0x1f6))))throw new CustomError_1['CustomError']({'code':0x7d3,'message':_0x3e0ad8(0x210)+(_0x3e0ad8(0x216)+_0x21db6b+'\x22'),'message_staring_params':{'icon_url':_0xf2256,'contentType':_0x21db6b}});let _0xf252ad;_0x2e2264[_0x3e0ad8(0x1ff)]?_0xf252ad=await _0x2e2264['arrayBuffer']():['gzip',_0x3e0ad8(0x209),'br']['includes'](_0x2e2264[_0x3e0ad8(0x201)][_0x3e0ad8(0x203)])?_0xf252ad=FetchUtils_1_1[_0x3e0ad8(0x222)][_0x3e0ad8(0x21e)](Buffer[_0x3e0ad8(0x1f0)](_0x2e2264['data'],_0x3e0ad8(0x207)),_0x2e2264['headers'][_0x3e0ad8(0x203)]):_0xf252ad=Buffer[_0x3e0ad8(0x1f0)](_0x2e2264[_0x3e0ad8(0x213)],_0x3e0ad8(0x207));if(_0x21db6b['startsWith'](_0x3e0ad8(0x219))){const _0xbac7d9=new TextDecoder();try{_0xf252ad=await imageHelper_1[_0x3e0ad8(0x217)][_0x3e0ad8(0x20d)](_0xbac7d9[_0x3e0ad8(0x1fd)](_0xf252ad));}catch(_0x56ab0e){throw new CustomError_1[(_0x3e0ad8(0x20c))]({'code':0x7d4,'message':_0x3e0ad8(0x1f3)+_0xf2256+':\x20'+_0x56ab0e,'message_staring_params':{'icon_url':_0xf2256,'error':_0x56ab0e}});}}return _0x21db6b[_0x3e0ad8(0x220)](_0x3e0ad8(0x1f4))&&(_0xf252ad=await imageHelper_1[_0x3e0ad8(0x217)][_0x3e0ad8(0x1f7)](_0xf252ad)),await Jimp[_0x3e0ad8(0x21f)](Buffer[_0x3e0ad8(0x1f0)](_0xf252ad));}async function loadImageFromDisk(_0x328f3d){return await Jimp['read'](_0x328f3d);}function _0x3132(){const _0x41a01e=['186957LkTXuV','__esModule','defineProperty','decode','get','arrayBuffer','170wrMhVD','headers','trim','content-encoding','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','fetch','toString','binary','includes','deflate','2320Mtrboa','74XQVjbn','CustomError','svg2img','30933156neBEJH','status','Received\x20icon\x20with\x20invalid\x20Content-Type.','parse','117084HJdOyv','data','promises','5887qYdveA','\x20Responded\x20with\x20Content-Type\x20\x22','ImageHelper','text','image/svg','11qCRmGC','readFile','20027aqdWku',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','decompressResponseBuffer','read','startsWith','loadJsonFromDisk','fetchUtils','The\x20response\x20status\x20is\x20','loadJsonFromNet','205GevQDC','from','2790108SUKcBp','525117riiblR','Problem\x20reading\x20','image/webp','loadImageFromDisk','image/','webp2PngBuffer','content-type','../utils/CustomError'];_0x3132=function(){return _0x41a01e;};return _0x3132();}async function loadFileString(_0x97e5d){const _0x497c00=_0x8045a7;let _0x1f081e=await fs[_0x497c00(0x214)][_0x497c00(0x21b)](_0x97e5d['toString']());return _0x1f081e[_0x497c00(0x206)]();}
1
+ 'use strict';const _0x5bfc8=_0x3457;function _0x2382(){const _0x3b89f7=['content-type','jimp','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','loadJsonFromNet','309754MPvVxA','./imageHelper','fetch','39262kcwiTk','parse','get','startsWith','deflate','promises','CustomError','from','5578515mPCagV','content-encoding','read','headers','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','../utils/FetchUtils-1','../utils/CustomError','webp2PngBuffer','1015626YaXVaD','text','trim','decompressResponseBuffer','readFile',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','326110Kgksme','Failed\x20to\x20download\x20Web\x20Manifest\x20','status','includes','binary','svg2img','toString','136THLGcw','data','image/svg','gzip','4VevnZM','loadImageFromDisk','decode','821256iJjgGa','fetchUtils','__esModule','80318iJnlVr','arrayBuffer','ImageHelper'];_0x2382=function(){return _0x3b89f7;};return _0x2382();}(function(_0x10c6aa,_0x476a7d){const _0x3134ac=_0x3457,_0x2f47df=_0x10c6aa();while(!![]){try{const _0x3f5490=parseInt(_0x3134ac(0xea))/0x1+parseInt(_0x3134ac(0xe7))/0x2+parseInt(_0x3134ac(0xdd))/0x3+parseInt(_0x3134ac(0xda))/0x4*(-parseInt(_0x3134ac(0x100))/0x5)+parseInt(_0x3134ac(0xfa))/0x6+parseInt(_0x3134ac(0xe0))/0x7*(parseInt(_0x3134ac(0xd6))/0x8)+-parseInt(_0x3134ac(0xf2))/0x9;if(_0x3f5490===_0x476a7d)break;else _0x2f47df['push'](_0x2f47df['shift']());}catch(_0x38eabc){_0x2f47df['push'](_0x2f47df['shift']());}}}(_0x2382,0x23edb));function _0x3457(_0x1a16b5,_0x4f2dd6){const _0x238227=_0x2382();return _0x3457=function(_0x345795,_0x3e688b){_0x345795=_0x345795-0xd1;let _0x5d6d54=_0x238227[_0x345795];return _0x5d6d54;},_0x3457(_0x1a16b5,_0x4f2dd6);}Object['defineProperty'](exports,_0x5bfc8(0xdf),{'value':!![]}),exports[_0x5bfc8(0xe6)]=loadJsonFromNet,exports['loadJsonFromDisk']=loadJsonFromDisk,exports['loadImageFromNet']=loadImageFromNet,exports[_0x5bfc8(0xdb)]=loadImageFromDisk,exports['loadFileString']=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x5bfc8(0xf7)),CustomError_1=require(_0x5bfc8(0xf8)),Jimp=require(_0x5bfc8(0xe4)),imageHelper_1=require(_0x5bfc8(0xe8));async function loadJsonFromNet(_0x533b14){const _0x1d0dc3=_0x5bfc8,_0x4c344f=await FetchUtils_1_1[_0x1d0dc3(0xde)][_0x1d0dc3(0xe9)](_0x533b14,{'encoding':_0x1d0dc3(0xd3)});if(_0x4c344f['status']!==0xc8)throw new CustomError_1['CustomError']({'code':0xbbc,'message':_0x1d0dc3(0x101)+_0x533b14+'.'+('The\x20response\x20status\x20is\x20'+_0x4c344f[_0x1d0dc3(0xd1)]+_0x1d0dc3(0xff)),'message_staring_params':{'web_manifest_url':_0x533b14,'status':_0x4c344f[_0x1d0dc3(0xd1)]}});try{let _0x2cd636;return _0x4c344f[_0x1d0dc3(0xfb)]?_0x2cd636=await _0x4c344f['text']():[_0x1d0dc3(0xd9),_0x1d0dc3(0xee),'br'][_0x1d0dc3(0xd2)](_0x4c344f[_0x1d0dc3(0xf5)][_0x1d0dc3(0xf3)])?_0x2cd636=FetchUtils_1_1['fetchUtils'][_0x1d0dc3(0xfd)](Buffer[_0x1d0dc3(0xf1)](_0x4c344f[_0x1d0dc3(0xd7)],_0x1d0dc3(0xd3)),_0x4c344f['headers']['content-encoding'])[_0x1d0dc3(0xd5)]():_0x2cd636=Buffer['from'](_0x4c344f[_0x1d0dc3(0xd7)],_0x1d0dc3(0xd3))[_0x1d0dc3(0xd5)](),JSON[_0x1d0dc3(0xeb)](_0x2cd636[_0x1d0dc3(0xfc)]());}catch(_0x50dc10){throw new CustomError_1['CustomError']({'code':0xbbd,'message':_0x1d0dc3(0xf6),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x312227){const _0x3beece=_0x5bfc8,_0x2ef349=await loadFileString(_0x312227[_0x3beece(0xd5)]());return JSON['parse'](_0x2ef349);}async function loadImageFromNet(_0x11fc92){const _0x297c4d=_0x5bfc8,_0x16d179=await FetchUtils_1_1['fetchUtils'][_0x297c4d(0xe9)](_0x11fc92,{'encoding':_0x297c4d(0xd3)});if(_0x16d179[_0x297c4d(0xd1)]!==0xc8)throw new CustomError_1[(_0x297c4d(0xf0))]({'code':0x7d2,'message':_0x297c4d(0xe5)+_0x16d179['status'],'message_staring_params':{'icon_url':_0x11fc92,'status':_0x16d179[_0x297c4d(0xd1)]}});const _0xfb5a86=_0x16d179[_0x297c4d(0xf5)][_0x297c4d(0xec)]?_0x16d179[_0x297c4d(0xf5)]['get'](_0x297c4d(0xe3)):_0x16d179['headers']['content-type'];if(!(_0xfb5a86===null||_0xfb5a86===void 0x0?void 0x0:_0xfb5a86['startsWith']('image/')))throw new CustomError_1[(_0x297c4d(0xf0))]({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+('\x20Responded\x20with\x20Content-Type\x20\x22'+_0xfb5a86+'\x22'),'message_staring_params':{'icon_url':_0x11fc92,'contentType':_0xfb5a86}});let _0x180444;_0x16d179[_0x297c4d(0xe1)]?_0x180444=await _0x16d179['arrayBuffer']():[_0x297c4d(0xd9),_0x297c4d(0xee),'br'][_0x297c4d(0xd2)](_0x16d179['headers'][_0x297c4d(0xf3)])?_0x180444=FetchUtils_1_1[_0x297c4d(0xde)][_0x297c4d(0xfd)](Buffer[_0x297c4d(0xf1)](_0x16d179['data'],_0x297c4d(0xd3)),_0x16d179[_0x297c4d(0xf5)][_0x297c4d(0xf3)]):_0x180444=Buffer[_0x297c4d(0xf1)](_0x16d179['data'],'binary');if(_0xfb5a86[_0x297c4d(0xed)](_0x297c4d(0xd8))){const _0x1b43ec=new TextDecoder();try{_0x180444=await imageHelper_1[_0x297c4d(0xe2)][_0x297c4d(0xd4)](_0x1b43ec[_0x297c4d(0xdc)](_0x180444));}catch(_0x333f78){throw new CustomError_1[(_0x297c4d(0xf0))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x11fc92+':\x20'+_0x333f78,'message_staring_params':{'icon_url':_0x11fc92,'error':_0x333f78}});}}return _0xfb5a86[_0x297c4d(0xed)]('image/webp')&&(_0x180444=await imageHelper_1[_0x297c4d(0xe2)][_0x297c4d(0xf9)](_0x180444)),await Jimp[_0x297c4d(0xf4)](Buffer[_0x297c4d(0xf1)](_0x180444));}async function loadImageFromDisk(_0x34d856){return await Jimp['read'](_0x34d856);}async function loadFileString(_0x2fdfa4){const _0x4f0a91=_0x5bfc8;let _0x962fb6=await fs[_0x4f0a91(0xef)][_0x4f0a91(0xfe)](_0x2fdfa4[_0x4f0a91(0xd5)]());return _0x962fb6['toString']();}
@@ -1 +1 @@
1
- 'use strict';var _0x944307=_0x5116;(function(_0x562ec0,_0x4f8d74){var _0x3910f5=_0x5116,_0x5e97ec=_0x562ec0();while(!![]){try{var _0x43b57f=parseInt(_0x3910f5(0xc0))/0x1*(parseInt(_0x3910f5(0xcb))/0x2)+-parseInt(_0x3910f5(0xc8))/0x3+parseInt(_0x3910f5(0xc3))/0x4*(parseInt(_0x3910f5(0xc2))/0x5)+parseInt(_0x3910f5(0xbd))/0x6+parseInt(_0x3910f5(0xc6))/0x7*(-parseInt(_0x3910f5(0xc1))/0x8)+-parseInt(_0x3910f5(0xc5))/0x9+parseInt(_0x3910f5(0xbc))/0xa;if(_0x43b57f===_0x4f8d74)break;else _0x5e97ec['push'](_0x5e97ec['shift']());}catch(_0xf662c9){_0x5e97ec['push'](_0x5e97ec['shift']());}}}(_0x158f,0x437c6));function _0x158f(){var _0x1d411e=['info','1151538yVtUBh','CustomError','customMessage','493286nYokML','6510280kslrjb','31242bsKzqB','type','stringify','1xPvtyl','15120kLghOo','59015vhQrUH','84KYmpfH','defineProperty','2219967AiMrKp','903iOAjFU'];_0x158f=function(){return _0x1d411e;};return _0x158f();}function _0x5116(_0x1da503,_0x6ccd70){var _0x158fac=_0x158f();return _0x5116=function(_0x5116da,_0x16c364){_0x5116da=_0x5116da-0xbc;var _0xf8ad55=_0x158fac[_0x5116da];return _0xf8ad55;},_0x5116(_0x1da503,_0x6ccd70);}Object[_0x944307(0xc4)](exports,'__esModule',{'value':!![]}),exports[_0x944307(0xc9)]=void 0x0;class CustomError extends Error{constructor(_0x11fac5,_0x10f8bd){var _0x4d3bc8=_0x944307;super(JSON[_0x4d3bc8(0xbf)](_0x11fac5)),this[_0x4d3bc8(0xca)]=_0x11fac5,this[_0x4d3bc8(0xbe)]=_0x10f8bd||_0x4d3bc8(0xc7);}}exports[_0x944307(0xc9)]=CustomError;
1
+ 'use strict';function _0x4ce3(_0x2486fe,_0x309880){var _0x359a0a=_0x359a();return _0x4ce3=function(_0x4ce383,_0x5cffdc){_0x4ce383=_0x4ce383-0x157;var _0x34775d=_0x359a0a[_0x4ce383];return _0x34775d;},_0x4ce3(_0x2486fe,_0x309880);}var _0x49bb07=_0x4ce3;(function(_0x66818d,_0x23a054){var _0x5188da=_0x4ce3,_0x392617=_0x66818d();while(!![]){try{var _0x58ee8f=-parseInt(_0x5188da(0x161))/0x1+parseInt(_0x5188da(0x15a))/0x2+parseInt(_0x5188da(0x15c))/0x3+parseInt(_0x5188da(0x15f))/0x4*(parseInt(_0x5188da(0x159))/0x5)+parseInt(_0x5188da(0x158))/0x6*(-parseInt(_0x5188da(0x157))/0x7)+-parseInt(_0x5188da(0x162))/0x8+parseInt(_0x5188da(0x160))/0x9;if(_0x58ee8f===_0x23a054)break;else _0x392617['push'](_0x392617['shift']());}catch(_0x47c5a9){_0x392617['push'](_0x392617['shift']());}}}(_0x359a,0xc4bb2));Object['defineProperty'](exports,_0x49bb07(0x164),{'value':!![]}),exports[_0x49bb07(0x15e)]=void 0x0;class CustomError extends Error{constructor(_0x58534d,_0x2e0436){var _0x569dc6=_0x49bb07;super(JSON[_0x569dc6(0x163)](_0x58534d)),this['customMessage']=_0x58534d,this[_0x569dc6(0x15b)]=_0x2e0436||_0x569dc6(0x15d);}}exports[_0x49bb07(0x15e)]=CustomError;function _0x359a(){var _0x2fbf65=['124uATDwQ','24234822axVGCU','469117qnngfw','11442296NqaWlf','stringify','__esModule','119zWASRC','496794xIytJm','31295SXaylw','1650914rvgbkS','type','1201659kwVfFW','info','CustomError'];_0x359a=function(){return _0x2fbf65;};return _0x359a();}
@@ -1 +1 @@
1
- 'use strict';const _0x51d153=_0x2e30;(function(_0x1a6caa,_0x1441e3){const _0x1ce6a0=_0x2e30,_0x3a8c41=_0x1a6caa();while(!![]){try{const _0x24b93f=-parseInt(_0x1ce6a0(0x115))/0x1*(parseInt(_0x1ce6a0(0x11e))/0x2)+-parseInt(_0x1ce6a0(0x119))/0x3*(parseInt(_0x1ce6a0(0x112))/0x4)+parseInt(_0x1ce6a0(0x113))/0x5+-parseInt(_0x1ce6a0(0x11f))/0x6+-parseInt(_0x1ce6a0(0x111))/0x7+parseInt(_0x1ce6a0(0x120))/0x8+parseInt(_0x1ce6a0(0x116))/0x9*(parseInt(_0x1ce6a0(0x114))/0xa);if(_0x24b93f===_0x1441e3)break;else _0x3a8c41['push'](_0x3a8c41['shift']());}catch(_0x51c7e1){_0x3a8c41['push'](_0x3a8c41['shift']());}}}(_0x11bc,0xe70f4));function _0x2e30(_0x3966a9,_0x6227b7){const _0x11bc6b=_0x11bc();return _0x2e30=function(_0x2e3053,_0x218050){_0x2e3053=_0x2e3053-0x111;let _0x570cf5=_0x11bc6b[_0x2e3053];return _0x570cf5;},_0x2e30(_0x3966a9,_0x6227b7);}function _0x11bc(){const _0x35d118=['downloadFile','setFetchEngine','decompressResponseBuffer','252866lPHgdv','10736058KNiheM','4256552eRcpFt','fetch','setDecompressResponseBuffer','9786826NlRNpx','4zFPZqQ','4179005qfvzPj','10GvTGYt','13oZluEM','47323161uJNomV','fetchUtils','fetchEngine','2545467MFQGhR','setFetch'];_0x11bc=function(){return _0x35d118;};return _0x11bc();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x51d153(0x117)]=void 0x0;class FetchUtils{constructor(){const _0x4ab353=_0x51d153;this['fetchEngine']=null,this[_0x4ab353(0x121)]=null,this[_0x4ab353(0x11b)]=null,this[_0x4ab353(0x11d)]=null;}[_0x51d153(0x11c)](_0x54b3e1){const _0x4eb84f=_0x51d153;this[_0x4eb84f(0x118)]=_0x54b3e1;}[_0x51d153(0x11a)](_0x169473){const _0x4af908=_0x51d153;this[_0x4af908(0x121)]=_0x169473;}['setDownloadFile'](_0x1609c5){const _0x5e2109=_0x51d153;this[_0x5e2109(0x11b)]=_0x1609c5;}[_0x51d153(0x122)](_0x440368){const _0x31211c=_0x51d153;this[_0x31211c(0x11d)]=_0x440368;}}const fetchUtils=new FetchUtils();exports[_0x51d153(0x117)]=fetchUtils;
1
+ 'use strict';const _0x5562b9=_0x1fb9;(function(_0x5c41b1,_0x4f9d18){const _0x94fa12=_0x1fb9,_0x181375=_0x5c41b1();while(!![]){try{const _0x25b6f2=parseInt(_0x94fa12(0xba))/0x1+-parseInt(_0x94fa12(0xb2))/0x2*(parseInt(_0x94fa12(0xb1))/0x3)+-parseInt(_0x94fa12(0xbb))/0x4+-parseInt(_0x94fa12(0xbe))/0x5+parseInt(_0x94fa12(0xb6))/0x6+-parseInt(_0x94fa12(0xbd))/0x7*(parseInt(_0x94fa12(0xc0))/0x8)+-parseInt(_0x94fa12(0xb9))/0x9*(-parseInt(_0x94fa12(0xb0))/0xa);if(_0x25b6f2===_0x4f9d18)break;else _0x181375['push'](_0x181375['shift']());}catch(_0x19f976){_0x181375['push'](_0x181375['shift']());}}}(_0x5bf1,0x888ea));Object[_0x5562b9(0xbf)](exports,_0x5562b9(0xb5),{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0x467c07=_0x5562b9;this['fetchEngine']=null,this[_0x467c07(0xbc)]=null,this[_0x467c07(0xc1)]=null,this[_0x467c07(0xb3)]=null;}['setFetchEngine'](_0xda417a){this['fetchEngine']=_0xda417a;}[_0x5562b9(0xb8)](_0x5540db){const _0x2d89cf=_0x5562b9;this[_0x2d89cf(0xbc)]=_0x5540db;}[_0x5562b9(0xb7)](_0x238afa){const _0x4f14c1=_0x5562b9;this[_0x4f14c1(0xc1)]=_0x238afa;}[_0x5562b9(0xb4)](_0x645d51){const _0x2ea5a8=_0x5562b9;this[_0x2ea5a8(0xb3)]=_0x645d51;}}const fetchUtils=new FetchUtils();exports['fetchUtils']=fetchUtils;function _0x1fb9(_0x799da9,_0x97b081){const _0x5bf150=_0x5bf1();return _0x1fb9=function(_0x1fb931,_0x44f7c4){_0x1fb931=_0x1fb931-0xb0;let _0x54970b=_0x5bf150[_0x1fb931];return _0x54970b;},_0x1fb9(_0x799da9,_0x97b081);}function _0x5bf1(){const _0x59047f=['2293746BbmrQo','setDownloadFile','setFetch','4014KMFlRl','539536MYTSwg','4199244NiWEDK','fetch','7ysnAhb','591830HKQSMy','defineProperty','5939112yelnRY','downloadFile','50690lLKVSC','3jdsWRW','1425394wsnUth','decompressResponseBuffer','setDecompressResponseBuffer','__esModule'];_0x5bf1=function(){return _0x59047f;};return _0x5bf1();}
@@ -1 +1 @@
1
- 'use strict';var _0x319b06=_0xfe0a;(function(_0x7a00c5,_0x5b3456){var _0x31f717=_0xfe0a,_0x14fa2e=_0x7a00c5();while(!![]){try{var _0x5a8945=-parseInt(_0x31f717(0x169))/0x1*(parseInt(_0x31f717(0x15d))/0x2)+parseInt(_0x31f717(0x14f))/0x3+-parseInt(_0x31f717(0x154))/0x4+parseInt(_0x31f717(0x14e))/0x5+-parseInt(_0x31f717(0x16c))/0x6*(-parseInt(_0x31f717(0x165))/0x7)+-parseInt(_0x31f717(0x159))/0x8+parseInt(_0x31f717(0x160))/0x9;if(_0x5a8945===_0x5b3456)break;else _0x14fa2e['push'](_0x14fa2e['shift']());}catch(_0x462032){_0x14fa2e['push'](_0x14fa2e['shift']());}}}(_0x59fb,0x6697b));function _0xfe0a(_0x6e0076,_0x1ed830){var _0x59fbcb=_0x59fb();return _0xfe0a=function(_0xfe0af,_0x512c7e){_0xfe0af=_0xfe0af-0x14d;var _0x5c3145=_0x59fbcb[_0xfe0af];return _0x5c3145;},_0xfe0a(_0x6e0076,_0x1ed830);}Object[_0x319b06(0x153)](exports,_0x319b06(0x157),{'value':!![]}),exports[_0x319b06(0x15b)]=void 0x0;class ConsoleLog{constructor(_0x250a4b='',_0xf6af48=![],_0x54b9d2=console){var _0x30750d=_0x319b06;this[_0x30750d(0x166)]=_0x250a4b,this[_0x30750d(0x156)]=_0xf6af48,this[_0x30750d(0x158)]=this['inverse'](_0x250a4b),this[_0x30750d(0x15e)]=_0x54b9d2;}[_0x319b06(0x151)](_0x157b17,..._0x1d382b){var _0x29bf31=_0x319b06;if(!this['verbose'])return;this[_0x29bf31(0x167)](this['output'][_0x29bf31(0x167)],this[_0x29bf31(0x15f)](_0x157b17),..._0x1d382b);}['info'](_0x23bf4c,..._0x519036){var _0x3380a1=_0x319b06;this[_0x3380a1(0x167)](this[_0x3380a1(0x15e)][_0x3380a1(0x167)],_0x23bf4c,..._0x519036);}['warn'](_0x3c90f5,..._0x2108fa){var _0x3a89db=_0x319b06;this[_0x3a89db(0x167)](this[_0x3a89db(0x15e)][_0x3a89db(0x164)],this['yellow']('WARNING\x20'+_0x3c90f5),..._0x2108fa);}[_0x319b06(0x155)](_0x369906,..._0x6cbf6a){var _0x43901a=_0x319b06;this[_0x43901a(0x15e)][_0x43901a(0x155)]('\x0a'),this[_0x43901a(0x167)](this[_0x43901a(0x15e)][_0x43901a(0x155)],this[_0x43901a(0x162)](_0x43901a(0x14d)+_0x369906),..._0x6cbf6a),this[_0x43901a(0x15e)][_0x43901a(0x155)]('\x0a');}[_0x319b06(0x150)](_0xa6372c){var _0x101685=_0x319b06;this[_0x101685(0x156)]=_0xa6372c;}[_0x319b06(0x161)](_0x4e06de){var _0x5e5df9=_0x319b06;return this[_0x5e5df9(0x166)]&&(_0x4e06de=this['tag']+'\x20'+_0x4e06de),new ConsoleLog(_0x4e06de,this['verbose'],this[_0x5e5df9(0x15e)]);}['log'](_0x36fa23,_0x407017,..._0x3c6d26){var _0x27fefc=_0x319b06;this['prefix']&&(_0x407017=this[_0x27fefc(0x158)]+'\x20'+_0x407017),_0x3c6d26?_0x36fa23(...[_0x407017][_0x27fefc(0x168)](_0x3c6d26)):_0x36fa23(_0x407017);}[_0x319b06(0x152)](_0x878c73){var _0x3ce131=_0x319b06;return _0x3ce131(0x15a)+_0x878c73+_0x3ce131(0x16b);}[_0x319b06(0x15f)](_0x4b2c9e){var _0x1df7d4=_0x319b06;return _0x1df7d4(0x15c)+_0x4b2c9e+'\x1b[0m';}['yellow'](_0x14a43f){var _0x106d43=_0x319b06;return _0x106d43(0x16a)+_0x14a43f+_0x106d43(0x16b);}[_0x319b06(0x162)](_0x15d408){var _0x56e321=_0x319b06;return _0x56e321(0x163)+_0x15d408+_0x56e321(0x16b);}}exports['ConsoleLog']=ConsoleLog;function _0x59fb(){var _0x2a26ff=['42297Rfsldc','\x1b[33m','\x1b[0m','4166880vkKChm','ERROR\x20','2654835lYZcXp','40533DVTSop','setVerbose','debug','inverse','defineProperty','3172904DDmBdq','error','verbose','__esModule','prefix','2385632umlRlE','\x1b[7m','ConsoleLog','\x1b[36m','20BdGcKD','output','dim','6260949NeTHqE','newLog','red','\x1b[31m','warn','7CfPvsR','tag','log','concat'];_0x59fb=function(){return _0x2a26ff;};return _0x59fb();}
1
+ 'use strict';function _0x4fef(_0x3e0589,_0x5b3ae1){var _0x23c548=_0x23c5();return _0x4fef=function(_0x4fefd2,_0x1d9174){_0x4fefd2=_0x4fefd2-0x1f3;var _0x5442c6=_0x23c548[_0x4fefd2];return _0x5442c6;},_0x4fef(_0x3e0589,_0x5b3ae1);}function _0x23c5(){var _0x129ae5=['__esModule','6305840vVlZfQ','red','warn','363918KPCUyk','tag','\x1b[36m','concat','prefix','\x1b[31m','newLog','3123452kfBZUb','yellow','2GLAfgx','WARNING\x20','dim','6177906MxlIuq','setVerbose','ConsoleLog','\x1b[33m','615862JdwHzb','defineProperty','verbose','1015917mcAmsf','error','log','40uuosYu','output','\x1b[0m','2549463Wjyeko','inverse','debug'];_0x23c5=function(){return _0x129ae5;};return _0x23c5();}var _0x3ba9de=_0x4fef;(function(_0x2766f9,_0x4651cb){var _0x43f08f=_0x4fef,_0x4247aa=_0x2766f9();while(!![]){try{var _0x1b8feb=-parseInt(_0x43f08f(0x202))/0x1*(parseInt(_0x43f08f(0x1fb))/0x2)+parseInt(_0x43f08f(0x205))/0x3+parseInt(_0x43f08f(0x1f9))/0x4+-parseInt(_0x43f08f(0x208))/0x5*(-parseInt(_0x43f08f(0x212))/0x6)+-parseInt(_0x43f08f(0x20b))/0x7+-parseInt(_0x43f08f(0x20f))/0x8+parseInt(_0x43f08f(0x1fe))/0x9;if(_0x1b8feb===_0x4651cb)break;else _0x4247aa['push'](_0x4247aa['shift']());}catch(_0x30e051){_0x4247aa['push'](_0x4247aa['shift']());}}}(_0x23c5,0x7fa6b));Object[_0x3ba9de(0x203)](exports,_0x3ba9de(0x20e),{'value':!![]}),exports[_0x3ba9de(0x200)]=void 0x0;class ConsoleLog{constructor(_0x273647='',_0x16ada1=![],_0xc0b603=console){var _0x5b45b8=_0x3ba9de;this['tag']=_0x273647,this[_0x5b45b8(0x204)]=_0x16ada1,this[_0x5b45b8(0x1f6)]=this[_0x5b45b8(0x20c)](_0x273647),this[_0x5b45b8(0x209)]=_0xc0b603;}[_0x3ba9de(0x20d)](_0x158a56,..._0x1dfc4b){var _0x4978c0=_0x3ba9de;if(!this['verbose'])return;this[_0x4978c0(0x207)](this['output']['log'],this['dim'](_0x158a56),..._0x1dfc4b);}['info'](_0x27feb6,..._0x37ba64){var _0x1c095f=_0x3ba9de;this['log'](this[_0x1c095f(0x209)][_0x1c095f(0x207)],_0x27feb6,..._0x37ba64);}['warn'](_0x560ff8,..._0x52b824){var _0x153ec1=_0x3ba9de;this[_0x153ec1(0x207)](this[_0x153ec1(0x209)][_0x153ec1(0x211)],this['yellow'](_0x153ec1(0x1fc)+_0x560ff8),..._0x52b824);}[_0x3ba9de(0x206)](_0xd87e2d,..._0x40ee56){var _0x47d87f=_0x3ba9de;this[_0x47d87f(0x209)][_0x47d87f(0x206)]('\x0a'),this[_0x47d87f(0x207)](this[_0x47d87f(0x209)]['error'],this[_0x47d87f(0x210)]('ERROR\x20'+_0xd87e2d),..._0x40ee56),this[_0x47d87f(0x209)][_0x47d87f(0x206)]('\x0a');}[_0x3ba9de(0x1ff)](_0x2c283b){var _0x96af44=_0x3ba9de;this[_0x96af44(0x204)]=_0x2c283b;}[_0x3ba9de(0x1f8)](_0x4c39aa){var _0x411382=_0x3ba9de;return this['tag']&&(_0x4c39aa=this[_0x411382(0x1f3)]+'\x20'+_0x4c39aa),new ConsoleLog(_0x4c39aa,this[_0x411382(0x204)],this[_0x411382(0x209)]);}[_0x3ba9de(0x207)](_0x2a85f3,_0x40c232,..._0xf689c7){var _0x5344c3=_0x3ba9de;this['prefix']&&(_0x40c232=this[_0x5344c3(0x1f6)]+'\x20'+_0x40c232),_0xf689c7?_0x2a85f3(...[_0x40c232][_0x5344c3(0x1f5)](_0xf689c7)):_0x2a85f3(_0x40c232);}[_0x3ba9de(0x20c)](_0x2398d5){return'\x1b[7m'+_0x2398d5+'\x1b[0m';}[_0x3ba9de(0x1fd)](_0x4244e3){var _0x5774d0=_0x3ba9de;return _0x5774d0(0x1f4)+_0x4244e3+_0x5774d0(0x20a);}[_0x3ba9de(0x1fa)](_0x50aeac){var _0x169722=_0x3ba9de;return _0x169722(0x201)+_0x50aeac+'\x1b[0m';}[_0x3ba9de(0x210)](_0x8ed35b){var _0x4711c6=_0x3ba9de;return _0x4711c6(0x1f7)+_0x8ed35b+'\x1b[0m';}}exports[_0x3ba9de(0x200)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x548166=_0x4530;function _0x271e(){const _0x2e0700=['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','2936OFRZKf','unzipSync','1851EFuBpM','__esModule','decompressResponseBuffer','createWriteStream','brotliDecompressSync','fetch-h2','error','headers','43317990umPAgp','test','fetch','Z_SYNC_FLUSH','readable','3069837aTCrLX','493160ZTOSdM','data','224HoBSRR','5585085AUXFJo','constants','length','follow','downloadFile','4801424zriTel','zlib','finish','1AfttcL','237564SUQnZX'];_0x271e=function(){return _0x2e0700;};return _0x271e();}(function(_0x2a38a0,_0x21a416){const _0x504c6f=_0x4530,_0x2c8a29=_0x2a38a0();while(!![]){try{const _0x4dcff9=parseInt(_0x504c6f(0x76))/0x1*(parseInt(_0x504c6f(0x89))/0x2)+-parseInt(_0x504c6f(0x7b))/0x3*(parseInt(_0x504c6f(0x79))/0x4)+-parseInt(_0x504c6f(0x8c))/0x5+parseInt(_0x504c6f(0x77))/0x6*(-parseInt(_0x504c6f(0x8b))/0x7)+-parseInt(_0x504c6f(0x73))/0x8+-parseInt(_0x504c6f(0x88))/0x9+parseInt(_0x504c6f(0x83))/0xa;if(_0x4dcff9===_0x21a416)break;else _0x2c8a29['push'](_0x2c8a29['shift']());}catch(_0x743e74){_0x2c8a29['push'](_0x2c8a29['shift']());}}}(_0x271e,0xc35cd));Object['defineProperty'](exports,_0x548166(0x7c),{'value':!![]}),exports[_0x548166(0x85)]=fetch,exports[_0x548166(0x72)]=downloadFile,exports[_0x548166(0x7d)]=decompressResponseBuffer;const fetch_h2_1=require(_0x548166(0x80)),fs=require('fs'),zlib=require(_0x548166(0x74)),userAgent=_0x548166(0x78),fetchh2Ctx=(0x0,fetch_h2_1['context'])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx['fetch'];async function fetch(_0x3df549,_0x179108){const _0x3a3490=_0x548166;return await fetchh2(_0x3df549,_0x179108?{'redirect':'follow',..._0x179108}:{'redirect':_0x3a3490(0x71)});}function _0x4530(_0x1c10a0,_0x45acf0){const _0x271e05=_0x271e();return _0x4530=function(_0x453008,_0x250d88){_0x453008=_0x453008-0x6f;let _0x365d30=_0x271e05[_0x453008];return _0x365d30;},_0x4530(_0x1c10a0,_0x45acf0);}async function downloadFile(_0xd0f8f6,_0x3a0a7f,_0x5ae98e){const _0x23bb44=_0x548166;let _0x319d84,_0x525eb6;_0x319d84=await fetchh2(_0xd0f8f6,{'redirect':_0x23bb44(0x71)}),_0x525eb6=await _0x319d84[_0x23bb44(0x87)]();const _0x36f29f=_0x319d84[_0x23bb44(0x82)]['get']('Content-Length'),_0x4f6d7c=_0x36f29f?parseInt(_0x36f29f):-0x1,_0x230555=fs[_0x23bb44(0x7e)](_0x3a0a7f);let _0x4283c3=0x0;await new Promise((_0x1959f6,_0x41b0a4)=>{const _0x32c6f6=_0x23bb44;_0x525eb6['pipe'](_0x230555),_0x5ae98e&&_0x525eb6['on'](_0x32c6f6(0x8a),_0x4ebc9f=>{const _0x2ca706=_0x32c6f6;_0x4283c3=_0x4283c3+_0x4ebc9f[_0x2ca706(0x70)],_0x5ae98e(_0x4283c3,_0x4f6d7c);}),_0x525eb6['on'](_0x32c6f6(0x81),_0x335487=>{_0x41b0a4(_0x335487);}),_0x230555['on'](_0x32c6f6(0x75),()=>{_0x1959f6();});});}function decompressResponseBuffer(_0x328892,_0x560c53){const _0x3723ca=_0x548166;let _0x45d628=_0x328892;if(/\bgzip\b/[_0x3723ca(0x84)](_0x560c53)||/\bdeflate\b/[_0x3723ca(0x84)](_0x560c53))_0x45d628=zlib[_0x3723ca(0x7a)](_0x328892,{'flush':zlib['constants'][_0x3723ca(0x86)],'finishFlush':zlib[_0x3723ca(0x6f)]['Z_SYNC_FLUSH']});else/\bbr\b/[_0x3723ca(0x84)](_0x560c53)&&(_0x45d628=zlib[_0x3723ca(0x7f)](_0x328892));return _0x45d628;}
1
+ 'use strict';const _0x277b2d=_0x41d2;(function(_0x5d78dd,_0x3a010f){const _0x590922=_0x41d2,_0x533ef9=_0x5d78dd();while(!![]){try{const _0xeca6b2=-parseInt(_0x590922(0x1f9))/0x1+parseInt(_0x590922(0x1e0))/0x2+parseInt(_0x590922(0x1ef))/0x3+-parseInt(_0x590922(0x1e1))/0x4*(parseInt(_0x590922(0x1f0))/0x5)+-parseInt(_0x590922(0x1fc))/0x6*(-parseInt(_0x590922(0x1e7))/0x7)+-parseInt(_0x590922(0x1e9))/0x8*(-parseInt(_0x590922(0x1e8))/0x9)+-parseInt(_0x590922(0x1dd))/0xa*(parseInt(_0x590922(0x1fb))/0xb);if(_0xeca6b2===_0x3a010f)break;else _0x533ef9['push'](_0x533ef9['shift']());}catch(_0x5e440b){_0x533ef9['push'](_0x533ef9['shift']());}}}(_0x1545,0x6d274));function _0x41d2(_0x42fd5d,_0x1880de){const _0x1545b4=_0x1545();return _0x41d2=function(_0x41d24a,_0x2f4133){_0x41d24a=_0x41d24a-0x1dd;let _0x827aa7=_0x1545b4[_0x41d24a];return _0x827aa7;},_0x41d2(_0x42fd5d,_0x1880de);}Object['defineProperty'](exports,_0x277b2d(0x1ed),{'value':!![]}),exports[_0x277b2d(0x1e4)]=fetch,exports[_0x277b2d(0x1e5)]=downloadFile,exports[_0x277b2d(0x1e2)]=decompressResponseBuffer;function _0x1545(){const _0x21ab09=['fetch-h2','zlib','unzipSync','length','context','follow','brotliDecompressSync','10089JJXLkq','get','475222vhudQi','6shqPYE','170jPTocC','pipe','finish','1535722opvKvp','604QIWxVr','decompressResponseBuffer','Z_SYNC_FLUSH','fetch','downloadFile','constants','1178086hBEUHK','10674YgJhkq','1576wnbbSY','Content-Length','data','error','__esModule','headers','358533giMZoK','3235FTsWMR','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'];_0x1545=function(){return _0x21ab09;};return _0x1545();}const fetch_h2_1=require(_0x277b2d(0x1f2)),fs=require('fs'),zlib=require(_0x277b2d(0x1f3)),userAgent=_0x277b2d(0x1f1),fetchh2Ctx=(0x0,fetch_h2_1[_0x277b2d(0x1f6)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x277b2d(0x1e4)];async function fetch(_0xdffea9,_0x68ce6b){const _0x4a49a8=_0x277b2d;return await fetchh2(_0xdffea9,_0x68ce6b?{'redirect':_0x4a49a8(0x1f7),..._0x68ce6b}:{'redirect':'follow'});}async function downloadFile(_0x390307,_0x180477,_0x1536d7){const _0x2a2a95=_0x277b2d;let _0x504c0e,_0x54df66;_0x504c0e=await fetchh2(_0x390307,{'redirect':_0x2a2a95(0x1f7)}),_0x54df66=await _0x504c0e['readable']();const _0x2a4718=_0x504c0e[_0x2a2a95(0x1ee)][_0x2a2a95(0x1fa)](_0x2a2a95(0x1ea)),_0x216da5=_0x2a4718?parseInt(_0x2a4718):-0x1,_0x28fc50=fs['createWriteStream'](_0x180477);let _0x29fea4=0x0;await new Promise((_0x3cac5a,_0x4dc5be)=>{const _0x16916e=_0x2a2a95;_0x54df66[_0x16916e(0x1de)](_0x28fc50),_0x1536d7&&_0x54df66['on'](_0x16916e(0x1eb),_0x447fc9=>{const _0x195d27=_0x16916e;_0x29fea4=_0x29fea4+_0x447fc9[_0x195d27(0x1f5)],_0x1536d7(_0x29fea4,_0x216da5);}),_0x54df66['on'](_0x16916e(0x1ec),_0x2f4a86=>{_0x4dc5be(_0x2f4a86);}),_0x28fc50['on'](_0x16916e(0x1df),()=>{_0x3cac5a();});});}function decompressResponseBuffer(_0x56baef,_0x3f0f25){const _0x1ef5ef=_0x277b2d;let _0x1b8ecc=_0x56baef;if(/\bgzip\b/['test'](_0x3f0f25)||/\bdeflate\b/['test'](_0x3f0f25))_0x1b8ecc=zlib[_0x1ef5ef(0x1f4)](_0x56baef,{'flush':zlib[_0x1ef5ef(0x1e6)][_0x1ef5ef(0x1e3)],'finishFlush':zlib['constants'][_0x1ef5ef(0x1e3)]});else/\bbr\b/['test'](_0x3f0f25)&&(_0x1b8ecc=zlib[_0x1ef5ef(0x1f8)](_0x56baef));return _0x1b8ecc;}
@@ -1 +1 @@
1
- 'use strict';function _0x39c9(){const _0x1b8487=['1259646OTDHvk','\x0aBuilding\x20the\x20Android\x20App...','https://developer.android.com/studio/terms.html','--manifest-url','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','20306200BpHWsD','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Downloading\x20the\x20Android\x20SDK...','Generating\x20Android\x20Project.','\x0aSigning\x20key\x20creation','424WJqDkW','\x22.\x0a','underline','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','\x20but\x20input\x20is\x20','3869325cWTWLh','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Icon\x20URL:','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','5BGKKZP','Downloading\x20the\x20JDK\x2011\x20Sources...','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','green','messages','Invalid\x20icon\x20path:\x20','\x20and\x20alias\x20','defineProperty','\x20Check\x20out\x20the\x20Play\x20for','--manifest','785860dTREyd','\x20URL\x20','cyan','WARNING:\x20','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)','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','\x0aSigning\x20key\x20information\x20','--url','Downloading\x20JDK\x2011\x20to\x20','623068uHeqTX','license\x20agreement.','Invalid\x20integer\x20provided:\x20','bold','Downloading\x20Android\x20SDK\x20to\x20','Maximum\x20length\x20is\x20','\x0aProject\x20generated\x20successfully.','\x20can\x20not\x20be\x20accessible.','Path\x20to\x20your\x20existing\x20Android\x20SDK:','URL\x20','Invalid\x20URL:\x20','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','\x20or\x20','(5/5)','redirected\x20to\x20','https://play.google.com/console/about/families/','34965Omalau','155292KlbAhQ','Password\x20for\x20the\x20Key\x20Store:','Password\x20for\x20the\x20Key:','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','Decompressing\x20the\x20JDK\x2011\x20Sources...','Path\x20to\x20your\x20existing\x20JDK\x2011:','40rCFCmN','Organization\x20(eg:\x20Company\x20Name):'];_0x39c9=function(){return _0x1b8487;};return _0x39c9();}const _0x19f6f6=_0x14d7;(function(_0x44d3cb,_0x3c3bfe){const _0x263ebb=_0x14d7,_0x57d6ee=_0x44d3cb();while(!![]){try{const _0x472672=parseInt(_0x263ebb(0x8c))/0x1+parseInt(_0x263ebb(0x82))/0x2+-parseInt(_0x263ebb(0x9d))/0x3*(-parseInt(_0x263ebb(0xa3))/0x4)+parseInt(_0x263ebb(0x78))/0x5*(parseInt(_0x263ebb(0xa5))/0x6)+parseInt(_0x263ebb(0x9c))/0x7*(parseInt(_0x263ebb(0xaf))/0x8)+parseInt(_0x263ebb(0x73))/0x9+-parseInt(_0x263ebb(0xaa))/0xa;if(_0x472672===_0x3c3bfe)break;else _0x57d6ee['push'](_0x57d6ee['shift']());}catch(_0x58309c){_0x57d6ee['push'](_0x57d6ee['shift']());}}}(_0x39c9,0x63843));Object[_0x19f6f6(0x7f)](exports,'__esModule',{'value':!![]}),exports[_0x19f6f6(0x7c)]=void 0x0;const colors_1=require('colors');function _0x14d7(_0x3e001b,_0x33562e){const _0x39c95d=_0x39c9();return _0x14d7=function(_0x14d7bb,_0xc550cc){_0x14d7bb=_0x14d7bb-0x70;let _0x56d9e1=_0x39c95d[_0x14d7bb];return _0x56d9e1;},_0x14d7(_0x3e001b,_0x33562e);}exports[_0x19f6f6(0x7c)]={'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':_0x19f6f6(0xa2),'messageDownloadJdk':_0x19f6f6(0x8b),'messageDownloadJdkSrc':_0x19f6f6(0x79),'messageDecompressJdkSrc':_0x19f6f6(0xa1),'messageDownloadJdkBin':'Downloading\x20the\x20JDK\x2011\x20Binaries...','messageDecompressJdkBin':'Decompressing\x20the\x20JDK\x2011\x20Binaries...','promptInstallSdk':_0x19f6f6(0x86),'promptSdkPath':_0x19f6f6(0x94),'messageDownloadSdk':_0x19f6f6(0x90),'errorSdkTerms':_0x19f6f6(0x70),'promptSdkTerms':_0x19f6f6(0xab)+(0x0,colors_1[_0x19f6f6(0xb1)])(_0x19f6f6(0xa7))+'?','messageDownloadAndroidSdk':_0x19f6f6(0xac),'messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':_0x19f6f6(0x7a)+_0x19f6f6(0x8d),'messageGeneratingAndroidProject':_0x19f6f6(0xad),'messageCheckSuccess':(_0xe827b1,_0x5b39a1)=>{const _0x4e6fc9=_0x19f6f6;return _0x4e6fc9(0x83)+(0x0,colors_1['cyan'])(_0xe827b1)+'\x20'+(_0x5b39a1?_0x4e6fc9(0x9a)+(0x0,colors_1['cyan'])(_0x5b39a1):'')+_0x4e6fc9(0xa0);},'errorMissingManifestParameter':'Missing\x20required\x20parameter\x20'+((0x0,colors_1[_0x19f6f6(0x84)])(_0x19f6f6(0xa8))+_0x19f6f6(0x98)+(0x0,colors_1[_0x19f6f6(0x84)])(_0x19f6f6(0x81))),'messageInitializingWebManifest':_0x3684ce=>{const _0xe0afc7=_0x19f6f6;return _0xe0afc7(0x87)+(0x0,colors_1[_0xe0afc7(0x84)])(_0x3684ce);},'messageInitializingLocalManifest':_0x36b0da=>{const _0x4add88=_0x19f6f6;return _0x4add88(0x71)+(0x0,colors_1['cyan'])(_0x36b0da);},'messageInvalidIcon':_0x1846cd=>{const _0x3247d9=_0x19f6f6;return _0x3247d9(0x7d)+(0x0,colors_1['cyan'])(_0x1846cd);},'errorStartUrlNotReachable':_0x5a5d44=>_0x19f6f6(0x95)+_0x5a5d44+_0x19f6f6(0x93)+_0x19f6f6(0x88),'warnFamilyPolicy':(0x0,colors_1[_0x19f6f6(0x8f)])((0x0,colors_1['yellow'])(_0x19f6f6(0x85)))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+_0x19f6f6(0x80)+_0x19f6f6(0xa9)+(0x0,colors_1[_0x19f6f6(0x84)])(_0x19f6f6(0x9b)),'promptIconUrl':_0x19f6f6(0x75),'errorInvalidUrl':_0xa949b1=>{const _0x83fc68=_0x19f6f6;return _0x83fc68(0x96)+_0xa949b1;},'errorUrlMustBeImage':_0x4c690b=>{const _0x9b5e47=_0x19f6f6;return _0x9b5e47(0x77)+_0x4c690b+'.';},'promptVersionCode':_0x19f6f6(0x97),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0x19f6f6(0xb1)])(_0x19f6f6(0x89)+(0x0,colors_1[_0x19f6f6(0x7b)])(_0x19f6f6(0x99))),'messageProjectGeneratedSuccess':_0x19f6f6(0x92),'messageSigningKeyCreation':(0x0,colors_1['underline'])(_0x19f6f6(0xae)),'messageSigningKeyNotFound':_0x56f66d=>{const _0x4e2253=_0x19f6f6;return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0x56f66d+_0x4e2253(0xb0);},'promptCreateKey':_0x19f6f6(0x74),'promptKeyFullName':'First\x20and\x20Last\x20names\x20(eg:\x20PICO):','promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x19f6f6(0xa4),'promptKeyCountry':'Country\x20(2\x20letter\x20code):','promptKeystorePassword':_0x19f6f6(0x9e),'promptKeyPassword':_0x19f6f6(0x9f),'messageBuildingApp':_0x19f6f6(0xa6),'messageEnterPasswords':(_0x510d53,_0x182e40)=>{const _0x3d4c68=_0x19f6f6;return _0x3d4c68(0x76)+(0x0,colors_1[_0x3d4c68(0x84)])(_0x510d53)+_0x3d4c68(0x7e)+(0x0,colors_1[_0x3d4c68(0x84)])(_0x182e40)+'.\x0a';},'errorMinLength':(_0x2f27e7,_0x40df00)=>{const _0xf8bfb0=_0x19f6f6;return'Minimum\x20length\x20is\x20'+_0x2f27e7+_0xf8bfb0(0x72)+_0x40df00+'.';},'errorMaxLength':(_0x5b5a02,_0x2fed71)=>{const _0x47b9e6=_0x19f6f6;return _0x47b9e6(0x91)+_0x5b5a02+_0x47b9e6(0x72)+_0x2fed71+'.';},'errorInvalidInteger':_0x4a64c1=>{const _0x30c58d=_0x19f6f6;return _0x30c58d(0x8e)+_0x4a64c1;},'messageApkSuccess':_0x24e164=>{const _0x3079eb=_0x19f6f6;return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1[_0x3079eb(0x84)])(_0x24e164);},'missingUrlToCheck':'Missing\x20required\x20parameter\x20'+(''+(0x0,colors_1['cyan'])(_0x19f6f6(0x8a)))};
1
+ 'use strict';const _0x310d67=_0x3c24;(function(_0x5d8764,_0x5ac9c0){const _0x3e3a38=_0x3c24,_0x30cd4e=_0x5d8764();while(!![]){try{const _0x269bf=-parseInt(_0x3e3a38(0x99))/0x1*(parseInt(_0x3e3a38(0x9c))/0x2)+parseInt(_0x3e3a38(0xb8))/0x3*(-parseInt(_0x3e3a38(0x9d))/0x4)+parseInt(_0x3e3a38(0xca))/0x5+-parseInt(_0x3e3a38(0xbb))/0x6+-parseInt(_0x3e3a38(0xae))/0x7+parseInt(_0x3e3a38(0xa3))/0x8*(parseInt(_0x3e3a38(0xbf))/0x9)+parseInt(_0x3e3a38(0xba))/0xa*(parseInt(_0x3e3a38(0xb3))/0xb);if(_0x269bf===_0x5ac9c0)break;else _0x30cd4e['push'](_0x30cd4e['shift']());}catch(_0x5c38b0){_0x30cd4e['push'](_0x30cd4e['shift']());}}}(_0x543e,0xb4408));Object[_0x310d67(0xcc)](exports,'__esModule',{'value':!![]}),exports[_0x310d67(0xc4)]=void 0x0;function _0x3c24(_0x54e778,_0x5cc386){const _0x543ee2=_0x543e();return _0x3c24=function(_0x3c2467,_0x8d101a){_0x3c2467=_0x3c2467-0x93;let _0x27da5a=_0x543ee2[_0x3c2467];return _0x27da5a;},_0x3c24(_0x54e778,_0x5cc386);}function _0x543e(){const _0x4bb38f=['Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','\x20URL\x20','2247688SZhRrq','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','underline','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Decompressing\x20the\x20JDK\x2011\x20Sources...','Downloading\x20Android\x20SDK\x20to\x20','Organization\x20(eg:\x20Company\x20Name):','Generating\x20Android\x20Project.','Invalid\x20URL:\x20','redirected\x20to\x20','\x0aSigning\x20key\x20creation','1637937pzkHUX','Downloading\x20the\x20JDK\x2011\x20Binaries...','license\x20agreement.','\x20but\x20input\x20is\x20','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','3003ornEaz','\x0aSigning\x20key\x20information\x20','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Missing\x20required\x20parameter\x20','cyan','12hPQICn','https://play.google.com/console/about/families/','58550ytqjvT','5601570BWmLXG','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','Downloading\x20the\x20Android\x20SDK...','18Dzfdsh','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','bold','\x09-\x20Generated\x20Android\x20APK\x20at\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','messages','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)','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Path\x20to\x20your\x20existing\x20JDK\x2011:','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)','\x22.\x0a','4282225kbseID','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','defineProperty','Invalid\x20icon\x20path:\x20','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','(5/5)','URL\x20','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Decompressing\x20the\x20Android\x20SDK...','green','https://developer.android.com/studio/terms.html','Downloading\x20JDK\x2011\x20to\x20','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','155405kQQnFw','\x20Check\x20out\x20the\x20Play\x20for','--manifest-url','8jlaXGi','489264KJLFWi','Invalid\x20integer\x20provided:\x20','yellow','Icon\x20URL:'];_0x543e=function(){return _0x4bb38f;};return _0x543e();}const colors_1=require('colors');exports[_0x310d67(0xc4)]={'promptInstallJdk':_0x310d67(0xc5),'promptJdkPath':_0x310d67(0xc7),'messageDownloadJdk':_0x310d67(0x97),'messageDownloadJdkSrc':'Downloading\x20the\x20JDK\x2011\x20Sources...','messageDecompressJdkSrc':_0x310d67(0xa7),'messageDownloadJdkBin':_0x310d67(0xaf),'messageDecompressJdkBin':_0x310d67(0xa6),'promptInstallSdk':_0x310d67(0xc8),'promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0x310d67(0xa8),'errorSdkTerms':_0x310d67(0xc3),'promptSdkTerms':_0x310d67(0xb2)+(0x0,colors_1['underline'])(_0x310d67(0x96))+'?','messageDownloadAndroidSdk':_0x310d67(0xbe),'messageDecompressAndroidSdk':_0x310d67(0x94),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+_0x310d67(0xb0),'messageGeneratingAndroidProject':_0x310d67(0xaa),'messageCheckSuccess':(_0x437216,_0x5c208f)=>{const _0x461dec=_0x310d67;return _0x461dec(0xa2)+(0x0,colors_1[_0x461dec(0xb7)])(_0x437216)+'\x20'+(_0x5c208f?_0x461dec(0xac)+(0x0,colors_1[_0x461dec(0xb7)])(_0x5c208f):'')+_0x461dec(0xbd);},'errorMissingManifestParameter':_0x310d67(0xb6)+((0x0,colors_1[_0x310d67(0xb7)])(_0x310d67(0x9b))+'\x20or\x20'+(0x0,colors_1['cyan'])('--manifest')),'messageInitializingWebManifest':_0x8c4a26=>{const _0x670b59=_0x310d67;return _0x670b59(0x98)+(0x0,colors_1[_0x670b59(0xb7)])(_0x8c4a26);},'messageInitializingLocalManifest':_0x3855c7=>{const _0x3f6b58=_0x310d67;return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x3f6b58(0xb7)])(_0x3855c7);},'messageInvalidIcon':_0x526af8=>{const _0x2118e8=_0x310d67;return _0x2118e8(0xcd)+(0x0,colors_1[_0x2118e8(0xb7)])(_0x526af8);},'errorStartUrlNotReachable':_0xb0fe01=>_0x310d67(0xd1)+_0xb0fe01+'\x20can\x20not\x20be\x20accessible.'+_0x310d67(0xa4),'warnFamilyPolicy':(0x0,colors_1[_0x310d67(0xc1)])((0x0,colors_1[_0x310d67(0x9f)])('WARNING:\x20'))+_0x310d67(0xce)+_0x310d67(0xcf)+_0x310d67(0x9a)+_0x310d67(0xc0)+(0x0,colors_1['cyan'])(_0x310d67(0xb9)),'promptIconUrl':_0x310d67(0xa0),'errorInvalidUrl':_0x1696b9=>{const _0x26125c=_0x310d67;return _0x26125c(0xab)+_0x1696b9;},'errorUrlMustBeImage':_0x5d41e0=>{const _0x20a0a0=_0x310d67;return _0x20a0a0(0x93)+_0x5d41e0+'.';},'promptVersionCode':_0x310d67(0xcb),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0x310d67(0xa5)])(_0x310d67(0xb4)+(0x0,colors_1[_0x310d67(0x95)])(_0x310d67(0xd0))),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0x310d67(0xa5)])(_0x310d67(0xad)),'messageSigningKeyNotFound':_0x26db22=>{const _0x5db445=_0x310d67;return _0x5db445(0xc6)+_0x26db22+_0x5db445(0xc9);},'promptCreateKey':_0x310d67(0xb5),'promptKeyFullName':_0x310d67(0xbc),'promptKeyOrganizationalUnit':_0x310d67(0xd2),'promptKeyOrganization':_0x310d67(0xa9),'promptKeyCountry':'Country\x20(2\x20letter\x20code):','promptKeystorePassword':'Password\x20for\x20the\x20Key\x20Store:','promptKeyPassword':'Password\x20for\x20the\x20Key:','messageBuildingApp':'\x0aBuilding\x20the\x20Android\x20App...','messageEnterPasswords':(_0x228297,_0x4a3920)=>{const _0x1f211f=_0x310d67;return _0x1f211f(0xa1)+(0x0,colors_1[_0x1f211f(0xb7)])(_0x228297)+'\x20and\x20alias\x20'+(0x0,colors_1[_0x1f211f(0xb7)])(_0x4a3920)+'.\x0a';},'errorMinLength':(_0xbdab24,_0x4a705d)=>{const _0x24bbab=_0x310d67;return'Minimum\x20length\x20is\x20'+_0xbdab24+_0x24bbab(0xb1)+_0x4a705d+'.';},'errorMaxLength':(_0x2c66e1,_0x3ef35b)=>{const _0xf62a71=_0x310d67;return'Maximum\x20length\x20is\x20'+_0x2c66e1+_0xf62a71(0xb1)+_0x3ef35b+'.';},'errorInvalidInteger':_0x5cddf9=>{const _0x199801=_0x310d67;return _0x199801(0x9e)+_0x5cddf9;},'messageApkSuccess':_0x3ff39d=>{const _0x36c7aa=_0x310d67;return _0x36c7aa(0xc2)+(0x0,colors_1['cyan'])(_0x3ff39d);},'missingUrlToCheck':_0x310d67(0xb6)+(''+(0x0,colors_1[_0x310d67(0xb7)])('--url'))};
@@ -1 +1 @@
1
- 'use strict';function _0x333a(_0x397936,_0x3bdcd2){const _0x508bf8=_0x508b();return _0x333a=function(_0x333af5,_0x3c3a5a){_0x333af5=_0x333af5-0x6c;let _0x878927=_0x508bf8[_0x333af5];return _0x878927;},_0x333a(_0x397936,_0x3bdcd2);}const _0x903c12=_0x333a;(function(_0x944e47,_0x20ab2c){const _0x2933e=_0x333a,_0x5e8c3d=_0x944e47();while(!![]){try{const _0xe8c922=parseInt(_0x2933e(0x71))/0x1*(-parseInt(_0x2933e(0x7d))/0x2)+-parseInt(_0x2933e(0x76))/0x3*(parseInt(_0x2933e(0x77))/0x4)+parseInt(_0x2933e(0x74))/0x5*(parseInt(_0x2933e(0x6c))/0x6)+parseInt(_0x2933e(0x7a))/0x7*(-parseInt(_0x2933e(0x7c))/0x8)+-parseInt(_0x2933e(0x7e))/0x9+-parseInt(_0x2933e(0x7b))/0xa+parseInt(_0x2933e(0x78))/0xb*(parseInt(_0x2933e(0x6e))/0xc);if(_0xe8c922===_0x20ab2c)break;else _0x5e8c3d['push'](_0x5e8c3d['shift']());}catch(_0x35bb7e){_0x5e8c3d['push'](_0x5e8c3d['shift']());}}}(_0x508b,0xc9601));Object[_0x903c12(0x6f)](exports,_0x903c12(0x72),{'value':!![]}),exports[_0x903c12(0x6d)]=parseRouter;function parseRouter(_0x2fc7e7){const _0x42f6cf=_0x903c12;let _0x519788=_0x2fc7e7[_0x42f6cf(0x75)]('/');_0x519788[_0x42f6cf(0x73)]();let _0x40c9bc=_0x519788[_0x42f6cf(0x70)]();while(_0x40c9bc['indexOf'](',')>=0x0){_0x40c9bc=_0x40c9bc[_0x42f6cf(0x79)](',','/');}return _0x40c9bc;}function _0x508b(){const _0x242b6f=['pop','2065xihcoB','split','6vKLjqM','1928972XMuQtw','8554722JImCSE','replace','91301wWZQHL','15898070thvzkh','840GRoyHl','2745538JgduRU','1477989cJmXot','930GiPejE','parseRouter','96yBGoKi','defineProperty','join','1jRQEfF','__esModule'];_0x508b=function(){return _0x242b6f;};return _0x508b();}
1
+ 'use strict';const _0x1e755d=_0x486c;function _0x486c(_0x32f802,_0xb81526){const _0x94df86=_0x94df();return _0x486c=function(_0x486c67,_0x542c1c){_0x486c67=_0x486c67-0x115;let _0x2ba3a5=_0x94df86[_0x486c67];return _0x2ba3a5;},_0x486c(_0x32f802,_0xb81526);}(function(_0x19dcf4,_0x55bc44){const _0xfa664c=_0x486c,_0x118bbb=_0x19dcf4();while(!![]){try{const _0x5414f0=-parseInt(_0xfa664c(0x11d))/0x1*(parseInt(_0xfa664c(0x116))/0x2)+parseInt(_0xfa664c(0x120))/0x3*(parseInt(_0xfa664c(0x11e))/0x4)+-parseInt(_0xfa664c(0x118))/0x5+-parseInt(_0xfa664c(0x11a))/0x6*(-parseInt(_0xfa664c(0x119))/0x7)+parseInt(_0xfa664c(0x125))/0x8*(parseInt(_0xfa664c(0x124))/0x9)+parseInt(_0xfa664c(0x117))/0xa+-parseInt(_0xfa664c(0x11b))/0xb;if(_0x5414f0===_0x55bc44)break;else _0x118bbb['push'](_0x118bbb['shift']());}catch(_0x9a7b43){_0x118bbb['push'](_0x118bbb['shift']());}}}(_0x94df,0x4cd50));Object['defineProperty'](exports,_0x1e755d(0x121),{'value':!![]}),exports['parseRouter']=parseRouter;function parseRouter(_0x276657){const _0x5ebbd5=_0x1e755d;let _0x5c6ec7=_0x276657[_0x5ebbd5(0x115)]('/');_0x5c6ec7[_0x5ebbd5(0x123)]();let _0x403225=_0x5c6ec7[_0x5ebbd5(0x122)]();while(_0x403225[_0x5ebbd5(0x11c)](',')>=0x0){_0x403225=_0x403225[_0x5ebbd5(0x11f)](',','/');}return _0x403225;}function _0x94df(){const _0x584d7b=['2418mAHbcD','5845906EljOmA','indexOf','6iiaTGE','1517852mfyCKT','replace','3WzHfEI','__esModule','join','pop','1073547nQamVO','40llkNHA','split','93988AygwNM','2096670tWIlmx','1788330jeVsEP','5215HLbfAP'];_0x94df=function(){return _0x584d7b;};return _0x94df();}
@@ -1 +1 @@
1
- 'use strict';function _0x2098(_0x325ae0,_0x41ea1c){const _0x527353=_0x5273();return _0x2098=function(_0x209813,_0x403ba1){_0x209813=_0x209813-0x15c;let _0xf03fc4=_0x527353[_0x209813];return _0xf03fc4;},_0x2098(_0x325ae0,_0x41ea1c);}const _0x412971=_0x2098;(function(_0x195a17,_0x248a45){const _0x5d1e95=_0x2098,_0x5b1023=_0x195a17();while(!![]){try{const _0xe64938=parseInt(_0x5d1e95(0x16b))/0x1*(parseInt(_0x5d1e95(0x15d))/0x2)+-parseInt(_0x5d1e95(0x177))/0x3*(parseInt(_0x5d1e95(0x161))/0x4)+-parseInt(_0x5d1e95(0x168))/0x5*(parseInt(_0x5d1e95(0x16f))/0x6)+parseInt(_0x5d1e95(0x162))/0x7*(parseInt(_0x5d1e95(0x171))/0x8)+parseInt(_0x5d1e95(0x169))/0x9*(parseInt(_0x5d1e95(0x166))/0xa)+parseInt(_0x5d1e95(0x178))/0xb+-parseInt(_0x5d1e95(0x16a))/0xc;if(_0xe64938===_0x248a45)break;else _0x5b1023['push'](_0x5b1023['shift']());}catch(_0x1e457d){_0x5b1023['push'](_0x5b1023['shift']());}}}(_0x5273,0xde157));function _0x5273(){const _0x3c282e=['11369736cPJGgf','1234CJbdAf','upload','log','default','348876BfAbNg','existsSync','1376KsaIDL','/web-spatial.xcodeproj/project.pbxproj','uploadApp','./xcodeproject','export','./xcodebuild','265668wxJErj','4726546UsXwIN','write\x20project.pbxproj:\x20ok','.ipa','parseProject','XcodeManager','./xcrun','298JXSRfW','../resource','PROJECT_DIRECTORY','PROJECT_EXPORT_DIRECTORY','40fXskGW','26607wIVFWs','join','defineProperty','__esModule','17079530AsarAX','name','20RJCTVL','9LKHsLo'];_0x5273=function(){return _0x3c282e;};return _0x5273();}Object[_0x412971(0x164)](exports,_0x412971(0x165),{'value':!![]}),exports[_0x412971(0x17c)]=void 0x0;const fs=require('fs'),resource_1=require(_0x412971(0x15e)),xcodeproject_1=require(_0x412971(0x174)),xcodebuild_1=require(_0x412971(0x176)),xcrun_1=require(_0x412971(0x15c)),path_1=require('path');class XcodeManager{static async[_0x412971(0x17b)](_0x22a1f6,_0x58e5f8=![]){const _0x5988b4=_0x412971,_0x26fa78=resource_1[_0x5988b4(0x15f)]+_0x5988b4(0x172);await xcodeproject_1[_0x5988b4(0x16e)]['modify'](_0x26fa78,_0x22a1f6,_0x58e5f8),console[_0x5988b4(0x16d)](_0x5988b4(0x179));!fs[_0x5988b4(0x170)](resource_1[_0x5988b4(0x160)])&&fs['mkdirSync'](resource_1[_0x5988b4(0x160)],{'recursive':!![]});if(!_0x58e5f8)await xcodebuild_1[_0x5988b4(0x16e)]['archive'](_0x22a1f6[_0x5988b4(0x175)]);}static async[_0x412971(0x16c)](_0x16be9a,_0x428fb8){const _0x31817c=_0x412971;if(_0x16be9a['u']&&_0x16be9a['p'])xcrun_1[_0x31817c(0x16e)][_0x31817c(0x173)]((0x0,path_1[_0x31817c(0x163)])(resource_1[_0x31817c(0x160)],_0x428fb8[_0x31817c(0x167)]+_0x31817c(0x17a)),_0x16be9a['u'],_0x16be9a['p'],!![]);else _0x16be9a['k']&&_0x16be9a['i']&&xcrun_1['default'][_0x31817c(0x173)]((0x0,path_1[_0x31817c(0x163)])(resource_1[_0x31817c(0x160)],_0x428fb8['name']+_0x31817c(0x17a)),_0x16be9a['k'],_0x16be9a['i'],![]);}static async['runWithSimulator'](_0x245c9f){const _0x42f8be=_0x412971;await xcrun_1[_0x42f8be(0x16e)]['runWithSimulator'](_0x245c9f);}}exports[_0x412971(0x17c)]=XcodeManager;
1
+ 'use strict';const _0x1e4ce9=_0x4a2b;function _0x3474(){const _0x4d1c54=['../resource','parseProject','join','1901136DxRMWK','./xcodebuild','upload','existsSync','path','write\x20project.pbxproj:\x20ok','defineProperty','uploadApp','1674282UXjIUz','1146146YwiHNO','/web-spatial.xcodeproj/project.pbxproj','XcodeManager','modify','PROJECT_EXPORT_DIRECTORY','default','2819982QLtHLQ','.ipa','archive','./xcrun','__esModule','name','runWithSimulator','5AzXumd','21245697FqXUjW','1325472gvwpcR','./xcodeproject','49IIEOPC','5266036eLdSgJ'];_0x3474=function(){return _0x4d1c54;};return _0x3474();}(function(_0x3811d6,_0x484228){const _0x59167a=_0x4a2b,_0x1a9b1b=_0x3811d6();while(!![]){try{const _0x1b13ee=-parseInt(_0x59167a(0x145))/0x1+parseInt(_0x59167a(0x136))/0x2+parseInt(_0x59167a(0x154))/0x3+-parseInt(_0x59167a(0x148))/0x4*(-parseInt(_0x59167a(0x143))/0x5)+parseInt(_0x59167a(0x13c))/0x6+-parseInt(_0x59167a(0x147))/0x7*(-parseInt(_0x59167a(0x14c))/0x8)+-parseInt(_0x59167a(0x144))/0x9;if(_0x1b13ee===_0x484228)break;else _0x1a9b1b['push'](_0x1a9b1b['shift']());}catch(_0xdf0e51){_0x1a9b1b['push'](_0x1a9b1b['shift']());}}}(_0x3474,0xda856));Object[_0x1e4ce9(0x152)](exports,_0x1e4ce9(0x140),{'value':!![]}),exports[_0x1e4ce9(0x138)]=void 0x0;function _0x4a2b(_0x5a95cb,_0x286cce){const _0x3474a6=_0x3474();return _0x4a2b=function(_0x4a2b1a,_0x1b9523){_0x4a2b1a=_0x4a2b1a-0x136;let _0x1f1522=_0x3474a6[_0x4a2b1a];return _0x1f1522;},_0x4a2b(_0x5a95cb,_0x286cce);}const fs=require('fs'),resource_1=require(_0x1e4ce9(0x149)),xcodeproject_1=require(_0x1e4ce9(0x146)),xcodebuild_1=require(_0x1e4ce9(0x14d)),xcrun_1=require(_0x1e4ce9(0x13f)),path_1=require(_0x1e4ce9(0x150));class XcodeManager{static async[_0x1e4ce9(0x14a)](_0x1492a0,_0x3a619d=![]){const _0x41d130=_0x1e4ce9,_0x3101fc=resource_1['PROJECT_DIRECTORY']+_0x41d130(0x137);await xcodeproject_1[_0x41d130(0x13b)][_0x41d130(0x139)](_0x3101fc,_0x1492a0,_0x3a619d),console['log'](_0x41d130(0x151));!fs[_0x41d130(0x14f)](resource_1[_0x41d130(0x13a)])&&fs['mkdirSync'](resource_1[_0x41d130(0x13a)],{'recursive':!![]});if(!_0x3a619d)await xcodebuild_1[_0x41d130(0x13b)][_0x41d130(0x13e)](_0x1492a0['export']);}static async[_0x1e4ce9(0x14e)](_0x184333,_0x46f574){const _0x58febd=_0x1e4ce9;if(_0x184333['u']&&_0x184333['p'])xcrun_1['default'][_0x58febd(0x153)]((0x0,path_1[_0x58febd(0x14b)])(resource_1[_0x58febd(0x13a)],_0x46f574[_0x58febd(0x141)]+_0x58febd(0x13d)),_0x184333['u'],_0x184333['p'],!![]);else _0x184333['k']&&_0x184333['i']&&xcrun_1[_0x58febd(0x13b)][_0x58febd(0x153)]((0x0,path_1[_0x58febd(0x14b)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x46f574[_0x58febd(0x141)]+_0x58febd(0x13d)),_0x184333['k'],_0x184333['i'],![]);}static async[_0x1e4ce9(0x142)](_0x575640){const _0x286a57=_0x1e4ce9;await xcrun_1[_0x286a57(0x13b)]['runWithSimulator'](_0x575640);}}exports[_0x1e4ce9(0x138)]=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';var _0xe882be=_0x1d36;function _0x1d36(_0x348d7f,_0x4ed1f6){var _0x1f4647=_0x1f46();return _0x1d36=function(_0x1d36a8,_0x33e840){_0x1d36a8=_0x1d36a8-0x188;var _0x411524=_0x1f4647[_0x1d36a8];return _0x411524;},_0x1d36(_0x348d7f,_0x4ed1f6);}(function(_0x360aff,_0x5a27e9){var _0x4ecb9e=_0x1d36,_0x216b91=_0x360aff();while(!![]){try{var _0x9f49cb=parseInt(_0x4ecb9e(0x189))/0x1+parseInt(_0x4ecb9e(0x188))/0x2+parseInt(_0x4ecb9e(0x192))/0x3+-parseInt(_0x4ecb9e(0x190))/0x4*(-parseInt(_0x4ecb9e(0x18e))/0x5)+-parseInt(_0x4ecb9e(0x18b))/0x6*(-parseInt(_0x4ecb9e(0x193))/0x7)+-parseInt(_0x4ecb9e(0x18d))/0x8+-parseInt(_0x4ecb9e(0x18a))/0x9;if(_0x9f49cb===_0x5a27e9)break;else _0x216b91['push'](_0x216b91['shift']());}catch(_0x4d12f5){_0x216b91['push'](_0x216b91['shift']());}}}(_0x1f46,0x37b57));function _0x1f46(){var _0x3977cc=['230694VUYGSF','\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','3144936QucRTC','208265cYbZlb','defineProperty','24FoeuRf','__esModule','849657ncjBLt','77LYDwdd','167476WpxPSX','69752PXzCxH','4394394fwbOiV'];_0x1f46=function(){return _0x3977cc;};return _0x1f46();}Object[_0xe882be(0x18f)](exports,_0xe882be(0x191),{'value':!![]}),exports['manifestSwiftTemplate']=void 0x0,exports['manifestSwiftTemplate']=_0xe882be(0x18c);
1
+ 'use strict';function _0x4289(){var _0x3ec1db=['1790aXwdxY','58941jDVFmm','4554yjZzlx','423334WvmcCK','__esModule','1700909gbDIMF','12639gYpQiD','1646185ThmRnD','manifestSwiftTemplate','4137816RcYKwL','2BKPEHg','1412nwBimK','872YohqxZ'];_0x4289=function(){return _0x3ec1db;};return _0x4289();}var _0x3e8504=_0x50b7;(function(_0x2e4bee,_0x126695){var _0x377549=_0x50b7,_0x359cdc=_0x2e4bee();while(!![]){try{var _0x508a2f=parseInt(_0x377549(0x135))/0x1*(-parseInt(_0x377549(0x12e))/0x2)+-parseInt(_0x377549(0x12d))/0x3*(-parseInt(_0x377549(0x136))/0x4)+parseInt(_0x377549(0x132))/0x5+parseInt(_0x377549(0x134))/0x6+parseInt(_0x377549(0x130))/0x7+parseInt(_0x377549(0x137))/0x8*(-parseInt(_0x377549(0x139))/0x9)+-parseInt(_0x377549(0x138))/0xa*(parseInt(_0x377549(0x131))/0xb);if(_0x508a2f===_0x126695)break;else _0x359cdc['push'](_0x359cdc['shift']());}catch(_0xe299a8){_0x359cdc['push'](_0x359cdc['shift']());}}}(_0x4289,0x6f0d4));function _0x50b7(_0x12c45f,_0xd221ac){var _0x4289a5=_0x4289();return _0x50b7=function(_0x50b75b,_0x77a0ff){_0x50b75b=_0x50b75b-0x12d;var _0x2f2e8d=_0x4289a5[_0x50b75b];return _0x2f2e8d;},_0x50b7(_0x12c45f,_0xd221ac);}Object['defineProperty'](exports,_0x3e8504(0x12f),{'value':!![]}),exports[_0x3e8504(0x133)]=void 0x0,exports[_0x3e8504(0x133)]='\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';
@@ -1 +1 @@
1
- 'use strict';const _0x511518=_0x27c1;(function(_0x1c3e05,_0x179b4e){const _0x956a40=_0x27c1,_0x234648=_0x1c3e05();while(!![]){try{const _0x938492=parseInt(_0x956a40(0x1ee))/0x1+-parseInt(_0x956a40(0x1d0))/0x2+-parseInt(_0x956a40(0x1da))/0x3+-parseInt(_0x956a40(0x1f5))/0x4+-parseInt(_0x956a40(0x1f2))/0x5+-parseInt(_0x956a40(0x1df))/0x6+parseInt(_0x956a40(0x1e4))/0x7;if(_0x938492===_0x179b4e)break;else _0x234648['push'](_0x234648['shift']());}catch(_0x2f4990){_0x234648['push'](_0x234648['shift']());}}}(_0x2b35,0xf0dab));Object[_0x511518(0x1f4)](exports,_0x511518(0x1ea),{'value':!![]}),exports[_0x511518(0x1de)]=void 0x0;const fs=require('fs'),path_1=require(_0x511518(0x1e1)),resource_1=require(_0x511518(0x1ca)),semver_1=require(_0x511518(0x1e0)),file_1=require(_0x511518(0x1ce)),{execSync,exec}=require(_0x511518(0x1e2));function _0x27c1(_0x2c6877,_0x3d9e69){const _0x2b35d5=_0x2b35();return _0x27c1=function(_0x27c17d,_0x5b6d92){_0x27c17d=_0x27c17d-0x1c7;let _0x2459c0=_0x2b35d5[_0x27c17d];return _0x2459c0;},_0x27c1(_0x2c6877,_0x3d9e69);}class Xcodebuild{static async[_0x511518(0x1f0)](){const _0x4a832c=_0x511518;try{await new Promise((_0x2a0e18,_0x5787d0)=>{const _0x4827c2=_0x27c1,_0x2bb27b=resource_1[_0x4827c2(0x1c8)]+'/web-spatial.xcodeproj',_0x5ef62b=execSync(new XcodebuildCMD()[_0x4827c2(0x1f0)](_0x2bb27b)['list']()[_0x4827c2(0x1cd)]);console['log'](_0x5ef62b[_0x4827c2(0x1f9)]()),_0x2a0e18(_0x5ef62b);});}catch(_0x2d71ce){console[_0x4a832c(0x1eb)](_0x2d71ce);}}static async[_0x511518(0x1f8)](){const _0x7e7d26=_0x511518;try{await new Promise((_0x561abb,_0x4bf30b)=>{const _0x3ac142=_0x27c1,_0x5d207a=resource_1['PROJECT_DIRECTORY']+'/web-spatial.xcodeproj',_0x2802cb=execSync(new XcodebuildCMD()[_0x3ac142(0x1f0)](_0x5d207a)[_0x3ac142(0x1f8)]()[_0x3ac142(0x1cd)]);console[_0x3ac142(0x1eb)](_0x2802cb[_0x3ac142(0x1f9)]()),_0x561abb(_0x2802cb);});}catch(_0xcb32cf){console[_0x7e7d26(0x1eb)](_0xcb32cf);}}static async[_0x511518(0x1d7)](_0x4695be){const _0x587fdd=_0x511518;try{return console['log'](_0x587fdd(0x1ed)),!fs[_0x587fdd(0x1d5)](resource_1[_0x587fdd(0x1d2)])&&fs[_0x587fdd(0x1db)](resource_1[_0x587fdd(0x1d2)],{'recursive':!![]}),await new Promise((_0x1a59e7,_0x184dda)=>{const _0x5d6934=_0x587fdd,_0x24e515=resource_1[_0x5d6934(0x1c8)]+_0x5d6934(0x1d1),_0x9c945f=execSync(new XcodebuildCMD()['project'](_0x24e515)[_0x5d6934(0x1c7)](_0x5d6934(0x1e3))[_0x5d6934(0x1d7)]((0x0,path_1[_0x5d6934(0x1dd)])(resource_1['PROJECT_BUILD_DIRECTORY'],'./pack'))[_0x5d6934(0x1f7)]()[_0x5d6934(0x1cd)]);let _0x47faa6=_0x9c945f[_0x5d6934(0x1f9)]();if(_0x47faa6[_0x5d6934(0x1c9)](_0x5d6934(0x1d9))>0x0){console[_0x5d6934(0x1eb)](_0x5d6934(0x1f6)),console['log']('start\x20export');const _0x4a2430=execSync(new XcodebuildCMD()['output']((0x0,path_1[_0x5d6934(0x1dd)])(resource_1[_0x5d6934(0x1d4)],'pack.xcarchive'),resource_1[_0x5d6934(0x1d2)],(0x0,path_1['join'])(resource_1[_0x5d6934(0x1d4)],'ExportOptions.plist'))[_0x5d6934(0x1f3)]()[_0x5d6934(0x1cd)]);_0x47faa6=_0x4a2430['toString']();if(_0x47faa6['indexOf'](_0x5d6934(0x1cf))>0x0){const _0x3f8f11=_0x4695be!==null&&_0x4695be!==void 0x0?_0x4695be:_0x5d6934(0x1e9),_0x41ed94=(0x0,path_1['join'])(process[_0x5d6934(0x1ef)](),_0x3f8f11);!fs[_0x5d6934(0x1d5)](_0x41ed94)&&fs[_0x5d6934(0x1db)](_0x41ed94,{'recursive':!![]}),(0x0,file_1[_0x5d6934(0x1fa)])(resource_1[_0x5d6934(0x1d2)],_0x41ed94),console[_0x5d6934(0x1eb)](_0x5d6934(0x1e8)),_0x1a59e7(!![]);}(0x0,semver_1['clean'])(resource_1[_0x5d6934(0x1d4)]);}_0x1a59e7(![]);});}catch(_0x131125){console[_0x587fdd(0x1eb)](_0x131125);}}}exports[_0x511518(0x1e7)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x1e34ff=_0x511518;this[_0x1e34ff(0x1cd)]=_0x1e34ff(0x1d6);}['project'](_0x3936bc){const _0x43defb=_0x511518;return this[_0x43defb(0x1cd)]+=_0x43defb(0x1cc)+_0x3936bc,this;}['list'](){const _0xd16b5=_0x511518;return this[_0xd16b5(0x1cd)]+='\x20-list',this;}[_0x511518(0x1c7)](_0x218ecb){const _0x3dbf45=_0x511518;return this[_0x3dbf45(0x1cd)]+=_0x3dbf45(0x1d3)+_0x218ecb,this;}[_0x511518(0x1d7)](_0x549fa3){const _0x215050=_0x511518;return this[_0x215050(0x1cd)]+=_0x215050(0x1ec)+_0x549fa3+_0x215050(0x1e5),this;}[_0x511518(0x1f3)](){const _0x5ac0af=_0x511518;return this[_0x5ac0af(0x1cd)]+=_0x5ac0af(0x1d8),this;}[_0x511518(0x1fb)](_0x368690){const _0x3994e8=_0x511518;return this[_0x3994e8(0x1cd)]+=_0x3994e8(0x1f1)+_0x368690+'\x27',this;}['output'](_0x26014d,_0x327031,_0x14ceb7){const _0x4bad16=_0x511518;return this[_0x4bad16(0x1cd)]+=_0x4bad16(0x1e6)+_0x26014d+_0x4bad16(0x1dc)+_0x327031+_0x4bad16(0x1cb)+_0x14ceb7,this;}[_0x511518(0x1f7)](){return this['line']+='\x20clean',this;}}function _0x2b35(){const _0x213526=['\x20archive','\x20-exportArchive\x20-archivePath\x20','default','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','./build','__esModule','log','\x20-archivePath\x20','start\x20archive','1231210hOrZQv','cwd','project','\x20-destination\x20\x27','3935555qqmikf','allowProvisioningUpdates','defineProperty','5996320fGRcUQ','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','clean','list','toString','copyDir','destination','scheme','PROJECT_DIRECTORY','indexOf','../resource','\x20-exportOptionsPlist\x20','\x20-project\x20','line','../resource/file','EXPORT\x20SUCCEEDED','743384HltBeS','/web-spatial.xcodeproj','PROJECT_EXPORT_DIRECTORY','\x20-scheme\x20','PROJECT_BUILD_DIRECTORY','existsSync','xcodebuild','archive','\x20-allowProvisioningUpdates','ARCHIVE\x20SUCCEEDED','3747201SmXDXB','mkdirSync','\x20-exportPath\x20','join','XcodebuildCMD','8646462yPNoGj','semver','path','child_process','web-spatial','35723492bAWbGU'];_0x2b35=function(){return _0x213526;};return _0x2b35();}exports[_0x511518(0x1de)]=XcodebuildCMD;
1
+ 'use strict';const _0xa78de7=_0x2224;function _0x1356(){const _0xd9f1d3=['copyDir','project','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','\x20-destination\x20\x27','join','\x20-archivePath\x20','__esModule','indexOf','\x20-exportPath\x20','default','329870TJUUaO','XcodebuildCMD','1407HOVddK','../resource','3792xKSYov','toString','\x20archive','1472OjUaWB','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','list','existsSync','archive','./pack','pack.xcarchive','PROJECT_BUILD_DIRECTORY','901769tZctBO','110WUlLek','scheme','child_process','output','1TCbFIO','17664YbYrOT','13ENVGAO','log','\x20clean','start\x20export','33485196wXnhFB','xcodebuild','1520306edpAYK','\x20-allowProvisioningUpdates','\x20-project\x20','ARCHIVE\x20SUCCEEDED','start\x20archive','mkdirSync','\x20-exportOptionsPlist\x20','PROJECT_DIRECTORY','path','/web-spatial.xcodeproj','line','29961aFEvVJ','2440PmAgJz','destination','web-spatial','allowProvisioningUpdates','clean','defineProperty','semver','PROJECT_EXPORT_DIRECTORY','\x20-exportArchive\x20-archivePath\x20','EXPORT\x20SUCCEEDED','../resource/file','./build'];_0x1356=function(){return _0xd9f1d3;};return _0x1356();}(function(_0x1e5de7,_0x173567){const _0x16dd5c=_0x2224,_0x3a13a8=_0x1e5de7();while(!![]){try{const _0x34681e=parseInt(_0x16dd5c(0x17f))/0x1*(parseInt(_0x16dd5c(0x187))/0x2)+parseInt(_0x16dd5c(0x1ad))/0x3*(-parseInt(_0x16dd5c(0x1b0))/0x4)+parseInt(_0x16dd5c(0x1a9))/0x5+parseInt(_0x16dd5c(0x180))/0x6*(-parseInt(_0x16dd5c(0x1ab))/0x7)+-parseInt(_0x16dd5c(0x193))/0x8*(parseInt(_0x16dd5c(0x192))/0x9)+-parseInt(_0x16dd5c(0x17b))/0xa*(parseInt(_0x16dd5c(0x1b8))/0xb)+-parseInt(_0x16dd5c(0x185))/0xc*(-parseInt(_0x16dd5c(0x181))/0xd);if(_0x34681e===_0x173567)break;else _0x3a13a8['push'](_0x3a13a8['shift']());}catch(_0x479096){_0x3a13a8['push'](_0x3a13a8['shift']());}}}(_0x1356,0x9cdf6));Object[_0xa78de7(0x198)](exports,_0xa78de7(0x1a5),{'value':!![]}),exports[_0xa78de7(0x1aa)]=void 0x0;const fs=require('fs'),path_1=require(_0xa78de7(0x18f)),resource_1=require(_0xa78de7(0x1ac)),semver_1=require(_0xa78de7(0x199)),file_1=require(_0xa78de7(0x19d)),{execSync,exec}=require(_0xa78de7(0x17d));class Xcodebuild{static async[_0xa78de7(0x1a0)](){const _0x3b2730=_0xa78de7;try{await new Promise((_0x1c0fbf,_0x54d6fc)=>{const _0x274828=_0x2224,_0x37b0b4=resource_1[_0x274828(0x18e)]+'/web-spatial.xcodeproj',_0x31ec2b=execSync(new XcodebuildCMD()[_0x274828(0x1a0)](_0x37b0b4)[_0x274828(0x1b2)]()[_0x274828(0x191)]);console[_0x274828(0x182)](_0x31ec2b[_0x274828(0x1ae)]()),_0x1c0fbf(_0x31ec2b);});}catch(_0x594f32){console[_0x3b2730(0x182)](_0x594f32);}}static async[_0xa78de7(0x1b2)](){const _0x399622=_0xa78de7;try{await new Promise((_0x224ff2,_0x5b1a16)=>{const _0x138e85=_0x2224,_0x5e90a0=resource_1['PROJECT_DIRECTORY']+_0x138e85(0x190),_0xd84236=execSync(new XcodebuildCMD()[_0x138e85(0x1a0)](_0x5e90a0)['list']()['line']);console[_0x138e85(0x182)](_0xd84236[_0x138e85(0x1ae)]()),_0x224ff2(_0xd84236);});}catch(_0x391f3b){console[_0x399622(0x182)](_0x391f3b);}}static async[_0xa78de7(0x1b4)](_0x3a24ef){const _0x16228e=_0xa78de7;try{return console['log'](_0x16228e(0x18b)),!fs[_0x16228e(0x1b3)](resource_1[_0x16228e(0x19a)])&&fs[_0x16228e(0x18c)](resource_1[_0x16228e(0x19a)],{'recursive':!![]}),await new Promise((_0x5b2ee8,_0x6bbc38)=>{const _0x5f3ddf=_0x16228e,_0x69af40=resource_1[_0x5f3ddf(0x18e)]+_0x5f3ddf(0x190),_0x1d5bfd=execSync(new XcodebuildCMD()[_0x5f3ddf(0x1a0)](_0x69af40)[_0x5f3ddf(0x17c)](_0x5f3ddf(0x195))[_0x5f3ddf(0x1b4)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x5f3ddf(0x1b5)))[_0x5f3ddf(0x197)]()['line']);let _0x5de13f=_0x1d5bfd[_0x5f3ddf(0x1ae)]();if(_0x5de13f[_0x5f3ddf(0x1a6)](_0x5f3ddf(0x18a))>0x0){console[_0x5f3ddf(0x182)](_0x5f3ddf(0x1b1)),console[_0x5f3ddf(0x182)](_0x5f3ddf(0x184));const _0x48b2f2=execSync(new XcodebuildCMD()[_0x5f3ddf(0x17e)]((0x0,path_1[_0x5f3ddf(0x1a3)])(resource_1[_0x5f3ddf(0x1b7)],_0x5f3ddf(0x1b6)),resource_1[_0x5f3ddf(0x19a)],(0x0,path_1[_0x5f3ddf(0x1a3)])(resource_1['PROJECT_BUILD_DIRECTORY'],'ExportOptions.plist'))[_0x5f3ddf(0x196)]()[_0x5f3ddf(0x191)]);_0x5de13f=_0x48b2f2[_0x5f3ddf(0x1ae)]();if(_0x5de13f[_0x5f3ddf(0x1a6)](_0x5f3ddf(0x19c))>0x0){const _0x1c4514=_0x3a24ef!==null&&_0x3a24ef!==void 0x0?_0x3a24ef:_0x5f3ddf(0x19e),_0x55b163=(0x0,path_1['join'])(process['cwd'](),_0x1c4514);!fs[_0x5f3ddf(0x1b3)](_0x55b163)&&fs[_0x5f3ddf(0x18c)](_0x55b163,{'recursive':!![]}),(0x0,file_1[_0x5f3ddf(0x19f)])(resource_1[_0x5f3ddf(0x19a)],_0x55b163),console['log'](_0x5f3ddf(0x1a1)),_0x5b2ee8(!![]);}(0x0,semver_1[_0x5f3ddf(0x197)])(resource_1[_0x5f3ddf(0x1b7)]);}_0x5b2ee8(![]);});}catch(_0x4cb525){console[_0x16228e(0x182)](_0x4cb525);}}}function _0x2224(_0x58a8ef,_0x4144b6){const _0x135634=_0x1356();return _0x2224=function(_0x222487,_0x4956df){_0x222487=_0x222487-0x17b;let _0x148cb0=_0x135634[_0x222487];return _0x148cb0;},_0x2224(_0x58a8ef,_0x4144b6);}exports[_0xa78de7(0x1a8)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x4fc523=_0xa78de7;this[_0x4fc523(0x191)]=_0x4fc523(0x186);}[_0xa78de7(0x1a0)](_0x34c2c1){const _0xca45dd=_0xa78de7;return this[_0xca45dd(0x191)]+=_0xca45dd(0x189)+_0x34c2c1,this;}[_0xa78de7(0x1b2)](){const _0x377838=_0xa78de7;return this[_0x377838(0x191)]+='\x20-list',this;}['scheme'](_0x4f1b86){const _0x41f0e2=_0xa78de7;return this[_0x41f0e2(0x191)]+='\x20-scheme\x20'+_0x4f1b86,this;}[_0xa78de7(0x1b4)](_0x302811){const _0x259ba=_0xa78de7;return this[_0x259ba(0x191)]+=_0x259ba(0x1a4)+_0x302811+_0x259ba(0x1af),this;}[_0xa78de7(0x196)](){const _0x1f2574=_0xa78de7;return this[_0x1f2574(0x191)]+=_0x1f2574(0x188),this;}[_0xa78de7(0x194)](_0x5261ab){const _0x24aead=_0xa78de7;return this['line']+=_0x24aead(0x1a2)+_0x5261ab+'\x27',this;}[_0xa78de7(0x17e)](_0x172a30,_0x318606,_0x19602d){const _0x3478c6=_0xa78de7;return this[_0x3478c6(0x191)]+=_0x3478c6(0x19b)+_0x172a30+_0x3478c6(0x1a7)+_0x318606+_0x3478c6(0x18d)+_0x19602d,this;}['clean'](){const _0x18f38c=_0xa78de7;return this['line']+=_0x18f38c(0x183),this;}}exports[_0xa78de7(0x1aa)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';function _0xdfd4(){const _0x541837=['images','mkdirSync','enterprise','PWAProtocol(protocolValue:\x20\x22','replace','updateDeeplink','url','\x22),','1074690PBVEbl','objects','START_URL','PROJECT_DIRECTORY','scope','height','parseSync','YOURTEAMID','7585tbpQKc','display','filename','updateTeamId','bindIcon','887085BrPOOM','path','json','.minimal','updateExportOptions','ExportOptions.plist','SceneResizability','icon.','1280','width','BUILDTYPE','includes','USE_MAIN_SCENE','test','protocol_handlers','defineProperty','17742ZepTid','174269kzaPmu','name','./web-spatial/libs/webView/manifest.swift','modify','existsSync','split','Contents.json','836GDudbO','push','defaultSize','updateVersion','./manifestSwiftTemplate','pbxGroupByName','false','AppID','../resource/load','writeAsync','release-testing','manifestInfo','13448624sTxhZr','__esModule','2422kfKvtI','xcode','pbxXCConfigurationList','writeSync','MIDDLE_APPICON_DIRECTORY','Description','createImg','manifestSwiftTemplate','join','protocol','updateBuildProperty','1.0','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','<?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>','stringify','description','BACK_APPICON_DIRECTORY','\x22automatic\x22','hash','<string>','buildConfigurationList','bindManifestInfo','debugging','\x22,\x20url:\x20\x22','SceneWidth','utf-8','minimal-ui','buildSettings','</string>','SceneHeight','project','mainScene','ImageHelper','start_url','29932020Glxfkr','value','resizability','icon','loadJsonFromDisk','PROJECT_BUILD_DIRECTORY','buildConfigurations','version','SCOPE','true','writeFileSync','updateProductName','modifySwift'];_0xdfd4=function(){return _0x541837;};return _0xdfd4();}const _0x2e18cf=_0x1526;(function(_0xda2540,_0x325606){const _0x24fcfe=_0x1526,_0x1b5379=_0xda2540();while(!![]){try{const _0x1d59c4=parseInt(_0x24fcfe(0xe8))/0x1+-parseInt(_0x24fcfe(0xca))/0x2+parseInt(_0x24fcfe(0xd7))/0x3+-parseInt(_0x24fcfe(0xef))/0x4*(-parseInt(_0x24fcfe(0xd2))/0x5)+parseInt(_0x24fcfe(0xe7))/0x6*(-parseInt(_0x24fcfe(0xfd))/0x7)+-parseInt(_0x24fcfe(0xfb))/0x8+parseInt(_0x24fcfe(0xb5))/0x9;if(_0x1d59c4===_0x325606)break;else _0x1b5379['push'](_0x1b5379['shift']());}catch(_0x130f50){_0x1b5379['push'](_0x1b5379['shift']());}}}(_0xdfd4,0xd4b54));function _0x1526(_0xe17222,_0x3da380){const _0xdfd4f3=_0xdfd4();return _0x1526=function(_0x1526b7,_0xb1ed79){_0x1526b7=_0x1526b7-0x9e;let _0xe3e9b1=_0xdfd4f3[_0x1526b7];return _0xe3e9b1;},_0x1526(_0xe17222,_0x3da380);}Object[_0x2e18cf(0xe6)](exports,_0x2e18cf(0xfc),{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require(_0x2e18cf(0xd8)),load_1=require(_0x2e18cf(0xf7)),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require(_0x2e18cf(0xf3)),xcode=require(_0x2e18cf(0xfe)),exportOptionsXML=_0x2e18cf(0xa0),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[_0x2e18cf(0xeb)](_0x310c9f,_0x38f658,_0x45bfae=![]){const _0xb27fd2=_0x2e18cf;let _0x4c2398=xcode[_0xb27fd2(0xb1)](_0x310c9f);this['fixProjectFunction'](_0x4c2398),_0x4c2398[_0xb27fd2(0xd0)]();let _0x32641a=_0x38f658['buildType'];const _0x5a4dd0=[_0xb27fd2(0xf9),'app-store-connect',_0xb27fd2(0xa9),_0xb27fd2(0xc4)];useExportOptionsXML=exportOptionsXML[_0xb27fd2(0xc6)](_0xb27fd2(0xe1),_0x5a4dd0[_0xb27fd2(0xe2)](_0x32641a)?_0x32641a:_0xb27fd2(0xf9));_0x38f658['teamId']&&this[_0xb27fd2(0xd5)](_0x4c2398,_0x38f658['teamId']);this[_0xb27fd2(0xdb)]();if(_0x38f658[_0xb27fd2(0xb8)])await this[_0xb27fd2(0xd6)](_0x38f658[_0xb27fd2(0xb8)]);this[_0xb27fd2(0xa8)](_0x4c2398,_0x38f658[_0xb27fd2(0xfa)][_0xb27fd2(0xd9)],_0x45bfae);_0x38f658[_0xb27fd2(0xbc)]?this[_0xb27fd2(0xf2)](_0x4c2398,_0x38f658['version']):this[_0xb27fd2(0xf2)](_0x4c2398,_0xb27fd2(0x9e));try{fs[_0xb27fd2(0xbf)](_0x310c9f,_0x4c2398[_0xb27fd2(0x100)]());}catch(_0x34b339){console['log'](_0x34b339);}}static['fixProjectFunction'](_0x475acb){const _0x104c30=_0x2e18cf;_0x475acb[_0x104c30(0xf4)]=function(_0x4f87d8){const _0x5e76c9=_0x104c30;var _0xcf9389=this[_0x5e76c9(0xa5)][_0x5e76c9(0xb1)][_0x5e76c9(0xcb)]['PBXGroup'],_0x2f9ca2,_0x4909de;for(_0x2f9ca2 in _0xcf9389){if(!/_comment$/[_0x5e76c9(0xe4)](_0x2f9ca2))continue;if(_0xcf9389[_0x2f9ca2]==_0x4f87d8)return _0x4909de=_0x2f9ca2[_0x5e76c9(0xed)](/_comment$/)[0x0],_0xcf9389[_0x4909de];}return![];},_0x475acb[_0x104c30(0x107)]=function(_0x29a97e,_0x4dcdaf,_0x533f28,_0x899c95){const _0x2b53dd=_0x104c30;let _0x31c43d=[];const _0x5a9d10=/_comment$/;if(_0x899c95){const _0x526f38=this['pbxTargetByName'](_0x899c95),_0x46fe4c=_0x526f38&&_0x526f38[_0x2b53dd(0xa7)],_0x255948=this[_0x2b53dd(0xff)]();for(const _0x23a9ce in _0x255948){if(!_0x5a9d10[_0x2b53dd(0xe4)](_0x23a9ce)&&_0x46fe4c===_0x23a9ce){const _0x57b6c8=_0x255948[_0x23a9ce][_0x2b53dd(0xbb)];for(const _0x11ba32 of _0x57b6c8){_0x31c43d[_0x2b53dd(0xf0)](_0x11ba32[_0x2b53dd(0xb6)]);}break;}}}var _0x3e2da1=this['pbxXCBuildConfigurationSection']();for(var _0x2d66f5 in _0x3e2da1){if(!_0x5a9d10[_0x2b53dd(0xe4)](_0x2d66f5)){if(_0x899c95&&!_0x31c43d[_0x2b53dd(0xe2)](_0x2d66f5))continue;var _0x209c27=_0x3e2da1[_0x2d66f5];(_0x533f28&&_0x209c27[_0x2b53dd(0xe9)]===_0x533f28||!_0x533f28)&&_0x209c27[_0x2b53dd(0xae)][_0x29a97e]&&(_0x209c27['buildSettings'][_0x29a97e]=_0x4dcdaf);}}};}static async[_0x2e18cf(0xd6)](_0x168c2b){const _0x5a23eb=_0x2e18cf;if(_0x168c2b){const _0x12ef2=(0x0,path_1[_0x5a23eb(0x105)])(resource_1[_0x5a23eb(0xcd)],resource_1[_0x5a23eb(0xa3)]),_0x2eaccd=(0x0,path_1[_0x5a23eb(0x105)])(_0x12ef2,'Contents.json'),_0x3a64e2=_0x5a23eb(0xde)+_0x168c2b['getMIME']()[_0x5a23eb(0xc6)]('image/',''),_0x38ab3f=(0x0,path_1['join'])(_0x12ef2,_0x3a64e2);let _0x5a8094=await(0x0,load_1[_0x5a23eb(0xb9)])(_0x2eaccd);_0x5a8094['images'][0x0][_0x5a23eb(0xd4)]=_0x3a64e2,await _0x168c2b[_0x5a23eb(0xf8)](_0x38ab3f),await fs['writeFileSync'](_0x2eaccd,JSON[_0x5a23eb(0xa1)](_0x5a8094));const _0x2a3753=(0x0,path_1[_0x5a23eb(0x105)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x5a23eb(0x101)]),_0x1e8c17=(0x0,path_1[_0x5a23eb(0x105)])(_0x2a3753,_0x5a23eb(0xee)),_0x2e61a4='icon.png',_0x3015c0=(0x0,path_1[_0x5a23eb(0x105)])(_0x2a3753,_0x2e61a4);let _0x160df3=await(0x0,load_1['loadJsonFromDisk'])(_0x1e8c17),_0x23d600=imageHelper_1[_0x5a23eb(0xb3)][_0x5a23eb(0x103)](0x200);_0x160df3[_0x5a23eb(0xc2)][0x0][_0x5a23eb(0xd4)]=_0x2e61a4,await _0x23d600[_0x5a23eb(0xf8)](_0x3015c0),await fs['writeFileSync'](_0x1e8c17,JSON[_0x5a23eb(0xa1)](_0x160df3));}}static['updateTeamId'](_0x54c247,_0x1afcf8){const _0x13f757=_0x2e18cf;_0x54c247[_0x13f757(0x107)]('DEVELOPMENT_TEAM',_0x1afcf8),useExportOptionsXML=useExportOptionsXML[_0x13f757(0xc6)](_0x13f757(0xd1),_0x1afcf8);}static['updateExportOptions'](){const _0x1ce60b=_0x2e18cf;!fs[_0x1ce60b(0xec)](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x1ce60b(0xc3)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1[_0x1ce60b(0x105)])(resource_1[_0x1ce60b(0xba)],_0x1ce60b(0xdc)),useExportOptionsXML);}static[_0x2e18cf(0xa8)](_0xe63772,_0x392f84,_0x374834=![]){const _0x255800=_0x2e18cf;var _0x22951a;_0xe63772[_0x255800(0xc0)](_0x392f84['name']),_0x392f84['id']&&!_0x374834&&_0xe63772['updateBuildProperty']('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x392f84['id']+'\x22'),this[_0x255800(0xc7)]((_0x22951a=_0x392f84[_0x255800(0xe5)])!==null&&_0x22951a!==void 0x0?_0x22951a:[]),this[_0x255800(0xc1)](_0x392f84);}static[_0x2e18cf(0xf2)](_0x33e9a2,_0x197e8d){const _0x3b793a=_0x2e18cf;_0x33e9a2[_0x3b793a(0x107)]('CURRENT_PROJECT_VERSION',_0x197e8d);}static[_0x2e18cf(0xc7)](_0xde8ac1){const _0xeefd6c=_0x2e18cf;let _0x300556=(0x0,path_1[_0xeefd6c(0x105)])(resource_1['PROJECT_DIRECTORY'],'./web-spatial/Info.plist'),_0xddbcee='';for(let _0x26568c=0x0;_0x26568c<_0xde8ac1['length'];_0x26568c++){_0xddbcee+=_0xeefd6c(0xa6)+_0xde8ac1[_0x26568c][_0xeefd6c(0x106)]+_0xeefd6c(0xaf);}const _0xa34471=infoPlistXML['replace']('DEEPLINK',_0xddbcee);fs['writeFileSync'](_0x300556,_0xa34471);}static[_0x2e18cf(0xc1)](_0x114460){const _0x1432f7=_0x2e18cf,_0x329fc1=(0x0,path_1[_0x1432f7(0x105)])(resource_1['PROJECT_DIRECTORY'],_0x1432f7(0xea));let _0x1fa3f2=manifestSwiftTemplate_1[_0x1432f7(0x104)];_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)](_0x1432f7(0xcc),_0x114460[_0x1432f7(0xb4)]),_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)](_0x1432f7(0xbd),_0x114460[_0x1432f7(0xce)]),_0x1fa3f2=_0x1fa3f2['replace']('AppName',_0x114460[_0x1432f7(0xe9)]),_0x1fa3f2=_0x1fa3f2['replace'](_0x1432f7(0x102),_0x114460[_0x1432f7(0xa2)]),_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)](_0x1432f7(0xf6),_0x114460['id']),_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)](_0x1432f7(0xda),_0x114460[_0x1432f7(0xd3)]==_0x1432f7(0xad)?_0x1432f7(0xda):'.standalone');if(_0x114460[_0x1432f7(0xe5)]){let _0x97c082='';for(let _0x2f1dbd=0x0;_0x2f1dbd<_0x114460[_0x1432f7(0xe5)]['length'];_0x2f1dbd++){_0x97c082+=_0x1432f7(0xc5)+_0x114460[_0x1432f7(0xe5)][_0x2f1dbd][_0x1432f7(0x106)]+_0x1432f7(0xaa)+_0x114460[_0x1432f7(0xe5)][_0x2f1dbd][_0x1432f7(0xc8)]+_0x1432f7(0xc9);}_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)](_0x1432f7(0x9f),_0x97c082);}typeof _0x114460[_0x1432f7(0xb2)]==='object'?(_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)](_0x1432f7(0xab),_0x114460['mainScene'][_0x1432f7(0xf1)][_0x1432f7(0xe0)]),_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)]('SceneHeight',_0x114460[_0x1432f7(0xb2)][_0x1432f7(0xf1)][_0x1432f7(0xcf)]),_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)]('SceneResizability','\x22'+_0x114460[_0x1432f7(0xb2)][_0x1432f7(0xb7)]+'\x22'),_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)](_0x1432f7(0xe3),_0x1432f7(0xbe))):(_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)]('SceneWidth',_0x1432f7(0xdf)),_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)](_0x1432f7(0xb0),_0x1432f7(0xdf)),_0x1fa3f2=_0x1fa3f2['replace'](_0x1432f7(0xdd),_0x1432f7(0xa4)),_0x1fa3f2=_0x1fa3f2[_0x1432f7(0xc6)](_0x1432f7(0xe3),_0x1432f7(0xf5))),fs[_0x1432f7(0xbf)](_0x329fc1,_0x1fa3f2,_0x1432f7(0xac));}}exports['default']=XcodeProject;
1
+ 'use strict';const _0x339763=_0x59b4;(function(_0x2f46e4,_0x5546e9){const _0x3d1763=_0x59b4,_0x3af311=_0x2f46e4();while(!![]){try{const _0x370ec2=-parseInt(_0x3d1763(0x163))/0x1*(parseInt(_0x3d1763(0x11e))/0x2)+parseInt(_0x3d1763(0x151))/0x3+-parseInt(_0x3d1763(0x179))/0x4*(-parseInt(_0x3d1763(0x13e))/0x5)+parseInt(_0x3d1763(0x123))/0x6*(parseInt(_0x3d1763(0x11b))/0x7)+parseInt(_0x3d1763(0x142))/0x8+parseInt(_0x3d1763(0x176))/0x9*(parseInt(_0x3d1763(0x111))/0xa)+-parseInt(_0x3d1763(0x149))/0xb;if(_0x370ec2===_0x5546e9)break;else _0x3af311['push'](_0x3af311['shift']());}catch(_0x3ce1fa){_0x3af311['push'](_0x3af311['shift']());}}}(_0x4d13,0x8ad78));Object[_0x339763(0x141)](exports,_0x339763(0x11a),{'value':!![]});const fs=require('fs'),resource_1=require(_0x339763(0x160)),path_1=require(_0x339763(0x128)),load_1=require(_0x339763(0x15c)),imageHelper_1=require(_0x339763(0x14a)),manifestSwiftTemplate_1=require(_0x339763(0x126)),xcode=require(_0x339763(0x119)),exportOptionsXML=_0x339763(0x166),infoPlistXML=_0x339763(0x164);function _0x4d13(){const _0x18e7b6=['PROJECT_DIRECTORY','../resource','manifestSwiftTemplate','buildSettings','690299ocIxEB','<?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','SceneWidth','<?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>','object','.minimal','updateVersion','parseSync','updateProductName','MIDDLE_APPICON_DIRECTORY','join','writeAsync','release-testing','split','width','./web-spatial/libs/webView/manifest.swift','filename','bindIcon','SceneResizability','9TpUZOs','\x22),','icon.png','8GtrYnJ','SCOPE','AppID','project','SceneHeight','app-store-connect','writeSync','fixProjectFunction','4588060QLFTPe','description','pbxXCConfigurationList','teamId','updateExportOptions','protocol_handlers','updateDeeplink','YOURTEAMID','xcode','__esModule','7iYHXuP','\x22automatic\x22','url','2nUWTEs','PROJECT_BUILD_DIRECTORY','PWAProtocol(protocolValue:\x20\x22','json','buildConfigurations','3029772lswYgB','PBXGroup','pbxXCBuildConfigurationSection','./manifestSwiftTemplate','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','path','resizability','updateBuildProperty','replace','utf-8','name','mainScene','defaultSize','manifestInfo','PRODUCT_BUNDLE_IDENTIFIER','pbxTargetByName','modifySwift','existsSync','test','true','updateTeamId','loadJsonFromDisk','value','START_URL','mkdirSync','version','buildType','1641055ebqadO','</string>','writeFileSync','defineProperty','1540416bBEeTk','false','DEVELOPMENT_TEAM','<string>','minimal-ui','push','images','8638619XQWNme','../resource/imageHelper','protocol','hash','stringify','icon','enterprise','Description','694746HjTPkz','log','USE_MAIN_SCENE','ExportOptions.plist','Contents.json','debugging','length','bindManifestInfo','modify','createImg','includes','../resource/load','1280','CURRENT_PROJECT_VERSION'];_0x4d13=function(){return _0x18e7b6;};return _0x4d13();}let useExportOptionsXML='';class XcodeProject{static async[_0x339763(0x159)](_0x1b37db,_0x3f4abd,_0x2c71bb=![]){const _0x617941=_0x339763;let _0x36b106=xcode['project'](_0x1b37db);this[_0x617941(0x110)](_0x36b106),_0x36b106[_0x617941(0x16a)]();let _0x4da8bf=_0x3f4abd[_0x617941(0x13d)];const _0x504a79=[_0x617941(0x16f),_0x617941(0x10e),_0x617941(0x156),_0x617941(0x14f)];useExportOptionsXML=exportOptionsXML[_0x617941(0x12b)]('BUILDTYPE',_0x504a79[_0x617941(0x15b)](_0x4da8bf)?_0x4da8bf:'release-testing');_0x3f4abd[_0x617941(0x114)]&&this[_0x617941(0x137)](_0x36b106,_0x3f4abd['teamId']);this[_0x617941(0x115)]();if(_0x3f4abd[_0x617941(0x14e)])await this[_0x617941(0x174)](_0x3f4abd[_0x617941(0x14e)]);this['bindManifestInfo'](_0x36b106,_0x3f4abd[_0x617941(0x130)][_0x617941(0x121)],_0x2c71bb);_0x3f4abd[_0x617941(0x13c)]?this[_0x617941(0x169)](_0x36b106,_0x3f4abd['version']):this[_0x617941(0x169)](_0x36b106,'1.0');try{fs[_0x617941(0x140)](_0x1b37db,_0x36b106[_0x617941(0x10f)]());}catch(_0x4c5da1){console[_0x617941(0x152)](_0x4c5da1);}}static[_0x339763(0x110)](_0x528819){const _0x3db6dc=_0x339763;_0x528819['pbxGroupByName']=function(_0x33b066){const _0x37301e=_0x59b4;var _0x550164=this[_0x37301e(0x14c)][_0x37301e(0x10c)]['objects'][_0x37301e(0x124)],_0x711ed0,_0x477347;for(_0x711ed0 in _0x550164){if(!/_comment$/['test'](_0x711ed0))continue;if(_0x550164[_0x711ed0]==_0x33b066)return _0x477347=_0x711ed0[_0x37301e(0x170)](/_comment$/)[0x0],_0x550164[_0x477347];}return![];},_0x528819[_0x3db6dc(0x12a)]=function(_0xa44357,_0x1a3e9f,_0x139cd3,_0x49250e){const _0x6cb563=_0x3db6dc;let _0x49c4a8=[];const _0x3055e=/_comment$/;if(_0x49250e){const _0x4970da=this[_0x6cb563(0x132)](_0x49250e),_0x1d2474=_0x4970da&&_0x4970da['buildConfigurationList'],_0x311391=this[_0x6cb563(0x113)]();for(const _0x39f31a in _0x311391){if(!_0x3055e['test'](_0x39f31a)&&_0x1d2474===_0x39f31a){const _0x2061c9=_0x311391[_0x39f31a][_0x6cb563(0x122)];for(const _0x263461 of _0x2061c9){_0x49c4a8[_0x6cb563(0x147)](_0x263461[_0x6cb563(0x139)]);}break;}}}var _0x4c9d23=this[_0x6cb563(0x125)]();for(var _0x22d556 in _0x4c9d23){if(!_0x3055e[_0x6cb563(0x135)](_0x22d556)){if(_0x49250e&&!_0x49c4a8[_0x6cb563(0x15b)](_0x22d556))continue;var _0x18322e=_0x4c9d23[_0x22d556];(_0x139cd3&&_0x18322e[_0x6cb563(0x12d)]===_0x139cd3||!_0x139cd3)&&_0x18322e[_0x6cb563(0x162)][_0xa44357]&&(_0x18322e[_0x6cb563(0x162)][_0xa44357]=_0x1a3e9f);}}};}static async['bindIcon'](_0x59123f){const _0x6a78d6=_0x339763;if(_0x59123f){const _0x38d3d2=(0x0,path_1[_0x6a78d6(0x16d)])(resource_1[_0x6a78d6(0x15f)],resource_1['BACK_APPICON_DIRECTORY']),_0x17feff=(0x0,path_1[_0x6a78d6(0x16d)])(_0x38d3d2,'Contents.json'),_0x591ed9='icon.'+_0x59123f['getMIME']()[_0x6a78d6(0x12b)]('image/',''),_0x355a48=(0x0,path_1[_0x6a78d6(0x16d)])(_0x38d3d2,_0x591ed9);let _0x17af4d=await(0x0,load_1[_0x6a78d6(0x138)])(_0x17feff);_0x17af4d[_0x6a78d6(0x148)][0x0][_0x6a78d6(0x173)]=_0x591ed9,await _0x59123f[_0x6a78d6(0x16e)](_0x355a48),await fs[_0x6a78d6(0x140)](_0x17feff,JSON['stringify'](_0x17af4d));const _0x180ffd=(0x0,path_1['join'])(resource_1[_0x6a78d6(0x15f)],resource_1[_0x6a78d6(0x16c)]),_0x3e8bd7=(0x0,path_1[_0x6a78d6(0x16d)])(_0x180ffd,_0x6a78d6(0x155)),_0x2a1e94=_0x6a78d6(0x178),_0x4d3368=(0x0,path_1['join'])(_0x180ffd,_0x2a1e94);let _0x37e3c6=await(0x0,load_1['loadJsonFromDisk'])(_0x3e8bd7),_0x1cefa3=imageHelper_1['ImageHelper'][_0x6a78d6(0x15a)](0x200);_0x37e3c6[_0x6a78d6(0x148)][0x0][_0x6a78d6(0x173)]=_0x2a1e94,await _0x1cefa3[_0x6a78d6(0x16e)](_0x4d3368),await fs['writeFileSync'](_0x3e8bd7,JSON[_0x6a78d6(0x14d)](_0x37e3c6));}}static[_0x339763(0x137)](_0x5639e0,_0x3bf757){const _0x4e87c5=_0x339763;_0x5639e0['updateBuildProperty'](_0x4e87c5(0x144),_0x3bf757),useExportOptionsXML=useExportOptionsXML[_0x4e87c5(0x12b)](_0x4e87c5(0x118),_0x3bf757);}static[_0x339763(0x115)](){const _0x4a368c=_0x339763;!fs[_0x4a368c(0x134)](resource_1[_0x4a368c(0x11f)])&&fs[_0x4a368c(0x13b)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x4a368c(0x140)]((0x0,path_1[_0x4a368c(0x16d)])(resource_1[_0x4a368c(0x11f)],_0x4a368c(0x154)),useExportOptionsXML);}static[_0x339763(0x158)](_0x1f0260,_0x4fd52c,_0x1ab660=![]){const _0x16f567=_0x339763;var _0x3fd35b;_0x1f0260[_0x16f567(0x16b)](_0x4fd52c[_0x16f567(0x12d)]),_0x4fd52c['id']&&!_0x1ab660&&_0x1f0260[_0x16f567(0x12a)](_0x16f567(0x131),'\x22'+_0x4fd52c['id']+'\x22'),this[_0x16f567(0x117)]((_0x3fd35b=_0x4fd52c[_0x16f567(0x116)])!==null&&_0x3fd35b!==void 0x0?_0x3fd35b:[]),this[_0x16f567(0x133)](_0x4fd52c);}static[_0x339763(0x169)](_0x2627f8,_0x5b8b05){const _0x44e9ad=_0x339763;_0x2627f8['updateBuildProperty'](_0x44e9ad(0x15e),_0x5b8b05);}static['updateDeeplink'](_0x3b52d5){const _0x4d6e70=_0x339763;let _0x523c78=(0x0,path_1[_0x4d6e70(0x16d)])(resource_1[_0x4d6e70(0x15f)],'./web-spatial/Info.plist'),_0x2c9bb5='';for(let _0x28f56c=0x0;_0x28f56c<_0x3b52d5[_0x4d6e70(0x157)];_0x28f56c++){_0x2c9bb5+=_0x4d6e70(0x145)+_0x3b52d5[_0x28f56c][_0x4d6e70(0x14b)]+_0x4d6e70(0x13f);}const _0x2a22f6=infoPlistXML[_0x4d6e70(0x12b)]('DEEPLINK',_0x2c9bb5);fs[_0x4d6e70(0x140)](_0x523c78,_0x2a22f6);}static['modifySwift'](_0x5747f3){const _0x57c2b5=_0x339763,_0xbedce=(0x0,path_1[_0x57c2b5(0x16d)])(resource_1[_0x57c2b5(0x15f)],_0x57c2b5(0x172));let _0x867534=manifestSwiftTemplate_1[_0x57c2b5(0x161)];_0x867534=_0x867534['replace'](_0x57c2b5(0x13a),_0x5747f3['start_url']),_0x867534=_0x867534[_0x57c2b5(0x12b)](_0x57c2b5(0x17a),_0x5747f3['scope']),_0x867534=_0x867534[_0x57c2b5(0x12b)]('AppName',_0x5747f3['name']),_0x867534=_0x867534[_0x57c2b5(0x12b)](_0x57c2b5(0x150),_0x5747f3[_0x57c2b5(0x112)]),_0x867534=_0x867534['replace'](_0x57c2b5(0x17b),_0x5747f3['id']),_0x867534=_0x867534[_0x57c2b5(0x12b)]('.minimal',_0x5747f3['display']==_0x57c2b5(0x146)?_0x57c2b5(0x168):'.standalone');if(_0x5747f3['protocol_handlers']){let _0x1ba33e='';for(let _0x38f661=0x0;_0x38f661<_0x5747f3[_0x57c2b5(0x116)][_0x57c2b5(0x157)];_0x38f661++){_0x1ba33e+=_0x57c2b5(0x120)+_0x5747f3[_0x57c2b5(0x116)][_0x38f661]['protocol']+'\x22,\x20url:\x20\x22'+_0x5747f3['protocol_handlers'][_0x38f661][_0x57c2b5(0x11d)]+_0x57c2b5(0x177);}_0x867534=_0x867534[_0x57c2b5(0x12b)](_0x57c2b5(0x127),_0x1ba33e);}typeof _0x5747f3['mainScene']===_0x57c2b5(0x167)?(_0x867534=_0x867534[_0x57c2b5(0x12b)]('SceneWidth',_0x5747f3[_0x57c2b5(0x12e)]['defaultSize'][_0x57c2b5(0x171)]),_0x867534=_0x867534[_0x57c2b5(0x12b)](_0x57c2b5(0x10d),_0x5747f3[_0x57c2b5(0x12e)][_0x57c2b5(0x12f)]['height']),_0x867534=_0x867534['replace'](_0x57c2b5(0x175),'\x22'+_0x5747f3[_0x57c2b5(0x12e)][_0x57c2b5(0x129)]+'\x22'),_0x867534=_0x867534[_0x57c2b5(0x12b)](_0x57c2b5(0x153),_0x57c2b5(0x136))):(_0x867534=_0x867534[_0x57c2b5(0x12b)](_0x57c2b5(0x165),'1280'),_0x867534=_0x867534[_0x57c2b5(0x12b)](_0x57c2b5(0x10d),_0x57c2b5(0x15d)),_0x867534=_0x867534[_0x57c2b5(0x12b)](_0x57c2b5(0x175),_0x57c2b5(0x11c)),_0x867534=_0x867534[_0x57c2b5(0x12b)](_0x57c2b5(0x153),_0x57c2b5(0x143))),fs[_0x57c2b5(0x140)](_0xbedce,_0x867534,_0x57c2b5(0x12c));}}function _0x59b4(_0x21d892,_0x6232){const _0x4d13f0=_0x4d13();return _0x59b4=function(_0x59b4c9,_0x98d956){_0x59b4c9=_0x59b4c9-0x10c;let _0x5cec2a=_0x4d13f0[_0x59b4c9];return _0x5cec2a;},_0x59b4(_0x21d892,_0x6232);}exports['default']=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x464457=_0x1243;(function(_0x15706e,_0x17c424){const _0x394d96=_0x1243,_0x13af68=_0x15706e();while(!![]){try{const _0x3b2ce6=parseInt(_0x394d96(0xdd))/0x1+-parseInt(_0x394d96(0x114))/0x2*(-parseInt(_0x394d96(0xcf))/0x3)+parseInt(_0x394d96(0xfa))/0x4+-parseInt(_0x394d96(0x100))/0x5*(-parseInt(_0x394d96(0x108))/0x6)+-parseInt(_0x394d96(0xdc))/0x7*(parseInt(_0x394d96(0xfd))/0x8)+-parseInt(_0x394d96(0x10b))/0x9*(parseInt(_0x394d96(0xe2))/0xa)+-parseInt(_0x394d96(0xf0))/0xb;if(_0x3b2ce6===_0x17c424)break;else _0x13af68['push'](_0x13af68['shift']());}catch(_0x313229){_0x13af68['push'](_0x13af68['shift']());}}}(_0x56c3,0xe38ba));Object[_0x464457(0xcd)](exports,_0x464457(0xf8),{'value':!![]});const child_process_1=require(_0x464457(0x113)),resource_1=require(_0x464457(0x115)),path_1=require(_0x464457(0xe1)),fs=require('fs'),xcodebuild_1=require(_0x464457(0xd2)),file_1=require('../resource/file');class Xcrun{static async[_0x464457(0xd6)](_0x9e33e4,_0x593bf2,_0x76842e,_0x5ac4b2){const _0x292509=_0x464457,_0x461186=new XcrunCMD()[_0x292509(0xeb)]();_0x461186[_0x292509(0xd6)](_0x9e33e4);_0x5ac4b2?_0x461186[_0x292509(0x102)](_0x593bf2,_0x76842e):_0x461186[_0x292509(0xff)](_0x593bf2,_0x76842e);_0x461186[_0x292509(0xec)](_0x292509(0xf6));const _0x28adee=(0x0,child_process_1[_0x292509(0xce)])(_0x461186[_0x292509(0xf2)]);return _0x28adee[_0x292509(0xfc)]();}static async[_0x464457(0xd3)](_0x44939b,_0x36ccd8,_0x115b29,_0x13831c,_0x31cec1){const _0x119dfa=_0x464457,_0x4c3311=new XcrunCMD()[_0x119dfa(0xeb)]();_0x4c3311[_0x119dfa(0xd3)](_0x44939b);_0x31cec1?_0x4c3311['authAccount'](_0x36ccd8,_0x115b29):_0x4c3311[_0x119dfa(0xff)](_0x36ccd8,_0x115b29);_0x4c3311[_0x119dfa(0xec)](_0x119dfa(0xf6)),_0x4c3311[_0x119dfa(0x110)](_0x13831c);const _0xaa5f4a=(0x0,child_process_1[_0x119dfa(0xce)])(_0x4c3311['line']);return _0xaa5f4a['toString']();}static async['uploadApp'](_0x5ab3a4,_0x82ab04,_0x566323,_0x1373c8){const _0x23033f=_0x464457,_0x4c39e3=new XcrunCMD()[_0x23033f(0xeb)]();_0x4c39e3['uploadApp'](_0x5ab3a4);_0x1373c8?_0x4c39e3[_0x23033f(0x102)](_0x82ab04,_0x566323):_0x4c39e3[_0x23033f(0xff)](_0x82ab04,_0x566323);_0x4c39e3['platform'](_0x23033f(0xf6));const _0x3616cf=(0x0,child_process_1[_0x23033f(0xce)])(_0x4c39e3[_0x23033f(0xf2)]);return _0x3616cf[_0x23033f(0xfc)]();}static async[_0x464457(0xe9)](_0x4615db){const _0x108c62=_0x464457;let _0x21cff5=new XcrunCMD()['simctl']();_0x21cff5[_0x108c62(0x112)]('Apple\x20Vision\x20Pro');const _0x25b047=(0x0,child_process_1['execSync'])(_0x21cff5['line']),_0x118878=this[_0x108c62(0x103)](_0x25b047[_0x108c62(0xfc)]());if(_0x118878[_0x108c62(0xdf)]===0x0)throw new Error('no\x20visionOS\x20simulator\x20found');let _0xa3e8dd=_0x118878[0x0];for(let _0x1c7da2=0x0;_0x1c7da2<_0x118878[_0x108c62(0xdf)];_0x1c7da2++){if(_0x118878[_0x1c7da2][_0x108c62(0x101)]===_0x108c62(0xf3)){_0xa3e8dd=_0x118878[_0x1c7da2];break;}}console['log'](_0x108c62(0x10f)+_0xa3e8dd['deviceId']);const _0x246dfc=resource_1[_0x108c62(0x105)]+_0x108c62(0x109),_0x51f88b=resource_1[_0x108c62(0xda)]+'/test';!fs[_0x108c62(0xe5)](resource_1[_0x108c62(0xda)])&&fs[_0x108c62(0xe4)](resource_1[_0x108c62(0xda)],{'recursive':!![]});!fs[_0x108c62(0xe5)](_0x51f88b)&&fs[_0x108c62(0xe4)](_0x51f88b,{'recursive':!![]});(0x0,file_1[_0x108c62(0xf5)])(_0x51f88b);const _0xdaba26=new xcodebuild_1[(_0x108c62(0xd7))]()['project'](_0x246dfc)['line']+(_0x108c62(0xca)+_0xa3e8dd[_0x108c62(0xcc)]+_0x108c62(0xee)+_0x51f88b);console['log'](_0x108c62(0xdb)),(0x0,child_process_1[_0x108c62(0xce)])(_0xdaba26),console[_0x108c62(0xf1)](_0x108c62(0xde));_0xa3e8dd[_0x108c62(0x101)]===_0x108c62(0x118)&&(_0x21cff5=new XcrunCMD()[_0x108c62(0xe8)](),_0x21cff5[_0x108c62(0xe0)](_0xa3e8dd[_0x108c62(0xcc)]),(0x0,child_process_1[_0x108c62(0xce)])(_0x21cff5[_0x108c62(0xf2)]));(0x0,child_process_1['execSync'])(_0x108c62(0xcb)),console['log'](_0x108c62(0xd4));const _0x2d3bdc=(0x0,path_1['join'])(_0x51f88b,_0x108c62(0x117)+_0x4615db[_0x108c62(0xfe)]+'.app');_0x21cff5=new XcrunCMD()[_0x108c62(0xe8)](),_0x21cff5[_0x108c62(0x10a)](_0xa3e8dd['deviceId'],_0x2d3bdc),(0x0,child_process_1['execSync'])(_0x21cff5[_0x108c62(0xf2)]),console[_0x108c62(0xf1)]('install\x20success'),console[_0x108c62(0xf1)](_0x108c62(0xea)),_0x21cff5=new XcrunCMD()[_0x108c62(0xe8)](),_0x21cff5[_0x108c62(0x111)](_0xa3e8dd['deviceId'],_0x4615db['id']),(0x0,child_process_1[_0x108c62(0xce)])(_0x21cff5[_0x108c62(0xf2)]);}static['parseListDevices'](_0x340da2){const _0x359ec0=_0x464457;let _0x5ec7e2=_0x340da2[_0x359ec0(0xef)]('\x0a'),_0x3f59be=[],_0x37134b=-0x1;for(let _0x9474b=0x0;_0x9474b<_0x5ec7e2[_0x359ec0(0xdf)];_0x9474b++){if(_0x5ec7e2[_0x9474b]['includes'](_0x359ec0(0x10d)))_0x37134b=_0x9474b;else{if(_0x37134b>0x0){if(_0x5ec7e2[_0x9474b][_0x359ec0(0x10e)]('--\x20'))break;if(_0x5ec7e2[_0x9474b][_0x359ec0(0xdf)]>0x0){const _0x18fb3c=_0x5ec7e2[_0x9474b][_0x359ec0(0xef)]('('),_0x3ae892={'name':_0x18fb3c[0x0][_0x359ec0(0xd9)](),'deviceId':_0x18fb3c[0x1][_0x359ec0(0xef)](')')[0x0][_0x359ec0(0xd9)](),'state':_0x18fb3c[0x2][_0x359ec0(0xef)](')')[0x0][_0x359ec0(0xd9)]()};_0x3f59be['push'](_0x3ae892);}}}}return _0x3f59be;}}exports['default']=Xcrun;function _0x56c3(){const _0x21c1fa=['authAccount','parseListDevices','\x20--upload-package\x20','PROJECT_DIRECTORY','\x20--validate-app\x20-f\x20','\x20-p\x20','252qWBzRd','/web-spatial.xcodeproj','install','1623312KAibpJ','verbose','--\x20visionOS','includes','find\x20simulator:\x20','appleId','launch','listDevices','child_process','21542HVSPpS','../resource','\x20--bundle-version\x20','Build/Products/Debug-xrsimulator/','Shutdown','\x20launch\x20\x22','\x20shutdown\x20booted','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','deviceId','defineProperty','execSync','237CxjtRL','\x20--apiKey\x20','version','./xcodebuild','uploadPackage','installing\x20app','xcrun','validate','XcodebuildCMD','list','trim','PROJECT_BUILD_DIRECTORY','start\x20building','19110uQjLWO','1533309AzeklE','build\x20success','length','boot','path','40WTZajA','\x20--apple-id\x20','mkdirSync','existsSync','shutdown','\x20altool','simctl','runWithSimulator','launch\x20app','altool','platform','\x20-t\x20','\x27\x20-derivedDataPath\x20','split','10210420DNUDQe','log','line','Booted','\x20--verbose','clearDir','visionos','uploadApp','__esModule','\x20-u\x20','4548160xASiUK','\x20install\x20\x22','toString','3736SSCNMQ','name','authApi','39925PcTXkV','state'];_0x56c3=function(){return _0x21c1fa;};return _0x56c3();}function _0x1243(_0x1fee23,_0x41d664){const _0x56c325=_0x56c3();return _0x1243=function(_0x12436e,_0x6ee3de){_0x12436e=_0x12436e-0xca;let _0x1dfbde=_0x56c325[_0x12436e];return _0x1dfbde;},_0x1243(_0x1fee23,_0x41d664);}class XcrunCMD{constructor(){const _0x3b1105=_0x464457;this['line']=_0x3b1105(0xd5);}[_0x464457(0xeb)](){const _0x110a26=_0x464457;return this[_0x110a26(0xf2)]+=_0x110a26(0xe7),this;}[_0x464457(0xe8)](){const _0x1f6948=_0x464457;return this[_0x1f6948(0xf2)]+='\x20simctl',this;}[_0x464457(0xd8)](){const _0x4f2c83=_0x464457;return this[_0x4f2c83(0xf2)]+='\x20list',this;}[_0x464457(0x112)](_0x442a99){const _0x2d6bff=_0x464457;return this[_0x2d6bff(0xf2)]+='\x20list\x20devices\x20\x22'+_0x442a99+'\x22',this;}[_0x464457(0xd6)](_0x32b36f){const _0x562add=_0x464457;return this[_0x562add(0xf2)]+=_0x562add(0x106)+_0x32b36f,this;}[_0x464457(0xf7)](_0x1ed4d3){return this['line']+='\x20--upload-app\x20-f\x20'+_0x1ed4d3,this;}['uploadPackage'](_0x21e09e){const _0x52e4a3=_0x464457;return this[_0x52e4a3(0xf2)]+=_0x52e4a3(0x104)+_0x21e09e,this;}[_0x464457(0x102)](_0x4cb206,_0x1bce6a){const _0x5b3723=_0x464457;return this[_0x5b3723(0xf2)]+=_0x5b3723(0xf9)+_0x4cb206+_0x5b3723(0x107)+_0x1bce6a,this;}['authApi'](_0x9cd9eb,_0x435908){const _0x4376d2=_0x464457;return this[_0x4376d2(0xf2)]+=_0x4376d2(0xd0)+_0x9cd9eb+'\x20--apiIssuer\x20'+_0x435908,this;}['appleId'](_0x4f092e){const _0x31bdbc=_0x464457;return this[_0x31bdbc(0xf2)]+=_0x31bdbc(0xe3)+_0x4f092e,this;}[_0x464457(0xec)](_0x10a499){const _0x1a15ca=_0x464457;return this[_0x1a15ca(0xf2)]+=_0x1a15ca(0xed)+_0x10a499,this;}[_0x464457(0xd1)](_0x3fe974){const _0x22db6c=_0x464457;return this[_0x22db6c(0xf2)]+=_0x22db6c(0x116)+_0x3fe974,this;}[_0x464457(0x10c)](){const _0xcf35c0=_0x464457;return this[_0xcf35c0(0xf2)]+=_0xcf35c0(0xf4),this;}[_0x464457(0xe6)](){const _0x2a0126=_0x464457;return this[_0x2a0126(0xf2)]+=_0x2a0126(0x11a),this;}[_0x464457(0xe0)](_0xb8a617){return this['line']+='\x20boot\x20\x22'+_0xb8a617+'\x22',this;}[_0x464457(0x10a)](_0x42af69,_0x23598e){const _0x3bec9f=_0x464457;return this[_0x3bec9f(0xf2)]+=_0x3bec9f(0xfb)+_0x42af69+'\x22\x20\x22'+_0x23598e+'\x22',this;}[_0x464457(0x111)](_0x3125d9,_0x17a9d5){const _0x16c1b8=_0x464457;return this[_0x16c1b8(0xf2)]+=_0x16c1b8(0x119)+_0x3125d9+'\x22\x20\x22'+_0x17a9d5+'\x22',this;}}
1
+ 'use strict';const _0x356bc7=_0x3623;(function(_0x53f44b,_0x12bb7c){const _0x54bbf1=_0x3623,_0x235011=_0x53f44b();while(!![]){try{const _0x3c027d=-parseInt(_0x54bbf1(0xdc))/0x1*(parseInt(_0x54bbf1(0x90))/0x2)+parseInt(_0x54bbf1(0xd0))/0x3*(-parseInt(_0x54bbf1(0xa6))/0x4)+parseInt(_0x54bbf1(0xc4))/0x5+-parseInt(_0x54bbf1(0xcb))/0x6*(-parseInt(_0x54bbf1(0xc9))/0x7)+parseInt(_0x54bbf1(0xa3))/0x8*(parseInt(_0x54bbf1(0xc6))/0x9)+parseInt(_0x54bbf1(0x92))/0xa*(parseInt(_0x54bbf1(0x9f))/0xb)+-parseInt(_0x54bbf1(0xbe))/0xc;if(_0x3c027d===_0x12bb7c)break;else _0x235011['push'](_0x235011['shift']());}catch(_0x1dd8ab){_0x235011['push'](_0x235011['shift']());}}}(_0x3d12,0x8c3c2));Object['defineProperty'](exports,_0x356bc7(0xb6),{'value':!![]});function _0x3623(_0x202dca,_0x471ae4){const _0x3d1261=_0x3d12();return _0x3623=function(_0x3623cf,_0x43d3b4){_0x3623cf=_0x3623cf-0x8d;let _0x355119=_0x3d1261[_0x3623cf];return _0x355119;},_0x3623(_0x202dca,_0x471ae4);}const child_process_1=require(_0x356bc7(0xd3)),resource_1=require('../resource'),path_1=require(_0x356bc7(0xb1)),fs=require('fs'),xcodebuild_1=require(_0x356bc7(0xce)),file_1=require(_0x356bc7(0xbb));class Xcrun{static async[_0x356bc7(0xa2)](_0x223d65,_0x24748,_0x5c43b0,_0x25c625){const _0x2d3444=_0x356bc7,_0x59e4a0=new XcrunCMD()[_0x2d3444(0xb5)]();_0x59e4a0[_0x2d3444(0xa2)](_0x223d65);_0x25c625?_0x59e4a0[_0x2d3444(0xc1)](_0x24748,_0x5c43b0):_0x59e4a0['authApi'](_0x24748,_0x5c43b0);_0x59e4a0[_0x2d3444(0xc3)](_0x2d3444(0x96));const _0x3d3eba=(0x0,child_process_1['execSync'])(_0x59e4a0[_0x2d3444(0xb2)]);return _0x3d3eba[_0x2d3444(0xc8)]();}static async['uploadPackage'](_0x186416,_0x5dd15c,_0x372c13,_0x3111a0,_0x1d3860){const _0xe249f1=_0x356bc7,_0x5904f3=new XcrunCMD()[_0xe249f1(0xb5)]();_0x5904f3['uploadPackage'](_0x186416);_0x1d3860?_0x5904f3[_0xe249f1(0xc1)](_0x5dd15c,_0x372c13):_0x5904f3[_0xe249f1(0xa4)](_0x5dd15c,_0x372c13);_0x5904f3[_0xe249f1(0xc3)](_0xe249f1(0x96)),_0x5904f3[_0xe249f1(0x9a)](_0x3111a0);const _0x60af20=(0x0,child_process_1[_0xe249f1(0x95)])(_0x5904f3[_0xe249f1(0xb2)]);return _0x60af20[_0xe249f1(0xc8)]();}static async[_0x356bc7(0xb7)](_0x19cfd4,_0x5610d8,_0x5f25b9,_0x2de3e4){const _0x26a93d=_0x356bc7,_0x123aa6=new XcrunCMD()[_0x26a93d(0xb5)]();_0x123aa6[_0x26a93d(0xb7)](_0x19cfd4);_0x2de3e4?_0x123aa6['authAccount'](_0x5610d8,_0x5f25b9):_0x123aa6[_0x26a93d(0xa4)](_0x5610d8,_0x5f25b9);_0x123aa6[_0x26a93d(0xc3)]('visionos');const _0x233d65=(0x0,child_process_1[_0x26a93d(0x95)])(_0x123aa6[_0x26a93d(0xb2)]);return _0x233d65[_0x26a93d(0xc8)]();}static async['runWithSimulator'](_0x1823a7){const _0x34fa58=_0x356bc7;let _0x53b928=new XcrunCMD()[_0x34fa58(0xbc)]();_0x53b928['listDevices'](_0x34fa58(0x99));const _0x5f3e88=(0x0,child_process_1['execSync'])(_0x53b928[_0x34fa58(0xb2)]),_0x5a597a=this['parseListDevices'](_0x5f3e88[_0x34fa58(0xc8)]());if(_0x5a597a[_0x34fa58(0xc2)]===0x0)throw new Error(_0x34fa58(0xa7));let _0xe93214=_0x5a597a[0x0];for(let _0x79fa=0x0;_0x79fa<_0x5a597a[_0x34fa58(0xc2)];_0x79fa++){if(_0x5a597a[_0x79fa][_0x34fa58(0xa8)]===_0x34fa58(0xc5)){_0xe93214=_0x5a597a[_0x79fa];break;}}console['log'](_0x34fa58(0xb8)+_0xe93214[_0x34fa58(0xcf)]);const _0x55f440=resource_1[_0x34fa58(0xa5)]+_0x34fa58(0xb0),_0x12a094=resource_1[_0x34fa58(0xc0)]+_0x34fa58(0xbf);!fs[_0x34fa58(0xba)](resource_1[_0x34fa58(0xc0)])&&fs[_0x34fa58(0x93)](resource_1[_0x34fa58(0xc0)],{'recursive':!![]});!fs[_0x34fa58(0xba)](_0x12a094)&&fs[_0x34fa58(0x93)](_0x12a094,{'recursive':!![]});(0x0,file_1[_0x34fa58(0xbd)])(_0x12a094);const _0x404819=new xcodebuild_1['XcodebuildCMD']()[_0x34fa58(0xaf)](_0x55f440)[_0x34fa58(0xb2)]+(_0x34fa58(0xd8)+_0xe93214[_0x34fa58(0xcf)]+_0x34fa58(0xdb)+_0x12a094);console[_0x34fa58(0xcd)](_0x34fa58(0xcc)),(0x0,child_process_1[_0x34fa58(0x95)])(_0x404819),console['log'](_0x34fa58(0xa1));_0xe93214[_0x34fa58(0xa8)]===_0x34fa58(0x91)&&(_0x53b928=new XcrunCMD()['simctl'](),_0x53b928['boot'](_0xe93214['deviceId']),(0x0,child_process_1['execSync'])(_0x53b928[_0x34fa58(0xb2)]));(0x0,child_process_1['execSync'])(_0x34fa58(0xd9)),console[_0x34fa58(0xcd)]('installing\x20app');const _0x1ad307=(0x0,path_1[_0x34fa58(0xad)])(_0x12a094,_0x34fa58(0x8f)+_0x1823a7[_0x34fa58(0xaa)]+'.app');_0x53b928=new XcrunCMD()[_0x34fa58(0xbc)](),_0x53b928['install'](_0xe93214['deviceId'],_0x1ad307),(0x0,child_process_1[_0x34fa58(0x95)])(_0x53b928['line']),console['log'](_0x34fa58(0xa0)),console[_0x34fa58(0xcd)](_0x34fa58(0xd2)),_0x53b928=new XcrunCMD()[_0x34fa58(0xbc)](),_0x53b928[_0x34fa58(0x9e)](_0xe93214[_0x34fa58(0xcf)],_0x1823a7['id']),(0x0,child_process_1[_0x34fa58(0x95)])(_0x53b928[_0x34fa58(0xb2)]);}static[_0x356bc7(0x98)](_0x591ff5){const _0x24bc7f=_0x356bc7;let _0x22ae91=_0x591ff5['split']('\x0a'),_0x5cc04f=[],_0x4f4cca=-0x1;for(let _0x2e77c6=0x0;_0x2e77c6<_0x22ae91[_0x24bc7f(0xc2)];_0x2e77c6++){if(_0x22ae91[_0x2e77c6][_0x24bc7f(0xb9)]('--\x20visionOS'))_0x4f4cca=_0x2e77c6;else{if(_0x4f4cca>0x0){if(_0x22ae91[_0x2e77c6][_0x24bc7f(0xb9)]('--\x20'))break;if(_0x22ae91[_0x2e77c6][_0x24bc7f(0xc2)]>0x0){const _0xcc777b=_0x22ae91[_0x2e77c6]['split']('('),_0x5646af={'name':_0xcc777b[0x0]['trim'](),'deviceId':_0xcc777b[0x1]['split'](')')[0x0][_0x24bc7f(0xca)](),'state':_0xcc777b[0x2]['split'](')')[0x0]['trim']()};_0x5cc04f[_0x24bc7f(0xa9)](_0x5646af);}}}}return _0x5cc04f;}}exports[_0x356bc7(0x9c)]=Xcrun;class XcrunCMD{constructor(){this['line']='xcrun';}[_0x356bc7(0xb5)](){const _0x4be148=_0x356bc7;return this[_0x4be148(0xb2)]+='\x20altool',this;}[_0x356bc7(0xbc)](){return this['line']+='\x20simctl',this;}['list'](){const _0x3f438c=_0x356bc7;return this[_0x3f438c(0xb2)]+='\x20list',this;}['listDevices'](_0xfaa530){const _0x36f570=_0x356bc7;return this[_0x36f570(0xb2)]+=_0x36f570(0xb3)+_0xfaa530+'\x22',this;}['validate'](_0x1f9536){const _0x15b860=_0x356bc7;return this[_0x15b860(0xb2)]+=_0x15b860(0x94)+_0x1f9536,this;}['uploadApp'](_0x1591e9){const _0x48e040=_0x356bc7;return this[_0x48e040(0xb2)]+=_0x48e040(0xd4)+_0x1591e9,this;}[_0x356bc7(0x9b)](_0x5dd077){const _0x535704=_0x356bc7;return this[_0x535704(0xb2)]+=_0x535704(0xd1)+_0x5dd077,this;}[_0x356bc7(0xc1)](_0x1da468,_0x2dbd4b){const _0x553a17=_0x356bc7;return this['line']+=_0x553a17(0xae)+_0x1da468+'\x20-p\x20'+_0x2dbd4b,this;}[_0x356bc7(0xa4)](_0x10c3d9,_0x35a3ea){const _0x1cea92=_0x356bc7;return this['line']+=_0x1cea92(0xd7)+_0x10c3d9+'\x20--apiIssuer\x20'+_0x35a3ea,this;}[_0x356bc7(0x9a)](_0x25f0e4){const _0x483f9e=_0x356bc7;return this[_0x483f9e(0xb2)]+=_0x483f9e(0xb4)+_0x25f0e4,this;}[_0x356bc7(0xc3)](_0x1d753c){const _0x5d69ea=_0x356bc7;return this['line']+=_0x5d69ea(0xdd)+_0x1d753c,this;}[_0x356bc7(0xda)](_0x9fdd79){const _0x31195f=_0x356bc7;return this['line']+=_0x31195f(0x97)+_0x9fdd79,this;}[_0x356bc7(0x8e)](){const _0x34d085=_0x356bc7;return this['line']+=_0x34d085(0xd5),this;}[_0x356bc7(0x9d)](){const _0x59459e=_0x356bc7;return this[_0x59459e(0xb2)]+=_0x59459e(0xc7),this;}[_0x356bc7(0xac)](_0x20eead){return this['line']+='\x20boot\x20\x22'+_0x20eead+'\x22',this;}[_0x356bc7(0xab)](_0x2e4f49,_0x14fd37){const _0xb4eb59=_0x356bc7;return this[_0xb4eb59(0xb2)]+='\x20install\x20\x22'+_0x2e4f49+_0xb4eb59(0x8d)+_0x14fd37+'\x22',this;}[_0x356bc7(0x9e)](_0x1e2696,_0x4b8f86){const _0x3f9f1d=_0x356bc7;return this[_0x3f9f1d(0xb2)]+=_0x3f9f1d(0xd6)+_0x1e2696+_0x3f9f1d(0x8d)+_0x4b8f86+'\x22',this;}}function _0x3d12(){const _0x42388d=['verbose','Build/Products/Debug-xrsimulator/','89164PcnlZC','Shutdown','10ySYZRp','mkdirSync','\x20--validate-app\x20-f\x20','execSync','visionos','\x20--bundle-version\x20','parseListDevices','Apple\x20Vision\x20Pro','appleId','uploadPackage','default','shutdown','launch','3186832pPgCxA','install\x20success','build\x20success','validate','8PNTcRx','authApi','PROJECT_DIRECTORY','60rEVLqg','no\x20visionOS\x20simulator\x20found','state','push','name','install','boot','join','\x20-u\x20','project','/web-spatial.xcodeproj','path','line','\x20list\x20devices\x20\x22','\x20--apple-id\x20','altool','__esModule','uploadApp','find\x20simulator:\x20','includes','existsSync','../resource/file','simctl','clearDir','1100052Msgcel','/test','PROJECT_BUILD_DIRECTORY','authAccount','length','platform','839590KzpEvq','Booted','9384084SFkUiD','\x20shutdown\x20booted','toString','35nffPPe','trim','67560AQzhTf','start\x20building','log','./xcodebuild','deviceId','53277uMClvO','\x20--upload-package\x20','launch\x20app','child_process','\x20--upload-app\x20-f\x20','\x20--verbose','\x20launch\x20\x22','\x20--apiKey\x20','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','version','\x27\x20-derivedDataPath\x20','14eHvNFn','\x20-t\x20','\x22\x20\x22'];_0x3d12=function(){return _0x42388d;};return _0x3d12();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -38,7 +38,7 @@
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.4"
41
+ "@webspatial/platform-visionos": "^0.1.5"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@rollup/plugin-terser": "^0.4.3",