@webspatial/builder 0.0.19 → 0.0.20

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';const _0x2207c7=_0x44f6;(function(_0x178151,_0x2d230e){const _0x514774=_0x44f6,_0x296732=_0x178151();while(!![]){try{const _0x27b26c=-parseInt(_0x514774(0x7b))/0x1*(-parseInt(_0x514774(0x66))/0x2)+-parseInt(_0x514774(0x74))/0x3+-parseInt(_0x514774(0x7d))/0x4+parseInt(_0x514774(0x6d))/0x5*(parseInt(_0x514774(0x7c))/0x6)+-parseInt(_0x514774(0x6a))/0x7+parseInt(_0x514774(0x6c))/0x8+-parseInt(_0x514774(0x67))/0x9*(-parseInt(_0x514774(0x70))/0xa);if(_0x27b26c===_0x2d230e)break;else _0x296732['push'](_0x296732['shift']());}catch(_0x2d2842){_0x296732['push'](_0x296732['shift']());}}}(_0x5bbb,0xb158c));Object['defineProperty'](exports,_0x2207c7(0x78),{'value':!![]});function _0x44f6(_0x1ab9ef,_0x23e8c8){const _0x5bbb34=_0x5bbb();return _0x44f6=function(_0x44f644,_0x470ef6){_0x44f644=_0x44f644-0x66;let _0x21fbc2=_0x5bbb34[_0x44f644];return _0x21fbc2;},_0x44f6(_0x1ab9ef,_0x23e8c8);}const Cli_1=require(_0x2207c7(0x68)),CustomError_1=require(_0x2207c7(0x72));module[_0x2207c7(0x73)]=async()=>{const _0x383cc3=_0x2207c7,_0x24385e=new Cli_1['Cli'](),_0x4c92ca=Cli_1[_0x383cc3(0x69)][_0x383cc3(0x75)],_0xa85b50=process[_0x383cc3(0x71)][_0x383cc3(0x6b)](0x2);let _0x206586;try{_0x206586=await _0x24385e['run'](_0xa85b50);}catch(_0x24d938){if(_0x24d938 instanceof CustomError_1[_0x383cc3(0x76)]){const _0x12e574=_0x24d938['customMessage'];Array['isArray'](_0x12e574)?_0x12e574[_0x383cc3(0x6f)](_0x16e542=>{const _0xeff8bd=_0x383cc3;_0x4c92ca['error'](_0x16e542[_0xeff8bd(0x77)]+':\x20'+_0x16e542[_0xeff8bd(0x7a)]);}):_0x4c92ca[_0x383cc3(0x6e)](_0x12e574[_0x383cc3(0x77)]+':\x20'+_0x12e574['message']);}else _0x4c92ca['error'](_0x24d938[_0x383cc3(0x7a)]);_0x206586=![];}!_0x206586?process[_0x383cc3(0x79)](0x1):process[_0x383cc3(0x79)](0x0);};function _0x5bbb(){const _0x1c81b9=['220384mOFHPZ','292707vBtTbY','./lib/Cli','Cli','4145463KGjvHP','slice','3998136oQzHVA','33095dyXXnd','error','forEach','80SKrKiw','argv','./lib/utils/CustomError','exports','2990784uJKFyl','log','CustomError','code','__esModule','exit','message','13ZRXtEU','408bSquED','1307960kDXLZD'];_0x5bbb=function(){return _0x1c81b9;};return _0x5bbb();}
1
+ 'use strict';const _0x446705=_0x4c86;function _0x4c86(_0x4edba3,_0x3d409e){const _0x190372=_0x1903();return _0x4c86=function(_0x4c8639,_0x60bbf1){_0x4c8639=_0x4c8639-0xdc;let _0x13ab61=_0x190372[_0x4c8639];return _0x13ab61;},_0x4c86(_0x4edba3,_0x3d409e);}(function(_0x3e1cb0,_0x2beb6e){const _0x361cd3=_0x4c86,_0x355842=_0x3e1cb0();while(!![]){try{const _0x4d79b0=-parseInt(_0x361cd3(0xef))/0x1*(parseInt(_0x361cd3(0xec))/0x2)+parseInt(_0x361cd3(0xf4))/0x3+-parseInt(_0x361cd3(0xe6))/0x4*(-parseInt(_0x361cd3(0xe0))/0x5)+parseInt(_0x361cd3(0xf1))/0x6+parseInt(_0x361cd3(0xee))/0x7+parseInt(_0x361cd3(0xe3))/0x8*(-parseInt(_0x361cd3(0xde))/0x9)+-parseInt(_0x361cd3(0xea))/0xa*(parseInt(_0x361cd3(0xe1))/0xb);if(_0x4d79b0===_0x2beb6e)break;else _0x355842['push'](_0x355842['shift']());}catch(_0x1c6eeb){_0x355842['push'](_0x355842['shift']());}}}(_0x1903,0x5f4b2));Object['defineProperty'](exports,_0x446705(0xdf),{'value':!![]});const Cli_1=require('./lib/Cli'),CustomError_1=require(_0x446705(0xf5));module[_0x446705(0xf3)]=async()=>{const _0x3bfe2e=_0x446705,_0x2be1ef=new Cli_1['Cli'](),_0x27cd6a=Cli_1[_0x3bfe2e(0xdd)][_0x3bfe2e(0xe7)],_0x352548=process[_0x3bfe2e(0xe4)][_0x3bfe2e(0xe8)](0x2);let _0x3051a9;try{_0x3051a9=await _0x2be1ef[_0x3bfe2e(0xeb)](_0x352548);}catch(_0x4dcdcb){if(_0x4dcdcb instanceof CustomError_1[_0x3bfe2e(0xdc)]){const _0x55a750=_0x4dcdcb[_0x3bfe2e(0xe2)];Array[_0x3bfe2e(0xf2)](_0x55a750)?_0x55a750['forEach'](_0x4df6fa=>{const _0x2bd6d0=_0x3bfe2e;_0x27cd6a[_0x2bd6d0(0xe9)](_0x4df6fa[_0x2bd6d0(0xf0)]+':\x20'+_0x4df6fa[_0x2bd6d0(0xed)]);}):_0x27cd6a['error'](_0x55a750[_0x3bfe2e(0xf0)]+':\x20'+_0x55a750[_0x3bfe2e(0xed)]);}else _0x27cd6a[_0x3bfe2e(0xe9)](_0x4dcdcb['message']);_0x3051a9=![];}!_0x3051a9?process[_0x3bfe2e(0xe5)](0x1):process[_0x3bfe2e(0xe5)](0x0);};function _0x1903(){const _0x327b08=['2078045vxEsSE','140954xCSgFn','customMessage','8tkjsBs','argv','exit','4vwZTAl','log','slice','error','410EHzgzu','run','1398908cjKnCm','message','4297433huTikF','1vbbgND','code','2006742zOvKLy','isArray','exports','1208322sXyOPk','./lib/utils/CustomError','CustomError','Cli','1364481QAEBFF','__esModule'];_0x1903=function(){return _0x327b08;};return _0x1903();}
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xcf9028=_0x1d10;(function(_0x976438,_0x33a051){const _0x5ac6b9=_0x1d10,_0x4f012c=_0x976438();while(!![]){try{const _0x202b72=-parseInt(_0x5ac6b9(0x144))/0x1*(parseInt(_0x5ac6b9(0x12c))/0x2)+parseInt(_0x5ac6b9(0x120))/0x3+-parseInt(_0x5ac6b9(0x13f))/0x4*(parseInt(_0x5ac6b9(0x142))/0x5)+parseInt(_0x5ac6b9(0x123))/0x6*(parseInt(_0x5ac6b9(0x125))/0x7)+parseInt(_0x5ac6b9(0x138))/0x8+-parseInt(_0x5ac6b9(0x146))/0x9*(-parseInt(_0x5ac6b9(0x130))/0xa)+-parseInt(_0x5ac6b9(0x12a))/0xb;if(_0x202b72===_0x33a051)break;else _0x4f012c['push'](_0x4f012c['shift']());}catch(_0x42d5e6){_0x4f012c['push'](_0x4f012c['shift']());}}}(_0x43ad,0x19c9c));function _0x1d10(_0x336a7b,_0x3a1ef9){const _0x43ad02=_0x43ad();return _0x1d10=function(_0x1d1055,_0x53c215){_0x1d1055=_0x1d1055-0x11f;let _0x5360b2=_0x43ad02[_0x1d1055];return _0x5360b2;},_0x1d10(_0x336a7b,_0x3a1ef9);}Object[_0xcf9028(0x131)](exports,_0xcf9028(0x13e),{'value':!![]}),exports[_0xcf9028(0x13a)]=void 0x0;const minimist=require(_0xcf9028(0x126)),semver_1=require(_0xcf9028(0x121)),Log_1=require('../lib/utils/Log'),FetchUtils_1_1=require('./utils/FetchUtils-1'),help_1=require(_0xcf9028(0x124)),build_1=require(_0xcf9028(0x133)),version_1=require('./cmds/version'),fetch_1=require(_0xcf9028(0x141));class Cli{async[_0xcf9028(0x135)](_0x2b05bb){const _0x39e4e2=_0xcf9028;if((0x0,semver_1[_0x39e4e2(0x127)])(process[_0x39e4e2(0x12f)][_0x39e4e2(0x139)])<0xe)throw new Error(_0x39e4e2(0x134)+process[_0x39e4e2(0x12f)][_0x39e4e2(0x139)]+'.'+'\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.');FetchUtils_1_1[_0x39e4e2(0x143)][_0x39e4e2(0x12b)](fetch_1['fetch']),FetchUtils_1_1[_0x39e4e2(0x143)][_0x39e4e2(0x12d)](fetch_1[_0x39e4e2(0x128)]),FetchUtils_1_1[_0x39e4e2(0x143)][_0x39e4e2(0x145)](fetch_1[_0x39e4e2(0x140)]);const _0x153f9c=minimist(_0x2b05bb);let _0x211ccd=undefined;if(_0x153f9c['_'][_0x39e4e2(0x136)]===0x0){if(_0x153f9c[_0x39e4e2(0x13b)])_0x211ccd=_0x39e4e2(0x13b);else _0x153f9c[_0x39e4e2(0x129)]&&(_0x211ccd=_0x39e4e2(0x129));}else _0x211ccd=_0x153f9c['_'][0x0];!_0x211ccd&&(_0x211ccd=_0x39e4e2(0x129));switch(_0x211ccd){case _0x39e4e2(0x129):case'h':return await(0x0,help_1[_0x39e4e2(0x129)])(_0x153f9c);case _0x39e4e2(0x132):return await(0x0,build_1[_0x39e4e2(0x137)])(_0x153f9c);case _0x39e4e2(0x122):return await(0x0,build_1[_0x39e4e2(0x12e)])(_0x153f9c);case'run':return await(0x0,build_1['run'])(_0x153f9c);case'version':{return await(0x0,version_1['version'])();}default:throw new Error('\x22'+_0x211ccd+_0x39e4e2(0x147));}}}exports[_0xcf9028(0x13a)]=Cli,Cli[_0xcf9028(0x13c)]=new Log_1[(_0xcf9028(0x13d))](_0xcf9028(0x11f));function _0x43ad(){const _0x55c755=['help','2607979NDyCpj','setFetch','1930AmwtwK','setDownloadFile','store','versions','2730tvQXgr','defineProperty','build','./cmds/build','Current\x20Node.js\x20version\x20is\x20','run','length','start','1158528pFnfmL','node','Cli','version','log','ConsoleLog','__esModule','51464VlRwIO','decompressResponseBuffer','./utils/fetch','55WeTwmp','fetchUtils','47NaqxtC','setDecompressResponseBuffer','5886uxrlFW','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','webspatial-builder','287325PBdCSl','semver','publish','662790OsGgeg','./cmds/help','7Hzksus','minimist','major','downloadFile'];_0x43ad=function(){return _0x55c755;};return _0x43ad();}
1
+ 'use strict';const _0x7cbe88=_0x3061;(function(_0x1490a2,_0x3446c6){const _0x1ea374=_0x3061,_0x27cec3=_0x1490a2();while(!![]){try{const _0x5d90a1=parseInt(_0x1ea374(0x1fc))/0x1*(-parseInt(_0x1ea374(0x1f8))/0x2)+-parseInt(_0x1ea374(0x1f1))/0x3+-parseInt(_0x1ea374(0x1f4))/0x4+-parseInt(_0x1ea374(0x206))/0x5*(-parseInt(_0x1ea374(0x207))/0x6)+-parseInt(_0x1ea374(0x1ef))/0x7+-parseInt(_0x1ea374(0x20a))/0x8+parseInt(_0x1ea374(0x1f0))/0x9;if(_0x5d90a1===_0x3446c6)break;else _0x27cec3['push'](_0x27cec3['shift']());}catch(_0x3e6f6f){_0x27cec3['push'](_0x27cec3['shift']());}}}(_0x5816,0x3ca8d));Object[_0x7cbe88(0x1f3)](exports,_0x7cbe88(0x1e8),{'value':!![]}),exports[_0x7cbe88(0x1f6)]=void 0x0;function _0x3061(_0x1e33ae,_0x1b1e8c){const _0x581621=_0x5816();return _0x3061=function(_0x3061d6,_0x35cd72){_0x3061d6=_0x3061d6-0x1e7;let _0x9cae40=_0x581621[_0x3061d6];return _0x9cae40;},_0x3061(_0x1e33ae,_0x1b1e8c);}const minimist=require(_0x7cbe88(0x1f2)),semver_1=require('semver'),Log_1=require(_0x7cbe88(0x200)),FetchUtils_1_1=require(_0x7cbe88(0x1fe)),help_1=require(_0x7cbe88(0x1fb)),build_1=require(_0x7cbe88(0x208)),version_1=require('./cmds/version'),fetch_1=require(_0x7cbe88(0x1e9));class Cli{async[_0x7cbe88(0x205)](_0x43ff07){const _0x5dd8a9=_0x7cbe88;if((0x0,semver_1[_0x5dd8a9(0x201)])(process['versions'][_0x5dd8a9(0x203)])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process[_0x5dd8a9(0x1f7)][_0x5dd8a9(0x203)]+'.'+_0x5dd8a9(0x1ee));FetchUtils_1_1[_0x5dd8a9(0x1f9)][_0x5dd8a9(0x1eb)](fetch_1[_0x5dd8a9(0x20b)]),FetchUtils_1_1[_0x5dd8a9(0x1f9)]['setDownloadFile'](fetch_1[_0x5dd8a9(0x202)]),FetchUtils_1_1[_0x5dd8a9(0x1f9)][_0x5dd8a9(0x204)](fetch_1[_0x5dd8a9(0x1fd)]);const _0x238082=minimist(_0x43ff07);let _0x4ce596=undefined;if(_0x238082['_']['length']===0x0){if(_0x238082[_0x5dd8a9(0x209)])_0x4ce596=_0x5dd8a9(0x209);else _0x238082[_0x5dd8a9(0x1ed)]&&(_0x4ce596='help');}else _0x4ce596=_0x238082['_'][0x0];!_0x4ce596&&(_0x4ce596=_0x5dd8a9(0x1ed));switch(_0x4ce596){case _0x5dd8a9(0x1ed):case'h':return await(0x0,help_1[_0x5dd8a9(0x1ed)])(_0x238082);case'build':return await(0x0,build_1[_0x5dd8a9(0x1ea)])(_0x238082);case _0x5dd8a9(0x1f5):return await(0x0,build_1[_0x5dd8a9(0x1ff)])(_0x238082);case _0x5dd8a9(0x205):return await(0x0,build_1[_0x5dd8a9(0x205)])(_0x238082);case _0x5dd8a9(0x209):{return await(0x0,version_1[_0x5dd8a9(0x209)])();}default:throw new Error('\x22'+_0x4ce596+_0x5dd8a9(0x1ec));}}}function _0x5816(){const _0x1bd1a7=['setDecompressResponseBuffer','run','26715RkWUgZ','162RpktSF','./cmds/build','version','3965888TPstEV','fetch','ConsoleLog','__esModule','./utils/fetch','start','setFetch','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','help','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','1066401GoIvME','11896794axUvXy','258285xVGvmP','minimist','defineProperty','1916572ZevvSm','publish','Cli','versions','2QNRcCg','fetchUtils','webspatial-builder','./cmds/help','4349BASesd','decompressResponseBuffer','./utils/FetchUtils-1','store','../lib/utils/Log','major','downloadFile','node'];_0x5816=function(){return _0x1bd1a7;};return _0x5816();}exports[_0x7cbe88(0x1f6)]=Cli,Cli['log']=new Log_1[(_0x7cbe88(0x1e7))](_0x7cbe88(0x1fa));
@@ -1 +1 @@
1
- 'use strict';const _0x27b78d=_0x44f6;(function(_0x4896a0,_0x35bedc){const _0x1bcd1c=_0x44f6,_0x362df9=_0x4896a0();while(!![]){try{const _0x92a43=parseInt(_0x1bcd1c(0x1dd))/0x1*(parseInt(_0x1bcd1c(0x1b6))/0x2)+parseInt(_0x1bcd1c(0x1c8))/0x3+parseInt(_0x1bcd1c(0x1bc))/0x4*(parseInt(_0x1bcd1c(0x1b9))/0x5)+parseInt(_0x1bcd1c(0x1c7))/0x6+-parseInt(_0x1bcd1c(0x1c9))/0x7+parseInt(_0x1bcd1c(0x1cf))/0x8*(-parseInt(_0x1bcd1c(0x1c3))/0x9)+-parseInt(_0x1bcd1c(0x1c2))/0xa*(parseInt(_0x1bcd1c(0x1d4))/0xb);if(_0x92a43===_0x35bedc)break;else _0x362df9['push'](_0x362df9['shift']());}catch(_0x347524){_0x362df9['push'](_0x362df9['shift']());}}}(_0x23ce,0x3abdd));function _0x44f6(_0x396464,_0x16b102){const _0x23cec8=_0x23ce();return _0x44f6=function(_0x44f696,_0x575c9e){_0x44f696=_0x44f696-0x1b4;let _0x48acf1=_0x23cec8[_0x44f696];return _0x48acf1;},_0x44f6(_0x396464,_0x16b102);}function _0x23ce(){const _0x9dd8bc=['name','172397EaGYFA','run','fromNet','./check','../resource','length','2jelppp','PWAGenerator','move\x20web\x20project:\x20ok','55hJreBF','log','generate\x20icon:\x20ok','36524aCyLSo','SpatialWebTest','runWithSimulator','com.SpatialWeb.test','defineProperty','ResourceManager','1690xMzIrE','553365eXjJNI','generateIcon','checkBuildParams','json','2501466AlIoJp','429897UHEtio','1995875VfOqiL','moveProjectFrom','start','generator','upload','store','24rRtLLx','version','../pwa','checkPlatformPath','project','7997oZTAsp','XcodeManager','buildType','-------------------\x20build\x20start\x20-------------------','../xcode','parseProject','teamId','platform'];_0x23ce=function(){return _0x9dd8bc;};return _0x23ce();}Object[_0x27b78d(0x1c0)](exports,'__esModule',{'value':!![]}),exports[_0x27b78d(0x1cb)]=start,exports[_0x27b78d(0x1ce)]=store,exports[_0x27b78d(0x1de)]=run;const pwa_1=require(_0x27b78d(0x1d1)),resource_1=require(_0x27b78d(0x1b4)),xcode_1=require(_0x27b78d(0x1d8)),check_1=require(_0x27b78d(0x1e0));async function start(_0x201aa2,_0x426577=![]){const _0x106960=_0x27b78d;var _0x15eeb1,_0x2e72ac;(0x0,check_1[_0x106960(0x1c5)])(_0x201aa2,_0x426577),resource_1[_0x106960(0x1c1)]['checkPlatformPath'](_0x201aa2[_0x106960(0x1db)]),console[_0x106960(0x1ba)](_0x106960(0x1d7));let _0x203113=await pwa_1[_0x106960(0x1b7)][_0x106960(0x1cc)](_0x201aa2,_0x426577);!_0x203113[_0x106960(0x1df)]&&(await resource_1['ResourceManager'][_0x106960(0x1ca)]((_0x15eeb1=_0x201aa2[_0x106960(0x1d3)])!==null&&_0x15eeb1!==void 0x0?_0x15eeb1:'dist'),console[_0x106960(0x1ba)](_0x106960(0x1b8)));let _0x2529be;return((_0x2e72ac=_0x203113[_0x106960(0x1c6)]['icons'])===null||_0x2e72ac===void 0x0?void 0x0:_0x2e72ac[_0x106960(0x1b5)])&&_0x426577&&(_0x2529be=await resource_1['ResourceManager'][_0x106960(0x1c4)](_0x203113)),console['log'](_0x106960(0x1bb)),await xcode_1[_0x106960(0x1d5)][_0x106960(0x1d9)]({'icon':_0x2529be,'manifestInfo':_0x203113,'teamId':_0x201aa2[_0x106960(0x1da)],'version':_0x201aa2[_0x106960(0x1d0)],'buildType':_0x201aa2[_0x106960(0x1d6)],'export':_0x201aa2['export']},_0x426577),console[_0x106960(0x1ba)]('-------------------\x20build\x20end\x20-------------------'),_0x203113;}async function store(_0x112ca1){const _0x53bee4=_0x27b78d;resource_1['ResourceManager'][_0x53bee4(0x1d2)](_0x112ca1[_0x53bee4(0x1db)]),(0x0,check_1['checkStoreParams'])(_0x112ca1);let _0xbaa008={'name':_0x53bee4(0x1bd)};_0x112ca1[_0x53bee4(0x1d6)]='app-store-connect';if(_0x112ca1['name'])_0xbaa008['name']=_0x112ca1[_0x53bee4(0x1dc)];else{const _0x2c2701=await start(_0x112ca1);if(!_0x2c2701)return![];_0xbaa008[_0x53bee4(0x1dc)]=_0x2c2701[_0x53bee4(0x1c6)][_0x53bee4(0x1dc)];}return await xcode_1[_0x53bee4(0x1d5)][_0x53bee4(0x1cd)](_0x112ca1,_0xbaa008),!![];}async function run(_0x2b13d8){const _0x4ced72=_0x27b78d;let _0x21f40a={'name':_0x4ced72(0x1bd),'id':_0x4ced72(0x1bf)};const _0x4aa4c7=await start(_0x2b13d8,!![]);if(!_0x4aa4c7)return![];return _0x21f40a[_0x4ced72(0x1dc)]=_0x4aa4c7[_0x4ced72(0x1c6)][_0x4ced72(0x1dc)],_0x21f40a['id']=_0x4aa4c7[_0x4ced72(0x1c6)]['id'],await xcode_1[_0x4ced72(0x1d5)][_0x4ced72(0x1be)](_0x21f40a),!![];}
1
+ 'use strict';const _0x3c7efe=_0x3e28;function _0x3e28(_0x46dd68,_0x2ee392){const _0x57fbe7=_0x57fb();return _0x3e28=function(_0x3e28c1,_0x1cc0f4){_0x3e28c1=_0x3e28c1-0x1c3;let _0x15c068=_0x57fbe7[_0x3e28c1];return _0x15c068;},_0x3e28(_0x46dd68,_0x2ee392);}(function(_0x1c7657,_0x2e2c78){const _0x28432c=_0x3e28,_0x322c60=_0x1c7657();while(!![]){try{const _0x368e31=parseInt(_0x28432c(0x1d0))/0x1*(parseInt(_0x28432c(0x1c8))/0x2)+-parseInt(_0x28432c(0x1e9))/0x3*(parseInt(_0x28432c(0x1cc))/0x4)+-parseInt(_0x28432c(0x1c5))/0x5+parseInt(_0x28432c(0x1e1))/0x6+parseInt(_0x28432c(0x1ce))/0x7*(-parseInt(_0x28432c(0x1dd))/0x8)+-parseInt(_0x28432c(0x1e6))/0x9+parseInt(_0x28432c(0x1df))/0xa;if(_0x368e31===_0x2e2c78)break;else _0x322c60['push'](_0x322c60['shift']());}catch(_0x5b010d){_0x322c60['push'](_0x322c60['shift']());}}}(_0x57fb,0x909ce));Object[_0x3c7efe(0x1cb)](exports,_0x3c7efe(0x1d9),{'value':!![]}),exports[_0x3c7efe(0x1cf)]=start,exports[_0x3c7efe(0x1da)]=store,exports[_0x3c7efe(0x1e5)]=run;const pwa_1=require('../pwa'),resource_1=require('../resource'),xcode_1=require(_0x3c7efe(0x1e2)),check_1=require('./check');function _0x57fb(){const _0x50e2b2=['platform','__esModule','store','name','generateIcon','725768YhXcsJ','-------------------\x20build\x20end\x20-------------------','17480820GpDESR','upload','4243020PiUeEO','../xcode','version','move\x20web\x20project:\x20ok','run','3606723sbrNeo','dist','buildType','588PaMPGe','log','checkBuildParams','project','checkStoreParams','SpatialWebTest','json','3031340rjoBCu','length','PWAGenerator','6122BDJWjJ','ResourceManager','generator','defineProperty','14372fSKpHj','XcodeManager','28EXnUbM','start','69UdMiXU','moveProjectFrom','app-store-connect','-------------------\x20build\x20start\x20-------------------','export','runWithSimulator','generate\x20icon:\x20ok','parseProject'];_0x57fb=function(){return _0x50e2b2;};return _0x57fb();}async function start(_0x2fb121,_0x402de9=![]){const _0x5279d2=_0x3c7efe;var _0x433702,_0x5bc8b8;(0x0,check_1[_0x5279d2(0x1eb)])(_0x2fb121,_0x402de9),resource_1[_0x5279d2(0x1c9)]['checkPlatformPath'](_0x2fb121[_0x5279d2(0x1d8)]),console[_0x5279d2(0x1ea)](_0x5279d2(0x1d3));let _0x20ad63=await pwa_1[_0x5279d2(0x1c7)][_0x5279d2(0x1ca)](_0x2fb121,_0x402de9);!_0x20ad63['fromNet']&&(await resource_1[_0x5279d2(0x1c9)][_0x5279d2(0x1d1)]((_0x433702=_0x2fb121[_0x5279d2(0x1ec)])!==null&&_0x433702!==void 0x0?_0x433702:_0x5279d2(0x1e7)),console[_0x5279d2(0x1ea)](_0x5279d2(0x1e4)));let _0x2b0878;return((_0x5bc8b8=_0x20ad63[_0x5279d2(0x1c4)]['icons'])===null||_0x5bc8b8===void 0x0?void 0x0:_0x5bc8b8[_0x5279d2(0x1c6)])&&_0x402de9&&(_0x2b0878=await resource_1[_0x5279d2(0x1c9)][_0x5279d2(0x1dc)](_0x20ad63)),console[_0x5279d2(0x1ea)](_0x5279d2(0x1d6)),await xcode_1['XcodeManager'][_0x5279d2(0x1d7)]({'icon':_0x2b0878,'manifestInfo':_0x20ad63,'teamId':_0x2fb121['teamId'],'version':_0x2fb121[_0x5279d2(0x1e3)],'buildType':_0x2fb121[_0x5279d2(0x1e8)],'export':_0x2fb121[_0x5279d2(0x1d4)]},_0x402de9),console[_0x5279d2(0x1ea)](_0x5279d2(0x1de)),_0x20ad63;}async function store(_0x50bbb7){const _0x36957c=_0x3c7efe;resource_1[_0x36957c(0x1c9)]['checkPlatformPath'](_0x50bbb7[_0x36957c(0x1d8)]),(0x0,check_1[_0x36957c(0x1ed)])(_0x50bbb7);let _0x3d78ba={'name':_0x36957c(0x1c3)};_0x50bbb7[_0x36957c(0x1e8)]=_0x36957c(0x1d2);if(_0x50bbb7[_0x36957c(0x1db)])_0x3d78ba['name']=_0x50bbb7[_0x36957c(0x1db)];else{const _0x4c0c17=await start(_0x50bbb7);if(!_0x4c0c17)return![];_0x3d78ba[_0x36957c(0x1db)]=_0x4c0c17[_0x36957c(0x1c4)]['name'];}return await xcode_1[_0x36957c(0x1cd)][_0x36957c(0x1e0)](_0x50bbb7,_0x3d78ba),!![];}async function run(_0x33cc40){const _0xa415f9=_0x3c7efe;let _0x420d4b={'name':_0xa415f9(0x1c3),'id':'com.SpatialWeb.test'};const _0x18774e=await start(_0x33cc40,!![]);if(!_0x18774e)return![];return _0x420d4b[_0xa415f9(0x1db)]=_0x18774e[_0xa415f9(0x1c4)][_0xa415f9(0x1db)],_0x420d4b['id']=_0x18774e[_0xa415f9(0x1c4)]['id'],await xcode_1[_0xa415f9(0x1cd)][_0xa415f9(0x1d5)](_0x420d4b),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x4919a8=_0xe89a;(function(_0x39aaab,_0x109f01){const _0x635a15=_0xe89a,_0x1bae04=_0x39aaab();while(!![]){try{const _0xd8ec7f=-parseInt(_0x635a15(0x18a))/0x1*(parseInt(_0x635a15(0x180))/0x2)+-parseInt(_0x635a15(0x182))/0x3+-parseInt(_0x635a15(0x181))/0x4+parseInt(_0x635a15(0x18f))/0x5+-parseInt(_0x635a15(0x17b))/0x6*(parseInt(_0x635a15(0x188))/0x7)+-parseInt(_0x635a15(0x18e))/0x8+parseInt(_0x635a15(0x184))/0x9;if(_0xd8ec7f===_0x109f01)break;else _0x1bae04['push'](_0x1bae04['shift']());}catch(_0x191c52){_0x1bae04['push'](_0x1bae04['shift']());}}}(_0x37b9,0x60973));Object[_0x4919a8(0x17c)](exports,_0x4919a8(0x187),{'value':!![]}),exports[_0x4919a8(0x18d)]=checkBuildParams,exports[_0x4919a8(0x17a)]=checkStoreParams;const validate_1=require(_0x4919a8(0x18b));function _0xe89a(_0x4146b5,_0x32c489){const _0x37b95b=_0x37b9();return _0xe89a=function(_0xe89af3,_0x5d3f9c){_0xe89af3=_0xe89af3-0x17a;let _0x215f27=_0x37b95b[_0xe89af3];return _0x215f27;},_0xe89a(_0x4146b5,_0x32c489);}function checkBuildParams(_0x506f28,_0x3a85f2=![]){const _0xd59219=_0x4919a8;if(_0x506f28[_0xd59219(0x183)]&&_0x506f28[_0xd59219(0x190)])throw new Error(_0xd59219(0x18c));if(!_0x506f28['teamId']&&!_0x3a85f2)throw new Error(_0xd59219(0x192));if(_0x506f28['base']){if((0x0,validate_1['validateURL'])(_0x506f28['base']))try{const _0x1f070e=new URL(_0x506f28['base']);if(_0x1f070e[_0xd59219(0x17e)]||_0x1f070e[_0xd59219(0x191)])throw new Error(_0xd59219(0x185));}catch(_0x5ef931){throw new Error(_0xd59219(0x185));}else{const _0x122fe0=/(\?.*|\.\w+|#.*)$/,_0x2f2224=_0x506f28[_0xd59219(0x189)][_0xd59219(0x186)]('/')[_0xd59219(0x17d)]()||'';if(_0x122fe0[_0xd59219(0x17f)](_0x2f2224))throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}}}function _0x37b9(){const _0x7f37eb=['The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','split','__esModule','3472147hqhdTM','base','36SiiUHZ','../pwa/validate','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','checkBuildParams','3930328lDIMNX','3319135bpmDBn','manifest-url','hash','--teamId\x20is\x20required','version\x20is\x20required','version','checkStoreParams','6nhYUHi','defineProperty','pop','search','test','27586BIpnNZ','1112984JRUqAA','1281159IcJPHG','manifest','17288703fxsPQK'];_0x37b9=function(){return _0x7f37eb;};return _0x37b9();}function checkStoreParams(_0x3c8758){const _0x496b31=_0x4919a8;if(!(_0x3c8758['u']&&_0x3c8758['p']))throw new Error('--u\x20and\x20--p\x20is\x20required');if(!_0x3c8758[_0x496b31(0x194)])throw new Error(_0x496b31(0x193));}
1
+ 'use strict';const _0x277702=_0x5ba8;(function(_0x348ee7,_0x8d4f6d){const _0x384939=_0x5ba8,_0x1ad72b=_0x348ee7();while(!![]){try{const _0x580c63=parseInt(_0x384939(0x194))/0x1*(-parseInt(_0x384939(0x1a8))/0x2)+parseInt(_0x384939(0x18d))/0x3+parseInt(_0x384939(0x18a))/0x4*(-parseInt(_0x384939(0x193))/0x5)+-parseInt(_0x384939(0x1a5))/0x6*(-parseInt(_0x384939(0x19a))/0x7)+-parseInt(_0x384939(0x1a1))/0x8*(-parseInt(_0x384939(0x19d))/0x9)+-parseInt(_0x384939(0x198))/0xa*(parseInt(_0x384939(0x199))/0xb)+-parseInt(_0x384939(0x1a6))/0xc*(parseInt(_0x384939(0x18e))/0xd);if(_0x580c63===_0x8d4f6d)break;else _0x1ad72b['push'](_0x1ad72b['shift']());}catch(_0x542d36){_0x1ad72b['push'](_0x1ad72b['shift']());}}}(_0x3abd,0xbc133));Object[_0x277702(0x1a7)](exports,_0x277702(0x192),{'value':!![]}),exports[_0x277702(0x18c)]=checkBuildParams,exports[_0x277702(0x1a3)]=checkStoreParams;function _0x5ba8(_0x13ed6f,_0x3854bd){const _0x3abd4d=_0x3abd();return _0x5ba8=function(_0x5ba891,_0x23187e){_0x5ba891=_0x5ba891-0x189;let _0xf3481d=_0x3abd4d[_0x5ba891];return _0xf3481d;},_0x5ba8(_0x13ed6f,_0x3854bd);}const validate_1=require(_0x277702(0x19c));function checkBuildParams(_0x2ca04e,_0x11f005=![]){const _0x1c561c=_0x277702;if(_0x2ca04e[_0x1c561c(0x197)]&&_0x2ca04e[_0x1c561c(0x196)])throw new Error(_0x1c561c(0x190));if(!_0x2ca04e[_0x1c561c(0x19f)]&&!_0x11f005)throw new Error(_0x1c561c(0x19b));if(_0x2ca04e[_0x1c561c(0x1a2)]){if((0x0,validate_1[_0x1c561c(0x18b)])(_0x2ca04e[_0x1c561c(0x1a2)]))try{const _0x1ddb50=new URL(_0x2ca04e[_0x1c561c(0x1a2)]);if(_0x1ddb50[_0x1c561c(0x191)]||_0x1ddb50['hash'])throw new Error(_0x1c561c(0x1a4));}catch(_0x552c8d){throw new Error(_0x1c561c(0x1a4));}else{const _0xe153f7=/(\?.*|\.\w+|#.*)$/,_0x417305=_0x2ca04e[_0x1c561c(0x1a2)][_0x1c561c(0x18f)]('/')[_0x1c561c(0x195)]()||'';if(_0xe153f7[_0x1c561c(0x19e)](_0x417305))throw new Error(_0x1c561c(0x1a4));}}}function _0x3abd(){const _0x2d4014=['base','checkStoreParams','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','7122YhkazR','2897556DHUAjA','defineProperty','2cuuJBu','--u\x20and\x20--p\x20is\x20required','184jGbIfp','validateURL','checkBuildParams','1112199qScoxl','13cRgCfw','split','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','search','__esModule','2075pBTtrN','199402EIpbtx','pop','manifest-url','manifest','184580KRSDNi','319umNMsv','6727YffAPY','--teamId\x20is\x20required','../pwa/validate','2287368VWAGhi','test','teamId','version','8YSlwUc'];_0x3abd=function(){return _0x2d4014;};return _0x3abd();}function checkStoreParams(_0x28e4b0){const _0x4e07f3=_0x277702;if(!(_0x28e4b0['u']&&_0x28e4b0['p']))throw new Error(_0x4e07f3(0x189));if(!_0x28e4b0[_0x4e07f3(0x1a0)])throw new Error('version\x20is\x20required');}
@@ -1 +1 @@
1
- 'use strict';const _0x49cd1b=_0x5797;(function(_0x2a059a,_0x40c957){const _0x2ceec2=_0x5797,_0x567351=_0x2a059a();while(!![]){try{const _0x1cc4aa=parseInt(_0x2ceec2(0xfc))/0x1*(-parseInt(_0x2ceec2(0x115))/0x2)+-parseInt(_0x2ceec2(0x117))/0x3+-parseInt(_0x2ceec2(0x10f))/0x4*(parseInt(_0x2ceec2(0x100))/0x5)+-parseInt(_0x2ceec2(0xfa))/0x6+parseInt(_0x2ceec2(0x10d))/0x7+parseInt(_0x2ceec2(0x110))/0x8*(parseInt(_0x2ceec2(0x10e))/0x9)+-parseInt(_0x2ceec2(0xf9))/0xa*(-parseInt(_0x2ceec2(0x103))/0xb);if(_0x1cc4aa===_0x40c957)break;else _0x567351['push'](_0x567351['shift']());}catch(_0x413152){_0x567351['push'](_0x567351['shift']());}}}(_0x488c,0x3507c));function _0x5797(_0x22a3da,_0x63baff){const _0x488c0d=_0x488c();return _0x5797=function(_0x5797b4,_0x78b4cf){_0x5797b4=_0x5797b4-0xf9;let _0x4ff958=_0x488c0d[_0x5797b4];return _0x4ff958;},_0x5797(_0x22a3da,_0x63baff);}function _0x488c(){const _0x203f20=['3212824lubWBq','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','__esModule','join','ConsoleLog','162064dpjGnR','main','929391pRZlsz','4906540XYfppv','1548636WbtJbM','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','2QxTxbp','webspatial\x20[command]\x20<options>','defineProperty','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','10gtetQT','get','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>','11OFCpTq','help','dev','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','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','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','publish','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','Usage:','476112VuyNOa','9HaecMg','26188PSlaGl'];_0x488c=function(){return _0x203f20;};return _0x488c();}Object[_0x49cd1b(0xfe)](exports,_0x49cd1b(0x112),{'value':!![]}),exports[_0x49cd1b(0x104)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([['main',[_0x49cd1b(0xfd),'','','help\x20................\x20shows\x20this\x20menu',_0x49cd1b(0x109)+_0x49cd1b(0x10b),_0x49cd1b(0x108),'publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect'][_0x49cd1b(0x113)]('\x0a')],['build',[_0x49cd1b(0x10c),'','',_0x49cd1b(0x106),'','',_0x49cd1b(0x107)]['join']('\x0a')],[_0x49cd1b(0x105),[_0x49cd1b(0x10c),'','',_0x49cd1b(0xfb),'','',_0x49cd1b(0x111)][_0x49cd1b(0x113)]('\x0a')],[_0x49cd1b(0x10a),['Usage:','','',_0x49cd1b(0x102),'','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x49cd1b(0xff)][_0x49cd1b(0x113)]('\x0a')]]);async function help(_0x472a70,_0x236b3d=new Log_1[(_0x49cd1b(0x114))]('help')){const _0x32ac70=_0x49cd1b,_0x5c5d09=_0x472a70['_'][0x1],_0x3b1ad7=HELP_MESSAGES[_0x32ac70(0x101)](_0x5c5d09)||HELP_MESSAGES['get'](_0x32ac70(0x116));return _0x236b3d['info'](_0x3b1ad7),!![];}
1
+ 'use strict';const _0x4f6a0e=_0xfe34;(function(_0x39718d,_0x500897){const _0x3b975f=_0xfe34,_0x3b18e0=_0x39718d();while(!![]){try{const _0x52654=parseInt(_0x3b975f(0x158))/0x1+-parseInt(_0x3b975f(0x155))/0x2+parseInt(_0x3b975f(0x15b))/0x3+-parseInt(_0x3b975f(0x160))/0x4*(-parseInt(_0x3b975f(0x154))/0x5)+-parseInt(_0x3b975f(0x15d))/0x6*(parseInt(_0x3b975f(0x159))/0x7)+-parseInt(_0x3b975f(0x157))/0x8+-parseInt(_0x3b975f(0x14d))/0x9*(-parseInt(_0x3b975f(0x153))/0xa);if(_0x52654===_0x500897)break;else _0x3b18e0['push'](_0x3b18e0['shift']());}catch(_0x131506){_0x3b18e0['push'](_0x3b18e0['shift']());}}}(_0x2950,0xd428c));function _0xfe34(_0x2fa323,_0x353a82){const _0x2950eb=_0x2950();return _0xfe34=function(_0xfe3479,_0x2d361b){_0xfe3479=_0xfe3479-0x149;let _0x4354d3=_0x2950eb[_0xfe3479];return _0x4354d3;},_0xfe34(_0x2fa323,_0x353a82);}function _0x2950(){const _0x150b4b=['Usage:','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','9HQMLRc','join','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','ConsoleLog','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','help','8928070DWWvam','618565xtEIkK','3283870zobGuK','main','2177664JaWPTL','1576249kOpTKL','3832619ZHoYzu','get','3271953IxJtFK','publish','18VnqetA','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','28PifCiA','defineProperty','help\x20................\x20shows\x20this\x20menu','__esModule','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\x20[command]\x20<options>','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','dev'];_0x2950=function(){return _0x150b4b;};return _0x2950();}Object[_0x4f6a0e(0x161)](exports,_0x4f6a0e(0x163),{'value':!![]}),exports[_0x4f6a0e(0x152)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([[_0x4f6a0e(0x156),[_0x4f6a0e(0x165),'','',_0x4f6a0e(0x162),_0x4f6a0e(0x14f)+'\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project',_0x4f6a0e(0x14b),_0x4f6a0e(0x166)][_0x4f6a0e(0x14e)]('\x0a')],['build',[_0x4f6a0e(0x149),'','',_0x4f6a0e(0x15e),'','','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]'][_0x4f6a0e(0x14e)]('\x0a')],[_0x4f6a0e(0x167),['Usage:','','',_0x4f6a0e(0x151),'','',_0x4f6a0e(0x14c)][_0x4f6a0e(0x14e)]('\x0a')],[_0x4f6a0e(0x15c),[_0x4f6a0e(0x149),'','',_0x4f6a0e(0x164),'','',_0x4f6a0e(0x14a),'','',_0x4f6a0e(0x15f)]['join']('\x0a')]]);async function help(_0x1cf9fb,_0x5bc1a5=new Log_1[(_0x4f6a0e(0x150))]('help')){const _0x2047ff=_0x4f6a0e,_0x37a594=_0x1cf9fb['_'][0x1],_0xe4aad=HELP_MESSAGES[_0x2047ff(0x15a)](_0x37a594)||HELP_MESSAGES[_0x2047ff(0x15a)](_0x2047ff(0x156));return _0x5bc1a5['info'](_0xe4aad),!![];}
@@ -1 +1 @@
1
- 'use strict';function _0x3615(_0x5aaf46,_0x31d45a){const _0x252cab=_0x252c();return _0x3615=function(_0x36154f,_0x4a1ff8){_0x36154f=_0x36154f-0x169;let _0x25b81a=_0x252cab[_0x36154f];return _0x25b81a;},_0x3615(_0x5aaf46,_0x31d45a);}const _0x269c24=_0x3615;function _0x252c(){const _0x4450ff=['promises','__esModule','parse','ConsoleLog','637157mgqJks','22157163AUsXYz','version','readFile','6423130DbiiWL','13869zqrYFJ','466NjReTw','defineProperty','toString','105cMyygm','../../../package.json','4375992PvKikh','info','1644952ExPTJZ','path','88254bWEInS'];_0x252c=function(){return _0x4450ff;};return _0x252c();}(function(_0x53da03,_0x116df5){const _0x7cfb15=_0x3615,_0x1a6b31=_0x53da03();while(!![]){try{const _0x5210a1=-parseInt(_0x7cfb15(0x173))/0x1+parseInt(_0x7cfb15(0x179))/0x2*(parseInt(_0x7cfb15(0x178))/0x3)+-parseInt(_0x7cfb15(0x16c))/0x4+parseInt(_0x7cfb15(0x17c))/0x5*(-parseInt(_0x7cfb15(0x16e))/0x6)+-parseInt(_0x7cfb15(0x177))/0x7+-parseInt(_0x7cfb15(0x16a))/0x8+parseInt(_0x7cfb15(0x174))/0x9;if(_0x5210a1===_0x116df5)break;else _0x1a6b31['push'](_0x1a6b31['shift']());}catch(_0x5ace56){_0x1a6b31['push'](_0x1a6b31['shift']());}}}(_0x252c,0xaf189));Object[_0x269c24(0x17a)](exports,_0x269c24(0x170),{'value':!![]}),exports[_0x269c24(0x175)]=version;const fs=require('fs'),path=require(_0x269c24(0x16d)),Log_1=require('../utils/Log');async function version(_0x2866e6=new Log_1[(_0x269c24(0x172))](_0x269c24(0x175))){const _0x1dd420=_0x269c24,_0x15879c=path['join'](__dirname,_0x1dd420(0x169)),_0x66d309=await(await fs[_0x1dd420(0x16f)][_0x1dd420(0x176)](_0x15879c))[_0x1dd420(0x17b)](),_0x596183=JSON[_0x1dd420(0x171)](_0x66d309);return _0x2866e6[_0x1dd420(0x16b)](_0x596183[_0x1dd420(0x175)]),!![];}
1
+ 'use strict';function _0x1eec(){const _0x2ee2ed=['3608262QzVqgL','readFile','defineProperty','__esModule','3cQwxzU','9aOYHnI','11208vxHjBY','toString','info','35JFGGMc','434EIsCpL','5269KQsOBE','parse','1439iiPgyv','version','34908GHvtZz','417516otZddo','promises','2796824FgnkAI','763240bsDcHb'];_0x1eec=function(){return _0x2ee2ed;};return _0x1eec();}const _0x4fd006=_0x31a6;(function(_0x1058c0,_0x263854){const _0x2217e9=_0x31a6,_0x2b3486=_0x1058c0();while(!![]){try{const _0x470b4c=-parseInt(_0x2217e9(0x7e))/0x1*(-parseInt(_0x2217e9(0x8f))/0x2)+-parseInt(_0x2217e9(0x89))/0x3*(parseInt(_0x2217e9(0x80))/0x4)+-parseInt(_0x2217e9(0x8e))/0x5*(-parseInt(_0x2217e9(0x81))/0x6)+-parseInt(_0x2217e9(0x85))/0x7+-parseInt(_0x2217e9(0x83))/0x8*(parseInt(_0x2217e9(0x8a))/0x9)+-parseInt(_0x2217e9(0x84))/0xa+parseInt(_0x2217e9(0x90))/0xb*(parseInt(_0x2217e9(0x8b))/0xc);if(_0x470b4c===_0x263854)break;else _0x2b3486['push'](_0x2b3486['shift']());}catch(_0xb258e7){_0x2b3486['push'](_0x2b3486['shift']());}}}(_0x1eec,0x486b7));function _0x31a6(_0x27514f,_0x2e5e00){const _0x1eec61=_0x1eec();return _0x31a6=function(_0x31a6da,_0x423bec){_0x31a6da=_0x31a6da-0x7e;let _0x47ab46=_0x1eec61[_0x31a6da];return _0x47ab46;},_0x31a6(_0x27514f,_0x2e5e00);}Object[_0x4fd006(0x87)](exports,_0x4fd006(0x88),{'value':!![]}),exports['version']=version;const fs=require('fs'),path=require('path'),Log_1=require('../utils/Log');async function version(_0x108212=new Log_1['ConsoleLog']('version')){const _0x40c14b=_0x4fd006,_0x3aa96e=path['join'](__dirname,'../../../package.json'),_0x484de9=await(await fs[_0x40c14b(0x82)][_0x40c14b(0x86)](_0x3aa96e))[_0x40c14b(0x8c)](),_0x476c88=JSON[_0x40c14b(0x91)](_0x484de9);return _0x108212[_0x40c14b(0x8d)](_0x476c88[_0x40c14b(0x7f)]),!![];}
@@ -1 +1 @@
1
- 'use strict';function _0xa1cf(_0x2adc2d,_0x35ac9d){const _0x59828c=_0x5982();return _0xa1cf=function(_0xa1cf9,_0x5917ad){_0xa1cf9=_0xa1cf9-0x12c;let _0x45b539=_0x59828c[_0xa1cf9];return _0x45b539;},_0xa1cf(_0x2adc2d,_0x35ac9d);}const _0x412840=_0xa1cf;(function(_0x149f7f,_0x5c4068){const _0x3220d4=_0xa1cf,_0xb96aa6=_0x149f7f();while(!![]){try{const _0x1f892f=-parseInt(_0x3220d4(0x162))/0x1*(-parseInt(_0x3220d4(0x134))/0x2)+parseInt(_0x3220d4(0x138))/0x3*(parseInt(_0x3220d4(0x151))/0x4)+parseInt(_0x3220d4(0x152))/0x5+parseInt(_0x3220d4(0x12c))/0x6*(-parseInt(_0x3220d4(0x141))/0x7)+parseInt(_0x3220d4(0x15f))/0x8*(-parseInt(_0x3220d4(0x136))/0x9)+-parseInt(_0x3220d4(0x13b))/0xa*(-parseInt(_0x3220d4(0x166))/0xb)+parseInt(_0x3220d4(0x168))/0xc*(-parseInt(_0x3220d4(0x161))/0xd);if(_0x1f892f===_0x5c4068)break;else _0xb96aa6['push'](_0xb96aa6['shift']());}catch(_0x55886e){_0xb96aa6['push'](_0xb96aa6['shift']());}}}(_0x5982,0x735b1));Object[_0x412840(0x15e)](exports,'__esModule',{'value':!![]}),exports[_0x412840(0x164)]=void 0x0,exports['configId']=configId,exports[_0x412840(0x12e)]=configStartUrl,exports['configScope']=configScope,exports['configDisplay']=configDisplay,exports[_0x412840(0x177)]=configMainScene,exports[_0x412840(0x15d)]=configDeeplink;const utils_1=require('../utils/utils'),validate_1=require(_0x412840(0x130)),path_1=require(_0x412840(0x176));function configId(_0x1aa060,_0x1b9310){const _0x99ccd1=_0x412840;if(_0x1b9310)_0x1aa060['id']=_0x1b9310;else{const _0x5b1136=new URL(_0x1aa060['id']);let _0x3b29cd=_0x5b1136[_0x99ccd1(0x12d)][_0x99ccd1(0x133)]('.')[_0x99ccd1(0x15b)]();_0x1aa060['id']=_0x3b29cd[_0x99ccd1(0x174)]('.');}}function configStartUrl(_0x381c95,_0x31b639){const _0x34743e=_0x412840,_0x32bd10=(0x0,validate_1[_0x34743e(0x15a)])(_0x381c95[_0x34743e(0x143)]),_0x1a2609=(0x0,validate_1['validateURL'])(_0x31b639);let _0x312d2b=_0x381c95[_0x34743e(0x143)];if(!_0x32bd10&&!_0x1a2609){const _0x3b1d69=(0x0,path_1[_0x34743e(0x13c)])(_0x34743e(0x159)),_0x5a97a8=(0x0,path_1['resolve'])(_0x3b1d69,_0x31b639,_0x312d2b),_0x3fa22f=(0x0,path_1[_0x34743e(0x13d)])(_0x5a97a8),_0x1f5635=(0x0,path_1[_0x34743e(0x174)])(_0x3b1d69,_0x3fa22f);_0x312d2b=(0x0,path_1['relative'])(process['cwd'](),_0x1f5635)[_0x34743e(0x170)](/^(\.\.\/)+/,'./')[_0x34743e(0x170)](/\/$/,'');}else{if(_0x32bd10&&!_0x1a2609){const _0x4967d9=new URL(_0x312d2b),_0x3dd68c=_0x4967d9[_0x34743e(0x14c)]+_0x4967d9[_0x34743e(0x178)]+_0x4967d9[_0x34743e(0x16b)];let _0x414689=new URL(_0x31b639,_0x4967d9['origin']);_0x312d2b=new URL(_0x3dd68c,_0x414689)[_0x34743e(0x132)];}else{if(!_0x32bd10&&_0x1a2609){if(_0x312d2b[_0x34743e(0x175)]('/')){const _0x2b0f9a=new URL(_0x31b639);_0x312d2b=_0x2b0f9a[_0x34743e(0x14f)]+(0x0,path_1['join'])(_0x2b0f9a['pathname'],_0x312d2b);}else _0x312d2b=new URL(_0x312d2b,_0x31b639)['href'];}else{if(_0x32bd10&&_0x1a2609){const _0x35cc37=new URL(_0x312d2b),_0x47faac=new URL(_0x31b639),_0xf086a9=_0x35cc37[_0x34743e(0x14c)]+_0x35cc37['search']+_0x35cc37[_0x34743e(0x16b)];_0x312d2b=new URL(_0xf086a9,_0x47faac[_0x34743e(0x14f)]+_0x47faac[_0x34743e(0x14c)])[_0x34743e(0x132)];}}}}return _0x312d2b;}function configScope(_0x48d0b9){const _0xee0f4b=_0x412840;var _0x363158;let _0x529c58=(_0x363158=_0x48d0b9[_0xee0f4b(0x144)])!==null&&_0x363158!==void 0x0?_0x363158:'';const _0x165f5c=(0x0,validate_1['validateURL'])(_0x48d0b9[_0xee0f4b(0x143)]),_0x22134a=(0x0,validate_1['validateURL'])(_0x529c58);if(_0x165f5c&&_0x22134a){const _0x57d1bd=new URL(_0x529c58),_0x1c148e=new URL(_0x48d0b9[_0xee0f4b(0x143)]);(_0x57d1bd[_0xee0f4b(0x12d)]!==_0x1c148e['host']||_0x48d0b9[_0xee0f4b(0x143)][_0xee0f4b(0x14b)](_0x529c58)!==0x0)&&(_0x529c58=(0x0,utils_1[_0xee0f4b(0x158)])(_0x48d0b9[_0xee0f4b(0x143)]));}else{if(_0x165f5c&&!_0x22134a)_0x529c58=new URL(_0x529c58,_0x48d0b9[_0xee0f4b(0x143)])[_0xee0f4b(0x132)];else{if(!_0x165f5c&&_0x22134a){const _0x1daa09=_0x48d0b9[_0xee0f4b(0x143)][_0xee0f4b(0x170)](/\/[^\/]+$/,'');_0x529c58=(0x0,path_1[_0xee0f4b(0x13d)])(_0x1daa09+'/');}else _0x529c58=(0x0,path_1['join'])((0x0,utils_1['parseRouter'])(_0x48d0b9['start_url']),_0x529c58);}}_0x48d0b9[_0xee0f4b(0x144)]=_0x529c58;}function configDisplay(_0x50c9f3){const _0x296722=_0x412840;let _0x3ae28a=_0x50c9f3[_0x296722(0x172)];_0x3ae28a!==_0x296722(0x169)&&_0x3ae28a!==_0x296722(0x153)&&(_0x3ae28a=_0x296722(0x153));if(_0x50c9f3[_0x296722(0x171)]&&_0x50c9f3[_0x296722(0x171)]['length']>0x0){const _0x19c207=_0x50c9f3['display_override']['indexOf'](_0x296722(0x169)),_0x1aee79=_0x50c9f3['display_override'][_0x296722(0x14b)]('standalone');if(_0x19c207>=0x0&&_0x1aee79>=0x0)_0x3ae28a=_0x1aee79>_0x19c207?_0x296722(0x153):'minimal-ui';else{if(_0x19c207>=0x0)_0x3ae28a='minimal-ui';else _0x1aee79>=0x0&&(_0x3ae28a=_0x296722(0x153));}}_0x50c9f3[_0x296722(0x172)]=_0x3ae28a;}function configMainScene(_0x4ef7b3){const _0xbc7e4a=_0x412840;var _0x4493f7,_0x434b03;const _0x46f5b5=['automatic',_0xbc7e4a(0x156),_0xbc7e4a(0x135)];let _0x55bbf6={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x4ef7b3['xr_main_scene']){if(typeof _0x4ef7b3[_0xbc7e4a(0x131)]===_0xbc7e4a(0x13e))_0x55bbf6['defaultSize']['width']=Number((_0x4493f7=_0x4ef7b3['xr_main_scene'][_0xbc7e4a(0x155)])===null||_0x4493f7===void 0x0?void 0x0:_0x4493f7[_0xbc7e4a(0x13a)])>0x0?_0x4ef7b3[_0xbc7e4a(0x131)][_0xbc7e4a(0x155)]['width']:0x500,_0x55bbf6[_0xbc7e4a(0x148)][_0xbc7e4a(0x163)]=Number((_0x434b03=_0x4ef7b3[_0xbc7e4a(0x131)][_0xbc7e4a(0x155)])===null||_0x434b03===void 0x0?void 0x0:_0x434b03[_0xbc7e4a(0x163)])>0x0?_0x4ef7b3[_0xbc7e4a(0x131)][_0xbc7e4a(0x155)][_0xbc7e4a(0x163)]:0x500,_0x55bbf6[_0xbc7e4a(0x16a)]=_0x46f5b5['includes'](_0x4ef7b3[_0xbc7e4a(0x131)]['resizability'])?_0x4ef7b3[_0xbc7e4a(0x131)][_0xbc7e4a(0x16a)]:_0xbc7e4a(0x139),_0x4ef7b3[_0xbc7e4a(0x16f)]=_0x55bbf6;else typeof _0x4ef7b3[_0xbc7e4a(0x131)]===_0xbc7e4a(0x15c)&&(_0x4ef7b3[_0xbc7e4a(0x16f)]=_0xbc7e4a(0x147));}}function _0x5982(){const _0x55563d=['host','configStartUrl','sftp','./validate','xr_main_scene','href','split','14PZeFXB','contentSize','27NdxDSY','splice','13854kBgqQD','automatic','width','30znsZKY','resolve','normalize','object','web+','ircs','35pDfagZ','matrix','start_url','scope','length','wtai','dynamic','defaultSize','url','ssh','indexOf','pathname','mailto','tel','origin','protocol','292yaDhPx','2876060sMXhSz','standalone','xmpp','default_size','contentMinSize','urn','parseRouter','./static-web','validateURL','reverse','string','configDeeplink','defineProperty','1285448AUSoOg','nntp','3378583mklkGT','58839IWbipX','height','safelist','smsto','1791229krGnPH','protocol_handlers','12vRwqVZ','minimal-ui','resizability','hash','includes','sms','sip','mainScene','replace','display_override','display','irc','join','startsWith','path','configMainScene','search','717942MeTaqD'];_0x5982=function(){return _0x55563d;};return _0x5982();}function configDeeplink(_0x40455e){const _0x6237fe=_0x412840;if(_0x40455e[_0x6237fe(0x167)]&&_0x40455e[_0x6237fe(0x167)][_0x6237fe(0x145)]>0x0)for(var _0x4a75c8=0x0;_0x4a75c8<_0x40455e[_0x6237fe(0x167)][_0x6237fe(0x145)];_0x4a75c8++){const _0x12c12a=_0x40455e[_0x6237fe(0x167)][_0x4a75c8];if(_0x12c12a[_0x6237fe(0x150)]&&(exports[_0x6237fe(0x164)][_0x6237fe(0x16c)](_0x12c12a[_0x6237fe(0x150)])||_0x12c12a[_0x6237fe(0x150)][_0x6237fe(0x14b)](_0x6237fe(0x13f))===0x0)){if(!((0x0,validate_1[_0x6237fe(0x15a)])(_0x12c12a['url'])&&_0x12c12a[_0x6237fe(0x149)][_0x6237fe(0x14b)](_0x40455e[_0x6237fe(0x144)])<0x0))continue;}_0x40455e['protocol_handlers'][_0x6237fe(0x137)](_0x4a75c8,0x1),_0x4a75c8--;}}exports[_0x412840(0x164)]=['bitcoin','ftp','ftps','geo','im',_0x412840(0x173),_0x412840(0x140),'magnet',_0x412840(0x14d),_0x412840(0x142),'mms','news',_0x412840(0x160),'openpgp4fpr',_0x412840(0x12f),_0x412840(0x16e),_0x412840(0x16d),_0x412840(0x165),_0x412840(0x14a),_0x412840(0x14e),_0x412840(0x157),'webcal',_0x412840(0x146),_0x412840(0x154)];
1
+ 'use strict';const _0x148e5c=_0x3413;(function(_0x1ae0aa,_0x121e48){const _0x77861a=_0x3413,_0x31de36=_0x1ae0aa();while(!![]){try{const _0x8d65f9=parseInt(_0x77861a(0xb4))/0x1+parseInt(_0x77861a(0x89))/0x2*(-parseInt(_0x77861a(0xab))/0x3)+parseInt(_0x77861a(0x67))/0x4*(parseInt(_0x77861a(0x9f))/0x5)+-parseInt(_0x77861a(0x6e))/0x6+parseInt(_0x77861a(0xb1))/0x7*(parseInt(_0x77861a(0x87))/0x8)+-parseInt(_0x77861a(0xb0))/0x9*(-parseInt(_0x77861a(0x81))/0xa)+parseInt(_0x77861a(0x97))/0xb;if(_0x8d65f9===_0x121e48)break;else _0x31de36['push'](_0x31de36['shift']());}catch(_0x523db1){_0x31de36['push'](_0x31de36['shift']());}}}(_0x32fe,0x9edc1));Object[_0x148e5c(0x85)](exports,_0x148e5c(0x9e),{'value':!![]}),exports[_0x148e5c(0xb6)]=void 0x0,exports[_0x148e5c(0xaf)]=configId,exports[_0x148e5c(0x82)]=configStartUrl,exports[_0x148e5c(0x71)]=configScope,exports[_0x148e5c(0x8b)]=configDisplay,exports[_0x148e5c(0xb2)]=configMainScene,exports[_0x148e5c(0x6a)]=configDeeplink;function _0x32fe(){const _0x5093a9=['mms','__esModule','5YOmscx','standalone','join','protocol','width','geo','mainScene','defaultSize','mailto','openpgp4fpr','resizability','urn','127758iGlSql','webcal','validateURL','default_size','configId','6714SZEEVH','63TCeaLW','configMainScene','search','381003VYjnUb','ftp','safelist','2664564ANibed','origin','normalize','configDeeplink','sip','pathname','resolve','7237170gLZZqO','relative','split','configScope','ftps','irc','web+','scope','href','ssh','news','xmpp','parseRouter','url','display_override','display','hash','host','xr_main_scene','3790eAGApE','configStartUrl','smsto','includes','defineProperty','matrix','123976GfleiB','string','54MFHGau','sms','configDisplay','reverse','minimal-ui','nntp','protocol_handlers','tel','length','contentSize','indexOf','height','start_url','wtai','16910905TssROY','./static-web','automatic','replace','splice','contentMinSize'];_0x32fe=function(){return _0x5093a9;};return _0x32fe();}const utils_1=require('../utils/utils'),validate_1=require('./validate'),path_1=require('path');function configId(_0x1ceee8,_0x4a1537){const _0x3f9a42=_0x148e5c;if(_0x4a1537)_0x1ceee8['id']=_0x4a1537;else{const _0x3bfc68=new URL(_0x1ceee8['id']);let _0x21fb80=_0x3bfc68[_0x3f9a42(0x7f)][_0x3f9a42(0x70)]('.')[_0x3f9a42(0x8c)]();_0x1ceee8['id']=_0x21fb80[_0x3f9a42(0xa1)]('.');}}function _0x3413(_0x222d45,_0x3f5684){const _0x32fe83=_0x32fe();return _0x3413=function(_0x341389,_0xf29759){_0x341389=_0x341389-0x67;let _0x312061=_0x32fe83[_0x341389];return _0x312061;},_0x3413(_0x222d45,_0x3f5684);}function configStartUrl(_0x2e14c5,_0x1c01e2){const _0x5046f9=_0x148e5c,_0x19b2a5=(0x0,validate_1[_0x5046f9(0xad)])(_0x2e14c5['start_url']),_0x1a1034=(0x0,validate_1['validateURL'])(_0x1c01e2);let _0x3d5257=_0x2e14c5[_0x5046f9(0x95)];if(!_0x19b2a5&&!_0x1a1034){const _0x3f099b=(0x0,path_1[_0x5046f9(0x6d)])(_0x5046f9(0x98)),_0x1101a5=(0x0,path_1[_0x5046f9(0x6d)])(_0x3f099b,_0x1c01e2,_0x3d5257),_0x209485=(0x0,path_1['normalize'])(_0x1101a5),_0x25d44d=(0x0,path_1['join'])(_0x3f099b,_0x209485);_0x3d5257=(0x0,path_1[_0x5046f9(0x6f)])(process['cwd'](),_0x25d44d)[_0x5046f9(0x9a)](/^(\.\.\/)+/,'./')[_0x5046f9(0x9a)](/\/$/,'');}else{if(_0x19b2a5&&!_0x1a1034){const _0x322bbf=new URL(_0x3d5257),_0x534f16=_0x322bbf['pathname']+_0x322bbf[_0x5046f9(0xb3)]+_0x322bbf[_0x5046f9(0x7e)];let _0x4c5999=new URL(_0x1c01e2,_0x322bbf[_0x5046f9(0x68)]);_0x3d5257=new URL(_0x534f16,_0x4c5999)[_0x5046f9(0x76)];}else{if(!_0x19b2a5&&_0x1a1034){if(_0x3d5257['startsWith']('/')){const _0x342f91=new URL(_0x1c01e2);_0x3d5257=_0x342f91[_0x5046f9(0x68)]+(0x0,path_1[_0x5046f9(0xa1)])(_0x342f91[_0x5046f9(0x6c)],_0x3d5257);}else _0x3d5257=new URL(_0x3d5257,_0x1c01e2)[_0x5046f9(0x76)];}else{if(_0x19b2a5&&_0x1a1034){const _0x396ea4=new URL(_0x3d5257),_0x256331=new URL(_0x1c01e2),_0x2e7c15=_0x396ea4[_0x5046f9(0x6c)]+_0x396ea4[_0x5046f9(0xb3)]+_0x396ea4['hash'];_0x3d5257=new URL(_0x2e7c15,_0x256331[_0x5046f9(0x68)]+_0x256331[_0x5046f9(0x6c)])['href'];}}}}return _0x3d5257;}function configScope(_0x9e1f14){const _0x37ef97=_0x148e5c;var _0x3edfb6;let _0xc4ec49=(_0x3edfb6=_0x9e1f14[_0x37ef97(0x75)])!==null&&_0x3edfb6!==void 0x0?_0x3edfb6:'';const _0x49890f=(0x0,validate_1[_0x37ef97(0xad)])(_0x9e1f14['start_url']),_0x57a477=(0x0,validate_1[_0x37ef97(0xad)])(_0xc4ec49);if(_0x49890f&&_0x57a477){const _0x192120=new URL(_0xc4ec49),_0x399057=new URL(_0x9e1f14[_0x37ef97(0x95)]);(_0x192120['host']!==_0x399057['host']||_0x9e1f14[_0x37ef97(0x95)]['indexOf'](_0xc4ec49)!==0x0)&&(_0xc4ec49=(0x0,utils_1['parseRouter'])(_0x9e1f14[_0x37ef97(0x95)]));}else{if(_0x49890f&&!_0x57a477)_0xc4ec49=new URL(_0xc4ec49,_0x9e1f14[_0x37ef97(0x95)])['href'];else{if(!_0x49890f&&_0x57a477){const _0x1688cc=_0x9e1f14['start_url'][_0x37ef97(0x9a)](/\/[^\/]+$/,'');_0xc4ec49=(0x0,path_1[_0x37ef97(0x69)])(_0x1688cc+'/');}else _0xc4ec49=(0x0,path_1[_0x37ef97(0xa1)])((0x0,utils_1[_0x37ef97(0x7a)])(_0x9e1f14['start_url']),_0xc4ec49);}}_0x9e1f14[_0x37ef97(0x75)]=_0xc4ec49;}function configDisplay(_0x3d5cc7){const _0x2c8979=_0x148e5c;let _0x567d0b=_0x3d5cc7[_0x2c8979(0x7d)];_0x567d0b!=='minimal-ui'&&_0x567d0b!==_0x2c8979(0xa0)&&(_0x567d0b=_0x2c8979(0xa0));if(_0x3d5cc7['display_override']&&_0x3d5cc7['display_override'][_0x2c8979(0x91)]>0x0){const _0x2aefa1=_0x3d5cc7['display_override']['indexOf'](_0x2c8979(0x8d)),_0x2e7b20=_0x3d5cc7[_0x2c8979(0x7c)][_0x2c8979(0x93)](_0x2c8979(0xa0));if(_0x2aefa1>=0x0&&_0x2e7b20>=0x0)_0x567d0b=_0x2e7b20>_0x2aefa1?_0x2c8979(0xa0):_0x2c8979(0x8d);else{if(_0x2aefa1>=0x0)_0x567d0b=_0x2c8979(0x8d);else _0x2e7b20>=0x0&&(_0x567d0b=_0x2c8979(0xa0));}}_0x3d5cc7[_0x2c8979(0x7d)]=_0x567d0b;}function configMainScene(_0x2ff3f8){const _0x458711=_0x148e5c;var _0x35b98,_0xc18f7f;const _0x519b97=[_0x458711(0x99),_0x458711(0x9c),_0x458711(0x92)];let _0x7286ef={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x458711(0x99)};if(_0x2ff3f8[_0x458711(0x80)]){if(typeof _0x2ff3f8['xr_main_scene']==='object')_0x7286ef['defaultSize'][_0x458711(0xa3)]=Number((_0x35b98=_0x2ff3f8['xr_main_scene'][_0x458711(0xae)])===null||_0x35b98===void 0x0?void 0x0:_0x35b98[_0x458711(0xa3)])>0x0?_0x2ff3f8[_0x458711(0x80)][_0x458711(0xae)]['width']:0x500,_0x7286ef[_0x458711(0xa6)]['height']=Number((_0xc18f7f=_0x2ff3f8[_0x458711(0x80)][_0x458711(0xae)])===null||_0xc18f7f===void 0x0?void 0x0:_0xc18f7f[_0x458711(0x94)])>0x0?_0x2ff3f8[_0x458711(0x80)][_0x458711(0xae)][_0x458711(0x94)]:0x500,_0x7286ef[_0x458711(0xa9)]=_0x519b97[_0x458711(0x84)](_0x2ff3f8[_0x458711(0x80)][_0x458711(0xa9)])?_0x2ff3f8[_0x458711(0x80)]['resizability']:_0x458711(0x99),_0x2ff3f8['mainScene']=_0x7286ef;else typeof _0x2ff3f8[_0x458711(0x80)]===_0x458711(0x88)&&(_0x2ff3f8[_0x458711(0xa5)]='dynamic');}}function configDeeplink(_0x213309){const _0x76cbf1=_0x148e5c;if(_0x213309['protocol_handlers']&&_0x213309[_0x76cbf1(0x8f)][_0x76cbf1(0x91)]>0x0)for(var _0x31e095=0x0;_0x31e095<_0x213309[_0x76cbf1(0x8f)][_0x76cbf1(0x91)];_0x31e095++){const _0x291d01=_0x213309['protocol_handlers'][_0x31e095];if(_0x291d01[_0x76cbf1(0xa2)]&&(exports[_0x76cbf1(0xb6)][_0x76cbf1(0x84)](_0x291d01[_0x76cbf1(0xa2)])||_0x291d01[_0x76cbf1(0xa2)][_0x76cbf1(0x93)](_0x76cbf1(0x74))===0x0)){if(!((0x0,validate_1[_0x76cbf1(0xad)])(_0x291d01['url'])&&_0x291d01[_0x76cbf1(0x7b)][_0x76cbf1(0x93)](_0x213309[_0x76cbf1(0x75)])<0x0))continue;}_0x213309[_0x76cbf1(0x8f)][_0x76cbf1(0x9b)](_0x31e095,0x1),_0x31e095--;}}exports[_0x148e5c(0xb6)]=['bitcoin',_0x148e5c(0xb5),_0x148e5c(0x72),_0x148e5c(0xa4),'im',_0x148e5c(0x73),'ircs','magnet',_0x148e5c(0xa7),_0x148e5c(0x86),_0x148e5c(0x9d),_0x148e5c(0x78),_0x148e5c(0x8e),_0x148e5c(0xa8),'sftp',_0x148e5c(0x6b),_0x148e5c(0x8a),_0x148e5c(0x83),_0x148e5c(0x77),_0x148e5c(0x90),_0x148e5c(0xaa),_0x148e5c(0xac),_0x148e5c(0x96),_0x148e5c(0x79)];
@@ -1 +1 @@
1
- 'use strict';const _0x56b88a=_0x5402;function _0x2bc7(){const _0x296af1=['WebSpatialTest','start_url','1890795JEGahi','checkId','Cli','configScope','__esModule','70351IIYRRC','manifest-url','useDefaultManifestJson','config','16jKpyLZ','2030310ikQpDC','./config','cwd','join','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','PWAGenerator','../resource/load','existsSync','138242frTLxp','manifest','1797318NHBzHV','defineProperty','defaultManifestJson','35420PcHQNJ','7nXljsR','validate','check\x20manifest.json:\x20ok','1145DQRisu','json','checkIcons','loadJsonFromNet','minimal-ui','loadJsonFromDisk','public/manifest.webmanifest','888WwJFAY','6goGutS','bundle-id','1001vWWZwn','path','configDisplay','1588LeFuDP','log','base','configDeeplink','warn'];_0x2bc7=function(){return _0x296af1;};return _0x2bc7();}(function(_0x27fcb6,_0xb7909c){const _0x210c1f=_0x5402,_0x247e0f=_0x27fcb6();while(!![]){try{const _0x141d42=-parseInt(_0x210c1f(0x15c))/0x1*(-parseInt(_0x210c1f(0x17a))/0x2)+parseInt(_0x210c1f(0x157))/0x3+-parseInt(_0x210c1f(0x17f))/0x4*(parseInt(_0x210c1f(0x172))/0x5)+parseInt(_0x210c1f(0x161))/0x6*(parseInt(_0x210c1f(0x16f))/0x7)+parseInt(_0x210c1f(0x160))/0x8*(parseInt(_0x210c1f(0x16b))/0x9)+parseInt(_0x210c1f(0x16e))/0xa*(-parseInt(_0x210c1f(0x17c))/0xb)+parseInt(_0x210c1f(0x179))/0xc*(-parseInt(_0x210c1f(0x169))/0xd);if(_0x141d42===_0xb7909c)break;else _0x247e0f['push'](_0x247e0f['shift']());}catch(_0x195fab){_0x247e0f['push'](_0x247e0f['shift']());}}}(_0x2bc7,0x5c84c));Object[_0x56b88a(0x16c)](exports,_0x56b88a(0x15b),{'value':!![]}),exports[_0x56b88a(0x166)]=void 0x0;const path_1=require(_0x56b88a(0x17d)),config_1=require(_0x56b88a(0x162)),load_1=require(_0x56b88a(0x167)),validate_1=require('./validate'),fs=require('fs'),Cli_1=require('../Cli');function _0x5402(_0x458a54,_0x1a21ce){const _0x2bc7e4=_0x2bc7();return _0x5402=function(_0x5402a7,_0x36a74a){_0x5402a7=_0x5402a7-0x154;let _0x36d8a9=_0x2bc7e4[_0x5402a7];return _0x36d8a9;},_0x5402(_0x458a54,_0x1a21ce);}class PWAGenerator{static async['generator'](_0x3bd265,_0x5ae3e6=![]){const _0x19f684=_0x56b88a;let _0x1c155c=await this[_0x19f684(0x170)](_0x3bd265,_0x5ae3e6);return console[_0x19f684(0x180)](_0x19f684(0x171)),await this[_0x19f684(0x15f)](_0x1c155c,_0x3bd265,_0x5ae3e6),console['log']('reset\x20manifest.json:\x20ok'),_0x1c155c;}static async[_0x56b88a(0x170)](_0x9c24a3,_0x1ea3c4=![]){const _0x1d3d83=_0x56b88a;var _0x1ea7f4,_0x298edb;let _0x481576={},_0x16000b='',_0x1b7bea=![],_0x5cafa5=![];if(_0x9c24a3['manifest-url'])_0x16000b=_0x9c24a3[_0x1d3d83(0x15d)],_0x1b7bea=!![],_0x481576=await(0x0,load_1[_0x1d3d83(0x175)])(_0x9c24a3[_0x1d3d83(0x15d)]);else{_0x9c24a3[_0x1d3d83(0x16a)]?_0x16000b=(0x0,path_1[_0x1d3d83(0x164)])(process[_0x1d3d83(0x163)](),_0x9c24a3[_0x1d3d83(0x16a)]):(_0x16000b=(0x0,path_1['join'])(process[_0x1d3d83(0x163)](),'public/manifest.json'),!fs[_0x1d3d83(0x168)](_0x16000b)&&(_0x16000b=(0x0,path_1[_0x1d3d83(0x164)])(process[_0x1d3d83(0x163)](),_0x1d3d83(0x178))));if(!fs[_0x1d3d83(0x168)](_0x16000b)){if(_0x1ea3c4)_0x5cafa5=!![],Cli_1[_0x1d3d83(0x159)][_0x1d3d83(0x180)][_0x1d3d83(0x154)]('manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode');else throw new Error(_0x1d3d83(0x165));}_0x481576=_0x5cafa5?this['defaultManifestJson']:await(0x0,load_1[_0x1d3d83(0x177)])(_0x16000b),this[_0x1d3d83(0x15e)]=_0x5cafa5;}(0x0,validate_1['checkManifestJson'])(_0x481576,_0x1ea3c4);let _0x4e44c1=(0x0,config_1['configStartUrl'])(_0x481576,(_0x1ea7f4=_0x9c24a3[_0x1d3d83(0x181)])!==null&&_0x1ea7f4!==void 0x0?_0x1ea7f4:'');var _0x791a63=(0x0,validate_1['checkStartUrl'])(_0x4e44c1,_0x16000b,_0x1b7bea,_0x1ea3c4);_0x481576[_0x1d3d83(0x156)]=_0x4e44c1;if(!_0x1ea3c4)(0x0,validate_1[_0x1d3d83(0x158)])(_0x481576,(_0x298edb=_0x9c24a3['bundle-id'])!==null&&_0x298edb!==void 0x0?_0x298edb:'');return await(0x0,validate_1[_0x1d3d83(0x174)])(_0x481576,_0x16000b,_0x1ea3c4),{'json':_0x481576,'url':_0x16000b,'fromNet':_0x791a63};}static[_0x56b88a(0x15f)](_0x26d622,_0x496d41,_0x1c2db9){const _0x437dd4=_0x56b88a;var _0xd51fa8;if(!_0x1c2db9)(0x0,config_1['configId'])(_0x26d622[_0x437dd4(0x173)],(_0xd51fa8=_0x496d41[_0x437dd4(0x17b)])!==null&&_0xd51fa8!==void 0x0?_0xd51fa8:'');(0x0,config_1[_0x437dd4(0x15a)])(_0x26d622[_0x437dd4(0x173)]),(0x0,config_1[_0x437dd4(0x17e)])(_0x26d622[_0x437dd4(0x173)]),(0x0,config_1[_0x437dd4(0x182)])(_0x26d622[_0x437dd4(0x173)]),(0x0,config_1['configMainScene'])(_0x26d622[_0x437dd4(0x173)]);}}exports['PWAGenerator']=PWAGenerator,PWAGenerator['DisplayModes']=['standalone',_0x56b88a(0x176)],PWAGenerator[_0x56b88a(0x16d)]={'name':_0x56b88a(0x155),'display':'minimal-ui','start_url':'/','scope':'/'},PWAGenerator[_0x56b88a(0x15e)]=![];
1
+ 'use strict';const _0x27bffd=_0x22f4;(function(_0xaec11a,_0x5d8fb3){const _0x3ab9e3=_0x22f4,_0xdfcb8d=_0xaec11a();while(!![]){try{const _0x2057b0=-parseInt(_0x3ab9e3(0x1b5))/0x1*(-parseInt(_0x3ab9e3(0x194))/0x2)+parseInt(_0x3ab9e3(0x1a6))/0x3*(parseInt(_0x3ab9e3(0x191))/0x4)+-parseInt(_0x3ab9e3(0x18f))/0x5+-parseInt(_0x3ab9e3(0x18b))/0x6*(parseInt(_0x3ab9e3(0x1a9))/0x7)+parseInt(_0x3ab9e3(0x199))/0x8*(parseInt(_0x3ab9e3(0x19b))/0x9)+-parseInt(_0x3ab9e3(0x197))/0xa+-parseInt(_0x3ab9e3(0x1a7))/0xb*(-parseInt(_0x3ab9e3(0x19e))/0xc);if(_0x2057b0===_0x5d8fb3)break;else _0xdfcb8d['push'](_0xdfcb8d['shift']());}catch(_0x5c6c4e){_0xdfcb8d['push'](_0xdfcb8d['shift']());}}}(_0x2766,0x6a7d9));Object['defineProperty'](exports,_0x27bffd(0x1a1),{'value':!![]}),exports[_0x27bffd(0x19f)]=void 0x0;const path_1=require(_0x27bffd(0x19d)),config_1=require(_0x27bffd(0x1b2)),load_1=require(_0x27bffd(0x1bb)),validate_1=require(_0x27bffd(0x19a)),fs=require('fs'),Cli_1=require(_0x27bffd(0x1a4));function _0x22f4(_0x491b43,_0x42fdd3){const _0x2766d3=_0x2766();return _0x22f4=function(_0x22f48b,_0x244730){_0x22f48b=_0x22f48b-0x188;let _0x114d4a=_0x2766d3[_0x22f48b];return _0x114d4a;},_0x22f4(_0x491b43,_0x42fdd3);}function _0x2766(){const _0x3166d9=['warn','../Cli','public/manifest.json','3vJBdwU','5098489KIVAgt','cwd','931UHLIyz','bundle-id','generator','checkStartUrl','DisplayModes','log','existsSync','WebSpatialTest','manifest-url','./config','config','configMainScene','1LINkPu','configDeeplink','join','configId','minimal-ui','manifest','../resource/load','checkManifestJson','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','public/manifest.webmanifest','configScope','base','10662putGsm','useDefaultManifestJson','standalone','checkIcons','3314640guToXu','Cli','1707856uwSbqk','json','loadJsonFromNet','1025278WQTSOQ','loadJsonFromDisk','reset\x20manifest.json:\x20ok','1765020zrBjKb','check\x20manifest.json:\x20ok','592YpzgCz','./validate','13239HCQFGC','checkId','path','12RTpmwG','PWAGenerator','validate','__esModule','defaultManifestJson'];_0x2766=function(){return _0x3166d9;};return _0x2766();}class PWAGenerator{static async[_0x27bffd(0x1ab)](_0x5c6c68,_0x32840c=![]){const _0x1d9c1a=_0x27bffd;let _0x282da9=await this['validate'](_0x5c6c68,_0x32840c);return console['log'](_0x1d9c1a(0x198)),await this[_0x1d9c1a(0x1b3)](_0x282da9,_0x5c6c68,_0x32840c),console[_0x1d9c1a(0x1ae)](_0x1d9c1a(0x196)),_0x282da9;}static async[_0x27bffd(0x1a0)](_0x3d87f8,_0x378815=![]){const _0x5e7ff2=_0x27bffd;var _0x5adf80,_0x5411a5;let _0x1650ed={},_0xbe7d0e='',_0x15db22=![],_0x1cec60=![];if(_0x3d87f8[_0x5e7ff2(0x1b1)])_0xbe7d0e=_0x3d87f8[_0x5e7ff2(0x1b1)],_0x15db22=!![],_0x1650ed=await(0x0,load_1[_0x5e7ff2(0x193)])(_0x3d87f8[_0x5e7ff2(0x1b1)]);else{_0x3d87f8[_0x5e7ff2(0x1ba)]?_0xbe7d0e=(0x0,path_1['join'])(process[_0x5e7ff2(0x1a8)](),_0x3d87f8[_0x5e7ff2(0x1ba)]):(_0xbe7d0e=(0x0,path_1[_0x5e7ff2(0x1b7)])(process[_0x5e7ff2(0x1a8)](),_0x5e7ff2(0x1a5)),!fs[_0x5e7ff2(0x1af)](_0xbe7d0e)&&(_0xbe7d0e=(0x0,path_1[_0x5e7ff2(0x1b7)])(process['cwd'](),_0x5e7ff2(0x188))));if(!fs[_0x5e7ff2(0x1af)](_0xbe7d0e)){if(_0x378815)_0x1cec60=!![],Cli_1[_0x5e7ff2(0x190)][_0x5e7ff2(0x1ae)][_0x5e7ff2(0x1a3)](_0x5e7ff2(0x1bd));else throw new Error(_0x5e7ff2(0x1be));}_0x1650ed=_0x1cec60?this[_0x5e7ff2(0x1a2)]:await(0x0,load_1[_0x5e7ff2(0x195)])(_0xbe7d0e),this[_0x5e7ff2(0x18c)]=_0x1cec60;}(0x0,validate_1[_0x5e7ff2(0x1bc)])(_0x1650ed,_0x378815);let _0x2d44ad=(0x0,config_1['configStartUrl'])(_0x1650ed,(_0x5adf80=_0x3d87f8[_0x5e7ff2(0x18a)])!==null&&_0x5adf80!==void 0x0?_0x5adf80:'');var _0x49a05e=(0x0,validate_1[_0x5e7ff2(0x1ac)])(_0x2d44ad,_0xbe7d0e,_0x15db22,_0x378815);_0x1650ed['start_url']=_0x2d44ad;if(!_0x378815)(0x0,validate_1[_0x5e7ff2(0x19c)])(_0x1650ed,(_0x5411a5=_0x3d87f8[_0x5e7ff2(0x1aa)])!==null&&_0x5411a5!==void 0x0?_0x5411a5:'');return await(0x0,validate_1[_0x5e7ff2(0x18e)])(_0x1650ed,_0xbe7d0e,_0x378815),{'json':_0x1650ed,'url':_0xbe7d0e,'fromNet':_0x49a05e};}static[_0x27bffd(0x1b3)](_0x179ed0,_0x832e12,_0x2e0ab6){const _0x182d7b=_0x27bffd;var _0x10536d;if(!_0x2e0ab6)(0x0,config_1[_0x182d7b(0x1b8)])(_0x179ed0[_0x182d7b(0x192)],(_0x10536d=_0x832e12['bundle-id'])!==null&&_0x10536d!==void 0x0?_0x10536d:'');(0x0,config_1[_0x182d7b(0x189)])(_0x179ed0[_0x182d7b(0x192)]),(0x0,config_1['configDisplay'])(_0x179ed0[_0x182d7b(0x192)]),(0x0,config_1[_0x182d7b(0x1b6)])(_0x179ed0[_0x182d7b(0x192)]),(0x0,config_1[_0x182d7b(0x1b4)])(_0x179ed0['json']);}}exports[_0x27bffd(0x19f)]=PWAGenerator,PWAGenerator[_0x27bffd(0x1ad)]=[_0x27bffd(0x18d),_0x27bffd(0x1b9)],PWAGenerator[_0x27bffd(0x1a2)]={'name':_0x27bffd(0x1b0),'display':_0x27bffd(0x1b9),'start_url':'/','scope':'/'},PWAGenerator[_0x27bffd(0x18c)]=![];
@@ -2,4 +2,5 @@ export declare function checkManifestJson(manifestJson: Record<string, any>, isD
2
2
  export declare function checkStartUrl(startUrl: string, manifestUrl: string, isNet: boolean, isDev?: boolean): boolean;
3
3
  export declare function checkIcons(manifest: Record<string, any>, manifestUrl: string, isDev?: boolean): Promise<void>;
4
4
  export declare function checkId(manifest: Record<string, any>, bundleId: string): void;
5
+ export declare function validateBundleId(bundleId: string): boolean;
5
6
  export declare function validateURL(url: string): boolean;
@@ -1 +1 @@
1
- 'use strict';function _0x2d84(_0x37dacd,_0x1e06a1){const _0x1ca44a=_0x1ca4();return _0x2d84=function(_0x2d8452,_0x20fcef){_0x2d8452=_0x2d8452-0xc5;let _0x30ba1f=_0x1ca44a[_0x2d8452];return _0x30ba1f;},_0x2d84(_0x37dacd,_0x1e06a1);}const _0x482218=_0x2d84;(function(_0x497752,_0xebd279){const _0x5d10cb=_0x2d84,_0x381e95=_0x497752();while(!![]){try{const _0x387b2d=parseInt(_0x5d10cb(0xde))/0x1+parseInt(_0x5d10cb(0xc8))/0x2+parseInt(_0x5d10cb(0xdd))/0x3+parseInt(_0x5d10cb(0xf3))/0x4+parseInt(_0x5d10cb(0xf0))/0x5+parseInt(_0x5d10cb(0xd0))/0x6+-parseInt(_0x5d10cb(0xc9))/0x7;if(_0x387b2d===_0xebd279)break;else _0x381e95['push'](_0x381e95['shift']());}catch(_0x5c0d65){_0x381e95['push'](_0x381e95['shift']());}}}(_0x1ca4,0xd3e44));Object[_0x482218(0xcc)](exports,'__esModule',{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports[_0x482218(0xca)]=checkStartUrl,exports[_0x482218(0xdf)]=checkIcons,exports['checkId']=checkId,exports[_0x482218(0xe1)]=validateURL;const path_1=require(_0x482218(0xdc)),CustomError_1=require(_0x482218(0xd7)),utils_1=require('../utils/utils'),imageHelper_1=require(_0x482218(0xd3)),load_1=require('../resource/load'),Cli_1=require('../Cli');function checkManifestJson(_0x2ed198,_0x3ad087=![]){const _0x3fd9dd=_0x482218;var _0x59c78f;const _0x38a98e=[];!_0x2ed198[_0x3fd9dd(0xd8)]&&!_0x2ed198[_0x3fd9dd(0xee)]&&!_0x3ad087&&_0x38a98e['push']({'code':0xbbe,'message':_0x3fd9dd(0xce),'message_staring_params':{}});!((_0x59c78f=_0x2ed198[_0x3fd9dd(0xd4)])===null||_0x59c78f===void 0x0?void 0x0:_0x59c78f[_0x3fd9dd(0xe7)])&&!_0x3ad087&&_0x38a98e[_0x3fd9dd(0xcb)]({'code':0xbbf,'message':_0x3fd9dd(0xf5),'message_staring_params':{}});!_0x2ed198['start_url']&&_0x38a98e[_0x3fd9dd(0xcb)]({'code':0xbc0,'message':_0x3fd9dd(0xe0),'message_staring_params':{}});if(_0x38a98e['length'])throw new CustomError_1[(_0x3fd9dd(0xda))](_0x38a98e);}function checkStartUrl(_0xcc626c,_0x4b8bee,_0x4dd836,_0x440e1c=![]){const _0x1dff0f=_0x482218;var _0x1bda5e=![];if(_0x440e1c)return _0xcc626c[_0x1dff0f(0xc7)](_0x1dff0f(0xd5))||_0xcc626c[_0x1dff0f(0xc7)](_0x1dff0f(0xd9));if(_0x4dd836){if(_0xcc626c['startsWith'](_0x1dff0f(0xd5))){const _0x303e85=new URL(_0xcc626c),_0x5ed2c7=new URL(_0x4b8bee);if(_0x303e85[_0x1dff0f(0xec)]!==_0x5ed2c7[_0x1dff0f(0xec)])throw new CustomError_1[(_0x1dff0f(0xda))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0xcc626c[_0x1dff0f(0xc7)](_0x1dff0f(0xd9)))throw new CustomError_1[(_0x1dff0f(0xda))]({'code':0xfa0,'message':_0x1dff0f(0xe8),'message_staring_params':{}});}}else{if(_0xcc626c[_0x1dff0f(0xc7)](_0x1dff0f(0xd5))||_0xcc626c[_0x1dff0f(0xc7)](_0x1dff0f(0xd9)))throw new CustomError_1['CustomError']({'code':0xfa0,'message':'Local\x20manifest\x20cannot\x20package\x20network\x20project','message_staring_params':{}});}return _0x1bda5e;}async function checkIcons(_0xd2991c,_0x536e23,_0x1c418a=![]){const _0x29c1e3=_0x482218;var _0x3dbd90,_0x51520a;if(!((_0x3dbd90=_0xd2991c[_0x29c1e3(0xd4)])===null||_0x3dbd90===void 0x0?void 0x0:_0x3dbd90[_0x29c1e3(0xe7)])&&_0x1c418a){Cli_1[_0x29c1e3(0xef)][_0x29c1e3(0xcd)][_0x29c1e3(0xf2)](_0x29c1e3(0xc5));return;}const _0x4600c3=(0x0,utils_1[_0x29c1e3(0xf4)])(_0x536e23);let _0x45d73b,_0x75c070,_0x5c739e,_0x3280c8=0x0;for(var _0x2a52ce=0x0;_0x2a52ce<_0xd2991c['icons'][_0x29c1e3(0xe7)];_0x2a52ce++){const _0x4f418b=_0xd2991c[_0x29c1e3(0xd4)][_0x2a52ce];let _0x1a4d00=((_0x51520a=_0x4f418b[_0x29c1e3(0xeb)])===null||_0x51520a===void 0x0?void 0x0:_0x51520a[_0x29c1e3(0xe4)](_0x29c1e3(0xe2)))>=0x0;if(!_0x1a4d00)continue;let _0x4d2016=![],_0x499ba3=_0x4f418b[_0x29c1e3(0xcf)],_0x5699d5,_0x49c27f=0x0;!validateURL(_0x499ba3)&&(_0x499ba3=(0x0,path_1[_0x29c1e3(0xd2)])(_0x4600c3,_0x499ba3));if(_0x4f418b[_0x29c1e3(0xf6)]){const _0x4d8ec7=_0x4f418b[_0x29c1e3(0xf6)]['split']('\x20');_0x4d8ec7[_0x29c1e3(0xd1)](_0x103c87=>{let _0x619dd5=_0x103c87['split']('x');Number(_0x619dd5[0x0])>=0x400&&Number(_0x619dd5[0x1])>=0x400&&(_0x4d2016=!![],Number(_0x619dd5[0x0])>_0x49c27f&&(_0x49c27f=Number(_0x619dd5[0x0])));});}else _0x5699d5=!_0x499ba3['startsWith']('http')?await(0x0,load_1[_0x29c1e3(0xed)])(_0x499ba3):await(0x0,load_1['loadImageFromNet'])(_0x499ba3),_0x5699d5[_0x29c1e3(0xe3)]()>=0x400&&_0x5699d5[_0x29c1e3(0xe9)]()>=0x400&&(_0x4d2016=!![],_0x5699d5['getWidth']()>_0x49c27f&&(_0x49c27f=_0x5699d5['getWidth']()));_0x4d2016&&_0x1a4d00&&(_0x49c27f>_0x3280c8&&(_0x3280c8=_0x49c27f,_0x45d73b=_0x5699d5,_0x75c070=_0x499ba3,_0x5c739e=_0x4f418b[_0x29c1e3(0xeb)]));}if(_0x3280c8===0x0){if(_0x1c418a){Cli_1[_0x29c1e3(0xef)][_0x29c1e3(0xcd)]['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');return;}throw new CustomError_1[(_0x29c1e3(0xda))]({'code':0xfa0,'message':_0x29c1e3(0xea),'message_staring_params':{}});}else _0x75c070&&(_0x45d73b=!_0x75c070[_0x29c1e3(0xc7)](_0x29c1e3(0xe5))?await(0x0,load_1['loadImageFromDisk'])(_0x75c070):await(0x0,load_1['loadImageFromNet'])(_0x75c070));if(_0x45d73b&&!imageHelper_1[_0x29c1e3(0xf1)][_0x29c1e3(0xd6)](_0x45d73b)){if(_0x1c418a){Cli_1['Cli'][_0x29c1e3(0xcd)][_0x29c1e3(0xf2)](_0x29c1e3(0xea));return;}throw new CustomError_1[(_0x29c1e3(0xda))]({'code':0xfa0,'message':_0x29c1e3(0xdb),'message_staring_params':{}});}_0xd2991c[_0x29c1e3(0xd4)]=[{'src':_0x75c070,'sizes':_0x3280c8+'x'+_0x3280c8,'purpose':_0x5c739e}];}function checkId(_0x5dcb90,_0x33c0ae){const _0x344acf=_0x482218;!_0x5dcb90['id']&&(_0x5dcb90['id']=_0x5dcb90[_0x344acf(0xc6)]);if(!validateURL(_0x5dcb90['id'])&&!_0x33c0ae)throw new CustomError_1[(_0x344acf(0xda))]({'code':0xfa0,'message':_0x344acf(0xe6),'message_staring_params':{}});}function _0x1ca4(){const _0x2ec327=['In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','getHeight','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','purpose','host','loadImageFromDisk','short_name','Cli','7892965XxeBXw','ImageHelper','warn','5616652OLoMrT','parseRouter','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','sizes','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','start_url','startsWith','931918KNPzLx','35980686GGJjRp','checkStartUrl','push','defineProperty','log','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','src','4750140ksADSR','forEach','join','../resource/imageHelper','icons','https://','isFullyOpaque','../utils/CustomError','name','http://','CustomError','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','path','118740WcvtlO','1728021Sarkii','checkIcons','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','validateURL','maskable','getWidth','indexOf','http','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','length'];_0x1ca4=function(){return _0x2ec327;};return _0x1ca4();}function validateURL(_0x5eac6c){try{return new URL(_0x5eac6c),!![];}catch(_0x150eea){return![];}}
1
+ 'use strict';const _0x22e5cc=_0x34a0;(function(_0x4d9775,_0x5afa4b){const _0x273270=_0x34a0,_0x48028e=_0x4d9775();while(!![]){try{const _0x471d95=-parseInt(_0x273270(0x1ec))/0x1+parseInt(_0x273270(0x1f2))/0x2+-parseInt(_0x273270(0x1eb))/0x3+-parseInt(_0x273270(0x1f0))/0x4*(-parseInt(_0x273270(0x200))/0x5)+parseInt(_0x273270(0x1dc))/0x6+-parseInt(_0x273270(0x201))/0x7+parseInt(_0x273270(0x1fc))/0x8;if(_0x471d95===_0x5afa4b)break;else _0x48028e['push'](_0x48028e['shift']());}catch(_0x5bfb18){_0x48028e['push'](_0x48028e['shift']());}}}(_0x135e,0xd945d));Object[_0x22e5cc(0x1e0)](exports,_0x22e5cc(0x1fa),{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports[_0x22e5cc(0x1de)]=checkStartUrl,exports[_0x22e5cc(0x1d9)]=checkIcons,exports['checkId']=checkId,exports['validateBundleId']=validateBundleId,exports['validateURL']=validateURL;const path_1=require(_0x22e5cc(0x1d4)),CustomError_1=require('../utils/CustomError'),utils_1=require(_0x22e5cc(0x1e8)),imageHelper_1=require(_0x22e5cc(0x1e9)),load_1=require(_0x22e5cc(0x1e7)),Cli_1=require('../Cli');function checkManifestJson(_0x2b233d,_0x385817=![]){const _0x18a2a5=_0x22e5cc;var _0x3b8e0d;const _0x573692=[];!_0x2b233d[_0x18a2a5(0x1df)]&&!_0x2b233d[_0x18a2a5(0x1ef)]&&!_0x385817&&_0x573692[_0x18a2a5(0x1f5)]({'code':0xbbe,'message':_0x18a2a5(0x1f8),'message_staring_params':{}});!((_0x3b8e0d=_0x2b233d['icons'])===null||_0x3b8e0d===void 0x0?void 0x0:_0x3b8e0d[_0x18a2a5(0x1f6)])&&!_0x385817&&_0x573692[_0x18a2a5(0x1f5)]({'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':{}});!_0x2b233d[_0x18a2a5(0x1ea)]&&_0x573692['push']({'code':0xbc0,'message':_0x18a2a5(0x206),'message_staring_params':{}});if(_0x573692[_0x18a2a5(0x1f6)])throw new CustomError_1[(_0x18a2a5(0x1e3))](_0x573692);}function checkStartUrl(_0x370bc2,_0x232f07,_0x3937ff,_0x30d942=![]){const _0x3fcf40=_0x22e5cc;var _0x16218a=![];if(_0x30d942)return _0x370bc2[_0x3fcf40(0x204)](_0x3fcf40(0x1f9))||_0x370bc2['startsWith']('http://');if(_0x3937ff){if(_0x370bc2[_0x3fcf40(0x204)](_0x3fcf40(0x1f9))){const _0x4df6a0=new URL(_0x370bc2),_0x307ec4=new URL(_0x232f07);if(_0x4df6a0['host']!==_0x307ec4['host'])throw new CustomError_1[(_0x3fcf40(0x1e3))]({'code':0xfa0,'message':_0x3fcf40(0x203),'message_staring_params':{}});}else{if(_0x370bc2[_0x3fcf40(0x204)](_0x3fcf40(0x1f1)))throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x370bc2['startsWith']('https://')||_0x370bc2[_0x3fcf40(0x204)](_0x3fcf40(0x1f1)))throw new CustomError_1[(_0x3fcf40(0x1e3))]({'code':0xfa0,'message':_0x3fcf40(0x1dd),'message_staring_params':{}});}return _0x16218a;}async function checkIcons(_0x489774,_0x10644d,_0x29e815=![]){const _0x2db812=_0x22e5cc;var _0x48773e,_0x54486c;if(!((_0x48773e=_0x489774[_0x2db812(0x1ff)])===null||_0x48773e===void 0x0?void 0x0:_0x48773e[_0x2db812(0x1f6)])&&_0x29e815){Cli_1[_0x2db812(0x1fd)][_0x2db812(0x1f4)]['warn'](_0x2db812(0x1d5));return;}const _0x133ec6=(0x0,utils_1[_0x2db812(0x1e2)])(_0x10644d);let _0x481fdc,_0x244336,_0x341df4,_0x1fb0e0=0x0;for(var _0x4c33df=0x0;_0x4c33df<_0x489774[_0x2db812(0x1ff)][_0x2db812(0x1f6)];_0x4c33df++){const _0x1bb2b2=_0x489774['icons'][_0x4c33df];let _0x4a0b31=((_0x54486c=_0x1bb2b2['purpose'])===null||_0x54486c===void 0x0?void 0x0:_0x54486c[_0x2db812(0x1d6)](_0x2db812(0x1e4)))>=0x0;if(!_0x4a0b31)continue;let _0x45ce43=![],_0x470e32=_0x1bb2b2['src'],_0x177851,_0x30e9c1=0x0;!validateURL(_0x470e32)&&(_0x470e32=(0x0,path_1[_0x2db812(0x1fe)])(_0x133ec6,_0x470e32));if(_0x1bb2b2[_0x2db812(0x1db)]){const _0x30c5f3=_0x1bb2b2['sizes'][_0x2db812(0x1e5)]('\x20');_0x30c5f3[_0x2db812(0x205)](_0x127612=>{const _0x4b497f=_0x2db812;let _0x2abe95=_0x127612[_0x4b497f(0x1e5)]('x');Number(_0x2abe95[0x0])>=0x400&&Number(_0x2abe95[0x1])>=0x400&&(_0x45ce43=!![],Number(_0x2abe95[0x0])>_0x30e9c1&&(_0x30e9c1=Number(_0x2abe95[0x0])));});}else _0x177851=!_0x470e32[_0x2db812(0x204)](_0x2db812(0x1da))?await(0x0,load_1['loadImageFromDisk'])(_0x470e32):await(0x0,load_1[_0x2db812(0x1f3)])(_0x470e32),_0x177851[_0x2db812(0x1e1)]()>=0x400&&_0x177851[_0x2db812(0x1f7)]()>=0x400&&(_0x45ce43=!![],_0x177851[_0x2db812(0x1e1)]()>_0x30e9c1&&(_0x30e9c1=_0x177851[_0x2db812(0x1e1)]()));_0x45ce43&&_0x4a0b31&&(_0x30e9c1>_0x1fb0e0&&(_0x1fb0e0=_0x30e9c1,_0x481fdc=_0x177851,_0x244336=_0x470e32,_0x341df4=_0x1bb2b2['purpose']));}if(_0x1fb0e0===0x0){if(_0x29e815){Cli_1['Cli'][_0x2db812(0x1f4)][_0x2db812(0x202)](_0x2db812(0x1ed));return;}throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x2db812(0x1ed),'message_staring_params':{}});}else _0x244336&&(_0x481fdc=!_0x244336[_0x2db812(0x204)](_0x2db812(0x1da))?await(0x0,load_1[_0x2db812(0x1d8)])(_0x244336):await(0x0,load_1[_0x2db812(0x1f3)])(_0x244336));if(_0x481fdc&&!imageHelper_1['ImageHelper']['isFullyOpaque'](_0x481fdc)){if(_0x29e815){Cli_1[_0x2db812(0x1fd)][_0x2db812(0x1f4)][_0x2db812(0x202)](_0x2db812(0x1ed));return;}throw new CustomError_1[(_0x2db812(0x1e3))]({'code':0xfa0,'message':_0x2db812(0x1d7),'message_staring_params':{}});}_0x489774[_0x2db812(0x1ff)]=[{'src':_0x244336,'sizes':_0x1fb0e0+'x'+_0x1fb0e0,'purpose':_0x341df4}];}function _0x135e(){const _0x37d21e=['icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','indexOf','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','loadImageFromDisk','checkIcons','http','sizes','10254528jgpvTv','Local\x20manifest\x20cannot\x20package\x20network\x20project','checkStartUrl','name','defineProperty','getWidth','parseRouter','CustomError','maskable','split','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','../resource/load','../utils/utils','../resource/imageHelper','start_url','1543005WYYEAb','159213RcqSrv','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','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','short_name','22948lCxDCL','http://','1536846qwRapT','loadImageFromNet','log','push','length','getHeight','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','https://','__esModule','test','1107376lThTzk','Cli','join','icons','240tMzOrl','9294684MgdbEy','warn','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','startsWith','forEach','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','path'];_0x135e=function(){return _0x37d21e;};return _0x135e();}function _0x34a0(_0x563a3d,_0x2f54cf){const _0x135ef9=_0x135e();return _0x34a0=function(_0x34a05e,_0x4b69bd){_0x34a05e=_0x34a05e-0x1d4;let _0x58a261=_0x135ef9[_0x34a05e];return _0x58a261;},_0x34a0(_0x563a3d,_0x2f54cf);}function checkId(_0x261666,_0xda0e41){const _0x1fcf43=_0x22e5cc;if(_0xda0e41){if(!validateBundleId(_0xda0e41))throw new CustomError_1[(_0x1fcf43(0x1e3))]({'code':0xfa0,'message':_0x1fcf43(0x1ee),'message_staring_params':{}});return;}!_0x261666['id']&&(_0x261666['id']=_0x261666['start_url']);if(!validateURL(_0x261666['id'])&&!_0xda0e41)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1fcf43(0x1e6),'message_staring_params':{}});}function validateBundleId(_0x10f711){const _0x4f5cc8=_0x22e5cc,_0x22f411=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x22f411[_0x4f5cc8(0x1fb)](_0x10f711);}function validateURL(_0x342dc3){try{return new URL(_0x342dc3),!![];}catch(_0x435568){return![];}}
@@ -1 +1 @@
1
- 'use strict';const _0x270420=_0x15b5;function _0x127c(){const _0x45ead3=['defineProperty','writeFileSync','172668PnNbvd','2646630FIuCGK','55shuCzi','2002090TaJdIG','clearDir','7JXeVkV','isDirectory','readFileSync','statSync','readdirSync','mkdirSync','40QVdiZu','unlinkSync','53165PjSrdo','2SitRXQ','1691127OakKVR','isFile','existsSync','943911eSmkda','118062UrBqHy'];_0x127c=function(){return _0x45ead3;};return _0x127c();}(function(_0x2b423e,_0xafdb06){const _0x3d2c14=_0x15b5,_0x2136de=_0x2b423e();while(!![]){try{const _0x5a1805=-parseInt(_0x3d2c14(0x78))/0x1+parseInt(_0x3d2c14(0x79))/0x2*(parseInt(_0x3d2c14(0x7a))/0x3)+-parseInt(_0x3d2c14(0x6b))/0x4+-parseInt(_0x3d2c14(0x6c))/0x5+-parseInt(_0x3d2c14(0x7e))/0x6*(parseInt(_0x3d2c14(0x70))/0x7)+parseInt(_0x3d2c14(0x76))/0x8*(-parseInt(_0x3d2c14(0x7d))/0x9)+parseInt(_0x3d2c14(0x6e))/0xa*(parseInt(_0x3d2c14(0x6d))/0xb);if(_0x5a1805===_0xafdb06)break;else _0x2136de['push'](_0x2136de['shift']());}catch(_0x1133e0){_0x2136de['push'](_0x2136de['shift']());}}}(_0x127c,0x60710));function _0x15b5(_0x7eade7,_0x53bb9f){const _0x127cb0=_0x127c();return _0x15b5=function(_0x15b5f6,_0x8d7aba){_0x15b5f6=_0x15b5f6-0x69;let _0x436e65=_0x127cb0[_0x15b5f6];return _0x436e65;},_0x15b5(_0x7eade7,_0x53bb9f);}Object[_0x270420(0x69)](exports,'__esModule',{'value':!![]}),exports['copyDir']=copyDir,exports[_0x270420(0x6f)]=clearDir;const fs=require('fs');function copyDir(_0x164eb1,_0x44fcc5){const _0x400be3=_0x270420,_0x5b873c=fs[_0x400be3(0x74)](_0x164eb1);_0x5b873c['forEach'](_0x4dcdcc=>{const _0x5da211=_0x400be3,_0x1797ff=_0x164eb1+'/'+_0x4dcdcc,_0x4d24f2=_0x44fcc5+'/'+_0x4dcdcc,_0x28a93f=fs['statSync'](_0x1797ff);if(_0x28a93f[_0x5da211(0x7b)]())try{fs[_0x5da211(0x6a)](_0x4d24f2,fs[_0x5da211(0x72)](_0x1797ff));}catch(_0x26044a){console['log'](_0x26044a);}else _0x28a93f[_0x5da211(0x71)]()&&(!fs[_0x5da211(0x7c)](_0x4d24f2)&&fs[_0x5da211(0x75)](_0x4d24f2,{'recursive':!![]}),copyDir(_0x1797ff,_0x4d24f2));});}function clearDir(_0x46734c){const _0x1656d7=_0x270420,_0x2c90a3=fs[_0x1656d7(0x74)](_0x46734c);_0x2c90a3['forEach'](_0x15993d=>{const _0x12300b=_0x1656d7,_0x58cc4c=_0x46734c+'/'+_0x15993d,_0x4ed892=fs[_0x12300b(0x73)](_0x58cc4c);if(_0x4ed892[_0x12300b(0x7b)]())try{fs[_0x12300b(0x77)](_0x58cc4c);}catch(_0x4747d9){console['log'](_0x4747d9);}else _0x4ed892[_0x12300b(0x71)]()&&clearDir(_0x58cc4c);});}
1
+ 'use strict';const _0x5a247f=_0x22c2;(function(_0x309e2,_0x4d979a){const _0x48cf56=_0x22c2,_0xf2d8b7=_0x309e2();while(!![]){try{const _0x302408=-parseInt(_0x48cf56(0xe0))/0x1*(parseInt(_0x48cf56(0xde))/0x2)+-parseInt(_0x48cf56(0xce))/0x3*(parseInt(_0x48cf56(0xcb))/0x4)+-parseInt(_0x48cf56(0xe2))/0x5*(-parseInt(_0x48cf56(0xdc))/0x6)+-parseInt(_0x48cf56(0xd9))/0x7*(parseInt(_0x48cf56(0xd3))/0x8)+-parseInt(_0x48cf56(0xcc))/0x9*(parseInt(_0x48cf56(0xd4))/0xa)+-parseInt(_0x48cf56(0xdd))/0xb+-parseInt(_0x48cf56(0xca))/0xc*(-parseInt(_0x48cf56(0xda))/0xd);if(_0x302408===_0x4d979a)break;else _0xf2d8b7['push'](_0xf2d8b7['shift']());}catch(_0x4c0948){_0xf2d8b7['push'](_0xf2d8b7['shift']());}}}(_0x5e5e,0x2fe6b));function _0x5e5e(){const _0x37c7b3=['unlinkSync','5jNDxhS','statSync','1137300wDBYIO','58424ddhKam','1386819lZADqL','isFile','27iehXmF','existsSync','readdirSync','isDirectory','clearDir','10552tGGCNC','20ZPJpgy','readFileSync','__esModule','writeFileSync','forEach','812jAMvdt','143eDGefp','copyDir','653850SHPIUP','2870725qEWnXd','14526oOcxEj','log','14vwiQGf'];_0x5e5e=function(){return _0x37c7b3;};return _0x5e5e();}Object['defineProperty'](exports,_0x5a247f(0xd6),{'value':!![]}),exports[_0x5a247f(0xdb)]=copyDir,exports[_0x5a247f(0xd2)]=clearDir;const fs=require('fs');function copyDir(_0x39274f,_0xbcccfa){const _0x265fa9=_0x5a247f,_0x15baf9=fs[_0x265fa9(0xd0)](_0x39274f);_0x15baf9[_0x265fa9(0xd8)](_0x3d934d=>{const _0x3c4c02=_0x265fa9,_0x4f7ffa=_0x39274f+'/'+_0x3d934d,_0x4bda84=_0xbcccfa+'/'+_0x3d934d,_0x5adbf6=fs[_0x3c4c02(0xe3)](_0x4f7ffa);if(_0x5adbf6[_0x3c4c02(0xcd)]())try{fs[_0x3c4c02(0xd7)](_0x4bda84,fs[_0x3c4c02(0xd5)](_0x4f7ffa));}catch(_0x382df8){console[_0x3c4c02(0xdf)](_0x382df8);}else _0x5adbf6[_0x3c4c02(0xd1)]()&&(!fs[_0x3c4c02(0xcf)](_0x4bda84)&&fs['mkdirSync'](_0x4bda84,{'recursive':!![]}),copyDir(_0x4f7ffa,_0x4bda84));});}function _0x22c2(_0x134a00,_0x5b4e8f){const _0x5e5e6a=_0x5e5e();return _0x22c2=function(_0x22c2a8,_0x5a3aba){_0x22c2a8=_0x22c2a8-0xca;let _0x1b1336=_0x5e5e6a[_0x22c2a8];return _0x1b1336;},_0x22c2(_0x134a00,_0x5b4e8f);}function clearDir(_0x2608ae){const _0x213d10=_0x5a247f,_0xf519f0=fs['readdirSync'](_0x2608ae);_0xf519f0[_0x213d10(0xd8)](_0x19bc33=>{const _0xd751a5=_0x213d10,_0x5bcc30=_0x2608ae+'/'+_0x19bc33,_0x4cfb54=fs[_0xd751a5(0xe3)](_0x5bcc30);if(_0x4cfb54[_0xd751a5(0xcd)]())try{fs[_0xd751a5(0xe1)](_0x5bcc30);}catch(_0x2a8bcf){console[_0xd751a5(0xdf)](_0x2a8bcf);}else _0x4cfb54[_0xd751a5(0xd1)]()&&clearDir(_0x5bcc30);});}
@@ -1 +1 @@
1
- 'use strict';const _0x3070cb=_0x59ae;function _0x59ae(_0x505c15,_0x429e9e){const _0x56b30a=_0x56b3();return _0x59ae=function(_0x59aeba,_0x49924e){_0x59aeba=_0x59aeba-0xf1;let _0x229673=_0x56b30a[_0x59aeba];return _0x229673;},_0x59ae(_0x505c15,_0x429e9e);}function _0x56b3(){const _0x7e01b3=['bitmap','svg2img','15zkPOMG','4664765pziomz','__esModule','Resvg','getHeight','data','ImageHelper','588703FJLLpP','4911405clHKDb','247094jYlkXZ','2530842eYKfLj','2553292GlNuMT','png','getWidth','964968ndnALs','toBuffer','createImg','isFullyOpaque','sharp'];_0x56b3=function(){return _0x7e01b3;};return _0x56b3();}(function(_0x424f03,_0x120f31){const _0x1adecb=_0x59ae,_0x16758b=_0x424f03();while(!![]){try{const _0x514c86=-parseInt(_0x1adecb(0xfe))/0x1+-parseInt(_0x1adecb(0x100))/0x2*(-parseInt(_0x1adecb(0xf7))/0x3)+parseInt(_0x1adecb(0x102))/0x4+parseInt(_0x1adecb(0xff))/0x5+-parseInt(_0x1adecb(0x101))/0x6+-parseInt(_0x1adecb(0xf8))/0x7+parseInt(_0x1adecb(0x105))/0x8;if(_0x514c86===_0x120f31)break;else _0x16758b['push'](_0x16758b['shift']());}catch(_0x142dc4){_0x16758b['push'](_0x16758b['shift']());}}}(_0x56b3,0xa6847));Object['defineProperty'](exports,_0x3070cb(0xf9),{'value':!![]}),exports[_0x3070cb(0xfd)]=void 0x0;const Jimp=require('jimp'),sharp=require(_0x3070cb(0xf4)),resvg_js_1=require('@resvg/resvg-js');class ImageHelper{static[_0x3070cb(0xf2)](_0x44c96a){return new Jimp(_0x44c96a,_0x44c96a,0x0);}static async['webp2PngBuffer'](_0x1facf5){const _0x1d96f4=_0x3070cb;return await sharp(_0x1facf5)['toFormat'](_0x1d96f4(0x103))[_0x1d96f4(0xf1)]();}static async[_0x3070cb(0xf6)](_0x5e349a){const _0x5ca108=_0x3070cb,_0x272ece={'fitTo':{'mode':'width','value':0x400}},_0x4bc0b3=new resvg_js_1[(_0x5ca108(0xfa))](_0x5e349a,_0x272ece),_0x2935bf=_0x4bc0b3['render'](),_0x12f5b1=_0x2935bf['asPng']();return _0x12f5b1;}static[_0x3070cb(0xf3)](_0x444cf4){const _0x13f279=_0x3070cb,_0x20bb51=_0x444cf4[_0x13f279(0x104)]()*_0x444cf4[_0x13f279(0xfb)]();for(var _0x2074c1=0x0;_0x2074c1<_0x20bb51;_0x2074c1++){const _0x1025ea=_0x2074c1*0x4+0x3;if(_0x444cf4[_0x13f279(0xf5)][_0x13f279(0xfc)][_0x1025ea]<0xff)return![];}return!![];}}exports['ImageHelper']=ImageHelper;
1
+ 'use strict';const _0xcedcac=_0x3255;(function(_0x390314,_0x305973){const _0xa803bf=_0x3255,_0x46e5c2=_0x390314();while(!![]){try{const _0x256972=-parseInt(_0xa803bf(0x164))/0x1+parseInt(_0xa803bf(0x162))/0x2*(parseInt(_0xa803bf(0x158))/0x3)+parseInt(_0xa803bf(0x166))/0x4+parseInt(_0xa803bf(0x16d))/0x5*(parseInt(_0xa803bf(0x15f))/0x6)+parseInt(_0xa803bf(0x16c))/0x7+parseInt(_0xa803bf(0x15a))/0x8+-parseInt(_0xa803bf(0x155))/0x9;if(_0x256972===_0x305973)break;else _0x46e5c2['push'](_0x46e5c2['shift']());}catch(_0x23ad40){_0x46e5c2['push'](_0x46e5c2['shift']());}}}(_0x5001,0xa0e96));Object[_0xcedcac(0x169)](exports,_0xcedcac(0x160),{'value':!![]}),exports[_0xcedcac(0x157)]=void 0x0;function _0x3255(_0x590fbd,_0x3d712b){const _0x500116=_0x5001();return _0x3255=function(_0x3255de,_0x41bb92){_0x3255de=_0x3255de-0x155;let _0xfcaf5f=_0x500116[_0x3255de];return _0xfcaf5f;},_0x3255(_0x590fbd,_0x3d712b);}const Jimp=require(_0xcedcac(0x167)),sharp=require('sharp'),resvg_js_1=require(_0xcedcac(0x15e));class ImageHelper{static[_0xcedcac(0x156)](_0xadb27){return new Jimp(_0xadb27,_0xadb27,0x0);}static async['webp2PngBuffer'](_0x2ee270){const _0x5e8c07=_0xcedcac;return await sharp(_0x2ee270)[_0x5e8c07(0x16e)](_0x5e8c07(0x16a))['toBuffer']();}static async[_0xcedcac(0x163)](_0x20552f){const _0x1a38e5=_0xcedcac,_0x4e7d81={'fitTo':{'mode':_0x1a38e5(0x15d),'value':0x400}},_0x3df580=new resvg_js_1[(_0x1a38e5(0x16b))](_0x20552f,_0x4e7d81),_0x3da8d4=_0x3df580[_0x1a38e5(0x165)](),_0x1afeae=_0x3da8d4[_0x1a38e5(0x159)]();return _0x1afeae;}static[_0xcedcac(0x15c)](_0x5adc1b){const _0x92da13=_0xcedcac,_0x46854e=_0x5adc1b[_0x92da13(0x15b)]()*_0x5adc1b[_0x92da13(0x16f)]();for(var _0x41d388=0x0;_0x41d388<_0x46854e;_0x41d388++){const _0x1b40f4=_0x41d388*0x4+0x3;if(_0x5adc1b[_0x92da13(0x168)][_0x92da13(0x161)][_0x1b40f4]<0xff)return![];}return!![];}}exports[_0xcedcac(0x157)]=ImageHelper;function _0x5001(){const _0x16ca0a=['6490794eorCJd','__esModule','data','175058Muihww','svg2img','566701zxpOCi','render','1163916PFadIq','jimp','bitmap','defineProperty','png','Resvg','6003963zXiQMQ','5RePSsZ','toFormat','getHeight','25482771UfVUlf','createImg','ImageHelper','30kFhuhG','asPng','7611496KEsdWh','getWidth','isFullyOpaque','width','@resvg/resvg-js'];_0x5001=function(){return _0x16ca0a;};return _0x5001();}
@@ -1 +1 @@
1
- 'use strict';const _0x5b30af=_0xe563;function _0xe563(_0x152211,_0x34c615){const _0x5b7416=_0x5b74();return _0xe563=function(_0xe563f0,_0x18ce6d){_0xe563f0=_0xe563f0-0x1d5;let _0x199482=_0x5b7416[_0xe563f0];return _0x199482;},_0xe563(_0x152211,_0x34c615);}(function(_0x447644,_0xec45bb){const _0xa5750e=_0xe563,_0x247fe3=_0x447644();while(!![]){try{const _0xa07821=-parseInt(_0xa5750e(0x1ee))/0x1*(parseInt(_0xa5750e(0x204))/0x2)+-parseInt(_0xa5750e(0x205))/0x3+parseInt(_0xa5750e(0x1eb))/0x4*(-parseInt(_0xa5750e(0x1de))/0x5)+parseInt(_0xa5750e(0x1f4))/0x6+parseInt(_0xa5750e(0x1d8))/0x7+parseInt(_0xa5750e(0x1d5))/0x8*(-parseInt(_0xa5750e(0x1ea))/0x9)+parseInt(_0xa5750e(0x1f6))/0xa;if(_0xa07821===_0xec45bb)break;else _0x247fe3['push'](_0x247fe3['shift']());}catch(_0x179f8a){_0x247fe3['push'](_0x247fe3['shift']());}}}(_0x5b74,0x2ad05));Object[_0x5b30af(0x1dc)](exports,_0x5b30af(0x1ed),{'value':!![]}),exports[_0x5b30af(0x1e4)]=exports[_0x5b30af(0x1e9)]=exports['BACK_APPICON_DIRECTORY']=exports[_0x5b30af(0x1e1)]=exports[_0x5b30af(0x203)]=exports[_0x5b30af(0x1d7)]=exports['PROJECT_BUILD_DIRECTORY']=exports['PROJECT_DIRECTORY']=void 0x0;const fs=require('fs'),path_1=require(_0x5b30af(0x201)),file_1=require('./file'),load_1=require(_0x5b30af(0x1f3)),child_process_1=require(_0x5b30af(0x1e7));exports['PROJECT_DIRECTORY']='',exports[_0x5b30af(0x1e2)]='',exports[_0x5b30af(0x1d7)]='',exports['WEB_PROJECT_DIRECTORY']='web-spatial/static-web',exports[_0x5b30af(0x1e1)]=_0x5b30af(0x206),exports[_0x5b30af(0x1d9)]=exports[_0x5b30af(0x1e1)]+_0x5b30af(0x1f5),exports[_0x5b30af(0x1e9)]=exports[_0x5b30af(0x1e1)]+'/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset';const supportPlatform=['visionos'];function _0x5b74(){const _0x29c74e=['./load','2041506UOKAPZ','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','3386390twdwMG','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','loadImageFromDisk','icons','cwd','http','loadImageFromNet','existsSync','cd\x20','resize','PROJECT_DIRECTORY','path','src','WEB_PROJECT_DIRECTORY','335682DXKlnI','706266ocFVTi','web-spatial/Assets.xcassets','43952CxVnWK','./export','PROJECT_EXPORT_DIRECTORY','245154cukjIH','BACK_APPICON_DIRECTORY','execSync',',\x20now\x20WebSpatial\x20only\x20support\x20','defineProperty','node_modules/@webspatial/platform-','214595oNBFXu','./build','includes','ASSET_DIRECTORY','PROJECT_BUILD_DIRECTORY','join','ResourceManager','checkPlatformPath','../../../','child_process','copyDir','MIDDLE_APPICON_DIRECTORY','81SHEljV','8OboRWY','log','__esModule','1NUOxLm','mkdirSync','generateIcon','clearDir','moveProjectFrom'];_0x5b74=function(){return _0x29c74e;};return _0x5b74();}class ResourceManager{static async[_0x5b30af(0x1f2)](_0xb84e29){const _0x2f529c=_0x5b30af,_0x2e8136=(0x0,path_1[_0x2f529c(0x1e3)])(process[_0x2f529c(0x1fa)](),_0xb84e29),_0x1a0fcc=(0x0,path_1['join'])(exports[_0x2f529c(0x200)],exports[_0x2f529c(0x203)]);!fs['existsSync'](_0x1a0fcc)?fs[_0x2f529c(0x1ef)](_0x1a0fcc,{'recursive':!![]}):(0x0,file_1[_0x2f529c(0x1f1)])(_0x1a0fcc);try{(0x0,file_1[_0x2f529c(0x1e8)])(_0x2e8136,_0x1a0fcc);}catch(_0x4a7849){console[_0x2f529c(0x1ec)](_0x4a7849);}}static async[_0x5b30af(0x1f0)](_0x56c0c9){const _0x1c83d0=_0x5b30af,_0x233c37=_0x56c0c9['json'],_0x555742=_0x233c37[_0x1c83d0(0x1f9)][0x0][_0x1c83d0(0x202)],_0x303346=!_0x555742['startsWith'](_0x1c83d0(0x1fb))?await(0x0,load_1[_0x1c83d0(0x1f8)])(_0x555742):await(0x0,load_1[_0x1c83d0(0x1fc)])(_0x555742);return _0x303346[_0x1c83d0(0x1ff)](0x400,0x400),_0x303346;}static[_0x5b30af(0x1e5)](_0x46c3e2){const _0x3ecb36=_0x5b30af,_0x1ddeca=_0x46c3e2!==null&&_0x46c3e2!==void 0x0?_0x46c3e2:supportPlatform[0x0];if(!supportPlatform[_0x3ecb36(0x1e0)](_0x1ddeca))throw new Error('not\x20support\x20platform\x20'+_0x1ddeca+_0x3ecb36(0x1db)+supportPlatform[_0x3ecb36(0x1e3)](','));let _0xdba899=(0x0,path_1['join'])(process[_0x3ecb36(0x1fa)](),_0x3ecb36(0x1dd)+_0x1ddeca);!fs[_0x3ecb36(0x1fd)](_0xdba899)&&(_0xdba899=(0x0,path_1[_0x3ecb36(0x1e3)])(__dirname,'../../../node_modules/@webspatial/platform-'+_0x1ddeca));const _0x16fd1e=fs[_0x3ecb36(0x1fd)](_0xdba899);!_0x16fd1e&&(0x0,child_process_1[_0x3ecb36(0x1da)])(_0x3ecb36(0x1fe)+(0x0,path_1[_0x3ecb36(0x1e3)])(__dirname,_0x3ecb36(0x1e6))+_0x3ecb36(0x1f7)+_0x1ddeca),exports[_0x3ecb36(0x200)]=_0xdba899,exports[_0x3ecb36(0x1e2)]=(0x0,path_1[_0x3ecb36(0x1e3)])(exports[_0x3ecb36(0x200)],_0x3ecb36(0x1df)),exports[_0x3ecb36(0x1d7)]=(0x0,path_1[_0x3ecb36(0x1e3)])(exports['PROJECT_DIRECTORY'],_0x3ecb36(0x1d6));}}exports[_0x5b30af(0x1e4)]=ResourceManager;
1
+ 'use strict';const _0x545e26=_0x1f91;(function(_0x11474e,_0xd4d108){const _0x156ae6=_0x1f91,_0x82e6af=_0x11474e();while(!![]){try{const _0x1e3bb1=-parseInt(_0x156ae6(0x12f))/0x1*(-parseInt(_0x156ae6(0x146))/0x2)+-parseInt(_0x156ae6(0x147))/0x3+parseInt(_0x156ae6(0x13f))/0x4+parseInt(_0x156ae6(0x13c))/0x5+parseInt(_0x156ae6(0x153))/0x6+-parseInt(_0x156ae6(0x136))/0x7*(-parseInt(_0x156ae6(0x149))/0x8)+parseInt(_0x156ae6(0x142))/0x9*(-parseInt(_0x156ae6(0x144))/0xa);if(_0x1e3bb1===_0xd4d108)break;else _0x82e6af['push'](_0x82e6af['shift']());}catch(_0x3cb46a){_0x82e6af['push'](_0x82e6af['shift']());}}}(_0x3876,0xf2b3b));function _0x3876(){const _0x333a8c=['json','node_modules/@webspatial/platform-','6418276xLTtma','not\x20support\x20platform\x20','./load','1352412duSCEW','path','90XZlkwo','./file','4GYnbfv','3417531RPijJd','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','16824oDlFFA','moveProjectFrom','__esModule','loadImageFromNet','PROJECT_DIRECTORY','mkdirSync','PROJECT_BUILD_DIRECTORY','PROJECT_EXPORT_DIRECTORY','loadImageFromDisk','includes','28968dnvZDW','./export','ASSET_DIRECTORY','join','child_process','WEB_PROJECT_DIRECTORY','existsSync','BACK_APPICON_DIRECTORY','web-spatial/Assets.xcassets','defineProperty','checkPlatformPath','copyDir','visionos','649065xDDeEH','src','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','generateIcon','clearDir','MIDDLE_APPICON_DIRECTORY',',\x20now\x20WebSpatial\x20only\x20support\x20','1792RqZBaR','../../../','icons','cwd','ResourceManager','web-spatial/static-web','199005ZcdVam'];_0x3876=function(){return _0x333a8c;};return _0x3876();}function _0x1f91(_0x525b50,_0x53d286){const _0x38769d=_0x3876();return _0x1f91=function(_0x1f9131,_0x434ac0){_0x1f9131=_0x1f9131-0x129;let _0x4080e5=_0x38769d[_0x1f9131];return _0x4080e5;},_0x1f91(_0x525b50,_0x53d286);}Object[_0x545e26(0x12b)](exports,_0x545e26(0x14b),{'value':!![]}),exports[_0x545e26(0x13a)]=exports[_0x545e26(0x134)]=exports[_0x545e26(0x129)]=exports[_0x545e26(0x155)]=exports[_0x545e26(0x158)]=exports[_0x545e26(0x150)]=exports[_0x545e26(0x14f)]=exports[_0x545e26(0x14d)]=void 0x0;const fs=require('fs'),path_1=require(_0x545e26(0x143)),file_1=require(_0x545e26(0x145)),load_1=require(_0x545e26(0x141)),child_process_1=require(_0x545e26(0x157));exports[_0x545e26(0x14d)]='',exports[_0x545e26(0x14f)]='',exports[_0x545e26(0x150)]='',exports[_0x545e26(0x158)]=_0x545e26(0x13b),exports[_0x545e26(0x155)]=_0x545e26(0x12a),exports[_0x545e26(0x129)]=exports['ASSET_DIRECTORY']+_0x545e26(0x148),exports[_0x545e26(0x134)]=exports[_0x545e26(0x155)]+'/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset';const supportPlatform=[_0x545e26(0x12e)];class ResourceManager{static async[_0x545e26(0x14a)](_0x14f3bf){const _0x17f74c=_0x545e26,_0x58307d=(0x0,path_1['join'])(process[_0x17f74c(0x139)](),_0x14f3bf),_0x221f55=(0x0,path_1[_0x17f74c(0x156)])(exports[_0x17f74c(0x14d)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x17f74c(0x159)](_0x221f55)?fs[_0x17f74c(0x14e)](_0x221f55,{'recursive':!![]}):(0x0,file_1[_0x17f74c(0x133)])(_0x221f55);try{(0x0,file_1[_0x17f74c(0x12d)])(_0x58307d,_0x221f55);}catch(_0x309d68){console['log'](_0x309d68);}}static async[_0x545e26(0x132)](_0x46e32b){const _0x4ebf72=_0x545e26,_0x4847ff=_0x46e32b[_0x4ebf72(0x13d)],_0xde03ed=_0x4847ff[_0x4ebf72(0x138)][0x0][_0x4ebf72(0x130)],_0x5b5fe9=!_0xde03ed['startsWith']('http')?await(0x0,load_1[_0x4ebf72(0x151)])(_0xde03ed):await(0x0,load_1[_0x4ebf72(0x14c)])(_0xde03ed);return _0x5b5fe9['resize'](0x400,0x400),_0x5b5fe9;}static[_0x545e26(0x12c)](_0x26b358){const _0x49ca72=_0x545e26,_0x37b088=_0x26b358!==null&&_0x26b358!==void 0x0?_0x26b358:supportPlatform[0x0];if(!supportPlatform[_0x49ca72(0x152)](_0x37b088))throw new Error(_0x49ca72(0x140)+_0x37b088+_0x49ca72(0x135)+supportPlatform[_0x49ca72(0x156)](','));let _0x26ed50=(0x0,path_1[_0x49ca72(0x156)])(process['cwd'](),_0x49ca72(0x13e)+_0x37b088);!fs[_0x49ca72(0x159)](_0x26ed50)&&(_0x26ed50=(0x0,path_1['join'])(__dirname,'../../../node_modules/@webspatial/platform-'+_0x37b088));const _0x49ca6c=fs['existsSync'](_0x26ed50);!_0x49ca6c&&(0x0,child_process_1['execSync'])('cd\x20'+(0x0,path_1[_0x49ca72(0x156)])(__dirname,_0x49ca72(0x137))+_0x49ca72(0x131)+_0x37b088),exports[_0x49ca72(0x14d)]=_0x26ed50,exports[_0x49ca72(0x14f)]=(0x0,path_1[_0x49ca72(0x156)])(exports[_0x49ca72(0x14d)],'./build'),exports[_0x49ca72(0x150)]=(0x0,path_1[_0x49ca72(0x156)])(exports[_0x49ca72(0x14d)],_0x49ca72(0x154));}}exports[_0x545e26(0x13a)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x3c35c2=_0x44a2;(function(_0x3ed56d,_0x4ac1f1){const _0x582181=_0x44a2,_0x42143c=_0x3ed56d();while(!![]){try{const _0x437070=-parseInt(_0x582181(0x1b1))/0x1*(parseInt(_0x582181(0x19a))/0x2)+parseInt(_0x582181(0x1a4))/0x3+-parseInt(_0x582181(0x19f))/0x4+-parseInt(_0x582181(0x1ab))/0x5*(parseInt(_0x582181(0x1aa))/0x6)+-parseInt(_0x582181(0x1b0))/0x7*(parseInt(_0x582181(0x191))/0x8)+parseInt(_0x582181(0x1a1))/0x9+parseInt(_0x582181(0x1b3))/0xa*(parseInt(_0x582181(0x1a0))/0xb);if(_0x437070===_0x4ac1f1)break;else _0x42143c['push'](_0x42143c['shift']());}catch(_0x3cbde8){_0x42143c['push'](_0x42143c['shift']());}}}(_0x10da,0xed71b));Object['defineProperty'](exports,_0x3c35c2(0x181),{'value':!![]}),exports[_0x3c35c2(0x1a2)]=loadJsonFromNet,exports[_0x3c35c2(0x182)]=loadJsonFromDisk,exports[_0x3c35c2(0x199)]=loadImageFromNet,exports['loadImageFromDisk']=loadImageFromDisk,exports[_0x3c35c2(0x1a6)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x3c35c2(0x185)),CustomError_1=require(_0x3c35c2(0x1a7)),Jimp=require(_0x3c35c2(0x183)),imageHelper_1=require(_0x3c35c2(0x18b));async function loadJsonFromNet(_0xcb6b62){const _0x4c5fb4=_0x3c35c2,_0x4dcecc=await FetchUtils_1_1[_0x4c5fb4(0x19c)]['fetch'](_0xcb6b62,{'encoding':_0x4c5fb4(0x190)});if(_0x4dcecc[_0x4c5fb4(0x1a5)]!==0xc8)throw new CustomError_1[(_0x4c5fb4(0x187))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0xcb6b62+'.'+(_0x4c5fb4(0x197)+_0x4dcecc['status']+_0x4c5fb4(0x188)),'message_staring_params':{'web_manifest_url':_0xcb6b62,'status':_0x4dcecc['status']}});try{let _0x74a1d;return _0x4dcecc[_0x4c5fb4(0x194)]?_0x74a1d=await _0x4dcecc[_0x4c5fb4(0x194)]():[_0x4c5fb4(0x192),'deflate','br']['includes'](_0x4dcecc[_0x4c5fb4(0x18c)][_0x4c5fb4(0x1af)])?_0x74a1d=FetchUtils_1_1['fetchUtils'][_0x4c5fb4(0x1ad)](Buffer[_0x4c5fb4(0x19b)](_0x4dcecc[_0x4c5fb4(0x1a8)],_0x4c5fb4(0x190)),_0x4dcecc[_0x4c5fb4(0x18c)]['content-encoding'])[_0x4c5fb4(0x19e)]():_0x74a1d=Buffer[_0x4c5fb4(0x19b)](_0x4dcecc[_0x4c5fb4(0x1a8)],_0x4c5fb4(0x190))['toString'](),JSON['parse'](_0x74a1d['trim']());}catch(_0x5c53cc){throw new CustomError_1[(_0x4c5fb4(0x187))]({'code':0xbbd,'message':_0x4c5fb4(0x1a3),'message_staring_params':{}});}}function _0x44a2(_0xa96a58,_0x544552){const _0x10da21=_0x10da();return _0x44a2=function(_0x44a2b3,_0x2a720f){_0x44a2b3=_0x44a2b3-0x181;let _0x2c8d58=_0x10da21[_0x44a2b3];return _0x2c8d58;},_0x44a2(_0xa96a58,_0x544552);}async function loadJsonFromDisk(_0x1f4dcf){const _0x34866c=_0x3c35c2,_0x4a6190=await loadFileString(_0x1f4dcf[_0x34866c(0x19e)]());return JSON[_0x34866c(0x189)](_0x4a6190);}async function loadImageFromNet(_0x3289fe){const _0x53f446=_0x3c35c2,_0x12d010=await FetchUtils_1_1[_0x53f446(0x19c)][_0x53f446(0x193)](_0x3289fe,{'encoding':_0x53f446(0x190)});if(_0x12d010[_0x53f446(0x1a5)]!==0xc8)throw new CustomError_1[(_0x53f446(0x187))]({'code':0x7d2,'message':_0x53f446(0x195)+_0x12d010[_0x53f446(0x1a5)],'message_staring_params':{'icon_url':_0x3289fe,'status':_0x12d010[_0x53f446(0x1a5)]}});const _0x2601ca=_0x12d010[_0x53f446(0x18c)][_0x53f446(0x18e)]?_0x12d010['headers'][_0x53f446(0x18e)](_0x53f446(0x1b2)):_0x12d010[_0x53f446(0x18c)]['content-type'];if(!(_0x2601ca===null||_0x2601ca===void 0x0?void 0x0:_0x2601ca[_0x53f446(0x198)](_0x53f446(0x1ac))))throw new CustomError_1[(_0x53f446(0x187))]({'code':0x7d3,'message':_0x53f446(0x184)+('\x20Responded\x20with\x20Content-Type\x20\x22'+_0x2601ca+'\x22'),'message_staring_params':{'icon_url':_0x3289fe,'contentType':_0x2601ca}});let _0x1be08e;_0x12d010['arrayBuffer']?_0x1be08e=await _0x12d010['arrayBuffer']():[_0x53f446(0x192),_0x53f446(0x186),'br'][_0x53f446(0x19d)](_0x12d010['headers'][_0x53f446(0x1af)])?_0x1be08e=FetchUtils_1_1[_0x53f446(0x19c)][_0x53f446(0x1ad)](Buffer[_0x53f446(0x19b)](_0x12d010[_0x53f446(0x1a8)],_0x53f446(0x190)),_0x12d010[_0x53f446(0x18c)][_0x53f446(0x1af)]):_0x1be08e=Buffer[_0x53f446(0x19b)](_0x12d010['data'],'binary');if(_0x2601ca[_0x53f446(0x198)]('image/svg')){const _0x19a0aa=new TextDecoder();try{_0x1be08e=await imageHelper_1['ImageHelper'][_0x53f446(0x18d)](_0x19a0aa['decode'](_0x1be08e));}catch(_0x52ef9e){throw new CustomError_1[(_0x53f446(0x187))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x3289fe+':\x20'+_0x52ef9e,'message_staring_params':{'icon_url':_0x3289fe,'error':_0x52ef9e}});}}return _0x2601ca[_0x53f446(0x198)](_0x53f446(0x18a))&&(_0x1be08e=await imageHelper_1[_0x53f446(0x196)][_0x53f446(0x1ae)](_0x1be08e)),await Jimp[_0x53f446(0x1a9)](Buffer[_0x53f446(0x19b)](_0x1be08e));}async function loadImageFromDisk(_0x318ae4){const _0x2f7a0b=_0x3c35c2;return await Jimp[_0x2f7a0b(0x1a9)](_0x318ae4);}function _0x10da(){const _0x5f26ad=['./imageHelper','headers','svg2img','get','promises','binary','261992GihOrU','gzip','fetch','text','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','ImageHelper','The\x20response\x20status\x20is\x20','startsWith','loadImageFromNet','2842bbENju','from','fetchUtils','includes','toString','5246400NJCuWW','22349173icTYeB','9184428avpyxg','loadJsonFromNet','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','2503116TGeUcs','status','loadFileString','../utils/CustomError','data','read','12IysWzk','1025960BwKUaM','image/','decompressResponseBuffer','webp2PngBuffer','content-encoding','133bkVLBk','401gflORm','content-type','10xqYAED','__esModule','loadJsonFromDisk','jimp','Received\x20icon\x20with\x20invalid\x20Content-Type.','../utils/FetchUtils-1','deflate','CustomError',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','parse','image/webp'];_0x10da=function(){return _0x5f26ad;};return _0x10da();}async function loadFileString(_0x13cba0){const _0x50c1e3=_0x3c35c2;let _0x4d9742=await fs[_0x50c1e3(0x18f)]['readFile'](_0x13cba0['toString']());return _0x4d9742[_0x50c1e3(0x19e)]();}
1
+ 'use strict';const _0x4e3a6a=_0x1273;(function(_0x959b92,_0x1d16d){const _0x57bb2b=_0x1273,_0x5c6068=_0x959b92();while(!![]){try{const _0x489afd=-parseInt(_0x57bb2b(0x145))/0x1*(parseInt(_0x57bb2b(0x162))/0x2)+parseInt(_0x57bb2b(0x154))/0x3*(parseInt(_0x57bb2b(0x14a))/0x4)+parseInt(_0x57bb2b(0x15f))/0x5*(-parseInt(_0x57bb2b(0x15b))/0x6)+parseInt(_0x57bb2b(0x153))/0x7+-parseInt(_0x57bb2b(0x150))/0x8+-parseInt(_0x57bb2b(0x169))/0x9+parseInt(_0x57bb2b(0x16b))/0xa;if(_0x489afd===_0x1d16d)break;else _0x5c6068['push'](_0x5c6068['shift']());}catch(_0x366f23){_0x5c6068['push'](_0x5c6068['shift']());}}}(_0x1988,0xd9cd9));function _0x1273(_0x26c8b9,_0x3abb2e){const _0x1988b3=_0x1988();return _0x1273=function(_0x1273e0,_0x35cdcb){_0x1273e0=_0x1273e0-0x13e;let _0x31cf37=_0x1988b3[_0x1273e0];return _0x31cf37;},_0x1273(_0x26c8b9,_0x3abb2e);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x4e3a6a(0x15d)]=loadJsonFromNet,exports[_0x4e3a6a(0x14c)]=loadJsonFromDisk,exports[_0x4e3a6a(0x149)]=loadImageFromNet,exports['loadImageFromDisk']=loadImageFromDisk,exports[_0x4e3a6a(0x147)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x4e3a6a(0x151)),CustomError_1=require('../utils/CustomError'),Jimp=require('jimp'),imageHelper_1=require(_0x4e3a6a(0x14d));function _0x1988(){const _0x7ea739=['parse','12ovkKyP','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','loadFileString','data','loadImageFromNet','3092ItKSUI','read','loadJsonFromDisk','./imageHelper','status','gzip','2759256GuSsYT','../utils/FetchUtils-1','trim','7044842vRquKa','3729WQkmEz','deflate','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','readFile','toString','decompressResponseBuffer','image/','10248834xyffgv','Problem\x20reading\x20','loadJsonFromNet','fetchUtils','5qGyYDq','from','fetch','5438MOfVob','includes','CustomError','content-type','\x20Responded\x20with\x20Content-Type\x20\x22','Failed\x20to\x20download\x20Web\x20Manifest\x20','Received\x20icon\x20with\x20invalid\x20Content-Type.','11694285rIRUue','binary','23099150KJnrwQ','headers','The\x20response\x20status\x20is\x20','promises','content-encoding','startsWith','get',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','webp2PngBuffer','arrayBuffer'];_0x1988=function(){return _0x7ea739;};return _0x1988();}async function loadJsonFromNet(_0x517a19){const _0x12c22b=_0x4e3a6a,_0x301fff=await FetchUtils_1_1['fetchUtils'][_0x12c22b(0x161)](_0x517a19,{'encoding':_0x12c22b(0x16a)});if(_0x301fff[_0x12c22b(0x14e)]!==0xc8)throw new CustomError_1[(_0x12c22b(0x164))]({'code':0xbbc,'message':_0x12c22b(0x167)+_0x517a19+'.'+(_0x12c22b(0x16d)+_0x301fff[_0x12c22b(0x14e)]+_0x12c22b(0x141)),'message_staring_params':{'web_manifest_url':_0x517a19,'status':_0x301fff[_0x12c22b(0x14e)]}});try{let _0x372b83;return _0x301fff['text']?_0x372b83=await _0x301fff['text']():['gzip','deflate','br'][_0x12c22b(0x163)](_0x301fff[_0x12c22b(0x16c)][_0x12c22b(0x13e)])?_0x372b83=FetchUtils_1_1[_0x12c22b(0x15e)][_0x12c22b(0x159)](Buffer[_0x12c22b(0x160)](_0x301fff[_0x12c22b(0x148)],'binary'),_0x301fff[_0x12c22b(0x16c)]['content-encoding'])[_0x12c22b(0x158)]():_0x372b83=Buffer[_0x12c22b(0x160)](_0x301fff['data'],'binary')[_0x12c22b(0x158)](),JSON[_0x12c22b(0x144)](_0x372b83[_0x12c22b(0x152)]());}catch(_0x13f906){throw new CustomError_1[(_0x12c22b(0x164))]({'code':0xbbd,'message':_0x12c22b(0x156),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x5fe9a5){const _0x1ef3d9=_0x4e3a6a,_0x164762=await loadFileString(_0x5fe9a5['toString']());return JSON[_0x1ef3d9(0x144)](_0x164762);}async function loadImageFromNet(_0x337ccb){const _0x44e8b8=_0x4e3a6a,_0x5b270d=await FetchUtils_1_1['fetchUtils'][_0x44e8b8(0x161)](_0x337ccb,{'encoding':'binary'});if(_0x5b270d['status']!==0xc8)throw new CustomError_1[(_0x44e8b8(0x164))]({'code':0x7d2,'message':_0x44e8b8(0x146)+_0x5b270d[_0x44e8b8(0x14e)],'message_staring_params':{'icon_url':_0x337ccb,'status':_0x5b270d[_0x44e8b8(0x14e)]}});const _0x2469f6=_0x5b270d[_0x44e8b8(0x16c)]['get']?_0x5b270d['headers'][_0x44e8b8(0x140)](_0x44e8b8(0x165)):_0x5b270d[_0x44e8b8(0x16c)][_0x44e8b8(0x165)];if(!(_0x2469f6===null||_0x2469f6===void 0x0?void 0x0:_0x2469f6[_0x44e8b8(0x13f)](_0x44e8b8(0x15a))))throw new CustomError_1[(_0x44e8b8(0x164))]({'code':0x7d3,'message':_0x44e8b8(0x168)+(_0x44e8b8(0x166)+_0x2469f6+'\x22'),'message_staring_params':{'icon_url':_0x337ccb,'contentType':_0x2469f6}});let _0x24aaea;_0x5b270d['arrayBuffer']?_0x24aaea=await _0x5b270d[_0x44e8b8(0x143)]():[_0x44e8b8(0x14f),_0x44e8b8(0x155),'br'][_0x44e8b8(0x163)](_0x5b270d['headers'][_0x44e8b8(0x13e)])?_0x24aaea=FetchUtils_1_1[_0x44e8b8(0x15e)][_0x44e8b8(0x159)](Buffer[_0x44e8b8(0x160)](_0x5b270d[_0x44e8b8(0x148)],'binary'),_0x5b270d['headers'][_0x44e8b8(0x13e)]):_0x24aaea=Buffer[_0x44e8b8(0x160)](_0x5b270d[_0x44e8b8(0x148)],_0x44e8b8(0x16a));if(_0x2469f6[_0x44e8b8(0x13f)]('image/svg')){const _0x5dc058=new TextDecoder();try{_0x24aaea=await imageHelper_1['ImageHelper']['svg2img'](_0x5dc058['decode'](_0x24aaea));}catch(_0x48de15){throw new CustomError_1[(_0x44e8b8(0x164))]({'code':0x7d4,'message':_0x44e8b8(0x15c)+_0x337ccb+':\x20'+_0x48de15,'message_staring_params':{'icon_url':_0x337ccb,'error':_0x48de15}});}}return _0x2469f6[_0x44e8b8(0x13f)]('image/webp')&&(_0x24aaea=await imageHelper_1['ImageHelper'][_0x44e8b8(0x142)](_0x24aaea)),await Jimp[_0x44e8b8(0x14b)](Buffer[_0x44e8b8(0x160)](_0x24aaea));}async function loadImageFromDisk(_0x1df7fb){const _0x4716c0=_0x4e3a6a;return await Jimp[_0x4716c0(0x14b)](_0x1df7fb);}async function loadFileString(_0x58860c){const _0x3edd05=_0x4e3a6a;let _0x2ac2a7=await fs[_0x3edd05(0x16e)][_0x3edd05(0x157)](_0x58860c[_0x3edd05(0x158)]());return _0x2ac2a7[_0x3edd05(0x158)]();}
@@ -1 +1 @@
1
- 'use strict';var _0x12df89=_0x168c;(function(_0x351ce4,_0x52f8dd){var _0x4a9c8c=_0x168c,_0x5aacf6=_0x351ce4();while(!![]){try{var _0x4f53a2=-parseInt(_0x4a9c8c(0xf8))/0x1+-parseInt(_0x4a9c8c(0xf5))/0x2*(parseInt(_0x4a9c8c(0xfa))/0x3)+parseInt(_0x4a9c8c(0xf2))/0x4*(parseInt(_0x4a9c8c(0xf3))/0x5)+parseInt(_0x4a9c8c(0xfd))/0x6*(parseInt(_0x4a9c8c(0xf7))/0x7)+-parseInt(_0x4a9c8c(0xfe))/0x8+parseInt(_0x4a9c8c(0xf6))/0x9+-parseInt(_0x4a9c8c(0xf4))/0xa*(-parseInt(_0x4a9c8c(0xf0))/0xb);if(_0x4f53a2===_0x52f8dd)break;else _0x5aacf6['push'](_0x5aacf6['shift']());}catch(_0x3cf7b5){_0x5aacf6['push'](_0x5aacf6['shift']());}}}(_0x8aeb,0xb5870));Object['defineProperty'](exports,_0x12df89(0xfc),{'value':!![]}),exports['CustomError']=void 0x0;function _0x8aeb(){var _0x5ebe1e=['info','CustomError','1420969nYbVEP','customMessage','304XPEjGK','14855cSRlZh','30KyWmuK','228efstSZ','11632239rVJNjo','7DEHDpB','95016uYJHqK','type','31911zjeBHf','stringify','__esModule','4796286xkDsTA','5232120abzwww'];_0x8aeb=function(){return _0x5ebe1e;};return _0x8aeb();}class CustomError extends Error{constructor(_0x4ed511,_0x3c3229){var _0x221fdc=_0x12df89;super(JSON[_0x221fdc(0xfb)](_0x4ed511)),this[_0x221fdc(0xf1)]=_0x4ed511,this[_0x221fdc(0xf9)]=_0x3c3229||_0x221fdc(0xff);}}function _0x168c(_0x52f378,_0x40eb35){var _0x8aeb3=_0x8aeb();return _0x168c=function(_0x168c94,_0x50cae1){_0x168c94=_0x168c94-0xef;var _0x241b49=_0x8aeb3[_0x168c94];return _0x241b49;},_0x168c(_0x52f378,_0x40eb35);}exports[_0x12df89(0xef)]=CustomError;
1
+ 'use strict';var _0x2b78aa=_0x5782;(function(_0x505e97,_0x1546e6){var _0xa267fb=_0x5782,_0x46cedc=_0x505e97();while(!![]){try{var _0x243979=-parseInt(_0xa267fb(0x1be))/0x1+parseInt(_0xa267fb(0x1b2))/0x2*(-parseInt(_0xa267fb(0x1b7))/0x3)+parseInt(_0xa267fb(0x1b6))/0x4+parseInt(_0xa267fb(0x1b5))/0x5*(parseInt(_0xa267fb(0x1b3))/0x6)+parseInt(_0xa267fb(0x1ba))/0x7*(parseInt(_0xa267fb(0x1c1))/0x8)+-parseInt(_0xa267fb(0x1b4))/0x9*(parseInt(_0xa267fb(0x1c0))/0xa)+parseInt(_0xa267fb(0x1bb))/0xb;if(_0x243979===_0x1546e6)break;else _0x46cedc['push'](_0x46cedc['shift']());}catch(_0x4613bb){_0x46cedc['push'](_0x46cedc['shift']());}}}(_0x1872,0x6d76d));Object['defineProperty'](exports,_0x2b78aa(0x1bc),{'value':!![]}),exports[_0x2b78aa(0x1b1)]=void 0x0;class CustomError extends Error{constructor(_0x34b7ee,_0x250669){var _0xed99c6=_0x2b78aa;super(JSON[_0xed99c6(0x1b8)](_0x34b7ee)),this[_0xed99c6(0x1bf)]=_0x34b7ee,this[_0xed99c6(0x1b9)]=_0x250669||_0xed99c6(0x1bd);}}exports[_0x2b78aa(0x1b1)]=CustomError;function _0x5782(_0x297f5d,_0x3ca1e7){var _0x18720d=_0x1872();return _0x5782=function(_0x5782cf,_0x2c4eb6){_0x5782cf=_0x5782cf-0x1b1;var _0x7a3ad4=_0x18720d[_0x5782cf];return _0x7a3ad4;},_0x5782(_0x297f5d,_0x3ca1e7);}function _0x1872(){var _0x579559=['12229HottMQ','7127758GAIVwa','__esModule','info','846492zsJPzE','customMessage','913070BMcyXR','272Pwxdly','CustomError','4700oDpCcf','222zuPuru','18rBSTrF','103595xuGXVZ','1245368PxhJyt','393MMyFTI','stringify','type'];_0x1872=function(){return _0x579559;};return _0x1872();}
@@ -1 +1 @@
1
- 'use strict';const _0x1ec070=_0x5de0;(function(_0x491036,_0x4c0576){const _0x5163cc=_0x5de0,_0x16e122=_0x491036();while(!![]){try{const _0x1bc91e=-parseInt(_0x5163cc(0xa6))/0x1*(-parseInt(_0x5163cc(0xb0))/0x2)+-parseInt(_0x5163cc(0x9d))/0x3*(parseInt(_0x5163cc(0xad))/0x4)+-parseInt(_0x5163cc(0xa3))/0x5+-parseInt(_0x5163cc(0xa1))/0x6+parseInt(_0x5163cc(0xb1))/0x7*(parseInt(_0x5163cc(0x9f))/0x8)+parseInt(_0x5163cc(0xa8))/0x9*(parseInt(_0x5163cc(0xab))/0xa)+parseInt(_0x5163cc(0x9e))/0xb*(parseInt(_0x5163cc(0xac))/0xc);if(_0x1bc91e===_0x4c0576)break;else _0x16e122['push'](_0x16e122['shift']());}catch(_0x4e92cc){_0x16e122['push'](_0x16e122['shift']());}}}(_0x1344,0xd470c));function _0x5de0(_0x5071a3,_0x455358){const _0x1344a0=_0x1344();return _0x5de0=function(_0x5de086,_0x62c1df){_0x5de086=_0x5de086-0x9d;let _0x47cf2d=_0x1344a0[_0x5de086];return _0x47cf2d;},_0x5de0(_0x5071a3,_0x455358);}Object[_0x1ec070(0xb2)](exports,'__esModule',{'value':!![]}),exports[_0x1ec070(0xa4)]=void 0x0;function _0x1344(){const _0xc0937a=['decompressResponseBuffer','606996NMzVnd','setDecompressResponseBuffer','8551863Crwxyh','setFetch','setFetchEngine','10ezibjq','14167092HpbiYb','6675352CRlVJD','fetch','setDownloadFile','2ZMYYfF','120127PcLJIH','defineProperty','3BqlzGa','11EWXkAO','184rCOovK','downloadFile','1753674XgsOeh','fetchEngine','1506120JwznVF','fetchUtils'];_0x1344=function(){return _0xc0937a;};return _0x1344();}class FetchUtils{constructor(){const _0x1c45df=_0x1ec070;this[_0x1c45df(0xa2)]=null,this[_0x1c45df(0xae)]=null,this[_0x1c45df(0xa0)]=null,this[_0x1c45df(0xa5)]=null;}[_0x1ec070(0xaa)](_0x460bc3){const _0x312e3e=_0x1ec070;this[_0x312e3e(0xa2)]=_0x460bc3;}[_0x1ec070(0xa9)](_0x444341){const _0x7931a8=_0x1ec070;this[_0x7931a8(0xae)]=_0x444341;}[_0x1ec070(0xaf)](_0x4387b1){const _0x45b225=_0x1ec070;this[_0x45b225(0xa0)]=_0x4387b1;}[_0x1ec070(0xa7)](_0x102ce2){const _0x552991=_0x1ec070;this[_0x552991(0xa5)]=_0x102ce2;}}const fetchUtils=new FetchUtils();exports[_0x1ec070(0xa4)]=fetchUtils;
1
+ 'use strict';const _0x596eac=_0xf944;(function(_0x3571be,_0x45b98c){const _0x4dce62=_0xf944,_0x3e8aa0=_0x3571be();while(!![]){try{const _0x4fbb0c=-parseInt(_0x4dce62(0x137))/0x1+parseInt(_0x4dce62(0x132))/0x2+-parseInt(_0x4dce62(0x134))/0x3+-parseInt(_0x4dce62(0x12d))/0x4+-parseInt(_0x4dce62(0x139))/0x5+-parseInt(_0x4dce62(0x12b))/0x6*(parseInt(_0x4dce62(0x133))/0x7)+parseInt(_0x4dce62(0x130))/0x8;if(_0x4fbb0c===_0x45b98c)break;else _0x3e8aa0['push'](_0x3e8aa0['shift']());}catch(_0x107e0a){_0x3e8aa0['push'](_0x3e8aa0['shift']());}}}(_0x46f6,0x2acfc));function _0x46f6(){const _0x552e43=['setFetch','693202XofjwZ','7PfVZXg','121125YBWnkG','setDecompressResponseBuffer','fetch','106538GxMZzv','downloadFile','520060vwVwgp','setDownloadFile','decompressResponseBuffer','1333704RVOLRd','defineProperty','195244rmeZNw','fetchUtils','fetchEngine','2806200kAAPlA'];_0x46f6=function(){return _0x552e43;};return _0x46f6();}Object[_0x596eac(0x12c)](exports,'__esModule',{'value':!![]}),exports[_0x596eac(0x12e)]=void 0x0;class FetchUtils{constructor(){const _0x57aa81=_0x596eac;this[_0x57aa81(0x12f)]=null,this[_0x57aa81(0x136)]=null,this[_0x57aa81(0x138)]=null,this[_0x57aa81(0x12a)]=null;}['setFetchEngine'](_0x386b33){const _0x37fe6a=_0x596eac;this[_0x37fe6a(0x12f)]=_0x386b33;}[_0x596eac(0x131)](_0x133eec){const _0x861b1a=_0x596eac;this[_0x861b1a(0x136)]=_0x133eec;}[_0x596eac(0x13a)](_0x3d702a){const _0x43535a=_0x596eac;this[_0x43535a(0x138)]=_0x3d702a;}[_0x596eac(0x135)](_0x4c6cc1){const _0x402977=_0x596eac;this[_0x402977(0x12a)]=_0x4c6cc1;}}function _0xf944(_0x1053ed,_0x2f97d2){const _0x46f6bf=_0x46f6();return _0xf944=function(_0xf9444f,_0x137a87){_0xf9444f=_0xf9444f-0x12a;let _0x20f412=_0x46f6bf[_0xf9444f];return _0x20f412;},_0xf944(_0x1053ed,_0x2f97d2);}const fetchUtils=new FetchUtils();exports[_0x596eac(0x12e)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x4412c9=_0x2dbe;(function(_0x213ba8,_0xf3cb26){var _0xb24b94=_0x2dbe,_0x3f3401=_0x213ba8();while(!![]){try{var _0x241c59=-parseInt(_0xb24b94(0x16a))/0x1+-parseInt(_0xb24b94(0x173))/0x2*(-parseInt(_0xb24b94(0x178))/0x3)+parseInt(_0xb24b94(0x15e))/0x4+parseInt(_0xb24b94(0x167))/0x5*(-parseInt(_0xb24b94(0x17a))/0x6)+-parseInt(_0xb24b94(0x16e))/0x7+parseInt(_0xb24b94(0x15d))/0x8+-parseInt(_0xb24b94(0x16f))/0x9*(parseInt(_0xb24b94(0x165))/0xa);if(_0x241c59===_0xf3cb26)break;else _0x3f3401['push'](_0x3f3401['shift']());}catch(_0x317d8e){_0x3f3401['push'](_0x3f3401['shift']());}}}(_0xfc00,0xe38e1));Object[_0x4412c9(0x174)](exports,_0x4412c9(0x17b),{'value':!![]}),exports['ConsoleLog']=void 0x0;function _0x2dbe(_0x53502b,_0x192622){var _0xfc00ec=_0xfc00();return _0x2dbe=function(_0x2dbe11,_0x103e5d){_0x2dbe11=_0x2dbe11-0x15d;var _0x1e31e9=_0xfc00ec[_0x2dbe11];return _0x1e31e9;},_0x2dbe(_0x53502b,_0x192622);}class ConsoleLog{constructor(_0x19729d='',_0x213f61=![],_0x2dd09b=console){var _0xfcf9b5=_0x4412c9;this[_0xfcf9b5(0x172)]=_0x19729d,this[_0xfcf9b5(0x171)]=_0x213f61,this[_0xfcf9b5(0x17c)]=this[_0xfcf9b5(0x168)](_0x19729d),this[_0xfcf9b5(0x175)]=_0x2dd09b;}[_0x4412c9(0x162)](_0x131348,..._0x1d1052){var _0x432b4b=_0x4412c9;if(!this[_0x432b4b(0x171)])return;this[_0x432b4b(0x179)](this[_0x432b4b(0x175)]['log'],this['dim'](_0x131348),..._0x1d1052);}[_0x4412c9(0x161)](_0xe75dd5,..._0x7dd9f6){var _0x33ba2c=_0x4412c9;this[_0x33ba2c(0x179)](this[_0x33ba2c(0x175)][_0x33ba2c(0x179)],_0xe75dd5,..._0x7dd9f6);}['warn'](_0x1a4574,..._0x5ec241){var _0x240999=_0x4412c9;this[_0x240999(0x179)](this[_0x240999(0x175)]['warn'],this[_0x240999(0x16b)](_0x240999(0x170)+_0x1a4574),..._0x5ec241);}[_0x4412c9(0x16d)](_0x2c5f52,..._0x3f5afd){var _0x2e3fcb=_0x4412c9;this[_0x2e3fcb(0x175)]['error']('\x0a'),this['log'](this[_0x2e3fcb(0x175)]['error'],this[_0x2e3fcb(0x177)](_0x2e3fcb(0x16c)+_0x2c5f52),..._0x3f5afd),this[_0x2e3fcb(0x175)][_0x2e3fcb(0x16d)]('\x0a');}['setVerbose'](_0x2bb242){var _0x6af49=_0x4412c9;this[_0x6af49(0x171)]=_0x2bb242;}[_0x4412c9(0x169)](_0x28ac71){var _0xfab209=_0x4412c9;return this[_0xfab209(0x172)]&&(_0x28ac71=this[_0xfab209(0x172)]+'\x20'+_0x28ac71),new ConsoleLog(_0x28ac71,this['verbose'],this['output']);}[_0x4412c9(0x179)](_0x3d7081,_0x221071,..._0x3cf45a){var _0x222ded=_0x4412c9;this[_0x222ded(0x17c)]&&(_0x221071=this[_0x222ded(0x17c)]+'\x20'+_0x221071),_0x3cf45a?_0x3d7081(...[_0x221071][_0x222ded(0x160)](_0x3cf45a)):_0x3d7081(_0x221071);}[_0x4412c9(0x168)](_0x580584){var _0x120077=_0x4412c9;return _0x120077(0x176)+_0x580584+'\x1b[0m';}['dim'](_0x40a17a){var _0x53f6e5=_0x4412c9;return _0x53f6e5(0x15f)+_0x40a17a+'\x1b[0m';}['yellow'](_0x12d150){var _0x33cb58=_0x4412c9;return _0x33cb58(0x164)+_0x12d150+_0x33cb58(0x166);}[_0x4412c9(0x177)](_0xef8e93){var _0x5a9da9=_0x4412c9;return _0x5a9da9(0x163)+_0xef8e93+_0x5a9da9(0x166);}}exports['ConsoleLog']=ConsoleLog;function _0xfc00(){var _0x5b8862=['510ZKayCq','defineProperty','output','\x1b[7m','red','20154Fyiwca','log','6jPIJkp','__esModule','prefix','6113840otJNPF','4782896fClleA','\x1b[36m','concat','info','debug','\x1b[31m','\x1b[33m','6481410dgDScR','\x1b[0m','6237430EnLYMg','inverse','newLog','670760XCEiFR','yellow','ERROR\x20','error','1222144ZZGkPB','9ioCrpa','WARNING\x20','verbose','tag'];_0xfc00=function(){return _0x5b8862;};return _0xfc00();}
1
+ 'use strict';var _0x32ddf2=_0x4172;(function(_0xd35686,_0x5f51){var _0x482312=_0x4172,_0x7a65c3=_0xd35686();while(!![]){try{var _0x11a2e1=-parseInt(_0x482312(0x17f))/0x1*(parseInt(_0x482312(0x19a))/0x2)+-parseInt(_0x482312(0x192))/0x3+-parseInt(_0x482312(0x17e))/0x4+parseInt(_0x482312(0x185))/0x5+parseInt(_0x482312(0x17d))/0x6*(-parseInt(_0x482312(0x18e))/0x7)+-parseInt(_0x482312(0x19b))/0x8+-parseInt(_0x482312(0x196))/0x9*(-parseInt(_0x482312(0x187))/0xa);if(_0x11a2e1===_0x5f51)break;else _0x7a65c3['push'](_0x7a65c3['shift']());}catch(_0x334f72){_0x7a65c3['push'](_0x7a65c3['shift']());}}}(_0x4f7e,0xe45a9));Object[_0x32ddf2(0x183)](exports,_0x32ddf2(0x184),{'value':!![]}),exports[_0x32ddf2(0x18c)]=void 0x0;class ConsoleLog{constructor(_0x3d52df='',_0x230e0d=![],_0x49d8e8=console){var _0x2ac515=_0x32ddf2;this[_0x2ac515(0x19c)]=_0x3d52df,this[_0x2ac515(0x17c)]=_0x230e0d,this[_0x2ac515(0x182)]=this[_0x2ac515(0x193)](_0x3d52df),this[_0x2ac515(0x191)]=_0x49d8e8;}[_0x32ddf2(0x197)](_0xb386e2,..._0x44b580){var _0x62f6b=_0x32ddf2;if(!this[_0x62f6b(0x17c)])return;this[_0x62f6b(0x195)](this['output'][_0x62f6b(0x195)],this[_0x62f6b(0x18a)](_0xb386e2),..._0x44b580);}[_0x32ddf2(0x181)](_0x56b1a8,..._0x516b09){var _0x1f69e8=_0x32ddf2;this[_0x1f69e8(0x195)](this[_0x1f69e8(0x191)][_0x1f69e8(0x195)],_0x56b1a8,..._0x516b09);}[_0x32ddf2(0x180)](_0x41cc08,..._0x2e3698){var _0x6d4a8e=_0x32ddf2;this[_0x6d4a8e(0x195)](this['output']['warn'],this[_0x6d4a8e(0x18b)](_0x6d4a8e(0x194)+_0x41cc08),..._0x2e3698);}['error'](_0x5dc00c,..._0x3eaa4c){var _0x397b1f=_0x32ddf2;this[_0x397b1f(0x191)][_0x397b1f(0x189)]('\x0a'),this[_0x397b1f(0x195)](this[_0x397b1f(0x191)][_0x397b1f(0x189)],this[_0x397b1f(0x186)]('ERROR\x20'+_0x5dc00c),..._0x3eaa4c),this[_0x397b1f(0x191)]['error']('\x0a');}[_0x32ddf2(0x18f)](_0x3566b0){var _0x229171=_0x32ddf2;this[_0x229171(0x17c)]=_0x3566b0;}['newLog'](_0xd4e6cb){var _0x4540a8=_0x32ddf2;return this[_0x4540a8(0x19c)]&&(_0xd4e6cb=this['tag']+'\x20'+_0xd4e6cb),new ConsoleLog(_0xd4e6cb,this['verbose'],this['output']);}[_0x32ddf2(0x195)](_0x205584,_0x36f4bc,..._0x1166cd){var _0x4caf01=_0x32ddf2;this[_0x4caf01(0x182)]&&(_0x36f4bc=this['prefix']+'\x20'+_0x36f4bc),_0x1166cd?_0x205584(...[_0x36f4bc][_0x4caf01(0x198)](_0x1166cd)):_0x205584(_0x36f4bc);}['inverse'](_0x196875){var _0x45184b=_0x32ddf2;return _0x45184b(0x190)+_0x196875+_0x45184b(0x18d);}[_0x32ddf2(0x18a)](_0x461c0e){var _0x5cd47d=_0x32ddf2;return _0x5cd47d(0x188)+_0x461c0e+_0x5cd47d(0x18d);}[_0x32ddf2(0x18b)](_0x314ff6){var _0x571e75=_0x32ddf2;return'\x1b[33m'+_0x314ff6+_0x571e75(0x18d);}['red'](_0x4c36b9){var _0x160005=_0x32ddf2;return _0x160005(0x199)+_0x4c36b9+'\x1b[0m';}}function _0x4172(_0x18cda8,_0x4ca0b8){var _0x4f7e65=_0x4f7e();return _0x4172=function(_0x417211,_0x2aba2c){_0x417211=_0x417211-0x17c;var _0x826df9=_0x4f7e65[_0x417211];return _0x826df9;},_0x4172(_0x18cda8,_0x4ca0b8);}function _0x4f7e(){var _0x3eaeb7=['7939955XOXEel','red','140750xWEKjy','\x1b[36m','error','dim','yellow','ConsoleLog','\x1b[0m','63WeLNrs','setVerbose','\x1b[7m','output','795675qqIPuz','inverse','WARNING\x20','log','2277jxIUlu','debug','concat','\x1b[31m','62nOzhlG','6401184lgDVMR','tag','verbose','620058PFbudP','3592384XDruUr','42583FgQNRS','warn','info','prefix','defineProperty','__esModule'];_0x4f7e=function(){return _0x3eaeb7;};return _0x4f7e();}exports[_0x32ddf2(0x18c)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x5f26de=_0x17ab;(function(_0x75ad73,_0x4af976){const _0x24362e=_0x17ab,_0x695689=_0x75ad73();while(!![]){try{const _0xe35cb9=parseInt(_0x24362e(0x139))/0x1*(-parseInt(_0x24362e(0x142))/0x2)+parseInt(_0x24362e(0x145))/0x3*(-parseInt(_0x24362e(0x150))/0x4)+parseInt(_0x24362e(0x13c))/0x5+parseInt(_0x24362e(0x157))/0x6*(parseInt(_0x24362e(0x148))/0x7)+parseInt(_0x24362e(0x14c))/0x8+parseInt(_0x24362e(0x141))/0x9+-parseInt(_0x24362e(0x153))/0xa*(parseInt(_0x24362e(0x149))/0xb);if(_0xe35cb9===_0x4af976)break;else _0x695689['push'](_0x695689['shift']());}catch(_0x2cc64e){_0x695689['push'](_0x695689['shift']());}}}(_0x5b14,0x9e132));function _0x17ab(_0x5af6c2,_0x5c6d32){const _0x5b140a=_0x5b14();return _0x17ab=function(_0x17ab8a,_0x21e768){_0x17ab8a=_0x17ab8a-0x139;let _0x3fee54=_0x5b140a[_0x17ab8a];return _0x3fee54;},_0x17ab(_0x5af6c2,_0x5c6d32);}Object[_0x5f26de(0x14e)](exports,'__esModule',{'value':!![]}),exports[_0x5f26de(0x158)]=fetch,exports['downloadFile']=downloadFile,exports[_0x5f26de(0x147)]=decompressResponseBuffer;const fetch_h2_1=require(_0x5f26de(0x13b)),fs=require('fs'),zlib=require(_0x5f26de(0x140)),userAgent='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',fetchh2Ctx=(0x0,fetch_h2_1['context'])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x5f26de(0x158)];async function fetch(_0x70ff54,_0xe954b2){const _0xb5c9d9=_0x5f26de;return await fetchh2(_0x70ff54,_0xe954b2?{'redirect':_0xb5c9d9(0x14a),..._0xe954b2}:{'redirect':_0xb5c9d9(0x14a)});}async function downloadFile(_0x48cbaa,_0x6aea87,_0x2f8389){const _0x28f728=_0x5f26de;let _0xc09db9,_0x497df2;_0xc09db9=await fetchh2(_0x48cbaa,{'redirect':_0x28f728(0x14a)}),_0x497df2=await _0xc09db9[_0x28f728(0x156)]();const _0x46ec28=_0xc09db9[_0x28f728(0x152)][_0x28f728(0x14f)](_0x28f728(0x155)),_0x12b9d1=_0x46ec28?parseInt(_0x46ec28):-0x1,_0x40c89f=fs[_0x28f728(0x154)](_0x6aea87);let _0x250fbd=0x0;await new Promise((_0x2dd00d,_0x556633)=>{const _0x5dc79d=_0x28f728;_0x497df2[_0x5dc79d(0x13a)](_0x40c89f),_0x2f8389&&_0x497df2['on'](_0x5dc79d(0x143),_0x4dcab9=>{const _0x282082=_0x5dc79d;_0x250fbd=_0x250fbd+_0x4dcab9[_0x282082(0x146)],_0x2f8389(_0x250fbd,_0x12b9d1);}),_0x497df2['on'](_0x5dc79d(0x14b),_0x1d1daa=>{_0x556633(_0x1d1daa);}),_0x40c89f['on'](_0x5dc79d(0x13f),()=>{_0x2dd00d();});});}function _0x5b14(){const _0x30444d=['316aIqSws','unzipSync','headers','74440sjFyXG','createWriteStream','Content-Length','readable','12mBenAj','fetch','207730jfgltZ','pipe','fetch-h2','2859320vaoocB','brotliDecompressSync','test','finish','zlib','4280787ZyeRzd','8OjJtWu','data','Z_SYNC_FLUSH','5094WpRVXE','length','decompressResponseBuffer','4440919USoxHm','2739PuhSoK','follow','error','9198008pZuEBj','constants','defineProperty','get'];_0x5b14=function(){return _0x30444d;};return _0x5b14();}function decompressResponseBuffer(_0x58de84,_0x3053df){const _0x4e82fa=_0x5f26de;let _0x5cc22c=_0x58de84;if(/\bgzip\b/['test'](_0x3053df)||/\bdeflate\b/[_0x4e82fa(0x13e)](_0x3053df))_0x5cc22c=zlib[_0x4e82fa(0x151)](_0x58de84,{'flush':zlib[_0x4e82fa(0x14d)][_0x4e82fa(0x144)],'finishFlush':zlib[_0x4e82fa(0x14d)][_0x4e82fa(0x144)]});else/\bbr\b/[_0x4e82fa(0x13e)](_0x3053df)&&(_0x5cc22c=zlib[_0x4e82fa(0x13d)](_0x58de84));return _0x5cc22c;}
1
+ 'use strict';function _0x3e92(_0x5044c1,_0x197eee){const _0x488f16=_0x488f();return _0x3e92=function(_0x3e9272,_0x2b00ba){_0x3e9272=_0x3e9272-0xed;let _0x120c3f=_0x488f16[_0x3e9272];return _0x120c3f;},_0x3e92(_0x5044c1,_0x197eee);}const _0x58e665=_0x3e92;(function(_0x5ded20,_0x35cc0b){const _0x52909f=_0x3e92,_0x54969e=_0x5ded20();while(!![]){try{const _0x492bdd=-parseInt(_0x52909f(0x106))/0x1+parseInt(_0x52909f(0x10c))/0x2+-parseInt(_0x52909f(0xf9))/0x3*(-parseInt(_0x52909f(0xff))/0x4)+-parseInt(_0x52909f(0xfa))/0x5*(parseInt(_0x52909f(0xf5))/0x6)+-parseInt(_0x52909f(0x10d))/0x7+-parseInt(_0x52909f(0x100))/0x8+parseInt(_0x52909f(0xf6))/0x9*(parseInt(_0x52909f(0x109))/0xa);if(_0x492bdd===_0x35cc0b)break;else _0x54969e['push'](_0x54969e['shift']());}catch(_0x1577d3){_0x54969e['push'](_0x54969e['shift']());}}}(_0x488f,0xa2ec9));function _0x488f(){const _0x494ef4=['Content-Length','error','createWriteStream','3774KFtDWT','16482438XKIsqd','length','Z_SYNC_FLUSH','518988FxQDse','5685FDgYdj','decompressResponseBuffer','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','readable','get','12hzAjzG','7501168gSljxT','defineProperty','data','fetch-h2','headers','unzipSync','1218833iDMfHV','downloadFile','context','20DOrpMY','__esModule','finish','443976DBGLQK','6053257XFWGFH','pipe','follow','constants','brotliDecompressSync','test','zlib'];_0x488f=function(){return _0x494ef4;};return _0x488f();}Object[_0x58e665(0x101)](exports,_0x58e665(0x10a),{'value':!![]}),exports['fetch']=fetch,exports[_0x58e665(0x107)]=downloadFile,exports[_0x58e665(0xfb)]=decompressResponseBuffer;const fetch_h2_1=require(_0x58e665(0x103)),fs=require('fs'),zlib=require(_0x58e665(0xf1)),userAgent=_0x58e665(0xfc),fetchh2Ctx=(0x0,fetch_h2_1[_0x58e665(0x108)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx['fetch'];async function fetch(_0x5c84a4,_0x48b073){const _0x5c13a1=_0x58e665;return await fetchh2(_0x5c84a4,_0x48b073?{'redirect':_0x5c13a1(0xed),..._0x48b073}:{'redirect':'follow'});}async function downloadFile(_0x467026,_0x36c941,_0x3bf4ff){const _0x241855=_0x58e665;let _0x25611b,_0x483c89;_0x25611b=await fetchh2(_0x467026,{'redirect':_0x241855(0xed)}),_0x483c89=await _0x25611b[_0x241855(0xfd)]();const _0xd497ed=_0x25611b[_0x241855(0x104)][_0x241855(0xfe)](_0x241855(0xf2)),_0x3d7c54=_0xd497ed?parseInt(_0xd497ed):-0x1,_0xe29ff4=fs[_0x241855(0xf4)](_0x36c941);let _0x33496a=0x0;await new Promise((_0x392807,_0x13ba2f)=>{const _0x15786e=_0x241855;_0x483c89[_0x15786e(0x10e)](_0xe29ff4),_0x3bf4ff&&_0x483c89['on'](_0x15786e(0x102),_0x1e48be=>{const _0x2cc056=_0x15786e;_0x33496a=_0x33496a+_0x1e48be[_0x2cc056(0xf7)],_0x3bf4ff(_0x33496a,_0x3d7c54);}),_0x483c89['on'](_0x15786e(0xf3),_0xfb2873=>{_0x13ba2f(_0xfb2873);}),_0xe29ff4['on'](_0x15786e(0x10b),()=>{_0x392807();});});}function decompressResponseBuffer(_0x4ffa44,_0x21ec20){const _0x30e339=_0x58e665;let _0x577bbe=_0x4ffa44;if(/\bgzip\b/['test'](_0x21ec20)||/\bdeflate\b/[_0x30e339(0xf0)](_0x21ec20))_0x577bbe=zlib[_0x30e339(0x105)](_0x4ffa44,{'flush':zlib[_0x30e339(0xee)][_0x30e339(0xf8)],'finishFlush':zlib[_0x30e339(0xee)]['Z_SYNC_FLUSH']});else/\bbr\b/[_0x30e339(0xf0)](_0x21ec20)&&(_0x577bbe=zlib[_0x30e339(0xef)](_0x4ffa44));return _0x577bbe;}
@@ -1 +1 @@
1
- 'use strict';function _0x1309(_0x49d09c,_0x329d6c){const _0x78ab27=_0x78ab();return _0x1309=function(_0x1309a7,_0x2e73d4){_0x1309a7=_0x1309a7-0x1bb;let _0x208567=_0x78ab27[_0x1309a7];return _0x208567;},_0x1309(_0x49d09c,_0x329d6c);}const _0xb5bf32=_0x1309;(function(_0x4b09ca,_0x196bb8){const _0x83d9f0=_0x1309,_0x5203f5=_0x4b09ca();while(!![]){try{const _0x5164da=parseInt(_0x83d9f0(0x1f8))/0x1*(parseInt(_0x83d9f0(0x1db))/0x2)+parseInt(_0x83d9f0(0x1dd))/0x3+parseInt(_0x83d9f0(0x1e3))/0x4+-parseInt(_0x83d9f0(0x1f9))/0x5+-parseInt(_0x83d9f0(0x1be))/0x6+parseInt(_0x83d9f0(0x1fe))/0x7+-parseInt(_0x83d9f0(0x1f2))/0x8*(-parseInt(_0x83d9f0(0x1c1))/0x9);if(_0x5164da===_0x196bb8)break;else _0x5203f5['push'](_0x5203f5['shift']());}catch(_0x261a1b){_0x5203f5['push'](_0x5203f5['shift']());}}}(_0x78ab,0xed5ba));Object[_0xb5bf32(0x1bc)](exports,_0xb5bf32(0x1d1),{'value':!![]}),exports['messages']=void 0x0;const colors_1=require(_0xb5bf32(0x1e2));function _0x78ab(){const _0x4b952a=['Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','colors','633428LGUkDw','yellow','underline','Country\x20(2\x20letter\x20code):','Password\x20for\x20the\x20Key\x20Store:','--url','https://play.google.com/console/about/families/','\x20Check\x20out\x20the\x20Play\x20for','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','Missing\x20required\x20parameter\x20','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','redirected\x20to\x20','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','6631528GQVdUA','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Do\x20you\x20want\x20to\x20create\x20one\x20now?','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)','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','Invalid\x20integer\x20provided:\x20','1419DkKYki','8581865nBRwTJ','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)','WARNING:\x20','Minimum\x20length\x20is\x20','\x20can\x20not\x20be\x20accessible.','2790347vLCqZu','Decompressing\x20the\x20JDK\x2011\x20Binaries...','defineProperty','\x20URL\x20','7948320NMIeUh','\x20but\x20input\x20is\x20','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','18mZzZhT','Downloading\x20Android\x20SDK\x20to\x20','\x0aSigning\x20key\x20creation','Maximum\x20length\x20is\x20','Organization\x20(eg:\x20Company\x20Name):','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','cyan','Downloading\x20the\x20Android\x20SDK...','\x20and\x20alias\x20','URL\x20','messages','bold','\x20or\x20','Decompressing\x20the\x20JDK\x2011\x20Sources...','(5/5)','__esModule','\x0aProject\x20generated\x20successfully.','--manifest','\x0aSigning\x20key\x20information\x20','Downloading\x20JDK\x2011\x20to\x20','\x0aBuilding\x20the\x20Android\x20App...','Path\x20to\x20your\x20existing\x20JDK\x2011:','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Downloading\x20the\x20JDK\x2011\x20Sources...','--manifest-url','2056bwNLGy','Password\x20for\x20the\x20Key:','1019157EDQqFp','license\x20agreement.','Invalid\x20URL:\x20','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20'];_0x78ab=function(){return _0x4b952a;};return _0x78ab();}exports[_0xb5bf32(0x1cc)]={'promptInstallJdk':_0xb5bf32(0x1f5),'promptJdkPath':_0xb5bf32(0x1d7),'messageDownloadJdk':_0xb5bf32(0x1d5),'messageDownloadJdkSrc':_0xb5bf32(0x1d9),'messageDecompressJdkSrc':_0xb5bf32(0x1cf),'messageDownloadJdkBin':'Downloading\x20the\x20JDK\x2011\x20Binaries...','messageDecompressJdkBin':_0xb5bf32(0x1bb),'promptInstallSdk':_0xb5bf32(0x1fa),'promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0xb5bf32(0x1c2),'errorSdkTerms':_0xb5bf32(0x1d8),'promptSdkTerms':_0xb5bf32(0x1ee)+(0x0,colors_1['underline'])('https://developer.android.com/studio/terms.html')+'?','messageDownloadAndroidSdk':_0xb5bf32(0x1c9),'messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+_0xb5bf32(0x1de),'messageGeneratingAndroidProject':'Generating\x20Android\x20Project.','messageCheckSuccess':(_0x7e8380,_0x180690)=>{const _0x4f328b=_0xb5bf32;return _0x4f328b(0x1bd)+(0x0,colors_1[_0x4f328b(0x1c8)])(_0x7e8380)+'\x20'+(_0x180690?_0x4f328b(0x1ef)+(0x0,colors_1[_0x4f328b(0x1c8)])(_0x180690):'')+_0x4f328b(0x1c0);},'errorMissingManifestParameter':_0xb5bf32(0x1ec)+((0x0,colors_1[_0xb5bf32(0x1c8)])(_0xb5bf32(0x1da))+_0xb5bf32(0x1ce)+(0x0,colors_1[_0xb5bf32(0x1c8)])(_0xb5bf32(0x1d3))),'messageInitializingWebManifest':_0x4acbdc=>{const _0x21a31e=_0xb5bf32;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x21a31e(0x1c8)])(_0x4acbdc);},'messageInitializingLocalManifest':_0x4a5ad2=>{const _0x10fc65=_0xb5bf32;return _0x10fc65(0x1f1)+(0x0,colors_1['cyan'])(_0x4a5ad2);},'messageInvalidIcon':_0x772645=>{const _0x45749d=_0xb5bf32;return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1[_0x45749d(0x1c8)])(_0x772645);},'errorStartUrlNotReachable':_0x255e9f=>_0xb5bf32(0x1cb)+_0x255e9f+_0xb5bf32(0x1fd)+_0xb5bf32(0x1f6),'warnFamilyPolicy':(0x0,colors_1[_0xb5bf32(0x1cd)])((0x0,colors_1[_0xb5bf32(0x1e4)])(_0xb5bf32(0x1fb)))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+_0xb5bf32(0x1c7)+_0xb5bf32(0x1ea)+_0xb5bf32(0x1eb)+(0x0,colors_1[_0xb5bf32(0x1c8)])(_0xb5bf32(0x1e9)),'promptIconUrl':'Icon\x20URL:','errorInvalidUrl':_0x7ede44=>{const _0x5e55cb=_0xb5bf32;return _0x5e55cb(0x1df)+_0x7ede44;},'errorUrlMustBeImage':_0x37c6b8=>{const _0x16d343=_0xb5bf32;return _0x16d343(0x1f0)+_0x37c6b8+'.';},'promptVersionCode':_0xb5bf32(0x1ed),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0xb5bf32(0x1e5)])(_0xb5bf32(0x1d4)+(0x0,colors_1['green'])(_0xb5bf32(0x1d0))),'messageProjectGeneratedSuccess':_0xb5bf32(0x1d2),'messageSigningKeyCreation':(0x0,colors_1['underline'])(_0xb5bf32(0x1c3)),'messageSigningKeyNotFound':_0x127862=>{const _0x12b5aa=_0xb5bf32;return _0x12b5aa(0x1f3)+_0x127862+'\x22.\x0a';},'promptCreateKey':_0xb5bf32(0x1f4),'promptKeyFullName':_0xb5bf32(0x1c6),'promptKeyOrganizationalUnit':_0xb5bf32(0x1e1),'promptKeyOrganization':_0xb5bf32(0x1c5),'promptKeyCountry':_0xb5bf32(0x1e6),'promptKeystorePassword':_0xb5bf32(0x1e7),'promptKeyPassword':_0xb5bf32(0x1dc),'messageBuildingApp':_0xb5bf32(0x1d6),'messageEnterPasswords':(_0x36cb63,_0x798b5b)=>{const _0xbf162b=_0xb5bf32;return _0xbf162b(0x1e0)+(0x0,colors_1[_0xbf162b(0x1c8)])(_0x36cb63)+_0xbf162b(0x1ca)+(0x0,colors_1[_0xbf162b(0x1c8)])(_0x798b5b)+'.\x0a';},'errorMinLength':(_0x5c2231,_0x6000a2)=>{const _0xfd7ecd=_0xb5bf32;return _0xfd7ecd(0x1fc)+_0x5c2231+'\x20but\x20input\x20is\x20'+_0x6000a2+'.';},'errorMaxLength':(_0xd9845f,_0xdbceb0)=>{const _0x209aef=_0xb5bf32;return _0x209aef(0x1c4)+_0xd9845f+_0x209aef(0x1bf)+_0xdbceb0+'.';},'errorInvalidInteger':_0x6da06d=>{const _0x31eded=_0xb5bf32;return _0x31eded(0x1f7)+_0x6da06d;},'messageApkSuccess':_0x251fc1=>{return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1['cyan'])(_0x251fc1);},'missingUrlToCheck':_0xb5bf32(0x1ec)+(''+(0x0,colors_1['cyan'])(_0xb5bf32(0x1e8)))};
1
+ 'use strict';const _0x64f76f=_0x4be6;(function(_0x4eb80a,_0x56b1f8){const _0x1cac63=_0x4be6,_0x2dd2d0=_0x4eb80a();while(!![]){try{const _0x457fa3=-parseInt(_0x1cac63(0x188))/0x1+parseInt(_0x1cac63(0x1a1))/0x2+parseInt(_0x1cac63(0x192))/0x3+-parseInt(_0x1cac63(0x1ae))/0x4*(-parseInt(_0x1cac63(0x175))/0x5)+-parseInt(_0x1cac63(0x186))/0x6*(parseInt(_0x1cac63(0x178))/0x7)+parseInt(_0x1cac63(0x1a2))/0x8+parseInt(_0x1cac63(0x1ad))/0x9;if(_0x457fa3===_0x56b1f8)break;else _0x2dd2d0['push'](_0x2dd2d0['shift']());}catch(_0x232234){_0x2dd2d0['push'](_0x2dd2d0['shift']());}}}(_0x2c5f,0xbeb57));Object[_0x64f76f(0x19d)](exports,_0x64f76f(0x1ac),{'value':!![]}),exports['messages']=void 0x0;function _0x4be6(_0x5e0457,_0x6abae2){const _0x2c5f27=_0x2c5f();return _0x4be6=function(_0x4be637,_0x59dedc){_0x4be637=_0x4be637-0x16f;let _0x3f081e=_0x2c5f27[_0x4be637];return _0x3f081e;},_0x4be6(_0x5e0457,_0x6abae2);}const colors_1=require(_0x64f76f(0x190));function _0x2c5f(){const _0x604e0f=['yellow','Downloading\x20the\x20Android\x20SDK...','Generating\x20Android\x20Project.','--url','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','\x0aBuilding\x20the\x20Android\x20App...','228ipwtBY','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','1510025nsGSJu','bold','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','Missing\x20required\x20parameter\x20','redirected\x20to\x20','Downloading\x20JDK\x2011\x20to\x20','URL\x20','(5/5)','colors','Password\x20for\x20the\x20Key\x20Store:','2465331uARJKM','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Country\x20(2\x20letter\x20code):','license\x20agreement.','cyan','Downloading\x20the\x20JDK\x2011\x20Binaries...','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','\x22.\x0a','Downloading\x20the\x20JDK\x2011\x20Sources...','\x20but\x20input\x20is\x20','defineProperty','\x20URL\x20','Path\x20to\x20your\x20existing\x20JDK\x2011:','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','2467348hdhKIO','6017568QxjWlx','green','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)','Path\x20to\x20your\x20existing\x20Android\x20SDK:','\x20or\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','--manifest','\x09-\x20Generated\x20Android\x20APK\x20at\x20','__esModule','134613FBoUWF','9860jixmUp','Decompressing\x20the\x20Android\x20SDK...','Organization\x20(eg:\x20Company\x20Name):','Invalid\x20icon\x20path:\x20','Invalid\x20URL:\x20','https://developer.android.com/studio/terms.html','Downloading\x20Android\x20SDK\x20to\x20','1070ISPDax','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','195069ImKNtL','\x0aSigning\x20key\x20information\x20','underline','\x20can\x20not\x20be\x20accessible.','Icon\x20URL:','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','Maximum\x20length\x20is\x20','Invalid\x20integer\x20provided:\x20'];_0x2c5f=function(){return _0x604e0f;};return _0x2c5f();}exports['messages']={'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':_0x64f76f(0x19f),'messageDownloadJdk':_0x64f76f(0x18d),'messageDownloadJdkSrc':_0x64f76f(0x19b),'messageDecompressJdkSrc':'Decompressing\x20the\x20JDK\x2011\x20Sources...','messageDownloadJdkBin':_0x64f76f(0x197),'messageDecompressJdkBin':'Decompressing\x20the\x20JDK\x2011\x20Binaries...','promptInstallSdk':_0x64f76f(0x1a4),'promptSdkPath':_0x64f76f(0x1a5),'messageDownloadSdk':_0x64f76f(0x174),'errorSdkTerms':_0x64f76f(0x1a7),'promptSdkTerms':_0x64f76f(0x198)+(0x0,colors_1['underline'])(_0x64f76f(0x173))+'?','messageDownloadAndroidSdk':_0x64f76f(0x181),'messageDecompressAndroidSdk':_0x64f76f(0x16f),'messageInstallingBuildTools':_0x64f76f(0x17d)+_0x64f76f(0x195),'messageGeneratingAndroidProject':_0x64f76f(0x182),'messageCheckSuccess':(_0x1db9c6,_0x3b3188)=>{const _0xd280b=_0x64f76f;return _0xd280b(0x19e)+(0x0,colors_1[_0xd280b(0x196)])(_0x1db9c6)+'\x20'+(_0x3b3188?_0xd280b(0x18c)+(0x0,colors_1[_0xd280b(0x196)])(_0x3b3188):'')+_0xd280b(0x184);},'errorMissingManifestParameter':_0x64f76f(0x18b)+((0x0,colors_1[_0x64f76f(0x196)])('--manifest-url')+_0x64f76f(0x1a6)+(0x0,colors_1[_0x64f76f(0x196)])(_0x64f76f(0x1aa))),'messageInitializingWebManifest':_0x3e78d0=>{const _0x4406e5=_0x64f76f;return _0x4406e5(0x18a)+(0x0,colors_1['cyan'])(_0x3e78d0);},'messageInitializingLocalManifest':_0x21b56a=>{const _0x39edee=_0x64f76f;return _0x39edee(0x176)+(0x0,colors_1['cyan'])(_0x21b56a);},'messageInvalidIcon':_0x1b90a3=>{const _0x5d3eb9=_0x64f76f;return _0x5d3eb9(0x171)+(0x0,colors_1['cyan'])(_0x1b90a3);},'errorStartUrlNotReachable':_0x2e39e9=>_0x64f76f(0x18e)+_0x2e39e9+_0x64f76f(0x17b)+_0x64f76f(0x1a9),'warnFamilyPolicy':(0x0,colors_1[_0x64f76f(0x189)])((0x0,colors_1[_0x64f76f(0x180)])('WARNING:\x20'))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+'\x20Check\x20out\x20the\x20Play\x20for'+_0x64f76f(0x199)+(0x0,colors_1[_0x64f76f(0x196)])('https://play.google.com/console/about/families/'),'promptIconUrl':_0x64f76f(0x17c),'errorInvalidUrl':_0x17b016=>{const _0x1516be=_0x64f76f;return _0x1516be(0x172)+_0x17b016;},'errorUrlMustBeImage':_0x1fd330=>{const _0x111504=_0x64f76f;return _0x111504(0x177)+_0x1fd330+'.';},'promptVersionCode':_0x64f76f(0x187),'promptVersionName':_0x64f76f(0x1a8),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x64f76f(0x179)+(0x0,colors_1[_0x64f76f(0x1a3)])(_0x64f76f(0x18f))),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0x64f76f(0x17a)])('\x0aSigning\x20key\x20creation'),'messageSigningKeyNotFound':_0x486426=>{const _0x4e223d=_0x64f76f;return _0x4e223d(0x193)+_0x486426+_0x4e223d(0x19a);},'promptCreateKey':'Do\x20you\x20want\x20to\x20create\x20one\x20now?','promptKeyFullName':'First\x20and\x20Last\x20names\x20(eg:\x20PICO):','promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x64f76f(0x170),'promptKeyCountry':_0x64f76f(0x194),'promptKeystorePassword':_0x64f76f(0x191),'promptKeyPassword':'Password\x20for\x20the\x20Key:','messageBuildingApp':_0x64f76f(0x185),'messageEnterPasswords':(_0x289dd3,_0x7e88aa)=>{const _0x2034bb=_0x64f76f;return _0x2034bb(0x1a0)+(0x0,colors_1[_0x2034bb(0x196)])(_0x289dd3)+'\x20and\x20alias\x20'+(0x0,colors_1[_0x2034bb(0x196)])(_0x7e88aa)+'.\x0a';},'errorMinLength':(_0xc6992d,_0x28cd11)=>{const _0x563621=_0x64f76f;return'Minimum\x20length\x20is\x20'+_0xc6992d+_0x563621(0x19c)+_0x28cd11+'.';},'errorMaxLength':(_0x2c71c,_0x34949f)=>{const _0x2a0d46=_0x64f76f;return _0x2a0d46(0x17e)+_0x2c71c+_0x2a0d46(0x19c)+_0x34949f+'.';},'errorInvalidInteger':_0x3ed863=>{const _0x55eba6=_0x64f76f;return _0x55eba6(0x17f)+_0x3ed863;},'messageApkSuccess':_0x3fa5a3=>{const _0x2d94ce=_0x64f76f;return _0x2d94ce(0x1ab)+(0x0,colors_1[_0x2d94ce(0x196)])(_0x3fa5a3);},'missingUrlToCheck':_0x64f76f(0x18b)+(''+(0x0,colors_1['cyan'])(_0x64f76f(0x183)))};
@@ -1 +1 @@
1
- 'use strict';const _0x515eb3=_0x2439;(function(_0xf52ab2,_0x4b011a){const _0x171d83=_0x2439,_0x362ecd=_0xf52ab2();while(!![]){try{const _0x54f53e=-parseInt(_0x171d83(0x74))/0x1+-parseInt(_0x171d83(0x75))/0x2*(parseInt(_0x171d83(0x82))/0x3)+-parseInt(_0x171d83(0x78))/0x4+parseInt(_0x171d83(0x80))/0x5*(parseInt(_0x171d83(0x7a))/0x6)+-parseInt(_0x171d83(0x77))/0x7+-parseInt(_0x171d83(0x83))/0x8*(parseInt(_0x171d83(0x81))/0x9)+-parseInt(_0x171d83(0x85))/0xa*(-parseInt(_0x171d83(0x79))/0xb);if(_0x54f53e===_0x4b011a)break;else _0x362ecd['push'](_0x362ecd['shift']());}catch(_0xd757ae){_0x362ecd['push'](_0x362ecd['shift']());}}}(_0x147f,0x7c5e1));function _0x2439(_0x876993,_0x113189){const _0x147f40=_0x147f();return _0x2439=function(_0x243984,_0x82b3e6){_0x243984=_0x243984-0x74;let _0xbf1614=_0x147f40[_0x243984];return _0xbf1614;},_0x2439(_0x876993,_0x113189);}Object[_0x515eb3(0x76)](exports,'__esModule',{'value':!![]}),exports[_0x515eb3(0x7e)]=parseRouter;function parseRouter(_0x1d0706){const _0xb2afcd=_0x515eb3;let _0x406232=_0x1d0706[_0xb2afcd(0x7c)]('/');_0x406232[_0xb2afcd(0x7b)]();let _0x4ad743=_0x406232[_0xb2afcd(0x7d)]();while(_0x4ad743[_0xb2afcd(0x7f)](',')>=0x0){_0x4ad743=_0x4ad743[_0xb2afcd(0x84)](',','/');}return _0x4ad743;}function _0x147f(){const _0x1f5049=['926346VSzbJd','pop','split','join','parseRouter','indexOf','5dmRmBd','180CtyXpT','3017082ToKrGS','354224Rmtfne','replace','754440IDzkSS','633842FYHzhf','2bKKbul','defineProperty','3745028xTjVRW','2333656KFdDdk','583cobVEo'];_0x147f=function(){return _0x1f5049;};return _0x147f();}
1
+ 'use strict';const _0x458f40=_0x30c4;function _0x30c4(_0x423bec,_0x48ee64){const _0x185001=_0x1850();return _0x30c4=function(_0x30c467,_0x2f0aae){_0x30c467=_0x30c467-0x1e7;let _0x1d22aa=_0x185001[_0x30c467];return _0x1d22aa;},_0x30c4(_0x423bec,_0x48ee64);}(function(_0x4315e4,_0x3180a7){const _0x2f3e69=_0x30c4,_0x7ca967=_0x4315e4();while(!![]){try{const _0x3e2331=parseInt(_0x2f3e69(0x1f5))/0x1*(parseInt(_0x2f3e69(0x1f3))/0x2)+parseInt(_0x2f3e69(0x1ea))/0x3+parseInt(_0x2f3e69(0x1eb))/0x4+-parseInt(_0x2f3e69(0x1e7))/0x5+parseInt(_0x2f3e69(0x1ef))/0x6*(parseInt(_0x2f3e69(0x1f4))/0x7)+parseInt(_0x2f3e69(0x1ee))/0x8+-parseInt(_0x2f3e69(0x1e9))/0x9;if(_0x3e2331===_0x3180a7)break;else _0x7ca967['push'](_0x7ca967['shift']());}catch(_0x162ac5){_0x7ca967['push'](_0x7ca967['shift']());}}}(_0x1850,0x30ac4));Object[_0x458f40(0x1e8)](exports,_0x458f40(0x1f1),{'value':!![]}),exports[_0x458f40(0x1ec)]=parseRouter;function _0x1850(){const _0x29b6b1=['pop','__esModule','replace','2TjAulm','358351qnStBO','47707pkbgGZ','1064185CLeVOa','defineProperty','5461668eghJPM','361095TeaguF','1358636SNmgJs','parseRouter','indexOf','1223768mOtjvq','42PMBxpV'];_0x1850=function(){return _0x29b6b1;};return _0x1850();}function parseRouter(_0x181e76){const _0x42d8b6=_0x458f40;let _0x5db9c8=_0x181e76['split']('/');_0x5db9c8[_0x42d8b6(0x1f0)]();let _0x5d1617=_0x5db9c8['join']();while(_0x5d1617[_0x42d8b6(0x1ed)](',')>=0x0){_0x5d1617=_0x5d1617[_0x42d8b6(0x1f2)](',','/');}return _0x5d1617;}
@@ -1 +1 @@
1
- 'use strict';const _0x5cdedf=_0x4be8;(function(_0x7ae069,_0x25a0a6){const _0x480584=_0x4be8,_0x4bf640=_0x7ae069();while(!![]){try{const _0x1477ce=parseInt(_0x480584(0xed))/0x1+parseInt(_0x480584(0xdd))/0x2+-parseInt(_0x480584(0xde))/0x3*(-parseInt(_0x480584(0xe1))/0x4)+parseInt(_0x480584(0xe3))/0x5+parseInt(_0x480584(0xe4))/0x6*(-parseInt(_0x480584(0xf1))/0x7)+parseInt(_0x480584(0xe7))/0x8*(-parseInt(_0x480584(0xf6))/0x9)+-parseInt(_0x480584(0xf5))/0xa;if(_0x1477ce===_0x25a0a6)break;else _0x4bf640['push'](_0x4bf640['shift']());}catch(_0x4ab0c2){_0x4bf640['push'](_0x4bf640['shift']());}}}(_0x182f,0xc2afe));Object[_0x5cdedf(0xf2)](exports,'__esModule',{'value':!![]}),exports[_0x5cdedf(0xdc)]=void 0x0;const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require(_0x5cdedf(0xe9)),xcodebuild_1=require(_0x5cdedf(0xf0)),xcrun_1=require(_0x5cdedf(0xda)),path_1=require(_0x5cdedf(0xdb));class XcodeManager{static async[_0x5cdedf(0xf4)](_0x9bae79,_0x4e9f65=![]){const _0x356016=_0x5cdedf,_0x40cbaf=resource_1[_0x356016(0xe8)]+_0x356016(0xec);await xcodeproject_1[_0x356016(0xdf)][_0x356016(0xee)](_0x40cbaf,_0x9bae79),console[_0x356016(0xe0)](_0x356016(0xef));!fs[_0x356016(0xeb)](resource_1[_0x356016(0xd8)])&&fs['mkdirSync'](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]});if(!_0x4e9f65)await xcodebuild_1[_0x356016(0xdf)]['archive'](_0x9bae79[_0x356016(0xe6)]);}static async[_0x5cdedf(0xd9)](_0x345b69,_0x5dab32){const _0x15d158=_0x5cdedf;if(_0x345b69['u']&&_0x345b69['p'])xcrun_1['default'][_0x15d158(0xf3)]((0x0,path_1[_0x15d158(0xe2)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x5dab32[_0x15d158(0xea)]+_0x15d158(0xf7)),_0x345b69['u'],_0x345b69['p'],!![]);else _0x345b69['k']&&_0x345b69['i']&&xcrun_1[_0x15d158(0xdf)][_0x15d158(0xf3)]((0x0,path_1[_0x15d158(0xe2)])(resource_1[_0x15d158(0xd8)],_0x5dab32['name']+_0x15d158(0xf7)),_0x345b69['k'],_0x345b69['i'],![]);}static async[_0x5cdedf(0xe5)](_0x4c47cd){const _0x54a72c=_0x5cdedf;await xcrun_1[_0x54a72c(0xdf)][_0x54a72c(0xe5)](_0x4c47cd);}}function _0x4be8(_0x1ef258,_0x58f57a){const _0x182f6b=_0x182f();return _0x4be8=function(_0x4be8f0,_0x1b6898){_0x4be8f0=_0x4be8f0-0xd8;let _0x376393=_0x182f6b[_0x4be8f0];return _0x376393;},_0x4be8(_0x1ef258,_0x58f57a);}function _0x182f(){const _0x307ef4=['join','6031905XKxHyf','294654UWkZzy','runWithSimulator','export','68104sBkvzG','PROJECT_DIRECTORY','./xcodeproject','name','existsSync','/web-spatial.xcodeproj/project.pbxproj','144732KJloVR','modify','write\x20project.pbxproj:\x20ok','./xcodebuild','119MuKgNI','defineProperty','uploadApp','parseProject','17906470WHaQLa','945akIBEG','.ipa','PROJECT_EXPORT_DIRECTORY','upload','./xcrun','path','XcodeManager','2753980qLbHEH','150RXavrW','default','log','127096RLcdPl'];_0x182f=function(){return _0x307ef4;};return _0x182f();}exports['XcodeManager']=XcodeManager;
1
+ 'use strict';const _0x50f725=_0x457a;(function(_0x3374d1,_0x1caf7a){const _0x433979=_0x457a,_0x19116c=_0x3374d1();while(!![]){try{const _0x3f0b5a=-parseInt(_0x433979(0xa7))/0x1+-parseInt(_0x433979(0xa1))/0x2*(parseInt(_0x433979(0xad))/0x3)+-parseInt(_0x433979(0xb7))/0x4+-parseInt(_0x433979(0xbe))/0x5+parseInt(_0x433979(0xb0))/0x6*(-parseInt(_0x433979(0xb1))/0x7)+parseInt(_0x433979(0xbf))/0x8+parseInt(_0x433979(0xbd))/0x9*(parseInt(_0x433979(0xaf))/0xa);if(_0x3f0b5a===_0x1caf7a)break;else _0x19116c['push'](_0x19116c['shift']());}catch(_0x590ffb){_0x19116c['push'](_0x19116c['shift']());}}}(_0x4173,0x9090f));Object[_0x50f725(0xb3)](exports,_0x50f725(0xb5),{'value':!![]}),exports['XcodeManager']=void 0x0;function _0x457a(_0x596321,_0x160b3b){const _0x41730d=_0x4173();return _0x457a=function(_0x457ae9,_0x259bd1){_0x457ae9=_0x457ae9-0xa1;let _0x4a4c02=_0x41730d[_0x457ae9];return _0x4a4c02;},_0x457a(_0x596321,_0x160b3b);}function _0x4173(){const _0xc1a601=['join','log','export','./xcodeproject','218295xkTALu','4708430xzpbVK','3037504IVuuRq','1604476sNybWZ','parseProject','runWithSimulator','path','/web-spatial.xcodeproj/project.pbxproj','mkdirSync','1045800AvbSwd','write\x20project.pbxproj:\x20ok','existsSync','./xcodebuild','PROJECT_EXPORT_DIRECTORY','.ipa','3FcmkDt','default','1990NgPEHS','29010MTGTmT','1477qIyfgR','name','defineProperty','uploadApp','__esModule','./xcrun','3217524fCMBLW','modify'];_0x4173=function(){return _0xc1a601;};return _0x4173();}const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require(_0x50f725(0xbc)),xcodebuild_1=require(_0x50f725(0xaa)),xcrun_1=require(_0x50f725(0xb6)),path_1=require(_0x50f725(0xa4));class XcodeManager{static async[_0x50f725(0xa2)](_0x18dbec,_0x2eb3bd=![]){const _0x34509e=_0x50f725,_0x217f03=resource_1['PROJECT_DIRECTORY']+_0x34509e(0xa5);await xcodeproject_1[_0x34509e(0xae)][_0x34509e(0xb8)](_0x217f03,_0x18dbec,_0x2eb3bd),console[_0x34509e(0xba)](_0x34509e(0xa8));!fs[_0x34509e(0xa9)](resource_1[_0x34509e(0xab)])&&fs[_0x34509e(0xa6)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]});if(!_0x2eb3bd)await xcodebuild_1[_0x34509e(0xae)]['archive'](_0x18dbec[_0x34509e(0xbb)]);}static async['upload'](_0x3eb842,_0x722618){const _0x290692=_0x50f725;if(_0x3eb842['u']&&_0x3eb842['p'])xcrun_1[_0x290692(0xae)]['uploadApp']((0x0,path_1[_0x290692(0xb9)])(resource_1[_0x290692(0xab)],_0x722618[_0x290692(0xb2)]+'.ipa'),_0x3eb842['u'],_0x3eb842['p'],!![]);else _0x3eb842['k']&&_0x3eb842['i']&&xcrun_1[_0x290692(0xae)][_0x290692(0xb4)]((0x0,path_1[_0x290692(0xb9)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x722618[_0x290692(0xb2)]+_0x290692(0xac)),_0x3eb842['k'],_0x3eb842['i'],![]);}static async[_0x50f725(0xa3)](_0xdc6338){const _0x22eb37=_0x50f725;await xcrun_1[_0x22eb37(0xae)]['runWithSimulator'](_0xdc6338);}}exports['XcodeManager']=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';function _0x33df(){var _0x366a8f=['5FixUJO','24732UMafRW','3672YRhaae','84333SBnVxh','9303270ReSPMW','\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','389319TFuBRi','2381482BhOWLd','726020cGdVFf','222yNayIE','manifestSwiftTemplate','310478hlwTzI','defineProperty'];_0x33df=function(){return _0x366a8f;};return _0x33df();}function _0x3afd(_0x4461db,_0x41daf2){var _0x33df86=_0x33df();return _0x3afd=function(_0x3afd32,_0x401019){_0x3afd32=_0x3afd32-0xbe;var _0x2713d6=_0x33df86[_0x3afd32];return _0x2713d6;},_0x3afd(_0x4461db,_0x41daf2);}var _0x1a2878=_0x3afd;(function(_0x5269cc,_0x257fcb){var _0x56de91=_0x3afd,_0xf9fbbf=_0x5269cc();while(!![]){try{var _0x5de14f=parseInt(_0x56de91(0xca))/0x1+parseInt(_0x56de91(0xbe))/0x2+parseInt(_0x56de91(0xc7))/0x3+parseInt(_0x56de91(0xbf))/0x4*(-parseInt(_0x56de91(0xc4))/0x5)+-parseInt(_0x56de91(0xc0))/0x6*(-parseInt(_0x56de91(0xc2))/0x7)+parseInt(_0x56de91(0xc6))/0x8*(-parseInt(_0x56de91(0xc5))/0x9)+-parseInt(_0x56de91(0xc8))/0xa;if(_0x5de14f===_0x257fcb)break;else _0xf9fbbf['push'](_0xf9fbbf['shift']());}catch(_0x27d9a5){_0xf9fbbf['push'](_0xf9fbbf['shift']());}}}(_0x33df,0xd5e49));Object[_0x1a2878(0xc3)](exports,'__esModule',{'value':!![]}),exports[_0x1a2878(0xc1)]=void 0x0,exports[_0x1a2878(0xc1)]=_0x1a2878(0xc9);
1
+ 'use strict';var _0x401ab6=_0x39c5;function _0x39c5(_0x5eaef9,_0x1a7758){var _0x172999=_0x1729();return _0x39c5=function(_0x39c5d1,_0x4d7647){_0x39c5d1=_0x39c5d1-0x196;var _0x4d1329=_0x172999[_0x39c5d1];return _0x4d1329;},_0x39c5(_0x5eaef9,_0x1a7758);}(function(_0xc52df,_0x39e197){var _0x3f9caf=_0x39c5,_0x5a38fc=_0xc52df();while(!![]){try{var _0x12001c=parseInt(_0x3f9caf(0x198))/0x1*(-parseInt(_0x3f9caf(0x19b))/0x2)+-parseInt(_0x3f9caf(0x1a1))/0x3*(parseInt(_0x3f9caf(0x19c))/0x4)+-parseInt(_0x3f9caf(0x196))/0x5+-parseInt(_0x3f9caf(0x19a))/0x6*(parseInt(_0x3f9caf(0x19e))/0x7)+-parseInt(_0x3f9caf(0x19f))/0x8*(-parseInt(_0x3f9caf(0x1a0))/0x9)+-parseInt(_0x3f9caf(0x199))/0xa+-parseInt(_0x3f9caf(0x197))/0xb*(-parseInt(_0x3f9caf(0x1a3))/0xc);if(_0x12001c===_0x39e197)break;else _0x5a38fc['push'](_0x5a38fc['shift']());}catch(_0x38e791){_0x5a38fc['push'](_0x5a38fc['shift']());}}}(_0x1729,0x21707));function _0x1729(){var _0x183a0a=['196303ocNQgq','2628660DOYSUq','48qwZlOb','2KFthyt','46204UtnAnD','manifestSwiftTemplate','23079uatxLZ','784656EqpCsd','18wcxTNi','33TocPRm','defineProperty','649164BAMlEG','\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','478775jAwZTh','132fxPPoT'];_0x1729=function(){return _0x183a0a;};return _0x1729();}Object[_0x401ab6(0x1a2)](exports,'__esModule',{'value':!![]}),exports[_0x401ab6(0x19d)]=void 0x0,exports['manifestSwiftTemplate']=_0x401ab6(0x1a4);
@@ -1 +1 @@
1
- 'use strict';const _0x492e73=_0x222d;(function(_0x1ca230,_0x305d7f){const _0x471e3d=_0x222d,_0x461101=_0x1ca230();while(!![]){try{const _0x11e36b=parseInt(_0x471e3d(0xa3))/0x1*(parseInt(_0x471e3d(0xcf))/0x2)+parseInt(_0x471e3d(0xc4))/0x3+-parseInt(_0x471e3d(0xb1))/0x4+-parseInt(_0x471e3d(0xd2))/0x5*(parseInt(_0x471e3d(0xae))/0x6)+parseInt(_0x471e3d(0xa7))/0x7+parseInt(_0x471e3d(0xaf))/0x8+-parseInt(_0x471e3d(0xc0))/0x9;if(_0x11e36b===_0x305d7f)break;else _0x461101['push'](_0x461101['shift']());}catch(_0x3a6229){_0x461101['push'](_0x461101['shift']());}}}(_0x121f,0x40c26));function _0x222d(_0x356885,_0x39ed01){const _0x121fcb=_0x121f();return _0x222d=function(_0x222dc8,_0x15088f){_0x222dc8=_0x222dc8-0x9c;let _0x3b7d50=_0x121fcb[_0x222dc8];return _0x3b7d50;},_0x222d(_0x356885,_0x39ed01);}Object[_0x492e73(0xbc)](exports,_0x492e73(0xc2),{'value':!![]}),exports[_0x492e73(0xa4)]=void 0x0;const fs=require('fs'),path_1=require(_0x492e73(0xbb)),resource_1=require(_0x492e73(0xa6)),semver_1=require(_0x492e73(0x9d)),file_1=require(_0x492e73(0xd1)),{execSync,exec}=require('child_process');class Xcodebuild{static async[_0x492e73(0xd3)](){const _0x22ddc3=_0x492e73;try{await new Promise((_0x42a2a6,_0x448c35)=>{const _0x1337b4=_0x222d,_0x40dad9=resource_1['PROJECT_DIRECTORY']+_0x1337b4(0x9e),_0xe527ca=execSync(new XcodebuildCMD()['project'](_0x40dad9)[_0x1337b4(0xd4)]()['line']);console[_0x1337b4(0xac)](_0xe527ca[_0x1337b4(0xaa)]()),_0x42a2a6(_0xe527ca);});}catch(_0x52646a){console[_0x22ddc3(0xac)](_0x52646a);}}static async[_0x492e73(0xd4)](){const _0x2386f2=_0x492e73;try{await new Promise((_0x2a2170,_0x4463a1)=>{const _0x1da972=_0x222d,_0x5b546d=resource_1['PROJECT_DIRECTORY']+_0x1da972(0x9e),_0x1beef8=execSync(new XcodebuildCMD()[_0x1da972(0xd3)](_0x5b546d)['list']()[_0x1da972(0xb2)]);console[_0x1da972(0xac)](_0x1beef8[_0x1da972(0xaa)]()),_0x2a2170(_0x1beef8);});}catch(_0x265770){console[_0x2386f2(0xac)](_0x265770);}}static async[_0x492e73(0xca)](_0x4308b6){const _0x4af49c=_0x492e73;try{return console['log'](_0x4af49c(0xcd)),!fs['existsSync'](resource_1[_0x4af49c(0xbd)])&&fs[_0x4af49c(0xb7)](resource_1[_0x4af49c(0xbd)],{'recursive':!![]}),await new Promise((_0x10845e,_0x31a8af)=>{const _0x1094ad=_0x4af49c,_0x260e14=resource_1[_0x1094ad(0xa5)]+_0x1094ad(0x9e),_0x2bb7f6=execSync(new XcodebuildCMD()['project'](_0x260e14)[_0x1094ad(0xcb)](_0x1094ad(0x9c))[_0x1094ad(0xca)]((0x0,path_1['join'])(resource_1[_0x1094ad(0xb0)],_0x1094ad(0xa2)))[_0x1094ad(0xbf)]()[_0x1094ad(0xb2)]);let _0x2de66a=_0x2bb7f6[_0x1094ad(0xaa)]();if(_0x2de66a[_0x1094ad(0xd0)](_0x1094ad(0xcc))>0x0){console[_0x1094ad(0xac)](_0x1094ad(0xb9)),console[_0x1094ad(0xac)](_0x1094ad(0xb3));const _0x172c2b=execSync(new XcodebuildCMD()['output']((0x0,path_1['join'])(resource_1[_0x1094ad(0xb0)],_0x1094ad(0xc3)),resource_1[_0x1094ad(0xbd)],(0x0,path_1[_0x1094ad(0xa1)])(resource_1[_0x1094ad(0xb0)],_0x1094ad(0xce)))[_0x1094ad(0xb4)]()[_0x1094ad(0xb2)]);_0x2de66a=_0x172c2b[_0x1094ad(0xaa)]();if(_0x2de66a[_0x1094ad(0xd0)](_0x1094ad(0xba))>0x0){if(_0x4308b6){const _0x294b7d=(0x0,path_1[_0x1094ad(0xa1)])(process[_0x1094ad(0xb5)](),_0x4308b6);!fs['existsSync'](_0x294b7d)&&fs[_0x1094ad(0xb7)](_0x294b7d,{'recursive':!![]}),(0x0,file_1[_0x1094ad(0xc9)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x294b7d);}console[_0x1094ad(0xac)](_0x1094ad(0x9f)),_0x10845e(!![]);}(0x0,semver_1['clean'])(resource_1[_0x1094ad(0xb0)]);}_0x10845e(![]);});}catch(_0xf8468c){console[_0x4af49c(0xac)](_0xf8468c);}}}function _0x121f(){const _0x4cae64=['path','defineProperty','PROJECT_EXPORT_DIRECTORY','destination','clean','4292658dhKUAX','\x20archive','__esModule','pack.xcarchive','481254eFOdFE','default','xcodebuild','\x20-list','\x20-allowProvisioningUpdates','copyDir','archive','scheme','ARCHIVE\x20SUCCEEDED','start\x20archive','ExportOptions.plist','58WhvOfp','indexOf','../resource/file','735235BjYkJt','project','list','web-spatial','semver','/web-spatial.xcodeproj','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','\x20-archivePath\x20','join','./pack','3209dgPGQE','XcodebuildCMD','PROJECT_DIRECTORY','../resource','3621527aoEkST','\x20-project\x20','\x20-exportOptionsPlist\x20','toString','\x20-destination\x20\x27','log','\x20-exportArchive\x20-archivePath\x20','12nKeNVm','3044768mrClQj','PROJECT_BUILD_DIRECTORY','460504fHkgll','line','start\x20export','allowProvisioningUpdates','cwd','\x20clean','mkdirSync','\x20-exportPath\x20','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','EXPORT\x20SUCCEEDED'];_0x121f=function(){return _0x4cae64;};return _0x121f();}exports[_0x492e73(0xc5)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x456db8=_0x492e73;this[_0x456db8(0xb2)]=_0x456db8(0xc6);}['project'](_0x7b410){const _0x2d2feb=_0x492e73;return this[_0x2d2feb(0xb2)]+=_0x2d2feb(0xa8)+_0x7b410,this;}[_0x492e73(0xd4)](){const _0x22b5db=_0x492e73;return this['line']+=_0x22b5db(0xc7),this;}[_0x492e73(0xcb)](_0x895e6c){const _0x168454=_0x492e73;return this[_0x168454(0xb2)]+='\x20-scheme\x20'+_0x895e6c,this;}[_0x492e73(0xca)](_0x45a85e){const _0x5ab6ec=_0x492e73;return this[_0x5ab6ec(0xb2)]+=_0x5ab6ec(0xa0)+_0x45a85e+_0x5ab6ec(0xc1),this;}['allowProvisioningUpdates'](){const _0x482b42=_0x492e73;return this['line']+=_0x482b42(0xc8),this;}[_0x492e73(0xbe)](_0x5952a4){const _0x3819fb=_0x492e73;return this[_0x3819fb(0xb2)]+=_0x3819fb(0xab)+_0x5952a4+'\x27',this;}['output'](_0x57df62,_0x2912b1,_0x1889db){const _0x312874=_0x492e73;return this[_0x312874(0xb2)]+=_0x312874(0xad)+_0x57df62+_0x312874(0xb8)+_0x2912b1+_0x312874(0xa9)+_0x1889db,this;}['clean'](){const _0x4c0f83=_0x492e73;return this[_0x4c0f83(0xb2)]+=_0x4c0f83(0xb6),this;}}exports[_0x492e73(0xa4)]=XcodebuildCMD;
1
+ 'use strict';function _0x2702(_0x55cc5c,_0x56ba4d){const _0x48825b=_0x4882();return _0x2702=function(_0x270231,_0x59a25a){_0x270231=_0x270231-0x71;let _0x2d6e6e=_0x48825b[_0x270231];return _0x2d6e6e;},_0x2702(_0x55cc5c,_0x56ba4d);}const _0x5b9104=_0x2702;(function(_0x3a324b,_0x2a873b){const _0x2dfdf3=_0x2702,_0x1617a3=_0x3a324b();while(!![]){try{const _0x5da482=parseInt(_0x2dfdf3(0x9e))/0x1+parseInt(_0x2dfdf3(0x9d))/0x2*(-parseInt(_0x2dfdf3(0x8d))/0x3)+-parseInt(_0x2dfdf3(0xa3))/0x4*(parseInt(_0x2dfdf3(0x89))/0x5)+parseInt(_0x2dfdf3(0x76))/0x6+-parseInt(_0x2dfdf3(0x82))/0x7*(parseInt(_0x2dfdf3(0x7f))/0x8)+-parseInt(_0x2dfdf3(0x73))/0x9+parseInt(_0x2dfdf3(0x7c))/0xa;if(_0x5da482===_0x2a873b)break;else _0x1617a3['push'](_0x1617a3['shift']());}catch(_0x236402){_0x1617a3['push'](_0x1617a3['shift']());}}}(_0x4882,0x580ff));Object['defineProperty'](exports,_0x5b9104(0x95),{'value':!![]}),exports[_0x5b9104(0x93)]=void 0x0;const fs=require('fs'),path_1=require(_0x5b9104(0x84)),resource_1=require(_0x5b9104(0x98)),semver_1=require(_0x5b9104(0x86)),file_1=require(_0x5b9104(0x92)),{execSync,exec}=require(_0x5b9104(0x90));class Xcodebuild{static async[_0x5b9104(0x7a)](){const _0x3c34cb=_0x5b9104;try{await new Promise((_0x423edd,_0xf2c4b7)=>{const _0x461188=_0x2702,_0x4af7b4=resource_1[_0x461188(0x78)]+_0x461188(0x99),_0x16fb3c=execSync(new XcodebuildCMD()['project'](_0x4af7b4)[_0x461188(0x7e)]()[_0x461188(0xa7)]);console['log'](_0x16fb3c[_0x461188(0x7d)]()),_0x423edd(_0x16fb3c);});}catch(_0x205571){console[_0x3c34cb(0x9f)](_0x205571);}}static async[_0x5b9104(0x7e)](){const _0x4542fc=_0x5b9104;try{await new Promise((_0x298b1e,_0x3a8fd)=>{const _0x5b6dcc=_0x2702,_0x4b503b=resource_1[_0x5b6dcc(0x78)]+_0x5b6dcc(0x99),_0xa14a29=execSync(new XcodebuildCMD()[_0x5b6dcc(0x7a)](_0x4b503b)['list']()[_0x5b6dcc(0xa7)]);console[_0x5b6dcc(0x9f)](_0xa14a29[_0x5b6dcc(0x7d)]()),_0x298b1e(_0xa14a29);});}catch(_0xb47400){console[_0x4542fc(0x9f)](_0xb47400);}}static async[_0x5b9104(0xa6)](_0x46912f){const _0x15ea7e=_0x5b9104;try{return console[_0x15ea7e(0x9f)]('start\x20archive'),!fs['existsSync'](resource_1[_0x15ea7e(0x97)])&&fs[_0x15ea7e(0x94)](resource_1[_0x15ea7e(0x97)],{'recursive':!![]}),await new Promise((_0x39dec9,_0x446f13)=>{const _0x51b0aa=_0x15ea7e,_0x22fabb=resource_1[_0x51b0aa(0x78)]+_0x51b0aa(0x99),_0x511429=execSync(new XcodebuildCMD()['project'](_0x22fabb)[_0x51b0aa(0xa4)](_0x51b0aa(0x71))[_0x51b0aa(0xa6)]((0x0,path_1[_0x51b0aa(0xa2)])(resource_1[_0x51b0aa(0x77)],_0x51b0aa(0x83)))[_0x51b0aa(0x9b)]()[_0x51b0aa(0xa7)]);let _0x357b60=_0x511429['toString']();if(_0x357b60[_0x51b0aa(0x9c)](_0x51b0aa(0x74))>0x0){console[_0x51b0aa(0x9f)](_0x51b0aa(0x75)),console[_0x51b0aa(0x9f)](_0x51b0aa(0xa1));const _0x290cc7=execSync(new XcodebuildCMD()[_0x51b0aa(0xa0)]((0x0,path_1[_0x51b0aa(0xa2)])(resource_1[_0x51b0aa(0x77)],_0x51b0aa(0x88)),resource_1[_0x51b0aa(0x97)],(0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x51b0aa(0x8b)))[_0x51b0aa(0x9a)]()[_0x51b0aa(0xa7)]);_0x357b60=_0x290cc7[_0x51b0aa(0x7d)]();if(_0x357b60[_0x51b0aa(0x9c)](_0x51b0aa(0x8f))>0x0){if(_0x46912f){const _0x58be68=(0x0,path_1[_0x51b0aa(0xa2)])(process['cwd'](),_0x46912f);!fs[_0x51b0aa(0x7b)](_0x58be68)&&fs[_0x51b0aa(0x94)](_0x58be68,{'recursive':!![]}),(0x0,file_1[_0x51b0aa(0x8a)])(resource_1[_0x51b0aa(0x97)],_0x58be68);}console[_0x51b0aa(0x9f)]('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------'),_0x39dec9(!![]);}(0x0,semver_1[_0x51b0aa(0x9b)])(resource_1[_0x51b0aa(0x77)]);}_0x39dec9(![]);});}catch(_0x22ce6e){console[_0x15ea7e(0x9f)](_0x22ce6e);}}}exports[_0x5b9104(0xa5)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x13a4fa=_0x5b9104;this['line']=_0x13a4fa(0x8c);}[_0x5b9104(0x7a)](_0x16144d){const _0x2b9c49=_0x5b9104;return this['line']+=_0x2b9c49(0x96)+_0x16144d,this;}[_0x5b9104(0x7e)](){const _0x3416bc=_0x5b9104;return this['line']+=_0x3416bc(0x79),this;}[_0x5b9104(0xa4)](_0xafa9f3){const _0x4f8601=_0x5b9104;return this[_0x4f8601(0xa7)]+='\x20-scheme\x20'+_0xafa9f3,this;}[_0x5b9104(0xa6)](_0x2cdc45){const _0x55ca4e=_0x5b9104;return this[_0x55ca4e(0xa7)]+=_0x55ca4e(0x80)+_0x2cdc45+'\x20archive',this;}['allowProvisioningUpdates'](){const _0x2d2f98=_0x5b9104;return this[_0x2d2f98(0xa7)]+='\x20-allowProvisioningUpdates',this;}[_0x5b9104(0x91)](_0x1f5b50){const _0x53e950=_0x5b9104;return this[_0x53e950(0xa7)]+=_0x53e950(0x85)+_0x1f5b50+'\x27',this;}[_0x5b9104(0xa0)](_0xba9b9d,_0x440998,_0x2260ff){const _0xb545bb=_0x5b9104;return this['line']+=_0xb545bb(0x72)+_0xba9b9d+_0xb545bb(0x8e)+_0x440998+_0xb545bb(0x81)+_0x2260ff,this;}[_0x5b9104(0x9b)](){const _0x40bbda=_0x5b9104;return this[_0x40bbda(0xa7)]+=_0x40bbda(0x87),this;}}exports[_0x5b9104(0x93)]=XcodebuildCMD;function _0x4882(){const _0x27024b=['path','\x20-destination\x20\x27','semver','\x20clean','pack.xcarchive','1265jQrkqM','copyDir','ExportOptions.plist','xcodebuild','78zJtcrp','\x20-exportPath\x20','EXPORT\x20SUCCEEDED','child_process','destination','../resource/file','XcodebuildCMD','mkdirSync','__esModule','\x20-project\x20','PROJECT_EXPORT_DIRECTORY','../resource','/web-spatial.xcodeproj','allowProvisioningUpdates','clean','indexOf','28496yYnPAU','119810Rkihvm','log','output','start\x20export','join','6596mbeGOF','scheme','default','archive','line','web-spatial','\x20-exportArchive\x20-archivePath\x20','6042195KGaUok','ARCHIVE\x20SUCCEEDED','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','2146032URkJnd','PROJECT_BUILD_DIRECTORY','PROJECT_DIRECTORY','\x20-list','project','existsSync','16123960jGmgiC','toString','list','808AUtJjs','\x20-archivePath\x20','\x20-exportOptionsPlist\x20','18725qBWzxL','./pack'];_0x4882=function(){return _0x27024b;};return _0x4882();}
@@ -1,5 +1,5 @@
1
1
  export default class XcodeProject {
2
- static modify(projectPath: string, option: any): Promise<void>;
2
+ static modify(projectPath: string, option: any, isDev?: boolean): Promise<void>;
3
3
  private static fixProjectFunction;
4
4
  private static bindIcon;
5
5
  private static updateTeamId;
@@ -1 +1 @@
1
- 'use strict';const _0x2759ed=_0x4153;function _0x4153(_0x3d8c00,_0x1f7bb5){const _0x3ce456=_0x3ce4();return _0x4153=function(_0x415308,_0x3bec08){_0x415308=_0x415308-0x12c;let _0x1bd016=_0x3ce456[_0x415308];return _0x1bd016;},_0x4153(_0x3d8c00,_0x1f7bb5);}(function(_0x539bba,_0x2a836e){const _0x3d0527=_0x4153,_0x57c586=_0x539bba();while(!![]){try{const _0x303343=parseInt(_0x3d0527(0x186))/0x1*(-parseInt(_0x3d0527(0x12c))/0x2)+parseInt(_0x3d0527(0x182))/0x3+parseInt(_0x3d0527(0x12d))/0x4+-parseInt(_0x3d0527(0x145))/0x5+parseInt(_0x3d0527(0x135))/0x6*(-parseInt(_0x3d0527(0x15a))/0x7)+parseInt(_0x3d0527(0x18c))/0x8*(-parseInt(_0x3d0527(0x141))/0x9)+parseInt(_0x3d0527(0x150))/0xa;if(_0x303343===_0x2a836e)break;else _0x57c586['push'](_0x57c586['shift']());}catch(_0x329326){_0x57c586['push'](_0x57c586['shift']());}}}(_0x3ce4,0x689a3));Object[_0x2759ed(0x16b)](exports,_0x2759ed(0x170),{'value':!![]});const fs=require('fs'),resource_1=require(_0x2759ed(0x15e)),path_1=require('path'),load_1=require('../resource/load'),imageHelper_1=require(_0x2759ed(0x157)),manifestSwiftTemplate_1=require(_0x2759ed(0x138)),xcode=require(_0x2759ed(0x179)),exportOptionsXML=_0x2759ed(0x152),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[_0x2759ed(0x131)](_0x472a40,_0x35ec9a){const _0x53e1e3=_0x2759ed;let _0xddb470=xcode[_0x53e1e3(0x177)](_0x472a40);this[_0x53e1e3(0x171)](_0xddb470),_0xddb470['parseSync']();let _0x314065=_0x35ec9a[_0x53e1e3(0x154)];const _0x3f9964=[_0x53e1e3(0x192),'app-store-connect',_0x53e1e3(0x18a),'enterprise'];useExportOptionsXML=exportOptionsXML[_0x53e1e3(0x15b)](_0x53e1e3(0x163),_0x3f9964[_0x53e1e3(0x13e)](_0x314065)?_0x314065:_0x53e1e3(0x192));_0x35ec9a[_0x53e1e3(0x13d)]&&this[_0x53e1e3(0x185)](_0xddb470,_0x35ec9a[_0x53e1e3(0x13d)]);this[_0x53e1e3(0x17a)]();if(_0x35ec9a[_0x53e1e3(0x15d)])await this['bindIcon'](_0x35ec9a[_0x53e1e3(0x15d)]);this[_0x53e1e3(0x17d)](_0xddb470,_0x35ec9a['manifestInfo']['json']);_0x35ec9a[_0x53e1e3(0x13c)]?this['updateVersion'](_0xddb470,_0x35ec9a[_0x53e1e3(0x13c)]):this[_0x53e1e3(0x151)](_0xddb470,_0x53e1e3(0x136));try{fs['writeFileSync'](_0x472a40,_0xddb470[_0x53e1e3(0x18d)]());}catch(_0x58ad27){console[_0x53e1e3(0x158)](_0x58ad27);}}static[_0x2759ed(0x171)](_0x199136){const _0x1fa63b=_0x2759ed;_0x199136['pbxGroupByName']=function(_0x4456a8){const _0x517ed1=_0x4153;var _0x1918f4=this['hash'][_0x517ed1(0x177)][_0x517ed1(0x183)][_0x517ed1(0x178)],_0x36bcdd,_0x1d8290;for(_0x36bcdd in _0x1918f4){if(!/_comment$/[_0x517ed1(0x188)](_0x36bcdd))continue;if(_0x1918f4[_0x36bcdd]==_0x4456a8)return _0x1d8290=_0x36bcdd['split'](/_comment$/)[0x0],_0x1918f4[_0x1d8290];}return![];},_0x199136[_0x1fa63b(0x134)]=function(_0x24d641,_0x38c89e,_0x9629d4,_0x2ad0d5){const _0x25a4ca=_0x1fa63b;let _0x53fad0=[];const _0x32671f=/_comment$/;if(_0x2ad0d5){const _0x462ada=this[_0x25a4ca(0x173)](_0x2ad0d5),_0x368e18=_0x462ada&&_0x462ada['buildConfigurationList'],_0x581269=this[_0x25a4ca(0x137)]();for(const _0x5788cc in _0x581269){if(!_0x32671f[_0x25a4ca(0x188)](_0x5788cc)&&_0x368e18===_0x5788cc){const _0x35116f=_0x581269[_0x5788cc][_0x25a4ca(0x16a)];for(const _0x1d5953 of _0x35116f){_0x53fad0[_0x25a4ca(0x166)](_0x1d5953[_0x25a4ca(0x14a)]);}break;}}}var _0x4751bf=this[_0x25a4ca(0x14b)]();for(var _0x43e39e in _0x4751bf){if(!_0x32671f[_0x25a4ca(0x188)](_0x43e39e)){if(_0x2ad0d5&&!_0x53fad0[_0x25a4ca(0x13e)](_0x43e39e))continue;var _0x2e17ba=_0x4751bf[_0x43e39e];(_0x9629d4&&_0x2e17ba['name']===_0x9629d4||!_0x9629d4)&&_0x2e17ba[_0x25a4ca(0x139)][_0x24d641]&&(_0x2e17ba['buildSettings'][_0x24d641]=_0x38c89e);}}};}static async[_0x2759ed(0x168)](_0x2f3ed0){const _0x47f831=_0x2759ed;if(_0x2f3ed0){const _0x46ce79=(0x0,path_1[_0x47f831(0x130)])(resource_1[_0x47f831(0x132)],resource_1[_0x47f831(0x14f)]),_0x5de031=(0x0,path_1[_0x47f831(0x130)])(_0x46ce79,_0x47f831(0x16c)),_0x303475=_0x47f831(0x14c)+_0x2f3ed0[_0x47f831(0x12e)]()[_0x47f831(0x15b)](_0x47f831(0x18b),''),_0x1b4fde=(0x0,path_1['join'])(_0x46ce79,_0x303475);let _0xd55455=await(0x0,load_1[_0x47f831(0x16d)])(_0x5de031);_0xd55455[_0x47f831(0x180)][0x0][_0x47f831(0x16f)]=_0x303475,await _0x2f3ed0['writeAsync'](_0x1b4fde),await fs[_0x47f831(0x189)](_0x5de031,JSON[_0x47f831(0x153)](_0xd55455));const _0x483a07=(0x0,path_1[_0x47f831(0x130)])(resource_1[_0x47f831(0x132)],resource_1[_0x47f831(0x172)]),_0x4e3461=(0x0,path_1['join'])(_0x483a07,_0x47f831(0x16c)),_0x20c9ea='icon.png',_0xd47bb6=(0x0,path_1[_0x47f831(0x130)])(_0x483a07,_0x20c9ea);let _0x50ea96=await(0x0,load_1[_0x47f831(0x16d)])(_0x4e3461),_0x3914ce=imageHelper_1[_0x47f831(0x160)]['createImg'](0x200);_0x50ea96[_0x47f831(0x180)][0x0][_0x47f831(0x16f)]=_0x20c9ea,await _0x3914ce[_0x47f831(0x149)](_0xd47bb6),await fs[_0x47f831(0x189)](_0x4e3461,JSON[_0x47f831(0x153)](_0x50ea96));}}static[_0x2759ed(0x185)](_0x8569b4,_0x2abaf3){const _0x281672=_0x2759ed;_0x8569b4['updateBuildProperty'](_0x281672(0x159),_0x2abaf3),useExportOptionsXML=useExportOptionsXML[_0x281672(0x15b)](_0x281672(0x190),_0x2abaf3);}static[_0x2759ed(0x17a)](){const _0x16a8e8=_0x2759ed;!fs[_0x16a8e8(0x174)](resource_1[_0x16a8e8(0x161)])&&fs['mkdirSync'](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x16a8e8(0x189)]((0x0,path_1[_0x16a8e8(0x130)])(resource_1[_0x16a8e8(0x161)],_0x16a8e8(0x140)),useExportOptionsXML);}static['bindManifestInfo'](_0x4e22ed,_0x10e89d){const _0x2814c8=_0x2759ed;var _0x3e3a71;_0x4e22ed[_0x2814c8(0x18e)](_0x10e89d[_0x2814c8(0x142)]),_0x4e22ed['updateBuildProperty']('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x10e89d['id']+'\x22'),this[_0x2814c8(0x148)]((_0x3e3a71=_0x10e89d[_0x2814c8(0x176)])!==null&&_0x3e3a71!==void 0x0?_0x3e3a71:[]),this[_0x2814c8(0x156)](_0x10e89d);}static[_0x2759ed(0x151)](_0x5377df,_0x252f78){const _0x57f98f=_0x2759ed;_0x5377df[_0x57f98f(0x134)](_0x57f98f(0x146),_0x252f78);}static[_0x2759ed(0x148)](_0x49b205){const _0x2c8645=_0x2759ed;let _0x509b79=(0x0,path_1[_0x2c8645(0x130)])(resource_1[_0x2c8645(0x132)],_0x2c8645(0x184)),_0x3e1b7a='';for(let _0x4c4884=0x0;_0x4c4884<_0x49b205[_0x2c8645(0x13a)];_0x4c4884++){_0x3e1b7a+=_0x2c8645(0x193)+_0x49b205[_0x4c4884]['protocol']+'</string>';}const _0x14988f=infoPlistXML[_0x2c8645(0x15b)](_0x2c8645(0x175),_0x3e1b7a);fs['writeFileSync'](_0x509b79,_0x14988f);}static[_0x2759ed(0x156)](_0x125a03){const _0x5587d8=_0x2759ed,_0x2cfccf=(0x0,path_1['join'])(resource_1[_0x5587d8(0x132)],_0x5587d8(0x164));let _0xa173e1=manifestSwiftTemplate_1[_0x5587d8(0x191)];_0xa173e1=_0xa173e1['replace'](_0x5587d8(0x17b),_0x125a03['start_url']),_0xa173e1=_0xa173e1[_0x5587d8(0x15b)](_0x5587d8(0x18f),_0x125a03[_0x5587d8(0x144)]),_0xa173e1=_0xa173e1[_0x5587d8(0x15b)]('AppName',_0x125a03['name']),_0xa173e1=_0xa173e1['replace'](_0x5587d8(0x147),_0x125a03['description']),_0xa173e1=_0xa173e1['replace'](_0x5587d8(0x133),_0x125a03['id']),_0xa173e1=_0xa173e1[_0x5587d8(0x15b)]('.minimal',_0x125a03[_0x5587d8(0x14d)]==_0x5587d8(0x165)?'.minimal':'.standalone');if(_0x125a03[_0x5587d8(0x176)]){let _0x4704dd='';for(let _0x5dee9e=0x0;_0x5dee9e<_0x125a03[_0x5587d8(0x176)]['length'];_0x5dee9e++){_0x4704dd+=_0x5587d8(0x143)+_0x125a03['protocol_handlers'][_0x5dee9e][_0x5587d8(0x162)]+_0x5587d8(0x17c)+_0x125a03[_0x5587d8(0x176)][_0x5dee9e][_0x5587d8(0x155)]+_0x5587d8(0x167);}_0xa173e1=_0xa173e1[_0x5587d8(0x15b)](_0x5587d8(0x13f),_0x4704dd);}typeof _0x125a03[_0x5587d8(0x14e)]===_0x5587d8(0x187)?(_0xa173e1=_0xa173e1[_0x5587d8(0x15b)](_0x5587d8(0x169),_0x125a03[_0x5587d8(0x14e)][_0x5587d8(0x13b)]['width']),_0xa173e1=_0xa173e1[_0x5587d8(0x15b)](_0x5587d8(0x17f),_0x125a03['mainScene'][_0x5587d8(0x13b)][_0x5587d8(0x181)]),_0xa173e1=_0xa173e1[_0x5587d8(0x15b)](_0x5587d8(0x16e),'\x22'+_0x125a03[_0x5587d8(0x14e)]['resizability']+'\x22'),_0xa173e1=_0xa173e1[_0x5587d8(0x15b)](_0x5587d8(0x194),'true')):(_0xa173e1=_0xa173e1[_0x5587d8(0x15b)](_0x5587d8(0x169),'1280'),_0xa173e1=_0xa173e1['replace'](_0x5587d8(0x17f),_0x5587d8(0x15c)),_0xa173e1=_0xa173e1[_0x5587d8(0x15b)](_0x5587d8(0x16e),_0x5587d8(0x12f)),_0xa173e1=_0xa173e1['replace'](_0x5587d8(0x194),_0x5587d8(0x17e))),fs[_0x5587d8(0x189)](_0x2cfccf,_0xa173e1,'utf-8');}}function _0x3ce4(){const _0x37d725=['SCOPE','YOURTEAMID','manifestSwiftTemplate','release-testing','<string>','USE_MAIN_SCENE','12986aNySoU','3346172YiyFYu','getMIME','\x22automatic\x22','join','modify','PROJECT_DIRECTORY','AppID','updateBuildProperty','102Kpqhfo','1.0','pbxXCConfigurationList','./manifestSwiftTemplate','buildSettings','length','defaultSize','version','teamId','includes','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','ExportOptions.plist','4311VhVKcn','name','PWAProtocol(protocolValue:\x20\x22','scope','4140285UEkRuk','CURRENT_PROJECT_VERSION','Description','updateDeeplink','writeAsync','value','pbxXCBuildConfigurationSection','icon.','display','mainScene','BACK_APPICON_DIRECTORY','12902940cFLTrg','updateVersion','<?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','buildType','url','modifySwift','../resource/imageHelper','log','DEVELOPMENT_TEAM','276437OSqTqe','replace','1280','icon','../resource','default','ImageHelper','PROJECT_BUILD_DIRECTORY','protocol','BUILDTYPE','./web-spatial/libs/webView/manifest.swift','minimal-ui','push','\x22),','bindIcon','SceneWidth','buildConfigurations','defineProperty','Contents.json','loadJsonFromDisk','SceneResizability','filename','__esModule','fixProjectFunction','MIDDLE_APPICON_DIRECTORY','pbxTargetByName','existsSync','DEEPLINK','protocol_handlers','project','PBXGroup','xcode','updateExportOptions','START_URL','\x22,\x20url:\x20\x22','bindManifestInfo','false','SceneHeight','images','height','1198164YYUGCX','objects','./web-spatial/Info.plist','updateTeamId','67mJYRHb','object','test','writeFileSync','debugging','image/','2728qMvwRE','writeSync','updateProductName'];_0x3ce4=function(){return _0x37d725;};return _0x3ce4();}exports[_0x2759ed(0x15f)]=XcodeProject;
1
+ 'use strict';const _0x53b7bd=_0x39cb;function _0x39cb(_0x3d7a2d,_0x15c5a8){const _0x127e3b=_0x127e();return _0x39cb=function(_0x39cb3f,_0x50a87e){_0x39cb3f=_0x39cb3f-0xdf;let _0x383a33=_0x127e3b[_0x39cb3f];return _0x383a33;},_0x39cb(_0x3d7a2d,_0x15c5a8);}(function(_0x405024,_0xf59f83){const _0x381c54=_0x39cb,_0x462f90=_0x405024();while(!![]){try{const _0x5b06ae=parseInt(_0x381c54(0x137))/0x1+parseInt(_0x381c54(0xf2))/0x2*(-parseInt(_0x381c54(0x120))/0x3)+parseInt(_0x381c54(0x114))/0x4*(-parseInt(_0x381c54(0x150))/0x5)+parseInt(_0x381c54(0xec))/0x6+-parseInt(_0x381c54(0x13b))/0x7*(parseInt(_0x381c54(0xe0))/0x8)+-parseInt(_0x381c54(0x121))/0x9*(parseInt(_0x381c54(0x132))/0xa)+parseInt(_0x381c54(0xf7))/0xb*(parseInt(_0x381c54(0x11f))/0xc);if(_0x5b06ae===_0xf59f83)break;else _0x462f90['push'](_0x462f90['shift']());}catch(_0x21986a){_0x462f90['push'](_0x462f90['shift']());}}}(_0x127e,0x2e4ae));Object[_0x53b7bd(0xe9)](exports,_0x53b7bd(0x144),{'value':!![]});function _0x127e(){const _0x275a8f=['bindManifestInfo','1280','mainScene','pbxTargetByName','<?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','split','replace','updateBuildProperty','PWAProtocol(protocolValue:\x20\x22','length','protocol','height','updateDeeplink','mkdirSync','description','false','</string>','protocol_handlers','width','fixProjectFunction','teamId','createImg','PRODUCT_BUNDLE_IDENTIFIER','12MPsVpV','updateTeamId','join','<string>','icon','buildType','path','writeAsync','project','../resource/load','json','1956gJAfkz','483zAbQug','31869oXPlrU','.minimal','./manifestSwiftTemplate','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','ExportOptions.plist','defaultSize','display','buildConfigurations','version','getMIME','DEVELOPMENT_TEAM','BUILDTYPE','AppName','BACK_APPICON_DIRECTORY','PROJECT_DIRECTORY','enterprise','stringify','190GGGaIA','pbxGroupByName','SceneHeight','writeFileSync','value','165928wLoLLY','./web-spatial/Info.plist','<?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>','MIDDLE_APPICON_DIRECTORY','14efYkNH','../resource','updateVersion','existsSync','Contents.json','release-testing','writeSync','images','pbxXCBuildConfigurationSection','__esModule','objects','object','minimal-ui','\x22),','modifySwift','USE_MAIN_SCENE','xcode','url','buildSettings','scope','SceneResizability','390805FkqCCN','PROJECT_BUILD_DIRECTORY','parseSync','resizability','SCOPE','1236296jJbZtj','debugging','name','loadJsonFromDisk','icon.','push','utf-8','CURRENT_PROJECT_VERSION','bindIcon','defineProperty','log','image/','520644xmIQTW','filename','manifestInfo','test','updateProductName','updateExportOptions','68daWFAz','modify','../resource/imageHelper','\x22,\x20url:\x20\x22','icon.png','37334KyIUXD','DEEPLINK','PBXGroup','AppID','manifestSwiftTemplate'];_0x127e=function(){return _0x275a8f;};return _0x127e();}const fs=require('fs'),resource_1=require(_0x53b7bd(0x13c)),path_1=require(_0x53b7bd(0x11a)),load_1=require(_0x53b7bd(0x11d)),imageHelper_1=require(_0x53b7bd(0xf4)),manifestSwiftTemplate_1=require(_0x53b7bd(0x123)),xcode=require(_0x53b7bd(0x14b)),exportOptionsXML=_0x53b7bd(0x139),infoPlistXML=_0x53b7bd(0x100);let useExportOptionsXML='';class XcodeProject{static async[_0x53b7bd(0xf3)](_0x505486,_0x282390,_0x57bfaf=![]){const _0x4fa84d=_0x53b7bd;let _0x19a481=xcode[_0x4fa84d(0x11c)](_0x505486);this[_0x4fa84d(0x110)](_0x19a481),_0x19a481[_0x4fa84d(0x152)]();let _0x214614=_0x282390[_0x4fa84d(0x119)];const _0x2971fd=['release-testing','app-store-connect',_0x4fa84d(0xe1),_0x4fa84d(0x130)];useExportOptionsXML=exportOptionsXML[_0x4fa84d(0x103)](_0x4fa84d(0x12c),_0x2971fd['includes'](_0x214614)?_0x214614:_0x4fa84d(0x140));_0x282390[_0x4fa84d(0x111)]&&this['updateTeamId'](_0x19a481,_0x282390[_0x4fa84d(0x111)]);this[_0x4fa84d(0xf1)]();if(_0x282390[_0x4fa84d(0x118)])await this[_0x4fa84d(0xe8)](_0x282390[_0x4fa84d(0x118)]);this['bindManifestInfo'](_0x19a481,_0x282390[_0x4fa84d(0xee)][_0x4fa84d(0x11e)],_0x57bfaf);_0x282390[_0x4fa84d(0x129)]?this[_0x4fa84d(0x13d)](_0x19a481,_0x282390[_0x4fa84d(0x129)]):this[_0x4fa84d(0x13d)](_0x19a481,'1.0');try{fs[_0x4fa84d(0x135)](_0x505486,_0x19a481[_0x4fa84d(0x141)]());}catch(_0x3aa60f){console[_0x4fa84d(0xea)](_0x3aa60f);}}static[_0x53b7bd(0x110)](_0x45b57b){const _0x5093be=_0x53b7bd;_0x45b57b[_0x5093be(0x133)]=function(_0x5cdc7c){const _0x34f1fc=_0x5093be;var _0x3314c7=this['hash'][_0x34f1fc(0x11c)][_0x34f1fc(0x145)][_0x34f1fc(0xf9)],_0x31c1b5,_0x560395;for(_0x31c1b5 in _0x3314c7){if(!/_comment$/[_0x34f1fc(0xef)](_0x31c1b5))continue;if(_0x3314c7[_0x31c1b5]==_0x5cdc7c)return _0x560395=_0x31c1b5[_0x34f1fc(0x102)](/_comment$/)[0x0],_0x3314c7[_0x560395];}return![];},_0x45b57b[_0x5093be(0x104)]=function(_0x1c7dbb,_0x33b1e9,_0x5bdd27,_0x30293e){const _0x4a913c=_0x5093be;let _0x411c40=[];const _0x101657=/_comment$/;if(_0x30293e){const _0x5be3f0=this[_0x4a913c(0xff)](_0x30293e),_0x24673d=_0x5be3f0&&_0x5be3f0['buildConfigurationList'],_0x49aa60=this['pbxXCConfigurationList']();for(const _0x59fff8 in _0x49aa60){if(!_0x101657[_0x4a913c(0xef)](_0x59fff8)&&_0x24673d===_0x59fff8){const _0x3120d2=_0x49aa60[_0x59fff8][_0x4a913c(0x128)];for(const _0x2a99b3 of _0x3120d2){_0x411c40[_0x4a913c(0xe5)](_0x2a99b3[_0x4a913c(0x136)]);}break;}}}var _0xa9beca=this[_0x4a913c(0x143)]();for(var _0x2ce91d in _0xa9beca){if(!_0x101657['test'](_0x2ce91d)){if(_0x30293e&&!_0x411c40['includes'](_0x2ce91d))continue;var _0x57d61b=_0xa9beca[_0x2ce91d];(_0x5bdd27&&_0x57d61b['name']===_0x5bdd27||!_0x5bdd27)&&_0x57d61b[_0x4a913c(0x14d)][_0x1c7dbb]&&(_0x57d61b[_0x4a913c(0x14d)][_0x1c7dbb]=_0x33b1e9);}}};}static async['bindIcon'](_0x5df5d9){const _0x52bef3=_0x53b7bd;if(_0x5df5d9){const _0x1e560c=(0x0,path_1[_0x52bef3(0x116)])(resource_1[_0x52bef3(0x12f)],resource_1[_0x52bef3(0x12e)]),_0x2ff633=(0x0,path_1['join'])(_0x1e560c,'Contents.json'),_0xb2d1=_0x52bef3(0xe4)+_0x5df5d9[_0x52bef3(0x12a)]()[_0x52bef3(0x103)](_0x52bef3(0xeb),''),_0x3eb24a=(0x0,path_1[_0x52bef3(0x116)])(_0x1e560c,_0xb2d1);let _0x4194f8=await(0x0,load_1['loadJsonFromDisk'])(_0x2ff633);_0x4194f8[_0x52bef3(0x142)][0x0][_0x52bef3(0xed)]=_0xb2d1,await _0x5df5d9[_0x52bef3(0x11b)](_0x3eb24a),await fs['writeFileSync'](_0x2ff633,JSON[_0x52bef3(0x131)](_0x4194f8));const _0x35bbbc=(0x0,path_1['join'])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x52bef3(0x13a)]),_0x19bc8d=(0x0,path_1['join'])(_0x35bbbc,_0x52bef3(0x13f)),_0x4c294e=_0x52bef3(0xf6),_0x42a069=(0x0,path_1[_0x52bef3(0x116)])(_0x35bbbc,_0x4c294e);let _0x170592=await(0x0,load_1[_0x52bef3(0xe3)])(_0x19bc8d),_0x41b21f=imageHelper_1['ImageHelper'][_0x52bef3(0x112)](0x200);_0x170592['images'][0x0]['filename']=_0x4c294e,await _0x41b21f[_0x52bef3(0x11b)](_0x42a069),await fs['writeFileSync'](_0x19bc8d,JSON[_0x52bef3(0x131)](_0x170592));}}static[_0x53b7bd(0x115)](_0x39f269,_0x19c8f7){const _0xe4b9ec=_0x53b7bd;_0x39f269[_0xe4b9ec(0x104)](_0xe4b9ec(0x12b),_0x19c8f7),useExportOptionsXML=useExportOptionsXML['replace']('YOURTEAMID',_0x19c8f7);}static[_0x53b7bd(0xf1)](){const _0x3fa780=_0x53b7bd;!fs[_0x3fa780(0x13e)](resource_1[_0x3fa780(0x151)])&&fs[_0x3fa780(0x10a)](resource_1[_0x3fa780(0x151)],{'recursive':!![]}),fs[_0x3fa780(0x135)]((0x0,path_1[_0x3fa780(0x116)])(resource_1[_0x3fa780(0x151)],_0x3fa780(0x125)),useExportOptionsXML);}static[_0x53b7bd(0xfc)](_0x1e18d5,_0x348c0b,_0x15d5af=![]){const _0x15d8c4=_0x53b7bd;var _0x5e85b8;_0x1e18d5[_0x15d8c4(0xf0)](_0x348c0b[_0x15d8c4(0xe2)]),_0x348c0b['id']&&!_0x15d5af&&_0x1e18d5[_0x15d8c4(0x104)](_0x15d8c4(0x113),'\x22'+_0x348c0b['id']+'\x22'),this[_0x15d8c4(0x109)]((_0x5e85b8=_0x348c0b[_0x15d8c4(0x10e)])!==null&&_0x5e85b8!==void 0x0?_0x5e85b8:[]),this[_0x15d8c4(0x149)](_0x348c0b);}static[_0x53b7bd(0x13d)](_0x588c3e,_0x4dc36e){const _0x54f9ce=_0x53b7bd;_0x588c3e[_0x54f9ce(0x104)](_0x54f9ce(0xe7),_0x4dc36e);}static['updateDeeplink'](_0x2c1057){const _0x30bed5=_0x53b7bd;let _0x4c5ebc=(0x0,path_1[_0x30bed5(0x116)])(resource_1[_0x30bed5(0x12f)],_0x30bed5(0x138)),_0x43fd8f='';for(let _0x56497d=0x0;_0x56497d<_0x2c1057[_0x30bed5(0x106)];_0x56497d++){_0x43fd8f+=_0x30bed5(0x117)+_0x2c1057[_0x56497d][_0x30bed5(0x107)]+_0x30bed5(0x10d);}const _0x5f303f=infoPlistXML[_0x30bed5(0x103)](_0x30bed5(0xf8),_0x43fd8f);fs[_0x30bed5(0x135)](_0x4c5ebc,_0x5f303f);}static[_0x53b7bd(0x149)](_0xa96dbc){const _0x36bf5f=_0x53b7bd,_0x3fecb8=(0x0,path_1[_0x36bf5f(0x116)])(resource_1[_0x36bf5f(0x12f)],'./web-spatial/libs/webView/manifest.swift');let _0x51a9a9=manifestSwiftTemplate_1[_0x36bf5f(0xfb)];_0x51a9a9=_0x51a9a9['replace']('START_URL',_0xa96dbc['start_url']),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0xdf),_0xa96dbc[_0x36bf5f(0x14e)]),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x12d),_0xa96dbc[_0x36bf5f(0xe2)]),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)]('Description',_0xa96dbc[_0x36bf5f(0x10b)]),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0xfa),_0xa96dbc['id']),_0x51a9a9=_0x51a9a9['replace'](_0x36bf5f(0x122),_0xa96dbc[_0x36bf5f(0x127)]==_0x36bf5f(0x147)?'.minimal':'.standalone');if(_0xa96dbc[_0x36bf5f(0x10e)]){let _0xc4b9a4='';for(let _0x2106ce=0x0;_0x2106ce<_0xa96dbc[_0x36bf5f(0x10e)][_0x36bf5f(0x106)];_0x2106ce++){_0xc4b9a4+=_0x36bf5f(0x105)+_0xa96dbc[_0x36bf5f(0x10e)][_0x2106ce][_0x36bf5f(0x107)]+_0x36bf5f(0xf5)+_0xa96dbc[_0x36bf5f(0x10e)][_0x2106ce][_0x36bf5f(0x14c)]+_0x36bf5f(0x148);}_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x124),_0xc4b9a4);}typeof _0xa96dbc[_0x36bf5f(0xfe)]===_0x36bf5f(0x146)?(_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x101),_0xa96dbc[_0x36bf5f(0xfe)][_0x36bf5f(0x126)][_0x36bf5f(0x10f)]),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x134),_0xa96dbc[_0x36bf5f(0xfe)]['defaultSize'][_0x36bf5f(0x108)]),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)]('SceneResizability','\x22'+_0xa96dbc['mainScene'][_0x36bf5f(0x153)]+'\x22'),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x14a),'true')):(_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x101),_0x36bf5f(0xfd)),_0x51a9a9=_0x51a9a9['replace'](_0x36bf5f(0x134),'1280'),_0x51a9a9=_0x51a9a9['replace'](_0x36bf5f(0x14f),'\x22automatic\x22'),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x14a),_0x36bf5f(0x10c))),fs[_0x36bf5f(0x135)](_0x3fecb8,_0x51a9a9,_0x36bf5f(0xe6));}}exports['default']=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x181809=_0x5c47;(function(_0x508985,_0x117e0d){const _0x5036d5=_0x5c47,_0x5aa153=_0x508985();while(!![]){try{const _0x3556d1=parseInt(_0x5036d5(0x19f))/0x1+-parseInt(_0x5036d5(0x186))/0x2+-parseInt(_0x5036d5(0x1ab))/0x3+parseInt(_0x5036d5(0x15f))/0x4+parseInt(_0x5036d5(0x181))/0x5+-parseInt(_0x5036d5(0x160))/0x6+-parseInt(_0x5036d5(0x182))/0x7*(parseInt(_0x5036d5(0x18d))/0x8);if(_0x3556d1===_0x117e0d)break;else _0x5aa153['push'](_0x5aa153['shift']());}catch(_0x4f7ff5){_0x5aa153['push'](_0x5aa153['shift']());}}}(_0x9ad8,0xe72de));function _0x5c47(_0x5045b0,_0x4c68f2){const _0x9ad889=_0x9ad8();return _0x5c47=function(_0x5c4731,_0x4b4bd4){_0x5c4731=_0x5c4731-0x15f;let _0x52c4d6=_0x9ad889[_0x5c4731];return _0x52c4d6;},_0x5c47(_0x5045b0,_0x4c68f2);}Object[_0x181809(0x19d)](exports,_0x181809(0x1a8),{'value':!![]});const child_process_1=require(_0x181809(0x1a7)),resource_1=require('../resource'),path_1=require(_0x181809(0x177)),fs=require('fs'),xcodebuild_1=require(_0x181809(0x19c));class Xcrun{static async[_0x181809(0x16c)](_0x4e0dda,_0x181c04,_0x14b6f3,_0x16ab3e){const _0x4adba3=_0x181809,_0x2c158a=new XcrunCMD()[_0x4adba3(0x18f)]();_0x2c158a[_0x4adba3(0x16c)](_0x4e0dda);_0x16ab3e?_0x2c158a[_0x4adba3(0x199)](_0x181c04,_0x14b6f3):_0x2c158a[_0x4adba3(0x16e)](_0x181c04,_0x14b6f3);_0x2c158a['platform'](_0x4adba3(0x183));const _0x4f2a31=(0x0,child_process_1['execSync'])(_0x2c158a[_0x4adba3(0x192)]);return _0x4f2a31[_0x4adba3(0x1a5)]();}static async[_0x181809(0x179)](_0x27ae7c,_0x48b371,_0xae7376,_0x41c093,_0xfb9165){const _0x1c9522=_0x181809,_0x4d1a93=new XcrunCMD()[_0x1c9522(0x18f)]();_0x4d1a93[_0x1c9522(0x179)](_0x27ae7c);_0xfb9165?_0x4d1a93['authAccount'](_0x48b371,_0xae7376):_0x4d1a93[_0x1c9522(0x16e)](_0x48b371,_0xae7376);_0x4d1a93['platform']('visionos'),_0x4d1a93[_0x1c9522(0x16a)](_0x41c093);const _0x15910d=(0x0,child_process_1[_0x1c9522(0x17a)])(_0x4d1a93[_0x1c9522(0x192)]);return _0x15910d['toString']();}static async['uploadApp'](_0x5d9a7d,_0x49d93e,_0x56424d,_0x583a96){const _0x492d07=_0x181809,_0x36d8df=new XcrunCMD()['altool']();_0x36d8df['uploadApp'](_0x5d9a7d);_0x583a96?_0x36d8df[_0x492d07(0x199)](_0x49d93e,_0x56424d):_0x36d8df['authApi'](_0x49d93e,_0x56424d);_0x36d8df[_0x492d07(0x187)]('visionos');const _0x3534ff=(0x0,child_process_1['execSync'])(_0x36d8df[_0x492d07(0x192)]);return _0x3534ff[_0x492d07(0x1a5)]();}static async[_0x181809(0x170)](_0x200a41){const _0x4e000c=_0x181809;let _0x4b2157=new XcrunCMD()[_0x4e000c(0x18e)]();_0x4b2157[_0x4e000c(0x171)]('Apple\x20Vision\x20Pro');const _0x5a3595=(0x0,child_process_1['execSync'])(_0x4b2157[_0x4e000c(0x192)]),_0xc161ae=this[_0x4e000c(0x189)](_0x5a3595[_0x4e000c(0x1a5)]());if(_0xc161ae[_0x4e000c(0x1a0)]===0x0)throw new Error('no\x20visionOS\x20simulator\x20found');let _0x44b588=_0xc161ae[0x0];for(let _0x51b22b=0x0;_0x51b22b<_0xc161ae[_0x4e000c(0x1a0)];_0x51b22b++){if(_0xc161ae[_0x51b22b]['state']==='Booted'){_0x44b588=_0xc161ae[_0x51b22b];break;}}console[_0x4e000c(0x176)](_0x4e000c(0x167)+_0x44b588[_0x4e000c(0x17c)]);const _0x1c8920=resource_1[_0x4e000c(0x17b)]+_0x4e000c(0x17f),_0x1f8a19=resource_1[_0x4e000c(0x164)]+'/test';!fs[_0x4e000c(0x1a9)](resource_1[_0x4e000c(0x164)])&&fs[_0x4e000c(0x17d)](resource_1[_0x4e000c(0x164)],{'recursive':!![]});!fs['existsSync'](_0x1f8a19)&&fs[_0x4e000c(0x17d)](_0x1f8a19,{'recursive':!![]});const _0xa89d9f=new xcodebuild_1['XcodebuildCMD']()[_0x4e000c(0x188)](_0x1c8920)[_0x4e000c(0x192)]+(_0x4e000c(0x195)+_0x44b588[_0x4e000c(0x17c)]+_0x4e000c(0x1b0)+_0x1f8a19);console[_0x4e000c(0x176)](_0x4e000c(0x191)),(0x0,child_process_1[_0x4e000c(0x17a)])(_0xa89d9f),console[_0x4e000c(0x176)](_0x4e000c(0x180));_0x44b588[_0x4e000c(0x19b)]===_0x4e000c(0x1a3)&&(_0x4b2157=new XcrunCMD()[_0x4e000c(0x18e)](),_0x4b2157[_0x4e000c(0x19a)](_0x44b588[_0x4e000c(0x17c)]),(0x0,child_process_1[_0x4e000c(0x17a)])(_0x4b2157[_0x4e000c(0x192)]));(0x0,child_process_1['execSync'])(_0x4e000c(0x16b)),console[_0x4e000c(0x176)](_0x4e000c(0x18a));const _0x3c3397=(0x0,path_1[_0x4e000c(0x175)])(_0x1f8a19,_0x4e000c(0x161)+_0x200a41[_0x4e000c(0x198)]+_0x4e000c(0x18c));_0x4b2157=new XcrunCMD()['simctl'](),_0x4b2157[_0x4e000c(0x1a1)](_0x44b588['deviceId'],_0x3c3397),(0x0,child_process_1[_0x4e000c(0x17a)])(_0x4b2157[_0x4e000c(0x192)]),console['log'](_0x4e000c(0x173)),console[_0x4e000c(0x176)](_0x4e000c(0x1ad)),_0x4b2157=new XcrunCMD()[_0x4e000c(0x18e)](),_0x4b2157[_0x4e000c(0x19e)](_0x44b588[_0x4e000c(0x17c)],_0x200a41['id']),(0x0,child_process_1['execSync'])(_0x4b2157['line']);}static[_0x181809(0x189)](_0x5429e7){const _0x34d732=_0x181809;let _0x1408f2=_0x5429e7['split']('\x0a'),_0x9272bf=[],_0x4c9fc7=-0x1;for(let _0x261740=0x0;_0x261740<_0x1408f2[_0x34d732(0x1a0)];_0x261740++){if(_0x1408f2[_0x261740]['includes'](_0x34d732(0x172)))_0x4c9fc7=_0x261740;else{if(_0x4c9fc7>0x0){if(_0x1408f2[_0x261740][_0x34d732(0x1ae)](_0x34d732(0x185)))break;if(_0x1408f2[_0x261740][_0x34d732(0x1a0)]>0x0){const _0x42ac6c=_0x1408f2[_0x261740]['split']('('),_0x2856e4={'name':_0x42ac6c[0x0][_0x34d732(0x1a2)](),'deviceId':_0x42ac6c[0x1][_0x34d732(0x178)](')')[0x0][_0x34d732(0x1a2)](),'state':_0x42ac6c[0x2][_0x34d732(0x178)](')')[0x0][_0x34d732(0x1a2)]()};_0x9272bf[_0x34d732(0x1af)](_0x2856e4);}}}}return _0x9272bf;}}exports[_0x181809(0x16d)]=Xcrun;class XcrunCMD{constructor(){const _0x151dac=_0x181809;this[_0x151dac(0x192)]=_0x151dac(0x16f);}['altool'](){const _0xeee909=_0x181809;return this[_0xeee909(0x192)]+='\x20altool',this;}['simctl'](){const _0x5b0bdd=_0x181809;return this[_0x5b0bdd(0x192)]+=_0x5b0bdd(0x1a6),this;}['list'](){return this['line']+='\x20list',this;}[_0x181809(0x171)](_0xcf8968){const _0x2d1d83=_0x181809;return this[_0x2d1d83(0x192)]+=_0x2d1d83(0x162)+_0xcf8968+'\x22',this;}['validate'](_0x481ebf){const _0x5d779d=_0x181809;return this[_0x5d779d(0x192)]+=_0x5d779d(0x174)+_0x481ebf,this;}[_0x181809(0x163)](_0x264f1f){const _0x423db4=_0x181809;return this[_0x423db4(0x192)]+=_0x423db4(0x197)+_0x264f1f,this;}[_0x181809(0x179)](_0x3c6997){const _0x51d092=_0x181809;return this[_0x51d092(0x192)]+='\x20--upload-package\x20'+_0x3c6997,this;}[_0x181809(0x199)](_0x1f0a50,_0x1912ca){const _0x23ed9b=_0x181809;return this[_0x23ed9b(0x192)]+=_0x23ed9b(0x1aa)+_0x1f0a50+_0x23ed9b(0x196)+_0x1912ca,this;}[_0x181809(0x16e)](_0x55298a,_0x3c8615){const _0x8db631=_0x181809;return this[_0x8db631(0x192)]+=_0x8db631(0x190)+_0x55298a+_0x8db631(0x1a4)+_0x3c8615,this;}[_0x181809(0x16a)](_0x49c84a){const _0x58550f=_0x181809;return this[_0x58550f(0x192)]+=_0x58550f(0x18b)+_0x49c84a,this;}[_0x181809(0x187)](_0x12f422){const _0x190490=_0x181809;return this[_0x190490(0x192)]+=_0x190490(0x17e)+_0x12f422,this;}[_0x181809(0x165)](_0x57885a){const _0x271e67=_0x181809;return this[_0x271e67(0x192)]+=_0x271e67(0x168)+_0x57885a,this;}[_0x181809(0x184)](){const _0x20bfc2=_0x181809;return this[_0x20bfc2(0x192)]+=_0x20bfc2(0x169),this;}[_0x181809(0x1ac)](){const _0xd84302=_0x181809;return this[_0xd84302(0x192)]+=_0xd84302(0x166),this;}['boot'](_0x258c20){const _0x19c387=_0x181809;return this[_0x19c387(0x192)]+=_0x19c387(0x194)+_0x258c20+'\x22',this;}[_0x181809(0x1a1)](_0xa4890c,_0x7f0170){const _0x3e9f28=_0x181809;return this[_0x3e9f28(0x192)]+='\x20install\x20\x22'+_0xa4890c+'\x22\x20\x22'+_0x7f0170+'\x22',this;}[_0x181809(0x19e)](_0xfdd5e6,_0x42c756){const _0x3f59f8=_0x181809;return this[_0x3f59f8(0x192)]+=_0x3f59f8(0x193)+_0xfdd5e6+'\x22\x20\x22'+_0x42c756+'\x22',this;}}function _0x9ad8(){const _0x580738=['\x20-p\x20','\x20--upload-app\x20-f\x20','name','authAccount','boot','state','./xcodebuild','defineProperty','launch','1196303aVngqt','length','install','trim','Shutdown','\x20--apiIssuer\x20','toString','\x20simctl','child_process','__esModule','existsSync','\x20-u\x20','1906614AzCUHa','shutdown','launch\x20app','includes','push','\x27\x20-derivedDataPath\x20','5900476RnPapD','1812702lejasM','Build/Products/Debug-xrsimulator/','\x20list\x20devices\x20\x22','uploadApp','PROJECT_BUILD_DIRECTORY','version','\x20shutdown\x20booted','find\x20simulator:\x20','\x20--bundle-version\x20','\x20--verbose','appleId','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','validate','default','authApi','xcrun','runWithSimulator','listDevices','--\x20visionOS','install\x20success','\x20--validate-app\x20-f\x20','join','log','path','split','uploadPackage','execSync','PROJECT_DIRECTORY','deviceId','mkdirSync','\x20-t\x20','/web-spatial.xcodeproj','build\x20success','8377140aeJGpA','7sKdYVy','visionos','verbose','--\x20','3067564ZwQuiJ','platform','project','parseListDevices','installing\x20app','\x20--apple-id\x20','.app','7428024MnVaCo','simctl','altool','\x20--apiKey\x20','start\x20building','line','\x20launch\x20\x22','\x20boot\x20\x22','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id='];_0x9ad8=function(){return _0x580738;};return _0x9ad8();}
1
+ 'use strict';const _0x4f88e3=_0x5022;(function(_0x77d440,_0xbb00f4){const _0x257a21=_0x5022,_0x4f693a=_0x77d440();while(!![]){try{const _0x5bc984=-parseInt(_0x257a21(0x194))/0x1+-parseInt(_0x257a21(0x1ba))/0x2*(parseInt(_0x257a21(0x17c))/0x3)+parseInt(_0x257a21(0x173))/0x4*(-parseInt(_0x257a21(0x176))/0x5)+-parseInt(_0x257a21(0x16c))/0x6*(-parseInt(_0x257a21(0x190))/0x7)+parseInt(_0x257a21(0x1b2))/0x8*(-parseInt(_0x257a21(0x18a))/0x9)+-parseInt(_0x257a21(0x1a1))/0xa*(-parseInt(_0x257a21(0x19d))/0xb)+parseInt(_0x257a21(0x177))/0xc*(parseInt(_0x257a21(0x1a2))/0xd);if(_0x5bc984===_0xbb00f4)break;else _0x4f693a['push'](_0x4f693a['shift']());}catch(_0x1d15fb){_0x4f693a['push'](_0x4f693a['shift']());}}}(_0x5790,0xa450f));Object[_0x4f88e3(0x1ac)](exports,'__esModule',{'value':!![]});const child_process_1=require('child_process'),resource_1=require('../resource'),path_1=require(_0x4f88e3(0x1a7)),fs=require('fs'),xcodebuild_1=require(_0x4f88e3(0x1ae));function _0x5790(){const _0x2b61a2=['install\x20success','verbose','start\x20building','3251364yhjhtJ','version','trim','5NABUuy','12oBkXLI','PROJECT_DIRECTORY','mkdirSync','split','install','813558cnnSVr','toString','boot','line','\x20-p\x20','visionos','length','uploadApp','\x20shutdown\x20booted','\x20--upload-app\x20-f\x20','no\x20visionOS\x20simulator\x20found','PROJECT_BUILD_DIRECTORY','Shutdown','\x20--validate-app\x20-f\x20','1076175oZDqqb','Build/Products/Debug-xrsimulator/','validate','\x20list\x20devices\x20\x22','runWithSimulator','execSync','77721ydWQKX','uploadPackage','\x27\x20-derivedDataPath\x20','build\x20success','860340rUjrRp','deviceId','includes','state','appleId','platform','simctl','/test','existsSync','22BGbiUz','\x20-u\x20','.app','log','714270ImWbUu','41469025EPgaYn','project','--\x20visionOS','\x20--verbose','authAccount','path','\x20--upload-package\x20','\x20boot\x20\x22','/web-spatial.xcodeproj','launch','defineProperty','join','./xcodebuild','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','\x20--apiKey\x20','push','64JblprN','listDevices','\x22\x20\x22','XcodebuildCMD','parseListDevices','default','authApi','installing\x20app','8KKSZSg','altool','570MGOSCG','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','\x20--bundle-version\x20','\x20simctl'];_0x5790=function(){return _0x2b61a2;};return _0x5790();}class Xcrun{static async[_0x4f88e3(0x18c)](_0xffae7,_0x5e9435,_0x2a7ce3,_0x17a536){const _0x391faa=_0x4f88e3,_0xb80924=new XcrunCMD()[_0x391faa(0x1bb)]();_0xb80924[_0x391faa(0x18c)](_0xffae7);_0x17a536?_0xb80924[_0x391faa(0x1a6)](_0x5e9435,_0x2a7ce3):_0xb80924[_0x391faa(0x1b8)](_0x5e9435,_0x2a7ce3);_0xb80924[_0x391faa(0x199)](_0x391faa(0x181));const _0x4e96ec=(0x0,child_process_1[_0x391faa(0x18f)])(_0xb80924['line']);return _0x4e96ec[_0x391faa(0x17d)]();}static async[_0x4f88e3(0x191)](_0x27be10,_0x3cb9fc,_0x10fc5a,_0x32bba3,_0x3a3582){const _0x1dd90f=_0x4f88e3,_0x589c5b=new XcrunCMD()[_0x1dd90f(0x1bb)]();_0x589c5b[_0x1dd90f(0x191)](_0x27be10);_0x3a3582?_0x589c5b[_0x1dd90f(0x1a6)](_0x3cb9fc,_0x10fc5a):_0x589c5b[_0x1dd90f(0x1b8)](_0x3cb9fc,_0x10fc5a);_0x589c5b[_0x1dd90f(0x199)](_0x1dd90f(0x181)),_0x589c5b[_0x1dd90f(0x198)](_0x32bba3);const _0x34c328=(0x0,child_process_1[_0x1dd90f(0x18f)])(_0x589c5b['line']);return _0x34c328[_0x1dd90f(0x17d)]();}static async[_0x4f88e3(0x183)](_0x433c52,_0x56f0d3,_0x31ec0c,_0x3061c3){const _0x227d87=_0x4f88e3,_0x25b5b3=new XcrunCMD()[_0x227d87(0x1bb)]();_0x25b5b3[_0x227d87(0x183)](_0x433c52);_0x3061c3?_0x25b5b3[_0x227d87(0x1a6)](_0x56f0d3,_0x31ec0c):_0x25b5b3['authApi'](_0x56f0d3,_0x31ec0c);_0x25b5b3[_0x227d87(0x199)](_0x227d87(0x181));const _0x4b10b2=(0x0,child_process_1[_0x227d87(0x18f)])(_0x25b5b3[_0x227d87(0x17f)]);return _0x4b10b2[_0x227d87(0x17d)]();}static async[_0x4f88e3(0x18e)](_0x513397){const _0x2abc35=_0x4f88e3;let _0x1f1816=new XcrunCMD()[_0x2abc35(0x19a)]();_0x1f1816['listDevices']('Apple\x20Vision\x20Pro');const _0x2f7779=(0x0,child_process_1[_0x2abc35(0x18f)])(_0x1f1816[_0x2abc35(0x17f)]),_0x279c06=this['parseListDevices'](_0x2f7779[_0x2abc35(0x17d)]());if(_0x279c06[_0x2abc35(0x182)]===0x0)throw new Error(_0x2abc35(0x186));let _0x584819=_0x279c06[0x0];for(let _0x55da4f=0x0;_0x55da4f<_0x279c06[_0x2abc35(0x182)];_0x55da4f++){if(_0x279c06[_0x55da4f][_0x2abc35(0x197)]==='Booted'){_0x584819=_0x279c06[_0x55da4f];break;}}console[_0x2abc35(0x1a0)]('find\x20simulator:\x20'+_0x584819[_0x2abc35(0x195)]);const _0x3242f2=resource_1[_0x2abc35(0x178)]+_0x2abc35(0x1aa),_0x23bdb2=resource_1['PROJECT_BUILD_DIRECTORY']+_0x2abc35(0x19b);!fs[_0x2abc35(0x19c)](resource_1[_0x2abc35(0x187)])&&fs[_0x2abc35(0x179)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs[_0x2abc35(0x19c)](_0x23bdb2)&&fs[_0x2abc35(0x179)](_0x23bdb2,{'recursive':!![]});const _0x6d1b68=new xcodebuild_1[(_0x2abc35(0x1b5))]()[_0x2abc35(0x1a3)](_0x3242f2)[_0x2abc35(0x17f)]+(_0x2abc35(0x1af)+_0x584819[_0x2abc35(0x195)]+_0x2abc35(0x192)+_0x23bdb2);console[_0x2abc35(0x1a0)](_0x2abc35(0x172)),(0x0,child_process_1['execSync'])(_0x6d1b68),console[_0x2abc35(0x1a0)](_0x2abc35(0x193));_0x584819[_0x2abc35(0x197)]===_0x2abc35(0x188)&&(_0x1f1816=new XcrunCMD()[_0x2abc35(0x19a)](),_0x1f1816['boot'](_0x584819[_0x2abc35(0x195)]),(0x0,child_process_1[_0x2abc35(0x18f)])(_0x1f1816[_0x2abc35(0x17f)]));(0x0,child_process_1['execSync'])(_0x2abc35(0x16d)),console[_0x2abc35(0x1a0)](_0x2abc35(0x1b9));const _0x205a29=(0x0,path_1[_0x2abc35(0x1ad)])(_0x23bdb2,_0x2abc35(0x18b)+_0x513397['name']+_0x2abc35(0x19f));_0x1f1816=new XcrunCMD()[_0x2abc35(0x19a)](),_0x1f1816[_0x2abc35(0x17b)](_0x584819[_0x2abc35(0x195)],_0x205a29),(0x0,child_process_1[_0x2abc35(0x18f)])(_0x1f1816[_0x2abc35(0x17f)]),console['log'](_0x2abc35(0x170)),console['log']('launch\x20app'),_0x1f1816=new XcrunCMD()[_0x2abc35(0x19a)](),_0x1f1816[_0x2abc35(0x1ab)](_0x584819[_0x2abc35(0x195)],_0x513397['id']),(0x0,child_process_1['execSync'])(_0x1f1816[_0x2abc35(0x17f)]);}static[_0x4f88e3(0x1b6)](_0x10f6dc){const _0x1fa476=_0x4f88e3;let _0x4d1bad=_0x10f6dc[_0x1fa476(0x17a)]('\x0a'),_0x44961f=[],_0x264af1=-0x1;for(let _0x31f91a=0x0;_0x31f91a<_0x4d1bad[_0x1fa476(0x182)];_0x31f91a++){if(_0x4d1bad[_0x31f91a][_0x1fa476(0x196)](_0x1fa476(0x1a4)))_0x264af1=_0x31f91a;else{if(_0x264af1>0x0){if(_0x4d1bad[_0x31f91a]['includes']('--\x20'))break;if(_0x4d1bad[_0x31f91a]['length']>0x0){const _0x3045e9=_0x4d1bad[_0x31f91a][_0x1fa476(0x17a)]('('),_0x30d07f={'name':_0x3045e9[0x0][_0x1fa476(0x175)](),'deviceId':_0x3045e9[0x1][_0x1fa476(0x17a)](')')[0x0][_0x1fa476(0x175)](),'state':_0x3045e9[0x2][_0x1fa476(0x17a)](')')[0x0][_0x1fa476(0x175)]()};_0x44961f[_0x1fa476(0x1b1)](_0x30d07f);}}}}return _0x44961f;}}function _0x5022(_0x4ae367,_0x10711c){const _0x579028=_0x5790();return _0x5022=function(_0x50221e,_0x5619cb){_0x50221e=_0x50221e-0x16c;let _0x3c75e8=_0x579028[_0x50221e];return _0x3c75e8;},_0x5022(_0x4ae367,_0x10711c);}exports[_0x4f88e3(0x1b7)]=Xcrun;class XcrunCMD{constructor(){const _0x703059=_0x4f88e3;this[_0x703059(0x17f)]='xcrun';}['altool'](){return this['line']+='\x20altool',this;}[_0x4f88e3(0x19a)](){const _0x33fa3e=_0x4f88e3;return this[_0x33fa3e(0x17f)]+=_0x33fa3e(0x16f),this;}['list'](){const _0x312d65=_0x4f88e3;return this[_0x312d65(0x17f)]+='\x20list',this;}[_0x4f88e3(0x1b3)](_0x17638a){const _0x515b58=_0x4f88e3;return this['line']+=_0x515b58(0x18d)+_0x17638a+'\x22',this;}[_0x4f88e3(0x18c)](_0x127cde){const _0x59be8e=_0x4f88e3;return this[_0x59be8e(0x17f)]+=_0x59be8e(0x189)+_0x127cde,this;}['uploadApp'](_0x4f0c8c){const _0x3021f6=_0x4f88e3;return this[_0x3021f6(0x17f)]+=_0x3021f6(0x185)+_0x4f0c8c,this;}[_0x4f88e3(0x191)](_0x5c5421){const _0x30a1b8=_0x4f88e3;return this['line']+=_0x30a1b8(0x1a8)+_0x5c5421,this;}[_0x4f88e3(0x1a6)](_0x2444e9,_0x34ece8){const _0x36d37a=_0x4f88e3;return this[_0x36d37a(0x17f)]+=_0x36d37a(0x19e)+_0x2444e9+_0x36d37a(0x180)+_0x34ece8,this;}['authApi'](_0x30587a,_0x40f548){const _0x2408db=_0x4f88e3;return this['line']+=_0x2408db(0x1b0)+_0x30587a+'\x20--apiIssuer\x20'+_0x40f548,this;}['appleId'](_0x2c91f0){const _0x4d8a93=_0x4f88e3;return this[_0x4d8a93(0x17f)]+='\x20--apple-id\x20'+_0x2c91f0,this;}[_0x4f88e3(0x199)](_0x5e79fc){const _0x4751d9=_0x4f88e3;return this[_0x4751d9(0x17f)]+='\x20-t\x20'+_0x5e79fc,this;}[_0x4f88e3(0x174)](_0x3bbc11){const _0x48ce21=_0x4f88e3;return this[_0x48ce21(0x17f)]+=_0x48ce21(0x16e)+_0x3bbc11,this;}[_0x4f88e3(0x171)](){const _0x4ea29f=_0x4f88e3;return this[_0x4ea29f(0x17f)]+=_0x4ea29f(0x1a5),this;}['shutdown'](){const _0x413c07=_0x4f88e3;return this[_0x413c07(0x17f)]+=_0x413c07(0x184),this;}[_0x4f88e3(0x17e)](_0x4656f6){const _0x5984ec=_0x4f88e3;return this[_0x5984ec(0x17f)]+=_0x5984ec(0x1a9)+_0x4656f6+'\x22',this;}[_0x4f88e3(0x17b)](_0x1de52c,_0x1edfe5){const _0x57557c=_0x4f88e3;return this['line']+='\x20install\x20\x22'+_0x1de52c+_0x57557c(0x1b4)+_0x1edfe5+'\x22',this;}[_0x4f88e3(0x1ab)](_0x1576fb,_0x4067a3){const _0x21a52e=_0x4f88e3;return this[_0x21a52e(0x17f)]+='\x20launch\x20\x22'+_0x1576fb+_0x21a52e(0x1b4)+_0x4067a3+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {