@webspatial/builder 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x2327(){const _0x527419=['./lib/utils/Log','2PTzRNT','cli','slice','forEach','code','1618325GZMvjD','9336235AhVNRs','3rYkOHY','argv','29331852hGofOJ','153zqIXmp','CustomError','91wIjvnp','11477142XAkIAw','defineProperty','821920FLVXyt','isArray','__esModule','785540PMPHYo','./lib/utils/CustomError','Cli','message','exit','379952ikDfbL'];_0x2327=function(){return _0x527419;};return _0x2327();}const _0x5dd0ce=_0x4b4b;(function(_0x2702cf,_0x4c0413){const _0x2c832a=_0x4b4b,_0x5ca566=_0x2702cf();while(!![]){try{const _0x5bed8c=-parseInt(_0x2c832a(0xd8))/0x1*(parseInt(_0x2c832a(0xec))/0x2)+-parseInt(_0x2c832a(0xda))/0x3*(parseInt(_0x2c832a(0xea))/0x4)+-parseInt(_0x2c832a(0xd9))/0x5+parseInt(_0x2c832a(0xe0))/0x6+-parseInt(_0x2c832a(0xdf))/0x7*(parseInt(_0x2c832a(0xe2))/0x8)+-parseInt(_0x2c832a(0xdd))/0x9*(-parseInt(_0x2c832a(0xe5))/0xa)+parseInt(_0x2c832a(0xdc))/0xb;if(_0x5bed8c===_0x4c0413)break;else _0x5ca566['push'](_0x5ca566['shift']());}catch(_0x5962d5){_0x5ca566['push'](_0x5ca566['shift']());}}}(_0x2327,0xf3ce3));Object[_0x5dd0ce(0xe1)](exports,_0x5dd0ce(0xe4),{'value':!![]});const Cli_1=require('./lib/Cli'),Log_1=require(_0x5dd0ce(0xeb)),CustomError_1=require(_0x5dd0ce(0xe6));function _0x4b4b(_0x55d702,_0x673d79){const _0x2327df=_0x2327();return _0x4b4b=function(_0x4b4b31,_0x281c1b){_0x4b4b31=_0x4b4b31-0xd4;let _0x115ae6=_0x2327df[_0x4b4b31];return _0x115ae6;},_0x4b4b(_0x55d702,_0x673d79);}module['exports']=async()=>{const _0x34f378=_0x5dd0ce,_0x5807b4=new Cli_1[(_0x34f378(0xe7))](),_0x137eec=new Log_1['ConsoleLog'](_0x34f378(0xd4)),_0xa0c7a2=process[_0x34f378(0xdb)][_0x34f378(0xd5)](0x2);let _0x476fec;try{_0x476fec=await _0x5807b4['run'](_0xa0c7a2);}catch(_0x1d043a){if(_0x1d043a instanceof CustomError_1[_0x34f378(0xde)]){const _0x38c0ff=_0x1d043a['customMessage'];Array[_0x34f378(0xe3)](_0x38c0ff)?_0x38c0ff[_0x34f378(0xd6)](_0x329c75=>{const _0x2d683e=_0x34f378;_0x137eec['error'](_0x329c75[_0x2d683e(0xd7)]+':\x20'+_0x329c75[_0x2d683e(0xe8)]);}):_0x137eec['error'](_0x38c0ff['code']+':\x20'+_0x38c0ff[_0x34f378(0xe8)]);}else _0x137eec['error'](_0x1d043a['message']);_0x476fec=![];}!_0x476fec?process[_0x34f378(0xe9)](0x1):process[_0x34f378(0xe9)](0x0);};
1
+ 'use strict';const _0x39fdc5=_0x5de9;(function(_0x5e75a8,_0x4720f6){const _0x539760=_0x5de9,_0x4f1cdd=_0x5e75a8();while(!![]){try{const _0x2661b8=parseInt(_0x539760(0xef))/0x1+parseInt(_0x539760(0xf0))/0x2*(-parseInt(_0x539760(0xf5))/0x3)+parseInt(_0x539760(0xe7))/0x4*(-parseInt(_0x539760(0xee))/0x5)+parseInt(_0x539760(0xfa))/0x6+-parseInt(_0x539760(0xf9))/0x7+parseInt(_0x539760(0xe9))/0x8*(parseInt(_0x539760(0xe5))/0x9)+parseInt(_0x539760(0xfb))/0xa;if(_0x2661b8===_0x4720f6)break;else _0x4f1cdd['push'](_0x4f1cdd['shift']());}catch(_0x2e657f){_0x4f1cdd['push'](_0x4f1cdd['shift']());}}}(_0x5d31,0x18bd1));Object[_0x39fdc5(0xe2)](exports,_0x39fdc5(0xf3),{'value':!![]});const Cli_1=require('./lib/Cli'),Log_1=require(_0x39fdc5(0xe6)),CustomError_1=require(_0x39fdc5(0xeb));function _0x5de9(_0x14bb65,_0x117d2e){const _0x5d3174=_0x5d31();return _0x5de9=function(_0x5de951,_0x4338f1){_0x5de951=_0x5de951-0xe2;let _0x136804=_0x5d3174[_0x5de951];return _0x136804;},_0x5de9(_0x14bb65,_0x117d2e);}module[_0x39fdc5(0xf7)]=async()=>{const _0x402706=_0x39fdc5,_0x85d4d7=new Cli_1[(_0x402706(0xf1))](),_0x998ae3=new Log_1['ConsoleLog'](_0x402706(0xed)),_0x37e64f=process[_0x402706(0xf2)]['slice'](0x2);let _0x39d1df;try{_0x39d1df=await _0x85d4d7[_0x402706(0xe3)](_0x37e64f);}catch(_0x3a253d){if(_0x3a253d instanceof CustomError_1[_0x402706(0xea)]){const _0x28d9d6=_0x3a253d['customMessage'];Array[_0x402706(0xf4)](_0x28d9d6)?_0x28d9d6[_0x402706(0xf6)](_0x59ba2d=>{const _0x2aa396=_0x402706;_0x998ae3['error'](_0x59ba2d[_0x2aa396(0xe4)]+':\x20'+_0x59ba2d[_0x2aa396(0xec)]);}):_0x998ae3[_0x402706(0xf8)](_0x28d9d6[_0x402706(0xe4)]+':\x20'+_0x28d9d6['message']);}else _0x998ae3[_0x402706(0xf8)](_0x3a253d[_0x402706(0xec)]);_0x39d1df=![];}!_0x39d1df?process['exit'](0x1):process[_0x402706(0xe8)](0x0);};function _0x5d31(){const _0x4a7659=['forEach','exports','error','762559KbiSdT','549390WUqzuY','2483700iFGlMD','defineProperty','run','code','9rNjxNx','./lib/utils/Log','324ZaNUWW','exit','394112ounzxe','CustomError','./lib/utils/CustomError','message','cli','10105WlUhHL','18576JUAapA','8oITaKg','Cli','argv','__esModule','isArray','25356MJsfOk'];_0x5d31=function(){return _0x4a7659;};return _0x5d31();}
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x218e61=_0x5c64;(function(_0x5b66f3,_0x8af708){const _0x41a3b8=_0x5c64,_0x43ebb9=_0x5b66f3();while(!![]){try{const _0x596103=parseInt(_0x41a3b8(0x1bd))/0x1+parseInt(_0x41a3b8(0x1c9))/0x2+-parseInt(_0x41a3b8(0x1bb))/0x3+parseInt(_0x41a3b8(0x1be))/0x4*(parseInt(_0x41a3b8(0x1ca))/0x5)+parseInt(_0x41a3b8(0x1b9))/0x6*(-parseInt(_0x41a3b8(0x1ce))/0x7)+-parseInt(_0x41a3b8(0x1cf))/0x8*(parseInt(_0x41a3b8(0x1c1))/0x9)+parseInt(_0x41a3b8(0x1d6))/0xa*(-parseInt(_0x41a3b8(0x1c7))/0xb);if(_0x596103===_0x8af708)break;else _0x43ebb9['push'](_0x43ebb9['shift']());}catch(_0x1737be){_0x43ebb9['push'](_0x43ebb9['shift']());}}}(_0x4c52,0x865d0));Object[_0x218e61(0x1bf)](exports,_0x218e61(0x1b7),{'value':!![]}),exports[_0x218e61(0x1b3)]=void 0x0;const minimist=require(_0x218e61(0x1d7)),semver_1=require(_0x218e61(0x1cb)),FetchUtils_1_1=require(_0x218e61(0x1c4)),help_1=require(_0x218e61(0x1ba)),build_1=require(_0x218e61(0x1b8)),version_1=require(_0x218e61(0x1d4)),fetch_1=require(_0x218e61(0x1c5));class Cli{async[_0x218e61(0x1d1)](_0x157079){const _0xe18fe0=_0x218e61;if((0x0,semver_1[_0xe18fe0(0x1d8)])(process[_0xe18fe0(0x1b6)][_0xe18fe0(0x1c8)])<0xe)throw new Error(_0xe18fe0(0x1c2)+process[_0xe18fe0(0x1b6)][_0xe18fe0(0x1c8)]+'.'+_0xe18fe0(0x1b5));FetchUtils_1_1[_0xe18fe0(0x1d3)][_0xe18fe0(0x1c0)](fetch_1[_0xe18fe0(0x1cc)]),FetchUtils_1_1['fetchUtils'][_0xe18fe0(0x1b4)](fetch_1[_0xe18fe0(0x1d2)]),FetchUtils_1_1[_0xe18fe0(0x1d3)][_0xe18fe0(0x1d5)](fetch_1['decompressResponseBuffer']);const _0x37d186=minimist(_0x157079);let _0x5f565e=undefined;if(_0x37d186['_'][_0xe18fe0(0x1c6)]===0x0){if(_0x37d186[_0xe18fe0(0x1c3)])_0x5f565e=_0xe18fe0(0x1c3);else _0x37d186[_0xe18fe0(0x1cd)]&&(_0x5f565e=_0xe18fe0(0x1cd));}else _0x5f565e=_0x37d186['_'][0x0];!_0x5f565e&&(_0x5f565e=_0xe18fe0(0x1cd));switch(_0x5f565e){case _0xe18fe0(0x1cd):case'h':return await(0x0,help_1[_0xe18fe0(0x1cd)])(_0x37d186);case'build':return await(0x0,build_1[_0xe18fe0(0x1b2)])(_0x37d186);case _0xe18fe0(0x1bc):return await(0x0,build_1['store'])(_0x37d186);case'dev':return await(0x0,build_1['dev'])(_0x37d186);case'version':{return await(0x0,version_1[_0xe18fe0(0x1c3)])();}default:throw new Error('\x22'+_0x5f565e+_0xe18fe0(0x1d0));}}}function _0x4c52(){const _0x4d1a03=['\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','run','downloadFile','fetchUtils','./cmds/version','setDecompressResponseBuffer','95600UNpjXs','minimist','major','start','Cli','setDownloadFile','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','versions','__esModule','./cmds/build','366QMlDgb','./cmds/help','708693jivKSL','publish','499229ddGWcU','172KEAYoS','defineProperty','setFetch','9OFjNmB','Current\x20Node.js\x20version\x20is\x20','version','./utils/FetchUtils-1','./utils/fetch','length','440wgcGKN','node','1422376zofjql','121615XSMhFq','semver','fetch','help','47810HyeCwK','5365544GlAWEW'];_0x4c52=function(){return _0x4d1a03;};return _0x4c52();}function _0x5c64(_0x24dc56,_0x1b567b){const _0x4c527e=_0x4c52();return _0x5c64=function(_0x5c64bc,_0x4730d2){_0x5c64bc=_0x5c64bc-0x1b2;let _0x41c391=_0x4c527e[_0x5c64bc];return _0x41c391;},_0x5c64(_0x24dc56,_0x1b567b);}exports['Cli']=Cli;
1
+ 'use strict';function _0x1b0f(_0x28b971,_0x540f03){const _0x4c105f=_0x4c10();return _0x1b0f=function(_0x1b0f8d,_0x558f6c){_0x1b0f8d=_0x1b0f8d-0x1af;let _0x1434af=_0x4c105f[_0x1b0f8d];return _0x1434af;},_0x1b0f(_0x28b971,_0x540f03);}const _0x231b15=_0x1b0f;(function(_0xacbf70,_0x48ca61){const _0x363fb0=_0x1b0f,_0x43357d=_0xacbf70();while(!![]){try{const _0x43000=parseInt(_0x363fb0(0x1cd))/0x1+-parseInt(_0x363fb0(0x1c7))/0x2+-parseInt(_0x363fb0(0x1c4))/0x3+-parseInt(_0x363fb0(0x1c1))/0x4*(parseInt(_0x363fb0(0x1c0))/0x5)+parseInt(_0x363fb0(0x1bb))/0x6*(-parseInt(_0x363fb0(0x1c2))/0x7)+-parseInt(_0x363fb0(0x1b8))/0x8+parseInt(_0x363fb0(0x1d1))/0x9;if(_0x43000===_0x48ca61)break;else _0x43357d['push'](_0x43357d['shift']());}catch(_0x114135){_0x43357d['push'](_0x43357d['shift']());}}}(_0x4c10,0x59d1b));function _0x4c10(){const _0x32834f=['fetch','length','fetchUtils','publish','node','dev','versions','__esModule','1575176DPwigV','Current\x20Node.js\x20version\x20is\x20','run','6ViHhmW','major','downloadFile','./cmds/help','version','53990BXCedh','236WIgQNg','4837441ZqiaXV','Cli','1370412TTEXqi','setFetch','start','653842qgPtmd','setDecompressResponseBuffer','store','build','defineProperty','semver','445008PTPcGL','help','decompressResponseBuffer','./utils/fetch','20084922SmxcIP','setDownloadFile','./cmds/build'];_0x4c10=function(){return _0x32834f;};return _0x4c10();}Object[_0x231b15(0x1cb)](exports,_0x231b15(0x1b7),{'value':!![]}),exports['Cli']=void 0x0;const minimist=require('minimist'),semver_1=require(_0x231b15(0x1cc)),FetchUtils_1_1=require('./utils/FetchUtils-1'),help_1=require(_0x231b15(0x1be)),build_1=require(_0x231b15(0x1af)),version_1=require('./cmds/version'),fetch_1=require(_0x231b15(0x1d0));class Cli{async[_0x231b15(0x1ba)](_0x3a2c69){const _0x324c6d=_0x231b15;if((0x0,semver_1[_0x324c6d(0x1bc)])(process['versions'][_0x324c6d(0x1b4)])<0xe)throw new Error(_0x324c6d(0x1b9)+process[_0x324c6d(0x1b6)][_0x324c6d(0x1b4)]+'.'+'\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.');FetchUtils_1_1[_0x324c6d(0x1b2)][_0x324c6d(0x1c5)](fetch_1[_0x324c6d(0x1b0)]),FetchUtils_1_1['fetchUtils'][_0x324c6d(0x1d2)](fetch_1[_0x324c6d(0x1bd)]),FetchUtils_1_1['fetchUtils'][_0x324c6d(0x1c8)](fetch_1[_0x324c6d(0x1cf)]);const _0x2e4997=minimist(_0x3a2c69);let _0x2cca5e=undefined;if(_0x2e4997['_'][_0x324c6d(0x1b1)]===0x0){if(_0x2e4997[_0x324c6d(0x1bf)])_0x2cca5e=_0x324c6d(0x1bf);else _0x2e4997[_0x324c6d(0x1ce)]&&(_0x2cca5e=_0x324c6d(0x1ce));}else _0x2cca5e=_0x2e4997['_'][0x0];!_0x2cca5e&&(_0x2cca5e='help');switch(_0x2cca5e){case _0x324c6d(0x1ce):case'h':return await(0x0,help_1[_0x324c6d(0x1ce)])(_0x2e4997);case _0x324c6d(0x1ca):return await(0x0,build_1[_0x324c6d(0x1c6)])(_0x2e4997);case _0x324c6d(0x1b3):return await(0x0,build_1[_0x324c6d(0x1c9)])(_0x2e4997);case _0x324c6d(0x1b5):return await(0x0,build_1[_0x324c6d(0x1b5)])(_0x2e4997);case'version':{return await(0x0,version_1[_0x324c6d(0x1bf)])();}default:throw new Error('\x22'+_0x2cca5e+'\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands');}}}exports[_0x231b15(0x1c3)]=Cli;
@@ -1 +1 @@
1
- 'use strict';const _0x3a5316=_0x4f5e;(function(_0x1c7a05,_0xc01011){const _0x436890=_0x4f5e,_0x1f3bc2=_0x1c7a05();while(!![]){try{const _0x9b229e=-parseInt(_0x436890(0x9d))/0x1+-parseInt(_0x436890(0x88))/0x2+-parseInt(_0x436890(0x90))/0x3*(-parseInt(_0x436890(0x85))/0x4)+-parseInt(_0x436890(0x8f))/0x5+parseInt(_0x436890(0x83))/0x6*(-parseInt(_0x436890(0x8b))/0x7)+-parseInt(_0x436890(0xa0))/0x8*(parseInt(_0x436890(0x9b))/0x9)+parseInt(_0x436890(0x82))/0xa;if(_0x9b229e===_0xc01011)break;else _0x1f3bc2['push'](_0x1f3bc2['shift']());}catch(_0x46cb0e){_0x1f3bc2['push'](_0x1f3bc2['shift']());}}}(_0x5cb1,0x8cb23));Object[_0x3a5316(0x9e)](exports,_0x3a5316(0x7f),{'value':!![]}),exports[_0x3a5316(0x7e)]=start,exports[_0x3a5316(0x81)]=store,exports['dev']=dev;const pwa_1=require('../pwa'),resource_1=require('../resource'),xcode_1=require(_0x3a5316(0x9f)),check_1=require(_0x3a5316(0x8d));async function start(_0x4e42ac,_0x47dae4=![]){const _0x39bc23=_0x3a5316;(0x0,check_1[_0x39bc23(0x89)])(_0x4e42ac,_0x47dae4),console[_0x39bc23(0x84)](_0x39bc23(0x97));let _0x10476a=await pwa_1[_0x39bc23(0x94)]['generator'](_0x4e42ac,_0x47dae4);!_0x10476a[_0x39bc23(0x9c)]&&(await resource_1[_0x39bc23(0x9a)][_0x39bc23(0x8c)](_0x4e42ac[_0x39bc23(0xa2)]),console[_0x39bc23(0x84)]('move\x20web\x20project:\x20ok'));const _0x499fd4=await resource_1[_0x39bc23(0x9a)][_0x39bc23(0x87)](_0x10476a);return console[_0x39bc23(0x84)](_0x39bc23(0x96)),await xcode_1[_0x39bc23(0x80)][_0x39bc23(0x8e)]({'icon':_0x499fd4,'manifestInfo':_0x10476a,'teamId':_0x4e42ac[_0x39bc23(0x95)],'version':_0x4e42ac[_0x39bc23(0x7d)],'buildType':_0x4e42ac[_0x39bc23(0x86)],'export':_0x4e42ac[_0x39bc23(0x93)]},_0x47dae4),console[_0x39bc23(0x84)](_0x39bc23(0x99)),_0x10476a;}async function store(_0x1a4826){const _0x47a917=_0x3a5316;(0x0,check_1['checkStoreParams'])(_0x1a4826);let _0x352b68={'name':_0x47a917(0xa1)};_0x1a4826['buildType']=_0x47a917(0x8a);if(_0x1a4826[_0x47a917(0x92)])_0x352b68[_0x47a917(0x92)]=_0x1a4826[_0x47a917(0x92)];else{const _0x504e8d=await start(_0x1a4826);if(!_0x504e8d)return![];_0x352b68['name']=_0x504e8d[_0x47a917(0x98)][_0x47a917(0x92)];}return await xcode_1['XcodeManager'][_0x47a917(0x91)](_0x1a4826,_0x352b68),!![];}function _0x4f5e(_0x4e5aa9,_0x97c678){const _0x5cb1b0=_0x5cb1();return _0x4f5e=function(_0x4f5e1e,_0x617adb){_0x4f5e1e=_0x4f5e1e-0x7d;let _0x3fa306=_0x5cb1b0[_0x4f5e1e];return _0x3fa306;},_0x4f5e(_0x4e5aa9,_0x97c678);}function _0x5cb1(){const _0x581a3b=['defineProperty','../xcode','612056epoIFL','SpatialWebTest','project','version','start','__esModule','XcodeManager','store','30212810cgBuJN','1020ctVPdf','log','2144RRbNuz','buildType','generateIcon','208052wIiMLK','checkBuildParams','app-store-connect','24843GeBCLb','moveProjectFrom','./check','parseProject','1072550PbWVBd','36jQWnbK','upload','name','export','PWAGenerator','teamId','generate\x20icon:\x20ok','-------------------\x20build\x20start\x20-------------------','json','-------------------\x20build\x20end\x20-------------------','ResourceManager','108oTqXrS','fromNet','611472YlsWBm'];_0x5cb1=function(){return _0x581a3b;};return _0x5cb1();}async function dev(_0x4fba6a){const _0x4dc4ec=_0x3a5316;let _0x24b642={'name':_0x4dc4ec(0xa1),'id':'com.SpatialWeb.test'};const _0x6ef300=await start(_0x4fba6a,!![]);if(!_0x6ef300)return![];return _0x24b642[_0x4dc4ec(0x92)]=_0x6ef300[_0x4dc4ec(0x98)][_0x4dc4ec(0x92)],_0x24b642['id']=_0x6ef300[_0x4dc4ec(0x98)]['id'],await xcode_1[_0x4dc4ec(0x80)]['runWithSimulator'](_0x24b642),!![];}
1
+ 'use strict';const _0x463afb=_0x5cb3;(function(_0x72ce1b,_0x5a4217){const _0x5f782d=_0x5cb3,_0x1e930b=_0x72ce1b();while(!![]){try{const _0xcf7cb3=-parseInt(_0x5f782d(0x19d))/0x1+-parseInt(_0x5f782d(0x198))/0x2*(-parseInt(_0x5f782d(0x19b))/0x3)+-parseInt(_0x5f782d(0x19e))/0x4*(-parseInt(_0x5f782d(0x190))/0x5)+parseInt(_0x5f782d(0x192))/0x6*(-parseInt(_0x5f782d(0x1af))/0x7)+-parseInt(_0x5f782d(0x199))/0x8*(-parseInt(_0x5f782d(0x1ac))/0x9)+-parseInt(_0x5f782d(0x1ab))/0xa*(parseInt(_0x5f782d(0x1b2))/0xb)+-parseInt(_0x5f782d(0x1a6))/0xc*(-parseInt(_0x5f782d(0x1aa))/0xd);if(_0xcf7cb3===_0x5a4217)break;else _0x1e930b['push'](_0x1e930b['shift']());}catch(_0x314365){_0x1e930b['push'](_0x1e930b['shift']());}}}(_0x2c8d,0xc6887));Object[_0x463afb(0x1a0)](exports,'__esModule',{'value':!![]}),exports['start']=start,exports['store']=store,exports[_0x463afb(0x1ae)]=dev;const pwa_1=require(_0x463afb(0x196)),resource_1=require(_0x463afb(0x1b3)),xcode_1=require('../xcode'),check_1=require(_0x463afb(0x194));function _0x5cb3(_0x29c2c0,_0x3dfb1c){const _0x2c8d01=_0x2c8d();return _0x5cb3=function(_0x5cb323,_0x3d2d0e){_0x5cb323=_0x5cb323-0x18d;let _0x5cb761=_0x2c8d01[_0x5cb323];return _0x5cb761;},_0x5cb3(_0x29c2c0,_0x3dfb1c);}async function start(_0x137c65,_0x10d18b=![]){const _0x369ce2=_0x463afb;(0x0,check_1[_0x369ce2(0x1a4)])(_0x137c65,_0x10d18b),console[_0x369ce2(0x19f)](_0x369ce2(0x1a5));let _0x5edd68=await pwa_1['PWAGenerator'][_0x369ce2(0x1b4)](_0x137c65,_0x10d18b);!_0x5edd68[_0x369ce2(0x18d)]&&(await resource_1['ResourceManager'][_0x369ce2(0x1a9)](_0x137c65[_0x369ce2(0x1a1)]),console[_0x369ce2(0x19f)](_0x369ce2(0x1a8)));const _0x321df3=await resource_1['ResourceManager']['generateIcon'](_0x5edd68);return console[_0x369ce2(0x19f)](_0x369ce2(0x1ad)),await xcode_1['XcodeManager'][_0x369ce2(0x19c)]({'icon':_0x321df3,'manifestInfo':_0x5edd68,'teamId':_0x137c65[_0x369ce2(0x1b0)],'version':_0x137c65['version'],'buildType':_0x137c65[_0x369ce2(0x191)],'export':_0x137c65[_0x369ce2(0x1a7)]},_0x10d18b),console['log'](_0x369ce2(0x195)),_0x5edd68;}async function store(_0x83312){const _0x2f2d11=_0x463afb;(0x0,check_1[_0x2f2d11(0x1b1)])(_0x83312);let _0x32849f={'name':_0x2f2d11(0x197)};_0x83312[_0x2f2d11(0x191)]=_0x2f2d11(0x19a);if(_0x83312[_0x2f2d11(0x18e)])_0x32849f[_0x2f2d11(0x18e)]=_0x83312['name'];else{const _0x4c8181=await start(_0x83312);if(!_0x4c8181)return![];_0x32849f[_0x2f2d11(0x18e)]=_0x4c8181[_0x2f2d11(0x193)][_0x2f2d11(0x18e)];}return await xcode_1[_0x2f2d11(0x1a3)][_0x2f2d11(0x18f)](_0x83312,_0x32849f),!![];}async function dev(_0x448c0a){const _0x3ca555=_0x463afb;let _0x5b0d68={'name':_0x3ca555(0x197),'id':'com.SpatialWeb.test'};const _0x10df87=await start(_0x448c0a,!![]);if(!_0x10df87)return![];return _0x5b0d68[_0x3ca555(0x18e)]=_0x10df87[_0x3ca555(0x193)][_0x3ca555(0x18e)],_0x5b0d68['id']=_0x10df87[_0x3ca555(0x193)]['id'],await xcode_1[_0x3ca555(0x1a3)][_0x3ca555(0x1a2)](_0x5b0d68),!![];}function _0x2c8d(){const _0x378c5a=['generator','fromNet','name','upload','1664225AoIgvm','buildType','3222iAivqE','json','./check','-------------------\x20build\x20end\x20-------------------','../pwa','SpatialWebTest','2LKHYnY','8WKfgAq','app-store-connect','1740705cnsbvv','parseProject','830941TUjkjS','8pEHeWG','log','defineProperty','project','runWithSimulator','XcodeManager','checkBuildParams','-------------------\x20build\x20start\x20-------------------','1776FoQLTA','export','move\x20web\x20project:\x20ok','moveProjectFrom','153205nmPEVS','7950060EsWypu','11132568UHHbKQ','generate\x20icon:\x20ok','dev','12943PFwxeG','teamId','checkStoreParams','22SfFvji','../resource'];_0x2c8d=function(){return _0x378c5a;};return _0x2c8d();}
@@ -1 +1 @@
1
- 'use strict';var _0x331644=_0x4d85;(function(_0x2fcb60,_0x9052eb){var _0x5b12b6=_0x4d85,_0xeed3ba=_0x2fcb60();while(!![]){try{var _0x55ada2=-parseInt(_0x5b12b6(0xa7))/0x1*(-parseInt(_0x5b12b6(0x9e))/0x2)+-parseInt(_0x5b12b6(0xaa))/0x3+-parseInt(_0x5b12b6(0x9b))/0x4*(parseInt(_0x5b12b6(0x9d))/0x5)+-parseInt(_0x5b12b6(0x99))/0x6*(-parseInt(_0x5b12b6(0x9f))/0x7)+-parseInt(_0x5b12b6(0xa2))/0x8+-parseInt(_0x5b12b6(0xad))/0x9*(parseInt(_0x5b12b6(0xa3))/0xa)+-parseInt(_0x5b12b6(0xae))/0xb*(-parseInt(_0x5b12b6(0x9a))/0xc);if(_0x55ada2===_0x9052eb)break;else _0xeed3ba['push'](_0xeed3ba['shift']());}catch(_0x18e3e6){_0xeed3ba['push'](_0xeed3ba['shift']());}}}(_0x3312,0x6bd43));Object['defineProperty'](exports,_0x331644(0xab),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports[_0x331644(0xac)]=checkStoreParams;function checkBuildParams(_0x337a03,_0x473100=![]){var _0x2b9139=_0x331644;if(!_0x337a03[_0x2b9139(0xa8)]&&!_0x337a03[_0x2b9139(0xa9)])throw new Error('manifest\x20or\x20manifest-url\x20is\x20required');if(_0x337a03[_0x2b9139(0xa8)]&&_0x337a03[_0x2b9139(0xa9)])throw new Error(_0x2b9139(0xa4));if(!_0x337a03[_0x2b9139(0xa6)]&&!_0x473100)throw new Error(_0x2b9139(0x9c));}function _0x4d85(_0x3a586d,_0x1b5164){var _0x3312cb=_0x3312();return _0x4d85=function(_0x4d85de,_0x5283e0){_0x4d85de=_0x4d85de-0x99;var _0x2f72cb=_0x3312cb[_0x4d85de];return _0x2f72cb;},_0x4d85(_0x3a586d,_0x1b5164);}function _0x3312(){var _0x343058=['362264IzhsDc','teamId\x20is\x20required','5bQJGyg','2QOOOtS','264691Bnhaaz','version','u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required','2690680hDZujJ','190oxJJoZ','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','version\x20is\x20required','teamId','36899WZfHMD','manifest','manifest-url','2627463pELbdi','__esModule','checkStoreParams','172341SbDaem','11yhDirL','18XGnWsK','23494584LYzWph'];_0x3312=function(){return _0x343058;};return _0x3312();}function checkStoreParams(_0x5526d3){var _0x30ad4b=_0x331644;if(!(_0x5526d3['u']&&_0x5526d3['p'])&&!(_0x5526d3['k']&&_0x5526d3['i']))throw new Error(_0x30ad4b(0xa1));if(!_0x5526d3[_0x30ad4b(0xa0)])throw new Error(_0x30ad4b(0xa5));}
1
+ 'use strict';var _0x20a54f=_0xc3a0;function _0xc3a0(_0x2a06a0,_0x24ad0c){var _0x33d067=_0x33d0();return _0xc3a0=function(_0xc3a055,_0x8ce9af){_0xc3a055=_0xc3a055-0x17f;var _0x1f88ec=_0x33d067[_0xc3a055];return _0x1f88ec;},_0xc3a0(_0x2a06a0,_0x24ad0c);}(function(_0x448730,_0x5e0efe){var _0x26f5ff=_0xc3a0,_0xf9e4ed=_0x448730();while(!![]){try{var _0x4125b0=-parseInt(_0x26f5ff(0x186))/0x1+-parseInt(_0x26f5ff(0x18e))/0x2+parseInt(_0x26f5ff(0x18d))/0x3*(-parseInt(_0x26f5ff(0x180))/0x4)+parseInt(_0x26f5ff(0x191))/0x5*(-parseInt(_0x26f5ff(0x18a))/0x6)+parseInt(_0x26f5ff(0x18c))/0x7+parseInt(_0x26f5ff(0x185))/0x8+parseInt(_0x26f5ff(0x18b))/0x9*(parseInt(_0x26f5ff(0x18f))/0xa);if(_0x4125b0===_0x5e0efe)break;else _0xf9e4ed['push'](_0xf9e4ed['shift']());}catch(_0x3273bc){_0xf9e4ed['push'](_0xf9e4ed['shift']());}}}(_0x33d0,0x70245));function _0x33d0(){var _0x82fe3=['4KOBHUF','teamId\x20is\x20required','manifest-url','version','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','4146576PzXsXb','132261KVKWyP','manifest\x20or\x20manifest-url\x20is\x20required','version\x20is\x20required','teamId','102entwka','495DoJQKc','4413157sNLWhC','2246457LWpKPF','910424klkGQj','180970XAGLBM','checkStoreParams','102495rMYvkE','manifest','defineProperty','__esModule'];_0x33d0=function(){return _0x82fe3;};return _0x33d0();}Object[_0x20a54f(0x193)](exports,_0x20a54f(0x17f),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports[_0x20a54f(0x190)]=checkStoreParams;function checkBuildParams(_0x11ea31,_0x10c21e=![]){var _0x48c465=_0x20a54f;if(!_0x11ea31[_0x48c465(0x192)]&&!_0x11ea31[_0x48c465(0x182)])throw new Error(_0x48c465(0x187));if(_0x11ea31[_0x48c465(0x192)]&&_0x11ea31[_0x48c465(0x182)])throw new Error(_0x48c465(0x184));if(!_0x11ea31[_0x48c465(0x189)]&&!_0x10c21e)throw new Error(_0x48c465(0x181));}function checkStoreParams(_0x254cbf){var _0x18bd0c=_0x20a54f;if(!(_0x254cbf['u']&&_0x254cbf['p'])&&!(_0x254cbf['k']&&_0x254cbf['i']))throw new Error('u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required');if(!_0x254cbf[_0x18bd0c(0x183)])throw new Error(_0x18bd0c(0x188));}
@@ -1 +1 @@
1
- 'use strict';function _0x5e4b(){const _0x111c83=['../utils/Log','help\x20................\x20shows\x20this\x20menu','5196460yPQSyN','22VcLhnT','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','687540Htyyux','29212FpMeDi','main','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','help','dev','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','build','join','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','5659410zNFddm','754497WDNhfd','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','Usage:','7253470LPgiNB','info','7140944XRbsuC','defineProperty','9Fuuyzu','17wSzQtf','20uRAjHR','get'];_0x5e4b=function(){return _0x111c83;};return _0x5e4b();}const _0x5b813b=_0x5380;(function(_0x274392,_0x5965f4){const _0x179209=_0x5380,_0x310b3f=_0x274392();while(!![]){try{const _0x47eac9=-parseInt(_0x179209(0xbd))/0x1*(-parseInt(_0x179209(0xc6))/0x2)+-parseInt(_0x179209(0xb5))/0x3+parseInt(_0x179209(0xbe))/0x4*(parseInt(_0x179209(0xc5))/0x5)+parseInt(_0x179209(0xb4))/0x6+-parseInt(_0x179209(0xb8))/0x7+parseInt(_0x179209(0xba))/0x8*(-parseInt(_0x179209(0xbc))/0x9)+parseInt(_0x179209(0xc2))/0xa*(parseInt(_0x179209(0xc3))/0xb);if(_0x47eac9===_0x5965f4)break;else _0x310b3f['push'](_0x310b3f['shift']());}catch(_0x326479){_0x310b3f['push'](_0x310b3f['shift']());}}}(_0x5e4b,0xb42fa));function _0x5380(_0x45ed84,_0x55ea8e){const _0x5e4bd0=_0x5e4b();return _0x5380=function(_0x538081,_0x255b99){_0x538081=_0x538081-0xac;let _0x353449=_0x5e4bd0[_0x538081];return _0x353449;},_0x5380(_0x45ed84,_0x55ea8e);}Object[_0x5b813b(0xbb)](exports,'__esModule',{'value':!![]}),exports['help']=help;const Log_1=require(_0x5b813b(0xc0)),HELP_MESSAGES=new Map([[_0x5b813b(0xc7),['webspatial\x20[command]\x20<options>','','',_0x5b813b(0xc1),_0x5b813b(0xb3)+_0x5b813b(0xad),_0x5b813b(0xb2),_0x5b813b(0xb1)][_0x5b813b(0xaf)]('\x0a')],[_0x5b813b(0xae),[_0x5b813b(0xb7),'','',_0x5b813b(0xc8),'','',_0x5b813b(0xc4)][_0x5b813b(0xaf)]('\x0a')],[_0x5b813b(0xac),[_0x5b813b(0xb7),'','',_0x5b813b(0xb6),'','','webspatial\x20dev\x20--manifest-url=<net-manifest-url>'][_0x5b813b(0xaf)]('\x0a')],['publish',[_0x5b813b(0xb7),'','','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\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x5b813b(0xb0)][_0x5b813b(0xaf)]('\x0a')]]);async function help(_0x1dafd4,_0x150fed=new Log_1['ConsoleLog'](_0x5b813b(0xc9))){const _0x41bd2d=_0x5b813b,_0x12c02e=_0x1dafd4['_'][0x1],_0x98719f=HELP_MESSAGES[_0x41bd2d(0xbf)](_0x12c02e)||HELP_MESSAGES[_0x41bd2d(0xbf)]('main');return _0x150fed[_0x41bd2d(0xb9)](_0x98719f),!![];}
1
+ 'use strict';const _0x52f4a7=_0x13f7;(function(_0x2269fc,_0x1bd6f4){const _0xc68211=_0x13f7,_0x49c467=_0x2269fc();while(!![]){try{const _0xed734b=parseInt(_0xc68211(0x18e))/0x1*(-parseInt(_0xc68211(0x1a4))/0x2)+-parseInt(_0xc68211(0x190))/0x3*(-parseInt(_0xc68211(0x19f))/0x4)+parseInt(_0xc68211(0x1a1))/0x5+-parseInt(_0xc68211(0x197))/0x6+-parseInt(_0xc68211(0x1a0))/0x7+parseInt(_0xc68211(0x1a3))/0x8*(parseInt(_0xc68211(0x194))/0x9)+parseInt(_0xc68211(0x18f))/0xa*(parseInt(_0xc68211(0x19b))/0xb);if(_0xed734b===_0x1bd6f4)break;else _0x49c467['push'](_0x49c467['shift']());}catch(_0x45653b){_0x49c467['push'](_0x49c467['shift']());}}}(_0x1a0e,0x6b5f6));Object['defineProperty'](exports,_0x52f4a7(0x18d),{'value':!![]}),exports[_0x52f4a7(0x19a)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([[_0x52f4a7(0x1a5),[_0x52f4a7(0x19e),'','',_0x52f4a7(0x195),_0x52f4a7(0x19c)+_0x52f4a7(0x193),_0x52f4a7(0x1a6),'publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect'][_0x52f4a7(0x192)]('\x0a')],[_0x52f4a7(0x1a2),[_0x52f4a7(0x1a7),'','',_0x52f4a7(0x191),'','',_0x52f4a7(0x199)][_0x52f4a7(0x192)]('\x0a')],['dev',[_0x52f4a7(0x1a7),'','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','',_0x52f4a7(0x19d)][_0x52f4a7(0x192)]('\x0a')],[_0x52f4a7(0x1a9),['Usage:','','','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x52f4a7(0x1a8)]['join']('\x0a')]]);async function help(_0x254e95,_0x4d9009=new Log_1[(_0x52f4a7(0x18c))](_0x52f4a7(0x19a))){const _0x7680ef=_0x52f4a7,_0x594d65=_0x254e95['_'][0x1],_0xfb0ad5=HELP_MESSAGES['get'](_0x594d65)||HELP_MESSAGES[_0x7680ef(0x196)](_0x7680ef(0x1a5));return _0x4d9009[_0x7680ef(0x198)](_0xfb0ad5),!![];}function _0x13f7(_0x41610c,_0x1dd31d){const _0x1a0ec7=_0x1a0e();return _0x13f7=function(_0x13f725,_0x1a15da){_0x13f725=_0x13f725-0x18c;let _0x250ea8=_0x1a0ec7[_0x13f725];return _0x250ea8;},_0x13f7(_0x41610c,_0x1dd31d);}function _0x1a0e(){const _0xf78b3f=['__esModule','7457NnoTnd','6130IvOiHj','54ibNdZL','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','join','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','61713dShMBo','help\x20................\x20shows\x20this\x20menu','get','2160522LyIHTk','info','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','help','5731odSRIq','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','webspatial\x20[command]\x20<options>','142176wZiiec','2812208hZiPXx','368055JUAEzn','build','632vIXWeS','100rzpvSf','main','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','Usage:','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','publish','ConsoleLog'];_0x1a0e=function(){return _0xf78b3f;};return _0x1a0e();}
@@ -1 +1 @@
1
- 'use strict';const _0x13b2ec=_0x15dc;(function(_0x256daa,_0x2b95cc){const _0xadb4e2=_0x15dc,_0x338afd=_0x256daa();while(!![]){try{const _0x5e17d3=-parseInt(_0xadb4e2(0x11a))/0x1+parseInt(_0xadb4e2(0x115))/0x2+-parseInt(_0xadb4e2(0x11e))/0x3+-parseInt(_0xadb4e2(0x11c))/0x4+parseInt(_0xadb4e2(0x11b))/0x5*(parseInt(_0xadb4e2(0x114))/0x6)+-parseInt(_0xadb4e2(0x119))/0x7+parseInt(_0xadb4e2(0x11f))/0x8;if(_0x5e17d3===_0x2b95cc)break;else _0x338afd['push'](_0x338afd['shift']());}catch(_0x428be4){_0x338afd['push'](_0x338afd['shift']());}}}(_0x4b6f,0x3ba9e));Object[_0x13b2ec(0x117)](exports,'__esModule',{'value':!![]}),exports[_0x13b2ec(0x121)]=version;const fs=require('fs'),path=require(_0x13b2ec(0x116)),Log_1=require('../utils/Log');function _0x15dc(_0x7ab1df,_0x37da5c){const _0x4b6f84=_0x4b6f();return _0x15dc=function(_0x15dcf9,_0x5ac494){_0x15dcf9=_0x15dcf9-0x112;let _0x3c9550=_0x4b6f84[_0x15dcf9];return _0x3c9550;},_0x15dc(_0x7ab1df,_0x37da5c);}async function version(_0x15e31a=new Log_1['ConsoleLog'](_0x13b2ec(0x121))){const _0x4b71c0=_0x13b2ec,_0x3c9633=path[_0x4b71c0(0x112)](__dirname,'../../../package.json'),_0x4f9930=await(await fs[_0x4b71c0(0x113)][_0x4b71c0(0x120)](_0x3c9633))['toString'](),_0x460355=JSON[_0x4b71c0(0x118)](_0x4f9930);return _0x15e31a[_0x4b71c0(0x11d)](_0x460355[_0x4b71c0(0x121)]),!![];}function _0x4b6f(){const _0x401660=['2453040pNBTBq','readFile','version','join','promises','1185348KkokEL','609658WtRDWY','path','defineProperty','parse','2218041zLGGHH','294804JAKLtl','10YbWQGq','290180ylSojG','info','233943dJtUUE'];_0x4b6f=function(){return _0x401660;};return _0x4b6f();}
1
+ 'use strict';const _0x15afd5=_0x4ba2;(function(_0x4661f4,_0x3a3f3c){const _0x1310ab=_0x4ba2,_0x17cf66=_0x4661f4();while(!![]){try{const _0x5601f8=-parseInt(_0x1310ab(0x145))/0x1+-parseInt(_0x1310ab(0x147))/0x2*(parseInt(_0x1310ab(0x14c))/0x3)+-parseInt(_0x1310ab(0x149))/0x4+-parseInt(_0x1310ab(0x13f))/0x5+-parseInt(_0x1310ab(0x14d))/0x6*(parseInt(_0x1310ab(0x13e))/0x7)+-parseInt(_0x1310ab(0x14f))/0x8*(parseInt(_0x1310ab(0x148))/0x9)+parseInt(_0x1310ab(0x143))/0xa*(parseInt(_0x1310ab(0x151))/0xb);if(_0x5601f8===_0x3a3f3c)break;else _0x17cf66['push'](_0x17cf66['shift']());}catch(_0x4c8876){_0x17cf66['push'](_0x17cf66['shift']());}}}(_0x285a,0x30854));Object[_0x15afd5(0x146)](exports,_0x15afd5(0x141),{'value':!![]}),exports['version']=version;function _0x4ba2(_0x159d9c,_0x2ea15){const _0x285a66=_0x285a();return _0x4ba2=function(_0x4ba28b,_0x12b87f){_0x4ba28b=_0x4ba28b-0x13d;let _0x833700=_0x285a66[_0x4ba28b];return _0x833700;},_0x4ba2(_0x159d9c,_0x2ea15);}const fs=require('fs'),path=require('path'),Log_1=require(_0x15afd5(0x144));function _0x285a(){const _0x3f1ad5=['parse','__esModule','../../../package.json','10rnWagJ','../utils/Log','291439JtXjOT','defineProperty','2sYcWjg','17352XmTXlu','982320NquHtv','ConsoleLog','toString','151521vRMidp','929034WkrvAv','readFile','280OKQMtO','version','13284469MPiguo','info','join','7oAyHXS','995470HiSAjW'];_0x285a=function(){return _0x3f1ad5;};return _0x285a();}async function version(_0x222387=new Log_1[(_0x15afd5(0x14a))](_0x15afd5(0x150))){const _0x558cce=_0x15afd5,_0x4f67e5=path[_0x558cce(0x13d)](__dirname,_0x558cce(0x142)),_0x3b5797=await(await fs['promises'][_0x558cce(0x14e)](_0x4f67e5))[_0x558cce(0x14b)](),_0x366f19=JSON[_0x558cce(0x140)](_0x3b5797);return _0x222387[_0x558cce(0x152)](_0x366f19[_0x558cce(0x150)]),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x17cb19=_0x3367;(function(_0x530998,_0x6691ab){const _0x2aa936=_0x3367,_0x404921=_0x530998();while(!![]){try{const _0x2f57f5=parseInt(_0x2aa936(0x1ee))/0x1*(-parseInt(_0x2aa936(0x208))/0x2)+-parseInt(_0x2aa936(0x210))/0x3+-parseInt(_0x2aa936(0x1d7))/0x4+parseInt(_0x2aa936(0x200))/0x5*(parseInt(_0x2aa936(0x1f8))/0x6)+-parseInt(_0x2aa936(0x1dc))/0x7+parseInt(_0x2aa936(0x20a))/0x8+parseInt(_0x2aa936(0x206))/0x9*(parseInt(_0x2aa936(0x1fc))/0xa);if(_0x2f57f5===_0x6691ab)break;else _0x404921['push'](_0x404921['shift']());}catch(_0x6f8922){_0x404921['push'](_0x404921['shift']());}}}(_0x5cbd,0xb5976));Object['defineProperty'](exports,_0x17cb19(0x1f9),{'value':!![]}),exports[_0x17cb19(0x1fe)]=void 0x0,exports[_0x17cb19(0x20c)]=configId,exports[_0x17cb19(0x1f4)]=configStartUrl,exports[_0x17cb19(0x1d8)]=configScope,exports['configDisplay']=configDisplay,exports[_0x17cb19(0x1df)]=configMainScene,exports[_0x17cb19(0x1d3)]=configDeeplink;const utils_1=require(_0x17cb19(0x1d5)),validate_1=require('./validate'),path_1=require('path');function _0x3367(_0x2a20b8,_0x3af494){const _0x5cbdae=_0x5cbd();return _0x3367=function(_0x33678e,_0x253a73){_0x33678e=_0x33678e-0x1d0;let _0x104ce0=_0x5cbdae[_0x33678e];return _0x104ce0;},_0x3367(_0x2a20b8,_0x3af494);}function configId(_0x5acf7a){const _0x372635=_0x17cb19;!_0x5acf7a['id']&&(_0x5acf7a['id']=_0x5acf7a[_0x372635(0x1ea)]);}function configStartUrl(_0x1bb6f9,_0x3fa79a,_0x15187e){const _0x877564=_0x17cb19,_0x519313=(0x0,validate_1['validateURL'])(_0x1bb6f9[_0x877564(0x1ea)]);let _0x1f80fa=_0x1bb6f9[_0x877564(0x1ea)];_0x15187e?!_0x519313&&(_0x1f80fa=(0x0,path_1[_0x877564(0x204)])((0x0,utils_1[_0x877564(0x1f2)])(_0x3fa79a),_0x1bb6f9[_0x877564(0x1ea)])):!_0x519313&&(_0x1f80fa=(0x0,path_1[_0x877564(0x204)])(_0x877564(0x1dd),_0x1bb6f9[_0x877564(0x1ea)])),_0x1bb6f9[_0x877564(0x1ea)]=_0x1f80fa;}function configScope(_0x17ad21,_0x53fc75){const _0x436232=_0x17cb19;let _0x569fa0='';const _0x8bc3f6=(0x0,validate_1[_0x436232(0x1e5)])(_0x17ad21['scope']);if(_0x53fc75&&_0x8bc3f6){const _0x4dcce6=new URL(_0x17ad21[_0x436232(0x1e6)]),_0x504379=new URL(_0x17ad21['start_url']);(_0x4dcce6[_0x436232(0x20b)]!==_0x504379['host']||_0x17ad21[_0x436232(0x1ea)]['indexOf'](_0x569fa0)!==0x0)&&(_0x569fa0=(0x0,utils_1['parseRouter'])(_0x17ad21[_0x436232(0x1ea)]));}else{if(_0x53fc75&&!_0x8bc3f6){const _0x331d9a=_0x17ad21[_0x436232(0x1ea)]['indexOf'](_0x436232(0x1da))===0x0?'http://':_0x436232(0x1f0);_0x569fa0=(0x0,path_1[_0x436232(0x204)])(_0x17ad21[_0x436232(0x1ea)]['replace'](_0x331d9a,''),_0x17ad21[_0x436232(0x1e6)]),_0x569fa0=_0x331d9a+_0x569fa0;}else _0x569fa0=(0x0,path_1[_0x436232(0x204)])((0x0,utils_1[_0x436232(0x1f2)])(_0x17ad21[_0x436232(0x1ea)]),_0x17ad21[_0x436232(0x1e6)]);}_0x17ad21[_0x436232(0x1e6)]=_0x569fa0;}function configDisplay(_0x760ef5){const _0x1d56fc=_0x17cb19;let _0xcdfcfe=_0x760ef5[_0x1d56fc(0x1fa)];_0xcdfcfe!==_0x1d56fc(0x209)&&_0xcdfcfe!==_0x1d56fc(0x1eb)&&(_0xcdfcfe=_0x1d56fc(0x1eb));if(_0x760ef5[_0x1d56fc(0x1e1)]&&_0x760ef5[_0x1d56fc(0x1e1)]['length']>0x0){const _0x14435f=_0x760ef5[_0x1d56fc(0x1e1)][_0x1d56fc(0x211)](_0x1d56fc(0x209)),_0x7b4baa=_0x760ef5[_0x1d56fc(0x1e1)][_0x1d56fc(0x211)](_0x1d56fc(0x1eb));if(_0x14435f>=0x0&&_0x7b4baa>=0x0)_0xcdfcfe=_0x7b4baa>_0x14435f?_0x1d56fc(0x1eb):_0x1d56fc(0x209);else{if(_0x14435f>=0x0)_0xcdfcfe=_0x1d56fc(0x209);else _0x7b4baa>=0x0&&(_0xcdfcfe=_0x1d56fc(0x1eb));}}}function configMainScene(_0x38397a){const _0x23ce47=_0x17cb19;var _0x354203,_0x39354a;const _0x2e029b=[_0x23ce47(0x1de),_0x23ce47(0x201),_0x23ce47(0x1db)];let _0x19c257={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};_0x38397a[_0x23ce47(0x1e0)]&&(_0x19c257[_0x23ce47(0x1ed)][_0x23ce47(0x20e)]=Number((_0x354203=_0x38397a[_0x23ce47(0x1e0)][_0x23ce47(0x1ed)])===null||_0x354203===void 0x0?void 0x0:_0x354203[_0x23ce47(0x20e)])>0x0?_0x38397a[_0x23ce47(0x1e0)][_0x23ce47(0x1ed)][_0x23ce47(0x20e)]:0x500,_0x19c257['defaultSize'][_0x23ce47(0x202)]=Number((_0x39354a=_0x38397a[_0x23ce47(0x1e0)][_0x23ce47(0x1ed)])===null||_0x39354a===void 0x0?void 0x0:_0x39354a[_0x23ce47(0x202)])>0x0?_0x38397a['mainScene'][_0x23ce47(0x1ed)][_0x23ce47(0x202)]:0x500,_0x19c257['resizability']=_0x2e029b[_0x23ce47(0x1d4)](_0x38397a[_0x23ce47(0x1e0)][_0x23ce47(0x1e4)])?_0x38397a['mainScene'][_0x23ce47(0x1e4)]:_0x23ce47(0x1de)),_0x38397a['mainScene']=_0x19c257;}function _0x5cbd(){const _0x469898=['4965777cRgsEC','mailto','1610znIixl','minimal-ui','10567616euIjHH','host','configId','geo','width','ssh','4363413NMuOwy','indexOf','length','mms','sip','configDeeplink','includes','../utils/utils','openpgp4fpr','942292hoExrn','configScope','protocol','http://','contentSize','9463944tpNyDP','./static-web','automatic','configMainScene','mainScene','display_override','bitcoin','matrix','resizability','validateURL','scope','sms','protocol_handlers','wtai','start_url','standalone','ircs','defaultSize','643AagbAj','xmpp','https://','webcal','parseRouter','web+','configStartUrl','irc','sftp','url','185196vQTlNM','__esModule','display','nntp','30MuUfMW','ftps','safelist','ftp','215ZSvZdo','contentMinSize','height','splice','join','urn'];_0x5cbd=function(){return _0x469898;};return _0x5cbd();}function configDeeplink(_0x1585f9){const _0x3a734a=_0x17cb19;if(_0x1585f9[_0x3a734a(0x1e8)]&&_0x1585f9[_0x3a734a(0x1e8)][_0x3a734a(0x1d0)]>0x0)for(var _0x36e9f6=0x0;_0x36e9f6<_0x1585f9[_0x3a734a(0x1e8)][_0x3a734a(0x1d0)];_0x36e9f6++){const _0x4bf60b=_0x1585f9[_0x3a734a(0x1e8)][_0x36e9f6];if(_0x4bf60b['protocol']&&(exports[_0x3a734a(0x1fe)]['includes'](_0x4bf60b[_0x3a734a(0x1d9)])||_0x4bf60b[_0x3a734a(0x1d9)]['indexOf'](_0x3a734a(0x1f3))===0x0)){if(!((0x0,validate_1['validateURL'])(_0x4bf60b[_0x3a734a(0x1f7)])&&_0x4bf60b['url'][_0x3a734a(0x211)](_0x1585f9['scope'])<0x0))continue;}_0x1585f9[_0x3a734a(0x1e8)][_0x3a734a(0x203)](_0x36e9f6,0x1),_0x36e9f6--;}}exports['safelist']=[_0x17cb19(0x1e2),_0x17cb19(0x1ff),_0x17cb19(0x1fd),_0x17cb19(0x20d),'im',_0x17cb19(0x1f5),_0x17cb19(0x1ec),'magnet',_0x17cb19(0x207),_0x17cb19(0x1e3),_0x17cb19(0x1d1),'news',_0x17cb19(0x1fb),_0x17cb19(0x1d6),_0x17cb19(0x1f6),_0x17cb19(0x1d2),_0x17cb19(0x1e7),'smsto',_0x17cb19(0x20f),'tel',_0x17cb19(0x205),_0x17cb19(0x1f1),_0x17cb19(0x1e9),_0x17cb19(0x1ef)];
1
+ 'use strict';const _0x12a90d=_0x1ada;(function(_0x436895,_0x5d63d9){const _0x6059d3=_0x1ada,_0x4b03fd=_0x436895();while(!![]){try{const _0x420c9a=parseInt(_0x6059d3(0x230))/0x1*(-parseInt(_0x6059d3(0x207))/0x2)+parseInt(_0x6059d3(0x21e))/0x3+parseInt(_0x6059d3(0x21a))/0x4+-parseInt(_0x6059d3(0x226))/0x5+parseInt(_0x6059d3(0x21f))/0x6+-parseInt(_0x6059d3(0x22e))/0x7+-parseInt(_0x6059d3(0x21d))/0x8;if(_0x420c9a===_0x5d63d9)break;else _0x4b03fd['push'](_0x4b03fd['shift']());}catch(_0x2a93c5){_0x4b03fd['push'](_0x4b03fd['shift']());}}}(_0x509d,0xa64ce));function _0x509d(){const _0x85c8df=['join','configDeeplink','sftp','automatic','contentSize','protocol_handlers','magnet','5003772akxXyP','display_override','bitcoin','5650024GFffpT','1914882IwFZjr','7677798yXHejO','validateURL','url','split','web+','path','standalone','1521335HzWFjD','defaultSize','mms','webcal','ircs','configStartUrl','includes','safelist','4011322DdWmqS','__esModule','5414bJfLpZ','minimal-ui','irc','urn','length','configId','sip','ssh','defineProperty','news','height','https://','protocol','parseRouter','http://','mainScene','splice','reverse','resizability','scope','tel','matrix','contentMinSize','openpgp4fpr','334WBapFm','host','./static-web','../utils/utils','start_url','sms','ftp','display','indexOf','geo','replace','nntp'];_0x509d=function(){return _0x85c8df;};return _0x509d();}Object[_0x12a90d(0x1f7)](exports,_0x12a90d(0x22f),{'value':!![]}),exports[_0x12a90d(0x22d)]=void 0x0,exports[_0x12a90d(0x1f4)]=configId,exports[_0x12a90d(0x22b)]=configStartUrl,exports['configScope']=configScope,exports['configDisplay']=configDisplay,exports['configMainScene']=configMainScene,exports[_0x12a90d(0x214)]=configDeeplink;const utils_1=require(_0x12a90d(0x20a)),validate_1=require('./validate'),path_1=require(_0x12a90d(0x224));function configId(_0x2565e8){const _0x37e425=_0x12a90d,_0x3ac6d5=new URL(_0x2565e8['id']);let _0x14a538=_0x3ac6d5[_0x37e425(0x208)][_0x37e425(0x222)]('.')[_0x37e425(0x200)]();_0x2565e8['id']=_0x14a538[_0x37e425(0x213)]('.');}function _0x1ada(_0x437bf4,_0x21fc41){const _0x509d80=_0x509d();return _0x1ada=function(_0x1ada27,_0x234a42){_0x1ada27=_0x1ada27-0x1f0;let _0x464a15=_0x509d80[_0x1ada27];return _0x464a15;},_0x1ada(_0x437bf4,_0x21fc41);}function configStartUrl(_0x5461bd,_0x371097,_0x26133a){const _0x277d91=_0x12a90d,_0xe7a7b1=(0x0,validate_1[_0x277d91(0x220)])(_0x5461bd[_0x277d91(0x20b)]);let _0x1d39e0=_0x5461bd[_0x277d91(0x20b)];_0x26133a?!_0xe7a7b1&&(_0x1d39e0=(0x0,path_1[_0x277d91(0x213)])((0x0,utils_1[_0x277d91(0x1fc)])(_0x371097),_0x5461bd[_0x277d91(0x20b)])):!_0xe7a7b1&&(_0x1d39e0=(0x0,path_1[_0x277d91(0x213)])(_0x277d91(0x209),_0x5461bd['start_url'])),_0x5461bd['start_url']=_0x1d39e0;}function configScope(_0x5e4c4f,_0x1b070b){const _0xc21410=_0x12a90d;let _0x1bb86f='';const _0x13ec0d=(0x0,validate_1['validateURL'])(_0x5e4c4f['scope']);if(_0x1b070b&&_0x13ec0d){const _0x5837b7=new URL(_0x5e4c4f[_0xc21410(0x202)]),_0x219549=new URL(_0x5e4c4f[_0xc21410(0x20b)]);(_0x5837b7[_0xc21410(0x208)]!==_0x219549[_0xc21410(0x208)]||_0x5e4c4f[_0xc21410(0x20b)][_0xc21410(0x20f)](_0x1bb86f)!==0x0)&&(_0x1bb86f=(0x0,utils_1[_0xc21410(0x1fc)])(_0x5e4c4f[_0xc21410(0x20b)]));}else{if(_0x1b070b&&!_0x13ec0d){const _0x21fdca=_0x5e4c4f[_0xc21410(0x20b)][_0xc21410(0x20f)]('http://')===0x0?_0xc21410(0x1fd):_0xc21410(0x1fa);_0x1bb86f=(0x0,path_1[_0xc21410(0x213)])(_0x5e4c4f[_0xc21410(0x20b)][_0xc21410(0x211)](_0x21fdca,''),_0x5e4c4f[_0xc21410(0x202)]),_0x1bb86f=_0x21fdca+_0x1bb86f;}else _0x1bb86f=(0x0,path_1[_0xc21410(0x213)])((0x0,utils_1[_0xc21410(0x1fc)])(_0x5e4c4f[_0xc21410(0x20b)]),_0x5e4c4f[_0xc21410(0x202)]);}_0x5e4c4f[_0xc21410(0x202)]=_0x1bb86f;}function configDisplay(_0x30bba6){const _0x3a90f2=_0x12a90d;let _0x2c8c0e=_0x30bba6[_0x3a90f2(0x20e)];_0x2c8c0e!==_0x3a90f2(0x1f0)&&_0x2c8c0e!==_0x3a90f2(0x225)&&(_0x2c8c0e=_0x3a90f2(0x225));if(_0x30bba6[_0x3a90f2(0x21b)]&&_0x30bba6[_0x3a90f2(0x21b)][_0x3a90f2(0x1f3)]>0x0){const _0x1b1670=_0x30bba6[_0x3a90f2(0x21b)][_0x3a90f2(0x20f)](_0x3a90f2(0x1f0)),_0x207d5a=_0x30bba6[_0x3a90f2(0x21b)][_0x3a90f2(0x20f)]('standalone');if(_0x1b1670>=0x0&&_0x207d5a>=0x0)_0x2c8c0e=_0x207d5a>_0x1b1670?'standalone':_0x3a90f2(0x1f0);else{if(_0x1b1670>=0x0)_0x2c8c0e=_0x3a90f2(0x1f0);else _0x207d5a>=0x0&&(_0x2c8c0e=_0x3a90f2(0x225));}}}function configMainScene(_0x284d32){const _0x18255b=_0x12a90d;var _0x5eb167,_0x123380;const _0x428906=[_0x18255b(0x216),_0x18255b(0x205),_0x18255b(0x217)];let _0x1e5c64={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x18255b(0x216)};_0x284d32[_0x18255b(0x1fe)]&&(_0x1e5c64[_0x18255b(0x227)]['width']=Number((_0x5eb167=_0x284d32['mainScene']['defaultSize'])===null||_0x5eb167===void 0x0?void 0x0:_0x5eb167['width'])>0x0?_0x284d32[_0x18255b(0x1fe)][_0x18255b(0x227)]['width']:0x500,_0x1e5c64[_0x18255b(0x227)][_0x18255b(0x1f9)]=Number((_0x123380=_0x284d32[_0x18255b(0x1fe)]['defaultSize'])===null||_0x123380===void 0x0?void 0x0:_0x123380[_0x18255b(0x1f9)])>0x0?_0x284d32[_0x18255b(0x1fe)][_0x18255b(0x227)][_0x18255b(0x1f9)]:0x500,_0x1e5c64[_0x18255b(0x201)]=_0x428906[_0x18255b(0x22c)](_0x284d32[_0x18255b(0x1fe)]['resizability'])?_0x284d32[_0x18255b(0x1fe)][_0x18255b(0x201)]:'automatic'),_0x284d32[_0x18255b(0x1fe)]=_0x1e5c64;}function configDeeplink(_0x4e7a3e){const _0x14b693=_0x12a90d;if(_0x4e7a3e[_0x14b693(0x218)]&&_0x4e7a3e[_0x14b693(0x218)][_0x14b693(0x1f3)]>0x0)for(var _0x490ab7=0x0;_0x490ab7<_0x4e7a3e['protocol_handlers'][_0x14b693(0x1f3)];_0x490ab7++){const _0x3146bd=_0x4e7a3e[_0x14b693(0x218)][_0x490ab7];if(_0x3146bd[_0x14b693(0x1fb)]&&(exports[_0x14b693(0x22d)][_0x14b693(0x22c)](_0x3146bd[_0x14b693(0x1fb)])||_0x3146bd[_0x14b693(0x1fb)][_0x14b693(0x20f)](_0x14b693(0x223))===0x0)){if(!((0x0,validate_1[_0x14b693(0x220)])(_0x3146bd['url'])&&_0x3146bd[_0x14b693(0x221)][_0x14b693(0x20f)](_0x4e7a3e[_0x14b693(0x202)])<0x0))continue;}_0x4e7a3e[_0x14b693(0x218)][_0x14b693(0x1ff)](_0x490ab7,0x1),_0x490ab7--;}}exports['safelist']=[_0x12a90d(0x21c),_0x12a90d(0x20d),'ftps',_0x12a90d(0x210),'im',_0x12a90d(0x1f1),_0x12a90d(0x22a),_0x12a90d(0x219),'mailto',_0x12a90d(0x204),_0x12a90d(0x228),_0x12a90d(0x1f8),_0x12a90d(0x212),_0x12a90d(0x206),_0x12a90d(0x215),_0x12a90d(0x1f5),_0x12a90d(0x20c),'smsto',_0x12a90d(0x1f6),_0x12a90d(0x203),_0x12a90d(0x1f2),_0x12a90d(0x229),'wtai','xmpp'];
@@ -12,5 +12,5 @@ export declare class PWAGenerator {
12
12
  static DisplayModes: string[];
13
13
  static generator(args: InitArgs, isDev?: boolean): Promise<ManifestInfo>;
14
14
  static validate(args: InitArgs, isDev?: boolean): Promise<ManifestInfo>;
15
- static config(manifestInfo: ManifestInfo): void;
15
+ static config(manifestInfo: ManifestInfo, isDev: boolean): void;
16
16
  }
@@ -1 +1 @@
1
- 'use strict';const _0x30e46a=_0x34ee;(function(_0x36447c,_0x390382){const _0x5f18be=_0x34ee,_0x155cbb=_0x36447c();while(!![]){try{const _0xcdc133=-parseInt(_0x5f18be(0x1fe))/0x1*(parseInt(_0x5f18be(0x208))/0x2)+-parseInt(_0x5f18be(0x203))/0x3*(-parseInt(_0x5f18be(0x20f))/0x4)+-parseInt(_0x5f18be(0x20a))/0x5*(parseInt(_0x5f18be(0x212))/0x6)+-parseInt(_0x5f18be(0x1f1))/0x7*(-parseInt(_0x5f18be(0x202))/0x8)+parseInt(_0x5f18be(0x201))/0x9*(parseInt(_0x5f18be(0x211))/0xa)+-parseInt(_0x5f18be(0x214))/0xb+-parseInt(_0x5f18be(0x1fb))/0xc*(parseInt(_0x5f18be(0x1ff))/0xd);if(_0xcdc133===_0x390382)break;else _0x155cbb['push'](_0x155cbb['shift']());}catch(_0x479c94){_0x155cbb['push'](_0x155cbb['shift']());}}}(_0x4e23,0xcacb0));function _0x34ee(_0x5f3265,_0x58df10){const _0x4e2336=_0x4e23();return _0x34ee=function(_0x34eeea,_0x511d61){_0x34eeea=_0x34eeea-0x1f0;let _0x36009d=_0x4e2336[_0x34eeea];return _0x36009d;},_0x34ee(_0x5f3265,_0x58df10);}Object[_0x30e46a(0x20c)](exports,_0x30e46a(0x1f4),{'value':!![]}),exports['PWAGenerator']=void 0x0;const path_1=require(_0x30e46a(0x209)),config_1=require('./config'),load_1=require('../resource/load'),validate_1=require(_0x30e46a(0x20d));class PWAGenerator{static async[_0x30e46a(0x1f8)](_0x9cc01d,_0x1b4e73=![]){const _0xce8572=_0x30e46a;let _0x466869=await this[_0xce8572(0x1fa)](_0x9cc01d,_0x1b4e73);return console[_0xce8572(0x20e)](_0xce8572(0x206)),await this[_0xce8572(0x1f9)](_0x466869),console['log'](_0xce8572(0x1fc)),_0x466869;}static async[_0x30e46a(0x1fa)](_0xd5a158,_0x5f50a0=![]){const _0xca244a=_0x30e46a;let _0x436fb5={},_0x2ab617='',_0x574577=![];if(_0xd5a158[_0xca244a(0x204)])_0x2ab617=_0xd5a158[_0xca244a(0x204)],_0x574577=!![],_0x436fb5=await(0x0,load_1['loadJsonFromNet'])(_0xd5a158[_0xca244a(0x204)]);else _0xd5a158[_0xca244a(0x1f7)]&&(_0x2ab617=(0x0,path_1['join'])(process['cwd'](),_0xd5a158[_0xca244a(0x1f7)]),_0x436fb5=await(0x0,load_1['loadJsonFromDisk'])(_0xd5a158[_0xca244a(0x1f7)]));(0x0,validate_1[_0xca244a(0x1f6)])(_0x436fb5);var _0x5d2f09=(0x0,validate_1[_0xca244a(0x1f0)])(_0x436fb5,_0x2ab617,_0x574577,_0x5f50a0);return await(0x0,validate_1[_0xca244a(0x205)])(_0x436fb5,_0x2ab617),{'json':_0x436fb5,'url':_0x2ab617,'fromNet':_0x5d2f09};}static[_0x30e46a(0x1f9)](_0x522a18){const _0x81782b=_0x30e46a;(0x0,config_1['configStartUrl'])(_0x522a18[_0x81782b(0x216)],_0x522a18[_0x81782b(0x1f2)],_0x522a18['fromNet']),(0x0,config_1[_0x81782b(0x20b)])(_0x522a18[_0x81782b(0x216)]),(0x0,config_1['configScope'])(_0x522a18[_0x81782b(0x216)],_0x522a18[_0x81782b(0x210)]),(0x0,config_1[_0x81782b(0x215)])(_0x522a18[_0x81782b(0x216)]),(0x0,config_1[_0x81782b(0x200)])(_0x522a18[_0x81782b(0x216)]),(0x0,config_1[_0x81782b(0x1f3)])(_0x522a18[_0x81782b(0x216)]);}}function _0x4e23(){const _0xc6cbdc=['configId','defineProperty','./validate','log','4hLyNUj','fromNet','140HzMfdd','84cJXuxy','PWAGenerator','4304993epteJg','configDisplay','json','checkStartUrl','7RirJZs','url','configMainScene','__esModule','DisplayModes','checkManifestJson','manifest','generator','config','validate','754692wKpYdT','reset\x20manifest.json:\x20ok','minimal-ui','11jByrwy','221kqjHPr','configDeeplink','951813ZfgUkk','12484712EhBgVz','3512139pNEvdz','manifest-url','checkIcons','check\x20manifest.json:\x20ok','standalone','248552pQpbjV','path','197755OVJNMe'];_0x4e23=function(){return _0xc6cbdc;};return _0x4e23();}exports[_0x30e46a(0x213)]=PWAGenerator,PWAGenerator[_0x30e46a(0x1f5)]=[_0x30e46a(0x207),_0x30e46a(0x1fd)];
1
+ 'use strict';function _0x2072(){const _0x5e4cb4=['configStartUrl','182490OWDVDf','./validate','defineProperty','check\x20manifest.json:\x20ok','url','81135NzEDtS','./config','DisplayModes','configDisplay','4BjVYLd','PWAGenerator','cwd','21MtHWFZ','loadJsonFromDisk','loadJsonFromNet','29496uxfdCD','configScope','reset\x20manifest.json:\x20ok','path','3691048AEnoaM','17733639PNDttR','validate','manifest','2494293XsNCwc','manifest-url','join','8596992fuSsss','log','json','standalone','750RsGGxd','checkManifestJson','fromNet','__esModule','config','66RSCgZr'];_0x2072=function(){return _0x5e4cb4;};return _0x2072();}const _0x109a92=_0x3d11;(function(_0x35ef4a,_0x4b22c5){const _0x2b1e0d=_0x3d11,_0x17d718=_0x35ef4a();while(!![]){try{const _0x5c3984=-parseInt(_0x2b1e0d(0x14d))/0x1*(parseInt(_0x2b1e0d(0x161))/0x2)+-parseInt(_0x2b1e0d(0x155))/0x3*(-parseInt(_0x2b1e0d(0x147))/0x4)+-parseInt(_0x2b1e0d(0x163))/0x5+parseInt(_0x2b1e0d(0x158))/0x6+-parseInt(_0x2b1e0d(0x14a))/0x7*(parseInt(_0x2b1e0d(0x151))/0x8)+-parseInt(_0x2b1e0d(0x143))/0x9*(parseInt(_0x2b1e0d(0x15c))/0xa)+parseInt(_0x2b1e0d(0x152))/0xb;if(_0x5c3984===_0x4b22c5)break;else _0x17d718['push'](_0x17d718['shift']());}catch(_0x424492){_0x17d718['push'](_0x17d718['shift']());}}}(_0x2072,0xc4d86));Object[_0x109a92(0x140)](exports,_0x109a92(0x15f),{'value':!![]}),exports[_0x109a92(0x148)]=void 0x0;const path_1=require(_0x109a92(0x150)),config_1=require(_0x109a92(0x144)),load_1=require('../resource/load'),validate_1=require(_0x109a92(0x13f));class PWAGenerator{static async['generator'](_0x17f1c1,_0x5dbbf2=![]){const _0x3de9ec=_0x109a92;let _0x5ee4c0=await this[_0x3de9ec(0x153)](_0x17f1c1,_0x5dbbf2);return console['log'](_0x3de9ec(0x141)),await this[_0x3de9ec(0x160)](_0x5ee4c0,_0x5dbbf2),console[_0x3de9ec(0x159)](_0x3de9ec(0x14f)),_0x5ee4c0;}static async[_0x109a92(0x153)](_0x5176f9,_0x1e53a4=![]){const _0x5e5b70=_0x109a92;let _0x2b14fc={},_0x550232='',_0x1df3a3=![];if(_0x5176f9[_0x5e5b70(0x156)])_0x550232=_0x5176f9['manifest-url'],_0x1df3a3=!![],_0x2b14fc=await(0x0,load_1[_0x5e5b70(0x14c)])(_0x5176f9[_0x5e5b70(0x156)]);else _0x5176f9[_0x5e5b70(0x154)]&&(_0x550232=(0x0,path_1[_0x5e5b70(0x157)])(process[_0x5e5b70(0x149)](),_0x5176f9[_0x5e5b70(0x154)]),_0x2b14fc=await(0x0,load_1[_0x5e5b70(0x14b)])(_0x5176f9[_0x5e5b70(0x154)]));(0x0,validate_1[_0x5e5b70(0x15d)])(_0x2b14fc);var _0x189aa6=(0x0,validate_1['checkStartUrl'])(_0x2b14fc,_0x550232,_0x1df3a3,_0x1e53a4);if(!_0x1e53a4)(0x0,validate_1['checkId'])(_0x2b14fc);return await(0x0,validate_1['checkIcons'])(_0x2b14fc,_0x550232),{'json':_0x2b14fc,'url':_0x550232,'fromNet':_0x189aa6};}static['config'](_0x2a06eb,_0x1d9ae1){const _0x42c487=_0x109a92;(0x0,config_1[_0x42c487(0x162)])(_0x2a06eb[_0x42c487(0x15a)],_0x2a06eb[_0x42c487(0x142)],_0x2a06eb[_0x42c487(0x15e)]);if(!_0x1d9ae1)(0x0,config_1['configId'])(_0x2a06eb['json']);(0x0,config_1[_0x42c487(0x14e)])(_0x2a06eb[_0x42c487(0x15a)],_0x2a06eb[_0x42c487(0x15e)]),(0x0,config_1[_0x42c487(0x146)])(_0x2a06eb[_0x42c487(0x15a)]),(0x0,config_1['configDeeplink'])(_0x2a06eb[_0x42c487(0x15a)]),(0x0,config_1['configMainScene'])(_0x2a06eb[_0x42c487(0x15a)]);}}function _0x3d11(_0xece5eb,_0x50ba99){const _0x20725f=_0x2072();return _0x3d11=function(_0x3d119e,_0x4b8572){_0x3d119e=_0x3d119e-0x13f;let _0x8a7450=_0x20725f[_0x3d119e];return _0x8a7450;},_0x3d11(_0xece5eb,_0x50ba99);}exports[_0x109a92(0x148)]=PWAGenerator,PWAGenerator[_0x109a92(0x145)]=[_0x109a92(0x15b),'minimal-ui'];
@@ -1,4 +1,5 @@
1
1
  export declare function checkManifestJson(manifestJson: Record<string, any>): void;
2
2
  export declare function checkStartUrl(manifest: Record<string, any>, manifestUrl: string, isNet: boolean, isDev?: boolean): boolean;
3
3
  export declare function checkIcons(manifest: Record<string, any>, manifestUrl: string): Promise<void>;
4
+ export declare function checkId(manifest: Record<string, any>): void;
4
5
  export declare function validateURL(url: string): boolean;
@@ -1 +1 @@
1
- 'use strict';const _0x52296f=_0x1bb9;(function(_0x2ff3f0,_0x1178a2){const _0x686291=_0x1bb9,_0x5c2967=_0x2ff3f0();while(!![]){try{const _0x2ff6f2=-parseInt(_0x686291(0x127))/0x1*(-parseInt(_0x686291(0x103))/0x2)+-parseInt(_0x686291(0xff))/0x3+-parseInt(_0x686291(0x12e))/0x4+parseInt(_0x686291(0x10b))/0x5*(-parseInt(_0x686291(0x10f))/0x6)+parseInt(_0x686291(0xfd))/0x7*(-parseInt(_0x686291(0x12f))/0x8)+parseInt(_0x686291(0x115))/0x9+parseInt(_0x686291(0x11b))/0xa;if(_0x2ff6f2===_0x1178a2)break;else _0x5c2967['push'](_0x5c2967['shift']());}catch(_0x3297ed){_0x5c2967['push'](_0x5c2967['shift']());}}}(_0xc3e2,0x8da8f));Object[_0x52296f(0x101)](exports,_0x52296f(0x10c),{'value':!![]}),exports[_0x52296f(0x106)]=checkManifestJson,exports['checkStartUrl']=checkStartUrl,exports[_0x52296f(0x123)]=checkIcons,exports[_0x52296f(0x100)]=validateURL;function _0xc3e2(){const _0x2a14f9=['getHeight','push','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value','4337532MkyouI','4859544xaGVsn','CustomError','purpose','../utils/CustomError','loadImageFromNet','http','7riJGIi','parseRouter','3171960gqPhgf','validateURL','defineProperty','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','67406pziumu','name','../utils/utils','checkManifestJson','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','ImageHelper','path','15vzpYql','__esModule','length','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','272418Vqsppa','getWidth','DisplayModes','src','includes','icons','2573955WYIIbw','../resource/load','join','indexOf','forEach','http://','25392420mucNUT','split','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','host','loadImageFromDisk','PWAGenerator','display','short_name','checkIcons','start_url','sizes','In\x20the\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','19Baftlk','startsWith','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','https://'];_0xc3e2=function(){return _0x2a14f9;};return _0xc3e2();}const path_1=require(_0x52296f(0x10a)),_1=require('.'),CustomError_1=require(_0x52296f(0xfa)),utils_1=require(_0x52296f(0x105)),imageHelper_1=require('../resource/imageHelper'),load_1=require(_0x52296f(0x116));function checkManifestJson(_0x5c5790){const _0x1e5873=_0x52296f;var _0x43b59c;const _0x1c38fc=[];!_0x5c5790[_0x1e5873(0x104)]&&!_0x5c5790[_0x1e5873(0x122)]&&_0x1c38fc[_0x1e5873(0x12c)]({'code':0xbbe,'message':_0x1e5873(0x102),'message_staring_params':{}});!((_0x43b59c=_0x5c5790[_0x1e5873(0x114)])===null||_0x43b59c===void 0x0?void 0x0:_0x43b59c[_0x1e5873(0x10d)])&&_0x1c38fc[_0x1e5873(0x12c)]({'code':0xbbf,'message':_0x1e5873(0x107),'message_staring_params':{}});!_0x5c5790[_0x1e5873(0x124)]&&_0x1c38fc[_0x1e5873(0x12c)]({'code':0xbc0,'message':_0x1e5873(0x129),'message_staring_params':{}});!_1[_0x1e5873(0x120)][_0x1e5873(0x111)][_0x1e5873(0x113)](_0x5c5790[_0x1e5873(0x121)])&&_0x1c38fc[_0x1e5873(0x12c)]({'code':0xbc1,'message':_0x1e5873(0x12d)+(_0x1e5873(0x10e)+_0x5c5790[_0x1e5873(0x121)]+')'),'message_staring_params':{'display':_0x5c5790[_0x1e5873(0x121)]}});if(_0x1c38fc[_0x1e5873(0x10d)])throw new CustomError_1[(_0x1e5873(0x130))](_0x1c38fc);}function checkStartUrl(_0x28d5a6,_0x23ddf6,_0xf2965,_0x480a62=![]){const _0x2ee248=_0x52296f;var _0x2d4be3=![];if(_0x480a62)return _0x2d4be3=_0x28d5a6['start_url'][_0x2ee248(0x118)]('https://')===0x0||_0x28d5a6[_0x2ee248(0x124)][_0x2ee248(0x118)](_0x2ee248(0x11a))===0x0,_0x2d4be3;if(_0xf2965){if(_0x28d5a6[_0x2ee248(0x124)]['indexOf'](_0x2ee248(0x12a))==0x0){const _0x1b0a53=new URL(_0x28d5a6['start_url']),_0x335f9b=new URL(_0x23ddf6);if(_0x1b0a53[_0x2ee248(0x11e)]!==_0x335f9b[_0x2ee248(0x11e)])throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x28d5a6[_0x2ee248(0x124)][_0x2ee248(0x118)](_0x2ee248(0x11a))==0x0)throw new CustomError_1[(_0x2ee248(0x130))]({'code':0xfa0,'message':_0x2ee248(0x126),'message_staring_params':{}});}}return _0x2d4be3;}function _0x1bb9(_0x3423d9,_0xba5b2a){const _0xc3e26a=_0xc3e2();return _0x1bb9=function(_0x1bb994,_0x227828){_0x1bb994=_0x1bb994-0xf9;let _0x17b76a=_0xc3e26a[_0x1bb994];return _0x17b76a;},_0x1bb9(_0x3423d9,_0xba5b2a);}async function checkIcons(_0x4f0f84,_0x5eb20e){const _0x5e3d7f=_0x52296f;var _0x5d0552;const _0x3d56d4=(0x0,utils_1[_0x5e3d7f(0xfe)])(_0x5eb20e);let _0x2ad76f,_0x2acf37,_0x5a0b81,_0x3eeb89=0x0;for(var _0x16c7a3=0x0;_0x16c7a3<_0x4f0f84[_0x5e3d7f(0x114)][_0x5e3d7f(0x10d)];_0x16c7a3++){const _0x1440b5=_0x4f0f84[_0x5e3d7f(0x114)][_0x16c7a3];let _0x2faea9=((_0x5d0552=_0x1440b5[_0x5e3d7f(0xf9)])===null||_0x5d0552===void 0x0?void 0x0:_0x5d0552['indexOf']('maskable'))>=0x0;if(!_0x2faea9)continue;let _0x335c99=![],_0x33a691=_0x1440b5[_0x5e3d7f(0x112)],_0x11f28b,_0x399b82=0x0;!validateURL(_0x33a691)&&(_0x33a691=(0x0,path_1[_0x5e3d7f(0x117)])(_0x3d56d4,_0x33a691));if(_0x1440b5[_0x5e3d7f(0x125)]){const _0x3edb28=_0x1440b5[_0x5e3d7f(0x125)][_0x5e3d7f(0x11c)]('\x20');_0x3edb28[_0x5e3d7f(0x119)](_0x43d28d=>{const _0x2fcdea=_0x5e3d7f;let _0x490a21=_0x43d28d[_0x2fcdea(0x11c)]('x');Number(_0x490a21[0x0])>=0x400&&Number(_0x490a21[0x1])>=0x400&&(_0x335c99=!![],Number(_0x490a21[0x0])>_0x399b82&&(_0x399b82=Number(_0x490a21[0x0])));});}else _0x11f28b=!_0x33a691[_0x5e3d7f(0x128)](_0x5e3d7f(0xfc))?await(0x0,load_1[_0x5e3d7f(0x11f)])(_0x33a691):await(0x0,load_1[_0x5e3d7f(0xfb)])(_0x33a691),_0x11f28b[_0x5e3d7f(0x110)]()>=0x400&&_0x11f28b[_0x5e3d7f(0x12b)]()>=0x400&&(_0x335c99=!![],_0x11f28b[_0x5e3d7f(0x110)]()>_0x399b82&&(_0x399b82=_0x11f28b[_0x5e3d7f(0x110)]()));_0x335c99&&_0x2faea9&&(_0x399b82>_0x3eeb89&&(_0x3eeb89=_0x399b82,_0x2ad76f=_0x11f28b,_0x2acf37=_0x33a691,_0x5a0b81=_0x1440b5[_0x5e3d7f(0xf9)]));}if(_0x3eeb89===0x0)throw new CustomError_1[(_0x5e3d7f(0x130))]({'code':0xfa0,'message':_0x5e3d7f(0x11d),'message_staring_params':{}});else _0x2acf37&&(_0x2ad76f=!_0x2acf37[_0x5e3d7f(0x128)](_0x5e3d7f(0xfc))?await(0x0,load_1[_0x5e3d7f(0x11f)])(_0x2acf37):await(0x0,load_1[_0x5e3d7f(0xfb)])(_0x2acf37));if(_0x2ad76f&&!imageHelper_1[_0x5e3d7f(0x109)]['isFullyOpaque'](_0x2ad76f))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x5e3d7f(0x108),'message_staring_params':{}});_0x4f0f84[_0x5e3d7f(0x114)]=[{'src':_0x2acf37,'sizes':_0x3eeb89+'x'+_0x3eeb89,'purpose':_0x5a0b81}];}function validateURL(_0x133aff){try{return new URL(_0x133aff),!![];}catch(_0x99e0af){return![];}}
1
+ 'use strict';const _0x1d67cd=_0x218d;(function(_0x489d5d,_0x57d279){const _0x526536=_0x218d,_0x5ca338=_0x489d5d();while(!![]){try{const _0x3a684e=-parseInt(_0x526536(0x1cb))/0x1+parseInt(_0x526536(0x1d5))/0x2+parseInt(_0x526536(0x1d3))/0x3*(-parseInt(_0x526536(0x1cf))/0x4)+parseInt(_0x526536(0x1ad))/0x5+parseInt(_0x526536(0x1af))/0x6*(-parseInt(_0x526536(0x1ac))/0x7)+-parseInt(_0x526536(0x1b2))/0x8*(-parseInt(_0x526536(0x1ab))/0x9)+parseInt(_0x526536(0x1d9))/0xa*(parseInt(_0x526536(0x1d7))/0xb);if(_0x3a684e===_0x57d279)break;else _0x5ca338['push'](_0x5ca338['shift']());}catch(_0xc2405e){_0x5ca338['push'](_0x5ca338['shift']());}}}(_0x21ce,0x1ac52));function _0x218d(_0x4f4869,_0xee3cca){const _0x21ce2f=_0x21ce();return _0x218d=function(_0x218d35,_0x3431a1){_0x218d35=_0x218d35-0x1ab;let _0x4e5b71=_0x21ce2f[_0x218d35];return _0x4e5b71;},_0x218d(_0x4f4869,_0xee3cca);}Object[_0x1d67cd(0x1c4)](exports,_0x1d67cd(0x1d2),{'value':!![]}),exports[_0x1d67cd(0x1b0)]=checkManifestJson,exports[_0x1d67cd(0x1bf)]=checkStartUrl,exports[_0x1d67cd(0x1c9)]=checkIcons,exports[_0x1d67cd(0x1b6)]=checkId,exports[_0x1d67cd(0x1d8)]=validateURL;function _0x21ce(){const _0x1ab38b=['checkIcons','startsWith','37358InDnDs','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','short_name','length','5092KHNXvD','split','parseRouter','__esModule','465GsBZAN','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','87808eBhgKQ','http','961774fhuSMD','validateURL','20xJznOQ','https://','../utils/utils','indexOf','isFullyOpaque','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','184635QFbdrH','826231IawmdH','192170RbVTvm','icons','6DGXDMZ','checkManifestJson','start_url','80HtYbju','DisplayModes','../resource/imageHelper','loadImageFromDisk','checkId','getWidth','join','CustomError','push','purpose','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','name','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','checkStartUrl','Local\x20manifest\x20cannot\x20package\x20network\x20project','host','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value','loadImageFromNet','defineProperty','display','http://','sizes','../utils/CustomError'];_0x21ce=function(){return _0x1ab38b;};return _0x21ce();}const path_1=require('path'),_1=require('.'),CustomError_1=require(_0x1d67cd(0x1c8)),utils_1=require(_0x1d67cd(0x1db)),imageHelper_1=require(_0x1d67cd(0x1b4)),load_1=require('../resource/load');function checkManifestJson(_0x3c4a20){const _0x1b2cac=_0x1d67cd;var _0x2f8f5e;const _0x6dcecf=[];!_0x3c4a20[_0x1b2cac(0x1bd)]&&!_0x3c4a20[_0x1b2cac(0x1cd)]&&_0x6dcecf[_0x1b2cac(0x1ba)]({'code':0xbbe,'message':_0x1b2cac(0x1de),'message_staring_params':{}});!((_0x2f8f5e=_0x3c4a20[_0x1b2cac(0x1ae)])===null||_0x2f8f5e===void 0x0?void 0x0:_0x2f8f5e[_0x1b2cac(0x1ce)])&&_0x6dcecf[_0x1b2cac(0x1ba)]({'code':0xbbf,'message':_0x1b2cac(0x1d4),'message_staring_params':{}});!_0x3c4a20['start_url']&&_0x6dcecf[_0x1b2cac(0x1ba)]({'code':0xbc0,'message':_0x1b2cac(0x1bc),'message_staring_params':{}});!_1['PWAGenerator'][_0x1b2cac(0x1b3)]['includes'](_0x3c4a20[_0x1b2cac(0x1c5)])&&_0x6dcecf['push']({'code':0xbc1,'message':_0x1b2cac(0x1c2)+(_0x1b2cac(0x1cc)+_0x3c4a20['display']+')'),'message_staring_params':{'display':_0x3c4a20[_0x1b2cac(0x1c5)]}});if(_0x6dcecf[_0x1b2cac(0x1ce)])throw new CustomError_1[(_0x1b2cac(0x1b9))](_0x6dcecf);}function checkStartUrl(_0x249301,_0x1175cd,_0x211e10,_0x2018ed=![]){const _0x1c005f=_0x1d67cd;var _0x4cc6ef=![];if(_0x2018ed)return _0x4cc6ef=_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1da))===0x0||_0x249301['start_url'][_0x1c005f(0x1dc)]('http://')===0x0,_0x4cc6ef;if(_0x211e10){if(_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)]('https://')==0x0){const _0x563fb8=new URL(_0x249301[_0x1c005f(0x1b1)]),_0x19f111=new URL(_0x1175cd);if(_0x563fb8[_0x1c005f(0x1c1)]!==_0x19f111['host'])throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1c6))==0x0)throw new CustomError_1[(_0x1c005f(0x1b9))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1da))==0x0||_0x249301[_0x1c005f(0x1b1)][_0x1c005f(0x1dc)](_0x1c005f(0x1c6))==0x0)throw new CustomError_1[(_0x1c005f(0x1b9))]({'code':0xfa0,'message':_0x1c005f(0x1c0),'message_staring_params':{}});}return _0x4cc6ef;}async function checkIcons(_0x218b6c,_0x392df8){const _0x1cb7c4=_0x1d67cd;var _0x568eda;const _0x40951c=(0x0,utils_1[_0x1cb7c4(0x1d1)])(_0x392df8);let _0x3bc6aa,_0x465fd4,_0x330bfe,_0x48ad73=0x0;for(var _0x14df03=0x0;_0x14df03<_0x218b6c[_0x1cb7c4(0x1ae)]['length'];_0x14df03++){const _0x4a0bcf=_0x218b6c[_0x1cb7c4(0x1ae)][_0x14df03];let _0x33cb3b=((_0x568eda=_0x4a0bcf[_0x1cb7c4(0x1bb)])===null||_0x568eda===void 0x0?void 0x0:_0x568eda[_0x1cb7c4(0x1dc)]('maskable'))>=0x0;if(!_0x33cb3b)continue;let _0x1555f7=![],_0x44eb68=_0x4a0bcf['src'],_0x17499d,_0x3676c6=0x0;!validateURL(_0x44eb68)&&(_0x44eb68=(0x0,path_1[_0x1cb7c4(0x1b8)])(_0x40951c,_0x44eb68));if(_0x4a0bcf[_0x1cb7c4(0x1c7)]){const _0x5bba0e=_0x4a0bcf[_0x1cb7c4(0x1c7)][_0x1cb7c4(0x1d0)]('\x20');_0x5bba0e['forEach'](_0x5595bb=>{const _0x4a5cab=_0x1cb7c4;let _0x427d58=_0x5595bb[_0x4a5cab(0x1d0)]('x');Number(_0x427d58[0x0])>=0x400&&Number(_0x427d58[0x1])>=0x400&&(_0x1555f7=!![],Number(_0x427d58[0x0])>_0x3676c6&&(_0x3676c6=Number(_0x427d58[0x0])));});}else _0x17499d=!_0x44eb68[_0x1cb7c4(0x1ca)](_0x1cb7c4(0x1d6))?await(0x0,load_1['loadImageFromDisk'])(_0x44eb68):await(0x0,load_1[_0x1cb7c4(0x1c3)])(_0x44eb68),_0x17499d[_0x1cb7c4(0x1b7)]()>=0x400&&_0x17499d['getHeight']()>=0x400&&(_0x1555f7=!![],_0x17499d[_0x1cb7c4(0x1b7)]()>_0x3676c6&&(_0x3676c6=_0x17499d[_0x1cb7c4(0x1b7)]()));_0x1555f7&&_0x33cb3b&&(_0x3676c6>_0x48ad73&&(_0x48ad73=_0x3676c6,_0x3bc6aa=_0x17499d,_0x465fd4=_0x44eb68,_0x330bfe=_0x4a0bcf[_0x1cb7c4(0x1bb)]));}if(_0x48ad73===0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1cb7c4(0x1be),'message_staring_params':{}});else _0x465fd4&&(_0x3bc6aa=!_0x465fd4['startsWith']('http')?await(0x0,load_1[_0x1cb7c4(0x1b5)])(_0x465fd4):await(0x0,load_1['loadImageFromNet'])(_0x465fd4));if(_0x3bc6aa&&!imageHelper_1['ImageHelper'][_0x1cb7c4(0x1dd)](_0x3bc6aa))throw new CustomError_1[(_0x1cb7c4(0x1b9))]({'code':0xfa0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','message_staring_params':{}});_0x218b6c[_0x1cb7c4(0x1ae)]=[{'src':_0x465fd4,'sizes':_0x48ad73+'x'+_0x48ad73,'purpose':_0x330bfe}];}function checkId(_0xfc4949){const _0x2e1f15=_0x1d67cd;!_0xfc4949['id']&&(_0xfc4949['id']=_0xfc4949[_0x2e1f15(0x1b1)]);if(!validateURL(_0xfc4949['id']))throw new CustomError_1[(_0x2e1f15(0x1b9))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','message_staring_params':{}});}function validateURL(_0x45a3cc){try{return new URL(_0x45a3cc),!![];}catch(_0x5afca5){return![];}}
@@ -1 +1 @@
1
- 'use strict';const _0x483893=_0x531c;(function(_0x5c015b,_0x50a13b){const _0xaa1bb4=_0x531c,_0x506d2d=_0x5c015b();while(!![]){try{const _0x2514e9=-parseInt(_0xaa1bb4(0x166))/0x1+parseInt(_0xaa1bb4(0x156))/0x2+parseInt(_0xaa1bb4(0x159))/0x3*(parseInt(_0xaa1bb4(0x167))/0x4)+parseInt(_0xaa1bb4(0x162))/0x5+-parseInt(_0xaa1bb4(0x15e))/0x6*(-parseInt(_0xaa1bb4(0x168))/0x7)+-parseInt(_0xaa1bb4(0x165))/0x8*(-parseInt(_0xaa1bb4(0x15a))/0x9)+-parseInt(_0xaa1bb4(0x169))/0xa*(parseInt(_0xaa1bb4(0x15c))/0xb);if(_0x2514e9===_0x50a13b)break;else _0x506d2d['push'](_0x506d2d['shift']());}catch(_0x5d1a9a){_0x506d2d['push'](_0x506d2d['shift']());}}}(_0x2fe4,0xf1aea));function _0x2fe4(){const _0x161fb0=['1205710UmURok','isDirectory','readdirSync','7359NfzSBd','65367nTQEWq','unlinkSync','28722221mfgzHm','readFileSync','17502FrAmzz','writeFileSync','defineProperty','mkdirSync','1097350XfVISs','forEach','copyDir','2168ahEXju','1216982sNmXrD','2564RvTOdV','1092LtpjRJ','10vtlCwL','isFile','statSync','existsSync','__esModule','clearDir','log'];_0x2fe4=function(){return _0x161fb0;};return _0x2fe4();}function _0x531c(_0x298943,_0x43d246){const _0x2fe4b0=_0x2fe4();return _0x531c=function(_0x531ca9,_0x10abb6){_0x531ca9=_0x531ca9-0x154;let _0x13af75=_0x2fe4b0[_0x531ca9];return _0x13af75;},_0x531c(_0x298943,_0x43d246);}Object[_0x483893(0x160)](exports,_0x483893(0x16d),{'value':!![]}),exports[_0x483893(0x164)]=copyDir,exports[_0x483893(0x154)]=clearDir;const fs=require('fs');function copyDir(_0x5de495,_0x18edfe){const _0x2df313=_0x483893,_0x15a5b8=fs[_0x2df313(0x158)](_0x5de495);_0x15a5b8['forEach'](_0x163d28=>{const _0x4e8a27=_0x2df313,_0x5d9952=_0x5de495+'/'+_0x163d28,_0x1b7195=_0x18edfe+'/'+_0x163d28,_0x49c37a=fs[_0x4e8a27(0x16b)](_0x5d9952);if(_0x49c37a[_0x4e8a27(0x16a)]())try{fs[_0x4e8a27(0x15f)](_0x1b7195,fs[_0x4e8a27(0x15d)](_0x5d9952));}catch(_0xb272c6){console[_0x4e8a27(0x155)](_0xb272c6);}else _0x49c37a['isDirectory']()&&(!fs[_0x4e8a27(0x16c)](_0x1b7195)&&fs[_0x4e8a27(0x161)](_0x1b7195,{'recursive':!![]}),copyDir(_0x5d9952,_0x1b7195));});}function clearDir(_0x3db56f){const _0x401916=_0x483893,_0x314873=fs[_0x401916(0x158)](_0x3db56f);_0x314873[_0x401916(0x163)](_0x1985c1=>{const _0x968183=_0x401916,_0x798044=_0x3db56f+'/'+_0x1985c1,_0xb86081=fs[_0x968183(0x16b)](_0x798044);if(_0xb86081[_0x968183(0x16a)]())try{fs[_0x968183(0x15b)](_0x798044);}catch(_0x1bbc32){console['log'](_0x1bbc32);}else _0xb86081[_0x968183(0x157)]()&&clearDir(_0x798044);});}
1
+ 'use strict';function _0x2189(_0x5255cd,_0x2c7f3b){const _0x9110fe=_0x9110();return _0x2189=function(_0x21894b,_0x24cfc8){_0x21894b=_0x21894b-0x1d7;let _0x571a65=_0x9110fe[_0x21894b];return _0x571a65;},_0x2189(_0x5255cd,_0x2c7f3b);}const _0x43625c=_0x2189;(function(_0x4ec1a2,_0x5a87bd){const _0x472b41=_0x2189,_0x12937d=_0x4ec1a2();while(!![]){try{const _0x30024e=parseInt(_0x472b41(0x1da))/0x1+parseInt(_0x472b41(0x1d8))/0x2+-parseInt(_0x472b41(0x1e1))/0x3+-parseInt(_0x472b41(0x1db))/0x4*(-parseInt(_0x472b41(0x1e7))/0x5)+-parseInt(_0x472b41(0x1dc))/0x6+parseInt(_0x472b41(0x1dd))/0x7+-parseInt(_0x472b41(0x1e2))/0x8;if(_0x30024e===_0x5a87bd)break;else _0x12937d['push'](_0x12937d['shift']());}catch(_0x3b21eb){_0x12937d['push'](_0x12937d['shift']());}}}(_0x9110,0x354ee));Object[_0x43625c(0x1e4)](exports,_0x43625c(0x1ea),{'value':!![]}),exports[_0x43625c(0x1d7)]=copyDir,exports[_0x43625c(0x1e3)]=clearDir;const fs=require('fs');function _0x9110(){const _0x23531a=['isFile','isDirectory','5tUHUau','readFileSync','forEach','__esModule','writeFileSync','unlinkSync','copyDir','627076VupFNy','statSync','425977gSFOOo','1298884ndohsO','478272csVCiR','1594047qLGCWB','existsSync','mkdirSync','readdirSync','679296lgfPoa','6139704wIotVc','clearDir','defineProperty'];_0x9110=function(){return _0x23531a;};return _0x9110();}function copyDir(_0x2b7b11,_0x3df79f){const _0xda3804=_0x43625c,_0x35d49b=fs[_0xda3804(0x1e0)](_0x2b7b11);_0x35d49b[_0xda3804(0x1e9)](_0xd2f68e=>{const _0x260597=_0xda3804,_0x19a6c3=_0x2b7b11+'/'+_0xd2f68e,_0x5d224c=_0x3df79f+'/'+_0xd2f68e,_0x39fbb8=fs['statSync'](_0x19a6c3);if(_0x39fbb8[_0x260597(0x1e5)]())try{fs[_0x260597(0x1eb)](_0x5d224c,fs[_0x260597(0x1e8)](_0x19a6c3));}catch(_0x1ceea5){console['log'](_0x1ceea5);}else _0x39fbb8['isDirectory']()&&(!fs[_0x260597(0x1de)](_0x5d224c)&&fs[_0x260597(0x1df)](_0x5d224c,{'recursive':!![]}),copyDir(_0x19a6c3,_0x5d224c));});}function clearDir(_0x155060){const _0x374a1e=_0x43625c,_0x12e05e=fs[_0x374a1e(0x1e0)](_0x155060);_0x12e05e[_0x374a1e(0x1e9)](_0x52ab8a=>{const _0x746887=_0x374a1e,_0x1f3d46=_0x155060+'/'+_0x52ab8a,_0x23193a=fs[_0x746887(0x1d9)](_0x1f3d46);if(_0x23193a['isFile']())try{fs[_0x746887(0x1ec)](_0x1f3d46);}catch(_0x50f02d){console['log'](_0x50f02d);}else _0x23193a[_0x746887(0x1e6)]()&&clearDir(_0x1f3d46);});}
@@ -1 +1 @@
1
- 'use strict';const _0x354ff9=_0x49f3;(function(_0x119ebb,_0xaf8b2){const _0x69d2e7=_0x49f3,_0x4667df=_0x119ebb();while(!![]){try{const _0x4bcb6a=-parseInt(_0x69d2e7(0x96))/0x1+-parseInt(_0x69d2e7(0x8c))/0x2*(-parseInt(_0x69d2e7(0x93))/0x3)+-parseInt(_0x69d2e7(0x97))/0x4+parseInt(_0x69d2e7(0x95))/0x5+parseInt(_0x69d2e7(0x9b))/0x6*(-parseInt(_0x69d2e7(0x8b))/0x7)+parseInt(_0x69d2e7(0x8a))/0x8+parseInt(_0x69d2e7(0x98))/0x9;if(_0x4bcb6a===_0xaf8b2)break;else _0x4667df['push'](_0x4667df['shift']());}catch(_0x3bced5){_0x4667df['push'](_0x4667df['shift']());}}}(_0x10bc,0x8e424));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x354ff9(0x99)]=void 0x0;const Jimp=require('jimp'),sharp=require('sharp'),resvg_js_1=require('@resvg/resvg-js');function _0x49f3(_0x211d21,_0x477300){const _0x10bc2f=_0x10bc();return _0x49f3=function(_0x49f329,_0x30589a){_0x49f329=_0x49f329-0x89;let _0x59206f=_0x10bc2f[_0x49f329];return _0x59206f;},_0x49f3(_0x211d21,_0x477300);}class ImageHelper{static[_0x354ff9(0x9a)](_0x382f63){return new Jimp(_0x382f63,_0x382f63,0x0);}static async[_0x354ff9(0x90)](_0x1d41e6){const _0x3571f5=_0x354ff9;return await sharp(_0x1d41e6)[_0x3571f5(0x94)](_0x3571f5(0x92))[_0x3571f5(0xa0)]();}static async[_0x354ff9(0x9e)](_0x162fa2){const _0xb896f=_0x354ff9,_0x25d981={'fitTo':{'mode':_0xb896f(0x89),'value':0x400}},_0x20f2b6=new resvg_js_1[(_0xb896f(0x9d))](_0x162fa2,_0x25d981),_0x36593b=_0x20f2b6[_0xb896f(0x91)](),_0x2dd3b0=_0x36593b[_0xb896f(0x9f)]();return _0x2dd3b0;}static[_0x354ff9(0x9c)](_0x35313d){const _0x199dab=_0x354ff9,_0x2bbd83=_0x35313d['getWidth']()*_0x35313d[_0x199dab(0x8d)]();for(var _0x3117b9=0x0;_0x3117b9<_0x2bbd83;_0x3117b9++){const _0x419d4e=_0x3117b9*0x4+0x3;if(_0x35313d[_0x199dab(0x8e)][_0x199dab(0x8f)][_0x419d4e]<0xff)return![];}return!![];}}function _0x10bc(){const _0x17e5bb=['data','webp2PngBuffer','render','png','13071qcoxHv','toFormat','2153750GOcAdC','697509nLWRfK','3202308UeUSYv','1961811kyzzjI','ImageHelper','createImg','41598iLAWIQ','isFullyOpaque','Resvg','svg2img','asPng','toBuffer','width','3108504bAVLNo','77NtmTzf','514VzqqyB','getHeight','bitmap'];_0x10bc=function(){return _0x17e5bb;};return _0x10bc();}exports['ImageHelper']=ImageHelper;
1
+ 'use strict';const _0x3cef09=_0x518a;(function(_0x5469fa,_0x16df73){const _0x1923ec=_0x518a,_0x5d06d4=_0x5469fa();while(!![]){try{const _0x1c50bb=-parseInt(_0x1923ec(0x1e9))/0x1+-parseInt(_0x1923ec(0x1d1))/0x2*(-parseInt(_0x1923ec(0x1de))/0x3)+-parseInt(_0x1923ec(0x1d4))/0x4*(parseInt(_0x1923ec(0x1d9))/0x5)+-parseInt(_0x1923ec(0x1cc))/0x6*(parseInt(_0x1923ec(0x1e7))/0x7)+parseInt(_0x1923ec(0x1d6))/0x8+-parseInt(_0x1923ec(0x1da))/0x9*(parseInt(_0x1923ec(0x1d3))/0xa)+-parseInt(_0x1923ec(0x1e6))/0xb*(-parseInt(_0x1923ec(0x1e1))/0xc);if(_0x1c50bb===_0x16df73)break;else _0x5d06d4['push'](_0x5d06d4['shift']());}catch(_0x11ade1){_0x5d06d4['push'](_0x5d06d4['shift']());}}}(_0x11a5,0x1c9f5));function _0x518a(_0x4a6095,_0x3fd2b){const _0x11a5a3=_0x11a5();return _0x518a=function(_0x518a29,_0x43c8c6){_0x518a29=_0x518a29-0x1cc;let _0xd68fac=_0x11a5a3[_0x518a29];return _0xd68fac;},_0x518a(_0x4a6095,_0x3fd2b);}Object[_0x3cef09(0x1e5)](exports,_0x3cef09(0x1e3),{'value':!![]}),exports[_0x3cef09(0x1d8)]=void 0x0;const Jimp=require(_0x3cef09(0x1d2)),sharp=require(_0x3cef09(0x1e2)),resvg_js_1=require(_0x3cef09(0x1d0));function _0x11a5(){const _0x327949=['svg2img','@resvg/resvg-js','3154SoPoIV','jimp','90DPYSqK','421284QbvtEy','isFullyOpaque','693624TOKLqh','createImg','ImageHelper','5mMhVsR','48429QKqczk','png','webp2PngBuffer','Resvg','201OIZUzk','toFormat','asPng','1044TEFxHi','sharp','__esModule','render','defineProperty','26609IPTUll','258685chHAKI','bitmap','57918dzhCuX','getHeight','12BmcUMY','data','toBuffer'];_0x11a5=function(){return _0x327949;};return _0x11a5();}class ImageHelper{static[_0x3cef09(0x1d7)](_0x5326cb){return new Jimp(_0x5326cb,_0x5326cb,0x0);}static async[_0x3cef09(0x1dc)](_0x351559){const _0x4724a7=_0x3cef09;return await sharp(_0x351559)[_0x4724a7(0x1df)](_0x4724a7(0x1db))[_0x4724a7(0x1ce)]();}static async[_0x3cef09(0x1cf)](_0x32b9aa){const _0x1edf02=_0x3cef09,_0x49a73f={'fitTo':{'mode':'width','value':0x400}},_0x50975a=new resvg_js_1[(_0x1edf02(0x1dd))](_0x32b9aa,_0x49a73f),_0x209ac1=_0x50975a[_0x1edf02(0x1e4)](),_0x67dd74=_0x209ac1[_0x1edf02(0x1e0)]();return _0x67dd74;}static[_0x3cef09(0x1d5)](_0x4ce28a){const _0x5200c9=_0x3cef09,_0x92f828=_0x4ce28a['getWidth']()*_0x4ce28a[_0x5200c9(0x1ea)]();for(var _0x323d7b=0x0;_0x323d7b<_0x92f828;_0x323d7b++){const _0x4c95f9=_0x323d7b*0x4+0x3;if(_0x4ce28a[_0x5200c9(0x1e8)][_0x5200c9(0x1cd)][_0x4c95f9]<0xff)return![];}return!![];}}exports[_0x3cef09(0x1d8)]=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';const _0x271b1d=_0xab14;(function(_0x5ab7e9,_0x3cd59f){const _0x1da760=_0xab14,_0x531217=_0x5ab7e9();while(!![]){try{const _0x261b70=-parseInt(_0x1da760(0x1dd))/0x1*(-parseInt(_0x1da760(0x1d6))/0x2)+-parseInt(_0x1da760(0x1ca))/0x3*(parseInt(_0x1da760(0x1e0))/0x4)+parseInt(_0x1da760(0x1d3))/0x5+parseInt(_0x1da760(0x1dc))/0x6*(-parseInt(_0x1da760(0x1bd))/0x7)+-parseInt(_0x1da760(0x1d7))/0x8+-parseInt(_0x1da760(0x1d9))/0x9+-parseInt(_0x1da760(0x1d4))/0xa*(-parseInt(_0x1da760(0x1cb))/0xb);if(_0x261b70===_0x3cd59f)break;else _0x531217['push'](_0x531217['shift']());}catch(_0x4422a){_0x531217['push'](_0x531217['shift']());}}}(_0x389d,0x574d2));Object[_0x271b1d(0x1d8)](exports,'__esModule',{'value':!![]}),exports[_0x271b1d(0x1c5)]=exports[_0x271b1d(0x1cc)]=exports[_0x271b1d(0x1c1)]=exports[_0x271b1d(0x1db)]=exports['WEB_PROJECT_DIRECTORY']=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x271b1d(0x1c6)]=exports[_0x271b1d(0x1c2)]=void 0x0;const fs=require('fs'),path_1=require(_0x271b1d(0x1d0)),file_1=require(_0x271b1d(0x1cd)),load_1=require(_0x271b1d(0x1ce));exports['PROJECT_DIRECTORY']=(0x0,path_1['join'])(__dirname,_0x271b1d(0x1bf)),exports[_0x271b1d(0x1c6)]=(0x0,path_1[_0x271b1d(0x1c0)])(exports['PROJECT_DIRECTORY'],_0x271b1d(0x1d5)),exports['PROJECT_EXPORT_DIRECTORY']=(0x0,path_1[_0x271b1d(0x1c0)])(exports[_0x271b1d(0x1c2)],'./export'),exports[_0x271b1d(0x1e1)]=_0x271b1d(0x1be),exports[_0x271b1d(0x1db)]='web-spatial/Assets.xcassets',exports[_0x271b1d(0x1c1)]=exports[_0x271b1d(0x1db)]+_0x271b1d(0x1de),exports[_0x271b1d(0x1cc)]=exports['ASSET_DIRECTORY']+_0x271b1d(0x1df);function _0x389d(){const _0xc936f=['generateIcon','457855euUkgp','10zZkwWM','./build','248062nLtqkE','974664NFbpyb','defineProperty','6403671UHEGAu','cwd','ASSET_DIRECTORY','2282748NhxyJB','3aXxcJw','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','216868NvEplT','WEB_PROJECT_DIRECTORY','7FwGlUQ','web-spatial/static-web','../../../template/visionOSApp','join','BACK_APPICON_DIRECTORY','PROJECT_DIRECTORY','json','existsSync','ResourceManager','PROJECT_BUILD_DIRECTORY','icons','clearDir','src','3fFjILN','12781439kdEiQF','MIDDLE_APPICON_DIRECTORY','./file','./load','resize','path','moveProjectFrom'];_0x389d=function(){return _0xc936f;};return _0x389d();}function _0xab14(_0x229625,_0x19b2e2){const _0x389d1b=_0x389d();return _0xab14=function(_0xab1403,_0x28309e){_0xab1403=_0xab1403-0x1bd;let _0x251e8f=_0x389d1b[_0xab1403];return _0x251e8f;},_0xab14(_0x229625,_0x19b2e2);}class ResourceManager{static async[_0x271b1d(0x1d1)](_0xc55039){const _0x13d616=_0x271b1d,_0x391148=(0x0,path_1[_0x13d616(0x1c0)])(process[_0x13d616(0x1da)](),_0xc55039),_0x2b17cf=(0x0,path_1[_0x13d616(0x1c0)])(exports[_0x13d616(0x1c2)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x13d616(0x1c4)](_0x2b17cf)?fs['mkdirSync'](_0x2b17cf,{'recursive':!![]}):(0x0,file_1[_0x13d616(0x1c8)])(_0x2b17cf);try{(0x0,file_1['copyDir'])(_0x391148,_0x2b17cf);}catch(_0x85657d){console['log'](_0x85657d);}}static async[_0x271b1d(0x1d2)](_0x2117de){const _0x239f75=_0x271b1d,_0x1eb57c=_0x2117de[_0x239f75(0x1c3)],_0x461e05=_0x1eb57c[_0x239f75(0x1c7)][0x0][_0x239f75(0x1c9)],_0x4f4285=!_0x461e05['startsWith']('http')?await(0x0,load_1['loadImageFromDisk'])(_0x461e05):await(0x0,load_1['loadImageFromNet'])(_0x461e05);return _0x4f4285[_0x239f75(0x1cf)](0x400,0x400),_0x4f4285;}}exports[_0x271b1d(0x1c5)]=ResourceManager;
1
+ 'use strict';function _0x4608(){const _0xf367e7=['existsSync','8443780QFWrHu','./load','ResourceManager','log','380946APlWKq','mkdirSync','996602bSLRkE','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','moveProjectFrom','json','copyDir','path','PROJECT_BUILD_DIRECTORY','158456wOFLpp','PROJECT_DIRECTORY','./export','101815nbOfID','loadImageFromNet','./build','join','resize','../../../template/visionOSApp','50476XncVNR','ASSET_DIRECTORY','web-spatial/static-web','90lyTDWV','138TzeoWr','defineProperty','63BzeVMN','WEB_PROJECT_DIRECTORY','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','BACK_APPICON_DIRECTORY','3205293HRjkci','src','loadImageFromDisk','http','MIDDLE_APPICON_DIRECTORY','clearDir','PROJECT_EXPORT_DIRECTORY'];_0x4608=function(){return _0xf367e7;};return _0x4608();}const _0x31dd39=_0x5423;(function(_0x5603ca,_0x8b932e){const _0x303d13=_0x5423,_0x800681=_0x5603ca();while(!![]){try{const _0x46d8a7=parseInt(_0x303d13(0x179))/0x1+parseInt(_0x303d13(0x17b))/0x2+parseInt(_0x303d13(0x166))/0x3*(parseInt(_0x303d13(0x163))/0x4)+parseInt(_0x303d13(0x185))/0x5*(-parseInt(_0x303d13(0x167))/0x6)+parseInt(_0x303d13(0x16d))/0x7+-parseInt(_0x303d13(0x182))/0x8*(parseInt(_0x303d13(0x169))/0x9)+-parseInt(_0x303d13(0x175))/0xa;if(_0x46d8a7===_0x8b932e)break;else _0x800681['push'](_0x800681['shift']());}catch(_0x283b02){_0x800681['push'](_0x800681['shift']());}}}(_0x4608,0x40894));function _0x5423(_0x287d58,_0x134447){const _0x46084b=_0x4608();return _0x5423=function(_0x542305,_0x6884ea){_0x542305=_0x542305-0x15f;let _0x544285=_0x46084b[_0x542305];return _0x544285;},_0x5423(_0x287d58,_0x134447);}Object[_0x31dd39(0x168)](exports,'__esModule',{'value':!![]}),exports['ResourceManager']=exports[_0x31dd39(0x171)]=exports[_0x31dd39(0x16c)]=exports[_0x31dd39(0x164)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x31dd39(0x173)]=exports['PROJECT_BUILD_DIRECTORY']=exports[_0x31dd39(0x183)]=void 0x0;const fs=require('fs'),path_1=require(_0x31dd39(0x180)),file_1=require('./file'),load_1=require(_0x31dd39(0x176));exports[_0x31dd39(0x183)]=(0x0,path_1[_0x31dd39(0x160)])(__dirname,_0x31dd39(0x162)),exports[_0x31dd39(0x181)]=(0x0,path_1[_0x31dd39(0x160)])(exports[_0x31dd39(0x183)],_0x31dd39(0x15f)),exports[_0x31dd39(0x173)]=(0x0,path_1[_0x31dd39(0x160)])(exports[_0x31dd39(0x183)],_0x31dd39(0x184)),exports[_0x31dd39(0x16a)]=_0x31dd39(0x165),exports[_0x31dd39(0x164)]='web-spatial/Assets.xcassets',exports[_0x31dd39(0x16c)]=exports[_0x31dd39(0x164)]+_0x31dd39(0x16b),exports[_0x31dd39(0x171)]=exports[_0x31dd39(0x164)]+_0x31dd39(0x17c);class ResourceManager{static async[_0x31dd39(0x17d)](_0x462af4){const _0x4d4d2c=_0x31dd39,_0x2092c8=(0x0,path_1[_0x4d4d2c(0x160)])(process['cwd'](),_0x462af4),_0x3bc844=(0x0,path_1[_0x4d4d2c(0x160)])(exports[_0x4d4d2c(0x183)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x4d4d2c(0x174)](_0x3bc844)?fs[_0x4d4d2c(0x17a)](_0x3bc844,{'recursive':!![]}):(0x0,file_1[_0x4d4d2c(0x172)])(_0x3bc844);try{(0x0,file_1[_0x4d4d2c(0x17f)])(_0x2092c8,_0x3bc844);}catch(_0x3b7cbe){console[_0x4d4d2c(0x178)](_0x3b7cbe);}}static async['generateIcon'](_0xfd1d60){const _0x45a80c=_0x31dd39,_0x4283f2=_0xfd1d60[_0x45a80c(0x17e)],_0x1d8a7b=_0x4283f2['icons'][0x0][_0x45a80c(0x16e)],_0x4f75d2=!_0x1d8a7b['startsWith'](_0x45a80c(0x170))?await(0x0,load_1[_0x45a80c(0x16f)])(_0x1d8a7b):await(0x0,load_1[_0x45a80c(0x186)])(_0x1d8a7b);return _0x4f75d2[_0x45a80c(0x161)](0x400,0x400),_0x4f75d2;}}exports[_0x31dd39(0x177)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x4b560e=_0x4644;(function(_0xa5fa08,_0x4a330d){const _0x24cccb=_0x4644,_0x1e7672=_0xa5fa08();while(!![]){try{const _0x48ca2c=-parseInt(_0x24cccb(0x11b))/0x1+parseInt(_0x24cccb(0x11e))/0x2*(parseInt(_0x24cccb(0x12c))/0x3)+-parseInt(_0x24cccb(0x149))/0x4*(-parseInt(_0x24cccb(0x143))/0x5)+parseInt(_0x24cccb(0x140))/0x6+-parseInt(_0x24cccb(0x144))/0x7*(parseInt(_0x24cccb(0x13a))/0x8)+-parseInt(_0x24cccb(0x131))/0x9*(parseInt(_0x24cccb(0x148))/0xa)+parseInt(_0x24cccb(0x138))/0xb*(parseInt(_0x24cccb(0x116))/0xc);if(_0x48ca2c===_0x4a330d)break;else _0x1e7672['push'](_0x1e7672['shift']());}catch(_0x37cdff){_0x1e7672['push'](_0x1e7672['shift']());}}}(_0x50a2,0x559e5));Object['defineProperty'](exports,_0x4b560e(0x115),{'value':!![]}),exports[_0x4b560e(0x12b)]=loadJsonFromNet,exports[_0x4b560e(0x142)]=loadJsonFromDisk,exports[_0x4b560e(0x119)]=loadImageFromNet,exports[_0x4b560e(0x147)]=loadImageFromDisk,exports[_0x4b560e(0x146)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x4b560e(0x11d)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x4b560e(0x13c)),imageHelper_1=require(_0x4b560e(0x137));async function loadJsonFromNet(_0x9ef3d8){const _0x5ede6f=_0x4b560e,_0x1a399c=await FetchUtils_1_1['fetchUtils']['fetch'](_0x9ef3d8,{'encoding':_0x5ede6f(0x125)});if(_0x1a399c[_0x5ede6f(0x114)]!==0xc8)throw new CustomError_1[(_0x5ede6f(0x133))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0x9ef3d8+'.'+('The\x20response\x20status\x20is\x20'+_0x1a399c[_0x5ede6f(0x114)]+_0x5ede6f(0x14a)),'message_staring_params':{'web_manifest_url':_0x9ef3d8,'status':_0x1a399c[_0x5ede6f(0x114)]}});try{let _0x13e663;return _0x1a399c[_0x5ede6f(0x139)]?_0x13e663=await _0x1a399c[_0x5ede6f(0x139)]():[_0x5ede6f(0x122),_0x5ede6f(0x124),'br']['includes'](_0x1a399c[_0x5ede6f(0x11c)][_0x5ede6f(0x13b)])?_0x13e663=FetchUtils_1_1[_0x5ede6f(0x121)][_0x5ede6f(0x132)](Buffer[_0x5ede6f(0x134)](_0x1a399c[_0x5ede6f(0x13e)],_0x5ede6f(0x125)),_0x1a399c['headers'][_0x5ede6f(0x13b)])[_0x5ede6f(0x123)]():_0x13e663=Buffer[_0x5ede6f(0x134)](_0x1a399c[_0x5ede6f(0x13e)],'binary')['toString'](),JSON[_0x5ede6f(0x130)](_0x13e663[_0x5ede6f(0x12e)]());}catch(_0x50162e){throw new CustomError_1[(_0x5ede6f(0x133))]({'code':0xbbd,'message':_0x5ede6f(0x145),'message_staring_params':{}});}}function _0x50a2(){const _0x10266b=['from','fetch','get','./imageHelper','11bIyZMF','text','16AbcjoK','content-encoding','jimp','content-type','data','readFile','2010786PzxBnQ','webp2PngBuffer','loadJsonFromDisk','1396685cKZXre','96789pbivlF','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','loadFileString','loadImageFromDisk','140BpqNAG','4HQPtSH',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','\x20Responded\x20with\x20Content-Type\x20\x22','status','__esModule','6075588JzCxUl','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','image/webp','loadImageFromNet','image/','535972jWOJiB','headers','../utils/FetchUtils-1','457222JaNAES','startsWith','read','fetchUtils','gzip','toString','deflate','binary','arrayBuffer','Received\x20icon\x20with\x20invalid\x20Content-Type.','svg2img','ImageHelper','decode','loadJsonFromNet','6lRgQdL','image/svg','trim','Problem\x20reading\x20','parse','426645sfqeQP','decompressResponseBuffer','CustomError'];_0x50a2=function(){return _0x10266b;};return _0x50a2();}function _0x4644(_0x4c359f,_0x3c83c8){const _0x50a214=_0x50a2();return _0x4644=function(_0x46446f,_0x2dee2e){_0x46446f=_0x46446f-0x113;let _0x11d362=_0x50a214[_0x46446f];return _0x11d362;},_0x4644(_0x4c359f,_0x3c83c8);}async function loadJsonFromDisk(_0x440430){const _0x59232e=await loadFileString(_0x440430['toString']());return JSON['parse'](_0x59232e);}async function loadImageFromNet(_0x114839){const _0x463b1f=_0x4b560e,_0x580a6c=await FetchUtils_1_1[_0x463b1f(0x121)][_0x463b1f(0x135)](_0x114839,{'encoding':'binary'});if(_0x580a6c['status']!==0xc8)throw new CustomError_1[(_0x463b1f(0x133))]({'code':0x7d2,'message':_0x463b1f(0x117)+_0x580a6c['status'],'message_staring_params':{'icon_url':_0x114839,'status':_0x580a6c[_0x463b1f(0x114)]}});const _0x1063aa=_0x580a6c[_0x463b1f(0x11c)][_0x463b1f(0x136)]?_0x580a6c['headers'][_0x463b1f(0x136)]('content-type'):_0x580a6c[_0x463b1f(0x11c)][_0x463b1f(0x13d)];if(!(_0x1063aa===null||_0x1063aa===void 0x0?void 0x0:_0x1063aa[_0x463b1f(0x11f)](_0x463b1f(0x11a))))throw new CustomError_1['CustomError']({'code':0x7d3,'message':_0x463b1f(0x127)+(_0x463b1f(0x113)+_0x1063aa+'\x22'),'message_staring_params':{'icon_url':_0x114839,'contentType':_0x1063aa}});let _0xecc86d;_0x580a6c[_0x463b1f(0x126)]?_0xecc86d=await _0x580a6c[_0x463b1f(0x126)]():[_0x463b1f(0x122),'deflate','br']['includes'](_0x580a6c[_0x463b1f(0x11c)][_0x463b1f(0x13b)])?_0xecc86d=FetchUtils_1_1['fetchUtils'][_0x463b1f(0x132)](Buffer[_0x463b1f(0x134)](_0x580a6c[_0x463b1f(0x13e)],'binary'),_0x580a6c['headers'][_0x463b1f(0x13b)]):_0xecc86d=Buffer[_0x463b1f(0x134)](_0x580a6c[_0x463b1f(0x13e)],_0x463b1f(0x125));if(_0x1063aa[_0x463b1f(0x11f)](_0x463b1f(0x12d))){const _0x1646e2=new TextDecoder();try{_0xecc86d=await imageHelper_1['ImageHelper'][_0x463b1f(0x128)](_0x1646e2[_0x463b1f(0x12a)](_0xecc86d));}catch(_0x8c1c3d){throw new CustomError_1[(_0x463b1f(0x133))]({'code':0x7d4,'message':_0x463b1f(0x12f)+_0x114839+':\x20'+_0x8c1c3d,'message_staring_params':{'icon_url':_0x114839,'error':_0x8c1c3d}});}}return _0x1063aa[_0x463b1f(0x11f)](_0x463b1f(0x118))&&(_0xecc86d=await imageHelper_1[_0x463b1f(0x129)][_0x463b1f(0x141)](_0xecc86d)),await Jimp[_0x463b1f(0x120)](Buffer[_0x463b1f(0x134)](_0xecc86d));}async function loadImageFromDisk(_0x2441f7){const _0x4d5f98=_0x4b560e;return await Jimp[_0x4d5f98(0x120)](_0x2441f7);}async function loadFileString(_0x17d647){const _0x73435f=_0x4b560e;let _0x1323fb=await fs['promises'][_0x73435f(0x13f)](_0x17d647['toString']());return _0x1323fb[_0x73435f(0x123)]();}
1
+ 'use strict';const _0x58363f=_0x278b;(function(_0x38ebb0,_0x552135){const _0x2913e8=_0x278b,_0x84ad3a=_0x38ebb0();while(!![]){try{const _0x16b540=-parseInt(_0x2913e8(0xa9))/0x1*(parseInt(_0x2913e8(0xc9))/0x2)+-parseInt(_0x2913e8(0xc2))/0x3+parseInt(_0x2913e8(0xa0))/0x4*(parseInt(_0x2913e8(0x9b))/0x5)+parseInt(_0x2913e8(0xa1))/0x6*(-parseInt(_0x2913e8(0xaa))/0x7)+parseInt(_0x2913e8(0xc1))/0x8*(parseInt(_0x2913e8(0xb0))/0x9)+-parseInt(_0x2913e8(0xa3))/0xa*(-parseInt(_0x2913e8(0xb2))/0xb)+parseInt(_0x2913e8(0xbc))/0xc;if(_0x16b540===_0x552135)break;else _0x84ad3a['push'](_0x84ad3a['shift']());}catch(_0x16373e){_0x84ad3a['push'](_0x84ad3a['shift']());}}}(_0x5223,0x4d4b8));Object[_0x58363f(0xb7)](exports,_0x58363f(0xa4),{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x58363f(0x99)]=loadJsonFromDisk,exports[_0x58363f(0xb1)]=loadImageFromNet,exports[_0x58363f(0xa7)]=loadImageFromDisk,exports[_0x58363f(0xa2)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x58363f(0xc5)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x58363f(0xba)),imageHelper_1=require(_0x58363f(0x9f));async function loadJsonFromNet(_0x5646e0){const _0x3d222c=_0x58363f,_0x392f81=await FetchUtils_1_1['fetchUtils'][_0x3d222c(0x9e)](_0x5646e0,{'encoding':'binary'});if(_0x392f81[_0x3d222c(0xb5)]!==0xc8)throw new CustomError_1[(_0x3d222c(0xc4))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0x5646e0+'.'+('The\x20response\x20status\x20is\x20'+_0x392f81['status']+_0x3d222c(0xa8)),'message_staring_params':{'web_manifest_url':_0x5646e0,'status':_0x392f81[_0x3d222c(0xb5)]}});try{let _0x562f1b;return _0x392f81[_0x3d222c(0xbf)]?_0x562f1b=await _0x392f81[_0x3d222c(0xbf)]():[_0x3d222c(0xab),'deflate','br'][_0x3d222c(0xc7)](_0x392f81['headers'][_0x3d222c(0x9d)])?_0x562f1b=FetchUtils_1_1[_0x3d222c(0xbd)]['decompressResponseBuffer'](Buffer[_0x3d222c(0xaf)](_0x392f81[_0x3d222c(0xbb)],'binary'),_0x392f81[_0x3d222c(0xca)]['content-encoding'])[_0x3d222c(0xc8)]():_0x562f1b=Buffer[_0x3d222c(0xaf)](_0x392f81[_0x3d222c(0xbb)],_0x3d222c(0xbe))[_0x3d222c(0xc8)](),JSON[_0x3d222c(0xad)](_0x562f1b[_0x3d222c(0x9a)]());}catch(_0x3b4a09){throw new CustomError_1['CustomError']({'code':0xbbd,'message':'Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','message_staring_params':{}});}}function _0x278b(_0x2bf4fe,_0x296c36){const _0x52233d=_0x5223();return _0x278b=function(_0x278be3,_0x2a067d){_0x278be3=_0x278be3-0x99;let _0x285771=_0x52233d[_0x278be3];return _0x285771;},_0x278b(_0x2bf4fe,_0x296c36);}async function loadJsonFromDisk(_0x3e3338){const _0x5b26d8=_0x58363f,_0x1eaa2d=await loadFileString(_0x3e3338[_0x5b26d8(0xc8)]());return JSON[_0x5b26d8(0xad)](_0x1eaa2d);}async function loadImageFromNet(_0x11f1dd){const _0x12fc21=_0x58363f,_0x158166=await FetchUtils_1_1[_0x12fc21(0xbd)][_0x12fc21(0x9e)](_0x11f1dd,{'encoding':'binary'});if(_0x158166['status']!==0xc8)throw new CustomError_1[(_0x12fc21(0xc4))]({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0x158166[_0x12fc21(0xb5)],'message_staring_params':{'icon_url':_0x11f1dd,'status':_0x158166[_0x12fc21(0xb5)]}});const _0x57bb19=_0x158166[_0x12fc21(0xca)]['get']?_0x158166[_0x12fc21(0xca)][_0x12fc21(0xb4)](_0x12fc21(0xc0)):_0x158166[_0x12fc21(0xca)][_0x12fc21(0xc0)];if(!(_0x57bb19===null||_0x57bb19===void 0x0?void 0x0:_0x57bb19[_0x12fc21(0xb6)]('image/')))throw new CustomError_1[(_0x12fc21(0xc4))]({'code':0x7d3,'message':_0x12fc21(0xac)+(_0x12fc21(0x9c)+_0x57bb19+'\x22'),'message_staring_params':{'icon_url':_0x11f1dd,'contentType':_0x57bb19}});let _0x59c403;_0x158166[_0x12fc21(0xa5)]?_0x59c403=await _0x158166[_0x12fc21(0xa5)]():[_0x12fc21(0xab),_0x12fc21(0xb3),'br']['includes'](_0x158166[_0x12fc21(0xca)][_0x12fc21(0x9d)])?_0x59c403=FetchUtils_1_1['fetchUtils']['decompressResponseBuffer'](Buffer['from'](_0x158166[_0x12fc21(0xbb)],_0x12fc21(0xbe)),_0x158166[_0x12fc21(0xca)][_0x12fc21(0x9d)]):_0x59c403=Buffer[_0x12fc21(0xaf)](_0x158166[_0x12fc21(0xbb)],_0x12fc21(0xbe));if(_0x57bb19[_0x12fc21(0xb6)]('image/svg')){const _0x4afe52=new TextDecoder();try{_0x59c403=await imageHelper_1['ImageHelper']['svg2img'](_0x4afe52[_0x12fc21(0xc3)](_0x59c403));}catch(_0x4ded98){throw new CustomError_1[(_0x12fc21(0xc4))]({'code':0x7d4,'message':_0x12fc21(0xb9)+_0x11f1dd+':\x20'+_0x4ded98,'message_staring_params':{'icon_url':_0x11f1dd,'error':_0x4ded98}});}}return _0x57bb19[_0x12fc21(0xb6)]('image/webp')&&(_0x59c403=await imageHelper_1[_0x12fc21(0xcb)][_0x12fc21(0xa6)](_0x59c403)),await Jimp[_0x12fc21(0xae)](Buffer[_0x12fc21(0xaf)](_0x59c403));}function _0x5223(){const _0xe0e59a=['1604406KKmyyD','loadFileString','162290XFhJEr','__esModule','arrayBuffer','webp2PngBuffer','loadImageFromDisk',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','3gvcFXJ','7rtDqnk','gzip','Received\x20icon\x20with\x20invalid\x20Content-Type.','parse','read','from','74889vvZOQh','loadImageFromNet','352bgGyZV','deflate','get','status','startsWith','defineProperty','promises','Problem\x20reading\x20','jimp','data','5586108hSUkmF','fetchUtils','binary','text','content-type','104PBLUhF','897681YmqFDI','decode','CustomError','../utils/FetchUtils-1','readFile','includes','toString','318170qVnVfa','headers','ImageHelper','loadJsonFromDisk','trim','36145HiQKxw','\x20Responded\x20with\x20Content-Type\x20\x22','content-encoding','fetch','./imageHelper','148vCBiBF'];_0x5223=function(){return _0xe0e59a;};return _0x5223();}async function loadImageFromDisk(_0x556ff2){const _0x1ec815=_0x58363f;return await Jimp[_0x1ec815(0xae)](_0x556ff2);}async function loadFileString(_0x5e3a59){const _0x2b8741=_0x58363f;let _0x270e08=await fs[_0x2b8741(0xb8)][_0x2b8741(0xc6)](_0x5e3a59[_0x2b8741(0xc8)]());return _0x270e08[_0x2b8741(0xc8)]();}
@@ -1 +1 @@
1
- 'use strict';function _0x54fe(){var _0xb2814f=['defineProperty','7753491DTFMva','type','505192zTLDce','stringify','5770ajFEOL','CustomError','8939688cwNZqD','8EuEkon','55736CNIzWi','9251sopWYo','1813jFQUlO','2096628XGMwis','__esModule','15LTayyP','info','21870ofkyfY','1yGaqXM'];_0x54fe=function(){return _0xb2814f;};return _0x54fe();}var _0x36a322=_0x3c23;(function(_0xcec94f,_0x4cafae){var _0x55e292=_0x3c23,_0x4dd985=_0xcec94f();while(!![]){try{var _0x1bf69f=parseInt(_0x55e292(0x179))/0x1*(parseInt(_0x55e292(0x17d))/0x2)+parseInt(_0x55e292(0x186))/0x3+-parseInt(_0x55e292(0x183))/0x4*(parseInt(_0x55e292(0x188))/0x5)+-parseInt(_0x55e292(0x178))/0x6*(parseInt(_0x55e292(0x185))/0x7)+parseInt(_0x55e292(0x182))/0x8*(parseInt(_0x55e292(0x17b))/0x9)+-parseInt(_0x55e292(0x17f))/0xa*(-parseInt(_0x55e292(0x184))/0xb)+-parseInt(_0x55e292(0x181))/0xc;if(_0x1bf69f===_0x4cafae)break;else _0x4dd985['push'](_0x4dd985['shift']());}catch(_0x123476){_0x4dd985['push'](_0x4dd985['shift']());}}}(_0x54fe,0x8a865));Object[_0x36a322(0x17a)](exports,_0x36a322(0x187),{'value':!![]}),exports[_0x36a322(0x180)]=void 0x0;function _0x3c23(_0x444602,_0x302607){var _0x54fe25=_0x54fe();return _0x3c23=function(_0x3c2320,_0x3690ed){_0x3c2320=_0x3c2320-0x177;var _0xc8790a=_0x54fe25[_0x3c2320];return _0xc8790a;},_0x3c23(_0x444602,_0x302607);}class CustomError extends Error{constructor(_0x2aaf0e,_0xbf84e0){var _0x4bc70e=_0x36a322;super(JSON[_0x4bc70e(0x17e)](_0x2aaf0e)),this['customMessage']=_0x2aaf0e,this[_0x4bc70e(0x17c)]=_0xbf84e0||_0x4bc70e(0x177);}}exports[_0x36a322(0x180)]=CustomError;
1
+ 'use strict';function _0x229f(_0x5e2518,_0x4f606d){var _0x457dc3=_0x457d();return _0x229f=function(_0x229fc8,_0x1eec33){_0x229fc8=_0x229fc8-0x1aa;var _0x15acb4=_0x457dc3[_0x229fc8];return _0x15acb4;},_0x229f(_0x5e2518,_0x4f606d);}var _0x13d50e=_0x229f;function _0x457d(){var _0x38766a=['CustomError','205296yGRvGZ','type','304YkqSvF','__esModule','2670440GNYoyR','900816yEFmev','8346ghtCBr','info','177795tSMHsL','stringify','defineProperty','441ErsoZO','3695700GwcmKe','6CReELA','699515zTujDo'];_0x457d=function(){return _0x38766a;};return _0x457d();}(function(_0x12f09e,_0x203f63){var _0x505ac0=_0x229f,_0x8ea28a=_0x12f09e();while(!![]){try{var _0x2a4f8b=parseInt(_0x505ac0(0x1b1))/0x1+parseInt(_0x505ac0(0x1ad))/0x2+parseInt(_0x505ac0(0x1af))/0x3*(parseInt(_0x505ac0(0x1ab))/0x4)+-parseInt(_0x505ac0(0x1b7))/0x5*(parseInt(_0x505ac0(0x1b6))/0x6)+parseInt(_0x505ac0(0x1ae))/0x7+-parseInt(_0x505ac0(0x1b9))/0x8*(parseInt(_0x505ac0(0x1b4))/0x9)+parseInt(_0x505ac0(0x1b5))/0xa;if(_0x2a4f8b===_0x203f63)break;else _0x8ea28a['push'](_0x8ea28a['shift']());}catch(_0x5c2ac4){_0x8ea28a['push'](_0x8ea28a['shift']());}}}(_0x457d,0xc9814));Object[_0x13d50e(0x1b3)](exports,_0x13d50e(0x1ac),{'value':!![]}),exports[_0x13d50e(0x1b8)]=void 0x0;class CustomError extends Error{constructor(_0x8912ff,_0x53892a){var _0x311386=_0x13d50e;super(JSON[_0x311386(0x1b2)](_0x8912ff)),this['customMessage']=_0x8912ff,this[_0x311386(0x1aa)]=_0x53892a||_0x311386(0x1b0);}}exports[_0x13d50e(0x1b8)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';const _0x1eed6a=_0x3c2e;(function(_0x59429b,_0x330a1a){const _0x3c0fe2=_0x3c2e,_0x381e9f=_0x59429b();while(!![]){try{const _0x484697=parseInt(_0x3c0fe2(0x81))/0x1+parseInt(_0x3c0fe2(0x77))/0x2+-parseInt(_0x3c0fe2(0x74))/0x3+-parseInt(_0x3c0fe2(0x82))/0x4*(parseInt(_0x3c0fe2(0x7b))/0x5)+-parseInt(_0x3c0fe2(0x78))/0x6+parseInt(_0x3c0fe2(0x83))/0x7*(-parseInt(_0x3c0fe2(0x7e))/0x8)+parseInt(_0x3c0fe2(0x76))/0x9;if(_0x484697===_0x330a1a)break;else _0x381e9f['push'](_0x381e9f['shift']());}catch(_0x8e76d5){_0x381e9f['push'](_0x381e9f['shift']());}}}(_0x183c,0x1c2b0));Object[_0x1eed6a(0x7d)](exports,'__esModule',{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0x33ba05=_0x1eed6a;this['fetchEngine']=null,this['fetch']=null,this['downloadFile']=null,this[_0x33ba05(0x75)]=null;}[_0x1eed6a(0x80)](_0x1a0586){const _0xe97a44=_0x1eed6a;this[_0xe97a44(0x7a)]=_0x1a0586;}[_0x1eed6a(0x7f)](_0x304091){this['fetch']=_0x304091;}[_0x1eed6a(0x7c)](_0x59c471){this['downloadFile']=_0x59c471;}[_0x1eed6a(0x79)](_0x1a74f3){this['decompressResponseBuffer']=_0x1a74f3;}}function _0x3c2e(_0x36b8bf,_0x17c2b8){const _0x183cdb=_0x183c();return _0x3c2e=function(_0x3c2e56,_0x3961c4){_0x3c2e56=_0x3c2e56-0x73;let _0x31b31f=_0x183cdb[_0x3c2e56];return _0x31b31f;},_0x3c2e(_0x36b8bf,_0x17c2b8);}const fetchUtils=new FetchUtils();function _0x183c(){const _0x5618c7=['setDecompressResponseBuffer','fetchEngine','5hBeTaN','setDownloadFile','defineProperty','48bpdBzv','setFetch','setFetchEngine','132647gBjedv','500616ArFeCw','129493vqDNQF','fetchUtils','535164FvHpuM','decompressResponseBuffer','3535857OEYDHl','98256IceGXg','268416ihjLwS'];_0x183c=function(){return _0x5618c7;};return _0x183c();}exports[_0x1eed6a(0x73)]=fetchUtils;
1
+ 'use strict';const _0x363c26=_0x27f6;(function(_0x57cf3e,_0x45aa9c){const _0x2903cc=_0x27f6,_0x6672c=_0x57cf3e();while(!![]){try{const _0x555255=-parseInt(_0x2903cc(0x198))/0x1*(-parseInt(_0x2903cc(0x19e))/0x2)+-parseInt(_0x2903cc(0x196))/0x3+-parseInt(_0x2903cc(0x19f))/0x4*(-parseInt(_0x2903cc(0x191))/0x5)+-parseInt(_0x2903cc(0x1a4))/0x6*(-parseInt(_0x2903cc(0x1a2))/0x7)+-parseInt(_0x2903cc(0x195))/0x8+parseInt(_0x2903cc(0x1a1))/0x9*(parseInt(_0x2903cc(0x19b))/0xa)+-parseInt(_0x2903cc(0x194))/0xb;if(_0x555255===_0x45aa9c)break;else _0x6672c['push'](_0x6672c['shift']());}catch(_0x5afa1a){_0x6672c['push'](_0x6672c['shift']());}}}(_0x290b,0xaa622));function _0x290b(){const _0x235095=['setFetchEngine','18QxKTQX','1284908HjKlhb','fetch','187605rrtMPj','768684VYZHMp','setDownloadFile','42LyBYex','5ovwbxm','fetchEngine','fetchUtils','14543166CsXCFG','505336ZjxNsF','2276034ljkiWT','setDecompressResponseBuffer','113595jgaevA','setFetch','__esModule','350nDXXXR','defineProperty'];_0x290b=function(){return _0x235095;};return _0x290b();}function _0x27f6(_0x42f745,_0x49553b){const _0x290b95=_0x290b();return _0x27f6=function(_0x27f624,_0x42fe45){_0x27f624=_0x27f624-0x191;let _0x1a731a=_0x290b95[_0x27f624];return _0x1a731a;},_0x27f6(_0x42f745,_0x49553b);}Object[_0x363c26(0x19c)](exports,_0x363c26(0x19a),{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0x12cc24=_0x363c26;this[_0x12cc24(0x192)]=null,this[_0x12cc24(0x1a0)]=null,this['downloadFile']=null,this['decompressResponseBuffer']=null;}[_0x363c26(0x19d)](_0x4a71f2){const _0x2e8be9=_0x363c26;this[_0x2e8be9(0x192)]=_0x4a71f2;}[_0x363c26(0x199)](_0x300576){this['fetch']=_0x300576;}[_0x363c26(0x1a3)](_0x245e6e){this['downloadFile']=_0x245e6e;}[_0x363c26(0x197)](_0x41f352){this['decompressResponseBuffer']=_0x41f352;}}const fetchUtils=new FetchUtils();exports[_0x363c26(0x193)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x5d8094=_0x3ba1;(function(_0x1945e4,_0x3ffc61){var _0x36006b=_0x3ba1,_0xcaab72=_0x1945e4();while(!![]){try{var _0x567861=-parseInt(_0x36006b(0x1ea))/0x1*(-parseInt(_0x36006b(0x1e0))/0x2)+-parseInt(_0x36006b(0x1d7))/0x3+-parseInt(_0x36006b(0x1e8))/0x4+parseInt(_0x36006b(0x1e2))/0x5*(parseInt(_0x36006b(0x1e6))/0x6)+-parseInt(_0x36006b(0x1db))/0x7+parseInt(_0x36006b(0x1f1))/0x8+-parseInt(_0x36006b(0x1dc))/0x9;if(_0x567861===_0x3ffc61)break;else _0xcaab72['push'](_0xcaab72['shift']());}catch(_0x5cb01f){_0xcaab72['push'](_0xcaab72['shift']());}}}(_0x4122,0x1fbc7));function _0x3ba1(_0x348073,_0x4ced60){var _0x4122ba=_0x4122();return _0x3ba1=function(_0x3ba11e,_0x5298ec){_0x3ba11e=_0x3ba11e-0x1d3;var _0x7645b5=_0x4122ba[_0x3ba11e];return _0x7645b5;},_0x3ba1(_0x348073,_0x4ced60);}function _0x4122(){var _0x4e2503=['13515PfflQb','prefix','\x1b[0m','red','newLog','warn','defineProperty','1587560AGsizU','\x1b[36m','yellow','verbose','\x1b[33m','ConsoleLog','tag','150093zkbAyP','output','ERROR\x20','\x1b[31m','206059dvcGYt','480060jsqRNu','inverse','info','log','18UTQaZs','setVerbose','110MlGWEA','concat','error','dim','53094SlJbzC','__esModule','1007836XnGamp','WARNING\x20'];_0x4122=function(){return _0x4e2503;};return _0x4122();}Object[_0x5d8094(0x1f0)](exports,_0x5d8094(0x1e7),{'value':!![]}),exports[_0x5d8094(0x1d5)]=void 0x0;class ConsoleLog{constructor(_0x363ee3='',_0x3a705a=![],_0x1f0928=console){var _0x575232=_0x5d8094;this[_0x575232(0x1d6)]=_0x363ee3,this['verbose']=_0x3a705a,this[_0x575232(0x1eb)]=this[_0x575232(0x1dd)](_0x363ee3),this['output']=_0x1f0928;}['debug'](_0x33f505,..._0x470a01){var _0x25b5db=_0x5d8094;if(!this[_0x25b5db(0x1d3)])return;this[_0x25b5db(0x1df)](this[_0x25b5db(0x1d8)]['log'],this[_0x25b5db(0x1e5)](_0x33f505),..._0x470a01);}[_0x5d8094(0x1de)](_0x4051d3,..._0x3cf2cf){var _0x27822c=_0x5d8094;this['log'](this[_0x27822c(0x1d8)][_0x27822c(0x1df)],_0x4051d3,..._0x3cf2cf);}[_0x5d8094(0x1ef)](_0xbd4e86,..._0x524d2a){var _0x5e506e=_0x5d8094;this['log'](this[_0x5e506e(0x1d8)][_0x5e506e(0x1ef)],this[_0x5e506e(0x1f3)](_0x5e506e(0x1e9)+_0xbd4e86),..._0x524d2a);}['error'](_0x2b7cbf,..._0x11cff3){var _0xcec250=_0x5d8094;this[_0xcec250(0x1d8)][_0xcec250(0x1e4)]('\x0a'),this[_0xcec250(0x1df)](this[_0xcec250(0x1d8)]['error'],this[_0xcec250(0x1ed)](_0xcec250(0x1d9)+_0x2b7cbf),..._0x11cff3),this[_0xcec250(0x1d8)][_0xcec250(0x1e4)]('\x0a');}[_0x5d8094(0x1e1)](_0x31d94c){var _0x132f39=_0x5d8094;this[_0x132f39(0x1d3)]=_0x31d94c;}[_0x5d8094(0x1ee)](_0x46d5a3){var _0x28cfdb=_0x5d8094;return this[_0x28cfdb(0x1d6)]&&(_0x46d5a3=this[_0x28cfdb(0x1d6)]+'\x20'+_0x46d5a3),new ConsoleLog(_0x46d5a3,this[_0x28cfdb(0x1d3)],this[_0x28cfdb(0x1d8)]);}[_0x5d8094(0x1df)](_0x4ffe5b,_0x5e3256,..._0x386f40){var _0x5ea9d9=_0x5d8094;this[_0x5ea9d9(0x1eb)]&&(_0x5e3256=this['prefix']+'\x20'+_0x5e3256),_0x386f40?_0x4ffe5b(...[_0x5e3256][_0x5ea9d9(0x1e3)](_0x386f40)):_0x4ffe5b(_0x5e3256);}[_0x5d8094(0x1dd)](_0x404894){var _0x31e0c4=_0x5d8094;return'\x1b[7m'+_0x404894+_0x31e0c4(0x1ec);}['dim'](_0xd3568){var _0x1db237=_0x5d8094;return _0x1db237(0x1f2)+_0xd3568+_0x1db237(0x1ec);}[_0x5d8094(0x1f3)](_0x35c5dc){var _0x9d79bd=_0x5d8094;return _0x9d79bd(0x1d4)+_0x35c5dc+_0x9d79bd(0x1ec);}[_0x5d8094(0x1ed)](_0x3702f3){var _0x4b614b=_0x5d8094;return _0x4b614b(0x1da)+_0x3702f3+'\x1b[0m';}}exports[_0x5d8094(0x1d5)]=ConsoleLog;
1
+ 'use strict';var _0x3c2d89=_0xc24b;function _0xc24b(_0x1c3077,_0x4ba308){var _0x5c67bb=_0x5c67();return _0xc24b=function(_0xc24bbf,_0x56c9c5){_0xc24bbf=_0xc24bbf-0x1d9;var _0xf8144a=_0x5c67bb[_0xc24bbf];return _0xf8144a;},_0xc24b(_0x1c3077,_0x4ba308);}function _0x5c67(){var _0x43495a=['60hWfxGH','output','red','8565BVNiRa','verbose','\x1b[36m','dim','inverse','error','1531690sSsyeH','4WzMeNQ','yellow','344SQztjq','WARNING\x20','\x1b[31m','76668tdvkMf','warn','log','ConsoleLog','\x1b[7m','prefix','330iJTCfx','debug','21933MMWyin','ERROR\x20','\x1b[0m','979970dPMhQx','newLog','info','setVerbose','29426YcAJEk','266gSEuqT','473FZxwDn','tag'];_0x5c67=function(){return _0x43495a;};return _0x5c67();}(function(_0x36bacc,_0x31bc63){var _0x3bbd8b=_0xc24b,_0x55e56d=_0x36bacc();while(!![]){try{var _0x2876c3=parseInt(_0x3bbd8b(0x1e5))/0x1*(-parseInt(_0x3bbd8b(0x1f3))/0x2)+-parseInt(_0x3bbd8b(0x1ec))/0x3*(-parseInt(_0x3bbd8b(0x1e9))/0x4)+-parseInt(_0x3bbd8b(0x1f2))/0x5+parseInt(_0x3bbd8b(0x1dc))/0x6*(parseInt(_0x3bbd8b(0x1e6))/0x7)+-parseInt(_0x3bbd8b(0x1f5))/0x8*(-parseInt(_0x3bbd8b(0x1de))/0x9)+parseInt(_0x3bbd8b(0x1e1))/0xa+parseInt(_0x3bbd8b(0x1e7))/0xb*(parseInt(_0x3bbd8b(0x1f8))/0xc);if(_0x2876c3===_0x31bc63)break;else _0x55e56d['push'](_0x55e56d['shift']());}catch(_0x3557e0){_0x55e56d['push'](_0x55e56d['shift']());}}}(_0x5c67,0x26638));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x3c2d89(0x1d9)]=void 0x0;class ConsoleLog{constructor(_0x1634af='',_0x44c5c2=![],_0x5a634a=console){this['tag']=_0x1634af,this['verbose']=_0x44c5c2,this['prefix']=this['inverse'](_0x1634af),this['output']=_0x5a634a;}[_0x3c2d89(0x1dd)](_0x8452b0,..._0x1ad62e){var _0x1b4503=_0x3c2d89;if(!this[_0x1b4503(0x1ed)])return;this[_0x1b4503(0x1fa)](this[_0x1b4503(0x1ea)][_0x1b4503(0x1fa)],this[_0x1b4503(0x1ef)](_0x8452b0),..._0x1ad62e);}[_0x3c2d89(0x1e3)](_0x4298ff,..._0x198b68){var _0x5a0a5e=_0x3c2d89;this[_0x5a0a5e(0x1fa)](this[_0x5a0a5e(0x1ea)][_0x5a0a5e(0x1fa)],_0x4298ff,..._0x198b68);}[_0x3c2d89(0x1f9)](_0x5e38c5,..._0x362bef){var _0x1ed207=_0x3c2d89;this[_0x1ed207(0x1fa)](this[_0x1ed207(0x1ea)][_0x1ed207(0x1f9)],this[_0x1ed207(0x1f4)](_0x1ed207(0x1f6)+_0x5e38c5),..._0x362bef);}[_0x3c2d89(0x1f1)](_0x4fd1c6,..._0x26412a){var _0x328ddb=_0x3c2d89;this[_0x328ddb(0x1ea)]['error']('\x0a'),this[_0x328ddb(0x1fa)](this['output'][_0x328ddb(0x1f1)],this['red'](_0x328ddb(0x1df)+_0x4fd1c6),..._0x26412a),this[_0x328ddb(0x1ea)][_0x328ddb(0x1f1)]('\x0a');}[_0x3c2d89(0x1e4)](_0x3d8e52){this['verbose']=_0x3d8e52;}[_0x3c2d89(0x1e2)](_0x407700){var _0x451361=_0x3c2d89;return this[_0x451361(0x1e8)]&&(_0x407700=this['tag']+'\x20'+_0x407700),new ConsoleLog(_0x407700,this[_0x451361(0x1ed)],this[_0x451361(0x1ea)]);}['log'](_0x35da06,_0x2b11c1,..._0x51d9c7){var _0x94d3c9=_0x3c2d89;this['prefix']&&(_0x2b11c1=this[_0x94d3c9(0x1db)]+'\x20'+_0x2b11c1),_0x51d9c7?_0x35da06(...[_0x2b11c1]['concat'](_0x51d9c7)):_0x35da06(_0x2b11c1);}[_0x3c2d89(0x1f0)](_0x1c6033){var _0x41ae75=_0x3c2d89;return _0x41ae75(0x1da)+_0x1c6033+_0x41ae75(0x1e0);}[_0x3c2d89(0x1ef)](_0xbde52c){var _0x207a44=_0x3c2d89;return _0x207a44(0x1ee)+_0xbde52c+_0x207a44(0x1e0);}['yellow'](_0x1e2da0){var _0x57c643=_0x3c2d89;return'\x1b[33m'+_0x1e2da0+_0x57c643(0x1e0);}[_0x3c2d89(0x1eb)](_0x5f2ede){var _0x1eff7e=_0x3c2d89;return _0x1eff7e(0x1f7)+_0x5f2ede+'\x1b[0m';}}exports['ConsoleLog']=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x45b33a=_0x4b40;function _0x4b40(_0x10a069,_0x25a9f3){const _0x1d644b=_0x1d64();return _0x4b40=function(_0x4b40ee,_0x575f87){_0x4b40ee=_0x4b40ee-0xea;let _0x51ac6a=_0x1d644b[_0x4b40ee];return _0x51ac6a;},_0x4b40(_0x10a069,_0x25a9f3);}function _0x1d64(){const _0x2f85d5=['headers','1815051XmxHpt','2ijEzYB','fetch','Z_SYNC_FLUSH','error','__esModule','193768ecgkYq','8kpUQbK','test','12tXrAuT','Content-Length','2096150QObSpX','zlib','context','finish','data','fetch-h2','brotliDecompressSync','defineProperty','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','334380NVFqZN','get','length','167556FXkQJi','15rESHgp','847WaifkW','unzipSync','191517vvCRnn','readable','constants','follow','1869219XtxLDn'];_0x1d64=function(){return _0x2f85d5;};return _0x1d64();}(function(_0x33c010,_0x50c97a){const _0x30f90d=_0x4b40,_0x530553=_0x33c010();while(!![]){try{const _0x24d267=-parseInt(_0x30f90d(0xed))/0x1*(-parseInt(_0x30f90d(0xf2))/0x2)+parseInt(_0x30f90d(0x107))/0x3*(-parseInt(_0x30f90d(0xf5))/0x4)+parseInt(_0x30f90d(0x104))/0x5*(-parseInt(_0x30f90d(0x100))/0x6)+parseInt(_0x30f90d(0xec))/0x7*(-parseInt(_0x30f90d(0xf3))/0x8)+-parseInt(_0x30f90d(0xea))/0x9+-parseInt(_0x30f90d(0xf7))/0xa+parseInt(_0x30f90d(0x105))/0xb*(parseInt(_0x30f90d(0x103))/0xc);if(_0x24d267===_0x50c97a)break;else _0x530553['push'](_0x530553['shift']());}catch(_0x4a382f){_0x530553['push'](_0x530553['shift']());}}}(_0x1d64,0x3908d));Object[_0x45b33a(0xfe)](exports,_0x45b33a(0xf1),{'value':!![]}),exports[_0x45b33a(0xee)]=fetch,exports['downloadFile']=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;const fetch_h2_1=require(_0x45b33a(0xfc)),fs=require('fs'),zlib=require(_0x45b33a(0xf8)),userAgent=_0x45b33a(0xff),fetchh2Ctx=(0x0,fetch_h2_1[_0x45b33a(0xf9)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x45b33a(0xee)];async function fetch(_0x47e0d3,_0x2371ca){const _0x511e5c=_0x45b33a;return await fetchh2(_0x47e0d3,_0x2371ca?{'redirect':_0x511e5c(0x10a),..._0x2371ca}:{'redirect':_0x511e5c(0x10a)});}async function downloadFile(_0x2be106,_0x5570f4,_0x4c0074){const _0x30e9c6=_0x45b33a;let _0x113459,_0x2304dc;_0x113459=await fetchh2(_0x2be106,{'redirect':_0x30e9c6(0x10a)}),_0x2304dc=await _0x113459[_0x30e9c6(0x108)]();const _0x102c5e=_0x113459[_0x30e9c6(0xeb)][_0x30e9c6(0x101)](_0x30e9c6(0xf6)),_0x1f0741=_0x102c5e?parseInt(_0x102c5e):-0x1,_0x7c4e45=fs['createWriteStream'](_0x5570f4);let _0x4c4ad0=0x0;await new Promise((_0x540ce9,_0x210bb7)=>{const _0x43a825=_0x30e9c6;_0x2304dc['pipe'](_0x7c4e45),_0x4c0074&&_0x2304dc['on'](_0x43a825(0xfb),_0xd3f50e=>{const _0x39927d=_0x43a825;_0x4c4ad0=_0x4c4ad0+_0xd3f50e[_0x39927d(0x102)],_0x4c0074(_0x4c4ad0,_0x1f0741);}),_0x2304dc['on'](_0x43a825(0xf0),_0x20b0fb=>{_0x210bb7(_0x20b0fb);}),_0x7c4e45['on'](_0x43a825(0xfa),()=>{_0x540ce9();});});}function decompressResponseBuffer(_0x23a172,_0x4753a5){const _0x51cfc8=_0x45b33a;let _0x5c2fff=_0x23a172;if(/\bgzip\b/[_0x51cfc8(0xf4)](_0x4753a5)||/\bdeflate\b/[_0x51cfc8(0xf4)](_0x4753a5))_0x5c2fff=zlib[_0x51cfc8(0x106)](_0x23a172,{'flush':zlib[_0x51cfc8(0x109)][_0x51cfc8(0xef)],'finishFlush':zlib[_0x51cfc8(0x109)][_0x51cfc8(0xef)]});else/\bbr\b/[_0x51cfc8(0xf4)](_0x4753a5)&&(_0x5c2fff=zlib[_0x51cfc8(0xfd)](_0x23a172));return _0x5c2fff;}
1
+ 'use strict';const _0x31a953=_0x2292;(function(_0x3aceab,_0x306d51){const _0x3d84f0=_0x2292,_0x3975bd=_0x3aceab();while(!![]){try{const _0x2a5184=-parseInt(_0x3d84f0(0x13d))/0x1*(-parseInt(_0x3d84f0(0x12f))/0x2)+parseInt(_0x3d84f0(0x135))/0x3*(parseInt(_0x3d84f0(0x131))/0x4)+-parseInt(_0x3d84f0(0x132))/0x5+-parseInt(_0x3d84f0(0x133))/0x6*(-parseInt(_0x3d84f0(0x143))/0x7)+parseInt(_0x3d84f0(0x141))/0x8+parseInt(_0x3d84f0(0x14a))/0x9*(-parseInt(_0x3d84f0(0x145))/0xa)+parseInt(_0x3d84f0(0x140))/0xb*(parseInt(_0x3d84f0(0x13f))/0xc);if(_0x2a5184===_0x306d51)break;else _0x3975bd['push'](_0x3975bd['shift']());}catch(_0x11742a){_0x3975bd['push'](_0x3975bd['shift']());}}}(_0x1d9c,0x9226b));function _0x1d9c(){const _0x2f7683=['285IlrkDq','test','unzipSync','__esModule','brotliDecompressSync','pipe','finish','headers','8irgQlN','data','1634280WkxAbs','11RJunvl','1854128lNTEpW','Z_SYNC_FLUSH','48664BwUESI','createWriteStream','94980gPfeYd','get','readable','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','constants','423YoeHpI','context','follow','27252QimDED','downloadFile','3296abxrAP','3251655LbauOv','984kDJZvP','fetch'];_0x1d9c=function(){return _0x2f7683;};return _0x1d9c();}Object['defineProperty'](exports,_0x31a953(0x138),{'value':!![]}),exports[_0x31a953(0x134)]=fetch,exports[_0x31a953(0x130)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;function _0x2292(_0x47201e,_0x51d546){const _0x1d9c37=_0x1d9c();return _0x2292=function(_0x2292b7,_0x52d3dd){_0x2292b7=_0x2292b7-0x12f;let _0x1e7ff9=_0x1d9c37[_0x2292b7];return _0x1e7ff9;},_0x2292(_0x47201e,_0x51d546);}const fetch_h2_1=require('fetch-h2'),fs=require('fs'),zlib=require('zlib'),userAgent=_0x31a953(0x148),fetchh2Ctx=(0x0,fetch_h2_1[_0x31a953(0x14b)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x31a953(0x134)];async function fetch(_0x2523ad,_0x2ea3e2){const _0x367a59=_0x31a953;return await fetchh2(_0x2523ad,_0x2ea3e2?{'redirect':_0x367a59(0x14c),..._0x2ea3e2}:{'redirect':_0x367a59(0x14c)});}async function downloadFile(_0x3df19b,_0x43ea97,_0x26a5ed){const _0x4bd9e9=_0x31a953;let _0x3d0419,_0x4d0797;_0x3d0419=await fetchh2(_0x3df19b,{'redirect':_0x4bd9e9(0x14c)}),_0x4d0797=await _0x3d0419[_0x4bd9e9(0x147)]();const _0x2b9f07=_0x3d0419[_0x4bd9e9(0x13c)][_0x4bd9e9(0x146)]('Content-Length'),_0x3c30e7=_0x2b9f07?parseInt(_0x2b9f07):-0x1,_0x2755a9=fs[_0x4bd9e9(0x144)](_0x43ea97);let _0x36671c=0x0;await new Promise((_0x1cce99,_0x5c9f08)=>{const _0x4af759=_0x4bd9e9;_0x4d0797[_0x4af759(0x13a)](_0x2755a9),_0x26a5ed&&_0x4d0797['on'](_0x4af759(0x13e),_0x2b3713=>{_0x36671c=_0x36671c+_0x2b3713['length'],_0x26a5ed(_0x36671c,_0x3c30e7);}),_0x4d0797['on']('error',_0x40a7e2=>{_0x5c9f08(_0x40a7e2);}),_0x2755a9['on'](_0x4af759(0x13b),()=>{_0x1cce99();});});}function decompressResponseBuffer(_0x1c61b7,_0x3d1d57){const _0x285e6b=_0x31a953;let _0x556718=_0x1c61b7;if(/\bgzip\b/['test'](_0x3d1d57)||/\bdeflate\b/[_0x285e6b(0x136)](_0x3d1d57))_0x556718=zlib[_0x285e6b(0x137)](_0x1c61b7,{'flush':zlib[_0x285e6b(0x149)][_0x285e6b(0x142)],'finishFlush':zlib[_0x285e6b(0x149)][_0x285e6b(0x142)]});else/\bbr\b/[_0x285e6b(0x136)](_0x3d1d57)&&(_0x556718=zlib[_0x285e6b(0x139)](_0x1c61b7));return _0x556718;}
@@ -1 +1 @@
1
- 'use strict';function _0x3589(_0x54608f,_0x1becee){const _0x310a1d=_0x310a();return _0x3589=function(_0x358994,_0x4d66dd){_0x358994=_0x358994-0xe9;let _0x72b863=_0x310a1d[_0x358994];return _0x72b863;},_0x3589(_0x54608f,_0x1becee);}const _0x10dba8=_0x3589;(function(_0x227fec,_0x344916){const _0xb481c6=_0x3589,_0x540b0c=_0x227fec();while(!![]){try{const _0x2b8b26=parseInt(_0xb481c6(0xeb))/0x1+-parseInt(_0xb481c6(0x115))/0x2*(-parseInt(_0xb481c6(0x118))/0x3)+-parseInt(_0xb481c6(0xec))/0x4+-parseInt(_0xb481c6(0xf4))/0x5+-parseInt(_0xb481c6(0x12a))/0x6*(-parseInt(_0xb481c6(0x117))/0x7)+parseInt(_0xb481c6(0x104))/0x8*(parseInt(_0xb481c6(0x11a))/0x9)+-parseInt(_0xb481c6(0x11f))/0xa*(parseInt(_0xb481c6(0xfd))/0xb);if(_0x2b8b26===_0x344916)break;else _0x540b0c['push'](_0x540b0c['shift']());}catch(_0x3653c0){_0x540b0c['push'](_0x540b0c['shift']());}}}(_0x310a,0x7b124));function _0x310a(){const _0x3d173c=['Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','Downloading\x20Android\x20SDK\x20to\x20','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','Decompressing\x20the\x20Android\x20SDK...','\x20URL\x20','164522QJuWxK','Invalid\x20integer\x20provided:\x20','2741893fuSjiN','12ExzLIN','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','93285qrXHrK','Password\x20for\x20the\x20Key\x20Store:','Maximum\x20length\x20is\x20','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','underline','13364140hkhFmy','Path\x20to\x20your\x20existing\x20Android\x20SDK:','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','messages','Organization\x20(eg:\x20Company\x20Name):','Generating\x20Android\x20Project.','Invalid\x20URL:\x20','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Downloading\x20the\x20Android\x20SDK...','\x22.\x0a','12qQmeLH','\x20and\x20alias\x20','\x20Check\x20out\x20the\x20Play\x20for','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','918836FKPaIH','2584124hrjLea','(5/5)','Icon\x20URL:','--manifest-url','Password\x20for\x20the\x20Key:','\x09-\x20Generated\x20Android\x20APK\x20at\x20','colors','WARNING:\x20','1973315YODJuG','green','Path\x20to\x20your\x20existing\x20JDK\x2011:','\x0aProject\x20generated\x20successfully.','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Country\x20(2\x20letter\x20code):','\x20but\x20input\x20is\x20','Missing\x20required\x20parameter\x20','11vEEuZx','license\x20agreement.','\x0aSigning\x20key\x20information\x20','cyan','--url','__esModule','\x0aBuilding\x20the\x20Android\x20App...','656CsgeTM','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','yellow','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)','\x20or\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','bold','Downloading\x20JDK\x2011\x20to\x20','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','https://developer.android.com/studio/terms.html','redirected\x20to\x20','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:'];_0x310a=function(){return _0x3d173c;};return _0x310a();}Object['defineProperty'](exports,_0x10dba8(0x102),{'value':!![]}),exports[_0x10dba8(0x122)]=void 0x0;const colors_1=require(_0x10dba8(0xf2));exports['messages']={'promptInstallJdk':_0x10dba8(0x107),'promptJdkPath':_0x10dba8(0xf6),'messageDownloadJdk':_0x10dba8(0x10b),'messageDownloadJdkSrc':'Downloading\x20the\x20JDK\x2011\x20Sources...','messageDecompressJdkSrc':'Decompressing\x20the\x20JDK\x2011\x20Sources...','messageDownloadJdkBin':'Downloading\x20the\x20JDK\x2011\x20Binaries...','messageDecompressJdkBin':_0x10dba8(0xf9),'promptInstallSdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','promptSdkPath':_0x10dba8(0x120),'messageDownloadSdk':_0x10dba8(0x111),'errorSdkTerms':'Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','promptSdkTerms':_0x10dba8(0x105)+(0x0,colors_1[_0x10dba8(0x11e)])(_0x10dba8(0x10d))+'?','messageDownloadAndroidSdk':_0x10dba8(0x128),'messageDecompressAndroidSdk':_0x10dba8(0x113),'messageInstallingBuildTools':_0x10dba8(0x121)+_0x10dba8(0xfe),'messageGeneratingAndroidProject':_0x10dba8(0x124),'messageCheckSuccess':(_0x31536f,_0x3ab2f1)=>{const _0x273896=_0x10dba8;return _0x273896(0x114)+(0x0,colors_1[_0x273896(0x100)])(_0x31536f)+'\x20'+(_0x3ab2f1?_0x273896(0x10e)+(0x0,colors_1[_0x273896(0x100)])(_0x3ab2f1):'')+_0x273896(0xea);},'errorMissingManifestParameter':'Missing\x20required\x20parameter\x20'+((0x0,colors_1[_0x10dba8(0x100)])(_0x10dba8(0xef))+_0x10dba8(0x108)+(0x0,colors_1[_0x10dba8(0x100)])('--manifest')),'messageInitializingWebManifest':_0x37a072=>{const _0x5bccf8=_0x10dba8;return _0x5bccf8(0x110)+(0x0,colors_1[_0x5bccf8(0x100)])(_0x37a072);},'messageInitializingLocalManifest':_0x1bd58a=>{return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1['cyan'])(_0x1bd58a);},'messageInvalidIcon':_0x3f736e=>{return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1['cyan'])(_0x3f736e);},'errorStartUrlNotReachable':_0x5aaa45=>'URL\x20'+_0x5aaa45+'\x20can\x20not\x20be\x20accessible.'+_0x10dba8(0x126),'warnFamilyPolicy':(0x0,colors_1[_0x10dba8(0x10a)])((0x0,colors_1[_0x10dba8(0x106)])(_0x10dba8(0xf3)))+_0x10dba8(0x127)+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+_0x10dba8(0xe9)+_0x10dba8(0x112)+(0x0,colors_1[_0x10dba8(0x100)])('https://play.google.com/console/about/families/'),'promptIconUrl':_0x10dba8(0xee),'errorInvalidUrl':_0x58428e=>{const _0xe6fcc6=_0x10dba8;return _0xe6fcc6(0x125)+_0x58428e;},'errorUrlMustBeImage':_0x3ddec1=>{const _0x252326=_0x10dba8;return _0x252326(0x10c)+_0x3ddec1+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':_0x10dba8(0x10f),'messageSigningKeyInformation':(0x0,colors_1[_0x10dba8(0x11e)])(_0x10dba8(0xff)+(0x0,colors_1[_0x10dba8(0xf5)])(_0x10dba8(0xed))),'messageProjectGeneratedSuccess':_0x10dba8(0xf7),'messageSigningKeyCreation':(0x0,colors_1[_0x10dba8(0x11e)])('\x0aSigning\x20key\x20creation'),'messageSigningKeyNotFound':_0xaeb2a5=>{const _0x3ef392=_0x10dba8;return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0xaeb2a5+_0x3ef392(0x129);},'promptCreateKey':_0x10dba8(0xf8),'promptKeyFullName':_0x10dba8(0x109),'promptKeyOrganizationalUnit':_0x10dba8(0x119),'promptKeyOrganization':_0x10dba8(0x123),'promptKeyCountry':_0x10dba8(0xfa),'promptKeystorePassword':_0x10dba8(0x11b),'promptKeyPassword':_0x10dba8(0xf0),'messageBuildingApp':_0x10dba8(0x103),'messageEnterPasswords':(_0x353eb9,_0x191a56)=>{const _0x4e08a8=_0x10dba8;return _0x4e08a8(0x11d)+(0x0,colors_1[_0x4e08a8(0x100)])(_0x353eb9)+_0x4e08a8(0x12b)+(0x0,colors_1[_0x4e08a8(0x100)])(_0x191a56)+'.\x0a';},'errorMinLength':(_0x38fd7d,_0x280bec)=>{const _0x175e18=_0x10dba8;return'Minimum\x20length\x20is\x20'+_0x38fd7d+_0x175e18(0xfb)+_0x280bec+'.';},'errorMaxLength':(_0x5ed09f,_0x278672)=>{const _0x1568b4=_0x10dba8;return _0x1568b4(0x11c)+_0x5ed09f+_0x1568b4(0xfb)+_0x278672+'.';},'errorInvalidInteger':_0x4e6079=>{const _0x49978f=_0x10dba8;return _0x49978f(0x116)+_0x4e6079;},'messageApkSuccess':_0x476ec7=>{const _0x3da30b=_0x10dba8;return _0x3da30b(0xf1)+(0x0,colors_1[_0x3da30b(0x100)])(_0x476ec7);},'missingUrlToCheck':_0x10dba8(0xfc)+(''+(0x0,colors_1['cyan'])(_0x10dba8(0x101)))};
1
+ 'use strict';const _0x485526=_0x11a1;(function(_0x7a2ea9,_0x4cead6){const _0x1850b7=_0x11a1,_0x44d3e3=_0x7a2ea9();while(!![]){try{const _0x23a473=parseInt(_0x1850b7(0x11c))/0x1+parseInt(_0x1850b7(0x13a))/0x2*(parseInt(_0x1850b7(0x122))/0x3)+parseInt(_0x1850b7(0x131))/0x4+-parseInt(_0x1850b7(0x149))/0x5*(parseInt(_0x1850b7(0x129))/0x6)+-parseInt(_0x1850b7(0x12e))/0x7*(parseInt(_0x1850b7(0x14b))/0x8)+parseInt(_0x1850b7(0x126))/0x9+-parseInt(_0x1850b7(0x141))/0xa*(parseInt(_0x1850b7(0x113))/0xb);if(_0x23a473===_0x4cead6)break;else _0x44d3e3['push'](_0x44d3e3['shift']());}catch(_0x117cf9){_0x44d3e3['push'](_0x44d3e3['shift']());}}}(_0x380b,0xa8e25));Object[_0x485526(0x14a)](exports,_0x485526(0x13e),{'value':!![]}),exports[_0x485526(0x125)]=void 0x0;const colors_1=require('colors');function _0x11a1(_0x5de88a,_0xfacf19){const _0x380b17=_0x380b();return _0x11a1=function(_0x11a126,_0x4977ea){_0x11a126=_0x11a126-0x111;let _0x143198=_0x380b17[_0x11a126];return _0x143198;},_0x11a1(_0x5de88a,_0xfacf19);}function _0x380b(){const _0x246586=['Decompressing\x20the\x20JDK\x2011\x20Binaries...','Icon\x20URL:','Do\x20you\x20want\x20to\x20create\x20one\x20now?','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Country\x20(2\x20letter\x20code):','Path\x20to\x20your\x20existing\x20Android\x20SDK:','Organization\x20(eg:\x20Company\x20Name):','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','43278byOClb','Downloading\x20the\x20JDK\x2011\x20Binaries...','\x0aSigning\x20key\x20information\x20','(5/5)','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','\x20but\x20input\x20is\x20','2021727gYJVbo','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','redirected\x20to\x20','messages','9269289OJKlzs','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)','Password\x20for\x20the\x20Key\x20Store:','30378crFUjh','Missing\x20required\x20parameter\x20','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','license\x20agreement.','Invalid\x20icon\x20path:\x20','728aveJZx','\x20URL\x20','WARNING:\x20','626228YmYnJS','Password\x20for\x20the\x20Key:','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Downloading\x20Android\x20SDK\x20to\x20','https://play.google.com/console/about/families/','Generating\x20Android\x20Project.','\x20and\x20alias\x20','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)','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','2TDoWRE','\x20Check\x20out\x20the\x20Play\x20for','Invalid\x20integer\x20provided:\x20','URL\x20','__esModule','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','Maximum\x20length\x20is\x20','350890MNkyFK','\x20or\x20','underline','Decompressing\x20the\x20JDK\x2011\x20Sources...','\x0aProject\x20generated\x20successfully.','--manifest','\x0aSigning\x20key\x20creation','Downloading\x20JDK\x2011\x20to\x20','85ufgtlK','defineProperty','8328RbTTGQ','Downloading\x20the\x20JDK\x2011\x20Sources...','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','cyan','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','Invalid\x20URL:\x20','319kndZGH'];_0x380b=function(){return _0x246586;};return _0x380b();}exports[_0x485526(0x125)]={'promptInstallJdk':_0x485526(0x138),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':_0x485526(0x148),'messageDownloadJdkSrc':_0x485526(0x14c),'messageDecompressJdkSrc':_0x485526(0x144),'messageDownloadJdkBin':_0x485526(0x11d),'messageDecompressJdkBin':_0x485526(0x114),'promptInstallSdk':_0x485526(0x127),'promptSdkPath':_0x485526(0x119),'messageDownloadSdk':_0x485526(0x134),'errorSdkTerms':_0x485526(0x150),'promptSdkTerms':'Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20'+(0x0,colors_1[_0x485526(0x143)])('https://developer.android.com/studio/terms.html')+'?','messageDownloadAndroidSdk':'Downloading\x20the\x20Android\x20SDK...','messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':_0x485526(0x14d)+_0x485526(0x12c),'messageGeneratingAndroidProject':_0x485526(0x136),'messageCheckSuccess':(_0x41c12b,_0x394b7f)=>{const _0x200fd1=_0x485526;return _0x200fd1(0x12f)+(0x0,colors_1['cyan'])(_0x41c12b)+'\x20'+(_0x394b7f?_0x200fd1(0x124)+(0x0,colors_1[_0x200fd1(0x14e)])(_0x394b7f):'')+'\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:';},'errorMissingManifestParameter':_0x485526(0x12a)+((0x0,colors_1[_0x485526(0x14e)])('--manifest-url')+_0x485526(0x142)+(0x0,colors_1[_0x485526(0x14e)])(_0x485526(0x146))),'messageInitializingWebManifest':_0x3b58bf=>{const _0xeaa891=_0x485526;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0xeaa891(0x14e)])(_0x3b58bf);},'messageInitializingLocalManifest':_0x228c6a=>{const _0x4f96c9=_0x485526;return _0x4f96c9(0x14f)+(0x0,colors_1['cyan'])(_0x228c6a);},'messageInvalidIcon':_0x5bae49=>{const _0x9c31c4=_0x485526;return _0x9c31c4(0x12d)+(0x0,colors_1['cyan'])(_0x5bae49);},'errorStartUrlNotReachable':_0x2e8982=>_0x485526(0x13d)+_0x2e8982+'\x20can\x20not\x20be\x20accessible.'+_0x485526(0x123),'warnFamilyPolicy':(0x0,colors_1['bold'])((0x0,colors_1['yellow'])(_0x485526(0x130)))+_0x485526(0x12b)+_0x485526(0x117)+_0x485526(0x13b)+_0x485526(0x13f)+(0x0,colors_1[_0x485526(0x14e)])(_0x485526(0x135)),'promptIconUrl':_0x485526(0x115),'errorInvalidUrl':_0x54bd57=>{const _0x352419=_0x485526;return _0x352419(0x112)+_0x54bd57;},'errorUrlMustBeImage':_0x220709=>{const _0x1a3b69=_0x485526;return _0x1a3b69(0x139)+_0x220709+'.';},'promptVersionCode':_0x485526(0x120),'promptVersionName':_0x485526(0x111),'messageSigningKeyInformation':(0x0,colors_1[_0x485526(0x143)])(_0x485526(0x11e)+(0x0,colors_1['green'])(_0x485526(0x11f))),'messageProjectGeneratedSuccess':_0x485526(0x145),'messageSigningKeyCreation':(0x0,colors_1[_0x485526(0x143)])(_0x485526(0x147)),'messageSigningKeyNotFound':_0x3dd04f=>{const _0x11657f=_0x485526;return _0x11657f(0x133)+_0x3dd04f+'\x22.\x0a';},'promptCreateKey':_0x485526(0x116),'promptKeyFullName':_0x485526(0x11b),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x485526(0x11a),'promptKeyCountry':_0x485526(0x118),'promptKeystorePassword':_0x485526(0x128),'promptKeyPassword':_0x485526(0x132),'messageBuildingApp':'\x0aBuilding\x20the\x20Android\x20App...','messageEnterPasswords':(_0x5da9e3,_0x1e0a3e)=>{const _0x33a0a8=_0x485526;return'Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20'+(0x0,colors_1[_0x33a0a8(0x14e)])(_0x5da9e3)+_0x33a0a8(0x137)+(0x0,colors_1['cyan'])(_0x1e0a3e)+'.\x0a';},'errorMinLength':(_0x571cc9,_0xb1231)=>{const _0x114bdf=_0x485526;return'Minimum\x20length\x20is\x20'+_0x571cc9+_0x114bdf(0x121)+_0xb1231+'.';},'errorMaxLength':(_0x5e767f,_0x1e3196)=>{const _0x5c54af=_0x485526;return _0x5c54af(0x140)+_0x5e767f+_0x5c54af(0x121)+_0x1e3196+'.';},'errorInvalidInteger':_0x1b3c61=>{const _0xbf4a7a=_0x485526;return _0xbf4a7a(0x13c)+_0x1b3c61;},'messageApkSuccess':_0x32f5bd=>{const _0x3138af=_0x485526;return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1[_0x3138af(0x14e)])(_0x32f5bd);},'missingUrlToCheck':'Missing\x20required\x20parameter\x20'+(''+(0x0,colors_1['cyan'])('--url'))};
@@ -1 +1 @@
1
- 'use strict';function _0x5228(_0x47847a,_0x98654e){const _0x37e2a9=_0x37e2();return _0x5228=function(_0x52282f,_0x2cb895){_0x52282f=_0x52282f-0x75;let _0x2030dc=_0x37e2a9[_0x52282f];return _0x2030dc;},_0x5228(_0x47847a,_0x98654e);}const _0x4fb469=_0x5228;(function(_0x275dcc,_0x4fd195){const _0x3810ec=_0x5228,_0x357767=_0x275dcc();while(!![]){try{const _0x1b9324=-parseInt(_0x3810ec(0x80))/0x1+-parseInt(_0x3810ec(0x7d))/0x2+-parseInt(_0x3810ec(0x7b))/0x3*(parseInt(_0x3810ec(0x79))/0x4)+-parseInt(_0x3810ec(0x7a))/0x5+-parseInt(_0x3810ec(0x81))/0x6+parseInt(_0x3810ec(0x7f))/0x7*(-parseInt(_0x3810ec(0x77))/0x8)+parseInt(_0x3810ec(0x82))/0x9;if(_0x1b9324===_0x4fd195)break;else _0x357767['push'](_0x357767['shift']());}catch(_0x4f1db9){_0x357767['push'](_0x357767['shift']());}}}(_0x37e2,0x2c50b));function _0x37e2(){const _0x47dbec=['1475172juZlpU','13760226eKMZPK','__esModule','replace','41864RCGejb','split','12lyneCy','1418640jSCPmQ','117051aDMplw','pop','29772ExuyXq','parseRouter','462MAzJzh','340494FUmCcE'];_0x37e2=function(){return _0x47dbec;};return _0x37e2();}Object['defineProperty'](exports,_0x4fb469(0x75),{'value':!![]}),exports[_0x4fb469(0x7e)]=parseRouter;function parseRouter(_0x3e48de){const _0x3b4f6c=_0x4fb469;let _0x5aa887=_0x3e48de[_0x3b4f6c(0x78)]('/');_0x5aa887[_0x3b4f6c(0x7c)]();let _0x5f55ce=_0x5aa887['join']();while(_0x5f55ce['indexOf'](',')>=0x0){_0x5f55ce=_0x5f55ce[_0x3b4f6c(0x76)](',','/');}return _0x5f55ce;}
1
+ 'use strict';const _0x26d902=_0x3fef;function _0x6e5f(){const _0x5c9b56=['7YsacKK','split','1560009fNSEXz','17873118YFtLhf','10PMqmwq','parseRouter','__esModule','replace','141819SXUSHg','4JbffIu','564336KhuVeF','4016148dbGubU','indexOf','2255760exRDwg','defineProperty','join','773320QdvGNz','pop'];_0x6e5f=function(){return _0x5c9b56;};return _0x6e5f();}function _0x3fef(_0x3f0325,_0x317e10){const _0x6e5ff=_0x6e5f();return _0x3fef=function(_0x3fef52,_0x1d1e3b){_0x3fef52=_0x3fef52-0x118;let _0x26ec49=_0x6e5ff[_0x3fef52];return _0x26ec49;},_0x3fef(_0x3f0325,_0x317e10);}(function(_0x5f4ec8,_0x233d67){const _0x24ee94=_0x3fef,_0x548fc2=_0x5f4ec8();while(!![]){try{const _0x43112b=-parseInt(_0x24ee94(0x118))/0x1+parseInt(_0x24ee94(0x120))/0x2+-parseInt(_0x24ee94(0x124))/0x3*(parseInt(_0x24ee94(0x119))/0x4)+-parseInt(_0x24ee94(0x11d))/0x5+-parseInt(_0x24ee94(0x11b))/0x6+-parseInt(_0x24ee94(0x122))/0x7*(parseInt(_0x24ee94(0x11a))/0x8)+-parseInt(_0x24ee94(0x125))/0x9*(-parseInt(_0x24ee94(0x126))/0xa);if(_0x43112b===_0x233d67)break;else _0x548fc2['push'](_0x548fc2['shift']());}catch(_0x2fea95){_0x548fc2['push'](_0x548fc2['shift']());}}}(_0x6e5f,0x7ee08));Object[_0x26d902(0x11e)](exports,_0x26d902(0x128),{'value':!![]}),exports[_0x26d902(0x127)]=parseRouter;function parseRouter(_0x4c175c){const _0xe6a71b=_0x26d902;let _0xa412f4=_0x4c175c[_0xe6a71b(0x123)]('/');_0xa412f4[_0xe6a71b(0x121)]();let _0x5ec007=_0xa412f4[_0xe6a71b(0x11f)]();while(_0x5ec007[_0xe6a71b(0x11c)](',')>=0x0){_0x5ec007=_0x5ec007[_0xe6a71b(0x129)](',','/');}return _0x5ec007;}
@@ -1 +1 @@
1
- 'use strict';const _0x313531=_0x2a3a;(function(_0xda86ae,_0x4d486c){const _0x57c5ba=_0x2a3a,_0x4ec910=_0xda86ae();while(!![]){try{const _0x134d30=-parseInt(_0x57c5ba(0x82))/0x1*(-parseInt(_0x57c5ba(0x83))/0x2)+-parseInt(_0x57c5ba(0x79))/0x3+-parseInt(_0x57c5ba(0x85))/0x4*(parseInt(_0x57c5ba(0x96))/0x5)+-parseInt(_0x57c5ba(0x8d))/0x6+-parseInt(_0x57c5ba(0x92))/0x7+-parseInt(_0x57c5ba(0x8f))/0x8*(-parseInt(_0x57c5ba(0x87))/0x9)+parseInt(_0x57c5ba(0x7f))/0xa*(parseInt(_0x57c5ba(0x7d))/0xb);if(_0x134d30===_0x4d486c)break;else _0x4ec910['push'](_0x4ec910['shift']());}catch(_0x58d83f){_0x4ec910['push'](_0x4ec910['shift']());}}}(_0x5b9a,0x3b4d8));function _0x5b9a(){const _0x3412c5=['log','2271120hLRAPd','uploadApp','368uqOVJs','archive','name','2203726nhFDUz','upload','defineProperty','modify','245fCRlPv','PROJECT_EXPORT_DIRECTORY','default','325761bMXRhl','existsSync','./xcodebuild','join','5598571jFkwVe','PROJECT_DIRECTORY','20aqDHUj','runWithSimulator','./xcodeproject','876uuLrqQ','114aVmmNf','XcodeManager','17084XfEYlN','.ipa','36441itEIDN','path','__esModule','write\x20project.pbxproj:\x20ok','../resource'];_0x5b9a=function(){return _0x3412c5;};return _0x5b9a();}function _0x2a3a(_0x3fa986,_0x1b9c22){const _0x5b9ab9=_0x5b9a();return _0x2a3a=function(_0x2a3a2f,_0x153c1a){_0x2a3a2f=_0x2a3a2f-0x79;let _0x575944=_0x5b9ab9[_0x2a3a2f];return _0x575944;},_0x2a3a(_0x3fa986,_0x1b9c22);}Object[_0x313531(0x94)](exports,_0x313531(0x89),{'value':!![]}),exports[_0x313531(0x84)]=void 0x0;const fs=require('fs'),resource_1=require(_0x313531(0x8b)),xcodeproject_1=require(_0x313531(0x81)),xcodebuild_1=require(_0x313531(0x7b)),xcrun_1=require('./xcrun'),path_1=require(_0x313531(0x88));class XcodeManager{static async['parseProject'](_0x42ce4d,_0x4a95e1=![]){const _0x20b470=_0x313531,_0x5d082d=resource_1[_0x20b470(0x7e)]+'/web-spatial.xcodeproj/project.pbxproj';await xcodeproject_1[_0x20b470(0x98)][_0x20b470(0x95)](_0x5d082d,_0x42ce4d),console[_0x20b470(0x8c)](_0x20b470(0x8a));!fs[_0x20b470(0x7a)](resource_1[_0x20b470(0x97)])&&fs['mkdirSync'](resource_1[_0x20b470(0x97)],{'recursive':!![]});if(!_0x4a95e1)await xcodebuild_1[_0x20b470(0x98)][_0x20b470(0x90)](_0x42ce4d['export']);}static async[_0x313531(0x93)](_0x18a3eb,_0x413cce){const _0x23b712=_0x313531;if(_0x18a3eb['u']&&_0x18a3eb['p'])xcrun_1[_0x23b712(0x98)][_0x23b712(0x8e)]((0x0,path_1[_0x23b712(0x7c)])(resource_1[_0x23b712(0x97)],_0x413cce[_0x23b712(0x91)]+'.ipa'),_0x18a3eb['u'],_0x18a3eb['p'],!![]);else _0x18a3eb['k']&&_0x18a3eb['i']&&xcrun_1[_0x23b712(0x98)][_0x23b712(0x8e)]((0x0,path_1[_0x23b712(0x7c)])(resource_1[_0x23b712(0x97)],_0x413cce[_0x23b712(0x91)]+_0x23b712(0x86)),_0x18a3eb['k'],_0x18a3eb['i'],![]);}static async[_0x313531(0x80)](_0x46dd7f){const _0x25030d=_0x313531;await xcrun_1[_0x25030d(0x98)][_0x25030d(0x80)](_0x46dd7f);}}exports[_0x313531(0x84)]=XcodeManager;
1
+ 'use strict';const _0x169565=_0x2676;(function(_0x77a4c4,_0x512e07){const _0x162112=_0x2676,_0x3bb2b6=_0x77a4c4();while(!![]){try{const _0x1f3627=parseInt(_0x162112(0x1b8))/0x1+-parseInt(_0x162112(0x1ac))/0x2+parseInt(_0x162112(0x1a7))/0x3*(-parseInt(_0x162112(0x197))/0x4)+parseInt(_0x162112(0x1b2))/0x5*(-parseInt(_0x162112(0x1ae))/0x6)+-parseInt(_0x162112(0x1b0))/0x7+parseInt(_0x162112(0x1a4))/0x8*(parseInt(_0x162112(0x1a6))/0x9)+-parseInt(_0x162112(0x1a3))/0xa*(-parseInt(_0x162112(0x1a9))/0xb);if(_0x1f3627===_0x512e07)break;else _0x3bb2b6['push'](_0x3bb2b6['shift']());}catch(_0x2ba6fa){_0x3bb2b6['push'](_0x3bb2b6['shift']());}}}(_0x4681,0xacec8));Object[_0x169565(0x1b7)](exports,'__esModule',{'value':!![]}),exports['XcodeManager']=void 0x0;function _0x2676(_0x404512,_0x49ece7){const _0x468162=_0x4681();return _0x2676=function(_0x2676af,_0x2fbeff){_0x2676af=_0x2676af-0x197;let _0x45b8c7=_0x468162[_0x2676af];return _0x45b8c7;},_0x2676(_0x404512,_0x49ece7);}const fs=require('fs'),resource_1=require(_0x169565(0x1a2)),xcodeproject_1=require(_0x169565(0x1b4)),xcodebuild_1=require(_0x169565(0x19c)),xcrun_1=require(_0x169565(0x19d)),path_1=require(_0x169565(0x1a1));class XcodeManager{static async[_0x169565(0x1a5)](_0x20251f,_0x4ab5b8=![]){const _0x448da6=_0x169565,_0x310018=resource_1[_0x448da6(0x198)]+_0x448da6(0x1ab);await xcodeproject_1['default'][_0x448da6(0x1ad)](_0x310018,_0x20251f),console[_0x448da6(0x1af)](_0x448da6(0x1aa));!fs[_0x448da6(0x19f)](resource_1[_0x448da6(0x1b3)])&&fs[_0x448da6(0x1a8)](resource_1[_0x448da6(0x1b3)],{'recursive':!![]});if(!_0x4ab5b8)await xcodebuild_1[_0x448da6(0x1b6)]['archive'](_0x20251f[_0x448da6(0x1b1)]);}static async[_0x169565(0x19a)](_0x169d5a,_0x5c6719){const _0x3a88d8=_0x169565;if(_0x169d5a['u']&&_0x169d5a['p'])xcrun_1['default'][_0x3a88d8(0x19e)]((0x0,path_1[_0x3a88d8(0x199)])(resource_1[_0x3a88d8(0x1b3)],_0x5c6719[_0x3a88d8(0x19b)]+_0x3a88d8(0x1a0)),_0x169d5a['u'],_0x169d5a['p'],!![]);else _0x169d5a['k']&&_0x169d5a['i']&&xcrun_1['default'][_0x3a88d8(0x19e)]((0x0,path_1['join'])(resource_1[_0x3a88d8(0x1b3)],_0x5c6719[_0x3a88d8(0x19b)]+_0x3a88d8(0x1a0)),_0x169d5a['k'],_0x169d5a['i'],![]);}static async['runWithSimulator'](_0x2732ed){await xcrun_1['default']['runWithSimulator'](_0x2732ed);}}exports[_0x169565(0x1b5)]=XcodeManager;function _0x4681(){const _0x56c911=['.ipa','path','../resource','2470EjHQHL','920QXaeCT','parseProject','34677QAmLcE','48sfEUiB','mkdirSync','38247AimFsx','write\x20project.pbxproj:\x20ok','/web-spatial.xcodeproj/project.pbxproj','181892DtbHQj','modify','3137412hcQuVY','log','4680725AJcRXi','export','5kaPWHd','PROJECT_EXPORT_DIRECTORY','./xcodeproject','XcodeManager','default','defineProperty','1082761vsNefn','98464uMqaZH','PROJECT_DIRECTORY','join','upload','name','./xcodebuild','./xcrun','uploadApp','existsSync'];_0x4681=function(){return _0x56c911;};return _0x4681();}
@@ -1 +1 @@
1
- 'use strict';function _0x4fa4(_0x564f15,_0x359151){var _0x5982f6=_0x5982();return _0x4fa4=function(_0x4fa4bb,_0xbf5f52){_0x4fa4bb=_0x4fa4bb-0x7a;var _0x22f6a3=_0x5982f6[_0x4fa4bb];return _0x22f6a3;},_0x4fa4(_0x564f15,_0x359151);}var _0x2177e4=_0x4fa4;function _0x5982(){var _0x511336=['26776dKShCW','3539322FZlqOD','2009GLCcbX','defineProperty','2289982WJZRjv','manifestSwiftTemplate','__esModule','20276532UhzDcJ','4663180XOTlcv','12smlukM','596972Xdeudn','\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=\x20true\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\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','2902840AbQGqj'];_0x5982=function(){return _0x511336;};return _0x5982();}(function(_0x3b43ad,_0x3ebb27){var _0x4bdaf4=_0x4fa4,_0x3bf992=_0x3b43ad();while(!![]){try{var _0x11374b=-parseInt(_0x4bdaf4(0x83))/0x1+-parseInt(_0x4bdaf4(0x7d))/0x2+parseInt(_0x4bdaf4(0x7a))/0x3+parseInt(_0x4bdaf4(0x81))/0x4+-parseInt(_0x4bdaf4(0x85))/0x5*(parseInt(_0x4bdaf4(0x82))/0x6)+-parseInt(_0x4bdaf4(0x7b))/0x7*(parseInt(_0x4bdaf4(0x86))/0x8)+parseInt(_0x4bdaf4(0x80))/0x9;if(_0x11374b===_0x3ebb27)break;else _0x3bf992['push'](_0x3bf992['shift']());}catch(_0x1eed1f){_0x3bf992['push'](_0x3bf992['shift']());}}}(_0x5982,0xb366d));Object[_0x2177e4(0x7c)](exports,_0x2177e4(0x7f),{'value':!![]}),exports[_0x2177e4(0x7e)]=void 0x0,exports[_0x2177e4(0x7e)]=_0x2177e4(0x84);
1
+ 'use strict';function _0x3475(){var _0x17446d=['58878fdJvzz','4688ABfnjX','45kqxeZi','518QuNCEW','manifestSwiftTemplate','1040890PiQRaI','1397SdTXcp','892648kRGdii','216792bMERsS','defineProperty','1808814LnFGMN','5217848ErqKnB','__esModule','10wUDYWX','48OdZbyO'];_0x3475=function(){return _0x17446d;};return _0x3475();}var _0x96fbb6=_0x128c;(function(_0x32603d,_0x3a258c){var _0x48a197=_0x128c,_0x5331c2=_0x32603d();while(!![]){try{var _0x490663=-parseInt(_0x48a197(0x17c))/0x1*(parseInt(_0x48a197(0x17a))/0x2)+parseInt(_0x48a197(0x176))/0x3+parseInt(_0x48a197(0x173))/0x4*(-parseInt(_0x48a197(0x179))/0x5)+parseInt(_0x48a197(0x17b))/0x6*(-parseInt(_0x48a197(0x17e))/0x7)+-parseInt(_0x48a197(0x177))/0x8+parseInt(_0x48a197(0x17d))/0x9*(-parseInt(_0x48a197(0x180))/0xa)+parseInt(_0x48a197(0x181))/0xb*(parseInt(_0x48a197(0x174))/0xc);if(_0x490663===_0x3a258c)break;else _0x5331c2['push'](_0x5331c2['shift']());}catch(_0xdbddae){_0x5331c2['push'](_0x5331c2['shift']());}}}(_0x3475,0x6b55e));function _0x128c(_0x18e2c2,_0x3cc261){var _0x34750f=_0x3475();return _0x128c=function(_0x128cbc,_0x48e732){_0x128cbc=_0x128cbc-0x173;var _0x344885=_0x34750f[_0x128cbc];return _0x344885;},_0x128c(_0x18e2c2,_0x3cc261);}Object[_0x96fbb6(0x175)](exports,_0x96fbb6(0x178),{'value':!![]}),exports[_0x96fbb6(0x17f)]=void 0x0,exports[_0x96fbb6(0x17f)]='\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=\x20true\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\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';
@@ -1 +1 @@
1
- 'use strict';const _0x4bc22d=_0x43d2;function _0x43d2(_0x2720f5,_0x461640){const _0xbb39e0=_0xbb39();return _0x43d2=function(_0x43d2ad,_0x227f6f){_0x43d2ad=_0x43d2ad-0xd5;let _0x2619d0=_0xbb39e0[_0x43d2ad];return _0x2619d0;},_0x43d2(_0x2720f5,_0x461640);}(function(_0x2363ee,_0x23bb7b){const _0x3882fa=_0x43d2,_0x2e74a9=_0x2363ee();while(!![]){try{const _0x2f79f7=-parseInt(_0x3882fa(0xf8))/0x1*(-parseInt(_0x3882fa(0xd9))/0x2)+parseInt(_0x3882fa(0x100))/0x3+-parseInt(_0x3882fa(0xe6))/0x4*(parseInt(_0x3882fa(0xfd))/0x5)+parseInt(_0x3882fa(0xf2))/0x6*(parseInt(_0x3882fa(0xef))/0x7)+parseInt(_0x3882fa(0xe7))/0x8+parseInt(_0x3882fa(0xf1))/0x9*(parseInt(_0x3882fa(0xec))/0xa)+-parseInt(_0x3882fa(0x102))/0xb*(parseInt(_0x3882fa(0x103))/0xc);if(_0x2f79f7===_0x23bb7b)break;else _0x2e74a9['push'](_0x2e74a9['shift']());}catch(_0x518eed){_0x2e74a9['push'](_0x2e74a9['shift']());}}}(_0xbb39,0xc56e9));Object[_0x4bc22d(0x10b)](exports,_0x4bc22d(0xf0),{'value':!![]}),exports['XcodebuildCMD']=void 0x0;const fs=require('fs'),path_1=require('path'),resource_1=require(_0x4bc22d(0xfe)),semver_1=require(_0x4bc22d(0xd7)),file_1=require('../resource/file'),{execSync,exec}=require(_0x4bc22d(0x104));class Xcodebuild{static async['project'](){const _0x203790=_0x4bc22d;try{await new Promise((_0x585f34,_0x52bba5)=>{const _0x5bb814=_0x43d2,_0x165c44=resource_1[_0x5bb814(0xe9)]+_0x5bb814(0xeb),_0x4cde5b=execSync(new XcodebuildCMD()[_0x5bb814(0xea)](_0x165c44)[_0x5bb814(0xfc)]()[_0x5bb814(0xda)]);console['log'](_0x4cde5b[_0x5bb814(0xe2)]()),_0x585f34(_0x4cde5b);});}catch(_0x373b9b){console[_0x203790(0xf5)](_0x373b9b);}}static async['list'](){const _0x3e5986=_0x4bc22d;try{await new Promise((_0x2a8390,_0x1b5d27)=>{const _0x4789b0=_0x43d2,_0x3b4735=resource_1[_0x4789b0(0xe9)]+_0x4789b0(0xeb),_0x41989c=execSync(new XcodebuildCMD()[_0x4789b0(0xea)](_0x3b4735)[_0x4789b0(0xfc)]()[_0x4789b0(0xda)]);console[_0x4789b0(0xf5)](_0x41989c[_0x4789b0(0xe2)]()),_0x2a8390(_0x41989c);});}catch(_0x1f3239){console[_0x3e5986(0xf5)](_0x1f3239);}}static async[_0x4bc22d(0xdb)](_0x8b2318){const _0x5b538e=_0x4bc22d;try{return console[_0x5b538e(0xf5)](_0x5b538e(0xd5)),!fs[_0x5b538e(0xff)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x5b538e(0xf4)](resource_1[_0x5b538e(0x105)],{'recursive':!![]}),await new Promise((_0x35ec16,_0xf40b9b)=>{const _0x409fc4=_0x5b538e,_0xc15ff6=resource_1[_0x409fc4(0xe9)]+_0x409fc4(0xeb),_0x44efee=execSync(new XcodebuildCMD()[_0x409fc4(0xea)](_0xc15ff6)['scheme'](_0x409fc4(0xdd))[_0x409fc4(0xdb)]((0x0,path_1[_0x409fc4(0x106)])(resource_1[_0x409fc4(0xe4)],_0x409fc4(0x109)))[_0x409fc4(0xf3)]()['line']);let _0x3f7fe7=_0x44efee[_0x409fc4(0xe2)]();if(_0x3f7fe7['indexOf'](_0x409fc4(0xdc))>0x0){console[_0x409fc4(0xf5)]('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console['log']('start\x20export');const _0x3260ae=execSync(new XcodebuildCMD()[_0x409fc4(0xf9)]((0x0,path_1['join'])(resource_1[_0x409fc4(0xe4)],'pack.xcarchive'),resource_1[_0x409fc4(0x105)],(0x0,path_1[_0x409fc4(0x106)])(resource_1[_0x409fc4(0xe4)],_0x409fc4(0xf7)))[_0x409fc4(0xfb)]()['line']);_0x3f7fe7=_0x3260ae['toString']();if(_0x3f7fe7[_0x409fc4(0xee)](_0x409fc4(0xd6))>0x0){if(_0x8b2318){const _0x340285=(0x0,path_1['join'])(process[_0x409fc4(0xe5)](),_0x8b2318);!fs['existsSync'](_0x340285)&&fs[_0x409fc4(0xf4)](_0x340285,{'recursive':!![]}),(0x0,file_1[_0x409fc4(0xde)])(resource_1[_0x409fc4(0x105)],_0x340285);}console[_0x409fc4(0xf5)](_0x409fc4(0xed)),_0x35ec16(!![]);}(0x0,semver_1[_0x409fc4(0xf3)])(resource_1[_0x409fc4(0xe4)]);}_0x35ec16(![]);});}catch(_0x1db219){console['log'](_0x1db219);}}}exports[_0x4bc22d(0x107)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x326c2d=_0x4bc22d;this['line']=_0x326c2d(0x108);}[_0x4bc22d(0xea)](_0x3f932f){const _0x31ba2f=_0x4bc22d;return this[_0x31ba2f(0xda)]+=_0x31ba2f(0xf6)+_0x3f932f,this;}[_0x4bc22d(0xfc)](){const _0x3c42c1=_0x4bc22d;return this[_0x3c42c1(0xda)]+=_0x3c42c1(0xe3),this;}[_0x4bc22d(0x10a)](_0x50f54a){const _0x2d5a21=_0x4bc22d;return this[_0x2d5a21(0xda)]+=_0x2d5a21(0xd8)+_0x50f54a,this;}[_0x4bc22d(0xdb)](_0x139530){const _0x30f48a=_0x4bc22d;return this[_0x30f48a(0xda)]+=_0x30f48a(0xfa)+_0x139530+'\x20archive',this;}['allowProvisioningUpdates'](){const _0x5c98cf=_0x4bc22d;return this[_0x5c98cf(0xda)]+='\x20-allowProvisioningUpdates',this;}[_0x4bc22d(0x101)](_0x8e240c){const _0x4b0d14=_0x4bc22d;return this[_0x4b0d14(0xda)]+=_0x4b0d14(0xe1)+_0x8e240c+'\x27',this;}[_0x4bc22d(0xf9)](_0x48b72e,_0x3be7ae,_0x1ea6c3){const _0x5afe80=_0x4bc22d;return this[_0x5afe80(0xda)]+=_0x5afe80(0xe8)+_0x48b72e+'\x20-exportPath\x20'+_0x3be7ae+_0x5afe80(0xe0)+_0x1ea6c3,this;}[_0x4bc22d(0xf3)](){const _0x3d06ca=_0x4bc22d;return this[_0x3d06ca(0xda)]+=_0x3d06ca(0xdf),this;}}function _0xbb39(){const _0x315cde=['ARCHIVE\x20SUCCEEDED','web-spatial','copyDir','\x20clean','\x20-exportOptionsPlist\x20','\x20-destination\x20\x27','toString','\x20-list','PROJECT_BUILD_DIRECTORY','cwd','1364jGAaeS','275992AFpzSU','\x20-exportArchive\x20-archivePath\x20','PROJECT_DIRECTORY','project','/web-spatial.xcodeproj','80dBTDAI','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','indexOf','1770111PKzwEM','__esModule','428958BXfUMY','6Ipuqnb','clean','mkdirSync','log','\x20-project\x20','ExportOptions.plist','1dEkuos','output','\x20-archivePath\x20','allowProvisioningUpdates','list','13645rUYepW','../resource','existsSync','3189453jrCKRY','destination','2116103BJixyW','72qCSGeo','child_process','PROJECT_EXPORT_DIRECTORY','join','default','xcodebuild','./pack','scheme','defineProperty','start\x20archive','EXPORT\x20SUCCEEDED','semver','\x20-scheme\x20','2323378sQYaWF','line','archive'];_0xbb39=function(){return _0x315cde;};return _0xbb39();}exports['XcodebuildCMD']=XcodebuildCMD;
1
+ 'use strict';const _0x11ba1a=_0x49fc;(function(_0x5645d0,_0x3ebc87){const _0x296ce1=_0x49fc,_0x227419=_0x5645d0();while(!![]){try{const _0x4f9407=-parseInt(_0x296ce1(0xd0))/0x1*(-parseInt(_0x296ce1(0xdc))/0x2)+parseInt(_0x296ce1(0xde))/0x3*(parseInt(_0x296ce1(0xf5))/0x4)+-parseInt(_0x296ce1(0x102))/0x5*(parseInt(_0x296ce1(0xf2))/0x6)+parseInt(_0x296ce1(0xf7))/0x7*(-parseInt(_0x296ce1(0xe7))/0x8)+-parseInt(_0x296ce1(0xe3))/0x9+parseInt(_0x296ce1(0xe0))/0xa*(parseInt(_0x296ce1(0xed))/0xb)+-parseInt(_0x296ce1(0xfa))/0xc*(-parseInt(_0x296ce1(0xcb))/0xd);if(_0x4f9407===_0x3ebc87)break;else _0x227419['push'](_0x227419['shift']());}catch(_0x4056a5){_0x227419['push'](_0x227419['shift']());}}}(_0x5626,0xd8918));Object[_0x11ba1a(0xf9)](exports,_0x11ba1a(0xf3),{'value':!![]}),exports[_0x11ba1a(0xeb)]=void 0x0;const fs=require('fs'),path_1=require('path'),resource_1=require(_0x11ba1a(0xcc)),semver_1=require('semver'),file_1=require(_0x11ba1a(0xda)),{execSync,exec}=require(_0x11ba1a(0xfb));function _0x49fc(_0x21505c,_0x389309){const _0x562603=_0x5626();return _0x49fc=function(_0x49fccd,_0x471ded){_0x49fccd=_0x49fccd-0xcb;let _0x25c815=_0x562603[_0x49fccd];return _0x25c815;},_0x49fc(_0x21505c,_0x389309);}class Xcodebuild{static async[_0x11ba1a(0xee)](){try{await new Promise((_0xa04f81,_0x459f1d)=>{const _0x2acd19=_0x49fc,_0xb22150=resource_1[_0x2acd19(0xd7)]+_0x2acd19(0xe1),_0xbfe0ff=execSync(new XcodebuildCMD()['project'](_0xb22150)[_0x2acd19(0x104)]()['line']);console[_0x2acd19(0xf0)](_0xbfe0ff[_0x2acd19(0xd6)]()),_0xa04f81(_0xbfe0ff);});}catch(_0x303992){console['log'](_0x303992);}}static async['list'](){const _0x41ef49=_0x11ba1a;try{await new Promise((_0x5c3ae2,_0x14b684)=>{const _0x4ec106=_0x49fc,_0x4c4324=resource_1[_0x4ec106(0xd7)]+'/web-spatial.xcodeproj',_0x959d3e=execSync(new XcodebuildCMD()[_0x4ec106(0xee)](_0x4c4324)[_0x4ec106(0x104)]()[_0x4ec106(0xfe)]);console['log'](_0x959d3e[_0x4ec106(0xd6)]()),_0x5c3ae2(_0x959d3e);});}catch(_0x217376){console[_0x41ef49(0xf0)](_0x217376);}}static async[_0x11ba1a(0xfd)](_0xb7962d){const _0x46695e=_0x11ba1a;try{return console[_0x46695e(0xf0)](_0x46695e(0xd2)),!fs[_0x46695e(0xfc)](resource_1[_0x46695e(0x100)])&&fs[_0x46695e(0xe6)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x1b7586,_0x26cf7a)=>{const _0x1338a3=_0x46695e,_0x12f9c4=resource_1['PROJECT_DIRECTORY']+_0x1338a3(0xe1),_0x380ae1=execSync(new XcodebuildCMD()[_0x1338a3(0xee)](_0x12f9c4)['scheme'](_0x1338a3(0x101))['archive']((0x0,path_1[_0x1338a3(0xd8)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x1338a3(0x103)))['clean']()[_0x1338a3(0xfe)]);let _0x1000f7=_0x380ae1[_0x1338a3(0xd6)]();if(_0x1000f7[_0x1338a3(0xf1)](_0x1338a3(0xf6))>0x0){console['log']('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console[_0x1338a3(0xf0)](_0x1338a3(0xcd));const _0x2417ad=execSync(new XcodebuildCMD()[_0x1338a3(0xe2)]((0x0,path_1[_0x1338a3(0xd8)])(resource_1[_0x1338a3(0xe4)],'pack.xcarchive'),resource_1[_0x1338a3(0x100)],(0x0,path_1[_0x1338a3(0xd8)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x1338a3(0xd1)))[_0x1338a3(0xce)]()[_0x1338a3(0xfe)]);_0x1000f7=_0x2417ad[_0x1338a3(0xd6)]();if(_0x1000f7['indexOf'](_0x1338a3(0xdb))>0x0){if(_0xb7962d){const _0x2a3927=(0x0,path_1['join'])(process[_0x1338a3(0xef)](),_0xb7962d);!fs[_0x1338a3(0xfc)](_0x2a3927)&&fs[_0x1338a3(0xe6)](_0x2a3927,{'recursive':!![]}),(0x0,file_1[_0x1338a3(0xd4)])(resource_1[_0x1338a3(0x100)],_0x2a3927);}console[_0x1338a3(0xf0)]('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------'),_0x1b7586(!![]);}(0x0,semver_1[_0x1338a3(0xd3)])(resource_1[_0x1338a3(0xe4)]);}_0x1b7586(![]);});}catch(_0x576a4){console[_0x46695e(0xf0)](_0x576a4);}}}exports[_0x11ba1a(0xe8)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x2cf0bd=_0x11ba1a;this['line']=_0x2cf0bd(0xd5);}[_0x11ba1a(0xee)](_0x15bf87){const _0x4d294e=_0x11ba1a;return this[_0x4d294e(0xfe)]+=_0x4d294e(0xf4)+_0x15bf87,this;}[_0x11ba1a(0x104)](){const _0x95bb3f=_0x11ba1a;return this[_0x95bb3f(0xfe)]+='\x20-list',this;}[_0x11ba1a(0xdd)](_0x4fb904){const _0xb7959f=_0x11ba1a;return this[_0xb7959f(0xfe)]+=_0xb7959f(0xec)+_0x4fb904,this;}[_0x11ba1a(0xfd)](_0x5274fa){const _0x147cbf=_0x11ba1a;return this[_0x147cbf(0xfe)]+=_0x147cbf(0xd9)+_0x5274fa+_0x147cbf(0xea),this;}[_0x11ba1a(0xce)](){const _0x292c5a=_0x11ba1a;return this[_0x292c5a(0xfe)]+=_0x292c5a(0xf8),this;}[_0x11ba1a(0xcf)](_0x37daa9){const _0x4c7375=_0x11ba1a;return this[_0x4c7375(0xfe)]+=_0x4c7375(0xff)+_0x37daa9+'\x27',this;}[_0x11ba1a(0xe2)](_0x4390ca,_0x4d3ba1,_0x2b4dff){const _0x3898d0=_0x11ba1a;return this[_0x3898d0(0xfe)]+=_0x3898d0(0xe5)+_0x4390ca+_0x3898d0(0xe9)+_0x4d3ba1+'\x20-exportOptionsPlist\x20'+_0x2b4dff,this;}['clean'](){const _0x3cee25=_0x11ba1a;return this[_0x3cee25(0xfe)]+=_0x3cee25(0xdf),this;}}exports['XcodebuildCMD']=XcodebuildCMD;function _0x5626(){const _0x23844e=['xcodebuild','toString','PROJECT_DIRECTORY','join','\x20-archivePath\x20','../resource/file','EXPORT\x20SUCCEEDED','58KGLIax','scheme','61176kAlNZu','\x20clean','111750tuuSHq','/web-spatial.xcodeproj','output','5663070AQrpmT','PROJECT_BUILD_DIRECTORY','\x20-exportArchive\x20-archivePath\x20','mkdirSync','48fHbQlR','default','\x20-exportPath\x20','\x20archive','XcodebuildCMD','\x20-scheme\x20','11bVgQjQ','project','cwd','log','indexOf','246COAtgk','__esModule','\x20-project\x20','268FtVRIE','ARCHIVE\x20SUCCEEDED','564753bvqLYt','\x20-allowProvisioningUpdates','defineProperty','20556LUWmpR','child_process','existsSync','archive','line','\x20-destination\x20\x27','PROJECT_EXPORT_DIRECTORY','web-spatial','181205BeJrvg','./pack','list','8593occFQO','../resource','start\x20export','allowProvisioningUpdates','destination','33673QKMNXh','ExportOptions.plist','start\x20archive','clean','copyDir'];_0x5626=function(){return _0x23844e;};return _0x5626();}
@@ -1 +1 @@
1
- 'use strict';const _0x431b04=_0x5828;function _0x1fff(){const _0x31155f=['includes','version','../resource/load','url','resizability','ExportOptions.plist','modifySwift','name','updateVersion','PROJECT_DIRECTORY','stringify','AppID','PROJECT_BUILD_DIRECTORY','loadJsonFromDisk','writeSync','writeFileSync','SceneHeight','mkdirSync','push','AppName','buildSettings','buildConfigurations','defineProperty','existsSync','18780727HNPMNm','updateBuildProperty','replace','fixProjectFunction','./web-spatial/Info.plist','objects','display','updateProductName','height','<string>','modify','updateExportOptions','1338646FQjEvd','<?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>','\x22),','join','DEEPLINK','</string>','BUILDTYPE','bindIcon','writeAsync','pbxGroupByName','CURRENT_PROJECT_VERSION','PBXGroup','833649WSVDRn','project','8FUxyjP','updateTeamId','json','length','release-testing','4024965PMhxSI','debugging','pbxXCConfigurationList','protocol','filename','DEVELOPMENT_TEAM','xcode','1167380LMfRuB','images','protocol_handlers','start_url','width','.minimal','scope','MIDDLE_APPICON_DIRECTORY','icon.png','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','../resource/imageHelper','description','YOURTEAMID','.standalone','mainScene','hash','PWAProtocol(protocolValue:\x20\x22','pbxXCBuildConfigurationSection','test','updateDeeplink','__esModule','bindManifestInfo','pbxTargetByName','Contents.json','manifestSwiftTemplate','1180230cxADXD','default','app-store-connect','\x22,\x20url:\x20\x22','./web-spatial/libs/webView/manifest.swift','<?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','manifestInfo','utf-8','BACK_APPICON_DIRECTORY','buildType','buildConfigurationList','ImageHelper','1930758DtnwqM','icon.','minimal-ui'];_0x1fff=function(){return _0x31155f;};return _0x1fff();}(function(_0x52d67f,_0x391e03){const _0x181dde=_0x5828,_0x14d781=_0x52d67f();while(!![]){try{const _0x212a7e=-parseInt(_0x181dde(0x174))/0x1+-parseInt(_0x181dde(0x168))/0x2+parseInt(_0x181dde(0x19b))/0x3+parseInt(_0x181dde(0x182))/0x4+-parseInt(_0x181dde(0x17b))/0x5+-parseInt(_0x181dde(0x1a7))/0x6+-parseInt(_0x181dde(0x1c2))/0x7*(-parseInt(_0x181dde(0x176))/0x8);if(_0x212a7e===_0x391e03)break;else _0x14d781['push'](_0x14d781['shift']());}catch(_0x2b35d5){_0x14d781['push'](_0x14d781['shift']());}}}(_0x1fff,0xb449a));Object[_0x431b04(0x1c0)](exports,_0x431b04(0x196),{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require('path'),load_1=require(_0x431b04(0x1ac)),imageHelper_1=require(_0x431b04(0x18c)),manifestSwiftTemplate_1=require('./manifestSwiftTemplate'),xcode=require(_0x431b04(0x181)),exportOptionsXML=_0x431b04(0x169),infoPlistXML=_0x431b04(0x1a0);let useExportOptionsXML='';function _0x5828(_0x4e200c,_0x5b066a){const _0x1fffab=_0x1fff();return _0x5828=function(_0x582877,_0x3e675c){_0x582877=_0x582877-0x160;let _0x11a7b2=_0x1fffab[_0x582877];return _0x11a7b2;},_0x5828(_0x4e200c,_0x5b066a);}class XcodeProject{static async[_0x431b04(0x166)](_0x3d70c6,_0x58aa93){const _0x2856ec=_0x431b04;let _0x3e19b1=xcode[_0x2856ec(0x175)](_0x3d70c6);this['fixProjectFunction'](_0x3e19b1),_0x3e19b1['parseSync']();let _0x33fc0e=_0x58aa93[_0x2856ec(0x1a4)];const _0x5e38c5=[_0x2856ec(0x17a),_0x2856ec(0x19d),_0x2856ec(0x17c),'enterprise'];useExportOptionsXML=exportOptionsXML[_0x2856ec(0x1c4)](_0x2856ec(0x16e),_0x5e38c5[_0x2856ec(0x1aa)](_0x33fc0e)?_0x33fc0e:_0x2856ec(0x17a));_0x58aa93['teamId']&&this[_0x2856ec(0x177)](_0x3e19b1,_0x58aa93['teamId']);this['updateExportOptions'](),await this['bindIcon'](_0x58aa93['icon']),this[_0x2856ec(0x197)](_0x3e19b1,_0x58aa93[_0x2856ec(0x1a1)][_0x2856ec(0x178)]);_0x58aa93['version']?this[_0x2856ec(0x1b2)](_0x3e19b1,_0x58aa93[_0x2856ec(0x1ab)]):this[_0x2856ec(0x1b2)](_0x3e19b1,'1.0');try{fs[_0x2856ec(0x1b9)](_0x3d70c6,_0x3e19b1[_0x2856ec(0x1b8)]());}catch(_0x471147){console['log'](_0x471147);}}static[_0x431b04(0x1c5)](_0x5582d1){const _0x6e93da=_0x431b04;_0x5582d1[_0x6e93da(0x171)]=function(_0x96289b){const _0x126128=_0x6e93da;var _0x4f9d59=this[_0x126128(0x191)][_0x126128(0x175)][_0x126128(0x161)][_0x126128(0x173)],_0x4f7f7f,_0x18d7a3;for(_0x4f7f7f in _0x4f9d59){if(!/_comment$/[_0x126128(0x194)](_0x4f7f7f))continue;if(_0x4f9d59[_0x4f7f7f]==_0x96289b)return _0x18d7a3=_0x4f7f7f['split'](/_comment$/)[0x0],_0x4f9d59[_0x18d7a3];}return![];},_0x5582d1[_0x6e93da(0x1c3)]=function(_0x349d88,_0x11317b,_0x274b00,_0x537b4f){const _0x360d74=_0x6e93da;let _0x1ee12f=[];const _0x2cce42=/_comment$/;if(_0x537b4f){const _0x26ce63=this[_0x360d74(0x198)](_0x537b4f),_0x410a65=_0x26ce63&&_0x26ce63[_0x360d74(0x1a5)],_0x4fa0af=this[_0x360d74(0x17d)]();for(const _0x2de69c in _0x4fa0af){if(!_0x2cce42['test'](_0x2de69c)&&_0x410a65===_0x2de69c){const _0x3b6692=_0x4fa0af[_0x2de69c][_0x360d74(0x1bf)];for(const _0x1f41cc of _0x3b6692){_0x1ee12f[_0x360d74(0x1bc)](_0x1f41cc['value']);}break;}}}var _0x1cf6f5=this[_0x360d74(0x193)]();for(var _0x108d27 in _0x1cf6f5){if(!_0x2cce42[_0x360d74(0x194)](_0x108d27)){if(_0x537b4f&&!_0x1ee12f['includes'](_0x108d27))continue;var _0x2880e2=_0x1cf6f5[_0x108d27];(_0x274b00&&_0x2880e2[_0x360d74(0x1b1)]===_0x274b00||!_0x274b00)&&_0x2880e2[_0x360d74(0x1be)][_0x349d88]&&(_0x2880e2[_0x360d74(0x1be)][_0x349d88]=_0x11317b);}}};}static async[_0x431b04(0x16f)](_0x13e648){const _0x3264f0=_0x431b04;if(_0x13e648){const _0x34de2e=(0x0,path_1[_0x3264f0(0x16b)])(resource_1[_0x3264f0(0x1b3)],resource_1[_0x3264f0(0x1a3)]),_0x33f025=(0x0,path_1['join'])(_0x34de2e,'Contents.json'),_0x17e096=_0x3264f0(0x1a8)+_0x13e648['getMIME']()[_0x3264f0(0x1c4)]('image/',''),_0x4b526a=(0x0,path_1[_0x3264f0(0x16b)])(_0x34de2e,_0x17e096);let _0x40141a=await(0x0,load_1[_0x3264f0(0x1b7)])(_0x33f025);_0x40141a[_0x3264f0(0x183)][0x0][_0x3264f0(0x17f)]=_0x17e096,await _0x13e648[_0x3264f0(0x170)](_0x4b526a),await fs[_0x3264f0(0x1b9)](_0x33f025,JSON['stringify'](_0x40141a));const _0x3ba55f=(0x0,path_1[_0x3264f0(0x16b)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x3264f0(0x189)]),_0x936293=(0x0,path_1[_0x3264f0(0x16b)])(_0x3ba55f,_0x3264f0(0x199)),_0x38aa14=_0x3264f0(0x18a),_0x5b3780=(0x0,path_1['join'])(_0x3ba55f,_0x38aa14);let _0x1c0945=await(0x0,load_1[_0x3264f0(0x1b7)])(_0x936293),_0x2d1e15=imageHelper_1[_0x3264f0(0x1a6)]['createImg'](0x200);_0x1c0945[_0x3264f0(0x183)][0x0][_0x3264f0(0x17f)]=_0x38aa14,await _0x2d1e15['writeAsync'](_0x5b3780),await fs[_0x3264f0(0x1b9)](_0x936293,JSON[_0x3264f0(0x1b4)](_0x1c0945));}}static[_0x431b04(0x177)](_0x216b37,_0x4b25f6){const _0x342360=_0x431b04;_0x216b37[_0x342360(0x1c3)](_0x342360(0x180),_0x4b25f6),useExportOptionsXML=useExportOptionsXML[_0x342360(0x1c4)](_0x342360(0x18e),_0x4b25f6);}static[_0x431b04(0x167)](){const _0x5bc4b2=_0x431b04;!fs[_0x5bc4b2(0x1c1)](resource_1[_0x5bc4b2(0x1b6)])&&fs[_0x5bc4b2(0x1bb)](resource_1[_0x5bc4b2(0x1b6)],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1[_0x5bc4b2(0x16b)])(resource_1[_0x5bc4b2(0x1b6)],_0x5bc4b2(0x1af)),useExportOptionsXML);}static['bindManifestInfo'](_0x129d64,_0x3ccffb){const _0x19741f=_0x431b04;var _0x2d1721;_0x129d64[_0x19741f(0x163)](_0x3ccffb[_0x19741f(0x1b1)]),_0x129d64['updateBuildProperty']('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x3ccffb['id']+'\x22'),this[_0x19741f(0x195)]((_0x2d1721=_0x3ccffb['protocol_handlers'])!==null&&_0x2d1721!==void 0x0?_0x2d1721:[]),this[_0x19741f(0x1b0)](_0x3ccffb);}static[_0x431b04(0x1b2)](_0x3fb312,_0x449706){const _0x2baa94=_0x431b04;_0x3fb312[_0x2baa94(0x1c3)](_0x2baa94(0x172),_0x449706);}static[_0x431b04(0x195)](_0x3d7e5e){const _0x21792a=_0x431b04;let _0x4581ea=(0x0,path_1[_0x21792a(0x16b)])(resource_1['PROJECT_DIRECTORY'],_0x21792a(0x160)),_0x5606f4='';for(let _0x40e701=0x0;_0x40e701<_0x3d7e5e[_0x21792a(0x179)];_0x40e701++){_0x5606f4+=_0x21792a(0x165)+_0x3d7e5e[_0x40e701]['protocol']+_0x21792a(0x16d);}const _0x7d5590=infoPlistXML['replace'](_0x21792a(0x16c),_0x5606f4);fs['writeFileSync'](_0x4581ea,_0x7d5590);}static[_0x431b04(0x1b0)](_0x16b6ac){const _0x259aaa=_0x431b04,_0x21c5e5=(0x0,path_1[_0x259aaa(0x16b)])(resource_1[_0x259aaa(0x1b3)],_0x259aaa(0x19f));let _0x31258e=manifestSwiftTemplate_1[_0x259aaa(0x19a)];_0x31258e=_0x31258e['replace']('START_URL',_0x16b6ac[_0x259aaa(0x185)]),_0x31258e=_0x31258e[_0x259aaa(0x1c4)]('SCOPE',_0x16b6ac[_0x259aaa(0x188)]),_0x31258e=_0x31258e[_0x259aaa(0x1c4)](_0x259aaa(0x1bd),_0x16b6ac[_0x259aaa(0x1b1)]),_0x31258e=_0x31258e[_0x259aaa(0x1c4)]('Description',_0x16b6ac[_0x259aaa(0x18d)]),_0x31258e=_0x31258e['replace'](_0x259aaa(0x1b5),_0x16b6ac['id']),_0x31258e=_0x31258e[_0x259aaa(0x1c4)](_0x259aaa(0x187),_0x16b6ac[_0x259aaa(0x162)]==_0x259aaa(0x1a9)?_0x259aaa(0x187):_0x259aaa(0x18f));if(_0x16b6ac[_0x259aaa(0x184)]){let _0xd93c9f='';for(let _0x2bbb79=0x0;_0x2bbb79<_0x16b6ac[_0x259aaa(0x184)][_0x259aaa(0x179)];_0x2bbb79++){_0xd93c9f+=_0x259aaa(0x192)+_0x16b6ac[_0x259aaa(0x184)][_0x2bbb79][_0x259aaa(0x17e)]+_0x259aaa(0x19e)+_0x16b6ac['protocol_handlers'][_0x2bbb79][_0x259aaa(0x1ad)]+_0x259aaa(0x16a);}_0x31258e=_0x31258e[_0x259aaa(0x1c4)](_0x259aaa(0x18b),_0xd93c9f);}_0x31258e=_0x31258e[_0x259aaa(0x1c4)]('SceneWidth',_0x16b6ac['mainScene']['defaultSize'][_0x259aaa(0x186)]),_0x31258e=_0x31258e[_0x259aaa(0x1c4)](_0x259aaa(0x1ba),_0x16b6ac[_0x259aaa(0x190)]['defaultSize'][_0x259aaa(0x164)]),_0x31258e=_0x31258e[_0x259aaa(0x1c4)]('SceneResizability','\x22'+_0x16b6ac['mainScene'][_0x259aaa(0x1ae)]+'\x22'),fs[_0x259aaa(0x1b9)](_0x21c5e5,_0x31258e,_0x259aaa(0x1a2));}}exports[_0x431b04(0x19c)]=XcodeProject;
1
+ 'use strict';const _0x1b7ea2=_0x3274;(function(_0x2f069f,_0x142074){const _0x41e53e=_0x3274,_0x2a7934=_0x2f069f();while(!![]){try{const _0x231087=parseInt(_0x41e53e(0x9b))/0x1*(parseInt(_0x41e53e(0xc4))/0x2)+parseInt(_0x41e53e(0xb6))/0x3+parseInt(_0x41e53e(0xab))/0x4+-parseInt(_0x41e53e(0xc0))/0x5*(-parseInt(_0x41e53e(0xa0))/0x6)+parseInt(_0x41e53e(0xdc))/0x7+parseInt(_0x41e53e(0xc9))/0x8+parseInt(_0x41e53e(0xd7))/0x9*(-parseInt(_0x41e53e(0xd9))/0xa);if(_0x231087===_0x142074)break;else _0x2a7934['push'](_0x2a7934['shift']());}catch(_0x44a237){_0x2a7934['push'](_0x2a7934['shift']());}}}(_0x4d93,0x2cc67));function _0x3274(_0x35d23c,_0x226cde){const _0x4d93b6=_0x4d93();return _0x3274=function(_0x327486,_0x5e6b01){_0x327486=_0x327486-0x96;let _0x4cee72=_0x4d93b6[_0x327486];return _0x4cee72;},_0x3274(_0x35d23c,_0x226cde);}Object[_0x1b7ea2(0xed)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require(_0x1b7ea2(0xe2)),load_1=require(_0x1b7ea2(0xc5)),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require(_0x1b7ea2(0xe9)),xcode=require(_0x1b7ea2(0xb0)),exportOptionsXML=_0x1b7ea2(0xf0),infoPlistXML=_0x1b7ea2(0x9d);let useExportOptionsXML='';function _0x4d93(){const _0x155b2f=['icon.png','defaultSize','value','url','.minimal','writeSync','Contents.json','buildConfigurations','22430fOyUpG','PBXGroup','updateBuildProperty','resizability','16288nrhDiR','../resource/load','protocol_handlers','updateDeeplink','display','1017088bJNJhT','PWAProtocol(protocolValue:\x20\x22','push','./web-spatial/Info.plist','project','mkdirSync','writeAsync','AppName','writeFileSync','.standalone','protocol','updateTeamId','minimal-ui','loadJsonFromDisk','33183AVoRMA','split','1470uMyHXW','parseSync','includes','1078546jDPUcb','version','test','PRODUCT_BUNDLE_IDENTIFIER','Description','PROJECT_BUILD_DIRECTORY','path','./web-spatial/libs/webView/manifest.swift','createImg','utf-8','SceneWidth','PROJECT_DIRECTORY','image/','./manifestSwiftTemplate','description','modify','DEVELOPMENT_TEAM','defineProperty','start_url','default','<?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>','name','mainScene','join','\x22,\x20url:\x20\x22','buildConfigurationList','pbxXCConfigurationList','ImageHelper','SCOPE','stringify','width','json','SceneHeight','fixProjectFunction','release-testing','8eTWaHw','</string>','<?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','icon.','images','300eFdveh','getMIME','teamId','replace','\x22),','manifestSwiftTemplate','bindIcon','hash','buildSettings','BUILDTYPE','filename','547540WZLkCR','icon','length','modifySwift','pbxGroupByName','xcode','1.0','enterprise','height','buildType','debugging','53511hCWkHn','updateVersion'];_0x4d93=function(){return _0x155b2f;};return _0x4d93();}class XcodeProject{static async[_0x1b7ea2(0xeb)](_0x48ad78,_0x1db75c){const _0x7563f8=_0x1b7ea2;let _0x7f6cef=xcode['project'](_0x48ad78);this[_0x7563f8(0x99)](_0x7f6cef),_0x7f6cef[_0x7563f8(0xda)]();let _0x128862=_0x1db75c[_0x7563f8(0xb4)];const _0x3d4e2b=[_0x7563f8(0x9a),'app-store-connect',_0x7563f8(0xb5),_0x7563f8(0xb2)];useExportOptionsXML=exportOptionsXML[_0x7563f8(0xa3)](_0x7563f8(0xa9),_0x3d4e2b[_0x7563f8(0xdb)](_0x128862)?_0x128862:_0x7563f8(0x9a));_0x1db75c[_0x7563f8(0xa2)]&&this['updateTeamId'](_0x7f6cef,_0x1db75c[_0x7563f8(0xa2)]);this['updateExportOptions'](),await this[_0x7563f8(0xa6)](_0x1db75c[_0x7563f8(0xac)]),this['bindManifestInfo'](_0x7f6cef,_0x1db75c['manifestInfo'][_0x7563f8(0x97)]);_0x1db75c[_0x7563f8(0xdd)]?this[_0x7563f8(0xb7)](_0x7f6cef,_0x1db75c[_0x7563f8(0xdd)]):this[_0x7563f8(0xb7)](_0x7f6cef,_0x7563f8(0xb1));try{fs[_0x7563f8(0xd1)](_0x48ad78,_0x7f6cef[_0x7563f8(0xbd)]());}catch(_0x32e2e9){console['log'](_0x32e2e9);}}static['fixProjectFunction'](_0xc4e8b2){const _0x25b8b5=_0x1b7ea2;_0xc4e8b2[_0x25b8b5(0xaf)]=function(_0xb1a01a){const _0x534815=_0x25b8b5;var _0x528e87=this[_0x534815(0xa7)][_0x534815(0xcd)]['objects'][_0x534815(0xc1)],_0x2f733a,_0x4e2f29;for(_0x2f733a in _0x528e87){if(!/_comment$/[_0x534815(0xde)](_0x2f733a))continue;if(_0x528e87[_0x2f733a]==_0xb1a01a)return _0x4e2f29=_0x2f733a[_0x534815(0xd8)](/_comment$/)[0x0],_0x528e87[_0x4e2f29];}return![];},_0xc4e8b2['updateBuildProperty']=function(_0x3fb3f9,_0x19196d,_0x21edbc,_0x4c8b6d){const _0x55f2fe=_0x25b8b5;let _0x4e0d7b=[];const _0x4bf9f4=/_comment$/;if(_0x4c8b6d){const _0x2b556e=this['pbxTargetByName'](_0x4c8b6d),_0x1bbaa0=_0x2b556e&&_0x2b556e[_0x55f2fe(0xf5)],_0x54e3e4=this[_0x55f2fe(0xf6)]();for(const _0x508930 in _0x54e3e4){if(!_0x4bf9f4[_0x55f2fe(0xde)](_0x508930)&&_0x1bbaa0===_0x508930){const _0x53db19=_0x54e3e4[_0x508930][_0x55f2fe(0xbf)];for(const _0x50ab6a of _0x53db19){_0x4e0d7b[_0x55f2fe(0xcb)](_0x50ab6a[_0x55f2fe(0xba)]);}break;}}}var _0x33e2d3=this['pbxXCBuildConfigurationSection']();for(var _0x36e3d9 in _0x33e2d3){if(!_0x4bf9f4['test'](_0x36e3d9)){if(_0x4c8b6d&&!_0x4e0d7b[_0x55f2fe(0xdb)](_0x36e3d9))continue;var _0x3f6449=_0x33e2d3[_0x36e3d9];(_0x21edbc&&_0x3f6449[_0x55f2fe(0xf1)]===_0x21edbc||!_0x21edbc)&&_0x3f6449[_0x55f2fe(0xa8)][_0x3fb3f9]&&(_0x3f6449[_0x55f2fe(0xa8)][_0x3fb3f9]=_0x19196d);}}};}static async['bindIcon'](_0x44d5aa){const _0x54264d=_0x1b7ea2;if(_0x44d5aa){const _0x37f606=(0x0,path_1['join'])(resource_1[_0x54264d(0xe7)],resource_1['BACK_APPICON_DIRECTORY']),_0x51ecde=(0x0,path_1['join'])(_0x37f606,_0x54264d(0xbe)),_0x96b2c3=_0x54264d(0x9e)+_0x44d5aa[_0x54264d(0xa1)]()[_0x54264d(0xa3)](_0x54264d(0xe8),''),_0x2866e7=(0x0,path_1[_0x54264d(0xf3)])(_0x37f606,_0x96b2c3);let _0xbe8339=await(0x0,load_1[_0x54264d(0xd6)])(_0x51ecde);_0xbe8339[_0x54264d(0x9f)][0x0][_0x54264d(0xaa)]=_0x96b2c3,await _0x44d5aa[_0x54264d(0xcf)](_0x2866e7),await fs[_0x54264d(0xd1)](_0x51ecde,JSON[_0x54264d(0xf9)](_0xbe8339));const _0x5c2677=(0x0,path_1[_0x54264d(0xf3)])(resource_1[_0x54264d(0xe7)],resource_1['MIDDLE_APPICON_DIRECTORY']),_0xed1a05=(0x0,path_1['join'])(_0x5c2677,'Contents.json'),_0x24f563=_0x54264d(0xb8),_0x3f050d=(0x0,path_1[_0x54264d(0xf3)])(_0x5c2677,_0x24f563);let _0x41bfdc=await(0x0,load_1[_0x54264d(0xd6)])(_0xed1a05),_0x10bf4b=imageHelper_1[_0x54264d(0xf7)][_0x54264d(0xe4)](0x200);_0x41bfdc['images'][0x0][_0x54264d(0xaa)]=_0x24f563,await _0x10bf4b[_0x54264d(0xcf)](_0x3f050d),await fs['writeFileSync'](_0xed1a05,JSON['stringify'](_0x41bfdc));}}static[_0x1b7ea2(0xd4)](_0x2b6eae,_0x136997){const _0x2a1c86=_0x1b7ea2;_0x2b6eae['updateBuildProperty'](_0x2a1c86(0xec),_0x136997),useExportOptionsXML=useExportOptionsXML[_0x2a1c86(0xa3)]('YOURTEAMID',_0x136997);}static['updateExportOptions'](){const _0x5dcf3f=_0x1b7ea2;!fs['existsSync'](resource_1[_0x5dcf3f(0xe1)])&&fs[_0x5dcf3f(0xce)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x5dcf3f(0xd1)]((0x0,path_1['join'])(resource_1[_0x5dcf3f(0xe1)],'ExportOptions.plist'),useExportOptionsXML);}static['bindManifestInfo'](_0x81104e,_0x4fb8d9){const _0x240c50=_0x1b7ea2;var _0xd0a4aa;_0x81104e['updateProductName'](_0x4fb8d9[_0x240c50(0xf1)]),_0x81104e['updateBuildProperty'](_0x240c50(0xdf),'\x22'+_0x4fb8d9['id']+'\x22'),this[_0x240c50(0xc7)]((_0xd0a4aa=_0x4fb8d9[_0x240c50(0xc6)])!==null&&_0xd0a4aa!==void 0x0?_0xd0a4aa:[]),this[_0x240c50(0xae)](_0x4fb8d9);}static['updateVersion'](_0x2ced52,_0x1552b2){const _0x4ad84f=_0x1b7ea2;_0x2ced52[_0x4ad84f(0xc2)]('CURRENT_PROJECT_VERSION',_0x1552b2);}static[_0x1b7ea2(0xc7)](_0x411408){const _0x41cf30=_0x1b7ea2;let _0x5baee2=(0x0,path_1[_0x41cf30(0xf3)])(resource_1['PROJECT_DIRECTORY'],_0x41cf30(0xcc)),_0x21505b='';for(let _0x2f55ce=0x0;_0x2f55ce<_0x411408[_0x41cf30(0xad)];_0x2f55ce++){_0x21505b+='<string>'+_0x411408[_0x2f55ce][_0x41cf30(0xd3)]+_0x41cf30(0x9c);}const _0x315f05=infoPlistXML['replace']('DEEPLINK',_0x21505b);fs[_0x41cf30(0xd1)](_0x5baee2,_0x315f05);}static[_0x1b7ea2(0xae)](_0x5808b4){const _0x378808=_0x1b7ea2,_0x322222=(0x0,path_1[_0x378808(0xf3)])(resource_1['PROJECT_DIRECTORY'],_0x378808(0xe3));let _0x43a75f=manifestSwiftTemplate_1[_0x378808(0xa5)];_0x43a75f=_0x43a75f[_0x378808(0xa3)]('START_URL',_0x5808b4[_0x378808(0xee)]),_0x43a75f=_0x43a75f[_0x378808(0xa3)](_0x378808(0xf8),_0x5808b4['scope']),_0x43a75f=_0x43a75f['replace'](_0x378808(0xd0),_0x5808b4[_0x378808(0xf1)]),_0x43a75f=_0x43a75f[_0x378808(0xa3)](_0x378808(0xe0),_0x5808b4[_0x378808(0xea)]),_0x43a75f=_0x43a75f['replace']('AppID',_0x5808b4['id']),_0x43a75f=_0x43a75f[_0x378808(0xa3)](_0x378808(0xbc),_0x5808b4[_0x378808(0xc8)]==_0x378808(0xd5)?_0x378808(0xbc):_0x378808(0xd2));if(_0x5808b4['protocol_handlers']){let _0x44b0cd='';for(let _0x580e2f=0x0;_0x580e2f<_0x5808b4[_0x378808(0xc6)][_0x378808(0xad)];_0x580e2f++){_0x44b0cd+=_0x378808(0xca)+_0x5808b4['protocol_handlers'][_0x580e2f][_0x378808(0xd3)]+_0x378808(0xf4)+_0x5808b4['protocol_handlers'][_0x580e2f][_0x378808(0xbb)]+_0x378808(0xa4);}_0x43a75f=_0x43a75f['replace']('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x44b0cd);}_0x43a75f=_0x43a75f[_0x378808(0xa3)](_0x378808(0xe6),_0x5808b4[_0x378808(0xf2)][_0x378808(0xb9)][_0x378808(0x96)]),_0x43a75f=_0x43a75f['replace'](_0x378808(0x98),_0x5808b4[_0x378808(0xf2)][_0x378808(0xb9)][_0x378808(0xb3)]),_0x43a75f=_0x43a75f[_0x378808(0xa3)]('SceneResizability','\x22'+_0x5808b4['mainScene'][_0x378808(0xc3)]+'\x22'),fs[_0x378808(0xd1)](_0x322222,_0x43a75f,_0x378808(0xe5));}}exports[_0x1b7ea2(0xef)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x126840=_0x2fc7;(function(_0x3b31e7,_0x1c1733){const _0x9aeb58=_0x2fc7,_0x3d48a9=_0x3b31e7();while(!![]){try{const _0x1cb348=-parseInt(_0x9aeb58(0x1aa))/0x1+parseInt(_0x9aeb58(0x1eb))/0x2+-parseInt(_0x9aeb58(0x1ef))/0x3*(-parseInt(_0x9aeb58(0x1a9))/0x4)+-parseInt(_0x9aeb58(0x1ae))/0x5*(parseInt(_0x9aeb58(0x1e9))/0x6)+-parseInt(_0x9aeb58(0x1bb))/0x7*(parseInt(_0x9aeb58(0x1c9))/0x8)+parseInt(_0x9aeb58(0x1e4))/0x9+parseInt(_0x9aeb58(0x1dc))/0xa;if(_0x1cb348===_0x1c1733)break;else _0x3d48a9['push'](_0x3d48a9['shift']());}catch(_0x2a7d85){_0x3d48a9['push'](_0x3d48a9['shift']());}}}(_0x4696,0x71a07));function _0x4696(){const _0x1f9f26=['length','\x20--validate-app\x20-f\x20','version','defineProperty','\x20--apiKey\x20','launch','push','./xcodebuild','\x20list\x20devices\x20\x22','Booted','uploadPackage','7lrWDTO','visionos','listDevices','project','toString','split','installing\x20app','\x20simctl','state','join','trim','\x20--apple-id\x20','\x20--verbose','authAccount','5853512AsANel','name','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','Shutdown','deviceId','\x20altool','start\x20building','PROJECT_BUILD_DIRECTORY','validate','simctl','\x20shutdown\x20booted','runWithSimulator','install\x20success','parseListDevices','log','no\x20visionOS\x20simulator\x20found','execSync','--\x20','\x20list','7569140ewMrwU','\x20-p\x20','existsSync','uploadApp','/web-spatial.xcodeproj','Apple\x20Vision\x20Pro','__esModule','authApi','4948497kTkowV','launch\x20app','platform','\x27\x20-derivedDataPath\x20','Build/Products/Debug-xrsimulator/','474690nTNPFw','child_process','1097836NcYzYm','install','altool','\x20--bundle-version\x20','294wlnEtK','appleId','includes','\x20launch\x20\x22','\x20--apiIssuer\x20','\x20install\x20\x22','find\x20simulator:\x20','xcrun','line','\x20--upload-package\x20','boot','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','15312MGfyFS','796360LYndWW','mkdirSync','\x22\x20\x22','list','15LoUbMY','path'];_0x4696=function(){return _0x1f9f26;};return _0x4696();}Object[_0x126840(0x1b3)](exports,_0x126840(0x1e2),{'value':!![]});const child_process_1=require(_0x126840(0x1ea)),resource_1=require('../resource'),path_1=require(_0x126840(0x1af)),fs=require('fs'),xcodebuild_1=require(_0x126840(0x1b7));class Xcrun{static async['validate'](_0x36ccfb,_0x1e44d8,_0x17236a,_0x5163bc){const _0x492aa2=_0x126840,_0x3724d2=new XcrunCMD()[_0x492aa2(0x1ed)]();_0x3724d2[_0x492aa2(0x1d1)](_0x36ccfb);_0x5163bc?_0x3724d2['authAccount'](_0x1e44d8,_0x17236a):_0x3724d2[_0x492aa2(0x1e3)](_0x1e44d8,_0x17236a);_0x3724d2[_0x492aa2(0x1e6)]('visionos');const _0x3cba6d=(0x0,child_process_1['execSync'])(_0x3724d2['line']);return _0x3cba6d[_0x492aa2(0x1bf)]();}static async[_0x126840(0x1ba)](_0x3a0af8,_0x25883a,_0x5a473f,_0x144c2c,_0x142cb0){const _0x282f6d=_0x126840,_0x1c09de=new XcrunCMD()[_0x282f6d(0x1ed)]();_0x1c09de['uploadPackage'](_0x3a0af8);_0x142cb0?_0x1c09de[_0x282f6d(0x1c8)](_0x25883a,_0x5a473f):_0x1c09de['authApi'](_0x25883a,_0x5a473f);_0x1c09de[_0x282f6d(0x1e6)](_0x282f6d(0x1bc)),_0x1c09de[_0x282f6d(0x1f0)](_0x144c2c);const _0x5b51ae=(0x0,child_process_1[_0x282f6d(0x1d9)])(_0x1c09de['line']);return _0x5b51ae[_0x282f6d(0x1bf)]();}static async[_0x126840(0x1df)](_0x80615c,_0x25da15,_0x50e4ad,_0x7f578d){const _0x4b9b6f=_0x126840,_0x1efe24=new XcrunCMD()[_0x4b9b6f(0x1ed)]();_0x1efe24[_0x4b9b6f(0x1df)](_0x80615c);_0x7f578d?_0x1efe24[_0x4b9b6f(0x1c8)](_0x25da15,_0x50e4ad):_0x1efe24[_0x4b9b6f(0x1e3)](_0x25da15,_0x50e4ad);_0x1efe24[_0x4b9b6f(0x1e6)](_0x4b9b6f(0x1bc));const _0x381e1f=(0x0,child_process_1[_0x4b9b6f(0x1d9)])(_0x1efe24['line']);return _0x381e1f[_0x4b9b6f(0x1bf)]();}static async[_0x126840(0x1d4)](_0x1dfec3){const _0x3f62f7=_0x126840;let _0x184978=new XcrunCMD()[_0x3f62f7(0x1d2)]();_0x184978[_0x3f62f7(0x1bd)](_0x3f62f7(0x1e1));const _0x49aaed=(0x0,child_process_1[_0x3f62f7(0x1d9)])(_0x184978[_0x3f62f7(0x1a5)]),_0x581642=this[_0x3f62f7(0x1d6)](_0x49aaed[_0x3f62f7(0x1bf)]());if(_0x581642['length']===0x0)throw new Error(_0x3f62f7(0x1d8));let _0x4dc3f1=_0x581642[0x0];for(let _0x4b97dc=0x0;_0x4b97dc<_0x581642[_0x3f62f7(0x1b0)];_0x4b97dc++){if(_0x581642[_0x4b97dc][_0x3f62f7(0x1c3)]===_0x3f62f7(0x1b9)){_0x4dc3f1=_0x581642[_0x4b97dc];break;}}console[_0x3f62f7(0x1d7)](_0x3f62f7(0x1a3)+_0x4dc3f1[_0x3f62f7(0x1cd)]);const _0xe15a40=resource_1['PROJECT_DIRECTORY']+_0x3f62f7(0x1e0),_0x5b4e86=resource_1['PROJECT_BUILD_DIRECTORY']+'/test';!fs[_0x3f62f7(0x1de)](resource_1[_0x3f62f7(0x1d0)])&&fs['mkdirSync'](resource_1[_0x3f62f7(0x1d0)],{'recursive':!![]});!fs[_0x3f62f7(0x1de)](_0x5b4e86)&&fs[_0x3f62f7(0x1ab)](_0x5b4e86,{'recursive':!![]});const _0x4e3b9a=new xcodebuild_1['XcodebuildCMD']()[_0x3f62f7(0x1be)](_0xe15a40)[_0x3f62f7(0x1a5)]+(_0x3f62f7(0x1cb)+_0x4dc3f1[_0x3f62f7(0x1cd)]+_0x3f62f7(0x1e7)+_0x5b4e86);console['log'](_0x3f62f7(0x1cf)),(0x0,child_process_1['execSync'])(_0x4e3b9a),console[_0x3f62f7(0x1d7)]('build\x20success');_0x4dc3f1[_0x3f62f7(0x1c3)]===_0x3f62f7(0x1cc)&&(_0x184978=new XcrunCMD()[_0x3f62f7(0x1d2)](),_0x184978[_0x3f62f7(0x1a7)](_0x4dc3f1[_0x3f62f7(0x1cd)]),(0x0,child_process_1[_0x3f62f7(0x1d9)])(_0x184978[_0x3f62f7(0x1a5)]));(0x0,child_process_1['execSync'])(_0x3f62f7(0x1a8)),console[_0x3f62f7(0x1d7)](_0x3f62f7(0x1c1));const _0x4ada7b=(0x0,path_1[_0x3f62f7(0x1c4)])(_0x5b4e86,_0x3f62f7(0x1e8)+_0x1dfec3[_0x3f62f7(0x1ca)]+'.app');_0x184978=new XcrunCMD()[_0x3f62f7(0x1d2)](),_0x184978['install'](_0x4dc3f1['deviceId'],_0x4ada7b),(0x0,child_process_1[_0x3f62f7(0x1d9)])(_0x184978[_0x3f62f7(0x1a5)]),console['log'](_0x3f62f7(0x1d5)),console['log'](_0x3f62f7(0x1e5)),_0x184978=new XcrunCMD()[_0x3f62f7(0x1d2)](),_0x184978[_0x3f62f7(0x1b5)](_0x4dc3f1[_0x3f62f7(0x1cd)],_0x1dfec3['id']),(0x0,child_process_1[_0x3f62f7(0x1d9)])(_0x184978[_0x3f62f7(0x1a5)]);}static[_0x126840(0x1d6)](_0x31a3b4){const _0x2484b1=_0x126840;let _0x3e3ddd=_0x31a3b4[_0x2484b1(0x1c0)]('\x0a'),_0x185b3f=[],_0x1aaa65=-0x1;for(let _0x561141=0x0;_0x561141<_0x3e3ddd['length'];_0x561141++){if(_0x3e3ddd[_0x561141][_0x2484b1(0x1f1)]('--\x20visionOS'))_0x1aaa65=_0x561141;else{if(_0x1aaa65>0x0){if(_0x3e3ddd[_0x561141][_0x2484b1(0x1f1)](_0x2484b1(0x1da)))break;if(_0x3e3ddd[_0x561141][_0x2484b1(0x1b0)]>0x0){const _0x15dd89=_0x3e3ddd[_0x561141][_0x2484b1(0x1c0)]('('),_0x5aa89a={'name':_0x15dd89[0x0][_0x2484b1(0x1c5)](),'deviceId':_0x15dd89[0x1][_0x2484b1(0x1c0)](')')[0x0][_0x2484b1(0x1c5)](),'state':_0x15dd89[0x2]['split'](')')[0x0][_0x2484b1(0x1c5)]()};_0x185b3f[_0x2484b1(0x1b6)](_0x5aa89a);}}}}return _0x185b3f;}}function _0x2fc7(_0x3e70ae,_0xc76b2){const _0x46969a=_0x4696();return _0x2fc7=function(_0x2fc7d4,_0x10338e){_0x2fc7d4=_0x2fc7d4-0x1a3;let _0xa74088=_0x46969a[_0x2fc7d4];return _0xa74088;},_0x2fc7(_0x3e70ae,_0xc76b2);}exports['default']=Xcrun;class XcrunCMD{constructor(){const _0x40ed1a=_0x126840;this[_0x40ed1a(0x1a5)]=_0x40ed1a(0x1a4);}[_0x126840(0x1ed)](){const _0x56d0e8=_0x126840;return this[_0x56d0e8(0x1a5)]+=_0x56d0e8(0x1ce),this;}[_0x126840(0x1d2)](){const _0x1bb11b=_0x126840;return this['line']+=_0x1bb11b(0x1c2),this;}[_0x126840(0x1ad)](){const _0x2b50eb=_0x126840;return this[_0x2b50eb(0x1a5)]+=_0x2b50eb(0x1db),this;}[_0x126840(0x1bd)](_0x460293){const _0xa5fdd6=_0x126840;return this[_0xa5fdd6(0x1a5)]+=_0xa5fdd6(0x1b8)+_0x460293+'\x22',this;}[_0x126840(0x1d1)](_0x31b510){const _0x14b79d=_0x126840;return this[_0x14b79d(0x1a5)]+=_0x14b79d(0x1b1)+_0x31b510,this;}[_0x126840(0x1df)](_0x2252af){const _0x482c79=_0x126840;return this[_0x482c79(0x1a5)]+='\x20--upload-app\x20-f\x20'+_0x2252af,this;}['uploadPackage'](_0x18df01){const _0x4eb593=_0x126840;return this[_0x4eb593(0x1a5)]+=_0x4eb593(0x1a6)+_0x18df01,this;}[_0x126840(0x1c8)](_0x84b525,_0x3816d3){const _0x1b3e5e=_0x126840;return this['line']+='\x20-u\x20'+_0x84b525+_0x1b3e5e(0x1dd)+_0x3816d3,this;}['authApi'](_0x3af1b7,_0x2ce150){const _0x2220de=_0x126840;return this[_0x2220de(0x1a5)]+=_0x2220de(0x1b4)+_0x3af1b7+_0x2220de(0x1f3)+_0x2ce150,this;}[_0x126840(0x1f0)](_0x13385e){const _0xbab56f=_0x126840;return this['line']+=_0xbab56f(0x1c6)+_0x13385e,this;}['platform'](_0x2db100){const _0x3253a2=_0x126840;return this[_0x3253a2(0x1a5)]+='\x20-t\x20'+_0x2db100,this;}[_0x126840(0x1b2)](_0x189dcb){const _0x3de9a0=_0x126840;return this[_0x3de9a0(0x1a5)]+=_0x3de9a0(0x1ee)+_0x189dcb,this;}['verbose'](){const _0x1226d9=_0x126840;return this[_0x1226d9(0x1a5)]+=_0x1226d9(0x1c7),this;}['shutdown'](){const _0x397666=_0x126840;return this[_0x397666(0x1a5)]+=_0x397666(0x1d3),this;}[_0x126840(0x1a7)](_0x2b48f4){const _0x550113=_0x126840;return this[_0x550113(0x1a5)]+='\x20boot\x20\x22'+_0x2b48f4+'\x22',this;}[_0x126840(0x1ec)](_0x4b99a1,_0x85b22f){const _0x1c7a2f=_0x126840;return this['line']+=_0x1c7a2f(0x1f4)+_0x4b99a1+'\x22\x20\x22'+_0x85b22f+'\x22',this;}['launch'](_0x5de63d,_0x48eb3e){const _0xb6a5fb=_0x126840;return this[_0xb6a5fb(0x1a5)]+=_0xb6a5fb(0x1f2)+_0x5de63d+_0xb6a5fb(0x1ac)+_0x48eb3e+'\x22',this;}}
1
+ 'use strict';function _0x572f(){const _0x3294dc=['\x20--apiKey\x20','--\x20visionOS','default','authApi','mkdirSync','\x20list','simctl','deviceId','2570fGKXSJ','./xcodebuild','authAccount','18972744rlvgtu','2878544ukCRJC','../resource','Booted','launch','line','existsSync','/web-spatial.xcodeproj','installing\x20app','path','listDevices','boot','join','\x20shutdown\x20booted','\x20--bundle-version\x20','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','trim','execSync','\x20--verbose','1146798cIJEwW','\x20--upload-package\x20','Shutdown','511IggxAg','altool','build\x20success','PROJECT_DIRECTORY','push','length','shutdown','appleId','install\x20success','5WJxcIF','24BgcTHq','split','list','verbose','\x20simctl','version','9wJEyvx','59582Wyibsa','uploadApp','XcodebuildCMD','\x20install\x20\x22','--\x20','runWithSimulator','Build/Products/Debug-xrsimulator/','toString','state','590972oXxqBo','13057mtXrkC','Apple\x20Vision\x20Pro','log','validate','PROJECT_BUILD_DIRECTORY','20538RMkjwc','child_process','\x20-p\x20','\x20--apiIssuer\x20','defineProperty','includes','launch\x20app','install','\x20launch\x20\x22','xcrun','\x20-u\x20','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','\x20--apple-id\x20','no\x20visionOS\x20simulator\x20found','start\x20building','visionos','\x22\x20\x22','platform','.app'];_0x572f=function(){return _0x3294dc;};return _0x572f();}const _0x45cf3c=_0xdf8a;(function(_0x1eab0b,_0x59244c){const _0x3b0554=_0xdf8a,_0x2d9f99=_0x1eab0b();while(!![]){try{const _0x446abf=parseInt(_0x3b0554(0x189))/0x1*(-parseInt(_0x3b0554(0x182))/0x2)+parseInt(_0x3b0554(0x175))/0x3+-parseInt(_0x3b0554(0x192))/0x4*(parseInt(_0x3b0554(0x181))/0x5)+parseInt(_0x3b0554(0x144))/0x6*(parseInt(_0x3b0554(0x178))/0x7)+-parseInt(_0x3b0554(0x163))/0x8*(parseInt(_0x3b0554(0x188))/0x9)+-parseInt(_0x3b0554(0x15f))/0xa*(parseInt(_0x3b0554(0x193))/0xb)+parseInt(_0x3b0554(0x162))/0xc;if(_0x446abf===_0x59244c)break;else _0x2d9f99['push'](_0x2d9f99['shift']());}catch(_0x38078f){_0x2d9f99['push'](_0x2d9f99['shift']());}}}(_0x572f,0xa7623));Object[_0x45cf3c(0x148)](exports,'__esModule',{'value':!![]});function _0xdf8a(_0x48af42,_0x5b9336){const _0x572f8a=_0x572f();return _0xdf8a=function(_0xdf8a35,_0x16dc58){_0xdf8a35=_0xdf8a35-0x142;let _0x1b6eb4=_0x572f8a[_0xdf8a35];return _0x1b6eb4;},_0xdf8a(_0x48af42,_0x5b9336);}const child_process_1=require(_0x45cf3c(0x145)),resource_1=require(_0x45cf3c(0x164)),path_1=require(_0x45cf3c(0x16b)),fs=require('fs'),xcodebuild_1=require(_0x45cf3c(0x160));class Xcrun{static async[_0x45cf3c(0x142)](_0x3b4092,_0x317fc0,_0x63325b,_0xb7f3d0){const _0x450f48=_0x45cf3c,_0x4deac0=new XcrunCMD()['altool']();_0x4deac0[_0x450f48(0x142)](_0x3b4092);_0xb7f3d0?_0x4deac0['authAccount'](_0x317fc0,_0x63325b):_0x4deac0['authApi'](_0x317fc0,_0x63325b);_0x4deac0[_0x450f48(0x155)](_0x450f48(0x153));const _0x2c5b76=(0x0,child_process_1['execSync'])(_0x4deac0[_0x450f48(0x167)]);return _0x2c5b76[_0x450f48(0x190)]();}static async['uploadPackage'](_0x427447,_0x265bc8,_0x3b8531,_0x92631d,_0x469f23){const _0x267df3=_0x45cf3c,_0x294671=new XcrunCMD()[_0x267df3(0x179)]();_0x294671['uploadPackage'](_0x427447);_0x469f23?_0x294671[_0x267df3(0x161)](_0x265bc8,_0x3b8531):_0x294671[_0x267df3(0x15a)](_0x265bc8,_0x3b8531);_0x294671['platform'](_0x267df3(0x153)),_0x294671[_0x267df3(0x17f)](_0x92631d);const _0xcb7c8a=(0x0,child_process_1[_0x267df3(0x173)])(_0x294671[_0x267df3(0x167)]);return _0xcb7c8a[_0x267df3(0x190)]();}static async[_0x45cf3c(0x18a)](_0xd361ec,_0x4112d5,_0x9f4138,_0x325c80){const _0x34587d=_0x45cf3c,_0x592fd2=new XcrunCMD()[_0x34587d(0x179)]();_0x592fd2['uploadApp'](_0xd361ec);_0x325c80?_0x592fd2['authAccount'](_0x4112d5,_0x9f4138):_0x592fd2[_0x34587d(0x15a)](_0x4112d5,_0x9f4138);_0x592fd2['platform']('visionos');const _0x4811df=(0x0,child_process_1['execSync'])(_0x592fd2[_0x34587d(0x167)]);return _0x4811df[_0x34587d(0x190)]();}static async[_0x45cf3c(0x18e)](_0x2cecc1){const _0x3f43c0=_0x45cf3c;let _0x4642ac=new XcrunCMD()[_0x3f43c0(0x15d)]();_0x4642ac[_0x3f43c0(0x16c)](_0x3f43c0(0x194));const _0x305ec2=(0x0,child_process_1[_0x3f43c0(0x173)])(_0x4642ac[_0x3f43c0(0x167)]),_0x61a38a=this['parseListDevices'](_0x305ec2[_0x3f43c0(0x190)]());if(_0x61a38a[_0x3f43c0(0x17d)]===0x0)throw new Error(_0x3f43c0(0x151));let _0x17c2dd=_0x61a38a[0x0];for(let _0x50e0fe=0x0;_0x50e0fe<_0x61a38a[_0x3f43c0(0x17d)];_0x50e0fe++){if(_0x61a38a[_0x50e0fe][_0x3f43c0(0x191)]===_0x3f43c0(0x165)){_0x17c2dd=_0x61a38a[_0x50e0fe];break;}}console[_0x3f43c0(0x195)]('find\x20simulator:\x20'+_0x17c2dd[_0x3f43c0(0x15e)]);const _0x4b1580=resource_1[_0x3f43c0(0x17b)]+_0x3f43c0(0x169),_0x5eacfd=resource_1[_0x3f43c0(0x143)]+'/test';!fs[_0x3f43c0(0x168)](resource_1[_0x3f43c0(0x143)])&&fs[_0x3f43c0(0x15b)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs['existsSync'](_0x5eacfd)&&fs[_0x3f43c0(0x15b)](_0x5eacfd,{'recursive':!![]});const _0x3ff8b4=new xcodebuild_1[(_0x3f43c0(0x18b))]()['project'](_0x4b1580)[_0x3f43c0(0x167)]+(_0x3f43c0(0x171)+_0x17c2dd[_0x3f43c0(0x15e)]+'\x27\x20-derivedDataPath\x20'+_0x5eacfd);console[_0x3f43c0(0x195)](_0x3f43c0(0x152)),(0x0,child_process_1[_0x3f43c0(0x173)])(_0x3ff8b4),console[_0x3f43c0(0x195)](_0x3f43c0(0x17a));_0x17c2dd[_0x3f43c0(0x191)]===_0x3f43c0(0x177)&&(_0x4642ac=new XcrunCMD()[_0x3f43c0(0x15d)](),_0x4642ac['boot'](_0x17c2dd[_0x3f43c0(0x15e)]),(0x0,child_process_1[_0x3f43c0(0x173)])(_0x4642ac[_0x3f43c0(0x167)]));(0x0,child_process_1[_0x3f43c0(0x173)])(_0x3f43c0(0x14f)),console[_0x3f43c0(0x195)](_0x3f43c0(0x16a));const _0x3fbfbb=(0x0,path_1[_0x3f43c0(0x16e)])(_0x5eacfd,_0x3f43c0(0x18f)+_0x2cecc1['name']+_0x3f43c0(0x156));_0x4642ac=new XcrunCMD()[_0x3f43c0(0x15d)](),_0x4642ac[_0x3f43c0(0x14b)](_0x17c2dd['deviceId'],_0x3fbfbb),(0x0,child_process_1['execSync'])(_0x4642ac['line']),console[_0x3f43c0(0x195)](_0x3f43c0(0x180)),console[_0x3f43c0(0x195)](_0x3f43c0(0x14a)),_0x4642ac=new XcrunCMD()[_0x3f43c0(0x15d)](),_0x4642ac[_0x3f43c0(0x166)](_0x17c2dd[_0x3f43c0(0x15e)],_0x2cecc1['id']),(0x0,child_process_1[_0x3f43c0(0x173)])(_0x4642ac[_0x3f43c0(0x167)]);}static['parseListDevices'](_0x6aa32c){const _0xf2b82=_0x45cf3c;let _0x5e7cbb=_0x6aa32c[_0xf2b82(0x183)]('\x0a'),_0x47601f=[],_0x4afe16=-0x1;for(let _0x451c36=0x0;_0x451c36<_0x5e7cbb['length'];_0x451c36++){if(_0x5e7cbb[_0x451c36][_0xf2b82(0x149)](_0xf2b82(0x158)))_0x4afe16=_0x451c36;else{if(_0x4afe16>0x0){if(_0x5e7cbb[_0x451c36][_0xf2b82(0x149)](_0xf2b82(0x18d)))break;if(_0x5e7cbb[_0x451c36][_0xf2b82(0x17d)]>0x0){const _0x2bbe6d=_0x5e7cbb[_0x451c36]['split']('('),_0x2e954c={'name':_0x2bbe6d[0x0][_0xf2b82(0x172)](),'deviceId':_0x2bbe6d[0x1][_0xf2b82(0x183)](')')[0x0]['trim'](),'state':_0x2bbe6d[0x2][_0xf2b82(0x183)](')')[0x0]['trim']()};_0x47601f[_0xf2b82(0x17c)](_0x2e954c);}}}}return _0x47601f;}}exports[_0x45cf3c(0x159)]=Xcrun;class XcrunCMD{constructor(){const _0x2606d7=_0x45cf3c;this[_0x2606d7(0x167)]=_0x2606d7(0x14d);}['altool'](){const _0x54b58c=_0x45cf3c;return this[_0x54b58c(0x167)]+='\x20altool',this;}[_0x45cf3c(0x15d)](){const _0x46ca18=_0x45cf3c;return this[_0x46ca18(0x167)]+=_0x46ca18(0x186),this;}[_0x45cf3c(0x184)](){const _0x390dfe=_0x45cf3c;return this[_0x390dfe(0x167)]+=_0x390dfe(0x15c),this;}[_0x45cf3c(0x16c)](_0xc44dad){const _0x450ccb=_0x45cf3c;return this[_0x450ccb(0x167)]+='\x20list\x20devices\x20\x22'+_0xc44dad+'\x22',this;}['validate'](_0x52a7c9){const _0x5d8955=_0x45cf3c;return this[_0x5d8955(0x167)]+='\x20--validate-app\x20-f\x20'+_0x52a7c9,this;}[_0x45cf3c(0x18a)](_0xd70dbc){const _0x570b9f=_0x45cf3c;return this[_0x570b9f(0x167)]+='\x20--upload-app\x20-f\x20'+_0xd70dbc,this;}['uploadPackage'](_0x2f2039){const _0x1a6d73=_0x45cf3c;return this[_0x1a6d73(0x167)]+=_0x1a6d73(0x176)+_0x2f2039,this;}[_0x45cf3c(0x161)](_0x3e6901,_0x487212){const _0x1f54b4=_0x45cf3c;return this[_0x1f54b4(0x167)]+=_0x1f54b4(0x14e)+_0x3e6901+_0x1f54b4(0x146)+_0x487212,this;}['authApi'](_0x24fc5e,_0x357acc){const _0x4855c5=_0x45cf3c;return this[_0x4855c5(0x167)]+=_0x4855c5(0x157)+_0x24fc5e+_0x4855c5(0x147)+_0x357acc,this;}[_0x45cf3c(0x17f)](_0xe96a7e){const _0xf70a8a=_0x45cf3c;return this[_0xf70a8a(0x167)]+=_0xf70a8a(0x150)+_0xe96a7e,this;}[_0x45cf3c(0x155)](_0x466ea7){const _0x1596f6=_0x45cf3c;return this[_0x1596f6(0x167)]+='\x20-t\x20'+_0x466ea7,this;}[_0x45cf3c(0x187)](_0x20a1d1){const _0x2a7ad9=_0x45cf3c;return this[_0x2a7ad9(0x167)]+=_0x2a7ad9(0x170)+_0x20a1d1,this;}[_0x45cf3c(0x185)](){const _0x75cb4e=_0x45cf3c;return this[_0x75cb4e(0x167)]+=_0x75cb4e(0x174),this;}[_0x45cf3c(0x17e)](){const _0x13a628=_0x45cf3c;return this[_0x13a628(0x167)]+=_0x13a628(0x16f),this;}[_0x45cf3c(0x16d)](_0xa2bbe9){return this['line']+='\x20boot\x20\x22'+_0xa2bbe9+'\x22',this;}['install'](_0x45b11d,_0x494244){const _0x14fb33=_0x45cf3c;return this[_0x14fb33(0x167)]+=_0x14fb33(0x18c)+_0x45b11d+_0x14fb33(0x154)+_0x494244+'\x22',this;}['launch'](_0x33177c,_0xdcd611){const _0x300cd1=_0x45cf3c;return this[_0x300cd1(0x167)]+=_0x300cd1(0x14c)+_0x33177c+_0x300cd1(0x154)+_0xdcd611+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {